diff --git a/BTPanel/__init__.py b/BTPanel/__init__.py index 04c962b3..a96c3ffe 100755 --- a/BTPanel/__init__.py +++ b/BTPanel/__init__.py @@ -6,8 +6,9 @@ # +------------------------------------------------------------------- # | Author: hwliang # +--- - +from public import print_log from public.hook_import import hook_import + hook_import() # from .app import * @@ -52,6 +53,67 @@ app = Flask( __name__, template_folder="templates/{}".format(public.GetConfigValue('template')) ) + +# 匹配你的 URL 格式:/apsess_xxx/... +APSESS_PATH_RE = re.compile(r"^/((?:apsess_)+[A-Za-z0-9]{16,32})(/.*|$)") +INVALID_REQUEST_TOKEN_HEAD = '__APSESS_INVALID__' + + +def build_apsess_url_token(token): + token = (token or '').strip() + if not token: + return '' + while token.startswith('apsess_apsess_'): + token = token[len('apsess_'):] + if token.startswith('apsess_'): + return token + return 'apsess_' + token + + +def build_apsess_session_token(): + return public.GetRandomString(32) + + +def get_apsess_url_token_from_session(): + return build_apsess_url_token(session.get('apsess_token', '')) + + +class ApsessPathMiddleware: + def __init__(self, app): + self.app = app + + def __call__(self, environ, start_response): + # 修复宝塔获取IP为空的BUG + if 'REMOTE_ADDR' not in environ: + environ['REMOTE_ADDR'] = '127.0.0.1' + + path = environ.get('PATH_INFO', '') + match = APSESS_PATH_RE.match(path) + + # 没有匹配到token + if not match: + environ.setdefault('bt.apsess_token', '') + return self.app(environ, start_response) + + # 提取token + apsess_token = build_apsess_url_token(match.group(1)) + real_path = match.group(2) or '/' + if not real_path.startswith('/'): + real_path = '/' + real_path + + environ['bt.apsess_token'] = apsess_token + environ['PATH_INFO'] = real_path + + return self.app(environ, start_response) + + +def wrap_apsess_middleware(flask_app): + if getattr(flask_app, '_apsess_middleware_wrapped', False): + return + flask_app.wsgi_app = ApsessPathMiddleware(flask_app.wsgi_app) + flask_app._apsess_middleware_wrapped = True + + Compress(app) try: from flask_sock import Sock @@ -101,8 +163,8 @@ if app.config['SSL']: app.config['SESSION_COOKIE_SAMESITE'] = 'Lax' app.config['SESSION_COOKIE_SECURE'] = True - Session(app) +wrap_apsess_middleware(app) import common @@ -180,21 +242,25 @@ route_v2 = '/v2' # v2版本路由前缀 # load translations from public.translations import load_translations + load_translations() # 登录页语言包 from public.translations import load_login_translations + load_login_translations() # ========================== Ignore Zipfile Encode Error ============== # hook zipfile.ZipInfo._encodeFilenameFlags, ignore the encode error _oldEncodeFilenameFlags = zipfile.ZipInfo._encodeFilenameFlags + def _newEncodeFilenameFlags(self): try: return _oldEncodeFilenameFlags(self) except: return self.filename.encode('utf-8', 'ignore'), self.flag_bits | zipfile._MASK_UTF_FILENAME + zipfile.ZipInfo._encodeFilenameFlags = _newEncodeFilenameFlags # ========================== Ignore Error End ========================= @@ -202,27 +268,27 @@ zipfile.ZipInfo._encodeFilenameFlags = _newEncodeFilenameFlags # ========================== Init Menu Path Map ======================= menu_map = { - 'memua': '/', # Home - 'memuasite': '/site', # Website - 'memuawptoolkit': '/wp/toolkit', # WP Toolkit - 'memuaftp': '/ftp', # FTP - 'memuadatabase': '/database', # Databases - 'memudocker': '/docker', # Docker - 'memuacontrol': '/control', # Monitor - 'memuafirewall': '/firewall', # Security - 'memu_btwaf': '/btwaf', # Waf - 'memu_mailsys': '/mail', # Mail Server - 'memuafiles': '/files', # Files - 'menunode': '/node', # Node Management - 'memualogs': '/logs', # Logs - 'menu_ssl': '/ssl_domain', # SSL - 'memuaxterm': '/xterm', # Terminal - 'memuaccount': '/whm', # Account - 'memuacrontab': '/crontab', # Cron - 'memuasoft': '/soft', # App Store - 'memuaconfig': '/config', # Settings - 'dologin': '/login', # Log out - 'memuASSL': '/ssl_domain' # Domain management + 'memua': '/', # Home + 'memuasite': '/site', # Website + 'memuawptoolkit': '/wp/toolkit', # WP Toolkit + 'memuaftp': '/ftp', # FTP + 'memuadatabase': '/database', # Databases + 'memudocker': '/docker', # Docker + 'memuacontrol': '/control', # Monitor + 'memuafirewall': '/firewall', # Security + 'memu_btwaf': '/btwaf', # Waf + 'memu_mailsys': '/mail', # Mail Server + 'memuafiles': '/files', # Files + 'menunode': '/node', # Node Management + 'memualogs': '/logs', # Logs + 'menu_ssl': '/ssl_domain', # SSL + 'memuaxterm': '/xterm', # Terminal + 'memuaccount': '/whm', # Account + 'memuacrontab': '/crontab', # Cron + 'memuasoft': '/soft', # App Store + 'memuaconfig': '/config', # Settings + 'dologin': '/login', # Log out + 'memuASSL': '/ssl_domain' # Domain management } try: menu_default_conf_path = os.path.join(panel_path, 'config/menu.json') @@ -241,8 +307,12 @@ except Exception as e: # ===================================Flask HOOK========================# # Flask请求勾子 from flask import current_app + + @app.before_request def request_check(): + check_apsess_path() + is_static_asset = is_static_asset_request() # 获取客户端真实IP,判断是否启动CDN代理 CDN_PROXY = current_app.config.get('CDN_PROXY', False) if CDN_PROXY: @@ -255,10 +325,12 @@ def request_check(): else: x_real_ip = request.headers.get('X-Real-Ip') if x_real_ip: + if not public.is_ipv4(x_real_ip) and not public.is_ipv6(x_real_ip): + return abort(404) request.remote_addr = x_real_ip request.environ.setdefault('REMOTE_PORT', public.get_remote_port()) # 过滤菜单 - if 'uid' in session and session['uid'] != 1 and not public.user_router_authority(): + if not is_static_asset and 'uid' in session and session['uid'] != 1 and not public.user_router_authority(): if public.M('users').where('id=?', (session['uid'],)).select(): import config_v2 menus = config_v2.config().get_menu_list() @@ -343,7 +415,7 @@ def request_check(): ip_check = public.check_ip_panel() if ip_check: return ip_check - if request.path.startswith('/static/') or request.path == '/code': + if request.path == '/code': if not 'login' in session and not 'admin_auth' in session and not 'down' in session: return abort(401) domain_check = public.check_domain_panel() @@ -351,22 +423,22 @@ def request_check(): if public.is_local(): not_networks = ['uninstall_plugin', 'install_plugin', 'UpdatePanel'] if request.args.get('action') in not_networks: - return public.returnJson( False, 'This feature cannot be used in offline mode!'), json_header + return public.returnJson(False, 'This feature cannot be used in offline mode!'), json_header # 适配docker---- '/docker', path_list = ( - '/site', '/ftp', '/database', '/soft', '/control', '/firewall', - '/files', '/xterm', '/crontab', '/config', '/docker', '/btdocker','/breaking_through', + '/site', '/ftp', '/database', '/soft', '/control', '/firewall', + '/files', '/xterm', '/crontab', '/config', '/docker', '/btdocker', '/breaking_through', ) - if (request.path.startswith(path_list) or request.path == "/") and request.method == "GET": + if not is_static_asset and (request.path.startswith(path_list) or request.path == "/") and request.method == "GET": if request.args.get('action') in [ - 'get_tmp_token','download_cert' + 'get_tmp_token', 'download_cert' ]: return - # if request.path in [ - # '/site', '/ftp', '/database', '/soft', '/control', '/firewall', - # '/files', '/xterm', '/crontab', '/config', '/docker', '/btdocker','/breaking_through', - # ]: + # if request.path in [ + # '/site', '/ftp', '/database', '/soft', '/control', '/firewall', + # '/files', '/xterm', '/crontab', '/config', '/docker', '/btdocker','/breaking_through', + # ]: if public.is_error_path(): return redirect('/error', 302) # 密码过期相关功能 @@ -382,7 +454,14 @@ def request_check(): # 新增 适配docker时增加 未测试 # 处理登录页面相对路径的静态文件 - if request.path.find('/static/') > 0: + if request.path.startswith('/static/'): + static_file = public.get_panel_path() + '/BTPanel' + request.path + plugin_static_file = public.get_panel_path() + '/plugin' + request.path + if os.path.exists(static_file): + return send_file(static_file, conditional=True, etag=True) + if os.path.exists(plugin_static_file): + return send_file(plugin_static_file, conditional=True, etag=True) + new_auth_path = _auth_path = public.get_admin_path() # 2024/1/3 下午 8:35 检测_auth_path是否有包含2个以上/符号,如果有则取最后一个/符号前的字符串然后替换成_auth_path @@ -419,7 +498,7 @@ def request_check(): # 如果是面板静态文件 return send_file(static_file, conditional=True, etag=True) - if request.path.find('/static/img/soft_ico/ico') >= 0: + if request.method == 'GET' and request.path.startswith('/static/img/soft_ico/'): # 路径安全检查 if public.path_safe_check(request.path) is False: return abort(404) @@ -439,7 +518,7 @@ def request_check(): @app.teardown_request def request_end(reques=None): if request.method not in ['GET', 'POST']: return - if not request.path.startswith('/static/') or not request.path.startswith('/v2/static/'): + if not request.path.startswith('/static/') and not request.path.startswith('/v2/static/'): # import public public.write_request_log(reques) @@ -450,7 +529,7 @@ def request_end(reques=None): if (session_timeout > now_time or session_timeout == 0) and not request.path.startswith('/v2/plugin'): # 首页涉及的请求模块,暂不强制 prefixes = ["/v2/site", "/v2/ftp", "/v2/database", "/v2/docker", "/v2/safe/security/set_security", - "/v2/safe/security/get_repair_bar","/v2/breaking_through"] + "/v2/safe/security/get_repair_bar", "/v2/breaking_through"] for prefix in prefixes: if request.path.startswith(prefix): if 'return_message' in g: @@ -655,6 +734,20 @@ REQUEST_FORM: {request_form} @app.route('/', methods=method_get) @app.route('/', methods=method_get) def index_new(sub_path: str = ''): + if session.get('login', False): + if not getattr(g, 'apsess_verified', False): + session['request_token_head'] = INVALID_REQUEST_TOKEN_HEAD + else: + html_token_key = public.get_csrf_html_token_key() + cookie_token_key = public.get_csrf_cookie_token_key() + if session.get('request_token_head') == INVALID_REQUEST_TOKEN_HEAD: + session.pop('request_token_head', None) + if not session.get(html_token_key): + session[html_token_key] = public.GetRandomString(48) + if not session.get('request_token_head'): + session['request_token_head'] = session[html_token_key] + if not session.get(cookie_token_key): + session[cookie_token_key] = public.GetRandomString(48) if sub_path == 'unsubscribe.html': return render_template('unsubscribe.html') @@ -801,7 +894,6 @@ def index_new(sub_path: str = ''): return render_template('index_new.html', data=data) - @app.route('/xterm', methods=method_post) def xterm(): # 宝塔终端管理 @@ -814,6 +906,7 @@ def xterm(): 'get_command_find', 'modify_command', 'remove_command') return publicObject(ssh_host_admin, defs, None) + # 密码过期路由 @app.route('/modify_password', methods=method_get) def modify_password(): @@ -1044,7 +1137,6 @@ def firewall(pdata=None): return publicObject(firewallObject, defs, None, pdata) - @app.route('/ssh_security', methods=method_all) def ssh_security(pdata=None): # SSH安全 @@ -1258,7 +1350,7 @@ def files(pdata=None): 'back_path_permissions', 'upload_file_exists', 'CheckExistsFiles', 'GetExecLog', 'GetSearch', 'ExecShell', 'GetExecShellMsg', 'exec_git', 'exec_composer', 'create_download_url', 'UploadFile', - 'GetDir', 'GetDirNew','CreateFile', 'CreateDir', 'DeleteDir', 'DeleteFile', + 'GetDir', 'GetDirNew', 'CreateFile', 'CreateDir', 'DeleteDir', 'DeleteFile', 'get_download_url_list', 'remove_download_url', 'modify_download_url', 'CopyFile', 'CopyDir', 'MvFile', 'GetFileBody', 'SaveFileBody', 'Zip', 'UnZip', @@ -1443,8 +1535,8 @@ def config(pdata=None): 'download_language', 'upload_language', # 'test_language', - 'set_hou', - 'replace_data', + 'set_hou', + 'replace_data', 'set_theme', ) return publicObject(config.config(), defs, None, pdata) @@ -1497,7 +1589,7 @@ def ajax(pdata=None): ajaxObject = ajax.ajax() defs = ('get_lines', 'php_info', 'change_phpmyadmin_ssl_port', 'set_phpmyadmin_ssl', 'get_phpmyadmin_ssl', 'get_pd', - 'check_user_auth', 'to_not_beta', 'get_beta_logs', 'get_version_logs','apple_beta', + 'check_user_auth', 'to_not_beta', 'get_beta_logs', 'get_version_logs', 'apple_beta', 'GetApacheStatus', 'GetCloudHtml', 'get_pay_type', 'get_load_average', 'GetOpeLogs', 'GetFpmLogs', 'GetFpmSlowLogs', 'SetMemcachedCache', 'GetMemcachedStatus', 'GetRedisStatus', @@ -1643,9 +1735,9 @@ def auth(pdata=None): import panelAuth toObject = panelAuth.panelAuth() defs = ('free_trial', 'renew_product_auth', 'auth_activate', - 'get_product_auth', 'get_product_auth_all','get_stripe_session_id', + 'get_product_auth', 'get_product_auth_all', 'get_stripe_session_id', 'get_re_order_status_plugin', 'create_plugin_other_order', - 'get_order_stat', 'get_voucher_plugin','get_voucher_plugin_all', + 'get_order_stat', 'get_voucher_plugin', 'get_voucher_plugin_all', 'create_order_voucher_plugin', 'get_product_discount_by', 'get_re_order_status', 'create_order_voucher', 'create_order', 'get_order_status', 'get_voucher', 'flush_pay_status', @@ -1700,8 +1792,10 @@ def download(): return public.ReturnJson(False, "FIFO pipeline files are not downloadable"), json_header except: pass - - + if os.path.isdir(filename): + return public.ReturnJson(False, "The catalog is not available for download!"), json_header + if not os.path.exists(filename): + return public.ReturnJson(False, "File not exists"), json_header if request.args.get('play') == 'true': import panelVideo @@ -1895,7 +1989,7 @@ def login(): is_auth_path = True # 登录输入验证 if request.method == method_post[0]: - #防爆破检测 + # 防爆破检测 import breaking_through _breaking_through_obj = breaking_through.main() limit_login = _breaking_through_obj.get_login_limit() @@ -2021,6 +2115,7 @@ def login(): # 生成登录token last_key = 'last_login_token' + access_key = 'apsess_token' # ----------- last_time_key = 'last_login_token_time' s_time = int(time.time()) @@ -2028,12 +2123,15 @@ def login(): # 10秒内不重复生成token if s_time - session[last_time_key] > 10: session[last_key] = public.GetRandomString(32) + session[access_key] = build_apsess_session_token() session[last_time_key] = s_time else: session[last_key] = public.GetRandomString(32) + session[access_key] = build_apsess_session_token() session[last_time_key] = s_time data[last_key] = session[last_key] + data[access_key] = session[access_key] import base64 data['login_translations'] = base64.b64encode(json.dumps(load_login_translations()).encode()).decode() settings = '{}/BTPanel/languages/settings.json'.format(public.get_panel_path()) @@ -2050,15 +2148,11 @@ def login(): default = settings_json.get('default', 'en') # 默认值 - if default == '': default = 'en' data['login_lang'] = default if default else 'en' data['public_key'] = public.get_rsa_public_key() - - - import userLang get_language = userLang.userLang().get_language(None)['message'] data['language'] = get_language['default'] @@ -2086,7 +2180,6 @@ def userRegister(): return publicObject(reg, defs, None, None) - @app.route('/close', methods=method_get) def close(): # 面板已关闭页面 @@ -2698,6 +2791,7 @@ class run_exec: def check_csrf(): # CSRF校验 + if session.get('request_token_head') == INVALID_REQUEST_TOKEN_HEAD: return False if app.config['DEBUG']: return True http_token = request.headers.get('x-http-token') if not http_token: return False @@ -2897,7 +2991,6 @@ def workorder_client(ws): toObject.client(ws, get) - @sockets.route('/ws_panel') def ws_panel(ws): ''' @@ -2923,6 +3016,50 @@ def ws_panel(ws): p.start() +WS_OBJ = {} + + +@sockets.route('/ws_home') +def ws_home(ws): + ''' + @name 首页接口ws入口 + @author hwliang<2021-07-24> + @param ws websocket会话对像 + @return void + ''' + + comReturn = comm.local() + if comReturn: return comReturn + + get = ws.receive() + get = json.loads(get) + if not check_csrf_websocket(ws, get): return + + global WS_OBJ + from panelController import Controller + model_obj = Controller() + while True: + pdata = ws.receive() + if pdata in ['{}', {}, None, '']: + ws.send(json.dumps(public.return_status_code(1000, 'The request parameter cannot be null'))) + break + try: + get = public.to_dict_obj(json.loads(pdata)) + except: + request.form = { + "error": pdata + } + raise Exception('json load error !') + get._ws = ws + WS_OBJ[get.get('ws_id', public.GetRandomString(16))] = {'ws_obj': get._ws, 'menu': get.get('menu', ''), + 'timeout': int(time.time()) + 33} + WS_OBJ = {i: j for i, j in WS_OBJ.items() if j['timeout'] > int(time.time())} + if hasattr(get, 'model_index') and get.model_index != '': + ws_model_thread(model_obj, get) + else: + ws_panel_thread(get) + + def ws_panel_thread(get): ''' @name 面板管理ws线程 @@ -3055,6 +3192,7 @@ def ws_model(ws): p = threading.Thread(target=ws_model_thread, args=(model_obj, get)) p.start() + def ws_mod_thread(_obj, get): ''' @name 模型控制器ws线程 @@ -3343,6 +3481,7 @@ def python_env_ssh(ws): ws.close() return 'False' + # --------------------- websocket END -------------------------- # @@ -3457,6 +3596,7 @@ def push(pdata=None): result = publicObject(toObject, defs, None, pdata) return result + # ===========================================================v2路由区start===========================================================# # docker模块内用到的ws @sockets.route(route_v2 + '/ws_model') @@ -3496,6 +3636,7 @@ def ws_model_v2(ws): p = threading.Thread(target=ws_model_thread, args=(model_obj, get)) p.start() + # 2024/2/19 上午 10:34 新场景模型控制器ws入口,无默认return @sockets.route(route_v2 + '/ws_modsoc') def ws_modsoc(ws): @@ -3555,12 +3696,13 @@ def ws_mod_thread_v2(_obj, get): result = {'callback': get.get("ws_callback", get.get("callback", "")), 'result': mod_result} if get._ws.connected: get._ws.send(public.getJson(result)) - + except: if public.is_debug(): public.print_error() return + # ======================普通路由区start============================# @@ -3607,6 +3749,7 @@ def modify_password_v2(): # return render_template('modify_password.html', data=data) return render_template('index1.html', data=data) + @app.route(route_v2 + '/site', methods=method_all) def site_v2(pdata=None): # 网站管理 @@ -3826,6 +3969,7 @@ def site_v2(pdata=None): 'set_site_global', 'get_site_global', 'site_performance_test', + 'batch_add_wp', # 新增多服务 'set_default_site_conf', 'get_multi_webservice_status', @@ -3844,6 +3988,7 @@ def site_v2(pdata=None): ) return publicObject(siteObject, defs, None, pdata) + @app.route(route_v2 + '/git', methods=method_all) def git_tools(pdata=None): # git管理 @@ -3879,6 +4024,7 @@ def git_tools(pdata=None): ) return publicObject(gitObject, defs, None, pdata) + @app.route(route_v2 + '/ftp', methods=method_all) def ftp_v2(pdata=None): # FTP管理 @@ -4056,6 +4202,7 @@ def firewall_v2(pdata=None): 'SetFirewallStatus') return publicObject(firewallObject, defs, None, pdata) + @app.route(route_v2 + '/firewall/com/', methods=method_all) def firewall_v22(def_name, pdata=None): if request.method not in ['GET', 'POST']: return @@ -4112,6 +4259,7 @@ def panel_monitor_v2(pdata=None): 'load_and_up_flow', 'get_request_count_by_hour') return publicObject(dataObject, defs, None, pdata) + @app.route(route_v2 + '/site_monitor', methods=method_all) def monitor(pdata=None): # 网站统计预览 @@ -4122,6 +4270,7 @@ def monitor(pdata=None): defs = ('get_overview', 'get_site_overview') return publicObject(dataObject, defs, None, pdata) + @app.route(route_v2 + '/san', methods=method_all) def san_baseline_v2(pdata=None): # 云控安全扫描 @@ -4177,12 +4326,13 @@ def panel_warning_v2(pdata=None): defs = ('get_list', 'set_ignore', 'check_find', 'check_cve', 'set_vuln_ignore', 'get_scan_bar', 'get_tmp_result', - 'kill_get_list','get_res_list') + 'kill_get_list', 'get_res_list', 'set_scan_categories','get_warning_rules') if get.action in ['set_ignore', 'check_find', 'set_vuln_ignore']: cache.delete(ikey) return publicObject(dataObject, defs, None, pdata) + # ----------------------------------------- 安全模块路由区 start---------------------------------------- @app.route(route_v2 + '/safecloud', methods=method_all) @@ -4192,14 +4342,17 @@ def safecloud(pdata=None): if comReturn: return comReturn from projectModelV2.safecloudModel import main toObject = main() - defs = ('get_safe_overview','get_pending_alarm_trend','get_security_trend', - 'get_security_dynamic','set_config','get_safecloud_list', - 'get_webshell_result','get_config','deal_webshell_file','set_alarm_config', - 'webshell_detection','ignore_file','get_ignored_list','del_ignored') + defs = ('get_safe_overview', 'get_pending_alarm_trend', 'get_security_trend', + 'get_security_dynamic', 'set_config', 'get_safecloud_list', + 'get_webshell_result', 'get_config', 'deal_webshell_file', 'set_alarm_config', + 'webshell_detection', 'ignore_file', 'get_ignored_list', 'del_ignored') return publicObject(toObject, defs, None, pdata) + # 避免加密后变成单例模式 from safeModel.reportModel import main as report_main + + @app.route(route_v2 + '/safe/report', methods=method_all) def report(pdata=None): # 安全报告 @@ -4209,6 +4362,7 @@ def report(pdata=None): defs = ('get_report') return publicObject(toObject, defs, None, pdata) + @app.route(route_v2 + '/scanning', methods=method_all) def scanning(pdata=None): comReturn = comm.local() @@ -4218,6 +4372,7 @@ def scanning(pdata=None): defs = ('get_vuln_info', 'startScan') return publicObject(toObject, defs, None, pdata) + @app.route(route_v2 + '/safe_detect', methods=method_all) def safe_detect(pdata=None): comReturn = comm.local() @@ -4227,6 +4382,7 @@ def safe_detect(pdata=None): defs = ('get_safe_count') return publicObject(toObject, defs, None, pdata) + # ----------------------------------------- 安全模块路由区 end---------------------------------------- @app.route(route_v2 + '/bak', methods=method_all) @@ -4378,7 +4534,7 @@ def files_v2(pdata=None): 'back_path_permissions', 'upload_file_exists', 'CheckExistsFiles', 'GetExecLog', 'GetSearch', 'ExecShell', 'GetExecShellMsg', 'exec_git', 'exec_composer', 'create_download_url', 'UploadFile', - 'GetDir','GetDirNew', 'CreateFile', 'CreateDir', 'DeleteDir', 'DeleteFile', + 'GetDir', 'GetDirNew', 'CreateFile', 'CreateDir', 'DeleteDir', 'DeleteFile', 'get_download_url_list', 'remove_download_url', 'modify_download_url', 'CopyFile', 'CopyDir', 'MvFile', 'GetFileBody', 'SaveFileBody', 'Zip', 'UnZip', @@ -4396,7 +4552,7 @@ def files_v2(pdata=None): 'Close_Recycle_bin', 'Recycle_bin', 'file_webshell_check', 'dir_webshell_check', 'files_search', 'files_replace', 'get_replace_logs', 'get_sql_backup', 'test_path', 'upload_files_exists', - 'file_history', 'file_history_list', 'del_file_history','del_history') + 'file_history', 'file_history_list', 'del_file_history', 'del_history') return publicObject(filesObject, defs, None, pdata) @@ -4404,7 +4560,7 @@ def files_v2(pdata=None): @app.route(route_v2 + '/crontab', methods=method_all) @app.route(route_v2 + '/crontab/', methods=method_all) @app.route(route_v2 + '/crontab_ifame', methods=method_all) -def crontab_v2(pdata=None,action=None): +def crontab_v2(pdata=None, action=None): # 计划任务 comReturn = comm.local() if comReturn: return comReturn @@ -4427,7 +4583,7 @@ def crontab_v2(pdata=None,action=None): 'GetDatabases', 'get_crontab_types', 'add_crontab_type', 'remove_crontab_type', 'modify_crontab_type_name', 'set_crontab_type', 'export_crontab_to_json', 'import_crontab_from_json', 'set_rotate_log', 'get_rotate_log_config', 'get_restart_project_config', 'set_restart_project', - 'get_system_user_list','get_databases', 'get_auto_config', 'set_auto_config' + 'get_system_user_list', 'get_databases', 'get_auto_config', 'set_auto_config' ) return publicObject(crontabObject, defs, None, pdata) @@ -4639,7 +4795,7 @@ def config_v2(pdata=None): # 旧主题 # 'set_panel_asset', # 'get_panel_asset', - 'get_alarm_services', # 服务 + 'get_alarm_services', # 服务 # 主题 'get_panel_theme', 'set_panel_theme', @@ -4660,7 +4816,7 @@ def ajax_v2(pdata=None): ajaxObject = ajax_v2.ajax() defs = ('get_lines', 'php_info', 'change_phpmyadmin_ssl_port', 'set_phpmyadmin_ssl', 'get_phpmyadmin_ssl', 'get_pd', - 'check_user_auth', 'to_not_beta', 'get_beta_logs', 'get_version_logs','apple_beta', + 'check_user_auth', 'to_not_beta', 'get_beta_logs', 'get_version_logs', 'apple_beta', 'GetApacheStatus', 'GetCloudHtml', 'get_pay_type', 'get_load_average', 'GetOpeLogs', 'GetFpmLogs', 'GetFpmSlowLogs', 'SetMemcachedCache', 'GetMemcachedStatus', 'GetRedisStatus', @@ -4671,9 +4827,11 @@ def ajax_v2(pdata=None): 'UninstallLib', 'InstallLib', 'SetQiniuAS', 'GetQiniuAS', 'GetLibList', 'GetProcessList', 'GetNetWorkList', 'GetNginxStatus', 'GetPHPStatus', 'GetTaskCount', 'GetSoftList', 'GetNetWorkIo', - 'GetDiskIo', 'GetCpuIo', 'CheckInstalled', 'UpdatePanel', + 'GetDiskIo', 'GetCpuIo', 'CheckInstalled', 'GetInstalled', 'GetPHPConfig', 'SetPHPConfig', 'log_analysis', - 'speed_log', 'get_result', 'get_detailed', 'ignore_version') + 'speed_log', 'get_result', 'get_detailed', 'ignore_version', + 'UpdatePanel', 'RepPanel', # 更新面板, 修复面板 + ) return publicObject(ajaxObject, defs, None, pdata) @@ -4689,7 +4847,9 @@ def system_v2(pdata=None): 'GetLoadAverage', 'ClearSystem', 'GetNetWorkOld', 'GetNetWork', 'GetDiskInfo', 'GetCpuInfo', 'GetBootTime', 'GetSystemVersion', 'GetMemInfo', 'GetSystemTotal', 'GetConcifInfo', 'ServiceAdmin', - 'ReWeb', 'RestartServer', 'ReMemory', 'RepPanel', 'mark_reboot_read') + 'ReWeb', 'RestartServer', 'ReMemory', 'RepPanel', 'mark_reboot_read', + 'get_upgrade_log', # 获取面板更修,修复日志 + ) return publicObject(sysObject, defs, None, pdata) @@ -4713,9 +4873,11 @@ def panel_data_v2(pdata=None): if comReturn: return comReturn import data_v2 dataObject = data_v2.data() - defs = ('setPs', 'getData', 'getFind', 'getKey', 'getSiteWafConfig', 'getSiteThirtyTotal','get_wp_classification','get_wp_site_list','get_aacloud_data') + defs = ('setPs', 'getData', 'getFind', 'getKey', 'getSiteWafConfig', 'getSiteThirtyTotal', 'get_wp_classification', + 'get_wp_site_list', 'get_aacloud_data') return publicObject(dataObject, defs, None, pdata) + # todo 计划调整 @app.route(route_v2 + '/ssl', methods=method_all) def ssl_v2(pdata=None): @@ -4781,6 +4943,7 @@ def ssl_v2(pdata=None): result = publicObject(toObject, defs, get.action, get) return result + @app.route(route_v2 + '/overview', methods=method_all) def overview_v2(pdata=None): # 首页overview管理 @@ -4798,6 +4961,7 @@ def overview_v2(pdata=None): ) return publicObject(OverViewApi(), defs, None, pdata) + @app.route(route_v2 + "/business_ssl", methods=method_all) def business_ssl(pdata=None): # 商业SSL证书申请接口 @@ -4883,6 +5047,7 @@ def domain_v2(pdata=None): ) return publicObject(DomainObject(), defs, None, pdata) + @app.route(route_v2 + '/ssl_dns', methods=method_all) def ssl_dns_v2(pdata=None): # aaDns管理 @@ -4909,6 +5074,7 @@ def ssl_dns_v2(pdata=None): ) return publicObject(DnsApiObject(), defs, None, pdata) + @app.route(route_v2 + '/dns_api', methods=method_all) def dns_api_v2(pdata=None): # dns api 开放, 子面板调用 @@ -4923,7 +5089,6 @@ def dns_api_v2(pdata=None): return publicObject(SubPanelApi(), defs, None, pdata) - @app.route(route_v2 + '/adminer_manager', methods=method_all) def adminer_manager_v2(pdata=None): comReturn = comm.local() @@ -4941,6 +5106,7 @@ def adminer_manager_v2(pdata=None): ) return publicObject(AdminerApi(), defs, None, pdata) + @app.route(route_v2 + '/task', methods=method_all) def task_v2(pdata=None): # 后台任务接口 @@ -4995,9 +5161,9 @@ def auth_v2(pdata=None): import panel_auth_v2 toObject = panel_auth_v2.panelAuth() defs = ('free_trial', 'renew_product_auth', 'auth_activate', - 'get_product_auth', 'get_product_auth_all','get_stripe_session_id', + 'get_product_auth', 'get_product_auth_all', 'get_stripe_session_id', 'get_re_order_status_plugin', 'create_plugin_other_order', - 'get_order_stat', 'get_voucher_plugin','get_voucher_plugin_all', + 'get_order_stat', 'get_voucher_plugin', 'get_voucher_plugin_all', 'create_order_voucher_plugin', 'get_product_discount_by', 'get_re_order_status', 'create_order_voucher', 'create_order', 'get_order_status', 'get_voucher', 'flush_pay_status', @@ -5712,7 +5878,6 @@ def panel_public_v2(): @app.route(route_v2 + '//', methods=method_all) @app.route(route_v2 + '///', methods=method_all) def panel_other_v2(name=None, fun=None, stype=None): - # 插件接口 if public.is_error_path(): return redirect('/error', 302) @@ -5875,6 +6040,7 @@ def panel_other_v2(name=None, fun=None, stype=None): except: return public.get_error_info() + @app.route(route_v2 + '/hook', methods=method_all) def panel_hook_v2(): # webhook接口 @@ -5977,6 +6143,46 @@ def ws_panel_v2(ws): p.start() +@sockets.route(route_v2 + '/ws_home') +def ws_home_v2(ws): + ''' + @name 首页接口ws入口 + @author hwliang<2021-07-24> + @param ws websocket会话对像 + @return void + ''' + + comReturn = comm.local() + if comReturn: return comReturn + + get = ws.receive() + get = json.loads(get) + if not check_csrf_websocket(ws, get): return + global WS_OBJ + from panelController import Controller + model_obj = Controller() + while True: + pdata = ws.receive() + if pdata in ['{}', {}, None, '']: + ws.send(json.dumps(public.return_status_code(1000, 'The request parameter cannot be null'))) + break + try: + get = public.to_dict_obj(json.loads(pdata)) + except: + request.form = { + "error": pdata + } + raise Exception('json load error !') + get._ws = ws + WS_OBJ[get.get('ws_id', public.GetRandomString(16))] = {'ws_obj': get._ws, 'menu': get.get('menu', ''), + 'timeout': int(time.time()) + 33} + WS_OBJ = {i: j for i, j in WS_OBJ.items() if j['timeout'] > int(time.time())} + if hasattr(get, 'model_index') and get.model_index != '': + ws_model_thread(model_obj, get) + else: + ws_panel_thread(get) + + def ws_panel_thread_v2(get): ''' @name 面板管理ws线程 @@ -6222,11 +6428,11 @@ def webssh_v2(ws): if not ssh_info: ssh_info = {"host": "127.0.0.1"} if not 'port' in ssh_info: ssh_info['port'] = public.get_ssh_port() - #当密码和key都为空的时候 + # 当密码和key都为空的时候 if not 'password' in ssh_info and not 'pkey' in ssh_info: import ssh_security_v2 sshobject = ssh_security_v2.ssh_security() - ssh_info['pkey'] = sshobject.get_key(get).get("message",{}).get("result","") + ssh_info['pkey'] = sshobject.get_key(get).get("message", {}).get("result", "") else: # public.print_log("无host") ssh_info = sp.get_ssh_info('127.0.0.1') @@ -6452,13 +6658,15 @@ def panel_mod_v2(name=None, sub_name=None, fun=None, stype=None): if not 'login' in session: return abort(404) return public.get_error_object(None, plugin_name=name) + @app.route(route_v2 + '/check_auth', methods=method_all) def check_auth_v2(pdata=None): comReturn = comm.local() if comReturn: return comReturn if os.path.exists('data/.is_pro.pl'): - return public.return_message(0,0,'true') - return public.return_message(-1,0,'false') + return public.return_message(0, 0, 'true') + return public.return_message(-1, 0, 'false') + @app.route('/bind', methods=method_get) def bind(): @@ -6470,6 +6678,7 @@ def bind(): # g.title = '请先绑定宝塔帐号' return render_template('index_new.html', data=data) + @app.route(route_v2 + '/breaking_through', methods=method_all) def breaking_through_v2(pdata=None): comReturn = comm.local() @@ -6498,6 +6707,7 @@ def breaking_through_v2(pdata=None): ) return publicObject(breakingObject, defs, None, pdata) + @app.route(route_v2 + '/virtual/', methods=method_all) @app.route(route_v2 + '/aapanelsub/', methods=method_all) @app.route('/aapanelsub/', methods=method_all) @@ -6511,11 +6721,11 @@ def virtualModel_v2(def_name): import public.PluginLoader as plugin_loader mod_file = '{}/class_v2/virtualModelV2/virtualModel.py'.format(public.get_panel_path()) plugin_class = plugin_loader.get_module(mod_file) - plugin_object = getattr(plugin_class,"main")() - get= get_input() + plugin_object = getattr(plugin_class, "main")() + get = get_input() if def_name.endswith('.json'): def_name = def_name[:-5] - result = getattr(plugin_object,def_name)(get) + result = getattr(plugin_object, def_name)(get) return result @@ -6536,6 +6746,8 @@ def userRegister_v2(): defs = ('toRegister',) return publicObject(reg, defs, None, None) + + # ===========================================================v2路由区end===========================================================# @app.route('/v2/install_finish', methods=method_post) @@ -6571,6 +6783,8 @@ def wp_login(site_id: int, wp_site_type: str = 'local'): def mail_campaign_handler(enc_str: str): g.api_request = True try: + if not os.path.exists(public.get_setup_path() + '/panel/plugin/mail_sys'): + return public.lang('Plugin mail_sys is not installed') from power_mta.maillog_stat import campaign_event_handler return campaign_event_handler(enc_str) except: @@ -6622,7 +6836,8 @@ def get_mod_input(): @app.route('/mailUnsubscribe', methods=method_all) def mailUnsubscribe(): # 插件判断 - if not os.path.exists('/www/server/panel/plugin/mail_sys/mail_send_bulk.py') or not os.path.exists('/www/vmail/postfixadmin.db'): + if not os.path.exists('/www/server/panel/plugin/mail_sys/mail_send_bulk.py') or not os.path.exists( + '/www/vmail/postfixadmin.db'): return abort(404) g.is_aes = False @@ -6639,7 +6854,6 @@ def userLang(): public.Md5( uuid.UUID(int=uuid.getnode()).hex[-12:] + public.GetClientIp())) != 'check': - return abort(404) global admin_check_auth, admin_path, route_path, admin_path_file @@ -6667,7 +6881,9 @@ def google_redirect(): redirect_url = public.httpPost('{}/google/redirect'.format(public.OfficialApiBase()), headers={ 'X-Forwarded-For': public.GetClientIp(), }, data={ - 'redirect_url': 'https://{}{}{}'.format(public.GetHost(), ':{}'.format(str(public.ReadFile('data/port.pl')).strip()) if os.path.exists('data/port.pl') else '', '/google/callback'), + 'redirect_url': 'https://{}{}{}'.format(public.GetHost(), ':{}'.format( + str(public.ReadFile('data/port.pl')).strip()) if os.path.exists('data/port.pl') else '', + '/google/callback'), 'nonce': nonce, 'from_panel': 1, }) @@ -6683,7 +6899,8 @@ def google_callback(): get = get_input() # validate nonce - if 'google_nonce' not in session or not session['google_nonce'] or 'nonce' not in get or not get.nonce or session['google_nonce'] != get.nonce: + if 'google_nonce' not in session or not session['google_nonce'] or 'nonce' not in get or not get.nonce or session[ + 'google_nonce'] != get.nonce: return abort(403) # remove nonce @@ -6699,6 +6916,7 @@ def google_callback(): session['focre_cloud'] = True return redirect('/') + # ========================================================== Google OAuth2.0 end ===========================================================# @@ -6726,4 +6944,56 @@ def init_cdn_config(app): app.config['CDN_PROXY'] = False return + init_cdn_config(app) + + +def is_static_asset_request(): + if request.path.startswith('/static/') or request.path.startswith('/v2/static/'): + return True + return re.match(r'^(/v2)?/[\w\-]+/static/[\w\./\-]+$', request.path) is not None + + +# 1. 定义:判断哪些请求需要强制校验 apsess +def require_apsess(): + normalized_path = request.path.rstrip('/') or '/' + fixed_entry_paths = { + '/', + admin_path.rstrip('/') or '/', + route_path.rstrip('/') or '/', + } + if normalized_path in fixed_entry_paths: + return False + + # 公开路径:无需 apsess 校验 + public_paths = ( + '/login', '/v2/login', '/install', '/static/', '/safe', '/hook', '/public', + '/down', '/userLang', '/google/redirect', '/google/callback' + ) + for p in public_paths: + if request.path == p or request.path.startswith(p): + return False + # 已登录用户:强制校验 apsess + return session.get('login', False) + + +# 2. 定义:核心 apsess 校验逻辑 +def check_apsess_path(): + # 从 environ 中获取中间件提取的令牌 + apsess_token = build_apsess_url_token(request.environ.get('bt.apsess_token', '')) + g.apsess_path_token = apsess_token # 写入 g 供后续接口使用 + g.apsess_verified = False # 默认未验证 + + # 无令牌:若无需强制校验则放行,否则拒绝 + if not apsess_token: + return True + + # 对比 session 中的令牌(登录时生成) + expected_token = get_apsess_url_token_from_session() + if not expected_token or apsess_token != expected_token: + return True # 令牌不匹配时仅标记,不在这里阻断 + + # 校验通过:标记上下文 + g.apsess_verified = True + session['apsess_verified'] = True + return True diff --git a/BTPanel/static/img/soft_ico/ico-openclaw.png b/BTPanel/static/img/soft_ico/ico-openclaw.png new file mode 100644 index 00000000..5bfd3add Binary files /dev/null and b/BTPanel/static/img/soft_ico/ico-openclaw.png differ diff --git a/BTPanel/static/vite/css/details-Cs1TH9lk.css b/BTPanel/static/vite/css/details-Cs1TH9lk.css new file mode 100644 index 00000000..838fd928 --- /dev/null +++ b/BTPanel/static/vite/css/details-Cs1TH9lk.css @@ -0,0 +1 @@ +.card[data-v-898a7868]{background:var(--home-update-detail-bg);margin-bottom:20px;border-radius:4px;padding:20px 24px}.version[data-v-898a7868]{position:relative;margin-left:95px;padding:5px 0 0 2px;border-left:5px solid #e1e1e1}.version .active[data-v-898a7868]{position:absolute;left:-10px;top:21px;display:block;width:15px;height:15px;margin-bottom:10px;background-color:#20a53a;border-radius:50%}.version .active[data-v-898a7868]:after{content:"";position:relative;top:5px;left:5px;display:block;height:5px;width:5px;border-radius:50%;background-color:#fff}.version .date[data-v-898a7868]{position:absolute;left:-90px;top:13px;line-height:30px;font-size:13px;color:var(--home-update-detail-date)}.version .text[data-v-898a7868]{margin-top:7px;margin-left:5px;margin-bottom:5px;padding-left:15px;line-height:32px;border-bottom:1px solid #ececec;font-size:15px;color:#20a53a}.version .content[data-v-898a7868]{line-height:24px;font-size:12px;min-height:40px;padding-left:20px;color:#888} diff --git a/BTPanel/static/vite/css/details-DRwZSTPN.css b/BTPanel/static/vite/css/details-DRwZSTPN.css deleted file mode 100644 index 575da9e3..00000000 --- a/BTPanel/static/vite/css/details-DRwZSTPN.css +++ /dev/null @@ -1 +0,0 @@ -.card[data-v-76523929]{background:var(--home-update-detail-bg);margin-bottom:20px;border-radius:4px;padding:20px 24px}.version[data-v-76523929]{position:relative;margin-left:95px;padding:5px 0 0 2px;border-left:5px solid #e1e1e1}.version .active[data-v-76523929]{position:absolute;left:-10px;top:21px;display:block;width:15px;height:15px;margin-bottom:10px;background-color:#20a53a;border-radius:50%}.version .active[data-v-76523929]:after{content:"";position:relative;top:5px;left:5px;display:block;height:5px;width:5px;border-radius:50%;background-color:#fff}.version .date[data-v-76523929]{position:absolute;left:-90px;top:13px;line-height:30px;font-size:13px;color:var(--home-update-detail-date)}.version .text[data-v-76523929]{margin-top:7px;margin-left:5px;margin-bottom:5px;padding-left:15px;line-height:32px;border-bottom:1px solid #ececec;font-size:15px;color:#20a53a}.version .content[data-v-76523929]{line-height:24px;font-size:12px;min-height:40px;padding-left:20px;color:#888} diff --git a/BTPanel/static/vite/css/index-BGKSfNQS.css b/BTPanel/static/vite/css/index-BGKSfNQS.css new file mode 100644 index 00000000..53f4f234 --- /dev/null +++ b/BTPanel/static/vite/css/index-BGKSfNQS.css @@ -0,0 +1 @@ +.n-alert[data-v-2ec41421]{--n-padding: 16px;--n-font-size: 12px} diff --git a/BTPanel/static/vite/css/index-BWObZaLW.css b/BTPanel/static/vite/css/index-BWObZaLW.css new file mode 100644 index 00000000..76748eda --- /dev/null +++ b/BTPanel/static/vite/css/index-BWObZaLW.css @@ -0,0 +1 @@ +.text[data-v-152fc3e0]{width:300px;cursor:default;--un-bg-opacity:1;background-color:rgb(247 247 247 / var(--un-bg-opacity));padding-left:10px;padding-right:10px;line-height:32px}.language[data-v-152fc3e0]{width:300px}.language[data-v-152fc3e0] .n-base-loading{display:none}.language[data-v-152fc3e0] .n-base-selection--disabled{--n-border: none;--n-text-color-disabled: #333333}.language[data-v-152fc3e0] .n-base-selection.n-base-selection--disabled .n-base-selection-label .n-base-selection-input,.language[data-v-152fc3e0] .n-base-selection.n-base-selection--disabled .n-base-selection-label{cursor:default} diff --git a/BTPanel/static/vite/css/index-BZ6kzE9A.css b/BTPanel/static/vite/css/index-BZ6kzE9A.css new file mode 100644 index 00000000..8436d3ac --- /dev/null +++ b/BTPanel/static/vite/css/index-BZ6kzE9A.css @@ -0,0 +1 @@ +.path-list[data-v-3fa6b1c3]{flex:1;display:flex;border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border);overflow:hidden;cursor:text}.path-list .path-item[data-v-3fa6b1c3]{flex-shrink:0;display:flex;align-items:center;height:100%;white-space:nowrap;cursor:pointer;transition:background-color .3s cubic-bezier(.4,0,.2,1)}.path-list .path-item .path-dir[data-v-3fa6b1c3]{display:flex;align-items:center;height:100%;line-height:1;padding:0 6px;border-left:1px solid transparent;color:var(--color-text-4);transition:border-color .3s cubic-bezier(.4,0,.2,1)}.path-list .path-item .path-arrow[data-v-3fa6b1c3]{display:flex;align-items:center;height:100%;padding:0 2px;border-left:1px solid transparent;border-right:1px solid transparent;font-size:14px;transition:border-color .3s cubic-bezier(.4,0,.2,1)}.path-list .path-item .path-arrow.reversal i[data-v-3fa6b1c3]{transform:rotate(180deg)}.path-list .path-item[data-v-3fa6b1c3]:hover{background-color:var(--button-bg-hover)}.path-list .path-item:hover .path-dir[data-v-3fa6b1c3],.path-list .path-item:hover .path-arrow[data-v-3fa6b1c3]{border-left:var(--button-border-hover)}.path-list .path-item:hover .path-arrow[data-v-3fa6b1c3]{border-right:var(--button-border-hover)}.nav-btn[data-v-3fa6b1c3]{width:36px;padding:0}.n-data-table[data-v-524d158d]{--n-border-radius: 0}.n-data-table[data-v-524d158d] .n-data-table-base-table-body .selected-row .n-data-table-td{background-color:var(--color-table-td-hover)}.folder-picker[data-v-524d158d]{display:flex;flex-direction:column;height:100%}.folder-picker .header[data-v-524d158d]{display:flex;flex-direction:column;gap:16px;padding:16px;border-bottom:1px solid var(--color-border)}.folder-picker .header .header-content[data-v-524d158d]{display:flex;align-items:center;justify-content:space-between;gap:16px}.folder-picker .header .navigator-wrapper[data-v-524d158d]{flex:1;overflow:hidden}.folder-picker .header .search-wrapper[data-v-524d158d]{width:240px;flex-shrink:0}.folder-picker .header .search-wrapper .search-icon[data-v-524d158d]{font-size:16px;cursor:pointer;color:var(--color-text-4)}.folder-picker .header .toolbar[data-v-524d158d]{display:flex;align-items:center;gap:12px}.folder-picker .main-content[data-v-524d158d]{display:flex;flex:1;overflow:hidden}.folder-picker .main-content .sidebar[data-v-524d158d]{display:flex;flex-direction:column;width:160px;border-right:1px solid var(--color-border);padding:12px 0}.folder-picker .main-content .sidebar .dist-list .dist-item[data-v-524d158d]{display:flex;align-items:center;gap:8px;padding:8px 8px 8px 16px;line-height:1;cursor:pointer;transition:background-color .3s}.folder-picker .main-content .sidebar .dist-list .dist-item[data-v-524d158d]:hover{background-color:var(--color-bg-1)}.folder-picker .main-content .sidebar .dist-list .dist-item .disk-icon[data-v-524d158d]{font-size:18px;color:var(--color-text-4)}.folder-picker .main-content .sidebar .dist-list .dist-item .item-info[data-v-524d158d]{width:0;flex:1;display:flex;align-items:center;gap:4px}.folder-picker .main-content .sidebar .dist-list .dist-item .item-info .name[data-v-524d158d]{min-width:0}.folder-picker .main-content .sidebar .dist-list .dist-item .item-info .size[data-v-524d158d]{white-space:nowrap}.folder-picker .main-content .file-list-container[data-v-524d158d]{flex:1;display:flex;flex-direction:column;overflow:hidden}.folder-picker .main-content .file-list-container .file-table[data-v-524d158d]{flex:1}.folder-picker .folder-picker-footer[data-v-524d158d]{display:flex;align-items:center;justify-content:space-between;padding:10px 18px;background-color:var(--modal-action-bg);border-top:1px solid var(--modal-action-top-border);border-bottom-left-radius:var(--n-border-radius);border-bottom-right-radius:var(--n-border-radius)} diff --git a/BTPanel/static/vite/css/index-BgvMr9TV.css b/BTPanel/static/vite/css/index-BgvMr9TV.css new file mode 100644 index 00000000..e04bcc86 --- /dev/null +++ b/BTPanel/static/vite/css/index-BgvMr9TV.css @@ -0,0 +1 @@ +@charset "UTF-8";.logs-card[data-v-3d9d9bf9]{border:1px solid var(--color-border);border-radius:8px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}.logs-card .logs-card-header[data-v-3d9d9bf9]{padding:16px;border-bottom:1px solid var(--color-border)}.logs-card .logs-card-content[data-v-3d9d9bf9]{padding:16px}.logs-card .logs-version[data-v-3d9d9bf9]{font-size:17px;font-weight:700}.logs-card ul[data-v-3d9d9bf9]{padding-left:32px;color:var(--color-text-4);font-size:14px;line-height:1.4}.logs-card ul li[data-v-3d9d9bf9]{list-style-type:disc}.header-left[data-v-4aeb109e]{display:flex;align-items:center;height:100%}.header-right[data-v-4aeb109e]{display:flex;align-items:center;justify-content:flex-end;height:100%}.header-item[data-v-4aeb109e]{display:flex;align-items:center;height:100%}.header-username[data-v-4aeb109e]{gap:10px;margin-right:16px}.header-username .username[data-v-4aeb109e]{line-height:20px;font-size:12px}.header-feedback[data-v-4aeb109e]{font-size:20px;cursor:pointer}.header-system[data-v-4aeb109e]{gap:8px}.header-system .name[data-v-4aeb109e]{margin-right:2px;line-height:18px;font-size:12px}.header-system .time[data-v-4aeb109e]{line-height:18px;font-size:12px}.header-tools[data-v-4aeb109e]{gap:4px;cursor:pointer;transition:color .3s cubic-bezier(.4,0,.2,1)}.header-tools[data-v-4aeb109e]:hover{color:var(--color-primary)}.header-tools .icon[data-v-4aeb109e]{font-size:20px}.header-tools .text[data-v-4aeb109e]{line-height:18px}.header-tools .version[data-v-4aeb109e]{line-height:20px;font-size:13px}.n-card[data-v-a78fa700]{--n-padding-top: 0;--n-padding-left: 0;--n-padding-right: 0;--n-padding-bottom: 0;--n-border-radius: 10px;min-height:44px}.card-title[data-v-a78fa700]{position:absolute;display:flex;align-items:center;gap:16px;top:16px;left:16px;line-height:26px;z-index:100}@media(max-width:1400px){.card-title[data-v-a78fa700]{font-size:16px}}.badge[data-v-815892e5]{display:flex;align-items:center;gap:6px;width:84px;height:32px;margin-left:2px;padding-left:12px;border-radius:4px;background:var(--home-ad-badge-bg-color);color:var(--color-pro)}.badge .badge-text[data-v-815892e5]{font-size:14px;font-weight:700}.features[data-v-815892e5]{flex:1;display:flex;align-items:center;gap:24px;width:0;white-space:nowrap}.features .feature-item[data-v-815892e5]{display:flex;align-items:center;gap:6px}.features .feature-icon[data-v-815892e5]{color:#ffae45;font-size:14px}.features .feature-text[data-v-815892e5]{line-height:18px;font-size:13px}.n-progress[data-v-d51f89be]{--n-font-size-circle: 24px}.n-progress[data-v-d51f89be] .n-progress-text{font-family:Outfit}.status-card[data-v-2defdcfa]{display:flex;flex-direction:column;align-items:center;height:268px;padding-top:60px}.n-collapse[data-v-7402b5c2] .n-collapse-item:not(:first-child){border:none;margin:0}.n-collapse[data-v-7402b5c2] .n-collapse-item .n-collapse-item__header-main{display:flex;align-items:center;height:30px;padding:0 8px;background-color:var(--collapse-color);color:var(--color-text-base);border-radius:4px;font-size:12px}.n-collapse[data-v-7402b5c2] .n-collapse-item .n-collapse-item__content-wrapper .n-collapse-item__content-inner{padding-top:16px}.n-divider[data-v-6d1d43cd]{height:12px}.table[data-v-ef210d8c]{width:100%;max-width:100%;background-color:transparent;border-spacing:0;border-collapse:collapse;margin-bottom:0}.table tbody>tr>td[data-v-ef210d8c]{vertical-align:middle;line-height:1.42857143;padding:4px;text-overflow:ellipsis;word-break:break-all;overflow:hidden;border-top:none}.table[data-v-b6a3688c]{width:100%;max-width:100%;background-color:transparent;border-spacing:0;border-collapse:collapse;margin-bottom:0}.table tbody>tr>td[data-v-b6a3688c]{vertical-align:middle;line-height:1.42857143;padding:4px;text-overflow:ellipsis;word-break:break-all;overflow:hidden;border-top:none}.table[data-v-4a65274a]{width:100%;max-width:100%;background-color:transparent;border-spacing:0;border-collapse:collapse;margin-bottom:0}.table tbody>tr>td[data-v-4a65274a]{vertical-align:middle;line-height:1.42857143;padding:4px;text-overflow:ellipsis;word-break:break-all;overflow:hidden;border-top:none}.disk-item[data-v-1348bddf]{--text-color: var(--color-primary);cursor:pointer}.disk-item:hover .disk-size[data-v-1348bddf]{color:var(--text-color)}.disk-item .disk-usage[data-v-1348bddf]{line-height:28px;font-family:Outfit;font-size:22px;font-weight:500;color:var(--text-color);transition:color .3s}.disk-item .disk-size[data-v-1348bddf]{line-height:19px;font-size:13px;transition:color .3s}.disk-item .disk-path[data-v-1348bddf]{background-color:var(--color-bg-3);text-align:center;line-height:24px;padding:0 8px;font-size:13px;border-radius:2px}.n-progress[data-v-765646e8]{width:100%}.disk-item[data-v-f5a1d124]{--color: #20a53a;--bg-color: #20a53a1a;--shadow-color: #20a53a33;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid transparent;background-color:var(--bg-color);border-radius:4px;cursor:pointer;transition:border .3s cubic-bezier(.4,0,.2,1),box-shadow .3s cubic-bezier(.4,0,.2,1)}.disk-item[data-v-f5a1d124]:hover{border-color:var(--color);box-shadow:0 4px 10px 0 var(--shadow-color)}.disk-item .round[data-v-f5a1d124]{width:14px;height:14px;border-radius:50%;background-color:var(--color)}.disk-list[data-v-8b7b2e22]{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(44px,1fr))}.plugin-card[data-v-77972135]{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;height:138px;padding:10px;border:1px solid var(--home-soft-border-color);background:var(--home-soft-bg-color);border-radius:10px;cursor:pointer;transition:background .3s cubic-bezier(.4,0,.2,1),box-shadow .3s cubic-bezier(.4,0,.2,1),border-color .3s cubic-bezier(.4,0,.2,1)}.plugin-card[data-v-77972135]:hover{border-color:var(--home-soft-border-hover-color);background:var(--home-soft-bg-hover-color);box-shadow:0 4px 10px rgba(32,165,58,.13)}.plugin-card .move[data-v-150c41e1]{position:absolute;top:16px;right:16px;display:none;cursor:move;font-size:16px}.plugin-card:hover .move[data-v-150c41e1]{display:block}.plugin-card__content[data-v-150c41e1]{display:flex;flex-direction:column;align-items:center;width:100%;gap:8px}.plugin-card__content .plugin-icon[data-v-150c41e1]{height:44px}.plugin-card__content .plugin-title[data-v-150c41e1]{width:100%;font-weight:400;line-height:14px;text-align:center}.plugin-card__ad[data-v-ed90155b]{position:absolute;top:2px;left:6px;line-height:16px;font-weight:400;color:var(--color-text-2)}.plugin-card__content[data-v-ed90155b]{display:flex;flex-direction:column;align-items:center;width:100%;gap:8px}.plugin-card__content .plugin-icon[data-v-ed90155b]{height:44px}.plugin-card__content .plugin-title[data-v-ed90155b]{width:100%;min-height:28px;font-weight:400;line-height:14px;text-align:center}.plugin-card__actions[data-v-ed90155b]{display:flex;gap:8px}.plugin-card__actions .n-button[data-v-ed90155b]{--n-height: 24px;--n-padding: 0 8px}.plugin-list[data-v-86d6de8e]{display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.monitor-stat[data-v-980bc7b7]{display:flex;height:80px;background-color:var(--color-bg-3);border-radius:10px}.monitor-stat .monitor-stat-item[data-v-980bc7b7]{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;height:100%}.monitor-stat .monitor-stat-item:nth-of-type(1) .monitor-stat__value[data-v-980bc7b7],.monitor-stat .monitor-stat-item:nth-of-type(2) .monitor-stat__value[data-v-980bc7b7]{font-weight:500}.monitor-stat .monitor-stat-item .monitor-stat__title[data-v-980bc7b7]{display:flex;align-items:center;gap:6px;line-height:18px;font-size:14px;color:var(--color-text-2);font-weight:400}.monitor-stat .monitor-stat-item .monitor-stat__dot[data-v-980bc7b7]{position:relative;display:block;width:6px;height:6px;border-radius:3px;background-color:var(--dot-color)}.monitor-stat .monitor-stat-item .monitor-stat__dot[data-v-980bc7b7]:after{content:"";position:absolute;left:50%;top:50%;width:12px;height:12px;border-radius:6px;border:2px solid var(--dot-color);opacity:.6;transform:translate(-50%,-50%);animation:home-monitor-ripple-980bc7b7 2s infinite}@keyframes home-monitor-ripple-980bc7b7{0%{transform:translate(-50%,-50%) scale(.8);opacity:.8}50%{transform:translate(-50%,-50%) scale(1.2);opacity:.4}to{transform:translate(-50%,-50%) scale(1.6);opacity:0}}.monitor-stat .monitor-stat-item .monitor-stat__value[data-v-980bc7b7]{color:var(--color-text-base);line-height:22px;font-size:16px}.n-tabs[data-v-e0042a0d]{height:498px;--n-tab-text-color: var(--color-text-2);--n-tab-text-color-active: var(--home-monitor-tabs-active-color);--n-tab-text-color-hover: var(--border-hover-focus-color);--n-tab-gap: 40px;--n-tab-padding: 16px 0;--n-pane-padding-top: 0;--n-pane-padding-left: 16px;--n-pane-padding-right: 16px;--n-pane-padding-bottom: 16px}.n-tabs .n-tab-pane[data-v-e0042a0d]{flex:1}.n-tabs[data-v-e0042a0d] .n-tabs-tab{height:60px}.n-tabs[data-v-e0042a0d] .n-tabs-tab.n-tabs-tab--active{font-size:18px}.item-card-wrap[data-v-02d9a635]{position:relative}.item-card-wrap .drag-icon[data-v-02d9a635]{position:absolute;top:6px;left:50%;transform:translate(-50%);opacity:0;transition:opacity .2s;cursor:move}.item-card-wrap .drag-icon[data-v-02d9a635]:active{cursor:grabbing}.item-card-wrap[data-v-02d9a635]:hover{box-shadow:0 8px 16px rgba(0,0,0,.1);border-color:var(--border-hover-focus-color);cursor:pointer}.item-card-wrap:hover .drag-icon[data-v-02d9a635]{opacity:1}.item-card-wrap[data-v-02d9a635] .icon-container i{width:16px;height:16px;display:inline-block;vertical-align:middle}.module-card[data-v-88e1e6dd]{display:flex;flex-direction:column;overflow:hidden;border-radius:8px;padding:16px;border:1px solid var(--color-border);gap:10px}.module-card .card-icon-wrap[data-v-88e1e6dd]{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:6px;background-color:var(--home-overview-btn-color);font-size:18px;color:var(--border-hover-focus-color)}.module-card .card-icon-wrap[data-v-88e1e6dd] i{width:18px;height:18px;display:inline-block}.overview-new[data-v-173db194]{padding:52px 16px 16px;display:flex;justify-content:space-between}.overview-grid[data-v-173db194]{flex:1;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,calc(16.7% - 16px)));gap:16px}.drag-ghost[data-v-173db194]{opacity:.4;border:2px dashed var(--primary-color, #18a058);border-radius:8px;background:transparent!important}.drag-ghost[data-v-173db194]>*{visibility:hidden}.home-container[data-v-d6a88f59]{padding:10px 20px 16px} diff --git a/BTPanel/static/vite/css/index-Bu1Pw919.css b/BTPanel/static/vite/css/index-Bu1Pw919.css new file mode 100644 index 00000000..02a39f60 --- /dev/null +++ b/BTPanel/static/vite/css/index-Bu1Pw919.css @@ -0,0 +1 @@ +@charset "UTF-8";.svg-icon[data-v-8667fe91]{width:1em;height:1em;fill:currentColor;vertical-align:-.15em}@keyframes bounce-in{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}@keyframes bounce-out{0%{transform:scale(1)}30%{transform:scale(1.05)}to{opacity:0;transform:scale(.7)}}.bounce-enter-active{animation:bounce-in .3s;animation-fill-mode:both}.bounce-leave-active{animation-name:bounce-out;animation-duration:.2s;animation-fill-mode:both}.n-layout-sider[data-v-51274824]{background-color:#3c444d}.sider-header[data-v-51274824]{position:relative;height:52px;display:flex;align-items:center;justify-content:center;cursor:pointer;padding-left:8px;padding-right:8px;--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.sider-header[data-v-51274824]:hover{background-color:var(--color-primary)}.sider-header .text[data-v-51274824]{margin-right:22px;width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.sider-header .message[data-v-51274824]{position:absolute;top:16px;right:8px;width:20px;height:20px;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:4px;--un-bg-opacity:1;background-color:rgb(252 109 38 / var(--un-bg-opacity));font-size:14px;font-weight:700}.n-menu[data-v-51274824]{--n-color: #353d44;--n-item-height: 40px;--n-font-size: 14px;--n-border-radius: 0;--n-item-text-color: #d6d7d9;--n-item-color-hover: #2c3138;--n-item-color-active: #2c3138;--n-item-color-active-hover: #2c3138;--n-item-text-color-hover: #fff;--n-item-text-color-active: #fff;--n-item-text-color-active-hover: #fff;padding-bottom:0}.n-menu[data-v-51274824] .n-menu-item{margin-top:1px}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content{padding-right:0}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:before{left:0;right:0;border-left:4px solid #2c3138;transition:background-color .3s var(--n-bezier),border-color .3s var(--n-bezier)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .n-menu-item-content-header{width:100%;height:100%}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .n-menu-item-content-header .n-menu-item-link{display:flex;align-items:center;width:100%;height:100%;padding-left:52px;padding-right:18px;background-repeat:no-repeat;background-size:16px auto;background-position:25px 11px}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected:before,.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover:before{border-left-color:#20a53a}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .home{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKwwAACsMBNCkkqwAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAFZSURBVDiNpdO9a1VBEAXw3zOioIUQEdFGkQdWVtr6D1ikERtRppLU6awUsUkh2CgoBNwhoPhsLESxERR7wcI2XSBNMAHRNFmLbB6Xa64RXFjYOXvmzMfOjmqt/mcd2I+QmUuZOcgbDWWQmTN4iFms4wGu4jC+RMT7wQwy8xBe4FtE3MBXPMdqE5sfLCEzj+Il3kXEE4iIJTzFFbzB9z0FMvMYJphExLPuXUQs4y1eYfmPHmTmbHN+FBGv92zMDm+ulXAzItZHtVaZeRH3sBgRn4ecOyKXcRt3dkuYwyJOZeaJfZyP42TjX1Nrne5SyqSUMu5ho559tpQy2bUP9gL8wHYnzbtYzczTuB8RHzs8/H0Sz+ETbuEDxg3f7pL6AhW/2vknNiNiCxvY6uDT8e2XMINLmbmC89js3I0z8wLOdP36Aht43KIcwULD1+w82/WGT+dk8DP96/oNlqecb6uu8YEAAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .home{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKTQAACk0BtZPkxgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAFVSURBVDiNpdO9atVBFATw3/UjBEGidkJSRFFIiKJBsAmaBxDFQptUIoJPYCc2Wmpjo4haRUFMnsEmnXUIKQXFRlEvaiIxY/HfheXCNUUWht2dM+fsYXe2l8Ruxp4d4jN4gDNlvw/70dMQw8ZRXMdFbOAvpjGJ93iHrWEdHMdDfMMcPuMpjiC4hYPDOpjCPazgceGeYS8m8BYj2AZJWpxOspTk9gBfcTPJSpJrlRtMXk5yY0hyxUKSF0lOtQWuJHmV5NIOyRWXk7xOcrVe4iSW8BXj/3mZ+jpfiv5ErThS5udJzjcnHUgyXubKnU3yUrcerR38wSH0sVm4C3iDO+Xm5wu/hX44jI3WB4OePoaPeIIPOm9U3XYVtQV6JfC77PtYxyrW8KPwP9vDWiNFZ5BzOtvO4Fejm8ZJzGqM1BbYLHiE77pPc7fEPuE+FjCGxaLV2+13/gdXJgTGYi2BZQAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .home{background-image:url(data:image/gif;base64,R0lGODlhEAAQANUAAPPz8+np6d3d3c/Pz8vLy8XFxb+/v729vbu7u7e3t7W1tbGxsa+vr62traurq6mpqaenp6WlpaOjo6GhoZ2dnZubmwrPOpmZmQzLPJeXl5WVlRLFPhLDPhy5RI+Pjx63RImJiYeHhyypSiirSIODgzKfToGBgTabUDibUDiZUH5+fj6TUnx8fECRVEKPVHp6ekSNVkCPVESLVnZ2dnR0dEyDWnBwcFR4XlZ2Xlh2XlpyYGZmZgAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJHgA7ACwAAAEAEAAOAAAGhsCdcLgzJUjE5HCmECxMFYZHuWMRHDuJINIg2JIqAmQYOS6SpEEkORFciOkJlVIwCTUEDfVOyOweFyAzVDMgFw1DBSFDOkMkBUQ2B0g1HyIdNUUGX0OTOy0jNyMrRQecOzYIKjsyKDspMDsvpkQGFDklJzsoJTgVBkkIAAEYLjsuGAEACEJBACH5BAkeADsALAAAAQAQAA4AAAZxwJ1wuDMlSMTkcKYQLEwVhke5YxEcO4kg0iDYkioCZBg5LpKkQSQ5EVyI6QmVUjAJNQQN9U7I7B4XIDNUMyAXDUMFIVQkBUQ2B0hKJgZfQ5FUJgeWOzYIKlQvm0QGFEM6QxUGSQgAARYcIhsWAQAIQkEAIfkECR4AOwAsAAABABAADgAABnfAnXC4MyVIxORwphAsTBWGR7ljERw7iSDSINiSKgJkGDkukqRBJDkRXIjpCZVSMAk1BA31TsjsHhcgM1QzIBcNQwUhVCQFRDYHSEomBl9DkVQmB5Y7NggqQzpDL5tEBhQ5NR8iHTU4FQZJCAABGC47LhgBAAhCQQAh+QQJHgA7ACwAAAEAEAAOAAAGfcCdcLgzJUjE5HCmECxMFYZHuWMRHDuJINIg2JIqAmQYOS6SpEEkORFciOkJlVIwCTUEDfVOyOweFyAzVDMgFw1DBSFUJAVENgdISiYGX0ORQzpDJgeWOzYIKjs1HyIdNTsvnUQGFDklJzsoJTgVBkkIAAEYLjsuGAEACEJBACH5BAUeADsALAAAAQAQAA4AAAaCwJ1wuDMlSMTkcKYQLEwVhke5YxEcO4kg0iDYkioCZBg5LpKkQSQ5EVyI6QmVUjAJNQQN9U7I7B4XIDNUMyAXDUMFIVQkBUQ2B0hCOkMmBl9DkTs1HyIdNUUHmDs2CCo7Mig7KTA7L6JEBhQ5JSc7KCU4FQZJCAABGC47LhgBAAhCQQAh+QQFHgA7ACwGAAkABQADAAAGDsDdTiesfUSdWmt0G62CACH5BAkyADsALAAAAQAQAA4AAAYVwJ1wSCwaj8ikcslsOp/QqHRKdQYBADs=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .website{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAHuSURBVDiNpZO/S9ZRGMU/5xZl0NJQDf2ybAgrGgylGloiCR0jDAO3+4WQlqA/oiHkpUGvgYtFRENL5g+CCEIiqSjMoFKsaJFqScMXfU9DV3vVluiZDs997odzuM+Vbf6n1v+tmVJqA9okHba9CXgF9McY+1fPqtpBSmkH0Al8B45Iema7DDRlyHagK8b4ZQ2gp6dnn6QB2+2SdgFvJW2xPQeUbdcCM5L6gNYY4/QyIKW0AbgGPAb2AueALuAQMA9MApeAu7YnJZ0ALscYyyE7aZf0JsZ4R1I/MAKMAwFYl+0/AW4URXFb0gTQTh4AOGP7Xta7gbEY43NJw8BA1hPAHoA821wdYUxSCZi13QhslPTI9kmgLGkUOG37m6QXwGbbF2OMTUvPuGD7JzCbM2N7FigD87bnJC3r7HyhOsK0pNEY46CkoRxhRNJDYDjGOGz7fdYPsqNP1YBB2y0Ai4uLH4GjKaUG281AS0qpAThQqVSmsrsWYAj+bOIt4Gpvb+/ZEMJ+4BTwLp8ZaASOhRA6UkofgHrgyupFqpN0H7gA7ATGJW21/SNvY10IYcZ2n+3WoiimVgAAuru7a0MIncBXoF7SU9sLwHHgJbDN9vWiKD4v3VkBACiVSqqpqekAzgMHc/s1vz/TTVbVGsC/1i9dw/hm1FHr2QAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .website{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKnAAACpwB9NLfEgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAGCSURBVDiNpdLPaw9wGAfw13fExWVq1IzYJEkc5kezgws5zM2S+irOWi7KH+EgB0e1m9ZycMGWm0jLRYqUWNNyIDkw2lq9Hb7P5rsfDvKpT717Pp/n/byf53k3kvif0/GX+AXcx3t8wgQurvexsUrBDozgGw7jBRZwHK+wHbeKdA1BLx6iiZ14i078LJLd+IJRnMVMO8Em3MQT7MH5qnQQ8/iAq7hXeBDXsLCxqjfxBuPVRide4xA2lPxnuIPP2Fo5o5JIMp6ku/BAkuHCp5MMFr6S5Gjh7iRjSSwp6MUpzOEYNmMRJ6v/rmqnG7uwpVpdJljEryKYr9hcJc+3DXIJd1TOMsEMnmMW36vSYzQq4Sn21Vqn0INz/DHSBIYKf8QR9ONMxfuxH9P1ZwiT7Qru4gaGsbfm8a7eUnMZwCUtdx7AdVYaqQ8PtCzbo7XGLvyo/vusNNL0agJabhvB16oyVcM6gZfYhts1q9LX2mv7bSS5nGQyyWzdR0ma6/xdo+Cfz28JnsxkWP6vVAAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .website{background-image:url(data:image/gif;base64,R0lGODlhEAAQAOYAAPHx8e/v7+vr6+np6efn5+Xl5eHh4d/f393d3dXV1dHR0c3NzcvLy8nJycfHx7+/v729vbu7u7m5ube3t6+vr62traurq6mpqaenp6WlpaGhoZ+fn52dnZubm5mZmZeXlxTDPpOTkyqrSiqpSoeHhy6nSiynSoWFhS6lTDCjTDKhTjSfTjadTjadUDSdTjabUDyXUjqXUjyVUj6TUkCRVHp6ekSNVkaLVkSLVnh4eEqHWHZ2dkiHWEqFWE6BWlB+XFJ8XFJ6XFR6XFZ4XlZ2XlpyYFxwYmZmZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFDgBHACwAAAEADwAOAAAHbYBHgoIdCgIACRyDizsTFQ0XGA4WEjuLNQMnH4shJwU1gw8di4sdD4IaGKSkGBpHC5argzsMRwYbsoMbB0cHHrmCHghHDDnARzm1GhnHGa5HEL+yHxCDmJqcJASg1hEUDRgZkxLGqxoJAQGJi4EAIfkEBQ4ARwAsBAADAAgAAgAABxGAR0dDPkBDgi0gNCgqNCAsgQAh+QQFDgBHACwEAAUACAACAAAHEYBFKUAogyNGPjZHPT5HMD+BACH5BAUOAEcALAMABwAKAAIAAAcWgDcoJjclKDciKTc6Kig9KCo6Jis6gQAh+QQFDgBHACwEAAkACAABAAAHCoA+Nkc6PkcwP4EAIfkEBQ4ARwAsBAAKAAgAAQAABwqARShAJSlAI0aBACH5BAUOAEcALAQACwAIAAIAAAcRgCwgMyUpMiAvR0dDPkJDioEAIfkECTIARwAsAAABAA8ADgAABxaAR4KDhIWGh4iJiouMjY6PkJGSk5SBADs=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .ftp{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAH6SURBVDiNpdM/qJZlGAbw3/1+n31o/0BJrMFaGmoRRBsM14M4iINLixBxHs6pxSxBmhpCqEk5CL2Pp5ZAdBD/UIJNhdBQzTqJYKkoB8HEY+r53rvB99hnuXlNNzfXfT3X9dzPE5npWTB8WrPWuhvvYwvGOI+vSykn/8uNSQfz8/MvdV33DRaxBlMInMZ9LI7H449mZ2cfLM80y0Xbtiu7rjsZEecz8ws8xBEc7l3swfXBYHB8bm6u+Z9A0zSfYmtmXoyIg/gKV3AJLQ7hV+wcjUYzT0Sota7C2Yg4kJm7sQM/YQOWcAFb+ygn8HHXdVMzMzMPlx1swML09PSPEXEIpzCNc/gBH+D7zPyylHIGt5umeWsywou4B5n5BhZKKTdwFddKKTdxJyLe7PmLWD0pcB2v9PVlvN627WZsxKZa6ya8hj96zsuZuUD/DobD4YWlpaUVtdbP8A62RcRNrO+38SG2I2qtv2AUERcfXyLUWnfhu8zcGBEFv+PVPtp9vI2j+A3vlVKOPSHQi+zHrcz8NiLebZrmr3yE1ePx+OfBYLAfK0opnz9eY9u2WzJzHRJ/Yy3uRsTePnfgSmYexAu4gZX9/NUh9kXElH8xxgjPTfTWR8RmPMBg+XCcGOKTiHh+gtxFxKqu685gXd/7MyJ29g6bCe7teNbv/A8ZE8Q3GMBOFwAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .ftp{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKnAAACpwB9NLfEgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAGVSURBVDiNpdLdaw9wFAbwzw+jzVspIxdIuXHhQqbGHVmSRLlx4w9YKbkhpVz4A6SkKOWlldA0uXA1Um645motL7NImsnYNI+LnZ9+W63IqW+dzvc8zznPOaeRxP/YgnnixzCISUzgEQ7/DcEK3MEefEMDbfiKI7iKxfMRtKMfT3EePwtwCdM4gVHcnoVL0nxnk0wl2ZvkYZLuJKeSHE+yO0lfkgOZsd4mrgnuSPI4SU+SW0nGkwwkeZ1kKMmDJGNJric5mGQwSVsrQXeSu+V3JbmRZE2SK0kuJuks4i2Vcz/J1iR/tCzH9/I34hM+YATv8bEGublyJrCqdYijWF3+MDagC9uwvd46vK2clVXEogq8rHWdwQ7sq6rraxu92F9rfYYleNVKMI3LuFlVh/ECQyVtEmPow3McLYzGnFM+jc+4hl0YR0rvk/pvw7kmoJFkJ9ZW4g90mrnCk6W7gTe4gGU13PbCjzSS9KOnpYvp0jjrZEvGFBY2i+NeI8kmLG1J/IUODFRn8A6HqsPW8/8ydwb/bL8B1eb4OuOuSusAAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .ftp{background-image:url(data:image/gif;base64,R0lGODlhEAAQAOYAAP////39/fv7+/f39+3t7evr6+Pj49/f39nZ2dfX19XV1dPT09HR0c/Pz83NzcvLy8nJycfHx8XFxcPDw8HBwb+/v729vbu7u7W1tbOzs7Gxsa+vr62trampqaenp6OjowDZNp+fnwLXNp2dnQTVOATTOJubmwrPOpmZmQrNOgzLPJeXl5WVlRi/QBa/QJGRkY+PjyC1RI2NjSSxRomJiYeHh4WFhYODg4GBgX5+fnx8fECRVESNVkSLVkaLVkiHWHR0dE6BWnJyclB+XFJ8XFR6XlR4Xlp0YFh0YGZmZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJMgBJACwAAAEAEAAOAAAHvYBJgoIhCAICCiuDi4IOEQsBAQ4QE4yCCR06DRUWD0AYDYwaATALNBweMA8sAB6LCC8QAwwEBQwDESwIgzQOSTURQBMVQBA5SQw3grFJKBdJGRtJFCxJDzKCOApJNg01DA42DDZJCziDCRsMAhQGBxIBDBsJiygCORYjqB8XNgAmjDZ8SCLjxg0YSTRkGBSkh48fO3i0UKGiRY8dP3z4GBKDhMcSIkCIBCGihEcSM5AUWVlkyAmRKYiwLHIkEAAh+QQFDgBJACwAAAEADwALAAAHj4BJgoIhCAICCiuDi0kOEQsBAQ4QE4xJCR06DRUWD0AYDYsaATALNBweMA8sAB6DCC8QAwwEBQwDESwIgjQOSTURQBMVQBA5SQw3SbFJKBdJGRtJFCxJDzJJOApJNg01DA42DDZJCziCCRsMAhQGBxIBDBsJgygCORYjqB8XNgAmizZ8SCLjxg0YSTRkEBQIACH5BAUOAEkALAAADAACAAMAAAcIgEE9MSRIRYEAIfkEBQ4ASQAsAgAMAAEAAwAABwWAPiRFgQAh+QQJDgBJACwAAAEADwAOAAAHIIBJgoOEhYaHiImKi4yNjo+QkY8/OzyMJCUijEVFQ4mBACH5BAkOAEkALAAAAQAPAA4AAAepgEmCgiEIAgIKK4OLSQ4RCwEBDhATjEkJHToNFRYPQBgNixoBMAs0HB4wDywAHoMILxADDAQFDAMRLAiCNA5JNRFAExVAEDlJDDdJsUkoF0kZG0kULEkPMkk4Ckk2DTUMDjYMNkkLOIIJGwwCFAYHEgEMGwmDKAI5FiOoHxc2ACaLNnxIIuPGDRhJNGQQFKSHjx87eFgaFIOExRIiQGgEwQhJkY9FJg4KBAAh+QQFDgBJACwAAAEADwAOAAAHsYBJgoIhCAICCiuDi0kOEQsBAQ4QE4xJCR06DRUWD0AYDYsaATALNBweMA8sAB6DCC8QAwwEBQwDESwIgjQOSTURQBMVQBA5SQw3SbFJKBdJGRtJFCxJDzJJOApJNg01DA42DDZJCziCCRsMAhQGBxIBDBsJgygCORYjqB8XNgAmizZ8SCLjxg0YSTRkEBSkh48fO3gs6rHjh6AYJDKWEAGiIwgRJUgIQlKkpKUkJpMEAgAh+QQFDgBJACwNAAwAAwADAAAHC4A+PkMkJDNFRUeBACH5BAUOAEkALAQADAAGAAMAAAcOgElJLSoqLYKISUVDiYEAIfkECTIASQAsAAABABAADgAABx2ASYKDhIWGh4iJiouMjY6PkJGSk5SEJyAgKUSFgQA7)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .database{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK6wAACusBgosNWgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAHISURBVDiNpZPPi81RGMY/z+3mpmasGBOZEgthQ5SFTDM2svMjOyt9X1eUEhshRbGx1e1cO5M/YVIzSWbjx4RidTeKbl3XgoyYW5rHwvlO35TZzFtn8fac5znPc855ZZvVVL3apJR2AGeAw5JGbI9m6Iukvu0ZIEVEp+TINimlOnANGAc6wCvbHUm/AAHrgZ3AHmA7MC3pVlEUS6WDWaALHIuIb/9xOw3QarVGa7XafduzwGQtg+PA+xXIy9VsNnvAHDBRvYMBcDyldEDSvO1nkj7lCNhea3uLpEO29wOjmbMsUAfOAYu2C+CC7XW2hzL+A1iw3QWu5/0vqgIAD4A7EXFxpQgppRPA1bIvBX4Dt4GJlNIV4DPQlTTIERrApryeA3eBh1WBBkBEnM+n7AO22R7O+ALwISJeZvxkySn/wQD4CDyV9Nj2XET0/7G+ATgIHAEmgbGIaJQO1gCngF22A7iRUloCfgLOpwnoA4+AFvC6GmEGOA1ciogpgHa7vRkYygLfi6LoVdzcI79CGUHAZf5+jh4wb/udpK/5EoclbQX2AruBt8DNiFhUdRpTSmPAWeCopI22R7KDfh6mJ8BURLwpOVrtOP8BlJPKP95zNKgAAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .database{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKdQAACnUBSiXd/QAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAF3SURBVDiNpdI5a5VhEAXg58qFRDBi4RIiBkSJoiIoihZi0EpsFWy0FAtbSwvB0uUn2LiUliIWMWgT90i0sRFcYxqFiCYQcizufHK9hUQcGIZh3jnvOYdpJfE/sayn34pLeI4PWKj8jJe4jJHuhVYxaOM8RvEGT6r+RAursQ27sBl3cBGLkkgynuRmklXV/y0Hk9xOMpbkt4RRvMK3JciexkMc6pYwhyl8wlM8wPuSAMuxAQexF4PYif4GYAH7C+g0hrASKwrgO2bxEdfKs0doN7oWkkwmObEED44leVY7f0g4Wbr24Uv9Nl8M+orVECZwH9fR3+56AGer7sEmDFQ/i7d4XP3xZqdhMI93GMfdcnmmx/01OIAjOIxh9DUAwW5sx6lyeRE/atanc1AzuIXXOtfaaoy5l+Rqj1nrk2xJMlLH0z27kmSi28QWzpWJ0zq3MIWvRX8AG4vlDkziAuYagCaGcQZHsQ5rS8JM5Rhu4EWz0Avwz/ELJiL9PSckq44AAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .database{background-image:url(data:image/gif;base64,R0lGODlhEAAQAOYAAP////39/fv7+/Hx8e/v7+np6ePj4+Hh4d/f393d3dfX19XV1dPT08XFxcPDw8HBwb+/v7u7u7m5ube3t62traenp6OjowDZNgLXNp2dnZubmwrPOpmZmQrNOpeXlxLFPhTDQBTDPhbBQBTBQBa/QBq9Qhi9Qh63RBy5QiC1RCC1RiKzRiSxRouLi4mJiYeHhyirSCynSoWFhS6lTIODgzKhTjSfTjadTjKfToGBgTibUDiZUHx8fD6TUnh4eHZ2dkiHWHR0dEyDWnJyclB+XFZ4XlZ2Xlh0YFxwYGZmZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFMgBJACwAAAEADwAOAAAHr4BJgkUzIB0XFxsfM0WCgjUlMD1CRERAOiwiNoIlLEiOoElIKSVJFzehoTsXSRggJzZCR0hIR0I2JyIYSQEyOTErKCQkKCoxNDIBvAYaqYIcB8oCHBAHDA4QEA4MBg8cAkkAHIIyGhYWGi/PAEkCBQ4cQaBBHg4F4AA0GQsGBgkJB6xloMFOQQRHP3jwkCcoAgJBFBg0qNAiRw4XGSIskADKxwQDAwIEIGAgAg1BgQAAIfkECQ8ASQAsAAABAA8ADgAABxaASYKDhIWGh4iJiouMjY6PkJGSk5SBACH5BAkPAEkALAAAAAAPAA8AAAe0gEmCRTMgHRcXGx8zRYKCNSUwPUJEREA6LCI2giUsSI6gSUgpJUkXN6GhOxdJGCAnNkJHSEhHQjYnIhigMSsoJCQoKjGgATI5qYI0MgFJAQYayUkcB80CHBAHDA4QEA4MBg8cAkkAHIIyGhYWGi+CHABJAgUOHEGgQR4OBeQANBkLDBhIkOCAtgw04imI4OgHDx73BEVAIIgCgwYVWuTI4SJDhAUSQPmYYGBAgAAEDESgISgQACH5BAkPAEkALAAAAQAPAA4AAAevgEmCRTMgHRcXGx8zRYKCNSUwPUJEREA6LCI2giUsSI6gSUgpJUkXN6GhOxdJGCAnNkJHSEhHQjYnIhhJATI5MSsoJCQoKjE0MgG8BhqpghwHygIcEAcMDhAQDgwGDxwCSQAcgjIaFhYaL88ASQIFDhxBoEEeDgXgADQZCwYGCQkHrGWgwU5BBEc/ePCQJygCAkEUGDSo0CJHDhcZIiyQAMrHBAMDAgQgYCACDUGBAAAh+QQJDwBJACwAAAAADwAPAAAHtIBJgkUzIB0XFxsfM0WCgjUlMD1CRERAOiwiNoIlLEiOoElIKSVJFzehoTsXSRggJzZCR0hIR0I2JyIYoDErKCQkKCoxoAEyOamCNDIBSQEGGslJHAfNAhwQBwwOEBAODAYPHAJJAByCMhoWFhovghwASQIFDhxBoEEeDgXkADQZCwwYSJDggLYMNOIpiODoBw8e9wRFQCCIAoMGFVrkyOEiQ4QFEkD5mGBgQIAABAxEoCEoEAA7)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .docker{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjQ2OUMyQTlEQzA3RjExRUNBRjc0QjI4QkM0QUMxRDBBIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjQ2OUMyQTlFQzA3RjExRUNBRjc0QjI4QkM0QUMxRDBBIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NDY5QzJBOUJDMDdGMTFFQ0FGNzRCMjhCQzRBQzFEMEEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NDY5QzJBOUNDMDdGMTFFQ0FGNzRCMjhCQzRBQzFEMEEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz606BQhAAAAn0lEQVR42mL8//8/AyWAiYFCQB8DZs2a9R+EsckxUhoGLPhshVkCxGB2WloaI4ZCZBeA2LgwMpg5c+Z/rF7AZisyOz09nXH69OkNTExM9f/+/QtiZGQ0BQcikAHGxIDMzMwGcOgzMa0D6qkEuwBXCOMDINeQnQ5gmskyAOj3GIx0API/csjiAkB1ZsCoPI3VAPTowedsqqZEijMTQIABAO7NWyhHRpXVAAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .docker{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjQ2OUMyQTlEQzA3RjExRUNBRjc0QjI4QkM0QUMxRDBBIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjQ2OUMyQTlFQzA3RjExRUNBRjc0QjI4QkM0QUMxRDBBIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NDY5QzJBOUJDMDdGMTFFQ0FGNzRCMjhCQzRBQzFEMEEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NDY5QzJBOUNDMDdGMTFFQ0FGNzRCMjhCQzRBQzFEMEEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz606BQhAAAAn0lEQVR42mL8//8/AyWAiYFCQB8DZs2a9R+EsckxUhoGLPhshVkCxGB2WloaI4ZCZBeA2LgwMpg5c+Z/rF7AZisyOz09nXH69OkNTExM9f/+/QtiZGQ0BQcikAHGxIDMzMwGcOgzMa0D6qkEuwBXCOMDINeQnQ5gmskyAOj3GIx0API/csjiAkB1ZsCoPI3VAPTowedsqqZEijMTQIABAO7NWyhHRpXVAAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .docker{background-image:url(data:image/gif;base64,R0lGODlhEAAQAJEDAJmZmSClOpiYmJmZmSH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkIzQURGQkRFQzA3RTExRUNBNUIyOUQ0OTNDNTk5MjFEIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkIzQURGQkRGQzA3RTExRUNBNUIyOUQ0OTNDNTk5MjFEIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QjNBREZCRENDMDdFMTFFQ0E1QjI5RDQ5M0M1OTkyMUQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QjNBREZCRERDMDdFMTFFQ0E1QjI5RDQ5M0M1OTkyMUQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4B//79/Pv6+fj39vX08/Lx8O/u7ezr6uno5+bl5OPi4eDf3t3c29rZ2NfW1dTT0tHQz87NzMvKycjHxsXEw8LBwL++vby7urm4t7a1tLOysbCvrq2sq6qpqKempaSjoqGgn56dnJuamZiXlpWUk5KRkI+OjYyLiomIh4aFhIOCgYB/fn18e3p5eHd2dXRzcnFwb25tbGtqaWhnZmVkY2JhYF9eXVxbWllYV1ZVVFNSUVBPTk1MS0pJSEdGRURDQkFAPz49PDs6OTg3NjU0MzIxMC8uLSwrKikoJyYlJCMiISAfHh0cGxoZGBcWFRQTEhEQDw4NDAsKCQgHBgUEAwIBAAAh+QQFHgADACwAAAAAEAAQAAACHZyPqcvtFsKbtII6rgWX+/8d4KgZZJicZTpi7lIAACH5BAUeAAMALAYABQAFAAEAAAIDTGYFACH5BAUeAAMALAMABwAIAAIAAAIFTGZol1YAOw==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .wp{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADIBAMAAABfdrOtAAAAJ1BMVEVHcEyZmZmcnJyZmZmampqZmZmampqfn5+ZmZmZmZmampqZmZmZmZke99ZiAAAADHRSTlMAhSjFRtpoEKDvsPCFVtuwAAAMRklEQVR42r1cS28b1xUmh8OHHguydtLU4YKBnaKuuJDDPtJ2Fkytwi3KBZMWTVFwwQQI2qazYKA4sGstlAdSBOUiqYPYCy4UFG0X5SJxi7gIuDBJURLF+VEVqZk753XvzNCy7kqPmXvuOec7r3vPnVQq/rBfeqbmeCdjXHv3Yj31BMbbzyzmD8f43RtnTOLb//CE8bvXz5JE39OM47MiYz/lGcbLZ6Kc51qecUy+8dgkrKe8yPFy5TFF1fdijOPHEtk7LS/WmPz+MdTR82KO6dKKecuLP6bfXJJGz3viVNISjdq10sm4UJOoFJfAFdP5r57+afjvK699n2k/McYs4g5nnzN3+PalAXGZSe3lW/j9f4rvW2/ipz5JRuMyevl/WkHYf0UPvpBI6UhSH5ge/TmSWXFJhYzb5odzznJq+SMUVeRrFhTZZ3FpFKCH7UQ/n38WvLCbXFi/iffKG4kF9ovwja/iMg94+TTO87nw+S87cYnky+Fb7RjPh48fJ7BgK4xuw+inby3pi4Cvi9R93lnGsHD0GUdJeVs9+gr/55XS3+drmNZ+DB1yMJ5Xr/4wLiNMsvYl5JjH3GcqbU468RiZEYXYF3iYukafGcRiJWTkVfz3N8VQPCWu82YsrWzLwtJnX/frssBMrDiiQZkyI5wLKUOexPCMD+Bfr5vTFCSyjWhbCbidVGTnJ48fQMNvRZl9TtL6G9Ep168l3es8WEOA+fU4iR0I7fmAlX2Nj+txRr4TL318j7Mylb1rhiMjHTNTnbY5K5sikS5jhGZ4+gHiYcDKkUntQCPl+Pn2Z5wVSfVXGSPbSbL6Fxgrf9Nb+0wxbicrHZSDsXw/OdYnjaNlhDUfB+rFqjbqVakkb3kJxy7V7ogRaRF3kHeSEgn9e1njJQNpNXkwjVkAX7yhiGQ18vKxNetQ84/LBgws+YGML4d4nKsJGWlLXpDgyyYMJmXkU1n4OG5miaqSMlKXYdSUwtVoSUaGGoNAf8/3sLS2EzLS1IB12uF/m7CEYim1Ay8JQXwbY6uQkMZMG2XvcZXs+b+6CYkIoWOVKcXCDthO6lCEeG4xpaQx2ZtnQCQQTpGq5KH/az8pkZFA5A5VioswsvDU/6nVPi9d3Kr7BdT38ltbpVKtttiDmtRq10pPb91QJdyhflPjgNinnL/eMRQcGVOORSa1KVEGk6E55RSJuNjhrGrMNpKIbUp817BZVE2F6G1NTgDFNTbsNI0Q2mYdwx7Ie+L/gnTQk171I9cQqYib7VbpktrRvHuttAWnuvJaqdaTfZdVgRnpBBknB3vf4AZdgxfeRVqoQOFt6vChBnxix2DyI6SxIoyKbZ3Rioa9itMI9N6LCOBN4JVn5s01itScIaA4Faj5EQCXr3dLMAOppM3jf6Gy39mFmh8CcPlivQmfHhjShb4+yDv3YOCaAHB94Su7LpRFUt1MUAGLN2eIbL4SStefwNkTKtVg3ONeQ0KeM0E6bYc4qfs2c6ifCLnQgv5fjj+ZHXqv9dMfg1cNEyGkElTA5McJxHL6r0fKMI8DdzjmgVqW/ECrLyeQa19h2IXsungieoZS1KMCGD2czZ+6D625iycqGzLFhlaUyuhCIbUgglvqJ1TjST5qTWdEJ0KewkcmynT3lBL2ebIvZnFpnfu0FcVMEG1sKO1cCAFxIoghS8dlTk2XDnhMQ2YzJMxZpsy6pVFKWinPDl4qwAC6HjERMuyyBt8Z3zaUKnZ9uU0AYpqGuDUyoCKA5Xoou4G/snXIazlqoqEBFU3wzhDWOY98IkNgYKaJJgZUjAD3cNEnRBrQ4BeUp/oAiEKKpeGyHy7G9XHXgPiLnAiFFIKKAPu90N8Gk5cBqxbOLCV43dOjYgrXVQcqHSqxAVwfGuB1YEAFzLDaoUmcEOkCImk+0Y4hpGRFfWUAngMiDjCyNIfQqiGk5ER3UAVEMv7CIJFM9ETQH1iiNbpAryYiRW1+hf1BXyLCJxynPMad531syLpHelQUAXubIEmYikT2DfA60qOiCPTahEoWiRwbAuBQj4oieP6Rlsi6UDkVDOLKCUTc2ETa+qy7qc+620CHMYg09flVUV+L1QHdGERG+vyqktKmRSCzjkNkqJ1oItXqYNcrE0kkSxyqAK+hvhYbQ6cZDWEUUtKGDSGb0Xc9bowz0a2gkGKZtjQHNPHCh00m34VDSouAy9Kg4hFckd5BpsXYVCYI+q4GFZtwBuzqhaBFQFQl4HIrctxqw99x0BLCLzGHLIm+TltGRQVyVheIjCiRojzRaC72poiKCdIRTiSElAjUKxRezTnNkYiKI5UO8ZQIJXctsdxpIblnUUgpozdsotMguUNpap9laiRuVeYimIqo+AIGmGOcpvKEm4WUKpJ7GUWCLMotd4j3CRJuXjqwkJJF4Gohf5BGL7hE2j3fgFARtCP6jxx0BDZ2YBZive8hJ6yKIFTOZUVPaEGXViD+oAW0YJGKTJVzqDBNyz4dNoGsEH/gAknmiJkpBlCJbcsHLy4QSYP4gypwqRkxLZ6/1YL5nFzu7ACR9EmVkgUCqpIVrihQoW0PkBns8fzqINDlxxwVbWgBaNvjiG7gAAwf8okOgx8PeFpUga5hn27goK2oNbHcyYfMrTJ/0FcysTyMYCAksqkmhpS+EkmVRQJXgTFNK0vmb+osM6jQADhjh0YhKkZIDGx7EG90tsSQsqY06DB/sKr+0CBCABudFqpJXDGkFAJ1Wtwf5NQau0SdK0AiaPP5jriDZgdU07xKyQcCyvcIMMHmM95GL3hiSBn4q80KKWbXV1eO6h1uozd4qc9CStdfbVWIBA1/QasEMj5nI+FooyuGlIa/2rLgD9Z8LewQe88JWfEmy7Ka2EMdQfCNMCoOIWakQxp83FQQQ0r6FAi25A9sf4UOUQm2W3RwZokhxTplrCD6g8FCsurFmXRw5gs62CktiyGlteB7RfQH3cVvObI2X+9D8TDzphhSyouJGuLGV2Ox3Cw5FSKHmfhY1hZDShXEHhpSsovlVsnSVvAc5IDZkULKYqK8vPF1mriWiQ2TA2Zyqr2hnSjnif7gNAUP0P0Q9XtMaKJQpGnWhEyU0dTarV0g5bbm0J+0GvTFiYpkPxD4g3I9RPex3BLBGjHuSCFlXl+5mhJ1I9SzOnFkjRh+K96UtZQACD1PG3OgPwARq4K7VDrRzTEwpNBi+0g88j7QNscEAmJtPsdi1xYPKSG6d3FZ/FBoWOrQ2qqT0m/RtoWejLGhYSlokisau37JZvOe0C7xKl41bomgTWQDaZejbOi7qSIHHKznwNgOtyFNNNDvqPtYeUCaKJvmxr4BR4fpeP5Ui4oRubGPtShucAgVDDvqFmJE06KoJu0QVsBaVgxnKWnESJCBPdC0jW6SttE9/TY0DikeaBnOaNpGeQNsi4YU1vZ1gMEVtk51PU2bVZVaxi0yETsagP5gPu1folt5eVOyi1eT4x1qoeZ78ZqSA3mB9uoBmihjaH+04YWVoB1U6pXaYC0ol9FyqoZGzgK8DBL4pAeGtjNwQcWFEHINDX23oe4cXZsnTLXDNc3vYOzrDgNhSHHBPY9tfQcm8OSAldxAQcgSWhOVP/h3mzMid9cp1wsag/6sQkra0Pia/1eKMTKryC10Dc5K6nowUVYisseb4BxTRyG0BHht6GebWnBJ5rbtmdQOoxK6rvO63Ecgt05GX9cJnblwF2IgEWHe6ap02i1bvcCspr23ohG44QpVmEAMo1rjZM2Xxc41io2WpHsxYi1g+kFH1rr5hp5iJdYFPSKs8MKKiRHICr9qiD+JMfmQWlt4zzTiqiGoGIV71VdK7/9k/i/50uRlLx4jkBUv4dX98PpnFCOoVK8noZHkIuv5XMmFsfyTTlwaSS8Xp34JqMSlAT4M8N94nIMYmPzC9ySmjKELiSMxyEfcq+up1J/AS/cjV2Z9BB7/Kj5UYNIQ9TmBd6AjSPKVBxTQp+YPI/S0fQdRA18Fu681S/sj9OAryZzEs9jhxvtYxZfJaLBLmVPhsxsXeqRjqpKQiPABkbv4AyI/YgG/nko80lLqUHtx/imU96VPocyKqSXGWwMvwZgt++mYwZOnkUo9N3jyNM7nk0Hn8/Gj8/mMU+pcPkgVycwZsHE69B8J+/pMv0Umfu7st2dJYuEO/0Bc5vjDs/5w2ymeXyrVFmnq3VrpYhLU/h/p5IdM9pDyYQAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .wp{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAACXBIWXMAAAsTAAALEwEAmpwYAAAF8WlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNi4wLWMwMDIgNzkuMTY0NDYwLCAyMDIwLzA1LzEyLTE2OjA0OjE3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjEuMiAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDI0LTA2LTIxVDE1OjU5OjIwKzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyNC0wNi0yMVQxNjowNDo1MSswODowMCIgeG1wOk1ldGFkYXRhRGF0ZT0iMjAyNC0wNi0yMVQxNjowNDo1MSswODowMCIgZGM6Zm9ybWF0PSJpbWFnZS9wbmciIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo0ZTZkM2Q0NS05MWE4LWUyNDgtYjM5OC03MjNkMDFmMmVhZjYiIHhtcE1NOkRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDphNjQ4NWZiMC0wMTY0LWIxNGUtYmVkYS04MDU3ZjNhN2NiMDYiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDozMjRlMWUxMy02ZjcxLTQ1NDEtYWU5My01YTBjODM1ODhkZmQiPiA8eG1wTU06SGlzdG9yeT4gPHJkZjpTZXE+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJjcmVhdGVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjMyNGUxZTEzLTZmNzEtNDU0MS1hZTkzLTVhMGM4MzU4OGRmZCIgc3RFdnQ6d2hlbj0iMjAyNC0wNi0yMVQxNTo1OToyMCswODowMCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIDIxLjIgKFdpbmRvd3MpIi8+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJzYXZlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo0ZTZkM2Q0NS05MWE4LWUyNDgtYjM5OC03MjNkMDFmMmVhZjYiIHN0RXZ0OndoZW49IjIwMjQtMDYtMjFUMTY6MDQ6NTErMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCAyMS4yIChXaW5kb3dzKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6wXLUsAAAPdElEQVR4nO2d627duA6FuZsBkvd/sb5OgkGS+ZFR4zq+iVwkF2V9QIEzB2gtS1y8SdZ+/P79WyZufAY95xH0nNvxK3sAA/AqX0LY+hPF3vNfA8cwJP9kD6Ag71LHsTzL30L9EJGnpLGUZArknEqCOOOXTMF0MQWyTWR6lMlaMLOWWTGKZ0TwLvG1Axvt/d+zB8LC3SPISOkTkmVkuXUadleB3DlK9LIUy+1SsDt5z2U7dqLjdu3jO0SQmUbhae3j4dOvkQ2nRYyR3zGbln4NG1FGNJ4mjOfsgdyIFlGGE8poKdasL3JpQhmmmB9FIOzC8MjVmWurYbperBN8lba5x8KbfBnF+o9HIfu086w3h2dpKb/pWDmCZAuDtYPzsvH/ZUabVsiXjCYVBZK52CUXWX4KOcO5lGwLVxNIxsJWFcURy3eKnNNy0aRKDRJdayxz+tHJeNcytUkFgURt9n3IfUSxR3v/j4BnrY/aU8IukIgJbJ2nUrmxM61DFtERoxYJaw0SUYjfOVJcZdkR8zRk2gKeUSDeHmUKQ0ebN6/1oSzg2VIsT3G0VGpiwzv1okq5mCKI18RQhu7itNTLKxWmiSQMEaSdvvVgFt++tGLeA4pIki2QV/E5ln73dm00XmlX+hH6zBTLQxyM6ZRnR47pfb3Srmf5spWtM2buZAnEQxwMESM6LdjabMsWTXs2ci7SRJKRYo0kjqy7eI9ooskeF3pNmkhCiRYIWhzRrdv1RdVVyBozujYJF0lkioUWR/ThulGIvmq0pUWoOQxNtyIjSDVx3OEq0sirRpFrFnYhR5RAUEbWTtx60owmuwUeybJu8QR5UjjEcUUYAVIcnt2Z0aPFVbzn4UkKicRbIKgXeBM/cUxhbOM5L0+CK95d185TIEhxeBRkUxjX8KpRXqSASLwEgppQD3GwXRVUgVajoIWCFIlLo8GrzYsQnkcxPoVhw+ObjRfBbAG4OHuvo8pW0AffZtTAgo4mqEgCX2O0QFDiQKZVd2vZRoG+dIFSJEjDQXgUpDg8vzOZfIOMJiiRwKIbsgaxiu1DcOKYwogFWZu8iP3IPMzxo/4hq0EiNwGnOPJAzT1iMxEyFoRAEOEMIY6ZUnGAFIkVs20iBGL9NxBh2evT3YkO1KeyVtsw27e1BrF6C4Q4mH9I5q4g2/QPsdmZqTayCMQavlDdiimOfLxPWL+JLUN4F2XKltkpsHaspjjyibo9xmorajvR/sXs1GqKI5/oewCsz1PZbIaRTXHUJ+uSjPDnagzNEj2sve0pjnyyr1ey2FC37fYam7V1Z+ltv8oURzbZ4hCx74902XCvwVk6CdbJnfsck4alA9plRz0Cybwjde6Q58MQPRrWrtZlW+4RSFb0mOKYbGGxqcu2fFUglk3B0KJqcisstnUpilwViKU41hZVqdfeT0pgKdgvRZErhm8x1LBiauJKxM9Ca7HY2KltXxGIxVC1xVTEDX/WojPqZ5I1tEu9UYb9L+jf8cBSsJ/atufl1RYDjOqYPKT/qPzys+CUH3XpAPVbHezR3Hrid5ezCHKHIrnXyNlFMenj0Ma9dqaZeuaTe+Bic0cCibgSn4HZLZvs2vqRQLTRhbVw3eJd+vPrqN/TQIC8MK+CI9Ha3q6texTpLDm6Z/105dI0r0u3G9EnmyML9eaAevc5XiTo4jith2Tul0fjbVAjn2x+Ev37aW1w0+b3BqEdHMtvdt+BjFQ2uqupcdRaG9y0+ZG9EEMt5FmrsKSynqTb59YAtF6CrbXLYEDpC+xAhSiidY4/npW9gFW6QaxkRcnIjpbGRrXO8cezMgUS8QktQ1Tz9LhZUTL66Elai3ltoFqPrjHENsl3OM4yIpHRXyNIrXP8673WAslOuUbF0wNmRclRbeXX7n8EsvY+IxrQEvbTsFoio39KppH1Y5vr545qQHeA+QiK2TkuDTUqp8yYUIYdfs/5zYySkc4tynb+rNVSIFHp1t6EehoQww7/qDm7SFz6EyXGXz/+hxKkZx7ZgCZ5mGzUapQMnvkqDGmWp6fNbkYg3w2ZTZhstAkkPLfbwdOAKon57hw57qh07nU5kPDc7sZ4OqPsKDnSpu+zCKfBjmxAIr7OaEZJMBaBeB2UmwZUG8YDqGpbtQik96DcSOHXiqcRZUfJiKyk15bUhzoZUyyRsQ1IxHfeq0dJqgjEKpBpQLWxGDmVTV65nWPig+e8Z0dJKiM38Mn8IiMbkDczSoKIulqFKq8UHgNiPgmbQY+d9DpQlVOMut5H+5zRDcizpZ0dJTVOka72ZE6xRHwNiOFaIE+yoyS7bV1iiJdQwnAtkAhf+pkF5TxUEAjlxAHxXIPsNKsHSlukHNQKzzHONGtySAWBeDLTLA5o37+KQEbfzLx7lKS1Q9qBBZL9JZ43LFGyJJUEMvKeSKViGg11dlBJICPfneVdTFdIsyipJBBPZpqVA31WUE0gtN0OA6OmV1feiz4rqCaQauO9QtReRXSUHGIPZkSD0zJ6msVGiWygokCoux6djJpeXaGE7ZUYZCDRBhudhswo2UlVgXh1P1jy5hLpxwFnQizzflUFQt/9uMBetHqXuutylTLvV2aggUSlWXvRqq2Jl5edaVYHlQXiZUAsaVbVtTlzMKWaLNpFYMghqxqQyHF6lfl8BCwOZo1qbrVG1vv3qoV17zTrLL1qjB4lLfTalMrWK3thEb9wzWJA1ddnTan0SuRrAap59+pkp1cNjyg5mi09RvBQXnsiXmnW1fSqMUqUpD+5u8UIAvHaE2FJs0ah5N6VRSC9HmF+tLM/B2dRwiv9QkbJyPXtTeXU0csikF6P4PnRTgUDEtHPgVekR0bJo3fL3hZQR68RUiyRGgZ0Z8raWRv4TH/80aZXDeYoOaL9vIl8CyTqm2XPNqBXtwe1+NY5Zo6SkelVVCv5RcQ+6dm5ZQSezqNk67OT7PTKZKPWwWe//BpWg9uLQr3FI2OUZP8q0mSjy78c9aKeIdKr125Ns1iv3WlYxneUolVNr/5oYSmQ2bHZx8PAtcZTKa1lyzCu8kcLiBdgO4DGZkB7Xi/qJPVVNFGSPb0y22aWwj1Dpdc7jXYQb40mSh5lHWjHmTL/a2Ni9wijYI1ybFFyJP7SwFog2jpE4y08N5dY0j50eoX6+3ug1gTdTdSMS2sDf2kgs4hi7+xsMdOsb47mAt1NTLOV7C6DZ0rHuieCSo9YoqQ3GhvRrv2PZ20JROslNQvm2VrO/v7AK73yxhol0Y5JYyPatf/xLIbFqtYYYEqzsor1o5oA6ZjSbWNPINqBaRbMM4qwdXvQaVGWg4uqCTS2oV3zTZvfm2Ct0WoXzMtTeBnQ2XiZoowG7fiRDklrE9o137R5DwPS5KDVjrkwjZfpNhSkPWnmGN6YOXohrYK1OajXvkh0t2dv3rzGEZ1mRTgHrS1obW/X1o8mN9pLVtsX2ZtUpuhioTfNQkayaFvYXTMv76P1ll65u8eeSI8QvPdkoqJkRHoVuc1wytlLZRSbHgV71J7I3tiz92S0rN+H9ffcLQ7o0MY981fIWRhyog3oCI9i/er7oLy3NrVyc0BXBGIpnrXK9ohcWQYU1WVi2PS1oF1zS/Q4te0rk2opmCzKRne1vA1oL72qbrjtvTzTbctaW2zs1LavLp6lLtB60CpdrTY3DKlhRpS0plcfol9ry/teEuVVgVgW3+JB0V7Lo9MReWnBGRW/psyyrUui7HmAJQxaDLPCsY2qJ3etWNvXlrW12NRlW+5ZQGvK49aK64T1OxEUkScHLPm/ZU2ta3jZlns9XFYxZX32kqg9CbaTxExY1zKs+dMrEGsUsRjNixB8H9BBZnoVIU7LsXKLHVnfrevZmkW0hEar0TwJRiSje/cIcWqe8SG2ovxV+dxGt+1meDlrjowQifd73+V78R6s4hBJOLKjNRRr0cwgktHxjJK9/zZCHFabUdmsxZNaDdTaibCKZHQv7xkle/5thDistqK2E8skMoRLxkgyuvB6QIhDxG4r6jFYvUx2qiXy9fIZx6Qr4CHWq+nVm2DEkZJaNRBh2OrBEYv4IjqRoIu+0QUncv0EOOIsHeKcl4l/rP+AfHkJ64u8i93btAXJTHEYP4xCzG0PqFMPiCaD+b2zP5Ns/BJc1yXzW2pGkMX6mfNBiiM7/RcBDGIJYm8ClaI85Pp4UHMwutCOeBOcOKybgSLAxk32PUZrngUnkieJPQnMfHIXId69dXkI7tudV8F1NyGgFxVhkEiRiFyLJqO3ZhHrvDbcD8GfskaIA+oUPbweo0i8o8nd0quHYAt/SnGI5N1dewW0SES+JnCvHWx5FnN61bBEyTY3yFpj+W8jxOGyYey1sCjv4iGSF9leZMYWLQttztD3BKDEIeLUyvb0fChP4yESka/xIcZYKb1iGitSHG7ps3dqgBSJ1+IuhaJ5RoX0qsEy1ncpIA6RmAlDvQByM3ELdOE52QaxCdhwb+NHeRSkSJhaskxjuUpmmvUphcQhEhtykTclVjRMFrLSLOSaef2WzA8iJ0t74naPT7nH6Vk0Ycb1P6+CF0fYrZuI07w9vAi2e/EsX5Nf4XK5LFAfLWlAR/pQcYjkhFt0JBHJS7keqz8MtCMg7U+GONBRQyRBHCK5PyPsIZLsPv9aMD2nijWsxcDQiUO2cBsp4hCJT7GWoNMtke8uV9qEbpBtsFGg17KRupaZAhHx+wpw1iaxeKW46evHsrPqNREMadfIvMvA4hDhEYiI34S0tGu2hHG0Irzi75F0wSQQEd+JaWnXRE8ThufJZxpxiOTXIFs8BHteZ00TCdVCFMDbuWTu1+zCFkEaEd+Tf8pMvc5oEcNbHAzt6U0YI8iSh/gvTku9KD1YEp4RfA11JGeNIEu8N9sarZi/a52yjBYRdoG+9MEF9gjSaJ49yniXz6FfRCMZDqHMnFaIIEuiosmSTxkvsmS9U4mosaRKBFkSHU2WLJ9ZqWaJrCn2KCWMRvakWciIJkuWNQtTR2xZS0TWFHuUixpLKkaQJZnRZIu9zUiPaMMQFc4oK4xGdYE02kKwCGUN27f03pQXRoPdA/VydHPixB+PmxdTGU0gIt+3AE6hxNGEwfINDowRBdJoQmH7kc+RGFYYjZEF0mjnumZEwTG8MBqjFOlXWC7mnQpmJEPVF1e4QwTZIuJChVFYXgxxO+4UQbZY7k1U2FeIotIpAVfuLpAldxfLFMUGUyDb3EUsUxQnTIGcszagyoKZguik6kJn0trG7Q9z+7i1Y1luXSzHjCB2jvYCotrJt+wwRfAfh0sXFwlSq58AAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .wp{background-image:url(data:image/gif;base64,R0lGODlhKAAoAPYUAP///15eXmxsbJaWlnV1dYCAgIeHh5CQkJWVlZaXl5iZmZmampqbm5ydnZ2enqWmptDQ0NHR0dzc3Pj4+BEREaWlpTZGOpmZmXl5eRUpGSCGNCCKNXJycp2dnbGxsSKUOCGcOV9fX56eno+PjyKTOCCiOZubm6KiotTU1P7+/qmpqSCjOZqamjlsQ3Z2diY2KS2CPYSEhIiIiCCkOiCjOiRQLSKSOCGfOiiQPC2GPmBgYGZmZnFxcaysrAEBARsrHiJiLiGVNyGiOiOcOyaVPE9fUmFhYWlpaaCgoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgAUACwAAAAAKAAoAAAF/yAljmSJAGiKImXrvhSkzjME3+NEA9LzSLsJ7jUbFoc5FXKkEhpTr0Yi0SBCb0rSdMvdlrIuHUrbLXNJKWfrKjK7vczxWk4hvO9fukg8CtzfLihqFGx/bgWBdBF6JVMwWwtWESJsZGeWcCMClHJ0BpiZFAddmyMJcRQDdKegrKZdWnGqclKNXQetVW0MnFmhZiQCZa+9KBJtjq22l8KsQCkPyK7SWw7KFHAPKtHYv7DLydkqx93Jr6HUpw5wz1dcn+eO0+/lrDQiDJfUFOvL0ropZsXzNwXXOQoKMqEYQAhAvHkJPnmzpq+TnGbmEJ5KmBGbtFJXFjncF+tbm3pxJl31GjiCQL155eKM3EPHT8dhtgLEGdRwpp2IrSC6XDlnZregsWS+EGPUlRuDOmXyRFPpoT6ZRhMxGrGOipWtYcAgabKkWFatYIcwHeejHdmyLUTumKESLoxZNBguCQEAIfkEBQoAAQAsAAAAACgAKAAABdlgII5kCZTjia6s2bpvrJpAvc5xru8kzsO/1WV4CfKIyKTRJ0o6lShm60klGpvVrM6X1bKko251GxtOrS0wyVlir3PFsBsLbUbb7Todbe/l83pPci98AYJydWZ3hoqIhYxIdCI4Ko+He4polHtrepiSAZuQcY6kpaOTQpGnpkqrLIFWjaCvqZ2zkLmIqH6As7K/ZrWwtcKWnIuOeIG8KWe/o626X76+uNO2zxbb204V3BaPRxfgT+U8UuTd5tw3RhThVBZXOsP0auj0+j9SNTbJV/D12ufM3Y4QACH5BAUKAAAALAsAGwASAAcAAAUk4CaKwAac5WhunUqiqRqLGDxv2m0DnHz6NuBo9xuiMiZiCRUCACH5BAUKAAAALAoAGQAUAAkAAAYyQJBQCAAQi8MjyDhELp1NYnL5hEqLnmnVemQOA8WwVpwMh0Nlc9rs3XrZ5G6Y4jZ/zEEAIfkEBQoAAAAsCgARABwAEQAABlVAgHBILBqNqaNyOUQxn8YTdCqUUqHO6zNV6paIXYA3LCQXx9+ySDwelkxHdDnN9paXbba7bTbK6XVhgEYjaIOGT4hgckyMi3ZQeWeQiX2Pg41LJFBBACH5BAUKAAEALAkAEQAdABEAAAZbwIBwSCwaj4CjcklMMp9GJ3QaAKyu1yIWq20VrVvilbVdiaNk7jBbXpuPbeHKE4jXVcp4Vh6uM/t7dWGBcINihkwuZW9ufX92fI5LkJGEj5aVVGpGklCMRh9QQQAh+QQFCgAAACwIABIAGQALAAAGMcCVUAgoGodEY1H4Qq6US2QMSnRCAc6nMnntegGwr1IlNorK6LJMPEi73/A4VCA3BgEAIfkEBQoAAAAsBgAPABsAEwAABmtA2mw4BBiPxOLRmAQkZ0tjrhm9EZ1JVhR7jXafW7B3VmNSl0/dGJkdn83oN7eLxMXp2J6YGa28i3tKd4IzPHNQTBhhVISMW2ZKjVeCboCDUIiPO0+ZkHiLcpyPbJ+Ho4OPcqmUqKdopzaPQQAh+QQFMgAAACwGAAkAGwAZAAAHX4AAgoOEhYYARTM+h4yNM4+NkYSPlIKUlQCXmkWCNJqZl4WaM6KjlEiFFZ+Tq5Kur0OXLKKNKq+3uIRAuYJCuCK8wY1EuCO4HrLCrkeRzMrP0NEARtLV1tfYhz+RQYeBADs=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .monitor{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK6wAACusBgosNWgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAF5SURBVDiNpdM9ixNRFMbx3yRZ3/ANbCxEcBubpNJSLIQFaxs7D4JfQSz9CpYWItyPYCOIFtqvhQxopSyCb1gpEuNukrHImewQY7UHLsOce85z/vPMvVXTNA4SAyilfMI2Zpn/n2rV6RtGxOYgE9sITLK5Qa8jVGGezwpH8VgWwRTjiJigj6vYwrVcW5nrZ824pW0Jeh0xSVJhr4M86ez32/qBf6OH04nZCmzk1HbI0qN1AhO8zuYfOJ5i8xWKZq1AREzxpZRyAlfwJiI+r5RVrUCLNOvgtnER93FpDeV0laBnYcwMSimHcQpP7Z+V2xZelA7FkuA8opRyK9/P4gIeYq+Ucj2/fwM3Lc7Mua7AVzzH91LKHZxBExE/s/EudiwOz0u8wLeuwDgidvAMf3APr3LvHR7gfUT8joiPw+HwQwqrmqZRSnmSWL9wEpt4a/Hr5qPRaLeu60OdgcfwKCJutCZeTnNmuXZxpDWqruvG/j1o0vDhkuAg8RdE7nuSY6nc+gAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .monitor{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKwwAACsMBNCkkqwAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAFaSURBVDiNpdM7a5RREAbg59uLJOgSkRQhfYSIhWWsQgj+gfgLTJEmBJLa0tZW0MbawtbaUkQEQ8Q/YCWIIAqb7G1S7JzNYdlUOfAxlzPznndevmkiwk1OJ+03nGKMBpNr6lsIdLGBrQJwimP05wCatFEBTHAHL2sGY/zHEMt4jBWMKqZ/8RkXVc8MoJX+MF8bJJth3nczV5i0s2cGUJ82eslgkLlbOU57vngRwAA/sqmftp35AhiFzSKAIX6mv4+3C2pa887YlTjlPMAJtjNeMtVC1k5qgA5Wa2Q8xQvsZnyI51jD3cK+jLCOA/xLyn1TET/m3U4+0M+xRpmfAfzGBzzBM/zB17Rf8B57+ISHpsI+AhEhIt6kbSLiKCLOImIzc72IOIyIbsblex0RMwZLuGf6t73Dd/zK/AVepYDLKV4v7zS5jfUyjXCO25Wok/TLnnRwH1vNTdf5EpkVg1v2kuagAAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .monitor{background-image:url(data:image/gif;base64,R0lGODlhEAAQAPcAAOTk5N/f38bUxsnQycTTxMfOx8XLxcPKw8bKxsfHx8TIxMbGxsXGxcXFxcfFx8PGw8TExMXExcbCxsfCx8PDw8PEw8PCw8PBw8HBwcW/xcHAwb7AvsK/whzVHBzTHCDOICLLIjC2MDO0MzOzMzKzMjWxNTOyMzWvNTavNjirOE2hTTqpOjunOzylPEmhSUqgSjqlOoaGhj+iPz6iPoSEhD6hPj6fPj+fP4ODg0CfQDqhOoKCgkGcQUObQ4CAgEWXRUaWRkWWRUqQSkiSSEiRSEyNTFuHW3p6eluGW3l5eU6KTliFWE6JTk2JTVaFVlWFVWB/YFGGUXV1dVGEUVWAVVSAVHRzdHNzc3FxcVV9VXZvdlp4Wm9vb2hyaGF0YVt2W1x1XFx0XGFyYWNwY15yXl1zXWtra15xXmNtY2FuYWpqamBvYG1obWJtYmlpaWJsYmhpaGNqY2hoaGJrYmRqZGRpZGdnZ2VpZWVoZWRoZGZmZmVnZWdlZ2VlZWdkZ2djZ2hjaGxdbG9ab2ZmZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCACDACwAAAEADwAOAAAIhgAHAUgAYcGCBggbGISQIMCgBlwG9dFjp6IdPX0GYaEwCMKgQWqO4NixA8cRNR89LvjoJglJkkncpBy0EqSPGDRoxPCBsiPNj3KwSLlyRQoWOTNrflzK1GeDplAHcWQQtWmFQQOqMi0wCIHWpQoGWfj6cSzEQXC63IG6UWCCBhA2KDS4sGFAACH5BAUIAIMALAIACQACAAMAAAgJAMUMcsHjSZSAACH5BAUIAIMALAMACgADAAQAAAgQAGGUGbSCxaBBJ4IM8gIlIAAh+QQFCACDACwEAAoAAwAEAAAIEAAHhTkzKAeVFiCoDDIyKCAAIfkEBQgAgwAsBQAIAAMABAAACBAABzFJM6jElj0pwAwaMiggACH5BAUIAIMALAYABwADAAUAAAgSAAfpGFSlQ5FBQEIMGpRiYZiAACH5BAUIAIMALAgACQADAAQAAAgQAAcN2jJIiIwpHogMujEoIAAh+QQFCACDACwJAAcABQAFAAAIGQAHCRw4kI2gHiK+iBlEwoQNFYOaBMqyJCAAIfkECTIAgwAsAAABAA8ADgAACBkABwkcSLCgwYMIEypcyLChw4cQI0qcSDEgADs=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .security{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK6wAACusBgosNWgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAG0SURBVDiNhdNPiI5RFAbw352ZsGBDMhkpYyE12cxOyYIFayW7SY2zkCxIlkrZKIrJjPe+X1FksrQQo/xp2IhZiPXUxIoaGxa+mGsx78dn+vDUvXVu53l6znO6qZSig6mpqbX9/f37cRB7sDOl1C6lzOIZHkXEK11IpRR1Xe8upRzFKNqYxzt8xGpsxy6swwCeYjIi5gcaoTt4i8BcRBQ90Gq11i8tLY3gCjZibABKKUu4FxGvexE7GB8fX8RsVVVPUkqDGjtQGqv/RM75CJ6nlH6gT+dCwvf/kE9hGlvwrZfAqrqu+3LOQz3Ix3EJpyPipeUwdQt8RbuUshkLjdUOeQzXcD4iLnfptvmdwXtsjYgPOefrmM45f0Y/buJiRJzrIm+wvOJfDl5gBCLiBFp4iPuYiIizK6YaSim96Ra4jeGc86ZG5BhyQz65Io9hDJZSZkApRSlFVVUTVVXd7dR/O1VVPaiq6mqn7jiQUjqD0Zxzd1B/IOc8iW1N7zKv+zM1I8zgE8YjYqF534EbTegHImKxp0DTnHABh3ALa3AY0ys20Vugg7qu95ZSHuML9kXEXK++ny1tzgEddf2OAAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .security{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKdQAACnUBSiXd/QAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAFrSURBVDiNhdMvaJZRGAXw36viFrRoENxw4IJYLDMJalkxC8OkrC5qNAwEi+CC4lAsikGMY0FQmGIQ/AMKyjDIUGYyqMXgmB7Dd9/P63j37cAN73OfczjPc+7bJFFhFyZxCsdxGGt4hqd4hFc1oSkCxzCNiUJYwXt8xRDGcQS7sQNPMI8VSST5lGQxydEkTal1nT1JTiR5k+RuEtuKkz9YwGv8N9MGfCvjLBUnfYEUq1vhDEbwu+W2Ag3WtyCfx32M4leXwM7yPdJBnsFVXMALvWWqBX7qbX8/PherLc7hBi5hrqqvURaBVRzAF9wsVr9jO+7gCmYr8l69iLXxXEyyUMV1O/9wrSPOpSRnk/QFxpK8S7Kvarq1CflgkuW2t764nuTBgEfUnoe1cH0xnORjkrkB5PkkH5IMdQkott4meVzGauuHkjxP8rI85z6n/ZlqNLiM07iHYUyVZGY3Ng+a9WSS9SQ/kkxs1vcXeVqZSyUF+yoAAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .security{background-image:url(data:image/gif;base64,R0lGODlhEAAQANUAAP////39/fv7+/f39+3t7evr6+np6efn5+Xl5ePj4+Hh4d/f393d3dnZ2dfX19XV1dHR0cvLy8nJycfHx8PDw8HBwb+/v729vbu7u7m5ube3t7W1tbOzs7Gxsa+vr6enp6WlpaOjo5+fnwDZNpeXl42NjYuLi4mJiSitSCqpSiypSoeHhyirSC6lTIWFhTKhTjiZUDyXUnx8fECRVEKPVHp6enh4eEqHWEiHWHR0dFB+XHBwcFpyYGZmZgAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAwA9ACwAAAAADwAQAAAGdMCesEeiHAACR2c17J0oiUXEE/pgHAsFptYjQFzN4c6UmPQKoXAYIzl/1M1M5AyCDzdzwtveu8wRdXwXbQ8afD0SGD0dEIcNIj01CDl2NQeUPRZzcA8WTQWKYRUGYTkJDlw9MgwLO3AaBh0bBhyHJQEDYE1BACH5BAUEAD0ALAMABgACAAMAAAYHwB6PN+qlggAh+QQFBAA9ACwFAAcAAQADAAAGBUDaCBUEACH5BAUIAD0ALAYACAACAAMAAAYHwBtuNGKpggAh+QQFCAA9ACwIAAcAAQADAAAGBcDZSBUEACH5BAUIAD0ALAkABgABAAMAAAYFwNioFQQAIfkEBQgAPQAsCgAFAAEAAwAABgVA2OgVBAAh+QQFBgA9ACwLAAQAAgADAAAGB0Aab6SD9YIAIfkECTIAPQAsAAAAAA8AEAAABhXAnnBILBqPyKRyyWw6n9CodEqtJoMAOw==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .waf{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAGTSURBVDiNpZNBaxNBGIaf3RkSSEkJLmYIybYyETRG6CEwELAevAheBH9CKRVksHdPgRxzacBDwT/hT8hBydEK0aqHXFI9BCKBaEJSttuDadjgtpj63uab733ebz4YJwxD4tRsNm+k0+nXWmuRSqVeGGMGcX2iVqstDkopx/O8Xcdxbna73Tuu675SSt0NguBjq9XamEwmj3zf/wAsUp0wDGk0GjvFYvFeoVB42263D33fT/b7/RNgu1wuI6VsD4fDnOd5p51O53kul3uazWa/VCqVNxIgkUgcDAYDORqNHgMbvV4vLYS4LaW8CHqQyWQAfmutD4Fbs9nsDPgDEEL8nE6nm+Px+L4QInYnAEEQrCWTydLc8wPAnd+58+Kl5hjJvwArSkSNK0VHQ/9ngiXA2jUA61HAp2sAOlHAM+DzCuZj4MkCYK39DuwBo38w/wL2jDEn0Qmw1r4HHgJfrzB/E0JsV6vVdxeFpe1ba4+ALcCy/KRj4CWwZYw5inqcy75zvV5fz+fzB1proZTaL5VKw7i+cyFObUDzXeUJAAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .waf{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAGTSURBVDiNpZNBaxNBGIaf3RkSSEkJLmYIybYyETRG6CEwELAevAheBH9CKRVksHdPgRxzacBDwT/hT8hBydEK0aqHXFI9BCKBaEJSttuDadjgtpj63uab733ebz4YJwxD4tRsNm+k0+nXWmuRSqVeGGMGcX2iVqstDkopx/O8Xcdxbna73Tuu675SSt0NguBjq9XamEwmj3zf/wAsUp0wDGk0GjvFYvFeoVB42263D33fT/b7/RNgu1wuI6VsD4fDnOd5p51O53kul3uazWa/VCqVNxIgkUgcDAYDORqNHgMbvV4vLYS4LaW8CHqQyWQAfmutD4Fbs9nsDPgDEEL8nE6nm+Px+L4QInYnAEEQrCWTydLc8wPAnd+58+Kl5hjJvwArSkSNK0VHQ/9ngiXA2jUA61HAp2sAOlHAM+DzCuZj4MkCYK39DuwBo38w/wL2jDEn0Qmw1r4HHgJfrzB/E0JsV6vVdxeFpe1ba4+ALcCy/KRj4CWwZYw5inqcy75zvV5fz+fzB1proZTaL5VKw7i+cyFObUDzXeUJAAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .waf{background-image:url(data:image/gif;base64,R0lGODlhEAAQAPcAAMbGxsLCwrLGsr6+vrLCsrq6uq6+rqLCop7Cnqq6qqa6pp68npq+mrKysqq2qpq6mo6+joq+ipq2mq6urqKyooq6ipa2loa6hqKuonm+eYq2ip6unnW+dZKyknm6eZKukoa0hqampnW6dZqqmoKygnm2eXW1daKiooauhnG2cY6qjoKugmW6ZZamlmm2aWG6YYqmimW2ZXWudWG2YWmyaXGucVG6UX2ofZqamlW2VXGqcXmmeWWvZVG2UY6ejk22TVmyWVWyVWWqZZaWloKeglGyUXGmcVmuWUW2RW2mbWGqYVWuVUmySUG2QV2qXT22PVmqWYqWipKSkkWyRUmuSYaWhnGecWWiZVGqUT2yPY6Ojk2oTYaShnmWeVmiWYKSgkGqQWmaaX2SfXGWcW2WbYqKioKOgnmSeXWSdWmWaX2OfUGmQVmcWWGYYXGScU2eTX2KfYaGhmmSaV2WXWWSZXGOcXGKcVGWUYKCgl2SXXmGeWWOZU2WTVmSWW2KbUGaQVWSVUmWST2aPWWKZXWCdU2STW2GbWGKYVmOWUGWQVWOVX19fUmSST2WPTGaMW2CbVmKWWGGYU2OTWWEZUmOSUGSQXV9dVGKUUWORXl5eTGWMT2SPU2KTTmSOS2WLWGCYUGOQVWGVV2CXTWSNUmKSWl9aUWKRTGSMVGGUXF5cT2OPVmCWUGKQXV1dS2SLTmOOWF9YW15bUmGSVGCUWV5ZVWAVVl9WWl1aXFxcW1zbV15XWV1ZWF1YVl5WWlxaW1tbWVxZU11TVltWVFwUVVtVWVlZV1pXUFxQU1tTWFlYVVpVUVvRUltSVllWU1pTVFnUV1hXVVhVUllSV1dXVlfWT1pPU1hTUVlRUlhSUFlQUVhRVFdUU1dTUldSVVZVUFfQVFYUUVdRVVVVU1ZTUlZSU1VTUFYQVFRUUVXRUlVSU1RTT1VPU1NTUVRRUFRQUlOST1RPUFNQUlJSUVJRUFJQUVFRTlHOT1FPUFBQT1BPTlBOT09PTk9OTU9NTk5OTMzMyH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgD/ACwAAAAADwAQAAAIigD/CRzoL5OUfQMTCpw27ZyUAcXO/UoorpU4PDgWDQlwIkQDdotw/SszREsZKVI2AgAQIESBAP/ioJypcuXKAiNnoqxpc0BOnTxX+jwJNIBNoT9pGj0KU4vOlEuP/lv0NCiACf/24Sl6dEI9gfKc7ow6QFzCejKhrmxwTuFCPBsniHSbsFUZhAkDAgAh+QQFCgD/ACwAAAAAAQABAAAIBAD/BQQAIfkEBQoA/wAsAAAAAA8AEAAACHUA/wkc+C8VF4IICVYxkJAgIR+EFrZoQeGfJYFqophR84VLFAMCBBAYkYAhHC4duXgEGTJkgn8nVar82NIlTJkzWbY0iXNlTQE8cdKsydBMz6E1/xE6qjMkBoF6hDZ9OtBozp0Jo/oUULHhPz0fqXoVGMtMwoAAIfkEBQoA/wAsAAAAAA8AEAAACHQA/wkc+K+UGIIICXZhkFBgqX+GiDxaCANGh3+PBNbpgqYOGjQLEYhUYYGhnY8oQ4oU+eDfSZQgGaxk+c8jTJUrGdpMKXPmgpowY85E8DOo0JkHMAbFKfKDQEM3ezYluBMnQ4R+Pqq82BDiQqddBfqjdSZhQAAh+QQFCgD/ACwAAAAADwAQAAAIeAD/CRz479MYgggJprmQUOCnf5GsRFp4YweJf5ME7iEjZw8dOQsjiLxxIcK/QXI+ygFZUqRIDf/2rJwZ0mWECjFnrqzpEqdMnTxF+tTJ0qbIfypptnQJASLRoBEu/jsEdGmEFQST8sSJEGXRqA0FHlqINSxBNwkDAgAh+QQFCgD/ACwAAAAADwAQAAAIcAD/CRz4b1UYgggJzhGRkGCoK5AW6kgiQ6Cuf4jmzEEEqM8cDhlC1kjBEFGfjn08ggwZsgTGlDA/sgzp4SVMlTMz1DR5U+bMnTdx/vwXVOjMf5CC+mRZEWnPlSGbCnzKsibCpEKlJozIQWvDgmkSBgQAIfkEBQoA/wAsAAAAAA8AEAAACHEA/wkc+A9VG4IICfJ5kVBgqH+cvFxaKMQJjX+QBFLic4cSI0YLWYhUMoPFP0kfU4YUKdLFyZQfV7KM8RKmTJY1Vb5giROlzZ08TRaCCRIoT4hEb7K4mLMoTx4Eh8Y0ahKhz5VQG55cyMOW1oGzDiIMCAAh+QQFCgD/ACwAAAAADwAQAAAIdAD/CRz4jxQbgggJNuqRkCCrLZga2YCCBQhBVX8Cqeq0qdEPGyCX9GAIahPHTR0/ggSZ418llDA9rmTpEiZKmTNb2rypcmXLlzZxzvy3M+VMkP8w7RQK0uK/kjF72nAqMGhPhgih4gzSUCAoj1S7/pN1EGFAACH5BAUKAP8ALAAAAAAPABAAAAhvAP8JHPgP1BuCCAlqepJQIKV/r9ao8vRkCxgm/woJPOVI0ClXrig+edJkCsl/o0CqFDlyJBKUKkGybPkyZcyZLmHebNmyyb+PO3meBLpS6EiIMUMaxYi0KE+mG52O9InQJkuoCV9RxNrwH6uDCAMCACH5BAUKAP8ALAAAAAABAAEAAAgEAP8FBAAh+QQFCgD/ACwAAAAADwAQAAAIeQD/CRz4jxQbgggJNuqRUOClf6y2YGpkAwoWIP8UCVT1J5CqTpsa/bBBckkPhqA2gdwUciRJkjn+VWJJU+RLmDJpsrR5M6bOnS5fxpypk+fNfz9b3iT5D9NPoyQx/ktZM6gNqQKLBmWIkCrPIA0FghKJNew/WQcRBgQAIfkEBQoA/wAsAAAAAA8AEAAACGwA/wkc+A9VG4IICfJ5kZAgJy+XFgpxQoMgJT53KDFitJCFRyUzWPyTtLFkR48eXYwsufEkyhgrWbpEGdPkC5Q0Scq8iVNkIZYceeL8xwnoTBYVawbFyYPgz5ZCRSLUebJpw5ELrV4VOOsgwoAAIfkEBQoA/wAsAAAAAA8AEAAACHcA/wkc+G9VGIIICc4RkVCgqH+hrkBaqCOJjH+HBCKaMwcRoD5zOGQYWSMFQ0R9PvYBKXLkyBL/UK5cGdLlSA8xZ9Js6RKnzJk1bfrUydJmBpxEixr9B4loUJcXmep8miGqwKk8cSJsqtRqwokcZMBqSHBVmoQBAQAh+QQFCgD/ACwAAAAADwAQAAAIcwD/CRz479MYgggJprmQkGAkK5EW3thBQiCtf3vIyNlDR87CCCBvXIjwb5CcjnI8jgQJUgPGlDA/soxQ4SVMlTNp2oy5kmXNPTdx5vyHkmdOCP8iBZXJsuK/QzeZRlhBsCjTmghNCnXa8NBCqg0JwnKTMCAAIfkECQoA/wAsAAAAAA8AEAAACHIA/wkc+K+UGIIICXZhkFBgqX+GiDxaCANGh3+PBNbpgqYOGjQLEYhUYYGhnY8oQ4oU+eDfSZQgGaxk+c8jTJUrGdpMKXPmgpowY85E8DOo0JkHMAbFKfKDQEM3ezYluBMnQ4R+Pqq82BDiQqddCZ5JGBAAIfkEBQoA/wAsAAAAAA8AEAAACIsA/wkcyC8Vl3wDEwqkBq1cFQPJwPlKCC6VN0I+CD1s0YLCO0u5/qmJYkbNFy5RDAgQQGBEAgP/4HA5yQWlypUrE8SsyTMlzpw7edr8KQCmTKE+fxoVOlTpPzNMk/78RyjqTZwY/uXTg/SqAAz1BL6DWlOqAW8J53FtSkGdwoV6UmII+TZhLDP7FAYEACH5BAkKAP8ALAAAAAAPABAAAAh1AP8JHPgvkxSCCAlKGZCQIB4ci4YEOBGiwb9FAssM0VJGihSJAAAECFEgwL84HlOCDBmywL+OKT8GYBmSIUyVM2najCmTJoCdMVeyNKmFp1CWF43mZDlBIJ6gSwE0HVjUo1CGCFH2BGCx4T88Eqd6FdiqTMKAADs=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .mail{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAt9JREFUeF7tm21yqyAUQMVsJF1J25W0+RPjKpquwtE/7VtJ81bSdiFIvY5mCAMKeImAOJPpZFTCOV6Qj1uSbfwgG+fPkoAUARs3kJrAxgMgdYKpCaQmIDHQNM1rTGIopT9ZlsEnK8uy/zse1yZQVdXTbrd7Y4w9xQQvsjDGPhlj76OIXgA8ccbYR8zgAttP27bPIIFUVbXP8/ybvwAsxSYjz/M9H92EkMvxeHwmdV2/dbBnAfhcFMV7TBKapvkSmzdEAZGdGMCjkaBiJIQcIALYAAy9I4Q+Hw3BS5DAA1/PCE39RkBRFA+SJhGsBBEeQh7A8zz/UgqAEzFIkMGXZXmB1/2sgNAlqOCBS1tAqBKm4I0FhCZhDt5KQCgSdOCtBfguQRd+kQBfJZjALxbgmwRTeBQBvkiwgUcTsLYEW3hUAWtJWAKPLuDeEpbCOxFwLwkY8M4EuJaABe9UgCsJmPDOBWBLwIa/iwDF8pPxogpWOQDNH0bTYfHmue8T64twq7YErHJk9XUmQBau3crLI4BzFZmVgFWO6mE5ETDVVk2W17DKmYpUdAE6HZVMQtu2//h9OttyTPcvUAXoVHp8GqIE2JnpNirgsyeE3GzGDttWF9mTNIkop32ACbxKgqyCU/AT5cz2LeO9KBFgAy9UADZi97wAiAhK6UHcvla1Z9tIWCxgCbzkffzYbU/9UkovuuB8GTYSFgnAgp8bT5icN5VgLcBHeJs+wUqAz/CmEowFhABvIsFIQEjwuhK0BYQIryNBS0DI8HMSZgXEAD8loRtp/hfzAyBDrB+VDePza56gzrDU5J29xrWKOcjIeFYmScUArzEHOUvT5GKCn5LQTckf+kzRuq6vzYAL05uc2jXCF/k3byZfXdn9DLIXMGSLQuaUeBFyHfwoDtLjTqfToe/3+CoNWeIvsEgRo4whURpWoq6LLekfJvwIyvVqkSJgPfd+/HKKAD+ew3q12HwE/AEtrqA+boGrjQAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .mail{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAArZJREFUeF7tmwFy2yAQRXdv0pwk8UkanyTOSeqepO5J0p6E+GtEBhMECwIJEMx4PB5LMu+xgLRgpoMXPjg/DQEjAg5uYHSBgwfAGARHFxhdwGFAKfXamZh/RIQXMfP0rstXF1BKvRDRGxHhvedyvXt41yImAXOL/+qZ2mJDFJwggZVSP4jowzoAlnor4DSj+8bMJwhA2F8s2gszv/dkQCn1x9G9JwGuL8DejQQP4xkC1NzS6BcIfTMampfggAefZrw+CGDmJ0eXaFaCA/40NzaiHuW7gHlWsMeF5iS44Jn5Nk/3fgGtS1iCn7kwE4QFtCrBBx8toDUJIfgkAa1IkMAnC6hdghR+lYBaJcTArxZQm4RY+CwCapGQAp9NwN4SUuGzCthLwhr47AK2lrAWvoiArSTkgC8moLSEXPBFBZSSkBO+uIDcEnLDbyXAlWKLzicspLGirwNos4jzAfaJks+e3BtOF1c+13VcdS4mYCH99AxwoyJBCbmus9RgRQQEMjDi9Fqu6/iiNbsAyUDlSrQS0W9znS71OrHrF1kFSCqtW8Mh4XZfqMALKzb2YiyWrfDdt7I2a51NQAy8R4KLcRHec53g2GKcK0+KegYSe6oLVtqqABZi0fJmQYuf7eVrTx3EY0vWaTCl5T3TEWaJ/+gKUnALJlrCqi6QC15yTyE9JnZMSBZQI3zKmJAkoGb4WAnRAlqAj5EQJaAleKkEsYAW4SUSRAJahg9JCAroAd4n4b477K+9PI4dYvquDHdj5k4q8R2edN7e+riFZxDNePFtkmoeXvAMMglwbZPrBj4g4UnvFDW7gT7nYU/t1qFb4Pfsh6/pCVILwJd4wrMPKlCPKi55ZeYzavLwf4F5z/DPWUSPMrAPEpmor2TL+MNEFQG5YyVGBOwov4qfHhFQRTPsWInDR8AnmhspcVE9oYEAAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .mail{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAutJREFUeF7tm21S3CAYgAF7kHiL6nSm5hh1p1P3JK4naRxHewzTmc62tyjeQ4lLPtyEAAECGyDkz/4wsu/z8ELCCwvByi+4cn6QBKQMWLmBNARWngBpEkxDIA0BjoHs8fImKjEEYfDpFVMm/O1f/dldH0Mge/hyBc7ebkEFr6KCH8MUAJG7TkQtoO3xn5GD9/EwQCSnEmD263MGCPrPwBfRyYBVNshuWJX4+m8Os8fL2wPsjgHe4c3+LiYJ2dPF82h4E5RD7h8a8mgkSBi3NAOqtqfp7EhTv58NwUvgwFO+jrEYCMCb/TlnSAQrYQRPUF53NiLPbaePBbRPBXZeCE4CDx5//1PWj/spAaFLEMHXXKoCQpUgg9cWEJqEKXgjAaFIUIE3FuC7BFX4WQJ8laADP1uAbxJ04a0I8EWCCbw1AUtLMIW3KmApCXPgrQs4tYS58E4EnEqCDXhnAlxLsAXvVIArCTbhnQuwLcE2/GkE8GpvBuU1QRlrdl1CazncVk2UPyS1N9qGcvC22uEF7kwAt/yEyFcK3gtkUoKtdkS95kSAtAIzLrsLJdhqR5ay1gWoTFS8QitA5L6/T2faju7+hVUBKkF3vTGSAKvysFFR0jLdYc9yuBlLUE4LmNwxrJFRTucAHXihBF6EEnhJO5Nzy8f/6hRFhRMJ+6hTCJoJgG7E0p4/XjQjYLVlt6+FMRhmwuwhYNLzklSkT4kXgEipCt5vy2QTZ5YAW/DKLxYKN+pKMBbgI7zJnGAkwGd4XQnaAkKA15GgJSAkeFUJygJChFeRoCQgZPgpCZMCYoCXSQAE/WbPB9ATYs1bWfN+fjwnqPGGp/DIXuQWwRqkY9yJD0lFAK+wBtnxj8lFBC+VgMh5d1L0OAyOiTo4U7tI/tr90uHiqy3RNQKa06L05BR7k90Q/GmtwJv9tp72mNXVDYDVD1BBKiJGGQUg6L5fbEk/mPAnK5eJJGXAMt79+daUAf70xTKRrD4D3gFsnG7BkkfmVAAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .files{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAE3SURBVDiNpZO9SgNBFIW/OySiaBCtbCwE8ReUgGDpE9gExNJmd6O+hM8gmGJn3yKxt7WyEARBUUSbIPhTGFAwxyarSwoZ2AO3mjkf98y9Y5IoI1fKDVQA0jRtOOd2B8BRST5Jkk4IwCSRZVkbOAYeACdpD3iX9DrUpQO+gHaz2XwuRnCSLuM4vpU0AnSAvplNmdlkocbNbN3MTrz3de/9WKVA/07TdN85twbcA5/A8AsLuAO6wI6k2UrhoGZmy3EcH4Zk995vAAd5hA9gBXgJMQ+0ZWanOaAH1IGrEGer1TJgxszOckAFWATOQwDVanUO6EVR9JYD5oGJJEmeAtvfBG7gb4xLwEWgGWA1v59PoQs8Zlm2ANg/RgETwLRz7voXIOnIzBrAdgCgBvgoivowWOUyKv0bfwCvBmEVd9ynHgAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .files{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKnAAACpwB9NLfEgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAADuSURBVDiNpdO9SkQxEIbh56ynUHQbQbCxEMR/BEGw9B4s1m6t9W5svQgL3d7Wyk4QLES0EcGfQkGbsTgJuywIwTMQEsh8b+ZLJlVEaBOdVmrUad7HQQJO4hQXJYAqWTjHCR4S5BAfeBursoOflP8CIkJEDCJiLq03ozymcgUD9NHDFu7xjfEbjmR7Oo2FemSjizUcl3jHDo6yv0+s47VQDHsYZMAXtnFTKK4wj8sMqLGCq0LAYjr0PQOWMIOnQsAu7hi+8SquC8WwkfPzKzzjEcsaf39FpEpnccuwE3uadp4oAHQ1rX42Cvh3tP6Nv5Cebn/RRiyLAAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .files{background-image:url(data:image/gif;base64,R0lGODlhEAAQANUAAPX19efn593d3dXV1dPT09HR0c/Pz83NzcvLy8nJycfHx8XFxcHBwb29vbm5ube3t7W1tbOzs7Gxsa+vr62traurq6mpqaenp6WlpaOjo6GhoQDZNp+fn52dnZubm5mZmZeXl5WVlZOTk4+Pj4WFhX5+fnx8fHp6enh4eHZ2dnJycnBwcGZmZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFDgAsACwAAAIAEAAMAAAGYEAWCHEohFjIpJJVGJlKD0oGQ8VoVEkCdslFajEMiuVCJlskjwTz1OgmSQsWQhRxIysg1mLysbMcKywKCih2J3UsAgZ+Hh1IABJ+ECVIARwlmJmZJAxJHkQHoaKhA3ksQQAh+QQJDgAsACwAAAAAEAAOAAAGGUCWULgpGo/DpHLJbDqf0Kh0Sq1ar9isMAgAIfkECQ4ALAAsAAABABAADQAABmZAllC4KRqPQhDiUAgNn8/CyFR6UDKYLEajGhK60LDwi2FQLJd02iJ5JFiFU0M8JC1YCFGELqyAWAsTH3wsDissCgoofCd7LAIGhB4dQgAShBAlQgEcJZ6fnyQMQx5LB6eopwN/LEEAIfkECQ4ALAAsAAACABAADAAABmNAFghxKGyOyCSLVRiZSg9KBkPFaFRLFgGb7Xq1KgyDYrmYzRbJI8E8Nb5d0oKFEEXg2QqItZh88EsOKywKCiiAJ3csAgaALB4dSwASjhAlSwEcJZucnCQMWR5EB6SlpAN7LEEAIfkECQ4ALAAsAAACABAADAAABlxAFghxKIRYyKSSVRiZSpuodIokqJbYpBXDoFguYLBF8kgwT41skrRgIUQRNbICYi0mHznLsWIpFChyJ3EsAgZ6Hh1IABJ6ECVIARwllJWVJAxJHkQHnZ6dA3UsQQAh+QQFDgAsACwAAAIAEAAMAAAGZUAWCHEohFjIpJJVGJlKD0oGQ8VoVEkClrXper9ILYZBsVzOZ4vkkWCeGsslacFCiCJxZQXEWkw+eUkOKywKCiiBLCd4LAIGiSweHUgAEpAQJUgBHCWdnp4kDEkeRAemp6YDfCxBACH5BAkOACwALAAAAgAQAAwAAAYUQJZwSCwaj8ikcslsOp/QqHQqDAIAIfkECQ4ALAAsAAACABAADAAABlxAFghxKIRYyKSSVRiZSpuodIokqJbYpBXDoFguYLBF8kgwT41skrRgIUQRNbICYi0mHznLsWIpFChyJ3EsAgZ6Hh1IABJ6ECVIARwllJWVJAxJHkQHnZ6dA3UsQQAh+QQJDgAsACwAAAIAEAAMAAAGY0AWCHEobI7IJItVGJlKD0oGQ8VoVEsWAZvterUqDINiuZjNFskjwTw1vl3SgoUQReDZCoi1mHzwSw4rLAoKKIAndywCBoAsHh1LABKOECVLARwlm5ycJAxZHkQHpKWkA3ssQQAh+QQJDgAsACwAAAEAEAANAAAGZkCWULgpGo9CEOJQCA2fz8LIVHpQMpgsRqMaErrQsPCLYVAsl3TaInkkWIVTQzwkLVgIUYQurIBYCxMffCwOKywKCih8J3ssAgaEHh1CABKEECVCARwlnp+fJAxDHksHp6inA38sQQAh+QQJDgAsACwAAAAAEAAOAAAGZkCWULgpGo/DpHIJQhwKoaWyMDKVHpQMZovRqIaEr3QZxjAolotabZE8EqzCqTEWkhYshChSZ1VALAsTH30OKywKCih1J3wsAgZ9Hh1CABJ9ECVCARwlnp+fJAxDHk4Hp6inA4AsQQA7)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .logs{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABHNCSVQICAgIfAhkiAAAAf9JREFUaIHtmUFOwzAQRccWmyaN2HIEOAXpIag4BnsWcRfsOQZSD9EgNhyBI3SLnMnSw6IpciI7iUMdB8lv0zTxKDPyOF/6AxCJ/AnW9xARCyLKGWP5TPm0IKKSMVamabqzrbEWgIgFAAgfibmilNpkWVaanl31xInzBREZg30zZuf7CgCAU/Lr9XpzkYwckFL+ti7n/B4AStM6PmNOXogFhCYWEJrBr5AOEV0j4idj7PbCeezTNN1OCXTagbqunzwkDwDwUNf145RApwKSJHkloq8pLxpgnyTJ25RApxZijH0DwN2UF/ni3x/iWEBoYgGhiUJ2IaKQjSIK2ZwgIiEiVVV1CJhDMfn9SyhgDItsISll3vhSxv86TofYN10zDRFBdwYRUQCA0J26PmeOANq+0B+E7Mg5365Wqw/bAillzjkf1a66UzeXkN0opZ4nxA0yl5AdOecvvYmc3LcWRFQO2ZrBhayxEAsAyPX7XUO3qqqDZjUemvMQ/hAzxgqDiSu6bjQR7TrrBMBCP6OmeUCWZcZ2WmQBNkx2+yILMImWTciCF9BojOjcFl0l7q4holIptXESMp+4CBloahx8B87YZmBDLKYAF5RS7+drawvpwnHpIZ9tdGoY6wr9t1Hmnb5bIceswjb/bQ5tq62klLmpzQYH3eChiDED7EhkJn4A1qwofp3F9mcAAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .logs{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABHNCSVQICAgIfAhkiAAAAf9JREFUaIHtmUFOwzAQRccWmyaN2HIEOAXpIag4BnsWcRfsOQZSD9EgNhyBI3SLnMnSw6IpciI7iUMdB8lv0zTxKDPyOF/6AxCJ/AnW9xARCyLKGWP5TPm0IKKSMVamabqzrbEWgIgFAAgfibmilNpkWVaanl31xInzBREZg30zZuf7CgCAU/Lr9XpzkYwckFL+ti7n/B4AStM6PmNOXogFhCYWEJrBr5AOEV0j4idj7PbCeezTNN1OCXTagbqunzwkDwDwUNf145RApwKSJHkloq8pLxpgnyTJ25RApxZijH0DwN2UF/ni3x/iWEBoYgGhiUJ2IaKQjSIK2ZwgIiEiVVV1CJhDMfn9SyhgDItsISll3vhSxv86TofYN10zDRFBdwYRUQCA0J26PmeOANq+0B+E7Mg5365Wqw/bAillzjkf1a66UzeXkN0opZ4nxA0yl5AdOecvvYmc3LcWRFQO2ZrBhayxEAsAyPX7XUO3qqqDZjUemvMQ/hAzxgqDiSu6bjQR7TrrBMBCP6OmeUCWZcZ2WmQBNkx2+yILMImWTciCF9BojOjcFl0l7q4holIptXESMp+4CBloahx8B87YZmBDLKYAF5RS7+drawvpwnHpIZ9tdGoY6wr9t1Hmnb5bIceswjb/bQ5tq62klLmpzQYH3eChiDED7EhkJn4A1qwofp3F9mcAAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .logs{background-image:url(data:image/gif;base64,R0lGODlhEAAQAPcAACszOzM7Q9vb2+Pj49PT0ztDQzMzOwPDM+vr6/Pz8wuzM5ubm2Nja3uDgys7O2tzc0NDS8vLy4ODi2trc7Ozs7u7u1NTWzs7Q3t7g8PLy0tTU0tTW8PDywPLMwurOyNbOyNLOwujMx9XLx9fNwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQEBAD/ACwAAAAAEAAQAAAIcgABADBAsKBBggIFVhBAoKFDAgIELDCQcEDCiwINELhoEWNCjRw9ftxYUWRGkgI7igRZ0iTLlCYHUgi5EgODCS09SkiAIMEFmB41IFgAgIMAoBg1DJgYoaNKjBgQ9NQg0GjEqxEgXGhw82OACwG+hvUYEAAh+QQEBAD/ACwAAAAAAQABAAAIBAABBAQAIfkEBAQA/wAsAAAAAAEAAQAACAQAAQQEACH5BAQEAP8ALAAAAAABAAEAAAgEAAEEBAAh+QQEBAD/ACwAAAAAAQABAAAIBAABBAQAIfkEBAQA/wAsAAAAAAEAAQAACAQAAQQEACH5BAQEAP8ALAQAAQAIAAQAAAgUAAkIHCgQgMGDCBMCCOHBgwOEAQEAIfkEBAQA/wAsBgAAAAgABQAACB8ALxgIQDDAhQAEEioUsACAw4cIH0KM4CFERQ8OEAYEACH5BAQEAP8ALAAAAAABAAEAAAgEAAEEBAAh+QQEBAD/ACwAAAAAAQABAAAIBAABBAQAIfkEBAQA/wAsAAAAAAEAAQAACAQAAQQEACH5BAQEAP8ALAQAAAAKAAgAAAgyAC8YCBBgIMELAQgoXKhQwAIAECNCNEBAosSEIRQcUMBRAYiEFiNSDDmRQIiTDiRSDAgAIfkEBAQA/wAsBwAAAAYACAAACCYALxgIYODCBQIIEQoAwJBhgIYOFSg4oEDEQ4gXGwYIwTGEgwABAQAh+QQEBAD/ACwAAAAAAQABAAAIBAABBAQAIfkEBAQA/wAsAAAAAAEAAQAACAQAAQQEACH5BAQEAP8ALAAAAAABAAEAAAgEAAEEBAAh+QQEBAD/ACwEAAAABwALAAAIJgANCBR4IQCBgwgJAFjIsGHDEAcURIzosCLDEBgzhrBoMYQIhwEBACH5BAQEAP8ALAUAAAAJAAsAAAhDAA0YuDDQQIALAQgoXCiAwAIAECMCuEBAYsSEBxRkPHBAxIUIFiEmDAkgYQgPIVKGcDAypAEKLjEw4HggBEQJCRAEBAAh+QQEBAD/ACwAAAAAAQABAAAIBAABBAQAIfkEBAQA/wAsAAAAAAEAAQAACAQAAQQEACH5BAQEAP8ALAAAAAABAAEAAAgEAAEEBAAh+QQEBAD/ACwAAAAAAQABAAAIBAABBAQAIfkEBAQA/wAsAAAAAAEAAQAACAQAAQQEACH5BAQEAP8ALAAAAAABAAEAAAgEAAEEBAAh+QQEBAD/ACwAAAAAAQABAAAIBAABBAQAIf8LWE1QIERhdGFYTVA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA2LjAtYzAwMyA3OS4xNjQ1MjcsIDIwMjAvMTAvMTUtMTc6NDg6MzIgICAgICAgICI+CiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiCiAgICB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIKICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcERNPSJodHRwOi8vbnMuYWRvYmUuY29tL3htcC8xLjAvRHluYW1pY01lZGlhLyIKICAgIHhtbG5zOnN0RGltPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvRGltZW5zaW9ucyMiCiAgIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ZmYyZWY0OTItM2JkZC05OTQ3LTk5YWMtMmQzMzI3MDVhMzIzIgogICB4bXBNTTpEb2N1bWVudElEPSJmZWI4MmYyNS1mZmZiLTNkYjgtY2EzMC0wNjE4MDAwMDAwM2YiCiAgIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoxYTVlZTUyOS03NWE4LTg0NDctODMzMi01NDRiZTAyMTFlYzUiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjItMTItMTVUMTc6Mzc6NTErMDg6MDAiCiAgIHhtcDpNb2RpZnlEYXRlPSIyMDIyLTEyLTE1VDE3OjM3OjUxKzA4OjAwIgogICB4bXA6Q3JlYXRlRGF0ZT0iMjAyMi0xMi0xNVQxNzozNzoyMSswODowMCIKICAgZGM6Zm9ybWF0PSLliqjnlLsgR0lGIgogICB4bXBETTp2aWRlb0ZyYW1lUmF0ZT0iMjUuMDAwMDAwIgogICB4bXBETTp2aWRlb0ZpZWxkT3JkZXI9IlByb2dyZXNzaXZlIgogICB4bXBETTp2aWRlb1BpeGVsQXNwZWN0UmF0aW89IjEvMSIKICAgeG1wRE06c3RhcnRUaW1lU2NhbGU9IjI1IgogICB4bXBETTpzdGFydFRpbWVTYW1wbGVTaXplPSIxIj4KICAgPHhtcE1NOkhpc3Rvcnk+CiAgICA8cmRmOlNlcT4KICAgICA8cmRmOmxpCiAgICAgIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiCiAgICAgIHN0RXZ0Omluc3RhbmNlSUQ9IjlkMWU4YTJjLWE4NGUtM2U1Ni04ZDI0LWRjZjEwMDAwMDA2YyIKICAgICAgc3RFdnQ6d2hlbj0iMjAyMi0xMi0xNVQxNzozNzo1MSswODowMCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgQWRvYmUgTWVkaWEgRW5jb2RlciAyMDIwLjAgKFdpbmRvd3MpIgogICAgICBzdEV2dDpjaGFuZ2VkPSIvIi8+CiAgICAgPHJkZjpsaQogICAgICBzdEV2dDphY3Rpb249ImNyZWF0ZWQiCiAgICAgIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MTJjMmZmZmItZGM3NC02ODQyLWIxOTEtMDhhMzgzM2RhMDgyIgogICAgICBzdEV2dDp3aGVuPSIyMDIyLTEyLTE1VDE0OjUwOjAyKzA4OjAwIi8+CiAgICAgPHJkZjpsaQogICAgICBzdEV2dDphY3Rpb249InNhdmVkIgogICAgICBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOmYxNDI3ZWYyLTQ1ZjEtMmY0Zi1hNDY0LTU4MzgyOGMxNjJlNyIKICAgICAgc3RFdnQ6d2hlbj0iMjAyMi0xMi0xNVQxNDo1MjoxNCswODowMCIKICAgICAgc3RFdnQ6Y2hhbmdlZD0iL2NvbnRlbnQiLz4KICAgICA8cmRmOmxpCiAgICAgIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiCiAgICAgIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6NTZjODkxYmQtMzQ4YS01OTQ3LTk2MDItMjFkM2JlZmRiZjAwIgogICAgICBzdEV2dDp3aGVuPSIyMDIyLTEyLTE1VDE1OjQwOjE5KzA4OjAwIgogICAgICBzdEV2dDpjaGFuZ2VkPSIvY29udGVudCIvPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJkZXJpdmVkIgogICAgICBzdEV2dDpwYXJhbWV0ZXJzPSJzYXZlZCB0byBuZXcgbG9jYXRpb24iLz4KICAgICA8cmRmOmxpCiAgICAgIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiCiAgICAgIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6NThkMTQ4M2QtZjAyMy02ZTQ4LWE0NTYtZDg3YTA1YWEzMWQ1IgogICAgICBzdEV2dDp3aGVuPSIyMDIyLTEyLTE1VDE1OjQwOjI2KzA4OjAwIgogICAgICBzdEV2dDpjaGFuZ2VkPSIvIi8+CiAgICAgPHJkZjpsaQogICAgICBzdEV2dDphY3Rpb249InNhdmVkIgogICAgICBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOmRmMzhmYzNiLTE5ZGEtNGY0MC1iMjU2LWVhYzIxOWFjZGNmMiIKICAgICAgc3RFdnQ6d2hlbj0iMjAyMi0xMi0xNVQxNjowMzo0NiswODowMCIKICAgICAgc3RFdnQ6Y2hhbmdlZD0iL2NvbnRlbnQiLz4KICAgICA8cmRmOmxpCiAgICAgIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiCiAgICAgIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6NzZjOTFlOGYtZTkyZC1iMjQ1LWJkYWItODdiYThmMDU5ZjkwIgogICAgICBzdEV2dDp3aGVuPSIyMDIyLTEyLTE1VDE3OjM3OjQ4KzA4OjAwIgogICAgICBzdEV2dDpjaGFuZ2VkPSIvY29udGVudCIvPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJzYXZlZCIKICAgICAgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDpiNDJmZDUyMi00NGM4LTdmNDUtYTJjNS1iMjU0ZDdiNDdjMDciCiAgICAgIHN0RXZ0OndoZW49IjIwMjItMTItMTVUMTc6Mzc6NDgrMDg6MDAiCiAgICAgIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4KICAgICA8cmRmOmxpCiAgICAgIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiCiAgICAgIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MThjMjc4NjktMDAyMS04YzRmLThjMDMtMzVlZTU3MzAwZGQ5IgogICAgICBzdEV2dDp3aGVuPSIyMDIyLTEyLTE1VDE3OjM3OjUxKzA4OjAwIgogICAgICBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBBZG9iZSBNZWRpYSBFbmNvZGVyIDIwMjAuMCAoV2luZG93cykiCiAgICAgIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4KICAgICA8cmRmOmxpCiAgICAgIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiCiAgICAgIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6ZmYyZWY0OTItM2JkZC05OTQ3LTk5YWMtMmQzMzI3MDVhMzIzIgogICAgICBzdEV2dDp3aGVuPSIyMDIyLTEyLTE1VDE3OjM3OjUxKzA4OjAwIgogICAgICBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBBZG9iZSBNZWRpYSBFbmNvZGVyIDIwMjAuMCAoV2luZG93cykiCiAgICAgIHN0RXZ0OmNoYW5nZWQ9Ii9tZXRhZGF0YSIvPgogICAgPC9yZGY6U2VxPgogICA8L3htcE1NOkhpc3Rvcnk+CiAgIDx4bXBNTTpEZXJpdmVkRnJvbQogICAgc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo2ZGUxZmEzNC0wNzNlLTJiNDgtYTNmYi0yY2Y3ZjFhMzczNjAiCiAgICBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjZkZTFmYTM0LTA3M2UtMmI0OC1hM2ZiLTJjZjdmMWEzNzM2MCIKICAgIHN0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoxMmMyZmZmYi1kYzc0LTY4NDItYjE5MS0wOGEzODMzZGEwODIiLz4KICAgPHhtcE1NOkluZ3JlZGllbnRzPgogICAgPHJkZjpCYWc+CiAgICAgPHJkZjpsaQogICAgICBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjg1NmYwYzA0LWU0MzUtNzk0Ny1iMmQwLTkwMDliMjlhYzdmNiIKICAgICAgc3RSZWY6ZnJvbVBhcnQ9InRpbWU6MGQ3NjgwMDBmMjU2MDAiCiAgICAgIHN0UmVmOnRvUGFydD0idGltZTowZDc2ODAwMGYyNTYwMCIKICAgICAgc3RSZWY6bWFza01hcmtlcnM9Ik5vbmUiLz4KICAgIDwvcmRmOkJhZz4KICAgPC94bXBNTTpJbmdyZWRpZW50cz4KICAgPHhtcE1NOlBhbnRyeT4KICAgIDxyZGY6QmFnPgogICAgIDxyZGY6bGk+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24KICAgICAgIGRjOmZvcm1hdD0iYXBwbGljYXRpb24vdm5kLmFkb2JlLmFmdGVyZWZmZWN0cy5sYXllciIKICAgICAgIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NWI1MGU1ZTktMTRlMy0zZDQyLWEyMmMtMDY5NjNjNGY3ZWJjIj4KICAgICAgPGRjOnRpdGxlPgogICAgICAgPHJkZjpBbHQ+CiAgICAgICAgPHJkZjpsaSB4bWw6bGFuZz0ieC1kZWZhdWx0Ij7mt7HoibIg5ZOB6JOd6ImyIOe6r+iJsiAxPC9yZGY6bGk+CiAgICAgICA8L3JkZjpBbHQ+CiAgICAgIDwvZGM6dGl0bGU+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICAgIDwvcmRmOmxpPgogICAgIDxyZGY6bGk+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24KICAgICAgIGRjOmZvcm1hdD0iYXBwbGljYXRpb24vdm5kLmFkb2JlLmFmdGVyZWZmZWN0cy5sYXllciIKICAgICAgIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6N2U1M2FmMjctYzQzNS1iNjQ5LTk4MTAtNTYzYjE4ZmI5ZDI1Ij4KICAgICAgPGRjOnRpdGxlPgogICAgICAgPHJkZjpBbHQ+CiAgICAgICAgPHJkZjpsaSB4bWw6bGFuZz0ieC1kZWZhdWx0Ij7nn6nlvaIgODEucG5nPC9yZGY6bGk+CiAgICAgICA8L3JkZjpBbHQ+CiAgICAgIDwvZGM6dGl0bGU+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICAgIDwvcmRmOmxpPgogICAgIDxyZGY6bGk+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24KICAgICAgIGRjOmZvcm1hdD0iYXBwbGljYXRpb24vdm5kLmFkb2JlLmFmdGVyZWZmZWN0cy5jb21wIgogICAgICAgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo4NTZmMGMwNC1lNDM1LTc5NDctYjJkMC05MDA5YjI5YWM3ZjYiPgogICAgICA8ZGM6dGl0bGU+CiAgICAgICA8cmRmOkFsdD4KICAgICAgICA8cmRmOmxpIHhtbDpsYW5nPSJ4LWRlZmF1bHQiPuWQiOaIkCAxPC9yZGY6bGk+CiAgICAgICA8L3JkZjpBbHQ+CiAgICAgIDwvZGM6dGl0bGU+CiAgICAgIDx4bXBNTTpJbmdyZWRpZW50cz4KICAgICAgIDxyZGY6QmFnPgogICAgICAgIDxyZGY6bGkKICAgICAgICAgc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1YjUwZTVlOS0xNGUzLTNkNDItYTIyYy0wNjk2M2M0ZjdlYmMiCiAgICAgICAgIHN0UmVmOmZyb21QYXJ0PSJ0aW1lOjBkNzY4MDAwZjI1NjAwIgogICAgICAgICBzdFJlZjp0b1BhcnQ9InRpbWU6MGQ3NjgwMDBmMjU2MDAiCiAgICAgICAgIHN0UmVmOm1hc2tNYXJrZXJzPSJOb25lIi8+CiAgICAgICAgPHJkZjpsaQogICAgICAgICBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjdlNTNhZjI3LWM0MzUtYjY0OS05ODEwLTU2M2IxOGZiOWQyNSIKICAgICAgICAgc3RSZWY6ZnJvbVBhcnQ9InRpbWU6MGQ3NjgwMDBmMjU2MDAiCiAgICAgICAgIHN0UmVmOnRvUGFydD0idGltZTowZDc2ODAwMGYyNTYwMCIKICAgICAgICAgc3RSZWY6bWFza01hcmtlcnM9Ik5vbmUiLz4KICAgICAgICA8cmRmOmxpCiAgICAgICAgIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6YWM5NGVmNzAtMmVkNC03YjQzLTg5YTktNzU0NTkwMjExOGVmIgogICAgICAgICBzdFJlZjpmcm9tUGFydD0idGltZTowZDc2ODAwMGYyNTYwMCIKICAgICAgICAgc3RSZWY6dG9QYXJ0PSJ0aW1lOjBkNzY4MDAwZjI1NjAwIgogICAgICAgICBzdFJlZjptYXNrTWFya2Vycz0iTm9uZSIvPgogICAgICAgIDxyZGY6bGkKICAgICAgICAgc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpiMjY3NDgyNS05MjE4LTQ1NDYtYjA4ZS01ZTI3M2QyNDAyMjgiCiAgICAgICAgIHN0UmVmOmZyb21QYXJ0PSJ0aW1lOjBkNzY4MDAwZjI1NjAwIgogICAgICAgICBzdFJlZjp0b1BhcnQ9InRpbWU6MGQ3NjgwMDBmMjU2MDAiCiAgICAgICAgIHN0UmVmOm1hc2tNYXJrZXJzPSJOb25lIi8+CiAgICAgICAgPHJkZjpsaQogICAgICAgICBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOmNiYmJlOTY0LTM0MmYtYTM0ZC1iM2Q2LTI3ZGUyOTE3MWFhYSIKICAgICAgICAgc3RSZWY6ZnJvbVBhcnQ9InRpbWU6MGQ3NjgwMDBmMjU2MDAiCiAgICAgICAgIHN0UmVmOnRvUGFydD0idGltZTowZDc2ODAwMGYyNTYwMCIKICAgICAgICAgc3RSZWY6bWFza01hcmtlcnM9Ik5vbmUiLz4KICAgICAgIDwvcmRmOkJhZz4KICAgICAgPC94bXBNTTpJbmdyZWRpZW50cz4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgICAgPC9yZGY6bGk+CiAgICAgPHJkZjpsaT4KICAgICAgPHJkZjpEZXNjcmlwdGlvbgogICAgICAgZGM6Zm9ybWF0PSJhcHBsaWNhdGlvbi92bmQuYWRvYmUuYWZ0ZXJlZmZlY3RzLmxheWVyIgogICAgICAgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDphYzk0ZWY3MC0yZWQ0LTdiNDMtODlhOS03NTQ1OTAyMTE4ZWYiPgogICAgICA8ZGM6dGl0bGU+CiAgICAgICA8cmRmOkFsdD4KICAgICAgICA8cmRmOmxpIHhtbDpsYW5nPSJ4LWRlZmF1bHQiPue7hOWQiCAxNS5wbmc8L3JkZjpsaT4KICAgICAgIDwvcmRmOkFsdD4KICAgICAgPC9kYzp0aXRsZT4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgICAgPC9yZGY6bGk+CiAgICAgPHJkZjpsaT4KICAgICAgPHJkZjpEZXNjcmlwdGlvbgogICAgICAgZGM6Zm9ybWF0PSJhcHBsaWNhdGlvbi92bmQuYWRvYmUuYWZ0ZXJlZmZlY3RzLmxheWVyIgogICAgICAgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpiMjY3NDgyNS05MjE4LTQ1NDYtYjA4ZS01ZTI3M2QyNDAyMjgiPgogICAgICA8ZGM6dGl0bGU+CiAgICAgICA8cmRmOkFsdD4KICAgICAgICA8cmRmOmxpIHhtbDpsYW5nPSJ4LWRlZmF1bHQiPuefqeW9oiA2NS5wbmc8L3JkZjpsaT4KICAgICAgIDwvcmRmOkFsdD4KICAgICAgPC9kYzp0aXRsZT4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgICAgPC9yZGY6bGk+CiAgICAgPHJkZjpsaT4KICAgICAgPHJkZjpEZXNjcmlwdGlvbgogICAgICAgZGM6Zm9ybWF0PSJhcHBsaWNhdGlvbi92bmQuYWRvYmUuYWZ0ZXJlZmZlY3RzLmxheWVyIgogICAgICAgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpjYmJiZTk2NC0zNDJmLWEzNGQtYjNkNi0yN2RlMjkxNzFhYWEiPgogICAgICA8ZGM6dGl0bGU+CiAgICAgICA8cmRmOkFsdD4KICAgICAgICA8cmRmOmxpIHhtbDpsYW5nPSJ4LWRlZmF1bHQiPuefqeW9oiA4MC5wbmc8L3JkZjpsaT4KICAgICAgIDwvcmRmOkFsdD4KICAgICAgPC9kYzp0aXRsZT4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgICAgPC9yZGY6bGk+CiAgICA8L3JkZjpCYWc+CiAgIDwveG1wTU06UGFudHJ5PgogICA8eG1wRE06dmlkZW9GcmFtZVNpemUKICAgIHN0RGltOnc9IjE2IgogICAgc3REaW06aD0iMTYiCiAgICBzdERpbTp1bml0PSJwaXhlbCIvPgogICA8eG1wRE06ZHVyYXRpb24KICAgIHhtcERNOnZhbHVlPSIyNSIKICAgIHhtcERNOnNjYWxlPSIxLzI1Ii8+CiAgIDx4bXBETTpzdGFydFRpbWVjb2RlCiAgICB4bXBETTp0aW1lRm9ybWF0PSIyNVRpbWVjb2RlIgogICAgeG1wRE06dGltZVZhbHVlPSIwMDowMDowMDowMCIvPgogICA8eG1wRE06YWx0VGltZWNvZGUKICAgIHhtcERNOnRpbWVWYWx1ZT0iMDA6MDA6MDA6MDAiCiAgICB4bXBETTp0aW1lRm9ybWF0PSIyNVRpbWVjb2RlIi8+CiAgPC9yZGY6RGVzY3JpcHRpb24+CiA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgo8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAOw==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .node{background-size:18px!important;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAC7klEQVR4nO2W31HbQBCH94SdVzsV4FSQdBCnglCCqQBdjJ1HxGNsHIkKcAmkgogOQgUxFcS8BkfKt5KMLSHbsmGGYYZvZoc9vLf3O92/NfLMvFwBvu+37v5FJ7hS33NOrbUT2YGtBTBwczaLjmIRl2YTU6YkCmo159xaO6VdGfpV5+zMP4gk8iWWlqTcYMo+ptkmjjj2+Nhe0qqEwTYy8P0PMot9kbgtGbHI6ZuaE+DK31nkksjFbWBgQqkZ27f2F4210G81+rlZZ51xRxb8qNccl089kSWIbd3NogD3M5ZiZMz+IHT1sqwUMByOTpili9vENPBaxHF7PRvKGoZDvy0SBfR9LylT+ga9XvcU/wEGy6EJYhNdMOuWpNyKI26/2x3LFgxGo45EEuA2MB1pYmLnsDgBg+UYDEeIzzDmvL5nvHWfcB0sSzPbHyc0E/q9Ls0FuYaSF5CsYekZT76U6MbUMGOLM1MQkN4VS3uokgD+eY0KnfVHbEr7/oxnSXVjHvDbAiOXiCUkFVvYQ1dYSziulQTw54rAdnLu42Rn7xPJGsolP3YkTVoKCQNmcIDAlnBPOMZx9V4gbyhMiLyGv/fkGgqBjJEKkIxvw5FHoIvbwKpwS5Lga6/rSQZ5Q9lVgJKuefQTdyNGnE/FPUHeUF4FvAp4jAAlEzEWPZbl3DB4pzi4Qt5QHitgDpeMS5Ani2N5SyKPByfAL4W8oTyVAIUbscnz+wdXeJ7fWm5J3JWQN5QtBMDmomIeW0y6TLGYKcbmGkr2jHoyX+f0QWKCD2e4ToB+IWrH+XuglD7rDzoq2rnwjE55mr3+8Zdz/HtWCRicfT+SOPYkezMISsq3sknkOhZBSL7MSh6kRVFRFJCcknwxU1q+LWOwjWhiyZVZJqzXzCHiftMQBnl3N4svmGtbgKTXVco3hdjqZPtDv0gDK2PjcSxC/HawLFTKrG8cH9FcsGP5trWAOQjR/TEWYAk6DDyRHdhZwFPx7AL+A2XBxTB9HMhUAAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACpElEQVR4nO2Xi1HbQBRF71ZgpQKUCqCDKBXgEpQKEBVYrgC5AlwCVJClA1xBRAWRK1DOY+XP+oMlwwyTGc7MmWtZ7719xJ+A0yfz/y7Qtm0qaYLG1DlX6wwGL8DBCXGDBSZoNFjhjEUasjeDFuDwMXGHqQIvaFygUUu6ZYkHshcOT8LBV4QdnGnDFCs0is4RGl5hkWfyTRwehYMT4g5zbXjEguG1tqA2VVjoGlfMFRZpyIMcXYCBE6LABI0F2sFeb0BfprDIJRoNVvRNyT0cRnQD7jFVYIkFA+YaAHNycTCO0Kgl/XI7P4DDCBpbYsUMS5oacjCMSogCJ/gKs6IzowuDppZYMRdvNrfzehuUZQrvD8NeZ68dqEkVDs/VQV10ZnRh0NQSC2zwB1pWOKO34XaqcPAYt3nAW2pqAXUTosAEnzAVH1fuO3JNdGHQ2BJPzrmMh2MeV3iBtcIhucLQY1Q4xlThe8LePw/M8uIH4rEj10QXBoUt8eRYQB08VYpBOMI+LLFiRqkOZnidu4DB05mk39iHn27nPUG/19cCXwu8ZwGDW5nCl9MFHuIFc3q9dqDX670LrKDEPpKlNh9L+9iV9FTkQejx+qgFDMoS4i8a36hvyKNQ7zVgAcMrfLU+kweh9LWWmr05Kyi5Iu4wE1Aa1UYXBg25+OfU5nWeKyzSkBHUtsTeUINbCTHBAg17mQpK59pir9Homgu0AUaDJc0zcg11LSGej+bw9A1RavN/xhQryhoywuFRGJSKRrxGo9bWLxXcjxbgMlP8y8wjFtyudQSHJ+kG2yKXaHixCP5B4zveY6bAAu1grxM47A2L5AqLjPAQSyw52Gp6MWgBgyUSolT442SbGdrhDdmbwQusYJFU4RNi5Bxc6wzOXuCj+PQF/gGjJ1cw9OUM3wAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACpElEQVR4nO2Xi1HbQBRF71ZgpQKUCqCDKBXgEpQKEBVYrgC5AlwCVJClA1xBRAWRK1DOY+XP+oMlwwyTGc7MmWtZ7719xJ+A0yfz/y7Qtm0qaYLG1DlX6wwGL8DBCXGDBSZoNFjhjEUasjeDFuDwMXGHqQIvaFygUUu6ZYkHshcOT8LBV4QdnGnDFCs0is4RGl5hkWfyTRwehYMT4g5zbXjEguG1tqA2VVjoGlfMFRZpyIMcXYCBE6LABI0F2sFeb0BfprDIJRoNVvRNyT0cRnQD7jFVYIkFA+YaAHNycTCO0Kgl/XI7P4DDCBpbYsUMS5oacjCMSogCJ/gKs6IzowuDppZYMRdvNrfzehuUZQrvD8NeZ68dqEkVDs/VQV10ZnRh0NQSC2zwB1pWOKO34XaqcPAYt3nAW2pqAXUTosAEnzAVH1fuO3JNdGHQ2BJPzrmMh2MeV3iBtcIhucLQY1Q4xlThe8LePw/M8uIH4rEj10QXBoUt8eRYQB08VYpBOMI+LLFiRqkOZnidu4DB05mk39iHn27nPUG/19cCXwu8ZwGDW5nCl9MFHuIFc3q9dqDX670LrKDEPpKlNh9L+9iV9FTkQejx+qgFDMoS4i8a36hvyKNQ7zVgAcMrfLU+kweh9LWWmr05Kyi5Iu4wE1Aa1UYXBg25+OfU5nWeKyzSkBHUtsTeUINbCTHBAg17mQpK59pir9Homgu0AUaDJc0zcg11LSGej+bw9A1RavN/xhQryhoywuFRGJSKRrxGo9bWLxXcjxbgMlP8y8wjFtyudQSHJ+kG2yKXaHixCP5B4zveY6bAAu1grxM47A2L5AqLjPAQSyw52Gp6MWgBgyUSolT442SbGdrhDdmbwQusYJFU4RNi5Bxc6wzOXuCj+PQF/gGjJ1cw9OUM3wAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .account{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABjElEQVR4nKWRzW3CQBBGZ7nBKXTgEswROMR0AB2QCoAK4hI2FbAd4A7iCyBxMakAl8AJhEBs3lgYYhQlSHzSejx/b9ZjI3daLBYjzFBEQk4qIh+dTidZLpdBu93O5U4VwHw+nxpjmpyxFq9Wq/B4PDoRSTiice/9rNFoTFqt1pbQDcCEiGTMtEh+KMuyl/1+n9McKpQbOhHZUjfG3gBMjynShMWt6NKUkEsUuNvtNt1ut0nsYYAlt+YGThC+p67oLR4qgn3MiEQPe5VO5BMyAD0AxV5Op1NCXSDIcK4CkrKHTbkk9hLgT0Xkq16vx4fD4fV8Plv8CYAEWwUona1/Mu0Ft9Qaf0DjEKt/wddqtQG3SQVdAUx7996/8Wop1O9NiUU0RvhDTkzMaYw6V/qGBr26xYRcs69X570imgJACZOtNl32kgMJjSYhpjSHvzWXuq/DH+JHhukOUqpk+UfUWkzOAi2AAMBMARnUnlJJ/imaIprGAPq4CnQKUGIgDwhAAMBRH8lFxRKf0dOAb1+0+Iv8rQDnAAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .account{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABTklEQVR4nKWSgVGDQBRE9zrADq4EOvDSAekAKwhWICWcFeQ6kA6kA7ECKYEO8H0gKOhoZrIzm/3/77+dA+K0wziOJ6SUlMNW0rNzrmHu0V47bAJYOiN3sLJlegtJkhpoqOALfMQf0K8AloOkGiPoG5hnSC9uhNfTJ0kDdYVuAmrNRkQ3wEviFnj2KBn1B7Xd9OoAm3V4SYB+pJ7OTj8GZgVyYn5AVzDPkDd4cPMj5NQNtRdwcAVmK64Hp5dE7yWd4TusJd3DCM1v0B8BOfIKM3hBB4+w1PwVRngkoBVYAzj8hDzACDtbYBYkBc2H7QulZZa09I5CDO1QDguGA7oBvhfPDSN+os+oe3HG0XjN/7gcc0B/xX6PvhS3s4AkDIZJ/4DdiPTsRmov/pUWcPlEA/on2A3iRbJboNYnC7BEryvArhcvkP2gBQ7ehJsDPgGuzbA0XPT67wAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .account{background-image:url(data:image/gif;base64,R0lGODlhQABAAPYAAAAAAB4zIxEREQzBOWt3biGbPyx4QDZtRJCQkKCgoFBQUGBgYE9PT7+/v4CAgHBwcNDQ0BAQELCwsK+vr/Dw8P///x8fH8DAwN/f30BAQOHh4TAwMAEEAhk5ITpkRBZKI3qBfBRYJQICAgaxMYuLixqnPZWVlaSkpDeLTERJRR4eHiEuJA2HLALVNg7GPA/QPxJvKQLYNwvUPQTYOAqfL56eniiQQmhoaAPLNADYNhYwHExRTqqqqhyiPRYnGj9URM7OzkZTShO6PENPRhNkJxB5KnaUfnmLfgi/NczMzLm5uQsWDpCYknCpfwmuMgfVOnOgfoWdi36gh+zs7IGBgRa1Pnd3dw7XQBjCQoaGhg0VDxohHEFPRDtaQv39/cnJycTExBwiHS6EQ9TU1EFORNjY2Ghza9HR0c/PzzGuUF9+Z1GRYT17TZmZmSS5STumVliIZB4uIu/v7+Dg4BwgHVyxcWCocmWXcerq6maNcGuieB+tQkRERBwhHra2trOzsyH/C05FVFNDQVBFMi4wAwEAAAAh+QQFDwAAACwAAAAAQABAAAAF/yAgjmRZRsvUYFXVNM9mznRt31nT7nyLLbeg8GbR9Y47jGLIZCooSMoFgqwgTqqEg9FkPnoahIxkeVB5k8hI0qM41N3agueG0xQa9OgSXcZNGzwQYzcRCTwOIht5SFd/IxEsLRB2Qoc7GSQbKT0JjyIOOxSVQ2wtDTMZZy1AfxFQLZlxrzt+WDwWf3Onn7sVEjWrnnGmFbKPsBWkIxbJuU0RSZ8ilxW2JqEtjkwZO8OfCjuJNBY7EF3dLeOfgdo2q13Z1tMiOxc2CJhN8sef9jb8mvha96gcrxoBue3Y9iidFYD6mESbRC8fKxvFnjFhVEHjH0kdbYiKY7HCtzgOz//J8RbHYAuPTVa1ogHyGpNqKuOJWjaipIaCyU4K8VXhwcpan7544zmD6D0a8n7Rq1YBQr8ZFiYIWoYCZFWmTYq1mMAFEIJkFSgQivDgxRFK9EZQbSFlggMEK95WmmsO7J8nVaowFMGnSoOrnzJoDYwEw4NKgAOnmYaHsWUrlTJkeOBglSjEQopEuYDAgQPNpiV4FjWzhAUHaCu0FqKURxhC5MwcacDUUI/ZNuZqAE5EbFXcJTagJX7CMwWjDQvTRU7GM3USETxf8Dskqtoa2XfWoCp02oJkFGCSSTZYLg/m7JLBvYPLRDhxcWcoZzl+BzDsIJWXnwgOGVODSyH11NeZgDT4FBx+IiB4HYMicESQa9JQsxCFNTiEwTs75EJLC9wxKJ1NJJQERG0CcjiCQ6jQ4NAVq0zoYoU7MOXSdubciA9SNNhz30M+yrhhkD6UhGKRI/RIQ2FS5MgkDfDQsEtbO0xJQzE2WCCDJE9pWYI8NjZ5kJgkJGQDLGGiKUJtZYowx3duQsJHe3XmqeeefPbp55+ABipoXCEAACH5BAUPAAEALAAAAABAADkAAAf/gAGCg4SFhmqGiYqLjI2OjYiPkpOUhkGVmIuXi2eVNQGbmaKGnaOmgmaVoZOrp4OlrrGNsLGphZ+yuYW0trqirbq9psKcvsbHusDIo8qMaMu5tL/Q1NWYxNbZ2o7Pstjb4NrShd/g3QHllqfn4Zm4k+nkhM2Y747x2eyS46i7yPSi+G0TSMoXwHbUDrpSOIqgNYGRJOHz5fDRxEH2+q2jdFHfQEoezUnKmOsiJXsmAzI6yBChS10VX8rE5AaLzZn+CAmwiYVHO4ap0vBsg5MRTzhFF+20icAlQxQ8QSRV9IZny2MhDQm1KSBczF5bsUylynNsojU8RZgthKDsWkJsDGyieFuIQwQAdAcFAgAh+QQFDwAGACwAAAAAQAA5AAAG/0CDcEgsGhdG4SrJbDqfxhTUgJxar0QV1qDYepvdLzPBFX+XWbO6WL2GsW81ejg/r+9WKb09JOP/UWx4empxTVpefGaKgGCNSYhKj2KGf4R3lZBml2t1k0WZn0ScbqJOpE6MZpGlrYNeqKZMqppirHKymFa0Vqy3X7ygucNQrH5XwUR8oV7HUMnEZU6/s9EMtUWe0du6srGwr96PKd/SW9RR5UK01NC9T+hb7gYizuvn2Eae0AIDgKTa6GRz0s+frIBbOAxYOElRvHhDRCxkOO8KwiRxfhWYaHDSRSwBOCIwdembr4gcT3DzEmIigo/cqIkkpk5Ty4UgVgphpszATDZrUzhxhKmT1YeJBHQO4TmkBNKVNYtw9KAUC8eqz4ZcxQpvyVasRL9WrSlWKVEUE7laDKHWShAAIfkEBQ8ACAAsCQAeAAYACgAABBgQSQkmOkOGwUHhYCgOHyggHFGhhkVYSAQAIfkEBQ8AAgAsAAAAAEAAOQAAB/+AAoKDhIWGh4JxiIuMjY4CfI+Sk5SDfZUMlZqLmZuINZ6hioSXoaamnZSppqOWrKewkpGuhqCxt4azuIK6oauLpbvCu73DAsHHxpq/t8Woj8iYuK3KhMzVg86y2Ija3InLqrjejOTfmtGU6Z7r59vfyO3G1+7uyLbc9Jr49afmyf3YHaIWUACFMX8QkLjhwE/BcklIVEFCsWLFKs9iHZhosWPFRvpu2fBI8qMjPub+IfoghCQIhSAg8bHyIGYleZQ4drQSoBHOYRxadjRwcyAwTR1IAvDkjCCpQk4JsezYU1jUShE8VpP3U1BHG1YnrUonlOINY1crhbDooFovcvFNCLF9OInFxbQB11l0p9LQJRh7C4YsZBFBvb7F7tI9OmityYeDvQY+XMnigcWSFGN2NHnzQEWdH+KVTHGzSp2bRwvo8dgzoxAwRLhuFAgAIfkEBQ8AAgAsAAAAAEAAOQAAB/+AAoKDhIWGg3OENwGHjY6PkIZDkYmRlpeNdJgCcwqbn5AKcoejEKBUoJdmhYmMhHRmpphyqKmWtKGVl3Ketq+EEK6ftQG6vo66sraTg8LHhbUCo8+HQ8rP0wLMoNm9kJrU4Y7Xz9up2Y502eCpxuWO0aDm74Lxhezkkdv2oM6P+ZeieRNnaR4kgQQPDjIY8Bk7hYIYOpKYiiK0hbYAJjz00JKujp8+3tqIaZvGcA9BXjrJCuMxlvAGoXvkDpM6casK+spJchA/ghAsCuh40hjMjYzQyXF2o9FRW3Mk6KlD1c6Emk8FZC05AUuLr2DDujDSAE/FcCJsiF3Lts6dMITvRPUc1IOt3btERCwcYoZKPl6piNjFQvUIlSFD8tghfLcDRyozP4lw0TZSnDte1/aMwLbHpw+ZwQZLFxnSB7Z6QQEQQ/mrNH+vrsEmJFis42McMgta+k+mow5rUz8DUFemSkE3H3EQ6zlhkWwsB4LEEdZOzwClPxWpPldb3HS/BE0GW6e7oZqNotX9imX2Rl0/kSMaFNaIeZecesvfzv5+o4GQhEWCf/g9Mk9Y7s2F3j20gYUFgf9ZQl1/EEa0yRxhVXjIUXIgqKEgW5mR4Yc2MTLih9EkSB9YJAqAUIAsksiTioLsEWOLmxDBAo6fBAIAIfkEBQ8AAAAsAAAAAEAAOQAAB/+AAIKDhIWFAoaCDx2JjY6PkIZkkZSVlolhl5qbnJuIgg4KnZAPiYyEYaWGn40OrKOOrrCzj6eDto+vAA6CuLSHwJ2Tt7+FvIO6v8O0r8uXyauFmcXU1YXOsNAA04LcldrWhMec2MXjhtxAmsvnnL7h7eGQ5Y/j9PL2nfGa3vWD940AbhIo7t+zQerkPep3iWEnhwrJRURFkVPCiYYuXjoH7hdETqomhhTUkdO+YkAIMkwGraQwUzBJLngh40qMK4RcWjRh80WVKicavRpws2gMZNZ4Gl1a1ESZRj2NEiJoqccMpliXVsHlgmm0UVWyisVKQxCHEAd+PADBIxHVRDDRxlaxEorMg7BRmcLAdPISTaYD3knDq1foqA5YN8VlysKRYEghEneyurRxo36PBbFgGmJWhLwx9hrO2Sjy0mIiiBrN/JGQVms0rhbVuc1QzaJV5C2+OfLSZtwRxRgF6M3bUtqTi4KoNG7EaowiovZ1aJQKRkEeelrK9Psm8llWbmqSev2fzXmFnpdXdBSANm/dca5nP/7mgPmCyLSvZFQMfkHtaeSIevjJR8kD5P3nAiVhMJIgfj0QA8mD81lh0IRF/aeIhI8QpqF7mrBQ1oeaBAIAIfkEBQ8AAgAsAAAAAEAAOQAAB/+AAoKDhIWFWoaDOomMjY6PhlyQk5SViVuWmZqbmogCCZyhi4SYl4+eoaepq46jipOoha6shrECtpaSr4agtLe+hLqsscKWuLWywMrLg8Wpx7+7ldDMtM7VyYIQmdei2N/cnN3gAuPk0bnpvuaN7Mja5++bpcPxoe6+9OiZ2/aD/c/A6evlb1UCagUpQXCnTxCuYwiXzZKmpcSVGTkygvHisNoXBxcH1WAU60XGkydrRNSUBSPKlzEufmEE86UHX1Vi1twZQ9AHQi14nlzpCIvQoydHcBDQgYUNDw+sILj4El8iFjprVonKhcuNnC5rsrh0g2rGTWFfQgpgtCYNkji6Tmb6kDVpJqwwRzACAAOjpb4wl2oSARalXkYdrpB6BJNV4pdjSR5q1NhXXJQ/JUNSu2zES6L7BAWVW40GZ02mT2L5ZvHkTc0dB30GZ5K0JRcoJzLjENZKo4aiTzqIZ0A4JUypM4JmZXaHJeP2uuik0q5Q7oJmoTW07a/wa8aqE0rPeIMSd38oJ6VPKCAsgM3n7dXOIfjSovUJC2d2hLK+vweuwXcWe+1lpFsi8cWjBQk5PEDgYB+8B0kgACH5BAUtAAEALAAAAABAADkAAAf/gAGCg4SFhUuGiYqLjI2MP46RkpOJPpQBO5eai5maTIeCNSCdm5efhZaJiIsgq6WNrY+apK+vroIgjqe2oKWQjTW1uYO3tYS/xgG3yJTLqqjJ0dKOzLXFg6mC2ZLX0bSFwwG7ktW1pOGG2UCXyOjG49Ph39OGu+WM8vT4g/eR7prb9gnqpwgZvFmDDhLKN8nVuloKGwWkNLFUxWgR2elTtO2io4eU5l0CSQldt1DJtgXbaEjkphonX/2bBoSgNkPXusU0pyijMidPYuQYKoUYywZNZCh1ISSKoltKh0olunNWk0ZSlYij9MRGNA5IpoodO9UFEUJkx3ao5SKt27SI/0I46WHgxpGkYw2UyqFIRtNRP6C0ZUSjElCxPThMUmwohwtHHdqSRcIxqlQhjBuFmHyJhtCxizyXzayoyDSwYymXnjHVCYDQY2Ek+3x5UeSpZxPJLkT6FQfWuG1bfpJT7GN6qo0WtMyicVmWh6UywjuUdHTHLAUJmaq3stQPg35PrWps+PTagnBk9ydcuiEo6wnZmHp+qKXr5KVZDrKIenqpV8V3DH3LESUgVlKd5ENUPIiG3YGEbDdUd4ngxUML6EFoyHGJRDFUEvJpmIgMi1wowxQi9uVeXwGm6NxQMemwlosbSpUbNzRCIZUHjsRAYyFBPRGJhHzRuERSQkhCgwlrPwbAgWmRBAIAOw==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .domain{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADYAAAA2BAMAAAB+a3fuAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAnUExURUdwTLCwsKGhoebm5s/Pz7u7u+bm5u/v7/n5+dnZ2eDg4MbGxpmZmRaeVDkAAAAMdFJOUwDD6T95qkAoEGBQkAHyQfIAAAHQSURBVDjLtdS9S/NQFAbw05iYNDpEcBE6iAjKS4YXivt1EFQyZNBFMnTq1OHi3KGK29uhr3MHFVzEoYsg4tBckn75/FHexNR+3UgXn+mSX2nOOb09RMvFKpfLDaWYhy4AsckX6SaRJOJ4nv6NSeLrLOkTktiaqaKE6YTTFV1iNnsTKmI+k29tL9jwuzMsZtzltcL2MwsUFmf2f2MxW/RrMcuqpE1YqjJloY2c7sYdBjkWqwc2HttKrv2lVYhHhIeIH06AF4j7PwE2XbwBFWmRhZ6NwRoFMblDk9XB20KWkZh8sk1w9IY3oqBv+ZqgZkjvqcnP+BR0jLvagJ67tlP4oEJEpdTAvRb3mMaaDjUdfaCPLH1EX+9Dq9bo1Ct1R2NPhl/o2V3D7K9m1rmivkbtrsHPdbYemX6Tb+uZOUU7KsoyirRjVmohsTZrGZl1yQgtKkVyRpw8UFKblllPnrgle1kDk31xcgdUz+yDamC27KUAh9zkOEyubGo4cbF7D1wEiA+A3VuIUzcxcnNGLeTv5+VYJM3IMT+9ukr6xcv7YzxlA+pVML0MzPnZCL7UDpn/v8zsHrLzd9bUGlQtwptSLslij9LdesbVM6hWq8uO6xPhZCDIp3zh1AAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .domain{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAA0BAMAAADVih2hAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAwUExURUdwTP////////////////////////7+/v////////////7+/v////////7+/v///9/Gv7EAAAAPdFJOUwA/w4UQ8GDgMFBwsCCgr3PLWGMAAAHaSURBVDjLtdS/i9NgGAfwby655K5pbQOOwhUVbkwG5cZGV9E7KIjokGyOF3S6W+zi4tIiiINgRPA4RdBNHUQPNx3s6tQT/AM0MbXUnl/TNHf9kTfd7ss7JPkMeZ6X932AcS4YxkmI8nmVcW69zICyxjS37Rk5z6PUp+0ZJ3J1Ui5yKmfHsuRMU9Q4ok3OpHsoKjNxU2pmqZcW7mQpGjWgU5DXo1+dFsTFsWTPEOTUUK5QmB/irtLOTjAn+/iaRz+xMo+2Ojxj8lt9k2GHW6uPGKwx9BOy1lnxaVs62xrdT0UOVG6UEtrXIpQDnJPZKrFxGY6nsCon5OkH0EO8k2gvE/dhWvFaSGggd4uFPupKgHjV7ForXuWEutJvufhrKcD2cus9zIqPdvPjSkKhUi03PJV4W2q/AK0vykDDq4QCuL7lxhW4mrcnsVpQ+yo+jFoGOlV7gU/Q7KEQf9L/As6IKnAGWI+PQy2MD0oPi7SL6UZZEkP49GAG0JJHV02pf5PRc5P/HpPfO4x2HF5/OKTFvO3dgJxHVlydWA6GJ9QUSXBMZ3ROZGHlwls+ec/vztK18XC4My1/xsMBl3JHCvAgdxDNG19Qnh7Ktp3p7t6bIdzYFbYuGUZl4vU/Sd6bbwAFS00AAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .domain{background-image:url(data:image/gif;base64,R0lGODlhIAAgAPcBAAHUNiu7TwLUNxtUKbPBt4qylLfEusfHxy24T/f39xtHJv7+/oODg0pdTg6cMgLNNQuqM4zBmZO/ngXTOHNzcxhzL4qylY/CnIqpkou3lwLUNt/f3/X19aKqpIeQiYiYjIaLh9HR0SDHSgHTNRPNQRPMQbjIvOLi4kVpTjiWTwSyLwnROwPTNzrKXh7OSgSpLhjPRUVzUeDm4hPQQtri3N3m39zk3uXn5gO5Mdnd2rXIutjb2dvj3QjROjWhUAkPCvv7+w7QPwYLB4qnkQEDAR0dHRzIR37DjwyoMwPJNYarkAQJBhgaGSLDSoTDlFBQUBN3LBVvLAwSDh0yIhxBJQ4UEAACAR1kLxtOKBtaKyu8Tx0mIAXTOZi4oLC0scnJyQa+NIK3j4DEkd3d3bzFvrG6s7nJvSjATX7AjjOwUktcT5G9nA6eMmdnZ+rq6i61UCLGSwrQPBnKRc3NzRxoLyi/TcbGxhR+L19fX0F2TkCAUDuMTwbSOUtjUVJSUlhYWAIGA9ra2gABACXNTxk8Ijq6WgWiLBlGJCvNVDzGXgLKNBlnLRgmGxhgKhk1IBUbFxgtHgsRDAHNNDXMWg2ILECCUQO+MjjLXQLGMzzCXTm1V4u+mDvIXk9bUjajUQuQLIu7mHl5eR05JObm5omkkAECAQPUN8DEwR0qIBw6JL7Fv3JycrrEvU9UULbLvLTGuATTOC3CUiTITbC3sjiYUBSALyrFUDC5UjG1UmlpaTSpUYLEk////8XFxaurq1FRURYZFx8qIvn5+f39/U5UTwsRDQIFA/Hx8aWpphxfLe7u7vz8/BwcHL/DwNzc3BIXExOJMLG4s1NTU4WFhQ4UDwbANNTU1H9/f9fX1x8fH62trYqNim9vb5qun9PT01tbW1paWhQYFWNjY1lZWbXDuKysrGpqarG1shsbG7zDvq+vr3x8fIuYjpavnOHh4YqQjJiunuPj43Z2dkJwTszMzMrKyp2toSuzTdnZ2TuFTWVlZWxsbDCnTc7Ozii5TGFhYSH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgABACwAAAAAIAAgAAAI/wADCBxIMMAPUQqSVaAzb4ACZqUKSpxokN8KPqYEANiYMU6TBhEpSgwHLQ7HkyhX1EkmcqAxUSRSyjx571nLfBhn6hTQRNTEUnc67tTZpIhEmEOTEihWUJyFp1CjSp0a1WfLq1izah15zZfXr2DDihX7x1gxZ7zSql3Ltq3bYW3GDXtLt67aUGnPHeOlDFvaOcqaqbX2d1QzN4V5hQiUFm8BCOR4/cmW9oe8Utp4rQuAOJhnbprPCnvmpzEveAAKKGMSoF6zANOC/eFltAOvJdJkDyOG2Vmxb6ZPABDR7yCebsbole1l9l+0AMhyjxZFrJmxbaYXlNDQDfpvYPHeGajTl61bMAoBliHXJiTQD3bQsxMAkM0cvlLPgnGIhp/YMWDMiMJXALp5xll2x/CRHG0B/DJgfH8EYE5awcAmGYF3qTXEPgkoVl1joCkmih15+edhOmoJaNeKbYVgIYswulEhgb/UaOONOOaYIzpb9ejjjwMNcFFSMxWwBEUVjEBkSkWJBEhJS3LkDzVYJVNNlHRsVYqQDwiFUhN0hNQjfggl01BDDxnTUkAAIfkEBQoAAwAsAwAAABkAIAAAB2qAA4KDhIR5hYiIPj0TE4SNAwGJk5QDPZQllYlvho6amgKflJJxoqanqKmqq6ytrq+CbnV3rQFzExW1BQC5k3iVcpEPe4htpwAIdq2MB68UsNDR0tOrpdSmApKuCK7Bn5CDjRNwqnQDh5SBACH5BAUKAA8ALAcADgADAAcAAAQO0K0HCEUsiFGAMl5yNBEAIfkEBQoAAgAsBwAOAAUABwAABhpAgcAEEQkLgIIw8AgJSaXTMzUEjFBCAVYQBAAh+QQFCgAFACwCAAcAHAAUAAAGTMBCIUIsGo9Io3DJbDqf0Kh0Sq1ar9hsNhKFBLCSIZObEUw4Wm4zIAhXPdKLplLoMO3Mz1MtJAAGWk8bD4BQIGAUgYqLjI2Oj5AWQkEAIfkEBQoAAgAsDgAOAAMABwAACBkABbz5MUrDjwgARJHoQQoAnIIBBIRyIyAgACH5BAUKAAIALAAAAAAgACAAAAiNAAUIHEhQYKqCCBMqJBhngqmHAEwtnEix4sSDFgdKzMhRoESMCTd2pAhypEaTHEuiXMmypcuXMDueUjgTJgQTAlDp7CjS40YAEQaicvkzAMGhOQXUnNhzoJEJq2IOlAAgqcGrLOOUEloQqUlVKgmy4iq1LEKkXs2qXRuzKUy3bFvC5QgxIkSXYVOlTRgQACH5BAUKAAEALAAAAAAgACAAAAfxgAGCg4QBQlNUV1BRAVhURVaFkpODPVxchJgBWmqRlJ+gg2dXoYZUJKWSVaGaqYRnU5NEUK6UWpNTPbWfUpJOv8DBwsPBVLvHyLtLyaBEvczQ0YJe0pNiSIJNbAFm2Ei3AUhm4Sqrgs++AUeE62EBrUdjAEax5/bWokmb6tlHAOtbBNVbNslIkltBUK15J+jSCCCGIgqZ9kmMIB+vurxLM6heQFBmDBTSB+6fwEIfCymhNISQmi+UyHSsRjOVxyc4c+rcyXNnACY1g+7CoouZO0q0kq0Teg9UFjC1SLmy8jRJq0qbrnhSJgWRIkZUHoUKBAAh+QQFCgABACwCAAAAHgAgAAAIwwADCBxIsGCMgggTEtS1gg8sDQI1PAwSq49ChUEuDlxhS+NGjwU14NLIByRCkRhNKox1UiXGVy5jypxJs6bNmwRz4dxpclcAmLIEugogh2iAkUMFIokF5IhHWD83Qi0oR9aKBCxTCryV1dZUo1sBuEoSoFXLoLEgEiTBsaRAJQCsKoR5dCCtqGAJqgAA4GJJV0ktDmSZcWCtuCoPJhT8M8YGnpBltppMubLly5cjayZZUy3kr5BvfS4xc2LEiUF3KgYZEAAh+QQFCgABACwAAAAAIAAgAAAI/wADCBxIMMAPR4cWDRxwiBGRghAjGvQkkAWAinwCrGjRSZDEiIwofSyIqNFIgYAIwThZEEChk5VYRmSBiNBHFjIlJnoE0VHOmwYLVopAtKjRo0iN2vzJtKlTIU6jSiXY5s/Uq1cjGBLoYmuAF10TBSjk9cXXTAG0XogoYaxGgRHSWnzbgusggZcAuAgKEUbcAINaKAJMEy+ntC81AgAAaqZeRZNwrryw+C0MSWkBE/40UtNfkm01fxUYAgZnlhkrul2ReSAiIC0+QYo4RCIGloH6EFyKtbfM2QEg+RlOvLjx48d5+l7OHLWF5hp3jhTZNPHJRpZk6lWY06MlSRYvKg7mushj04cITQps6HBkQAAh+QQFHgABACwBAAsAHgAKAAAGOMBcYEgsGo/IpHLJbN6Su6aU+MLVpDIiD7qCDbNTZYTVWs7AxVnSBZCEmTMAgOacAlRv5ZUW0w2DADs=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .terminal{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMBJREFUeNpiYKAQMM6cOVMASBuQozk9Pf0AC5AuAOJ6cgwAWt7IhMQvRKIfAPEEYgxhQWL3o9EFpBgwAeifQhKdD7YI5oWPUMEEmAQR4COyATBwAIgdgIacB2IFYkxhQouWB0BsCA3E86QGIsxvDSBXgGIDSxr5ALTgAk4XADWAQt4fiB2BChcAaQVoGoHheLwuAGqagBz/UNsciQ4DEgE/zAUfQM4DOt+eRANAYTMRZADIrxfIdMUFSnMzA0CAAQD0hjqnYxWD2gAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .terminal{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALhJREFUeNpiYKAQMH78+FEASBuQo5mfn/8AC5AuAOJ6cgwAWt7IhMQvRKIfAPEEYgxhQWL3o9EFpBgwAeifQhKdD7YI5oWPUMEEmAQxZiAbAAMHgNgBaMh5IFYgxhQmtGh5AMSG0EA8T2ogwvzWAHIFKDawpJEPQAsu4DQAqAEU8v5A7AhSCOQboKWRC1CM3QCgpgnI8Q+1zZHoMCA1JcNc8AHkTKBz7Uk0AOS9iRRlJvTwIAsABBgAqiNCt+zqQrsAAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .terminal{background-image:url(data:image/gif;base64,R0lGODlhEAAQAMQXAJ6ipUFITySRPIiMkDFRQuXm5jJKQy1kQCGeOzBXQSl3PiWLPVhfZSxrQCpxP9na2yeEPTREQ8LExmRqb5OXm/Hx8TU9RAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjMyQjYwMTU3OTA2QTExRUJCN0NFQUUwQjRDMzM4RDJDIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjMyQjYwMTU4OTA2QTExRUJCN0NFQUUwQjRDMzM4RDJDIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MzJCNjAxNTU5MDZBMTFFQkI3Q0VBRTBCNEMzMzhEMkMiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MzJCNjAxNTY5MDZBMTFFQkI3Q0VBRTBCNEMzMzhEMkMiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4B//79/Pv6+fj39vX08/Lx8O/u7ezr6uno5+bl5OPi4eDf3t3c29rZ2NfW1dTT0tHQz87NzMvKycjHxsXEw8LBwL++vby7urm4t7a1tLOysbCvrq2sq6qpqKempaSjoqGgn56dnJuamZiXlpWUk5KRkI+OjYyLiomIh4aFhIOCgYB/fn18e3p5eHd2dXRzcnFwb25tbGtqaWhnZmVkY2JhYF9eXVxbWllYV1ZVVFNSUVBPTk1MS0pJSEdGRURDQkFAPz49PDs6OTg3NjU0MzIxMC8uLSwrKikoJyYlJCMiISAfHh0cGxoZGBcWFRQTEhEQDw4NDAsKCQgHBgUEAwIBAAAh+QQFMgAXACwAAAAAEAAQAAAFU6AljmRpBVOqrqtFVXAsy9Q7VMMDzHHN/5UawGQC1CiWg4IoOiINAoGB6BxBENSjyIE4oFKMprYhIFgYkvTQpWWOqm6RcVBI2+/2AuXL6k8CcSYhACH5BAUyABcALAcACQAFAAIAAAUIYJSMBLGcSggAIfkEBTIAFwAsBwAJAAUAAgAABQhgMI0MI51ACAAh+QQFMgAXACwHAAkABQACAAAFCGCUjASxnEoIADs=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .cron{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKwwAACsMBNCkkqwAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAFrSURBVDiNpZMxSFxBEIa/ed49tQsBQdEqgrVgithFW1sr62PhKttXpjy0vWb2WjkQrk6rjWUgjY3ICorYGCFV9C7vxuJ24fE4Y8SBZf/9d3b2n/1ZMTPeE1l10ev1Frz3Wy8lq+pXVf1Y5cTM6Ha7jTzPd4BtYBUYAHO184/ALnAJnJRl+b3dbo8aAM1m8xB4AO6BT2b2C5ivFxCRv8AtsJ5l2SZQYGao6kBVFyNeNjOmDVVdifOSqh6Z2aQF7/0xcGNmF4BMkV9tw0RkDfjgnGs14kYJXInIOTALjGOhukUZ8AQ0gc+JIJI/nHNnIYRWCME5505CCC7i04hbzrkz4Gc8Q1IwEwedTmcvXfcSruZnNZKiKPpFUfT/hZnYX1YVyGu31hRk6X2SgnEi/lPBb6JTSUFuZsM3KPiTWk4FbkXki/d+CORMbK3aKEzsTXhDRK6rBb4B+2bWAkbVN5kSDRG5E5EDiJ/pPfEM08DH4VH64rEAAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .cron{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKnAAACpwB9NLfEgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAEPSURBVDiNpdO9SkNBEIbh58RoFKwEwT8QFOwEQQvt1NbW+7Cx8B7svAZLa1tbG0sbEQQh2KigjcZoxsI9YT2EGMnCMt8us+98s8sWEWGYUausp7HTJ38bU/lGPYt72MUyFjFeOfyOfdziAudol4BjPOMRS3jCRA/AJ5pYwxaORISIOIuImaTnU+w1F1KcjYjTiOi28IVD3KDoYT93EVhJ+hfgDtdooJNA1SeqoYVRbOSAFq5wmR0q+mhYzQEjaeYJ/XQ3v1bZlCrFH7rw03bXwSBVc10rYaWDzgBVc/0ivVTpYAwf/3DwJrVcAprYTJCx1F/15huZXsc9FOk3TuIAc2hXqlVHHQ84wWsx7Hf+BgvadUGnT3fcAAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .cron{background-image:url(data:image/gif;base64,R0lGODlhEAAQANUAANPT09HR0c3NzcvLy8nJycfHx8XFxcPDw8HBwb+/v729vbu7u7m5ubW1tbOzs7Gxsa2trampqaenp6WlpaOjo6GhoQDZNpubm5WVlY+Pj42NjYuLi4mJiYeHh4WFhYODg35+fnZ2dnR0dHJycnBwcGZmZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgAlACwAAAEADwAOAAAGesCSUKQRGkua0RGjAFQm0EkFoMAIFY9HAHPpXjABiINREohKoaMwHSKUBgvKJEKvTygLw1vCyWj+gBkcEnoGHCUWFmpCHAglBYeLRhsHjxuSRhqOBJeYSI4FnZgeegMdniUgBSULER8dHrCxG7QRDUIPCQq7vLsJDyVBACH5BAUKACUALAcABwACAAEAAAYEQIslCAAh+QQFCgAlACwKAAcAAgABAAAGBECLJQgAIfkEBQoAJQAsBAAJAAIAAQAABgRAiyUIACH5BAUKACUALAcACQACAAEAAAYEQIslCAAh+QQFCgAlACwKAAkAAgABAAAGBECLJQgAIfkEBQoAJQAsBAALAAIAAQAABgRAiyUIACH5BAUKACUALAcACwACAAEAAAYEQIslCAAh+QQFCgAlACwKAAsAAgABAAAGBECLJQgAIfkECTIAJQAsAAABAA8ADgAABhTAknBILBqPyKRyyWw6n9CodEoNAgA7)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .app{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAF7SURBVDiNrdPPi41hFAfwz72uoVsUWZOFJbKThYkVe1mpx13YjcmU/NwrZCKRLNRZsrSZErvJ1h+glFgiYxC6Pyze8zSvOwsLzuZ5T9/n/T7n+z3ndCaTiX+JHkTELlzHHozQxQrOl1JeRcReLGIbxtiAN7jcS6JrCT5OcIx9mMcAZ/EBz5N8hCO4UQl240kp5XYtLSJmsZDpdjwspTxr4V9xppv5EP0peVuzEnlumcL7GFaCDn5OXfj+l/wHulXCBIci4rXG2BFmMZP4RhyLiBmNR0McxqgSLGBOY1iNIW7l96LGyNMtfBXznf81B/vzhR0pB37hbillOSIO4hw2JdbBJ9yrEu7gIx7504OLWMYFvMcLax6cwv1K0MPLUsrTWlr2eS7TEZZKKUstfCcGtY3jVnk1+i05E+vnZDPGlaBnfZ+/aMZWnqtT+Df0qoR3ON7qc92FlcQ/YxARB6ztwlG8rQRXNdt4Mn/u5AuXEn+AmziRcroaU6/8BgTXdRpxDzi5AAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .app{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKnAAACpwB9NLfEgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAFsSURBVDiNrdO/jw1RFAfwz4xnVzYIydZeY0tEKETChkIoNGrNtkKyhQL/gUg0YgudQiciGpVEIRsdPdlkQ0usH4vNvHcUc27e9bbkm9zMmfnOPfP9nvneJiL8CwZ5PYS72I8xdmANN/EeQ9zGAkZosYHrTSp4gD14m+QIZ/ATl/AI83iRzcc4jC0RISIeR8S5rMu6EhFvsl6NiOUpfjEinrZpYZwKasyhy7rL+xp7MW6rB5tTL/xKO9Dg9xS/WQ9xJ85jJj12OJ2zgMBJvMs9IyxipgzxFK5lo4JvWMFrHMNV7Kv4DivN/8rBkVQwn3JhC/fwCiewjNnkGnzG/aLgJT7h4ZTHBVzEE3w0yUGHyxgWBQOs4lml7rvet2z4PFfBASzVOZj1N+YqO2F7DnapcjCwPQdfTXLQ6v9KjR8YFAsfcMEkByXrG8l/wRKOmpyVs1gvQzyoP23D3NzkF27oc3Acd7A77bT6od76A2AskgeNVoIQAAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .app{background-image:url(data:image/gif;base64,R0lGODlhEAAQAOYAAOPj4+Hh4d/f393d3dvb29nZ2dfX19XV1dPT09HR0c/Pz83NzcvLy8nJycfHx8XFxcPDw7+/v729vbu7u6+vr62traurq6mpqaenp6WlpZmZmZeXl5WVlRTDQBTDPpOTkxLDPhbBQBi/QBTBQBq9Qha/QJGRkRi9Qhi9QI+Pjxq7Qhy5RB63RBy5QiC1RiC1RI2NjSKzRiSxRouLiyKxRiavSCitSCSvSImJiSatSCypSiirSCynSoWFhYODg4GBgTadUDadTjabUDSdTjibUDiZUDyXUn5+fjqXUjyVUnx8fHh4eESLVkaLVkaJWEaJVkqHWEiHWEqFWE6DWkyDWk6BWlB+WlB8XFJ8XFJ6XFR6XlR4Xlh2Xlp0YGZmZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFHgBeACwAAAEAEAAPAAAHtoBeXTEdIR0qWF4/BgECAQtKXjIrQkBAMjVeEAwVFBUHCl4iRV6lUy5eCyalXhgAXidArE6oCxqsFQGiRKxStR+sGLonLk5MTTwsXgoSHBscCwJeWDUu1jFUXjMLCt0OOKzh4uI+DwndDDNeOAzdCQ89XgUKzhwTCcsR9dFeAxasKUItAFZKmBcCFFhxEHirVK5+F1jBwKeKVYZXDA50qtDAgZcHnDwdwKdEQaMABcD1KHAywZFAACH5BAUeAF4ALAAAAQAQAAcAAAdhgF5LDAECAQY+XloqHSEdMVxeDQcVFBUND147MkBAQisuXgMXXqUwCV4uUKVeRh1eBBSsHApeMUysRK8EFqwptTGrpa6wChwbHBMIqTxNTE4xIV49DwrWCzBeUzEu3TVWgQAh+QQFHgBeACwJAAEABwAPAAAHWIA/BgECAQtKEAwVFBUHCgsmXpIYAAsakl4Vhh+YGAEKEhwbHAsCMwsKqQ44mK1WMS6xNlguOk1MTjEhMVCYRh0xTJhEHS69kkkdNjJAQEIrLlckHSHFWoEAIfkECR4AXgAsAAABABAADwAAB3CAXoKDhIWGh4iJiouMjY6PiVg2LpQxVV44DAoKCQ89XiQuTkxNPCxeChEcGxwLAl4iRINSLl4LH4MYAV4nQINOtQsagxW7IkWDU8EmgxkAXjErQkBAMjVeDwwVFBUHCV5cLh0hHSRWXj0FAQIBCUeBADs=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .settings{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAH3SURBVDiNpZI/SJZhFMV/90kicsv+EdEQRUNQYC1S0R+ag2hxMKPgvc/r0Ba2FFEpJARhiF/P9QsaGippimgoG4QgI6egICcJEkoIEyI/9L0NvV98llLQmS6c5x7OPc8Rd+d/0LQcUa1W1xZFcR9ocvfOGOPkXwXMbDvQoqov3b0NuA00i8gBYNLM9gBfVXWiviP1E8xsB3AZmANmgHVAt4jMu/sl4DuwFfgI9KvqO4DQYKAFmFXVU8Bj4JqqfsiybAroBZ6r6jFglbtv+MNB6aIHeKKqL4aGhra4eycQRORelmXvU0pHgPYYoy4SSCltFJGDwEngCjANXHT3WyGEeXfvAq4Dze7eKyJ3i6IYyfN8KgCIyAjQDFxQ1VfAaaA/xjiWZdm4iPQBHao6LiLdwJoQwsiiX3D3z0VR1NNd4e5zDfnUACnnWeATsNB4wjYR2Q8cdfcbIYSau58D+kRkwd273X1QRGaAAWC4KIrRPM8nfg/xqrs/jTGOmtlOoKN08zDGOGZm+0SkPcuys7+W3J3Sxd6U0s1ybk0ptda5SqWyOqW0u+QepJTa6lxjD2rASjO7A5wBBszsEEAI4TzQZWaDwBfg23I92AWsV9VnZnYC2OTur0Vks6oOm9lhYFpV3ywp0IiySI/42bzjMca3S71bVuBf8QODpRL9eTmkdgAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .settings{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKnAAACpwB9NLfEgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAF0SURBVDiNpdJNiM5RGAXw38ukkJVvMYqZRsqYZmyYDTZWbCxsKLG3pCSaWNmNJU2NmhU7pQjFRhYsJCTWykfJRz5eH8fmefn39lLy1FPn3nPv7Zzz3FYS/1Oz/sItwg3cwuo/HWp1KRjEQtzBTizAfHzCDMbwDk97PTCECXzBWyzGYXzDCXzGGjzHJB6DJJ3ekuRc4R1JNja4VUl2FZ5OsrXDNTO4jRcYx1W8wTEcx1xcwna0cbM7xGXYgxF8LakTuIbLZWVdWevHXixvWniY5ECSkVqfbGBJBpOcKjyc5FCSR90WXjXSnV1hdqqNVuH3eInvTQUDSfYnmUkylmRDkvNJ1icZSjJV+wNJriQ5WKr01avPqtfW3O/hNPaVmrO1N14qp35pa/jclORM4dHqDjevMdYLSTZ3uD6/q405mMYHjOJojewIluJHjfdj51L3Vx7GElzHbqzAXazERWzDazzoZaG7+5PcT/Kkwux5rlvBP9dPgIpDWf6ENxgAAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .settings{background-image:url(data:image/gif;base64,R0lGODlhEAAQAOYAAMfHx8XFxbm5ube3t7W1tbOzs7GxsQbROGqpeg7JPBDHPpWVlRLFPmylemCnchTDQBbBQFqnbBTBQFSpaBi/QEqrYpGRkRq9QlinbBa/QI+RkRi9QBi9Qh65RI+Pjxq7QkqpYhy5RIuPjRy5Qh63RCC1RIePiSKzRiSxRn6Rg4uLiyKxRiavSCitSCSvSImJiSqrSiatSIeHhyypSiirSCqpSiynSoWFhS6lTHyJfjCjTHyHfjKhTDKhToODgzSfTmaNcIGBgTadTjKfTjabUDSdTjqZUDiZUH5+fjyXUjqXUDqXUj6VUjyVUj6TVHx8fD6TUkCRVEKPVHp6ekKNVnJ8dECPVESNVkaLVkSLVnh4eEiJWEaJVkaJWEiHWEqHWHZ2dkyFWkqFWE6DWkyDWk6BWlB+XFB+WlB8XFJ8XFR6XlR6XFJ6XGR0aFR4XlZ4Xlp0YFh2XlZ2XlxyYFh0YFpyYFxwYlxwYF5uYmZmZgAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJDwB5ACwAAAEADwAOAAAHpoB5goN4Hxdwg4l5b2Z5W1JMUnlpb4lvJywzKHBzMDYkMJWCZS15Fj6CWgt5LGSJOi95WgYFSHkeNINzVCQyUwEyNwFINyFSc3kKTml5BKh5TwR5akYKyVuCA7Z5UwN5cFIMeXFRKDdBAEhIATdPIU6ieTwqeUEDAjJ5LzOJZvw3NwahOlFmkBoYmSi46gGjITODYfJgUVLmSh4yahQNgsMgQcZEgQAAIfkECQ8AeQAsAAABAA8ADgAAB7CAeYJ5c15pgjo2eIODeEIXLExJQh1mjIM/aXhGUXlRW4xzZVcsGj6CWggwMEeLJxdMGHlaBgVIeSJfJGR5NUp5MlMBMjcBSDdwLId5QlJ5BKd5TwR5PE6DUUx5A7d5UwPMRIJpNnk3QQBISAE3T3MwOHlbJWMmeUEDAjJ5E1IbM3nsCNHRocKNQTtKYBmzKM8iL+LGJJmzJd6lPGQeMHESpUWJIxcdtgCYx0yYhnkCAQAh+QQJDwB5ACwAAAAADwAPAAAHqoB5goN5c4SHhEIoUYiDb3lvNk4wW2UoSYQlEEYhZXlqLFg2KIQtWGkNPoJVC2SMg2FOL3laBgVIeQ4zhFI2MlMBMjcBSDdOJFh5RD+CBKp5TwSCNUlwM06CA7h5UwN5Ui1feU41RjdBAEhIATdAEHCEFBF5QQMCMnkpRPCDRmo3OQS1AZEGgo5BaQ4YoQIjTZ4eLZpQ8DRISY85ZWjAqCEITyNBTpKMORQIACH5BAkPAHkALAAAAQAPAA4AAAemgHmCg3gfF3CDiXlvZnlbUkxSeWlviW8nLDMocHMwNiQwlYJlLXkWPoJaC3ksZIk6L3laBgVIeR40g3NUJDJTATI3AUg3IVJzeQpOaXkEqHlPBHlqRgrJW4IDtnlTA3lwUgx5cVEoN0EASEgBN08hTqJ5PCp5QQMCMnkvM4lm/Dc3BqE6UWaQGhiZKLjqAaMhM4Nh8mBRUuZKHjJqFA2CwyBBxkSBAAAh+QQJDwB5ACwAAAEADwAOAAAHsIB5gnlzXmmCOjZ4g4N4QhcsTElCHWaMgz9peEZReVFbjHNlVywaPoJaCDAwR4snF0wYeVoGBUh5Il8kZHk1SnkyUwEyNwFIN3Ash3lCUnkEp3lPBHk8ToNRTHkDt3lTA8xEgmk2eTdBAEhIATdPczA4eVslYyZ5QQMCMnkTUhszeewI0dGhwo1BO0pgGbMozyIv4sYkmbMl3qU8ZB4wcRKlRYkjFx22AJjHTJiGeQIBACH5BAkPAHkALAAAAAAPAA8AAAeqgHmCg3lzhIeEQihRiINveW82TjBbZShJhCUQRiFleWosWDYohC1YaQ0+glULZIyDYU4veVoGBUh5DjOEUjYyUwEyNwFIN04kWHlEP4IEqnlPBII1SXAzToIDuHlTA3lSLV95TjVGN0EASEgBN0AQcIQUEXlBAwIyeSlE8INGajc5BLUBkQaCjkFpDhihAiNNnh4tmlDwNEhJjzllaMCoIQhPI0FOkow5FAgAIfkECQ8AeQAsAAABAA8ADgAAB6aAeYKDeB8XcIOJeW9meVtSTFJ5aW+JbycsMyhwczA2JDCVgmUteRY+gloLeSxkiToveVoGBUh5HjSDc1QkMlMBMjcBSDchUnN5Ck5peQSoeU8EeWpGCslbggO2eVMDeXBSDHlxUSg3QQBISAE3TyFOonk8KnlBAwIyeS8ziWb8NzcGoTpRZpAaGJkouOoBoyEzg2HyYFFS5koeMmoUDYLDIEHGRIEAACH5BAkPAHkALAAAAQAPAA4AAAewgHmCeXNeaYI6NniDg3hCFyxMSUIdZoyDP2l4RlF5UVuMc2VXLBo+gloIMDBHiycXTBh5WgYFSHkiXyRkeTVKeTJTATI3AUg3cCyHeUJSeQSneU8EeTxOg1FMeQO3eVMDzESCaTZ5N0EASEgBN09zMDh5WyVjJnlBAwIyeRNSGzN57AjR0aHCjUE7SmAZsyjPIi/ixiSZsyXepTxkHjBxEqVFiSMXHbYAmMdMmIZ5AgEAOw==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .logout{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK6wAACusBgosNWgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAEYSURBVDiNpZOtTkNBEEbPFCQIUHgEBoJAYFDgERgSCBjSvU9Q0/AkX5+ApB6PI6lAYPhJUCgEgkApkHyI/nBpb28DPWozu3MyuzsTtpmG2f5CUs32BlABouBsAK8RUU8pPY4IImIfOLd9k4/n+IyII2AZGBUAM8BZlmXX48qVtAksFl6hx/y45B5N4C4fqExI+EVK6QJYkLT9L0GPJ+BU0hYUP9YAScfACtDh52c6wAPQlHRQKoiIN+B5WGC7DXzYfi8VVKvV5nCs0WgsRcSh7b0sy1qlgiJszwG1lFIL/viIknaAdkrpsh8bruBlgmOXbq8UduIXcCLpvkDc31+j20wDBgdty/Y6sMroMJnuda+A2/xGTDvO32OQXrvPg7l3AAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .logout{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKdQAACnUBSiXd/QAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAADvSURBVDiNpdO7LkRRFAbg7wwlBZVeoSEKEtHSayUSGs+g8RwqbyDR6ycaiYRC45KoVAqFuAySpdhzODn2mWMyf7KSvdflz7oWEWEUjFfee1hCB0XGt8AL9vGQI9jECa5r+hKf2MZsE8EYjnA1IOMVTDeVAJMDguEYt1VFpyWgji6msNaUwX/wiAN84LSNYAdz6PmdTA/3UjlbbQSveMoQvPUzeBcRpVxExGrl3yQzEdGNiOWIGLqJMCEt3TnDT2G9n/5Zqaj34LmFYEPalewmfmEXdxni0r4gdf8HVcdDLGLe32MKqdxL3FQNxajn/A0ZS19hUhhlTwAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .logout{background-image:url(data:image/gif;base64,R0lGODlhEAAQANUAAOPj4+Hh4dnZ2dXV1c3NzcvLy8fHx8PDw8HBwb+/v729vbu7u7W1ta2trampqaenp6Ojo6GhoZ2dnQzNOgjPOpeXlxq9Qhi9QI+Pj4uLi4mJiSatSCqpSjCjTDSfToGBgTadTjKfTjibUDqZUDqXUDyVUkCRVESNVnZ2dkyFWnR0dE6BWlB+XFB8XFR4Xlh2XlxwYF5uYmZmZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCAAyACwCAAEACwAOAAAGQMBGgUAsEgyoAEMSaTYlgwzgI6taZYkKQHO1ZlDb7jUsrpLLZ3G6ux5zxRgwVayoBBQPh17/EGQgCQiCgwcLKkEAIfkEBQgAMgAsBwAHAAEAAgAABgRA0ykIACH5BAUIADIALAgABwABAAIAAAYEwI4oCAAh+QQFCAAyACwJAAcAAgACAAAGBkCPhzQKAgAh+QQFCAAyACwLAAcAAQACAAAGBEDPKAgAIfkEBQgAMgAsDAAHAAIAAgAABgZA0KbECQIAIfkEBQgAMgAsDAAFAAIAAgAABgZAVypmCQIAIfkEBQgAMgAsDgAGAAIAAwAABgfAlYySmqyCACH5BAUIADIALAwACQADAAEAAAYFQNiFFQQAIfkEBQgAMgAsDAAKAAIAAQAABgTAFysIACH5BAkyADIALAIAAQAOAA4AAAYUQJlwSCwaj8ikcslsOp/QqHRqDAIAOw==)}.nps-container[data-v-d461c688]{color:var(--border-hover-focus-color);position:absolute;bottom:10em;right:1px;cursor:pointer;box-shadow:0 0 10px rgba(0,0,0,.1);background:var(--color-bg-2);border-top-left-radius:8px;border-bottom-left-radius:8px;overflow:hidden}.nps-container .nps-box[data-v-d461c688]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:15px 10px}.nps-container .nps-box[data-v-d461c688]:hover{color:#fff;background:var(--nps-box-hover-bg)}.nps-container .nps-box:hover span[data-v-d461c688]{color:#fff}.nps-container .nps-box span[data-v-d461c688]{color:var(--border-hover-focus-color)}.n-button[data-v-76a25600]{user-select:auto;line-height:inherit;font-size:inherit;text-align:left}.bt-layout[data-v-422be52e]{--n-color: #f2f2f2}.bt-layout[data-v-422be52e]>.n-layout-scroll-container{overflow-x:auto}.n-tag[data-v-a1cd50b0]{--n-height: 24px;--n-border-radius: 6px;min-width:24px;justify-content:center;font-weight:700;cursor:pointer}.n-layout-sider[data-v-ff1b92d5]{background:none}.n-layout-sider[data-v-ff1b92d5]:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--n-color);opacity:var(--menu-bg-opacity);z-index:-1}.n-menu[data-v-ff1b92d5]{--n-font-size: 14px;--n-item-height: 38px;--n-border-radius: 6px;--n-item-text-color: var(--color-sider-text);--n-item-icon-color: var(--color-primary);--n-item-color-hover: var(--color-sider-hover);--n-item-color-active: var(--color-sider-active);--n-item-text-color-hover: var(--color-sider-hover-text);--n-item-icon-color-hover: var(--color-primary);--n-item-text-color-active: var(--color-sider-active-text);--n-item-text-color-active-hover: var(--color-sider-active-text)}.n-menu[data-v-ff1b92d5] .n-menu-item:first-of-type{margin-top:0}.n-menu[data-v-ff1b92d5] .n-menu-item .n-menu-item-content:before{left:16px;right:16px;background-color:var(--color-sider);opacity:var(--menu-bg-opacity)}.n-menu[data-v-ff1b92d5] .n-menu-item .n-menu-item-content:not(.n-menu-item-content--disabled):hover:before{background-color:var(--n-item-color-hover);opacity:1}.n-menu[data-v-ff1b92d5] .n-menu-item .n-menu-item-content:not(.n-menu-item-content--disabled).n-menu-item-content--selected:before{background-color:var(--n-item-color-active);opacity:1}.n-layout-footer[data-v-5e6f10e3]{border-top-left-radius:10px;border-top-right-radius:10px}.layout-container[data-v-19d95428]:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-image:var(--main-bg-image);background-size:cover;background-position:top right;background-color:var(--color-bg-1);opacity:var(--main-bg-opacity)}.bt-layout[data-v-19d95428]{--n-color: transparent}.bt-layout[data-v-19d95428]>.n-layout-scroll-container{overflow-x:auto}.bt-table-input[data-v-e66e069a]{width:100%;padding:0;outline-offset:2px;border:1px solid transparent;background:transparent;white-space:pre-line;color:#666}.bt-table-input[data-v-e66e069a]:hover,.bt-table-input[data-v-e66e069a]:focus{border:1px solid var(--border-hover-focus-color);background-color:var(--color-bg-2)}#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;-webkit-transform:rotate(3deg) translate(0px,-4px);-ms-transform:rotate(3deg) translate(0px,-4px);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:solid 2px transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#abb2bf;background:#282c34}.hljs-comment,.hljs-quote{color:#5c6370;font-style:italic}.hljs-doctag,.hljs-keyword,.hljs-formula{color:#c678dd}.hljs-section,.hljs-name,.hljs-selector-tag,.hljs-deletion,.hljs-subst{color:#e06c75}.hljs-literal{color:#56b6c2}.hljs-string,.hljs-regexp,.hljs-addition,.hljs-attribute,.hljs-meta .hljs-string{color:#98c379}.hljs-attr,.hljs-variable,.hljs-template-variable,.hljs-type,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-number{color:#d19a66}.hljs-symbol,.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-title{color:#61aeee}.hljs-built_in,.hljs-title.class_,.hljs-class .hljs-title{color:#e6c07b}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-link{text-decoration:underline}.i-ant-design-border-outlined{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32m-40 728H184V184h656z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ant-design-close-outlined{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M799.855 166.312c.023.007.043.018.084.059l57.69 57.69c.041.041.052.06.059.084a.1.1 0 0 1 0 .069c-.007.023-.018.042-.059.083L569.926 512l287.703 287.703c.041.04.052.06.059.083a.12.12 0 0 1 0 .07c-.007.022-.018.042-.059.083l-57.69 57.69c-.041.041-.06.052-.084.059a.1.1 0 0 1-.069 0c-.023-.007-.042-.018-.083-.059L512 569.926L224.297 857.629c-.04.041-.06.052-.083.059a.12.12 0 0 1-.07 0c-.022-.007-.042-.018-.083-.059l-57.69-57.69c-.041-.041-.052-.06-.059-.084a.1.1 0 0 1 0-.069c.007-.023.018-.042.059-.083L454.073 512L166.371 224.297c-.041-.04-.052-.06-.059-.083a.12.12 0 0 1 0-.07c.007-.022.018-.042.059-.083l57.69-57.69c.041-.041.06-.052.084-.059a.1.1 0 0 1 .069 0c.023.007.042.018.083.059L512 454.073l287.703-287.702c.04-.041.06-.052.083-.059a.12.12 0 0 1 .07 0Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ant-design-minus-outlined{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ant-design-switcher-outlined{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32m-40 600H184V312h528zm168-728H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32M300 550h296v64H300z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ant-design\:clear-outlined{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6c-.3 1.5-.4 3-.4 4.4c0 14.4 11.6 26 26 26h723c1.5 0 3-.1 4.4-.4c14.2-2.4 23.7-15.9 21.2-30M204 390h272V182h72v208h272v104H204zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ant-design\:security-scan-outlined{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2M810 654.3L512 886.5L214 654.3V226.7l298-101.6l298 101.6zM402.9 528.8l-77.5 77.5a8.03 8.03 0 0 0 0 11.3l34 34c3.1 3.1 8.2 3.1 11.3 0l77.5-77.5c55.7 35.1 130.1 28.4 178.6-20.1c56.3-56.3 56.3-147.5 0-203.8s-147.5-56.3-203.8 0c-48.5 48.5-55.2 123-20.1 178.6m65.4-133.3c31.3-31.3 82-31.3 113.2 0c31.3 31.3 31.3 82 0 113.2c-31.3 31.3-82 31.3-113.2 0s-31.3-81.9 0-113.2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ant-design\:skin-outlined{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 0 0-37-29.3H154a44 44 0 0 0-44 44v252a44 44 0 0 0 44 44h75v388a44 44 0 0 0 44 44h478a44 44 0 0 0 44-44V466h75a44 44 0 0 0 44-44V170a44 44 0 0 0-44-44m-28 268H723v432H301V394H182V198h153.3c28.2 71.2 97.5 120 176.7 120s148.5-48.8 176.7-120H842z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon-calendar{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M26 4h-4V2h-2v2h-8V2h-2v2H6c-1.1 0-2 .9-2 2v20c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 22H6V12h20zm0-16H6V6h4v2h2V6h8v2h2V6h4z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon-search{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m29 27.586l-7.552-7.552a11.018 11.018 0 1 0-1.414 1.414L27.586 29ZM4 13a9 9 0 1 1 9 9a9.01 9.01 0 0 1-9-9'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon\:certificate{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m24 17l1.912 3.703l4.088.594L27 24l.771 4L24 25.75L20.229 28L21 24l-3-2.703l4.2-.594zM6 16h6v2H6zm0-4h10v2H6zm0-4h10v2H6z'/%3E%3Cpath fill='currentColor' d='M16 26H4V6h24v10h2V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h12Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon\:data-base{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M24 3H8a2 2 0 0 0-2 2v22a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m0 2v6H8V5ZM8 19v-6h16v6Zm0 8v-6h16v6Z'/%3E%3Ccircle cx='11' cy='8' r='1' fill='currentColor'/%3E%3Ccircle cx='11' cy='16' r='1' fill='currentColor'/%3E%3Ccircle cx='11' cy='24' r='1' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon\:ibm-cloud-direct-link-1-dedicated{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M27 29H13c-1.1 0-2-.9-2-2v-4h2v4h14V13h-4v-2h4c1.1 0 2 .9 2 2v14c0 1.1-.9 2-2 2'/%3E%3Cpath fill='currentColor' d='M19 21h-6c-1.1 0-2-.9-2-2v-6c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v6c0 1.1-.9 2-2 2m-6-8v6h6v-6z'/%3E%3Cpath fill='currentColor' d='M5 3h14c1.1 0 2 .9 2 2v4h-2V5H5v14h4v2H5c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon\:locked{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M24 14h-2V8a6 6 0 0 0-12 0v6H8a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V16a2 2 0 0 0-2-2M12 8a4 4 0 0 1 8 0v6h-8Zm12 20H8V16h16Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon\:meter{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M26 16a9.9 9.9 0 0 0-1.14-4.618l-1.495 1.496A7.95 7.95 0 0 1 24 16zm-2.586-6L22 8.586L17.285 13.3A3 3 0 0 0 16 13a3 3 0 1 0 3 3a3 3 0 0 0-.3-1.285zM16 17a1 1 0 1 1 1-1a1 1 0 0 1-1 1m0-9a8 8 0 0 1 3.122.635l1.496-1.496A9.986 9.986 0 0 0 6 16h2a8.01 8.01 0 0 1 8-8'/%3E%3Cpath fill='currentColor' d='M16 30a14 14 0 1 1 14-14a14.016 14.016 0 0 1-14 14m0-26a12 12 0 1 0 12 12A12.014 12.014 0 0 0 16 4'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon\:reminder{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m30 23.382l-2-1V20a6.005 6.005 0 0 0-5-5.91V12h-2v2.09A6.005 6.005 0 0 0 16 20v2.382l-2 1V28h6v2h4v-2h6ZM28 26H16v-1.382l2-1V20a4 4 0 0 1 8 0v3.618l2 1Z'/%3E%3Cpath fill='currentColor' d='M28 6a2 2 0 0 0-2-2h-4V2h-2v2h-8V2h-2v2H6a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h4v-2H6V6h4v2h2V6h8v2h2V6h4v6h2Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon\:security{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M14 16.59L11.41 14L10 15.41l4 4l8-8L20.59 10z'/%3E%3Cpath fill='currentColor' d='m16 30l-6.176-3.293A10.98 10.98 0 0 1 4 17V4a2 2 0 0 1 2-2h20a2 2 0 0 1 2 2v13a10.98 10.98 0 0 1-5.824 9.707ZM6 4v13a8.99 8.99 0 0 0 4.766 7.942L16 27.733l5.234-2.79A8.99 8.99 0 0 0 26 17V4Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon\:terminal{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M26 4.01H6a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-20a2 2 0 0 0-2-2m0 2v4H6v-4Zm-20 20v-14h20v14Z'/%3E%3Cpath fill='currentColor' d='m10.76 16.18l2.82 2.83l-2.82 2.83l1.41 1.41l4.24-4.24l-4.24-4.24z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon\:time{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 30a14 14 0 1 1 14-14a14 14 0 0 1-14 14m0-26a12 12 0 1 0 12 12A12 12 0 0 0 16 4'/%3E%3Cpath fill='currentColor' d='M20.59 22L15 16.41V7h2v8.58l5 5.01z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon\:warning{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m0 26a12 12 0 1 1 12-12a12 12 0 0 1-12 12'/%3E%3Cpath fill='currentColor' d='M15 8h2v11h-2zm1 14a1.5 1.5 0 1 0 1.5 1.5A1.5 1.5 0 0 0 16 22'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-common-arrow-right{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024' %3E%3Cpath fill='currentColor' d='M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-common-back{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1707188471958' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='35211'%3E%3Cpath d='M481.536 772.8a38.4 38.4 0 0 1-54.272 54.336l-288-288a38.4 38.4 0 0 1 0-54.336l288-288a38.4 38.4 0 1 1 54.272 54.336L259.2 473.6H870.4a38.4 38.4 0 1 1 0 76.8H259.136l222.4 222.4z' p-id='35212' fill='currentColor'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-common-refresh,.i-common\:refresh,[i-common-refresh=""],[i-common\:refresh=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M896.128 378.752a29.888 29.888 0 0 1-27.52-18.304 388.224 388.224 0 0 0-715.392 0 29.888 29.888 0 1 1-54.976-23.296 448 448 0 0 1 825.6 0 29.888 29.888 0 0 1-27.52 41.6z' fill='currentColor'/%3E%3Cpath d='M510.912 959.168a448.576 448.576 0 0 1-412.672-274.176 29.888 29.888 0 1 1 54.976-23.296 388.224 388.224 0 0 0 715.392 0 29.888 29.888 0 1 1 54.976 23.296 447.424 447.424 0 0 1-412.736 274.176z' fill='currentColor'/%3E%3Cpath d='M92.992 393.472a29.888 29.888 0 0 1-29.952-29.952V180.224a29.952 29.952 0 0 1 59.84 0V363.52a29.888 29.888 0 0 1-29.888 29.952z' fill='currentColor'/%3E%3Cpath d='M276.352 393.472H93.056a29.952 29.952 0 0 1 0-59.84h183.296a29.952 29.952 0 0 1 0 59.84z' fill='currentColor'/%3E%3Cpath d='M929.216 864.768a29.952 29.952 0 0 1-29.952-29.952V651.52a29.952 29.952 0 1 1 59.84 0v183.296a29.952 29.952 0 0 1-29.888 29.952z' fill='currentColor'/%3E%3Cpath d='M929.216 681.6h-183.296a29.952 29.952 0 1 1 0-59.84h183.296a29.952 29.952 0 0 1 0 59.84z' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-common-search{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3E%3Cpath d='M456.69 421.39L362.6 327.3a173.81 173.81 0 0 0 34.84-104.58C397.44 126.38 319.06 48 222.72 48S48 126.38 48 222.72s78.38 174.72 174.72 174.72A173.81 173.81 0 0 0 327.3 362.6l94.09 94.09a25 25 0 0 0 35.3-35.3zM97.92 222.72a124.8 124.8 0 1 1 124.8 124.8a124.95 124.95 0 0 1-124.8-124.8z' fill='currentColor'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-common-warning{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1658198918096' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='3020'%3E%3Cpath d='M512 64q190.016 4.992 316.512 131.488T960 512q-4.992 190.016-131.488 316.512T512 960q-190.016-4.992-316.512-131.488T64 512q4.992-190.016 131.488-316.512T512 64z m0 192q-26.016 0-43.008 19.008T453.984 320l23.008 256q2.016 14.016 11.488 22.496t23.488 8.512 23.488-8.512 11.488-22.496l23.008-256q2.016-26.016-15.008-44.992T511.936 256z m0 512q22.016-0.992 36.512-15.008t14.496-36-14.496-36.512T512 665.984t-36.512 14.496-14.496 36.512 14.496 36T512 768z' fill='currentColor' p-id='3021'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-common\:feedback{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.6665 10V17.5H3.33313V2.5L10.8331 2.49996' stroke='%233A424D' stroke-width='1.5' stroke-linecap='square'/%3E%3Cpath d='M16.6669 3.33332L10.0002 9.99999' stroke='%233BAF52' stroke-width='1.5'/%3E%3Cpath d='M6.66687 13.3333L13.3335 13.3333' stroke='%233A424D' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-common\:feedback-dark{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.6665 10.0001V17.5H3.33313V2.50004L10.8331 2.5' stroke='%23C7C7C7' stroke-width='1.5' stroke-linecap='square'/%3E%3Cpath d='M16.6669 3.33337L10.0002 10' stroke='%2320a53a' stroke-width='1.5'/%3E%3Cpath d='M6.66687 13.3334L13.3335 13.3334' stroke='%23C7C7C7' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-common\:fire{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill='none' customFrame='%23000000'%3E%3Crect id='控件/红点/火' x='0.000000' y='0.000000' fill='rgb(255,255,255)' fill-opacity='0'/%3E%3Cg id='Group 23'%3E%3Ccircle id='Oval 3' cx='9' cy='9' r='9' fill='rgb(255,143,0)'/%3E%3Ccircle id='Oval 3' cx='9' cy='9' r='9' stroke='rgb(151,151,151)' stroke-opacity='0' stroke-width='0'/%3E%3Cpath id='形状' d='M8.7772 2C8.7772 2 6.92746 6.03452 5.11464 8.08207C2.74809 10.7552 4.45539 14.0743 7.38007 14.8398C7.38007 14.8398 6.05756 13.5418 7.61239 11.2286C8.50315 9.90333 9.04363 9.22321 9.04363 9.22321C9.04122 9.22321 8.78924 10.9791 10.0199 12.0311C11.2388 13.0732 10.7489 14.8398 10.7489 14.8398C10.7489 14.8398 15.2513 13.3263 13.6592 9.09562C13.6592 9.09562 13.1865 7.71814 12.1055 6.73028C12.1055 6.73028 12.2424 8.37659 11.7805 8.41992C11.3183 8.46326 11.0081 8.17356 10.8043 6.05458C10.6394 4.33926 9.73096 3.34337 8.7772 2Z' fill='rgb(255,255,255)' fill-rule='evenodd'/%3E%3C/g%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-common\:google{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234285f4' d='M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z'/%3E%3Cpath fill='%2334a853' d='M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z'/%3E%3Cpath fill='%23fbbc05' d='M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z'/%3E%3Cpath fill='%23ea4335' d='M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-common\:lang{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 15.1054H7L9.5 17.0001L11.5 15.1054H15C16.1046 15.1054 17 14.2099 17 13.1054V5.05273C17 3.94816 16.1046 3.05273 15 3.05273H4C2.89543 3.05273 2 3.94816 2 5.05273V13.1054C2 14.2099 2.89543 15.1054 4 15.1054Z' stroke='currentColor' stroke-width='1.5'/%3E%3Cpath d='M6 13L8.8 6H10.2L13 13' stroke='currentColor' stroke-width='1.5'/%3E%3Cpath d='M7 10H12' stroke='currentColor' stroke-width='1.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-common\:loading{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024' data-v-ea893728=''%3E%3Cpath d='M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z'%3E%3C/path%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-common\:pro{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 16 17' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_1_3186)'%3E%3Cpath d='M12.8 0.5H3.2L0 6.3L8 16.7L16 6.3L12.8 0.5ZM8 12.276L3.592 6.1H5.552L8 9.524L10.448 6.1H12.416L8 12.276Z' fill='currentColor'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_1_3186'%3E%3Crect width='16' height='16' fill='white' transform='translate(0 0.5)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-dashicons\:admin-site-alt3{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 20 20' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M9 0a9 9 0 1 0 0 18A9 9 0 0 0 9 0M1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84a7.9 7.9 0 0 1-.73-2.7m8.57-5.4V1.19a4.13 4.13 0 0 1 2.22 2q.308.521.54 1.08zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7zM8.32 1.19v3.09H5.56A8.5 8.5 0 0 1 6.1 3.2a4.13 4.13 0 0 1 2.22-2.01m0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7zm-4.7 2.69H1.11a7.9 7.9 0 0 1 .73-2.7H4a14 14 0 0 0-.38 2.7M4.7 9.68h3.62v2.7H5.11a13 13 0 0 1-.41-2.7m3.63 4v3.09a4.13 4.13 0 0 1-2.22-2a8.5 8.5 0 0 1-.54-1.08zm1.35 3.09v-3.04h2.76a8.5 8.5 0 0 1-.54 1.08a4.13 4.13 0 0 1-2.22 2zm0-4.44v-2.7h3.62a13 13 0 0 1-.41 2.7zm4.71-2.7h2.51a7.9 7.9 0 0 1-.73 2.7H14c.21-.87.337-1.757.38-2.65zm0-1.35A14 14 0 0 0 14 5.63h2.16c.403.85.65 1.764.73 2.7zm1-4H13.6a8.9 8.9 0 0 0-1.39-2.52a8 8 0 0 1 3.14 2.52zm-9.6-2.52A8.9 8.9 0 0 0 4.4 4.28H2.65a8 8 0 0 1 3.14-2.52m-3.15 12H4.4a8.9 8.9 0 0 0 1.39 2.52a8 8 0 0 1-3.14-2.55zm9.56 2.52a8.9 8.9 0 0 0 1.39-2.52h1.76a8 8 0 0 1-3.14 2.48z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-docker\:compose{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1750641044372' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='5832'%3E%3Cpath d='M232.96 15.36H41.984C18.944 15.36 0 34.304 0 57.344v190.976c0 23.04 18.944 41.984 41.984 41.984h190.976c23.04 0 41.984-18.944 41.984-41.984V57.344c0.512-23.04-18.432-41.984-41.984-41.984z m-1.024 219.136c0 7.168-6.144 12.288-12.8 12.288H56.32c-7.168 0-12.8-6.144-12.8-12.288V71.68c0-7.168 6.144-12.288 12.8-12.288h162.816c7.168 0 12.8 6.144 12.8 12.288v162.816zM232.96 370.688H41.984c-23.04 0-41.984 18.944-41.984 41.984v190.976c0 23.04 18.944 41.984 41.984 41.984h190.976c23.04 0 41.984-18.944 41.984-41.984V412.16c0.512-23.552-18.432-41.472-41.984-41.472z m-1.024 218.624c0 7.168-6.144 12.288-12.8 12.288H56.32c-7.168 0-12.8-6.144-12.8-12.288V425.984c0-7.168 6.144-12.288 12.8-12.288h162.816c7.168 0 12.8 6.144 12.8 12.288v163.328zM232.96 724.992H41.984c-23.04 0-41.984 18.944-41.984 41.984v190.976c0 23.04 18.944 41.984 41.984 41.984h190.976c23.04 0 41.984-18.944 41.984-41.984v-190.976c0.512-23.04-18.432-41.984-41.984-41.984z m-1.024 219.136c0 7.168-6.144 12.288-12.8 12.288H56.32c-7.168 0-12.8-6.144-12.8-12.288v-162.816c0-7.168 6.144-12.288 12.8-12.288h162.816c7.168 0 12.8 6.144 12.8 12.288v162.816zM982.016 15.36H397.312c-23.04 0-41.984 18.944-41.984 41.984v190.976c0 23.04 18.944 41.984 41.984 41.984h584.704c23.04 0 41.984-18.944 41.984-41.984V57.344c-0.512-23.04-18.944-41.984-41.984-41.984z m-2.048 219.136c0 7.168-6.144 12.288-12.8 12.288H411.136c-7.168 0-12.8-6.144-12.8-12.288V71.68c0-7.168 6.144-12.288 12.8-12.288H967.68c7.168 0 12.8 6.144 12.8 12.288v162.816h-0.512zM982.016 370.688H397.312c-23.04 0-41.984 18.944-41.984 41.984v190.976c0 23.04 18.944 41.984 41.984 41.984h584.704c23.04 0 41.984-18.944 41.984-41.984V412.16c-0.512-23.552-18.944-41.472-41.984-41.472z m-2.048 218.624c0 7.168-6.144 12.288-12.8 12.288H411.136c-7.168 0-12.8-6.144-12.8-12.288V425.984c0-7.168 6.144-12.288 12.8-12.288H967.68c7.168 0 12.8 6.144 12.8 12.288v163.328h-0.512zM982.016 724.992H397.312c-23.04 0-41.984 18.944-41.984 41.984v190.976c0 23.04 18.944 41.984 41.984 41.984h584.704c23.04 0 41.984-18.944 41.984-41.984v-190.976c-0.512-23.04-18.944-41.984-41.984-41.984z m-2.048 219.136c0 7.168-6.144 12.288-12.8 12.288H411.136c-7.168 0-12.8-6.144-12.8-12.288v-162.816c0-7.168 6.144-12.288 12.8-12.288H967.68c7.168 0 12.8 6.144 12.8 12.288v162.816h-0.512z' fill='currentColor' p-id='5833'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-docker\:container{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1750640949761' viewBox='0 0 1031 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='4657'%3E%3Cpath d='M248.332363 1023.995632a21.839416 21.839416 0 0 1-11.374696-3.093917L11.374696 890.684195A22.749392 22.749392 0 0 1 0 871.02872V610.593681a22.931387 22.931387 0 0 1 11.374696-19.746472L236.593677 460.629689a23.022385 23.022385 0 0 1 22.749392 0l225.855963 130.21752a22.931387 22.931387 0 0 1 11.374696 19.746472v260.435039a22.749392 22.749392 0 0 1-11.374696 19.655475l-225.491973 130.21752a22.294404 22.294404 0 0 1-11.374696 3.093917zM45.498784 857.925071l202.833579 117.022872 202.742581-117.022872V623.697331L248.332363 506.674458 45.498784 623.697331z m428.325552 13.103649zM782.579084 1023.995632a22.294404 22.294404 0 0 1-11.374696-3.093917L545.985408 890.684195a22.749392 22.749392 0 0 1-11.374696-19.655475V610.593681A22.931387 22.931387 0 0 1 545.985408 590.847209l225.491973-130.21752a23.022385 23.022385 0 0 1 22.749392 0l225.582971 130.21752a22.931387 22.931387 0 0 1 11.374696 19.746472v260.435039a22.749392 22.749392 0 0 1-11.374696 19.655475l-225.582971 130.21752a21.839416 21.839416 0 0 1-11.647689 3.093917zM580.109496 857.925071L782.579084 974.947943l202.833579-117.022872V623.697331L782.579084 506.674458 580.109496 623.697331z m428.325552 13.103649zM512.862293 566.368863a21.839416 21.839416 0 0 1-11.374696-3.093917L275.904626 433.057426a22.749392 22.749392 0 0 1-11.374696-19.655475V152.966912a22.931387 22.931387 0 0 1 11.374696-19.746473L501.487597 3.00292a23.022385 23.022385 0 0 1 22.749392 0l225.491973 130.217519a22.931387 22.931387 0 0 1 11.374696 19.746473v260.435039a22.749392 22.749392 0 0 1-11.374696 19.655475L524.236989 563.274946a22.294404 22.294404 0 0 1-11.374696 3.093917zM310.028714 400.389299l202.833579 116.931875L715.604874 400.389299V166.070562L512.862293 49.047689 310.028714 166.070562z m428.325552 13.10365z' p-id='4658' fill='currentColor'%3E%3C/path%3E%3Cpath d='M512.862293 297.380052a23.295377 23.295377 0 0 1-11.465694-3.093917l-142.593189-82.443797a22.749392 22.749392 0 0 1 0-39.401947L501.396599 89.996595a23.20438 23.20438 0 0 1 22.84039 0L666.830178 172.895379a22.749392 22.749392 0 0 1 0 39.401947l-142.593189 81.988809a23.20438 23.20438 0 0 1-11.374696 3.093917zM415.67689 192.186864l97.185403 56.145499L609.683705 192.186864 512.862293 136.496352zM248.332363 763.560593a22.385402 22.385402 0 0 1-11.738686-3.093918l-142.593189-81.897811a22.931387 22.931387 0 0 1-11.374696-19.746472 22.749392 22.749392 0 0 1 11.374696-19.655475L236.593677 556.268133a22.749392 22.749392 0 0 1 22.840389 0l142.593189 82.443796a22.749392 22.749392 0 0 1 11.374696 19.655475 22.931387 22.931387 0 0 1-11.374696 19.746472l-142.593189 81.897812a22.294404 22.294404 0 0 1-11.101703 3.548905zM151.14696 658.367404l97.185403 56.1455L345.790758 658.367404l-97.458395-56.145499zM782.579084 763.560593a22.294404 22.294404 0 0 1-11.374696-3.093918l-142.593189-81.897811a22.931387 22.931387 0 0 1-11.374696-19.746472 22.749392 22.749392 0 0 1 11.374696-19.655475l142.593189-82.443796a22.749392 22.749392 0 0 1 22.84039 0L937.27495 638.711929a22.749392 22.749392 0 0 1 11.374696 19.655475 22.931387 22.931387 0 0 1-11.374696 19.746472l-142.593189 81.897812a22.385402 22.385402 0 0 1-12.102677 3.548905zM685.757672 658.367404L782.579084 714.512904l97.185403-56.1455L782.579084 602.221905z' p-id='4659' fill='currentColor'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-docker\:image{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1750641093279' viewBox='0 0 1117 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='6884'%3E%3Cpath d='M442.898361 116.049051l2.23404 0.74468L74.840328 1.368349A61.901515 61.901515 0 0 0 0 61.966675v883.283427a61.9946 61.9946 0 0 0 74.840328 60.598326l379.507486-118.124847a77.074368 77.074368 0 0 0 41.981329-68.510549V189.58619a77.539793 77.539793 0 0 0-53.430782-73.537139zM403.244157 792.218386L93.084986 874.412428V132.618179l310.159171 82.380212v577.12691zM1054.466716 0.065159a77.260538 77.260538 0 0 0-12.845728 1.30319L675.796995 115.490542l1.30319-0.18617a77.446708 77.446708 0 0 0-56.968012 74.467988v629.161417c0 29.88028 17.034552 55.850991 41.981329 68.696719l379.228231 118.217932a61.9946 61.9946 0 0 0 75.026498-60.691411V61.966675a61.529175 61.529175 0 0 0-61.901515-61.808431z' fill='currentColor' opacity='.801' p-id='6885'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-docker\:mirror{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1750641157017' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='10179'%3E%3Cpath d='M528.832 106.432l352 217.92a32 32 0 0 1 15.168 27.2V896a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V351.552a32 32 0 0 1 15.168-27.2l352-217.92a32 32 0 0 1 33.664 0zM512 171.264l-320 198.08V864h640V369.344l-320-198.08z m-253.44 212.832l3.712 0.512 213.344 42.688a32 32 0 0 1 25.504 27.616l0.224 3.744v298.688a32 32 0 0 1-22.08 30.4l-3.648 0.96-213.344 42.688a32 32 0 0 1-38.08-27.68L224 800V416a32 32 0 0 1 34.56-31.904zM800 416v384a32 32 0 0 1-38.272 31.36l-213.344-42.656a32 32 0 0 1-25.728-31.36v-298.688a32 32 0 0 1 25.728-31.36l213.344-42.688A32 32 0 0 1 800 416zM287.968 455.008v305.952l149.344-29.856v-246.24l-149.344-29.856z m448.032 0l-149.344 29.856v246.24L736 760.96v-305.952z' p-id='10180' fill='currentColor'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-docker\:network{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1750641121238' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='8080'%3E%3Cpath d='M372.305 745.773C403.023 787.057 441.673 822.09 486 848.615v-127.74c-39.818 2.647-78.01 11.24-113.695 24.898z m-51.609 24.217a392.912 392.912 0 0 0-60.194 41.64h-1.271c56.974 48.113 127.858 80.27 205.76 89.58-57.186-32.69-106.475-77.62-144.295-131.22zM295.985 540c4.004 56.745 20.087 110.155 45.691 157.675 44.903-18.522 93.476-29.956 144.324-32.91V540H295.985z m-56.124 0H120.985c6.296 89.215 42.447 170.188 98.523 232.989a449.204 449.204 0 0 1 71.8-50.725C262.051 667.323 243.903 605.57 239.86 540z m445.864 158.764c25.95-47.793 42.251-101.585 46.29-158.764H541v124.899c51.032 3.215 99.745 14.975 144.725 33.865z m50.207 24.904a449.248 449.248 0 0 1 68.903 48.937c55.88-62.746 91.897-143.571 98.18-232.605H788.138c-4.08 66.13-22.507 128.377-52.206 183.668zM541 849.194c44.394-26.387 83.134-61.292 113.965-102.46-35.735-13.96-74.02-22.825-113.965-25.706v128.166z m23.097 51.374c75.9-10.079 144.941-41.875 200.672-88.937h-0.484a392.964 392.964 0 0 0-57.91-40.348c-37.456 52.683-86.02 96.917-142.278 129.285z m-222.315-574.44c-25.666 47.57-41.787 101.05-45.797 157.872H486V358.884c-50.804-2.916-99.34-14.297-144.218-32.755z m-50.397-24.538a449.186 449.186 0 0 1-71.828-50.634C163.453 313.765 127.283 394.76 120.985 484H239.86c4.047-65.628 22.223-127.432 51.524-182.41zM486 175.385c-44.257 26.483-82.856 61.448-113.551 102.648 35.648 13.593 73.79 22.132 113.551 24.744V175.385z m-21.01-52.595c-77.702 9.286-148.422 41.303-205.321 89.21h0.518a392.903 392.903 0 0 0 60.606 41.872c37.808-53.54 87.06-98.42 144.198-131.082zM654.7 276.878c-30.788-41.016-69.433-75.796-113.7-102.108v127.81c39.849-2.906 78.045-11.77 113.7-25.702z m51.415-24.562A392.966 392.966 0 0 0 763.97 212h0.361c-55.635-46.843-124.483-78.493-200.153-88.558 56.093 32.29 104.535 76.377 141.937 128.874zM732.017 484c-4.045-57.343-20.423-111.282-46.498-159.179C640.6 343.7 591.959 355.465 541 358.712V484h191.017z m56.123 0h114.875c-6.295-89.205-42.439-170.17-98.504-232.968a449.25 449.25 0 0 1-68.79 48.87c29.828 55.4 48.333 117.798 52.42 184.098zM512 960C264.576 960 64 759.424 64 512S264.576 64 512 64s448 200.576 448 448-200.576 448-448 448z' fill='currentColor' p-id='8081'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-docker\:volume{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1750641138362' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='9125'%3E%3Cpath d='M925.27 269.25V758c0 112.46-185.35 203.64-414 203.64s-414-91.18-414-203.64V269.25c0-112.46 185.34-203.63 414-203.63s414 91.17 414 203.63zM842.47 758V269.25c0-43.07-125.73-122.18-331.18-122.18s-331.18 79.11-331.18 122.18V758c0 43.07 125.73 122.18 331.18 122.18S842.47 801.05 842.47 758z' fill='currentColor' p-id='9126'%3E%3C/path%3E%3Cpath d='M925.27 269.25c0 112.47-185.35 203.64-414 203.64s-414-91.17-414-203.64 185.34-203.63 414-203.63 414 91.17 414 203.63z m-82.8 0c0-43.07-125.73-122.18-331.18-122.18s-331.18 79.11-331.18 122.18 125.73 122.18 331.18 122.18 331.18-79.1 331.18-122.18z' fill='currentColor' p-id='9127'%3E%3C/path%3E%3Cpath d='M511.29 554.34c-205.45 0-331.18-79.1-331.18-122.18H97.32c0 112.47 185.34 203.64 414 203.64s414-91.17 414-203.64h-82.8c-0.05 43.08-125.78 122.18-331.23 122.18z' fill='currentColor' p-id='9128'%3E%3C/path%3E%3Cpath d='M511.29 717.25c-205.45 0-331.18-79.11-331.18-122.18H97.32c0 112.47 185.34 203.64 414 203.64s414-91.17 414-203.64h-82.8c-0.05 43.07-125.78 122.18-331.23 122.18z' fill='currentColor' p-id='9129'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-domain\:setting{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill='currentColor'%3E%3Crect id='资源管理' x='0.000000' y='0.000000' fill='currentColor' fill-opacity='0'/%3E%3Cpath id='形状结合' d='M2.57806 1.40698L13.2342 1.40698C13.8256 1.40698 14.305 1.88637 14.305 2.47772L14.305 4.90995C14.305 5.25242 14.1442 5.55733 13.894 5.75333C13.4005 5.55625 12.8918 5.68477 12.5228 5.98068L10.9975 5.98068C10.6393 5.68927 10.1742 5.57036 9.67089 5.73813L9.36093 5.87039C9.2799 5.90655 9.20049 5.9433 9.12263 5.98068L2.57806 5.98068C1.98671 5.98068 1.50732 5.5013 1.50732 4.90995L1.50732 2.47772C1.50732 1.88637 1.98671 1.40698 2.57806 1.40698ZM8.10536 6.56504L2.57806 6.56504C1.98671 6.56504 1.50732 7.04442 1.50732 7.63577L1.50732 10.068C1.50732 10.6594 1.98671 11.1387 2.57806 11.1387L5.3785 11.1387C5.39874 10.9888 5.42464 10.8357 5.45625 10.6777L5.49351 10.5374C5.53804 10.4038 5.59925 10.279 5.67447 10.1653L2.57806 10.1653C2.5243 10.1653 2.48072 10.1218 2.48072 10.068L2.48072 7.63577C2.48072 7.58201 2.5243 7.53843 2.57806 7.53843L7.15438 7.53843C7.23545 7.32313 7.37166 7.12735 7.5631 6.97539L7.62866 6.92808L7.78482 6.80023C7.8886 6.71909 7.99532 6.64078 8.10536 6.56504ZM5.32766 11.7231L2.57806 11.7231C1.98671 11.7231 1.50732 12.2025 1.50732 12.7938L1.50732 15.2261C1.50732 15.8174 1.98671 16.2968 2.57806 16.2968L7.1537 16.2968C7.03764 15.9974 7.02133 15.657 7.15365 15.3234L2.57806 15.3234C2.5243 15.3234 2.48072 15.2798 2.48072 15.2261L2.48072 12.7938C2.48072 12.7401 2.5243 12.6965 2.57806 12.6965L5.37289 12.6965C5.35414 12.5489 5.34066 12.3997 5.33263 12.2516L5.32382 11.931C5.32382 11.8618 5.3251 11.7925 5.32766 11.7231ZM13.2342 2.38038L2.57806 2.38038C2.5243 2.38038 2.48072 2.42396 2.48072 2.47772L2.48072 4.90995C2.48072 4.96371 2.5243 5.00729 2.57806 5.00729L13.2342 5.00729C13.288 5.00729 13.3316 4.96371 13.3316 4.90995L13.3316 2.47772C13.3316 2.42396 13.288 2.38038 13.2342 2.38038Z' fill='rgb(251,252,251)' fill-rule='evenodd'/%3E%3Cpath id='路径' d='M10.2593 16.5606C9.67847 16.3556 9.13184 16.0481 8.65354 15.604C8.58521 15.5356 8.55104 15.4331 8.58521 15.3648C8.75603 14.8523 8.6877 14.3057 8.41438 13.8616C8.14107 13.3833 7.7311 13.0758 7.21863 12.9733C7.11613 12.9391 7.04781 12.8708 7.04781 12.7683C6.97948 12.4608 6.94531 12.1192 6.94531 11.8117C6.94531 11.5042 6.97948 11.1967 7.04781 10.8551C7.08197 10.7526 7.1503 10.6843 7.21863 10.6501C7.7311 10.5135 8.17523 10.206 8.41438 9.76184C8.6877 9.28353 8.72187 8.77106 8.58521 8.2586C8.55104 8.15611 8.58521 8.05361 8.65354 8.01945C9.13184 7.60947 9.67847 7.30199 10.2593 7.06284C10.3618 7.02868 10.4301 7.06284 10.4984 7.13117C10.8742 7.50698 11.3525 7.74613 11.865 7.74613C12.3775 7.74613 12.8899 7.54114 13.2316 7.13117C13.2999 7.06284 13.4024 7.02868 13.4707 7.06284C14.0515 7.26783 14.5982 7.57531 15.0765 8.01945C15.1448 8.08778 15.179 8.19027 15.1448 8.2586C14.974 8.77106 15.0423 9.3177 15.3156 9.76184C15.5889 10.2401 15.9989 10.5476 16.5114 10.6501C16.6139 10.6843 16.6822 10.7526 16.6822 10.8551C16.7505 11.1626 16.7847 11.5042 16.7847 11.8117C16.7847 12.1192 16.7505 12.4267 16.6822 12.7683C16.648 12.8708 16.5797 12.9391 16.5114 12.9733C15.9989 13.11 15.5548 13.4174 15.3156 13.8616C15.0423 14.3399 15.0081 14.8523 15.1448 15.3648C15.179 15.4673 15.1448 15.5698 15.0765 15.604C14.5982 16.0139 14.0515 16.3214 13.4707 16.5606C13.3682 16.5947 13.2999 16.5606 13.2316 16.4922C12.8558 16.1164 12.3775 15.8773 11.865 15.8773C11.3525 15.8773 10.8401 16.0823 10.4984 16.4922C10.4643 16.5264 10.3959 16.5606 10.3276 16.5606C10.2934 16.5606 10.2593 16.5606 10.2593 16.5606Z' fill='rgb(255,255,255)' fill-opacity='0' fill-rule='evenodd'/%3E%3Cpath id='路径' d='M8.65354 15.604C8.58521 15.5356 8.55104 15.4331 8.58521 15.3648C8.75603 14.8523 8.6877 14.3057 8.41438 13.8616C8.14107 13.3833 7.7311 13.0758 7.21863 12.9733C7.11613 12.9391 7.04781 12.8708 7.04781 12.7683C6.97948 12.4608 6.94531 12.1192 6.94531 11.8117C6.94531 11.5042 6.97948 11.1967 7.04781 10.8551C7.08197 10.7526 7.1503 10.6843 7.21863 10.6501C7.7311 10.5135 8.17523 10.206 8.41438 9.76184C8.6877 9.28353 8.72187 8.77106 8.58521 8.2586C8.55104 8.15611 8.58521 8.05361 8.65354 8.01945C9.13184 7.60947 9.67847 7.30199 10.2593 7.06284C10.3618 7.02868 10.4301 7.06284 10.4984 7.13117C10.8742 7.50698 11.3525 7.74613 11.865 7.74613C12.3775 7.74613 12.8899 7.54114 13.2316 7.13117C13.2999 7.06284 13.4024 7.02868 13.4707 7.06284C14.0515 7.26783 14.5982 7.57531 15.0765 8.01945C15.1448 8.08778 15.179 8.19027 15.1448 8.2586C14.974 8.77106 15.0423 9.3177 15.3156 9.76184C15.5889 10.2401 15.9989 10.5476 16.5114 10.6501C16.6139 10.6843 16.6822 10.7526 16.6822 10.8551C16.7505 11.1626 16.7847 11.5042 16.7847 11.8117C16.7847 12.1192 16.7505 12.4267 16.6822 12.7683C16.648 12.8708 16.5797 12.9391 16.5114 12.9733C15.9989 13.11 15.5548 13.4174 15.3156 13.8616C15.0423 14.3399 15.0081 14.8523 15.1448 15.3648C15.179 15.4673 15.1448 15.5698 15.0765 15.604C14.5982 16.0139 14.0515 16.3214 13.4707 16.5606C13.3682 16.5947 13.2999 16.5606 13.2316 16.4922C12.8558 16.1164 12.3775 15.8773 11.865 15.8773C11.3525 15.8773 10.8401 16.0823 10.4984 16.4922C10.4643 16.5264 10.3959 16.5606 10.3276 16.5606C10.2934 16.5606 10.2593 16.5606 10.2593 16.5606C9.67847 16.3556 9.13184 16.0481 8.65354 15.604Z' fill-rule='evenodd' fill='rgb(255,255,255)' fill-opacity='0' stroke='rgb(251,252,251)' stroke-width='1.10000002'/%3E%3Cpath id='路径' d='M11.865 13.451C12.7694 13.451 13.476 12.7161 13.476 11.8117C13.476 10.9072 12.7412 10.1724 11.865 10.1724C10.9605 10.1724 10.2539 10.9072 10.2539 11.8117C10.2539 12.7161 10.9888 13.451 11.865 13.451L11.865 13.451Z' fill='rgb(0,0,0)' fill-opacity='0' fill-rule='evenodd'/%3E%3Cpath id='路径' d='M13.476 11.8117C13.476 10.9072 12.7412 10.1724 11.865 10.1724C10.9605 10.1724 10.2539 10.9072 10.2539 11.8117C10.2539 12.7161 10.9888 13.451 11.865 13.451L11.865 13.451C12.7694 13.451 13.476 12.7161 13.476 11.8117Z' fill-rule='evenodd' stroke='rgb(251,252,251)' stroke-width='1.10000002'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-check{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 1 0-45.248 45.248l256 256l512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-close{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M764.288 214.592L512 466.88L259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512L214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-close-bold{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504L738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512L828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496L285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512L195.2 285.696a64 64 0 0 1 0-90.496'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-document{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-document-copy{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-location{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544'/%3E%3Cpath fill='currentColor' d='M512 512a96 96 0 1 0 0-192a96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320a160 160 0 0 1 0 320'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-monitor{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M544 768v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768H192A128 128 0 0 1 64 640V256a128 128 0 0 1 128-128h640a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128zM192 192a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-operation{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-plus{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-question-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M512 64a448 448 0 1 1 0 896a448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352c-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992c13.376-19.712 35.2-28.864 66.176-28.864c23.936 0 42.944 6.336 56.32 19.712c12.672 13.376 19.712 31.68 19.712 54.912c0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408c-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76c6.336-12.672 15.488-24.64 28.16-35.2c33.792-29.568 54.208-48.576 60.544-55.616c16.896-22.528 26.048-51.392 26.048-86.592q0-64.416-42.24-101.376c-28.16-25.344-65.472-37.312-111.232-37.312m-12.672 406.208a54.27 54.27 0 0 0-38.72 14.784a49.4 49.4 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.85 54.85 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72a51.97 51.97 0 0 0-15.488-38.016a55.94 55.94 0 0 0-39.424-14.784'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-refresh-right{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384a384 384 0 0 1-384-384a384 384 0 0 1 643.712-282.88'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-search{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m795.904 750.72l124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704a352 352 0 0 0 0 704'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-select{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M77.248 415.04a64 64 0 0 1 90.496 0l226.304 226.304L846.528 188.8a64 64 0 1 1 90.56 90.496l-543.04 543.04l-316.8-316.8a64 64 0 0 1 0-90.496'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-setting{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357 357 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a352 352 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357 357 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088l-24.512 11.968a294 294 0 0 0-34.816 20.096l-22.656 15.36l-116.224-25.088l-65.28 113.152l79.68 88.192l-1.92 27.136a293 293 0 0 0 0 40.192l1.92 27.136l-79.808 88.192l65.344 113.152l116.224-25.024l22.656 15.296a294 294 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152l24.448-11.904a288 288 0 0 0 34.752-20.096l22.592-15.296l116.288 25.024l65.28-113.152l-79.744-88.192l1.92-27.136a293 293 0 0 0 0-40.256l-1.92-27.136l79.808-88.128l-65.344-113.152l-116.288 24.96l-22.592-15.232a288 288 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384a192 192 0 0 1 0-384m0 64a128 128 0 1 0 0 256a128 128 0 0 0 0-256'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-top{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M572.235 205.282v600.365a30.118 30.118 0 1 1-60.235 0V205.282L292.382 438.633a28.913 28.913 0 0 1-42.646 0a33.43 33.43 0 0 1 0-45.236l271.058-288.045a28.913 28.913 0 0 1 42.647 0L834.5 393.397a33.43 33.43 0 0 1 0 45.176a28.913 28.913 0 0 1-42.647 0l-219.618-233.23z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-fa-solid\:external-link-alt{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 512 512' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M432 320h-32a16 16 0 0 0-16 16v112H64V128h144a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16H48a48 48 0 0 0-48 48v352a48 48 0 0 0 48 48h352a48 48 0 0 0 48-48V336a16 16 0 0 0-16-16M488 0H360c-21.37 0-32.05 25.91-17 41l35.73 35.73L135 320.37a24 24 0 0 0 0 34L157.67 377a24 24 0 0 0 34 0l243.61-243.68L471 169c15 15 41 4.5 41-17V24a24 24 0 0 0-24-24'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-fa\:angle-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1280' display='inline-flex' width='0.8em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M1011 480q0 13-10 23L535 969q-10 10-23 10t-23-10L23 503q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393l393-393q10-10 23-10t23 10l50 50q10 10 10 23'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:.8em;height:1em}.i-fa\:folder-open-o{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1920 1408' display='inline-flex' width='1.37em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M1781 803q0-35-53-35H640q-40 0-85.5 21.5T483 842l-294 363q-18 24-18 40q0 35 53 35h1088q40 0 86-22t71-53l294-363q18-22 18-39M640 640h768V480q0-40-28-68t-68-28H736q-40 0-68-28t-28-68v-64q0-40-28-68t-68-28H224q-40 0-68 28t-28 68v853l256-315q44-53 116-87.5T640 640m1269 163q0 62-46 120l-295 363q-43 53-116 87.5t-140 34.5H224q-92 0-158-66T0 1184V224q0-92 66-158T224 0h320q92 0 158 66t66 158v32h544q92 0 158 66t66 158v160h192q54 0 99 24.5t67 70.5q15 32 15 68'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1.37em;height:1em}.i-fa\:lightbulb-o{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1536' display='inline-flex' width='0.67em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M736 448q0 13-9.5 22.5T704 480t-22.5-9.5T672 448q0-46-54-71t-106-25q-13 0-22.5-9.5T480 320t9.5-22.5T512 288q50 0 99.5 16t87 54t37.5 90m160 0q0-72-34.5-134t-90-101.5t-123-62T512 128t-136.5 22.5t-123 62t-90 101.5T128 448q0 101 68 180q10 11 30.5 33t30.5 33q128 153 141 298h228q13-145 141-298q10-11 30.5-33t30.5-33q68-79 68-180m128 0q0 155-103 268q-45 49-74.5 87T787 898.5T753 1006q47 28 47 82q0 37-25 64q25 27 25 64q0 52-45 81q13 23 13 47q0 46-31.5 71t-77.5 25q-20 44-60 70t-87 26t-87-26t-60-70q-46 0-77.5-25t-31.5-71q0-24 13-47q-45-29-45-81q0-37 25-64q-25-27-25-64q0-54 47-82q-4-50-34-107.5T177.5 803T103 716Q0 603 0 448q0-99 44.5-184.5t117-142t164-89T512 0t186.5 32.5t164 89t117 142T1024 448'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:.67em;height:1em}.i-fa6-solid-check{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 448 512' display='inline-flex' width='0.88em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7l233.4-233.3c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:.88em;height:1em}.i-famicons\:ellipsis-vertical{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 512 512' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Ccircle cx='256' cy='256' r='48' fill='currentColor'/%3E%3Ccircle cx='256' cy='416' r='48' fill='currentColor'/%3E%3Ccircle cx='256' cy='96' r='48' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-famicons\:pause-circle-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 512 512' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-miterlimit='10' stroke-width='32' d='M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192s192-86 192-192Z'/%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-miterlimit='10' stroke-width='32' d='M208 192v128m96-128v128'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-famicons\:play-circle-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 512 512' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-miterlimit='10' stroke-width='32' d='M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192s192-86 192-192Z'/%3E%3Cpath fill='currentColor' d='m216.32 334.44l114.45-69.14a10.89 10.89 0 0 0 0-18.6l-114.45-69.14a10.78 10.78 0 0 0-16.32 9.31v138.26a10.78 10.78 0 0 0 16.32 9.31'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-famicons\:settings-outline,[i-famicons\:settings-outline=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 512 512' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='32' d='M262.29 192.31a64 64 0 1 0 57.4 57.4a64.13 64.13 0 0 0-57.4-57.4M416.39 256a154 154 0 0 1-1.53 20.79l45.21 35.46a10.81 10.81 0 0 1 2.45 13.75l-42.77 74a10.81 10.81 0 0 1-13.14 4.59l-44.9-18.08a16.11 16.11 0 0 0-15.17 1.75A164.5 164.5 0 0 1 325 400.8a15.94 15.94 0 0 0-8.82 12.14l-6.73 47.89a11.08 11.08 0 0 1-10.68 9.17h-85.54a11.11 11.11 0 0 1-10.69-8.87l-6.72-47.82a16.07 16.07 0 0 0-9-12.22a155 155 0 0 1-21.46-12.57a16 16 0 0 0-15.11-1.71l-44.89 18.07a10.81 10.81 0 0 1-13.14-4.58l-42.77-74a10.8 10.8 0 0 1 2.45-13.75l38.21-30a16.05 16.05 0 0 0 6-14.08c-.36-4.17-.58-8.33-.58-12.5s.21-8.27.58-12.35a16 16 0 0 0-6.07-13.94l-38.19-30A10.81 10.81 0 0 1 49.48 186l42.77-74a10.81 10.81 0 0 1 13.14-4.59l44.9 18.08a16.11 16.11 0 0 0 15.17-1.75A164.5 164.5 0 0 1 187 111.2a15.94 15.94 0 0 0 8.82-12.14l6.73-47.89A11.08 11.08 0 0 1 213.23 42h85.54a11.11 11.11 0 0 1 10.69 8.87l6.72 47.82a16.07 16.07 0 0 0 9 12.22a155 155 0 0 1 21.46 12.57a16 16 0 0 0 15.11 1.71l44.89-18.07a10.81 10.81 0 0 1 13.14 4.58l42.77 74a10.8 10.8 0 0 1-2.45 13.75l-38.21 30a16.05 16.05 0 0 0-6.05 14.08c.33 4.14.55 8.3.55 12.47'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-file-dir{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3ClinearGradient id='paint_linear_404_103_0' x1='1.000000' y1='8.114033' x2='13.000000' y2='8.114033' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23FFE8A4'/%3E%3Cstop offset='0.996499' stop-color='%23FFD96F'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath id='path' d='M12.1727 2.75769L5.53442 2.75769C5.53442 2.70795 5.52966 2.65869 5.52026 2.60986C5.51074 2.5611 5.49683 2.51373 5.47827 2.46777C5.45972 2.42181 5.43701 2.37811 5.41003 2.33679C5.38318 2.29541 5.35254 2.25714 5.31836 2.22198C5.28406 2.18677 5.24683 2.1554 5.20654 2.12775C5.16626 2.1001 5.12378 2.07678 5.07898 2.05774C5.03418 2.0387 4.98816 2.02435 4.94055 2.01465C4.89307 2.00494 4.84509 2.00006 4.79663 2.00006L1.8468 2.00006C1.79834 2.00006 1.75037 2.00494 1.70288 2.01465C1.6554 2.02435 1.60925 2.0387 1.56458 2.05774C1.51978 2.07678 1.47729 2.1001 1.43701 2.12775C1.39673 2.1554 1.3595 2.18677 1.3252 2.22198C1.29089 2.25714 1.26038 2.29541 1.2334 2.33679C1.20654 2.37811 1.18384 2.42181 1.16528 2.46777C1.14673 2.51373 1.13281 2.5611 1.12329 2.60986C1.11389 2.65869 1.10913 2.70795 1.10913 2.75769L1.10913 5.03058C1.10913 5.44971 1.43872 5.78821 1.8468 5.78821L12.1737 5.78821C12.2222 5.78821 12.2701 5.78333 12.3176 5.77362C12.3652 5.76392 12.4113 5.74957 12.4561 5.73053C12.5009 5.71149 12.5433 5.68817 12.5836 5.66052C12.6239 5.63287 12.6611 5.60144 12.6954 5.56628C12.7296 5.53113 12.7603 5.49286 12.7871 5.45148C12.8141 5.4101 12.8368 5.36646 12.8553 5.3205C12.8739 5.27454 12.8878 5.22717 12.8973 5.17834C12.9067 5.12958 12.9115 5.08032 12.9115 5.03058L12.9115 3.51532C12.9115 3.46552 12.9067 3.4162 12.8972 3.36737C12.8878 3.31854 12.8738 3.27112 12.8552 3.22516C12.8367 3.17914 12.8138 3.1355 12.787 3.09412C12.76 3.05267 12.7294 3.0144 12.6951 2.97925C12.6608 2.94403 12.6234 2.91266 12.5831 2.88501C12.5427 2.85742 12.5002 2.83411 12.4553 2.81506C12.4105 2.79608 12.3644 2.78174 12.3168 2.77209C12.2693 2.76239 12.2212 2.75763 12.1727 2.75769Z' fill='%23FDCA48' fill-opacity='1.000000' fill-rule='nonzero'/%3E%3Cpath id='path' d='M11.436 3.51532L2.5835 3.51532C2.53503 3.51532 2.48706 3.5202 2.43958 3.52991C2.39209 3.53961 2.34595 3.55396 2.30127 3.573C2.25647 3.59204 2.21399 3.61536 2.17371 3.64301C2.13342 3.67065 2.09619 3.70203 2.06189 3.73724C2.02759 3.7724 1.99707 3.81067 1.97009 3.85205C1.94324 3.89337 1.92053 3.93707 1.90198 3.98303C1.88342 4.02899 1.86951 4.07635 1.85999 4.12512C1.85059 4.17395 1.84583 4.22321 1.84583 4.27295L1.84583 5.03058C1.84583 5.44971 2.17639 5.78821 2.5835 5.78821L11.4351 5.78821C11.4835 5.78821 11.5315 5.78333 11.579 5.77362C11.6265 5.76392 11.6726 5.74957 11.7173 5.73053C11.7621 5.71149 11.8046 5.68817 11.8448 5.66052C11.8851 5.63287 11.9224 5.6015 11.9567 5.56628C11.991 5.53113 12.0215 5.49286 12.0485 5.45148C12.0753 5.41016 12.098 5.36646 12.1166 5.3205C12.1351 5.27454 12.1492 5.22717 12.1586 5.17841C12.168 5.12958 12.1727 5.08032 12.1727 5.03058L12.1727 4.27295C12.1727 4.22327 12.168 4.17401 12.1586 4.12524C12.1492 4.07654 12.1351 4.02917 12.1167 3.98328C12.0981 3.93732 12.0754 3.89368 12.0486 3.85236C12.0217 3.81104 11.9912 3.77277 11.957 3.73761C11.9229 3.70239 11.8856 3.67102 11.8453 3.64337C11.8052 3.61572 11.7627 3.59235 11.718 3.5733C11.6733 3.5542 11.6272 3.53979 11.5798 3.53003C11.5323 3.52032 11.4844 3.51538 11.436 3.51532Z' fill='%23FFFFFF' fill-opacity='1.000000' fill-rule='nonzero'/%3E%3Cpath id='path' d='M12.2489 4.22803L1.75012 4.22803C1.70081 4.22803 1.65198 4.23218 1.60376 4.24048C1.55542 4.24878 1.50854 4.26105 1.46301 4.27734C1.41748 4.29358 1.37427 4.31354 1.33337 4.33716C1.29236 4.36078 1.25452 4.38763 1.21973 4.41772C1.18481 4.44781 1.15381 4.48053 1.12646 4.51587C1.099 4.55121 1.07593 4.58856 1.05713 4.62787C1.03821 4.66711 1.02405 4.70764 1.0144 4.74933C1.00476 4.79108 1 4.83319 1 4.87567L1 11.3524C1 11.7098 1.33508 12.0001 1.75012 12.0001L12.2499 12.0001C12.2992 12.0001 12.348 11.9959 12.3962 11.9876C12.4446 11.9793 12.4915 11.967 12.537 11.9507C12.5825 11.9344 12.6257 11.9145 12.6666 11.8909C12.7076 11.8672 12.7455 11.8404 12.7803 11.8104C12.8152 11.7803 12.8462 11.7476 12.8735 11.7122C12.901 11.6768 12.9241 11.6395 12.9429 11.6002C12.9618 11.5609 12.976 11.5204 12.9856 11.4787C12.9952 11.437 13 11.3949 13 11.3524L13 4.87567C13 4.83313 12.9952 4.79095 12.9856 4.74921C12.976 4.70752 12.9617 4.66699 12.9429 4.62762C12.924 4.58832 12.9008 4.55096 12.8734 4.51562C12.8459 4.48022 12.8148 4.44751 12.7799 4.41742C12.7451 4.38733 12.7072 4.36047 12.6661 4.33685C12.6251 4.31329 12.5818 4.29333 12.5363 4.2771C12.4907 4.2608 12.4437 4.2486 12.3954 4.2403C12.347 4.23206 12.2982 4.22797 12.2489 4.22803Z' fill='url(%23paint_linear_404_103_0)' fill-opacity='1.000000' fill-rule='nonzero'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-file-disk{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 1152 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1152 608v192c0 53.02-42.98 96-96 96H96c-53.02 0-96-42.98-96-96V608c0-53.02 42.98-96 96-96h960c53.02 0 96 42.98 96 96zm-96-160a159.114 159.114 0 0 1 61.554 12.33L924.5 170.748A96.006 96.006 0 0 0 844.622 128H307.378a96 96 0 0 0-79.876 42.748L34.446 460.33A159.114 159.114 0 0 1 96 448h960zm-96 192c-35.346 0-64 28.654-64 64s28.654 64 64 64 64-28.654 64-64-28.654-64-64-64zm-192 0c-35.346 0-64 28.654-64 64s28.654 64 64 64 64-28.654 64-64-28.654-64-64-64z' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-file-file{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' data-spm-anchor-id='a313x.7781069.0.i7'%3E%3Cpath d='M842.667 981.333H181.333A53.393 53.393 0 0 1 128 928V96a53.393 53.393 0 0 1 53.333-53.333H648.08a52.987 52.987 0 0 1 37.713 15.62L880.38 252.873A52.987 52.987 0 0 1 896 290.587V928a53.393 53.393 0 0 1-53.333 53.333zm-661.334-896A10.667 10.667 0 0 0 170.667 96v832a10.667 10.667 0 0 0 10.666 10.667h661.334A10.667 10.667 0 0 0 853.333 928V298.667h-160A53.393 53.393 0 0 1 640 245.333v-160zM682.667 115.5v129.833A10.667 10.667 0 0 0 693.333 256h129.834zM704 768H320a21.333 21.333 0 0 1 0-42.667h384A21.333 21.333 0 0 1 704 768zm0-213.333H320A21.333 21.333 0 0 1 320 512h384a21.333 21.333 0 0 1 0 42.667zm-213.333-256H320A21.333 21.333 0 0 1 320 256h170.667a21.333 21.333 0 0 1 0 42.667z' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-flowbite\:play-solid{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M8.6 5.2A1 1 0 0 0 7 6v12a1 1 0 0 0 1.6.8l8-6a1 1 0 0 0 0-1.6z' clip-rule='evenodd'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-fontisto\:close{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M20.48 3.512a11.97 11.97 0 0 0-8.486-3.514C5.366-.002-.007 5.371-.007 11.999c0 3.314 1.344 6.315 3.516 8.487A11.97 11.97 0 0 0 11.995 24c6.628 0 12.001-5.373 12.001-12.001c0-3.314-1.344-6.315-3.516-8.487m-1.542 15.427a9.8 9.8 0 0 1-6.943 2.876c-5.423 0-9.819-4.396-9.819-9.819a9.8 9.8 0 0 1 2.876-6.943a9.8 9.8 0 0 1 6.942-2.876c5.422 0 9.818 4.396 9.818 9.818a9.8 9.8 0 0 1-2.876 6.942z'/%3E%3Cpath fill='currentColor' d='m13.537 12l3.855-3.855a1.091 1.091 0 0 0-1.542-1.541l.001-.001l-3.855 3.855l-3.855-3.855A1.091 1.091 0 0 0 6.6 8.145l-.001-.001l3.855 3.855l-3.855 3.855a1.091 1.091 0 1 0 1.541 1.542l.001-.001l3.855-3.855l3.855 3.855a1.091 1.091 0 1 0 1.542-1.541l-.001-.001z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-healthicons\:health-vulnerability-through-social-determinants-outline-24px{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M3.017 7.6A9.96 9.96 0 0 0 2 12c0 5.523 4.477 10 10 10q1.022-.002 1.985-.197a.3.3 0 0 1-.005-.053v-.99a.25.25 0 0 0-.074-.177l-.677-.677Q12.628 20 12 20A8 8 0 0 1 4.582 9H3.354a.25.25 0 0 1-.25-.25v-.958a.25.25 0 0 0-.073-.177zm5.988-3.02l-1.51-1.51A9.96 9.96 0 0 1 12 2c5.523 0 10 4.477 10 10a9.95 9.95 0 0 1-1.433 5.16L19.1 15.693A8 8 0 0 0 9.005 4.58M6 3l3 3l-.79.79l-.35-.35v1.443H6.745v-.93a.744.744 0 1 0-1.488 0v.93H4.139V6.44l-.35.35L3 6z'/%3E%3Cpath d='M11 16v-3H8v-2h3V8h2v3h3v2h-3v3zm6.4-.6l3.5 3.529l-.82.826l-.362-.366v1.51h-1.545v-.973a.776.776 0 0 0-.773-.779a.776.776 0 0 0-.773.78v.973h-1.545v-1.51l-.363.365l-.82-.826z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-home-upgrade{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1718692535082' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='1480' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M897.3 594.1c0 16.9 13.7 30.6 30.6 30.6 16.9 0 30.6-13.7 30.6-30.6 0-16.9-13.7-30.6-30.6-30.6-16.9 0-30.6 13.7-30.6 30.6zM911.9 662.6c-11.4 0-21.9 5.9-28.8 15.1-5.5 7.8-11.9 15.5-18.7 22.4-30.2 30.2-70.4 46.6-113.3 46.6h-44.8c-19.6 0-35.6 16-35.6 35.6 0 18.3 14.6 32.9 32.9 32.9h42.5c61.7 0 119.2-24.2 163.1-67.2 11-11 21-23.3 29.2-36.1 14.2-21.4-0.9-49.3-26.5-49.3z m39.3-182.3c-10.1-20.1-23.3-38.8-39.3-55.3-38.4-39.7-88.6-64-143.5-69.4-45.6-97.3-143.4-158.5-251.6-158.5-67.2 0-132 24.2-182.7 67.6-45.2 40.2-77.2 93.2-90.5 152.1-46.1 4.6-89.1 24.7-122.4 58.5-37.5 37.4-57.7 87.7-57.7 140.2 0 52.5 20.1 101.9 56.7 139.3 35.6 37 83.6 58 134.3 59.8 0.9 0 2.7 0.5 3.7 0.5H313c18.7 0 33.8-15.1 33.8-33.8 0-19.2-15.5-34.3-34.3-34.3h-61.2c-32.9-1.8-64-15.1-87.3-38.8-23.8-24.2-36.5-55.7-36.5-89.5 0-34.3 13.2-66.7 37-90.9 21.9-21.9 49.3-35.2 79.5-37.9l54.4-5.5 12.8-53.9c9.6-43.9 33.8-85 68.1-114.7 38.4-32.9 87.3-51.2 137.5-51.2 81.8 0 154.9 45.7 190.1 119.2l18.3 37.9 42 4.1c37.5 3.7 73.1 21 100.1 48.4 10.1 10.5 18.7 21.9 25.6 34.7 5.5 10.5 16.4 16.9 27.9 16.9h1.8c23.6 1.1 39.6-24 28.6-45.5z' fill='currentColor' p-id='1481'%3E%3C/path%3E%3Cpath d='M684.4 575.3L541 431.9c-11.4-11.4-29.2-11.4-40.7 0L356.9 575.3c-11.4 11.4-11.4 29.2 0 40.7 11.4 11.4 29.2 11.4 40.7 0l94.6-94.6v275c0 16 12.8 28.8 28.8 28.8s28.8-12.8 28.8-28.8v-275l94.6 94.6c5.5 5.5 12.8 8.2 20.1 8.2s14.6-2.7 20.1-8.2c11.3-11.4 11.3-29.2-0.2-40.7z' fill='currentColor' p-id='1482'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-home\:check{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 6.5L5.5 11L12.5 4' fill='none' stroke='currentColor' stroke-width='2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-home\:fix{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 7.48571C18 10.5154 15.544 12.9714 12.5143 12.9714C11.5878 12.9714 10.7149 12.7417 9.94953 12.3362L4.28571 18L2 15.7143L7.66382 10.0505C7.25829 9.28507 7.02857 8.41221 7.02857 7.48571C7.02857 4.45604 9.48462 2 12.5143 2C13.4408 2 14.3136 2.22969 15.079 2.63524L11.6 6.11429L13.8857 8.4L17.3648 4.92096C17.7703 5.68635 18 6.55922 18 7.48571Z' stroke='currentColor' stroke-width='1.5' stroke-linecap='square'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-home\:restart{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 9V2' stroke='currentColor' stroke-width='1.5' stroke-linecap='square' stroke-linejoin='round'/%3E%3Cpath d='M5.61905 4C3.77138 5.35135 2.57129 7.53552 2.57129 9.99998C2.57129 14.1027 5.89717 17.4286 9.99986 17.4286C14.1025 17.4286 17.4284 14.1027 17.4284 9.99998C17.4284 7.32457 16.0141 4.97949 13.8923 3.67164' stroke='currentColor' stroke-width='1.5' stroke-linecap='square' stroke-linejoin='round'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-home\:update{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_3_230)'%3E%3Cpath d='M4.13753 13.7501C4.87923 14.8601 5.93344 15.7253 7.16684 16.2362C8.40024 16.7471 9.75744 16.8808 11.0668 16.6203C12.3762 16.3599 13.5789 15.717 14.5229 14.773C15.4669 13.829 16.1098 12.6262 16.3703 11.3169C16.6307 10.0075 16.497 8.65029 15.9861 7.41689C15.4752 6.18349 14.6101 5.12928 13.5001 4.38758C12.39 3.64588 11.085 3.25 9.74995 3.25C7.86292 3.2571 6.05168 3.99342 4.69495 5.305L3.44995 6.4' stroke='currentColor' stroke-width='1.5' stroke-linecap='square'/%3E%3Cpath d='M3 3.25V7H6.75' stroke='currentColor' stroke-width='1.5' stroke-linecap='square'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_3_230'%3E%3Crect width='20' height='20' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-home\:user{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %233f3f3f;}.st1 {fill: %23ecb485;}.st2 {opacity: .1;}.st2, .st3 {fill: %2322b573;}.st4 {fill: %23f6caa9;}%3C/style%3E%3C/defs%3E%3Cpath class='st2' d='M64,512c0,247.42,200.58,448,448,448s448-200.58,448-448S759.42,64,512,64,64,264.58,64,512Z'/%3E%3Cpath class='st4' d='M698.6,459.8c0,113.87-82.01,206.18-183.17,206.18s-183.17-92.31-183.17-206.17,82.01-206.18,183.17-206.18,183.17,92.31,183.17,206.18'/%3E%3Cpath class='st4' d='M444.27,633.56h140.49v116.19h-140.49v-116.19ZM355.41,471.89c0,17.02-12.6,30.83-28.14,30.83s-28.14-13.8-28.14-30.83,12.6-30.83,28.14-30.83,28.14,13.8,28.14,30.83M731.35,471.51c0,17.02-12.6,30.83-28.14,30.83s-28.14-13.8-28.14-30.83,12.6-30.83,28.14-30.83,28.14,13.8,28.14,30.83'/%3E%3Cpath class='st1' d='M444.64,650.21s26.6,13.69,65.19,13.69c45.33,1.85,74.93-13.32,74.93-13.32v13.69s-49.83,26.64-72.31,26.64-68.18-31.45-68.18-31.45l.37-9.25h0ZM491.79,202.69s-123.95,12.35-125.23,93.49,95.71,96.67,131.65,105.55c35.94,8.88,134.78,20.29,192.54-73.53,0,0-15.84-36.79-24.51-62.45-3.85-6.66,6.22,11.43-28.44-10.44-34.66-21.87-81.19-57.68-146.01-52.61'/%3E%3Cpath class='st0' d='M405.01,247.01s-90.37,15.05-95.5,95.91c-5.14,80.86,9.21,102.22,9.21,102.22,0,0,20.38-.06,25.51,30.41,0,0,9.43,5.59,10.27,0,1.39-9.29-8.27-53.43,10.99-94.45,19.13-40.76,37.56-46.58,37.56-46.58l1.96-87.5ZM642.57,335.37s24.17,31.15,28.35,62.29c3.54,26.41,8.47,76.09,8.47,76.09,0,0,6.74,4.76,11.55-6.66,4.81-11.41,3.57-22.81,8.05-25.77,23.65-15.66,17.48-81.5,16.21-88.45-5.37-29.4-29.76-76.64-29.76-76.64,0,0-42.87,59.14-42.87,59.14Z'/%3E%3Cpath class='st0' d='M488.66,175.41s-128.26,5.27-129.55,90.56,100.02,109.34,135.97,118.66c35.94,9.33,134.78,21.32,192.54-77.29,0,0,14.44-44.64,5.78-71.63-3.85-7-24.07,17.99-58.72-5-34.66-22.99-81.19-60.63-146.01-55.31'/%3E%3Cpath class='st3' d='M839.09,818.12c-22.8-17.9-65.73-44.28-108.29-64.98-69.09-33.59-145.99-48.64-145.99-48.64l-.06,2.28c-5.6,5.98-32.63,32.62-69.86,32.62s-64.07-25.01-70.4-31.31l-.33-3.24s-74.05,10.15-143.14,43.74c-47.28,22.99-95,52.99-115.09,70.59,81.7,86.69,197.57,140.81,326.08,140.81s245.34-54.56,327.09-141.88h0Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-hugeicons\:firewall{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M19 14H5c-1.414 0-2.121 0-2.56.44C2 14.878 2 15.585 2 17v2c0 1.414 0 2.121.44 2.56C2.878 22 3.585 22 5 22h14c1.414 0 2.121 0 2.56-.44c.44-.439.44-1.146.44-2.56v-2c0-1.414 0-2.121-.44-2.56C21.122 14 20.415 14 19 14M2 18h20m-10 0v-4m-5 8v-4m10 4v-4m1.841-7c-.287-1.194-1.005-2.36-2.466-3.4C12.437 4.8 12 2 12 2s-4.062 3.6-1.75 8c-2.1.32-3.078-2-3.304-3.2c-.97 1.29-1.74 2.736-1.91 4.2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ic\:baseline-category{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m12 2l-5.5 9h11z'/%3E%3Ccircle cx='17.5' cy='17.5' r='4.5' fill='currentColor'/%3E%3Cpath fill='currentColor' d='M3 13.5h8v8H3z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ic\:baseline-pause-circle-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M9 16h2V8H9zm3-14C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8m1-4h2V8h-2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ic\:baseline-zoom-in{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5A6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5S14 7.01 14 9.5S11.99 14 9.5 14'/%3E%3Cpath fill='currentColor' d='M12 10h-2v2H9v-2H7V9h2V7h1v2h2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ic\:baseline-zoom-out{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5A6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5S14 7.01 14 9.5S11.99 14 9.5 14M7 9h5v1H7z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ic\:outline-arrow-circle-left{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M2 12c0 5.52 4.48 10 10 10s10-4.48 10-10S17.52 2 12 2S2 6.48 2 12m18 0c0 4.42-3.58 8-8 8s-8-3.58-8-8s3.58-8 8-8s8 3.58 8 8M8 12l4-4l1.41 1.41L11.83 11H16v2h-4.17l1.59 1.59L12 16z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ic\:outline-arrow-circle-right{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M22 12c0-5.52-4.48-10-10-10S2 6.48 2 12s4.48 10 10 10s10-4.48 10-10M4 12c0-4.42 3.58-8 8-8s8 3.58 8 8s-3.58 8-8 8s-8-3.58-8-8m12 0l-4 4l-1.41-1.41L12.17 13H8v-2h4.17l-1.59-1.59L12 8z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ic\:outline-view-module{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M3 5v14h18V5zm16 6h-3.33V7H19zm-5.33 0h-3.33V7h3.33zM8.33 7v4H5V7zM5 17v-4h3.33v4zm5.33 0v-4h3.33v4zm5.34 0v-4H19v4z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-iconamoon\:3d-bold{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5'%3E%3Cpath d='m12 3l7.794 4.5v7.845a2 2 0 0 1-1 1.732L13 20.423a2 2 0 0 1-2 0l-5.794-3.346a2 2 0 0 1-1-1.732V7.5z'/%3E%3Cpath d='M12 7v5l-4.33 2.5M12 12l4.33 2.5'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-iconamoon\:file{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linejoin='round' stroke-width='2'%3E%3Cpath stroke-linecap='round' d='M7 21a2 2 0 0 1-2-2V3h9l5 5v11a2 2 0 0 1-2 2z'/%3E%3Cpath d='M13 3v6h6'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-iconoir\:xmark-circle{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M9.172 14.828L12.001 12m2.828-2.828L12.001 12m0 0L9.172 9.172M12.001 12l2.828 2.828M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2S2 6.477 2 12s4.477 10 10 10'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-lets-icons\:lightning-ring{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none'%3E%3Cpath fill='currentColor' d='M11.5 13.8h-1.063c-1.53 0-2.294 0-2.583-.497s.088-1.162.844-2.491l2.367-4.167c.375-.66.563-.99.749-.94c.186.049.186.428.186 1.187V9.7c0 .236 0 .354.073.427s.191.073.427.073h1.063c1.53 0 2.294 0 2.583.497s-.088 1.162-.844 2.491l-2.367 4.167c-.375.66-.563.99-.749.94C12 18.247 12 17.868 12 17.109V14.3c0-.236 0-.354-.073-.427s-.191-.073-.427-.073'/%3E%3Ccircle cx='12' cy='12' r='9' stroke='currentColor' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-lineicons\:protection{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 64 64' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M53.6 7.5L33.3 1.9c-.8-.2-1.7-.2-2.5 0L10.4 7.5c-2.1.6-3.6 2.5-3.6 4.7V27c0 15.5 9.2 29.2 23.4 34.9c.6.2 1.2.4 1.8.4s1.2-.1 1.8-.4c14.2-5.7 23.4-19.5 23.4-35V12.2c0-2.2-1.5-4.1-3.6-4.7m-.9 19.4c0 13.4-8.3 25.8-20.5 30.8h-.3c-12.5-5-20.6-17.1-20.6-30.7V12.2c0-.1.1-.3.2-.3l20.4-5.6h.2l20.4 5.6c.1 0 .2.2.2.3z'/%3E%3Cpath fill='currentColor' d='M43.3 22.6L29.5 34.2L23.3 29c-1-.8-2.4-.7-3.2.3s-.7 2.4.3 3.2l7.6 6.4c.4.4.9.5 1.4.5s1-.2 1.4-.5L46.2 26c1-.8 1.1-2.2.3-3.2c-.8-.9-2.3-1-3.2-.2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-lsicon\:clothes-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' d='M5 13.5h6v-6l2 1L14 5l-2-2.5h-1.5C10.5 3 9.2 4 8 4S5.5 3 5.5 2.5H4L2 5l1 3.5l2-1z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-lucide-arrow-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 5v14m7-7l-7 7l-7-7'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-lucide-arrow-up{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m5 12l7-7l7 7m-7 7V5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-lucide-file-plus{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4M9 15h6m-3 3v-6'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-lucide-folder-plus{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 10v6m-3-3h6m5 7a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-lucide-plus{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 12h14m-7-7v14'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-lucide-refresh-cw{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M3 12a9 9 0 0 1 9-9a9.75 9.75 0 0 1 6.74 2.74L21 8'/%3E%3Cpath d='M21 3v5h-5m5 4a9 9 0 0 1-9 9a9.75 9.75 0 0 1-6.74-2.74L3 16'/%3E%3Cpath d='M8 16H3v5'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-lucide-search{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='m21 21l-4.34-4.34'/%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-lucide-text-cursor-input{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 20h-1a2 2 0 0 1-2-2a2 2 0 0 1-2 2H6m7-12h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7m-8 0H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1m1-4h1a2 2 0 0 1 2 2a2 2 0 0 1 2-2h1M9 6v12'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-lucide-wrench{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-lucide-x{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-lucide\:user-round{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='5'/%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-mage\:pause-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M10.25 5.5v13a1.75 1.75 0 0 1-1.75 1.75h-3a1.75 1.75 0 0 1-1.75-1.75v-13A1.76 1.76 0 0 1 5.5 3.75h3a1.75 1.75 0 0 1 1.75 1.75m10 0v13a1.75 1.75 0 0 1-1.75 1.75h-3a1.75 1.75 0 0 1-1.75-1.75v-13a1.76 1.76 0 0 1 1.75-1.75h3a1.75 1.75 0 0 1 1.75 1.75'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-mage\:play-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19.105 11.446a2.34 2.34 0 0 1-.21 1c-.15.332-.38.62-.67.84l-9.65 7.51a2.3 2.3 0 0 1-1.17.46h-.23a2.2 2.2 0 0 1-1-.24a2.29 2.29 0 0 1-1.28-2v-14a2.2 2.2 0 0 1 .33-1.17a2.27 2.27 0 0 1 2.05-1.1c.412.02.812.148 1.16.37l9.66 6.44c.294.204.54.47.72.78c.19.34.29.721.29 1.11'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-majesticons\:eye-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M12 5c-6.307 0-9.367 5.683-9.91 6.808a.44.44 0 0 0 0 .384C2.632 13.317 5.692 19 12 19s9.367-5.683 9.91-6.808a.44.44 0 0 0 0-.384C21.368 10.683 18.308 5 12 5'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-majesticons\:eye-off-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M7 6.362A9.7 9.7 0 0 1 12 5c6.307 0 9.367 5.683 9.91 6.808c.06.123.06.261 0 .385c-.352.728-1.756 3.362-4.41 5.131M14 18.8a10 10 0 0 1-2 .2c-6.307 0-9.367-5.683-9.91-6.808a.44.44 0 0 1 0-.386c.219-.452.84-1.632 1.91-2.885m6 .843A3 3 0 0 1 14.236 14M3 3l18 18'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols-light\:bottom-panel-close{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m12 11.596l3.173-3.192H8.827zM18.384 4q.672 0 1.144.472T20 5.616v12.769q0 .67-.472 1.143q-.472.472-1.143.472H5.615q-.67 0-1.143-.472Q4 19.056 4 18.385V5.615q0-.67.472-1.143Q4.944 4 5.616 4zM19 15V5.616q0-.231-.192-.424T18.384 5H5.616q-.231 0-.424.192T5 5.616V15z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols-light\:check-small-rounded{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m10 14.312l6.246-6.266q.139-.14.353-.14q.215 0 .355.139t.14.354t-.14.355l-6.389 6.369q-.242.243-.565.243t-.565-.243l-2.389-2.37q-.14-.138-.14-.352t.139-.355t.354-.14t.355.14z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols-light\:close-small-rounded{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m12 12.727l-3.244 3.252q-.161.16-.358.15t-.358-.17t-.16-.363t.16-.363L11.274 12L8.04 8.782q-.16-.161-.16-.367t.16-.368t.364-.16q.204 0 .363.16L12 11.298l3.219-3.252q.161-.16.358-.16t.358.16q.165.166.165.367t-.165.36L12.702 12l3.252 3.244q.16.161.16.358t-.16.358q-.166.165-.367.165t-.36-.165z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols-light\:drag-pan{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 21.308L8.442 17.75l.714-.713L11.5 19.38V12.5H4.625l2.344 2.339l-.719.719L2.692 12l3.552-3.552l.714.714L4.619 11.5H11.5V4.62L9.156 6.963l-.714-.714L12 2.692l3.558 3.558l-.714.714L12.5 4.618V11.5h6.875l-2.344-2.339l.719-.719L21.308 12l-3.558 3.558l-.713-.714L19.38 12.5H12.5v6.875l2.339-2.344l.719.719z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols-light\:edit-square-sharp{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M10 14v-2.615l9.683-9.683l2.56 2.564L12.518 14zm9.466-8.354l1.347-1.361l-1.111-1.17l-1.387 1.381zM4 20V4h10.002l-6.386 6.387v5.998h5.896L20 9.895V20z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols\:arrow-right-alt-rounded{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16.15 13H5q-.425 0-.712-.288T4 12t.288-.712T5 11h11.15L13.3 8.15q-.3-.3-.288-.7t.288-.7q.3-.3.713-.312t.712.287L19.3 11.3q.15.15.213.325t.062.375t-.062.375t-.213.325l-4.575 4.575q-.3.3-.712.288t-.713-.313q-.275-.3-.288-.7t.288-.7z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols\:code-rounded{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M4.825 12.025L8.7 15.9q.275.275.275.7t-.275.7t-.7.275t-.7-.275l-4.6-4.6q-.15-.15-.213-.325T2.426 12t.063-.375t.212-.325l4.6-4.6q.3-.3.713-.3t.712.3t.3.713t-.3.712zm14.35-.05L15.3 8.1q-.275-.275-.275-.7t.275-.7t.7-.275t.7.275l4.6 4.6q.15.15.213.325t.062.375t-.062.375t-.213.325l-4.6 4.6q-.3.3-.7.288t-.7-.313t-.3-.712t.3-.713z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols\:keyboard-arrow-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m12 15.4l-6-6L7.4 8l4.6 4.6L16.6 8L18 9.4z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols\:library-add-check-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m12.7 14.05l5.65-5.65l-1.4-1.45l-4.25 4.25l-2.15-2.1l-1.4 1.4zM8 18q-.825 0-1.412-.587T6 16V4q0-.825.588-1.412T8 2h12q.825 0 1.413.588T22 4v12q0 .825-.587 1.413T20 18zm0-2h12V4H8zm-4 6q-.825 0-1.412-.587T2 20V6h2v14h14v2zM8 4v12z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols\:network-node{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M5.5 22q-1.45 0-2.475-1.025T2 18.5t1.025-2.475T5.5 15q.45 0 .875.112t.8.313L11 11.6V8.85q-1.1-.325-1.8-1.237T8.5 5.5q0-1.45 1.025-2.475T12 2t2.475 1.025T15.5 5.5q0 1.2-.7 2.113T13 8.85v2.75l3.85 3.825q.375-.2.788-.312T18.5 15q1.45 0 2.475 1.025T22 18.5t-1.025 2.475T18.5 22t-2.475-1.025T15 18.5q0-.45.112-.875t.313-.8L12 13.4l-3.425 3.425q.2.375.313.8T9 18.5q0 1.45-1.025 2.475T5.5 22m13-2q.625 0 1.063-.437T20 18.5t-.437-1.062T18.5 17t-1.062.438T17 18.5t.438 1.063T18.5 20M12 7q.625 0 1.063-.437T13.5 5.5t-.437-1.062T12 4t-1.062.438T10.5 5.5t.438 1.063T12 7M5.5 20q.625 0 1.063-.437T7 18.5t-.437-1.062T5.5 17t-1.062.438T4 18.5t.438 1.063T5.5 20'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols\:service-toolbox-outline-rounded{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7 6V5q0-.825.588-1.412T9 3h6q.825 0 1.413.588T17 5v1h.7q.575 0 1.075.325t.725.875l2.35 5.4q.075.2.113.4t.037.4V18q0 .825-.587 1.413T20 20H4q-.825 0-1.412-.587T2 18v-4.6q0-.2.038-.4t.112-.4L4.5 7.2q.225-.55.725-.875T6.3 6zm2 0h6V5H9zm-2 6v-.025q0-.425.288-.712T8 10.974t.713.288t.287.712V12h6v-.025q0-.425.288-.712t.712-.288t.713.288t.287.712V12h2.4l-1.7-4H6.3l-1.7 4zm0 2H4v4h16v-4h-3v.025q0 .425-.288.713t-.712.287t-.712-.288t-.288-.712V14H9v.025q0 .425-.288.713T8 15.025t-.712-.288T7 14.026zm5 0'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols\:settings-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m9.25 22l-.4-3.2q-.325-.125-.612-.3t-.563-.375L4.7 19.375l-2.75-4.75l2.575-1.95Q4.5 12.5 4.5 12.338v-.675q0-.163.025-.338L1.95 9.375l2.75-4.75l2.975 1.25q.275-.2.575-.375t.6-.3l.4-3.2h5.5l.4 3.2q.325.125.613.3t.562.375l2.975-1.25l2.75 4.75l-2.575 1.95q.025.175.025.338v.674q0 .163-.05.338l2.575 1.95l-2.75 4.75l-2.95-1.25q-.275.2-.575.375t-.6.3l-.4 3.2zM11 20h1.975l.35-2.65q.775-.2 1.438-.587t1.212-.938l2.475 1.025l.975-1.7l-2.15-1.625q.125-.35.175-.737T17.5 12t-.05-.787t-.175-.738l2.15-1.625l-.975-1.7l-2.475 1.05q-.55-.575-1.212-.962t-1.438-.588L13 4h-1.975l-.35 2.65q-.775.2-1.437.588t-1.213.937L5.55 7.15l-.975 1.7l2.15 1.6q-.125.375-.175.75t-.05.8q0 .4.05.775t.175.75l-2.15 1.625l.975 1.7l2.475-1.05q.55.575 1.213.963t1.437.587zm1.05-4.5q1.45 0 2.475-1.025T15.55 12t-1.025-2.475T12.05 8.5q-1.475 0-2.488 1.025T8.55 12t1.013 2.475T12.05 15.5M12 12'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-mdi-github{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33s1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-mdi-monitor{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M21 16H3V4h18m0-2H3c-1.11 0-2 .89-2 2v12a2 2 0 0 0 2 2h7v2H8v2h8v-2h-2v-2h7a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-mdi-view-quilt-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M4 5v13h17V5zm2 11V7h3v9zm5 0v-3.5h3V16zm8 0h-3v-3.5h3zm-8-5.5V7h8v3.5z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-mdi-weather-night{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m17.75 4.09l-2.53 1.94l.91 3.06l-2.63-1.81l-2.63 1.81l.91-3.06l-2.53-1.94L12.44 4l1.06-3l1.06 3zm3.5 6.91l-1.64 1.25l.59 1.98l-1.7-1.17l-1.7 1.17l.59-1.98L15.75 11l2.06-.05L18.5 9l.69 1.95zm-2.28 4.95c.83-.08 1.72 1.1 1.19 1.85c-.32.45-.66.87-1.08 1.27C15.17 23 8.84 23 4.94 19.07c-3.91-3.9-3.91-10.24 0-14.14c.4-.4.82-.76 1.27-1.08c.75-.53 1.93.36 1.85 1.19c-.27 2.86.69 5.83 2.89 8.02a9.96 9.96 0 0 0 8.02 2.89m-1.64 2.02a12.08 12.08 0 0 1-7.8-3.47c-2.17-2.19-3.33-5-3.49-7.82c-2.81 3.14-2.7 7.96.31 10.98c3.02 3.01 7.84 3.12 10.98.31'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-mdi-white-balance-sunny{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m3.55 19.09l1.41 1.41l1.8-1.79l-1.42-1.42M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6s6-2.69 6-6c0-3.32-2.69-6-6-6m8 7h3v-2h-3m-2.76 7.71l1.8 1.79l1.41-1.41l-1.79-1.8M20.45 5l-1.41-1.4l-1.8 1.79l1.42 1.42M13 1h-2v3h2M6.76 5.39L4.96 3.6L3.55 5l1.79 1.81zM1 13h3v-2H1m12 9h-2v3h2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-mdi\:earth{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17.9 17.39c-.26-.8-1.01-1.39-1.9-1.39h-1v-3a1 1 0 0 0-1-1H8v-2h2a1 1 0 0 0 1-1V7h2a2 2 0 0 0 2-2v-.41a7.984 7.984 0 0 1 2.9 12.8M11 19.93c-3.95-.49-7-3.85-7-7.93c0-.62.08-1.22.21-1.79L9 15v1a2 2 0 0 0 2 2m1-16A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-mingcute\:add-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none'%3E%3Cpath d='m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='currentColor' d='M10.5 20a1.5 1.5 0 0 0 3 0v-6.5H20a1.5 1.5 0 0 0 0-3h-6.5V4a1.5 1.5 0 0 0-3 0v6.5H4a1.5 1.5 0 0 0 0 3h6.5z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-mingcute\:plugin-2-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='currentColor' d='M10.5 4a1.472 1.472 0 0 0-1.317 2.13l.163.325A1.067 1.067 0 0 1 8.39 8H5a1 1 0 0 0-1 1v1.194c1.82-.109 3.5 1.331 3.5 3.306S5.82 16.915 4 16.806V19a1 1 0 0 0 1 1h2.194c-.109-1.82 1.331-3.5 3.306-3.5s3.415 1.68 3.306 3.5H15a1 1 0 0 0 1-1v-3.39c0-.794.835-1.31 1.545-.956l.324.163a1.472 1.472 0 1 0 0-2.634l-.324.163A1.067 1.067 0 0 1 16 11.39V9a1 1 0 0 0-1-1h-2.39c-.794 0-1.31-.835-.956-1.545l.163-.325A1.472 1.472 0 0 0 10.5 4M7.064 6c-.316-2.017 1.23-4 3.436-4s3.752 1.983 3.436 4H15a3 3 0 0 1 3 3v1.064c2.017-.316 4 1.23 4 3.436s-1.983 3.752-4 3.436V19a3 3 0 0 1-3 3h-2.407a1.06 1.06 0 0 1-.976-1.48l.085-.197a1.308 1.308 0 1 0-2.404 0l.085.198c.3.7-.214 1.479-.976 1.479H5a3 3 0 0 1-3-3v-3.407c0-.762.779-1.276 1.48-.976l.197.085a1.308 1.308 0 1 0 0-2.404l-.198.085c-.7.3-1.479-.214-1.479-.976V9a3 3 0 0 1 3-3z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-mynaui\:refresh-solid{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M21.074 12.154a.75.75 0 0 1 .672.82c-.49 4.93-4.658 8.776-9.724 8.776c-2.724 0-5.364-.933-7.238-2.68L3 20.85a.75.75 0 0 1-.75-.75v-3.96c0-.714.58-1.29 1.291-1.29h3.97a.75.75 0 0 1 .75.75l-2.413 2.407c1.558 1.433 3.78 2.243 6.174 2.243c4.29 0 7.817-3.258 8.232-7.424a.75.75 0 0 1 .82-.672m-18.82-1.128c.49-4.93 4.658-8.776 9.724-8.776c2.724 0 5.364.933 7.238 2.68L21 3.15a.75.75 0 0 1 .75.75v3.96c0 .714-.58 1.29-1.291 1.29h-3.97a.75.75 0 0 1-.75-.75l2.413-2.408c-1.558-1.432-3.78-2.242-6.174-2.242c-4.29 0-7.817 3.258-8.232 7.424a.75.75 0 1 1-1.492-.148'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-octicon\:git-branch-16{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.5 2.5 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25m-6 0a.75.75 0 1 0 1.5 0a.75.75 0 0 0-1.5 0m8.25-.75a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5M4.25 12a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-pajamas\:issue-type-maintenance{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M11.25 2.5a2.25 2.25 0 0 0-2.154 2.904l.13.43l-.317.318l-6.254 6.253l-.53-.53l.53.53a.664.664 0 0 0 .94.94L9.848 7.09l.318-.318l.43.13a2.25 2.25 0 0 0 2.685-3.124l-1.5 1.501a.75.75 0 1 1-1.061-1.06l1.5-1.5a2.24 2.24 0 0 0-.97-.22ZM7.5 4.75a3.75 3.75 0 1 1 3.114 3.696L10.061 9l.939.94l.47-.47l.53-.53l.53.53l1.875 1.875a2.164 2.164 0 1 1-3.06 3.06L9.47 12.53L8.94 12l.53-.53l.47-.47l-.94-.94l-4.345 4.345l-.53-.53l.53.53a2.164 2.164 0 1 1-3.06-3.06L5.939 7L3.5 4.56l-.617.617l-.507-.761l-1-1.5l-.341-.512l.435-.434l.5-.5l.434-.435l.512.341l1.5 1l.761.507l-.616.617L7 5.94l.554-.554A4 4 0 0 1 7.5 4.75m4.5 6.31l1.345 1.345a.664.664 0 0 1-.94.94L11.061 12z' clip-rule='evenodd'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-pixel\:plus-solid{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M23 11v2h-1v1h-8v8h-1v1h-2v-1h-1v-8H2v-1H1v-2h1v-1h8V2h1V1h2v1h1v8h8v1z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-prime\:clone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M14 16.75H6A2.75 2.75 0 0 1 3.25 14V6A2.75 2.75 0 0 1 6 3.25h8A2.75 2.75 0 0 1 16.75 6v8A2.75 2.75 0 0 1 14 16.75m-8-12A1.25 1.25 0 0 0 4.75 6v8A1.25 1.25 0 0 0 6 15.25h8A1.25 1.25 0 0 0 15.25 14V6A1.25 1.25 0 0 0 14 4.75Z'/%3E%3Cpath fill='currentColor' d='M18 20.75h-8A2.75 2.75 0 0 1 7.25 18v-2h1.5v2A1.25 1.25 0 0 0 10 19.25h8A1.25 1.25 0 0 0 19.25 18v-8A1.25 1.25 0 0 0 18 8.75h-2v-1.5h2A2.75 2.75 0 0 1 20.75 10v8A2.75 2.75 0 0 1 18 20.75'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ri\:menu-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M3 4h18v2H3zm0 7h18v2H3zm0 7h18v2H3z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-security\:backend{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.82 3.283c.35.262.727.456 1.131.583.527.168.961.22 1.262.23-.026.378-.081.97-.196 1.74-.097.646-.29 1.209-.572 1.676-.293.48-.592.709-.745.802-.483.294-.852.314-.88.315-.029.001-.397-.02-.88-.315-.153-.093-.453-.321-.745-.802-.283-.466-.476-1.03-.572-1.675a22.466 22.466 0 0 1-.197-1.74 4.768 4.768 0 0 0 1.262-.23 3.769 3.769 0 0 0 1.132-.584zm0-.569s-.44.46-1.24.714a4.248 4.248 0 0 1-1.277.215c-.195 0-.303-.019-.303-.019s.008.828.226 2.288c.232 1.56.958 2.458 1.523 2.802.601.367 1.057.37 1.07.37.015 0 .47-.003 1.072-.37.564-.344 1.29-1.242 1.523-2.802.218-1.46.226-2.288.226-2.288s-.108.02-.304.02c-.272 0-.716-.038-1.275-.216-.801-.254-1.241-.714-1.241-.714z' fill='currentColor'/%3E%3Cpath d='M6.82 3.17V5.9H4.403l-.197-1.98 2.614-.75zm0 2.73v2.944l.805-.215.856-.839.464-.9.292-.99H6.82z' fill='currentColor'/%3E%3Crect x='1.5' y='1.5' rx='2' width='11' height='9.286' stroke='currentColor'/%3E%3Cpath stroke='currentColor' d='M7 11.286V13'/%3E%3Cpath d='M3.25 13h7.5' stroke='currentColor' stroke-linecap='round'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-security\:backup{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' x='0' y='0' viewBox='0 0 128 128' style='enable-background:new 0 0 128 128' xml:space='preserve'%3E%3Cpath d='M76.6 112H25.4c-5.2 0-9.4-4.2-9.4-9.4V40.2c0-5.2 4.2-9.4 9.4-9.4h51.2c5.2 0 9.4 4.2 9.4 9.4v2.9c0 2.1-1.7 3.7-3.7 3.7s-3.7-1.7-3.7-3.7v-2.9c0-1-.8-1.9-1.9-1.9H25.4c-1 0-1.9.8-1.9 1.9v62.4c0 1 .8 1.9 1.9 1.9h51.2c1 0 1.9-.8 1.9-1.9V82.8c0-2.1 1.7-3.7 3.7-3.7s3.7 1.7 3.7 3.7v19.8c0 5.2-4.2 9.4-9.3 9.4z' fill='currentColor'/%3E%3Cpath d='M102.6 97.2h-11c-2.1 0-3.7-1.7-3.7-3.7 0-2.1 1.7-3.7 3.7-3.7h11.1c1 0 1.9-.8 1.9-1.9V25.4c0-1-.8-1.9-1.9-1.9H51.4c-1 0-1.9.8-1.9 1.9v.7c0 2.1-1.7 3.7-3.7 3.7s-3.7-1.7-3.7-3.7v-.7c0-5.2 4.2-9.4 9.4-9.4h51.2c5.2 0 9.4 4.2 9.4 9.4v62.4c-.1 5.2-4.3 9.4-9.5 9.4z' fill='currentColor'/%3E%3Cpath d='M60 99.1c-.9 0-1.8-.3-2.5-.9L30.3 73.9c-1.5-1.4-1.6-3.8-.2-5.3l.3-.3 27.2-23.2c1.6-1.3 3.9-1.2 5.3.4.6.7.9 1.5.9 2.4v12c8.8-.9 16.9-5.2 22.6-12l8.8-10.4c1.3-1.6 3.6-1.9 5.3-.6 1.2.9 1.7 2.4 1.3 3.9L99.3 51c-3.9 17-18.2 29.5-35.5 31.1v13.3c-.1 2.1-1.8 3.7-3.8 3.7zM38.5 71.2 56.2 87v-8.5c0-2.1 1.7-3.7 3.7-3.7 13.5 0 25.2-8 30.3-20.1-7.9 8.2-18.8 12.9-30.2 12.9-2.1 0-3.7-1.7-3.7-3.7V56L38.5 71.2z' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-security\:feature-record{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' xmlns='http://www.w3.org/2000/svg' width='34px' height='34px' fill='none'%3E%3Cpath d='M0 0h34v34H0z'/%3E%3Cpath fill='currentColor' d='M7.65.17h1.744v6.474H7.65zm15.849 15.941a7.88 7.88 0 0 1 5.451 2.181 7.862 7.862 0 0 1 2.447 5.358 7.845 7.845 0 0 1-2.057 5.69 7.868 7.868 0 0 1-5.857 2.579 7.88 7.88 0 0 1-5.452-2.182 7.862 7.862 0 0 1-2.447-5.358 7.845 7.845 0 0 1 2.058-5.689 7.868 7.868 0 0 1 5.856-2.579zm0-1.741c-.15 0-.301.003-.453.01-5.329.246-9.45 4.759-9.203 10.08.239 5.17 4.511 9.2 9.641 9.2.15 0 .302-.003.453-.01 5.329-.246 9.45-4.759 9.204-10.08-.24-5.17-4.512-9.2-9.642-9.2'/%3E%3Cpath fill='currentColor' d='M16.19 31.67c-.47-.445-.897-.932-1.278-1.454H4.083a1.48 1.48 0 0 1-1.482-1.476V5.77a1.48 1.48 0 0 1 1.482-1.476h21.584a1.48 1.48 0 0 1 1.482 1.476v8.39a10.52 10.52 0 0 1 1.751.835V5.77a3.227 3.227 0 0 0-3.233-3.22H4.083A3.227 3.227 0 0 0 .85 5.77v22.97a3.227 3.227 0 0 0 3.233 3.22H16.51a10.68 10.68 0 0 1-.32-.29'/%3E%3Cpath fill='currentColor' d='M27.152 15.997a8.794 8.794 0 0 1 1.748 1.056v-.008a8.785 8.785 0 0 0-1.748-1.051zM28.785 27.2H22.32v-7.849h1.747v6.111h4.717zM5.27 11.752h19.429v1.738H5.27zM20.522.17h1.747v6.46h-1.747zm-7.559 24.457H5.27v1.738h7.95a10.49 10.49 0 0 1-.257-1.738m1.72-6.438H5.27v1.738h8.479c.255-.607.568-1.189.934-1.738'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:34px;height:34px}.i-security\:feature-tips{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' xmlns='http://www.w3.org/2000/svg' width='34px' height='34px' fill='none'%3E%3Cpath d='M0 0h34v34H0z'/%3E%3Cpath fill='currentColor' d='M32.44 25.345a1.251 1.251 0 0 0-1.253 1.252v4.59h-4.59a1.251 1.251 0 1 0 0 2.504h5.425a1.67 1.67 0 0 0 1.669-1.67v-5.424a1.251 1.251 0 0 0-1.252-1.252M32.022.31h-5.425a1.252 1.252 0 1 0 0 2.504h4.59v4.59a1.251 1.251 0 1 0 2.504 0V1.978A1.669 1.669 0 0 0 32.02.31M1.56 8.655a1.252 1.252 0 0 0 1.252-1.252v-4.59h4.59a1.252 1.252 0 1 0 0-2.504H1.978A1.67 1.67 0 0 0 .31 1.98v5.424c0 .69.561 1.252 1.252 1.252m5.842 22.532h-4.59v-4.59a1.252 1.252 0 1 0-2.504 0v5.425c0 .92.748 1.669 1.67 1.669h5.424a1.252 1.252 0 1 0 0-2.504m8.438-17.646c0-.638.52-1.153 1.159-1.153.64 0 1.16.515 1.16 1.153v5.517A1.154 1.154 0 0 1 17 20.214a1.155 1.155 0 0 1-1.16-1.155zm0 8.276c0-.637.52-1.153 1.159-1.153a1.156 1.156 0 0 1 1.003 1.731 1.156 1.156 0 0 1-1.003.577 1.155 1.155 0 0 1-1.16-1.155m12.503 1.272c.704 1.21-.177 2.72-1.578 2.72H7.233c-1.402 0-2.283-1.51-1.578-2.72l9.767-16.773A1.808 1.808 0 0 1 17 5.41c.643 0 1.244.33 1.578.906zm-2.387.416-8.955-15.3-8.933 15.342z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:34px;height:34px}.i-security\:feature-trojan{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' xmlns='http://www.w3.org/2000/svg' width='34px' height='34px' fill='none'%3E%3Cpath d='M0 0h34v34H0z'/%3E%3Cpath fill='currentColor' d='M1.062 27.228a.662.662 0 0 1 .718.607v3.426a.81.81 0 0 0 .792.792H4.67a.68.68 0 0 1 .718.644v.074a.758.758 0 0 1-.718.718h-2.1a2.248 2.248 0 0 1-2.228-2.228v-3.297a.68.68 0 0 1 .626-.736zm31.71 0a.68.68 0 0 1 .717.644v3.407a2.257 2.257 0 0 1-2.228 2.21h-2.1a.68.68 0 0 1-.717-.644v-.074a.68.68 0 0 1 .644-.718h2.173a.81.81 0 0 0 .792-.792v-3.297a.665.665 0 0 1 .59-.736zM20.304 3.656c1.951.57 8.212 3.02 7.365 10.239 0 .865-.147 1.841-.147 3.02v3.168a2.513 2.513 0 0 1-2.339 2.67h-.847v.331a9.968 9.968 0 0 0 .369 3.039c.22.902 0 1.86-.59 2.596a3.289 3.289 0 0 1-2.449 1.142h-9.723c-1.73.019-3.13-1.38-3.148-3.112 0-.387.073-.755.202-1.123a12.36 12.36 0 0 1 2.652-4.052 6.07 6.07 0 0 0 1.454-3.241c-.405.092-.791.24-1.16.424l-2.67 1.841a2.19 2.19 0 0 1-2.799-.368l-1.38-1.473a1.837 1.837 0 0 1-.203-2.302l6.04-9.484a3.907 3.907 0 0 1 1.841-1.603c.774-.534 1.62-.976 2.486-1.344a8.038 8.038 0 0 1 5.046-.368M13.62 6.602h-.092c-.552.203-.994.608-1.289 1.105l-5.027 7.827a.666.666 0 0 1 .331.81.71.71 0 0 1-.644.497H6.42l-.313.516c-.129.129-.147.332-.037.46 0 .019.019.019.037.037l1.363 1.437c.276.257.681.331 1.013.147l2.67-1.731a6.135 6.135 0 0 1 2.301-.866 4.164 4.164 0 0 0 2.892-1.583 2.477 2.477 0 0 0 .276-1.842.708.708 0 0 1 .626-.792.73.73 0 0 1 .755.442 4.524 4.524 0 0 1-.46 3.02 5.071 5.071 0 0 1-3.02 1.952 6.918 6.918 0 0 1-1.713 4.402 9.385 9.385 0 0 0-2.45 3.683 1.419 1.419 0 0 0 .222 1.51c.313.479.865.755 1.436.718h9.723a1.526 1.526 0 0 0 1.307-.644c.295-.387.405-.884.277-1.363a12.07 12.07 0 0 1-.277-3.978c.921-11.528 0-12.246-2.817-14.18a11.51 11.51 0 0 0-5.524-1.657 2.695 2.695 0 0 0-1.087.073m2.652-1.436h-.258a11.33 11.33 0 0 1 4.935 1.841c3.204 2.229 4.309 3.684 3.554 14.273h.552c.645 0 1.16-.516 1.16-1.16v-3.205c0-1.234 0-2.228.148-3.167.202-2.026 0-6.851-6.427-8.73a6.699 6.699 0 0 0-3.664.148m-3.315 5.525c.276.257.35.662.147.994l-.515.663a.644.644 0 0 1-.57.276 1.252 1.252 0 0 1-.443-.147.769.769 0 0 1-.22-1.05c0-.018.018-.018.036-.037l.497-.663a.794.794 0 0 1 1.068-.073zM4.671.34a.68.68 0 0 1 .718.644v.074a.708.708 0 0 1-.718.718h-2.1a.81.81 0 0 0-.791.792v3.683a.68.68 0 0 1-.645.719h-.073a.68.68 0 0 1-.719-.645V2.569A2.248 2.248 0 0 1 2.572.341zm26.59 0a2.248 2.248 0 0 1 2.228 2.228v3.683a.68.68 0 0 1-.644.719h-.074a.68.68 0 0 1-.718-.645V2.569a.81.81 0 0 0-.792-.792h-2.1a.68.68 0 0 1-.717-.644v-.074a.68.68 0 0 1 .644-.718z'/%3E%3Cpath fill='currentColor' d='M31.334 33.66H29.23a.78.78 0 0 1-.812-.74v-.073c-.037-.425.277-.775.701-.812h2.215a.726.726 0 0 0 .702-.702V28.03a.82.82 0 0 1 .812-.812.82.82 0 0 1 .812.812v3.323a2.348 2.348 0 0 1-2.326 2.307m-2.104-1.44a.622.622 0 0 0-.628.627c0 .35.277.628.628.628h2.104a2.144 2.144 0 0 0 2.234-2.05V28.03a.622.622 0 0 0-.628-.627.622.622 0 0 0-.627.627v3.323a.924.924 0 0 1-.886.886zM4.68 33.66H2.577a2.347 2.347 0 0 1-2.233-2.327V28.03a.75.75 0 0 1 .701-.812h.111a.75.75 0 0 1 .812.702v3.433a.726.726 0 0 0 .702.701H4.68c.424-.037.775.277.812.702v.11a.816.816 0 0 1-.812.794M.99 27.382a.584.584 0 0 0-.629.554v3.396a2.145 2.145 0 0 0 2.05 2.234h2.27c.35 0 .627-.277.627-.628a.584.584 0 0 0-.553-.627H2.576a.924.924 0 0 1-.886-.886v-3.397a.585.585 0 0 0-.535-.646zm20.654 2.585h-9.672a3.254 3.254 0 0 1-3.249-3.25c0-.387.074-.756.203-1.125a12.098 12.098 0 0 1 2.695-4.08 6.563 6.563 0 0 0 1.403-3.064c-.35.11-.683.277-.997.461l-2.676 1.736a2.285 2.285 0 0 1-2.935-.388L5.05 18.8a1.95 1.95 0 0 1-.24-2.4l6.073-9.47a4.094 4.094 0 0 1 1.846-1.642 13.994 13.994 0 0 1 2.436-1.422 8.214 8.214 0 0 1 5.113-.295c1.975.59 8.325 3.046 7.512 10.356 0 .904-.147 1.846-.147 3.027v3.175c.11 1.421-.96 2.658-2.4 2.769h-.794v.24c-.018 1.033.111 2.049.388 3.045.24.905.055 1.846-.498 2.603a3.312 3.312 0 0 1-2.621 1.181zm-8.38-11.777v.129a6.14 6.14 0 0 1-1.477 3.304 12.235 12.235 0 0 0-2.658 4.024 3.07 3.07 0 0 0 1.68 4.006c.369.147.775.221 1.163.221h9.746a3.257 3.257 0 0 0 2.4-1.126c.553-.701.756-1.624.553-2.51a9.763 9.763 0 0 1-.332-3.101v-.425h.738a2.336 2.336 0 0 0 1.846-.757c.48-.498.72-1.163.664-1.846v-3.156c0-1.145 0-2.141.148-3.046.794-7.162-5.537-9.58-7.383-10.152a8.062 8.062 0 0 0-5.02.277c-.85.387-1.662.867-2.419 1.42a3.782 3.782 0 0 0-1.846 1.588l-6.091 9.451c-.48.72-.406 1.68.203 2.308l1.366 1.44a2.108 2.108 0 0 0 2.695.332l2.676-1.772c.37-.222.757-.406 1.182-.517zm8.564 10.263h-9.782a1.88 1.88 0 0 1-1.514-.757 1.5 1.5 0 0 1-.24-1.514 9.453 9.453 0 0 1 2.418-3.691 6.934 6.934 0 0 0 1.717-4.412 4.849 4.849 0 0 0 2.971-1.846 4.233 4.233 0 0 0 .443-2.954.57.57 0 0 0-.277-.406.508.508 0 0 0-.46 0 .533.533 0 0 0-.352.388 2.517 2.517 0 0 1-.295 1.957 4.266 4.266 0 0 1-2.953 1.624 5.838 5.838 0 0 0-2.27.85l-2.677 1.734c-.37.203-.812.13-1.126-.147L6.047 17.82a.457.457 0 0 1 0-.627l.35-.554.314.092h.203a.572.572 0 0 0 .554-.443.555.555 0 0 0-.277-.683l4.984-7.882a2.66 2.66 0 0 1 1.273-1.107h.13c.35-.11.72-.166 1.089-.13 1.956.074 3.876.647 5.537 1.68 2.769 1.957 3.802 2.695 2.861 14.306-.13 1.33-.037 2.658.277 3.95a1.514 1.514 0 0 1-.314 1.44c-.295.37-.757.59-1.236.59zm-7.124-10.337a7.277 7.277 0 0 1-1.846 4.448v.093a8.99 8.99 0 0 0-2.381 3.525 1.33 1.33 0 0 0 .203 1.422c.295.443.83.72 1.366.683h9.746c.48.018.94-.203 1.218-.61.295-.35.406-.83.295-1.292a11.704 11.704 0 0 1-.295-4.005c.923-11.5 0-12.22-2.788-14.14a11.074 11.074 0 0 0-5.537-1.643 2.373 2.373 0 0 0-1.015.13h-.092a2.438 2.438 0 0 0-1.237.996l-4.984 7.827a.758.758 0 0 1 .37.868.787.787 0 0 1-.739.553H6.49l-.296.443c-.11.093-.11.259-.018.37l.018.018 1.366 1.458c.24.24.61.277.905.111l2.658-1.717a6.047 6.047 0 0 1 2.344-.886 4.07 4.07 0 0 0 2.842-1.661 2.483 2.483 0 0 0 .277-1.846.634.634 0 0 1 0-.628.917.917 0 0 1 .536-.369.705.705 0 0 1 .609 0c.203.111.332.314.369.536a4.42 4.42 0 0 1-.443 3.1 5.098 5.098 0 0 1-2.99 2.216zm10.447 3.34h-.646v-.11c.775-10.78-.443-12.072-3.526-14.213a11.532 11.532 0 0 0-4.91-1.846v-.111l.277-.092a6.96 6.96 0 0 1 3.692 0c6.516 1.846 6.7 6.83 6.497 8.842 0 .941-.147 1.956-.147 3.175v3.174c-.037.683-.591 1.2-1.274 1.182zm-.462-.184h.462c.59 0 1.07-.48 1.07-1.07v-3.25c0-1.217 0-2.251.148-3.192.203-1.976 0-6.775-6.368-8.64a6.72 6.72 0 0 0-3.526 0c1.643.222 3.23.831 4.615 1.754 3.083 2.29 4.338 3.6 3.563 14.398zm-12.643-8.565a1.12 1.12 0 0 1-.48-.147.935.935 0 0 1-.314-.554.853.853 0 0 1 .166-.59l.498-.665a.877.877 0 0 1 1.145-.148c.35.258.443.757.203 1.126l-.517.665a.736.736 0 0 1-.701.313m.516-2.067a.67.67 0 0 0-.516.221l-.499.665a.595.595 0 0 0-.129.461.6.6 0 0 0 .222.407c.11.073.258.11.387.129a.533.533 0 0 0 .498-.24l.517-.665a.703.703 0 0 0-.129-.867.608.608 0 0 0-.35-.111m20.304-3.563a.78.78 0 0 1-.812-.738V2.574a.726.726 0 0 0-.701-.701H29.23a.78.78 0 0 1-.812-.738V1.06a.777.777 0 0 1 .812-.72h2.104a2.364 2.364 0 0 1 2.326 2.326v3.691a.777.777 0 0 1-.812.72zM29.175.433a.584.584 0 0 0-.628.554v.074a.584.584 0 0 0 .554.627h2.178c.48.019.868.406.886.886v3.692c0 .35.277.628.627.628.351 0 .628-.277.628-.628V2.574c0-1.181-.96-2.14-2.141-2.14zM1.063 7.078a.777.777 0 0 1-.72-.812V2.574A2.33 2.33 0 0 1 2.576.341h2.105a.78.78 0 0 1 .812.738v.074a.82.82 0 0 1-.812.812H2.576a.726.726 0 0 0-.7.702v3.691a.75.75 0 0 1-.795.72zM2.576.433c-1.18 0-2.14.96-2.14 2.141v3.692a.584.584 0 0 0 .553.628h.074a.584.584 0 0 0 .627-.554V2.574a.924.924 0 0 1 .886-.886h2.105c.35 0 .627-.277.627-.627a.584.584 0 0 0-.553-.628z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:34px;height:34px}.i-security\:filescan{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128' style='enable-background:new 0 0 128 128' xml:space='preserve'%3E%3Cpath class='st0' d='M36.8 46.8h20.6c1.9 0 3.4-1.5 3.4-3.4S59.3 40 57.4 40H36.8c-1.9 0-3.4 1.5-3.4 3.4s1.5 3.4 3.4 3.4z' fill='currentColor'/%3E%3Cpath class='st0' d='M88.4 105.2H30.1c-1.9 0-3.4-1.5-3.4-3.4V26.3c0-1.9 1.5-3.4 3.4-3.4h41.2V40c0 3.8 3.1 6.9 6.9 6.9h17.2V64c0 1.9 1.5 3.4 3.4 3.4s3.4-1.5 3.4-3.4V38.1c0-.9-.4-1.8-1-2.4L82.6 17c-.6-.6-1.5-1-2.4-1H26.6c-3.8 0-6.9 3.1-6.9 6.9v82.3c0 3.8 3.1 6.9 6.9 6.9h61.8c1.9 0 3.4-1.5 3.4-3.4s-1.5-3.5-3.4-3.5zM78.1 22.8 95.3 40H81.5c-1.9 0-3.4-1.5-3.4-3.4V22.8z' fill='currentColor'/%3E%3Cpath class='st0' d='M36.8 81.2c-1.9 0-3.4 1.5-3.4 3.4s1.5 3.4 3.4 3.4h34.4c1.9 0 3.4-1.5 3.4-3.4s-1.5-3.4-3.4-3.4H36.8zM81.4 64c0-1.9-1.5-3.4-3.4-3.4H36.8c-1.9 0-3.4 1.5-3.4 3.4s1.5 3.4 3.4 3.4H78c1.9 0 3.4-1.5 3.4-3.4zm20.8 37.8c-2 0-3.6-1.5-3.9-3.4l-2.2-17.2c-.5-3.6 2.4-6.8 6-6.8s6.5 3.2 6 6.8L106 98.4c-.2 2-1.9 3.4-3.8 3.4zm-3.5 6.7c0 1.9 1.5 3.4 3.4 3.4s3.4-1.5 3.4-3.4-1.5-3.4-3.4-3.4c-1.8 0-3.4 1.5-3.4 3.4z' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-security\:ftps{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.082 9.897c.23.356.502.687.814.992.168.164.43.164.598 0a.404.404 0 0 0 0-.585 4.887 4.887 0 0 1-1.197-1.856h1.662V9.69c0 .231.186.414.423.414a.414.414 0 0 0 .423-.414V8.448h1.69V9.69c0 .231.187.414.424.414a.414.414 0 0 0 .422-.414V8.448h1.691V9.69c0 .231.186.414.423.414a.414.414 0 0 0 .423-.414V8.448h1.988a5.078 5.078 0 0 1-.49.992c-.2.31-.436.598-.707.864a.404.404 0 0 0 0 .585c.167.164.43.164.597 0A5.713 5.713 0 0 0 13 6.793a5.701 5.701 0 0 0-1.734-4.096 5.896 5.896 0 0 0-2.985-1.578A6.046 6.046 0 0 0 7.08 1a6.046 6.046 0 0 0-2.227.424A5.9 5.9 0 0 0 2.08 3.688a5.706 5.706 0 0 0 0 6.21zm10.003-2.276a4.89 4.89 0 0 0-.093-2.082v.427H9.878V7.62h2.207zm-3.053 0V5.966h-1.69V7.62h1.69zm-2.536 0V5.966H4.805V7.62h1.69zm-2.537 0V5.966H2.078a4.896 4.896 0 0 0 0 1.655h1.881zM2.297 5.138h1.662v-2.26a5.13 5.13 0 0 0-1.172 1.268 4.887 4.887 0 0 0-.49.992zm2.508-2.784v2.784h1.69V1.86a5.096 5.096 0 0 0-1.69.494zm2.536-.52v3.304h1.691V2.242c-.284-.113-.617-.25-.913-.311a5.143 5.143 0 0 0-.778-.097zm2.537.814c.282.183.546.394.79.634a4.904 4.904 0 0 1 1.198 1.856H9.878v-2.49z' fill='currentColor' fill-rule='evenodd'/%3E%3Cpath d='M9.455 11.345H5.228a.841.841 0 0 0-.736.414H1v.827h3.492a.841.841 0 0 0 .736.414h4.227a.841.841 0 0 0 .736-.414h2.646v-.827h-2.646a.841.841 0 0 0-.736-.414z' clip-rule='evenodd' fill='currentColor' fill-rule='evenodd'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-security\:malicious-scan{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' xmlns='http://www.w3.org/2000/svg' width='60px' height='60px' fill='none'%3E%3Cpath d='M0 0h60v60H0z'/%3E%3Cpath fill='currentColor' d='M57.246 44.727a2.209 2.209 0 0 0-2.21 2.21v8.1h-8.1a2.21 2.21 0 1 0 0 4.418h9.573a2.945 2.945 0 0 0 2.946-2.946v-9.573a2.209 2.209 0 0 0-2.21-2.209M56.51.545h-9.573a2.21 2.21 0 1 0 0 4.419h8.1v8.1a2.208 2.208 0 1 0 4.419 0V3.49A2.945 2.945 0 0 0 56.509.545M2.755 15.273a2.21 2.21 0 0 0 2.209-2.21v-8.1h8.1a2.209 2.209 0 0 0 0-4.418H3.49A2.945 2.945 0 0 0 .545 3.491v9.573c0 1.219.99 2.209 2.21 2.209m10.309 39.763h-8.1v-8.1a2.209 2.209 0 1 0-4.419 0v9.573a2.947 2.947 0 0 0 2.946 2.946h9.573a2.208 2.208 0 1 0 0-4.419m14.89-31.14c0-1.126.917-2.034 2.046-2.034 1.13 0 2.045.908 2.045 2.034v9.737A2.037 2.037 0 0 1 30 35.67a2.038 2.038 0 0 1-2.045-2.037zm0 14.605A2.04 2.04 0 0 1 30 36.466c1.13 0 2.045.911 2.045 2.035A2.04 2.04 0 0 1 30 40.538a2.04 2.04 0 0 1-2.045-2.037m22.064 2.244c1.244 2.136-.31 4.8-2.784 4.8h-34.47c-2.474 0-4.029-2.664-2.785-4.8l17.237-29.599A3.19 3.19 0 0 1 30 9.546a3.2 3.2 0 0 1 2.785 1.598zm-4.21.734-15.805-27-15.764 27.074z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:60px;height:60px}.i-security\:overview{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' xmlns='http://www.w3.org/2000/svg' width='25px' height='25px' fill='none'%3E%3Cpath d='M0 0h25v25H0z'/%3E%3Cpath fill='currentColor' d='M3.125 11.458h8.333V3.125H3.125zm2.083-6.25h4.167v4.167H5.208zm17.696 2.117-5.218-5.219-5.246 5.246 5.219 5.218zm-5.218-2.273 2.272 2.273-2.3 2.299-2.272-2.272zM3.125 21.875h8.333v-8.333H3.125zm2.083-6.25h4.167v4.167H5.208zm8.334 6.25h8.333v-8.333h-8.333zm2.083-6.25h4.167v4.167h-4.167z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:25px;height:25px}.i-security\:php{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' xmlns='http://www.w3.org/2000/svg' width='60px' height='60px' fill='none'%3E%3Cpath d='M0 0h60v60H0z'/%3E%3Cpath fill='currentColor' d='M30.499 13.083c3.4 0 6.739.894 9.683 2.59a19.35 19.35 0 0 1 7.089 7.077 19.308 19.308 0 0 1 2.594 9.667v21.747l4.842.003V59H6.291v-4.833l4.841-.003V32.417c0-3.394.895-6.728 2.595-9.667a19.35 19.35 0 0 1 7.089-7.076 19.393 19.393 0 0 1 9.683-2.59m0 4.834c-2.488 0-4.935.638-7.105 1.852a14.514 14.514 0 0 0-5.29 5.086 14.482 14.482 0 0 0-2.12 7.018l-.01.544-.003 21.75h29.05l.003-21.75a14.48 14.48 0 0 0-1.946-7.25 14.512 14.512 0 0 0-5.317-5.308 14.545 14.545 0 0 0-7.262-1.942m3.781 7.832-2.905 9.805h7.112L26.458 48.676l3.02-9.887h-6.912l11.717-13.04zM51.577 7.958 55 11.375l-6.846 6.834-3.423-3.417zm-42.156 0 6.846 6.834-3.423 3.417L6 11.375l3.423-3.417zM32.92 1v9.667h-4.842V1z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:60px;height:60px}.i-security\:sql{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' xmlns='http://www.w3.org/2000/svg' width='60px' height='60px' fill='none'%3E%3Cpath d='M0 0h60v60H0z'/%3E%3Cpath fill='currentColor' d='M32.37 53.4a1.687 1.687 0 0 1-1.084.393l-.06-.002h.004c-.87 0-1.637-.607-2.302-1.837l-2.214 1.339v.012c.52 1.034 1.146 1.79 1.877 2.277.735.482 1.59.72 2.575.72 1.265 0 2.29-.369 3.075-1.112a3.705 3.705 0 0 0 1.175-2.71l-.002-.118v-.033c0-.573-.122-1.117-.341-1.608l.01.025c-.3-.6-.68-1.113-1.135-1.549l-.002-.002c-.217-.22-.825-.755-1.828-1.595-1.077-.913-1.724-1.506-1.932-1.78a1.069 1.069 0 0 1-.238-.664c0-.235.113-.447.333-.63a1.283 1.283 0 0 1 .85-.278h-.002c.712 0 1.411.479 2.098 1.435l1.947-1.73c-.717-.847-1.396-1.434-2.016-1.746a4.238 4.238 0 0 0-1.967-.479h-.01l-.105-.002a3.798 3.798 0 0 0-2.608 1.033l.001-.001a3.256 3.256 0 0 0-1.098 2.444v.034-.002c0 .67.217 1.339.66 2.006.438.67 1.417 1.62 2.923 2.854.791.652 1.304 1.129 1.533 1.447a1.572 1.572 0 0 1 .352.94v.003c0 .348-.157.652-.465.913zm16.204-9.55a6.855 6.855 0 0 0-4.98-2.134h-.09.006a7.03 7.03 0 0 0-3.613.982 7.178 7.178 0 0 0-3.61 6.222v.09-.005c0 1.985.681 3.7 2.059 5.14 1.377 1.433 3.11 2.154 5.19 2.154 1.242 0 2.367-.277 3.385-.834l1.225 1.586h3.128l-2.41-3.122c1.216-1.364 1.828-2.985 1.828-4.87 0-2.05-.703-3.788-2.12-5.208zm-1.36 7.944-1.256-1.617h-3.14l2.476 3.203a4.486 4.486 0 0 1-1.801.37 4.554 4.554 0 0 1-2.915-1.049l.007.006c-1.095-.905-1.651-2.12-1.651-3.658 0-1.378.443-2.512 1.316-3.405.872-.894 1.955-1.346 3.25-1.346 1.259 0 2.327.46 3.214 1.377.887.92 1.334 2.033 1.334 3.354a4.88 4.88 0 0 1-.834 2.768zm7.632-9.73h-2.637V55.95h6.48v-2.52h-3.845V42.067zM30.499 34.96c8.947 0 18.33-1.629 23.7-4.474v5.678h.009c.065 1.066 1.042 1.911 2.232 1.911 1.194 0 2.164-.847 2.233-1.91h.009v-24.37c0-13.406-56.345-13.406-56.345 0v36.57c0 5.34 9.652 8.757 20.772 9.808.088.014.192.025.298.026h.002l.122.013v-.013c1.217-.02 2.194-.92 2.194-2.032 0-1.122-1.004-2.03-2.238-2.03h-.057c-10.738-.99-16.62-4.083-16.62-5.777v-6.104c3.861 2.042 9.808 3.458 16.168 4.092.152.032.329.052.507.052h.044c1.217-.018 2.194-.917 2.194-2.03 0-1.125-1.003-2.033-2.238-2.033h-.092c-10.715-1-16.593-4.083-16.593-5.773v-6.096c5.36 2.858 14.751 4.488 23.695 4.488zm23.778-10.972c0 2.441-8.492 6.498-23.695 6.498-15.204 0-23.7-4.057-23.7-6.095v-6.099c5.363 2.846 14.75 4.474 23.7 4.474 8.944 0 18.33-1.628 23.695-4.474v5.691zM30.499 5.696c15.203 0 23.7 4.062 23.7 6.09 0 2.033-8.497 6.098-23.7 6.098-15.204 0-23.7-4.062-23.7-6.098-.004-2.02 8.496-6.087 23.7-6.087z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:60px;height:60px}.i-security\:time{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' xmlns='http://www.w3.org/2000/svg' width='60px' height='60px' fill='none'%3E%3Cpath d='M0 0h60v60H0z'/%3E%3Cpath fill='currentColor' d='M5 33.386c0-5.198 1.705-10.262 4.87-14.467s7.629-7.335 12.75-8.942a26.374 26.374 0 0 1 15.76 0c5.121 1.607 9.585 4.737 12.75 8.942 3.165 4.205 4.87 9.27 4.87 14.467 0 5.198-1.705 10.263-4.87 14.468s-7.629 7.335-12.75 8.941a26.373 26.373 0 0 1-15.76 0C17.5 55.19 13.035 52.06 9.87 47.854 6.705 43.649 5 38.584 5 33.386m25.5-19.432c-4.251 0-8.394 1.3-11.833 3.712-3.44 2.412-6 5.813-7.313 9.716a18.79 18.79 0 0 0 0 12.01c1.314 3.902 3.874 7.303 7.313 9.715 3.44 2.412 7.582 3.711 11.833 3.711s8.394-1.299 11.833-3.711c3.44-2.412 6-5.813 7.313-9.716a18.79 18.79 0 0 0 0-12.01c-1.313-3.902-3.873-7.303-7.313-9.715-3.44-2.412-7.582-3.712-11.833-3.712M18.421 3.592c0-.455.124-.902.36-1.296a2.64 2.64 0 0 1 .982-.948c.408-.227.871-.347 1.342-.347h18.79a2.75 2.75 0 0 1 1.577.495c.458.322.8.775.974 1.296.175.52.175 1.08 0 1.6s-.516.974-.974 1.296a2.75 2.75 0 0 1-1.577.495h-18.79c-.47 0-.934-.12-1.342-.347a2.64 2.64 0 0 1-.982-.949 2.522 2.522 0 0 1-.36-1.295'/%3E%3Cpath fill='currentColor' d='M51.217 8.783a2.667 2.667 0 0 1 0 3.776l-4 3.999a2.67 2.67 0 1 1-3.775-3.775l4-4a2.666 2.666 0 0 1 3.775 0m-20.55 9.887a2.666 2.666 0 0 1 2.665 2.666v11.998a2.666 2.666 0 0 1-5.332 0V21.336a2.666 2.666 0 0 1 2.666-2.666'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:60px;height:60px}.i-security\:webhorse{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.518 10.297a2.1 2.1 0 0 1 2.096-2.105 2.1 2.1 0 0 1 2.095 2.105c0 .675-.315 1.275-.806 1.66L13 13.611l-.581.389-1.134-1.708a2.1 2.1 0 0 1-2.767-1.995zm.699 0a1.4 1.4 0 0 1 1.397-1.403 1.4 1.4 0 0 1 1.397 1.403 1.4 1.4 0 0 1-1.397 1.403 1.4 1.4 0 0 1-1.397-1.403z' clip-rule='evenodd' fill='currentColor' fill-rule='evenodd'/%3E%3Cpath d='M5.927 3.43a.226.226 0 0 0 .227-.224.228.228 0 0 0-.234-.218.226.226 0 0 0-.23.222c0 .058.026.115.07.156a.236.236 0 0 0 .163.064h.004zM4.438 9.014a.317.317 0 0 0 .074.356.353.353 0 0 0 .373.07.325.325 0 0 0 .21-.302.317.317 0 0 0-.098-.23.338.338 0 0 0-.242-.094.34.34 0 0 0-.317.2zm2.724-1.021h.007-.007zm-.244-2.12c-.001-.845-.716-1.528-1.599-1.53-.882 0-1.598.684-1.598 1.53 0 .843.715 1.528 1.598 1.528.884 0 1.599-.685 1.599-1.529z' fill='currentColor'/%3E%3Cpath d='M7.323 10.503a4.28 4.28 0 0 1-.497.03c-1.409-.004-2.72-.697-3.471-1.839a3.789 3.789 0 0 1-.236-3.789l.313-.52c1.102-1.546 3.19-2.135 4.992-1.408 1.695.684 2.696 2.355 2.485 4.076.255.07.497.172.72.3.017-.1.03-.201.04-.303h.5a.48.48 0 0 0 .433-.22.438.438 0 0 0 0-.467.48.48 0 0 0-.433-.22h-.506a4.475 4.475 0 0 0-.377-1.396l.607-.336.012-.007a.44.44 0 0 0 .17-.615.483.483 0 0 0-.643-.162.02.02 0 0 0-.011 0l-.596.327a4.744 4.744 0 0 0-1.184-1.15l.315-.523c.093-.14.1-.317.016-.463a.474.474 0 0 0-.417-.233.477.477 0 0 0-.413.241.02.02 0 0 0 0 .012l-.31.52a4.948 4.948 0 0 0-1.58-.399v-.505A.465.465 0 0 0 6.778 1a.465.465 0 0 0-.475.454v.512a4.993 4.993 0 0 0-1.476.39l-.316-.523a.476.476 0 0 0-.413-.242.473.473 0 0 0-.417.233.434.434 0 0 0 .016.463l.316.518A4.74 4.74 0 0 0 2.846 3.92l-.516-.292a.492.492 0 0 0-.484-.016.447.447 0 0 0-.243.4.451.451 0 0 0 .252.394l.523.292a4.41 4.41 0 0 0-.401 1.435h-.528A.463.463 0 0 0 1 6.587c0 .241.197.44.449.454h.534c.042.45.155.895.335 1.313l-.577.32a.45.45 0 0 0-.252.396.445.445 0 0 0 .243.399.49.49 0 0 0 .484-.016l.546-.31c.274.4.61.757.997 1.06l-.37.618a.443.443 0 0 0 .171.62.486.486 0 0 0 .649-.164l.34-.564c.55.28 1.15.455 1.769.518v.483h-.009a.46.46 0 0 0 .469.424.46.46 0 0 0 .468-.424v-.476a4.73 4.73 0 0 0 .395-.048 2.716 2.716 0 0 1-.318-.687z' fill='currentColor'/%3E%3Cpath d='M7.219 9.957a2.683 2.683 0 0 1 .504-1.806 1.055 1.055 0 0 0-.558-.158 1.029 1.029 0 0 0-.951.603.953.953 0 0 0 .218 1.073c.21.203.498.304.787.288zm.977-5.748a.28.28 0 0 0-.288.27.278.278 0 0 0 .28.277.28.28 0 0 0 .286-.274h.005a.278.278 0 0 0-.283-.273zm1.012 1.593c-.458.004-.828.361-.826.8.002.28.154.524.383.665a3 3 0 0 1 1.195-.314.77.77 0 0 0 .088-.355c-.005-.441-.379-.795-.84-.796z' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-security\:webscan{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128' style='enable-background:new 0 0 128 128' xml:space='preserve'%3E%3Cpath d='M108.1 81.3c2.2 0 4 1.8 3.9 4V98c0 7.3-6.4 14-13.2 14H29.2c-6.9 0-13.2-6.8-13.2-14V85.5c0-2.1 2-4.2 3.9-4.2 2 0 3.9 2.1 3.9 4.2V98c0 3.1 2.4 5.7 5.4 5.7h69.6c2.9 0 5.4-2.6 5.4-5.7V85.5c-.1-2.1 1.9-4.2 3.9-4.2zM69.2 41l.8.1c2.4 1.1 3.6 3.3 3 5.6L63 85.8c-1.2 2.8-3.6 3.9-5.9 2.8-2.4-1.1-3.6-3.3-3-5.6L64 44c1.1-2.2 3.5-3.3 5.9-2.8l-.7-.2zm-25 7.5c2-1 4.4-.5 5.4 1.6s.5 4.7-1.5 5.8l-12.7 7.8 12.7 7.8c2 1 2.4 3.7 1.5 5.8-1 2.1-3.4 2.6-5.4 1.6L25.6 67.3c-1-1-2-2.1-2-3.7s1-3.1 2-3.7l18.6-11.4zM79 50c1-2.1 3.4-2.6 5.4-1.6L102.9 60c1 1 2 2.1 2 3.7s-1 3.1-2 3.7L84.3 78.8c-2 1-4.4.5-5.4-1.6s-.5-4.7 1.5-5.8l12.7-7.8-12.7-7.8C78.5 54.7 78 52.1 79 50zm19.8-34.1c6.9 0 13.2 6.2 13.2 14v12.5c0 2.1-2 4.2-3.9 4.2-2 0-3.9-2.1-3.9-4.2V30c0-3.1-2.4-5.7-5.4-5.7H29.2c-2.9 0-5.4 2.6-5.4 5.7v12c0 2.1-2 4.2-3.9 4.2S16 44.1 16 42V30c0-7.3 6.4-14 13.2-14h69.6z' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-security\:xss{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' xmlns='http://www.w3.org/2000/svg' width='60px' height='60px' fill='none'%3E%3Cpath d='M0 0h60v60H0z'/%3E%3Cpath fill='currentColor' d='M55.838 19.49a26.886 26.886 0 0 0-5.893-8.582 27.439 27.439 0 0 0-8.74-5.785A27.767 27.767 0 0 0 30.5 3c-3.712 0-7.313.714-10.705 2.123a27.44 27.44 0 0 0-8.74 5.785 26.885 26.885 0 0 0-5.893 8.582A26.411 26.411 0 0 0 3 30c0 3.644.727 7.18 2.162 10.51a26.886 26.886 0 0 0 5.893 8.582 27.439 27.439 0 0 0 8.74 5.785A27.768 27.768 0 0 0 30.5 57c3.712 0 7.313-.714 10.705-2.123a27.438 27.438 0 0 0 8.74-5.785 26.885 26.885 0 0 0 5.893-8.582A26.413 26.413 0 0 0 58 30c0-3.644-.727-7.18-2.162-10.51m-23.3 2.047a129.031 129.031 0 0 0 9.145-.44c.646 2.148 1.059 4.456 1.234 6.903h-10.38zm0-4.005V8.248a21.85 21.85 0 0 1 3.887 3.387 23.558 23.558 0 0 1 3.742 5.564 129.3 129.3 0 0 1-7.63.333m-4.075-9.047v9.044a132.158 132.158 0 0 1-7.295-.319 23.592 23.592 0 0 1 3.608-5.42 21.972 21.972 0 0 1 3.687-3.305m-6.946 12.76c2.313.154 4.629.25 6.946.287V28H18.424c.175-2.442.586-4.747 1.231-6.893.602.049 1.223.095 1.862.137M14.341 28H7.163a22.494 22.494 0 0 1 2.3-8.142c1.29.223 3.364.547 6.074.852-.63 2.294-1.03 4.73-1.196 7.29m-.054 4a25.82 25.82 0 0 0 1.47 7.3c-2.807.31-4.952.645-6.278.874A22.493 22.493 0 0 1 7.163 32zm4.08 0h10.096v6.503a137.807 137.807 0 0 0-8.512.401c-.912-2.282-1.442-4.596-1.584-6.904m10.096 10.506v8.232a39.132 39.132 0 0 1-3.567-3.733 33.357 33.357 0 0 1-3.016-4.23c2.192-.144 4.387-.234 6.583-.269m4.074 8.542v-8.545c2.19.031 4.506.119 6.918.283a33.338 33.338 0 0 1-3.01 4.219 39.248 39.248 0 0 1-3.908 4.043m3.344-12.464c-1.114-.043-2.229-.072-3.344-.087V32h10.437c-.142 2.31-.673 4.628-1.587 6.913a129.247 129.247 0 0 0-5.506-.33M47.055 32h6.782a22.493 22.493 0 0 1-2.312 8.166c-1.975-.33-3.96-.61-5.95-.84A25.827 25.827 0 0 0 47.055 32M47 28c-.166-2.57-.568-5.015-1.203-7.316a117.98 117.98 0 0 0 5.744-.818A22.493 22.493 0 0 1 53.837 28zm.065-14.263c.779.765 1.503 1.583 2.167 2.447-1.59.241-3.184.449-4.782.624-1.243-2.925-2.917-5.557-4.984-7.834a26.531 26.531 0 0 0-.343-.37 23.413 23.413 0 0 1 7.942 5.133M22.407 8.405c-.18.187-.358.377-.532.569-2.073 2.283-3.75 4.923-4.994 7.857-2.06-.218-3.786-.453-5.107-.655a23.463 23.463 0 0 1 2.161-2.44 23.405 23.405 0 0 1 8.472-5.331m-8.472 37.858a23.474 23.474 0 0 1-2.137-2.409c1.434-.218 3.343-.476 5.641-.708 1.16 2.221 2.63 4.397 4.384 6.488a42.629 42.629 0 0 0 2.274 2.5 23.392 23.392 0 0 1-10.162-5.87m23.442 5.734a42.568 42.568 0 0 0 2.14-2.363c1.75-2.084 3.215-4.253 4.374-6.467 1.777.186 3.55.413 5.317.68a23.472 23.472 0 0 1-2.143 2.416 23.392 23.392 0 0 1-9.688 5.734'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:60px;height:60px}.i-settings\:network{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Crect id='svg 2' x='0.000000' y='0.000000'/%3E%3Cpath id='矢量 8' d='M10 1.875C14.4875 1.875 18.125 5.5125 18.125 10C18.125 14.4875 14.4875 18.125 10 18.125C5.5125 18.125 1.875 14.4875 1.875 10C1.875 5.5125 5.5125 1.875 10 1.875ZM9.375 10.625L6.88833 10.6254C6.90583 11.0254 6.93958 11.4146 6.98833 11.7908L7.02708 12.07L7.07542 12.3679C7.46125 14.5729 8.35917 16.23 9.37542 16.7233L9.375 10.625ZM13.1117 10.6254L10.625 10.625L10.625 16.7233C11.6183 16.2404 12.4987 14.6458 12.8979 12.5142L12.9246 12.3679L12.9729 12.0704C13.0447 11.5915 13.091 11.1092 13.1117 10.6254L13.1117 10.6254ZM5.63708 10.6254L3.15292 10.6254C3.38042 13.1463 4.96917 15.2754 7.17833 16.2712C6.74625 15.6017 6.39 14.7788 6.12833 13.8488L6.06917 13.6321L6.00042 13.3554L5.93708 13.0729C5.76796 12.2671 5.6676 11.4483 5.63708 10.6254L5.63708 10.6254ZM16.8471 10.6254L14.3625 10.6254C14.3349 11.3606 14.2522 12.0926 14.115 12.8154L14.0625 13.0729L13.9992 13.3554L13.9304 13.6325C13.6637 14.6508 13.2867 15.5504 12.8212 16.2712C15.0304 15.2754 16.6192 13.1463 16.8463 10.6254L16.8471 10.6254ZM7.17833 3.72833L7.1225 3.75375C4.94167 4.76042 3.37833 6.875 3.15292 9.375L5.63708 9.375C5.66708 8.6125 5.75167 7.87708 5.88458 7.18458L5.93708 6.92708L6.00042 6.64458L6.06917 6.3675C6.33583 5.34917 6.71292 4.44958 7.17833 3.72875L7.17833 3.72833ZM9.375 3.27667C8.38458 3.7575 7.50625 5.345 7.10542 7.46792L7.07542 7.63208L7.02708 7.92958C6.9553 8.40859 6.90898 8.89108 6.88833 9.375L9.375 9.375L9.375 3.27667ZM12.8217 3.72875L12.8717 3.80792C13.28 4.46083 13.6183 5.25292 13.8696 6.14292L13.9308 6.36792L13.9996 6.64458L14.0629 6.92708C14.2263 7.69375 14.3292 8.51708 14.3629 9.375L16.8471 9.375C16.62 6.85375 15.0312 4.72458 12.8217 3.72917L12.8217 3.72875ZM10.625 3.27667L10.625 9.375L13.1117 9.375C13.0944 8.97409 13.0596 8.57413 13.0075 8.17625L12.9729 7.92958L12.9246 7.63208C12.5388 5.4275 11.6412 3.77042 10.6254 3.27667L10.625 3.27667Z' fill='currentColor' fill-rule='nonzero'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-settings\:page{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Crect id='svg 5' x='0.000000' y='0.000000'/%3E%3Cpath id='矢量 12' d='M18.0879 7.86328C17.7598 7.53125 17.3223 7.34375 16.8535 7.33594C16.7676 7.32617 16.5078 7.30078 16.1328 7.26562C15.9512 6.85547 15.7305 6.46484 15.4707 6.10156C15.6328 5.75 15.7129 5.57227 15.75 5.47461L15.7559 5.47656C16.25 4.61914 15.957 3.51758 15.1016 3.02148L13.5996 2.15039C13.3262 1.99219 13.0137 1.9082 12.6973 1.90625C12.0684 1.90625 11.4707 2.23828 11.1719 2.75391C11.1426 2.79492 10.9824 3.01758 10.7422 3.35352C10.2969 3.30859 9.84766 3.31055 9.40234 3.35547C9.17773 3.03711 9.06445 2.87695 8.99609 2.79492L9 2.79297C8.67969 2.23828 8.08203 1.89453 7.44141 1.89453C7.12891 1.89453 6.82031 1.97656 6.54688 2.13281L5.04102 2.99805C4.62109 3.24023 4.32031 3.63086 4.19336 4.10156C4.07227 4.55078 4.12891 5.01367 4.35156 5.40234C4.37305 5.44922 4.49805 5.72656 4.6875 6.14062C4.58203 6.28906 4.48047 6.44531 4.38867 6.60352C4.27344 6.80469 4.16602 7.01367 4.07422 7.22656C3.56641 7.27344 3.375 7.29102 3.29492 7.30078C2.31055 7.30469 1.50781 8.10742 1.50391 9.0957L1.5 10.832C1.5 11.3164 1.68945 11.7734 2.0332 12.1172C2.36328 12.4473 2.78906 12.6289 3.23828 12.6309C3.29297 12.6367 3.62891 12.6699 4.12891 12.7168C4.29297 13.0664 4.48828 13.4004 4.71094 13.7168C4.50391 14.1641 4.40625 14.3789 4.36523 14.4941L4.35938 14.4902C4.12109 14.8984 4.05664 15.3945 4.17773 15.8516C4.29883 16.3105 4.60352 16.709 5.01367 16.9453L6.51563 17.8164C6.78906 17.9746 7.09961 18.0586 7.41602 18.0586C8.04492 18.0586 8.64258 17.7266 8.94141 17.2109C8.97461 17.166 9.17383 16.8887 9.4668 16.4766C9.85352 16.5137 10.2422 16.5176 10.623 16.4863C10.9043 16.8867 11.041 17.0762 11.1172 17.168L11.1113 17.1719C11.4316 17.7266 12.0293 18.0703 12.6699 18.0703C12.9824 18.0703 13.293 17.9883 13.5645 17.832L15.0703 16.9688C15.4824 16.7344 15.7891 16.3359 15.9121 15.877C16.0352 15.4258 15.9785 14.9531 15.752 14.5449C15.7148 14.4609 15.5938 14.1934 15.418 13.8105C15.5566 13.625 15.6855 13.4277 15.8047 13.2266C15.8965 13.0684 15.9805 12.9043 16.0566 12.7383C16.5195 12.6953 16.7207 12.6777 16.8145 12.6641L16.8145 12.666C17.8027 12.6641 18.6074 11.8594 18.6094 10.8711L18.6133 9.13476C18.6152 8.66211 18.4238 8.19922 18.0879 7.86328L18.0879 7.86328ZM14.1406 13.2969C13.9785 13.4922 13.9414 13.7656 14.0469 13.9961C14.3145 14.582 14.5059 15.0039 14.5469 15.0977C14.5508 15.1055 14.5527 15.1133 14.5566 15.1172C14.5664 15.1367 14.5762 15.1562 14.5879 15.1758C14.6504 15.2832 14.668 15.4141 14.6348 15.5352C14.6016 15.6562 14.5215 15.7617 14.4121 15.8242L12.9063 16.6895C12.834 16.7305 12.7539 16.752 12.6719 16.752C12.4941 16.752 12.3379 16.6523 12.2305 16.4707L12.2148 16.4473C12.166 16.377 11.875 15.9707 11.4805 15.4102C11.3359 15.2051 11.0938 15.0996 10.8457 15.1367C10.3203 15.2129 9.78711 15.207 9.26368 15.123C9.01368 15.084 8.76563 15.1875 8.61914 15.3945C8.375 15.7402 8.16993 16.0254 8.03125 16.2188C7.91602 16.3789 7.84571 16.4785 7.82813 16.5059C7.76954 16.6094 7.66211 16.6875 7.53711 16.7207C7.41211 16.7539 7.28125 16.7383 7.17774 16.6777L5.67579 15.8066C5.56641 15.7422 5.48829 15.6406 5.45508 15.5176C5.41993 15.3887 5.44336 15.2578 5.52735 15.1113L5.53321 15.0977C5.53907 15.084 5.75586 14.6074 6.07618 13.918C6.1836 13.6875 6.15039 13.4219 5.99219 13.2246C5.65821 12.8105 5.39063 12.3516 5.19532 11.8574C5.10352 11.625 4.89063 11.4648 4.64063 11.4414C4.26368 11.4063 3.94532 11.375 3.71485 11.3535C3.44141 11.3281 3.33008 11.3164 3.29493 11.3145C3.03321 11.3125 2.82032 11.0996 2.82032 10.8379L2.82422 9.10156C2.82422 8.83984 3.03711 8.62695 3.29883 8.62695C3.32032 8.62695 3.34375 8.625 3.36524 8.62305C3.3711 8.62305 3.37696 8.62305 3.38672 8.62109C3.48438 8.61133 3.94922 8.56641 4.59375 8.50977C4.84571 8.48633 5.06641 8.31836 5.1543 8.08203C5.26954 7.77344 5.39258 7.50781 5.53125 7.26953C5.64454 7.07227 5.78516 6.87109 5.97071 6.63867C6.12696 6.44336 6.15821 6.17969 6.05469 5.95313C5.91602 5.65039 5.79883 5.39258 5.71094 5.19922C5.5918 4.9375 5.54297 4.83008 5.52539 4.79688C5.39454 4.57031 5.47461 4.2793 5.70118 4.14844L7.20704 3.2832C7.44141 3.14844 7.73243 3.24219 7.88282 3.5L7.89649 3.51953C7.93555 3.57227 8.19141 3.93359 8.55469 4.44922C8.70118 4.65625 8.95704 4.76367 9.20704 4.7207C9.76758 4.625 10.3672 4.62305 10.9453 4.7168C11.1953 4.75781 11.4434 4.6543 11.5898 4.44727C11.7813 4.17773 11.9434 3.95117 12.0625 3.78516C12.207 3.58203 12.2676 3.5 12.2871 3.46875C12.3477 3.36523 12.4531 3.28711 12.5762 3.25391C12.7012 3.2207 12.832 3.23633 12.9356 3.29492L14.4395 4.16797C14.5469 4.23047 14.627 4.33594 14.6602 4.45703C14.6953 4.58594 14.6719 4.7168 14.5879 4.86328L14.5664 4.90039L14.5664 4.9082C14.5176 5.01367 14.3457 5.39258 14.1074 5.9082C14.002 6.13477 14.0352 6.4082 14.1934 6.60156C14.5664 7.06445 14.8555 7.57227 15.0527 8.11328C15.1387 8.35156 15.3594 8.52148 15.6113 8.54492C16.2051 8.60156 16.6309 8.64453 16.7305 8.6543C16.7402 8.65625 16.7481 8.65625 16.7539 8.65625C16.9473 8.67188 17.0703 8.7168 17.1524 8.79883C17.2402 8.88672 17.291 9.00977 17.291 9.13477L17.2871 10.873C17.2871 11.1426 17.0606 11.3477 16.7617 11.3496C16.7617 11.3496 16.7461 11.3496 16.7188 11.3535C16.6055 11.3652 16.1602 11.4063 15.5469 11.4609C15.2969 11.4844 15.0859 11.6426 14.9922 11.875C14.8828 12.1465 14.7793 12.3672 14.6621 12.5684C14.5176 12.8105 14.3477 13.0488 14.1406 13.2969L14.1406 13.2969Z' fill='currentColor' fill-rule='nonzero'/%3E%3Cpath id='矢量 13' d='M11.6387 7.25586C11.1699 6.98438 10.6387 6.8418 10.0977 6.83984C9.00393 6.83984 7.98245 7.42773 7.43362 8.37305C6.58206 9.83984 7.08401 11.7266 8.55081 12.5781C9.01956 12.8496 9.55276 12.9941 10.0938 12.9941C11.1875 12.9941 12.209 12.4062 12.7578 11.4609C13.166 10.7598 13.2813 9.91016 13.0703 9.12695C12.8633 8.34375 12.3418 7.66016 11.6387 7.25586L11.6387 7.25586ZM11.6114 10.7969C11.2969 11.3359 10.7149 11.6699 10.0918 11.6699C9.78323 11.6699 9.4805 11.5879 9.21292 11.4316C8.37698 10.9453 8.09182 9.87109 8.5762 9.03516C8.89065 8.49609 9.47268 8.16211 10.0957 8.16016C10.4043 8.16016 10.7071 8.24219 10.9746 8.39844C11.375 8.62891 11.6719 9.01758 11.7891 9.46484C11.9102 9.91992 11.8477 10.3926 11.6114 10.7969L11.6114 10.7969Z' fill='currentColor' fill-rule='nonzero'/%3E%3Cpath id='矢量 14' d='M18.0684 7.86328C17.7402 7.53125 17.3027 7.34375 16.834 7.33594C16.7481 7.32617 16.4883 7.30078 16.1133 7.26562C15.9316 6.85547 15.7109 6.46484 15.4512 6.10156C15.6133 5.75 15.6934 5.57227 15.7305 5.47461L15.7363 5.47656C16.2305 4.61914 15.9375 3.51758 15.082 3.02148L13.5801 2.15039C13.3066 1.99219 12.9941 1.9082 12.6777 1.90625C12.0488 1.90625 11.4512 2.23828 11.1523 2.75391C11.123 2.79492 10.9629 3.01758 10.7227 3.35352C10.2773 3.30859 9.82813 3.31055 9.38281 3.35547C9.1582 3.03711 9.04492 2.87695 8.97656 2.79492L8.98047 2.79297C8.66016 2.23828 8.0625 1.89453 7.42188 1.89453C7.10938 1.89453 6.80078 1.97656 6.52734 2.13281L5.02148 2.99805C4.60156 3.24023 4.30078 3.63086 4.17383 4.10156C4.05273 4.55078 4.10938 5.01367 4.33203 5.40234C4.35352 5.44922 4.47852 5.72656 4.66797 6.14062C4.5625 6.28906 4.46094 6.44531 4.36914 6.60352C4.25391 6.80469 4.14648 7.01367 4.05469 7.22656C3.54688 7.27344 3.35547 7.29102 3.27539 7.30078C2.29102 7.30469 1.48828 8.10742 1.48438 9.0957L1.48047 10.832C1.48047 11.3164 1.66992 11.7734 2.01367 12.1172C2.34375 12.4473 2.76953 12.6289 3.21875 12.6309C3.27344 12.6367 3.60938 12.6699 4.10938 12.7168C4.27344 13.0664 4.46875 13.4004 4.69141 13.7168C4.48438 14.1641 4.38672 14.3789 4.3457 14.4941L4.33984 14.4902C4.10156 14.8984 4.03711 15.3945 4.1582 15.8516C4.2793 16.3105 4.58398 16.709 4.99414 16.9453L6.49609 17.8164C6.76953 17.9746 7.08008 18.0586 7.39649 18.0586C8.02539 18.0586 8.62305 17.7266 8.92188 17.2109C8.95508 17.166 9.1543 16.8887 9.44727 16.4766C9.83399 16.5137 10.2227 16.5176 10.6035 16.4863C10.8848 16.8867 11.0215 17.0762 11.0977 17.168L11.0918 17.1719C11.4121 17.7266 12.0098 18.0703 12.6504 18.0703C12.9629 18.0703 13.2734 17.9883 13.5449 17.832L15.0508 16.9688C15.4629 16.7344 15.7695 16.3359 15.8926 15.877C16.0156 15.4258 15.959 14.9531 15.7324 14.5449C15.6953 14.4609 15.5742 14.1934 15.3984 13.8105C15.5371 13.625 15.666 13.4277 15.7852 13.2266C15.877 13.0684 15.9609 12.9043 16.0371 12.7383C16.5 12.6953 16.7012 12.6777 16.7949 12.6641L16.7949 12.666C17.7832 12.6641 18.5879 11.8594 18.5898 10.8711L18.5938 9.13476C18.5957 8.66211 18.4043 8.19922 18.0684 7.86328L18.0684 7.86328ZM14.1211 13.2969C13.959 13.4922 13.9219 13.7656 14.0273 13.9961C14.2949 14.582 14.4863 15.0039 14.5273 15.0977C14.5313 15.1055 14.5332 15.1133 14.5371 15.1172C14.5469 15.1367 14.5566 15.1562 14.5684 15.1758C14.6309 15.2832 14.6484 15.4141 14.6152 15.5352C14.582 15.6562 14.502 15.7617 14.3926 15.8242L12.8867 16.6895C12.8145 16.7305 12.7344 16.752 12.6523 16.752C12.4746 16.752 12.3184 16.6523 12.2109 16.4707L12.1953 16.4473C12.1465 16.377 11.8555 15.9707 11.4609 15.4102C11.3164 15.2051 11.0742 15.0996 10.8262 15.1367C10.3008 15.2129 9.76758 15.207 9.24414 15.123C8.99414 15.084 8.7461 15.1875 8.59961 15.3945C8.35547 15.7402 8.15039 16.0254 8.01172 16.2188C7.89649 16.3789 7.82618 16.4785 7.8086 16.5059C7.75 16.6094 7.64258 16.6875 7.51758 16.7207C7.39258 16.7539 7.26172 16.7383 7.15821 16.6777L5.65625 15.8066C5.54688 15.7422 5.46875 15.6406 5.43555 15.5176C5.40039 15.3887 5.42383 15.2578 5.50782 15.1113L5.51368 15.0977C5.51954 15.084 5.73633 14.6074 6.05664 13.918C6.16407 13.6875 6.13086 13.4219 5.97266 13.2246C5.63868 12.8105 5.3711 12.3516 5.17579 11.8574C5.08399 11.625 4.8711 11.4648 4.6211 11.4414C4.24414 11.4063 3.92579 11.375 3.69532 11.3535C3.42188 11.3281 3.31055 11.3164 3.27539 11.3145C3.01368 11.3125 2.80079 11.0996 2.80079 10.8379L2.80469 9.10156C2.80469 8.83984 3.01758 8.62695 3.2793 8.62695C3.30079 8.62695 3.32422 8.625 3.34571 8.62305C3.35157 8.62305 3.35743 8.62305 3.36719 8.62109C3.46485 8.61133 3.92969 8.56641 4.57422 8.50977C4.82618 8.48633 5.04688 8.31836 5.13477 8.08203C5.25 7.77344 5.37305 7.50781 5.51172 7.26953C5.625 7.07227 5.76563 6.87109 5.95118 6.63867C6.10743 6.44336 6.13868 6.17969 6.03516 5.95313C5.89649 5.65039 5.7793 5.39258 5.69141 5.19922C5.57227 4.9375 5.52344 4.83008 5.50586 4.79688C5.375 4.57031 5.45508 4.2793 5.68164 4.14844L7.1875 3.2832C7.42188 3.14844 7.71289 3.24219 7.86329 3.5L7.87696 3.51953C7.91602 3.57227 8.17188 3.93359 8.53516 4.44922C8.68165 4.65625 8.93751 4.76367 9.18751 4.7207C9.74805 4.625 10.3477 4.62305 10.9258 4.7168C11.1758 4.75781 11.4238 4.6543 11.5703 4.44727C11.7617 4.17773 11.9238 3.95117 12.043 3.78516C12.1875 3.58203 12.2481 3.5 12.2676 3.46875C12.3281 3.36523 12.4336 3.28711 12.5566 3.25391C12.6816 3.2207 12.8125 3.23633 12.916 3.29492L14.4199 4.16797C14.5273 4.23047 14.6074 4.33594 14.6406 4.45703C14.6758 4.58594 14.6524 4.7168 14.5684 4.86328L14.5469 4.90039L14.5469 4.9082C14.4981 5.01367 14.3262 5.39258 14.0879 5.9082C13.9824 6.13477 14.0156 6.4082 14.1738 6.60156C14.5469 7.06445 14.8359 7.57227 15.0332 8.11328C15.1191 8.35156 15.3399 8.52148 15.5918 8.54492C16.1856 8.60156 16.6113 8.64453 16.7109 8.6543C16.7207 8.65625 16.7285 8.65625 16.7344 8.65625C16.9277 8.67188 17.0508 8.7168 17.1328 8.79883C17.2207 8.88672 17.2715 9.00977 17.2715 9.13477L17.2676 10.873C17.2676 11.1426 17.041 11.3477 16.7422 11.3496C16.7422 11.3496 16.7266 11.3496 16.6992 11.3535C16.5859 11.3652 16.1406 11.4063 15.5273 11.4609C15.2773 11.4844 15.0664 11.6426 14.9727 11.875C14.8633 12.1465 14.7598 12.3672 14.6426 12.5684C14.498 12.8105 14.3281 13.0488 14.1211 13.2969L14.1211 13.2969Z' fill='currentColor' fill-rule='nonzero'/%3E%3Cpath id='矢量 15' d='M11.6192 7.25586C11.1504 6.98438 10.6192 6.8418 10.0782 6.83984C8.9844 6.83984 7.96292 7.42773 7.41409 8.37305C6.56253 9.83984 7.06448 11.7266 8.53128 12.5781C9.00003 12.8496 9.53323 12.9941 10.0742 12.9941C11.168 12.9941 12.1895 12.4062 12.7383 11.4609C13.1465 10.7598 13.2617 9.91016 13.0508 9.12695C12.8438 8.34375 12.3223 7.66016 11.6192 7.25586L11.6192 7.25586ZM11.5918 10.7969C11.2774 11.3359 10.6953 11.6699 10.0723 11.6699C9.7637 11.6699 9.46096 11.5879 9.19339 11.4316C8.35745 10.9453 8.07229 9.87109 8.55667 9.03516C8.87112 8.49609 9.45315 8.16211 10.0762 8.16016C10.3848 8.16016 10.6875 8.24219 10.9551 8.39844C11.3555 8.62891 11.6524 9.01758 11.7696 9.46484C11.8907 9.91992 11.8282 10.3926 11.5918 10.7969L11.5918 10.7969Z' fill='currentColor' fill-rule='nonzero'/%3E%3Cpath id='矢量 16' d='M18.0488 7.86328C17.7207 7.53125 17.2832 7.34375 16.8145 7.33594C16.7285 7.32617 16.4688 7.30078 16.0938 7.26562C15.9121 6.85547 15.6914 6.46484 15.4316 6.10156C15.5938 5.75 15.6738 5.57227 15.7109 5.47461L15.7168 5.47656C16.2109 4.61914 15.918 3.51758 15.0625 3.02148L13.5605 2.15039C13.2871 1.99219 12.9746 1.9082 12.6582 1.90625C12.0293 1.90625 11.4316 2.23828 11.1328 2.75391C11.1035 2.79492 10.9434 3.01758 10.7031 3.35352C10.2578 3.30859 9.80859 3.31055 9.36328 3.35547C9.13867 3.03711 9.02539 2.87695 8.95703 2.79492L8.96094 2.79297C8.64063 2.23828 8.04297 1.89453 7.40234 1.89453C7.08984 1.89453 6.78125 1.97656 6.50781 2.13281L5.00195 2.99805C4.58203 3.24023 4.28125 3.63086 4.1543 4.10156C4.0332 4.55078 4.08984 5.01367 4.3125 5.40234C4.33398 5.44922 4.45898 5.72656 4.64844 6.14062C4.54297 6.28906 4.44141 6.44531 4.34961 6.60352C4.23438 6.80469 4.12695 7.01367 4.03516 7.22656C3.52734 7.27344 3.33594 7.29102 3.25586 7.30078C2.27148 7.30469 1.46875 8.10742 1.46484 9.0957L1.46094 10.832C1.46094 11.3164 1.65039 11.7734 1.99414 12.1172C2.32422 12.4473 2.75 12.6289 3.19922 12.6309C3.25391 12.6367 3.58984 12.6699 4.08984 12.7168C4.25391 13.0664 4.44922 13.4004 4.67188 13.7168C4.46484 14.1641 4.36719 14.3789 4.32617 14.4941L4.32031 14.4902C4.08203 14.8984 4.01758 15.3945 4.13867 15.8516C4.25977 16.3105 4.56445 16.709 4.97461 16.9453L6.47656 17.8164C6.75 17.9746 7.06055 18.0586 7.37695 18.0586C8.00586 18.0586 8.60352 17.7266 8.90235 17.2109C8.93555 17.166 9.13477 16.8887 9.42774 16.4766C9.81445 16.5137 10.2031 16.5176 10.584 16.4863C10.8652 16.8867 11.002 17.0762 11.0781 17.168L11.0723 17.1719C11.3926 17.7266 11.9902 18.0703 12.6309 18.0703C12.9434 18.0703 13.2539 17.9883 13.5254 17.832L15.0312 16.9688C15.4434 16.7344 15.75 16.3359 15.873 15.877C15.9961 15.4258 15.9395 14.9531 15.7129 14.5449C15.6758 14.4609 15.5547 14.1934 15.3789 13.8105C15.5176 13.625 15.6465 13.4277 15.7656 13.2266C15.8574 13.0684 15.9414 12.9043 16.0176 12.7383C16.4805 12.6953 16.6816 12.6777 16.7754 12.6641L16.7754 12.666C17.7637 12.6641 18.5684 11.8594 18.5703 10.8711L18.5742 9.13476C18.5762 8.66211 18.3848 8.19922 18.0488 7.86328L18.0488 7.86328ZM14.1016 13.2969C13.9395 13.4922 13.9023 13.7656 14.0078 13.9961C14.2754 14.582 14.4668 15.0039 14.5078 15.0977C14.5117 15.1055 14.5137 15.1133 14.5176 15.1172C14.5273 15.1367 14.5371 15.1562 14.5488 15.1758C14.6113 15.2832 14.6289 15.4141 14.5957 15.5352C14.5625 15.6562 14.4824 15.7617 14.373 15.8242L12.8672 16.6895C12.7949 16.7305 12.7148 16.752 12.6328 16.752C12.4551 16.752 12.2988 16.6523 12.1914 16.4707L12.1758 16.4473C12.127 16.377 11.8359 15.9707 11.4414 15.4102C11.2969 15.2051 11.0547 15.0996 10.8066 15.1367C10.2813 15.2129 9.74805 15.207 9.22461 15.123C8.97461 15.084 8.72657 15.1875 8.58008 15.3945C8.33594 15.7402 8.13086 16.0254 7.99219 16.2188C7.87696 16.3789 7.80664 16.4785 7.78907 16.5059C7.73047 16.6094 7.62305 16.6875 7.49805 16.7207C7.37305 16.7539 7.24219 16.7383 7.13868 16.6777L5.63672 15.8066C5.52735 15.7422 5.44922 15.6406 5.41602 15.5176C5.38086 15.3887 5.4043 15.2578 5.48829 15.1113L5.49414 15.0977C5.5 15.084 5.7168 14.6074 6.03711 13.918C6.14454 13.6875 6.11133 13.4219 5.95313 13.2246C5.61914 12.8105 5.35157 12.3516 5.15625 11.8574C5.06446 11.625 4.85157 11.4648 4.60157 11.4414C4.22461 11.4063 3.90625 11.375 3.67579 11.3535C3.40235 11.3281 3.29102 11.3164 3.25586 11.3145C2.99414 11.3125 2.78125 11.0996 2.78125 10.8379L2.78516 9.10156C2.78516 8.83984 2.99805 8.62695 3.25977 8.62695C3.28125 8.62695 3.30469 8.625 3.32618 8.62305C3.33204 8.62305 3.33789 8.62305 3.34766 8.62109C3.44532 8.61133 3.91016 8.56641 4.55469 8.50977C4.80664 8.48633 5.02735 8.31836 5.11524 8.08203C5.23047 7.77344 5.35352 7.50781 5.49219 7.26953C5.60547 7.07227 5.7461 6.87109 5.93164 6.63867C6.08789 6.44336 6.11915 6.17969 6.01563 5.95313C5.87696 5.65039 5.75977 5.39258 5.67188 5.19922C5.55274 4.9375 5.50391 4.83008 5.48633 4.79688C5.35547 4.57031 5.43555 4.2793 5.66211 4.14844L7.16797 3.2832C7.40235 3.14844 7.69336 3.24219 7.84375 3.5L7.85743 3.51953C7.89649 3.57227 8.15235 3.93359 8.51563 4.44922C8.66212 4.65625 8.91797 4.76367 9.16797 4.7207C9.72852 4.625 10.3281 4.62305 10.9063 4.7168C11.1563 4.75781 11.4043 4.6543 11.5508 4.44727C11.7422 4.17773 11.9043 3.95117 12.0234 3.78516C12.168 3.58203 12.2285 3.5 12.2481 3.46875C12.3086 3.36523 12.4141 3.28711 12.5371 3.25391C12.6621 3.2207 12.793 3.23633 12.8965 3.29492L14.4004 4.16797C14.5078 4.23047 14.5879 4.33594 14.6211 4.45703C14.6563 4.58594 14.6328 4.7168 14.5488 4.86328L14.5273 4.90039L14.5273 4.9082C14.4785 5.01367 14.3066 5.39258 14.0684 5.9082C13.9629 6.13477 13.9961 6.4082 14.1543 6.60156C14.5274 7.06445 14.8164 7.57227 15.0137 8.11328C15.0996 8.35156 15.3203 8.52148 15.5723 8.54492C16.166 8.60156 16.5918 8.64453 16.6914 8.6543C16.7012 8.65625 16.709 8.65625 16.7149 8.65625C16.9082 8.67188 17.0313 8.7168 17.1133 8.79883C17.2012 8.88672 17.252 9.00977 17.252 9.13477L17.2481 10.873C17.2481 11.1426 17.0215 11.3477 16.7227 11.3496C16.7227 11.3496 16.707 11.3496 16.6797 11.3535C16.5664 11.3652 16.1211 11.4063 15.5078 11.4609C15.2578 11.4844 15.0469 11.6426 14.9531 11.875C14.8438 12.1465 14.7402 12.3672 14.6231 12.5684C14.4785 12.8105 14.3086 13.0488 14.1016 13.2969L14.1016 13.2969Z' fill='currentColor' fill-rule='nonzero'/%3E%3Cpath id='矢量 17' d='M11.5996 7.25586C11.1309 6.98438 10.5996 6.8418 10.0586 6.83984C8.96487 6.83984 7.94339 7.42773 7.39456 8.37305C6.54299 9.83984 7.04495 11.7266 8.51175 12.5781C8.9805 12.8496 9.5137 12.9941 10.0547 12.9941C11.1485 12.9941 12.1699 12.4062 12.7188 11.4609C13.127 10.7598 13.2422 9.91016 13.0313 9.12695C12.8242 8.34375 12.3028 7.66016 11.5996 7.25586L11.5996 7.25586ZM11.5723 10.7969C11.2578 11.3359 10.6758 11.6699 10.0528 11.6699C9.74417 11.6699 9.44143 11.5879 9.17385 11.4316C8.33792 10.9453 8.05276 9.87109 8.53714 9.03516C8.85159 8.49609 9.43362 8.16211 10.0567 8.16016C10.3653 8.16016 10.668 8.24219 10.9356 8.39844C11.336 8.62891 11.6328 9.01758 11.75 9.46484C11.8711 9.91992 11.8086 10.3926 11.5723 10.7969L11.5723 10.7969Z' fill='currentColor' fill-rule='nonzero'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-settings\:safe{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Crect id='svg 1' x='0.000000' y='0.000000'/%3E%3Cpath id='矢量 5' d='M9.99984 2.59545C13.1498 2.59545 15.0362 3.15908 15.9089 3.50454L15.9089 10.3227C15.9163 11.2154 15.6738 12.0924 15.2089 12.8545C14.6026 13.818 13.8408 14.6744 12.9546 15.3889C12.0684 16.1035 11.07 16.6663 9.99984 17.0545C8.93101 16.6686 7.93334 16.1086 7.04719 15.3972C6.16105 14.6859 5.39861 13.8328 4.79075 12.8727C4.32586 12.1106 4.0834 11.2336 4.09075 10.3409L4.09075 3.52272C4.97256 3.16363 6.85438 2.61363 9.99984 2.61363M9.99984 1.24999C4.80438 1.23181 2.72711 2.67272 2.72711 2.67272L2.72711 10.3409C2.72213 11.4877 3.03694 12.6131 3.6362 13.5909C4.3697 14.7492 5.30004 15.7703 6.38521 16.6082C7.47038 17.4461 8.69366 18.0879 9.99984 18.5045C11.306 18.0879 12.5293 17.4462 13.6145 16.6082C14.6996 15.7703 15.63 14.7492 16.3635 13.5909C16.9627 12.6131 17.2775 11.4877 17.2726 10.3409L17.2726 2.67272C17.2726 2.67272 15.1953 1.23181 9.99984 1.23181L9.99984 1.24999Z' fill='currentColor' fill-rule='nonzero'/%3E%3Cpath id='矢量 6' d='M9.14544 11.4591C9.01548 11.4588 8.88832 11.4212 8.77913 11.3508C8.66995 11.2803 8.58336 11.1798 8.52969 11.0615C8.47602 10.9431 8.45754 10.8118 8.47645 10.6832C8.49536 10.5546 8.55087 10.4342 8.63635 10.3363L11.7591 6.69996C11.8551 6.59053 11.9832 6.5143 12.1252 6.48219C12.2672 6.45008 12.4157 6.46374 12.5494 6.52122C12.6832 6.5787 12.7953 6.67704 12.8697 6.80215C12.9441 6.92725 12.977 7.07271 12.9636 7.21766C12.9503 7.36261 12.8914 7.49962 12.7954 7.60905L9.66817 11.2454C9.60211 11.3173 9.52101 11.3737 9.43066 11.4106C9.34031 11.4475 9.24292 11.4641 9.14544 11.4591L9.14544 11.4591Z' fill='currentColor' fill-rule='nonzero'/%3E%3Cpath id='矢量 7' d='M9.14538 11.4591C9.06995 11.4597 8.99497 11.4473 8.92371 11.4226C8.85246 11.3978 8.78599 11.3609 8.7272 11.3137L7.30447 10.1955C7.19125 10.1062 7.1092 9.98336 7.07006 9.84458C7.03093 9.7058 7.03673 9.5582 7.08663 9.42291C7.13653 9.28763 7.22796 9.17161 7.34784 9.09148C7.46772 9.01135 7.60988 8.97122 7.75397 8.97684C7.89805 8.98245 8.03666 9.03353 8.14993 9.12276L9.56811 10.2455C9.66223 10.319 9.73523 10.4161 9.7797 10.527C9.82417 10.6379 9.83853 10.7585 9.82133 10.8767C9.80413 10.9949 9.75597 11.1064 9.68175 11.2C9.61847 11.2818 9.5371 11.3477 9.44403 11.3926C9.35096 11.4376 9.24873 11.4604 9.14538 11.4591L9.14538 11.4591Z' fill='currentColor' fill-rule='nonzero'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-settings\:ssl{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Crect id='svg 2' x='0.000000' y='0.000000'/%3E%3Cpath id='矢量 5' d='M9.99984 2.59545C13.1498 2.59545 15.0362 3.15908 15.9089 3.50454L15.9089 10.3227C15.9163 11.2154 15.6738 12.0924 15.2089 12.8545C14.6026 13.818 13.8408 14.6744 12.9546 15.3889C12.0684 16.1035 11.07 16.6663 9.99984 17.0545C8.93101 16.6686 7.93334 16.1086 7.04719 15.3972C6.16105 14.6859 5.39861 13.8328 4.79075 12.8727C4.32586 12.1106 4.0834 11.2336 4.09075 10.3409L4.09075 3.52272C4.97256 3.16363 6.85438 2.61363 9.99984 2.61363M9.99984 1.24999C4.80438 1.23181 2.72711 2.67272 2.72711 2.67272L2.72711 10.3409C2.72213 11.4877 3.03694 12.6131 3.6362 13.5909C4.3697 14.7492 5.30004 15.7703 6.38521 16.6082C7.47038 17.4461 8.69366 18.0879 9.99984 18.5045C11.306 18.0879 12.5293 17.4462 13.6145 16.6082C14.6996 15.7703 15.63 14.7492 16.3635 13.5909C16.9627 12.6131 17.2775 11.4877 17.2726 10.3409L17.2726 2.67272C17.2726 2.67272 15.1953 1.23181 9.99984 1.23181L9.99984 1.24999Z' fill='currentColor' fill-rule='nonzero'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-settings\:success{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 8.74341 8.74414' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath id='矢量 19' d='M4.01465 6.34766C3.93555 6.34766 3.85742 6.31738 3.79785 6.25586L1.80664 4.23828C1.68652 4.11719 1.68652 3.91992 1.80664 3.79785C1.92676 3.67578 2.12109 3.67578 2.24023 3.79785L4.01562 5.59668L8.21875 1.33594C8.25656 1.2972 8.30404 1.26927 8.35627 1.25505C8.40849 1.24083 8.46358 1.24083 8.51581 1.25505C8.56804 1.26927 8.61551 1.2972 8.65332 1.33594C8.77344 1.45703 8.77344 1.6543 8.65332 1.77637L4.23145 6.25684C4.17188 6.31738 4.09277 6.34766 4.01465 6.34766ZM4.31348 8.74414C3.73144 8.74414 3.16602 8.62891 2.63477 8.40137C2.12109 8.18066 1.66016 7.86621 1.26465 7.46484C0.869141 7.06348 0.557617 6.5957 0.34082 6.0752C0.114258 5.53418 0 4.96191 0 4.37207C0 3.78223 0.114258 3.20898 0.338867 2.66992C0.556641 2.14941 0.868164 1.68164 1.26367 1.28027C1.65918 0.878906 2.12012 0.563477 2.63379 0.34375C3.16602 0.116211 3.73144 0 4.31348 0C5.17188 0 6.00098 0.255859 6.71191 0.738281C6.83496 0.821289 6.86914 0.992188 6.78613 1.11719C6.7041 1.24219 6.53516 1.27637 6.41211 1.19141C5.79102 0.770508 5.06445 0.546875 4.31348 0.546875C2.23145 0.546875 0.540039 2.26367 0.540039 4.37207C0.540039 6.48047 2.23242 8.19727 4.31348 8.19727C6.39355 8.19727 8.08691 6.48145 8.08691 4.37207C8.08691 4.23633 8.08008 4.10059 8.06543 3.96484C8.04883 3.81445 8.15723 3.68066 8.30566 3.66406C8.4541 3.64746 8.58594 3.75684 8.60156 3.90723C8.61816 4.06055 8.62598 4.21777 8.62598 4.37207C8.62598 4.96191 8.51172 5.53516 8.28711 6.07422C8.06933 6.5957 7.75976 7.06152 7.36328 7.46387C6.96777 7.86523 6.50586 8.18066 5.99219 8.40039C5.45996 8.62695 4.89551 8.74414 4.31348 8.74414L4.31348 8.74414Z' fill='currentColor' fill-rule='nonzero'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-site\:performance{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1770109361508' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='7931' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M859.733333 217.6l-32-27.733333c-8.533333-8.533333-23.466667-6.4-29.866666 2.133333L580.266667 443.733333c-21.333333-10.666667-44.8-17.066667-68.266667-17.066666-83.2 0-149.333333 66.133333-149.333333 149.333333s66.133333 149.333333 149.333333 149.333333 149.333333-66.133333 149.333333-149.333333c0-25.6-6.4-51.2-19.2-72.533333l219.733334-256c8.533333-10.666667 6.4-23.466667-2.133334-29.866667zM512 640c-36.266667 0-64-27.733333-64-64s27.733333-64 64-64 64 27.733333 64 64-27.733333 64-64 64z' fill='currentColor' p-id='7932'%3E%3C/path%3E%3Cpath d='M731.733333 232.533333C667.733333 194.133333 593.066667 170.666667 512 170.666667 277.333333 170.666667 85.333333 362.666667 85.333333 597.333333c0 44.8 6.4 87.466667 19.2 128h91.733334C179.2 684.8 170.666667 642.133333 170.666667 597.333333c0-187.733333 153.6-341.333333 341.333333-341.333333 61.866667 0 117.333333 17.066667 166.4 44.8l53.333333-68.266667zM829.866667 313.6l-53.333334 68.266667C825.6 441.6 853.333333 516.266667 853.333333 597.333333c0 44.8-8.533333 87.466667-25.6 128h91.733334c12.8-40.533333 19.2-83.2 19.2-128 0-108.8-40.533333-206.933333-108.8-283.733333z' fill='currentColor' p-id='7933'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-soft-dns-close{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1762334981673' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='10737' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M515.7 960.1c-29.2-0.1-52.9-23.9-52.9-53l-0.1-149.8c0.3-1.5 0.4-2.8 0.4-4V743l-10.1-2.1c-62.1-12.9-118.8-45.2-164-93.4-60-64.1-93.1-149.1-93.1-239.4v-107l-26.7 0.2c-6.3 0-12.2-2.5-16.7-7s-6.9-10.4-6.9-16.7c0-6.4 2.4-12.4 6.9-16.8 4.4-4.5 10.4-6.9 16.7-6.9h64.6l-102.9-103c-4.9-4.9-7.6-11.5-7.6-18.4 0-7 2.7-13.5 7.6-18.4 4.9-4.9 11.5-7.6 18.4-7.6s13.5 2.7 18.4 7.6l139.7 139.7h12.2V95c0-17.1 13.9-31.1 31.1-31.1 17.1 0 31 13.9 31 31.1l0.1 158.8h265.4V95c0-17.1 13.9-31 31.1-31 17.1 0 31 13.9 31 31.1v158.7l148.1 0.1c13.1 0 23.7 10.6 23.7 23.7 0 6.4-2.5 12.3-6.9 16.8-4.5 4.5-10.4 7-16.9 7h-21.9v106.9c0 94.5-35.7 182.2-100.5 246.9l-1.6 1.6c-1.7 1.7-3.5 3.3-5.4 5l-6.4 5.9L893 839.2c10.2 10.2 10.2 26.7 0 36.9-4.9 4.9-11.5 7.6-18.4 7.6-7 0-13.5-2.7-18.4-7.6L679.4 699.4l-3.1 1.9c-30.8 19-63.8 32.3-98.2 39.6l-10.7 2.3 0.7 10.9 0.2 2.4 0.1 150.7c0.1 14.1-5.4 27.3-15.4 37.4-10 10-23.3 15.5-37.3 15.5zM243.4 408.2c0 78.2 28.5 151.6 80.3 206.8 51.4 54.7 119.6 84.9 192 84.9 43 0 85.8-11.1 124-32l5.4-3-363.9-363.7h-37.9l0.1 107z m444.3 225.7l6.3-5.7c2.4-2.2 4.9-4.3 7.2-6.6 55-55.1 86.6-132.9 86.6-213.4v-12.7h-0.1v-94.2l-432.7-0.1 332.7 332.7z' p-id='10738' fill='%23ffffff'%3E%3C/path%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-soft-dns-disk{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1762244187005' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='7877' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M554.688 682.624a42.688 42.688 0 0 0 0 85.376h0.448a42.688 42.688 0 1 0 0-85.376h-0.448zM767.488 682.624a42.688 42.688 0 0 0 0 85.376H768a42.688 42.688 0 1 0 0-85.376h-0.512z' fill='currentColor' p-id='7878'%3E%3C/path%3E%3Cpath d='M465.28 96h93.44c59.456 0 106.88 0 144.96 4.48 39.36 4.48 72.128 14.08 100.992 35.584 28.8 21.44 47.424 50.112 63.104 86.464 15.232 35.2 28.8 80.64 45.952 137.6l52.48 174.848c1.28 4.48 2.752 9.28 3.584 14.336v0.32l0.192 1.216c0.64 5.12 0.64 10.048 0.64 14.72v3.392c0 72.704 0 130.304-5.632 175.68-5.824 46.592-18.112 84.736-45.952 115.84-4.992 5.568-10.304 10.88-15.936 15.872-31.104 27.84-69.184 40.128-115.84 45.952-45.312 5.696-102.912 5.696-175.616 5.696H412.352c-72.704 0-130.304 0-175.68-5.696-46.592-5.824-84.672-18.112-115.84-45.888a202.944 202.944 0 0 1-15.872-16c-27.84-31.04-40.128-69.12-45.952-115.84-5.696-45.312-5.696-102.912-5.696-175.616v-3.328c0-4.672 0-9.664 0.704-14.784v-0.32l0.192-1.216c0.832-5.056 2.24-9.856 3.584-14.272l52.48-174.912c17.088-56.96 30.72-102.4 45.952-137.6 15.68-36.352 34.304-65.024 63.104-86.4 28.8-21.504 61.632-31.104 100.992-35.712C358.4 96 405.76 96 465.28 96zM327.68 164.032c-33.152 3.84-53.632 11.072-70.144 23.36-16.512 12.288-29.376 29.824-42.56 60.48-13.568 31.424-26.176 73.28-43.968 132.544l-42.688 142.272h767.36l-42.688-142.272c-17.792-59.264-30.4-101.12-43.968-132.48-13.184-30.72-26.048-48.256-42.56-60.544-16.512-12.288-36.992-19.52-70.144-23.36C662.336 160 618.624 160 556.736 160H467.328c-61.952 0-105.6 0-139.648 4.032zM122.496 736.64c5.056 40.128 14.528 63.616 30.144 81.088 3.456 3.84 7.04 7.488 10.88 10.88 17.536 15.68 40.96 25.088 81.152 30.144 40.96 5.12 94.464 5.184 169.92 5.184h194.816c75.456 0 129.024 0 169.92-5.184 40.128-5.056 63.616-14.464 81.152-30.08 3.84-3.456 7.424-7.104 10.88-10.944 15.616-17.536 25.088-40.96 30.08-81.088 4.672-37.248 5.12-84.928 5.248-150.016H117.312c0.064 65.088 0.512 112.768 5.184 150.016z' fill='currentColor' p-id='7879'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-soft-dns-icon{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1762335529080' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='11802' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M170.666667 128h682.666666a42.666667 42.666667 0 0 1 42.666667 42.666667v298.666666H128V170.666667a42.666667 42.666667 0 0 1 42.666667-42.666667zM128 554.666667h768v298.666666a42.666667 42.666667 0 0 1-42.666667 42.666667H170.666667a42.666667 42.666667 0 0 1-42.666667-42.666667v-298.666666z m170.666667 128v85.333333h128v-85.333333H298.666667zM298.666667 256v85.333333h128V256H298.666667z' fill='currentColor' p-id='11803'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-soft-dns-menu{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1762241899839' class='icon' viewBox='0 0 1025 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='12295' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M163.231468 552.233328c6.707287 4.471525 14.905083 6.707287 23.102879 6.707287 12.669321-0.745254 24.593387-5.216779 33.536437-14.159829 17.8861-17.8861 17.8861-46.951012 0-65.582365-8.94305-8.94305-20.867116-13.414575-33.536437-14.159829-8.197796 0-16.395591 2.235762-23.102879 6.707287-7.452542 4.471525-12.669321 10.433558-17.140846 17.140846-8.197796 14.159829-8.197796 31.300674 0 46.205757 4.471525 6.707287 10.433558 13.414575 17.140846 17.140846zM1024.74527 791.459911c0-11.924066-4.471525-23.848133-13.414575-32.791182-8.94305-8.94305-20.121862-13.414575-32.791183-14.159829H46.226566c-12.669321 0.745254-23.848133 5.216779-32.791183 14.159829-8.94305 8.94305-13.414575 20.121862-13.414575 32.791182v186.313539c-0.745254 24.593387 18.631354 45.460503 43.969995 46.205757H978.539512c24.593387 0.745254 45.460503-18.631354 45.460504-43.969995v-188.549301z m-46.205758 0v186.313539H46.226566v-186.313539h932.312946z' p-id='12296' fill='currentColor'%3E%3C/path%3E%3Cpath d='M978.539512 371.881823H46.226566c-12.669321 0-24.593387 4.471525-32.791183 13.414575C5.237587 394.984702 0.766062 406.908768 0.766062 418.832834v185.568285c0 12.669321 4.471525 24.593387 13.414575 33.536437 8.197796 8.94305 20.121862 14.159829 32.791183 13.414574h932.312946c12.669321 0 24.593387-4.471525 32.791183-13.414574 8.94305-8.94305 13.414575-20.867116 13.414575-33.536437V418.832834c0-12.669321-4.471525-24.593387-13.414575-33.536436-8.94305-8.197796-20.867116-13.414575-33.536437-13.414575z m0 46.951011v185.568285H46.226566V418.832834h932.312946zM980.775275 0H46.226566C34.302499 0 22.378433 4.471525 13.435383 13.414575 5.237587 21.61237 0.020808 33.536437 0.766062 45.460503v186.313539c0 11.924066 4.471525 23.848133 13.414575 32.791183 8.94305 8.94305 20.121862 13.414575 32.791183 14.159829h932.312946c12.669321-0.745254 23.848133-5.216779 32.791183-14.159829 8.94305-8.94305 13.414575-20.867116 13.414575-32.791183v-186.313539c0-24.593387-20.121862-44.715249-44.715249-45.460503z m-2.235763 232.519296H46.226566v-186.313538h932.312946v186.313538z' p-id='12297' fill='currentColor'%3E%3C/path%3E%3Cpath d='M163.231468 179.606251c18.631354 10.433558 40.988978 7.452542 55.894061-6.707287 8.94305-8.197796 14.159829-20.121862 13.414575-32.791183 0-26.083895-20.867116-46.951012-46.205757-46.951012h-0.745255c-8.197796 0-15.650337 2.235762-23.102878 5.962033s-12.669321 9.688304-17.140846 17.140846c-8.197796 14.905083-8.197796 32.045929 0 46.951012 5.216779 6.707287 11.178812 12.669321 17.8861 16.395591z' p-id='12298' fill='currentColor'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-soft-dns-open{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1762328247815' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='7956' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M341.333333 386.773333h341.333334a85.333333 85.333333 0 0 1 85.333333 85.333334v149.333333a234.752 234.752 0 0 1-177.28 227.584A64 64 0 0 1 533.333333 941.44h-42.666666a64 64 0 0 1-57.386667-92.416A234.752 234.752 0 0 1 256 621.44v-149.333333a85.333333 85.333333 0 0 1 85.333333-85.333334z m85.333334-42.666666H341.333333v-213.333334a42.666667 42.666667 0 1 1 85.333334 0v213.333334z m256 0H597.333333v-213.333334a42.666667 42.666667 0 1 1 85.333334 0v213.333334z' p-id='7957' fill='%234CAF50'%3E%3C/path%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-soft-dns-reload{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1762410163124' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='32942' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M758.5792 234.2912c0 29.0816 23.3472 52.4288 52.4288 52.4288 29.0816 0 52.4288-23.3472 52.4288-52.4288s-23.7568-52.4288-52.4288-52.4288c-29.0816 0-52.4288 23.7568-52.4288 52.4288zM855.6544 516.9152c0 23.3472 12.288 44.2368 31.9488 56.1152 19.6608 11.8784 45.056 11.8784 64.7168 0a65.3312 65.3312 0 0 0 0-112.2304c-19.6608-11.8784-45.056-11.8784-64.7168 0s-31.9488 33.1776-31.9488 56.1152zM736.8704 801.1776c0 27.0336 14.7456 52.4288 38.0928 65.9456 23.3472 13.5168 52.4288 13.5168 76.1856 0 23.3472-13.5168 38.0928-38.912 38.0928-65.9456s-14.7456-52.4288-38.0928-65.9456c-23.3472-13.5168-52.4288-13.5168-76.1856 0-23.3472 13.9264-38.0928 38.912-38.0928 65.9456zM440.7296 915.0464c0 31.5392 16.7936 60.2112 44.2368 76.1856 27.0336 15.9744 61.0304 15.9744 88.064 0a89.2928 89.2928 0 0 0 44.2368-76.1856c0-31.5392-16.7936-60.2112-44.2368-76.1856-27.0336-15.9744-61.0304-15.9744-88.064 0-26.624 15.9744-44.2368 45.056-44.2368 76.1856zM151.1424 797.0816c0 35.2256 18.432 67.584 49.152 84.7872 30.3104 17.2032 67.584 17.2032 97.8944 0a97.4848 97.4848 0 0 0 48.7424-84.7872 97.8944 97.8944 0 0 0-97.8944-97.8944c-54.4768-0.8192-97.8944 43.8272-97.8944 97.8944zM426.8032 124.1088c0 57.344 46.6944 104.0384 104.0384 104.0384s104.0384-46.6944 104.0384-104.0384c0-36.864-19.6608-71.2704-51.6096-89.7024-31.9488-18.432-72.0896-18.432-104.0384 0a103.6288 103.6288 0 0 0-52.4288 89.7024zM144.9984 236.7488c0 36.864 19.6608 71.2704 51.6096 89.7024 31.9488 18.432 72.0896 18.432 104.0384 0a102.8096 102.8096 0 0 0 52.4288-89.7024c0-57.344-46.6944-104.0384-104.0384-104.0384-57.344 0-104.0384 46.2848-104.0384 104.0384zM39.7312 514.048c0 54.8864 44.2368 99.1232 99.1232 99.1232s99.1232-44.2368 99.1232-99.1232c0-54.8864-44.2368-99.1232-99.1232-99.1232-54.8864 0-99.1232 44.2368-99.1232 99.1232z' p-id='32943' fill='%2320A53A'%3E%3C/path%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-soft-dns-restart{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1762327725612' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='5980' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M512.170724 1024c-282.416084 0-512.17061-208.087082-512.17061-463.888037 0-255.744085 229.754526-463.774297 512.17061-463.774298h8.24614V0l247.327335 149.681662-247.384205 149.567921V203.025658H512.170724c-216.674442 0-392.857492 160.259469-392.857492 357.200045 0 196.940575 176.23992 357.086305 392.857492 357.086304s392.857492-160.202599 392.857491-357.200044c0-29.401755 26.728868-53.343996 59.656559-53.343997 32.870821 0 59.599689 23.942241 59.599689 53.343997 0 123.521493-53.173387 239.877374-149.795401 327.570809-96.906365 87.864045-225.546151 136.317228-362.318338 136.317228z' fill='%2320A53A' p-id='5981'%3E%3C/path%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-soft-dns-server{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1762241874270' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='10262' xmlns:xlink='http://www.w3.org/1999/xlink' %3E%3Cpath d='M306.820741 191.525926c-51.579259 11.188148-103.632593 63.241481-114.820741 114.820741-21.428148 99.176296 53.475556 186.785185 148.954074 186.785185l152.651852 0 0-6.447407 0-31.478519L493.605926 333.937778l-0.18963 0C489.623704 241.682963 403.816296 170.571852 306.820741 191.525926zM455.68 455.205926l-114.725926 0c-63.905185 0-115.579259-52.242963-114.725926-116.337778 0.853333-61.819259 51.294815-112.260741 113.114074-113.114074 64.094815-0.853333 116.337778 50.820741 116.337778 114.725926L455.68 455.205926z' fill='currentColor' p-id='10263'%3E%3C/path%3E%3Cpath d='M832.663704 306.346667c-11.188148-51.579259-63.241481-103.632593-114.820741-114.820741-96.900741-20.954074-182.802963 50.157037-186.595556 142.506667l-0.18963 0 0 121.173333 0 31.478519 0 6.447407 152.651852 0C779.093333 493.131852 854.091852 405.522963 832.663704 306.346667zM568.983704 340.48c0-63.905185 52.242963-115.579259 116.337778-114.725926 61.819259 0.853333 112.260741 51.294815 113.114074 113.114074 0.853333 64.094815-50.820741 116.337778-114.725926 116.337778l-114.725926 0L568.983704 340.48z' fill='currentColor' p-id='10264'%3E%3C/path%3E%3Cpath d='M192 717.842963c11.188148 51.579259 63.241481 103.632593 114.820741 114.820741 96.900741 20.954074 182.802963-50.157037 186.595556-142.506667l0.18963 0L493.605926 568.983704l0-31.478519 0-6.447407-152.651852 0C245.475556 531.057778 170.571852 618.666667 192 717.842963zM455.68 683.70963c0 63.905185-52.242963 115.579259-116.337778 114.725926-61.819259-0.853333-112.260741-51.294815-113.114074-113.114074-0.853333-64.094815 50.820741-116.337778 114.725926-116.337778l114.725926 0L455.68 683.70963z' fill='currentColor' p-id='10265'%3E%3C/path%3E%3Cpath d='M683.70963 531.057778l-152.651852 0 0 6.447407 0 31.478519 0 121.173333 0.18963 0c3.887407 92.34963 89.694815 163.460741 186.595556 142.506667 51.579259-11.188148 103.632593-63.241481 114.820741-114.820741C854.091852 618.666667 779.093333 531.057778 683.70963 531.057778zM798.435556 685.321481C797.582222 747.140741 747.140741 797.582222 685.321481 798.435556c-64.094815 0.853333-116.337778-50.820741-116.337778-114.725926l0-114.725926 114.725926 0C747.614815 568.983704 799.288889 621.226667 798.435556 685.321481z' fill='currentColor' p-id='10266'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-soft-dns-stop{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1762327609688' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='4672' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M320 128A64 64 0 0 0 256 192v640a64 64 0 0 0 128 0v-640A64 64 0 0 0 320 128z m384 0A64 64 0 0 0 640 192v640a64 64 0 0 0 128 0v-640A64 64 0 0 0 704 128z' fill='%2320A53A' p-id='4673'%3E%3C/path%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-soft-dns-system{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1762241912388' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='13400' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M608 96c35.3456 0 64 28.6544 64 64v192c0 35.3456-28.6544 64-64 64h-72v71.9984L760 488c34.992 0 63.4256 28.0832 63.992 62.9424L824 552v56h72c35.3456 0 64 28.6544 64 64v192c0 35.3456-28.6544 64-64 64H704c-35.3456 0-64-28.6544-64-64V672c0-35.3456 28.6544-64 64-64h72v-56c0-8.688-6.9232-15.7568-15.552-15.9936L760 536H264c-8.688 0-15.7568 6.9232-15.9936 15.552L248 552v56h72c35.3456 0 64 28.6544 64 64v192c0 35.3456-28.6544 64-64 64H128c-35.3456 0-64-28.6544-64-64V672c0-35.3456 28.6544-64 64-64h72v-56c0-34.992 28.0832-63.4256 62.9424-63.992L264 488l224-0.0016V416h-72c-35.3456 0-64-28.6544-64-64V160c0-35.3456 28.6544-64 64-64h192zM320 656H128c-8.8368 0-16 7.1632-16 16v192c0 8.8368 7.1632 16 16 16h192c8.8368 0 16-7.1632 16-16V672c0-8.8368-7.1632-16-16-16z m576 0H704c-8.8368 0-16 7.1632-16 16v192c0 8.8368 7.1632 16 16 16h192c8.8368 0 16-7.1632 16-16V672c0-8.8368-7.1632-16-16-16zM608 144H416c-8.8368 0-16 7.1632-16 16v192c0 8.8368 7.1632 16 16 16h192c8.8368 0 16-7.1632 16-16V160c0-8.8368-7.1632-16-16-16z' fill='currentColor' p-id='13401'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-soft-dns-uninstall{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1762327863599' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='7095' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M464.18 82.59h96.4v96.37h-96.4z' p-id='7096' fill='currentColor'%3E%3C/path%3E%3Cpath d='M78.68 169.93h867.35v96.37H78.68z' p-id='7097' fill='%23ffffff'%3E%3C/path%3E%3Cpath d='M849.65 940.93h-674.6v-771h674.6v771z m-578.22-96.37h481.85V266.31H271.43v578.25z' p-id='7098' fill='currentColor'%3E%3C/path%3E%3Cpath d='M367.8 362.68h96.37v385.5H367.8zM560.53 362.68h96.37v385.5h-96.37z' p-id='7099' fill='currentColor'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-solar\:close-circle-bold{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2s10 4.477 10 10M8.97 8.97a.75.75 0 0 1 1.06 0L12 10.94l1.97-1.97a.75.75 0 0 1 1.06 1.06L13.06 12l1.97 1.97a.75.75 0 0 1-1.06 1.06L12 13.06l-1.97 1.97a.75.75 0 0 1-1.06-1.06L10.94 12l-1.97-1.97a.75.75 0 0 1 0-1.06' clip-rule='evenodd'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-streamline\:delete-1-solid{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 14 14' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M1.707.293A1 1 0 0 0 .293 1.707L5.586 7L.293 12.293a1 1 0 1 0 1.414 1.414L7 8.414l5.293 5.293a1 1 0 0 0 1.414-1.414L8.414 7l5.293-5.293A1 1 0 0 0 12.293.293L7 5.586z' clip-rule='evenodd'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-svg-spinners\:3-dots-fade{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Ccircle cx='4' cy='12' r='3' fill='currentColor'%3E%3Canimate id='svgSpinners3DotsFade0' fill='freeze' attributeName='opacity' begin='0;svgSpinners3DotsFade1.end-0.25s' dur='0.75s' values='1;.2'/%3E%3C/circle%3E%3Ccircle cx='12' cy='12' r='3' fill='currentColor' opacity='.4'%3E%3Canimate fill='freeze' attributeName='opacity' begin='svgSpinners3DotsFade0.begin+0.15s' dur='0.75s' values='1;.2'/%3E%3C/circle%3E%3Ccircle cx='20' cy='12' r='3' fill='currentColor' opacity='.3'%3E%3Canimate id='svgSpinners3DotsFade1' fill='freeze' attributeName='opacity' begin='svgSpinners3DotsFade0.begin+0.3s' dur='0.75s' values='1;.2'/%3E%3C/circle%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-svg-spinners\:90-ring-with-bg{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z' opacity='.25'/%3E%3Cpath fill='currentColor' d='M10.14,1.16a11,11,0,0,0-9,8.92A1.59,1.59,0,0,0,2.46,12,1.52,1.52,0,0,0,4.11,10.7a8,8,0,0,1,6.66-6.61A1.42,1.42,0,0,0,12,2.69h0A1.57,1.57,0,0,0,10.14,1.16Z'%3E%3CanimateTransform attributeName='transform' dur='0.75s' repeatCount='indefinite' type='rotate' values='0 12 12;360 12 12'/%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-system\:alibaba{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %23f76e05;}%3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M224.55,659.8c-18.73-3.86-32.23-20.25-32.44-39.37v-216.85c.74-18.92,14.01-35.03,32.44-39.37l201.33-43.6,21.16-86.3h-233.84c-81.84-.57-148.63,65.31-149.2,147.15,0,.32,0,.64,0,.97v256.28c.53,82.19,67.01,148.71,149.2,149.27h233.71l-21.16-85.92-201.33-42.19.13-.06ZM810.28,234.3h-235.51l21.48,86.24,201.33,43.6c18.7,3.93,32.16,20.33,32.38,39.43v216.85c-.76,18.91-13.99,35.01-32.38,39.43l-201.33,43.6-21.48,86.24h235.51c82.51.18,149.54-66.57,149.72-149.08,0-.17,0-.34,0-.51v-257.63c-1.02-82.01-67.7-148.01-149.72-148.18Z'/%3E%3Cpath class='st0' d='M425.89,500.72h171.71v21.16h-171.71v-21.16Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:alma{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %2386da2f;}.st1 {fill: %23ffcb12;}.st2 {fill: %230069da;}.st3 {fill: %23ff4649;}.st4 {fill: %2324c2ff;}%3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M887.84,568.74c38.14-2.92,68.99,22.01,71.95,60.19,2.92,39.66-25.01,71.95-63.15,74.87-36.85,2.71-68.99-24.83-71.95-61.67-2.96-39.62,23.45-69.03,63.11-73.43v.04h.04Z'/%3E%3Cpath class='st4' d='M423.92,881.47c0-38.14,29.37-67.51,64.59-67.51s69.03,32.33,69.03,68.99-29.33,66.11-63.11,67.55c-42.58,0-70.51-26.49-70.51-68.99v-.04Z'/%3E%3Cpath class='st1' d='M528.12,452.77c-5.84,2.96-8.8-1.44-10.25-5.84-54.3-101.36-38.18-229.06,57.26-305.41,24.97-20.53,71.95-25.01,92.48-4.4,8.8,7.4,10.28,16.13,11.76,26.41,2.92,22.05,7.32,44.06,22.05,61.67,16.13,19.13,36.66,26.41,60.15,25.01,20.53,0,41.1-2.92,54.34,20.53,7.32,13.24,4.4,64.55-7.32,74.83-5.88,4.44-10.28,1.48-14.69,0-33.81-13.21-69.03-13.21-104.28-7.32-11.73,1.44-17.61-1.48-17.61-14.69-1.48-22.05-5.84-42.58-17.61-61.67-22.01-39.66-63.11-41.14-89.56-4.4-22.01,29.37-27.85,64.59-33.77,99.88-5.88,30.77-4.4,63.11-2.96,95.44v-.04Z'/%3E%3Cpath class='st0' d='M564.82,474.78c-2.92-4.44-1.48-8.8,2.92-11.73,83.72-76.35,208.53-91.04,305.41-16.17,24.93,20.57,41.1,63.15,27.89,88.12-4.67,8.62-12.64,14.98-22.09,17.61-20.53,8.8-39.62,17.65-52.82,36.7-13.21,19.17-16.13,41.1-10.25,64.67,4.4,19.05,11.73,39.58-7.36,57.19-10.25,10.28-60.19,19.13-73.39,10.28-5.84-4.4-4.4-8.8-2.96-14.69,4.4-36.7-4.4-70.51-17.61-102.76-4.4-11.73-2.92-17.61,8.8-20.53,20.57-5.84,39.7-16.17,54.34-30.81,32.29-30.81,25.01-70.43-17.61-88.08-33.77-14.73-68.99-11.76-102.76-8.8-32.26,1.44-63.11,10.25-92.48,19.09,0,0-.04-.08-.04-.08Z'/%3E%3Cpath class='st4' d='M545.73,512.95c4.4-4.4,7.4-2.96,11.76,0,96.88,58.75,146.78,174.68,102.76,287.77-11.76,29.41-49.94,58.75-77.79,51.42-11.73-2.88-17.65-8.8-23.53-16.13-13.21-17.69-27.89-33.81-49.86-41.1-23.49-7.32-44.1-2.92-64.67,8.8-17.57,10.28-35.18,23.49-57.19,10.28-13.24-7.36-35.25-52.82-30.85-67.51,2.92-5.84,8.8-5.84,14.73-5.84,36.66-5.88,66.07-23.49,93.96-47.02,8.8-7.36,16.13-7.36,23.45,2.92,11.76,17.61,26.41,32.29,45.5,42.54,38.18,22.09,74.87,2.96,79.27-41.06,4.4-36.7-8.8-68.95-20.53-101.28-13.34-29.15-29.07-57.15-47.02-83.72v-.08Z'/%3E%3Cpath class='st2' d='M498.75,521.8c-5.84,29.33-19.09,57.23-36.62,82.2-52.9,79.24-129.25,111.57-223.22,102.76-33.74-2.96-61.67-30.85-64.55-58.75-1.66-10.61,1.58-21.39,8.8-29.33,10.25-13.21,19.09-25.01,23.45-41.1,8.8-32.33-2.92-58.75-26.41-82.2-32.26-32.33-27.85-61.71,10.28-85.16,4.4-2.96,10.28-5.84,16.13-8.8,8.8-4.4,16.17-4.4,19.13,5.84,13.24,33.77,39.62,58.75,69.03,79.31,10.28,8.8,10.28,14.65,1.48,24.97-17.63,18.79-28.03,43.22-29.37,68.95-2.92,32.33,16.17,52.9,48.42,52.9,20.57,0,39.62-7.32,57.26-16.13,45.5-23.53,80.72-57.26,114.53-92.56,4.4-1.48,5.84-4.4,11.73-2.92h-.08Z'/%3E%3Cpath class='st3' d='M258.01,213.46c2.92,0,10.25,1.44,17.61,2.92,54.34,10.28,88.08-8.8,105.69-60.23,11.73-33.74,36.7-44.06,69.03-26.41,1.44,0,1.44,1.48,2.92,1.48,33.74,19.09,33.74,22.01,13.21,51.42-17.61,23.45-26.49,49.86-30.81,77.79-2.92,16.17-8.8,19.13-23.49,13.24-23.45-8.84-48.42-8.84-73.39,0-27.89,8.76-39.62,33.7-30.81,61.63,11.73,36.7,44.02,52.9,71.87,71.95,27.93,19.13,60.23,29.41,91.04,42.58,4.44,1.44,11.73,1.44,10.28,8.8-1.48,4.44-7.36,4.44-13.24,4.44-66.07,2.92-129.14-7.4-180.56-51.42-48.46-39.62-83.68-88.04-77.83-155.59,4.4-22.05,20.57-38.18,48.5-42.58,0,0,0-.04,0-.04Z'/%3E%3Cpath class='st2' d='M137.63,626c-35.22,4.4-70.43-24.97-73.43-61.67-2.92-35.22,26.41-70.51,60.19-73.39,38.14-4.48,73.39,21.97,76.35,57.19,1.44,33.81-20.57,74.91-63.15,77.79v.08h.04Z'/%3E%3Cpath class='st1' d='M754.26,103.37c36.66-2.96,71.95,26.41,74.87,63.11,2.96,35.25-26.49,69.03-61.67,71.91-38.18,2.96-71.95-24.93-74.87-61.67-2.96-36.7,23.45-70.43,61.67-73.35Z'/%3E%3Cpath class='st3' d='M371.05,131.19c4.44,38.18-22.09,70.47-61.71,76.35-33.74,4.44-68.99-23.45-73.39-55.71-4.44-42.62,19.09-73.47,58.75-77.87,36.66-4.44,71.87,23.45,76.35,57.23Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:anolis{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %2359ab2d;}%3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M513.19,63.99c-118.97,0-233.12,47.59-317.24,132.51-84.27,85.23-131.5,200.27-131.42,320.13,0,4.23.5,8.41.55,12.54l-1,310.87c-.8,20.21,3.83,40.32,13.39,58.24,9.46,17.87,20.91,31.36,40.82,43.61,19.71,12.2,36.74,16.48,56.9,16.88,20.14.43,40.04-4.55,57.59-14.44,35.88-20.29,58.14-58.24,58.34-99.46v-34.5l1.39-163.52v-127.88c.33-23.73-8.17-46.74-23.84-64.56-25.17-29.14-22.89-72.94,5.18-99.31,28-26.27,71.92-25.16,98.56,2.49,26.72,27.71,26.85,71.54.3,99.41-15.67,17.17-24.2,39.68-23.84,62.92v26.98s11.9,100.21,82.73,10.06l44.8-73.77c12.3-20.26,16.78-44.5,12.44-67.85-7.29-37.94,17.01-74.76,54.76-82.98,37.74-7.95,74.88,15.82,83.48,53.41,8.98,37.56-13.57,75.45-50.87,85.47-22.1,6.47-40.82,21.16-52.52,40.97l-47.44,77.85s-24.24,46.19,31.61,46.19l64.21-2.04c23.05-.3,45.1-9.46,61.68-25.54,26.72-27.62,70.7-28.55,98.56-2.09,27.98,26.38,29.92,70.49,4.48,99.36-25.31,28.98-69.27,32.09-98.41,6.97-17.83-15.56-40.86-23.84-64.51-23.2,0,0-64.81-1-107.97,48.58-35.01,39.96-43.44,96.69-21.55,145.11,1.14,2.49,2.49,4.93,3.68,7.72l1.49,2.24c.95,1.69,1.99,3.29,2.99,4.88l1.79,2.74c1,1.49,1.99,2.79,3.14,4.18l2.24,2.84c1.1,1.39,2.19,2.69,3.34,3.88l2.64,2.89,3.58,3.63,2.99,2.69,3.98,3.48,3.34,2.49,4.43,3.29c1.13.83,2.29,1.61,3.48,2.34,1.6,1.1,3.26,2.09,4.98,2.99l3.78,2.29c1.79,1,3.63,1.94,5.43,2.79l4.08,1.99,6.37,2.59,4.03,1.69,7.72,2.64,3.34,1.1c3.93,1.24,7.67,2.24,12.1,3.24l2.39.5c3.53.75,7.12,1.49,10.65,2.09l4.98.75c2.94.45,5.87.9,9.01,1.19l5.97.6,8.11.6c8.61.55,17.32.3,25.89-.55,223.81-48.93,375.14-260,351.24-489.73-23.84-229.78-215.34-404.45-444.28-405.45h-.05Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:arch{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %231793d1;}%3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M511.92,64c-39.89,97.78-63.95,161.73-108.36,256.6,27.23,28.86,60.65,62.46,114.93,100.42-58.36-24.01-98.16-48.11-127.9-73.12-56.84,118.58-145.88,287.48-326.59,612.1,142.03-81.98,252.12-132.52,354.72-151.81-4.63-19.94-6.9-40.35-6.74-60.82l.17-4.55c2.25-90.97,49.59-160.93,105.66-156.18,56.07,4.75,99.66,82.4,97.41,173.37-.43,17.11-2.36,33.59-5.73,48.86,101.49,19.85,210.41,70.26,350.51,151.13-27.63-50.85-52.28-96.69-75.83-140.35-37.09-28.74-75.78-66.15-154.7-106.65,54.24,14.09,93.08,30.34,123.35,48.52-239.42-445.67-258.8-504.89-340.91-697.53Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:centos{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %23ffa648;}.st1 {fill: %23ffa64c;}.st2 {fill: %232f3597;}.st3 {fill: %23a3248d;}.st4 {fill: %2392307f;}.st5 {fill: %23a6218e;}.st6 {fill: %232b30a5;}.st7 {fill: %232f3291;}.st8 {fill: %23a6cd3c;}.st9 {fill: %23f6ab46;}.st10 {fill: %23a4cb3e;}%3C/style%3E%3C/defs%3E%3Cpath class='st10' d='M195.23,340.05l31.68-31.68,20.38-20.35,20.35,20.35,146.04,146.04h40.74v-40.71l-146.04-146.04-20.38-20.41,20.38-20.35,31.65-31.65h-144.81v144.81Z'/%3E%3Cpath class='st8' d='M454.42,372.96v-177.75h-73.62l-52.07,52.07s125.68,125.68,125.68,125.68ZM195.23,380.82v73.62h177.75l-125.68-125.68s-52.07,52.07-52.07,52.07Z'/%3E%3Cpath class='st4' d='M736.03,247.28l-20.38,20.38-146.07,146.04v40.71h40.74l146.07-146.04,20.38-20.35,20.35,20.35,31.65,31.68v-144.81h-144.81l31.68,31.65,20.38,20.38Z'/%3E%3Cpath class='st9' d='M409.64,166.44h73.59v235.33l28.78,28.81,28.81-28.81v-235.33h73.62l-102.42-102.42-102.36,102.42Z'/%3E%3Cpath class='st3' d='M651.05,454.4h177.72v-73.59l-52.07-52.07-125.65,125.65Z'/%3E%3Cpath class='st5' d='M166.42,540.82h235.33l28.81-28.81-28.81-28.81h-235.33v-73.62l-102.42,102.42,102.42,102.42v-73.62Z'/%3E%3Cpath class='st1' d='M569.58,651.07v177.75h73.65l52.04-52.07s-125.68-125.68-125.68-125.68ZM651.05,569.6l125.65,125.68,52.07-52.07v-73.62s-177.72,0-177.72,0Z'/%3E%3Cpath class='st3' d='M569.58,372.96l125.68-125.68-52.04-52.04h-73.65v177.72Z'/%3E%3Cpath class='st0' d='M828.74,683.98l-31.65,31.68-20.38,20.35-20.35-20.35-146.04-146.07h-40.74v40.74l146.07,146.07,20.38,20.35-20.38,20.38-31.68,31.65h144.78v-144.81Z'/%3E%3Cpath class='st6' d='M857.58,483.21h-235.33l-28.78,28.81,28.78,28.81h235.33v73.62l102.42-102.42-102.42-102.42v73.62Z'/%3E%3Cpath class='st2' d='M247.29,695.28l125.65-125.68h-177.72v73.62l52.07,52.07Z'/%3E%3Cpath class='st7' d='M288,776.72l20.35-20.38,146.04-146.01v-40.74h-40.71l-146.07,146.07-20.35,20.35-20.35-20.35-31.68-31.68v144.81h144.84l-31.68-31.68s-20.38-20.38-20.38-20.38ZM614.42,857.59h-73.62v-235.36l-28.81-28.81-28.78,28.81v235.36h-73.62l102.42,102.39s102.39-102.39,102.39-102.39Z'/%3E%3Cpath class='st7' d='M454.42,651.07l-125.68,125.65,52.07,52.07h73.62v-177.72Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:debian{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %23ce0c48;}%3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M881.64,392.44c-2.99-34.03-9.55-67.66-19.56-100.32l11.64,3.88c-31.2-71.21-78.83-143.17-134.36-174.37-7.61-4.48-30.75,4.33-23.29-10.6s-32.84-7.17-49.71-4.18c-22.99,3.73-26.28-25.53-65.69-31.35-22.39-3.14-28.22,16.12-39.11,11.64-20.6-8.21-18.21-24.19-50.46-8.21-16.12,7.91,10.15-22.84-43-4.03l-4.48-10.9c-94.95,36.43-121.67,66.73-148.39,69.42-6.12,0-29.86,28.66-46.88,46.43-14.93,14.93-22.99,31.95-43,34.64l-14.93,61.81c-25.43,21.16-40.95,51.92-42.85,84.95-5.16-15.3-3.76-32.05,3.88-46.28-14.93,5.97-40.16,14.93-25.98,84.8,11.2,55.24-4.63,118.24,8.81,179.15,4.18,18.36,0,35.08,5.37,44.79,94.2,206.32,182.73,343.07,413.38,336.05l3.88-7.76c-24.63-5.97-48.22-14.93-97.64-26.87-16.27-3.88-20.15-29.86-35.23-38.67-8.21-4.78-24.78-3.58-32.55-8.66s3.73-18.96-17.47-12.54c-7.46,2.24-12.09-9.55-17.62-14.93s0-20.75-20.45-21.65c-20.45-.9-16.12-25.98-17.32-39.11-10.6,1.34-1.05-1.34-11.64,3.88-9.75-6.79-17.07-16.52-20.9-27.77-8.96-42.85-9.26-18.81-13.14-28.37-4.73-12.68-10.37-25-16.87-36.87l23.44,7.76h3.88l3.88-11.64-23.29-7.61h27.32c-6.72,12.24,1.79,4.63-11.79,7.76v11.64l19.56-7.76v-11.64c-18.06-8.96-25.08-11.64-43-19.26l7.91,7.76v3.88h-43c-19.26-12.99-12.24-27.77-15.68-46.43,14.93,0,8.06,5.82,14.93-11.5l-14.93,7.76,11.64-29.71-11.64,11.5c-25.53-33.89-14.18-85.54-10.45-133.02,1.51-32.54,13.03-63.83,32.99-89.57,7.76-8.81,4.48-22.09,4.78-32.55l27.32-23.14h15.68c6.72,14.93,4.18,4.78,0,19.26l7.76,3.88c6.27-7.61,5.37-5.23,7.76-19.26-8.81-9.26-6.12-8.66-23.29-11.64,20.44-33.84,58.22-53.26,97.64-50.16l3.88-11.64-15.68,7.91-3.88-11.5c18.36-16.11,42.18-24.6,66.58-23.74,5.52,0,6.12-14.93,11.2-17.02,141.38-53,270.66,8.21,324.71,128.99,2.93,9.82,5.32,19.78,7.17,29.86,14.93,49.86-6.27,106.29,8.51,136.15-6.87,31.5-32.1,12.09-35.23,27.02-7.46,36.13-12.99,52.25-35.68,68.97-8.3,7.37-17.3,13.92-26.87,19.56,9.59-9.58,16.36-21.61,19.56-34.78-93.01,97.64-229.76,55.98-253.79-92.71-4.75-30.68,6.92-61.61,30.75-81.51,81.36-76.59,131.38-45.83,180.04-17.91l-7.76-26.87c-28.81-21.35-14.93-17.32-7.91-50.16v-3.88l-15.68-11.5c2.24,8.81.9,4.63,7.91,14.93-3.88,14.03,0,7.91-7.76,14.93-13.14,8.51-20.75,6.42-39.11,3.88l3.88-11.64-11.64-11.64c0,10.3-3.58,2.39,0,14.93-110.33,8.66-190.79,70.02-156.31,227.67,1.26,13.12,3.86,26.08,7.76,38.67l-7.76,7.61-3.88-23.14h-11.79l-3.88,11.64c-11.05-22.54-.75,9.41,35.23,46.28,3.51,3.9,7.25,7.59,11.2,11.05,41.8,29.86,99.13,71.21,176.16,43h7.91v-3.88l-89.57-11.64-3.88-7.61c93.46,21.65,154.81-7.46,207.07-42.4,11.5-14.93,10-21.05,19.41-7.91,16.87-14.93,3.43-23.44,11.79-38.52,5.67-10.3,28.51-14.93,39.11-30.9l35.08-119.43h-14.93c2.69-12.54,19.71-29.86-3.88-42.4-2.24-1.34,7.91-1.19,7.76-3.73-1.65-20.65-8.31-40.58-19.41-58.07,28.96,18.96,31.8,59.72,46.88,92.56v7.76h3.88v-41.5h-1.04ZM459.75,585.02l-8.36-23.14,54.64,50.16-46.28-27.02ZM191.03,249.27l-20.3-3.88v34.78c14.63-9.26,16.57-9.11,19.56-30.9h.75ZM694.14,403.64c-10.3,10.14-15.74,24.23-14.93,38.67l11.79,7.61c13.69-11.79,15.42-32.37,3.88-46.28h-.75ZM822.97,550.39c22.99-10.15,47.77-50.76,31.35-84.95l-31.35,84.8v.15ZM670.7,480.82c-13.73,10.3-17.32,11.64-19.56,34.78l11.64,7.76,15.68-7.76c7.2-12.96,8.61-28.35,3.88-42.4-7.32,11.79-2.24,18.06-11.64,7.61ZM612.03,550.39c13.88-9.55,10.45-12.99,15.68-19.41v-4.18c-18.16,1.95-36.48,1.95-54.64,0-11.5-12.24-11.64-25.68-27.32-34.64,14.93,30.75,2.84,33.44,27.32,54.04,11.48,2.79,23.27,4.09,35.08,3.88,1.34,0-5.97-.9,3.88,0v.3ZM244.92,519.48h-11.79l-7.76,7.61c8.36,8.96,4.78,6.27,11.64-3.88l11.79,19.41,3.88-14.93-7.76-7.61v-.6ZM259.85,569.65l3.88-7.76c-8.81-7.61,0-3.14-11.64,0l-11.64-14.93,3.88,14.93v7.76h15.53Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:deepin{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %23007cff;}%3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M665.21,90c-64.37-23.52-130.28-29.87-194.31-23.89-74.22,5.85-110.43,28.81-108.27,24.67-121.37,43.31-223.99,136.52-271.48,267.19-84.58,232.72,35.25,490.09,267.58,574.84,232.5,84.75,489.44-35.28,574.08-268,84.64-232.7-35.19-490.06-267.64-574.78l.03-.03ZM374.05,890.73c-24.91-9.17-48.83-20.81-71.43-34.75l1.74.98c108.27,8.31,249.61-16.6,344.92-105.81,0,0,181.65-145.14,50.2-383.36,0,0,21.19,96.01-5.82,174.96,0,0-25.76,107.4-140.25,138.57-168.64,45.95-360.77-72.04-441.12-129.27-6.05-58.77-.67-119.47,20.91-178.74,31.92-87.8,91.95-156.34,165.28-202.35-18.29,128.26-3.81,246.38,17.02,295.86,27.97,66.33,76.52,143.72,171.35,153.63,94.83,9.97,147.08-78.76,147.08-78.76,48.69-73.91,56.31-180.06,55.55-182.64-.76-2.6-12.96-9.6-12.96-9.6-32.73,132.49-86.71,176.73-86.71,176.73-85.12,82.18-145.4,25.2-145.4,25.2-64.82-69.63-19.4-182.75-19.4-182.75,25.4-77.05,99.31-189.8,183.11-247.14,13.97,3.44,28,5.6,41.8,10.61,51.35,19.09,95.45,46.45,132.97,80.89l-.28-.25c-61.26,22.37-160.18,69.63-160.18,69.63-156.82,66.08-167.43,165.98-167.43,165.98-16.24,102.95,65.49,59.36,65.49,59.36,84.08-40.96,125.41-168.58,125.41-168.58-26.23-5.01-46.93,3-46.93,3-33.57,82.87-102.03,116.92-102.03,116.92-26.96,14.25-33.23-10.95-33.23-10.95-4.56-18.9,19.49-22.09,19.49-22.09,37.32-14.53,61.18-53.73,66.61-69.74,5.38-16.04,15.37-17.33,15.37-17.33,28.31-9.27,61.49-16.32,95.73-19.79l2.04-.17c63.47-7.81,160.63,22.49,160.63,22.49,20.04,7.94,40.49,14.81,61.26,20.58,35.61,89.01,41.24,190.31,5.96,287.46-76.13,209.43-307.46,317.48-516.71,241.24h-.03Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:opencloudos{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %23060198;}.st1 {fill: %230368ec;}.st2 {fill: %2300c0ff;}%3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M213.3,661.37l149.34-149.34,149.34,149.34c-82.47,82.48-216.19,82.49-298.67.02,0,0-.01-.01-.02-.02ZM511.98,362.68c82.47-82.48,216.19-82.49,298.67-.02,0,0,.01.01.02.02l-149.34,149.34s-149.34-149.34-149.34-149.34Z'/%3E%3Cpath class='st2' d='M213.3,661.37c-82.48-82.47-82.49-216.19-.02-298.67,0,0,.01-.01.02-.02L511.98,64c82.48,82.47,82.49,216.19.02,298.67l-.02.02-298.68,298.68Z'/%3E%3Cpath class='st1' d='M661.32,810.66l-149.34,149.34c-82.48-82.47-82.49-216.19-.02-298.67,0,0,.01-.01.02-.02l149.34-149.34,149.34-149.34c82.48,82.39,82.55,216.05.16,298.53-.05.05-.1.11-.16.16,0,0-149.34,149.34-149.34,149.34Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:openeuler{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %23002fa7;}%3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M841.43,413.79c-28.88,24.54-68.56,32.01-104.39,19.64-35.36-10.66-47.14-35.92-27.5-56.12,26.78-20.62,61.69-27.48,94.28-18.52,36.48,8.98,53.32,33.11,35.92,56.12M675.31,369.45c-25.82,20.36-59.87,27.05-91.48,17.96-16.84-5.05-26.38-15.71-26.94-24.69s-11.22-12.91-23.01-16.28c-12.47-3.1-25.41-3.87-38.16-2.24l-15.71,3.37c-11.86,3.56-23.05,9.06-33.11,16.28-8.98,8.08-14.42,19.37-15.15,31.43,0,8.42,8.98,15.71,21.33,20.2,13.82,3.47,28.28,3.47,42.09,0,18.31-5.46,37.81-5.46,56.12,0,17.78,4.27,28.73,22.15,24.46,39.93-1.48,6.18-4.71,11.8-9.31,16.19-27.71,23.76-65.96,31.03-100.46,19.08-13.7-4.89-23.19-17.47-24.13-31.99,0-9.54-9.54-16.84-21.33-21.89-13.64-4.04-27.98-5.19-42.09-3.37l-17.4,3.37c-13.93,3.43-26.83,10.17-37.6,19.64-7.55,7.19-13.65,15.76-17.96,25.25-2.01,4.26-3.33,8.8-3.93,13.47.46,11.66,7.71,21.98,18.52,26.38,13.95,6.06,29.38,7.82,44.34,5.05,18.58-4.95,38.27-3.77,56.12,3.37,30.87,14.03,34.23,48.26,5.61,76.32-29.52,29.53-74.28,37.59-112.24,20.2-14.81-8.41-22.52-25.41-19.08-42.09.21-2.05.21-4.12,0-6.17-.48-2.76-1.43-5.42-2.81-7.86-3.23-6.59-8.56-11.92-15.15-15.15-13.49-6.26-28.57-8.22-43.21-5.61-18.43,6.24-38.57,5.03-56.12-3.37-21.89-13.47-15.71-41.53,13.47-62.86,14.49-11.01,31.44-18.33,49.39-21.33,16.79-1.22,33.1-6.21,47.7-14.59,10.54-6.72,17.84-17.47,20.2-29.74.49-3.35.49-6.75,0-10.1-1.21-8.9,1.45-17.88,7.3-24.69,8.01-7.11,17.99-11.61,28.62-12.91,8.04-.52,16.1-.52,24.13,0h16.84c9.87-2.72,19.05-7.5,26.94-14.03,7.44-4.56,12.86-11.78,15.15-20.2v-8.42c0-15.15,19.08-31.43,49.39-37.04,13.28-3.17,27.12-3.17,40.41,0,8.71,1.24,16.37,6.41,20.76,14.03.24,1.11.24,2.26,0,3.37,4.69,8.4,12.96,14.19,22.45,15.71,13.35,2.55,27.06,2.55,40.41,0,17.16-4.1,35.04-4.1,52.19,0,29.74,7.3,39.85,28.06,21.33,46.02M603.48,706.18c-32.46,36.72-85.93,46.25-129.08,23.01-28.74-15.92-39.13-52.12-23.21-80.86,3.27-5.89,7.51-11.19,12.55-15.66,31.39-29.78,77.43-38.16,117.29-21.33,29.73,8.76,46.73,39.96,37.97,69.69-2.83,9.62-8.19,18.3-15.52,25.15M895.31,268.43l-354.13-197.55c-17.58-9.18-38.54-9.18-56.12,0L127.01,267.87c-17.09,9.86-27.74,27.97-28.06,47.7v392.85c.32,19.73,10.97,37.84,28.06,47.7l356.93,196.99c17.58,9.18,38.54,9.18,56.12,0l356.93-196.99c17.09-9.86,27.74-27.97,28.06-47.7v-392.85c-.32-19.73-10.97-37.84-28.06-47.7'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:oracle{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %23fff;}.st1 {fill: %23e10025;}%3C/style%3E%3C/defs%3E%3Cpath class='st1' d='M64,512c0,247.42,200.58,448,448,448s448-200.58,448-448S759.42,64,512,64,64,264.58,64,512Z'/%3E%3Cpath class='st0' d='M427.2,344h169.59c92.34,0,167.2,75.22,167.2,168s-74.86,168-167.2,168h-169.59c-92.34,0-167.2-75.22-167.2-168s74.86-168,167.2-168ZM427.2,404.59c-59.04,0-106.9,48.09-106.9,107.41s47.86,107.41,106.9,107.41h169.59c59.04,0,106.9-48.09,106.9-107.41s-47.86-107.41-106.9-107.41h-169.59Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:rocky{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %2310b981;}%3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M935.07,659.74c16.15-46.26,24.93-95.98,24.93-147.74,0-247.43-200.58-448-448-448S64,264.57,64,512c0,122.42,49.11,233.38,128.7,314.25l454.43-454.44,112.19,112.2s175.75,175.74,175.75,175.74ZM853.24,802.29l-206.11-206.1-322.74,322.75c57.07,26.35,120.62,41.05,187.61,41.05,136.69,0,259.07-61.21,341.25-157.71h0Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:tencent{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %230052d9;}%3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M960,134.74H205.47L64,889.26h754.53s141.47-754.53,141.47-754.53ZM392.63,771.37l61.89-330.11h-131.16l-47.16-82.53h193.79l22.11-117.89,267.47,200.42h-198.95l-44.21,235.79h148.84l82.53,94.32s-355.16,0-355.16,0Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:ubuntu{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %23e9000c;}.st1 {fill: %23fac400;}.st2 {fill: %23fb9200;}%3C/style%3E%3C/defs%3E%3Cpath class='st2' d='M168.77,415.97c51.69,0,93.83,42,93.83,93.53s-42.15,93.54-93.83,93.54c-51.69-.14-93.83-42.14-93.83-93.68s42.15-93.39,93.83-93.39ZM586.52,139.03c23.2,0,45.82,2.2,67.69,6.32-.42,4-.61,8.02-.59,12.04,0,71.8,58.74,130.39,130.69,130.39,28.35,0,54.47-8.96,75.92-24.38,49.78,56.83,82.08,129.22,88.54,208.66l-148.01,4.55c-12.33-106.9-103.81-190.3-214.24-190.3-31.12,0-60.94,6.61-87.66,18.65l-74.01-127.89c48.61-24.38,103.67-38.03,161.67-38.03Z'/%3E%3Cpath class='st1' d='M789.31,772.93c51.69,0,93.68,42,93.68,93.54s-42.14,93.53-93.68,93.53-93.83-41.99-93.83-93.53c.15-51.55,42.29-93.54,93.83-93.54ZM379.19,798.63c-63.14-44.05-111.9-107.49-137-181.49,34.51-23.5,57.27-63,57.27-107.78s-24.67-87.37-61.53-110.42c23.2-78.42,72.54-145.96,137.74-192.51l77.98,125.7c-50.37,39.36-82.82,100.73-82.82,169.3s31.87,128.77,81.49,168.13c0,0-73.12,129.07-73.12,129.07Z'/%3E%3Cpath class='st0' d='M949.06,526.98c-6.02,86.49-42.72,164.61-99.26,223.93-18.63-9.73-39.33-14.81-60.35-14.83-68.72,0-125.26,53.31-130.4,120.4-23.5,4.71-47.72,7.35-72.54,7.35-55.05.04-109.38-12.46-158.88-36.56l73.72-128.19c26.14,11.31,54.92,17.47,85.17,17.47,110.86,0,202.79-84.28,214.38-191.77,0,0,148.15,2.21,148.15,2.21ZM784.31,64c51.69,0,93.83,41.99,93.83,93.54s-42.14,93.53-93.83,93.53-93.83-42-93.83-93.53c.14-51.54,42.28-93.53,93.83-93.53h0Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-tdesign\:caret-left{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M15.5 2.586v18.828L6.086 12zM8.914 12l4.586 4.586V7.414z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-tdesign\:caret-right{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M8.5 21.414L17.914 12L8.5 2.586zm2-4.828V7.414L15.086 12z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-theme\:auto{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3Cpath fill='currentColor' d='M868.2,129.4c39.9,0,72.2,32.3,72.2,72.2v498.3c0,39.9-32.3,72.2-72.2,72.2h-313.3c-6.1,0-11,4.9-11,11v39.3c0,6.1,4.9,11,11,11h160.6c6.1,0,11,5,11,11.1v39.2c0,6.1-4.9,11-11,11h-406.4c-6.1,0-11-4.9-11-11v-39.2c0-6.1,4.9-11,11-11h162.7c6.1,0,11-5,11-11.1v-39.3c0-6.1-4.9-11-11-11H155.8c-39.9,0-72.2-32.3-72.2-72.2V201.6c0-39.9,32.3-72.2,72.2-72.2h712.5ZM868.2,190.6H155.8c-6.1,0-11,4.9-11,11v498.3c0,6.1,4.9,11,11,11h712.5c6.1,0,11-4.9,11-11V201.6c0-6.1-4.9-11-11-11Z'/%3E%3Cg id='Layer_1'%3E%3Cpath fill='currentColor' d='M512,263.9c11.8,0,21.4,9.6,21.4,21.4v26.7c0,11.8-9.6,21.4-21.4,21.4-11.8,0-21.3-9.6-21.4-21.4v-26.7c0-11.8,9.6-21.4,21.4-21.4ZM512,568.1c11.8,0,21.4,9.6,21.4,21.4v26.7c0,11.8-9.6,21.4-21.4,21.4s-21.4-9.6-21.4-21.4h0v-26.7c0-11.8,9.6-21.4,21.4-21.4ZM698.8,450.7c0,11.8-9.6,21.4-21.4,21.4h-26.7c-11.8,0-21.4-9.6-21.4-21.4,0-11.8,9.6-21.4,21.4-21.4h26.7c11.8,0,21.4,9.6,21.4,21.4ZM394.6,450.7c0,11.8-9.6,21.4-21.4,21.4h-26.7c-11.8,0-21.4-9.6-21.4-21.4,0-11.8,9.6-21.3,21.4-21.4h26.7c11.8,0,21.4,9.6,21.4,21.4ZM644.1,318.6c8.3,8.3,8.3,21.9,0,30.2l-18.9,18.9c-8.2,8.5-21.7,8.7-30.2.5-8.5-8.2-8.7-21.7-.5-30.2.2-.2.4-.4.5-.5l18.9-18.9c8.3-8.3,21.9-8.3,30.2,0h0ZM428.9,533.8c8.3,8.3,8.3,21.9,0,30.2l-18.9,18.9c-8.2,8.5-21.7,8.7-30.2.5-8.5-8.2-8.7-21.7-.5-30.2.2-.2.4-.4.5-.5l18.9-18.9c8.3-8.3,21.9-8.3,30.2,0ZM644.1,582.8c-8.3,8.3-21.9,8.3-30.2,0l-18.9-18.9c-8.5-8.2-8.7-21.7-.5-30.2,8.2-8.5,21.7-8.7,30.2-.5.2.2.4.4.5.5l18.9,18.9c8.3,8.3,8.3,21.9,0,30.2ZM428.9,367.7c-8.3,8.3-21.9,8.3-30.2,0l-18.9-18.9c-8.5-8.2-8.7-21.7-.5-30.2,8.2-8.5,21.7-8.7,30.2-.5.2.2.4.4.5.5l18.9,18.9c8.3,8.3,8.3,21.9,0,30.2ZM512,530.8c-44.2,0-80.1-35.8-80.1-80.1s35.8-80.1,80.1-80.1,80.1,35.8,80.1,80.1-35.8,80.1-80.1,80.1Z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-theme\:dark{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.6009 2C15.724 2.94694 18 5.87417 18 9.33934C18 13.5702 14.607 17 10.4217 17C6.76389 17 3.71152 14.3805 3 10.8966C3.88275 11.2745 4.83184 11.4687 5.7905 11.4673C9.74343 11.4673 12.9478 8.22812 12.9478 4.23223C12.9478 3.49723 12.8396 2.7882 12.6379 2.12002L12.6009 2Z' stroke='currentColor' stroke-width='1.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-theme\:light{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M13 9.68439C13 11.254 11.6569 12.5265 10 12.5265C8.34315 12.5265 7 11.254 7 9.68439C7 8.11474 8.34315 6.84229 10 6.84229C11.6569 6.84229 13 8.11474 13 9.68439Z' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M18 10.4345C18.4142 10.4345 18.75 10.0988 18.75 9.68455C18.75 9.27033 18.4142 8.93455 18 8.93455V10.4345ZM16 8.93455C15.5858 8.93455 15.25 9.27033 15.25 9.68455C15.25 10.0988 15.5858 10.4345 16 10.4345V8.93455ZM4 10.4345C4.41421 10.4345 4.75 10.0988 4.75 9.68455C4.75 9.27033 4.41421 8.93455 4 8.93455V10.4345ZM2 8.93455C1.58579 8.93455 1.25 9.27033 1.25 9.68455C1.25 10.0988 1.58579 10.4345 2 10.4345V8.93455ZM10.7506 2.10547C10.7506 1.69126 10.4148 1.35547 10.0006 1.35547C9.58638 1.35547 9.2506 1.69126 9.2506 2.10547H10.7506ZM9.2506 4.00021C9.2506 4.41442 9.58638 4.75021 10.0006 4.75021C10.4148 4.75021 10.7506 4.41442 10.7506 4.00021H9.2506ZM10.7506 15.3686C10.7506 14.9544 10.4148 14.6186 10.0006 14.6186C9.58638 14.6186 9.2506 14.9544 9.2506 15.3686H10.7506ZM9.2506 17.2634C9.2506 17.6776 9.58638 18.0134 10.0006 18.0134C10.4148 18.0134 10.7506 17.6776 10.7506 17.2634H9.2506ZM16.1744 4.86959C16.4751 4.58471 16.4879 4.11001 16.2031 3.80931C15.9182 3.50862 15.4435 3.49579 15.1428 3.78066L16.1744 4.86959ZM13.7279 5.12105C13.4272 5.40592 13.4144 5.88062 13.6993 6.18132C13.9842 6.48202 14.4589 6.49485 14.7596 6.20998L13.7279 5.12105ZM6.27442 14.2478C6.57512 13.9629 6.58794 13.4882 6.30307 13.1875C6.0182 12.8868 5.5435 12.874 5.2428 13.1589L6.27442 14.2478ZM3.82794 14.4993C3.52724 14.7841 3.51441 15.2588 3.79929 15.5595C4.08416 15.8602 4.55886 15.8731 4.85956 15.5882L3.82794 14.4993ZM4.85956 3.78066C4.55886 3.49579 4.08416 3.50862 3.79929 3.80931C3.51441 4.11001 3.52724 4.58471 3.82794 4.86959L4.85956 3.78066ZM5.2428 6.20998C5.5435 6.49485 6.0182 6.48202 6.30307 6.18132C6.58794 5.88062 6.57512 5.40592 6.27442 5.12105L5.2428 6.20998ZM14.7596 13.1599C14.4589 12.875 13.9842 12.8878 13.6993 13.1885C13.4144 13.4892 13.4272 13.9639 13.7279 14.2488L14.7596 13.1599ZM15.1417 15.5881C15.4424 15.873 15.9171 15.8601 16.2019 15.5594C16.4868 15.2587 16.474 14.784 16.1733 14.4992L15.1417 15.5881ZM18 9.68455V8.93455H16V9.68455V10.4345H18V9.68455ZM4 9.68455V8.93455H2V9.68455V10.4345H4V9.68455ZM10.0006 2.10547H9.2506V4.00021H10.0006H10.7506V2.10547H10.0006ZM10.0006 15.3686H9.2506V17.2634H10.0006H10.7506V15.3686H10.0006ZM15.6586 4.32512L15.1428 3.78066L13.7279 5.12105L14.2437 5.66551L14.7596 6.20998L16.1744 4.86959L15.6586 4.32512ZM5.75861 13.7033L5.2428 13.1589L3.82794 14.4993L4.34375 15.0437L4.85956 15.5882L6.27442 14.2478L5.75861 13.7033ZM4.34375 4.32512L3.82794 4.86959L5.2428 6.20998L5.75861 5.66551L6.27442 5.12105L4.85956 3.78066L4.34375 4.32512ZM14.2437 13.7043L13.7279 14.2488L15.1417 15.5881L15.6575 15.0436L16.1733 14.4992L14.7596 13.1599L14.2437 13.7043Z' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-uiw\:question-circle-o{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 20 20' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M10 0c5.523 0 10 4.477 10 10s-4.477 10-10 10S0 15.523 0 10S4.477 0 10 0m0 1.395a8.605 8.605 0 1 0 0 17.21a8.605 8.605 0 0 0 0-17.21m0 12.241a.91.91 0 1 1 0 1.819a.91.91 0 0 1 0-1.819m2.68-8.306c.726.73.96 1.564.838 2.436c-.096.691-.52 1.435-1.084 1.926c-.7.606-.872.756-1.004.889l-.06.062l-.101.11a2.6 2.6 0 0 0-.538.915q-.111.308-.183.905a.682.682 0 0 1-1.354-.158c.058-.493.14-.893.255-1.21a3.9 3.9 0 0 1 .82-1.379c.17-.184.365-.37.614-.593c.115-.103.567-.494.678-.59c.313-.282.558-.718.607-1.066c.066-.471-.048-.876-.455-1.285c-.43-.432-1.106-.64-1.625-.572c-.758.098-1.065.21-1.588.668c-.382.336-.634.833-.75 1.519a.682.682 0 0 1-1.344-.227c.164-.98.561-1.76 1.194-2.316c.759-.667 1.31-.867 2.312-.997c.925-.12 2.027.218 2.768.963'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:attack-map{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='2' y1='12' x2='22' y2='12'%3E%3C/line%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:attacked-domain{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'%3E%3C/path%3E%3Cline x1='12' y1='9' x2='12' y2='13'%3E%3C/line%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'%3E%3C/line%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:interception-event{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3Cline x1='12' y1='18' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='9' y1='15' x2='15' y2='15'%3E%3C/line%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:interception-type{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:malicious{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 96 117' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' customFrame='%23000000'%3E%3Cpath id='矢量 8' d='M48 116C47.3625 116 46.783 115.824 46.2614 115.472C32.1788 106.847 21.979 99.6888 14.4451 90.477C5.75216 79.9158 1.52158 67.5944 1.05795 51.7525L1.05795 51.4592C1.05795 50.5791 1 49.7577 1 48.9362C1 48.1148 1 47.2347 1.05795 46.4133L1.05795 30.102C1.05795 28.2245 2.56473 26.6403 4.47719 26.6403C21.2256 26.6403 36.7571 17.4872 45.0444 2.7602C45.6239 1.70408 46.783 1 48 1C49.217 1 50.3761 1.64541 50.9556 2.7602C59.2429 17.4872 74.8323 26.6403 91.5808 26.6403C93.4353 26.6403 95 28.1658 95 30.102L95 51.7525C95 51.9872 95 52.2219 94.942 52.398C93.783 85.9592 75.4698 99.7474 49.7966 115.531C49.217 115.824 48.6375 116 48 116L48 116ZM7.89643 51.6352C8.3021 65.8342 12.0691 76.7475 19.7189 86.0765C26.3255 94.1735 35.5401 100.745 48.058 108.49C71.8187 93.8214 87.3502 81.4413 88.2195 51.5765C88.2195 51.4005 88.2195 51.2832 88.2774 51.1071L88.2774 33.3878C72.2244 32.3316 57.4464 24 48.1159 10.7985C38.6696 24 23.8915 32.3316 7.89643 33.3878L7.89643 46.5306C7.89643 47.352 7.83848 48.1735 7.83848 48.9362C7.83848 49.7577 7.83848 50.5204 7.89643 51.3418L7.89643 51.6352L7.89643 51.6352ZM49.275 88.5408C50.9556 88.8733 48.4636 88.4821 48.058 88.3061C46.3194 87.6021 45.4501 85.6071 46.0876 83.8469L53.7953 63.7219L39.7707 63.7219C38.6695 63.7219 37.6264 63.1939 36.9889 62.2551C36.3514 61.3163 36.1776 60.1429 36.5832 59.0867L44.8126 35.6173C45.4501 33.7985 47.3625 32.8597 49.1591 33.5051C50.9556 34.1505 51.8829 36.0867 51.2454 37.9056L44.5808 56.8571L58.7793 56.8571C59.8804 56.8571 60.9815 57.4439 61.561 58.3827C62.1985 59.3214 62.3144 60.4949 61.9088 61.551L52.4044 86.3699C51.9408 87.7194 50.6658 88.5408 49.275 88.5408L49.275 88.5408Z' fill='currentColor' fill-rule='nonzero'/%3E%3Cpath id='矢量 8' d='M45.7214 116.314C37.953 111.556 31.8091 107.447 27.2898 103.989C21.791 99.7807 17.2514 95.4878 13.6711 91.1101C10.7158 87.5198 8.25265 83.691 6.28146 79.6238C5.30765 77.6145 4.45391 75.547 3.72025 73.4213C1.51414 67.0293 0.293512 59.8161 0.0583818 51.7818L0.0579532 51.7672L0.0579532 51.4592C0.0579532 51.1723 0.0482447 50.7488 0.0288275 50.1887C0.00960916 49.6344 0 49.2169 0 48.9362C0 47.8024 0.0193177 46.9499 0.0579532 46.3788L0.0579532 30.102C0.0579532 29.4963 0.163393 28.9333 0.374273 28.413C0.587083 27.888 0.907274 27.4065 1.33484 26.9685C1.77524 26.5174 2.26313 26.1812 2.79851 25.9599C3.31404 25.7468 3.87359 25.6403 4.47719 25.6403C6.4059 25.6403 8.31889 25.5182 10.2162 25.2739C12.3133 25.0039 14.3913 24.5846 16.45 24.0161C18.1246 23.5537 19.7621 22.9994 21.3625 22.3532C23.4467 21.5117 25.468 20.5143 27.4263 19.3612C29.085 18.3845 30.6703 17.3127 32.1821 16.1457C33.8256 14.8772 35.3822 13.4963 36.8521 12.0029C38.1908 10.643 39.436 9.21141 40.5878 7.70825C41.905 5.98908 43.1001 4.17626 44.1729 2.26979C44.3167 2.00777 44.4836 1.76561 44.6738 1.54331C44.9792 1.1864 45.3443 0.880682 45.7693 0.626148C46.186 0.376603 46.6193 0.201649 47.0693 0.101284C47.372 0.0337613 47.6822 -1.19209e-07 48 -1.19209e-07C48.4263 0 48.8361 0.0569096 49.2294 0.170729C49.5727 0.270062 49.9034 0.412742 50.2216 0.598767C50.5919 0.815253 50.9166 1.07401 51.1957 1.37504C51.4451 1.64402 51.6581 1.94675 51.8347 2.28324C52.8557 4.09619 53.9882 5.82467 55.2325 7.46868C56.436 9.05891 57.7439 10.5701 59.1563 12.0023C60.5755 13.4414 62.0758 14.7763 63.6573 16.0069C65.2257 17.2274 66.8739 18.3453 68.6019 19.3607C70.5572 20.5097 72.5749 21.5041 74.655 22.3438C76.2654 22.9939 77.9133 23.5513 79.5986 24.016C81.7251 24.6024 83.8713 25.03 86.0373 25.2989C87.871 25.5265 89.7188 25.6403 91.5808 25.6403C92.1637 25.6403 92.7066 25.7407 93.2094 25.9415C93.7504 26.1575 94.245 26.4897 94.6932 26.9382C95.1229 27.3682 95.4466 27.8427 95.6644 28.3616C95.8881 28.8948 96 29.475 96 30.102L96 51.7525C96 52.0708 95.9793 52.3313 95.9379 52.5341C95.6467 60.7095 94.3171 68.0461 91.9489 74.544C91.3296 76.2435 90.6314 77.9053 89.8545 79.5294C87.8644 83.6893 85.3574 87.602 82.3335 91.2674C78.6497 95.7327 73.9123 100.152 68.1211 104.525C63.7812 107.802 57.8476 111.755 50.3203 116.382L50.2851 116.404L50.2482 116.423C49.488 116.808 48.7386 117 48 117C47.5552 117 47.1315 116.935 46.7288 116.805C46.3769 116.691 46.0411 116.527 45.7214 116.314ZM94.942 52.398C95 52.2219 95 51.9872 95 51.7525L95 30.102C95 28.1658 93.4353 26.6403 91.5808 26.6403C74.8323 26.6403 59.2429 17.4872 50.9556 2.7602C50.3761 1.64541 49.217 1 48 1C46.783 1 45.6239 1.70408 45.0444 2.7602C36.7571 17.4872 21.2256 26.6403 4.47719 26.6403C2.56473 26.6403 1.05795 28.2245 1.05795 30.102L1.05795 46.4133C1 47.2347 1 48.1148 1 48.9362C1 49.7577 1.05795 50.5791 1.05795 51.4592L1.05795 51.7525C1.52158 67.5944 5.75216 79.9158 14.4451 90.477C21.979 99.6888 32.1788 106.847 46.2614 115.472C46.783 115.824 47.3625 116 48 116C48.6375 116 49.217 115.824 49.7966 115.531C75.4698 99.7474 93.783 85.9592 94.942 52.398ZM7.93078 52.6352C8.48209 66.3485 12.2496 76.9677 19.7189 86.0765C26.3255 94.1735 35.5401 100.745 48.058 108.49C71.8187 93.8214 87.3502 81.4413 88.2195 51.5765C88.2195 51.4005 88.2195 51.2832 88.2774 51.1071L88.2774 33.3878C72.5737 32.3546 58.0901 24.3591 48.7327 11.6533C48.5246 11.3707 48.3189 11.0857 48.1159 10.7985C47.9112 11.0846 47.704 11.3684 47.4943 11.6499C38.0285 24.3577 23.5449 32.3545 7.89643 33.3878L7.89643 46.5306C7.89643 47.352 7.83848 48.1735 7.83848 48.9362C7.83848 49.5181 7.83848 50.0705 7.85908 50.6352C7.86756 50.8677 7.87953 51.1023 7.89643 51.3418L7.89643 51.6352C7.906 51.9704 7.91745 52.3037 7.93078 52.6352ZM8.89643 51.6212C9.09717 58.6048 10.144 64.8501 12.0368 70.357C12.6578 72.1636 13.3804 73.9212 14.2046 75.6297C15.8803 79.1033 17.9762 82.3742 20.4921 85.4425L20.4937 85.4443C23.55 89.19 27.4796 92.9164 32.2827 96.6236C36.2275 99.6683 41.4861 103.232 48.0586 107.314C54.5823 103.271 59.7716 99.7718 63.6264 96.8151C68.677 92.9413 72.7827 89.0381 75.9436 85.1054C78.2718 82.2085 80.2287 79.131 81.8141 75.8727C82.6335 74.1889 83.3537 72.4568 83.9747 70.6764C85.929 65.0733 87.0106 58.7012 87.2195 51.5603C87.2205 51.3453 87.2398 51.1517 87.2774 50.9793L87.2774 34.3163C83.7549 34.0256 80.3256 33.4065 76.9895 32.459C72.9157 31.302 68.9809 29.6554 65.1852 27.5191C61.6507 25.5298 58.4096 23.2133 55.4619 20.5696C52.7663 18.1519 50.316 15.4605 48.1112 12.4955C45.767 15.6129 43.1581 18.4275 40.2845 20.9392C37.4341 23.4305 34.3233 25.6239 30.952 27.5193C26.9785 29.7533 22.859 31.4518 18.5935 32.6148C15.4409 33.4744 12.2085 34.0415 8.89643 34.316L8.89643 46.5306C8.89643 46.8215 8.88629 47.2492 8.86601 47.8137C8.84766 48.3245 8.83848 48.6987 8.83848 48.9362C8.83848 49.9689 8.85697 50.7473 8.89396 51.2715L8.89643 51.3066L8.89643 51.6212ZM46.2949 88.3567C46.6843 88.723 47.1445 89.0141 47.6753 89.23C47.9398 89.3407 48.4755 89.4641 49.2824 89.6002C49.4099 89.6217 49.5155 89.6383 49.5991 89.6498C49.9298 89.6953 50.1999 89.6489 50.4094 89.5107C50.4772 89.466 50.5386 89.4116 50.5937 89.3477C50.6386 89.3339 50.6832 89.3193 50.7275 89.3039C51.0848 89.1805 51.4254 89.0087 51.7494 88.7886C52.1358 88.526 52.463 88.2185 52.7311 87.8659C52.9912 87.5238 53.1956 87.1392 53.3442 86.7122L62.8423 61.9096C62.9924 61.5187 63.0869 61.1224 63.1258 60.7208C63.1547 60.4224 63.1529 60.121 63.1204 59.8167C63.082 59.4569 63.0027 59.112 62.8825 58.782C62.7625 58.4528 62.6018 58.1384 62.4004 57.8388C62.2737 57.6359 62.1315 57.4469 61.9738 57.2718C61.6588 56.9221 61.2821 56.6279 60.8436 56.3894C60.4493 56.1749 60.0419 56.0252 59.6214 55.9404C59.3463 55.8849 59.0656 55.8571 58.7793 55.8571L45.9925 55.8571L52.1891 38.2364C52.4044 37.622 52.4906 37.0169 52.4476 36.4212C52.409 35.8852 52.2658 35.3567 52.0181 34.8358C51.7674 34.3087 51.4435 33.8601 51.0463 33.4901C50.6159 33.0891 50.0995 32.7804 49.4972 32.564C48.8899 32.3458 48.2919 32.2576 47.703 32.2992C47.1653 32.3373 46.6353 32.4836 46.113 32.7382C45.6169 32.9801 45.1913 33.2887 44.8363 33.664C44.414 34.1104 44.0915 34.6512 43.8689 35.2865L35.6441 58.7428C35.5283 59.0475 35.4484 59.3573 35.4043 59.6721C35.3506 60.0563 35.3504 60.448 35.4037 60.8472C35.4406 61.124 35.5017 61.3929 35.587 61.654C35.7199 62.0608 35.9114 62.4484 36.1616 62.8169C36.3754 63.1317 36.6209 63.41 36.8982 63.652C37.1531 63.8745 37.4349 64.0663 37.7435 64.2272C38.0368 64.3802 38.3395 64.4977 38.6516 64.5798C39.0121 64.6746 39.3852 64.722 39.7707 64.7219L52.3415 64.7219L45.1473 83.5064C44.9489 84.0542 44.8557 84.5997 44.8678 85.1429C44.8806 85.723 45.0135 86.3005 45.2664 86.8753C45.5237 87.4601 45.8665 87.9539 46.2949 88.3567ZM52.7245 63.7219L39.7707 63.7219C38.6695 63.7219 37.6264 63.1939 36.9889 62.2551C36.3514 61.3163 36.1776 60.1429 36.5832 59.0867L44.8126 35.6173C45.4501 33.7985 47.3625 32.8597 49.1591 33.5051C50.9556 34.1505 51.8829 36.0867 51.2454 37.9056L44.9324 55.8571L44.5808 56.8571L58.7793 56.8571C59.8804 56.8571 60.9815 57.4439 61.561 58.3827C62.1985 59.3214 62.3144 60.4949 61.9088 61.551L52.4044 86.3699C52.1134 87.2169 51.5028 87.8559 50.7445 88.2143C50.2947 88.4269 49.7929 88.5408 49.275 88.5408C50.2145 88.7267 49.85 88.6864 49.275 88.584C49.1424 88.5604 48.9987 88.5335 48.8572 88.5053C48.5144 88.437 48.1846 88.3611 48.058 88.3061C47.6145 88.1266 47.2276 87.863 46.9079 87.5408C45.9739 86.5997 45.6127 85.1582 46.0876 83.8469L53.4123 64.7219L53.7953 63.7219L52.7245 63.7219Z' fill='currentColor' fill-rule='evenodd'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:qps{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 12 18 12 15 21 9 3 6 12 2 12'%3E%3C/polyline%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:response{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:site-traffic{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1766214102461' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='3552'%3E%3Cpath d='M290.1 409.6H155.135A371.405 371.405 0 0 0 140.851 512c0 35.533 4.967 69.888 14.336 102.4H290.15c-5.632-32.768-8.499-66.918-8.499-102.4s2.867-69.632 8.5-102.4z m52.07 0A542.106 542.106 0 0 0 332.8 512c0 35.738 3.072 69.888 9.37 102.4H486.4V409.6H342.17z m75.008 461.363A491.878 491.878 0 0 1 301.568 665.6h-127.59a372.07 372.07 0 0 0 243.2 205.363z m69.222-3.584V665.6H354.97c24.064 77.107 67.84 144.23 131.43 201.83z m-69.222-714.291a372.07 372.07 0 0 0-243.2 205.312h127.59a491.878 491.878 0 0 1 115.558-205.363z m69.222 3.584c-63.59 57.446-107.315 124.57-131.43 201.728H486.4V156.57zM733.9 409.6c5.633 32.768 8.5 66.918 8.5 102.4s-2.867 69.632-8.5 102.4h135.015c9.319-32.512 14.285-66.867 14.285-102.4s-4.966-69.888-14.336-102.4H733.901z m-52.07 0H537.6v204.8h144.23c6.247-32.512 9.37-66.662 9.37-102.4s-3.072-69.888-9.37-102.4z m-75.008 461.363a372.07 372.07 0 0 0 243.2-205.363h-127.59a491.878 491.878 0 0 1-115.558 205.363zM537.6 867.38c63.59-57.55 107.315-124.673 131.43-201.78H537.6v201.83z m69.222-714.291A491.878 491.878 0 0 1 722.432 358.4h127.642a372.07 372.07 0 0 0-243.2-205.363z m-69.222 3.584V358.4h131.43c-24.064-77.107-67.84-144.23-131.43-201.83zM512 947.2a435.2 435.2 0 1 1 0-870.4 435.2 435.2 0 0 1 0 870.4z' fill='currentColor' p-id='3553'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:today{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 101.2 101.2' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' customFrame='%23000000'%3E%3Cpath id='矢量 6' d='M50.6 0.599976C62.1042 0.599976 71.4333 10.225 71.4333 22.0958C71.4333 23.9301 71.2091 25.7311 70.7761 27.4658C70.2889 29.4175 70.9661 31.5435 72.5949 32.7239C74.979 34.4516 77.1552 36.4556 79.0768 38.6965C79.1296 38.758 79.0892 38.8531 79.0083 38.8583C83.9375 38.8583 88.1 34.6916 88.1 29.3875C88.1 27.3416 89.62 25.6 91.6659 25.6L92.6417 25.6C94.7357 25.6 96.4333 27.2976 96.4333 29.3916C96.4333 35.4035 93.2323 40.7463 88.3562 43.7833C86.2 45.1262 84.9812 47.8855 85.8501 50.2725C86.827 52.9565 87.5055 55.7844 87.8451 58.7138C87.86 58.8422 87.9708 58.9463 88.1 58.9416L88.1 58.9333L96.6027 58.9416C98.8108 58.9431 100.6 60.7309 100.6 62.939L100.6 63.2723C100.6 65.4825 98.8075 67.2764 96.5973 67.275L88.1 67.2666C87.9715 67.2596 87.8599 67.3543 87.8451 67.4822C87.5101 70.3714 86.8385 73.206 85.8476 75.9292C84.9792 78.3155 86.1983 81.0731 88.354 82.4153C93.2313 85.452 96.4333 90.7955 96.4333 96.8083C96.4333 98.9024 94.7357 100.6 92.6417 100.6L91.921 100.6C89.8221 100.6 88.1161 98.9071 88.1 96.8083C88.1 92.2739 85.0565 88.5748 81.0943 87.597C79.9211 87.3076 78.7601 87.8909 77.9338 88.7725C74.6543 92.2714 70.7283 95.1117 66.3663 97.1329C61.4258 99.4221 56.0451 100.605 50.6 100.6C45.1553 100.606 39.7749 99.4229 34.8344 97.1344C29.9533 94.8733 25.6177 91.5867 22.1228 87.4993C22.0709 87.4386 22.1119 87.3534 22.1917 87.35L22.1917 87.3416C17.2625 87.3416 13.1 91.5083 13.1 96.8125C13.1 98.9042 11.4043 100.6 9.31251 100.6L8.55834 100.6C6.46426 100.6 4.76667 98.9024 4.76667 96.8083C4.76667 90.7959 7.96824 85.4528 12.845 82.4159C15.0009 81.0734 16.2199 78.315 15.3514 75.9284C14.3605 73.2055 13.6892 70.3712 13.3549 67.4822C13.3401 67.3543 13.2285 67.2596 13.1 67.2666L4.60001 67.2666C2.39087 67.2666 0.600006 65.4758 0.600006 63.2666L0.600006 62.9333C0.600006 60.7242 2.39087 58.9333 4.60001 58.9333L13.1 58.9333C13.1046 58.9333 13.1 58.9287 13.1 58.9333L13.1 58.9416C13.2292 58.9463 13.34 58.8422 13.3549 58.7138C13.6902 55.826 14.3617 52.9928 15.3522 50.2709C16.2207 47.8845 15.0016 45.1268 12.8458 43.7845C7.96861 40.7478 4.76667 35.4044 4.76667 29.3916C4.76667 27.2976 6.46426 25.6 8.55834 25.6L9.30834 25.6C11.4024 25.6 13.1 27.2976 13.1 29.3916C13.1 33.9269 16.1447 37.6266 20.1081 38.6035C21.28 38.8923 22.4398 38.3103 23.2658 37.4303C24.8948 35.6945 26.684 34.1181 28.609 32.7218C30.2378 31.5403 30.9137 29.4132 30.4243 27.4614C29.9859 25.7126 29.7639 23.9119 29.7667 22.1C29.7667 10.2208 39.0958 0.599976 50.6 0.599976ZM41.9325 35.2442C38.1038 36.4364 34.5456 38.4104 31.4912 41.0593C27.2681 44.7219 24.1862 49.5206 22.6121 54.8845C21.0379 60.2484 21.0379 65.9516 22.612 71.3154C24.1862 76.6793 27.2681 81.478 31.4912 85.1406C34.5456 87.7895 38.1038 89.7635 41.9325 90.9557C44.2591 91.6802 46.4333 89.7921 46.4333 87.3553L46.4333 38.8446C46.4333 36.4078 44.2591 34.5197 41.9325 35.2442ZM54.7708 34.2291L54.7708 87.3465C54.7708 89.7849 56.9478 91.6734 59.2751 90.9457C63.0972 89.7507 66.6488 87.7763 69.6974 85.1292C73.9153 81.4667 76.9931 76.6702 78.565 71.3099C80.137 65.9495 80.137 60.2505 78.565 54.8901C76.9931 49.5297 73.9153 44.7333 69.6974 41.0708C65.4794 37.4083 60.2987 35.0337 54.7708 34.2291L54.7708 34.2291ZM50.6 9.19581C43.6958 9.19581 38.1 14.9708 38.1 22.0958C38.1 22.7076 38.141 23.3125 38.2218 23.9076C38.4979 25.9406 40.6743 26.8757 42.6796 26.4422C45.2788 25.8803 47.9339 25.5972 50.6 25.6C53.3214 25.6 55.9746 25.8904 58.5303 26.4405C60.5313 26.8712 62.7015 25.9392 62.9777 23.911C63.0588 23.315 63.1 22.7089 63.1 22.0958C63.1 14.9708 57.5042 9.19581 50.6 9.19581L50.6 9.19581Z' fill='currentColor' fill-rule='nonzero'/%3E%3Cpath id='矢量 6' d='M71.4333 22.0958C71.4333 23.9301 71.2091 25.7311 70.7761 27.4658C70.2889 29.4175 70.9661 31.5435 72.5949 32.7239C74.979 34.4516 77.1552 36.4556 79.0768 38.6965C79.1296 38.758 79.0892 38.8531 79.0083 38.8583C83.9375 38.8583 88.1 34.6916 88.1 29.3875C88.1 27.3416 89.62 25.6 91.6659 25.6L92.6417 25.6C94.7357 25.6 96.4333 27.2976 96.4333 29.3916C96.4333 35.4035 93.2323 40.7463 88.3562 43.7833C86.2 45.1262 84.9812 47.8855 85.8501 50.2725C86.827 52.9565 87.5055 55.7844 87.8451 58.7138C87.86 58.8422 87.9708 58.9463 88.1 58.9416L88.1 58.9333L96.6027 58.9416C98.8108 58.9431 100.6 60.7309 100.6 62.939L100.6 63.2723C100.6 65.4825 98.8075 67.2764 96.5973 67.275L88.1 67.2666C87.9715 67.2596 87.8599 67.3543 87.8451 67.4822C87.5101 70.3714 86.8385 73.206 85.8476 75.9292C84.9792 78.3155 86.1983 81.0731 88.354 82.4153C93.2313 85.452 96.4333 90.7955 96.4333 96.8083C96.4333 98.9024 94.7357 100.6 92.6417 100.6L91.921 100.6C89.8221 100.6 88.1161 98.9071 88.1 96.8083C88.1 92.2739 85.0565 88.5748 81.0943 87.597C79.9211 87.3076 78.7601 87.8909 77.9338 88.7725C74.6543 92.2714 70.7283 95.1117 66.3663 97.1329C61.4258 99.4221 56.0451 100.605 50.6 100.6C45.1553 100.606 39.7749 99.4229 34.8344 97.1344C29.9533 94.8733 25.6177 91.5867 22.1228 87.4993C22.0709 87.4386 22.1119 87.3534 22.1917 87.35L22.1917 87.3416C17.2625 87.3416 13.1 91.5083 13.1 96.8125C13.1 98.9042 11.4043 100.6 9.31251 100.6L8.55834 100.6C6.46426 100.6 4.76667 98.9024 4.76667 96.8083C4.76667 90.7959 7.96824 85.4528 12.845 82.4159C15.0009 81.0734 16.2199 78.315 15.3514 75.9284C14.3605 73.2055 13.6892 70.3712 13.3549 67.4822C13.3401 67.3543 13.2285 67.2596 13.1 67.2666L4.60001 67.2666C2.39087 67.2666 0.600006 65.4758 0.600006 63.2666L0.600006 62.9333C0.600006 60.7242 2.39087 58.9333 4.60001 58.9333L13.1 58.9333C13.1046 58.9333 13.1 58.9287 13.1 58.9333L13.1 58.9416C13.2292 58.9463 13.34 58.8422 13.3549 58.7138C13.6902 55.826 14.3617 52.9928 15.3522 50.2709C16.2207 47.8845 15.0016 45.1268 12.8458 43.7845C7.96861 40.7478 4.76667 35.4044 4.76667 29.3916C4.76667 27.2976 6.46426 25.6 8.55834 25.6L9.30834 25.6C11.4024 25.6 13.1 27.2976 13.1 29.3916C13.1 33.9269 16.1447 37.6266 20.1081 38.6035C21.28 38.8923 22.4398 38.3103 23.2658 37.4303C24.8948 35.6945 26.684 34.1181 28.609 32.7218C30.2378 31.5403 30.9137 29.4132 30.4243 27.4614C29.9859 25.7126 29.7639 23.9119 29.7667 22.1C29.7667 10.2208 39.0958 0.599976 50.6 0.599976C62.1042 0.599976 71.4333 10.225 71.4333 22.0958ZM31.4912 41.0593C27.2681 44.7219 24.1862 49.5206 22.6121 54.8845C21.0379 60.2484 21.0379 65.9516 22.612 71.3154C24.1862 76.6793 27.2681 81.478 31.4912 85.1406C34.5456 87.7895 38.1038 89.7635 41.9325 90.9557C44.2591 91.6802 46.4333 89.7921 46.4333 87.3553L46.4333 38.8446C46.4333 36.4078 44.2591 34.5197 41.9325 35.2442C38.1038 36.4364 34.5456 38.4104 31.4912 41.0593ZM54.7708 87.3465C54.7708 89.7849 56.9478 91.6734 59.2751 90.9457C63.0972 89.7507 66.6488 87.7763 69.6974 85.1292C73.9153 81.4667 76.9931 76.6702 78.565 71.3099C80.137 65.9495 80.137 60.2505 78.565 54.8901C76.9931 49.5297 73.9153 44.7333 69.6974 41.0708C65.4794 37.4083 60.2987 35.0337 54.7708 34.2291L54.7708 34.2291L54.7708 87.3465ZM38.1 22.0958C38.1 22.7076 38.141 23.3125 38.2218 23.9076C38.4979 25.9406 40.6743 26.8757 42.6796 26.4422C45.2788 25.8803 47.9339 25.5972 50.6 25.6C53.3214 25.6 55.9746 25.8904 58.5303 26.4405C60.5313 26.8712 62.7015 25.9392 62.9777 23.911C63.0588 23.315 63.1 22.7089 63.1 22.0958C63.1 14.9708 57.5042 9.19581 50.6 9.19581L50.6 9.19581C43.6958 9.19581 38.1 14.9708 38.1 22.0958Z' fill-rule='nonzero' stroke='currentColor' stroke-width='1.20000005'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:traffic-filter,[i-waf\:traffic-filter=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3'%3E%3C/polygon%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:traffic-ranking{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'%3E%3C/line%3E%3Cline x1='12' y1='20' x2='12' y2='4'%3E%3C/line%3E%3Cline x1='6' y1='20' x2='6' y2='14'%3E%3C/line%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:visit-page{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3Cline x1='16' y1='13' x2='8' y2='13'%3E%3C/line%3E%3Cline x1='16' y1='17' x2='8' y2='17'%3E%3C/line%3E%3Cpolyline points='10 9 9 9 8 9'%3E%3C/polyline%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-weui\:delete-outlined{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='m6.774 6.4l.812 13.648a.8.8 0 0 0 .798.752h7.232a.8.8 0 0 0 .798-.752L17.226 6.4zm11.655 0l-.817 13.719A2 2 0 0 1 15.616 22H8.384a2 2 0 0 1-1.996-1.881L5.571 6.4H3.5v-.7a.5.5 0 0 1 .5-.5h16a.5.5 0 0 1 .5.5v.7zM14 3a.5.5 0 0 1 .5.5v.7h-5v-.7A.5.5 0 0 1 10 3zM9.5 9h1.2l.5 9H10zm3.8 0h1.2l-.5 9h-1.2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.container,[container=""]{width:100%}[\!container=""]{width:100%!important}.empty-container:empty{width:100%}[before~=container]:before{width:100%}.flex-center{display:flex;align-items:center;justify-content:center}@media(min-width:640px){.container,[container=""]{max-width:640px}[\!container=""]{max-width:640px!important}.empty-container:empty{max-width:640px}[before~=container]:before{max-width:640px}}@media(min-width:768px){.container,[container=""]{max-width:768px}[\!container=""]{max-width:768px!important}.empty-container:empty{max-width:768px}[before~=container]:before{max-width:768px}}@media(min-width:1024px){.container,[container=""]{max-width:1024px}[\!container=""]{max-width:1024px!important}.empty-container:empty{max-width:1024px}[before~=container]:before{max-width:1024px}}@media(min-width:1280px){.container,[container=""]{max-width:1280px}[\!container=""]{max-width:1280px!important}.empty-container:empty{max-width:1280px}[before~=container]:before{max-width:1280px}}@media(min-width:1536px){.container,[container=""]{max-width:1536px}[\!container=""]{max-width:1536px!important}.empty-container:empty{max-width:1536px}[before~=container]:before{max-width:1536px}}.\[http\:\/\/\]{http://}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.static,[static=""]{position:static}.inset-0{top:0;right:0;bottom:0;left:0}.-left-\[160px\]{left:-160px}.-left-\[9px\]{left:-9px}.-left-4px{left:-4px}.-top-\[20px\]{top:-20px}.-top-1\.5px{top:-1.5px}.-top-90px{top:-90px}.bottom--1px{bottom:-1px}.bottom-\[10em\]{bottom:10em}.bottom-0{bottom:0}.bottom-12px{bottom:12px}.bottom-20px{bottom:20px}.bottom-5px{bottom:5px}.left-\[-21px\]{left:-21px}.left-\[2\.6rem\]{left:2.6rem}.left-\[3px\]{left:3px}.left-\[4px\]{left:4px}.left-\[50\%\]{left:50%}.left-0{left:0}.left-15px{left:15px}.left-24px{left:24px}.left-50px{left:50px}.right--2px{right:-2px}.right-\[2rem\]{right:2rem}.right-0,.right-0px{right:0}.right-10px{right:10px}.right-12px{right:12px}.right-15px{right:15px}.right-16px{right:16px}.right-1px{right:1px}.right-1rem,.right-4{right:1rem}.right-20px{right:20px}.right-24px{right:24px}.right-40px{right:40px}.right-8px{right:8px}.top--10px{top:-10px}.top-\[1\.6rem\]{top:1.6rem}.top-\[18px\]{top:18px}.top-\[1rem\],.top-4{top:1rem}.top-\[20px\]{top:20px}.top-\[3px\]{top:3px}.top-\[4px\]{top:4px}.top-\[5rem\]{top:5rem}.top-0{top:0}.top-1\/2{top:50%}.top-12px{top:12px}.top-15px{top:15px}.top-16px{top:16px}.top-24px{top:24px}.top-92px{top:92px}[line-clamp~="1"]{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1}[line-clamp~="2"]{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}[line-clamp~="999"]{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:999;line-clamp:999}[line-clamp~="9999"]{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:9999;line-clamp:9999}.isolate{isolation:isolate}.z-1,.z01{z-index:1}.z-2,.z02{z-index:2}.z-\[55\],.z-55{z-index:55}.z-\[99\],.z-99{z-index:99}.z-10{z-index:10}.z-100{z-index:100}.z-1000{z-index:1000}.z-20{z-index:20}.z-50{z-index:50}.z-996{z-index:996}.z-9999{z-index:9999}.grid{display:grid}[cols~="1"]{grid-template-columns:repeat(1,minmax(0,1fr))}[cols~="10"]{grid-template-columns:repeat(10,minmax(0,1fr))}[cols~="11"]{grid-template-columns:repeat(11,minmax(0,1fr))}[cols~="15"]{grid-template-columns:repeat(15,minmax(0,1fr))}[cols~="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}[cols~="24"]{grid-template-columns:repeat(24,minmax(0,1fr))}[cols~="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}[cols~="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}[cols~="6"]{grid-template-columns:repeat(6,minmax(0,1fr))}[rows~="1"]{grid-template-rows:repeat(1,minmax(0,1fr))}[rows~="10"]{grid-template-rows:repeat(10,minmax(0,1fr))}[rows~="12"]{grid-template-rows:repeat(12,minmax(0,1fr))}[rows~="14"]{grid-template-rows:repeat(14,minmax(0,1fr))}[rows~="15"]{grid-template-rows:repeat(15,minmax(0,1fr))}[rows~="16"]{grid-template-rows:repeat(16,minmax(0,1fr))}[rows~="2"]{grid-template-rows:repeat(2,minmax(0,1fr))}[rows~="3"]{grid-template-rows:repeat(3,minmax(0,1fr))}[rows~="4"]{grid-template-rows:repeat(4,minmax(0,1fr))}[rows~="5"]{grid-template-rows:repeat(5,minmax(0,1fr))}[rows~="6"]{grid-template-rows:repeat(6,minmax(0,1fr))}[rows~="8"]{grid-template-rows:repeat(8,minmax(0,1fr))}[rows~="80"]{grid-template-rows:repeat(80,minmax(0,1fr))}.float-right{float:right}.m-\[auto\],.m-auto{margin:auto}.m-0{margin:0}.m-15px{margin:15px}.m-16px{margin:16px}.m-20px{margin:20px}.m-2px{margin:2px}.mx-\[1\.2rem\]{margin-left:1.2rem;margin-right:1.2rem}.mx-\[8px\],.mx-8px{margin-left:8px;margin-right:8px}.mx-0\!{margin-left:0!important;margin-right:0!important}.mx-0\.5em{margin-left:.5em;margin-right:.5em}.mx-10px{margin-left:10px;margin-right:10px}.mx-12px{margin-left:12px;margin-right:12px}.mx-16px{margin-left:16px;margin-right:16px}.mx-20px{margin-left:20px;margin-right:20px}.mx-2px{margin-left:2px;margin-right:2px}.mx-32px{margin-left:32px;margin-right:32px}.mx-4px{margin-left:4px;margin-right:4px}.mx-4px\!{margin-left:4px!important;margin-right:4px!important}.mx-5px{margin-left:5px;margin-right:5px}.mx-6px{margin-left:6px;margin-right:6px}.mx-auto{margin-left:auto;margin-right:auto}.my-\[1\.2rem\]{margin-top:1.2rem;margin-bottom:1.2rem}.my-\[3rem\]{margin-top:3rem;margin-bottom:3rem}.my-10px{margin-top:10px;margin-bottom:10px}.my-10px\!{margin-top:10px!important;margin-bottom:10px!important}.my-12px{margin-top:12px;margin-bottom:12px}.my-15px,[my-15px=""]{margin-top:15px;margin-bottom:15px}.my-16px{margin-top:16px;margin-bottom:16px}.my-16px\!{margin-top:16px!important;margin-bottom:16px!important}.my-18px{margin-top:18px;margin-bottom:18px}.my-20px{margin-top:20px;margin-bottom:20px}.my-20px\!{margin-top:20px!important;margin-bottom:20px!important}.my-24px{margin-top:24px;margin-bottom:24px}.my-25px{margin-top:25px;margin-bottom:25px}.my-4{margin-top:1rem;margin-bottom:1rem}.my-8px{margin-top:8px;margin-bottom:8px}.my-8px\!{margin-top:8px!important;margin-bottom:8px!important}[mx-10px~="default:"]:default{margin-left:10px;margin-right:10px}[my-15px~="default:"]:default{margin-top:15px;margin-bottom:15px}.mb-\[\.2rem\]{margin-bottom:.2rem}.mb-\[1\.6rem\]{margin-bottom:1.6rem}.mb-\[12px\],.mb-12px{margin-bottom:12px}.mb-\[24px\],.mb-24px{margin-bottom:24px}.mb-\[2rem\],.mb-8{margin-bottom:2rem}.mb-1{margin-bottom:.25rem}.mb-10px{margin-bottom:10px}.mb-14px{margin-bottom:14px}.mb-15px{margin-bottom:15px}.mb-15px\!{margin-bottom:15px!important}.mb-16px{margin-bottom:16px}.mb-16px\!{margin-bottom:16px!important}.mb-1rem{margin-bottom:1rem}.mb-2{margin-bottom:.5rem}.mb-20px{margin-bottom:20px}.mb-20px\!{margin-bottom:20px!important}.mb-30px{margin-bottom:30px}.mb-32px{margin-bottom:32px}.mb-38px{margin-bottom:38px}.mb-40px{margin-bottom:40px}.mb-4px{margin-bottom:4px}.mb-6px{margin-bottom:6px}.mb-7px{margin-bottom:7px}.mb-8px{margin-bottom:8px}.me{margin-inline-end:1rem}.ml-\[1\.2rem\]{margin-left:1.2rem}.ml-\[130px\]{margin-left:130px}.ml-\[16px\],.ml-16px{margin-left:16px}.ml-\[1rem\]{margin-left:1rem}.ml-\[20px\],.ml-20px{margin-left:20px}.ml-\[8px\],.ml-8px{margin-left:8px}.ml-0\.5em{margin-left:.5em}.ml-108px{margin-left:108px}.ml-10px,[ml-10px=""]{margin-left:10px}.ml-10px\!{margin-left:10px!important}.ml-126px{margin-left:126px}.ml-12px{margin-left:12px}.ml-14px{margin-left:14px}.ml-15px{margin-left:15px}.ml-24px{margin-left:24px}.ml-2px{margin-left:2px}.ml-30px{margin-left:30px}.ml-32px{margin-left:32px}.ml-3px{margin-left:3px}.ml-40px{margin-left:40px}.ml-4px{margin-left:4px}.ml-5{margin-left:1.25rem}.ml-5px{margin-left:5px}.ml-5px\!{margin-left:5px!important}.ml-6{margin-left:1.5rem}.ml-60px{margin-left:60px}.ml-6px{margin-left:6px}.ml-70px{margin-left:70px}.ml-7px{margin-left:7px}.ml-90px{margin-left:90px}.ml-auto{margin-left:auto}.mr-\[\.8rem\]{margin-right:.8rem}.mr-\[1\.6rem\]{margin-right:1.6rem}.mr-\[1rem\]{margin-right:1rem}.mr-\[2rem\]{margin-right:2rem}.mr-\[4rem\]{margin-right:4rem}.mr-0\.25em{margin-right:.25em}.mr-1{margin-right:.25rem}.mr-10px{margin-right:10px}.mr-10px\!{margin-right:10px!important}.mr-12px{margin-right:12px}.mr-15px{margin-right:15px}.mr-16px{margin-right:16px}.mr-20px{margin-right:20px}.mr-22px{margin-right:22px}.mr-24px{margin-right:24px}.mr-2px{margin-right:2px}.mr-30px{margin-right:30px}.mr-32px{margin-right:32px}.mr-3px{margin-right:3px}.mr-40px{margin-right:40px}.mr-48px{margin-right:48px}.mr-4px{margin-right:4px}.mr-5{margin-right:1.25rem}.mr-5px{margin-right:5px}.mr-6px{margin-right:6px}.mr-80px{margin-right:80px}.mr-8px{margin-right:8px}.ms,[ms=""]{margin-inline-start:1rem}.mt,.mt-4{margin-top:1rem}.mt--10px{margin-top:-10px}.mt--2px{margin-top:-2px}.mt-\[0rem\]{margin-top:0rem}.mt-\[1\.2rem\]{margin-top:1.2rem}.mt-\[10\.5rem\]{margin-top:10.5rem}.mt-\[16px\],.mt-16px{margin-top:16px}.mt-\[40px\],.mt-40px{margin-top:40px}.mt-\[4px\],.mt-4px,[mt-4px=""]{margin-top:4px}.mt-10px{margin-top:10px}.mt-12px{margin-top:12px}.mt-12px\!{margin-top:12px!important}.mt-14px{margin-top:14px}.mt-15px{margin-top:15px}.mt-16px\!{margin-top:16px!important}.mt-20px{margin-top:20px}.mt-24px{margin-top:24px}.mt-2px{margin-top:2px}.mt-30px{margin-top:30px}.mt-32px{margin-top:32px}.mt-36px{margin-top:36px}.mt-49px{margin-top:49px}.mt-50px{margin-top:50px}.mt-5px{margin-top:5px}.mt-6px{margin-top:6px}.mt-8px{margin-top:8px}.last\:mb-0:last-child{margin-bottom:0}.inline,[inline=""]{display:inline}.block,[block=""]{display:block}.inline-block{display:inline-block}.contents,[contents=""]{display:contents}.list-item{display:list-item}.hidden{display:none}[hidden~="default:"]:default{display:none}[size~="0"]{width:0;height:0}[size~="10"]{width:2.5rem;height:2.5rem}[size~="100"]{width:25rem;height:25rem}[size~="12"]{width:3rem;height:3rem}[size~="120"]{width:30rem;height:30rem}[size~="13"]{width:3.25rem;height:3.25rem}[size~="14"]{width:3.5rem;height:3.5rem}[size~="15"]{width:3.75rem;height:3.75rem}[size~="150"]{width:37.5rem;height:37.5rem}[size~="16"]{width:4rem;height:4rem}[size~="17"]{width:4.25rem;height:4.25rem}[size~="18"]{width:4.5rem;height:4.5rem}[size~="2"]{width:.5rem;height:.5rem}[size~="20"]{width:5rem;height:5rem}[size~="21"]{width:5.25rem;height:5.25rem}[size~="22"]{width:5.5rem;height:5.5rem}[size~="24"]{width:6rem;height:6rem}[size~="25"]{width:6.25rem;height:6.25rem}[size~="26"]{width:6.5rem;height:6.5rem}[size~="3"]{width:.75rem;height:.75rem}[size~="30"]{width:7.5rem;height:7.5rem}[size~="32"]{width:8rem;height:8rem}[size~="34"]{width:8.5rem;height:8.5rem}[size~="36"]{width:9rem;height:9rem}[size~="4"]{width:1rem;height:1rem}[size~="40"]{width:10rem;height:10rem}[size~="46"]{width:11.5rem;height:11.5rem}[size~="48"]{width:12rem;height:12rem}[size~="5"]{width:1.25rem;height:1.25rem}[size~="50"]{width:12.5rem;height:12.5rem}[size~="6"]{width:1.5rem;height:1.5rem}[size~="60"]{width:15rem;height:15rem}[size~="8"]{width:2rem;height:2rem}[size~="80"]{width:20rem;height:20rem}.\!w-\[12rem\]{width:12rem!important}.h-\[100px\],.h-100px{height:100px}.h-\[12px\]{height:12px}.h-\[2\.2rem\]{height:2.2rem}.h-\[20px\],.h-20px{height:20px}.h-\[22rem\]{height:22rem}.h-\[3\.2rem\]{height:3.2rem}.h-\[30\.1rem\]{height:30.1rem}.h-\[32rem\]{height:32rem}.h-\[34rem\]{height:34rem}.h-\[36px\],.h-36px{height:36px}.h-\[38rem\]{height:38rem}.h-\[3rem\]{height:3rem}.h-\[44px\],.h-44px{height:44px}.h-\[4rem\],.h-16{height:4rem}.h-\[5\.4rem\]{height:5.4rem}.h-\[50px\],.h-50px,[h-50px=""]{height:50px}.h-\[5px\]{height:5px}.h-\[67px\]{height:67px}.h-\[6px\],.h-6px{height:6px}.h-\[92px\]{height:92px}.h-\[96px\]{height:96px}.h-10{height:2.5rem}.h-100\%,.h-full{height:100%}.h-103px{height:103px}.h-10px{height:10px}.h-110px{height:110px}.h-114px{height:114px}.h-116px{height:116px}.h-120px{height:120px}.h-124px{height:124px}.h-130px,[h-130px=""]{height:130px}.h-140px{height:140px}.h-150px{height:150px}.h-15px{height:15px}.h-160px{height:160px}.h-176px{height:176px}.h-180px{height:180px}.h-18px{height:18px}.h-190px{height:190px}.h-200px{height:200px}.h-200px\!{height:200px!important}.h-22px{height:22px}.h-24px,[h-24px=""]{height:24px}.h-250px{height:250px}.h-25px{height:25px}.h-260px{height:260px}.h-268px{height:268px}.h-280px{height:280px}.h-28px{height:28px}.h-2px{height:2px}.h-300px{height:300px}.h-30px{height:30px}.h-320px{height:320px}.h-32px{height:32px}.h-34px{height:34px}.h-350px{height:350px}.h-35px{height:35px}.h-360px{height:360px}.h-388px{height:388px}.h-38px{height:38px}.h-392px{height:392px}.h-400px{height:400px}.h-400px\!{height:400px!important}.h-40px{height:40px}.h-420px{height:420px}.h-428px{height:428px}.h-42px{height:42px}.h-440px{height:440px}.h-450px{height:450px}.h-456px{height:456px}.h-460px{height:460px}.h-468px{height:468px}.h-475px{height:475px}.h-480px{height:480px}.h-48px{height:48px}.h-498px{height:498px}.h-500px{height:500px}.h-520px{height:520px}.h-52px{height:52px}.h-530px{height:530px}.h-540px{height:540px}.h-55\%{height:55%}.h-550px{height:550px}.h-560px{height:560px}.h-56px{height:56px}.h-580px{height:580px}.h-600px{height:600px}.h-600px\!{height:600px!important}.h-60px,[h-60px=""]{height:60px}.h-610px{height:610px}.h-620px{height:620px}.h-700px{height:700px}.h-70px{height:70px}.h-720px{height:720px}.h-72px{height:72px}.h-750px{height:750px}.h-8{height:2rem}.h-80px{height:80px}.h-8px,[h-8px=""]{height:8px}.h-95px{height:95px}.h-auto\!{height:auto!important}.h1{height:.25rem}.h2,[h2=""]{height:.5rem}.h3{height:.75rem}.max-h-\[14rem\]{max-height:14rem}.max-h-200px{max-height:200px}.max-h-22px{max-height:22px}.max-h-300px{max-height:300px}.max-h-460px{max-height:460px}.max-h-540px{max-height:540px}.max-h-600px{max-height:600px}.max-h-640px{max-height:640px}.max-w-\[1200px\]{max-width:1200px}.max-w-\[36rem\]{max-width:36rem}.max-w-\[90rem\]{max-width:90rem}.max-w-100\%,.max-w-full{max-width:100%}.max-w-1000px{max-width:1000px}.max-w-150px\!{max-width:150px!important}.max-w-160px{max-width:160px}.max-w-190px\!{max-width:190px!important}.max-w-1920px{max-width:1920px}.max-w-250px{max-width:250px}.max-w-260px{max-width:260px}.max-w-290px{max-width:290px}.max-w-300px{max-width:300px}.max-w-350px{max-width:350px}.max-w-360px{max-width:360px}.max-w-360px\!{max-width:360px!important}.max-w-480px\!{max-width:480px!important}.max-w-500px{max-width:500px}.max-w-80px{max-width:80px}.min-h-100px{min-height:100px}.min-h-172px{min-height:172px}.min-h-18px{min-height:18px}.min-h-244px{min-height:244px}.min-h-24px{min-height:24px}.min-h-26px{min-height:26px}.min-h-28px{min-height:28px}.min-h-300px{min-height:300px}.min-h-30px{min-height:30px}.min-h-34px{min-height:34px}.min-h-48px{min-height:48px}.min-h-50px{min-height:50px}.min-h-520px{min-height:520px}.min-h-52px{min-height:52px}.min-h-60px{min-height:60px}.min-h-654px{min-height:654px}.min-w-\[260px\],.min-w-260px{min-width:260px}.min-w-0{min-width:0}.min-w-120px{min-width:120px}.min-w-134px{min-width:134px}.min-w-140px{min-width:140px}.min-w-160px{min-width:160px}.min-w-18px{min-width:18px}.min-w-240px{min-width:240px}.min-w-250px{min-width:250px}.min-w-32px{min-width:32px}.min-w-40px{min-width:40px}.min-w-450px{min-width:450px}.min-w-500px{min-width:500px}.min-w-52px{min-width:52px}.min-w-68px{min-width:68px}.min-w-70px{min-width:70px}.min-w-80px{min-width:80px}.min-w-auto\!{min-width:auto!important}.w-\[100px\],.w-100px{width:100px}.w-\[10px\],.w-10px{width:10px}.w-\[10rem\]{width:10rem}.w-\[12px\],.w-12px{width:12px}.w-\[145px\]{width:145px}.w-\[17rem\]{width:17rem}.w-\[25rem\]{width:25rem}.w-\[26rem\]{width:26rem}.w-\[30rem\]\!{width:30rem!important}.w-\[33\%\],.w-33\%{width:33%}.w-\[34\.0rem\]{width:34rem}.w-\[350px\],.w-350px,[w-350px=""]{width:350px}.w-\[36px\],.w-36px{width:36px}.w-\[36rem\]{width:36rem}.w-\[40\%\],.w-40\%{width:40%}.w-\[48rem\]{width:48rem}.w-\[50px\],.w-50px{width:50px}.w-\[50rem\]{width:50rem}.w-\[50rem\]\!{width:50rem!important}.w-\[58px\],.w-58px{width:58px}.w-\[60\%\]{width:60%}.w-\[6px\]{width:6px}.w-\[78px\]{width:78px}.w-\[7px\]{width:7px}.w-\[92px\],.w-92px{width:92px}.w-\[96px\]{width:96px}.w-0{width:0}.w-100\%,.w-full{width:100%}.w-100px\!{width:100px!important}.w-1020px{width:1020px}.w-105px\!,[w-105px\!=""]{width:105px!important}.w-110px{width:110px}.w-110px\!{width:110px!important}.w-114px{width:114px}.w-120px{width:120px}.w-120px\!{width:120px!important}.w-130px{width:130px}.w-130px\!{width:130px!important}.w-140px{width:140px}.w-140px\!{width:140px!important}.w-142px{width:142px}.w-145px\!{width:145px!important}.w-150px{width:150px}.w-150px\!{width:150px!important}.w-160px{width:160px}.w-16px{width:16px}.w-170{width:42.5rem}.w-170px{width:170px}.w-174px{width:174px}.w-180px{width:180px}.w-180px\!{width:180px!important}.w-186px{width:186px}.w-190px\!{width:190px!important}.w-194px{width:194px}.w-200px{width:200px}.w-200px\!{width:200px!important}.w-208px\!,[w-208px\!=""]{width:208px!important}.w-20px{width:20px}.w-20rem{width:20rem}.w-210px{width:210px}.w-214px{width:214px}.w-215px\!{width:215px!important}.w-218px\!{width:218px!important}.w-220px{width:220px}.w-220px\!{width:220px!important}.w-225px{width:225px}.w-22px{width:22px}.w-230px{width:230px}.w-240px{width:240px}.w-240px\!{width:240px!important}.w-24px,[w-24px=""]{width:24px}.w-250px{width:250px}.w-250px\!{width:250px!important}.w-25px{width:25px}.w-260px{width:260px}.w-280px{width:280px}.w-280px\!{width:280px!important}.w-290px{width:290px}.w-290px\!{width:290px!important}.w-300px{width:300px}.w-300px\!{width:300px!important}.w-302px{width:302px}.w-310px{width:310px}.w-32\%{width:32%}.w-320px{width:320px}.w-320px\!{width:320px!important}.w-328px{width:328px}.w-32px{width:32px}.w-330px{width:330px}.w-330px\!{width:330px!important}.w-332px{width:332px}.w-34px{width:34px}.w-350px\!{width:350px!important}.w-360px{width:360px}.w-360px\!{width:360px!important}.w-380px{width:380px}.w-380px\!{width:380px!important}.w-38px{width:38px}.w-400px{width:400px}.w-400px\!{width:400px!important}.w-40px{width:40px}.w-410px{width:410px}.w-410px\!{width:410px!important}.w-415px{width:415px}.w-42\%{width:42%}.w-420px{width:420px}.w-420px\!{width:420px!important}.w-42px{width:42px}.w-430px{width:430px}.w-440px{width:440px}.w-440px\!{width:440px!important}.w-44px{width:44px}.w-45\%{width:45%}.w-450px{width:450px}.w-450px\!{width:450px!important}.w-460px{width:460px}.w-466px{width:466px}.w-470px{width:470px}.w-475px{width:475px}.w-476px{width:476px}.w-48\%{width:48%}.w-480px{width:480px}.w-48px{width:48px}.w-5{width:1.25rem}.w-50\%{width:50%}.w-500px{width:500px}.w-500px\!{width:500px!important}.w-50px\!{width:50px!important}.w-510px{width:510px}.w-530px,[w-530px=""]{width:530px}.w-540px{width:540px}.w-550px{width:550px}.w-550px\!{width:550px!important}.w-560px{width:560px}.w-56px{width:56px}.w-570px{width:570px}.w-580px\!{width:580px!important}.w-600px{width:600px}.w-600px\!{width:600px!important}.w-60px{width:60px}.w-620px{width:620px}.w-640px{width:640px}.w-650px{width:650px}.w-660px{width:660px}.w-680px{width:680px}.w-70\%{width:70%}.w-700px{width:700px}.w-70px{width:70px}.w-720px{width:720px}.w-740px{width:740px}.w-76\%{width:76%}.w-760px{width:760px}.w-8{width:2rem}.w-80\%{width:80%}.w-80px{width:80px}.w-80px\!{width:80px!important}.w-820px{width:820px}.w-850px\!{width:850px!important}.w-860px{width:860px}.w-86px{width:86px}.w-88px,[w-88px=""]{width:88px}.w-8px,[w-8px=""]{width:8px}.w-90\%{width:90%}.w-900px{width:900px}.w-90px{width:90px}.w-920px{width:920px}.w-950px{width:950px}.w-96\%{width:96%}.w-98px\!{width:98px!important}.w-auto{width:auto}.w-full\!{width:100%!important}[max-w-150px\!~="default:"]:default{max-width:150px!important}[w-310px~="default:"]:default{width:310px}[w-570px~="default:"]:default{width:570px}[w-full~="default:"]:default{width:100%}.flex,[flex=""]{display:flex}.inline-flex{display:inline-flex}.flex-1{flex:1 1 0%}[flex-1~="placeholder:"]::placeholder{flex:1 1 0%}.flex-shrink{flex-shrink:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-shrink-0\!{flex-shrink:0!important}.flex-basis-30px{flex-basis:30px}.flex-col,[flex-col=""]{flex-direction:column}.flex-col\!{flex-direction:column!important}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.flex-nowrap\!{flex-wrap:nowrap!important}.table,[table=""]{display:table}.file-table::file-selector-button{display:table}.border-collapse{border-collapse:collapse}.table-fixed{table-layout:fixed}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.\!animate-none{animation:none!important}.cursor-default{cursor:default}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.cursor-pointer\!{cursor:pointer!important}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-grab{cursor:grab}.select-none{-webkit-user-select:none;user-select:none}.resize,[resize=""]{resize:both}.list-disc{list-style-type:disc}.list-outside{list-style-position:outside}.list-none\!{list-style-type:none!important}[columns~="1"]{columns:1}.\!items-start{align-items:flex-start!important}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-end\!{align-items:flex-end!important}.items-center,[items-center=""]{align-items:center}.items-center\!{align-items:center!important}[items-center~="default:"]:default{align-items:center}[items-center~="checked:"]:checked{align-items:center}.items-baseline{align-items:baseline}.self-start{align-self:flex-start}.justify-start{justify-content:flex-start}.justify-end,[justify~=end]{justify-content:flex-end}.justify-end\!{justify-content:flex-end!important}.justify-center,[justify~=center]{justify-content:center}.justify-center\!{justify-content:center!important}.justify-between{justify-content:space-between}.justify-between\!,[justify-between\!=""]{justify-content:space-between!important}.justify-around\!{justify-content:space-around!important}.justify-evenly{justify-content:space-evenly}.justify-evenly\!{justify-content:space-evenly!important}.gap-\[14px\]{gap:14px}.gap-\[6px\],.gap-6px{gap:6px}.gap-0\!{gap:0!important}.gap-10px{gap:10px}.gap-12px{gap:12px}.gap-12px\!{gap:12px!important}.gap-16px{gap:16px}.gap-16px\!{gap:16px!important}.gap-2\.5{gap:.625rem}.gap-20px{gap:20px}.gap-24px{gap:24px}.gap-2px{gap:2px}.gap-32px{gap:32px}.gap-3px{gap:3px}.gap-4{gap:1rem}.gap-4px{gap:4px}.gap-5{gap:1.25rem}.gap-5px{gap:5px}.gap-6{gap:1.5rem}.gap-60px{gap:60px}.gap-8px{gap:8px}.gap-x-24px{column-gap:24px}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-y-hidden{overflow-y:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.break-all{word-break:break-all}.break-all\!{word-break:break-all!important}.b,.border,.border-1,.border-1px,[b=""],[border-1px=""]{border-width:1px}.border-\[0\.1rem\]{border-width:.1rem}.border-2px{border-width:2px}.b-b,.border-b-\[1px\],.border-b-1,.border-b-1px,[b-b~="1"]{border-bottom-width:1px}.b-l,[b-l~="1"]{border-left-width:1px}.border-l-\[3px\]{border-left-width:3px}.border-\[\#777\]{--un-border-opacity:1;border-color:rgb(119 119 119 / var(--un-border-opacity))}.border-\[\#e8e8e8\]{--un-border-opacity:1;border-color:rgb(232 232 232 / var(--un-border-opacity))}.border-\[\#EBEEF5\],.border-\#EBEEF5{--un-border-opacity:1;border-color:rgb(235 238 245 / var(--un-border-opacity))}.border-\[var\(--color-border\)\]{border-color:var(--color-border)}.border-\[var\(--site-global-ip-white-ips-border\)\]{border-color:var(--site-global-ip-white-ips-border)}.border-\#20a53a{--un-border-opacity:1;border-color:rgb(32 165 58 / var(--un-border-opacity))}.border-\#b8e29f{--un-border-opacity:1;border-color:rgb(184 226 159 / var(--un-border-opacity))}.border-\#ccc{--un-border-opacity:1;border-color:rgb(204 204 204 / var(--un-border-opacity))}.border-\#e3e4e5{--un-border-opacity:1;border-color:rgb(227 228 229 / var(--un-border-opacity))}.border-\#ececec{--un-border-opacity:1;border-color:rgb(236 236 236 / var(--un-border-opacity))}.border-\#f3adaa{--un-border-opacity:1;border-color:rgb(243 173 170 / var(--un-border-opacity))}.border-\#f4cf8f{--un-border-opacity:1;border-color:rgb(244 207 143 / var(--un-border-opacity))}.border-primary{border-color:var(--color-primary)}.border-white{--un-border-opacity:1;border-color:rgb(255 255 255 / var(--un-border-opacity))}.border-b-\#EBEEF5{--un-border-opacity:1;--un-border-bottom-opacity:var(--un-border-opacity);border-bottom-color:rgb(235 238 245 / var(--un-border-bottom-opacity))}.border-l-primary{border-left-color:var(--color-primary)}[b-b~="#aaa"]{--un-border-opacity:1;--un-border-bottom-opacity:var(--un-border-opacity);border-bottom-color:rgb(170 170 170 / var(--un-border-bottom-opacity))}[b-l~="#aaa"]{--un-border-opacity:1;--un-border-left-opacity:var(--un-border-opacity);border-left-color:rgb(170 170 170 / var(--un-border-left-opacity))}.rounded{border-radius:.25rem}.rounded-\[0\.2rem\]{border-radius:.2rem}.rounded-\[0\.4rem\]{border-radius:.4rem}.rounded-\[100\%\]{border-radius:100%}.rounded-\[2px\],.rounded-2px{border-radius:2px}.rounded-\[6px\]{border-radius:6px}.rounded-\[8px\],.rounded-8px{border-radius:8px}.rounded-1\/2,.rounded-50\%{border-radius:50%}.rounded-10px{border-radius:10px}.rounded-20px{border-radius:20px}.rounded-4px,[rounded-4px=""]{border-radius:4px}.rounded-5px{border-radius:5px}.rounded-full{border-radius:9999px}.rounded-b-4px{border-bottom-left-radius:4px;border-bottom-right-radius:4px}.rounded-bl-10px{border-bottom-left-radius:10px}.rounded-bl-full{border-bottom-left-radius:9999px}.rounded-tl-10px{border-top-left-radius:10px}.rounded-tl-full{border-top-left-radius:9999px}.rounded-tr-10px{border-top-right-radius:10px}.\!border-none{border-style:none!important}.border-none{border-style:none}.border-solid,[border-solid=""]{border-style:solid}.border-b-solid,[b-b~=solid]{border-bottom-style:solid}.border-l-solid,[b-l~=solid]{border-left-style:solid}.bg-\[\#1e1e1e\]{--un-bg-opacity:1;background-color:rgb(30 30 30 / var(--un-bg-opacity))}.bg-\[\#20a53a\],.bg-\#20a53a{--un-bg-opacity:1;background-color:rgb(32 165 58 / var(--un-bg-opacity))}.bg-\[\#262626\]{--un-bg-opacity:1;background-color:rgb(38 38 38 / var(--un-bg-opacity))}.bg-\[\#333\]{--un-bg-opacity:1;background-color:rgb(51 51 51 / var(--un-bg-opacity))}.bg-\[\#e8d544\]{--un-bg-opacity:1;background-color:rgb(232 213 68 / var(--un-bg-opacity))}.bg-\[\#ef0808\]{--un-bg-opacity:1;background-color:rgb(239 8 8 / var(--un-bg-opacity))}.bg-\[\#efefef\]{--un-bg-opacity:1;background-color:rgb(239 239 239 / var(--un-bg-opacity))}.bg-\[\#f0ad4e\]{--un-bg-opacity:1;background-color:rgb(240 173 78 / var(--un-bg-opacity))}.bg-\[\#F1F9F3\],.bg-\#F1F9F3{--un-bg-opacity:1;background-color:rgb(241 249 243 / var(--un-bg-opacity))}.bg-\[\#f6f6f6\]{--un-bg-opacity:1;background-color:rgb(246 246 246 / var(--un-bg-opacity))}.bg-\[\#fc6d26\]{--un-bg-opacity:1;background-color:rgb(252 109 38 / var(--un-bg-opacity))}.bg-\[\#ffff00\]{--un-bg-opacity:1;background-color:rgb(255 255 0 / var(--un-bg-opacity))}.bg-\[100\%\]{background-position:100%}.bg-\[var\(--app-third-install-tip-bg\)\]{background-color:var(--app-third-install-tip-bg)}.bg-\[var\(--data-base-del-input-bg\)\]{background-color:var(--data-base-del-input-bg)}.bg-\[var\(--domains-lets-ssl-apply-bg\)\]{background-color:var(--domains-lets-ssl-apply-bg)}.bg-\[var\(--home-overview-btn-color\)\]{background-color:var(--home-overview-btn-color)}.bg-\[var\(--home-risk-security-list-bg\)\]{background-color:var(--home-risk-security-list-bg)}.bg-\[var\(--home-risk-security-list-hover-bg\)\]{background-color:var(--home-risk-security-list-hover-bg)}.bg-\[var\(--home-update-latest-bg\)\]{background-color:var(--home-update-latest-bg)}.bg-\[var\(--security-server-safe-progress\)\]{background-color:var(--security-server-safe-progress)}.bg-\[var\(--setting-security-google-login-key-bg\)\]{background-color:var(--setting-security-google-login-key-bg)}.bg-\[var\(--site-global-ip-white-ips-bg\)\]{background-color:var(--site-global-ip-white-ips-bg)}.bg-\#000000{--un-bg-opacity:1;background-color:rgb(0 0 0 / var(--un-bg-opacity))}.bg-\#222222{--un-bg-opacity:1;background-color:rgb(34 34 34 / var(--un-bg-opacity))}.bg-\#282c34,.bg-\#282C34{--un-bg-opacity:1;background-color:rgb(40 44 52 / var(--un-bg-opacity))}.bg-\#333333{--un-bg-opacity:1;background-color:rgb(51 51 51 / var(--un-bg-opacity))}.bg-\#424251{--un-bg-opacity:1;background-color:rgb(66 66 81 / var(--un-bg-opacity))}.bg-\#4caf50{--un-bg-opacity:1;background-color:rgb(76 175 80 / var(--un-bg-opacity))}.bg-\#565656{--un-bg-opacity:1;background-color:rgb(86 86 86 / var(--un-bg-opacity))}.bg-\#7f7f7f{--un-bg-opacity:1;background-color:rgb(127 127 127 / var(--un-bg-opacity))}.bg-\#c7f7ce{--un-bg-opacity:1;background-color:rgb(199 247 206 / var(--un-bg-opacity))}.bg-\#c8e6c9{--un-bg-opacity:1;background-color:rgb(200 230 201 / var(--un-bg-opacity))}.bg-\#cccccc{--un-bg-opacity:1;background-color:rgb(204 204 204 / var(--un-bg-opacity))}.bg-\#cccccc00{--un-bg-opacity:0;background-color:rgb(204 204 204 / var(--un-bg-opacity))}.bg-\#e7f5e9{--un-bg-opacity:1;background-color:rgb(231 245 233 / var(--un-bg-opacity))}.bg-\#ececec{--un-bg-opacity:1;background-color:rgb(236 236 236 / var(--un-bg-opacity))}.bg-\#f5f5f5{--un-bg-opacity:1;background-color:rgb(245 245 245 / var(--un-bg-opacity))}.bg-\#f7cfce{--un-bg-opacity:1;background-color:rgb(247 207 206 / var(--un-bg-opacity))}.bg-\#f7e6ce{--un-bg-opacity:1;background-color:rgb(247 230 206 / var(--un-bg-opacity))}.bg-\#f7f7f7{--un-bg-opacity:1;background-color:rgb(247 247 247 / var(--un-bg-opacity))}.bg-\#ff0000{--un-bg-opacity:1;background-color:rgb(255 0 0 / var(--un-bg-opacity))}.bg-\#ff6000{--un-bg-opacity:1;background-color:rgb(255 96 0 / var(--un-bg-opacity))}.bg-\#ffaa2c{--un-bg-opacity:1;background-color:rgb(255 170 44 / var(--un-bg-opacity))}.bg-\#FFB04C{--un-bg-opacity:1;background-color:rgb(255 176 76 / var(--un-bg-opacity))}.bg-\#ffc107\!{--un-bg-opacity:1 !important;background-color:rgb(255 193 7 / var(--un-bg-opacity))!important}.bg-\#fff,.bg-white,.bg-\#ffffff{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.bg-black{--un-bg-opacity:1;background-color:rgb(0 0 0 / var(--un-bg-opacity))}.bg-error{background-color:var(--color-error)}.bg-gray-100{--un-bg-opacity:1;background-color:rgb(243 244 246 / var(--un-bg-opacity))}.bg-gray-500{--un-bg-opacity:1;background-color:rgb(107 114 128 / var(--un-bg-opacity))}.bg-gray-700,.dark .dark\:bg-gray-700{--un-bg-opacity:1;background-color:rgb(55 65 81 / var(--un-bg-opacity))}.bg-modal{background-color:var(--color-modal)}.bg-primary{background-color:var(--color-primary)}.bg-transparent{background-color:transparent}.hover\:bg-\#ececec:hover{--un-bg-opacity:1;background-color:rgb(236 236 236 / var(--un-bg-opacity))}.hover\:bg-\#F68900:hover{--un-bg-opacity:1;background-color:rgb(246 137 0 / var(--un-bg-opacity))}.hover\:bg-primary:hover{background-color:var(--color-primary)}[stroke-width~="10"]{stroke-width:10px}[stroke-width~="12"]{stroke-width:12px}[stroke-width~="4"]{stroke-width:4px}[stroke-width~="7"]{stroke-width:7px}.p-\[1\.6rem\]{padding:1.6rem}.p-\[12px\],.p-12px{padding:12px}.p-\[2rem\],.p-8{padding:2rem}.p-10{padding:2.5rem}.p-10px{padding:10px}.p-15px{padding:15px}.p-16px{padding:16px}.p-20px{padding:20px}.p-24px{padding:24px}.p-26px{padding:26px}.p-30px{padding:30px}.p-32px{padding:32px}.p-40px{padding:40px}.p-44px{padding:44px}.p-4px{padding:4px}.p-5{padding:1.25rem}.p-5px,[p-5px=""]{padding:5px}.p-6px{padding:6px}.p-8px,[p-8px=""]{padding:8px}.px,.px-4,[px=""]{padding-left:1rem;padding-right:1rem}.px-\[1\.6rem\]{padding-left:1.6rem;padding-right:1.6rem}.px-\[10px\],.px-10px{padding-left:10px;padding-right:10px}.px-\[3rem\]{padding-left:3rem;padding-right:3rem}.px-\[8px\],.px-8px{padding-left:8px;padding-right:8px}.px-0{padding-left:0;padding-right:0}.px-12px{padding-left:12px;padding-right:12px}.px-15px{padding-left:15px;padding-right:15px}.px-16px{padding-left:16px;padding-right:16px}.px-2{padding-left:.5rem;padding-right:.5rem}.px-20px,[px-20px=""]{padding-left:20px;padding-right:20px}.px-24px{padding-left:24px;padding-right:24px}.px-2px{padding-left:2px;padding-right:2px}.px-30px{padding-left:30px;padding-right:30px}.px-32px{padding-left:32px;padding-right:32px}.px-36px{padding-left:36px;padding-right:36px}.px-40px{padding-left:40px;padding-right:40px}.px-4px{padding-left:4px;padding-right:4px}.px-50px{padding-left:50px;padding-right:50px}.px-5px{padding-left:5px;padding-right:5px}.px-6px{padding-left:6px;padding-right:6px}.py,.py-\[1rem\]{padding-top:1rem;padding-bottom:1rem}.py-\[0\.6rem\]{padding-top:.6rem;padding-bottom:.6rem}.py-\[3\.2rem\]{padding-top:3.2rem;padding-bottom:3.2rem}.py-\[4px\],.py-4px{padding-top:4px;padding-bottom:4px}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-10px{padding-top:10px;padding-bottom:10px}.py-12px{padding-top:12px;padding-bottom:12px}.py-15px{padding-top:15px;padding-bottom:15px}.py-16px{padding-top:16px;padding-bottom:16px}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-20px{padding-top:20px;padding-bottom:20px}.py-24px{padding-top:24px;padding-bottom:24px}.py-26px{padding-top:26px;padding-bottom:26px}.py-2px{padding-top:2px;padding-bottom:2px}.py-30px{padding-top:30px;padding-bottom:30px}.py-32px{padding-top:32px;padding-bottom:32px}.py-3px{padding-top:3px;padding-bottom:3px}.py-40px{padding-top:40px;padding-bottom:40px}.py-52px{padding-top:52px;padding-bottom:52px}.py-5px{padding-top:5px;padding-bottom:5px}.py-6px{padding-top:6px;padding-bottom:6px}.py-8px{padding-top:8px;padding-bottom:8px}[px~="14"]{padding-left:3.5rem;padding-right:3.5rem}[px-8px~="default:"]:default{padding-left:8px;padding-right:8px}[px~="default:"]:default{padding-left:1rem;padding-right:1rem}.pb-0{padding-bottom:0}.pb-100px{padding-bottom:100px}.pb-10px{padding-bottom:10px}.pb-12px{padding-bottom:12px}.pb-16px{padding-bottom:16px}.pb-20px{padding-bottom:20px}.pb-24px{padding-bottom:24px}.pb-32px{padding-bottom:32px}.pb-40px{padding-bottom:40px}.pb-5px{padding-bottom:5px}.pb-8px{padding-bottom:8px}.pl{padding-left:1rem}.pl-\[12px\],.pl-12px{padding-left:12px}.pl-\[2\.5rem\]{padding-left:2.5rem}.pl-10\%{padding-left:10%}.pl-10px{padding-left:10px}.pl-15px{padding-left:15px}.pl-16px,[pl-16px=""]{padding-left:16px}.pl-20px{padding-left:20px}.pl-21px{padding-left:21px}.pl-22px{padding-left:22px}.pl-24px{padding-left:24px}.pl-28px{padding-left:28px}.pl-30px{padding-left:30px}.pl-36px{padding-left:36px}.pl-48px{padding-left:48px}.pl-4px{padding-left:4px}.pl-5px{padding-left:5px}.pl-8px{padding-left:8px}.pl-96px{padding-left:96px}.pr-\[0\.8rem\]{padding-right:.8rem}.pr-\[1\.5rem\]{padding-right:1.5rem}.pr-\[2rem\]{padding-right:2rem}.pr-10px{padding-right:10px}.pr-15px{padding-right:15px}.pr-16px{padding-right:16px}.pr-24px{padding-right:24px}.pr-36px{padding-right:36px}.pr-40px{padding-right:40px}.pr-56px{padding-right:56px}.pr-8\%{padding-right:8%}.pr-8px{padding-right:8px}.ps,[ps=""]{padding-inline-start:1rem}.ps1{padding-inline-start:.25rem}.pt{padding-top:1rem}.pt-0,.pt-0px{padding-top:0}.pt-0\!{padding-top:0!important}.pt-100px{padding-top:100px}.pt-120px{padding-top:120px}.pt-12px{padding-top:12px}.pt-140px{padding-top:140px}.pt-14px{padding-top:14px}.pt-15px{padding-top:15px}.pt-16px{padding-top:16px}.pt-20px{padding-top:20px}.pt-22px{padding-top:22px}.pt-24px,[pt-24px=""]{padding-top:24px}.pt-28px{padding-top:28px}.pt-32px{padding-top:32px}.pt-35px{padding-top:35px}.pt-40px{padding-top:40px}.pt-44px{padding-top:44px}.pt-4px{padding-top:4px}.pt-50px{padding-top:50px}.pt-52px{padding-top:52px}.pt-5px{padding-top:5px}.pt-68px{padding-top:68px}.pt-6px{padding-top:6px}.pt-8\%{padding-top:8%}.pt-80px{padding-top:80px}.pt-8px{padding-top:8px}[pb-12px~="default:"]:default{padding-bottom:12px}.pie{padding-inline-end:1rem}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.indent--15px{text-indent:-15px}.root-indent:root{text-indent:1.5rem}[root-indent~="0"]:root{text-indent:0}[root-indent~="26"]:root{text-indent:6.5rem}.text-nowrap{text-wrap:nowrap}.text-nowrap\!{text-wrap:nowrap!important}.align-middle{vertical-align:middle}.text-\[1\.2rem\]{font-size:1.2rem}.text-\[1\.4rem\]{font-size:1.4rem}.text-\[1\.5rem\]{font-size:1.5rem}.text-\[1\.6rem\]{font-size:1.6rem}.text-\[1\.8rem\]{font-size:1.8rem}.text-\[13px\],.text-13px{font-size:13px}.text-\[14px\],.text-14px,[text-14px=""]{font-size:14px}.text-\[18px\],.text-18px{font-size:18px}.text-\[2\.4rem\]{font-size:2.4rem}.text-\[20px\],.text-20px{font-size:20px}.text-\[2rem\]{font-size:2rem}.text-\[32px\],.text-32px{font-size:32px}.text-10px{font-size:10px}.text-12px{font-size:12px}.text-12px\!{font-size:12px!important}.text-15px{font-size:15px}.text-16{font-size:4rem}.text-16px{font-size:16px}.text-17px,[text-17px=""]{font-size:17px}.text-19px{font-size:19px}.text-21px{font-size:21px}.text-22px{font-size:22px}.text-24px{font-size:24px}.text-26px{font-size:26px}.text-28px{font-size:28px}.text-2xl{font-size:1.5rem;line-height:2rem}.text-30px{font-size:30px}.text-34px{font-size:34px}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-40px{font-size:40px}.text-44px{font-size:44px}.text-48px{font-size:48px}.text-4xl\!{font-size:2.25rem!important;line-height:2.5rem!important}.text-50px{font-size:50px}.text-7{font-size:1.75rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xl{font-size:1.25rem;line-height:1.75rem}[text-14px~="default:"]:default{font-size:14px}[font-size~="12"]{font-size:3rem}.\!text-\[\#20a53A\]{--un-text-opacity:1 !important;color:rgb(32 165 58 / var(--un-text-opacity))!important}.\!text-\[\#E8D544\]{--un-text-opacity:1 !important;color:rgb(232 213 68 / var(--un-text-opacity))!important}.\!text-\[\#EF0808\]{--un-text-opacity:1 !important;color:rgb(239 8 8 / var(--un-text-opacity))!important}.\!text-\[\#F0AD4E\]{--un-text-opacity:1 !important;color:rgb(240 173 78 / var(--un-text-opacity))!important}.color-gray,.dark .dark\:text-gray-400,.text-gray-400{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity))}.text-\[\'\ \+\ \(_unref\(scanDetect\)\.security_count\ \=\=\=\ 100\ \?\ \'\ \#20a53a\ \'\ \:\ \'\ \#fc6d26\ \'\)\ \+\ \'\]{color:" + ( unref(scanDetect).security count === 100 ? " #20a53a " : " #fc6d26 ") + "}.text-\[\'\ \+\ \(scanDetect\.security_count\ \=\=\=\ 100\ \?\ \'\ \#20a53a\ \'\ \:\ \'\ \#fc6d26\ \'\)\ \+\ \'\]{color:" + (scanDetect.security count === 100 ? " #20a53a " : " #fc6d26 ") + "}.text-\[\#2080f0\]{--un-text-opacity:1;color:rgb(32 128 240 / var(--un-text-opacity))}.color-\#20a53a,.text-\[\#20a53a\],.text-\#20a53a,[color~="#20a53a"]{--un-text-opacity:1;color:rgb(32 165 58 / var(--un-text-opacity))}.text-\[\#333\],.text-\#333{--un-text-opacity:1;color:rgb(51 51 51 / var(--un-text-opacity))}.text-\[\#36ad6a\]{--un-text-opacity:1;color:rgb(54 173 106 / var(--un-text-opacity))}.text-\[\#555\],.text-\#555{--un-text-opacity:1;color:rgb(85 85 85 / var(--un-text-opacity))}.text-\[\#565656\]{--un-text-opacity:1;color:rgb(86 86 86 / var(--un-text-opacity))}.text-\[\#909399\],[color~="#909399"]{--un-text-opacity:1;color:rgb(144 147 153 / var(--un-text-opacity))}.color-\#999,.text-\[\#999\],.text-\#999,[color~="#999"]{--un-text-opacity:1;color:rgb(153 153 153 / var(--un-text-opacity))}.text-\[\#a4a4a4\]{--un-text-opacity:1;color:rgb(164 164 164 / var(--un-text-opacity))}.text-\[\#cca700\]{--un-text-opacity:1;color:rgb(204 167 0 / var(--un-text-opacity))}.text-\[\#ccc\],.text-\#ccc{--un-text-opacity:1;color:rgb(204 204 204 / var(--un-text-opacity))}.text-\[\#d03050\]{--un-text-opacity:1;color:rgb(208 48 80 / var(--un-text-opacity))}.text-\[\#e0e0e0\]{--un-text-opacity:1;color:rgb(224 224 224 / var(--un-text-opacity))}.color-\#ef0808,.text-\[\#ef0808\],[color~="#ef0808"]{--un-text-opacity:1;color:rgb(239 8 8 / var(--un-text-opacity))}.text-\[\#f0a020\],[color~="#f0a020"]{--un-text-opacity:1;color:rgb(240 160 32 / var(--un-text-opacity))}.color-\#fc6d26,.text-\[\#fc6d26\],.text-\#fc6d26,[color~="#fc6d26"]{--un-text-opacity:1;color:rgb(252 109 38 / var(--un-text-opacity))}.color-\#fff,.color-white,.text-\[\#fff\],.text-\#fff,.text-white,[color~="#fff"],[color~=white]{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.text-\[red\]{color:red}.text-\[var\(--border-hover-focus-color\)\]{color:var(--border-hover-focus-color)}.text-\[var\(--button-text-base-color\)\]{color:var(--button-text-base-color)}.color-primary,.text-\[var\(--color-primary\)\],.text-primary,.text-primary\:hover{color:var(--color-primary)}.text-\[var\(--home-success-text-color\)\]{color:var(--home-success-text-color)}.text-\[var\(--setting-security-google-login-bind-text\)\]{color:var(--setting-security-google-login-bind-text)}.text-\[var\(--setting-security-google-login-bind-title\)\]{color:var(--setting-security-google-login-bind-title)}.text-\[var\(--setting-security-google-login-key-text\)\]{color:var(--setting-security-google-login-key-text)}.color-\#666,.text-\#666,[color~="#666"]{--un-text-opacity:1;color:rgb(102 102 102 / var(--un-text-opacity))}.text-\#666\!{--un-text-opacity:1 !important;color:rgb(102 102 102 / var(--un-text-opacity))!important}.text-\#69be3d{--un-text-opacity:1;color:rgb(105 190 61 / var(--un-text-opacity))}.text-\#6c7688{--un-text-opacity:1;color:rgb(108 118 136 / var(--un-text-opacity))}.text-\#777{--un-text-opacity:1;color:rgb(119 119 119 / var(--un-text-opacity))}.text-\#919191{--un-text-opacity:1;color:rgb(145 145 145 / var(--un-text-opacity))}.text-\#9DA1A6{--un-text-opacity:1;color:rgb(157 161 166 / var(--un-text-opacity))}.text-\#e6a23c{--un-text-opacity:1;color:rgb(230 162 60 / var(--un-text-opacity))}.text-\#ececec{--un-text-opacity:1;color:rgb(236 236 236 / var(--un-text-opacity))}.text-\#ef8581{--un-text-opacity:1;color:rgb(239 133 129 / var(--un-text-opacity))}.text-\#f7be56{--un-text-opacity:1;color:rgb(247 190 86 / var(--un-text-opacity))}.text-\#fcb040{--un-text-opacity:1;color:rgb(252 176 64 / var(--un-text-opacity))}.text-base,.text-title{color:var(--color-text-base)}.text-black,[color~="#000"]{--un-text-opacity:1;color:rgb(0 0 0 / var(--un-text-opacity))}.text-blue-500{--un-text-opacity:1;color:rgb(59 130 246 / var(--un-text-opacity))}.text-body{--un-text-opacity:1;color:rgb(58 66 77 / var(--un-text-opacity))}.color-default,.text-default{color:var(--color-text-4)}.color-desc,.text-desc{color:var(--color-text-desc)}.color-error,.text-error,[text-error=""]{color:var(--color-error)}.text-font1{color:var(--color-text-1)}.color-font2,.text-font2{color:var(--color-text-2)}.text-font3{color:var(--color-text-3)}.text-gray-500{--un-text-opacity:1;color:rgb(107 114 128 / var(--un-text-opacity))}.text-gray-600{--un-text-opacity:1;color:rgb(75 85 99 / var(--un-text-opacity))}.text-primary-hover{color:var(--primary-button-color-hover)}.text-pro{color:var(--color-pro)}.text-purple-500{--un-text-opacity:1;color:rgb(168 85 247 / var(--un-text-opacity))}.text-red-5{--un-text-opacity:1;color:rgb(239 68 68 / var(--un-text-opacity))}.color-warning,.text-warning{color:var(--color-warning)}.text-warning\!{color:var(--color-warning)!important}.text-weak{--un-text-opacity:1;color:rgb(196 198 201 / var(--un-text-opacity))}.text-yellow-500{--un-text-opacity:1;color:rgb(234 179 8 / var(--un-text-opacity))}[text~="$t("]{color:var(--t\()}.hover\:text-\#777777:hover{--un-text-opacity:1;color:rgb(119 119 119 / var(--un-text-opacity))}.hover\:text-primary:hover{color:var(--color-primary)}.color-\[var\(--home-update-bt-link-color\)\]{color:var(--home-update-bt-link-color)}.color-\#1d9534{--un-text-opacity:1;color:rgb(29 149 52 / var(--un-text-opacity))}.color-\#3c763d{--un-text-opacity:1;color:rgb(60 118 61 / var(--un-text-opacity))}.color-\#666666,[color~="#666666"]{--un-text-opacity:1;color:rgb(102 102 102 / var(--un-text-opacity))}.color-\#999999{--un-text-opacity:1;color:rgb(153 153 153 / var(--un-text-opacity))}.color-\#f23836{--un-text-opacity:1;color:rgb(242 56 54 / var(--un-text-opacity))}.color-\#fc7938{--un-text-opacity:1;color:rgb(252 121 56 / var(--un-text-opacity))}.color-\#feaa04{--un-text-opacity:1;color:rgb(254 170 4 / var(--un-text-opacity))}.color-\#ff3333{--un-text-opacity:1;color:rgb(255 51 51 / var(--un-text-opacity))}.color-\#ffb800{--un-text-opacity:1;color:rgb(255 184 0 / var(--un-text-opacity))}.color-red{--un-text-opacity:1;color:rgb(248 113 113 / var(--un-text-opacity))}[color~="#0a8c46"]{--un-text-opacity:1;color:rgb(10 140 70 / var(--un-text-opacity))}[color~="#4fb233"]{--un-text-opacity:1;color:rgb(79 178 51 / var(--un-text-opacity))}[color~="#67c23a"]{--un-text-opacity:1;color:rgb(103 194 58 / var(--un-text-opacity))}[color~="#A6ADB3"]{--un-text-opacity:1;color:rgb(166 173 179 / var(--un-text-opacity))}[color~="#bbb"]{--un-text-opacity:1;color:rgb(187 187 187 / var(--un-text-opacity))}[color~="#c2c2c2"]{--un-text-opacity:1;color:rgb(194 194 194 / var(--un-text-opacity))}[color~="#cbcbcb"]{--un-text-opacity:1;color:rgb(203 203 203 / var(--un-text-opacity))}[color~="#E65100"]{--un-text-opacity:1;color:rgb(230 81 0 / var(--un-text-opacity))}[color~="#E85445"]{--un-text-opacity:1;color:rgb(232 84 69 / var(--un-text-opacity))}[color~="#f08a00"]{--un-text-opacity:1;color:rgb(240 138 0 / var(--un-text-opacity))}[color~="#f2711c"]{--un-text-opacity:1;color:rgb(242 113 28 / var(--un-text-opacity))}[color~="#FDCA62"]{--un-text-opacity:1;color:rgb(253 202 98 / var(--un-text-opacity))}[color~="#ff8d00"]{--un-text-opacity:1;color:rgb(255 141 0 / var(--un-text-opacity))}[color~="#ffae45"]{--un-text-opacity:1;color:rgb(255 174 69 / var(--un-text-opacity))}.font-500{font-weight:500}.font-600{font-weight:600}.font-700,.font-bold,.fw-bold{font-weight:700}.font-bold\!{font-weight:700!important}.leading-\[0\.14rem\]{line-height:.14rem}.leading-\[1\.2\]{line-height:1.2}.leading-\[1\.4\]{line-height:1.4}.leading-\[1\.5\]{line-height:1.5}.leading-\[1\.8rem\]{line-height:1.8rem}.leading-\[1\],.leading-none{line-height:1}.leading-1{line-height:.25rem}.leading-14px{line-height:14px}.leading-15px{line-height:15px}.leading-16px{line-height:16px}.leading-17px{line-height:17px}.leading-18{line-height:4.5rem}.leading-18px{line-height:18px}.leading-20px{line-height:20px}.leading-22px,.lh-22px{line-height:22px}.leading-24px,.line-height-24px{line-height:24px}.leading-25px{line-height:25px}.leading-26px{line-height:26px}.leading-28px{line-height:28px}.leading-30px{line-height:30px}.leading-32px{line-height:32px}.leading-36px{line-height:36px}.leading-40px{line-height:40px}.leading-50px{line-height:50px}.font-inherit{font-family:inherit}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.line-through{text-decoration-line:line-through}.underline{text-decoration-line:underline}.tab,[tab=""]{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.tab-0{-moz-tab-size:0;-o-tab-size:0;tab-size:0}[tab~="$t("]{-moz-tab-size:var(--t\();-o-tab-size:var(--t\();tab-size:var(--t\()}[tab~="1"]{-moz-tab-size:1;-o-tab-size:1;tab-size:1}.text-shadow{--un-text-shadow:0 0 1px var(--un-text-shadow-color, rgb(0 0 0 / .2)),0 0 1px var(--un-text-shadow-color, rgb(1 0 5 / .1));text-shadow:var(--un-text-shadow)}.opacity-0{opacity:0}.opacity-50{opacity:.5}.group:hover .group-hover\:opacity-100{opacity:1}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.outline{outline-style:solid}.blur,[blur=""]{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}[blur~="required:"]:required{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.filter{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.backdrop-filter{-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors,[transition-colors=""]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease,.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.content-\[\'\'\]{content:""}.content-none{content:none}[placeholder~="$t("]::placeholder{color:var(--t\()}@media(min-width:1280px){[cols~="xl:4"]{grid-template-columns:repeat(4,minmax(0,1fr))}[cols~="xl:5"]{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(min-width:1536px){[cols~="2xl:5"]{grid-template-columns:repeat(5,minmax(0,1fr))}}:where(html){line-height:1.15;-webkit-text-size-adjust:100%;text-size-adjust:100%}:where(h1){font-size:2em;margin-block-end:.67em;margin-block-start:.67em}:where(dl,ol,ul) :where(dl,ol,ul){margin-block-end:0;margin-block-start:0}:where(hr){box-sizing:content-box;color:inherit;height:0}:where(abbr[title]){text-decoration:underline;text-decoration:underline dotted}:where(b,strong){font-weight:bolder}:where(code,kbd,pre,samp){font-family:monospace,monospace;font-size:1em}:where(small){font-size:80%}:where(table){border-color:currentColor;text-indent:0}:where(button,input,select){margin:0}:where(button){text-transform:none}:where(button,input:is([type=button i],[type=reset i],[type=submit i])){-webkit-appearance:button}:where(progress){vertical-align:baseline}:where(select){text-transform:none}:where(textarea){margin:0}:where(input[type=search i]){-webkit-appearance:textfield;outline-offset:-2px}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}:where(button,input:is([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focus-inner{border-style:none;padding:0}:where(button,input:is([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focusring{outline:1px dotted ButtonText}:where(:-moz-ui-invalid){box-shadow:none}:where(dialog){background-color:#fff;border:solid;color:#000;height:-moz-fit-content;height:fit-content;left:0;margin:auto;padding:1em;position:absolute;right:0;width:-moz-fit-content;width:fit-content}:where(dialog:not([open])){display:none}:where(summary){display:list-item}@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:500;src:url(/static/vite/fonts/outfit-latin-500-normal-DxGXGwrc.woff2) format("woff2"),url(/static/vite/fonts/outfit-all-500-normal-Bu4XywxB.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/static/vite/fonts/inter-Dx4kXJAl.woff2) format("woff2")}:root{--color-primary: #20a53a;--color-primary-1: #e4f4e7;--color-success: #20a53a;--color-warning: #ffae45;--color-error: #e73a33;--color-pro: #ff8f00;--primary-button-color-hover: #1d9534;--primary-button-color-pressed: #1a8a30;--primary-button-color-suppl: #1d9534;--color-text-base: #3a424d;--color-text-1: #131313;--color-text-2: #3a424d;--color-text-3: #999999;--color-text-4: #666666;--color-text-5: #333333;--color-text-desc: #999999;--color-bg-1: #f2f5f9;--color-bg-2: #ffffff;--color-bg-3: #f2f5f9;--color-bg-4: #f7f7f7;--layout-bg: url(/static/vite/images/bg-CBActqkk.png);--color-border: #dcdfe6;--border-hover-focus-color: var(--color-primary);--color-sider-text: #3a424d;--color-sider: #f2f5f999;--color-sider-active: #20a53a;--color-sider-hover: #20a53a1a;--color-sider-hover-text: #20a53a;--color-sider-active-text: #ffffff;--router-menu-active-text: var(--color-primary);--router-menu-active-bg: rgba(32, 165, 58, .063);--color-table-td: var(--color-bg-2);--color-table-th: #f6f6f6;--color-table-border: var(--color-border);--color-table-td-hover: #f0f9f7;--color-modal: #fff;--modal-header-bg: #f6f8f8;--modal-header-bottom-border: #eee;--modal-action-bg: var(--modal-header-bg);--modal-action-top-border: #edf1f2;---card-bg-color-1: #f9fafb;---card-border-error-color-1: #ef080830;--color-tabs: #f5f5f5;--dialog-color-text: #333;--dialog-color-title-text: #333;--color-message: #ffffff;--color-message-border: #d3d4d3;--popover-color: #ffffff;--input-text-color: #333;--input-focus-bg-color: var(--color-bg-2);--input-disabled-color: #f5f5f5;--input-group-label-color: #f5f5f5;--input-disabled-border-color: 1px solid #d9d9d9;--select-box-shadow: 0 0 8px 0 rgba(32, 165, 58, .4);--button-text-color: var(--color-text-2);--button-type-text-primary: var(--color-primary);--button-text-base-color: #fff;--button-gray-color: #eee;--radio-text-color: #333333;--radio-bg-color: var(--color-bg-2);--radio-active-dot-color: var(--color-primary);--radio-border-dot-color: inset 0 0 0 1px #d2ffdb;--check-color-checked: var(--color-primary);--check-border-checked: 1px solid var(--color-primary);--switch-active-color: var(--color-primary);--upload-dragger-color: #ffffff;--tooltip-color-text: #666;--alert-default-bg: #f0f0f1;--alert-warning-bg: #fdf6ec;--alert-error-bg: #fde6e6;--alert-success-text: #333;--alert-error-border: 1px solid #fde6e6;--tag-primary-text-color: var(--color-primary);--collapse-color: #f2f5f9;--collapse-header-bg: #fafafa;--time-picker-separator-color: #ccc;--tabs-panel-color-text: #333333;--tabs-border-color: #cacad9;--tabs-bg: -webkit-gradient(linear, 0% 0, 0% 100%, from(#f6f6f6), to(#ddd));--tabs-active-bg: #ffffff;--tabs-active-text-color: #333333;--bt-tabs-modal-bg: #f0f0f1;--bt-tabs-modal-active-bg: var(--color-modal);--bt-tabs-modal-cancel-btn-bg: #cbcbcb;--bt-tabs-modal-header-close: brightness(1);--bt-tabs-modal-color: #f9fbfc;--bt-tabs-modal-left-active-bg: #4caf50;--bt-tabs-modal-left-shadow: 2px 0 3px #e4e3e3;--confirm-calc-bg: #f0f0f0;--progress-rail-color: #f2f5f9;--pagination-item-active-border: 1px solid var(--color-primary);--pagination-item-active-color: var(--color-primary);--ace-editor-tip-color: #555;--pre-color-text: #333;--pre-bg-color: #f5f5f5;--modal-boxshadow: 0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03);--bt-input-path-hover-bg: #ececec;--flow-container-bg: #f3f4f6;--flow-config-title-color: #333333;--home-ad-bg-color: #fff;--home-ad-badge-bg-color: linear-gradient( 270deg, rgba(255, 255, 255, .2) 0%, rgba(255, 174, 69, .2) 100% );--home-overview-btn-color: #f2f5f9;--home-soft-bg-color: transparent;--home-soft-bg-hover-color: linear-gradient(244.14deg, #ffffff -1.23%, #e5f7ee 72.39%);--home-soft-border-color: #edf0f4;--home-soft-border-hover-color: var(--color-primary);--home-monitor-tabs-active-color: var(--color-primary);--home-risk-overview-circle-bg: #ffffff;--home-risk-security-list-hover-bg: #f5f7fa;--home-risk-security-list-spin-bg: #f2f2f2;--home-risk-security-list-collapse-item-color: #666;--home-risk-security-ignore-collapse-bg: #f8f8f8;--home-risk-file-info-title-color: #666;--home-risk-file-info-item-color: #333;--home-risk-server-list-bg: #f7f7f7;--home-risk-server-list-text: #555;--home-risk-server-list-hover: #efefef;--home-update-bg-url: url(/static/vite/images/update-bg-Baq2UViw.png);--home-update-title-color: #565656;--home-update-content-bg: #f6fbf7;--home-update-content-text: #666666;--home-update-detail-bg: #f7f7f7;--home-update-detail-date: #333;--home-pro-icon-color: #fff;--home-disk-color-warning: #ffefda;--home-disk-color-error: #fad8d6;--home-update-latest-bg: #f7fcf8;--home-update-latest-border: 1px solid #eeefec;--home-update-latest-text-color: #4f4f4f;--home-update-head-bg: #37bc51;--home-update-back-bg: linear-gradient(to top, rgb(255 255 255), #37bc51);--home-update-bt-link-color: var(--color-primary);--home-soft-install-bg-color: var(--color-table-td-hover);--home-soft-install-border-color: var(--color-primary);--home-success-bg-color: #37bc51;--home-success-text-color: #c7c7c7;--home-risk-security-list-bg: #fafcff;--home-risk-security-report-bg: #f8f9fa;--home-risk-security-report-bg1: rgba(255, 255, 255, .95);--site-config-ssl-label: #666;--site-config-business-tips: #dff0d8;--site-ace-editor-border: #ccc;--site-confirm-calc-box-bg: #f0f0f0;--site-detele-content-item-hover-bg: #fcfcfc;--site-task-progress-border: #e5e7eb;--site-multi-service-rollback-bg: #f0f0f1;--site-global-ip-white-ips-bg: #f8f9fa;--site-global-ip-white-ips-border: #e4e8eb;--data-base-del-input-bg: #e6e6e6;--docker-type-list-bg: #e6e6e6;--docker-type-list-text: #555555;--docker-type-list-active-bg: #e8f6eb;--docker-type-list-active-text: var(--color-primary);--docker-plugin-list-tag-gb: #f4f4f5;--docker-plugin-list-tag-tips-bg: #fff;--docker-plugin-list-border: #ffffff;--app-soft-sort-bg: #e6e6e6;--app-soft-sort-active-bg: var(--color-primary);--app-soft-sort-hover-color: #ffffff;--app-soft-used-hover: #f5f5f5;--app-soft-pro-tips-text: var(--color-primary);--app-soft-pro-tips-bg: var(--router-menu-active-bg);--app-third-security-tip-bg: #f2dede;--app-plugin-dns-bg: #f7fffa;--app-third-install-tip-bg: #f5f6fa;--pay-color: #ff8f00;--pay-color-bg: #fff5e1;--pay-color-border: #ecb566;--coupon-bg: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZIAAAHlCAMAAADoe4qxAAAATlBMVEVHcEz////////////////////////////////////////////////////////////////////////////////////z8/P8/Pz5+fn29vbA3pgqAAAAFXRSTlMAMOCg0M8QIECQ34+AcD/Ar79/sJ+9bwY+AAADsElEQVR42u3YyVLCUBBA0Y5AXgLOCuj//6jBocqBULrqxjp38dZUn3rpkIiptlltld5q0+K9jWlUafMm4oZUuikHkdEcKjVOe8QUatVcknrXxCYpt03MoFpIkAgJEiFBIiRIhERIkAgJEiFBIiRIhERIkAgJEiFBIiRCgkRIkAgJEiFBIiRCgkRIkAgJEiEREiRCgkRIkAgJEiEREiRCgkRIkAiJkCAREiRCgkRIkAiJkCAREiRCgkRIhASJkCAREiRCgkRIhASJkCAREiRCIiRIhASJkCAREiRCIiRIhASJkCAREiFBIiRIhASJkCAREiFBIiRIhASJkAgJEiFBIiRIhASJkAgJEiFBIiRIhASJESAREiRCgkRIkAiJkCAREiRCgkRIkAiJkCAREiRCgkRIhASJkCAREiRCgkRIhASJkCAREiRCIiRIhASJkCAREiRCIiRIhASJkCAREiFBIiRIhASJkCAREiFBIiRIhASJkAgJEiFBIiRIhASJkAgJEiFBIiRIhERIkAgJEiFBIiRIhERIkAgJEiFBIiRCgkRIkAgJEiFBIiRCgkRIkAgJEiEREiRCgkRIkAgJEiEREiRCgkRIkAgJEiEREiRCgkRIkAiJkCAREiRCgkRIkAiJkCARkv9FEt1wuTSHGi2vhi7eagvjyG/R4nPDhZHkdjHEt3pPr9Ru+vgZk0yROFbv2ZX31OqPksRgNFkNMdOD2SS9a82JRDOcnNosiQ2f9A9xXiQujSejqxMkFnyt5T7VGU9G3QkS34VTOiUSu912u9sdO/fb51+fT9P59IdzP53Pvz5nf+LZ/vRTIh2SjJ/eWe/ntN69BJd7CV4ZT0ar8EHlfD6o3BpOTgvL/VwWfL82mqzWvd1erbtjd4RIrsmPezJ4amU/u77uk+Zdq0CPH+/C3fW9Z1aV/4z3153P8fVCgkRIkAgJEiFBIiRCgkRIkAgJEiFBIiRCgkRIkAgJEiEREiRCgkRIkAgJEiEREiRCgkRIkAiJkCAREiRCgkRIkAiJkCAREiRCgkRIhASJkCAREiRCgkRIhASJkCAREiRCIiRIhASJkCAREiRCIiRIhASJkCAREiFBIiRIhASJkCAREiFBIiRIhASJkAgJEiFBIiRIhASJkAgJEiFBIiRIhERIkAgJEiFBIiRIhERIkAgJEiFBIiRIjACJkCAREiRCgkRI9I1kaQa1WsZoCLUaoxlCrVq4JtUuyZRtUmqTvOae1Lojh9roplS4IWM7aLwA+X5JA+6n7UAAAAAASUVORK5CYII=);--mailserver-overview-bg: #fafafa;--mailserver-domain-check-tips-bg: #f6f6f6;--mailserver-domain-check-box-bg: #edf7f2;--log-type-list-active-bg: #eef8f0;--log-type-list-hover-bg: #f5f7fa;--log-type-list-border: #e9e9e9;--security-brute-force-tips-bg: #f2dede;--security-server-safe-progress: #ebedf0;--domains-business-ssl-buy-bg: #f1f9f3;--domains-business-ssl-buy-bg-border: #ececec;--domains-business-ssl-count-disable: #efefef;--domains-lets-ssl-apply-bg: #f8f8f8;--domains-lets-ssl-apply-border: #dedede;--domains-lets-ssl-upload-border: #ccc;--domains-lets-ssl-upload-text: #e9f8ec;--setting-card-title-color: #666666;--setting-back-create-collapse-border: #f5f5f5;--setting-back-create-table-th-bg: var(--color-bg-2);--setting-back-create-collapse-title: #666;--setting-security-panel-port-tips: #f7f7f7;--setting-panel-bind-account-left-bg: linear-gradient(0deg, #d8efdb, #edf7ef);--setting-security-google-login-key-bg: #f8f8f8;--setting-security-google-login-key-text: #444;--setting-security-google-login-bind-title: #555;--setting-security-google-login-bind-text: #666;--install-box-bg: #fff5;--install-desc-bg: #fff;--install-box-text-color: #555;--file-choose-hover-color: #f5f7fa;--file-choose-hover-border-color: #e1e1e1;--file-card-hover-color: #f0f9f7;--terminal-head-bg: #f1f1f1;--terminal-head-item-close-hover: #f7f7f7;--terminal-head-item-hover: #dadada;--chart-tooltip-bg-color: #ffffff;--chart-tooltip-text-color: #333333;--chart-tooltip-header-bg-color: #f6f6f6;--waf-map-color: #e6e6e6;--waf-map-border-color: #ffffff;--waf-overview-text-color: #666666;--nps-box-hover-bg: var(--color-primary);--scrollbar-thumb-bg-color: #999;--scrollbar-track-bg-color: #ededed;--bt-error-modal-bg: #f5f5f5;--bt-error-modal-title-color: #333}:root[theme-mode=dark]{--color-primary: #20a53a;--color-success: #20a53a;--color-warning: #e67e22;--color-error: #f16575;--color-pro: #feaa04;--primary-button-color-hover: #267544;--primary-button-color-pressed: #20633a;--primary-button-color-suppl: #267544;--color-text-base: #c7c7c7;--color-text-1: #d8dce2;--color-text-2: #c7c7c7;--color-text-3: #919191;--color-text-4: #aaaaaa;--color-text-5: #e0e0e0;--color-text-desc: #777777;--color-bg-1: #18191c;--color-bg-2: #202020;--color-bg-3: #2e2e2e;--color-bg-4: #2e2e2e;--layout-bg: none;--color-border: #434343;--border-hover-focus-color: var(--color-text-base);--color-sider-text: #a1a1aa;--color-sider: #00000000;--color-sider-active: #353535;--color-sider-hover: #353535;--color-sider-hover-text: #ffffff;--color-sider-active-text: #ffffff;--router-menu-active-text: var(--color-text-base);--router-menu-active-bg: #353535;--color-table-td: var(--color-bg-2);--color-table-th: #232323;--color-table-border: var(--color-border);--color-table-td-hover: #353535;--color-modal: var(--color-bg-1);--modal-header-bg: var(--color-bg-2);--modal-header-bottom-border: var(--color-bg-3);--modal-action-bg: var(--modal-header-bg);--modal-action-top-border: var(--color-bg-3);---card-bg-color-1: #1a1a1a;---card-border-primary-color-1: #2a4d3a;---card-border-error-color-1: #ff646466;--color-tabs: #1e1e1e;--dialog-color-text: var(--color-text-base);--dialog-color-title-text: var(--color-text-base);--color-message: #48484e;--color-message-border: #48484e;--popover-color: var(--color-bg-1);--input-text-color: var(--color-text-base);--input-focus-bg-color: var(--color-bg-2);--input-disabled-color: var(--color-bg-1);--input-group-label-color: #333333;--input-disabled-border-color: 1px solid var(--color-border);--select-box-shadow: 0 0 8px 0 rgba(48, 53, 49, .4);--button-text-color: var(--color-text-base);--button-type-text-primary: var(--color-text-base);--button-text-base-color: #000000;--button-gray-color: #353535;--radio-text-color: var(--color-text-base);--radio-bg-color: var(--color-bg-2);--radio-active-dot-color: var(--color-text-base);--radio-border-dot-color: inset 0 0 0 1px var(--color-text-base);--check-color-checked: var(--color-text-base);--check-border-checked: 1px solid var(--color-text-base);--switch-active-color: var(--color-primary);--upload-dragger-color: var(--color-bg-2);--tooltip-color-text: var(--color-text-base);--alert-default-bg: var(--color-bg-1);--alert-warning-bg: #4a3c1a;--alert-error-bg: #4a1f1f;--alert-success-text: var(--color-text-base);--alert-error-border: 1px solid var(--color-border);--tag-primary-text-color: var(--color-text-base);--collapse-color: #222222;--collapse-header-bg: var(--color-bg-2);--time-picker-separator-color: #434343;--tabs-panel-color-text: var(--color-text-base);--tabs-border-color: #555555;--tabs-bg: #353535;--tabs-active-bg: var(--color-bg-1);--tabs-active-text-color: var(--color-text-base);--bt-tabs-modal-bg: var(--color-bg-2);--bt-tabs-modal-active-bg: #353535;--bt-tabs-modal-cancel-btn-bg: #353535;--bt-tabs-modal-header-close: brightness(.7) contrast(1.1);--bt-tabs-modal-color: var(--bt-tabs-modal-bg);--bt-tabs-modal-left-active-bg: #353535;--bt-tabs-modal-left-shadow: 2px 0 3px #444444;--confirm-calc-bg: var(--color-bg-1);--progress-rail-color: #444444;--pagination-item-active-border: 1px solid var(--color-border);--pagination-item-active-color: var(--color-text-base);--ace-editor-tip-color: var(--color-text-base);--pre-color-text: var(--color-text-base);--pre-bg-color: var(--color-bg-3);--modal-boxshadow: 0 0 3px 1px rgba(255, 255, 255, .4);--bt-input-path-hover-bg: #353535;--flow-container-bg: var(--color-bg-2);--flow-config-title-color: var(--color-text-base);--home-ad-bg-color: linear-gradient(90deg, #333333 0%, rgba(63, 57, 49, .5) 100%);--home-ad-badge-bg-color: linear-gradient( 270deg, rgba(51, 51, 51, .2) 0%, rgba(236, 188, 152, .2) 100% );--home-overview-btn-color: #181818;--home-soft-bg-color: var(--color-bg-2);--home-soft-bg-hover-color: linear-gradient( 244.14deg, var(--color-bg-2) -1.23%, var(--color-bg-1) 72.39% );--home-soft-border-color: #333333;--home-soft-border-hover-color: var(--color-text-base);--home-monitor-tabs-active-color: var(--color-text-base);--home-risk-overview-circle-bg: var(--color-bg-1);--home-risk-security-list-hover-bg: #333333;--home-risk-security-list-spin-bg: var(--color-bg-3);--home-risk-security-list-collapse-item-color: #999;--home-risk-security-ignore-collapse-bg: var(--color-bg-1);--home-risk-file-info-title-color: var(--color-text-base);--home-risk-file-info-item-color: var(--color-text-base);--home-risk-server-list-bg: var(--color-bg-2);--home-risk-server-list-text: var(--color-text-base);--home-risk-server-list-hover: var(--color-bg-3);--home-update-bg-url: url(/static/vite/images/update-bg-dark-C1Lq73Fm.png);--home-update-title-color: var(--color-text-base);--home-update-content-bg: var(--color-bg-2);--home-update-content-text: #999999;--home-update-detail-bg: var(--color-bg-2);--home-update-detail-date: var(--color-text-base);--home-pro-icon-color: var(--color-text-base);--home-disk-color-warning: #d4941e;--home-disk-color-error: #ec7063;--home-update-latest-bg: var(--color-bg-1);--home-update-latest-border: 1px solid var(--color-border);--home-update-latest-text-color: #999999;--home-update-head-bg: var(--color-bg-1);--home-update-back-bg: none;--home-update-bt-link-color: var(--color-primary);--home-soft-install-bg-color: var(--color-bg-2);--home-soft-install-border-color: var(--color-text-base);--home-success-bg-color: var(--color-bg-1);--home-success-text-color: #333333;--home-risk-security-list-bg: var(--color-bg-2);--home-risk-security-report-bg: var(--color-bg-2);--home-risk-security-report-bg1: var(--color-bg-2);--site-config-ssl-label: var(--color-text-base);--site-config-business-tips: var(--color-bg-2);--site-ace-editor-border: var(--color-border);--site-confirm-calc-box-bg: #333333;--site-detele-content-item-hover-bg: #333333;--site-task-progress-border: var(--color-border);--site-multi-service-rollback-bg: var(--color-bg-2);--site-global-ip-white-ips-bg: var(--color-bg-2);--site-global-ip-white-ips-border: var(--color-bg-2);--data-base-del-input-bg: #353535;--docker-type-list-bg: var(--color-bg-1);--docker-type-list-text: var(--color-text-base);--docker-type-list-active-bg: var(--color-bg-3);--docker-type-list-active-text: var(--color-text-base);--docker-plugin-list-tag-gb: var(--color-bg-1);--docker-plugin-list-tag-tips-bg: var(--color-bg-1);--docker-plugin-list-border: var(--color-border);--app-soft-sort-bg: var(--color-bg-1);--app-soft-sort-active-bg: var(--color-bg-3);--app-soft-sort-hover-color: var(--color-text-base);--app-soft-used-hover: var(--color-bg-3);--app-soft-pro-tips-text: var(--color-primary);--app-soft-pro-tips-bg: var(--router-menu-active-bg);--app-third-security-tip-bg: var(--color-bg-1);--app-plugin-dns-bg: var(--color-bg-3);--app-third-install-tip-bg: var(--color-bg-3);--pay-color: #feaa04;--pay-color-bg: #292929;--pay-color-border: #ecb665;--coupon-bg: url(/static/vite/images/bg_dark-DAtUMkDd.png);--mailserver-overview-bg: var(--color-bg-3);--mailserver-domain-check-tips-bg: var(--color-bg-2);--mailserver-domain-check-box-bg: var(--color-bg-2);--log-type-list-active-bg: var(--color-bg-3);--log-type-list-hover-bg: var(--color-bg-3);--log-type-list-border: var(--color-border);--security-brute-force-tips-bg: var(--color-bg-2);--security-server-safe-progress: var(--color-bg-1);--domains-business-ssl-buy-bg: var(--color-bg-2);--domains-business-ssl-buy-bg-border: #929292;--domains-business-ssl-count-disable: var(--color-bg-3);--domains-lets-ssl-apply-bg: var(--color-bg-2);--domains-lets-ssl-apply-border: var(--color-bg-3);--domains-lets-ssl-upload-border: var(--color-border);--domains-lets-ssl-upload-text: var(--color-bg-2);--setting-card-title-color: var(--color-text-base);--setting-back-create-collapse-border: var(--color-border);--setting-back-create-table-th-bg: #232323;--setting-back-create-collapse-title: var(--color-text-base);--setting-security-panel-port-tips: var(--color-bg-2);--setting-panel-bind-account-left-bg: linear-gradient(0deg, #404440, #202020);--setting-security-google-login-key-bg: var(--color-bg-2);--setting-security-google-login-key-text: var(--color-text-base);--setting-security-google-login-bind-title: var(--color-text-base);--setting-security-google-login-bind-text: var(--color-text-base);--install-box-bg: rgba(114, 114, 114, .333);--install-desc-bg: var(--color-bg-1);--install-box-text-color: var(--color-text-base);--file-choose-hover-color: #333;--file-choose-hover-border-color: #333;--file-card-hover-color: #333;--terminal-head-bg: #666666;--terminal-head-item-close-hover: #666666;--terminal-head-item-hover: #555555;--chart-tooltip-bg-color: #181818;--chart-tooltip-text-color: #c5c5c5;--chart-tooltip-header-bg-color: #121212;--waf-map-color: #353535;--waf-map-border-color: #aaa;--waf-overview-text-color: var(--color-text-3);--nps-box-hover-bg: #353535;--scrollbar-thumb-bg-color: rgba(255, 255, 255, .2);--scrollbar-track-bg-color: rgba(255, 255, 255, 0);--bt-error-modal-bg: var(--color-bg-2);--bt-error-modal-title-color: var(--color-text-base)}.modal-footer-btns{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}*,*:before{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;padding:0}body{line-height:normal;font-size:12px;font-family:PingFang SC,Inter,Microsoft YaHei,Segoe UI,sans-serif;font-weight:400;overflow:hidden}input[type=password]::-ms-reveal{display:none}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none}input[type=number]{-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}a{text-decoration:none;cursor:pointer}p,ul,li,pre{margin:0;padding:0}body,h1,h2,h3,h4,h5,h6,p,ul,ol,label,form{margin:0}ul,li{list-style:none}input{outline:none}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,Courier New,monospace}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h3,h3{font-size:24px}h4,h5,h6{font-size:1em}ul li::marker{display:block;height:100%}mark{padding:0;background:#ff0;color:inherit}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{border-radius:8px;box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:var(--scrollbar-thumb-bg-color)}::-webkit-scrollbar-track{box-shadow:inset 0 0 5px rgba(0,0,0,.2);border-radius:8px;background:var(--scrollbar-track-bg-color)}iframe::-webkit-scrollbar{width:8px;height:8px}iframe::-webkit-scrollbar-thumb{border-radius:8px;box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:var(--scrollbar-thumb-bg-color)}iframe::-webkit-scrollbar-track{box-shadow:inset 0 0 5px rgba(0,0,0,.2);border-radius:8px;background:var(--scrollbar-track-bg-color)}.leader-line{z-index:9999}@font-face{font-family:Glyphicons Halflings;src:url(/static/vite/fonts/glyphicons-halflings-regular-BUJKDMgK.eot);src:url(/static/vite/fonts/glyphicons-halflings-regular-BUJKDMgK.eot?#iefix) format("embedded-opentype"),url(/static/vite/fonts/glyphicons-halflings-regular-BriS8EBr.woff2) format("woff2"),url(/static/vite/fonts/glyphicons-halflings-regular-BKjkU69z.woff) format("woff"),url(/static/vite/fonts/glyphicons-halflings-regular-DrwTMapi.ttf) format("truetype"),url(/static/vite/images/glyphicons-halflings-regular-DSXsy3si.svg#glyphicons_halflingsregular) format("svg")}.glyphicon{position:relative;top:1px;display:inline-block;font-family:Glyphicons Halflings;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-vip:before{content:""}.glyphicon-ok:before{content:""}.n-layout .n-layout-scroll-container{overflow-x:auto}.n-dialog .n-dialog__title{position:relative}.n-form-item .n-form-item-label,.n-button{line-height:normal}.n-divider:not(.n-divider--vertical){margin:0}.n-ellipsis p{display:inline}.n-card{background-color:rgba(var(--n-color),var(--main-content-opacity));box-shadow:0 0 8px rgba(0,0,0,.06)}.n-card.n-card--bordered{border:none}.n-card .n-card-header{display:flex;align-items:center;min-height:48px;padding:0 20px;border-bottom:1px solid var(--color-border)}.n-card .n-card__content{padding:0}.n-alert .n-alert__icon{top:50%;transform:translateY(-50%)}.n-alert .n-alert-body{line-height:16px}.n-radio-group .n-radio{margin-right:16px}.n-radio-group .n-radio:last-of-type{margin-right:0}.n-radio-group .n-radio-button{font-weight:inherit}.n-data-table{font-family:PingFang SC,Microsoft YaHei,Segoe UI,sans-serif}.n-data-table .n-data-table-th{height:34px}.n-data-table .n-data-table-td{height:36px}.n-pagination .n-pagination-prefix{flex:1}.n-tabs.n-tabs--left>.n-tab-pane{padding:var(--n-pane-padding-top) var(--n-pane-padding-right) var(--n-pane-padding-bottom) var(--n-pane-padding-left)}.n-tabs.n-tabs--top>.n-tab-pane{padding:var(--n-pane-padding-top) var(--n-pane-padding-right) var(--n-pane-padding-bottom) var(--n-pane-padding-left)}.n-tabs.n-tabs--top .n-tabs-nav-scroll-content{flex-direction:row}.n-select .n-base-selection--multiple .n-tag{--n-height: 24px;--n-close-size: 14px;font-size:12px}.n-badge.n-badge--dot .n-badge-sup{width:6px;height:6px;min-width:6px;bottom:calc(100% - 3px)}.n-spin-container .n-spin-content{height:100%}.n-base-select-option .n-base-select-option__content{width:100%}.n-data-table .n-data-table-th.n-data-table-th--sortable.sort-center .n-data-table-th__title-wrapper{justify-content:center}.n-data-table .n-data-table-th.n-data-table-th--sortable .n-data-table-th__title-wrapper .n-data-table-th__title{flex:none;min-width:auto}:root{--el-font-size-base: 12px}.el-select .el-select__wrapper{gap:0;min-height:30px;font-size:12px;line-height:22px}.el-select .el-select__wrapper .el-select__selection{margin-right:4px}div.el-alert{--el-alert-padding: 12px;--el-alert-icon-large-size: 20px;--el-alert-description-font-size: 13px;border:1px solid #eee}div.el-alert .el-alert__icon.is-big{margin-right:8px}div.el-alert .el-alert__content{flex:1}.help-info-text{margin-top:15px}.help-info-text li{line-height:24px}#nprogress .bar{background-color:var(--color-primary)}#nprogress .spinner-icon{border-top-color:var(--color-primary);border-left-color:var(--color-primary)}.bt-message pre{display:block;padding:9.5px;margin:10px 0 0;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px;overflow:auto}.bt-error-modal pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:var(--bt-error-modal-title-color);word-break:break-all;word-wrap:break-word;background-color:var(--bt-error-modal-bg);border:1px solid #ccc;border-radius:4px;overflow:auto}.bt-tips-ul li{list-style:disc;margin-left:1.5em}.bt-ask-ico{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border:1px solid #fb7d00;border-radius:8px;color:#fb7d00;font-family:arial;font-size:11px;font-style:normal;text-align:center;cursor:help}.bt-ask-ico:hover{background-color:#fb7d00;color:#fff}button.reset{display:inline-flex;background:none;border:none;padding:0;cursor:pointer;outline:inherit}.bt-link,.btlink{color:var(--color-primary);cursor:pointer}.bt-link:hover,.btlink:hover{color:var(--primary-button-color-hover)}.bt-link.error,.btlink.error{color:#ef0808}.bt-link.error:hover,.btlink.error:hover{color:#c81e1e}.btn-xs{padding:4px 8px;height:auto}.code-toolbar{height:100%}.pre-code[class*=language-]{border:none;margin:0;font-size:14px}.echarts-tooltip{display:flex;flex-direction:column;background-color:var(--chart-tooltip-bg-color);color:var(--chart-tooltip-text-color);border-radius:10px}.echarts-tooltip .formatter-header{display:flex;align-items:center;height:40px;padding:0 16px;background-color:var(--chart-tooltip-header-bg-color);border-top-left-radius:4px;border-top-right-radius:4px}.echarts-tooltip .formatter-header img{margin-right:6px;height:24px;width:24px}.echarts-tooltip .formatter-body{padding:16px 20px}.echarts-tooltip .formatter-body .select-data{display:flex;align-items:center;margin-bottom:8px;font-size:14px}.echarts-tooltip .process-top5{border:1px solid var(--color-border);border-radius:8px}.echarts-tooltip .process-top5 table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px;border-radius:8px;overflow:hidden}.echarts-tooltip .process-top5 table thead{background-color:var(--chart-tooltip-header-bg-color)}.echarts-tooltip .process-top5 table thead th{height:24px;padding:5px 10px;border:0;border-bottom:1px solid var(--color-border);line-height:24px;text-align:left;color:var(--color-text-4)}.echarts-tooltip .process-top5 table tbody tr{height:22px;line-height:22px;text-align:left}.echarts-tooltip .process-top5 table tbody tr:last-child{border-bottom:none}.echarts-tooltip .process-top5 table tbody tr td{padding:4px 10px;border:0;white-space:normal}::view-transition-old(root),::view-transition-new(root){animation:none;mix-blend-mode:normal}::view-transition-old(root){z-index:1}::view-transition-new(root){z-index:9999999}.home-tooltip{min-width:220px;padding:12px;background-color:var(--chart-tooltip-bg-color);color:var(--chart-tooltip-text-color);border-radius:6px}.home-tooltip .time{display:flex;align-items:center;margin-bottom:10px}.home-tooltip .time .icon{width:20px;height:20px;margin-right:6px;background-image:url("data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.99963%207.99994H15.9996'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.9908%202.98676V3.98676'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.99084%202.98676V3.98676'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3crect%20x='2.75'%20y='4.75006'%20width='13.5'%20height='11.5'%20stroke='white'%20stroke-width='1.5'/%3e%3c/svg%3e")}.home-tooltip .home-tooltip-content{display:flex;flex-direction:column;gap:8px}.home-tooltip .home-tooltip-content .item{display:flex;align-items:center;white-space:pre}.home-tooltip .home-tooltip-content .item .icon{display:flex;justify-content:center;width:20px;margin-right:6px}.home-tooltip .home-tooltip-content .item .icon .circular{width:6px;height:6px;border-radius:50%}.home-tooltip .home-tooltip-content .item .text{line-height:20px;color:rgba(255,255,255,.8)} diff --git a/BTPanel/static/vite/css/index-C0yiexTP.css b/BTPanel/static/vite/css/index-C0yiexTP.css deleted file mode 100644 index 3874ee18..00000000 --- a/BTPanel/static/vite/css/index-C0yiexTP.css +++ /dev/null @@ -1 +0,0 @@ -.editor-title[data-v-319eda2d]{position:relative;display:flex;align-items:center;justify-content:space-between;height:42px;padding-left:16px;background-color:#fff;color:#333;box-shadow:0 1px 4px rgba(0,0,0,.1);z-index:1;cursor:move}.editor-title .title-left[data-v-319eda2d]{font-size:14px}.editor-title .title-right[data-v-319eda2d]{display:flex;align-items:center;height:100%}.editor-title .title-right .action-btn[data-v-319eda2d]{width:48px;height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s}.editor-title .title-right .action-btn div[data-v-319eda2d]{font-size:18px;color:#555}.editor-title .title-right .action-btn[data-v-319eda2d]:hover{background-color:#e5e5e5}.editor-title .title-right .action-btn.close-btn[data-v-319eda2d]:hover{background-color:var(--color-error)}.editor-title .title-right .action-btn.close-btn:hover div[data-v-319eda2d]{color:#fff}.toolbar-dialog[data-v-cd363012]{background-color:#444}.toolbar-dialog .toolbar-title[data-v-cd363012]{border-bottom:1px solid #666666;color:#9e9e9e;font-size:14px;padding:12px 16px}.toolbar-dialog .fontsize-content[data-v-cd363012]{padding:16px}.toolbar-dialog .fontsize-input[data-v-cd363012]{flex:1}.toolbar-dialog .fontsize-input[data-v-cd363012] .n-input{--n-color: transparent;--n-color-focus: transparent;--n-border: 1px solid #fff;--n-border-hover: 1px solid #fff;--n-border-active: 1px solid #fff;--n-border-focus: 1px solid #fff;--n-text-color: #fff;--n-caret-color: #fff}.line-ending-select[data-v-3b563599]{padding:16px}.line-ending-item[data-v-3b563599]{height:30px;display:flex;cursor:pointer;align-items:center;justify-content:space-between;font-size:14px;--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.line-ending-item[data-v-3b563599]:hover,.line-ending-item.active[data-v-3b563599]{background-color:#333}.toolbar-dialog[data-v-fd78c99a]{background-color:#444}.toolbar-dialog .toolbar-title[data-v-fd78c99a]{border-bottom:1px solid #666666;color:#9e9e9e;font-size:14px;padding:12px 16px}.toolbar-dialog[data-v-0f74f1f1]{background-color:#444}.toolbar-dialog .toolbar-title[data-v-0f74f1f1]{border-bottom:1px solid #666666;color:#9e9e9e;font-size:14px;padding:12px 16px}.setting-list[data-v-0f74f1f1]{padding:16px}.setting-item[data-v-0f74f1f1]{height:30px;display:flex;cursor:pointer;align-items:center;justify-content:space-between;font-size:14px;--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.setting-item[data-v-0f74f1f1]:hover{background-color:#333}.toolbar-list[data-v-ebc2c2ac]{display:flex;align-items:center;height:32px;min-height:32px;background-color:#565656;color:#fff}.tools-btn[data-v-ebc2c2ac]{position:relative;display:flex;align-items:center;justify-content:center;gap:4px;height:32px;padding:0 16px;font-size:13px;border-right:1px solid #4c4c4c;cursor:pointer}.tools-btn[data-v-ebc2c2ac]:hover{background-color:#2f2f2f}.breadcrumb-wrapper[data-v-54af520c]{display:flex;align-items:center;height:40px;padding:0 16px;background-color:#383838;font-size:14px;color:#fff}.action-wrapper[data-v-e49ff329]{display:flex;align-items:center;justify-content:space-between;width:100%;height:32px;min-height:32px;background-color:#565656;color:#fff}.action-wrapper.is-search-mode[data-v-e49ff329]{display:block;height:auto;min-height:auto}.action-btn[data-v-e49ff329]{position:relative;display:flex;align-items:center;justify-content:center;gap:4px;height:32px;padding:0 8px;font-size:12px;line-height:1.1;cursor:pointer;color:#fff;transition:all .2s}.action-btn[data-v-e49ff329]:hover{background-color:#2f2f2f}.action-btn i[data-v-e49ff329]{font-size:13px}.action-btn i.is-loading[data-v-e49ff329]{animation:rotate-e49ff329 1s linear infinite}@keyframes rotate-e49ff329{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.search-panel[data-v-e49ff329]{padding:12px;display:flex;flex-direction:column}.search-title[data-v-e49ff329]{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:13px;color:#aaa}.search-title .close-btn[data-v-e49ff329]{color:#f44336;cursor:pointer;display:flex;align-items:center;gap:4px}.search-title .close-btn[data-v-e49ff329]:hover{opacity:.8}.search-input-wrap[data-v-e49ff329]{margin-bottom:12px}.search-input-wrap[data-v-e49ff329] .n-input{background-color:#fff;border:none;border-radius:4px;--n-text-color: #333;--n-caret-color: #333;--n-border: 1px solid transparent;--n-border-hover: 1px solid transparent;--n-border-focus: 1px solid transparent;--n-padding-right: 0}.search-input-wrap[data-v-e49ff329] .n-input .n-input__suffix{color:#666;height:100%;margin-left:0;display:flex;align-items:center}.search-input-wrap[data-v-e49ff329] .n-input .search-icon-btn{padding:0 10px;border-left:1px solid #eee;height:28px;display:flex;align-items:center;justify-content:center;cursor:pointer}.search-input-wrap[data-v-e49ff329] .n-input .search-icon-btn:hover{background-color:#f5f5f5}.search-input-wrap[data-v-e49ff329] .n-input .search-icon-btn i{font-size:16px}.search-options .n-checkbox[data-v-e49ff329]{--n-text-color: #fff;--n-font-size: 13px}.tree-wrapper[data-v-8adcf4ca]{flex:1;overflow:hidden;background-color:#222}.n-tree[data-v-8adcf4ca]{padding:6px;height:100%;overflow:auto;background-color:transparent;--n-node-text-color: #cccccc;--n-node-color-hover: #37373D;--n-node-color-active: transparent;--n-arrow-color: #cccccc;--n-loading-color: #cccccc;--n-line-height: 1.2;--n-bezier: cubic-bezier(.4, 0, .2, 1);--n-font-size: 13px}.n-tree[data-v-8adcf4ca] .n-tree-node{border-radius:4px}.n-tree[data-v-8adcf4ca] .n-tree-node.n-tree-node--selected:hover{background-color:var(--n-node-color-hover)}.n-tree[data-v-8adcf4ca] .n-tree-node .tree-icon{display:inline-flex;align-items:center;font-size:16px;font-style:normal}.n-tree[data-v-8adcf4ca] .n-tree-node .n-tree-node-content__text{width:0;border-bottom:none}.n-tree[data-v-8adcf4ca] .n-tree-node .n-tree-node-content{padding:0}.n-tree[data-v-8adcf4ca] .n-tree-node .creating-node{display:flex;align-items:center;width:100%}.n-tree[data-v-8adcf4ca] .n-tree-node .creating-node .creating-input{flex:1;outline:none;border:1px solid #4CAF50;background-color:#fff;color:#000;padding:0 4px;height:22px;line-height:22px;border-radius:2px;width:120px}.n-tree[data-v-8adcf4ca] .n-tree-node .creating-node i{font-size:16px;cursor:pointer;margin-left:4px;font-weight:700}.sidebar-wrapper[data-v-4a4cb5df]{position:relative;width:260px;height:100%;transition:width .3s cubic-bezier(.25,.8,.25,1);flex-shrink:0}.sidebar-wrapper.is-collapsed[data-v-4a4cb5df]{width:0}.sidebar-wrapper.is-collapsed .sidebar-content[data-v-4a4cb5df]{display:none}.sidebar-wrapper.is-collapsed .toggle-btn[data-v-4a4cb5df]:after{margin-left:-7px;transform:rotate(45deg)}.sidebar-content[data-v-4a4cb5df]{display:flex;flex-direction:column;width:260px;height:100%;overflow:hidden;background-color:#2f2f2f}.toggle-btn[data-v-4a4cb5df]{position:absolute;top:40%;right:-14px;display:flex;align-items:center;justify-content:center;width:14px;height:50px;background-color:#222;border-radius:0 9999px 9999px 0;border:1px solid #525252;border-left:none;cursor:pointer;z-index:998;transition:all .2s}.toggle-btn[data-v-4a4cb5df]:hover{background-color:#888}.toggle-btn[data-v-4a4cb5df]:after{content:"";display:block;width:10px;height:10px;margin-left:2px;border:2px solid #fff;border-bottom:none;border-left:none;transform:rotate(-135deg)}.editor-header-wrapper[data-v-d03633e2]{height:40px;width:100%;overflow:hidden;--un-bg-opacity:1;background-color:rgb(0 0 0 / var(--un-bg-opacity))}.editor-header[data-v-d03633e2]{height:40px;display:flex;align-items:center}[data-v-d03633e2] .n-scrollbar{--n-scrollbar-color: #444;--n-scrollbar-color-hover: #444}.editor-tab[data-v-d03633e2]{position:relative;height:100%;max-width:300px;display:flex;flex-shrink:0;cursor:pointer;align-items:center;padding-left:10px;padding-right:36px;font-size:15px;--un-text-opacity:1;color:rgb(153 153 153 / var(--un-text-opacity));border-right:1px solid #222222}.editor-tab[data-v-d03633e2]:hover,.editor-tab.active[data-v-d03633e2]{--un-bg-opacity:1;background-color:rgb(34 34 34 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(236 236 236 / var(--un-text-opacity))}.editor-tab.active[data-v-d03633e2]:before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background-color:var(--color-primary)}.editor-tab .tab-close[data-v-d03633e2]{position:absolute;right:10px}.editor-tab .tab-dirty[data-v-d03633e2]{position:absolute;right:10px;top:50%;width:8px;height:8px;background-color:#f4c26b;border-radius:50%;transform:translateY(-50%)}.editor-tab .tree-icon[data-v-d03633e2]{display:inline-flex;align-items:center;font-size:16px;font-style:normal;margin-right:4px}.ace-editor[data-v-2b76de93] .ace_scrollbar::-webkit-scrollbar{width:14px;height:10px}.ace-editor[data-v-2b76de93] .ace_scrollbar::-webkit-scrollbar-thumb{box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#777;border-radius:0}.ace-editor[data-v-2b76de93] .ace_scrollbar::-webkit-scrollbar-track{box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#333;border-radius:0}.file-history[data-v-654b4dcd]{width:550px;padding:20px}.toolbar-dialog[data-v-34b64179]{background-color:#444}.toolbar-dialog .toolbar-title[data-v-34b64179]{border-bottom:1px solid #666666;color:#9e9e9e;font-size:14px;padding:12px 16px}.toolbar-dialog[data-v-9b2e7d57]{background-color:#444}.toolbar-dialog .toolbar-title[data-v-9b2e7d57]{border-bottom:1px solid #666666;color:#9e9e9e;font-size:14px;padding:12px 16px}.toolbar-dialog[data-v-60c1d667]{background-color:#444}.toolbar-dialog .toolbar-title[data-v-60c1d667]{border-bottom:1px solid #666666;color:#9e9e9e;font-size:14px;padding:12px 16px}.toolbar-dialog[data-v-aaadbccb]{background-color:#444}.toolbar-dialog .toolbar-title[data-v-aaadbccb]{border-bottom:1px solid #666666;color:#9e9e9e;font-size:14px;padding:12px 16px}.toolbar-dialog .goto-content[data-v-aaadbccb]{padding:16px}.toolbar-dialog .goto-input[data-v-aaadbccb]{width:100%}.toolbar-dialog .goto-input[data-v-aaadbccb] .n-input{--n-color: transparent;--n-color-focus: transparent;--n-border: 1px solid #fff;--n-border-hover: 1px solid #fff;--n-border-active: 1px solid #fff;--n-border-focus: 1px solid #fff;--n-text-color: #fff;--n-caret-color: #fff}.toolbar-dialog .goto-hint[data-v-aaadbccb]{margin-top:12px;color:#fff;font-size:14px}.editor-footer[data-v-cd20a3bc]{height:36px;display:flex;align-items:center;justify-content:space-between;gap:16px;--un-bg-opacity:1;background-color:rgb(86 86 86 / var(--un-bg-opacity));padding-left:16px;padding-right:16px;font-size:14px;--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.editor-footer .footer-path[data-v-cd20a3bc]{max-width:50%;min-width:0;flex:1}.editor-footer .footer-tools[data-v-cd20a3bc]{height:100%;display:flex;align-items:center}.editor-footer .footer-item[data-v-cd20a3bc]{height:100%;display:flex;cursor:pointer;align-items:center;padding-left:16px;padding-right:16px;border-right:1px solid #4C4C4C}.editor-footer .footer-item[data-v-cd20a3bc]:hover{background-color:#2f2f2f}.editor-footer .readonly-badge[data-v-cd20a3bc]{background-color:#eb7c20;border-right:none;cursor:default}.editor-footer .readonly-badge[data-v-cd20a3bc]:hover{background-color:#eb7c20}.editor-footer.diff-footer[data-v-cd20a3bc]{background-color:#eb7c20;color:#fff}.editor-footer.diff-footer .footer-tools .footer-item[data-v-cd20a3bc]{border-right:none;background-color:transparent}.editor-footer.diff-footer .footer-tools .footer-item[data-v-cd20a3bc]:hover{background-color:transparent}.editor-footer.diff-footer .diff-path[data-v-cd20a3bc]{max-width:80%}.acediff{--acediff-gutter-bg: #efefef;--acediff-gutter-border: #bcbcbc;--acediff-diff-bg: #d8f2ff;--acediff-diff-border: #a2d7f2;--acediff-diff-char-bg: #b8e2f5;--acediff-arrow-color: #000;--acediff-arrow-shadow: rgba(255, 255, 255, .7);--acediff-arrow-hover-left: #004ea0;--acediff-arrow-hover-right: #c98100}.acediff__wrap{display:flex;flex-direction:row;position:absolute;bottom:0;width:100%;top:0;left:0;height:100%;overflow:auto}.acediff__gutter{flex:0 0 60px;border-left:1px solid var(--acediff-gutter-border);border-right:1px solid var(--acediff-gutter-border);background-color:var(--acediff-gutter-bg);overflow:hidden}.acediff__gutter svg{background-color:var(--acediff-gutter-bg)}.acediff__left,.acediff__right{height:100%;flex:1}.acediff__diffLine{background-color:var(--acediff-diff-bg);border-top:1px solid var(--acediff-diff-border);border-bottom:1px solid var(--acediff-diff-border);position:absolute;z-index:4}.acediff__diffLine.targetOnly{height:0px!important;border-top:1px solid var(--acediff-diff-border);border-bottom:0px;position:absolute}.acediff__diffChar{background-color:var(--acediff-diff-char-bg);position:absolute;z-index:5}.acediff__diffGutter{background-color:var(--acediff-diff-bg)!important}.acediff__connector{fill:var(--acediff-diff-bg);stroke:var(--acediff-diff-border)}.acediff__copy--right,.acediff__copy--left{position:relative}.acediff__copy--right div,.acediff__copy--left div{color:var(--acediff-arrow-color);text-shadow:1px 1px var(--acediff-arrow-shadow);position:absolute;margin:2px 3px;cursor:pointer}.acediff__copy--right div:hover{color:var(--acediff-arrow-hover-left)}.acediff__copy--left{float:right}.acediff__copy--left div{right:0}.acediff__copy--left div:hover{color:var(--acediff-arrow-hover-right)}.acediff{--acediff-gutter-bg: #1a1a1a;--acediff-gutter-border: #333333;--acediff-diff-bg: #004d7a;--acediff-diff-border: #003554;--acediff-diff-char-bg: #006699;--acediff-arrow-color: #f8f8f8;--acediff-arrow-shadow: rgba(0, 0, 0, .7);--acediff-arrow-hover-left: #61a2e7;--acediff-arrow-hover-right: #f7b742}.ace-diff-container[data-v-4b286035]{height:100%;width:100%}.ace-diff-container[data-v-4b286035] .ace_scrollbar::-webkit-scrollbar{width:14px;height:10px}.ace-diff-container[data-v-4b286035] .ace_scrollbar::-webkit-scrollbar-thumb{box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#777;border-radius:0}.ace-diff-container[data-v-4b286035] .ace_scrollbar::-webkit-scrollbar-track{box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#333;border-radius:0}.ace-diff-container[data-v-4b286035] .acediff__gutter{background-color:#333}.ace-diff-container[data-v-4b286035] .acediff__left .ace_content{background-color:rgba(255,0,0,.05)}.ace-diff-container[data-v-4b286035] .acediff__right .ace_content{background-color:rgba(0,255,0,.05)}kbd[data-v-fccb0a32]{display:inline-block;border-width:1px;--un-border-opacity:1;border-color:rgb(119 119 119 / var(--un-border-opacity));border-radius:2px;border-style:solid;background-color:transparent;padding:4px 10px;font-size:13px;--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));line-height:1;font-family:inherit}.editor-container[data-v-23722196]{display:flex;flex-direction:column;height:100%;background-color:#292929;color:#fff}.editor-body[data-v-23722196]{flex:1;display:flex;overflow:hidden} diff --git a/BTPanel/static/vite/css/index-CEMpSfyf.css b/BTPanel/static/vite/css/index-CEMpSfyf.css new file mode 100644 index 00000000..9b047c6b --- /dev/null +++ b/BTPanel/static/vite/css/index-CEMpSfyf.css @@ -0,0 +1 @@ +.home-security-file .lastScan-time[data-v-547e1758],.home-security-file .info-title[data-v-547e1758]{color:var(--home-risk-file-info-title-color)}.infoList[data-v-547e1758]{margin-bottom:1.6rem;display:flex;border-radius:.4rem;padding:1.6rem;border:1px solid var(--color-border)}.item-list[data-v-547e1758]{border-right:1px solid var(--color-border)}.item-list[data-v-547e1758]:last-child{border-right:none}.loading-icon[data-v-1a12c317]{position:absolute;width:80px;height:80px;animation:spin 1s linear infinite;--un-bg-opacity:0;background-color:rgb(204 204 204 / var(--un-bg-opacity));border-radius:50%;border:2px solid #20a53a;clip-path:inset(0 20%)}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}[data-v-f7ca8e26] .n-collapse .n-collapse-item .n-collapse-item__header .n-collapse-item__header-main{justify-content:space-between!important}.scrollable[data-v-f7ca8e26]::-webkit-scrollbar{width:10px}.scrollable[data-v-f7ca8e26]::-webkit-scrollbar-track{background:#efefef}.scrollable[data-v-f7ca8e26]::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:10px}.scrollable[data-v-f7ca8e26]::-webkit-scrollbar-thumb:hover{background:#555}.ul-disc[data-v-324ec6f9]{margin-left:1rem}.ul-disc li[data-v-324ec6f9]{list-style-type:disc}.box-protect[data-v-324ec6f9]{align-items:center;border-width:1px;border-color:var(--color-primary);border-radius:9999px;border-style:solid;padding:4px 8px}.switch-box[data-v-b8387ef8]{border-radius:9999px;padding:.5rem 1rem;color:var(--color-text-desc);border:1px solid var(--color-border)}.switch-box-active[data-v-b8387ef8]{border-style:none;background-color:var(--color-primary);--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.card-item{position:relative;width:100%;overflow:hidden;border-radius:8px;background-color:var(--home-risk-security-list-bg);padding:10px}.card-item[data-v-4f1197f4]{z-index:1}.card-item.card-item[data-v-4f1197f4]:after{content:"";position:absolute;right:8px;bottom:8px;width:40px;height:40px;background-size:contain;background-repeat:no-repeat;opacity:.15;filter:brightness(.3) grayscale(1);pointer-events:none}.card-item.card-loophole[data-v-4f1197f4]:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAAA+CAYAAABzwahEAAAO00lEQVR4Ae3gAZAkSZIkSRKLqpm7R0REZmZmVlVVVVV3d3d3d/fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMdHd3d3dXV1VVVVVmZkZGRIS7m5kKz0xmV3d1d3dPz8zMzMxMovgvcvfdd792KeWtbL+27eOSHgzsArdK+mvbP3Pttdf+NP81EP/J7r777veOiK8CjvMv2wW+5tprr/1s/nMh/pPcfffdD5b0XZJem3+9W8dxfJubbrrpr/nPgfhPcMcdd7x013U/BTyYfwfbH3Pdddd9Nf/xEP/B7r777gdHxF8Bx/mP8TbXXnvtT/MfC/Ef6OlPf/rxjY2NvwIezH+c3cx8meuvv/5W/uMg/gPdd99932X7vXkhbP92RPw0sAscB17a9lsDx3kBbP/2dddd9zr8x0H8B7n77rsfHBFP5wX768x8m+uvv/5Wnsvdd9/94FLKZ9l+b16AzHyd66+//rf5j4H4D3Lfffd9le2P5vn76WuvvfZt+Bfce++9nw18Fs+H7d++7rrrXof/GIj/IPfee+/TgQfzvG49Ojp6mYc85CG7vAjuueee35L02jwfR0dHJx7ykIfs8u+H+A9w9913Pzgins7zkZnvc/311383L6K77777wRHxdJ4PSe99zTXXfA//foj/APfee+9bAz/F89q99tprT/CvdM899/yWpNfmuWTm51x//fWfzb8f4j/Afffd9162v5vnIum3r7nmmtfhX+nee+/9LuC9eV7ffe21174P/36I/wB33333Z0fEZ/G8/vraa699Gf6V7r777s+OiM/ief30tdde+zb8+yH+A9x3330fZfureV67mfky119//a28iO6+++4HR8RvAQ/muUj66muuueZj+PdDPMDdd9/92hHxVcBLA39t+3uuu+66r+ZfcN99972X7e/mBZD027ZvlfTgzHwwgKQHA7vArZJ2AWzfCrw1cJznIzM/5/rrr/9s/gX33nvvW9v+KkkPBv7a9vdcd911X82zIZ7p7rvvfnBE/BVwnAfIzNe5/vrrf5sX4r777nsv29/NfzJJ733NNdd8Dy/E3Xff/eCIeDrPJTNf5/rrr/9trkA803333fdRtr+a5/Xd11577fvwQtx9992fHRGfxX8ySe99zTXXfA8vxH333fdRtr+a5/Xd11577ftwBeKZ7rvvvo+y/dU8r7++9tprX4YX4t5773068GD+k0n66muuueZjeCHuu+++77L93jyv77722mvfhysQz3Tfffe9l+3v5nntHh0dPeQhD3nILs/HPffc89GSvor/IrY/5rrrrvtqXoD77rvvt2y/Ns8lMz/n+uuv/2yuQDzT3Xff/eCIeDrPR2Z+zvXXX//ZPJe77777vSPiu/iv9znXXnvtZ/Nc7r777veOiO/i+cjM97n++uu/mysQD3DPPff8lqTX5vkYx/Flbrrppr/mme69997PBj6L/xi3An8NvDZwnBfNd1977bXvwzPdfffdD46I3wIezPNxdHR04iEPecguVyAe4J577vloSV/FCyDpu4Hfzsz3lvTa/Ats/3ZE/DTw0rZfG3gwz4ek377mmmteB+Dee+99a0lvZfu9+Zd9jqSfbq29dUR8FHCc50PSd19zzTXvw7Mhnsu99977V8BL8+9za2a+z/XXX//bPNMdd9zx0l3X/RZwnOci6bevueaa1+EB7r777gdHxE8BL82/z62Z+TrXX3/9rTwb4rnccccdL9113W8Bx/k3kPTVh4eHn/OQhzxkl+dy7733/hTw1jwXSb99zTXXvA7Px7333vvZwGfxb2T7Y6677rqv5jkhno+77777tSPit/hXysz3uf7667+bF+Duu+/+7Ij4LJ6LpN++5pprXocX4I477njprut+CzjOv87nXHvttZ/N80K8AHffffd7R8R38SLKzPe5/vrrv5sX4u677/7siPgsnouk377mmmtehxfijjvueOmu634LOM6L5nOuvfbaz+b5Q7wQ991331fZ/mj+ZZ9z7bXXfjb/grvvvvuzI+KzeC6Sfvuaa655Hf4Fd99992tHxG/xL5D029dcc83r8IIhXoinP/3pxzc2Np4OHOcF++lrr732bXgR3H333Z8dEZ/Fc5H029dcc83r8CK47777vsr2R/NCZObrXH/99b/NC4b4F9xzzz2/Jem1eQEy8yHXX3/9rbwI7r777s+OiM/iuUj67WuuueZ1eBHde++9TwcezPO3e+21157ghUP8C+67776vsv3RPH+fc+211342L6K77777syPis3gukn77mmuueR1eRPfee+9bAz/F8yHpt6+55prX4YVD/Avuvffe7wLem+cjMx9y/fXX38qL6O677/7siPgsnouk377mmmteh3+Fe++99yJwnOdi+9brrrvuIbxwiH/Bfffd91u2X5vn9dPXXnvt2/CvcPfdd392RHwWz0XSb19zzTWvw7/C3Xff/dkR8Vk8r91rr732BC8c4l9w7733XgSO81wy832uv/767+Zf4e677/7siPgsnouk377mmmteh3+Fu++++8ER8XSej8x8yPXXX38rLxjihbjvvvte2vZf8Xxk5kOuv/76W/lXuPvuuz87Ij6L5yLpt6+55prX4V/p3nvvvQgc57lIeu9rrrnme3jBEMDdd9/92ZLeS9KDedHsXnvttSf4V7r77rs/OyI+i+ci6bevueaa1+Ff6Z577vktSa/Ni2ZX0k8fHh5+zEMe8pBd3XvvvZ8NfBb/CpJ++5prrnkd/pXuvvvuz46Iz+K5SPrta6655nX4V7r33nu/C3hv/hVs//Z11133Orr33nufDjyYfwVJv33NNde8Dv9Kd99992dHxGfxXCT99jXXXPM6/Cvdd999X2X7o/lXOjo6OqF77733InCcf52fvvbaa9+Gf6W77777syPis3gukn77mmuueR3+le6+++7PjojP4l9J0svovvvu+yrbH82/zl9fe+21L8O/0t133/3ZEfFZPBdJv33NNde8Dv9K995773cB782/zq3XXnvtQ/T0pz/9+Obm5lfZfm9eRLZvve666x7Cv9Ldd9/92RHxWTwXSb99zTXXvA7/Svfee+9PAW/Ni+6vM/Ntrr/++lvFMz396U8/Pp/PX5rn9OCI+C6ej6OjoxMPechDdvlXuPvuuz87Ij6L5yLpt6+55prX4V/p3nvvfTrwYJ6LpK9urf0Mz+nW66+//lauQLwQT3/6049vbGxc5Pl7m2uvvfan+Ve4++67PzsiPovnIum3r7nmmtfhX+Huu+9+cEQ8necjM1/n+uuv/21eMMS/4N577/0r4KV5LpK++pprrvkY/hXuvvvuz46Iz+K5SPrta6655nX4V7j77rvfOyK+i+fj2muvFS8c4l9w7733fhfw3jyv3aOjo4c85CEP2eVFdPfdd392RHwWz0XSb19zzTWvw7/Cvffe+1fAS/O8/vraa699GV44xL/gvvvu+yrbH83zkZmfc/311382L6K77777syPis3gukn77mmuueR1eRHffffdrR8Rv8XxI+u1rrrnmdXjhEP+Ce++996eAt+b52z06OnrIQx7ykF1eBHffffdnR8Rn8Vwk/fY111zzOryI7r333qcDD+b5sH3rdddd9xBeOMS/4N5773068GBeAElffc0113wML4K77777syPis3gukn77mmuueR1eBPfcc89HS/oqXojMfMj1119/Ky8Y4oW4++673zsivot/2dtce+21P82/4O677/7siPgsnouk377mmmteh3/B3Xff/eCI+CvgOC+EpO++5ppr3ocXDPEC3H333Q+OiL8CjvMv2x3H8XVuuummv+aFuPvuuz87Ij6L5yLpt6+55prX4YW4++67HxwRvwU8mBdBZr7P9ddf/908f4jn4+67735wRPwW8GBedLvjOL7OTTfd9Ne8AHffffdnR8Rn8Vwk/fY111zzOrwAd99994Mj4reAB/OvkJmvc/311/82zwvxXO6+++4HR8RvAQ/m38D2x1x33XVfzfNx7733/hTw1jwX27ded911D+H5uPvuu187In4KOM6/3u44jq9z0003/TXPCfFc7rvvvu+y/d78O0j67tba51x//fW38kx33333gyPit4AH83xk5utcf/31v80zPf3pTz++ubn5WbY/mn+fW4+Ojl7mIQ95yC7PhniAu++++70j4rt4AWz/dkT8NPBg2x/Nv0DSd7fWvicijgNfBTyYF+zWzPyciNjNzJeOiI8CjvPC7QI/DRwH3poXIDM/5/rrr/9sng3xAPfdd99v2X5tnr/Pufbaaz+bZ7r33nu/C3hv/vv8dWa+zfXXX38rwN133/3aEfFTwHGe1+611157gmdDPNPdd9/94Ih4Os+HpO++5ppr3ofncu+993428Fn81/vuo6Ojj3nIQx6yywPcfffd7x0R38XzkZmvc/311/82VyCe6e67737tiPgtno/MfMj1119/K8/HPffc89GSPgs4zn+Nz7n22ms/mxfg3nvvvQgc57lk5udcf/31n80ViGe67777Psr2V/O8/vraa699GV6Iu++++8ER8VvAg/lPYvu3bX/O9ddf/9u8EPfee+93Ae/N8/rua6+99n24AvFM991330fZ/mqe109fe+21b8OL4O67737viPgs4MH8x9nNzI+5/vrrv5sXwX333fdRtr+a5/Xd11577ftwBeKZ7r777teOiN/iuWTm+1x//fXfzb/Cvffe+9bAewFvzb+R7d+OiJ8+PDz8noc85CG7vIjuvvvu146I3+K5ZOb7XH/99d/NFYgHuPfeez8b+CyeSdJXX3PNNR/Dv9Hdd9/9YOC1SymvZfulgZfmBbB9q6S/lvTbrbWfuf7662/l3+jee+/9bOCzeCZJX33NNdd8DM+GeC5Pf/rTj29ubj748PDw1oc85CG7/Ae7++67HwxQSjneWtsFuP7662/lP9jTn/7045ubmw8+PDy89SEPecguz4l/BELP2hbmfebPAAAAAElFTkSuQmCC)}.card-item.card-file[data-v-4f1197f4]:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA7CAYAAAAn+enKAAAJX0lEQVR4Ae3gAZAkSZIkSRKLqpm7R0REZmZmVlVVVVV3d3d3d/fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMdHd3d3dXV1VVVVVmZkZGRIS7m5kKz0xmV3d1d3dPz8zMzMxMou69917zP8/nXHvttZ/Nfzx07733mv+ZPufaa6/9bP5joXvvvdf8z/U511577WfzHwfde++95n+2z7n22ms/m/8Y6N577zXP6Vbgt/mvcxx4a164z7n22ms/m38/dO+995rn9N3XXnvt+/Bf5O67737tiPgt/mWfc+211342/z7o3nvvNc/pu6+99tr34b/I3Xff/doR8Vu8aD7n2muv/Wz+7dC9995rntN3X3vtte/Df5G77777tSPit3jRfc6111772fzboHvvvdc8p+++9tpr34f/InffffdrR8Rv8a/zOddee+1n86+H7r33XvOcvvvaa699H/6L3H333a8dEb/Fv97nXHvttZ/Nvw669957zXP67muvvfZ9+C9y9913v3ZE/Bb/Np9z7bXXfjYvOnTvvfea5/Td11577fvwX+Tuu+9+7Yj4Lf6NMvN1rr/++t/mRYPuvfde85y++9prr30f/ovcfffdrx0Rv8W/UWa+zvXXX//bvGjQvffea57Td1977bXvw3+Ru++++7Uj4rf4N8rM17n++ut/mxcNuvfee81z+u5rr732ffgvcvfdd792RPwW/0aZ+TrXX3/9b/OiQffee695Tt997bXXvg//Re6+++4HA+/NiyAiXgp4ax4gM1/n+uuv/21eNOjee+81z+m7r7322vfhf6D77rvvvWx/Nw+Qma9z/fXX/zYvGnTvvfea5/Td11577fvwP9B99933Xra/mwfIzNe5/vrrf5sXDbr33nvNc/rua6+99n34H+i+++57L9vfzQNk5utcf/31v82LBt17773mOX33tdde+z78D3Tfffe9l+3v5gEy83Wuv/763+ZFg+69917znL772muvfR/+B7rvvvvey/Z38wCZ+TrXX3/9b/OiQffee695Tt997bXXvg//A913333vZfu7eYDMfJ3rr7/+t3nRoHvvvdc8p+++9tpr34f/ge677773sv3dPEBmvs7111//27xo0L333mue03dfe+2178P/QPfdd9972f5uHiAzX+f666//bV406N577zXP6buvvfba9+F/oPvuu++9bH83D5CZr3P99df/Ni8adO+995rn9N3XXnvt+/Df7L777vuq1trXXH/99bfyTPfdd9972f5uHiAzX+f666//bV406N577zXP6buvvfba9+G/0d133/3aEfFbkr77mmuueR+e6b777nsv29/NA2Tm61x//fW/zYsG3XvvveY5ffe11177Pvw3efrTn358Y2Pjr4AHA2TmQ66//vpbAe677773sv3dPEBmvs7111//27xo0L333mue03dfe+2178N/k7vvvvuzI+KzeLZbr7322ocA3Hfffe9l+7t5gMx8neuvv/63edGge++91zyn77722mvfh/8Gd99994Mj4q+A4zxAZr7P9ddf/9333Xffe9n+bh4gM1/n+uuv/21eNOjee+81z+m7r7322vfhv8E999zzW5Jem+d1a2a+TinltWx/Nw+Qma9z/fXX/zYvGnTvvfea5/Td11577fvwX+zuu+9+74j4Ll4ASd8N/Lbt7+YBMvN1rr/++t/mRYPuvfde85y++9prr30f/gs9/elPP76xsfF04DgvRGZ+TkR8Fg+Qma9z/fXX/zYvGnTvvfea5/Td11577fvwX+i+++77Ktsfzb9BZr7O9ddf/9u8aNC9995rntN3X3vtte/Df5G77777tSPit/g3yszXuf7663+bFw269957zXP67muvvfZ9+C9yzz33/Jak1+bfKDNf5/rrr/9tXjTo3nvvNc/pu6+99tr34b/APffc89GSvop/h8x8neuvv/63edGge++91zyn77722mvfh/9kT3/6049vbGw8HTjO8/puSb8NYPu7eSEy83Wuv/763+ZFg+69917znL772muvfR/+k917770/Bbw1z4ek977mmmu+B+Dee+81L0Rmvs7111//27xo0L333mue03dfe+2178N/orvvvvu1I+K3eAEkvfc111zzPQD33nuveSEy83Wuv/763+ZFg+69917znL772muvfR/+kzz96U8/vrGx8VfAg3kBJL33Nddc8z0A9957r3khMvN1rr/++t/mRYPuvfde85y++9prr30f/pPcfffdnx0Rn8ULIem9r7nmmu8BuPfee80L99PXXnvt2/CiQffee695Tt997bXXvg//Ce6+++4HR8RfAcd5ISS99zXXXPM9APfee6/5F2Tm+1x//fXfzb8M3XvvveY5ffe11177PvwnuOeee35L0mvzL5D03tdcc833ANx7773mX3ZrZr7O9ddffysvHLr33nvNc/rua6+99n34D3bvvfe+NfBTvAgkvfc111zzPQD33nuveRFI+uprrrnmY3jh0L333mue03dfe+2178N/oKc//enHNzY2/gp4MC8CSe99zTXXfA/Avffea15EmfmQ66+//lZeMHTvvfea5/Td11577fvwH+i+++77KtsfzYtI0ntfc8013wNw7733mhfdrddee+1DeMHQvffea57Td1977bXvw3+Qu++++7Uj4rf417lV0q0Atl+bf4XMfJ/rr7/+u3n+0L333mue03dfe+2178N/kHvuuee3JL02/3VuzczXuf7662/leaF7773XPKfvvvbaa9+H/wD33HPPR0v6Kv6LSfrua6655n14Xujee+81z+mnM/Nj+HcqpRy3/VvAcf4bSHqZa6655q95Tujee+81//Ps2t4FkPRg/m1uvfbaax/Cc0L33nuv+R9G0ntfc8013wNw7733mn+7z7n22ms/m2dD9957r/kfRtJ7X3PNNd8DcO+995p/u93MfJnrr7/+Vq5A9957r/mf56cz828AIuKz+HeQ9N3XXHPN+3AFuvvuuz+b/yCllGO2P5r/YTLzfa6//vrvBhD/ge67777vsv3e/M9z67XXXvsQAPEf5O67737tiPgt/uf6nGuvvfazxX+Qe++996+Al+Z/sMx8yD8CBkw6Pht+rRIAAAAASUVORK5CYII=)}.card-item.card-intrusion[data-v-4f1197f4]:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA2CAYAAACbZ/oUAAAMWUlEQVR4Ae3gAZAkSZIkSRKLqpm7R0REZmZmVlVVVVV3d3d3d/fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMdHd3d3dXV1VVVVVmZkZGRIS7m5kKz0xmV3d1d3dPz8zMzMxMoniAe++997OB9wIezL/BtddeK/6D3X333Z8dEZ/Fv4Ht356m6WNuuummv+YKxDPdfffdrx0Rv8W/w7XXXiv+g919992fHRGfxb/drddee+1DuALxTPfee+93Ae/Nv8O1114r/oPdfffdnx0Rn8W/Q2a+zvXXX//bAOKZ7r333u8C3pt/h2uvvVb8B7v77rs/OyI+i3+HzHyd66+//rcBxDPde++93wW8N/8O1157rfgPdvfdd392RHwW/w6Z+TrXX3/9bwOIZ7r33nu/C3hvntOtmfk9vIiuv/76z+Y/2N133/3awGvzIiilHLP90TyXzHyd66+//rcBxDPde++93wW8Nw8g6bevueaa1+F/ibvvvvvBEfF0nktmvs7111//2wDime69997vAt6bB5D029dcc83r8B/k6U9/+vH5fH68lHK8tbYLcP3119/Kf5C77777wRHxdJ5LZr7O9ddf/9sA4pnuvffe7wLemweQ9NvXXHPN6/BvdN9997008FrAW9t+aeA4z99fS/rt1trPrFarv37IQx6yywtx9913v/f111//3TyXu++++8ER8XSeS2a+zvXXX//bAOKZ7r333u8C3psHkPTb11xzzevwr3T33Xe/d0R8FPDS/OvtSvru1trXXH/99bfyXO64446X7rrut6699toTPJe77777wRHxdJ5LZr7O9ddf/9sA4pnuvffe7wLemweQ9NvXXHPN6/Aiuvvuu987Ij4LeDD/ATLzc1ar1Vc/5CEP2QV4+tOffnxjY+OvgAdn5kOuv/76W3mAu++++8ER8XSeS2a+zvXXX//bAOKZ7r333u8C3psHkPTb11xzzevwL3j6059+fHNz86tsvzf/wTLzda6//vrfBrjvvvu+yvZHA2Tm61x//fW/zQPcfffdD46Ip/NcMvN1rr/++t8GEM907733fhfw3jyApN++5pprXocX4u67735wRPwW8GD+4/30tdde+zYAd99992tHxG/xbG9z7bXX/jQPcPfddz84Ip7Oc8nM17n++ut/G0A807333vtdwHvzAJJ++5prrnkdXoC77777wRHxW8CD+Zf9dGb+TSnlYmvtbyLiuKRjwEtn5ktLem2e025mvsz1119/69Of/vTjGxsbfwU8mGeS9NHXXHPN1/AAd99994Mj4uk8l8x8neuvv/63AcQz3Xvvvd8FvDcPIOm3r7nmmtfh+Xj6059+fGNj46+AB/OC3ZqZn7NarX76IQ95yC4vxNOf/vTj8/n8oyPio4Djtj/muuuu+2qAe++996eAt+YBMvNzrr/++s/mAe6+++4HR8TTeS6Z+TrXX3/9bwOIZ7r33nu/C3hvHkDSb19zzTWvw3N5+tOffnxjY+O3gJfm+bvV9tdcd911X82/0tOf/vTjm5ubb3XNNdd8D8A999zz0ZK+iuf13ddee+378AB33333gyPi6TyXzHyd66+//rcBxDPdfffd7x0Rr8UD2P6b66677qt5Lvfdd99X2f5onr+/zsy3uf7662/l3+nuu+9+cET8FXCc53VrZr7P9ddf/9s809Of/vTjGxsbX8VzyczPuf76628FEP9Kd9xxx0t3XfdXPH9/fXR09DoPechDdvkPcO+99/4V8NK8ELZ/2/b7XH/99bfyL0P8K91zzz2/Jem1eV5/fXR09DoPechDdvkPcN99932V7Y/mRbObmV+zWq2++iEPecguLxjiX+Huu+9+7Yj4LZ6PzHyd66+//rf5D3D33Xe/dkT8Fv96t2bm+1x//fW/zfOH+Fe47777vsr2R/NcJH31Nddc8zH8B3j6059+fGNj46+AB/Ov99eSdqdp+pobbrjhp3leiH+Fe++99yJwnOe0e3R09JCHPOQhu/wHuPfee78LeG9esF3gVuDWzPybiPhrSbdec801f82/DPEiuu+++17a9l/xXCR99TXXXPMx/Ae4++673zsivosrdiX9NfDXwK2ttb8ppexec801f82/HeJFdN99932U7a/muWTm61x//fW/zX+Ae++9960zc3e1Wv31Qx7ykF3+4yGAu++++8GllLdqrZ3gBZD0WsCDeS62v4f/4UopTz88PPyZhzzkIbu6++673zsivov/+/762muvfRndc889T5f0YP4fyMz30b333nsROM7/A5I+Wvfdd9932X5v/h/IzNfR05/+9OObm5tfZfutgeP83/TXwOdce+21Py1eRHffffdnS3ovnovt17n++utv5b/A3Xff/dmS3ovnslwuX+YhD3nILv8yxIvo3nvvfWvgp3gukr76mmuu+Rj+C9x7770XgeM8p7++9tprX4YXDeJFdPfddz84Ip7O87r12muvfQj/ye6+++7Xjojf4rlI+uprrrnmY3jRIP4V7r333r8CXprnkpmvc/311/82/4nuvffenwLemueSma9z/fXX/zYvGsS/wt133/3eEfFdPK9br7322ofwn+SOO+546a7r/orntXvttdee4EWH+Fe4++67HxwRfwUc53l9zrXXXvvZ/Ad7+tOffnxjY+O3gJfmuWTm51x//fWfzYsO8a907733fjbwWTx/b3Pttdf+NP+B7r333u8C3pvndevR0dHLPOQhD9nlRYd4pqc//enH5/P5cZ7L9ddffyvP5d5773068GCe167tz7nuuuu+mn+npz/96cc3Nze/yvZ783xk5vtcf/31381zufvuux/Mc1mtVrsPechDdgHEM913332/Zfu1eQBJv33NNde8Ds/ljjvueOmu6/6KF0DSV19zzTUfw7/R3Xff/eCI+C3gwTx/333ttde+D8/l7rvvfu2I+C2eS2a+zvXXX//bAOKZ7rvvvt+y/do8gKTfvuaaa16H5+Pee+/9bOCzeAFs/7btz7n++ut/m3+Fe++997OBjwKO8/zdenR09DIPechDdnkud99992tHxG/xXDLzda6//vrfBhDPdN999/2W7dfmAST99jXXXPM6vAD33nvvZwOfxQth+7dt/04p5aevueaav+a5PP3pTz8+n89fupTyXrZfG3gwL9itmfk6119//a08H3ffffdrR8Rv8Vwy83Wuv/763wYQz3Tffff9lu3X5gEk/fY111zzOrwQ995772cDn8WLZtf2bkTcCpCZD5b0YF40t2bm61x//fW38gLcfffdrx0Rv8VzyczXuf76638bQDzTfffd91u2X5sHkPTb11xzzevwL7jnnns+WtJnAcf5T2D7t22/z/XXX38rL8Tdd9/92hHxWzyXzHyd66+//rcBxDPdd999v2X7tXkASb99zTXXvA4vgjvuuOOla61fJem1+Y/1Oddee+1n8yK4++67Xzsifovnkpmvc/311/82gHim++6777dsvzYPIOm3r7nmmtfhX+Huu+9+74j4LODB/DtI+u7W2udcf/31t/Iiuvvuu187In6L55KZr3P99df/NoB4pvvuu++3bL82DyDpt6+55prX4d/g7rvvfu2IeC/grYHjvGj+OjO/Bvjt66+//lb+le6+++7Xjojf4rlk5utcf/31vw0gnum+++77LduvzQNI+u1rrrnmdfh3uu+++14aeKnW2kMi4kE8k6Td1tol4LdXq9VfP+QhD9nl3+Huu+9+7Yj4LZ5LZr7O9ddf/9sA4pnuu+++37L92jyApN++5pprXof/Je6+++7Xjojf4rlk5utcf/31vw0gnum+++77LduvzQNI+u1rrrnmdfhf4u67737tiPgtnktmvs7111//2wDime67777fsv3a/Dtce+214j/Y3Xff/dkR8Vn8O2Tm61x//fW/DSCe6b777vst26/Nv8O1114r/oPdfffdnx0Rn8W/Q2a+zvXXX//bAOKZ7rvvvt+y/dr8O1x77bXiP9jdd9/92RHxWfw7ZObrXH/99b8NIJ7pvvvu+y7b782/w7XXXiv+g919992fHRGfxb9DZj7k+uuvvxVAPNPdd9/94Ij4LeDB/Btde+214j/Y3Xff/dkR8Vn8233Otdde+9lcwT8CmwRUqkDW82gAAAAASUVORK5CYII=)}.card-item.card-risk[data-v-4f1197f4]:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAA9CAYAAAAAq1FaAAAL8ElEQVR4Ae3gAZAkSZIkSRKLqpm7R0REZmZmVlVVVVV3d3d3d/fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMdHd3d3dXV1VVVVVmZkZGRIS7m5kKz0xmV3d1d3dPz8zMzMxMovhPdPfdd792RHwV8NLAT2fmx1x//fW38h8PAPGf5O67735wRDydB7D929ddd93r8B8PAPGf5N5773068GCei+2Pue66676a/1gAiP8E995772cDn8Xzt5uZL3P99dffyn8cAMR/sDvuuOOlu677K164W4+Ojl7mIQ95yC7/MQAQ/4HuvvvuB0fEbwEP5l9g+7evu+661+E/BgDiP8jdd9/94Ij4LeDBvOi++9prr30f/v0AEP8B7rjjjpfuuu63gOM8f7vAcZ6/vz46OnqdhzzkIbv82wEg/p3uueeej5b0WcBxnr/POTo6+uqNjY3fAl6a5+/WzHyd66+//lb+bQAQ/0Z33333gyV9l6TX5gX77muvvfZ9AO6+++4HR8RvAQ/mBfuca6+99rP51wNA/Cs9/elPPz6fzz86Ij4KOM4L9t3XXnvt+/AAd99994Mj4reAB/OC3ZqZn3P99dd/Ny86AMSL6O67737tUspb2X5v4Dgv3Hdfe+2178Pzcffddz84In4LeDAv3K2Svrq19jPXX3/9rbxwAIjn4+lPf/rxzc3NBwOvZfulgbcGjvMisP0x11133VfzQjz96U8/vrm5+Vm2P5oXzV9L+m3bvyPp1muuueaveU4ACODuu+/+bEnvJek4cJx/m1sz832uv/763+ZFdM8993y0pI8CHsy/ge1bI+LW1tr3XH/99d+te++997OBz+LfITM/Z7VaffVDHvKQXf6V7r777geXUj7L9nvzb0dmvo7uvffei8Bx/vV2M/NrgO++/vrrb+Xf6e67737tUspn2X5t/vWQ9NW69957zb+C7Vttf89qtfrqhzzkIbv8C+6+++7XLqW8VGvtZ66//vpb+RfcfffdDy6lfJbttwaO86IB+G7de++95oXbtf3XEfHXrbWfuf7663+bF9G99977XcB780y2P+a66677al5E995771tLei3gpW2/Ni8YwHfr3nvvNc/rr4HPycy/vv7662/l3+Dee+99a+CneE6711577Qn+je67776Xtv1g4LuA4zwbwHfr3nvvNc/ru6+99tr34d/hvvvu+y7b781zOTo6OvGQhzxkl3+He+655+mSHsyzAXy37r33XvO8vvvaa699H/6Nnv70px/f2Ni4yPO69dprr30I/0733HPP0yU9mGcD+G7de++95nl997XXXvs+/Bvdfffd7x0R38VzkfTR11xzzdfw73TPPfc8XdKDeTaA79a9995rntd3X3vtte/Dv9F99933W7Zfm+eSmQ+5/vrrb+Xf6Z577nm6pAfzbADfrXvvvdc8r+++9tpr34d/g7vvvvvBEfF0nouk377mmmteh/8A99xzz9MlPZhnA/hu3Xvvvea5SPrqa6655mP4N7j77rvfOyK+i+eSme9z/fXXfzf/Ae65556nS3owzwbw3br33nvNc8nMz7n++us/m3+De++996+Al+a5ZOZDrr/++lv5D3DPPfc8XdKDeTaA79a9995rnoukr77mmms+hn+lu++++8ER8XSei6Tfvuaaa16H/yD33HPP0yU9mGcD+G7de++9F4HjPKfvvvbaa9+Hf6X77rvvq2x/NM8lM9/n+uuv/27+g9x7770XgeM8G8B365577nm6pAfznH762muvfRv+le69996nAw/muUj66tbaJZ5LRPz1tdde+9P8K917773mOZGZn6N77733r4CX5gFs33rdddc9hH+Fu++++7Uj4rf417v16OjoZR7ykIfs8iK4++67HxwRT+c5kZmfo3vvvfengLfmAWzfet111z2Ef4X77rvvq2x/NP8Gmfk5119//WfzIrj77rtfOyJ+i+eEpPfWfffd91W2P5rncu2114p/hXvvvfe7gPfm30DSV19zzTUfw4vg7rvvfu2I+C2eE5n5Orrvvvs+yvZX81wy83Wuv/763+ZFdO+997418FP8G2Tm+1x//fXfzYvg7rvv/uyI+CyeE5n5EN19992vHRG/xXOR9NHXXHPN1/CvcO+993428FHAcV50u0dHRw95yEMessuL4L777vst26/Nc9q99tprT+jpT3/68Y2NjYs8F9u/fd11170O/wZ33333g3kukt5K0lfzXCR99zXXXPM+vIjuvfde81wk/fY111zzOgK45557ni7pwTyn3WuvvfYE/0HuvffenwLemueSma9z/fXX/zYvgrvvvvu1I+K3eC6Z+TnXX3/9Zwvgvvvu+yrbH81zyczXuf7663+bf6e77777wRHxdJ7Xrddee+1DeBHdd99932X7vXkumfk6119//W8L4O67737tiPgtntdPX3vttW/Dv9Pdd9/93hHxXTyXzHyf66+//rt5Ed17771PBx7Mc7r12muvfQiAeKZ77733InCc53J0dHTiIQ95yC7/Dvfee+/TgQfzXDLzIddff/2tvAjuvvvu946I7+K5SPrua6655n0AxDPdfffdnx0Rn8VzkfTV11xzzcfwb3T33Xe/dkT8Fs9F0ndfc80178OL6N5773068GCeS2a+zvXXX//bAOKZnv70px/f2Ni4yPORmQ+5/vrrb+Xf4L777vsu2+/N83qba6+99qd5Edx9993vHRHfxfO69dprr30IAIB4gPvuu++7bL83z8X2b1933XWvw7/S05/+9OMbGxsXeV63XnvttQ/hRXD33Xc/OCJ+C3gwzyUz3+f666//bgAA8QB33333gyPir4DjPBfbH3Pdddd9Nf8Kd99993tHxHfxXCR99TXXXPMxvAjuvffenwLemud167XXXvsQrgBAPJe77777syPis3g+xnF8mZtuuumveRHde++9PwW8Nc8lMx9y/fXX38q/4N577/1s4LN4PiS9zDXXXPPXXAGAeC5Pf/rTj29sbPwV8GCe162Z+TrXX3/9rbwI7r333u8C3psHkPTb11xzzevwL7j77rvfOyK+i+dD0ndfc80178OzASCej7vvvvu1I+K3eP5uzczXuf7662/lX3D33Xe/dkT8Fs/pba699tqf5oW499573xr4KZ6/W4+Ojl7mIQ95yC7PBoB4Ae65556PlvRVPH+3ZubrXH/99bfyL7j33nvfOjOPR8RbZebXXH/99b/NC3H33Xe/dkT8FHCc5yMzH3L99dffynMCQLwQ995773cB783zd2tmvs71119/K/9B7rnnno+W9FW8YJ9z7bXXfjbPCwDxL7jnnnt+S9Jr8/zt2v6c66677qv5d7r33ns/G/gsXrDPufbaaz+b5w8A8S94+tOffnxjY+O3gJfmBfuca6+99rP5N3j6059+fGNj47uAt+YF+5xrr732s3nBABAvgqc//enHNzY2fgt4aV4A279t+32uv/76W3kR3X333a8dEd8FPJgX7HOuvfbaz+aFA0C8iJ7+9Kcf39jY+C7grXnBbs3Mz7n++uu/m3/Bfffd91W2P5oX7nOuvfbaz+ZfBoD4V7r33ns/G/gsXghJ391a+5zrr7/+Vp7L3Xff/doR8VXAS/OC7QLvc+211/40LxoAxL/BPffc89GSvooX7tbM/Jzrr7/+uwGe/vSnH9/c3Pws2x/NC3drZr7O9ddffysvOgDEv9Hdd9/94Ij4LeDBvBC2f1vS1wBfBTyYF8L2by+Xy7d5yEMessu/DgDi3+HpT3/68c3Nza+y/d78++za/pzrrrvuq/m3AUD8B7j77rvfOyI+C3gw/0q2f9v2+1x//fW38m8HgPgPcvfddz+4lPJZtt+bF82u7c+57rrrvpp/PwDEf7B77733rYGvAh7MC2D7t22/z/XXX38r/zEAEP9J7r333s8GPovntJuZH3P99dd/N/+xABD/ie6+++4Hl1I+y/bxzPyb1Wr11Q95yEN2+Y8HwD8CA04iRRtNV6YAAAAASUVORK5CYII=)}.card-item.card-server[data-v-4f1197f4]:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAKKUlEQVR4Ae3gAZAkSZIkSRKLqpm7R0REZmZmVlVVVVV3d3d3d/fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMdHd3d3dXV1VVVVVmZkZGRIS7m5kKz0xmV3d1d3dPz8zMzMxMovj/BfFMT3/6049vbm6+V2vtBP+HlFIuttZ+5vrrr78VQAB33333gyPir4Dj/N+0e3R09JCHPOQhuwK47777Psr2V/N/mKSPvuaaa75GAHffffdnR8Rn8X9YZn7O9ddf/9kCuPvuuz87Ij6L/8My83Ouv/76zxbA3Xff/dkR8Vk8wLXXXiv+F7v33nvNA2Tm51x//fWfLYC77777syPis3iAa6+9Vvwvdu+995oHyMzPuf766z9bAHffffdnR8Rn8QDXXnut+F/s3nvvNQ+QmZ9z/fXXf7YA7r777s+OiM/iAa699lrxTPfee695gMz8nIj4LB4gMz/n+uuv/2z+h7j33nvNA2Tm51x//fWfLYC77777syPis3iAa6+9VjzTvffeax4gMz8nIj6LB8jMz7n++us/m/9g99xzz1dHxEvxovuYa6655q/vvfde8wCZ+TnXX3/9Zwvg7rvv/uyI+Cwe4NprrxXPdO+995oHyMzPiYjP4gEy83Ouv/76z+Y/2H333fdbtl+bF1Fmvs7111//2/fee695gMz8nOuvv/6zBXD33Xd/dkR8Fg9w7bXXime69957zQNk5udExGfxAJn5Oddff/1n8x/svvvu+y3br82LKDNf5/rrr//te++91zxAZn7O9ddf/9kCuPvuuz87Ij6LB7j22mvFM917773mATLzcyLis3iAzPyc66+//rP5D3bffff9lu3X5kWUma9z/fXX//a9995rHiAzP+f666//bAHcfffdnx0Rn8UDXHvtteKZ7r33XvMAmfk5EfFZPEBmfs7111//2fwHu+eee746Il6KF93HXHPNNX997733mgfIzM+5/vrrP1sAd99992dHxGfxANdee614pnvvvdc8QGZ+TkR8Fg+QmZ9z/fXXfzb/Q9x7773mATLzc66//vrPFsDdd9/92RHxWTzAtddeK/4Xu/fee80DZObnXH/99Z8tgLvvvvuzI+KzeIBrr71W/C927733mgfIzM+5/vrrP1sAd99992dHxGfxANdee634X+zee+81D5CZn3P99dd/tgDuvvvuz46Iz+L/sMz8nOuvv/6zBXD33Xd/dkR8Fv+HZebnXH/99Z8tgLvvvvuzI+Kz+D8sMz/n+uuv/2wB3H333Z8dEZ/F/2GZ+TnXX3/9Zwvg7rvv/uyI+CweIDM/h//FIuKzeIDM/Jzrr7/+swVw9913f3ZEfBYPcO2114r/xe69917zAJn5Oddff/1nC+Duu+/+7Ij4LB7g2muvFf+L3XvvveYBMvNzrr/++s8WwN133/3ZEfFZPMC1114r/he79957zQNk5udcf/31ny2Au++++7Mj4rN4gGuvvVY807333mseIDM/JyI+iwfIzM+5/vrrP5v/Ie69917zAJn5Oddff/1nC+Duu+/+7Ij4LB7g2muvFc907733mgfIzM+JiM/iATLzc66//vrP5j/YPffc89UR8VK86D7mmmuu+et7773XPEBmfs7111//2QK4++67PzsiPosHuPbaa8Uz3XvvveYBMvNzIuKzeIDM/Jzrr7/+s/kPdt999/2W7dfmRZSZr3P99df/9r333mseIDM/5/rrr/9sAdx9992fHRGfxQNce+214pnuvfde8wCZ+TkR8Vk8QGZ+zvXXX//Z/Ae77777fsv2a/MiyszXuf7663/73nvvNQ+QmZ9z/fXXf7YA7r777s+OiM/iAa699lrxTPfee695gMz8nIj4LB4gMz/n+uuv/2z+g913332/Zfu1eRFl5utcf/31v33vvfeaB8jMz7n++us/WwB33333Z0fEZ/EA1157rXime++91zxAZn5ORHwWD5CZn3P99dd/Nv/B7rnnnq+OiJfiRfcx11xzzV/fe++95gEy83Ouv/76zxbA3Xff/dkR8Vk8wLXXXiue6d577zUPkJmfExGfxQNk5udcf/31n83/EPfee695gMz8nOuvv/6zBXD33Xd/dkR8Fg9w7bXXiv/F7r33XvMAmfk5119//WcL4O677/7siPgsHuDaa68V/4vde++95gEy83Ouv/76zxbA3Xff/dkR8Vk8QGZ+Dv+LRcRn8QCZ+TnXX3/9Zwvg7rvv/uyI+Cz+D8vMz7n++us/WwB33333Z0fEZ/F/WGZ+zvXXX//ZArj77rs/OyI+i//DMvNzrr/++s8WwN133/3ZEfFZ/B+WmZ9z/fXXf7YA7r777s+OiM/iAa699lrxv9i9995rHiAzP+f666//bAHcfffdnx0Rn8UDXHvtteJ/sXvvvdc8QGZ+zvXXX//ZArj77rs/OyI+iwe49tprxf9i9957r3mAzPyc66+//rMFcPfdd392RHwWD3DttdeK/8Xuvfde8wCZ+TnXX3/9Zwvg7rvv/uyI+Cwe4NprrxXPdO+995oHyMzPiYjP4gEy83Ouv/76z+Z/iHvvvdc8QGZ+zvXXX//ZArj77rs/OyI+iwe49tprxTPde++95gEy83Mi4rN4gMz8nOuvv/6z+Q92zz33fHVEvBQvuo+55ppr/vree+81D5CZn3P99dd/tgDuvvvuz46Iz+IBrr32WvFM9957r3mAzPyciPgsHiAzP+f666//bP6D3Xfffb9l+7V5EWXm61x//fW/fe+995oHyMzPuf766z9bAHffffdnR8Rn8QDXXnuteKZ7773XPEBmfk5EfBYPkJmfc/311382/8Huu+++37L92ryIMvN1rr/++t++9957zQNk5udcf/31ny2Au++++7Mj4rN4gGuvvVY807333mseIDM/JyI+iwfIzM+5/vrrP5v/YPfdd99v2X5tXkSZ+TrXX3/9b997773mATLzc66//vrPFsDdd9/92RHxWTzAtddeK57p3nvvNQ+QmZ8TEZ/FA2Tm51x//fWfzX+we+6556sj4qV40X3MNddc89f33nuveYDM/Jzrr7/+swVw9913f3ZEfBYPcO2114pnuvfee80DZObnRMRn8QCZ+TnXX3/9Z/M/xL333mseIDM/5/rrr/9sAdx9992fHRGfxQNce+214n+xe++91zxAZn7O9ddf/9kCuPvuuz87Ij6LB7j22mvF/2L33nuveYDM/Jzrr7/+swVw9913f3ZEfBb/h2Xm51x//fWfLYC77777syPis/g/LDM/5/rrr/9sAdx3330fZfur+T9M0kdfc801XyOApz/96cc3NjaeDhzn/6bdzHyZ66+//lbxTHffffeDSylv1Vo7wf8hpZSLh4eH3/OQhzxkF0D8/8I/Ag3Z92qElp8/AAAAAElFTkSuQmCC)}.card-item.card-tamper[data-v-4f1197f4]:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAJj0lEQVR4Ae3gAZAkSZIkSRKLqpm7R0REZmZmVlVVVVV3d3d3d/fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMdHd3d3dXV1VVVVVmZkZGRIS7m5kKz0xmV3d1d3dPz8zMzMxMovj/BfH/C+L/F8T/L4j/XxDA05/+9OOLxeKnJL00cJz/W3Yl/fTh4eHHPOQhD9kVwL333vtTwFvzf5jt377uuuteRwD33nvvReA4/7ftXnvttScEcO+995r/B6699loJ4N577zUPkJnvA9zK/2IRcRz4KR7g2muvlQDuvfde8wCZ+ZDrr7/+Vv4Xu/vuux8cEU/nAa699loJ4N577zUPkJkPuf7662/lf7G77777wRHxdB7g2muvlQDuvfde8wCZ+ZDrr7/+Vp7pjjvueOmu6z4LIDM/5vrrr7/1vvvu+yrb7y3pu6+55pqPefrTn358c3Pzs4CXbq29z/XXX38rL8Add9zx0rXWr5L02vwHkfTbrbX3uf76628FuPvuux8cEU/nAa699loJ4N577zUPkJkPuf7662/lme69996nAw8GyMzPKaX8tO2/4pkkvUxr7aUj4rsAbN963XXXPYQX4N577/0r4KX5Dybpq6+55pqPAbj77rsfHBFP5wGuvfZaCeDee+81D5CZD7n++utv5Znuueeep0t6MICkr26tfU1EPJ1nyszXKaW8lO2v5opbr7322ofwAtxzzz1Pl/Rg/oNJ+u5rrrnmfQDuvvvuB0fE03mAa6+9Vnr6059+fGNj4yLP6Q2uvfbaX+eZ7rjjjpfuuu67bO/afp/rr7/+1nvvvfezgY8Cfvraa699n6c//enHNzc3v8r28XEcP+emm276a16Ae+6556MlfRZwnP84t2bm61x//fW3Atx7771vDfwUD5CZD9Hdd9/92hHxWzxAZn7O9ddf/9n8J7v77rsfzH+Q66+//lYe4O677/7siPgsHiAzX0d33333a0fEb/EAmfk5119//Wfzv9jdd9/92RHxWTxAZr6O7r777teOiN/iASR9d2vte/hfrJTyXrbfmwfIzNfR3Xff/doR8Vv8P5CZr6O77777tSPit/h/IDNfR3ffffdrR8Rv8f9AZr6O7r777teOiN/i/4HMfB3dfffdrx0Rv8UDZObnXH/99Z/N/2J33333Z0fEZ/EAmfk6uvvuu187In6LB8jMz7n++us/m//F7r777s+OiM/iATLzdXT33Xe/dkT8Fg+QmZ9z/fXXfzb/i919992fHRGfxQNk5uvo7rvvfu2I+C0eIDM/5/rrr/9s/he7++67PzsiPosHyMzX0d133/3aEfFbPEBmfs7111//2fwvdvfdd392RHwWD5CZr6O77777tSPit3iAzPyc66+//rP5X+zuu+/+7Ij4LB4gM19Hd99992tHxG/xAJn5Oddff/1n8z/M3Xff/eBSymcBD7b90lxxq6Tfbq19zfXXX38rz3T33Xe/dkT8Fg9wdHR0QnffffdrR8Rv8QCZ+TnXX3/9Z/M/xNOf/vTjm5ubX2X7vXkhbP/2crl8m4c85CG7APfcc89HS/osYDczP+f666//bt19992vHRG/xQNk5udcf/31n83/AE9/+tOPb2xs/Bbw0rxo/vro6Oh1HvKQh+zyvNDdd9/92hHxWzxAZn7O9ddf/9n8D3DPPff8lqTX5l9B0ndfc80178PzQnffffdrR8Rv8QCZ+TnXX3/9Z/Pf7O67737tiPgtnouk726tfU9EHJf0WrY/muci6WWuueaav+Y5obvvvvu1I+K3eIDM/Jzrr7/+s/lvdu+9934X8N48QGvtbW644Yaf5gHuueeej5b0VTynn7722mvfhueE7r777teOiN/iATLzc66//vrP5r/ZPffc83RJD+bZfvraa699G56Pe++996eAt+bZ/vraa699GZ4Tuvvuu187In6LB8jMz7n++us/m/9m9957r3mAzPyc66+//rN5Pu6+++7PjojP4gGuvfZa8ZzQ3Xff/doR8Vs8QGZ+zvXXX//Z/De5++673zsiXgt4b57TXwN/zfP30sBL85y+GyAzf+f666//bgDdfffdrx0Rv8UDZObnXH/99Z/Nf4P77rvvt2y/Nv/BJH31Nddc8zG6++67XzsifosHyMzPuf766z+b/2L33XffS9v+K/6TZOZDdPfdd792RPwWD5CZn3P99dd/Nv/F7r777s+OiM/iP0lmvo7uvvvu146I3+IBMvNzrr/++s/mv9jdd9/92RHxWfwnyczX0d133/3aEfFbPEBmfs7111//2fwXu/vuuz87Ij6LB5D01a21r+FfqZTyUbY/mgfIzNfR3Xff/doR8Vs8QGZ+zvXXX//Z/Be7++67PzsiPosHyMzPuf766z+bf6W77777syPis3iAzHwd3X333a8dEb/FA2Tm51x//fWfzX+xu++++7Mj4rN4gMz8nOuvv/6z+Ve6++67PzsiPosHyMzX0d133/3aEfFbPEBmfs7111//2fwXu/vuuz87Ij6LB8jMz7n++us/m3+lu++++7Mj4rN4gMx8Hd19992vHRG/xQNk5udcf/31n81/sbvvvvuzI+KzeIDM/Jzrr7/+s/lXuvvuuz87Ij6LB8jM19Hdd9/92hHxWzxAZn7O9ddf/9n8F7v77rs/OyI+iwfIzM+5/vrrP5t/pbvvvvuzI+KzeIDMfB3dfffdrx0Rv8UDZObnXH/99Z/Nf7G77777syPis3iAzPyc66+//rP5V7r77rs/OyI+iwfIzNfR3Xff/doR8Vs8QGZ+zvXXX//Z/Be7++67PzsiPosHyMzPuf766z+bf6W77777syPis3iAzHwd3X333a8dEb/FA0j67dba7/Cf79brr7/+u3mmu++++7Mj4rN4AEm/3Vr7Hf6VSimvZfu1eYDMfB3dfffdrx0Rv8V/E0nffc0117wPwN133/3ZEfFZ/CfJzNfR3Xff/doR8Vv8N5L0Mtdcc81f33333e8dEd/FfxJJL6O77777wRHxdP4bHR0dnXjIQx6ye/fddz84Ip7Of5Kjo6MTArj77rvfOyK+i/8en3Pttdd+Ns90zz33fLSkr+I/WGa+z/XXX//d4pme/vSnH5/P5y/Nf61br7/++lt5Lk9/+tOPz+fztwYezL/frcBvX3/99bcCiP9fEP+/IP5/Qfz/wj8CrOuQSf5jorgAAAAASUVORK5CYII=)}@keyframes rotate-f398177b{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.absolute-center[data-v-f398177b]{position:absolute;top:0;left:0;bottom:0;right:0;margin:auto}.scan-icon-img[data-v-f398177b]{position:absolute;left:0;right:0;top:0;bottom:0;z-index:99;margin:auto;width:58px;height:67px;background-position:100%}.icon-img-safe[data-v-f398177b]{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTguMDAwMDAwIiBoZWlnaHQ9IjY3LjAwMDAwMCIgdmlld0JveD0iMCAwIDU4IDY3IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KCTxkZXNjPgoJCQlDcmVhdGVkIHdpdGggUGl4c28uCgk8L2Rlc2M+Cgk8ZGVmcz4KCQk8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50X2xpbmVhcl8zN182NDhfMCIgeDE9IjI5LjAwMDAwMCIgeTE9IjAuMDAwMDAwIiB4Mj0iMjkuMDAwMDAwIiB5Mj0iNjcuMDAwMDAwIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CgkJCTxzdG9wIHN0b3AtY29sb3I9IiNCMkVFQkQiLz4KCQkJPHN0b3Agb2Zmc2V0PSIwLjk5MDU5MCIgc3RvcC1jb2xvcj0iIzYyREI3QSIgc3RvcC1vcGFjaXR5PSIwLjE3NjQ3MSIvPgoJCTwvbGluZWFyR3JhZGllbnQ+CgkJPGxpbmVhckdyYWRpZW50IGlkPSJwYWludF9saW5lYXJfMzdfNjQ5XzAiIHgxPSIyOS4wMDQxOTgiIHkxPSI3LjczMDcxMyIgeDI9IjI5LjAwNDE5OCIgeTI9IjYwLjEyODE0NyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgoJCQk8c3RvcCBzdG9wLWNvbG9yPSIjOThFM0E3IiBzdG9wLW9wYWNpdHk9IjAuMTIzNTI5Ii8+CgkJCTxzdG9wIG9mZnNldD0iMS4wMDAwMDAiIHN0b3AtY29sb3I9IiM4N0UxOTgiIHN0b3Atb3BhY2l0eT0iMC45MTc2NDciLz4KCQk8L2xpbmVhckdyYWRpZW50PgoJPC9kZWZzPgoJPHBhdGggaWQ9InBhdGgiIGQ9Ik0yOS4xOTcgMEMyMi4zNjc3IDUuMzcyNDQgMTIuNTkyNyAxMC42MzQ5IDAgMTAuNjM0OUwwIDM1Ljg5ODFDMCA0Ny4xNDU4IDE2LjYwNDQgNjcgMjkuMjA0MyA2N0M0MS44MDQ0IDY3IDU4IDQ3LjEzODMgNTggMzUuODk4MUw1OCAxMC42MzQ5QzQ1LjM4NTMgMTAuNjM0OSAzNi4wMjY0IDUuMzcyNDQgMjkuMTk3IDBaTTUyLjAyOTQgMzUuNjQ3NUM1Mi4wMjk0IDQ1LjI4OTQgMzkuNjI1NCA2MC4yOTIyIDI4LjgyNjMgNjAuMjkyMkMxOC4wMiA2MC4yOTIyIDYuMjUzNzggNDUuNDEyNSA2LjI1Mzc4IDM1Ljc3MDVMNi4yNTM3OCAxNS41NTYyQzE3LjA1MjcgMTUuNTU2MiAyMy4zNDU1IDEyLjM1MjIgMjkuMjA0MyA3LjczNzU1QzM1LjA0ODYgMTIuMzM3MiA0MS4yMzA1IDE1LjQ2MTUgNTIuMDI5NCAxNS40NjE1TDUyLjAyOTQgMzUuNjQ3NVoiIGZpbGwtcnVsZT0ibm9uemVybyIgZmlsbD0idXJsKCNwYWludF9saW5lYXJfMzdfNjQ4XzApIiBmaWxsLW9wYWNpdHk9IjAuMzUwMDAwIi8+Cgk8cGF0aCBpZD0icGF0aCIgZD0iTTI5LjEzNDUgNy43MzA3MUMyMy40NTU5IDEyLjg4NDUgMTUuNjYzIDE1LjQ2MTQgNS45NzkgMTUuNDYxNEw2LjM5NzA5IDM2LjUwNjNDNi44MjM0OSA0My44MDc2IDE2LjA4NDQgNjAuMTI4MiAyOC44NDM5IDYwLjEyODJDMzguODA4OCA2MC4xMjgyIDUyLjQ1NTggNDYuMzg0NSA1MS45NzU4IDM0Ljk5MDFMNTIuMDI5NCAxNS40NjE0QzQwLjE0MTggMTUuNDYxNCAzNC4zODY1IDExLjY5NTggMjkuMTM0NSA3LjczMDcxWk00Ni43NzI2IDM0Ljk5QzQ2Ljc3MjYgNDIuMTA2MiAzNy4xNDg0IDUzLjA4ODEgMjguODQzOSA1My4wODgxQzIwLjUzMzcgNTMuMDg4MSAxMS40ODUyIDQyLjEwNjIgMTEuNDg1MiAzNC45OUwxMS40ODUyIDIwLjA3MDlDMTkuNzg5OCAyMC4wNzA5IDI0LjYyODkgMTcuNzA2MiAyOS4xMzQ1IDE0LjMwMDRDMzMuNjI4OSAxNy42OTUxIDM4LjQ3MzYgMjAuMDcwOSA0Ni43NzgzIDIwLjA3MDlMNDYuNzcyNiAzNC45OVoiIGZpbGwtcnVsZT0ibm9uemVybyIgZmlsbD0idXJsKCNwYWludF9saW5lYXJfMzdfNjQ5XzApIiBmaWxsLW9wYWNpdHk9IjAuNDAwMDAwIi8+Cjwvc3ZnPgo=)}.icon-img-danger[data-v-f398177b]{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTguMDAwMDAwIiBoZWlnaHQ9IjY3LjAwMDAwMCIgdmlld0JveD0iMCAwIDU4IDY3IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KCTxkZXNjPgoJCQlDcmVhdGVkIHdpdGggUGl4c28uCgk8L2Rlc2M+Cgk8ZGVmcz4KCQk8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50X2xpbmVhcl82NF85M18wIiB4MT0iMjkuMDAwMDAwIiB5MT0iMC4wMDAwMDAiIHgyPSIyOS4wMDAwMDAiIHkyPSI2Ny4wMDAwMDAiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KCQkJPHN0b3Agc3RvcC1jb2xvcj0iI0ZGQjNCMyIgc3RvcC1vcGFjaXR5PSIwLjkxNzY0NyIvPgoJCQk8c3RvcCBvZmZzZXQ9IjEuMDAwMDAwIiBzdG9wLWNvbG9yPSIjRjc5Njk2IiBzdG9wLW9wYWNpdHk9IjAuMjMxMzczIi8+CgkJPC9saW5lYXJHcmFkaWVudD4KCQk8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50X2xpbmVhcl82NF85NF8wIiB4MT0iMjkuMDA0MTk4IiB5MT0iNy43MzA3MTMiIHgyPSIyOS4wMDQxOTgiIHkyPSI2MC4xMjgxNDciIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KCQkJPHN0b3Agc3RvcC1jb2xvcj0iI0UzOTg5OCIgc3RvcC1vcGFjaXR5PSIwLjIyMzUyOSIvPgoJCQk8c3RvcCBvZmZzZXQ9IjEuMDAwMDAwIiBzdG9wLWNvbG9yPSIjRkZCM0IzIiBzdG9wLW9wYWNpdHk9IjAuOTE3NjQ3Ii8+CgkJPC9saW5lYXJHcmFkaWVudD4KCTwvZGVmcz4KCTxwYXRoIGlkPSJwYXRoIiBkPSJNMjkuMTk3IDBDMjIuMzY3NyA1LjM3MjQ0IDEyLjU5MjcgMTAuNjM0OSAwIDEwLjYzNDlMMCAzNS44OTgxQzAgNDcuMTQ1OCAxNi42MDQ0IDY3IDI5LjIwNDMgNjdDNDEuODA0NCA2NyA1OCA0Ny4xMzgzIDU4IDM1Ljg5ODFMNTggMTAuNjM0OUM0NS4zODUzIDEwLjYzNDkgMzYuMDI2NCA1LjM3MjQ0IDI5LjE5NyAwWk01Mi4wMjk0IDM1LjY0NzVDNTIuMDI5NCA0NS4yODk0IDM5LjYyNTQgNjAuMjkyMiAyOC44MjYzIDYwLjI5MjJDMTguMDIgNjAuMjkyMiA2IDQ1LjY0MiA2IDM2TDYgMTUuNUMxNi43OTkgMTUuNSAyMy4zNDU1IDEyLjM1MjIgMjkuMjA0MyA3LjczNzU1QzM1LjA0ODYgMTIuMzM3MiA0MS4yMzA1IDE1LjQ2MTUgNTIuMDI5NCAxNS40NjE1TDUyLjAyOTQgMzUuNjQ3NVoiIGZpbGwtcnVsZT0ibm9uemVybyIgZmlsbD0idXJsKCNwYWludF9saW5lYXJfNjRfOTNfMCkiIGZpbGwtb3BhY2l0eT0iMC4zNTAwMDAiLz4KCTxwYXRoIGlkPSJwYXRoIiBkPSJNMjkuMTM0NSA3LjczMDcxQzIzLjQ1NTkgMTIuODg0NSAxNS42NjMgMTUuNDYxNCA1Ljk3OSAxNS40NjE0TDUuOTc5IDM2LjVDNi40MDU1MiA0My44MDEzIDE2LjA4NDQgNjAuMTI4MiAyOC44NDM5IDYwLjEyODJDMzguODA4OCA2MC4xMjgyIDUyLjQ1NTggNDYuMzg0NSA1MS45NzU4IDM0Ljk5MDFMNTIuMDI5NCAxNS40NjE0QzQwLjE0MTggMTUuNDYxNCAzNC4zODY1IDExLjY5NTggMjkuMTM0NSA3LjczMDcxWk00Ni43NzI2IDM0Ljk5QzQ2Ljc3MjYgNDIuMTA2MiAzNy4xNDg0IDUzLjA4ODEgMjguODQzOSA1My4wODgxQzIwLjUzMzcgNTMuMDg4MSAxMS40ODUyIDQyLjEwNjIgMTEuNDg1MiAzNC45OUwxMS40ODUyIDIwLjA3MDlDMTkuNzg5OCAyMC4wNzA5IDI0LjYyODkgMTcuNzA2MiAyOS4xMzQ1IDE0LjMwMDRDMzMuNjI4OSAxNy42OTUxIDM4LjQ3MzYgMjAuMDcwOSA0Ni43NzgzIDIwLjA3MDlMNDYuNzcyNiAzNC45OVoiIGZpbGwtcnVsZT0ibm9uemVybyIgZmlsbD0idXJsKCNwYWludF9saW5lYXJfNjRfOTRfMCkiIGZpbGwtb3BhY2l0eT0iMC4zNDAwMDAiLz4KPC9zdmc+Cg==)}.icon-img-warn[data-v-f398177b]{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTguMDAwMDAwIiBoZWlnaHQ9IjY3LjAwMDAwMCIgdmlld0JveD0iMCAwIDU4IDY3IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KCTxkZXNjPgoJCQlDcmVhdGVkIHdpdGggUGl4c28uCgk8L2Rlc2M+Cgk8ZGVmcz4KCQk8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50X2xpbmVhcl83Nl81Nl8wIiB4MT0iMjkuMDAwMDAwIiB5MT0iMC4wMDAwMDAiIHgyPSIyOS4wMDAwMDAiIHkyPSI2Ny4wMDAwMDAiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KCQkJPHN0b3Agc3RvcC1jb2xvcj0iI0YwQUQ0RSIvPgoJCQk8c3RvcCBvZmZzZXQ9IjEuMDAwMDAwIiBzdG9wLWNvbG9yPSIjRkNGMERGIi8+CgkJPC9saW5lYXJHcmFkaWVudD4KCQk8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50X2xpbmVhcl83Nl81N18wIiB4MT0iMjkuMDA0NTcyIiB5MT0iNy41MDAwMDAiIHgyPSIyOS4wMDQ1NzIiIHkyPSI2MC4zOTc0MzQiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KCQkJPHN0b3Agc3RvcC1jb2xvcj0iI0ZDRjBERiIvPgoJCQk8c3RvcCBvZmZzZXQ9IjEuMDAwMDAwIiBzdG9wLWNvbG9yPSIjRjBBRDRFIi8+CgkJPC9saW5lYXJHcmFkaWVudD4KCTwvZGVmcz4KCTxwYXRoIGlkPSJwYXRoIiBkPSJNMjkuMTk3IDBDMjIuMzY3NyA1LjM3MjQ0IDEyLjU5MjcgMTAuNjM0OSAwIDEwLjYzNDlMMCAzNS44OTgxQzAgNDcuMTQ1OCAxNi42MDQ0IDY3IDI5LjIwNDMgNjdDNDEuODA0NCA2NyA1OCA0Ny4xMzgzIDU4IDM1Ljg5ODFMNTggMTAuNjM0OUM0NS4zODUzIDEwLjYzNDkgMzYuMDI2NCA1LjM3MjQ0IDI5LjE5NyAwWk01Mi4wMjk0IDM1LjY0NzVDNTIuMDI5NCA0NS4yODk0IDM5LjYyNTQgNjAuMjkyMiAyOC44MjYzIDYwLjI5MjJDMTguMDIgNjAuMjkyMiA2IDQ1LjY0MiA2IDM2TDYgMTUuNUMxNi43OTkgMTUuNSAyMy4zNDU1IDEyLjM1MjIgMjkuMjA0MyA3LjczNzU1QzM1LjA0ODYgMTIuMzM3MiA0MS4yMzA1IDE1LjQ2MTUgNTIuMDI5NCAxNS40NjE1TDUyLjAyOTQgMzUuNjQ3NVoiIGZpbGwtcnVsZT0ibm9uemVybyIgZmlsbD0idXJsKCNwYWludF9saW5lYXJfNzZfNTZfMCkiIGZpbGwtb3BhY2l0eT0iMC4zNTAwMDAiLz4KCTxwYXRoIGlkPSJwYXRoIiBkPSJNMjkuMTU1NSA3LjVDMjMuNDc2OSAxMi42NTM4IDE1LjY4NCAxNS41IDYgMTUuNUw2IDM2Ljc2OTNDNi40MjY1MSA0NC4wNzA2IDE2LjEwNTMgNjAuMzk3NSAyOC44NjQ5IDYwLjM5NzVDMzguODI5OCA2MC4zOTc1IDUyLjQ3NjggNDYuNjUzOCA1MS45OTY4IDM1LjI1OTRMNTEuOTk2OCAxNS41QzQwLjEwOTMgMTUuNSAzNC40MDc1IDExLjQ2NTEgMjkuMTU1NSA3LjVaTTQ2Ljc5MzYgMzUuMjU5M0M0Ni43OTM2IDQyLjM3NTUgMzcuMTY5NCA1My4zNTc0IDI4Ljg2NDkgNTMuMzU3NEMyMC41NTQ3IDUzLjM1NzQgMTEuNTA2MiA0Mi4zNzU1IDExLjUwNjIgMzUuMjU5M0wxMS41MDYyIDIwLjM0MDJDMTkuODEwOCAyMC4zNDAyIDI0LjY0OTkgMTcuOTc1NSAyOS4xNTU1IDE0LjU2OTdDMzMuNjQ5OSAxNy45\"--IDM4LjQ5NDYgMjAuMzQwMiA0Ni43OTkzIDIwLjM0MDJMNDYuNzkzNiAzNS4yNTkzWiIgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJ1cmwoI3BhaW50X2xpbmVhcl82NF8yNDRfMCkiIGZpbGwtb3BhY2l0eT0iMC4zNDAwMDAiLz4KPC9zdmc+Cg==)}.icon-img-low-risk[data-v-f398177b]{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTguMDAwMDAwIiBoZWlnaHQ9IjY3LjAwMDAwMCIgdmlld0JveD0iMCAwIDU4IDY3IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KCTxkZXNjPgoJCQlDcmVhdGVkIHdpdGggUGl4c28uCgk8L2Rlc2M+Cgk8ZGVmcz4KCQk8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50X2xpbmVhcl82NF8yNDNfMCIgeDE9IjI5LjAwMDAwMCIgeTE9IjAuMDAwMDAwIiB4Mj0iMjkuMDAwMDAwIiB5Mj0iNjcuMDAwMDAwIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CgkJCTxzdG9wIHN0b3AtY29sb3I9IiNFOEQ1NDQiLz4KCQkJPHN0b3Agb2Zmc2V0PSIxLjAwMDAwMCIgc3RvcC1jb2xvcj0iI0ZGRUY3OSIgc3RvcC1vcGFjaXR5PSIwLjI3MDU4OCIvPgoJCTwvbGluZWFyR3JhZGllbnQ+CgkJPGxpbmVhckdyYWRpZW50IGlkPSJwYWludF9saW5lYXJfMzdfNjQ5XzAiIHgxPSIyOS4wMDQxOTgiIHkxPSI3LjczMDcxMyIgeDI9IjI5LjAwNDU3MiIgeTI9IjYwLjM5NzQzNCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgoJCQk8c3RvcCBzdG9wLWNvbG9yPSIjRkZFRjc5IiBzdG9wLW9wYWNpdHk9IjAuMTA5ODA0Ii8+CgkJCTxzdG9wIG9mZnNldD0iMS4wMDAwMDAiIHN0b3AtY29sb3I9IiNFOEQ1NDQiLz4KCQk8L2xpbmVhckdyYWRpZW50PgoJPC9kZWZzPgoJPHBhdGggaWQ9InBhdGgiIGQ9Ik0yOS4xOTcgMEMyMi4zNjc3IDUuMzcyNDQgMTIuNTkyNyAxMC42MzQ5IDAgMTAuNjM0OUwwIDM1Ljg5ODFDMCA0Ny4xNDU4IDE2LjYwNDQgNjcgMjkuMjA0MyA2N0M0MS44MDQ0IDY3IDU4IDQ3LjEzODMgNTggMzUuODk4MUw1OCAxMC42MzQ5QzQ1LjM4NTMgMTAuNjM0OSAzNi4wMjY0IDUuMzcyNDQgMjkuMTk3IDBaTTUyLjAyOTQgMzUuNjQ3NUM1Mi4wMjk0IDQ1LjI4OTQgMzkuNjI1NCA2MC4yOTIyIDI4LjgyNjMgNjAuMjkyMkMxOC4wMiA2MC4yOTIyIDYgNDUuNjQyIDYgMzZMNiAxNS41QzE2Ljc5OSAxNS41IDIzLjM0NTUgMTIunfuncMiAyOS4yMDQzIDcuNzM3NTVDMzUuMDQ4NiAxMi4zMzcyIDQxLjIzMDUgMTUuNDYxNSA1Mi4wMjk0IDE1LjQ2MTVMNTIuMDI5NCAzNS42NDc1WiIgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJ1cmwoI3BhaW50X2xpbmVhcl82NF8yNDNfMCkiIGZpbGwtb3BhY2l0eT0iMC4zNTAwMDAiLz4KCTxwYXRoIGlkPSJwYXRoIiBkPSJNMjkuMTU1NSA3LjVDMjMuNDc2OSAxMi42NTM4IDE1LjY4NCAxNS41IDYgMTUuNUw2IDM2Ljc2OTNDNi40MjY1MSA0NC4wNzA2IDE2LjEwNTMgNjAuMzk3NSAyOC44NjQ5IDYwLjM5NzVDMzguODI5OCA2MC4zOTc1IDUyLjQ3NjggNDYuNjUzOCA1MS45OTY4IDM1LjI1OTRMNTEuOTk2OCAxNS41QzQwLjEwOTMgMTUuNSAzNC40MDc1IDExLjQ2NTEgMjkuMTU1NSA3LjVaTTQ2Ljc5MzYgMzUuMjU5M0M0Ni43OTM2IDQyLjM3NTUgMzcuMTY5NCA1My4zNTc0IDI4Ljg2NDkgNTMuMzU3NEMyMC41NTQ3IDUzLjM1NzQgMTEuNTA2MiA0Mi4zNzU1IDExLjUwNjIgMzUuMjU5M0wxMS41MDYyIDIwLjM0MDJDMTkuODEwOCAyMC4zNDAyIDI0LjY0OTkgMTcuOTc1NSAyOS4xNTU1IDE0LjU2OTdDMzMuNjQ5OSAxNy45\"--IDM4LjQ5NDYgMjAuMzQwMiA0Ni43OTkzIDIwLjM0MDJMNDYuNzkzNiAzNS4yNTkzWiIgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJ1cmwoI3BhaW50X2xpbmVhcl82NF8yNDRfMCkiIGZpbGwtb3BhY2l0eT0iMC4zNDAwMDAiLz4KPC9zdmc+Cg==)}.scan-icon-img-bg[data-v-f398177b]{position:absolute;left:0;right:0;top:0;bottom:0;z-index:50;margin:auto;display:inline-block;width:100px;height:100px;border-radius:100%;background:radial-gradient(50% 50% at 50% 50%,rgba(255,255,255,.2) 54.962%,rgba(122,227,142,.2))}.animate-box[data-v-f398177b]{position:relative;width:100px;height:100px;animation:rotate-f398177b 3s linear infinite}.animate-box-left[data-v-f398177b]{z-index:55;width:50px;height:100px;border-radius:50px 0 0 50px}.animate-box-right[data-v-f398177b]{position:absolute;left:50%;z-index:55;height:100px;--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity));border-radius:0 50px 50px 0}.animate-box-bottom[data-v-f398177b]{position:absolute;top:4px;left:4px;z-index:2;width:92px;height:92px;border-radius:50%;background:radial-gradient(50% 50% at 50% 50%,rgba(255,255,255,.2) 54.962%,rgba(122,227,142,.2))}.circle-inner[data-v-f398177b]{background:var(--color-bg-2);position:absolute;left:0;top:0;bottom:0;right:0;z-index:55;margin:auto;display:inline-block;width:96px;height:96px;border-radius:100%}.circle-outer[data-v-f398177b]{position:absolute;left:0;top:0;bottom:0;right:0;z-index:55;margin:auto;width:100px;height:100px;border-radius:100%}.linear-safe[data-v-f398177b]{background:linear-gradient(#20a53a,#fff)}.linear-danger[data-v-f398177b]{background:linear-gradient(#ef0808,#fff)}.linear-warn[data-v-f398177b]{background:linear-gradient(#f0ad4e,#fff)}.linear-risk[data-v-f398177b]{background:linear-gradient(#e8d544,#fff)}.safe[data-v-f398177b]{background:radial-gradient(50% 50% at 50% 50%,rgba(255,255,255,.2) 54.962%,rgba(122,227,142,.2))}.danger[data-v-f398177b]{background:radial-gradient(50% 50% at 50% 50%,rgba(255,255,255,.2) 54.962%,rgba(255,0,0,.2))}.risk[data-v-f398177b]{background:radial-gradient(50% 50% at 50% 50%,rgba(240,173,78,0) 58.015%,rgba(232,213,68,.2))}.warn[data-v-f398177b]{background:radial-gradient(50% 50% at 50% 50%,rgba(240,173,78,0) 58.015%,rgba(240,173,78,.2))}.box-text[data-v-f398177b]{position:absolute;left:0;right:0;top:0;bottom:0;z-index:99;margin:auto;width:78px;height:50px;display:flex;align-items:center;justify-content:center;font-size:32px;font-weight:700;line-height:4.5rem}.box-text span[data-v-f398177b]{margin-top:16px;font-size:18px}.risk-spin[data-v-234b483b]{background:var(--home-risk-security-list-spin-bg)}.module-list[data-v-234b483b]::-webkit-scrollbar{width:10px;height:5px}.module-list[data-v-234b483b]::-webkit-scrollbar-thumb{box-shadow:inset 0 0 .5rem rgba(0,0,0,.2);background-color:#999}.module-item[data-v-234b483b]{font-size:1.25rem}.module-head[data-v-234b483b]{border-bottom:1px solid var(--color-border);color:#555;transition:background-color .3s;padding-right:10px}.module-item:first-child .module-head[data-v-234b483b]{border-top:1px solid var(--color-border)}.module-head[data-v-234b483b]:hover{background-color:var(--home-risk-security-list-hover-bg)}.module-body[data-v-234b483b]{border-bottom-width:1px;border-color:var(--color-border);padding:1rem 1.5rem 1rem 2.5rem;color:var(--color-text-2)}.collapse-item[data-v-234b483b]{color:var(--home-risk-security-list-collapse-item-color);background:var(--color-bg-2);width:48rem;border-radius:2px;font-size:1.2rem;margin-left:1rem;border-width:1px;--un-border-opacity:1;border-color:rgb(235 238 245 / var(--un-border-opacity));padding:.6rem 1.6rem;display:flex;align-items:center;line-height:1.8rem}.n-progress.n-progress--circle[data-v-e3b6e395],.n-progress.n-progress--dashboard[data-v-e3b6e395]{width:100px!important}.progress-header[data-v-e3b6e395]{display:flex;align-items:center;height:140px;padding:20px;text-align:center}.progresscircle[data-v-e3b6e395]{position:absolute;top:8px;left:25px}.progresscircle p[data-v-e3b6e395]{padding:5px 0;font-size:13px;font-weight:700}.progresscirclebar[data-v-e3b6e395]{position:relative;width:100px;height:100px;line-height:100px;font-size:18px}.progresscirclebar span[data-v-e3b6e395]:nth-child(1){font-size:24px}.progresscirclebar.active svg[data-v-e3b6e395]{-webkit-animation:load8 1.1s infinite linear;animation:load8 1.1s infinite linear}.progress-header-cot[data-v-e3b6e395]:nth-child(1),.progress-header-cot[data-v-e3b6e395]:nth-child(3){min-width:100px;position:relative}.progress-header-cot[data-v-e3b6e395]:nth-child(3){display:flex}.progress-header-cot[data-v-e3b6e395]:nth-child(2){width:100%;padding:0 40px}.progress-header-cot button.cancel_detect[data-v-e3b6e395]{border-color:#999;color:#666;background-color:#fff;font-size:15px}.progress-header-cot button.cancel_detect[data-v-e3b6e395]:hover{color:#fc6d26;background:rgba(252,109,38,.1);border-color:rgba(252,109,38,.2)}.scanning-progress-title[data-v-e3b6e395]{text-align:left;font-weight:700;margin:15px 0;font-size:20px}.scanning-progress-title img[data-v-e3b6e395]{margin-right:10px;vertical-align:sub;width:24px}.scanning-progress-title span[data-v-e3b6e395]{color:#fc6d26}.scanning-progress-cont[data-v-e3b6e395]{text-align:left;margin:15px 0;font-size:14px}.progress_item[data-v-4c3ee3d2]{margin:0 20px 6px;padding:0 20px;background-color:var(--home-risk-server-list-bg);border-radius:4px;border:1px solid transparent}.progress_item_header[data-v-4c3ee3d2]{height:30px;line-height:30px;display:flex;justify-content:space-between;border-radius:4px;cursor:pointer;font-size:12px;color:var(--home-risk-server-list-text)}.progress_item_header .progress_type[data-v-4c3ee3d2]{display:flex;align-items:center;width:59.5%;font-weight:700;line-height:22px}.progress_item_header .progress_type .title-icon[data-v-4c3ee3d2]{width:14px;margin-right:6px}.progress_item_header .progress_status[data-v-4c3ee3d2]{flex:1}.progress-cont-list[data-v-4c3ee3d2]{overflow:auto;max-height:390px}.progress_item_body[data-v-4c3ee3d2]{line-height:30px;display:none;font-size:12px}.progress_item.active .progress_item_body[data-v-4c3ee3d2]{display:block}.progress_item_info[data-v-4c3ee3d2]{margin-bottom:6px}.progress_item_info .info_cont[data-v-4c3ee3d2]{display:flex;color:var(--home-risk-security-list-collapse-item-color);padding:0 30px}.progress_item_info .info_cont div[data-v-4c3ee3d2]:nth-child(1){width:60%}.progress_item_info .info_cont div[data-v-4c3ee3d2]:nth-child(2){width:40%}.progress_item_info .info_cont div:nth-child(2) span[data-v-4c3ee3d2]{font-weight:600}.progress_item_info.active[data-v-4c3ee3d2]{background-color:rgba(252,109,38,.1);padding:0}.progress_item_info.active .info_cont[data-v-4c3ee3d2]{margin:0 20px;padding:0 10px;border-bottom:1px dashed #d9d9d9}.progress_item_info.active .info_cont_desc[data-v-4c3ee3d2]{color:#888;border-radius:4px;padding:0 30px}.progress_item_info.active[data-v-4c3ee3d2]:hover{background-color:rgba(252,109,38,.2)}.progress_item_info[data-v-4c3ee3d2]:hover{background-color:var(--home-risk-server-list-hover)}.btn_red[data-v-4c3ee3d2]{font-weight:700;margin-left:5px;padding:1px 5px;text-align:center;border-radius:3px;color:#fff;background:red}[data-v-4c3ee3d2] .n-progress__text{font-size:16px!important;font-weight:700}.scrollable[data-v-4c3ee3d2]::-webkit-scrollbar{width:10px}.scrollable[data-v-4c3ee3d2]::-webkit-scrollbar-track{background:#efefef}.scrollable[data-v-4c3ee3d2]::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:10px}.scrollable[data-v-4c3ee3d2]::-webkit-scrollbar-thumb:hover{background:#555} diff --git a/BTPanel/static/vite/css/index-COMrC5q1.css b/BTPanel/static/vite/css/index-COMrC5q1.css new file mode 100644 index 00000000..64082df1 --- /dev/null +++ b/BTPanel/static/vite/css/index-COMrC5q1.css @@ -0,0 +1 @@ +.editor-title[data-v-319eda2d]{position:relative;display:flex;align-items:center;justify-content:space-between;height:42px;padding-left:16px;background-color:#fff;color:#333;box-shadow:0 1px 4px rgba(0,0,0,.1);z-index:1;cursor:move}.editor-title .title-left[data-v-319eda2d]{font-size:14px}.editor-title .title-right[data-v-319eda2d]{display:flex;align-items:center;height:100%}.editor-title .title-right .action-btn[data-v-319eda2d]{width:48px;height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s}.editor-title .title-right .action-btn div[data-v-319eda2d]{font-size:18px;color:#555}.editor-title .title-right .action-btn[data-v-319eda2d]:hover{background-color:#e5e5e5}.editor-title .title-right .action-btn.close-btn[data-v-319eda2d]:hover{background-color:var(--color-error)}.editor-title .title-right .action-btn.close-btn:hover div[data-v-319eda2d]{color:#fff}.toolbar-dialog[data-v-cd363012]{background-color:#444}.toolbar-dialog .toolbar-title[data-v-cd363012]{border-bottom:1px solid #666666;color:#9e9e9e;font-size:14px;padding:12px 16px}.toolbar-dialog .fontsize-content[data-v-cd363012]{padding:16px}.toolbar-dialog .fontsize-input[data-v-cd363012]{flex:1}.toolbar-dialog .fontsize-input[data-v-cd363012] .n-input{--n-color: transparent;--n-color-focus: transparent;--n-border: 1px solid #fff;--n-border-hover: 1px solid #fff;--n-border-active: 1px solid #fff;--n-border-focus: 1px solid #fff;--n-text-color: #fff;--n-caret-color: #fff}.line-ending-select[data-v-3b563599]{padding:16px}.line-ending-item[data-v-3b563599]{height:30px;display:flex;cursor:pointer;align-items:center;justify-content:space-between;font-size:14px;--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.line-ending-item[data-v-3b563599]:hover,.line-ending-item.active[data-v-3b563599]{background-color:#333}.toolbar-dialog[data-v-fd78c99a]{background-color:#444}.toolbar-dialog .toolbar-title[data-v-fd78c99a]{border-bottom:1px solid #666666;color:#9e9e9e;font-size:14px;padding:12px 16px}.toolbar-dialog[data-v-0f74f1f1]{background-color:#444}.toolbar-dialog .toolbar-title[data-v-0f74f1f1]{border-bottom:1px solid #666666;color:#9e9e9e;font-size:14px;padding:12px 16px}.setting-list[data-v-0f74f1f1]{padding:16px}.setting-item[data-v-0f74f1f1]{height:30px;display:flex;cursor:pointer;align-items:center;justify-content:space-between;font-size:14px;--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.setting-item[data-v-0f74f1f1]:hover{background-color:#333}.toolbar-list[data-v-ebc2c2ac]{display:flex;align-items:center;height:32px;min-height:32px;background-color:#565656;color:#fff}.tools-btn[data-v-ebc2c2ac]{position:relative;display:flex;align-items:center;justify-content:center;gap:4px;height:32px;padding:0 16px;font-size:13px;border-right:1px solid #4c4c4c;cursor:pointer}.tools-btn[data-v-ebc2c2ac]:hover{background-color:#2f2f2f}.breadcrumb-wrapper[data-v-54af520c]{display:flex;align-items:center;height:40px;padding:0 16px;background-color:#383838;font-size:14px;color:#fff}.action-wrapper[data-v-e49ff329]{display:flex;align-items:center;justify-content:space-between;width:100%;height:32px;min-height:32px;background-color:#565656;color:#fff}.action-wrapper.is-search-mode[data-v-e49ff329]{display:block;height:auto;min-height:auto}.action-btn[data-v-e49ff329]{position:relative;display:flex;align-items:center;justify-content:center;gap:4px;height:32px;padding:0 8px;font-size:12px;line-height:1.1;cursor:pointer;color:#fff;transition:all .2s}.action-btn[data-v-e49ff329]:hover{background-color:#2f2f2f}.action-btn i[data-v-e49ff329]{font-size:13px}.action-btn i.is-loading[data-v-e49ff329]{animation:rotate-e49ff329 1s linear infinite}@keyframes rotate-e49ff329{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.search-panel[data-v-e49ff329]{padding:12px;display:flex;flex-direction:column}.search-title[data-v-e49ff329]{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:13px;color:#aaa}.search-title .close-btn[data-v-e49ff329]{color:#f44336;cursor:pointer;display:flex;align-items:center;gap:4px}.search-title .close-btn[data-v-e49ff329]:hover{opacity:.8}.search-input-wrap[data-v-e49ff329]{margin-bottom:12px}.search-input-wrap[data-v-e49ff329] .n-input{background-color:#fff;border:none;border-radius:4px;--n-text-color: #333;--n-caret-color: #333;--n-border: 1px solid transparent;--n-border-hover: 1px solid transparent;--n-border-focus: 1px solid transparent;--n-padding-right: 0}.search-input-wrap[data-v-e49ff329] .n-input .n-input__suffix{color:#666;height:100%;margin-left:0;display:flex;align-items:center}.search-input-wrap[data-v-e49ff329] .n-input .search-icon-btn{padding:0 10px;border-left:1px solid #eee;height:28px;display:flex;align-items:center;justify-content:center;cursor:pointer}.search-input-wrap[data-v-e49ff329] .n-input .search-icon-btn:hover{background-color:#f5f5f5}.search-input-wrap[data-v-e49ff329] .n-input .search-icon-btn i{font-size:16px}.search-options .n-checkbox[data-v-e49ff329]{--n-text-color: #fff;--n-font-size: 13px}.tree-wrapper[data-v-07a21af7]{flex:1;overflow:hidden;background-color:#222}.n-tree[data-v-07a21af7]{padding:6px;height:100%;overflow:auto;background-color:transparent;--n-node-text-color: #cccccc;--n-node-color-hover: #37373D;--n-node-color-active: transparent;--n-arrow-color: #cccccc;--n-loading-color: #cccccc;--n-line-height: 1.2;--n-bezier: cubic-bezier(.4, 0, .2, 1);--n-font-size: 13px}.n-tree[data-v-07a21af7] .n-tree-node{border-radius:4px}.n-tree[data-v-07a21af7] .n-tree-node.n-tree-node--selected:hover{background-color:var(--n-node-color-hover)}.n-tree[data-v-07a21af7] .n-tree-node .tree-icon{display:inline-flex;align-items:center;font-size:16px;font-style:normal}.n-tree[data-v-07a21af7] .n-tree-node .n-tree-node-content__text{width:0;border-bottom:none}.n-tree[data-v-07a21af7] .n-tree-node .n-tree-node-content{padding:0}.n-tree[data-v-07a21af7] .n-tree-node .creating-node{display:flex;align-items:center;width:100%}.n-tree[data-v-07a21af7] .n-tree-node .creating-node .creating-input{flex:1;outline:none;border:1px solid #4CAF50;background-color:#fff;color:#000;padding:0 4px;height:22px;line-height:22px;border-radius:2px;width:120px}.n-tree[data-v-07a21af7] .n-tree-node .creating-node i{font-size:16px;cursor:pointer;margin-left:4px;font-weight:700}.sidebar-wrapper[data-v-4a4cb5df]{position:relative;width:260px;height:100%;transition:width .3s cubic-bezier(.25,.8,.25,1);flex-shrink:0}.sidebar-wrapper.is-collapsed[data-v-4a4cb5df]{width:0}.sidebar-wrapper.is-collapsed .sidebar-content[data-v-4a4cb5df]{display:none}.sidebar-wrapper.is-collapsed .toggle-btn[data-v-4a4cb5df]:after{margin-left:-7px;transform:rotate(45deg)}.sidebar-content[data-v-4a4cb5df]{display:flex;flex-direction:column;width:260px;height:100%;overflow:hidden;background-color:#2f2f2f}.toggle-btn[data-v-4a4cb5df]{position:absolute;top:40%;right:-14px;display:flex;align-items:center;justify-content:center;width:14px;height:50px;background-color:#222;border-radius:0 9999px 9999px 0;border:1px solid #525252;border-left:none;cursor:pointer;z-index:998;transition:all .2s}.toggle-btn[data-v-4a4cb5df]:hover{background-color:#888}.toggle-btn[data-v-4a4cb5df]:after{content:"";display:block;width:10px;height:10px;margin-left:2px;border:2px solid #fff;border-bottom:none;border-left:none;transform:rotate(-135deg)}.editor-header-wrapper[data-v-7c07065c]{height:40px;width:100%;overflow:hidden;--un-bg-opacity:1;background-color:rgb(0 0 0 / var(--un-bg-opacity))}.editor-header[data-v-7c07065c]{height:40px;display:flex;align-items:center}[data-v-7c07065c] .n-scrollbar{--n-scrollbar-color: #444;--n-scrollbar-color-hover: #444}.editor-tab[data-v-7c07065c]{position:relative;height:100%;max-width:300px;display:flex;flex-shrink:0;cursor:pointer;align-items:center;padding-left:10px;padding-right:36px;font-size:15px;--un-text-opacity:1;color:rgb(153 153 153 / var(--un-text-opacity));border-right:1px solid #222222}.editor-tab[data-v-7c07065c]:hover,.editor-tab.active[data-v-7c07065c]{--un-bg-opacity:1;background-color:rgb(34 34 34 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(236 236 236 / var(--un-text-opacity))}.editor-tab.active[data-v-7c07065c]:before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background-color:var(--color-primary)}.editor-tab .tab-close[data-v-7c07065c]{position:absolute;right:10px}.editor-tab .tab-dirty[data-v-7c07065c]{position:absolute;right:10px;top:50%;width:8px;height:8px;background-color:#f4c26b;border-radius:50%;transform:translateY(-50%)}.editor-tab .tree-icon[data-v-7c07065c]{display:inline-flex;align-items:center;font-size:16px;font-style:normal;margin-right:4px}.ace-editor[data-v-449c7b87] .ace_scrollbar::-webkit-scrollbar{width:14px;height:10px}.ace-editor[data-v-449c7b87] .ace_scrollbar::-webkit-scrollbar-thumb{box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#777;border-radius:0}.ace-editor[data-v-449c7b87] .ace_scrollbar::-webkit-scrollbar-track{box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#333;border-radius:0}.file-history[data-v-654b4dcd]{width:550px;padding:20px}.toolbar-dialog[data-v-34b64179]{background-color:#444}.toolbar-dialog .toolbar-title[data-v-34b64179]{border-bottom:1px solid #666666;color:#9e9e9e;font-size:14px;padding:12px 16px}.toolbar-dialog[data-v-9b2e7d57]{background-color:#444}.toolbar-dialog .toolbar-title[data-v-9b2e7d57]{border-bottom:1px solid #666666;color:#9e9e9e;font-size:14px;padding:12px 16px}.toolbar-dialog[data-v-60c1d667]{background-color:#444}.toolbar-dialog .toolbar-title[data-v-60c1d667]{border-bottom:1px solid #666666;color:#9e9e9e;font-size:14px;padding:12px 16px}.toolbar-dialog[data-v-aaadbccb]{background-color:#444}.toolbar-dialog .toolbar-title[data-v-aaadbccb]{border-bottom:1px solid #666666;color:#9e9e9e;font-size:14px;padding:12px 16px}.toolbar-dialog .goto-content[data-v-aaadbccb]{padding:16px}.toolbar-dialog .goto-input[data-v-aaadbccb]{width:100%}.toolbar-dialog .goto-input[data-v-aaadbccb] .n-input{--n-color: transparent;--n-color-focus: transparent;--n-border: 1px solid #fff;--n-border-hover: 1px solid #fff;--n-border-active: 1px solid #fff;--n-border-focus: 1px solid #fff;--n-text-color: #fff;--n-caret-color: #fff}.toolbar-dialog .goto-hint[data-v-aaadbccb]{margin-top:12px;color:#fff;font-size:14px}.editor-footer[data-v-cd20a3bc]{height:36px;display:flex;align-items:center;justify-content:space-between;gap:16px;--un-bg-opacity:1;background-color:rgb(86 86 86 / var(--un-bg-opacity));padding-left:16px;padding-right:16px;font-size:14px;--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.editor-footer .footer-path[data-v-cd20a3bc]{max-width:50%;min-width:0;flex:1}.editor-footer .footer-tools[data-v-cd20a3bc]{height:100%;display:flex;align-items:center}.editor-footer .footer-item[data-v-cd20a3bc]{height:100%;display:flex;cursor:pointer;align-items:center;padding-left:16px;padding-right:16px;border-right:1px solid #4C4C4C}.editor-footer .footer-item[data-v-cd20a3bc]:hover{background-color:#2f2f2f}.editor-footer .readonly-badge[data-v-cd20a3bc]{background-color:#eb7c20;border-right:none;cursor:default}.editor-footer .readonly-badge[data-v-cd20a3bc]:hover{background-color:#eb7c20}.editor-footer.diff-footer[data-v-cd20a3bc]{background-color:#eb7c20;color:#fff}.editor-footer.diff-footer .footer-tools .footer-item[data-v-cd20a3bc]{border-right:none;background-color:transparent}.editor-footer.diff-footer .footer-tools .footer-item[data-v-cd20a3bc]:hover{background-color:transparent}.editor-footer.diff-footer .diff-path[data-v-cd20a3bc]{max-width:80%}.acediff{--acediff-gutter-bg: #efefef;--acediff-gutter-border: #bcbcbc;--acediff-diff-bg: #d8f2ff;--acediff-diff-border: #a2d7f2;--acediff-diff-char-bg: #b8e2f5;--acediff-arrow-color: #000;--acediff-arrow-shadow: rgba(255, 255, 255, .7);--acediff-arrow-hover-left: #004ea0;--acediff-arrow-hover-right: #c98100}.acediff__wrap{display:flex;flex-direction:row;position:absolute;bottom:0;width:100%;top:0;left:0;height:100%;overflow:auto}.acediff__gutter{flex:0 0 60px;border-left:1px solid var(--acediff-gutter-border);border-right:1px solid var(--acediff-gutter-border);background-color:var(--acediff-gutter-bg);overflow:hidden}.acediff__gutter svg{background-color:var(--acediff-gutter-bg)}.acediff__left,.acediff__right{height:100%;flex:1}.acediff__diffLine{background-color:var(--acediff-diff-bg);border-top:1px solid var(--acediff-diff-border);border-bottom:1px solid var(--acediff-diff-border);position:absolute;z-index:4}.acediff__diffLine.targetOnly{height:0px!important;border-top:1px solid var(--acediff-diff-border);border-bottom:0px;position:absolute}.acediff__diffChar{background-color:var(--acediff-diff-char-bg);position:absolute;z-index:5}.acediff__diffGutter{background-color:var(--acediff-diff-bg)!important}.acediff__connector{fill:var(--acediff-diff-bg);stroke:var(--acediff-diff-border)}.acediff__copy--right,.acediff__copy--left{position:relative}.acediff__copy--right div,.acediff__copy--left div{color:var(--acediff-arrow-color);text-shadow:1px 1px var(--acediff-arrow-shadow);position:absolute;margin:2px 3px;cursor:pointer}.acediff__copy--right div:hover{color:var(--acediff-arrow-hover-left)}.acediff__copy--left{float:right}.acediff__copy--left div{right:0}.acediff__copy--left div:hover{color:var(--acediff-arrow-hover-right)}.acediff{--acediff-gutter-bg: #1a1a1a;--acediff-gutter-border: #333333;--acediff-diff-bg: #004d7a;--acediff-diff-border: #003554;--acediff-diff-char-bg: #006699;--acediff-arrow-color: #f8f8f8;--acediff-arrow-shadow: rgba(0, 0, 0, .7);--acediff-arrow-hover-left: #61a2e7;--acediff-arrow-hover-right: #f7b742}.ace-diff-container[data-v-4b286035]{height:100%;width:100%}.ace-diff-container[data-v-4b286035] .ace_scrollbar::-webkit-scrollbar{width:14px;height:10px}.ace-diff-container[data-v-4b286035] .ace_scrollbar::-webkit-scrollbar-thumb{box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#777;border-radius:0}.ace-diff-container[data-v-4b286035] .ace_scrollbar::-webkit-scrollbar-track{box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#333;border-radius:0}.ace-diff-container[data-v-4b286035] .acediff__gutter{background-color:#333}.ace-diff-container[data-v-4b286035] .acediff__left .ace_content{background-color:rgba(255,0,0,.05)}.ace-diff-container[data-v-4b286035] .acediff__right .ace_content{background-color:rgba(0,255,0,.05)}kbd[data-v-fccb0a32]{display:inline-block;border-width:1px;--un-border-opacity:1;border-color:rgb(119 119 119 / var(--un-border-opacity));border-radius:2px;border-style:solid;background-color:transparent;padding:4px 10px;font-size:13px;--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));line-height:1;font-family:inherit}.editor-container[data-v-23722196]{display:flex;flex-direction:column;height:100%;background-color:#292929;color:#fff}.editor-body[data-v-23722196]{flex:1;display:flex;overflow:hidden} diff --git a/BTPanel/static/vite/css/index-CR8qtKBe.css b/BTPanel/static/vite/css/index-CR8qtKBe.css deleted file mode 100644 index 10252093..00000000 --- a/BTPanel/static/vite/css/index-CR8qtKBe.css +++ /dev/null @@ -1 +0,0 @@ -@charset "UTF-8";.modal-footer-btns[data-v-6be9ab69]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-6be9ab69]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.video-container[data-v-6be9ab69]{display:grid;grid-template-columns:1fr 300px}.video-container .video-list[data-v-6be9ab69]{display:flex;align-items:center;flex-direction:column;justify-content:start;align-items:flex-start;padding:10px;box-sizing:border-box;background:var(--color-modal);width:100%;height:100%}.video-container .video-list .video-item[data-v-6be9ab69]{display:flex;align-items:center;flex-direction:row;justify-content:start;cursor:pointer;width:100%;padding:10px 10px 10px 0;border-radius:4px}.video-container .video-list .video-item[data-v-6be9ab69]:hover,.video-container .video-list .video-item.active[data-v-6be9ab69]{background:#5c5c5c;color:var(--color-text-1)}.modal-footer-btns[data-v-90e8c7cf]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-90e8c7cf]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.upload-area[data-v-90e8c7cf]{width:100%;height:100vh;background:rgba(225,255,255,.3);display:flex;align-items:center;flex-direction:row;justify-content:center}.upload-area .tip[data-v-90e8c7cf]{font-size:50px;color:#fff}.modal-footer-btns[data-v-7045f818]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-7045f818]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.img-wrapper[data-v-7045f818]{width:100%;height:100vh;position:relative}.img-wrapper img[data-v-7045f818]{width:60%;position:absolute;left:50%;top:50%;transition:all .2s ease-in-out;transform:translate(-50%,-50%)}.img-wrapper .tools[data-v-7045f818]{width:300px;padding:20px;display:flex;align-items:center;flex-direction:row;justify-content:space-between;position:absolute;left:50%;margin-left:-150px;bottom:130px;background:rgba(99,96,98,.6);border-radius:50px}.img-wrapper .close-icon[data-v-7045f818]{position:absolute;right:20px;top:20px}.modal-footer-btns[data-v-4b4098ec]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-4b4098ec]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.button-group[data-v-4b4098ec]{display:flex;align-items:center;flex-direction:row;justify-content:space-between;flex-wrap:wrap}.button-group .group-left[data-v-4b4098ec]{display:flex;align-items:center;flex-direction:row;justify-content:start;gap:8px}.button-group .group-left .divider[data-v-4b4098ec]{height:24px;width:1px;background:var(--color-border)}.button-group .group-right[data-v-4b4098ec]{display:flex;align-items:center;flex-direction:row;justify-content:start;gap:8px}.button-group .group-right .view-change[data-v-4b4098ec]{display:flex;align-items:center;flex-direction:row;gap:0;color:var(--color-text-2)}.button-group .group-right .view-change .card[data-v-4b4098ec],.button-group .group-right .view-change .list[data-v-4b4098ec]{width:32px;height:32px;border:1px solid var(--color-border);cursor:pointer;display:flex;align-items:center;flex-direction:row;justify-content:center}.button-group .group-right .view-change .active[data-v-4b4098ec]{border-color:var(--color-primary);background:var(--router-menu-active-bg);color:var(--color-primary)}.button-group .group-right .view-change .card[data-v-4b4098ec]{border-right:none;border-radius:4px 0 0 4px}.button-group .group-right .view-change .list[data-v-4b4098ec]{border-left:none;border-radius:0 4px 4px 0}.button-group .group-right .view-change .line[data-v-4b4098ec]{width:1px;height:32px;background:var(--color-primary)}.button-group[data-v-4b4098ec] .n-button .n-button__content~.n-button__icon{margin-left:0}.button-group .btn-behavior[data-v-4b4098ec] .n-icon-slot{transition:.2s all ease-in-out;transform-origin:center center;transform:translateY(0);top:0}.button-group .btn-behavior[data-v-4b4098ec]:hover .n-icon-slot{transform:rotate(90deg)}.path-list[data-v-ca757f3c]{flex:1;display:flex;border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border);overflow:hidden;cursor:text}.path-list .path-item[data-v-ca757f3c]{display:flex;align-items:center;height:100%;white-space:nowrap;cursor:pointer;transition:background-color .3s cubic-bezier(.4,0,.2,1);flex-shrink:0}.path-list .path-item .path-dir[data-v-ca757f3c]{display:flex;align-items:center;height:100%;padding:0 6px;color:var(--color-text-2)}.path-list .path-item .path-arrow[data-v-ca757f3c]{display:flex;align-items:center;height:100%;padding:0 2px;border-left:1px solid transparent;border-right:1px solid transparent;font-size:14px;transition:border-color .3s cubic-bezier(.4,0,.2,1)}.path-list .path-item .path-arrow.reversal .svg-icon[data-v-ca757f3c]{transform:rotate(180deg)}.path-list .path-item[data-v-ca757f3c]:hover{background-color:var(--file-choose-hover-color)}.path-list .path-item:hover .path-arrow[data-v-ca757f3c]{border-left-color:var(--file-choose-hover-border-color);border-right-color:var(--file-choose-hover-border-color)}.modal-footer-btns[data-v-7bef8870]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-7bef8870]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.filter-tools[data-v-7bef8870]{display:flex;align-items:center;flex-direction:row;justify-content:space-between;gap:10px}.filter-tools .dir-address[data-v-7bef8870]{min-width:150px;max-width:600px}.filter-tools .dir-search[data-v-7bef8870]{min-width:120px;max-width:300px}.filter-tools .dir-search .__input-1cpbmap-m[data-v-7bef8870]{--n-border: 1px solid #2e9a8c;border-right:none}.modal-footer-btns[data-v-8efd67c4]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-8efd67c4]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.operation-wrapper[data-v-8efd67c4]{display:flex;align-items:center;flex-direction:row;justify-content:end;display:inline-flex;gap:8px}.n-data-table[data-v-14098e72]{--n-merged-td-color-hover: var(--color-table-td-hover)}.n-data-table[data-v-14098e72] .active-row{background-color:var(--n-merged-td-color-hover)}.n-data-table[data-v-14098e72] .active-row>.n-data-table-td{background-color:var(--n-merged-td-color-hover)}.n-data-table[data-v-14098e72] .n-data-table-td{height:42px}.file-nm[data-v-14098e72]{cursor:pointer}.modal-footer-btns[data-v-ae5d241c]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-ae5d241c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-list[data-v-ae5d241c]{display:flex;align-content:flex-start;justify-content:flex-start;flex-wrap:wrap;gap:10px;height:100%}.card-list .file-item[data-v-ae5d241c]{width:100px;height:100px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:10px;padding:10px;margin:5px;cursor:pointer;transition:.2s all;border-radius:3px}.card-list .file-item span[data-v-ae5d241c]{text-align:center;display:block;width:100%}.card-list .file-item[data-v-ae5d241c]:hover{box-shadow:0 0 5px rgba(0,0,0,.2)}.card-list .file-item.active[data-v-ae5d241c]{background:var(--file-card-hover-color)}.modal-footer-btns[data-v-8d5a5a1e]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-8d5a5a1e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tabs[data-v-8d5a5a1e]{box-sizing:border-box;padding:16px 16px 0;overflow:hidden;width:100%}.tabs .tabs-scroll[data-v-8d5a5a1e]{width:100%;overflow:hidden;position:relative}.tabs .tabs-scroll.has-scroll[data-v-8d5a5a1e]{padding:0 40px;box-sizing:border-box}.tabs .tabs-scroll .left[data-v-8d5a5a1e],.tabs .tabs-scroll .right[data-v-8d5a5a1e]{height:28px;display:flex;align-items:center;flex-direction:row;justify-content:center;cursor:pointer;width:40px;background-color:var(--color-bg-3);position:absolute;top:1px}.tabs .tabs-scroll .left[data-v-8d5a5a1e]{left:0;box-shadow:2px 0 15px rgba(0,0,0,.6)}.tabs .tabs-scroll .right[data-v-8d5a5a1e]{right:0;box-shadow:-2px 0 15px rgba(0,0,0,.6)}.tabs .tabs-scroll .scroll-container[data-v-8d5a5a1e]{width:100%;overflow:hidden}.tabs .tabs-scroll .scroll-container .tabs-wrapper[data-v-8d5a5a1e]{height:100%;display:flex;align-items:center;flex-direction:row;justify-content:start;display:inline-flex}.tabs .tabs-scroll .scroll-container .tabs-wrapper .tab-item[data-v-8d5a5a1e]{width:150px;height:30px;padding:0 10px;background-color:var(--color-bg-3);box-sizing:border-box;border:1px solid var(--color-border);border-right:none;cursor:pointer;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:5px}.tabs .tabs-scroll .scroll-container .tabs-wrapper .tab-item.active[data-v-8d5a5a1e]{background:var(--color-bg-2)}.tabs .tabs-scroll .scroll-container .tabs-wrapper .tab-item .tab-tit[data-v-8d5a5a1e]{display:block;max-width:80px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tabs .tabs-scroll .scroll-container .tabs-wrapper .add[data-v-8d5a5a1e]{width:auto;border-right:1px solid var(--color-border)} diff --git a/BTPanel/static/vite/css/index-ClOktozy.css b/BTPanel/static/vite/css/index-ClOktozy.css new file mode 100644 index 00000000..54109e45 --- /dev/null +++ b/BTPanel/static/vite/css/index-ClOktozy.css @@ -0,0 +1 @@ +.website-name[data-v-5103c19c]{display:flex;align-items:center;gap:8px;width:100%}.website-icon[data-v-5103c19c]{width:24px;flex-shrink:0;cursor:pointer}.website-info[data-v-5103c19c]{flex:1;min-width:0;overflow:hidden}.website-description[data-v-5103c19c]{margin-top:2px}.website-status[data-v-a66f2bce]{display:inline-flex;font-size:20px;cursor:pointer}.n-data-table[data-v-869664ba] .requests .n-data-table-th__title-wrapper{justify-content:center} diff --git a/BTPanel/static/vite/css/index-Cn3AD8n4.css b/BTPanel/static/vite/css/index-Cn3AD8n4.css deleted file mode 100644 index 66b494b3..00000000 --- a/BTPanel/static/vite/css/index-Cn3AD8n4.css +++ /dev/null @@ -1 +0,0 @@ -.full-btn[data-v-7977ade4]{position:absolute;top:1rem;right:1rem;opacity:0;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.3s}.group:hover .full-btn[data-v-7977ade4]{opacity:1}.bt-log[data-v-7977ade4]{height:100%;font-size:13px;overflow:auto;background:none;border:none;border-radius:0}.bt-log[data-v-7977ade4] .hljs{height:100%;border-radius:4px;white-space:pre-wrap} diff --git a/BTPanel/static/vite/css/index-Cx3ruW6_.css b/BTPanel/static/vite/css/index-Cx3ruW6_.css new file mode 100644 index 00000000..f68baa28 --- /dev/null +++ b/BTPanel/static/vite/css/index-Cx3ruW6_.css @@ -0,0 +1 @@ +[data-v-48740a5c] .n-data-table-expand-trigger{display:inline;padding-left:20px;margin-right:0;vertical-align:-.3em} diff --git a/BTPanel/static/vite/css/index-CyocMwAL.css b/BTPanel/static/vite/css/index-CyocMwAL.css deleted file mode 100644 index 613cb1df..00000000 --- a/BTPanel/static/vite/css/index-CyocMwAL.css +++ /dev/null @@ -1 +0,0 @@ -.website-name[data-v-5103c19c]{display:flex;align-items:center;gap:8px;width:100%}.website-icon[data-v-5103c19c]{width:24px;flex-shrink:0;cursor:pointer}.website-info[data-v-5103c19c]{flex:1;min-width:0;overflow:hidden}.website-description[data-v-5103c19c]{margin-top:2px}.website-status[data-v-a66f2bce]{display:inline-flex;font-size:20px;cursor:pointer}.n-data-table[data-v-911eed8c] .requests .n-data-table-th__title-wrapper{justify-content:center} diff --git a/BTPanel/static/vite/css/index-CzP4odEW.css b/BTPanel/static/vite/css/index-CzP4odEW.css deleted file mode 100644 index ad00bca2..00000000 --- a/BTPanel/static/vite/css/index-CzP4odEW.css +++ /dev/null @@ -1 +0,0 @@ -.text[data-v-2dca568f]{width:300px;cursor:default;--un-bg-opacity:1;background-color:rgb(247 247 247 / var(--un-bg-opacity));padding-left:10px;padding-right:10px;line-height:32px}.language[data-v-2dca568f]{width:300px}.language[data-v-2dca568f] .n-base-loading{display:none}.language[data-v-2dca568f] .n-base-selection--disabled{--n-border: none;--n-text-color-disabled: #333333}.language[data-v-2dca568f] .n-base-selection.n-base-selection--disabled .n-base-selection-label .n-base-selection-input,.language[data-v-2dca568f] .n-base-selection.n-base-selection--disabled .n-base-selection-label{cursor:default} diff --git a/BTPanel/static/vite/css/index-DEM1fxGq.css b/BTPanel/static/vite/css/index-DEM1fxGq.css deleted file mode 100644 index cb6e4832..00000000 --- a/BTPanel/static/vite/css/index-DEM1fxGq.css +++ /dev/null @@ -1 +0,0 @@ -@charset "UTF-8";.svg-icon[data-v-8667fe91]{width:1em;height:1em;fill:currentColor;vertical-align:-.15em}@keyframes bounce-in{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}@keyframes bounce-out{0%{transform:scale(1)}30%{transform:scale(1.05)}to{opacity:0;transform:scale(.7)}}.bounce-enter-active{animation:bounce-in .3s;animation-fill-mode:both}.bounce-leave-active{animation-name:bounce-out;animation-duration:.2s;animation-fill-mode:both}.n-layout-sider[data-v-51274824]{background-color:#3c444d}.sider-header[data-v-51274824]{position:relative;height:52px;display:flex;align-items:center;justify-content:center;cursor:pointer;padding-left:8px;padding-right:8px;--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.sider-header[data-v-51274824]:hover{background-color:var(--color-primary)}.sider-header .text[data-v-51274824]{margin-right:22px;width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.sider-header .message[data-v-51274824]{position:absolute;top:16px;right:8px;width:20px;height:20px;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:4px;--un-bg-opacity:1;background-color:rgb(252 109 38 / var(--un-bg-opacity));font-size:14px;font-weight:700}.n-menu[data-v-51274824]{--n-color: #353d44;--n-item-height: 40px;--n-font-size: 14px;--n-border-radius: 0;--n-item-text-color: #d6d7d9;--n-item-color-hover: #2c3138;--n-item-color-active: #2c3138;--n-item-color-active-hover: #2c3138;--n-item-text-color-hover: #fff;--n-item-text-color-active: #fff;--n-item-text-color-active-hover: #fff;padding-bottom:0}.n-menu[data-v-51274824] .n-menu-item{margin-top:1px}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content{padding-right:0}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:before{left:0;right:0;border-left:4px solid #2c3138;transition:background-color .3s var(--n-bezier),border-color .3s var(--n-bezier)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .n-menu-item-content-header{width:100%;height:100%}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .n-menu-item-content-header .n-menu-item-link{display:flex;align-items:center;width:100%;height:100%;padding-left:52px;padding-right:18px;background-repeat:no-repeat;background-size:16px auto;background-position:25px 11px}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected:before,.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover:before{border-left-color:#20a53a}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .home{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKwwAACsMBNCkkqwAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAFZSURBVDiNpdO9a1VBEAXw3zOioIUQEdFGkQdWVtr6D1ikERtRppLU6awUsUkh2CgoBNwhoPhsLESxERR7wcI2XSBNMAHRNFmLbB6Xa64RXFjYOXvmzMfOjmqt/mcd2I+QmUuZOcgbDWWQmTN4iFms4wGu4jC+RMT7wQwy8xBe4FtE3MBXPMdqE5sfLCEzj+Il3kXEE4iIJTzFFbzB9z0FMvMYJphExLPuXUQs4y1eYfmPHmTmbHN+FBGv92zMDm+ulXAzItZHtVaZeRH3sBgRn4ecOyKXcRt3dkuYwyJOZeaJfZyP42TjX1Nrne5SyqSUMu5ho559tpQy2bUP9gL8wHYnzbtYzczTuB8RHzs8/H0Sz+ETbuEDxg3f7pL6AhW/2vknNiNiCxvY6uDT8e2XMINLmbmC89js3I0z8wLOdP36Aht43KIcwULD1+w82/WGT+dk8DP96/oNlqecb6uu8YEAAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .home{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKTQAACk0BtZPkxgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAFVSURBVDiNpdO9atVBFATw3/UjBEGidkJSRFFIiKJBsAmaBxDFQptUIoJPYCc2Wmpjo4haRUFMnsEmnXUIKQXFRlEvaiIxY/HfheXCNUUWht2dM+fsYXe2l8Ruxp4d4jN4gDNlvw/70dMQw8ZRXMdFbOAvpjGJ93iHrWEdHMdDfMMcPuMpjiC4hYPDOpjCPazgceGeYS8m8BYj2AZJWpxOspTk9gBfcTPJSpJrlRtMXk5yY0hyxUKSF0lOtQWuJHmV5NIOyRWXk7xOcrVe4iSW8BXj/3mZ+jpfiv5ErThS5udJzjcnHUgyXubKnU3yUrcerR38wSH0sVm4C3iDO+Xm5wu/hX44jI3WB4OePoaPeIIPOm9U3XYVtQV6JfC77PtYxyrW8KPwP9vDWiNFZ5BzOtvO4Fejm8ZJzGqM1BbYLHiE77pPc7fEPuE+FjCGxaLV2+13/gdXJgTGYi2BZQAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .home{background-image:url(data:image/gif;base64,R0lGODlhEAAQANUAAPPz8+np6d3d3c/Pz8vLy8XFxb+/v729vbu7u7e3t7W1tbGxsa+vr62traurq6mpqaenp6WlpaOjo6GhoZ2dnZubmwrPOpmZmQzLPJeXl5WVlRLFPhLDPhy5RI+Pjx63RImJiYeHhyypSiirSIODgzKfToGBgTabUDibUDiZUH5+fj6TUnx8fECRVEKPVHp6ekSNVkCPVESLVnZ2dnR0dEyDWnBwcFR4XlZ2Xlh2XlpyYGZmZgAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJHgA7ACwAAAEAEAAOAAAGhsCdcLgzJUjE5HCmECxMFYZHuWMRHDuJINIg2JIqAmQYOS6SpEEkORFciOkJlVIwCTUEDfVOyOweFyAzVDMgFw1DBSFDOkMkBUQ2B0g1HyIdNUUGX0OTOy0jNyMrRQecOzYIKjsyKDspMDsvpkQGFDklJzsoJTgVBkkIAAEYLjsuGAEACEJBACH5BAkeADsALAAAAQAQAA4AAAZxwJ1wuDMlSMTkcKYQLEwVhke5YxEcO4kg0iDYkioCZBg5LpKkQSQ5EVyI6QmVUjAJNQQN9U7I7B4XIDNUMyAXDUMFIVQkBUQ2B0hKJgZfQ5FUJgeWOzYIKlQvm0QGFEM6QxUGSQgAARYcIhsWAQAIQkEAIfkECR4AOwAsAAABABAADgAABnfAnXC4MyVIxORwphAsTBWGR7ljERw7iSDSINiSKgJkGDkukqRBJDkRXIjpCZVSMAk1BA31TsjsHhcgM1QzIBcNQwUhVCQFRDYHSEomBl9DkVQmB5Y7NggqQzpDL5tEBhQ5NR8iHTU4FQZJCAABGC47LhgBAAhCQQAh+QQJHgA7ACwAAAEAEAAOAAAGfcCdcLgzJUjE5HCmECxMFYZHuWMRHDuJINIg2JIqAmQYOS6SpEEkORFciOkJlVIwCTUEDfVOyOweFyAzVDMgFw1DBSFUJAVENgdISiYGX0ORQzpDJgeWOzYIKjs1HyIdNTsvnUQGFDklJzsoJTgVBkkIAAEYLjsuGAEACEJBACH5BAUeADsALAAAAQAQAA4AAAaCwJ1wuDMlSMTkcKYQLEwVhke5YxEcO4kg0iDYkioCZBg5LpKkQSQ5EVyI6QmVUjAJNQQN9U7I7B4XIDNUMyAXDUMFIVQkBUQ2B0hCOkMmBl9DkTs1HyIdNUUHmDs2CCo7Mig7KTA7L6JEBhQ5JSc7KCU4FQZJCAABGC47LhgBAAhCQQAh+QQFHgA7ACwGAAkABQADAAAGDsDdTiesfUSdWmt0G62CACH5BAkyADsALAAAAQAQAA4AAAYVwJ1wSCwaj8ikcslsOp/QqHRKdQYBADs=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .website{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAHuSURBVDiNpZO/S9ZRGMU/5xZl0NJQDf2ybAgrGgylGloiCR0jDAO3+4WQlqA/oiHkpUGvgYtFRENL5g+CCEIiqSjMoFKsaJFqScMXfU9DV3vVluiZDs997odzuM+Vbf6n1v+tmVJqA9okHba9CXgF9McY+1fPqtpBSmkH0Al8B45Iema7DDRlyHagK8b4ZQ2gp6dnn6QB2+2SdgFvJW2xPQeUbdcCM5L6gNYY4/QyIKW0AbgGPAb2AueALuAQMA9MApeAu7YnJZ0ALscYyyE7aZf0JsZ4R1I/MAKMAwFYl+0/AW4URXFb0gTQTh4AOGP7Xta7gbEY43NJw8BA1hPAHoA821wdYUxSCZi13QhslPTI9kmgLGkUOG37m6QXwGbbF2OMTUvPuGD7JzCbM2N7FigD87bnJC3r7HyhOsK0pNEY46CkoRxhRNJDYDjGOGz7fdYPsqNP1YBB2y0Ai4uLH4GjKaUG281AS0qpAThQqVSmsrsWYAj+bOIt4Gpvb+/ZEMJ+4BTwLp8ZaASOhRA6UkofgHrgyupFqpN0H7gA7ATGJW21/SNvY10IYcZ2n+3WoiimVgAAuru7a0MIncBXoF7SU9sLwHHgJbDN9vWiKD4v3VkBACiVSqqpqekAzgMHc/s1vz/TTVbVGsC/1i9dw/hm1FHr2QAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .website{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKnAAACpwB9NLfEgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAGCSURBVDiNpdLPaw9wGAfw13fExWVq1IzYJEkc5kezgws5zM2S+irOWi7KH+EgB0e1m9ZycMGWm0jLRYqUWNNyIDkw2lq9Hb7P5rsfDvKpT717Pp/n/byf53k3kvif0/GX+AXcx3t8wgQurvexsUrBDozgGw7jBRZwHK+wHbeKdA1BLx6iiZ14i078LJLd+IJRnMVMO8Em3MQT7MH5qnQQ8/iAq7hXeBDXsLCxqjfxBuPVRide4xA2lPxnuIPP2Fo5o5JIMp6ku/BAkuHCp5MMFr6S5Gjh7iRjSSwp6MUpzOEYNmMRJ6v/rmqnG7uwpVpdJljEryKYr9hcJc+3DXIJd1TOMsEMnmMW36vSYzQq4Sn21Vqn0INz/DHSBIYKf8QR9ONMxfuxH9P1ZwiT7Qru4gaGsbfm8a7eUnMZwCUtdx7AdVYaqQ8PtCzbo7XGLvyo/vusNNL0agJabhvB16oyVcM6gZfYhts1q9LX2mv7bSS5nGQyyWzdR0ma6/xdo+Cfz28JnsxkWP6vVAAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .website{background-image:url(data:image/gif;base64,R0lGODlhEAAQAOYAAPHx8e/v7+vr6+np6efn5+Xl5eHh4d/f393d3dXV1dHR0c3NzcvLy8nJycfHx7+/v729vbu7u7m5ube3t6+vr62traurq6mpqaenp6WlpaGhoZ+fn52dnZubm5mZmZeXlxTDPpOTkyqrSiqpSoeHhy6nSiynSoWFhS6lTDCjTDKhTjSfTjadTjadUDSdTjabUDyXUjqXUjyVUj6TUkCRVHp6ekSNVkaLVkSLVnh4eEqHWHZ2dkiHWEqFWE6BWlB+XFJ8XFJ6XFR6XFZ4XlZ2XlpyYFxwYmZmZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFDgBHACwAAAEADwAOAAAHbYBHgoIdCgIACRyDizsTFQ0XGA4WEjuLNQMnH4shJwU1gw8di4sdD4IaGKSkGBpHC5argzsMRwYbsoMbB0cHHrmCHghHDDnARzm1GhnHGa5HEL+yHxCDmJqcJASg1hEUDRgZkxLGqxoJAQGJi4EAIfkEBQ4ARwAsBAADAAgAAgAABxGAR0dDPkBDgi0gNCgqNCAsgQAh+QQFDgBHACwEAAUACAACAAAHEYBFKUAogyNGPjZHPT5HMD+BACH5BAUOAEcALAMABwAKAAIAAAcWgDcoJjclKDciKTc6Kig9KCo6Jis6gQAh+QQFDgBHACwEAAkACAABAAAHCoA+Nkc6PkcwP4EAIfkEBQ4ARwAsBAAKAAgAAQAABwqARShAJSlAI0aBACH5BAUOAEcALAQACwAIAAIAAAcRgCwgMyUpMiAvR0dDPkJDioEAIfkECTIARwAsAAABAA8ADgAABxaAR4KDhIWGh4iJiouMjY6PkJGSk5SBADs=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .ftp{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAH6SURBVDiNpdM/qJZlGAbw3/1+n31o/0BJrMFaGmoRRBsM14M4iINLixBxHs6pxSxBmhpCqEk5CL2Pp5ZAdBD/UIJNhdBQzTqJYKkoB8HEY+r53rvB99hnuXlNNzfXfT3X9dzPE5npWTB8WrPWuhvvYwvGOI+vSykn/8uNSQfz8/MvdV33DRaxBlMInMZ9LI7H449mZ2cfLM80y0Xbtiu7rjsZEecz8ws8xBEc7l3swfXBYHB8bm6u+Z9A0zSfYmtmXoyIg/gKV3AJLQ7hV+wcjUYzT0Sota7C2Yg4kJm7sQM/YQOWcAFb+ygn8HHXdVMzMzMPlx1swML09PSPEXEIpzCNc/gBH+D7zPyylHIGt5umeWsywou4B5n5BhZKKTdwFddKKTdxJyLe7PmLWD0pcB2v9PVlvN627WZsxKZa6ya8hj96zsuZuUD/DobD4YWlpaUVtdbP8A62RcRNrO+38SG2I2qtv2AUERcfXyLUWnfhu8zcGBEFv+PVPtp9vI2j+A3vlVKOPSHQi+zHrcz8NiLebZrmr3yE1ePx+OfBYLAfK0opnz9eY9u2WzJzHRJ/Yy3uRsTePnfgSmYexAu4gZX9/NUh9kXElH8xxgjPTfTWR8RmPMBg+XCcGOKTiHh+gtxFxKqu685gXd/7MyJ29g6bCe7teNbv/A8ZE8Q3GMBOFwAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .ftp{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKnAAACpwB9NLfEgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAGVSURBVDiNpdLdaw9wFAbwzw+jzVspIxdIuXHhQqbGHVmSRLlx4w9YKbkhpVz4A6SkKOWlldA0uXA1Um645motL7NImsnYNI+LnZ9+W63IqW+dzvc8zznPOaeRxP/YgnnixzCISUzgEQ7/DcEK3MEefEMDbfiKI7iKxfMRtKMfT3EePwtwCdM4gVHcnoVL0nxnk0wl2ZvkYZLuJKeSHE+yO0lfkgOZsd4mrgnuSPI4SU+SW0nGkwwkeZ1kKMmDJGNJric5mGQwSVsrQXeSu+V3JbmRZE2SK0kuJuks4i2Vcz/J1iR/tCzH9/I34hM+YATv8bEGublyJrCqdYijWF3+MDagC9uwvd46vK2clVXEogq8rHWdwQ7sq6rraxu92F9rfYYleNVKMI3LuFlVh/ECQyVtEmPow3McLYzGnFM+jc+4hl0YR0rvk/pvw7kmoJFkJ9ZW4g90mrnCk6W7gTe4gGU13PbCjzSS9KOnpYvp0jjrZEvGFBY2i+NeI8kmLG1J/IUODFRn8A6HqsPW8/8ydwb/bL8B1eb4OuOuSusAAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .ftp{background-image:url(data:image/gif;base64,R0lGODlhEAAQAOYAAP////39/fv7+/f39+3t7evr6+Pj49/f39nZ2dfX19XV1dPT09HR0c/Pz83NzcvLy8nJycfHx8XFxcPDw8HBwb+/v729vbu7u7W1tbOzs7Gxsa+vr62trampqaenp6OjowDZNp+fnwLXNp2dnQTVOATTOJubmwrPOpmZmQrNOgzLPJeXl5WVlRi/QBa/QJGRkY+PjyC1RI2NjSSxRomJiYeHh4WFhYODg4GBgX5+fnx8fECRVESNVkSLVkaLVkiHWHR0dE6BWnJyclB+XFJ8XFR6XlR4Xlp0YFh0YGZmZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJMgBJACwAAAEAEAAOAAAHvYBJgoIhCAICCiuDi4IOEQsBAQ4QE4yCCR06DRUWD0AYDYwaATALNBweMA8sAB6LCC8QAwwEBQwDESwIgzQOSTURQBMVQBA5SQw3grFJKBdJGRtJFCxJDzKCOApJNg01DA42DDZJCziDCRsMAhQGBxIBDBsJiygCORYjqB8XNgAmjDZ8SCLjxg0YSTRkGBSkh48fO3i0UKGiRY8dP3z4GBKDhMcSIkCIBCGihEcSM5AUWVlkyAmRKYiwLHIkEAAh+QQFDgBJACwAAAEADwALAAAHj4BJgoIhCAICCiuDi0kOEQsBAQ4QE4xJCR06DRUWD0AYDYsaATALNBweMA8sAB6DCC8QAwwEBQwDESwIgjQOSTURQBMVQBA5SQw3SbFJKBdJGRtJFCxJDzJJOApJNg01DA42DDZJCziCCRsMAhQGBxIBDBsJgygCORYjqB8XNgAmizZ8SCLjxg0YSTRkEBQIACH5BAUOAEkALAAADAACAAMAAAcIgEE9MSRIRYEAIfkEBQ4ASQAsAgAMAAEAAwAABwWAPiRFgQAh+QQJDgBJACwAAAEADwAOAAAHIIBJgoOEhYaHiImKi4yNjo+QkY8/OzyMJCUijEVFQ4mBACH5BAkOAEkALAAAAQAPAA4AAAepgEmCgiEIAgIKK4OLSQ4RCwEBDhATjEkJHToNFRYPQBgNixoBMAs0HB4wDywAHoMILxADDAQFDAMRLAiCNA5JNRFAExVAEDlJDDdJsUkoF0kZG0kULEkPMkk4Ckk2DTUMDjYMNkkLOIIJGwwCFAYHEgEMGwmDKAI5FiOoHxc2ACaLNnxIIuPGDRhJNGQQFKSHjx87eFgaFIOExRIiQGgEwQhJkY9FJg4KBAAh+QQFDgBJACwAAAEADwAOAAAHsYBJgoIhCAICCiuDi0kOEQsBAQ4QE4xJCR06DRUWD0AYDYsaATALNBweMA8sAB6DCC8QAwwEBQwDESwIgjQOSTURQBMVQBA5SQw3SbFJKBdJGRtJFCxJDzJJOApJNg01DA42DDZJCziCCRsMAhQGBxIBDBsJgygCORYjqB8XNgAmizZ8SCLjxg0YSTRkEBSkh48fO3gs6rHjh6AYJDKWEAGiIwgRJUgIQlKkpKUkJpMEAgAh+QQFDgBJACwNAAwAAwADAAAHC4A+PkMkJDNFRUeBACH5BAUOAEkALAQADAAGAAMAAAcOgElJLSoqLYKISUVDiYEAIfkECTIASQAsAAABABAADgAABx2ASYKDhIWGh4iJiouMjY6PkJGSk5SEJyAgKUSFgQA7)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .database{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK6wAACusBgosNWgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAHISURBVDiNpZPPi81RGMY/z+3mpmasGBOZEgthQ5SFTDM2svMjOyt9X1eUEhshRbGx1e1cO5M/YVIzSWbjx4RidTeKbl3XgoyYW5rHwvlO35TZzFtn8fac5znPc855ZZvVVL3apJR2AGeAw5JGbI9m6Iukvu0ZIEVEp+TINimlOnANGAc6wCvbHUm/AAHrgZ3AHmA7MC3pVlEUS6WDWaALHIuIb/9xOw3QarVGa7XafduzwGQtg+PA+xXIy9VsNnvAHDBRvYMBcDyldEDSvO1nkj7lCNhea3uLpEO29wOjmbMsUAfOAYu2C+CC7XW2hzL+A1iw3QWu5/0vqgIAD4A7EXFxpQgppRPA1bIvBX4Dt4GJlNIV4DPQlTTIERrApryeA3eBh1WBBkBEnM+n7AO22R7O+ALwISJeZvxkySn/wQD4CDyV9Nj2XET0/7G+ATgIHAEmgbGIaJQO1gCngF22A7iRUloCfgLOpwnoA4+AFvC6GmEGOA1ciogpgHa7vRkYygLfi6LoVdzcI79CGUHAZf5+jh4wb/udpK/5EoclbQX2AruBt8DNiFhUdRpTSmPAWeCopI22R7KDfh6mJ8BURLwpOVrtOP8BlJPKP95zNKgAAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .database{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKdQAACnUBSiXd/QAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAF3SURBVDiNpdI5a5VhEAXg58qFRDBi4RIiBkSJoiIoihZi0EpsFWy0FAtbSwvB0uUn2LiUliIWMWgT90i0sRFcYxqFiCYQcizufHK9hUQcGIZh3jnvOYdpJfE/sayn34pLeI4PWKj8jJe4jJHuhVYxaOM8RvEGT6r+RAursQ27sBl3cBGLkkgynuRmklXV/y0Hk9xOMpbkt4RRvMK3JciexkMc6pYwhyl8wlM8wPuSAMuxAQexF4PYif4GYAH7C+g0hrASKwrgO2bxEdfKs0doN7oWkkwmObEED44leVY7f0g4Wbr24Uv9Nl8M+orVECZwH9fR3+56AGer7sEmDFQ/i7d4XP3xZqdhMI93GMfdcnmmx/01OIAjOIxh9DUAwW5sx6lyeRE/atanc1AzuIXXOtfaaoy5l+Rqj1nrk2xJMlLH0z27kmSi28QWzpWJ0zq3MIWvRX8AG4vlDkziAuYagCaGcQZHsQ5rS8JM5Rhu4EWz0Avwz/ELJiL9PSckq44AAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .database{background-image:url(data:image/gif;base64,R0lGODlhEAAQAOYAAP////39/fv7+/Hx8e/v7+np6ePj4+Hh4d/f393d3dfX19XV1dPT08XFxcPDw8HBwb+/v7u7u7m5ube3t62traenp6OjowDZNgLXNp2dnZubmwrPOpmZmQrNOpeXlxLFPhTDQBTDPhbBQBTBQBa/QBq9Qhi9Qh63RBy5QiC1RCC1RiKzRiSxRouLi4mJiYeHhyirSCynSoWFhS6lTIODgzKhTjSfTjadTjKfToGBgTibUDiZUHx8fD6TUnh4eHZ2dkiHWHR0dEyDWnJyclB+XFZ4XlZ2Xlh0YFxwYGZmZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFMgBJACwAAAEADwAOAAAHr4BJgkUzIB0XFxsfM0WCgjUlMD1CRERAOiwiNoIlLEiOoElIKSVJFzehoTsXSRggJzZCR0hIR0I2JyIYSQEyOTErKCQkKCoxNDIBvAYaqYIcB8oCHBAHDA4QEA4MBg8cAkkAHIIyGhYWGi/PAEkCBQ4cQaBBHg4F4AA0GQsGBgkJB6xloMFOQQRHP3jwkCcoAgJBFBg0qNAiRw4XGSIskADKxwQDAwIEIGAgAg1BgQAAIfkECQ8ASQAsAAABAA8ADgAABxaASYKDhIWGh4iJiouMjY6PkJGSk5SBACH5BAkPAEkALAAAAAAPAA8AAAe0gEmCRTMgHRcXGx8zRYKCNSUwPUJEREA6LCI2giUsSI6gSUgpJUkXN6GhOxdJGCAnNkJHSEhHQjYnIhigMSsoJCQoKjGgATI5qYI0MgFJAQYayUkcB80CHBAHDA4QEA4MBg8cAkkAHIIyGhYWGi+CHABJAgUOHEGgQR4OBeQANBkLDBhIkOCAtgw04imI4OgHDx73BEVAIIgCgwYVWuTI4SJDhAUSQPmYYGBAgAAEDESgISgQACH5BAkPAEkALAAAAQAPAA4AAAevgEmCRTMgHRcXGx8zRYKCNSUwPUJEREA6LCI2giUsSI6gSUgpJUkXN6GhOxdJGCAnNkJHSEhHQjYnIhhJATI5MSsoJCQoKjE0MgG8BhqpghwHygIcEAcMDhAQDgwGDxwCSQAcgjIaFhYaL88ASQIFDhxBoEEeDgXgADQZCwYGCQkHrGWgwU5BBEc/ePCQJygCAkEUGDSo0CJHDhcZIiyQAMrHBAMDAgQgYCACDUGBAAAh+QQJDwBJACwAAAAADwAPAAAHtIBJgkUzIB0XFxsfM0WCgjUlMD1CRERAOiwiNoIlLEiOoElIKSVJFzehoTsXSRggJzZCR0hIR0I2JyIYoDErKCQkKCoxoAEyOamCNDIBSQEGGslJHAfNAhwQBwwOEBAODAYPHAJJAByCMhoWFhovghwASQIFDhxBoEEeDgXkADQZCwwYSJDggLYMNOIpiODoBw8e9wRFQCCIAoMGFVrkyOEiQ4QFEkD5mGBgQIAABAxEoCEoEAA7)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .docker{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjQ2OUMyQTlEQzA3RjExRUNBRjc0QjI4QkM0QUMxRDBBIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjQ2OUMyQTlFQzA3RjExRUNBRjc0QjI4QkM0QUMxRDBBIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NDY5QzJBOUJDMDdGMTFFQ0FGNzRCMjhCQzRBQzFEMEEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NDY5QzJBOUNDMDdGMTFFQ0FGNzRCMjhCQzRBQzFEMEEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz606BQhAAAAn0lEQVR42mL8//8/AyWAiYFCQB8DZs2a9R+EsckxUhoGLPhshVkCxGB2WloaI4ZCZBeA2LgwMpg5c+Z/rF7AZisyOz09nXH69OkNTExM9f/+/QtiZGQ0BQcikAHGxIDMzMwGcOgzMa0D6qkEuwBXCOMDINeQnQ5gmskyAOj3GIx0API/csjiAkB1ZsCoPI3VAPTowedsqqZEijMTQIABAO7NWyhHRpXVAAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .docker{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjQ2OUMyQTlEQzA3RjExRUNBRjc0QjI4QkM0QUMxRDBBIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjQ2OUMyQTlFQzA3RjExRUNBRjc0QjI4QkM0QUMxRDBBIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NDY5QzJBOUJDMDdGMTFFQ0FGNzRCMjhCQzRBQzFEMEEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NDY5QzJBOUNDMDdGMTFFQ0FGNzRCMjhCQzRBQzFEMEEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz606BQhAAAAn0lEQVR42mL8//8/AyWAiYFCQB8DZs2a9R+EsckxUhoGLPhshVkCxGB2WloaI4ZCZBeA2LgwMpg5c+Z/rF7AZisyOz09nXH69OkNTExM9f/+/QtiZGQ0BQcikAHGxIDMzMwGcOgzMa0D6qkEuwBXCOMDINeQnQ5gmskyAOj3GIx0API/csjiAkB1ZsCoPI3VAPTowedsqqZEijMTQIABAO7NWyhHRpXVAAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .docker{background-image:url(data:image/gif;base64,R0lGODlhEAAQAJEDAJmZmSClOpiYmJmZmSH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkIzQURGQkRFQzA3RTExRUNBNUIyOUQ0OTNDNTk5MjFEIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkIzQURGQkRGQzA3RTExRUNBNUIyOUQ0OTNDNTk5MjFEIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QjNBREZCRENDMDdFMTFFQ0E1QjI5RDQ5M0M1OTkyMUQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QjNBREZCRERDMDdFMTFFQ0E1QjI5RDQ5M0M1OTkyMUQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4B//79/Pv6+fj39vX08/Lx8O/u7ezr6uno5+bl5OPi4eDf3t3c29rZ2NfW1dTT0tHQz87NzMvKycjHxsXEw8LBwL++vby7urm4t7a1tLOysbCvrq2sq6qpqKempaSjoqGgn56dnJuamZiXlpWUk5KRkI+OjYyLiomIh4aFhIOCgYB/fn18e3p5eHd2dXRzcnFwb25tbGtqaWhnZmVkY2JhYF9eXVxbWllYV1ZVVFNSUVBPTk1MS0pJSEdGRURDQkFAPz49PDs6OTg3NjU0MzIxMC8uLSwrKikoJyYlJCMiISAfHh0cGxoZGBcWFRQTEhEQDw4NDAsKCQgHBgUEAwIBAAAh+QQFHgADACwAAAAAEAAQAAACHZyPqcvtFsKbtII6rgWX+/8d4KgZZJicZTpi7lIAACH5BAUeAAMALAYABQAFAAEAAAIDTGYFACH5BAUeAAMALAMABwAIAAIAAAIFTGZol1YAOw==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .wp{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADIBAMAAABfdrOtAAAAJ1BMVEVHcEyZmZmcnJyZmZmampqZmZmampqfn5+ZmZmZmZmampqZmZmZmZke99ZiAAAADHRSTlMAhSjFRtpoEKDvsPCFVtuwAAAMRklEQVR42r1cS28b1xUmh8OHHguydtLU4YKBnaKuuJDDPtJ2Fkytwi3KBZMWTVFwwQQI2qazYKA4sGstlAdSBOUiqYPYCy4UFG0X5SJxi7gIuDBJURLF+VEVqZk753XvzNCy7kqPmXvuOec7r3vPnVQq/rBfeqbmeCdjXHv3Yj31BMbbzyzmD8f43RtnTOLb//CE8bvXz5JE39OM47MiYz/lGcbLZ6Kc51qecUy+8dgkrKe8yPFy5TFF1fdijOPHEtk7LS/WmPz+MdTR82KO6dKKecuLP6bfXJJGz3viVNISjdq10sm4UJOoFJfAFdP5r57+afjvK699n2k/McYs4g5nnzN3+PalAXGZSe3lW/j9f4rvW2/ipz5JRuMyevl/WkHYf0UPvpBI6UhSH5ge/TmSWXFJhYzb5odzznJq+SMUVeRrFhTZZ3FpFKCH7UQ/n38WvLCbXFi/iffKG4kF9ovwja/iMg94+TTO87nw+S87cYnky+Fb7RjPh48fJ7BgK4xuw+inby3pi4Cvi9R93lnGsHD0GUdJeVs9+gr/55XS3+drmNZ+DB1yMJ5Xr/4wLiNMsvYl5JjH3GcqbU468RiZEYXYF3iYukafGcRiJWTkVfz3N8VQPCWu82YsrWzLwtJnX/frssBMrDiiQZkyI5wLKUOexPCMD+Bfr5vTFCSyjWhbCbidVGTnJ48fQMNvRZl9TtL6G9Ep168l3es8WEOA+fU4iR0I7fmAlX2Nj+txRr4TL318j7Mylb1rhiMjHTNTnbY5K5sikS5jhGZ4+gHiYcDKkUntQCPl+Pn2Z5wVSfVXGSPbSbL6Fxgrf9Nb+0wxbicrHZSDsXw/OdYnjaNlhDUfB+rFqjbqVakkb3kJxy7V7ogRaRF3kHeSEgn9e1njJQNpNXkwjVkAX7yhiGQ18vKxNetQ84/LBgws+YGML4d4nKsJGWlLXpDgyyYMJmXkU1n4OG5miaqSMlKXYdSUwtVoSUaGGoNAf8/3sLS2EzLS1IB12uF/m7CEYim1Ay8JQXwbY6uQkMZMG2XvcZXs+b+6CYkIoWOVKcXCDthO6lCEeG4xpaQx2ZtnQCQQTpGq5KH/az8pkZFA5A5VioswsvDU/6nVPi9d3Kr7BdT38ltbpVKtttiDmtRq10pPb91QJdyhflPjgNinnL/eMRQcGVOORSa1KVEGk6E55RSJuNjhrGrMNpKIbUp817BZVE2F6G1NTgDFNTbsNI0Q2mYdwx7Ie+L/gnTQk171I9cQqYib7VbpktrRvHuttAWnuvJaqdaTfZdVgRnpBBknB3vf4AZdgxfeRVqoQOFt6vChBnxix2DyI6SxIoyKbZ3Rioa9itMI9N6LCOBN4JVn5s01itScIaA4Faj5EQCXr3dLMAOppM3jf6Gy39mFmh8CcPlivQmfHhjShb4+yDv3YOCaAHB94Su7LpRFUt1MUAGLN2eIbL4SStefwNkTKtVg3ONeQ0KeM0E6bYc4qfs2c6ifCLnQgv5fjj+ZHXqv9dMfg1cNEyGkElTA5McJxHL6r0fKMI8DdzjmgVqW/ECrLyeQa19h2IXsungieoZS1KMCGD2czZ+6D625iycqGzLFhlaUyuhCIbUgglvqJ1TjST5qTWdEJ0KewkcmynT3lBL2ebIvZnFpnfu0FcVMEG1sKO1cCAFxIoghS8dlTk2XDnhMQ2YzJMxZpsy6pVFKWinPDl4qwAC6HjERMuyyBt8Z3zaUKnZ9uU0AYpqGuDUyoCKA5Xoou4G/snXIazlqoqEBFU3wzhDWOY98IkNgYKaJJgZUjAD3cNEnRBrQ4BeUp/oAiEKKpeGyHy7G9XHXgPiLnAiFFIKKAPu90N8Gk5cBqxbOLCV43dOjYgrXVQcqHSqxAVwfGuB1YEAFzLDaoUmcEOkCImk+0Y4hpGRFfWUAngMiDjCyNIfQqiGk5ER3UAVEMv7CIJFM9ETQH1iiNbpAryYiRW1+hf1BXyLCJxynPMad531syLpHelQUAXubIEmYikT2DfA60qOiCPTahEoWiRwbAuBQj4oieP6Rlsi6UDkVDOLKCUTc2ETa+qy7qc+620CHMYg09flVUV+L1QHdGERG+vyqktKmRSCzjkNkqJ1oItXqYNcrE0kkSxyqAK+hvhYbQ6cZDWEUUtKGDSGb0Xc9bowz0a2gkGKZtjQHNPHCh00m34VDSouAy9Kg4hFckd5BpsXYVCYI+q4GFZtwBuzqhaBFQFQl4HIrctxqw99x0BLCLzGHLIm+TltGRQVyVheIjCiRojzRaC72poiKCdIRTiSElAjUKxRezTnNkYiKI5UO8ZQIJXctsdxpIblnUUgpozdsotMguUNpap9laiRuVeYimIqo+AIGmGOcpvKEm4WUKpJ7GUWCLMotd4j3CRJuXjqwkJJF4Gohf5BGL7hE2j3fgFARtCP6jxx0BDZ2YBZive8hJ6yKIFTOZUVPaEGXViD+oAW0YJGKTJVzqDBNyz4dNoGsEH/gAknmiJkpBlCJbcsHLy4QSYP4gypwqRkxLZ6/1YL5nFzu7ACR9EmVkgUCqpIVrihQoW0PkBns8fzqINDlxxwVbWgBaNvjiG7gAAwf8okOgx8PeFpUga5hn27goK2oNbHcyYfMrTJ/0FcysTyMYCAksqkmhpS+EkmVRQJXgTFNK0vmb+osM6jQADhjh0YhKkZIDGx7EG90tsSQsqY06DB/sKr+0CBCABudFqpJXDGkFAJ1Wtwf5NQau0SdK0AiaPP5jriDZgdU07xKyQcCyvcIMMHmM95GL3hiSBn4q80KKWbXV1eO6h1uozd4qc9CStdfbVWIBA1/QasEMj5nI+FooyuGlIa/2rLgD9Z8LewQe88JWfEmy7Ka2EMdQfCNMCoOIWakQxp83FQQQ0r6FAi25A9sf4UOUQm2W3RwZokhxTplrCD6g8FCsurFmXRw5gs62CktiyGlteB7RfQH3cVvObI2X+9D8TDzphhSyouJGuLGV2Ox3Cw5FSKHmfhY1hZDShXEHhpSsovlVsnSVvAc5IDZkULKYqK8vPF1mriWiQ2TA2Zyqr2hnSjnif7gNAUP0P0Q9XtMaKJQpGnWhEyU0dTarV0g5bbm0J+0GvTFiYpkPxD4g3I9RPex3BLBGjHuSCFlXl+5mhJ1I9SzOnFkjRh+K96UtZQACD1PG3OgPwARq4K7VDrRzTEwpNBi+0g88j7QNscEAmJtPsdi1xYPKSG6d3FZ/FBoWOrQ2qqT0m/RtoWejLGhYSlokisau37JZvOe0C7xKl41bomgTWQDaZejbOi7qSIHHKznwNgOtyFNNNDvqPtYeUCaKJvmxr4BR4fpeP5Ui4oRubGPtShucAgVDDvqFmJE06KoJu0QVsBaVgxnKWnESJCBPdC0jW6SttE9/TY0DikeaBnOaNpGeQNsi4YU1vZ1gMEVtk51PU2bVZVaxi0yETsagP5gPu1folt5eVOyi1eT4x1qoeZ78ZqSA3mB9uoBmihjaH+04YWVoB1U6pXaYC0ol9FyqoZGzgK8DBL4pAeGtjNwQcWFEHINDX23oe4cXZsnTLXDNc3vYOzrDgNhSHHBPY9tfQcm8OSAldxAQcgSWhOVP/h3mzMid9cp1wsag/6sQkra0Pia/1eKMTKryC10Dc5K6nowUVYisseb4BxTRyG0BHht6GebWnBJ5rbtmdQOoxK6rvO63Ecgt05GX9cJnblwF2IgEWHe6ap02i1bvcCspr23ohG44QpVmEAMo1rjZM2Xxc41io2WpHsxYi1g+kFH1rr5hp5iJdYFPSKs8MKKiRHICr9qiD+JMfmQWlt4zzTiqiGoGIV71VdK7/9k/i/50uRlLx4jkBUv4dX98PpnFCOoVK8noZHkIuv5XMmFsfyTTlwaSS8Xp34JqMSlAT4M8N94nIMYmPzC9ySmjKELiSMxyEfcq+up1J/AS/cjV2Z9BB7/Kj5UYNIQ9TmBd6AjSPKVBxTQp+YPI/S0fQdRA18Fu681S/sj9OAryZzEs9jhxvtYxZfJaLBLmVPhsxsXeqRjqpKQiPABkbv4AyI/YgG/nko80lLqUHtx/imU96VPocyKqSXGWwMvwZgt++mYwZOnkUo9N3jyNM7nk0Hn8/Gj8/mMU+pcPkgVycwZsHE69B8J+/pMv0Umfu7st2dJYuEO/0Bc5vjDs/5w2ymeXyrVFmnq3VrpYhLU/h/p5IdM9pDyYQAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .wp{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAACXBIWXMAAAsTAAALEwEAmpwYAAAF8WlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNi4wLWMwMDIgNzkuMTY0NDYwLCAyMDIwLzA1LzEyLTE2OjA0OjE3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjEuMiAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDI0LTA2LTIxVDE1OjU5OjIwKzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyNC0wNi0yMVQxNjowNDo1MSswODowMCIgeG1wOk1ldGFkYXRhRGF0ZT0iMjAyNC0wNi0yMVQxNjowNDo1MSswODowMCIgZGM6Zm9ybWF0PSJpbWFnZS9wbmciIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo0ZTZkM2Q0NS05MWE4LWUyNDgtYjM5OC03MjNkMDFmMmVhZjYiIHhtcE1NOkRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDphNjQ4NWZiMC0wMTY0LWIxNGUtYmVkYS04MDU3ZjNhN2NiMDYiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDozMjRlMWUxMy02ZjcxLTQ1NDEtYWU5My01YTBjODM1ODhkZmQiPiA8eG1wTU06SGlzdG9yeT4gPHJkZjpTZXE+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJjcmVhdGVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjMyNGUxZTEzLTZmNzEtNDU0MS1hZTkzLTVhMGM4MzU4OGRmZCIgc3RFdnQ6d2hlbj0iMjAyNC0wNi0yMVQxNTo1OToyMCswODowMCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIDIxLjIgKFdpbmRvd3MpIi8+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJzYXZlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo0ZTZkM2Q0NS05MWE4LWUyNDgtYjM5OC03MjNkMDFmMmVhZjYiIHN0RXZ0OndoZW49IjIwMjQtMDYtMjFUMTY6MDQ6NTErMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCAyMS4yIChXaW5kb3dzKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6wXLUsAAAPdElEQVR4nO2d627duA6FuZsBkvd/sb5OgkGS+ZFR4zq+iVwkF2V9QIEzB2gtS1y8SdZ+/P79WyZufAY95xH0nNvxK3sAA/AqX0LY+hPF3vNfA8cwJP9kD6Ag71LHsTzL30L9EJGnpLGUZArknEqCOOOXTMF0MQWyTWR6lMlaMLOWWTGKZ0TwLvG1Axvt/d+zB8LC3SPISOkTkmVkuXUadleB3DlK9LIUy+1SsDt5z2U7dqLjdu3jO0SQmUbhae3j4dOvkQ2nRYyR3zGbln4NG1FGNJ4mjOfsgdyIFlGGE8poKdasL3JpQhmmmB9FIOzC8MjVmWurYbperBN8lba5x8KbfBnF+o9HIfu086w3h2dpKb/pWDmCZAuDtYPzsvH/ZUabVsiXjCYVBZK52CUXWX4KOcO5lGwLVxNIxsJWFcURy3eKnNNy0aRKDRJdayxz+tHJeNcytUkFgURt9n3IfUSxR3v/j4BnrY/aU8IukIgJbJ2nUrmxM61DFtERoxYJaw0SUYjfOVJcZdkR8zRk2gKeUSDeHmUKQ0ebN6/1oSzg2VIsT3G0VGpiwzv1okq5mCKI18RQhu7itNTLKxWmiSQMEaSdvvVgFt++tGLeA4pIki2QV/E5ln73dm00XmlX+hH6zBTLQxyM6ZRnR47pfb3Srmf5spWtM2buZAnEQxwMESM6LdjabMsWTXs2ci7SRJKRYo0kjqy7eI9ooskeF3pNmkhCiRYIWhzRrdv1RdVVyBozujYJF0lkioUWR/ThulGIvmq0pUWoOQxNtyIjSDVx3OEq0sirRpFrFnYhR5RAUEbWTtx60owmuwUeybJu8QR5UjjEcUUYAVIcnt2Z0aPFVbzn4UkKicRbIKgXeBM/cUxhbOM5L0+CK95d185TIEhxeBRkUxjX8KpRXqSASLwEgppQD3GwXRVUgVajoIWCFIlLo8GrzYsQnkcxPoVhw+ObjRfBbAG4OHuvo8pW0AffZtTAgo4mqEgCX2O0QFDiQKZVd2vZRoG+dIFSJEjDQXgUpDg8vzOZfIOMJiiRwKIbsgaxiu1DcOKYwogFWZu8iP3IPMzxo/4hq0EiNwGnOPJAzT1iMxEyFoRAEOEMIY6ZUnGAFIkVs20iBGL9NxBh2evT3YkO1KeyVtsw27e1BrF6C4Q4mH9I5q4g2/QPsdmZqTayCMQavlDdiimOfLxPWL+JLUN4F2XKltkpsHaspjjyibo9xmorajvR/sXs1GqKI5/oewCsz1PZbIaRTXHUJ+uSjPDnagzNEj2sve0pjnyyr1ey2FC37fYam7V1Z+ltv8oURzbZ4hCx74902XCvwVk6CdbJnfsck4alA9plRz0Cybwjde6Q58MQPRrWrtZlW+4RSFb0mOKYbGGxqcu2fFUglk3B0KJqcisstnUpilwViKU41hZVqdfeT0pgKdgvRZErhm8x1LBiauJKxM9Ca7HY2KltXxGIxVC1xVTEDX/WojPqZ5I1tEu9UYb9L+jf8cBSsJ/atufl1RYDjOqYPKT/qPzys+CUH3XpAPVbHezR3Hrid5ezCHKHIrnXyNlFMenj0Ma9dqaZeuaTe+Bic0cCibgSn4HZLZvs2vqRQLTRhbVw3eJd+vPrqN/TQIC8MK+CI9Ha3q6texTpLDm6Z/105dI0r0u3G9EnmyML9eaAevc5XiTo4jith2Tul0fjbVAjn2x+Ev37aW1w0+b3BqEdHMtvdt+BjFQ2uqupcdRaG9y0+ZG9EEMt5FmrsKSynqTb59YAtF6CrbXLYEDpC+xAhSiidY4/npW9gFW6QaxkRcnIjpbGRrXO8cezMgUS8QktQ1Tz9LhZUTL66Elai3ltoFqPrjHENsl3OM4yIpHRXyNIrXP8673WAslOuUbF0wNmRclRbeXX7n8EsvY+IxrQEvbTsFoio39KppH1Y5vr545qQHeA+QiK2TkuDTUqp8yYUIYdfs/5zYySkc4tynb+rNVSIFHp1t6EehoQww7/qDm7SFz6EyXGXz/+hxKkZx7ZgCZ5mGzUapQMnvkqDGmWp6fNbkYg3w2ZTZhstAkkPLfbwdOAKon57hw57qh07nU5kPDc7sZ4OqPsKDnSpu+zCKfBjmxAIr7OaEZJMBaBeB2UmwZUG8YDqGpbtQik96DcSOHXiqcRZUfJiKyk15bUhzoZUyyRsQ1IxHfeq0dJqgjEKpBpQLWxGDmVTV65nWPig+e8Z0dJKiM38Mn8IiMbkDczSoKIulqFKq8UHgNiPgmbQY+d9DpQlVOMut5H+5zRDcizpZ0dJTVOka72ZE6xRHwNiOFaIE+yoyS7bV1iiJdQwnAtkAhf+pkF5TxUEAjlxAHxXIPsNKsHSlukHNQKzzHONGtySAWBeDLTLA5o37+KQEbfzLx7lKS1Q9qBBZL9JZ43LFGyJJUEMvKeSKViGg11dlBJICPfneVdTFdIsyipJBBPZpqVA31WUE0gtN0OA6OmV1feiz4rqCaQauO9QtReRXSUHGIPZkSD0zJ6msVGiWygokCoux6djJpeXaGE7ZUYZCDRBhudhswo2UlVgXh1P1jy5hLpxwFnQizzflUFQt/9uMBetHqXuutylTLvV2aggUSlWXvRqq2Jl5edaVYHlQXiZUAsaVbVtTlzMKWaLNpFYMghqxqQyHF6lfl8BCwOZo1qbrVG1vv3qoV17zTrLL1qjB4lLfTalMrWK3thEb9wzWJA1ddnTan0SuRrAap59+pkp1cNjyg5mi09RvBQXnsiXmnW1fSqMUqUpD+5u8UIAvHaE2FJs0ah5N6VRSC9HmF+tLM/B2dRwiv9QkbJyPXtTeXU0csikF6P4PnRTgUDEtHPgVekR0bJo3fL3hZQR68RUiyRGgZ0Z8raWRv4TH/80aZXDeYoOaL9vIl8CyTqm2XPNqBXtwe1+NY5Zo6SkelVVCv5RcQ+6dm5ZQSezqNk67OT7PTKZKPWwWe//BpWg9uLQr3FI2OUZP8q0mSjy78c9aKeIdKr125Ns1iv3WlYxneUolVNr/5oYSmQ2bHZx8PAtcZTKa1lyzCu8kcLiBdgO4DGZkB7Xi/qJPVVNFGSPb0y22aWwj1Dpdc7jXYQb40mSh5lHWjHmTL/a2Ni9wijYI1ybFFyJP7SwFog2jpE4y08N5dY0j50eoX6+3ug1gTdTdSMS2sDf2kgs4hi7+xsMdOsb47mAt1NTLOV7C6DZ0rHuieCSo9YoqQ3GhvRrv2PZ20JROslNQvm2VrO/v7AK73yxhol0Y5JYyPatf/xLIbFqtYYYEqzsor1o5oA6ZjSbWNPINqBaRbMM4qwdXvQaVGWg4uqCTS2oV3zTZvfm2Ct0WoXzMtTeBnQ2XiZoowG7fiRDklrE9o137R5DwPS5KDVjrkwjZfpNhSkPWnmGN6YOXohrYK1OajXvkh0t2dv3rzGEZ1mRTgHrS1obW/X1o8mN9pLVtsX2ZtUpuhioTfNQkayaFvYXTMv76P1ll65u8eeSI8QvPdkoqJkRHoVuc1wytlLZRSbHgV71J7I3tiz92S0rN+H9ffcLQ7o0MY981fIWRhyog3oCI9i/er7oLy3NrVyc0BXBGIpnrXK9ohcWQYU1WVi2PS1oF1zS/Q4te0rk2opmCzKRne1vA1oL72qbrjtvTzTbctaW2zs1LavLp6lLtB60CpdrTY3DKlhRpS0plcfol9ry/teEuVVgVgW3+JB0V7Lo9MReWnBGRW/psyyrUui7HmAJQxaDLPCsY2qJ3etWNvXlrW12NRlW+5ZQGvK49aK64T1OxEUkScHLPm/ZU2ta3jZlns9XFYxZX32kqg9CbaTxExY1zKs+dMrEGsUsRjNixB8H9BBZnoVIU7LsXKLHVnfrevZmkW0hEar0TwJRiSje/cIcWqe8SG2ovxV+dxGt+1meDlrjowQifd73+V78R6s4hBJOLKjNRRr0cwgktHxjJK9/zZCHFabUdmsxZNaDdTaibCKZHQv7xkle/5thDistqK2E8skMoRLxkgyuvB6QIhDxG4r6jFYvUx2qiXy9fIZx6Qr4CHWq+nVm2DEkZJaNRBh2OrBEYv4IjqRoIu+0QUncv0EOOIsHeKcl4l/rP+AfHkJ64u8i93btAXJTHEYP4xCzG0PqFMPiCaD+b2zP5Ns/BJc1yXzW2pGkMX6mfNBiiM7/RcBDGIJYm8ClaI85Pp4UHMwutCOeBOcOKybgSLAxk32PUZrngUnkieJPQnMfHIXId69dXkI7tudV8F1NyGgFxVhkEiRiFyLJqO3ZhHrvDbcD8GfskaIA+oUPbweo0i8o8nd0quHYAt/SnGI5N1dewW0SES+JnCvHWx5FnN61bBEyTY3yFpj+W8jxOGyYey1sCjv4iGSF9leZMYWLQttztD3BKDEIeLUyvb0fChP4yESka/xIcZYKb1iGitSHG7ps3dqgBSJ1+IuhaJ5RoX0qsEy1ncpIA6RmAlDvQByM3ELdOE52QaxCdhwb+NHeRSkSJhaskxjuUpmmvUphcQhEhtykTclVjRMFrLSLOSaef2WzA8iJ0t74naPT7nH6Vk0Ycb1P6+CF0fYrZuI07w9vAi2e/EsX5Nf4XK5LFAfLWlAR/pQcYjkhFt0JBHJS7keqz8MtCMg7U+GONBRQyRBHCK5PyPsIZLsPv9aMD2nijWsxcDQiUO2cBsp4hCJT7GWoNMtke8uV9qEbpBtsFGg17KRupaZAhHx+wpw1iaxeKW46evHsrPqNREMadfIvMvA4hDhEYiI34S0tGu2hHG0Irzi75F0wSQQEd+JaWnXRE8ThufJZxpxiOTXIFs8BHteZ00TCdVCFMDbuWTu1+zCFkEaEd+Tf8pMvc5oEcNbHAzt6U0YI8iSh/gvTku9KD1YEp4RfA11JGeNIEu8N9sarZi/a52yjBYRdoG+9MEF9gjSaJ49yniXz6FfRCMZDqHMnFaIIEuiosmSTxkvsmS9U4mosaRKBFkSHU2WLJ9ZqWaJrCn2KCWMRvakWciIJkuWNQtTR2xZS0TWFHuUixpLKkaQJZnRZIu9zUiPaMMQFc4oK4xGdYE02kKwCGUN27f03pQXRoPdA/VydHPixB+PmxdTGU0gIt+3AE6hxNGEwfINDowRBdJoQmH7kc+RGFYYjZEF0mjnumZEwTG8MBqjFOlXWC7mnQpmJEPVF1e4QwTZIuJChVFYXgxxO+4UQbZY7k1U2FeIotIpAVfuLpAldxfLFMUGUyDb3EUsUxQnTIGcszagyoKZguik6kJn0trG7Q9z+7i1Y1luXSzHjCB2jvYCotrJt+wwRfAfh0sXFwlSq58AAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .wp{background-image:url(data:image/gif;base64,R0lGODlhKAAoAPYUAP///15eXmxsbJaWlnV1dYCAgIeHh5CQkJWVlZaXl5iZmZmampqbm5ydnZ2enqWmptDQ0NHR0dzc3Pj4+BEREaWlpTZGOpmZmXl5eRUpGSCGNCCKNXJycp2dnbGxsSKUOCGcOV9fX56eno+PjyKTOCCiOZubm6KiotTU1P7+/qmpqSCjOZqamjlsQ3Z2diY2KS2CPYSEhIiIiCCkOiCjOiRQLSKSOCGfOiiQPC2GPmBgYGZmZnFxcaysrAEBARsrHiJiLiGVNyGiOiOcOyaVPE9fUmFhYWlpaaCgoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgAUACwAAAAAKAAoAAAF/yAljmSJAGiKImXrvhSkzjME3+NEA9LzSLsJ7jUbFoc5FXKkEhpTr0Yi0SBCb0rSdMvdlrIuHUrbLXNJKWfrKjK7vczxWk4hvO9fukg8CtzfLihqFGx/bgWBdBF6JVMwWwtWESJsZGeWcCMClHJ0BpiZFAddmyMJcRQDdKegrKZdWnGqclKNXQetVW0MnFmhZiQCZa+9KBJtjq22l8KsQCkPyK7SWw7KFHAPKtHYv7DLydkqx93Jr6HUpw5wz1dcn+eO0+/lrDQiDJfUFOvL0ropZsXzNwXXOQoKMqEYQAhAvHkJPnmzpq+TnGbmEJ5KmBGbtFJXFjncF+tbm3pxJl31GjiCQL155eKM3EPHT8dhtgLEGdRwpp2IrSC6XDlnZregsWS+EGPUlRuDOmXyRFPpoT6ZRhMxGrGOipWtYcAgabKkWFatYIcwHeejHdmyLUTumKESLoxZNBguCQEAIfkEBQoAAQAsAAAAACgAKAAABdlgII5kCZTjia6s2bpvrJpAvc5xru8kzsO/1WV4CfKIyKTRJ0o6lShm60klGpvVrM6X1bKko251GxtOrS0wyVlir3PFsBsLbUbb7Todbe/l83pPci98AYJydWZ3hoqIhYxIdCI4Ko+He4polHtrepiSAZuQcY6kpaOTQpGnpkqrLIFWjaCvqZ2zkLmIqH6As7K/ZrWwtcKWnIuOeIG8KWe/o626X76+uNO2zxbb204V3BaPRxfgT+U8UuTd5tw3RhThVBZXOsP0auj0+j9SNTbJV/D12ufM3Y4QACH5BAUKAAAALAsAGwASAAcAAAUk4CaKwAac5WhunUqiqRqLGDxv2m0DnHz6NuBo9xuiMiZiCRUCACH5BAUKAAAALAoAGQAUAAkAAAYyQJBQCAAQi8MjyDhELp1NYnL5hEqLnmnVemQOA8WwVpwMh0Nlc9rs3XrZ5G6Y4jZ/zEEAIfkEBQoAAAAsCgARABwAEQAABlVAgHBILBqNqaNyOUQxn8YTdCqUUqHO6zNV6paIXYA3LCQXx9+ySDwelkxHdDnN9paXbba7bTbK6XVhgEYjaIOGT4hgckyMi3ZQeWeQiX2Pg41LJFBBACH5BAUKAAEALAkAEQAdABEAAAZbwIBwSCwaj4CjcklMMp9GJ3QaAKyu1yIWq20VrVvilbVdiaNk7jBbXpuPbeHKE4jXVcp4Vh6uM/t7dWGBcINihkwuZW9ufX92fI5LkJGEj5aVVGpGklCMRh9QQQAh+QQFCgAAACwIABIAGQALAAAGMcCVUAgoGodEY1H4Qq6US2QMSnRCAc6nMnntegGwr1IlNorK6LJMPEi73/A4VCA3BgEAIfkEBQoAAAAsBgAPABsAEwAABmtA2mw4BBiPxOLRmAQkZ0tjrhm9EZ1JVhR7jXafW7B3VmNSl0/dGJkdn83oN7eLxMXp2J6YGa28i3tKd4IzPHNQTBhhVISMW2ZKjVeCboCDUIiPO0+ZkHiLcpyPbJ+Ho4OPcqmUqKdopzaPQQAh+QQFMgAAACwGAAkAGwAZAAAHX4AAgoOEhYYARTM+h4yNM4+NkYSPlIKUlQCXmkWCNJqZl4WaM6KjlEiFFZ+Tq5Kur0OXLKKNKq+3uIRAuYJCuCK8wY1EuCO4HrLCrkeRzMrP0NEARtLV1tfYhz+RQYeBADs=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .monitor{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK6wAACusBgosNWgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAF5SURBVDiNpdM9ixNRFMbx3yRZ3/ANbCxEcBubpNJSLIQFaxs7D4JfQSz9CpYWItyPYCOIFtqvhQxopSyCb1gpEuNukrHImewQY7UHLsOce85z/vPMvVXTNA4SAyilfMI2Zpn/n2rV6RtGxOYgE9sITLK5Qa8jVGGezwpH8VgWwRTjiJigj6vYwrVcW5nrZ824pW0Jeh0xSVJhr4M86ez32/qBf6OH04nZCmzk1HbI0qN1AhO8zuYfOJ5i8xWKZq1AREzxpZRyAlfwJiI+r5RVrUCLNOvgtnER93FpDeV0laBnYcwMSimHcQpP7Z+V2xZelA7FkuA8opRyK9/P4gIeYq+Ucj2/fwM3Lc7Mua7AVzzH91LKHZxBExE/s/EudiwOz0u8wLeuwDgidvAMf3APr3LvHR7gfUT8joiPw+HwQwqrmqZRSnmSWL9wEpt4a/Hr5qPRaLeu60OdgcfwKCJutCZeTnNmuXZxpDWqruvG/j1o0vDhkuAg8RdE7nuSY6nc+gAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .monitor{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKwwAACsMBNCkkqwAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAFaSURBVDiNpdM7a5RREAbg59uLJOgSkRQhfYSIhWWsQgj+gfgLTJEmBJLa0tZW0MbawtbaUkQEQ8Q/YCWIIAqb7G1S7JzNYdlUOfAxlzPznndevmkiwk1OJ+03nGKMBpNr6lsIdLGBrQJwimP05wCatFEBTHAHL2sGY/zHEMt4jBWMKqZ/8RkXVc8MoJX+MF8bJJth3nczV5i0s2cGUJ82eslgkLlbOU57vngRwAA/sqmftp35AhiFzSKAIX6mv4+3C2pa887YlTjlPMAJtjNeMtVC1k5qgA5Wa2Q8xQvsZnyI51jD3cK+jLCOA/xLyn1TET/m3U4+0M+xRpmfAfzGBzzBM/zB17Rf8B57+ISHpsI+AhEhIt6kbSLiKCLOImIzc72IOIyIbsblex0RMwZLuGf6t73Dd/zK/AVepYDLKV4v7zS5jfUyjXCO25Wok/TLnnRwH1vNTdf5EpkVg1v2kuagAAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .monitor{background-image:url(data:image/gif;base64,R0lGODlhEAAQAPcAAOTk5N/f38bUxsnQycTTxMfOx8XLxcPKw8bKxsfHx8TIxMbGxsXGxcXFxcfFx8PGw8TExMXExcbCxsfCx8PDw8PEw8PCw8PBw8HBwcW/xcHAwb7AvsK/whzVHBzTHCDOICLLIjC2MDO0MzOzMzKzMjWxNTOyMzWvNTavNjirOE2hTTqpOjunOzylPEmhSUqgSjqlOoaGhj+iPz6iPoSEhD6hPj6fPj+fP4ODg0CfQDqhOoKCgkGcQUObQ4CAgEWXRUaWRkWWRUqQSkiSSEiRSEyNTFuHW3p6eluGW3l5eU6KTliFWE6JTk2JTVaFVlWFVWB/YFGGUXV1dVGEUVWAVVSAVHRzdHNzc3FxcVV9VXZvdlp4Wm9vb2hyaGF0YVt2W1x1XFx0XGFyYWNwY15yXl1zXWtra15xXmNtY2FuYWpqamBvYG1obWJtYmlpaWJsYmhpaGNqY2hoaGJrYmRqZGRpZGdnZ2VpZWVoZWRoZGZmZmVnZWdlZ2VlZWdkZ2djZ2hjaGxdbG9ab2ZmZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCACDACwAAAEADwAOAAAIhgAHAUgAYcGCBggbGISQIMCgBlwG9dFjp6IdPX0GYaEwCMKgQWqO4NixA8cRNR89LvjoJglJkkncpBy0EqSPGDRoxPCBsiPNj3KwSLlyRQoWOTNrflzK1GeDplAHcWQQtWmFQQOqMi0wCIHWpQoGWfj6cSzEQXC63IG6UWCCBhA2KDS4sGFAACH5BAUIAIMALAIACQACAAMAAAgJAMUMcsHjSZSAACH5BAUIAIMALAMACgADAAQAAAgQAGGUGbSCxaBBJ4IM8gIlIAAh+QQFCACDACwEAAoAAwAEAAAIEAAHhTkzKAeVFiCoDDIyKCAAIfkEBQgAgwAsBQAIAAMABAAACBAABzFJM6jElj0pwAwaMiggACH5BAUIAIMALAYABwADAAUAAAgSAAfpGFSlQ5FBQEIMGpRiYZiAACH5BAUIAIMALAgACQADAAQAAAgQAAcN2jJIiIwpHogMujEoIAAh+QQFCACDACwJAAcABQAFAAAIGQAHCRw4kI2gHiK+iBlEwoQNFYOaBMqyJCAAIfkECTIAgwAsAAABAA8ADgAACBkABwkcSLCgwYMIEypcyLChw4cQI0qcSDEgADs=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .security{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK6wAACusBgosNWgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAG0SURBVDiNhdNPiI5RFAbw352ZsGBDMhkpYyE12cxOyYIFayW7SY2zkCxIlkrZKIrJjPe+X1FksrQQo/xp2IhZiPXUxIoaGxa+mGsx78dn+vDUvXVu53l6znO6qZSig6mpqbX9/f37cRB7sDOl1C6lzOIZHkXEK11IpRR1Xe8upRzFKNqYxzt8xGpsxy6swwCeYjIi5gcaoTt4i8BcRBQ90Gq11i8tLY3gCjZibABKKUu4FxGvexE7GB8fX8RsVVVPUkqDGjtQGqv/RM75CJ6nlH6gT+dCwvf/kE9hGlvwrZfAqrqu+3LOQz3Ix3EJpyPipeUwdQt8RbuUshkLjdUOeQzXcD4iLnfptvmdwXtsjYgPOefrmM45f0Y/buJiRJzrIm+wvOJfDl5gBCLiBFp4iPuYiIizK6YaSim96Ra4jeGc86ZG5BhyQz65Io9hDJZSZkApRSlFVVUTVVXd7dR/O1VVPaiq6mqn7jiQUjqD0Zxzd1B/IOc8iW1N7zKv+zM1I8zgE8YjYqF534EbTegHImKxp0DTnHABh3ALa3AY0ys20Vugg7qu95ZSHuML9kXEXK++ny1tzgEddf2OAAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .security{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKdQAACnUBSiXd/QAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAFrSURBVDiNhdMvaJZRGAXw36viFrRoENxw4IJYLDMJalkxC8OkrC5qNAwEi+CC4lAsikGMY0FQmGIQ/AMKyjDIUGYyqMXgmB7Dd9/P63j37cAN73OfczjPc+7bJFFhFyZxCsdxGGt4hqd4hFc1oSkCxzCNiUJYwXt8xRDGcQS7sQNPMI8VSST5lGQxydEkTal1nT1JTiR5k+RuEtuKkz9YwGv8N9MGfCvjLBUnfYEUq1vhDEbwu+W2Ag3WtyCfx32M4leXwM7yPdJBnsFVXMALvWWqBX7qbX8/PherLc7hBi5hrqqvURaBVRzAF9wsVr9jO+7gCmYr8l69iLXxXEyyUMV1O/9wrSPOpSRnk/QFxpK8S7Kvarq1CflgkuW2t764nuTBgEfUnoe1cH0xnORjkrkB5PkkH5IMdQkott4meVzGauuHkjxP8rI85z6n/ZlqNLiM07iHYUyVZGY3Ng+a9WSS9SQ/kkxs1vcXeVqZSyUF+yoAAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .security{background-image:url(data:image/gif;base64,R0lGODlhEAAQANUAAP////39/fv7+/f39+3t7evr6+np6efn5+Xl5ePj4+Hh4d/f393d3dnZ2dfX19XV1dHR0cvLy8nJycfHx8PDw8HBwb+/v729vbu7u7m5ube3t7W1tbOzs7Gxsa+vr6enp6WlpaOjo5+fnwDZNpeXl42NjYuLi4mJiSitSCqpSiypSoeHhyirSC6lTIWFhTKhTjiZUDyXUnx8fECRVEKPVHp6enh4eEqHWEiHWHR0dFB+XHBwcFpyYGZmZgAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAwA9ACwAAAAADwAQAAAGdMCesEeiHAACR2c17J0oiUXEE/pgHAsFptYjQFzN4c6UmPQKoXAYIzl/1M1M5AyCDzdzwtveu8wRdXwXbQ8afD0SGD0dEIcNIj01CDl2NQeUPRZzcA8WTQWKYRUGYTkJDlw9MgwLO3AaBh0bBhyHJQEDYE1BACH5BAUEAD0ALAMABgACAAMAAAYHwB6PN+qlggAh+QQFBAA9ACwFAAcAAQADAAAGBUDaCBUEACH5BAUIAD0ALAYACAACAAMAAAYHwBtuNGKpggAh+QQFCAA9ACwIAAcAAQADAAAGBcDZSBUEACH5BAUIAD0ALAkABgABAAMAAAYFwNioFQQAIfkEBQgAPQAsCgAFAAEAAwAABgVA2OgVBAAh+QQFBgA9ACwLAAQAAgADAAAGB0Aab6SD9YIAIfkECTIAPQAsAAAAAA8AEAAABhXAnnBILBqPyKRyyWw6n9CodEqtJoMAOw==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .waf{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAGTSURBVDiNpZNBaxNBGIaf3RkSSEkJLmYIybYyETRG6CEwELAevAheBH9CKRVksHdPgRxzacBDwT/hT8hBydEK0aqHXFI9BCKBaEJSttuDadjgtpj63uab733ebz4YJwxD4tRsNm+k0+nXWmuRSqVeGGMGcX2iVqstDkopx/O8Xcdxbna73Tuu675SSt0NguBjq9XamEwmj3zf/wAsUp0wDGk0GjvFYvFeoVB42263D33fT/b7/RNgu1wuI6VsD4fDnOd5p51O53kul3uazWa/VCqVNxIgkUgcDAYDORqNHgMbvV4vLYS4LaW8CHqQyWQAfmutD4Fbs9nsDPgDEEL8nE6nm+Px+L4QInYnAEEQrCWTydLc8wPAnd+58+Kl5hjJvwArSkSNK0VHQ/9ngiXA2jUA61HAp2sAOlHAM+DzCuZj4MkCYK39DuwBo38w/wL2jDEn0Qmw1r4HHgJfrzB/E0JsV6vVdxeFpe1ba4+ALcCy/KRj4CWwZYw5inqcy75zvV5fz+fzB1proZTaL5VKw7i+cyFObUDzXeUJAAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .waf{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAGTSURBVDiNpZNBaxNBGIaf3RkSSEkJLmYIybYyETRG6CEwELAevAheBH9CKRVksHdPgRxzacBDwT/hT8hBydEK0aqHXFI9BCKBaEJSttuDadjgtpj63uab733ebz4YJwxD4tRsNm+k0+nXWmuRSqVeGGMGcX2iVqstDkopx/O8Xcdxbna73Tuu675SSt0NguBjq9XamEwmj3zf/wAsUp0wDGk0GjvFYvFeoVB42263D33fT/b7/RNgu1wuI6VsD4fDnOd5p51O53kul3uazWa/VCqVNxIgkUgcDAYDORqNHgMbvV4vLYS4LaW8CHqQyWQAfmutD4Fbs9nsDPgDEEL8nE6nm+Px+L4QInYnAEEQrCWTydLc8wPAnd+58+Kl5hjJvwArSkSNK0VHQ/9ngiXA2jUA61HAp2sAOlHAM+DzCuZj4MkCYK39DuwBo38w/wL2jDEn0Qmw1r4HHgJfrzB/E0JsV6vVdxeFpe1ba4+ALcCy/KRj4CWwZYw5inqcy75zvV5fz+fzB1proZTaL5VKw7i+cyFObUDzXeUJAAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .waf{background-image:url(data:image/gif;base64,R0lGODlhEAAQAPcAAMbGxsLCwrLGsr6+vrLCsrq6uq6+rqLCop7Cnqq6qqa6pp68npq+mrKysqq2qpq6mo6+joq+ipq2mq6urqKyooq6ipa2loa6hqKuonm+eYq2ip6unnW+dZKyknm6eZKukoa0hqampnW6dZqqmoKygnm2eXW1daKiooauhnG2cY6qjoKugmW6ZZamlmm2aWG6YYqmimW2ZXWudWG2YWmyaXGucVG6UX2ofZqamlW2VXGqcXmmeWWvZVG2UY6ejk22TVmyWVWyVWWqZZaWloKeglGyUXGmcVmuWUW2RW2mbWGqYVWuVUmySUG2QV2qXT22PVmqWYqWipKSkkWyRUmuSYaWhnGecWWiZVGqUT2yPY6Ojk2oTYaShnmWeVmiWYKSgkGqQWmaaX2SfXGWcW2WbYqKioKOgnmSeXWSdWmWaX2OfUGmQVmcWWGYYXGScU2eTX2KfYaGhmmSaV2WXWWSZXGOcXGKcVGWUYKCgl2SXXmGeWWOZU2WTVmSWW2KbUGaQVWSVUmWST2aPWWKZXWCdU2STW2GbWGKYVmOWUGWQVWOVX19fUmSST2WPTGaMW2CbVmKWWGGYU2OTWWEZUmOSUGSQXV9dVGKUUWORXl5eTGWMT2SPU2KTTmSOS2WLWGCYUGOQVWGVV2CXTWSNUmKSWl9aUWKRTGSMVGGUXF5cT2OPVmCWUGKQXV1dS2SLTmOOWF9YW15bUmGSVGCUWV5ZVWAVVl9WWl1aXFxcW1zbV15XWV1ZWF1YVl5WWlxaW1tbWVxZU11TVltWVFwUVVtVWVlZV1pXUFxQU1tTWFlYVVpVUVvRUltSVllWU1pTVFnUV1hXVVhVUllSV1dXVlfWT1pPU1hTUVlRUlhSUFlQUVhRVFdUU1dTUldSVVZVUFfQVFYUUVdRVVVVU1ZTUlZSU1VTUFYQVFRUUVXRUlVSU1RTT1VPU1NTUVRRUFRQUlOST1RPUFNQUlJSUVJRUFJQUVFRTlHOT1FPUFBQT1BPTlBOT09PTk9OTU9NTk5OTMzMyH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgD/ACwAAAAADwAQAAAIigD/CRzoL5OUfQMTCpw27ZyUAcXO/UoorpU4PDgWDQlwIkQDdotw/SszREsZKVI2AgAQIESBAP/ioJypcuXKAiNnoqxpc0BOnTxX+jwJNIBNoT9pGj0KU4vOlEuP/lv0NCiACf/24Sl6dEI9gfKc7ow6QFzCejKhrmxwTuFCPBsniHSbsFUZhAkDAgAh+QQFCgD/ACwAAAAAAQABAAAIBAD/BQQAIfkEBQoA/wAsAAAAAA8AEAAACHUA/wkc+C8VF4IICVYxkJAgIR+EFrZoQeGfJYFqophR84VLFAMCBBAYkYAhHC4duXgEGTJkgn8nVar82NIlTJkzWbY0iXNlTQE8cdKsydBMz6E1/xE6qjMkBoF6hDZ9OtBozp0Jo/oUULHhPz0fqXoVGMtMwoAAIfkEBQoA/wAsAAAAAA8AEAAACHQA/wkc+K+UGIIICXZhkFBgqX+GiDxaCANGh3+PBNbpgqYOGjQLEYhUYYGhnY8oQ4oU+eDfSZQgGaxk+c8jTJUrGdpMKXPmgpowY85E8DOo0JkHMAbFKfKDQEM3ezYluBMnQ4R+Pqq82BDiQqddBfqjdSZhQAAh+QQFCgD/ACwAAAAADwAQAAAIeAD/CRz479MYgggJprmQUOCnf5GsRFp4YweJf5ME7iEjZw8dOQsjiLxxIcK/QXI+ygFZUqRIDf/2rJwZ0mWECjFnrqzpEqdMnTxF+tTJ0qbIfypptnQJASLRoBEu/jsEdGmEFQST8sSJEGXRqA0FHlqINSxBNwkDAgAh+QQFCgD/ACwAAAAADwAQAAAIcAD/CRz4b1UYgggJzhGRkGCoK5AW6kgiQ6Cuf4jmzEEEqM8cDhlC1kjBEFGfjn08ggwZsgTGlDA/sgzp4SVMlTMz1DR5U+bMnTdx/vwXVOjMf5CC+mRZEWnPlSGbCnzKsibCpEKlJozIQWvDgmkSBgQAIfkEBQoA/wAsAAAAAA8AEAAACHEA/wkc+A9VG4IICfJ5kVBgqH+cvFxaKMQJjX+QBFLic4cSI0YLWYhUMoPFP0kfU4YUKdLFyZQfV7KM8RKmTJY1Vb5giROlzZ08TRaCCRIoT4hEb7K4mLMoTx4Eh8Y0ahKhz5VQG55cyMOW1oGzDiIMCAAh+QQFCgD/ACwAAAAADwAQAAAIdAD/CRz4jxQbgggJNuqRkCCrLZga2YCCBQhBVX8Cqeq0qdEPGyCX9GAIahPHTR0/ggSZ418llDA9rmTpEiZKmTNb2rypcmXLlzZxzvy3M+VMkP8w7RQK0uK/kjF72nAqMGhPhgih4gzSUCAoj1S7/pN1EGFAACH5BAUKAP8ALAAAAAAPABAAAAhvAP8JHPgP1BuCCAlqepJQIKV/r9ao8vRkCxgm/woJPOVI0ClXrig+edJkCsl/o0CqFDlyJBKUKkGybPkyZcyZLmHebNmyyb+PO3meBLpS6EiIMUMaxYi0KE+mG52O9InQJkuoCV9RxNrwH6uDCAMCACH5BAUKAP8ALAAAAAABAAEAAAgEAP8FBAAh+QQFCgD/ACwAAAAADwAQAAAIeQD/CRz4jxQbgggJNuqRUOClf6y2YGpkAwoWIP8UCVT1J5CqTpsa/bBBckkPhqA2gdwUciRJkjn+VWJJU+RLmDJpsrR5M6bOnS5fxpypk+fNfz9b3iT5D9NPoyQx/ktZM6gNqQKLBmWIkCrPIA0FghKJNew/WQcRBgQAIfkEBQoA/wAsAAAAAA8AEAAACGwA/wkc+A9VG4IICfJ5kZAgJy+XFgpxQoMgJT53KDFitJCFRyUzWPyTtLFkR48eXYwsufEkyhgrWbpEGdPkC5Q0Scq8iVNkIZYceeL8xwnoTBYVawbFyYPgz5ZCRSLUebJpw5ELrV4VOOsgwoAAIfkEBQoA/wAsAAAAAA8AEAAACHcA/wkc+G9VGIIICc4RkVCgqH+hrkBaqCOJjH+HBCKaMwcRoD5zOGQYWSMFQ0R9PvYBKXLkyBL/UK5cGdLlSA8xZ9Js6RKnzJk1bfrUydJmBpxEixr9B4loUJcXmep8miGqwKk8cSJsqtRqwokcZMBqSHBVmoQBAQAh+QQFCgD/ACwAAAAADwAQAAAIcwD/CRz479MYgggJprmQkGAkK5EW3thBQiCtf3vIyNlDR87CCCBvXIjwb5CcjnI8jgQJUgPGlDA/soxQ4SVMlTNp2oy5kmXNPTdx5vyHkmdOCP8iBZXJsuK/QzeZRlhBsCjTmghNCnXa8NBCqg0JwnKTMCAAIfkECQoA/wAsAAAAAA8AEAAACHIA/wkc+K+UGIIICXZhkFBgqX+GiDxaCANGh3+PBNbpgqYOGjQLEYhUYYGhnY8oQ4oU+eDfSZQgGaxk+c8jTJUrGdpMKXPmgpowY85E8DOo0JkHMAbFKfKDQEM3ezYluBMnQ4R+Pqq82BDiQqddCZ5JGBAAIfkEBQoA/wAsAAAAAA8AEAAACIsA/wkcyC8Vl3wDEwqkBq1cFQPJwPlKCC6VN0I+CD1s0YLCO0u5/qmJYkbNFy5RDAgQQGBEAgP/4HA5yQWlypUrE8SsyTMlzpw7edr8KQCmTKE+fxoVOlTpPzNMk/78RyjqTZwY/uXTg/SqAAz1BL6DWlOqAW8J53FtSkGdwoV6UmII+TZhLDP7FAYEACH5BAkKAP8ALAAAAAAPABAAAAh1AP8JHPgvkxSCCAlKGZCQIB4ci4YEOBGiwb9FAssM0VJGihSJAAAECFEgwL84HlOCDBmywL+OKT8GYBmSIUyVM2najCmTJoCdMVeyNKmFp1CWF43mZDlBIJ6gSwE0HVjUo1CGCFH2BGCx4T88Eqd6FdiqTMKAADs=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .mail{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAt9JREFUeF7tm21yqyAUQMVsJF1J25W0+RPjKpquwtE/7VtJ81bSdiFIvY5mCAMKeImAOJPpZFTCOV6Qj1uSbfwgG+fPkoAUARs3kJrAxgMgdYKpCaQmIDHQNM1rTGIopT9ZlsEnK8uy/zse1yZQVdXTbrd7Y4w9xQQvsjDGPhlj76OIXgA8ccbYR8zgAttP27bPIIFUVbXP8/ybvwAsxSYjz/M9H92EkMvxeHwmdV2/dbBnAfhcFMV7TBKapvkSmzdEAZGdGMCjkaBiJIQcIALYAAy9I4Q+Hw3BS5DAA1/PCE39RkBRFA+SJhGsBBEeQh7A8zz/UgqAEzFIkMGXZXmB1/2sgNAlqOCBS1tAqBKm4I0FhCZhDt5KQCgSdOCtBfguQRd+kQBfJZjALxbgmwRTeBQBvkiwgUcTsLYEW3hUAWtJWAKPLuDeEpbCOxFwLwkY8M4EuJaABe9UgCsJmPDOBWBLwIa/iwDF8pPxogpWOQDNH0bTYfHmue8T64twq7YErHJk9XUmQBau3crLI4BzFZmVgFWO6mE5ETDVVk2W17DKmYpUdAE6HZVMQtu2//h9OttyTPcvUAXoVHp8GqIE2JnpNirgsyeE3GzGDttWF9mTNIkop32ACbxKgqyCU/AT5cz2LeO9KBFgAy9UADZi97wAiAhK6UHcvla1Z9tIWCxgCbzkffzYbU/9UkovuuB8GTYSFgnAgp8bT5icN5VgLcBHeJs+wUqAz/CmEowFhABvIsFIQEjwuhK0BYQIryNBS0DI8HMSZgXEAD8loRtp/hfzAyBDrB+VDePza56gzrDU5J29xrWKOcjIeFYmScUArzEHOUvT5GKCn5LQTckf+kzRuq6vzYAL05uc2jXCF/k3byZfXdn9DLIXMGSLQuaUeBFyHfwoDtLjTqfToe/3+CoNWeIvsEgRo4whURpWoq6LLekfJvwIyvVqkSJgPfd+/HKKAD+ew3q12HwE/AEtrqA+boGrjQAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .mail{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAArZJREFUeF7tmwFy2yAQRXdv0pwk8UkanyTOSeqepO5J0p6E+GtEBhMECwIJEMx4PB5LMu+xgLRgpoMXPjg/DQEjAg5uYHSBgwfAGARHFxhdwGFAKfXamZh/RIQXMfP0rstXF1BKvRDRGxHhvedyvXt41yImAXOL/+qZ2mJDFJwggZVSP4jowzoAlnor4DSj+8bMJwhA2F8s2gszv/dkQCn1x9G9JwGuL8DejQQP4xkC1NzS6BcIfTMampfggAefZrw+CGDmJ0eXaFaCA/40NzaiHuW7gHlWsMeF5iS44Jn5Nk/3fgGtS1iCn7kwE4QFtCrBBx8toDUJIfgkAa1IkMAnC6hdghR+lYBaJcTArxZQm4RY+CwCapGQAp9NwN4SUuGzCthLwhr47AK2lrAWvoiArSTkgC8moLSEXPBFBZSSkBO+uIDcEnLDbyXAlWKLzicspLGirwNos4jzAfaJks+e3BtOF1c+13VcdS4mYCH99AxwoyJBCbmus9RgRQQEMjDi9Fqu6/iiNbsAyUDlSrQS0W9znS71OrHrF1kFSCqtW8Mh4XZfqMALKzb2YiyWrfDdt7I2a51NQAy8R4KLcRHec53g2GKcK0+KegYSe6oLVtqqABZi0fJmQYuf7eVrTx3EY0vWaTCl5T3TEWaJ/+gKUnALJlrCqi6QC15yTyE9JnZMSBZQI3zKmJAkoGb4WAnRAlqAj5EQJaAleKkEsYAW4SUSRAJahg9JCAroAd4n4b477K+9PI4dYvquDHdj5k4q8R2edN7e+riFZxDNePFtkmoeXvAMMglwbZPrBj4g4UnvFDW7gT7nYU/t1qFb4Pfsh6/pCVILwJd4wrMPKlCPKi55ZeYzavLwf4F5z/DPWUSPMrAPEpmor2TL+MNEFQG5YyVGBOwov4qfHhFQRTPsWInDR8AnmhspcVE9oYEAAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .mail{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAutJREFUeF7tm21S3CAYgAF7kHiL6nSm5hh1p1P3JK4naRxHewzTmc62tyjeQ4lLPtyEAAECGyDkz/4wsu/z8ELCCwvByi+4cn6QBKQMWLmBNARWngBpEkxDIA0BjoHs8fImKjEEYfDpFVMm/O1f/dldH0Mge/hyBc7ebkEFr6KCH8MUAJG7TkQtoO3xn5GD9/EwQCSnEmD263MGCPrPwBfRyYBVNshuWJX4+m8Os8fL2wPsjgHe4c3+LiYJ2dPF82h4E5RD7h8a8mgkSBi3NAOqtqfp7EhTv58NwUvgwFO+jrEYCMCb/TlnSAQrYQRPUF53NiLPbaePBbRPBXZeCE4CDx5//1PWj/spAaFLEMHXXKoCQpUgg9cWEJqEKXgjAaFIUIE3FuC7BFX4WQJ8laADP1uAbxJ04a0I8EWCCbw1AUtLMIW3KmApCXPgrQs4tYS58E4EnEqCDXhnAlxLsAXvVIArCTbhnQuwLcE2/GkE8GpvBuU1QRlrdl1CazncVk2UPyS1N9qGcvC22uEF7kwAt/yEyFcK3gtkUoKtdkS95kSAtAIzLrsLJdhqR5ay1gWoTFS8QitA5L6/T2faju7+hVUBKkF3vTGSAKvysFFR0jLdYc9yuBlLUE4LmNwxrJFRTucAHXihBF6EEnhJO5Nzy8f/6hRFhRMJ+6hTCJoJgG7E0p4/XjQjYLVlt6+FMRhmwuwhYNLzklSkT4kXgEipCt5vy2QTZ5YAW/DKLxYKN+pKMBbgI7zJnGAkwGd4XQnaAkKA15GgJSAkeFUJygJChFeRoCQgZPgpCZMCYoCXSQAE/WbPB9ATYs1bWfN+fjwnqPGGp/DIXuQWwRqkY9yJD0lFAK+wBtnxj8lFBC+VgMh5d1L0OAyOiTo4U7tI/tr90uHiqy3RNQKa06L05BR7k90Q/GmtwJv9tp72mNXVDYDVD1BBKiJGGQUg6L5fbEk/mPAnK5eJJGXAMt79+daUAf70xTKRrD4D3gFsnG7BkkfmVAAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .files{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAE3SURBVDiNpZO9SgNBFIW/OySiaBCtbCwE8ReUgGDpE9gExNJmd6O+hM8gmGJn3yKxt7WyEARBUUSbIPhTGFAwxyarSwoZ2AO3mjkf98y9Y5IoI1fKDVQA0jRtOOd2B8BRST5Jkk4IwCSRZVkbOAYeACdpD3iX9DrUpQO+gHaz2XwuRnCSLuM4vpU0AnSAvplNmdlkocbNbN3MTrz3de/9WKVA/07TdN85twbcA5/A8AsLuAO6wI6k2UrhoGZmy3EcH4Zk995vAAd5hA9gBXgJMQ+0ZWanOaAH1IGrEGer1TJgxszOckAFWATOQwDVanUO6EVR9JYD5oGJJEmeAtvfBG7gb4xLwEWgGWA1v59PoQs8Zlm2ANg/RgETwLRz7voXIOnIzBrAdgCgBvgoivowWOUyKv0bfwCvBmEVd9ynHgAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .files{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKnAAACpwB9NLfEgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAADuSURBVDiNpdO9SkQxEIbh56ynUHQbQbCxEMR/BEGw9B4s1m6t9W5svQgL3d7Wyk4QLES0EcGfQkGbsTgJuywIwTMQEsh8b+ZLJlVEaBOdVmrUad7HQQJO4hQXJYAqWTjHCR4S5BAfeBursoOflP8CIkJEDCJiLq03ozymcgUD9NHDFu7xjfEbjmR7Oo2FemSjizUcl3jHDo6yv0+s47VQDHsYZMAXtnFTKK4wj8sMqLGCq0LAYjr0PQOWMIOnQsAu7hi+8SquC8WwkfPzKzzjEcsaf39FpEpnccuwE3uadp4oAHQ1rX42Cvh3tP6Nv5Cebn/RRiyLAAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .files{background-image:url(data:image/gif;base64,R0lGODlhEAAQANUAAPX19efn593d3dXV1dPT09HR0c/Pz83NzcvLy8nJycfHx8XFxcHBwb29vbm5ube3t7W1tbOzs7Gxsa+vr62traurq6mpqaenp6WlpaOjo6GhoQDZNp+fn52dnZubm5mZmZeXl5WVlZOTk4+Pj4WFhX5+fnx8fHp6enh4eHZ2dnJycnBwcGZmZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFDgAsACwAAAIAEAAMAAAGYEAWCHEohFjIpJJVGJlKD0oGQ8VoVEkCdslFajEMiuVCJlskjwTz1OgmSQsWQhRxIysg1mLysbMcKywKCih2J3UsAgZ+Hh1IABJ+ECVIARwlmJmZJAxJHkQHoaKhA3ksQQAh+QQJDgAsACwAAAAAEAAOAAAGGUCWULgpGo/DpHLJbDqf0Kh0Sq1ar9isMAgAIfkECQ4ALAAsAAABABAADQAABmZAllC4KRqPQhDiUAgNn8/CyFR6UDKYLEajGhK60LDwi2FQLJd02iJ5JFiFU0M8JC1YCFGELqyAWAsTH3wsDissCgoofCd7LAIGhB4dQgAShBAlQgEcJZ6fnyQMQx5LB6eopwN/LEEAIfkECQ4ALAAsAAACABAADAAABmNAFghxKGyOyCSLVRiZSg9KBkPFaFRLFgGb7Xq1KgyDYrmYzRbJI8E8Nb5d0oKFEEXg2QqItZh88EsOKywKCiiAJ3csAgaALB4dSwASjhAlSwEcJZucnCQMWR5EB6SlpAN7LEEAIfkECQ4ALAAsAAACABAADAAABlxAFghxKIRYyKSSVRiZSpuodIokqJbYpBXDoFguYLBF8kgwT41skrRgIUQRNbICYi0mHznLsWIpFChyJ3EsAgZ6Hh1IABJ6ECVIARwllJWVJAxJHkQHnZ6dA3UsQQAh+QQFDgAsACwAAAIAEAAMAAAGZUAWCHEohFjIpJJVGJlKD0oGQ8VoVEkClrXper9ILYZBsVzOZ4vkkWCeGsslacFCiCJxZQXEWkw+eUkOKywKCiiBLCd4LAIGiSweHUgAEpAQJUgBHCWdnp4kDEkeRAemp6YDfCxBACH5BAkOACwALAAAAgAQAAwAAAYUQJZwSCwaj8ikcslsOp/QqHQqDAIAIfkECQ4ALAAsAAACABAADAAABlxAFghxKIRYyKSSVRiZSpuodIokqJbYpBXDoFguYLBF8kgwT41skrRgIUQRNbICYi0mHznLsWIpFChyJ3EsAgZ6Hh1IABJ6ECVIARwllJWVJAxJHkQHnZ6dA3UsQQAh+QQJDgAsACwAAAIAEAAMAAAGY0AWCHEobI7IJItVGJlKD0oGQ8VoVEsWAZvterUqDINiuZjNFskjwTw1vl3SgoUQReDZCoi1mHzwSw4rLAoKKIAndywCBoAsHh1LABKOECVLARwlm5ycJAxZHkQHpKWkA3ssQQAh+QQJDgAsACwAAAEAEAANAAAGZkCWULgpGo9CEOJQCA2fz8LIVHpQMpgsRqMaErrQsPCLYVAsl3TaInkkWIVTQzwkLVgIUYQurIBYCxMffCwOKywKCih8J3ssAgaEHh1CABKEECVCARwlnp+fJAxDHksHp6inA38sQQAh+QQJDgAsACwAAAAAEAAOAAAGZkCWULgpGo/DpHIJQhwKoaWyMDKVHpQMZovRqIaEr3QZxjAolotabZE8EqzCqTEWkhYshChSZ1VALAsTH30OKywKCih1J3wsAgZ9Hh1CABJ9ECVCARwlnp+fJAxDHk4Hp6inA4AsQQA7)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .logs{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABHNCSVQICAgIfAhkiAAAAf9JREFUaIHtmUFOwzAQRccWmyaN2HIEOAXpIag4BnsWcRfsOQZSD9EgNhyBI3SLnMnSw6IpciI7iUMdB8lv0zTxKDPyOF/6AxCJ/AnW9xARCyLKGWP5TPm0IKKSMVamabqzrbEWgIgFAAgfibmilNpkWVaanl31xInzBREZg30zZuf7CgCAU/Lr9XpzkYwckFL+ti7n/B4AStM6PmNOXogFhCYWEJrBr5AOEV0j4idj7PbCeezTNN1OCXTagbqunzwkDwDwUNf145RApwKSJHkloq8pLxpgnyTJ25RApxZijH0DwN2UF/ni3x/iWEBoYgGhiUJ2IaKQjSIK2ZwgIiEiVVV1CJhDMfn9SyhgDItsISll3vhSxv86TofYN10zDRFBdwYRUQCA0J26PmeOANq+0B+E7Mg5365Wqw/bAillzjkf1a66UzeXkN0opZ4nxA0yl5AdOecvvYmc3LcWRFQO2ZrBhayxEAsAyPX7XUO3qqqDZjUemvMQ/hAzxgqDiSu6bjQR7TrrBMBCP6OmeUCWZcZ2WmQBNkx2+yILMImWTciCF9BojOjcFl0l7q4holIptXESMp+4CBloahx8B87YZmBDLKYAF5RS7+drawvpwnHpIZ9tdGoY6wr9t1Hmnb5bIceswjb/bQ5tq62klLmpzQYH3eChiDED7EhkJn4A1qwofp3F9mcAAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .logs{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABHNCSVQICAgIfAhkiAAAAf9JREFUaIHtmUFOwzAQRccWmyaN2HIEOAXpIag4BnsWcRfsOQZSD9EgNhyBI3SLnMnSw6IpciI7iUMdB8lv0zTxKDPyOF/6AxCJ/AnW9xARCyLKGWP5TPm0IKKSMVamabqzrbEWgIgFAAgfibmilNpkWVaanl31xInzBREZg30zZuf7CgCAU/Lr9XpzkYwckFL+ti7n/B4AStM6PmNOXogFhCYWEJrBr5AOEV0j4idj7PbCeezTNN1OCXTagbqunzwkDwDwUNf145RApwKSJHkloq8pLxpgnyTJ25RApxZijH0DwN2UF/ni3x/iWEBoYgGhiUJ2IaKQjSIK2ZwgIiEiVVV1CJhDMfn9SyhgDItsISll3vhSxv86TofYN10zDRFBdwYRUQCA0J26PmeOANq+0B+E7Mg5365Wqw/bAillzjkf1a66UzeXkN0opZ4nxA0yl5AdOecvvYmc3LcWRFQO2ZrBhayxEAsAyPX7XUO3qqqDZjUemvMQ/hAzxgqDiSu6bjQR7TrrBMBCP6OmeUCWZcZ2WmQBNkx2+yILMImWTciCF9BojOjcFl0l7q4holIptXESMp+4CBloahx8B87YZmBDLKYAF5RS7+drawvpwnHpIZ9tdGoY6wr9t1Hmnb5bIceswjb/bQ5tq62klLmpzQYH3eChiDED7EhkJn4A1qwofp3F9mcAAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .logs{background-image:url(data:image/gif;base64,R0lGODlhEAAQAPcAACszOzM7Q9vb2+Pj49PT0ztDQzMzOwPDM+vr6/Pz8wuzM5ubm2Nja3uDgys7O2tzc0NDS8vLy4ODi2trc7Ozs7u7u1NTWzs7Q3t7g8PLy0tTU0tTW8PDywPLMwurOyNbOyNLOwujMx9XLx9fNwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQEBAD/ACwAAAAAEAAQAAAIcgABADBAsKBBggIFVhBAoKFDAgIELDCQcEDCiwINELhoEWNCjRw9ftxYUWRGkgI7igRZ0iTLlCYHUgi5EgODCS09SkiAIMEFmB41IFgAgIMAoBg1DJgYoaNKjBgQ9NQg0GjEqxEgXGhw82OACwG+hvUYEAAh+QQEBAD/ACwAAAAAAQABAAAIBAABBAQAIfkEBAQA/wAsAAAAAAEAAQAACAQAAQQEACH5BAQEAP8ALAAAAAABAAEAAAgEAAEEBAAh+QQEBAD/ACwAAAAAAQABAAAIBAABBAQAIfkEBAQA/wAsAAAAAAEAAQAACAQAAQQEACH5BAQEAP8ALAQAAQAIAAQAAAgUAAkIHCgQgMGDCBMCCOHBgwOEAQEAIfkEBAQA/wAsBgAAAAgABQAACB8ALxgIQDDAhQAEEioUsACAw4cIH0KM4CFERQ8OEAYEACH5BAQEAP8ALAAAAAABAAEAAAgEAAEEBAAh+QQEBAD/ACwAAAAAAQABAAAIBAABBAQAIfkEBAQA/wAsAAAAAAEAAQAACAQAAQQEACH5BAQEAP8ALAQAAAAKAAgAAAgyAC8YCBBgIMELAQgoXKhQwAIAECNCNEBAosSEIRQcUMBRAYiEFiNSDDmRQIiTDiRSDAgAIfkEBAQA/wAsBwAAAAYACAAACCYALxgIYODCBQIIEQoAwJBhgIYOFSg4oEDEQ4gXGwYIwTGEgwABAQAh+QQEBAD/ACwAAAAAAQABAAAIBAABBAQAIfkEBAQA/wAsAAAAAAEAAQAACAQAAQQEACH5BAQEAP8ALAAAAAABAAEAAAgEAAEEBAAh+QQEBAD/ACwEAAAABwALAAAIJgANCBR4IQCBgwgJAFjIsGHDEAcURIzosCLDEBgzhrBoMYQIhwEBACH5BAQEAP8ALAUAAAAJAAsAAAhDAA0YuDDQQIALAQgoXCiAwAIAECMCuEBAYsSEBxRkPHBAxIUIFiEmDAkgYQgPIVKGcDAypAEKLjEw4HggBEQJCRAEBAAh+QQEBAD/ACwAAAAAAQABAAAIBAABBAQAIfkEBAQA/wAsAAAAAAEAAQAACAQAAQQEACH5BAQEAP8ALAAAAAABAAEAAAgEAAEEBAAh+QQEBAD/ACwAAAAAAQABAAAIBAABBAQAIfkEBAQA/wAsAAAAAAEAAQAACAQAAQQEACH5BAQEAP8ALAAAAAABAAEAAAgEAAEEBAAh+QQEBAD/ACwAAAAAAQABAAAIBAABBAQAIf8LWE1QIERhdGFYTVA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA2LjAtYzAwMyA3OS4xNjQ1MjcsIDIwMjAvMTAvMTUtMTc6NDg6MzIgICAgICAgICI+CiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiCiAgICB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIKICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcERNPSJodHRwOi8vbnMuYWRvYmUuY29tL3htcC8xLjAvRHluYW1pY01lZGlhLyIKICAgIHhtbG5zOnN0RGltPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvRGltZW5zaW9ucyMiCiAgIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ZmYyZWY0OTItM2JkZC05OTQ3LTk5YWMtMmQzMzI3MDVhMzIzIgogICB4bXBNTTpEb2N1bWVudElEPSJmZWI4MmYyNS1mZmZiLTNkYjgtY2EzMC0wNjE4MDAwMDAwM2YiCiAgIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoxYTVlZTUyOS03NWE4LTg0NDctODMzMi01NDRiZTAyMTFlYzUiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjItMTItMTVUMTc6Mzc6NTErMDg6MDAiCiAgIHhtcDpNb2RpZnlEYXRlPSIyMDIyLTEyLTE1VDE3OjM3OjUxKzA4OjAwIgogICB4bXA6Q3JlYXRlRGF0ZT0iMjAyMi0xMi0xNVQxNzozNzoyMSswODowMCIKICAgZGM6Zm9ybWF0PSLliqjnlLsgR0lGIgogICB4bXBETTp2aWRlb0ZyYW1lUmF0ZT0iMjUuMDAwMDAwIgogICB4bXBETTp2aWRlb0ZpZWxkT3JkZXI9IlByb2dyZXNzaXZlIgogICB4bXBETTp2aWRlb1BpeGVsQXNwZWN0UmF0aW89IjEvMSIKICAgeG1wRE06c3RhcnRUaW1lU2NhbGU9IjI1IgogICB4bXBETTpzdGFydFRpbWVTYW1wbGVTaXplPSIxIj4KICAgPHhtcE1NOkhpc3Rvcnk+CiAgICA8cmRmOlNlcT4KICAgICA8cmRmOmxpCiAgICAgIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiCiAgICAgIHN0RXZ0Omluc3RhbmNlSUQ9IjlkMWU4YTJjLWE4NGUtM2U1Ni04ZDI0LWRjZjEwMDAwMDA2YyIKICAgICAgc3RFdnQ6d2hlbj0iMjAyMi0xMi0xNVQxNzozNzo1MSswODowMCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgQWRvYmUgTWVkaWEgRW5jb2RlciAyMDIwLjAgKFdpbmRvd3MpIgogICAgICBzdEV2dDpjaGFuZ2VkPSIvIi8+CiAgICAgPHJkZjpsaQogICAgICBzdEV2dDphY3Rpb249ImNyZWF0ZWQiCiAgICAgIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MTJjMmZmZmItZGM3NC02ODQyLWIxOTEtMDhhMzgzM2RhMDgyIgogICAgICBzdEV2dDp3aGVuPSIyMDIyLTEyLTE1VDE0OjUwOjAyKzA4OjAwIi8+CiAgICAgPHJkZjpsaQogICAgICBzdEV2dDphY3Rpb249InNhdmVkIgogICAgICBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOmYxNDI3ZWYyLTQ1ZjEtMmY0Zi1hNDY0LTU4MzgyOGMxNjJlNyIKICAgICAgc3RFdnQ6d2hlbj0iMjAyMi0xMi0xNVQxNDo1MjoxNCswODowMCIKICAgICAgc3RFdnQ6Y2hhbmdlZD0iL2NvbnRlbnQiLz4KICAgICA8cmRmOmxpCiAgICAgIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiCiAgICAgIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6NTZjODkxYmQtMzQ4YS01OTQ3LTk2MDItMjFkM2JlZmRiZjAwIgogICAgICBzdEV2dDp3aGVuPSIyMDIyLTEyLTE1VDE1OjQwOjE5KzA4OjAwIgogICAgICBzdEV2dDpjaGFuZ2VkPSIvY29udGVudCIvPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJkZXJpdmVkIgogICAgICBzdEV2dDpwYXJhbWV0ZXJzPSJzYXZlZCB0byBuZXcgbG9jYXRpb24iLz4KICAgICA8cmRmOmxpCiAgICAgIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiCiAgICAgIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6NThkMTQ4M2QtZjAyMy02ZTQ4LWE0NTYtZDg3YTA1YWEzMWQ1IgogICAgICBzdEV2dDp3aGVuPSIyMDIyLTEyLTE1VDE1OjQwOjI2KzA4OjAwIgogICAgICBzdEV2dDpjaGFuZ2VkPSIvIi8+CiAgICAgPHJkZjpsaQogICAgICBzdEV2dDphY3Rpb249InNhdmVkIgogICAgICBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOmRmMzhmYzNiLTE5ZGEtNGY0MC1iMjU2LWVhYzIxOWFjZGNmMiIKICAgICAgc3RFdnQ6d2hlbj0iMjAyMi0xMi0xNVQxNjowMzo0NiswODowMCIKICAgICAgc3RFdnQ6Y2hhbmdlZD0iL2NvbnRlbnQiLz4KICAgICA8cmRmOmxpCiAgICAgIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiCiAgICAgIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6NzZjOTFlOGYtZTkyZC1iMjQ1LWJkYWItODdiYThmMDU5ZjkwIgogICAgICBzdEV2dDp3aGVuPSIyMDIyLTEyLTE1VDE3OjM3OjQ4KzA4OjAwIgogICAgICBzdEV2dDpjaGFuZ2VkPSIvY29udGVudCIvPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJzYXZlZCIKICAgICAgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDpiNDJmZDUyMi00NGM4LTdmNDUtYTJjNS1iMjU0ZDdiNDdjMDciCiAgICAgIHN0RXZ0OndoZW49IjIwMjItMTItMTVUMTc6Mzc6NDgrMDg6MDAiCiAgICAgIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4KICAgICA8cmRmOmxpCiAgICAgIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiCiAgICAgIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MThjMjc4NjktMDAyMS04YzRmLThjMDMtMzVlZTU3MzAwZGQ5IgogICAgICBzdEV2dDp3aGVuPSIyMDIyLTEyLTE1VDE3OjM3OjUxKzA4OjAwIgogICAgICBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBBZG9iZSBNZWRpYSBFbmNvZGVyIDIwMjAuMCAoV2luZG93cykiCiAgICAgIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4KICAgICA8cmRmOmxpCiAgICAgIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiCiAgICAgIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6ZmYyZWY0OTItM2JkZC05OTQ3LTk5YWMtMmQzMzI3MDVhMzIzIgogICAgICBzdEV2dDp3aGVuPSIyMDIyLTEyLTE1VDE3OjM3OjUxKzA4OjAwIgogICAgICBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBBZG9iZSBNZWRpYSBFbmNvZGVyIDIwMjAuMCAoV2luZG93cykiCiAgICAgIHN0RXZ0OmNoYW5nZWQ9Ii9tZXRhZGF0YSIvPgogICAgPC9yZGY6U2VxPgogICA8L3htcE1NOkhpc3Rvcnk+CiAgIDx4bXBNTTpEZXJpdmVkRnJvbQogICAgc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo2ZGUxZmEzNC0wNzNlLTJiNDgtYTNmYi0yY2Y3ZjFhMzczNjAiCiAgICBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjZkZTFmYTM0LTA3M2UtMmI0OC1hM2ZiLTJjZjdmMWEzNzM2MCIKICAgIHN0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoxMmMyZmZmYi1kYzc0LTY4NDItYjE5MS0wOGEzODMzZGEwODIiLz4KICAgPHhtcE1NOkluZ3JlZGllbnRzPgogICAgPHJkZjpCYWc+CiAgICAgPHJkZjpsaQogICAgICBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjg1NmYwYzA0LWU0MzUtNzk0Ny1iMmQwLTkwMDliMjlhYzdmNiIKICAgICAgc3RSZWY6ZnJvbVBhcnQ9InRpbWU6MGQ3NjgwMDBmMjU2MDAiCiAgICAgIHN0UmVmOnRvUGFydD0idGltZTowZDc2ODAwMGYyNTYwMCIKICAgICAgc3RSZWY6bWFza01hcmtlcnM9Ik5vbmUiLz4KICAgIDwvcmRmOkJhZz4KICAgPC94bXBNTTpJbmdyZWRpZW50cz4KICAgPHhtcE1NOlBhbnRyeT4KICAgIDxyZGY6QmFnPgogICAgIDxyZGY6bGk+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24KICAgICAgIGRjOmZvcm1hdD0iYXBwbGljYXRpb24vdm5kLmFkb2JlLmFmdGVyZWZmZWN0cy5sYXllciIKICAgICAgIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NWI1MGU1ZTktMTRlMy0zZDQyLWEyMmMtMDY5NjNjNGY3ZWJjIj4KICAgICAgPGRjOnRpdGxlPgogICAgICAgPHJkZjpBbHQ+CiAgICAgICAgPHJkZjpsaSB4bWw6bGFuZz0ieC1kZWZhdWx0Ij7mt7HoibIg5ZOB6JOd6ImyIOe6r+iJsiAxPC9yZGY6bGk+CiAgICAgICA8L3JkZjpBbHQ+CiAgICAgIDwvZGM6dGl0bGU+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICAgIDwvcmRmOmxpPgogICAgIDxyZGY6bGk+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24KICAgICAgIGRjOmZvcm1hdD0iYXBwbGljYXRpb24vdm5kLmFkb2JlLmFmdGVyZWZmZWN0cy5sYXllciIKICAgICAgIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6N2U1M2FmMjctYzQzNS1iNjQ5LTk4MTAtNTYzYjE4ZmI5ZDI1Ij4KICAgICAgPGRjOnRpdGxlPgogICAgICAgPHJkZjpBbHQ+CiAgICAgICAgPHJkZjpsaSB4bWw6bGFuZz0ieC1kZWZhdWx0Ij7nn6nlvaIgODEucG5nPC9yZGY6bGk+CiAgICAgICA8L3JkZjpBbHQ+CiAgICAgIDwvZGM6dGl0bGU+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICAgIDwvcmRmOmxpPgogICAgIDxyZGY6bGk+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24KICAgICAgIGRjOmZvcm1hdD0iYXBwbGljYXRpb24vdm5kLmFkb2JlLmFmdGVyZWZmZWN0cy5jb21wIgogICAgICAgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo4NTZmMGMwNC1lNDM1LTc5NDctYjJkMC05MDA5YjI5YWM3ZjYiPgogICAgICA8ZGM6dGl0bGU+CiAgICAgICA8cmRmOkFsdD4KICAgICAgICA8cmRmOmxpIHhtbDpsYW5nPSJ4LWRlZmF1bHQiPuWQiOaIkCAxPC9yZGY6bGk+CiAgICAgICA8L3JkZjpBbHQ+CiAgICAgIDwvZGM6dGl0bGU+CiAgICAgIDx4bXBNTTpJbmdyZWRpZW50cz4KICAgICAgIDxyZGY6QmFnPgogICAgICAgIDxyZGY6bGkKICAgICAgICAgc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1YjUwZTVlOS0xNGUzLTNkNDItYTIyYy0wNjk2M2M0ZjdlYmMiCiAgICAgICAgIHN0UmVmOmZyb21QYXJ0PSJ0aW1lOjBkNzY4MDAwZjI1NjAwIgogICAgICAgICBzdFJlZjp0b1BhcnQ9InRpbWU6MGQ3NjgwMDBmMjU2MDAiCiAgICAgICAgIHN0UmVmOm1hc2tNYXJrZXJzPSJOb25lIi8+CiAgICAgICAgPHJkZjpsaQogICAgICAgICBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjdlNTNhZjI3LWM0MzUtYjY0OS05ODEwLTU2M2IxOGZiOWQyNSIKICAgICAgICAgc3RSZWY6ZnJvbVBhcnQ9InRpbWU6MGQ3NjgwMDBmMjU2MDAiCiAgICAgICAgIHN0UmVmOnRvUGFydD0idGltZTowZDc2ODAwMGYyNTYwMCIKICAgICAgICAgc3RSZWY6bWFza01hcmtlcnM9Ik5vbmUiLz4KICAgICAgICA8cmRmOmxpCiAgICAgICAgIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6YWM5NGVmNzAtMmVkNC03YjQzLTg5YTktNzU0NTkwMjExOGVmIgogICAgICAgICBzdFJlZjpmcm9tUGFydD0idGltZTowZDc2ODAwMGYyNTYwMCIKICAgICAgICAgc3RSZWY6dG9QYXJ0PSJ0aW1lOjBkNzY4MDAwZjI1NjAwIgogICAgICAgICBzdFJlZjptYXNrTWFya2Vycz0iTm9uZSIvPgogICAgICAgIDxyZGY6bGkKICAgICAgICAgc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpiMjY3NDgyNS05MjE4LTQ1NDYtYjA4ZS01ZTI3M2QyNDAyMjgiCiAgICAgICAgIHN0UmVmOmZyb21QYXJ0PSJ0aW1lOjBkNzY4MDAwZjI1NjAwIgogICAgICAgICBzdFJlZjp0b1BhcnQ9InRpbWU6MGQ3NjgwMDBmMjU2MDAiCiAgICAgICAgIHN0UmVmOm1hc2tNYXJrZXJzPSJOb25lIi8+CiAgICAgICAgPHJkZjpsaQogICAgICAgICBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOmNiYmJlOTY0LTM0MmYtYTM0ZC1iM2Q2LTI3ZGUyOTE3MWFhYSIKICAgICAgICAgc3RSZWY6ZnJvbVBhcnQ9InRpbWU6MGQ3NjgwMDBmMjU2MDAiCiAgICAgICAgIHN0UmVmOnRvUGFydD0idGltZTowZDc2ODAwMGYyNTYwMCIKICAgICAgICAgc3RSZWY6bWFza01hcmtlcnM9Ik5vbmUiLz4KICAgICAgIDwvcmRmOkJhZz4KICAgICAgPC94bXBNTTpJbmdyZWRpZW50cz4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgICAgPC9yZGY6bGk+CiAgICAgPHJkZjpsaT4KICAgICAgPHJkZjpEZXNjcmlwdGlvbgogICAgICAgZGM6Zm9ybWF0PSJhcHBsaWNhdGlvbi92bmQuYWRvYmUuYWZ0ZXJlZmZlY3RzLmxheWVyIgogICAgICAgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDphYzk0ZWY3MC0yZWQ0LTdiNDMtODlhOS03NTQ1OTAyMTE4ZWYiPgogICAgICA8ZGM6dGl0bGU+CiAgICAgICA8cmRmOkFsdD4KICAgICAgICA8cmRmOmxpIHhtbDpsYW5nPSJ4LWRlZmF1bHQiPue7hOWQiCAxNS5wbmc8L3JkZjpsaT4KICAgICAgIDwvcmRmOkFsdD4KICAgICAgPC9kYzp0aXRsZT4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgICAgPC9yZGY6bGk+CiAgICAgPHJkZjpsaT4KICAgICAgPHJkZjpEZXNjcmlwdGlvbgogICAgICAgZGM6Zm9ybWF0PSJhcHBsaWNhdGlvbi92bmQuYWRvYmUuYWZ0ZXJlZmZlY3RzLmxheWVyIgogICAgICAgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpiMjY3NDgyNS05MjE4LTQ1NDYtYjA4ZS01ZTI3M2QyNDAyMjgiPgogICAgICA8ZGM6dGl0bGU+CiAgICAgICA8cmRmOkFsdD4KICAgICAgICA8cmRmOmxpIHhtbDpsYW5nPSJ4LWRlZmF1bHQiPuefqeW9oiA2NS5wbmc8L3JkZjpsaT4KICAgICAgIDwvcmRmOkFsdD4KICAgICAgPC9kYzp0aXRsZT4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgICAgPC9yZGY6bGk+CiAgICAgPHJkZjpsaT4KICAgICAgPHJkZjpEZXNjcmlwdGlvbgogICAgICAgZGM6Zm9ybWF0PSJhcHBsaWNhdGlvbi92bmQuYWRvYmUuYWZ0ZXJlZmZlY3RzLmxheWVyIgogICAgICAgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpjYmJiZTk2NC0zNDJmLWEzNGQtYjNkNi0yN2RlMjkxNzFhYWEiPgogICAgICA8ZGM6dGl0bGU+CiAgICAgICA8cmRmOkFsdD4KICAgICAgICA8cmRmOmxpIHhtbDpsYW5nPSJ4LWRlZmF1bHQiPuefqeW9oiA4MC5wbmc8L3JkZjpsaT4KICAgICAgIDwvcmRmOkFsdD4KICAgICAgPC9kYzp0aXRsZT4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgICAgPC9yZGY6bGk+CiAgICA8L3JkZjpCYWc+CiAgIDwveG1wTU06UGFudHJ5PgogICA8eG1wRE06dmlkZW9GcmFtZVNpemUKICAgIHN0RGltOnc9IjE2IgogICAgc3REaW06aD0iMTYiCiAgICBzdERpbTp1bml0PSJwaXhlbCIvPgogICA8eG1wRE06ZHVyYXRpb24KICAgIHhtcERNOnZhbHVlPSIyNSIKICAgIHhtcERNOnNjYWxlPSIxLzI1Ii8+CiAgIDx4bXBETTpzdGFydFRpbWVjb2RlCiAgICB4bXBETTp0aW1lRm9ybWF0PSIyNVRpbWVjb2RlIgogICAgeG1wRE06dGltZVZhbHVlPSIwMDowMDowMDowMCIvPgogICA8eG1wRE06YWx0VGltZWNvZGUKICAgIHhtcERNOnRpbWVWYWx1ZT0iMDA6MDA6MDA6MDAiCiAgICB4bXBETTp0aW1lRm9ybWF0PSIyNVRpbWVjb2RlIi8+CiAgPC9yZGY6RGVzY3JpcHRpb24+CiA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgo8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAOw==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .node{background-size:18px!important;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAC7klEQVR4nO2W31HbQBCH94SdVzsV4FSQdBCnglCCqQBdjJ1HxGNsHIkKcAmkgogOQgUxFcS8BkfKt5KMLSHbsmGGYYZvZoc9vLf3O92/NfLMvFwBvu+37v5FJ7hS33NOrbUT2YGtBTBwczaLjmIRl2YTU6YkCmo159xaO6VdGfpV5+zMP4gk8iWWlqTcYMo+ptkmjjj2+Nhe0qqEwTYy8P0PMot9kbgtGbHI6ZuaE+DK31nkksjFbWBgQqkZ27f2F4210G81+rlZZ51xRxb8qNccl089kSWIbd3NogD3M5ZiZMz+IHT1sqwUMByOTpili9vENPBaxHF7PRvKGoZDvy0SBfR9LylT+ga9XvcU/wEGy6EJYhNdMOuWpNyKI26/2x3LFgxGo45EEuA2MB1pYmLnsDgBg+UYDEeIzzDmvL5nvHWfcB0sSzPbHyc0E/q9Ls0FuYaSF5CsYekZT76U6MbUMGOLM1MQkN4VS3uokgD+eY0KnfVHbEr7/oxnSXVjHvDbAiOXiCUkFVvYQ1dYSziulQTw54rAdnLu42Rn7xPJGsolP3YkTVoKCQNmcIDAlnBPOMZx9V4gbyhMiLyGv/fkGgqBjJEKkIxvw5FHoIvbwKpwS5Lga6/rSQZ5Q9lVgJKuefQTdyNGnE/FPUHeUF4FvAp4jAAlEzEWPZbl3DB4pzi4Qt5QHitgDpeMS5Ani2N5SyKPByfAL4W8oTyVAIUbscnz+wdXeJ7fWm5J3JWQN5QtBMDmomIeW0y6TLGYKcbmGkr2jHoyX+f0QWKCD2e4ToB+IWrH+XuglD7rDzoq2rnwjE55mr3+8Zdz/HtWCRicfT+SOPYkezMISsq3sknkOhZBSL7MSh6kRVFRFJCcknwxU1q+LWOwjWhiyZVZJqzXzCHiftMQBnl3N4svmGtbgKTXVco3hdjqZPtDv0gDK2PjcSxC/HawLFTKrG8cH9FcsGP5trWAOQjR/TEWYAk6DDyRHdhZwFPx7AL+A2XBxTB9HMhUAAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACpElEQVR4nO2Xi1HbQBRF71ZgpQKUCqCDKBXgEpQKEBVYrgC5AlwCVJClA1xBRAWRK1DOY+XP+oMlwwyTGc7MmWtZ7719xJ+A0yfz/y7Qtm0qaYLG1DlX6wwGL8DBCXGDBSZoNFjhjEUasjeDFuDwMXGHqQIvaFygUUu6ZYkHshcOT8LBV4QdnGnDFCs0is4RGl5hkWfyTRwehYMT4g5zbXjEguG1tqA2VVjoGlfMFRZpyIMcXYCBE6LABI0F2sFeb0BfprDIJRoNVvRNyT0cRnQD7jFVYIkFA+YaAHNycTCO0Kgl/XI7P4DDCBpbYsUMS5oacjCMSogCJ/gKs6IzowuDppZYMRdvNrfzehuUZQrvD8NeZ68dqEkVDs/VQV10ZnRh0NQSC2zwB1pWOKO34XaqcPAYt3nAW2pqAXUTosAEnzAVH1fuO3JNdGHQ2BJPzrmMh2MeV3iBtcIhucLQY1Q4xlThe8LePw/M8uIH4rEj10QXBoUt8eRYQB08VYpBOMI+LLFiRqkOZnidu4DB05mk39iHn27nPUG/19cCXwu8ZwGDW5nCl9MFHuIFc3q9dqDX670LrKDEPpKlNh9L+9iV9FTkQejx+qgFDMoS4i8a36hvyKNQ7zVgAcMrfLU+kweh9LWWmr05Kyi5Iu4wE1Aa1UYXBg25+OfU5nWeKyzSkBHUtsTeUINbCTHBAg17mQpK59pir9Homgu0AUaDJc0zcg11LSGej+bw9A1RavN/xhQryhoywuFRGJSKRrxGo9bWLxXcjxbgMlP8y8wjFtyudQSHJ+kG2yKXaHixCP5B4zveY6bAAu1grxM47A2L5AqLjPAQSyw52Gp6MWgBgyUSolT442SbGdrhDdmbwQusYJFU4RNi5Bxc6wzOXuCj+PQF/gGjJ1cw9OUM3wAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACpElEQVR4nO2Xi1HbQBRF71ZgpQKUCqCDKBXgEpQKEBVYrgC5AlwCVJClA1xBRAWRK1DOY+XP+oMlwwyTGc7MmWtZ7719xJ+A0yfz/y7Qtm0qaYLG1DlX6wwGL8DBCXGDBSZoNFjhjEUasjeDFuDwMXGHqQIvaFygUUu6ZYkHshcOT8LBV4QdnGnDFCs0is4RGl5hkWfyTRwehYMT4g5zbXjEguG1tqA2VVjoGlfMFRZpyIMcXYCBE6LABI0F2sFeb0BfprDIJRoNVvRNyT0cRnQD7jFVYIkFA+YaAHNycTCO0Kgl/XI7P4DDCBpbYsUMS5oacjCMSogCJ/gKs6IzowuDppZYMRdvNrfzehuUZQrvD8NeZ68dqEkVDs/VQV10ZnRh0NQSC2zwB1pWOKO34XaqcPAYt3nAW2pqAXUTosAEnzAVH1fuO3JNdGHQ2BJPzrmMh2MeV3iBtcIhucLQY1Q4xlThe8LePw/M8uIH4rEj10QXBoUt8eRYQB08VYpBOMI+LLFiRqkOZnidu4DB05mk39iHn27nPUG/19cCXwu8ZwGDW5nCl9MFHuIFc3q9dqDX670LrKDEPpKlNh9L+9iV9FTkQejx+qgFDMoS4i8a36hvyKNQ7zVgAcMrfLU+kweh9LWWmr05Kyi5Iu4wE1Aa1UYXBg25+OfU5nWeKyzSkBHUtsTeUINbCTHBAg17mQpK59pir9Homgu0AUaDJc0zcg11LSGej+bw9A1RavN/xhQryhoywuFRGJSKRrxGo9bWLxXcjxbgMlP8y8wjFtyudQSHJ+kG2yKXaHixCP5B4zveY6bAAu1grxM47A2L5AqLjPAQSyw52Gp6MWgBgyUSolT442SbGdrhDdmbwQusYJFU4RNi5Bxc6wzOXuCj+PQF/gGjJ1cw9OUM3wAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .account{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABjElEQVR4nKWRzW3CQBBGZ7nBKXTgEswROMR0AB2QCoAK4hI2FbAd4A7iCyBxMakAl8AJhEBs3lgYYhQlSHzSejx/b9ZjI3daLBYjzFBEQk4qIh+dTidZLpdBu93O5U4VwHw+nxpjmpyxFq9Wq/B4PDoRSTiice/9rNFoTFqt1pbQDcCEiGTMtEh+KMuyl/1+n9McKpQbOhHZUjfG3gBMjynShMWt6NKUkEsUuNvtNt1ut0nsYYAlt+YGThC+p67oLR4qgn3MiEQPe5VO5BMyAD0AxV5Op1NCXSDIcK4CkrKHTbkk9hLgT0Xkq16vx4fD4fV8Plv8CYAEWwUona1/Mu0Ft9Qaf0DjEKt/wddqtQG3SQVdAUx7996/8Wop1O9NiUU0RvhDTkzMaYw6V/qGBr26xYRcs69X570imgJACZOtNl32kgMJjSYhpjSHvzWXuq/DH+JHhukOUqpk+UfUWkzOAi2AAMBMARnUnlJJ/imaIprGAPq4CnQKUGIgDwhAAMBRH8lFxRKf0dOAb1+0+Iv8rQDnAAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .account{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABTklEQVR4nKWSgVGDQBRE9zrADq4EOvDSAekAKwhWICWcFeQ6kA6kA7ECKYEO8H0gKOhoZrIzm/3/77+dA+K0wziOJ6SUlMNW0rNzrmHu0V47bAJYOiN3sLJlegtJkhpoqOALfMQf0K8AloOkGiPoG5hnSC9uhNfTJ0kDdYVuAmrNRkQ3wEviFnj2KBn1B7Xd9OoAm3V4SYB+pJ7OTj8GZgVyYn5AVzDPkDd4cPMj5NQNtRdwcAVmK64Hp5dE7yWd4TusJd3DCM1v0B8BOfIKM3hBB4+w1PwVRngkoBVYAzj8hDzACDtbYBYkBc2H7QulZZa09I5CDO1QDguGA7oBvhfPDSN+os+oe3HG0XjN/7gcc0B/xX6PvhS3s4AkDIZJ/4DdiPTsRmov/pUWcPlEA/on2A3iRbJboNYnC7BEryvArhcvkP2gBQ7ehJsDPgGuzbA0XPT67wAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .account{background-image:url(data:image/gif;base64,R0lGODlhQABAAPYAAAAAAB4zIxEREQzBOWt3biGbPyx4QDZtRJCQkKCgoFBQUGBgYE9PT7+/v4CAgHBwcNDQ0BAQELCwsK+vr/Dw8P///x8fH8DAwN/f30BAQOHh4TAwMAEEAhk5ITpkRBZKI3qBfBRYJQICAgaxMYuLixqnPZWVlaSkpDeLTERJRR4eHiEuJA2HLALVNg7GPA/QPxJvKQLYNwvUPQTYOAqfL56eniiQQmhoaAPLNADYNhYwHExRTqqqqhyiPRYnGj9URM7OzkZTShO6PENPRhNkJxB5KnaUfnmLfgi/NczMzLm5uQsWDpCYknCpfwmuMgfVOnOgfoWdi36gh+zs7IGBgRa1Pnd3dw7XQBjCQoaGhg0VDxohHEFPRDtaQv39/cnJycTExBwiHS6EQ9TU1EFORNjY2Ghza9HR0c/PzzGuUF9+Z1GRYT17TZmZmSS5STumVliIZB4uIu/v7+Dg4BwgHVyxcWCocmWXcerq6maNcGuieB+tQkRERBwhHra2trOzsyH/C05FVFNDQVBFMi4wAwEAAAAh+QQFDwAAACwAAAAAQABAAAAF/yAgjmRZRsvUYFXVNM9mznRt31nT7nyLLbeg8GbR9Y47jGLIZCooSMoFgqwgTqqEg9FkPnoahIxkeVB5k8hI0qM41N3agueG0xQa9OgSXcZNGzwQYzcRCTwOIht5SFd/IxEsLRB2Qoc7GSQbKT0JjyIOOxSVQ2wtDTMZZy1AfxFQLZlxrzt+WDwWf3Onn7sVEjWrnnGmFbKPsBWkIxbJuU0RSZ8ilxW2JqEtjkwZO8OfCjuJNBY7EF3dLeOfgdo2q13Z1tMiOxc2CJhN8sef9jb8mvha96gcrxoBue3Y9iidFYD6mESbRC8fKxvFnjFhVEHjH0kdbYiKY7HCtzgOz//J8RbHYAuPTVa1ogHyGpNqKuOJWjaipIaCyU4K8VXhwcpan7544zmD6D0a8n7Rq1YBQr8ZFiYIWoYCZFWmTYq1mMAFEIJkFSgQivDgxRFK9EZQbSFlggMEK95WmmsO7J8nVaowFMGnSoOrnzJoDYwEw4NKgAOnmYaHsWUrlTJkeOBglSjEQopEuYDAgQPNpiV4FjWzhAUHaCu0FqKURxhC5MwcacDUUI/ZNuZqAE5EbFXcJTagJX7CMwWjDQvTRU7GM3USETxf8Dskqtoa2XfWoCp02oJkFGCSSTZYLg/m7JLBvYPLRDhxcWcoZzl+BzDsIJWXnwgOGVODSyH11NeZgDT4FBx+IiB4HYMicESQa9JQsxCFNTiEwTs75EJLC9wxKJ1NJJQERG0CcjiCQ6jQ4NAVq0zoYoU7MOXSdubciA9SNNhz30M+yrhhkD6UhGKRI/RIQ2FS5MgkDfDQsEtbO0xJQzE2WCCDJE9pWYI8NjZ5kJgkJGQDLGGiKUJtZYowx3duQsJHe3XmqeeefPbp55+ABipoXCEAACH5BAUPAAEALAAAAABAADkAAAf/gAGCg4SFhmqGiYqLjI2OjYiPkpOUhkGVmIuXi2eVNQGbmaKGnaOmgmaVoZOrp4OlrrGNsLGphZ+yuYW0trqirbq9psKcvsbHusDIo8qMaMu5tL/Q1NWYxNbZ2o7Pstjb4NrShd/g3QHllqfn4Zm4k+nkhM2Y747x2eyS46i7yPSi+G0TSMoXwHbUDrpSOIqgNYGRJOHz5fDRxEH2+q2jdFHfQEoezUnKmOsiJXsmAzI6yBChS10VX8rE5AaLzZn+CAmwiYVHO4ap0vBsg5MRTzhFF+20icAlQxQ8QSRV9IZny2MhDQm1KSBczF5bsUylynNsojU8RZgthKDsWkJsDGyieFuIQwQAdAcFAgAh+QQFDwAGACwAAAAAQAA5AAAG/0CDcEgsGhdG4SrJbDqfxhTUgJxar0QV1qDYepvdLzPBFX+XWbO6WL2GsW81ejg/r+9WKb09JOP/UWx4empxTVpefGaKgGCNSYhKj2KGf4R3lZBml2t1k0WZn0ScbqJOpE6MZpGlrYNeqKZMqppirHKymFa0Vqy3X7ygucNQrH5XwUR8oV7HUMnEZU6/s9EMtUWe0du6srGwr96PKd/SW9RR5UK01NC9T+hb7gYizuvn2Eae0AIDgKTa6GRz0s+frIBbOAxYOElRvHhDRCxkOO8KwiRxfhWYaHDSRSwBOCIwdembr4gcT3DzEmIigo/cqIkkpk5Ty4UgVgphpszATDZrUzhxhKmT1YeJBHQO4TmkBNKVNYtw9KAUC8eqz4ZcxQpvyVasRL9WrSlWKVEUE7laDKHWShAAIfkEBQ8ACAAsCQAeAAYACgAABBgQSQkmOkOGwUHhYCgOHyggHFGhhkVYSAQAIfkEBQ8AAgAsAAAAAEAAOQAAB/+AAoKDhIWGh4JxiIuMjY4CfI+Sk5SDfZUMlZqLmZuINZ6hioSXoaamnZSppqOWrKewkpGuhqCxt4azuIK6oauLpbvCu73DAsHHxpq/t8Woj8iYuK3KhMzVg86y2Ija3InLqrjejOTfmtGU6Z7r59vfyO3G1+7uyLbc9Jr49afmyf3YHaIWUACFMX8QkLjhwE/BcklIVEFCsWLFKs9iHZhosWPFRvpu2fBI8qMjPub+IfoghCQIhSAg8bHyIGYleZQ4drQSoBHOYRxadjRwcyAwTR1IAvDkjCCpQk4JsezYU1jUShE8VpP3U1BHG1YnrUonlOINY1crhbDooFovcvFNCLF9OInFxbQB11l0p9LQJRh7C4YsZBFBvb7F7tI9OmityYeDvQY+XMnigcWSFGN2NHnzQEWdH+KVTHGzSp2bRwvo8dgzoxAwRLhuFAgAIfkEBQ8AAgAsAAAAAEAAOQAAB/+AAoKDhIWGg3OENwGHjY6PkIZDkYmRlpeNdJgCcwqbn5AKcoejEKBUoJdmhYmMhHRmpphyqKmWtKGVl3Ketq+EEK6ftQG6vo66sraTg8LHhbUCo8+HQ8rP0wLMoNm9kJrU4Y7Xz9up2Y502eCpxuWO0aDm74Lxhezkkdv2oM6P+ZeieRNnaR4kgQQPDjIY8Bk7hYIYOpKYiiK0hbYAJjz00JKujp8+3tqIaZvGcA9BXjrJCuMxlvAGoXvkDpM6casK+spJchA/ghAsCuh40hjMjYzQyXF2o9FRW3Mk6KlD1c6Emk8FZC05AUuLr2DDujDSAE/FcCJsiF3Lts6dMITvRPUc1IOt3btERCwcYoZKPl6piNjFQvUIlSFD8tghfLcDRyozP4lw0TZSnDte1/aMwLbHpw+ZwQZLFxnSB7Z6QQEQQ/mrNH+vrsEmJFis42McMgta+k+mow5rUz8DUFemSkE3H3EQ6zlhkWwsB4LEEdZOzwClPxWpPldb3HS/BE0GW6e7oZqNotX9imX2Rl0/kSMaFNaIeZecesvfzv5+o4GQhEWCf/g9Mk9Y7s2F3j20gYUFgf9ZQl1/EEa0yRxhVXjIUXIgqKEgW5mR4Yc2MTLih9EkSB9YJAqAUIAsksiTioLsEWOLmxDBAo6fBAIAIfkEBQ8AAAAsAAAAAEAAOQAAB/+AAIKDhIWFAoaCDx2JjY6PkIZkkZSVlolhl5qbnJuIgg4KnZAPiYyEYaWGn40OrKOOrrCzj6eDto+vAA6CuLSHwJ2Tt7+FvIO6v8O0r8uXyauFmcXU1YXOsNAA04LcldrWhMec2MXjhtxAmsvnnL7h7eGQ5Y/j9PL2nfGa3vWD940AbhIo7t+zQerkPep3iWEnhwrJRURFkVPCiYYuXjoH7hdETqomhhTUkdO+YkAIMkwGraQwUzBJLngh40qMK4RcWjRh80WVKicavRpws2gMZNZ4Gl1a1ESZRj2NEiJoqccMpliXVsHlgmm0UVWyisVKQxCHEAd+PADBIxHVRDDRxlaxEorMg7BRmcLAdPISTaYD3knDq1foqA5YN8VlysKRYEghEneyurRxo36PBbFgGmJWhLwx9hrO2Sjy0mIiiBrN/JGQVms0rhbVuc1QzaJV5C2+OfLSZtwRxRgF6M3bUtqTi4KoNG7EaowiovZ1aJQKRkEeelrK9Psm8llWbmqSev2fzXmFnpdXdBSANm/dca5nP/7mgPmCyLSvZFQMfkHtaeSIevjJR8kD5P3nAiVhMJIgfj0QA8mD81lh0IRF/aeIhI8QpqF7mrBQ1oeaBAIAIfkEBQ8AAgAsAAAAAEAAOQAAB/+AAoKDhIWFWoaDOomMjY6PhlyQk5SViVuWmZqbmogCCZyhi4SYl4+eoaepq46jipOoha6shrECtpaSr4agtLe+hLqsscKWuLWywMrLg8Wpx7+7ldDMtM7VyYIQmdei2N/cnN3gAuPk0bnpvuaN7Mja5++bpcPxoe6+9OiZ2/aD/c/A6evlb1UCagUpQXCnTxCuYwiXzZKmpcSVGTkygvHisNoXBxcH1WAU60XGkydrRNSUBSPKlzEufmEE86UHX1Vi1twZQ9AHQi14nlzpCIvQoydHcBDQgYUNDw+sILj4El8iFjprVonKhcuNnC5rsrh0g2rGTWFfQgpgtCYNkji6Tmb6kDVpJqwwRzACAAOjpb4wl2oSARalXkYdrpB6BJNV4pdjSR5q1NhXXJQ/JUNSu2zES6L7BAWVW40GZ02mT2L5ZvHkTc0dB30GZ5K0JRcoJzLjENZKo4aiTzqIZ0A4JUypM4JmZXaHJeP2uuik0q5Q7oJmoTW07a/wa8aqE0rPeIMSd38oJ6VPKCAsgM3n7dXOIfjSovUJC2d2hLK+vweuwXcWe+1lpFsi8cWjBQk5PEDgYB+8B0kgACH5BAUtAAEALAAAAABAADkAAAf/gAGCg4SFhUuGiYqLjI2MP46RkpOJPpQBO5eai5maTIeCNSCdm5efhZaJiIsgq6WNrY+apK+vroIgjqe2oKWQjTW1uYO3tYS/xgG3yJTLqqjJ0dKOzLXFg6mC2ZLX0bSFwwG7ktW1pOGG2UCXyOjG49Ph39OGu+WM8vT4g/eR7prb9gnqpwgZvFmDDhLKN8nVuloKGwWkNLFUxWgR2elTtO2io4eU5l0CSQldt1DJtgXbaEjkphonX/2bBoSgNkPXusU0pyijMidPYuQYKoUYywZNZCh1ISSKoltKh0olunNWk0ZSlYij9MRGNA5IpoodO9UFEUJkx3ao5SKt27SI/0I46WHgxpGkYw2UyqFIRtNRP6C0ZUSjElCxPThMUmwohwtHHdqSRcIxqlQhjBuFmHyJhtCxizyXzayoyDSwYymXnjHVCYDQY2Ek+3x5UeSpZxPJLkT6FQfWuG1bfpJT7GN6qo0WtMyicVmWh6UywjuUdHTHLAUJmaq3stQPg35PrWps+PTagnBk9ydcuiEo6wnZmHp+qKXr5KVZDrKIenqpV8V3DH3LESUgVlKd5ENUPIiG3YGEbDdUd4ngxUML6EFoyHGJRDFUEvJpmIgMi1wowxQi9uVeXwGm6NxQMemwlosbSpUbNzRCIZUHjsRAYyFBPRGJhHzRuERSQkhCgwlrPwbAgWmRBAIAOw==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .domain{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADYAAAA2BAMAAAB+a3fuAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAnUExURUdwTLCwsKGhoebm5s/Pz7u7u+bm5u/v7/n5+dnZ2eDg4MbGxpmZmRaeVDkAAAAMdFJOUwDD6T95qkAoEGBQkAHyQfIAAAHQSURBVDjLtdS9S/NQFAbw05iYNDpEcBE6iAjKS4YXivt1EFQyZNBFMnTq1OHi3KGK29uhr3MHFVzEoYsg4tBckn75/FHexNR+3UgXn+mSX2nOOb09RMvFKpfLDaWYhy4AsckX6SaRJOJ4nv6NSeLrLOkTktiaqaKE6YTTFV1iNnsTKmI+k29tL9jwuzMsZtzltcL2MwsUFmf2f2MxW/RrMcuqpE1YqjJloY2c7sYdBjkWqwc2HttKrv2lVYhHhIeIH06AF4j7PwE2XbwBFWmRhZ6NwRoFMblDk9XB20KWkZh8sk1w9IY3oqBv+ZqgZkjvqcnP+BR0jLvagJ67tlP4oEJEpdTAvRb3mMaaDjUdfaCPLH1EX+9Dq9bo1Ct1R2NPhl/o2V3D7K9m1rmivkbtrsHPdbYemX6Tb+uZOUU7KsoyirRjVmohsTZrGZl1yQgtKkVyRpw8UFKblllPnrgle1kDk31xcgdUz+yDamC27KUAh9zkOEyubGo4cbF7D1wEiA+A3VuIUzcxcnNGLeTv5+VYJM3IMT+9ukr6xcv7YzxlA+pVML0MzPnZCL7UDpn/v8zsHrLzd9bUGlQtwptSLslij9LdesbVM6hWq8uO6xPhZCDIp3zh1AAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .domain{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAA0BAMAAADVih2hAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAwUExURUdwTP////////////////////////7+/v////////////7+/v////////7+/v///9/Gv7EAAAAPdFJOUwA/w4UQ8GDgMFBwsCCgr3PLWGMAAAHaSURBVDjLtdS/i9NgGAfwby655K5pbQOOwhUVbkwG5cZGV9E7KIjokGyOF3S6W+zi4tIiiINgRPA4RdBNHUQPNx3s6tQT/AM0MbXUnl/TNHf9kTfd7ss7JPkMeZ6X932AcS4YxkmI8nmVcW69zICyxjS37Rk5z6PUp+0ZJ3J1Ui5yKmfHsuRMU9Q4ok3OpHsoKjNxU2pmqZcW7mQpGjWgU5DXo1+dFsTFsWTPEOTUUK5QmB/irtLOTjAn+/iaRz+xMo+2Ojxj8lt9k2GHW6uPGKwx9BOy1lnxaVs62xrdT0UOVG6UEtrXIpQDnJPZKrFxGY6nsCon5OkH0EO8k2gvE/dhWvFaSGggd4uFPupKgHjV7ForXuWEutJvufhrKcD2cus9zIqPdvPjSkKhUi03PJV4W2q/AK0vykDDq4QCuL7lxhW4mrcnsVpQ+yo+jFoGOlV7gU/Q7KEQf9L/As6IKnAGWI+PQy2MD0oPi7SL6UZZEkP49GAG0JJHV02pf5PRc5P/HpPfO4x2HF5/OKTFvO3dgJxHVlydWA6GJ9QUSXBMZ3ROZGHlwls+ec/vztK18XC4My1/xsMBl3JHCvAgdxDNG19Qnh7Ktp3p7t6bIdzYFbYuGUZl4vU/Sd6bbwAFS00AAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .domain{background-image:url(data:image/gif;base64,R0lGODlhIAAgAPcBAAHUNiu7TwLUNxtUKbPBt4qylLfEusfHxy24T/f39xtHJv7+/oODg0pdTg6cMgLNNQuqM4zBmZO/ngXTOHNzcxhzL4qylY/CnIqpkou3lwLUNt/f3/X19aKqpIeQiYiYjIaLh9HR0SDHSgHTNRPNQRPMQbjIvOLi4kVpTjiWTwSyLwnROwPTNzrKXh7OSgSpLhjPRUVzUeDm4hPQQtri3N3m39zk3uXn5gO5Mdnd2rXIutjb2dvj3QjROjWhUAkPCvv7+w7QPwYLB4qnkQEDAR0dHRzIR37DjwyoMwPJNYarkAQJBhgaGSLDSoTDlFBQUBN3LBVvLAwSDh0yIhxBJQ4UEAACAR1kLxtOKBtaKyu8Tx0mIAXTOZi4oLC0scnJyQa+NIK3j4DEkd3d3bzFvrG6s7nJvSjATX7AjjOwUktcT5G9nA6eMmdnZ+rq6i61UCLGSwrQPBnKRc3NzRxoLyi/TcbGxhR+L19fX0F2TkCAUDuMTwbSOUtjUVJSUlhYWAIGA9ra2gABACXNTxk8Ijq6WgWiLBlGJCvNVDzGXgLKNBlnLRgmGxhgKhk1IBUbFxgtHgsRDAHNNDXMWg2ILECCUQO+MjjLXQLGMzzCXTm1V4u+mDvIXk9bUjajUQuQLIu7mHl5eR05JObm5omkkAECAQPUN8DEwR0qIBw6JL7Fv3JycrrEvU9UULbLvLTGuATTOC3CUiTITbC3sjiYUBSALyrFUDC5UjG1UmlpaTSpUYLEk////8XFxaurq1FRURYZFx8qIvn5+f39/U5UTwsRDQIFA/Hx8aWpphxfLe7u7vz8/BwcHL/DwNzc3BIXExOJMLG4s1NTU4WFhQ4UDwbANNTU1H9/f9fX1x8fH62trYqNim9vb5qun9PT01tbW1paWhQYFWNjY1lZWbXDuKysrGpqarG1shsbG7zDvq+vr3x8fIuYjpavnOHh4YqQjJiunuPj43Z2dkJwTszMzMrKyp2toSuzTdnZ2TuFTWVlZWxsbDCnTc7Ozii5TGFhYSH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgABACwAAAAAIAAgAAAI/wADCBxIMMAPUQqSVaAzb4ACZqUKSpxokN8KPqYEANiYMU6TBhEpSgwHLQ7HkyhX1EkmcqAxUSRSyjx571nLfBhn6hTQRNTEUnc67tTZpIhEmEOTEihWUJyFp1CjSp0a1WfLq1izah15zZfXr2DDihX7x1gxZ7zSql3Ltq3bYW3GDXtLt67aUGnPHeOlDFvaOcqaqbX2d1QzN4V5hQiUFm8BCOR4/cmW9oe8Utp4rQuAOJhnbprPCnvmpzEveAAKKGMSoF6zANOC/eFltAOvJdJkDyOG2Vmxb6ZPABDR7yCebsbole1l9l+0AMhyjxZFrJmxbaYXlNDQDfpvYPHeGajTl61bMAoBliHXJiTQD3bQsxMAkM0cvlLPgnGIhp/YMWDMiMJXALp5xll2x/CRHG0B/DJgfH8EYE5awcAmGYF3qTXEPgkoVl1joCkmih15+edhOmoJaNeKbYVgIYswulEhgb/UaOONOOaYIzpb9ejjjwMNcFFSMxWwBEUVjEBkSkWJBEhJS3LkDzVYJVNNlHRsVYqQDwiFUhN0hNQjfggl01BDDxnTUkAAIfkEBQoAAwAsAwAAABkAIAAAB2qAA4KDhIR5hYiIPj0TE4SNAwGJk5QDPZQllYlvho6amgKflJJxoqanqKmqq6ytrq+CbnV3rQFzExW1BQC5k3iVcpEPe4htpwAIdq2MB68UsNDR0tOrpdSmApKuCK7Bn5CDjRNwqnQDh5SBACH5BAUKAA8ALAcADgADAAcAAAQO0K0HCEUsiFGAMl5yNBEAIfkEBQoAAgAsBwAOAAUABwAABhpAgcAEEQkLgIIw8AgJSaXTMzUEjFBCAVYQBAAh+QQFCgAFACwCAAcAHAAUAAAGTMBCIUIsGo9Io3DJbDqf0Kh0Sq1ar9hsNhKFBLCSIZObEUw4Wm4zIAhXPdKLplLoMO3Mz1MtJAAGWk8bD4BQIGAUgYqLjI2Oj5AWQkEAIfkEBQoAAgAsDgAOAAMABwAACBkABbz5MUrDjwgARJHoQQoAnIIBBIRyIyAgACH5BAUKAAIALAAAAAAgACAAAAiNAAUIHEhQYKqCCBMqJBhngqmHAEwtnEix4sSDFgdKzMhRoESMCTd2pAhypEaTHEuiXMmypcuXMDueUjgTJgQTAlDp7CjS40YAEQaicvkzAMGhOQXUnNhzoJEJq2IOlAAgqcGrLOOUEloQqUlVKgmy4iq1LEKkXs2qXRuzKUy3bFvC5QgxIkSXYVOlTRgQACH5BAUKAAEALAAAAAAgACAAAAfxgAGCg4QBQlNUV1BRAVhURVaFkpODPVxchJgBWmqRlJ+gg2dXoYZUJKWSVaGaqYRnU5NEUK6UWpNTPbWfUpJOv8DBwsPBVLvHyLtLyaBEvczQ0YJe0pNiSIJNbAFm2Ei3AUhm4Sqrgs++AUeE62EBrUdjAEax5/bWokmb6tlHAOtbBNVbNslIkltBUK15J+jSCCCGIgqZ9kmMIB+vurxLM6heQFBmDBTSB+6fwEIfCymhNISQmi+UyHSsRjOVxyc4c+rcyXNnACY1g+7CoouZO0q0kq0Teg9UFjC1SLmy8jRJq0qbrnhSJgWRIkZUHoUKBAAh+QQFCgABACwCAAAAHgAgAAAIwwADCBxIsGCMgggTEtS1gg8sDQI1PAwSq49ChUEuDlxhS+NGjwU14NLIByRCkRhNKox1UiXGVy5jypxJs6bNmwRz4dxpclcAmLIEugogh2iAkUMFIokF5IhHWD83Qi0oR9aKBCxTCryV1dZUo1sBuEoSoFXLoLEgEiTBsaRAJQCsKoR5dCCtqGAJqgAA4GJJV0ktDmSZcWCtuCoPJhT8M8YGnpBltppMubLly5cjayZZUy3kr5BvfS4xc2LEiUF3KgYZEAAh+QQFCgABACwAAAAAIAAgAAAI/wADCBxIMMAPR4cWDRxwiBGRghAjGvQkkAWAinwCrGjRSZDEiIwofSyIqNFIgYAIwThZEEChk5VYRmSBiNBHFjIlJnoE0VHOmwYLVopAtKjRo0iN2vzJtKlTIU6jSiXY5s/Uq1cjGBLoYmuAF10TBSjk9cXXTAG0XogoYaxGgRHSWnzbgusggZcAuAgKEUbcAINaKAJMEy+ntC81AgAAaqZeRZNwrryw+C0MSWkBE/40UtNfkm01fxUYAgZnlhkrul2ReSAiIC0+QYo4RCIGloH6EFyKtbfM2QEg+RlOvLjx48d5+l7OHLWF5hp3jhTZNPHJRpZk6lWY06MlSRYvKg7mushj04cITQps6HBkQAAh+QQFHgABACwBAAsAHgAKAAAGOMBcYEgsGo/IpHLJbN6Su6aU+MLVpDIiD7qCDbNTZYTVWs7AxVnSBZCEmTMAgOacAlRv5ZUW0w2DADs=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .terminal{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMBJREFUeNpiYKAQMM6cOVMASBuQozk9Pf0AC5AuAOJ6cgwAWt7IhMQvRKIfAPEEYgxhQWL3o9EFpBgwAeifQhKdD7YI5oWPUMEEmAQR4COyATBwAIgdgIacB2IFYkxhQouWB0BsCA3E86QGIsxvDSBXgGIDSxr5ALTgAk4XADWAQt4fiB2BChcAaQVoGoHheLwuAGqagBz/UNsciQ4DEgE/zAUfQM4DOt+eRANAYTMRZADIrxfIdMUFSnMzA0CAAQD0hjqnYxWD2gAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .terminal{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALhJREFUeNpiYKAQMH78+FEASBuQo5mfn/8AC5AuAOJ6cgwAWt7IhMQvRKIfAPEEYgxhQWL3o9EFpBgwAeifQhKdD7YI5oWPUMEEmAQxZiAbAAMHgNgBaMh5IFYgxhQmtGh5AMSG0EA8T2ogwvzWAHIFKDawpJEPQAsu4DQAqAEU8v5A7AhSCOQboKWRC1CM3QCgpgnI8Q+1zZHoMCA1JcNc8AHkTKBz7Uk0AOS9iRRlJvTwIAsABBgAqiNCt+zqQrsAAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .terminal{background-image:url(data:image/gif;base64,R0lGODlhEAAQAMQXAJ6ipUFITySRPIiMkDFRQuXm5jJKQy1kQCGeOzBXQSl3PiWLPVhfZSxrQCpxP9na2yeEPTREQ8LExmRqb5OXm/Hx8TU9RAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjMyQjYwMTU3OTA2QTExRUJCN0NFQUUwQjRDMzM4RDJDIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjMyQjYwMTU4OTA2QTExRUJCN0NFQUUwQjRDMzM4RDJDIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MzJCNjAxNTU5MDZBMTFFQkI3Q0VBRTBCNEMzMzhEMkMiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MzJCNjAxNTY5MDZBMTFFQkI3Q0VBRTBCNEMzMzhEMkMiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4B//79/Pv6+fj39vX08/Lx8O/u7ezr6uno5+bl5OPi4eDf3t3c29rZ2NfW1dTT0tHQz87NzMvKycjHxsXEw8LBwL++vby7urm4t7a1tLOysbCvrq2sq6qpqKempaSjoqGgn56dnJuamZiXlpWUk5KRkI+OjYyLiomIh4aFhIOCgYB/fn18e3p5eHd2dXRzcnFwb25tbGtqaWhnZmVkY2JhYF9eXVxbWllYV1ZVVFNSUVBPTk1MS0pJSEdGRURDQkFAPz49PDs6OTg3NjU0MzIxMC8uLSwrKikoJyYlJCMiISAfHh0cGxoZGBcWFRQTEhEQDw4NDAsKCQgHBgUEAwIBAAAh+QQFMgAXACwAAAAAEAAQAAAFU6AljmRpBVOqrqtFVXAsy9Q7VMMDzHHN/5UawGQC1CiWg4IoOiINAoGB6BxBENSjyIE4oFKMprYhIFgYkvTQpWWOqm6RcVBI2+/2AuXL6k8CcSYhACH5BAUyABcALAcACQAFAAIAAAUIYJSMBLGcSggAIfkEBTIAFwAsBwAJAAUAAgAABQhgMI0MI51ACAAh+QQFMgAXACwHAAkABQACAAAFCGCUjASxnEoIADs=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .cron{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKwwAACsMBNCkkqwAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAFrSURBVDiNpZMxSFxBEIa/ed49tQsBQdEqgrVgithFW1sr62PhKttXpjy0vWb2WjkQrk6rjWUgjY3ICorYGCFV9C7vxuJ24fE4Y8SBZf/9d3b2n/1ZMTPeE1l10ev1Frz3Wy8lq+pXVf1Y5cTM6Ha7jTzPd4BtYBUYAHO184/ALnAJnJRl+b3dbo8aAM1m8xB4AO6BT2b2C5ivFxCRv8AtsJ5l2SZQYGao6kBVFyNeNjOmDVVdifOSqh6Z2aQF7/0xcGNmF4BMkV9tw0RkDfjgnGs14kYJXInIOTALjGOhukUZ8AQ0gc+JIJI/nHNnIYRWCME5505CCC7i04hbzrkz4Gc8Q1IwEwedTmcvXfcSruZnNZKiKPpFUfT/hZnYX1YVyGu31hRk6X2SgnEi/lPBb6JTSUFuZsM3KPiTWk4FbkXki/d+CORMbK3aKEzsTXhDRK6rBb4B+2bWAkbVN5kSDRG5E5EDiJ/pPfEM08DH4VH64rEAAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .cron{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKnAAACpwB9NLfEgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAEPSURBVDiNpdO9SkNBEIbh58RoFKwEwT8QFOwEQQvt1NbW+7Cx8B7svAZLa1tbG0sbEQQh2KigjcZoxsI9YT2EGMnCMt8us+98s8sWEWGYUausp7HTJ38bU/lGPYt72MUyFjFeOfyOfdziAudol4BjPOMRS3jCRA/AJ5pYwxaORISIOIuImaTnU+w1F1KcjYjTiOi28IVD3KDoYT93EVhJ+hfgDtdooJNA1SeqoYVRbOSAFq5wmR0q+mhYzQEjaeYJ/XQ3v1bZlCrFH7rw03bXwSBVc10rYaWDzgBVc/0ivVTpYAwf/3DwJrVcAprYTJCx1F/15huZXsc9FOk3TuIAc2hXqlVHHQ84wWsx7Hf+BgvadUGnT3fcAAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .cron{background-image:url(data:image/gif;base64,R0lGODlhEAAQANUAANPT09HR0c3NzcvLy8nJycfHx8XFxcPDw8HBwb+/v729vbu7u7m5ubW1tbOzs7Gxsa2trampqaenp6WlpaOjo6GhoQDZNpubm5WVlY+Pj42NjYuLi4mJiYeHh4WFhYODg35+fnZ2dnR0dHJycnBwcGZmZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgAlACwAAAEADwAOAAAGesCSUKQRGkua0RGjAFQm0EkFoMAIFY9HAHPpXjABiINREohKoaMwHSKUBgvKJEKvTygLw1vCyWj+gBkcEnoGHCUWFmpCHAglBYeLRhsHjxuSRhqOBJeYSI4FnZgeegMdniUgBSULER8dHrCxG7QRDUIPCQq7vLsJDyVBACH5BAUKACUALAcABwACAAEAAAYEQIslCAAh+QQFCgAlACwKAAcAAgABAAAGBECLJQgAIfkEBQoAJQAsBAAJAAIAAQAABgRAiyUIACH5BAUKACUALAcACQACAAEAAAYEQIslCAAh+QQFCgAlACwKAAkAAgABAAAGBECLJQgAIfkEBQoAJQAsBAALAAIAAQAABgRAiyUIACH5BAUKACUALAcACwACAAEAAAYEQIslCAAh+QQFCgAlACwKAAsAAgABAAAGBECLJQgAIfkECTIAJQAsAAABAA8ADgAABhTAknBILBqPyKRyyWw6n9CodEoNAgA7)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .app{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAF7SURBVDiNrdPPi41hFAfwz72uoVsUWZOFJbKThYkVe1mpx13YjcmU/NwrZCKRLNRZsrSZErvJ1h+glFgiYxC6Pyze8zSvOwsLzuZ5T9/n/T7n+z3ndCaTiX+JHkTELlzHHozQxQrOl1JeRcReLGIbxtiAN7jcS6JrCT5OcIx9mMcAZ/EBz5N8hCO4UQl240kp5XYtLSJmsZDpdjwspTxr4V9xppv5EP0peVuzEnlumcL7GFaCDn5OXfj+l/wHulXCBIci4rXG2BFmMZP4RhyLiBmNR0McxqgSLGBOY1iNIW7l96LGyNMtfBXznf81B/vzhR0pB37hbillOSIO4hw2JdbBJ9yrEu7gIx7504OLWMYFvMcLax6cwv1K0MPLUsrTWlr2eS7TEZZKKUstfCcGtY3jVnk1+i05E+vnZDPGlaBnfZ+/aMZWnqtT+Df0qoR3ON7qc92FlcQ/YxARB6ztwlG8rQRXNdt4Mn/u5AuXEn+AmziRcroaU6/8BgTXdRpxDzi5AAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .app{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKnAAACpwB9NLfEgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAFsSURBVDiNrdO/jw1RFAfwz4xnVzYIydZeY0tEKETChkIoNGrNtkKyhQL/gUg0YgudQiciGpVEIRsdPdlkQ0usH4vNvHcUc27e9bbkm9zMmfnOPfP9nvneJiL8CwZ5PYS72I8xdmANN/EeQ9zGAkZosYHrTSp4gD14m+QIZ/ATl/AI83iRzcc4jC0RISIeR8S5rMu6EhFvsl6NiOUpfjEinrZpYZwKasyhy7rL+xp7MW6rB5tTL/xKO9Dg9xS/WQ9xJ85jJj12OJ2zgMBJvMs9IyxipgzxFK5lo4JvWMFrHMNV7Kv4DivN/8rBkVQwn3JhC/fwCiewjNnkGnzG/aLgJT7h4ZTHBVzEE3w0yUGHyxgWBQOs4lml7rvet2z4PFfBASzVOZj1N+YqO2F7DnapcjCwPQdfTXLQ6v9KjR8YFAsfcMEkByXrG8l/wRKOmpyVs1gvQzyoP23D3NzkF27oc3Acd7A77bT6od76A2AskgeNVoIQAAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .app{background-image:url(data:image/gif;base64,R0lGODlhEAAQAOYAAOPj4+Hh4d/f393d3dvb29nZ2dfX19XV1dPT09HR0c/Pz83NzcvLy8nJycfHx8XFxcPDw7+/v729vbu7u6+vr62traurq6mpqaenp6WlpZmZmZeXl5WVlRTDQBTDPpOTkxLDPhbBQBi/QBTBQBq9Qha/QJGRkRi9Qhi9QI+Pjxq7Qhy5RB63RBy5QiC1RiC1RI2NjSKzRiSxRouLiyKxRiavSCitSCSvSImJiSatSCypSiirSCynSoWFhYODg4GBgTadUDadTjabUDSdTjibUDiZUDyXUn5+fjqXUjyVUnx8fHh4eESLVkaLVkaJWEaJVkqHWEiHWEqFWE6DWkyDWk6BWlB+WlB8XFJ8XFJ6XFR6XlR4Xlh2Xlp0YGZmZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFHgBeACwAAAEAEAAPAAAHtoBeXTEdIR0qWF4/BgECAQtKXjIrQkBAMjVeEAwVFBUHCl4iRV6lUy5eCyalXhgAXidArE6oCxqsFQGiRKxStR+sGLonLk5MTTwsXgoSHBscCwJeWDUu1jFUXjMLCt0OOKzh4uI+DwndDDNeOAzdCQ89XgUKzhwTCcsR9dFeAxasKUItAFZKmBcCFFhxEHirVK5+F1jBwKeKVYZXDA50qtDAgZcHnDwdwKdEQaMABcD1KHAywZFAACH5BAUeAF4ALAAAAQAQAAcAAAdhgF5LDAECAQY+XloqHSEdMVxeDQcVFBUND147MkBAQisuXgMXXqUwCV4uUKVeRh1eBBSsHApeMUysRK8EFqwptTGrpa6wChwbHBMIqTxNTE4xIV49DwrWCzBeUzEu3TVWgQAh+QQFHgBeACwJAAEABwAPAAAHWIA/BgECAQtKEAwVFBUHCgsmXpIYAAsakl4Vhh+YGAEKEhwbHAsCMwsKqQ44mK1WMS6xNlguOk1MTjEhMVCYRh0xTJhEHS69kkkdNjJAQEIrLlckHSHFWoEAIfkECR4AXgAsAAABABAADwAAB3CAXoKDhIWGh4iJiouMjY6PiVg2LpQxVV44DAoKCQ89XiQuTkxNPCxeChEcGxwLAl4iRINSLl4LH4MYAV4nQINOtQsagxW7IkWDU8EmgxkAXjErQkBAMjVeDwwVFBUHCV5cLh0hHSRWXj0FAQIBCUeBADs=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .settings{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAH3SURBVDiNpZI/SJZhFMV/90kicsv+EdEQRUNQYC1S0R+ag2hxMKPgvc/r0Ba2FFEpJARhiF/P9QsaGippimgoG4QgI6egICcJEkoIEyI/9L0NvV98llLQmS6c5x7OPc8Rd+d/0LQcUa1W1xZFcR9ocvfOGOPkXwXMbDvQoqov3b0NuA00i8gBYNLM9gBfVXWiviP1E8xsB3AZmANmgHVAt4jMu/sl4DuwFfgI9KvqO4DQYKAFmFXVU8Bj4JqqfsiybAroBZ6r6jFglbtv+MNB6aIHeKKqL4aGhra4eycQRORelmXvU0pHgPYYoy4SSCltFJGDwEngCjANXHT3WyGEeXfvAq4Dze7eKyJ3i6IYyfN8KgCIyAjQDFxQ1VfAaaA/xjiWZdm4iPQBHao6LiLdwJoQwsiiX3D3z0VR1NNd4e5zDfnUACnnWeATsNB4wjYR2Q8cdfcbIYSau58D+kRkwd273X1QRGaAAWC4KIrRPM8nfg/xqrs/jTGOmtlOoKN08zDGOGZm+0SkPcuys7+W3J3Sxd6U0s1ybk0ptda5SqWyOqW0u+QepJTa6lxjD2rASjO7A5wBBszsEEAI4TzQZWaDwBfg23I92AWsV9VnZnYC2OTur0Vks6oOm9lhYFpV3ywp0IiySI/42bzjMca3S71bVuBf8QODpRL9eTmkdgAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .settings{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKnAAACpwB9NLfEgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAF0SURBVDiNpdJNiM5RGAXw38ukkJVvMYqZRsqYZmyYDTZWbCxsKLG3pCSaWNmNJU2NmhU7pQjFRhYsJCTWykfJRz5eH8fmefn39lLy1FPn3nPv7Zzz3FYS/1Oz/sItwg3cwuo/HWp1KRjEQtzBTizAfHzCDMbwDk97PTCECXzBWyzGYXzDCXzGGjzHJB6DJJ3ekuRc4R1JNja4VUl2FZ5OsrXDNTO4jRcYx1W8wTEcx1xcwna0cbM7xGXYgxF8LakTuIbLZWVdWevHXixvWniY5ECSkVqfbGBJBpOcKjyc5FCSR90WXjXSnV1hdqqNVuH3eInvTQUDSfYnmUkylmRDkvNJ1icZSjJV+wNJriQ5WKr01avPqtfW3O/hNPaVmrO1N14qp35pa/jclORM4dHqDjevMdYLSTZ3uD6/q405mMYHjOJojewIluJHjfdj51L3Vx7GElzHbqzAXazERWzDazzoZaG7+5PcT/Kkwux5rlvBP9dPgIpDWf6ENxgAAAAASUVORK5CYII=)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .settings{background-image:url(data:image/gif;base64,R0lGODlhEAAQAOYAAMfHx8XFxbm5ube3t7W1tbOzs7GxsQbROGqpeg7JPBDHPpWVlRLFPmylemCnchTDQBbBQFqnbBTBQFSpaBi/QEqrYpGRkRq9QlinbBa/QI+RkRi9QBi9Qh65RI+Pjxq7QkqpYhy5RIuPjRy5Qh63RCC1RIePiSKzRiSxRn6Rg4uLiyKxRiavSCitSCSvSImJiSqrSiatSIeHhyypSiirSCqpSiynSoWFhS6lTHyJfjCjTHyHfjKhTDKhToODgzSfTmaNcIGBgTadTjKfTjabUDSdTjqZUDiZUH5+fjyXUjqXUDqXUj6VUjyVUj6TVHx8fD6TUkCRVEKPVHp6ekKNVnJ8dECPVESNVkaLVkSLVnh4eEiJWEaJVkaJWEiHWEqHWHZ2dkyFWkqFWE6DWkyDWk6BWlB+XFB+WlB8XFJ8XFR6XlR6XFJ6XGR0aFR4XlZ4Xlp0YFh2XlZ2XlxyYFh0YFpyYFxwYlxwYF5uYmZmZgAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJDwB5ACwAAAEADwAOAAAHpoB5goN4Hxdwg4l5b2Z5W1JMUnlpb4lvJywzKHBzMDYkMJWCZS15Fj6CWgt5LGSJOi95WgYFSHkeNINzVCQyUwEyNwFINyFSc3kKTml5BKh5TwR5akYKyVuCA7Z5UwN5cFIMeXFRKDdBAEhIATdPIU6ieTwqeUEDAjJ5LzOJZvw3NwahOlFmkBoYmSi46gGjITODYfJgUVLmSh4yahQNgsMgQcZEgQAAIfkECQ8AeQAsAAABAA8ADgAAB7CAeYJ5c15pgjo2eIODeEIXLExJQh1mjIM/aXhGUXlRW4xzZVcsGj6CWggwMEeLJxdMGHlaBgVIeSJfJGR5NUp5MlMBMjcBSDdwLId5QlJ5BKd5TwR5PE6DUUx5A7d5UwPMRIJpNnk3QQBISAE3T3MwOHlbJWMmeUEDAjJ5E1IbM3nsCNHRocKNQTtKYBmzKM8iL+LGJJmzJd6lPGQeMHESpUWJIxcdtgCYx0yYhnkCAQAh+QQJDwB5ACwAAAAADwAPAAAHqoB5goN5c4SHhEIoUYiDb3lvNk4wW2UoSYQlEEYhZXlqLFg2KIQtWGkNPoJVC2SMg2FOL3laBgVIeQ4zhFI2MlMBMjcBSDdOJFh5RD+CBKp5TwSCNUlwM06CA7h5UwN5Ui1feU41RjdBAEhIATdAEHCEFBF5QQMCMnkpRPCDRmo3OQS1AZEGgo5BaQ4YoQIjTZ4eLZpQ8DRISY85ZWjAqCEITyNBTpKMORQIACH5BAkPAHkALAAAAQAPAA4AAAemgHmCg3gfF3CDiXlvZnlbUkxSeWlviW8nLDMocHMwNiQwlYJlLXkWPoJaC3ksZIk6L3laBgVIeR40g3NUJDJTATI3AUg3IVJzeQpOaXkEqHlPBHlqRgrJW4IDtnlTA3lwUgx5cVEoN0EASEgBN08hTqJ5PCp5QQMCMnkvM4lm/Dc3BqE6UWaQGhiZKLjqAaMhM4Nh8mBRUuZKHjJqFA2CwyBBxkSBAAAh+QQJDwB5ACwAAAEADwAOAAAHsIB5gnlzXmmCOjZ4g4N4QhcsTElCHWaMgz9peEZReVFbjHNlVywaPoJaCDAwR4snF0wYeVoGBUh5Il8kZHk1SnkyUwEyNwFIN3Ash3lCUnkEp3lPBHk8ToNRTHkDt3lTA8xEgmk2eTdBAEhIATdPczA4eVslYyZ5QQMCMnkTUhszeewI0dGhwo1BO0pgGbMozyIv4sYkmbMl3qU8ZB4wcRKlRYkjFx22AJjHTJiGeQIBACH5BAkPAHkALAAAAAAPAA8AAAeqgHmCg3lzhIeEQihRiINveW82TjBbZShJhCUQRiFleWosWDYohC1YaQ0+glULZIyDYU4veVoGBUh5DjOEUjYyUwEyNwFIN04kWHlEP4IEqnlPBII1SXAzToIDuHlTA3lSLV95TjVGN0EASEgBN0AQcIQUEXlBAwIyeSlE8INGajc5BLUBkQaCjkFpDhihAiNNnh4tmlDwNEhJjzllaMCoIQhPI0FOkow5FAgAIfkECQ8AeQAsAAABAA8ADgAAB6aAeYKDeB8XcIOJeW9meVtSTFJ5aW+JbycsMyhwczA2JDCVgmUteRY+gloLeSxkiToveVoGBUh5HjSDc1QkMlMBMjcBSDchUnN5Ck5peQSoeU8EeWpGCslbggO2eVMDeXBSDHlxUSg3QQBISAE3TyFOonk8KnlBAwIyeS8ziWb8NzcGoTpRZpAaGJkouOoBoyEzg2HyYFFS5koeMmoUDYLDIEHGRIEAACH5BAkPAHkALAAAAQAPAA4AAAewgHmCeXNeaYI6NniDg3hCFyxMSUIdZoyDP2l4RlF5UVuMc2VXLBo+gloIMDBHiycXTBh5WgYFSHkiXyRkeTVKeTJTATI3AUg3cCyHeUJSeQSneU8EeTxOg1FMeQO3eVMDzESCaTZ5N0EASEgBN09zMDh5WyVjJnlBAwIyeRNSGzN57AjR0aHCjUE7SmAZsyjPIi/ixiSZsyXepTxkHjBxEqVFiSMXHbYAmMdMmIZ5AgEAOw==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content .logout{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK6wAACusBgosNWgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAEYSURBVDiNpZOtTkNBEEbPFCQIUHgEBoJAYFDgERgSCBjSvU9Q0/AkX5+ApB6PI6lAYPhJUCgEgkApkHyI/nBpb28DPWozu3MyuzsTtpmG2f5CUs32BlABouBsAK8RUU8pPY4IImIfOLd9k4/n+IyII2AZGBUAM8BZlmXX48qVtAksFl6hx/y45B5N4C4fqExI+EVK6QJYkLT9L0GPJ+BU0hYUP9YAScfACtDh52c6wAPQlHRQKoiIN+B5WGC7DXzYfi8VVKvV5nCs0WgsRcSh7b0sy1qlgiJszwG1lFIL/viIknaAdkrpsh8bruBlgmOXbq8UduIXcCLpvkDc31+j20wDBgdty/Y6sMroMJnuda+A2/xGTDvO32OQXrvPg7l3AAAAAElFTkSuQmCC)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content--selected .logout{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKdQAACnUBSiXd/QAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAADvSURBVDiNpdO7LkRRFAbg7wwlBZVeoSEKEtHSayUSGs+g8RwqbyDR6ycaiYRC45KoVAqFuAySpdhzODn2mWMyf7KSvdflz7oWEWEUjFfee1hCB0XGt8AL9vGQI9jECa5r+hKf2MZsE8EYjnA1IOMVTDeVAJMDguEYt1VFpyWgji6msNaUwX/wiAN84LSNYAdz6PmdTA/3UjlbbQSveMoQvPUzeBcRpVxExGrl3yQzEdGNiOWIGLqJMCEt3TnDT2G9n/5Zqaj34LmFYEPalewmfmEXdxni0r4gdf8HVcdDLGLe32MKqdxL3FQNxajn/A0ZS19hUhhlTwAAAABJRU5ErkJggg==)}.n-menu[data-v-51274824] .n-menu-item .n-menu-item-content:hover .logout{background-image:url(data:image/gif;base64,R0lGODlhEAAQANUAAOPj4+Hh4dnZ2dXV1c3NzcvLy8fHx8PDw8HBwb+/v729vbu7u7W1ta2trampqaenp6Ojo6GhoZ2dnQzNOgjPOpeXlxq9Qhi9QI+Pj4uLi4mJiSatSCqpSjCjTDSfToGBgTadTjKfTjibUDqZUDqXUDyVUkCRVESNVnZ2dkyFWnR0dE6BWlB+XFB8XFR4Xlh2XlxwYF5uYmZmZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCAAyACwCAAEACwAOAAAGQMBGgUAsEgyoAEMSaTYlgwzgI6taZYkKQHO1ZlDb7jUsrpLLZ3G6ux5zxRgwVayoBBQPh17/EGQgCQiCgwcLKkEAIfkEBQgAMgAsBwAHAAEAAgAABgRA0ykIACH5BAUIADIALAgABwABAAIAAAYEwI4oCAAh+QQFCAAyACwJAAcAAgACAAAGBkCPhzQKAgAh+QQFCAAyACwLAAcAAQACAAAGBEDPKAgAIfkEBQgAMgAsDAAHAAIAAgAABgZA0KbECQIAIfkEBQgAMgAsDAAFAAIAAgAABgZAVypmCQIAIfkEBQgAMgAsDgAGAAIAAwAABgfAlYySmqyCACH5BAUIADIALAwACQADAAEAAAYFQNiFFQQAIfkEBQgAMgAsDAAKAAIAAQAABgTAFysIACH5BAkyADIALAIAAQAOAA4AAAYUQJlwSCwaj8ikcslsOp/QqHRqDAIAOw==)}.nps-container[data-v-5249d570]{color:var(--border-hover-focus-color);position:absolute;bottom:10em;right:1px;cursor:pointer;box-shadow:0 0 10px rgba(0,0,0,.1)}.nps-container[data-v-5249d570]:hover{color:#fff}.nps-container:hover .nps-box[data-v-5249d570]{background:var(--nps-box-hover-bg)}.nps-container:hover .nps-box span[data-v-5249d570]{color:#fff}.nps-box[data-v-5249d570]{background:var(--color-bg-2);display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:4px;padding:15px 10px}.nps-box span[data-v-5249d570]{color:var(--border-hover-focus-color)}.n-button[data-v-76a25600]{user-select:auto;line-height:inherit;font-size:inherit;text-align:left}.bt-layout[data-v-422be52e]{--n-color: #f2f2f2}.bt-layout[data-v-422be52e]>.n-layout-scroll-container{overflow-x:auto}.n-tag[data-v-a1cd50b0]{--n-height: 24px;--n-border-radius: 6px;min-width:24px;justify-content:center;font-weight:700;cursor:pointer}.n-layout-sider[data-v-ff1b92d5]{background:none}.n-layout-sider[data-v-ff1b92d5]:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--n-color);opacity:var(--menu-bg-opacity);z-index:-1}.n-menu[data-v-ff1b92d5]{--n-font-size: 14px;--n-item-height: 38px;--n-border-radius: 6px;--n-item-text-color: var(--color-sider-text);--n-item-icon-color: var(--color-primary);--n-item-color-hover: var(--color-sider-hover);--n-item-color-active: var(--color-sider-active);--n-item-text-color-hover: var(--color-sider-hover-text);--n-item-icon-color-hover: var(--color-primary);--n-item-text-color-active: var(--color-sider-active-text);--n-item-text-color-active-hover: var(--color-sider-active-text)}.n-menu[data-v-ff1b92d5] .n-menu-item:first-of-type{margin-top:0}.n-menu[data-v-ff1b92d5] .n-menu-item .n-menu-item-content:before{left:16px;right:16px;background-color:var(--color-sider);opacity:var(--menu-bg-opacity)}.n-menu[data-v-ff1b92d5] .n-menu-item .n-menu-item-content:not(.n-menu-item-content--disabled):hover:before{background-color:var(--n-item-color-hover);opacity:1}.n-menu[data-v-ff1b92d5] .n-menu-item .n-menu-item-content:not(.n-menu-item-content--disabled).n-menu-item-content--selected:before{background-color:var(--n-item-color-active);opacity:1}.n-layout-footer[data-v-5e6f10e3]{border-top-left-radius:10px;border-top-right-radius:10px}.layout-container[data-v-19d95428]:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-image:var(--main-bg-image);background-size:cover;background-position:top right;background-color:var(--color-bg-1);opacity:var(--main-bg-opacity)}.bt-layout[data-v-19d95428]{--n-color: transparent}.bt-layout[data-v-19d95428]>.n-layout-scroll-container{overflow-x:auto}.bt-table-input[data-v-e66e069a]{width:100%;padding:0;outline-offset:2px;border:1px solid transparent;background:transparent;white-space:pre-line;color:#666}.bt-table-input[data-v-e66e069a]:hover,.bt-table-input[data-v-e66e069a]:focus{border:1px solid var(--border-hover-focus-color);background-color:var(--color-bg-2)}#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;-webkit-transform:rotate(3deg) translate(0px,-4px);-ms-transform:rotate(3deg) translate(0px,-4px);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:solid 2px transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#abb2bf;background:#282c34}.hljs-comment,.hljs-quote{color:#5c6370;font-style:italic}.hljs-doctag,.hljs-keyword,.hljs-formula{color:#c678dd}.hljs-section,.hljs-name,.hljs-selector-tag,.hljs-deletion,.hljs-subst{color:#e06c75}.hljs-literal{color:#56b6c2}.hljs-string,.hljs-regexp,.hljs-addition,.hljs-attribute,.hljs-meta .hljs-string{color:#98c379}.hljs-attr,.hljs-variable,.hljs-template-variable,.hljs-type,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-number{color:#d19a66}.hljs-symbol,.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-title{color:#61aeee}.hljs-built_in,.hljs-title.class_,.hljs-class .hljs-title{color:#e6c07b}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-link{text-decoration:underline}.i-ant-design-border-outlined{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32m-40 728H184V184h656z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ant-design-close-outlined{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M799.855 166.312c.023.007.043.018.084.059l57.69 57.69c.041.041.052.06.059.084a.1.1 0 0 1 0 .069c-.007.023-.018.042-.059.083L569.926 512l287.703 287.703c.041.04.052.06.059.083a.12.12 0 0 1 0 .07c-.007.022-.018.042-.059.083l-57.69 57.69c-.041.041-.06.052-.084.059a.1.1 0 0 1-.069 0c-.023-.007-.042-.018-.083-.059L512 569.926L224.297 857.629c-.04.041-.06.052-.083.059a.12.12 0 0 1-.07 0c-.022-.007-.042-.018-.083-.059l-57.69-57.69c-.041-.041-.052-.06-.059-.084a.1.1 0 0 1 0-.069c.007-.023.018-.042.059-.083L454.073 512L166.371 224.297c-.041-.04-.052-.06-.059-.083a.12.12 0 0 1 0-.07c.007-.022.018-.042.059-.083l57.69-57.69c.041-.041.06-.052.084-.059a.1.1 0 0 1 .069 0c.023.007.042.018.083.059L512 454.073l287.703-287.702c.04-.041.06-.052.083-.059a.12.12 0 0 1 .07 0Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ant-design-minus-outlined{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ant-design-switcher-outlined{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32m-40 600H184V312h528zm168-728H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32M300 550h296v64H300z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ant-design\:clear-outlined{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6c-.3 1.5-.4 3-.4 4.4c0 14.4 11.6 26 26 26h723c1.5 0 3-.1 4.4-.4c14.2-2.4 23.7-15.9 21.2-30M204 390h272V182h72v208h272v104H204zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ant-design\:security-scan-outlined{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2M810 654.3L512 886.5L214 654.3V226.7l298-101.6l298 101.6zM402.9 528.8l-77.5 77.5a8.03 8.03 0 0 0 0 11.3l34 34c3.1 3.1 8.2 3.1 11.3 0l77.5-77.5c55.7 35.1 130.1 28.4 178.6-20.1c56.3-56.3 56.3-147.5 0-203.8s-147.5-56.3-203.8 0c-48.5 48.5-55.2 123-20.1 178.6m65.4-133.3c31.3-31.3 82-31.3 113.2 0c31.3 31.3 31.3 82 0 113.2c-31.3 31.3-82 31.3-113.2 0s-31.3-81.9 0-113.2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ant-design\:skin-outlined{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 0 0-37-29.3H154a44 44 0 0 0-44 44v252a44 44 0 0 0 44 44h75v388a44 44 0 0 0 44 44h478a44 44 0 0 0 44-44V466h75a44 44 0 0 0 44-44V170a44 44 0 0 0-44-44m-28 268H723v432H301V394H182V198h153.3c28.2 71.2 97.5 120 176.7 120s148.5-48.8 176.7-120H842z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon-calendar{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M26 4h-4V2h-2v2h-8V2h-2v2H6c-1.1 0-2 .9-2 2v20c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 22H6V12h20zm0-16H6V6h4v2h2V6h8v2h2V6h4z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon-search{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m29 27.586l-7.552-7.552a11.018 11.018 0 1 0-1.414 1.414L27.586 29ZM4 13a9 9 0 1 1 9 9a9.01 9.01 0 0 1-9-9'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon\:certificate{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m24 17l1.912 3.703l4.088.594L27 24l.771 4L24 25.75L20.229 28L21 24l-3-2.703l4.2-.594zM6 16h6v2H6zm0-4h10v2H6zm0-4h10v2H6z'/%3E%3Cpath fill='currentColor' d='M16 26H4V6h24v10h2V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h12Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon\:data-base{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M24 3H8a2 2 0 0 0-2 2v22a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m0 2v6H8V5ZM8 19v-6h16v6Zm0 8v-6h16v6Z'/%3E%3Ccircle cx='11' cy='8' r='1' fill='currentColor'/%3E%3Ccircle cx='11' cy='16' r='1' fill='currentColor'/%3E%3Ccircle cx='11' cy='24' r='1' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon\:ibm-cloud-direct-link-1-dedicated{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M27 29H13c-1.1 0-2-.9-2-2v-4h2v4h14V13h-4v-2h4c1.1 0 2 .9 2 2v14c0 1.1-.9 2-2 2'/%3E%3Cpath fill='currentColor' d='M19 21h-6c-1.1 0-2-.9-2-2v-6c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v6c0 1.1-.9 2-2 2m-6-8v6h6v-6z'/%3E%3Cpath fill='currentColor' d='M5 3h14c1.1 0 2 .9 2 2v4h-2V5H5v14h4v2H5c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon\:locked{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M24 14h-2V8a6 6 0 0 0-12 0v6H8a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V16a2 2 0 0 0-2-2M12 8a4 4 0 0 1 8 0v6h-8Zm12 20H8V16h16Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon\:meter{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M26 16a9.9 9.9 0 0 0-1.14-4.618l-1.495 1.496A7.95 7.95 0 0 1 24 16zm-2.586-6L22 8.586L17.285 13.3A3 3 0 0 0 16 13a3 3 0 1 0 3 3a3 3 0 0 0-.3-1.285zM16 17a1 1 0 1 1 1-1a1 1 0 0 1-1 1m0-9a8 8 0 0 1 3.122.635l1.496-1.496A9.986 9.986 0 0 0 6 16h2a8.01 8.01 0 0 1 8-8'/%3E%3Cpath fill='currentColor' d='M16 30a14 14 0 1 1 14-14a14.016 14.016 0 0 1-14 14m0-26a12 12 0 1 0 12 12A12.014 12.014 0 0 0 16 4'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon\:reminder{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m30 23.382l-2-1V20a6.005 6.005 0 0 0-5-5.91V12h-2v2.09A6.005 6.005 0 0 0 16 20v2.382l-2 1V28h6v2h4v-2h6ZM28 26H16v-1.382l2-1V20a4 4 0 0 1 8 0v3.618l2 1Z'/%3E%3Cpath fill='currentColor' d='M28 6a2 2 0 0 0-2-2h-4V2h-2v2h-8V2h-2v2H6a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h4v-2H6V6h4v2h2V6h8v2h2V6h4v6h2Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon\:security{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M14 16.59L11.41 14L10 15.41l4 4l8-8L20.59 10z'/%3E%3Cpath fill='currentColor' d='m16 30l-6.176-3.293A10.98 10.98 0 0 1 4 17V4a2 2 0 0 1 2-2h20a2 2 0 0 1 2 2v13a10.98 10.98 0 0 1-5.824 9.707ZM6 4v13a8.99 8.99 0 0 0 4.766 7.942L16 27.733l5.234-2.79A8.99 8.99 0 0 0 26 17V4Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon\:terminal{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M26 4.01H6a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-20a2 2 0 0 0-2-2m0 2v4H6v-4Zm-20 20v-14h20v14Z'/%3E%3Cpath fill='currentColor' d='m10.76 16.18l2.82 2.83l-2.82 2.83l1.41 1.41l4.24-4.24l-4.24-4.24z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon\:time{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 30a14 14 0 1 1 14-14a14 14 0 0 1-14 14m0-26a12 12 0 1 0 12 12A12 12 0 0 0 16 4'/%3E%3Cpath fill='currentColor' d='M20.59 22L15 16.41V7h2v8.58l5 5.01z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-carbon\:warning{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m0 26a12 12 0 1 1 12-12a12 12 0 0 1-12 12'/%3E%3Cpath fill='currentColor' d='M15 8h2v11h-2zm1 14a1.5 1.5 0 1 0 1.5 1.5A1.5 1.5 0 0 0 16 22'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-common-arrow-right{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024' %3E%3Cpath fill='currentColor' d='M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-common-back{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1707188471958' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='35211'%3E%3Cpath d='M481.536 772.8a38.4 38.4 0 0 1-54.272 54.336l-288-288a38.4 38.4 0 0 1 0-54.336l288-288a38.4 38.4 0 1 1 54.272 54.336L259.2 473.6H870.4a38.4 38.4 0 1 1 0 76.8H259.136l222.4 222.4z' p-id='35212' fill='currentColor'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-common-refresh,.i-common\:refresh,[i-common-refresh=""],[i-common\:refresh=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M896.128 378.752a29.888 29.888 0 0 1-27.52-18.304 388.224 388.224 0 0 0-715.392 0 29.888 29.888 0 1 1-54.976-23.296 448 448 0 0 1 825.6 0 29.888 29.888 0 0 1-27.52 41.6z' fill='currentColor'/%3E%3Cpath d='M510.912 959.168a448.576 448.576 0 0 1-412.672-274.176 29.888 29.888 0 1 1 54.976-23.296 388.224 388.224 0 0 0 715.392 0 29.888 29.888 0 1 1 54.976 23.296 447.424 447.424 0 0 1-412.736 274.176z' fill='currentColor'/%3E%3Cpath d='M92.992 393.472a29.888 29.888 0 0 1-29.952-29.952V180.224a29.952 29.952 0 0 1 59.84 0V363.52a29.888 29.888 0 0 1-29.888 29.952z' fill='currentColor'/%3E%3Cpath d='M276.352 393.472H93.056a29.952 29.952 0 0 1 0-59.84h183.296a29.952 29.952 0 0 1 0 59.84z' fill='currentColor'/%3E%3Cpath d='M929.216 864.768a29.952 29.952 0 0 1-29.952-29.952V651.52a29.952 29.952 0 1 1 59.84 0v183.296a29.952 29.952 0 0 1-29.888 29.952z' fill='currentColor'/%3E%3Cpath d='M929.216 681.6h-183.296a29.952 29.952 0 1 1 0-59.84h183.296a29.952 29.952 0 0 1 0 59.84z' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-common-search{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3E%3Cpath d='M456.69 421.39L362.6 327.3a173.81 173.81 0 0 0 34.84-104.58C397.44 126.38 319.06 48 222.72 48S48 126.38 48 222.72s78.38 174.72 174.72 174.72A173.81 173.81 0 0 0 327.3 362.6l94.09 94.09a25 25 0 0 0 35.3-35.3zM97.92 222.72a124.8 124.8 0 1 1 124.8 124.8a124.95 124.95 0 0 1-124.8-124.8z' fill='currentColor'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-common-warning{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1658198918096' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='3020'%3E%3Cpath d='M512 64q190.016 4.992 316.512 131.488T960 512q-4.992 190.016-131.488 316.512T512 960q-190.016-4.992-316.512-131.488T64 512q4.992-190.016 131.488-316.512T512 64z m0 192q-26.016 0-43.008 19.008T453.984 320l23.008 256q2.016 14.016 11.488 22.496t23.488 8.512 23.488-8.512 11.488-22.496l23.008-256q2.016-26.016-15.008-44.992T511.936 256z m0 512q22.016-0.992 36.512-15.008t14.496-36-14.496-36.512T512 665.984t-36.512 14.496-14.496 36.512 14.496 36T512 768z' fill='currentColor' p-id='3021'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-common\:feedback{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.6665 10V17.5H3.33313V2.5L10.8331 2.49996' stroke='%233A424D' stroke-width='1.5' stroke-linecap='square'/%3E%3Cpath d='M16.6669 3.33332L10.0002 9.99999' stroke='%233BAF52' stroke-width='1.5'/%3E%3Cpath d='M6.66687 13.3333L13.3335 13.3333' stroke='%233A424D' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-common\:feedback-dark{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.6665 10.0001V17.5H3.33313V2.50004L10.8331 2.5' stroke='%23C7C7C7' stroke-width='1.5' stroke-linecap='square'/%3E%3Cpath d='M16.6669 3.33337L10.0002 10' stroke='%2320a53a' stroke-width='1.5'/%3E%3Cpath d='M6.66687 13.3334L13.3335 13.3334' stroke='%23C7C7C7' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-common\:fire{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill='none' customFrame='%23000000'%3E%3Crect id='控件/红点/火' x='0.000000' y='0.000000' fill='rgb(255,255,255)' fill-opacity='0'/%3E%3Cg id='Group 23'%3E%3Ccircle id='Oval 3' cx='9' cy='9' r='9' fill='rgb(255,143,0)'/%3E%3Ccircle id='Oval 3' cx='9' cy='9' r='9' stroke='rgb(151,151,151)' stroke-opacity='0' stroke-width='0'/%3E%3Cpath id='形状' d='M8.7772 2C8.7772 2 6.92746 6.03452 5.11464 8.08207C2.74809 10.7552 4.45539 14.0743 7.38007 14.8398C7.38007 14.8398 6.05756 13.5418 7.61239 11.2286C8.50315 9.90333 9.04363 9.22321 9.04363 9.22321C9.04122 9.22321 8.78924 10.9791 10.0199 12.0311C11.2388 13.0732 10.7489 14.8398 10.7489 14.8398C10.7489 14.8398 15.2513 13.3263 13.6592 9.09562C13.6592 9.09562 13.1865 7.71814 12.1055 6.73028C12.1055 6.73028 12.2424 8.37659 11.7805 8.41992C11.3183 8.46326 11.0081 8.17356 10.8043 6.05458C10.6394 4.33926 9.73096 3.34337 8.7772 2Z' fill='rgb(255,255,255)' fill-rule='evenodd'/%3E%3C/g%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-common\:google{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234285f4' d='M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z'/%3E%3Cpath fill='%2334a853' d='M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z'/%3E%3Cpath fill='%23fbbc05' d='M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z'/%3E%3Cpath fill='%23ea4335' d='M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-common\:lang{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 15.1054H7L9.5 17.0001L11.5 15.1054H15C16.1046 15.1054 17 14.2099 17 13.1054V5.05273C17 3.94816 16.1046 3.05273 15 3.05273H4C2.89543 3.05273 2 3.94816 2 5.05273V13.1054C2 14.2099 2.89543 15.1054 4 15.1054Z' stroke='currentColor' stroke-width='1.5'/%3E%3Cpath d='M6 13L8.8 6H10.2L13 13' stroke='currentColor' stroke-width='1.5'/%3E%3Cpath d='M7 10H12' stroke='currentColor' stroke-width='1.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-common\:loading{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024' data-v-ea893728=''%3E%3Cpath d='M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z'%3E%3C/path%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-common\:pro{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 16 17' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_1_3186)'%3E%3Cpath d='M12.8 0.5H3.2L0 6.3L8 16.7L16 6.3L12.8 0.5ZM8 12.276L3.592 6.1H5.552L8 9.524L10.448 6.1H12.416L8 12.276Z' fill='currentColor'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_1_3186'%3E%3Crect width='16' height='16' fill='white' transform='translate(0 0.5)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-dashicons\:admin-site-alt3{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 20 20' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M9 0a9 9 0 1 0 0 18A9 9 0 0 0 9 0M1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84a7.9 7.9 0 0 1-.73-2.7m8.57-5.4V1.19a4.13 4.13 0 0 1 2.22 2q.308.521.54 1.08zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7zM8.32 1.19v3.09H5.56A8.5 8.5 0 0 1 6.1 3.2a4.13 4.13 0 0 1 2.22-2.01m0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7zm-4.7 2.69H1.11a7.9 7.9 0 0 1 .73-2.7H4a14 14 0 0 0-.38 2.7M4.7 9.68h3.62v2.7H5.11a13 13 0 0 1-.41-2.7m3.63 4v3.09a4.13 4.13 0 0 1-2.22-2a8.5 8.5 0 0 1-.54-1.08zm1.35 3.09v-3.04h2.76a8.5 8.5 0 0 1-.54 1.08a4.13 4.13 0 0 1-2.22 2zm0-4.44v-2.7h3.62a13 13 0 0 1-.41 2.7zm4.71-2.7h2.51a7.9 7.9 0 0 1-.73 2.7H14c.21-.87.337-1.757.38-2.65zm0-1.35A14 14 0 0 0 14 5.63h2.16c.403.85.65 1.764.73 2.7zm1-4H13.6a8.9 8.9 0 0 0-1.39-2.52a8 8 0 0 1 3.14 2.52zm-9.6-2.52A8.9 8.9 0 0 0 4.4 4.28H2.65a8 8 0 0 1 3.14-2.52m-3.15 12H4.4a8.9 8.9 0 0 0 1.39 2.52a8 8 0 0 1-3.14-2.55zm9.56 2.52a8.9 8.9 0 0 0 1.39-2.52h1.76a8 8 0 0 1-3.14 2.48z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-docker\:compose{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1750641044372' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='5832'%3E%3Cpath d='M232.96 15.36H41.984C18.944 15.36 0 34.304 0 57.344v190.976c0 23.04 18.944 41.984 41.984 41.984h190.976c23.04 0 41.984-18.944 41.984-41.984V57.344c0.512-23.04-18.432-41.984-41.984-41.984z m-1.024 219.136c0 7.168-6.144 12.288-12.8 12.288H56.32c-7.168 0-12.8-6.144-12.8-12.288V71.68c0-7.168 6.144-12.288 12.8-12.288h162.816c7.168 0 12.8 6.144 12.8 12.288v162.816zM232.96 370.688H41.984c-23.04 0-41.984 18.944-41.984 41.984v190.976c0 23.04 18.944 41.984 41.984 41.984h190.976c23.04 0 41.984-18.944 41.984-41.984V412.16c0.512-23.552-18.432-41.472-41.984-41.472z m-1.024 218.624c0 7.168-6.144 12.288-12.8 12.288H56.32c-7.168 0-12.8-6.144-12.8-12.288V425.984c0-7.168 6.144-12.288 12.8-12.288h162.816c7.168 0 12.8 6.144 12.8 12.288v163.328zM232.96 724.992H41.984c-23.04 0-41.984 18.944-41.984 41.984v190.976c0 23.04 18.944 41.984 41.984 41.984h190.976c23.04 0 41.984-18.944 41.984-41.984v-190.976c0.512-23.04-18.432-41.984-41.984-41.984z m-1.024 219.136c0 7.168-6.144 12.288-12.8 12.288H56.32c-7.168 0-12.8-6.144-12.8-12.288v-162.816c0-7.168 6.144-12.288 12.8-12.288h162.816c7.168 0 12.8 6.144 12.8 12.288v162.816zM982.016 15.36H397.312c-23.04 0-41.984 18.944-41.984 41.984v190.976c0 23.04 18.944 41.984 41.984 41.984h584.704c23.04 0 41.984-18.944 41.984-41.984V57.344c-0.512-23.04-18.944-41.984-41.984-41.984z m-2.048 219.136c0 7.168-6.144 12.288-12.8 12.288H411.136c-7.168 0-12.8-6.144-12.8-12.288V71.68c0-7.168 6.144-12.288 12.8-12.288H967.68c7.168 0 12.8 6.144 12.8 12.288v162.816h-0.512zM982.016 370.688H397.312c-23.04 0-41.984 18.944-41.984 41.984v190.976c0 23.04 18.944 41.984 41.984 41.984h584.704c23.04 0 41.984-18.944 41.984-41.984V412.16c-0.512-23.552-18.944-41.472-41.984-41.472z m-2.048 218.624c0 7.168-6.144 12.288-12.8 12.288H411.136c-7.168 0-12.8-6.144-12.8-12.288V425.984c0-7.168 6.144-12.288 12.8-12.288H967.68c7.168 0 12.8 6.144 12.8 12.288v163.328h-0.512zM982.016 724.992H397.312c-23.04 0-41.984 18.944-41.984 41.984v190.976c0 23.04 18.944 41.984 41.984 41.984h584.704c23.04 0 41.984-18.944 41.984-41.984v-190.976c-0.512-23.04-18.944-41.984-41.984-41.984z m-2.048 219.136c0 7.168-6.144 12.288-12.8 12.288H411.136c-7.168 0-12.8-6.144-12.8-12.288v-162.816c0-7.168 6.144-12.288 12.8-12.288H967.68c7.168 0 12.8 6.144 12.8 12.288v162.816h-0.512z' fill='currentColor' p-id='5833'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-docker\:container{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1750640949761' viewBox='0 0 1031 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='4657'%3E%3Cpath d='M248.332363 1023.995632a21.839416 21.839416 0 0 1-11.374696-3.093917L11.374696 890.684195A22.749392 22.749392 0 0 1 0 871.02872V610.593681a22.931387 22.931387 0 0 1 11.374696-19.746472L236.593677 460.629689a23.022385 23.022385 0 0 1 22.749392 0l225.855963 130.21752a22.931387 22.931387 0 0 1 11.374696 19.746472v260.435039a22.749392 22.749392 0 0 1-11.374696 19.655475l-225.491973 130.21752a22.294404 22.294404 0 0 1-11.374696 3.093917zM45.498784 857.925071l202.833579 117.022872 202.742581-117.022872V623.697331L248.332363 506.674458 45.498784 623.697331z m428.325552 13.103649zM782.579084 1023.995632a22.294404 22.294404 0 0 1-11.374696-3.093917L545.985408 890.684195a22.749392 22.749392 0 0 1-11.374696-19.655475V610.593681A22.931387 22.931387 0 0 1 545.985408 590.847209l225.491973-130.21752a23.022385 23.022385 0 0 1 22.749392 0l225.582971 130.21752a22.931387 22.931387 0 0 1 11.374696 19.746472v260.435039a22.749392 22.749392 0 0 1-11.374696 19.655475l-225.582971 130.21752a21.839416 21.839416 0 0 1-11.647689 3.093917zM580.109496 857.925071L782.579084 974.947943l202.833579-117.022872V623.697331L782.579084 506.674458 580.109496 623.697331z m428.325552 13.103649zM512.862293 566.368863a21.839416 21.839416 0 0 1-11.374696-3.093917L275.904626 433.057426a22.749392 22.749392 0 0 1-11.374696-19.655475V152.966912a22.931387 22.931387 0 0 1 11.374696-19.746473L501.487597 3.00292a23.022385 23.022385 0 0 1 22.749392 0l225.491973 130.217519a22.931387 22.931387 0 0 1 11.374696 19.746473v260.435039a22.749392 22.749392 0 0 1-11.374696 19.655475L524.236989 563.274946a22.294404 22.294404 0 0 1-11.374696 3.093917zM310.028714 400.389299l202.833579 116.931875L715.604874 400.389299V166.070562L512.862293 49.047689 310.028714 166.070562z m428.325552 13.10365z' p-id='4658' fill='currentColor'%3E%3C/path%3E%3Cpath d='M512.862293 297.380052a23.295377 23.295377 0 0 1-11.465694-3.093917l-142.593189-82.443797a22.749392 22.749392 0 0 1 0-39.401947L501.396599 89.996595a23.20438 23.20438 0 0 1 22.84039 0L666.830178 172.895379a22.749392 22.749392 0 0 1 0 39.401947l-142.593189 81.988809a23.20438 23.20438 0 0 1-11.374696 3.093917zM415.67689 192.186864l97.185403 56.145499L609.683705 192.186864 512.862293 136.496352zM248.332363 763.560593a22.385402 22.385402 0 0 1-11.738686-3.093918l-142.593189-81.897811a22.931387 22.931387 0 0 1-11.374696-19.746472 22.749392 22.749392 0 0 1 11.374696-19.655475L236.593677 556.268133a22.749392 22.749392 0 0 1 22.840389 0l142.593189 82.443796a22.749392 22.749392 0 0 1 11.374696 19.655475 22.931387 22.931387 0 0 1-11.374696 19.746472l-142.593189 81.897812a22.294404 22.294404 0 0 1-11.101703 3.548905zM151.14696 658.367404l97.185403 56.1455L345.790758 658.367404l-97.458395-56.145499zM782.579084 763.560593a22.294404 22.294404 0 0 1-11.374696-3.093918l-142.593189-81.897811a22.931387 22.931387 0 0 1-11.374696-19.746472 22.749392 22.749392 0 0 1 11.374696-19.655475l142.593189-82.443796a22.749392 22.749392 0 0 1 22.84039 0L937.27495 638.711929a22.749392 22.749392 0 0 1 11.374696 19.655475 22.931387 22.931387 0 0 1-11.374696 19.746472l-142.593189 81.897812a22.385402 22.385402 0 0 1-12.102677 3.548905zM685.757672 658.367404L782.579084 714.512904l97.185403-56.1455L782.579084 602.221905z' p-id='4659' fill='currentColor'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-docker\:image{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1750641093279' viewBox='0 0 1117 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='6884'%3E%3Cpath d='M442.898361 116.049051l2.23404 0.74468L74.840328 1.368349A61.901515 61.901515 0 0 0 0 61.966675v883.283427a61.9946 61.9946 0 0 0 74.840328 60.598326l379.507486-118.124847a77.074368 77.074368 0 0 0 41.981329-68.510549V189.58619a77.539793 77.539793 0 0 0-53.430782-73.537139zM403.244157 792.218386L93.084986 874.412428V132.618179l310.159171 82.380212v577.12691zM1054.466716 0.065159a77.260538 77.260538 0 0 0-12.845728 1.30319L675.796995 115.490542l1.30319-0.18617a77.446708 77.446708 0 0 0-56.968012 74.467988v629.161417c0 29.88028 17.034552 55.850991 41.981329 68.696719l379.228231 118.217932a61.9946 61.9946 0 0 0 75.026498-60.691411V61.966675a61.529175 61.529175 0 0 0-61.901515-61.808431z' fill='currentColor' opacity='.801' p-id='6885'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-docker\:mirror{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1750641157017' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='10179'%3E%3Cpath d='M528.832 106.432l352 217.92a32 32 0 0 1 15.168 27.2V896a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V351.552a32 32 0 0 1 15.168-27.2l352-217.92a32 32 0 0 1 33.664 0zM512 171.264l-320 198.08V864h640V369.344l-320-198.08z m-253.44 212.832l3.712 0.512 213.344 42.688a32 32 0 0 1 25.504 27.616l0.224 3.744v298.688a32 32 0 0 1-22.08 30.4l-3.648 0.96-213.344 42.688a32 32 0 0 1-38.08-27.68L224 800V416a32 32 0 0 1 34.56-31.904zM800 416v384a32 32 0 0 1-38.272 31.36l-213.344-42.656a32 32 0 0 1-25.728-31.36v-298.688a32 32 0 0 1 25.728-31.36l213.344-42.688A32 32 0 0 1 800 416zM287.968 455.008v305.952l149.344-29.856v-246.24l-149.344-29.856z m448.032 0l-149.344 29.856v246.24L736 760.96v-305.952z' p-id='10180' fill='currentColor'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-docker\:network{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1750641121238' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='8080'%3E%3Cpath d='M372.305 745.773C403.023 787.057 441.673 822.09 486 848.615v-127.74c-39.818 2.647-78.01 11.24-113.695 24.898z m-51.609 24.217a392.912 392.912 0 0 0-60.194 41.64h-1.271c56.974 48.113 127.858 80.27 205.76 89.58-57.186-32.69-106.475-77.62-144.295-131.22zM295.985 540c4.004 56.745 20.087 110.155 45.691 157.675 44.903-18.522 93.476-29.956 144.324-32.91V540H295.985z m-56.124 0H120.985c6.296 89.215 42.447 170.188 98.523 232.989a449.204 449.204 0 0 1 71.8-50.725C262.051 667.323 243.903 605.57 239.86 540z m445.864 158.764c25.95-47.793 42.251-101.585 46.29-158.764H541v124.899c51.032 3.215 99.745 14.975 144.725 33.865z m50.207 24.904a449.248 449.248 0 0 1 68.903 48.937c55.88-62.746 91.897-143.571 98.18-232.605H788.138c-4.08 66.13-22.507 128.377-52.206 183.668zM541 849.194c44.394-26.387 83.134-61.292 113.965-102.46-35.735-13.96-74.02-22.825-113.965-25.706v128.166z m23.097 51.374c75.9-10.079 144.941-41.875 200.672-88.937h-0.484a392.964 392.964 0 0 0-57.91-40.348c-37.456 52.683-86.02 96.917-142.278 129.285z m-222.315-574.44c-25.666 47.57-41.787 101.05-45.797 157.872H486V358.884c-50.804-2.916-99.34-14.297-144.218-32.755z m-50.397-24.538a449.186 449.186 0 0 1-71.828-50.634C163.453 313.765 127.283 394.76 120.985 484H239.86c4.047-65.628 22.223-127.432 51.524-182.41zM486 175.385c-44.257 26.483-82.856 61.448-113.551 102.648 35.648 13.593 73.79 22.132 113.551 24.744V175.385z m-21.01-52.595c-77.702 9.286-148.422 41.303-205.321 89.21h0.518a392.903 392.903 0 0 0 60.606 41.872c37.808-53.54 87.06-98.42 144.198-131.082zM654.7 276.878c-30.788-41.016-69.433-75.796-113.7-102.108v127.81c39.849-2.906 78.045-11.77 113.7-25.702z m51.415-24.562A392.966 392.966 0 0 0 763.97 212h0.361c-55.635-46.843-124.483-78.493-200.153-88.558 56.093 32.29 104.535 76.377 141.937 128.874zM732.017 484c-4.045-57.343-20.423-111.282-46.498-159.179C640.6 343.7 591.959 355.465 541 358.712V484h191.017z m56.123 0h114.875c-6.295-89.205-42.439-170.17-98.504-232.968a449.25 449.25 0 0 1-68.79 48.87c29.828 55.4 48.333 117.798 52.42 184.098zM512 960C264.576 960 64 759.424 64 512S264.576 64 512 64s448 200.576 448 448-200.576 448-448 448z' fill='currentColor' p-id='8081'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-docker\:volume{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1750641138362' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='9125'%3E%3Cpath d='M925.27 269.25V758c0 112.46-185.35 203.64-414 203.64s-414-91.18-414-203.64V269.25c0-112.46 185.34-203.63 414-203.63s414 91.17 414 203.63zM842.47 758V269.25c0-43.07-125.73-122.18-331.18-122.18s-331.18 79.11-331.18 122.18V758c0 43.07 125.73 122.18 331.18 122.18S842.47 801.05 842.47 758z' fill='currentColor' p-id='9126'%3E%3C/path%3E%3Cpath d='M925.27 269.25c0 112.47-185.35 203.64-414 203.64s-414-91.17-414-203.64 185.34-203.63 414-203.63 414 91.17 414 203.63z m-82.8 0c0-43.07-125.73-122.18-331.18-122.18s-331.18 79.11-331.18 122.18 125.73 122.18 331.18 122.18 331.18-79.1 331.18-122.18z' fill='currentColor' p-id='9127'%3E%3C/path%3E%3Cpath d='M511.29 554.34c-205.45 0-331.18-79.1-331.18-122.18H97.32c0 112.47 185.34 203.64 414 203.64s414-91.17 414-203.64h-82.8c-0.05 43.08-125.78 122.18-331.23 122.18z' fill='currentColor' p-id='9128'%3E%3C/path%3E%3Cpath d='M511.29 717.25c-205.45 0-331.18-79.11-331.18-122.18H97.32c0 112.47 185.34 203.64 414 203.64s414-91.17 414-203.64h-82.8c-0.05 43.07-125.78 122.18-331.23 122.18z' fill='currentColor' p-id='9129'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-domain\:setting{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill='currentColor'%3E%3Crect id='资源管理' x='0.000000' y='0.000000' fill='currentColor' fill-opacity='0'/%3E%3Cpath id='形状结合' d='M2.57806 1.40698L13.2342 1.40698C13.8256 1.40698 14.305 1.88637 14.305 2.47772L14.305 4.90995C14.305 5.25242 14.1442 5.55733 13.894 5.75333C13.4005 5.55625 12.8918 5.68477 12.5228 5.98068L10.9975 5.98068C10.6393 5.68927 10.1742 5.57036 9.67089 5.73813L9.36093 5.87039C9.2799 5.90655 9.20049 5.9433 9.12263 5.98068L2.57806 5.98068C1.98671 5.98068 1.50732 5.5013 1.50732 4.90995L1.50732 2.47772C1.50732 1.88637 1.98671 1.40698 2.57806 1.40698ZM8.10536 6.56504L2.57806 6.56504C1.98671 6.56504 1.50732 7.04442 1.50732 7.63577L1.50732 10.068C1.50732 10.6594 1.98671 11.1387 2.57806 11.1387L5.3785 11.1387C5.39874 10.9888 5.42464 10.8357 5.45625 10.6777L5.49351 10.5374C5.53804 10.4038 5.59925 10.279 5.67447 10.1653L2.57806 10.1653C2.5243 10.1653 2.48072 10.1218 2.48072 10.068L2.48072 7.63577C2.48072 7.58201 2.5243 7.53843 2.57806 7.53843L7.15438 7.53843C7.23545 7.32313 7.37166 7.12735 7.5631 6.97539L7.62866 6.92808L7.78482 6.80023C7.8886 6.71909 7.99532 6.64078 8.10536 6.56504ZM5.32766 11.7231L2.57806 11.7231C1.98671 11.7231 1.50732 12.2025 1.50732 12.7938L1.50732 15.2261C1.50732 15.8174 1.98671 16.2968 2.57806 16.2968L7.1537 16.2968C7.03764 15.9974 7.02133 15.657 7.15365 15.3234L2.57806 15.3234C2.5243 15.3234 2.48072 15.2798 2.48072 15.2261L2.48072 12.7938C2.48072 12.7401 2.5243 12.6965 2.57806 12.6965L5.37289 12.6965C5.35414 12.5489 5.34066 12.3997 5.33263 12.2516L5.32382 11.931C5.32382 11.8618 5.3251 11.7925 5.32766 11.7231ZM13.2342 2.38038L2.57806 2.38038C2.5243 2.38038 2.48072 2.42396 2.48072 2.47772L2.48072 4.90995C2.48072 4.96371 2.5243 5.00729 2.57806 5.00729L13.2342 5.00729C13.288 5.00729 13.3316 4.96371 13.3316 4.90995L13.3316 2.47772C13.3316 2.42396 13.288 2.38038 13.2342 2.38038Z' fill='rgb(251,252,251)' fill-rule='evenodd'/%3E%3Cpath id='路径' d='M10.2593 16.5606C9.67847 16.3556 9.13184 16.0481 8.65354 15.604C8.58521 15.5356 8.55104 15.4331 8.58521 15.3648C8.75603 14.8523 8.6877 14.3057 8.41438 13.8616C8.14107 13.3833 7.7311 13.0758 7.21863 12.9733C7.11613 12.9391 7.04781 12.8708 7.04781 12.7683C6.97948 12.4608 6.94531 12.1192 6.94531 11.8117C6.94531 11.5042 6.97948 11.1967 7.04781 10.8551C7.08197 10.7526 7.1503 10.6843 7.21863 10.6501C7.7311 10.5135 8.17523 10.206 8.41438 9.76184C8.6877 9.28353 8.72187 8.77106 8.58521 8.2586C8.55104 8.15611 8.58521 8.05361 8.65354 8.01945C9.13184 7.60947 9.67847 7.30199 10.2593 7.06284C10.3618 7.02868 10.4301 7.06284 10.4984 7.13117C10.8742 7.50698 11.3525 7.74613 11.865 7.74613C12.3775 7.74613 12.8899 7.54114 13.2316 7.13117C13.2999 7.06284 13.4024 7.02868 13.4707 7.06284C14.0515 7.26783 14.5982 7.57531 15.0765 8.01945C15.1448 8.08778 15.179 8.19027 15.1448 8.2586C14.974 8.77106 15.0423 9.3177 15.3156 9.76184C15.5889 10.2401 15.9989 10.5476 16.5114 10.6501C16.6139 10.6843 16.6822 10.7526 16.6822 10.8551C16.7505 11.1626 16.7847 11.5042 16.7847 11.8117C16.7847 12.1192 16.7505 12.4267 16.6822 12.7683C16.648 12.8708 16.5797 12.9391 16.5114 12.9733C15.9989 13.11 15.5548 13.4174 15.3156 13.8616C15.0423 14.3399 15.0081 14.8523 15.1448 15.3648C15.179 15.4673 15.1448 15.5698 15.0765 15.604C14.5982 16.0139 14.0515 16.3214 13.4707 16.5606C13.3682 16.5947 13.2999 16.5606 13.2316 16.4922C12.8558 16.1164 12.3775 15.8773 11.865 15.8773C11.3525 15.8773 10.8401 16.0823 10.4984 16.4922C10.4643 16.5264 10.3959 16.5606 10.3276 16.5606C10.2934 16.5606 10.2593 16.5606 10.2593 16.5606Z' fill='rgb(255,255,255)' fill-opacity='0' fill-rule='evenodd'/%3E%3Cpath id='路径' d='M8.65354 15.604C8.58521 15.5356 8.55104 15.4331 8.58521 15.3648C8.75603 14.8523 8.6877 14.3057 8.41438 13.8616C8.14107 13.3833 7.7311 13.0758 7.21863 12.9733C7.11613 12.9391 7.04781 12.8708 7.04781 12.7683C6.97948 12.4608 6.94531 12.1192 6.94531 11.8117C6.94531 11.5042 6.97948 11.1967 7.04781 10.8551C7.08197 10.7526 7.1503 10.6843 7.21863 10.6501C7.7311 10.5135 8.17523 10.206 8.41438 9.76184C8.6877 9.28353 8.72187 8.77106 8.58521 8.2586C8.55104 8.15611 8.58521 8.05361 8.65354 8.01945C9.13184 7.60947 9.67847 7.30199 10.2593 7.06284C10.3618 7.02868 10.4301 7.06284 10.4984 7.13117C10.8742 7.50698 11.3525 7.74613 11.865 7.74613C12.3775 7.74613 12.8899 7.54114 13.2316 7.13117C13.2999 7.06284 13.4024 7.02868 13.4707 7.06284C14.0515 7.26783 14.5982 7.57531 15.0765 8.01945C15.1448 8.08778 15.179 8.19027 15.1448 8.2586C14.974 8.77106 15.0423 9.3177 15.3156 9.76184C15.5889 10.2401 15.9989 10.5476 16.5114 10.6501C16.6139 10.6843 16.6822 10.7526 16.6822 10.8551C16.7505 11.1626 16.7847 11.5042 16.7847 11.8117C16.7847 12.1192 16.7505 12.4267 16.6822 12.7683C16.648 12.8708 16.5797 12.9391 16.5114 12.9733C15.9989 13.11 15.5548 13.4174 15.3156 13.8616C15.0423 14.3399 15.0081 14.8523 15.1448 15.3648C15.179 15.4673 15.1448 15.5698 15.0765 15.604C14.5982 16.0139 14.0515 16.3214 13.4707 16.5606C13.3682 16.5947 13.2999 16.5606 13.2316 16.4922C12.8558 16.1164 12.3775 15.8773 11.865 15.8773C11.3525 15.8773 10.8401 16.0823 10.4984 16.4922C10.4643 16.5264 10.3959 16.5606 10.3276 16.5606C10.2934 16.5606 10.2593 16.5606 10.2593 16.5606C9.67847 16.3556 9.13184 16.0481 8.65354 15.604Z' fill-rule='evenodd' fill='rgb(255,255,255)' fill-opacity='0' stroke='rgb(251,252,251)' stroke-width='1.10000002'/%3E%3Cpath id='路径' d='M11.865 13.451C12.7694 13.451 13.476 12.7161 13.476 11.8117C13.476 10.9072 12.7412 10.1724 11.865 10.1724C10.9605 10.1724 10.2539 10.9072 10.2539 11.8117C10.2539 12.7161 10.9888 13.451 11.865 13.451L11.865 13.451Z' fill='rgb(0,0,0)' fill-opacity='0' fill-rule='evenodd'/%3E%3Cpath id='路径' d='M13.476 11.8117C13.476 10.9072 12.7412 10.1724 11.865 10.1724C10.9605 10.1724 10.2539 10.9072 10.2539 11.8117C10.2539 12.7161 10.9888 13.451 11.865 13.451L11.865 13.451C12.7694 13.451 13.476 12.7161 13.476 11.8117Z' fill-rule='evenodd' stroke='rgb(251,252,251)' stroke-width='1.10000002'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-check{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 1 0-45.248 45.248l256 256l512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-close{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M764.288 214.592L512 466.88L259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512L214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-document{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-document-copy{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-location{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544'/%3E%3Cpath fill='currentColor' d='M512 512a96 96 0 1 0 0-192a96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320a160 160 0 0 1 0 320'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-monitor{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M544 768v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768H192A128 128 0 0 1 64 640V256a128 128 0 0 1 128-128h640a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128zM192 192a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-operation{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-plus{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-question-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M512 64a448 448 0 1 1 0 896a448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352c-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992c13.376-19.712 35.2-28.864 66.176-28.864c23.936 0 42.944 6.336 56.32 19.712c12.672 13.376 19.712 31.68 19.712 54.912c0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408c-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76c6.336-12.672 15.488-24.64 28.16-35.2c33.792-29.568 54.208-48.576 60.544-55.616c16.896-22.528 26.048-51.392 26.048-86.592q0-64.416-42.24-101.376c-28.16-25.344-65.472-37.312-111.232-37.312m-12.672 406.208a54.27 54.27 0 0 0-38.72 14.784a49.4 49.4 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.85 54.85 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72a51.97 51.97 0 0 0-15.488-38.016a55.94 55.94 0 0 0-39.424-14.784'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-refresh-right{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384a384 384 0 0 1-384-384a384 384 0 0 1 643.712-282.88'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-search{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m795.904 750.72l124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704a352 352 0 0 0 0 704'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-select{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M77.248 415.04a64 64 0 0 1 90.496 0l226.304 226.304L846.528 188.8a64 64 0 1 1 90.56 90.496l-543.04 543.04l-316.8-316.8a64 64 0 0 1 0-90.496'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-setting{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357 357 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a352 352 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357 357 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088l-24.512 11.968a294 294 0 0 0-34.816 20.096l-22.656 15.36l-116.224-25.088l-65.28 113.152l79.68 88.192l-1.92 27.136a293 293 0 0 0 0 40.192l1.92 27.136l-79.808 88.192l65.344 113.152l116.224-25.024l22.656 15.296a294 294 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152l24.448-11.904a288 288 0 0 0 34.752-20.096l22.592-15.296l116.288 25.024l65.28-113.152l-79.744-88.192l1.92-27.136a293 293 0 0 0 0-40.256l-1.92-27.136l79.808-88.128l-65.344-113.152l-116.288 24.96l-22.592-15.232a288 288 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384a192 192 0 0 1 0-384m0 64a128 128 0 1 0 0 256a128 128 0 0 0 0-256'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ep-top{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M572.235 205.282v600.365a30.118 30.118 0 1 1-60.235 0V205.282L292.382 438.633a28.913 28.913 0 0 1-42.646 0a33.43 33.43 0 0 1 0-45.236l271.058-288.045a28.913 28.913 0 0 1 42.647 0L834.5 393.397a33.43 33.43 0 0 1 0 45.176a28.913 28.913 0 0 1-42.647 0l-219.618-233.23z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-fa-solid\:external-link-alt{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 512 512' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M432 320h-32a16 16 0 0 0-16 16v112H64V128h144a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16H48a48 48 0 0 0-48 48v352a48 48 0 0 0 48 48h352a48 48 0 0 0 48-48V336a16 16 0 0 0-16-16M488 0H360c-21.37 0-32.05 25.91-17 41l35.73 35.73L135 320.37a24 24 0 0 0 0 34L157.67 377a24 24 0 0 0 34 0l243.61-243.68L471 169c15 15 41 4.5 41-17V24a24 24 0 0 0-24-24'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-fa\:angle-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1280' display='inline-flex' width='0.8em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M1011 480q0 13-10 23L535 969q-10 10-23 10t-23-10L23 503q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393l393-393q10-10 23-10t23 10l50 50q10 10 10 23'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:.8em;height:1em}.i-fa\:folder-open-o{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1920 1408' display='inline-flex' width='1.37em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M1781 803q0-35-53-35H640q-40 0-85.5 21.5T483 842l-294 363q-18 24-18 40q0 35 53 35h1088q40 0 86-22t71-53l294-363q18-22 18-39M640 640h768V480q0-40-28-68t-68-28H736q-40 0-68-28t-28-68v-64q0-40-28-68t-68-28H224q-40 0-68 28t-28 68v853l256-315q44-53 116-87.5T640 640m1269 163q0 62-46 120l-295 363q-43 53-116 87.5t-140 34.5H224q-92 0-158-66T0 1184V224q0-92 66-158T224 0h320q92 0 158 66t66 158v32h544q92 0 158 66t66 158v160h192q54 0 99 24.5t67 70.5q15 32 15 68'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1.37em;height:1em}.i-fa\:lightbulb-o{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1536' display='inline-flex' width='0.67em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M736 448q0 13-9.5 22.5T704 480t-22.5-9.5T672 448q0-46-54-71t-106-25q-13 0-22.5-9.5T480 320t9.5-22.5T512 288q50 0 99.5 16t87 54t37.5 90m160 0q0-72-34.5-134t-90-101.5t-123-62T512 128t-136.5 22.5t-123 62t-90 101.5T128 448q0 101 68 180q10 11 30.5 33t30.5 33q128 153 141 298h228q13-145 141-298q10-11 30.5-33t30.5-33q68-79 68-180m128 0q0 155-103 268q-45 49-74.5 87T787 898.5T753 1006q47 28 47 82q0 37-25 64q25 27 25 64q0 52-45 81q13 23 13 47q0 46-31.5 71t-77.5 25q-20 44-60 70t-87 26t-87-26t-60-70q-46 0-77.5-25t-31.5-71q0-24 13-47q-45-29-45-81q0-37 25-64q-25-27-25-64q0-54 47-82q-4-50-34-107.5T177.5 803T103 716Q0 603 0 448q0-99 44.5-184.5t117-142t164-89T512 0t186.5 32.5t164 89t117 142T1024 448'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:.67em;height:1em}.i-fa6-solid-check{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 448 512' display='inline-flex' width='0.88em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7l233.4-233.3c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:.88em;height:1em}.i-famicons\:ellipsis-vertical{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 512 512' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Ccircle cx='256' cy='256' r='48' fill='currentColor'/%3E%3Ccircle cx='256' cy='416' r='48' fill='currentColor'/%3E%3Ccircle cx='256' cy='96' r='48' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-famicons\:pause-circle-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 512 512' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-miterlimit='10' stroke-width='32' d='M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192s192-86 192-192Z'/%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-miterlimit='10' stroke-width='32' d='M208 192v128m96-128v128'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-famicons\:play-circle-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 512 512' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-miterlimit='10' stroke-width='32' d='M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192s192-86 192-192Z'/%3E%3Cpath fill='currentColor' d='m216.32 334.44l114.45-69.14a10.89 10.89 0 0 0 0-18.6l-114.45-69.14a10.78 10.78 0 0 0-16.32 9.31v138.26a10.78 10.78 0 0 0 16.32 9.31'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-famicons\:settings-outline,[i-famicons\:settings-outline=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 512 512' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='32' d='M262.29 192.31a64 64 0 1 0 57.4 57.4a64.13 64.13 0 0 0-57.4-57.4M416.39 256a154 154 0 0 1-1.53 20.79l45.21 35.46a10.81 10.81 0 0 1 2.45 13.75l-42.77 74a10.81 10.81 0 0 1-13.14 4.59l-44.9-18.08a16.11 16.11 0 0 0-15.17 1.75A164.5 164.5 0 0 1 325 400.8a15.94 15.94 0 0 0-8.82 12.14l-6.73 47.89a11.08 11.08 0 0 1-10.68 9.17h-85.54a11.11 11.11 0 0 1-10.69-8.87l-6.72-47.82a16.07 16.07 0 0 0-9-12.22a155 155 0 0 1-21.46-12.57a16 16 0 0 0-15.11-1.71l-44.89 18.07a10.81 10.81 0 0 1-13.14-4.58l-42.77-74a10.8 10.8 0 0 1 2.45-13.75l38.21-30a16.05 16.05 0 0 0 6-14.08c-.36-4.17-.58-8.33-.58-12.5s.21-8.27.58-12.35a16 16 0 0 0-6.07-13.94l-38.19-30A10.81 10.81 0 0 1 49.48 186l42.77-74a10.81 10.81 0 0 1 13.14-4.59l44.9 18.08a16.11 16.11 0 0 0 15.17-1.75A164.5 164.5 0 0 1 187 111.2a15.94 15.94 0 0 0 8.82-12.14l6.73-47.89A11.08 11.08 0 0 1 213.23 42h85.54a11.11 11.11 0 0 1 10.69 8.87l6.72 47.82a16.07 16.07 0 0 0 9 12.22a155 155 0 0 1 21.46 12.57a16 16 0 0 0 15.11 1.71l44.89-18.07a10.81 10.81 0 0 1 13.14 4.58l42.77 74a10.8 10.8 0 0 1-2.45 13.75l-38.21 30a16.05 16.05 0 0 0-6.05 14.08c.33 4.14.55 8.3.55 12.47'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-file-dir{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3ClinearGradient id='paint_linear_404_103_0' x1='1.000000' y1='8.114033' x2='13.000000' y2='8.114033' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23FFE8A4'/%3E%3Cstop offset='0.996499' stop-color='%23FFD96F'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath id='path' d='M12.1727 2.75769L5.53442 2.75769C5.53442 2.70795 5.52966 2.65869 5.52026 2.60986C5.51074 2.5611 5.49683 2.51373 5.47827 2.46777C5.45972 2.42181 5.43701 2.37811 5.41003 2.33679C5.38318 2.29541 5.35254 2.25714 5.31836 2.22198C5.28406 2.18677 5.24683 2.1554 5.20654 2.12775C5.16626 2.1001 5.12378 2.07678 5.07898 2.05774C5.03418 2.0387 4.98816 2.02435 4.94055 2.01465C4.89307 2.00494 4.84509 2.00006 4.79663 2.00006L1.8468 2.00006C1.79834 2.00006 1.75037 2.00494 1.70288 2.01465C1.6554 2.02435 1.60925 2.0387 1.56458 2.05774C1.51978 2.07678 1.47729 2.1001 1.43701 2.12775C1.39673 2.1554 1.3595 2.18677 1.3252 2.22198C1.29089 2.25714 1.26038 2.29541 1.2334 2.33679C1.20654 2.37811 1.18384 2.42181 1.16528 2.46777C1.14673 2.51373 1.13281 2.5611 1.12329 2.60986C1.11389 2.65869 1.10913 2.70795 1.10913 2.75769L1.10913 5.03058C1.10913 5.44971 1.43872 5.78821 1.8468 5.78821L12.1737 5.78821C12.2222 5.78821 12.2701 5.78333 12.3176 5.77362C12.3652 5.76392 12.4113 5.74957 12.4561 5.73053C12.5009 5.71149 12.5433 5.68817 12.5836 5.66052C12.6239 5.63287 12.6611 5.60144 12.6954 5.56628C12.7296 5.53113 12.7603 5.49286 12.7871 5.45148C12.8141 5.4101 12.8368 5.36646 12.8553 5.3205C12.8739 5.27454 12.8878 5.22717 12.8973 5.17834C12.9067 5.12958 12.9115 5.08032 12.9115 5.03058L12.9115 3.51532C12.9115 3.46552 12.9067 3.4162 12.8972 3.36737C12.8878 3.31854 12.8738 3.27112 12.8552 3.22516C12.8367 3.17914 12.8138 3.1355 12.787 3.09412C12.76 3.05267 12.7294 3.0144 12.6951 2.97925C12.6608 2.94403 12.6234 2.91266 12.5831 2.88501C12.5427 2.85742 12.5002 2.83411 12.4553 2.81506C12.4105 2.79608 12.3644 2.78174 12.3168 2.77209C12.2693 2.76239 12.2212 2.75763 12.1727 2.75769Z' fill='%23FDCA48' fill-opacity='1.000000' fill-rule='nonzero'/%3E%3Cpath id='path' d='M11.436 3.51532L2.5835 3.51532C2.53503 3.51532 2.48706 3.5202 2.43958 3.52991C2.39209 3.53961 2.34595 3.55396 2.30127 3.573C2.25647 3.59204 2.21399 3.61536 2.17371 3.64301C2.13342 3.67065 2.09619 3.70203 2.06189 3.73724C2.02759 3.7724 1.99707 3.81067 1.97009 3.85205C1.94324 3.89337 1.92053 3.93707 1.90198 3.98303C1.88342 4.02899 1.86951 4.07635 1.85999 4.12512C1.85059 4.17395 1.84583 4.22321 1.84583 4.27295L1.84583 5.03058C1.84583 5.44971 2.17639 5.78821 2.5835 5.78821L11.4351 5.78821C11.4835 5.78821 11.5315 5.78333 11.579 5.77362C11.6265 5.76392 11.6726 5.74957 11.7173 5.73053C11.7621 5.71149 11.8046 5.68817 11.8448 5.66052C11.8851 5.63287 11.9224 5.6015 11.9567 5.56628C11.991 5.53113 12.0215 5.49286 12.0485 5.45148C12.0753 5.41016 12.098 5.36646 12.1166 5.3205C12.1351 5.27454 12.1492 5.22717 12.1586 5.17841C12.168 5.12958 12.1727 5.08032 12.1727 5.03058L12.1727 4.27295C12.1727 4.22327 12.168 4.17401 12.1586 4.12524C12.1492 4.07654 12.1351 4.02917 12.1167 3.98328C12.0981 3.93732 12.0754 3.89368 12.0486 3.85236C12.0217 3.81104 11.9912 3.77277 11.957 3.73761C11.9229 3.70239 11.8856 3.67102 11.8453 3.64337C11.8052 3.61572 11.7627 3.59235 11.718 3.5733C11.6733 3.5542 11.6272 3.53979 11.5798 3.53003C11.5323 3.52032 11.4844 3.51538 11.436 3.51532Z' fill='%23FFFFFF' fill-opacity='1.000000' fill-rule='nonzero'/%3E%3Cpath id='path' d='M12.2489 4.22803L1.75012 4.22803C1.70081 4.22803 1.65198 4.23218 1.60376 4.24048C1.55542 4.24878 1.50854 4.26105 1.46301 4.27734C1.41748 4.29358 1.37427 4.31354 1.33337 4.33716C1.29236 4.36078 1.25452 4.38763 1.21973 4.41772C1.18481 4.44781 1.15381 4.48053 1.12646 4.51587C1.099 4.55121 1.07593 4.58856 1.05713 4.62787C1.03821 4.66711 1.02405 4.70764 1.0144 4.74933C1.00476 4.79108 1 4.83319 1 4.87567L1 11.3524C1 11.7098 1.33508 12.0001 1.75012 12.0001L12.2499 12.0001C12.2992 12.0001 12.348 11.9959 12.3962 11.9876C12.4446 11.9793 12.4915 11.967 12.537 11.9507C12.5825 11.9344 12.6257 11.9145 12.6666 11.8909C12.7076 11.8672 12.7455 11.8404 12.7803 11.8104C12.8152 11.7803 12.8462 11.7476 12.8735 11.7122C12.901 11.6768 12.9241 11.6395 12.9429 11.6002C12.9618 11.5609 12.976 11.5204 12.9856 11.4787C12.9952 11.437 13 11.3949 13 11.3524L13 4.87567C13 4.83313 12.9952 4.79095 12.9856 4.74921C12.976 4.70752 12.9617 4.66699 12.9429 4.62762C12.924 4.58832 12.9008 4.55096 12.8734 4.51562C12.8459 4.48022 12.8148 4.44751 12.7799 4.41742C12.7451 4.38733 12.7072 4.36047 12.6661 4.33685C12.6251 4.31329 12.5818 4.29333 12.5363 4.2771C12.4907 4.2608 12.4437 4.2486 12.3954 4.2403C12.347 4.23206 12.2982 4.22797 12.2489 4.22803Z' fill='url(%23paint_linear_404_103_0)' fill-opacity='1.000000' fill-rule='nonzero'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-file-disk{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 1152 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1152 608v192c0 53.02-42.98 96-96 96H96c-53.02 0-96-42.98-96-96V608c0-53.02 42.98-96 96-96h960c53.02 0 96 42.98 96 96zm-96-160a159.114 159.114 0 0 1 61.554 12.33L924.5 170.748A96.006 96.006 0 0 0 844.622 128H307.378a96 96 0 0 0-79.876 42.748L34.446 460.33A159.114 159.114 0 0 1 96 448h960zm-96 192c-35.346 0-64 28.654-64 64s28.654 64 64 64 64-28.654 64-64-28.654-64-64-64zm-192 0c-35.346 0-64 28.654-64 64s28.654 64 64 64 64-28.654 64-64-28.654-64-64-64z' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-file-file{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' data-spm-anchor-id='a313x.7781069.0.i7'%3E%3Cpath d='M842.667 981.333H181.333A53.393 53.393 0 0 1 128 928V96a53.393 53.393 0 0 1 53.333-53.333H648.08a52.987 52.987 0 0 1 37.713 15.62L880.38 252.873A52.987 52.987 0 0 1 896 290.587V928a53.393 53.393 0 0 1-53.333 53.333zm-661.334-896A10.667 10.667 0 0 0 170.667 96v832a10.667 10.667 0 0 0 10.666 10.667h661.334A10.667 10.667 0 0 0 853.333 928V298.667h-160A53.393 53.393 0 0 1 640 245.333v-160zM682.667 115.5v129.833A10.667 10.667 0 0 0 693.333 256h129.834zM704 768H320a21.333 21.333 0 0 1 0-42.667h384A21.333 21.333 0 0 1 704 768zm0-213.333H320A21.333 21.333 0 0 1 320 512h384a21.333 21.333 0 0 1 0 42.667zm-213.333-256H320A21.333 21.333 0 0 1 320 256h170.667a21.333 21.333 0 0 1 0 42.667z' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-flowbite\:play-solid{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M8.6 5.2A1 1 0 0 0 7 6v12a1 1 0 0 0 1.6.8l8-6a1 1 0 0 0 0-1.6z' clip-rule='evenodd'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-fontisto\:close{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M20.48 3.512a11.97 11.97 0 0 0-8.486-3.514C5.366-.002-.007 5.371-.007 11.999c0 3.314 1.344 6.315 3.516 8.487A11.97 11.97 0 0 0 11.995 24c6.628 0 12.001-5.373 12.001-12.001c0-3.314-1.344-6.315-3.516-8.487m-1.542 15.427a9.8 9.8 0 0 1-6.943 2.876c-5.423 0-9.819-4.396-9.819-9.819a9.8 9.8 0 0 1 2.876-6.943a9.8 9.8 0 0 1 6.942-2.876c5.422 0 9.818 4.396 9.818 9.818a9.8 9.8 0 0 1-2.876 6.942z'/%3E%3Cpath fill='currentColor' d='m13.537 12l3.855-3.855a1.091 1.091 0 0 0-1.542-1.541l.001-.001l-3.855 3.855l-3.855-3.855A1.091 1.091 0 0 0 6.6 8.145l-.001-.001l3.855 3.855l-3.855 3.855a1.091 1.091 0 1 0 1.541 1.542l.001-.001l3.855-3.855l3.855 3.855a1.091 1.091 0 1 0 1.542-1.541l-.001-.001z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-healthicons\:health-vulnerability-through-social-determinants-outline-24px{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M3.017 7.6A9.96 9.96 0 0 0 2 12c0 5.523 4.477 10 10 10q1.022-.002 1.985-.197a.3.3 0 0 1-.005-.053v-.99a.25.25 0 0 0-.074-.177l-.677-.677Q12.628 20 12 20A8 8 0 0 1 4.582 9H3.354a.25.25 0 0 1-.25-.25v-.958a.25.25 0 0 0-.073-.177zm5.988-3.02l-1.51-1.51A9.96 9.96 0 0 1 12 2c5.523 0 10 4.477 10 10a9.95 9.95 0 0 1-1.433 5.16L19.1 15.693A8 8 0 0 0 9.005 4.58M6 3l3 3l-.79.79l-.35-.35v1.443H6.745v-.93a.744.744 0 1 0-1.488 0v.93H4.139V6.44l-.35.35L3 6z'/%3E%3Cpath d='M11 16v-3H8v-2h3V8h2v3h3v2h-3v3zm6.4-.6l3.5 3.529l-.82.826l-.362-.366v1.51h-1.545v-.973a.776.776 0 0 0-.773-.779a.776.776 0 0 0-.773.78v.973h-1.545v-1.51l-.363.365l-.82-.826z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-home\:check{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 6.5L5.5 11L12.5 4' fill='none' stroke='currentColor' stroke-width='2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-home\:fix{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 7.48571C18 10.5154 15.544 12.9714 12.5143 12.9714C11.5878 12.9714 10.7149 12.7417 9.94953 12.3362L4.28571 18L2 15.7143L7.66382 10.0505C7.25829 9.28507 7.02857 8.41221 7.02857 7.48571C7.02857 4.45604 9.48462 2 12.5143 2C13.4408 2 14.3136 2.22969 15.079 2.63524L11.6 6.11429L13.8857 8.4L17.3648 4.92096C17.7703 5.68635 18 6.55922 18 7.48571Z' stroke='currentColor' stroke-width='1.5' stroke-linecap='square'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-home\:restart{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 9V2' stroke='currentColor' stroke-width='1.5' stroke-linecap='square' stroke-linejoin='round'/%3E%3Cpath d='M5.61905 4C3.77138 5.35135 2.57129 7.53552 2.57129 9.99998C2.57129 14.1027 5.89717 17.4286 9.99986 17.4286C14.1025 17.4286 17.4284 14.1027 17.4284 9.99998C17.4284 7.32457 16.0141 4.97949 13.8923 3.67164' stroke='currentColor' stroke-width='1.5' stroke-linecap='square' stroke-linejoin='round'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-home\:update{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_3_230)'%3E%3Cpath d='M4.13753 13.7501C4.87923 14.8601 5.93344 15.7253 7.16684 16.2362C8.40024 16.7471 9.75744 16.8808 11.0668 16.6203C12.3762 16.3599 13.5789 15.717 14.5229 14.773C15.4669 13.829 16.1098 12.6262 16.3703 11.3169C16.6307 10.0075 16.497 8.65029 15.9861 7.41689C15.4752 6.18349 14.6101 5.12928 13.5001 4.38758C12.39 3.64588 11.085 3.25 9.74995 3.25C7.86292 3.2571 6.05168 3.99342 4.69495 5.305L3.44995 6.4' stroke='currentColor' stroke-width='1.5' stroke-linecap='square'/%3E%3Cpath d='M3 3.25V7H6.75' stroke='currentColor' stroke-width='1.5' stroke-linecap='square'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_3_230'%3E%3Crect width='20' height='20' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-home\:user{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %233f3f3f;}.st1 {fill: %23ecb485;}.st2 {opacity: .1;}.st2, .st3 {fill: %2322b573;}.st4 {fill: %23f6caa9;}%3C/style%3E%3C/defs%3E%3Cpath class='st2' d='M64,512c0,247.42,200.58,448,448,448s448-200.58,448-448S759.42,64,512,64,64,264.58,64,512Z'/%3E%3Cpath class='st4' d='M698.6,459.8c0,113.87-82.01,206.18-183.17,206.18s-183.17-92.31-183.17-206.17,82.01-206.18,183.17-206.18,183.17,92.31,183.17,206.18'/%3E%3Cpath class='st4' d='M444.27,633.56h140.49v116.19h-140.49v-116.19ZM355.41,471.89c0,17.02-12.6,30.83-28.14,30.83s-28.14-13.8-28.14-30.83,12.6-30.83,28.14-30.83,28.14,13.8,28.14,30.83M731.35,471.51c0,17.02-12.6,30.83-28.14,30.83s-28.14-13.8-28.14-30.83,12.6-30.83,28.14-30.83,28.14,13.8,28.14,30.83'/%3E%3Cpath class='st1' d='M444.64,650.21s26.6,13.69,65.19,13.69c45.33,1.85,74.93-13.32,74.93-13.32v13.69s-49.83,26.64-72.31,26.64-68.18-31.45-68.18-31.45l.37-9.25h0ZM491.79,202.69s-123.95,12.35-125.23,93.49,95.71,96.67,131.65,105.55c35.94,8.88,134.78,20.29,192.54-73.53,0,0-15.84-36.79-24.51-62.45-3.85-6.66,6.22,11.43-28.44-10.44-34.66-21.87-81.19-57.68-146.01-52.61'/%3E%3Cpath class='st0' d='M405.01,247.01s-90.37,15.05-95.5,95.91c-5.14,80.86,9.21,102.22,9.21,102.22,0,0,20.38-.06,25.51,30.41,0,0,9.43,5.59,10.27,0,1.39-9.29-8.27-53.43,10.99-94.45,19.13-40.76,37.56-46.58,37.56-46.58l1.96-87.5ZM642.57,335.37s24.17,31.15,28.35,62.29c3.54,26.41,8.47,76.09,8.47,76.09,0,0,6.74,4.76,11.55-6.66,4.81-11.41,3.57-22.81,8.05-25.77,23.65-15.66,17.48-81.5,16.21-88.45-5.37-29.4-29.76-76.64-29.76-76.64,0,0-42.87,59.14-42.87,59.14Z'/%3E%3Cpath class='st0' d='M488.66,175.41s-128.26,5.27-129.55,90.56,100.02,109.34,135.97,118.66c35.94,9.33,134.78,21.32,192.54-77.29,0,0,14.44-44.64,5.78-71.63-3.85-7-24.07,17.99-58.72-5-34.66-22.99-81.19-60.63-146.01-55.31'/%3E%3Cpath class='st3' d='M839.09,818.12c-22.8-17.9-65.73-44.28-108.29-64.98-69.09-33.59-145.99-48.64-145.99-48.64l-.06,2.28c-5.6,5.98-32.63,32.62-69.86,32.62s-64.07-25.01-70.4-31.31l-.33-3.24s-74.05,10.15-143.14,43.74c-47.28,22.99-95,52.99-115.09,70.59,81.7,86.69,197.57,140.81,326.08,140.81s245.34-54.56,327.09-141.88h0Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-hugeicons\:firewall{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M19 14H5c-1.414 0-2.121 0-2.56.44C2 14.878 2 15.585 2 17v2c0 1.414 0 2.121.44 2.56C2.878 22 3.585 22 5 22h14c1.414 0 2.121 0 2.56-.44c.44-.439.44-1.146.44-2.56v-2c0-1.414 0-2.121-.44-2.56C21.122 14 20.415 14 19 14M2 18h20m-10 0v-4m-5 8v-4m10 4v-4m1.841-7c-.287-1.194-1.005-2.36-2.466-3.4C12.437 4.8 12 2 12 2s-4.062 3.6-1.75 8c-2.1.32-3.078-2-3.304-3.2c-.97 1.29-1.74 2.736-1.91 4.2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ic\:baseline-category{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m12 2l-5.5 9h11z'/%3E%3Ccircle cx='17.5' cy='17.5' r='4.5' fill='currentColor'/%3E%3Cpath fill='currentColor' d='M3 13.5h8v8H3z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ic\:baseline-pause-circle-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M9 16h2V8H9zm3-14C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8m1-4h2V8h-2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ic\:baseline-zoom-in{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5A6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5S14 7.01 14 9.5S11.99 14 9.5 14'/%3E%3Cpath fill='currentColor' d='M12 10h-2v2H9v-2H7V9h2V7h1v2h2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ic\:baseline-zoom-out{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5A6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5S14 7.01 14 9.5S11.99 14 9.5 14M7 9h5v1H7z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ic\:outline-arrow-circle-left{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M2 12c0 5.52 4.48 10 10 10s10-4.48 10-10S17.52 2 12 2S2 6.48 2 12m18 0c0 4.42-3.58 8-8 8s-8-3.58-8-8s3.58-8 8-8s8 3.58 8 8M8 12l4-4l1.41 1.41L11.83 11H16v2h-4.17l1.59 1.59L12 16z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ic\:outline-arrow-circle-right{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M22 12c0-5.52-4.48-10-10-10S2 6.48 2 12s4.48 10 10 10s10-4.48 10-10M4 12c0-4.42 3.58-8 8-8s8 3.58 8 8s-3.58 8-8 8s-8-3.58-8-8m12 0l-4 4l-1.41-1.41L12.17 13H8v-2h4.17l-1.59-1.59L12 8z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ic\:outline-view-module{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M3 5v14h18V5zm16 6h-3.33V7H19zm-5.33 0h-3.33V7h3.33zM8.33 7v4H5V7zM5 17v-4h3.33v4zm5.33 0v-4h3.33v4zm5.34 0v-4H19v4z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-iconamoon\:3d-bold{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5'%3E%3Cpath d='m12 3l7.794 4.5v7.845a2 2 0 0 1-1 1.732L13 20.423a2 2 0 0 1-2 0l-5.794-3.346a2 2 0 0 1-1-1.732V7.5z'/%3E%3Cpath d='M12 7v5l-4.33 2.5M12 12l4.33 2.5'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-iconamoon\:file{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linejoin='round' stroke-width='2'%3E%3Cpath stroke-linecap='round' d='M7 21a2 2 0 0 1-2-2V3h9l5 5v11a2 2 0 0 1-2 2z'/%3E%3Cpath d='M13 3v6h6'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-iconoir\:xmark-circle{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M9.172 14.828L12.001 12m2.828-2.828L12.001 12m0 0L9.172 9.172M12.001 12l2.828 2.828M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2S2 6.477 2 12s4.477 10 10 10'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-lets-icons\:lightning-ring{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none'%3E%3Cpath fill='currentColor' d='M11.5 13.8h-1.063c-1.53 0-2.294 0-2.583-.497s.088-1.162.844-2.491l2.367-4.167c.375-.66.563-.99.749-.94c.186.049.186.428.186 1.187V9.7c0 .236 0 .354.073.427s.191.073.427.073h1.063c1.53 0 2.294 0 2.583.497s-.088 1.162-.844 2.491l-2.367 4.167c-.375.66-.563.99-.749.94C12 18.247 12 17.868 12 17.109V14.3c0-.236 0-.354-.073-.427s-.191-.073-.427-.073'/%3E%3Ccircle cx='12' cy='12' r='9' stroke='currentColor' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-lineicons\:protection{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 64 64' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M53.6 7.5L33.3 1.9c-.8-.2-1.7-.2-2.5 0L10.4 7.5c-2.1.6-3.6 2.5-3.6 4.7V27c0 15.5 9.2 29.2 23.4 34.9c.6.2 1.2.4 1.8.4s1.2-.1 1.8-.4c14.2-5.7 23.4-19.5 23.4-35V12.2c0-2.2-1.5-4.1-3.6-4.7m-.9 19.4c0 13.4-8.3 25.8-20.5 30.8h-.3c-12.5-5-20.6-17.1-20.6-30.7V12.2c0-.1.1-.3.2-.3l20.4-5.6h.2l20.4 5.6c.1 0 .2.2.2.3z'/%3E%3Cpath fill='currentColor' d='M43.3 22.6L29.5 34.2L23.3 29c-1-.8-2.4-.7-3.2.3s-.7 2.4.3 3.2l7.6 6.4c.4.4.9.5 1.4.5s1-.2 1.4-.5L46.2 26c1-.8 1.1-2.2.3-3.2c-.8-.9-2.3-1-3.2-.2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-lsicon\:clothes-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' d='M5 13.5h6v-6l2 1L14 5l-2-2.5h-1.5C10.5 3 9.2 4 8 4S5.5 3 5.5 2.5H4L2 5l1 3.5l2-1z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-lucide-arrow-up{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m5 12l7-7l7 7m-7 7V5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-lucide-plus{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 12h14m-7-7v14'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-lucide-wrench{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-lucide\:user-round{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='5'/%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-mage\:pause-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M10.25 5.5v13a1.75 1.75 0 0 1-1.75 1.75h-3a1.75 1.75 0 0 1-1.75-1.75v-13A1.76 1.76 0 0 1 5.5 3.75h3a1.75 1.75 0 0 1 1.75 1.75m10 0v13a1.75 1.75 0 0 1-1.75 1.75h-3a1.75 1.75 0 0 1-1.75-1.75v-13a1.76 1.76 0 0 1 1.75-1.75h3a1.75 1.75 0 0 1 1.75 1.75'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-mage\:play-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19.105 11.446a2.34 2.34 0 0 1-.21 1c-.15.332-.38.62-.67.84l-9.65 7.51a2.3 2.3 0 0 1-1.17.46h-.23a2.2 2.2 0 0 1-1-.24a2.29 2.29 0 0 1-1.28-2v-14a2.2 2.2 0 0 1 .33-1.17a2.27 2.27 0 0 1 2.05-1.1c.412.02.812.148 1.16.37l9.66 6.44c.294.204.54.47.72.78c.19.34.29.721.29 1.11'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-majesticons\:eye-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M12 5c-6.307 0-9.367 5.683-9.91 6.808a.44.44 0 0 0 0 .384C2.632 13.317 5.692 19 12 19s9.367-5.683 9.91-6.808a.44.44 0 0 0 0-.384C21.368 10.683 18.308 5 12 5'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-majesticons\:eye-off-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M7 6.362A9.7 9.7 0 0 1 12 5c6.307 0 9.367 5.683 9.91 6.808c.06.123.06.261 0 .385c-.352.728-1.756 3.362-4.41 5.131M14 18.8a10 10 0 0 1-2 .2c-6.307 0-9.367-5.683-9.91-6.808a.44.44 0 0 1 0-.386c.219-.452.84-1.632 1.91-2.885m6 .843A3 3 0 0 1 14.236 14M3 3l18 18'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols-light\:bottom-panel-close{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m12 11.596l3.173-3.192H8.827zM18.384 4q.672 0 1.144.472T20 5.616v12.769q0 .67-.472 1.143q-.472.472-1.143.472H5.615q-.67 0-1.143-.472Q4 19.056 4 18.385V5.615q0-.67.472-1.143Q4.944 4 5.616 4zM19 15V5.616q0-.231-.192-.424T18.384 5H5.616q-.231 0-.424.192T5 5.616V15z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols-light\:check-small-rounded{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m10 14.312l6.246-6.266q.139-.14.353-.14q.215 0 .355.139t.14.354t-.14.355l-6.389 6.369q-.242.243-.565.243t-.565-.243l-2.389-2.37q-.14-.138-.14-.352t.139-.355t.354-.14t.355.14z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols-light\:close-small-rounded{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m12 12.727l-3.244 3.252q-.161.16-.358.15t-.358-.17t-.16-.363t.16-.363L11.274 12L8.04 8.782q-.16-.161-.16-.367t.16-.368t.364-.16q.204 0 .363.16L12 11.298l3.219-3.252q.161-.16.358-.16t.358.16q.165.166.165.367t-.165.36L12.702 12l3.252 3.244q.16.161.16.358t-.16.358q-.166.165-.367.165t-.36-.165z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols-light\:drag-pan{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 21.308L8.442 17.75l.714-.713L11.5 19.38V12.5H4.625l2.344 2.339l-.719.719L2.692 12l3.552-3.552l.714.714L4.619 11.5H11.5V4.62L9.156 6.963l-.714-.714L12 2.692l3.558 3.558l-.714.714L12.5 4.618V11.5h6.875l-2.344-2.339l.719-.719L21.308 12l-3.558 3.558l-.713-.714L19.38 12.5H12.5v6.875l2.339-2.344l.719.719z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols-light\:edit-square-sharp{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M10 14v-2.615l9.683-9.683l2.56 2.564L12.518 14zm9.466-8.354l1.347-1.361l-1.111-1.17l-1.387 1.381zM4 20V4h10.002l-6.386 6.387v5.998h5.896L20 9.895V20z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols\:arrow-right-alt-rounded{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16.15 13H5q-.425 0-.712-.288T4 12t.288-.712T5 11h11.15L13.3 8.15q-.3-.3-.288-.7t.288-.7q.3-.3.713-.312t.712.287L19.3 11.3q.15.15.213.325t.062.375t-.062.375t-.213.325l-4.575 4.575q-.3.3-.712.288t-.713-.313q-.275-.3-.288-.7t.288-.7z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols\:code-rounded{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M4.825 12.025L8.7 15.9q.275.275.275.7t-.275.7t-.7.275t-.7-.275l-4.6-4.6q-.15-.15-.213-.325T2.426 12t.063-.375t.212-.325l4.6-4.6q.3-.3.713-.3t.712.3t.3.713t-.3.712zm14.35-.05L15.3 8.1q-.275-.275-.275-.7t.275-.7t.7-.275t.7.275l4.6 4.6q.15.15.213.325t.062.375t-.062.375t-.213.325l-4.6 4.6q-.3.3-.7.288t-.7-.313t-.3-.712t.3-.713z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols\:keyboard-arrow-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m12 15.4l-6-6L7.4 8l4.6 4.6L16.6 8L18 9.4z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols\:library-add-check-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m12.7 14.05l5.65-5.65l-1.4-1.45l-4.25 4.25l-2.15-2.1l-1.4 1.4zM8 18q-.825 0-1.412-.587T6 16V4q0-.825.588-1.412T8 2h12q.825 0 1.413.588T22 4v12q0 .825-.587 1.413T20 18zm0-2h12V4H8zm-4 6q-.825 0-1.412-.587T2 20V6h2v14h14v2zM8 4v12z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols\:network-node{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M5.5 22q-1.45 0-2.475-1.025T2 18.5t1.025-2.475T5.5 15q.45 0 .875.112t.8.313L11 11.6V8.85q-1.1-.325-1.8-1.237T8.5 5.5q0-1.45 1.025-2.475T12 2t2.475 1.025T15.5 5.5q0 1.2-.7 2.113T13 8.85v2.75l3.85 3.825q.375-.2.788-.312T18.5 15q1.45 0 2.475 1.025T22 18.5t-1.025 2.475T18.5 22t-2.475-1.025T15 18.5q0-.45.112-.875t.313-.8L12 13.4l-3.425 3.425q.2.375.313.8T9 18.5q0 1.45-1.025 2.475T5.5 22m13-2q.625 0 1.063-.437T20 18.5t-.437-1.062T18.5 17t-1.062.438T17 18.5t.438 1.063T18.5 20M12 7q.625 0 1.063-.437T13.5 5.5t-.437-1.062T12 4t-1.062.438T10.5 5.5t.438 1.063T12 7M5.5 20q.625 0 1.063-.437T7 18.5t-.437-1.062T5.5 17t-1.062.438T4 18.5t.438 1.063T5.5 20'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols\:service-toolbox-outline-rounded{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7 6V5q0-.825.588-1.412T9 3h6q.825 0 1.413.588T17 5v1h.7q.575 0 1.075.325t.725.875l2.35 5.4q.075.2.113.4t.037.4V18q0 .825-.587 1.413T20 20H4q-.825 0-1.412-.587T2 18v-4.6q0-.2.038-.4t.112-.4L4.5 7.2q.225-.55.725-.875T6.3 6zm2 0h6V5H9zm-2 6v-.025q0-.425.288-.712T8 10.974t.713.288t.287.712V12h6v-.025q0-.425.288-.712t.712-.288t.713.288t.287.712V12h2.4l-1.7-4H6.3l-1.7 4zm0 2H4v4h16v-4h-3v.025q0 .425-.288.713t-.712.287t-.712-.288t-.288-.712V14H9v.025q0 .425-.288.713T8 15.025t-.712-.288T7 14.026zm5 0'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-material-symbols\:settings-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m9.25 22l-.4-3.2q-.325-.125-.612-.3t-.563-.375L4.7 19.375l-2.75-4.75l2.575-1.95Q4.5 12.5 4.5 12.338v-.675q0-.163.025-.338L1.95 9.375l2.75-4.75l2.975 1.25q.275-.2.575-.375t.6-.3l.4-3.2h5.5l.4 3.2q.325.125.613.3t.562.375l2.975-1.25l2.75 4.75l-2.575 1.95q.025.175.025.338v.674q0 .163-.05.338l2.575 1.95l-2.75 4.75l-2.95-1.25q-.275.2-.575.375t-.6.3l-.4 3.2zM11 20h1.975l.35-2.65q.775-.2 1.438-.587t1.212-.938l2.475 1.025l.975-1.7l-2.15-1.625q.125-.35.175-.737T17.5 12t-.05-.787t-.175-.738l2.15-1.625l-.975-1.7l-2.475 1.05q-.55-.575-1.212-.962t-1.438-.588L13 4h-1.975l-.35 2.65q-.775.2-1.437.588t-1.213.937L5.55 7.15l-.975 1.7l2.15 1.6q-.125.375-.175.75t-.05.8q0 .4.05.775t.175.75l-2.15 1.625l.975 1.7l2.475-1.05q.55.575 1.213.963t1.437.587zm1.05-4.5q1.45 0 2.475-1.025T15.55 12t-1.025-2.475T12.05 8.5q-1.475 0-2.488 1.025T8.55 12t1.013 2.475T12.05 15.5M12 12'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-mdi-close{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-mdi-github{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33s1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-mdi-monitor{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M21 16H3V4h18m0-2H3c-1.11 0-2 .89-2 2v12a2 2 0 0 0 2 2h7v2H8v2h8v-2h-2v-2h7a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-mdi-view-quilt-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M4 5v13h17V5zm2 11V7h3v9zm5 0v-3.5h3V16zm8 0h-3v-3.5h3zm-8-5.5V7h8v3.5z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-mdi-weather-night{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m17.75 4.09l-2.53 1.94l.91 3.06l-2.63-1.81l-2.63 1.81l.91-3.06l-2.53-1.94L12.44 4l1.06-3l1.06 3zm3.5 6.91l-1.64 1.25l.59 1.98l-1.7-1.17l-1.7 1.17l.59-1.98L15.75 11l2.06-.05L18.5 9l.69 1.95zm-2.28 4.95c.83-.08 1.72 1.1 1.19 1.85c-.32.45-.66.87-1.08 1.27C15.17 23 8.84 23 4.94 19.07c-3.91-3.9-3.91-10.24 0-14.14c.4-.4.82-.76 1.27-1.08c.75-.53 1.93.36 1.85 1.19c-.27 2.86.69 5.83 2.89 8.02a9.96 9.96 0 0 0 8.02 2.89m-1.64 2.02a12.08 12.08 0 0 1-7.8-3.47c-2.17-2.19-3.33-5-3.49-7.82c-2.81 3.14-2.7 7.96.31 10.98c3.02 3.01 7.84 3.12 10.98.31'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-mdi-white-balance-sunny{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m3.55 19.09l1.41 1.41l1.8-1.79l-1.42-1.42M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6s6-2.69 6-6c0-3.32-2.69-6-6-6m8 7h3v-2h-3m-2.76 7.71l1.8 1.79l1.41-1.41l-1.79-1.8M20.45 5l-1.41-1.4l-1.8 1.79l1.42 1.42M13 1h-2v3h2M6.76 5.39L4.96 3.6L3.55 5l1.79 1.81zM1 13h3v-2H1m12 9h-2v3h2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-mdi\:earth{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17.9 17.39c-.26-.8-1.01-1.39-1.9-1.39h-1v-3a1 1 0 0 0-1-1H8v-2h2a1 1 0 0 0 1-1V7h2a2 2 0 0 0 2-2v-.41a7.984 7.984 0 0 1 2.9 12.8M11 19.93c-3.95-.49-7-3.85-7-7.93c0-.62.08-1.22.21-1.79L9 15v1a2 2 0 0 0 2 2m1-16A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-mingcute\:add-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none'%3E%3Cpath d='m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='currentColor' d='M10.5 20a1.5 1.5 0 0 0 3 0v-6.5H20a1.5 1.5 0 0 0 0-3h-6.5V4a1.5 1.5 0 0 0-3 0v6.5H4a1.5 1.5 0 0 0 0 3h6.5z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-mingcute\:plugin-2-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='currentColor' d='M10.5 4a1.472 1.472 0 0 0-1.317 2.13l.163.325A1.067 1.067 0 0 1 8.39 8H5a1 1 0 0 0-1 1v1.194c1.82-.109 3.5 1.331 3.5 3.306S5.82 16.915 4 16.806V19a1 1 0 0 0 1 1h2.194c-.109-1.82 1.331-3.5 3.306-3.5s3.415 1.68 3.306 3.5H15a1 1 0 0 0 1-1v-3.39c0-.794.835-1.31 1.545-.956l.324.163a1.472 1.472 0 1 0 0-2.634l-.324.163A1.067 1.067 0 0 1 16 11.39V9a1 1 0 0 0-1-1h-2.39c-.794 0-1.31-.835-.956-1.545l.163-.325A1.472 1.472 0 0 0 10.5 4M7.064 6c-.316-2.017 1.23-4 3.436-4s3.752 1.983 3.436 4H15a3 3 0 0 1 3 3v1.064c2.017-.316 4 1.23 4 3.436s-1.983 3.752-4 3.436V19a3 3 0 0 1-3 3h-2.407a1.06 1.06 0 0 1-.976-1.48l.085-.197a1.308 1.308 0 1 0-2.404 0l.085.198c.3.7-.214 1.479-.976 1.479H5a3 3 0 0 1-3-3v-3.407c0-.762.779-1.276 1.48-.976l.197.085a1.308 1.308 0 1 0 0-2.404l-.198.085c-.7.3-1.479-.214-1.479-.976V9a3 3 0 0 1 3-3z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-mynaui\:refresh-solid{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M21.074 12.154a.75.75 0 0 1 .672.82c-.49 4.93-4.658 8.776-9.724 8.776c-2.724 0-5.364-.933-7.238-2.68L3 20.85a.75.75 0 0 1-.75-.75v-3.96c0-.714.58-1.29 1.291-1.29h3.97a.75.75 0 0 1 .75.75l-2.413 2.407c1.558 1.433 3.78 2.243 6.174 2.243c4.29 0 7.817-3.258 8.232-7.424a.75.75 0 0 1 .82-.672m-18.82-1.128c.49-4.93 4.658-8.776 9.724-8.776c2.724 0 5.364.933 7.238 2.68L21 3.15a.75.75 0 0 1 .75.75v3.96c0 .714-.58 1.29-1.291 1.29h-3.97a.75.75 0 0 1-.75-.75l2.413-2.408c-1.558-1.432-3.78-2.242-6.174-2.242c-4.29 0-7.817 3.258-8.232 7.424a.75.75 0 1 1-1.492-.148'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-octicon\:git-branch-16{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.5 2.5 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25m-6 0a.75.75 0 1 0 1.5 0a.75.75 0 0 0-1.5 0m8.25-.75a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5M4.25 12a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-pajamas\:issue-type-maintenance{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M11.25 2.5a2.25 2.25 0 0 0-2.154 2.904l.13.43l-.317.318l-6.254 6.253l-.53-.53l.53.53a.664.664 0 0 0 .94.94L9.848 7.09l.318-.318l.43.13a2.25 2.25 0 0 0 2.685-3.124l-1.5 1.501a.75.75 0 1 1-1.061-1.06l1.5-1.5a2.24 2.24 0 0 0-.97-.22ZM7.5 4.75a3.75 3.75 0 1 1 3.114 3.696L10.061 9l.939.94l.47-.47l.53-.53l.53.53l1.875 1.875a2.164 2.164 0 1 1-3.06 3.06L9.47 12.53L8.94 12l.53-.53l.47-.47l-.94-.94l-4.345 4.345l-.53-.53l.53.53a2.164 2.164 0 1 1-3.06-3.06L5.939 7L3.5 4.56l-.617.617l-.507-.761l-1-1.5l-.341-.512l.435-.434l.5-.5l.434-.435l.512.341l1.5 1l.761.507l-.616.617L7 5.94l.554-.554A4 4 0 0 1 7.5 4.75m4.5 6.31l1.345 1.345a.664.664 0 0 1-.94.94L11.061 12z' clip-rule='evenodd'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-pixel\:plus-solid{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M23 11v2h-1v1h-8v8h-1v1h-2v-1h-1v-8H2v-1H1v-2h1v-1h8V2h1V1h2v1h1v8h8v1z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-prime\:clone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M14 16.75H6A2.75 2.75 0 0 1 3.25 14V6A2.75 2.75 0 0 1 6 3.25h8A2.75 2.75 0 0 1 16.75 6v8A2.75 2.75 0 0 1 14 16.75m-8-12A1.25 1.25 0 0 0 4.75 6v8A1.25 1.25 0 0 0 6 15.25h8A1.25 1.25 0 0 0 15.25 14V6A1.25 1.25 0 0 0 14 4.75Z'/%3E%3Cpath fill='currentColor' d='M18 20.75h-8A2.75 2.75 0 0 1 7.25 18v-2h1.5v2A1.25 1.25 0 0 0 10 19.25h8A1.25 1.25 0 0 0 19.25 18v-8A1.25 1.25 0 0 0 18 8.75h-2v-1.5h2A2.75 2.75 0 0 1 20.75 10v8A2.75 2.75 0 0 1 18 20.75'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-ri\:menu-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M3 4h18v2H3zm0 7h18v2H3zm0 7h18v2H3z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-security\:backend{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.82 3.283c.35.262.727.456 1.131.583.527.168.961.22 1.262.23-.026.378-.081.97-.196 1.74-.097.646-.29 1.209-.572 1.676-.293.48-.592.709-.745.802-.483.294-.852.314-.88.315-.029.001-.397-.02-.88-.315-.153-.093-.453-.321-.745-.802-.283-.466-.476-1.03-.572-1.675a22.466 22.466 0 0 1-.197-1.74 4.768 4.768 0 0 0 1.262-.23 3.769 3.769 0 0 0 1.132-.584zm0-.569s-.44.46-1.24.714a4.248 4.248 0 0 1-1.277.215c-.195 0-.303-.019-.303-.019s.008.828.226 2.288c.232 1.56.958 2.458 1.523 2.802.601.367 1.057.37 1.07.37.015 0 .47-.003 1.072-.37.564-.344 1.29-1.242 1.523-2.802.218-1.46.226-2.288.226-2.288s-.108.02-.304.02c-.272 0-.716-.038-1.275-.216-.801-.254-1.241-.714-1.241-.714z' fill='currentColor'/%3E%3Cpath d='M6.82 3.17V5.9H4.403l-.197-1.98 2.614-.75zm0 2.73v2.944l.805-.215.856-.839.464-.9.292-.99H6.82z' fill='currentColor'/%3E%3Crect x='1.5' y='1.5' rx='2' width='11' height='9.286' stroke='currentColor'/%3E%3Cpath stroke='currentColor' d='M7 11.286V13'/%3E%3Cpath d='M3.25 13h7.5' stroke='currentColor' stroke-linecap='round'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-security\:backup{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' x='0' y='0' viewBox='0 0 128 128' style='enable-background:new 0 0 128 128' xml:space='preserve'%3E%3Cpath d='M76.6 112H25.4c-5.2 0-9.4-4.2-9.4-9.4V40.2c0-5.2 4.2-9.4 9.4-9.4h51.2c5.2 0 9.4 4.2 9.4 9.4v2.9c0 2.1-1.7 3.7-3.7 3.7s-3.7-1.7-3.7-3.7v-2.9c0-1-.8-1.9-1.9-1.9H25.4c-1 0-1.9.8-1.9 1.9v62.4c0 1 .8 1.9 1.9 1.9h51.2c1 0 1.9-.8 1.9-1.9V82.8c0-2.1 1.7-3.7 3.7-3.7s3.7 1.7 3.7 3.7v19.8c0 5.2-4.2 9.4-9.3 9.4z' fill='currentColor'/%3E%3Cpath d='M102.6 97.2h-11c-2.1 0-3.7-1.7-3.7-3.7 0-2.1 1.7-3.7 3.7-3.7h11.1c1 0 1.9-.8 1.9-1.9V25.4c0-1-.8-1.9-1.9-1.9H51.4c-1 0-1.9.8-1.9 1.9v.7c0 2.1-1.7 3.7-3.7 3.7s-3.7-1.7-3.7-3.7v-.7c0-5.2 4.2-9.4 9.4-9.4h51.2c5.2 0 9.4 4.2 9.4 9.4v62.4c-.1 5.2-4.3 9.4-9.5 9.4z' fill='currentColor'/%3E%3Cpath d='M60 99.1c-.9 0-1.8-.3-2.5-.9L30.3 73.9c-1.5-1.4-1.6-3.8-.2-5.3l.3-.3 27.2-23.2c1.6-1.3 3.9-1.2 5.3.4.6.7.9 1.5.9 2.4v12c8.8-.9 16.9-5.2 22.6-12l8.8-10.4c1.3-1.6 3.6-1.9 5.3-.6 1.2.9 1.7 2.4 1.3 3.9L99.3 51c-3.9 17-18.2 29.5-35.5 31.1v13.3c-.1 2.1-1.8 3.7-3.8 3.7zM38.5 71.2 56.2 87v-8.5c0-2.1 1.7-3.7 3.7-3.7 13.5 0 25.2-8 30.3-20.1-7.9 8.2-18.8 12.9-30.2 12.9-2.1 0-3.7-1.7-3.7-3.7V56L38.5 71.2z' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-security\:feature-record{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' xmlns='http://www.w3.org/2000/svg' width='34px' height='34px' fill='none'%3E%3Cpath d='M0 0h34v34H0z'/%3E%3Cpath fill='currentColor' d='M7.65.17h1.744v6.474H7.65zm15.849 15.941a7.88 7.88 0 0 1 5.451 2.181 7.862 7.862 0 0 1 2.447 5.358 7.845 7.845 0 0 1-2.057 5.69 7.868 7.868 0 0 1-5.857 2.579 7.88 7.88 0 0 1-5.452-2.182 7.862 7.862 0 0 1-2.447-5.358 7.845 7.845 0 0 1 2.058-5.689 7.868 7.868 0 0 1 5.856-2.579zm0-1.741c-.15 0-.301.003-.453.01-5.329.246-9.45 4.759-9.203 10.08.239 5.17 4.511 9.2 9.641 9.2.15 0 .302-.003.453-.01 5.329-.246 9.45-4.759 9.204-10.08-.24-5.17-4.512-9.2-9.642-9.2'/%3E%3Cpath fill='currentColor' d='M16.19 31.67c-.47-.445-.897-.932-1.278-1.454H4.083a1.48 1.48 0 0 1-1.482-1.476V5.77a1.48 1.48 0 0 1 1.482-1.476h21.584a1.48 1.48 0 0 1 1.482 1.476v8.39a10.52 10.52 0 0 1 1.751.835V5.77a3.227 3.227 0 0 0-3.233-3.22H4.083A3.227 3.227 0 0 0 .85 5.77v22.97a3.227 3.227 0 0 0 3.233 3.22H16.51a10.68 10.68 0 0 1-.32-.29'/%3E%3Cpath fill='currentColor' d='M27.152 15.997a8.794 8.794 0 0 1 1.748 1.056v-.008a8.785 8.785 0 0 0-1.748-1.051zM28.785 27.2H22.32v-7.849h1.747v6.111h4.717zM5.27 11.752h19.429v1.738H5.27zM20.522.17h1.747v6.46h-1.747zm-7.559 24.457H5.27v1.738h7.95a10.49 10.49 0 0 1-.257-1.738m1.72-6.438H5.27v1.738h8.479c.255-.607.568-1.189.934-1.738'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:34px;height:34px}.i-security\:feature-tips{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' xmlns='http://www.w3.org/2000/svg' width='34px' height='34px' fill='none'%3E%3Cpath d='M0 0h34v34H0z'/%3E%3Cpath fill='currentColor' d='M32.44 25.345a1.251 1.251 0 0 0-1.253 1.252v4.59h-4.59a1.251 1.251 0 1 0 0 2.504h5.425a1.67 1.67 0 0 0 1.669-1.67v-5.424a1.251 1.251 0 0 0-1.252-1.252M32.022.31h-5.425a1.252 1.252 0 1 0 0 2.504h4.59v4.59a1.251 1.251 0 1 0 2.504 0V1.978A1.669 1.669 0 0 0 32.02.31M1.56 8.655a1.252 1.252 0 0 0 1.252-1.252v-4.59h4.59a1.252 1.252 0 1 0 0-2.504H1.978A1.67 1.67 0 0 0 .31 1.98v5.424c0 .69.561 1.252 1.252 1.252m5.842 22.532h-4.59v-4.59a1.252 1.252 0 1 0-2.504 0v5.425c0 .92.748 1.669 1.67 1.669h5.424a1.252 1.252 0 1 0 0-2.504m8.438-17.646c0-.638.52-1.153 1.159-1.153.64 0 1.16.515 1.16 1.153v5.517A1.154 1.154 0 0 1 17 20.214a1.155 1.155 0 0 1-1.16-1.155zm0 8.276c0-.637.52-1.153 1.159-1.153a1.156 1.156 0 0 1 1.003 1.731 1.156 1.156 0 0 1-1.003.577 1.155 1.155 0 0 1-1.16-1.155m12.503 1.272c.704 1.21-.177 2.72-1.578 2.72H7.233c-1.402 0-2.283-1.51-1.578-2.72l9.767-16.773A1.808 1.808 0 0 1 17 5.41c.643 0 1.244.33 1.578.906zm-2.387.416-8.955-15.3-8.933 15.342z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:34px;height:34px}.i-security\:feature-trojan{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' xmlns='http://www.w3.org/2000/svg' width='34px' height='34px' fill='none'%3E%3Cpath d='M0 0h34v34H0z'/%3E%3Cpath fill='currentColor' d='M1.062 27.228a.662.662 0 0 1 .718.607v3.426a.81.81 0 0 0 .792.792H4.67a.68.68 0 0 1 .718.644v.074a.758.758 0 0 1-.718.718h-2.1a2.248 2.248 0 0 1-2.228-2.228v-3.297a.68.68 0 0 1 .626-.736zm31.71 0a.68.68 0 0 1 .717.644v3.407a2.257 2.257 0 0 1-2.228 2.21h-2.1a.68.68 0 0 1-.717-.644v-.074a.68.68 0 0 1 .644-.718h2.173a.81.81 0 0 0 .792-.792v-3.297a.665.665 0 0 1 .59-.736zM20.304 3.656c1.951.57 8.212 3.02 7.365 10.239 0 .865-.147 1.841-.147 3.02v3.168a2.513 2.513 0 0 1-2.339 2.67h-.847v.331a9.968 9.968 0 0 0 .369 3.039c.22.902 0 1.86-.59 2.596a3.289 3.289 0 0 1-2.449 1.142h-9.723c-1.73.019-3.13-1.38-3.148-3.112 0-.387.073-.755.202-1.123a12.36 12.36 0 0 1 2.652-4.052 6.07 6.07 0 0 0 1.454-3.241c-.405.092-.791.24-1.16.424l-2.67 1.841a2.19 2.19 0 0 1-2.799-.368l-1.38-1.473a1.837 1.837 0 0 1-.203-2.302l6.04-9.484a3.907 3.907 0 0 1 1.841-1.603c.774-.534 1.62-.976 2.486-1.344a8.038 8.038 0 0 1 5.046-.368M13.62 6.602h-.092c-.552.203-.994.608-1.289 1.105l-5.027 7.827a.666.666 0 0 1 .331.81.71.71 0 0 1-.644.497H6.42l-.313.516c-.129.129-.147.332-.037.46 0 .019.019.019.037.037l1.363 1.437c.276.257.681.331 1.013.147l2.67-1.731a6.135 6.135 0 0 1 2.301-.866 4.164 4.164 0 0 0 2.892-1.583 2.477 2.477 0 0 0 .276-1.842.708.708 0 0 1 .626-.792.73.73 0 0 1 .755.442 4.524 4.524 0 0 1-.46 3.02 5.071 5.071 0 0 1-3.02 1.952 6.918 6.918 0 0 1-1.713 4.402 9.385 9.385 0 0 0-2.45 3.683 1.419 1.419 0 0 0 .222 1.51c.313.479.865.755 1.436.718h9.723a1.526 1.526 0 0 0 1.307-.644c.295-.387.405-.884.277-1.363a12.07 12.07 0 0 1-.277-3.978c.921-11.528 0-12.246-2.817-14.18a11.51 11.51 0 0 0-5.524-1.657 2.695 2.695 0 0 0-1.087.073m2.652-1.436h-.258a11.33 11.33 0 0 1 4.935 1.841c3.204 2.229 4.309 3.684 3.554 14.273h.552c.645 0 1.16-.516 1.16-1.16v-3.205c0-1.234 0-2.228.148-3.167.202-2.026 0-6.851-6.427-8.73a6.699 6.699 0 0 0-3.664.148m-3.315 5.525c.276.257.35.662.147.994l-.515.663a.644.644 0 0 1-.57.276 1.252 1.252 0 0 1-.443-.147.769.769 0 0 1-.22-1.05c0-.018.018-.018.036-.037l.497-.663a.794.794 0 0 1 1.068-.073zM4.671.34a.68.68 0 0 1 .718.644v.074a.708.708 0 0 1-.718.718h-2.1a.81.81 0 0 0-.791.792v3.683a.68.68 0 0 1-.645.719h-.073a.68.68 0 0 1-.719-.645V2.569A2.248 2.248 0 0 1 2.572.341zm26.59 0a2.248 2.248 0 0 1 2.228 2.228v3.683a.68.68 0 0 1-.644.719h-.074a.68.68 0 0 1-.718-.645V2.569a.81.81 0 0 0-.792-.792h-2.1a.68.68 0 0 1-.717-.644v-.074a.68.68 0 0 1 .644-.718z'/%3E%3Cpath fill='currentColor' d='M31.334 33.66H29.23a.78.78 0 0 1-.812-.74v-.073c-.037-.425.277-.775.701-.812h2.215a.726.726 0 0 0 .702-.702V28.03a.82.82 0 0 1 .812-.812.82.82 0 0 1 .812.812v3.323a2.348 2.348 0 0 1-2.326 2.307m-2.104-1.44a.622.622 0 0 0-.628.627c0 .35.277.628.628.628h2.104a2.144 2.144 0 0 0 2.234-2.05V28.03a.622.622 0 0 0-.628-.627.622.622 0 0 0-.627.627v3.323a.924.924 0 0 1-.886.886zM4.68 33.66H2.577a2.347 2.347 0 0 1-2.233-2.327V28.03a.75.75 0 0 1 .701-.812h.111a.75.75 0 0 1 .812.702v3.433a.726.726 0 0 0 .702.701H4.68c.424-.037.775.277.812.702v.11a.816.816 0 0 1-.812.794M.99 27.382a.584.584 0 0 0-.629.554v3.396a2.145 2.145 0 0 0 2.05 2.234h2.27c.35 0 .627-.277.627-.628a.584.584 0 0 0-.553-.627H2.576a.924.924 0 0 1-.886-.886v-3.397a.585.585 0 0 0-.535-.646zm20.654 2.585h-9.672a3.254 3.254 0 0 1-3.249-3.25c0-.387.074-.756.203-1.125a12.098 12.098 0 0 1 2.695-4.08 6.563 6.563 0 0 0 1.403-3.064c-.35.11-.683.277-.997.461l-2.676 1.736a2.285 2.285 0 0 1-2.935-.388L5.05 18.8a1.95 1.95 0 0 1-.24-2.4l6.073-9.47a4.094 4.094 0 0 1 1.846-1.642 13.994 13.994 0 0 1 2.436-1.422 8.214 8.214 0 0 1 5.113-.295c1.975.59 8.325 3.046 7.512 10.356 0 .904-.147 1.846-.147 3.027v3.175c.11 1.421-.96 2.658-2.4 2.769h-.794v.24c-.018 1.033.111 2.049.388 3.045.24.905.055 1.846-.498 2.603a3.312 3.312 0 0 1-2.621 1.181zm-8.38-11.777v.129a6.14 6.14 0 0 1-1.477 3.304 12.235 12.235 0 0 0-2.658 4.024 3.07 3.07 0 0 0 1.68 4.006c.369.147.775.221 1.163.221h9.746a3.257 3.257 0 0 0 2.4-1.126c.553-.701.756-1.624.553-2.51a9.763 9.763 0 0 1-.332-3.101v-.425h.738a2.336 2.336 0 0 0 1.846-.757c.48-.498.72-1.163.664-1.846v-3.156c0-1.145 0-2.141.148-3.046.794-7.162-5.537-9.58-7.383-10.152a8.062 8.062 0 0 0-5.02.277c-.85.387-1.662.867-2.419 1.42a3.782 3.782 0 0 0-1.846 1.588l-6.091 9.451c-.48.72-.406 1.68.203 2.308l1.366 1.44a2.108 2.108 0 0 0 2.695.332l2.676-1.772c.37-.222.757-.406 1.182-.517zm8.564 10.263h-9.782a1.88 1.88 0 0 1-1.514-.757 1.5 1.5 0 0 1-.24-1.514 9.453 9.453 0 0 1 2.418-3.691 6.934 6.934 0 0 0 1.717-4.412 4.849 4.849 0 0 0 2.971-1.846 4.233 4.233 0 0 0 .443-2.954.57.57 0 0 0-.277-.406.508.508 0 0 0-.46 0 .533.533 0 0 0-.352.388 2.517 2.517 0 0 1-.295 1.957 4.266 4.266 0 0 1-2.953 1.624 5.838 5.838 0 0 0-2.27.85l-2.677 1.734c-.37.203-.812.13-1.126-.147L6.047 17.82a.457.457 0 0 1 0-.627l.35-.554.314.092h.203a.572.572 0 0 0 .554-.443.555.555 0 0 0-.277-.683l4.984-7.882a2.66 2.66 0 0 1 1.273-1.107h.13c.35-.11.72-.166 1.089-.13 1.956.074 3.876.647 5.537 1.68 2.769 1.957 3.802 2.695 2.861 14.306-.13 1.33-.037 2.658.277 3.95a1.514 1.514 0 0 1-.314 1.44c-.295.37-.757.59-1.236.59zm-7.124-10.337a7.277 7.277 0 0 1-1.846 4.448v.093a8.99 8.99 0 0 0-2.381 3.525 1.33 1.33 0 0 0 .203 1.422c.295.443.83.72 1.366.683h9.746c.48.018.94-.203 1.218-.61.295-.35.406-.83.295-1.292a11.704 11.704 0 0 1-.295-4.005c.923-11.5 0-12.22-2.788-14.14a11.074 11.074 0 0 0-5.537-1.643 2.373 2.373 0 0 0-1.015.13h-.092a2.438 2.438 0 0 0-1.237.996l-4.984 7.827a.758.758 0 0 1 .37.868.787.787 0 0 1-.739.553H6.49l-.296.443c-.11.093-.11.259-.018.37l.018.018 1.366 1.458c.24.24.61.277.905.111l2.658-1.717a6.047 6.047 0 0 1 2.344-.886 4.07 4.07 0 0 0 2.842-1.661 2.483 2.483 0 0 0 .277-1.846.634.634 0 0 1 0-.628.917.917 0 0 1 .536-.369.705.705 0 0 1 .609 0c.203.111.332.314.369.536a4.42 4.42 0 0 1-.443 3.1 5.098 5.098 0 0 1-2.99 2.216zm10.447 3.34h-.646v-.11c.775-10.78-.443-12.072-3.526-14.213a11.532 11.532 0 0 0-4.91-1.846v-.111l.277-.092a6.96 6.96 0 0 1 3.692 0c6.516 1.846 6.7 6.83 6.497 8.842 0 .941-.147 1.956-.147 3.175v3.174c-.037.683-.591 1.2-1.274 1.182zm-.462-.184h.462c.59 0 1.07-.48 1.07-1.07v-3.25c0-1.217 0-2.251.148-3.192.203-1.976 0-6.775-6.368-8.64a6.72 6.72 0 0 0-3.526 0c1.643.222 3.23.831 4.615 1.754 3.083 2.29 4.338 3.6 3.563 14.398zm-12.643-8.565a1.12 1.12 0 0 1-.48-.147.935.935 0 0 1-.314-.554.853.853 0 0 1 .166-.59l.498-.665a.877.877 0 0 1 1.145-.148c.35.258.443.757.203 1.126l-.517.665a.736.736 0 0 1-.701.313m.516-2.067a.67.67 0 0 0-.516.221l-.499.665a.595.595 0 0 0-.129.461.6.6 0 0 0 .222.407c.11.073.258.11.387.129a.533.533 0 0 0 .498-.24l.517-.665a.703.703 0 0 0-.129-.867.608.608 0 0 0-.35-.111m20.304-3.563a.78.78 0 0 1-.812-.738V2.574a.726.726 0 0 0-.701-.701H29.23a.78.78 0 0 1-.812-.738V1.06a.777.777 0 0 1 .812-.72h2.104a2.364 2.364 0 0 1 2.326 2.326v3.691a.777.777 0 0 1-.812.72zM29.175.433a.584.584 0 0 0-.628.554v.074a.584.584 0 0 0 .554.627h2.178c.48.019.868.406.886.886v3.692c0 .35.277.628.627.628.351 0 .628-.277.628-.628V2.574c0-1.181-.96-2.14-2.141-2.14zM1.063 7.078a.777.777 0 0 1-.72-.812V2.574A2.33 2.33 0 0 1 2.576.341h2.105a.78.78 0 0 1 .812.738v.074a.82.82 0 0 1-.812.812H2.576a.726.726 0 0 0-.7.702v3.691a.75.75 0 0 1-.795.72zM2.576.433c-1.18 0-2.14.96-2.14 2.141v3.692a.584.584 0 0 0 .553.628h.074a.584.584 0 0 0 .627-.554V2.574a.924.924 0 0 1 .886-.886h2.105c.35 0 .627-.277.627-.627a.584.584 0 0 0-.553-.628z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:34px;height:34px}.i-security\:filescan{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128' style='enable-background:new 0 0 128 128' xml:space='preserve'%3E%3Cpath class='st0' d='M36.8 46.8h20.6c1.9 0 3.4-1.5 3.4-3.4S59.3 40 57.4 40H36.8c-1.9 0-3.4 1.5-3.4 3.4s1.5 3.4 3.4 3.4z' fill='currentColor'/%3E%3Cpath class='st0' d='M88.4 105.2H30.1c-1.9 0-3.4-1.5-3.4-3.4V26.3c0-1.9 1.5-3.4 3.4-3.4h41.2V40c0 3.8 3.1 6.9 6.9 6.9h17.2V64c0 1.9 1.5 3.4 3.4 3.4s3.4-1.5 3.4-3.4V38.1c0-.9-.4-1.8-1-2.4L82.6 17c-.6-.6-1.5-1-2.4-1H26.6c-3.8 0-6.9 3.1-6.9 6.9v82.3c0 3.8 3.1 6.9 6.9 6.9h61.8c1.9 0 3.4-1.5 3.4-3.4s-1.5-3.5-3.4-3.5zM78.1 22.8 95.3 40H81.5c-1.9 0-3.4-1.5-3.4-3.4V22.8z' fill='currentColor'/%3E%3Cpath class='st0' d='M36.8 81.2c-1.9 0-3.4 1.5-3.4 3.4s1.5 3.4 3.4 3.4h34.4c1.9 0 3.4-1.5 3.4-3.4s-1.5-3.4-3.4-3.4H36.8zM81.4 64c0-1.9-1.5-3.4-3.4-3.4H36.8c-1.9 0-3.4 1.5-3.4 3.4s1.5 3.4 3.4 3.4H78c1.9 0 3.4-1.5 3.4-3.4zm20.8 37.8c-2 0-3.6-1.5-3.9-3.4l-2.2-17.2c-.5-3.6 2.4-6.8 6-6.8s6.5 3.2 6 6.8L106 98.4c-.2 2-1.9 3.4-3.8 3.4zm-3.5 6.7c0 1.9 1.5 3.4 3.4 3.4s3.4-1.5 3.4-3.4-1.5-3.4-3.4-3.4c-1.8 0-3.4 1.5-3.4 3.4z' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-security\:ftps{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.082 9.897c.23.356.502.687.814.992.168.164.43.164.598 0a.404.404 0 0 0 0-.585 4.887 4.887 0 0 1-1.197-1.856h1.662V9.69c0 .231.186.414.423.414a.414.414 0 0 0 .423-.414V8.448h1.69V9.69c0 .231.187.414.424.414a.414.414 0 0 0 .422-.414V8.448h1.691V9.69c0 .231.186.414.423.414a.414.414 0 0 0 .423-.414V8.448h1.988a5.078 5.078 0 0 1-.49.992c-.2.31-.436.598-.707.864a.404.404 0 0 0 0 .585c.167.164.43.164.597 0A5.713 5.713 0 0 0 13 6.793a5.701 5.701 0 0 0-1.734-4.096 5.896 5.896 0 0 0-2.985-1.578A6.046 6.046 0 0 0 7.08 1a6.046 6.046 0 0 0-2.227.424A5.9 5.9 0 0 0 2.08 3.688a5.706 5.706 0 0 0 0 6.21zm10.003-2.276a4.89 4.89 0 0 0-.093-2.082v.427H9.878V7.62h2.207zm-3.053 0V5.966h-1.69V7.62h1.69zm-2.536 0V5.966H4.805V7.62h1.69zm-2.537 0V5.966H2.078a4.896 4.896 0 0 0 0 1.655h1.881zM2.297 5.138h1.662v-2.26a5.13 5.13 0 0 0-1.172 1.268 4.887 4.887 0 0 0-.49.992zm2.508-2.784v2.784h1.69V1.86a5.096 5.096 0 0 0-1.69.494zm2.536-.52v3.304h1.691V2.242c-.284-.113-.617-.25-.913-.311a5.143 5.143 0 0 0-.778-.097zm2.537.814c.282.183.546.394.79.634a4.904 4.904 0 0 1 1.198 1.856H9.878v-2.49z' fill='currentColor' fill-rule='evenodd'/%3E%3Cpath d='M9.455 11.345H5.228a.841.841 0 0 0-.736.414H1v.827h3.492a.841.841 0 0 0 .736.414h4.227a.841.841 0 0 0 .736-.414h2.646v-.827h-2.646a.841.841 0 0 0-.736-.414z' clip-rule='evenodd' fill='currentColor' fill-rule='evenodd'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-security\:malicious-scan{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' xmlns='http://www.w3.org/2000/svg' width='60px' height='60px' fill='none'%3E%3Cpath d='M0 0h60v60H0z'/%3E%3Cpath fill='currentColor' d='M57.246 44.727a2.209 2.209 0 0 0-2.21 2.21v8.1h-8.1a2.21 2.21 0 1 0 0 4.418h9.573a2.945 2.945 0 0 0 2.946-2.946v-9.573a2.209 2.209 0 0 0-2.21-2.209M56.51.545h-9.573a2.21 2.21 0 1 0 0 4.419h8.1v8.1a2.208 2.208 0 1 0 4.419 0V3.49A2.945 2.945 0 0 0 56.509.545M2.755 15.273a2.21 2.21 0 0 0 2.209-2.21v-8.1h8.1a2.209 2.209 0 0 0 0-4.418H3.49A2.945 2.945 0 0 0 .545 3.491v9.573c0 1.219.99 2.209 2.21 2.209m10.309 39.763h-8.1v-8.1a2.209 2.209 0 1 0-4.419 0v9.573a2.947 2.947 0 0 0 2.946 2.946h9.573a2.208 2.208 0 1 0 0-4.419m14.89-31.14c0-1.126.917-2.034 2.046-2.034 1.13 0 2.045.908 2.045 2.034v9.737A2.037 2.037 0 0 1 30 35.67a2.038 2.038 0 0 1-2.045-2.037zm0 14.605A2.04 2.04 0 0 1 30 36.466c1.13 0 2.045.911 2.045 2.035A2.04 2.04 0 0 1 30 40.538a2.04 2.04 0 0 1-2.045-2.037m22.064 2.244c1.244 2.136-.31 4.8-2.784 4.8h-34.47c-2.474 0-4.029-2.664-2.785-4.8l17.237-29.599A3.19 3.19 0 0 1 30 9.546a3.2 3.2 0 0 1 2.785 1.598zm-4.21.734-15.805-27-15.764 27.074z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:60px;height:60px}.i-security\:overview{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' xmlns='http://www.w3.org/2000/svg' width='25px' height='25px' fill='none'%3E%3Cpath d='M0 0h25v25H0z'/%3E%3Cpath fill='currentColor' d='M3.125 11.458h8.333V3.125H3.125zm2.083-6.25h4.167v4.167H5.208zm17.696 2.117-5.218-5.219-5.246 5.246 5.219 5.218zm-5.218-2.273 2.272 2.273-2.3 2.299-2.272-2.272zM3.125 21.875h8.333v-8.333H3.125zm2.083-6.25h4.167v4.167H5.208zm8.334 6.25h8.333v-8.333h-8.333zm2.083-6.25h4.167v4.167h-4.167z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:25px;height:25px}.i-security\:php{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' xmlns='http://www.w3.org/2000/svg' width='60px' height='60px' fill='none'%3E%3Cpath d='M0 0h60v60H0z'/%3E%3Cpath fill='currentColor' d='M30.499 13.083c3.4 0 6.739.894 9.683 2.59a19.35 19.35 0 0 1 7.089 7.077 19.308 19.308 0 0 1 2.594 9.667v21.747l4.842.003V59H6.291v-4.833l4.841-.003V32.417c0-3.394.895-6.728 2.595-9.667a19.35 19.35 0 0 1 7.089-7.076 19.393 19.393 0 0 1 9.683-2.59m0 4.834c-2.488 0-4.935.638-7.105 1.852a14.514 14.514 0 0 0-5.29 5.086 14.482 14.482 0 0 0-2.12 7.018l-.01.544-.003 21.75h29.05l.003-21.75a14.48 14.48 0 0 0-1.946-7.25 14.512 14.512 0 0 0-5.317-5.308 14.545 14.545 0 0 0-7.262-1.942m3.781 7.832-2.905 9.805h7.112L26.458 48.676l3.02-9.887h-6.912l11.717-13.04zM51.577 7.958 55 11.375l-6.846 6.834-3.423-3.417zm-42.156 0 6.846 6.834-3.423 3.417L6 11.375l3.423-3.417zM32.92 1v9.667h-4.842V1z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:60px;height:60px}.i-security\:sql{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' xmlns='http://www.w3.org/2000/svg' width='60px' height='60px' fill='none'%3E%3Cpath d='M0 0h60v60H0z'/%3E%3Cpath fill='currentColor' d='M32.37 53.4a1.687 1.687 0 0 1-1.084.393l-.06-.002h.004c-.87 0-1.637-.607-2.302-1.837l-2.214 1.339v.012c.52 1.034 1.146 1.79 1.877 2.277.735.482 1.59.72 2.575.72 1.265 0 2.29-.369 3.075-1.112a3.705 3.705 0 0 0 1.175-2.71l-.002-.118v-.033c0-.573-.122-1.117-.341-1.608l.01.025c-.3-.6-.68-1.113-1.135-1.549l-.002-.002c-.217-.22-.825-.755-1.828-1.595-1.077-.913-1.724-1.506-1.932-1.78a1.069 1.069 0 0 1-.238-.664c0-.235.113-.447.333-.63a1.283 1.283 0 0 1 .85-.278h-.002c.712 0 1.411.479 2.098 1.435l1.947-1.73c-.717-.847-1.396-1.434-2.016-1.746a4.238 4.238 0 0 0-1.967-.479h-.01l-.105-.002a3.798 3.798 0 0 0-2.608 1.033l.001-.001a3.256 3.256 0 0 0-1.098 2.444v.034-.002c0 .67.217 1.339.66 2.006.438.67 1.417 1.62 2.923 2.854.791.652 1.304 1.129 1.533 1.447a1.572 1.572 0 0 1 .352.94v.003c0 .348-.157.652-.465.913zm16.204-9.55a6.855 6.855 0 0 0-4.98-2.134h-.09.006a7.03 7.03 0 0 0-3.613.982 7.178 7.178 0 0 0-3.61 6.222v.09-.005c0 1.985.681 3.7 2.059 5.14 1.377 1.433 3.11 2.154 5.19 2.154 1.242 0 2.367-.277 3.385-.834l1.225 1.586h3.128l-2.41-3.122c1.216-1.364 1.828-2.985 1.828-4.87 0-2.05-.703-3.788-2.12-5.208zm-1.36 7.944-1.256-1.617h-3.14l2.476 3.203a4.486 4.486 0 0 1-1.801.37 4.554 4.554 0 0 1-2.915-1.049l.007.006c-1.095-.905-1.651-2.12-1.651-3.658 0-1.378.443-2.512 1.316-3.405.872-.894 1.955-1.346 3.25-1.346 1.259 0 2.327.46 3.214 1.377.887.92 1.334 2.033 1.334 3.354a4.88 4.88 0 0 1-.834 2.768zm7.632-9.73h-2.637V55.95h6.48v-2.52h-3.845V42.067zM30.499 34.96c8.947 0 18.33-1.629 23.7-4.474v5.678h.009c.065 1.066 1.042 1.911 2.232 1.911 1.194 0 2.164-.847 2.233-1.91h.009v-24.37c0-13.406-56.345-13.406-56.345 0v36.57c0 5.34 9.652 8.757 20.772 9.808.088.014.192.025.298.026h.002l.122.013v-.013c1.217-.02 2.194-.92 2.194-2.032 0-1.122-1.004-2.03-2.238-2.03h-.057c-10.738-.99-16.62-4.083-16.62-5.777v-6.104c3.861 2.042 9.808 3.458 16.168 4.092.152.032.329.052.507.052h.044c1.217-.018 2.194-.917 2.194-2.03 0-1.125-1.003-2.033-2.238-2.033h-.092c-10.715-1-16.593-4.083-16.593-5.773v-6.096c5.36 2.858 14.751 4.488 23.695 4.488zm23.778-10.972c0 2.441-8.492 6.498-23.695 6.498-15.204 0-23.7-4.057-23.7-6.095v-6.099c5.363 2.846 14.75 4.474 23.7 4.474 8.944 0 18.33-1.628 23.695-4.474v5.691zM30.499 5.696c15.203 0 23.7 4.062 23.7 6.09 0 2.033-8.497 6.098-23.7 6.098-15.204 0-23.7-4.062-23.7-6.098-.004-2.02 8.496-6.087 23.7-6.087z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:60px;height:60px}.i-security\:time{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' xmlns='http://www.w3.org/2000/svg' width='60px' height='60px' fill='none'%3E%3Cpath d='M0 0h60v60H0z'/%3E%3Cpath fill='currentColor' d='M5 33.386c0-5.198 1.705-10.262 4.87-14.467s7.629-7.335 12.75-8.942a26.374 26.374 0 0 1 15.76 0c5.121 1.607 9.585 4.737 12.75 8.942 3.165 4.205 4.87 9.27 4.87 14.467 0 5.198-1.705 10.263-4.87 14.468s-7.629 7.335-12.75 8.941a26.373 26.373 0 0 1-15.76 0C17.5 55.19 13.035 52.06 9.87 47.854 6.705 43.649 5 38.584 5 33.386m25.5-19.432c-4.251 0-8.394 1.3-11.833 3.712-3.44 2.412-6 5.813-7.313 9.716a18.79 18.79 0 0 0 0 12.01c1.314 3.902 3.874 7.303 7.313 9.715 3.44 2.412 7.582 3.711 11.833 3.711s8.394-1.299 11.833-3.711c3.44-2.412 6-5.813 7.313-9.716a18.79 18.79 0 0 0 0-12.01c-1.313-3.902-3.873-7.303-7.313-9.715-3.44-2.412-7.582-3.712-11.833-3.712M18.421 3.592c0-.455.124-.902.36-1.296a2.64 2.64 0 0 1 .982-.948c.408-.227.871-.347 1.342-.347h18.79a2.75 2.75 0 0 1 1.577.495c.458.322.8.775.974 1.296.175.52.175 1.08 0 1.6s-.516.974-.974 1.296a2.75 2.75 0 0 1-1.577.495h-18.79c-.47 0-.934-.12-1.342-.347a2.64 2.64 0 0 1-.982-.949 2.522 2.522 0 0 1-.36-1.295'/%3E%3Cpath fill='currentColor' d='M51.217 8.783a2.667 2.667 0 0 1 0 3.776l-4 3.999a2.67 2.67 0 1 1-3.775-3.775l4-4a2.666 2.666 0 0 1 3.775 0m-20.55 9.887a2.666 2.666 0 0 1 2.665 2.666v11.998a2.666 2.666 0 0 1-5.332 0V21.336a2.666 2.666 0 0 1 2.666-2.666'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:60px;height:60px}.i-security\:webhorse{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.518 10.297a2.1 2.1 0 0 1 2.096-2.105 2.1 2.1 0 0 1 2.095 2.105c0 .675-.315 1.275-.806 1.66L13 13.611l-.581.389-1.134-1.708a2.1 2.1 0 0 1-2.767-1.995zm.699 0a1.4 1.4 0 0 1 1.397-1.403 1.4 1.4 0 0 1 1.397 1.403 1.4 1.4 0 0 1-1.397 1.403 1.4 1.4 0 0 1-1.397-1.403z' clip-rule='evenodd' fill='currentColor' fill-rule='evenodd'/%3E%3Cpath d='M5.927 3.43a.226.226 0 0 0 .227-.224.228.228 0 0 0-.234-.218.226.226 0 0 0-.23.222c0 .058.026.115.07.156a.236.236 0 0 0 .163.064h.004zM4.438 9.014a.317.317 0 0 0 .074.356.353.353 0 0 0 .373.07.325.325 0 0 0 .21-.302.317.317 0 0 0-.098-.23.338.338 0 0 0-.242-.094.34.34 0 0 0-.317.2zm2.724-1.021h.007-.007zm-.244-2.12c-.001-.845-.716-1.528-1.599-1.53-.882 0-1.598.684-1.598 1.53 0 .843.715 1.528 1.598 1.528.884 0 1.599-.685 1.599-1.529z' fill='currentColor'/%3E%3Cpath d='M7.323 10.503a4.28 4.28 0 0 1-.497.03c-1.409-.004-2.72-.697-3.471-1.839a3.789 3.789 0 0 1-.236-3.789l.313-.52c1.102-1.546 3.19-2.135 4.992-1.408 1.695.684 2.696 2.355 2.485 4.076.255.07.497.172.72.3.017-.1.03-.201.04-.303h.5a.48.48 0 0 0 .433-.22.438.438 0 0 0 0-.467.48.48 0 0 0-.433-.22h-.506a4.475 4.475 0 0 0-.377-1.396l.607-.336.012-.007a.44.44 0 0 0 .17-.615.483.483 0 0 0-.643-.162.02.02 0 0 0-.011 0l-.596.327a4.744 4.744 0 0 0-1.184-1.15l.315-.523c.093-.14.1-.317.016-.463a.474.474 0 0 0-.417-.233.477.477 0 0 0-.413.241.02.02 0 0 0 0 .012l-.31.52a4.948 4.948 0 0 0-1.58-.399v-.505A.465.465 0 0 0 6.778 1a.465.465 0 0 0-.475.454v.512a4.993 4.993 0 0 0-1.476.39l-.316-.523a.476.476 0 0 0-.413-.242.473.473 0 0 0-.417.233.434.434 0 0 0 .016.463l.316.518A4.74 4.74 0 0 0 2.846 3.92l-.516-.292a.492.492 0 0 0-.484-.016.447.447 0 0 0-.243.4.451.451 0 0 0 .252.394l.523.292a4.41 4.41 0 0 0-.401 1.435h-.528A.463.463 0 0 0 1 6.587c0 .241.197.44.449.454h.534c.042.45.155.895.335 1.313l-.577.32a.45.45 0 0 0-.252.396.445.445 0 0 0 .243.399.49.49 0 0 0 .484-.016l.546-.31c.274.4.61.757.997 1.06l-.37.618a.443.443 0 0 0 .171.62.486.486 0 0 0 .649-.164l.34-.564c.55.28 1.15.455 1.769.518v.483h-.009a.46.46 0 0 0 .469.424.46.46 0 0 0 .468-.424v-.476a4.73 4.73 0 0 0 .395-.048 2.716 2.716 0 0 1-.318-.687z' fill='currentColor'/%3E%3Cpath d='M7.219 9.957a2.683 2.683 0 0 1 .504-1.806 1.055 1.055 0 0 0-.558-.158 1.029 1.029 0 0 0-.951.603.953.953 0 0 0 .218 1.073c.21.203.498.304.787.288zm.977-5.748a.28.28 0 0 0-.288.27.278.278 0 0 0 .28.277.28.28 0 0 0 .286-.274h.005a.278.278 0 0 0-.283-.273zm1.012 1.593c-.458.004-.828.361-.826.8.002.28.154.524.383.665a3 3 0 0 1 1.195-.314.77.77 0 0 0 .088-.355c-.005-.441-.379-.795-.84-.796z' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-security\:webscan{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128' style='enable-background:new 0 0 128 128' xml:space='preserve'%3E%3Cpath d='M108.1 81.3c2.2 0 4 1.8 3.9 4V98c0 7.3-6.4 14-13.2 14H29.2c-6.9 0-13.2-6.8-13.2-14V85.5c0-2.1 2-4.2 3.9-4.2 2 0 3.9 2.1 3.9 4.2V98c0 3.1 2.4 5.7 5.4 5.7h69.6c2.9 0 5.4-2.6 5.4-5.7V85.5c-.1-2.1 1.9-4.2 3.9-4.2zM69.2 41l.8.1c2.4 1.1 3.6 3.3 3 5.6L63 85.8c-1.2 2.8-3.6 3.9-5.9 2.8-2.4-1.1-3.6-3.3-3-5.6L64 44c1.1-2.2 3.5-3.3 5.9-2.8l-.7-.2zm-25 7.5c2-1 4.4-.5 5.4 1.6s.5 4.7-1.5 5.8l-12.7 7.8 12.7 7.8c2 1 2.4 3.7 1.5 5.8-1 2.1-3.4 2.6-5.4 1.6L25.6 67.3c-1-1-2-2.1-2-3.7s1-3.1 2-3.7l18.6-11.4zM79 50c1-2.1 3.4-2.6 5.4-1.6L102.9 60c1 1 2 2.1 2 3.7s-1 3.1-2 3.7L84.3 78.8c-2 1-4.4.5-5.4-1.6s-.5-4.7 1.5-5.8l12.7-7.8-12.7-7.8C78.5 54.7 78 52.1 79 50zm19.8-34.1c6.9 0 13.2 6.2 13.2 14v12.5c0 2.1-2 4.2-3.9 4.2-2 0-3.9-2.1-3.9-4.2V30c0-3.1-2.4-5.7-5.4-5.7H29.2c-2.9 0-5.4 2.6-5.4 5.7v12c0 2.1-2 4.2-3.9 4.2S16 44.1 16 42V30c0-7.3 6.4-14 13.2-14h69.6z' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-security\:xss{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' xmlns='http://www.w3.org/2000/svg' width='60px' height='60px' fill='none'%3E%3Cpath d='M0 0h60v60H0z'/%3E%3Cpath fill='currentColor' d='M55.838 19.49a26.886 26.886 0 0 0-5.893-8.582 27.439 27.439 0 0 0-8.74-5.785A27.767 27.767 0 0 0 30.5 3c-3.712 0-7.313.714-10.705 2.123a27.44 27.44 0 0 0-8.74 5.785 26.885 26.885 0 0 0-5.893 8.582A26.411 26.411 0 0 0 3 30c0 3.644.727 7.18 2.162 10.51a26.886 26.886 0 0 0 5.893 8.582 27.439 27.439 0 0 0 8.74 5.785A27.768 27.768 0 0 0 30.5 57c3.712 0 7.313-.714 10.705-2.123a27.438 27.438 0 0 0 8.74-5.785 26.885 26.885 0 0 0 5.893-8.582A26.413 26.413 0 0 0 58 30c0-3.644-.727-7.18-2.162-10.51m-23.3 2.047a129.031 129.031 0 0 0 9.145-.44c.646 2.148 1.059 4.456 1.234 6.903h-10.38zm0-4.005V8.248a21.85 21.85 0 0 1 3.887 3.387 23.558 23.558 0 0 1 3.742 5.564 129.3 129.3 0 0 1-7.63.333m-4.075-9.047v9.044a132.158 132.158 0 0 1-7.295-.319 23.592 23.592 0 0 1 3.608-5.42 21.972 21.972 0 0 1 3.687-3.305m-6.946 12.76c2.313.154 4.629.25 6.946.287V28H18.424c.175-2.442.586-4.747 1.231-6.893.602.049 1.223.095 1.862.137M14.341 28H7.163a22.494 22.494 0 0 1 2.3-8.142c1.29.223 3.364.547 6.074.852-.63 2.294-1.03 4.73-1.196 7.29m-.054 4a25.82 25.82 0 0 0 1.47 7.3c-2.807.31-4.952.645-6.278.874A22.493 22.493 0 0 1 7.163 32zm4.08 0h10.096v6.503a137.807 137.807 0 0 0-8.512.401c-.912-2.282-1.442-4.596-1.584-6.904m10.096 10.506v8.232a39.132 39.132 0 0 1-3.567-3.733 33.357 33.357 0 0 1-3.016-4.23c2.192-.144 4.387-.234 6.583-.269m4.074 8.542v-8.545c2.19.031 4.506.119 6.918.283a33.338 33.338 0 0 1-3.01 4.219 39.248 39.248 0 0 1-3.908 4.043m3.344-12.464c-1.114-.043-2.229-.072-3.344-.087V32h10.437c-.142 2.31-.673 4.628-1.587 6.913a129.247 129.247 0 0 0-5.506-.33M47.055 32h6.782a22.493 22.493 0 0 1-2.312 8.166c-1.975-.33-3.96-.61-5.95-.84A25.827 25.827 0 0 0 47.055 32M47 28c-.166-2.57-.568-5.015-1.203-7.316a117.98 117.98 0 0 0 5.744-.818A22.493 22.493 0 0 1 53.837 28zm.065-14.263c.779.765 1.503 1.583 2.167 2.447-1.59.241-3.184.449-4.782.624-1.243-2.925-2.917-5.557-4.984-7.834a26.531 26.531 0 0 0-.343-.37 23.413 23.413 0 0 1 7.942 5.133M22.407 8.405c-.18.187-.358.377-.532.569-2.073 2.283-3.75 4.923-4.994 7.857-2.06-.218-3.786-.453-5.107-.655a23.463 23.463 0 0 1 2.161-2.44 23.405 23.405 0 0 1 8.472-5.331m-8.472 37.858a23.474 23.474 0 0 1-2.137-2.409c1.434-.218 3.343-.476 5.641-.708 1.16 2.221 2.63 4.397 4.384 6.488a42.629 42.629 0 0 0 2.274 2.5 23.392 23.392 0 0 1-10.162-5.87m23.442 5.734a42.568 42.568 0 0 0 2.14-2.363c1.75-2.084 3.215-4.253 4.374-6.467 1.777.186 3.55.413 5.317.68a23.472 23.472 0 0 1-2.143 2.416 23.392 23.392 0 0 1-9.688 5.734'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:60px;height:60px}.i-settings\:network{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Crect id='svg 2' x='0.000000' y='0.000000'/%3E%3Cpath id='矢量 8' d='M10 1.875C14.4875 1.875 18.125 5.5125 18.125 10C18.125 14.4875 14.4875 18.125 10 18.125C5.5125 18.125 1.875 14.4875 1.875 10C1.875 5.5125 5.5125 1.875 10 1.875ZM9.375 10.625L6.88833 10.6254C6.90583 11.0254 6.93958 11.4146 6.98833 11.7908L7.02708 12.07L7.07542 12.3679C7.46125 14.5729 8.35917 16.23 9.37542 16.7233L9.375 10.625ZM13.1117 10.6254L10.625 10.625L10.625 16.7233C11.6183 16.2404 12.4987 14.6458 12.8979 12.5142L12.9246 12.3679L12.9729 12.0704C13.0447 11.5915 13.091 11.1092 13.1117 10.6254L13.1117 10.6254ZM5.63708 10.6254L3.15292 10.6254C3.38042 13.1463 4.96917 15.2754 7.17833 16.2712C6.74625 15.6017 6.39 14.7788 6.12833 13.8488L6.06917 13.6321L6.00042 13.3554L5.93708 13.0729C5.76796 12.2671 5.6676 11.4483 5.63708 10.6254L5.63708 10.6254ZM16.8471 10.6254L14.3625 10.6254C14.3349 11.3606 14.2522 12.0926 14.115 12.8154L14.0625 13.0729L13.9992 13.3554L13.9304 13.6325C13.6637 14.6508 13.2867 15.5504 12.8212 16.2712C15.0304 15.2754 16.6192 13.1463 16.8463 10.6254L16.8471 10.6254ZM7.17833 3.72833L7.1225 3.75375C4.94167 4.76042 3.37833 6.875 3.15292 9.375L5.63708 9.375C5.66708 8.6125 5.75167 7.87708 5.88458 7.18458L5.93708 6.92708L6.00042 6.64458L6.06917 6.3675C6.33583 5.34917 6.71292 4.44958 7.17833 3.72875L7.17833 3.72833ZM9.375 3.27667C8.38458 3.7575 7.50625 5.345 7.10542 7.46792L7.07542 7.63208L7.02708 7.92958C6.9553 8.40859 6.90898 8.89108 6.88833 9.375L9.375 9.375L9.375 3.27667ZM12.8217 3.72875L12.8717 3.80792C13.28 4.46083 13.6183 5.25292 13.8696 6.14292L13.9308 6.36792L13.9996 6.64458L14.0629 6.92708C14.2263 7.69375 14.3292 8.51708 14.3629 9.375L16.8471 9.375C16.62 6.85375 15.0312 4.72458 12.8217 3.72917L12.8217 3.72875ZM10.625 3.27667L10.625 9.375L13.1117 9.375C13.0944 8.97409 13.0596 8.57413 13.0075 8.17625L12.9729 7.92958L12.9246 7.63208C12.5388 5.4275 11.6412 3.77042 10.6254 3.27667L10.625 3.27667Z' fill='currentColor' fill-rule='nonzero'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-settings\:page{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Crect id='svg 5' x='0.000000' y='0.000000'/%3E%3Cpath id='矢量 12' d='M18.0879 7.86328C17.7598 7.53125 17.3223 7.34375 16.8535 7.33594C16.7676 7.32617 16.5078 7.30078 16.1328 7.26562C15.9512 6.85547 15.7305 6.46484 15.4707 6.10156C15.6328 5.75 15.7129 5.57227 15.75 5.47461L15.7559 5.47656C16.25 4.61914 15.957 3.51758 15.1016 3.02148L13.5996 2.15039C13.3262 1.99219 13.0137 1.9082 12.6973 1.90625C12.0684 1.90625 11.4707 2.23828 11.1719 2.75391C11.1426 2.79492 10.9824 3.01758 10.7422 3.35352C10.2969 3.30859 9.84766 3.31055 9.40234 3.35547C9.17773 3.03711 9.06445 2.87695 8.99609 2.79492L9 2.79297C8.67969 2.23828 8.08203 1.89453 7.44141 1.89453C7.12891 1.89453 6.82031 1.97656 6.54688 2.13281L5.04102 2.99805C4.62109 3.24023 4.32031 3.63086 4.19336 4.10156C4.07227 4.55078 4.12891 5.01367 4.35156 5.40234C4.37305 5.44922 4.49805 5.72656 4.6875 6.14062C4.58203 6.28906 4.48047 6.44531 4.38867 6.60352C4.27344 6.80469 4.16602 7.01367 4.07422 7.22656C3.56641 7.27344 3.375 7.29102 3.29492 7.30078C2.31055 7.30469 1.50781 8.10742 1.50391 9.0957L1.5 10.832C1.5 11.3164 1.68945 11.7734 2.0332 12.1172C2.36328 12.4473 2.78906 12.6289 3.23828 12.6309C3.29297 12.6367 3.62891 12.6699 4.12891 12.7168C4.29297 13.0664 4.48828 13.4004 4.71094 13.7168C4.50391 14.1641 4.40625 14.3789 4.36523 14.4941L4.35938 14.4902C4.12109 14.8984 4.05664 15.3945 4.17773 15.8516C4.29883 16.3105 4.60352 16.709 5.01367 16.9453L6.51563 17.8164C6.78906 17.9746 7.09961 18.0586 7.41602 18.0586C8.04492 18.0586 8.64258 17.7266 8.94141 17.2109C8.97461 17.166 9.17383 16.8887 9.4668 16.4766C9.85352 16.5137 10.2422 16.5176 10.623 16.4863C10.9043 16.8867 11.041 17.0762 11.1172 17.168L11.1113 17.1719C11.4316 17.7266 12.0293 18.0703 12.6699 18.0703C12.9824 18.0703 13.293 17.9883 13.5645 17.832L15.0703 16.9688C15.4824 16.7344 15.7891 16.3359 15.9121 15.877C16.0352 15.4258 15.9785 14.9531 15.752 14.5449C15.7148 14.4609 15.5938 14.1934 15.418 13.8105C15.5566 13.625 15.6855 13.4277 15.8047 13.2266C15.8965 13.0684 15.9805 12.9043 16.0566 12.7383C16.5195 12.6953 16.7207 12.6777 16.8145 12.6641L16.8145 12.666C17.8027 12.6641 18.6074 11.8594 18.6094 10.8711L18.6133 9.13476C18.6152 8.66211 18.4238 8.19922 18.0879 7.86328L18.0879 7.86328ZM14.1406 13.2969C13.9785 13.4922 13.9414 13.7656 14.0469 13.9961C14.3145 14.582 14.5059 15.0039 14.5469 15.0977C14.5508 15.1055 14.5527 15.1133 14.5566 15.1172C14.5664 15.1367 14.5762 15.1562 14.5879 15.1758C14.6504 15.2832 14.668 15.4141 14.6348 15.5352C14.6016 15.6562 14.5215 15.7617 14.4121 15.8242L12.9063 16.6895C12.834 16.7305 12.7539 16.752 12.6719 16.752C12.4941 16.752 12.3379 16.6523 12.2305 16.4707L12.2148 16.4473C12.166 16.377 11.875 15.9707 11.4805 15.4102C11.3359 15.2051 11.0938 15.0996 10.8457 15.1367C10.3203 15.2129 9.78711 15.207 9.26368 15.123C9.01368 15.084 8.76563 15.1875 8.61914 15.3945C8.375 15.7402 8.16993 16.0254 8.03125 16.2188C7.91602 16.3789 7.84571 16.4785 7.82813 16.5059C7.76954 16.6094 7.66211 16.6875 7.53711 16.7207C7.41211 16.7539 7.28125 16.7383 7.17774 16.6777L5.67579 15.8066C5.56641 15.7422 5.48829 15.6406 5.45508 15.5176C5.41993 15.3887 5.44336 15.2578 5.52735 15.1113L5.53321 15.0977C5.53907 15.084 5.75586 14.6074 6.07618 13.918C6.1836 13.6875 6.15039 13.4219 5.99219 13.2246C5.65821 12.8105 5.39063 12.3516 5.19532 11.8574C5.10352 11.625 4.89063 11.4648 4.64063 11.4414C4.26368 11.4063 3.94532 11.375 3.71485 11.3535C3.44141 11.3281 3.33008 11.3164 3.29493 11.3145C3.03321 11.3125 2.82032 11.0996 2.82032 10.8379L2.82422 9.10156C2.82422 8.83984 3.03711 8.62695 3.29883 8.62695C3.32032 8.62695 3.34375 8.625 3.36524 8.62305C3.3711 8.62305 3.37696 8.62305 3.38672 8.62109C3.48438 8.61133 3.94922 8.56641 4.59375 8.50977C4.84571 8.48633 5.06641 8.31836 5.1543 8.08203C5.26954 7.77344 5.39258 7.50781 5.53125 7.26953C5.64454 7.07227 5.78516 6.87109 5.97071 6.63867C6.12696 6.44336 6.15821 6.17969 6.05469 5.95313C5.91602 5.65039 5.79883 5.39258 5.71094 5.19922C5.5918 4.9375 5.54297 4.83008 5.52539 4.79688C5.39454 4.57031 5.47461 4.2793 5.70118 4.14844L7.20704 3.2832C7.44141 3.14844 7.73243 3.24219 7.88282 3.5L7.89649 3.51953C7.93555 3.57227 8.19141 3.93359 8.55469 4.44922C8.70118 4.65625 8.95704 4.76367 9.20704 4.7207C9.76758 4.625 10.3672 4.62305 10.9453 4.7168C11.1953 4.75781 11.4434 4.6543 11.5898 4.44727C11.7813 4.17773 11.9434 3.95117 12.0625 3.78516C12.207 3.58203 12.2676 3.5 12.2871 3.46875C12.3477 3.36523 12.4531 3.28711 12.5762 3.25391C12.7012 3.2207 12.832 3.23633 12.9356 3.29492L14.4395 4.16797C14.5469 4.23047 14.627 4.33594 14.6602 4.45703C14.6953 4.58594 14.6719 4.7168 14.5879 4.86328L14.5664 4.90039L14.5664 4.9082C14.5176 5.01367 14.3457 5.39258 14.1074 5.9082C14.002 6.13477 14.0352 6.4082 14.1934 6.60156C14.5664 7.06445 14.8555 7.57227 15.0527 8.11328C15.1387 8.35156 15.3594 8.52148 15.6113 8.54492C16.2051 8.60156 16.6309 8.64453 16.7305 8.6543C16.7402 8.65625 16.7481 8.65625 16.7539 8.65625C16.9473 8.67188 17.0703 8.7168 17.1524 8.79883C17.2402 8.88672 17.291 9.00977 17.291 9.13477L17.2871 10.873C17.2871 11.1426 17.0606 11.3477 16.7617 11.3496C16.7617 11.3496 16.7461 11.3496 16.7188 11.3535C16.6055 11.3652 16.1602 11.4063 15.5469 11.4609C15.2969 11.4844 15.0859 11.6426 14.9922 11.875C14.8828 12.1465 14.7793 12.3672 14.6621 12.5684C14.5176 12.8105 14.3477 13.0488 14.1406 13.2969L14.1406 13.2969Z' fill='currentColor' fill-rule='nonzero'/%3E%3Cpath id='矢量 13' d='M11.6387 7.25586C11.1699 6.98438 10.6387 6.8418 10.0977 6.83984C9.00393 6.83984 7.98245 7.42773 7.43362 8.37305C6.58206 9.83984 7.08401 11.7266 8.55081 12.5781C9.01956 12.8496 9.55276 12.9941 10.0938 12.9941C11.1875 12.9941 12.209 12.4062 12.7578 11.4609C13.166 10.7598 13.2813 9.91016 13.0703 9.12695C12.8633 8.34375 12.3418 7.66016 11.6387 7.25586L11.6387 7.25586ZM11.6114 10.7969C11.2969 11.3359 10.7149 11.6699 10.0918 11.6699C9.78323 11.6699 9.4805 11.5879 9.21292 11.4316C8.37698 10.9453 8.09182 9.87109 8.5762 9.03516C8.89065 8.49609 9.47268 8.16211 10.0957 8.16016C10.4043 8.16016 10.7071 8.24219 10.9746 8.39844C11.375 8.62891 11.6719 9.01758 11.7891 9.46484C11.9102 9.91992 11.8477 10.3926 11.6114 10.7969L11.6114 10.7969Z' fill='currentColor' fill-rule='nonzero'/%3E%3Cpath id='矢量 14' d='M18.0684 7.86328C17.7402 7.53125 17.3027 7.34375 16.834 7.33594C16.7481 7.32617 16.4883 7.30078 16.1133 7.26562C15.9316 6.85547 15.7109 6.46484 15.4512 6.10156C15.6133 5.75 15.6934 5.57227 15.7305 5.47461L15.7363 5.47656C16.2305 4.61914 15.9375 3.51758 15.082 3.02148L13.5801 2.15039C13.3066 1.99219 12.9941 1.9082 12.6777 1.90625C12.0488 1.90625 11.4512 2.23828 11.1523 2.75391C11.123 2.79492 10.9629 3.01758 10.7227 3.35352C10.2773 3.30859 9.82813 3.31055 9.38281 3.35547C9.1582 3.03711 9.04492 2.87695 8.97656 2.79492L8.98047 2.79297C8.66016 2.23828 8.0625 1.89453 7.42188 1.89453C7.10938 1.89453 6.80078 1.97656 6.52734 2.13281L5.02148 2.99805C4.60156 3.24023 4.30078 3.63086 4.17383 4.10156C4.05273 4.55078 4.10938 5.01367 4.33203 5.40234C4.35352 5.44922 4.47852 5.72656 4.66797 6.14062C4.5625 6.28906 4.46094 6.44531 4.36914 6.60352C4.25391 6.80469 4.14648 7.01367 4.05469 7.22656C3.54688 7.27344 3.35547 7.29102 3.27539 7.30078C2.29102 7.30469 1.48828 8.10742 1.48438 9.0957L1.48047 10.832C1.48047 11.3164 1.66992 11.7734 2.01367 12.1172C2.34375 12.4473 2.76953 12.6289 3.21875 12.6309C3.27344 12.6367 3.60938 12.6699 4.10938 12.7168C4.27344 13.0664 4.46875 13.4004 4.69141 13.7168C4.48438 14.1641 4.38672 14.3789 4.3457 14.4941L4.33984 14.4902C4.10156 14.8984 4.03711 15.3945 4.1582 15.8516C4.2793 16.3105 4.58398 16.709 4.99414 16.9453L6.49609 17.8164C6.76953 17.9746 7.08008 18.0586 7.39649 18.0586C8.02539 18.0586 8.62305 17.7266 8.92188 17.2109C8.95508 17.166 9.1543 16.8887 9.44727 16.4766C9.83399 16.5137 10.2227 16.5176 10.6035 16.4863C10.8848 16.8867 11.0215 17.0762 11.0977 17.168L11.0918 17.1719C11.4121 17.7266 12.0098 18.0703 12.6504 18.0703C12.9629 18.0703 13.2734 17.9883 13.5449 17.832L15.0508 16.9688C15.4629 16.7344 15.7695 16.3359 15.8926 15.877C16.0156 15.4258 15.959 14.9531 15.7324 14.5449C15.6953 14.4609 15.5742 14.1934 15.3984 13.8105C15.5371 13.625 15.666 13.4277 15.7852 13.2266C15.877 13.0684 15.9609 12.9043 16.0371 12.7383C16.5 12.6953 16.7012 12.6777 16.7949 12.6641L16.7949 12.666C17.7832 12.6641 18.5879 11.8594 18.5898 10.8711L18.5938 9.13476C18.5957 8.66211 18.4043 8.19922 18.0684 7.86328L18.0684 7.86328ZM14.1211 13.2969C13.959 13.4922 13.9219 13.7656 14.0273 13.9961C14.2949 14.582 14.4863 15.0039 14.5273 15.0977C14.5313 15.1055 14.5332 15.1133 14.5371 15.1172C14.5469 15.1367 14.5566 15.1562 14.5684 15.1758C14.6309 15.2832 14.6484 15.4141 14.6152 15.5352C14.582 15.6562 14.502 15.7617 14.3926 15.8242L12.8867 16.6895C12.8145 16.7305 12.7344 16.752 12.6523 16.752C12.4746 16.752 12.3184 16.6523 12.2109 16.4707L12.1953 16.4473C12.1465 16.377 11.8555 15.9707 11.4609 15.4102C11.3164 15.2051 11.0742 15.0996 10.8262 15.1367C10.3008 15.2129 9.76758 15.207 9.24414 15.123C8.99414 15.084 8.7461 15.1875 8.59961 15.3945C8.35547 15.7402 8.15039 16.0254 8.01172 16.2188C7.89649 16.3789 7.82618 16.4785 7.8086 16.5059C7.75 16.6094 7.64258 16.6875 7.51758 16.7207C7.39258 16.7539 7.26172 16.7383 7.15821 16.6777L5.65625 15.8066C5.54688 15.7422 5.46875 15.6406 5.43555 15.5176C5.40039 15.3887 5.42383 15.2578 5.50782 15.1113L5.51368 15.0977C5.51954 15.084 5.73633 14.6074 6.05664 13.918C6.16407 13.6875 6.13086 13.4219 5.97266 13.2246C5.63868 12.8105 5.3711 12.3516 5.17579 11.8574C5.08399 11.625 4.8711 11.4648 4.6211 11.4414C4.24414 11.4063 3.92579 11.375 3.69532 11.3535C3.42188 11.3281 3.31055 11.3164 3.27539 11.3145C3.01368 11.3125 2.80079 11.0996 2.80079 10.8379L2.80469 9.10156C2.80469 8.83984 3.01758 8.62695 3.2793 8.62695C3.30079 8.62695 3.32422 8.625 3.34571 8.62305C3.35157 8.62305 3.35743 8.62305 3.36719 8.62109C3.46485 8.61133 3.92969 8.56641 4.57422 8.50977C4.82618 8.48633 5.04688 8.31836 5.13477 8.08203C5.25 7.77344 5.37305 7.50781 5.51172 7.26953C5.625 7.07227 5.76563 6.87109 5.95118 6.63867C6.10743 6.44336 6.13868 6.17969 6.03516 5.95313C5.89649 5.65039 5.7793 5.39258 5.69141 5.19922C5.57227 4.9375 5.52344 4.83008 5.50586 4.79688C5.375 4.57031 5.45508 4.2793 5.68164 4.14844L7.1875 3.2832C7.42188 3.14844 7.71289 3.24219 7.86329 3.5L7.87696 3.51953C7.91602 3.57227 8.17188 3.93359 8.53516 4.44922C8.68165 4.65625 8.93751 4.76367 9.18751 4.7207C9.74805 4.625 10.3477 4.62305 10.9258 4.7168C11.1758 4.75781 11.4238 4.6543 11.5703 4.44727C11.7617 4.17773 11.9238 3.95117 12.043 3.78516C12.1875 3.58203 12.2481 3.5 12.2676 3.46875C12.3281 3.36523 12.4336 3.28711 12.5566 3.25391C12.6816 3.2207 12.8125 3.23633 12.916 3.29492L14.4199 4.16797C14.5273 4.23047 14.6074 4.33594 14.6406 4.45703C14.6758 4.58594 14.6524 4.7168 14.5684 4.86328L14.5469 4.90039L14.5469 4.9082C14.4981 5.01367 14.3262 5.39258 14.0879 5.9082C13.9824 6.13477 14.0156 6.4082 14.1738 6.60156C14.5469 7.06445 14.8359 7.57227 15.0332 8.11328C15.1191 8.35156 15.3399 8.52148 15.5918 8.54492C16.1856 8.60156 16.6113 8.64453 16.7109 8.6543C16.7207 8.65625 16.7285 8.65625 16.7344 8.65625C16.9277 8.67188 17.0508 8.7168 17.1328 8.79883C17.2207 8.88672 17.2715 9.00977 17.2715 9.13477L17.2676 10.873C17.2676 11.1426 17.041 11.3477 16.7422 11.3496C16.7422 11.3496 16.7266 11.3496 16.6992 11.3535C16.5859 11.3652 16.1406 11.4063 15.5273 11.4609C15.2773 11.4844 15.0664 11.6426 14.9727 11.875C14.8633 12.1465 14.7598 12.3672 14.6426 12.5684C14.498 12.8105 14.3281 13.0488 14.1211 13.2969L14.1211 13.2969Z' fill='currentColor' fill-rule='nonzero'/%3E%3Cpath id='矢量 15' d='M11.6192 7.25586C11.1504 6.98438 10.6192 6.8418 10.0782 6.83984C8.9844 6.83984 7.96292 7.42773 7.41409 8.37305C6.56253 9.83984 7.06448 11.7266 8.53128 12.5781C9.00003 12.8496 9.53323 12.9941 10.0742 12.9941C11.168 12.9941 12.1895 12.4062 12.7383 11.4609C13.1465 10.7598 13.2617 9.91016 13.0508 9.12695C12.8438 8.34375 12.3223 7.66016 11.6192 7.25586L11.6192 7.25586ZM11.5918 10.7969C11.2774 11.3359 10.6953 11.6699 10.0723 11.6699C9.7637 11.6699 9.46096 11.5879 9.19339 11.4316C8.35745 10.9453 8.07229 9.87109 8.55667 9.03516C8.87112 8.49609 9.45315 8.16211 10.0762 8.16016C10.3848 8.16016 10.6875 8.24219 10.9551 8.39844C11.3555 8.62891 11.6524 9.01758 11.7696 9.46484C11.8907 9.91992 11.8282 10.3926 11.5918 10.7969L11.5918 10.7969Z' fill='currentColor' fill-rule='nonzero'/%3E%3Cpath id='矢量 16' d='M18.0488 7.86328C17.7207 7.53125 17.2832 7.34375 16.8145 7.33594C16.7285 7.32617 16.4688 7.30078 16.0938 7.26562C15.9121 6.85547 15.6914 6.46484 15.4316 6.10156C15.5938 5.75 15.6738 5.57227 15.7109 5.47461L15.7168 5.47656C16.2109 4.61914 15.918 3.51758 15.0625 3.02148L13.5605 2.15039C13.2871 1.99219 12.9746 1.9082 12.6582 1.90625C12.0293 1.90625 11.4316 2.23828 11.1328 2.75391C11.1035 2.79492 10.9434 3.01758 10.7031 3.35352C10.2578 3.30859 9.80859 3.31055 9.36328 3.35547C9.13867 3.03711 9.02539 2.87695 8.95703 2.79492L8.96094 2.79297C8.64063 2.23828 8.04297 1.89453 7.40234 1.89453C7.08984 1.89453 6.78125 1.97656 6.50781 2.13281L5.00195 2.99805C4.58203 3.24023 4.28125 3.63086 4.1543 4.10156C4.0332 4.55078 4.08984 5.01367 4.3125 5.40234C4.33398 5.44922 4.45898 5.72656 4.64844 6.14062C4.54297 6.28906 4.44141 6.44531 4.34961 6.60352C4.23438 6.80469 4.12695 7.01367 4.03516 7.22656C3.52734 7.27344 3.33594 7.29102 3.25586 7.30078C2.27148 7.30469 1.46875 8.10742 1.46484 9.0957L1.46094 10.832C1.46094 11.3164 1.65039 11.7734 1.99414 12.1172C2.32422 12.4473 2.75 12.6289 3.19922 12.6309C3.25391 12.6367 3.58984 12.6699 4.08984 12.7168C4.25391 13.0664 4.44922 13.4004 4.67188 13.7168C4.46484 14.1641 4.36719 14.3789 4.32617 14.4941L4.32031 14.4902C4.08203 14.8984 4.01758 15.3945 4.13867 15.8516C4.25977 16.3105 4.56445 16.709 4.97461 16.9453L6.47656 17.8164C6.75 17.9746 7.06055 18.0586 7.37695 18.0586C8.00586 18.0586 8.60352 17.7266 8.90235 17.2109C8.93555 17.166 9.13477 16.8887 9.42774 16.4766C9.81445 16.5137 10.2031 16.5176 10.584 16.4863C10.8652 16.8867 11.002 17.0762 11.0781 17.168L11.0723 17.1719C11.3926 17.7266 11.9902 18.0703 12.6309 18.0703C12.9434 18.0703 13.2539 17.9883 13.5254 17.832L15.0312 16.9688C15.4434 16.7344 15.75 16.3359 15.873 15.877C15.9961 15.4258 15.9395 14.9531 15.7129 14.5449C15.6758 14.4609 15.5547 14.1934 15.3789 13.8105C15.5176 13.625 15.6465 13.4277 15.7656 13.2266C15.8574 13.0684 15.9414 12.9043 16.0176 12.7383C16.4805 12.6953 16.6816 12.6777 16.7754 12.6641L16.7754 12.666C17.7637 12.6641 18.5684 11.8594 18.5703 10.8711L18.5742 9.13476C18.5762 8.66211 18.3848 8.19922 18.0488 7.86328L18.0488 7.86328ZM14.1016 13.2969C13.9395 13.4922 13.9023 13.7656 14.0078 13.9961C14.2754 14.582 14.4668 15.0039 14.5078 15.0977C14.5117 15.1055 14.5137 15.1133 14.5176 15.1172C14.5273 15.1367 14.5371 15.1562 14.5488 15.1758C14.6113 15.2832 14.6289 15.4141 14.5957 15.5352C14.5625 15.6562 14.4824 15.7617 14.373 15.8242L12.8672 16.6895C12.7949 16.7305 12.7148 16.752 12.6328 16.752C12.4551 16.752 12.2988 16.6523 12.1914 16.4707L12.1758 16.4473C12.127 16.377 11.8359 15.9707 11.4414 15.4102C11.2969 15.2051 11.0547 15.0996 10.8066 15.1367C10.2813 15.2129 9.74805 15.207 9.22461 15.123C8.97461 15.084 8.72657 15.1875 8.58008 15.3945C8.33594 15.7402 8.13086 16.0254 7.99219 16.2188C7.87696 16.3789 7.80664 16.4785 7.78907 16.5059C7.73047 16.6094 7.62305 16.6875 7.49805 16.7207C7.37305 16.7539 7.24219 16.7383 7.13868 16.6777L5.63672 15.8066C5.52735 15.7422 5.44922 15.6406 5.41602 15.5176C5.38086 15.3887 5.4043 15.2578 5.48829 15.1113L5.49414 15.0977C5.5 15.084 5.7168 14.6074 6.03711 13.918C6.14454 13.6875 6.11133 13.4219 5.95313 13.2246C5.61914 12.8105 5.35157 12.3516 5.15625 11.8574C5.06446 11.625 4.85157 11.4648 4.60157 11.4414C4.22461 11.4063 3.90625 11.375 3.67579 11.3535C3.40235 11.3281 3.29102 11.3164 3.25586 11.3145C2.99414 11.3125 2.78125 11.0996 2.78125 10.8379L2.78516 9.10156C2.78516 8.83984 2.99805 8.62695 3.25977 8.62695C3.28125 8.62695 3.30469 8.625 3.32618 8.62305C3.33204 8.62305 3.33789 8.62305 3.34766 8.62109C3.44532 8.61133 3.91016 8.56641 4.55469 8.50977C4.80664 8.48633 5.02735 8.31836 5.11524 8.08203C5.23047 7.77344 5.35352 7.50781 5.49219 7.26953C5.60547 7.07227 5.7461 6.87109 5.93164 6.63867C6.08789 6.44336 6.11915 6.17969 6.01563 5.95313C5.87696 5.65039 5.75977 5.39258 5.67188 5.19922C5.55274 4.9375 5.50391 4.83008 5.48633 4.79688C5.35547 4.57031 5.43555 4.2793 5.66211 4.14844L7.16797 3.2832C7.40235 3.14844 7.69336 3.24219 7.84375 3.5L7.85743 3.51953C7.89649 3.57227 8.15235 3.93359 8.51563 4.44922C8.66212 4.65625 8.91797 4.76367 9.16797 4.7207C9.72852 4.625 10.3281 4.62305 10.9063 4.7168C11.1563 4.75781 11.4043 4.6543 11.5508 4.44727C11.7422 4.17773 11.9043 3.95117 12.0234 3.78516C12.168 3.58203 12.2285 3.5 12.2481 3.46875C12.3086 3.36523 12.4141 3.28711 12.5371 3.25391C12.6621 3.2207 12.793 3.23633 12.8965 3.29492L14.4004 4.16797C14.5078 4.23047 14.5879 4.33594 14.6211 4.45703C14.6563 4.58594 14.6328 4.7168 14.5488 4.86328L14.5273 4.90039L14.5273 4.9082C14.4785 5.01367 14.3066 5.39258 14.0684 5.9082C13.9629 6.13477 13.9961 6.4082 14.1543 6.60156C14.5274 7.06445 14.8164 7.57227 15.0137 8.11328C15.0996 8.35156 15.3203 8.52148 15.5723 8.54492C16.166 8.60156 16.5918 8.64453 16.6914 8.6543C16.7012 8.65625 16.709 8.65625 16.7149 8.65625C16.9082 8.67188 17.0313 8.7168 17.1133 8.79883C17.2012 8.88672 17.252 9.00977 17.252 9.13477L17.2481 10.873C17.2481 11.1426 17.0215 11.3477 16.7227 11.3496C16.7227 11.3496 16.707 11.3496 16.6797 11.3535C16.5664 11.3652 16.1211 11.4063 15.5078 11.4609C15.2578 11.4844 15.0469 11.6426 14.9531 11.875C14.8438 12.1465 14.7402 12.3672 14.6231 12.5684C14.4785 12.8105 14.3086 13.0488 14.1016 13.2969L14.1016 13.2969Z' fill='currentColor' fill-rule='nonzero'/%3E%3Cpath id='矢量 17' d='M11.5996 7.25586C11.1309 6.98438 10.5996 6.8418 10.0586 6.83984C8.96487 6.83984 7.94339 7.42773 7.39456 8.37305C6.54299 9.83984 7.04495 11.7266 8.51175 12.5781C8.9805 12.8496 9.5137 12.9941 10.0547 12.9941C11.1485 12.9941 12.1699 12.4062 12.7188 11.4609C13.127 10.7598 13.2422 9.91016 13.0313 9.12695C12.8242 8.34375 12.3028 7.66016 11.5996 7.25586L11.5996 7.25586ZM11.5723 10.7969C11.2578 11.3359 10.6758 11.6699 10.0528 11.6699C9.74417 11.6699 9.44143 11.5879 9.17385 11.4316C8.33792 10.9453 8.05276 9.87109 8.53714 9.03516C8.85159 8.49609 9.43362 8.16211 10.0567 8.16016C10.3653 8.16016 10.668 8.24219 10.9356 8.39844C11.336 8.62891 11.6328 9.01758 11.75 9.46484C11.8711 9.91992 11.8086 10.3926 11.5723 10.7969L11.5723 10.7969Z' fill='currentColor' fill-rule='nonzero'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-settings\:safe{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Crect id='svg 1' x='0.000000' y='0.000000'/%3E%3Cpath id='矢量 5' d='M9.99984 2.59545C13.1498 2.59545 15.0362 3.15908 15.9089 3.50454L15.9089 10.3227C15.9163 11.2154 15.6738 12.0924 15.2089 12.8545C14.6026 13.818 13.8408 14.6744 12.9546 15.3889C12.0684 16.1035 11.07 16.6663 9.99984 17.0545C8.93101 16.6686 7.93334 16.1086 7.04719 15.3972C6.16105 14.6859 5.39861 13.8328 4.79075 12.8727C4.32586 12.1106 4.0834 11.2336 4.09075 10.3409L4.09075 3.52272C4.97256 3.16363 6.85438 2.61363 9.99984 2.61363M9.99984 1.24999C4.80438 1.23181 2.72711 2.67272 2.72711 2.67272L2.72711 10.3409C2.72213 11.4877 3.03694 12.6131 3.6362 13.5909C4.3697 14.7492 5.30004 15.7703 6.38521 16.6082C7.47038 17.4461 8.69366 18.0879 9.99984 18.5045C11.306 18.0879 12.5293 17.4462 13.6145 16.6082C14.6996 15.7703 15.63 14.7492 16.3635 13.5909C16.9627 12.6131 17.2775 11.4877 17.2726 10.3409L17.2726 2.67272C17.2726 2.67272 15.1953 1.23181 9.99984 1.23181L9.99984 1.24999Z' fill='currentColor' fill-rule='nonzero'/%3E%3Cpath id='矢量 6' d='M9.14544 11.4591C9.01548 11.4588 8.88832 11.4212 8.77913 11.3508C8.66995 11.2803 8.58336 11.1798 8.52969 11.0615C8.47602 10.9431 8.45754 10.8118 8.47645 10.6832C8.49536 10.5546 8.55087 10.4342 8.63635 10.3363L11.7591 6.69996C11.8551 6.59053 11.9832 6.5143 12.1252 6.48219C12.2672 6.45008 12.4157 6.46374 12.5494 6.52122C12.6832 6.5787 12.7953 6.67704 12.8697 6.80215C12.9441 6.92725 12.977 7.07271 12.9636 7.21766C12.9503 7.36261 12.8914 7.49962 12.7954 7.60905L9.66817 11.2454C9.60211 11.3173 9.52101 11.3737 9.43066 11.4106C9.34031 11.4475 9.24292 11.4641 9.14544 11.4591L9.14544 11.4591Z' fill='currentColor' fill-rule='nonzero'/%3E%3Cpath id='矢量 7' d='M9.14538 11.4591C9.06995 11.4597 8.99497 11.4473 8.92371 11.4226C8.85246 11.3978 8.78599 11.3609 8.7272 11.3137L7.30447 10.1955C7.19125 10.1062 7.1092 9.98336 7.07006 9.84458C7.03093 9.7058 7.03673 9.5582 7.08663 9.42291C7.13653 9.28763 7.22796 9.17161 7.34784 9.09148C7.46772 9.01135 7.60988 8.97122 7.75397 8.97684C7.89805 8.98245 8.03666 9.03353 8.14993 9.12276L9.56811 10.2455C9.66223 10.319 9.73523 10.4161 9.7797 10.527C9.82417 10.6379 9.83853 10.7585 9.82133 10.8767C9.80413 10.9949 9.75597 11.1064 9.68175 11.2C9.61847 11.2818 9.5371 11.3477 9.44403 11.3926C9.35096 11.4376 9.24873 11.4604 9.14538 11.4591L9.14538 11.4591Z' fill='currentColor' fill-rule='nonzero'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-settings\:ssl{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Crect id='svg 2' x='0.000000' y='0.000000'/%3E%3Cpath id='矢量 5' d='M9.99984 2.59545C13.1498 2.59545 15.0362 3.15908 15.9089 3.50454L15.9089 10.3227C15.9163 11.2154 15.6738 12.0924 15.2089 12.8545C14.6026 13.818 13.8408 14.6744 12.9546 15.3889C12.0684 16.1035 11.07 16.6663 9.99984 17.0545C8.93101 16.6686 7.93334 16.1086 7.04719 15.3972C6.16105 14.6859 5.39861 13.8328 4.79075 12.8727C4.32586 12.1106 4.0834 11.2336 4.09075 10.3409L4.09075 3.52272C4.97256 3.16363 6.85438 2.61363 9.99984 2.61363M9.99984 1.24999C4.80438 1.23181 2.72711 2.67272 2.72711 2.67272L2.72711 10.3409C2.72213 11.4877 3.03694 12.6131 3.6362 13.5909C4.3697 14.7492 5.30004 15.7703 6.38521 16.6082C7.47038 17.4461 8.69366 18.0879 9.99984 18.5045C11.306 18.0879 12.5293 17.4462 13.6145 16.6082C14.6996 15.7703 15.63 14.7492 16.3635 13.5909C16.9627 12.6131 17.2775 11.4877 17.2726 10.3409L17.2726 2.67272C17.2726 2.67272 15.1953 1.23181 9.99984 1.23181L9.99984 1.24999Z' fill='currentColor' fill-rule='nonzero'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-settings\:success{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 8.74341 8.74414' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath id='矢量 19' d='M4.01465 6.34766C3.93555 6.34766 3.85742 6.31738 3.79785 6.25586L1.80664 4.23828C1.68652 4.11719 1.68652 3.91992 1.80664 3.79785C1.92676 3.67578 2.12109 3.67578 2.24023 3.79785L4.01562 5.59668L8.21875 1.33594C8.25656 1.2972 8.30404 1.26927 8.35627 1.25505C8.40849 1.24083 8.46358 1.24083 8.51581 1.25505C8.56804 1.26927 8.61551 1.2972 8.65332 1.33594C8.77344 1.45703 8.77344 1.6543 8.65332 1.77637L4.23145 6.25684C4.17188 6.31738 4.09277 6.34766 4.01465 6.34766ZM4.31348 8.74414C3.73144 8.74414 3.16602 8.62891 2.63477 8.40137C2.12109 8.18066 1.66016 7.86621 1.26465 7.46484C0.869141 7.06348 0.557617 6.5957 0.34082 6.0752C0.114258 5.53418 0 4.96191 0 4.37207C0 3.78223 0.114258 3.20898 0.338867 2.66992C0.556641 2.14941 0.868164 1.68164 1.26367 1.28027C1.65918 0.878906 2.12012 0.563477 2.63379 0.34375C3.16602 0.116211 3.73144 0 4.31348 0C5.17188 0 6.00098 0.255859 6.71191 0.738281C6.83496 0.821289 6.86914 0.992188 6.78613 1.11719C6.7041 1.24219 6.53516 1.27637 6.41211 1.19141C5.79102 0.770508 5.06445 0.546875 4.31348 0.546875C2.23145 0.546875 0.540039 2.26367 0.540039 4.37207C0.540039 6.48047 2.23242 8.19727 4.31348 8.19727C6.39355 8.19727 8.08691 6.48145 8.08691 4.37207C8.08691 4.23633 8.08008 4.10059 8.06543 3.96484C8.04883 3.81445 8.15723 3.68066 8.30566 3.66406C8.4541 3.64746 8.58594 3.75684 8.60156 3.90723C8.61816 4.06055 8.62598 4.21777 8.62598 4.37207C8.62598 4.96191 8.51172 5.53516 8.28711 6.07422C8.06933 6.5957 7.75976 7.06152 7.36328 7.46387C6.96777 7.86523 6.50586 8.18066 5.99219 8.40039C5.45996 8.62695 4.89551 8.74414 4.31348 8.74414L4.31348 8.74414Z' fill='currentColor' fill-rule='nonzero'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-site\:performance{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1770109361508' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='7931' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M859.733333 217.6l-32-27.733333c-8.533333-8.533333-23.466667-6.4-29.866666 2.133333L580.266667 443.733333c-21.333333-10.666667-44.8-17.066667-68.266667-17.066666-83.2 0-149.333333 66.133333-149.333333 149.333333s66.133333 149.333333 149.333333 149.333333 149.333333-66.133333 149.333333-149.333333c0-25.6-6.4-51.2-19.2-72.533333l219.733334-256c8.533333-10.666667 6.4-23.466667-2.133334-29.866667zM512 640c-36.266667 0-64-27.733333-64-64s27.733333-64 64-64 64 27.733333 64 64-27.733333 64-64 64z' fill='currentColor' p-id='7932'%3E%3C/path%3E%3Cpath d='M731.733333 232.533333C667.733333 194.133333 593.066667 170.666667 512 170.666667 277.333333 170.666667 85.333333 362.666667 85.333333 597.333333c0 44.8 6.4 87.466667 19.2 128h91.733334C179.2 684.8 170.666667 642.133333 170.666667 597.333333c0-187.733333 153.6-341.333333 341.333333-341.333333 61.866667 0 117.333333 17.066667 166.4 44.8l53.333333-68.266667zM829.866667 313.6l-53.333334 68.266667C825.6 441.6 853.333333 516.266667 853.333333 597.333333c0 44.8-8.533333 87.466667-25.6 128h91.733334c12.8-40.533333 19.2-83.2 19.2-128 0-108.8-40.533333-206.933333-108.8-283.733333z' fill='currentColor' p-id='7933'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-soft-dns-close{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1762334981673' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='10737' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M515.7 960.1c-29.2-0.1-52.9-23.9-52.9-53l-0.1-149.8c0.3-1.5 0.4-2.8 0.4-4V743l-10.1-2.1c-62.1-12.9-118.8-45.2-164-93.4-60-64.1-93.1-149.1-93.1-239.4v-107l-26.7 0.2c-6.3 0-12.2-2.5-16.7-7s-6.9-10.4-6.9-16.7c0-6.4 2.4-12.4 6.9-16.8 4.4-4.5 10.4-6.9 16.7-6.9h64.6l-102.9-103c-4.9-4.9-7.6-11.5-7.6-18.4 0-7 2.7-13.5 7.6-18.4 4.9-4.9 11.5-7.6 18.4-7.6s13.5 2.7 18.4 7.6l139.7 139.7h12.2V95c0-17.1 13.9-31.1 31.1-31.1 17.1 0 31 13.9 31 31.1l0.1 158.8h265.4V95c0-17.1 13.9-31 31.1-31 17.1 0 31 13.9 31 31.1v158.7l148.1 0.1c13.1 0 23.7 10.6 23.7 23.7 0 6.4-2.5 12.3-6.9 16.8-4.5 4.5-10.4 7-16.9 7h-21.9v106.9c0 94.5-35.7 182.2-100.5 246.9l-1.6 1.6c-1.7 1.7-3.5 3.3-5.4 5l-6.4 5.9L893 839.2c10.2 10.2 10.2 26.7 0 36.9-4.9 4.9-11.5 7.6-18.4 7.6-7 0-13.5-2.7-18.4-7.6L679.4 699.4l-3.1 1.9c-30.8 19-63.8 32.3-98.2 39.6l-10.7 2.3 0.7 10.9 0.2 2.4 0.1 150.7c0.1 14.1-5.4 27.3-15.4 37.4-10 10-23.3 15.5-37.3 15.5zM243.4 408.2c0 78.2 28.5 151.6 80.3 206.8 51.4 54.7 119.6 84.9 192 84.9 43 0 85.8-11.1 124-32l5.4-3-363.9-363.7h-37.9l0.1 107z m444.3 225.7l6.3-5.7c2.4-2.2 4.9-4.3 7.2-6.6 55-55.1 86.6-132.9 86.6-213.4v-12.7h-0.1v-94.2l-432.7-0.1 332.7 332.7z' p-id='10738' fill='%23ffffff'%3E%3C/path%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-soft-dns-disk{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1762244187005' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='7877' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M554.688 682.624a42.688 42.688 0 0 0 0 85.376h0.448a42.688 42.688 0 1 0 0-85.376h-0.448zM767.488 682.624a42.688 42.688 0 0 0 0 85.376H768a42.688 42.688 0 1 0 0-85.376h-0.512z' fill='currentColor' p-id='7878'%3E%3C/path%3E%3Cpath d='M465.28 96h93.44c59.456 0 106.88 0 144.96 4.48 39.36 4.48 72.128 14.08 100.992 35.584 28.8 21.44 47.424 50.112 63.104 86.464 15.232 35.2 28.8 80.64 45.952 137.6l52.48 174.848c1.28 4.48 2.752 9.28 3.584 14.336v0.32l0.192 1.216c0.64 5.12 0.64 10.048 0.64 14.72v3.392c0 72.704 0 130.304-5.632 175.68-5.824 46.592-18.112 84.736-45.952 115.84-4.992 5.568-10.304 10.88-15.936 15.872-31.104 27.84-69.184 40.128-115.84 45.952-45.312 5.696-102.912 5.696-175.616 5.696H412.352c-72.704 0-130.304 0-175.68-5.696-46.592-5.824-84.672-18.112-115.84-45.888a202.944 202.944 0 0 1-15.872-16c-27.84-31.04-40.128-69.12-45.952-115.84-5.696-45.312-5.696-102.912-5.696-175.616v-3.328c0-4.672 0-9.664 0.704-14.784v-0.32l0.192-1.216c0.832-5.056 2.24-9.856 3.584-14.272l52.48-174.912c17.088-56.96 30.72-102.4 45.952-137.6 15.68-36.352 34.304-65.024 63.104-86.4 28.8-21.504 61.632-31.104 100.992-35.712C358.4 96 405.76 96 465.28 96zM327.68 164.032c-33.152 3.84-53.632 11.072-70.144 23.36-16.512 12.288-29.376 29.824-42.56 60.48-13.568 31.424-26.176 73.28-43.968 132.544l-42.688 142.272h767.36l-42.688-142.272c-17.792-59.264-30.4-101.12-43.968-132.48-13.184-30.72-26.048-48.256-42.56-60.544-16.512-12.288-36.992-19.52-70.144-23.36C662.336 160 618.624 160 556.736 160H467.328c-61.952 0-105.6 0-139.648 4.032zM122.496 736.64c5.056 40.128 14.528 63.616 30.144 81.088 3.456 3.84 7.04 7.488 10.88 10.88 17.536 15.68 40.96 25.088 81.152 30.144 40.96 5.12 94.464 5.184 169.92 5.184h194.816c75.456 0 129.024 0 169.92-5.184 40.128-5.056 63.616-14.464 81.152-30.08 3.84-3.456 7.424-7.104 10.88-10.944 15.616-17.536 25.088-40.96 30.08-81.088 4.672-37.248 5.12-84.928 5.248-150.016H117.312c0.064 65.088 0.512 112.768 5.184 150.016z' fill='currentColor' p-id='7879'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-soft-dns-icon{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1762335529080' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='11802' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M170.666667 128h682.666666a42.666667 42.666667 0 0 1 42.666667 42.666667v298.666666H128V170.666667a42.666667 42.666667 0 0 1 42.666667-42.666667zM128 554.666667h768v298.666666a42.666667 42.666667 0 0 1-42.666667 42.666667H170.666667a42.666667 42.666667 0 0 1-42.666667-42.666667v-298.666666z m170.666667 128v85.333333h128v-85.333333H298.666667zM298.666667 256v85.333333h128V256H298.666667z' fill='currentColor' p-id='11803'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-soft-dns-menu{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1762241899839' class='icon' viewBox='0 0 1025 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='12295' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M163.231468 552.233328c6.707287 4.471525 14.905083 6.707287 23.102879 6.707287 12.669321-0.745254 24.593387-5.216779 33.536437-14.159829 17.8861-17.8861 17.8861-46.951012 0-65.582365-8.94305-8.94305-20.867116-13.414575-33.536437-14.159829-8.197796 0-16.395591 2.235762-23.102879 6.707287-7.452542 4.471525-12.669321 10.433558-17.140846 17.140846-8.197796 14.159829-8.197796 31.300674 0 46.205757 4.471525 6.707287 10.433558 13.414575 17.140846 17.140846zM1024.74527 791.459911c0-11.924066-4.471525-23.848133-13.414575-32.791182-8.94305-8.94305-20.121862-13.414575-32.791183-14.159829H46.226566c-12.669321 0.745254-23.848133 5.216779-32.791183 14.159829-8.94305 8.94305-13.414575 20.121862-13.414575 32.791182v186.313539c-0.745254 24.593387 18.631354 45.460503 43.969995 46.205757H978.539512c24.593387 0.745254 45.460503-18.631354 45.460504-43.969995v-188.549301z m-46.205758 0v186.313539H46.226566v-186.313539h932.312946z' p-id='12296' fill='currentColor'%3E%3C/path%3E%3Cpath d='M978.539512 371.881823H46.226566c-12.669321 0-24.593387 4.471525-32.791183 13.414575C5.237587 394.984702 0.766062 406.908768 0.766062 418.832834v185.568285c0 12.669321 4.471525 24.593387 13.414575 33.536437 8.197796 8.94305 20.121862 14.159829 32.791183 13.414574h932.312946c12.669321 0 24.593387-4.471525 32.791183-13.414574 8.94305-8.94305 13.414575-20.867116 13.414575-33.536437V418.832834c0-12.669321-4.471525-24.593387-13.414575-33.536436-8.94305-8.197796-20.867116-13.414575-33.536437-13.414575z m0 46.951011v185.568285H46.226566V418.832834h932.312946zM980.775275 0H46.226566C34.302499 0 22.378433 4.471525 13.435383 13.414575 5.237587 21.61237 0.020808 33.536437 0.766062 45.460503v186.313539c0 11.924066 4.471525 23.848133 13.414575 32.791183 8.94305 8.94305 20.121862 13.414575 32.791183 14.159829h932.312946c12.669321-0.745254 23.848133-5.216779 32.791183-14.159829 8.94305-8.94305 13.414575-20.867116 13.414575-32.791183v-186.313539c0-24.593387-20.121862-44.715249-44.715249-45.460503z m-2.235763 232.519296H46.226566v-186.313538h932.312946v186.313538z' p-id='12297' fill='currentColor'%3E%3C/path%3E%3Cpath d='M163.231468 179.606251c18.631354 10.433558 40.988978 7.452542 55.894061-6.707287 8.94305-8.197796 14.159829-20.121862 13.414575-32.791183 0-26.083895-20.867116-46.951012-46.205757-46.951012h-0.745255c-8.197796 0-15.650337 2.235762-23.102878 5.962033s-12.669321 9.688304-17.140846 17.140846c-8.197796 14.905083-8.197796 32.045929 0 46.951012 5.216779 6.707287 11.178812 12.669321 17.8861 16.395591z' p-id='12298' fill='currentColor'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-soft-dns-open{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1762328247815' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='7956' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M341.333333 386.773333h341.333334a85.333333 85.333333 0 0 1 85.333333 85.333334v149.333333a234.752 234.752 0 0 1-177.28 227.584A64 64 0 0 1 533.333333 941.44h-42.666666a64 64 0 0 1-57.386667-92.416A234.752 234.752 0 0 1 256 621.44v-149.333333a85.333333 85.333333 0 0 1 85.333333-85.333334z m85.333334-42.666666H341.333333v-213.333334a42.666667 42.666667 0 1 1 85.333334 0v213.333334z m256 0H597.333333v-213.333334a42.666667 42.666667 0 1 1 85.333334 0v213.333334z' p-id='7957' fill='%234CAF50'%3E%3C/path%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-soft-dns-reload{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1762410163124' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='32942' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M758.5792 234.2912c0 29.0816 23.3472 52.4288 52.4288 52.4288 29.0816 0 52.4288-23.3472 52.4288-52.4288s-23.7568-52.4288-52.4288-52.4288c-29.0816 0-52.4288 23.7568-52.4288 52.4288zM855.6544 516.9152c0 23.3472 12.288 44.2368 31.9488 56.1152 19.6608 11.8784 45.056 11.8784 64.7168 0a65.3312 65.3312 0 0 0 0-112.2304c-19.6608-11.8784-45.056-11.8784-64.7168 0s-31.9488 33.1776-31.9488 56.1152zM736.8704 801.1776c0 27.0336 14.7456 52.4288 38.0928 65.9456 23.3472 13.5168 52.4288 13.5168 76.1856 0 23.3472-13.5168 38.0928-38.912 38.0928-65.9456s-14.7456-52.4288-38.0928-65.9456c-23.3472-13.5168-52.4288-13.5168-76.1856 0-23.3472 13.9264-38.0928 38.912-38.0928 65.9456zM440.7296 915.0464c0 31.5392 16.7936 60.2112 44.2368 76.1856 27.0336 15.9744 61.0304 15.9744 88.064 0a89.2928 89.2928 0 0 0 44.2368-76.1856c0-31.5392-16.7936-60.2112-44.2368-76.1856-27.0336-15.9744-61.0304-15.9744-88.064 0-26.624 15.9744-44.2368 45.056-44.2368 76.1856zM151.1424 797.0816c0 35.2256 18.432 67.584 49.152 84.7872 30.3104 17.2032 67.584 17.2032 97.8944 0a97.4848 97.4848 0 0 0 48.7424-84.7872 97.8944 97.8944 0 0 0-97.8944-97.8944c-54.4768-0.8192-97.8944 43.8272-97.8944 97.8944zM426.8032 124.1088c0 57.344 46.6944 104.0384 104.0384 104.0384s104.0384-46.6944 104.0384-104.0384c0-36.864-19.6608-71.2704-51.6096-89.7024-31.9488-18.432-72.0896-18.432-104.0384 0a103.6288 103.6288 0 0 0-52.4288 89.7024zM144.9984 236.7488c0 36.864 19.6608 71.2704 51.6096 89.7024 31.9488 18.432 72.0896 18.432 104.0384 0a102.8096 102.8096 0 0 0 52.4288-89.7024c0-57.344-46.6944-104.0384-104.0384-104.0384-57.344 0-104.0384 46.2848-104.0384 104.0384zM39.7312 514.048c0 54.8864 44.2368 99.1232 99.1232 99.1232s99.1232-44.2368 99.1232-99.1232c0-54.8864-44.2368-99.1232-99.1232-99.1232-54.8864 0-99.1232 44.2368-99.1232 99.1232z' p-id='32943' fill='%2320A53A'%3E%3C/path%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-soft-dns-restart{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1762327725612' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='5980' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M512.170724 1024c-282.416084 0-512.17061-208.087082-512.17061-463.888037 0-255.744085 229.754526-463.774297 512.17061-463.774298h8.24614V0l247.327335 149.681662-247.384205 149.567921V203.025658H512.170724c-216.674442 0-392.857492 160.259469-392.857492 357.200045 0 196.940575 176.23992 357.086305 392.857492 357.086304s392.857492-160.202599 392.857491-357.200044c0-29.401755 26.728868-53.343996 59.656559-53.343997 32.870821 0 59.599689 23.942241 59.599689 53.343997 0 123.521493-53.173387 239.877374-149.795401 327.570809-96.906365 87.864045-225.546151 136.317228-362.318338 136.317228z' fill='%2320A53A' p-id='5981'%3E%3C/path%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-soft-dns-server{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1762241874270' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='10262' xmlns:xlink='http://www.w3.org/1999/xlink' %3E%3Cpath d='M306.820741 191.525926c-51.579259 11.188148-103.632593 63.241481-114.820741 114.820741-21.428148 99.176296 53.475556 186.785185 148.954074 186.785185l152.651852 0 0-6.447407 0-31.478519L493.605926 333.937778l-0.18963 0C489.623704 241.682963 403.816296 170.571852 306.820741 191.525926zM455.68 455.205926l-114.725926 0c-63.905185 0-115.579259-52.242963-114.725926-116.337778 0.853333-61.819259 51.294815-112.260741 113.114074-113.114074 64.094815-0.853333 116.337778 50.820741 116.337778 114.725926L455.68 455.205926z' fill='currentColor' p-id='10263'%3E%3C/path%3E%3Cpath d='M832.663704 306.346667c-11.188148-51.579259-63.241481-103.632593-114.820741-114.820741-96.900741-20.954074-182.802963 50.157037-186.595556 142.506667l-0.18963 0 0 121.173333 0 31.478519 0 6.447407 152.651852 0C779.093333 493.131852 854.091852 405.522963 832.663704 306.346667zM568.983704 340.48c0-63.905185 52.242963-115.579259 116.337778-114.725926 61.819259 0.853333 112.260741 51.294815 113.114074 113.114074 0.853333 64.094815-50.820741 116.337778-114.725926 116.337778l-114.725926 0L568.983704 340.48z' fill='currentColor' p-id='10264'%3E%3C/path%3E%3Cpath d='M192 717.842963c11.188148 51.579259 63.241481 103.632593 114.820741 114.820741 96.900741 20.954074 182.802963-50.157037 186.595556-142.506667l0.18963 0L493.605926 568.983704l0-31.478519 0-6.447407-152.651852 0C245.475556 531.057778 170.571852 618.666667 192 717.842963zM455.68 683.70963c0 63.905185-52.242963 115.579259-116.337778 114.725926-61.819259-0.853333-112.260741-51.294815-113.114074-113.114074-0.853333-64.094815 50.820741-116.337778 114.725926-116.337778l114.725926 0L455.68 683.70963z' fill='currentColor' p-id='10265'%3E%3C/path%3E%3Cpath d='M683.70963 531.057778l-152.651852 0 0 6.447407 0 31.478519 0 121.173333 0.18963 0c3.887407 92.34963 89.694815 163.460741 186.595556 142.506667 51.579259-11.188148 103.632593-63.241481 114.820741-114.820741C854.091852 618.666667 779.093333 531.057778 683.70963 531.057778zM798.435556 685.321481C797.582222 747.140741 747.140741 797.582222 685.321481 798.435556c-64.094815 0.853333-116.337778-50.820741-116.337778-114.725926l0-114.725926 114.725926 0C747.614815 568.983704 799.288889 621.226667 798.435556 685.321481z' fill='currentColor' p-id='10266'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-soft-dns-stop{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1762327609688' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='4672' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M320 128A64 64 0 0 0 256 192v640a64 64 0 0 0 128 0v-640A64 64 0 0 0 320 128z m384 0A64 64 0 0 0 640 192v640a64 64 0 0 0 128 0v-640A64 64 0 0 0 704 128z' fill='%2320A53A' p-id='4673'%3E%3C/path%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-soft-dns-system{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1762241912388' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='13400' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M608 96c35.3456 0 64 28.6544 64 64v192c0 35.3456-28.6544 64-64 64h-72v71.9984L760 488c34.992 0 63.4256 28.0832 63.992 62.9424L824 552v56h72c35.3456 0 64 28.6544 64 64v192c0 35.3456-28.6544 64-64 64H704c-35.3456 0-64-28.6544-64-64V672c0-35.3456 28.6544-64 64-64h72v-56c0-8.688-6.9232-15.7568-15.552-15.9936L760 536H264c-8.688 0-15.7568 6.9232-15.9936 15.552L248 552v56h72c35.3456 0 64 28.6544 64 64v192c0 35.3456-28.6544 64-64 64H128c-35.3456 0-64-28.6544-64-64V672c0-35.3456 28.6544-64 64-64h72v-56c0-34.992 28.0832-63.4256 62.9424-63.992L264 488l224-0.0016V416h-72c-35.3456 0-64-28.6544-64-64V160c0-35.3456 28.6544-64 64-64h192zM320 656H128c-8.8368 0-16 7.1632-16 16v192c0 8.8368 7.1632 16 16 16h192c8.8368 0 16-7.1632 16-16V672c0-8.8368-7.1632-16-16-16z m576 0H704c-8.8368 0-16 7.1632-16 16v192c0 8.8368 7.1632 16 16 16h192c8.8368 0 16-7.1632 16-16V672c0-8.8368-7.1632-16-16-16zM608 144H416c-8.8368 0-16 7.1632-16 16v192c0 8.8368 7.1632 16 16 16h192c8.8368 0 16-7.1632 16-16V160c0-8.8368-7.1632-16-16-16z' fill='currentColor' p-id='13401'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-soft-dns-uninstall{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1762327863599' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='7095' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M464.18 82.59h96.4v96.37h-96.4z' p-id='7096' fill='currentColor'%3E%3C/path%3E%3Cpath d='M78.68 169.93h867.35v96.37H78.68z' p-id='7097' fill='%23ffffff'%3E%3C/path%3E%3Cpath d='M849.65 940.93h-674.6v-771h674.6v771z m-578.22-96.37h481.85V266.31H271.43v578.25z' p-id='7098' fill='currentColor'%3E%3C/path%3E%3Cpath d='M367.8 362.68h96.37v385.5H367.8zM560.53 362.68h96.37v385.5h-96.37z' p-id='7099' fill='currentColor'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-solar\:close-circle-bold{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2s10 4.477 10 10M8.97 8.97a.75.75 0 0 1 1.06 0L12 10.94l1.97-1.97a.75.75 0 0 1 1.06 1.06L13.06 12l1.97 1.97a.75.75 0 0 1-1.06 1.06L12 13.06l-1.97 1.97a.75.75 0 0 1-1.06-1.06L10.94 12l-1.97-1.97a.75.75 0 0 1 0-1.06' clip-rule='evenodd'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-streamline\:delete-1-solid{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 14 14' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M1.707.293A1 1 0 0 0 .293 1.707L5.586 7L.293 12.293a1 1 0 1 0 1.414 1.414L7 8.414l5.293 5.293a1 1 0 0 0 1.414-1.414L8.414 7l5.293-5.293A1 1 0 0 0 12.293.293L7 5.586z' clip-rule='evenodd'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-svg-spinners\:3-dots-fade{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Ccircle cx='4' cy='12' r='3' fill='currentColor'%3E%3Canimate id='svgSpinners3DotsFade0' fill='freeze' attributeName='opacity' begin='0;svgSpinners3DotsFade1.end-0.25s' dur='0.75s' values='1;.2'/%3E%3C/circle%3E%3Ccircle cx='12' cy='12' r='3' fill='currentColor' opacity='.4'%3E%3Canimate fill='freeze' attributeName='opacity' begin='svgSpinners3DotsFade0.begin+0.15s' dur='0.75s' values='1;.2'/%3E%3C/circle%3E%3Ccircle cx='20' cy='12' r='3' fill='currentColor' opacity='.3'%3E%3Canimate id='svgSpinners3DotsFade1' fill='freeze' attributeName='opacity' begin='svgSpinners3DotsFade0.begin+0.3s' dur='0.75s' values='1;.2'/%3E%3C/circle%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-svg-spinners\:90-ring-with-bg{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z' opacity='.25'/%3E%3Cpath fill='currentColor' d='M10.14,1.16a11,11,0,0,0-9,8.92A1.59,1.59,0,0,0,2.46,12,1.52,1.52,0,0,0,4.11,10.7a8,8,0,0,1,6.66-6.61A1.42,1.42,0,0,0,12,2.69h0A1.57,1.57,0,0,0,10.14,1.16Z'%3E%3CanimateTransform attributeName='transform' dur='0.75s' repeatCount='indefinite' type='rotate' values='0 12 12;360 12 12'/%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-system\:alibaba{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %23f76e05;}%3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M224.55,659.8c-18.73-3.86-32.23-20.25-32.44-39.37v-216.85c.74-18.92,14.01-35.03,32.44-39.37l201.33-43.6,21.16-86.3h-233.84c-81.84-.57-148.63,65.31-149.2,147.15,0,.32,0,.64,0,.97v256.28c.53,82.19,67.01,148.71,149.2,149.27h233.71l-21.16-85.92-201.33-42.19.13-.06ZM810.28,234.3h-235.51l21.48,86.24,201.33,43.6c18.7,3.93,32.16,20.33,32.38,39.43v216.85c-.76,18.91-13.99,35.01-32.38,39.43l-201.33,43.6-21.48,86.24h235.51c82.51.18,149.54-66.57,149.72-149.08,0-.17,0-.34,0-.51v-257.63c-1.02-82.01-67.7-148.01-149.72-148.18Z'/%3E%3Cpath class='st0' d='M425.89,500.72h171.71v21.16h-171.71v-21.16Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:alma{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %2386da2f;}.st1 {fill: %23ffcb12;}.st2 {fill: %230069da;}.st3 {fill: %23ff4649;}.st4 {fill: %2324c2ff;}%3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M887.84,568.74c38.14-2.92,68.99,22.01,71.95,60.19,2.92,39.66-25.01,71.95-63.15,74.87-36.85,2.71-68.99-24.83-71.95-61.67-2.96-39.62,23.45-69.03,63.11-73.43v.04h.04Z'/%3E%3Cpath class='st4' d='M423.92,881.47c0-38.14,29.37-67.51,64.59-67.51s69.03,32.33,69.03,68.99-29.33,66.11-63.11,67.55c-42.58,0-70.51-26.49-70.51-68.99v-.04Z'/%3E%3Cpath class='st1' d='M528.12,452.77c-5.84,2.96-8.8-1.44-10.25-5.84-54.3-101.36-38.18-229.06,57.26-305.41,24.97-20.53,71.95-25.01,92.48-4.4,8.8,7.4,10.28,16.13,11.76,26.41,2.92,22.05,7.32,44.06,22.05,61.67,16.13,19.13,36.66,26.41,60.15,25.01,20.53,0,41.1-2.92,54.34,20.53,7.32,13.24,4.4,64.55-7.32,74.83-5.88,4.44-10.28,1.48-14.69,0-33.81-13.21-69.03-13.21-104.28-7.32-11.73,1.44-17.61-1.48-17.61-14.69-1.48-22.05-5.84-42.58-17.61-61.67-22.01-39.66-63.11-41.14-89.56-4.4-22.01,29.37-27.85,64.59-33.77,99.88-5.88,30.77-4.4,63.11-2.96,95.44v-.04Z'/%3E%3Cpath class='st0' d='M564.82,474.78c-2.92-4.44-1.48-8.8,2.92-11.73,83.72-76.35,208.53-91.04,305.41-16.17,24.93,20.57,41.1,63.15,27.89,88.12-4.67,8.62-12.64,14.98-22.09,17.61-20.53,8.8-39.62,17.65-52.82,36.7-13.21,19.17-16.13,41.1-10.25,64.67,4.4,19.05,11.73,39.58-7.36,57.19-10.25,10.28-60.19,19.13-73.39,10.28-5.84-4.4-4.4-8.8-2.96-14.69,4.4-36.7-4.4-70.51-17.61-102.76-4.4-11.73-2.92-17.61,8.8-20.53,20.57-5.84,39.7-16.17,54.34-30.81,32.29-30.81,25.01-70.43-17.61-88.08-33.77-14.73-68.99-11.76-102.76-8.8-32.26,1.44-63.11,10.25-92.48,19.09,0,0-.04-.08-.04-.08Z'/%3E%3Cpath class='st4' d='M545.73,512.95c4.4-4.4,7.4-2.96,11.76,0,96.88,58.75,146.78,174.68,102.76,287.77-11.76,29.41-49.94,58.75-77.79,51.42-11.73-2.88-17.65-8.8-23.53-16.13-13.21-17.69-27.89-33.81-49.86-41.1-23.49-7.32-44.1-2.92-64.67,8.8-17.57,10.28-35.18,23.49-57.19,10.28-13.24-7.36-35.25-52.82-30.85-67.51,2.92-5.84,8.8-5.84,14.73-5.84,36.66-5.88,66.07-23.49,93.96-47.02,8.8-7.36,16.13-7.36,23.45,2.92,11.76,17.61,26.41,32.29,45.5,42.54,38.18,22.09,74.87,2.96,79.27-41.06,4.4-36.7-8.8-68.95-20.53-101.28-13.34-29.15-29.07-57.15-47.02-83.72v-.08Z'/%3E%3Cpath class='st2' d='M498.75,521.8c-5.84,29.33-19.09,57.23-36.62,82.2-52.9,79.24-129.25,111.57-223.22,102.76-33.74-2.96-61.67-30.85-64.55-58.75-1.66-10.61,1.58-21.39,8.8-29.33,10.25-13.21,19.09-25.01,23.45-41.1,8.8-32.33-2.92-58.75-26.41-82.2-32.26-32.33-27.85-61.71,10.28-85.16,4.4-2.96,10.28-5.84,16.13-8.8,8.8-4.4,16.17-4.4,19.13,5.84,13.24,33.77,39.62,58.75,69.03,79.31,10.28,8.8,10.28,14.65,1.48,24.97-17.63,18.79-28.03,43.22-29.37,68.95-2.92,32.33,16.17,52.9,48.42,52.9,20.57,0,39.62-7.32,57.26-16.13,45.5-23.53,80.72-57.26,114.53-92.56,4.4-1.48,5.84-4.4,11.73-2.92h-.08Z'/%3E%3Cpath class='st3' d='M258.01,213.46c2.92,0,10.25,1.44,17.61,2.92,54.34,10.28,88.08-8.8,105.69-60.23,11.73-33.74,36.7-44.06,69.03-26.41,1.44,0,1.44,1.48,2.92,1.48,33.74,19.09,33.74,22.01,13.21,51.42-17.61,23.45-26.49,49.86-30.81,77.79-2.92,16.17-8.8,19.13-23.49,13.24-23.45-8.84-48.42-8.84-73.39,0-27.89,8.76-39.62,33.7-30.81,61.63,11.73,36.7,44.02,52.9,71.87,71.95,27.93,19.13,60.23,29.41,91.04,42.58,4.44,1.44,11.73,1.44,10.28,8.8-1.48,4.44-7.36,4.44-13.24,4.44-66.07,2.92-129.14-7.4-180.56-51.42-48.46-39.62-83.68-88.04-77.83-155.59,4.4-22.05,20.57-38.18,48.5-42.58,0,0,0-.04,0-.04Z'/%3E%3Cpath class='st2' d='M137.63,626c-35.22,4.4-70.43-24.97-73.43-61.67-2.92-35.22,26.41-70.51,60.19-73.39,38.14-4.48,73.39,21.97,76.35,57.19,1.44,33.81-20.57,74.91-63.15,77.79v.08h.04Z'/%3E%3Cpath class='st1' d='M754.26,103.37c36.66-2.96,71.95,26.41,74.87,63.11,2.96,35.25-26.49,69.03-61.67,71.91-38.18,2.96-71.95-24.93-74.87-61.67-2.96-36.7,23.45-70.43,61.67-73.35Z'/%3E%3Cpath class='st3' d='M371.05,131.19c4.44,38.18-22.09,70.47-61.71,76.35-33.74,4.44-68.99-23.45-73.39-55.71-4.44-42.62,19.09-73.47,58.75-77.87,36.66-4.44,71.87,23.45,76.35,57.23Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:anolis{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %2359ab2d;}%3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M513.19,63.99c-118.97,0-233.12,47.59-317.24,132.51-84.27,85.23-131.5,200.27-131.42,320.13,0,4.23.5,8.41.55,12.54l-1,310.87c-.8,20.21,3.83,40.32,13.39,58.24,9.46,17.87,20.91,31.36,40.82,43.61,19.71,12.2,36.74,16.48,56.9,16.88,20.14.43,40.04-4.55,57.59-14.44,35.88-20.29,58.14-58.24,58.34-99.46v-34.5l1.39-163.52v-127.88c.33-23.73-8.17-46.74-23.84-64.56-25.17-29.14-22.89-72.94,5.18-99.31,28-26.27,71.92-25.16,98.56,2.49,26.72,27.71,26.85,71.54.3,99.41-15.67,17.17-24.2,39.68-23.84,62.92v26.98s11.9,100.21,82.73,10.06l44.8-73.77c12.3-20.26,16.78-44.5,12.44-67.85-7.29-37.94,17.01-74.76,54.76-82.98,37.74-7.95,74.88,15.82,83.48,53.41,8.98,37.56-13.57,75.45-50.87,85.47-22.1,6.47-40.82,21.16-52.52,40.97l-47.44,77.85s-24.24,46.19,31.61,46.19l64.21-2.04c23.05-.3,45.1-9.46,61.68-25.54,26.72-27.62,70.7-28.55,98.56-2.09,27.98,26.38,29.92,70.49,4.48,99.36-25.31,28.98-69.27,32.09-98.41,6.97-17.83-15.56-40.86-23.84-64.51-23.2,0,0-64.81-1-107.97,48.58-35.01,39.96-43.44,96.69-21.55,145.11,1.14,2.49,2.49,4.93,3.68,7.72l1.49,2.24c.95,1.69,1.99,3.29,2.99,4.88l1.79,2.74c1,1.49,1.99,2.79,3.14,4.18l2.24,2.84c1.1,1.39,2.19,2.69,3.34,3.88l2.64,2.89,3.58,3.63,2.99,2.69,3.98,3.48,3.34,2.49,4.43,3.29c1.13.83,2.29,1.61,3.48,2.34,1.6,1.1,3.26,2.09,4.98,2.99l3.78,2.29c1.79,1,3.63,1.94,5.43,2.79l4.08,1.99,6.37,2.59,4.03,1.69,7.72,2.64,3.34,1.1c3.93,1.24,7.67,2.24,12.1,3.24l2.39.5c3.53.75,7.12,1.49,10.65,2.09l4.98.75c2.94.45,5.87.9,9.01,1.19l5.97.6,8.11.6c8.61.55,17.32.3,25.89-.55,223.81-48.93,375.14-260,351.24-489.73-23.84-229.78-215.34-404.45-444.28-405.45h-.05Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:arch{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %231793d1;}%3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M511.92,64c-39.89,97.78-63.95,161.73-108.36,256.6,27.23,28.86,60.65,62.46,114.93,100.42-58.36-24.01-98.16-48.11-127.9-73.12-56.84,118.58-145.88,287.48-326.59,612.1,142.03-81.98,252.12-132.52,354.72-151.81-4.63-19.94-6.9-40.35-6.74-60.82l.17-4.55c2.25-90.97,49.59-160.93,105.66-156.18,56.07,4.75,99.66,82.4,97.41,173.37-.43,17.11-2.36,33.59-5.73,48.86,101.49,19.85,210.41,70.26,350.51,151.13-27.63-50.85-52.28-96.69-75.83-140.35-37.09-28.74-75.78-66.15-154.7-106.65,54.24,14.09,93.08,30.34,123.35,48.52-239.42-445.67-258.8-504.89-340.91-697.53Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:centos{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %23ffa648;}.st1 {fill: %23ffa64c;}.st2 {fill: %232f3597;}.st3 {fill: %23a3248d;}.st4 {fill: %2392307f;}.st5 {fill: %23a6218e;}.st6 {fill: %232b30a5;}.st7 {fill: %232f3291;}.st8 {fill: %23a6cd3c;}.st9 {fill: %23f6ab46;}.st10 {fill: %23a4cb3e;}%3C/style%3E%3C/defs%3E%3Cpath class='st10' d='M195.23,340.05l31.68-31.68,20.38-20.35,20.35,20.35,146.04,146.04h40.74v-40.71l-146.04-146.04-20.38-20.41,20.38-20.35,31.65-31.65h-144.81v144.81Z'/%3E%3Cpath class='st8' d='M454.42,372.96v-177.75h-73.62l-52.07,52.07s125.68,125.68,125.68,125.68ZM195.23,380.82v73.62h177.75l-125.68-125.68s-52.07,52.07-52.07,52.07Z'/%3E%3Cpath class='st4' d='M736.03,247.28l-20.38,20.38-146.07,146.04v40.71h40.74l146.07-146.04,20.38-20.35,20.35,20.35,31.65,31.68v-144.81h-144.81l31.68,31.65,20.38,20.38Z'/%3E%3Cpath class='st9' d='M409.64,166.44h73.59v235.33l28.78,28.81,28.81-28.81v-235.33h73.62l-102.42-102.42-102.36,102.42Z'/%3E%3Cpath class='st3' d='M651.05,454.4h177.72v-73.59l-52.07-52.07-125.65,125.65Z'/%3E%3Cpath class='st5' d='M166.42,540.82h235.33l28.81-28.81-28.81-28.81h-235.33v-73.62l-102.42,102.42,102.42,102.42v-73.62Z'/%3E%3Cpath class='st1' d='M569.58,651.07v177.75h73.65l52.04-52.07s-125.68-125.68-125.68-125.68ZM651.05,569.6l125.65,125.68,52.07-52.07v-73.62s-177.72,0-177.72,0Z'/%3E%3Cpath class='st3' d='M569.58,372.96l125.68-125.68-52.04-52.04h-73.65v177.72Z'/%3E%3Cpath class='st0' d='M828.74,683.98l-31.65,31.68-20.38,20.35-20.35-20.35-146.04-146.07h-40.74v40.74l146.07,146.07,20.38,20.35-20.38,20.38-31.68,31.65h144.78v-144.81Z'/%3E%3Cpath class='st6' d='M857.58,483.21h-235.33l-28.78,28.81,28.78,28.81h235.33v73.62l102.42-102.42-102.42-102.42v73.62Z'/%3E%3Cpath class='st2' d='M247.29,695.28l125.65-125.68h-177.72v73.62l52.07,52.07Z'/%3E%3Cpath class='st7' d='M288,776.72l20.35-20.38,146.04-146.01v-40.74h-40.71l-146.07,146.07-20.35,20.35-20.35-20.35-31.68-31.68v144.81h144.84l-31.68-31.68s-20.38-20.38-20.38-20.38ZM614.42,857.59h-73.62v-235.36l-28.81-28.81-28.78,28.81v235.36h-73.62l102.42,102.39s102.39-102.39,102.39-102.39Z'/%3E%3Cpath class='st7' d='M454.42,651.07l-125.68,125.65,52.07,52.07h73.62v-177.72Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:debian{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %23ce0c48;}%3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M881.64,392.44c-2.99-34.03-9.55-67.66-19.56-100.32l11.64,3.88c-31.2-71.21-78.83-143.17-134.36-174.37-7.61-4.48-30.75,4.33-23.29-10.6s-32.84-7.17-49.71-4.18c-22.99,3.73-26.28-25.53-65.69-31.35-22.39-3.14-28.22,16.12-39.11,11.64-20.6-8.21-18.21-24.19-50.46-8.21-16.12,7.91,10.15-22.84-43-4.03l-4.48-10.9c-94.95,36.43-121.67,66.73-148.39,69.42-6.12,0-29.86,28.66-46.88,46.43-14.93,14.93-22.99,31.95-43,34.64l-14.93,61.81c-25.43,21.16-40.95,51.92-42.85,84.95-5.16-15.3-3.76-32.05,3.88-46.28-14.93,5.97-40.16,14.93-25.98,84.8,11.2,55.24-4.63,118.24,8.81,179.15,4.18,18.36,0,35.08,5.37,44.79,94.2,206.32,182.73,343.07,413.38,336.05l3.88-7.76c-24.63-5.97-48.22-14.93-97.64-26.87-16.27-3.88-20.15-29.86-35.23-38.67-8.21-4.78-24.78-3.58-32.55-8.66s3.73-18.96-17.47-12.54c-7.46,2.24-12.09-9.55-17.62-14.93s0-20.75-20.45-21.65c-20.45-.9-16.12-25.98-17.32-39.11-10.6,1.34-1.05-1.34-11.64,3.88-9.75-6.79-17.07-16.52-20.9-27.77-8.96-42.85-9.26-18.81-13.14-28.37-4.73-12.68-10.37-25-16.87-36.87l23.44,7.76h3.88l3.88-11.64-23.29-7.61h27.32c-6.72,12.24,1.79,4.63-11.79,7.76v11.64l19.56-7.76v-11.64c-18.06-8.96-25.08-11.64-43-19.26l7.91,7.76v3.88h-43c-19.26-12.99-12.24-27.77-15.68-46.43,14.93,0,8.06,5.82,14.93-11.5l-14.93,7.76,11.64-29.71-11.64,11.5c-25.53-33.89-14.18-85.54-10.45-133.02,1.51-32.54,13.03-63.83,32.99-89.57,7.76-8.81,4.48-22.09,4.78-32.55l27.32-23.14h15.68c6.72,14.93,4.18,4.78,0,19.26l7.76,3.88c6.27-7.61,5.37-5.23,7.76-19.26-8.81-9.26-6.12-8.66-23.29-11.64,20.44-33.84,58.22-53.26,97.64-50.16l3.88-11.64-15.68,7.91-3.88-11.5c18.36-16.11,42.18-24.6,66.58-23.74,5.52,0,6.12-14.93,11.2-17.02,141.38-53,270.66,8.21,324.71,128.99,2.93,9.82,5.32,19.78,7.17,29.86,14.93,49.86-6.27,106.29,8.51,136.15-6.87,31.5-32.1,12.09-35.23,27.02-7.46,36.13-12.99,52.25-35.68,68.97-8.3,7.37-17.3,13.92-26.87,19.56,9.59-9.58,16.36-21.61,19.56-34.78-93.01,97.64-229.76,55.98-253.79-92.71-4.75-30.68,6.92-61.61,30.75-81.51,81.36-76.59,131.38-45.83,180.04-17.91l-7.76-26.87c-28.81-21.35-14.93-17.32-7.91-50.16v-3.88l-15.68-11.5c2.24,8.81.9,4.63,7.91,14.93-3.88,14.03,0,7.91-7.76,14.93-13.14,8.51-20.75,6.42-39.11,3.88l3.88-11.64-11.64-11.64c0,10.3-3.58,2.39,0,14.93-110.33,8.66-190.79,70.02-156.31,227.67,1.26,13.12,3.86,26.08,7.76,38.67l-7.76,7.61-3.88-23.14h-11.79l-3.88,11.64c-11.05-22.54-.75,9.41,35.23,46.28,3.51,3.9,7.25,7.59,11.2,11.05,41.8,29.86,99.13,71.21,176.16,43h7.91v-3.88l-89.57-11.64-3.88-7.61c93.46,21.65,154.81-7.46,207.07-42.4,11.5-14.93,10-21.05,19.41-7.91,16.87-14.93,3.43-23.44,11.79-38.52,5.67-10.3,28.51-14.93,39.11-30.9l35.08-119.43h-14.93c2.69-12.54,19.71-29.86-3.88-42.4-2.24-1.34,7.91-1.19,7.76-3.73-1.65-20.65-8.31-40.58-19.41-58.07,28.96,18.96,31.8,59.72,46.88,92.56v7.76h3.88v-41.5h-1.04ZM459.75,585.02l-8.36-23.14,54.64,50.16-46.28-27.02ZM191.03,249.27l-20.3-3.88v34.78c14.63-9.26,16.57-9.11,19.56-30.9h.75ZM694.14,403.64c-10.3,10.14-15.74,24.23-14.93,38.67l11.79,7.61c13.69-11.79,15.42-32.37,3.88-46.28h-.75ZM822.97,550.39c22.99-10.15,47.77-50.76,31.35-84.95l-31.35,84.8v.15ZM670.7,480.82c-13.73,10.3-17.32,11.64-19.56,34.78l11.64,7.76,15.68-7.76c7.2-12.96,8.61-28.35,3.88-42.4-7.32,11.79-2.24,18.06-11.64,7.61ZM612.03,550.39c13.88-9.55,10.45-12.99,15.68-19.41v-4.18c-18.16,1.95-36.48,1.95-54.64,0-11.5-12.24-11.64-25.68-27.32-34.64,14.93,30.75,2.84,33.44,27.32,54.04,11.48,2.79,23.27,4.09,35.08,3.88,1.34,0-5.97-.9,3.88,0v.3ZM244.92,519.48h-11.79l-7.76,7.61c8.36,8.96,4.78,6.27,11.64-3.88l11.79,19.41,3.88-14.93-7.76-7.61v-.6ZM259.85,569.65l3.88-7.76c-8.81-7.61,0-3.14-11.64,0l-11.64-14.93,3.88,14.93v7.76h15.53Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:deepin{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %23007cff;}%3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M665.21,90c-64.37-23.52-130.28-29.87-194.31-23.89-74.22,5.85-110.43,28.81-108.27,24.67-121.37,43.31-223.99,136.52-271.48,267.19-84.58,232.72,35.25,490.09,267.58,574.84,232.5,84.75,489.44-35.28,574.08-268,84.64-232.7-35.19-490.06-267.64-574.78l.03-.03ZM374.05,890.73c-24.91-9.17-48.83-20.81-71.43-34.75l1.74.98c108.27,8.31,249.61-16.6,344.92-105.81,0,0,181.65-145.14,50.2-383.36,0,0,21.19,96.01-5.82,174.96,0,0-25.76,107.4-140.25,138.57-168.64,45.95-360.77-72.04-441.12-129.27-6.05-58.77-.67-119.47,20.91-178.74,31.92-87.8,91.95-156.34,165.28-202.35-18.29,128.26-3.81,246.38,17.02,295.86,27.97,66.33,76.52,143.72,171.35,153.63,94.83,9.97,147.08-78.76,147.08-78.76,48.69-73.91,56.31-180.06,55.55-182.64-.76-2.6-12.96-9.6-12.96-9.6-32.73,132.49-86.71,176.73-86.71,176.73-85.12,82.18-145.4,25.2-145.4,25.2-64.82-69.63-19.4-182.75-19.4-182.75,25.4-77.05,99.31-189.8,183.11-247.14,13.97,3.44,28,5.6,41.8,10.61,51.35,19.09,95.45,46.45,132.97,80.89l-.28-.25c-61.26,22.37-160.18,69.63-160.18,69.63-156.82,66.08-167.43,165.98-167.43,165.98-16.24,102.95,65.49,59.36,65.49,59.36,84.08-40.96,125.41-168.58,125.41-168.58-26.23-5.01-46.93,3-46.93,3-33.57,82.87-102.03,116.92-102.03,116.92-26.96,14.25-33.23-10.95-33.23-10.95-4.56-18.9,19.49-22.09,19.49-22.09,37.32-14.53,61.18-53.73,66.61-69.74,5.38-16.04,15.37-17.33,15.37-17.33,28.31-9.27,61.49-16.32,95.73-19.79l2.04-.17c63.47-7.81,160.63,22.49,160.63,22.49,20.04,7.94,40.49,14.81,61.26,20.58,35.61,89.01,41.24,190.31,5.96,287.46-76.13,209.43-307.46,317.48-516.71,241.24h-.03Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:opencloudos{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %23060198;}.st1 {fill: %230368ec;}.st2 {fill: %2300c0ff;}%3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M213.3,661.37l149.34-149.34,149.34,149.34c-82.47,82.48-216.19,82.49-298.67.02,0,0-.01-.01-.02-.02ZM511.98,362.68c82.47-82.48,216.19-82.49,298.67-.02,0,0,.01.01.02.02l-149.34,149.34s-149.34-149.34-149.34-149.34Z'/%3E%3Cpath class='st2' d='M213.3,661.37c-82.48-82.47-82.49-216.19-.02-298.67,0,0,.01-.01.02-.02L511.98,64c82.48,82.47,82.49,216.19.02,298.67l-.02.02-298.68,298.68Z'/%3E%3Cpath class='st1' d='M661.32,810.66l-149.34,149.34c-82.48-82.47-82.49-216.19-.02-298.67,0,0,.01-.01.02-.02l149.34-149.34,149.34-149.34c82.48,82.39,82.55,216.05.16,298.53-.05.05-.1.11-.16.16,0,0-149.34,149.34-149.34,149.34Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:openeuler{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %23002fa7;}%3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M841.43,413.79c-28.88,24.54-68.56,32.01-104.39,19.64-35.36-10.66-47.14-35.92-27.5-56.12,26.78-20.62,61.69-27.48,94.28-18.52,36.48,8.98,53.32,33.11,35.92,56.12M675.31,369.45c-25.82,20.36-59.87,27.05-91.48,17.96-16.84-5.05-26.38-15.71-26.94-24.69s-11.22-12.91-23.01-16.28c-12.47-3.1-25.41-3.87-38.16-2.24l-15.71,3.37c-11.86,3.56-23.05,9.06-33.11,16.28-8.98,8.08-14.42,19.37-15.15,31.43,0,8.42,8.98,15.71,21.33,20.2,13.82,3.47,28.28,3.47,42.09,0,18.31-5.46,37.81-5.46,56.12,0,17.78,4.27,28.73,22.15,24.46,39.93-1.48,6.18-4.71,11.8-9.31,16.19-27.71,23.76-65.96,31.03-100.46,19.08-13.7-4.89-23.19-17.47-24.13-31.99,0-9.54-9.54-16.84-21.33-21.89-13.64-4.04-27.98-5.19-42.09-3.37l-17.4,3.37c-13.93,3.43-26.83,10.17-37.6,19.64-7.55,7.19-13.65,15.76-17.96,25.25-2.01,4.26-3.33,8.8-3.93,13.47.46,11.66,7.71,21.98,18.52,26.38,13.95,6.06,29.38,7.82,44.34,5.05,18.58-4.95,38.27-3.77,56.12,3.37,30.87,14.03,34.23,48.26,5.61,76.32-29.52,29.53-74.28,37.59-112.24,20.2-14.81-8.41-22.52-25.41-19.08-42.09.21-2.05.21-4.12,0-6.17-.48-2.76-1.43-5.42-2.81-7.86-3.23-6.59-8.56-11.92-15.15-15.15-13.49-6.26-28.57-8.22-43.21-5.61-18.43,6.24-38.57,5.03-56.12-3.37-21.89-13.47-15.71-41.53,13.47-62.86,14.49-11.01,31.44-18.33,49.39-21.33,16.79-1.22,33.1-6.21,47.7-14.59,10.54-6.72,17.84-17.47,20.2-29.74.49-3.35.49-6.75,0-10.1-1.21-8.9,1.45-17.88,7.3-24.69,8.01-7.11,17.99-11.61,28.62-12.91,8.04-.52,16.1-.52,24.13,0h16.84c9.87-2.72,19.05-7.5,26.94-14.03,7.44-4.56,12.86-11.78,15.15-20.2v-8.42c0-15.15,19.08-31.43,49.39-37.04,13.28-3.17,27.12-3.17,40.41,0,8.71,1.24,16.37,6.41,20.76,14.03.24,1.11.24,2.26,0,3.37,4.69,8.4,12.96,14.19,22.45,15.71,13.35,2.55,27.06,2.55,40.41,0,17.16-4.1,35.04-4.1,52.19,0,29.74,7.3,39.85,28.06,21.33,46.02M603.48,706.18c-32.46,36.72-85.93,46.25-129.08,23.01-28.74-15.92-39.13-52.12-23.21-80.86,3.27-5.89,7.51-11.19,12.55-15.66,31.39-29.78,77.43-38.16,117.29-21.33,29.73,8.76,46.73,39.96,37.97,69.69-2.83,9.62-8.19,18.3-15.52,25.15M895.31,268.43l-354.13-197.55c-17.58-9.18-38.54-9.18-56.12,0L127.01,267.87c-17.09,9.86-27.74,27.97-28.06,47.7v392.85c.32,19.73,10.97,37.84,28.06,47.7l356.93,196.99c17.58,9.18,38.54,9.18,56.12,0l356.93-196.99c17.09-9.86,27.74-27.97,28.06-47.7v-392.85c-.32-19.73-10.97-37.84-28.06-47.7'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:oracle{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %23fff;}.st1 {fill: %23e10025;}%3C/style%3E%3C/defs%3E%3Cpath class='st1' d='M64,512c0,247.42,200.58,448,448,448s448-200.58,448-448S759.42,64,512,64,64,264.58,64,512Z'/%3E%3Cpath class='st0' d='M427.2,344h169.59c92.34,0,167.2,75.22,167.2,168s-74.86,168-167.2,168h-169.59c-92.34,0-167.2-75.22-167.2-168s74.86-168,167.2-168ZM427.2,404.59c-59.04,0-106.9,48.09-106.9,107.41s47.86,107.41,106.9,107.41h169.59c59.04,0,106.9-48.09,106.9-107.41s-47.86-107.41-106.9-107.41h-169.59Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:rocky{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %2310b981;}%3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M935.07,659.74c16.15-46.26,24.93-95.98,24.93-147.74,0-247.43-200.58-448-448-448S64,264.57,64,512c0,122.42,49.11,233.38,128.7,314.25l454.43-454.44,112.19,112.2s175.75,175.74,175.75,175.74ZM853.24,802.29l-206.11-206.1-322.74,322.75c57.07,26.35,120.62,41.05,187.61,41.05,136.69,0,259.07-61.21,341.25-157.71h0Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:tencent{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %230052d9;}%3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M960,134.74H205.47L64,889.26h754.53s141.47-754.53,141.47-754.53ZM392.63,771.37l61.89-330.11h-131.16l-47.16-82.53h193.79l22.11-117.89,267.47,200.42h-198.95l-44.21,235.79h148.84l82.53,94.32s-355.16,0-355.16,0Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-system\:ubuntu{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' id='_图层_1' data-name='图层_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3C!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) --%3E%3Cdefs%3E%3Cstyle%3E.st0 {fill: %23e9000c;}.st1 {fill: %23fac400;}.st2 {fill: %23fb9200;}%3C/style%3E%3C/defs%3E%3Cpath class='st2' d='M168.77,415.97c51.69,0,93.83,42,93.83,93.53s-42.15,93.54-93.83,93.54c-51.69-.14-93.83-42.14-93.83-93.68s42.15-93.39,93.83-93.39ZM586.52,139.03c23.2,0,45.82,2.2,67.69,6.32-.42,4-.61,8.02-.59,12.04,0,71.8,58.74,130.39,130.69,130.39,28.35,0,54.47-8.96,75.92-24.38,49.78,56.83,82.08,129.22,88.54,208.66l-148.01,4.55c-12.33-106.9-103.81-190.3-214.24-190.3-31.12,0-60.94,6.61-87.66,18.65l-74.01-127.89c48.61-24.38,103.67-38.03,161.67-38.03Z'/%3E%3Cpath class='st1' d='M789.31,772.93c51.69,0,93.68,42,93.68,93.54s-42.14,93.53-93.68,93.53-93.83-41.99-93.83-93.53c.15-51.55,42.29-93.54,93.83-93.54ZM379.19,798.63c-63.14-44.05-111.9-107.49-137-181.49,34.51-23.5,57.27-63,57.27-107.78s-24.67-87.37-61.53-110.42c23.2-78.42,72.54-145.96,137.74-192.51l77.98,125.7c-50.37,39.36-82.82,100.73-82.82,169.3s31.87,128.77,81.49,168.13c0,0-73.12,129.07-73.12,129.07Z'/%3E%3Cpath class='st0' d='M949.06,526.98c-6.02,86.49-42.72,164.61-99.26,223.93-18.63-9.73-39.33-14.81-60.35-14.83-68.72,0-125.26,53.31-130.4,120.4-23.5,4.71-47.72,7.35-72.54,7.35-55.05.04-109.38-12.46-158.88-36.56l73.72-128.19c26.14,11.31,54.92,17.47,85.17,17.47,110.86,0,202.79-84.28,214.38-191.77,0,0,148.15,2.21,148.15,2.21ZM784.31,64c51.69,0,93.83,41.99,93.83,93.54s-42.14,93.53-93.83,93.53-93.83-42-93.83-93.53c.14-51.54,42.28-93.53,93.83-93.53h0Z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;display:inline-flex;width:1em;height:1em}.i-tdesign\:caret-left{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M15.5 2.586v18.828L6.086 12zM8.914 12l4.586 4.586V7.414z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-tdesign\:caret-right{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M8.5 21.414L17.914 12L8.5 2.586zm2-4.828V7.414L15.086 12z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-theme\:auto{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 1024 1024'%3E%3Cpath fill='currentColor' d='M868.2,129.4c39.9,0,72.2,32.3,72.2,72.2v498.3c0,39.9-32.3,72.2-72.2,72.2h-313.3c-6.1,0-11,4.9-11,11v39.3c0,6.1,4.9,11,11,11h160.6c6.1,0,11,5,11,11.1v39.2c0,6.1-4.9,11-11,11h-406.4c-6.1,0-11-4.9-11-11v-39.2c0-6.1,4.9-11,11-11h162.7c6.1,0,11-5,11-11.1v-39.3c0-6.1-4.9-11-11-11H155.8c-39.9,0-72.2-32.3-72.2-72.2V201.6c0-39.9,32.3-72.2,72.2-72.2h712.5ZM868.2,190.6H155.8c-6.1,0-11,4.9-11,11v498.3c0,6.1,4.9,11,11,11h712.5c6.1,0,11-4.9,11-11V201.6c0-6.1-4.9-11-11-11Z'/%3E%3Cg id='Layer_1'%3E%3Cpath fill='currentColor' d='M512,263.9c11.8,0,21.4,9.6,21.4,21.4v26.7c0,11.8-9.6,21.4-21.4,21.4-11.8,0-21.3-9.6-21.4-21.4v-26.7c0-11.8,9.6-21.4,21.4-21.4ZM512,568.1c11.8,0,21.4,9.6,21.4,21.4v26.7c0,11.8-9.6,21.4-21.4,21.4s-21.4-9.6-21.4-21.4h0v-26.7c0-11.8,9.6-21.4,21.4-21.4ZM698.8,450.7c0,11.8-9.6,21.4-21.4,21.4h-26.7c-11.8,0-21.4-9.6-21.4-21.4,0-11.8,9.6-21.4,21.4-21.4h26.7c11.8,0,21.4,9.6,21.4,21.4ZM394.6,450.7c0,11.8-9.6,21.4-21.4,21.4h-26.7c-11.8,0-21.4-9.6-21.4-21.4,0-11.8,9.6-21.3,21.4-21.4h26.7c11.8,0,21.4,9.6,21.4,21.4ZM644.1,318.6c8.3,8.3,8.3,21.9,0,30.2l-18.9,18.9c-8.2,8.5-21.7,8.7-30.2.5-8.5-8.2-8.7-21.7-.5-30.2.2-.2.4-.4.5-.5l18.9-18.9c8.3-8.3,21.9-8.3,30.2,0h0ZM428.9,533.8c8.3,8.3,8.3,21.9,0,30.2l-18.9,18.9c-8.2,8.5-21.7,8.7-30.2.5-8.5-8.2-8.7-21.7-.5-30.2.2-.2.4-.4.5-.5l18.9-18.9c8.3-8.3,21.9-8.3,30.2,0ZM644.1,582.8c-8.3,8.3-21.9,8.3-30.2,0l-18.9-18.9c-8.5-8.2-8.7-21.7-.5-30.2,8.2-8.5,21.7-8.7,30.2-.5.2.2.4.4.5.5l18.9,18.9c8.3,8.3,8.3,21.9,0,30.2ZM428.9,367.7c-8.3,8.3-21.9,8.3-30.2,0l-18.9-18.9c-8.5-8.2-8.7-21.7-.5-30.2,8.2-8.5,21.7-8.7,30.2-.5.2.2.4.4.5.5l18.9,18.9c8.3,8.3,8.3,21.9,0,30.2ZM512,530.8c-44.2,0-80.1-35.8-80.1-80.1s35.8-80.1,80.1-80.1,80.1,35.8,80.1,80.1-35.8,80.1-80.1,80.1Z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-theme\:dark{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.6009 2C15.724 2.94694 18 5.87417 18 9.33934C18 13.5702 14.607 17 10.4217 17C6.76389 17 3.71152 14.3805 3 10.8966C3.88275 11.2745 4.83184 11.4687 5.7905 11.4673C9.74343 11.4673 12.9478 8.22812 12.9478 4.23223C12.9478 3.49723 12.8396 2.7882 12.6379 2.12002L12.6009 2Z' stroke='currentColor' stroke-width='1.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-theme\:light{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M13 9.68439C13 11.254 11.6569 12.5265 10 12.5265C8.34315 12.5265 7 11.254 7 9.68439C7 8.11474 8.34315 6.84229 10 6.84229C11.6569 6.84229 13 8.11474 13 9.68439Z' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M18 10.4345C18.4142 10.4345 18.75 10.0988 18.75 9.68455C18.75 9.27033 18.4142 8.93455 18 8.93455V10.4345ZM16 8.93455C15.5858 8.93455 15.25 9.27033 15.25 9.68455C15.25 10.0988 15.5858 10.4345 16 10.4345V8.93455ZM4 10.4345C4.41421 10.4345 4.75 10.0988 4.75 9.68455C4.75 9.27033 4.41421 8.93455 4 8.93455V10.4345ZM2 8.93455C1.58579 8.93455 1.25 9.27033 1.25 9.68455C1.25 10.0988 1.58579 10.4345 2 10.4345V8.93455ZM10.7506 2.10547C10.7506 1.69126 10.4148 1.35547 10.0006 1.35547C9.58638 1.35547 9.2506 1.69126 9.2506 2.10547H10.7506ZM9.2506 4.00021C9.2506 4.41442 9.58638 4.75021 10.0006 4.75021C10.4148 4.75021 10.7506 4.41442 10.7506 4.00021H9.2506ZM10.7506 15.3686C10.7506 14.9544 10.4148 14.6186 10.0006 14.6186C9.58638 14.6186 9.2506 14.9544 9.2506 15.3686H10.7506ZM9.2506 17.2634C9.2506 17.6776 9.58638 18.0134 10.0006 18.0134C10.4148 18.0134 10.7506 17.6776 10.7506 17.2634H9.2506ZM16.1744 4.86959C16.4751 4.58471 16.4879 4.11001 16.2031 3.80931C15.9182 3.50862 15.4435 3.49579 15.1428 3.78066L16.1744 4.86959ZM13.7279 5.12105C13.4272 5.40592 13.4144 5.88062 13.6993 6.18132C13.9842 6.48202 14.4589 6.49485 14.7596 6.20998L13.7279 5.12105ZM6.27442 14.2478C6.57512 13.9629 6.58794 13.4882 6.30307 13.1875C6.0182 12.8868 5.5435 12.874 5.2428 13.1589L6.27442 14.2478ZM3.82794 14.4993C3.52724 14.7841 3.51441 15.2588 3.79929 15.5595C4.08416 15.8602 4.55886 15.8731 4.85956 15.5882L3.82794 14.4993ZM4.85956 3.78066C4.55886 3.49579 4.08416 3.50862 3.79929 3.80931C3.51441 4.11001 3.52724 4.58471 3.82794 4.86959L4.85956 3.78066ZM5.2428 6.20998C5.5435 6.49485 6.0182 6.48202 6.30307 6.18132C6.58794 5.88062 6.57512 5.40592 6.27442 5.12105L5.2428 6.20998ZM14.7596 13.1599C14.4589 12.875 13.9842 12.8878 13.6993 13.1885C13.4144 13.4892 13.4272 13.9639 13.7279 14.2488L14.7596 13.1599ZM15.1417 15.5881C15.4424 15.873 15.9171 15.8601 16.2019 15.5594C16.4868 15.2587 16.474 14.784 16.1733 14.4992L15.1417 15.5881ZM18 9.68455V8.93455H16V9.68455V10.4345H18V9.68455ZM4 9.68455V8.93455H2V9.68455V10.4345H4V9.68455ZM10.0006 2.10547H9.2506V4.00021H10.0006H10.7506V2.10547H10.0006ZM10.0006 15.3686H9.2506V17.2634H10.0006H10.7506V15.3686H10.0006ZM15.6586 4.32512L15.1428 3.78066L13.7279 5.12105L14.2437 5.66551L14.7596 6.20998L16.1744 4.86959L15.6586 4.32512ZM5.75861 13.7033L5.2428 13.1589L3.82794 14.4993L4.34375 15.0437L4.85956 15.5882L6.27442 14.2478L5.75861 13.7033ZM4.34375 4.32512L3.82794 4.86959L5.2428 6.20998L5.75861 5.66551L6.27442 5.12105L4.85956 3.78066L4.34375 4.32512ZM14.2437 13.7043L13.7279 14.2488L15.1417 15.5881L15.6575 15.0436L16.1733 14.4992L14.7596 13.1599L14.2437 13.7043Z' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-uiw\:question-circle-o{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 20 20' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M10 0c5.523 0 10 4.477 10 10s-4.477 10-10 10S0 15.523 0 10S4.477 0 10 0m0 1.395a8.605 8.605 0 1 0 0 17.21a8.605 8.605 0 0 0 0-17.21m0 12.241a.91.91 0 1 1 0 1.819a.91.91 0 0 1 0-1.819m2.68-8.306c.726.73.96 1.564.838 2.436c-.096.691-.52 1.435-1.084 1.926c-.7.606-.872.756-1.004.889l-.06.062l-.101.11a2.6 2.6 0 0 0-.538.915q-.111.308-.183.905a.682.682 0 0 1-1.354-.158c.058-.493.14-.893.255-1.21a3.9 3.9 0 0 1 .82-1.379c.17-.184.365-.37.614-.593c.115-.103.567-.494.678-.59c.313-.282.558-.718.607-1.066c.066-.471-.048-.876-.455-1.285c-.43-.432-1.106-.64-1.625-.572c-.758.098-1.065.21-1.588.668c-.382.336-.634.833-.75 1.519a.682.682 0 0 1-1.344-.227c.164-.98.561-1.76 1.194-2.316c.759-.667 1.31-.867 2.312-.997c.925-.12 2.027.218 2.768.963'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:attack-map{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='2' y1='12' x2='22' y2='12'%3E%3C/line%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:attacked-domain{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'%3E%3C/path%3E%3Cline x1='12' y1='9' x2='12' y2='13'%3E%3C/line%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'%3E%3C/line%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:interception-event{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3Cline x1='12' y1='18' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='9' y1='15' x2='15' y2='15'%3E%3C/line%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:interception-type{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:malicious{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 96 117' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' customFrame='%23000000'%3E%3Cpath id='矢量 8' d='M48 116C47.3625 116 46.783 115.824 46.2614 115.472C32.1788 106.847 21.979 99.6888 14.4451 90.477C5.75216 79.9158 1.52158 67.5944 1.05795 51.7525L1.05795 51.4592C1.05795 50.5791 1 49.7577 1 48.9362C1 48.1148 1 47.2347 1.05795 46.4133L1.05795 30.102C1.05795 28.2245 2.56473 26.6403 4.47719 26.6403C21.2256 26.6403 36.7571 17.4872 45.0444 2.7602C45.6239 1.70408 46.783 1 48 1C49.217 1 50.3761 1.64541 50.9556 2.7602C59.2429 17.4872 74.8323 26.6403 91.5808 26.6403C93.4353 26.6403 95 28.1658 95 30.102L95 51.7525C95 51.9872 95 52.2219 94.942 52.398C93.783 85.9592 75.4698 99.7474 49.7966 115.531C49.217 115.824 48.6375 116 48 116L48 116ZM7.89643 51.6352C8.3021 65.8342 12.0691 76.7475 19.7189 86.0765C26.3255 94.1735 35.5401 100.745 48.058 108.49C71.8187 93.8214 87.3502 81.4413 88.2195 51.5765C88.2195 51.4005 88.2195 51.2832 88.2774 51.1071L88.2774 33.3878C72.2244 32.3316 57.4464 24 48.1159 10.7985C38.6696 24 23.8915 32.3316 7.89643 33.3878L7.89643 46.5306C7.89643 47.352 7.83848 48.1735 7.83848 48.9362C7.83848 49.7577 7.83848 50.5204 7.89643 51.3418L7.89643 51.6352L7.89643 51.6352ZM49.275 88.5408C50.9556 88.8733 48.4636 88.4821 48.058 88.3061C46.3194 87.6021 45.4501 85.6071 46.0876 83.8469L53.7953 63.7219L39.7707 63.7219C38.6695 63.7219 37.6264 63.1939 36.9889 62.2551C36.3514 61.3163 36.1776 60.1429 36.5832 59.0867L44.8126 35.6173C45.4501 33.7985 47.3625 32.8597 49.1591 33.5051C50.9556 34.1505 51.8829 36.0867 51.2454 37.9056L44.5808 56.8571L58.7793 56.8571C59.8804 56.8571 60.9815 57.4439 61.561 58.3827C62.1985 59.3214 62.3144 60.4949 61.9088 61.551L52.4044 86.3699C51.9408 87.7194 50.6658 88.5408 49.275 88.5408L49.275 88.5408Z' fill='currentColor' fill-rule='nonzero'/%3E%3Cpath id='矢量 8' d='M45.7214 116.314C37.953 111.556 31.8091 107.447 27.2898 103.989C21.791 99.7807 17.2514 95.4878 13.6711 91.1101C10.7158 87.5198 8.25265 83.691 6.28146 79.6238C5.30765 77.6145 4.45391 75.547 3.72025 73.4213C1.51414 67.0293 0.293512 59.8161 0.0583818 51.7818L0.0579532 51.7672L0.0579532 51.4592C0.0579532 51.1723 0.0482447 50.7488 0.0288275 50.1887C0.00960916 49.6344 0 49.2169 0 48.9362C0 47.8024 0.0193177 46.9499 0.0579532 46.3788L0.0579532 30.102C0.0579532 29.4963 0.163393 28.9333 0.374273 28.413C0.587083 27.888 0.907274 27.4065 1.33484 26.9685C1.77524 26.5174 2.26313 26.1812 2.79851 25.9599C3.31404 25.7468 3.87359 25.6403 4.47719 25.6403C6.4059 25.6403 8.31889 25.5182 10.2162 25.2739C12.3133 25.0039 14.3913 24.5846 16.45 24.0161C18.1246 23.5537 19.7621 22.9994 21.3625 22.3532C23.4467 21.5117 25.468 20.5143 27.4263 19.3612C29.085 18.3845 30.6703 17.3127 32.1821 16.1457C33.8256 14.8772 35.3822 13.4963 36.8521 12.0029C38.1908 10.643 39.436 9.21141 40.5878 7.70825C41.905 5.98908 43.1001 4.17626 44.1729 2.26979C44.3167 2.00777 44.4836 1.76561 44.6738 1.54331C44.9792 1.1864 45.3443 0.880682 45.7693 0.626148C46.186 0.376603 46.6193 0.201649 47.0693 0.101284C47.372 0.0337613 47.6822 -1.19209e-07 48 -1.19209e-07C48.4263 0 48.8361 0.0569096 49.2294 0.170729C49.5727 0.270062 49.9034 0.412742 50.2216 0.598767C50.5919 0.815253 50.9166 1.07401 51.1957 1.37504C51.4451 1.64402 51.6581 1.94675 51.8347 2.28324C52.8557 4.09619 53.9882 5.82467 55.2325 7.46868C56.436 9.05891 57.7439 10.5701 59.1563 12.0023C60.5755 13.4414 62.0758 14.7763 63.6573 16.0069C65.2257 17.2274 66.8739 18.3453 68.6019 19.3607C70.5572 20.5097 72.5749 21.5041 74.655 22.3438C76.2654 22.9939 77.9133 23.5513 79.5986 24.016C81.7251 24.6024 83.8713 25.03 86.0373 25.2989C87.871 25.5265 89.7188 25.6403 91.5808 25.6403C92.1637 25.6403 92.7066 25.7407 93.2094 25.9415C93.7504 26.1575 94.245 26.4897 94.6932 26.9382C95.1229 27.3682 95.4466 27.8427 95.6644 28.3616C95.8881 28.8948 96 29.475 96 30.102L96 51.7525C96 52.0708 95.9793 52.3313 95.9379 52.5341C95.6467 60.7095 94.3171 68.0461 91.9489 74.544C91.3296 76.2435 90.6314 77.9053 89.8545 79.5294C87.8644 83.6893 85.3574 87.602 82.3335 91.2674C78.6497 95.7327 73.9123 100.152 68.1211 104.525C63.7812 107.802 57.8476 111.755 50.3203 116.382L50.2851 116.404L50.2482 116.423C49.488 116.808 48.7386 117 48 117C47.5552 117 47.1315 116.935 46.7288 116.805C46.3769 116.691 46.0411 116.527 45.7214 116.314ZM94.942 52.398C95 52.2219 95 51.9872 95 51.7525L95 30.102C95 28.1658 93.4353 26.6403 91.5808 26.6403C74.8323 26.6403 59.2429 17.4872 50.9556 2.7602C50.3761 1.64541 49.217 1 48 1C46.783 1 45.6239 1.70408 45.0444 2.7602C36.7571 17.4872 21.2256 26.6403 4.47719 26.6403C2.56473 26.6403 1.05795 28.2245 1.05795 30.102L1.05795 46.4133C1 47.2347 1 48.1148 1 48.9362C1 49.7577 1.05795 50.5791 1.05795 51.4592L1.05795 51.7525C1.52158 67.5944 5.75216 79.9158 14.4451 90.477C21.979 99.6888 32.1788 106.847 46.2614 115.472C46.783 115.824 47.3625 116 48 116C48.6375 116 49.217 115.824 49.7966 115.531C75.4698 99.7474 93.783 85.9592 94.942 52.398ZM7.93078 52.6352C8.48209 66.3485 12.2496 76.9677 19.7189 86.0765C26.3255 94.1735 35.5401 100.745 48.058 108.49C71.8187 93.8214 87.3502 81.4413 88.2195 51.5765C88.2195 51.4005 88.2195 51.2832 88.2774 51.1071L88.2774 33.3878C72.5737 32.3546 58.0901 24.3591 48.7327 11.6533C48.5246 11.3707 48.3189 11.0857 48.1159 10.7985C47.9112 11.0846 47.704 11.3684 47.4943 11.6499C38.0285 24.3577 23.5449 32.3545 7.89643 33.3878L7.89643 46.5306C7.89643 47.352 7.83848 48.1735 7.83848 48.9362C7.83848 49.5181 7.83848 50.0705 7.85908 50.6352C7.86756 50.8677 7.87953 51.1023 7.89643 51.3418L7.89643 51.6352C7.906 51.9704 7.91745 52.3037 7.93078 52.6352ZM8.89643 51.6212C9.09717 58.6048 10.144 64.8501 12.0368 70.357C12.6578 72.1636 13.3804 73.9212 14.2046 75.6297C15.8803 79.1033 17.9762 82.3742 20.4921 85.4425L20.4937 85.4443C23.55 89.19 27.4796 92.9164 32.2827 96.6236C36.2275 99.6683 41.4861 103.232 48.0586 107.314C54.5823 103.271 59.7716 99.7718 63.6264 96.8151C68.677 92.9413 72.7827 89.0381 75.9436 85.1054C78.2718 82.2085 80.2287 79.131 81.8141 75.8727C82.6335 74.1889 83.3537 72.4568 83.9747 70.6764C85.929 65.0733 87.0106 58.7012 87.2195 51.5603C87.2205 51.3453 87.2398 51.1517 87.2774 50.9793L87.2774 34.3163C83.7549 34.0256 80.3256 33.4065 76.9895 32.459C72.9157 31.302 68.9809 29.6554 65.1852 27.5191C61.6507 25.5298 58.4096 23.2133 55.4619 20.5696C52.7663 18.1519 50.316 15.4605 48.1112 12.4955C45.767 15.6129 43.1581 18.4275 40.2845 20.9392C37.4341 23.4305 34.3233 25.6239 30.952 27.5193C26.9785 29.7533 22.859 31.4518 18.5935 32.6148C15.4409 33.4744 12.2085 34.0415 8.89643 34.316L8.89643 46.5306C8.89643 46.8215 8.88629 47.2492 8.86601 47.8137C8.84766 48.3245 8.83848 48.6987 8.83848 48.9362C8.83848 49.9689 8.85697 50.7473 8.89396 51.2715L8.89643 51.3066L8.89643 51.6212ZM46.2949 88.3567C46.6843 88.723 47.1445 89.0141 47.6753 89.23C47.9398 89.3407 48.4755 89.4641 49.2824 89.6002C49.4099 89.6217 49.5155 89.6383 49.5991 89.6498C49.9298 89.6953 50.1999 89.6489 50.4094 89.5107C50.4772 89.466 50.5386 89.4116 50.5937 89.3477C50.6386 89.3339 50.6832 89.3193 50.7275 89.3039C51.0848 89.1805 51.4254 89.0087 51.7494 88.7886C52.1358 88.526 52.463 88.2185 52.7311 87.8659C52.9912 87.5238 53.1956 87.1392 53.3442 86.7122L62.8423 61.9096C62.9924 61.5187 63.0869 61.1224 63.1258 60.7208C63.1547 60.4224 63.1529 60.121 63.1204 59.8167C63.082 59.4569 63.0027 59.112 62.8825 58.782C62.7625 58.4528 62.6018 58.1384 62.4004 57.8388C62.2737 57.6359 62.1315 57.4469 61.9738 57.2718C61.6588 56.9221 61.2821 56.6279 60.8436 56.3894C60.4493 56.1749 60.0419 56.0252 59.6214 55.9404C59.3463 55.8849 59.0656 55.8571 58.7793 55.8571L45.9925 55.8571L52.1891 38.2364C52.4044 37.622 52.4906 37.0169 52.4476 36.4212C52.409 35.8852 52.2658 35.3567 52.0181 34.8358C51.7674 34.3087 51.4435 33.8601 51.0463 33.4901C50.6159 33.0891 50.0995 32.7804 49.4972 32.564C48.8899 32.3458 48.2919 32.2576 47.703 32.2992C47.1653 32.3373 46.6353 32.4836 46.113 32.7382C45.6169 32.9801 45.1913 33.2887 44.8363 33.664C44.414 34.1104 44.0915 34.6512 43.8689 35.2865L35.6441 58.7428C35.5283 59.0475 35.4484 59.3573 35.4043 59.6721C35.3506 60.0563 35.3504 60.448 35.4037 60.8472C35.4406 61.124 35.5017 61.3929 35.587 61.654C35.7199 62.0608 35.9114 62.4484 36.1616 62.8169C36.3754 63.1317 36.6209 63.41 36.8982 63.652C37.1531 63.8745 37.4349 64.0663 37.7435 64.2272C38.0368 64.3802 38.3395 64.4977 38.6516 64.5798C39.0121 64.6746 39.3852 64.722 39.7707 64.7219L52.3415 64.7219L45.1473 83.5064C44.9489 84.0542 44.8557 84.5997 44.8678 85.1429C44.8806 85.723 45.0135 86.3005 45.2664 86.8753C45.5237 87.4601 45.8665 87.9539 46.2949 88.3567ZM52.7245 63.7219L39.7707 63.7219C38.6695 63.7219 37.6264 63.1939 36.9889 62.2551C36.3514 61.3163 36.1776 60.1429 36.5832 59.0867L44.8126 35.6173C45.4501 33.7985 47.3625 32.8597 49.1591 33.5051C50.9556 34.1505 51.8829 36.0867 51.2454 37.9056L44.9324 55.8571L44.5808 56.8571L58.7793 56.8571C59.8804 56.8571 60.9815 57.4439 61.561 58.3827C62.1985 59.3214 62.3144 60.4949 61.9088 61.551L52.4044 86.3699C52.1134 87.2169 51.5028 87.8559 50.7445 88.2143C50.2947 88.4269 49.7929 88.5408 49.275 88.5408C50.2145 88.7267 49.85 88.6864 49.275 88.584C49.1424 88.5604 48.9987 88.5335 48.8572 88.5053C48.5144 88.437 48.1846 88.3611 48.058 88.3061C47.6145 88.1266 47.2276 87.863 46.9079 87.5408C45.9739 86.5997 45.6127 85.1582 46.0876 83.8469L53.4123 64.7219L53.7953 63.7219L52.7245 63.7219Z' fill='currentColor' fill-rule='evenodd'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:qps{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 12 18 12 15 21 9 3 6 12 2 12'%3E%3C/polyline%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:response{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:site-traffic{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1766214102461' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='3552'%3E%3Cpath d='M290.1 409.6H155.135A371.405 371.405 0 0 0 140.851 512c0 35.533 4.967 69.888 14.336 102.4H290.15c-5.632-32.768-8.499-66.918-8.499-102.4s2.867-69.632 8.5-102.4z m52.07 0A542.106 542.106 0 0 0 332.8 512c0 35.738 3.072 69.888 9.37 102.4H486.4V409.6H342.17z m75.008 461.363A491.878 491.878 0 0 1 301.568 665.6h-127.59a372.07 372.07 0 0 0 243.2 205.363z m69.222-3.584V665.6H354.97c24.064 77.107 67.84 144.23 131.43 201.83z m-69.222-714.291a372.07 372.07 0 0 0-243.2 205.312h127.59a491.878 491.878 0 0 1 115.558-205.363z m69.222 3.584c-63.59 57.446-107.315 124.57-131.43 201.728H486.4V156.57zM733.9 409.6c5.633 32.768 8.5 66.918 8.5 102.4s-2.867 69.632-8.5 102.4h135.015c9.319-32.512 14.285-66.867 14.285-102.4s-4.966-69.888-14.336-102.4H733.901z m-52.07 0H537.6v204.8h144.23c6.247-32.512 9.37-66.662 9.37-102.4s-3.072-69.888-9.37-102.4z m-75.008 461.363a372.07 372.07 0 0 0 243.2-205.363h-127.59a491.878 491.878 0 0 1-115.558 205.363zM537.6 867.38c63.59-57.55 107.315-124.673 131.43-201.78H537.6v201.83z m69.222-714.291A491.878 491.878 0 0 1 722.432 358.4h127.642a372.07 372.07 0 0 0-243.2-205.363z m-69.222 3.584V358.4h131.43c-24.064-77.107-67.84-144.23-131.43-201.83zM512 947.2a435.2 435.2 0 1 1 0-870.4 435.2 435.2 0 0 1 0 870.4z' fill='currentColor' p-id='3553'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:today{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' viewBox='0 0 101.2 101.2' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' customFrame='%23000000'%3E%3Cpath id='矢量 6' d='M50.6 0.599976C62.1042 0.599976 71.4333 10.225 71.4333 22.0958C71.4333 23.9301 71.2091 25.7311 70.7761 27.4658C70.2889 29.4175 70.9661 31.5435 72.5949 32.7239C74.979 34.4516 77.1552 36.4556 79.0768 38.6965C79.1296 38.758 79.0892 38.8531 79.0083 38.8583C83.9375 38.8583 88.1 34.6916 88.1 29.3875C88.1 27.3416 89.62 25.6 91.6659 25.6L92.6417 25.6C94.7357 25.6 96.4333 27.2976 96.4333 29.3916C96.4333 35.4035 93.2323 40.7463 88.3562 43.7833C86.2 45.1262 84.9812 47.8855 85.8501 50.2725C86.827 52.9565 87.5055 55.7844 87.8451 58.7138C87.86 58.8422 87.9708 58.9463 88.1 58.9416L88.1 58.9333L96.6027 58.9416C98.8108 58.9431 100.6 60.7309 100.6 62.939L100.6 63.2723C100.6 65.4825 98.8075 67.2764 96.5973 67.275L88.1 67.2666C87.9715 67.2596 87.8599 67.3543 87.8451 67.4822C87.5101 70.3714 86.8385 73.206 85.8476 75.9292C84.9792 78.3155 86.1983 81.0731 88.354 82.4153C93.2313 85.452 96.4333 90.7955 96.4333 96.8083C96.4333 98.9024 94.7357 100.6 92.6417 100.6L91.921 100.6C89.8221 100.6 88.1161 98.9071 88.1 96.8083C88.1 92.2739 85.0565 88.5748 81.0943 87.597C79.9211 87.3076 78.7601 87.8909 77.9338 88.7725C74.6543 92.2714 70.7283 95.1117 66.3663 97.1329C61.4258 99.4221 56.0451 100.605 50.6 100.6C45.1553 100.606 39.7749 99.4229 34.8344 97.1344C29.9533 94.8733 25.6177 91.5867 22.1228 87.4993C22.0709 87.4386 22.1119 87.3534 22.1917 87.35L22.1917 87.3416C17.2625 87.3416 13.1 91.5083 13.1 96.8125C13.1 98.9042 11.4043 100.6 9.31251 100.6L8.55834 100.6C6.46426 100.6 4.76667 98.9024 4.76667 96.8083C4.76667 90.7959 7.96824 85.4528 12.845 82.4159C15.0009 81.0734 16.2199 78.315 15.3514 75.9284C14.3605 73.2055 13.6892 70.3712 13.3549 67.4822C13.3401 67.3543 13.2285 67.2596 13.1 67.2666L4.60001 67.2666C2.39087 67.2666 0.600006 65.4758 0.600006 63.2666L0.600006 62.9333C0.600006 60.7242 2.39087 58.9333 4.60001 58.9333L13.1 58.9333C13.1046 58.9333 13.1 58.9287 13.1 58.9333L13.1 58.9416C13.2292 58.9463 13.34 58.8422 13.3549 58.7138C13.6902 55.826 14.3617 52.9928 15.3522 50.2709C16.2207 47.8845 15.0016 45.1268 12.8458 43.7845C7.96861 40.7478 4.76667 35.4044 4.76667 29.3916C4.76667 27.2976 6.46426 25.6 8.55834 25.6L9.30834 25.6C11.4024 25.6 13.1 27.2976 13.1 29.3916C13.1 33.9269 16.1447 37.6266 20.1081 38.6035C21.28 38.8923 22.4398 38.3103 23.2658 37.4303C24.8948 35.6945 26.684 34.1181 28.609 32.7218C30.2378 31.5403 30.9137 29.4132 30.4243 27.4614C29.9859 25.7126 29.7639 23.9119 29.7667 22.1C29.7667 10.2208 39.0958 0.599976 50.6 0.599976ZM41.9325 35.2442C38.1038 36.4364 34.5456 38.4104 31.4912 41.0593C27.2681 44.7219 24.1862 49.5206 22.6121 54.8845C21.0379 60.2484 21.0379 65.9516 22.612 71.3154C24.1862 76.6793 27.2681 81.478 31.4912 85.1406C34.5456 87.7895 38.1038 89.7635 41.9325 90.9557C44.2591 91.6802 46.4333 89.7921 46.4333 87.3553L46.4333 38.8446C46.4333 36.4078 44.2591 34.5197 41.9325 35.2442ZM54.7708 34.2291L54.7708 87.3465C54.7708 89.7849 56.9478 91.6734 59.2751 90.9457C63.0972 89.7507 66.6488 87.7763 69.6974 85.1292C73.9153 81.4667 76.9931 76.6702 78.565 71.3099C80.137 65.9495 80.137 60.2505 78.565 54.8901C76.9931 49.5297 73.9153 44.7333 69.6974 41.0708C65.4794 37.4083 60.2987 35.0337 54.7708 34.2291L54.7708 34.2291ZM50.6 9.19581C43.6958 9.19581 38.1 14.9708 38.1 22.0958C38.1 22.7076 38.141 23.3125 38.2218 23.9076C38.4979 25.9406 40.6743 26.8757 42.6796 26.4422C45.2788 25.8803 47.9339 25.5972 50.6 25.6C53.3214 25.6 55.9746 25.8904 58.5303 26.4405C60.5313 26.8712 62.7015 25.9392 62.9777 23.911C63.0588 23.315 63.1 22.7089 63.1 22.0958C63.1 14.9708 57.5042 9.19581 50.6 9.19581L50.6 9.19581Z' fill='currentColor' fill-rule='nonzero'/%3E%3Cpath id='矢量 6' d='M71.4333 22.0958C71.4333 23.9301 71.2091 25.7311 70.7761 27.4658C70.2889 29.4175 70.9661 31.5435 72.5949 32.7239C74.979 34.4516 77.1552 36.4556 79.0768 38.6965C79.1296 38.758 79.0892 38.8531 79.0083 38.8583C83.9375 38.8583 88.1 34.6916 88.1 29.3875C88.1 27.3416 89.62 25.6 91.6659 25.6L92.6417 25.6C94.7357 25.6 96.4333 27.2976 96.4333 29.3916C96.4333 35.4035 93.2323 40.7463 88.3562 43.7833C86.2 45.1262 84.9812 47.8855 85.8501 50.2725C86.827 52.9565 87.5055 55.7844 87.8451 58.7138C87.86 58.8422 87.9708 58.9463 88.1 58.9416L88.1 58.9333L96.6027 58.9416C98.8108 58.9431 100.6 60.7309 100.6 62.939L100.6 63.2723C100.6 65.4825 98.8075 67.2764 96.5973 67.275L88.1 67.2666C87.9715 67.2596 87.8599 67.3543 87.8451 67.4822C87.5101 70.3714 86.8385 73.206 85.8476 75.9292C84.9792 78.3155 86.1983 81.0731 88.354 82.4153C93.2313 85.452 96.4333 90.7955 96.4333 96.8083C96.4333 98.9024 94.7357 100.6 92.6417 100.6L91.921 100.6C89.8221 100.6 88.1161 98.9071 88.1 96.8083C88.1 92.2739 85.0565 88.5748 81.0943 87.597C79.9211 87.3076 78.7601 87.8909 77.9338 88.7725C74.6543 92.2714 70.7283 95.1117 66.3663 97.1329C61.4258 99.4221 56.0451 100.605 50.6 100.6C45.1553 100.606 39.7749 99.4229 34.8344 97.1344C29.9533 94.8733 25.6177 91.5867 22.1228 87.4993C22.0709 87.4386 22.1119 87.3534 22.1917 87.35L22.1917 87.3416C17.2625 87.3416 13.1 91.5083 13.1 96.8125C13.1 98.9042 11.4043 100.6 9.31251 100.6L8.55834 100.6C6.46426 100.6 4.76667 98.9024 4.76667 96.8083C4.76667 90.7959 7.96824 85.4528 12.845 82.4159C15.0009 81.0734 16.2199 78.315 15.3514 75.9284C14.3605 73.2055 13.6892 70.3712 13.3549 67.4822C13.3401 67.3543 13.2285 67.2596 13.1 67.2666L4.60001 67.2666C2.39087 67.2666 0.600006 65.4758 0.600006 63.2666L0.600006 62.9333C0.600006 60.7242 2.39087 58.9333 4.60001 58.9333L13.1 58.9333C13.1046 58.9333 13.1 58.9287 13.1 58.9333L13.1 58.9416C13.2292 58.9463 13.34 58.8422 13.3549 58.7138C13.6902 55.826 14.3617 52.9928 15.3522 50.2709C16.2207 47.8845 15.0016 45.1268 12.8458 43.7845C7.96861 40.7478 4.76667 35.4044 4.76667 29.3916C4.76667 27.2976 6.46426 25.6 8.55834 25.6L9.30834 25.6C11.4024 25.6 13.1 27.2976 13.1 29.3916C13.1 33.9269 16.1447 37.6266 20.1081 38.6035C21.28 38.8923 22.4398 38.3103 23.2658 37.4303C24.8948 35.6945 26.684 34.1181 28.609 32.7218C30.2378 31.5403 30.9137 29.4132 30.4243 27.4614C29.9859 25.7126 29.7639 23.9119 29.7667 22.1C29.7667 10.2208 39.0958 0.599976 50.6 0.599976C62.1042 0.599976 71.4333 10.225 71.4333 22.0958ZM31.4912 41.0593C27.2681 44.7219 24.1862 49.5206 22.6121 54.8845C21.0379 60.2484 21.0379 65.9516 22.612 71.3154C24.1862 76.6793 27.2681 81.478 31.4912 85.1406C34.5456 87.7895 38.1038 89.7635 41.9325 90.9557C44.2591 91.6802 46.4333 89.7921 46.4333 87.3553L46.4333 38.8446C46.4333 36.4078 44.2591 34.5197 41.9325 35.2442C38.1038 36.4364 34.5456 38.4104 31.4912 41.0593ZM54.7708 87.3465C54.7708 89.7849 56.9478 91.6734 59.2751 90.9457C63.0972 89.7507 66.6488 87.7763 69.6974 85.1292C73.9153 81.4667 76.9931 76.6702 78.565 71.3099C80.137 65.9495 80.137 60.2505 78.565 54.8901C76.9931 49.5297 73.9153 44.7333 69.6974 41.0708C65.4794 37.4083 60.2987 35.0337 54.7708 34.2291L54.7708 34.2291L54.7708 87.3465ZM38.1 22.0958C38.1 22.7076 38.141 23.3125 38.2218 23.9076C38.4979 25.9406 40.6743 26.8757 42.6796 26.4422C45.2788 25.8803 47.9339 25.5972 50.6 25.6C53.3214 25.6 55.9746 25.8904 58.5303 26.4405C60.5313 26.8712 62.7015 25.9392 62.9777 23.911C63.0588 23.315 63.1 22.7089 63.1 22.0958C63.1 14.9708 57.5042 9.19581 50.6 9.19581L50.6 9.19581C43.6958 9.19581 38.1 14.9708 38.1 22.0958Z' fill-rule='nonzero' stroke='currentColor' stroke-width='1.20000005'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:traffic-filter,[i-waf\:traffic-filter=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3'%3E%3C/polygon%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:traffic-ranking{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'%3E%3C/line%3E%3Cline x1='12' y1='20' x2='12' y2='4'%3E%3C/line%3E%3Cline x1='6' y1='20' x2='6' y2='14'%3E%3C/line%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-waf\:visit-page{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3Cline x1='16' y1='13' x2='8' y2='13'%3E%3C/line%3E%3Cline x1='16' y1='17' x2='8' y2='17'%3E%3C/line%3E%3Cpolyline points='10 9 9 9 8 9'%3E%3C/polyline%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.i-weui\:delete-outlined{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='m6.774 6.4l.812 13.648a.8.8 0 0 0 .798.752h7.232a.8.8 0 0 0 .798-.752L17.226 6.4zm11.655 0l-.817 13.719A2 2 0 0 1 15.616 22H8.384a2 2 0 0 1-1.996-1.881L5.571 6.4H3.5v-.7a.5.5 0 0 1 .5-.5h16a.5.5 0 0 1 .5.5v.7zM14 3a.5.5 0 0 1 .5.5v.7h-5v-.7A.5.5 0 0 1 10 3zM9.5 9h1.2l.5 9H10zm3.8 0h1.2l-.5 9h-1.2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-flex;width:1em;height:1em}.container,[container=""]{width:100%}[\!container=""]{width:100%!important}.empty-container:empty{width:100%}[before~=container]:before{width:100%}.flex-center{display:flex;align-items:center;justify-content:center}@media(min-width:640px){.container,[container=""]{max-width:640px}[\!container=""]{max-width:640px!important}.empty-container:empty{max-width:640px}[before~=container]:before{max-width:640px}}@media(min-width:768px){.container,[container=""]{max-width:768px}[\!container=""]{max-width:768px!important}.empty-container:empty{max-width:768px}[before~=container]:before{max-width:768px}}@media(min-width:1024px){.container,[container=""]{max-width:1024px}[\!container=""]{max-width:1024px!important}.empty-container:empty{max-width:1024px}[before~=container]:before{max-width:1024px}}@media(min-width:1280px){.container,[container=""]{max-width:1280px}[\!container=""]{max-width:1280px!important}.empty-container:empty{max-width:1280px}[before~=container]:before{max-width:1280px}}@media(min-width:1536px){.container,[container=""]{max-width:1536px}[\!container=""]{max-width:1536px!important}.empty-container:empty{max-width:1536px}[before~=container]:before{max-width:1536px}}.\[http\:\/\/\]{http://}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.static,[static=""]{position:static}.inset-0{top:0;right:0;bottom:0;left:0}.-left-\[160px\]{left:-160px}.-left-\[9px\]{left:-9px}.-left-4px{left:-4px}.-top-\[20px\]{top:-20px}.-top-1\.5px{top:-1.5px}.-top-90px{top:-90px}.bottom--1px{bottom:-1px}.bottom-\[10em\]{bottom:10em}.bottom-0{bottom:0}.bottom-12px{bottom:12px}.bottom-20px{bottom:20px}.bottom-5px{bottom:5px}.left-\[-21px\]{left:-21px}.left-\[0\.4rem\]{left:.4rem}.left-\[2\.6rem\]{left:2.6rem}.left-\[3px\]{left:3px}.left-\[50\%\]{left:50%}.left-0{left:0}.left-15px{left:15px}.left-24px{left:24px}.left-50px{left:50px}.right--2px{right:-2px}.right-\[2rem\]{right:2rem}.right-0,.right-0px{right:0}.right-10px{right:10px}.right-12px{right:12px}.right-15px{right:15px}.right-16px{right:16px}.right-1px{right:1px}.right-1rem,.right-4{right:1rem}.right-20px{right:20px}.right-24px{right:24px}.right-40px{right:40px}.right-8px{right:8px}.top--10px{top:-10px}.top-\[0\.4rem\]{top:.4rem}.top-\[1\.6rem\]{top:1.6rem}.top-\[18px\]{top:18px}.top-\[1rem\],.top-4{top:1rem}.top-\[20px\]{top:20px}.top-\[3px\]{top:3px}.top-\[5rem\]{top:5rem}.top-0{top:0}.top-1\/2{top:50%}.top-12px{top:12px}.top-15px{top:15px}.top-16px{top:16px}.top-24px{top:24px}.top-92px{top:92px}[line-clamp~="1"]{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1}[line-clamp~="2"]{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}[line-clamp~="999"]{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:999;line-clamp:999}[line-clamp~="9999"]{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:9999;line-clamp:9999}.isolate{isolation:isolate}.z-1,.z01{z-index:1}.z-2,.z02{z-index:2}.z-\[55\],.z-55{z-index:55}.z-\[99\],.z-99{z-index:99}.z-10{z-index:10}.z-100{z-index:100}.z-1000{z-index:1000}.z-20{z-index:20}.z-50{z-index:50}.z-996{z-index:996}.z-9999{z-index:9999}.grid{display:grid}[cols~="1"]{grid-template-columns:repeat(1,minmax(0,1fr))}[cols~="10"]{grid-template-columns:repeat(10,minmax(0,1fr))}[cols~="11"]{grid-template-columns:repeat(11,minmax(0,1fr))}[cols~="15"]{grid-template-columns:repeat(15,minmax(0,1fr))}[cols~="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}[cols~="24"]{grid-template-columns:repeat(24,minmax(0,1fr))}[cols~="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}[cols~="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}[cols~="6"]{grid-template-columns:repeat(6,minmax(0,1fr))}[rows~="1"]{grid-template-rows:repeat(1,minmax(0,1fr))}[rows~="10"]{grid-template-rows:repeat(10,minmax(0,1fr))}[rows~="12"]{grid-template-rows:repeat(12,minmax(0,1fr))}[rows~="14"]{grid-template-rows:repeat(14,minmax(0,1fr))}[rows~="15"]{grid-template-rows:repeat(15,minmax(0,1fr))}[rows~="16"]{grid-template-rows:repeat(16,minmax(0,1fr))}[rows~="2"]{grid-template-rows:repeat(2,minmax(0,1fr))}[rows~="3"]{grid-template-rows:repeat(3,minmax(0,1fr))}[rows~="4"]{grid-template-rows:repeat(4,minmax(0,1fr))}[rows~="5"]{grid-template-rows:repeat(5,minmax(0,1fr))}[rows~="6"]{grid-template-rows:repeat(6,minmax(0,1fr))}[rows~="8"]{grid-template-rows:repeat(8,minmax(0,1fr))}[rows~="80"]{grid-template-rows:repeat(80,minmax(0,1fr))}.float-right{float:right}.m-\[auto\],.m-auto{margin:auto}.m-0{margin:0}.m-15px{margin:15px}.m-16px{margin:16px}.m-20px{margin:20px}.m-2px{margin:2px}.mx-\[1\.2rem\]{margin-left:1.2rem;margin-right:1.2rem}.mx-\[4px\],.mx-4px{margin-left:4px;margin-right:4px}.mx-\[8px\],.mx-8px{margin-left:8px;margin-right:8px}.mx-0\!{margin-left:0!important;margin-right:0!important}.mx-0\.5em{margin-left:.5em;margin-right:.5em}.mx-10px{margin-left:10px;margin-right:10px}.mx-12px{margin-left:12px;margin-right:12px}.mx-16px{margin-left:16px;margin-right:16px}.mx-20px{margin-left:20px;margin-right:20px}.mx-2px{margin-left:2px;margin-right:2px}.mx-32px{margin-left:32px;margin-right:32px}.mx-4px\!{margin-left:4px!important;margin-right:4px!important}.mx-5px{margin-left:5px;margin-right:5px}.mx-6px{margin-left:6px;margin-right:6px}.mx-auto{margin-left:auto;margin-right:auto}.my-\[1\.2rem\]{margin-top:1.2rem;margin-bottom:1.2rem}.my-\[3rem\]{margin-top:3rem;margin-bottom:3rem}.my-10px{margin-top:10px;margin-bottom:10px}.my-10px\!{margin-top:10px!important;margin-bottom:10px!important}.my-12px{margin-top:12px;margin-bottom:12px}.my-15px,[my-15px=""]{margin-top:15px;margin-bottom:15px}.my-16px{margin-top:16px;margin-bottom:16px}.my-16px\!{margin-top:16px!important;margin-bottom:16px!important}.my-18px{margin-top:18px;margin-bottom:18px}.my-20px{margin-top:20px;margin-bottom:20px}.my-20px\!{margin-top:20px!important;margin-bottom:20px!important}.my-24px{margin-top:24px;margin-bottom:24px}.my-25px{margin-top:25px;margin-bottom:25px}.my-4{margin-top:1rem;margin-bottom:1rem}.my-8px{margin-top:8px;margin-bottom:8px}.my-8px\!{margin-top:8px!important;margin-bottom:8px!important}[mx-10px~="default:"]:default{margin-left:10px;margin-right:10px}[my-15px~="default:"]:default{margin-top:15px;margin-bottom:15px}.\!mt-\[12px\],.mt-12px\!{margin-top:12px!important}.mb-\[\.2rem\]{margin-bottom:.2rem}.mb-\[1\.6rem\]{margin-bottom:1.6rem}.mb-\[12px\],.mb-12px{margin-bottom:12px}.mb-\[20px\],.mb-20px{margin-bottom:20px}.mb-\[24px\],.mb-24px{margin-bottom:24px}.mb-\[2rem\],.mb-8{margin-bottom:2rem}.mb-1{margin-bottom:.25rem}.mb-10px{margin-bottom:10px}.mb-14px{margin-bottom:14px}.mb-15px{margin-bottom:15px}.mb-15px\!{margin-bottom:15px!important}.mb-16px{margin-bottom:16px}.mb-16px\!{margin-bottom:16px!important}.mb-1rem{margin-bottom:1rem}.mb-2{margin-bottom:.5rem}.mb-20px\!{margin-bottom:20px!important}.mb-30px{margin-bottom:30px}.mb-32px{margin-bottom:32px}.mb-38px{margin-bottom:38px}.mb-40px{margin-bottom:40px}.mb-4px{margin-bottom:4px}.mb-6px{margin-bottom:6px}.mb-7px{margin-bottom:7px}.mb-8px{margin-bottom:8px}.me{margin-inline-end:1rem}.ml-\[1\.2rem\]{margin-left:1.2rem}.ml-\[130px\]{margin-left:130px}.ml-\[16px\],.ml-16px{margin-left:16px}.ml-\[1rem\]{margin-left:1rem}.ml-\[20px\],.ml-20px{margin-left:20px}.ml-\[3rem\]{margin-left:3rem}.ml-\[8px\],.ml-8px{margin-left:8px}.ml-0\.5em{margin-left:.5em}.ml-108px{margin-left:108px}.ml-10px,[ml-10px=""]{margin-left:10px}.ml-10px\!{margin-left:10px!important}.ml-126px{margin-left:126px}.ml-12px{margin-left:12px}.ml-14px{margin-left:14px}.ml-15px{margin-left:15px}.ml-24px{margin-left:24px}.ml-2px{margin-left:2px}.ml-32px{margin-left:32px}.ml-3px{margin-left:3px}.ml-40px{margin-left:40px}.ml-4px{margin-left:4px}.ml-5{margin-left:1.25rem}.ml-5px{margin-left:5px}.ml-5px\!{margin-left:5px!important}.ml-6{margin-left:1.5rem}.ml-60px{margin-left:60px}.ml-6px{margin-left:6px}.ml-70px{margin-left:70px}.ml-7px{margin-left:7px}.ml-90px{margin-left:90px}.ml-auto{margin-left:auto}.mr-\[\.8rem\]{margin-right:.8rem}.mr-\[1\.6rem\]{margin-right:1.6rem}.mr-\[1rem\]{margin-right:1rem}.mr-\[2rem\]{margin-right:2rem}.mr-\[4rem\]{margin-right:4rem}.mr-0\.25em{margin-right:.25em}.mr-1{margin-right:.25rem}.mr-10px{margin-right:10px}.mr-10px\!{margin-right:10px!important}.mr-12px{margin-right:12px}.mr-15px{margin-right:15px}.mr-16px{margin-right:16px}.mr-20px{margin-right:20px}.mr-22px{margin-right:22px}.mr-24px{margin-right:24px}.mr-2px{margin-right:2px}.mr-30px{margin-right:30px}.mr-32px{margin-right:32px}.mr-3px{margin-right:3px}.mr-40px{margin-right:40px}.mr-48px{margin-right:48px}.mr-4px{margin-right:4px}.mr-5{margin-right:1.25rem}.mr-5px{margin-right:5px}.mr-6px{margin-right:6px}.mr-80px{margin-right:80px}.mr-8px{margin-right:8px}.ms,[ms=""]{margin-inline-start:1rem}.mt,.mt-\[1rem\],.mt-4{margin-top:1rem}.mt--10px{margin-top:-10px}.mt--2px{margin-top:-2px}.mt-\[0rem\]{margin-top:0rem}.mt-\[1\.2rem\]{margin-top:1.2rem}.mt-\[1\.6rem\]{margin-top:1.6rem}.mt-\[10\.5rem\]{margin-top:10.5rem}.mt-\[12px\],.mt-12px{margin-top:12px}.mt-\[16px\],.mt-16px{margin-top:16px}.mt-\[40px\],.mt-40px{margin-top:40px}.mt-\[4px\],.mt-4px{margin-top:4px}.mt-10px{margin-top:10px}.mt-14px{margin-top:14px}.mt-15px{margin-top:15px}.mt-16px\!{margin-top:16px!important}.mt-20px{margin-top:20px}.mt-24px{margin-top:24px}.mt-2px{margin-top:2px}.mt-30px{margin-top:30px}.mt-32px{margin-top:32px}.mt-36px{margin-top:36px}.mt-49px{margin-top:49px}.mt-50px{margin-top:50px}.mt-5px{margin-top:5px}.mt-6px{margin-top:6px}.mt-8px{margin-top:8px}.last\:mb-0:last-child{margin-bottom:0}.inline,[inline=""]{display:inline}.block,[block=""]{display:block}.inline-block{display:inline-block}.contents,[contents=""]{display:contents}.list-item{display:list-item}.hidden{display:none}[hidden~="default:"]:default{display:none}[size~="0"]{width:0;height:0}[size~="10"]{width:2.5rem;height:2.5rem}[size~="100"]{width:25rem;height:25rem}[size~="12"]{width:3rem;height:3rem}[size~="120"]{width:30rem;height:30rem}[size~="13"]{width:3.25rem;height:3.25rem}[size~="14"]{width:3.5rem;height:3.5rem}[size~="15"]{width:3.75rem;height:3.75rem}[size~="150"]{width:37.5rem;height:37.5rem}[size~="16"]{width:4rem;height:4rem}[size~="17"]{width:4.25rem;height:4.25rem}[size~="18"]{width:4.5rem;height:4.5rem}[size~="2"]{width:.5rem;height:.5rem}[size~="20"]{width:5rem;height:5rem}[size~="21"]{width:5.25rem;height:5.25rem}[size~="22"]{width:5.5rem;height:5.5rem}[size~="24"]{width:6rem;height:6rem}[size~="25"]{width:6.25rem;height:6.25rem}[size~="26"]{width:6.5rem;height:6.5rem}[size~="3"]{width:.75rem;height:.75rem}[size~="30"]{width:7.5rem;height:7.5rem}[size~="32"]{width:8rem;height:8rem}[size~="34"]{width:8.5rem;height:8.5rem}[size~="36"]{width:9rem;height:9rem}[size~="4"]{width:1rem;height:1rem}[size~="40"]{width:10rem;height:10rem}[size~="46"]{width:11.5rem;height:11.5rem}[size~="48"]{width:12rem;height:12rem}[size~="5"]{width:1.25rem;height:1.25rem}[size~="50"]{width:12.5rem;height:12.5rem}[size~="6"]{width:1.5rem;height:1.5rem}[size~="60"]{width:15rem;height:15rem}[size~="8"]{width:2rem;height:2rem}[size~="80"]{width:20rem;height:20rem}.\!w-\[12rem\]{width:12rem!important}.h-\[100px\],.h-100px{height:100px}.h-\[10rem\]{height:10rem}.h-\[12px\]{height:12px}.h-\[1rem\]{height:1rem}.h-\[2\.2rem\]{height:2.2rem}.h-\[20px\],.h-20px{height:20px}.h-\[22rem\]{height:22rem}.h-\[3\.2rem\]{height:3.2rem}.h-\[30\.1rem\]{height:30.1rem}.h-\[32rem\]{height:32rem}.h-\[34rem\]{height:34rem}.h-\[36px\],.h-36px{height:36px}.h-\[38rem\]{height:38rem}.h-\[3rem\]{height:3rem}.h-\[4\.4rem\]{height:4.4rem}.h-\[4rem\],.h-16{height:4rem}.h-\[5\.4rem\]{height:5.4rem}.h-\[50px\],.h-50px,[h-50px=""]{height:50px}.h-\[50rem\]{height:50rem}.h-\[5px\]{height:5px}.h-\[67px\]{height:67px}.h-\[6px\],.h-6px{height:6px}.h-\[92px\]{height:92px}.h-\[96px\]{height:96px}.h-10{height:2.5rem}.h-100\%,.h-full{height:100%}.h-103px{height:103px}.h-10px{height:10px}.h-110px{height:110px}.h-114px{height:114px}.h-116px{height:116px}.h-120px{height:120px}.h-124px{height:124px}.h-130px,[h-130px=""]{height:130px}.h-140px{height:140px}.h-150px{height:150px}.h-15px{height:15px}.h-160px{height:160px}.h-176px{height:176px}.h-180px{height:180px}.h-18px{height:18px}.h-190px{height:190px}.h-200px{height:200px}.h-200px\!{height:200px!important}.h-22px{height:22px}.h-24px,[h-24px=""]{height:24px}.h-250px{height:250px}.h-25px{height:25px}.h-260px{height:260px}.h-268px{height:268px}.h-280px{height:280px}.h-28px{height:28px}.h-2px{height:2px}.h-300px{height:300px}.h-30px{height:30px}.h-320px{height:320px}.h-32px{height:32px}.h-34px{height:34px}.h-350px{height:350px}.h-35px{height:35px}.h-360px{height:360px}.h-388px{height:388px}.h-38px{height:38px}.h-392px{height:392px}.h-400px{height:400px}.h-400px\!{height:400px!important}.h-40px{height:40px}.h-420px{height:420px}.h-428px{height:428px}.h-42px{height:42px}.h-440px{height:440px}.h-44px{height:44px}.h-456px{height:456px}.h-460px{height:460px}.h-468px{height:468px}.h-475px{height:475px}.h-480px{height:480px}.h-48px{height:48px}.h-498px{height:498px}.h-500px{height:500px}.h-520px{height:520px}.h-52px{height:52px}.h-530px{height:530px}.h-540px{height:540px}.h-55\%{height:55%}.h-550px{height:550px}.h-560px{height:560px}.h-56px{height:56px}.h-580px{height:580px}.h-600px{height:600px}.h-600px\!{height:600px!important}.h-60px,[h-60px=""]{height:60px}.h-610px{height:610px}.h-620px{height:620px}.h-700px{height:700px}.h-70px{height:70px}.h-720px{height:720px}.h-72px{height:72px}.h-750px{height:750px}.h-8{height:2rem}.h-80px{height:80px}.h-8px,[h-8px=""]{height:8px}.h-95px{height:95px}.h-auto\!{height:auto!important}.h1{height:.25rem}.h2,[h2=""]{height:.5rem}.h3{height:.75rem}.max-h-\[14rem\]{max-height:14rem}.max-h-200px{max-height:200px}.max-h-22px{max-height:22px}.max-h-300px{max-height:300px}.max-h-460px{max-height:460px}.max-h-540px{max-height:540px}.max-h-600px{max-height:600px}.max-h-640px{max-height:640px}.max-w-\[1200px\]{max-width:1200px}.max-w-\[36rem\]{max-width:36rem}.max-w-\[90rem\]{max-width:90rem}.max-w-100\%,.max-w-full{max-width:100%}.max-w-1000px{max-width:1000px}.max-w-150px\!{max-width:150px!important}.max-w-160px{max-width:160px}.max-w-190px\!{max-width:190px!important}.max-w-1920px{max-width:1920px}.max-w-250px{max-width:250px}.max-w-260px{max-width:260px}.max-w-290px{max-width:290px}.max-w-300px{max-width:300px}.max-w-350px{max-width:350px}.max-w-360px{max-width:360px}.max-w-360px\!{max-width:360px!important}.max-w-480px\!{max-width:480px!important}.max-w-500px{max-width:500px}.max-w-80px{max-width:80px}.min-h-100px{min-height:100px}.min-h-172px{min-height:172px}.min-h-18px{min-height:18px}.min-h-244px{min-height:244px}.min-h-24px{min-height:24px}.min-h-26px{min-height:26px}.min-h-28px{min-height:28px}.min-h-300px{min-height:300px}.min-h-30px{min-height:30px}.min-h-34px{min-height:34px}.min-h-48px{min-height:48px}.min-h-50px{min-height:50px}.min-h-520px{min-height:520px}.min-h-52px{min-height:52px}.min-h-60px{min-height:60px}.min-h-654px{min-height:654px}.min-w-\[260px\],.min-w-260px{min-width:260px}.min-w-0{min-width:0}.min-w-120px{min-width:120px}.min-w-134px{min-width:134px}.min-w-140px{min-width:140px}.min-w-160px{min-width:160px}.min-w-18px{min-width:18px}.min-w-240px{min-width:240px}.min-w-250px{min-width:250px}.min-w-32px{min-width:32px}.min-w-450px{min-width:450px}.min-w-500px{min-width:500px}.min-w-52px{min-width:52px}.min-w-68px{min-width:68px}.min-w-70px{min-width:70px}.min-w-80px{min-width:80px}.min-w-auto\!{min-width:auto!important}.w-\[0\.7rem\]{width:.7rem}.w-\[100px\],.w-100px{width:100px}.w-\[10px\],.w-10px{width:10px}.w-\[10rem\]{width:10rem}.w-\[12px\],.w-12px{width:12px}.w-\[145px\]{width:145px}.w-\[150px\],.w-150px{width:150px}.w-\[17rem\]{width:17rem}.w-\[25rem\]{width:25rem}.w-\[26rem\]{width:26rem}.w-\[30rem\]\!{width:30rem!important}.w-\[33\%\],.w-33\%{width:33%}.w-\[34\.0rem\]{width:34rem}.w-\[350px\],.w-350px,[w-350px=""]{width:350px}.w-\[36px\],.w-36px{width:36px}.w-\[36rem\]{width:36rem}.w-\[40\%\],.w-40\%{width:40%}.w-\[48rem\]{width:48rem}.w-\[5\.8rem\]{width:5.8rem}.w-\[50px\],.w-50px{width:50px}.w-\[50rem\]{width:50rem}.w-\[50rem\]\!{width:50rem!important}.w-\[58px\]{width:58px}.w-\[60\%\]{width:60%}.w-\[6px\]{width:6px}.w-\[78px\]{width:78px}.w-\[92px\],.w-92px{width:92px}.w-\[96px\]{width:96px}.w-\[9rem\]{width:9rem}.w-0{width:0}.w-100\%,.w-full{width:100%}.w-100px\!{width:100px!important}.w-1020px{width:1020px}.w-105px\!,[w-105px\!=""]{width:105px!important}.w-110px{width:110px}.w-110px\!{width:110px!important}.w-114px{width:114px}.w-120px{width:120px}.w-120px\!{width:120px!important}.w-130px{width:130px}.w-130px\!{width:130px!important}.w-140px{width:140px}.w-140px\!{width:140px!important}.w-142px{width:142px}.w-145px\!{width:145px!important}.w-150px\!{width:150px!important}.w-160px{width:160px}.w-16px{width:16px}.w-170{width:42.5rem}.w-170px{width:170px}.w-174px{width:174px}.w-180px{width:180px}.w-180px\!{width:180px!important}.w-186px{width:186px}.w-190px\!{width:190px!important}.w-194px{width:194px}.w-200px{width:200px}.w-200px\!{width:200px!important}.w-208px\!,[w-208px\!=""]{width:208px!important}.w-20px{width:20px}.w-20rem{width:20rem}.w-210px{width:210px}.w-214px{width:214px}.w-215px\!{width:215px!important}.w-218px\!{width:218px!important}.w-220px{width:220px}.w-220px\!{width:220px!important}.w-225px{width:225px}.w-22px{width:22px}.w-230px{width:230px}.w-240px{width:240px}.w-240px\!{width:240px!important}.w-24px,[w-24px=""]{width:24px}.w-250px{width:250px}.w-250px\!{width:250px!important}.w-25px{width:25px}.w-260px{width:260px}.w-280px{width:280px}.w-280px\!{width:280px!important}.w-290px{width:290px}.w-290px\!{width:290px!important}.w-300px{width:300px}.w-300px\!{width:300px!important}.w-302px{width:302px}.w-310px{width:310px}.w-32\%{width:32%}.w-320px{width:320px}.w-320px\!{width:320px!important}.w-328px{width:328px}.w-32px{width:32px}.w-330px{width:330px}.w-330px\!{width:330px!important}.w-332px{width:332px}.w-34px{width:34px}.w-350px\!{width:350px!important}.w-360px{width:360px}.w-360px\!{width:360px!important}.w-380px{width:380px}.w-380px\!{width:380px!important}.w-38px{width:38px}.w-400px{width:400px}.w-400px\!{width:400px!important}.w-40px{width:40px}.w-410px{width:410px}.w-410px\!{width:410px!important}.w-415px{width:415px}.w-42\%{width:42%}.w-420px{width:420px}.w-420px\!{width:420px!important}.w-42px{width:42px}.w-430px{width:430px}.w-440px{width:440px}.w-44px{width:44px}.w-45\%{width:45%}.w-450px{width:450px}.w-450px\!{width:450px!important}.w-460px{width:460px}.w-466px{width:466px}.w-470px{width:470px}.w-475px{width:475px}.w-476px{width:476px}.w-48\%{width:48%}.w-480px{width:480px}.w-48px{width:48px}.w-5{width:1.25rem}.w-50\%{width:50%}.w-500px{width:500px}.w-500px\!{width:500px!important}.w-50px\!{width:50px!important}.w-510px{width:510px}.w-530px,[w-530px=""]{width:530px}.w-540px{width:540px}.w-550px{width:550px}.w-550px\!{width:550px!important}.w-560px{width:560px}.w-56px{width:56px}.w-570px{width:570px}.w-580px\!{width:580px!important}.w-600px{width:600px}.w-600px\!{width:600px!important}.w-60px{width:60px}.w-620px{width:620px}.w-640px{width:640px}.w-650px{width:650px}.w-660px{width:660px}.w-680px{width:680px}.w-70\%{width:70%}.w-700px{width:700px}.w-70px{width:70px}.w-720px{width:720px}.w-740px{width:740px}.w-76\%{width:76%}.w-760px{width:760px}.w-8{width:2rem}.w-80\%{width:80%}.w-80px{width:80px}.w-80px\!{width:80px!important}.w-820px{width:820px}.w-850px\!{width:850px!important}.w-860px{width:860px}.w-86px{width:86px}.w-88px,[w-88px=""]{width:88px}.w-8px,[w-8px=""]{width:8px}.w-90\%{width:90%}.w-900px{width:900px}.w-90px{width:90px}.w-920px{width:920px}.w-950px{width:950px}.w-96\%{width:96%}.w-98px\!{width:98px!important}.w-auto{width:auto}.w-full\!{width:100%!important}[max-w-150px\!~="default:"]:default{max-width:150px!important}[w-310px~="default:"]:default{width:310px}[w-570px~="default:"]:default{width:570px}[w-full~="default:"]:default{width:100%}.flex,[flex=""]{display:flex}.inline-flex{display:inline-flex}.flex-1{flex:1 1 0%}[flex-1~="placeholder:"]::placeholder{flex:1 1 0%}.flex-shrink{flex-shrink:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-shrink-0\!{flex-shrink:0!important}.flex-basis-30px{flex-basis:30px}.flex-col,[flex-col=""]{flex-direction:column}.flex-col\!{flex-direction:column!important}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.flex-nowrap\!{flex-wrap:nowrap!important}.table,[table=""]{display:table}.file-table::file-selector-button{display:table}.border-collapse{border-collapse:collapse}.table-fixed{table-layout:fixed}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.\!animate-none{animation:none!important}.cursor-default{cursor:default}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.cursor-pointer\!{cursor:pointer!important}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-grab{cursor:grab}.select-none{-webkit-user-select:none;user-select:none}.resize,[resize=""]{resize:both}.list-disc{list-style-type:disc}.list-outside{list-style-position:outside}.list-none\!{list-style-type:none!important}[columns~="1"]{columns:1}.\!items-start{align-items:flex-start!important}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-end\!{align-items:flex-end!important}.items-center,[items-center=""]{align-items:center}.items-center\!{align-items:center!important}.items-baseline{align-items:baseline}.self-start{align-self:flex-start}.justify-start{justify-content:flex-start}.justify-end,[justify~=end]{justify-content:flex-end}.justify-end\!{justify-content:flex-end!important}.justify-center,[justify~=center]{justify-content:center}.justify-center\!{justify-content:center!important}.justify-between{justify-content:space-between}.justify-between\!,[justify-between\!=""]{justify-content:space-between!important}.justify-around\!{justify-content:space-around!important}.justify-evenly{justify-content:space-evenly}.justify-evenly\!{justify-content:space-evenly!important}.gap-\[14px\]{gap:14px}.gap-\[6px\],.gap-6px{gap:6px}.gap-0\!{gap:0!important}.gap-10px{gap:10px}.gap-12px{gap:12px}.gap-12px\!{gap:12px!important}.gap-16px{gap:16px}.gap-16px\!{gap:16px!important}.gap-2\.5{gap:.625rem}.gap-20px{gap:20px}.gap-24px{gap:24px}.gap-2px{gap:2px}.gap-32px{gap:32px}.gap-3px{gap:3px}.gap-4{gap:1rem}.gap-4px{gap:4px}.gap-5{gap:1.25rem}.gap-5px{gap:5px}.gap-6{gap:1.5rem}.gap-60px{gap:60px}.gap-8px{gap:8px}.gap-x-24px{column-gap:24px}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-y-hidden{overflow-y:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.break-all{word-break:break-all}.break-all\!{word-break:break-all!important}.b,.border,.border-1,.border-1px,[b=""],[border-1px=""]{border-width:1px}.border-\[0\.1rem\]{border-width:.1rem}.border-2px{border-width:2px}.b-b,.border-b-\[1px\],.border-b-1,.border-b-1px,[b-b~="1"]{border-bottom-width:1px}.b-l,[b-l~="1"]{border-left-width:1px}.border-l-\[3px\]{border-left-width:3px}.border-\[\#777\]{--un-border-opacity:1;border-color:rgb(119 119 119 / var(--un-border-opacity))}.border-\[\#e8e8e8\]{--un-border-opacity:1;border-color:rgb(232 232 232 / var(--un-border-opacity))}.border-\[\#EBEEF5\],.border-\#EBEEF5{--un-border-opacity:1;border-color:rgb(235 238 245 / var(--un-border-opacity))}.border-\[var\(--color-border\)\]{border-color:var(--color-border)}.border-\[var\(--site-global-ip-white-ips-border\)\]{border-color:var(--site-global-ip-white-ips-border)}.border-\#20a53a{--un-border-opacity:1;border-color:rgb(32 165 58 / var(--un-border-opacity))}.border-\#b8e29f{--un-border-opacity:1;border-color:rgb(184 226 159 / var(--un-border-opacity))}.border-\#ccc{--un-border-opacity:1;border-color:rgb(204 204 204 / var(--un-border-opacity))}.border-\#e3e4e5{--un-border-opacity:1;border-color:rgb(227 228 229 / var(--un-border-opacity))}.border-\#ececec{--un-border-opacity:1;border-color:rgb(236 236 236 / var(--un-border-opacity))}.border-\#f3adaa{--un-border-opacity:1;border-color:rgb(243 173 170 / var(--un-border-opacity))}.border-\#f4cf8f{--un-border-opacity:1;border-color:rgb(244 207 143 / var(--un-border-opacity))}.border-primary{border-color:var(--color-primary)}.border-white{--un-border-opacity:1;border-color:rgb(255 255 255 / var(--un-border-opacity))}.border-b-\#EBEEF5{--un-border-opacity:1;--un-border-bottom-opacity:var(--un-border-opacity);border-bottom-color:rgb(235 238 245 / var(--un-border-bottom-opacity))}.border-l-primary{border-left-color:var(--color-primary)}[b-b~="#aaa"]{--un-border-opacity:1;--un-border-bottom-opacity:var(--un-border-opacity);border-bottom-color:rgb(170 170 170 / var(--un-border-bottom-opacity))}[b-l~="#aaa"]{--un-border-opacity:1;--un-border-left-opacity:var(--un-border-opacity);border-left-color:rgb(170 170 170 / var(--un-border-left-opacity))}.rounded{border-radius:.25rem}.rounded-\[0\.2rem\]{border-radius:.2rem}.rounded-\[0\.4rem\]{border-radius:.4rem}.rounded-\[100\%\]{border-radius:100%}.rounded-\[2px\],.rounded-2px{border-radius:2px}.rounded-\[6px\]{border-radius:6px}.rounded-\[8px\],.rounded-8px{border-radius:8px}.rounded-1\/2,.rounded-50\%{border-radius:50%}.rounded-10px{border-radius:10px}.rounded-20px{border-radius:20px}.rounded-4px,[rounded-4px=""]{border-radius:4px}.rounded-5px{border-radius:5px}.rounded-full{border-radius:9999px}.rounded-b-4px{border-bottom-left-radius:4px;border-bottom-right-radius:4px}.rounded-bl-10px{border-bottom-left-radius:10px}.rounded-bl-full{border-bottom-left-radius:9999px}.rounded-tl-10px{border-top-left-radius:10px}.rounded-tl-full{border-top-left-radius:9999px}.rounded-tr-10px{border-top-right-radius:10px}.\!border-none{border-style:none!important}.border-none{border-style:none}.border-solid,[border-solid=""]{border-style:solid}.border-b-solid,[b-b~=solid]{border-bottom-style:solid}.border-l-solid,[b-l~=solid]{border-left-style:solid}.bg-\[\#1e1e1e\]{--un-bg-opacity:1;background-color:rgb(30 30 30 / var(--un-bg-opacity))}.bg-\[\#20a53a\],.bg-\#20a53a{--un-bg-opacity:1;background-color:rgb(32 165 58 / var(--un-bg-opacity))}.bg-\[\#262626\]{--un-bg-opacity:1;background-color:rgb(38 38 38 / var(--un-bg-opacity))}.bg-\[\#333\]{--un-bg-opacity:1;background-color:rgb(51 51 51 / var(--un-bg-opacity))}.bg-\[\#CBCBCB\]{--un-bg-opacity:1;background-color:rgb(203 203 203 / var(--un-bg-opacity))}.bg-\[\#e8d544\]{--un-bg-opacity:1;background-color:rgb(232 213 68 / var(--un-bg-opacity))}.bg-\[\#ef0808\]{--un-bg-opacity:1;background-color:rgb(239 8 8 / var(--un-bg-opacity))}.bg-\[\#efefef\]{--un-bg-opacity:1;background-color:rgb(239 239 239 / var(--un-bg-opacity))}.bg-\[\#f0ad4e\]{--un-bg-opacity:1;background-color:rgb(240 173 78 / var(--un-bg-opacity))}.bg-\[\#F1F9F3\],.bg-\#F1F9F3{--un-bg-opacity:1;background-color:rgb(241 249 243 / var(--un-bg-opacity))}.bg-\[\#f6f6f6\]{--un-bg-opacity:1;background-color:rgb(246 246 246 / var(--un-bg-opacity))}.bg-\[\#fc6d26\]{--un-bg-opacity:1;background-color:rgb(252 109 38 / var(--un-bg-opacity))}.bg-\[\#ffff00\]{--un-bg-opacity:1;background-color:rgb(255 255 0 / var(--un-bg-opacity))}.bg-\[100\%\]{background-position:100%}.bg-\[var\(--app-third-install-tip-bg\)\]{background-color:var(--app-third-install-tip-bg)}.bg-\[var\(--data-base-del-input-bg\)\]{background-color:var(--data-base-del-input-bg)}.bg-\[var\(--domains-lets-ssl-apply-bg\)\]{background-color:var(--domains-lets-ssl-apply-bg)}.bg-\[var\(--home-overview-btn-color\)\]{background-color:var(--home-overview-btn-color)}.bg-\[var\(--home-risk-security-list-bg\)\]{background-color:var(--home-risk-security-list-bg)}.bg-\[var\(--home-risk-security-list-hover-bg\)\]{background-color:var(--home-risk-security-list-hover-bg)}.bg-\[var\(--home-update-latest-bg\)\]{background-color:var(--home-update-latest-bg)}.bg-\[var\(--security-server-safe-progress\)\]{background-color:var(--security-server-safe-progress)}.bg-\[var\(--setting-security-google-login-key-bg\)\]{background-color:var(--setting-security-google-login-key-bg)}.bg-\[var\(--site-global-ip-white-ips-bg\)\]{background-color:var(--site-global-ip-white-ips-bg)}.bg-\#000000{--un-bg-opacity:1;background-color:rgb(0 0 0 / var(--un-bg-opacity))}.bg-\#222222{--un-bg-opacity:1;background-color:rgb(34 34 34 / var(--un-bg-opacity))}.bg-\#282c34,.bg-\#282C34{--un-bg-opacity:1;background-color:rgb(40 44 52 / var(--un-bg-opacity))}.bg-\#333333{--un-bg-opacity:1;background-color:rgb(51 51 51 / var(--un-bg-opacity))}.bg-\#424251{--un-bg-opacity:1;background-color:rgb(66 66 81 / var(--un-bg-opacity))}.bg-\#4caf50{--un-bg-opacity:1;background-color:rgb(76 175 80 / var(--un-bg-opacity))}.bg-\#565656{--un-bg-opacity:1;background-color:rgb(86 86 86 / var(--un-bg-opacity))}.bg-\#7f7f7f{--un-bg-opacity:1;background-color:rgb(127 127 127 / var(--un-bg-opacity))}.bg-\#c7f7ce{--un-bg-opacity:1;background-color:rgb(199 247 206 / var(--un-bg-opacity))}.bg-\#c8e6c9{--un-bg-opacity:1;background-color:rgb(200 230 201 / var(--un-bg-opacity))}.bg-\#cccccc{--un-bg-opacity:1;background-color:rgb(204 204 204 / var(--un-bg-opacity))}.bg-\#cccccc00{--un-bg-opacity:0;background-color:rgb(204 204 204 / var(--un-bg-opacity))}.bg-\#e7f5e9{--un-bg-opacity:1;background-color:rgb(231 245 233 / var(--un-bg-opacity))}.bg-\#ececec{--un-bg-opacity:1;background-color:rgb(236 236 236 / var(--un-bg-opacity))}.bg-\#f5f5f5{--un-bg-opacity:1;background-color:rgb(245 245 245 / var(--un-bg-opacity))}.bg-\#f7cfce{--un-bg-opacity:1;background-color:rgb(247 207 206 / var(--un-bg-opacity))}.bg-\#f7e6ce{--un-bg-opacity:1;background-color:rgb(247 230 206 / var(--un-bg-opacity))}.bg-\#f7f7f7{--un-bg-opacity:1;background-color:rgb(247 247 247 / var(--un-bg-opacity))}.bg-\#ff0000{--un-bg-opacity:1;background-color:rgb(255 0 0 / var(--un-bg-opacity))}.bg-\#ff6000{--un-bg-opacity:1;background-color:rgb(255 96 0 / var(--un-bg-opacity))}.bg-\#ffaa2c{--un-bg-opacity:1;background-color:rgb(255 170 44 / var(--un-bg-opacity))}.bg-\#FFB04C{--un-bg-opacity:1;background-color:rgb(255 176 76 / var(--un-bg-opacity))}.bg-\#ffc107\!{--un-bg-opacity:1 !important;background-color:rgb(255 193 7 / var(--un-bg-opacity))!important}.bg-\#fff,.bg-white,.bg-\#ffffff{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.bg-black{--un-bg-opacity:1;background-color:rgb(0 0 0 / var(--un-bg-opacity))}.bg-error{background-color:var(--color-error)}.bg-gray-100{--un-bg-opacity:1;background-color:rgb(243 244 246 / var(--un-bg-opacity))}.bg-gray-500{--un-bg-opacity:1;background-color:rgb(107 114 128 / var(--un-bg-opacity))}.bg-gray-700,.dark .dark\:bg-gray-700{--un-bg-opacity:1;background-color:rgb(55 65 81 / var(--un-bg-opacity))}.bg-modal{background-color:var(--color-modal)}.bg-primary{background-color:var(--color-primary)}.bg-red-500{--un-bg-opacity:1;background-color:rgb(239 68 68 / var(--un-bg-opacity))}.bg-transparent{background-color:transparent}.hover\:bg-\#ececec:hover{--un-bg-opacity:1;background-color:rgb(236 236 236 / var(--un-bg-opacity))}.hover\:bg-\#F68900:hover{--un-bg-opacity:1;background-color:rgb(246 137 0 / var(--un-bg-opacity))}.hover\:bg-primary:hover{background-color:var(--color-primary)}[stroke-width~="10"]{stroke-width:10px}[stroke-width~="12"]{stroke-width:12px}[stroke-width~="4"]{stroke-width:4px}[stroke-width~="7"]{stroke-width:7px}.\!p-\[0\],.\!p-0{padding:0!important}.p-\[1\.6rem\]{padding:1.6rem}.p-\[12px\],.p-12px{padding:12px}.p-\[20px\],.p-20px{padding:20px}.p-\[2rem\],.p-8{padding:2rem}.p-10{padding:2.5rem}.p-10px{padding:10px}.p-15px{padding:15px}.p-16px{padding:16px}.p-24px{padding:24px}.p-26px{padding:26px}.p-30px{padding:30px}.p-32px{padding:32px}.p-40px{padding:40px}.p-44px{padding:44px}.p-4px{padding:4px}.p-5{padding:1.25rem}.p-5px,[p-5px=""]{padding:5px}.p-6px{padding:6px}.p-8px,[p-8px=""]{padding:8px}.px,.px-4,[px=""]{padding-left:1rem;padding-right:1rem}.px-\[0\.8rem\]{padding-left:.8rem;padding-right:.8rem}.px-\[1\.6rem\]{padding-left:1.6rem;padding-right:1.6rem}.px-\[10px\],.px-10px{padding-left:10px;padding-right:10px}.px-\[3rem\]{padding-left:3rem;padding-right:3rem}.px-\[8px\],.px-8px{padding-left:8px;padding-right:8px}.px-0{padding-left:0;padding-right:0}.px-12px{padding-left:12px;padding-right:12px}.px-15px{padding-left:15px;padding-right:15px}.px-16px{padding-left:16px;padding-right:16px}.px-2{padding-left:.5rem;padding-right:.5rem}.px-20px,[px-20px=""]{padding-left:20px;padding-right:20px}.px-24px{padding-left:24px;padding-right:24px}.px-2px{padding-left:2px;padding-right:2px}.px-30px{padding-left:30px;padding-right:30px}.px-32px{padding-left:32px;padding-right:32px}.px-36px{padding-left:36px;padding-right:36px}.px-40px{padding-left:40px;padding-right:40px}.px-4px{padding-left:4px;padding-right:4px}.px-50px{padding-left:50px;padding-right:50px}.px-5px{padding-left:5px;padding-right:5px}.px-6px{padding-left:6px;padding-right:6px}.py,.py-\[1rem\]{padding-top:1rem;padding-bottom:1rem}.py-\[0\.6rem\]{padding-top:.6rem;padding-bottom:.6rem}.py-\[3\.2rem\]{padding-top:3.2rem;padding-bottom:3.2rem}.py-\[4px\],.py-4px{padding-top:4px;padding-bottom:4px}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-10px{padding-top:10px;padding-bottom:10px}.py-12px{padding-top:12px;padding-bottom:12px}.py-15px{padding-top:15px;padding-bottom:15px}.py-16px{padding-top:16px;padding-bottom:16px}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-20px{padding-top:20px;padding-bottom:20px}.py-24px{padding-top:24px;padding-bottom:24px}.py-26px{padding-top:26px;padding-bottom:26px}.py-2px{padding-top:2px;padding-bottom:2px}.py-30px{padding-top:30px;padding-bottom:30px}.py-32px{padding-top:32px;padding-bottom:32px}.py-3px{padding-top:3px;padding-bottom:3px}.py-40px{padding-top:40px;padding-bottom:40px}.py-52px{padding-top:52px;padding-bottom:52px}.py-5px{padding-top:5px;padding-bottom:5px}.py-6px{padding-top:6px;padding-bottom:6px}.py-8px{padding-top:8px;padding-bottom:8px}[px~="14"]{padding-left:3.5rem;padding-right:3.5rem}[px-8px~="default:"]:default{padding-left:8px;padding-right:8px}[px~="default:"]:default{padding-left:1rem;padding-right:1rem}.pb-0{padding-bottom:0}.pb-100px{padding-bottom:100px}.pb-10px{padding-bottom:10px}.pb-12px{padding-bottom:12px}.pb-16px{padding-bottom:16px}.pb-20px{padding-bottom:20px}.pb-24px{padding-bottom:24px}.pb-32px{padding-bottom:32px}.pb-40px{padding-bottom:40px}.pb-5px{padding-bottom:5px}.pb-8px{padding-bottom:8px}.pl{padding-left:1rem}.pl-\[12px\],.pl-12px{padding-left:12px}.pl-\[2\.5rem\]{padding-left:2.5rem}.pl-10\%{padding-left:10%}.pl-10px{padding-left:10px}.pl-15px{padding-left:15px}.pl-16px,[pl-16px=""]{padding-left:16px}.pl-20px{padding-left:20px}.pl-21px{padding-left:21px}.pl-22px{padding-left:22px}.pl-24px{padding-left:24px}.pl-28px{padding-left:28px}.pl-30px{padding-left:30px}.pl-36px{padding-left:36px}.pl-48px{padding-left:48px}.pl-4px{padding-left:4px}.pl-5px{padding-left:5px}.pl-8px{padding-left:8px}.pl-96px{padding-left:96px}.pr-\[0\.8rem\]{padding-right:.8rem}.pr-\[1\.5rem\]{padding-right:1.5rem}.pr-\[2rem\]{padding-right:2rem}.pr-10px{padding-right:10px}.pr-15px{padding-right:15px}.pr-16px{padding-right:16px}.pr-24px{padding-right:24px}.pr-36px{padding-right:36px}.pr-40px{padding-right:40px}.pr-56px{padding-right:56px}.pr-8\%{padding-right:8%}.pr-8px{padding-right:8px}.ps,[ps=""]{padding-inline-start:1rem}.ps1{padding-inline-start:.25rem}.pt{padding-top:1rem}.pt-0,.pt-0px{padding-top:0}.pt-0\!{padding-top:0!important}.pt-100px{padding-top:100px}.pt-120px{padding-top:120px}.pt-12px{padding-top:12px}.pt-140px{padding-top:140px}.pt-14px{padding-top:14px}.pt-15px{padding-top:15px}.pt-16px{padding-top:16px}.pt-20px{padding-top:20px}.pt-22px{padding-top:22px}.pt-24px,[pt-24px=""]{padding-top:24px}.pt-28px{padding-top:28px}.pt-32px{padding-top:32px}.pt-35px{padding-top:35px}.pt-40px{padding-top:40px}.pt-44px{padding-top:44px}.pt-4px{padding-top:4px}.pt-50px{padding-top:50px}.pt-52px{padding-top:52px}.pt-5px{padding-top:5px}.pt-68px{padding-top:68px}.pt-6px{padding-top:6px}.pt-8\%{padding-top:8%}.pt-80px{padding-top:80px}.pt-8px{padding-top:8px}[pb-12px~="default:"]:default{padding-bottom:12px}.pie{padding-inline-end:1rem}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.indent--15px{text-indent:-15px}.root-indent:root{text-indent:1.5rem}[root-indent~="0"]:root{text-indent:0}[root-indent~="26"]:root{text-indent:6.5rem}.text-nowrap{text-wrap:nowrap}.text-nowrap\!{text-wrap:nowrap!important}.align-middle{vertical-align:middle}.text-\[1\.2rem\]{font-size:1.2rem}.text-\[1\.4rem\]{font-size:1.4rem}.text-\[1\.5rem\]{font-size:1.5rem}.text-\[1\.6rem\]{font-size:1.6rem}.text-\[1\.8rem\]{font-size:1.8rem}.text-\[13px\],.text-13px{font-size:13px}.text-\[14px\],.text-14px,[text-14px=""]{font-size:14px}.text-\[18px\],.text-18px{font-size:18px}.text-\[2\.4rem\]{font-size:2.4rem}.text-\[20px\],.text-20px{font-size:20px}.text-\[2rem\]{font-size:2rem}.text-\[3\.2rem\]{font-size:3.2rem}.text-10px{font-size:10px}.text-12px{font-size:12px}.text-12px\!{font-size:12px!important}.text-15px{font-size:15px}.text-16{font-size:4rem}.text-16px{font-size:16px}.text-17px,[text-17px=""]{font-size:17px}.text-19px{font-size:19px}.text-21px{font-size:21px}.text-22px{font-size:22px}.text-24px{font-size:24px}.text-26px{font-size:26px}.text-28px{font-size:28px}.text-2xl{font-size:1.5rem;line-height:2rem}.text-30px{font-size:30px}.text-32px{font-size:32px}.text-34px{font-size:34px}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-40px{font-size:40px}.text-44px{font-size:44px}.text-48px{font-size:48px}.text-4xl\!{font-size:2.25rem!important;line-height:2.5rem!important}.text-50px{font-size:50px}.text-7{font-size:1.75rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}[text-14px~="default:"]:default{font-size:14px}[font-size~="12"]{font-size:3rem}.\!text-\[\#20a53A\]{--un-text-opacity:1 !important;color:rgb(32 165 58 / var(--un-text-opacity))!important}.\!text-\[\#E8D544\]{--un-text-opacity:1 !important;color:rgb(232 213 68 / var(--un-text-opacity))!important}.\!text-\[\#EF0808\]{--un-text-opacity:1 !important;color:rgb(239 8 8 / var(--un-text-opacity))!important}.\!text-\[\#F0AD4E\]{--un-text-opacity:1 !important;color:rgb(240 173 78 / var(--un-text-opacity))!important}.color-gray,.dark .dark\:text-gray-400,.text-gray-400{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity))}.text-\[\'\ \+\ \(_unref\(scanDetect\)\.security_count\ \=\=\=\ 100\ \?\ \'\ \#20a53a\ \'\ \:\ \'\ \#fc6d26\ \'\)\ \+\ \'\]{color:" + ( unref(scanDetect).security count === 100 ? " #20a53a " : " #fc6d26 ") + "}.text-\[\'\ \+\ \(scanDetect\.security_count\ \=\=\=\ 100\ \?\ \'\ \#20a53a\ \'\ \:\ \'\ \#fc6d26\ \'\)\ \+\ \'\]{color:" + (scanDetect.security count === 100 ? " #20a53a " : " #fc6d26 ") + "}.color-\#20a53a,.text-\[\#20a53a\],.text-\#20a53a,[color~="#20a53a"]{--un-text-opacity:1;color:rgb(32 165 58 / var(--un-text-opacity))}.text-\[\#333\],.text-\#333{--un-text-opacity:1;color:rgb(51 51 51 / var(--un-text-opacity))}.text-\[\#36ad6a\]{--un-text-opacity:1;color:rgb(54 173 106 / var(--un-text-opacity))}.text-\[\#555\],.text-\#555{--un-text-opacity:1;color:rgb(85 85 85 / var(--un-text-opacity))}.text-\[\#565656\]{--un-text-opacity:1;color:rgb(86 86 86 / var(--un-text-opacity))}.text-\[\#909399\],[color~="#909399"]{--un-text-opacity:1;color:rgb(144 147 153 / var(--un-text-opacity))}.color-\#999,.text-\[\#999\],.text-\#999,[color~="#999"]{--un-text-opacity:1;color:rgb(153 153 153 / var(--un-text-opacity))}.text-\[\#a4a4a4\]{--un-text-opacity:1;color:rgb(164 164 164 / var(--un-text-opacity))}.text-\[\#cca700\]{--un-text-opacity:1;color:rgb(204 167 0 / var(--un-text-opacity))}.text-\[\#ccc\],.text-\#ccc{--un-text-opacity:1;color:rgb(204 204 204 / var(--un-text-opacity))}.text-\[\#e0e0e0\]{--un-text-opacity:1;color:rgb(224 224 224 / var(--un-text-opacity))}.color-\#ef0808,.text-\[\#ef0808\],[color~="#ef0808"]{--un-text-opacity:1;color:rgb(239 8 8 / var(--un-text-opacity))}.text-\[\#f0a020\],[color~="#f0a020"]{--un-text-opacity:1;color:rgb(240 160 32 / var(--un-text-opacity))}.text-\[\#F0AD4E\]{--un-text-opacity:1;color:rgb(240 173 78 / var(--un-text-opacity))}.color-\#fc6d26,.text-\[\#fc6d26\],.text-\#fc6d26,[color~="#fc6d26"]{--un-text-opacity:1;color:rgb(252 109 38 / var(--un-text-opacity))}.color-\#fff,.color-white,.text-\[\#fff\],.text-\#fff,.text-white,[color~="#fff"],[color~=white]{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.text-\[red\]{color:red}.text-\[var\(--border-hover-focus-color\)\]{color:var(--border-hover-focus-color)}.text-\[var\(--button-text-base-color\)\]{color:var(--button-text-base-color)}.color-primary,.text-\[var\(--color-primary\)\],.text-primary,.text-primary\:hover{color:var(--color-primary)}.text-\[var\(--home-success-text-color\)\]{color:var(--home-success-text-color)}.text-\[var\(--setting-security-google-login-bind-text\)\]{color:var(--setting-security-google-login-bind-text)}.text-\[var\(--setting-security-google-login-bind-title\)\]{color:var(--setting-security-google-login-bind-title)}.text-\[var\(--setting-security-google-login-key-text\)\]{color:var(--setting-security-google-login-key-text)}.color-\#666,.text-\#666,[color~="#666"]{--un-text-opacity:1;color:rgb(102 102 102 / var(--un-text-opacity))}.text-\#666\!{--un-text-opacity:1 !important;color:rgb(102 102 102 / var(--un-text-opacity))!important}.text-\#69be3d{--un-text-opacity:1;color:rgb(105 190 61 / var(--un-text-opacity))}.text-\#6c7688{--un-text-opacity:1;color:rgb(108 118 136 / var(--un-text-opacity))}.text-\#777{--un-text-opacity:1;color:rgb(119 119 119 / var(--un-text-opacity))}.text-\#919191{--un-text-opacity:1;color:rgb(145 145 145 / var(--un-text-opacity))}.text-\#9DA1A6{--un-text-opacity:1;color:rgb(157 161 166 / var(--un-text-opacity))}.text-\#e6a23c{--un-text-opacity:1;color:rgb(230 162 60 / var(--un-text-opacity))}.text-\#ececec{--un-text-opacity:1;color:rgb(236 236 236 / var(--un-text-opacity))}.text-\#ef8581{--un-text-opacity:1;color:rgb(239 133 129 / var(--un-text-opacity))}.text-\#f7be56{--un-text-opacity:1;color:rgb(247 190 86 / var(--un-text-opacity))}.text-\#fcb040{--un-text-opacity:1;color:rgb(252 176 64 / var(--un-text-opacity))}.text-base,.text-title{color:var(--color-text-base)}.text-black,[color~="#000"]{--un-text-opacity:1;color:rgb(0 0 0 / var(--un-text-opacity))}.text-blue-500{--un-text-opacity:1;color:rgb(59 130 246 / var(--un-text-opacity))}.text-body{--un-text-opacity:1;color:rgb(58 66 77 / var(--un-text-opacity))}.text-default{color:var(--color-text-4)}.color-desc,.text-desc{color:var(--color-text-desc)}.color-error,.text-error,[text-error=""]{color:var(--color-error)}.text-font1{color:var(--color-text-1)}.color-font2,.text-font2{color:var(--color-text-2)}.text-font3{color:var(--color-text-3)}.text-gray-600{--un-text-opacity:1;color:rgb(75 85 99 / var(--un-text-opacity))}.text-primary-hover{color:var(--primary-button-color-hover)}.text-pro{color:var(--color-pro)}.text-purple-500{--un-text-opacity:1;color:rgb(168 85 247 / var(--un-text-opacity))}.text-red-5{--un-text-opacity:1;color:rgb(239 68 68 / var(--un-text-opacity))}.color-warning,.text-warning{color:var(--color-warning)}.text-warning\!{color:var(--color-warning)!important}.text-weak{--un-text-opacity:1;color:rgb(196 198 201 / var(--un-text-opacity))}.text-yellow-500{--un-text-opacity:1;color:rgb(234 179 8 / var(--un-text-opacity))}[text~="$t("]{color:var(--t\()}.hover\:text-\#777777:hover{--un-text-opacity:1;color:rgb(119 119 119 / var(--un-text-opacity))}.hover\:text-primary:hover{color:var(--color-primary)}.color-\[var\(--home-update-bt-link-color\)\]{color:var(--home-update-bt-link-color)}.color-\#1d9534{--un-text-opacity:1;color:rgb(29 149 52 / var(--un-text-opacity))}.color-\#3c763d{--un-text-opacity:1;color:rgb(60 118 61 / var(--un-text-opacity))}.color-\#666666,[color~="#666666"]{--un-text-opacity:1;color:rgb(102 102 102 / var(--un-text-opacity))}.color-\#999999{--un-text-opacity:1;color:rgb(153 153 153 / var(--un-text-opacity))}.color-\#f23836{--un-text-opacity:1;color:rgb(242 56 54 / var(--un-text-opacity))}.color-\#fc7938{--un-text-opacity:1;color:rgb(252 121 56 / var(--un-text-opacity))}.color-\#feaa04{--un-text-opacity:1;color:rgb(254 170 4 / var(--un-text-opacity))}.color-\#ff3333{--un-text-opacity:1;color:rgb(255 51 51 / var(--un-text-opacity))}.color-\#ffb800{--un-text-opacity:1;color:rgb(255 184 0 / var(--un-text-opacity))}.color-red{--un-text-opacity:1;color:rgb(248 113 113 / var(--un-text-opacity))}[color~="#0a8c46"]{--un-text-opacity:1;color:rgb(10 140 70 / var(--un-text-opacity))}[color~="#4fb233"]{--un-text-opacity:1;color:rgb(79 178 51 / var(--un-text-opacity))}[color~="#67c23a"]{--un-text-opacity:1;color:rgb(103 194 58 / var(--un-text-opacity))}[color~="#A6ADB3"]{--un-text-opacity:1;color:rgb(166 173 179 / var(--un-text-opacity))}[color~="#bbb"]{--un-text-opacity:1;color:rgb(187 187 187 / var(--un-text-opacity))}[color~="#c2c2c2"]{--un-text-opacity:1;color:rgb(194 194 194 / var(--un-text-opacity))}[color~="#cbcbcb"]{--un-text-opacity:1;color:rgb(203 203 203 / var(--un-text-opacity))}[color~="#E65100"]{--un-text-opacity:1;color:rgb(230 81 0 / var(--un-text-opacity))}[color~="#E85445"]{--un-text-opacity:1;color:rgb(232 84 69 / var(--un-text-opacity))}[color~="#f08a00"]{--un-text-opacity:1;color:rgb(240 138 0 / var(--un-text-opacity))}[color~="#f2711c"]{--un-text-opacity:1;color:rgb(242 113 28 / var(--un-text-opacity))}[color~="#FDCA62"]{--un-text-opacity:1;color:rgb(253 202 98 / var(--un-text-opacity))}[color~="#ff8d00"]{--un-text-opacity:1;color:rgb(255 141 0 / var(--un-text-opacity))}[color~="#ffae45"]{--un-text-opacity:1;color:rgb(255 174 69 / var(--un-text-opacity))}.font-500{font-weight:500}.font-600{font-weight:600}.font-700,.font-bold,.fw-bold{font-weight:700}.font-bold\!{font-weight:700!important}.leading-\[0\.14rem\]{line-height:.14rem}.leading-\[1\.2\]{line-height:1.2}.leading-\[1\.4\]{line-height:1.4}.leading-\[1\.5\]{line-height:1.5}.leading-\[1\.8rem\]{line-height:1.8rem}.leading-\[1\],.leading-none{line-height:1}.leading-1{line-height:.25rem}.leading-14px{line-height:14px}.leading-15px{line-height:15px}.leading-16px{line-height:16px}.leading-17px{line-height:17px}.leading-18{line-height:4.5rem}.leading-18px{line-height:18px}.leading-20px{line-height:20px}.leading-22px,.lh-22px{line-height:22px}.leading-24px,.line-height-24px{line-height:24px}.leading-25px{line-height:25px}.leading-26px{line-height:26px}.leading-28px{line-height:28px}.leading-30px{line-height:30px}.leading-32px{line-height:32px}.leading-36px{line-height:36px}.leading-40px{line-height:40px}.leading-50px{line-height:50px}.font-inherit{font-family:inherit}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.line-through{text-decoration-line:line-through}.underline{text-decoration-line:underline}.tab,[tab=""]{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.tab-0{-moz-tab-size:0;-o-tab-size:0;tab-size:0}[tab~="$t("]{-moz-tab-size:var(--t\();-o-tab-size:var(--t\();tab-size:var(--t\()}[tab~="1"]{-moz-tab-size:1;-o-tab-size:1;tab-size:1}.text-shadow{--un-text-shadow:0 0 1px var(--un-text-shadow-color, rgb(0 0 0 / .2)),0 0 1px var(--un-text-shadow-color, rgb(1 0 5 / .1));text-shadow:var(--un-text-shadow)}.write-vertical-right{writing-mode:vertical-rl}.opacity-0{opacity:0}.opacity-50{opacity:.5}.group:hover .group-hover\:opacity-100{opacity:1}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.outline{outline-style:solid}.blur,[blur=""]{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}[blur~="required:"]:required{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.filter{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.backdrop-filter{-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors,[transition-colors=""]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease,.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.content-\[\'\'\]{content:""}.content-none{content:none}[placeholder~="$t("]::placeholder{color:var(--t\()}@media(min-width:1280px){[cols~="xl:4"]{grid-template-columns:repeat(4,minmax(0,1fr))}[cols~="xl:5"]{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(min-width:1536px){[cols~="2xl:5"]{grid-template-columns:repeat(5,minmax(0,1fr))}}:where(html){line-height:1.15;-webkit-text-size-adjust:100%;text-size-adjust:100%}:where(h1){font-size:2em;margin-block-end:.67em;margin-block-start:.67em}:where(dl,ol,ul) :where(dl,ol,ul){margin-block-end:0;margin-block-start:0}:where(hr){box-sizing:content-box;color:inherit;height:0}:where(abbr[title]){text-decoration:underline;text-decoration:underline dotted}:where(b,strong){font-weight:bolder}:where(code,kbd,pre,samp){font-family:monospace,monospace;font-size:1em}:where(small){font-size:80%}:where(table){border-color:currentColor;text-indent:0}:where(button,input,select){margin:0}:where(button){text-transform:none}:where(button,input:is([type=button i],[type=reset i],[type=submit i])){-webkit-appearance:button}:where(progress){vertical-align:baseline}:where(select){text-transform:none}:where(textarea){margin:0}:where(input[type=search i]){-webkit-appearance:textfield;outline-offset:-2px}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}:where(button,input:is([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focus-inner{border-style:none;padding:0}:where(button,input:is([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focusring{outline:1px dotted ButtonText}:where(:-moz-ui-invalid){box-shadow:none}:where(dialog){background-color:#fff;border:solid;color:#000;height:-moz-fit-content;height:fit-content;left:0;margin:auto;padding:1em;position:absolute;right:0;width:-moz-fit-content;width:fit-content}:where(dialog:not([open])){display:none}:where(summary){display:list-item}@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:500;src:url(/static/vite/fonts/outfit-latin-500-normal-DxGXGwrc.woff2) format("woff2"),url(/static/vite/fonts/outfit-all-500-normal-Bu4XywxB.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/static/vite/fonts/inter-Dx4kXJAl.woff2) format("woff2")}:root{--color-primary: #20a53a;--color-primary-1: #e4f4e7;--color-success: #20a53a;--color-warning: #ffae45;--color-error: #e73a33;--color-pro: #ff8f00;--primary-button-color-hover: #1d9534;--primary-button-color-pressed: #1a8a30;--primary-button-color-suppl: #1d9534;--color-text-base: #3a424d;--color-text-1: #131313;--color-text-2: #3a424d;--color-text-3: #999999;--color-text-4: #666666;--color-text-5: #333333;--color-text-desc: #999999;--color-bg-1: #f2f5f9;--color-bg-2: #ffffff;--color-bg-3: #f2f5f9;--color-bg-4: #f7f7f7;--layout-bg: url(/static/vite/images/bg-CBActqkk.png);--color-border: #dcdfe6;--border-hover-focus-color: var(--color-primary);--color-sider-text: #3a424d;--color-sider: #f2f5f999;--color-sider-active: #20a53a;--color-sider-hover: #20a53a1a;--color-sider-hover-text: #20a53a;--color-sider-active-text: #ffffff;--router-menu-active-text: var(--color-primary);--router-menu-active-bg: rgba(32, 165, 58, .063);--color-table-td: var(--color-bg-2);--color-table-th: #f6f6f6;--color-table-border: var(--color-border);--color-table-td-hover: #f0f9f7;--color-modal: #fff;--modal-header-bg: #f6f8f8;--modal-header-bottom-border: #eee;--modal-action-bg: var(--modal-header-bg);--modal-action-top-border: #edf1f2;---card-bg-color-1: #f9fafb;---card-border-error-color-1: #ef080830;--color-tabs: #f5f5f5;--dialog-color-text: #333;--dialog-color-title-text: #333;--color-message: #ffffff;--color-message-border: #d3d4d3;--popover-color: #ffffff;--input-text-color: #333;--input-focus-bg-color: var(--color-bg-2);--input-disabled-color: #f5f5f5;--input-group-label-color: #f5f5f5;--input-disabled-border-color: 1px solid #d9d9d9;--select-box-shadow: 0 0 8px 0 rgba(32, 165, 58, .4);--button-text-color: var(--color-text-2);--button-type-text-primary: var(--color-primary);--button-text-base-color: #fff;--button-gray-color: #eee;--radio-text-color: #333333;--radio-bg-color: var(--color-bg-2);--radio-active-dot-color: var(--color-primary);--radio-border-dot-color: inset 0 0 0 1px #d2ffdb;--check-color-checked: var(--color-primary);--check-border-checked: 1px solid var(--color-primary);--switch-active-color: var(--color-primary);--upload-dragger-color: #ffffff;--tooltip-color-text: #666;--alert-default-bg: #f0f0f1;--alert-warning-bg: #fdf6ec;--alert-error-bg: #fde6e6;--alert-success-text: #333;--alert-error-border: 1px solid #fde6e6;--tag-primary-text-color: var(--color-primary);--collapse-color: #f2f5f9;--collapse-header-bg: #fafafa;--time-picker-separator-color: #ccc;--tabs-panel-color-text: #333333;--tabs-border-color: #cacad9;--tabs-bg: -webkit-gradient(linear, 0% 0, 0% 100%, from(#f6f6f6), to(#ddd));--tabs-active-bg: #ffffff;--tabs-active-text-color: #333333;--bt-tabs-modal-bg: #f0f0f1;--bt-tabs-modal-active-bg: var(--color-modal);--bt-tabs-modal-cancel-btn-bg: #cbcbcb;--bt-tabs-modal-header-close: brightness(1);--bt-tabs-modal-color: #f9fbfc;--bt-tabs-modal-left-active-bg: #4caf50;--bt-tabs-modal-left-shadow: 2px 0 3px #e4e3e3;--confirm-calc-bg: #f0f0f0;--progress-rail-color: #f2f5f9;--pagination-item-active-border: 1px solid var(--color-primary);--pagination-item-active-color: var(--color-primary);--ace-editor-tip-color: #555;--pre-color-text: #333;--pre-bg-color: #f5f5f5;--modal-boxshadow: 0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03);--bt-input-path-hover-bg: #ececec;--flow-container-bg: #f3f4f6;--flow-config-title-color: #333333;--home-ad-bg-color: #fff;--home-ad-badge-bg-color: linear-gradient( 270deg, rgba(255, 255, 255, .2) 0%, rgba(255, 174, 69, .2) 100% );--home-overview-btn-color: #f2f5f9;--home-soft-bg-color: transparent;--home-soft-bg-hover-color: linear-gradient(244.14deg, #ffffff -1.23%, #e5f7ee 72.39%);--home-soft-border-color: #edf0f4;--home-soft-border-hover-color: var(--color-primary);--home-monitor-tabs-active-color: var(--color-primary);--home-risk-overview-circle-bg: #ffffff;--home-risk-security-list-hover-bg: #f5f7fa;--home-risk-security-list-spin-bg: #f2f2f2;--home-risk-security-list-collapse-item-color: #666;--home-risk-security-ignore-collapse-bg: #f8f8f8;--home-risk-file-info-title-color: #666;--home-risk-file-info-item-color: #333;--home-risk-server-list-bg: #f7f7f7;--home-risk-server-list-text: #555;--home-risk-server-list-hover: #efefef;--home-update-bg-url: url(/static/vite/images/update-bg-Baq2UViw.png);--home-update-title-color: #565656;--home-update-content-bg: #f6fbf7;--home-update-content-text: #666666;--home-update-detail-bg: #f7f7f7;--home-update-detail-date: #333;--home-pro-icon-color: #fff;--home-disk-color-warning: #ffefda;--home-disk-color-error: #fad8d6;--home-update-latest-bg: #f7fcf8;--home-update-latest-border: 1px solid #eeefec;--home-update-latest-text-color: #4f4f4f;--home-update-head-bg: #37bc51;--home-update-back-bg: linear-gradient(to top, rgb(255 255 255), #37bc51);--home-update-bt-link-color: var(--color-primary);--home-soft-install-bg-color: var(--color-table-td-hover);--home-soft-install-border-color: var(--color-primary);--home-success-bg-color: #37bc51;--home-success-text-color: #c7c7c7;--home-risk-security-list-bg: #fafcff;--home-risk-security-report-bg: #f8f9fa;--home-risk-security-report-bg1: rgba(255, 255, 255, .95);--site-config-ssl-label: #666;--site-config-business-tips: #dff0d8;--site-ace-editor-border: #ccc;--site-confirm-calc-box-bg: #f0f0f0;--site-detele-content-item-hover-bg: #fcfcfc;--site-task-progress-border: #e5e7eb;--site-multi-service-rollback-bg: #f0f0f1;--site-global-ip-white-ips-bg: #f8f9fa;--site-global-ip-white-ips-border: #e4e8eb;--data-base-del-input-bg: #e6e6e6;--docker-type-list-bg: #e6e6e6;--docker-type-list-text: #555555;--docker-type-list-active-bg: #e8f6eb;--docker-type-list-active-text: var(--color-primary);--docker-plugin-list-tag-gb: #f4f4f5;--docker-plugin-list-tag-tips-bg: #fff;--docker-plugin-list-border: #ffffff;--app-soft-sort-bg: #e6e6e6;--app-soft-sort-active-bg: var(--color-primary);--app-soft-sort-hover-color: #ffffff;--app-soft-used-hover: #f5f5f5;--app-soft-pro-tips-text: var(--color-primary);--app-soft-pro-tips-bg: var(--router-menu-active-bg);--app-third-security-tip-bg: #f2dede;--app-plugin-dns-bg: #f7fffa;--app-third-install-tip-bg: #f5f6fa;--pay-color: #ff8f00;--pay-color-bg: #fff5e1;--pay-color-border: #ecb566;--coupon-bg: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZIAAAHlCAMAAADoe4qxAAAATlBMVEVHcEz////////////////////////////////////////////////////////////////////////////////////z8/P8/Pz5+fn29vbA3pgqAAAAFXRSTlMAMOCg0M8QIECQ34+AcD/Ar79/sJ+9bwY+AAADsElEQVR42u3YyVLCUBBA0Y5AXgLOCuj//6jBocqBULrqxjp38dZUn3rpkIiptlltld5q0+K9jWlUafMm4oZUuikHkdEcKjVOe8QUatVcknrXxCYpt03MoFpIkAgJEiFBIiRIhERIkAgJEiFBIiRIhERIkAgJEiFBIiRCgkRIkAgJEiFBIiRCgkRIkAgJEiEREiRCgkRIkAgJEiEREiRCgkRIkAiJkCAREiRCgkRIkAiJkCAREiRCgkRIhASJkCAREiRCgkRIhASJkCAREiRCIiRIhASJkCAREiRCIiRIhASJkCAREiFBIiRIhASJkCAREiFBIiRIhASJkAgJEiFBIiRIhASJkAgJEiFBIiRIhASJESAREiRCgkRIkAiJkCAREiRCgkRIkAiJkCAREiRCgkRIhASJkCAREiRCgkRIhASJkCAREiRCIiRIhASJkCAREiRCIiRIhASJkCAREiFBIiRIhASJkCAREiFBIiRIhASJkAgJEiFBIiRIhASJkAgJEiFBIiRIhERIkAgJEiFBIiRIhERIkAgJEiFBIiRCgkRIkAgJEiFBIiRCgkRIkAgJEiEREiRCgkRIkAgJEiEREiRCgkRIkAgJEiEREiRCgkRIkAiJkCAREiRCgkRIkAiJkCARkv9FEt1wuTSHGi2vhi7eagvjyG/R4nPDhZHkdjHEt3pPr9Ru+vgZk0yROFbv2ZX31OqPksRgNFkNMdOD2SS9a82JRDOcnNosiQ2f9A9xXiQujSejqxMkFnyt5T7VGU9G3QkS34VTOiUSu912u9sdO/fb51+fT9P59IdzP53Pvz5nf+LZ/vRTIh2SjJ/eWe/ntN69BJd7CV4ZT0ar8EHlfD6o3BpOTgvL/VwWfL82mqzWvd1erbtjd4RIrsmPezJ4amU/u77uk+Zdq0CPH+/C3fW9Z1aV/4z3153P8fVCgkRIkAgJEiFBIiRCgkRIkAgJEiFBIiRCgkRIkAgJEiEREiRCgkRIkAgJEiEREiRCgkRIkAiJkCAREiRCgkRIkAiJkCAREiRCgkRIhASJkCAREiRCgkRIhASJkCAREiRCIiRIhASJkCAREiRCIiRIhASJkCAREiFBIiRIhASJkCAREiFBIiRIhASJkAgJEiFBIiRIhASJkAgJEiFBIiRIhERIkAgJEiFBIiRIhERIkAgJEiFBIiRIjACJkCAREiRCgkRI9I1kaQa1WsZoCLUaoxlCrVq4JtUuyZRtUmqTvOae1Lojh9roplS4IWM7aLwA+X5JA+6n7UAAAAAASUVORK5CYII=);--mailserver-overview-bg: #fafafa;--mailserver-domain-check-tips-bg: #f6f6f6;--mailserver-domain-check-box-bg: #edf7f2;--log-type-list-active-bg: #eef8f0;--log-type-list-hover-bg: #f5f7fa;--log-type-list-border: #e9e9e9;--security-brute-force-tips-bg: #f2dede;--security-server-safe-progress: #ebedf0;--domains-business-ssl-buy-bg: #f1f9f3;--domains-business-ssl-buy-bg-border: #ececec;--domains-business-ssl-count-disable: #efefef;--domains-lets-ssl-apply-bg: #f8f8f8;--domains-lets-ssl-apply-border: #dedede;--domains-lets-ssl-upload-border: #ccc;--domains-lets-ssl-upload-text: #e9f8ec;--setting-card-title-color: #666666;--setting-back-create-collapse-border: #f5f5f5;--setting-back-create-table-th-bg: var(--color-bg-2);--setting-back-create-collapse-title: #666;--setting-security-panel-port-tips: #f7f7f7;--setting-panel-bind-account-left-bg: linear-gradient(0deg, #d8efdb, #edf7ef);--setting-security-google-login-key-bg: #f8f8f8;--setting-security-google-login-key-text: #444;--setting-security-google-login-bind-title: #555;--setting-security-google-login-bind-text: #666;--install-box-bg: #fff5;--install-desc-bg: #fff;--install-box-text-color: #555;--file-choose-hover-color: #f5f7fa;--file-choose-hover-border-color: #e1e1e1;--file-card-hover-color: #f0f9f7;--terminal-head-bg: #f1f1f1;--terminal-head-item-close-hover: #f7f7f7;--terminal-head-item-hover: #dadada;--chart-tooltip-bg-color: #ffffff;--chart-tooltip-text-color: #333333;--chart-tooltip-header-bg-color: #f6f6f6;--waf-map-color: #e6e6e6;--waf-map-border-color: #ffffff;--waf-overview-text-color: #666666;--nps-box-hover-bg: var(--color-primary);--scrollbar-thumb-bg-color: #999;--scrollbar-track-bg-color: #ededed;--bt-error-modal-bg: #f5f5f5;--bt-error-modal-title-color: #333}:root[theme-mode=dark]{--color-primary: #20a53a;--color-success: #20a53a;--color-warning: #e67e22;--color-error: #f16575;--color-pro: #feaa04;--primary-button-color-hover: #267544;--primary-button-color-pressed: #20633a;--primary-button-color-suppl: #267544;--color-text-base: #c7c7c7;--color-text-1: #d8dce2;--color-text-2: #c7c7c7;--color-text-3: #919191;--color-text-4: #aaaaaa;--color-text-5: #e0e0e0;--color-text-desc: #777777;--color-bg-1: #18191c;--color-bg-2: #202020;--color-bg-3: #2e2e2e;--color-bg-4: #2e2e2e;--layout-bg: none;--color-border: #434343;--border-hover-focus-color: var(--color-text-base);--color-sider-text: #a1a1aa;--color-sider: #00000000;--color-sider-active: #353535;--color-sider-hover: #353535;--color-sider-hover-text: #ffffff;--color-sider-active-text: #ffffff;--router-menu-active-text: var(--color-text-base);--router-menu-active-bg: #353535;--color-table-td: var(--color-bg-2);--color-table-th: #232323;--color-table-border: var(--color-border);--color-table-td-hover: #353535;--color-modal: var(--color-bg-1);--modal-header-bg: var(--color-bg-2);--modal-header-bottom-border: var(--color-bg-3);--modal-action-bg: var(--modal-header-bg);--modal-action-top-border: var(--color-bg-3);---card-bg-color-1: #1a1a1a;---card-border-primary-color-1: #2a4d3a;---card-border-error-color-1: #ff646466;--color-tabs: #1e1e1e;--dialog-color-text: var(--color-text-base);--dialog-color-title-text: var(--color-text-base);--color-message: #48484e;--color-message-border: #48484e;--popover-color: var(--color-bg-1);--input-text-color: var(--color-text-base);--input-focus-bg-color: var(--color-bg-2);--input-disabled-color: var(--color-bg-1);--input-group-label-color: #333333;--input-disabled-border-color: 1px solid var(--color-border);--select-box-shadow: 0 0 8px 0 rgba(48, 53, 49, .4);--button-text-color: var(--color-text-base);--button-type-text-primary: var(--color-text-base);--button-text-base-color: #000000;--button-gray-color: #353535;--radio-text-color: var(--color-text-base);--radio-bg-color: var(--color-bg-2);--radio-active-dot-color: var(--color-text-base);--radio-border-dot-color: inset 0 0 0 1px var(--color-text-base);--check-color-checked: var(--color-text-base);--check-border-checked: 1px solid var(--color-text-base);--switch-active-color: var(--color-primary);--upload-dragger-color: var(--color-bg-2);--tooltip-color-text: var(--color-text-base);--alert-default-bg: var(--color-bg-1);--alert-warning-bg: #4a3c1a;--alert-error-bg: #4a1f1f;--alert-success-text: var(--color-text-base);--alert-error-border: 1px solid var(--color-border);--tag-primary-text-color: var(--color-text-base);--collapse-color: #222222;--collapse-header-bg: var(--color-bg-2);--time-picker-separator-color: #434343;--tabs-panel-color-text: var(--color-text-base);--tabs-border-color: #555555;--tabs-bg: #353535;--tabs-active-bg: var(--color-bg-1);--tabs-active-text-color: var(--color-text-base);--bt-tabs-modal-bg: var(--color-bg-2);--bt-tabs-modal-active-bg: #353535;--bt-tabs-modal-cancel-btn-bg: #353535;--bt-tabs-modal-header-close: brightness(.7) contrast(1.1);--bt-tabs-modal-color: var(--bt-tabs-modal-bg);--bt-tabs-modal-left-active-bg: #353535;--bt-tabs-modal-left-shadow: 2px 0 3px #444444;--confirm-calc-bg: var(--color-bg-1);--progress-rail-color: #444444;--pagination-item-active-border: 1px solid var(--color-border);--pagination-item-active-color: var(--color-text-base);--ace-editor-tip-color: var(--color-text-base);--pre-color-text: var(--color-text-base);--pre-bg-color: var(--color-bg-3);--modal-boxshadow: 0 0 3px 1px rgba(255, 255, 255, .4);--bt-input-path-hover-bg: #353535;--flow-container-bg: var(--color-bg-2);--flow-config-title-color: var(--color-text-base);--home-ad-bg-color: linear-gradient(90deg, #333333 0%, rgba(63, 57, 49, .5) 100%);--home-ad-badge-bg-color: linear-gradient( 270deg, rgba(51, 51, 51, .2) 0%, rgba(236, 188, 152, .2) 100% );--home-overview-btn-color: #181818;--home-soft-bg-color: var(--color-bg-2);--home-soft-bg-hover-color: linear-gradient( 244.14deg, var(--color-bg-2) -1.23%, var(--color-bg-1) 72.39% );--home-soft-border-color: #333333;--home-soft-border-hover-color: var(--color-text-base);--home-monitor-tabs-active-color: var(--color-text-base);--home-risk-overview-circle-bg: var(--color-bg-1);--home-risk-security-list-hover-bg: #333333;--home-risk-security-list-spin-bg: var(--color-bg-3);--home-risk-security-list-collapse-item-color: #999;--home-risk-security-ignore-collapse-bg: var(--color-bg-1);--home-risk-file-info-title-color: var(--color-text-base);--home-risk-file-info-item-color: var(--color-text-base);--home-risk-server-list-bg: var(--color-bg-2);--home-risk-server-list-text: var(--color-text-base);--home-risk-server-list-hover: var(--color-bg-3);--home-update-bg-url: url(/static/vite/images/update-bg-dark-C1Lq73Fm.png);--home-update-title-color: var(--color-text-base);--home-update-content-bg: var(--color-bg-2);--home-update-content-text: #999999;--home-update-detail-bg: var(--color-bg-2);--home-update-detail-date: var(--color-text-base);--home-pro-icon-color: var(--color-text-base);--home-disk-color-warning: #d4941e;--home-disk-color-error: #ec7063;--home-update-latest-bg: var(--color-bg-1);--home-update-latest-border: 1px solid var(--color-border);--home-update-latest-text-color: #999999;--home-update-head-bg: var(--color-bg-1);--home-update-back-bg: none;--home-update-bt-link-color: var(--color-primary);--home-soft-install-bg-color: var(--color-bg-2);--home-soft-install-border-color: var(--color-text-base);--home-success-bg-color: var(--color-bg-1);--home-success-text-color: #333333;--home-risk-security-list-bg: var(--color-bg-2);--home-risk-security-report-bg: var(--color-bg-2);--home-risk-security-report-bg1: var(--color-bg-2);--site-config-ssl-label: var(--color-text-base);--site-config-business-tips: var(--color-bg-2);--site-ace-editor-border: var(--color-border);--site-confirm-calc-box-bg: #333333;--site-detele-content-item-hover-bg: #333333;--site-task-progress-border: var(--color-border);--site-multi-service-rollback-bg: var(--color-bg-2);--site-global-ip-white-ips-bg: var(--color-bg-2);--site-global-ip-white-ips-border: var(--color-bg-2);--data-base-del-input-bg: #353535;--docker-type-list-bg: var(--color-bg-1);--docker-type-list-text: var(--color-text-base);--docker-type-list-active-bg: var(--color-bg-3);--docker-type-list-active-text: var(--color-text-base);--docker-plugin-list-tag-gb: var(--color-bg-1);--docker-plugin-list-tag-tips-bg: var(--color-bg-1);--docker-plugin-list-border: var(--color-border);--app-soft-sort-bg: var(--color-bg-1);--app-soft-sort-active-bg: var(--color-bg-3);--app-soft-sort-hover-color: var(--color-text-base);--app-soft-used-hover: var(--color-bg-3);--app-soft-pro-tips-text: var(--color-primary);--app-soft-pro-tips-bg: var(--router-menu-active-bg);--app-third-security-tip-bg: var(--color-bg-1);--app-plugin-dns-bg: var(--color-bg-3);--app-third-install-tip-bg: var(--color-bg-3);--pay-color: #feaa04;--pay-color-bg: #292929;--pay-color-border: #ecb665;--coupon-bg: url(/static/vite/images/bg_dark-DAtUMkDd.png);--mailserver-overview-bg: var(--color-bg-3);--mailserver-domain-check-tips-bg: var(--color-bg-2);--mailserver-domain-check-box-bg: var(--color-bg-2);--log-type-list-active-bg: var(--color-bg-3);--log-type-list-hover-bg: var(--color-bg-3);--log-type-list-border: var(--color-border);--security-brute-force-tips-bg: var(--color-bg-2);--security-server-safe-progress: var(--color-bg-1);--domains-business-ssl-buy-bg: var(--color-bg-2);--domains-business-ssl-buy-bg-border: #929292;--domains-business-ssl-count-disable: var(--color-bg-3);--domains-lets-ssl-apply-bg: var(--color-bg-2);--domains-lets-ssl-apply-border: var(--color-bg-3);--domains-lets-ssl-upload-border: var(--color-border);--domains-lets-ssl-upload-text: var(--color-bg-2);--setting-card-title-color: var(--color-text-base);--setting-back-create-collapse-border: var(--color-border);--setting-back-create-table-th-bg: #232323;--setting-back-create-collapse-title: var(--color-text-base);--setting-security-panel-port-tips: var(--color-bg-2);--setting-panel-bind-account-left-bg: linear-gradient(0deg, #404440, #202020);--setting-security-google-login-key-bg: var(--color-bg-2);--setting-security-google-login-key-text: var(--color-text-base);--setting-security-google-login-bind-title: var(--color-text-base);--setting-security-google-login-bind-text: var(--color-text-base);--install-box-bg: rgba(114, 114, 114, .333);--install-desc-bg: var(--color-bg-1);--install-box-text-color: var(--color-text-base);--file-choose-hover-color: #333;--file-choose-hover-border-color: #333;--file-card-hover-color: #333;--terminal-head-bg: #666666;--terminal-head-item-close-hover: #666666;--terminal-head-item-hover: #555555;--chart-tooltip-bg-color: #181818;--chart-tooltip-text-color: #c5c5c5;--chart-tooltip-header-bg-color: #121212;--waf-map-color: #353535;--waf-map-border-color: #aaa;--waf-overview-text-color: var(--color-text-3);--nps-box-hover-bg: #353535;--scrollbar-thumb-bg-color: rgba(255, 255, 255, .2);--scrollbar-track-bg-color: rgba(255, 255, 255, 0);--bt-error-modal-bg: var(--color-bg-2);--bt-error-modal-title-color: var(--color-text-base)}.modal-footer-btns{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}*,*:before{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;padding:0}body{line-height:normal;font-size:12px;font-family:PingFang SC,Inter,Microsoft YaHei,Segoe UI,sans-serif;font-weight:400;overflow:hidden}input[type=password]::-ms-reveal{display:none}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none}input[type=number]{-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}a{text-decoration:none;cursor:pointer}p,ul,li,pre{margin:0;padding:0}body,h1,h2,h3,h4,h5,h6,p,ul,ol,label,form{margin:0}ul,li{list-style:none}input{outline:none}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,Courier New,monospace}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h3,h3{font-size:24px}h4,h5,h6{font-size:1em}ul li::marker{display:block;height:100%}mark{padding:0;background:#ff0;color:inherit}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{border-radius:8px;box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:var(--scrollbar-thumb-bg-color)}::-webkit-scrollbar-track{box-shadow:inset 0 0 5px rgba(0,0,0,.2);border-radius:8px;background:var(--scrollbar-track-bg-color)}iframe::-webkit-scrollbar{width:8px;height:8px}iframe::-webkit-scrollbar-thumb{border-radius:8px;box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:var(--scrollbar-thumb-bg-color)}iframe::-webkit-scrollbar-track{box-shadow:inset 0 0 5px rgba(0,0,0,.2);border-radius:8px;background:var(--scrollbar-track-bg-color)}.leader-line{z-index:9999}@font-face{font-family:Glyphicons Halflings;src:url(/static/vite/fonts/glyphicons-halflings-regular-BUJKDMgK.eot);src:url(/static/vite/fonts/glyphicons-halflings-regular-BUJKDMgK.eot?#iefix) format("embedded-opentype"),url(/static/vite/fonts/glyphicons-halflings-regular-BriS8EBr.woff2) format("woff2"),url(/static/vite/fonts/glyphicons-halflings-regular-BKjkU69z.woff) format("woff"),url(/static/vite/fonts/glyphicons-halflings-regular-DrwTMapi.ttf) format("truetype"),url(/static/vite/images/glyphicons-halflings-regular-DSXsy3si.svg#glyphicons_halflingsregular) format("svg")}.glyphicon{position:relative;top:1px;display:inline-block;font-family:Glyphicons Halflings;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-vip:before{content:""}.glyphicon-ok:before{content:""}.n-layout .n-layout-scroll-container{overflow-x:auto}.n-dialog .n-dialog__title{position:relative}.n-form-item .n-form-item-label,.n-button{line-height:normal}.n-divider:not(.n-divider--vertical){margin:0}.n-ellipsis p{display:inline}.n-card{background-color:rgba(var(--n-color),var(--main-content-opacity));box-shadow:0 0 8px rgba(0,0,0,.06)}.n-card.n-card--bordered{border:none}.n-card .n-card-header{display:flex;align-items:center;min-height:48px;padding:0 20px;border-bottom:1px solid var(--color-border)}.n-card .n-card__content{padding:0}.n-alert .n-alert__icon{top:50%;transform:translateY(-50%)}.n-alert .n-alert-body{line-height:16px}.n-radio-group .n-radio{margin-right:16px}.n-radio-group .n-radio:last-of-type{margin-right:0}.n-radio-group .n-radio-button{font-weight:inherit}.n-data-table{font-family:PingFang SC,Microsoft YaHei,Segoe UI,sans-serif}.n-data-table .n-data-table-th{height:34px}.n-data-table .n-data-table-td{height:36px}.n-pagination .n-pagination-prefix{flex:1}.n-tabs.n-tabs--left>.n-tab-pane{padding:var(--n-pane-padding-top) var(--n-pane-padding-right) var(--n-pane-padding-bottom) var(--n-pane-padding-left)}.n-tabs.n-tabs--top>.n-tab-pane{padding:var(--n-pane-padding-top) var(--n-pane-padding-right) var(--n-pane-padding-bottom) var(--n-pane-padding-left)}.n-tabs.n-tabs--top .n-tabs-nav-scroll-content{flex-direction:row}.n-select .n-base-selection--multiple .n-tag{--n-height: 24px;--n-close-size: 14px;font-size:12px}.n-badge.n-badge--dot .n-badge-sup{width:6px;height:6px;min-width:6px;bottom:calc(100% - 3px)}.n-spin-container .n-spin-content{height:100%}.n-base-select-option .n-base-select-option__content{width:100%}.n-data-table .n-data-table-th.n-data-table-th--sortable.sort-center .n-data-table-th__title-wrapper{justify-content:center}.n-data-table .n-data-table-th.n-data-table-th--sortable .n-data-table-th__title-wrapper .n-data-table-th__title{flex:none;min-width:auto}:root{--el-font-size-base: 12px}.el-select .el-select__wrapper{gap:0;min-height:30px;font-size:12px;line-height:22px}.el-select .el-select__wrapper .el-select__selection{margin-right:4px}div.el-alert{--el-alert-padding: 12px;--el-alert-icon-large-size: 20px;--el-alert-description-font-size: 13px;border:1px solid #eee}div.el-alert .el-alert__icon.is-big{margin-right:8px}div.el-alert .el-alert__content{flex:1}.help-info-text{margin-top:15px}.help-info-text li{line-height:24px}#nprogress .bar{background-color:var(--color-primary)}#nprogress .spinner-icon{border-top-color:var(--color-primary);border-left-color:var(--color-primary)}.bt-message pre{display:block;padding:9.5px;margin:10px 0 0;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px;overflow:auto}.bt-error-modal pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:var(--bt-error-modal-title-color);word-break:break-all;word-wrap:break-word;background-color:var(--bt-error-modal-bg);border:1px solid #ccc;border-radius:4px;overflow:auto}.bt-tips-ul li{list-style:disc;margin-left:1.5em}.bt-ask-ico{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border:1px solid #fb7d00;border-radius:8px;color:#fb7d00;font-family:arial;font-size:11px;font-style:normal;text-align:center;cursor:help}.bt-ask-ico:hover{background-color:#fb7d00;color:#fff}button.reset{display:inline-flex;background:none;border:none;padding:0;cursor:pointer;outline:inherit}.bt-link,.btlink{color:var(--color-primary);cursor:pointer}.bt-link:hover,.btlink:hover{color:var(--primary-button-color-hover)}.bt-link.error,.btlink.error{color:#ef0808}.bt-link.error:hover,.btlink.error:hover{color:#c81e1e}.btn-xs{padding:4px 8px;height:auto}.code-toolbar{height:100%}.pre-code[class*=language-]{border:none;margin:0;font-size:14px}.echarts-tooltip{display:flex;flex-direction:column;background-color:var(--chart-tooltip-bg-color);color:var(--chart-tooltip-text-color);border-radius:10px}.echarts-tooltip .formatter-header{display:flex;align-items:center;height:40px;padding:0 16px;background-color:var(--chart-tooltip-header-bg-color);border-top-left-radius:4px;border-top-right-radius:4px}.echarts-tooltip .formatter-header img{margin-right:6px;height:24px;width:24px}.echarts-tooltip .formatter-body{padding:16px 20px}.echarts-tooltip .formatter-body .select-data{display:flex;align-items:center;margin-bottom:8px;font-size:14px}.echarts-tooltip .process-top5{border:1px solid var(--color-border);border-radius:8px}.echarts-tooltip .process-top5 table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px;border-radius:8px;overflow:hidden}.echarts-tooltip .process-top5 table thead{background-color:var(--chart-tooltip-header-bg-color)}.echarts-tooltip .process-top5 table thead th{height:24px;padding:5px 10px;border:0;border-bottom:1px solid var(--color-border);line-height:24px;text-align:left;color:var(--color-text-4)}.echarts-tooltip .process-top5 table tbody tr{height:22px;line-height:22px;text-align:left}.echarts-tooltip .process-top5 table tbody tr:last-child{border-bottom:none}.echarts-tooltip .process-top5 table tbody tr td{padding:4px 10px;border:0;white-space:normal}::view-transition-old(root),::view-transition-new(root){animation:none;mix-blend-mode:normal}::view-transition-old(root){z-index:1}::view-transition-new(root){z-index:9999999}.home-tooltip{min-width:220px;padding:12px;background-color:var(--chart-tooltip-bg-color);color:var(--chart-tooltip-text-color);border-radius:6px}.home-tooltip .time{display:flex;align-items:center;margin-bottom:10px}.home-tooltip .time .icon{width:20px;height:20px;margin-right:6px;background-image:url("data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.99963%207.99994H15.9996'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.9908%202.98676V3.98676'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.99084%202.98676V3.98676'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3crect%20x='2.75'%20y='4.75006'%20width='13.5'%20height='11.5'%20stroke='white'%20stroke-width='1.5'/%3e%3c/svg%3e")}.home-tooltip .home-tooltip-content{display:flex;flex-direction:column;gap:8px}.home-tooltip .home-tooltip-content .item{display:flex;align-items:center;white-space:pre}.home-tooltip .home-tooltip-content .item .icon{display:flex;justify-content:center;width:20px;margin-right:6px}.home-tooltip .home-tooltip-content .item .icon .circular{width:6px;height:6px;border-radius:50%}.home-tooltip .home-tooltip-content .item .text{line-height:20px;color:rgba(255,255,255,.8)} diff --git a/BTPanel/static/vite/css/index-DJYVLAc5.css b/BTPanel/static/vite/css/index-DJYVLAc5.css new file mode 100644 index 00000000..a4eb254b --- /dev/null +++ b/BTPanel/static/vite/css/index-DJYVLAc5.css @@ -0,0 +1 @@ +@charset "UTF-8";.modal-footer-btns[data-v-6be9ab69]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-6be9ab69]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.video-container[data-v-6be9ab69]{display:grid;grid-template-columns:1fr 300px}.video-container .video-list[data-v-6be9ab69]{display:flex;align-items:center;flex-direction:column;justify-content:start;align-items:flex-start;padding:10px;box-sizing:border-box;background:var(--color-modal);width:100%;height:100%}.video-container .video-list .video-item[data-v-6be9ab69]{display:flex;align-items:center;flex-direction:row;justify-content:start;cursor:pointer;width:100%;padding:10px 10px 10px 0;border-radius:4px}.video-container .video-list .video-item[data-v-6be9ab69]:hover,.video-container .video-list .video-item.active[data-v-6be9ab69]{background:#5c5c5c;color:var(--color-text-1)}.modal-footer-btns[data-v-90e8c7cf]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-90e8c7cf]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.upload-area[data-v-90e8c7cf]{width:100%;height:100vh;background:rgba(225,255,255,.3);display:flex;align-items:center;flex-direction:row;justify-content:center}.upload-area .tip[data-v-90e8c7cf]{font-size:50px;color:#fff}.modal-footer-btns[data-v-7045f818]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-7045f818]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.img-wrapper[data-v-7045f818]{width:100%;height:100vh;position:relative}.img-wrapper img[data-v-7045f818]{width:60%;position:absolute;left:50%;top:50%;transition:all .2s ease-in-out;transform:translate(-50%,-50%)}.img-wrapper .tools[data-v-7045f818]{width:300px;padding:20px;display:flex;align-items:center;flex-direction:row;justify-content:space-between;position:absolute;left:50%;margin-left:-150px;bottom:130px;background:rgba(99,96,98,.6);border-radius:50px}.img-wrapper .close-icon[data-v-7045f818]{position:absolute;right:20px;top:20px}.modal-footer-btns[data-v-4b4098ec]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-4b4098ec]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.button-group[data-v-4b4098ec]{display:flex;align-items:center;flex-direction:row;justify-content:space-between;flex-wrap:wrap}.button-group .group-left[data-v-4b4098ec]{display:flex;align-items:center;flex-direction:row;justify-content:start;gap:8px}.button-group .group-left .divider[data-v-4b4098ec]{height:24px;width:1px;background:var(--color-border)}.button-group .group-right[data-v-4b4098ec]{display:flex;align-items:center;flex-direction:row;justify-content:start;gap:8px}.button-group .group-right .view-change[data-v-4b4098ec]{display:flex;align-items:center;flex-direction:row;gap:0;color:var(--color-text-2)}.button-group .group-right .view-change .card[data-v-4b4098ec],.button-group .group-right .view-change .list[data-v-4b4098ec]{width:32px;height:32px;border:1px solid var(--color-border);cursor:pointer;display:flex;align-items:center;flex-direction:row;justify-content:center}.button-group .group-right .view-change .active[data-v-4b4098ec]{border-color:var(--color-primary);background:var(--router-menu-active-bg);color:var(--color-primary)}.button-group .group-right .view-change .card[data-v-4b4098ec]{border-right:none;border-radius:4px 0 0 4px}.button-group .group-right .view-change .list[data-v-4b4098ec]{border-left:none;border-radius:0 4px 4px 0}.button-group .group-right .view-change .line[data-v-4b4098ec]{width:1px;height:32px;background:var(--color-primary)}.button-group[data-v-4b4098ec] .n-button .n-button__content~.n-button__icon{margin-left:0}.button-group .btn-behavior[data-v-4b4098ec] .n-icon-slot{transition:.2s all ease-in-out;transform-origin:center center;transform:translateY(0);top:0}.button-group .btn-behavior[data-v-4b4098ec]:hover .n-icon-slot{transform:rotate(90deg)}.path-list[data-v-ca757f3c]{flex:1;display:flex;border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border);overflow:hidden;cursor:text}.path-list .path-item[data-v-ca757f3c]{display:flex;align-items:center;height:100%;white-space:nowrap;cursor:pointer;transition:background-color .3s cubic-bezier(.4,0,.2,1);flex-shrink:0}.path-list .path-item .path-dir[data-v-ca757f3c]{display:flex;align-items:center;height:100%;padding:0 6px;color:var(--color-text-2)}.path-list .path-item .path-arrow[data-v-ca757f3c]{display:flex;align-items:center;height:100%;padding:0 2px;border-left:1px solid transparent;border-right:1px solid transparent;font-size:14px;transition:border-color .3s cubic-bezier(.4,0,.2,1)}.path-list .path-item .path-arrow.reversal .svg-icon[data-v-ca757f3c]{transform:rotate(180deg)}.path-list .path-item[data-v-ca757f3c]:hover{background-color:var(--file-choose-hover-color)}.path-list .path-item:hover .path-arrow[data-v-ca757f3c]{border-left-color:var(--file-choose-hover-border-color);border-right-color:var(--file-choose-hover-border-color)}.modal-footer-btns[data-v-7bef8870]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-7bef8870]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.filter-tools[data-v-7bef8870]{display:flex;align-items:center;flex-direction:row;justify-content:space-between;gap:10px}.filter-tools .dir-address[data-v-7bef8870]{min-width:150px;max-width:600px}.filter-tools .dir-search[data-v-7bef8870]{min-width:120px;max-width:300px}.filter-tools .dir-search .__input-1cpbmap-m[data-v-7bef8870]{--n-border: 1px solid #2e9a8c;border-right:none}.modal-footer-btns[data-v-8efd67c4]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-8efd67c4]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.operation-wrapper[data-v-8efd67c4]{display:flex;align-items:center;flex-direction:row;justify-content:end;display:inline-flex;gap:8px}.n-data-table[data-v-14098e72]{--n-merged-td-color-hover: var(--color-table-td-hover)}.n-data-table[data-v-14098e72] .active-row{background-color:var(--n-merged-td-color-hover)}.n-data-table[data-v-14098e72] .active-row>.n-data-table-td{background-color:var(--n-merged-td-color-hover)}.n-data-table[data-v-14098e72] .n-data-table-td{height:42px}.file-nm[data-v-14098e72]{cursor:pointer}.modal-footer-btns[data-v-ae5d241c]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-ae5d241c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-list[data-v-ae5d241c]{display:flex;align-content:flex-start;justify-content:flex-start;flex-wrap:wrap;gap:10px;height:100%}.card-list .file-item[data-v-ae5d241c]{width:100px;height:100px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:10px;padding:10px;margin:5px;cursor:pointer;transition:.2s all;border-radius:3px}.card-list .file-item span[data-v-ae5d241c]{text-align:center;display:block;width:100%}.card-list .file-item[data-v-ae5d241c]:hover{box-shadow:0 0 5px rgba(0,0,0,.2)}.card-list .file-item.active[data-v-ae5d241c]{background:var(--file-card-hover-color)}.modal-footer-btns[data-v-a2b87b58]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-a2b87b58]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tabs[data-v-a2b87b58]{box-sizing:border-box;padding:16px 16px 0;overflow:hidden;width:100%}.tabs .tabs-scroll[data-v-a2b87b58]{width:100%;overflow:hidden;position:relative}.tabs .tabs-scroll.has-scroll[data-v-a2b87b58]{padding:0 40px;box-sizing:border-box}.tabs .tabs-scroll .left[data-v-a2b87b58],.tabs .tabs-scroll .right[data-v-a2b87b58]{height:28px;display:flex;align-items:center;flex-direction:row;justify-content:center;cursor:pointer;width:40px;background-color:var(--color-bg-3);position:absolute;top:1px}.tabs .tabs-scroll .left[data-v-a2b87b58]{left:0;box-shadow:2px 0 15px rgba(0,0,0,.6)}.tabs .tabs-scroll .right[data-v-a2b87b58]{right:0;box-shadow:-2px 0 15px rgba(0,0,0,.6)}.tabs .tabs-scroll .scroll-container[data-v-a2b87b58]{width:100%;overflow-x:auto}.tabs .tabs-scroll .scroll-container .tabs-wrapper[data-v-a2b87b58]{height:100%;display:flex;align-items:center;flex-direction:row;justify-content:start;display:inline-flex}.tabs .tabs-scroll .scroll-container .tabs-wrapper .tab-item[data-v-a2b87b58]{width:150px;height:30px;padding:0 10px;background-color:var(--color-bg-3);box-sizing:border-box;border:1px solid var(--color-border);border-right:none;cursor:pointer;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:5px}.tabs .tabs-scroll .scroll-container .tabs-wrapper .tab-item.active[data-v-a2b87b58]{background:var(--color-bg-2)}.tabs .tabs-scroll .scroll-container .tabs-wrapper .tab-item .tab-tit[data-v-a2b87b58]{display:block;max-width:80px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tabs .tabs-scroll .scroll-container .tabs-wrapper .add[data-v-a2b87b58]{width:auto;border-right:1px solid var(--color-border)} diff --git a/BTPanel/static/vite/css/index-DVUvyIhl.css b/BTPanel/static/vite/css/index-DVUvyIhl.css new file mode 100644 index 00000000..7e52e3f8 --- /dev/null +++ b/BTPanel/static/vite/css/index-DVUvyIhl.css @@ -0,0 +1 @@ +[data-v-a9d890df] .n-collapse-item__header-main{margin-left:120px;--n-title-text-color: var(--color-primary)} diff --git a/BTPanel/static/vite/css/index-DVufmHl3.css b/BTPanel/static/vite/css/index-DVufmHl3.css deleted file mode 100644 index 8ccd88c4..00000000 --- a/BTPanel/static/vite/css/index-DVufmHl3.css +++ /dev/null @@ -1 +0,0 @@ -.home-security-file .lastScan-time[data-v-547e1758],.home-security-file .info-title[data-v-547e1758]{color:var(--home-risk-file-info-title-color)}.infoList[data-v-547e1758]{margin-bottom:1.6rem;display:flex;border-radius:.4rem;padding:1.6rem;border:1px solid var(--color-border)}.item-list[data-v-547e1758]{border-right:1px solid var(--color-border)}.item-list[data-v-547e1758]:last-child{border-right:none}.loading-icon[data-v-1a12c317]{position:absolute;width:80px;height:80px;animation:spin 1s linear infinite;--un-bg-opacity:0;background-color:rgb(204 204 204 / var(--un-bg-opacity));border-radius:50%;border:2px solid #20a53a;clip-path:inset(0 20%)}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}[data-v-f7ca8e26] .n-collapse .n-collapse-item .n-collapse-item__header .n-collapse-item__header-main{justify-content:space-between!important}.scrollable[data-v-f7ca8e26]::-webkit-scrollbar{width:10px}.scrollable[data-v-f7ca8e26]::-webkit-scrollbar-track{background:#efefef}.scrollable[data-v-f7ca8e26]::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:10px}.scrollable[data-v-f7ca8e26]::-webkit-scrollbar-thumb:hover{background:#555}.ul-disc[data-v-324ec6f9]{margin-left:1rem}.ul-disc li[data-v-324ec6f9]{list-style-type:disc}.box-protect[data-v-324ec6f9]{align-items:center;border-width:1px;border-color:var(--color-primary);border-radius:9999px;border-style:solid;padding:4px 8px}.switch-box[data-v-b8387ef8]{border-radius:9999px;padding:.5rem 1rem;color:var(--color-text-desc);border:1px solid var(--color-border)}.switch-box-active[data-v-b8387ef8]{border-style:none;background-color:var(--color-primary);--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.card-item{position:relative;width:100%;overflow:hidden;border-radius:8px;background-color:var(--home-risk-security-list-bg);padding:10px}.card-item[data-v-4f1197f4]{z-index:1}.card-item.card-item[data-v-4f1197f4]:after{content:"";position:absolute;right:8px;bottom:8px;width:40px;height:40px;background-size:contain;background-repeat:no-repeat;opacity:.15;filter:brightness(.3) grayscale(1);pointer-events:none}.card-item.card-loophole[data-v-4f1197f4]:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAAA+CAYAAABzwahEAAAO00lEQVR4Ae3gAZAkSZIkSRKLqpm7R0REZmZmVlVVVVV3d3d3d/fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMdHd3d3dXV1VVVVVmZkZGRIS7m5kKz0xmV3d1d3dPz8zMzMxMovgvcvfdd792KeWtbL+27eOSHgzsArdK+mvbP3Pttdf+NP81EP/J7r777veOiK8CjvMv2wW+5tprr/1s/nMh/pPcfffdD5b0XZJem3+9W8dxfJubbrrpr/nPgfhPcMcdd7x013U/BTyYfwfbH3Pdddd9Nf/xEP/B7r777gdHxF8Bx/mP8TbXXnvtT/MfC/Ef6OlPf/rxjY2NvwIezH+c3cx8meuvv/5W/uMg/gPdd99932X7vXkhbP92RPw0sAscB17a9lsDx3kBbP/2dddd9zr8x0H8B7n77rsfHBFP5wX768x8m+uvv/5Wnsvdd9/94FLKZ9l+b16AzHyd66+//rf5j4H4D3Lfffd9le2P5vn76WuvvfZt+Bfce++9nw18Fs+H7d++7rrrXof/GIj/IPfee+/TgQfzvG49Ojp6mYc85CG7vAjuueee35L02jwfR0dHJx7ykIfs8u+H+A9w9913Pzgins7zkZnvc/311383L6K77777wRHxdJ4PSe99zTXXfA//foj/APfee+9bAz/F89q99tprT/CvdM899/yWpNfmuWTm51x//fWfzb8f4j/Afffd9162v5vnIum3r7nmmtfhX+nee+/9LuC9eV7ffe21174P/36I/wB33333Z0fEZ/G8/vraa699Gf6V7r777s+OiM/ief30tdde+zb8+yH+A9x3330fZfureV67mfky119//a28iO6+++4HR8RvAQ/muUj66muuueZj+PdDPMDdd9/92hHxVcBLA39t+3uuu+66r+ZfcN99972X7e/mBZD027ZvlfTgzHwwgKQHA7vArZJ2AWzfCrw1cJznIzM/5/rrr/9s/gX33nvvW9v+KkkPBv7a9vdcd911X82zIZ7p7rvvfnBE/BVwnAfIzNe5/vrrf5sX4r777nsv29/NfzJJ733NNdd8Dy/E3Xff/eCIeDrPJTNf5/rrr/9trkA803333fdRtr+a5/Xd11577fvwQtx9992fHRGfxX8ySe99zTXXfA8vxH333fdRtr+a5/Xd11577ftwBeKZ7rvvvo+y/dU8r7++9tprX4YX4t5773068GD+k0n66muuueZjeCHuu+++77L93jyv77722mvfhysQz3Tfffe9l+3v5nntHh0dPeQhD3nILs/HPffc89GSvor/IrY/5rrrrvtqXoD77rvvt2y/Ns8lMz/n+uuv/2yuQDzT3Xff/eCIeDrPR2Z+zvXXX//ZPJe77777vSPiu/iv9znXXnvtZ/Nc7r777veOiO/i+cjM97n++uu/mysQD3DPPff8lqTX5vkYx/Flbrrppr/mme69997PBj6L/xi3An8NvDZwnBfNd1977bXvwzPdfffdD46I3wIezPNxdHR04iEPecguVyAe4J577vloSV/FCyDpu4Hfzsz3lvTa/Ats/3ZE/DTw0rZfG3gwz4ek377mmmteB+Dee+99a0lvZfu9+Zd9jqSfbq29dUR8FHCc50PSd19zzTXvw7Mhnsu99977V8BL8+9za2a+z/XXX//bPNMdd9zx0l3X/RZwnOci6bevueaa1+EB7r777gdHxE8BL82/z62Z+TrXX3/9rTwb4rnccccdL9113W8Bx/k3kPTVh4eHn/OQhzxkl+dy7733/hTw1jwXSb99zTXXvA7Px7333vvZwGfxb2T7Y6677rqv5jkhno+77777tSPit/hXysz3uf7667+bF+Duu+/+7Ij4LJ6LpN++5pprXocX4I477njprut+CzjOv87nXHvttZ/N80K8AHffffd7R8R38SLKzPe5/vrrv5sX4u677/7siPgsnouk377mmmtehxfijjvueOmu634LOM6L5nOuvfbaz+b5Q7wQ991331fZ/mj+ZZ9z7bXXfjb/grvvvvuzI+KzeC6Sfvuaa655Hf4Fd99992tHxG/xL5D029dcc83r8IIhXoinP/3pxzc2Np4OHOcF++lrr732bXgR3H333Z8dEZ/Fc5H029dcc83r8CK47777vsr2R/NCZObrXH/99b/NC4b4F9xzzz2/Jem1eQEy8yHXX3/9rbwI7r777s+OiM/iuUj67WuuueZ1eBHde++9TwcezPO3e+21157ghUP8C+67776vsv3RPH+fc+211342L6K77777syPis3gukn77mmuueR1eRPfee+9bAz/F8yHpt6+55prX4YVD/Avuvffe7wLem+cjMx9y/fXX38qL6O677/7siPgsnouk377mmmteh3+Fe++99yJwnOdi+9brrrvuIbxwiH/Bfffd91u2X5vn9dPXXnvt2/CvcPfdd392RHwWz0XSb19zzTWvw7/C3Xff/dkR8Vk8r91rr732BC8c4l9w7733XgSO81wy832uv/767+Zf4e677/7siPgsnouk377mmmteh3+Fu++++8ER8XSej8x8yPXXX38rLxjihbjvvvte2vZf8Xxk5kOuv/76W/lXuPvuuz87Ij6L5yLpt6+55prX4V/p3nvvvQgc57lIeu9rrrnme3jBEMDdd9/92ZLeS9KDedHsXnvttSf4V7r77rs/OyI+i+ci6bevueaa1+Ff6Z577vktSa/Ni2ZX0k8fHh5+zEMe8pBd3XvvvZ8NfBb/CpJ++5prrnkd/pXuvvvuz46Iz+K5SPrta6655nX4V7r33nu/C3hv/hVs//Z11133Orr33nufDjyYfwVJv33NNde8Dv9Kd99992dHxGfxXCT99jXXXPM6/Cvdd999X2X7o/lXOjo6OqF77733InCcf52fvvbaa9+Gf6W77777syPis3gukn77mmuueR3+le6+++7PjojP4l9J0svovvvu+yrbH82/zl9fe+21L8O/0t133/3ZEfFZPBdJv33NNde8Dv9K995773cB782/zq3XXnvtQ/T0pz/9+Obm5lfZfm9eRLZvve666x7Cv9Ldd9/92RHxWTwXSb99zTXXvA7/Svfee+9PAW/Ni+6vM/Ntrr/++lvFMz396U8/Pp/PX5rn9OCI+C6ej6OjoxMPechDdvlXuPvuuz87Ij6L5yLpt6+55prX4V/p3nvvfTrwYJ6LpK9urf0Mz+nW66+//lauQLwQT3/6049vbGxc5Pl7m2uvvfan+Ve4++67PzsiPovnIum3r7nmmtfhX+Huu+9+cEQ8necjM1/n+uuv/21eMMS/4N577/0r4KV5LpK++pprrvkY/hXuvvvuz46Iz+K5SPrta6655nX4V7j77rvfOyK+i+fj2muvFS8c4l9w7733fhfw3jyv3aOjo4c85CEP2eVFdPfdd392RHwWz0XSb19zzTWvw7/Cvffe+1fAS/O8/vraa699GV44xL/gvvvu+yrbH83zkZmfc/311382L6K77777syPis3gukn77mmuueR1eRHffffdrR8Rv8XxI+u1rrrnmdXjhEP+Ce++996eAt+b52z06OnrIQx7ykF1eBHffffdnR8Rn8Vwk/fY111zzOryI7r333qcDD+b5sH3rdddd9xBeOMS/4N5773068GBeAElffc0113wML4K77777syPis3gukn77mmuueR1eBPfcc89HS/oqXojMfMj1119/Ky8Y4oW4++673zsivot/2dtce+21P82/4O677/7siPgsnouk377mmmteh3/B3Xff/eCI+CvgOC+EpO++5ppr3ocXDPEC3H333Q+OiL8CjvMv2x3H8XVuuummv+aFuPvuuz87Ij6L5yLpt6+55prX4YW4++67HxwRvwU8mBdBZr7P9ddf/908f4jn4+67735wRPwW8GBedLvjOL7OTTfd9Ne8AHffffdnR8Rn8Vwk/fY111zzOrwAd99994Mj4reAB/OvkJmvc/311/82zwvxXO6+++4HR8RvAQ/m38D2x1x33XVfzfNx7733/hTw1jwX27ded911D+H5uPvuu187In4KOM6/3u44jq9z0003/TXPCfFc7rvvvu+y/d78O0j67tba51x//fW38kx33333gyPit4AH83xk5utcf/31v80zPf3pTz++ubn5WbY/mn+fW4+Ojl7mIQ95yC7PhniAu++++70j4rt4AWz/dkT8NPBg2x/Nv0DSd7fWvicijgNfBTyYF+zWzPyciNjNzJeOiI8CjvPC7QI/DRwH3poXIDM/5/rrr/9sng3xAPfdd99v2X5tnr/Pufbaaz+bZ7r33nu/C3hv/vv8dWa+zfXXX38rwN133/3aEfFTwHGe1+611157gmdDPNPdd9/94Ih4Os+HpO++5ppr3ofncu+993428Fn81/vuo6Ojj3nIQx6yywPcfffd7x0R38XzkZmvc/311/82VyCe6e67737tiPgtno/MfMj1119/K8/HPffc89GSPgs4zn+Nz7n22ms/mxfg3nvvvQgc57lk5udcf/31n80ViGe67777Psr2V/O8/vraa699GV6Iu++++8ER8VvAg/lPYvu3bX/O9ddf/9u8EPfee+93Ae/N8/rua6+99n24AvFM991330fZ/mqe109fe+21b8OL4O67737viPgs4MH8x9nNzI+5/vrrv5sXwX333fdRtr+a5/Xd11577ftwBeKZ7r777teOiN/iuWTm+1x//fXfzb/Cvffe+9bAewFvzb+R7d+OiJ8+PDz8noc85CG7vIjuvvvu146I3+K5ZOb7XH/99d/NFYgHuPfeez8b+CyeSdJXX3PNNR/Dv9Hdd9/9YOC1SymvZfulgZfmBbB9q6S/lvTbrbWfuf7662/l3+jee+/9bOCzeCZJX33NNdd8DM+GeC5Pf/rTj29ubj748PDw1oc85CG7/Ae7++67HwxQSjneWtsFuP7662/lP9jTn/7045ubmw8+PDy89SEPecguz4l/BELP2hbmfebPAAAAAElFTkSuQmCC)}.card-item.card-file[data-v-4f1197f4]:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA7CAYAAAAn+enKAAAJX0lEQVR4Ae3gAZAkSZIkSRKLqpm7R0REZmZmVlVVVVV3d3d3d/fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMdHd3d3dXV1VVVVVmZkZGRIS7m5kKz0xmV3d1d3dPz8zMzMxMou69917zP8/nXHvttZ/Nfzx07733mv+ZPufaa6/9bP5joXvvvdf8z/U511577WfzHwfde++95n+2z7n22ms/m/8Y6N577zXP6Vbgt/mvcxx4a164z7n22ms/m38/dO+995rn9N3XXnvt+/Bf5O67737tiPgt/mWfc+211342/z7o3nvvNc/pu6+99tr34b/I3Xff/doR8Vu8aD7n2muv/Wz+7dC9995rntN3X3vtte/Df5G77777tSPit3jRfc6111772fzboHvvvdc8p+++9tpr34f/InffffdrR8Rv8a/zOddee+1n86+H7r33XvOcvvvaa699H/6L3H333a8dEb/Fv97nXHvttZ/Nvw669957zXP67muvvfZ9+C9y9913v3ZE/Bb/Np9z7bXXfjYvOnTvvfea5/Td11577fvwX+Tuu+9+7Yj4Lf6NMvN1rr/++t/mRYPuvfde85y++9prr30f/ovcfffdrx0Rv8W/UWa+zvXXX//bvGjQvffea57Td1977bXvw3+Ru++++7Uj4rf4N8rM17n++ut/mxcNuvfee81z+u5rr732ffgvcvfdd792RPwW/0aZ+TrXX3/9b/OiQffee695Tt997bXXvg//Re6+++4HA+/NiyAiXgp4ax4gM1/n+uuv/21eNOjee+81z+m7r7322vfhf6D77rvvvWx/Nw+Qma9z/fXX/zYvGnTvvfea5/Td11577fvwP9B99933Xra/mwfIzNe5/vrrf5sXDbr33nvNc/rua6+99n34H+i+++57L9vfzQNk5utcf/31v82LBt17773mOX33tdde+z78D3Tfffe9l+3v5gEy83Wuv/763+ZFg+69917znL772muvfR/+B7rvvvvey/Z38wCZ+TrXX3/9b/OiQffee695Tt997bXXvg//A913333vZfu7eYDMfJ3rr7/+t3nRoHvvvdc8p+++9tpr34f/ge677773sv3dPEBmvs7111//27xo0L333mue03dfe+2178P/QPfdd9972f5uHiAzX+f666//bV406N577zXP6buvvfba9+F/oPvuu++9bH83D5CZr3P99df/Ni8adO+995rn9N3XXnvt+/Df7L777vuq1trXXH/99bfyTPfdd9972f5uHiAzX+f666//bV406N577zXP6buvvfba9+G/0d133/3aEfFbkr77mmuueR+e6b777nsv29/NA2Tm61x//fW/zYsG3XvvveY5ffe11177Pvw3efrTn358Y2Pjr4AHA2TmQ66//vpbAe677773sv3dPEBmvs7111//27xo0L333mue03dfe+2178N/k7vvvvuzI+KzeLZbr7322ocA3Hfffe9l+7t5gMx8neuvv/63edGge++91zyn77722mvfh/8Gd99994Mj4q+A4zxAZr7P9ddf/9333Xffe9n+bh4gM1/n+uuv/21eNOjee+81z+m7r7322vfhv8E999zzW5Jem+d1a2a+TinltWx/Nw+Qma9z/fXX/zYvGnTvvfea5/Td11577fvwX+zuu+9+74j4Ll4ASd8N/Lbt7+YBMvN1rr/++t/mRYPuvfde85y++9prr30f/gs9/elPP76xsfF04DgvRGZ+TkR8Fg+Qma9z/fXX/zYvGnTvvfea5/Td11577fvwX+i+++77Ktsfzb9BZr7O9ddf/9u8aNC9995rntN3X3vtte/Df5G77777tSPit/g3yszXuf7663+bFw269957zXP67muvvfZ9+C9yzz33/Jak1+bfKDNf5/rrr/9tXjTo3nvvNc/pu6+99tr34b/APffc89GSvop/h8x8neuvv/63edGge++91zyn77722mvfh/9kT3/6049vbGw8HTjO8/puSb8NYPu7eSEy83Wuv/763+ZFg+69917znL772muvfR/+k917770/Bbw1z4ek977mmmu+B+Dee+81L0Rmvs7111//27xo0L333mue03dfe+2178N/orvvvvu1I+K3eAEkvfc111zzPQD33nuveSEy83Wuv/763+ZFg+69917znL772muvfR/+kzz96U8/vrGx8VfAg3kBJL33Nddc8z0A9957r3khMvN1rr/++t/mRYPuvfde85y++9prr30f/pPcfffdnx0Rn8ULIem9r7nmmu8BuPfee80L99PXXnvt2/CiQffee695Tt997bXXvg//Ce6+++4HR8RfAcd5ISS99zXXXPM9APfee6/5F2Tm+1x//fXfzb8M3XvvveY5ffe11177PvwnuOeee35L0mvzL5D03tdcc833ANx7773mX3ZrZr7O9ddffysvHLr33nvNc/rua6+99n34D3bvvfe+NfBTvAgkvfc111zzPQD33nuveRFI+uprrrnmY3jh0L333mue03dfe+2178N/oKc//enHNzY2/gp4MC8CSe99zTXXfA/Avffea15EmfmQ66+//lZeMHTvvfea5/Td11577fvwH+i+++77KtsfzYtI0ntfc8013wNw7733mhfdrddee+1DeMHQvffea57Td1977bXvw3+Qu++++7Uj4rf417lV0q0Atl+bf4XMfJ/rr7/+u3n+0L333mue03dfe+2178N/kHvuuee3JL02/3VuzczXuf7662/leaF7773XPKfvvvbaa9+H/wD33HPPR0v6Kv6LSfrua6655n14Xujee+81z+mnM/Nj+HcqpRy3/VvAcf4bSHqZa6655q95Tujee+81//Ps2t4FkPRg/m1uvfbaax/Cc0L33nuv+R9G0ntfc8013wNw7733mn+7z7n22ms/m2dD9957r/kfRtJ7X3PNNd8DcO+995p/u93MfJnrr7/+Vq5A9957r/mf56cz828AIuKz+HeQ9N3XXHPN+3AFuvvuuz+b/yCllGO2P5r/YTLzfa6//vrvBhD/ge67777vsv3e/M9z67XXXvsQAPEf5O67737tiPgt/uf6nGuvvfazxX+Qe++996+Al+Z/sMx8yD8CBkw6Pht+rRIAAAAASUVORK5CYII=)}.card-item.card-intrusion[data-v-4f1197f4]:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA2CAYAAACbZ/oUAAAMWUlEQVR4Ae3gAZAkSZIkSRKLqpm7R0REZmZmVlVVVVV3d3d3d/fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMdHd3d3dXV1VVVVVmZkZGRIS7m5kKz0xmV3d1d3dPz8zMzMxMoniAe++997OB9wIezL/BtddeK/6D3X333Z8dEZ/Fv4Ht356m6WNuuummv+YKxDPdfffdrx0Rv8W/w7XXXiv+g919992fHRGfxb/drddee+1DuALxTPfee+93Ae/Nv8O1114r/oPdfffdnx0Rn8W/Q2a+zvXXX//bAOKZ7r333u8C3pt/h2uvvVb8B7v77rs/OyI+i3+HzHyd66+//rcBxDPde++93wW8N/8O1157rfgPdvfdd392RHwW/w6Z+TrXX3/9bwOIZ7r33nu/C3hvntOtmfk9vIiuv/76z+Y/2N133/3awGvzIiilHLP90TyXzHyd66+//rcBxDPde++93wW8Nw8g6bevueaa1+F/ibvvvvvBEfF0nktmvs7111//2wDime69997vAt6bB5D029dcc83r8B/k6U9/+vH5fH68lHK8tbYLcP3119/Kf5C77777wRHxdJ5LZr7O9ddf/9sA4pnuvffe7wLemweQ9NvXXHPN6/BvdN9997008FrAW9t+aeA4z99fS/rt1trPrFarv37IQx6yywtx9913v/f111//3TyXu++++8ER8XSeS2a+zvXXX//bAOKZ7r333u8C3psHkPTb11xzzevwr3T33Xe/d0R8FPDS/OvtSvru1trXXH/99bfyXO64446X7rrut6699toTPJe77777wRHxdJ5LZr7O9ddf/9sA4pnuvffe7wLemweQ9NvXXHPN6/Aiuvvuu987Ij4LeDD/ATLzc1ar1Vc/5CEP2QV4+tOffnxjY+OvgAdn5kOuv/76W3mAu++++8ER8XSeS2a+zvXXX//bAOKZ7r333u8C3psHkPTb11xzzevwL3j6059+fHNz86tsvzf/wTLzda6//vrfBrjvvvu+yvZHA2Tm61x//fW/zQPcfffdD46Ip/NcMvN1rr/++t8GEM907733fhfw3jyApN++5pprXocX4u67735wRPwW8GD+4/30tdde+zYAd99992tHxG/xbG9z7bXX/jQPcPfddz84Ip7Oc8nM17n++ut/G0A807333vtdwHvzAJJ++5prrnkdXoC77777wRHxW8CD+Zf9dGb+TSnlYmvtbyLiuKRjwEtn5ktLem2e025mvsz1119/69Of/vTjGxsbfwU8mGeS9NHXXHPN1/AAd99994Mj4uk8l8x8neuvv/63AcQz3Xvvvd8FvDcPIOm3r7nmmtfh+Xj6059+fGNj46+AB/OC3ZqZn7NarX76IQ95yC4vxNOf/vTj8/n8oyPio4Djtj/muuuu+2qAe++996eAt+YBMvNzrr/++s/mAe6+++4HR8TTeS6Z+TrXX3/9bwOIZ7r33nu/C3hvHkDSb19zzTWvw3N5+tOffnxjY+O3gJfm+bvV9tdcd911X82/0tOf/vTjm5ubb3XNNdd8D8A999zz0ZK+iuf13ddee+378AB33333gyPi6TyXzHyd66+//rcBxDPdfffd7x0Rr8UD2P6b66677qt5Lvfdd99X2f5onr+/zsy3uf7662/l3+nuu+9+cET8FXCc53VrZr7P9ddf/9s809Of/vTjGxsbX8VzyczPuf76628FEP9Kd9xxx0t3XfdXPH9/fXR09DoPechDdvkPcO+99/4V8NK8ELZ/2/b7XH/99bfyL0P8K91zzz2/Jem1eV5/fXR09DoPechDdvkPcN99932V7Y/mRbObmV+zWq2++iEPecguLxjiX+Huu+9+7Yj4LZ6PzHyd66+//rf5D3D33Xe/dkT8Fv96t2bm+1x//fW/zfOH+Fe47777vsr2R/NcJH31Nddc8zH8B3j6059+fGNj46+AB/Ov99eSdqdp+pobbrjhp3leiH+Fe++99yJwnOe0e3R09JCHPOQhu/wHuPfee78LeG9esF3gVuDWzPybiPhrSbdec801f82/DPEiuu+++17a9l/xXCR99TXXXPMx/Ae4++673zsivosrdiX9NfDXwK2ttb8ppexec801f82/HeJFdN99932U7a/muWTm61x//fW/zX+Ae++9960zc3e1Wv31Qx7ykF3+4yGAu++++8GllLdqrZ3gBZD0WsCDeS62v4f/4UopTz88PPyZhzzkIbu6++673zsivov/+/762muvfRndc889T5f0YP4fyMz30b333nsROM7/A5I+Wvfdd9932X5v/h/IzNfR05/+9OObm5tfZfutgeP83/TXwOdce+21Py1eRHffffdnS3ovnovt17n++utv5b/A3Xff/dmS3ovnslwuX+YhD3nILv8yxIvo3nvvfWvgp3gukr76mmuu+Rj+C9x7770XgeM8p7++9tprX4YXDeJFdPfddz84Ip7O87r12muvfQj/ye6+++7Xjojf4rlI+uprrrnmY3jRIP4V7r333r8CXprnkpmvc/311/82/4nuvffenwLemueSma9z/fXX/zYvGsS/wt133/3eEfFdPK9br7322ofwn+SOO+546a7r/orntXvttdee4EWH+Fe4++67HxwRfwUc53l9zrXXXvvZ/Ad7+tOffnxjY+O3gJfmuWTm51x//fWfzYsO8a907733fjbwWTx/b3Pttdf+NP+B7r333u8C3pvndevR0dHLPOQhD9nlRYd4pqc//enH5/P5cZ7L9ddffyvP5d5773068GCe167tz7nuuuu+mn+npz/96cc3Nze/yvZ783xk5vtcf/31381zufvuux/Mc1mtVrsPechDdgHEM913332/Zfu1eQBJv33NNde8Ds/ljjvueOmu6/6KF0DSV19zzTUfw7/R3Xff/eCI+C3gwTx/333ttde+D8/l7rvvfu2I+C2eS2a+zvXXX//bAOKZ7rvvvt+y/do8gKTfvuaaa16H5+Pee+/9bOCzeAFs/7btz7n++ut/m3+Fe++997OBjwKO8/zdenR09DIPechDdnkud99992tHxG/xXDLzda6//vrfBhDPdN999/2W7dfmAST99jXXXPM6vAD33nvvZwOfxQth+7dt/04p5aevueaav+a5PP3pTz8+n89fupTyXrZfG3gwL9itmfk6119//a08H3ffffdrR8Rv8Vwy83Wuv/763wYQz3Tffff9lu3X5gEk/fY111zzOrwQ995772cDn8WLZtf2bkTcCpCZD5b0YF40t2bm61x//fW38gLcfffdrx0Rv8VzyczXuf76638bQDzTfffd91u2X5sHkPTb11xzzevwL7jnnns+WtJnAcf5T2D7t22/z/XXX38rL8Tdd9/92hHxWzyXzHyd66+//rcBxDPdd999v2X7tXkASb99zTXXvA4vgjvuuOOla61fJem1+Y/1Oddee+1n8yK4++67Xzsifovnkpmvc/311/82gHim++6777dsvzYPIOm3r7nmmtfhX+Huu+9+74j4LODB/DtI+u7W2udcf/31t/Iiuvvuu187In6L55KZr3P99df/NoB4pvvuu++3bL82DyDpt6+55prX4d/g7rvvfu2IeC/grYHjvGj+OjO/Bvjt66+//lb+le6+++7Xjojf4rlk5utcf/31vw0gnum+++77LduvzQNI+u1rrrnmdfh3uu+++14aeKnW2kMi4kE8k6Td1tol4LdXq9VfP+QhD9nl3+Huu+9+7Yj4LZ5LZr7O9ddf/9sA4pnuu+++37L92jyApN++5pprXof/Je6+++7Xjojf4rlk5utcf/31vw0gnum+++77LduvzQNI+u1rrrnmdfhf4u67737tiPgtnktmvs7111//2wDime67777fsv3a/Dtce+214j/Y3Xff/dkR8Vn8O2Tm61x//fW/DSCe6b777vst26/Nv8O1114r/oPdfffdnx0Rn8W/Q2a+zvXXX//bAOKZ7rvvvt+y/dr8O1x77bXiP9jdd9/92RHxWfw7ZObrXH/99b8NIJ7pvvvu+y7b782/w7XXXiv+g919992fHRGfxb9DZj7k+uuvvxVAPNPdd9/94Ij4LeDB/Btde+214j/Y3Xff/dkR8Vn8233Otdde+9lcwT8CmwRUqkDW82gAAAAASUVORK5CYII=)}.card-item.card-risk[data-v-4f1197f4]:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAA9CAYAAAAAq1FaAAAL8ElEQVR4Ae3gAZAkSZIkSRKLqpm7R0REZmZmVlVVVVV3d3d3d/fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMdHd3d3dXV1VVVVVmZkZGRIS7m5kKz0xmV3d1d3dPz8zMzMxMovhPdPfdd792RHwV8NLAT2fmx1x//fW38h8PAPGf5O67735wRDydB7D929ddd93r8B8PAPGf5N5773068GCei+2Pue66676a/1gAiP8E995772cDn8Xzt5uZL3P99dffyn8cAMR/sDvuuOOlu677K164W4+Ojl7mIQ95yC7/MQAQ/4HuvvvuB0fEbwEP5l9g+7evu+661+E/BgDiP8jdd9/94Ij4LeDBvOi++9prr30f/v0AEP8B7rjjjpfuuu63gOM8f7vAcZ6/vz46OnqdhzzkIbv82wEg/p3uueeej5b0WcBxnr/POTo6+uqNjY3fAl6a5+/WzHyd66+//lb+bQAQ/0Z33333gyV9l6TX5gX77muvvfZ9AO6+++4HR8RvAQ/mBfuca6+99rP51wNA/Cs9/elPPz6fzz86Ij4KOM4L9t3XXnvt+/AAd99994Mj4reAB/OC3ZqZn3P99dd/Ny86AMSL6O67737tUspb2X5v4Dgv3Hdfe+2178Pzcffddz84In4LeDAv3K2Svrq19jPXX3/9rbxwAIjn4+lPf/rxzc3NBwOvZfulgbcGjvMisP0x11133VfzQjz96U8/vrm5+Vm2P5oXzV9L+m3bvyPp1muuueaveU4ACODuu+/+bEnvJek4cJx/m1sz832uv/763+ZFdM8993y0pI8CHsy/ge1bI+LW1tr3XH/99d+te++997OBz+LfITM/Z7VaffVDHvKQXf6V7r777geXUj7L9nvzb0dmvo7uvffei8Bx/vV2M/NrgO++/vrrb+Xf6e67737tUspn2X5t/vWQ9NW69957zb+C7Vttf89qtfrqhzzkIbv8C+6+++7XLqW8VGvtZ66//vpb+RfcfffdDy6lfJbttwaO86IB+G7de++95oXbtf3XEfHXrbWfuf7663+bF9G99977XcB780y2P+a66677al5E995771tLei3gpW2/Ni8YwHfr3nvvNc/rr4HPycy/vv7662/l3+Dee+99a+CneE6711577Qn+je67776Xtv1g4LuA4zwbwHfr3nvvNc/ru6+99tr34d/hvvvu+y7b781zOTo6OvGQhzxkl3+He+655+mSHsyzAXy37r33XvO8vvvaa699H/6Nnv70px/f2Ni4yPO69dprr30I/0733HPP0yU9mGcD+G7de++95nl997XXXvs+/Bvdfffd7x0R38VzkfTR11xzzdfw73TPPfc8XdKDeTaA79a9995rntd3X3vtte/Dv9F99933W7Zfm+eSmQ+5/vrrb+Xf6Z577nm6pAfzbADfrXvvvdc8r+++9tpr34d/g7vvvvvBEfF0nouk377mmmteh/8A99xzz9MlPZhnA/hu3Xvvvea5SPrqa6655mP4N7j77rvfOyK+i+eSme9z/fXXfzf/Ae65556nS3owzwbw3br33nvNc8nMz7n++us/m3+De++996+Al+a5ZOZDrr/++lv5D3DPPfc8XdKDeTaA79a9995rnoukr77mmms+hn+lu++++8ER8XSei6Tfvuaaa16H/yD33HPP0yU9mGcD+G7de++9F4HjPKfvvvbaa9+Hf6X77rvvq2x/NM8lM9/n+uuv/27+g9x7770XgeM8G8B365577nm6pAfznH762muvfRv+le69996nAw/muUj66tbaJZ5LRPz1tdde+9P8K917773mOZGZn6N77733r4CX5gFs33rdddc9hH+Fu++++7Uj4rf417v16OjoZR7ykIfs8iK4++67HxwRT+c5kZmfo3vvvfengLfmAWzfet111z2Ef4X77rvvq2x/NP8Gmfk5119//WfzIrj77rtfOyJ+i+eEpPfWfffd91W2P5rncu2114p/hXvvvfe7gPfm30DSV19zzTUfw4vg7rvvfu2I+C2eE5n5Orrvvvs+yvZX81wy83Wuv/763+ZFdO+997418FP8G2Tm+1x//fXfzYvg7rvv/uyI+CyeE5n5EN19992vHRG/xXOR9NHXXHPN1/CvcO+993428FHAcV50u0dHRw95yEMessuL4L777vst26/Nc9q99tprT+jpT3/68Y2NjYs8F9u/fd11170O/wZ33333g3kukt5K0lfzXCR99zXXXPM+vIjuvfde81wk/fY111zzOgK45557ni7pwTyn3WuvvfYE/0HuvffenwLemueSma9z/fXX/zYvgrvvvvu1I+K3eC6Z+TnXX3/9Zwvgvvvu+yrbH81zyczXuf7663+bf6e77777wRHxdJ7Xrddee+1DeBHdd99932X7vXkumfk6119//W8L4O67737tiPgtntdPX3vttW/Dv9Pdd9/93hHxXTyXzHyf66+//rt5Ed17771PBx7Mc7r12muvfQiAeKZ77733InCc53J0dHTiIQ95yC7/Dvfee+/TgQfzXDLzIddff/2tvAjuvvvu946I7+K5SPrua6655n0AxDPdfffdnx0Rn8VzkfTV11xzzcfwb3T33Xe/dkT8Fs9F0ndfc80178OL6N5773068GCeS2a+zvXXX//bAOKZnv70px/f2Ni4yPORmQ+5/vrrb+Xf4L777vsu2+/N83qba6+99qd5Edx9993vHRHfxfO69dprr30IAIB4gPvuu++7bL83z8X2b1933XWvw7/S05/+9OMbGxsXeV63XnvttQ/hRXD33Xc/OCJ+C3gwzyUz3+f666//bgAA8QB33333gyPir4DjPBfbH3Pdddd9Nf8Kd99993tHxHfxXCR99TXXXPMxvAjuvffenwLemud167XXXvsQrgBAPJe77777syPis3g+xnF8mZtuuumveRHde++9PwW8Nc8lMx9y/fXX38q/4N577/1s4LN4PiS9zDXXXPPXXAGAeC5Pf/rTj29sbPwV8GCe162Z+TrXX3/9rbwI7r333u8C3psHkPTb11xzzevwL7j77rvfOyK+i+dD0ndfc80178OzASCej7vvvvu1I+K3eP5uzczXuf7662/lX3D33Xe/dkT8Fs/pba699tqf5oW499573xr4KZ6/W4+Ojl7mIQ95yC7PBoB4Ae65556PlvRVPH+3ZubrXH/99bfyL7j33nvfOjOPR8RbZebXXH/99b/NC3H33Xe/dkT8FHCc5yMzH3L99dffynMCQLwQ995773cB783zd2tmvs71119/K/9B7rnnno+W9FW8YJ9z7bXXfjbPCwDxL7jnnnt+S9Jr8/zt2v6c66677qv5d7r33ns/G/gsXrDPufbaaz+b5w8A8S94+tOffnxjY+O3gJfmBfuca6+99rP5N3j6059+fGNj47uAt+YF+5xrr732s3nBABAvgqc//enHNzY2fgt4aV4A279t+32uv/76W3kR3X333a8dEd8FPJgX7HOuvfbaz+aFA0C8iJ7+9Kcf39jY+C7grXnBbs3Mz7n++uu/m3/Bfffd91W2P5oX7nOuvfbaz+ZfBoD4V7r33ns/G/gsXghJ391a+5zrr7/+Vp7L3Xff/doR8VXAS/OC7QLvc+211/40LxoAxL/BPffc89GSvooX7tbM/Jzrr7/+uwGe/vSnH9/c3Pws2x/NC3drZr7O9ddffysvOgDEv9Hdd9/94Ij4LeDBvBC2f1vS1wBfBTyYF8L2by+Xy7d5yEMessu/DgDi3+HpT3/68c3Nza+y/d78++za/pzrrrvuq/m3AUD8B7j77rvfOyI+C3gw/0q2f9v2+1x//fW38m8HgPgPcvfddz+4lPJZtt+bF82u7c+57rrrvpp/PwDEf7B77733rYGvAh7MC2D7t22/z/XXX38r/zEAEP9J7r333s8GPovntJuZH3P99dd/N/+xABD/ie6+++4Hl1I+y/bxzPyb1Wr11Q95yEN2+Y8HwD8CA04iRRtNV6YAAAAASUVORK5CYII=)}.card-item.card-server[data-v-4f1197f4]:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAKKUlEQVR4Ae3gAZAkSZIkSRKLqpm7R0REZmZmVlVVVVV3d3d3d/fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMdHd3d3dXV1VVVVVmZkZGRIS7m5kKz0xmV3d1d3dPz8zMzMxMovj/BfFMT3/6049vbm6+V2vtBP+HlFIuttZ+5vrrr78VQAB33333gyPir4Dj/N+0e3R09JCHPOQhuwK47777Psr2V/N/mKSPvuaaa75GAHffffdnR8Rn8X9YZn7O9ddf/9kCuPvuuz87Ij6L/8My83Ouv/76zxbA3Xff/dkR8Vk8wLXXXiv+F7v33nvNA2Tm51x//fWfLYC77777syPis3iAa6+9Vvwvdu+995oHyMzPuf766z9bAHffffdnR8Rn8QDXXnut+F/s3nvvNQ+QmZ9z/fXXf7YA7r777s+OiM/iAa699lrxTPfee695gMz8nIj4LB4gMz/n+uuv/2z+h7j33nvNA2Tm51x//fWfLYC77777syPis3iAa6+9VjzTvffeax4gMz8nIj6LB8jMz7n++us/m/9g99xzz1dHxEvxovuYa6655q/vvfde8wCZ+TnXX3/9Zwvg7rvv/uyI+Cwe4NprrxXPdO+995oHyMzPiYjP4gEy83Ouv/76z+Y/2H333fdbtl+bF1Fmvs7111//2/fee695gMz8nOuvv/6zBXD33Xd/dkR8Fg9w7bXXime69957zQNk5udExGfxAJn5Oddff/1n8x/svvvu+y3br82LKDNf5/rrr//te++91zxAZn7O9ddf/9kCuPvuuz87Ij6LB7j22mvFM917773mATLzcyLis3iAzPyc66+//rP5D3bffff9lu3X5kWUma9z/fXX//a9995rHiAzP+f666//bAHcfffdnx0Rn8UDXHvtteKZ7r33XvMAmfk5EfFZPEBmfs7111//2fwHu+eee746Il6KF93HXHPNNX997733mgfIzM+5/vrrP1sAd99992dHxGfxANdee614pnvvvdc8QGZ+TkR8Fg+QmZ9z/fXXfzb/Q9x7773mATLzc66//vrPFsDdd9/92RHxWTzAtddeK/4Xu/fee80DZObnXH/99Z8tgLvvvvuzI+KzeIBrr71W/C927733mgfIzM+5/vrrP1sAd99992dHxGfxANdee634X+zee+81D5CZn3P99dd/tgDuvvvuz46Iz+L/sMz8nOuvv/6zBXD33Xd/dkR8Fv+HZebnXH/99Z8tgLvvvvuzI+Kz+D8sMz/n+uuv/2wB3H333Z8dEZ/F/2GZ+TnXX3/9Zwvg7rvv/uyI+CweIDM/h//FIuKzeIDM/Jzrr7/+swVw9913f3ZEfBYPcO2114r/xe69917zAJn5Oddff/1nC+Duu+/+7Ij4LB7g2muvFf+L3XvvveYBMvNzrr/++s8WwN133/3ZEfFZPMC1114r/he79957zQNk5udcf/31ny2Au++++7Mj4rN4gGuvvVY807333mseIDM/JyI+iwfIzM+5/vrrP5v/Ie69917zAJn5Oddff/1nC+Duu+/+7Ij4LB7g2muvFc907733mgfIzM+JiM/iATLzc66//vrP5j/YPffc89UR8VK86D7mmmuu+et7773XPEBmfs7111//2QK4++67PzsiPosHuPbaa8Uz3XvvveYBMvNzIuKzeIDM/Jzrr7/+s/kPdt999/2W7dfmRZSZr3P99df/9r333mseIDM/5/rrr/9sAdx9992fHRGfxQNce+214pnuvfde8wCZ+TkR8Vk8QGZ+zvXXX//Z/Ae77777fsv2a/MiyszXuf7663/73nvvNQ+QmZ9z/fXXf7YA7r777s+OiM/iAa699lrxTPfee695gMz8nIj4LB4gMz/n+uuv/2z+g913332/Zfu1eRFl5utcf/31v33vvfeaB8jMz7n++us/WwB33333Z0fEZ/EA1157rXime++91zxAZn5ORHwWD5CZn3P99dd/Nv/B7rnnnq+OiJfiRfcx11xzzV/fe++95gEy83Ouv/76zxbA3Xff/dkR8Vk8wLXXXiue6d577zUPkJmfExGfxQNk5udcf/31n83/EPfee695gMz8nOuvv/6zBXD33Xd/dkR8Fg9w7bXXiv/F7r33XvMAmfk5119//WcL4O677/7siPgsHuDaa68V/4vde++95gEy83Ouv/76zxbA3Xff/dkR8Vk8QGZ+Dv+LRcRn8QCZ+TnXX3/9Zwvg7rvv/uyI+Cz+D8vMz7n++us/WwB33333Z0fEZ/F/WGZ+zvXXX//ZArj77rs/OyI+i//DMvNzrr/++s8WwN133/3ZEfFZ/B+WmZ9z/fXXf7YA7r777s+OiM/iAa699lrxv9i9995rHiAzP+f666//bAHcfffdnx0Rn8UDXHvtteJ/sXvvvdc8QGZ+zvXXX//ZArj77rs/OyI+iwe49tprxf9i9957r3mAzPyc66+//rMFcPfdd392RHwWD3DttdeK/8Xuvfde8wCZ+TnXX3/9Zwvg7rvv/uyI+Cwe4NprrxXPdO+995oHyMzPiYjP4gEy83Ouv/76z+Z/iHvvvdc8QGZ+zvXXX//ZArj77rs/OyI+iwe49tprxTPde++95gEy83Mi4rN4gMz8nOuvv/6z+Q92zz33fHVEvBQvuo+55ppr/vree+81D5CZn3P99dd/tgDuvvvuz46Iz+IBrr32WvFM9957r3mAzPyciPgsHiAzP+f666//bP6D3Xfffb9l+7V5EWXm61x//fW/fe+995oHyMzPuf766z9bAHffffdnR8Rn8QDXXnuteKZ7773XPEBmfk5EfBYPkJmfc/311382/8Huu+++37L92ryIMvN1rr/++t++9957zQNk5udcf/31ny2Au++++7Mj4rN4gGuvvVY807333mseIDM/JyI+iwfIzM+5/vrrP5v/YPfdd99v2X5tXkSZ+TrXX3/9b997773mATLzc66//vrPFsDdd9/92RHxWTzAtddeK57p3nvvNQ+QmZ8TEZ/FA2Tm51x//fWfzX+we+6556sj4qV40X3MNddc89f33nuveYDM/Jzrr7/+swVw9913f3ZEfBYPcO2114pnuvfee80DZObnRMRn8QCZ+TnXX3/9Z/M/xL333mseIDM/5/rrr/9sAdx9992fHRGfxQNce+214n+xe++91zxAZn7O9ddf/9kCuPvuuz87Ij6LB7j22mvF/2L33nuveYDM/Jzrr7/+swVw9913f3ZEfBb/h2Xm51x//fWfLYC77777syPis/g/LDM/5/rrr/9sAdx3330fZfur+T9M0kdfc801XyOApz/96cc3NjaeDhzn/6bdzHyZ66+//lbxTHffffeDSylv1Vo7wf8hpZSLh4eH3/OQhzxkF0D8/8I/Ag3Z92qElp8/AAAAAElFTkSuQmCC)}.card-item.card-tamper[data-v-4f1197f4]:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAJj0lEQVR4Ae3gAZAkSZIkSRKLqpm7R0REZmZmVlVVVVV3d3d3d/fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMdHd3d3dXV1VVVVVmZkZGRIS7m5kKz0xmV3d1d3dPz8zMzMxMovj/BfH/C+L/F8T/L4j/XxDA05/+9OOLxeKnJL00cJz/W3Yl/fTh4eHHPOQhD9kVwL333vtTwFvzf5jt377uuuteRwD33nvvReA4/7ftXnvttScEcO+995r/B6699loJ4N577zUPkJnvA9zK/2IRcRz4KR7g2muvlQDuvfde8wCZ+ZDrr7/+Vv4Xu/vuux8cEU/nAa699loJ4N577zUPkJkPuf7662/lf7G77777wRHxdB7g2muvlQDuvfde8wCZ+ZDrr7/+Vp7pjjvueOmu6z4LIDM/5vrrr7/1vvvu+yrb7y3pu6+55pqPefrTn358c3Pzs4CXbq29z/XXX38rL8Add9zx0rXWr5L02vwHkfTbrbX3uf76628FuPvuux8cEU/nAa699loJ4N577zUPkJkPuf7662/lme69996nAw8GyMzPKaX8tO2/4pkkvUxr7aUj4rsAbN963XXXPYQX4N577/0r4KX5Dybpq6+55pqPAbj77rsfHBFP5wGuvfZaCeDee+81D5CZD7n++utv5Znuueeep0t6MICkr26tfU1EPJ1nyszXKaW8lO2v5opbr7322ofwAtxzzz1Pl/Rg/oNJ+u5rrrnmfQDuvvvuB0fE03mAa6+9Vnr6059+fGNj4yLP6Q2uvfbaX+eZ7rjjjpfuuu67bO/afp/rr7/+1nvvvfezgY8Cfvraa699n6c//enHNzc3v8r28XEcP+emm276a16Ae+6556MlfRZwnP84t2bm61x//fW3Atx7771vDfwUD5CZD9Hdd9/92hHxWzxAZn7O9ddf/9n8J7v77rsfzH+Q66+//lYe4O677/7siPgsHiAzX0d33333a0fEb/EAmfk5119//Wfzv9jdd9/92RHxWTxAZr6O7r777teOiN/iASR9d2vte/hfrJTyXrbfmwfIzNfR3Xff/doR8Vv8P5CZr6O77777tSPit/h/IDNfR3ffffdrR8Rv8f9AZr6O7r777teOiN/i/4HMfB3dfffdrx0Rv8UDZObnXH/99Z/N/2J33333Z0fEZ/EAmfk6uvvuu187In6LB8jMz7n++us/m//F7r777s+OiM/iATLzdXT33Xe/dkT8Fg+QmZ9z/fXXfzb/i919992fHRGfxQNk5uvo7rvvfu2I+C0eIDM/5/rrr/9s/he7++67PzsiPosHyMzX0d133/3aEfFbPEBmfs7111//2fwvdvfdd392RHwWD5CZr6O77777tSPit3iAzPyc66+//rP5X+zuu+/+7Ij4LB4gM19Hd99992tHxG/xAJn5Oddff/1n8z/M3Xff/eBSymcBD7b90lxxq6Tfbq19zfXXX38rz3T33Xe/dkT8Fg9wdHR0QnffffdrR8Rv8QCZ+TnXX3/9Z/M/xNOf/vTjm5ubX2X7vXkhbP/2crl8m4c85CG7APfcc89HS/osYDczP+f666//bt19992vHRG/xQNk5udcf/31n83/AE9/+tOPb2xs/Bbw0rxo/vro6Oh1HvKQh+zyvNDdd9/92hHxWzxAZn7O9ddf/9n8D3DPPff8lqTX5l9B0ndfc80178PzQnffffdrR8Rv8QCZ+TnXX3/9Z/Pf7O67737tiPgtnouk726tfU9EHJf0WrY/muci6WWuueaav+Y5obvvvvu1I+K3eIDM/Jzrr7/+s/lvdu+9934X8N48QGvtbW644Yaf5gHuueeej5b0VTynn7722mvfhueE7r777teOiN/iATLzc66//vrP5r/ZPffc83RJD+bZfvraa699G56Pe++996eAt+bZ/vraa699GZ4Tuvvuu187In6LB8jMz7n++us/m/9m9957r3mAzPyc66+//rN5Pu6+++7PjojP4gGuvfZa8ZzQ3Xff/doR8Vs8QGZ+zvXXX//Z/De5++673zsiXgt4b57TXwN/zfP30sBL85y+GyAzf+f666//bgDdfffdrx0Rv8UDZObnXH/99Z/Nf4P77rvvt2y/Nv/BJH31Nddc8zG6++67XzsifosHyMzPuf766z+b/2L33XffS9v+K/6TZOZDdPfdd792RPwWD5CZn3P99dd/Nv/F7r777s+OiM/iP0lmvo7uvvvu146I3+IBMvNzrr/++s/mv9jdd9/92RHxWfwnyczX0d133/3aEfFbPEBmfs7111//2fwXu/vuuz87Ij6LB5D01a21r+FfqZTyUbY/mgfIzNfR3Xff/doR8Vs8QGZ+zvXXX//Z/Be7++67PzsiPosHyMzPuf766z+bf6W77777syPis3iAzHwd3X333a8dEb/FA2Tm51x//fWfzX+xu++++7Mj4rN4gMz8nOuvv/6z+Ve6++67PzsiPosHyMzX0d133/3aEfFbPEBmfs7111//2fwXu/vuuz87Ij6LB8jMz7n++us/m3+lu++++7Mj4rN4gMx8Hd19992vHRG/xQNk5udcf/31n81/sbvvvvuzI+KzeIDM/Jzrr7/+s/lXuvvuuz87Ij6LB8jM19Hdd9/92hHxWzxAZn7O9ddf/9n8F7v77rs/OyI+iwfIzM+5/vrrP5t/pbvvvvuzI+KzeIDMfB3dfffdrx0Rv8UDZObnXH/99Z/Nf7G77777syPis3iAzPyc66+//rP5V7r77rs/OyI+iwfIzNfR3Xff/doR8Vs8QGZ+zvXXX//Z/Be7++67PzsiPosHyMzPuf766z+bf6W77777syPis3iAzHwd3X333a8dEb/FA0j67dba7/Cf79brr7/+u3mmu++++7Mj4rN4AEm/3Vr7Hf6VSimvZfu1eYDMfB3dfffdrx0Rv8V/E0nffc0117wPwN133/3ZEfFZ/CfJzNfR3Xff/doR8Vv8N5L0Mtdcc81f33333e8dEd/FfxJJL6O77777wRHxdP4bHR0dnXjIQx6ye/fddz84Ip7Of5Kjo6MTArj77rvfOyK+i/8en3Pttdd+Ns90zz33fLSkr+I/WGa+z/XXX//d4pme/vSnH5/P5y/Nf61br7/++lt5Lk9/+tOPz+fztwYezL/frcBvX3/99bcCiP9fEP+/IP5/Qfz/wj8CrOuQSf5jorgAAAAASUVORK5CYII=)}@keyframes rotate-2e83464a{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.absolute-center[data-v-2e83464a]{position:absolute;top:0;left:0;bottom:0;right:0;margin:auto}.scan-icon-img[data-v-2e83464a]{position:absolute;left:0;right:0;top:0;bottom:0;z-index:99;margin:auto;width:58px;height:67px;background-position:100%}.icon-img-safe[data-v-2e83464a]{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTguMDAwMDAwIiBoZWlnaHQ9IjY3LjAwMDAwMCIgdmlld0JveD0iMCAwIDU4IDY3IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KCTxkZXNjPgoJCQlDcmVhdGVkIHdpdGggUGl4c28uCgk8L2Rlc2M+Cgk8ZGVmcz4KCQk8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50X2xpbmVhcl8zN182NDhfMCIgeDE9IjI5LjAwMDAwMCIgeTE9IjAuMDAwMDAwIiB4Mj0iMjkuMDAwMDAwIiB5Mj0iNjcuMDAwMDAwIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CgkJCTxzdG9wIHN0b3AtY29sb3I9IiNCMkVFQkQiLz4KCQkJPHN0b3Agb2Zmc2V0PSIwLjk5MDU5MCIgc3RvcC1jb2xvcj0iIzYyREI3QSIgc3RvcC1vcGFjaXR5PSIwLjE3NjQ3MSIvPgoJCTwvbGluZWFyR3JhZGllbnQ+CgkJPGxpbmVhckdyYWRpZW50IGlkPSJwYWludF9saW5lYXJfMzdfNjQ5XzAiIHgxPSIyOS4wMDQxOTgiIHkxPSI3LjczMDcxMyIgeDI9IjI5LjAwNDE5OCIgeTI9IjYwLjEyODE0NyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgoJCQk8c3RvcCBzdG9wLWNvbG9yPSIjOThFM0E3IiBzdG9wLW9wYWNpdHk9IjAuMjIzNTI5Ii8+CgkJCTxzdG9wIG9mZnNldD0iMS4wMDAwMDAiIHN0b3AtY29sb3I9IiM4N0UxOTgiIHN0b3Atb3BhY2l0eT0iMC45MTc2NDciLz4KCQk8L2xpbmVhckdyYWRpZW50PgoJPC9kZWZzPgoJPHBhdGggaWQ9InBhdGgiIGQ9Ik0yOS4xOTcgMEMyMi4zNjc3IDUuMzcyNDQgMTIuNTkyNyAxMC42MzQ5IDAgMTAuNjM0OUwwIDM1Ljg5ODFDMCA0Ny4xNDU4IDE2LjYwNDQgNjcgMjkuMjA0MyA2N0M0MS44MDQ0IDY3IDU4IDQ3LjEzODMgNTggMzUuODk4MUw1OCAxMC42MzQ5QzQ1LjM4NTMgMTAuNjM0OSAzNi4wMjY0IDUuMzcyNDQgMjkuMTk3IDBaTTUyLjAyOTQgMzUuNjQ3NUM1Mi4wMjk0IDQ1LjI4OTQgMzkuNjI1NCA2MC4yOTIyIDI4LjgyNjMgNjAuMjkyMkMxOC4wMiA2MC4yOTIyIDYuMjUzNzggNDUuNDEyNSA2LjI1Mzc4IDM1Ljc3MDVMNi4yNTM3OCAxNS41NTYyQzE3LjA1MjcgMTUuNTU2MiAyMy4zNDU1IDEyLjM1MjIgMjkuMjA0MyA3LjczNzU1QzM1LjA0ODYgMTIuMzM3MiA0MS4yMzA1IDE1LjQ2MTUgNTIuMDI5NCAxNS40NjE1TDUyLjAyOTQgMzUuNjQ3NVoiIGZpbGwtcnVsZT0ibm9uemVybyIgZmlsbD0idXJsKCNwYWludF9saW5lYXJfMzdfNjQ4XzApIiBmaWxsLW9wYWNpdHk9IjAuMzUwMDAwIi8+Cgk8cGF0aCBpZD0icGF0aCIgZD0iTTI5LjEzNDUgNy43MzA3MUMyMy40NTU5IDEyLjg4NDUgMTUuNjYzIDE1LjQ2MTQgNS45NzkgMTUuNDYxNEw2LjM5NzA5IDM2LjUwNjNDNi44MjM0OSA0My44MDc2IDE2LjA4NDQgNjAuMTI4MiAyOC44NDM5IDYwLjEyODJDMzguODA4OCA2MC4xMjgyIDUyLjQ1NTggNDYuMzg0NSA1MS45NzU4IDM0Ljk5MDFMNTIuMDI5NCAxNS40NjE0QzQwLjE0MTggMTUuNDYxNCAzNC4zODY1IDExLjY5NTggMjkuMTM0NSA3LjczMDcxWk00Ni43NzI2IDM0Ljk5QzQ2Ljc3MjYgNDIuMTA2MiAzNy4xNDg0IDUzLjA4ODEgMjguODQzOSA1My4wODgxQzIwLjUzMzcgNTMuMDg4MSAxMS40ODUyIDQyLjEwNjIgMTEuNDg1MiAzNC45OUwxMS40ODUyIDIwLjA3MDlDMTkuNzg5OCAyMC4wNzA5IDI0LjYyODkgMTcuNzA2MiAyOS4xMzQ1IDE0LjMwMDRDMzMuNjI4OSAxNy42OTUxIDM4LjQ3MzYgMjAuMDcwOSA0Ni43NzgzIDIwLjA3MDlMNDYuNzcyNiAzNC45OVoiIGZpbGwtcnVsZT0ibm9uemVybyIgZmlsbD0idXJsKCNwYWludF9saW5lYXJfMzdfNjQ5XzApIiBmaWxsLW9wYWNpdHk9IjAuNDAwMDAwIi8+Cjwvc3ZnPgo=)}.icon-img-danger[data-v-2e83464a]{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTguMDAwMDAwIiBoZWlnaHQ9IjY3LjAwMDAwMCIgdmlld0JveD0iMCAwIDU4IDY3IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KCTxkZXNjPgoJCQlDcmVhdGVkIHdpdGggUGl4c28uCgk8L2Rlc2M+Cgk8ZGVmcz4KCQk8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50X2xpbmVhcl82NF85M18wIiB4MT0iMjkuMDAwMDAwIiB5MT0iMC4wMDAwMDAiIHgyPSIyOS4wMDAwMDAiIHkyPSI2Ny4wMDAwMDAiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KCQkJPHN0b3Agc3RvcC1jb2xvcj0iI0ZGQjNCMyIgc3RvcC1vcGFjaXR5PSIwLjkxNzY0NyIvPgoJCQk8c3RvcCBvZmZzZXQ9IjEuMDAwMDAwIiBzdG9wLWNvbG9yPSIjRjc5Njk2IiBzdG9wLW9wYWNpdHk9IjAuMjMxMzczIi8+CgkJPC9saW5lYXJHcmFkaWVudD4KCQk8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50X2xpbmVhcl82NF85NF8wIiB4MT0iMjkuMDA0MTk4IiB5MT0iNy43MzA3MTMiIHgyPSIyOS4wMDQxOTgiIHkyPSI2MC4xMjgxNDciIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KCQkJPHN0b3Agc3RvcC1jb2xvcj0iI0UzOTg5OCIgc3RvcC1vcGFjaXR5PSIwLjIyMzUyOSIvPgoJCQk8c3RvcCBvZmZzZXQ9IjEuMDAwMDAwIiBzdG9wLWNvbG9yPSIjRkZCM0IzIiBzdG9wLW9wYWNpdHk9IjAuOTE3NjQ3Ii8+CgkJPC9saW5lYXJHcmFkaWVudD4KCTwvZGVmcz4KCTxwYXRoIGlkPSJwYXRoIiBkPSJNMjkuMTk3IDBDMjIuMzY3NyA1LjM3MjQ0IDEyLjU5MjcgMTAuNjM0OSAwIDEwLjYzNDlMMCAzNS44OTgxQzAgNDcuMTQ1OCAxNi42MDQ0IDY3IDI5LjIwNDMgNjdDNDEuODA0NCA2NyA1OCA0Ny4xMzgzIDU4IDM1Ljg5ODFMNTggMTAuNjM0OUM0NS4zODUzIDEwLjYzNDkgMzYuMDI2NCA1LjM3MjQ0IDI5LjE5NyAwWk01Mi4wMjk0IDM1LjY0NzVDNTIuMDI5NCA0NS4yODk0IDM5LjYyNTQgNjAuMjkyMiAyOC44MjYzIDYwLjI5MjJDMTguMDIgNjAuMjkyMiA2IDQ1LjY0MiA2IDM2TDYgMTUuNUMxNi43OTkgMTUuNSAyMy4zNDU1IDEyLjM1MjIgMjkuMjA0MyA3LjczNzU1QzM1LjA0ODYgMTIuMzM3MiA0MS4yMzA1IDE1LjQ2MTUgNTIuMDI5NCAxNS40NjE1TDUyLjAyOTQgMzUuNjQ3NVoiIGZpbGwtcnVsZT0ibm9uemVybyIgZmlsbD0idXJsKCNwYWludF9saW5lYXJfNjRfOTNfMCkiIGZpbGwtb3BhY2l0eT0iMC4zNTAwMDAiLz4KCTxwYXRoIGlkPSJwYXRoIiBkPSJNMjkuMTM0NSA3LjczMDcxQzIzLjQ1NTkgMTIuODg0NSAxNS42NjMgMTUuNDYxNCA1Ljk3OSAxNS40NjE0TDUuOTc5IDM2LjVDNi40MDU1MiA0My44MDEzIDE2LjA4NDQgNjAuMTI4MiAyOC44NDM5IDYwLjEyODJDMzguODA4OCA2MC4xMjgyIDUyLjQ1NTggNDYuMzg0NSA1MS45NzU4IDM0Ljk5MDFMNTIuMDI5NCAxNS40NjE0QzQwLjE0MTggMTUuNDYxNCAzNC4zODY1IDExLjY5NTggMjkuMTM0NSA3LjczMDcxWk00Ni43NzI2IDM0Ljk5QzQ2Ljc3MjYgNDIuMTA2MiAzNy4xNDg0IDUzLjA4ODEgMjguODQzOSA1My4wODgxQzIwLjUzMzcgNTMuMDg4MSAxMS40ODUyIDQyLjEwNjIgMTEuNDg1MiAzNC45OUwxMS40ODUyIDIwLjA3MDlDMTkuNzg5OCAyMC4wNzA5IDI0LjYyODkgMTcuNzA2MiAyOS4xMzQ1IDE0LjMwMDRDMzMuNjI4OSAxNy42OTUxIDM4LjQ3MzYgMjAuMDcwOSA0Ni43NzgzIDIwLjA3MDlMNDYuNzcyNiAzNC45OVoiIGZpbGwtcnVsZT0ibm9uemVybyIgZmlsbD0idXJsKCNwYWludF9saW5lYXJfNjRfOTRfMCkiIGZpbGwtb3BhY2l0eT0iMC4zNDAwMDAiLz4KPC9zdmc+Cg==)}.icon-img-warn[data-v-2e83464a]{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTguMDAwMDAwIiBoZWlnaHQ9IjY3LjAwMDAwMCIgdmlld0JveD0iMCAwIDU4IDY3IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KCTxkZXNjPgoJCQlDcmVhdGVkIHdpdGggUGl4c28uCgk8L2Rlc2M+Cgk8ZGVmcz4KCQk8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50X2xpbmVhcl83Nl81Nl8wIiB4MT0iMjkuMDAwMDAwIiB5MT0iMC4wMDAwMDAiIHgyPSIyOS4wMDAwMDAiIHkyPSI2Ny4wMDAwMDAiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KCQkJPHN0b3Agc3RvcC1jb2xvcj0iI0YwQUQ0RSIvPgoJCQk8c3RvcCBvZmZzZXQ9IjEuMDAwMDAwIiBzdG9wLWNvbG9yPSIjRkNGMERGIi8+CgkJPC9saW5lYXJHcmFkaWVudD4KCQk8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50X2xpbmVhcl83Nl81N18wIiB4MT0iMjkuMDA0NTcyIiB5MT0iNy41MDAwMDAiIHgyPSIyOS4wMDQ1NzIiIHkyPSI2MC4zOTc0MzQiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KCQkJPHN0b3Agc3RvcC1jb2xvcj0iI0ZDRjBERiIvPgoJCQk8c3RvcCBvZmZzZXQ9IjEuMDAwMDAwIiBzdG9wLWNvbG9yPSIjRjBBRDRFIi8+CgkJPC9saW5lYXJHcmFkaWVudD4KCTwvZGVmcz4KCTxwYXRoIGlkPSJwYXRoIiBkPSJNMjkuMTk3IDBDMjIuMzY3NyA1LjM3MjQ0IDEyLjU5MjcgMTAuNjM0OSAwIDEwLjYzNDlMMCAzNS44OTgxQzAgNDcuMTQ1OCAxNi42MDQ0IDY3IDI5LjIwNDMgNjdDNDEuODA0NCA2NyA1OCA0Ny4xMzgzIDU4IDM1Ljg5ODFMNTggMTAuNjM0OUM0NS4zODUzIDEwLjYzNDkgMzYuMDI2NCA1LjM3MjQ0IDI5LjE5NyAwWk01Mi4wMjk0IDM1LjY0NzVDNTIuMDI5NCA0NS4yODk0IDM5LjYyNTQgNjAuMjkyMiAyOC44MjYzIDYwLjI5MjJDMTguMDIgNjAuMjkyMiA2IDQ1LjY0MiA2IDM2TDYgMTUuNUMxNi43OTkgMTUuNSAyMy4zNDU1IDEyLjM1MjIgMjkuMjA0MyA3LjczNzU1QzM1LjA0ODYgMTIuMzM3MiA0MS4yMzA1IDE1LjQ2MTUgNTIuMDI5NCAxNS40NjE1TDUyLjAyOTQgMzUuNjQ3NVoiIGZpbGwtcnVsZT0ibm9uemVybyIgZmlsbD0idXJsKCNwYWludF9saW5lYXJfNzZfNTZfMCkiIGZpbGwtb3BhY2l0eT0iMC4zNTAwMDAiLz4KCTxwYXRoIGlkPSJwYXRoIiBkPSJNMjkuMTU1NSA3LjVDMjMuNDc2OSAxMi42NTM4IDE1LjY4NCAxNS41IDYgMTUuNUw2IDM2Ljc2OTNDNi40MjY1MSA0NC4wNzA2IDE2LjEwNTMgNjAuMzk3NSAyOC44NjQ5IDYwLjM5NzVDMzguODI5OCA2MC4zOTc1IDUyLjQ3NjggNDYuNjUzOCA1MS45OTY4IDM1LjI1OTRMNTEuOTk2OCAxNS41QzQwLjEwOTMgMTUuNSAzNC40MDc1IDExLjQ2NTEgMjkuMTU1NSA3LjVaTTQ2Ljc5MzYgMzUuMjU5M0M0Ni43OTM2IDQyLjM3NTUgMzcuMTY5NCA1My4zNTc0IDI4Ljg2NDkgNTMuMzU3NEMyMC41NTQ3IDUzLjM1NzQgMTEuNTA2MiA0Mi4zNzU1IDExLjUwNjIgMzUuMjU5M0wxMS41MDYyIDIwLjM0MDJDMTkuODEwOCAyMC4zNDAyIDI0LjY0OTkgMTcuOTc1NSAyOS4xNTU1IDE0LjU2OTdDMzMuNjQ5OSAxNy45NjQ0IDM4LjQ5NDYgMjAuMzQwMiA0Ni43OTkzIDIwLjM0MDJMNDYuNzkzNiAzNS4yNTkzWiIgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJ1cmwoI3BhaW50X2xpbmVhcl83Nl81N18wKSIgZmlsbC1vcGFjaXR5PSIwLjM0MDAwMCIvPgo8L3N2Zz4K)}.icon-img-low-risk[data-v-2e83464a]{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTguMDAwMDAwIiBoZWlnaHQ9IjY3LjAwMDAwMCIgdmlld0JveD0iMCAwIDU4IDY3IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KCTxkZXNjPgoJCQlDcmVhdGVkIHdpdGggUGl4c28uCgk8L2Rlc2M+Cgk8ZGVmcz4KCQk8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50X2xpbmVhcl82NF8yNDNfMCIgeDE9IjI5LjAwMDAwMCIgeTE9IjAuMDAwMDAwIiB4Mj0iMjkuMDAwMDAwIiB5Mj0iNjcuMDAwMDAwIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CgkJCTxzdG9wIHN0b3AtY29sb3I9IiNFOEQ1NDQiLz4KCQkJPHN0b3Agb2Zmc2V0PSIxLjAwMDAwMCIgc3RvcC1jb2xvcj0iI0ZGRUY3OSIgc3RvcC1vcGFjaXR5PSIwLjI3MDU4OCIvPgoJCTwvbGluZWFyR3JhZGllbnQ+CgkJPGxpbmVhckdyYWRpZW50IGlkPSJwYWludF9saW5lYXJfNjRfMjQ0XzAiIHgxPSIyOS4wMDQ1NzIiIHkxPSI3LjUwMDAwMCIgeDI9IjI5LjAwNDU3MiIgeTI9IjYwLjM5NzQzNCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgoJCQk8c3RvcCBzdG9wLWNvbG9yPSIjRkZFRjc5IiBzdG9wLW9wYWNpdHk9IjAuMTA5ODA0Ii8+CgkJCTxzdG9wIG9mZnNldD0iMS4wMDAwMDAiIHN0b3AtY29sb3I9IiNFOEQ1NDQiLz4KCQk8L2xpbmVhckdyYWRpZW50PgoJPC9kZWZzPgoJPHBhdGggaWQ9InBhdGgiIGQ9Ik0yOS4xOTcgMEMyMi4zNjc3IDUuMzcyNDQgMTIuNTkyNyAxMC42MzQ5IDAgMTAuNjM0OUwwIDM1Ljg5ODFDMCA0Ny4xNDU4IDE2LjYwNDQgNjcgMjkuMjA0MyA2N0M0MS44MDQ0IDY3IDU4IDQ3LjEzODMgNTggMzUuODk4MUw1OCAxMC42MzQ5QzQ1LjM4NTMgMTAuNjM0OSAzNi4wMjY0IDUuMzcyNDQgMjkuMTk3IDBaTTUyLjAyOTQgMzUuNjQ3NUM1Mi4wMjk0IDQ1LjI4OTQgMzkuNjI1NCA2MC4yOTIyIDI4LjgyNjMgNjAuMjkyMkMxOC4wMiA2MC4yOTIyIDYgNDUuNjQyIDYgMzZMNiAxNS41QzE2Ljc5OSAxNS41IDIzLjM0NTUgMTIuMzUyMiAyOS4yMDQzIDcuNzM3NTVDMzUuMDQ4NiAxMi4zMzcyIDQxLjIzMDUgMTUuNDYxNSA1Mi4wMjk0IDE1LjQ2MTVMNTIuMDI5NCAzNS42NDc1WiIgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJ1cmwoI3BhaW50X2xpbmVhcl82NF8yNDNfMCkiIGZpbGwtb3BhY2l0eT0iMC4zNTAwMDAiLz4KCTxwYXRoIGlkPSJwYXRoIiBkPSJNMjkuMTU1NSA3LjVDMjMuNDc2OSAxMi42NTM4IDE1LjY4NCAxNS41IDYgMTUuNUw2IDM2Ljc2OTNDNi40MjY1MSA0NC4wNzA2IDE2LjEwNTMgNjAuMzk3NSAyOC44NjQ5IDYwLjM5NzVDMzguODI5OCA2MC4zOTc1IDUyLjQ3NjggNDYuNjUzOCA1MS45OTY4IDM1LjI1OTRMNTEuOTk2OCAxNS41QzQwLjEwOTMgMTUuNSAzNC40MDc1IDExLjQ2NTEgMjkuMTU1NSA3LjVaTTQ2Ljc5MzYgMzUuMjU5M0M0Ni43OTM2IDQyLjM3NTUgMzcuMTY5NCA1My4zNTc0IDI4Ljg2NDkgNTMuMzU3NEMyMC41NTQ3IDUzLjM1NzQgMTEuNTA2MiA0Mi4zNzU1IDExLjUwNjIgMzUuMjU5M0wxMS41MDYyIDIwLjM0MDJDMTkuODEwOCAyMC4zNDAyIDI0LjY0OTkgMTcuOTc1NSAyOS4xNTU1IDE0LjU2OTdDMzMuNjQ5OSAxNy45NjQ0IDM4LjQ5NDYgMjAuMzQwMiA0Ni43OTkzIDIwLjM0MDJMNDYuNzkzNiAzNS4yNTkzWiIgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJ1cmwoI3BhaW50X2xpbmVhcl82NF8yNDRfMCkiIGZpbGwtb3BhY2l0eT0iMC4zNDAwMDAiLz4KPC9zdmc+Cg==)}.scan-icon-img-bg[data-v-2e83464a]{position:absolute;left:0;right:0;top:0;bottom:0;z-index:50;margin:auto;display:inline-block;width:100px;height:100px;border-radius:100%;background:radial-gradient(50% 50% at 50% 50%,rgba(255,255,255,.2) 54.962%,rgba(122,227,142,.2))}.animate-box[data-v-2e83464a]{position:relative;width:100px;height:100px;animation:rotate-2e83464a 3s linear infinite}.animate-box-left[data-v-2e83464a]{z-index:55;width:50px;height:100px;border-radius:50px 0 0 50px}.animate-box-right[data-v-2e83464a]{position:absolute;left:50%;z-index:55;height:100px;--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity));border-radius:0 50px 50px 0}.animate-box-bottom[data-v-2e83464a]{position:absolute;top:.4rem;left:.4rem;z-index:2;width:92px;height:92px;border-radius:50%;background:radial-gradient(50% 50% at 50% 50%,rgba(255,255,255,.2) 54.962%,rgba(122,227,142,.2))}.circle-inner[data-v-2e83464a]{background:var(--color-bg-2);position:absolute;left:0;top:0;bottom:0;right:0;z-index:55;margin:auto;display:inline-block;width:96px;height:96px;border-radius:100%}.circle-outer[data-v-2e83464a]{position:absolute;left:0;top:0;bottom:0;right:0;z-index:55;margin:auto;width:100px;height:100px;border-radius:100%}.linear-safe[data-v-2e83464a]{background:linear-gradient(#20a53a,#fff)}.linear-danger[data-v-2e83464a]{background:linear-gradient(#ef0808,#fff)}.linear-warn[data-v-2e83464a]{background:linear-gradient(#f0ad4e,#fff)}.linear-risk[data-v-2e83464a]{background:linear-gradient(#e8d544,#fff)}.safe[data-v-2e83464a]{background:radial-gradient(50% 50% at 50% 50%,rgba(255,255,255,.2) 54.962%,rgba(122,227,142,.2))}.danger[data-v-2e83464a]{background:radial-gradient(50% 50% at 50% 50%,rgba(255,255,255,.2) 54.962%,rgba(255,0,0,.2))}.risk[data-v-2e83464a]{background:radial-gradient(50% 50% at 50% 50%,rgba(240,173,78,0) 58.015%,rgba(232,213,68,.2))}.warn[data-v-2e83464a]{background:radial-gradient(50% 50% at 50% 50%,rgba(240,173,78,0) 58.015%,rgba(240,173,78,.2))}.box-text[data-v-2e83464a]{position:absolute;left:0;right:0;top:0;bottom:0;z-index:99;margin:auto;width:78px;height:50px;display:flex;align-items:center;justify-content:center;font-size:3.2rem;font-weight:700;line-height:4.5rem}.box-text span[data-v-2e83464a]{margin-top:16px;font-size:1.8rem}.risk-spin[data-v-3edec168]{background:var(--home-risk-security-list-spin-bg)}.module-list[data-v-3edec168]::-webkit-scrollbar{width:10px;height:5px}.module-list[data-v-3edec168]::-webkit-scrollbar-thumb{box-shadow:inset 0 0 .5rem rgba(0,0,0,.2);background-color:#999}.module-item[data-v-3edec168]{font-size:1.25rem}.module-head[data-v-3edec168]{border-bottom:1px solid var(--color-border);color:#555;transition:background .3s;padding-right:15px}.module-item:first-child .module-head[data-v-3edec168]{border-top:1px solid var(--color-border)}.module-head[data-v-3edec168]:hover{background-color:var(--home-risk-security-list-hover-bg)}.module-body[data-v-3edec168]{border-bottom-width:1px;border-color:var(--color-border);padding:1rem 1.5rem 1rem 2.5rem;color:var(--color-text-2)}.collapse-item[data-v-3edec168]{color:var(--home-risk-security-list-collapse-item-color);background:var(--color-bg-2);width:48rem;border-radius:2px;font-size:1.2rem;margin-left:1rem;border-width:1px;--un-border-opacity:1;border-color:rgb(235 238 245 / var(--un-border-opacity));padding:.6rem 1.6rem;display:flex;align-items:center;line-height:1.8rem}.n-progress.n-progress--circle[data-v-e3b6e395],.n-progress.n-progress--dashboard[data-v-e3b6e395]{width:100px!important}.progress-header[data-v-e3b6e395]{display:flex;align-items:center;height:140px;padding:20px;text-align:center}.progresscircle[data-v-e3b6e395]{position:absolute;top:8px;left:25px}.progresscircle p[data-v-e3b6e395]{padding:5px 0;font-size:13px;font-weight:700}.progresscirclebar[data-v-e3b6e395]{position:relative;width:100px;height:100px;line-height:100px;font-size:18px}.progresscirclebar span[data-v-e3b6e395]:nth-child(1){font-size:24px}.progresscirclebar.active svg[data-v-e3b6e395]{-webkit-animation:load8 1.1s infinite linear;animation:load8 1.1s infinite linear}.progress-header-cot[data-v-e3b6e395]:nth-child(1),.progress-header-cot[data-v-e3b6e395]:nth-child(3){min-width:100px;position:relative}.progress-header-cot[data-v-e3b6e395]:nth-child(3){display:flex}.progress-header-cot[data-v-e3b6e395]:nth-child(2){width:100%;padding:0 40px}.progress-header-cot button.cancel_detect[data-v-e3b6e395]{border-color:#999;color:#666;background-color:#fff;font-size:15px}.progress-header-cot button.cancel_detect[data-v-e3b6e395]:hover{color:#fc6d26;background:rgba(252,109,38,.1);border-color:rgba(252,109,38,.2)}.scanning-progress-title[data-v-e3b6e395]{text-align:left;font-weight:700;margin:15px 0;font-size:20px}.scanning-progress-title img[data-v-e3b6e395]{margin-right:10px;vertical-align:sub;width:24px}.scanning-progress-title span[data-v-e3b6e395]{color:#fc6d26}.scanning-progress-cont[data-v-e3b6e395]{text-align:left;margin:15px 0;font-size:14px}.progress_item[data-v-4c3ee3d2]{margin:0 20px 6px;padding:0 20px;background-color:var(--home-risk-server-list-bg);border-radius:4px;border:1px solid transparent}.progress_item_header[data-v-4c3ee3d2]{height:30px;line-height:30px;display:flex;justify-content:space-between;border-radius:4px;cursor:pointer;font-size:12px;color:var(--home-risk-server-list-text)}.progress_item_header .progress_type[data-v-4c3ee3d2]{display:flex;align-items:center;width:59.5%;font-weight:700;line-height:22px}.progress_item_header .progress_type .title-icon[data-v-4c3ee3d2]{width:14px;margin-right:6px}.progress_item_header .progress_status[data-v-4c3ee3d2]{flex:1}.progress-cont-list[data-v-4c3ee3d2]{overflow:auto;max-height:390px}.progress_item_body[data-v-4c3ee3d2]{line-height:30px;display:none;font-size:12px}.progress_item.active .progress_item_body[data-v-4c3ee3d2]{display:block}.progress_item_info[data-v-4c3ee3d2]{margin-bottom:6px}.progress_item_info .info_cont[data-v-4c3ee3d2]{display:flex;color:var(--home-risk-security-list-collapse-item-color);padding:0 30px}.progress_item_info .info_cont div[data-v-4c3ee3d2]:nth-child(1){width:60%}.progress_item_info .info_cont div[data-v-4c3ee3d2]:nth-child(2){width:40%}.progress_item_info .info_cont div:nth-child(2) span[data-v-4c3ee3d2]{font-weight:600}.progress_item_info.active[data-v-4c3ee3d2]{background-color:rgba(252,109,38,.1);padding:0}.progress_item_info.active .info_cont[data-v-4c3ee3d2]{margin:0 20px;padding:0 10px;border-bottom:1px dashed #d9d9d9}.progress_item_info.active .info_cont_desc[data-v-4c3ee3d2]{color:#888;border-radius:4px;padding:0 30px}.progress_item_info.active[data-v-4c3ee3d2]:hover{background-color:rgba(252,109,38,.2)}.progress_item_info[data-v-4c3ee3d2]:hover{background-color:var(--home-risk-server-list-hover)}.btn_red[data-v-4c3ee3d2]{font-weight:700;margin-left:5px;padding:1px 5px;text-align:center;border-radius:3px;color:#fff;background:red}[data-v-4c3ee3d2] .n-progress__text{font-size:16px!important;font-weight:700}.scrollable[data-v-4c3ee3d2]::-webkit-scrollbar{width:10px}.scrollable[data-v-4c3ee3d2]::-webkit-scrollbar-track{background:#efefef}.scrollable[data-v-4c3ee3d2]::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:10px}.scrollable[data-v-4c3ee3d2]::-webkit-scrollbar-thumb:hover{background:#555} diff --git a/BTPanel/static/vite/css/index-FEE1lr_F.css b/BTPanel/static/vite/css/index-FEE1lr_F.css deleted file mode 100644 index 6ece7b90..00000000 --- a/BTPanel/static/vite/css/index-FEE1lr_F.css +++ /dev/null @@ -1 +0,0 @@ -.path-list[data-v-3fa6b1c3]{flex:1;display:flex;border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border);overflow:hidden;cursor:text}.path-list .path-item[data-v-3fa6b1c3]{flex-shrink:0;display:flex;align-items:center;height:100%;white-space:nowrap;cursor:pointer;transition:background-color .3s cubic-bezier(.4,0,.2,1)}.path-list .path-item .path-dir[data-v-3fa6b1c3]{display:flex;align-items:center;height:100%;line-height:1;padding:0 6px;border-left:1px solid transparent;color:var(--color-text-4);transition:border-color .3s cubic-bezier(.4,0,.2,1)}.path-list .path-item .path-arrow[data-v-3fa6b1c3]{display:flex;align-items:center;height:100%;padding:0 2px;border-left:1px solid transparent;border-right:1px solid transparent;font-size:14px;transition:border-color .3s cubic-bezier(.4,0,.2,1)}.path-list .path-item .path-arrow.reversal i[data-v-3fa6b1c3]{transform:rotate(180deg)}.path-list .path-item[data-v-3fa6b1c3]:hover{background-color:var(--button-bg-hover)}.path-list .path-item:hover .path-dir[data-v-3fa6b1c3],.path-list .path-item:hover .path-arrow[data-v-3fa6b1c3]{border-left:var(--button-border-hover)}.path-list .path-item:hover .path-arrow[data-v-3fa6b1c3]{border-right:var(--button-border-hover)}.nav-btn[data-v-3fa6b1c3]{width:36px;padding:0}.n-data-table[data-v-c8b9df0e]{--n-border-radius: 0}.n-data-table[data-v-c8b9df0e] .n-data-table-base-table-body .selected-row .n-data-table-td{background-color:var(--color-table-td-hover)}.folder-picker[data-v-c8b9df0e]{display:flex;flex-direction:column;height:100%}.folder-picker .header[data-v-c8b9df0e]{display:flex;flex-direction:column;gap:16px;padding:16px;border-bottom:1px solid var(--color-border)}.folder-picker .header .header-content[data-v-c8b9df0e]{display:flex;align-items:center;justify-content:space-between;gap:16px}.folder-picker .header .navigator-wrapper[data-v-c8b9df0e]{flex:1;overflow:hidden}.folder-picker .header .search-wrapper[data-v-c8b9df0e]{width:240px;flex-shrink:0}.folder-picker .header .search-wrapper .search-icon[data-v-c8b9df0e]{font-size:16px;cursor:pointer;color:var(--color-text-4)}.folder-picker .header .toolbar[data-v-c8b9df0e]{display:flex;align-items:center;gap:12px}.folder-picker .main-content[data-v-c8b9df0e]{display:flex;flex:1;overflow:hidden}.folder-picker .main-content .sidebar[data-v-c8b9df0e]{display:flex;flex-direction:column;width:160px;border-right:1px solid var(--color-border);padding:12px 0}.folder-picker .main-content .sidebar .dist-list .dist-item[data-v-c8b9df0e]{display:flex;align-items:center;gap:8px;padding:8px 8px 8px 16px;line-height:1;cursor:pointer;transition:background-color .3s}.folder-picker .main-content .sidebar .dist-list .dist-item[data-v-c8b9df0e]:hover{background-color:var(--color-bg-1)}.folder-picker .main-content .sidebar .dist-list .dist-item .disk-icon[data-v-c8b9df0e]{font-size:18px;color:var(--color-text-4)}.folder-picker .main-content .sidebar .dist-list .dist-item .item-info[data-v-c8b9df0e]{width:0;flex:1;display:flex;align-items:center;gap:4px}.folder-picker .main-content .sidebar .dist-list .dist-item .item-info .name[data-v-c8b9df0e]{min-width:0}.folder-picker .main-content .sidebar .dist-list .dist-item .item-info .size[data-v-c8b9df0e]{white-space:nowrap}.folder-picker .main-content .file-list-container[data-v-c8b9df0e]{flex:1;display:flex;flex-direction:column;overflow:hidden}.folder-picker .main-content .file-list-container .file-table[data-v-c8b9df0e]{flex:1}.folder-picker .folder-picker-footer[data-v-c8b9df0e]{display:flex;align-items:center;justify-content:space-between;padding:10px 18px;background-color:var(--modal-action-bg);border-top:1px solid var(--modal-action-top-border);border-bottom-left-radius:var(--n-border-radius);border-bottom-right-radius:var(--n-border-radius)} diff --git a/BTPanel/static/vite/css/index-bJFkCeBs.css b/BTPanel/static/vite/css/index-bJFkCeBs.css deleted file mode 100644 index ee29bbe8..00000000 --- a/BTPanel/static/vite/css/index-bJFkCeBs.css +++ /dev/null @@ -1 +0,0 @@ -@charset "UTF-8";.logs-card[data-v-3d9d9bf9]{border:1px solid var(--color-border);border-radius:8px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}.logs-card .logs-card-header[data-v-3d9d9bf9]{padding:16px;border-bottom:1px solid var(--color-border)}.logs-card .logs-card-content[data-v-3d9d9bf9]{padding:16px}.logs-card .logs-version[data-v-3d9d9bf9]{font-size:17px;font-weight:700}.logs-card ul[data-v-3d9d9bf9]{padding-left:32px;color:var(--color-text-4);font-size:14px;line-height:1.4}.logs-card ul li[data-v-3d9d9bf9]{list-style-type:disc}.header-left[data-v-59b41f73]{display:flex;align-items:center;height:100%}.header-right[data-v-59b41f73]{display:flex;align-items:center;justify-content:flex-end;height:100%}.header-item[data-v-59b41f73]{display:flex;align-items:center;height:100%}.header-username[data-v-59b41f73]{gap:10px;margin-right:16px}.header-username .username[data-v-59b41f73]{line-height:20px;font-size:12px}.header-feedback[data-v-59b41f73]{font-size:20px;cursor:pointer}.header-system[data-v-59b41f73]{gap:8px}.header-system .name[data-v-59b41f73]{margin-right:2px;line-height:18px;font-size:12px}.header-system .time[data-v-59b41f73]{line-height:18px;font-size:12px}.header-tools[data-v-59b41f73]{gap:4px;cursor:pointer;transition:color .3s cubic-bezier(.4,0,.2,1)}.header-tools[data-v-59b41f73]:hover{color:var(--color-primary)}.header-tools .icon[data-v-59b41f73]{font-size:20px}.header-tools .text[data-v-59b41f73]{line-height:18px}.header-tools .version[data-v-59b41f73]{line-height:20px;font-size:13px}.n-card[data-v-a78fa700]{--n-padding-top: 0;--n-padding-left: 0;--n-padding-right: 0;--n-padding-bottom: 0;--n-border-radius: 10px;min-height:44px}.card-title[data-v-a78fa700]{position:absolute;display:flex;align-items:center;gap:16px;top:16px;left:16px;line-height:26px;z-index:100}@media(max-width:1400px){.card-title[data-v-a78fa700]{font-size:16px}}.badge[data-v-815892e5]{display:flex;align-items:center;gap:6px;width:84px;height:32px;margin-left:2px;padding-left:12px;border-radius:4px;background:var(--home-ad-badge-bg-color);color:var(--color-pro)}.badge .badge-text[data-v-815892e5]{font-size:14px;font-weight:700}.features[data-v-815892e5]{flex:1;display:flex;align-items:center;gap:24px;width:0;white-space:nowrap}.features .feature-item[data-v-815892e5]{display:flex;align-items:center;gap:6px}.features .feature-icon[data-v-815892e5]{color:#ffae45;font-size:14px}.features .feature-text[data-v-815892e5]{line-height:18px;font-size:13px}.n-progress[data-v-d51f89be]{--n-font-size-circle: 24px}.n-progress[data-v-d51f89be] .n-progress-text{font-family:Outfit}.status-card[data-v-2defdcfa]{display:flex;flex-direction:column;align-items:center;height:268px;padding-top:60px}.n-collapse[data-v-7402b5c2] .n-collapse-item:not(:first-child){border:none;margin:0}.n-collapse[data-v-7402b5c2] .n-collapse-item .n-collapse-item__header-main{display:flex;align-items:center;height:30px;padding:0 8px;background-color:var(--collapse-color);color:var(--color-text-base);border-radius:4px;font-size:12px}.n-collapse[data-v-7402b5c2] .n-collapse-item .n-collapse-item__content-wrapper .n-collapse-item__content-inner{padding-top:16px}.n-divider[data-v-6d1d43cd]{height:12px}.table[data-v-ef210d8c]{width:100%;max-width:100%;background-color:transparent;border-spacing:0;border-collapse:collapse;margin-bottom:0}.table tbody>tr>td[data-v-ef210d8c]{vertical-align:middle;line-height:1.42857143;padding:4px;text-overflow:ellipsis;word-break:break-all;overflow:hidden;border-top:none}.table[data-v-b6a3688c]{width:100%;max-width:100%;background-color:transparent;border-spacing:0;border-collapse:collapse;margin-bottom:0}.table tbody>tr>td[data-v-b6a3688c]{vertical-align:middle;line-height:1.42857143;padding:4px;text-overflow:ellipsis;word-break:break-all;overflow:hidden;border-top:none}.table[data-v-4a65274a]{width:100%;max-width:100%;background-color:transparent;border-spacing:0;border-collapse:collapse;margin-bottom:0}.table tbody>tr>td[data-v-4a65274a]{vertical-align:middle;line-height:1.42857143;padding:4px;text-overflow:ellipsis;word-break:break-all;overflow:hidden;border-top:none}.disk-item[data-v-1348bddf]{--text-color: var(--color-primary);cursor:pointer}.disk-item:hover .disk-size[data-v-1348bddf]{color:var(--text-color)}.disk-item .disk-usage[data-v-1348bddf]{line-height:28px;font-family:Outfit;font-size:22px;font-weight:500;color:var(--text-color);transition:color .3s}.disk-item .disk-size[data-v-1348bddf]{line-height:19px;font-size:13px;transition:color .3s}.disk-item .disk-path[data-v-1348bddf]{background-color:var(--color-bg-3);text-align:center;line-height:24px;padding:0 8px;font-size:13px;border-radius:2px}.n-progress[data-v-765646e8]{width:100%}.disk-item[data-v-f5a1d124]{--color: #20a53a;--bg-color: #20a53a1a;--shadow-color: #20a53a33;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid transparent;background-color:var(--bg-color);border-radius:4px;cursor:pointer;transition:border .3s cubic-bezier(.4,0,.2,1),box-shadow .3s cubic-bezier(.4,0,.2,1)}.disk-item[data-v-f5a1d124]:hover{border-color:var(--color);box-shadow:0 4px 10px 0 var(--shadow-color)}.disk-item .round[data-v-f5a1d124]{width:14px;height:14px;border-radius:50%;background-color:var(--color)}.disk-list[data-v-8b7b2e22]{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(44px,1fr))}.plugin-card[data-v-77972135]{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;height:138px;padding:10px;border:1px solid var(--home-soft-border-color);background:var(--home-soft-bg-color);border-radius:10px;cursor:pointer;transition:background .3s cubic-bezier(.4,0,.2,1),box-shadow .3s cubic-bezier(.4,0,.2,1),border-color .3s cubic-bezier(.4,0,.2,1)}.plugin-card[data-v-77972135]:hover{border-color:var(--home-soft-border-hover-color);background:var(--home-soft-bg-hover-color);box-shadow:0 4px 10px rgba(32,165,58,.13)}.plugin-card .move[data-v-150c41e1]{position:absolute;top:16px;right:16px;display:none;cursor:move;font-size:16px}.plugin-card:hover .move[data-v-150c41e1]{display:block}.plugin-card__content[data-v-150c41e1]{display:flex;flex-direction:column;align-items:center;width:100%;gap:8px}.plugin-card__content .plugin-icon[data-v-150c41e1]{height:44px}.plugin-card__content .plugin-title[data-v-150c41e1]{width:100%;font-weight:400;line-height:14px;text-align:center}.plugin-card__ad[data-v-ed90155b]{position:absolute;top:2px;left:6px;line-height:16px;font-weight:400;color:var(--color-text-2)}.plugin-card__content[data-v-ed90155b]{display:flex;flex-direction:column;align-items:center;width:100%;gap:8px}.plugin-card__content .plugin-icon[data-v-ed90155b]{height:44px}.plugin-card__content .plugin-title[data-v-ed90155b]{width:100%;min-height:28px;font-weight:400;line-height:14px;text-align:center}.plugin-card__actions[data-v-ed90155b]{display:flex;gap:8px}.plugin-card__actions .n-button[data-v-ed90155b]{--n-height: 24px;--n-padding: 0 8px}.plugin-list[data-v-86d6de8e]{display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.monitor-stat[data-v-980bc7b7]{display:flex;height:80px;background-color:var(--color-bg-3);border-radius:10px}.monitor-stat .monitor-stat-item[data-v-980bc7b7]{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;height:100%}.monitor-stat .monitor-stat-item:nth-of-type(1) .monitor-stat__value[data-v-980bc7b7],.monitor-stat .monitor-stat-item:nth-of-type(2) .monitor-stat__value[data-v-980bc7b7]{font-weight:500}.monitor-stat .monitor-stat-item .monitor-stat__title[data-v-980bc7b7]{display:flex;align-items:center;gap:6px;line-height:18px;font-size:14px;color:var(--color-text-2);font-weight:400}.monitor-stat .monitor-stat-item .monitor-stat__dot[data-v-980bc7b7]{position:relative;display:block;width:6px;height:6px;border-radius:3px;background-color:var(--dot-color)}.monitor-stat .monitor-stat-item .monitor-stat__dot[data-v-980bc7b7]:after{content:"";position:absolute;left:50%;top:50%;width:12px;height:12px;border-radius:6px;border:2px solid var(--dot-color);opacity:.6;transform:translate(-50%,-50%);animation:home-monitor-ripple-980bc7b7 2s infinite}@keyframes home-monitor-ripple-980bc7b7{0%{transform:translate(-50%,-50%) scale(.8);opacity:.8}50%{transform:translate(-50%,-50%) scale(1.2);opacity:.4}to{transform:translate(-50%,-50%) scale(1.6);opacity:0}}.monitor-stat .monitor-stat-item .monitor-stat__value[data-v-980bc7b7]{color:var(--color-text-base);line-height:22px;font-size:16px}.n-tabs[data-v-e0042a0d]{height:498px;--n-tab-text-color: var(--color-text-2);--n-tab-text-color-active: var(--home-monitor-tabs-active-color);--n-tab-text-color-hover: var(--border-hover-focus-color);--n-tab-gap: 40px;--n-tab-padding: 16px 0;--n-pane-padding-top: 0;--n-pane-padding-left: 16px;--n-pane-padding-right: 16px;--n-pane-padding-bottom: 16px}.n-tabs .n-tab-pane[data-v-e0042a0d]{flex:1}.n-tabs[data-v-e0042a0d] .n-tabs-tab{height:60px}.n-tabs[data-v-e0042a0d] .n-tabs-tab.n-tabs-tab--active{font-size:18px}.item-card-wrap[data-v-02d9a635]{position:relative}.item-card-wrap .drag-icon[data-v-02d9a635]{position:absolute;top:6px;left:50%;transform:translate(-50%);opacity:0;transition:opacity .2s;cursor:move}.item-card-wrap .drag-icon[data-v-02d9a635]:active{cursor:grabbing}.item-card-wrap[data-v-02d9a635]:hover{box-shadow:0 8px 16px rgba(0,0,0,.1);border-color:var(--border-hover-focus-color);cursor:pointer}.item-card-wrap:hover .drag-icon[data-v-02d9a635]{opacity:1}.item-card-wrap[data-v-02d9a635] .icon-container i{width:16px;height:16px;display:inline-block;vertical-align:middle}.module-card[data-v-88e1e6dd]{display:flex;flex-direction:column;overflow:hidden;border-radius:8px;padding:16px;border:1px solid var(--color-border);gap:10px}.module-card .card-icon-wrap[data-v-88e1e6dd]{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:6px;background-color:var(--home-overview-btn-color);font-size:18px;color:var(--border-hover-focus-color)}.module-card .card-icon-wrap[data-v-88e1e6dd] i{width:18px;height:18px;display:inline-block}.overview-new[data-v-8958092b]{padding:52px 16px 16px;display:flex;justify-content:space-between}.overview-grid[data-v-8958092b]{flex:1;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,calc(16.7% - 16px)));gap:16px}.drag-ghost[data-v-8958092b]{opacity:.4;border:2px dashed var(--primary-color, #18a058);border-radius:8px;background:transparent!important}.drag-ghost[data-v-8958092b]>*{visibility:hidden}.home-container[data-v-03e58ada]{padding:10px 20px 16px} diff --git a/BTPanel/static/vite/css/index-frsOPES7.css b/BTPanel/static/vite/css/index-frsOPES7.css new file mode 100644 index 00000000..13f3b7dd --- /dev/null +++ b/BTPanel/static/vite/css/index-frsOPES7.css @@ -0,0 +1 @@ +.full-btn[data-v-da3c03af]{position:absolute;top:1rem;right:1rem;opacity:0;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.3s}.group:hover .full-btn[data-v-da3c03af]{opacity:1}.bt-log[data-v-da3c03af]{height:100%;font-size:13px;overflow:auto;background:none;border:none;border-radius:0}.bt-log[data-v-da3c03af] .hljs{height:100%;border-radius:4px;white-space:pre-wrap} diff --git a/BTPanel/static/vite/css/new-COkAOYEa.css b/BTPanel/static/vite/css/new-COkAOYEa.css new file mode 100644 index 00000000..f7b5adb1 --- /dev/null +++ b/BTPanel/static/vite/css/new-COkAOYEa.css @@ -0,0 +1 @@ +.update-new[data-v-c175b29b]{color:#555;border-radius:10px;overflow:hidden}.update-head[data-v-c175b29b]{display:flex;align-items:center;height:36px;padding:0 80px 0 20px;background-color:var(--home-update-head-bg);color:#fff;font-size:14px}.update-back[data-v-c175b29b]{position:absolute;width:100%;height:100px;background:var(--home-update-back-bg);z-index:10}.update-title[data-v-c175b29b]{margin-bottom:20px;display:flex;align-items:center;justify-content:center;font-size:22px;--un-text-opacity:1;color:rgb(86 86 86 / var(--un-text-opacity));font-weight:700}.update-latest-bg[data-v-c175b29b]{color:var(--home-update-latest-text-color);border:var(--home-update-latest-border);margin-left:32px;margin-right:32px;border-radius:2px;background-color:var(--home-update-latest-bg);padding:16px;line-height:24px} diff --git a/BTPanel/static/vite/css/new-DREBBzBx.css b/BTPanel/static/vite/css/new-DREBBzBx.css deleted file mode 100644 index 937f50a3..00000000 --- a/BTPanel/static/vite/css/new-DREBBzBx.css +++ /dev/null @@ -1 +0,0 @@ -.update-new[data-v-ff930ff0]{color:#555;border-radius:10px;overflow:hidden}.update-head[data-v-ff930ff0]{display:flex;align-items:center;height:36px;padding:0 80px 0 20px;background-color:var(--home-update-head-bg);color:#fff;font-size:14px}.update-back[data-v-ff930ff0]{position:absolute;width:100%;height:100px;background:var(--home-update-back-bg);z-index:10}.update-title[data-v-ff930ff0]{margin-bottom:20px;display:flex;align-items:center;justify-content:center;font-size:22px;--un-text-opacity:1;color:rgb(86 86 86 / var(--un-text-opacity));font-weight:700}.update-latest-bg[data-v-ff930ff0]{color:var(--home-update-latest-text-color);border:var(--home-update-latest-border);margin-left:32px;margin-right:32px;border-radius:2px;background-color:var(--home-update-latest-bg);padding:16px;line-height:24px} diff --git a/BTPanel/static/vite/css/old-BluAM5O9.css b/BTPanel/static/vite/css/old-BluAM5O9.css deleted file mode 100644 index 65d51157..00000000 --- a/BTPanel/static/vite/css/old-BluAM5O9.css +++ /dev/null @@ -1 +0,0 @@ -.update-old[data-v-34e59abc]{position:relative;background-size:101%;background-image:var(--home-update-bg-url);background-repeat:no-repeat;background-position:-2px 0;color:#555;border-radius:10px}.update-logs[data-v-34e59abc]{color:var(--home-update-content-text);max-height:200px;overflow:auto;padding-right:10px;font-size:12px;line-height:24px;word-break:break-word}.update-logs[data-v-34e59abc]::-webkit-scrollbar{width:16px;height:1px;background-color:#f1f1f1}.update-logs[data-v-34e59abc]::-webkit-scrollbar-button:start{height:15px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAPCAYAAADtc08vAAAABHNCSVQICAgIfAhkiAAAAI5JREFUKJHNkjEKwzAMRX9LQJu3P/ouuVl6tPYsGr1p09QudjC264aGQj8YC5n3EMIXVX3iRK5n4N8LRAQi8p1AREASJKeSoaDAKSWYGUIIxwU17O4wM7g7SB4T1HDJTLK0jRauJaNddBOM4Nnbn38kAPd83qZd4i3fjxhjB6rqmssNwLo3VXX7MEmXInsB0glBgYCs2ecAAAAASUVORK5CYII=) no-repeat}.update-logs[data-v-34e59abc]::-webkit-scrollbar-button:end{height:15px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAPCAYAAADtc08vAAAABHNCSVQICAgIfAhkiAAAAJdJREFUKJG9kjEOwjAMRT8IyZu3jjkLuRlws9zlj96yeYKlqQqNG6Ei/hbH7+lLCQCAZMaXIXkjmU8kn/OsAHgAQEqpdIAM4Dof722+FvTSRGHDy6BpCLacRwv/F4hIuNy72whUFarahadpGgvMDCLyJmmwmY0Fn5I17O6b3fAZa61L5QjeFbj7UjmCdwUjsOUn/6Ac4MsLGUM9V8RBBeQAAAAASUVORK5CYII=) no-repeat}.update-logs[data-v-34e59abc]::-webkit-scrollbar-thumb{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAyCAYAAABVl1tcAAAABHNCSVQICAgIfAhkiAAAAk1JREFUSIntl11O20AURs+YieMkLnVDhEBI4aGkIsoS2ABIWQPdBKyi3US7BqR2AywhCiJU/VPVqg1pihKwkynTB7A7dsYUpX2qMk8e+zvnXs9E0ViQGb1er6iU2Afd1rADIOAYxNH19eMXrZaYmHlhTjrd0wOBeJaVmkOjD1vNJ89nBN2Ts1da69274AQS4nVze2sPwIkr3xcG0FrvdrqnBwCi09GucM6i+8LmKEg8x3HePJ0HBlBK7Dug2/MKQLedeKvmwmHHAVbm74AV5y9g4HYbF4KFYCH47wRSyj8C2UxGsITnFXNhzysi5VK+IAyjJGiDzYxVYAZ8v5KpLGdgAOtLh2GElD/x/QpKKaSUjEZjWzTdgesWkmulFGEY4XnFFGxmLAI31bpSiuHwIpn7fgXXdfMFcSVTYsJmxiowA9VqkKlcsK6DdRFHozGuW6BaDZhMprhugcFgaIumOzD3fzKZMhqNeeBXUnD2NzIjCILllOTzl6/JPAiW7xbEK25KTNjMWAVmYH1tNQWXPG8GhpxFHA4vCL2I9bVVrsKQkuelXiW3g3K5lFyHYcT34Q8eBQ9TsJmxCmq1akry9t3HZF6rVa2C83jS7w+SYHbE9+LM7Th3bo6xv0cc2KxvpOBKuZSFEXDsgDjKVuv3B3zrD9isbyTw+w+fZroCcSR6vV5xqggtTymXS2zWN+ienNkeo6+3ik6j0Yg0+tAWuLy8yofRh62WmPybwzZAc3trL6+TbOUYhsz3AkCno92b8/PsB4eU+mWj0Uj9s/4CON7xEXIyO34AAAAASUVORK5CYII=) no-repeat;background-position:bottom;border-radius:50px;min-height:50px;background-color:#d6d7db}.update-logs[data-v-34e59abc]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:0}.update-tips[data-v-34e59abc]{color:var(--home-update-content-text);font-size:12px;line-height:24px}.update-btn[data-v-34e59abc]{display:flex;justify-content:center;padding-bottom:24px}.update-btn .n-button[data-v-34e59abc]{--n-width: 130px;--n-height: 38px;--n-font-size: 13px}.update-btn .ignore[data-v-34e59abc]{--n-color: #f0f0f0;--n-text-color: #999999;--n-ripple-color: #d4d4d4;--n-border: 1px solid #f0f0f0;--n-color-hover: #d4d4d4;--n-border-hover: 1px solid #d4d4d4;--n-text-color-hover: #999999;--n-color-focus: #d4d4d4;--n-border-focus: 1px solid #d4d4d4;--n-text-color-focus: #999999;--n-color-pressed: #d4d4d4;--n-border-pressed: 1px solid #d4d4d4;--n-text-color-pressed: #999999} diff --git a/BTPanel/static/vite/css/old-ClJAvo_v.css b/BTPanel/static/vite/css/old-ClJAvo_v.css new file mode 100644 index 00000000..5ed306ff --- /dev/null +++ b/BTPanel/static/vite/css/old-ClJAvo_v.css @@ -0,0 +1 @@ +.update-old[data-v-4a118233]{position:relative;background-size:101%;background-image:var(--home-update-bg-url);background-repeat:no-repeat;background-position:-2px 0;color:#555;border-radius:10px}.update-logs[data-v-4a118233]{color:var(--home-update-content-text);max-height:200px;overflow:auto;padding-right:10px;font-size:12px;line-height:24px;word-break:break-word}.update-logs[data-v-4a118233]::-webkit-scrollbar{width:16px;height:1px;background-color:#f1f1f1}.update-logs[data-v-4a118233]::-webkit-scrollbar-button:start{height:15px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAPCAYAAADtc08vAAAABHNCSVQICAgIfAhkiAAAAI5JREFUKJHNkjEKwzAMRX9LQJu3P/ouuVl6tPYsGr1p09QudjC264aGQj8YC5n3EMIXVX3iRK5n4N8LRAQi8p1AREASJKeSoaDAKSWYGUIIxwU17O4wM7g7SB4T1HDJTLK0jRauJaNddBOM4Nnbn38kAPd83qZd4i3fjxhjB6rqmssNwLo3VXX7MEmXInsB0glBgYCs2ecAAAAASUVORK5CYII=) no-repeat}.update-logs[data-v-4a118233]::-webkit-scrollbar-button:end{height:15px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAPCAYAAADtc08vAAAABHNCSVQICAgIfAhkiAAAAJdJREFUKJG9kjEOwjAMRT8IyZu3jjkLuRlws9zlj96yeYKlqQqNG6Ei/hbH7+lLCQCAZMaXIXkjmU8kn/OsAHgAQEqpdIAM4Dof722+FvTSRGHDy6BpCLacRwv/F4hIuNy72whUFarahadpGgvMDCLyJmmwmY0Fn5I17O6b3fAZa61L5QjeFbj7UjmCdwUjsOUn/6Ac4MsLGUM9V8RBBeQAAAAASUVORK5CYII=) no-repeat}.update-logs[data-v-4a118233]::-webkit-scrollbar-thumb{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAyCAYAAABVl1tcAAAABHNCSVQICAgIfAhkiAAAAk1JREFUSIntl11O20AURs+YieMkLnVDhEBI4aGkIsoS2ABIWQPdBKyi3US7BqR2AywhCiJU/VPVqg1pihKwkynTB7A7dsYUpX2qMk8e+zvnXs9E0ViQGb1er6iU2Afd1rADIOAYxNH19eMXrZaYmHlhTjrd0wOBeJaVmkOjD1vNJ89nBN2Ts1da69274AQS4nVze2sPwIkr3xcG0FrvdrqnBwCi09GucM6i+8LmKEg8x3HePJ0HBlBK7Dug2/MKQLedeKvmwmHHAVbm74AV5y9g4HYbF4KFYCH47wRSyj8C2UxGsITnFXNhzysi5VK+IAyjJGiDzYxVYAZ8v5KpLGdgAOtLh2GElD/x/QpKKaSUjEZjWzTdgesWkmulFGEY4XnFFGxmLAI31bpSiuHwIpn7fgXXdfMFcSVTYsJmxiowA9VqkKlcsK6DdRFHozGuW6BaDZhMprhugcFgaIumOzD3fzKZMhqNeeBXUnD2NzIjCILllOTzl6/JPAiW7xbEK25KTNjMWAVmYH1tNQWXPG8GhpxFHA4vCL2I9bVVrsKQkuelXiW3g3K5lFyHYcT34Q8eBQ9TsJmxCmq1akry9t3HZF6rVa2C83jS7w+SYHbE9+LM7Th3bo6xv0cc2KxvpOBKuZSFEXDsgDjKVuv3B3zrD9isbyTw+w+fZroCcSR6vV5xqggtTymXS2zWN+ienNkeo6+3ik6j0Yg0+tAWuLy8yofRh62WmPybwzZAc3trL6+TbOUYhsz3AkCno92b8/PsB4eU+mWj0Uj9s/4CON7xEXIyO34AAAAASUVORK5CYII=) no-repeat;background-position:bottom;border-radius:50px;min-height:50px;background-color:#d6d7db}.update-logs[data-v-4a118233]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:0}.update-tips[data-v-4a118233]{color:var(--home-update-content-text);font-size:12px;line-height:24px}.update-btn[data-v-4a118233]{display:flex;justify-content:center;padding-bottom:24px}.update-btn .n-button[data-v-4a118233]{--n-width: 130px;--n-height: 38px;--n-font-size: 13px}.update-btn .ignore[data-v-4a118233]{--n-color: #f0f0f0;--n-text-color: #999999;--n-ripple-color: #d4d4d4;--n-border: 1px solid #f0f0f0;--n-color-hover: #d4d4d4;--n-border-hover: 1px solid #d4d4d4;--n-text-color-hover: #999999;--n-color-focus: #d4d4d4;--n-border-focus: 1px solid #d4d4d4;--n-text-color-focus: #999999;--n-color-pressed: #d4d4d4;--n-border-pressed: 1px solid #d4d4d4;--n-text-color-pressed: #999999} diff --git a/BTPanel/static/vite/css/progress-BGkYi0xg.css b/BTPanel/static/vite/css/progress-BGkYi0xg.css new file mode 100644 index 00000000..cc118c33 --- /dev/null +++ b/BTPanel/static/vite/css/progress-BGkYi0xg.css @@ -0,0 +1 @@ +.progress-box[data-v-ba679969]{border:1px solid var(--site-task-progress-border)} diff --git a/BTPanel/static/vite/css/progress-Cpu02yNl.css b/BTPanel/static/vite/css/progress-Cpu02yNl.css deleted file mode 100644 index 0ef62bb3..00000000 --- a/BTPanel/static/vite/css/progress-Cpu02yNl.css +++ /dev/null @@ -1 +0,0 @@ -.propress-box[data-v-939603d7]{border:1px solid var(--site-task-progress-border)} diff --git a/BTPanel/static/vite/js/Backup-CcpuDf2q.js b/BTPanel/static/vite/js/Backup-CcpuDf2q.js deleted file mode 100644 index a833a052..00000000 --- a/BTPanel/static/vite/js/Backup-CcpuDf2q.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/index-B6Y_2X_r.js?v=1773287522785","js/vue-core-DJjvd5ZC.js?v=1773287522785","js/prismjs-BZPoR7_J.js?v=1773287522785","css/prismjs-D-3FhBe_.css?v=1773287522785","js/index-BTglIPU2.js?v=1773287522785","js/naive-ui--dJnpVcV.js?v=1773287522785","css/index-DEM1fxGq.css?v=1773287522785","js/files-BUbkyTRl.js?v=1773287522785","css/index-FEE1lr_F.css?v=1773287522785"])))=>i.map(i=>d[i]); -import{w as T,h as A,as as f,n as R,l as U,x as V,p as q,P as D,m as E}from"./index-BTglIPU2.js?v=1773287522785";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{u as L}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{au as O,b as j,B as I}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as $,R as z,i as X,r as u,$ as Z,Z as G,a0 as n,a9 as c,_ as i,S as t,j as H,aa as k,X as g,F as J,a3 as K}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index-DIKmrNCq.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";const Q={class:"p-20px"},W={class:"flex items-center gap-16px mb-16px"},Y={class:"p-20px"},ee={class:"mb-16px text-14px"},te={class:"flex items-center gap-20px"},ae={class:"text-13px"},ke=$({__name:"Backup",setup(oe,{expose:x}){const{t:e}=z(),w=X("fileStore"),{backupForm:s}=w,p=u(!1),_=u(!1),r=u([]);x({open(){s.value.path="",p.value=!0,d()},close(){p.value=!1,r.value=[]}});const m=u(!1),M=u([{key:"time",title:e("file.backupModal.backupTime"),width:160,render:a=>T(a.time)},{key:"path",title:e("file.backupModal.backupPath"),ellipsis:{tooltip:!0}},{key:"name",title:e("file.backupModal.backupName"),width:120,ellipsis:{tooltip:!0},render:a=>a.name||"--"},L({width:100,options:a=>[{label:e("Public.Btn.Delete"),onClick:()=>{A({title:e("file.backupModal.deleteBackup"),content:e("file.backupModal.deleteConfirm"),onConfirm:async()=>{await f.post("/files?action=del_path_premissions",{id:a.id},{requestOptions:{loading:e("file.backupModal.deletingBackup"),successMessage:!0}}),d()}})}}]})]);function B(){q({title:e("Component.SelectPath.index_7"),width:750,height:640,footer:!1,data:{path:s.value.path,callback:a=>{s.value.path=a}},component:K(()=>D(()=>import("./index-B6Y_2X_r.js?v=1773287522785"),__vite__mapDeps([0,1,2,3,4,5,6,7,8])))})}function y(){s.value.path?m.value=!0:E.warning(e("file.backupModal.pleaseSelectPath"))}async function d(){try{_.value=!0;const{message:a}=await f.post("/files?action=get_all_back");R(a)?r.value=a.map(o=>({id:Number(o[0]),time:Number(o[2]),name:o[1],path:o[3]})):r.value=[]}finally{_.value=!1}}async function C(){try{await f.post("/files?action=back_path_permissions",s.value,{requestOptions:{loading:e("file.backupModal.executingBackup"),successMessage:!0}}),d(),s.value.path="",s.value.remark=""}catch(a){console.warn(a)}}return(a,o)=>{const h=j,N=U,b=I,P=O,S=F,v=V;return Z(),G(J,null,[n(v,{show:t(p),"onUpdate:show":o[1]||(o[1]=l=>g(p)?p.value=l:null),title:t(e)("file.backupModal.title"),width:"700"},{default:c(()=>[i("div",Q,[i("div",W,[n(P,null,{default:c(()=>[n(h,{value:t(s).path,"onUpdate:value":o[0]||(o[0]=l=>t(s).path=l)},null,8,["value"]),n(b,{onClick:B},{icon:c(()=>[n(N,{name:"file-dir",size:"20"})]),_:1})]),_:1}),n(b,{type:"primary",onClick:y},{default:c(()=>[H(k(t(e)("file.backupModal.backupButton")),1)]),_:1})]),n(S,{loading:t(_),"max-height":370,data:t(r),columns:t(M)},null,8,["loading","data","columns"])])]),_:1},8,["show","title"]),n(v,{show:t(m),"onUpdate:show":o[3]||(o[3]=l=>g(m)?m.value=l:null),title:t(e)("file.backupModal.confirmTitle"),width:320,footer:!0,onConfirm:C},{default:c(()=>[i("div",Y,[i("div",ee,k(t(e)("file.backupModal.enterBackupName")),1),i("div",te,[i("div",ae,k(t(e)("file.backupModal.remarks")),1),n(h,{class:"flex-1",value:t(s).remark,"onUpdate:value":o[2]||(o[2]=l=>t(s).remark=l)},null,8,["value"])])])]),_:1},8,["show","title"])],64)}}});export{ke as default}; diff --git a/BTPanel/static/vite/js/Backup-DZymfbxO.js b/BTPanel/static/vite/js/Backup-DZymfbxO.js new file mode 100644 index 00000000..13a3c2dc --- /dev/null +++ b/BTPanel/static/vite/js/Backup-DZymfbxO.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/index-Cs5dB_8a.js?v=1774508183068","js/vue-core-BlDeWrD6.js?v=1774508183068","js/prismjs-BZPoR7_J.js?v=1774508183068","css/prismjs-D-3FhBe_.css?v=1774508183068","js/index-LQ-JIYiv.js?v=1774508183068","js/naive-ui-BjvXgNtF.js?v=1774508183068","css/index-Bu1Pw919.css?v=1774508183068","js/files-B-5OIeVB.js?v=1774508183068","css/index-BZ6kzE9A.css?v=1774508183068"])))=>i.map(i=>d[i]); +import{x as T,h as A,av as f,n as R,l as U,y as V,p as q,S as D,m as E}from"./index-LQ-JIYiv.js?v=1774508183068";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import{u as L}from"./useTableColumns-BpMo4f8r.js?v=1774508183068";import{au as O,b as j,B as I}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import{k as $,R as z,i as X,r as u,$ as Z,Z as G,a0 as s,a9 as c,_ as i,S as t,j as H,aa as k,X as g,F as J,a3 as K}from"./vue-core-BlDeWrD6.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";import"./index-Dd5dC2sI.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";const Q={class:"p-20px"},W={class:"flex items-center gap-16px mb-16px"},Y={class:"p-20px"},ee={class:"mb-16px text-14px"},te={class:"flex items-center gap-20px"},ae={class:"text-13px"},ke=$({__name:"Backup",setup(oe,{expose:x}){const{t:e}=z(),w=X("fileStore"),{backupForm:n}=w,p=u(!1),_=u(!1),r=u([]);x({open(){n.value.path="",p.value=!0,d()},close(){p.value=!1,r.value=[]}});const m=u(!1),M=u([{key:"time",title:e("file.backupModal.backupTime"),width:160,render:a=>T(a.time)},{key:"path",title:e("file.backupModal.backupPath"),ellipsis:{tooltip:!0}},{key:"name",title:e("file.backupModal.backupName"),width:120,ellipsis:{tooltip:!0},render:a=>a.name||"--"},L({width:100,options:a=>[{label:e("Public.Btn.Delete"),onClick:()=>{A({title:e("file.backupModal.deleteBackup"),content:e("file.backupModal.deleteConfirm"),onConfirm:async()=>{await f.post("/files?action=del_path_premissions",{id:a.id},{requestOptions:{loading:e("file.backupModal.deletingBackup"),successMessage:!0}}),d()}})}}]})]);function B(){q({title:e("Component.SelectPath.index_7"),width:750,height:640,footer:!1,data:{path:n.value.path,callback:a=>{n.value.path=a}},component:K(()=>D(()=>import("./index-Cs5dB_8a.js?v=1774508183068"),__vite__mapDeps([0,1,2,3,4,5,6,7,8])))})}function y(){n.value.path?m.value=!0:E.warning(e("file.backupModal.pleaseSelectPath"))}async function d(){try{_.value=!0;const{message:a}=await f.post("/files?action=get_all_back");R(a)?r.value=a.map(o=>({id:Number(o[0]),time:Number(o[2]),name:o[1],path:o[3]})):r.value=[]}finally{_.value=!1}}async function C(){try{await f.post("/files?action=back_path_permissions",n.value,{requestOptions:{loading:e("file.backupModal.executingBackup"),successMessage:!0}}),d(),n.value.path="",n.value.remark=""}catch(a){console.warn(a)}}return(a,o)=>{const h=j,N=U,b=I,S=O,P=F,v=V;return Z(),G(J,null,[s(v,{show:t(p),"onUpdate:show":o[1]||(o[1]=l=>g(p)?p.value=l:null),title:t(e)("file.backupModal.title"),width:"700"},{default:c(()=>[i("div",Q,[i("div",W,[s(S,null,{default:c(()=>[s(h,{value:t(n).path,"onUpdate:value":o[0]||(o[0]=l=>t(n).path=l)},null,8,["value"]),s(b,{onClick:B},{icon:c(()=>[s(N,{name:"file-dir",size:"20"})]),_:1})]),_:1}),s(b,{type:"primary",onClick:y},{default:c(()=>[H(k(t(e)("file.backupModal.backupButton")),1)]),_:1})]),s(P,{loading:t(_),"max-height":370,data:t(r),columns:t(M)},null,8,["loading","data","columns"])])]),_:1},8,["show","title"]),s(v,{show:t(m),"onUpdate:show":o[3]||(o[3]=l=>g(m)?m.value=l:null),title:t(e)("file.backupModal.confirmTitle"),width:320,footer:!0,onConfirm:C},{default:c(()=>[i("div",Y,[i("div",ee,k(t(e)("file.backupModal.enterBackupName")),1),i("div",te,[i("div",ae,k(t(e)("file.backupModal.remarks")),1),s(h,{class:"flex-1",value:t(n).remark,"onUpdate:value":o[2]||(o[2]=l=>t(n).remark=l)},null,8,["value"])])])]),_:1},8,["show","title"])],64)}}});export{ke as default}; diff --git a/BTPanel/static/vite/js/Backup-legacy-C5HO48gn.js b/BTPanel/static/vite/js/Backup-legacy-C5HO48gn.js deleted file mode 100644 index 815f5203..00000000 --- a/BTPanel/static/vite/js/Backup-legacy-C5HO48gn.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785"],(function(e,a){"use strict";var l,t,i,n,u,s,c,o,p,d,r,m,f,k,v,h,g,b,_,y,x,w,j,M,B,C,P,S,N;return{setters:[e=>{l=e.w,t=e.h,i=e.as,n=e.n,u=e.l,s=e.x,c=e.p,o=e.P,p=e.m},e=>{d=e._},e=>{r=e.u},e=>{m=e.au,f=e.b,k=e.B},e=>{v=e.k,h=e.R,g=e.i,b=e.r,_=e.$,y=e.Z,x=e.a0,w=e.a9,j=e._,M=e.S,B=e.j,C=e.aa,P=e.X,S=e.F,N=e.a3},null,null,null,null,null,null,null],execute:function(){const U={class:"p-20px"},T={class:"flex items-center gap-16px mb-16px"},q={class:"p-20px"},F={class:"mb-16px text-14px"},O={class:"flex items-center gap-20px"},z={class:"text-13px"};e("default",v({__name:"Backup",setup(e,{expose:v}){const{t:D}=h(),I=g("fileStore"),{backupForm:R}=I,X=b(!1),Z=b(!1),$=b([]);v({open(){R.value.path="",X.value=!0,J()},close(){X.value=!1,$.value=[]}});const A=b(!1),E=b([{key:"time",title:D("file.backupModal.backupTime"),width:160,render:e=>l(e.time)},{key:"path",title:D("file.backupModal.backupPath"),ellipsis:{tooltip:!0}},{key:"name",title:D("file.backupModal.backupName"),width:120,ellipsis:{tooltip:!0},render:e=>e.name||"--"},r({width:100,options:e=>[{label:D("Public.Btn.Delete"),onClick:()=>{t({title:D("file.backupModal.deleteBackup"),content:D("file.backupModal.deleteConfirm"),onConfirm:async()=>{await i.post("/files?action=del_path_premissions",{id:e.id},{requestOptions:{loading:D("file.backupModal.deletingBackup"),successMessage:!0}}),J()}})}}]})]);function G(){c({title:D("Component.SelectPath.index_7"),width:750,height:640,footer:!1,data:{path:R.value.path,callback:e=>{R.value.path=e}},component:N((()=>o((()=>a.import("./index-legacy-W_PN01QM.js?v=1773287522785")),void 0)))})}function H(){R.value.path?A.value=!0:p.warning(D("file.backupModal.pleaseSelectPath"))}async function J(){try{Z.value=!0;const{message:e}=await i.post("/files?action=get_all_back");n(e)?$.value=e.map((e=>({id:Number(e[0]),time:Number(e[2]),name:e[1],path:e[3]}))):$.value=[]}finally{Z.value=!1}}async function K(){try{await i.post("/files?action=back_path_permissions",R.value,{requestOptions:{loading:D("file.backupModal.executingBackup"),successMessage:!0}}),J(),R.value.path="",R.value.remark=""}catch(e){console.warn(e)}}return(e,a)=>{const l=f,t=u,i=k,n=m,c=d,o=s;return _(),y(S,null,[x(o,{show:M(X),"onUpdate:show":a[1]||(a[1]=e=>P(X)?X.value=e:null),title:M(D)("file.backupModal.title"),width:"700"},{default:w((()=>[j("div",U,[j("div",T,[x(n,null,{default:w((()=>[x(l,{value:M(R).path,"onUpdate:value":a[0]||(a[0]=e=>M(R).path=e)},null,8,["value"]),x(i,{onClick:G},{icon:w((()=>[x(t,{name:"file-dir",size:"20"})])),_:1})])),_:1}),x(i,{type:"primary",onClick:H},{default:w((()=>[B(C(M(D)("file.backupModal.backupButton")),1)])),_:1})]),x(c,{loading:M(Z),"max-height":370,data:M($),columns:M(E)},null,8,["loading","data","columns"])])])),_:1},8,["show","title"]),x(o,{show:M(A),"onUpdate:show":a[3]||(a[3]=e=>P(A)?A.value=e:null),title:M(D)("file.backupModal.confirmTitle"),width:320,footer:!0,onConfirm:K},{default:w((()=>[j("div",q,[j("div",F,C(M(D)("file.backupModal.enterBackupName")),1),j("div",O,[j("div",z,C(M(D)("file.backupModal.remarks")),1),x(l,{class:"flex-1",value:M(R).remark,"onUpdate:value":a[2]||(a[2]=e=>M(R).remark=e)},null,8,["value"])])])])),_:1},8,["show","title"])],64)}}}))}}})); diff --git a/BTPanel/static/vite/js/Backup-legacy-hL2rxgbY.js b/BTPanel/static/vite/js/Backup-legacy-hL2rxgbY.js new file mode 100644 index 00000000..dce17996 --- /dev/null +++ b/BTPanel/static/vite/js/Backup-legacy-hL2rxgbY.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068"],(function(e,a){"use strict";var l,t,i,n,u,s,c,o,p,d,r,m,f,v,k,h,g,b,y,_,x,w,j,M,B,C,S,N,P;return{setters:[e=>{l=e.x,t=e.h,i=e.av,n=e.n,u=e.l,s=e.y,c=e.p,o=e.S,p=e.m},e=>{d=e._},e=>{r=e.u},e=>{m=e.au,f=e.b,v=e.B},e=>{k=e.k,h=e.R,g=e.i,b=e.r,y=e.$,_=e.Z,x=e.a0,w=e.a9,j=e._,M=e.S,B=e.j,C=e.aa,S=e.X,N=e.F,P=e.a3},null,null,null,null,null,null,null],execute:function(){const U={class:"p-20px"},T={class:"flex items-center gap-16px mb-16px"},q={class:"p-20px"},F={class:"mb-16px text-14px"},O={class:"flex items-center gap-20px"},z={class:"text-13px"};e("default",k({__name:"Backup",setup(e,{expose:k}){const{t:D}=h(),G=g("fileStore"),{backupForm:R}=G,X=b(!1),Z=b(!1),$=b([]);k({open(){R.value.path="",X.value=!0,J()},close(){X.value=!1,$.value=[]}});const A=b(!1),E=b([{key:"time",title:D("file.backupModal.backupTime"),width:160,render:e=>l(e.time)},{key:"path",title:D("file.backupModal.backupPath"),ellipsis:{tooltip:!0}},{key:"name",title:D("file.backupModal.backupName"),width:120,ellipsis:{tooltip:!0},render:e=>e.name||"--"},r({width:100,options:e=>[{label:D("Public.Btn.Delete"),onClick:()=>{t({title:D("file.backupModal.deleteBackup"),content:D("file.backupModal.deleteConfirm"),onConfirm:async()=>{await i.post("/files?action=del_path_premissions",{id:e.id},{requestOptions:{loading:D("file.backupModal.deletingBackup"),successMessage:!0}}),J()}})}}]})]);function H(){c({title:D("Component.SelectPath.index_7"),width:750,height:640,footer:!1,data:{path:R.value.path,callback:e=>{R.value.path=e}},component:P((()=>o((()=>a.import("./index-legacy-DQ9Fq-kQ.js?v=1774508183068")),void 0)))})}function I(){R.value.path?A.value=!0:p.warning(D("file.backupModal.pleaseSelectPath"))}async function J(){try{Z.value=!0;const{message:e}=await i.post("/files?action=get_all_back");n(e)?$.value=e.map((e=>({id:Number(e[0]),time:Number(e[2]),name:e[1],path:e[3]}))):$.value=[]}finally{Z.value=!1}}async function K(){try{await i.post("/files?action=back_path_permissions",R.value,{requestOptions:{loading:D("file.backupModal.executingBackup"),successMessage:!0}}),J(),R.value.path="",R.value.remark=""}catch(e){console.warn(e)}}return(e,a)=>{const l=f,t=u,i=v,n=m,c=d,o=s;return y(),_(N,null,[x(o,{show:M(X),"onUpdate:show":a[1]||(a[1]=e=>S(X)?X.value=e:null),title:M(D)("file.backupModal.title"),width:"700"},{default:w((()=>[j("div",U,[j("div",T,[x(n,null,{default:w((()=>[x(l,{value:M(R).path,"onUpdate:value":a[0]||(a[0]=e=>M(R).path=e)},null,8,["value"]),x(i,{onClick:H},{icon:w((()=>[x(t,{name:"file-dir",size:"20"})])),_:1})])),_:1}),x(i,{type:"primary",onClick:I},{default:w((()=>[B(C(M(D)("file.backupModal.backupButton")),1)])),_:1})]),x(c,{loading:M(Z),"max-height":370,data:M($),columns:M(E)},null,8,["loading","data","columns"])])])),_:1},8,["show","title"]),x(o,{show:M(A),"onUpdate:show":a[3]||(a[3]=e=>S(A)?A.value=e:null),title:M(D)("file.backupModal.confirmTitle"),width:320,footer:!0,onConfirm:K},{default:w((()=>[j("div",q,[j("div",F,C(M(D)("file.backupModal.enterBackupName")),1),j("div",O,[j("div",z,C(M(D)("file.backupModal.remarks")),1),x(l,{class:"flex-1",value:M(R).remark,"onUpdate:value":a[2]||(a[2]=e=>M(R).remark=e)},null,8,["value"])])])])),_:1},8,["show","title"])],64)}}}))}}})); diff --git a/BTPanel/static/vite/js/CalcVerify-DzxM0pDk.js b/BTPanel/static/vite/js/CalcVerify-DzxM0pDk.js deleted file mode 100644 index 057d9033..00000000 --- a/BTPanel/static/vite/js/CalcVerify-DzxM0pDk.js +++ /dev/null @@ -1 +0,0 @@ -import{m as p,c as f}from"./index-BTglIPU2.js?v=1773287522785";import{k as v,R as x,r,$ as C,Z as h,_ as o,aa as l,S as i,a0 as y,X as M}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{_ as N}from"./naive-ui--dJnpVcV.js?v=1773287522785";const V={class:"calc-verify-box"},b={class:"mx-12px"},g={class:"w-80px ml-12px"},k=v({__name:"CalcVerify",setup(w,{expose:u}){const{t:d}=x(),a=r(0),s=r(0),n=r(null);function m(){a.value=Math.round(Math.random()*9+1),s.value=Math.round(Math.random()*9+1)}return m(),u({validate(){return new Promise((t,e)=>{n.value!==a.value+s.value&&(p.error(d("Component.Confirm.index_5")),e()),t(!0)})}}),(t,e)=>{const c=N;return C(),h("div",V,[o("div",null,l(t.$t("Component.Confirm.index_4")),1),o("div",b,l(i(a))+" + "+l(i(s)),1),e[1]||(e[1]=o("div",null,"=",-1)),o("div",g,[y(c,{value:i(n),"onUpdate:value":e[0]||(e[0]=_=>M(n)?n.value=_:null),"show-button":!1,placeholder:""},null,8,["value"])])])}}}),S=f(k,[["__scopeId","data-v-366c5492"]]);export{S as C}; diff --git a/BTPanel/static/vite/js/CalcVerify-gqHuJ9LB.js b/BTPanel/static/vite/js/CalcVerify-gqHuJ9LB.js new file mode 100644 index 00000000..280ed811 --- /dev/null +++ b/BTPanel/static/vite/js/CalcVerify-gqHuJ9LB.js @@ -0,0 +1 @@ +import{m as p,c as f}from"./index-LQ-JIYiv.js?v=1774508183068";import{k as v,R as x,r,$ as C,Z as h,_ as o,aa as l,S as i,a0 as y,X as M}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{_ as N}from"./naive-ui-BjvXgNtF.js?v=1774508183068";const V={class:"calc-verify-box"},b={class:"mx-12px"},g={class:"w-80px ml-12px"},k=v({__name:"CalcVerify",setup(w,{expose:u}){const{t:d}=x(),a=r(0),s=r(0),n=r(null);function m(){a.value=Math.round(Math.random()*9+1),s.value=Math.round(Math.random()*9+1)}return m(),u({validate(){return new Promise((t,e)=>{n.value!==a.value+s.value&&(p.error(d("Component.Confirm.index_5")),e()),t(!0)})}}),(t,e)=>{const c=N;return C(),h("div",V,[o("div",null,l(t.$t("Component.Confirm.index_4")),1),o("div",b,l(i(a))+" + "+l(i(s)),1),e[1]||(e[1]=o("div",null,"=",-1)),o("div",g,[y(c,{value:i(n),"onUpdate:value":e[0]||(e[0]=_=>M(n)?n.value=_:null),"show-button":!1,placeholder:""},null,8,["value"])])])}}}),S=f(k,[["__scopeId","data-v-366c5492"]]);export{S as C}; diff --git a/BTPanel/static/vite/js/CalcVerify-legacy-BbIFaSDS.js b/BTPanel/static/vite/js/CalcVerify-legacy-BbIFaSDS.js deleted file mode 100644 index ef9b93d6..00000000 --- a/BTPanel/static/vite/js/CalcVerify-legacy-BbIFaSDS.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,a){"use strict";var n,t,l,r,o,i,c,u,s,d,v,p,m;return{setters:[e=>{n=e.m,t=e.c},e=>{l=e.k,r=e.R,o=e.r,i=e.$,c=e.Z,u=e._,s=e.aa,d=e.S,v=e.a0,p=e.X},e=>{m=e._}],execute:function(){var a=document.createElement("style");a.textContent=".calc-verify-box[data-v-366c5492]{margin-left:12px;margin-right:12px;margin-top:24px;height:40px;display:flex;align-items:center;padding-left:48px;font-size:14px;background-color:var(--site-confirm-calc-box-bg)}\n/*$vite$:1*/",document.head.appendChild(a);const x={class:"calc-verify-box"},g={class:"mx-12px"},f={class:"w-80px ml-12px"};e("C",t(l({__name:"CalcVerify",setup(e,{expose:a}){const{t:t}=r(),l=o(0),h=o(0),y=o(null);return l.value=Math.round(9*Math.random()+1),h.value=Math.round(9*Math.random()+1),a({validate:()=>new Promise(((e,a)=>{y.value!==l.value+h.value&&(n.error(t("Component.Confirm.index_5")),a()),e(!0)}))}),(e,a)=>{const n=m;return i(),c("div",x,[u("div",null,s(e.$t("Component.Confirm.index_4")),1),u("div",g,s(d(l))+" + "+s(d(h)),1),a[1]||(a[1]=u("div",null,"=",-1)),u("div",f,[v(n,{value:d(y),"onUpdate:value":a[0]||(a[0]=e=>p(y)?y.value=e:null),"show-button":!1,placeholder:""},null,8,["value"])])])}}}),[["__scopeId","data-v-366c5492"]]))}}})); diff --git a/BTPanel/static/vite/js/CalcVerify-legacy-CxmHmisN.js b/BTPanel/static/vite/js/CalcVerify-legacy-CxmHmisN.js new file mode 100644 index 00000000..70d47742 --- /dev/null +++ b/BTPanel/static/vite/js/CalcVerify-legacy-CxmHmisN.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068"],(function(e,a){"use strict";var n,t,l,r,o,i,c,u,s,d,v,p,m;return{setters:[e=>{n=e.m,t=e.c},e=>{l=e.k,r=e.R,o=e.r,i=e.$,c=e.Z,u=e._,s=e.aa,d=e.S,v=e.a0,p=e.X},e=>{m=e._}],execute:function(){var a=document.createElement("style");a.textContent=".calc-verify-box[data-v-366c5492]{margin-left:12px;margin-right:12px;margin-top:24px;height:40px;display:flex;align-items:center;padding-left:48px;font-size:14px;background-color:var(--site-confirm-calc-box-bg)}\n/*$vite$:1*/",document.head.appendChild(a);const x={class:"calc-verify-box"},g={class:"mx-12px"},f={class:"w-80px ml-12px"};e("C",t(l({__name:"CalcVerify",setup(e,{expose:a}){const{t:t}=r(),l=o(0),h=o(0),y=o(null);return l.value=Math.round(9*Math.random()+1),h.value=Math.round(9*Math.random()+1),a({validate:()=>new Promise(((e,a)=>{y.value!==l.value+h.value&&(n.error(t("Component.Confirm.index_5")),a()),e(!0)}))}),(e,a)=>{const n=m;return i(),c("div",x,[u("div",null,s(e.$t("Component.Confirm.index_4")),1),u("div",g,s(d(l))+" + "+s(d(h)),1),a[1]||(a[1]=u("div",null,"=",-1)),u("div",f,[v(n,{value:d(y),"onUpdate:value":a[0]||(a[0]=e=>p(y)?y.value=e:null),"show-button":!1,placeholder:""},null,8,["value"])])])}}}),[["__scopeId","data-v-366c5492"]]))}}})); diff --git a/BTPanel/static/vite/js/Compression-BI1MAE3w.js b/BTPanel/static/vite/js/Compression-BI1MAE3w.js deleted file mode 100644 index dfaa9ea1..00000000 --- a/BTPanel/static/vite/js/Compression-BI1MAE3w.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/index-B6Y_2X_r.js?v=1773287522785","js/vue-core-DJjvd5ZC.js?v=1773287522785","js/prismjs-BZPoR7_J.js?v=1773287522785","css/prismjs-D-3FhBe_.css?v=1773287522785","js/index-BTglIPU2.js?v=1773287522785","js/naive-ui--dJnpVcV.js?v=1773287522785","css/index-DEM1fxGq.css?v=1773287522785","js/files-BUbkyTRl.js?v=1773287522785","css/index-FEE1lr_F.css?v=1773287522785"])))=>i.map(i=>d[i]); -import{l as U,x as V,p as j,P as E}from"./index-BTglIPU2.js?v=1773287522785";import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{A as N,$ as O,w as D,Q as K}from"./FileIcon-eIHDRaxH.js?v=1773287522785";import{a1 as Q,a6 as W,au as X,b as q,B as G}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as H,R as J,i as Y,r as n,w as Z,$ as ee,a8 as oe,a9 as u,_ as ne,a0 as e,S as t,X as h,a3 as te,n as C}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./soft-Cjyfamvm.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";const ae={class:"p-20px pt-28px"},fe=H({__name:"Compression",setup(le,{expose:$}){const{t:a}=J(),v=Y("fileStore"),{choosedKeys:l,currentPath:d,fileList:x}=v,p=n(!1),r=n(""),m=n(""),s=n(""),o=n("tar.gz"),f=n(d.value),z=n([{label:"tar.gz",value:"tar.gz"},{label:"zip",value:"zip"},{label:"rar",value:"rar"}]),_=N(x.value,l.value)[0];Z(o,()=>C(g));function g(){l.value.length==1?s.value="".concat(f.value,"/").concat(_.nm,".").concat(o.value):l.value.length>1&&(s.value="".concat(f.value,"/").concat(d.value.split("/").pop(),".").concat(o.value))}function k(){p.value=!0,l.value.length==1?(m.value=_.nm,_.type=="dir"?r.value=a("file.compressionModal.compressFolder",{name:_.nm}):r.value=a("file.compressionModal.compressFile",{name:_.nm})):l.value.length>1&&(m.value=l.value.join(","),r.value=a("file.compressionModal.compressFolderAndFile",{names:m.value})),g()}function y(){p.value=!1}function F(){j({title:a("Component.SelectPath.index_7"),width:750,height:640,footer:!1,data:{path:f.value,callback:b=>{f.value=b,C(g)}},component:te(()=>E(()=>import("./index-B6Y_2X_r.js?v=1773287522785"),__vite__mapDeps([0,1,2,3,4,5,6,7,8])))})}async function M(){await O(m.value,s.value,o.value,d.value),D(v),K(v)}return $({open:k,close:y}),(b,i)=>{const P=W,w=Q,B=q,R=U,T=G,A=X,L=I,S=V;return ee(),oe(S,{show:t(p),"onUpdate:show":i[2]||(i[2]=c=>h(p)?p.value=c:null),width:480,title:t(r),footer:!0,onConfirm:M},{default:u(()=>[ne("div",ae,[e(L,null,{default:u(()=>[e(w,{label:t(a)("file.compressionModal.compressType")},{default:u(()=>[e(P,{value:t(o),"onUpdate:value":i[0]||(i[0]=c=>h(o)?o.value=c:null),options:t(z)},null,8,["value","options"])]),_:1},8,["label"]),e(w,{label:t(a)("file.compressionModal.compressPath")},{default:u(()=>[e(A,null,{default:u(()=>[e(B,{value:t(s),"onUpdate:value":i[1]||(i[1]=c=>h(s)?s.value=c:null)},null,8,["value"]),e(T,{onClick:F},{icon:u(()=>[e(R,{name:"file-dir",size:"20"})]),_:1})]),_:1})]),_:1},8,["label"])]),_:1})])]),_:1},8,["show","title"])}}});export{fe as default}; diff --git a/BTPanel/static/vite/js/Compression-D3SqyANM.js b/BTPanel/static/vite/js/Compression-D3SqyANM.js new file mode 100644 index 00000000..29f9a0b0 --- /dev/null +++ b/BTPanel/static/vite/js/Compression-D3SqyANM.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/index-Cs5dB_8a.js?v=1774508183068","js/vue-core-BlDeWrD6.js?v=1774508183068","js/prismjs-BZPoR7_J.js?v=1774508183068","css/prismjs-D-3FhBe_.css?v=1774508183068","js/index-LQ-JIYiv.js?v=1774508183068","js/naive-ui-BjvXgNtF.js?v=1774508183068","css/index-Bu1Pw919.css?v=1774508183068","js/files-B-5OIeVB.js?v=1774508183068","css/index-BZ6kzE9A.css?v=1774508183068"])))=>i.map(i=>d[i]); +import{l as U,y as V,p as j,S as E}from"./index-LQ-JIYiv.js?v=1774508183068";import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{y as N,$ as O,t as D,P as K}from"./FileIcon-MbTGjXAj.js?v=1774508183068";import{a1 as W,a6 as X,au as q,b as G,B as H}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import{k as J,R as Q,i as Y,r as n,w as Z,$ as ee,a8 as oe,a9 as u,_ as ne,a0 as e,S as t,X as h,a3 as te,n as C}from"./vue-core-BlDeWrD6.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";const ae={class:"p-20px pt-28px"},me=J({__name:"Compression",setup(le,{expose:$}){const{t:a}=Q(),v=Y("fileStore"),{choosedKeys:l,currentPath:d,fileList:y}=v,p=n(!1),r=n(""),m=n(""),s=n(""),o=n("tar.gz"),f=n(d.value),x=n([{label:"tar.gz",value:"tar.gz"},{label:"zip",value:"zip"},{label:"rar",value:"rar"}]),_=N(y.value,l.value)[0];Z(o,()=>C(g));function g(){l.value.length==1?s.value="".concat(f.value,"/").concat(_.nm,".").concat(o.value):l.value.length>1&&(s.value="".concat(f.value,"/").concat(d.value.split("/").pop(),".").concat(o.value))}function z(){p.value=!0,l.value.length==1?(m.value=_.nm,_.type=="dir"?r.value=a("file.compressionModal.compressFolder",{name:_.nm}):r.value=a("file.compressionModal.compressFile",{name:_.nm})):l.value.length>1&&(m.value=l.value.join(","),r.value=a("file.compressionModal.compressFolderAndFile",{names:m.value})),g()}function k(){p.value=!1}function F(){j({title:a("Component.SelectPath.index_7"),width:750,height:640,footer:!1,data:{path:f.value,callback:b=>{f.value=b,C(g)}},component:te(()=>E(()=>import("./index-Cs5dB_8a.js?v=1774508183068"),__vite__mapDeps([0,1,2,3,4,5,6,7,8])))})}async function M(){await O(m.value,s.value,o.value,d.value),D(v),K(v)}return $({open:z,close:k}),(b,i)=>{const P=X,w=W,B=G,R=U,T=H,S=q,A=I,L=V;return ee(),oe(L,{show:t(p),"onUpdate:show":i[2]||(i[2]=c=>h(p)?p.value=c:null),width:480,title:t(r),footer:!0,onConfirm:M},{default:u(()=>[ne("div",ae,[e(A,null,{default:u(()=>[e(w,{label:t(a)("file.compressionModal.compressType")},{default:u(()=>[e(P,{value:t(o),"onUpdate:value":i[0]||(i[0]=c=>h(o)?o.value=c:null),options:t(x)},null,8,["value","options"])]),_:1},8,["label"]),e(w,{label:t(a)("file.compressionModal.compressPath")},{default:u(()=>[e(S,null,{default:u(()=>[e(B,{value:t(s),"onUpdate:value":i[1]||(i[1]=c=>h(s)?s.value=c:null)},null,8,["value"]),e(T,{onClick:F},{icon:u(()=>[e(R,{name:"file-dir",size:"20"})]),_:1})]),_:1})]),_:1},8,["label"])]),_:1})])]),_:1},8,["show","title"])}}});export{me as default}; diff --git a/BTPanel/static/vite/js/Compression-legacy-L9NIiH1G.js b/BTPanel/static/vite/js/Compression-legacy-L9NIiH1G.js deleted file mode 100644 index 22c01d0a..00000000 --- a/BTPanel/static/vite/js/Compression-legacy-L9NIiH1G.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./FileIcon-legacy-CYrICTNK.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./soft-legacy-CzxZ2w7j.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785"],(function(e,l){"use strict";var a,u,n,t,o,s,i,v,c,r,p,d,m,f,g,h,_,y,j,b,x,w,$,z,F,M,C,P;return{setters:[e=>{a=e.l,u=e.x,n=e.p,t=e.P},e=>{o=e._},e=>{s=e.A,i=e.$,v=e.w,c=e.Q},e=>{r=e.a1,p=e.a6,d=e.au,m=e.b,f=e.B},e=>{g=e.k,h=e.R,_=e.i,y=e.r,j=e.w,b=e.$,x=e.a8,w=e.a9,$=e._,z=e.a0,F=e.S,M=e.X,C=e.a3,P=e.n},null,null,null],execute:function(){const S={class:"p-20px pt-28px"};e("default",g({__name:"Compression",setup(e,{expose:g}){const{t:k}=h(),U=_("fileStore"),{choosedKeys:A,currentPath:I,fileList:B}=U,E=y(!1),K=y(""),L=y(""),Q=y(""),R=y("tar.gz"),T=y(I.value),X=y([{label:"tar.gz",value:"tar.gz"},{label:"zip",value:"zip"},{label:"rar",value:"rar"}]),Z=s(B.value,A.value)[0];function q(){1==A.value.length?Q.value=`${T.value}/${Z.nm}.${R.value}`:A.value.length>1&&(Q.value=`${T.value}/${I.value.split("/").pop()}.${R.value}`)}function D(){n({title:k("Component.SelectPath.index_7"),width:750,height:640,footer:!1,data:{path:T.value,callback:e=>{T.value=e,P(q)}},component:C((()=>t((()=>l.import("./index-legacy-W_PN01QM.js?v=1773287522785")),void 0)))})}async function G(){await i(L.value,Q.value,R.value,I.value),v(U),c(U)}return j(R,(()=>P(q))),g({open:function(){E.value=!0,1==A.value.length?(L.value=Z.nm,"dir"==Z.type?K.value=k("file.compressionModal.compressFolder",{name:Z.nm}):K.value=k("file.compressionModal.compressFile",{name:Z.nm})):A.value.length>1&&(L.value=A.value.join(","),K.value=k("file.compressionModal.compressFolderAndFile",{names:L.value})),q()},close:function(){E.value=!1}}),(e,l)=>{const n=p,t=r,s=m,i=a,v=f,c=d,g=o,h=u;return b(),x(h,{show:F(E),"onUpdate:show":l[2]||(l[2]=e=>M(E)?E.value=e:null),width:480,title:F(K),footer:!0,onConfirm:G},{default:w((()=>[$("div",S,[z(g,null,{default:w((()=>[z(t,{label:F(k)("file.compressionModal.compressType")},{default:w((()=>[z(n,{value:F(R),"onUpdate:value":l[0]||(l[0]=e=>M(R)?R.value=e:null),options:F(X)},null,8,["value","options"])])),_:1},8,["label"]),z(t,{label:F(k)("file.compressionModal.compressPath")},{default:w((()=>[z(c,null,{default:w((()=>[z(s,{value:F(Q),"onUpdate:value":l[1]||(l[1]=e=>M(Q)?Q.value=e:null)},null,8,["value"]),z(v,{onClick:D},{icon:w((()=>[z(i,{name:"file-dir",size:"20"})])),_:1})])),_:1})])),_:1},8,["label"])])),_:1})])])),_:1},8,["show","title"])}}}))}}})); diff --git a/BTPanel/static/vite/js/Compression-legacy-nx5C-X37.js b/BTPanel/static/vite/js/Compression-legacy-nx5C-X37.js new file mode 100644 index 00000000..fd48f8dd --- /dev/null +++ b/BTPanel/static/vite/js/Compression-legacy-nx5C-X37.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./FileIcon-legacy-BZIg8aaH.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068"],(function(e,l){"use strict";var a,u,n,t,o,s,i,v,c,r,p,d,m,f,g,y,_,h,j,b,x,$,w,z,F,M,S,C;return{setters:[e=>{a=e.l,u=e.y,n=e.p,t=e.S},e=>{o=e._},e=>{s=e.y,i=e.$,v=e.t,c=e.P},e=>{r=e.a1,p=e.a6,d=e.au,m=e.b,f=e.B},e=>{g=e.k,y=e.R,_=e.i,h=e.r,j=e.w,b=e.$,x=e.a8,$=e.a9,w=e._,z=e.a0,F=e.S,M=e.X,S=e.a3,C=e.n},null,null],execute:function(){const P={class:"p-20px pt-28px"};e("default",g({__name:"Compression",setup(e,{expose:g}){const{t:k}=y(),U=_("fileStore"),{choosedKeys:A,currentPath:B,fileList:G}=U,I=h(!1),K=h(""),L=h(""),R=h(""),T=h("tar.gz"),X=h(B.value),Z=h([{label:"tar.gz",value:"tar.gz"},{label:"zip",value:"zip"},{label:"rar",value:"rar"}]),q=s(G.value,A.value)[0];function D(){1==A.value.length?R.value=`${X.value}/${q.nm}.${T.value}`:A.value.length>1&&(R.value=`${X.value}/${B.value.split("/").pop()}.${T.value}`)}function E(){n({title:k("Component.SelectPath.index_7"),width:750,height:640,footer:!1,data:{path:X.value,callback:e=>{X.value=e,C(D)}},component:S((()=>t((()=>l.import("./index-legacy-DQ9Fq-kQ.js?v=1774508183068")),void 0)))})}async function H(){await i(L.value,R.value,T.value,B.value),v(U),c(U)}return j(T,(()=>C(D))),g({open:function(){I.value=!0,1==A.value.length?(L.value=q.nm,"dir"==q.type?K.value=k("file.compressionModal.compressFolder",{name:q.nm}):K.value=k("file.compressionModal.compressFile",{name:q.nm})):A.value.length>1&&(L.value=A.value.join(","),K.value=k("file.compressionModal.compressFolderAndFile",{names:L.value})),D()},close:function(){I.value=!1}}),(e,l)=>{const n=p,t=r,s=m,i=a,v=f,c=d,g=o,y=u;return b(),x(y,{show:F(I),"onUpdate:show":l[2]||(l[2]=e=>M(I)?I.value=e:null),width:480,title:F(K),footer:!0,onConfirm:H},{default:$((()=>[w("div",P,[z(g,null,{default:$((()=>[z(t,{label:F(k)("file.compressionModal.compressType")},{default:$((()=>[z(n,{value:F(T),"onUpdate:value":l[0]||(l[0]=e=>M(T)?T.value=e:null),options:F(Z)},null,8,["value","options"])])),_:1},8,["label"]),z(t,{label:F(k)("file.compressionModal.compressPath")},{default:$((()=>[z(c,null,{default:$((()=>[z(s,{value:F(R),"onUpdate:value":l[1]||(l[1]=e=>M(R)?R.value=e:null)},null,8,["value"]),z(v,{onClick:E},{icon:$((()=>[z(i,{name:"file-dir",size:"20"})])),_:1})])),_:1})])),_:1},8,["label"])])),_:1})])])),_:1},8,["show","title"])}}}))}}})); diff --git a/BTPanel/static/vite/js/CveSection-BRdqUgGr.js b/BTPanel/static/vite/js/CveSection-BRdqUgGr.js deleted file mode 100644 index 171e7b01..00000000 --- a/BTPanel/static/vite/js/CveSection-BRdqUgGr.js +++ /dev/null @@ -1 +0,0 @@ -import{k as d,$ as i,Z as n,F as l,P as u,_ as e,aa as t,ak as _}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{c as p}from"./index-BTglIPU2.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./naive-ui--dJnpVcV.js?v=1773287522785";const v={class:"issues-list"},m=["item"],h={class:"issue-header"},g={class:"issue-number"},y=["innerHTML"],f={class:"issue-level high"},k={class:"issue-content"},b={class:"issue-ps"},x={class:"issue-tips"},L=["innerHTML"],T={key:0,class:"pagination-note"},C=d({__name:"CveSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0}},setup(r){const a=r;return(H,o)=>(i(),n("div",v,[(i(!0),n(l,null,u(a.data,(s,c)=>(i(),n("div",{class:"issue-item cve",key:"cve-"+c,item:s},[e("div",h,[e("div",g,t(s.num),1),e("div",{class:"issue-name",innerHTML:s.name},null,8,y),e("div",f,t(s.level),1)]),e("div",k,[e("div",b,t(s.ps),1),e("div",x,[o[0]||(o[0]=e("div",{class:"tips-title"},"Solution:",-1)),e("div",{class:"tips-content",innerHTML:s.tips.replace(/\n/g,"
")},null,8,L)])])],8,m))),128)),a.totalPages>1?(i(),n("div",T," Total "+t(a.totalPages)+" pages, current page "+t(a.pageIndex+1)+". ",1)):_("",!0)]))}}),q=p(C,[["__scopeId","data-v-97e90b76"]]);export{q as default}; diff --git a/BTPanel/static/vite/js/CveSection-Cu--6_-1.js b/BTPanel/static/vite/js/CveSection-Cu--6_-1.js new file mode 100644 index 00000000..bd02fc65 --- /dev/null +++ b/BTPanel/static/vite/js/CveSection-Cu--6_-1.js @@ -0,0 +1 @@ +import{k as d,$ as i,Z as n,F as l,P as u,_ as e,aa as t,ak as _}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{c as p}from"./index-LQ-JIYiv.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./naive-ui-BjvXgNtF.js?v=1774508183068";const v={class:"issues-list"},m=["item"],h={class:"issue-header"},g={class:"issue-number"},y=["innerHTML"],f={class:"issue-level high"},k={class:"issue-content"},b={class:"issue-ps"},x={class:"issue-tips"},L=["innerHTML"],T={key:0,class:"pagination-note"},C=d({__name:"CveSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0}},setup(r){const a=r;return(H,o)=>(i(),n("div",v,[(i(!0),n(l,null,u(a.data,(s,c)=>(i(),n("div",{class:"issue-item cve",key:"cve-"+c,item:s},[e("div",h,[e("div",g,t(s.num),1),e("div",{class:"issue-name",innerHTML:s.name},null,8,y),e("div",f,t(s.level),1)]),e("div",k,[e("div",b,t(s.ps),1),e("div",x,[o[0]||(o[0]=e("div",{class:"tips-title"},"Solution:",-1)),e("div",{class:"tips-content",innerHTML:s.tips.replace(/\n/g,"
")},null,8,L)])])],8,m))),128)),a.totalPages>1?(i(),n("div",T," Total "+t(a.totalPages)+" pages, current page "+t(a.pageIndex+1)+". ",1)):_("",!0)]))}}),q=p(C,[["__scopeId","data-v-97e90b76"]]);export{q as default}; diff --git a/BTPanel/static/vite/js/CveSection-legacy-HSC05ouL.js b/BTPanel/static/vite/js/CveSection-legacy-HSC05ouL.js new file mode 100644 index 00000000..c8dd7bb8 --- /dev/null +++ b/BTPanel/static/vite/js/CveSection-legacy-HSC05ouL.js @@ -0,0 +1 @@ +System.register(["./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068"],(function(e,s){"use strict";var i,t,a,r,u,o,l,d,n;return{setters:[e=>{i=e.k,t=e.$,a=e.Z,r=e.F,u=e.P,o=e._,l=e.aa,d=e.ak},e=>{n=e.c},null,null],execute:function(){var s=document.createElement("style");s.textContent=".issues-list .issue-item[data-v-97e90b76]{margin-bottom:20px;border:2px solid #eee;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.1);page-break-inside:avoid}.issues-list .issue-item.high[data-v-97e90b76]{border-left:6px solid #ff4d4f}.issues-list .issue-item.medium[data-v-97e90b76]{border-left:6px solid #faad14}.issues-list .issue-item.low[data-v-97e90b76]{border-left:6px solid #52c41a}.issues-list .issue-item.cve[data-v-97e90b76]{border-left:6px solid #722ed1}.issues-list .issue-item.ignore[data-v-97e90b76]{border-left:6px solid #999}.issues-list .issue-item .issue-header[data-v-97e90b76]{display:flex;align-items:center;padding:15px 20px;background-color:var(--home-risk-security-report-bg)}.issues-list .issue-item .issue-header .issue-number[data-v-97e90b76]{flex:0 0 40px;height:40px;border-radius:50%;background-color:#07f;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;margin-right:15px;font-size:16px}.issues-list .issue-item .issue-header .issue-name[data-v-97e90b76]{flex:1;font-weight:500;font-size:16px}.issues-list .issue-item .issue-header .issue-level[data-v-97e90b76]{padding:4px 12px;border-radius:6px;font-size:14px;margin-right:15px;font-weight:700}.issues-list .issue-item .issue-header .issue-level.high[data-v-97e90b76]{background-color:#ff4d4f;color:#fff}.issues-list .issue-item .issue-header .issue-level.medium[data-v-97e90b76]{background-color:#faad14;color:#fff}.issues-list .issue-item .issue-header .issue-level.low[data-v-97e90b76]{background-color:#52c41a;color:#fff}.issues-list .issue-item .issue-header .issue-level.ignore[data-v-97e90b76]{background-color:#f0f0f0;color:#666}.issues-list .issue-item .issue-header .issue-auto[data-v-97e90b76]{padding:4px 12px;border-radius:6px;font-size:14px;background-color:#f5f5f5;color:#666}.issues-list .issue-item .issue-header .issue-auto.supported[data-v-97e90b76]{background-color:#e6f7ff;color:#07f}.issues-list .issue-item .issue-content[data-v-97e90b76]{padding:20px}.issues-list .issue-item .issue-content .issue-ps[data-v-97e90b76]{margin-bottom:15px;color:#666;font-size:16px;line-height:1.6}.issues-list .issue-item .issue-content .issue-tips[data-v-97e90b76]{background-color:var(--home-risk-security-report-bg);padding:15px;border-radius:8px;border-left:4px solid #0077ff}.issues-list .issue-item .issue-content .issue-tips .tips-title[data-v-97e90b76]{font-weight:500;margin-bottom:10px;font-size:16px;color:#333}.issues-list .issue-item .issue-content .issue-tips .tips-content[data-v-97e90b76]{color:#666;white-space:pre-line;line-height:1.6;font-size:15px}\n/*$vite$:1*/",document.head.appendChild(s);const c={class:"issues-list"},p=["item"],f={class:"issue-header"},b={class:"issue-number"},m=["innerHTML"],v={class:"issue-level high"},g={class:"issue-content"},x={class:"issue-ps"},h={class:"issue-tips"},y=["innerHTML"],k={key:0,class:"pagination-note"};e("default",n(i({__name:"CveSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0}},setup(e){const s=e;return(e,i)=>(t(),a("div",c,[(t(!0),a(r,null,u(s.data,((e,s)=>(t(),a("div",{class:"issue-item cve",key:"cve-"+s,item:e},[o("div",f,[o("div",b,l(e.num),1),o("div",{class:"issue-name",innerHTML:e.name},null,8,m),o("div",v,l(e.level),1)]),o("div",g,[o("div",x,l(e.ps),1),o("div",h,[i[0]||(i[0]=o("div",{class:"tips-title"},"Solution:",-1)),o("div",{class:"tips-content",innerHTML:e.tips.replace(/\n/g,"
")},null,8,y)])])],8,p)))),128)),s.totalPages>1?(t(),a("div",k," Total "+l(s.totalPages)+" pages, current page "+l(s.pageIndex+1)+". ",1)):d("",!0)]))}}),[["__scopeId","data-v-97e90b76"]]))}}})); diff --git a/BTPanel/static/vite/js/CveSection-legacy-I4w86H3T.js b/BTPanel/static/vite/js/CveSection-legacy-I4w86H3T.js deleted file mode 100644 index c62204cb..00000000 --- a/BTPanel/static/vite/js/CveSection-legacy-I4w86H3T.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,s){"use strict";var i,t,a,r,u,o,l,d,n;return{setters:[e=>{i=e.k,t=e.$,a=e.Z,r=e.F,u=e.P,o=e._,l=e.aa,d=e.ak},e=>{n=e.c},null,null],execute:function(){var s=document.createElement("style");s.textContent=".issues-list .issue-item[data-v-97e90b76]{margin-bottom:20px;border:2px solid #eee;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.1);page-break-inside:avoid}.issues-list .issue-item.high[data-v-97e90b76]{border-left:6px solid #ff4d4f}.issues-list .issue-item.medium[data-v-97e90b76]{border-left:6px solid #faad14}.issues-list .issue-item.low[data-v-97e90b76]{border-left:6px solid #52c41a}.issues-list .issue-item.cve[data-v-97e90b76]{border-left:6px solid #722ed1}.issues-list .issue-item.ignore[data-v-97e90b76]{border-left:6px solid #999}.issues-list .issue-item .issue-header[data-v-97e90b76]{display:flex;align-items:center;padding:15px 20px;background-color:var(--home-risk-security-report-bg)}.issues-list .issue-item .issue-header .issue-number[data-v-97e90b76]{flex:0 0 40px;height:40px;border-radius:50%;background-color:#07f;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;margin-right:15px;font-size:16px}.issues-list .issue-item .issue-header .issue-name[data-v-97e90b76]{flex:1;font-weight:500;font-size:16px}.issues-list .issue-item .issue-header .issue-level[data-v-97e90b76]{padding:4px 12px;border-radius:6px;font-size:14px;margin-right:15px;font-weight:700}.issues-list .issue-item .issue-header .issue-level.high[data-v-97e90b76]{background-color:#ff4d4f;color:#fff}.issues-list .issue-item .issue-header .issue-level.medium[data-v-97e90b76]{background-color:#faad14;color:#fff}.issues-list .issue-item .issue-header .issue-level.low[data-v-97e90b76]{background-color:#52c41a;color:#fff}.issues-list .issue-item .issue-header .issue-level.ignore[data-v-97e90b76]{background-color:#f0f0f0;color:#666}.issues-list .issue-item .issue-header .issue-auto[data-v-97e90b76]{padding:4px 12px;border-radius:6px;font-size:14px;background-color:#f5f5f5;color:#666}.issues-list .issue-item .issue-header .issue-auto.supported[data-v-97e90b76]{background-color:#e6f7ff;color:#07f}.issues-list .issue-item .issue-content[data-v-97e90b76]{padding:20px}.issues-list .issue-item .issue-content .issue-ps[data-v-97e90b76]{margin-bottom:15px;color:#666;font-size:16px;line-height:1.6}.issues-list .issue-item .issue-content .issue-tips[data-v-97e90b76]{background-color:var(--home-risk-security-report-bg);padding:15px;border-radius:8px;border-left:4px solid #0077ff}.issues-list .issue-item .issue-content .issue-tips .tips-title[data-v-97e90b76]{font-weight:500;margin-bottom:10px;font-size:16px;color:#333}.issues-list .issue-item .issue-content .issue-tips .tips-content[data-v-97e90b76]{color:#666;white-space:pre-line;line-height:1.6;font-size:15px}\n/*$vite$:1*/",document.head.appendChild(s);const c={class:"issues-list"},p=["item"],f={class:"issue-header"},b={class:"issue-number"},m=["innerHTML"],v={class:"issue-level high"},g={class:"issue-content"},x={class:"issue-ps"},h={class:"issue-tips"},y=["innerHTML"],k={key:0,class:"pagination-note"};e("default",n(i({__name:"CveSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0}},setup(e){const s=e;return(e,i)=>(t(),a("div",c,[(t(!0),a(r,null,u(s.data,((e,s)=>(t(),a("div",{class:"issue-item cve",key:"cve-"+s,item:e},[o("div",f,[o("div",b,l(e.num),1),o("div",{class:"issue-name",innerHTML:e.name},null,8,m),o("div",v,l(e.level),1)]),o("div",g,[o("div",x,l(e.ps),1),o("div",h,[i[0]||(i[0]=o("div",{class:"tips-title"},"Solution:",-1)),o("div",{class:"tips-content",innerHTML:e.tips.replace(/\n/g,"
")},null,8,y)])])],8,p)))),128)),s.totalPages>1?(t(),a("div",k," Total "+l(s.totalPages)+" pages, current page "+l(s.pageIndex+1)+". ",1)):d("",!0)]))}}),[["__scopeId","data-v-97e90b76"]]))}}})); diff --git a/BTPanel/static/vite/js/Decompress-CT22AIGW.js b/BTPanel/static/vite/js/Decompress-CT22AIGW.js deleted file mode 100644 index 377ae206..00000000 --- a/BTPanel/static/vite/js/Decompress-CT22AIGW.js +++ /dev/null @@ -1 +0,0 @@ -import{x as F}from"./index-BTglIPU2.js?v=1773287522785";import{_ as N}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{A as T,a0 as B,w as C,Q as P}from"./FileIcon-eIHDRaxH.js?v=1773287522785";import{k as V,R as q,r as D,i as E,al as K,e as L,$ as _,a8 as v,a9 as n,a0 as a,S as o,_ as d,ak as S,X as $,N as j}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as A,b as G,a6 as I}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./soft-Cjyfamvm.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";const O={class:"w-310px"},Q={class:"w-310px"},X={class:"w-310px"},H={class:"w-310px"},ae=V({__name:"Decompress",setup(J,{expose:w}){const{t}=q(),r=D(!1),f=E("fileStore"),{choosedKeys:g,currentPath:b,fileList:h}=f,m=T(h.value,g.value)[0],c=K("formRef"),e=L({sfile:"",dfile:"",type:"zip",coding:"UTF-8",password:""}),x=[{label:"UTF-8",value:"UTF-8"},{label:"GBK",value:"gb18030"}],y={sfile:{trigger:["input","blur"],validator:()=>e.sfile.trim()===""?new Error(t("file.decompressModal.validation.fileNameRequired")):!0},dfile:{trigger:["input","blur"],validator:()=>e.dfile.trim()===""?new Error(t("file.decompressModal.validation.pathRequired")):!0}},R=(i,s)=>{if(r.value=!0,e.dfile=b.value,e.coding="UTF-8",i){e.sfile=i,s==="tar.gz"?e.type="tar":e.type="zip";return}e.sfile=m.path,m.ext==="tar.gz"?e.type="tar":e.type="zip"},U=async()=>{var i;await((i=c.value)==null?void 0:i.validate()),await B(j(e)),C(f),P(f)};return w({open:R}),(i,s)=>{const u=G,p=A,k=I,M=N,z=F;return _(),v(z,{show:o(r),"onUpdate:show":s[4]||(s[4]=l=>$(r)?r.value=l:null),title:o(t)("file.decompressModal.title"),width:"520",footer:!0,onConfirm:U},{default:n(()=>[a(M,{ref_key:"formRef",ref:c,class:"p-24px",model:o(e),rules:y},{default:n(()=>[a(p,{label:o(t)("file.decompressModal.fileName"),path:"sfile"},{default:n(()=>[d("div",O,[a(u,{value:o(e).sfile,"onUpdate:value":s[0]||(s[0]=l=>o(e).sfile=l)},null,8,["value"])])]),_:1},8,["label"]),a(p,{label:o(t)("file.decompressModal.compressPath"),path:"dfile"},{default:n(()=>[d("div",Q,[a(u,{value:o(e).dfile,"onUpdate:value":s[1]||(s[1]=l=>o(e).dfile=l)},null,8,["value"])])]),_:1},8,["label"]),o(e).type==="zip"?(_(),v(p,{key:0,label:o(t)("file.decompressModal.password")},{default:n(()=>[d("div",X,[a(u,{value:o(e).password,"onUpdate:value":s[2]||(s[2]=l=>o(e).password=l),placeholder:o(t)("file.decompressModal.passwordPlaceholder")},null,8,["value","placeholder"])])]),_:1},8,["label"])):S("",!0),a(p,{label:o(t)("file.decompressModal.encoding"),"show-feedback":!1},{default:n(()=>[d("div",H,[a(k,{value:o(e).coding,"onUpdate:value":s[3]||(s[3]=l=>o(e).coding=l),options:x},null,8,["value"])])]),_:1},8,["label"])]),_:1},8,["model"])]),_:1},8,["show","title"])}}});export{ae as default}; diff --git a/BTPanel/static/vite/js/Decompress-D9wGgVVm.js b/BTPanel/static/vite/js/Decompress-D9wGgVVm.js new file mode 100644 index 00000000..93f71643 --- /dev/null +++ b/BTPanel/static/vite/js/Decompress-D9wGgVVm.js @@ -0,0 +1 @@ +import{y as F}from"./index-LQ-JIYiv.js?v=1774508183068";import{_ as N}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{y as T,a0 as B,t as C,P}from"./FileIcon-MbTGjXAj.js?v=1774508183068";import{k as V,R as q,r as D,i as E,al as K,e as L,$ as _,a8 as v,a9 as n,a0 as a,S as o,_ as d,ak as S,X as $,N as j}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a1 as G,b as I,a6 as O}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";const X={class:"w-310px"},A={class:"w-310px"},H={class:"w-310px"},J={class:"w-310px"},te=V({__name:"Decompress",setup(Q,{expose:w}){const{t}=q(),r=D(!1),f=E("fileStore"),{choosedKeys:g,currentPath:b,fileList:y}=f,m=T(y.value,g.value)[0],c=K("formRef"),e=L({sfile:"",dfile:"",type:"zip",coding:"UTF-8",password:""}),h=[{label:"UTF-8",value:"UTF-8"},{label:"GBK",value:"gb18030"}],x={sfile:{trigger:["input","blur"],validator:()=>e.sfile.trim()===""?new Error(t("file.decompressModal.validation.fileNameRequired")):!0},dfile:{trigger:["input","blur"],validator:()=>e.dfile.trim()===""?new Error(t("file.decompressModal.validation.pathRequired")):!0}},R=(i,s)=>{if(r.value=!0,e.dfile=b.value,e.coding="UTF-8",i){e.sfile=i,s==="tar.gz"?e.type="tar":e.type="zip";return}e.sfile=m.path,m.ext==="tar.gz"?e.type="tar":e.type="zip"},U=async()=>{var i;await((i=c.value)==null?void 0:i.validate()),await B(j(e)),C(f),P(f)};return w({open:R}),(i,s)=>{const u=I,p=G,k=O,M=N,z=F;return _(),v(z,{show:o(r),"onUpdate:show":s[4]||(s[4]=l=>$(r)?r.value=l:null),title:o(t)("file.decompressModal.title"),width:"520",footer:!0,onConfirm:U},{default:n(()=>[a(M,{ref_key:"formRef",ref:c,class:"p-24px",model:o(e),rules:x},{default:n(()=>[a(p,{label:o(t)("file.decompressModal.fileName"),path:"sfile"},{default:n(()=>[d("div",X,[a(u,{value:o(e).sfile,"onUpdate:value":s[0]||(s[0]=l=>o(e).sfile=l)},null,8,["value"])])]),_:1},8,["label"]),a(p,{label:o(t)("file.decompressModal.compressPath"),path:"dfile"},{default:n(()=>[d("div",A,[a(u,{value:o(e).dfile,"onUpdate:value":s[1]||(s[1]=l=>o(e).dfile=l)},null,8,["value"])])]),_:1},8,["label"]),o(e).type==="zip"?(_(),v(p,{key:0,label:o(t)("file.decompressModal.password")},{default:n(()=>[d("div",H,[a(u,{value:o(e).password,"onUpdate:value":s[2]||(s[2]=l=>o(e).password=l),placeholder:o(t)("file.decompressModal.passwordPlaceholder")},null,8,["value","placeholder"])])]),_:1},8,["label"])):S("",!0),a(p,{label:o(t)("file.decompressModal.encoding"),"show-feedback":!1},{default:n(()=>[d("div",J,[a(k,{value:o(e).coding,"onUpdate:value":s[3]||(s[3]=l=>o(e).coding=l),options:h},null,8,["value"])])]),_:1},8,["label"])]),_:1},8,["model"])]),_:1},8,["show","title"])}}});export{te as default}; diff --git a/BTPanel/static/vite/js/Decompress-legacy-AgdyqfCl.js b/BTPanel/static/vite/js/Decompress-legacy-AgdyqfCl.js new file mode 100644 index 00000000..0ccdb7ab --- /dev/null +++ b/BTPanel/static/vite/js/Decompress-legacy-AgdyqfCl.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./FileIcon-legacy-BZIg8aaH.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068"],(function(e,l){"use strict";var a,s,i,t,o,r,d,u,p,n,f,c,v,g,m,y,w,_,b,h,x,U,j,M;return{setters:[e=>{a=e.y},e=>{s=e._},e=>{i=e.y,t=e.a0,o=e.t,r=e.P},e=>{d=e.k,u=e.R,p=e.r,n=e.i,f=e.al,c=e.e,v=e.$,g=e.a8,m=e.a9,y=e.a0,w=e.S,_=e._,b=e.ak,h=e.X,x=e.N},e=>{U=e.a1,j=e.b,M=e.a6},null,null],execute:function(){const l={class:"w-310px"},z={class:"w-310px"},k={class:"w-310px"},F={class:"w-310px"};e("default",d({__name:"Decompress",setup(e,{expose:d}){const{t:R}=u(),P=p(!1),T=n("fileStore"),{choosedKeys:N,currentPath:S,fileList:q}=T,E=i(q.value,N.value)[0],K=f("formRef"),B=c({sfile:"",dfile:"",type:"zip",coding:"UTF-8",password:""}),C=[{label:"UTF-8",value:"UTF-8"},{label:"GBK",value:"gb18030"}],D={sfile:{trigger:["input","blur"],validator:()=>""!==B.sfile.trim()||new Error(R("file.decompressModal.validation.fileNameRequired"))},dfile:{trigger:["input","blur"],validator:()=>""!==B.dfile.trim()||new Error(R("file.decompressModal.validation.pathRequired"))}},G=async()=>{await(K.value?.validate()),await t(x(B)),o(T),r(T)};return d({open:(e,l)=>{if(P.value=!0,B.dfile=S.value,B.coding="UTF-8",e)return B.sfile=e,void(B.type="tar.gz"===l?"tar":"zip");B.sfile=E.path,"tar.gz"===E.ext?B.type="tar":B.type="zip"}}),(e,i)=>{const t=j,o=U,r=M,d=s,u=a;return v(),g(u,{show:w(P),"onUpdate:show":i[4]||(i[4]=e=>h(P)?P.value=e:null),title:w(R)("file.decompressModal.title"),width:"520",footer:!0,onConfirm:G},{default:m((()=>[y(d,{ref_key:"formRef",ref:K,class:"p-24px",model:w(B),rules:D},{default:m((()=>[y(o,{label:w(R)("file.decompressModal.fileName"),path:"sfile"},{default:m((()=>[_("div",l,[y(t,{value:w(B).sfile,"onUpdate:value":i[0]||(i[0]=e=>w(B).sfile=e)},null,8,["value"])])])),_:1},8,["label"]),y(o,{label:w(R)("file.decompressModal.compressPath"),path:"dfile"},{default:m((()=>[_("div",z,[y(t,{value:w(B).dfile,"onUpdate:value":i[1]||(i[1]=e=>w(B).dfile=e)},null,8,["value"])])])),_:1},8,["label"]),"zip"===w(B).type?(v(),g(o,{key:0,label:w(R)("file.decompressModal.password")},{default:m((()=>[_("div",k,[y(t,{value:w(B).password,"onUpdate:value":i[2]||(i[2]=e=>w(B).password=e),placeholder:w(R)("file.decompressModal.passwordPlaceholder")},null,8,["value","placeholder"])])])),_:1},8,["label"])):b("",!0),y(o,{label:w(R)("file.decompressModal.encoding"),"show-feedback":!1},{default:m((()=>[_("div",F,[y(r,{value:w(B).coding,"onUpdate:value":i[3]||(i[3]=e=>w(B).coding=e),options:C},null,8,["value"])])])),_:1},8,["label"])])),_:1},8,["model"])])),_:1},8,["show","title"])}}}))}}})); diff --git a/BTPanel/static/vite/js/Decompress-legacy-Dib4U9B3.js b/BTPanel/static/vite/js/Decompress-legacy-Dib4U9B3.js deleted file mode 100644 index 091a8d30..00000000 --- a/BTPanel/static/vite/js/Decompress-legacy-Dib4U9B3.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./FileIcon-legacy-CYrICTNK.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./soft-legacy-CzxZ2w7j.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785"],(function(e,l){"use strict";var a,s,i,t,o,r,d,u,p,n,f,c,v,g,m,y,w,_,h,b,x,j,U,M;return{setters:[e=>{a=e.x},e=>{s=e._},e=>{i=e.A,t=e.a0,o=e.w,r=e.Q},e=>{d=e.k,u=e.R,p=e.r,n=e.i,f=e.al,c=e.e,v=e.$,g=e.a8,m=e.a9,y=e.a0,w=e.S,_=e._,h=e.ak,b=e.X,x=e.N},e=>{j=e.a1,U=e.b,M=e.a6},null,null,null],execute:function(){const l={class:"w-310px"},z={class:"w-310px"},k={class:"w-310px"},F={class:"w-310px"};e("default",d({__name:"Decompress",setup(e,{expose:d}){const{t:R}=u(),T=p(!1),E=n("fileStore"),{choosedKeys:N,currentPath:P,fileList:S}=E,q=i(S.value,N.value)[0],K=f("formRef"),A=c({sfile:"",dfile:"",type:"zip",coding:"UTF-8",password:""}),B=[{label:"UTF-8",value:"UTF-8"},{label:"GBK",value:"gb18030"}],C={sfile:{trigger:["input","blur"],validator:()=>""!==A.sfile.trim()||new Error(R("file.decompressModal.validation.fileNameRequired"))},dfile:{trigger:["input","blur"],validator:()=>""!==A.dfile.trim()||new Error(R("file.decompressModal.validation.pathRequired"))}},D=async()=>{await(K.value?.validate()),await t(x(A)),o(E),r(E)};return d({open:(e,l)=>{if(T.value=!0,A.dfile=P.value,A.coding="UTF-8",e)return A.sfile=e,void(A.type="tar.gz"===l?"tar":"zip");A.sfile=q.path,"tar.gz"===q.ext?A.type="tar":A.type="zip"}}),(e,i)=>{const t=U,o=j,r=M,d=s,u=a;return v(),g(u,{show:w(T),"onUpdate:show":i[4]||(i[4]=e=>b(T)?T.value=e:null),title:w(R)("file.decompressModal.title"),width:"520",footer:!0,onConfirm:D},{default:m((()=>[y(d,{ref_key:"formRef",ref:K,class:"p-24px",model:w(A),rules:C},{default:m((()=>[y(o,{label:w(R)("file.decompressModal.fileName"),path:"sfile"},{default:m((()=>[_("div",l,[y(t,{value:w(A).sfile,"onUpdate:value":i[0]||(i[0]=e=>w(A).sfile=e)},null,8,["value"])])])),_:1},8,["label"]),y(o,{label:w(R)("file.decompressModal.compressPath"),path:"dfile"},{default:m((()=>[_("div",z,[y(t,{value:w(A).dfile,"onUpdate:value":i[1]||(i[1]=e=>w(A).dfile=e)},null,8,["value"])])])),_:1},8,["label"]),"zip"===w(A).type?(v(),g(o,{key:0,label:w(R)("file.decompressModal.password")},{default:m((()=>[_("div",k,[y(t,{value:w(A).password,"onUpdate:value":i[2]||(i[2]=e=>w(A).password=e),placeholder:w(R)("file.decompressModal.passwordPlaceholder")},null,8,["value","placeholder"])])])),_:1},8,["label"])):h("",!0),y(o,{label:w(R)("file.decompressModal.encoding"),"show-feedback":!1},{default:m((()=>[_("div",F,[y(r,{value:w(A).coding,"onUpdate:value":i[3]||(i[3]=e=>w(A).coding=e),options:B},null,8,["value"])])])),_:1},8,["label"])])),_:1},8,["model"])])),_:1},8,["show","title"])}}}))}}})); diff --git a/BTPanel/static/vite/js/Del-BqOIofE1.js b/BTPanel/static/vite/js/Del-BqOIofE1.js deleted file mode 100644 index 6096696c..00000000 --- a/BTPanel/static/vite/js/Del-BqOIofE1.js +++ /dev/null @@ -1 +0,0 @@ -import{C as q}from"./CalcVerify-DzxM0pDk.js?v=1773287522785";import{m as c,as as b,c as N}from"./index-BTglIPU2.js?v=1773287522785";import{w as O}from"./FileIcon-eIHDRaxH.js?v=1773287522785";import{B as $,q as P}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as j,i as L,r as o,$ as p,a8 as M,a9 as n,S as i,Z as h,_ as f,a0 as m,j as u,aa as x,X as A}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./soft-Cjyfamvm.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";const E={class:"header-tit single-line-ellipsis"},I={key:0,class:"del-modal-wrapper"},J={key:1,class:"del-modal-wrapper"},K={class:"text-[#f0a020]"},T={class:"modal-footer-btns"},U=j({__name:"Del",setup(X,{expose:D}){const v=L("fileStore"),{choosedKeys:l,fileList:d,fileRecycle:_,currentPath:k}=v,s=o(!1),r=o({}),F=o([]),y=o("Delete file"),g=o();D({open(){if(s.value=!0,l.value.length==1){const t=d.value.find(e=>e.nm==l.value[0]);r.value=t,y.value="Delete file [".concat(r.value.nm,"]")}else F.value=d.value.filter(t=>l.value.includes(t.nm))},close(){s.value=!1}});async function B(t){const e=c.loading("Files are being deleted. Please wait");try{s.value=!1,(await b.post("/files?action=DeleteFile",{path:t},{requestOptions:{isOriginalResult:!0}})).message.status==0?c.success("Files deleted successfully"):c.error("Files failed to delete")}catch(a){console.warn(a)}finally{e.close()}}async function C(t,e){await b.post("/files?action=SetBatchData",{data:JSON.stringify(t),type:4,path:e},{requestOptions:{loading:"正在批量删除中,请稍候...",successMessage:!0}}),s.value=!1}async function R(){if(l.value.length==1){const t=d.value.find(e=>e.nm==l.value[0]);await B(t.path)}l.value.length>1&&await C(l.value,k.value)}async function S(){if(!_.value&&!g.value.validate()){c.warning("Please enter the correct verification number");return}await R(),O(v)}return(t,e)=>{const a=$,V=P;return p(),M(V,{preset:"card",draggable:"","close-on-esc":!1,"mask-closable":!1,class:"w-170",segmented:"",show:i(s),"onUpdate:show":e[1]||(e[1]=w=>A(s)?s.value=w:null)},{header:n(()=>[f("div",E,x(i(y)),1)]),footer:n(()=>[f("div",T,[m(a,{onClick:e[0]||(e[0]=w=>s.value=!1)},{default:n(()=>e[5]||(e[5]=[u("cancel")])),_:1,__:[5]}),m(a,{type:"primary",onClick:S},{default:n(()=>e[6]||(e[6]=[u("confirm")])),_:1,__:[6]})])]),default:n(()=>[i(_)?(p(),h("div",J,[e[3]||(e[3]=u(" Confirm delete folder ")),f("span",K,x(i(r).path?"[".concat(i(r).path,"]"):""),1),e[4]||(e[4]=u(" ,it will move to recycle bin after delete, continue? "))])):(p(),h("div",I,[e[2]||(e[2]=f("div",{class:"text-red-5 mb-15px text-14px"}," Recycle bin is not currently open, delete file cannot be restored after, continue? ",-1)),m(q,{ref_key:"calcVertifyRef",ref:g},null,512)]))]),_:1},8,["show"])}}}),te=N(U,[["__scopeId","data-v-9d32222b"]]);export{te as default}; diff --git a/BTPanel/static/vite/js/Del-CpAozoSj.js b/BTPanel/static/vite/js/Del-CpAozoSj.js new file mode 100644 index 00000000..be825f5c --- /dev/null +++ b/BTPanel/static/vite/js/Del-CpAozoSj.js @@ -0,0 +1 @@ +import{C as q}from"./CalcVerify-gqHuJ9LB.js?v=1774508183068";import{m as c,av as b,c as N}from"./index-LQ-JIYiv.js?v=1774508183068";import{t as O}from"./FileIcon-MbTGjXAj.js?v=1774508183068";import{B as $,q as P}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import{k as j,i as L,r as n,$ as p,a8 as M,a9 as o,S as i,Z as h,_ as f,a0 as m,j as u,aa as x,X as A}from"./vue-core-BlDeWrD6.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";const E={class:"header-tit single-line-ellipsis"},I={key:0,class:"del-modal-wrapper"},J={key:1,class:"del-modal-wrapper"},K={class:"text-[#f0a020]"},T={class:"modal-footer-btns"},U=j({__name:"Del",setup(X,{expose:D}){const v=L("fileStore"),{choosedKeys:l,fileList:d,fileRecycle:_,currentPath:k}=v,s=n(!1),r=n({}),F=n([]),y=n("Delete file"),g=n();D({open(){if(s.value=!0,l.value.length==1){const t=d.value.find(e=>e.nm==l.value[0]);r.value=t,y.value="Delete file [".concat(r.value.nm,"]")}else F.value=d.value.filter(t=>l.value.includes(t.nm))},close(){s.value=!1}});async function B(t){const e=c.loading("Files are being deleted. Please wait");try{s.value=!1,(await b.post("/files?action=DeleteFile",{path:t},{requestOptions:{isOriginalResult:!0}})).message.status==0?c.success("Files deleted successfully"):c.error("Files failed to delete")}catch(a){console.warn(a)}finally{e.close()}}async function C(t,e){await b.post("/files?action=SetBatchData",{data:JSON.stringify(t),type:4,path:e},{requestOptions:{loading:"正在批量删除中,请稍候...",successMessage:!0}}),s.value=!1}async function R(){if(l.value.length==1){const t=d.value.find(e=>e.nm==l.value[0]);await B(t.path)}l.value.length>1&&await C(l.value,k.value)}async function S(){if(!_.value&&!g.value.validate()){c.warning("Please enter the correct verification number");return}await R(),O(v)}return(t,e)=>{const a=$,V=P;return p(),M(V,{preset:"card",draggable:"","close-on-esc":!1,"mask-closable":!1,class:"w-170",segmented:"",show:i(s),"onUpdate:show":e[1]||(e[1]=w=>A(s)?s.value=w:null)},{header:o(()=>[f("div",E,x(i(y)),1)]),footer:o(()=>[f("div",T,[m(a,{onClick:e[0]||(e[0]=w=>s.value=!1)},{default:o(()=>e[5]||(e[5]=[u("cancel")])),_:1,__:[5]}),m(a,{type:"primary",onClick:S},{default:o(()=>e[6]||(e[6]=[u("confirm")])),_:1,__:[6]})])]),default:o(()=>[i(_)?(p(),h("div",J,[e[3]||(e[3]=u(" Confirm delete folder ")),f("span",K,x(i(r).path?"[".concat(i(r).path,"]"):""),1),e[4]||(e[4]=u(" ,it will move to recycle bin after delete, continue? "))])):(p(),h("div",I,[e[2]||(e[2]=f("div",{class:"text-red-5 mb-15px text-14px"}," Recycle bin is not currently open, delete file cannot be restored after, continue? ",-1)),m(q,{ref_key:"calcVertifyRef",ref:g},null,512)]))]),_:1},8,["show"])}}}),ee=N(U,[["__scopeId","data-v-9d32222b"]]);export{ee as default}; diff --git a/BTPanel/static/vite/js/Del-legacy-BXgjXw97.js b/BTPanel/static/vite/js/Del-legacy-BXgjXw97.js new file mode 100644 index 00000000..eec55ca4 --- /dev/null +++ b/BTPanel/static/vite/js/Del-legacy-BXgjXw97.js @@ -0,0 +1 @@ +System.register(["./CalcVerify-legacy-CxmHmisN.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./FileIcon-legacy-BZIg8aaH.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068"],(function(e,a){"use strict";var l,t,s,n,i,c,o,r,u,d,f,v,p,y,g,m,h,w,_,b;return{setters:[e=>{l=e.C},e=>{t=e.m,s=e.av,n=e.c},e=>{i=e.t},e=>{c=e.B,o=e.q},e=>{r=e.k,u=e.i,d=e.r,f=e.$,v=e.a8,p=e.a9,y=e.S,g=e.Z,m=e._,h=e.a0,w=e.j,_=e.aa,b=e.X},null,null],execute:function(){var a=document.createElement("style");a.textContent=".del-modal-wrapper[data-v-9d32222b]{padding:20px;font-size:14px}.header-tit[data-v-9d32222b]{width:280px}\n/*$vite$:1*/",document.head.appendChild(a);const x={class:"header-tit single-line-ellipsis"},j={key:0,class:"del-modal-wrapper"},k={key:1,class:"del-modal-wrapper"},C={class:"text-[#f0a020]"},D={class:"modal-footer-btns"};e("default",n(r({__name:"Del",setup(e,{expose:a}){const n=u("fileStore"),{choosedKeys:r,fileList:F,fileRecycle:S,currentPath:$}=n,O=d(!1),R=d({}),q=d([]),P=d("Delete file"),B=d();async function I(){if(1==r.value.length){const e=F.value.find((e=>e.nm==r.value[0]));await async function(e){const a=t.loading("Files are being deleted. Please wait");try{O.value=!1,0==(await s.post("/files?action=DeleteFile",{path:e},{requestOptions:{isOriginalResult:!0}})).message.status?t.success("Files deleted successfully"):t.error("Files failed to delete")}catch(l){console.warn(l)}finally{a.close()}}(e.path)}r.value.length>1&&await async function(e,a){await s.post("/files?action=SetBatchData",{data:JSON.stringify(e),type:4,path:a},{requestOptions:{loading:"正在批量删除中,请稍候...",successMessage:!0}}),O.value=!1}(r.value,$.value)}async function U(){S.value||B.value.validate()?(await I(),i(n)):t.warning("Please enter the correct verification number")}return a({open(){if(O.value=!0,1==r.value.length){const e=F.value.find((e=>e.nm==r.value[0]));R.value=e,P.value=`Delete file [${R.value.nm}]`}else q.value=F.value.filter((e=>r.value.includes(e.nm)))},close(){O.value=!1}}),(e,a)=>{const t=c,s=o;return f(),v(s,{preset:"card",draggable:"","close-on-esc":!1,"mask-closable":!1,class:"w-170",segmented:"",show:y(O),"onUpdate:show":a[1]||(a[1]=e=>b(O)?O.value=e:null)},{header:p((()=>[m("div",x,_(y(P)),1)])),footer:p((()=>[m("div",D,[h(t,{onClick:a[0]||(a[0]=e=>O.value=!1)},{default:p((()=>a[5]||(a[5]=[w("cancel")]))),_:1,__:[5]}),h(t,{type:"primary",onClick:U},{default:p((()=>a[6]||(a[6]=[w("confirm")]))),_:1,__:[6]})])])),default:p((()=>[y(S)?(f(),g("div",k,[a[3]||(a[3]=w(" Confirm delete folder ")),m("span",C,_(y(R).path?`[${y(R).path}]`:""),1),a[4]||(a[4]=w(" ,it will move to recycle bin after delete, continue? "))])):(f(),g("div",j,[a[2]||(a[2]=m("div",{class:"text-red-5 mb-15px text-14px"}," Recycle bin is not currently open, delete file cannot be restored after, continue? ",-1)),h(l,{ref_key:"calcVertifyRef",ref:B},null,512)]))])),_:1},8,["show"])}}}),[["__scopeId","data-v-9d32222b"]]))}}})); diff --git a/BTPanel/static/vite/js/Del-legacy-Bn3ftL1t.js b/BTPanel/static/vite/js/Del-legacy-Bn3ftL1t.js deleted file mode 100644 index 41f16755..00000000 --- a/BTPanel/static/vite/js/Del-legacy-Bn3ftL1t.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./CalcVerify-legacy-BbIFaSDS.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./FileIcon-legacy-CYrICTNK.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./soft-legacy-CzxZ2w7j.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785"],(function(e,a){"use strict";var l,t,s,n,i,c,o,r,u,d,f,v,p,y,g,m,h,w,_,b;return{setters:[e=>{l=e.C},e=>{t=e.m,s=e.as,n=e.c},e=>{i=e.w},e=>{c=e.B,o=e.q},e=>{r=e.k,u=e.i,d=e.r,f=e.$,v=e.a8,p=e.a9,y=e.S,g=e.Z,m=e._,h=e.a0,w=e.j,_=e.aa,b=e.X},null,null,null],execute:function(){var a=document.createElement("style");a.textContent=".del-modal-wrapper[data-v-9d32222b]{padding:20px;font-size:14px}.header-tit[data-v-9d32222b]{width:280px}\n/*$vite$:1*/",document.head.appendChild(a);const x={class:"header-tit single-line-ellipsis"},j={key:0,class:"del-modal-wrapper"},k={key:1,class:"del-modal-wrapper"},C={class:"text-[#f0a020]"},D={class:"modal-footer-btns"};e("default",n(r({__name:"Del",setup(e,{expose:a}){const n=u("fileStore"),{choosedKeys:r,fileList:F,fileRecycle:S,currentPath:$}=n,O=d(!1),R=d({}),q=d([]),P=d("Delete file"),B=d();async function E(){if(1==r.value.length){const e=F.value.find((e=>e.nm==r.value[0]));await async function(e){const a=t.loading("Files are being deleted. Please wait");try{O.value=!1,0==(await s.post("/files?action=DeleteFile",{path:e},{requestOptions:{isOriginalResult:!0}})).message.status?t.success("Files deleted successfully"):t.error("Files failed to delete")}catch(l){console.warn(l)}finally{a.close()}}(e.path)}r.value.length>1&&await async function(e,a){await s.post("/files?action=SetBatchData",{data:JSON.stringify(e),type:4,path:a},{requestOptions:{loading:"正在批量删除中,请稍候...",successMessage:!0}}),O.value=!1}(r.value,$.value)}async function I(){S.value||B.value.validate()?(await E(),i(n)):t.warning("Please enter the correct verification number")}return a({open(){if(O.value=!0,1==r.value.length){const e=F.value.find((e=>e.nm==r.value[0]));R.value=e,P.value=`Delete file [${R.value.nm}]`}else q.value=F.value.filter((e=>r.value.includes(e.nm)))},close(){O.value=!1}}),(e,a)=>{const t=c,s=o;return f(),v(s,{preset:"card",draggable:"","close-on-esc":!1,"mask-closable":!1,class:"w-170",segmented:"",show:y(O),"onUpdate:show":a[1]||(a[1]=e=>b(O)?O.value=e:null)},{header:p((()=>[m("div",x,_(y(P)),1)])),footer:p((()=>[m("div",D,[h(t,{onClick:a[0]||(a[0]=e=>O.value=!1)},{default:p((()=>a[5]||(a[5]=[w("cancel")]))),_:1,__:[5]}),h(t,{type:"primary",onClick:I},{default:p((()=>a[6]||(a[6]=[w("confirm")]))),_:1,__:[6]})])])),default:p((()=>[y(S)?(f(),g("div",k,[a[3]||(a[3]=w(" Confirm delete folder ")),m("span",C,_(y(R).path?`[${y(R).path}]`:""),1),a[4]||(a[4]=w(" ,it will move to recycle bin after delete, continue? "))])):(f(),g("div",j,[a[2]||(a[2]=m("div",{class:"text-red-5 mb-15px text-14px"}," Recycle bin is not currently open, delete file cannot be restored after, continue? ",-1)),h(l,{ref_key:"calcVertifyRef",ref:B},null,512)]))])),_:1},8,["show"])}}}),[["__scopeId","data-v-9d32222b"]]))}}})); diff --git a/BTPanel/static/vite/js/FavoriteList-BOQuT1AG.js b/BTPanel/static/vite/js/FavoriteList-BOQuT1AG.js deleted file mode 100644 index c5e04a95..00000000 --- a/BTPanel/static/vite/js/FavoriteList-BOQuT1AG.js +++ /dev/null @@ -1 +0,0 @@ -import{h as _,x as d}from"./index-BTglIPU2.js?v=1773287522785";import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{X as h}from"./FileIcon-eIHDRaxH.js?v=1773287522785";import{u as w}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{k as x,R as L,i as b,r as n,$ as k,a8 as C,a9 as F,_ as M,a0 as B,S as i,X as g}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./naive-ui--dJnpVcV.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./soft-Cjyfamvm.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./index-DIKmrNCq.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";const y={class:"p-20px"},E=x({__name:"FavoriteList",setup(D,{expose:r}){const{t}=L(),a=b("fileStore"),{favoriteList:l}=a,o=n(!1);r({open(){o.value=!0},close(){o.value=!1}});const m=n([{title:t("file.favoriteListModal.path"),key:"path",ellipsis:{tooltip:!0}},w({width:100,options:e=>[{label:t("Public.Btn.Delete"),onClick:()=>p(e.path)}]})]);function p(e){_({title:t("file.favoriteListModal.removeFavoriteTitle"),content:t("file.favoriteListModal.removeFavoriteMessage",{path:e}),onConfirm:async()=>{await h(a,e)}})}return(e,s)=>{const c=v,f=d;return k(),C(f,{show:i(o),"onUpdate:show":s[0]||(s[0]=u=>g(o)?o.value=u:null),title:i(t)("file.favoriteListModal.title"),width:850},{default:F(()=>[M("div",y,[B(c,{"max-height":480,data:i(l),columns:i(m)},null,8,["data","columns"])])]),_:1},8,["show","title"])}}});export{E as default}; diff --git a/BTPanel/static/vite/js/FavoriteList-CKMJ-bbn.js b/BTPanel/static/vite/js/FavoriteList-CKMJ-bbn.js new file mode 100644 index 00000000..a4e8bffa --- /dev/null +++ b/BTPanel/static/vite/js/FavoriteList-CKMJ-bbn.js @@ -0,0 +1 @@ +import{h as _,y as d}from"./index-LQ-JIYiv.js?v=1774508183068";import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import{X as h}from"./FileIcon-MbTGjXAj.js?v=1774508183068";import{u as w}from"./useTableColumns-BpMo4f8r.js?v=1774508183068";import{k as x,R as L,i as b,r as n,$ as k,a8 as C,a9 as F,_ as M,a0 as B,S as a,X as g}from"./vue-core-BlDeWrD6.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./index-Dd5dC2sI.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";const y={class:"p-20px"},z=x({__name:"FavoriteList",setup(D,{expose:r}){const{t}=L(),i=b("fileStore"),{favoriteList:l}=i,o=n(!1);r({open(){o.value=!0},close(){o.value=!1}});const m=n([{title:t("file.favoriteListModal.path"),key:"path",ellipsis:{tooltip:!0}},w({width:100,options:e=>[{label:t("Public.Btn.Delete"),onClick:()=>p(e.path)}]})]);function p(e){_({title:t("file.favoriteListModal.removeFavoriteTitle"),content:t("file.favoriteListModal.removeFavoriteMessage",{path:e}),onConfirm:async()=>{await h(i,e)}})}return(e,s)=>{const c=v,f=d;return k(),C(f,{show:a(o),"onUpdate:show":s[0]||(s[0]=u=>g(o)?o.value=u:null),title:a(t)("file.favoriteListModal.title"),width:850},{default:F(()=>[M("div",y,[B(c,{"max-height":480,data:a(l),columns:a(m)},null,8,["data","columns"])])]),_:1},8,["show","title"])}}});export{z as default}; diff --git a/BTPanel/static/vite/js/FavoriteList-legacy-21Ba0OxT.js b/BTPanel/static/vite/js/FavoriteList-legacy-21Ba0OxT.js new file mode 100644 index 00000000..76d36f5e --- /dev/null +++ b/BTPanel/static/vite/js/FavoriteList-legacy-21Ba0OxT.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./FileIcon-legacy-BZIg8aaH.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068"],(function(e,t){"use strict";var l,a,i,s,n,o,u,c,r,v,p,d,y,g,_,f;return{setters:[e=>{l=e.h,a=e.y},e=>{i=e._},e=>{s=e.X},e=>{n=e.u},e=>{o=e.k,u=e.R,c=e.i,r=e.r,v=e.$,p=e.a8,d=e.a9,y=e._,g=e.a0,_=e.S,f=e.X},null,null,null,null,null,null,null,null],execute:function(){const t={class:"p-20px"};e("default",o({__name:"FavoriteList",setup(e,{expose:o}){const{t:j}=u(),h=c("fileStore"),{favoriteList:m}=h,x=r(!1);o({open(){x.value=!0},close(){x.value=!1}});const w=r([{title:j("file.favoriteListModal.path"),key:"path",ellipsis:{tooltip:!0}},n({width:100,options:e=>[{label:j("Public.Btn.Delete"),onClick:()=>{return t=e.path,void l({title:j("file.favoriteListModal.removeFavoriteTitle"),content:j("file.favoriteListModal.removeFavoriteMessage",{path:t}),onConfirm:async()=>{await s(h,t)}});var t}}]})]);return(e,l)=>{const s=i,n=a;return v(),p(n,{show:_(x),"onUpdate:show":l[0]||(l[0]=e=>f(x)?x.value=e:null),title:_(j)("file.favoriteListModal.title"),width:850},{default:d((()=>[y("div",t,[g(s,{"max-height":480,data:_(m),columns:_(w)},null,8,["data","columns"])])])),_:1},8,["show","title"])}}}))}}})); diff --git a/BTPanel/static/vite/js/FavoriteList-legacy-Ggj4SV-h.js b/BTPanel/static/vite/js/FavoriteList-legacy-Ggj4SV-h.js deleted file mode 100644 index fa81d19b..00000000 --- a/BTPanel/static/vite/js/FavoriteList-legacy-Ggj4SV-h.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./FileIcon-legacy-CYrICTNK.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./soft-legacy-CzxZ2w7j.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785"],(function(e,t){"use strict";var l,a,i,s,n,o,u,c,r,v,d,p,g,y,_,f;return{setters:[e=>{l=e.h,a=e.x},e=>{i=e._},e=>{s=e.X},e=>{n=e.u},e=>{o=e.k,u=e.R,c=e.i,r=e.r,v=e.$,d=e.a8,p=e.a9,g=e._,y=e.a0,_=e.S,f=e.X},null,null,null,null,null,null,null,null,null],execute:function(){const t={class:"p-20px"};e("default",o({__name:"FavoriteList",setup(e,{expose:o}){const{t:j}=u(),h=c("fileStore"),{favoriteList:x}=h,m=r(!1);o({open(){m.value=!0},close(){m.value=!1}});const w=r([{title:j("file.favoriteListModal.path"),key:"path",ellipsis:{tooltip:!0}},n({width:100,options:e=>[{label:j("Public.Btn.Delete"),onClick:()=>{return t=e.path,void l({title:j("file.favoriteListModal.removeFavoriteTitle"),content:j("file.favoriteListModal.removeFavoriteMessage",{path:t}),onConfirm:async()=>{await s(h,t)}});var t}}]})]);return(e,l)=>{const s=i,n=a;return v(),d(n,{show:_(m),"onUpdate:show":l[0]||(l[0]=e=>f(m)?m.value=e:null),title:_(j)("file.favoriteListModal.title"),width:850},{default:p((()=>[g("div",t,[y(s,{"max-height":480,data:_(x),columns:_(w)},null,8,["data","columns"])])])),_:1},8,["show","title"])}}}))}}})); diff --git a/BTPanel/static/vite/js/FileIcon-MbTGjXAj.js b/BTPanel/static/vite/js/FileIcon-MbTGjXAj.js new file mode 100644 index 00000000..02280d2b --- /dev/null +++ b/BTPanel/static/vite/js/FileIcon-MbTGjXAj.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/index-CRvBbyDp.js?v=1774508183068","js/vue-core-BlDeWrD6.js?v=1774508183068","js/prismjs-BZPoR7_J.js?v=1774508183068","css/prismjs-D-3FhBe_.css?v=1774508183068","js/index-LQ-JIYiv.js?v=1774508183068","js/naive-ui-BjvXgNtF.js?v=1774508183068","css/index-Bu1Pw919.css?v=1774508183068","js/files-B-5OIeVB.js?v=1774508183068","js/index-C3wL-4ez.js?v=1774508183068","js/ace-CNnfDSio.js?v=1774508183068","js/index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068","js/data-DKqR3z3t.js?v=1774508183068","js/useTableColumns-BpMo4f8r.js?v=1774508183068","js/index-DZCznq9q.js?v=1774508183068","js/copy-DTOfN-dY.js?v=1774508183068","js/index-Dd5dC2sI.js?v=1774508183068","js/index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068","js/index-eoi-RqNz.js?v=1774508183068","css/index-COMrC5q1.css?v=1774508183068","js/FileTask-CCmWcyYx.js?v=1774508183068","js/useLoop-CG4Cjj7d.js?v=1774508183068","css/FileTask-CpN2e5PY.css?v=1774508183068"])))=>i.map(i=>d[i]); +import{c5 as Q,av as d,as as se,a6 as z,p as ie,S as le,n as Se,b5 as oe,m as j,c0 as Re,i as J,h as X,au as De,at as Le,c as Te}from"./index-LQ-JIYiv.js?v=1774508183068";import{r as _,X as Me,av as T,a3 as re,n as B,a0 as D,F as Ne,k as qe,c as Ee,$ as Ie,Z as je,L as Ae,S as Ke}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{c as ze}from"./copy-DTOfN-dY.js?v=1774508183068";import{am as ee}from"./naive-ui-BjvXgNtF.js?v=1774508183068";function $e(t,e,a){const n=_(!0),s=_(0),i=_(0),l=_(0),o=_(0),r=_(0),u=_(0),p=_(0),w=_(0);function h(){let y=null;return e?()=>{y||(y=setTimeout(()=>{e({m_flag:n,m_left:s,m_right:i,m_bottom:o,m_top:l,m_x:p,m_y:w,m_height:r,m_width:u}),clearTimeout(y),y=null},10))}:!1}let m;Me(t)?m=t.value:typeof t=="string"?m=document.querySelector(t):t instanceof Element&&(m=t);const k=h();function q(y){const{left:O,right:L,top:S,bottom:R,height:c,width:x,x:P,y:I}=y.getBoundingClientRect();s.value=O,i.value=L,l.value=S,o.value=R,r.value=c,u.value=x,p.value=P,w.value=I}const K=y=>{if(a&&a(y,{m_flag:n,m_left:s,m_right:i,m_bottom:o,m_top:l,m_x:p,m_y:w,m_height:r,m_width:u}),!n.value)return;const{left:O,right:L,top:S,bottom:R}=m.getBoundingClientRect(),c=document.createElement("div"),x=y.clientX,P=y.clientY;c.style.position="absolute",c.style.left=x-O+"px",c.style.top=P-S+"px",c.style.width="0px",c.style.height="0px",c.style.backgroundColor="rgba(135, 182, 130, 0.1)",c.classList.add("district-wrapper"),m.appendChild(c),y.preventDefault();const I=C=>{C.preventDefault(),!_e.value&&!Pe.value&&(x<=C.clientX?c.style.width=C.clientX-x+"px":(c.style.width=x-C.clientX+"px",c.style.marginLeft=-(x-C.clientX)+"px"),P<=C.clientY?(c.style.height=C.clientY-P+G+"px",c.style.marginTop=-G+"px"):(c.style.height=P-C.clientY+Z+"px",c.style.marginTop=-(P-C.clientY)+"px"),C.clientXL&&(c.style.width=L-x+"px")),C.clientY>R&&ke(),C.clientY{if(E.scrollTop>=E.scrollHeight-E.clientHeight){f();return}c.style.height=c.offsetHeight+10+"px",c.style.marginTop=parseInt(getComputedStyle(c).marginTop)-10+"px",E.scrollTop+=10,G=E.scrollTop,q(c),k&&k()},{immediate:!1}),{pause:Fe,resume:Oe,isActive:Pe}=Q(()=>{if(E.scrollTop<=0){Fe();return}c.style.height=c.offsetHeight+10+"px",E.scrollTop-=10,Z+=10,q(c),k&&k()},{immediate:!1}),E=m.querySelector(".n-scrollbar-container");let G=0,Z=0;document.onmousemove=I,document.onmouseup=()=>{document.onmousemove=null,m.contains(c)&&m.removeChild(c)}};return m&&(m.onmousedown=K),{m_flag:n,m_x:p,m_y:w,m_left:s,m_right:i,m_top:l,m_bottom:o,m_height:r,m_width:u}}function Be(t,e){const a=T(t.m_left),n=T(t.m_right),s=T(t.m_top),i=T(t.m_bottom),l=T(e.left),o=T(e.right),r=T(e.top),u=T(e.bottom);return!(on||ui)}const{t:Ve}=z.global;async function Ue(t){const{shareList:e,shareListPage:a,shareListTotal:n}=t;try{const s=await d.post("/files?action=get_download_url_list",{p:a.value,row:12});return e.value=s.message.data,n.value=se(s.message.page),e.value}catch(s){return console.warn(s),[]}}async function Ge(t,e){try{await d.post("/files?action=remove_download_url",{id:e},{requestOptions:{loading:Ve("file.shareListModal.deletingShare"),successMessage:!0}}),g(t)}catch(a){console.warn(a)}}const ce=(t,e)=>{ie({width:"80vw",height:"80vh",bgColor:"transparent",hideClose:!0,showMask:!1,data:{filePath:t,currentPath:e},component:re(()=>le(()=>import("./index-CRvBbyDp.js?v=1774508183068"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18])))})},Je=oe(t=>lt(t),100),{t:b}=z.global;async function g(t,e){var S;const{tableLoading:a,currentPath:n,favoriteList:s,fileRecycle:i,fileList:l,filesView:o,dirNums:r,fileNums:u,total:p,page:w,size:h,sort:m,reverse:k,diskMountPoint:q,currentFile:K,currentDirSize:y,uploadFileList:O,dragUploadRef:L}=t;a.value=!0;try{const R=await Et(n.value,f=>{s.value=f.store,i.value=f.file_recycle,r.value=f.dir.length,u.value=f.files.length,p.value=se(f.page),q.value=f.disk,n.value=f.path},{p:w.value,showRow:h.value,...m.value?{sort:m.value,reverse:k.value}:{},disk:!0,...e});K.value=null,y.value=-1;const c=await fe(t);let x=[];c.length&&(x=c.map(f=>f.key));const P=await Ue(t);let I=[];P.length&&(I=P.map(f=>f.filename)),l.value=R.map(f=>(f.remarks_hover=!1,f.isEditRemarks=!1,f.isCreate=!1,f.card_hover=!1,f.card_choosed=!1,f.isRenameForCard=!1,f.operation_show=!1,x.includes(f.path)?f.isFavorite=!0:f.isFavorite=!1,I.includes(f.path)&&(f.isShare=!0),f)),O.value=[],(S=L.value)==null||S.listenDragEvent(),B(()=>{o.value=="list"&&(ue(t),Ze(t))}),It(t)}catch(R){console.warn(R)}finally{a.value=!1}}function ue(t){const{tableRef:e}=t;e.value&&$e(e.value.querySelector(".n-data-table-base-table-body"),a=>Xe(t,a),(a,n)=>Ye(a,n,t))}async function fe(t){const{resetFavoriteOptions:e,favoriteOptions:a}=t;try{const s=(await d.post("/files?action=get_files_store",{},{requestOptions:{isOriginalResult:!0}})).message.map(i=>({type:i.type,icon:i.type,label:i.name,key:i.path}));return e(),a.value=[...s,...a.value],a.value}catch(n){return console.warn(n),[]}}function Xe(t,e){const{trRectArr:a,choosedKeys:n}=t,s=[];for(let i=0;ii!==s):n.value.push(s);return}if(He(a),t.target.closest("tr")){const s=t.target.closest("tr").dataset.key;if(t.button==0&&(n.value=[s]),t.button==2){if(n.value.includes(s))return;n.value=[s]}}t.target.nodeName=="INPUT"?e.m_flag.value=!1:e.m_flag.value=!0}}function He(t){const{normalTrList:e,trRectArr:a}=t;e.value=document.querySelectorAll('[class*="normal-tr"]');const n=[];for(let s=0;sn.value.open()):W(e.ext)?H(t,e):ye(t)}function We(t,e,a){const{currentPath:n}=t,{type:s,name:i}=a,l=xe(i,s);if(console.log(a),s=="dir")n.value=e,g(t);else if(qt(l))Y(t,e);else if(U(l))v(t,"Decompress",o=>o.value.open(e,l));else if(W(l))H(t,{path:e,nm:a.name});else{const o=e.substring(0,e.lastIndexOf("/"));ce(e,o)}}function Ze(t){const{tableRef:e,choosePathRef:a}=t;let n=0;const s=setInterval(()=>{if(n<10?n++:clearInterval(s),e.value){const i=e.value;i.querySelector(".n-data-table-base-table-body")&&ue(t),i.oncontextmenu=l=>{l.preventDefault(),Qe(l,t)},i.onclick=l=>{l.target.nodeName!="INPUT"&&(Je(t),a.value.handleEnterDown())},clearInterval(s)}else return},1e3)}function Qe(t,e){const{choosedKeys:a,contextRef:n}=e;let s="empty";t.target.closest("tr")&&(a.value.length>1?s="multiple":a.value.length==1?s="single":s="empty"),n.value.filesOperation(t,s)}function pe(){var e;const t=(e=document.querySelector("#createInput"))==null?void 0:e.querySelector("input");t==null||t.focus(),t==null||t.select()}async function Vt(t){try{return(await d.post("/files?action=GetDirSize",{path:t},{requestOptions:{isOriginalResult:!0}})).message}catch(e){return console.warn(e),"计算失败"}}const Ut=oe((t,e)=>{const{choosedKeys:a}=t;if(e.type=="dir")a.value=[e.nm],we(t);else return},200);async function Gt(t,e){const{close:a}=j.loading("Processing, please wait...");try{await Re("tamper_core",71);const{message:n}=await d.post("/tamper_core/get_effective_path.json",{path:e.path},{requestOptions:{isOriginalResult:!0}});if(J(n)&&n.status){const{data:s}=n;e.type==="dir"?et(t,e,s):tt(t,e,s)}}finally{a()}}function et(t,e,a){const{pid:n,lock:s,action:i}=a,l=(s?"Turning off protection ":"Turning on protection ")+"[".concat(e.path,"]"),o=b(s?"file.tableController.afterTurningOffProtectionDir":"file.tableController.afterTurningOnProtectionDir");X({width:480,title:l,content:o,onConfirm:async()=>{if(i[0]==="create"&&n===0){await de(e.path,[]),g(t);return}const r=[];s?r.push({key:e.path.indexOf("/www/server/panel/class")!=-1?"add_wd":i[0],values:[e.path]}):r.push({key:i[0],values:[e.path]}),await me(n,r),g(t)}})}function tt(t,e,a){const{pid:n,lock:s,action:i}=a,l=s?b("file.tableController.turningOffProtection",{path:e.path}):b("file.tableController.turningOnProtection",{path:e.path}),o=b(s?"file.tableController.afterTurningOffProtectionFile":"file.tableController.afterTurningOnProtectionFile"),r=_(!1),u=_(!0);X({title:l,width:480,content:()=>D(Ne,null,[D("div",null,[o]),D("div",{class:"mt-8px"},[D(ee,{checked:u.value,"onUpdate:checked":p=>u.value=p},{default:()=>[D("span",null,[s?b("file.tableController.turningOffProtectionFile",{path:e.nm}):b("file.tableController.turningOnProtectionFile",{path:e.nm})])]})]),D("div",{class:"mt-8px"},[D(ee,{checked:r.value,"onUpdate:checked":p=>r.value=p},{default:()=>[D("span",null,[s?b("file.tableController.turningOffProtectionSuffix",{suffix:e.ext}):b("file.tableController.turningOnProtectionSuffix",{suffix:e.ext})])]})])]),onConfirm:async()=>{if(i[0]==="create"&&n===0){const w=e.path.substring(0,e.path.lastIndexOf("/")),h=[];if(u.value){const m=e.path.split("/"),k=m.length>=2?m[m.length-2]:"";h.push("".concat(k,"/").concat(e.nm))}r.value&&h.push("."+e.ext),await de(w,h),g(t);return}const p=[];s?(u.value&&(p.push({key:"remove_bf",values:[e.path]}),p.push({key:"add_wf",values:[e.path]})),r.value&&p.push({key:"remove_bf",values:["."+e.ext]})):(u.value&&(p.push({key:"add_bf",values:[e.path]}),p.push({key:"remove_wf",values:[e.path]})),r.value&&p.push({key:"add_bf",values:["."+e.ext]})),await me(n,p),g(t)}})}async function de(t,e){const{message:a}=await d.post("/tamper_core/create_path.json",{path:t,exts:JSON.stringify(e)},{requestOptions:{loading:b("file.tableController.creatingDirectoryProtection"),isOriginalResult:!0}});if(J(a))if(a.status)j.success(a.msg);else return j.error(a.msg),Promise.reject()}async function me(t,e){const{message:a}=await d.post("/tamper_core/batch_setting.json",{pid:t,settings:JSON.stringify(e)},{requestOptions:{loading:b("file.tableController.executing"),isOriginalResult:!0}});if(J(a))if(a.status)j.success(a.msg);else return j.error(a.msg),Promise.reject()}function Y(t,e){const{currentPreviewImg:a,previewShow:n}=t;a.value=e,n.value=!0}function H(t,e){const{currentPreviewVideo:a,previewVideoShow:n}=t;a.value={path:e.path,name:e.nm},n.value=!0}async function at(t){await d.post("/files?action=set_file_ps",t,{requestOptions:{successMessage:!0}})}async function nt(t){const{currentFile:e,currentPath:a}=t;if(e.value&&(e.value.isCreate&&e.value.isRename||e.value.isRenameForCard)&&(e.value.editName||(e.value.isCreate=!1),e.value.editName==e.value.nm&&(e.value.isCreate=!1),e.value.isCreate&&e.value.isRename||e.value.isRenameForCard))if(e.value.editName!==e.value.nm){try{await yt(e.value.path,a.value+"/"+e.value.editName),g(t)}catch(n){console.log(n)}finally{e.value.isCreate=!1,e.value.isRenameForCard=!1,e.value.isRename=!1}return!0}else e.value.isCreate=!1,e.value.isRenameForCard=!1,e.value.isRename=!1}async function st(t){const{currentFile:e,currentPath:a,fileList:n}=t;if(e.value&&e.value.isCreate&&!e.value.isRename)if(e.value.editName=="")n.value.shift();else try{return e.value.type=="dir"?await rt(a.value+"/"+e.value.editName):await ct(a.value+"/"+e.value.editName),await g(t),!0}catch(s){n.value.shift(),console.warn(s)}}async function it(t){const{currentFile:e}=t;if(e.value&&e.value.isEditRemarks)return e.value.editRemarks!=e.value.rmk?(await at({filename:e.value.path,ps_type:0,ps_body:e.value.editRemarks}),await g(t),!0):(e.value.isEditRemarks=!1,e.value.remarks_hover=!1,!1)}async function lt(t){await it(t)||await nt(t)||await st(t)}async function ot(){return d.post("/task?action=get_task_lists",{status:-3})}async function Jt(t){if(document.querySelector(".file-task-modal"))return;const{message:a}=await ot();Se(a)&&a.length>0&&ie({title:b("file.tableController.realtimeTaskQueue"),width:510,class:"file-task-modal",unstableShowMask:!1,data:{store:t,taskList:a},component:re(()=>le(()=>import("./FileTask-CCmWcyYx.js?v=1774508183068"),__vite__mapDeps([19,4,1,2,3,5,6,20,14,21])))})}async function Xt(t){return d.post("/task?action=remove_task",{id:t},{requestOptions:{loading:b("file.tableController.deletingTask"),successMessage:!0}})}const{t:A}=z.global;async function rt(t){try{await d.post("/files?action=CreateDir",{path:t},{requestOptions:{loading:A("file.buttonGroup.loading.creatingDirectory"),successMessage:!0}})}catch(e){console.warn(e)}}async function ct(t){try{await d.post("/files?action=CreateFile",{path:t},{requestOptions:{loading:A("file.buttonGroup.loading.creatingFile"),successMessage:!0}})}catch(e){console.warn(e)}}async function Yt(t,e){try{await d.post("/files?action=CreateLink",{sfile:t,dfile:e},{requestOptions:{loading:A("file.buttonGroup.loading.creatingSoftlink"),successMessage:!0}})}catch(a){console.warn(a)}}function Ht(t,e){const{filesView:a}=t;a.value=e}function Wt(t){v(t,"UploadFile",e=>{e.value.open()})}function Zt(t){v(t,"RemoteDownload",e=>{e.value.open()})}function Qt(t){v(t,"SearchFileContent",e=>{e.value.open()})}const ut=t=>{v(t,"FavoriteList",e=>{e.value.open()})};function ea(t,e,a){e=="management"?ut(t):We(t,e,a)}function ta(t){v(t,"ShareList",e=>{e.value.open()})}function aa(t){const{currentPath:e}=t;e.value="/",g(t)}function na(t){v(t,"Backup",e=>{e.value.open()})}function sa(t){v(t,"Recycle",e=>{e.value.open()})}function ia(t){v(t,"Terminal",e=>{e.value.open()})}function $(t,e,a,n){const{fileList:s,currentFile:i}=t,l={nm:e,isCreate:!0,type:a,ext:n,path:"",editName:e};i.value=l,i.value.editName=i.value.nm,s.value.unshift(i.value),B(pe)}function la(t,e){switch(e){case"dir":$(t,A("file.buttonGroup.defaultNames.untitledDirectory"),"dir","folder");break;case"file":$(t,A("file.buttonGroup.defaultNames.untitledFile"),"file","unknown");break;case"softlink":v(t,"Softlink",a=>{a.value.open()})}}function oa(t){const{optionToolsRef:e,isMiniScreen:a}=t;e.value.offsetWidth<1560?a.value=!0:a.value=!1}async function ft(t,e){try{await d.post("/files?action=del_files_store",{path:e},{requestOptions:{loading:A("file.buttonGroup.loading.deletingFavorite"),successMessage:!0}}),g(t)}catch(a){console.warn(a)}}const{t:M}=z.global,pt=(t,e)=>{const{fileRecycle:a}=t;return a.value?dt(t,e):mt(t,e)},dt=(t,e)=>new Promise(a=>{const{currentPath:n,choosedKeys:s,fileList:i}=t,l=e||i.value.filter(o=>s.value.includes(o.nm));X({title:l.length===1?M("file.deleteController.deleteSingleFileTitle",{name:l[0].nm}):M("file.deleteController.batchDeleteTitle"),content:M("file.deleteController.recycleBinMessage"),width:400,onConfirm:async()=>{if(l.length===1)await ve(l[0].path,l[0].type);else{let o=n.value;if(e&&l.length>0){const r=l[0].path.lastIndexOf("/");r!==-1&&(o=l[0].path.substring(0,r))}await he(l.map(r=>r.nm),o)}g(t),a()}})}),mt=(t,e)=>new Promise(a=>{const{currentPath:n,choosedKeys:s,fileList:i}=t,l=e||i.value.filter(o=>s.value.includes(o.nm));De({title:l.length===1?M("file.deleteController.deleteSingleFileTitle",{name:l[0].nm}):M("file.deleteController.batchDeleteTitle"),content:()=>D("span",{class:"text-error"},[M("file.deleteController.permanentDeleteMessage")]),width:400,onConfirm:async()=>{if(l.length===1)await ve(l[0].path,l[0].type);else{let o=n.value;if(e&&l.length>0){const r=l[0].path.lastIndexOf("/");r!==-1&&(o=l[0].path.substring(0,r))}await he(l.map(r=>r.nm),o)}g(t),a()}})});async function ve(t,e){await d.post("/files?action=".concat(e==="dir"?"DeleteDir":"DeleteFile"),{path:t},{requestOptions:{loading:M("file.deleteController.deletingSingle"),successMessage:!0}})}async function he(t,e){await d.post("/files?action=SetBatchData",{data:JSON.stringify(t),type:4,path:e},{requestOptions:{loading:M("file.deleteController.deletingBatch"),successMessage:!0}})}const{t:F}=z.global;async function te(t,e){return(await d.post("/files?action=CheckExistsFiles",{dfile:t,filename:e},{requestOptions:{isOriginalResult:!0}})).message.length>0}async function vt(t,e,a){return await d.post("/files?action=SetBatchData",{data:JSON.stringify(t),type:e,path:a},{requestOptions:{loading:F("file.contextMenu.loading.batchSetting"),successMessage:!0}})}async function ht(t,e){return await d.post("/files?action=CopyFile",{sfile:t,dfile:e},{requestOptions:{loading:F("file.contextMenu.loading.copying"),successMessage:!0}})}async function gt(t,e){return await d.post("/files?action=BatchPaste",{type:t,path:e},{requestOptions:{loading:F("file.contextMenu.loading.pasting"),successMessage:!0}})}async function ge(t,e,a){return await d.post("/files?action=MvFile",{sfile:t,dfile:e,...a},{requestOptions:{loading:F("file.contextMenu.loading.moving"),successMessage:!0}})}function yt(t,e){return ge(t,e,{rename:!0})}async function ra(t,e,a,n){try{await d.post("/files?action=Zip",{sfile:t,dfile:e,z_type:a,path:n},{requestOptions:{loading:F("file.contextMenu.loading.compressing"),successMessage:!0}})}catch(s){console.warn(s)}}async function ca(t){await d.post("/files?action=UnZip",t,{requestOptions:{loading:F("file.contextMenu.loading.decompressing"),successMessage:!0}})}function ae(t,e){return e.map(a=>t[a])}function ua(t,e){const{fileList:a,choosedKeys:n}=t,s=N(a.value,n.value)[0];let i=["share","favorite","permission","copy","copyPath","cut","rename","del","compression","attrs"];if(!s)return ae(e.value,["refresh","upload","create","terminal"]);if(s.type=="dir"?i.unshift("open","openNewWindow"):i.unshift("edit","download"),Ce(s)&&(i.unshift("preview"),i=i.filter(l=>l!=="edit")),W(s.ext)&&(i.unshift("playVideo"),i=i.filter(l=>l!=="edit")),s.isFavorite){const l=i.findIndex(o=>o=="favorite");i[l]="unfavorite"}if(s.isShare){const l=i.findIndex(o=>o=="share");i[l]="unShare"}return U(s.ext)&&(i.unshift("decompress"),i=i.filter(l=>l!=="edit")),ae(e.value,i)}function ye(t){const{choosedKeys:e,currentPath:a,fileList:n}=t,s=n.value.find(i=>i.nm==e.value[0]);s&&ce(s.path,a.value)}function we(t){const{choosedKeys:e,currentPath:a,fileList:n}=t,s=n.value.find(i=>i.nm==e.value[0]);t.page.value=1,a.value=s.path,g(t)}async function wt(t){const{choosedKeys:e,fileList:a}=t,n=a.value.find(s=>s.nm==e.value[0]);try{await d.post("/files?action=add_files_store",{path:n.path},{requestOptions:{loading:F("file.contextMenu.loading.addingToFavorites"),successMessage:!0}}),fe(t),g(t)}catch(s){console.warn(s)}}async function bt(t){const{choosedKeys:e,fileList:a}=t,n=N(a.value,e.value)[0];ft(t,n.path)}async function be(t,e,a){const{choosedKeys:n,fileList:s,fileCopyCache:i,waitForPaste:l,copiedFile:o,currentPath:r}=t;if(n.value.length==1)j.success(e),i.value=JSON.parse(JSON.stringify(n.value)),o.value=N(s.value,i.value)[0],l.value=!0;else try{(await vt(n.value,a,r.value)).status==0&&(i.value=JSON.parse(JSON.stringify(n.value)),l.value=!0)}catch(u){console.warn(u)}}async function xt(t){const{fileCopyCache:e,fileOperationFlag:a,currentPath:n,copiedFile:s,waitForPaste:i}=t;e.value.length>1?await gt(a.value,n.value):e.value.length==1&&(a.value==1?await ht(s.value.path,n.value+"/"+s.value.nm):a.value==2&&await ge(s.value.path,n.value+"/"+s.value.nm)),g(t),i.value=!1}async function Ct(t){const{fileOperationFlag:e,waitForPaste:a}=t;e.value=1,await be(t,F("file.contextMenu.messages.copySuccess"),1),a.value=!0}async function kt(t){const{choosedKeys:e,fileList:a}=t,n=N(a.value,e.value)[0];n&&ze(n.path)}async function _t(t){const{fileOperationFlag:e,waitForPaste:a}=t;e.value=2,await be(t,F("file.contextMenu.messages.cutSuccess"),2),a.value=!0}async function Ft(t){const{fileCopyCache:e,currentPath:a,waitForPaste:n}=t;if(!n.value)return;let s=!1;e.value.length==1?s=await te(a.value,e.value[0]):e.value.length>1&&(s=await te(a.value)),s?e.value.length==1?v(t,"PasteSingleConfirm",i=>i.value.open()):e.value.length>1&&v(t,"PasteConfirm",i=>i.value.open()):xt(t)}async function Ot(t){const{currentPath:e,choosedKeys:a}=t;Le("".concat(e.value==="/"?"":e.value,"/").concat(a.value[0]))}async function Pt(t){const{choosedKeys:e,fileList:a,currentFile:n,filesView:s}=t,i=N(a.value,e.value)[0];n.value=i,s.value==="card"?(n.value.isRenameForCard=!0,n.value.editName=n.value.nm):(i.isCreate=!0,i.isRename=!0,i.editName=i.nm,B(pe))}function St(t){v(t,"Compression",e=>e.value.open())}function Rt(t){const{choosedKeys:e,fileList:a}=t,n=N(a.value,e.value)[0];Y(t,n.path)}function Dt(t){const{choosedKeys:e,fileList:a,shareList:n}=t,s=N(a.value,e.value)[0],i=n.value.find(l=>l.filename.includes(s.nm));Ge(t,i==null?void 0:i.id)}function Lt(t){const{choosedKeys:e,fileList:a}=t,n=N(a.value,e.value)[0];H(t,n)}function fa(t,e){const{menuShow:a}=e;switch(t){case"edit":ye(e);break;case"copy":Ct(e);break;case"copyPath":kt(e);break;case"cut":_t(e);break;case"paste":Ft(e);break;case"permission":v(e,"Permission",n=>n.value.open());break;case"compression":St(e);break;case"decompress":v(e,"Decompress",n=>n.value.open());break;case"conversion":console.log("conversion");break;case"del":pt(e);break;case"refresh":g(e);break;case"upload":v(e,"UploadFile",n=>n.value.open());break;case"createFile":$(e,F("file.contextMenu.defaultNames.untitledFile"),"file","file");break;case"createDir":$(e,F("file.contextMenu.defaultNames.untitledDirectory"),"dir","folder");break;case"download":Ot(e);break;case"terminal":v(e,"Terminal",n=>n.value.open());break;case"open":we(e);break;case"share":v(e,"Share",n=>n.value.open());break;case"unShare":Dt(e);break;case"favorite":wt(e);break;case"unfavorite":bt(e);break;case"rename":Pt(e);break;case"attrs":v(e,"Properties",n=>n.value.open());break;case"preview":Rt(e);break;case"playVideo":Lt(e);break}a.value=!1}function ne(t){const{type:e,list:a,path:n}=t,s=[];for(const i of a)s.push(Tt({type:e,item:i,path:n}));return s}function Tt(t){const{type:e,item:a,path:n}=t,{nm:s,sz:i,is_link:l,lnk:o,mt:r,ctime:u,atime:p,gid:w,uid:h,group:m,user:k,acc:q,rmk:K,durl:y,cmp:O,fav:L,top:S,sn:R}=a;return{ext:xe(a.nm,e),nm:s,sz:i,mt:r,acc:q,user:k,is_link:l?o:"",lnk:o,durl:y,cmp:O,fav:L,rmk:K,top:S,sn:R,path:Mt(n,s),ctime:u,atime:p,gid:w,uid:h,group:m,type:e}}function xe(t,e){if(e==="dir")return"folder";const a=["tar.gz"],n=t.toLowerCase();for(const i of a)if(n.endsWith(i))return i;const s=n.lastIndexOf(".");return s!==-1?n.substring(s+1):"file"}function Mt(t,e){return Nt("".concat(t,"/").concat(e))}function Nt(t){return t.replace(/\/\//g,"/")}function V(t){const e=["folder"],a=["txt","rtf","md","log","conf"],n=["json"],s=["htm","html","xhtml"],i=["css","less","scss"],l=["js","ts"],o=["php"],r=["pdf","pdfa","pdfx","pdfu"],u=["doc","docx","docm","dot","dotx","dotm"],p=["xlsx","xlsm","xltx","xltm"],w=["jpg","jpeg","png","gif","bmp","webp","tiff","tif","psd","ai","eps","cr2","cr3","nef","nrw","dng","svg","cdr","wmf","emf","apng","heic","ico","xbm","xpm","xcf","iff","pnm"],h=["py","java","js","ts","c","cpp","cs","php","rb","go","swift","kt","html","css","jsx","vue","scss","less","tsx","json","xml","yaml","yml","ini","properties","env","sql","pl","sh","bat","ps1","m","swift","kt","gradle","makefile","cmake","jar","war","exe","md","gitignore","dockerfile","yml","ipynb","asm","lua","rs","hs"],m=["zip","rar","7z","tar","tar.gz","gz","tgz","tar.bz2","tar.xz","cab","iso","msi","rpm","deb","xz","zipx","lz4","zst","rar5","part1.rar","rar.part1","z01","z02"];return e.includes(t)?"file-dir":a.includes(t)?"file-txt":n.includes(t)?"file-json":s.includes(t)?"file-html":i.includes(t)?"file-css":l.includes(t)?"file-js":o.includes(t)?"file-php":u.includes(t)?"file-doc":r.includes(t)?"file-pdf":p.includes(t)?"file-excel":w.includes(t)?"file-img":h.includes(t)?"file-sh":m.includes(t)?"file-compression":"file-unknown-file"}function pa(t){return!!["file-txt","file-json","file-html","file-css","file-js","file-php","file-doc","file-sh"].includes(V(t.ext))}function W(t){return["mp3","mp4","avi","mov","mkv","wmv","flv","3gp","3g2","vob","webm","ogv"].includes(t)}function Ce(t){return V(t.ext)==="file-img"}function qt(t){return V(t)==="file-img"}function U(t){return V(t)==="file-compression"}async function Et(t,e,a){try{const{message:n}=await d.post("/files?action=GetDirNew",{path:t,is_operating:!0,...a});e&&e(n);let s=ne({type:"dir",list:n.dir,path:n.path}),i=ne({type:"file",list:n.files,path:n.path});return s=s.map((l,o)=>({...l,protected:n.tamper_data.dirs&&n.tamper_data.dirs[o]?Number(n.tamper_data.dirs[o].split(";")[0]):0,protected_rule:n.tamper_data.dirs&&n.tamper_data.dirs[o]?Number(n.tamper_data.dirs[o].split(";")[1]):0})),i=i.map((l,o)=>({...l,protected:n.tamper_data.files&&n.tamper_data.files[o]?Number(n.tamper_data.files[o].split(";")[0]):0,protected_rule:n.tamper_data.files&&n.tamper_data.files[o]?Number(n.tamper_data.files[o].split(";")[1]):0})),[...s,...i]}catch(n){return console.warn(n),[]}}async function da(t,e,a,n,s,i){const l=[],o=Math.ceil(t.size/a);for(let r=0;re.includes(a.nm))}async function v(t,e,a){const{dynamicCmptObj:n,dynamicCmpt:s,dynamicCmptRef:i}=t,l=n[e]();await l.__asyncLoader(),s.value=l,B(()=>{a&&a(i)})}function It(t){const{choosedKeys:e}=t;e.value=[]}const jt=qe({__name:"FileIcon",props:{ext:{type:String,default:""},size:{type:String,default:"medium"}},setup(t){const e=Ee(()=>U(t.ext)?"compress":t.ext==="Dir"?"folder":t.ext);return(a,n)=>(Ie(),je("div",{class:Ae(["files-icon",["table-".concat(Ke(e),"-icon"),"".concat(t.size,"-icon")]])},null,2))}}),ma=Te(jt,[["__scopeId","data-v-989c0bf5"]]);export{ra as $,Y as A,pa as B,U as C,Vt as D,ue as E,ma as F,Bt as G,Qe as H,lt as I,Ut as J,Gt as K,$e as L,we as M,ye as N,Be as O,Jt as P,W as Q,ne as R,gt as S,te as T,ht as U,da as V,ce as W,ft as X,Ge as Y,Ue as Z,Yt as _,Zt as a,ca as a0,ot as a1,Xt as a2,la as b,oa as c,v as d,Qt as e,ea as f,ta as g,Wt as h,ia as i,aa as j,Ct as k,_t as l,St as m,na as n,ut as o,Ft as p,sa as q,pt as r,rt as s,g as t,ae as u,Ht as v,ua as w,fa as x,N as y,Ce as z}; diff --git a/BTPanel/static/vite/js/FileIcon-eIHDRaxH.js b/BTPanel/static/vite/js/FileIcon-eIHDRaxH.js deleted file mode 100644 index f7cae535..00000000 --- a/BTPanel/static/vite/js/FileIcon-eIHDRaxH.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/index-CXfbSKqD.js?v=1773287522785","js/vue-core-DJjvd5ZC.js?v=1773287522785","js/prismjs-BZPoR7_J.js?v=1773287522785","css/prismjs-D-3FhBe_.css?v=1773287522785","js/index-BTglIPU2.js?v=1773287522785","js/naive-ui--dJnpVcV.js?v=1773287522785","css/index-DEM1fxGq.css?v=1773287522785","js/files-BUbkyTRl.js?v=1773287522785","js/ace-CNnfDSio.js?v=1773287522785","js/index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785","js/data-BVsViUMm.js?v=1773287522785","js/useTableColumns-DDeyYvje.js?v=1773287522785","js/index-S15tYq5l.js?v=1773287522785","js/copy-D-wIKr0q.js?v=1773287522785","js/index-DIKmrNCq.js?v=1773287522785","js/index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785","js/index-Cg6fMjw6.js?v=1773287522785","css/index-C0yiexTP.css?v=1773287522785","js/FileTask-BHdDTz4Y.js?v=1773287522785","js/useLoop-BadgF3pN.js?v=1773287522785","js/soft-Cjyfamvm.js?v=1773287522785","css/FileTask-CpN2e5PY.css?v=1773287522785"])))=>i.map(i=>d[i]); -import{b_ as Q,as as d,ap as se,a3 as z,p as ie,P as le,n as Se,b1 as oe,m as A,i as J,h as X,ar as Re,aq as De,c as Le}from"./index-BTglIPU2.js?v=1773287522785";import{c as Te}from"./soft-Cjyfamvm.js?v=1773287522785";import{r as F,X as Me,av as T,a3 as re,n as B,a0 as D,F as Ne,k as qe,c as Ee,$ as je,Z as Ae,L as Ie,S as Ke}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{c as ze}from"./copy-D-wIKr0q.js?v=1773287522785";import{al as ee}from"./naive-ui--dJnpVcV.js?v=1773287522785";function $e(t,e,a){const n=F(!0),s=F(0),i=F(0),l=F(0),o=F(0),r=F(0),u=F(0),p=F(0),w=F(0);function h(){let y=null;return e?()=>{y||(y=setTimeout(()=>{e({m_flag:n,m_left:s,m_right:i,m_bottom:o,m_top:l,m_x:p,m_y:w,m_height:r,m_width:u}),clearTimeout(y),y=null},10))}:!1}let m;Me(t)?m=t.value:typeof t=="string"?m=document.querySelector(t):t instanceof Element&&(m=t);const k=h();function q(y){const{left:O,right:L,top:S,bottom:R,height:c,width:x,x:P,y:j}=y.getBoundingClientRect();s.value=O,i.value=L,l.value=S,o.value=R,r.value=c,u.value=x,p.value=P,w.value=j}const K=y=>{if(a&&a(y,{m_flag:n,m_left:s,m_right:i,m_bottom:o,m_top:l,m_x:p,m_y:w,m_height:r,m_width:u}),!n.value)return;const{left:O,right:L,top:S,bottom:R}=m.getBoundingClientRect(),c=document.createElement("div"),x=y.clientX,P=y.clientY;c.style.position="absolute",c.style.left=x-O+"px",c.style.top=P-S+"px",c.style.width="0px",c.style.height="0px",c.style.backgroundColor="rgba(135, 182, 130, 0.1)",c.classList.add("district-wrapper"),m.appendChild(c),y.preventDefault();const j=C=>{C.preventDefault(),!Fe.value&&!Pe.value&&(x<=C.clientX?c.style.width=C.clientX-x+"px":(c.style.width=x-C.clientX+"px",c.style.marginLeft=-(x-C.clientX)+"px"),P<=C.clientY?(c.style.height=C.clientY-P+G+"px",c.style.marginTop=-G+"px"):(c.style.height=P-C.clientY+Z+"px",c.style.marginTop=-(P-C.clientY)+"px"),C.clientXL&&(c.style.width=L-x+"px")),C.clientY>R&&ke(),C.clientY{if(E.scrollTop>=E.scrollHeight-E.clientHeight){f();return}c.style.height=c.offsetHeight+10+"px",c.style.marginTop=parseInt(getComputedStyle(c).marginTop)-10+"px",E.scrollTop+=10,G=E.scrollTop,q(c),k&&k()},{immediate:!1}),{pause:_e,resume:Oe,isActive:Pe}=Q(()=>{if(E.scrollTop<=0){_e();return}c.style.height=c.offsetHeight+10+"px",E.scrollTop-=10,Z+=10,q(c),k&&k()},{immediate:!1}),E=m.querySelector(".n-scrollbar-container");let G=0,Z=0;document.onmousemove=j,document.onmouseup=()=>{document.onmousemove=null,m.contains(c)&&m.removeChild(c)}};return m&&(m.onmousedown=K),{m_flag:n,m_x:p,m_y:w,m_left:s,m_right:i,m_top:l,m_bottom:o,m_height:r,m_width:u}}function Be(t,e){const a=T(t.m_left),n=T(t.m_right),s=T(t.m_top),i=T(t.m_bottom),l=T(e.left),o=T(e.right),r=T(e.top),u=T(e.bottom);return!(on||ui)}const{t:Ve}=z.global;async function Ue(t){const{shareList:e,shareListPage:a,shareListTotal:n}=t;try{const s=await d.post("/files?action=get_download_url_list",{p:a.value,row:12});return e.value=s.message.data,n.value=se(s.message.page),e.value}catch(s){return console.warn(s),[]}}async function Ge(t,e){try{await d.post("/files?action=remove_download_url",{id:e},{requestOptions:{loading:Ve("file.shareListModal.deletingShare"),successMessage:!0}}),g(t)}catch(a){console.warn(a)}}const ce=(t,e)=>{ie({width:"80vw",height:"80vh",bgColor:"transparent",hideClose:!0,showMask:!1,data:{filePath:t,currentPath:e},component:re(()=>le(()=>import("./index-CXfbSKqD.js?v=1773287522785"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17])))})},Je=oe(t=>lt(t),100),{t:b}=z.global;async function g(t,e){var S;const{tableLoading:a,currentPath:n,favoriteList:s,fileRecycle:i,fileList:l,filesView:o,dirNums:r,fileNums:u,total:p,page:w,size:h,sort:m,reverse:k,diskMountPoint:q,currentFile:K,currentDirSize:y,uploadFileList:O,dragUploadRef:L}=t;a.value=!0;try{const R=await Et(n.value,f=>{s.value=f.store,i.value=f.file_recycle,r.value=f.dir.length,u.value=f.files.length,p.value=se(f.page),q.value=f.disk,n.value=f.path},{p:w.value,showRow:h.value,...m.value?{sort:m.value,reverse:k.value}:{},disk:!0,...e});K.value=null,y.value=-1;const c=await fe(t);let x=[];c.length&&(x=c.map(f=>f.key));const P=await Ue(t);let j=[];P.length&&(j=P.map(f=>f.filename)),l.value=R.map(f=>(f.remarks_hover=!1,f.isEditRemarks=!1,f.isCreate=!1,f.card_hover=!1,f.card_choosed=!1,f.isRenameForCard=!1,f.operation_show=!1,x.includes(f.path)?f.isFavorite=!0:f.isFavorite=!1,j.includes(f.path)&&(f.isShare=!0),f)),O.value=[],(S=L.value)==null||S.listenDragEvent(),B(()=>{o.value=="list"&&(ue(t),Ze(t))}),jt(t)}catch(R){console.warn(R)}finally{a.value=!1}}function ue(t){const{tableRef:e}=t;e.value&&$e(e.value.querySelector(".n-data-table-base-table-body"),a=>Xe(t,a),(a,n)=>Ye(a,n,t))}async function fe(t){const{resetFavoriteOptions:e,favoriteOptions:a}=t;try{const s=(await d.post("/files?action=get_files_store",{},{requestOptions:{isOriginalResult:!0}})).message.map(i=>({type:i.type,icon:i.type,label:i.name,key:i.path}));return e(),a.value=[...s,...a.value],a.value}catch(n){return console.warn(n),[]}}function Xe(t,e){const{trRectArr:a,choosedKeys:n}=t,s=[];for(let i=0;ii!==s):n.value.push(s);return}if(He(a),t.target.closest("tr")){const s=t.target.closest("tr").dataset.key;if(t.button==0&&(n.value=[s]),t.button==2){if(n.value.includes(s))return;n.value=[s]}}t.target.nodeName=="INPUT"?e.m_flag.value=!1:e.m_flag.value=!0}}function He(t){const{normalTrList:e,trRectArr:a}=t;e.value=document.querySelectorAll('[class*="normal-tr"]');const n=[];for(let s=0;sn.value.open()):W(e.ext)?H(t,e):ye(t)}function We(t,e,a){const{currentPath:n}=t,{type:s,name:i}=a,l=xe(i,s);if(console.log(a),s=="dir")n.value=e,g(t);else if(qt(l))Y(t,e);else if(U(l))v(t,"Decompress",o=>o.value.open(e,l));else if(W(l))H(t,{path:e,nm:a.name});else{const o=e.substring(0,e.lastIndexOf("/"));ce(e,o)}}function Ze(t){const{tableRef:e,choosePathRef:a}=t;let n=0;const s=setInterval(()=>{if(n<10?n++:clearInterval(s),e.value){const i=e.value;i.querySelector(".n-data-table-base-table-body")&&ue(t),i.oncontextmenu=l=>{l.preventDefault(),Qe(l,t)},i.onclick=l=>{l.target.nodeName!="INPUT"&&(Je(t),a.value.handleEnterDown())},clearInterval(s)}else return},1e3)}function Qe(t,e){const{choosedKeys:a,contextRef:n}=e;let s="empty";t.target.closest("tr")&&(a.value.length>1?s="multiple":a.value.length==1?s="single":s="empty"),n.value.filesOperation(t,s)}function pe(){var e;const t=(e=document.querySelector("#createInput"))==null?void 0:e.querySelector("input");t==null||t.focus(),t==null||t.select()}async function Ut(t){try{return(await d.post("/files?action=GetDirSize",{path:t},{requestOptions:{isOriginalResult:!0}})).message}catch(e){return console.warn(e),"计算失败"}}const Gt=oe((t,e)=>{const{choosedKeys:a}=t;if(e.type=="dir")a.value=[e.nm],we(t);else return},200);async function Jt(t,e){const{close:a}=A.loading("Processing, please wait...");try{await Te("tamper_core",71);const{message:n}=await d.post("/tamper_core/get_effective_path.json",{path:e.path},{requestOptions:{isOriginalResult:!0}});if(J(n)&&n.status){const{data:s}=n;e.type==="dir"?et(t,e,s):tt(t,e,s)}}finally{a()}}function et(t,e,a){const{pid:n,lock:s,action:i}=a,l=(s?"Turning off protection ":"Turning on protection ")+"[".concat(e.path,"]"),o=b(s?"file.tableController.afterTurningOffProtectionDir":"file.tableController.afterTurningOnProtectionDir");X({width:480,title:l,content:o,onConfirm:async()=>{if(i[0]==="create"&&n===0){await de(e.path,[]),g(t);return}const r=[];s?r.push({key:e.path.indexOf("/www/server/panel/class")!=-1?"add_wd":i[0],values:[e.path]}):r.push({key:i[0],values:[e.path]}),await me(n,r),g(t)}})}function tt(t,e,a){const{pid:n,lock:s,action:i}=a,l=s?b("file.tableController.turningOffProtection",{path:e.path}):b("file.tableController.turningOnProtection",{path:e.path}),o=b(s?"file.tableController.afterTurningOffProtectionFile":"file.tableController.afterTurningOnProtectionFile"),r=F(!1),u=F(!0);X({title:l,width:480,content:()=>D(Ne,null,[D("div",null,[o]),D("div",{class:"mt-8px"},[D(ee,{checked:u.value,"onUpdate:checked":p=>u.value=p},{default:()=>[D("span",null,[s?b("file.tableController.turningOffProtectionFile",{path:e.nm}):b("file.tableController.turningOnProtectionFile",{path:e.nm})])]})]),D("div",{class:"mt-8px"},[D(ee,{checked:r.value,"onUpdate:checked":p=>r.value=p},{default:()=>[D("span",null,[s?b("file.tableController.turningOffProtectionSuffix",{suffix:e.ext}):b("file.tableController.turningOnProtectionSuffix",{suffix:e.ext})])]})])]),onConfirm:async()=>{if(i[0]==="create"&&n===0){const w=e.path.substring(0,e.path.lastIndexOf("/")),h=[];if(u.value){const m=e.path.split("/"),k=m.length>=2?m[m.length-2]:"";h.push("".concat(k,"/").concat(e.nm))}r.value&&h.push("."+e.ext),await de(w,h),g(t);return}const p=[];s?(u.value&&(p.push({key:"remove_bf",values:[e.path]}),p.push({key:"add_wf",values:[e.path]})),r.value&&p.push({key:"remove_bf",values:["."+e.ext]})):(u.value&&(p.push({key:"add_bf",values:[e.path]}),p.push({key:"remove_wf",values:[e.path]})),r.value&&p.push({key:"add_bf",values:["."+e.ext]})),await me(n,p),g(t)}})}async function de(t,e){const{message:a}=await d.post("/tamper_core/create_path.json",{path:t,exts:JSON.stringify(e)},{requestOptions:{loading:b("file.tableController.creatingDirectoryProtection"),isOriginalResult:!0}});if(J(a))if(a.status)A.success(a.msg);else return A.error(a.msg),Promise.reject()}async function me(t,e){const{message:a}=await d.post("/tamper_core/batch_setting.json",{pid:t,settings:JSON.stringify(e)},{requestOptions:{loading:b("file.tableController.executing"),isOriginalResult:!0}});if(J(a))if(a.status)A.success(a.msg);else return A.error(a.msg),Promise.reject()}function Y(t,e){const{currentPreviewImg:a,previewShow:n}=t;a.value=e,n.value=!0}function H(t,e){const{currentPreviewVideo:a,previewVideoShow:n}=t;a.value={path:e.path,name:e.nm},n.value=!0}async function at(t){await d.post("/files?action=set_file_ps",t,{requestOptions:{successMessage:!0}})}async function nt(t){const{currentFile:e,currentPath:a}=t;if(e.value&&(e.value.isCreate&&e.value.isRename||e.value.isRenameForCard)&&(e.value.editName||(e.value.isCreate=!1),e.value.editName==e.value.nm&&(e.value.isCreate=!1),e.value.isCreate&&e.value.isRename||e.value.isRenameForCard))if(e.value.editName!==e.value.nm){try{await yt(e.value.path,a.value+"/"+e.value.editName),g(t)}catch(n){console.log(n)}finally{e.value.isCreate=!1,e.value.isRenameForCard=!1,e.value.isRename=!1}return!0}else e.value.isCreate=!1,e.value.isRenameForCard=!1,e.value.isRename=!1}async function st(t){const{currentFile:e,currentPath:a,fileList:n}=t;if(e.value&&e.value.isCreate&&!e.value.isRename)if(e.value.editName=="")n.value.shift();else try{return e.value.type=="dir"?await rt(a.value+"/"+e.value.editName):await ct(a.value+"/"+e.value.editName),await g(t),!0}catch(s){n.value.shift(),console.warn(s)}}async function it(t){const{currentFile:e}=t;if(e.value&&e.value.isEditRemarks)return e.value.editRemarks!=e.value.rmk?(await at({filename:e.value.path,ps_type:0,ps_body:e.value.editRemarks}),await g(t),!0):(e.value.isEditRemarks=!1,e.value.remarks_hover=!1,!1)}async function lt(t){await it(t)||await nt(t)||await st(t)}async function ot(){return d.post("/task?action=get_task_lists",{status:-3})}async function Xt(t){if(document.querySelector(".file-task-modal"))return;const{message:a}=await ot();Se(a)&&a.length>0&&ie({title:b("file.tableController.realtimeTaskQueue"),width:510,class:"file-task-modal",unstableShowMask:!1,data:{store:t,taskList:a},component:re(()=>le(()=>import("./FileTask-BHdDTz4Y.js?v=1773287522785"),__vite__mapDeps([18,4,1,2,3,5,6,19,20,13,21])))})}async function Yt(t){return d.post("/task?action=remove_task",{id:t},{requestOptions:{loading:b("file.tableController.deletingTask"),successMessage:!0}})}const{t:I}=z.global;async function rt(t){try{await d.post("/files?action=CreateDir",{path:t},{requestOptions:{loading:I("file.buttonGroup.loading.creatingDirectory"),successMessage:!0}})}catch(e){console.warn(e)}}async function ct(t){try{await d.post("/files?action=CreateFile",{path:t},{requestOptions:{loading:I("file.buttonGroup.loading.creatingFile"),successMessage:!0}})}catch(e){console.warn(e)}}async function Ht(t,e){try{await d.post("/files?action=CreateLink",{sfile:t,dfile:e},{requestOptions:{loading:I("file.buttonGroup.loading.creatingSoftlink"),successMessage:!0}})}catch(a){console.warn(a)}}function Wt(t,e){const{filesView:a}=t;a.value=e}function Zt(t){v(t,"UploadFile",e=>{e.value.open()})}function Qt(t){v(t,"RemoteDownload",e=>{e.value.open()})}function ea(t){v(t,"SearchFileContent",e=>{e.value.open()})}const ut=t=>{v(t,"FavoriteList",e=>{e.value.open()})};function ta(t,e,a){e=="management"?ut(t):We(t,e,a)}function aa(t){v(t,"ShareList",e=>{e.value.open()})}function na(t){const{currentPath:e}=t;e.value="/",g(t)}function sa(t){v(t,"Backup",e=>{e.value.open()})}function ia(t){v(t,"Recycle",e=>{e.value.open()})}function la(t){v(t,"Terminal",e=>{e.value.open()})}function $(t,e,a,n){const{fileList:s,currentFile:i}=t,l={nm:e,isCreate:!0,type:a,ext:n,path:"",editName:e};i.value=l,i.value.editName=i.value.nm,s.value.unshift(i.value),B(pe)}function oa(t,e){switch(e){case"dir":$(t,I("file.buttonGroup.defaultNames.untitledDirectory"),"dir","folder");break;case"file":$(t,I("file.buttonGroup.defaultNames.untitledFile"),"file","unknown");break;case"softlink":v(t,"Softlink",a=>{a.value.open()})}}function ra(t){const{optionToolsRef:e,isMiniScreen:a}=t;e.value.offsetWidth<1560?a.value=!0:a.value=!1}async function ft(t,e){try{await d.post("/files?action=del_files_store",{path:e},{requestOptions:{loading:I("file.buttonGroup.loading.deletingFavorite"),successMessage:!0}}),g(t)}catch(a){console.warn(a)}}const{t:M}=z.global,pt=t=>{const{fileRecycle:e}=t;e.value?dt(t):mt(t)},dt=t=>{const{currentPath:e,choosedKeys:a,fileList:n}=t,s=n.value.filter(i=>a.value.includes(i.nm));X({title:s.length===1?M("file.deleteController.deleteSingleFileTitle",{name:s[0].nm}):M("file.deleteController.batchDeleteTitle"),content:M("file.deleteController.recycleBinMessage"),width:400,onConfirm:async()=>{s.length===1?await ve(s[0].path,s[0].type):await he(s.map(i=>i.nm),e.value),g(t)}})},mt=t=>{const{currentPath:e,choosedKeys:a,fileList:n}=t,s=n.value.filter(i=>a.value.includes(i.nm));Re({title:s.length===1?M("file.deleteController.deleteSingleFileTitle",{name:s[0].nm}):M("file.deleteController.batchDeleteTitle"),content:()=>D("span",{class:"text-error"},[M("file.deleteController.permanentDeleteMessage")]),width:400,onConfirm:async()=>{s.length===1?await ve(s[0].path,s[0].type):await he(s.map(i=>i.nm),e.value),g(t)}})};async function ve(t,e){await d.post("/files?action=".concat(e==="dir"?"DeleteDir":"DeleteFile"),{path:t},{requestOptions:{loading:M("file.deleteController.deletingSingle"),successMessage:!0}})}async function he(t,e){await d.post("/files?action=SetBatchData",{data:JSON.stringify(t),type:4,path:e},{requestOptions:{loading:M("file.deleteController.deletingBatch"),successMessage:!0}})}const{t:_}=z.global;async function te(t,e){return(await d.post("/files?action=CheckExistsFiles",{dfile:t,filename:e},{requestOptions:{isOriginalResult:!0}})).message.length>0}async function vt(t,e,a){return await d.post("/files?action=SetBatchData",{data:JSON.stringify(t),type:e,path:a},{requestOptions:{loading:_("file.contextMenu.loading.batchSetting"),successMessage:!0}})}async function ht(t,e){return await d.post("/files?action=CopyFile",{sfile:t,dfile:e},{requestOptions:{loading:_("file.contextMenu.loading.copying"),successMessage:!0}})}async function gt(t,e){return await d.post("/files?action=BatchPaste",{type:t,path:e},{requestOptions:{loading:_("file.contextMenu.loading.pasting"),successMessage:!0}})}async function ge(t,e,a){return await d.post("/files?action=MvFile",{sfile:t,dfile:e,...a},{requestOptions:{loading:_("file.contextMenu.loading.moving"),successMessage:!0}})}function yt(t,e){return ge(t,e,{rename:!0})}async function ca(t,e,a,n){try{await d.post("/files?action=Zip",{sfile:t,dfile:e,z_type:a,path:n},{requestOptions:{loading:_("file.contextMenu.loading.compressing"),successMessage:!0}})}catch(s){console.warn(s)}}async function ua(t){await d.post("/files?action=UnZip",t,{requestOptions:{loading:_("file.contextMenu.loading.decompressing"),successMessage:!0}})}function ae(t,e){return e.map(a=>t[a])}function fa(t,e){const{fileList:a,choosedKeys:n}=t,s=N(a.value,n.value)[0];let i=["share","favorite","permission","copy","copyPath","cut","rename","del","compression","attrs"];if(!s)return ae(e.value,["refresh","upload","create","terminal"]);if(s.type=="dir"?i.unshift("open","openNewWindow"):i.unshift("edit","download"),Ce(s)&&(i.unshift("preview"),i=i.filter(l=>l!=="edit")),W(s.ext)&&(i.unshift("playVideo"),i=i.filter(l=>l!=="edit")),s.isFavorite){const l=i.findIndex(o=>o=="favorite");i[l]="unfavorite"}if(s.isShare){const l=i.findIndex(o=>o=="share");i[l]="unShare"}return U(s.ext)&&(i.unshift("decompress"),i=i.filter(l=>l!=="edit")),ae(e.value,i)}function ye(t){const{choosedKeys:e,currentPath:a,fileList:n}=t,s=n.value.find(i=>i.nm==e.value[0]);s&&ce(s.path,a.value)}function we(t){const{choosedKeys:e,currentPath:a,fileList:n}=t,s=n.value.find(i=>i.nm==e.value[0]);t.page.value=1,a.value=s.path,g(t)}async function wt(t){const{choosedKeys:e,fileList:a}=t,n=a.value.find(s=>s.nm==e.value[0]);try{await d.post("/files?action=add_files_store",{path:n.path},{requestOptions:{loading:_("file.contextMenu.loading.addingToFavorites"),successMessage:!0}}),fe(t),g(t)}catch(s){console.warn(s)}}async function bt(t){const{choosedKeys:e,fileList:a}=t,n=N(a.value,e.value)[0];ft(t,n.path)}async function be(t,e,a){const{choosedKeys:n,fileList:s,fileCopyCache:i,waitForPaste:l,copiedFile:o,currentPath:r}=t;if(n.value.length==1)A.success(e),i.value=JSON.parse(JSON.stringify(n.value)),o.value=N(s.value,i.value)[0],l.value=!0;else try{(await vt(n.value,a,r.value)).status==0&&(i.value=JSON.parse(JSON.stringify(n.value)),l.value=!0)}catch(u){console.warn(u)}}async function xt(t){const{fileCopyCache:e,fileOperationFlag:a,currentPath:n,copiedFile:s,waitForPaste:i}=t;e.value.length>1?await gt(a.value,n.value):e.value.length==1&&(a.value==1?await ht(s.value.path,n.value+"/"+s.value.nm):a.value==2&&await ge(s.value.path,n.value+"/"+s.value.nm)),g(t),i.value=!1}async function Ct(t){const{fileOperationFlag:e,waitForPaste:a}=t;e.value=1,await be(t,_("file.contextMenu.messages.copySuccess"),1),a.value=!0}async function kt(t){const{choosedKeys:e,fileList:a}=t,n=N(a.value,e.value)[0];n&&ze(n.path)}async function Ft(t){const{fileOperationFlag:e,waitForPaste:a}=t;e.value=2,await be(t,_("file.contextMenu.messages.cutSuccess"),2),a.value=!0}async function _t(t){const{fileCopyCache:e,currentPath:a,waitForPaste:n}=t;if(!n.value)return;let s=!1;e.value.length==1?s=await te(a.value,e.value[0]):e.value.length>1&&(s=await te(a.value)),s?e.value.length==1?v(t,"PasteSingleConfirm",i=>i.value.open()):e.value.length>1&&v(t,"PasteConfirm",i=>i.value.open()):xt(t)}async function Ot(t){const{currentPath:e,choosedKeys:a}=t;De("".concat(e.value==="/"?"":e.value,"/").concat(a.value[0]))}async function Pt(t){const{choosedKeys:e,fileList:a,currentFile:n,filesView:s}=t,i=N(a.value,e.value)[0];n.value=i,s.value==="card"?(n.value.isRenameForCard=!0,n.value.editName=n.value.nm):(i.isCreate=!0,i.isRename=!0,i.editName=i.nm,B(pe))}function St(t){v(t,"Compression",e=>e.value.open())}function Rt(t){const{choosedKeys:e,fileList:a}=t,n=N(a.value,e.value)[0];Y(t,n.path)}function Dt(t){const{choosedKeys:e,fileList:a,shareList:n}=t,s=N(a.value,e.value)[0],i=n.value.find(l=>l.filename.includes(s.nm));Ge(t,i==null?void 0:i.id)}function Lt(t){const{choosedKeys:e,fileList:a}=t,n=N(a.value,e.value)[0];H(t,n)}function pa(t,e){const{menuShow:a}=e;switch(t){case"edit":ye(e);break;case"copy":Ct(e);break;case"copyPath":kt(e);break;case"cut":Ft(e);break;case"paste":_t(e);break;case"permission":v(e,"Permission",n=>n.value.open());break;case"compression":St(e);break;case"decompress":v(e,"Decompress",n=>n.value.open());break;case"conversion":console.log("conversion");break;case"del":pt(e);break;case"refresh":g(e);break;case"upload":v(e,"UploadFile",n=>n.value.open());break;case"createFile":$(e,_("file.contextMenu.defaultNames.untitledFile"),"file","file");break;case"createDir":$(e,_("file.contextMenu.defaultNames.untitledDirectory"),"dir","folder");break;case"download":Ot(e);break;case"terminal":v(e,"Terminal",n=>n.value.open());break;case"open":we(e);break;case"share":v(e,"Share",n=>n.value.open());break;case"unShare":Dt(e);break;case"favorite":wt(e);break;case"unfavorite":bt(e);break;case"rename":Pt(e);break;case"attrs":v(e,"Properties",n=>n.value.open());break;case"preview":Rt(e);break;case"playVideo":Lt(e);break}a.value=!1}function ne(t){const{type:e,list:a,path:n}=t,s=[];for(const i of a)s.push(Tt({type:e,item:i,path:n}));return s}function Tt(t){const{type:e,item:a,path:n}=t,{nm:s,sz:i,is_link:l,lnk:o,mt:r,ctime:u,atime:p,gid:w,uid:h,group:m,user:k,acc:q,rmk:K,durl:y,cmp:O,fav:L,top:S,sn:R}=a;return{ext:xe(a.nm,e),nm:s,sz:i,mt:r,acc:q,user:k,is_link:l?o:"",lnk:o,durl:y,cmp:O,fav:L,rmk:K,top:S,sn:R,path:Mt(n,s),ctime:u,atime:p,gid:w,uid:h,group:m,type:e}}function xe(t,e){if(e==="dir")return"folder";const a=["tar.gz"],n=t.toLowerCase();for(const i of a)if(n.endsWith(i))return i;const s=n.lastIndexOf(".");return s!==-1?n.substring(s+1):"file"}function Mt(t,e){return Nt("".concat(t,"/").concat(e))}function Nt(t){return t.replace(/\/\//g,"/")}function V(t){const e=["folder"],a=["txt","rtf","md","log","conf"],n=["json"],s=["htm","html","xhtml"],i=["css","less","scss"],l=["js","ts"],o=["php"],r=["pdf","pdfa","pdfx","pdfu"],u=["doc","docx","docm","dot","dotx","dotm"],p=["xlsx","xlsm","xltx","xltm"],w=["jpg","jpeg","png","gif","bmp","webp","tiff","tif","psd","ai","eps","cr2","cr3","nef","nrw","dng","svg","cdr","wmf","emf","apng","heic","ico","xbm","xpm","xcf","iff","pnm"],h=["py","java","js","ts","c","cpp","cs","php","rb","go","swift","kt","html","css","jsx","vue","scss","less","tsx","json","xml","yaml","yml","ini","properties","env","sql","pl","sh","bat","ps1","m","swift","kt","gradle","makefile","cmake","jar","war","exe","md","gitignore","dockerfile","yml","ipynb","asm","lua","rs","hs"],m=["zip","rar","7z","tar","tar.gz","gz","tgz","tar.bz2","tar.xz","cab","iso","msi","rpm","deb","xz","zipx","lz4","zst","rar5","part1.rar","rar.part1","z01","z02"];return e.includes(t)?"file-dir":a.includes(t)?"file-txt":n.includes(t)?"file-json":s.includes(t)?"file-html":i.includes(t)?"file-css":l.includes(t)?"file-js":o.includes(t)?"file-php":u.includes(t)?"file-doc":r.includes(t)?"file-pdf":p.includes(t)?"file-excel":w.includes(t)?"file-img":h.includes(t)?"file-sh":m.includes(t)?"file-compression":"file-unknown-file"}function da(t){return!!["file-txt","file-json","file-html","file-css","file-js","file-php","file-doc","file-sh"].includes(V(t.ext))}function W(t){return["mp3","mp4","avi","mov","mkv","wmv","flv","3gp","3g2","vob","webm","ogv"].includes(t)}function Ce(t){return V(t.ext)==="file-img"}function qt(t){return V(t)==="file-img"}function U(t){return V(t)==="file-compression"}async function Et(t,e,a){try{const{message:n}=await d.post("/files?action=GetDirNew",{path:t,is_operating:!0,...a});e&&e(n);let s=ne({type:"dir",list:n.dir,path:n.path}),i=ne({type:"file",list:n.files,path:n.path});return s=s.map((l,o)=>({...l,protected:n.tamper_data.dirs&&n.tamper_data.dirs[o]?Number(n.tamper_data.dirs[o].split(";")[0]):0,protected_rule:n.tamper_data.dirs&&n.tamper_data.dirs[o]?Number(n.tamper_data.dirs[o].split(";")[1]):0})),i=i.map((l,o)=>({...l,protected:n.tamper_data.files&&n.tamper_data.files[o]?Number(n.tamper_data.files[o].split(";")[0]):0,protected_rule:n.tamper_data.files&&n.tamper_data.files[o]?Number(n.tamper_data.files[o].split(";")[1]):0})),[...s,...i]}catch(n){return console.warn(n),[]}}async function ma(t,e,a,n,s,i){const l=[],o=Math.ceil(t.size/a);for(let r=0;re.includes(a.nm))}async function v(t,e,a){const{dynamicCmptObj:n,dynamicCmpt:s,dynamicCmptRef:i}=t,l=n[e]();await l.__asyncLoader(),s.value=l,B(()=>{a&&a(i)})}function jt(t){const{choosedKeys:e}=t;e.value=[]}const At=qe({__name:"FileIcon",props:{ext:{type:String,default:""},size:{type:String,default:"medium"}},setup(t){const e=Ee(()=>U(t.ext)?"compress":t.ext==="Dir"?"folder":t.ext);return(a,n)=>(je(),Ae("div",{class:Ie(["files-icon",["table-".concat(Ke(e),"-icon"),"".concat(t.size,"-icon")]])},null,2))}}),va=Le(At,[["__scopeId","data-v-989c0bf5"]]);export{ca as $,N as A,Y as B,da as C,U as D,Ut as E,va as F,ue as G,Vt as H,Qe as I,lt as J,Gt as K,Jt as L,$e as M,we as N,ye as O,Be as P,Xt as Q,ne as R,gt as S,te as T,ht as U,ma as V,ce as W,ft as X,Ge as Y,Ue as Z,Ht as _,W as a,ua as a0,ot as a1,Yt as a2,Qt as b,ra as c,v as d,oa as e,ea as f,ta as g,Zt as h,Ce as i,aa as j,la as k,na as l,Ct as m,Ft as n,ut as o,St as p,_t as q,sa as r,ia as s,pt as t,rt as u,Wt as v,g as w,ae as x,fa as y,pa as z}; diff --git a/BTPanel/static/vite/js/FileIcon-legacy-BZIg8aaH.js b/BTPanel/static/vite/js/FileIcon-legacy-BZIg8aaH.js new file mode 100644 index 00000000..79072a0f --- /dev/null +++ b/BTPanel/static/vite/js/FileIcon-legacy-BZIg8aaH.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068"],(function(e,t){"use strict";var i,a,n,o,l,s,c,r,u,p,f,d,m,v,g,b,h,x,y,k,w,_,C,O,F,P,S,R,j,M;return{setters:[e=>{i=e.c5,a=e.av,n=e.as,o=e.a6,l=e.p,s=e.S,c=e.n,r=e.b5,u=e.m,p=e.c0,f=e.i,d=e.h,m=e.au,v=e.at,g=e.c},e=>{b=e.r,h=e.X,x=e.av,y=e.a3,k=e.n,w=e.a0,_=e.F,C=e.k,O=e.c,F=e.$,P=e.Z,S=e.L,R=e.S},e=>{j=e.c},e=>{M=e.am}],execute:function(){var L=document.createElement("style");function N(e,t,a){const n=b(!0),o=b(0),l=b(0),s=b(0),c=b(0),r=b(0),u=b(0),p=b(0),f=b(0);let d;h(e)?d=e.value:"string"==typeof e?d=document.querySelector(e):e instanceof Element&&(d=e);const m=function(){let e=null;return!!t&&(()=>{e||(e=setTimeout((()=>{t({m_flag:n,m_left:o,m_right:l,m_bottom:c,m_top:s,m_x:p,m_y:f,m_height:r,m_width:u}),clearTimeout(e),e=null}),10))})}();function v(e){const{left:t,right:i,top:a,bottom:n,height:d,width:m,x:v,y:g}=e.getBoundingClientRect();o.value=t,l.value=i,s.value=a,c.value=n,r.value=d,u.value=m,p.value=v,f.value=g}const g=e=>{if(a&&a(e,{m_flag:n,m_left:o,m_right:l,m_bottom:c,m_top:s,m_x:p,m_y:f,m_height:r,m_width:u}),!n.value)return;const{left:t,right:g,top:b,bottom:h}=d.getBoundingClientRect(),x=document.createElement("div"),y=e.clientX,k=e.clientY;x.style.position="absolute",x.style.left=y-t+"px",x.style.top=k-b+"px",x.style.width="0px",x.style.height="0px",x.style.backgroundColor="rgba(135, 182, 130, 0.1)",x.classList.add("district-wrapper"),d.appendChild(x),e.preventDefault();const{pause:w,resume:_,isActive:C}=i((()=>{S.scrollTop>=S.scrollHeight-S.clientHeight?w():(x.style.height=x.offsetHeight+10+"px",x.style.marginTop=parseInt(getComputedStyle(x).marginTop)-10+"px",S.scrollTop+=10,R=S.scrollTop,v(x),m&&m())}),{immediate:!1}),{pause:O,resume:F,isActive:P}=i((()=>{S.scrollTop<=0?O():(x.style.height=x.offsetHeight+10+"px",S.scrollTop-=10,j+=10,v(x),m&&m())}),{immediate:!1}),S=d.querySelector(".n-scrollbar-container");let R=0,j=0;document.onmousemove=e=>{e.preventDefault(),C.value||P.value||(y<=e.clientX?x.style.width=e.clientX-y+"px":(x.style.width=y-e.clientX+"px",x.style.marginLeft=-(y-e.clientX)+"px"),k<=e.clientY?(x.style.height=e.clientY-k+R+"px",x.style.marginTop=-R+"px"):(x.style.height=k-e.clientY+j+"px",x.style.marginTop=-(k-e.clientY)+"px"),e.clientXg&&(x.style.width=g-y+"px")),e.clientY>h&&_(),e.clientY{document.onmousemove=null,d.contains(x)&&d.removeChild(x)}};return d&&(d.onmousedown=g),{m_flag:n,m_x:p,m_y:f,m_left:o,m_right:l,m_top:s,m_bottom:c,m_height:r,m_width:u}}function q(e,t){const i=x(e.m_left),a=x(e.m_right),n=x(e.m_top),o=x(e.m_bottom),l=x(t.left),s=x(t.right),c=x(t.top),r=x(t.bottom);return!(sa||ro)}L.textContent=".files-icon[data-v-989c0bf5]{display:inline-block;width:25px;height:25px;background-image:url(/static/vite/images/file_icon-D_ZUYh8x.png);background-repeat:no-repeat;background-size:25px;background-position:0px -375px}.files-icon.medium-icon.table-swf-icon[data-v-989c0bf5]{background-position:0px 0px}.files-icon.medium-icon.table-webm-icon[data-v-989c0bf5]{background-position:0px -25px}.files-icon.medium-icon.table-webp-icon[data-v-989c0bf5]{background-position:0px -50px}.files-icon.medium-icon.table-wma-icon[data-v-989c0bf5]{background-position:0px -75px}.files-icon.medium-icon.table-wmv-icon[data-v-989c0bf5]{background-position:0px -100px}.files-icon.medium-icon.table-xls-icon[data-v-989c0bf5]{background-position:0px -125px}.files-icon.medium-icon.table-xml-icon[data-v-989c0bf5]{background-position:0px -150px}.files-icon.medium-icon.table-access-icon[data-v-989c0bf5]{background-position:0px -175px}.files-icon.medium-icon.table-apk-icon[data-v-989c0bf5]{background-position:0px -200px}.files-icon.medium-icon.table-avi-icon[data-v-989c0bf5],.files-icon.medium-icon.table-bmp-icon[data-v-989c0bf5]{background-position:0px -250px}.files-icon.medium-icon.table-cdr-icon[data-v-989c0bf5]{background-position:0px -275px}.files-icon.medium-icon.table-compress-icon[data-v-989c0bf5]{background-position:0px -300px}.files-icon.medium-icon.table-css-icon[data-v-989c0bf5]{background-position:0px -325px}.files-icon.medium-icon.table-doc-icon[data-v-989c0bf5]{background-position:0px -350px}.files-icon.medium-icon.table-file-icon[data-v-989c0bf5]{background-position:0px -375px}.files-icon.medium-icon.table-folder-icon[data-v-989c0bf5]{background-position:0px -400px}.files-icon.medium-icon.table-gif-icon[data-v-989c0bf5]{background-position:0px -425px}.files-icon.medium-icon.table-html-icon[data-v-989c0bf5]{background-position:0px -450px}.files-icon.medium-icon.table-ico-icon[data-v-989c0bf5]{background-position:0px -475px}.files-icon.medium-icon.table-java-icon[data-v-989c0bf5]{background-position:0px -500px}.files-icon.medium-icon.table-js-icon[data-v-989c0bf5]{background-position:0px -525px}.files-icon.medium-icon.table-bt_split_json-icon[data-v-989c0bf5]{background-position:0px -550px}.files-icon.medium-icon.table-jpeg-icon[data-v-989c0bf5]{background-position:0px -575px}.files-icon.medium-icon.table-jpg-icon[data-v-989c0bf5]{background-position:0px -600px}.files-icon.medium-icon.table-json-icon[data-v-989c0bf5]{background-position:0px -625px}.files-icon.medium-icon.table-log-icon[data-v-989c0bf5]{background-position:0px -650px}.files-icon.medium-icon.table-lua-icon[data-v-989c0bf5]{background-position:0px -675px}.files-icon.medium-icon.table-mkv-icon[data-v-989c0bf5]{background-position:0px -700px}.files-icon.medium-icon.table-mov-icon[data-v-989c0bf5]{background-position:0px -725px}.files-icon.medium-icon.table-mp4-icon[data-v-989c0bf5]{background-position:0px -750px}.files-icon.medium-icon.table-mpg-icon[data-v-989c0bf5]{background-position:0px -775px}.files-icon.medium-icon.table-mpeg-icon[data-v-989c0bf5]{background-position:0px -800px}.files-icon.medium-icon.table-pdf-icon[data-v-989c0bf5]{background-position:0px -825px}.files-icon.medium-icon.table-php-icon[data-v-989c0bf5]{background-position:0px -850px}.files-icon.medium-icon.table-png-icon[data-v-989c0bf5]{background-position:0px -875px}.files-icon.medium-icon.table-ppt-icon[data-v-989c0bf5]{background-position:0px -900px}.files-icon.medium-icon.table-py-icon[data-v-989c0bf5]{background-position:0px -925px}.files-icon.medium-icon.table-rm-icon[data-v-989c0bf5]{background-position:0px -950px}.files-icon.medium-icon.table-rmvb-icon[data-v-989c0bf5]{background-position:0px -975px}.files-icon.medium-icon.table-sh-icon[data-v-989c0bf5]{background-position:0px -1000px}.files-icon.medium-icon.table-bt_split-icon[data-v-989c0bf5]{background-position:0px -1025px}.files-icon.medium-icon.table-sql-icon[data-v-989c0bf5]{background-position:0px -1050px}.files-icon.large-icon[data-v-989c0bf5]{width:50px;height:50px;background-size:50px;background-position:0px -750px}.files-icon.large-icon.table-swf-icon[data-v-989c0bf5]{background-position:0px 0px}.files-icon.large-icon.table-webm-icon[data-v-989c0bf5]{background-position:0px -50px}.files-icon.large-icon.table-webp-icon[data-v-989c0bf5]{background-position:0px -100px}.files-icon.large-icon.table-wma-icon[data-v-989c0bf5]{background-position:0px -150px}.files-icon.large-icon.table-wmv-icon[data-v-989c0bf5]{background-position:0px -200px}.files-icon.large-icon.table-xls-icon[data-v-989c0bf5]{background-position:0px -250px}.files-icon.large-icon.table-xml-icon[data-v-989c0bf5]{background-position:0px -300px}.files-icon.large-icon.table-access-icon[data-v-989c0bf5]{background-position:0px -350px}.files-icon.large-icon.table-apk-icon[data-v-989c0bf5]{background-position:0px -400px}.files-icon.large-icon.table-avi-icon[data-v-989c0bf5]{background-position:0px -450px}.files-icon.large-icon.table-bmp-icon[data-v-989c0bf5]{background-position:0px -500px}.files-icon.large-icon.table-cdr-icon[data-v-989c0bf5]{background-position:0px -550px}.files-icon.large-icon.table-compress-icon[data-v-989c0bf5]{background-position:0px -600px}.files-icon.large-icon.table-css-icon[data-v-989c0bf5]{background-position:0px -650px}.files-icon.large-icon.table-doc-icon[data-v-989c0bf5]{background-position:0px -700px}.files-icon.large-icon.table-file-icon[data-v-989c0bf5]{background-position:0px -750px}.files-icon.large-icon.table-folder-icon[data-v-989c0bf5]{background-position:0px -800px}.files-icon.large-icon.table-gif-icon[data-v-989c0bf5]{background-position:0px -850px}.files-icon.large-icon.table-html-icon[data-v-989c0bf5]{background-position:0px -900px}.files-icon.large-icon.table-ico-icon[data-v-989c0bf5]{background-position:0px -950px}.files-icon.large-icon.table-java-icon[data-v-989c0bf5]{background-position:0px -1000px}.files-icon.large-icon.table-js-icon[data-v-989c0bf5]{background-position:0px -1050px}.files-icon.large-icon.table-bt_split_json-icon[data-v-989c0bf5]{background-position:0px -1100px}.files-icon.large-icon.table-jpeg-icon[data-v-989c0bf5]{background-position:0px -1150px}.files-icon.large-icon.table-jpg-icon[data-v-989c0bf5]{background-position:0px -1200px}.files-icon.large-icon.table-json-icon[data-v-989c0bf5]{background-position:0px -1250px}.files-icon.large-icon.table-log-icon[data-v-989c0bf5]{background-position:0px -1300px}.files-icon.large-icon.table-lua-icon[data-v-989c0bf5]{background-position:0px -1350px}.files-icon.large-icon.table-mkv-icon[data-v-989c0bf5]{background-position:0px -1400px}.files-icon.large-icon.table-mov-icon[data-v-989c0bf5]{background-position:0px -1450px}.files-icon.large-icon.table-mp4-icon[data-v-989c0bf5]{background-position:0px -1500px}.files-icon.large-icon.table-mpg-icon[data-v-989c0bf5]{background-position:0px -1550px}.files-icon.large-icon.table-mpeg-icon[data-v-989c0bf5]{background-position:0px -1600px}.files-icon.large-icon.table-pdf-icon[data-v-989c0bf5]{background-position:0px -1650px}.files-icon.large-icon.table-php-icon[data-v-989c0bf5]{background-position:0px -1700px}.files-icon.large-icon.table-png-icon[data-v-989c0bf5]{background-position:0px -1750px}.files-icon.large-icon.table-ppt-icon[data-v-989c0bf5]{background-position:0px -1800px}.files-icon.large-icon.table-py-icon[data-v-989c0bf5]{background-position:0px -1850px}.files-icon.large-icon.table-rm-icon[data-v-989c0bf5]{background-position:0px -1900px}.files-icon.large-icon.table-rmvb-icon[data-v-989c0bf5]{background-position:0px -1950px}.files-icon.large-icon.table-sh-icon[data-v-989c0bf5]{background-position:0px -2000px}.files-icon.large-icon.table-bt_split-icon[data-v-989c0bf5]{background-position:0px -2050px}.files-icon.large-icon.table-sql-icon[data-v-989c0bf5]{background-position:0px -2100px}\n/*$vite$:1*/",document.head.appendChild(L),e({$:async function(e,t,i,n){try{await a.post("/files?action=Zip",{sfile:e,dfile:t,z_type:i,path:n},{requestOptions:{loading:fe("file.contextMenu.loading.compressing"),successMessage:!0}})}catch(o){console.warn(o)}},A:V,B:function(e){return!!["file-txt","file-json","file-html","file-css","file-js","file-php","file-doc","file-sh"].includes(Re(e.ext))},C:Le,D:async function(e){try{return(await a.post("/files?action=GetDirSize",{path:e},{requestOptions:{isOriginalResult:!0}})).message}catch(t){return console.warn(t),"计算失败"}},E:G,G:function(e,t){const{currentPath:i}=e;"dir"==t.type?(i.value="/"==i.value?`/${t.nm}`:i.value+"/"+t.nm,E(e)):Me(t)?V(e,t.path):Le(t.ext)?qe(e,"Decompress",(e=>e.value.open())):je(t.ext)?A(e,t):he(e)},H:B,I:Q,K:async function(e,t){const{close:i}=u.loading("Processing, please wait...");try{await p("tamper_core",71);const{message:i}=await a.post("/tamper_core/get_effective_path.json",{path:t.path},{requestOptions:{isOriginalResult:!0}});if(f(i)&&i.status){const{data:a}=i;"dir"===t.type?function(e,t,i){const{pid:a,lock:n,action:o}=i,l=(n?"Turning off protection ":"Turning on protection ")+`[${t.path}]`,s=$(n?"file.tableController.afterTurningOffProtectionDir":"file.tableController.afterTurningOnProtectionDir");d({width:480,title:l,content:s,onConfirm:async()=>{if("create"===o[0]&&0===a)return await X(t.path,[]),void E(e);const i=[];n?i.push({key:-1!=t.path.indexOf("/www/server/panel/class")?"add_wd":o[0],values:[t.path]}):i.push({key:o[0],values:[t.path]}),await Y(a,i),E(e)}})}(e,t,a):function(e,t,i){const{pid:a,lock:n,action:o}=i,l=$(n?"file.tableController.turningOffProtection":"file.tableController.turningOnProtection",{path:t.path}),s=$(n?"file.tableController.afterTurningOffProtectionFile":"file.tableController.afterTurningOnProtectionFile"),c=b(!1),r=b(!0);d({title:l,width:480,content:()=>w(_,null,[w("div",null,[s]),w("div",{class:"mt-8px"},[w(M,{checked:r.value,"onUpdate:checked":e=>r.value=e},{default:()=>[w("span",null,[$(n?"file.tableController.turningOffProtectionFile":"file.tableController.turningOnProtectionFile",{path:t.nm})])]})]),w("div",{class:"mt-8px"},[w(M,{checked:c.value,"onUpdate:checked":e=>c.value=e},{default:()=>[w("span",null,[$(n?"file.tableController.turningOffProtectionSuffix":"file.tableController.turningOnProtectionSuffix",{suffix:t.ext})])]})])]),onConfirm:async()=>{if("create"===o[0]&&0===a){const i=t.path.substring(0,t.path.lastIndexOf("/")),a=[];if(r.value){const e=t.path.split("/"),i=e.length>=2?e[e.length-2]:"";a.push(`${i}/${t.nm}`)}return c.value&&a.push("."+t.ext),await X(i,a),void E(e)}const i=[];n?(r.value&&(i.push({key:"remove_bf",values:[t.path]}),i.push({key:"add_wf",values:[t.path]})),c.value&&i.push({key:"remove_bf",values:["."+t.ext]})):(r.value&&(i.push({key:"add_bf",values:[t.path]}),i.push({key:"remove_wf",values:[t.path]})),c.value&&i.push({key:"add_bf",values:["."+t.ext]})),await Y(a,i),E(e)}})}(e,t,a)}}finally{i()}},L:N,M:xe,N:he,O:q,P:async function(e){if(document.querySelector(".file-task-modal"))return;const{message:i}=await ee();c(i)&&i.length>0&&l({title:$("file.tableController.realtimeTaskQueue"),width:510,class:"file-task-modal",unstableShowMask:!1,data:{store:e,taskList:i},component:y((()=>s((()=>t.import("./FileTask-legacy-BEcv-_oj.js?v=1774508183068")),void 0)))})},Q:je,R:Oe,S:ve,T:de,U:me,V:async function(e,t,i,n,o,l){const s=[],c=Math.ceil(e.size/i);for(let a=0;a{e.value.open()}))},a0:async function(e){await a.post("/files?action=UnZip",e,{requestOptions:{loading:fe("file.contextMenu.loading.decompressing"),successMessage:!0}})},a1:ee,a2:async function(e){return a.post("/task?action=remove_task",{id:e},{requestOptions:{loading:$("file.tableController.deletingTask"),successMessage:!0}})},b:function(e,t){switch(t){case"dir":ne(e,te("file.buttonGroup.defaultNames.untitledDirectory"),"dir","folder");break;case"file":ne(e,te("file.buttonGroup.defaultNames.untitledFile"),"file","unknown");break;case"softlink":qe(e,"Softlink",(e=>{e.value.open()}))}},c:function(e){const{optionToolsRef:t,isMiniScreen:i}=e;t.value.offsetWidth<1560?i.value=!0:i.value=!1},d:qe,e:function(e){qe(e,"SearchFileContent",(e=>{e.value.open()}))},f:function(e,t,i){"management"==t?ae(e):function(e,t,i){const{currentPath:a}=e,{type:n,name:o}=i,l=Pe(o,n);if(console.log(i),"dir"==n)a.value=t,E(e);else if(function(e){return"file-img"===Re(e)}(l))V(e,t);else if(Le(l))qe(e,"Decompress",(e=>e.value.open(t,l)));else if(je(l))A(e,{path:t,nm:i.name});else{const e=t.substring(0,t.lastIndexOf("/"));K(t,e)}}(e,t,i)},g:function(e){qe(e,"ShareList",(e=>{e.value.open()}))},h:function(e){qe(e,"UploadFile",(e=>{e.value.open()}))},i:function(e){qe(e,"Terminal",(e=>{e.value.open()}))},j:function(e){const{currentPath:t}=e;t.value="/",E(e)},k:ke,l:we,m:Ce,n:function(e){qe(e,"Backup",(e=>{e.value.open()}))},p:_e,q:function(e){qe(e,"Recycle",(e=>{e.value.open()}))},s:ie,t:E,u:be,v:function(e,t){const{filesView:i}=e;i.value=t},w:function(e,t){const{fileList:i,choosedKeys:a}=e,n=Ne(i.value,a.value)[0];let o=["share","favorite","permission","copy","copyPath","cut","rename","del","compression","attrs"];if(!n)return be(t.value,["refresh","upload","create","terminal"]);if("dir"==n.type?o.unshift("open","openNewWindow"):o.unshift("edit","download"),Me(n)&&(o.unshift("preview"),o=o.filter((e=>"edit"!==e))),je(n.ext)&&(o.unshift("playVideo"),o=o.filter((e=>"edit"!==e))),n.isFavorite){const e=o.findIndex((e=>"favorite"==e));o[e]="unfavorite"}if(n.isShare){const e=o.findIndex((e=>"share"==e));o[e]="unShare"}return Le(n.ext)&&(o.unshift("decompress"),o=o.filter((e=>"edit"!==e))),be(t.value,o)},x:function(e,t){const{menuShow:i}=t;switch(e){case"edit":he(t);break;case"copy":ke(t);break;case"copyPath":!async function(e){const{choosedKeys:t,fileList:i}=e,a=Ne(i.value,t.value)[0];a&&j(a.path)}(t);break;case"cut":we(t);break;case"paste":_e(t);break;case"permission":qe(t,"Permission",(e=>e.value.open()));break;case"compression":Ce(t);break;case"decompress":qe(t,"Decompress",(e=>e.value.open()));break;case"conversion":console.log("conversion");break;case"del":se(t);break;case"refresh":E(t);break;case"upload":qe(t,"UploadFile",(e=>e.value.open()));break;case"createFile":ne(t,fe("file.contextMenu.defaultNames.untitledFile"),"file","file");break;case"createDir":ne(t,fe("file.contextMenu.defaultNames.untitledDirectory"),"dir","folder");break;case"download":!async function(e){const{currentPath:t,choosedKeys:i}=e;v(`${"/"===t.value?"":t.value}/${i.value[0]}`)}(t);break;case"terminal":qe(t,"Terminal",(e=>e.value.open()));break;case"open":xe(t);break;case"share":qe(t,"Share",(e=>e.value.open()));break;case"unShare":!function(e){const{choosedKeys:t,fileList:i,shareList:a}=e,n=Ne(i.value,t.value)[0],o=a.value.find((e=>e.filename.includes(n.nm)));z(e,o?.id)}(t);break;case"favorite":!async function(e){const{choosedKeys:t,fileList:i}=e,n=i.value.find((e=>e.nm==t.value[0]));try{await a.post("/files?action=add_files_store",{path:n.path},{requestOptions:{loading:fe("file.contextMenu.loading.addingToFavorites"),successMessage:!0}}),U(e),E(e)}catch(o){console.warn(o)}}(t);break;case"unfavorite":!async function(e){const{choosedKeys:t,fileList:i}=e,a=Ne(i.value,t.value)[0];oe(e,a.path)}(t);break;case"rename":!async function(e){const{choosedKeys:t,fileList:i,currentFile:a,filesView:n}=e,o=Ne(i.value,t.value)[0];a.value=o,"card"===n.value?(a.value.isRenameForCard=!0,a.value.editName=a.value.nm):(o.isCreate=!0,o.isRename=!0,o.editName=o.nm,k(J))}(t);break;case"attrs":qe(t,"Properties",(e=>e.value.open()));break;case"preview":!function(e){const{choosedKeys:t,fileList:i}=e,a=Ne(i.value,t.value)[0];V(e,a.path)}(t);break;case"playVideo":!function(e){const{choosedKeys:t,fileList:i}=e,a=Ne(i.value,t.value)[0];A(e,a)}(t)}i.value=!1},y:Ne,z:Me});const{t:T}=o.global;async function D(e){const{shareList:t,shareListPage:i,shareListTotal:o}=e;try{const e=await a.post("/files?action=get_download_url_list",{p:i.value,row:12});return t.value=e.message.data,o.value=n(e.message.page),t.value}catch(l){return console.warn(l),[]}}async function z(e,t){try{await a.post("/files?action=remove_download_url",{id:t},{requestOptions:{loading:T("file.shareListModal.deletingShare"),successMessage:!0}}),E(e)}catch(i){console.warn(i)}}const K=e("W",((e,i)=>{l({width:"80vw",height:"80vh",bgColor:"transparent",hideClose:!0,showMask:!1,data:{filePath:e,currentPath:i},component:y((()=>s((()=>t.import("./index-legacy-Bh4ZQbZV.js?v=1774508183068")),void 0)))})})),I=r((e=>Q(e)),100),{t:$}=o.global;async function E(e,t){const{tableLoading:i,currentPath:o,favoriteList:l,fileRecycle:s,fileList:c,filesView:r,dirNums:u,fileNums:p,total:f,page:d,size:m,sort:v,reverse:g,diskMountPoint:b,currentFile:h,currentDirSize:x,uploadFileList:y,dragUploadRef:w}=e;i.value=!0;try{const i=await async function(e,t,i){try{const{message:n}=await a.post("/files?action=GetDirNew",{path:e,is_operating:!0,...i});t&&t(n);let o=Oe({type:"dir",list:n.dir,path:n.path}),l=Oe({type:"file",list:n.files,path:n.path});return o=o.map(((e,t)=>({...e,protected:n.tamper_data.dirs&&n.tamper_data.dirs[t]?Number(n.tamper_data.dirs[t].split(";")[0]):0,protected_rule:n.tamper_data.dirs&&n.tamper_data.dirs[t]?Number(n.tamper_data.dirs[t].split(";")[1]):0}))),l=l.map(((e,t)=>({...e,protected:n.tamper_data.files&&n.tamper_data.files[t]?Number(n.tamper_data.files[t].split(";")[0]):0,protected_rule:n.tamper_data.files&&n.tamper_data.files[t]?Number(n.tamper_data.files[t].split(";")[1]):0}))),[...o,...l]}catch(n){return console.warn(n),[]}}(o.value,(e=>{l.value=e.store,s.value=e.file_recycle,u.value=e.dir.length,p.value=e.files.length,f.value=n(e.page),b.value=e.disk,o.value=e.path}),{p:d.value,showRow:m.value,...v.value?{sort:v.value,reverse:g.value}:{},disk:!0,...t});h.value=null,x.value=-1;const _=await U(e);let C=[];_.length&&(C=_.map((e=>e.key)));const O=await D(e);let F=[];O.length&&(F=O.map((e=>e.filename))),c.value=i.map((e=>(e.remarks_hover=!1,e.isEditRemarks=!1,e.isCreate=!1,e.card_hover=!1,e.card_choosed=!1,e.isRenameForCard=!1,e.operation_show=!1,C.includes(e.path)?e.isFavorite=!0:e.isFavorite=!1,F.includes(e.path)&&(e.isShare=!0),e))),y.value=[],w.value?.listenDragEvent(),k((()=>{"list"==r.value&&(G(e),function(e){const{tableRef:t,choosePathRef:i}=e;let a=0;const n=setInterval((()=>{if(a<10?a++:clearInterval(n),t.value){const a=t.value;a.querySelector(".n-data-table-base-table-body")&&G(e),a.oncontextmenu=t=>{t.preventDefault(),B(t,e)},a.onclick=t=>{"INPUT"!=t.target.nodeName&&(I(e),i.value.handleEnterDown())},clearInterval(n)}}),1e3)}(e))})),function(e){const{choosedKeys:t}=e;t.value=[]}(e)}catch(_){console.warn(_)}finally{i.value=!1}}function G(e){const{tableRef:t}=e;t.value&&N(t.value.querySelector(".n-data-table-base-table-body"),(t=>function(e,t){const{trRectArr:i,choosedKeys:a}=e,n=[];for(let o=0;ofunction(e,t,i){const{choosedKeys:a}=i;if(!e.target.closest(".n-checkbox-box"))if(e.target.classList.contains("file-checkbox")){const t=e.target.closest("tr").dataset.key;a.value.includes(t)?a.value=a.value.filter((e=>e!==t)):a.value.push(t)}else{if(function(e){const{normalTrList:t,trRectArr:i}=e;t.value=document.querySelectorAll('[class*="normal-tr"]');const a=[];for(let n=0;n({type:e.type,icon:e.type,label:e.name,key:e.path})));return t(),i.value=[...e,...i.value],i.value}catch(n){return console.warn(n),[]}}function B(e,t){const{choosedKeys:i,contextRef:a}=t;let n="empty";e.target.closest("tr")&&(n=i.value.length>1?"multiple":1==i.value.length?"single":"empty"),a.value.filesOperation(e,n)}function J(){const e=document.querySelector("#createInput")?.querySelector("input");e?.focus(),e?.select()}async function X(e,t){const{message:i}=await a.post("/tamper_core/create_path.json",{path:e,exts:JSON.stringify(t)},{requestOptions:{loading:$("file.tableController.creatingDirectoryProtection"),isOriginalResult:!0}});if(f(i)){if(!i.status)return u.error(i.msg),Promise.reject();u.success(i.msg)}}async function Y(e,t){const{message:i}=await a.post("/tamper_core/batch_setting.json",{pid:e,settings:JSON.stringify(t)},{requestOptions:{loading:$("file.tableController.executing"),isOriginalResult:!0}});if(f(i)){if(!i.status)return u.error(i.msg),Promise.reject();u.success(i.msg)}}function V(e,t){const{currentPreviewImg:i,previewShow:a}=e;i.value=t,a.value=!0}function A(e,t){const{currentPreviewVideo:i,previewVideoShow:a}=e;i.value={path:t.path,name:t.nm},a.value=!0}async function H(e){const{currentFile:t,currentPath:i}=e;if(t.value&&(t.value.isCreate&&t.value.isRename||t.value.isRenameForCard)&&(t.value.editName||(t.value.isCreate=!1),t.value.editName==t.value.nm&&(t.value.isCreate=!1),t.value.isCreate&&t.value.isRename||t.value.isRenameForCard)){if(t.value.editName!==t.value.nm){try{await(a=t.value.path,n=i.value+"/"+t.value.editName,ge(a,n,{rename:!0})),E(e)}catch(o){console.log(o)}finally{t.value.isCreate=!1,t.value.isRenameForCard=!1,t.value.isRename=!1}return!0}t.value.isCreate=!1,t.value.isRenameForCard=!1,t.value.isRename=!1}var a,n}async function Z(e){const{currentFile:t,currentPath:i,fileList:n}=e;if(t.value&&t.value.isCreate&&!t.value.isRename)if(""==t.value.editName)n.value.shift();else try{return"dir"==t.value.type?await ie(i.value+"/"+t.value.editName):await async function(e){try{await a.post("/files?action=CreateFile",{path:e},{requestOptions:{loading:te("file.buttonGroup.loading.creatingFile"),successMessage:!0}})}catch(t){console.warn(t)}}(i.value+"/"+t.value.editName),await E(e),!0}catch(o){n.value.shift(),console.warn(o)}}async function W(e){const{currentFile:t}=e;if(t.value&&t.value.isEditRemarks)return t.value.editRemarks!=t.value.rmk?(await async function(e){await a.post("/files?action=set_file_ps",e,{requestOptions:{successMessage:!0}})}({filename:t.value.path,ps_type:0,ps_body:t.value.editRemarks}),await E(e),!0):(t.value.isEditRemarks=!1,t.value.remarks_hover=!1,!1)}async function Q(e){await W(e)||await H(e)||await Z(e)}async function ee(){return a.post("/task?action=get_task_lists",{status:-3})}e("J",r(((e,t)=>{const{choosedKeys:i}=e;"dir"==t.type&&(i.value=[t.nm],xe(e))}),200));const{t:te}=o.global;async function ie(e){try{await a.post("/files?action=CreateDir",{path:e},{requestOptions:{loading:te("file.buttonGroup.loading.creatingDirectory"),successMessage:!0}})}catch(t){console.warn(t)}}const ae=e("o",(e=>{qe(e,"FavoriteList",(e=>{e.value.open()}))}));function ne(e,t,i,a){const{fileList:n,currentFile:o}=e,l={nm:t,isCreate:!0,type:i,ext:a,path:"",editName:t};o.value=l,o.value.editName=o.value.nm,n.value.unshift(o.value),k(J)}async function oe(e,t){try{await a.post("/files?action=del_files_store",{path:t},{requestOptions:{loading:te("file.buttonGroup.loading.deletingFavorite"),successMessage:!0}}),E(e)}catch(i){console.warn(i)}}const{t:le}=o.global,se=e("r",((e,t)=>{const{fileRecycle:i}=e;return i.value?ce(e,t):re(e,t)})),ce=(e,t)=>new Promise((i=>{const{currentPath:a,choosedKeys:n,fileList:o}=e,l=t||o.value.filter((e=>n.value.includes(e.nm)));d({title:1===l.length?le("file.deleteController.deleteSingleFileTitle",{name:l[0].nm}):le("file.deleteController.batchDeleteTitle"),content:le("file.deleteController.recycleBinMessage"),width:400,onConfirm:async()=>{if(1===l.length)await ue(l[0].path,l[0].type);else{let e=a.value;if(t&&l.length>0){const t=l[0].path.lastIndexOf("/");-1!==t&&(e=l[0].path.substring(0,t))}await pe(l.map((e=>e.nm)),e)}E(e),i()}})})),re=(e,t)=>new Promise((i=>{const{currentPath:a,choosedKeys:n,fileList:o}=e,l=t||o.value.filter((e=>n.value.includes(e.nm)));m({title:1===l.length?le("file.deleteController.deleteSingleFileTitle",{name:l[0].nm}):le("file.deleteController.batchDeleteTitle"),content:()=>w("span",{class:"text-error"},[le("file.deleteController.permanentDeleteMessage")]),width:400,onConfirm:async()=>{if(1===l.length)await ue(l[0].path,l[0].type);else{let e=a.value;if(t&&l.length>0){const t=l[0].path.lastIndexOf("/");-1!==t&&(e=l[0].path.substring(0,t))}await pe(l.map((e=>e.nm)),e)}E(e),i()}})}));async function ue(e,t){await a.post("/files?action="+("dir"===t?"DeleteDir":"DeleteFile"),{path:e},{requestOptions:{loading:le("file.deleteController.deletingSingle"),successMessage:!0}})}async function pe(e,t){await a.post("/files?action=SetBatchData",{data:JSON.stringify(e),type:4,path:t},{requestOptions:{loading:le("file.deleteController.deletingBatch"),successMessage:!0}})}const{t:fe}=o.global;async function de(e,t){return(await a.post("/files?action=CheckExistsFiles",{dfile:e,filename:t},{requestOptions:{isOriginalResult:!0}})).message.length>0}async function me(e,t){return await a.post("/files?action=CopyFile",{sfile:e,dfile:t},{requestOptions:{loading:fe("file.contextMenu.loading.copying"),successMessage:!0}})}async function ve(e,t){return await a.post("/files?action=BatchPaste",{type:e,path:t},{requestOptions:{loading:fe("file.contextMenu.loading.pasting"),successMessage:!0}})}async function ge(e,t,i){return await a.post("/files?action=MvFile",{sfile:e,dfile:t,...i},{requestOptions:{loading:fe("file.contextMenu.loading.moving"),successMessage:!0}})}function be(e,t){return t.map((t=>e[t]))}function he(e){const{choosedKeys:t,currentPath:i,fileList:a}=e,n=a.value.find((e=>e.nm==t.value[0]));n&&K(n.path,i.value)}function xe(e){const{choosedKeys:t,currentPath:i,fileList:a}=e,n=a.value.find((e=>e.nm==t.value[0]));e.page.value=1,i.value=n.path,E(e)}async function ye(e,t,i){const{choosedKeys:n,fileList:o,fileCopyCache:l,waitForPaste:s,copiedFile:c,currentPath:r}=e;if(1==n.value.length)u.success(t),l.value=JSON.parse(JSON.stringify(n.value)),c.value=Ne(o.value,l.value)[0],s.value=!0;else try{const e=await async function(e,t,i){return await a.post("/files?action=SetBatchData",{data:JSON.stringify(e),type:t,path:i},{requestOptions:{loading:fe("file.contextMenu.loading.batchSetting"),successMessage:!0}})}(n.value,i,r.value);0==e.status&&(l.value=JSON.parse(JSON.stringify(n.value)),s.value=!0)}catch(p){console.warn(p)}}async function ke(e){const{fileOperationFlag:t,waitForPaste:i}=e;t.value=1,await ye(e,fe("file.contextMenu.messages.copySuccess"),1),i.value=!0}async function we(e){const{fileOperationFlag:t,waitForPaste:i}=e;t.value=2,await ye(e,fe("file.contextMenu.messages.cutSuccess"),2),i.value=!0}async function _e(e){const{fileCopyCache:t,currentPath:i,waitForPaste:a}=e;if(!a.value)return;let n=!1;1==t.value.length?n=await de(i.value,t.value[0]):t.value.length>1&&(n=await de(i.value)),n?1==t.value.length?qe(e,"PasteSingleConfirm",(e=>e.value.open())):t.value.length>1&&qe(e,"PasteConfirm",(e=>e.value.open())):async function(e){const{fileCopyCache:t,fileOperationFlag:i,currentPath:a,copiedFile:n,waitForPaste:o}=e;t.value.length>1?await ve(i.value,a.value):1==t.value.length&&(1==i.value?await me(n.value.path,a.value+"/"+n.value.nm):2==i.value&&await ge(n.value.path,a.value+"/"+n.value.nm)),E(e),o.value=!1}(e)}function Ce(e){qe(e,"Compression",(e=>e.value.open()))}function Oe(e){const{type:t,list:i,path:a}=e,n=[];for(const o of i)n.push(Fe({type:t,item:o,path:a}));return n}function Fe(e){const{type:t,item:i,path:a}=e,{nm:n,sz:o,is_link:l,lnk:s,mt:c,ctime:r,atime:u,gid:p,uid:f,group:d,user:m,acc:v,rmk:g,durl:b,cmp:h,fav:x,top:y,sn:k}=i;return{ext:Pe(i.nm,t),nm:n,sz:o,mt:c,acc:v,user:m,is_link:l?s:"",lnk:s,durl:b,cmp:h,fav:x,rmk:g,top:y,sn:k,path:Se(a,n),ctime:r,atime:u,gid:p,uid:f,group:d,type:t}}function Pe(e,t){if("dir"===t)return"folder";const i=["tar.gz"],a=e.toLowerCase();for(const o of i)if(a.endsWith(o))return o;const n=a.lastIndexOf(".");return-1!==n?a.substring(n+1):"file"}function Se(e,t){return function(e){return e.replace(/\/\//g,"/")}(`${e}/${t}`)}function Re(e){return["folder"].includes(e)?"file-dir":["txt","rtf","md","log","conf"].includes(e)?"file-txt":["json"].includes(e)?"file-json":["htm","html","xhtml"].includes(e)?"file-html":["css","less","scss"].includes(e)?"file-css":["js","ts"].includes(e)?"file-js":["php"].includes(e)?"file-php":["doc","docx","docm","dot","dotx","dotm"].includes(e)?"file-doc":["pdf","pdfa","pdfx","pdfu"].includes(e)?"file-pdf":["xlsx","xlsm","xltx","xltm"].includes(e)?"file-excel":["jpg","jpeg","png","gif","bmp","webp","tiff","tif","psd","ai","eps","cr2","cr3","nef","nrw","dng","svg","cdr","wmf","emf","apng","heic","ico","xbm","xpm","xcf","iff","pnm"].includes(e)?"file-img":["py","java","js","ts","c","cpp","cs","php","rb","go","swift","kt","html","css","jsx","vue","scss","less","tsx","json","xml","yaml","yml","ini","properties","env","sql","pl","sh","bat","ps1","m","swift","kt","gradle","makefile","cmake","jar","war","exe","md","gitignore","dockerfile","yml","ipynb","asm","lua","rs","hs"].includes(e)?"file-sh":["zip","rar","7z","tar","tar.gz","gz","tgz","tar.bz2","tar.xz","cab","iso","msi","rpm","deb","xz","zipx","lz4","zst","rar5","part1.rar","rar.part1","z01","z02"].includes(e)?"file-compression":"file-unknown-file"}function je(e){return["mp3","mp4","avi","mov","mkv","wmv","flv","3gp","3g2","vob","webm","ogv"].includes(e)}function Me(e){return"file-img"===Re(e.ext)}function Le(e){return"file-compression"===Re(e)}function Ne(e,t){return e.filter((e=>t.includes(e.nm)))}async function qe(e,t,i){const{dynamicCmptObj:a,dynamicCmpt:n,dynamicCmptRef:o}=e,l=a[t]();await l.__asyncLoader(),n.value=l,k((()=>{i&&i(o)}))}e("F",g(C({__name:"FileIcon",props:{ext:{type:String,default:""},size:{type:String,default:"medium"}},setup(e){const t=O((()=>Le(e.ext)?"compress":"Dir"===e.ext?"folder":e.ext));return(i,a)=>(F(),P("div",{class:S(["files-icon",[`table-${R(t)}-icon`,`${e.size}-icon`]])},null,2))}}),[["__scopeId","data-v-989c0bf5"]]))}}})); diff --git a/BTPanel/static/vite/js/FileIcon-legacy-CYrICTNK.js b/BTPanel/static/vite/js/FileIcon-legacy-CYrICTNK.js deleted file mode 100644 index a35ef14a..00000000 --- a/BTPanel/static/vite/js/FileIcon-legacy-CYrICTNK.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./soft-legacy-CzxZ2w7j.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,t){"use strict";var i,a,n,o,l,c,s,r,u,p,f,d,m,v,g,b,h,x,y,k,w,_,C,O,F,P,S,R,j,M;return{setters:[e=>{i=e.b_,a=e.as,n=e.ap,o=e.a3,l=e.p,c=e.P,s=e.n,r=e.b1,u=e.m,p=e.i,f=e.h,d=e.ar,m=e.aq,v=e.c},e=>{g=e.c},e=>{b=e.r,h=e.X,x=e.av,y=e.a3,k=e.n,w=e.a0,_=e.F,C=e.k,O=e.c,F=e.$,P=e.Z,S=e.L,R=e.S},e=>{j=e.c},e=>{M=e.al}],execute:function(){var L=document.createElement("style");function q(e,t,a){const n=b(!0),o=b(0),l=b(0),c=b(0),s=b(0),r=b(0),u=b(0),p=b(0),f=b(0);let d;h(e)?d=e.value:"string"==typeof e?d=document.querySelector(e):e instanceof Element&&(d=e);const m=function(){let e=null;return!!t&&(()=>{e||(e=setTimeout((()=>{t({m_flag:n,m_left:o,m_right:l,m_bottom:s,m_top:c,m_x:p,m_y:f,m_height:r,m_width:u}),clearTimeout(e),e=null}),10))})}();function v(e){const{left:t,right:i,top:a,bottom:n,height:d,width:m,x:v,y:g}=e.getBoundingClientRect();o.value=t,l.value=i,c.value=a,s.value=n,r.value=d,u.value=m,p.value=v,f.value=g}const g=e=>{if(a&&a(e,{m_flag:n,m_left:o,m_right:l,m_bottom:s,m_top:c,m_x:p,m_y:f,m_height:r,m_width:u}),!n.value)return;const{left:t,right:g,top:b,bottom:h}=d.getBoundingClientRect(),x=document.createElement("div"),y=e.clientX,k=e.clientY;x.style.position="absolute",x.style.left=y-t+"px",x.style.top=k-b+"px",x.style.width="0px",x.style.height="0px",x.style.backgroundColor="rgba(135, 182, 130, 0.1)",x.classList.add("district-wrapper"),d.appendChild(x),e.preventDefault();const{pause:w,resume:_,isActive:C}=i((()=>{S.scrollTop>=S.scrollHeight-S.clientHeight?w():(x.style.height=x.offsetHeight+10+"px",x.style.marginTop=parseInt(getComputedStyle(x).marginTop)-10+"px",S.scrollTop+=10,R=S.scrollTop,v(x),m&&m())}),{immediate:!1}),{pause:O,resume:F,isActive:P}=i((()=>{S.scrollTop<=0?O():(x.style.height=x.offsetHeight+10+"px",S.scrollTop-=10,j+=10,v(x),m&&m())}),{immediate:!1}),S=d.querySelector(".n-scrollbar-container");let R=0,j=0;document.onmousemove=e=>{e.preventDefault(),C.value||P.value||(y<=e.clientX?x.style.width=e.clientX-y+"px":(x.style.width=y-e.clientX+"px",x.style.marginLeft=-(y-e.clientX)+"px"),k<=e.clientY?(x.style.height=e.clientY-k+R+"px",x.style.marginTop=-R+"px"):(x.style.height=k-e.clientY+j+"px",x.style.marginTop=-(k-e.clientY)+"px"),e.clientXg&&(x.style.width=g-y+"px")),e.clientY>h&&_(),e.clientY{document.onmousemove=null,d.contains(x)&&d.removeChild(x)}};return d&&(d.onmousedown=g),{m_flag:n,m_x:p,m_y:f,m_left:o,m_right:l,m_top:c,m_bottom:s,m_height:r,m_width:u}}function N(e,t){const i=x(e.m_left),a=x(e.m_right),n=x(e.m_top),o=x(e.m_bottom),l=x(t.left),c=x(t.right),s=x(t.top),r=x(t.bottom);return!(ca||ro)}L.textContent=".files-icon[data-v-989c0bf5]{display:inline-block;width:25px;height:25px;background-image:url(/static/vite/images/file_icon-D_ZUYh8x.png);background-repeat:no-repeat;background-size:25px;background-position:0px -375px}.files-icon.medium-icon.table-swf-icon[data-v-989c0bf5]{background-position:0px 0px}.files-icon.medium-icon.table-webm-icon[data-v-989c0bf5]{background-position:0px -25px}.files-icon.medium-icon.table-webp-icon[data-v-989c0bf5]{background-position:0px -50px}.files-icon.medium-icon.table-wma-icon[data-v-989c0bf5]{background-position:0px -75px}.files-icon.medium-icon.table-wmv-icon[data-v-989c0bf5]{background-position:0px -100px}.files-icon.medium-icon.table-xls-icon[data-v-989c0bf5]{background-position:0px -125px}.files-icon.medium-icon.table-xml-icon[data-v-989c0bf5]{background-position:0px -150px}.files-icon.medium-icon.table-access-icon[data-v-989c0bf5]{background-position:0px -175px}.files-icon.medium-icon.table-apk-icon[data-v-989c0bf5]{background-position:0px -200px}.files-icon.medium-icon.table-avi-icon[data-v-989c0bf5],.files-icon.medium-icon.table-bmp-icon[data-v-989c0bf5]{background-position:0px -250px}.files-icon.medium-icon.table-cdr-icon[data-v-989c0bf5]{background-position:0px -275px}.files-icon.medium-icon.table-compress-icon[data-v-989c0bf5]{background-position:0px -300px}.files-icon.medium-icon.table-css-icon[data-v-989c0bf5]{background-position:0px -325px}.files-icon.medium-icon.table-doc-icon[data-v-989c0bf5]{background-position:0px -350px}.files-icon.medium-icon.table-file-icon[data-v-989c0bf5]{background-position:0px -375px}.files-icon.medium-icon.table-folder-icon[data-v-989c0bf5]{background-position:0px -400px}.files-icon.medium-icon.table-gif-icon[data-v-989c0bf5]{background-position:0px -425px}.files-icon.medium-icon.table-html-icon[data-v-989c0bf5]{background-position:0px -450px}.files-icon.medium-icon.table-ico-icon[data-v-989c0bf5]{background-position:0px -475px}.files-icon.medium-icon.table-java-icon[data-v-989c0bf5]{background-position:0px -500px}.files-icon.medium-icon.table-js-icon[data-v-989c0bf5]{background-position:0px -525px}.files-icon.medium-icon.table-bt_split_json-icon[data-v-989c0bf5]{background-position:0px -550px}.files-icon.medium-icon.table-jpeg-icon[data-v-989c0bf5]{background-position:0px -575px}.files-icon.medium-icon.table-jpg-icon[data-v-989c0bf5]{background-position:0px -600px}.files-icon.medium-icon.table-json-icon[data-v-989c0bf5]{background-position:0px -625px}.files-icon.medium-icon.table-log-icon[data-v-989c0bf5]{background-position:0px -650px}.files-icon.medium-icon.table-lua-icon[data-v-989c0bf5]{background-position:0px -675px}.files-icon.medium-icon.table-mkv-icon[data-v-989c0bf5]{background-position:0px -700px}.files-icon.medium-icon.table-mov-icon[data-v-989c0bf5]{background-position:0px -725px}.files-icon.medium-icon.table-mp4-icon[data-v-989c0bf5]{background-position:0px -750px}.files-icon.medium-icon.table-mpg-icon[data-v-989c0bf5]{background-position:0px -775px}.files-icon.medium-icon.table-mpeg-icon[data-v-989c0bf5]{background-position:0px -800px}.files-icon.medium-icon.table-pdf-icon[data-v-989c0bf5]{background-position:0px -825px}.files-icon.medium-icon.table-php-icon[data-v-989c0bf5]{background-position:0px -850px}.files-icon.medium-icon.table-png-icon[data-v-989c0bf5]{background-position:0px -875px}.files-icon.medium-icon.table-ppt-icon[data-v-989c0bf5]{background-position:0px -900px}.files-icon.medium-icon.table-py-icon[data-v-989c0bf5]{background-position:0px -925px}.files-icon.medium-icon.table-rm-icon[data-v-989c0bf5]{background-position:0px -950px}.files-icon.medium-icon.table-rmvb-icon[data-v-989c0bf5]{background-position:0px -975px}.files-icon.medium-icon.table-sh-icon[data-v-989c0bf5]{background-position:0px -1000px}.files-icon.medium-icon.table-bt_split-icon[data-v-989c0bf5]{background-position:0px -1025px}.files-icon.medium-icon.table-sql-icon[data-v-989c0bf5]{background-position:0px -1050px}.files-icon.large-icon[data-v-989c0bf5]{width:50px;height:50px;background-size:50px;background-position:0px -750px}.files-icon.large-icon.table-swf-icon[data-v-989c0bf5]{background-position:0px 0px}.files-icon.large-icon.table-webm-icon[data-v-989c0bf5]{background-position:0px -50px}.files-icon.large-icon.table-webp-icon[data-v-989c0bf5]{background-position:0px -100px}.files-icon.large-icon.table-wma-icon[data-v-989c0bf5]{background-position:0px -150px}.files-icon.large-icon.table-wmv-icon[data-v-989c0bf5]{background-position:0px -200px}.files-icon.large-icon.table-xls-icon[data-v-989c0bf5]{background-position:0px -250px}.files-icon.large-icon.table-xml-icon[data-v-989c0bf5]{background-position:0px -300px}.files-icon.large-icon.table-access-icon[data-v-989c0bf5]{background-position:0px -350px}.files-icon.large-icon.table-apk-icon[data-v-989c0bf5]{background-position:0px -400px}.files-icon.large-icon.table-avi-icon[data-v-989c0bf5]{background-position:0px -450px}.files-icon.large-icon.table-bmp-icon[data-v-989c0bf5]{background-position:0px -500px}.files-icon.large-icon.table-cdr-icon[data-v-989c0bf5]{background-position:0px -550px}.files-icon.large-icon.table-compress-icon[data-v-989c0bf5]{background-position:0px -600px}.files-icon.large-icon.table-css-icon[data-v-989c0bf5]{background-position:0px -650px}.files-icon.large-icon.table-doc-icon[data-v-989c0bf5]{background-position:0px -700px}.files-icon.large-icon.table-file-icon[data-v-989c0bf5]{background-position:0px -750px}.files-icon.large-icon.table-folder-icon[data-v-989c0bf5]{background-position:0px -800px}.files-icon.large-icon.table-gif-icon[data-v-989c0bf5]{background-position:0px -850px}.files-icon.large-icon.table-html-icon[data-v-989c0bf5]{background-position:0px -900px}.files-icon.large-icon.table-ico-icon[data-v-989c0bf5]{background-position:0px -950px}.files-icon.large-icon.table-java-icon[data-v-989c0bf5]{background-position:0px -1000px}.files-icon.large-icon.table-js-icon[data-v-989c0bf5]{background-position:0px -1050px}.files-icon.large-icon.table-bt_split_json-icon[data-v-989c0bf5]{background-position:0px -1100px}.files-icon.large-icon.table-jpeg-icon[data-v-989c0bf5]{background-position:0px -1150px}.files-icon.large-icon.table-jpg-icon[data-v-989c0bf5]{background-position:0px -1200px}.files-icon.large-icon.table-json-icon[data-v-989c0bf5]{background-position:0px -1250px}.files-icon.large-icon.table-log-icon[data-v-989c0bf5]{background-position:0px -1300px}.files-icon.large-icon.table-lua-icon[data-v-989c0bf5]{background-position:0px -1350px}.files-icon.large-icon.table-mkv-icon[data-v-989c0bf5]{background-position:0px -1400px}.files-icon.large-icon.table-mov-icon[data-v-989c0bf5]{background-position:0px -1450px}.files-icon.large-icon.table-mp4-icon[data-v-989c0bf5]{background-position:0px -1500px}.files-icon.large-icon.table-mpg-icon[data-v-989c0bf5]{background-position:0px -1550px}.files-icon.large-icon.table-mpeg-icon[data-v-989c0bf5]{background-position:0px -1600px}.files-icon.large-icon.table-pdf-icon[data-v-989c0bf5]{background-position:0px -1650px}.files-icon.large-icon.table-php-icon[data-v-989c0bf5]{background-position:0px -1700px}.files-icon.large-icon.table-png-icon[data-v-989c0bf5]{background-position:0px -1750px}.files-icon.large-icon.table-ppt-icon[data-v-989c0bf5]{background-position:0px -1800px}.files-icon.large-icon.table-py-icon[data-v-989c0bf5]{background-position:0px -1850px}.files-icon.large-icon.table-rm-icon[data-v-989c0bf5]{background-position:0px -1900px}.files-icon.large-icon.table-rmvb-icon[data-v-989c0bf5]{background-position:0px -1950px}.files-icon.large-icon.table-sh-icon[data-v-989c0bf5]{background-position:0px -2000px}.files-icon.large-icon.table-bt_split-icon[data-v-989c0bf5]{background-position:0px -2050px}.files-icon.large-icon.table-sql-icon[data-v-989c0bf5]{background-position:0px -2100px}\n/*$vite$:1*/",document.head.appendChild(L),e({$:async function(e,t,i,n){try{await a.post("/files?action=Zip",{sfile:e,dfile:t,z_type:i,path:n},{requestOptions:{loading:fe("file.contextMenu.loading.compressing"),successMessage:!0}})}catch(o){console.warn(o)}},A:qe,B:V,C:function(e){return!!["file-txt","file-json","file-html","file-css","file-js","file-php","file-doc","file-sh"].includes(Re(e.ext))},D:Le,E:async function(e){try{return(await a.post("/files?action=GetDirSize",{path:e},{requestOptions:{isOriginalResult:!0}})).message}catch(t){return console.warn(t),"计算失败"}},G:G,H:function(e,t){const{currentPath:i}=e;"dir"==t.type?(i.value="/"==i.value?`/${t.nm}`:i.value+"/"+t.nm,E(e)):Me(t)?V(e,t.path):Le(t.ext)?Ne(e,"Decompress",(e=>e.value.open())):je(t.ext)?A(e,t):he(e)},I:B,J:Q,L:async function(e,t){const{close:i}=u.loading("Processing, please wait...");try{await g("tamper_core",71);const{message:i}=await a.post("/tamper_core/get_effective_path.json",{path:t.path},{requestOptions:{isOriginalResult:!0}});if(p(i)&&i.status){const{data:a}=i;"dir"===t.type?function(e,t,i){const{pid:a,lock:n,action:o}=i,l=(n?"Turning off protection ":"Turning on protection ")+`[${t.path}]`,c=$(n?"file.tableController.afterTurningOffProtectionDir":"file.tableController.afterTurningOnProtectionDir");f({width:480,title:l,content:c,onConfirm:async()=>{if("create"===o[0]&&0===a)return await X(t.path,[]),void E(e);const i=[];n?i.push({key:-1!=t.path.indexOf("/www/server/panel/class")?"add_wd":o[0],values:[t.path]}):i.push({key:o[0],values:[t.path]}),await Y(a,i),E(e)}})}(e,t,a):function(e,t,i){const{pid:a,lock:n,action:o}=i,l=$(n?"file.tableController.turningOffProtection":"file.tableController.turningOnProtection",{path:t.path}),c=$(n?"file.tableController.afterTurningOffProtectionFile":"file.tableController.afterTurningOnProtectionFile"),s=b(!1),r=b(!0);f({title:l,width:480,content:()=>w(_,null,[w("div",null,[c]),w("div",{class:"mt-8px"},[w(M,{checked:r.value,"onUpdate:checked":e=>r.value=e},{default:()=>[w("span",null,[$(n?"file.tableController.turningOffProtectionFile":"file.tableController.turningOnProtectionFile",{path:t.nm})])]})]),w("div",{class:"mt-8px"},[w(M,{checked:s.value,"onUpdate:checked":e=>s.value=e},{default:()=>[w("span",null,[$(n?"file.tableController.turningOffProtectionSuffix":"file.tableController.turningOnProtectionSuffix",{suffix:t.ext})])]})])]),onConfirm:async()=>{if("create"===o[0]&&0===a){const i=t.path.substring(0,t.path.lastIndexOf("/")),a=[];if(r.value){const e=t.path.split("/"),i=e.length>=2?e[e.length-2]:"";a.push(`${i}/${t.nm}`)}return s.value&&a.push("."+t.ext),await X(i,a),void E(e)}const i=[];n?(r.value&&(i.push({key:"remove_bf",values:[t.path]}),i.push({key:"add_wf",values:[t.path]})),s.value&&i.push({key:"remove_bf",values:["."+t.ext]})):(r.value&&(i.push({key:"add_bf",values:[t.path]}),i.push({key:"remove_wf",values:[t.path]})),s.value&&i.push({key:"add_bf",values:["."+t.ext]})),await Y(a,i),E(e)}})}(e,t,a)}}finally{i()}},M:q,N:xe,O:he,P:N,Q:async function(e){if(document.querySelector(".file-task-modal"))return;const{message:i}=await ee();s(i)&&i.length>0&&l({title:$("file.tableController.realtimeTaskQueue"),width:510,class:"file-task-modal",unstableShowMask:!1,data:{store:e,taskList:i},component:y((()=>c((()=>t.import("./FileTask-legacy-D_qOvpld.js?v=1773287522785")),void 0)))})},R:Oe,S:ve,T:de,U:me,V:async function(e,t,i,n,o,l){const c=[],s=Math.ceil(e.size/i);for(let a=0;a{e.value.open()}))},c:function(e){const{optionToolsRef:t,isMiniScreen:i}=e;t.value.offsetWidth<1560?i.value=!0:i.value=!1},d:Ne,e:function(e,t){switch(t){case"dir":ne(e,te("file.buttonGroup.defaultNames.untitledDirectory"),"dir","folder");break;case"file":ne(e,te("file.buttonGroup.defaultNames.untitledFile"),"file","unknown");break;case"softlink":Ne(e,"Softlink",(e=>{e.value.open()}))}},f:function(e){Ne(e,"SearchFileContent",(e=>{e.value.open()}))},g:function(e,t,i){"management"==t?ae(e):function(e,t,i){const{currentPath:a}=e,{type:n,name:o}=i,l=Pe(o,n);if(console.log(i),"dir"==n)a.value=t,E(e);else if(function(e){return"file-img"===Re(e)}(l))V(e,t);else if(Le(l))Ne(e,"Decompress",(e=>e.value.open(t,l)));else if(je(l))A(e,{path:t,nm:i.name});else{const e=t.substring(0,t.lastIndexOf("/"));K(t,e)}}(e,t,i)},h:function(e){Ne(e,"UploadFile",(e=>{e.value.open()}))},i:Me,j:function(e){Ne(e,"ShareList",(e=>{e.value.open()}))},k:function(e){Ne(e,"Terminal",(e=>{e.value.open()}))},l:function(e){const{currentPath:t}=e;t.value="/",E(e)},m:ke,n:we,p:Ce,q:_e,r:function(e){Ne(e,"Backup",(e=>{e.value.open()}))},s:function(e){Ne(e,"Recycle",(e=>{e.value.open()}))},u:ie,v:function(e,t){const{filesView:i}=e;i.value=t},w:E,x:be,y:function(e,t){const{fileList:i,choosedKeys:a}=e,n=qe(i.value,a.value)[0];let o=["share","favorite","permission","copy","copyPath","cut","rename","del","compression","attrs"];if(!n)return be(t.value,["refresh","upload","create","terminal"]);if("dir"==n.type?o.unshift("open","openNewWindow"):o.unshift("edit","download"),Me(n)&&(o.unshift("preview"),o=o.filter((e=>"edit"!==e))),je(n.ext)&&(o.unshift("playVideo"),o=o.filter((e=>"edit"!==e))),n.isFavorite){const e=o.findIndex((e=>"favorite"==e));o[e]="unfavorite"}if(n.isShare){const e=o.findIndex((e=>"share"==e));o[e]="unShare"}return Le(n.ext)&&(o.unshift("decompress"),o=o.filter((e=>"edit"!==e))),be(t.value,o)},z:function(e,t){const{menuShow:i}=t;switch(e){case"edit":he(t);break;case"copy":ke(t);break;case"copyPath":!async function(e){const{choosedKeys:t,fileList:i}=e,a=qe(i.value,t.value)[0];a&&j(a.path)}(t);break;case"cut":we(t);break;case"paste":_e(t);break;case"permission":Ne(t,"Permission",(e=>e.value.open()));break;case"compression":Ce(t);break;case"decompress":Ne(t,"Decompress",(e=>e.value.open()));break;case"conversion":console.log("conversion");break;case"del":ce(t);break;case"refresh":E(t);break;case"upload":Ne(t,"UploadFile",(e=>e.value.open()));break;case"createFile":ne(t,fe("file.contextMenu.defaultNames.untitledFile"),"file","file");break;case"createDir":ne(t,fe("file.contextMenu.defaultNames.untitledDirectory"),"dir","folder");break;case"download":!async function(e){const{currentPath:t,choosedKeys:i}=e;m(`${"/"===t.value?"":t.value}/${i.value[0]}`)}(t);break;case"terminal":Ne(t,"Terminal",(e=>e.value.open()));break;case"open":xe(t);break;case"share":Ne(t,"Share",(e=>e.value.open()));break;case"unShare":!function(e){const{choosedKeys:t,fileList:i,shareList:a}=e,n=qe(i.value,t.value)[0],o=a.value.find((e=>e.filename.includes(n.nm)));z(e,o?.id)}(t);break;case"favorite":!async function(e){const{choosedKeys:t,fileList:i}=e,n=i.value.find((e=>e.nm==t.value[0]));try{await a.post("/files?action=add_files_store",{path:n.path},{requestOptions:{loading:fe("file.contextMenu.loading.addingToFavorites"),successMessage:!0}}),U(e),E(e)}catch(o){console.warn(o)}}(t);break;case"unfavorite":!async function(e){const{choosedKeys:t,fileList:i}=e,a=qe(i.value,t.value)[0];oe(e,a.path)}(t);break;case"rename":!async function(e){const{choosedKeys:t,fileList:i,currentFile:a,filesView:n}=e,o=qe(i.value,t.value)[0];a.value=o,"card"===n.value?(a.value.isRenameForCard=!0,a.value.editName=a.value.nm):(o.isCreate=!0,o.isRename=!0,o.editName=o.nm,k(J))}(t);break;case"attrs":Ne(t,"Properties",(e=>e.value.open()));break;case"preview":!function(e){const{choosedKeys:t,fileList:i}=e,a=qe(i.value,t.value)[0];V(e,a.path)}(t);break;case"playVideo":!function(e){const{choosedKeys:t,fileList:i}=e,a=qe(i.value,t.value)[0];A(e,a)}(t)}i.value=!1}});const{t:T}=o.global;async function D(e){const{shareList:t,shareListPage:i,shareListTotal:o}=e;try{const e=await a.post("/files?action=get_download_url_list",{p:i.value,row:12});return t.value=e.message.data,o.value=n(e.message.page),t.value}catch(l){return console.warn(l),[]}}async function z(e,t){try{await a.post("/files?action=remove_download_url",{id:t},{requestOptions:{loading:T("file.shareListModal.deletingShare"),successMessage:!0}}),E(e)}catch(i){console.warn(i)}}const K=e("W",((e,i)=>{l({width:"80vw",height:"80vh",bgColor:"transparent",hideClose:!0,showMask:!1,data:{filePath:e,currentPath:i},component:y((()=>c((()=>t.import("./index-legacy-DRTMm8D6.js?v=1773287522785")),void 0)))})})),I=r((e=>Q(e)),100),{t:$}=o.global;async function E(e,t){const{tableLoading:i,currentPath:o,favoriteList:l,fileRecycle:c,fileList:s,filesView:r,dirNums:u,fileNums:p,total:f,page:d,size:m,sort:v,reverse:g,diskMountPoint:b,currentFile:h,currentDirSize:x,uploadFileList:y,dragUploadRef:w}=e;i.value=!0;try{const i=await async function(e,t,i){try{const{message:n}=await a.post("/files?action=GetDirNew",{path:e,is_operating:!0,...i});t&&t(n);let o=Oe({type:"dir",list:n.dir,path:n.path}),l=Oe({type:"file",list:n.files,path:n.path});return o=o.map(((e,t)=>({...e,protected:n.tamper_data.dirs&&n.tamper_data.dirs[t]?Number(n.tamper_data.dirs[t].split(";")[0]):0,protected_rule:n.tamper_data.dirs&&n.tamper_data.dirs[t]?Number(n.tamper_data.dirs[t].split(";")[1]):0}))),l=l.map(((e,t)=>({...e,protected:n.tamper_data.files&&n.tamper_data.files[t]?Number(n.tamper_data.files[t].split(";")[0]):0,protected_rule:n.tamper_data.files&&n.tamper_data.files[t]?Number(n.tamper_data.files[t].split(";")[1]):0}))),[...o,...l]}catch(n){return console.warn(n),[]}}(o.value,(e=>{l.value=e.store,c.value=e.file_recycle,u.value=e.dir.length,p.value=e.files.length,f.value=n(e.page),b.value=e.disk,o.value=e.path}),{p:d.value,showRow:m.value,...v.value?{sort:v.value,reverse:g.value}:{},disk:!0,...t});h.value=null,x.value=-1;const _=await U(e);let C=[];_.length&&(C=_.map((e=>e.key)));const O=await D(e);let F=[];O.length&&(F=O.map((e=>e.filename))),s.value=i.map((e=>(e.remarks_hover=!1,e.isEditRemarks=!1,e.isCreate=!1,e.card_hover=!1,e.card_choosed=!1,e.isRenameForCard=!1,e.operation_show=!1,C.includes(e.path)?e.isFavorite=!0:e.isFavorite=!1,F.includes(e.path)&&(e.isShare=!0),e))),y.value=[],w.value?.listenDragEvent(),k((()=>{"list"==r.value&&(G(e),function(e){const{tableRef:t,choosePathRef:i}=e;let a=0;const n=setInterval((()=>{if(a<10?a++:clearInterval(n),t.value){const a=t.value;a.querySelector(".n-data-table-base-table-body")&&G(e),a.oncontextmenu=t=>{t.preventDefault(),B(t,e)},a.onclick=t=>{"INPUT"!=t.target.nodeName&&(I(e),i.value.handleEnterDown())},clearInterval(n)}}),1e3)}(e))})),function(e){const{choosedKeys:t}=e;t.value=[]}(e)}catch(_){console.warn(_)}finally{i.value=!1}}function G(e){const{tableRef:t}=e;t.value&&q(t.value.querySelector(".n-data-table-base-table-body"),(t=>function(e,t){const{trRectArr:i,choosedKeys:a}=e,n=[];for(let o=0;ofunction(e,t,i){const{choosedKeys:a}=i;if(!e.target.closest(".n-checkbox-box"))if(e.target.classList.contains("file-checkbox")){const t=e.target.closest("tr").dataset.key;a.value.includes(t)?a.value=a.value.filter((e=>e!==t)):a.value.push(t)}else{if(function(e){const{normalTrList:t,trRectArr:i}=e;t.value=document.querySelectorAll('[class*="normal-tr"]');const a=[];for(let n=0;n({type:e.type,icon:e.type,label:e.name,key:e.path})));return t(),i.value=[...e,...i.value],i.value}catch(n){return console.warn(n),[]}}function B(e,t){const{choosedKeys:i,contextRef:a}=t;let n="empty";e.target.closest("tr")&&(n=i.value.length>1?"multiple":1==i.value.length?"single":"empty"),a.value.filesOperation(e,n)}function J(){const e=document.querySelector("#createInput")?.querySelector("input");e?.focus(),e?.select()}async function X(e,t){const{message:i}=await a.post("/tamper_core/create_path.json",{path:e,exts:JSON.stringify(t)},{requestOptions:{loading:$("file.tableController.creatingDirectoryProtection"),isOriginalResult:!0}});if(p(i)){if(!i.status)return u.error(i.msg),Promise.reject();u.success(i.msg)}}async function Y(e,t){const{message:i}=await a.post("/tamper_core/batch_setting.json",{pid:e,settings:JSON.stringify(t)},{requestOptions:{loading:$("file.tableController.executing"),isOriginalResult:!0}});if(p(i)){if(!i.status)return u.error(i.msg),Promise.reject();u.success(i.msg)}}function V(e,t){const{currentPreviewImg:i,previewShow:a}=e;i.value=t,a.value=!0}function A(e,t){const{currentPreviewVideo:i,previewVideoShow:a}=e;i.value={path:t.path,name:t.nm},a.value=!0}async function H(e){const{currentFile:t,currentPath:i}=e;if(t.value&&(t.value.isCreate&&t.value.isRename||t.value.isRenameForCard)&&(t.value.editName||(t.value.isCreate=!1),t.value.editName==t.value.nm&&(t.value.isCreate=!1),t.value.isCreate&&t.value.isRename||t.value.isRenameForCard)){if(t.value.editName!==t.value.nm){try{await(a=t.value.path,n=i.value+"/"+t.value.editName,ge(a,n,{rename:!0})),E(e)}catch(o){console.log(o)}finally{t.value.isCreate=!1,t.value.isRenameForCard=!1,t.value.isRename=!1}return!0}t.value.isCreate=!1,t.value.isRenameForCard=!1,t.value.isRename=!1}var a,n}async function Z(e){const{currentFile:t,currentPath:i,fileList:n}=e;if(t.value&&t.value.isCreate&&!t.value.isRename)if(""==t.value.editName)n.value.shift();else try{return"dir"==t.value.type?await ie(i.value+"/"+t.value.editName):await async function(e){try{await a.post("/files?action=CreateFile",{path:e},{requestOptions:{loading:te("file.buttonGroup.loading.creatingFile"),successMessage:!0}})}catch(t){console.warn(t)}}(i.value+"/"+t.value.editName),await E(e),!0}catch(o){n.value.shift(),console.warn(o)}}async function W(e){const{currentFile:t}=e;if(t.value&&t.value.isEditRemarks)return t.value.editRemarks!=t.value.rmk?(await async function(e){await a.post("/files?action=set_file_ps",e,{requestOptions:{successMessage:!0}})}({filename:t.value.path,ps_type:0,ps_body:t.value.editRemarks}),await E(e),!0):(t.value.isEditRemarks=!1,t.value.remarks_hover=!1,!1)}async function Q(e){await W(e)||await H(e)||await Z(e)}async function ee(){return a.post("/task?action=get_task_lists",{status:-3})}e("K",r(((e,t)=>{const{choosedKeys:i}=e;"dir"==t.type&&(i.value=[t.nm],xe(e))}),200));const{t:te}=o.global;async function ie(e){try{await a.post("/files?action=CreateDir",{path:e},{requestOptions:{loading:te("file.buttonGroup.loading.creatingDirectory"),successMessage:!0}})}catch(t){console.warn(t)}}const ae=e("o",(e=>{Ne(e,"FavoriteList",(e=>{e.value.open()}))}));function ne(e,t,i,a){const{fileList:n,currentFile:o}=e,l={nm:t,isCreate:!0,type:i,ext:a,path:"",editName:t};o.value=l,o.value.editName=o.value.nm,n.value.unshift(o.value),k(J)}async function oe(e,t){try{await a.post("/files?action=del_files_store",{path:t},{requestOptions:{loading:te("file.buttonGroup.loading.deletingFavorite"),successMessage:!0}}),E(e)}catch(i){console.warn(i)}}const{t:le}=o.global,ce=e("t",(e=>{const{fileRecycle:t}=e;t.value?se(e):re(e)})),se=e=>{const{currentPath:t,choosedKeys:i,fileList:a}=e,n=a.value.filter((e=>i.value.includes(e.nm)));f({title:1===n.length?le("file.deleteController.deleteSingleFileTitle",{name:n[0].nm}):le("file.deleteController.batchDeleteTitle"),content:le("file.deleteController.recycleBinMessage"),width:400,onConfirm:async()=>{1===n.length?await ue(n[0].path,n[0].type):await pe(n.map((e=>e.nm)),t.value),E(e)}})},re=e=>{const{currentPath:t,choosedKeys:i,fileList:a}=e,n=a.value.filter((e=>i.value.includes(e.nm)));d({title:1===n.length?le("file.deleteController.deleteSingleFileTitle",{name:n[0].nm}):le("file.deleteController.batchDeleteTitle"),content:()=>w("span",{class:"text-error"},[le("file.deleteController.permanentDeleteMessage")]),width:400,onConfirm:async()=>{1===n.length?await ue(n[0].path,n[0].type):await pe(n.map((e=>e.nm)),t.value),E(e)}})};async function ue(e,t){await a.post("/files?action="+("dir"===t?"DeleteDir":"DeleteFile"),{path:e},{requestOptions:{loading:le("file.deleteController.deletingSingle"),successMessage:!0}})}async function pe(e,t){await a.post("/files?action=SetBatchData",{data:JSON.stringify(e),type:4,path:t},{requestOptions:{loading:le("file.deleteController.deletingBatch"),successMessage:!0}})}const{t:fe}=o.global;async function de(e,t){return(await a.post("/files?action=CheckExistsFiles",{dfile:e,filename:t},{requestOptions:{isOriginalResult:!0}})).message.length>0}async function me(e,t){return await a.post("/files?action=CopyFile",{sfile:e,dfile:t},{requestOptions:{loading:fe("file.contextMenu.loading.copying"),successMessage:!0}})}async function ve(e,t){return await a.post("/files?action=BatchPaste",{type:e,path:t},{requestOptions:{loading:fe("file.contextMenu.loading.pasting"),successMessage:!0}})}async function ge(e,t,i){return await a.post("/files?action=MvFile",{sfile:e,dfile:t,...i},{requestOptions:{loading:fe("file.contextMenu.loading.moving"),successMessage:!0}})}function be(e,t){return t.map((t=>e[t]))}function he(e){const{choosedKeys:t,currentPath:i,fileList:a}=e,n=a.value.find((e=>e.nm==t.value[0]));n&&K(n.path,i.value)}function xe(e){const{choosedKeys:t,currentPath:i,fileList:a}=e,n=a.value.find((e=>e.nm==t.value[0]));e.page.value=1,i.value=n.path,E(e)}async function ye(e,t,i){const{choosedKeys:n,fileList:o,fileCopyCache:l,waitForPaste:c,copiedFile:s,currentPath:r}=e;if(1==n.value.length)u.success(t),l.value=JSON.parse(JSON.stringify(n.value)),s.value=qe(o.value,l.value)[0],c.value=!0;else try{const e=await async function(e,t,i){return await a.post("/files?action=SetBatchData",{data:JSON.stringify(e),type:t,path:i},{requestOptions:{loading:fe("file.contextMenu.loading.batchSetting"),successMessage:!0}})}(n.value,i,r.value);0==e.status&&(l.value=JSON.parse(JSON.stringify(n.value)),c.value=!0)}catch(p){console.warn(p)}}async function ke(e){const{fileOperationFlag:t,waitForPaste:i}=e;t.value=1,await ye(e,fe("file.contextMenu.messages.copySuccess"),1),i.value=!0}async function we(e){const{fileOperationFlag:t,waitForPaste:i}=e;t.value=2,await ye(e,fe("file.contextMenu.messages.cutSuccess"),2),i.value=!0}async function _e(e){const{fileCopyCache:t,currentPath:i,waitForPaste:a}=e;if(!a.value)return;let n=!1;1==t.value.length?n=await de(i.value,t.value[0]):t.value.length>1&&(n=await de(i.value)),n?1==t.value.length?Ne(e,"PasteSingleConfirm",(e=>e.value.open())):t.value.length>1&&Ne(e,"PasteConfirm",(e=>e.value.open())):async function(e){const{fileCopyCache:t,fileOperationFlag:i,currentPath:a,copiedFile:n,waitForPaste:o}=e;t.value.length>1?await ve(i.value,a.value):1==t.value.length&&(1==i.value?await me(n.value.path,a.value+"/"+n.value.nm):2==i.value&&await ge(n.value.path,a.value+"/"+n.value.nm)),E(e),o.value=!1}(e)}function Ce(e){Ne(e,"Compression",(e=>e.value.open()))}function Oe(e){const{type:t,list:i,path:a}=e,n=[];for(const o of i)n.push(Fe({type:t,item:o,path:a}));return n}function Fe(e){const{type:t,item:i,path:a}=e,{nm:n,sz:o,is_link:l,lnk:c,mt:s,ctime:r,atime:u,gid:p,uid:f,group:d,user:m,acc:v,rmk:g,durl:b,cmp:h,fav:x,top:y,sn:k}=i;return{ext:Pe(i.nm,t),nm:n,sz:o,mt:s,acc:v,user:m,is_link:l?c:"",lnk:c,durl:b,cmp:h,fav:x,rmk:g,top:y,sn:k,path:Se(a,n),ctime:r,atime:u,gid:p,uid:f,group:d,type:t}}function Pe(e,t){if("dir"===t)return"folder";const i=["tar.gz"],a=e.toLowerCase();for(const o of i)if(a.endsWith(o))return o;const n=a.lastIndexOf(".");return-1!==n?a.substring(n+1):"file"}function Se(e,t){return function(e){return e.replace(/\/\//g,"/")}(`${e}/${t}`)}function Re(e){return["folder"].includes(e)?"file-dir":["txt","rtf","md","log","conf"].includes(e)?"file-txt":["json"].includes(e)?"file-json":["htm","html","xhtml"].includes(e)?"file-html":["css","less","scss"].includes(e)?"file-css":["js","ts"].includes(e)?"file-js":["php"].includes(e)?"file-php":["doc","docx","docm","dot","dotx","dotm"].includes(e)?"file-doc":["pdf","pdfa","pdfx","pdfu"].includes(e)?"file-pdf":["xlsx","xlsm","xltx","xltm"].includes(e)?"file-excel":["jpg","jpeg","png","gif","bmp","webp","tiff","tif","psd","ai","eps","cr2","cr3","nef","nrw","dng","svg","cdr","wmf","emf","apng","heic","ico","xbm","xpm","xcf","iff","pnm"].includes(e)?"file-img":["py","java","js","ts","c","cpp","cs","php","rb","go","swift","kt","html","css","jsx","vue","scss","less","tsx","json","xml","yaml","yml","ini","properties","env","sql","pl","sh","bat","ps1","m","swift","kt","gradle","makefile","cmake","jar","war","exe","md","gitignore","dockerfile","yml","ipynb","asm","lua","rs","hs"].includes(e)?"file-sh":["zip","rar","7z","tar","tar.gz","gz","tgz","tar.bz2","tar.xz","cab","iso","msi","rpm","deb","xz","zipx","lz4","zst","rar5","part1.rar","rar.part1","z01","z02"].includes(e)?"file-compression":"file-unknown-file"}function je(e){return["mp3","mp4","avi","mov","mkv","wmv","flv","3gp","3g2","vob","webm","ogv"].includes(e)}function Me(e){return"file-img"===Re(e.ext)}function Le(e){return"file-compression"===Re(e)}function qe(e,t){return e.filter((e=>t.includes(e.nm)))}async function Ne(e,t,i){const{dynamicCmptObj:a,dynamicCmpt:n,dynamicCmptRef:o}=e,l=a[t]();await l.__asyncLoader(),n.value=l,k((()=>{i&&i(o)}))}e("F",v(C({__name:"FileIcon",props:{ext:{type:String,default:""},size:{type:String,default:"medium"}},setup(e){const t=O((()=>Le(e.ext)?"compress":"Dir"===e.ext?"folder":e.ext));return(i,a)=>(F(),P("div",{class:S(["files-icon",[`table-${R(t)}-icon`,`${e.size}-icon`]])},null,2))}}),[["__scopeId","data-v-989c0bf5"]]))}}})); diff --git a/BTPanel/static/vite/js/FileTask-BHdDTz4Y.js b/BTPanel/static/vite/js/FileTask-BHdDTz4Y.js deleted file mode 100644 index bf3495b1..00000000 --- a/BTPanel/static/vite/js/FileTask-BHdDTz4Y.js +++ /dev/null @@ -1 +0,0 @@ -import{c as v,i as C,C as $,n as B,h as F}from"./index-BTglIPU2.js?v=1773287522785";import{u as R}from"./useLoop-BadgF3pN.js?v=1773287522785";import{a1 as j,w as P,a2 as N}from"./FileIcon-eIHDRaxH.js?v=1773287522785";import{k as y,al as S,w as V,$ as l,Z as i,n as H,R as I,r as A,c as D,_ as e,a0 as m,a9 as f,aa as a,S as s,j as M,a8 as O,F as q,P as E,ak as G}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{n as U,B as Z,ab as z}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./soft-Cjyfamvm.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";const J=["innerHTML"],K=y({__name:"FileTaskLogs",props:{value:{type:String,default:""}},setup(c){const _=c,p=S("logsRef"),d=()=>{H(()=>{const o=p.value;if(o){const{scrollHeight:t}=o;o.scrollTop=t}})};return V(()=>_.value,()=>{d()},{immediate:!0}),(o,t)=>(l(),i("div",{ref_key:"logsRef",ref:p,class:"task-logs",innerHTML:c.value||o.$t("file.task.noLogs")},null,8,J))}}),Q=v(K,[["__scopeId","data-v-ee8b8ada"]]),W={class:"p-16px"},X={class:"flex items-center justify-between h-36px px-10px rounded-tl-10px rounded-tr-10px bg-#f5f5f5"},Y={class:"max-w-360px"},ee={class:"text-desc text-14px"},se={key:0,class:"p-10px"},te={class:"flex items-center justify-between mt-4px"},ne={class:"flex"},oe={class:"mr-24px"},ae={key:2,class:"mt-10px"},le={class:"flex items-center justify-between h-36px px-10px rounded-tl-10px rounded-tr-10px bg-#f5f5f5"},ie={class:"text-desc text-14px"},ce={class:"flex-1 w-0"},re={class:"min-w-0"},pe={class:"text-weak text-14px"},de=["onClick"],ue=y({__name:"FileTask",props:{taskList:{type:Array,default:()=>[]},store:{type:Object,required:!0}},emits:["close"],setup(c,{emit:_}){const p=_,{t:d}=I(),o=A(c.taskList),t=D(()=>o.value[0]||{log:"",name:"",shell:""}),x=async()=>{const{message:n}=await j();B(n)&&n.length>0?o.value=n:(P(c.store),p("close"))},{loop:g,clearTimer:T}=R(x,2);g();const w=async()=>{T(),await x(),g()},k=n=>{F({title:d("file.task.deleteTask"),content:d("file.task.confirmDeleteTask",{name:n.name,shell:n.shell}),onConfirm:async()=>{await N(n.id),w()}})};return(n,u)=>{const h=U,b=Z,L=z;return l(),i("div",W,[e("div",X,[e("div",Y,[m(h,null,{default:f(()=>[e("span",ee,a(s(t).name+n.$t("Public.Punctuation.Colon")+s(t).shell),1)]),_:1})]),m(b,{type:"primary",text:"",onClick:u[0]||(u[0]=r=>k(s(t)))},{default:f(()=>[M(a(n.$t("Public.Btn.Cancel")),1)]),_:1})]),s(C)(s(t).log)?(l(),i("div",se,[m(L,{type:"line",height:3,"show-indicator":!1,percentage:s(t).log.pre||0},null,8,["percentage"]),e("div",te,[e("span",ne,[e("span",oe,a(s(t).log.used)+" / "+a(s($)(s(t).log.total)),1),e("span",null,a(n.$t("file.task.estimatedRemaining"))+": "+a(s(t).log.total),1)]),e("span",null,a(s(t).log.speed)+"/s",1)])])):(l(),O(Q,{key:1,value:s(t).log},null,8,["value"])),s(o).length>1?(l(),i("div",ae,[e("div",le,[e("span",ie,a(n.$t("file.task.waitingTasks")),1)]),(l(!0),i(q,null,E(s(o).slice(1),r=>(l(),i("div",{key:r.id,class:"flex items-center h-36px px-10px"},[e("div",ce,[e("div",re,[m(h,null,{default:f(()=>[e("span",pe,a(r.name+n.$t("Public.Punctuation.Colon")+r.shell),1)]),_:2},1024)])]),e("div",{class:"flex items-center ml-12px cursor-pointer",onClick:me=>k(r)},u[1]||(u[1]=[e("i",{class:"i-streamline:delete-1-solid text-10px text-error"},null,-1)]),8,de)]))),128))])):G("",!0)])}}}),Te=v(ue,[["__scopeId","data-v-93cb7b82"]]);export{Te as default}; diff --git a/BTPanel/static/vite/js/FileTask-CCmWcyYx.js b/BTPanel/static/vite/js/FileTask-CCmWcyYx.js new file mode 100644 index 00000000..c0f0e86e --- /dev/null +++ b/BTPanel/static/vite/js/FileTask-CCmWcyYx.js @@ -0,0 +1 @@ +import{c as v,i as C,D as $,n as B,h as F}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as R}from"./useLoop-CG4Cjj7d.js?v=1774508183068";import{a1 as j,t as P,a2 as N}from"./FileIcon-MbTGjXAj.js?v=1774508183068";import{k as y,al as S,w as V,$ as l,Z as i,n as D,R as H,r as I,c as A,_ as e,a0 as _,a9 as f,aa as o,S as s,j as M,a8 as O,F as q,P as E,ak as G}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{n as U,B as Z,ab as z}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";const J=["innerHTML"],K=y({__name:"FileTaskLogs",props:{value:{type:String,default:""}},setup(c){const m=c,p=S("logsRef"),d=()=>{D(()=>{const a=p.value;if(a){const{scrollHeight:t}=a;a.scrollTop=t}})};return V(()=>m.value,()=>{d()},{immediate:!0}),(a,t)=>(l(),i("div",{ref_key:"logsRef",ref:p,class:"task-logs",innerHTML:c.value||a.$t("file.task.noLogs")},null,8,J))}}),Q=v(K,[["__scopeId","data-v-ee8b8ada"]]),W={class:"p-16px"},X={class:"flex items-center justify-between h-36px px-10px rounded-tl-10px rounded-tr-10px bg-#f5f5f5"},Y={class:"max-w-360px"},ee={class:"text-desc text-14px"},se={key:0,class:"p-10px"},te={class:"flex items-center justify-between mt-4px"},ne={class:"flex"},ae={class:"mr-24px"},oe={key:2,class:"mt-10px"},le={class:"flex items-center justify-between h-36px px-10px rounded-tl-10px rounded-tr-10px bg-#f5f5f5"},ie={class:"text-desc text-14px"},ce={class:"flex-1 w-0"},re={class:"min-w-0"},pe={class:"text-weak text-14px"},de=["onClick"],ue=y({__name:"FileTask",props:{taskList:{type:Array,default:()=>[]},store:{type:Object,required:!0}},emits:["close"],setup(c,{emit:m}){const p=m,{t:d}=H(),a=I(c.taskList),t=A(()=>a.value[0]||{log:"",name:"",shell:""}),x=async()=>{const{message:n}=await j();B(n)&&n.length>0?a.value=n:(P(c.store),p("close"))},{loop:g,clearTimer:T}=R(x,2);g();const b=async()=>{T(),await x(),g()},k=n=>{F({title:d("file.task.deleteTask"),content:d("file.task.confirmDeleteTask",{name:n.name,shell:n.shell}),onConfirm:async()=>{await N(n.id),b()}})};return(n,u)=>{const h=U,w=Z,L=z;return l(),i("div",W,[e("div",X,[e("div",Y,[_(h,null,{default:f(()=>[e("span",ee,o(s(t).name+n.$t("Public.Punctuation.Colon")+s(t).shell),1)]),_:1})]),_(w,{type:"primary",text:"",onClick:u[0]||(u[0]=r=>k(s(t)))},{default:f(()=>[M(o(n.$t("Public.Btn.Cancel")),1)]),_:1})]),s(C)(s(t).log)?(l(),i("div",se,[_(L,{type:"line",height:3,"show-indicator":!1,percentage:s(t).log.pre||0},null,8,["percentage"]),e("div",te,[e("span",ne,[e("span",ae,o(s(t).log.used)+" / "+o(s($)(s(t).log.total)),1),e("span",null,o(n.$t("file.task.estimatedRemaining"))+": "+o(s(t).log.total),1)]),e("span",null,o(s(t).log.speed)+"/s",1)])])):(l(),O(Q,{key:1,value:s(t).log},null,8,["value"])),s(a).length>1?(l(),i("div",oe,[e("div",le,[e("span",ie,o(n.$t("file.task.waitingTasks")),1)]),(l(!0),i(q,null,E(s(a).slice(1),r=>(l(),i("div",{key:r.id,class:"flex items-center h-36px px-10px"},[e("div",ce,[e("div",re,[_(h,null,{default:f(()=>[e("span",pe,o(r.name+n.$t("Public.Punctuation.Colon")+r.shell),1)]),_:2},1024)])]),e("div",{class:"flex items-center ml-12px cursor-pointer",onClick:_e=>k(r)},u[1]||(u[1]=[e("i",{class:"i-streamline:delete-1-solid text-10px text-error"},null,-1)]),8,de)]))),128))])):G("",!0)])}}}),ye=v(ue,[["__scopeId","data-v-93cb7b82"]]);export{ye as default}; diff --git a/BTPanel/static/vite/js/FileTask-legacy-BEcv-_oj.js b/BTPanel/static/vite/js/FileTask-legacy-BEcv-_oj.js new file mode 100644 index 00000000..6ce67373 --- /dev/null +++ b/BTPanel/static/vite/js/FileTask-legacy-BEcv-_oj.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./useLoop-legacy-BDarr7Pv.js?v=1774508183068","./FileIcon-legacy-BZIg8aaH.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068"],(function(e,t){"use strict";var l,s,a,n,o,i,c,r,p,d,u,x,g,f,m,v,k,y,b,h,w,j,_,C,T,$,L,P,F,R,H;return{setters:[e=>{l=e.c,s=e.i,a=e.D,n=e.n,o=e.h},e=>{i=e.u},e=>{c=e.a1,r=e.t,p=e.a2},e=>{d=e.k,u=e.al,x=e.w,g=e.$,f=e.Z,m=e.n,v=e.R,k=e.r,y=e.c,b=e._,h=e.a0,w=e.a9,j=e.aa,_=e.S,C=e.j,T=e.a8,$=e.F,L=e.P,P=e.ak},e=>{F=e.n,R=e.B,H=e.ab},null,null],execute:function(){var t=document.createElement("style");t.textContent=".task-logs[data-v-ee8b8ada]{height:180px;line-height:1.4;padding:10px;background-color:#333;border-bottom-left-radius:10px;border-bottom-right-radius:10px;color:#ececec;overflow:auto}.task-logs[data-v-93cb7b82]{max-height:180px;padding:10px;background-color:#333;border-bottom-left-radius:10px;border-bottom-right-radius:10px;color:#ececec;overflow:auto}\n/*$vite$:1*/",document.head.appendChild(t);const I=["innerHTML"],S=l(d({__name:"FileTaskLogs",props:{value:{type:String,default:""}},setup(e){const t=e,l=u("logsRef");return x((()=>t.value),(()=>{m((()=>{const e=l.value;if(e){const{scrollHeight:t}=e;e.scrollTop=t}}))}),{immediate:!0}),(t,s)=>(g(),f("div",{ref_key:"logsRef",ref:l,class:"task-logs",innerHTML:e.value||t.$t("file.task.noLogs")},null,8,I))}}),[["__scopeId","data-v-ee8b8ada"]]),B={class:"p-16px"},D={class:"flex items-center justify-between h-36px px-10px rounded-tl-10px rounded-tr-10px bg-#f5f5f5"},M={class:"max-w-360px"},q={class:"text-desc text-14px"},A={key:0,class:"p-10px"},E={class:"flex items-center justify-between mt-4px"},O={class:"flex"},Z={class:"mr-24px"},z={key:2,class:"mt-10px"},G={class:"flex items-center justify-between h-36px px-10px rounded-tl-10px rounded-tr-10px bg-#f5f5f5"},J={class:"text-desc text-14px"},K={class:"flex-1 w-0"},N={class:"min-w-0"},Q={class:"text-weak text-14px"},U=["onClick"];e("default",l(d({__name:"FileTask",props:{taskList:{type:Array,default:()=>[]},store:{type:Object,required:!0}},emits:["close"],setup(e,{emit:t}){const l=t,{t:d}=v(),u=k(e.taskList),x=y((()=>u.value[0]||{log:"",name:"",shell:""})),m=async()=>{const{message:t}=await c();n(t)&&t.length>0?u.value=t:(r(e.store),l("close"))},{loop:I,clearTimer:V}=i(m,2);I();const W=e=>{o({title:d("file.task.deleteTask"),content:d("file.task.confirmDeleteTask",{name:e.name,shell:e.shell}),onConfirm:async()=>{await p(e.id),(async()=>{V(),await m(),I()})()}})};return(e,t)=>{const l=F,n=R,o=H;return g(),f("div",B,[b("div",D,[b("div",M,[h(l,null,{default:w((()=>[b("span",q,j(_(x).name+e.$t("Public.Punctuation.Colon")+_(x).shell),1)])),_:1})]),h(n,{type:"primary",text:"",onClick:t[0]||(t[0]=e=>W(_(x)))},{default:w((()=>[C(j(e.$t("Public.Btn.Cancel")),1)])),_:1})]),_(s)(_(x).log)?(g(),f("div",A,[h(o,{type:"line",height:3,"show-indicator":!1,percentage:_(x).log.pre||0},null,8,["percentage"]),b("div",E,[b("span",O,[b("span",Z,j(_(x).log.used)+" / "+j(_(a)(_(x).log.total)),1),b("span",null,j(e.$t("file.task.estimatedRemaining"))+": "+j(_(x).log.total),1)]),b("span",null,j(_(x).log.speed)+"/s",1)])])):(g(),T(S,{key:1,value:_(x).log},null,8,["value"])),_(u).length>1?(g(),f("div",z,[b("div",G,[b("span",J,j(e.$t("file.task.waitingTasks")),1)]),(g(!0),f($,null,L(_(u).slice(1),(s=>(g(),f("div",{key:s.id,class:"flex items-center h-36px px-10px"},[b("div",K,[b("div",N,[h(l,null,{default:w((()=>[b("span",Q,j(s.name+e.$t("Public.Punctuation.Colon")+s.shell),1)])),_:2},1024)])]),b("div",{class:"flex items-center ml-12px cursor-pointer",onClick:e=>W(s)},t[1]||(t[1]=[b("i",{class:"i-streamline:delete-1-solid text-10px text-error"},null,-1)]),8,U)])))),128))])):P("",!0)])}}}),[["__scopeId","data-v-93cb7b82"]]))}}})); diff --git a/BTPanel/static/vite/js/FileTask-legacy-D_qOvpld.js b/BTPanel/static/vite/js/FileTask-legacy-D_qOvpld.js deleted file mode 100644 index ed37e6c9..00000000 --- a/BTPanel/static/vite/js/FileTask-legacy-D_qOvpld.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./useLoop-legacy-CgPln_xQ.js?v=1773287522785","./FileIcon-legacy-CYrICTNK.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./soft-legacy-CzxZ2w7j.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785"],(function(e,t){"use strict";var l,s,a,n,o,i,c,r,p,d,u,x,g,f,m,v,y,k,b,h,w,j,_,C,T,$,L,P,F,H,R;return{setters:[e=>{l=e.c,s=e.i,a=e.C,n=e.n,o=e.h},e=>{i=e.u},e=>{c=e.a1,r=e.w,p=e.a2},e=>{d=e.k,u=e.al,x=e.w,g=e.$,f=e.Z,m=e.n,v=e.R,y=e.r,k=e.c,b=e._,h=e.a0,w=e.a9,j=e.aa,_=e.S,C=e.j,T=e.a8,$=e.F,L=e.P,P=e.ak},e=>{F=e.n,H=e.B,R=e.ab},null,null,null],execute:function(){var t=document.createElement("style");t.textContent=".task-logs[data-v-ee8b8ada]{height:180px;line-height:1.4;padding:10px;background-color:#333;border-bottom-left-radius:10px;border-bottom-right-radius:10px;color:#ececec;overflow:auto}.task-logs[data-v-93cb7b82]{max-height:180px;padding:10px;background-color:#333;border-bottom-left-radius:10px;border-bottom-right-radius:10px;color:#ececec;overflow:auto}\n/*$vite$:1*/",document.head.appendChild(t);const I=["innerHTML"],S=l(d({__name:"FileTaskLogs",props:{value:{type:String,default:""}},setup(e){const t=e,l=u("logsRef");return x((()=>t.value),(()=>{m((()=>{const e=l.value;if(e){const{scrollHeight:t}=e;e.scrollTop=t}}))}),{immediate:!0}),(t,s)=>(g(),f("div",{ref_key:"logsRef",ref:l,class:"task-logs",innerHTML:e.value||t.$t("file.task.noLogs")},null,8,I))}}),[["__scopeId","data-v-ee8b8ada"]]),B={class:"p-16px"},E={class:"flex items-center justify-between h-36px px-10px rounded-tl-10px rounded-tr-10px bg-#f5f5f5"},M={class:"max-w-360px"},q={class:"text-desc text-14px"},A={key:0,class:"p-10px"},D={class:"flex items-center justify-between mt-4px"},O={class:"flex"},Z={class:"mr-24px"},z={key:2,class:"mt-10px"},G={class:"flex items-center justify-between h-36px px-10px rounded-tl-10px rounded-tr-10px bg-#f5f5f5"},J={class:"text-desc text-14px"},K={class:"flex-1 w-0"},N={class:"min-w-0"},Q={class:"text-weak text-14px"},U=["onClick"];e("default",l(d({__name:"FileTask",props:{taskList:{type:Array,default:()=>[]},store:{type:Object,required:!0}},emits:["close"],setup(e,{emit:t}){const l=t,{t:d}=v(),u=y(e.taskList),x=k((()=>u.value[0]||{log:"",name:"",shell:""})),m=async()=>{const{message:t}=await c();n(t)&&t.length>0?u.value=t:(r(e.store),l("close"))},{loop:I,clearTimer:V}=i(m,2);I();const W=e=>{o({title:d("file.task.deleteTask"),content:d("file.task.confirmDeleteTask",{name:e.name,shell:e.shell}),onConfirm:async()=>{await p(e.id),(async()=>{V(),await m(),I()})()}})};return(e,t)=>{const l=F,n=H,o=R;return g(),f("div",B,[b("div",E,[b("div",M,[h(l,null,{default:w((()=>[b("span",q,j(_(x).name+e.$t("Public.Punctuation.Colon")+_(x).shell),1)])),_:1})]),h(n,{type:"primary",text:"",onClick:t[0]||(t[0]=e=>W(_(x)))},{default:w((()=>[C(j(e.$t("Public.Btn.Cancel")),1)])),_:1})]),_(s)(_(x).log)?(g(),f("div",A,[h(o,{type:"line",height:3,"show-indicator":!1,percentage:_(x).log.pre||0},null,8,["percentage"]),b("div",D,[b("span",O,[b("span",Z,j(_(x).log.used)+" / "+j(_(a)(_(x).log.total)),1),b("span",null,j(e.$t("file.task.estimatedRemaining"))+": "+j(_(x).log.total),1)]),b("span",null,j(_(x).log.speed)+"/s",1)])])):(g(),T(S,{key:1,value:_(x).log},null,8,["value"])),_(u).length>1?(g(),f("div",z,[b("div",G,[b("span",J,j(e.$t("file.task.waitingTasks")),1)]),(g(!0),f($,null,L(_(u).slice(1),(s=>(g(),f("div",{key:s.id,class:"flex items-center h-36px px-10px"},[b("div",K,[b("div",N,[h(l,null,{default:w((()=>[b("span",Q,j(s.name+e.$t("Public.Punctuation.Colon")+s.shell),1)])),_:2},1024)])]),b("div",{class:"flex items-center ml-12px cursor-pointer",onClick:e=>W(s)},t[1]||(t[1]=[b("i",{class:"i-streamline:delete-1-solid text-10px text-error"},null,-1)]),8,U)])))),128))])):P("",!0)])}}}),[["__scopeId","data-v-93cb7b82"]]))}}})); diff --git a/BTPanel/static/vite/js/HighRiskSection-DVWsfdve.js b/BTPanel/static/vite/js/HighRiskSection-DVWsfdve.js new file mode 100644 index 00000000..c7514d37 --- /dev/null +++ b/BTPanel/static/vite/js/HighRiskSection-DVWsfdve.js @@ -0,0 +1 @@ +import{k as d,$ as a,Z as o,F as l,P as p,_ as s,aa as t,ak as u}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{c as _}from"./index-LQ-JIYiv.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./naive-ui-BjvXgNtF.js?v=1774508183068";const h={class:"issues-list"},g=["item"],m={class:"issue-header"},v={class:"issue-number"},k=["innerHTML"],y={class:"issue-level high"},f={class:"issue-content"},H={class:"issue-ps"},b={class:"issue-tips"},x=["innerHTML"],L={key:0,class:"pagination-note"},T=d({__name:"HighRiskSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(r){const i=r;return(M,n)=>(a(),o("div",h,[(a(!0),o(l,null,p(i.data,(e,c)=>(a(),o("div",{class:"issue-item high",key:"high-"+c,item:e},[s("div",m,[s("div",v,t(e.num),1),s("div",{class:"issue-name",innerHTML:e.name},null,8,k),s("div",y,t(e.level),1)]),s("div",f,[s("div",H,t(e.ps),1),s("div",b,[n[0]||(n[0]=s("div",{class:"tips-title"},"Solution:",-1)),s("div",{class:"tips-content",innerHTML:e.tips.replace(/\n/g,"
")},null,8,x)])])],8,g))),128)),i.totalPages>1?(a(),o("div",L," Total "+t(i.totalPages)+" pages, current page "+t(i.pageIndex+1)+". ",1)):u("",!0)]))}}),B=_(T,[["__scopeId","data-v-71e52ac0"]]);export{B as default}; diff --git a/BTPanel/static/vite/js/HighRiskSection-DkFB0Ddm.js b/BTPanel/static/vite/js/HighRiskSection-DkFB0Ddm.js deleted file mode 100644 index 9ca4c21c..00000000 --- a/BTPanel/static/vite/js/HighRiskSection-DkFB0Ddm.js +++ /dev/null @@ -1 +0,0 @@ -import{k as d,$ as a,Z as o,F as l,P as p,_ as s,aa as t,ak as u}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{c as _}from"./index-BTglIPU2.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./naive-ui--dJnpVcV.js?v=1773287522785";const h={class:"issues-list"},g=["item"],m={class:"issue-header"},v={class:"issue-number"},k=["innerHTML"],y={class:"issue-level high"},f={class:"issue-content"},H={class:"issue-ps"},b={class:"issue-tips"},x=["innerHTML"],L={key:0,class:"pagination-note"},T=d({__name:"HighRiskSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(r){const i=r;return(M,n)=>(a(),o("div",h,[(a(!0),o(l,null,p(i.data,(e,c)=>(a(),o("div",{class:"issue-item high",key:"high-"+c,item:e},[s("div",m,[s("div",v,t(e.num),1),s("div",{class:"issue-name",innerHTML:e.name},null,8,k),s("div",y,t(e.level),1)]),s("div",f,[s("div",H,t(e.ps),1),s("div",b,[n[0]||(n[0]=s("div",{class:"tips-title"},"Solution:",-1)),s("div",{class:"tips-content",innerHTML:e.tips.replace(/\n/g,"
")},null,8,x)])])],8,g))),128)),i.totalPages>1?(a(),o("div",L," Total "+t(i.totalPages)+" pages, current page "+t(i.pageIndex+1)+". ",1)):u("",!0)]))}}),B=_(T,[["__scopeId","data-v-71e52ac0"]]);export{B as default}; diff --git a/BTPanel/static/vite/js/HighRiskSection-legacy-B6q2n4dq.js b/BTPanel/static/vite/js/HighRiskSection-legacy-B6q2n4dq.js deleted file mode 100644 index 95d2a0e7..00000000 --- a/BTPanel/static/vite/js/HighRiskSection-legacy-B6q2n4dq.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,s){"use strict";var i,t,a,r,o,u,l,d,n;return{setters:[e=>{i=e.k,t=e.$,a=e.Z,r=e.F,o=e.P,u=e._,l=e.aa,d=e.ak},e=>{n=e.c},null,null],execute:function(){var s=document.createElement("style");s.textContent=".issues-list .issue-item[data-v-71e52ac0]{margin-bottom:20px;border:2px solid #eee;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.1);page-break-inside:avoid}.issues-list .issue-item.high[data-v-71e52ac0]{border-left:6px solid #ff4d4f}.issues-list .issue-item.medium[data-v-71e52ac0]{border-left:6px solid #faad14}.issues-list .issue-item.low[data-v-71e52ac0]{border-left:6px solid #52c41a}.issues-list .issue-item.cve[data-v-71e52ac0]{border-left:6px solid #722ed1}.issues-list .issue-item.ignore[data-v-71e52ac0]{border-left:6px solid #999}.issues-list .issue-item .issue-header[data-v-71e52ac0]{display:flex;align-items:center;padding:15px 20px;background-color:var(--home-risk-security-report-bg)}.issues-list .issue-item .issue-header .issue-number[data-v-71e52ac0]{flex:0 0 40px;height:40px;border-radius:50%;background-color:#07f;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;margin-right:15px;font-size:16px}.issues-list .issue-item .issue-header .issue-name[data-v-71e52ac0]{flex:1;font-weight:500;font-size:16px}.issues-list .issue-item .issue-header .issue-level[data-v-71e52ac0]{padding:4px 12px;border-radius:6px;font-size:14px;margin-right:15px;font-weight:700}.issues-list .issue-item .issue-header .issue-level.high[data-v-71e52ac0]{background-color:#ff4d4f;color:#fff}.issues-list .issue-item .issue-header .issue-level.medium[data-v-71e52ac0]{background-color:#faad14;color:#fff}.issues-list .issue-item .issue-header .issue-level.low[data-v-71e52ac0]{background-color:#52c41a;color:#fff}.issues-list .issue-item .issue-header .issue-level.ignore[data-v-71e52ac0]{background-color:#f0f0f0;color:#666}.issues-list .issue-item .issue-header .issue-auto[data-v-71e52ac0]{padding:4px 12px;border-radius:6px;font-size:14px;background-color:#f5f5f5;color:#666}.issues-list .issue-item .issue-header .issue-auto.supported[data-v-71e52ac0]{background-color:#e6f7ff;color:#07f}.issues-list .issue-item .issue-content[data-v-71e52ac0]{padding:20px}.issues-list .issue-item .issue-content .issue-ps[data-v-71e52ac0]{margin-bottom:15px;color:var(--color-text-2);font-size:16px;line-height:1.6}.issues-list .issue-item .issue-content .issue-tips[data-v-71e52ac0]{background-color:var(--home-risk-security-report-bg);padding:15px;border-radius:8px;border-left:4px solid #0077ff}.issues-list .issue-item .issue-content .issue-tips .tips-title[data-v-71e52ac0]{font-weight:500;margin-bottom:10px;font-size:16px}.issues-list .issue-item .issue-content .issue-tips .tips-content[data-v-71e52ac0]{color:var(--color-text-3);white-space:pre-line;line-height:1.6;font-size:15px}\n/*$vite$:1*/",document.head.appendChild(s);const c={class:"issues-list"},p=["item"],f={class:"issue-header"},g={class:"issue-number"},m=["innerHTML"],v={class:"issue-level high"},x={class:"issue-content"},h={class:"issue-ps"},b={class:"issue-tips"},y=["innerHTML"],k={key:0,class:"pagination-note"};e("default",n(i({__name:"HighRiskSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(e){const s=e;return(e,i)=>(t(),a("div",c,[(t(!0),a(r,null,o(s.data,((e,s)=>(t(),a("div",{class:"issue-item high",key:"high-"+s,item:e},[u("div",f,[u("div",g,l(e.num),1),u("div",{class:"issue-name",innerHTML:e.name},null,8,m),u("div",v,l(e.level),1)]),u("div",x,[u("div",h,l(e.ps),1),u("div",b,[i[0]||(i[0]=u("div",{class:"tips-title"},"Solution:",-1)),u("div",{class:"tips-content",innerHTML:e.tips.replace(/\n/g,"
")},null,8,y)])])],8,p)))),128)),s.totalPages>1?(t(),a("div",k," Total "+l(s.totalPages)+" pages, current page "+l(s.pageIndex+1)+". ",1)):d("",!0)]))}}),[["__scopeId","data-v-71e52ac0"]]))}}})); diff --git a/BTPanel/static/vite/js/HighRiskSection-legacy-BaHyoKQB.js b/BTPanel/static/vite/js/HighRiskSection-legacy-BaHyoKQB.js new file mode 100644 index 00000000..808b84a2 --- /dev/null +++ b/BTPanel/static/vite/js/HighRiskSection-legacy-BaHyoKQB.js @@ -0,0 +1 @@ +System.register(["./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068"],(function(e,s){"use strict";var i,t,a,r,o,u,l,d,n;return{setters:[e=>{i=e.k,t=e.$,a=e.Z,r=e.F,o=e.P,u=e._,l=e.aa,d=e.ak},e=>{n=e.c},null,null],execute:function(){var s=document.createElement("style");s.textContent=".issues-list .issue-item[data-v-71e52ac0]{margin-bottom:20px;border:2px solid #eee;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.1);page-break-inside:avoid}.issues-list .issue-item.high[data-v-71e52ac0]{border-left:6px solid #ff4d4f}.issues-list .issue-item.medium[data-v-71e52ac0]{border-left:6px solid #faad14}.issues-list .issue-item.low[data-v-71e52ac0]{border-left:6px solid #52c41a}.issues-list .issue-item.cve[data-v-71e52ac0]{border-left:6px solid #722ed1}.issues-list .issue-item.ignore[data-v-71e52ac0]{border-left:6px solid #999}.issues-list .issue-item .issue-header[data-v-71e52ac0]{display:flex;align-items:center;padding:15px 20px;background-color:var(--home-risk-security-report-bg)}.issues-list .issue-item .issue-header .issue-number[data-v-71e52ac0]{flex:0 0 40px;height:40px;border-radius:50%;background-color:#07f;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;margin-right:15px;font-size:16px}.issues-list .issue-item .issue-header .issue-name[data-v-71e52ac0]{flex:1;font-weight:500;font-size:16px}.issues-list .issue-item .issue-header .issue-level[data-v-71e52ac0]{padding:4px 12px;border-radius:6px;font-size:14px;margin-right:15px;font-weight:700}.issues-list .issue-item .issue-header .issue-level.high[data-v-71e52ac0]{background-color:#ff4d4f;color:#fff}.issues-list .issue-item .issue-header .issue-level.medium[data-v-71e52ac0]{background-color:#faad14;color:#fff}.issues-list .issue-item .issue-header .issue-level.low[data-v-71e52ac0]{background-color:#52c41a;color:#fff}.issues-list .issue-item .issue-header .issue-level.ignore[data-v-71e52ac0]{background-color:#f0f0f0;color:#666}.issues-list .issue-item .issue-header .issue-auto[data-v-71e52ac0]{padding:4px 12px;border-radius:6px;font-size:14px;background-color:#f5f5f5;color:#666}.issues-list .issue-item .issue-header .issue-auto.supported[data-v-71e52ac0]{background-color:#e6f7ff;color:#07f}.issues-list .issue-item .issue-content[data-v-71e52ac0]{padding:20px}.issues-list .issue-item .issue-content .issue-ps[data-v-71e52ac0]{margin-bottom:15px;color:var(--color-text-2);font-size:16px;line-height:1.6}.issues-list .issue-item .issue-content .issue-tips[data-v-71e52ac0]{background-color:var(--home-risk-security-report-bg);padding:15px;border-radius:8px;border-left:4px solid #0077ff}.issues-list .issue-item .issue-content .issue-tips .tips-title[data-v-71e52ac0]{font-weight:500;margin-bottom:10px;font-size:16px}.issues-list .issue-item .issue-content .issue-tips .tips-content[data-v-71e52ac0]{color:var(--color-text-3);white-space:pre-line;line-height:1.6;font-size:15px}\n/*$vite$:1*/",document.head.appendChild(s);const c={class:"issues-list"},p=["item"],f={class:"issue-header"},g={class:"issue-number"},m=["innerHTML"],v={class:"issue-level high"},x={class:"issue-content"},h={class:"issue-ps"},b={class:"issue-tips"},y=["innerHTML"],k={key:0,class:"pagination-note"};e("default",n(i({__name:"HighRiskSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(e){const s=e;return(e,i)=>(t(),a("div",c,[(t(!0),a(r,null,o(s.data,((e,s)=>(t(),a("div",{class:"issue-item high",key:"high-"+s,item:e},[u("div",f,[u("div",g,l(e.num),1),u("div",{class:"issue-name",innerHTML:e.name},null,8,m),u("div",v,l(e.level),1)]),u("div",x,[u("div",h,l(e.ps),1),u("div",b,[i[0]||(i[0]=u("div",{class:"tips-title"},"Solution:",-1)),u("div",{class:"tips-content",innerHTML:e.tips.replace(/\n/g,"
")},null,8,y)])])],8,p)))),128)),s.totalPages>1?(t(),a("div",k," Total "+l(s.totalPages)+" pages, current page "+l(s.pageIndex+1)+". ",1)):d("",!0)]))}}),[["__scopeId","data-v-71e52ac0"]]))}}})); diff --git a/BTPanel/static/vite/js/LowRiskSection-BNBFc6xE.js b/BTPanel/static/vite/js/LowRiskSection-BNBFc6xE.js deleted file mode 100644 index 3492de14..00000000 --- a/BTPanel/static/vite/js/LowRiskSection-BNBFc6xE.js +++ /dev/null @@ -1 +0,0 @@ -import{k as d,$ as a,Z as i,F as l,P as p,_ as s,aa as t,ak as u}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{c as _}from"./index-BTglIPU2.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./naive-ui--dJnpVcV.js?v=1773287522785";const m={class:"issues-list"},v=["item"],g={class:"issue-header"},h={class:"issue-number"},k=["innerHTML"],y={class:"issue-level low"},f={class:"issue-content"},L={class:"issue-ps"},b={class:"issue-tips"},w=["innerHTML"],x={key:0,class:"pagination-note"},T=d({__name:"LowRiskSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(r){const o=r;return(H,n)=>(a(),i("div",m,[(a(!0),i(l,null,p(o.data,(e,c)=>(a(),i("div",{class:"issue-item low",key:"low-"+c,item:e},[s("div",g,[s("div",h,t(e.num),1),s("div",{class:"issue-name",innerHTML:e.name},null,8,k),s("div",y,t(e.level),1)]),s("div",f,[s("div",L,t(e.ps),1),s("div",b,[n[0]||(n[0]=s("div",{class:"tips-title"},"Solution:",-1)),s("div",{class:"tips-content",innerHTML:e.tips.replace(/\n/g,"
")},null,8,w)])])],8,v))),128)),o.totalPages>1?(a(),i("div",x," Total "+t(o.totalPages)+" pages, current page "+t(o.pageIndex+1)+". ",1)):u("",!0)]))}}),q=_(T,[["__scopeId","data-v-a1397968"]]);export{q as default}; diff --git a/BTPanel/static/vite/js/LowRiskSection-Dew5dmbP.js b/BTPanel/static/vite/js/LowRiskSection-Dew5dmbP.js new file mode 100644 index 00000000..cda14f7f --- /dev/null +++ b/BTPanel/static/vite/js/LowRiskSection-Dew5dmbP.js @@ -0,0 +1 @@ +import{k as d,$ as a,Z as i,F as l,P as p,_ as s,aa as t,ak as u}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{c as _}from"./index-LQ-JIYiv.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./naive-ui-BjvXgNtF.js?v=1774508183068";const m={class:"issues-list"},v=["item"],g={class:"issue-header"},h={class:"issue-number"},k=["innerHTML"],y={class:"issue-level low"},f={class:"issue-content"},L={class:"issue-ps"},b={class:"issue-tips"},w=["innerHTML"],x={key:0,class:"pagination-note"},T=d({__name:"LowRiskSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(r){const o=r;return(H,n)=>(a(),i("div",m,[(a(!0),i(l,null,p(o.data,(e,c)=>(a(),i("div",{class:"issue-item low",key:"low-"+c,item:e},[s("div",g,[s("div",h,t(e.num),1),s("div",{class:"issue-name",innerHTML:e.name},null,8,k),s("div",y,t(e.level),1)]),s("div",f,[s("div",L,t(e.ps),1),s("div",b,[n[0]||(n[0]=s("div",{class:"tips-title"},"Solution:",-1)),s("div",{class:"tips-content",innerHTML:e.tips.replace(/\n/g,"
")},null,8,w)])])],8,v))),128)),o.totalPages>1?(a(),i("div",x," Total "+t(o.totalPages)+" pages, current page "+t(o.pageIndex+1)+". ",1)):u("",!0)]))}}),q=_(T,[["__scopeId","data-v-a1397968"]]);export{q as default}; diff --git a/BTPanel/static/vite/js/LowRiskSection-legacy-BiO2ZOqR.js b/BTPanel/static/vite/js/LowRiskSection-legacy-BiO2ZOqR.js deleted file mode 100644 index 88693f80..00000000 --- a/BTPanel/static/vite/js/LowRiskSection-legacy-BiO2ZOqR.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,s){"use strict";var i,t,a,o,r,u,l,d,n;return{setters:[e=>{i=e.k,t=e.$,a=e.Z,o=e.F,r=e.P,u=e._,l=e.aa,d=e.ak},e=>{n=e.c},null,null],execute:function(){var s=document.createElement("style");s.textContent=".issues-list .issue-item[data-v-a1397968]{margin-bottom:20px;border:2px solid #eee;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.1);page-break-inside:avoid}.issues-list .issue-item.high[data-v-a1397968]{border-left:6px solid #ff4d4f}.issues-list .issue-item.medium[data-v-a1397968]{border-left:6px solid #faad14}.issues-list .issue-item.low[data-v-a1397968]{border-left:6px solid #52c41a}.issues-list .issue-item.cve[data-v-a1397968]{border-left:6px solid #722ed1}.issues-list .issue-item.ignore[data-v-a1397968]{border-left:6px solid #999}.issues-list .issue-item .issue-header[data-v-a1397968]{display:flex;align-items:center;padding:15px 20px;background-color:var(--home-risk-security-report-bg)}.issues-list .issue-item .issue-header .issue-number[data-v-a1397968]{flex:0 0 40px;height:40px;border-radius:50%;background-color:#07f;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;margin-right:15px;font-size:16px}.issues-list .issue-item .issue-header .issue-name[data-v-a1397968]{flex:1;font-weight:500;font-size:16px}.issues-list .issue-item .issue-header .issue-level[data-v-a1397968]{padding:4px 12px;border-radius:6px;font-size:14px;margin-right:15px;font-weight:700}.issues-list .issue-item .issue-header .issue-level.high[data-v-a1397968]{background-color:#ff4d4f;color:#fff}.issues-list .issue-item .issue-header .issue-level.medium[data-v-a1397968]{background-color:#faad14;color:#fff}.issues-list .issue-item .issue-header .issue-level.low[data-v-a1397968]{background-color:#52c41a;color:#fff}.issues-list .issue-item .issue-header .issue-level.ignore[data-v-a1397968]{background-color:#f0f0f0;color:#666}.issues-list .issue-item .issue-header .issue-auto[data-v-a1397968]{padding:4px 12px;border-radius:6px;font-size:14px;background-color:#f5f5f5;color:#666}.issues-list .issue-item .issue-header .issue-auto.supported[data-v-a1397968]{background-color:#e6f7ff;color:#07f}.issues-list .issue-item .issue-content[data-v-a1397968]{padding:20px}.issues-list .issue-item .issue-content .issue-ps[data-v-a1397968]{margin-bottom:15px;color:var(--color-text-2);font-size:16px;line-height:1.6}.issues-list .issue-item .issue-content .issue-tips[data-v-a1397968]{background-color:var(--home-risk-security-report-bg);padding:15px;border-radius:8px;border-left:4px solid #0077ff}.issues-list .issue-item .issue-content .issue-tips .tips-title[data-v-a1397968]{font-weight:500;margin-bottom:10px;font-size:16px;color:var(--color-text-2)}.issues-list .issue-item .issue-content .issue-tips .tips-content[data-v-a1397968]{color:var(--color-text-3);white-space:pre-line;line-height:1.6;font-size:15px}\n/*$vite$:1*/",document.head.appendChild(s);const c={class:"issues-list"},p=["item"],f={class:"issue-header"},m={class:"issue-number"},v=["innerHTML"],g={class:"issue-level low"},x={class:"issue-content"},b={class:"issue-ps"},h={class:"issue-tips"},y=["innerHTML"],k={key:0,class:"pagination-note"};e("default",n(i({__name:"LowRiskSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(e){const s=e;return(e,i)=>(t(),a("div",c,[(t(!0),a(o,null,r(s.data,((e,s)=>(t(),a("div",{class:"issue-item low",key:"low-"+s,item:e},[u("div",f,[u("div",m,l(e.num),1),u("div",{class:"issue-name",innerHTML:e.name},null,8,v),u("div",g,l(e.level),1)]),u("div",x,[u("div",b,l(e.ps),1),u("div",h,[i[0]||(i[0]=u("div",{class:"tips-title"},"Solution:",-1)),u("div",{class:"tips-content",innerHTML:e.tips.replace(/\n/g,"
")},null,8,y)])])],8,p)))),128)),s.totalPages>1?(t(),a("div",k," Total "+l(s.totalPages)+" pages, current page "+l(s.pageIndex+1)+". ",1)):d("",!0)]))}}),[["__scopeId","data-v-a1397968"]]))}}})); diff --git a/BTPanel/static/vite/js/LowRiskSection-legacy-CMY8UlGn.js b/BTPanel/static/vite/js/LowRiskSection-legacy-CMY8UlGn.js new file mode 100644 index 00000000..1f5a09fd --- /dev/null +++ b/BTPanel/static/vite/js/LowRiskSection-legacy-CMY8UlGn.js @@ -0,0 +1 @@ +System.register(["./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068"],(function(e,s){"use strict";var i,t,a,o,r,u,l,d,n;return{setters:[e=>{i=e.k,t=e.$,a=e.Z,o=e.F,r=e.P,u=e._,l=e.aa,d=e.ak},e=>{n=e.c},null,null],execute:function(){var s=document.createElement("style");s.textContent=".issues-list .issue-item[data-v-a1397968]{margin-bottom:20px;border:2px solid #eee;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.1);page-break-inside:avoid}.issues-list .issue-item.high[data-v-a1397968]{border-left:6px solid #ff4d4f}.issues-list .issue-item.medium[data-v-a1397968]{border-left:6px solid #faad14}.issues-list .issue-item.low[data-v-a1397968]{border-left:6px solid #52c41a}.issues-list .issue-item.cve[data-v-a1397968]{border-left:6px solid #722ed1}.issues-list .issue-item.ignore[data-v-a1397968]{border-left:6px solid #999}.issues-list .issue-item .issue-header[data-v-a1397968]{display:flex;align-items:center;padding:15px 20px;background-color:var(--home-risk-security-report-bg)}.issues-list .issue-item .issue-header .issue-number[data-v-a1397968]{flex:0 0 40px;height:40px;border-radius:50%;background-color:#07f;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;margin-right:15px;font-size:16px}.issues-list .issue-item .issue-header .issue-name[data-v-a1397968]{flex:1;font-weight:500;font-size:16px}.issues-list .issue-item .issue-header .issue-level[data-v-a1397968]{padding:4px 12px;border-radius:6px;font-size:14px;margin-right:15px;font-weight:700}.issues-list .issue-item .issue-header .issue-level.high[data-v-a1397968]{background-color:#ff4d4f;color:#fff}.issues-list .issue-item .issue-header .issue-level.medium[data-v-a1397968]{background-color:#faad14;color:#fff}.issues-list .issue-item .issue-header .issue-level.low[data-v-a1397968]{background-color:#52c41a;color:#fff}.issues-list .issue-item .issue-header .issue-level.ignore[data-v-a1397968]{background-color:#f0f0f0;color:#666}.issues-list .issue-item .issue-header .issue-auto[data-v-a1397968]{padding:4px 12px;border-radius:6px;font-size:14px;background-color:#f5f5f5;color:#666}.issues-list .issue-item .issue-header .issue-auto.supported[data-v-a1397968]{background-color:#e6f7ff;color:#07f}.issues-list .issue-item .issue-content[data-v-a1397968]{padding:20px}.issues-list .issue-item .issue-content .issue-ps[data-v-a1397968]{margin-bottom:15px;color:var(--color-text-2);font-size:16px;line-height:1.6}.issues-list .issue-item .issue-content .issue-tips[data-v-a1397968]{background-color:var(--home-risk-security-report-bg);padding:15px;border-radius:8px;border-left:4px solid #0077ff}.issues-list .issue-item .issue-content .issue-tips .tips-title[data-v-a1397968]{font-weight:500;margin-bottom:10px;font-size:16px;color:var(--color-text-2)}.issues-list .issue-item .issue-content .issue-tips .tips-content[data-v-a1397968]{color:var(--color-text-3);white-space:pre-line;line-height:1.6;font-size:15px}\n/*$vite$:1*/",document.head.appendChild(s);const c={class:"issues-list"},p=["item"],f={class:"issue-header"},m={class:"issue-number"},v=["innerHTML"],g={class:"issue-level low"},x={class:"issue-content"},b={class:"issue-ps"},h={class:"issue-tips"},y=["innerHTML"],k={key:0,class:"pagination-note"};e("default",n(i({__name:"LowRiskSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(e){const s=e;return(e,i)=>(t(),a("div",c,[(t(!0),a(o,null,r(s.data,((e,s)=>(t(),a("div",{class:"issue-item low",key:"low-"+s,item:e},[u("div",f,[u("div",m,l(e.num),1),u("div",{class:"issue-name",innerHTML:e.name},null,8,v),u("div",g,l(e.level),1)]),u("div",x,[u("div",b,l(e.ps),1),u("div",h,[i[0]||(i[0]=u("div",{class:"tips-title"},"Solution:",-1)),u("div",{class:"tips-content",innerHTML:e.tips.replace(/\n/g,"
")},null,8,y)])])],8,p)))),128)),s.totalPages>1?(t(),a("div",k," Total "+l(s.totalPages)+" pages, current page "+l(s.pageIndex+1)+". ",1)):d("",!0)]))}}),[["__scopeId","data-v-a1397968"]]))}}})); diff --git a/BTPanel/static/vite/js/MaliciousSection-BOMOBeTL.js b/BTPanel/static/vite/js/MaliciousSection-BOMOBeTL.js deleted file mode 100644 index 9b5459be..00000000 --- a/BTPanel/static/vite/js/MaliciousSection-BOMOBeTL.js +++ /dev/null @@ -1 +0,0 @@ -import{k as _,$ as s,Z as i,_ as e,aa as t,ak as d,F as m,P as f}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{c as h}from"./index-BTglIPU2.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./naive-ui--dJnpVcV.js?v=1773287522785";const y={key:0,class:"malicious-summary"},g={class:"malicious-table"},k={class:"breakable-table"},v=["item"],D={class:"filepath"},b={key:0,class:"pagination-note"},T=_({__name:"MaliciousSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(p){const a=p;return(N,o)=>{var r,n,u,c;return s(),i("div",null,[(r=a.reportData)!=null&&r.malicious_files?(s(),i("div",y,[e("div",null,"Scan Time:"+t(a.reportData.malicious_files.last_scan_time||""),1),e("div",null,"Total Scanned Files:"+t(a.reportData.malicious_files.total_scanned_files||0),1),e("div",null,"Total Detected Malicious Files:"+t(a.reportData.malicious_files.total_detected||0),1),e("div",null,"High Risk:"+t(((n=a.reportData.malicious_files.risk_stats)==null?void 0:n["2"])||0),1),e("div",null,"Processing:"+t(((u=a.reportData.malicious_files.processed_stats)==null?void 0:u["1"])||0)+",Unprocessed:"+t(((c=a.reportData.malicious_files.processed_stats)==null?void 0:c["0"])||0),1)])):d("",!0),e("div",g,[e("table",k,[o[0]||(o[0]=e("thead",null,[e("tr",null,[e("th",null,"File Name"),e("th",null,"Path"),e("th",null,"Threat Type"),e("th",null,"Risk Level"),e("th",null,"Scan Time"),e("th",null,"Quarantined")])],-1)),e("tbody",null,[(s(!0),i(m,null,f(a.data,l=>(s(),i("tr",{key:l.filepath+l.time,item:l},[e("td",null,t(l.filename),1),e("td",D,t(l.filepath),1),e("td",null,t(l.threat_type),1),e("td",null,t(l.risk_level_desc),1),e("td",null,t(l.time),1),e("td",null,t(l.quarantined?"Yes":"No"),1)],8,v))),128))])]),a.totalPages>1?(s(),i("div",b," Total "+t(a.totalPages)+" pages, current page "+t(a.pageIndex+1)+". ",1)):d("",!0)])])}}}),q=h(T,[["__scopeId","data-v-7f20a499"]]);export{q as default}; diff --git a/BTPanel/static/vite/js/MaliciousSection-MjtO3sny.js b/BTPanel/static/vite/js/MaliciousSection-MjtO3sny.js new file mode 100644 index 00000000..6ecf0bd6 --- /dev/null +++ b/BTPanel/static/vite/js/MaliciousSection-MjtO3sny.js @@ -0,0 +1 @@ +import{k as _,$ as s,Z as i,_ as e,aa as t,ak as d,F as m,P as f}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{c as h}from"./index-LQ-JIYiv.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./naive-ui-BjvXgNtF.js?v=1774508183068";const y={key:0,class:"malicious-summary"},g={class:"malicious-table"},k={class:"breakable-table"},v=["item"],D={class:"filepath"},b={key:0,class:"pagination-note"},T=_({__name:"MaliciousSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(p){const a=p;return(N,o)=>{var r,n,u,c;return s(),i("div",null,[(r=a.reportData)!=null&&r.malicious_files?(s(),i("div",y,[e("div",null,"Scan Time:"+t(a.reportData.malicious_files.last_scan_time||""),1),e("div",null,"Total Scanned Files:"+t(a.reportData.malicious_files.total_scanned_files||0),1),e("div",null,"Total Detected Malicious Files:"+t(a.reportData.malicious_files.total_detected||0),1),e("div",null,"High Risk:"+t(((n=a.reportData.malicious_files.risk_stats)==null?void 0:n["2"])||0),1),e("div",null,"Processing:"+t(((u=a.reportData.malicious_files.processed_stats)==null?void 0:u["1"])||0)+",Unprocessed:"+t(((c=a.reportData.malicious_files.processed_stats)==null?void 0:c["0"])||0),1)])):d("",!0),e("div",g,[e("table",k,[o[0]||(o[0]=e("thead",null,[e("tr",null,[e("th",null,"File Name"),e("th",null,"Path"),e("th",null,"Threat Type"),e("th",null,"Risk Level"),e("th",null,"Scan Time"),e("th",null,"Quarantined")])],-1)),e("tbody",null,[(s(!0),i(m,null,f(a.data,l=>(s(),i("tr",{key:l.filepath+l.time,item:l},[e("td",null,t(l.filename),1),e("td",D,t(l.filepath),1),e("td",null,t(l.threat_type),1),e("td",null,t(l.risk_level_desc),1),e("td",null,t(l.time),1),e("td",null,t(l.quarantined?"Yes":"No"),1)],8,v))),128))])]),a.totalPages>1?(s(),i("div",b," Total "+t(a.totalPages)+" pages, current page "+t(a.pageIndex+1)+". ",1)):d("",!0)])])}}}),q=h(T,[["__scopeId","data-v-7f20a499"]]);export{q as default}; diff --git a/BTPanel/static/vite/js/MaliciousSection-legacy-CKafwe-U.js b/BTPanel/static/vite/js/MaliciousSection-legacy-CKafwe-U.js deleted file mode 100644 index a37fd5bc..00000000 --- a/BTPanel/static/vite/js/MaliciousSection-legacy-CKafwe-U.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(a,e){"use strict";var t,l,i,r,o,s,n,c,d;return{setters:[a=>{t=a.k,l=a.$,i=a.Z,r=a._,o=a.aa,s=a.ak,n=a.F,c=a.P},a=>{d=a.c},null,null],execute:function(){var e=document.createElement("style");e.textContent=".malicious-summary[data-v-7f20a499]{margin-bottom:30px;padding:20px;border-radius:12px;background-color:var(--home-risk-security-report-bg);border:2px solid var(--color-border)}.malicious-summary div[data-v-7f20a499]{font-size:18px;margin-bottom:10px;color:var(--color-text-2)}.malicious-table[data-v-7f20a499]{margin-top:20px}.malicious-table .breakable-table[data-v-7f20a499]{width:100%;border-collapse:collapse;font-size:13px}.malicious-table .breakable-table th[data-v-7f20a499],.malicious-table .breakable-table td[data-v-7f20a499]{padding:6px;text-align:left;border:1px solid var(--color-border)}.malicious-table .breakable-table th[data-v-7f20a499]{background-color:var(--color-table-th);font-weight:700}.malicious-table .breakable-table td.filepath[data-v-7f20a499]{word-break:break-all;font-size:12px}.malicious-table .breakable-table tr[data-v-7f20a499]:nth-child(2n){background-color:var(--home-risk-security-report-bg1)}.malicious-table .pagination-note[data-v-7f20a499]{margin-top:15px;text-align:center;font-style:italic;color:var(--color-text-3);font-size:14px}\n/*$vite$:1*/",document.head.appendChild(e);const u={key:0,class:"malicious-summary"},p={class:"malicious-table"},b={class:"breakable-table"},m=["item"],f={class:"filepath"},v={key:0,class:"pagination-note"};a("default",d(t({__name:"MaliciousSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(a){const e=a;return(a,t)=>(l(),i("div",null,[e.reportData?.malicious_files?(l(),i("div",u,[r("div",null,"Scan Time:"+o(e.reportData.malicious_files.last_scan_time||""),1),r("div",null,"Total Scanned Files:"+o(e.reportData.malicious_files.total_scanned_files||0),1),r("div",null,"Total Detected Malicious Files:"+o(e.reportData.malicious_files.total_detected||0),1),r("div",null,"High Risk:"+o(e.reportData.malicious_files.risk_stats?.[2]||0),1),r("div",null,"Processing:"+o(e.reportData.malicious_files.processed_stats?.[1]||0)+",Unprocessed:"+o(e.reportData.malicious_files.processed_stats?.[0]||0),1)])):s("",!0),r("div",p,[r("table",b,[t[0]||(t[0]=r("thead",null,[r("tr",null,[r("th",null,"File Name"),r("th",null,"Path"),r("th",null,"Threat Type"),r("th",null,"Risk Level"),r("th",null,"Scan Time"),r("th",null,"Quarantined")])],-1)),r("tbody",null,[(l(!0),i(n,null,c(e.data,(a=>(l(),i("tr",{key:a.filepath+a.time,item:a},[r("td",null,o(a.filename),1),r("td",f,o(a.filepath),1),r("td",null,o(a.threat_type),1),r("td",null,o(a.risk_level_desc),1),r("td",null,o(a.time),1),r("td",null,o(a.quarantined?"Yes":"No"),1)],8,m)))),128))])]),e.totalPages>1?(l(),i("div",v," Total "+o(e.totalPages)+" pages, current page "+o(e.pageIndex+1)+". ",1)):s("",!0)])]))}}),[["__scopeId","data-v-7f20a499"]]))}}})); diff --git a/BTPanel/static/vite/js/MaliciousSection-legacy-rXYrck-7.js b/BTPanel/static/vite/js/MaliciousSection-legacy-rXYrck-7.js new file mode 100644 index 00000000..efa6d4dd --- /dev/null +++ b/BTPanel/static/vite/js/MaliciousSection-legacy-rXYrck-7.js @@ -0,0 +1 @@ +System.register(["./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068"],(function(a,e){"use strict";var t,l,i,r,o,s,n,c,d;return{setters:[a=>{t=a.k,l=a.$,i=a.Z,r=a._,o=a.aa,s=a.ak,n=a.F,c=a.P},a=>{d=a.c},null,null],execute:function(){var e=document.createElement("style");e.textContent=".malicious-summary[data-v-7f20a499]{margin-bottom:30px;padding:20px;border-radius:12px;background-color:var(--home-risk-security-report-bg);border:2px solid var(--color-border)}.malicious-summary div[data-v-7f20a499]{font-size:18px;margin-bottom:10px;color:var(--color-text-2)}.malicious-table[data-v-7f20a499]{margin-top:20px}.malicious-table .breakable-table[data-v-7f20a499]{width:100%;border-collapse:collapse;font-size:13px}.malicious-table .breakable-table th[data-v-7f20a499],.malicious-table .breakable-table td[data-v-7f20a499]{padding:6px;text-align:left;border:1px solid var(--color-border)}.malicious-table .breakable-table th[data-v-7f20a499]{background-color:var(--color-table-th);font-weight:700}.malicious-table .breakable-table td.filepath[data-v-7f20a499]{word-break:break-all;font-size:12px}.malicious-table .breakable-table tr[data-v-7f20a499]:nth-child(2n){background-color:var(--home-risk-security-report-bg1)}.malicious-table .pagination-note[data-v-7f20a499]{margin-top:15px;text-align:center;font-style:italic;color:var(--color-text-3);font-size:14px}\n/*$vite$:1*/",document.head.appendChild(e);const u={key:0,class:"malicious-summary"},p={class:"malicious-table"},b={class:"breakable-table"},m=["item"],f={class:"filepath"},v={key:0,class:"pagination-note"};a("default",d(t({__name:"MaliciousSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(a){const e=a;return(a,t)=>(l(),i("div",null,[e.reportData?.malicious_files?(l(),i("div",u,[r("div",null,"Scan Time:"+o(e.reportData.malicious_files.last_scan_time||""),1),r("div",null,"Total Scanned Files:"+o(e.reportData.malicious_files.total_scanned_files||0),1),r("div",null,"Total Detected Malicious Files:"+o(e.reportData.malicious_files.total_detected||0),1),r("div",null,"High Risk:"+o(e.reportData.malicious_files.risk_stats?.[2]||0),1),r("div",null,"Processing:"+o(e.reportData.malicious_files.processed_stats?.[1]||0)+",Unprocessed:"+o(e.reportData.malicious_files.processed_stats?.[0]||0),1)])):s("",!0),r("div",p,[r("table",b,[t[0]||(t[0]=r("thead",null,[r("tr",null,[r("th",null,"File Name"),r("th",null,"Path"),r("th",null,"Threat Type"),r("th",null,"Risk Level"),r("th",null,"Scan Time"),r("th",null,"Quarantined")])],-1)),r("tbody",null,[(l(!0),i(n,null,c(e.data,(a=>(l(),i("tr",{key:a.filepath+a.time,item:a},[r("td",null,o(a.filename),1),r("td",f,o(a.filepath),1),r("td",null,o(a.threat_type),1),r("td",null,o(a.risk_level_desc),1),r("td",null,o(a.time),1),r("td",null,o(a.quarantined?"Yes":"No"),1)],8,m)))),128))])]),e.totalPages>1?(l(),i("div",v," Total "+o(e.totalPages)+" pages, current page "+o(e.pageIndex+1)+". ",1)):s("",!0)])]))}}),[["__scopeId","data-v-7f20a499"]]))}}})); diff --git a/BTPanel/static/vite/js/MidRiskSection-6I2k1TaA.js b/BTPanel/static/vite/js/MidRiskSection-6I2k1TaA.js deleted file mode 100644 index 2122af49..00000000 --- a/BTPanel/static/vite/js/MidRiskSection-6I2k1TaA.js +++ /dev/null @@ -1 +0,0 @@ -import{k as c,$ as a,Z as o,F as l,P as u,_ as e,aa as t,ak as p}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{c as _}from"./index-BTglIPU2.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./naive-ui--dJnpVcV.js?v=1773287522785";const m={class:"issues-list"},v=["item"],g={class:"issue-header"},h={class:"issue-number"},k=["innerHTML"],y={class:"issue-level medium"},f={class:"issue-content"},b={class:"issue-ps"},M={class:"issue-tips"},x=["innerHTML"],L={key:0,class:"pagination-note"},T=c({__name:"MidRiskSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(r){const i=r;return(H,n)=>(a(),o("div",m,[(a(!0),o(l,null,u(i.data,(s,d)=>(a(),o("div",{class:"issue-item medium",key:"medium-"+d,item:s},[e("div",g,[e("div",h,t(s.num),1),e("div",{class:"issue-name",innerHTML:s.name},null,8,k),e("div",y,t(s.level),1)]),e("div",f,[e("div",b,t(s.ps),1),e("div",M,[n[0]||(n[0]=e("div",{class:"tips-title"},"Solution:",-1)),e("div",{class:"tips-content",innerHTML:s.tips.replace(/\n/g,"
")},null,8,x)])])],8,v))),128)),i.totalPages>1?(a(),o("div",L," Total "+t(i.totalPages)+" pages, current page "+t(i.pageIndex+1)+". ",1)):p("",!0)]))}}),B=_(T,[["__scopeId","data-v-ec33b01c"]]);export{B as default}; diff --git a/BTPanel/static/vite/js/MidRiskSection-BBqQdkxj.js b/BTPanel/static/vite/js/MidRiskSection-BBqQdkxj.js new file mode 100644 index 00000000..e89239a7 --- /dev/null +++ b/BTPanel/static/vite/js/MidRiskSection-BBqQdkxj.js @@ -0,0 +1 @@ +import{k as c,$ as a,Z as o,F as l,P as u,_ as e,aa as t,ak as p}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{c as _}from"./index-LQ-JIYiv.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./naive-ui-BjvXgNtF.js?v=1774508183068";const m={class:"issues-list"},v=["item"],g={class:"issue-header"},h={class:"issue-number"},k=["innerHTML"],y={class:"issue-level medium"},f={class:"issue-content"},b={class:"issue-ps"},M={class:"issue-tips"},x=["innerHTML"],L={key:0,class:"pagination-note"},T=c({__name:"MidRiskSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(r){const i=r;return(H,n)=>(a(),o("div",m,[(a(!0),o(l,null,u(i.data,(s,d)=>(a(),o("div",{class:"issue-item medium",key:"medium-"+d,item:s},[e("div",g,[e("div",h,t(s.num),1),e("div",{class:"issue-name",innerHTML:s.name},null,8,k),e("div",y,t(s.level),1)]),e("div",f,[e("div",b,t(s.ps),1),e("div",M,[n[0]||(n[0]=e("div",{class:"tips-title"},"Solution:",-1)),e("div",{class:"tips-content",innerHTML:s.tips.replace(/\n/g,"
")},null,8,x)])])],8,v))),128)),i.totalPages>1?(a(),o("div",L," Total "+t(i.totalPages)+" pages, current page "+t(i.pageIndex+1)+". ",1)):p("",!0)]))}}),B=_(T,[["__scopeId","data-v-ec33b01c"]]);export{B as default}; diff --git a/BTPanel/static/vite/js/MidRiskSection-legacy-BoITNj0j.js b/BTPanel/static/vite/js/MidRiskSection-legacy-BoITNj0j.js new file mode 100644 index 00000000..93547070 --- /dev/null +++ b/BTPanel/static/vite/js/MidRiskSection-legacy-BoITNj0j.js @@ -0,0 +1 @@ +System.register(["./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068"],(function(e,s){"use strict";var i,t,a,r,o,u,c,l,d;return{setters:[e=>{i=e.k,t=e.$,a=e.Z,r=e.F,o=e.P,u=e._,c=e.aa,l=e.ak},e=>{d=e.c},null,null],execute:function(){var s=document.createElement("style");s.textContent=".issues-list .issue-item[data-v-ec33b01c]{margin-bottom:20px;border:2px solid #eee;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.1);page-break-inside:avoid}.issues-list .issue-item.high[data-v-ec33b01c]{border-left:6px solid #ff4d4f}.issues-list .issue-item.medium[data-v-ec33b01c]{border-left:6px solid #faad14}.issues-list .issue-item.low[data-v-ec33b01c]{border-left:6px solid #52c41a}.issues-list .issue-item.cve[data-v-ec33b01c]{border-left:6px solid #722ed1}.issues-list .issue-item.ignore[data-v-ec33b01c]{border-left:6px solid #999}.issues-list .issue-item .issue-header[data-v-ec33b01c]{display:flex;align-items:center;padding:15px 20px;background-color:var(--home-risk-security-report-bg)}.issues-list .issue-item .issue-header .issue-number[data-v-ec33b01c]{flex:0 0 40px;height:40px;border-radius:50%;background-color:#07f;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;margin-right:15px;font-size:16px}.issues-list .issue-item .issue-header .issue-name[data-v-ec33b01c]{flex:1;font-weight:500;font-size:16px}.issues-list .issue-item .issue-header .issue-level[data-v-ec33b01c]{padding:4px 12px;border-radius:6px;font-size:14px;margin-right:15px;font-weight:700}.issues-list .issue-item .issue-header .issue-level.high[data-v-ec33b01c]{background-color:#ff4d4f;color:#fff}.issues-list .issue-item .issue-header .issue-level.medium[data-v-ec33b01c]{background-color:#faad14;color:#fff}.issues-list .issue-item .issue-header .issue-level.low[data-v-ec33b01c]{background-color:#52c41a;color:#fff}.issues-list .issue-item .issue-header .issue-level.ignore[data-v-ec33b01c]{background-color:#f0f0f0;color:#666}.issues-list .issue-item .issue-header .issue-auto[data-v-ec33b01c]{padding:4px 12px;border-radius:6px;font-size:14px;background-color:#f5f5f5;color:#666}.issues-list .issue-item .issue-header .issue-auto.supported[data-v-ec33b01c]{background-color:#e6f7ff;color:#07f}.issues-list .issue-item .issue-content[data-v-ec33b01c]{padding:20px}.issues-list .issue-item .issue-content .issue-ps[data-v-ec33b01c]{margin-bottom:15px;color:var(--color-text-2);font-size:16px;line-height:1.6}.issues-list .issue-item .issue-content .issue-tips[data-v-ec33b01c]{background-color:var(--home-risk-security-report-bg);padding:15px;border-radius:8px;border-left:4px solid #0077ff}.issues-list .issue-item .issue-content .issue-tips .tips-title[data-v-ec33b01c]{font-weight:500;margin-bottom:10px;font-size:16px;color:var(--color-text-2)}.issues-list .issue-item .issue-content .issue-tips .tips-content[data-v-ec33b01c]{color:var(--color-text-3);white-space:pre-line;line-height:1.6;font-size:15px}\n/*$vite$:1*/",document.head.appendChild(s);const n={class:"issues-list"},p=["item"],f={class:"issue-header"},m={class:"issue-number"},b=["innerHTML"],v={class:"issue-level medium"},g={class:"issue-content"},x={class:"issue-ps"},h={class:"issue-tips"},y=["innerHTML"],k={key:0,class:"pagination-note"};e("default",d(i({__name:"MidRiskSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(e){const s=e;return(e,i)=>(t(),a("div",n,[(t(!0),a(r,null,o(s.data,((e,s)=>(t(),a("div",{class:"issue-item medium",key:"medium-"+s,item:e},[u("div",f,[u("div",m,c(e.num),1),u("div",{class:"issue-name",innerHTML:e.name},null,8,b),u("div",v,c(e.level),1)]),u("div",g,[u("div",x,c(e.ps),1),u("div",h,[i[0]||(i[0]=u("div",{class:"tips-title"},"Solution:",-1)),u("div",{class:"tips-content",innerHTML:e.tips.replace(/\n/g,"
")},null,8,y)])])],8,p)))),128)),s.totalPages>1?(t(),a("div",k," Total "+c(s.totalPages)+" pages, current page "+c(s.pageIndex+1)+". ",1)):l("",!0)]))}}),[["__scopeId","data-v-ec33b01c"]]))}}})); diff --git a/BTPanel/static/vite/js/MidRiskSection-legacy-CQ3A4D4l.js b/BTPanel/static/vite/js/MidRiskSection-legacy-CQ3A4D4l.js deleted file mode 100644 index bb35c0bf..00000000 --- a/BTPanel/static/vite/js/MidRiskSection-legacy-CQ3A4D4l.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,s){"use strict";var i,t,a,r,o,u,c,l,d;return{setters:[e=>{i=e.k,t=e.$,a=e.Z,r=e.F,o=e.P,u=e._,c=e.aa,l=e.ak},e=>{d=e.c},null,null],execute:function(){var s=document.createElement("style");s.textContent=".issues-list .issue-item[data-v-ec33b01c]{margin-bottom:20px;border:2px solid #eee;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.1);page-break-inside:avoid}.issues-list .issue-item.high[data-v-ec33b01c]{border-left:6px solid #ff4d4f}.issues-list .issue-item.medium[data-v-ec33b01c]{border-left:6px solid #faad14}.issues-list .issue-item.low[data-v-ec33b01c]{border-left:6px solid #52c41a}.issues-list .issue-item.cve[data-v-ec33b01c]{border-left:6px solid #722ed1}.issues-list .issue-item.ignore[data-v-ec33b01c]{border-left:6px solid #999}.issues-list .issue-item .issue-header[data-v-ec33b01c]{display:flex;align-items:center;padding:15px 20px;background-color:var(--home-risk-security-report-bg)}.issues-list .issue-item .issue-header .issue-number[data-v-ec33b01c]{flex:0 0 40px;height:40px;border-radius:50%;background-color:#07f;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;margin-right:15px;font-size:16px}.issues-list .issue-item .issue-header .issue-name[data-v-ec33b01c]{flex:1;font-weight:500;font-size:16px}.issues-list .issue-item .issue-header .issue-level[data-v-ec33b01c]{padding:4px 12px;border-radius:6px;font-size:14px;margin-right:15px;font-weight:700}.issues-list .issue-item .issue-header .issue-level.high[data-v-ec33b01c]{background-color:#ff4d4f;color:#fff}.issues-list .issue-item .issue-header .issue-level.medium[data-v-ec33b01c]{background-color:#faad14;color:#fff}.issues-list .issue-item .issue-header .issue-level.low[data-v-ec33b01c]{background-color:#52c41a;color:#fff}.issues-list .issue-item .issue-header .issue-level.ignore[data-v-ec33b01c]{background-color:#f0f0f0;color:#666}.issues-list .issue-item .issue-header .issue-auto[data-v-ec33b01c]{padding:4px 12px;border-radius:6px;font-size:14px;background-color:#f5f5f5;color:#666}.issues-list .issue-item .issue-header .issue-auto.supported[data-v-ec33b01c]{background-color:#e6f7ff;color:#07f}.issues-list .issue-item .issue-content[data-v-ec33b01c]{padding:20px}.issues-list .issue-item .issue-content .issue-ps[data-v-ec33b01c]{margin-bottom:15px;color:var(--color-text-2);font-size:16px;line-height:1.6}.issues-list .issue-item .issue-content .issue-tips[data-v-ec33b01c]{background-color:var(--home-risk-security-report-bg);padding:15px;border-radius:8px;border-left:4px solid #0077ff}.issues-list .issue-item .issue-content .issue-tips .tips-title[data-v-ec33b01c]{font-weight:500;margin-bottom:10px;font-size:16px;color:var(--color-text-2)}.issues-list .issue-item .issue-content .issue-tips .tips-content[data-v-ec33b01c]{color:var(--color-text-3);white-space:pre-line;line-height:1.6;font-size:15px}\n/*$vite$:1*/",document.head.appendChild(s);const n={class:"issues-list"},p=["item"],f={class:"issue-header"},m={class:"issue-number"},b=["innerHTML"],v={class:"issue-level medium"},g={class:"issue-content"},x={class:"issue-ps"},h={class:"issue-tips"},y=["innerHTML"],k={key:0,class:"pagination-note"};e("default",d(i({__name:"MidRiskSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(e){const s=e;return(e,i)=>(t(),a("div",n,[(t(!0),a(r,null,o(s.data,((e,s)=>(t(),a("div",{class:"issue-item medium",key:"medium-"+s,item:e},[u("div",f,[u("div",m,c(e.num),1),u("div",{class:"issue-name",innerHTML:e.name},null,8,b),u("div",v,c(e.level),1)]),u("div",g,[u("div",x,c(e.ps),1),u("div",h,[i[0]||(i[0]=u("div",{class:"tips-title"},"Solution:",-1)),u("div",{class:"tips-content",innerHTML:e.tips.replace(/\n/g,"
")},null,8,y)])])],8,p)))),128)),s.totalPages>1?(t(),a("div",k," Total "+c(s.totalPages)+" pages, current page "+c(s.pageIndex+1)+". ",1)):l("",!0)]))}}),[["__scopeId","data-v-ec33b01c"]]))}}})); diff --git a/BTPanel/static/vite/js/PasteConfirm-DizgktiG.js b/BTPanel/static/vite/js/PasteConfirm-DizgktiG.js new file mode 100644 index 00000000..df219945 --- /dev/null +++ b/BTPanel/static/vite/js/PasteConfirm-DizgktiG.js @@ -0,0 +1 @@ +import{y as k,D as x,x as P}from"./index-LQ-JIYiv.js?v=1774508183068";import{y as V,S as B,t as F}from"./FileIcon-MbTGjXAj.js?v=1774508183068";import{C as R}from"./CalcVerify-gqHuJ9LB.js?v=1774508183068";import{k as b,i as S,r as a,al as T,$ as g,a8 as z,a9 as L,_ as N,a0 as r,S as s,X as D}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{af as U}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";const j={class:"paste-confirm-wrapper"},J=b({name:"PasteConfirm",__name:"PasteConfirm",setup(X,{expose:c}){const o=S("fileStore"),{currentPath:f,fileList:m,fileCopyCache:u,waitForPaste:p}=o,t=a(!1),i=T("calcVerifyRef"),n=a([]),_=a([{key:"nm",title:"File name",ellipsis:{tooltip:!0}},{key:"sz",title:"Size",width:120,render:e=>x(e.sz)},{key:"mt",title:"Last edit time",width:160,render:e=>P(e.mt)}]);function d(){t.value=!0,n.value=V(m.value,u.value)}function w(){t.value=!1}async function y(){var e;await((e=i.value)==null?void 0:e.validate()),await B(1,f.value),p.value=!1,F(o)}return c({open:d,close:w}),(e,l)=>{const h=U,v=k;return g(),z(v,{show:s(t),"onUpdate:show":l[0]||(l[0]=C=>D(t)?t.value=C:null),width:480,title:"The files will be overwritten",footer:!0,onConfirm:y},{default:L(()=>[N("div",j,[r(h,{columns:s(_),data:s(n)},null,8,["columns","data"]),r(R,{ref_key:"calcVerifyRef",ref:i,class:"mt-10px"},null,512)])]),_:1},8,["show"])}}});export{J as default}; diff --git a/BTPanel/static/vite/js/PasteConfirm-Hi99i3Nk.js b/BTPanel/static/vite/js/PasteConfirm-Hi99i3Nk.js deleted file mode 100644 index 4be9a10d..00000000 --- a/BTPanel/static/vite/js/PasteConfirm-Hi99i3Nk.js +++ /dev/null @@ -1 +0,0 @@ -import{x as k,C as x,w as P}from"./index-BTglIPU2.js?v=1773287522785";import{A as V,S as B,w as F}from"./FileIcon-eIHDRaxH.js?v=1773287522785";import{C as R}from"./CalcVerify-DzxM0pDk.js?v=1773287522785";import{k as b,i as S,r as a,al as T,$ as g,a8 as z,a9 as L,_ as N,a0 as r,S as s,X as U}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{at as j}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./soft-Cjyfamvm.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";const A={class:"paste-confirm-wrapper"},K=b({name:"PasteConfirm",__name:"PasteConfirm",setup(D,{expose:c}){const o=S("fileStore"),{currentPath:f,fileList:m,fileCopyCache:u,waitForPaste:p}=o,t=a(!1),i=T("calcVerifyRef"),n=a([]),_=a([{key:"nm",title:"File name",ellipsis:{tooltip:!0}},{key:"sz",title:"Size",width:120,render:e=>x(e.sz)},{key:"mt",title:"Last edit time",width:160,render:e=>P(e.mt)}]);function d(){t.value=!0,n.value=V(m.value,u.value)}function w(){t.value=!1}async function h(){var e;await((e=i.value)==null?void 0:e.validate()),await B(1,f.value),p.value=!1,F(o)}return c({open:d,close:w}),(e,l)=>{const v=j,y=k;return g(),z(y,{show:s(t),"onUpdate:show":l[0]||(l[0]=C=>U(t)?t.value=C:null),width:480,title:"The files will be overwritten",footer:!0,onConfirm:h},{default:L(()=>[N("div",A,[r(v,{columns:s(_),data:s(n)},null,8,["columns","data"]),r(R,{ref_key:"calcVerifyRef",ref:i,class:"mt-10px"},null,512)])]),_:1},8,["show"])}}});export{K as default}; diff --git a/BTPanel/static/vite/js/PasteConfirm-legacy-80qNkjfO.js b/BTPanel/static/vite/js/PasteConfirm-legacy-80qNkjfO.js new file mode 100644 index 00000000..aea710d0 --- /dev/null +++ b/BTPanel/static/vite/js/PasteConfirm-legacy-80qNkjfO.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./FileIcon-legacy-BZIg8aaH.js?v=1774508183068","./CalcVerify-legacy-CxmHmisN.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068"],(function(e,t){"use strict";var a,l,i,n,s,r,c,o,u,f,y,m,v,d,p,w,g,h,j;return{setters:[e=>{a=e.y,l=e.D,i=e.x},e=>{n=e.y,s=e.S,r=e.t},e=>{c=e.C},e=>{o=e.k,u=e.i,f=e.r,y=e.al,m=e.$,v=e.a8,d=e.a9,p=e._,w=e.a0,g=e.S,h=e.X},e=>{j=e.af},null,null],execute:function(){const t={class:"paste-confirm-wrapper"};e("default",o({name:"PasteConfirm",__name:"PasteConfirm",setup(e,{expose:o}){const C=u("fileStore"),{currentPath:k,fileList:x,fileCopyCache:S,waitForPaste:_}=C,P=f(!1),z=y("calcVerifyRef"),F=f([]),V=f([{key:"nm",title:"File name",ellipsis:{tooltip:!0}},{key:"sz",title:"Size",width:120,render:e=>l(e.sz)},{key:"mt",title:"Last edit time",width:160,render:e=>i(e.mt)}]);async function L(){await(z.value?.validate()),await s(1,k.value),_.value=!1,r(C)}return o({open:function(){P.value=!0,F.value=n(x.value,S.value)},close:function(){P.value=!1}}),(e,l)=>{const i=j,n=a;return m(),v(n,{show:g(P),"onUpdate:show":l[0]||(l[0]=e=>h(P)?P.value=e:null),width:480,title:"The files will be overwritten",footer:!0,onConfirm:L},{default:d((()=>[p("div",t,[w(i,{columns:g(V),data:g(F)},null,8,["columns","data"]),w(c,{ref_key:"calcVerifyRef",ref:z,class:"mt-10px"},null,512)])])),_:1},8,["show"])}}}))}}})); diff --git a/BTPanel/static/vite/js/PasteConfirm-legacy-wY3Z1P6M.js b/BTPanel/static/vite/js/PasteConfirm-legacy-wY3Z1P6M.js deleted file mode 100644 index cb004643..00000000 --- a/BTPanel/static/vite/js/PasteConfirm-legacy-wY3Z1P6M.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./FileIcon-legacy-CYrICTNK.js?v=1773287522785","./CalcVerify-legacy-BbIFaSDS.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./soft-legacy-CzxZ2w7j.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785"],(function(e,t){"use strict";var l,a,i,s,n,r,c,o,u,f,y,m,v,d,w,p,h,g,j;return{setters:[e=>{l=e.x,a=e.C,i=e.w},e=>{s=e.A,n=e.S,r=e.w},e=>{c=e.C},e=>{o=e.k,u=e.i,f=e.r,y=e.al,m=e.$,v=e.a8,d=e.a9,w=e._,p=e.a0,h=e.S,g=e.X},e=>{j=e.at},null,null,null],execute:function(){const t={class:"paste-confirm-wrapper"};e("default",o({name:"PasteConfirm",__name:"PasteConfirm",setup(e,{expose:o}){const C=u("fileStore"),{currentPath:k,fileList:x,fileCopyCache:S,waitForPaste:_}=C,P=f(!1),z=y("calcVerifyRef"),F=f([]),V=f([{key:"nm",title:"File name",ellipsis:{tooltip:!0}},{key:"sz",title:"Size",width:120,render:e=>a(e.sz)},{key:"mt",title:"Last edit time",width:160,render:e=>i(e.mt)}]);async function L(){await(z.value?.validate()),await n(1,k.value),_.value=!1,r(C)}return o({open:function(){P.value=!0,F.value=s(x.value,S.value)},close:function(){P.value=!1}}),(e,a)=>{const i=j,s=l;return m(),v(s,{show:h(P),"onUpdate:show":a[0]||(a[0]=e=>g(P)?P.value=e:null),width:480,title:"The files will be overwritten",footer:!0,onConfirm:L},{default:d((()=>[w("div",t,[p(i,{columns:h(V),data:h(F)},null,8,["columns","data"]),p(c,{ref_key:"calcVerifyRef",ref:z,class:"mt-10px"},null,512)])])),_:1},8,["show"])}}}))}}})); diff --git a/BTPanel/static/vite/js/PasteSingleConfirm-BtaF-MT0.js b/BTPanel/static/vite/js/PasteSingleConfirm-BtaF-MT0.js new file mode 100644 index 00000000..afbaf000 --- /dev/null +++ b/BTPanel/static/vite/js/PasteSingleConfirm-BtaF-MT0.js @@ -0,0 +1 @@ +import{D as R,x as g,y as V,h as j}from"./index-LQ-JIYiv.js?v=1774508183068";import{_ as x}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{y as b,T as D,U as L,t as M}from"./FileIcon-MbTGjXAj.js?v=1774508183068";import{k as q,R as E,i as I,r as X,e as A,$ as G,a8 as H,a9 as o,_ as f,a0 as s,S as n,j as h,aa as m,X as J}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a1 as K,a3 as O,a4 as Q,b as W}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";const Y={class:"p-20px"},Z={class:"w-240px"},re=q({name:"PasteSingleConfirm",__name:"PasteSingleConfirm",setup(ee,{expose:$}){const{t:_}=E(),c=I("fileStore"),{currentPath:d,fileList:v,fileCopyCache:w,copiedFile:F,waitForPaste:T}=c,i=X(!1),a=A({type:"rename",name:"",size:0,modifyTime:""}),N=e=>{const t=b(v.value,w.value);t.length&&(e==="overwrite"?a.name=t[0].nm:e==="rename"&&(a.name=y(t[0].nm)))},y=e=>e.replace(/\.(?=[^.]+$)/," - copy.");function k(){i.value=!0;const e=b(v.value,w.value);e.length==1&&(a.type="rename",a.name=y(e[0].nm),a.size=e[0].sz,a.modifyTime=g(e[0].mt))}function p(){i.value=!1}async function u(){await L(F.value.path,d.value+"/"+a.name),T.value=!1,M(c)}async function z(){if(a.type=="rename")return await D(d.value,a.name)?j({title:_("file.pasteConfirm.overwriteTitle"),content:_("file.pasteConfirm.overwriteMessage",[a.name]),onConfirm:async({hide:t})=>{await u(),t(),p()}}):(await u(),p()),!1;await u()}return $({open:k,close:p}),(e,t)=>{const C=Q,P=O,r=K,S=W,U=x,B=V;return G(),H(B,{show:n(i),"onUpdate:show":t[2]||(t[2]=l=>J(i)?i.value=l:null),width:440,title:e.$t("file.pasteConfirm.title"),footer:!0,onConfirm:z},{default:o(()=>[f("div",Y,[s(U,null,{default:o(()=>[s(r,{label:e.$t("file.pasteConfirm.operationType")},{default:o(()=>[s(P,{value:n(a).type,"onUpdate:value":[t[0]||(t[0]=l=>n(a).type=l),N]},{default:o(()=>[s(C,{value:"overwrite"},{default:o(()=>[h(m(e.$t("file.pasteConfirm.overwriteFile")),1)]),_:1}),s(C,{value:"rename"},{default:o(()=>[h(m(e.$t("file.pasteConfirm.renameFile")),1)]),_:1})]),_:1},8,["value"])]),_:1},8,["label"]),s(r,{label:e.$t("file.pasteConfirm.fileName")},{default:o(()=>[f("div",Z,[s(S,{value:n(a).name,"onUpdate:value":t[1]||(t[1]=l=>n(a).name=l),disabled:n(a).type=="overwrite",placeholder:""},null,8,["value","disabled"])])]),_:1},8,["label"]),s(r,{label:e.$t("file.pasteConfirm.size")},{default:o(()=>[f("span",null,m(n(R)(n(a).size)),1)]),_:1},8,["label"]),s(r,{label:e.$t("file.pasteConfirm.lastModified"),"show-feedback":!1},{default:o(()=>[f("span",null,m(n(g)(n(a).modifyTime)),1)]),_:1},8,["label"])]),_:1})])]),_:1},8,["show","title"])}}});export{re as default}; diff --git a/BTPanel/static/vite/js/PasteSingleConfirm-DmK9eFTs.js b/BTPanel/static/vite/js/PasteSingleConfirm-DmK9eFTs.js deleted file mode 100644 index a42e6d50..00000000 --- a/BTPanel/static/vite/js/PasteSingleConfirm-DmK9eFTs.js +++ /dev/null @@ -1 +0,0 @@ -import{C as R,w as g,x as V,h as j}from"./index-BTglIPU2.js?v=1773287522785";import{_ as x}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{A as b,T as L,U as M,w as q}from"./FileIcon-eIHDRaxH.js?v=1773287522785";import{k as A,R as D,i as E,r as I,e as X,$ as G,a8 as H,a9 as o,_ as m,a0 as s,S as n,j as h,aa as f,X as J}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as K,a3 as O,a4 as Q,b as W}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./soft-Cjyfamvm.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";const Y={class:"p-20px"},Z={class:"w-240px"},me=A({name:"PasteSingleConfirm",__name:"PasteSingleConfirm",setup(ee,{expose:$}){const{t:_}=D(),c=E("fileStore"),{currentPath:d,fileList:v,fileCopyCache:w,copiedFile:F,waitForPaste:T}=c,i=I(!1),a=X({type:"rename",name:"",size:0,modifyTime:""}),N=e=>{const t=b(v.value,w.value);t.length&&(e==="overwrite"?a.name=t[0].nm:e==="rename"&&(a.name=C(t[0].nm)))},C=e=>e.replace(/\.(?=[^.]+$)/," - copy.");function k(){i.value=!0;const e=b(v.value,w.value);e.length==1&&(a.type="rename",a.name=C(e[0].nm),a.size=e[0].sz,a.modifyTime=g(e[0].mt))}function p(){i.value=!1}async function u(){await M(F.value.path,d.value+"/"+a.name),T.value=!1,q(c)}async function z(){if(a.type=="rename")return await L(d.value,a.name)?j({title:_("file.pasteConfirm.overwriteTitle"),content:_("file.pasteConfirm.overwriteMessage",[a.name]),onConfirm:async({hide:t})=>{await u(),t(),p()}}):(await u(),p()),!1;await u()}return $({open:k,close:p}),(e,t)=>{const y=Q,P=O,r=K,S=W,U=x,B=V;return G(),H(B,{show:n(i),"onUpdate:show":t[2]||(t[2]=l=>J(i)?i.value=l:null),width:440,title:e.$t("file.pasteConfirm.title"),footer:!0,onConfirm:z},{default:o(()=>[m("div",Y,[s(U,null,{default:o(()=>[s(r,{label:e.$t("file.pasteConfirm.operationType")},{default:o(()=>[s(P,{value:n(a).type,"onUpdate:value":[t[0]||(t[0]=l=>n(a).type=l),N]},{default:o(()=>[s(y,{value:"overwrite"},{default:o(()=>[h(f(e.$t("file.pasteConfirm.overwriteFile")),1)]),_:1}),s(y,{value:"rename"},{default:o(()=>[h(f(e.$t("file.pasteConfirm.renameFile")),1)]),_:1})]),_:1},8,["value"])]),_:1},8,["label"]),s(r,{label:e.$t("file.pasteConfirm.fileName")},{default:o(()=>[m("div",Z,[s(S,{value:n(a).name,"onUpdate:value":t[1]||(t[1]=l=>n(a).name=l),disabled:n(a).type=="overwrite",placeholder:""},null,8,["value","disabled"])])]),_:1},8,["label"]),s(r,{label:e.$t("file.pasteConfirm.size")},{default:o(()=>[m("span",null,f(n(R)(n(a).size)),1)]),_:1},8,["label"]),s(r,{label:e.$t("file.pasteConfirm.lastModified"),"show-feedback":!1},{default:o(()=>[m("span",null,f(n(g)(n(a).modifyTime)),1)]),_:1},8,["label"])]),_:1})])]),_:1},8,["show","title"])}}});export{me as default}; diff --git a/BTPanel/static/vite/js/PasteSingleConfirm-legacy-BAwEwP4e.js b/BTPanel/static/vite/js/PasteSingleConfirm-legacy-BAwEwP4e.js deleted file mode 100644 index 7fb87811..00000000 --- a/BTPanel/static/vite/js/PasteSingleConfirm-legacy-BAwEwP4e.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./FileIcon-legacy-CYrICTNK.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./soft-legacy-CzxZ2w7j.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785"],(function(e,a){"use strict";var l,t,i,n,s,o,r,u,f,m,c,p,v,d,y,w,_,C,g,h,b,j,$,x,T,z,F;return{setters:[e=>{l=e.C,t=e.w,i=e.x,n=e.h},e=>{s=e._},e=>{o=e.A,r=e.T,u=e.U,f=e.w},e=>{m=e.k,c=e.R,p=e.i,v=e.r,d=e.e,y=e.$,w=e.a8,_=e.a9,C=e._,g=e.a0,h=e.S,b=e.j,j=e.aa,$=e.X},e=>{x=e.a1,T=e.a3,z=e.a4,F=e.b},null,null,null],execute:function(){const a={class:"p-20px"},S={class:"w-240px"};e("default",m({name:"PasteSingleConfirm",__name:"PasteSingleConfirm",setup(e,{expose:m}){const{t:P}=c(),U=p("fileStore"),{currentPath:k,fileList:M,fileCopyCache:A,copiedFile:E,waitForPaste:I}=U,L=v(!1),N=d({type:"rename",name:"",size:0,modifyTime:""}),R=e=>{const a=o(M.value,A.value);a.length&&("overwrite"===e?N.name=a[0].nm:"rename"===e&&(N.name=X(a[0].nm)))},X=e=>e.replace(/\.(?=[^.]+$)/," - copy.");function Z(){L.value=!1}async function q(){await u(E.value.path,k.value+"/"+N.name),I.value=!1,f(U)}async function B(){if("rename"==N.type)return await r(k.value,N.name)?n({title:P("file.pasteConfirm.overwriteTitle"),content:P("file.pasteConfirm.overwriteMessage",[N.name]),onConfirm:async({hide:e})=>{await q(),e(),Z()}}):(await q(),Z()),!1;await q()}return m({open:function(){L.value=!0;const e=o(M.value,A.value);1==e.length&&(N.type="rename",N.name=X(e[0].nm),N.size=e[0].sz,N.modifyTime=t(e[0].mt))},close:Z}),(e,n)=>{const o=z,r=T,u=x,f=F,m=s,c=i;return y(),w(c,{show:h(L),"onUpdate:show":n[2]||(n[2]=e=>$(L)?L.value=e:null),width:440,title:e.$t("file.pasteConfirm.title"),footer:!0,onConfirm:B},{default:_((()=>[C("div",a,[g(m,null,{default:_((()=>[g(u,{label:e.$t("file.pasteConfirm.operationType")},{default:_((()=>[g(r,{value:h(N).type,"onUpdate:value":[n[0]||(n[0]=e=>h(N).type=e),R]},{default:_((()=>[g(o,{value:"overwrite"},{default:_((()=>[b(j(e.$t("file.pasteConfirm.overwriteFile")),1)])),_:1}),g(o,{value:"rename"},{default:_((()=>[b(j(e.$t("file.pasteConfirm.renameFile")),1)])),_:1})])),_:1},8,["value"])])),_:1},8,["label"]),g(u,{label:e.$t("file.pasteConfirm.fileName")},{default:_((()=>[C("div",S,[g(f,{value:h(N).name,"onUpdate:value":n[1]||(n[1]=e=>h(N).name=e),disabled:"overwrite"==h(N).type,placeholder:""},null,8,["value","disabled"])])])),_:1},8,["label"]),g(u,{label:e.$t("file.pasteConfirm.size")},{default:_((()=>[C("span",null,j(h(l)(h(N).size)),1)])),_:1},8,["label"]),g(u,{label:e.$t("file.pasteConfirm.lastModified"),"show-feedback":!1},{default:_((()=>[C("span",null,j(h(t)(h(N).modifyTime)),1)])),_:1},8,["label"])])),_:1})])])),_:1},8,["show","title"])}}}))}}})); diff --git a/BTPanel/static/vite/js/PasteSingleConfirm-legacy-BnVcElx4.js b/BTPanel/static/vite/js/PasteSingleConfirm-legacy-BnVcElx4.js new file mode 100644 index 00000000..c03de4e5 --- /dev/null +++ b/BTPanel/static/vite/js/PasteSingleConfirm-legacy-BnVcElx4.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./FileIcon-legacy-BZIg8aaH.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068"],(function(e,a){"use strict";var l,t,i,n,s,o,r,u,f,m,p,c,v,d,y,_,w,g,C,h,b,j,$,x,T,z,F;return{setters:[e=>{l=e.D,t=e.x,i=e.y,n=e.h},e=>{s=e._},e=>{o=e.y,r=e.T,u=e.U,f=e.t},e=>{m=e.k,p=e.R,c=e.i,v=e.r,d=e.e,y=e.$,_=e.a8,w=e.a9,g=e._,C=e.a0,h=e.S,b=e.j,j=e.aa,$=e.X},e=>{x=e.a1,T=e.a3,z=e.a4,F=e.b},null,null],execute:function(){const a={class:"p-20px"},S={class:"w-240px"};e("default",m({name:"PasteSingleConfirm",__name:"PasteSingleConfirm",setup(e,{expose:m}){const{t:P}=p(),U=c("fileStore"),{currentPath:k,fileList:M,fileCopyCache:D,copiedFile:I,waitForPaste:L}=U,N=v(!1),R=d({type:"rename",name:"",size:0,modifyTime:""}),X=e=>{const a=o(M.value,D.value);a.length&&("overwrite"===e?R.name=a[0].nm:"rename"===e&&(R.name=Z(a[0].nm)))},Z=e=>e.replace(/\.(?=[^.]+$)/," - copy.");function q(){N.value=!1}async function A(){await u(I.value.path,k.value+"/"+R.name),L.value=!1,f(U)}async function B(){if("rename"==R.type)return await r(k.value,R.name)?n({title:P("file.pasteConfirm.overwriteTitle"),content:P("file.pasteConfirm.overwriteMessage",[R.name]),onConfirm:async({hide:e})=>{await A(),e(),q()}}):(await A(),q()),!1;await A()}return m({open:function(){N.value=!0;const e=o(M.value,D.value);1==e.length&&(R.type="rename",R.name=Z(e[0].nm),R.size=e[0].sz,R.modifyTime=t(e[0].mt))},close:q}),(e,n)=>{const o=z,r=T,u=x,f=F,m=s,p=i;return y(),_(p,{show:h(N),"onUpdate:show":n[2]||(n[2]=e=>$(N)?N.value=e:null),width:440,title:e.$t("file.pasteConfirm.title"),footer:!0,onConfirm:B},{default:w((()=>[g("div",a,[C(m,null,{default:w((()=>[C(u,{label:e.$t("file.pasteConfirm.operationType")},{default:w((()=>[C(r,{value:h(R).type,"onUpdate:value":[n[0]||(n[0]=e=>h(R).type=e),X]},{default:w((()=>[C(o,{value:"overwrite"},{default:w((()=>[b(j(e.$t("file.pasteConfirm.overwriteFile")),1)])),_:1}),C(o,{value:"rename"},{default:w((()=>[b(j(e.$t("file.pasteConfirm.renameFile")),1)])),_:1})])),_:1},8,["value"])])),_:1},8,["label"]),C(u,{label:e.$t("file.pasteConfirm.fileName")},{default:w((()=>[g("div",S,[C(f,{value:h(R).name,"onUpdate:value":n[1]||(n[1]=e=>h(R).name=e),disabled:"overwrite"==h(R).type,placeholder:""},null,8,["value","disabled"])])])),_:1},8,["label"]),C(u,{label:e.$t("file.pasteConfirm.size")},{default:w((()=>[g("span",null,j(h(l)(h(R).size)),1)])),_:1},8,["label"]),C(u,{label:e.$t("file.pasteConfirm.lastModified"),"show-feedback":!1},{default:w((()=>[g("span",null,j(h(t)(h(R).modifyTime)),1)])),_:1},8,["label"])])),_:1})])])),_:1},8,["show","title"])}}}))}}})); diff --git a/BTPanel/static/vite/js/Permission-BQBm1Ruo.js b/BTPanel/static/vite/js/Permission-BQBm1Ruo.js new file mode 100644 index 00000000..7d0f53ff --- /dev/null +++ b/BTPanel/static/vite/js/Permission-BQBm1Ruo.js @@ -0,0 +1 @@ +import{x as ne,av as _,h as L,l as ae,y as le,n as ue,c as re}from"./index-LQ-JIYiv.js?v=1774508183068";import{_ as pe}from"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import{u as ce}from"./useTableColumns-BpMo4f8r.js?v=1774508183068";import{t as me}from"./FileIcon-MbTGjXAj.js?v=1774508183068";import{a9 as de,B as fe,aW as ve,am as _e,b as ge,a6 as ke}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import{k as he,R as we,i as be,r as p,$ as O,Z as q,a0 as i,a9 as l,S as a,_ as o,L as W,aa as t,j as m,X as f,ak as Me,F as ye,n as $e}from"./vue-core-BlDeWrD6.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";import"./index-Dd5dC2sI.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";const Pe={class:"permission-wrapper"},Be={class:"tit"},Ce={key:0,class:"content"},Se={class:"backup-notice"},xe={class:"options"},Ve={class:"option-item"},Ne={class:"option-item group"},Ue={class:"option-item public"},Le={class:"other-settings"},Oe={class:"setting-item"},qe={class:"setting-item"},Fe={class:"setting-item"},Ae={key:1,class:"content"},De={class:"backup-notice"},Re={class:"confirm-backup-wrapper"},Te={class:"mb-10px"},je={class:"flex justify-start items-center gap-10px"},ze=he({__name:"Permission",setup(We,{expose:I}){const{t:u}=we(),F=be("fileStore"),{choosedKeys:E,fileList:G,currentPath:A}=F,g=p(!1),B=p(!1),h=p(""),D=p([]),C=p(!1),M=p("SetPermission"),v=p("777"),w=p("root"),k=p(1),c=p([]),y=p(["4","2","1"]),$=p(["4","2","1"]),P=p(["4","2","1"]),J=p([{label:"root",value:"root"},{label:"mysql",value:"mysql"},{label:"www",value:"www"}]),S=p(!1),K=p([{key:"name",title:u("file.permissionModal.name"),ellipsis:{tooltip:!0}},{key:"permission",title:u("file.permissionModal.permission")},{key:"owner",title:u("file.permissionModal.owner")},{key:"time",title:u("file.permissionModal.backupTime"),width:90,render:e=>ne(e.time,"yyyy-MM-dd")},ce({width:120,options:e=>[{label:u("file.permissionModal.restore"),onClick:()=>{ee(e.time)}},{label:u("Public.Btn.Delete"),onClick:()=>{se(e.id)}}]})]);I({open(){g.value=!0,c.value=G.value.filter(e=>E.value.includes(e.nm)),X()},close(){g.value=!1}});async function X(){C.value=!0;try{const e=await _.post("/files?action=GetFileAccess",{filename:c.value[0].path},{requestOptions:{isOriginalResult:!0}});v.value=String(e.message.chmod),w.value=e.message.chown,R(v.value)}finally{C.value=!1}}function x(e){M.value=e,e=="BackupList"&&T()}function V(){$e(()=>{const e=y.value.map(Number).reduce((d,r)=>Number(d)+r,0),s=$.value.map(Number).reduce((d,r)=>Number(d)+r,0),b=P.value.map(Number).reduce((d,r)=>Number(d)+r,0);v.value=String(e)+String(s)+String(b)})}function R(e){let[s,b,d]=e.split("");y.value=N(s),$.value=N(b),P.value=N(d)}function N(e){switch(e){case"7":return["4","2","1"];case"6":return["4","2"];case"5":return["4","1"];case"4":return["4"];case"3":return["2","1"];case"2":return["2"];case"1":return["1"];default:return[]}}async function Z(){c.value.length==1?await _.post("/files?action=SetFileAccess",{user:w.value,access:v.value,all:k.value?"True":"False",filename:c.value[0].path},{requestOptions:{loading:u("file.permissionModal.loading.modifyingPermission"),successMessage:!0}}):c.value.length>1&&await _.post("/files?action=SetBatchData",{user:w.value,access:v.value,all:k.value,path:A.value,data:JSON.stringify(c.value.map(e=>e.nm)),type:3}),me(F)}function H(){h.value="",B.value=!0}async function Q(){let e=A.value;c.value.length==1&&(e=c.value[0].path),await _.post("/files?action=back_path_permissions",{back_sub_dir:k.value,path:e,remark:h.value},{requestOptions:{loading:u("file.permissionModal.loading.backing"),successMessage:!0}}),h.value=""}async function T(){S.value=!0;try{const{message:e}=await _.post("/files?action=get_path_premissions",{path:c.value[0].path},{requestOptions:{isOriginalResult:!0}});ue(e)&&(D.value=e.map(s=>({id:Number(s[5]),name:s[4],permission:s[2],owner:s[1],time:s[3]})))}finally{S.value=!1}}async function Y(){L({title:u("file.permissionModal.fixPermissionTitle"),content:u("file.permissionModal.fixPermissionNote"),onConfirm:async()=>{await _.post("/files?action=fix_permissions",{path:c.value[0].path},{requestOptions:{loading:u("file.permissionModal.loading.fixingPermission"),successMessage:!0}}),g.value=!1}})}async function ee(e){L({title:u("file.permissionModal.confirmRestore"),content:u("file.permissionModal.restoreWarning"),onConfirm:async()=>{await _.post("/files?action=restore_path_permissions",{path:c.value[0].path,restore_sub_dir:k.value,date:e},{requestOptions:{loading:u("file.permissionModal.loading.restoring"),successMessage:!0}}),g.value=!1}})}async function se(e){L({title:u("file.permissionModal.confirmDelete"),content:u("file.permissionModal.deleteWarning"),onConfirm:async()=>{await _.post("/files?action=del_path_premissions",{id:e},{requestOptions:{loading:u("file.permissionModal.loading.deleting"),successMessage:!0}}),T()}})}return(e,s)=>{const b=ae,d=fe,r=_e,U=ve,j=ge,ie=ke,oe=pe,te=de,z=le;return O(),q(ye,null,[i(z,{show:a(g),"onUpdate:show":s[9]||(s[9]=n=>f(g)?g.value=n:null),title:e.$t("file.permissionModal.title")+" [".concat(a(c).length===1?a(c)[0].path:"Batch","]"),width:520,footer:!0,"confirm-text":e.$t("Public.Btn.Apply"),onConfirm:Z},{default:l(()=>[i(te,{show:a(C)},{default:l(()=>[o("div",Pe,[o("div",Be,[o("div",{class:W(["tit-item",{active:a(M)=="SetPermission"}]),onClick:s[0]||(s[0]=n=>x("SetPermission"))},t(e.$t("file.permissionModal.setPermission")),3),o("div",{class:W(["tit-item",{active:a(M)=="BackupList"}]),onClick:s[1]||(s[1]=n=>x("BackupList"))},t(e.$t("file.permissionModal.backupsList")),3)]),a(M)=="SetPermission"?(O(),q("div",Ce,[o("div",Se,[i(b,{name:"base-notice-yellow",size:"20"}),o("span",null,t(e.$t("file.permissionModal.noBackup")),1),i(d,{type:"primary",onClick:H},{default:l(()=>[m(t(e.$t("file.permissionModal.backup")),1)]),_:1}),i(d,{onClick:s[2]||(s[2]=n=>x("BackupList"))},{default:l(()=>[m(t(e.$t("file.permissionModal.restore")),1)]),_:1})]),o("div",xe,[o("div",Ve,[i(U,{class:"flex flex-col gap-10px",value:a(y),"onUpdate:value":s[3]||(s[3]=n=>f(y)?y.value=n:null),onUpdateValue:V},{default:l(()=>[i(r,{value:"4"},{default:l(()=>[m(t(e.$t("file.permissionModal.read")),1)]),_:1}),i(r,{value:"2"},{default:l(()=>[m(t(e.$t("file.permissionModal.write")),1)]),_:1}),i(r,{value:"1"},{default:l(()=>[m(t(e.$t("file.permissionModal.execute")),1)]),_:1})]),_:1},8,["value"])]),o("div",Ne,[i(U,{class:"flex flex-col gap-10px",value:a($),"onUpdate:value":s[4]||(s[4]=n=>f($)?$.value=n:null),onUpdateValue:V},{default:l(()=>[i(r,{value:"4"},{default:l(()=>[m(t(e.$t("file.permissionModal.read")),1)]),_:1}),i(r,{value:"2"},{default:l(()=>[m(t(e.$t("file.permissionModal.write")),1)]),_:1}),i(r,{value:"1"},{default:l(()=>[m(t(e.$t("file.permissionModal.execute")),1)]),_:1})]),_:1},8,["value"])]),o("div",Ue,[i(U,{class:"flex flex-col gap-10px",value:a(P),"onUpdate:value":s[5]||(s[5]=n=>f(P)?P.value=n:null),onUpdateValue:V},{default:l(()=>[i(r,{value:"4"},{default:l(()=>[m(t(e.$t("file.permissionModal.read")),1)]),_:1}),i(r,{value:"2"},{default:l(()=>[m(t(e.$t("file.permissionModal.write")),1)]),_:1}),i(r,{value:"1"},{default:l(()=>[m(t(e.$t("file.permissionModal.execute")),1)]),_:1})]),_:1},8,["value"])])]),o("div",Le,[o("div",Oe,[i(j,{class:"flex-1",style:{width:"50px"},value:a(v),"onUpdate:value":s[6]||(s[6]=n=>f(v)?v.value=n:null),onUpdateValue:R},null,8,["value"]),o("span",null,t(e.$t("file.permissionModal.permission"))+",",1)]),o("div",qe,[o("span",null,t(e.$t("file.permissionModal.owner")),1),i(ie,{class:"flex-1",style:{width:"50px"},options:a(J),value:a(w),"onUpdate:value":s[7]||(s[7]=n=>f(w)?w.value=n:null)},null,8,["options","value"])]),o("div",Fe,[i(r,{checked:a(k),"onUpdate:checked":s[8]||(s[8]=n=>f(k)?k.value=n:null),"checked-value":1,"unchecked-value":0},{default:l(()=>[m(t(e.$t("file.permissionModal.applyToSubdir")),1)]),_:1},8,["checked"])])])])):a(M)=="BackupList"?(O(),q("div",Ae,[o("div",De,[i(b,{name:"base-notice-yellow",size:"20"}),o("span",null,t(e.$t("file.permissionModal.fixAllPermissions")),1),i(d,{type:"primary",onClick:Y},{default:l(()=>[m(t(e.$t("file.permissionModal.fixPermissions")),1)]),_:1})]),i(oe,{loading:a(S),"max-height":160,data:a(D),columns:a(K)},null,8,["loading","data","columns"])])):Me("",!0)])]),_:1},8,["show"])]),_:1},8,["show","title","confirm-text"]),i(z,{show:a(B),"onUpdate:show":s[11]||(s[11]=n=>f(B)?B.value=n:null),title:e.$t("file.permissionModal.confirmBackup"),width:320,footer:!0,onConfirm:Q},{default:l(()=>[o("div",Re,[o("div",Te,t(e.$t("file.permissionModal.enterBackupName")),1),o("div",je,[o("span",null,t(e.$t("file.permissionModal.remarks")),1),i(j,{value:a(h),"onUpdate:value":s[10]||(s[10]=n=>f(h)?h.value=n:null),class:"flex-1"},null,8,["value"])])])]),_:1},8,["show","title"])],64)}}}),os=re(ze,[["__scopeId","data-v-49186f19"]]);export{os as default}; diff --git a/BTPanel/static/vite/js/Permission-CP8D3DP2.js b/BTPanel/static/vite/js/Permission-CP8D3DP2.js deleted file mode 100644 index 58080684..00000000 --- a/BTPanel/static/vite/js/Permission-CP8D3DP2.js +++ /dev/null @@ -1 +0,0 @@ -import{w as ne,as as _,h as L,l as ae,x as le,n as ue,c as re}from"./index-BTglIPU2.js?v=1773287522785";import{_ as pe}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{u as ce}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{w as me}from"./FileIcon-eIHDRaxH.js?v=1773287522785";import{a9 as de,B as fe,aW as ve,al as _e,b as ge,a6 as ke}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as he,R as we,i as be,r as p,$ as O,Z as q,a0 as i,a9 as l,S as a,_ as o,L as W,aa as t,j as m,X as f,ak as Me,F as ye,n as $e}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index-DIKmrNCq.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";import"./soft-Cjyfamvm.js?v=1773287522785";const Pe={class:"permission-wrapper"},Be={class:"tit"},Ce={key:0,class:"content"},Se={class:"backup-notice"},xe={class:"options"},Ve={class:"option-item"},Ne={class:"option-item group"},Ue={class:"option-item public"},Le={class:"other-settings"},Oe={class:"setting-item"},qe={class:"setting-item"},Fe={class:"setting-item"},Ae={key:1,class:"content"},De={class:"backup-notice"},Re={class:"confirm-backup-wrapper"},Te={class:"mb-10px"},je={class:"flex justify-start items-center gap-10px"},ze=he({__name:"Permission",setup(We,{expose:I}){const{t:u}=we(),F=be("fileStore"),{choosedKeys:E,fileList:G,currentPath:A}=F,g=p(!1),B=p(!1),h=p(""),D=p([]),C=p(!1),M=p("SetPermission"),v=p("777"),w=p("root"),k=p(1),c=p([]),y=p(["4","2","1"]),$=p(["4","2","1"]),P=p(["4","2","1"]),J=p([{label:"root",value:"root"},{label:"mysql",value:"mysql"},{label:"www",value:"www"}]),S=p(!1),K=p([{key:"name",title:u("file.permissionModal.name"),ellipsis:{tooltip:!0}},{key:"permission",title:u("file.permissionModal.permission")},{key:"owner",title:u("file.permissionModal.owner")},{key:"time",title:u("file.permissionModal.backupTime"),width:90,render:e=>ne(e.time,"yyyy-MM-dd")},ce({width:120,options:e=>[{label:u("file.permissionModal.restore"),onClick:()=>{ee(e.time)}},{label:u("Public.Btn.Delete"),onClick:()=>{se(e.id)}}]})]);I({open(){g.value=!0,c.value=G.value.filter(e=>E.value.includes(e.nm)),X()},close(){g.value=!1}});async function X(){C.value=!0;try{const e=await _.post("/files?action=GetFileAccess",{filename:c.value[0].path},{requestOptions:{isOriginalResult:!0}});v.value=String(e.message.chmod),w.value=e.message.chown,R(v.value)}finally{C.value=!1}}function x(e){M.value=e,e=="BackupList"&&T()}function V(){$e(()=>{const e=y.value.map(Number).reduce((d,r)=>Number(d)+r,0),s=$.value.map(Number).reduce((d,r)=>Number(d)+r,0),b=P.value.map(Number).reduce((d,r)=>Number(d)+r,0);v.value=String(e)+String(s)+String(b)})}function R(e){let[s,b,d]=e.split("");y.value=N(s),$.value=N(b),P.value=N(d)}function N(e){switch(e){case"7":return["4","2","1"];case"6":return["4","2"];case"5":return["4","1"];case"4":return["4"];case"3":return["2","1"];case"2":return["2"];case"1":return["1"];default:return[]}}async function Z(){c.value.length==1?await _.post("/files?action=SetFileAccess",{user:w.value,access:v.value,all:k.value?"True":"False",filename:c.value[0].path},{requestOptions:{loading:u("file.permissionModal.loading.modifyingPermission"),successMessage:!0}}):c.value.length>1&&await _.post("/files?action=SetBatchData",{user:w.value,access:v.value,all:k.value,path:A.value,data:JSON.stringify(c.value.map(e=>e.nm)),type:3}),me(F)}function H(){h.value="",B.value=!0}async function Q(){let e=A.value;c.value.length==1&&(e=c.value[0].path),await _.post("/files?action=back_path_permissions",{back_sub_dir:k.value,path:e,remark:h.value},{requestOptions:{loading:u("file.permissionModal.loading.backing"),successMessage:!0}}),h.value=""}async function T(){S.value=!0;try{const{message:e}=await _.post("/files?action=get_path_premissions",{path:c.value[0].path},{requestOptions:{isOriginalResult:!0}});ue(e)&&(D.value=e.map(s=>({id:Number(s[5]),name:s[4],permission:s[2],owner:s[1],time:s[3]})))}finally{S.value=!1}}async function Y(){L({title:u("file.permissionModal.fixPermissionTitle"),content:u("file.permissionModal.fixPermissionNote"),onConfirm:async()=>{await _.post("/files?action=fix_permissions",{path:c.value[0].path},{requestOptions:{loading:u("file.permissionModal.loading.fixingPermission"),successMessage:!0}}),g.value=!1}})}async function ee(e){L({title:u("file.permissionModal.confirmRestore"),content:u("file.permissionModal.restoreWarning"),onConfirm:async()=>{await _.post("/files?action=restore_path_permissions",{path:c.value[0].path,restore_sub_dir:k.value,date:e},{requestOptions:{loading:u("file.permissionModal.loading.restoring"),successMessage:!0}}),g.value=!1}})}async function se(e){L({title:u("file.permissionModal.confirmDelete"),content:u("file.permissionModal.deleteWarning"),onConfirm:async()=>{await _.post("/files?action=del_path_premissions",{id:e},{requestOptions:{loading:u("file.permissionModal.loading.deleting"),successMessage:!0}}),T()}})}return(e,s)=>{const b=ae,d=fe,r=_e,U=ve,j=ge,ie=ke,oe=pe,te=de,z=le;return O(),q(ye,null,[i(z,{show:a(g),"onUpdate:show":s[9]||(s[9]=n=>f(g)?g.value=n:null),title:e.$t("file.permissionModal.title")+" [".concat(a(c).length===1?a(c)[0].path:"Batch","]"),width:520,footer:!0,"confirm-text":e.$t("Public.Btn.Apply"),onConfirm:Z},{default:l(()=>[i(te,{show:a(C)},{default:l(()=>[o("div",Pe,[o("div",Be,[o("div",{class:W(["tit-item",{active:a(M)=="SetPermission"}]),onClick:s[0]||(s[0]=n=>x("SetPermission"))},t(e.$t("file.permissionModal.setPermission")),3),o("div",{class:W(["tit-item",{active:a(M)=="BackupList"}]),onClick:s[1]||(s[1]=n=>x("BackupList"))},t(e.$t("file.permissionModal.backupsList")),3)]),a(M)=="SetPermission"?(O(),q("div",Ce,[o("div",Se,[i(b,{name:"base-notice-yellow",size:"20"}),o("span",null,t(e.$t("file.permissionModal.noBackup")),1),i(d,{type:"primary",onClick:H},{default:l(()=>[m(t(e.$t("file.permissionModal.backup")),1)]),_:1}),i(d,{onClick:s[2]||(s[2]=n=>x("BackupList"))},{default:l(()=>[m(t(e.$t("file.permissionModal.restore")),1)]),_:1})]),o("div",xe,[o("div",Ve,[i(U,{class:"flex flex-col gap-10px",value:a(y),"onUpdate:value":s[3]||(s[3]=n=>f(y)?y.value=n:null),onUpdateValue:V},{default:l(()=>[i(r,{value:"4"},{default:l(()=>[m(t(e.$t("file.permissionModal.read")),1)]),_:1}),i(r,{value:"2"},{default:l(()=>[m(t(e.$t("file.permissionModal.write")),1)]),_:1}),i(r,{value:"1"},{default:l(()=>[m(t(e.$t("file.permissionModal.execute")),1)]),_:1})]),_:1},8,["value"])]),o("div",Ne,[i(U,{class:"flex flex-col gap-10px",value:a($),"onUpdate:value":s[4]||(s[4]=n=>f($)?$.value=n:null),onUpdateValue:V},{default:l(()=>[i(r,{value:"4"},{default:l(()=>[m(t(e.$t("file.permissionModal.read")),1)]),_:1}),i(r,{value:"2"},{default:l(()=>[m(t(e.$t("file.permissionModal.write")),1)]),_:1}),i(r,{value:"1"},{default:l(()=>[m(t(e.$t("file.permissionModal.execute")),1)]),_:1})]),_:1},8,["value"])]),o("div",Ue,[i(U,{class:"flex flex-col gap-10px",value:a(P),"onUpdate:value":s[5]||(s[5]=n=>f(P)?P.value=n:null),onUpdateValue:V},{default:l(()=>[i(r,{value:"4"},{default:l(()=>[m(t(e.$t("file.permissionModal.read")),1)]),_:1}),i(r,{value:"2"},{default:l(()=>[m(t(e.$t("file.permissionModal.write")),1)]),_:1}),i(r,{value:"1"},{default:l(()=>[m(t(e.$t("file.permissionModal.execute")),1)]),_:1})]),_:1},8,["value"])])]),o("div",Le,[o("div",Oe,[i(j,{class:"flex-1",style:{width:"50px"},value:a(v),"onUpdate:value":s[6]||(s[6]=n=>f(v)?v.value=n:null),onUpdateValue:R},null,8,["value"]),o("span",null,t(e.$t("file.permissionModal.permission"))+",",1)]),o("div",qe,[o("span",null,t(e.$t("file.permissionModal.owner")),1),i(ie,{class:"flex-1",style:{width:"50px"},options:a(J),value:a(w),"onUpdate:value":s[7]||(s[7]=n=>f(w)?w.value=n:null)},null,8,["options","value"])]),o("div",Fe,[i(r,{checked:a(k),"onUpdate:checked":s[8]||(s[8]=n=>f(k)?k.value=n:null),"checked-value":1,"unchecked-value":0},{default:l(()=>[m(t(e.$t("file.permissionModal.applyToSubdir")),1)]),_:1},8,["checked"])])])])):a(M)=="BackupList"?(O(),q("div",Ae,[o("div",De,[i(b,{name:"base-notice-yellow",size:"20"}),o("span",null,t(e.$t("file.permissionModal.fixAllPermissions")),1),i(d,{type:"primary",onClick:Y},{default:l(()=>[m(t(e.$t("file.permissionModal.fixPermissions")),1)]),_:1})]),i(oe,{loading:a(S),"max-height":160,data:a(D),columns:a(K)},null,8,["loading","data","columns"])])):Me("",!0)])]),_:1},8,["show"])]),_:1},8,["show","title","confirm-text"]),i(z,{show:a(B),"onUpdate:show":s[11]||(s[11]=n=>f(B)?B.value=n:null),title:e.$t("file.permissionModal.confirmBackup"),width:320,footer:!0,onConfirm:Q},{default:l(()=>[o("div",Re,[o("div",Te,t(e.$t("file.permissionModal.enterBackupName")),1),o("div",je,[o("span",null,t(e.$t("file.permissionModal.remarks")),1),i(j,{value:a(h),"onUpdate:value":s[10]||(s[10]=n=>f(h)?h.value=n:null),class:"flex-1"},null,8,["value"])])])]),_:1},8,["show","title"])],64)}}}),ts=re(ze,[["__scopeId","data-v-49186f19"]]);export{ts as default}; diff --git a/BTPanel/static/vite/js/Permission-legacy-B0WnDHWC.js b/BTPanel/static/vite/js/Permission-legacy-B0WnDHWC.js new file mode 100644 index 00000000..5e221047 --- /dev/null +++ b/BTPanel/static/vite/js/Permission-legacy-B0WnDHWC.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./FileIcon-legacy-BZIg8aaH.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068"],(function(e,i){"use strict";var a,t,l,s,n,o,r,p,c,u,d,m,f,v,g,x,w,b,y,h,k,_,M,$,j,P,C,S,U,B,O,N,q;return{setters:[e=>{a=e.x,t=e.av,l=e.h,s=e.l,n=e.y,o=e.n,r=e.c},e=>{p=e._},e=>{c=e.u},e=>{u=e.t},e=>{d=e.a9,m=e.B,f=e.aW,v=e.am,g=e.b,x=e.a6},e=>{w=e.k,b=e.R,y=e.i,h=e.r,k=e.$,_=e.Z,M=e.a0,$=e.a9,j=e.S,P=e._,C=e.L,S=e.aa,U=e.j,B=e.X,O=e.ak,N=e.F,q=e.n},null,null,null,null,null,null,null],execute:function(){var i=document.createElement("style");i.textContent='@charset "UTF-8";.modal-footer-btns[data-v-49186f19]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-49186f19]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.permission-wrapper[data-v-49186f19]{height:360px}.permission-wrapper .tit[data-v-49186f19]{height:46px;display:flex;align-items:center;flex-direction:row}.permission-wrapper .tit .tit-item[data-v-49186f19]{flex:1;line-height:46px;text-align:center;cursor:pointer;font-size:14px;background:var(--color-bg-3)}.permission-wrapper .tit .tit-item.active[data-v-49186f19]{background-color:var(--color-bg-2)}.permission-wrapper .content[data-v-49186f19]{padding:20px}.permission-wrapper .content .backup-notice[data-v-49186f19]{display:flex;align-items:center;flex-direction:row;gap:10px;padding:10px;margin-bottom:20px;background:var(--color-bg-3);border:1px solid var(--color-border);border-radius:10px}.permission-wrapper .content .options[data-v-49186f19]{display:flex;align-items:center;flex-direction:row;gap:20px;margin-bottom:20px}.permission-wrapper .content .options .option-item[data-v-49186f19]{flex:1;padding:15px 10px;border:1px solid var(--color-border);border-radius:5px;position:relative}.permission-wrapper .content .options .option-item[data-v-49186f19]:before{content:"Owner";display:block;width:auto;height:30px;padding:5px;position:absolute;left:10px;top:-15px;font-size:14px;background-color:var(--color-modal)}.permission-wrapper .content .options .option-item.group[data-v-49186f19]:before{content:"Group"}.permission-wrapper .content .options .option-item.public[data-v-49186f19]:before{content:"Public"}.permission-wrapper .content .other-settings[data-v-49186f19]{display:flex;align-items:center;flex-direction:row;gap:10px}.permission-wrapper .content .other-settings .setting-item[data-v-49186f19]{flex:1;display:flex;align-items:center;flex-direction:row;gap:10px}.permission-wrapper .content .backup-list[data-v-49186f19],.permission-wrapper .content .backup-list-item[data-v-49186f19]{display:flex;align-items:center;flex-direction:row;background:#f6f6f6;border:1px solid var(--color-border);padding:10px}.permission-wrapper .content .backup-list .name[data-v-49186f19],.permission-wrapper .content .backup-list-item .name[data-v-49186f19]{flex:1}.permission-wrapper .content .backup-list .permission[data-v-49186f19],.permission-wrapper .content .backup-list-item .permission[data-v-49186f19],.permission-wrapper .content .backup-list .owner[data-v-49186f19],.permission-wrapper .content .backup-list-item .owner[data-v-49186f19]{flex:1.5}.permission-wrapper .content .backup-list .backup-time[data-v-49186f19],.permission-wrapper .content .backup-list-item .backup-time[data-v-49186f19]{flex:2}.permission-wrapper .content .backup-list .opt[data-v-49186f19],.permission-wrapper .content .backup-list-item .opt[data-v-49186f19]{flex:3;text-align:right}.permission-wrapper .content .backup-list-item[data-v-49186f19]{border-top:none;background-color:#fff}.confirm-backup-wrapper[data-v-49186f19]{padding:20px}\n/*$vite$:1*/',document.head.appendChild(i);const L={class:"permission-wrapper"},F={class:"tit"},T={key:0,class:"content"},z={class:"backup-notice"},A={class:"options"},R={class:"option-item"},V={class:"option-item group"},D={class:"option-item public"},W={class:"other-settings"},G={class:"setting-item"},I={class:"setting-item"},E={class:"setting-item"},J={key:1,class:"content"},K={class:"backup-notice"},X={class:"confirm-backup-wrapper"},Z={class:"mb-10px"},H={class:"flex justify-start items-center gap-10px"};e("default",r(w({__name:"Permission",setup(e,{expose:i}){const{t:r}=b(),w=y("fileStore"),{choosedKeys:Q,fileList:Y,currentPath:ee}=w,ie=h(!1),ae=h(!1),te=h(""),le=h([]),se=h(!1),ne=h("SetPermission"),oe=h("777"),re=h("root"),pe=h(1),ce=h([]),ue=h(["4","2","1"]),de=h(["4","2","1"]),me=h(["4","2","1"]),fe=h([{label:"root",value:"root"},{label:"mysql",value:"mysql"},{label:"www",value:"www"}]),ve=h(!1),ge=h([{key:"name",title:r("file.permissionModal.name"),ellipsis:{tooltip:!0}},{key:"permission",title:r("file.permissionModal.permission")},{key:"owner",title:r("file.permissionModal.owner")},{key:"time",title:r("file.permissionModal.backupTime"),width:90,render:e=>a(e.time,"yyyy-MM-dd")},c({width:120,options:e=>[{label:r("file.permissionModal.restore"),onClick:()=>{!async function(e){l({title:r("file.permissionModal.confirmRestore"),content:r("file.permissionModal.restoreWarning"),onConfirm:async()=>{await t.post("/files?action=restore_path_permissions",{path:ce.value[0].path,restore_sub_dir:pe.value,date:e},{requestOptions:{loading:r("file.permissionModal.loading.restoring"),successMessage:!0}}),ie.value=!1}})}(e.time)}},{label:r("Public.Btn.Delete"),onClick:()=>{!async function(e){l({title:r("file.permissionModal.confirmDelete"),content:r("file.permissionModal.deleteWarning"),onConfirm:async()=>{await t.post("/files?action=del_path_premissions",{id:e},{requestOptions:{loading:r("file.permissionModal.loading.deleting"),successMessage:!0}}),Me()}})}(e.id)}}]})]);function xe(e){ne.value=e,"BackupList"==e&&Me()}function we(){q((()=>{const e=ue.value.map(Number).reduce(((e,i)=>Number(e)+i),0),i=de.value.map(Number).reduce(((e,i)=>Number(e)+i),0),a=me.value.map(Number).reduce(((e,i)=>Number(e)+i),0);oe.value=String(e)+String(i)+String(a)}))}function be(e){let[i,a,t]=e.split("");ue.value=ye(i),de.value=ye(a),me.value=ye(t)}function ye(e){switch(e){case"7":return["4","2","1"];case"6":return["4","2"];case"5":return["4","1"];case"4":return["4"];case"3":return["2","1"];case"2":return["2"];case"1":return["1"];default:return[]}}async function he(){1==ce.value.length?await t.post("/files?action=SetFileAccess",{user:re.value,access:oe.value,all:pe.value?"True":"False",filename:ce.value[0].path},{requestOptions:{loading:r("file.permissionModal.loading.modifyingPermission"),successMessage:!0}}):ce.value.length>1&&await t.post("/files?action=SetBatchData",{user:re.value,access:oe.value,all:pe.value,path:ee.value,data:JSON.stringify(ce.value.map((e=>e.nm))),type:3}),u(w)}function ke(){te.value="",ae.value=!0}async function _e(){let e=ee.value;1==ce.value.length&&(e=ce.value[0].path),await t.post("/files?action=back_path_permissions",{back_sub_dir:pe.value,path:e,remark:te.value},{requestOptions:{loading:r("file.permissionModal.loading.backing"),successMessage:!0}}),te.value=""}async function Me(){ve.value=!0;try{const{message:e}=await t.post("/files?action=get_path_premissions",{path:ce.value[0].path},{requestOptions:{isOriginalResult:!0}});o(e)&&(le.value=e.map((e=>({id:Number(e[5]),name:e[4],permission:e[2],owner:e[1],time:e[3]}))))}finally{ve.value=!1}}async function $e(){l({title:r("file.permissionModal.fixPermissionTitle"),content:r("file.permissionModal.fixPermissionNote"),onConfirm:async()=>{await t.post("/files?action=fix_permissions",{path:ce.value[0].path},{requestOptions:{loading:r("file.permissionModal.loading.fixingPermission"),successMessage:!0}}),ie.value=!1}})}return i({open(){ie.value=!0,ce.value=Y.value.filter((e=>Q.value.includes(e.nm))),async function(){se.value=!0;try{const e=await t.post("/files?action=GetFileAccess",{filename:ce.value[0].path},{requestOptions:{isOriginalResult:!0}});oe.value=String(e.message.chmod),re.value=e.message.chown,be(oe.value)}finally{se.value=!1}}()},close(){ie.value=!1}}),(e,i)=>{const a=s,t=m,l=v,o=f,r=g,c=x,u=p,w=d,b=n;return k(),_(N,null,[M(b,{show:j(ie),"onUpdate:show":i[9]||(i[9]=e=>B(ie)?ie.value=e:null),title:e.$t("file.permissionModal.title")+` [${1===j(ce).length?j(ce)[0].path:"Batch"}]`,width:520,footer:!0,"confirm-text":e.$t("Public.Btn.Apply"),onConfirm:he},{default:$((()=>[M(w,{show:j(se)},{default:$((()=>[P("div",L,[P("div",F,[P("div",{class:C(["tit-item",{active:"SetPermission"==j(ne)}]),onClick:i[0]||(i[0]=e=>xe("SetPermission"))},S(e.$t("file.permissionModal.setPermission")),3),P("div",{class:C(["tit-item",{active:"BackupList"==j(ne)}]),onClick:i[1]||(i[1]=e=>xe("BackupList"))},S(e.$t("file.permissionModal.backupsList")),3)]),"SetPermission"==j(ne)?(k(),_("div",T,[P("div",z,[M(a,{name:"base-notice-yellow",size:"20"}),P("span",null,S(e.$t("file.permissionModal.noBackup")),1),M(t,{type:"primary",onClick:ke},{default:$((()=>[U(S(e.$t("file.permissionModal.backup")),1)])),_:1}),M(t,{onClick:i[2]||(i[2]=e=>xe("BackupList"))},{default:$((()=>[U(S(e.$t("file.permissionModal.restore")),1)])),_:1})]),P("div",A,[P("div",R,[M(o,{class:"flex flex-col gap-10px",value:j(ue),"onUpdate:value":i[3]||(i[3]=e=>B(ue)?ue.value=e:null),onUpdateValue:we},{default:$((()=>[M(l,{value:"4"},{default:$((()=>[U(S(e.$t("file.permissionModal.read")),1)])),_:1}),M(l,{value:"2"},{default:$((()=>[U(S(e.$t("file.permissionModal.write")),1)])),_:1}),M(l,{value:"1"},{default:$((()=>[U(S(e.$t("file.permissionModal.execute")),1)])),_:1})])),_:1},8,["value"])]),P("div",V,[M(o,{class:"flex flex-col gap-10px",value:j(de),"onUpdate:value":i[4]||(i[4]=e=>B(de)?de.value=e:null),onUpdateValue:we},{default:$((()=>[M(l,{value:"4"},{default:$((()=>[U(S(e.$t("file.permissionModal.read")),1)])),_:1}),M(l,{value:"2"},{default:$((()=>[U(S(e.$t("file.permissionModal.write")),1)])),_:1}),M(l,{value:"1"},{default:$((()=>[U(S(e.$t("file.permissionModal.execute")),1)])),_:1})])),_:1},8,["value"])]),P("div",D,[M(o,{class:"flex flex-col gap-10px",value:j(me),"onUpdate:value":i[5]||(i[5]=e=>B(me)?me.value=e:null),onUpdateValue:we},{default:$((()=>[M(l,{value:"4"},{default:$((()=>[U(S(e.$t("file.permissionModal.read")),1)])),_:1}),M(l,{value:"2"},{default:$((()=>[U(S(e.$t("file.permissionModal.write")),1)])),_:1}),M(l,{value:"1"},{default:$((()=>[U(S(e.$t("file.permissionModal.execute")),1)])),_:1})])),_:1},8,["value"])])]),P("div",W,[P("div",G,[M(r,{class:"flex-1",style:{width:"50px"},value:j(oe),"onUpdate:value":i[6]||(i[6]=e=>B(oe)?oe.value=e:null),onUpdateValue:be},null,8,["value"]),P("span",null,S(e.$t("file.permissionModal.permission"))+",",1)]),P("div",I,[P("span",null,S(e.$t("file.permissionModal.owner")),1),M(c,{class:"flex-1",style:{width:"50px"},options:j(fe),value:j(re),"onUpdate:value":i[7]||(i[7]=e=>B(re)?re.value=e:null)},null,8,["options","value"])]),P("div",E,[M(l,{checked:j(pe),"onUpdate:checked":i[8]||(i[8]=e=>B(pe)?pe.value=e:null),"checked-value":1,"unchecked-value":0},{default:$((()=>[U(S(e.$t("file.permissionModal.applyToSubdir")),1)])),_:1},8,["checked"])])])])):"BackupList"==j(ne)?(k(),_("div",J,[P("div",K,[M(a,{name:"base-notice-yellow",size:"20"}),P("span",null,S(e.$t("file.permissionModal.fixAllPermissions")),1),M(t,{type:"primary",onClick:$e},{default:$((()=>[U(S(e.$t("file.permissionModal.fixPermissions")),1)])),_:1})]),M(u,{loading:j(ve),"max-height":160,data:j(le),columns:j(ge)},null,8,["loading","data","columns"])])):O("",!0)])])),_:1},8,["show"])])),_:1},8,["show","title","confirm-text"]),M(b,{show:j(ae),"onUpdate:show":i[11]||(i[11]=e=>B(ae)?ae.value=e:null),title:e.$t("file.permissionModal.confirmBackup"),width:320,footer:!0,onConfirm:_e},{default:$((()=>[P("div",X,[P("div",Z,S(e.$t("file.permissionModal.enterBackupName")),1),P("div",H,[P("span",null,S(e.$t("file.permissionModal.remarks")),1),M(r,{value:j(te),"onUpdate:value":i[10]||(i[10]=e=>B(te)?te.value=e:null),class:"flex-1"},null,8,["value"])])])])),_:1},8,["show","title"])],64)}}}),[["__scopeId","data-v-49186f19"]]))}}})); diff --git a/BTPanel/static/vite/js/Permission-legacy-B2p8CZwt.js b/BTPanel/static/vite/js/Permission-legacy-B2p8CZwt.js deleted file mode 100644 index fe416efa..00000000 --- a/BTPanel/static/vite/js/Permission-legacy-B2p8CZwt.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./FileIcon-legacy-CYrICTNK.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785","./soft-legacy-CzxZ2w7j.js?v=1773287522785"],(function(e,i){"use strict";var a,t,l,s,n,o,r,p,u,c,d,f,m,v,g,x,w,b,y,h,k,_,M,$,j,P,C,S,U,B,O,N,q;return{setters:[e=>{a=e.w,t=e.as,l=e.h,s=e.l,n=e.x,o=e.n,r=e.c},e=>{p=e._},e=>{u=e.u},e=>{c=e.w},e=>{d=e.a9,f=e.B,m=e.aW,v=e.al,g=e.b,x=e.a6},e=>{w=e.k,b=e.R,y=e.i,h=e.r,k=e.$,_=e.Z,M=e.a0,$=e.a9,j=e.S,P=e._,C=e.L,S=e.aa,U=e.j,B=e.X,O=e.ak,N=e.F,q=e.n},null,null,null,null,null,null,null,null],execute:function(){var i=document.createElement("style");i.textContent='@charset "UTF-8";.modal-footer-btns[data-v-49186f19]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-49186f19]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.permission-wrapper[data-v-49186f19]{height:360px}.permission-wrapper .tit[data-v-49186f19]{height:46px;display:flex;align-items:center;flex-direction:row}.permission-wrapper .tit .tit-item[data-v-49186f19]{flex:1;line-height:46px;text-align:center;cursor:pointer;font-size:14px;background:var(--color-bg-3)}.permission-wrapper .tit .tit-item.active[data-v-49186f19]{background-color:var(--color-bg-2)}.permission-wrapper .content[data-v-49186f19]{padding:20px}.permission-wrapper .content .backup-notice[data-v-49186f19]{display:flex;align-items:center;flex-direction:row;gap:10px;padding:10px;margin-bottom:20px;background:var(--color-bg-3);border:1px solid var(--color-border);border-radius:10px}.permission-wrapper .content .options[data-v-49186f19]{display:flex;align-items:center;flex-direction:row;gap:20px;margin-bottom:20px}.permission-wrapper .content .options .option-item[data-v-49186f19]{flex:1;padding:15px 10px;border:1px solid var(--color-border);border-radius:5px;position:relative}.permission-wrapper .content .options .option-item[data-v-49186f19]:before{content:"Owner";display:block;width:auto;height:30px;padding:5px;position:absolute;left:10px;top:-15px;font-size:14px;background-color:var(--color-modal)}.permission-wrapper .content .options .option-item.group[data-v-49186f19]:before{content:"Group"}.permission-wrapper .content .options .option-item.public[data-v-49186f19]:before{content:"Public"}.permission-wrapper .content .other-settings[data-v-49186f19]{display:flex;align-items:center;flex-direction:row;gap:10px}.permission-wrapper .content .other-settings .setting-item[data-v-49186f19]{flex:1;display:flex;align-items:center;flex-direction:row;gap:10px}.permission-wrapper .content .backup-list[data-v-49186f19],.permission-wrapper .content .backup-list-item[data-v-49186f19]{display:flex;align-items:center;flex-direction:row;background:#f6f6f6;border:1px solid var(--color-border);padding:10px}.permission-wrapper .content .backup-list .name[data-v-49186f19],.permission-wrapper .content .backup-list-item .name[data-v-49186f19]{flex:1}.permission-wrapper .content .backup-list .permission[data-v-49186f19],.permission-wrapper .content .backup-list-item .permission[data-v-49186f19],.permission-wrapper .content .backup-list .owner[data-v-49186f19],.permission-wrapper .content .backup-list-item .owner[data-v-49186f19]{flex:1.5}.permission-wrapper .content .backup-list .backup-time[data-v-49186f19],.permission-wrapper .content .backup-list-item .backup-time[data-v-49186f19]{flex:2}.permission-wrapper .content .backup-list .opt[data-v-49186f19],.permission-wrapper .content .backup-list-item .opt[data-v-49186f19]{flex:3;text-align:right}.permission-wrapper .content .backup-list-item[data-v-49186f19]{border-top:none;background-color:#fff}.confirm-backup-wrapper[data-v-49186f19]{padding:20px}\n/*$vite$:1*/',document.head.appendChild(i);const L={class:"permission-wrapper"},F={class:"tit"},T={key:0,class:"content"},z={class:"backup-notice"},A={class:"options"},R={class:"option-item"},V={class:"option-item group"},D={class:"option-item public"},W={class:"other-settings"},E={class:"setting-item"},G={class:"setting-item"},I={class:"setting-item"},J={key:1,class:"content"},K={class:"backup-notice"},X={class:"confirm-backup-wrapper"},Z={class:"mb-10px"},H={class:"flex justify-start items-center gap-10px"};e("default",r(w({__name:"Permission",setup(e,{expose:i}){const{t:r}=b(),w=y("fileStore"),{choosedKeys:Q,fileList:Y,currentPath:ee}=w,ie=h(!1),ae=h(!1),te=h(""),le=h([]),se=h(!1),ne=h("SetPermission"),oe=h("777"),re=h("root"),pe=h(1),ue=h([]),ce=h(["4","2","1"]),de=h(["4","2","1"]),fe=h(["4","2","1"]),me=h([{label:"root",value:"root"},{label:"mysql",value:"mysql"},{label:"www",value:"www"}]),ve=h(!1),ge=h([{key:"name",title:r("file.permissionModal.name"),ellipsis:{tooltip:!0}},{key:"permission",title:r("file.permissionModal.permission")},{key:"owner",title:r("file.permissionModal.owner")},{key:"time",title:r("file.permissionModal.backupTime"),width:90,render:e=>a(e.time,"yyyy-MM-dd")},u({width:120,options:e=>[{label:r("file.permissionModal.restore"),onClick:()=>{!async function(e){l({title:r("file.permissionModal.confirmRestore"),content:r("file.permissionModal.restoreWarning"),onConfirm:async()=>{await t.post("/files?action=restore_path_permissions",{path:ue.value[0].path,restore_sub_dir:pe.value,date:e},{requestOptions:{loading:r("file.permissionModal.loading.restoring"),successMessage:!0}}),ie.value=!1}})}(e.time)}},{label:r("Public.Btn.Delete"),onClick:()=>{!async function(e){l({title:r("file.permissionModal.confirmDelete"),content:r("file.permissionModal.deleteWarning"),onConfirm:async()=>{await t.post("/files?action=del_path_premissions",{id:e},{requestOptions:{loading:r("file.permissionModal.loading.deleting"),successMessage:!0}}),Me()}})}(e.id)}}]})]);function xe(e){ne.value=e,"BackupList"==e&&Me()}function we(){q((()=>{const e=ce.value.map(Number).reduce(((e,i)=>Number(e)+i),0),i=de.value.map(Number).reduce(((e,i)=>Number(e)+i),0),a=fe.value.map(Number).reduce(((e,i)=>Number(e)+i),0);oe.value=String(e)+String(i)+String(a)}))}function be(e){let[i,a,t]=e.split("");ce.value=ye(i),de.value=ye(a),fe.value=ye(t)}function ye(e){switch(e){case"7":return["4","2","1"];case"6":return["4","2"];case"5":return["4","1"];case"4":return["4"];case"3":return["2","1"];case"2":return["2"];case"1":return["1"];default:return[]}}async function he(){1==ue.value.length?await t.post("/files?action=SetFileAccess",{user:re.value,access:oe.value,all:pe.value?"True":"False",filename:ue.value[0].path},{requestOptions:{loading:r("file.permissionModal.loading.modifyingPermission"),successMessage:!0}}):ue.value.length>1&&await t.post("/files?action=SetBatchData",{user:re.value,access:oe.value,all:pe.value,path:ee.value,data:JSON.stringify(ue.value.map((e=>e.nm))),type:3}),c(w)}function ke(){te.value="",ae.value=!0}async function _e(){let e=ee.value;1==ue.value.length&&(e=ue.value[0].path),await t.post("/files?action=back_path_permissions",{back_sub_dir:pe.value,path:e,remark:te.value},{requestOptions:{loading:r("file.permissionModal.loading.backing"),successMessage:!0}}),te.value=""}async function Me(){ve.value=!0;try{const{message:e}=await t.post("/files?action=get_path_premissions",{path:ue.value[0].path},{requestOptions:{isOriginalResult:!0}});o(e)&&(le.value=e.map((e=>({id:Number(e[5]),name:e[4],permission:e[2],owner:e[1],time:e[3]}))))}finally{ve.value=!1}}async function $e(){l({title:r("file.permissionModal.fixPermissionTitle"),content:r("file.permissionModal.fixPermissionNote"),onConfirm:async()=>{await t.post("/files?action=fix_permissions",{path:ue.value[0].path},{requestOptions:{loading:r("file.permissionModal.loading.fixingPermission"),successMessage:!0}}),ie.value=!1}})}return i({open(){ie.value=!0,ue.value=Y.value.filter((e=>Q.value.includes(e.nm))),async function(){se.value=!0;try{const e=await t.post("/files?action=GetFileAccess",{filename:ue.value[0].path},{requestOptions:{isOriginalResult:!0}});oe.value=String(e.message.chmod),re.value=e.message.chown,be(oe.value)}finally{se.value=!1}}()},close(){ie.value=!1}}),(e,i)=>{const a=s,t=f,l=v,o=m,r=g,u=x,c=p,w=d,b=n;return k(),_(N,null,[M(b,{show:j(ie),"onUpdate:show":i[9]||(i[9]=e=>B(ie)?ie.value=e:null),title:e.$t("file.permissionModal.title")+` [${1===j(ue).length?j(ue)[0].path:"Batch"}]`,width:520,footer:!0,"confirm-text":e.$t("Public.Btn.Apply"),onConfirm:he},{default:$((()=>[M(w,{show:j(se)},{default:$((()=>[P("div",L,[P("div",F,[P("div",{class:C(["tit-item",{active:"SetPermission"==j(ne)}]),onClick:i[0]||(i[0]=e=>xe("SetPermission"))},S(e.$t("file.permissionModal.setPermission")),3),P("div",{class:C(["tit-item",{active:"BackupList"==j(ne)}]),onClick:i[1]||(i[1]=e=>xe("BackupList"))},S(e.$t("file.permissionModal.backupsList")),3)]),"SetPermission"==j(ne)?(k(),_("div",T,[P("div",z,[M(a,{name:"base-notice-yellow",size:"20"}),P("span",null,S(e.$t("file.permissionModal.noBackup")),1),M(t,{type:"primary",onClick:ke},{default:$((()=>[U(S(e.$t("file.permissionModal.backup")),1)])),_:1}),M(t,{onClick:i[2]||(i[2]=e=>xe("BackupList"))},{default:$((()=>[U(S(e.$t("file.permissionModal.restore")),1)])),_:1})]),P("div",A,[P("div",R,[M(o,{class:"flex flex-col gap-10px",value:j(ce),"onUpdate:value":i[3]||(i[3]=e=>B(ce)?ce.value=e:null),onUpdateValue:we},{default:$((()=>[M(l,{value:"4"},{default:$((()=>[U(S(e.$t("file.permissionModal.read")),1)])),_:1}),M(l,{value:"2"},{default:$((()=>[U(S(e.$t("file.permissionModal.write")),1)])),_:1}),M(l,{value:"1"},{default:$((()=>[U(S(e.$t("file.permissionModal.execute")),1)])),_:1})])),_:1},8,["value"])]),P("div",V,[M(o,{class:"flex flex-col gap-10px",value:j(de),"onUpdate:value":i[4]||(i[4]=e=>B(de)?de.value=e:null),onUpdateValue:we},{default:$((()=>[M(l,{value:"4"},{default:$((()=>[U(S(e.$t("file.permissionModal.read")),1)])),_:1}),M(l,{value:"2"},{default:$((()=>[U(S(e.$t("file.permissionModal.write")),1)])),_:1}),M(l,{value:"1"},{default:$((()=>[U(S(e.$t("file.permissionModal.execute")),1)])),_:1})])),_:1},8,["value"])]),P("div",D,[M(o,{class:"flex flex-col gap-10px",value:j(fe),"onUpdate:value":i[5]||(i[5]=e=>B(fe)?fe.value=e:null),onUpdateValue:we},{default:$((()=>[M(l,{value:"4"},{default:$((()=>[U(S(e.$t("file.permissionModal.read")),1)])),_:1}),M(l,{value:"2"},{default:$((()=>[U(S(e.$t("file.permissionModal.write")),1)])),_:1}),M(l,{value:"1"},{default:$((()=>[U(S(e.$t("file.permissionModal.execute")),1)])),_:1})])),_:1},8,["value"])])]),P("div",W,[P("div",E,[M(r,{class:"flex-1",style:{width:"50px"},value:j(oe),"onUpdate:value":i[6]||(i[6]=e=>B(oe)?oe.value=e:null),onUpdateValue:be},null,8,["value"]),P("span",null,S(e.$t("file.permissionModal.permission"))+",",1)]),P("div",G,[P("span",null,S(e.$t("file.permissionModal.owner")),1),M(u,{class:"flex-1",style:{width:"50px"},options:j(me),value:j(re),"onUpdate:value":i[7]||(i[7]=e=>B(re)?re.value=e:null)},null,8,["options","value"])]),P("div",I,[M(l,{checked:j(pe),"onUpdate:checked":i[8]||(i[8]=e=>B(pe)?pe.value=e:null),"checked-value":1,"unchecked-value":0},{default:$((()=>[U(S(e.$t("file.permissionModal.applyToSubdir")),1)])),_:1},8,["checked"])])])])):"BackupList"==j(ne)?(k(),_("div",J,[P("div",K,[M(a,{name:"base-notice-yellow",size:"20"}),P("span",null,S(e.$t("file.permissionModal.fixAllPermissions")),1),M(t,{type:"primary",onClick:$e},{default:$((()=>[U(S(e.$t("file.permissionModal.fixPermissions")),1)])),_:1})]),M(c,{loading:j(ve),"max-height":160,data:j(le),columns:j(ge)},null,8,["loading","data","columns"])])):O("",!0)])])),_:1},8,["show"])])),_:1},8,["show","title","confirm-text"]),M(b,{show:j(ae),"onUpdate:show":i[11]||(i[11]=e=>B(ae)?ae.value=e:null),title:e.$t("file.permissionModal.confirmBackup"),width:320,footer:!0,onConfirm:_e},{default:$((()=>[P("div",X,[P("div",Z,S(e.$t("file.permissionModal.enterBackupName")),1),P("div",H,[P("span",null,S(e.$t("file.permissionModal.remarks")),1),M(r,{value:j(te),"onUpdate:value":i[10]||(i[10]=e=>B(te)?te.value=e:null),class:"flex-1"},null,8,["value"])])])])),_:1},8,["show","title"])],64)}}}),[["__scopeId","data-v-49186f19"]]))}}})); diff --git a/BTPanel/static/vite/js/Properties-DNsIf3wo.js b/BTPanel/static/vite/js/Properties-DNsIf3wo.js new file mode 100644 index 00000000..29ad1cfd --- /dev/null +++ b/BTPanel/static/vite/js/Properties-DNsIf3wo.js @@ -0,0 +1 @@ +import{x as p,D as $,av as b,i as A,h as E,m as g,l as W,y as K,c as X}from"./index-LQ-JIYiv.js?v=1774508183068";import{_ as Z}from"./index-DjU5tKNP.js?v=1774508183068";import{c as G}from"./copy-DTOfN-dY.js?v=1774508183068";import{u as J}from"./useTableColumns-BpMo4f8r.js?v=1774508183068";import{W as Q,F as Y}from"./FileIcon-MbTGjXAj.js?v=1774508183068";import{a9 as x,$ as ee,b as te,a0 as se,n as ie,b4 as oe,af as le}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import{k as ne,R as ae,i as re,r as _,c as pe,a0 as l,F as de,aw as ue,$ as w,a8 as _e,a9 as r,_ as e,S as i,X as k,aa as t,j as ce,l as me,Z as fe}from"./vue-core-BlDeWrD6.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./index-Dd5dC2sI.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";const ve={class:"properties-wrapper"},he={class:"content"},$e={class:"info-group"},ge={class:"info-item h-60px"},ye={class:"info-item-label"},be={class:"info-item-value"},we={class:"w-360px"},ke={class:"my-10px"},Te={class:"info-group"},ze={class:"info-item"},Ce={class:"info-item-label"},Fe={class:"info-item-value"},Ne={class:"info-item"},De={class:"info-item-label"},Ie={class:"info-item-value flex"},Pe={class:"max-w-300px"},Be={class:"info-item",style:{"margin-bottom":"0"}},He={class:"info-item-label"},Oe={class:"info-item-value"},Re={class:"my-10px"},Se={class:"info-group"},Ve={class:"info-item"},je={class:"info-item-label"},qe={class:"info-item-value"},Le={class:"info-item"},Me={class:"info-item-label"},Ue={class:"info-item-value"},Ae={class:"info-item",style:{"margin-bottom":"0"}},Ee={class:"info-item-label"},We={class:"info-item-value"},Ke={class:"my-10px"},Xe={class:"info-group"},Ze={class:"info-item"},Ge={class:"info-item-label"},Je={class:"info-item-value"},Qe={class:"info-item"},Ye={class:"info-item-label"},xe={class:"info-item-value"},et={class:"content overflow-auto"},tt={width:"200"},st={class:"content"},it=ne({__name:"Properties",setup(ot,{expose:T}){const{t:n}=ae(),z=re("fileStore"),{choosedKeys:C,fileList:F,currentPath:N}=z,d=_(!1),c=_("general"),m=_(!1),o=_({st_atime:0,st_mtime:0,st_ctime:0}),y=pe(()=>o.value.path?"".concat(o.value.path,"/").concat(o.value.name):"--"),D=_([{key:"st_mtime",title:()=>n("file.properties.modifiedTime"),width:154,render:s=>p(s.st_mtime)},{key:"st_size",title:()=>n("file.properties.size"),width:80,render:s=>$(s.st_size)},{key:"md5",title:()=>n("file.properties.md5"),ellipsis:{tooltip:!0}},J({width:110,options:s=>[{label:n("file.properties.view"),onClick:()=>{O(s)}},{label:n("file.properties.restore"),onClick:()=>{B(s)}}]})]),I=()=>{G(y.value)};T({open(){d.value=!0;const s=F.value.find(a=>a.nm==C.value[0]);P(s.path)},close(){d.value=!1}});async function P(s){m.value=!0;try{const{message:a}=await b.post("/files?action=get_file_attribute",{filename:s},{requestOptions:{isOriginalResult:!0}});A(a)&&(o.value=a)}finally{m.value=!1}}async function B(s){E({title:n("file.properties.restoreHistoryFiles"),width:480,content:()=>l(de,null,[l("div",null,[n("file.properties.restoreHistoryConfirm",{time:p(s.st_mtime)})]),l("div",{class:"mt-8px text-12px text-default leading-[1.4]"},[n("file.properties.restoreHistoryWarning")])]),onConfirm:async()=>{await H("".concat(o.value.path,"/").concat(o.value.name),s.st_mtime)}})}async function H(s,a){const f=g.loading(n("file.properties.restoring"));try{const{status:u}=await b.post("/files?action=re_history",{filename:s,history:a},{requestOptions:{errorMessage:!1}});u===0?g.success(n("file.properties.restoreSuccess")):g.error(n("file.properties.restoreFailed"))}finally{f.close()}}async function O(s){Q(s.history_file,N.value)}return(s,a)=>{const f=te,u=se,R=ie,S=W,v=ee,V=oe,j=le,q=Z,L=x,M=K,U=ue("table");return w(),_e(M,{show:i(d),"onUpdate:show":a[1]||(a[1]=h=>k(d)?d.value=h:null),width:580,title:"[".concat(i(o).name,"] - ").concat(s.$t("file.properties.fileProperties"))},{default:r(()=>[e("div",ve,[l(L,{show:i(m)},{default:r(()=>[l(q,{value:i(c),"onUpdate:value":a[0]||(a[0]=h=>k(c)?c.value=h:null)},{default:r(()=>[l(v,{name:"general",tab:s.$t("file.properties.general")},{default:r(()=>[e("div",he,[e("div",$e,[e("div",ge,[e("div",ye,[l(Y,{ext:"".concat(i(o).st_type),size:"large"},null,8,["ext"])]),e("div",be,[e("div",we,[l(f,{value:i(o).name,readonly:""},null,8,["value"])])])])]),e("div",ke,[l(u)]),e("div",Te,[e("div",ze,[e("div",Ce,t(s.$t("file.properties.type"))+":",1),e("div",Fe,t(i(o).st_type),1)]),e("div",Ne,[e("div",De,t(s.$t("file.properties.location"))+":",1),e("div",Ie,[e("div",Pe,[l(R,null,{default:r(()=>[ce(t(i(y)),1)]),_:1})]),l(S,{class:"ml-10px cursor-pointer",name:"common-copy",size:"14",onClick:I})])]),e("div",Be,[e("div",He,t(s.$t("file.properties.size"))+":",1),e("div",Oe,t(i($)(i(o).st_size)),1)])]),e("div",Re,[l(u)]),e("div",Se,[e("div",Ve,[e("div",je,t(s.$t("file.properties.permissions"))+":",1),e("div",qe,t(i(o).mode),1)]),e("div",Le,[e("div",Me,t(s.$t("file.properties.group"))+":",1),e("div",Ue,t(i(o).group),1)]),e("div",Ae,[e("div",Ee,t(s.$t("file.properties.user"))+":",1),e("div",We,t(i(o).user),1)])]),e("div",Ke,[l(u)]),e("div",Xe,[e("div",Ze,[e("div",Ge,t(s.$t("file.properties.visitTime"))+":",1),e("div",Je,t(i(p)(i(o).st_atime)),1)]),e("div",Qe,[e("div",Ye,t(s.$t("file.properties.modifiedTime"))+":",1),e("div",xe,t(i(p)(i(o).st_mtime)),1)])])])]),_:1},8,["tab"]),l(v,{name:"details",tab:s.$t("file.properties.details")},{default:r(()=>[me((w(),fe("div",et,[l(V,null,{default:r(()=>[e("thead",null,[e("tr",null,[e("th",tt,t(s.$t("file.properties.name")),1),e("th",null,t(s.$t("file.properties.value")),1)])]),e("tbody",null,[e("tr",null,[e("td",null,t(s.$t("file.properties.name")),1),e("td",null,t(i(o).name),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.type")),1),e("td",null,t(i(o).st_type),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.location")),1),e("td",null,t(i(o).path),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.size")),1),e("td",null,t(i($)(i(o).st_size)),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.visitTime")),1),e("td",null,t(i(p)(i(o).st_atime)),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.modifiedTime")),1),e("td",null,t(i(p)(i(o).st_mtime)),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.metadataModificationTime")),1),e("td",null,t(i(p)(i(o).st_mtime)),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.md5")),1),e("td",null,t(i(o).md5),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.sha1")),1),e("td",null,t(i(o).sha1),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.user")),1),e("td",null,t(i(o).user),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.group")),1),e("td",null,t(i(o).group),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.permissions")),1),e("td",null,t(i(o).mode),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.uid")),1),e("td",null,t(i(o).st_uid),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.gid")),1),e("td",null,t(i(o).st_gid),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.numOfInodeLinks")),1),e("td",null,t(Number(i(o).is_link)),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.inodeNodeNum")),1),e("td",null,t(i(o).st_ino),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.inodeProtectionMode")),1),e("td",null,t(i(o).st_mode),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.inodeResidentDevice")),1),e("td",null,t(i(o).st_dev),1)])])]),_:1})])),[[U]])]),_:1},8,["tab"]),l(v,{name:"history",tab:s.$t("file.properties.history")},{default:r(()=>[e("div",st,[l(j,{"max-height":"386px",columns:i(D),data:i(o).history||[]},null,8,["columns","data"])])]),_:1},8,["tab"])]),_:1},8,["value"])]),_:1},8,["show"])])]),_:1},8,["show","title"])}}}),ht=X(it,[["__scopeId","data-v-80434e12"]]);export{ht as default}; diff --git a/BTPanel/static/vite/js/Properties-DUW_wpQJ.js b/BTPanel/static/vite/js/Properties-DUW_wpQJ.js deleted file mode 100644 index 631d6eb2..00000000 --- a/BTPanel/static/vite/js/Properties-DUW_wpQJ.js +++ /dev/null @@ -1 +0,0 @@ -import{w as p,C as $,as as b,i as A,h as E,m as g,l as W,x as K,c as X}from"./index-BTglIPU2.js?v=1773287522785";import{_ as Z}from"./index-BRQskX9P.js?v=1773287522785";import{c as G}from"./copy-D-wIKr0q.js?v=1773287522785";import{u as J}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{W as Q,F as Y}from"./FileIcon-eIHDRaxH.js?v=1773287522785";import{a9 as x,$ as ee,b as te,a0 as se,n as ie,b4 as oe,at as le}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as ne,R as ae,i as re,r as _,c as pe,a0 as l,F as de,aw as ue,$ as w,a8 as _e,a9 as r,_ as e,S as i,X as k,aa as t,j as ce,l as me,Z as fe}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./index-DIKmrNCq.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";import"./soft-Cjyfamvm.js?v=1773287522785";const ve={class:"properties-wrapper"},he={class:"content"},$e={class:"info-group"},ge={class:"info-item h-60px"},ye={class:"info-item-label"},be={class:"info-item-value"},we={class:"w-360px"},ke={class:"my-10px"},Ce={class:"info-group"},Te={class:"info-item"},ze={class:"info-item-label"},Fe={class:"info-item-value"},Ne={class:"info-item"},Ie={class:"info-item-label"},Pe={class:"info-item-value flex"},Be={class:"max-w-300px"},De={class:"info-item",style:{"margin-bottom":"0"}},He={class:"info-item-label"},Oe={class:"info-item-value"},Re={class:"my-10px"},Se={class:"info-group"},Ve={class:"info-item"},je={class:"info-item-label"},qe={class:"info-item-value"},Le={class:"info-item"},Me={class:"info-item-label"},Ue={class:"info-item-value"},Ae={class:"info-item",style:{"margin-bottom":"0"}},Ee={class:"info-item-label"},We={class:"info-item-value"},Ke={class:"my-10px"},Xe={class:"info-group"},Ze={class:"info-item"},Ge={class:"info-item-label"},Je={class:"info-item-value"},Qe={class:"info-item"},Ye={class:"info-item-label"},xe={class:"info-item-value"},et={class:"content overflow-auto"},tt={width:"200"},st={class:"content"},it=ne({__name:"Properties",setup(ot,{expose:C}){const{t:n}=ae(),T=re("fileStore"),{choosedKeys:z,fileList:F,currentPath:N}=T,d=_(!1),c=_("general"),m=_(!1),o=_({st_atime:0,st_mtime:0,st_ctime:0}),y=pe(()=>o.value.path?"".concat(o.value.path,"/").concat(o.value.name):"--"),I=_([{key:"st_mtime",title:()=>n("file.properties.modifiedTime"),width:154,render:s=>p(s.st_mtime)},{key:"st_size",title:()=>n("file.properties.size"),width:80,render:s=>$(s.st_size)},{key:"md5",title:()=>n("file.properties.md5"),ellipsis:{tooltip:!0}},J({width:110,options:s=>[{label:n("file.properties.view"),onClick:()=>{O(s)}},{label:n("file.properties.restore"),onClick:()=>{D(s)}}]})]),P=()=>{G(y.value)};C({open(){d.value=!0;const s=F.value.find(a=>a.nm==z.value[0]);B(s.path)},close(){d.value=!1}});async function B(s){m.value=!0;try{const{message:a}=await b.post("/files?action=get_file_attribute",{filename:s},{requestOptions:{isOriginalResult:!0}});A(a)&&(o.value=a)}finally{m.value=!1}}async function D(s){E({title:n("file.properties.restoreHistoryFiles"),width:480,content:()=>l(de,null,[l("div",null,[n("file.properties.restoreHistoryConfirm",{time:p(s.st_mtime)})]),l("div",{class:"mt-8px text-12px text-default leading-[1.4]"},[n("file.properties.restoreHistoryWarning")])]),onConfirm:async()=>{await H("".concat(o.value.path,"/").concat(o.value.name),s.st_mtime)}})}async function H(s,a){const f=g.loading(n("file.properties.restoring"));try{const{status:u}=await b.post("/files?action=re_history",{filename:s,history:a},{requestOptions:{errorMessage:!1}});u===0?g.success(n("file.properties.restoreSuccess")):g.error(n("file.properties.restoreFailed"))}finally{f.close()}}async function O(s){Q(s.history_file,N.value)}return(s,a)=>{const f=te,u=se,R=ie,S=W,v=ee,V=oe,j=le,q=Z,L=x,M=K,U=ue("table");return w(),_e(M,{show:i(d),"onUpdate:show":a[1]||(a[1]=h=>k(d)?d.value=h:null),width:580,title:"[".concat(i(o).name,"] - ").concat(s.$t("file.properties.fileProperties"))},{default:r(()=>[e("div",ve,[l(L,{show:i(m)},{default:r(()=>[l(q,{value:i(c),"onUpdate:value":a[0]||(a[0]=h=>k(c)?c.value=h:null)},{default:r(()=>[l(v,{name:"general",tab:s.$t("file.properties.general")},{default:r(()=>[e("div",he,[e("div",$e,[e("div",ge,[e("div",ye,[l(Y,{ext:"".concat(i(o).st_type),size:"large"},null,8,["ext"])]),e("div",be,[e("div",we,[l(f,{value:i(o).name,readonly:""},null,8,["value"])])])])]),e("div",ke,[l(u)]),e("div",Ce,[e("div",Te,[e("div",ze,t(s.$t("file.properties.type"))+":",1),e("div",Fe,t(i(o).st_type),1)]),e("div",Ne,[e("div",Ie,t(s.$t("file.properties.location"))+":",1),e("div",Pe,[e("div",Be,[l(R,null,{default:r(()=>[ce(t(i(y)),1)]),_:1})]),l(S,{class:"ml-10px cursor-pointer",name:"common-copy",size:"14",onClick:P})])]),e("div",De,[e("div",He,t(s.$t("file.properties.size"))+":",1),e("div",Oe,t(i($)(i(o).st_size)),1)])]),e("div",Re,[l(u)]),e("div",Se,[e("div",Ve,[e("div",je,t(s.$t("file.properties.permissions"))+":",1),e("div",qe,t(i(o).mode),1)]),e("div",Le,[e("div",Me,t(s.$t("file.properties.group"))+":",1),e("div",Ue,t(i(o).group),1)]),e("div",Ae,[e("div",Ee,t(s.$t("file.properties.user"))+":",1),e("div",We,t(i(o).user),1)])]),e("div",Ke,[l(u)]),e("div",Xe,[e("div",Ze,[e("div",Ge,t(s.$t("file.properties.visitTime"))+":",1),e("div",Je,t(i(p)(i(o).st_atime)),1)]),e("div",Qe,[e("div",Ye,t(s.$t("file.properties.modifiedTime"))+":",1),e("div",xe,t(i(p)(i(o).st_mtime)),1)])])])]),_:1},8,["tab"]),l(v,{name:"details",tab:s.$t("file.properties.details")},{default:r(()=>[me((w(),fe("div",et,[l(V,null,{default:r(()=>[e("thead",null,[e("tr",null,[e("th",tt,t(s.$t("file.properties.name")),1),e("th",null,t(s.$t("file.properties.value")),1)])]),e("tbody",null,[e("tr",null,[e("td",null,t(s.$t("file.properties.name")),1),e("td",null,t(i(o).name),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.type")),1),e("td",null,t(i(o).st_type),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.location")),1),e("td",null,t(i(o).path),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.size")),1),e("td",null,t(i($)(i(o).st_size)),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.visitTime")),1),e("td",null,t(i(p)(i(o).st_atime)),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.modifiedTime")),1),e("td",null,t(i(p)(i(o).st_mtime)),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.metadataModificationTime")),1),e("td",null,t(i(p)(i(o).st_mtime)),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.md5")),1),e("td",null,t(i(o).md5),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.sha1")),1),e("td",null,t(i(o).sha1),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.user")),1),e("td",null,t(i(o).user),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.group")),1),e("td",null,t(i(o).group),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.permissions")),1),e("td",null,t(i(o).mode),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.uid")),1),e("td",null,t(i(o).st_uid),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.gid")),1),e("td",null,t(i(o).st_gid),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.numOfInodeLinks")),1),e("td",null,t(Number(i(o).is_link)),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.inodeNodeNum")),1),e("td",null,t(i(o).st_ino),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.inodeProtectionMode")),1),e("td",null,t(i(o).st_mode),1)]),e("tr",null,[e("td",null,t(s.$t("file.properties.inodeResidentDevice")),1),e("td",null,t(i(o).st_dev),1)])])]),_:1})])),[[U]])]),_:1},8,["tab"]),l(v,{name:"history",tab:s.$t("file.properties.history")},{default:r(()=>[e("div",st,[l(j,{"max-height":"386px",columns:i(I),data:i(o).history||[]},null,8,["columns","data"])])]),_:1},8,["tab"])]),_:1},8,["value"])]),_:1},8,["show"])])]),_:1},8,["show","title"])}}}),$t=X(it,[["__scopeId","data-v-80434e12"]]);export{$t as default}; diff --git a/BTPanel/static/vite/js/Properties-legacy-Cdl3yohr.js b/BTPanel/static/vite/js/Properties-legacy-Cdl3yohr.js new file mode 100644 index 00000000..0dfca9eb --- /dev/null +++ b/BTPanel/static/vite/js/Properties-legacy-Cdl3yohr.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./index-legacy-B9j5eRUf.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./FileIcon-legacy-BZIg8aaH.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068"],(function(e,t){"use strict";var i,l,r,a,s,o,n,p,d,u,f,c,m,v,y,g,w,x,h,_,b,$,j,k,z,C,T,F,O,P,S,H,I,L,M,N,R,U,q;return{setters:[e=>{i=e.x,l=e.D,r=e.av,a=e.i,s=e.h,o=e.m,n=e.l,p=e.y,d=e.c},e=>{u=e._},e=>{f=e.c},e=>{c=e.u},e=>{m=e.W,v=e.F},e=>{y=e.a9,g=e.$,w=e.b,x=e.a0,h=e.n,_=e.b4,b=e.af},e=>{$=e.k,j=e.R,k=e.i,z=e.r,C=e.c,T=e.a0,F=e.F,O=e.aw,P=e.$,S=e.a8,H=e.a9,I=e._,L=e.S,M=e.X,N=e.aa,R=e.j,U=e.l,q=e.Z},null,null,null,null,null],execute:function(){var t=document.createElement("style");t.textContent='@charset "UTF-8";.modal-footer-btns[data-v-80434e12]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-80434e12]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.properties-wrapper[data-v-80434e12]{padding:16px}.properties-wrapper .tab-tit[data-v-80434e12]{display:flex;align-items:center;flex-direction:row;justify-content:start;gap:5px;border-bottom:1px solid #cfcfdc}.properties-wrapper .tab-tit .tab-tit-item[data-v-80434e12]{padding:10px;background:linear-gradient(to bottom,#f5f5f5,#dedede);border:1px solid #cfcfdc;margin-bottom:-1px;cursor:pointer}.properties-wrapper .tab-tit .tab-tit-item.active[data-v-80434e12]{background:#fff;border-bottom:1px solid #fff}.properties-wrapper .content[data-v-80434e12]{height:386px}.properties-wrapper .content .info-group .info-item[data-v-80434e12]{display:flex;align-items:center;flex-direction:row;justify-content:flex-start;min-height:26px;margin:4px 0}.properties-wrapper .content .info-group .info-item .info-item-label[data-v-80434e12]{width:120px;padding:0 10px}.properties-wrapper .content .info-group .info-item .info-item-value[data-v-80434e12]{flex:1;width:0}.properties-wrapper .content .detail-tit[data-v-80434e12],.properties-wrapper .content .detail-row[data-v-80434e12]{display:flex;align-items:center;flex-direction:row;gap:10px;justify-content:flex-start;background:#f6f6f6;padding:10px}.properties-wrapper .content .detail-tit .detail-tit-properties[data-v-80434e12],.properties-wrapper .content .detail-row .detail-tit-properties[data-v-80434e12]{flex:2}.properties-wrapper .content .detail-tit .detail-tit-value[data-v-80434e12],.properties-wrapper .content .detail-row .detail-tit-value[data-v-80434e12]{flex:8}.properties-wrapper .content .detail-row[data-v-80434e12]{background-color:#fff}.properties-wrapper .content .history-tit[data-v-80434e12],.properties-wrapper .content .history-row[data-v-80434e12]{display:flex;align-items:center;flex-direction:row;gap:10px;justify-content:flex-start;background:#f6f6f6;padding:10px}.properties-wrapper .content .history-tit .modify[data-v-80434e12],.properties-wrapper .content .history-row .modify[data-v-80434e12]{flex:3}.properties-wrapper .content .history-tit .size[data-v-80434e12],.properties-wrapper .content .history-row .size[data-v-80434e12]{flex:1}.properties-wrapper .content .history-tit .md5[data-v-80434e12],.properties-wrapper .content .history-row .md5[data-v-80434e12]{flex:4.5}.properties-wrapper .content .history-tit .opt[data-v-80434e12],.properties-wrapper .content .history-row .opt[data-v-80434e12]{flex:1.5}.properties-wrapper .content .history-row[data-v-80434e12]{background:#fff}.restore-history-wrapper[data-v-80434e12]{padding:20px}.restore-history-wrapper .content[data-v-80434e12]{font-size:14px;margin-bottom:10px}.restore-history-wrapper .sub-content[data-v-80434e12]{font-size:12px;color:#525252}\n/*$vite$:1*/',document.head.appendChild(t);const D={class:"properties-wrapper"},W={class:"content"},E={class:"info-group"},K={class:"info-item h-60px"},X={class:"info-item-label"},Z={class:"info-item-value"},A={class:"w-360px"},B={class:"my-10px"},G={class:"info-group"},J={class:"info-item"},Q={class:"info-item-label"},V={class:"info-item-value"},Y={class:"info-item"},ee={class:"info-item-label"},te={class:"info-item-value flex"},ie={class:"max-w-300px"},le={class:"info-item",style:{"margin-bottom":"0"}},re={class:"info-item-label"},ae={class:"info-item-value"},se={class:"my-10px"},oe={class:"info-group"},ne={class:"info-item"},pe={class:"info-item-label"},de={class:"info-item-value"},ue={class:"info-item"},fe={class:"info-item-label"},ce={class:"info-item-value"},me={class:"info-item",style:{"margin-bottom":"0"}},ve={class:"info-item-label"},ye={class:"info-item-value"},ge={class:"my-10px"},we={class:"info-group"},xe={class:"info-item"},he={class:"info-item-label"},_e={class:"info-item-value"},be={class:"info-item"},$e={class:"info-item-label"},je={class:"info-item-value"},ke={class:"content overflow-auto"},ze={width:"200"},Ce={class:"content"};e("default",d($({__name:"Properties",setup(e,{expose:t}){const{t:d}=j(),$=k("fileStore"),{choosedKeys:Te,fileList:Fe,currentPath:Oe}=$,Pe=z(!1),Se=z("general"),He=z(!1),Ie=z({st_atime:0,st_mtime:0,st_ctime:0}),Le=C((()=>Ie.value.path?`${Ie.value.path}/${Ie.value.name}`:"--")),Me=z([{key:"st_mtime",title:()=>d("file.properties.modifiedTime"),width:154,render:e=>i(e.st_mtime)},{key:"st_size",title:()=>d("file.properties.size"),width:80,render:e=>l(e.st_size)},{key:"md5",title:()=>d("file.properties.md5"),ellipsis:{tooltip:!0}},c({width:110,options:e=>[{label:d("file.properties.view"),onClick:()=>{!async function(e){m(e.history_file,Oe.value)}(e)}},{label:d("file.properties.restore"),onClick:()=>{!async function(e){s({title:d("file.properties.restoreHistoryFiles"),width:480,content:()=>T(F,null,[T("div",null,[d("file.properties.restoreHistoryConfirm",{time:i(e.st_mtime)})]),T("div",{class:"mt-8px text-12px text-default leading-[1.4]"},[d("file.properties.restoreHistoryWarning")])]),onConfirm:async()=>{await async function(e,t){const i=o.loading(d("file.properties.restoring"));try{const{status:i}=await r.post("/files?action=re_history",{filename:e,history:t},{requestOptions:{errorMessage:!1}});0===i?o.success(d("file.properties.restoreSuccess")):o.error(d("file.properties.restoreFailed"))}finally{i.close()}}(`${Ie.value.path}/${Ie.value.name}`,e.st_mtime)}})}(e)}}]})]),Ne=()=>{f(Le.value)};return t({open(){Pe.value=!0,async function(e){He.value=!0;try{const{message:t}=await r.post("/files?action=get_file_attribute",{filename:e},{requestOptions:{isOriginalResult:!0}});a(t)&&(Ie.value=t)}finally{He.value=!1}}(Fe.value.find((e=>e.nm==Te.value[0])).path)},close(){Pe.value=!1}}),(e,t)=>{const r=w,a=x,s=h,o=n,d=g,f=_,c=b,m=u,$=y,j=p,k=O("table");return P(),S(j,{show:L(Pe),"onUpdate:show":t[1]||(t[1]=e=>M(Pe)?Pe.value=e:null),width:580,title:`[${L(Ie).name}] - ${e.$t("file.properties.fileProperties")}`},{default:H((()=>[I("div",D,[T($,{show:L(He)},{default:H((()=>[T(m,{value:L(Se),"onUpdate:value":t[0]||(t[0]=e=>M(Se)?Se.value=e:null)},{default:H((()=>[T(d,{name:"general",tab:e.$t("file.properties.general")},{default:H((()=>[I("div",W,[I("div",E,[I("div",K,[I("div",X,[T(v,{ext:`${L(Ie).st_type}`,size:"large"},null,8,["ext"])]),I("div",Z,[I("div",A,[T(r,{value:L(Ie).name,readonly:""},null,8,["value"])])])])]),I("div",B,[T(a)]),I("div",G,[I("div",J,[I("div",Q,N(e.$t("file.properties.type"))+":",1),I("div",V,N(L(Ie).st_type),1)]),I("div",Y,[I("div",ee,N(e.$t("file.properties.location"))+":",1),I("div",te,[I("div",ie,[T(s,null,{default:H((()=>[R(N(L(Le)),1)])),_:1})]),T(o,{class:"ml-10px cursor-pointer",name:"common-copy",size:"14",onClick:Ne})])]),I("div",le,[I("div",re,N(e.$t("file.properties.size"))+":",1),I("div",ae,N(L(l)(L(Ie).st_size)),1)])]),I("div",se,[T(a)]),I("div",oe,[I("div",ne,[I("div",pe,N(e.$t("file.properties.permissions"))+":",1),I("div",de,N(L(Ie).mode),1)]),I("div",ue,[I("div",fe,N(e.$t("file.properties.group"))+":",1),I("div",ce,N(L(Ie).group),1)]),I("div",me,[I("div",ve,N(e.$t("file.properties.user"))+":",1),I("div",ye,N(L(Ie).user),1)])]),I("div",ge,[T(a)]),I("div",we,[I("div",xe,[I("div",he,N(e.$t("file.properties.visitTime"))+":",1),I("div",_e,N(L(i)(L(Ie).st_atime)),1)]),I("div",be,[I("div",$e,N(e.$t("file.properties.modifiedTime"))+":",1),I("div",je,N(L(i)(L(Ie).st_mtime)),1)])])])])),_:1},8,["tab"]),T(d,{name:"details",tab:e.$t("file.properties.details")},{default:H((()=>[U((P(),q("div",ke,[T(f,null,{default:H((()=>[I("thead",null,[I("tr",null,[I("th",ze,N(e.$t("file.properties.name")),1),I("th",null,N(e.$t("file.properties.value")),1)])]),I("tbody",null,[I("tr",null,[I("td",null,N(e.$t("file.properties.name")),1),I("td",null,N(L(Ie).name),1)]),I("tr",null,[I("td",null,N(e.$t("file.properties.type")),1),I("td",null,N(L(Ie).st_type),1)]),I("tr",null,[I("td",null,N(e.$t("file.properties.location")),1),I("td",null,N(L(Ie).path),1)]),I("tr",null,[I("td",null,N(e.$t("file.properties.size")),1),I("td",null,N(L(l)(L(Ie).st_size)),1)]),I("tr",null,[I("td",null,N(e.$t("file.properties.visitTime")),1),I("td",null,N(L(i)(L(Ie).st_atime)),1)]),I("tr",null,[I("td",null,N(e.$t("file.properties.modifiedTime")),1),I("td",null,N(L(i)(L(Ie).st_mtime)),1)]),I("tr",null,[I("td",null,N(e.$t("file.properties.metadataModificationTime")),1),I("td",null,N(L(i)(L(Ie).st_mtime)),1)]),I("tr",null,[I("td",null,N(e.$t("file.properties.md5")),1),I("td",null,N(L(Ie).md5),1)]),I("tr",null,[I("td",null,N(e.$t("file.properties.sha1")),1),I("td",null,N(L(Ie).sha1),1)]),I("tr",null,[I("td",null,N(e.$t("file.properties.user")),1),I("td",null,N(L(Ie).user),1)]),I("tr",null,[I("td",null,N(e.$t("file.properties.group")),1),I("td",null,N(L(Ie).group),1)]),I("tr",null,[I("td",null,N(e.$t("file.properties.permissions")),1),I("td",null,N(L(Ie).mode),1)]),I("tr",null,[I("td",null,N(e.$t("file.properties.uid")),1),I("td",null,N(L(Ie).st_uid),1)]),I("tr",null,[I("td",null,N(e.$t("file.properties.gid")),1),I("td",null,N(L(Ie).st_gid),1)]),I("tr",null,[I("td",null,N(e.$t("file.properties.numOfInodeLinks")),1),I("td",null,N(Number(L(Ie).is_link)),1)]),I("tr",null,[I("td",null,N(e.$t("file.properties.inodeNodeNum")),1),I("td",null,N(L(Ie).st_ino),1)]),I("tr",null,[I("td",null,N(e.$t("file.properties.inodeProtectionMode")),1),I("td",null,N(L(Ie).st_mode),1)]),I("tr",null,[I("td",null,N(e.$t("file.properties.inodeResidentDevice")),1),I("td",null,N(L(Ie).st_dev),1)])])])),_:1})])),[[k]])])),_:1},8,["tab"]),T(d,{name:"history",tab:e.$t("file.properties.history")},{default:H((()=>[I("div",Ce,[T(c,{"max-height":"386px",columns:L(Me),data:L(Ie).history||[]},null,8,["columns","data"])])])),_:1},8,["tab"])])),_:1},8,["value"])])),_:1},8,["show"])])])),_:1},8,["show","title"])}}}),[["__scopeId","data-v-80434e12"]]))}}})); diff --git a/BTPanel/static/vite/js/Properties-legacy-DFjwWsj5.js b/BTPanel/static/vite/js/Properties-legacy-DFjwWsj5.js deleted file mode 100644 index 6dcdb882..00000000 --- a/BTPanel/static/vite/js/Properties-legacy-DFjwWsj5.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./index-legacy-Cv0QQQJ6.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./FileIcon-legacy-CYrICTNK.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785","./soft-legacy-CzxZ2w7j.js?v=1773287522785"],(function(e,t){"use strict";var i,l,r,a,s,o,n,p,d,u,f,c,m,v,y,g,w,x,h,_,b,$,j,k,z,C,T,F,N,O,P,S,H,I,M,R,U,q,E;return{setters:[e=>{i=e.w,l=e.C,r=e.as,a=e.i,s=e.h,o=e.m,n=e.l,p=e.x,d=e.c},e=>{u=e._},e=>{f=e.c},e=>{c=e.u},e=>{m=e.W,v=e.F},e=>{y=e.a9,g=e.$,w=e.b,x=e.a0,h=e.n,_=e.b4,b=e.at},e=>{$=e.k,j=e.R,k=e.i,z=e.r,C=e.c,T=e.a0,F=e.F,N=e.aw,O=e.$,P=e.a8,S=e.a9,H=e._,I=e.S,M=e.X,R=e.aa,U=e.j,q=e.l,E=e.Z},null,null,null,null,null,null],execute:function(){var t=document.createElement("style");t.textContent='@charset "UTF-8";.modal-footer-btns[data-v-80434e12]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-80434e12]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.properties-wrapper[data-v-80434e12]{padding:16px}.properties-wrapper .tab-tit[data-v-80434e12]{display:flex;align-items:center;flex-direction:row;justify-content:start;gap:5px;border-bottom:1px solid #cfcfdc}.properties-wrapper .tab-tit .tab-tit-item[data-v-80434e12]{padding:10px;background:linear-gradient(to bottom,#f5f5f5,#dedede);border:1px solid #cfcfdc;margin-bottom:-1px;cursor:pointer}.properties-wrapper .tab-tit .tab-tit-item.active[data-v-80434e12]{background:#fff;border-bottom:1px solid #fff}.properties-wrapper .content[data-v-80434e12]{height:386px}.properties-wrapper .content .info-group .info-item[data-v-80434e12]{display:flex;align-items:center;flex-direction:row;justify-content:flex-start;min-height:26px;margin:4px 0}.properties-wrapper .content .info-group .info-item .info-item-label[data-v-80434e12]{width:120px;padding:0 10px}.properties-wrapper .content .info-group .info-item .info-item-value[data-v-80434e12]{flex:1;width:0}.properties-wrapper .content .detail-tit[data-v-80434e12],.properties-wrapper .content .detail-row[data-v-80434e12]{display:flex;align-items:center;flex-direction:row;gap:10px;justify-content:flex-start;background:#f6f6f6;padding:10px}.properties-wrapper .content .detail-tit .detail-tit-properties[data-v-80434e12],.properties-wrapper .content .detail-row .detail-tit-properties[data-v-80434e12]{flex:2}.properties-wrapper .content .detail-tit .detail-tit-value[data-v-80434e12],.properties-wrapper .content .detail-row .detail-tit-value[data-v-80434e12]{flex:8}.properties-wrapper .content .detail-row[data-v-80434e12]{background-color:#fff}.properties-wrapper .content .history-tit[data-v-80434e12],.properties-wrapper .content .history-row[data-v-80434e12]{display:flex;align-items:center;flex-direction:row;gap:10px;justify-content:flex-start;background:#f6f6f6;padding:10px}.properties-wrapper .content .history-tit .modify[data-v-80434e12],.properties-wrapper .content .history-row .modify[data-v-80434e12]{flex:3}.properties-wrapper .content .history-tit .size[data-v-80434e12],.properties-wrapper .content .history-row .size[data-v-80434e12]{flex:1}.properties-wrapper .content .history-tit .md5[data-v-80434e12],.properties-wrapper .content .history-row .md5[data-v-80434e12]{flex:4.5}.properties-wrapper .content .history-tit .opt[data-v-80434e12],.properties-wrapper .content .history-row .opt[data-v-80434e12]{flex:1.5}.properties-wrapper .content .history-row[data-v-80434e12]{background:#fff}.restore-history-wrapper[data-v-80434e12]{padding:20px}.restore-history-wrapper .content[data-v-80434e12]{font-size:14px;margin-bottom:10px}.restore-history-wrapper .sub-content[data-v-80434e12]{font-size:12px;color:#525252}\n/*$vite$:1*/',document.head.appendChild(t);const L={class:"properties-wrapper"},W={class:"content"},D={class:"info-group"},K={class:"info-item h-60px"},X={class:"info-item-label"},Z={class:"info-item-value"},A={class:"w-360px"},B={class:"my-10px"},G={class:"info-group"},J={class:"info-item"},Q={class:"info-item-label"},V={class:"info-item-value"},Y={class:"info-item"},ee={class:"info-item-label"},te={class:"info-item-value flex"},ie={class:"max-w-300px"},le={class:"info-item",style:{"margin-bottom":"0"}},re={class:"info-item-label"},ae={class:"info-item-value"},se={class:"my-10px"},oe={class:"info-group"},ne={class:"info-item"},pe={class:"info-item-label"},de={class:"info-item-value"},ue={class:"info-item"},fe={class:"info-item-label"},ce={class:"info-item-value"},me={class:"info-item",style:{"margin-bottom":"0"}},ve={class:"info-item-label"},ye={class:"info-item-value"},ge={class:"my-10px"},we={class:"info-group"},xe={class:"info-item"},he={class:"info-item-label"},_e={class:"info-item-value"},be={class:"info-item"},$e={class:"info-item-label"},je={class:"info-item-value"},ke={class:"content overflow-auto"},ze={width:"200"},Ce={class:"content"};e("default",d($({__name:"Properties",setup(e,{expose:t}){const{t:d}=j(),$=k("fileStore"),{choosedKeys:Te,fileList:Fe,currentPath:Ne}=$,Oe=z(!1),Pe=z("general"),Se=z(!1),He=z({st_atime:0,st_mtime:0,st_ctime:0}),Ie=C((()=>He.value.path?`${He.value.path}/${He.value.name}`:"--")),Me=z([{key:"st_mtime",title:()=>d("file.properties.modifiedTime"),width:154,render:e=>i(e.st_mtime)},{key:"st_size",title:()=>d("file.properties.size"),width:80,render:e=>l(e.st_size)},{key:"md5",title:()=>d("file.properties.md5"),ellipsis:{tooltip:!0}},c({width:110,options:e=>[{label:d("file.properties.view"),onClick:()=>{!async function(e){m(e.history_file,Ne.value)}(e)}},{label:d("file.properties.restore"),onClick:()=>{!async function(e){s({title:d("file.properties.restoreHistoryFiles"),width:480,content:()=>T(F,null,[T("div",null,[d("file.properties.restoreHistoryConfirm",{time:i(e.st_mtime)})]),T("div",{class:"mt-8px text-12px text-default leading-[1.4]"},[d("file.properties.restoreHistoryWarning")])]),onConfirm:async()=>{await async function(e,t){const i=o.loading(d("file.properties.restoring"));try{const{status:i}=await r.post("/files?action=re_history",{filename:e,history:t},{requestOptions:{errorMessage:!1}});0===i?o.success(d("file.properties.restoreSuccess")):o.error(d("file.properties.restoreFailed"))}finally{i.close()}}(`${He.value.path}/${He.value.name}`,e.st_mtime)}})}(e)}}]})]),Re=()=>{f(Ie.value)};return t({open(){Oe.value=!0,async function(e){Se.value=!0;try{const{message:t}=await r.post("/files?action=get_file_attribute",{filename:e},{requestOptions:{isOriginalResult:!0}});a(t)&&(He.value=t)}finally{Se.value=!1}}(Fe.value.find((e=>e.nm==Te.value[0])).path)},close(){Oe.value=!1}}),(e,t)=>{const r=w,a=x,s=h,o=n,d=g,f=_,c=b,m=u,$=y,j=p,k=N("table");return O(),P(j,{show:I(Oe),"onUpdate:show":t[1]||(t[1]=e=>M(Oe)?Oe.value=e:null),width:580,title:`[${I(He).name}] - ${e.$t("file.properties.fileProperties")}`},{default:S((()=>[H("div",L,[T($,{show:I(Se)},{default:S((()=>[T(m,{value:I(Pe),"onUpdate:value":t[0]||(t[0]=e=>M(Pe)?Pe.value=e:null)},{default:S((()=>[T(d,{name:"general",tab:e.$t("file.properties.general")},{default:S((()=>[H("div",W,[H("div",D,[H("div",K,[H("div",X,[T(v,{ext:`${I(He).st_type}`,size:"large"},null,8,["ext"])]),H("div",Z,[H("div",A,[T(r,{value:I(He).name,readonly:""},null,8,["value"])])])])]),H("div",B,[T(a)]),H("div",G,[H("div",J,[H("div",Q,R(e.$t("file.properties.type"))+":",1),H("div",V,R(I(He).st_type),1)]),H("div",Y,[H("div",ee,R(e.$t("file.properties.location"))+":",1),H("div",te,[H("div",ie,[T(s,null,{default:S((()=>[U(R(I(Ie)),1)])),_:1})]),T(o,{class:"ml-10px cursor-pointer",name:"common-copy",size:"14",onClick:Re})])]),H("div",le,[H("div",re,R(e.$t("file.properties.size"))+":",1),H("div",ae,R(I(l)(I(He).st_size)),1)])]),H("div",se,[T(a)]),H("div",oe,[H("div",ne,[H("div",pe,R(e.$t("file.properties.permissions"))+":",1),H("div",de,R(I(He).mode),1)]),H("div",ue,[H("div",fe,R(e.$t("file.properties.group"))+":",1),H("div",ce,R(I(He).group),1)]),H("div",me,[H("div",ve,R(e.$t("file.properties.user"))+":",1),H("div",ye,R(I(He).user),1)])]),H("div",ge,[T(a)]),H("div",we,[H("div",xe,[H("div",he,R(e.$t("file.properties.visitTime"))+":",1),H("div",_e,R(I(i)(I(He).st_atime)),1)]),H("div",be,[H("div",$e,R(e.$t("file.properties.modifiedTime"))+":",1),H("div",je,R(I(i)(I(He).st_mtime)),1)])])])])),_:1},8,["tab"]),T(d,{name:"details",tab:e.$t("file.properties.details")},{default:S((()=>[q((O(),E("div",ke,[T(f,null,{default:S((()=>[H("thead",null,[H("tr",null,[H("th",ze,R(e.$t("file.properties.name")),1),H("th",null,R(e.$t("file.properties.value")),1)])]),H("tbody",null,[H("tr",null,[H("td",null,R(e.$t("file.properties.name")),1),H("td",null,R(I(He).name),1)]),H("tr",null,[H("td",null,R(e.$t("file.properties.type")),1),H("td",null,R(I(He).st_type),1)]),H("tr",null,[H("td",null,R(e.$t("file.properties.location")),1),H("td",null,R(I(He).path),1)]),H("tr",null,[H("td",null,R(e.$t("file.properties.size")),1),H("td",null,R(I(l)(I(He).st_size)),1)]),H("tr",null,[H("td",null,R(e.$t("file.properties.visitTime")),1),H("td",null,R(I(i)(I(He).st_atime)),1)]),H("tr",null,[H("td",null,R(e.$t("file.properties.modifiedTime")),1),H("td",null,R(I(i)(I(He).st_mtime)),1)]),H("tr",null,[H("td",null,R(e.$t("file.properties.metadataModificationTime")),1),H("td",null,R(I(i)(I(He).st_mtime)),1)]),H("tr",null,[H("td",null,R(e.$t("file.properties.md5")),1),H("td",null,R(I(He).md5),1)]),H("tr",null,[H("td",null,R(e.$t("file.properties.sha1")),1),H("td",null,R(I(He).sha1),1)]),H("tr",null,[H("td",null,R(e.$t("file.properties.user")),1),H("td",null,R(I(He).user),1)]),H("tr",null,[H("td",null,R(e.$t("file.properties.group")),1),H("td",null,R(I(He).group),1)]),H("tr",null,[H("td",null,R(e.$t("file.properties.permissions")),1),H("td",null,R(I(He).mode),1)]),H("tr",null,[H("td",null,R(e.$t("file.properties.uid")),1),H("td",null,R(I(He).st_uid),1)]),H("tr",null,[H("td",null,R(e.$t("file.properties.gid")),1),H("td",null,R(I(He).st_gid),1)]),H("tr",null,[H("td",null,R(e.$t("file.properties.numOfInodeLinks")),1),H("td",null,R(Number(I(He).is_link)),1)]),H("tr",null,[H("td",null,R(e.$t("file.properties.inodeNodeNum")),1),H("td",null,R(I(He).st_ino),1)]),H("tr",null,[H("td",null,R(e.$t("file.properties.inodeProtectionMode")),1),H("td",null,R(I(He).st_mode),1)]),H("tr",null,[H("td",null,R(e.$t("file.properties.inodeResidentDevice")),1),H("td",null,R(I(He).st_dev),1)])])])),_:1})])),[[k]])])),_:1},8,["tab"]),T(d,{name:"history",tab:e.$t("file.properties.history")},{default:S((()=>[H("div",Ce,[T(c,{"max-height":"386px",columns:I(Me),data:I(He).history||[]},null,8,["columns","data"])])])),_:1},8,["tab"])])),_:1},8,["value"])])),_:1},8,["show"])])])),_:1},8,["show","title"])}}}),[["__scopeId","data-v-80434e12"]]))}}})); diff --git a/BTPanel/static/vite/js/Recycle-Co5-BlL9.js b/BTPanel/static/vite/js/Recycle-Co5-BlL9.js deleted file mode 100644 index b2d87fc1..00000000 --- a/BTPanel/static/vite/js/Recycle-Co5-BlL9.js +++ /dev/null @@ -1 +0,0 @@ -import{C as K,w as E,as as p,i as J,n as D,h as X,dI as z,x as H,c as Q}from"./index-BTglIPU2.js?v=1773287522785";import{_ as W}from"./index.vue_vue_type_script_setup_true_lang-HxsqzSKU.js?v=1773287522785";import{_ as Y}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{_ as Z}from"./index-BGYvyLDv.js?v=1773287522785";import{u as ee}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{F as te,w as I}from"./FileIcon-eIHDRaxH.js?v=1773287522785";import{n as le,a8 as se,B as ae,$ as ne}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as ie,R as oe,i as ce,r as c,a0 as s,c as re,$ as me,a8 as ue,a9 as $,_ as a,aa as h,X as y,S as i,j as fe}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index-DIKmrNCq.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";import"./soft-Cjyfamvm.js?v=1773287522785";const pe={class:"recycle-wrapper"},de={class:"recycle-top"},ye={class:"flex gap-20px"},_e={class:"config-item"},be={class:"config-item"},ve={class:"config-item"},ge={class:"recycle-main"},ke={class:"tabs"},we={class:"tab-content"},he={class:"mt-10px"},Re=ie({__name:"Recycle",setup(Ce,{expose:O}){const{t:l}=oe(),x=ce("fileStore"),_=c(!1);O({open(){_.value=!0,r()},close(){_.value=!1}});const v=c("all"),R=c(!1),u=c([]),d=c([]),g=c([]),k=c(!1),w=c(!1),U=c([{type:"selection",width:40},{key:"name",title:()=>l("file.fileName"),render:e=>s("div",{class:"flex items-center gap-4px"},[s(te,{ext:e.ext},null),s("div",{class:"flex-1 w-0"},[s(le,null,{default:()=>[e.name]})])])},{key:"dname",title:()=>l("file.recycle.originalDirectory"),ellipsis:{tooltip:!0}},{key:"size",title:()=>l("file.size"),width:180,render(e){return K(e.size)}},{title:()=>l("file.recycle.removalTime"),key:"time",width:200,render(e){return E(e.time)}},ee({width:200,options:e=>[{label:l("file.recycle.recover"),onClick:()=>{V(e)}},{label:l("file.recycle.deletePermanently"),onClick:()=>{L(e)}}]})]),N=[{key:"restore",label:l("file.recycle.batchRestore"),type:"confirm",confirm:{title:l("file.recycle.batchRestore"),desc:l("file.recycle.batchRestoreConfirm"),api:e=>p.post("/files?action=Re_Recycle_bin",{path:e.rname}),done:()=>{r(),I(x)},columns:[{key:"name",title:()=>l("file.fileName")}]}},{key:"delete",label:l("file.recycle.batchDeletePermanently"),type:"confirm",confirm:{title:l("file.recycle.batchDeletePermanently"),desc:l("file.recycle.batchDeleteConfirm"),api:e=>p.post("/files?action=Del_Recycle_bin",{path:e.rname}),done:()=>{r()},columns:[{key:"name",title:()=>l("file.fileName")}]}}];async function r(){try{u.value=[],R.value=!0;const{message:e}=await p.post("/files?action=Get_Recycle_bin");J(e)&&(g.value=D(e.dirs)?e.dirs.map(t=>({...t,type:"dir",ext:"folder"})):[],d.value=D(e.files)?e.files.map(t=>({...t,type:"file",ext:t.name.split(".").pop()||""})):[],k.value=e.status,w.value=e.status_db)}finally{R.value=!1}}const F=["jpg","jpeg","png","bmp","gif","tiff","ico","JPG","webp"],S=["zip","rar","gz","war","tgz"],j=["mp4","mp3","mpeg","mpg","mov","avi","webm","mkv","mkv","mp3","rmvb","wma","wmv"],q=["iso","xlsx","xls","doc","docx","tiff","exe","so","7z","bz","dmg","apk","pptx","ppt","xlsb","pdf"],T=re(()=>{let e=[];switch(v.value){case"all":e=[...g.value,...d.value];break;case"folder":e=[...g.value];break;case"file":e=[...d.value];break;case"image":e=d.value.filter(t=>F.some(b=>t.name.includes(".".concat(b))));break;case"document":e=d.value.filter(t=>{const f=F.some(o=>t.name.includes(".".concat(o))),b=S.some(o=>t.name.includes(".".concat(o))),m=j.some(o=>t.name.includes(".".concat(o))),C=q.some(o=>t.name.includes(".".concat(o)));return f||b||m||C});break;case"database":e=[...g.value,...d.value].filter(t=>t.name.includes("BTDB_"));break;default:e=[];break}return e.sort((t,f)=>f.time-t.time),e}),P=()=>{r()},B=async e=>{const t={};e!=="file"&&(t[e]=1),await p.post("/files?action=Recycle_bin",t,{requestOptions:{loading:l("file.recycle.switching"),successMessage:!0}}),r()},M=()=>{z({text:l("file.recycle.emptyTitle"),title:l("file.recycle.emptyTitle"),content:l("file.recycle.emptyConfirm"),onConfirm:async()=>{await p.post("/files?action=Close_Recycle_bin","",{requestOptions:{loading:l("file.recycle.emptying"),successMessage:!0}}),r()}})},V=e=>{X({title:l("file.recycle.restoreFileTitle",{name:e.name}),content:l("file.recycle.restoreFileConfirm"),onConfirm:async()=>{await p.post("/files?action=Re_Recycle_bin",{path:e.rname},{requestOptions:{loading:l("file.recycle.restoring"),successMessage:!0}}),r(),I(x)}})},L=e=>{z({text:l("file.delete"),title:l("file.recycle.deleteFileTitle",{name:e.name}),content:l("file.recycle.deleteFileConfirm"),onConfirm:async()=>{await p.post("/files?action=Del_Recycle_bin",{path:e.rname},{requestOptions:{loading:l("file.recycle.deleting"),successMessage:!0}}),r()}})};return(e,t)=>{const f=se,b=ae,m=ne,C=Z,o=Y,A=W,G=H;return me(),ue(G,{show:i(_),"onUpdate:show":t[7]||(t[7]=n=>y(_)?_.value=n:null),title:e.$t("file.recycle.title"),width:"80%"},{default:$(()=>[a("div",pe,[a("div",de,[a("div",ye,[a("div",_e,[a("div",null,h(e.$t("file.recycle.fileRecycleBin")),1),s(f,{value:i(k),"onUpdate:value":[t[0]||(t[0]=n=>y(k)?k.value=n:null),t[1]||(t[1]=()=>B("file"))]},null,8,["value"])]),a("div",be,[a("div",null,h(e.$t("file.recycle.databaseRecycleBin")),1),s(f,{value:i(w),"onUpdate:value":[t[2]||(t[2]=n=>y(w)?w.value=n:null),t[3]||(t[3]=()=>B("db"))]},null,8,["value"])]),a("div",ve,h(e.$t("file.recycle.warning")),1)]),s(b,{onClick:M},{default:$(()=>[fe(h(e.$t("file.recycle.emptyRecycleBin")),1)]),_:1})]),a("div",ge,[a("div",ke,[s(C,{value:i(v),"onUpdate:value":[t[4]||(t[4]=n=>y(v)?v.value=n:null),P],panePadding:"0"},{default:$(()=>[s(m,{name:"all",tab:e.$t("file.recycle.all")},null,8,["tab"]),s(m,{name:"folder",tab:e.$t("file.recycle.folder")},null,8,["tab"]),s(m,{name:"file",tab:e.$t("file.recycle.file")},null,8,["tab"]),s(m,{name:"image",tab:e.$t("file.recycle.image")},null,8,["tab"]),s(m,{name:"document",tab:e.$t("file.recycle.document")},null,8,["tab"]),s(m,{name:"database",tab:e.$t("file.recycle.database")},null,8,["tab"])]),_:1},8,["value"])]),a("div",we,[s(o,{"checked-row-keys":i(u),"onUpdate:checkedRowKeys":t[5]||(t[5]=n=>y(u)?u.value=n:null),loading:i(R),"max-height":450,"row-key":"rname",columns:i(U),data:i(T)},null,8,["checked-row-keys","loading","columns","data"]),a("div",he,[s(A,{"checked-row-keys":i(u),"onUpdate:checkedRowKeys":t[6]||(t[6]=n=>y(u)?u.value=n:null),"row-key":"rname","select-width":240,data:i(T),options:N},null,8,["checked-row-keys","data"])])])])])]),_:1},8,["show","title"])}}}),Ve=Q(Re,[["__scopeId","data-v-2e0c3f71"]]);export{Ve as default}; diff --git a/BTPanel/static/vite/js/Recycle-Mlze3B4z.js b/BTPanel/static/vite/js/Recycle-Mlze3B4z.js new file mode 100644 index 00000000..1053ce53 --- /dev/null +++ b/BTPanel/static/vite/js/Recycle-Mlze3B4z.js @@ -0,0 +1 @@ +import{D as K,x as E,av as p,i as J,n as D,h as X,dT as z,y as H,c as Q}from"./index-LQ-JIYiv.js?v=1774508183068";import{_ as W}from"./index.vue_vue_type_script_setup_true_lang-BKGpz_y5.js?v=1774508183068";import{_ as Y}from"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import{_ as Z}from"./index-mN8-RSj4.js?v=1774508183068";import{u as ee}from"./useTableColumns-BpMo4f8r.js?v=1774508183068";import{F as te,t as O}from"./FileIcon-MbTGjXAj.js?v=1774508183068";import{n as le,a8 as se,B as ae,$ as ne}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import{k as ie,R as oe,i as ce,r as c,a0 as s,c as re,$ as me,a8 as ue,a9 as C,_ as a,aa as h,X as y,S as i,j as fe}from"./vue-core-BlDeWrD6.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";import"./index-Dd5dC2sI.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";const pe={class:"recycle-wrapper"},de={class:"recycle-top"},ye={class:"flex gap-20px"},_e={class:"config-item"},be={class:"config-item"},ve={class:"config-item"},ge={class:"recycle-main"},ke={class:"tabs"},we={class:"tab-content"},he={class:"mt-10px"},Re=ie({__name:"Recycle",setup($e,{expose:U}){const{t:l}=oe(),x=ce("fileStore"),_=c(!1);U({open(){_.value=!0,r()},close(){_.value=!1}});const v=c("all"),R=c(!1),u=c([]),d=c([]),g=c([]),k=c(!1),w=c(!1),I=c([{type:"selection",width:40},{key:"name",title:()=>l("file.fileName"),render:e=>s("div",{class:"flex items-center gap-4px"},[s(te,{ext:e.ext},null),s("div",{class:"flex-1 w-0"},[s(le,null,{default:()=>[e.name]})])])},{key:"dname",title:()=>l("file.recycle.originalDirectory"),ellipsis:{tooltip:!0}},{key:"size",title:()=>l("file.size"),width:180,render(e){return K(e.size)}},{title:()=>l("file.recycle.removalTime"),key:"time",width:200,render(e){return E(e.time)}},ee({width:200,options:e=>[{label:l("file.recycle.recover"),onClick:()=>{V(e)}},{label:l("file.recycle.deletePermanently"),onClick:()=>{L(e)}}]})]),N=[{key:"restore",label:l("file.recycle.batchRestore"),type:"confirm",confirm:{title:l("file.recycle.batchRestore"),desc:l("file.recycle.batchRestoreConfirm"),api:e=>p.post("/files?action=Re_Recycle_bin",{path:e.rname}),done:()=>{r(),O(x)},columns:[{key:"name",title:()=>l("file.fileName")}]}},{key:"delete",label:l("file.recycle.batchDeletePermanently"),type:"confirm",confirm:{title:l("file.recycle.batchDeletePermanently"),desc:l("file.recycle.batchDeleteConfirm"),api:e=>p.post("/files?action=Del_Recycle_bin",{path:e.rname}),done:()=>{r()},columns:[{key:"name",title:()=>l("file.fileName")}]}}];async function r(){try{u.value=[],R.value=!0;const{message:e}=await p.post("/files?action=Get_Recycle_bin");J(e)&&(g.value=D(e.dirs)?e.dirs.map(t=>({...t,type:"dir",ext:"folder"})):[],d.value=D(e.files)?e.files.map(t=>({...t,type:"file",ext:t.name.split(".").pop()||""})):[],k.value=e.status,w.value=e.status_db)}finally{R.value=!1}}const T=["jpg","jpeg","png","bmp","gif","tiff","ico","JPG","webp"],S=["zip","rar","gz","war","tgz"],j=["mp4","mp3","mpeg","mpg","mov","avi","webm","mkv","mkv","mp3","rmvb","wma","wmv"],q=["iso","xlsx","xls","doc","docx","tiff","exe","so","7z","bz","dmg","apk","pptx","ppt","xlsb","pdf"],F=re(()=>{let e=[];switch(v.value){case"all":e=[...g.value,...d.value];break;case"folder":e=[...g.value];break;case"file":e=[...d.value];break;case"image":e=d.value.filter(t=>T.some(b=>t.name.includes(".".concat(b))));break;case"document":e=d.value.filter(t=>{const f=T.some(o=>t.name.includes(".".concat(o))),b=S.some(o=>t.name.includes(".".concat(o))),m=j.some(o=>t.name.includes(".".concat(o))),$=q.some(o=>t.name.includes(".".concat(o)));return f||b||m||$});break;case"database":e=[...g.value,...d.value].filter(t=>t.name.includes("BTDB_"));break;default:e=[];break}return e.sort((t,f)=>f.time-t.time),e}),P=()=>{r()},B=async e=>{const t={};e!=="file"&&(t[e]=1),await p.post("/files?action=Recycle_bin",t,{requestOptions:{loading:l("file.recycle.switching"),successMessage:!0}}),r()},M=()=>{z({text:l("file.recycle.emptyTitle"),title:l("file.recycle.emptyTitle"),content:l("file.recycle.emptyConfirm"),onConfirm:async()=>{await p.post("/files?action=Close_Recycle_bin","",{requestOptions:{loading:l("file.recycle.emptying"),successMessage:!0}}),r()}})},V=e=>{X({title:l("file.recycle.restoreFileTitle",{name:e.name}),content:l("file.recycle.restoreFileConfirm"),onConfirm:async()=>{await p.post("/files?action=Re_Recycle_bin",{path:e.rname},{requestOptions:{loading:l("file.recycle.restoring"),successMessage:!0}}),r(),O(x)}})},L=e=>{z({text:l("file.delete"),title:l("file.recycle.deleteFileTitle",{name:e.name}),content:l("file.recycle.deleteFileConfirm"),onConfirm:async()=>{await p.post("/files?action=Del_Recycle_bin",{path:e.rname},{requestOptions:{loading:l("file.recycle.deleting"),successMessage:!0}}),r()}})};return(e,t)=>{const f=se,b=ae,m=ne,$=Z,o=Y,A=W,G=H;return me(),ue(G,{show:i(_),"onUpdate:show":t[7]||(t[7]=n=>y(_)?_.value=n:null),title:e.$t("file.recycle.title"),width:"80%"},{default:C(()=>[a("div",pe,[a("div",de,[a("div",ye,[a("div",_e,[a("div",null,h(e.$t("file.recycle.fileRecycleBin")),1),s(f,{value:i(k),"onUpdate:value":[t[0]||(t[0]=n=>y(k)?k.value=n:null),t[1]||(t[1]=()=>B("file"))]},null,8,["value"])]),a("div",be,[a("div",null,h(e.$t("file.recycle.databaseRecycleBin")),1),s(f,{value:i(w),"onUpdate:value":[t[2]||(t[2]=n=>y(w)?w.value=n:null),t[3]||(t[3]=()=>B("db"))]},null,8,["value"])]),a("div",ve,h(e.$t("file.recycle.warning")),1)]),s(b,{onClick:M},{default:C(()=>[fe(h(e.$t("file.recycle.emptyRecycleBin")),1)]),_:1})]),a("div",ge,[a("div",ke,[s($,{value:i(v),"onUpdate:value":[t[4]||(t[4]=n=>y(v)?v.value=n:null),P],panePadding:"0"},{default:C(()=>[s(m,{name:"all",tab:e.$t("file.recycle.all")},null,8,["tab"]),s(m,{name:"folder",tab:e.$t("file.recycle.folder")},null,8,["tab"]),s(m,{name:"file",tab:e.$t("file.recycle.file")},null,8,["tab"]),s(m,{name:"image",tab:e.$t("file.recycle.image")},null,8,["tab"]),s(m,{name:"document",tab:e.$t("file.recycle.document")},null,8,["tab"]),s(m,{name:"database",tab:e.$t("file.recycle.database")},null,8,["tab"])]),_:1},8,["value"])]),a("div",we,[s(o,{"checked-row-keys":i(u),"onUpdate:checkedRowKeys":t[5]||(t[5]=n=>y(u)?u.value=n:null),loading:i(R),"max-height":450,"row-key":"rname",columns:i(I),data:i(F)},null,8,["checked-row-keys","loading","columns","data"]),a("div",he,[s(A,{"checked-row-keys":i(u),"onUpdate:checkedRowKeys":t[6]||(t[6]=n=>y(u)?u.value=n:null),"row-key":"rname","select-width":240,data:i(F),options:N},null,8,["checked-row-keys","data"])])])])])]),_:1},8,["show","title"])}}}),Me=Q(Re,[["__scopeId","data-v-2e0c3f71"]]);export{Me as default}; diff --git a/BTPanel/static/vite/js/Recycle-legacy-B9vFndU_.js b/BTPanel/static/vite/js/Recycle-legacy-B9vFndU_.js deleted file mode 100644 index a69b250d..00000000 --- a/BTPanel/static/vite/js/Recycle-legacy-B9vFndU_.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BtQUnlS_.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./index-legacy-sO5zj2jA.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./FileIcon-legacy-CYrICTNK.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785","./soft-legacy-CzxZ2w7j.js?v=1773287522785"],(function(e,l){"use strict";var t,a,c,i,n,s,r,o,d,p,u,f,y,m,v,g,b,w,x,_,h,k,j,$,R,C,z,T,D,F,U,B,P;return{setters:[e=>{t=e.C,a=e.w,c=e.as,i=e.i,n=e.n,s=e.h,r=e.dI,o=e.x,d=e.c},e=>{p=e._},e=>{u=e._},e=>{f=e._},e=>{y=e.u},e=>{m=e.F,v=e.w},e=>{g=e.n,b=e.a8,w=e.B,x=e.$},e=>{_=e.k,h=e.R,k=e.i,j=e.r,$=e.a0,R=e.c,C=e.$,z=e.a8,T=e.a9,D=e._,F=e.aa,U=e.X,B=e.S,P=e.j},null,null,null,null,null,null,null,null],execute:function(){var l=document.createElement("style");l.textContent='@charset "UTF-8";.modal-footer-btns[data-v-2e0c3f71]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-2e0c3f71]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recycle-wrapper .recycle-top[data-v-2e0c3f71]{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;border-bottom:1px solid var(--color-border);padding:16px 20px}.recycle-wrapper .recycle-top .config-item[data-v-2e0c3f71]{display:flex;align-items:center;gap:10px}.recycle-wrapper .recycle-main[data-v-2e0c3f71]{display:flex;height:568px}.recycle-wrapper .recycle-main .bt-tabs-modal[data-v-2e0c3f71]{--n-tab-item-width: 120px}.recycle-wrapper .recycle-main .tab-content[data-v-2e0c3f71]{flex:1;width:0;height:100%;padding:16px}\n/*$vite$:1*/',document.head.appendChild(l);const q={class:"recycle-wrapper"},M={class:"recycle-top"},O={class:"flex gap-20px"},I={class:"config-item"},N={class:"config-item"},S={class:"config-item"},E={class:"recycle-main"},G={class:"tabs"},K={class:"tab-content"},J={class:"mt-10px"};e("default",d(_({__name:"Recycle",setup(e,{expose:l}){const{t:d}=h(),_=k("fileStore"),X=j(!1);l({open(){X.value=!0,le()},close(){X.value=!1}});const Y=j("all"),A=j(!1),H=j([]),L=j([]),Q=j([]),V=j(!1),W=j(!1),Z=j([{type:"selection",width:40},{key:"name",title:()=>d("file.fileName"),render:e=>$("div",{class:"flex items-center gap-4px"},[$(m,{ext:e.ext},null),$("div",{class:"flex-1 w-0"},[$(g,null,{default:()=>[e.name]})])])},{key:"dname",title:()=>d("file.recycle.originalDirectory"),ellipsis:{tooltip:!0}},{key:"size",title:()=>d("file.size"),width:180,render:e=>t(e.size)},{title:()=>d("file.recycle.removalTime"),key:"time",width:200,render:e=>a(e.time)},y({width:200,options:e=>[{label:d("file.recycle.recover"),onClick:()=>{de(e)}},{label:d("file.recycle.deletePermanently"),onClick:()=>{pe(e)}}]})]),ee=[{key:"restore",label:d("file.recycle.batchRestore"),type:"confirm",confirm:{title:d("file.recycle.batchRestore"),desc:d("file.recycle.batchRestoreConfirm"),api:e=>c.post("/files?action=Re_Recycle_bin",{path:e.rname}),done:()=>{le(),v(_)},columns:[{key:"name",title:()=>d("file.fileName")}]}},{key:"delete",label:d("file.recycle.batchDeletePermanently"),type:"confirm",confirm:{title:d("file.recycle.batchDeletePermanently"),desc:d("file.recycle.batchDeleteConfirm"),api:e=>c.post("/files?action=Del_Recycle_bin",{path:e.rname}),done:()=>{le()},columns:[{key:"name",title:()=>d("file.fileName")}]}}];async function le(){try{H.value=[],A.value=!0;const{message:e}=await c.post("/files?action=Get_Recycle_bin");i(e)&&(Q.value=n(e.dirs)?e.dirs.map((e=>({...e,type:"dir",ext:"folder"}))):[],L.value=n(e.files)?e.files.map((e=>({...e,type:"file",ext:e.name.split(".").pop()||""}))):[],V.value=e.status,W.value=e.status_db)}finally{A.value=!1}}const te=["jpg","jpeg","png","bmp","gif","tiff","ico","JPG","webp"],ae=["zip","rar","gz","war","tgz"],ce=["mp4","mp3","mpeg","mpg","mov","avi","webm","mkv","mkv","mp3","rmvb","wma","wmv"],ie=["iso","xlsx","xls","doc","docx","tiff","exe","so","7z","bz","dmg","apk","pptx","ppt","xlsb","pdf"],ne=R((()=>{let e=[];switch(Y.value){case"all":e=[...Q.value,...L.value];break;case"folder":e=[...Q.value];break;case"file":e=[...L.value];break;case"image":e=L.value.filter((e=>te.some((l=>e.name.includes(`.${l}`)))));break;case"document":e=L.value.filter((e=>{const l=te.some((l=>e.name.includes(`.${l}`))),t=ae.some((l=>e.name.includes(`.${l}`))),a=ce.some((l=>e.name.includes(`.${l}`))),c=ie.some((l=>e.name.includes(`.${l}`)));return l||t||a||c}));break;case"database":e=[...Q.value,...L.value].filter((e=>e.name.includes("BTDB_")));break;default:e=[]}return e.sort(((e,l)=>l.time-e.time)),e})),se=()=>{le()},re=async e=>{const l={};"file"!==e&&(l[e]=1),await c.post("/files?action=Recycle_bin",l,{requestOptions:{loading:d("file.recycle.switching"),successMessage:!0}}),le()},oe=()=>{r({text:d("file.recycle.emptyTitle"),title:d("file.recycle.emptyTitle"),content:d("file.recycle.emptyConfirm"),onConfirm:async()=>{await c.post("/files?action=Close_Recycle_bin","",{requestOptions:{loading:d("file.recycle.emptying"),successMessage:!0}}),le()}})},de=e=>{s({title:d("file.recycle.restoreFileTitle",{name:e.name}),content:d("file.recycle.restoreFileConfirm"),onConfirm:async()=>{await c.post("/files?action=Re_Recycle_bin",{path:e.rname},{requestOptions:{loading:d("file.recycle.restoring"),successMessage:!0}}),le(),v(_)}})},pe=e=>{r({text:d("file.delete"),title:d("file.recycle.deleteFileTitle",{name:e.name}),content:d("file.recycle.deleteFileConfirm"),onConfirm:async()=>{await c.post("/files?action=Del_Recycle_bin",{path:e.rname},{requestOptions:{loading:d("file.recycle.deleting"),successMessage:!0}}),le()}})};return(e,l)=>{const t=b,a=w,c=x,i=f,n=u,s=p,r=o;return C(),z(r,{show:B(X),"onUpdate:show":l[7]||(l[7]=e=>U(X)?X.value=e:null),title:e.$t("file.recycle.title"),width:"80%"},{default:T((()=>[D("div",q,[D("div",M,[D("div",O,[D("div",I,[D("div",null,F(e.$t("file.recycle.fileRecycleBin")),1),$(t,{value:B(V),"onUpdate:value":[l[0]||(l[0]=e=>U(V)?V.value=e:null),l[1]||(l[1]=()=>re("file"))]},null,8,["value"])]),D("div",N,[D("div",null,F(e.$t("file.recycle.databaseRecycleBin")),1),$(t,{value:B(W),"onUpdate:value":[l[2]||(l[2]=e=>U(W)?W.value=e:null),l[3]||(l[3]=()=>re("db"))]},null,8,["value"])]),D("div",S,F(e.$t("file.recycle.warning")),1)]),$(a,{onClick:oe},{default:T((()=>[P(F(e.$t("file.recycle.emptyRecycleBin")),1)])),_:1})]),D("div",E,[D("div",G,[$(i,{value:B(Y),"onUpdate:value":[l[4]||(l[4]=e=>U(Y)?Y.value=e:null),se],panePadding:"0"},{default:T((()=>[$(c,{name:"all",tab:e.$t("file.recycle.all")},null,8,["tab"]),$(c,{name:"folder",tab:e.$t("file.recycle.folder")},null,8,["tab"]),$(c,{name:"file",tab:e.$t("file.recycle.file")},null,8,["tab"]),$(c,{name:"image",tab:e.$t("file.recycle.image")},null,8,["tab"]),$(c,{name:"document",tab:e.$t("file.recycle.document")},null,8,["tab"]),$(c,{name:"database",tab:e.$t("file.recycle.database")},null,8,["tab"])])),_:1},8,["value"])]),D("div",K,[$(n,{"checked-row-keys":B(H),"onUpdate:checkedRowKeys":l[5]||(l[5]=e=>U(H)?H.value=e:null),loading:B(A),"max-height":450,"row-key":"rname",columns:B(Z),data:B(ne)},null,8,["checked-row-keys","loading","columns","data"]),D("div",J,[$(s,{"checked-row-keys":B(H),"onUpdate:checkedRowKeys":l[6]||(l[6]=e=>U(H)?H.value=e:null),"row-key":"rname","select-width":240,data:B(ne),options:ee},null,8,["checked-row-keys","data"])])])])])])),_:1},8,["show","title"])}}}),[["__scopeId","data-v-2e0c3f71"]]))}}})); diff --git a/BTPanel/static/vite/js/Recycle-legacy-BQiCOsWE.js b/BTPanel/static/vite/js/Recycle-legacy-BQiCOsWE.js new file mode 100644 index 00000000..030771eb --- /dev/null +++ b/BTPanel/static/vite/js/Recycle-legacy-BQiCOsWE.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-uBXy5IWX.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./index-legacy-Bx8gh2uQ.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./FileIcon-legacy-BZIg8aaH.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068"],(function(e,l){"use strict";var t,a,c,i,n,s,r,o,d,p,u,y,f,m,v,g,b,x,w,_,h,k,j,$,R,C,T,z,D,F,U,B,P;return{setters:[e=>{t=e.D,a=e.x,c=e.av,i=e.i,n=e.n,s=e.h,r=e.dT,o=e.y,d=e.c},e=>{p=e._},e=>{u=e._},e=>{y=e._},e=>{f=e.u},e=>{m=e.F,v=e.t},e=>{g=e.n,b=e.a8,x=e.B,w=e.$},e=>{_=e.k,h=e.R,k=e.i,j=e.r,$=e.a0,R=e.c,C=e.$,T=e.a8,z=e.a9,D=e._,F=e.aa,U=e.X,B=e.S,P=e.j},null,null,null,null,null,null,null],execute:function(){var l=document.createElement("style");l.textContent='@charset "UTF-8";.modal-footer-btns[data-v-2e0c3f71]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-2e0c3f71]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recycle-wrapper .recycle-top[data-v-2e0c3f71]{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;border-bottom:1px solid var(--color-border);padding:16px 20px}.recycle-wrapper .recycle-top .config-item[data-v-2e0c3f71]{display:flex;align-items:center;gap:10px}.recycle-wrapper .recycle-main[data-v-2e0c3f71]{display:flex;height:568px}.recycle-wrapper .recycle-main .bt-tabs-modal[data-v-2e0c3f71]{--n-tab-item-width: 120px}.recycle-wrapper .recycle-main .tab-content[data-v-2e0c3f71]{flex:1;width:0;height:100%;padding:16px}\n/*$vite$:1*/',document.head.appendChild(l);const q={class:"recycle-wrapper"},M={class:"recycle-top"},O={class:"flex gap-20px"},N={class:"config-item"},S={class:"config-item"},G={class:"config-item"},I={class:"recycle-main"},K={class:"tabs"},E={class:"tab-content"},J={class:"mt-10px"};e("default",d(_({__name:"Recycle",setup(e,{expose:l}){const{t:d}=h(),_=k("fileStore"),W=j(!1);l({open(){W.value=!0,le()},close(){W.value=!1}});const X=j("all"),A=j(!1),H=j([]),L=j([]),Q=j([]),V=j(!1),Y=j(!1),Z=j([{type:"selection",width:40},{key:"name",title:()=>d("file.fileName"),render:e=>$("div",{class:"flex items-center gap-4px"},[$(m,{ext:e.ext},null),$("div",{class:"flex-1 w-0"},[$(g,null,{default:()=>[e.name]})])])},{key:"dname",title:()=>d("file.recycle.originalDirectory"),ellipsis:{tooltip:!0}},{key:"size",title:()=>d("file.size"),width:180,render:e=>t(e.size)},{title:()=>d("file.recycle.removalTime"),key:"time",width:200,render:e=>a(e.time)},f({width:200,options:e=>[{label:d("file.recycle.recover"),onClick:()=>{de(e)}},{label:d("file.recycle.deletePermanently"),onClick:()=>{pe(e)}}]})]),ee=[{key:"restore",label:d("file.recycle.batchRestore"),type:"confirm",confirm:{title:d("file.recycle.batchRestore"),desc:d("file.recycle.batchRestoreConfirm"),api:e=>c.post("/files?action=Re_Recycle_bin",{path:e.rname}),done:()=>{le(),v(_)},columns:[{key:"name",title:()=>d("file.fileName")}]}},{key:"delete",label:d("file.recycle.batchDeletePermanently"),type:"confirm",confirm:{title:d("file.recycle.batchDeletePermanently"),desc:d("file.recycle.batchDeleteConfirm"),api:e=>c.post("/files?action=Del_Recycle_bin",{path:e.rname}),done:()=>{le()},columns:[{key:"name",title:()=>d("file.fileName")}]}}];async function le(){try{H.value=[],A.value=!0;const{message:e}=await c.post("/files?action=Get_Recycle_bin");i(e)&&(Q.value=n(e.dirs)?e.dirs.map((e=>({...e,type:"dir",ext:"folder"}))):[],L.value=n(e.files)?e.files.map((e=>({...e,type:"file",ext:e.name.split(".").pop()||""}))):[],V.value=e.status,Y.value=e.status_db)}finally{A.value=!1}}const te=["jpg","jpeg","png","bmp","gif","tiff","ico","JPG","webp"],ae=["zip","rar","gz","war","tgz"],ce=["mp4","mp3","mpeg","mpg","mov","avi","webm","mkv","mkv","mp3","rmvb","wma","wmv"],ie=["iso","xlsx","xls","doc","docx","tiff","exe","so","7z","bz","dmg","apk","pptx","ppt","xlsb","pdf"],ne=R((()=>{let e=[];switch(X.value){case"all":e=[...Q.value,...L.value];break;case"folder":e=[...Q.value];break;case"file":e=[...L.value];break;case"image":e=L.value.filter((e=>te.some((l=>e.name.includes(`.${l}`)))));break;case"document":e=L.value.filter((e=>{const l=te.some((l=>e.name.includes(`.${l}`))),t=ae.some((l=>e.name.includes(`.${l}`))),a=ce.some((l=>e.name.includes(`.${l}`))),c=ie.some((l=>e.name.includes(`.${l}`)));return l||t||a||c}));break;case"database":e=[...Q.value,...L.value].filter((e=>e.name.includes("BTDB_")));break;default:e=[]}return e.sort(((e,l)=>l.time-e.time)),e})),se=()=>{le()},re=async e=>{const l={};"file"!==e&&(l[e]=1),await c.post("/files?action=Recycle_bin",l,{requestOptions:{loading:d("file.recycle.switching"),successMessage:!0}}),le()},oe=()=>{r({text:d("file.recycle.emptyTitle"),title:d("file.recycle.emptyTitle"),content:d("file.recycle.emptyConfirm"),onConfirm:async()=>{await c.post("/files?action=Close_Recycle_bin","",{requestOptions:{loading:d("file.recycle.emptying"),successMessage:!0}}),le()}})},de=e=>{s({title:d("file.recycle.restoreFileTitle",{name:e.name}),content:d("file.recycle.restoreFileConfirm"),onConfirm:async()=>{await c.post("/files?action=Re_Recycle_bin",{path:e.rname},{requestOptions:{loading:d("file.recycle.restoring"),successMessage:!0}}),le(),v(_)}})},pe=e=>{r({text:d("file.delete"),title:d("file.recycle.deleteFileTitle",{name:e.name}),content:d("file.recycle.deleteFileConfirm"),onConfirm:async()=>{await c.post("/files?action=Del_Recycle_bin",{path:e.rname},{requestOptions:{loading:d("file.recycle.deleting"),successMessage:!0}}),le()}})};return(e,l)=>{const t=b,a=x,c=w,i=y,n=u,s=p,r=o;return C(),T(r,{show:B(W),"onUpdate:show":l[7]||(l[7]=e=>U(W)?W.value=e:null),title:e.$t("file.recycle.title"),width:"80%"},{default:z((()=>[D("div",q,[D("div",M,[D("div",O,[D("div",N,[D("div",null,F(e.$t("file.recycle.fileRecycleBin")),1),$(t,{value:B(V),"onUpdate:value":[l[0]||(l[0]=e=>U(V)?V.value=e:null),l[1]||(l[1]=()=>re("file"))]},null,8,["value"])]),D("div",S,[D("div",null,F(e.$t("file.recycle.databaseRecycleBin")),1),$(t,{value:B(Y),"onUpdate:value":[l[2]||(l[2]=e=>U(Y)?Y.value=e:null),l[3]||(l[3]=()=>re("db"))]},null,8,["value"])]),D("div",G,F(e.$t("file.recycle.warning")),1)]),$(a,{onClick:oe},{default:z((()=>[P(F(e.$t("file.recycle.emptyRecycleBin")),1)])),_:1})]),D("div",I,[D("div",K,[$(i,{value:B(X),"onUpdate:value":[l[4]||(l[4]=e=>U(X)?X.value=e:null),se],panePadding:"0"},{default:z((()=>[$(c,{name:"all",tab:e.$t("file.recycle.all")},null,8,["tab"]),$(c,{name:"folder",tab:e.$t("file.recycle.folder")},null,8,["tab"]),$(c,{name:"file",tab:e.$t("file.recycle.file")},null,8,["tab"]),$(c,{name:"image",tab:e.$t("file.recycle.image")},null,8,["tab"]),$(c,{name:"document",tab:e.$t("file.recycle.document")},null,8,["tab"]),$(c,{name:"database",tab:e.$t("file.recycle.database")},null,8,["tab"])])),_:1},8,["value"])]),D("div",E,[$(n,{"checked-row-keys":B(H),"onUpdate:checkedRowKeys":l[5]||(l[5]=e=>U(H)?H.value=e:null),loading:B(A),"max-height":450,"row-key":"rname",columns:B(Z),data:B(ne)},null,8,["checked-row-keys","loading","columns","data"]),D("div",J,[$(s,{"checked-row-keys":B(H),"onUpdate:checkedRowKeys":l[6]||(l[6]=e=>U(H)?H.value=e:null),"row-key":"rname","select-width":240,data:B(ne),options:ee},null,8,["checked-row-keys","data"])])])])])])),_:1},8,["show","title"])}}}),[["__scopeId","data-v-2e0c3f71"]]))}}})); diff --git a/BTPanel/static/vite/js/RemoteDownload-BCfqHLBQ.js b/BTPanel/static/vite/js/RemoteDownload-BCfqHLBQ.js new file mode 100644 index 00000000..28cd9633 --- /dev/null +++ b/BTPanel/static/vite/js/RemoteDownload-BCfqHLBQ.js @@ -0,0 +1 @@ +import{y as R,av as x}from"./index-LQ-JIYiv.js?v=1774508183068";import{_ as M}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{g as U}from"./check-CNel7fTH.js?v=1774508183068";import{P as k,t as F}from"./FileIcon-MbTGjXAj.js?v=1774508183068";import{k as q,R as C,i as E,r as y,al as B,$ as N,a8 as T,a9 as s,_ as u,a0 as n,S as o,X as I}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a1 as P,b as S}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";const V={class:"p-20px pt-28px"},$={class:"w-320px"},j={class:"w-320px"},A={class:"w-320px"},W=q({__name:"RemoteDownload",setup(L,{expose:_}){const{t:l}=C(),d=E("fileStore"),{downloadFileFormData:e,currentPath:v}=d,r=y(!1),p=B("formRef"),c={url:{trigger:["input","blur"],validator:()=>e.value.url?U(e.value.url)?!0:new Error(l("file.remoteDownloadModal.validation.urlInvalid")):new Error(l("file.remoteDownloadModal.validation.urlRequired"))},path:{trigger:["input","blur"],validator:()=>e.value.path?!0:new Error(l("file.remoteDownloadModal.validation.pathRequired"))},filename:{trigger:["input","blur"],validator:()=>e.value.filename?!0:new Error(l("file.remoteDownloadModal.validation.filenameRequired"))}},w=i=>{const a=i.split("/").pop();e.value.filename=a||""},h=()=>{e.value.url="http://",e.value.path=v.value,e.value.filename=""};_({open(){h(),r.value=!0},close(){r.value=!1}});const b=async()=>{var i;await((i=p.value)==null?void 0:i.validate()),await x.post("/files?action=DownloadFile",{...e.value}),k(d),F(d)};return(i,a)=>{const f=S,m=P,g=M,D=R;return N(),T(D,{show:o(r),"onUpdate:show":a[3]||(a[3]=t=>I(r)?r.value=t:null),title:o(l)("file.remoteDownloadModal.title"),width:500,footer:!0,onConfirm:b},{default:s(()=>[u("div",V,[n(g,{ref_key:"formRef",ref:p,model:o(e),rules:c},{default:s(()=>[n(m,{label:o(l)("file.remoteDownloadModal.urlAddress"),path:"url"},{default:s(()=>[u("div",$,[n(f,{value:o(e).url,"onUpdate:value":[a[0]||(a[0]=t=>o(e).url=t),w]},null,8,["value"])])]),_:1},8,["label"]),n(m,{label:o(l)("file.remoteDownloadModal.downloadTo"),path:"path"},{default:s(()=>[u("div",j,[n(f,{value:o(e).path,"onUpdate:value":a[1]||(a[1]=t=>o(e).path=t)},null,8,["value"])])]),_:1},8,["label"]),n(m,{label:o(l)("file.remoteDownloadModal.fileName"),path:"filename"},{default:s(()=>[u("div",A,[n(f,{value:o(e).filename,"onUpdate:value":a[2]||(a[2]=t=>o(e).filename=t)},null,8,["value"])])]),_:1},8,["label"])]),_:1},8,["model"])])]),_:1},8,["show","title"])}}});export{W as default}; diff --git a/BTPanel/static/vite/js/RemoteDownload-DsBrKOv-.js b/BTPanel/static/vite/js/RemoteDownload-DsBrKOv-.js deleted file mode 100644 index 716bff1e..00000000 --- a/BTPanel/static/vite/js/RemoteDownload-DsBrKOv-.js +++ /dev/null @@ -1 +0,0 @@ -import{x as R,as as x}from"./index-BTglIPU2.js?v=1773287522785";import{_ as M}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{g as U}from"./check-CNel7fTH.js?v=1773287522785";import{Q as k,w as F}from"./FileIcon-eIHDRaxH.js?v=1773287522785";import{k as q,R as C,i as E,r as B,al as N,$ as T,a8 as y,a9 as s,_ as u,a0 as r,S as o,X as I}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as S,b as V}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./soft-Cjyfamvm.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";const $={class:"p-20px pt-28px"},j={class:"w-320px"},A={class:"w-320px"},L={class:"w-320px"},Y=q({__name:"RemoteDownload",setup(P,{expose:_}){const{t:l}=C(),d=E("fileStore"),{downloadFileFormData:e,currentPath:v}=d,n=B(!1),f=N("formRef"),c={url:{trigger:["input","blur"],validator:()=>e.value.url?U(e.value.url)?!0:new Error(l("file.remoteDownloadModal.validation.urlInvalid")):new Error(l("file.remoteDownloadModal.validation.urlRequired"))},path:{trigger:["input","blur"],validator:()=>e.value.path?!0:new Error(l("file.remoteDownloadModal.validation.pathRequired"))},filename:{trigger:["input","blur"],validator:()=>e.value.filename?!0:new Error(l("file.remoteDownloadModal.validation.filenameRequired"))}},w=i=>{const a=i.split("/").pop();e.value.filename=a||""},h=()=>{e.value.url="http://",e.value.path=v.value,e.value.filename=""};_({open(){h(),n.value=!0},close(){n.value=!1}});const b=async()=>{var i;await((i=f.value)==null?void 0:i.validate()),await x.post("/files?action=DownloadFile",{...e.value}),k(d),F(d)};return(i,a)=>{const m=V,p=S,g=M,D=R;return T(),y(D,{show:o(n),"onUpdate:show":a[3]||(a[3]=t=>I(n)?n.value=t:null),title:o(l)("file.remoteDownloadModal.title"),width:500,footer:!0,onConfirm:b},{default:s(()=>[u("div",$,[r(g,{ref_key:"formRef",ref:f,model:o(e),rules:c},{default:s(()=>[r(p,{label:o(l)("file.remoteDownloadModal.urlAddress"),path:"url"},{default:s(()=>[u("div",j,[r(m,{value:o(e).url,"onUpdate:value":[a[0]||(a[0]=t=>o(e).url=t),w]},null,8,["value"])])]),_:1},8,["label"]),r(p,{label:o(l)("file.remoteDownloadModal.downloadTo"),path:"path"},{default:s(()=>[u("div",A,[r(m,{value:o(e).path,"onUpdate:value":a[1]||(a[1]=t=>o(e).path=t)},null,8,["value"])])]),_:1},8,["label"]),r(p,{label:o(l)("file.remoteDownloadModal.fileName"),path:"filename"},{default:s(()=>[u("div",L,[r(m,{value:o(e).filename,"onUpdate:value":a[2]||(a[2]=t=>o(e).filename=t)},null,8,["value"])])]),_:1},8,["label"])]),_:1},8,["model"])])]),_:1},8,["show","title"])}}});export{Y as default}; diff --git a/BTPanel/static/vite/js/RemoteDownload-legacy-BZ54atkD.js b/BTPanel/static/vite/js/RemoteDownload-legacy-BZ54atkD.js new file mode 100644 index 00000000..711955ca --- /dev/null +++ b/BTPanel/static/vite/js/RemoteDownload-legacy-BZ54atkD.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./check-legacy-DG4HeWug.js?v=1774508183068","./FileIcon-legacy-BZIg8aaH.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068"],(function(e,l){"use strict";var a,t,o,r,u,i,n,d,s,v,p,f,c,m,w,g,h,_,y,D;return{setters:[e=>{a=e.y,t=e.av},e=>{o=e._},e=>{r=e.g},e=>{u=e.P,i=e.t},e=>{n=e.k,d=e.R,s=e.i,v=e.r,p=e.al,f=e.$,c=e.a8,m=e.a9,w=e._,g=e.a0,h=e.S,_=e.X},e=>{y=e.a1,D=e.b},null,null],execute:function(){const l={class:"p-20px pt-28px"},b={class:"w-320px"},j={class:"w-320px"},x={class:"w-320px"};e("default",n({__name:"RemoteDownload",setup(e,{expose:n}){const{t:M}=d(),R=s("fileStore"),{downloadFileFormData:E,currentPath:F}=R,U=v(!1),k=p("formRef"),q={url:{trigger:["input","blur"],validator:()=>E.value.url?!!r(E.value.url)||new Error(M("file.remoteDownloadModal.validation.urlInvalid")):new Error(M("file.remoteDownloadModal.validation.urlRequired"))},path:{trigger:["input","blur"],validator:()=>!!E.value.path||new Error(M("file.remoteDownloadModal.validation.pathRequired"))},filename:{trigger:["input","blur"],validator:()=>!!E.value.filename||new Error(M("file.remoteDownloadModal.validation.filenameRequired"))}},S=e=>{const l=e.split("/").pop();E.value.filename=l||""};n({open(){E.value.url="http://",E.value.path=F.value,E.value.filename="",U.value=!0},close(){U.value=!1}});const I=async()=>{await(k.value?.validate()),await t.post("/files?action=DownloadFile",{...E.value}),u(R),i(R)};return(e,t)=>{const r=D,u=y,i=o,n=a;return f(),c(n,{show:h(U),"onUpdate:show":t[3]||(t[3]=e=>_(U)?U.value=e:null),title:h(M)("file.remoteDownloadModal.title"),width:500,footer:!0,onConfirm:I},{default:m((()=>[w("div",l,[g(i,{ref_key:"formRef",ref:k,model:h(E),rules:q},{default:m((()=>[g(u,{label:h(M)("file.remoteDownloadModal.urlAddress"),path:"url"},{default:m((()=>[w("div",b,[g(r,{value:h(E).url,"onUpdate:value":[t[0]||(t[0]=e=>h(E).url=e),S]},null,8,["value"])])])),_:1},8,["label"]),g(u,{label:h(M)("file.remoteDownloadModal.downloadTo"),path:"path"},{default:m((()=>[w("div",j,[g(r,{value:h(E).path,"onUpdate:value":t[1]||(t[1]=e=>h(E).path=e)},null,8,["value"])])])),_:1},8,["label"]),g(u,{label:h(M)("file.remoteDownloadModal.fileName"),path:"filename"},{default:m((()=>[w("div",x,[g(r,{value:h(E).filename,"onUpdate:value":t[2]||(t[2]=e=>h(E).filename=e)},null,8,["value"])])])),_:1},8,["label"])])),_:1},8,["model"])])])),_:1},8,["show","title"])}}}))}}})); diff --git a/BTPanel/static/vite/js/RemoteDownload-legacy-WenFcHJ1.js b/BTPanel/static/vite/js/RemoteDownload-legacy-WenFcHJ1.js deleted file mode 100644 index 1015335d..00000000 --- a/BTPanel/static/vite/js/RemoteDownload-legacy-WenFcHJ1.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./check-legacy-DG4HeWug.js?v=1773287522785","./FileIcon-legacy-CYrICTNK.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./soft-legacy-CzxZ2w7j.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785"],(function(e,l){"use strict";var a,o,t,r,u,i,n,d,s,v,p,f,c,m,w,g,h,_,y,D;return{setters:[e=>{a=e.x,o=e.as},e=>{t=e._},e=>{r=e.g},e=>{u=e.Q,i=e.w},e=>{n=e.k,d=e.R,s=e.i,v=e.r,p=e.al,f=e.$,c=e.a8,m=e.a9,w=e._,g=e.a0,h=e.S,_=e.X},e=>{y=e.a1,D=e.b},null,null,null],execute:function(){const l={class:"p-20px pt-28px"},b={class:"w-320px"},j={class:"w-320px"},x={class:"w-320px"};e("default",n({__name:"RemoteDownload",setup(e,{expose:n}){const{t:M}=d(),R=s("fileStore"),{downloadFileFormData:E,currentPath:F}=R,U=v(!1),k=p("formRef"),q={url:{trigger:["input","blur"],validator:()=>E.value.url?!!r(E.value.url)||new Error(M("file.remoteDownloadModal.validation.urlInvalid")):new Error(M("file.remoteDownloadModal.validation.urlRequired"))},path:{trigger:["input","blur"],validator:()=>!!E.value.path||new Error(M("file.remoteDownloadModal.validation.pathRequired"))},filename:{trigger:["input","blur"],validator:()=>!!E.value.filename||new Error(M("file.remoteDownloadModal.validation.filenameRequired"))}},S=e=>{const l=e.split("/").pop();E.value.filename=l||""};n({open(){E.value.url="http://",E.value.path=F.value,E.value.filename="",U.value=!0},close(){U.value=!1}});const I=async()=>{await(k.value?.validate()),await o.post("/files?action=DownloadFile",{...E.value}),u(R),i(R)};return(e,o)=>{const r=D,u=y,i=t,n=a;return f(),c(n,{show:h(U),"onUpdate:show":o[3]||(o[3]=e=>_(U)?U.value=e:null),title:h(M)("file.remoteDownloadModal.title"),width:500,footer:!0,onConfirm:I},{default:m((()=>[w("div",l,[g(i,{ref_key:"formRef",ref:k,model:h(E),rules:q},{default:m((()=>[g(u,{label:h(M)("file.remoteDownloadModal.urlAddress"),path:"url"},{default:m((()=>[w("div",b,[g(r,{value:h(E).url,"onUpdate:value":[o[0]||(o[0]=e=>h(E).url=e),S]},null,8,["value"])])])),_:1},8,["label"]),g(u,{label:h(M)("file.remoteDownloadModal.downloadTo"),path:"path"},{default:m((()=>[w("div",j,[g(r,{value:h(E).path,"onUpdate:value":o[1]||(o[1]=e=>h(E).path=e)},null,8,["value"])])])),_:1},8,["label"]),g(u,{label:h(M)("file.remoteDownloadModal.fileName"),path:"filename"},{default:m((()=>[w("div",x,[g(r,{value:h(E).filename,"onUpdate:value":o[2]||(o[2]=e=>h(E).filename=e)},null,8,["value"])])])),_:1},8,["label"])])),_:1},8,["model"])])])),_:1},8,["show","title"])}}}))}}})); diff --git a/BTPanel/static/vite/js/SearchFileContent-CrOI5R1U.js b/BTPanel/static/vite/js/SearchFileContent-CrOI5R1U.js new file mode 100644 index 00000000..c6d536fa --- /dev/null +++ b/BTPanel/static/vite/js/SearchFileContent-CrOI5R1U.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/index-Cs5dB_8a.js?v=1774508183068","js/vue-core-BlDeWrD6.js?v=1774508183068","js/prismjs-BZPoR7_J.js?v=1774508183068","css/prismjs-D-3FhBe_.css?v=1774508183068","js/index-LQ-JIYiv.js?v=1774508183068","js/naive-ui-BjvXgNtF.js?v=1774508183068","css/index-Bu1Pw919.css?v=1774508183068","js/files-B-5OIeVB.js?v=1774508183068","css/index-BZ6kzE9A.css?v=1774508183068"])))=>i.map(i=>d[i]); +import{l as X,y as Z,p as q,S as G,m as J,c as K}from"./index-LQ-JIYiv.js?v=1774508183068";import{k as Q,R as Y,i as ee,r as te,$ as u,a8 as C,a9 as s,_ as c,a0 as l,S as a,j as _,aa as i,ak as ne,Z as b,F as j,P as x,aj as ae,X as le,a3 as oe}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{s as se}from"./files-B-5OIeVB.js?v=1774508183068";import{W as ie}from"./FileIcon-MbTGjXAj.js?v=1774508183068";import{a7 as ce,a1 as re,au as ue,b as de,B as _e,am as pe,a3 as fe,a4 as me,a0 as he,aD as ve,aC as ge}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";const Ce={class:"search-wrapper"},be={class:"w-100% flex justify-start gap-6 items-center"},Fe={class:"w-100% flex justify-between"},$e={class:"search-res"},ke={class:"top-desc"},Me={class:"mr-5px"},we={class:"match-list"},ye={class:"text-font1 fw-bold"},Se=["innerHTML"],je=Q({__name:"SearchFileContent",props:{currentPath:{type:String,default:"/"}},setup(xe,{expose:R}){const{t:F}=Y(),$=ee("fileStore"),{currentPath:k,resetSearchFileContentFormData:U}=$;function P(){f.value=!0,n.value.path=k.value}function M(){U()}R({open:P,close:M});const{searchStatistics:p,searchRes:d,searchFileContentFormData:n}=$,f=te(!1);function B(){D()}function E(e,t){const r=new RegExp(t,"g");return e.replace(r,''.concat(t,""))}function O(){q({title:F("Component.SelectPath.index_7"),width:750,height:640,footer:!1,data:{path:n.value.path,callback:e=>{n.value.path=e}},component:oe(()=>G(()=>import("./index-Cs5dB_8a.js?v=1774508183068"),__vite__mapDeps([0,1,2,3,4,5,6,7,8])))})}async function D(){const e=J.loading(F("file.searchFileContentModal.searching"));try{const{message:t}=await se(n.value);t&&(d.value=t,Object.keys(d.value).length&&(p.value.files=Object.keys(d.value).length,p.value.times=Object.values(d.value).flat().reduce((r,m)=>r+Object.values(m).length,0)))}finally{e.close()}}async function L(e){ie(e,k.value)}return(e,t)=>{const r=de,m=_e,V=ue,h=re,v=pe,A=X,w=me,I=fe,N=ce,T=he,W=ge,H=ve,z=Z;return u(),C(z,{show:a(f),"onUpdate:show":t[7]||(t[7]=o=>le(f)?f.value=o:null),title:e.$t("file.searchFileContentModal.title"),width:720,onAfterLeave:M},{default:s(()=>[c("div",Ce,[l(N,{"label-placement":"left","label-width":60,"label-align":"left"},{default:s(()=>[l(h,{label:e.$t("file.searchFileContentModal.search")},{default:s(()=>[l(V,null,{default:s(()=>[l(r,{value:a(n).text,"onUpdate:value":t[0]||(t[0]=o=>a(n).text=o)},null,8,["value"]),l(m,{type:"primary",onClick:B},{default:s(()=>[_(i(e.$t("file.searchFileContentModal.search")),1)]),_:1})]),_:1})]),_:1},8,["label"]),l(h,{label:e.$t("file.searchFileContentModal.suffix")},{default:s(()=>[l(r,{value:a(n).exts,"onUpdate:value":t[1]||(t[1]=o=>a(n).exts=o)},null,8,["value"])]),_:1},8,["label"]),l(h,{label:e.$t("file.searchFileContentModal.folder")},{default:s(()=>[c("div",be,[l(r,{value:a(n).path,"onUpdate:value":t[3]||(t[3]=o=>a(n).path=o)},{suffix:s(()=>[l(v,{checked:a(n).is_subdir,"onUpdate:checked":t[2]||(t[2]=o=>a(n).is_subdir=o),"checked-value":1,"unchecked-value":0},{default:s(()=>[_(i(e.$t("file.searchFileContentModal.subdir")),1)]),_:1},8,["checked"])]),_:1},8,["value"]),l(A,{name:"file-dir",color:"#000",size:"24",style:{cursor:"pointer"},onClick:O})])]),_:1},8,["label"]),l(h,{label:e.$t("file.searchFileContentModal.mode")},{default:s(()=>[c("div",Fe,[l(I,{value:a(n).mode,"onUpdate:value":t[4]||(t[4]=o=>a(n).mode=o)},{default:s(()=>[l(w,{value:0},{default:s(()=>[_(i(e.$t("file.searchFileContentModal.words")),1)]),_:1}),l(w,{value:1},{default:s(()=>[_(i(e.$t("file.searchFileContentModal.regex")),1)]),_:1})]),_:1},8,["value"]),c("div",null,[a(n).mode==0?(u(),C(v,{key:0,checked:a(n).isword,"onUpdate:checked":t[5]||(t[5]=o=>a(n).isword=o),label:e.$t("file.searchFileContentModal.matchWholeWord"),class:"mr-5","checked-value":1,"unchecked-value":0},null,8,["checked","label"])):ne("",!0),l(v,{checked:a(n).iscase,"onUpdate:checked":t[6]||(t[6]=o=>a(n).iscase=o),label:e.$t("file.searchFileContentModal.matchCase"),"checked-value":1,"unchecked-value":0},null,8,["checked","label"])])])]),_:1},8,["label"])]),_:1}),c("div",$e,[c("div",ke,[c("span",Me,i(e.$t("file.searchFileContentModal.searchResult")),1),c("span",null,i(a(p).times)+" "+i(e.$t("file.searchFileContentModal.matchesIn"))+" "+i(a(p).files)+" "+i(e.$t("file.searchFileContentModal.files")),1)]),l(T,{style:{"margin-bottom":"20px"}}),(u(!0),b(j,null,x(a(d),(o,g)=>(u(),C(H,{key:g,class:"mb-10px"},{default:s(()=>[l(W,{title:"".concat(g," (").concat(e.$t("file.searchFileContentModal.match")," ").concat(Object.values(o).length," ").concat(e.$t("file.searchFileContentModal.times"),")"),name:"1"},{"header-extra":s(()=>[l(m,{text:"",type:"primary",onClick:ae(y=>L(g),["stop"])},{default:s(()=>[_(i(e.$t("file.searchFileContentModal.edit")),1)]),_:2},1032,["onClick"])]),default:s(()=>[c("div",we,[(u(!0),b(j,null,x(o,(y,S)=>(u(),b("div",{class:"match-list-item",key:S},[c("div",ye,i(e.$t("file.searchFileContentModal.line"))+" "+i(S)+": ",1),c("div",{innerHTML:E(y,a(n).text)},null,8,Se)]))),128))])]),_:2},1032,["title"])]),_:2},1024))),128))])])]),_:1},8,["show","title"])}}}),Le=K(je,[["__scopeId","data-v-4e566375"]]);export{Le as default}; diff --git a/BTPanel/static/vite/js/SearchFileContent-legacy-B_1oZ7L3.js b/BTPanel/static/vite/js/SearchFileContent-legacy-B_1oZ7L3.js new file mode 100644 index 00000000..8e3f38b9 --- /dev/null +++ b/BTPanel/static/vite/js/SearchFileContent-legacy-B_1oZ7L3.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./files-legacy-MK_07WLs.js?v=1774508183068","./FileIcon-legacy-BZIg8aaH.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068"],(function(e,l){"use strict";var t,a,n,s,c,i,o,d,r,u,h,p,f,v,m,x,g,y,b,C,k,F,$,_,w,j,M,S,U,O,P,R,D,I,L,T,W,E;return{setters:[e=>{t=e.l,a=e.y,n=e.p,s=e.S,c=e.m,i=e.c},e=>{o=e.k,d=e.R,r=e.i,u=e.r,h=e.$,p=e.a8,f=e.a9,v=e._,m=e.a0,x=e.S,g=e.j,y=e.aa,b=e.ak,C=e.Z,k=e.F,F=e.P,$=e.aj,_=e.X,w=e.a3},e=>{j=e.s},e=>{M=e.W},e=>{S=e.a7,U=e.a1,O=e.au,P=e.b,R=e.B,D=e.am,I=e.a3,L=e.a4,T=e.a0,W=e.aD,E=e.aC},null,null],execute:function(){var G=document.createElement("style");G.textContent='@charset "UTF-8";.modal-footer-btns[data-v-4e566375]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-4e566375]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search-wrapper[data-v-4e566375]{padding:20px}.search-wrapper .search-res .top-desc[data-v-4e566375]{display:flex;justify-content:start;align-content:center;margin-bottom:5px}.search-wrapper .search-res .match-list .match-list-item[data-v-4e566375]{display:flex;align-items:center;flex-direction:row;justify-content:start;gap:5px;padding:0 10px 10px}[data-v-4e566375] .n-collapse{border:1px solid var(--color-border)}[data-v-4e566375] .n-collapse .n-collapse-item:first-child>.n-collapse-item__header{padding:10px 15px 10px 5px;background:var(--color-bg-2)}\n/*$vite$:1*/',document.head.appendChild(G);const H={class:"search-wrapper"},z={class:"w-100% flex justify-start gap-6 items-center"},A={class:"w-100% flex justify-between"},B={class:"search-res"},X={class:"top-desc"},Z={class:"mr-5px"},q={class:"match-list"},J={class:"text-font1 fw-bold"},K=["innerHTML"];e("default",i(o({__name:"SearchFileContent",props:{currentPath:{type:String,default:"/"}},setup(e,{expose:i}){const{t:o}=d(),G=r("fileStore"),{currentPath:N,resetSearchFileContentFormData:Q}=G;function V(){Q()}i({open:function(){te.value=!0,le.value.path=N.value},close:V});const{searchStatistics:Y,searchRes:ee,searchFileContentFormData:le}=G,te=u(!1);function ae(){!async function(){const e=c.loading(o("file.searchFileContentModal.searching"));try{const{message:e}=await j(le.value);e&&(ee.value=e,Object.keys(ee.value).length&&(Y.value.files=Object.keys(ee.value).length,Y.value.times=Object.values(ee.value).flat().reduce(((e,l)=>e+Object.values(l).length),0)))}finally{e.close()}}()}function ne(e,l){const t=new RegExp(l,"g");return e.replace(t,`${l}`)}function se(){n({title:o("Component.SelectPath.index_7"),width:750,height:640,footer:!1,data:{path:le.value.path,callback:e=>{le.value.path=e}},component:w((()=>s((()=>l.import("./index-legacy-DQ9Fq-kQ.js?v=1774508183068")),void 0)))})}return(e,l)=>{const n=P,s=R,c=O,i=U,o=D,d=t,r=L,u=I,w=S,j=T,G=E,Q=W,ce=a;return h(),p(ce,{show:x(te),"onUpdate:show":l[7]||(l[7]=e=>_(te)?te.value=e:null),title:e.$t("file.searchFileContentModal.title"),width:720,onAfterLeave:V},{default:f((()=>[v("div",H,[m(w,{"label-placement":"left","label-width":60,"label-align":"left"},{default:f((()=>[m(i,{label:e.$t("file.searchFileContentModal.search")},{default:f((()=>[m(c,null,{default:f((()=>[m(n,{value:x(le).text,"onUpdate:value":l[0]||(l[0]=e=>x(le).text=e)},null,8,["value"]),m(s,{type:"primary",onClick:ae},{default:f((()=>[g(y(e.$t("file.searchFileContentModal.search")),1)])),_:1})])),_:1})])),_:1},8,["label"]),m(i,{label:e.$t("file.searchFileContentModal.suffix")},{default:f((()=>[m(n,{value:x(le).exts,"onUpdate:value":l[1]||(l[1]=e=>x(le).exts=e)},null,8,["value"])])),_:1},8,["label"]),m(i,{label:e.$t("file.searchFileContentModal.folder")},{default:f((()=>[v("div",z,[m(n,{value:x(le).path,"onUpdate:value":l[3]||(l[3]=e=>x(le).path=e)},{suffix:f((()=>[m(o,{checked:x(le).is_subdir,"onUpdate:checked":l[2]||(l[2]=e=>x(le).is_subdir=e),"checked-value":1,"unchecked-value":0},{default:f((()=>[g(y(e.$t("file.searchFileContentModal.subdir")),1)])),_:1},8,["checked"])])),_:1},8,["value"]),m(d,{name:"file-dir",color:"#000",size:"24",style:{cursor:"pointer"},onClick:se})])])),_:1},8,["label"]),m(i,{label:e.$t("file.searchFileContentModal.mode")},{default:f((()=>[v("div",A,[m(u,{value:x(le).mode,"onUpdate:value":l[4]||(l[4]=e=>x(le).mode=e)},{default:f((()=>[m(r,{value:0},{default:f((()=>[g(y(e.$t("file.searchFileContentModal.words")),1)])),_:1}),m(r,{value:1},{default:f((()=>[g(y(e.$t("file.searchFileContentModal.regex")),1)])),_:1})])),_:1},8,["value"]),v("div",null,[0==x(le).mode?(h(),p(o,{key:0,checked:x(le).isword,"onUpdate:checked":l[5]||(l[5]=e=>x(le).isword=e),label:e.$t("file.searchFileContentModal.matchWholeWord"),class:"mr-5","checked-value":1,"unchecked-value":0},null,8,["checked","label"])):b("",!0),m(o,{checked:x(le).iscase,"onUpdate:checked":l[6]||(l[6]=e=>x(le).iscase=e),label:e.$t("file.searchFileContentModal.matchCase"),"checked-value":1,"unchecked-value":0},null,8,["checked","label"])])])])),_:1},8,["label"])])),_:1}),v("div",B,[v("div",X,[v("span",Z,y(e.$t("file.searchFileContentModal.searchResult")),1),v("span",null,y(x(Y).times)+" "+y(e.$t("file.searchFileContentModal.matchesIn"))+" "+y(x(Y).files)+" "+y(e.$t("file.searchFileContentModal.files")),1)]),m(j,{style:{"margin-bottom":"20px"}}),(h(!0),C(k,null,F(x(ee),((l,t)=>(h(),p(Q,{key:t,class:"mb-10px"},{default:f((()=>[m(G,{title:`${t} (${e.$t("file.searchFileContentModal.match")} ${Object.values(l).length} ${e.$t("file.searchFileContentModal.times")})`,name:"1"},{"header-extra":f((()=>[m(s,{text:"",type:"primary",onClick:$((e=>async function(e){M(e,N.value)}(t)),["stop"])},{default:f((()=>[g(y(e.$t("file.searchFileContentModal.edit")),1)])),_:2},1032,["onClick"])])),default:f((()=>[v("div",q,[(h(!0),C(k,null,F(l,((l,t)=>(h(),C("div",{class:"match-list-item",key:t},[v("div",J,y(e.$t("file.searchFileContentModal.line"))+" "+y(t)+": ",1),v("div",{innerHTML:ne(l,x(le).text)},null,8,K)])))),128))])])),_:2},1032,["title"])])),_:2},1024)))),128))])])])),_:1},8,["show","title"])}}}),[["__scopeId","data-v-4e566375"]]))}}})); diff --git a/BTPanel/static/vite/js/SearchFileContent-legacy-GZFbCRai.js b/BTPanel/static/vite/js/SearchFileContent-legacy-GZFbCRai.js deleted file mode 100644 index f6736db1..00000000 --- a/BTPanel/static/vite/js/SearchFileContent-legacy-GZFbCRai.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./files-legacy-D8sMT3Kb.js?v=1773287522785","./FileIcon-legacy-CYrICTNK.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./soft-legacy-CzxZ2w7j.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785"],(function(e,l){"use strict";var t,a,n,s,c,i,o,d,r,u,h,p,f,v,m,x,g,y,b,C,k,F,$,_,w,j,M,U,S,O,P,I,R,D,E,L,T,W;return{setters:[e=>{t=e.l,a=e.x,n=e.p,s=e.P,c=e.m,i=e.c},e=>{o=e.k,d=e.R,r=e.i,u=e.r,h=e.$,p=e.a8,f=e.a9,v=e._,m=e.a0,x=e.S,g=e.j,y=e.aa,b=e.ak,C=e.Z,k=e.F,F=e.P,$=e.aj,_=e.X,w=e.a3},e=>{j=e.s},e=>{M=e.W},e=>{U=e.a7,S=e.a1,O=e.au,P=e.b,I=e.B,R=e.al,D=e.a3,E=e.a4,L=e.a0,T=e.aD,W=e.aC},null,null,null],execute:function(){var H=document.createElement("style");H.textContent='@charset "UTF-8";.modal-footer-btns[data-v-4e566375]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-4e566375]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search-wrapper[data-v-4e566375]{padding:20px}.search-wrapper .search-res .top-desc[data-v-4e566375]{display:flex;justify-content:start;align-content:center;margin-bottom:5px}.search-wrapper .search-res .match-list .match-list-item[data-v-4e566375]{display:flex;align-items:center;flex-direction:row;justify-content:start;gap:5px;padding:0 10px 10px}[data-v-4e566375] .n-collapse{border:1px solid var(--color-border)}[data-v-4e566375] .n-collapse .n-collapse-item:first-child>.n-collapse-item__header{padding:10px 15px 10px 5px;background:var(--color-bg-2)}\n/*$vite$:1*/',document.head.appendChild(H);const z={class:"search-wrapper"},A={class:"w-100% flex justify-start gap-6 items-center"},B={class:"w-100% flex justify-between"},X={class:"search-res"},Z={class:"top-desc"},q={class:"mr-5px"},G={class:"match-list"},J={class:"text-font1 fw-bold"},K=["innerHTML"];e("default",i(o({__name:"SearchFileContent",props:{currentPath:{type:String,default:"/"}},setup(e,{expose:i}){const{t:o}=d(),H=r("fileStore"),{currentPath:N,resetSearchFileContentFormData:Q}=H;function V(){Q()}i({open:function(){te.value=!0,le.value.path=N.value},close:V});const{searchStatistics:Y,searchRes:ee,searchFileContentFormData:le}=H,te=u(!1);function ae(){!async function(){const e=c.loading(o("file.searchFileContentModal.searching"));try{const{message:e}=await j(le.value);e&&(ee.value=e,Object.keys(ee.value).length&&(Y.value.files=Object.keys(ee.value).length,Y.value.times=Object.values(ee.value).flat().reduce(((e,l)=>e+Object.values(l).length),0)))}finally{e.close()}}()}function ne(e,l){const t=new RegExp(l,"g");return e.replace(t,`${l}`)}function se(){n({title:o("Component.SelectPath.index_7"),width:750,height:640,footer:!1,data:{path:le.value.path,callback:e=>{le.value.path=e}},component:w((()=>s((()=>l.import("./index-legacy-W_PN01QM.js?v=1773287522785")),void 0)))})}return(e,l)=>{const n=P,s=I,c=O,i=S,o=R,d=t,r=E,u=D,w=U,j=L,H=W,Q=T,ce=a;return h(),p(ce,{show:x(te),"onUpdate:show":l[7]||(l[7]=e=>_(te)?te.value=e:null),title:e.$t("file.searchFileContentModal.title"),width:720,onAfterLeave:V},{default:f((()=>[v("div",z,[m(w,{"label-placement":"left","label-width":60,"label-align":"left"},{default:f((()=>[m(i,{label:e.$t("file.searchFileContentModal.search")},{default:f((()=>[m(c,null,{default:f((()=>[m(n,{value:x(le).text,"onUpdate:value":l[0]||(l[0]=e=>x(le).text=e)},null,8,["value"]),m(s,{type:"primary",onClick:ae},{default:f((()=>[g(y(e.$t("file.searchFileContentModal.search")),1)])),_:1})])),_:1})])),_:1},8,["label"]),m(i,{label:e.$t("file.searchFileContentModal.suffix")},{default:f((()=>[m(n,{value:x(le).exts,"onUpdate:value":l[1]||(l[1]=e=>x(le).exts=e)},null,8,["value"])])),_:1},8,["label"]),m(i,{label:e.$t("file.searchFileContentModal.folder")},{default:f((()=>[v("div",A,[m(n,{value:x(le).path,"onUpdate:value":l[3]||(l[3]=e=>x(le).path=e)},{suffix:f((()=>[m(o,{checked:x(le).is_subdir,"onUpdate:checked":l[2]||(l[2]=e=>x(le).is_subdir=e),"checked-value":1,"unchecked-value":0},{default:f((()=>[g(y(e.$t("file.searchFileContentModal.subdir")),1)])),_:1},8,["checked"])])),_:1},8,["value"]),m(d,{name:"file-dir",color:"#000",size:"24",style:{cursor:"pointer"},onClick:se})])])),_:1},8,["label"]),m(i,{label:e.$t("file.searchFileContentModal.mode")},{default:f((()=>[v("div",B,[m(u,{value:x(le).mode,"onUpdate:value":l[4]||(l[4]=e=>x(le).mode=e)},{default:f((()=>[m(r,{value:0},{default:f((()=>[g(y(e.$t("file.searchFileContentModal.words")),1)])),_:1}),m(r,{value:1},{default:f((()=>[g(y(e.$t("file.searchFileContentModal.regex")),1)])),_:1})])),_:1},8,["value"]),v("div",null,[0==x(le).mode?(h(),p(o,{key:0,checked:x(le).isword,"onUpdate:checked":l[5]||(l[5]=e=>x(le).isword=e),label:e.$t("file.searchFileContentModal.matchWholeWord"),class:"mr-5","checked-value":1,"unchecked-value":0},null,8,["checked","label"])):b("",!0),m(o,{checked:x(le).iscase,"onUpdate:checked":l[6]||(l[6]=e=>x(le).iscase=e),label:e.$t("file.searchFileContentModal.matchCase"),"checked-value":1,"unchecked-value":0},null,8,["checked","label"])])])])),_:1},8,["label"])])),_:1}),v("div",X,[v("div",Z,[v("span",q,y(e.$t("file.searchFileContentModal.searchResult")),1),v("span",null,y(x(Y).times)+" "+y(e.$t("file.searchFileContentModal.matchesIn"))+" "+y(x(Y).files)+" "+y(e.$t("file.searchFileContentModal.files")),1)]),m(j,{style:{"margin-bottom":"20px"}}),(h(!0),C(k,null,F(x(ee),((l,t)=>(h(),p(Q,{key:t,class:"mb-10px"},{default:f((()=>[m(H,{title:`${t} (${e.$t("file.searchFileContentModal.match")} ${Object.values(l).length} ${e.$t("file.searchFileContentModal.times")})`,name:"1"},{"header-extra":f((()=>[m(s,{text:"",type:"primary",onClick:$((e=>async function(e){M(e,N.value)}(t)),["stop"])},{default:f((()=>[g(y(e.$t("file.searchFileContentModal.edit")),1)])),_:2},1032,["onClick"])])),default:f((()=>[v("div",G,[(h(!0),C(k,null,F(l,((l,t)=>(h(),C("div",{class:"match-list-item",key:t},[v("div",J,y(e.$t("file.searchFileContentModal.line"))+" "+y(t)+": ",1),v("div",{innerHTML:ne(l,x(le).text)},null,8,K)])))),128))])])),_:2},1032,["title"])])),_:2},1024)))),128))])])])),_:1},8,["show","title"])}}}),[["__scopeId","data-v-4e566375"]]))}}})); diff --git a/BTPanel/static/vite/js/SearchFileContent-ow9Yna3_.js b/BTPanel/static/vite/js/SearchFileContent-ow9Yna3_.js deleted file mode 100644 index 741a8bd5..00000000 --- a/BTPanel/static/vite/js/SearchFileContent-ow9Yna3_.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/index-B6Y_2X_r.js?v=1773287522785","js/vue-core-DJjvd5ZC.js?v=1773287522785","js/prismjs-BZPoR7_J.js?v=1773287522785","css/prismjs-D-3FhBe_.css?v=1773287522785","js/index-BTglIPU2.js?v=1773287522785","js/naive-ui--dJnpVcV.js?v=1773287522785","css/index-DEM1fxGq.css?v=1773287522785","js/files-BUbkyTRl.js?v=1773287522785","css/index-FEE1lr_F.css?v=1773287522785"])))=>i.map(i=>d[i]); -import{l as X,x as Z,p as q,P as G,m as J,c as K}from"./index-BTglIPU2.js?v=1773287522785";import{k as Q,R as Y,i as ee,r as te,$ as u,a8 as C,a9 as s,_ as c,a0 as l,S as a,j as _,aa as i,ak as ne,Z as b,F as S,P as x,aj as ae,X as le,a3 as oe}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{s as se}from"./files-BUbkyTRl.js?v=1773287522785";import{W as ie}from"./FileIcon-eIHDRaxH.js?v=1773287522785";import{a7 as ce,a1 as re,au as ue,b as de,B as _e,al as pe,a3 as fe,a4 as me,a0 as he,aD as ve,aC as ge}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./soft-Cjyfamvm.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";const Ce={class:"search-wrapper"},be={class:"w-100% flex justify-start gap-6 items-center"},Fe={class:"w-100% flex justify-between"},$e={class:"search-res"},ke={class:"top-desc"},Me={class:"mr-5px"},we={class:"match-list"},ye={class:"text-font1 fw-bold"},je=["innerHTML"],Se=Q({__name:"SearchFileContent",props:{currentPath:{type:String,default:"/"}},setup(xe,{expose:P}){const{t:F}=Y(),$=ee("fileStore"),{currentPath:k,resetSearchFileContentFormData:R}=$;function U(){f.value=!0,n.value.path=k.value}function M(){R()}P({open:U,close:M});const{searchStatistics:p,searchRes:d,searchFileContentFormData:n}=$,f=te(!1);function B(){D()}function E(e,t){const r=new RegExp(t,"g");return e.replace(r,''.concat(t,""))}function O(){q({title:F("Component.SelectPath.index_7"),width:750,height:640,footer:!1,data:{path:n.value.path,callback:e=>{n.value.path=e}},component:oe(()=>G(()=>import("./index-B6Y_2X_r.js?v=1773287522785"),__vite__mapDeps([0,1,2,3,4,5,6,7,8])))})}async function D(){const e=J.loading(F("file.searchFileContentModal.searching"));try{const{message:t}=await se(n.value);t&&(d.value=t,Object.keys(d.value).length&&(p.value.files=Object.keys(d.value).length,p.value.times=Object.values(d.value).flat().reduce((r,m)=>r+Object.values(m).length,0)))}finally{e.close()}}async function L(e){ie(e,k.value)}return(e,t)=>{const r=de,m=_e,V=ue,h=re,v=pe,A=X,w=me,I=fe,N=ce,T=he,W=ge,H=ve,z=Z;return u(),C(z,{show:a(f),"onUpdate:show":t[7]||(t[7]=o=>le(f)?f.value=o:null),title:e.$t("file.searchFileContentModal.title"),width:720,onAfterLeave:M},{default:s(()=>[c("div",Ce,[l(N,{"label-placement":"left","label-width":60,"label-align":"left"},{default:s(()=>[l(h,{label:e.$t("file.searchFileContentModal.search")},{default:s(()=>[l(V,null,{default:s(()=>[l(r,{value:a(n).text,"onUpdate:value":t[0]||(t[0]=o=>a(n).text=o)},null,8,["value"]),l(m,{type:"primary",onClick:B},{default:s(()=>[_(i(e.$t("file.searchFileContentModal.search")),1)]),_:1})]),_:1})]),_:1},8,["label"]),l(h,{label:e.$t("file.searchFileContentModal.suffix")},{default:s(()=>[l(r,{value:a(n).exts,"onUpdate:value":t[1]||(t[1]=o=>a(n).exts=o)},null,8,["value"])]),_:1},8,["label"]),l(h,{label:e.$t("file.searchFileContentModal.folder")},{default:s(()=>[c("div",be,[l(r,{value:a(n).path,"onUpdate:value":t[3]||(t[3]=o=>a(n).path=o)},{suffix:s(()=>[l(v,{checked:a(n).is_subdir,"onUpdate:checked":t[2]||(t[2]=o=>a(n).is_subdir=o),"checked-value":1,"unchecked-value":0},{default:s(()=>[_(i(e.$t("file.searchFileContentModal.subdir")),1)]),_:1},8,["checked"])]),_:1},8,["value"]),l(A,{name:"file-dir",color:"#000",size:"24",style:{cursor:"pointer"},onClick:O})])]),_:1},8,["label"]),l(h,{label:e.$t("file.searchFileContentModal.mode")},{default:s(()=>[c("div",Fe,[l(I,{value:a(n).mode,"onUpdate:value":t[4]||(t[4]=o=>a(n).mode=o)},{default:s(()=>[l(w,{value:0},{default:s(()=>[_(i(e.$t("file.searchFileContentModal.words")),1)]),_:1}),l(w,{value:1},{default:s(()=>[_(i(e.$t("file.searchFileContentModal.regex")),1)]),_:1})]),_:1},8,["value"]),c("div",null,[a(n).mode==0?(u(),C(v,{key:0,checked:a(n).isword,"onUpdate:checked":t[5]||(t[5]=o=>a(n).isword=o),label:e.$t("file.searchFileContentModal.matchWholeWord"),class:"mr-5","checked-value":1,"unchecked-value":0},null,8,["checked","label"])):ne("",!0),l(v,{checked:a(n).iscase,"onUpdate:checked":t[6]||(t[6]=o=>a(n).iscase=o),label:e.$t("file.searchFileContentModal.matchCase"),"checked-value":1,"unchecked-value":0},null,8,["checked","label"])])])]),_:1},8,["label"])]),_:1}),c("div",$e,[c("div",ke,[c("span",Me,i(e.$t("file.searchFileContentModal.searchResult")),1),c("span",null,i(a(p).times)+" "+i(e.$t("file.searchFileContentModal.matchesIn"))+" "+i(a(p).files)+" "+i(e.$t("file.searchFileContentModal.files")),1)]),l(T,{style:{"margin-bottom":"20px"}}),(u(!0),b(S,null,x(a(d),(o,g)=>(u(),C(H,{key:g,class:"mb-10px"},{default:s(()=>[l(W,{title:"".concat(g," (").concat(e.$t("file.searchFileContentModal.match")," ").concat(Object.values(o).length," ").concat(e.$t("file.searchFileContentModal.times"),")"),name:"1"},{"header-extra":s(()=>[l(m,{text:"",type:"primary",onClick:ae(y=>L(g),["stop"])},{default:s(()=>[_(i(e.$t("file.searchFileContentModal.edit")),1)]),_:2},1032,["onClick"])]),default:s(()=>[c("div",we,[(u(!0),b(S,null,x(o,(y,j)=>(u(),b("div",{class:"match-list-item",key:j},[c("div",ye,i(e.$t("file.searchFileContentModal.line"))+" "+i(j)+": ",1),c("div",{innerHTML:E(y,a(n).text)},null,8,je)]))),128))])]),_:2},1032,["title"])]),_:2},1024))),128))])])]),_:1},8,["show","title"])}}}),Ve=K(Se,[["__scopeId","data-v-4e566375"]]);export{Ve as default}; diff --git a/BTPanel/static/vite/js/ServerSecSection-CkGwEv9o.js b/BTPanel/static/vite/js/ServerSecSection-CkGwEv9o.js new file mode 100644 index 00000000..84df6c9a --- /dev/null +++ b/BTPanel/static/vite/js/ServerSecSection-CkGwEv9o.js @@ -0,0 +1 @@ +import{k as _,$ as a,Z as o,_ as e,aa as r,ak as d,F as m,P as y}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{c as v}from"./index-LQ-JIYiv.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./naive-ui-BjvXgNtF.js?v=1774508183068";const g={key:0,class:"server-sec-summary"},k={class:"server-sec-list"},f=["item"],S={key:0,class:"pagination-note"},h=_({__name:"ServerSecSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(p){const t=p;return(b,n)=>{var u,l,c,i;return a(),o("div",null,[(u=t.reportData)!=null&&u.server_security?(a(),o("div",g,[e("div",null,"Check Items Total:"+r(((l=t.reportData.server_security.server_security_count)==null?void 0:l.security_count)||0),1),e("div",null,"Risk Items Number:"+r(((i=(c=t.reportData.server_security.server_security_count)==null?void 0:c.risk_count)==null?void 0:i.warning)||0),1)])):d("",!0),e("div",k,[e("table",null,[n[0]||(n[0]=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Status"),e("th",null,"Suggestion")])],-1)),e("tbody",null,[(a(!0),o(m,null,y(t.data,s=>(a(),o("tr",{key:s.topic+s.item,item:s},[e("td",null,r(s.name),1),e("td",null,r(s.status===2?"Risk":"Normal"),1),e("td",null,r(s.info),1)],8,f))),128))])]),t.totalPages>1?(a(),o("div",S," Total "+r(t.totalPages)+" pages, current page "+r(t.pageIndex+1)+". ",1)):d("",!0)])])}}}),P=v(h,[["__scopeId","data-v-ebe752ff"]]);export{P as default}; diff --git a/BTPanel/static/vite/js/ServerSecSection-legacy-DTmTC_qx.js b/BTPanel/static/vite/js/ServerSecSection-legacy-DTmTC_qx.js deleted file mode 100644 index 5b4bdbfa..00000000 --- a/BTPanel/static/vite/js/ServerSecSection-legacy-DTmTC_qx.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,t){"use strict";var r,a,s,l,o,n,i,c,u;return{setters:[e=>{r=e.k,a=e.$,s=e.Z,l=e._,o=e.aa,n=e.ak,i=e.F,c=e.P},e=>{u=e.c},null,null],execute:function(){var t=document.createElement("style");t.textContent=".server-sec-summary[data-v-ebe752ff]{margin-bottom:30px;padding:20px;border-radius:12px;background-color:var(--home-risk-security-report-bg);border:2px solid var(--color-border)}.server-sec-summary div[data-v-ebe752ff]{font-size:18px;margin-bottom:10px;color:var(--color-text-2)}.server-sec-list[data-v-ebe752ff]{margin-top:20px}.server-sec-list table[data-v-ebe752ff]{width:100%;border-collapse:collapse;font-size:16px;color:var(--color-text-2)}.server-sec-list table th[data-v-ebe752ff],.server-sec-list table td[data-v-ebe752ff]{padding:10px 15px;text-align:left;border-bottom:1px solid #eee}.server-sec-list table th[data-v-ebe752ff]{background-color:var(--color-table-th);font-weight:700;color:var(--color-text-2)}.pagination-note[data-v-ebe752ff]{margin-top:15px;text-align:center;font-style:italic;color:var(--color-text-3);font-size:14px}\n/*$vite$:1*/",document.head.appendChild(t);const d={key:0,class:"server-sec-summary"},v={class:"server-sec-list"},p=["item"],b={key:0,class:"pagination-note"};e("default",u(r({__name:"ServerSecSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(e){const t=e;return(e,r)=>(a(),s("div",null,[t.reportData?.server_security?(a(),s("div",d,[l("div",null,"Check Items Total:"+o(t.reportData.server_security.server_security_count?.security_count||0),1),l("div",null,"Risk Items Number:"+o(t.reportData.server_security.server_security_count?.risk_count?.warning||0),1)])):n("",!0),l("div",v,[l("table",null,[r[0]||(r[0]=l("thead",null,[l("tr",null,[l("th",null,"Name"),l("th",null,"Status"),l("th",null,"Suggestion")])],-1)),l("tbody",null,[(a(!0),s(i,null,c(t.data,(e=>(a(),s("tr",{key:e.topic+e.item,item:e},[l("td",null,o(e.name),1),l("td",null,o(2===e.status?"Risk":"Normal"),1),l("td",null,o(e.info),1)],8,p)))),128))])]),t.totalPages>1?(a(),s("div",b," Total "+o(t.totalPages)+" pages, current page "+o(t.pageIndex+1)+". ",1)):n("",!0)])]))}}),[["__scopeId","data-v-ebe752ff"]]))}}})); diff --git a/BTPanel/static/vite/js/ServerSecSection-legacy-DapUcofp.js b/BTPanel/static/vite/js/ServerSecSection-legacy-DapUcofp.js new file mode 100644 index 00000000..27fa5663 --- /dev/null +++ b/BTPanel/static/vite/js/ServerSecSection-legacy-DapUcofp.js @@ -0,0 +1 @@ +System.register(["./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068"],(function(e,t){"use strict";var r,a,s,l,o,n,i,c,u;return{setters:[e=>{r=e.k,a=e.$,s=e.Z,l=e._,o=e.aa,n=e.ak,i=e.F,c=e.P},e=>{u=e.c},null,null],execute:function(){var t=document.createElement("style");t.textContent=".server-sec-summary[data-v-ebe752ff]{margin-bottom:30px;padding:20px;border-radius:12px;background-color:var(--home-risk-security-report-bg);border:2px solid var(--color-border)}.server-sec-summary div[data-v-ebe752ff]{font-size:18px;margin-bottom:10px;color:var(--color-text-2)}.server-sec-list[data-v-ebe752ff]{margin-top:20px}.server-sec-list table[data-v-ebe752ff]{width:100%;border-collapse:collapse;font-size:16px;color:var(--color-text-2)}.server-sec-list table th[data-v-ebe752ff],.server-sec-list table td[data-v-ebe752ff]{padding:10px 15px;text-align:left;border-bottom:1px solid #eee}.server-sec-list table th[data-v-ebe752ff]{background-color:var(--color-table-th);font-weight:700;color:var(--color-text-2)}.pagination-note[data-v-ebe752ff]{margin-top:15px;text-align:center;font-style:italic;color:var(--color-text-3);font-size:14px}\n/*$vite$:1*/",document.head.appendChild(t);const d={key:0,class:"server-sec-summary"},v={class:"server-sec-list"},p=["item"],b={key:0,class:"pagination-note"};e("default",u(r({__name:"ServerSecSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(e){const t=e;return(e,r)=>(a(),s("div",null,[t.reportData?.server_security?(a(),s("div",d,[l("div",null,"Check Items Total:"+o(t.reportData.server_security.server_security_count?.security_count||0),1),l("div",null,"Risk Items Number:"+o(t.reportData.server_security.server_security_count?.risk_count?.warning||0),1)])):n("",!0),l("div",v,[l("table",null,[r[0]||(r[0]=l("thead",null,[l("tr",null,[l("th",null,"Name"),l("th",null,"Status"),l("th",null,"Suggestion")])],-1)),l("tbody",null,[(a(!0),s(i,null,c(t.data,(e=>(a(),s("tr",{key:e.topic+e.item,item:e},[l("td",null,o(e.name),1),l("td",null,o(2===e.status?"Risk":"Normal"),1),l("td",null,o(e.info),1)],8,p)))),128))])]),t.totalPages>1?(a(),s("div",b," Total "+o(t.totalPages)+" pages, current page "+o(t.pageIndex+1)+". ",1)):n("",!0)])]))}}),[["__scopeId","data-v-ebe752ff"]]))}}})); diff --git a/BTPanel/static/vite/js/ServerSecSection-xH3H_buX.js b/BTPanel/static/vite/js/ServerSecSection-xH3H_buX.js deleted file mode 100644 index 8b9dd08b..00000000 --- a/BTPanel/static/vite/js/ServerSecSection-xH3H_buX.js +++ /dev/null @@ -1 +0,0 @@ -import{k as _,$ as a,Z as o,_ as e,aa as r,ak as d,F as m,P as y}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{c as v}from"./index-BTglIPU2.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./naive-ui--dJnpVcV.js?v=1773287522785";const g={key:0,class:"server-sec-summary"},k={class:"server-sec-list"},f=["item"],S={key:0,class:"pagination-note"},h=_({__name:"ServerSecSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(p){const t=p;return(b,n)=>{var u,l,c,i;return a(),o("div",null,[(u=t.reportData)!=null&&u.server_security?(a(),o("div",g,[e("div",null,"Check Items Total:"+r(((l=t.reportData.server_security.server_security_count)==null?void 0:l.security_count)||0),1),e("div",null,"Risk Items Number:"+r(((i=(c=t.reportData.server_security.server_security_count)==null?void 0:c.risk_count)==null?void 0:i.warning)||0),1)])):d("",!0),e("div",k,[e("table",null,[n[0]||(n[0]=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Status"),e("th",null,"Suggestion")])],-1)),e("tbody",null,[(a(!0),o(m,null,y(t.data,s=>(a(),o("tr",{key:s.topic+s.item,item:s},[e("td",null,r(s.name),1),e("td",null,r(s.status===2?"Risk":"Normal"),1),e("td",null,r(s.info),1)],8,f))),128))])]),t.totalPages>1?(a(),o("div",S," Total "+r(t.totalPages)+" pages, current page "+r(t.pageIndex+1)+". ",1)):d("",!0)])])}}}),P=v(h,[["__scopeId","data-v-ebe752ff"]]);export{P as default}; diff --git a/BTPanel/static/vite/js/Share-BlYoc8xR.js b/BTPanel/static/vite/js/Share-BlYoc8xR.js new file mode 100644 index 00000000..471b30f8 --- /dev/null +++ b/BTPanel/static/vite/js/Share-BlYoc8xR.js @@ -0,0 +1 @@ +import{a6 as C,y as N,av as U,i as j}from"./index-LQ-JIYiv.js?v=1774508183068";import{_ as L}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{g as V}from"./index-DRk77PlU.js?v=1774508183068";import{t as $}from"./FileIcon-MbTGjXAj.js?v=1774508183068";import{_ as q}from"./ShareDetail.vue_vue_type_script_setup_true_lang-DUhUSteW.js?v=1774508183068";import{a1 as O,b as T,a3 as E,a4 as K,B as P}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import{k as W,i as X,al as Z,r as d,c as z,$ as A,Z as G,a0 as o,a9 as n,_ as H,S as e,j as f,aa as p,X as I,F as J,N as Q}from"./vue-core-BlDeWrD6.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";const Y={class:"p-20px"},fe=W({__name:"Share",setup(ee,{expose:g}){const{t}=C.global,c=X("fileStore"),{choosedKeys:w,fileList:x}=c,v=Z("shareDetailRef"),r=d(!1),b=z(()=>i.value.type=="dir"?t("file.shareModal.setShareFolder",{name:i.value.nm}):t("file.shareModal.setShareFile",{name:i.value.nm})),i=d({}),l=d({filename:"",ps:"",password:"",expire:24});function M(){r.value=!0;const u=x.value.find(a=>w.value[0]==a.nm);i.value=u,l.value.ps=i.value.nm,l.value.filename=i.value.path}function y(){r.value=!1}g({open:M,close:y});async function S(){var a;const{message:u}=await U.post("/files?action=create_download_url",Q(l.value),{requestOptions:{loading:t("file.shareModal.creatingShareLink")}});j(u)&&(r.value=!1,(a=v.value)==null||a.open(u),$(c))}function k(){l.value.password=V(8)}return(u,a)=>{const h=T,_=O,m=K,D=E,R=P,F=L,B=N;return A(),G(J,null,[o(B,{show:e(r),"onUpdate:show":a[3]||(a[3]=s=>I(r)?r.value=s:null),title:e(b),width:560,footer:!0,"confirm-text":e(t)("file.shareModal.create"),onConfirm:S},{default:n(()=>[H("div",Y,[o(F,null,{default:n(()=>[o(_,{label:e(t)("file.shareModal.shareName")},{default:n(()=>[o(h,{value:e(l).ps,"onUpdate:value":a[0]||(a[0]=s=>e(l).ps=s)},null,8,["value"])]),_:1},8,["label"]),o(_,{label:e(t)("file.shareModal.expirationDate")},{default:n(()=>[o(D,{value:e(l).expire,"onUpdate:value":a[1]||(a[1]=s=>e(l).expire=s)},{default:n(()=>[o(m,{value:24},{default:n(()=>[f(p(e(t)("file.shareModal.aDay")),1)]),_:1}),o(m,{value:168},{default:n(()=>[f(p(e(t)("file.shareModal.aWeek")),1)]),_:1}),o(m,{value:1130800},{default:n(()=>[f(p(e(t)("file.shareModal.permanent")),1)]),_:1})]),_:1},8,["value"])]),_:1},8,["label"]),o(_,{label:e(t)("file.shareModal.extractionCode"),"show-feedback":!1},{default:n(()=>[o(h,{value:e(l).password,"onUpdate:value":a[2]||(a[2]=s=>e(l).password=s)},null,8,["value"]),o(R,{class:"ml-10px",type:"primary",onClick:k},{default:n(()=>[f(p(e(t)("file.shareModal.random")),1)]),_:1})]),_:1},8,["label"])]),_:1})])]),_:1},8,["show","title","confirm-text"]),o(q,{ref_key:"shareDetailRef",ref:v},null,512)],64)}}});export{fe as default}; diff --git a/BTPanel/static/vite/js/Share-CX6sFtoe.js b/BTPanel/static/vite/js/Share-CX6sFtoe.js deleted file mode 100644 index 22100712..00000000 --- a/BTPanel/static/vite/js/Share-CX6sFtoe.js +++ /dev/null @@ -1 +0,0 @@ -import{a3 as C,x as N,as as U,i as j}from"./index-BTglIPU2.js?v=1773287522785";import{_ as L}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{g as V}from"./index-DRk77PlU.js?v=1773287522785";import{w as $}from"./FileIcon-eIHDRaxH.js?v=1773287522785";import{_ as q}from"./ShareDetail.vue_vue_type_script_setup_true_lang-Vpbw-Uhg.js?v=1773287522785";import{a1 as O,b as T,a3 as E,a4 as K,B as P}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as W,i as X,al as Z,r as d,c as z,$ as A,Z as G,a0 as o,a9 as n,_ as H,S as e,j as p,aa as f,X as I,F as J,N as Q}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./soft-Cjyfamvm.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";const Y={class:"p-20px"},fe=W({__name:"Share",setup(ee,{expose:w}){const{t}=C.global,c=X("fileStore"),{choosedKeys:g,fileList:x}=c,v=Z("shareDetailRef"),r=d(!1),b=z(()=>i.value.type=="dir"?t("file.shareModal.setShareFolder",{name:i.value.nm}):t("file.shareModal.setShareFile",{name:i.value.nm})),i=d({}),l=d({filename:"",ps:"",password:"",expire:24});function M(){r.value=!0;const u=x.value.find(a=>g.value[0]==a.nm);i.value=u,l.value.ps=i.value.nm,l.value.filename=i.value.path}function S(){r.value=!1}w({open:M,close:S});async function k(){var a;const{message:u}=await U.post("/files?action=create_download_url",Q(l.value),{requestOptions:{loading:t("file.shareModal.creatingShareLink")}});j(u)&&(r.value=!1,(a=v.value)==null||a.open(u),$(c))}function y(){l.value.password=V(8)}return(u,a)=>{const h=T,_=O,m=K,D=E,R=P,F=L,B=N;return A(),G(J,null,[o(B,{show:e(r),"onUpdate:show":a[3]||(a[3]=s=>I(r)?r.value=s:null),title:e(b),width:560,footer:!0,"confirm-text":e(t)("file.shareModal.create"),onConfirm:k},{default:n(()=>[H("div",Y,[o(F,null,{default:n(()=>[o(_,{label:e(t)("file.shareModal.shareName")},{default:n(()=>[o(h,{value:e(l).ps,"onUpdate:value":a[0]||(a[0]=s=>e(l).ps=s)},null,8,["value"])]),_:1},8,["label"]),o(_,{label:e(t)("file.shareModal.expirationDate")},{default:n(()=>[o(D,{value:e(l).expire,"onUpdate:value":a[1]||(a[1]=s=>e(l).expire=s)},{default:n(()=>[o(m,{value:24},{default:n(()=>[p(f(e(t)("file.shareModal.aDay")),1)]),_:1}),o(m,{value:168},{default:n(()=>[p(f(e(t)("file.shareModal.aWeek")),1)]),_:1}),o(m,{value:1130800},{default:n(()=>[p(f(e(t)("file.shareModal.permanent")),1)]),_:1})]),_:1},8,["value"])]),_:1},8,["label"]),o(_,{label:e(t)("file.shareModal.extractionCode"),"show-feedback":!1},{default:n(()=>[o(h,{value:e(l).password,"onUpdate:value":a[2]||(a[2]=s=>e(l).password=s)},null,8,["value"]),o(R,{class:"ml-10px",type:"primary",onClick:y},{default:n(()=>[p(f(e(t)("file.shareModal.random")),1)]),_:1})]),_:1},8,["label"])]),_:1})])]),_:1},8,["show","title","confirm-text"]),o(q,{ref_key:"shareDetailRef",ref:v},null,512)],64)}}});export{fe as default}; diff --git a/BTPanel/static/vite/js/Share-legacy-1YAqg5eT.js b/BTPanel/static/vite/js/Share-legacy-1YAqg5eT.js new file mode 100644 index 00000000..05ea33dd --- /dev/null +++ b/BTPanel/static/vite/js/Share-legacy-1YAqg5eT.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./index-legacy-CdzM8gmn.js?v=1774508183068","./FileIcon-legacy-BZIg8aaH.js?v=1774508183068","./ShareDetail.vue_vue_type_script_setup_true_lang-legacy-BQnTpZuy.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068"],(function(e,a){"use strict";var l,t,s,u,n,r,i,o,d,f,c,p,v,_,h,y,m,g,x,j,w,M,b,S,k,D,F,U,C;return{setters:[e=>{l=e.a6,t=e.y,s=e.av,u=e.i},e=>{n=e._},e=>{r=e.g},e=>{i=e.t},e=>{o=e._},e=>{d=e.a1,f=e.b,c=e.a3,p=e.a4,v=e.B},e=>{_=e.k,h=e.i,y=e.al,m=e.r,g=e.c,x=e.$,j=e.Z,w=e.a0,M=e.a9,b=e._,S=e.S,k=e.j,D=e.aa,F=e.X,U=e.F,C=e.N},null,null],execute:function(){const a={class:"p-20px"};e("default",_({__name:"Share",setup(e,{expose:_}){const{t:L}=l.global,N=h("fileStore"),{choosedKeys:R,fileList:Z}=N,q=y("shareDetailRef"),B=m(!1),I=g((()=>"dir"==K.value.type?L("file.shareModal.setShareFolder",{name:K.value.nm}):L("file.shareModal.setShareFile",{name:K.value.nm}))),K=m({}),O=m({filename:"",ps:"",password:"",expire:24});async function V(){const{message:e}=await s.post("/files?action=create_download_url",C(O.value),{requestOptions:{loading:L("file.shareModal.creatingShareLink")}});u(e)&&(B.value=!1,q.value?.open(e),i(N))}function W(){O.value.password=r(8)}return _({open:function(){B.value=!0;const e=Z.value.find((e=>R.value[0]==e.nm));K.value=e,O.value.ps=K.value.nm,O.value.filename=K.value.path},close:function(){B.value=!1}}),(e,l)=>{const s=f,u=d,r=p,i=c,_=v,h=n,y=t;return x(),j(U,null,[w(y,{show:S(B),"onUpdate:show":l[3]||(l[3]=e=>F(B)?B.value=e:null),title:S(I),width:560,footer:!0,"confirm-text":S(L)("file.shareModal.create"),onConfirm:V},{default:M((()=>[b("div",a,[w(h,null,{default:M((()=>[w(u,{label:S(L)("file.shareModal.shareName")},{default:M((()=>[w(s,{value:S(O).ps,"onUpdate:value":l[0]||(l[0]=e=>S(O).ps=e)},null,8,["value"])])),_:1},8,["label"]),w(u,{label:S(L)("file.shareModal.expirationDate")},{default:M((()=>[w(i,{value:S(O).expire,"onUpdate:value":l[1]||(l[1]=e=>S(O).expire=e)},{default:M((()=>[w(r,{value:24},{default:M((()=>[k(D(S(L)("file.shareModal.aDay")),1)])),_:1}),w(r,{value:168},{default:M((()=>[k(D(S(L)("file.shareModal.aWeek")),1)])),_:1}),w(r,{value:1130800},{default:M((()=>[k(D(S(L)("file.shareModal.permanent")),1)])),_:1})])),_:1},8,["value"])])),_:1},8,["label"]),w(u,{label:S(L)("file.shareModal.extractionCode"),"show-feedback":!1},{default:M((()=>[w(s,{value:S(O).password,"onUpdate:value":l[2]||(l[2]=e=>S(O).password=e)},null,8,["value"]),w(_,{class:"ml-10px",type:"primary",onClick:W},{default:M((()=>[k(D(S(L)("file.shareModal.random")),1)])),_:1})])),_:1},8,["label"])])),_:1})])])),_:1},8,["show","title","confirm-text"]),w(o,{ref_key:"shareDetailRef",ref:q},null,512)],64)}}}))}}})); diff --git a/BTPanel/static/vite/js/Share-legacy-CVsf0zWe.js b/BTPanel/static/vite/js/Share-legacy-CVsf0zWe.js deleted file mode 100644 index fbc9fdf4..00000000 --- a/BTPanel/static/vite/js/Share-legacy-CVsf0zWe.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index-legacy-CdzM8gmn.js?v=1773287522785","./FileIcon-legacy-CYrICTNK.js?v=1773287522785","./ShareDetail.vue_vue_type_script_setup_true_lang-legacy-Cll6gIn0.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./soft-legacy-CzxZ2w7j.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785"],(function(e,a){"use strict";var l,t,s,u,n,o,r,i,d,f,c,p,v,_,h,y,m,g,x,j,w,M,b,S,k,D,U,F,C;return{setters:[e=>{l=e.a3,t=e.x,s=e.as,u=e.i},e=>{n=e._},e=>{o=e.g},e=>{r=e.w},e=>{i=e._},e=>{d=e.a1,f=e.b,c=e.a3,p=e.a4,v=e.B},e=>{_=e.k,h=e.i,y=e.al,m=e.r,g=e.c,x=e.$,j=e.Z,w=e.a0,M=e.a9,b=e._,S=e.S,k=e.j,D=e.aa,U=e.X,F=e.F,C=e.N},null,null,null],execute:function(){const a={class:"p-20px"};e("default",_({__name:"Share",setup(e,{expose:_}){const{t:L}=l.global,N=h("fileStore"),{choosedKeys:R,fileList:Z}=N,q=y("shareDetailRef"),B=m(!1),E=g((()=>"dir"==I.value.type?L("file.shareModal.setShareFolder",{name:I.value.nm}):L("file.shareModal.setShareFile",{name:I.value.nm}))),I=m({}),K=m({filename:"",ps:"",password:"",expire:24});async function O(){const{message:e}=await s.post("/files?action=create_download_url",C(K.value),{requestOptions:{loading:L("file.shareModal.creatingShareLink")}});u(e)&&(B.value=!1,q.value?.open(e),r(N))}function W(){K.value.password=o(8)}return _({open:function(){B.value=!0;const e=Z.value.find((e=>R.value[0]==e.nm));I.value=e,K.value.ps=I.value.nm,K.value.filename=I.value.path},close:function(){B.value=!1}}),(e,l)=>{const s=f,u=d,o=p,r=c,_=v,h=n,y=t;return x(),j(F,null,[w(y,{show:S(B),"onUpdate:show":l[3]||(l[3]=e=>U(B)?B.value=e:null),title:S(E),width:560,footer:!0,"confirm-text":S(L)("file.shareModal.create"),onConfirm:O},{default:M((()=>[b("div",a,[w(h,null,{default:M((()=>[w(u,{label:S(L)("file.shareModal.shareName")},{default:M((()=>[w(s,{value:S(K).ps,"onUpdate:value":l[0]||(l[0]=e=>S(K).ps=e)},null,8,["value"])])),_:1},8,["label"]),w(u,{label:S(L)("file.shareModal.expirationDate")},{default:M((()=>[w(r,{value:S(K).expire,"onUpdate:value":l[1]||(l[1]=e=>S(K).expire=e)},{default:M((()=>[w(o,{value:24},{default:M((()=>[k(D(S(L)("file.shareModal.aDay")),1)])),_:1}),w(o,{value:168},{default:M((()=>[k(D(S(L)("file.shareModal.aWeek")),1)])),_:1}),w(o,{value:1130800},{default:M((()=>[k(D(S(L)("file.shareModal.permanent")),1)])),_:1})])),_:1},8,["value"])])),_:1},8,["label"]),w(u,{label:S(L)("file.shareModal.extractionCode"),"show-feedback":!1},{default:M((()=>[w(s,{value:S(K).password,"onUpdate:value":l[2]||(l[2]=e=>S(K).password=e)},null,8,["value"]),w(_,{class:"ml-10px",type:"primary",onClick:W},{default:M((()=>[k(D(S(L)("file.shareModal.random")),1)])),_:1})])),_:1},8,["label"])])),_:1})])])),_:1},8,["show","title","confirm-text"]),w(i,{ref_key:"shareDetailRef",ref:q},null,512)],64)}}}))}}})); diff --git a/BTPanel/static/vite/js/ShareDetail.vue_vue_type_script_setup_true_lang-DUhUSteW.js b/BTPanel/static/vite/js/ShareDetail.vue_vue_type_script_setup_true_lang-DUhUSteW.js new file mode 100644 index 00000000..2a1f932f --- /dev/null +++ b/BTPanel/static/vite/js/ShareDetail.vue_vue_type_script_setup_true_lang-DUhUSteW.js @@ -0,0 +1 @@ +import{a6 as $,x as B,l as L,y as N,h as V,av as A}from"./index-LQ-JIYiv.js?v=1774508183068";import{_ as T}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{c as d}from"./copy-DTOfN-dY.js?v=1774508183068";import{t as U}from"./FileIcon-MbTGjXAj.js?v=1774508183068";import{a1 as j,b as q,B as z}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import{k as F,i as O,r as f,c as R,$ as _,a8 as h,a9 as s,_ as X,a0 as n,S as e,j as v,aa as w,ak as E,X as G}from"./vue-core-BlDeWrD6.js?v=1774508183068";const H={class:"p-20px"},Z=F({__name:"ShareDetail",setup(I,{expose:k}){const{t:a}=$.global,x="".concat(window.location.origin,"/down/"),y=O("fileStore"),l=f(!1),o=f({filename:"",ps:"",token:"",expire:"",total:0,password:"",addtime:0,id:0});k({open(t){o.value={filename:t.filename,ps:t.ps,token:t.token,expire:B(t.expire),total:t.total,password:t.password,addtime:t.addtime,id:t.id},l.value=!0},close(){l.value=!1}});async function b(){return V({title:a("file.shareModal.cancelSharing"),content:a("file.shareModal.confirmStopSharing",{filename:o.value.filename}),async onConfirm(){await A.post("/files?action=remove_download_url",{id:o.value.id},{requestOptions:{loading:a("file.shareModal.deletingShare"),successMessage:!0}}),l.value=!1,U(y)}}),!1}const p=R(()=>"".concat(x).concat(o.value.token));function g(){d(p.value)}function C(){d(a("file.shareModal.linkAndCode",{link:p.value,code:o.value.password}))}return(t,r)=>{const c=q,i=j,M=L,u=z,S=T,D=N;return _(),h(D,{show:e(l),"onUpdate:show":r[1]||(r[1]=m=>G(l)?l.value=m:null),title:e(a)("file.shareModal.shareDetails",{name:e(o).ps}),width:560,footer:!0,"confirm-type":"error","confirm-text":e(a)("file.shareModal.closeSharingChain"),onConfirm:b},{default:s(()=>[X("div",H,[n(S,null,{default:s(()=>[n(i,{label:e(a)("file.shareModal.shareName")},{default:s(()=>[n(c,{value:e(o).ps,"onUpdate:value":r[0]||(r[0]=m=>e(o).ps=m)},null,8,["value"])]),_:1},8,["label"]),n(i,{label:e(a)("file.shareModal.shareChain")},{default:s(()=>[n(c,{class:"mr-10px",readonly:!0,value:e(p)},null,8,["value"]),n(u,{type:"primary",onClick:g},{icon:s(()=>[n(M,{name:"common-copy",size:"16"})]),_:1})]),_:1},8,["label"]),e(o).password?(_(),h(i,{key:0,label:e(a)("file.shareModal.extractionCode")},{default:s(()=>[n(c,{class:"mr-10px",value:"".concat(e(o).password),readonly:""},null,8,["value"]),n(u,{type:"primary",onClick:C},{default:s(()=>[v(w(e(a)("file.shareModal.copyLinkAndCode")),1)]),_:1})]),_:1},8,["label"])):E("",!0),n(i,{label:e(a)("file.shareModal.expirationDate"),"show-feedback":!1},{default:s(()=>[v(w(e(o).expire),1)]),_:1},8,["label"])]),_:1})])]),_:1},8,["show","title","confirm-text"])}}});export{Z as _}; diff --git a/BTPanel/static/vite/js/ShareDetail.vue_vue_type_script_setup_true_lang-Vpbw-Uhg.js b/BTPanel/static/vite/js/ShareDetail.vue_vue_type_script_setup_true_lang-Vpbw-Uhg.js deleted file mode 100644 index cef55712..00000000 --- a/BTPanel/static/vite/js/ShareDetail.vue_vue_type_script_setup_true_lang-Vpbw-Uhg.js +++ /dev/null @@ -1 +0,0 @@ -import{a3 as $,w as B,l as L,x as N,h as V,as as A}from"./index-BTglIPU2.js?v=1773287522785";import{_ as T}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{c as d}from"./copy-D-wIKr0q.js?v=1773287522785";import{w as U}from"./FileIcon-eIHDRaxH.js?v=1773287522785";import{a1 as j,b as q,B as z}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as F,i as O,r as f,c as R,$ as _,a8 as h,a9 as t,_ as X,a0 as n,S as e,j as v,aa as w,ak as E,X as G}from"./vue-core-DJjvd5ZC.js?v=1773287522785";const H={class:"p-20px"},Z=F({__name:"ShareDetail",setup(I,{expose:k}){const{t:a}=$.global,x="".concat(window.location.origin,"/down/"),y=O("fileStore"),l=f(!1),o=f({filename:"",ps:"",token:"",expire:"",total:0,password:"",addtime:0,id:0});k({open(s){o.value={filename:s.filename,ps:s.ps,token:s.token,expire:B(s.expire),total:s.total,password:s.password,addtime:s.addtime,id:s.id},l.value=!0},close(){l.value=!1}});async function b(){return V({title:a("file.shareModal.cancelSharing"),content:a("file.shareModal.confirmStopSharing",{filename:o.value.filename}),async onConfirm(){await A.post("/files?action=remove_download_url",{id:o.value.id},{requestOptions:{loading:a("file.shareModal.deletingShare"),successMessage:!0}}),l.value=!1,U(y)}}),!1}const p=R(()=>"".concat(x).concat(o.value.token));function g(){d(p.value)}function C(){d(a("file.shareModal.linkAndCode",{link:p.value,code:o.value.password}))}return(s,r)=>{const c=q,i=j,M=L,u=z,S=T,D=N;return _(),h(D,{show:e(l),"onUpdate:show":r[1]||(r[1]=m=>G(l)?l.value=m:null),title:e(a)("file.shareModal.shareDetails",{name:e(o).ps}),width:560,footer:!0,"confirm-type":"error","confirm-text":e(a)("file.shareModal.closeSharingChain"),onConfirm:b},{default:t(()=>[X("div",H,[n(S,null,{default:t(()=>[n(i,{label:e(a)("file.shareModal.shareName")},{default:t(()=>[n(c,{value:e(o).ps,"onUpdate:value":r[0]||(r[0]=m=>e(o).ps=m)},null,8,["value"])]),_:1},8,["label"]),n(i,{label:e(a)("file.shareModal.shareChain")},{default:t(()=>[n(c,{class:"mr-10px",readonly:!0,value:e(p)},null,8,["value"]),n(u,{type:"primary",onClick:g},{icon:t(()=>[n(M,{name:"common-copy",size:"16"})]),_:1})]),_:1},8,["label"]),e(o).password?(_(),h(i,{key:0,label:e(a)("file.shareModal.extractionCode")},{default:t(()=>[n(c,{class:"mr-10px",value:"".concat(e(o).password),readonly:""},null,8,["value"]),n(u,{type:"primary",onClick:C},{default:t(()=>[v(w(e(a)("file.shareModal.copyLinkAndCode")),1)]),_:1})]),_:1},8,["label"])):E("",!0),n(i,{label:e(a)("file.shareModal.expirationDate"),"show-feedback":!1},{default:t(()=>[v(w(e(o).expire),1)]),_:1},8,["label"])]),_:1})])]),_:1},8,["show","title","confirm-text"])}}});export{Z as _}; diff --git a/BTPanel/static/vite/js/ShareDetail.vue_vue_type_script_setup_true_lang-legacy-BQnTpZuy.js b/BTPanel/static/vite/js/ShareDetail.vue_vue_type_script_setup_true_lang-legacy-BQnTpZuy.js new file mode 100644 index 00000000..115bbd1b --- /dev/null +++ b/BTPanel/static/vite/js/ShareDetail.vue_vue_type_script_setup_true_lang-legacy-BQnTpZuy.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./FileIcon-legacy-BZIg8aaH.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068"],(function(e,a){"use strict";var l,o,i,n,t,s,r,d,u,c,p,f,h,m,v,y,_,g,w,x,k,M,b,C,S,j;return{setters:[e=>{l=e.a6,o=e.x,i=e.l,n=e.y,t=e.h,s=e.av},e=>{r=e._},e=>{d=e.c},e=>{u=e.t},e=>{c=e.a1,p=e.b,f=e.B},e=>{h=e.k,m=e.i,v=e.r,y=e.c,_=e.$,g=e.a8,w=e.a9,x=e._,k=e.a0,M=e.S,b=e.j,C=e.aa,S=e.ak,j=e.X}],execute:function(){const a={class:"p-20px"};e("_",h({__name:"ShareDetail",setup(e,{expose:h}){const{t:$}=l.global,D=`${window.location.origin}/down/`,A=m("fileStore"),U=v(!1),q=v({filename:"",ps:"",token:"",expire:"",total:0,password:"",addtime:0,id:0});async function z(){return t({title:$("file.shareModal.cancelSharing"),content:$("file.shareModal.confirmStopSharing",{filename:q.value.filename}),async onConfirm(){await s.post("/files?action=remove_download_url",{id:q.value.id},{requestOptions:{loading:$("file.shareModal.deletingShare"),successMessage:!0}}),U.value=!1,u(A)}}),!1}h({open(e){q.value={filename:e.filename,ps:e.ps,token:e.token,expire:o(e.expire),total:e.total,password:e.password,addtime:e.addtime,id:e.id},U.value=!0},close(){U.value=!1}});const B=y((()=>`${D}${q.value.token}`));function F(){d(B.value)}function I(){d($("file.shareModal.linkAndCode",{link:B.value,code:q.value.password}))}return(e,l)=>{const o=p,t=c,s=i,d=f,u=r,h=n;return _(),g(h,{show:M(U),"onUpdate:show":l[1]||(l[1]=e=>j(U)?U.value=e:null),title:M($)("file.shareModal.shareDetails",{name:M(q).ps}),width:560,footer:!0,"confirm-type":"error","confirm-text":M($)("file.shareModal.closeSharingChain"),onConfirm:z},{default:w((()=>[x("div",a,[k(u,null,{default:w((()=>[k(t,{label:M($)("file.shareModal.shareName")},{default:w((()=>[k(o,{value:M(q).ps,"onUpdate:value":l[0]||(l[0]=e=>M(q).ps=e)},null,8,["value"])])),_:1},8,["label"]),k(t,{label:M($)("file.shareModal.shareChain")},{default:w((()=>[k(o,{class:"mr-10px",readonly:!0,value:M(B)},null,8,["value"]),k(d,{type:"primary",onClick:F},{icon:w((()=>[k(s,{name:"common-copy",size:"16"})])),_:1})])),_:1},8,["label"]),M(q).password?(_(),g(t,{key:0,label:M($)("file.shareModal.extractionCode")},{default:w((()=>[k(o,{class:"mr-10px",value:`${M(q).password}`,readonly:""},null,8,["value"]),k(d,{type:"primary",onClick:I},{default:w((()=>[b(C(M($)("file.shareModal.copyLinkAndCode")),1)])),_:1})])),_:1},8,["label"])):S("",!0),k(t,{label:M($)("file.shareModal.expirationDate"),"show-feedback":!1},{default:w((()=>[b(C(M(q).expire),1)])),_:1},8,["label"])])),_:1})])])),_:1},8,["show","title","confirm-text"])}}}))}}})); diff --git a/BTPanel/static/vite/js/ShareDetail.vue_vue_type_script_setup_true_lang-legacy-Cll6gIn0.js b/BTPanel/static/vite/js/ShareDetail.vue_vue_type_script_setup_true_lang-legacy-Cll6gIn0.js deleted file mode 100644 index e9c0c511..00000000 --- a/BTPanel/static/vite/js/ShareDetail.vue_vue_type_script_setup_true_lang-legacy-Cll6gIn0.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./FileIcon-legacy-CYrICTNK.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785"],(function(e,a){"use strict";var l,o,i,n,t,s,r,d,u,c,p,f,h,m,v,y,_,w,g,x,k,M,b,C,S,j;return{setters:[e=>{l=e.a3,o=e.w,i=e.l,n=e.x,t=e.h,s=e.as},e=>{r=e._},e=>{d=e.c},e=>{u=e.w},e=>{c=e.a1,p=e.b,f=e.B},e=>{h=e.k,m=e.i,v=e.r,y=e.c,_=e.$,w=e.a8,g=e.a9,x=e._,k=e.a0,M=e.S,b=e.j,C=e.aa,S=e.ak,j=e.X}],execute:function(){const a={class:"p-20px"};e("_",h({__name:"ShareDetail",setup(e,{expose:h}){const{t:$}=l.global,D=`${window.location.origin}/down/`,A=m("fileStore"),U=v(!1),q=v({filename:"",ps:"",token:"",expire:"",total:0,password:"",addtime:0,id:0});async function z(){return t({title:$("file.shareModal.cancelSharing"),content:$("file.shareModal.confirmStopSharing",{filename:q.value.filename}),async onConfirm(){await s.post("/files?action=remove_download_url",{id:q.value.id},{requestOptions:{loading:$("file.shareModal.deletingShare"),successMessage:!0}}),U.value=!1,u(A)}}),!1}h({open(e){q.value={filename:e.filename,ps:e.ps,token:e.token,expire:o(e.expire),total:e.total,password:e.password,addtime:e.addtime,id:e.id},U.value=!0},close(){U.value=!1}});const B=y((()=>`${D}${q.value.token}`));function E(){d(B.value)}function F(){d($("file.shareModal.linkAndCode",{link:B.value,code:q.value.password}))}return(e,l)=>{const o=p,t=c,s=i,d=f,u=r,h=n;return _(),w(h,{show:M(U),"onUpdate:show":l[1]||(l[1]=e=>j(U)?U.value=e:null),title:M($)("file.shareModal.shareDetails",{name:M(q).ps}),width:560,footer:!0,"confirm-type":"error","confirm-text":M($)("file.shareModal.closeSharingChain"),onConfirm:z},{default:g((()=>[x("div",a,[k(u,null,{default:g((()=>[k(t,{label:M($)("file.shareModal.shareName")},{default:g((()=>[k(o,{value:M(q).ps,"onUpdate:value":l[0]||(l[0]=e=>M(q).ps=e)},null,8,["value"])])),_:1},8,["label"]),k(t,{label:M($)("file.shareModal.shareChain")},{default:g((()=>[k(o,{class:"mr-10px",readonly:!0,value:M(B)},null,8,["value"]),k(d,{type:"primary",onClick:E},{icon:g((()=>[k(s,{name:"common-copy",size:"16"})])),_:1})])),_:1},8,["label"]),M(q).password?(_(),w(t,{key:0,label:M($)("file.shareModal.extractionCode")},{default:g((()=>[k(o,{class:"mr-10px",value:`${M(q).password}`,readonly:""},null,8,["value"]),k(d,{type:"primary",onClick:F},{default:g((()=>[b(C(M($)("file.shareModal.copyLinkAndCode")),1)])),_:1})])),_:1},8,["label"])):S("",!0),k(t,{label:M($)("file.shareModal.expirationDate"),"show-feedback":!1},{default:g((()=>[b(C(M(q).expire),1)])),_:1},8,["label"])])),_:1})])])),_:1},8,["show","title","confirm-text"])}}}))}}})); diff --git a/BTPanel/static/vite/js/ShareList-BrSiLX86.js b/BTPanel/static/vite/js/ShareList-BrSiLX86.js deleted file mode 100644 index 6e9448f0..00000000 --- a/BTPanel/static/vite/js/ShareList-BrSiLX86.js +++ /dev/null @@ -1 +0,0 @@ -import{w as S,h as b,x as C}from"./index-BTglIPU2.js?v=1773287522785";import{_ as M}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{u as B}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{Y as R,Z as P}from"./FileIcon-eIHDRaxH.js?v=1773287522785";import{_ as T}from"./ShareDetail.vue_vue_type_script_setup_true_lang-Vpbw-Uhg.js?v=1773287522785";import{k as N,R as $,i as j,r as c,al as A,$ as F,Z as U,a0 as i,a9 as V,_ as u,S as s,X as d,F as Z}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{aB as E}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index-DIKmrNCq.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";import"./soft-Cjyfamvm.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";const I={class:"p-20px"},X={class:"mt-10px flex justify-end items-center"},le=N({__name:"ShareList",setup(Y,{expose:_}){const{t}=$(),l=j("fileStore"),{shareList:h,shareListPage:n,shareListTotal:g}=l,o=c(!1),r=c(!1),f=A("shareDetailRef"),m=async()=>{try{r.value=!0,await P(l)}finally{r.value=!1}};function L(e){n.value=e,m()}_({open(){o.value=!0,m()},close(){o.value=!1}});const x=c([{key:"ps",title:t("file.shareListModal.shareName")},{key:"filename",title:t("file.shareListModal.shareAddress")},{key:"expire",title:t("file.shareListModal.expirationDate"),render:e=>S(e.expire)},B({width:120,options:e=>[{label:t("Public.Btn.Details"),onClick:()=>{w(e)}},{label:t("Public.Btn.Delete"),onClick:()=>{v(e)}}]})]);function v(e){b({title:t("file.shareListModal.cancelShareTitle"),content:t("file.shareListModal.cancelShareMessage",{filename:e.filename}),onConfirm:async()=>{await R(l,e.id),m()}})}async function w(e){var a;(a=f.value)==null||a.open(e)}return(e,a)=>{const y=M,k=E,D=C;return F(),U(Z,null,[i(D,{show:s(o),"onUpdate:show":a[1]||(a[1]=p=>d(o)?o.value=p:null),title:s(t)("file.shareListModal.title"),width:850},{default:V(()=>[u("div",I,[i(y,{loading:s(r),data:s(h),columns:s(x)},null,8,["loading","data","columns"]),u("div",X,[i(k,{"item-count":s(g),page:s(n),"onUpdate:page":a[0]||(a[0]=p=>d(n)?n.value=p:null),"on-update:page":L},null,8,["item-count","page"])])])]),_:1},8,["show","title"]),i(T,{ref_key:"shareDetailRef",ref:f},null,512)],64)}}});export{le as default}; diff --git a/BTPanel/static/vite/js/ShareList-legacy-C7RBW-8a.js b/BTPanel/static/vite/js/ShareList-legacy-C7RBW-8a.js new file mode 100644 index 00000000..64bc33e2 --- /dev/null +++ b/BTPanel/static/vite/js/ShareList-legacy-C7RBW-8a.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./FileIcon-legacy-BZIg8aaH.js?v=1774508183068","./ShareDetail.vue_vue_type_script_setup_true_lang-legacy-BQnTpZuy.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068"],(function(e,l){"use strict";var a,t,s,i,n,u,c,r,o,p,d,y,_,g,f,h,v,j,x,m,L,k;return{setters:[e=>{a=e.x,t=e.h,s=e.y},e=>{i=e._},e=>{n=e.u},e=>{u=e.Y,c=e.Z},e=>{r=e._},e=>{o=e.k,p=e.R,d=e.i,y=e.r,_=e.al,g=e.$,f=e.Z,h=e.a0,v=e.a9,j=e._,x=e.S,m=e.X,L=e.F},e=>{k=e.aB},null,null,null,null,null,null,null,null],execute:function(){const l={class:"p-20px"},w={class:"mt-10px flex justify-end items-center"};e("default",o({__name:"ShareList",setup(e,{expose:o}){const{t:M}=p(),S=d("fileStore"),{shareList:D,shareListPage:b,shareListTotal:C}=S,B=y(!1),P=y(!1),R=_("shareDetailRef"),T=async()=>{try{P.value=!0,await c(S)}finally{P.value=!1}};function Z(e){b.value=e,T()}o({open(){B.value=!0,T()},close(){B.value=!1}});const F=y([{key:"ps",title:M("file.shareListModal.shareName")},{key:"filename",title:M("file.shareListModal.shareAddress")},{key:"expire",title:M("file.shareListModal.expirationDate"),render:e=>a(e.expire)},n({width:120,options:e=>[{label:M("Public.Btn.Details"),onClick:()=>{!async function(e){R.value?.open(e)}(e)}},{label:M("Public.Btn.Delete"),onClick:()=>{var l;l=e,t({title:M("file.shareListModal.cancelShareTitle"),content:M("file.shareListModal.cancelShareMessage",{filename:l.filename}),onConfirm:async()=>{await u(S,l.id),T()}})}}]})]);return(e,a)=>{const t=i,n=k,u=s;return g(),f(L,null,[h(u,{show:x(B),"onUpdate:show":a[1]||(a[1]=e=>m(B)?B.value=e:null),title:x(M)("file.shareListModal.title"),width:850},{default:v((()=>[j("div",l,[h(t,{loading:x(P),data:x(D),columns:x(F)},null,8,["loading","data","columns"]),j("div",w,[h(n,{"item-count":x(C),page:x(b),"onUpdate:page":a[0]||(a[0]=e=>m(b)?b.value=e:null),"on-update:page":Z},null,8,["item-count","page"])])])])),_:1},8,["show","title"]),h(r,{ref_key:"shareDetailRef",ref:R},null,512)],64)}}}))}}})); diff --git a/BTPanel/static/vite/js/ShareList-legacy-DiYWLPAC.js b/BTPanel/static/vite/js/ShareList-legacy-DiYWLPAC.js deleted file mode 100644 index 26211e15..00000000 --- a/BTPanel/static/vite/js/ShareList-legacy-DiYWLPAC.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./FileIcon-legacy-CYrICTNK.js?v=1773287522785","./ShareDetail.vue_vue_type_script_setup_true_lang-legacy-Cll6gIn0.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785","./soft-legacy-CzxZ2w7j.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785"],(function(e,l){"use strict";var a,t,s,i,n,u,c,r,o,d,p,y,_,g,f,h,v,j,x,m,L,w;return{setters:[e=>{a=e.w,t=e.h,s=e.x},e=>{i=e._},e=>{n=e.u},e=>{u=e.Y,c=e.Z},e=>{r=e._},e=>{o=e.k,d=e.R,p=e.i,y=e.r,_=e.al,g=e.$,f=e.Z,h=e.a0,v=e.a9,j=e._,x=e.S,m=e.X,L=e.F},e=>{w=e.aB},null,null,null,null,null,null,null,null,null],execute:function(){const l={class:"p-20px"},k={class:"mt-10px flex justify-end items-center"};e("default",o({__name:"ShareList",setup(e,{expose:o}){const{t:M}=d(),S=p("fileStore"),{shareList:D,shareListPage:b,shareListTotal:C}=S,B=y(!1),P=y(!1),R=_("shareDetailRef"),T=async()=>{try{P.value=!0,await c(S)}finally{P.value=!1}};function U(e){b.value=e,T()}o({open(){B.value=!0,T()},close(){B.value=!1}});const Z=y([{key:"ps",title:M("file.shareListModal.shareName")},{key:"filename",title:M("file.shareListModal.shareAddress")},{key:"expire",title:M("file.shareListModal.expirationDate"),render:e=>a(e.expire)},n({width:120,options:e=>[{label:M("Public.Btn.Details"),onClick:()=>{!async function(e){R.value?.open(e)}(e)}},{label:M("Public.Btn.Delete"),onClick:()=>{var l;l=e,t({title:M("file.shareListModal.cancelShareTitle"),content:M("file.shareListModal.cancelShareMessage",{filename:l.filename}),onConfirm:async()=>{await u(S,l.id),T()}})}}]})]);return(e,a)=>{const t=i,n=w,u=s;return g(),f(L,null,[h(u,{show:x(B),"onUpdate:show":a[1]||(a[1]=e=>m(B)?B.value=e:null),title:x(M)("file.shareListModal.title"),width:850},{default:v((()=>[j("div",l,[h(t,{loading:x(P),data:x(D),columns:x(Z)},null,8,["loading","data","columns"]),j("div",k,[h(n,{"item-count":x(C),page:x(b),"onUpdate:page":a[0]||(a[0]=e=>m(b)?b.value=e:null),"on-update:page":U},null,8,["item-count","page"])])])])),_:1},8,["show","title"]),h(r,{ref_key:"shareDetailRef",ref:R},null,512)],64)}}}))}}})); diff --git a/BTPanel/static/vite/js/ShareList-p0SeqjaU.js b/BTPanel/static/vite/js/ShareList-p0SeqjaU.js new file mode 100644 index 00000000..5c645bc5 --- /dev/null +++ b/BTPanel/static/vite/js/ShareList-p0SeqjaU.js @@ -0,0 +1 @@ +import{x as S,h as b,y as C}from"./index-LQ-JIYiv.js?v=1774508183068";import{_ as M}from"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import{u as B}from"./useTableColumns-BpMo4f8r.js?v=1774508183068";import{Y as R,Z as P}from"./FileIcon-MbTGjXAj.js?v=1774508183068";import{_ as T}from"./ShareDetail.vue_vue_type_script_setup_true_lang-DUhUSteW.js?v=1774508183068";import{k as N,R as $,i as j,r as p,al as A,$ as F,Z as U,a0 as i,a9 as V,_ as u,S as s,X as d,F as Z}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{aB as E}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";import"./index-Dd5dC2sI.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";const I={class:"p-20px"},X={class:"mt-10px flex justify-end items-center"},ie=N({__name:"ShareList",setup(Y,{expose:_}){const{t}=$(),l=j("fileStore"),{shareList:h,shareListPage:n,shareListTotal:g}=l,o=p(!1),r=p(!1),f=A("shareDetailRef"),m=async()=>{try{r.value=!0,await P(l)}finally{r.value=!1}};function L(e){n.value=e,m()}_({open(){o.value=!0,m()},close(){o.value=!1}});const x=p([{key:"ps",title:t("file.shareListModal.shareName")},{key:"filename",title:t("file.shareListModal.shareAddress")},{key:"expire",title:t("file.shareListModal.expirationDate"),render:e=>S(e.expire)},B({width:120,options:e=>[{label:t("Public.Btn.Details"),onClick:()=>{v(e)}},{label:t("Public.Btn.Delete"),onClick:()=>{y(e)}}]})]);function y(e){b({title:t("file.shareListModal.cancelShareTitle"),content:t("file.shareListModal.cancelShareMessage",{filename:e.filename}),onConfirm:async()=>{await R(l,e.id),m()}})}async function v(e){var a;(a=f.value)==null||a.open(e)}return(e,a)=>{const k=M,w=E,D=C;return F(),U(Z,null,[i(D,{show:s(o),"onUpdate:show":a[1]||(a[1]=c=>d(o)?o.value=c:null),title:s(t)("file.shareListModal.title"),width:850},{default:V(()=>[u("div",I,[i(k,{loading:s(r),data:s(h),columns:s(x)},null,8,["loading","data","columns"]),u("div",X,[i(w,{"item-count":s(g),page:s(n),"onUpdate:page":a[0]||(a[0]=c=>d(n)?n.value=c:null),"on-update:page":L},null,8,["item-count","page"])])])]),_:1},8,["show","title"]),i(T,{ref_key:"shareDetailRef",ref:f},null,512)],64)}}});export{ie as default}; diff --git a/BTPanel/static/vite/js/SoftLink-CE2U2jP2.js b/BTPanel/static/vite/js/SoftLink-CE2U2jP2.js new file mode 100644 index 00000000..ba91ea70 --- /dev/null +++ b/BTPanel/static/vite/js/SoftLink-CE2U2jP2.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/index-Cs5dB_8a.js?v=1774508183068","js/vue-core-BlDeWrD6.js?v=1774508183068","js/prismjs-BZPoR7_J.js?v=1774508183068","css/prismjs-D-3FhBe_.css?v=1774508183068","js/index-LQ-JIYiv.js?v=1774508183068","js/naive-ui-BjvXgNtF.js?v=1774508183068","css/index-Bu1Pw919.css?v=1774508183068","js/files-B-5OIeVB.js?v=1774508183068","css/index-BZ6kzE9A.css?v=1774508183068"])))=>i.map(i=>d[i]); +import{l as M,y as R,m as $,p as y,S as P}from"./index-LQ-JIYiv.js?v=1774508183068";import{_ as N}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{_ as U,t as V}from"./FileIcon-MbTGjXAj.js?v=1774508183068";import{a1 as A,au as E,b as F,B as I}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import{k as T,i as j,R as q,r as _,$ as z,a8 as D,a9 as t,_ as u,a0 as e,X as p,S as r,a3 as O}from"./vue-core-BlDeWrD6.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";const W={class:"p-20px pt-28px"},X={class:"w-320px"},G={class:"w-320px"},ne=T({__name:"SoftLink",setup(H,{expose:v}){const f=j("fileStore"),{currentPath:h}=f,{t:c}=q(),a=_(!1),o=_(""),l=_("");async function k(){if(!l.value||!o.value)return $.warning(c("file.softLinkModal.validation.fillRequired")),!1;await U(o.value,h.value+"/"+l.value),V(f)}function w(){a.value=!0}function b(){a.value=!1}function g(){y({title:c("Component.SelectPath.index_7"),width:750,height:640,footer:!1,data:{path:o.value,checkedType:["dir","file"],callback:s=>{o.value=s}},component:O(()=>P(()=>import("./index-Cs5dB_8a.js?v=1774508183068"),__vite__mapDeps([0,1,2,3,4,5,6,7,8])))})}return v({open:w,close:b}),(s,n)=>{const m=F,C=M,L=I,S=E,d=A,x=N,B=R;return z(),D(B,{show:r(a),"onUpdate:show":n[2]||(n[2]=i=>p(a)?a.value=i:null),title:s.$t("file.softLinkModal.title"),width:520,footer:!0,onConfirm:k},{default:t(()=>[u("div",W,[e(x,null,{default:t(()=>[e(d,{label:s.$t("file.softLinkModal.sourceFile")},{default:t(()=>[u("div",X,[e(S,null,{default:t(()=>[e(m,{value:r(o),"onUpdate:value":n[0]||(n[0]=i=>p(o)?o.value=i:null),placeholder:""},null,8,["value"]),e(L,{onClick:g},{icon:t(()=>[e(C,{name:"file-dir",size:"24"})]),_:1})]),_:1})])]),_:1},8,["label"]),e(d,{label:s.$t("file.softLinkModal.softLinkName")},{default:t(()=>[u("div",G,[e(m,{value:r(l),"onUpdate:value":n[1]||(n[1]=i=>p(l)?l.value=i:null),placeholder:""},null,8,["value"])])]),_:1},8,["label"])]),_:1})])]),_:1},8,["show","title"])}}});export{ne as default}; diff --git a/BTPanel/static/vite/js/SoftLink-Dl8GheA5.js b/BTPanel/static/vite/js/SoftLink-Dl8GheA5.js deleted file mode 100644 index d292bab1..00000000 --- a/BTPanel/static/vite/js/SoftLink-Dl8GheA5.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/index-B6Y_2X_r.js?v=1773287522785","js/vue-core-DJjvd5ZC.js?v=1773287522785","js/prismjs-BZPoR7_J.js?v=1773287522785","css/prismjs-D-3FhBe_.css?v=1773287522785","js/index-BTglIPU2.js?v=1773287522785","js/naive-ui--dJnpVcV.js?v=1773287522785","css/index-DEM1fxGq.css?v=1773287522785","js/files-BUbkyTRl.js?v=1773287522785","css/index-FEE1lr_F.css?v=1773287522785"])))=>i.map(i=>d[i]); -import{l as M,x as P,m as R,p as $,P as y}from"./index-BTglIPU2.js?v=1773287522785";import{_ as N}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{_ as U,w as V}from"./FileIcon-eIHDRaxH.js?v=1773287522785";import{a1 as A,au as E,b as F,B as I}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as T,i as j,R as q,r as _,$ as z,a8 as D,a9 as t,_ as u,a0 as e,X as p,S as r,a3 as O}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./soft-Cjyfamvm.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";const W={class:"p-20px pt-28px"},X={class:"w-320px"},G={class:"w-320px"},te=T({__name:"SoftLink",setup(H,{expose:v}){const f=j("fileStore"),{currentPath:h}=f,{t:c}=q(),a=_(!1),o=_(""),l=_("");async function k(){if(!l.value||!o.value)return R.warning(c("file.softLinkModal.validation.fillRequired")),!1;await U(o.value,h.value+"/"+l.value),V(f)}function w(){a.value=!0}function b(){a.value=!1}function g(){$({title:c("Component.SelectPath.index_7"),width:750,height:640,footer:!1,data:{path:o.value,checkedType:["dir","file"],callback:s=>{o.value=s}},component:O(()=>y(()=>import("./index-B6Y_2X_r.js?v=1773287522785"),__vite__mapDeps([0,1,2,3,4,5,6,7,8])))})}return v({open:w,close:b}),(s,n)=>{const m=F,C=M,L=I,x=E,d=A,S=N,B=P;return z(),D(B,{show:r(a),"onUpdate:show":n[2]||(n[2]=i=>p(a)?a.value=i:null),title:s.$t("file.softLinkModal.title"),width:520,footer:!0,onConfirm:k},{default:t(()=>[u("div",W,[e(S,null,{default:t(()=>[e(d,{label:s.$t("file.softLinkModal.sourceFile")},{default:t(()=>[u("div",X,[e(x,null,{default:t(()=>[e(m,{value:r(o),"onUpdate:value":n[0]||(n[0]=i=>p(o)?o.value=i:null),placeholder:""},null,8,["value"]),e(L,{onClick:g},{icon:t(()=>[e(C,{name:"file-dir",size:"24"})]),_:1})]),_:1})])]),_:1},8,["label"]),e(d,{label:s.$t("file.softLinkModal.softLinkName")},{default:t(()=>[u("div",G,[e(m,{value:r(l),"onUpdate:value":n[1]||(n[1]=i=>p(l)?l.value=i:null),placeholder:""},null,8,["value"])])]),_:1},8,["label"])]),_:1})])]),_:1},8,["show","title"])}}});export{te as default}; diff --git a/BTPanel/static/vite/js/SoftLink-legacy-DnEtC8Zh.js b/BTPanel/static/vite/js/SoftLink-legacy-DnEtC8Zh.js deleted file mode 100644 index f3f95816..00000000 --- a/BTPanel/static/vite/js/SoftLink-legacy-DnEtC8Zh.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./FileIcon-legacy-CYrICTNK.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./soft-legacy-CzxZ2w7j.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785"],(function(e,l){"use strict";var a,t,n,i,u,o,s,c,r,d,f,v,p,_,h,y,g,x,j,k,m,w,b,L;return{setters:[e=>{a=e.l,t=e.x,n=e.m,i=e.p,u=e.P},e=>{o=e._},e=>{s=e._,c=e.w},e=>{r=e.a1,d=e.au,f=e.b,v=e.B},e=>{p=e.k,_=e.i,h=e.R,y=e.r,g=e.$,x=e.a8,j=e.a9,k=e._,m=e.a0,w=e.X,b=e.S,L=e.a3},null,null,null],execute:function(){const S={class:"p-20px pt-28px"},M={class:"w-320px"},$={class:"w-320px"};e("default",p({__name:"SoftLink",setup(e,{expose:p}){const C=_("fileStore"),{currentPath:P}=C,{t:U}=h(),F=y(!1),I=y(""),R=y("");async function q(){if(!R.value||!I.value)return n.warning(U("file.softLinkModal.validation.fillRequired")),!1;await s(I.value,P.value+"/"+R.value),c(C)}function z(){i({title:U("Component.SelectPath.index_7"),width:750,height:640,footer:!1,data:{path:I.value,checkedType:["dir","file"],callback:e=>{I.value=e}},component:L((()=>u((()=>l.import("./index-legacy-W_PN01QM.js?v=1773287522785")),void 0)))})}return p({open:function(){F.value=!0},close:function(){F.value=!1}}),(e,l)=>{const n=f,i=a,u=v,s=d,c=r,p=o,_=t;return g(),x(_,{show:b(F),"onUpdate:show":l[2]||(l[2]=e=>w(F)?F.value=e:null),title:e.$t("file.softLinkModal.title"),width:520,footer:!0,onConfirm:q},{default:j((()=>[k("div",S,[m(p,null,{default:j((()=>[m(c,{label:e.$t("file.softLinkModal.sourceFile")},{default:j((()=>[k("div",M,[m(s,null,{default:j((()=>[m(n,{value:b(I),"onUpdate:value":l[0]||(l[0]=e=>w(I)?I.value=e:null),placeholder:""},null,8,["value"]),m(u,{onClick:z},{icon:j((()=>[m(i,{name:"file-dir",size:"24"})])),_:1})])),_:1})])])),_:1},8,["label"]),m(c,{label:e.$t("file.softLinkModal.softLinkName")},{default:j((()=>[k("div",$,[m(n,{value:b(R),"onUpdate:value":l[1]||(l[1]=e=>w(R)?R.value=e:null),placeholder:""},null,8,["value"])])])),_:1},8,["label"])])),_:1})])])),_:1},8,["show","title"])}}}))}}})); diff --git a/BTPanel/static/vite/js/SoftLink-legacy-Dpm6FYBJ.js b/BTPanel/static/vite/js/SoftLink-legacy-Dpm6FYBJ.js new file mode 100644 index 00000000..079aed93 --- /dev/null +++ b/BTPanel/static/vite/js/SoftLink-legacy-Dpm6FYBJ.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./FileIcon-legacy-BZIg8aaH.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068"],(function(e,l){"use strict";var a,t,n,i,u,o,s,c,r,d,f,v,p,_,y,g,h,k,m,x,j,w,b,L;return{setters:[e=>{a=e.l,t=e.y,n=e.m,i=e.p,u=e.S},e=>{o=e._},e=>{s=e._,c=e.t},e=>{r=e.a1,d=e.au,f=e.b,v=e.B},e=>{p=e.k,_=e.i,y=e.R,g=e.r,h=e.$,k=e.a8,m=e.a9,x=e._,j=e.a0,w=e.X,b=e.S,L=e.a3},null,null],execute:function(){const S={class:"p-20px pt-28px"},M={class:"w-320px"},$={class:"w-320px"};e("default",p({__name:"SoftLink",setup(e,{expose:p}){const C=_("fileStore"),{currentPath:U}=C,{t:F}=y(),P=g(!1),R=g(""),q=g("");async function z(){if(!q.value||!R.value)return n.warning(F("file.softLinkModal.validation.fillRequired")),!1;await s(R.value,U.value+"/"+q.value),c(C)}function B(){i({title:F("Component.SelectPath.index_7"),width:750,height:640,footer:!1,data:{path:R.value,checkedType:["dir","file"],callback:e=>{R.value=e}},component:L((()=>u((()=>l.import("./index-legacy-DQ9Fq-kQ.js?v=1774508183068")),void 0)))})}return p({open:function(){P.value=!0},close:function(){P.value=!1}}),(e,l)=>{const n=f,i=a,u=v,s=d,c=r,p=o,_=t;return h(),k(_,{show:b(P),"onUpdate:show":l[2]||(l[2]=e=>w(P)?P.value=e:null),title:e.$t("file.softLinkModal.title"),width:520,footer:!0,onConfirm:z},{default:m((()=>[x("div",S,[j(p,null,{default:m((()=>[j(c,{label:e.$t("file.softLinkModal.sourceFile")},{default:m((()=>[x("div",M,[j(s,null,{default:m((()=>[j(n,{value:b(R),"onUpdate:value":l[0]||(l[0]=e=>w(R)?R.value=e:null),placeholder:""},null,8,["value"]),j(u,{onClick:B},{icon:m((()=>[j(i,{name:"file-dir",size:"24"})])),_:1})])),_:1})])])),_:1},8,["label"]),j(c,{label:e.$t("file.softLinkModal.softLinkName")},{default:m((()=>[x("div",$,[j(n,{value:b(q),"onUpdate:value":l[1]||(l[1]=e=>w(q)?q.value=e:null),placeholder:""},null,8,["value"])])])),_:1},8,["label"])])),_:1})])])),_:1},8,["show","title"])}}}))}}})); diff --git a/BTPanel/static/vite/js/Terminal-CF3avIQ8.js b/BTPanel/static/vite/js/Terminal-CF3avIQ8.js new file mode 100644 index 00000000..bda57825 --- /dev/null +++ b/BTPanel/static/vite/js/Terminal-CF3avIQ8.js @@ -0,0 +1 @@ +import{y as w,h as C}from"./index-LQ-JIYiv.js?v=1774508183068";import{T as v}from"./terminal-B2mRDt3v.js?v=1774508183068";import{k as x,R,i as T,r as s,al as k,w as M,$ as S,a8 as g,a9 as b,a0 as y,S as l,X as B,n as P}from"./vue-core-BlDeWrD6.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./xterm-dpUsuiNl.js?v=1774508183068";import"./useSocket-Cx34hjKD.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./xterm-addon-canvas-DELv9KNm.js?v=1774508183068";import"./useLoading-BRu-BHcC.js?v=1774508183068";const A=x({__name:"Terminal",setup(U,{expose:f}){const{t:a}=R(),c=T("fileStore"),{currentPath:m}=c,e=s(!1),u=s({id:"1",host:"127.0.0.1",port:22,ps:"",state:!0}),i=k("terminalRef"),n=s(!1);function p(){e.value=!0}function r(){return C({title:a("file.terminalModal.closeTitle"),content:a("file.terminalModal.closeMessage"),width:420,onConfirm(){e.value=!1,P(()=>n.value=!1)}}),!1}function d(o){o.indexOf("Welcome to")&&(n.value=!0)}return M(n,o=>{var t;o&&((t=i.value)==null||t.send("cd ".concat(m.value," \r\n")))}),f({open:p,close:r}),(o,t)=>{const _=w;return S(),g(_,{show:l(e),"onUpdate:show":t[0]||(t[0]=h=>B(e)?e.value=h:null),title:l(a)("file.terminalModal.title"),width:926,onPublicClose:r},{default:b(()=>[y(v,{ref_key:"terminalRef",ref:i,data:l(u),onConnectSuccess:d},null,8,["data"])]),_:1},8,["show","title"])}}});export{A as default}; diff --git a/BTPanel/static/vite/js/Terminal-PiC2vW2v.js b/BTPanel/static/vite/js/Terminal-PiC2vW2v.js deleted file mode 100644 index e119a3b2..00000000 --- a/BTPanel/static/vite/js/Terminal-PiC2vW2v.js +++ /dev/null @@ -1 +0,0 @@ -import{x as w,h as C}from"./index-BTglIPU2.js?v=1773287522785";import{T as v}from"./terminal-CFfBeKvv.js?v=1773287522785";import{k as x,R,i as T,r as s,al as k,w as M,$ as S,a8 as g,a9 as b,a0 as B,S as l,X as P,n as U}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./naive-ui--dJnpVcV.js?v=1773287522785";import"./xterm-dpUsuiNl.js?v=1773287522785";import"./useSocket-DTHwGZgK.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./xterm-addon-canvas-DELv9KNm.js?v=1773287522785";import"./useLoading-CZ2gSAW7.js?v=1773287522785";const A=x({__name:"Terminal",setup($,{expose:f}){const{t:a}=R(),c=T("fileStore"),{currentPath:m}=c,e=s(!1),u=s({id:"1",host:"127.0.0.1",port:22,ps:"",state:!0}),i=k("terminalRef"),n=s(!1);function p(){e.value=!0}function r(){return C({title:a("file.terminalModal.closeTitle"),content:a("file.terminalModal.closeMessage"),width:420,onConfirm(){e.value=!1,U(()=>n.value=!1)}}),!1}function d(o){o.indexOf("Welcome to")&&(n.value=!0)}return M(n,o=>{var t;o&&((t=i.value)==null||t.send("cd ".concat(m.value," \r\n")))}),f({open:p,close:r}),(o,t)=>{const _=w;return S(),g(_,{show:l(e),"onUpdate:show":t[0]||(t[0]=h=>P(e)?e.value=h:null),title:l(a)("file.terminalModal.title"),width:926,onPublicClose:r},{default:b(()=>[B(v,{ref_key:"terminalRef",ref:i,data:l(u),onConnectSuccess:d},null,8,["data"])]),_:1},8,["show","title"])}}});export{A as default}; diff --git a/BTPanel/static/vite/js/Terminal-legacy-B0M0GSQa.js b/BTPanel/static/vite/js/Terminal-legacy-B0M0GSQa.js new file mode 100644 index 00000000..434bf7ae --- /dev/null +++ b/BTPanel/static/vite/js/Terminal-legacy-B0M0GSQa.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./terminal-legacy-CccOV2S2.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./xterm-legacy-UzqSqzXt.js?v=1774508183068","./useSocket-legacy-CT2Sal6Q.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./xterm-addon-canvas-legacy-Tys2uZOF.js?v=1774508183068","./useLoading-legacy-BYj3sJTe.js?v=1774508183068"],(function(e,l){"use strict";var t,n,a,s,u,i,o,c,r,d,f,m,g,y,j,v;return{setters:[e=>{t=e.y,n=e.h},e=>{a=e.T},e=>{s=e.k,u=e.R,i=e.i,o=e.r,c=e.al,r=e.w,d=e.$,f=e.a8,m=e.a9,g=e.a0,y=e.S,j=e.X,v=e.n},null,null,null,null,null,null,null],execute:function(){e("default",s({__name:"Terminal",setup(e,{expose:l}){const{t:s}=u(),h=i("fileStore"),{currentPath:p}=h,w=o(!1),x=o({id:"1",host:"127.0.0.1",port:22,ps:"",state:!0}),S=c("terminalRef"),_=o(!1);function M(){return n({title:s("file.terminalModal.closeTitle"),content:s("file.terminalModal.closeMessage"),width:420,onConfirm(){w.value=!1,v((()=>_.value=!1))}}),!1}function k(e){e.indexOf("Welcome to")&&(_.value=!0)}return r(_,(e=>{e&&S.value?.send(`cd ${p.value} \r\n`)})),l({open:function(){w.value=!0},close:M}),(e,l)=>{const n=t;return d(),f(n,{show:y(w),"onUpdate:show":l[0]||(l[0]=e=>j(w)?w.value=e:null),title:y(s)("file.terminalModal.title"),width:926,onPublicClose:M},{default:m((()=>[g(a,{ref_key:"terminalRef",ref:S,data:y(x),onConnectSuccess:k},null,8,["data"])])),_:1},8,["show","title"])}}}))}}})); diff --git a/BTPanel/static/vite/js/Terminal-legacy-B5MvKcjM.js b/BTPanel/static/vite/js/Terminal-legacy-B5MvKcjM.js deleted file mode 100644 index 352a78f7..00000000 --- a/BTPanel/static/vite/js/Terminal-legacy-B5MvKcjM.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./terminal-legacy-lSIZbtj-.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./xterm-legacy-UzqSqzXt.js?v=1773287522785","./useSocket-legacy-D9BDJ2id.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./xterm-addon-canvas-legacy-Tys2uZOF.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785"],(function(e,l){"use strict";var t,n,a,s,u,i,o,c,r,d,f,m,g,y,j,v;return{setters:[e=>{t=e.x,n=e.h},e=>{a=e.T},e=>{s=e.k,u=e.R,i=e.i,o=e.r,c=e.al,r=e.w,d=e.$,f=e.a8,m=e.a9,g=e.a0,y=e.S,j=e.X,v=e.n},null,null,null,null,null,null,null],execute:function(){e("default",s({__name:"Terminal",setup(e,{expose:l}){const{t:s}=u(),h=i("fileStore"),{currentPath:x}=h,p=o(!1),w=o({id:"1",host:"127.0.0.1",port:22,ps:"",state:!0}),S=c("terminalRef"),M=o(!1);function _(){return n({title:s("file.terminalModal.closeTitle"),content:s("file.terminalModal.closeMessage"),width:420,onConfirm(){p.value=!1,v((()=>M.value=!1))}}),!1}function k(e){e.indexOf("Welcome to")&&(M.value=!0)}return r(M,(e=>{e&&S.value?.send(`cd ${x.value} \r\n`)})),l({open:function(){p.value=!0},close:_}),(e,l)=>{const n=t;return d(),f(n,{show:y(p),"onUpdate:show":l[0]||(l[0]=e=>j(p)?p.value=e:null),title:y(s)("file.terminalModal.title"),width:926,onPublicClose:_},{default:m((()=>[g(a,{ref_key:"terminalRef",ref:S,data:y(w),onConnectSuccess:k},null,8,["data"])])),_:1},8,["show","title"])}}}))}}})); diff --git a/BTPanel/static/vite/js/UploadFile-Dg4rg0Qp.js b/BTPanel/static/vite/js/UploadFile-Dg4rg0Qp.js deleted file mode 100644 index f34f4f6d..00000000 --- a/BTPanel/static/vite/js/UploadFile-Dg4rg0Qp.js +++ /dev/null @@ -1 +0,0 @@ -import{C as k,l as E,x as H,m as A,as as ue,h as de,c as re}from"./index-BTglIPU2.js?v=1773287522785";import{V as fe,w as pe}from"./FileIcon-eIHDRaxH.js?v=1773287522785";import{k as O,R as q,i as X,r as b,a0 as m,$ as d,a8 as U,a9 as p,_ as a,aa as i,S as s,X as Z,c as D,Z as h,j as S,ak as T,F as V,P as me,H as _e,n as ve}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{at as he,ai as ge,B as ye,aI as Ce}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./soft-Cjyfamvm.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";const be={class:"p-20px"},ke={class:"flex items-center gap-10px mb-16px"},we={class:"flex-1 w-0 text-14px"},xe=O({__name:"FileConflict",props:{fileList:{}},emits:["step","confirm"],setup(G,{emit:I}){const{t:r}=q(),l=I,_=X("fileStore"),{fileConflictShow:g}=_,y=b([{title:r("file.uploadModal.conflictFileName"),key:"filename",ellipsis:{tooltip:!0}},{title:r("file.uploadModal.conflictFileDifference"),key:"difference",width:200,render(v){return m("span",null,[k(v.size)+"-->"+k(v.size)])}}]),C=()=>{l("step")},w=()=>{l("confirm")};return(v,u)=>{const c=E,x=he,M=H;return d(),U(M,{show:s(g),"onUpdate:show":u[0]||(u[0]=P=>Z(g)?g.value=P:null),title:s(r)("file.uploadModal.conflictTitle"),width:600,footer:!0,"confirm-text":s(r)("file.uploadModal.conflictOverwrite"),"cancel-text":s(r)("file.uploadModal.conflictSkip"),onCancel:C,onConfirm:w},{default:p(()=>[a("div",be,[a("div",ke,[m(c,{name:"base-warning",class:"text-warning text-30px"}),a("div",we,i(s(r)("file.uploadModal.conflictMessage")),1)]),m(x,{"max-height":400,columns:s(y),data:v.fileList},null,8,["columns","data"])])]),_:1},8,["show","title","confirm-text","cancel-text"])}}}),Me={class:"p-20px"},$e={key:0,class:"flex justify-between items-center mb-16px"},Se={key:1,class:"status-tools-wrapper mb-16px"},Fe={class:"status-tools"},Ue={class:"tools-item"},Ie={class:"item-label"},Pe={class:"value"},ze={class:"tools-item"},Ne={class:"item-label"},Be={class:"value"},Le={class:"tools-item"},Re={class:"item-label"},je={class:"value"},Ae={key:0,class:"tools-item"},De={class:"item-label"},Te={class:"value"},Ve={key:2,class:"files-list-wrapper"},Ee={class:"files-tit"},He={class:"name"},Oe={class:"size"},qe={class:"status"},Xe={class:"operation"},Ze={class:"name"},Ge={class:"size"},Je={class:"status"},Ke={class:"operation"},Qe={key:3,class:"file-empty"},We={class:"flex justify-end gap-16px mt-20px"},Ye=O({__name:"UploadFile",setup(G,{expose:I}){const r=X("fileStore"),{uploadFileList:l,uploadShow:_}=r,{currentPath:g,uploadComplete:y,startUpload:C,fileConflictShow:w}=r,v=b([]),{t:u}=q(),c=b({total:0,done:0,time:0,speed:0,num:0}),x=b(),M=b(),P=b([{key:"file",label:D(()=>u("file.uploadFile"))},{key:"dir",label:D(()=>u("file.uploadFolder"))}]);I({open(){_.value=!0},close(){_.value=!1}});function J(e){e=="file"?B():K()}function B(){x.value.click()}function K(){M.value.click()}function Q(e){const t=e.target.files;if(t){let o=!1;for(let n=0;nF.file.name==t[n].name)!=-1){o=!0;continue}l.value.push({relativePath:"",file:t[n],status:0,name:t[n].name,size:t[n].size,progress:0})}o&&A.error(u("file.uploadModal.fileAlreadyExists"),{close:!0})}x.value.value=""}function W(e){const t=e.target.files;if(t){let o=!1;for(let n=0;nN.file.name==t[n].name)!=-1){o=!0;continue}l.value.push({relativePath:$.join("/"),file:t[n],name:t[n].name,status:0,size:t[n].size,progress:0})}o&&A.error(u("file.uploadModal.fileAlreadyExists"),{close:!0})}M.value.value=""}function Y(){l.value=[]}function ee(e){switch(e){case 0:return u("file.uploadModal.statusNotStarted");case 1:return u("file.uploadModal.statusUploading");case 2:return u("file.uploadModal.statusCompleted");case 3:return u("file.uploadModal.statusFailed")}}async function L(){const e=l.value.map(o=>o.relativePath?g.value+"/"+o.relativePath+"/"+o.file.name:g.value+"/"+o.file.name),t=await ie(e);t.length==0?await z():(v.value=t,w.value=!0)}async function te(){l.value=l.value.filter(e=>v.value.findIndex(t=>t.filename.includes(e.file.name))==-1),l.value.length>0?await z():R()}function le(){w.value=!1,te()}function ae(){w.value=!1,z()}async function z(){c.value.total=l.value.reduce((t,o)=>t+o.file.size,0),C.value=!0;const e=oe();for(let t=0;t{l.value[t].progress=o},o=>{isNaN(Number(o.message))||(c.value.done=Number(o.message))}),l.value[t].status=2,c.value.num+=1}catch(o){l.value[t].status=3,console.warn(o)}}clearInterval(e),y.value=!0,pe(r),ve(()=>l.value=[])}function se(e){l.value.splice(e,1)}function oe(){let e=0;return setInterval(()=>{e++,c.value.time=e,c.value.speed=c.value.done/c.value.time,console.log(c.value)},1e3)}function R(){y.value=!1,C.value=!1,c.value={total:0,done:0,speed:0,num:0,time:0},l.value=[]}async function ie(e){return(await ue.post("/files?action=upload_files_exists",{files:e.join("\n")})).message.filter(o=>o.exists)}const ne=()=>{if(!y.value&&l.value.length>0)return de({title:u("file.uploadModal.cancelUpload"),content:u("file.uploadModal.cancelUploadConfirm"),onConfirm(){_.value=!1}}),!1},ce=()=>{R()};return(e,t)=>{const o=E,n=ye,$=ge,F=Ce,N=H;return d(),h(V,null,[m(N,{show:s(_),"onUpdate:show":t[0]||(t[0]=f=>Z(_)?_.value=f:null),title:e.$t("file.uploadModal.title"),width:720,onPublicClose:ne,onAfterLeave:ce},{default:p(()=>[a("div",Me,[a("input",{type:"file",style:{display:"none"},ref_key:"fileInputRef",ref:x,onChange:Q,multiple:""},null,544),a("input",{type:"file",style:{display:"none"},ref_key:"dirInputRef",ref:M,onChange:W,webkitdirectory:"",directory:"",multiple:""},null,544),!s(C)||s(l).length==0?(d(),h("div",$e,[m($,{options:s(P),trigger:"hover",onSelect:J},{default:p(()=>[m(n,{type:"primary","icon-placement":"right",onClick:B},{icon:p(()=>[m(o,{name:"base-arrow-bottom",size:"14"})]),default:p(()=>[S(i(e.$t("file.uploadFile"))+" ",1)]),_:1})]),_:1},8,["options"]),m(n,{disabled:s(l).length==0,onClick:Y},{default:p(()=>[S(i(e.$t("Public.Btn.Clear")),1)]),_:1},8,["disabled"])])):(d(),h("div",Se,[a("div",Fe,[a("div",Ue,[a("div",Ie,i(e.$t("file.uploadModal.uploadSize")),1),a("div",Pe,i("".concat(s(k)(s(c).done),"/").concat(s(k)(s(c).total))),1)]),a("div",ze,[a("div",Ne,i(e.$t("file.uploadModal.averageSpeed")),1),a("div",Be,i(s(k)(s(c).speed))+"/s",1)]),a("div",Le,[a("div",Re,i(e.$t("file.uploadModal.uploadSuccess")),1),a("div",je,i(s(l).length)+" / "+i(s(c).num),1)]),s(y)?(d(),h("div",Ae,[a("div",De,i(e.$t("file.uploadModal.totalTime")),1),a("div",Te,i(s(c).time)+"s",1)])):T("",!0)])])),s(l).length>0?(d(),h("div",Ve,[a("div",Ee,[a("span",He,i(e.$t("file.uploadModal.fileName")),1),a("span",Oe,i(e.$t("file.uploadModal.fileSize")),1),a("span",qe,i(e.$t("file.uploadModal.uploadStatus")),1),a("span",Xe,i(e.$t("file.uploadModal.operation")),1)]),m(F,{style:{height:"350px"}},{default:p(()=>[(d(!0),h(V,null,me(s(l),(f,j)=>(d(),h("div",{class:"list-item",key:j},[a("span",Ze,i(f.relativePath?"".concat(f.relativePath,"/").concat(f.file.name):f.file.name),1),a("span",Ge,i(s(k)(f.file.size)),1),a("span",Je,i(ee(f.status)),1),a("span",Ke,[f.status!==2?(d(),U(n,{key:0,text:"",type:"primary",onClick:et=>se(j)},{default:p(()=>[S(i(e.$t("Public.Btn.Cancel")),1)]),_:2},1032,["onClick"])):T("",!0)]),a("div",{class:"progress",style:_e({width:"".concat(f.progress,"%")})},null,4)]))),128))]),_:1})])):(d(),h("div",Qe,[a("span",null,i(e.$t("file.uploadModal.dragFilesHere")),1)])),a("div",We,[s(C)?(d(),U(n,{key:0,type:"primary",disabled:s(l).length==0,onClick:L},{default:p(()=>[S(i(e.$t("file.uploadModal.continueUpload")),1)]),_:1},8,["disabled"])):(d(),U(n,{key:1,type:"primary",disabled:s(l).length==0,onClick:L},{default:p(()=>[S(i(e.$t("file.uploadModal.confirmUpload")),1)]),_:1},8,["disabled"]))])])]),_:1},8,["show","title"]),m(xe,{"file-list":s(v),onStep:le,onConfirm:ae},null,8,["file-list"])],64)}}}),ct=re(Ye,[["__scopeId","data-v-ff54d582"]]);export{ct as default}; diff --git a/BTPanel/static/vite/js/UploadFile-DsyYKUoP.js b/BTPanel/static/vite/js/UploadFile-DsyYKUoP.js new file mode 100644 index 00000000..66fce9c1 --- /dev/null +++ b/BTPanel/static/vite/js/UploadFile-DsyYKUoP.js @@ -0,0 +1 @@ +import{D as k,l as E,y as H,m as D,av as ue,h as de,c as re}from"./index-LQ-JIYiv.js?v=1774508183068";import{V as fe,t as pe}from"./FileIcon-MbTGjXAj.js?v=1774508183068";import{k as O,R as q,i as X,r as b,a0 as _,$ as d,a8 as U,a9 as p,_ as a,aa as i,S as s,X as Z,c as A,Z as h,j as S,ak as T,F as V,P as _e,H as me,n as ve}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{af as he,aj as ge,B as ye,aI as Ce}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";const be={class:"p-20px"},ke={class:"flex items-center gap-10px mb-16px"},we={class:"flex-1 w-0 text-14px"},xe=O({__name:"FileConflict",props:{fileList:{}},emits:["step","confirm"],setup(G,{emit:I}){const{t:r}=q(),l=I,m=X("fileStore"),{fileConflictShow:g}=m,y=b([{title:r("file.uploadModal.conflictFileName"),key:"filename",ellipsis:{tooltip:!0}},{title:r("file.uploadModal.conflictFileDifference"),key:"difference",width:200,render(v){return _("span",null,[k(v.size)+"-->"+k(v.size)])}}]),C=()=>{l("step")},w=()=>{l("confirm")};return(v,u)=>{const c=E,x=he,M=H;return d(),U(M,{show:s(g),"onUpdate:show":u[0]||(u[0]=P=>Z(g)?g.value=P:null),title:s(r)("file.uploadModal.conflictTitle"),width:600,footer:!0,"confirm-text":s(r)("file.uploadModal.conflictOverwrite"),"cancel-text":s(r)("file.uploadModal.conflictSkip"),onCancel:C,onConfirm:w},{default:p(()=>[a("div",be,[a("div",ke,[_(c,{name:"base-warning",class:"text-warning text-30px"}),a("div",we,i(s(r)("file.uploadModal.conflictMessage")),1)]),_(x,{"max-height":400,columns:s(y),data:v.fileList},null,8,["columns","data"])])]),_:1},8,["show","title","confirm-text","cancel-text"])}}}),Me={class:"p-20px"},$e={key:0,class:"flex justify-between items-center mb-16px"},Se={key:1,class:"status-tools-wrapper mb-16px"},Fe={class:"status-tools"},Ue={class:"tools-item"},Ie={class:"item-label"},Pe={class:"value"},ze={class:"tools-item"},Ne={class:"item-label"},Be={class:"value"},je={class:"tools-item"},Le={class:"item-label"},Re={class:"value"},De={key:0,class:"tools-item"},Ae={class:"item-label"},Te={class:"value"},Ve={key:2,class:"files-list-wrapper"},Ee={class:"files-tit"},He={class:"name"},Oe={class:"size"},qe={class:"status"},Xe={class:"operation"},Ze={class:"name"},Ge={class:"size"},Je={class:"status"},Ke={class:"operation"},Qe={key:3,class:"file-empty"},We={class:"flex justify-end gap-16px mt-20px"},Ye=O({__name:"UploadFile",setup(G,{expose:I}){const r=X("fileStore"),{uploadFileList:l,uploadShow:m}=r,{currentPath:g,uploadComplete:y,startUpload:C,fileConflictShow:w}=r,v=b([]),{t:u}=q(),c=b({total:0,done:0,time:0,speed:0,num:0}),x=b(),M=b(),P=b([{key:"file",label:A(()=>u("file.uploadFile"))},{key:"dir",label:A(()=>u("file.uploadFolder"))}]);I({open(){m.value=!0},close(){m.value=!1}});function J(e){e=="file"?B():K()}function B(){x.value.click()}function K(){M.value.click()}function Q(e){const t=e.target.files;if(t){let o=!1;for(let n=0;nF.file.name==t[n].name)!=-1){o=!0;continue}l.value.push({relativePath:"",file:t[n],status:0,name:t[n].name,size:t[n].size,progress:0})}o&&D.error(u("file.uploadModal.fileAlreadyExists"),{close:!0})}x.value.value=""}function W(e){const t=e.target.files;if(t){let o=!1;for(let n=0;nN.file.name==t[n].name)!=-1){o=!0;continue}l.value.push({relativePath:$.join("/"),file:t[n],name:t[n].name,status:0,size:t[n].size,progress:0})}o&&D.error(u("file.uploadModal.fileAlreadyExists"),{close:!0})}M.value.value=""}function Y(){l.value=[]}function ee(e){switch(e){case 0:return u("file.uploadModal.statusNotStarted");case 1:return u("file.uploadModal.statusUploading");case 2:return u("file.uploadModal.statusCompleted");case 3:return u("file.uploadModal.statusFailed")}}async function j(){const e=l.value.map(o=>o.relativePath?g.value+"/"+o.relativePath+"/"+o.file.name:g.value+"/"+o.file.name),t=await ie(e);t.length==0?await z():(v.value=t,w.value=!0)}async function te(){l.value=l.value.filter(e=>v.value.findIndex(t=>t.filename.includes(e.file.name))==-1),l.value.length>0?await z():L()}function le(){w.value=!1,te()}function ae(){w.value=!1,z()}async function z(){c.value.total=l.value.reduce((t,o)=>t+o.file.size,0),C.value=!0;const e=oe();for(let t=0;t{l.value[t].progress=o},o=>{isNaN(Number(o.message))||(c.value.done=Number(o.message))}),l.value[t].status=2,c.value.num+=1}catch(o){l.value[t].status=3,console.warn(o)}}clearInterval(e),y.value=!0,pe(r),ve(()=>l.value=[])}function se(e){l.value.splice(e,1)}function oe(){let e=0;return setInterval(()=>{e++,c.value.time=e,c.value.speed=c.value.done/c.value.time,console.log(c.value)},1e3)}function L(){y.value=!1,C.value=!1,c.value={total:0,done:0,speed:0,num:0,time:0},l.value=[]}async function ie(e){return(await ue.post("/files?action=upload_files_exists",{files:e.join("\n")})).message.filter(o=>o.exists)}const ne=()=>{if(!y.value&&l.value.length>0)return de({title:u("file.uploadModal.cancelUpload"),content:u("file.uploadModal.cancelUploadConfirm"),onConfirm(){m.value=!1}}),!1},ce=()=>{L()};return(e,t)=>{const o=E,n=ye,$=ge,F=Ce,N=H;return d(),h(V,null,[_(N,{show:s(m),"onUpdate:show":t[0]||(t[0]=f=>Z(m)?m.value=f:null),title:e.$t("file.uploadModal.title"),width:720,onPublicClose:ne,onAfterLeave:ce},{default:p(()=>[a("div",Me,[a("input",{type:"file",style:{display:"none"},ref_key:"fileInputRef",ref:x,onChange:Q,multiple:""},null,544),a("input",{type:"file",style:{display:"none"},ref_key:"dirInputRef",ref:M,onChange:W,webkitdirectory:"",directory:"",multiple:""},null,544),!s(C)||s(l).length==0?(d(),h("div",$e,[_($,{options:s(P),trigger:"hover",onSelect:J},{default:p(()=>[_(n,{type:"primary","icon-placement":"right",onClick:B},{icon:p(()=>[_(o,{name:"base-arrow-bottom",size:"14"})]),default:p(()=>[S(i(e.$t("file.uploadFile"))+" ",1)]),_:1})]),_:1},8,["options"]),_(n,{disabled:s(l).length==0,onClick:Y},{default:p(()=>[S(i(e.$t("Public.Btn.Clear")),1)]),_:1},8,["disabled"])])):(d(),h("div",Se,[a("div",Fe,[a("div",Ue,[a("div",Ie,i(e.$t("file.uploadModal.uploadSize")),1),a("div",Pe,i("".concat(s(k)(s(c).done),"/").concat(s(k)(s(c).total))),1)]),a("div",ze,[a("div",Ne,i(e.$t("file.uploadModal.averageSpeed")),1),a("div",Be,i(s(k)(s(c).speed))+"/s",1)]),a("div",je,[a("div",Le,i(e.$t("file.uploadModal.uploadSuccess")),1),a("div",Re,i(s(l).length)+" / "+i(s(c).num),1)]),s(y)?(d(),h("div",De,[a("div",Ae,i(e.$t("file.uploadModal.totalTime")),1),a("div",Te,i(s(c).time)+"s",1)])):T("",!0)])])),s(l).length>0?(d(),h("div",Ve,[a("div",Ee,[a("span",He,i(e.$t("file.uploadModal.fileName")),1),a("span",Oe,i(e.$t("file.uploadModal.fileSize")),1),a("span",qe,i(e.$t("file.uploadModal.uploadStatus")),1),a("span",Xe,i(e.$t("file.uploadModal.operation")),1)]),_(F,{style:{height:"350px"}},{default:p(()=>[(d(!0),h(V,null,_e(s(l),(f,R)=>(d(),h("div",{class:"list-item",key:R},[a("span",Ze,i(f.relativePath?"".concat(f.relativePath,"/").concat(f.file.name):f.file.name),1),a("span",Ge,i(s(k)(f.file.size)),1),a("span",Je,i(ee(f.status)),1),a("span",Ke,[f.status!==2?(d(),U(n,{key:0,text:"",type:"primary",onClick:et=>se(R)},{default:p(()=>[S(i(e.$t("Public.Btn.Cancel")),1)]),_:2},1032,["onClick"])):T("",!0)]),a("div",{class:"progress",style:me({width:"".concat(f.progress,"%")})},null,4)]))),128))]),_:1})])):(d(),h("div",Qe,[a("span",null,i(e.$t("file.uploadModal.dragFilesHere")),1)])),a("div",We,[s(C)?(d(),U(n,{key:0,type:"primary",disabled:s(l).length==0,onClick:j},{default:p(()=>[S(i(e.$t("file.uploadModal.continueUpload")),1)]),_:1},8,["disabled"])):(d(),U(n,{key:1,type:"primary",disabled:s(l).length==0,onClick:j},{default:p(()=>[S(i(e.$t("file.uploadModal.confirmUpload")),1)]),_:1},8,["disabled"]))])])]),_:1},8,["show","title"]),_(xe,{"file-list":s(v),onStep:le,onConfirm:ae},null,8,["file-list"])],64)}}}),nt=re(Ye,[["__scopeId","data-v-ff54d582"]]);export{nt as default}; diff --git a/BTPanel/static/vite/js/UploadFile-legacy-BZbcA-qF.js b/BTPanel/static/vite/js/UploadFile-legacy-BZbcA-qF.js deleted file mode 100644 index abc5fe2f..00000000 --- a/BTPanel/static/vite/js/UploadFile-legacy-BZbcA-qF.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./FileIcon-legacy-CYrICTNK.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./soft-legacy-CzxZ2w7j.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785"],(function(e,l){"use strict";var t,a,i,s,o,n,d,f,r,u,p,c,v,m,x,g,h,y,w,b,k,M,C,$,_,j,z,S,F,P,I,U,N;return{setters:[e=>{t=e.C,a=e.l,i=e.x,s=e.m,o=e.as,n=e.h,d=e.c},e=>{f=e.V,r=e.w},e=>{u=e.k,p=e.R,c=e.i,v=e.r,m=e.a0,x=e.$,g=e.a8,h=e.a9,y=e._,w=e.aa,b=e.S,k=e.X,M=e.c,C=e.Z,$=e.j,_=e.ak,j=e.F,z=e.P,S=e.H,F=e.n},e=>{P=e.at,I=e.ai,U=e.B,N=e.aI},null,null,null],execute:function(){var l=document.createElement("style");l.textContent='@charset "UTF-8";.modal-footer-btns[data-v-ff54d582]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-ff54d582]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.files-list-wrapper .files-tit[data-v-ff54d582],.files-list-wrapper .list-item[data-v-ff54d582]{display:flex;justify-content:flex-start;padding:14px 10px;border-bottom:1px solid var(--color-border);position:relative}.files-list-wrapper .files-tit .progress[data-v-ff54d582],.files-list-wrapper .list-item .progress[data-v-ff54d582]{position:absolute;width:0;height:100%;background:rgba(11,199,43,.1);left:0;top:0;transition:all .25s ease-in-out}.files-list-wrapper .files-tit span[data-v-ff54d582],.files-list-wrapper .list-item span[data-v-ff54d582]{box-sizing:border-box;padding-left:10px}.files-list-wrapper .files-tit .name[data-v-ff54d582],.files-list-wrapper .list-item .name[data-v-ff54d582]{flex:4}.files-list-wrapper .files-tit .size[data-v-ff54d582],.files-list-wrapper .list-item .size[data-v-ff54d582],.files-list-wrapper .files-tit .status[data-v-ff54d582],.files-list-wrapper .list-item .status[data-v-ff54d582]{flex:2;text-align:center}.files-list-wrapper .files-tit .operation[data-v-ff54d582],.files-list-wrapper .list-item .operation[data-v-ff54d582]{flex:2;text-align:right}.status-tools-wrapper[data-v-ff54d582]{box-sizing:border-box}.status-tools-wrapper .status-tools[data-v-ff54d582]{display:flex;align-items:center;flex-direction:row;justify-content:start;padding:0 20px;gap:15px;background:#dff0d8;border-radius:10px}.status-tools-wrapper .status-tools .tools-item[data-v-ff54d582]{display:flex;flex-direction:row;justify-content:start;align-items:center;gap:5px}.status-tools-wrapper .status-tools .tools-item .item-label[data-v-ff54d582],.status-tools-wrapper .status-tools .tools-item .value[data-v-ff54d582]{height:40px;line-height:40px;color:#3c763d}.file-empty[data-v-ff54d582]{display:flex;justify-content:center;align-items:center;height:440px;border:2px dashed var(--color-border);border-radius:10px;font-size:30px;color:var(--color-text-3)}\n/*$vite$:1*/',document.head.appendChild(l);const E={class:"p-20px"},L={class:"flex items-center gap-10px mb-16px"},R={class:"flex-1 w-0 text-14px"},A=u({__name:"FileConflict",props:{fileList:{}},emits:["step","confirm"],setup(e,{emit:l}){const{t:s}=p(),o=l,n=c("fileStore"),{fileConflictShow:d}=n,f=v([{title:s("file.uploadModal.conflictFileName"),key:"filename",ellipsis:{tooltip:!0}},{title:s("file.uploadModal.conflictFileDifference"),key:"difference",width:200,render:e=>m("span",null,[t(e.size)+"--\x3e"+t(e.size)])}]),r=()=>{o("step")},u=()=>{o("confirm")};return(e,l)=>{const t=a,o=P,n=i;return x(),g(n,{show:b(d),"onUpdate:show":l[0]||(l[0]=e=>k(d)?d.value=e:null),title:b(s)("file.uploadModal.conflictTitle"),width:600,footer:!0,"confirm-text":b(s)("file.uploadModal.conflictOverwrite"),"cancel-text":b(s)("file.uploadModal.conflictSkip"),onCancel:r,onConfirm:u},{default:h((()=>[y("div",E,[y("div",L,[m(t,{name:"base-warning",class:"text-warning text-30px"}),y("div",R,w(b(s)("file.uploadModal.conflictMessage")),1)]),m(o,{"max-height":400,columns:b(f),data:e.fileList},null,8,["columns","data"])])])),_:1},8,["show","title","confirm-text","cancel-text"])}}}),B={class:"p-20px"},T={key:0,class:"flex justify-between items-center mb-16px"},H={key:1,class:"status-tools-wrapper mb-16px"},D={class:"status-tools"},O={class:"tools-item"},V={class:"item-label"},X={class:"value"},Z={class:"tools-item"},q={class:"item-label"},G={class:"value"},J={class:"tools-item"},K={class:"item-label"},Q={class:"value"},W={key:0,class:"tools-item"},Y={class:"item-label"},ee={class:"value"},le={key:2,class:"files-list-wrapper"},te={class:"files-tit"},ae={class:"name"},ie={class:"size"},se={class:"status"},oe={class:"operation"},ne={class:"name"},de={class:"size"},fe={class:"status"},re={class:"operation"},ue={key:3,class:"file-empty"},pe={class:"flex justify-end gap-16px mt-20px"};e("default",d(u({__name:"UploadFile",setup(e,{expose:l}){const d=c("fileStore"),{uploadFileList:u,uploadShow:P}=d,{currentPath:E,uploadComplete:L,startUpload:R,fileConflictShow:ce}=d,ve=v([]),{t:me}=p(),xe=v({total:0,done:0,time:0,speed:0,num:0}),ge=v(),he=v(),ye=v([{key:"file",label:M((()=>me("file.uploadFile")))},{key:"dir",label:M((()=>me("file.uploadFolder")))}]);function we(e){"file"==e?be():he.value.click()}function be(){ge.value.click()}function ke(e){const l=e.target.files;if(l){let e=!1;for(let t=0;te.file.name==l[t].name))?u.value.push({relativePath:"",file:l[t],status:0,name:l[t].name,size:l[t].size,progress:0}):e=!0;e&&s.error(me("file.uploadModal.fileAlreadyExists"),{close:!0})}ge.value.value=""}function Me(e){const l=e.target.files;if(l){let e=!1;for(let t=0;te.file.name==l[t].name))?u.value.push({relativePath:a.join("/"),file:l[t],name:l[t].name,status:0,size:l[t].size,progress:0}):e=!0}e&&s.error(me("file.uploadModal.fileAlreadyExists"),{close:!0})}he.value.value=""}function Ce(){u.value=[]}function $e(e){switch(e){case 0:return me("file.uploadModal.statusNotStarted");case 1:return me("file.uploadModal.statusUploading");case 2:return me("file.uploadModal.statusCompleted");case 3:return me("file.uploadModal.statusFailed")}}async function _e(){const e=u.value.map((e=>e.relativePath?E.value+"/"+e.relativePath+"/"+e.file.name:E.value+"/"+e.file.name)),l=await async function(e){return(await o.post("/files?action=upload_files_exists",{files:e.join("\n")})).message.filter((e=>e.exists))}(e);0==l.length?await Se():(ve.value=l,ce.value=!0)}function je(){ce.value=!1,async function(){u.value=u.value.filter((e=>-1==ve.value.findIndex((l=>l.filename.includes(e.file.name))))),u.value.length>0?await Se():Fe()}()}function ze(){ce.value=!1,Se()}async function Se(){xe.value.total=u.value.reduce(((e,l)=>e+l.file.size),0),R.value=!0;const e=function(){let e=0;const l=setInterval((()=>{e++,xe.value.time=e,xe.value.speed=xe.value.done/xe.value.time,console.log(xe.value)}),1e3);return l}();for(let t=0;t{u.value[t].progress=e}),(e=>{isNaN(Number(e.message))||(xe.value.done=Number(e.message))})),u.value[t].status=2,xe.value.num+=1}catch(l){u.value[t].status=3,console.warn(l)}}clearInterval(e),L.value=!0,r(d),F((()=>u.value=[]))}function Fe(){L.value=!1,R.value=!1,xe.value={total:0,done:0,speed:0,num:0,time:0},u.value=[]}l({open(){P.value=!0},close(){P.value=!1}});const Pe=()=>{if(!L.value&&u.value.length>0)return n({title:me("file.uploadModal.cancelUpload"),content:me("file.uploadModal.cancelUploadConfirm"),onConfirm(){P.value=!1}}),!1},Ie=()=>{Fe()};return(e,l)=>{const s=a,o=U,n=I,d=N,f=i;return x(),C(j,null,[m(f,{show:b(P),"onUpdate:show":l[0]||(l[0]=e=>k(P)?P.value=e:null),title:e.$t("file.uploadModal.title"),width:720,onPublicClose:Pe,onAfterLeave:Ie},{default:h((()=>[y("div",B,[y("input",{type:"file",style:{display:"none"},ref_key:"fileInputRef",ref:ge,onChange:ke,multiple:""},null,544),y("input",{type:"file",style:{display:"none"},ref_key:"dirInputRef",ref:he,onChange:Me,webkitdirectory:"",directory:"",multiple:""},null,544),b(R)&&0!=b(u).length?(x(),C("div",H,[y("div",D,[y("div",O,[y("div",V,w(e.$t("file.uploadModal.uploadSize")),1),y("div",X,w(`${b(t)(b(xe).done)}/${b(t)(b(xe).total)}`),1)]),y("div",Z,[y("div",q,w(e.$t("file.uploadModal.averageSpeed")),1),y("div",G,w(b(t)(b(xe).speed))+"/s",1)]),y("div",J,[y("div",K,w(e.$t("file.uploadModal.uploadSuccess")),1),y("div",Q,w(b(u).length)+" / "+w(b(xe).num),1)]),b(L)?(x(),C("div",W,[y("div",Y,w(e.$t("file.uploadModal.totalTime")),1),y("div",ee,w(b(xe).time)+"s",1)])):_("",!0)])])):(x(),C("div",T,[m(n,{options:b(ye),trigger:"hover",onSelect:we},{default:h((()=>[m(o,{type:"primary","icon-placement":"right",onClick:be},{icon:h((()=>[m(s,{name:"base-arrow-bottom",size:"14"})])),default:h((()=>[$(w(e.$t("file.uploadFile"))+" ",1)])),_:1})])),_:1},8,["options"]),m(o,{disabled:0==b(u).length,onClick:Ce},{default:h((()=>[$(w(e.$t("Public.Btn.Clear")),1)])),_:1},8,["disabled"])])),b(u).length>0?(x(),C("div",le,[y("div",te,[y("span",ae,w(e.$t("file.uploadModal.fileName")),1),y("span",ie,w(e.$t("file.uploadModal.fileSize")),1),y("span",se,w(e.$t("file.uploadModal.uploadStatus")),1),y("span",oe,w(e.$t("file.uploadModal.operation")),1)]),m(d,{style:{height:"350px"}},{default:h((()=>[(x(!0),C(j,null,z(b(u),((l,a)=>(x(),C("div",{class:"list-item",key:a},[y("span",ne,w(l.relativePath?`${l.relativePath}/${l.file.name}`:l.file.name),1),y("span",de,w(b(t)(l.file.size)),1),y("span",fe,w($e(l.status)),1),y("span",re,[2!==l.status?(x(),g(o,{key:0,text:"",type:"primary",onClick:e=>function(e){u.value.splice(e,1)}(a)},{default:h((()=>[$(w(e.$t("Public.Btn.Cancel")),1)])),_:2},1032,["onClick"])):_("",!0)]),y("div",{class:"progress",style:S({width:`${l.progress}%`})},null,4)])))),128))])),_:1})])):(x(),C("div",ue,[y("span",null,w(e.$t("file.uploadModal.dragFilesHere")),1)])),y("div",pe,[b(R)?(x(),g(o,{key:0,type:"primary",disabled:0==b(u).length,onClick:_e},{default:h((()=>[$(w(e.$t("file.uploadModal.continueUpload")),1)])),_:1},8,["disabled"])):(x(),g(o,{key:1,type:"primary",disabled:0==b(u).length,onClick:_e},{default:h((()=>[$(w(e.$t("file.uploadModal.confirmUpload")),1)])),_:1},8,["disabled"]))])])])),_:1},8,["show","title"]),m(A,{"file-list":b(ve),onStep:je,onConfirm:ze},null,8,["file-list"])],64)}}}),[["__scopeId","data-v-ff54d582"]]))}}})); diff --git a/BTPanel/static/vite/js/UploadFile-legacy-Dy5NImVP.js b/BTPanel/static/vite/js/UploadFile-legacy-Dy5NImVP.js new file mode 100644 index 00000000..43e342d5 --- /dev/null +++ b/BTPanel/static/vite/js/UploadFile-legacy-Dy5NImVP.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./FileIcon-legacy-BZIg8aaH.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068"],(function(e,l){"use strict";var t,a,i,s,o,n,d,f,r,u,p,c,v,m,g,x,y,h,w,b,k,M,C,$,_,j,z,S,F,P,I,U,N;return{setters:[e=>{t=e.D,a=e.l,i=e.y,s=e.m,o=e.av,n=e.h,d=e.c},e=>{f=e.V,r=e.t},e=>{u=e.k,p=e.R,c=e.i,v=e.r,m=e.a0,g=e.$,x=e.a8,y=e.a9,h=e._,w=e.aa,b=e.S,k=e.X,M=e.c,C=e.Z,$=e.j,_=e.ak,j=e.F,z=e.P,S=e.H,F=e.n},e=>{P=e.af,I=e.aj,U=e.B,N=e.aI},null,null],execute:function(){var l=document.createElement("style");l.textContent='@charset "UTF-8";.modal-footer-btns[data-v-ff54d582]{display:flex;align-items:center;flex-direction:row;justify-content:end;gap:10px;padding:10px}.single-line-ellipsis[data-v-ff54d582]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.files-list-wrapper .files-tit[data-v-ff54d582],.files-list-wrapper .list-item[data-v-ff54d582]{display:flex;justify-content:flex-start;padding:14px 10px;border-bottom:1px solid var(--color-border);position:relative}.files-list-wrapper .files-tit .progress[data-v-ff54d582],.files-list-wrapper .list-item .progress[data-v-ff54d582]{position:absolute;width:0;height:100%;background:rgba(11,199,43,.1);left:0;top:0;transition:all .25s ease-in-out}.files-list-wrapper .files-tit span[data-v-ff54d582],.files-list-wrapper .list-item span[data-v-ff54d582]{box-sizing:border-box;padding-left:10px}.files-list-wrapper .files-tit .name[data-v-ff54d582],.files-list-wrapper .list-item .name[data-v-ff54d582]{flex:4}.files-list-wrapper .files-tit .size[data-v-ff54d582],.files-list-wrapper .list-item .size[data-v-ff54d582],.files-list-wrapper .files-tit .status[data-v-ff54d582],.files-list-wrapper .list-item .status[data-v-ff54d582]{flex:2;text-align:center}.files-list-wrapper .files-tit .operation[data-v-ff54d582],.files-list-wrapper .list-item .operation[data-v-ff54d582]{flex:2;text-align:right}.status-tools-wrapper[data-v-ff54d582]{box-sizing:border-box}.status-tools-wrapper .status-tools[data-v-ff54d582]{display:flex;align-items:center;flex-direction:row;justify-content:start;padding:0 20px;gap:15px;background:#dff0d8;border-radius:10px}.status-tools-wrapper .status-tools .tools-item[data-v-ff54d582]{display:flex;flex-direction:row;justify-content:start;align-items:center;gap:5px}.status-tools-wrapper .status-tools .tools-item .item-label[data-v-ff54d582],.status-tools-wrapper .status-tools .tools-item .value[data-v-ff54d582]{height:40px;line-height:40px;color:#3c763d}.file-empty[data-v-ff54d582]{display:flex;justify-content:center;align-items:center;height:440px;border:2px dashed var(--color-border);border-radius:10px;font-size:30px;color:var(--color-text-3)}\n/*$vite$:1*/',document.head.appendChild(l);const L={class:"p-20px"},R={class:"flex items-center gap-10px mb-16px"},A={class:"flex-1 w-0 text-14px"},B=u({__name:"FileConflict",props:{fileList:{}},emits:["step","confirm"],setup(e,{emit:l}){const{t:s}=p(),o=l,n=c("fileStore"),{fileConflictShow:d}=n,f=v([{title:s("file.uploadModal.conflictFileName"),key:"filename",ellipsis:{tooltip:!0}},{title:s("file.uploadModal.conflictFileDifference"),key:"difference",width:200,render:e=>m("span",null,[t(e.size)+"--\x3e"+t(e.size)])}]),r=()=>{o("step")},u=()=>{o("confirm")};return(e,l)=>{const t=a,o=P,n=i;return g(),x(n,{show:b(d),"onUpdate:show":l[0]||(l[0]=e=>k(d)?d.value=e:null),title:b(s)("file.uploadModal.conflictTitle"),width:600,footer:!0,"confirm-text":b(s)("file.uploadModal.conflictOverwrite"),"cancel-text":b(s)("file.uploadModal.conflictSkip"),onCancel:r,onConfirm:u},{default:y((()=>[h("div",L,[h("div",R,[m(t,{name:"base-warning",class:"text-warning text-30px"}),h("div",A,w(b(s)("file.uploadModal.conflictMessage")),1)]),m(o,{"max-height":400,columns:b(f),data:e.fileList},null,8,["columns","data"])])])),_:1},8,["show","title","confirm-text","cancel-text"])}}}),E={class:"p-20px"},T={key:0,class:"flex justify-between items-center mb-16px"},D={key:1,class:"status-tools-wrapper mb-16px"},H={class:"status-tools"},O={class:"tools-item"},V={class:"item-label"},X={class:"value"},Z={class:"tools-item"},q={class:"item-label"},G={class:"value"},J={class:"tools-item"},K={class:"item-label"},Q={class:"value"},W={key:0,class:"tools-item"},Y={class:"item-label"},ee={class:"value"},le={key:2,class:"files-list-wrapper"},te={class:"files-tit"},ae={class:"name"},ie={class:"size"},se={class:"status"},oe={class:"operation"},ne={class:"name"},de={class:"size"},fe={class:"status"},re={class:"operation"},ue={key:3,class:"file-empty"},pe={class:"flex justify-end gap-16px mt-20px"};e("default",d(u({__name:"UploadFile",setup(e,{expose:l}){const d=c("fileStore"),{uploadFileList:u,uploadShow:P}=d,{currentPath:L,uploadComplete:R,startUpload:A,fileConflictShow:ce}=d,ve=v([]),{t:me}=p(),ge=v({total:0,done:0,time:0,speed:0,num:0}),xe=v(),ye=v(),he=v([{key:"file",label:M((()=>me("file.uploadFile")))},{key:"dir",label:M((()=>me("file.uploadFolder")))}]);function we(e){"file"==e?be():ye.value.click()}function be(){xe.value.click()}function ke(e){const l=e.target.files;if(l){let e=!1;for(let t=0;te.file.name==l[t].name))?u.value.push({relativePath:"",file:l[t],status:0,name:l[t].name,size:l[t].size,progress:0}):e=!0;e&&s.error(me("file.uploadModal.fileAlreadyExists"),{close:!0})}xe.value.value=""}function Me(e){const l=e.target.files;if(l){let e=!1;for(let t=0;te.file.name==l[t].name))?u.value.push({relativePath:a.join("/"),file:l[t],name:l[t].name,status:0,size:l[t].size,progress:0}):e=!0}e&&s.error(me("file.uploadModal.fileAlreadyExists"),{close:!0})}ye.value.value=""}function Ce(){u.value=[]}function $e(e){switch(e){case 0:return me("file.uploadModal.statusNotStarted");case 1:return me("file.uploadModal.statusUploading");case 2:return me("file.uploadModal.statusCompleted");case 3:return me("file.uploadModal.statusFailed")}}async function _e(){const e=u.value.map((e=>e.relativePath?L.value+"/"+e.relativePath+"/"+e.file.name:L.value+"/"+e.file.name)),l=await async function(e){return(await o.post("/files?action=upload_files_exists",{files:e.join("\n")})).message.filter((e=>e.exists))}(e);0==l.length?await Se():(ve.value=l,ce.value=!0)}function je(){ce.value=!1,async function(){u.value=u.value.filter((e=>-1==ve.value.findIndex((l=>l.filename.includes(e.file.name))))),u.value.length>0?await Se():Fe()}()}function ze(){ce.value=!1,Se()}async function Se(){ge.value.total=u.value.reduce(((e,l)=>e+l.file.size),0),A.value=!0;const e=function(){let e=0;const l=setInterval((()=>{e++,ge.value.time=e,ge.value.speed=ge.value.done/ge.value.time,console.log(ge.value)}),1e3);return l}();for(let t=0;t{u.value[t].progress=e}),(e=>{isNaN(Number(e.message))||(ge.value.done=Number(e.message))})),u.value[t].status=2,ge.value.num+=1}catch(l){u.value[t].status=3,console.warn(l)}}clearInterval(e),R.value=!0,r(d),F((()=>u.value=[]))}function Fe(){R.value=!1,A.value=!1,ge.value={total:0,done:0,speed:0,num:0,time:0},u.value=[]}l({open(){P.value=!0},close(){P.value=!1}});const Pe=()=>{if(!R.value&&u.value.length>0)return n({title:me("file.uploadModal.cancelUpload"),content:me("file.uploadModal.cancelUploadConfirm"),onConfirm(){P.value=!1}}),!1},Ie=()=>{Fe()};return(e,l)=>{const s=a,o=U,n=I,d=N,f=i;return g(),C(j,null,[m(f,{show:b(P),"onUpdate:show":l[0]||(l[0]=e=>k(P)?P.value=e:null),title:e.$t("file.uploadModal.title"),width:720,onPublicClose:Pe,onAfterLeave:Ie},{default:y((()=>[h("div",E,[h("input",{type:"file",style:{display:"none"},ref_key:"fileInputRef",ref:xe,onChange:ke,multiple:""},null,544),h("input",{type:"file",style:{display:"none"},ref_key:"dirInputRef",ref:ye,onChange:Me,webkitdirectory:"",directory:"",multiple:""},null,544),b(A)&&0!=b(u).length?(g(),C("div",D,[h("div",H,[h("div",O,[h("div",V,w(e.$t("file.uploadModal.uploadSize")),1),h("div",X,w(`${b(t)(b(ge).done)}/${b(t)(b(ge).total)}`),1)]),h("div",Z,[h("div",q,w(e.$t("file.uploadModal.averageSpeed")),1),h("div",G,w(b(t)(b(ge).speed))+"/s",1)]),h("div",J,[h("div",K,w(e.$t("file.uploadModal.uploadSuccess")),1),h("div",Q,w(b(u).length)+" / "+w(b(ge).num),1)]),b(R)?(g(),C("div",W,[h("div",Y,w(e.$t("file.uploadModal.totalTime")),1),h("div",ee,w(b(ge).time)+"s",1)])):_("",!0)])])):(g(),C("div",T,[m(n,{options:b(he),trigger:"hover",onSelect:we},{default:y((()=>[m(o,{type:"primary","icon-placement":"right",onClick:be},{icon:y((()=>[m(s,{name:"base-arrow-bottom",size:"14"})])),default:y((()=>[$(w(e.$t("file.uploadFile"))+" ",1)])),_:1})])),_:1},8,["options"]),m(o,{disabled:0==b(u).length,onClick:Ce},{default:y((()=>[$(w(e.$t("Public.Btn.Clear")),1)])),_:1},8,["disabled"])])),b(u).length>0?(g(),C("div",le,[h("div",te,[h("span",ae,w(e.$t("file.uploadModal.fileName")),1),h("span",ie,w(e.$t("file.uploadModal.fileSize")),1),h("span",se,w(e.$t("file.uploadModal.uploadStatus")),1),h("span",oe,w(e.$t("file.uploadModal.operation")),1)]),m(d,{style:{height:"350px"}},{default:y((()=>[(g(!0),C(j,null,z(b(u),((l,a)=>(g(),C("div",{class:"list-item",key:a},[h("span",ne,w(l.relativePath?`${l.relativePath}/${l.file.name}`:l.file.name),1),h("span",de,w(b(t)(l.file.size)),1),h("span",fe,w($e(l.status)),1),h("span",re,[2!==l.status?(g(),x(o,{key:0,text:"",type:"primary",onClick:e=>function(e){u.value.splice(e,1)}(a)},{default:y((()=>[$(w(e.$t("Public.Btn.Cancel")),1)])),_:2},1032,["onClick"])):_("",!0)]),h("div",{class:"progress",style:S({width:`${l.progress}%`})},null,4)])))),128))])),_:1})])):(g(),C("div",ue,[h("span",null,w(e.$t("file.uploadModal.dragFilesHere")),1)])),h("div",pe,[b(A)?(g(),x(o,{key:0,type:"primary",disabled:0==b(u).length,onClick:_e},{default:y((()=>[$(w(e.$t("file.uploadModal.continueUpload")),1)])),_:1},8,["disabled"])):(g(),x(o,{key:1,type:"primary",disabled:0==b(u).length,onClick:_e},{default:y((()=>[$(w(e.$t("file.uploadModal.confirmUpload")),1)])),_:1},8,["disabled"]))])])])),_:1},8,["show","title"]),m(B,{"file-list":b(ve),onStep:je,onConfirm:ze},null,8,["file-list"])],64)}}}),[["__scopeId","data-v-ff54d582"]]))}}})); diff --git a/BTPanel/static/vite/js/WebVulnSection-B-UWlWfy.js b/BTPanel/static/vite/js/WebVulnSection-B-UWlWfy.js new file mode 100644 index 00000000..275612da --- /dev/null +++ b/BTPanel/static/vite/js/WebVulnSection-B-UWlWfy.js @@ -0,0 +1 @@ +import{k as b,$ as i,Z as n,_ as t,aa as e,ak as d,F as p,P as c,j as g}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{c as y}from"./index-LQ-JIYiv.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./naive-ui-BjvXgNtF.js?v=1774508183068";const f={key:0,class:"web-vuln-summary"},h={class:"web-vuln-list"},k=["item"],w=["item"],N=["href"],V={key:0,class:"pagination-note"},x=b({__name:"WebVulnSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(_){const a=_,m={1:"Low",2:"Medium",3:"High",4:"Critical",5:"Secure"},v=s=>m[s];return(s,o)=>{var u;return i(),n("div",null,[(u=a.reportData)!=null&&u.website_vulnerabilities?(i(),n("div",f,[t("div",null,"Website Number:"+e(a.reportData.website_vulnerabilities.site_num||0),1),t("div",null,"Vulnerability Number:"+e(a.reportData.website_vulnerabilities.loophole_num||0),1)])):d("",!0),t("div",h,[(i(!0),n(p,null,c(a.data,l=>(i(),n("div",{key:l.id,class:"web-vuln-site",item:l},[t("div",null,"Website:"+e(l.name)+"("+e(l.path)+")",1),(i(!0),n(p,null,c(l.cms,r=>(i(),n("div",{key:r.name,class:"web-vuln-cms",item:r},[t("div",null,"Vulnerability Name:"+e(r.name),1),t("div",null,"Risk Level:"+e(v(r.dangerous)),1),t("div",null,"Description:"+e(r.ps),1),t("div",null,[o[0]||(o[0]=g("Repair Suggestion:")),t("a",{href:r.repair,target:"_blank"},e(r.repair),9,N)])],8,w))),128))],8,k))),128)),a.totalPages>1?(i(),n("div",V," Total "+e(a.totalPages)+" pages, current page "+e(a.pageIndex+1)+". ",1)):d("",!0)])])}}}),W=y(x,[["__scopeId","data-v-5d926b3f"]]);export{W as default}; diff --git a/BTPanel/static/vite/js/WebVulnSection-DYnlnbf6.js b/BTPanel/static/vite/js/WebVulnSection-DYnlnbf6.js deleted file mode 100644 index 05e915ab..00000000 --- a/BTPanel/static/vite/js/WebVulnSection-DYnlnbf6.js +++ /dev/null @@ -1 +0,0 @@ -import{k as b,$ as i,Z as n,_ as t,aa as e,ak as d,F as p,P as c,j as g}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{c as y}from"./index-BTglIPU2.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./naive-ui--dJnpVcV.js?v=1773287522785";const f={key:0,class:"web-vuln-summary"},h={class:"web-vuln-list"},k=["item"],w=["item"],N=["href"],V={key:0,class:"pagination-note"},x=b({__name:"WebVulnSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(_){const a=_,m={1:"Low",2:"Medium",3:"High",4:"Critical",5:"Secure"},v=s=>m[s];return(s,o)=>{var u;return i(),n("div",null,[(u=a.reportData)!=null&&u.website_vulnerabilities?(i(),n("div",f,[t("div",null,"Website Number:"+e(a.reportData.website_vulnerabilities.site_num||0),1),t("div",null,"Vulnerability Number:"+e(a.reportData.website_vulnerabilities.loophole_num||0),1)])):d("",!0),t("div",h,[(i(!0),n(p,null,c(a.data,l=>(i(),n("div",{key:l.id,class:"web-vuln-site",item:l},[t("div",null,"Website:"+e(l.name)+"("+e(l.path)+")",1),(i(!0),n(p,null,c(l.cms,r=>(i(),n("div",{key:r.name,class:"web-vuln-cms",item:r},[t("div",null,"Vulnerability Name:"+e(r.name),1),t("div",null,"Risk Level:"+e(v(r.dangerous)),1),t("div",null,"Description:"+e(r.ps),1),t("div",null,[o[0]||(o[0]=g("Repair Suggestion:")),t("a",{href:r.repair,target:"_blank"},e(r.repair),9,N)])],8,w))),128))],8,k))),128)),a.totalPages>1?(i(),n("div",V," Total "+e(a.totalPages)+" pages, current page "+e(a.pageIndex+1)+". ",1)):d("",!0)])])}}}),W=y(x,[["__scopeId","data-v-5d926b3f"]]);export{W as default}; diff --git a/BTPanel/static/vite/js/WebVulnSection-legacy-CExt9Zcr.js b/BTPanel/static/vite/js/WebVulnSection-legacy-CExt9Zcr.js new file mode 100644 index 00000000..d47d1445 --- /dev/null +++ b/BTPanel/static/vite/js/WebVulnSection-legacy-CExt9Zcr.js @@ -0,0 +1 @@ +System.register(["./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068"],(function(e,r){"use strict";var t,a,i,l,o,n,d,s,u,b;return{setters:[e=>{t=e.k,a=e.$,i=e.Z,l=e._,o=e.aa,n=e.ak,d=e.F,s=e.P,u=e.j},e=>{b=e.c},null,null],execute:function(){var r=document.createElement("style");r.textContent=".web-vuln-summary[data-v-5d926b3f]{margin-bottom:30px;padding:20px;border-radius:12px;background-color:var(--home-risk-security-report-bg);border:2px solid var(--color-border)}.web-vuln-summary div[data-v-5d926b3f]{font-size:18px;margin-bottom:10px;color:var(--color-text-2)}.web-vuln-list[data-v-5d926b3f]{margin-top:20px}.web-vuln-site[data-v-5d926b3f]{margin-bottom:25px;padding:15px;border-radius:8px;background-color:var(--home-risk-security-report-bg);border:1px solid var(--color-border)}.web-vuln-cms[data-v-5d926b3f]{margin-top:15px;padding:15px;border-radius:8px;background-color:var(--home-risk-security-report-bg);border:1px solid var(--color-border)}.web-vuln-cms div[data-v-5d926b3f]{margin-bottom:8px}.web-vuln-cms div[data-v-5d926b3f]:last-child{margin-bottom:0}.pagination-note[data-v-5d926b3f]{margin-top:15px;text-align:center;font-style:italic;color:var(--color-text-3);font-size:14px}\n/*$vite$:1*/",document.head.appendChild(r);const p={key:0,class:"web-vuln-summary"},v={class:"web-vuln-list"},c=["item"],m=["item"],g=["href"],x={key:0,class:"pagination-note"};e("default",b(t({__name:"WebVulnSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(e){const r=e,t={1:"Low",2:"Medium",3:"High",4:"Critical",5:"Secure"};return(e,b)=>(a(),i("div",null,[r.reportData?.website_vulnerabilities?(a(),i("div",p,[l("div",null,"Website Number:"+o(r.reportData.website_vulnerabilities.site_num||0),1),l("div",null,"Vulnerability Number:"+o(r.reportData.website_vulnerabilities.loophole_num||0),1)])):n("",!0),l("div",v,[(a(!0),i(d,null,s(r.data,(e=>(a(),i("div",{key:e.id,class:"web-vuln-site",item:e},[l("div",null,"Website:"+o(e.name)+"("+o(e.path)+")",1),(a(!0),i(d,null,s(e.cms,(e=>{return a(),i("div",{key:e.name,class:"web-vuln-cms",item:e},[l("div",null,"Vulnerability Name:"+o(e.name),1),l("div",null,"Risk Level:"+o((r=e.dangerous,t[r])),1),l("div",null,"Description:"+o(e.ps),1),l("div",null,[b[0]||(b[0]=u("Repair Suggestion:")),l("a",{href:e.repair,target:"_blank"},o(e.repair),9,g)])],8,m);var r})),128))],8,c)))),128)),r.totalPages>1?(a(),i("div",x," Total "+o(r.totalPages)+" pages, current page "+o(r.pageIndex+1)+". ",1)):n("",!0)])]))}}),[["__scopeId","data-v-5d926b3f"]]))}}})); diff --git a/BTPanel/static/vite/js/WebVulnSection-legacy-Jqfb1Kdw.js b/BTPanel/static/vite/js/WebVulnSection-legacy-Jqfb1Kdw.js deleted file mode 100644 index ff2d727b..00000000 --- a/BTPanel/static/vite/js/WebVulnSection-legacy-Jqfb1Kdw.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,r){"use strict";var t,a,i,l,o,n,d,s,u,b;return{setters:[e=>{t=e.k,a=e.$,i=e.Z,l=e._,o=e.aa,n=e.ak,d=e.F,s=e.P,u=e.j},e=>{b=e.c},null,null],execute:function(){var r=document.createElement("style");r.textContent=".web-vuln-summary[data-v-5d926b3f]{margin-bottom:30px;padding:20px;border-radius:12px;background-color:var(--home-risk-security-report-bg);border:2px solid var(--color-border)}.web-vuln-summary div[data-v-5d926b3f]{font-size:18px;margin-bottom:10px;color:var(--color-text-2)}.web-vuln-list[data-v-5d926b3f]{margin-top:20px}.web-vuln-site[data-v-5d926b3f]{margin-bottom:25px;padding:15px;border-radius:8px;background-color:var(--home-risk-security-report-bg);border:1px solid var(--color-border)}.web-vuln-cms[data-v-5d926b3f]{margin-top:15px;padding:15px;border-radius:8px;background-color:var(--home-risk-security-report-bg);border:1px solid var(--color-border)}.web-vuln-cms div[data-v-5d926b3f]{margin-bottom:8px}.web-vuln-cms div[data-v-5d926b3f]:last-child{margin-bottom:0}.pagination-note[data-v-5d926b3f]{margin-top:15px;text-align:center;font-style:italic;color:var(--color-text-3);font-size:14px}\n/*$vite$:1*/",document.head.appendChild(r);const p={key:0,class:"web-vuln-summary"},v={class:"web-vuln-list"},c=["item"],m=["item"],g=["href"],x={key:0,class:"pagination-note"};e("default",b(t({__name:"WebVulnSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(e){const r=e,t={1:"Low",2:"Medium",3:"High",4:"Critical",5:"Secure"};return(e,b)=>(a(),i("div",null,[r.reportData?.website_vulnerabilities?(a(),i("div",p,[l("div",null,"Website Number:"+o(r.reportData.website_vulnerabilities.site_num||0),1),l("div",null,"Vulnerability Number:"+o(r.reportData.website_vulnerabilities.loophole_num||0),1)])):n("",!0),l("div",v,[(a(!0),i(d,null,s(r.data,(e=>(a(),i("div",{key:e.id,class:"web-vuln-site",item:e},[l("div",null,"Website:"+o(e.name)+"("+o(e.path)+")",1),(a(!0),i(d,null,s(e.cms,(e=>{return a(),i("div",{key:e.name,class:"web-vuln-cms",item:e},[l("div",null,"Vulnerability Name:"+o(e.name),1),l("div",null,"Risk Level:"+o((r=e.dangerous,t[r])),1),l("div",null,"Description:"+o(e.ps),1),l("div",null,[b[0]||(b[0]=u("Repair Suggestion:")),l("a",{href:e.repair,target:"_blank"},o(e.repair),9,g)])],8,m);var r})),128))],8,c)))),128)),r.totalPages>1?(a(),i("div",x," Total "+o(r.totalPages)+" pages, current page "+o(r.pageIndex+1)+". ",1)):n("",!0)])]))}}),[["__scopeId","data-v-5d926b3f"]]))}}})); diff --git a/BTPanel/static/vite/js/accountState-C6swUxox.js b/BTPanel/static/vite/js/accountState-C6swUxox.js deleted file mode 100644 index b6ff23ba..00000000 --- a/BTPanel/static/vite/js/accountState-C6swUxox.js +++ /dev/null @@ -1 +0,0 @@ -import{a4 as oe,R as ue,a0 as a,F as Y,k as $,am as me,r as g,c as le,$ as j,a8 as B,a9 as U,S as Q,Z as _e,ak as J,_ as pe,j as q,e as y,a6 as fe,s as b,o as Z,l as H,v as C,w as W,u as ge,t as be}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{u as ke}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{Y as Ae,i as R,T as ve,Z as ye,C as E,m as I,$ as he,a0 as K,a1 as Fe,h as X,a2 as xe,a3 as f,L as we,a4 as Se,l as ee}from"./index-BTglIPU2.js?v=1773287522785";import{g as De}from"./ssl-Bm8jcneQ.js?v=1773287522785";import{k as Ve,ad as se,B as qe,a1 as v,a3 as te,a4 as O,b as z,a9 as Pe,a8 as He,a7 as Ce,_ as $e,ah as Ne,al as Le,a6 as Ue}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{_ as ae}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{a as ne}from"./quota-CnIxokiE.js?v=1773287522785";import{c as Ee}from"./copy-D-wIKr0q.js?v=1773287522785";import{u as Me}from"./useLoading-CZ2gSAW7.js?v=1773287522785";const je=oe("aapanelsub-account-store",()=>{const e=Ze(),{t}=ue(),c=async()=>{try{o(!0);const{message:l}=await Ae(e.search);R(l)&&(e.table.data=l.list,e.table.total=l.page.count,e.account_total=l.account_total)}finally{o(!1)}},{loading:_,setLoading:o}=Me(),u=async()=>{const{message:l}=await ve();R(l)&&(e.packageSourceList=l.list,e.packageList=l.list.map(p=>({label:p.package_name,value:p.package_id})),l.list.length>0&&(e.expendFormState.package_id=l.list[0].package_id,r(e.expendFormState.package_id)))},n=l=>{const{url:p,user:m,pass:h}=l;Ee("Access address: ".concat(p,"\nUsername: ").concat(m,"\ninit Password: ").concat(h))},d=async()=>{const l=await ye();if(R(l)){let p={};e.diskMountSourceList=l.message,e.diskMountPointList=l.message.map(m=>(m.is_default&&(p=m),{label:"".concat(m.mountpoint," (").concat(E(m.used),"/").concat(E(m.total),") ").concat(t("Account.Account.account_533924-7"),":").concat(m.is_group_quota?t("Account.Account.account_533924-5"):t("Account.Account.account_533924-6")),value:m.mountpoint})),l.message.length>0&&(e.expendFormState.mountpoint=p.mountpoint||l.message[0].mountpoint,e.currentChangeDisk=Object.keys(p).length===0?l.message[0]:p)}},r=async l=>{const p=e.packageSourceList.find(m=>m.package_id===l);if(p){const{package_name:m,disk_space_quota:h,monthly_bandwidth_limit:F,max_site_limit:w,max_database:V,php_start_children:N,php_max_children:s,remark:L}=p;e.wpForData.package_name=m,e.wpForData.disk_space_quota=h==0?{value:"",unlimited:!0}:{value:h/1024/1024,unlimited:!1},e.wpForData.monthly_bandwidth_limit=F==0?{value:"",unlimited:!0}:{value:F/1024/1024,unlimited:!1},e.wpForData.max_site_limit=w===0?{value:"",unlimited:!0}:{value:w,unlimited:!1},e.wpForData.max_database=V==0?{value:"",unlimited:!0}:{value:V,unlimited:!1},e.wpForData.php_start_children=N,e.wpForData.php_max_children=s,e.wpForData.remark=L}},i=async()=>{if(e.table.total>=30)return I.error(t("Account.Account.account_533924-9",[30])),!1;x(),await u(),await d(),e.addVisible=!0,e.isEdit=!1},A=async l=>{const{message:p}=await he({account_id:l});R(p)&&window.open(p.login_url+"?token="+p.token)};function k(){const{package_id:l,mountpoint:p}=e.expendFormState,{username:m,password:h,email:F,expire_date:w,remark:V}=e.acForData,{disk_space_quota:N,monthly_bandwidth_limit:s,max_site_limit:L,max_database:G,php_start_children:re,php_max_children:de}=e.wpForData;return Object.assign({},{username:m,password:h,email:F,expire_date:w,package_id:l,mountpoint:p,disk_space_quota:N.unlimited?0:String(Number(N.value)*1024*1024),monthly_bandwidth_limit:s.unlimited?0:String(Number(s.value)*1024*1024),max_site_limit:L.unlimited?0:L.value,max_database:G.unlimited?0:G.value,php_start_children:re,php_max_children:de,remark:V})}const D=async()=>{var h,F;e.domainForData.website_and_email==="yes"&&!e.isEdit&&await((h=e.accountDomainFormRef)==null?void 0:h.validate()),await((F=e.accountFormRef)==null?void 0:F.validate());const{domainForData:l,isSupportAuto:p}=e;if(!p&&e.domainForData.website_and_email==="yes"&&!e.isEdit)return I.error("Your domain name does not support Create a website and email"),!1;const m=k();if(m.domain=l.website_and_email==="yes"?l.domain:null,m.automatic_dns=l.dns_record===2&&l.website_and_email==="yes"?1:0,Number(m.disk_space_quota)>0&&!e.isEdit){const{is_group_quota:w,free:V}=e.currentChangeDisk;if(!w)return I.error(t("Account.Account.account_533924-3")),!1;if(V{e.acForData.username="",e.acForData.password="",e.acForData.email="",e.acForData.expire_date="0000-00-00",e.expendFormState.package_id=void 0,e.domainForData.domain="",P()},P=()=>{e.wpForData.package_name="",e.wpForData.disk_space_quota={value:"",unlimited:!1},e.wpForData.monthly_bandwidth_limit={value:"",unlimited:!1},e.wpForData.max_site_limit={value:"",unlimited:!1},e.wpForData.max_database={value:"",unlimited:!1},e.wpForData.php_start_children=1,e.wpForData.php_max_children=1,e.wpForData.remark=""};return{init:c,addHost:i,setLoading:o,loading:_,onLogin:A,modifyStatus:async l=>{const{status:p,username:m}=l;X({title:"".concat(t(p===0?"Site.PHP.index_21_2":"Site.PHP.index_21_3")," ").concat(t("Account.Account.account_533924-0",[m])),content:t(p===0?"Account.Account.account_533924-1":"Account.Account.account_533924-2"),onConfirm:async()=>{await K({...l,status:p===0?1:0}),l.status=p===0?1:0}})},removeAccount:async l=>{X({title:t("Account.Account.account_673836-0",[l.username]),content:()=>a(Y,null,[a("div",null,[t("Account.Account.account_673836-1")])]),onConfirm:async()=>{await xe({account_id:l.account_id,is_del_resources:!0}),c()}})},form_save:D,form_reset:x,package_form_reset:P,getPackageList:u,getDiskList:d,changePackage:r,copyInfo:n}}),Re={key:0,class:"color-desc"},Be=$({__name:"automatic",props:{domain:{}},setup(e,{expose:t}){const c=me(),_=e,o=g(),u=le(()=>{var r;return(r=o.value)==null?void 0:r.support.includes("auto")}),n=()=>{c.push("/ssl_domain/domain")};return t({getParseStatus:async()=>{const{message:r}=await De({domain:_.domain});R(r)&&(o.value=r)},parseStatus:o,isSupportAuto:u}),(r,i)=>{const A=qe,k=Ve,D=se;return j(),B(k,null,{default:U(()=>[Q(o)?J("",!0):(j(),_e("span",Re," *The program will use the APl to automatically add the required DNS records forthe mail server and complete the installation of the SSL certifcate. ")),Q(o)?(j(),B(k,{key:1},{default:U(()=>[Q(u)?(j(),B(D,{key:1,type:"success"},{default:U(()=>i[2]||(i[2]=[q(" Your domain has been connccted to the domain managementccnter, and you can use this fcature to complcte onc-click deployment. ")])),_:1,__:[2]})):(j(),B(D,{key:0,type:"error"},{default:U(()=>[a(k,{class:"items-center flex-nowrap!"},{default:U(()=>[i[1]||(i[1]=pe("span",null,"Your domain has not yet been integrated with the Domain Name Management Center.",-1)),a(A,{type:"primary",size:"small",ghost:"",onClick:n},{default:U(()=>i[0]||(i[0]=[q("Add Now")])),_:1,__:[0]})]),_:1,__:[1]})]),_:1}))]),_:1})):J("",!0)]),_:1})}}});function Ie(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ge(e)}const ce=$({props:{options:Array,modelValue:Object,rules:Object,exclude:Array},setup(e,{attrs:t,slots:c,expose:_}){const o=g(null),u=y({});return _(u),Z(()=>{var n,d;Object.assign(u,{validate:(n=o.value)==null?void 0:n.validate,restoreValidation:(d=o.value)==null?void 0:d.restoreValidation})}),()=>a(Y,null,[a(Ce,b(t,{model:e.modelValue,ref:o,rules:e.rules}),{default:()=>{var n;return a(Y,null,[(n=e.options)==null?void 0:n.filter(d=>{var r;return!((r=e.exclude)!=null&&r.includes(d.key))}).map(d=>Oe(d,e.modelValue,t,c))])}})])}});function Oe(e,t,c,_){const{label:o,key:u,type:n,options:d,el:r}=e;switch(n){case"input":return a(v,b({label:o,path:u},c),{default:()=>[a(z,b({value:t[u],"onUpdate:value":i=>t[u]=i},r),null)]});case"password":return a(v,b({label:o,path:u},c),{default:()=>[a(z,b({value:t[u],"onUpdate:value":i=>t[u]=i},r),null)]});case"select":return a(v,b({label:o,path:e.key},c),{default:()=>[a(Ue,b({options:d,value:t[u],"onUpdate:value":i=>t[u]=i},r),null)]});case"checkbox":return a(v,b({label:o,path:e.key},c),{default:()=>[a(Le,b({checked:t[u],"onUpdate:checked":i=>t[u]=i},r),null)]});case"date-picker":return a(v,b({label:o,path:e.key},c),{default:()=>[a(Ne,b({"formatted-value":t[u],"onUpdate:formatted-value":i=>t[u]=i,type:"date","value-format":"yyyy-MM-dd"},r),null)]});case"input-number":return a(v,b({label:o,path:e.key},c),{default:()=>[a(ie,b({value:t[u],"onUpdate:value":i=>t[u]=i},r),null)]});case"custom-item":return a(v,b({label:o,path:e.key},c,{disabled:c.disabled}),{default:()=>{var i;return[(i=e.slots)==null?void 0:i.default(c)]}});case"custom-slot":return a(v,b({label:o,path:e.key},c,{disabled:c.disabled}),{default:()=>{var i;return[_&&((i=_[e.key])==null?void 0:i.call(_))]}})}}function Te(){const{isUserAutoMatic:e,isExistWhite:t}=fe(we()),c=Se(),_=g(!1),o=y({website_and_email:"yes",domain:"",dns_record:2}),u=g(""),n=y({domain:[{required:!0,message:f.global.t("SSL.index_21"),trigger:"blur"}]}),d=g(),r=()=>{var k;if(o.domain.trim()===""){u.value="";return}u.value!==o.domain&&((k=d.value)==null||k.getParseStatus(),u.value=o.domain)},i=le(()=>{var k;return(k=d.value)==null?void 0:k.isSupportAuto});return[$({props:{isEdit:Boolean},setup(k,{expose:D}){const x=g(),P=y({});return D(P),Z(()=>{var M,l;(async()=>{try{_.value=!0,await c.getMailInfo(),(!c.install||!e.value||!t.value)&&(o.website_and_email="no")}finally{_.value=!1}})(),Object.assign(P,{validate:(M=x.value)==null?void 0:M.validate,restoreValidation:(l=x.value)==null?void 0:l.restoreValidation})}),()=>a(Pe,{show:_.value},{default:()=>[H(a(ae,{ref:x,model:o,rules:n},{default:()=>[a(v,{label:"Create a website and email"},{default:()=>[a(te,{class:"w-150px",value:o.website_and_email,onUpdateValue:S=>o.website_and_email=S,"onUpdate:value":r,disabled:!e.value||!c.install||!t.value},{default:()=>[a(O,{value:"yes"},{default:()=>[q("Yes")]}),a(O,{value:"no"},{default:()=>[q("No")]})]}),H(a(se,{"show-icon":!1},{default:()=>[a("div",{class:"flex items-center"},[a(ee,{name:"base-info",size:17,class:"mr-8px"},null),a("span",{class:"leading-17px"},[!c.install||!e.value?"Current Mail Server is not installed or sub-panel version is lower than 1.0.9":"API not enabled or 127.0.0.1 not added to the API whitelist"])])]}),[[C,!c.install||!e.value||!t.value]])]}),H(a(v,{label:"Domain",path:"domain"},{default:()=>[a(z,{value:o.domain,onUpdateValue:S=>o.domain=S,onBlur:r},null)]}),[[C,o.website_and_email==="yes"]]),H(a(v,{label:"DNS record"},{default:()=>[a(te,{value:o.dns_record,onUpdateValue:S=>{o.dns_record=S,r()}},{default:()=>[a(O,{value:2},{default:()=>[a("div",{class:"flex h-15px items-center mr-16px"},[a("div",null,[q("Automatic")]),a(ee,{name:"ssl-stars",size:22},null)])]}),a(O,{value:1},{default:()=>[q("Manual")]})]})]}),[[C,o.website_and_email==="yes"]]),H(a(v,{label:" "},{default:()=>[a(Be,{ref:d,domain:o.domain},null)]}),[[C,o.website_and_email==="yes"]])]}),[[C,!k.isEdit]]),H(a(ae,null,{default:()=>[H(a(v,{label:"Domain"},{default:()=>[a(z,{value:o.domain,disabled:!0},null)]}),[[C,o.domain]])]}),[[C,k.isEdit]])]})}}),o,i]}function Ye(){const e=[{type:"input",label:f.global.t("Account.Account.FormHooks-122755-1"),key:"username",el:{disabled:!0}},{type:"custom-slot",label:f.global.t("Account.Account.FormHooks-122755-2"),key:"password"},{type:"input",label:f.global.t("Account.Account.FormHooks-122755-4"),key:"email"},{type:"custom-slot",label:f.global.t("Account.Account.FormHooks-122755-5"),key:"expire_date"},{type:"input",label:f.global.t("Account.Account.FormHooks-122755-14"),key:"remark"}],t=y({username:"",password:"",email:"",expire_date:"0000-00-00",remark:""}),c=y({username:[{required:!0,message:f.global.t("Account.Account.FormHooks-122755-7"),trigger:"blur"}],password:[{required:!0,message:f.global.t("Account.Account.FormHooks-122755-8"),trigger:"blur"}],email:[{required:!0,message:f.global.t("Account.Account.FormHooks-122755-10"),trigger:"blur"}]});return[$({props:{isEdit:Boolean},setup(o,{attrs:u,expose:n,slots:d}){const r=g(),i=y({});return n(i),Z(()=>{var A,k;Object.assign(i,{validate:(A=r.value)==null?void 0:A.validate,restoreValidation:(k=r.value)==null?void 0:k.restoreValidation})}),o.isEdit?(e[0].el.disabled=!0,c.password[0].required=!1):(e[0].el.disabled=!1,c.password[0].required=!0),()=>a(ce,b({options:e,modelValue:t,"onUpdate:modelValue":A=>t=A,"label-placement":"left","label-width":"130px"},u,{rules:c,ref:r}),Ie(d)?d:{default:()=>[d]})}}),t]}const T=$({props:{modelValue:Object},setup(e,{attrs:t}){var _,o,u,n;const c=y({value:(_=e.modelValue)!=null&&_.value?(o=e.modelValue)==null?void 0:o.value:0,unlimited:(u=e.modelValue)!=null&&u.unlimited?(n=e.modelValue)==null?void 0:n.unlimited:!1});return W(c,d=>{e.modelValue.value=d.value,e.modelValue.unlimited=d.unlimited}),()=>{var d;return a("div",{class:"inline-item"},[a("div",{class:"left-item"},[a(ie,{value:c.value,"onUpdate:value":r=>c.value=r,disabled:((d=e.modelValue)==null?void 0:d.unlimited)||t.disabled},null)]),a("div",{class:"right-item"},[a(He,{value:c.unlimited,"onUpdate:value":r=>c.unlimited=r,disabled:t.disabled},{checked:()=>f.global.t("Account.Account.FormHooks-122755-12"),unchecked:()=>f.global.t("Account.Account.FormHooks-122755-12")})])])}}});function ze(){const e=[{type:"input",label:f.global.t("Account.Account.FormHooks-122755-13"),key:"package_name"},{type:"input",label:f.global.t("Account.Account.FormHooks-122755-14"),key:"remark"},{type:"custom-item",label:f.global.t("Account.Account.FormHooks-122755-15"),key:"disk_space_quota",slots:{default:u=>a(T,b({modelValue:t.disk_space_quota,"onUpdate:modelValue":n=>t.disk_space_quota=n},u),null)}},{type:"custom-item",label:f.global.t("Account.Account.FormHooks-122755-16"),key:"monthly_bandwidth_limit",slots:{default:u=>a(T,b({modelValue:t.monthly_bandwidth_limit,"onUpdate:modelValue":n=>t.monthly_bandwidth_limit=n},u),null)}},{type:"custom-item",label:f.global.t("Account.Account.FormHooks-122755-17"),key:"max_site_limit",slots:{default:u=>a(T,b({modelValue:t.max_site_limit,"onUpdate:modelValue":n=>t.max_site_limit=n},u),null)}},{type:"input-number",label:f.global.t("Account.Account.FormHooks-122755-18"),key:"php_start_children"},{type:"input-number",label:f.global.t("Account.Account.FormHooks-122755-19"),key:"php_max_children"},{type:"custom-item",label:f.global.t("Account.Account.FormHooks-122755-21"),key:"max_database",slots:{default:u=>a(T,b({modelValue:t.max_database,"onUpdate:modelValue":n=>t.max_database=n},u),null)}}],t=y({package_name:"",remark:"",disk_space_quota:{value:0,unlimited:!0},monthly_bandwidth_limit:{value:0,unlimited:!0},max_site_limit:{value:0,unlimited:!0},php_start_children:1,php_max_children:3,max_email_account:{value:1,unlimited:!1},max_database:{value:0,unlimited:!0}}),c=y({package_name:[{required:!0,message:f.global.t("Account.Account.FormHooks-122755-22"),trigger:"blur"}],disk_space_quota:[{required:!0,message:f.global.t("Account.Account.FormHooks-122755-24"),trigger:"blur",validator(u,n){return n.unlimited?!0:!!(n.value&&n.value>0)}}],monthly_bandwidth_limit:[{required:!0,message:f.global.t("Account.Account.FormHooks-122755-25"),trigger:"blur",validator(u,n){return n.unlimited?!0:!!(n.value&&n.value>0)}}],max_site_limit:[{required:!0,message:f.global.t("Account.Account.FormHooks-122755-26"),trigger:"blur",validator(u,n){return n.unlimited?!0:!!(n.value&&n.value>0)}}],php_start_children:[{required:!0,validator(u,n){return n?!0:new Error(f.global.t("Account.Account.FormHooks-122755-27"))}}],php_max_children:[{required:!0,validator(u,n){return n>0?!0:new Error(f.global.t("Account.Account.FormHooks-122755-28"))}}],max_email_account:[{required:!0,message:f.global.t("Account.Account.FormHooks-122755-29"),trigger:"blur",validator(u,n){return n.unlimited?!0:!!(n.value&&n.value>0)}}],max_database:[{required:!0,message:f.global.t("Account.Account.FormHooks-122755-30"),trigger:"blur",validator(u,n){return n.unlimited?!0:!!(n.value&&n.value>0)}}]}),_=g();return[$({props:{isDisable:Boolean,exclude:Array},setup(u,{expose:n}){const d=y({}),r=g(!1);return n(d),Z(()=>{var i,A;Object.assign(d,{validate:(i=_.value)==null?void 0:i.validate,restoreValidation:(A=_.value)==null?void 0:A.restoreValidation})}),W(u,i=>{"isDisable"in i&&(r.value=i.isDisable)},{immediate:!0}),()=>a(Y,null,[a(ce,{exclude:u.exclude,options:e,modelValue:t,"onUpdate:modelValue":i=>t=i,"label-placement":"left","label-width":"130px",rules:c,ref:_,disabled:r.value},null)])}}),t]}const ie=$({props:{value:Number},emits:["update:value"],setup(e,{emit:t,attrs:c}){const _=be(e,"value"),o=g(e.value);W(_,n=>{o.value=n});function u(n){isNaN(Number(n))?(o.value=0,t("update:value",1)):(o.value=Math.round(n),t("update:value",Number(Math.floor(n))))}return()=>a($e,b(c,{value:o.value,clearable:!0,"onUpdate:value":u,min:1}),null)}}),Ze=oe("account-state-store",()=>{const e=je(),{t}=ue(),c=g(!1),_=g(!1),o=g(null),u=g(null),n=g(30),d=y({data:[],total:0,loading:!1}),r=g([{title:t("Account.Account.accountState-721844-0"),key:"username",width:130,render:s=>a("span",{class:"text-primary cursor-pointer",onClick:()=>e.onLogin(s.account_id)},[s.username])},{title:t("Account.Account.accountState-721844-1"),key:"package_name",width:100},{title:t("Account.Account.accountState-721844-2"),key:"email"},{title:t("Account.Account.accountState-721844-20"),key:"login_info",width:80,render:s=>a("span",{class:"text-primary cursor-pointer",onClick:()=>e.copyInfo({url:s.login_url,user:s.username,pass:s.init_password})},[t("Public.Btn.Copy")])},{key:"quota",title:t("Account.Account.accountState-721844-3"),render:s=>a("span",{class:s.disk_space_status===0?"text-error":""},[s.disk_space_used===0&&s.disk_space_quota===0?"-":E(s.disk_space_used,!0,0),q(" /")," ",s.disk_space_quota===0?a("img",{class:"icon",title:"",src:ne},null):E(s.disk_space_quota,!0,0)])},{key:"bandwidth",title:t("Account.Account.accountState-721844-7"),render:s=>a("span",{class:s.monthly_bandwidth_status===0?"text-error":""},[E(s.monthly_bandwidth_used,!0,2),q(" /")," ",s.monthly_bandwidth_limit===0?a("img",{class:"icon",title:"",src:ne},null):E(s.monthly_bandwidth_limit,!0,0)])},{title:t("Account.Account.accountState-721844-8"),key:"status",width:68,render:s=>{const L=new Map([[-1,t("Account.Account.accountState-721844-9")],[0,t("Account.Account.accountState-721844-10")],[1,t("Account.Account.accountState-721844-11")],[2,t("Account.Account.accountState-721844-12")]]);return a("span",{onClick:()=>e.modifyStatus(s),class:"cursor-pointer ".concat(s.status===1||s.status===-1?"text-primary":"text-error")},[L.get(s.status)])}},{title:t("Account.Account.accountState-721844-13"),key:"expire_date",width:106,render:s=>s.expire_date==="0000-00-00"?t("Account.Account.account_index_10"):s.expire_date},{title:t("Account.Account.accountState-721844-14"),key:"remark",render:s=>s.remark?s.remark:"--"},ke({title:t("Public.Table.Action"),align:"right",width:200,options:s=>[{label:t("Account.Account.accountState-721844-15"),onClick:async()=>{e.onLogin(s.account_id)}},{label:t("Account.Account.accountState-721844-16"),onClick:async()=>{await e.getPackageList(),await e.getDiskList(),k.value=Number(s.account_id),_.value=!0,l.username=s.username,l.password="",l.email=s.email,l.expire_date=s.expire_date,l.remark=s.remark,F.value.package_id=Number(s.package_id),F.value.mountpoint=s.mountpoint,e.changePackage(s.package_id),m.domain=s.domain,c.value=!0}},{label:t("Account.Account.accountState-721844-17"),onClick:async()=>{e.removeAccount(s)}}]})]),i=g([]),A=y({p:1,rows:10,type_id:-1,search_value:""}),k=g(null),D=g([]),x=g([]),P=g([]),S=g([]),[M,l]=Ye(),[p,m,h]=Te(),F=g({package_id:-1,mountpoint:""}),w=g(),[V,N]=ze();return{addVisible:c,search:A,table:d,columns:r,keys:i,isEdit:_,accountFormRef:o,accountDomainFormRef:u,account_total:n,acForData:l,domainForData:m,expendFormState:F,wpForData:N,packageList:D,packageSourceList:x,diskMountPointList:P,diskMountSourceList:S,current_account_id:k,currentChangeDisk:w,initAccountForm:()=>M,initPackageForm:()=>V,initDomainForm:()=>p,isSupportAuto:h}});export{je as a,ze as b,Ze as u}; diff --git a/BTPanel/static/vite/js/accountState-D_Zgra7m.js b/BTPanel/static/vite/js/accountState-D_Zgra7m.js new file mode 100644 index 00000000..e2c11572 --- /dev/null +++ b/BTPanel/static/vite/js/accountState-D_Zgra7m.js @@ -0,0 +1 @@ +import{a4 as oe,R as ue,a0 as a,F as Y,k as N,am as me,r as g,c as le,$ as j,a8 as B,a9 as L,S as W,Z as _e,ak as G,_ as pe,j as q,e as y,a6 as fe,s as b,o as Q,l as H,v as C,w as X,u as ge,t as be}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{u as ke}from"./useTableColumns-BpMo4f8r.js?v=1774508183068";import{a0 as Ae,i as R,X as ve,a1 as ye,D as E,m as I,a2 as he,a3 as J,a4 as Fe,h as K,a5 as xe,a6 as f,O as we,a7 as Se,l as ee}from"./index-LQ-JIYiv.js?v=1774508183068";import{g as De}from"./ssl-DQUJJMjp.js?v=1774508183068";import{l as Ve,ad as se,B as qe,a1 as v,a3 as te,a4 as O,b as z,a9 as Pe,a8 as He,a7 as Ce,_ as Ne,ai as $e,am as Ue,a6 as Le}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import{_ as ae}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{a as ne}from"./quota-CnIxokiE.js?v=1774508183068";import{c as Ee}from"./copy-DTOfN-dY.js?v=1774508183068";import{u as Me}from"./useLoading-BRu-BHcC.js?v=1774508183068";const je=oe("aapanelsub-account-store",()=>{const e=Qe(),{t}=ue(),c=async()=>{try{o(!0);const{message:l}=await Ae(e.search);R(l)&&(e.table.data=l.list,e.table.total=l.page.count,e.account_total=l.account_total)}finally{o(!1)}},{loading:_,setLoading:o}=Me(),u=async()=>{const{message:l}=await ve();R(l)&&(e.packageSourceList=l.list,e.packageList=l.list.map(p=>({label:p.package_name,value:p.package_id})),l.list.length>0&&(e.expendFormState.package_id=l.list[0].package_id,r(e.expendFormState.package_id)))},n=l=>{const{url:p,user:m,pass:h}=l;Ee("Access address: ".concat(p,"\nUsername: ").concat(m,"\ninit Password: ").concat(h))},d=async()=>{const l=await ye();if(R(l)){let p={};e.diskMountSourceList=l.message,e.diskMountPointList=l.message.map(m=>(m.is_default&&(p=m),{label:"".concat(m.mountpoint," (").concat(E(m.used),"/").concat(E(m.total),") ").concat(t("Account.Account.account_533924-7"),":").concat(m.is_group_quota?t("Account.Account.account_533924-5"):t("Account.Account.account_533924-6")),value:m.mountpoint})),l.message.length>0&&(e.expendFormState.mountpoint=p.mountpoint||l.message[0].mountpoint,e.currentChangeDisk=Object.keys(p).length===0?l.message[0]:p)}},r=async l=>{const p=e.packageSourceList.find(m=>m.package_id===l);if(p){const{package_name:m,disk_space_quota:h,monthly_bandwidth_limit:F,max_site_limit:w,max_database:V,php_start_children:$,php_max_children:s,remark:U}=p;e.wpForData.package_name=m,e.wpForData.disk_space_quota=h==0?{value:"",unlimited:!0}:{value:h/1024/1024,unlimited:!1},e.wpForData.monthly_bandwidth_limit=F==0?{value:"",unlimited:!0}:{value:F/1024/1024,unlimited:!1},e.wpForData.max_site_limit=w===0?{value:"",unlimited:!0}:{value:w,unlimited:!1},e.wpForData.max_database=V==0?{value:"",unlimited:!0}:{value:V,unlimited:!1},e.wpForData.php_start_children=$,e.wpForData.php_max_children=s,e.wpForData.remark=U}},i=async()=>{if(e.table.total>=30)return I.error(t("Account.Account.account_533924-9",[30])),!1;x(),await u(),await d(),e.addVisible=!0,e.isEdit=!1},A=async l=>{const{message:p}=await he({account_id:l});R(p)&&window.open(p.login_url+"?token="+p.token)};function k(){const{package_id:l,mountpoint:p}=e.expendFormState,{username:m,password:h,email:F,expire_date:w,remark:V}=e.acForData,{disk_space_quota:$,monthly_bandwidth_limit:s,max_site_limit:U,max_database:Z,php_start_children:re,php_max_children:de}=e.wpForData;return Object.assign({},{username:m,password:h,email:F,expire_date:w,package_id:l,mountpoint:p,disk_space_quota:$.unlimited?0:String(Number($.value)*1024*1024),monthly_bandwidth_limit:s.unlimited?0:String(Number(s.value)*1024*1024),max_site_limit:U.unlimited?0:U.value,max_database:Z.unlimited?0:Z.value,php_start_children:re,php_max_children:de,remark:V})}const D=async()=>{var h,F;e.domainForData.website_and_email==="yes"&&!e.isEdit&&await((h=e.accountDomainFormRef)==null?void 0:h.validate()),await((F=e.accountFormRef)==null?void 0:F.validate());const{domainForData:l,isSupportAuto:p}=e;if(!p&&e.domainForData.website_and_email==="yes"&&!e.isEdit)return I.error("Your domain name does not support Create a website and email"),!1;const m=k();if(m.domain=l.website_and_email==="yes"?l.domain:null,m.automatic_dns=l.dns_record===2&&l.website_and_email==="yes"?1:0,Number(m.disk_space_quota)>0&&!e.isEdit){const{is_group_quota:w,free:V}=e.currentChangeDisk;if(!w)return I.error(t("Account.Account.account_533924-3")),!1;if(V{e.acForData.username="",e.acForData.password="",e.acForData.email="",e.acForData.expire_date="0000-00-00",e.expendFormState.package_id=void 0,e.domainForData.domain="",P()},P=()=>{e.wpForData.package_name="",e.wpForData.disk_space_quota={value:"",unlimited:!1},e.wpForData.monthly_bandwidth_limit={value:"",unlimited:!1},e.wpForData.max_site_limit={value:"",unlimited:!1},e.wpForData.max_database={value:"",unlimited:!1},e.wpForData.php_start_children=1,e.wpForData.php_max_children=1,e.wpForData.remark=""};return{init:c,addHost:i,setLoading:o,loading:_,onLogin:A,modifyStatus:async l=>{const{status:p,username:m}=l;K({title:"".concat(t(p===0?"Site.PHP.index_21_2":"Site.PHP.index_21_3")," ").concat(t("Account.Account.account_533924-0",[m])),content:t(p===0?"Account.Account.account_533924-1":"Account.Account.account_533924-2"),onConfirm:async()=>{await J({...l,status:p===0?1:0}),l.status=p===0?1:0}})},removeAccount:async l=>{K({title:t("Account.Account.account_673836-0",[l.username]),content:()=>a(Y,null,[a("div",null,[t("Account.Account.account_673836-1")])]),onConfirm:async()=>{await xe({account_id:l.account_id,is_del_resources:!0}),c()}})},form_save:D,form_reset:x,package_form_reset:P,getPackageList:u,getDiskList:d,changePackage:r,copyInfo:n}}),Re={key:0,class:"color-desc"},Be=N({__name:"automatic",props:{domain:{}},setup(e,{expose:t}){const c=me(),_=e,o=g(),u=le(()=>{var r;return(r=o.value)==null?void 0:r.support.includes("auto")}),n=()=>{c.push("/ssl_domain/domain")};return t({getParseStatus:async()=>{const{message:r}=await De({domain:_.domain});R(r)&&(o.value=r)},parseStatus:o,isSupportAuto:u}),(r,i)=>{const A=qe,k=Ve,D=se;return j(),B(k,null,{default:L(()=>[W(o)?G("",!0):(j(),_e("span",Re," *The program will use the APl to automatically add the required DNS records forthe mail server and complete the installation of the SSL certifcate. ")),W(o)?(j(),B(k,{key:1},{default:L(()=>[W(u)?(j(),B(D,{key:1,type:"success"},{default:L(()=>i[2]||(i[2]=[q(" Your domain has been connccted to the domain managementccnter, and you can use this fcature to complcte onc-click deployment. ")])),_:1,__:[2]})):(j(),B(D,{key:0,type:"error"},{default:L(()=>[a(k,{class:"items-center flex-nowrap!"},{default:L(()=>[i[1]||(i[1]=pe("span",null,"Your domain has not yet been integrated with the Domain Name Management Center.",-1)),a(A,{type:"primary",size:"small",ghost:"",onClick:n},{default:L(()=>i[0]||(i[0]=[q("Add Now")])),_:1,__:[0]})]),_:1,__:[1]})]),_:1}))]),_:1})):G("",!0)]),_:1})}}});function Ie(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ge(e)}const ce=N({props:{options:Array,modelValue:Object,rules:Object,exclude:Array},setup(e,{attrs:t,slots:c,expose:_}){const o=g(null),u=y({});return _(u),Q(()=>{var n,d;Object.assign(u,{validate:(n=o.value)==null?void 0:n.validate,restoreValidation:(d=o.value)==null?void 0:d.restoreValidation})}),()=>a(Y,null,[a(Ce,b(t,{model:e.modelValue,ref:o,rules:e.rules}),{default:()=>{var n;return a(Y,null,[(n=e.options)==null?void 0:n.filter(d=>{var r;return!((r=e.exclude)!=null&&r.includes(d.key))}).map(d=>Oe(d,e.modelValue,t,c))])}})])}});function Oe(e,t,c,_){const{label:o,key:u,type:n,options:d,el:r}=e;switch(n){case"input":return a(v,b({label:o,path:u},c),{default:()=>[a(z,b({value:t[u],"onUpdate:value":i=>t[u]=i},r),null)]});case"password":return a(v,b({label:o,path:u},c),{default:()=>[a(z,b({value:t[u],"onUpdate:value":i=>t[u]=i},r),null)]});case"select":return a(v,b({label:o,path:e.key},c),{default:()=>[a(Le,b({options:d,value:t[u],"onUpdate:value":i=>t[u]=i},r),null)]});case"checkbox":return a(v,b({label:o,path:e.key},c),{default:()=>[a(Ue,b({checked:t[u],"onUpdate:checked":i=>t[u]=i},r),null)]});case"date-picker":return a(v,b({label:o,path:e.key},c),{default:()=>[a($e,b({"formatted-value":t[u],"onUpdate:formatted-value":i=>t[u]=i,type:"date","value-format":"yyyy-MM-dd"},r),null)]});case"input-number":return a(v,b({label:o,path:e.key},c),{default:()=>[a(ie,b({value:t[u],"onUpdate:value":i=>t[u]=i},r),null)]});case"custom-item":return a(v,b({label:o,path:e.key},c,{disabled:c.disabled}),{default:()=>{var i;return[(i=e.slots)==null?void 0:i.default(c)]}});case"custom-slot":return a(v,b({label:o,path:e.key},c,{disabled:c.disabled}),{default:()=>{var i;return[_&&((i=_[e.key])==null?void 0:i.call(_))]}})}}function Te(){const{isUserAutoMatic:e,isExistWhite:t}=fe(we()),c=Se(),_=g(!1),o=y({website_and_email:"yes",domain:"",dns_record:2}),u=g(""),n=y({domain:[{required:!0,message:f.global.t("SSL.index_21"),trigger:"blur"}]}),d=g(),r=()=>{var k;if(o.domain.trim()===""){u.value="";return}u.value!==o.domain&&((k=d.value)==null||k.getParseStatus(),u.value=o.domain)},i=le(()=>{var k;return(k=d.value)==null?void 0:k.isSupportAuto});return[N({props:{isEdit:Boolean},setup(k,{expose:D}){const x=g(),P=y({});return D(P),Q(()=>{var M,l;(async()=>{try{_.value=!0,await c.getMailInfo(),(!c.install||!e.value||!t.value)&&(o.website_and_email="no")}finally{_.value=!1}})(),Object.assign(P,{validate:(M=x.value)==null?void 0:M.validate,restoreValidation:(l=x.value)==null?void 0:l.restoreValidation})}),()=>a(Pe,{show:_.value},{default:()=>[H(a(ae,{ref:x,model:o,rules:n},{default:()=>[a(v,{label:"Create a website and email"},{default:()=>[a(te,{class:"w-150px",value:o.website_and_email,onUpdateValue:S=>o.website_and_email=S,"onUpdate:value":r,disabled:!e.value||!c.install||!t.value},{default:()=>[a(O,{value:"yes"},{default:()=>[q("Yes")]}),a(O,{value:"no"},{default:()=>[q("No")]})]}),H(a(se,{"show-icon":!1},{default:()=>[a("div",{class:"flex items-center"},[a(ee,{name:"base-info",size:17,class:"mr-8px"},null),a("span",{class:"leading-17px"},[!c.install||!e.value?"Current Mail Server is not installed or sub-panel version is lower than 1.0.9":"API not enabled or 127.0.0.1 not added to the API whitelist"])])]}),[[C,!c.install||!e.value||!t.value]])]}),H(a(v,{label:"Domain",path:"domain"},{default:()=>[a(z,{value:o.domain,onUpdateValue:S=>o.domain=S,onBlur:r},null)]}),[[C,o.website_and_email==="yes"]]),H(a(v,{label:"DNS record"},{default:()=>[a(te,{value:o.dns_record,onUpdateValue:S=>{o.dns_record=S,r()}},{default:()=>[a(O,{value:2},{default:()=>[a("div",{class:"flex h-15px items-center mr-16px"},[a("div",null,[q("Automatic")]),a(ee,{name:"ssl-stars",size:22},null)])]}),a(O,{value:1},{default:()=>[q("Manual")]})]})]}),[[C,o.website_and_email==="yes"]]),H(a(v,{label:" "},{default:()=>[a(Be,{ref:d,domain:o.domain},null)]}),[[C,o.website_and_email==="yes"]])]}),[[C,!k.isEdit]]),H(a(ae,null,{default:()=>[H(a(v,{label:"Domain"},{default:()=>[a(z,{value:o.domain,disabled:!0},null)]}),[[C,o.domain]])]}),[[C,k.isEdit]])]})}}),o,i]}function Ye(){const e=[{type:"input",label:f.global.t("Account.Account.FormHooks-122755-1"),key:"username",el:{disabled:!0}},{type:"custom-slot",label:f.global.t("Account.Account.FormHooks-122755-2"),key:"password"},{type:"input",label:f.global.t("Account.Account.FormHooks-122755-4"),key:"email"},{type:"custom-slot",label:f.global.t("Account.Account.FormHooks-122755-5"),key:"expire_date"},{type:"input",label:f.global.t("Account.Account.FormHooks-122755-14"),key:"remark"}],t=y({username:"",password:"",email:"",expire_date:"0000-00-00",remark:""}),c=y({username:[{required:!0,message:f.global.t("Account.Account.FormHooks-122755-7"),trigger:"blur"}],password:[{required:!0,message:f.global.t("Account.Account.FormHooks-122755-8"),trigger:"blur"}],email:[{required:!0,message:f.global.t("Account.Account.FormHooks-122755-10"),trigger:"blur"}]});return[N({props:{isEdit:Boolean},setup(o,{attrs:u,expose:n,slots:d}){const r=g(),i=y({});return n(i),Q(()=>{var A,k;Object.assign(i,{validate:(A=r.value)==null?void 0:A.validate,restoreValidation:(k=r.value)==null?void 0:k.restoreValidation})}),o.isEdit?(e[0].el.disabled=!0,c.password[0].required=!1):(e[0].el.disabled=!1,c.password[0].required=!0),()=>a(ce,b({options:e,modelValue:t,"onUpdate:modelValue":A=>t=A,"label-placement":"left","label-width":"130px"},u,{rules:c,ref:r}),Ie(d)?d:{default:()=>[d]})}}),t]}const T=N({props:{modelValue:Object},setup(e,{attrs:t}){var _,o,u,n;const c=y({value:(_=e.modelValue)!=null&&_.value?(o=e.modelValue)==null?void 0:o.value:0,unlimited:(u=e.modelValue)!=null&&u.unlimited?(n=e.modelValue)==null?void 0:n.unlimited:!1});return X(c,d=>{e.modelValue.value=d.value,e.modelValue.unlimited=d.unlimited}),()=>{var d;return a("div",{class:"inline-item"},[a("div",{class:"left-item"},[a(ie,{value:c.value,"onUpdate:value":r=>c.value=r,disabled:((d=e.modelValue)==null?void 0:d.unlimited)||t.disabled},null)]),a("div",{class:"right-item"},[a(He,{value:c.unlimited,"onUpdate:value":r=>c.unlimited=r,disabled:t.disabled},{checked:()=>f.global.t("Account.Account.FormHooks-122755-12"),unchecked:()=>f.global.t("Account.Account.FormHooks-122755-12")})])])}}});function ze(){const e=[{type:"input",label:f.global.t("Account.Account.FormHooks-122755-13"),key:"package_name"},{type:"input",label:f.global.t("Account.Account.FormHooks-122755-14"),key:"remark"},{type:"custom-item",label:f.global.t("Account.Account.FormHooks-122755-15"),key:"disk_space_quota",slots:{default:u=>a(T,b({modelValue:t.disk_space_quota,"onUpdate:modelValue":n=>t.disk_space_quota=n},u),null)}},{type:"custom-item",label:f.global.t("Account.Account.FormHooks-122755-16"),key:"monthly_bandwidth_limit",slots:{default:u=>a(T,b({modelValue:t.monthly_bandwidth_limit,"onUpdate:modelValue":n=>t.monthly_bandwidth_limit=n},u),null)}},{type:"custom-item",label:f.global.t("Account.Account.FormHooks-122755-17"),key:"max_site_limit",slots:{default:u=>a(T,b({modelValue:t.max_site_limit,"onUpdate:modelValue":n=>t.max_site_limit=n},u),null)}},{type:"input-number",label:f.global.t("Account.Account.FormHooks-122755-18"),key:"php_start_children"},{type:"input-number",label:f.global.t("Account.Account.FormHooks-122755-19"),key:"php_max_children"},{type:"custom-item",label:f.global.t("Account.Account.FormHooks-122755-21"),key:"max_database",slots:{default:u=>a(T,b({modelValue:t.max_database,"onUpdate:modelValue":n=>t.max_database=n},u),null)}}],t=y({package_name:"",remark:"",disk_space_quota:{value:0,unlimited:!0},monthly_bandwidth_limit:{value:0,unlimited:!0},max_site_limit:{value:0,unlimited:!0},php_start_children:1,php_max_children:3,max_email_account:{value:1,unlimited:!1},max_database:{value:0,unlimited:!0}}),c=y({package_name:[{required:!0,message:f.global.t("Account.Account.FormHooks-122755-22"),trigger:"blur"}],disk_space_quota:[{required:!0,message:f.global.t("Account.Account.FormHooks-122755-24"),trigger:"blur",validator(u,n){return n.unlimited?!0:!!(n.value&&n.value>0)}}],monthly_bandwidth_limit:[{required:!0,message:f.global.t("Account.Account.FormHooks-122755-25"),trigger:"blur",validator(u,n){return n.unlimited?!0:!!(n.value&&n.value>0)}}],max_site_limit:[{required:!0,message:f.global.t("Account.Account.FormHooks-122755-26"),trigger:"blur",validator(u,n){return n.unlimited?!0:!!(n.value&&n.value>0)}}],php_start_children:[{required:!0,validator(u,n){return n?!0:new Error(f.global.t("Account.Account.FormHooks-122755-27"))}}],php_max_children:[{required:!0,validator(u,n){return n>0?!0:new Error(f.global.t("Account.Account.FormHooks-122755-28"))}}],max_email_account:[{required:!0,message:f.global.t("Account.Account.FormHooks-122755-29"),trigger:"blur",validator(u,n){return n.unlimited?!0:!!(n.value&&n.value>0)}}],max_database:[{required:!0,message:f.global.t("Account.Account.FormHooks-122755-30"),trigger:"blur",validator(u,n){return n.unlimited?!0:!!(n.value&&n.value>0)}}]}),_=g();return[N({props:{isDisable:Boolean,exclude:Array},setup(u,{expose:n}){const d=y({}),r=g(!1);return n(d),Q(()=>{var i,A;Object.assign(d,{validate:(i=_.value)==null?void 0:i.validate,restoreValidation:(A=_.value)==null?void 0:A.restoreValidation})}),X(u,i=>{"isDisable"in i&&(r.value=i.isDisable)},{immediate:!0}),()=>a(Y,null,[a(ce,{exclude:u.exclude,options:e,modelValue:t,"onUpdate:modelValue":i=>t=i,"label-placement":"left","label-width":"130px",rules:c,ref:_,disabled:r.value},null)])}}),t]}const ie=N({props:{value:Number},emits:["update:value"],setup(e,{emit:t,attrs:c}){const _=be(e,"value"),o=g(e.value);X(_,n=>{o.value=n});function u(n){isNaN(Number(n))?(o.value=0,t("update:value",1)):(o.value=Math.round(n),t("update:value",Number(Math.floor(n))))}return()=>a(Ne,b(c,{value:o.value,clearable:!0,"onUpdate:value":u,min:1}),null)}}),Qe=oe("account-state-store",()=>{const e=je(),{t}=ue(),c=g(!1),_=g(!1),o=g(null),u=g(null),n=g(30),d=y({data:[],total:0,loading:!1}),r=g([{title:t("Account.Account.accountState-721844-0"),key:"username",width:130,render:s=>a("span",{class:"text-primary cursor-pointer",onClick:()=>e.onLogin(s.account_id)},[s.username])},{title:t("Account.Account.accountState-721844-1"),key:"package_name",width:100},{title:t("Account.Account.accountState-721844-2"),key:"email"},{title:t("Account.Account.accountState-721844-20"),key:"login_info",width:80,render:s=>a("span",{class:"text-primary cursor-pointer",onClick:()=>e.copyInfo({url:s.login_url,user:s.username,pass:s.init_password})},[t("Public.Btn.Copy")])},{key:"quota",title:t("Account.Account.accountState-721844-3"),render:s=>a("span",{class:s.disk_space_status===0?"text-error":""},[s.disk_space_used===0&&s.disk_space_quota===0?"-":E(s.disk_space_used,!0,0),q(" /")," ",s.disk_space_quota===0?a("img",{class:"icon",title:"",src:ne},null):E(s.disk_space_quota,!0,0)])},{key:"bandwidth",title:t("Account.Account.accountState-721844-7"),render:s=>a("span",{class:s.monthly_bandwidth_status===0?"text-error":""},[E(s.monthly_bandwidth_used,!0,2),q(" /")," ",s.monthly_bandwidth_limit===0?a("img",{class:"icon",title:"",src:ne},null):E(s.monthly_bandwidth_limit,!0,0)])},{title:t("Account.Account.accountState-721844-8"),key:"status",width:68,render:s=>{const U=new Map([[-1,t("Account.Account.accountState-721844-9")],[0,t("Account.Account.accountState-721844-10")],[1,t("Account.Account.accountState-721844-11")],[2,t("Account.Account.accountState-721844-12")]]);return a("span",{onClick:()=>e.modifyStatus(s),class:"cursor-pointer ".concat(s.status===1||s.status===-1?"text-primary":"text-error")},[U.get(s.status)])}},{title:t("Account.Account.accountState-721844-13"),key:"expire_date",width:106,render:s=>s.expire_date==="0000-00-00"?t("Account.Account.account_index_10"):s.expire_date},{title:t("Account.Account.accountState-721844-14"),key:"remark",render:s=>s.remark?s.remark:"--"},ke({title:t("Public.Table.Action"),align:"right",width:200,options:s=>[{label:t("Account.Account.accountState-721844-15"),onClick:async()=>{e.onLogin(s.account_id)}},{label:t("Account.Account.accountState-721844-16"),onClick:async()=>{await e.getPackageList(),await e.getDiskList(),k.value=Number(s.account_id),_.value=!0,l.username=s.username,l.password="",l.email=s.email,l.expire_date=s.expire_date,l.remark=s.remark,F.value.package_id=Number(s.package_id),F.value.mountpoint=s.mountpoint,e.changePackage(s.package_id),m.domain=s.domain,c.value=!0}},{label:t("Account.Account.accountState-721844-17"),onClick:async()=>{e.removeAccount(s)}}]})]),i=g([]),A=y({p:1,rows:10,type_id:-1,search_value:""}),k=g(null),D=g([]),x=g([]),P=g([]),S=g([]),[M,l]=Ye(),[p,m,h]=Te(),F=g({package_id:-1,mountpoint:""}),w=g(),[V,$]=ze();return{addVisible:c,search:A,table:d,columns:r,keys:i,isEdit:_,accountFormRef:o,accountDomainFormRef:u,account_total:n,acForData:l,domainForData:m,expendFormState:F,wpForData:$,packageList:D,packageSourceList:x,diskMountPointList:P,diskMountSourceList:S,current_account_id:k,currentChangeDisk:w,initAccountForm:()=>M,initPackageForm:()=>V,initDomainForm:()=>p,isSupportAuto:h}});export{je as a,ze as b,Qe as u}; diff --git a/BTPanel/static/vite/js/accountState-legacy-CmQRXSkG.js b/BTPanel/static/vite/js/accountState-legacy-CmQRXSkG.js new file mode 100644 index 00000000..d203e2f7 --- /dev/null +++ b/BTPanel/static/vite/js/accountState-legacy-CmQRXSkG.js @@ -0,0 +1 @@ +System.register(["./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./ssl-legacy-B0LFPLeC.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./quota-legacy-BThbMBwZ.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./useLoading-legacy-BYj3sJTe.js?v=1774508183068"],(function(e,a){"use strict";var t,o,l,n,i,u,c,s,r,d,m,p,_,b,g,k,v,y,A,h,w,f,x,F,S,D,V,q,H,j,L,C,P,U,N,E,M,$,O,B,I,R,z,Y,T,Z,W,X,G,J,K,Q,ee,ae,te,oe,le,ne,ie,ue;return{setters:[e=>{t=e.a4,o=e.R,l=e.a0,n=e.F,i=e.k,u=e.am,c=e.r,s=e.c,r=e.$,d=e.a8,m=e.a9,p=e.S,_=e.Z,b=e.ak,g=e._,k=e.j,v=e.e,y=e.a6,A=e.s,h=e.o,w=e.l,f=e.v,x=e.w,F=e.u,S=e.t},e=>{D=e.u},e=>{V=e.a0,q=e.i,H=e.X,j=e.a1,L=e.D,C=e.m,P=e.a2,U=e.a3,N=e.a4,E=e.h,M=e.a5,$=e.a6,O=e.O,B=e.a7,I=e.l},e=>{R=e.g},e=>{z=e.l,Y=e.ad,T=e.B,Z=e.a1,W=e.a3,X=e.a4,G=e.b,J=e.a9,K=e.a8,Q=e.a7,ee=e._,ae=e.ai,te=e.am,oe=e.a6},e=>{le=e._},e=>{ne=e.a},e=>{ie=e.c},e=>{ue=e.u}],execute:function(){var a=document.createElement("style");a.textContent=".inline-item{width:100%;display:flex;align-items:center;justify-content:space-between}.inline-item .left-item{flex:1;margin-right:20px}\n/*$vite$:1*/",document.head.appendChild(a),e("b",_e);const ce=e("a",t("aapanelsub-account-store",(()=>{const e=ge(),{t:a}=o(),t=async()=>{try{u(!0);const{message:a}=await V(e.search);q(a)&&(e.table.data=a.list,e.table.total=a.page.count,e.account_total=a.account_total)}finally{u(!1)}},{loading:i,setLoading:u}=ue(),c=async()=>{const{message:a}=await H();q(a)&&(e.packageSourceList=a.list,e.packageList=a.list.map((e=>({label:e.package_name,value:e.package_id}))),a.list.length>0&&(e.expendFormState.package_id=a.list[0].package_id,r(e.expendFormState.package_id)))},s=async()=>{const t=await j();if(q(t)){let o={};e.diskMountSourceList=t.message,e.diskMountPointList=t.message.map((e=>(e.is_default&&(o=e),{label:`${e.mountpoint} (${L(e.used)}/${L(e.total)}) ${a("Account.Account.account_533924-7")}:${e.is_group_quota?a("Account.Account.account_533924-5"):a("Account.Account.account_533924-6")}`,value:e.mountpoint}))),t.message.length>0&&(e.expendFormState.mountpoint=o.mountpoint||t.message[0].mountpoint,e.currentChangeDisk=0===Object.keys(o).length?t.message[0]:o)}},r=async a=>{const t=e.packageSourceList.find((e=>e.package_id===a));if(t){const{package_name:a,disk_space_quota:o,monthly_bandwidth_limit:l,max_site_limit:n,max_database:i,php_start_children:u,php_max_children:c,remark:s}=t;e.wpForData.package_name=a,e.wpForData.disk_space_quota=0==o?{value:"",unlimited:!0}:{value:o/1024/1024,unlimited:!1},e.wpForData.monthly_bandwidth_limit=0==l?{value:"",unlimited:!0}:{value:l/1024/1024,unlimited:!1},e.wpForData.max_site_limit=0===n?{value:"",unlimited:!0}:{value:n,unlimited:!1},e.wpForData.max_database=0==i?{value:"",unlimited:!0}:{value:i,unlimited:!1},e.wpForData.php_start_children=u,e.wpForData.php_max_children=c,e.wpForData.remark=s}},d=()=>{e.acForData.username="",e.acForData.password="",e.acForData.email="",e.acForData.expire_date="0000-00-00",e.expendFormState.package_id=void 0,e.domainForData.domain="",m()},m=()=>{e.wpForData.package_name="",e.wpForData.disk_space_quota={value:"",unlimited:!1},e.wpForData.monthly_bandwidth_limit={value:"",unlimited:!1},e.wpForData.max_site_limit={value:"",unlimited:!1},e.wpForData.max_database={value:"",unlimited:!1},e.wpForData.php_start_children=1,e.wpForData.php_max_children=1,e.wpForData.remark=""};return{init:t,addHost:async()=>{if(e.table.total>=30)return C.error(a("Account.Account.account_533924-9",[30])),!1;d(),await c(),await s(),e.addVisible=!0,e.isEdit=!1},setLoading:u,loading:i,onLogin:async e=>{const{message:a}=await P({account_id:e});q(a)&&window.open(a.login_url+"?token="+a.token)},modifyStatus:async e=>{const{status:t,username:o}=e;E({title:`${a(0===t?"Site.PHP.index_21_2":"Site.PHP.index_21_3")} ${a("Account.Account.account_533924-0",[o])}`,content:a(0===t?"Account.Account.account_533924-1":"Account.Account.account_533924-2"),onConfirm:async()=>{await U({...e,status:0===t?1:0}),e.status=0===t?1:0}})},removeAccount:async e=>{E({title:a("Account.Account.account_673836-0",[e.username]),content:()=>l(n,null,[l("div",null,[a("Account.Account.account_673836-1")])]),onConfirm:async()=>{await M({account_id:e.account_id,is_del_resources:!0}),t()}})},form_save:async()=>{"yes"!==e.domainForData.website_and_email||e.isEdit||await(e.accountDomainFormRef?.validate()),await(e.accountFormRef?.validate());const{domainForData:o,isSupportAuto:l}=e;if(!l&&"yes"===e.domainForData.website_and_email&&!e.isEdit)return C.error("Your domain name does not support Create a website and email"),!1;const n=function(){const{package_id:a,mountpoint:t}=e.expendFormState,{username:o,password:l,email:n,expire_date:i,remark:u}=e.acForData,{disk_space_quota:c,monthly_bandwidth_limit:s,max_site_limit:r,max_database:d,php_start_children:m,php_max_children:p}=e.wpForData;return Object.assign({},{username:o,password:l,email:n,expire_date:i,package_id:a,mountpoint:t,disk_space_quota:c.unlimited?0:String(1024*Number(c.value)*1024),monthly_bandwidth_limit:s.unlimited?0:String(1024*Number(s.value)*1024),max_site_limit:r.unlimited?0:r.value,max_database:d.unlimited?0:d.value,php_start_children:m,php_max_children:p,remark:u})}();if(n.domain="yes"===o.website_and_email?o.domain:null,n.automatic_dns=2===o.dns_record&&"yes"===o.website_and_email?1:0,Number(n.disk_space_quota)>0&&!e.isEdit){const{is_group_quota:t,free:o}=e.currentChangeDisk;if(!t)return C.error(a("Account.Account.account_533924-3")),!1;if(o{const{url:a,user:t,pass:o}=e;ie(`Access address: ${a}\nUsername: ${t}\ninit Password: ${o}`)}}}))),se={key:0,class:"color-desc"},re=i({__name:"automatic",props:{domain:{}},setup(e,{expose:a}){const t=u(),o=e,n=c(),i=s((()=>n.value?.support.includes("auto"))),v=()=>{t.push("/ssl_domain/domain")};return a({getParseStatus:async()=>{const{message:e}=await R({domain:o.domain});q(e)&&(n.value=e)},parseStatus:n,isSupportAuto:i}),(e,a)=>{const t=T,o=z,u=Y;return r(),d(o,null,{default:m((()=>[p(n)?b("",!0):(r(),_("span",se," *The program will use the APl to automatically add the required DNS records forthe mail server and complete the installation of the SSL certifcate. ")),p(n)?(r(),d(o,{key:1},{default:m((()=>[p(i)?(r(),d(u,{key:1,type:"success"},{default:m((()=>a[2]||(a[2]=[k(" Your domain has been connccted to the domain managementccnter, and you can use this fcature to complcte onc-click deployment. ")]))),_:1,__:[2]})):(r(),d(u,{key:0,type:"error"},{default:m((()=>[l(o,{class:"items-center flex-nowrap!"},{default:m((()=>[a[1]||(a[1]=g("span",null,"Your domain has not yet been integrated with the Domain Name Management Center.",-1)),l(t,{type:"primary",size:"small",ghost:"",onClick:v},{default:m((()=>a[0]||(a[0]=[k("Add Now")]))),_:1,__:[0]})])),_:1,__:[1]})])),_:1}))])),_:1})):b("",!0)])),_:1})}}}),de=i({props:{options:Array,modelValue:Object,rules:Object,exclude:Array},setup(e,{attrs:a,slots:t,expose:o}){const i=c(null),u=v({});return o(u),h((()=>{Object.assign(u,{validate:i.value?.validate,restoreValidation:i.value?.restoreValidation})})),()=>l(n,null,[l(Q,A(a,{model:e.modelValue,ref:i,rules:e.rules}),{default:()=>l(n,null,[e.options?.filter((a=>!e.exclude?.includes(a.key))).map((o=>function(e,a,t,o){const{label:n,key:i,type:u,options:c,el:s}=e;switch(u){case"input":case"password":return l(Z,A({label:n,path:i},t),{default:()=>[l(G,A({value:a[i],"onUpdate:value":e=>a[i]=e},s),null)]});case"select":return l(Z,A({label:n,path:e.key},t),{default:()=>[l(oe,A({options:c,value:a[i],"onUpdate:value":e=>a[i]=e},s),null)]});case"checkbox":return l(Z,A({label:n,path:e.key},t),{default:()=>[l(te,A({checked:a[i],"onUpdate:checked":e=>a[i]=e},s),null)]});case"date-picker":return l(Z,A({label:n,path:e.key},t),{default:()=>[l(ae,A({"formatted-value":a[i],"onUpdate:formatted-value":e=>a[i]=e,type:"date","value-format":"yyyy-MM-dd"},s),null)]});case"input-number":return l(Z,A({label:n,path:e.key},t),{default:()=>[l(be,A({value:a[i],"onUpdate:value":e=>a[i]=e},s),null)]});case"custom-item":return l(Z,A({label:n,path:e.key},t,{disabled:t.disabled}),{default:()=>[e.slots?.default(t)]});case"custom-slot":return l(Z,A({label:n,path:e.key},t,{disabled:t.disabled}),{default:()=>[o&&o[e.key]?.()]})}}(o,e.modelValue,a,t)))])})])}});function me(){const e=[{type:"input",label:$.global.t("Account.Account.FormHooks-122755-1"),key:"username",el:{disabled:!0}},{type:"custom-slot",label:$.global.t("Account.Account.FormHooks-122755-2"),key:"password"},{type:"input",label:$.global.t("Account.Account.FormHooks-122755-4"),key:"email"},{type:"custom-slot",label:$.global.t("Account.Account.FormHooks-122755-5"),key:"expire_date"},{type:"input",label:$.global.t("Account.Account.FormHooks-122755-14"),key:"remark"}],a=v({username:"",password:"",email:"",expire_date:"0000-00-00",remark:""}),t=v({username:[{required:!0,message:$.global.t("Account.Account.FormHooks-122755-7"),trigger:"blur"}],password:[{required:!0,message:$.global.t("Account.Account.FormHooks-122755-8"),trigger:"blur"}],email:[{required:!0,message:$.global.t("Account.Account.FormHooks-122755-10"),trigger:"blur"}]});return[i({props:{isEdit:Boolean},setup(o,{attrs:n,expose:i,slots:u}){const s=c(),r=v({});return i(r),h((()=>{Object.assign(r,{validate:s.value?.validate,restoreValidation:s.value?.restoreValidation})})),o.isEdit?(e[0].el.disabled=!0,t.password[0].required=!1):(e[0].el.disabled=!1,t.password[0].required=!0),()=>{return l(de,A({options:e,modelValue:a,"onUpdate:modelValue":e=>a=e,"label-placement":"left","label-width":"130px"},n,{rules:t,ref:s}),"function"==typeof(o=u)||"[object Object]"===Object.prototype.toString.call(o)&&!F(o)?u:{default:()=>[u]});var o}}}),a]}const pe=i({props:{modelValue:Object},setup(e,{attrs:a}){const t=v({value:e.modelValue?.value?e.modelValue?.value:0,unlimited:!!e.modelValue?.unlimited&&e.modelValue?.unlimited});return x(t,(a=>{e.modelValue.value=a.value,e.modelValue.unlimited=a.unlimited})),()=>l("div",{class:"inline-item"},[l("div",{class:"left-item"},[l(be,{value:t.value,"onUpdate:value":e=>t.value=e,disabled:e.modelValue?.unlimited||a.disabled},null)]),l("div",{class:"right-item"},[l(K,{value:t.unlimited,"onUpdate:value":e=>t.unlimited=e,disabled:a.disabled},{checked:()=>$.global.t("Account.Account.FormHooks-122755-12"),unchecked:()=>$.global.t("Account.Account.FormHooks-122755-12")})])])}});function _e(){const e=[{type:"input",label:$.global.t("Account.Account.FormHooks-122755-13"),key:"package_name"},{type:"input",label:$.global.t("Account.Account.FormHooks-122755-14"),key:"remark"},{type:"custom-item",label:$.global.t("Account.Account.FormHooks-122755-15"),key:"disk_space_quota",slots:{default:e=>l(pe,A({modelValue:a.disk_space_quota,"onUpdate:modelValue":e=>a.disk_space_quota=e},e),null)}},{type:"custom-item",label:$.global.t("Account.Account.FormHooks-122755-16"),key:"monthly_bandwidth_limit",slots:{default:e=>l(pe,A({modelValue:a.monthly_bandwidth_limit,"onUpdate:modelValue":e=>a.monthly_bandwidth_limit=e},e),null)}},{type:"custom-item",label:$.global.t("Account.Account.FormHooks-122755-17"),key:"max_site_limit",slots:{default:e=>l(pe,A({modelValue:a.max_site_limit,"onUpdate:modelValue":e=>a.max_site_limit=e},e),null)}},{type:"input-number",label:$.global.t("Account.Account.FormHooks-122755-18"),key:"php_start_children"},{type:"input-number",label:$.global.t("Account.Account.FormHooks-122755-19"),key:"php_max_children"},{type:"custom-item",label:$.global.t("Account.Account.FormHooks-122755-21"),key:"max_database",slots:{default:e=>l(pe,A({modelValue:a.max_database,"onUpdate:modelValue":e=>a.max_database=e},e),null)}}],a=v({package_name:"",remark:"",disk_space_quota:{value:0,unlimited:!0},monthly_bandwidth_limit:{value:0,unlimited:!0},max_site_limit:{value:0,unlimited:!0},php_start_children:1,php_max_children:3,max_email_account:{value:1,unlimited:!1},max_database:{value:0,unlimited:!0}}),t=v({package_name:[{required:!0,message:$.global.t("Account.Account.FormHooks-122755-22"),trigger:"blur"}],disk_space_quota:[{required:!0,message:$.global.t("Account.Account.FormHooks-122755-24"),trigger:"blur",validator:(e,a)=>!!a.unlimited||!!(a.value&&a.value>0)}],monthly_bandwidth_limit:[{required:!0,message:$.global.t("Account.Account.FormHooks-122755-25"),trigger:"blur",validator:(e,a)=>!!a.unlimited||!!(a.value&&a.value>0)}],max_site_limit:[{required:!0,message:$.global.t("Account.Account.FormHooks-122755-26"),trigger:"blur",validator:(e,a)=>!!a.unlimited||!!(a.value&&a.value>0)}],php_start_children:[{required:!0,validator:(e,a)=>!!a||new Error($.global.t("Account.Account.FormHooks-122755-27"))}],php_max_children:[{required:!0,validator:(e,a)=>a>0||new Error($.global.t("Account.Account.FormHooks-122755-28"))}],max_email_account:[{required:!0,message:$.global.t("Account.Account.FormHooks-122755-29"),trigger:"blur",validator:(e,a)=>!!a.unlimited||!!(a.value&&a.value>0)}],max_database:[{required:!0,message:$.global.t("Account.Account.FormHooks-122755-30"),trigger:"blur",validator:(e,a)=>!!a.unlimited||!!(a.value&&a.value>0)}]}),o=c();return[i({props:{isDisable:Boolean,exclude:Array},setup(i,{expose:u}){const s=v({}),r=c(!1);return u(s),h((()=>{Object.assign(s,{validate:o.value?.validate,restoreValidation:o.value?.restoreValidation})})),x(i,(e=>{"isDisable"in e&&(r.value=e.isDisable)}),{immediate:!0}),()=>l(n,null,[l(de,{exclude:i.exclude,options:e,modelValue:a,"onUpdate:modelValue":e=>a=e,"label-placement":"left","label-width":"130px",rules:t,ref:o,disabled:r.value},null)])}}),a]}const be=i({props:{value:Number},emits:["update:value"],setup(e,{emit:a,attrs:t}){const o=S(e,"value"),n=c(e.value);function i(e){isNaN(Number(e))?(n.value=0,a("update:value",1)):(n.value=Math.round(e),a("update:value",Number(Math.floor(e))))}return x(o,(e=>{n.value=e})),()=>l(ee,A(t,{value:n.value,clearable:!0,"onUpdate:value":i,min:1}),null)}}),ge=e("u",t("account-state-store",(()=>{const e=ce(),{t:a}=o(),t=c(!1),n=c(!1),u=c(null),r=c(null),d=c(30),m=v({data:[],total:0,loading:!1}),p=c([{title:a("Account.Account.accountState-721844-0"),key:"username",width:130,render:a=>l("span",{class:"text-primary cursor-pointer",onClick:()=>e.onLogin(a.account_id)},[a.username])},{title:a("Account.Account.accountState-721844-1"),key:"package_name",width:100},{title:a("Account.Account.accountState-721844-2"),key:"email"},{title:a("Account.Account.accountState-721844-20"),key:"login_info",width:80,render:t=>l("span",{class:"text-primary cursor-pointer",onClick:()=>e.copyInfo({url:t.login_url,user:t.username,pass:t.init_password})},[a("Public.Btn.Copy")])},{key:"quota",title:a("Account.Account.accountState-721844-3"),render:e=>l("span",{class:0===e.disk_space_status?"text-error":""},[0===e.disk_space_used&&0===e.disk_space_quota?"-":L(e.disk_space_used,!0,0),k(" /")," ",0===e.disk_space_quota?l("img",{class:"icon",title:"",src:ne},null):L(e.disk_space_quota,!0,0)])},{key:"bandwidth",title:a("Account.Account.accountState-721844-7"),render:e=>l("span",{class:0===e.monthly_bandwidth_status?"text-error":""},[L(e.monthly_bandwidth_used,!0,2),k(" /")," ",0===e.monthly_bandwidth_limit?l("img",{class:"icon",title:"",src:ne},null):L(e.monthly_bandwidth_limit,!0,0)])},{title:a("Account.Account.accountState-721844-8"),key:"status",width:68,render:t=>{const o=new Map([[-1,a("Account.Account.accountState-721844-9")],[0,a("Account.Account.accountState-721844-10")],[1,a("Account.Account.accountState-721844-11")],[2,a("Account.Account.accountState-721844-12")]]);return l("span",{onClick:()=>e.modifyStatus(t),class:"cursor-pointer "+(1===t.status||-1===t.status?"text-primary":"text-error")},[o.get(t.status)])}},{title:a("Account.Account.accountState-721844-13"),key:"expire_date",width:106,render:e=>"0000-00-00"===e.expire_date?a("Account.Account.account_index_10"):e.expire_date},{title:a("Account.Account.accountState-721844-14"),key:"remark",render:e=>e.remark?e.remark:"--"},D({title:a("Public.Table.Action"),align:"right",width:200,options:o=>[{label:a("Account.Account.accountState-721844-15"),onClick:async()=>{e.onLogin(o.account_id)}},{label:a("Account.Account.accountState-721844-16"),onClick:async()=>{await e.getPackageList(),await e.getDiskList(),g.value=Number(o.account_id),n.value=!0,q.username=o.username,q.password="",q.email=o.email,q.expire_date=o.expire_date,q.remark=o.remark,P.value.package_id=Number(o.package_id),P.value.mountpoint=o.mountpoint,e.changePackage(o.package_id),j.domain=o.domain,t.value=!0}},{label:a("Account.Account.accountState-721844-17"),onClick:async()=>{e.removeAccount(o)}}]})]),_=c([]),b=v({p:1,rows:10,type_id:-1,search_value:""}),g=c(null),A=c([]),x=c([]),F=c([]),S=c([]),[V,q]=me(),[H,j,C]=function(){const{isUserAutoMatic:e,isExistWhite:a}=y(O()),t=B(),o=c(!1),n=v({website_and_email:"yes",domain:"",dns_record:2}),u=c(""),r=v({domain:[{required:!0,message:$.global.t("SSL.index_21"),trigger:"blur"}]}),d=c(),m=()=>{""!==n.domain.trim()?u.value!==n.domain&&(d.value?.getParseStatus(),u.value=n.domain):u.value=""},p=s((()=>d.value?.isSupportAuto));return[i({props:{isEdit:Boolean},setup(i,{expose:u}){const s=c(),p=v({});return u(p),h((()=>{(async()=>{try{o.value=!0,await t.getMailInfo(),t.install&&e.value&&a.value||(n.website_and_email="no")}finally{o.value=!1}})(),Object.assign(p,{validate:s.value?.validate,restoreValidation:s.value?.restoreValidation})})),()=>l(J,{show:o.value},{default:()=>[w(l(le,{ref:s,model:n,rules:r},{default:()=>[l(Z,{label:"Create a website and email"},{default:()=>[l(W,{class:"w-150px",value:n.website_and_email,onUpdateValue:e=>n.website_and_email=e,"onUpdate:value":m,disabled:!e.value||!t.install||!a.value},{default:()=>[l(X,{value:"yes"},{default:()=>[k("Yes")]}),l(X,{value:"no"},{default:()=>[k("No")]})]}),w(l(Y,{"show-icon":!1},{default:()=>[l("div",{class:"flex items-center"},[l(I,{name:"base-info",size:17,class:"mr-8px"},null),l("span",{class:"leading-17px"},[t.install&&e.value?"API not enabled or 127.0.0.1 not added to the API whitelist":"Current Mail Server is not installed or sub-panel version is lower than 1.0.9"])])]}),[[f,!t.install||!e.value||!a.value]])]}),w(l(Z,{label:"Domain",path:"domain"},{default:()=>[l(G,{value:n.domain,onUpdateValue:e=>n.domain=e,onBlur:m},null)]}),[[f,"yes"===n.website_and_email]]),w(l(Z,{label:"DNS record"},{default:()=>[l(W,{value:n.dns_record,onUpdateValue:e=>{n.dns_record=e,m()}},{default:()=>[l(X,{value:2},{default:()=>[l("div",{class:"flex h-15px items-center mr-16px"},[l("div",null,[k("Automatic")]),l(I,{name:"ssl-stars",size:22},null)])]}),l(X,{value:1},{default:()=>[k("Manual")]})]})]}),[[f,"yes"===n.website_and_email]]),w(l(Z,{label:" "},{default:()=>[l(re,{ref:d,domain:n.domain},null)]}),[[f,"yes"===n.website_and_email]])]}),[[f,!i.isEdit]]),w(l(le,null,{default:()=>[w(l(Z,{label:"Domain"},{default:()=>[l(G,{value:n.domain,disabled:!0},null)]}),[[f,n.domain]])]}),[[f,i.isEdit]])]})}}),n,p]}(),P=c({package_id:-1,mountpoint:""}),U=c(),[N,E]=_e();return{addVisible:t,search:b,table:m,columns:p,keys:_,isEdit:n,accountFormRef:u,accountDomainFormRef:r,account_total:d,acForData:q,domainForData:j,expendFormState:P,wpForData:E,packageList:A,packageSourceList:x,diskMountPointList:F,diskMountSourceList:S,current_account_id:g,currentChangeDisk:U,initAccountForm:()=>V,initPackageForm:()=>N,initDomainForm:()=>H,isSupportAuto:C}})))}}})); diff --git a/BTPanel/static/vite/js/accountState-legacy-sqN78ipD.js b/BTPanel/static/vite/js/accountState-legacy-sqN78ipD.js deleted file mode 100644 index 88498c0e..00000000 --- a/BTPanel/static/vite/js/accountState-legacy-sqN78ipD.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./ssl-legacy-BRxc0DyI.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./quota-legacy-BThbMBwZ.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785"],(function(e,a){"use strict";var t,o,l,n,i,u,c,s,r,d,m,p,_,b,g,k,v,y,h,A,w,f,x,F,S,D,V,q,H,j,C,L,P,U,N,E,M,$,O,B,I,R,Y,T,z,Z,W,G,J,K,Q,X,ee,ae,te,oe,le,ne,ie,ue;return{setters:[e=>{t=e.a4,o=e.R,l=e.a0,n=e.F,i=e.k,u=e.am,c=e.r,s=e.c,r=e.$,d=e.a8,m=e.a9,p=e.S,_=e.Z,b=e.ak,g=e._,k=e.j,v=e.e,y=e.a6,h=e.s,A=e.o,w=e.l,f=e.v,x=e.w,F=e.u,S=e.t},e=>{D=e.u},e=>{V=e.Y,q=e.i,H=e.T,j=e.Z,C=e.C,L=e.m,P=e.$,U=e.a0,N=e.a1,E=e.h,M=e.a2,$=e.a3,O=e.L,B=e.a4,I=e.l},e=>{R=e.g},e=>{Y=e.k,T=e.ad,z=e.B,Z=e.a1,W=e.a3,G=e.a4,J=e.b,K=e.a9,Q=e.a8,X=e.a7,ee=e._,ae=e.ah,te=e.al,oe=e.a6},e=>{le=e._},e=>{ne=e.a},e=>{ie=e.c},e=>{ue=e.u}],execute:function(){var a=document.createElement("style");a.textContent=".inline-item{width:100%;display:flex;align-items:center;justify-content:space-between}.inline-item .left-item{flex:1;margin-right:20px}\n/*$vite$:1*/",document.head.appendChild(a),e("b",_e);const ce=e("a",t("aapanelsub-account-store",(()=>{const e=ge(),{t:a}=o(),t=async()=>{try{u(!0);const{message:a}=await V(e.search);q(a)&&(e.table.data=a.list,e.table.total=a.page.count,e.account_total=a.account_total)}finally{u(!1)}},{loading:i,setLoading:u}=ue(),c=async()=>{const{message:a}=await H();q(a)&&(e.packageSourceList=a.list,e.packageList=a.list.map((e=>({label:e.package_name,value:e.package_id}))),a.list.length>0&&(e.expendFormState.package_id=a.list[0].package_id,r(e.expendFormState.package_id)))},s=async()=>{const t=await j();if(q(t)){let o={};e.diskMountSourceList=t.message,e.diskMountPointList=t.message.map((e=>(e.is_default&&(o=e),{label:`${e.mountpoint} (${C(e.used)}/${C(e.total)}) ${a("Account.Account.account_533924-7")}:${e.is_group_quota?a("Account.Account.account_533924-5"):a("Account.Account.account_533924-6")}`,value:e.mountpoint}))),t.message.length>0&&(e.expendFormState.mountpoint=o.mountpoint||t.message[0].mountpoint,e.currentChangeDisk=0===Object.keys(o).length?t.message[0]:o)}},r=async a=>{const t=e.packageSourceList.find((e=>e.package_id===a));if(t){const{package_name:a,disk_space_quota:o,monthly_bandwidth_limit:l,max_site_limit:n,max_database:i,php_start_children:u,php_max_children:c,remark:s}=t;e.wpForData.package_name=a,e.wpForData.disk_space_quota=0==o?{value:"",unlimited:!0}:{value:o/1024/1024,unlimited:!1},e.wpForData.monthly_bandwidth_limit=0==l?{value:"",unlimited:!0}:{value:l/1024/1024,unlimited:!1},e.wpForData.max_site_limit=0===n?{value:"",unlimited:!0}:{value:n,unlimited:!1},e.wpForData.max_database=0==i?{value:"",unlimited:!0}:{value:i,unlimited:!1},e.wpForData.php_start_children=u,e.wpForData.php_max_children=c,e.wpForData.remark=s}},d=()=>{e.acForData.username="",e.acForData.password="",e.acForData.email="",e.acForData.expire_date="0000-00-00",e.expendFormState.package_id=void 0,e.domainForData.domain="",m()},m=()=>{e.wpForData.package_name="",e.wpForData.disk_space_quota={value:"",unlimited:!1},e.wpForData.monthly_bandwidth_limit={value:"",unlimited:!1},e.wpForData.max_site_limit={value:"",unlimited:!1},e.wpForData.max_database={value:"",unlimited:!1},e.wpForData.php_start_children=1,e.wpForData.php_max_children=1,e.wpForData.remark=""};return{init:t,addHost:async()=>{if(e.table.total>=30)return L.error(a("Account.Account.account_533924-9",[30])),!1;d(),await c(),await s(),e.addVisible=!0,e.isEdit=!1},setLoading:u,loading:i,onLogin:async e=>{const{message:a}=await P({account_id:e});q(a)&&window.open(a.login_url+"?token="+a.token)},modifyStatus:async e=>{const{status:t,username:o}=e;E({title:`${a(0===t?"Site.PHP.index_21_2":"Site.PHP.index_21_3")} ${a("Account.Account.account_533924-0",[o])}`,content:a(0===t?"Account.Account.account_533924-1":"Account.Account.account_533924-2"),onConfirm:async()=>{await U({...e,status:0===t?1:0}),e.status=0===t?1:0}})},removeAccount:async e=>{E({title:a("Account.Account.account_673836-0",[e.username]),content:()=>l(n,null,[l("div",null,[a("Account.Account.account_673836-1")])]),onConfirm:async()=>{await M({account_id:e.account_id,is_del_resources:!0}),t()}})},form_save:async()=>{"yes"!==e.domainForData.website_and_email||e.isEdit||await(e.accountDomainFormRef?.validate()),await(e.accountFormRef?.validate());const{domainForData:o,isSupportAuto:l}=e;if(!l&&"yes"===e.domainForData.website_and_email&&!e.isEdit)return L.error("Your domain name does not support Create a website and email"),!1;const n=function(){const{package_id:a,mountpoint:t}=e.expendFormState,{username:o,password:l,email:n,expire_date:i,remark:u}=e.acForData,{disk_space_quota:c,monthly_bandwidth_limit:s,max_site_limit:r,max_database:d,php_start_children:m,php_max_children:p}=e.wpForData;return Object.assign({},{username:o,password:l,email:n,expire_date:i,package_id:a,mountpoint:t,disk_space_quota:c.unlimited?0:String(1024*Number(c.value)*1024),monthly_bandwidth_limit:s.unlimited?0:String(1024*Number(s.value)*1024),max_site_limit:r.unlimited?0:r.value,max_database:d.unlimited?0:d.value,php_start_children:m,php_max_children:p,remark:u})}();if(n.domain="yes"===o.website_and_email?o.domain:null,n.automatic_dns=2===o.dns_record&&"yes"===o.website_and_email?1:0,Number(n.disk_space_quota)>0&&!e.isEdit){const{is_group_quota:t,free:o}=e.currentChangeDisk;if(!t)return L.error(a("Account.Account.account_533924-3")),!1;if(o{const{url:a,user:t,pass:o}=e;ie(`Access address: ${a}\nUsername: ${t}\ninit Password: ${o}`)}}}))),se={key:0,class:"color-desc"},re=i({__name:"automatic",props:{domain:{}},setup(e,{expose:a}){const t=u(),o=e,n=c(),i=s((()=>n.value?.support.includes("auto"))),v=()=>{t.push("/ssl_domain/domain")};return a({getParseStatus:async()=>{const{message:e}=await R({domain:o.domain});q(e)&&(n.value=e)},parseStatus:n,isSupportAuto:i}),(e,a)=>{const t=z,o=Y,u=T;return r(),d(o,null,{default:m((()=>[p(n)?b("",!0):(r(),_("span",se," *The program will use the APl to automatically add the required DNS records forthe mail server and complete the installation of the SSL certifcate. ")),p(n)?(r(),d(o,{key:1},{default:m((()=>[p(i)?(r(),d(u,{key:1,type:"success"},{default:m((()=>a[2]||(a[2]=[k(" Your domain has been connccted to the domain managementccnter, and you can use this fcature to complcte onc-click deployment. ")]))),_:1,__:[2]})):(r(),d(u,{key:0,type:"error"},{default:m((()=>[l(o,{class:"items-center flex-nowrap!"},{default:m((()=>[a[1]||(a[1]=g("span",null,"Your domain has not yet been integrated with the Domain Name Management Center.",-1)),l(t,{type:"primary",size:"small",ghost:"",onClick:v},{default:m((()=>a[0]||(a[0]=[k("Add Now")]))),_:1,__:[0]})])),_:1,__:[1]})])),_:1}))])),_:1})):b("",!0)])),_:1})}}}),de=i({props:{options:Array,modelValue:Object,rules:Object,exclude:Array},setup(e,{attrs:a,slots:t,expose:o}){const i=c(null),u=v({});return o(u),A((()=>{Object.assign(u,{validate:i.value?.validate,restoreValidation:i.value?.restoreValidation})})),()=>l(n,null,[l(X,h(a,{model:e.modelValue,ref:i,rules:e.rules}),{default:()=>l(n,null,[e.options?.filter((a=>!e.exclude?.includes(a.key))).map((o=>function(e,a,t,o){const{label:n,key:i,type:u,options:c,el:s}=e;switch(u){case"input":case"password":return l(Z,h({label:n,path:i},t),{default:()=>[l(J,h({value:a[i],"onUpdate:value":e=>a[i]=e},s),null)]});case"select":return l(Z,h({label:n,path:e.key},t),{default:()=>[l(oe,h({options:c,value:a[i],"onUpdate:value":e=>a[i]=e},s),null)]});case"checkbox":return l(Z,h({label:n,path:e.key},t),{default:()=>[l(te,h({checked:a[i],"onUpdate:checked":e=>a[i]=e},s),null)]});case"date-picker":return l(Z,h({label:n,path:e.key},t),{default:()=>[l(ae,h({"formatted-value":a[i],"onUpdate:formatted-value":e=>a[i]=e,type:"date","value-format":"yyyy-MM-dd"},s),null)]});case"input-number":return l(Z,h({label:n,path:e.key},t),{default:()=>[l(be,h({value:a[i],"onUpdate:value":e=>a[i]=e},s),null)]});case"custom-item":return l(Z,h({label:n,path:e.key},t,{disabled:t.disabled}),{default:()=>[e.slots?.default(t)]});case"custom-slot":return l(Z,h({label:n,path:e.key},t,{disabled:t.disabled}),{default:()=>[o&&o[e.key]?.()]})}}(o,e.modelValue,a,t)))])})])}});function me(){const e=[{type:"input",label:$.global.t("Account.Account.FormHooks-122755-1"),key:"username",el:{disabled:!0}},{type:"custom-slot",label:$.global.t("Account.Account.FormHooks-122755-2"),key:"password"},{type:"input",label:$.global.t("Account.Account.FormHooks-122755-4"),key:"email"},{type:"custom-slot",label:$.global.t("Account.Account.FormHooks-122755-5"),key:"expire_date"},{type:"input",label:$.global.t("Account.Account.FormHooks-122755-14"),key:"remark"}],a=v({username:"",password:"",email:"",expire_date:"0000-00-00",remark:""}),t=v({username:[{required:!0,message:$.global.t("Account.Account.FormHooks-122755-7"),trigger:"blur"}],password:[{required:!0,message:$.global.t("Account.Account.FormHooks-122755-8"),trigger:"blur"}],email:[{required:!0,message:$.global.t("Account.Account.FormHooks-122755-10"),trigger:"blur"}]});return[i({props:{isEdit:Boolean},setup(o,{attrs:n,expose:i,slots:u}){const s=c(),r=v({});return i(r),A((()=>{Object.assign(r,{validate:s.value?.validate,restoreValidation:s.value?.restoreValidation})})),o.isEdit?(e[0].el.disabled=!0,t.password[0].required=!1):(e[0].el.disabled=!1,t.password[0].required=!0),()=>{return l(de,h({options:e,modelValue:a,"onUpdate:modelValue":e=>a=e,"label-placement":"left","label-width":"130px"},n,{rules:t,ref:s}),"function"==typeof(o=u)||"[object Object]"===Object.prototype.toString.call(o)&&!F(o)?u:{default:()=>[u]});var o}}}),a]}const pe=i({props:{modelValue:Object},setup(e,{attrs:a}){const t=v({value:e.modelValue?.value?e.modelValue?.value:0,unlimited:!!e.modelValue?.unlimited&&e.modelValue?.unlimited});return x(t,(a=>{e.modelValue.value=a.value,e.modelValue.unlimited=a.unlimited})),()=>l("div",{class:"inline-item"},[l("div",{class:"left-item"},[l(be,{value:t.value,"onUpdate:value":e=>t.value=e,disabled:e.modelValue?.unlimited||a.disabled},null)]),l("div",{class:"right-item"},[l(Q,{value:t.unlimited,"onUpdate:value":e=>t.unlimited=e,disabled:a.disabled},{checked:()=>$.global.t("Account.Account.FormHooks-122755-12"),unchecked:()=>$.global.t("Account.Account.FormHooks-122755-12")})])])}});function _e(){const e=[{type:"input",label:$.global.t("Account.Account.FormHooks-122755-13"),key:"package_name"},{type:"input",label:$.global.t("Account.Account.FormHooks-122755-14"),key:"remark"},{type:"custom-item",label:$.global.t("Account.Account.FormHooks-122755-15"),key:"disk_space_quota",slots:{default:e=>l(pe,h({modelValue:a.disk_space_quota,"onUpdate:modelValue":e=>a.disk_space_quota=e},e),null)}},{type:"custom-item",label:$.global.t("Account.Account.FormHooks-122755-16"),key:"monthly_bandwidth_limit",slots:{default:e=>l(pe,h({modelValue:a.monthly_bandwidth_limit,"onUpdate:modelValue":e=>a.monthly_bandwidth_limit=e},e),null)}},{type:"custom-item",label:$.global.t("Account.Account.FormHooks-122755-17"),key:"max_site_limit",slots:{default:e=>l(pe,h({modelValue:a.max_site_limit,"onUpdate:modelValue":e=>a.max_site_limit=e},e),null)}},{type:"input-number",label:$.global.t("Account.Account.FormHooks-122755-18"),key:"php_start_children"},{type:"input-number",label:$.global.t("Account.Account.FormHooks-122755-19"),key:"php_max_children"},{type:"custom-item",label:$.global.t("Account.Account.FormHooks-122755-21"),key:"max_database",slots:{default:e=>l(pe,h({modelValue:a.max_database,"onUpdate:modelValue":e=>a.max_database=e},e),null)}}],a=v({package_name:"",remark:"",disk_space_quota:{value:0,unlimited:!0},monthly_bandwidth_limit:{value:0,unlimited:!0},max_site_limit:{value:0,unlimited:!0},php_start_children:1,php_max_children:3,max_email_account:{value:1,unlimited:!1},max_database:{value:0,unlimited:!0}}),t=v({package_name:[{required:!0,message:$.global.t("Account.Account.FormHooks-122755-22"),trigger:"blur"}],disk_space_quota:[{required:!0,message:$.global.t("Account.Account.FormHooks-122755-24"),trigger:"blur",validator:(e,a)=>!!a.unlimited||!!(a.value&&a.value>0)}],monthly_bandwidth_limit:[{required:!0,message:$.global.t("Account.Account.FormHooks-122755-25"),trigger:"blur",validator:(e,a)=>!!a.unlimited||!!(a.value&&a.value>0)}],max_site_limit:[{required:!0,message:$.global.t("Account.Account.FormHooks-122755-26"),trigger:"blur",validator:(e,a)=>!!a.unlimited||!!(a.value&&a.value>0)}],php_start_children:[{required:!0,validator:(e,a)=>!!a||new Error($.global.t("Account.Account.FormHooks-122755-27"))}],php_max_children:[{required:!0,validator:(e,a)=>a>0||new Error($.global.t("Account.Account.FormHooks-122755-28"))}],max_email_account:[{required:!0,message:$.global.t("Account.Account.FormHooks-122755-29"),trigger:"blur",validator:(e,a)=>!!a.unlimited||!!(a.value&&a.value>0)}],max_database:[{required:!0,message:$.global.t("Account.Account.FormHooks-122755-30"),trigger:"blur",validator:(e,a)=>!!a.unlimited||!!(a.value&&a.value>0)}]}),o=c();return[i({props:{isDisable:Boolean,exclude:Array},setup(i,{expose:u}){const s=v({}),r=c(!1);return u(s),A((()=>{Object.assign(s,{validate:o.value?.validate,restoreValidation:o.value?.restoreValidation})})),x(i,(e=>{"isDisable"in e&&(r.value=e.isDisable)}),{immediate:!0}),()=>l(n,null,[l(de,{exclude:i.exclude,options:e,modelValue:a,"onUpdate:modelValue":e=>a=e,"label-placement":"left","label-width":"130px",rules:t,ref:o,disabled:r.value},null)])}}),a]}const be=i({props:{value:Number},emits:["update:value"],setup(e,{emit:a,attrs:t}){const o=S(e,"value"),n=c(e.value);function i(e){isNaN(Number(e))?(n.value=0,a("update:value",1)):(n.value=Math.round(e),a("update:value",Number(Math.floor(e))))}return x(o,(e=>{n.value=e})),()=>l(ee,h(t,{value:n.value,clearable:!0,"onUpdate:value":i,min:1}),null)}}),ge=e("u",t("account-state-store",(()=>{const e=ce(),{t:a}=o(),t=c(!1),n=c(!1),u=c(null),r=c(null),d=c(30),m=v({data:[],total:0,loading:!1}),p=c([{title:a("Account.Account.accountState-721844-0"),key:"username",width:130,render:a=>l("span",{class:"text-primary cursor-pointer",onClick:()=>e.onLogin(a.account_id)},[a.username])},{title:a("Account.Account.accountState-721844-1"),key:"package_name",width:100},{title:a("Account.Account.accountState-721844-2"),key:"email"},{title:a("Account.Account.accountState-721844-20"),key:"login_info",width:80,render:t=>l("span",{class:"text-primary cursor-pointer",onClick:()=>e.copyInfo({url:t.login_url,user:t.username,pass:t.init_password})},[a("Public.Btn.Copy")])},{key:"quota",title:a("Account.Account.accountState-721844-3"),render:e=>l("span",{class:0===e.disk_space_status?"text-error":""},[0===e.disk_space_used&&0===e.disk_space_quota?"-":C(e.disk_space_used,!0,0),k(" /")," ",0===e.disk_space_quota?l("img",{class:"icon",title:"",src:ne},null):C(e.disk_space_quota,!0,0)])},{key:"bandwidth",title:a("Account.Account.accountState-721844-7"),render:e=>l("span",{class:0===e.monthly_bandwidth_status?"text-error":""},[C(e.monthly_bandwidth_used,!0,2),k(" /")," ",0===e.monthly_bandwidth_limit?l("img",{class:"icon",title:"",src:ne},null):C(e.monthly_bandwidth_limit,!0,0)])},{title:a("Account.Account.accountState-721844-8"),key:"status",width:68,render:t=>{const o=new Map([[-1,a("Account.Account.accountState-721844-9")],[0,a("Account.Account.accountState-721844-10")],[1,a("Account.Account.accountState-721844-11")],[2,a("Account.Account.accountState-721844-12")]]);return l("span",{onClick:()=>e.modifyStatus(t),class:"cursor-pointer "+(1===t.status||-1===t.status?"text-primary":"text-error")},[o.get(t.status)])}},{title:a("Account.Account.accountState-721844-13"),key:"expire_date",width:106,render:e=>"0000-00-00"===e.expire_date?a("Account.Account.account_index_10"):e.expire_date},{title:a("Account.Account.accountState-721844-14"),key:"remark",render:e=>e.remark?e.remark:"--"},D({title:a("Public.Table.Action"),align:"right",width:200,options:o=>[{label:a("Account.Account.accountState-721844-15"),onClick:async()=>{e.onLogin(o.account_id)}},{label:a("Account.Account.accountState-721844-16"),onClick:async()=>{await e.getPackageList(),await e.getDiskList(),g.value=Number(o.account_id),n.value=!0,q.username=o.username,q.password="",q.email=o.email,q.expire_date=o.expire_date,q.remark=o.remark,P.value.package_id=Number(o.package_id),P.value.mountpoint=o.mountpoint,e.changePackage(o.package_id),j.domain=o.domain,t.value=!0}},{label:a("Account.Account.accountState-721844-17"),onClick:async()=>{e.removeAccount(o)}}]})]),_=c([]),b=v({p:1,rows:10,type_id:-1,search_value:""}),g=c(null),h=c([]),x=c([]),F=c([]),S=c([]),[V,q]=me(),[H,j,L]=function(){const{isUserAutoMatic:e,isExistWhite:a}=y(O()),t=B(),o=c(!1),n=v({website_and_email:"yes",domain:"",dns_record:2}),u=c(""),r=v({domain:[{required:!0,message:$.global.t("SSL.index_21"),trigger:"blur"}]}),d=c(),m=()=>{""!==n.domain.trim()?u.value!==n.domain&&(d.value?.getParseStatus(),u.value=n.domain):u.value=""},p=s((()=>d.value?.isSupportAuto));return[i({props:{isEdit:Boolean},setup(i,{expose:u}){const s=c(),p=v({});return u(p),A((()=>{(async()=>{try{o.value=!0,await t.getMailInfo(),t.install&&e.value&&a.value||(n.website_and_email="no")}finally{o.value=!1}})(),Object.assign(p,{validate:s.value?.validate,restoreValidation:s.value?.restoreValidation})})),()=>l(K,{show:o.value},{default:()=>[w(l(le,{ref:s,model:n,rules:r},{default:()=>[l(Z,{label:"Create a website and email"},{default:()=>[l(W,{class:"w-150px",value:n.website_and_email,onUpdateValue:e=>n.website_and_email=e,"onUpdate:value":m,disabled:!e.value||!t.install||!a.value},{default:()=>[l(G,{value:"yes"},{default:()=>[k("Yes")]}),l(G,{value:"no"},{default:()=>[k("No")]})]}),w(l(T,{"show-icon":!1},{default:()=>[l("div",{class:"flex items-center"},[l(I,{name:"base-info",size:17,class:"mr-8px"},null),l("span",{class:"leading-17px"},[t.install&&e.value?"API not enabled or 127.0.0.1 not added to the API whitelist":"Current Mail Server is not installed or sub-panel version is lower than 1.0.9"])])]}),[[f,!t.install||!e.value||!a.value]])]}),w(l(Z,{label:"Domain",path:"domain"},{default:()=>[l(J,{value:n.domain,onUpdateValue:e=>n.domain=e,onBlur:m},null)]}),[[f,"yes"===n.website_and_email]]),w(l(Z,{label:"DNS record"},{default:()=>[l(W,{value:n.dns_record,onUpdateValue:e=>{n.dns_record=e,m()}},{default:()=>[l(G,{value:2},{default:()=>[l("div",{class:"flex h-15px items-center mr-16px"},[l("div",null,[k("Automatic")]),l(I,{name:"ssl-stars",size:22},null)])]}),l(G,{value:1},{default:()=>[k("Manual")]})]})]}),[[f,"yes"===n.website_and_email]]),w(l(Z,{label:" "},{default:()=>[l(re,{ref:d,domain:n.domain},null)]}),[[f,"yes"===n.website_and_email]])]}),[[f,!i.isEdit]]),w(l(le,null,{default:()=>[w(l(Z,{label:"Domain"},{default:()=>[l(J,{value:n.domain,disabled:!0},null)]}),[[f,n.domain]])]}),[[f,i.isEdit]])]})}}),n,p]}(),P=c({package_id:-1,mountpoint:""}),U=c(),[N,E]=_e();return{addVisible:t,search:b,table:m,columns:p,keys:_,isEdit:n,accountFormRef:u,accountDomainFormRef:r,account_total:d,acForData:q,domainForData:j,expendFormState:P,wpForData:E,packageList:h,packageSourceList:x,diskMountPointList:F,diskMountSourceList:S,current_account_id:g,currentChangeDisk:U,initAccountForm:()=>V,initPackageForm:()=>N,initDomainForm:()=>H,isSupportAuto:L}})))}}})); diff --git a/BTPanel/static/vite/js/ace-CNnfDSio.js b/BTPanel/static/vite/js/ace-CNnfDSio.js index 83cc5090..9c0abba6 100644 --- a/BTPanel/static/vite/js/ace-CNnfDSio.js +++ b/BTPanel/static/vite/js/ace-CNnfDSio.js @@ -1 +1 @@ -import{a as Ce}from"./prismjs-BZPoR7_J.js?v=1773287522785";var pe={exports:{}},we;function Se(){return we||(we=1,(function(me,Me){(function(){var E="ace",x=(function(){return this})();!x&&typeof window<"u"&&(x=window);var z=function(o,i,n){if(typeof o!="string"){z.original?z.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace());return}arguments.length==2&&(n=i),z.modules[o]||(z.payloads[o]=n,z.modules[o]=null)};z.modules={},z.payloads={};var k=function(o,i,n){if(typeof i=="string"){var t=a(o,i);if(t!=null)return n&&n(),t}else if(Object.prototype.toString.call(i)==="[object Array]"){for(var e=[],r=0,s=i.length;ra.length)&&(S=a.length),S-=M.length;var c=a.indexOf(M,S);return c!==-1&&c===S}),String.prototype.repeat||k(String.prototype,"repeat",function(M){for(var S="",a=this;M>0;)M&1&&(S+=a),(M>>=1)&&(a+=a);return S}),String.prototype.includes||k(String.prototype,"includes",function(M,S){return this.indexOf(M,S)!=-1}),Object.assign||(Object.assign=function(M){if(M==null)throw new TypeError("Cannot convert undefined or null to object");for(var S=Object(M),a=1;a>>0,c=arguments[1],o=c>>0,i=o<0?Math.max(a+o,0):Math.min(o,a),n=arguments[2],t=n===void 0?a:n>>0,e=t<0?Math.max(a+t,0):Math.min(t,a);i0;)a&1&&(c+=S),(a>>=1)&&(S+=S);return c};var k=/^\s\s*/,M=/\s\s*$/;x.stringTrimLeft=function(S){return S.replace(k,"")},x.stringTrimRight=function(S){return S.replace(M,"")},x.copyObject=function(S){var a={};for(var c in S)a[c]=S[c];return a},x.copyArray=function(S){for(var a=[],c=0,o=S.length;c65535?2:1}}),ace.define("ace/lib/useragent",["require","exports","module"],function(E,x,z){x.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},x.getOS=function(){return x.isMac?x.OS.MAC:x.isLinux?x.OS.LINUX:x.OS.WINDOWS};var k=typeof navigator=="object"?navigator:{},M=(/mac|win|linux/i.exec(k.platform)||["other"])[0].toLowerCase(),S=k.userAgent||"",a=k.appName||"";x.isWin=M=="win",x.isMac=M=="mac",x.isLinux=M=="linux",x.isIE=a=="Microsoft Internet Explorer"||a.indexOf("MSAppHost")>=0?parseFloat((S.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((S.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),x.isOldIE=x.isIE&&x.isIE<9,x.isGecko=x.isMozilla=S.match(/ Gecko\/\d+/),x.isOpera=typeof opera=="object"&&Object.prototype.toString.call(window.opera)=="[object Opera]",x.isWebKit=parseFloat(S.split("WebKit/")[1])||void 0,x.isChrome=parseFloat(S.split(" Chrome/")[1])||void 0,x.isSafari=parseFloat(S.split(" Safari/")[1])&&!x.isChrome||void 0,x.isEdge=parseFloat(S.split(" Edge/")[1])||void 0,x.isAIR=S.indexOf("AdobeAIR")>=0,x.isAndroid=S.indexOf("Android")>=0,x.isChromeOS=S.indexOf(" CrOS ")>=0,x.isIOS=/iPad|iPhone|iPod/.test(S)&&!window.MSStream,x.isIOS&&(x.isMac=!0),x.isMobile=x.isIOS||x.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(E,x,z){var k=E("./useragent"),M="http://www.w3.org/1999/xhtml";x.buildDom=function n(t,e,r){if(typeof t=="string"&&t){var s=document.createTextNode(t);return e&&e.appendChild(s),s}if(!Array.isArray(t))return t&&t.appendChild&&e&&e.appendChild(t),t;if(typeof t[0]!="string"||!t[0]){for(var l=[],u=0;u"u")){if(a){if(e)c();else if(e===!1)return a.push([n,t])}if(!S){var r=e;!e||!e.getRootNode?r=document:(r=e.getRootNode(),(!r||r==e)&&(r=document));var s=r.ownerDocument||r;if(t&&x.hasCssString(t,r))return null;t&&(n+="\n/*# sourceURL=ace/css/"+t+" */");var l=x.createElement("style");l.appendChild(s.createTextNode(n)),t&&(l.id=t),r==s&&(r=x.getDocumentHead(s)),r.insertBefore(l,r.firstChild)}}}if(x.importCssString=o,x.importCssStylsheet=function(n,t){x.buildDom(["link",{rel:"stylesheet",href:n}],x.getDocumentHead(t))},x.scrollbarWidth=function(n){var t=x.createElement("ace_inner");t.style.width="100%",t.style.minWidth="0px",t.style.height="200px",t.style.display="block";var e=x.createElement("ace_outer"),r=e.style;r.position="absolute",r.left="-10000px",r.overflow="hidden",r.width="200px",r.minWidth="0px",r.height="150px",r.display="block",e.appendChild(t);var s=n&&n.documentElement||document&&document.documentElement;if(!s)return 0;s.appendChild(e);var l=t.offsetWidth;r.overflow="scroll";var u=t.offsetWidth;return l===u&&(u=e.clientWidth),s.removeChild(e),l-u},x.computedStyle=function(n,t){return window.getComputedStyle(n,"")||{}},x.setStyle=function(n,t,e){n[t]!==e&&(n[t]=e)},x.HAS_CSS_ANIMATION=!1,x.HAS_CSS_TRANSFORMS=!1,x.HI_DPI=k.isWin?typeof window<"u"&&window.devicePixelRatio>=1.5:!0,k.isChromeOS&&(x.HI_DPI=!1),typeof document<"u"){var i=document.createElement("div");x.HI_DPI&&i.style.transform!==void 0&&(x.HAS_CSS_TRANSFORMS=!0),!k.isEdge&&typeof i.style.animationName<"u"&&(x.HAS_CSS_ANIMATION=!0),i=null}x.HAS_CSS_TRANSFORMS?x.translate=function(n,t,e){n.style.transform="translate("+Math.round(t)+"px, "+Math.round(e)+"px)"}:x.translate=function(n,t,e){n.style.top=Math.round(e)+"px",n.style.left=Math.round(t)+"px"}}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(E,x,z){var k=E("./dom");x.get=function(M,S){var a=new XMLHttpRequest;a.open("GET",M,!0),a.onreadystatechange=function(){a.readyState===4&&S(a.responseText)},a.send(null)},x.loadScript=function(M,S){var a=k.getDocumentHead(),c=document.createElement("script");c.src=M,a.appendChild(c),c.onload=c.onreadystatechange=function(o,i){(i||!c.readyState||c.readyState=="loaded"||c.readyState=="complete")&&(c=c.onload=c.onreadystatechange=null,i||S())}},x.qualifyURL=function(M){var S=document.createElement("a");return S.href=M,S.href}}),ace.define("ace/lib/oop",["require","exports","module"],function(E,x,z){x.inherits=function(k,M){k.super_=M,k.prototype=Object.create(M.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}})},x.mixin=function(k,M){for(var S in M)k[S]=M[S];return k},x.implement=function(k,M){x.mixin(k,M)}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(E,x,z){var k={},M=function(){this.propagationStopped=!0},S=function(){this.defaultPrevented=!0};k._emit=k._dispatchEvent=function(a,c){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var o=this._eventRegistry[a]||[],i=this._defaultHandlers[a];if(!(!o.length&&!i)){(typeof c!="object"||!c)&&(c={}),c.type||(c.type=a),c.stopPropagation||(c.stopPropagation=M),c.preventDefault||(c.preventDefault=S),o=o.slice();for(var n=0;n1&&(l=r[r.length-2]);var b=c[e+"Path"];return b==null?b=c.basePath:s=="/"&&(e=s=""),b&&b.slice(-1)!="/"&&(b+="/"),b+e+s+l+this.get("suffix")},x.setModuleUrl=function(t,e){return c.$moduleUrls[t]=e};var o=function(t,e){if(t==="ace/theme/textmate"||t==="./theme/textmate")return e(null,E("./theme/textmate"));if(i)return i(t,e);console.error("loader is not configured")},i;x.setLoader=function(t){i=t},x.dynamicModules=Object.create(null),x.$loading={},x.$loaded={},x.loadModule=function(t,e){var r;if(Array.isArray(t))var s=t[0],l=t[1];else if(typeof t=="string")var l=t;var u=function(b){if(b&&!x.$loading[l])return e&&e(b);if(x.$loading[l]||(x.$loading[l]=[]),x.$loading[l].push(e),!(x.$loading[l].length>1)){var m=function(){o(l,function(g,d){d&&(x.$loaded[l]=d),x._emit("load.module",{name:l,module:d});var $=x.$loading[l];x.$loading[l]=null,$.forEach(function(T){T&&T(d)})})};if(!x.get("packaged"))return m();M.loadScript(x.moduleUrl(l,s),m),n()}};if(x.dynamicModules[l])x.dynamicModules[l]().then(function(b){b.default?u(b.default):u(b)});else{try{r=this.$require(l)}catch(b){}u(r||x.$loaded[l])}},x.$require=function(t){if(typeof z.require=="function"){var e="require";return z[e](t)}},x.setModuleLoader=function(t,e){x.dynamicModules[t]=e};var n=function(){!c.basePath&&!c.workerPath&&!c.modePath&&!c.themePath&&!Object.keys(c.$moduleUrls).length&&(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),n=function(){})};x.version="1.36.2"}),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],function(E,x,z){E("./lib/fixoldbrowsers");var k=E("./config");k.setLoader(function(c,o){E([c],function(i){o(null,i)})});var M=(function(){return this||typeof window<"u"&&window})();z.exports=function(c){k.init=S,k.$require=E,c.require=E},S(!0);function S(c){if(!(!M||!M.document)){k.set("packaged",c||E.packaged||z.packaged||M.define&&(void 0).packaged);var o={},i="",n=document.currentScript||document._currentScript,t=n&&n.ownerDocument||document;n&&n.src&&(i=n.src.split(/[?#]/)[0].split("/").slice(0,-1).join("/")||"");for(var e=t.getElementsByTagName("script"),r=0;r ["+this.end.row+"/"+this.end.column+"]"},M.prototype.contains=function(S,a){return this.compare(S,a)==0},M.prototype.compareRange=function(S){var a,c=S.end,o=S.start;return a=this.compare(c.row,c.column),a==1?(a=this.compare(o.row,o.column),a==1?2:a==0?1:0):a==-1?-2:(a=this.compare(o.row,o.column),a==-1?-1:a==1?42:0)},M.prototype.comparePoint=function(S){return this.compare(S.row,S.column)},M.prototype.containsRange=function(S){return this.comparePoint(S.start)==0&&this.comparePoint(S.end)==0},M.prototype.intersects=function(S){var a=this.compareRange(S);return a==-1||a==0||a==1},M.prototype.isEnd=function(S,a){return this.end.row==S&&this.end.column==a},M.prototype.isStart=function(S,a){return this.start.row==S&&this.start.column==a},M.prototype.setStart=function(S,a){typeof S=="object"?(this.start.column=S.column,this.start.row=S.row):(this.start.row=S,this.start.column=a)},M.prototype.setEnd=function(S,a){typeof S=="object"?(this.end.column=S.column,this.end.row=S.row):(this.end.row=S,this.end.column=a)},M.prototype.inside=function(S,a){return this.compare(S,a)==0?!(this.isEnd(S,a)||this.isStart(S,a)):!1},M.prototype.insideStart=function(S,a){return this.compare(S,a)==0?!this.isEnd(S,a):!1},M.prototype.insideEnd=function(S,a){return this.compare(S,a)==0?!this.isStart(S,a):!1},M.prototype.compare=function(S,a){return!this.isMultiLine()&&S===this.start.row?athis.end.column?1:0:Sthis.end.row?1:this.start.row===S?a>=this.start.column?0:-1:this.end.row===S?a<=this.end.column?0:1:0},M.prototype.compareStart=function(S,a){return this.start.row==S&&this.start.column==a?-1:this.compare(S,a)},M.prototype.compareEnd=function(S,a){return this.end.row==S&&this.end.column==a?1:this.compare(S,a)},M.prototype.compareInside=function(S,a){return this.end.row==S&&this.end.column==a?1:this.start.row==S&&this.start.column==a?-1:this.compare(S,a)},M.prototype.clipRows=function(S,a){if(this.end.row>a)var c={row:a+1,column:0};else if(this.end.rowa)var o={row:a+1,column:0};else if(this.start.row1?(T++,T>4&&(T=1)):T=1,M.isIE){var v=Math.abs(h.clientX-A)>5||Math.abs(h.clientY-C)>5;(!w||v)&&(T=1),w&&clearTimeout(w),w=setTimeout(function(){w=null},m[T-1]||600),T==1&&(A=h.clientX,C=h.clientY)}if(h._clicks=T,g[d]("mousedown",h),T>4)T=0;else if(T>1)return g[d](f[T],h)}Array.isArray(b)||(b=[b]),b.forEach(function(h){t(h,"mousedown",p,$)})};function r(b){return 0|(b.ctrlKey?1:0)|(b.altKey?2:0)|(b.shiftKey?4:0)|(b.metaKey?8:0)}x.getModifierString=function(b){return k.KEY_MODS[r(b)]};function s(b,m,g){var d=r(m);if(!g&&m.code&&(g=k.$codeToKeyCode[m.code]||g),!M.isMac&&S){if(m.getModifierState&&(m.getModifierState("OS")||m.getModifierState("Win"))&&(d|=8),S.altGr)if((3&d)!=3)S.altGr=0;else return;if(g===18||g===17){var $=m.location;if(g===17&&$===1)S[g]==1&&(a=m.timeStamp);else if(g===18&&d===3&&$===2){var T=m.timeStamp-a;T<50&&(S.altGr=!0)}}}if(g in k.MODIFIER_KEYS&&(g=-1),!(!d&&g===13&&m.location===3&&(b(m,d,-g),m.defaultPrevented))){if(M.isChromeOS&&d&8){if(b(m,d,g),m.defaultPrevented)return;d&=-9}return!d&&!(g in k.FUNCTION_KEYS)&&!(g in k.PRINTABLE_KEYS)?!1:b(m,d,g)}}x.addCommandKeyListener=function(b,m,g){var d=null;t(b,"keydown",function($){S[$.keyCode]=(S[$.keyCode]||0)+1;var T=s(m,$,$.keyCode);return d=$.defaultPrevented,T},g),t(b,"keypress",function($){d&&($.ctrlKey||$.altKey||$.shiftKey||$.metaKey)&&(x.stopEvent($),d=null)},g),t(b,"keyup",function($){S[$.keyCode]=null},g),S||(l(),t(window,"focus",l))};function l(){S=Object.create(null)}if(typeof window=="object"&&window.postMessage&&!M.isOldIE){var u=1;x.nextTick=function(b,m){m=m||window;var g="zero-timeout-message-"+u++,d=function($){$.data==g&&(x.stopPropagation($),e(m,"message",d),b())};t(m,"message",d),m.postMessage(g,"*")}}x.$idleBlocked=!1,x.onIdle=function(b,m){return setTimeout(function g(){x.$idleBlocked?setTimeout(g,100):b()},m)},x.$idleBlockId=null,x.blockIdle=function(b){x.$idleBlockId&&clearTimeout(x.$idleBlockId),x.$idleBlocked=!0,x.$idleBlockId=setTimeout(function(){x.$idleBlocked=!1},b||100)},x.nextFrame=typeof window=="object"&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),x.nextFrame?x.nextFrame=x.nextFrame.bind(window):x.nextFrame=function(b){setTimeout(b,17)}}),ace.define("ace/clipboard",["require","exports","module"],function(E,x,z){var k;z.exports={lineMode:!1,pasteCancelled:function(){return k&&k>Date.now()-50?!0:k=!1},cancel:function(){k=Date.now()}}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/config","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],function(E,x,z){var k=E("../lib/event"),M=E("../config").nls,S=E("../lib/useragent"),a=E("../lib/dom"),c=E("../lib/lang"),o=E("../clipboard"),i=S.isChrome<18,n=S.isIE,t=S.isChrome>63,e=400,r=E("../lib/keys"),s=r.KEY_MODS,l=S.isIOS,u=l?/\s/:/\n/,b=S.isMobile,m;m=function(g,d){var $=a.createElement("textarea");$.className="ace_text-input",$.setAttribute("wrap","off"),$.setAttribute("autocorrect","off"),$.setAttribute("autocapitalize","off"),$.setAttribute("spellcheck","false"),$.style.opacity="0",g.insertBefore($,g.firstChild);var T=!1,A=!1,C=!1,w=!1,f="";b||($.style.fontSize="1px");var p=!1,h=!1,v="",y=0,L=0,R=0,_=Number.MAX_SAFE_INTEGER,I=Number.MIN_SAFE_INTEGER,N=0;try{var W=document.activeElement===$}catch(B){}this.setNumberOfExtraLines=function(B){if(_=Number.MAX_SAFE_INTEGER,I=Number.MIN_SAFE_INTEGER,B<0){N=0;return}N=B},this.setAriaOptions=function(B){if(B.activeDescendant?($.setAttribute("aria-haspopup","true"),$.setAttribute("aria-autocomplete",B.inline?"both":"list"),$.setAttribute("aria-activedescendant",B.activeDescendant)):($.setAttribute("aria-haspopup","false"),$.setAttribute("aria-autocomplete","both"),$.removeAttribute("aria-activedescendant")),B.role&&$.setAttribute("role",B.role),B.setLabel){$.setAttribute("aria-roledescription",M("text-input.aria-roledescription","editor"));var G="";if(d.$textInputAriaLabel&&(G+="".concat(d.$textInputAriaLabel,", ")),d.session){var K=d.session.selection.cursor.row;G+=M("text-input.aria-label","Cursor at row $0",[K+1])}$.setAttribute("aria-label",G)}},this.setAriaOptions({role:"textbox"}),k.addListener($,"blur",function(B){h||(d.onBlur(B),W=!1)},d),k.addListener($,"focus",function(B){if(!h){if(W=!0,S.isEdge)try{if(!document.hasFocus())return}catch(G){}d.onFocus(B),S.isEdge?setTimeout(D):D()}},d),this.$focusScroll=!1,this.focus=function(){if(this.setAriaOptions({setLabel:d.renderer.enableKeyboardAccessibility}),f||t||this.$focusScroll=="browser")return $.focus({preventScroll:!0});var B=$.style.top;$.style.position="fixed",$.style.top="0px";try{var G=$.getBoundingClientRect().top!=0}catch(X){return}var K=[];if(G)for(var Q=$.parentElement;Q&&Q.nodeType==1;)K.push(Q),Q.setAttribute("ace_nocontext","true"),!Q.parentElement&&Q.getRootNode?Q=Q.getRootNode().host:Q=Q.parentElement;$.focus({preventScroll:!0}),G&&K.forEach(function(X){X.removeAttribute("ace_nocontext")}),setTimeout(function(){$.style.position="",$.style.top=="0px"&&($.style.top=B)},0)},this.blur=function(){$.blur()},this.isFocused=function(){return W},d.on("beforeEndOperation",function(){var B=d.curOp,G=B&&B.command&&B.command.name;if(G!="insertstring"){var K=G&&(B.docChanged||B.selectionChanged);C&&K&&(v=$.value="",ce()),D()}});var O=function(B,G){for(var K=G,Q=1;Q<=B-_&&Q<2*N+1;Q++)K+=d.session.getLine(B-Q).length+1;return K},D=l?function(B){if(!(!W||T&&!B||w)){B||(B="");var G="\n ab"+B+"cde fg\n";G!=$.value&&($.value=v=G);var K=4,Q=4+(B.length||(d.selection.isEmpty()?0:1));(y!=K||L!=Q)&&$.setSelectionRange(K,Q),y=K,L=Q}}:function(){if(!(C||w)&&!(!W&&!U)){C=!0;var B=0,G=0,K="";if(d.session){var Q=d.selection,X=Q.getRange(),te=Q.cursor.row;te===I+1?(_=I+1,I=_+2*N):te===_-1?(I=_-1,_=I-2*N):(te<_-1||te>I+1)&&(_=te>N?te-N:0,I=te>N?te+N:2*N);for(var ne=[],ie=_;ie<=I;ie++)ne.push(d.session.getLine(ie));if(K=ne.join("\n"),B=O(X.start.row,X.start.column),G=O(X.end.row,X.end.column),X.start.row<_){var ee=d.session.getLine(_-1);B=X.start.row<_-1?0:B,G+=ee.length+1,K=ee+"\n"+K}else if(X.end.row>I){var J=d.session.getLine(I+1);G=X.end.row>I+1?J.length:X.end.column,G+=K.length+1,K=K+"\n"+J}else b&&te>0&&(K="\n"+K,G+=1,B+=1);K.length>e&&(B=v.length&&B.value===v&&v&&B.selectionEnd!==L},H=function(B){C||(T?T=!1:F($)?(d.selectAll(),D()):b&&$.selectionStart!=y&&D())},P=null;this.setInputHandler=function(B){P=B},this.getInputHandler=function(){return P};var U=!1,j=function(B,G){if(U&&(U=!1),A)return D(),B&&d.onPaste(B),A=!1,"";for(var K=$.selectionStart,Q=$.selectionEnd,X=y,te=v.length-L,ne=B,ie=B.length-K,ee=B.length-Q,J=0;X>0&&v[J]==B[J];)J++,X--;for(ne=ne.slice(J),J=1;te>0&&v.length-J>y-1&&v[v.length-J]==B[B.length-J];)J++,te--;ie-=J-1,ee-=J-1;var se=ne.length-J+1;if(se<0&&(X=-se,se=0),ne=ne.slice(0,se),!G&&!ne&&!ie&&!X&&!te&&!ee)return"";w=!0;var he=!1;return S.isAndroid&&ne==". "&&(ne=" ",he=!0),ne&&!X&&!te&&!ie&&!ee||p?d.onTextInput(ne):d.onTextInput(ne,{extendLeft:X,extendRight:te,restoreStart:ie,restoreEnd:ee}),w=!1,v=B,y=K,L=Q,R=ee,he?"\n":ne},V=function(B){if(C)return le();if(B&&B.inputType){if(B.inputType=="historyUndo")return d.execCommand("undo");if(B.inputType=="historyRedo")return d.execCommand("redo")}var G=$.value,K=j(G,!0);(G.length>e+100||u.test(K)||b&&y<1&&y==L)&&D()},Y=function(B,G,K){var Q=B.clipboardData||window.clipboardData;if(!(!Q||i)){var X=n||K?"Text":"text/plain";try{return G?Q.setData(X,G)!==!1:Q.getData(X)}catch(te){if(!K)return Y(te,G,!0)}}},Z=function(B,G){var K=d.getCopyText();if(!K)return k.preventDefault(B);Y(B,K)?(l&&(D(K),T=K,setTimeout(function(){T=!1},10)),G?d.onCut():d.onCopy(),k.preventDefault(B)):(T=!0,$.value=K,$.select(),setTimeout(function(){T=!1,D(),G?d.onCut():d.onCopy()}))},oe=function(B){Z(B,!0)},re=function(B){Z(B,!1)},q=function(B){var G=Y(B);o.pasteCancelled()||(typeof G=="string"?(G&&d.onPaste(G,B),S.isIE&&setTimeout(D),k.preventDefault(B)):($.value="",A=!0))};k.addCommandKeyListener($,function(B,G,K){if(!C)return d.onCommandKey(B,G,K)},d),k.addListener($,"select",H,d),k.addListener($,"input",V,d),k.addListener($,"cut",oe,d),k.addListener($,"copy",re,d),k.addListener($,"paste",q,d),(!("oncut"in $)||!("oncopy"in $)||!("onpaste"in $))&&k.addListener(g,"keydown",function(B){if(!(S.isMac&&!B.metaKey||!B.ctrlKey))switch(B.keyCode){case 67:re(B);break;case 86:q(B);break;case 88:oe(B);break}},d);var ae=function(B){if(!(C||!d.onCompositionStart||d.$readOnly)&&(C={},!p)){B.data&&(C.useTextareaForIME=!1),setTimeout(le,0),d._signal("compositionStart"),d.on("mousedown",de);var G=d.getSelectionRange();G.end.row=G.start.row,G.end.column=G.start.column,C.markerRange=G,C.selectionStart=y,d.onCompositionStart(C),C.useTextareaForIME?(v=$.value="",y=0,L=0):($.msGetInputContext&&(C.context=$.msGetInputContext()),$.getInputContext&&(C.context=$.getInputContext()))}},le=function(){if(!(!C||!d.onCompositionUpdate||d.$readOnly)){if(p)return de();if(C.useTextareaForIME)d.onCompositionUpdate($.value);else{var B=$.value;j(B),C.markerRange&&(C.context&&(C.markerRange.start.column=C.selectionStart=C.context.compositionStartOffset),C.markerRange.end.column=C.markerRange.start.column+L-C.selectionStart+R)}}},ce=function(B){!d.onCompositionEnd||d.$readOnly||(C=!1,d.onCompositionEnd(),d.off("mousedown",de),B&&V())};function de(){h=!0,$.blur(),$.focus(),h=!1}var ve=c.delayedCall(le,50).schedule.bind(null,null);function be(B){B.keyCode==27&&$.value.length<$.selectionStart&&(C||(v=$.value),y=L=-1,D()),ve()}k.addListener($,"compositionstart",ae,d),k.addListener($,"compositionupdate",le,d),k.addListener($,"keyup",be,d),k.addListener($,"keydown",ve,d),k.addListener($,"compositionend",ce,d),this.getElement=function(){return $},this.setCommandMode=function(B){p=B,$.readOnly=!1},this.setReadOnly=function(B){p||($.readOnly=B)},this.setCopyWithEmptySelection=function(B){},this.onContextMenu=function(B){U=!0,D(),d._emit("nativecontextmenu",{target:d,domEvent:B}),this.moveToMouse(B,!0)},this.moveToMouse=function(B,G){f||(f=$.style.cssText),$.style.cssText=(G?"z-index:100000;":"")+(S.isIE?"opacity:0.1;":"")+"text-indent: -"+(y+L)*d.renderer.characterWidth*.5+"px;";var K=d.container.getBoundingClientRect(),Q=a.computedStyle(d.container),X=K.top+(parseInt(Q.borderTopWidth)||0),te=K.left+(parseInt(K.borderLeftWidth)||0),ne=K.bottom-X-$.clientHeight-2,ie=function(ee){a.translate($,ee.clientX-te-2,Math.min(ee.clientY-X-2,ne))};ie(B),B.type=="mousedown"&&(d.renderer.$isMousePressed=!0,clearTimeout(fe),S.isWin&&k.capture(d.container,ie,ue))},this.onContextMenuClose=ue;var fe;function ue(){clearTimeout(fe),fe=setTimeout(function(){f&&($.style.cssText=f,f=""),d.renderer.$isMousePressed=!1,d.renderer.$keepTextAreaAtCursor&&d.renderer.$moveTextAreaToCursor()},0)}var ge=function(B){d.textInput.onContextMenu(B),ue()};k.addListener($,"mouseup",ge,d),k.addListener($,"mousedown",function(B){B.preventDefault(),ue()},d),k.addListener(d.renderer.scroller,"contextmenu",ge,d),k.addListener($,"contextmenu",ge,d),l&&$e(g,d,$);function $e(B,G,K){var Q=null,X=!1;K.addEventListener("keydown",function(ne){Q&&clearTimeout(Q),X=!0},!0),K.addEventListener("keyup",function(ne){Q=setTimeout(function(){X=!1},100)},!0);var te=function(ne){if(document.activeElement===K&&!(X||C||G.$mouseHandler.isMousePressed)&&!T){var ie=K.selectionStart,ee=K.selectionEnd,J=null,se=0;if(ie==0?J=r.up:ie==1?J=r.home:ee>L&&v[ee]=="\n"?J=r.end:ieL&&v.slice(0,ee).split("\n").length>2?J=r.down:ee>L&&v[ee-1]==" "?(J=r.right,se=s.option):(ee>L||ee==L&&L!=y&&ie==ee)&&(J=r.right),ie!==ee&&(se|=s.shift),J){var he=G.onCommandKey({},se,J);if(!he&&G.commands){J=r.keyCodeToString(J);var ye=G.commands.findKeyCommand(se,J);ye&&G.execCommand(ye)}y=ie,L=ee,D("")}}};document.addEventListener("selectionchange",te),G.on("destroy",function(){document.removeEventListener("selectionchange",te)})}this.destroy=function(){$.parentElement&&$.parentElement.removeChild($)}},x.TextInput=m,x.$setUserAgentForTests=function(g,d){b=g,l=d}}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],function(E,x,z){var k=E("../lib/useragent"),M=0,S=550,a=(function(){function i(n){n.$clickSelection=null;var t=n.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(n)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(n)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(n)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(n)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(n));var e=["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"];e.forEach(function(r){n[r]=this[r]},this),n.selectByLines=this.extendSelectionBy.bind(n,"getLineRange"),n.selectByWords=this.extendSelectionBy.bind(n,"getWordRange")}return i.prototype.onMouseDown=function(n){var t=n.inSelection(),e=n.getDocumentPosition();this.mousedownEvent=n;var r=this.editor,s=n.getButton();if(s!==0){var l=r.getSelectionRange(),u=l.isEmpty();(u||s==1)&&r.selection.moveToPosition(e),s==2&&(r.textInput.onContextMenu(n.domEvent),k.isMozilla||n.preventDefault());return}if(this.mousedownEvent.time=Date.now(),t&&!r.isFocused()&&(r.focus(),this.$focusTimeout&&!this.$clickSelection&&!r.inMultiSelectMode)){this.setState("focusWait"),this.captureMouse(n);return}return this.captureMouse(n),this.startSelect(e,n.domEvent._clicks>1),n.preventDefault()},i.prototype.startSelect=function(n,t){n=n||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var e=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?e.selection.selectToPosition(n):t||e.selection.moveToPosition(n),t||this.select(),e.setStyle("ace_selecting"),this.setState("select"))},i.prototype.select=function(){var n,t=this.editor,e=t.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var r=this.$clickSelection.comparePoint(e);if(r==-1)n=this.$clickSelection.end;else if(r==1)n=this.$clickSelection.start;else{var s=o(this.$clickSelection,e);e=s.cursor,n=s.anchor}t.selection.setSelectionAnchor(n.row,n.column)}t.selection.selectToPosition(e),t.renderer.scrollCursorIntoView()},i.prototype.extendSelectionBy=function(n){var t,e=this.editor,r=e.renderer.screenToTextCoordinates(this.x,this.y),s=e.selection[n](r.row,r.column);if(this.$clickSelection){var l=this.$clickSelection.comparePoint(s.start),u=this.$clickSelection.comparePoint(s.end);if(l==-1&&u<=0)t=this.$clickSelection.end,(s.end.row!=r.row||s.end.column!=r.column)&&(r=s.start);else if(u==1&&l>=0)t=this.$clickSelection.start,(s.start.row!=r.row||s.start.column!=r.column)&&(r=s.end);else if(l==-1&&u==1)r=s.end,t=s.start;else{var b=o(this.$clickSelection,r);r=b.cursor,t=b.anchor}e.selection.setSelectionAnchor(t.row,t.column)}e.selection.selectToPosition(r),e.renderer.scrollCursorIntoView()},i.prototype.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting")},i.prototype.focusWait=function(){var n=c(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),t=Date.now();(n>M||t-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},i.prototype.onDoubleClick=function(n){var t=n.getDocumentPosition(),e=this.editor,r=e.session,s=r.getBracketRange(t);s?(s.isEmpty()&&(s.start.column--,s.end.column++),this.setState("select")):(s=e.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=s,this.select()},i.prototype.onTripleClick=function(n){var t=n.getDocumentPosition(),e=this.editor;this.setState("selectByLines");var r=e.getSelectionRange();r.isMultiLine()&&r.contains(t.row,t.column)?(this.$clickSelection=e.selection.getLineRange(r.start.row),this.$clickSelection.end=e.selection.getLineRange(r.end.row).end):this.$clickSelection=e.selection.getLineRange(t.row),this.select()},i.prototype.onQuadClick=function(n){var t=this.editor;t.selectAll(),this.$clickSelection=t.getSelectionRange(),this.setState("selectAll")},i.prototype.onMouseWheel=function(n){if(!n.getAccelKey()){n.getShiftKey()&&n.wheelY&&!n.wheelX&&(n.wheelX=n.wheelY,n.wheelY=0);var t=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var e=this.$lastScroll,r=n.domEvent.timeStamp,s=r-e.t,l=s?n.wheelX/s:e.vx,u=s?n.wheelY/s:e.vy;s=1&&t.renderer.isScrollableBy(n.wheelX*n.speed,0)&&(m=!0),b<=1&&t.renderer.isScrollableBy(0,n.wheelY*n.speed)&&(m=!0),m)e.allowed=r;else if(r-e.allowedS.clientHeight;a||M.preventDefault()}}),ace.define("ace/tooltip",["require","exports","module","ace/lib/dom","ace/lib/event","ace/range","ace/lib/scroll"],function(E,x,z){var k=this&&this.__extends||(function(){var r=function(s,l){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,b){u.__proto__=b}||function(u,b){for(var m in b)Object.prototype.hasOwnProperty.call(b,m)&&(u[m]=b[m])},r(s,l)};return function(s,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");r(s,l);function u(){this.constructor=s}s.prototype=l===null?Object.create(l):(u.prototype=l.prototype,new u)}})(),M=this&&this.__values||function(r){var s=typeof Symbol=="function"&&Symbol.iterator,l=s&&r[s],u=0;if(l)return l.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&u>=r.length&&(r=void 0),{value:r&&r[u++],done:!r}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")},S=E("./lib/dom");E("./lib/event");var a=E("./range").Range,c=E("./lib/scroll").preventParentScroll,o="ace_tooltip",i=(function(){function r(s){this.isOpen=!1,this.$element=null,this.$parentNode=s}return r.prototype.$init=function(){return this.$element=S.createElement("div"),this.$element.className=o,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},r.prototype.getElement=function(){return this.$element||this.$init()},r.prototype.setText=function(s){this.getElement().textContent=s},r.prototype.setHtml=function(s){this.getElement().innerHTML=s},r.prototype.setPosition=function(s,l){this.getElement().style.left=s+"px",this.getElement().style.top=l+"px"},r.prototype.setClassName=function(s){S.addCssClass(this.getElement(),s)},r.prototype.setTheme=function(s){this.$element.className=o+" "+(s.isDark?"ace_dark ":"")+(s.cssClass||"")},r.prototype.show=function(s,l,u){s!=null&&this.setText(s),l!=null&&u!=null&&this.setPosition(l,u),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},r.prototype.hide=function(s){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=o,this.isOpen=!1)},r.prototype.getHeight=function(){return this.getElement().offsetHeight},r.prototype.getWidth=function(){return this.getElement().offsetWidth},r.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},r})(),n=(function(){function r(){this.popups=[]}return r.prototype.addPopup=function(s){this.popups.push(s),this.updatePopups()},r.prototype.removePopup=function(s){var l=this.popups.indexOf(s);l!==-1&&(this.popups.splice(l,1),this.updatePopups())},r.prototype.updatePopups=function(){var s,l,u,b;this.popups.sort(function(f,p){return p.priority-f.priority});var m=[];try{for(var g=M(this.popups),d=g.next();!d.done;d=g.next()){var $=d.value,T=!0;try{for(var A=(u=void 0,M(m)),C=A.next();!C.done;C=A.next()){var w=C.value;if(this.doPopupsOverlap(w,$)){T=!1;break}}}catch(f){u={error:f}}finally{try{C&&!C.done&&(b=A.return)&&b.call(A)}finally{if(u)throw u.error}}T?m.push($):$.hide()}}catch(f){s={error:f}}finally{try{d&&!d.done&&(l=g.return)&&l.call(g)}finally{if(s)throw s.error}}},r.prototype.doPopupsOverlap=function(s,l){var u=s.getElement().getBoundingClientRect(),b=l.getElement().getBoundingClientRect();return u.leftb.left&&u.topb.top},r})(),t=new n;x.popupManager=t,x.Tooltip=i;var e=(function(r){k(s,r);function s(l){l===void 0&&(l=document.body);var u=r.call(this,l)||this;u.timeout=void 0,u.lastT=0,u.idleTime=350,u.lastEvent=void 0,u.onMouseOut=u.onMouseOut.bind(u),u.onMouseMove=u.onMouseMove.bind(u),u.waitForHover=u.waitForHover.bind(u),u.hide=u.hide.bind(u);var b=u.getElement();return b.style.whiteSpace="pre-wrap",b.style.pointerEvents="auto",b.addEventListener("mouseout",u.onMouseOut),b.tabIndex=-1,b.addEventListener("blur",(function(){b.contains(document.activeElement)||this.hide()}).bind(u)),b.addEventListener("wheel",c),u}return s.prototype.addToEditor=function(l){l.on("mousemove",this.onMouseMove),l.on("mousedown",this.hide),l.renderer.getMouseEventTarget().addEventListener("mouseout",this.onMouseOut,!0)},s.prototype.removeFromEditor=function(l){l.off("mousemove",this.onMouseMove),l.off("mousedown",this.hide),l.renderer.getMouseEventTarget().removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},s.prototype.onMouseMove=function(l,u){this.lastEvent=l,this.lastT=Date.now();var b=u.$mouseHandler.isMousePressed;if(this.isOpen){var m=this.lastEvent&&this.lastEvent.getDocumentPosition();(!this.range||!this.range.contains(m.row,m.column)||b||this.isOutsideOfText(this.lastEvent))&&this.hide()}this.timeout||b||(this.lastEvent=l,this.timeout=setTimeout(this.waitForHover,this.idleTime))},s.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var l=Date.now()-this.lastT;if(this.idleTime-l>10){this.timeout=setTimeout(this.waitForHover,this.idleTime-l);return}this.timeout=null,this.lastEvent&&!this.isOutsideOfText(this.lastEvent)&&this.$gatherData(this.lastEvent,this.lastEvent.editor)},s.prototype.isOutsideOfText=function(l){var u=l.editor,b=l.getDocumentPosition(),m=u.session.getLine(b.row);if(b.column==m.length){var g=u.renderer.pixelToScreenCoordinates(l.clientX,l.clientY),d=u.session.documentToScreenPosition(b.row,b.column);if(d.column!=g.column||d.row!=g.row)return!0}return!1},s.prototype.setDataProvider=function(l){this.$gatherData=l},s.prototype.showForRange=function(l,u,b,m){var g=10;if(!(m&&m!=this.lastEvent)&&!(this.isOpen&&document.activeElement==this.getElement())){var d=l.renderer;this.isOpen||(t.addPopup(this),this.$registerCloseEvents(),this.setTheme(d.theme)),this.isOpen=!0,this.addMarker(u,l.session),this.range=a.fromPoints(u.start,u.end);var $=d.textToScreenCoordinates(u.start.row,u.start.column),T=d.scroller.getBoundingClientRect();$.pageX=t.length&&(t=void 0),{value:t&&t[s++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},S=E("../lib/dom"),a=E("../lib/event"),c=E("../tooltip").Tooltip,o=E("../config").nls;E("../lib/lang");function i(t){var e=t.editor,r=e.renderer.$gutterLayer,s=new n(e);t.editor.setDefaultHandler("guttermousedown",function(d){if(!(!e.isFocused()||d.getButton()!=0)){var $=r.getRegion(d);if($!="foldWidgets"){var T=d.getDocumentPosition().row,A=e.session.selection;if(d.getShiftKey())A.selectTo(T,0);else{if(d.domEvent.detail==2)return e.selectAll(),d.preventDefault();t.$clickSelection=e.selection.getLineRange(T)}return t.setState("selectByLines"),t.captureMouse(d),d.preventDefault()}}});var l,u;function b(){var d=u.getDocumentPosition().row,$=e.session.getLength();if(d==$){var T=e.renderer.pixelToScreenCoordinates(0,u.y).row,A=u.$pos;if(T>e.session.documentToScreenRow(A.row,A.column))return m()}if(s.showTooltip(d),!!s.isOpen)if(e.on("mousewheel",m),t.$tooltipFollowsMouse)g(u);else{var C=u.getGutterRow(),w=r.$lines.get(C);if(w){var f=w.element.querySelector(".ace_gutter_annotation"),p=f.getBoundingClientRect(),h=s.getElement().style;h.left=p.right+"px",h.top=p.bottom+"px"}else g(u)}}function m(){l&&(l=clearTimeout(l)),s.isOpen&&(s.hideTooltip(),e.off("mousewheel",m))}function g(d){s.setPosition(d.x,d.y)}t.editor.setDefaultHandler("guttermousemove",function(d){var $=d.domEvent.target||d.domEvent.srcElement;if(S.hasCssClass($,"ace_fold-widget"))return m();s.isOpen&&t.$tooltipFollowsMouse&&g(d),u=d,!l&&(l=setTimeout(function(){l=null,u&&!t.isMousePressed?b():m()},50))}),a.addListener(e.renderer.$gutter,"mouseout",function(d){u=null,!(!s.isOpen||l)&&(l=setTimeout(function(){l=null,m()},50))},e),e.on("changeSession",m),e.on("input",m)}x.GutterHandler=i;var n=(function(t){k(e,t);function e(r){var s=t.call(this,r.container)||this;return s.editor=r,s}return e.prototype.setPosition=function(r,s){var l=window.innerWidth||document.documentElement.clientWidth,u=window.innerHeight||document.documentElement.clientHeight,b=this.getWidth(),m=this.getHeight();r+=15,s+=15,r+b>l&&(r-=r+b-l),s+m>u&&(s-=20+m),c.prototype.setPosition.call(this,r,s)},Object.defineProperty(e,"annotationLabels",{get:function(){return{error:{singular:o("gutter-tooltip.aria-label.error.singular","error"),plural:o("gutter-tooltip.aria-label.error.plural","errors")},security:{singular:o("gutter-tooltip.aria-label.security.singular","security finding"),plural:o("gutter-tooltip.aria-label.security.plural","security findings")},warning:{singular:o("gutter-tooltip.aria-label.warning.singular","warning"),plural:o("gutter-tooltip.aria-label.warning.plural","warnings")},info:{singular:o("gutter-tooltip.aria-label.info.singular","information message"),plural:o("gutter-tooltip.aria-label.info.plural","information messages")},hint:{singular:o("gutter-tooltip.aria-label.hint.singular","suggestion"),plural:o("gutter-tooltip.aria-label.hint.plural","suggestions")}}},enumerable:!1,configurable:!0}),e.prototype.showTooltip=function(r){var s,l=this.editor.renderer.$gutterLayer,u=l.$annotations[r],b;u?b={displayText:Array.from(u.displayText),type:Array.from(u.type)}:b={displayText:[],type:[]};var m=l.session.getFoldLine(r);if(m&&l.$showFoldedAnnotations){for(var g={error:[],security:[],warning:[],info:[],hint:[]},d={error:1,security:2,warning:3,info:4,hint:5},$,T=r+1;T<=m.end.row;T++)if(l.$annotations[T])for(var A=0;Ao?f=null:F-f>=c&&(e.renderer.scrollCursorIntoView(),f=null)}}function v(O,D){var F=Date.now(),H=e.renderer.layerConfig.lineHeight,P=e.renderer.layerConfig.characterWidth,U=e.renderer.scroller.getBoundingClientRect(),j={x:{left:b-U.left,right:U.right-b},y:{top:m-U.top,bottom:U.bottom-m}},V=Math.min(j.x.left,j.x.right),Y=Math.min(j.y.top,j.y.bottom),Z={row:O.row,column:O.column};V/P<=2&&(Z.column+=j.x.left=a&&e.renderer.scrollCursorIntoView(Z):w=F:w=null}function y(){var O=$;$=e.renderer.screenToTextCoordinates(b,m),h($,O),v($,O)}function L(){d=e.selection.toOrientedRange(),u=e.session.addMarker(d,"ace_selection",e.getSelectionStyle()),e.clearSelection(),e.isFocused()&&e.renderer.$cursorLayer.setBlinking(!1),clearInterval(g),y(),g=setInterval(y,20),T=0,M.addListener(document,"mousemove",I)}function R(){clearInterval(g),e.session.removeMarker(u),u=null,e.selection.fromOrientedRange(d),e.isFocused()&&!C&&e.$resetCursorStyle(),d=null,$=null,T=0,w=null,f=null,M.removeListener(document,"mousemove",I)}var _=null;function I(){_==null&&(_=setTimeout(function(){_!=null&&u&&R()},20))}function N(O){var D=O.types;return!D||Array.prototype.some.call(D,function(F){return F=="text/plain"||F=="Text"})}function W(O){var D=["copy","copymove","all","uninitialized"],F=["move","copymove","linkmove","all","uninitialized"],H=S.isMac?O.altKey:O.ctrlKey,P="uninitialized";try{P=O.dataTransfer.effectAllowed.toLowerCase()}catch(j){}var U="none";return H&&D.indexOf(P)>=0?U="copy":F.indexOf(P)>=0?U="move":D.indexOf(P)>=0&&(U="copy"),U}}(function(){this.dragWait=function(){var t=Date.now()-this.mousedownEvent.time;t>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){var t=this.editor.container;t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(t){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var t=this.editor,e=t.container;e.draggable=!0,t.renderer.$cursorLayer.setBlinking(!1),t.setStyle("ace_dragging");var r=S.isWin?"default":"move";t.renderer.setCursorStyle(r),this.setState("dragReady")},this.onMouseDrag=function(t){var e=this.editor.container;if(S.isIE&&this.state=="dragReady"){var r=n(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);r>3&&e.dragDrop()}if(this.state==="dragWait"){var r=n(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);r>0&&(e.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))}},this.onMouseDown=function(t){if(this.$dragEnabled){this.mousedownEvent=t;var e=this.editor,r=t.inSelection(),s=t.getButton(),l=t.domEvent.detail||1;if(l===1&&s===0&&r){if(t.editor.inMultiSelectMode&&(t.getAccelKey()||t.getShiftKey()))return;this.mousedownEvent.time=Date.now();var u=t.domEvent.target||t.domEvent.srcElement;if("unselectable"in u&&(u.unselectable="on"),e.getDragDelay()){if(S.isWebKit){this.cancelDrag=!0;var b=e.container;b.draggable=!0}this.setState("dragWait")}else this.startDrag();this.captureMouse(t,this.onMouseDrag.bind(this)),t.defaultPrevented=!0}}}}).call(i.prototype);function n(t,e,r,s){return Math.sqrt(Math.pow(r-t,2)+Math.pow(s-e,2))}x.DragdropHandler=i}),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],function(E,x,z){var k=E("./mouse_event").MouseEvent,M=E("../lib/event"),S=E("../lib/dom");x.addTouchListeners=function(a,c){var o="scroll",i,n,t,e,r,s,l=0,u,b=0,m=0,g=0,d,$;function T(){var h=window.navigator&&window.navigator.clipboard,v=!1,y=function(){var _=c.getCopyText(),I=c.session.getUndoManager().hasUndo();$.replaceChild(S.buildDom(v?["span",!_&&L("selectall")&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],_&&L("copy")&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],_&&L("cut")&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],h&&L("paste")&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],I&&L("undo")&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],L("find")&&["span",{class:"ace_mobile-button",action:"find"},"Find"],L("openCommandPalette")&&["span",{class:"ace_mobile-button",action:"openCommandPalette"},"Palette"]]:["span"]),$.firstChild)},L=function(_){return c.commands.canExecute(_,c)},R=function(_){var I=_.target.getAttribute("action");if(I=="more"||!v)return v=!v,y();I=="paste"?h.readText().then(function(N){c.execCommand(I,N)}):I&&((I=="cut"||I=="copy")&&(h?h.writeText(c.getCopyText()):document.execCommand("copy")),c.execCommand(I)),$.firstChild.style.display="none",v=!1,I!="openCommandPalette"&&c.focus()};$=S.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(_){o="menu",_.stopPropagation(),_.preventDefault(),c.textInput.focus()},ontouchend:function(_){_.stopPropagation(),_.preventDefault(),R(_)},onclick:R},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],c.container)}function A(){if(!c.getOption("enableMobileMenu")){$&&C();return}$||T();var h=c.selection.cursor,v=c.renderer.textToScreenCoordinates(h.row,h.column),y=c.renderer.textToScreenCoordinates(0,0).pageX,L=c.renderer.scrollLeft,R=c.container.getBoundingClientRect();$.style.top=v.pageY-R.top-3+"px",v.pageX-R.left=2?c.selection.getLineRange(u.row):c.session.getBracketRange(u);h&&!h.isEmpty()?c.selection.setRange(h):c.selection.selectWord(),o="wait"}M.addListener(a,"contextmenu",function(h){if(d){var v=c.textInput.getElement();v.focus()}},c),M.addListener(a,"touchstart",function(h){var v=h.touches;if(r||v.length>1){clearTimeout(r),r=null,t=-1,o="zoom";return}d=c.$mouseHandler.isMousePressed=!0;var y=c.renderer.layerConfig.lineHeight,L=c.renderer.layerConfig.lineHeight,R=h.timeStamp;e=R;var _=v[0],I=_.clientX,N=_.clientY;Math.abs(i-I)+Math.abs(n-N)>y&&(t=-1),i=h.clientX=I,n=h.clientY=N,m=g=0;var W=new k(h,c);if(u=W.getDocumentPosition(),R-t<500&&v.length==1&&!l)b++,h.preventDefault(),h.button=0,f();else{b=0;var O=c.selection.cursor,D=c.selection.isEmpty()?O:c.selection.anchor,F=c.renderer.$cursorLayer.getPixelPosition(O,!0),H=c.renderer.$cursorLayer.getPixelPosition(D,!0),P=c.renderer.scroller.getBoundingClientRect(),U=c.renderer.layerConfig.offset,j=c.renderer.scrollLeft,V=function(oe,re){return oe=oe/L,re=re/y-.75,oe*oe+re*re};if(h.clientXZ?"cursor":"anchor"),Z<3.5?o="anchor":Y<3.5?o="cursor":o="scroll",r=setTimeout(w,450)}t=R},c),M.addListener(a,"touchend",function(h){d=c.$mouseHandler.isMousePressed=!1,s&&clearInterval(s),o=="zoom"?(o="",l=0):r?(c.selection.moveToPosition(u),l=0,A()):o=="scroll"?(p(),C()):A(),clearTimeout(r),r=null},c),M.addListener(a,"touchmove",function(h){r&&(clearTimeout(r),r=null);var v=h.touches;if(!(v.length>1||o=="zoom")){var y=v[0],L=i-y.clientX,R=n-y.clientY;if(o=="wait")if(L*L+R*R>4)o="cursor";else return h.preventDefault();i=y.clientX,n=y.clientY,h.clientX=y.clientX,h.clientY=y.clientY;var _=h.timeStamp,I=_-e;if(e=_,o=="scroll"){var N=new k(h,c);N.speed=1,N.wheelX=L,N.wheelY=R,10*Math.abs(L)0)if(Z==16){for(q=re;q-1){for(q=re;q=0&&H[ce]==d;ce--)D[ce]=k}}}function I(O,D,F){if(!(M=O){for(U=P+1;U=O;)U++;for(j=P,V=U-1;j=D.length||(U=F[H-1])!=s&&U!=l||(j=D[H+1])!=s&&j!=l?u:(S&&(j=l),j==U?j:u);case T:return U=H>0?F[H-1]:b,U==s&&H+10&&F[H-1]==s)return s;if(S)return u;for(Y=H+1,V=D.length;Y=1425&&Z<=2303||Z==64286;if(U=D[Y],oe&&(U==r||U==g))return r}return H<1||(U=D[H-1])==b?u:F[H-1];case b:return S=!1,a=!0,k;case m:return c=!0,u;case w:case f:case h:case v:case p:S=!1;case y:return u}}function W(O){var D=O.charCodeAt(0),F=D>>8;return F==0?D>191?e:L[D]:F==5?/[\u0591-\u05f4]/.test(O)?r:e:F==6?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(O)?C:/[\u0660-\u0669\u066b-\u066c]/.test(O)?l:D==1642?A:/[\u06f0-\u06f9]/.test(O)?s:g:F==32&&D<=8287?R[D&255]:F==254&&D>=65136?g:u}x.L=e,x.R=r,x.EN=s,x.ON_R=3,x.AN=4,x.R_H=5,x.B=6,x.RLE=7,x.DOT="·",x.doBidiReorder=function(O,D,F){if(O.length<2)return{};var H=O.split(""),P=new Array(H.length),U=new Array(H.length),j=[];k=F?t:n,_(H,j,H.length,D);for(var V=0;Vg&&D[V]0&&H[V-1]==="ل"&&/\u0622|\u0623|\u0625|\u0627/.test(H[V])&&(j[V-1]=j[V]=x.R_H,V++);H[H.length-1]===x.DOT&&(j[H.length-1]=x.B),H[0]==="‫"&&(j[0]=x.RLE);for(var V=0;V=0&&(o=this.session.$docRowCache[n])}return o},c.prototype.getSplitIndex=function(){var o=0,i=this.session.$screenRowCache;if(i.length)for(var n,t=this.session.$getRowCacheIndex(i,this.currentRow);this.currentRow-o>0&&(n=this.session.$getRowCacheIndex(i,this.currentRow-o-1),n===t);)t=n,o++;else o=this.currentRow;return o},c.prototype.updateRowLine=function(o,i){o===void 0&&(o=this.getDocumentRow());var n=o===this.session.getLength()-1,t=n?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(o),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var e=this.session.$wrapData[o];e&&(i===void 0&&(i=this.getSplitIndex()),i>0&&e.length?(this.wrapIndent=e.indent,this.wrapOffset=this.wrapIndent*this.charWidths[k.L],this.line=ii?this.session.getOverwrite()?o:o-1:i,t=k.getVisualFromLogicalIdx(n,this.bidiMap),e=this.bidiMap.bidiLevels,r=0;!this.session.getOverwrite()&&o<=i&&e[t]%2!==0&&t++;for(var s=0;si&&e[t]%2===0&&(r+=this.charWidths[e[t]]),this.wrapIndent&&(r+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(r+=this.rtlLineOffset),r},c.prototype.getSelections=function(o,i){var n=this.bidiMap,t=n.bidiLevels,e,r=[],s=0,l=Math.min(o,i)-this.wrapIndent,u=Math.max(o,i)-this.wrapIndent,b=!1,m=!1,g=0;this.wrapIndent&&(s+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var d,$=0;$=l&&dt+s/2;){if(t+=s,e===r.length-1){s=0;break}s=this.charWidths[r[++e]]}return e>0&&r[e-1]%2!==0&&r[e]%2===0?(n0&&r[e-1]%2===0&&r[e]%2!==0?i=1+(n>t?this.bidiMap.logicalFromVisual[e]:this.bidiMap.logicalFromVisual[e-1]):this.isRtlDir&&e===r.length-1&&s===0&&r[e-1]%2===0||!this.isRtlDir&&e===0&&r[e]%2!==0?i=1+this.bidiMap.logicalFromVisual[e]:(e>0&&r[e-1]%2!==0&&s!==0&&e--,i=this.bidiMap.logicalFromVisual[e]),i===0&&this.isRtlDir&&i++,i+this.wrapIndent},c})();x.BidiHandler=a}),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(E,x,z){var k=E("./lib/oop"),M=E("./lib/lang"),S=E("./lib/event_emitter").EventEmitter,a=E("./range").Range,c=(function(){function o(i){this.session=i,this.doc=i.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var n=this;this.cursor.on("change",function(t){n.$cursorChanged=!0,n.$silent||n._emit("changeCursor"),!n.$isEmpty&&!n.$silent&&n._emit("changeSelection"),!n.$keepDesiredColumnOnChange&&t.old.column!=t.value.column&&(n.$desiredColumn=null)}),this.anchor.on("change",function(){n.$anchorChanged=!0,!n.$isEmpty&&!n.$silent&&n._emit("changeSelection")})}return o.prototype.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},o.prototype.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},o.prototype.getCursor=function(){return this.lead.getPosition()},o.prototype.setAnchor=function(i,n){this.$isEmpty=!1,this.anchor.setPosition(i,n)},o.prototype.getAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},o.prototype.getSelectionLead=function(){return this.lead.getPosition()},o.prototype.isBackwards=function(){var i=this.anchor,n=this.lead;return i.row>n.row||i.row==n.row&&i.column>n.column},o.prototype.getRange=function(){var i=this.anchor,n=this.lead;return this.$isEmpty?a.fromPoints(n,n):this.isBackwards()?a.fromPoints(n,i):a.fromPoints(i,n)},o.prototype.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},o.prototype.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},o.prototype.setRange=function(i,n){var t=n?i.end:i.start,e=n?i.start:i.end;this.$setSelection(t.row,t.column,e.row,e.column)},o.prototype.$setSelection=function(i,n,t,e){if(!this.$silent){var r=this.$isEmpty,s=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(i,n),this.cursor.setPosition(t,e),this.$isEmpty=!a.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||r!=this.$isEmpty||s)&&this._emit("changeSelection")}},o.prototype.$moveSelection=function(i){var n=this.lead;this.$isEmpty&&this.setSelectionAnchor(n.row,n.column),i.call(this)},o.prototype.selectTo=function(i,n){this.$moveSelection(function(){this.moveCursorTo(i,n)})},o.prototype.selectToPosition=function(i){this.$moveSelection(function(){this.moveCursorToPosition(i)})},o.prototype.moveTo=function(i,n){this.clearSelection(),this.moveCursorTo(i,n)},o.prototype.moveToPosition=function(i){this.clearSelection(),this.moveCursorToPosition(i)},o.prototype.selectUp=function(){this.$moveSelection(this.moveCursorUp)},o.prototype.selectDown=function(){this.$moveSelection(this.moveCursorDown)},o.prototype.selectRight=function(){this.$moveSelection(this.moveCursorRight)},o.prototype.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},o.prototype.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},o.prototype.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},o.prototype.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},o.prototype.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},o.prototype.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},o.prototype.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},o.prototype.getWordRange=function(i,n){if(typeof n>"u"){var t=i||this.lead;i=t.row,n=t.column}return this.session.getWordRange(i,n)},o.prototype.selectWord=function(){this.setSelectionRange(this.getWordRange())},o.prototype.selectAWord=function(){var i=this.getCursor(),n=this.session.getAWordRange(i.row,i.column);this.setSelectionRange(n)},o.prototype.getLineRange=function(i,n){var t=typeof i=="number"?i:this.lead.row,e,r=this.session.getFoldLine(t);return r?(t=r.start.row,e=r.end.row):e=t,n===!0?new a(t,0,e,this.session.getLine(e).length):new a(t,0,e+1,0)},o.prototype.selectLine=function(){this.setSelectionRange(this.getLineRange())},o.prototype.moveCursorUp=function(){this.moveCursorBy(-1,0)},o.prototype.moveCursorDown=function(){this.moveCursorBy(1,0)},o.prototype.wouldMoveIntoSoftTab=function(i,n,t){var e=i.column,r=i.column+n;return t<0&&(e=i.column-n,r=i.column),this.session.isTabStop(i)&&this.doc.getLine(i.row).slice(e,r).split(" ").length-1==n},o.prototype.moveCursorLeft=function(){var i=this.lead.getPosition(),n;if(n=this.session.getFoldAt(i.row,i.column,-1))this.moveCursorTo(n.start.row,n.start.column);else if(i.column===0)i.row>0&&this.moveCursorTo(i.row-1,this.doc.getLine(i.row-1).length);else{var t=this.session.getTabSize();this.wouldMoveIntoSoftTab(i,t,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-t):this.moveCursorBy(0,-1)}},o.prototype.moveCursorRight=function(){var i=this.lead.getPosition(),n;if(n=this.session.getFoldAt(i.row,i.column,1))this.moveCursorTo(n.end.row,n.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(n.column=e)}}this.moveCursorTo(n.row,n.column)},o.prototype.moveCursorFileEnd=function(){var i=this.doc.getLength()-1,n=this.doc.getLine(i).length;this.moveCursorTo(i,n)},o.prototype.moveCursorFileStart=function(){this.moveCursorTo(0,0)},o.prototype.moveCursorLongWordRight=function(){var i=this.lead.row,n=this.lead.column,t=this.doc.getLine(i),e=t.substring(n);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var r=this.session.getFoldAt(i,n,1);if(r){this.moveCursorTo(r.end.row,r.end.column);return}if(this.session.nonTokenRe.exec(e)&&(n+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,e=t.substring(n)),n>=t.length){this.moveCursorTo(i,t.length),this.moveCursorRight(),i0&&this.moveCursorWordLeft();return}this.session.tokenRe.exec(r)&&(n-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(i,n)},o.prototype.$shortWordEndIndex=function(i){var n=0,t,e=/\s/,r=this.session.tokenRe;if(r.lastIndex=0,this.session.tokenRe.exec(i))n=this.session.tokenRe.lastIndex;else{for(;(t=i[n])&&e.test(t);)n++;if(n<1){for(r.lastIndex=0;(t=i[n])&&!r.test(t);)if(r.lastIndex=0,n++,e.test(t))if(n>2){n--;break}else{for(;(t=i[n])&&e.test(t);)n++;if(n>2)break}}}return r.lastIndex=0,n},o.prototype.moveCursorShortWordRight=function(){var i=this.lead.row,n=this.lead.column,t=this.doc.getLine(i),e=t.substring(n),r=this.session.getFoldAt(i,n,1);if(r)return this.moveCursorTo(r.end.row,r.end.column);if(n==t.length){var s=this.doc.getLength();do i++,e=this.doc.getLine(i);while(i0&&/^\s*$/.test(e));n=e.length,/\s+$/.test(e)||(e="")}var r=M.stringReverse(e),s=this.$shortWordEndIndex(r);return this.moveCursorTo(i,n-s)},o.prototype.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},o.prototype.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},o.prototype.moveCursorBy=function(i,n){var t=this.session.documentToScreenPosition(this.lead.row,this.lead.column),e;if(n===0&&(i!==0&&(this.session.$bidiHandler.isBidiRow(t.row,this.lead.row)?(e=this.session.$bidiHandler.getPosLeft(t.column),t.column=Math.round(e/this.session.$bidiHandler.charWidths[0])):e=t.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?t.column=this.$desiredColumn:this.$desiredColumn=t.column),i!=0&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var r=this.session.lineWidgets[this.lead.row];i<0?i-=r.rowsAbove||0:i>0&&(i+=r.rowCount-(r.rowsAbove||0))}var s=this.session.screenToDocumentPosition(t.row+i,t.column,e);i!==0&&n===0&&s.row===this.lead.row&&(s.column,this.lead.column),this.moveCursorTo(s.row,s.column+n,n===0)},o.prototype.moveCursorToPosition=function(i){this.moveCursorTo(i.row,i.column)},o.prototype.moveCursorTo=function(i,n,t){var e=this.session.getFoldAt(i,n,1);e&&(i=e.start.row,n=e.start.column),this.$keepDesiredColumnOnChange=!0;var r=this.session.getLine(i);/[\uDC00-\uDFFF]/.test(r.charAt(n))&&r.charAt(n-1)&&(this.lead.row==i&&this.lead.column==n+1?n=n-1:n=n+1),this.lead.setPosition(i,n),this.$keepDesiredColumnOnChange=!1,t||(this.$desiredColumn=null)},o.prototype.moveCursorToScreen=function(i,n,t){var e=this.session.screenToDocumentPosition(i,n);this.moveCursorTo(e.row,e.column,t)},o.prototype.detach=function(){this.lead.detach(),this.anchor.detach()},o.prototype.fromOrientedRange=function(i){this.setSelectionRange(i,i.cursor==i.start),this.$desiredColumn=i.desiredColumn||this.$desiredColumn},o.prototype.toOrientedRange=function(i){var n=this.getRange();return i?(i.start.column=n.start.column,i.start.row=n.start.row,i.end.column=n.end.column,i.end.row=n.end.row):i=n,i.cursor=this.isBackwards()?i.start:i.end,i.desiredColumn=this.$desiredColumn,i},o.prototype.getRangeOfMovements=function(i){var n=this.getCursor();try{i(this);var t=this.getCursor();return a.fromPoints(n,t)}catch(e){return a.fromPoints(n,n)}finally{this.moveCursorToPosition(n)}},o.prototype.toJSON=function(){if(this.rangeCount)var i=this.ranges.map(function(n){var t=n.clone();return t.isBackwards=n.cursor==n.start,t});else{var i=this.getRange();i.isBackwards=this.isBackwards()}return i},o.prototype.fromJSON=function(i){if(i.start==null)if(this.rangeList&&i.length>1){this.toSingleRange(i[0]);for(var n=i.length;n--;){var t=a.fromPoints(i[n].start,i[n].end);i[n].isBackwards&&(t.cursor=t.start),this.addRange(t,!0)}return}else i=i[0];this.rangeList&&this.toSingleRange(i),this.setSelectionRange(i,i.isBackwards)},o.prototype.isEqual=function(i){if((i.length||this.rangeCount)&&i.length!=this.rangeCount)return!1;if(!i.length||!this.ranges)return this.getRange().isEqual(i);for(var n=this.ranges.length;n--;)if(!this.ranges[n].isEqual(i[n]))return!1;return!0},o})();c.prototype.setSelectionAnchor=c.prototype.setAnchor,c.prototype.getSelectionAnchor=c.prototype.getAnchor,c.prototype.setSelectionRange=c.prototype.setRange,k.implement(c.prototype,S),x.Selection=c}),ace.define("ace/tokenizer",["require","exports","module","ace/lib/report_error"],function(E,x,z){var k=E("./lib/report_error").reportError,M=2e3,S=(function(){function a(c){this.splitRegex,this.states=c,this.regExps={},this.matchMappings={};for(var o in this.states){for(var i=this.states[o],n=[],t=0,e=this.matchMappings[o]={defaultToken:"text"},r="g",s=[],l=0;l1?u.onMatch=this.$applyToken:u.onMatch=u.token),m>1&&(/\\\d/.test(u.regex)?b=u.regex.replace(/\\([0-9]+)/g,function(g,d){return"\\"+(parseInt(d,10)+t+1)}):(m=1,b=this.removeCapturingGroups(u.regex)),!u.splitRegex&&typeof u.token!="string"&&s.push(u)),e[t]=l,t+=m,n.push(b),u.onMatch||(u.onMatch=null)}}n.length||(e[0]=0,n.push("$")),s.forEach(function(g){g.splitRegex=this.createSplitterRegexp(g.regex,r)},this),this.regExps[o]=new RegExp("("+n.join(")|(")+")|($)",r)}}return a.prototype.$setMaxTokenCount=function(c){M=c|0},a.prototype.$applyToken=function(c){var o=this.splitRegex.exec(c).slice(1),i=this.token.apply(this,o);if(typeof i=="string")return[{type:i,value:c}];for(var n=[],t=0,e=i.length;tu){var A=c.substring(u,T-$.length);m.type==g?m.value+=A:(m.type&&l.push(m),m={type:g,value:A})}for(var C=0;CM){for(b>2*c.length&&this.reportError("infinite loop with in ace tokenizer",{startState:o,line:c});u1&&i[0]!==n&&i.unshift("#tmp",n),{tokens:l,state:i.length?i:n}},a})();S.prototype.reportError=k,x.Tokenizer=S}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/deep_copy"],function(E,x,z){var k=E("../lib/deep_copy").deepCopy,M;M=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}},(function(){this.addRules=function(c,o){if(!o){for(var i in c)this.$rules[i]=c[i];return}for(var i in c){for(var n=c[i],t=0;t=this.$rowTokens.length;){if(this.$row+=1,a||(a=this.$session.getLength()),this.$row>=a)return this.$row=a-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},S.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},S.prototype.getCurrentTokenRow=function(){return this.$row},S.prototype.getCurrentTokenColumn=function(){var a=this.$rowTokens,c=this.$tokenIndex,o=a[c].start;if(o!==void 0)return o;for(o=0;c>0;)c-=1,o+=a[c].value.length;return o},S.prototype.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},S.prototype.getCurrentTokenRange=function(){var a=this.$rowTokens[this.$tokenIndex],c=this.getCurrentTokenColumn();return new k(this.$row,c,this.$row,c+a.value.length)},S})();x.TokenIterator=M}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(E,x,z){var k=E("../../lib/oop"),M=E("../behaviour").Behaviour,S=E("../../token_iterator").TokenIterator,a=E("../../lib/lang"),c=["text","paren.rparen","rparen","paren","punctuation.operator"],o=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],i,n={},t={'"':'"',"'":"'"},e=function(l){var u=-1;if(l.multiSelect&&(u=l.selection.index,n.rangeCount!=l.multiSelect.rangeCount&&(n={rangeCount:l.multiSelect.rangeCount})),n[u])return i=n[u];i=n[u]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},r=function(l,u,b,m){var g=l.end.row-l.start.row;return{text:b+u+m,selection:[0,l.start.column+1,g,l.end.column+(g?0:1)]}},s;s=function(l){l=l||{},this.add("braces","insertion",function(u,b,m,g,d){var $=m.getCursorPosition(),T=g.doc.getLine($.row);if(d=="{"){e(m);var A=m.getSelectionRange(),C=g.doc.getTextRange(A),w=g.getTokenAt($.row,$.column);if(C!==""&&C!=="{"&&m.getWrapBehavioursEnabled())return r(A,C,"{","}");if(w&&/(?:string)\.quasi|\.xml/.test(w.type)){var f=[/tag\-(?:open|name)/,/attribute\-name/];return f.some(function(_){return _.test(w.type)})||/(string)\.quasi/.test(w.type)&&w.value[$.column-w.start-1]!=="$"?void 0:(s.recordAutoInsert(m,g,"}"),{text:"{}",selection:[1,1]})}else if(s.isSaneInsertion(m,g))return/[\]\}\)]/.test(T[$.column])||m.inMultiSelectMode||l.braces?(s.recordAutoInsert(m,g,"}"),{text:"{}",selection:[1,1]}):(s.recordMaybeInsert(m,g,"{"),{text:"{",selection:[1,1]})}else if(d=="}"){e(m);var p=T.substring($.column,$.column+1);if(p=="}"){var h=g.$findOpeningBracket("}",{column:$.column+1,row:$.row});if(h!==null&&s.isAutoInsertedClosing($,T,d))return s.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}else if(d=="\n"||d=="\r\n"){e(m);var v="";s.isMaybeInsertedClosing($,T)&&(v=a.stringRepeat("}",i.maybeInsertedBrackets),s.clearMaybeInsertedClosing());var p=T.substring($.column,$.column+1);if(p==="}"){var y=g.findMatchingBracket({row:$.row,column:$.column+1},"}");if(!y)return null;var L=this.$getIndent(g.getLine(y.row))}else if(v)var L=this.$getIndent(T);else{s.clearMaybeInsertedClosing();return}var R=L+g.getTabString();return{text:"\n"+R+"\n"+L+v,selection:[1,R.length,1,R.length]}}else s.clearMaybeInsertedClosing()}),this.add("braces","deletion",function(u,b,m,g,d){var $=g.doc.getTextRange(d);if(!d.isMultiLine()&&$=="{"){e(m);var T=g.doc.getLine(d.start.row),A=T.substring(d.end.column,d.end.column+1);if(A=="}")return d.end.column++,d;i.maybeInsertedBrackets--}}),this.add("parens","insertion",function(u,b,m,g,d){if(d=="("){e(m);var $=m.getSelectionRange(),T=g.doc.getTextRange($);if(T!==""&&m.getWrapBehavioursEnabled())return r($,T,"(",")");if(s.isSaneInsertion(m,g))return s.recordAutoInsert(m,g,")"),{text:"()",selection:[1,1]}}else if(d==")"){e(m);var A=m.getCursorPosition(),C=g.doc.getLine(A.row),w=C.substring(A.column,A.column+1);if(w==")"){var f=g.$findOpeningBracket(")",{column:A.column+1,row:A.row});if(f!==null&&s.isAutoInsertedClosing(A,C,d))return s.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("parens","deletion",function(u,b,m,g,d){var $=g.doc.getTextRange(d);if(!d.isMultiLine()&&$=="("){e(m);var T=g.doc.getLine(d.start.row),A=T.substring(d.start.column+1,d.start.column+2);if(A==")")return d.end.column++,d}}),this.add("brackets","insertion",function(u,b,m,g,d){if(d=="["){e(m);var $=m.getSelectionRange(),T=g.doc.getTextRange($);if(T!==""&&m.getWrapBehavioursEnabled())return r($,T,"[","]");if(s.isSaneInsertion(m,g))return s.recordAutoInsert(m,g,"]"),{text:"[]",selection:[1,1]}}else if(d=="]"){e(m);var A=m.getCursorPosition(),C=g.doc.getLine(A.row),w=C.substring(A.column,A.column+1);if(w=="]"){var f=g.$findOpeningBracket("]",{column:A.column+1,row:A.row});if(f!==null&&s.isAutoInsertedClosing(A,C,d))return s.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("brackets","deletion",function(u,b,m,g,d){var $=g.doc.getTextRange(d);if(!d.isMultiLine()&&$=="["){e(m);var T=g.doc.getLine(d.start.row),A=T.substring(d.start.column+1,d.start.column+2);if(A=="]")return d.end.column++,d}}),this.add("string_dquotes","insertion",function(u,b,m,g,d){var $=g.$mode.$quotes||t;if(d.length==1&&$[d]){if(this.lineCommentStart&&this.lineCommentStart.indexOf(d)!=-1)return;e(m);var T=d,A=m.getSelectionRange(),C=g.doc.getTextRange(A);if(C!==""&&(C.length!=1||!$[C])&&m.getWrapBehavioursEnabled())return r(A,C,T,T);if(!C){var w=m.getCursorPosition(),f=g.doc.getLine(w.row),p=f.substring(w.column-1,w.column),h=f.substring(w.column,w.column+1),v=g.getTokenAt(w.row,w.column),y=g.getTokenAt(w.row,w.column+1);if(p=="\\"&&v&&/escape/.test(v.type))return null;var L=v&&/string|escape/.test(v.type),R=!y||/string|escape/.test(y.type),_;if(h==T)_=L!==R,_&&/string\.end/.test(y.type)&&(_=!1);else{if(L&&!R||L&&R)return null;var I=g.$mode.tokenRe;I.lastIndex=0;var N=I.test(p);I.lastIndex=0;var W=I.test(h),O=g.$mode.$pairQuotesAfter,D=O&&O[T]&&O[T].test(p);if(!D&&N||W||h&&!/[\s;,.})\]\\]/.test(h))return null;var F=f[w.column-2];if(p==T&&(F==T||I.test(F)))return null;_=!0}return{text:_?T+T:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(u,b,m,g,d){var $=g.$mode.$quotes||t,T=g.doc.getTextRange(d);if(!d.isMultiLine()&&$.hasOwnProperty(T)){e(m);var A=g.doc.getLine(d.start.row),C=A.substring(d.start.column+1,d.start.column+2);if(C==T)return d.end.column++,d}}),l.closeDocComment!==!1&&this.add("doc comment end","insertion",function(u,b,m,g,d){if(u==="doc-start"&&(d==="\n"||d==="\r\n")&&m.selection.isEmpty()){var $=m.getCursorPosition();if($.column===0)return;for(var T=g.doc.getLine($.row),A=g.doc.getLine($.row+1),C=g.getTokens($.row),w=0,f=0;f=$.column){if(w===$.column){if(!/\.doc/.test(p.type))return;if(/\*\//.test(p.value)){var h=C[f+1];if(!h||!/\.doc/.test(h.type))return}}var v=$.column-(w-p.value.length),y=p.value.indexOf("*/"),L=p.value.indexOf("/**",y>-1?y+2:0);if(L!==-1&&v>L&&v=y&&v<=L||!/\.doc/.test(p.type))return;break}}var R=this.$getIndent(T);if(/\s*\*/.test(A))return/^\s*\*/.test(T)?{text:d+R+"* ",selection:[1,2+R.length,1,2+R.length]}:{text:d+R+" * ",selection:[1,3+R.length,1,3+R.length]};if(/\/\*\*/.test(T.substring(0,$.column)))return{text:d+R+" * "+d+" "+R+"*/",selection:[1,4+R.length,1,4+R.length]}}})},s.isSaneInsertion=function(l,u){var b=l.getCursorPosition(),m=new S(u,b.row,b.column);if(!this.$matchTokenType(m.getCurrentToken()||"text",c)){if(/[)}\]]/.test(l.session.getLine(b.row)[b.column]))return!0;var g=new S(u,b.row,b.column+1);if(!this.$matchTokenType(g.getCurrentToken()||"text",c))return!1}return m.stepForward(),m.getCurrentTokenRow()!==b.row||this.$matchTokenType(m.getCurrentToken()||"text",o)},s.$matchTokenType=function(l,u){return u.indexOf(l.type||l)>-1},s.recordAutoInsert=function(l,u,b){var m=l.getCursorPosition(),g=u.doc.getLine(m.row);this.isAutoInsertedClosing(m,g,i.autoInsertedLineEnd[0])||(i.autoInsertedBrackets=0),i.autoInsertedRow=m.row,i.autoInsertedLineEnd=b+g.substr(m.column),i.autoInsertedBrackets++},s.recordMaybeInsert=function(l,u,b){var m=l.getCursorPosition(),g=u.doc.getLine(m.row);this.isMaybeInsertedClosing(m,g)||(i.maybeInsertedBrackets=0),i.maybeInsertedRow=m.row,i.maybeInsertedLineStart=g.substr(0,m.column)+b,i.maybeInsertedLineEnd=g.substr(m.column),i.maybeInsertedBrackets++},s.isAutoInsertedClosing=function(l,u,b){return i.autoInsertedBrackets>0&&l.row===i.autoInsertedRow&&b===i.autoInsertedLineEnd[0]&&u.substr(l.column)===i.autoInsertedLineEnd},s.isMaybeInsertedClosing=function(l,u){return i.maybeInsertedBrackets>0&&l.row===i.maybeInsertedRow&&u.substr(l.column)===i.maybeInsertedLineEnd&&u.substr(0,l.column)==i.maybeInsertedLineStart},s.popAutoInsertedClosing=function(){i.autoInsertedLineEnd=i.autoInsertedLineEnd.substr(1),i.autoInsertedBrackets--},s.clearMaybeInsertedClosing=function(){i&&(i.maybeInsertedBrackets=0,i.maybeInsertedRow=-1)},k.inherits(s,M),x.CstyleBehaviour=s}),ace.define("ace/unicode",["require","exports","module"],function(E,x,z){for(var k=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],M=0,S=[],a=0;a2?F%d!=d-1:F%d==0}}else{if(!this.blockComment)return!1;var T=this.blockComment.start,A=this.blockComment.end,C=new RegExp("^(\\s*)(?:"+o.escapeRegExp(T)+")"),w=new RegExp("(?:"+o.escapeRegExp(A)+")\\s*$"),f=function(_,I){h(_,I)||(!b||/\S/.test(_))&&(u.insertInLine({row:I,column:_.length},A),u.insertInLine({row:I,column:g},T))},p=function(_,I){var N;(N=_.match(w))&&u.removeInLine(I,_.length-N[0].length,_.length),(N=_.match(C))&&u.removeInLine(I,N[1].length,N[0].length)},h=function(_,I){if(C.test(_))return!0;for(var N=r.getTokens(I),W=0;W_.length&&(R=_.length)}),g==1/0&&(g=R,b=!1,m=!1),$&&g%d!=0&&(g=Math.floor(g/d)*d),L(m?p:f)},this.toggleBlockComment=function(e,r,s,l){var u=this.blockComment;if(u){!u.start&&u[0]&&(u=u[0]);var b=new i(r,l.row,l.column),m=b.getCurrentToken();r.selection;var g=r.selection.toOrientedRange(),d,$;if(m&&/comment/.test(m.type)){for(var T,A;m&&/comment/.test(m.type);){var C=m.value.indexOf(u.start);if(C!=-1){var w=b.getCurrentTokenRow(),f=b.getCurrentTokenColumn()+C;T=new n(w,f,w,f+u.start.length);break}m=b.stepBackward()}for(var b=new i(r,l.row,l.column),m=b.getCurrentToken();m&&/comment/.test(m.type);){var C=m.value.indexOf(u.end);if(C!=-1){var w=b.getCurrentTokenRow(),f=b.getCurrentTokenColumn()+C;A=new n(w,f,w,f+u.end.length);break}m=b.stepForward()}A&&r.remove(A),T&&(r.remove(T),d=T.start.row,$=-u.start.length)}else $=u.start.length,d=s.start.row,r.insert(s.end,u.end),r.insert(s.start,u.start);g.start.row==d&&(g.start.column+=$),g.end.row==d&&(g.end.column+=$),r.selection.fromOrientedRange(g)}},this.getNextLineIndent=function(e,r,s){return this.$getIndent(r)},this.checkOutdent=function(e,r,s){return!1},this.autoOutdent=function(e,r,s){},this.$getIndent=function(e){return e.match(/^\s*/)[0]},this.createWorker=function(e){return null},this.createModeDelegates=function(e){this.$embeds=[],this.$modes={};for(var r in e)if(e[r]){var s=e[r],l=s.prototype.$id,u=k.$modes[l];u||(k.$modes[l]=u=new s),k.$modes[r]||(k.$modes[r]=u),this.$embeds.push(r),this.$modes[r]=u}for(var b=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],m=function(d){(function($){var T=b[d],A=$[T];$[b[d]]=function(){return this.$delegator(T,arguments,A)}})(g)},g=this,r=0;rthis.row)){var n=c(i,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)}},o.prototype.setPosition=function(i,n,t){var e;if(t?e={row:i,column:n}:e=this.$clipPositionToDocument(i,n),!(this.row==e.row&&this.column==e.column)){var r={row:this.row,column:this.column};this.row=e.row,this.column=e.column,this._signal("change",{old:r,value:e})}},o.prototype.detach=function(){this.document.off("change",this.$onChange)},o.prototype.attach=function(i){this.document=i||this.document,this.document.on("change",this.$onChange)},o.prototype.$clipPositionToDocument=function(i,n){var t={};return i>=this.document.getLength()?(t.row=Math.max(0,this.document.getLength()-1),t.column=this.document.getLine(t.row).length):i<0?(t.row=0,t.column=0):(t.row=i,t.column=Math.min(this.document.getLine(t.row).length,Math.max(0,n))),n<0&&(t.column=0),t},o})();S.prototype.$insertRight=!1,k.implement(S.prototype,M);function a(o,i,n){var t=n?o.column<=i.column:o.column=e&&(n=e-1,t=void 0);var r=this.getLine(n);return t==null&&(t=r.length),t=Math.min(Math.max(t,0),r.length),{row:n,column:t}},i.prototype.clonePos=function(n){return{row:n.row,column:n.column}},i.prototype.pos=function(n,t){return{row:n,column:t}},i.prototype.$clipPosition=function(n){var t=this.getLength();return n.row>=t?(n.row=Math.max(0,t-1),n.column=this.getLine(t-1).length):(n.row=Math.max(0,n.row),n.column=Math.min(Math.max(n.column,0),this.getLine(n.row).length)),n},i.prototype.insertFullLines=function(n,t){n=Math.min(Math.max(n,0),this.getLength());var e=0;n0,r=t=0&&this.applyDelta({start:this.pos(n,this.getLine(n).length),end:this.pos(n+1,0),action:"remove",lines:["",""]})},i.prototype.replace=function(n,t){if(n instanceof a||(n=a.fromPoints(n.start,n.end)),t.length===0&&n.isEmpty())return n.start;if(t==this.getTextRange(n))return n.end;this.remove(n);var e;return t?e=this.insert(n.start,t):e=n.start,e},i.prototype.applyDeltas=function(n){for(var t=0;t=0;t--)this.revertDelta(n[t])},i.prototype.applyDelta=function(n,t){var e=n.action=="insert";(e?n.lines.length<=1&&!n.lines[0]:!a.comparePoints(n.start,n.end))||(e&&n.lines.length>2e4?this.$splitAndapplyLargeDelta(n,2e4):(M(this.$lines,n,t),this._signal("change",n)))},i.prototype.$safeApplyDelta=function(n){var t=this.$lines.length;(n.action=="remove"&&n.start.row20){i.running=setTimeout(i.$worker,20);break}}i.currentLine=t,e==-1&&(e=t),s<=e&&i.fireUpdateEvent(s,e)}}}return a.prototype.setTokenizer=function(c){this.tokenizer=c,this.lines=[],this.states=[],this.start(0)},a.prototype.setDocument=function(c){this.doc=c,this.lines=[],this.states=[],this.stop()},a.prototype.fireUpdateEvent=function(c,o){var i={first:c,last:o};this._signal("update",{data:i})},a.prototype.start=function(c){this.currentLine=Math.min(c||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},a.prototype.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},a.prototype.$updateOnChange=function(c){var o=c.start.row,i=c.end.row-o;if(i===0)this.lines[o]=null;else if(c.action=="remove")this.lines.splice(o,i+1,null),this.states.splice(o,i+1,null);else{var n=Array(i+1);n.unshift(o,1),this.lines.splice.apply(this.lines,n),this.states.splice.apply(this.states,n)}this.currentLine=Math.min(o,this.currentLine,this.doc.getLength()),this.stop()},a.prototype.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},a.prototype.getTokens=function(c){return this.lines[c]||this.$tokenizeRow(c)},a.prototype.getState=function(c){return this.currentLine==c&&this.$tokenizeRow(c),this.states[c]||"start"},a.prototype.$tokenizeRow=function(c){var o=this.doc.getLine(c),i=this.states[c-1],n=this.tokenizer.getLineTokens(o,i,c);return this.states[c]+""!=n.state+""?(this.states[c]=n.state,this.lines[c+1]=null,this.currentLine>c+1&&(this.currentLine=c+1)):this.currentLine==c&&(this.currentLine=c+1),this.lines[c]=n.tokens},a.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},a})();k.implement(S.prototype,M),x.BackgroundTokenizer=S}),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/range"],function(E,x,z){var k=E("./lib/lang"),M=E("./range").Range,S=(function(){function a(c,o,i){i===void 0&&(i="text"),this.setRegexp(c),this.clazz=o,this.type=i}return a.prototype.setRegexp=function(c){this.regExp+""!=c+""&&(this.regExp=c,this.cache=[])},a.prototype.update=function(c,o,i,n){if(this.regExp)for(var t=n.firstRow,e=n.lastRow,r={},s=t;s<=e;s++){var l=this.cache[s];l==null&&(l=k.getMatchOffsets(i.getLine(s),this.regExp),l.length>this.MAX_RANGES&&(l=l.slice(0,this.MAX_RANGES)),l=l.map(function(g){return new M(s,g.offset,s,g.offset+g.length)}),this.cache[s]=l.length?l:"");for(var u=l.length;u--;){var b=l[u].toScreenRange(i),m=b.toString();r[m]||(r[m]=!0,o.drawSingleLineMarker(c,b,this.clazz,n))}}},a})();S.prototype.MAX_RANGES=500,x.SearchHighlight=S}),ace.define("ace/undomanager",["require","exports","module","ace/range"],function(E,x,z){var k=(function(){function g(){this.$keepRedoStack,this.$maxRev=0,this.$fromUndo=!1,this.$undoDepth=1/0,this.reset()}return g.prototype.addSession=function(d){this.$session=d},g.prototype.add=function(d,$,T){if(!this.$fromUndo&&d!=this.$lastDelta){if(this.$keepRedoStack||(this.$redoStack.length=0),$===!1||!this.lastDeltas){this.lastDeltas=[];var A=this.$undoStack.length;A>this.$undoDepth-1&&this.$undoStack.splice(0,A-this.$undoDepth+1),this.$undoStack.push(this.lastDeltas),d.id=this.$rev=++this.$maxRev}(d.action=="remove"||d.action=="insert")&&(this.$lastDelta=d),this.lastDeltas.push(d)}},g.prototype.addSelection=function(d,$){this.selections.push({value:d,rev:$||this.$rev})},g.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},g.prototype.markIgnored=function(d,$){$==null&&($=this.$rev+1);for(var T=this.$undoStack,A=T.length;A--;){var C=T[A][0];if(C.id<=d)break;C.id<$&&(C.ignore=!0)}this.lastDeltas=null},g.prototype.getSelection=function(d,$){for(var T=this.selections,A=T.length;A--;){var C=T[A];if(C.rev0},g.prototype.canRedo=function(){return this.$redoStack.length>0},g.prototype.bookmark=function(d){d==null&&(d=this.$rev),this.mark=d},g.prototype.isAtBookmark=function(){return this.$rev===this.mark},g.prototype.toJSON=function(){return{$redoStack:this.$redoStack,$undoStack:this.$undoStack}},g.prototype.fromJSON=function(d){this.reset(),this.$undoStack=d.$undoStack,this.$redoStack=d.$redoStack},g.prototype.$prettyPrint=function(d){return d?i(d):i(this.$undoStack)+"\n---\n"+i(this.$redoStack)},g})();k.prototype.hasUndo=k.prototype.canUndo,k.prototype.hasRedo=k.prototype.canRedo,k.prototype.isClean=k.prototype.isAtBookmark,k.prototype.markClean=k.prototype.bookmark;function M(g,d){for(var $=d;$--;){var T=g[$];if(T&&!T[0].ignore){for(;$"+g.end.row+":"+g.end.column}function t(g,d){var $=g.action=="insert",T=d.action=="insert";if($&&T)if(a(d.start,g.end)>=0)s(d,g,-1);else if(a(d.start,g.start)<=0)s(g,d,1);else return null;else if($&&!T)if(a(d.start,g.end)>=0)s(d,g,-1);else if(a(d.end,g.start)<=0)s(g,d,-1);else return null;else if(!$&&T)if(a(d.start,g.start)>=0)s(d,g,1);else if(a(d.start,g.start)<=0)s(g,d,1);else return null;else if(!$&&!T)if(a(d.start,g.start)>=0)s(d,g,1);else if(a(d.end,g.start)<=0)s(g,d,-1);else return null;return[d,g]}function e(g,d){for(var $=g.length;$--;)for(var T=0;T=0?s(g,d,-1):(a(g.start,d.start)<=0||s(g,S.fromPoints(d.start,g.start),-1),s(d,g,1));else if(!$&&T)a(d.start,g.end)>=0?s(d,g,-1):(a(d.start,g.start)<=0||s(d,S.fromPoints(g.start,d.start),-1),s(g,d,1));else if(!$&&!T)if(a(d.start,g.end)>=0)s(d,g,-1);else if(a(d.end,g.start)<=0)s(g,d,-1);else{var A,C;return a(g.start,d.start)<0&&(A=g,g=u(g,d.start)),a(g.end,d.end)>0&&(C=u(g,d.end)),l(d.end,g.start,g.end,-1),C&&!A&&(g.lines=C.lines,g.start=C.start,g.end=C.end,C=g),[d,A,C].filter(Boolean)}return[d,g]}function s(g,d,$){l(g.start,d.start,d.end,$),l(g.end,d.start,d.end,$)}function l(g,d,$,T){g.row==(T==1?d:$).row&&(g.column+=T*($.column-d.column)),g.row+=T*($.row-d.row)}function u(g,d){var $=g.lines,T=g.end;g.end=c(d);var A=g.end.row-g.start.row,C=$.splice(A,$.length),w=A?d.column:d.column-g.start.column;$.push(C[0].substring(0,w)),C[0]=C[0].substr(w);var f={start:c(d),end:T,lines:C,action:g.action};return f}function b(g,d){d=o(d);for(var $=g.length;$--;){for(var T=g[$],A=0;Athis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(a),this.folds.sort(function(c,o){return-c.range.compareEnd(o.start.row,o.start.column)}),this.range.compareEnd(a.start.row,a.start.column)>0?(this.end.row=a.end.row,this.end.column=a.end.column):this.range.compareStart(a.end.row,a.end.column)<0&&(this.start.row=a.start.row,this.start.column=a.start.column)}else if(a.start.row==this.end.row)this.folds.push(a),this.end.row=a.end.row,this.end.column=a.end.column;else if(a.end.row==this.start.row)this.folds.unshift(a),this.start.row=a.start.row,this.start.column=a.start.column;else throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");a.foldLine=this},S.prototype.containsRow=function(a){return a>=this.start.row&&a<=this.end.row},S.prototype.walk=function(a,c,o){var i=0,n=this.folds,t,e,r,s=!0;c==null&&(c=this.end.row,o=this.end.column);for(var l=0;l0)){var s=M(c,e.start);return r===0?o&&s!==0?-t-2:t:s>0||s===0&&!o?t:-t-1}}return-t-1},a.prototype.add=function(c){var o=!c.isEmpty(),i=this.pointIndex(c.start,o);i<0&&(i=-i-1);var n=this.pointIndex(c.end,o,i);return n<0?n=-n-1:n++,this.ranges.splice(i,n-i,c)},a.prototype.addList=function(c){for(var o=[],i=c.length;i--;)o.push.apply(o,this.add(c[i]));return o},a.prototype.substractPoint=function(c){var o=this.pointIndex(c);if(o>=0)return this.ranges.splice(o,1)},a.prototype.merge=function(){var c=[],o=this.ranges;o=o.sort(function(r,s){return M(r.start,s.start)});for(var i=o[0],n,t=1;t=0},a.prototype.containsPoint=function(c){return this.pointIndex(c)>=0},a.prototype.rangeAtPoint=function(c){var o=this.pointIndex(c);if(o>=0)return this.ranges[o]},a.prototype.clipRows=function(c,o){var i=this.ranges;if(i[0].start.row>o||i[i.length-1].start.row=n)break}if(c.action=="insert")for(var u=t-n,b=-o.column+i.column;rn)break;if(l.start.row==n&&l.start.column>=o.column&&(l.start.column==o.column&&this.$bias<=0||(l.start.column+=b,l.start.row+=u)),l.end.row==n&&l.end.column>=o.column){if(l.end.column==o.column&&this.$bias<0)continue;l.end.column==o.column&&b>0&&rl.start.column&&l.end.column==e[r+1].start.column&&(l.end.column-=b),l.end.column+=b,l.end.row+=u}}else for(var u=n-t,b=o.column-i.column;rt)break;l.end.rowo.column)&&(l.end.column=o.column,l.end.row=o.row):(l.end.column+=b,l.end.row+=u):l.end.row>t&&(l.end.row+=u),l.start.rowo.column)&&(l.start.column=o.column,l.start.row=o.row):(l.start.column+=b,l.start.row+=u):l.start.row>t&&(l.start.row+=u)}if(u!=0&&r=i)return r;if(r.end.row>i)return null}return null},this.getNextFoldLine=function(i,n){var t=this.$foldData,e=0;for(n&&(e=t.indexOf(n)),e==-1&&(e=0),e;e=i)return r}return null},this.getFoldedRowCount=function(i,n){for(var t=this.$foldData,e=n-i+1,r=0;r=n){u=i?e-=n-u:e=0);break}else l>=i&&(u>=i?e-=l-u:e-=l-i+1)}return e},this.$addFoldLine=function(i){return this.$foldData.push(i),this.$foldData.sort(function(n,t){return n.start.row-t.start.row}),i},this.addFold=function(i,n){var t=this.$foldData,e=!1,r;i instanceof S?r=i:(r=new S(n,i),r.collapseChildren=n.collapseChildren),this.$clipRangeToDocument(r.range);var s=r.start.row,l=r.start.column,u=r.end.row,b=r.end.column,m=this.getFoldAt(s,l,1),g=this.getFoldAt(u,b,-1);if(m&&g==m)return m.addSubFold(r);m&&!m.range.isStart(s,l)&&this.removeFold(m),g&&!g.range.isEnd(u,b)&&this.removeFold(g);var d=this.getFoldsInRange(r.range);d.length>0&&(this.removeFolds(d),r.collapseChildren||d.forEach(function(C){r.addSubFold(C)}));for(var $=0;$0&&this.foldAll(i.start.row+1,i.end.row,i.collapseChildren-1),i.subFolds=[]},this.expandFolds=function(i){i.forEach(function(n){this.expandFold(n)},this)},this.unfold=function(i,n){var t,e;if(i==null)t=new k(0,0,this.getLength(),0),n==null&&(n=!0);else if(typeof i=="number")t=new k(i,0,i,this.getLine(i).length);else if("row"in i)t=k.fromPoints(i,i);else{if(Array.isArray(i))return e=[],i.forEach(function(s){e=e.concat(this.unfold(s))},this),e;t=i}e=this.getFoldsInRangeList(t);for(var r=e;e.length==1&&k.comparePoints(e[0].start,t.start)<0&&k.comparePoints(e[0].end,t.end)>0;)this.expandFolds(e),e=this.getFoldsInRangeList(t);if(n!=!1?this.removeFolds(e):this.expandFolds(e),r.length)return r},this.isRowFolded=function(i,n){return!!this.getFoldLine(i,n)},this.getRowFoldEnd=function(i,n){var t=this.getFoldLine(i,n);return t?t.end.row:i},this.getRowFoldStart=function(i,n){var t=this.getFoldLine(i,n);return t?t.start.row:i},this.getFoldDisplayLine=function(i,n,t,e,r){e==null&&(e=i.start.row),r==null&&(r=0),n==null&&(n=i.end.row),t==null&&(t=this.getLine(n).length);var s=this.doc,l="";return i.walk(function(u,b,m,g){if(!(bm)break;while(r&&l.test(r.type));r=e.stepBackward()}else r=e.getCurrentToken();return u.end.row=e.getCurrentTokenRow(),u.end.column=e.getCurrentTokenColumn(),u}},this.foldAll=function(i,n,t,e){t==null&&(t=1e5);var r=this.foldWidgets;if(r){n=n||this.getLength(),i=i||0;for(var s=i;s=i&&(s=l.end.row,l.collapseChildren=t,this.addFold("...",l))}}},this.foldToLevel=function(i){for(this.foldAll();i-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var i=this;this.foldAll(null,null,null,function(n){for(var t=i.getTokens(n),e=0;e=0;){var s=t[e];if(s==null&&(s=t[e]=this.getFoldWidget(e)),s=="start"){var l=this.getFoldWidgetRange(e);if(r||(r=l),l&&l.end.row>=i)break}e--}return{range:e!==-1&&l,firstRange:r}},this.onFoldWidgetClick=function(i,n){n instanceof c&&(n=n.domEvent);var t={children:n.shiftKey,all:n.ctrlKey||n.metaKey,siblings:n.altKey},e=this.$toggleFoldWidget(i,t);if(!e){var r=n.target||n.srcElement;r&&/ace_fold-widget/.test(r.className)&&(r.className+=" ace_invalid")}},this.$toggleFoldWidget=function(i,n){if(this.getFoldWidget){var t=this.getFoldWidget(i),e=this.getLine(i),r=t==="end"?-1:1,s=this.getFoldAt(i,r===-1?0:e.length,r);if(s)return n.children||n.all?this.removeFold(s):this.expandFold(s),s;var l=this.getFoldWidgetRange(i,!0);if(l&&!l.isMultiLine()&&(s=this.getFoldAt(l.start.row,l.start.column,1),s&&l.isEqual(s.range)))return this.removeFold(s),s;if(n.siblings){var u=this.getParentFoldRangeData(i);if(u.range)var b=u.range.start.row+1,m=u.range.end.row;this.foldAll(b,m,n.all?1e4:0)}else n.children?(m=l?l.end.row:this.getLength(),this.foldAll(i+1,m,n.all?1e4:0)):l&&(n.all&&(l.collapseChildren=1e4),this.addFold("...",l));return l}},this.toggleFoldWidget=function(i){var n=this.selection.getCursor().row;n=this.getRowFoldStart(n);var t=this.$toggleFoldWidget(n,{});if(!t){var e=this.getParentFoldRangeData(n,!0);if(t=e.range||e.firstRange,t){n=t.start.row;var r=this.getFoldAt(n,this.getLine(n).length,1);r?this.removeFold(r):this.addFold("...",t)}}},this.updateFoldWidgets=function(i){var n=i.start.row,t=i.end.row-n;if(t===0)this.foldWidgets[n]=null;else if(i.action=="remove")this.foldWidgets.splice(n,t+1,null);else{var e=Array(t+1);e.unshift(n,1),this.foldWidgets.splice.apply(this.foldWidgets,e)}},this.tokenizerUpdateFoldWidgets=function(i){var n=i.data;n.first!=n.last&&this.foldWidgets.length>n.first&&this.foldWidgets.splice(n.first,this.foldWidgets.length)}}x.Folding=o}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(E,x,z){var k=E("../token_iterator").TokenIterator,M=E("../range").Range;function S(){this.findMatchingBracket=function(a,c){if(a.column==0)return null;var o=c||this.getLine(a.row).charAt(a.column-1);if(o=="")return null;var i=o.match(/([\(\[\{])|([\)\]\}])/);return i?i[1]?this.$findClosingBracket(i[1],a):this.$findOpeningBracket(i[2],a):null},this.getBracketRange=function(a){var c=this.getLine(a.row),o=!0,i,n=c.charAt(a.column-1),t=n&&n.match(/([\(\[\{])|([\)\]\}])/);if(t||(n=c.charAt(a.column),a={row:a.row,column:a.column+1},t=n&&n.match(/([\(\[\{])|([\)\]\}])/),o=!1),!t)return null;if(t[1]){var e=this.$findClosingBracket(t[1],a);if(!e)return null;i=M.fromPoints(a,e),o||(i.end.column++,i.start.column--),i.cursor=i.end}else{var e=this.$findOpeningBracket(t[2],a);if(!e)return null;i=M.fromPoints(e,a),o||(i.start.column++,i.end.column--),i.cursor=i.start}return i},this.getMatchingBracketRanges=function(a,c){var o=this.getLine(a.row),i=/([\(\[\{])|([\)\]\}])/,n=!c&&o.charAt(a.column-1),t=n&&n.match(i);if(t||(n=(c===void 0||c)&&o.charAt(a.column),a={row:a.row,column:a.column+1},t=n&&n.match(i)),!t)return null;var e=new M(a.row,a.column-1,a.row,a.column),r=t[1]?this.$findClosingBracket(t[1],a):this.$findOpeningBracket(t[2],a);if(!r)return[e];var s=new M(r.row,r.column,r.row,r.column+1);return[e,s]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(a,c,o){var i=this.$brackets[a],n=1,t=new k(this,c.row,c.column),e=t.getCurrentToken();if(e||(e=t.stepForward()),!!e){o||(o=new RegExp("(\\.?"+e.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)").replace(/-close\b/,"-(close|open)")+")+"));for(var r=c.column-t.getCurrentTokenColumn()-2,s=e.value;;){for(;r>=0;){var l=s.charAt(r);if(l==i){if(n-=1,n==0)return{row:t.getCurrentTokenRow(),column:r+t.getCurrentTokenColumn()}}else l==a&&(n+=1);r-=1}do e=t.stepBackward();while(e&&!o.test(e.type));if(e==null)break;s=e.value,r=s.length-1}return null}},this.$findClosingBracket=function(a,c,o){var i=this.$brackets[a],n=1,t=new k(this,c.row,c.column),e=t.getCurrentToken();if(e||(e=t.stepForward()),!!e){o||(o=new RegExp("(\\.?"+e.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)").replace(/-open\b/,"-(close|open)")+")+"));for(var r=c.column-t.getCurrentTokenColumn();;){for(var s=e.value,l=s.length;r"?i=!0:c.type.indexOf("tag-name")!==-1&&(o=!0));while(c&&!o);return c},this.$findClosingTag=function(a,c){var o,i=c.value,n=c.value,t=0,e=new M(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);c=a.stepForward();var r=new M(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+c.value.length),s=!1;do{if(o=c,o.type.indexOf("tag-close")!==-1&&!s){var l=new M(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);s=!0}if(c=a.stepForward(),c){if(c.value===">"&&!s){var l=new M(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);s=!0}if(c.type.indexOf("tag-name")!==-1){if(i=c.value,n===i){if(o.value==="<")t++;else if(o.value==="")var m=new M(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);else return}}}else if(n===i&&c.value==="/>"&&(t--,t<0))var u=new M(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+2),b=u,m=b,l=new M(r.end.row,r.end.column,r.end.row,r.end.column+1)}}while(c&&t>=0);if(e&&l&&u&&m&&r&&b)return{openTag:new M(e.start.row,e.start.column,l.end.row,l.end.column),closeTag:new M(u.start.row,u.start.column,m.end.row,m.end.column),openTagName:r,closeTagName:b}},this.$findOpeningTag=function(a,c){var o=a.getCurrentToken(),i=c.value,n=0,t=a.getCurrentTokenRow(),e=a.getCurrentTokenColumn(),r=e+2,s=new M(t,e,t,r);a.stepForward();var l=new M(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+c.value.length);if(c.type.indexOf("tag-close")===-1&&(c=a.stepForward()),!(!c||c.value!==">")){var u=new M(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);a.stepBackward(),a.stepBackward();do if(c=o,t=a.getCurrentTokenRow(),e=a.getCurrentTokenColumn(),r=e+c.value.length,o=a.stepBackward(),c){if(c.type.indexOf("tag-name")!==-1){if(i===c.value)if(o.value==="<"){if(n++,n>0){var b=new M(t,e,t,r),m=new M(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);do c=a.stepForward();while(c&&c.value!==">");var g=new M(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1)}}else o.value===""){for(var d=0,$=o;$;){if($.type.indexOf("tag-name")!==-1&&$.value===i){n--;break}else if($.value==="<")break;$=a.stepBackward(),d++}for(var T=0;Th&&(this.$docRowCache.splice(h,p),this.$screenRowCache.splice(h,p))},w.prototype.$getRowCacheIndex=function(f,p){for(var h=0,v=f.length-1;h<=v;){var y=h+v>>1,L=f[y];if(p>L)h=y+1;else if(p=p));L++);return v=h[L],v?(v.index=L,v.start=y-v.value.length,v):null},w.prototype.setUndoManager=function(f){if(this.$undoManager=f,this.$informUndoManager&&this.$informUndoManager.cancel(),f){var p=this;f.addSession(this),this.$syncInformUndoManager=function(){p.$informUndoManager.cancel(),p.mergeUndoDeltas=!1},this.$informUndoManager=M.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},w.prototype.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},w.prototype.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},w.prototype.getTabString=function(){return this.getUseSoftTabs()?M.stringRepeat(" ",this.getTabSize()):" "},w.prototype.setUseSoftTabs=function(f){this.setOption("useSoftTabs",f)},w.prototype.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},w.prototype.setTabSize=function(f){this.setOption("tabSize",f)},w.prototype.getTabSize=function(){return this.$tabSize},w.prototype.isTabStop=function(f){return this.$useSoftTabs&&f.column%this.$tabSize===0},w.prototype.setNavigateWithinSoftTabs=function(f){this.setOption("navigateWithinSoftTabs",f)},w.prototype.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},w.prototype.setOverwrite=function(f){this.setOption("overwrite",f)},w.prototype.getOverwrite=function(){return this.$overwrite},w.prototype.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},w.prototype.addGutterDecoration=function(f,p){this.$decorations[f]||(this.$decorations[f]=""),this.$decorations[f]+=" "+p,this._signal("changeBreakpoint",{})},w.prototype.removeGutterDecoration=function(f,p){this.$decorations[f]=(this.$decorations[f]||"").replace(" "+p,""),this._signal("changeBreakpoint",{})},w.prototype.getBreakpoints=function(){return this.$breakpoints},w.prototype.setBreakpoints=function(f){this.$breakpoints=[];for(var p=0;p0&&(v=!!h.charAt(p-1).match(this.tokenRe)),v||(v=!!h.charAt(p).match(this.tokenRe)),v)var y=this.tokenRe;else if(/^\s+$/.test(h.slice(p-1,p+1)))var y=/\s/;else var y=this.nonTokenRe;var L=p;if(L>0){do L--;while(L>=0&&h.charAt(L).match(y));L++}for(var R=p;Rf&&(f=p.screenWidth)}),this.lineWidgetWidth=f},w.prototype.$computeWidth=function(f){if(this.$modified||f){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var p=this.doc.getAllLines(),h=this.$rowLengthCache,v=0,y=0,L=this.$foldData[y],R=L?L.start.row:1/0,_=p.length,I=0;I<_;I++){if(I>R){if(I=L.end.row+1,I>=_)break;L=this.$foldData[y++],R=L?L.start.row:1/0}h[I]==null&&(h[I]=this.$getStringScreenWidth(p[I])[0]),h[I]>v&&(v=h[I])}this.screenWidth=v}},w.prototype.getLine=function(f){return this.doc.getLine(f)},w.prototype.getLines=function(f,p){return this.doc.getLines(f,p)},w.prototype.getLength=function(){return this.doc.getLength()},w.prototype.getTextRange=function(f){return this.doc.getTextRange(f||this.selection.getRange())},w.prototype.insert=function(f,p){return this.doc.insert(f,p)},w.prototype.remove=function(f){return this.doc.remove(f)},w.prototype.removeFullLines=function(f,p){return this.doc.removeFullLines(f,p)},w.prototype.undoChanges=function(f,p){if(f.length){this.$fromUndo=!0;for(var h=f.length-1;h!=-1;h--){var v=f[h];v.action=="insert"||v.action=="remove"?this.doc.revertDelta(v):v.folds&&this.addFolds(v.folds)}!p&&this.$undoSelect&&(f.selectionBefore?this.selection.fromJSON(f.selectionBefore):this.selection.setRange(this.$getUndoSelection(f,!0))),this.$fromUndo=!1}},w.prototype.redoChanges=function(f,p){if(f.length){this.$fromUndo=!0;for(var h=0;hf.end.column&&(L.start.column+=_),L.end.row==f.end.row&&L.end.column>f.end.column&&(L.end.column+=_)),R&&L.start.row>=f.end.row&&(L.start.row+=R,L.end.row+=R)}if(L.end=this.insert(L.start,v),y.length){var I=f.start,N=L.start,R=N.row-I.row,_=N.column-I.column;this.addFolds(y.map(function(D){return D=D.clone(),D.start.row==I.row&&(D.start.column+=_),D.end.row==I.row&&(D.end.column+=_),D.start.row+=R,D.end.row+=R,D}))}return L},w.prototype.indentRows=function(f,p,h){h=h.replace(/\t/g,this.getTabString());for(var v=f;v<=p;v++)this.doc.insertInLine({row:v,column:0},h)},w.prototype.outdentRows=function(f){for(var p=f.collapseRows(),h=new n(0,0,0,0),v=this.getTabSize(),y=p.start.row;y<=p.end.row;++y){var L=this.getLine(y);h.start.row=y,h.end.row=y;for(var R=0;R0){var v=this.getRowFoldEnd(p+h);if(v>this.doc.getLength()-1)return 0;var y=v-p}else{f=this.$clipRowToDocument(f),p=this.$clipRowToDocument(p);var y=p-f+1}var L=new n(f,0,p,Number.MAX_VALUE),R=this.getFoldsInRange(L).map(function(I){return I=I.clone(),I.start.row+=y,I.end.row+=y,I}),_=h==0?this.doc.getLines(f,p):this.doc.removeFullLines(f,p);return this.doc.insertFullLines(f+y,_),R.length&&this.addFolds(R),y},w.prototype.moveLinesUp=function(f,p){return this.$moveLines(f,p,-1)},w.prototype.moveLinesDown=function(f,p){return this.$moveLines(f,p,1)},w.prototype.duplicateLines=function(f,p){return this.$moveLines(f,p,0)},w.prototype.$clipRowToDocument=function(f){return Math.max(0,Math.min(f,this.doc.getLength()-1))},w.prototype.$clipColumnToRow=function(f,p){return p<0?0:Math.min(this.doc.getLine(f).length,p)},w.prototype.$clipPositionToDocument=function(f,p){if(p=Math.max(0,p),f<0)f=0,p=0;else{var h=this.doc.getLength();f>=h?(f=h-1,p=this.doc.getLine(h-1).length):p=Math.min(this.doc.getLine(f).length,p)}return{row:f,column:p}},w.prototype.$clipRangeToDocument=function(f){f.start.row<0?(f.start.row=0,f.start.column=0):f.start.column=this.$clipColumnToRow(f.start.row,f.start.column);var p=this.doc.getLength()-1;return f.end.row>p?(f.end.row=p,f.end.column=this.doc.getLine(p).length):f.end.column=this.$clipColumnToRow(f.end.row,f.end.column),f},w.prototype.setUseWrapMode=function(f){if(f!=this.$useWrapMode){if(this.$useWrapMode=f,this.$modified=!0,this.$resetRowCache(0),f){var p=this.getLength();this.$wrapData=Array(p),this.$updateWrapData(0,p-1)}this._signal("changeWrapMode")}},w.prototype.getUseWrapMode=function(){return this.$useWrapMode},w.prototype.setWrapLimitRange=function(f,p){(this.$wrapLimitRange.min!==f||this.$wrapLimitRange.max!==p)&&(this.$wrapLimitRange={min:f,max:p},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},w.prototype.adjustWrapLimit=function(f,p){var h=this.$wrapLimitRange;h.max<0&&(h={min:p,max:p});var v=this.$constrainWrapLimit(f,h.min,h.max);return v!=this.$wrapLimit&&v>1?(this.$wrapLimit=v,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0):!1},w.prototype.$constrainWrapLimit=function(f,p,h){return p&&(f=Math.max(p,f)),h&&(f=Math.min(h,f)),f},w.prototype.getWrapLimit=function(){return this.$wrapLimit},w.prototype.setWrapLimit=function(f){this.setWrapLimitRange(f,f)},w.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},w.prototype.$updateInternalDataOnChange=function(f){var p=this.$useWrapMode,h=f.action,v=f.start,y=f.end,L=v.row,R=y.row,_=R-L,I=null;if(this.$updating=!0,_!=0)if(h==="remove"){this[p?"$wrapData":"$rowLengthCache"].splice(L,_);var N=this.$foldData;I=this.getFoldsInRange(f),this.removeFolds(I);var W=this.getFoldLine(y.row),O=0;if(W){W.addRemoveChars(y.row,y.column,v.column-y.column),W.shiftRow(-_);var D=this.getFoldLine(L);D&&D!==W&&(D.merge(W),W=D),O=N.indexOf(W)+1}for(O;O=y.row&&W.shiftRow(-_)}R=L}else{var F=Array(_);F.unshift(L,0);var H=p?this.$wrapData:this.$rowLengthCache;H.splice.apply(H,F);var N=this.$foldData,W=this.getFoldLine(L),O=0;if(W){var P=W.range.compareInside(v.row,v.column);P==0?(W=W.split(v.row,v.column),W&&(W.shiftRow(_),W.addRemoveChars(R,0,y.column-v.column))):P==-1&&(W.addRemoveChars(L,0,y.column-v.column),W.shiftRow(_)),O=N.indexOf(W)+1}for(O;O=L&&W.shiftRow(_)}}else{_=Math.abs(f.start.column-f.end.column),h==="remove"&&(I=this.getFoldsInRange(f),this.removeFolds(I),_=-_);var W=this.getFoldLine(L);W&&W.addRemoveChars(L,v.column,_)}return p&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,p?this.$updateWrapData(L,R):this.$updateRowLengthCache(L,R),I},w.prototype.$updateRowLengthCache=function(f,p){this.$rowLengthCache[f]=null,this.$rowLengthCache[p]=null},w.prototype.$updateWrapData=function(f,p){var h=this.doc.getAllLines(),v=this.getTabSize(),y=this.$wrapData,L=this.$wrapLimit,R,_,I=f;for(p=Math.min(p,h.length-1);I<=p;)_=this.getFoldLine(I,_),_?(R=[],_.walk((function(N,W,O,D){var F;if(N!=null){F=this.$getDisplayTokens(N,R.length),F[0]=m;for(var H=1;Hp-D;){var F=L+p-D;if(f[F-1]>=$&&f[F]>=$){O(F);continue}if(f[F]==m||f[F]==g){for(F;F!=L-1&&f[F]!=m;F--);if(F>L){O(F);continue}for(F=L+p,F;F>2)),L-1);F>H&&f[F]H&&f[F]H&&f[F]==d;)F--}else for(;F>H&&f[F]<$;)F--;if(F>H){O(++F);continue}F=L+p,f[F]==b&&F--,O(F-D)}return v},w.prototype.$getDisplayTokens=function(f,p){var h=[],v;p=p||0;for(var y=0;y39&&L<48||L>57&&L<64?h.push(d):L>=4352&&C(L)?h.push(u,b):h.push(u)}return h},w.prototype.$getStringScreenWidth=function(f,p,h){if(p==0)return[0,0];p==null&&(p=1/0),h=h||0;var v,y;for(y=0;y=4352&&C(v)?h+=2:h+=1,!(h>p));y++);return[h,y]},w.prototype.getRowLength=function(f){var p=1;return this.lineWidgets&&(p+=this.lineWidgets[f]&&this.lineWidgets[f].rowCount||0),!this.$useWrapMode||!this.$wrapData[f]?p:this.$wrapData[f].length+p},w.prototype.getRowLineCount=function(f){return!this.$useWrapMode||!this.$wrapData[f]?1:this.$wrapData[f].length+1},w.prototype.getRowWrapIndent=function(f){if(this.$useWrapMode){var p=this.screenToDocumentPosition(f,Number.MAX_VALUE),h=this.$wrapData[p.row];return h.length&&h[0]=0)var _=N[W],y=this.$docRowCache[W],D=f>N[O-1];else var D=!O;for(var F=this.getLength()-1,H=this.getNextFoldLine(y),P=H?H.start.row:1/0;_<=f&&(I=this.getRowLength(y),!(_+I>f||y>=F));)_+=I,y++,y>P&&(y=H.end.row+1,H=this.getNextFoldLine(y,H),P=H?H.start.row:1/0),D&&(this.$docRowCache.push(y),this.$screenRowCache.push(_));if(H&&H.start.row<=y)v=this.getFoldDisplayLine(H),y=H.start.row;else{if(_+I<=f||y>F)return{row:F,column:this.getLine(F).length};v=this.getLine(y),H=null}var U=0,j=Math.floor(f-_);if(this.$useWrapMode){var V=this.$wrapData[y];V&&(R=V[j],j>0&&V.length&&(U=V.indent,L=V[j-1]||V[V.length-1],v=v.substring(L)))}return h!==void 0&&this.$bidiHandler.isBidiRow(_+j,y,j)&&(p=this.$bidiHandler.offsetToCol(h)),L+=this.$getStringScreenWidth(v,p-U)[1],this.$useWrapMode&&L>=R&&(L=R-1),H?H.idxToPosition(L):{row:y,column:L}},w.prototype.documentToScreenPosition=function(f,p){if(typeof p>"u")var h=this.$clipPositionToDocument(f.row,f.column);else h=this.$clipPositionToDocument(f,p);f=h.row,p=h.column;var v=0,y=null,L=null;L=this.getFoldAt(f,p,1),L&&(f=L.start.row,p=L.start.column);var R,_=0,I=this.$docRowCache,N=this.$getRowCacheIndex(I,f),W=I.length;if(W&&N>=0)var _=I[N],v=this.$screenRowCache[N],O=f>I[W-1];else var O=!W;for(var D=this.getNextFoldLine(_),F=D?D.start.row:1/0;_=F){if(R=D.end.row+1,R>f)break;D=this.getNextFoldLine(R,D),F=D?D.start.row:1/0}else R=_+1;v+=this.getRowLength(_),_=R,O&&(this.$docRowCache.push(_),this.$screenRowCache.push(v))}var H="";D&&_>=F?(H=this.getFoldDisplayLine(D,f,p),y=D.start.row):(H=this.getLine(f).substring(0,p),y=f);var P=0;if(this.$useWrapMode){var U=this.$wrapData[y];if(U){for(var j=0;H.length>=U[j];)v++,j++;H=H.substring(U[j-1]||0,H.length),P=j>0?U.indent:0}}return this.lineWidgets&&this.lineWidgets[_]&&this.lineWidgets[_].rowsAbove&&(v+=this.lineWidgets[_].rowsAbove),{row:v,column:P+this.$getStringScreenWidth(H)[0]}},w.prototype.documentToScreenColumn=function(f,p){return this.documentToScreenPosition(f,p).column},w.prototype.documentToScreenRow=function(f,p){return this.documentToScreenPosition(f,p).row},w.prototype.getScreenLength=function(){var f=0,p=null;if(this.$useWrapMode)for(var y=this.$wrapData.length,L=0,v=0,p=this.$foldData[v++],R=p?p.start.row:1/0;LR&&(L=p.end.row+1,p=this.$foldData[v++],R=p?p.start.row:1/0)}else{f=this.getLength();for(var h=this.$foldData,v=0;vh));L++);return[v,L]})},w.prototype.getPrecedingCharacter=function(){var f=this.selection.getCursor();if(f.column===0)return f.row===0?"":this.doc.getNewLineCharacter();var p=this.getLine(f.row);return p[f.column-1]},w.prototype.destroy=function(){this.destroyed||(this.bgTokenizer.setDocument(null),this.bgTokenizer.cleanup(),this.destroyed=!0),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection.detach()},w})();l.$uid=0,l.prototype.$modes=a.$modes,l.prototype.getValue=l.prototype.toString,l.prototype.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},l.prototype.$overwrite=!1,l.prototype.$mode=null,l.prototype.$modeId=null,l.prototype.$scrollTop=0,l.prototype.$scrollLeft=0,l.prototype.$wrapLimit=80,l.prototype.$useWrapMode=!1,l.prototype.$wrapLimitRange={min:null,max:null},l.prototype.lineWidgets=null,l.prototype.isFullWidth=C,k.implement(l.prototype,c);var u=1,b=2,m=3,g=4,d=9,$=10,T=11,A=12;function C(w){return w<4352?!1:w>=4352&&w<=4447||w>=4515&&w<=4519||w>=4602&&w<=4607||w>=9001&&w<=9002||w>=11904&&w<=11929||w>=11931&&w<=12019||w>=12032&&w<=12245||w>=12272&&w<=12283||w>=12288&&w<=12350||w>=12353&&w<=12438||w>=12441&&w<=12543||w>=12549&&w<=12589||w>=12593&&w<=12686||w>=12688&&w<=12730||w>=12736&&w<=12771||w>=12784&&w<=12830||w>=12832&&w<=12871||w>=12880&&w<=13054||w>=13056&&w<=19903||w>=19968&&w<=42124||w>=42128&&w<=42182||w>=43360&&w<=43388||w>=44032&&w<=55203||w>=55216&&w<=55238||w>=55243&&w<=55291||w>=63744&&w<=64255||w>=65040&&w<=65049||w>=65072&&w<=65106||w>=65108&&w<=65126||w>=65128&&w<=65131||w>=65281&&w<=65376||w>=65504&&w<=65510}E("./edit_session/folding").Folding.call(l.prototype),E("./edit_session/bracket_match").BracketMatch.call(l.prototype),a.defineOptions(l.prototype,"session",{wrap:{set:function(w){if(!w||w=="off"?w=!1:w=="free"?w=!0:w=="printMargin"?w=-1:typeof w=="string"&&(w=parseInt(w,10)||!1),this.$wrap!=w)if(this.$wrap=w,!w)this.setUseWrapMode(!1);else{var f=typeof w=="number"?w:null;this.setWrapLimitRange(f,f),this.setUseWrapMode(!0)}},get:function(){return this.getUseWrapMode()?this.$wrap==-1?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(w){w=w=="auto"?this.$mode.type!="text":w!="text",w!=this.$wrapAsCode&&(this.$wrapAsCode=w,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(w){this.$useWorker=w,this.$stopWorker(),w&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(w){w=parseInt(w),w>0&&this.$tabSize!==w&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=w,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(w){this.setFoldStyle(w)},handlesSet:!0},overwrite:{set:function(w){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(w){this.doc.setNewLineMode(w)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(w){this.setMode(w)},get:function(){return this.$modeId},handlesSet:!0}}),x.EditSession=l}),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(E,x,z){var k=E("./lib/lang"),M=E("./lib/oop"),S=E("./range").Range,a=(function(){function o(){this.$options={}}return o.prototype.set=function(i){return M.mixin(this.$options,i),this},o.prototype.getOptions=function(){return k.copyObject(this.$options)},o.prototype.setOptions=function(i){this.$options=i},o.prototype.find=function(i){var n=this.$options,t=this.$matchIterator(i,n);if(!t)return!1;var e=null;return t.forEach(function(r,s,l,u){return e=new S(r,s,l,u),s==u&&n.start&&n.start.start&&n.skipCurrent!=!1&&e.isEqual(n.start)?(e=null,!1):!0}),e},o.prototype.findAll=function(i){var n=this.$options;if(!n.needle)return[];this.$assembleRegExp(n);var t=n.range,e=t?i.getLines(t.start.row,t.end.row):i.doc.getAllLines(),r=[],s=n.re;if(n.$isMultiLine){var l=s.length,u=e.length-l,b;e:for(var m=s.offset||0;m<=u;m++){for(var g=0;gT||(r.push(b=new S(m,T,m+l-1,A)),l>2&&(m=m+l-2))}}else for(var C=0;Ch&&r[g].end.row==v;)g--;for(r=r.slice(C,g+1),C=0,g=r.length;C=b;A--)if($(A,Number.MAX_VALUE,T))return;if(n.wrap!=!1){for(A=m,b=u.row;A>=b;A--)if($(A,Number.MAX_VALUE,T))return}}};else var g=function(A){var C=u.row;if(!$(C,u.column,A)){for(C=C+1;C<=m;C++)if($(C,0,A))return;if(n.wrap!=!1){for(C=b,m=u.row;C<=m;C++)if($(C,0,A))return}}};if(n.$isMultiLine)var d=t.length,$=function(T,A,C){var w=e?T-d+1:T;if(!(w<0||w+d>i.getLength())){var f=i.getLine(w),p=f.search(t[0]);if(!(!e&&pA)&&C(w,p,w+d-1,v))return!0}}};else if(e)var $=function(A,C,w){var f=i.getLine(A),p=[],h,v=0;for(t.lastIndex=0;h=t.exec(f);){var y=h[0].length;if(v=h.index,!y){if(v>=f.length)break;t.lastIndex=v+=k.skipEmptyMatch(f,v,s)}if(h.index+y>C)break;p.push(h.index,y)}for(var L=p.length-1;L>=0;L-=2){var R=p[L-1],y=p[L];if(w(A,R,A,R+y))return!0}};else var $=function(A,C,w){var f=i.getLine(A),p,h;for(t.lastIndex=C;h=t.exec(f);){var v=h[0].length;if(p=h.index,w(A,p,A,p+v))return!0;if(!v&&(t.lastIndex=p+=k.skipEmptyMatch(f,p,s),p>=f.length))return!1}};return{forEach:g}},o})();function c(o,i){var n=k.supportsLookbehind();function t(l,u){u===void 0&&(u=!0);var b=n&&i.$supportsUnicodeFlag?new RegExp("[\\p{L}\\p{N}_]","u"):new RegExp("\\w");return b.test(l)||i.regExp?n&&i.$supportsUnicodeFlag?u?"(?<=^|[^\\p{L}\\p{N}_])":"(?=[^\\p{L}\\p{N}_]|$)":"\\b":""}var e=Array.from(o),r=e[0],s=e[e.length-1];return t(r)+o+t(s,!1)}x.Search=a}),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(E,x,z){var k=this&&this.__extends||(function(){var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,s){r.__proto__=s}||function(r,s){for(var l in s)Object.prototype.hasOwnProperty.call(s,l)&&(r[l]=s[l])},n(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),M=E("../lib/keys"),S=E("../lib/useragent"),a=M.KEY_MODS,c=(function(){function n(t,e){this.$init(t,e,!1)}return n.prototype.$init=function(t,e,r){this.platform=e||(S.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(t),this.$singleCommand=r},n.prototype.addCommand=function(t){this.commands[t.name]&&this.removeCommand(t),this.commands[t.name]=t,t.bindKey&&this._buildKeyHash(t)},n.prototype.removeCommand=function(t,e){var r=t&&(typeof t=="string"?t:t.name);t=this.commands[r],e||delete this.commands[r];var s=this.commandKeyBinding;for(var l in s){var u=s[l];if(u==t)delete s[l];else if(Array.isArray(u)){var b=u.indexOf(t);b!=-1&&(u.splice(b,1),u.length==1&&(s[l]=u[0]))}}},n.prototype.bindKey=function(t,e,r){if(typeof t=="object"&&t&&(r==null&&(r=t.position),t=t[this.platform]),!!t){if(typeof e=="function")return this.addCommand({exec:e,bindKey:t,name:e.name||t});t.split("|").forEach(function(s){var l="";if(s.indexOf(" ")!=-1){var u=s.split(/\s+/);s=u.pop(),u.forEach(function(g){var d=this.parseKeys(g),$=a[d.hashId]+d.key;l+=(l?" ":"")+$,this._addCommandToBinding(l,"chainKeys")},this),l+=" "}var b=this.parseKeys(s),m=a[b.hashId]+b.key;this._addCommandToBinding(l+m,e,r)},this)}},n.prototype._addCommandToBinding=function(t,e,r){var s=this.commandKeyBinding,l;if(!e)delete s[t];else if(!s[t]||this.$singleCommand)s[t]=e;else{Array.isArray(s[t])?(l=s[t].indexOf(e))!=-1&&s[t].splice(l,1):s[t]=[s[t]],typeof r!="number"&&(r=o(e));var u=s[t];for(l=0;lr)break}u.splice(l,0,e)}},n.prototype.addCommands=function(t){t&&Object.keys(t).forEach(function(e){var r=t[e];if(r){if(typeof r=="string")return this.bindKey(r,e);typeof r=="function"&&(r={exec:r}),typeof r=="object"&&(r.name||(r.name=e),this.addCommand(r))}},this)},n.prototype.removeCommands=function(t){Object.keys(t).forEach(function(e){this.removeCommand(t[e])},this)},n.prototype.bindKeys=function(t){Object.keys(t).forEach(function(e){this.bindKey(e,t[e])},this)},n.prototype._buildKeyHash=function(t){this.bindKey(t.bindKey,t)},n.prototype.parseKeys=function(t){var e=t.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(m){return m}),r=e.pop(),s=M[r];if(M.FUNCTION_KEYS[s])r=M.FUNCTION_KEYS[s].toLowerCase();else if(e.length){if(e.length==1&&e[0]=="shift")return{key:r.toUpperCase(),hashId:-1}}else return{key:r,hashId:-1};for(var l=0,u=e.length;u--;){var b=M.KEY_MODS[e[u]];if(b==null)return typeof console<"u"&&console.error("invalid modifier "+e[u]+" in "+t),!1;l|=b}return{key:r,hashId:l}},n.prototype.findKeyCommand=function(t,e){var r=a[t]+e;return this.commandKeyBinding[r]},n.prototype.handleKeyboard=function(t,e,r,s){if(!(s<0)){var l=a[e]+r,u=this.commandKeyBinding[l];return t.$keyChain&&(t.$keyChain+=" "+l,u=this.commandKeyBinding[t.$keyChain]||u),u&&(u=="chainKeys"||u[u.length-1]=="chainKeys")?(t.$keyChain=t.$keyChain||l,{command:"null"}):(t.$keyChain&&((!e||e==4)&&r.length==1?t.$keyChain=t.$keyChain.slice(0,-l.length-1):(e==-1||s>0)&&(t.$keyChain="")),{command:u})}},n.prototype.getStatusText=function(t,e){return e.$keyChain||""},n})();function o(n){return typeof n=="object"&&n.bindKey&&n.bindKey.position||(n.isDefault?-100:0)}var i=(function(n){k(t,n);function t(e,r){var s=n.call(this,e,r)||this;return s.$singleCommand=!0,s}return t})(c);i.call=function(n,t,e){c.prototype.$init.call(n,t,e,!0)},c.call=function(n,t,e){c.prototype.$init.call(n,t,e,!1)},x.HashHandler=i,x.MultiHashHandler=c}),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(E,x,z){var k=this&&this.__extends||(function(){var o=function(i,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},o(i,n)};return function(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");o(i,n);function t(){this.constructor=i}i.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}})(),M=E("../lib/oop"),S=E("../keyboard/hash_handler").MultiHashHandler,a=E("../lib/event_emitter").EventEmitter,c=(function(o){k(i,o);function i(n,t){var e=o.call(this,t,n)||this;return e.byName=e.commands,e.setDefaultHandler("exec",function(r){return r.args?r.command.exec(r.editor,r.args,r.event,!1):r.command.exec(r.editor,{},r.event,!0)}),e}return i.prototype.exec=function(n,t,e){if(Array.isArray(n)){for(var r=n.length;r--;)if(this.exec(n[r],t,e))return!0;return!1}if(typeof n=="string"&&(n=this.commands[n]),!this.canExecute(n,t))return!1;var s={editor:t,command:n,args:e};return s.returnValue=this._emit("exec",s),this._signal("afterExec",s),s.returnValue!==!1},i.prototype.canExecute=function(n,t){return typeof n=="string"&&(n=this.commands[n]),!(!n||t&&t.$readOnly&&!n.readOnly||this.$checkCommandState!=!1&&n.isAvailable&&!n.isAvailable(t))},i.prototype.toggleRecording=function(n){if(!this.$inReplay)return n&&n._emit("changeStatus"),this.recording?(this.macro.pop(),this.off("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=(function(t){this.macro.push([t.command,t.args])}).bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},i.prototype.replay=function(n){if(!(this.$inReplay||!this.macro)){if(this.recording)return this.toggleRecording(n);try{this.$inReplay=!0,this.macro.forEach(function(t){typeof t=="string"?this.exec(t,n):this.exec(t[0],n,t[1])},this)}finally{this.$inReplay=!1}}},i.prototype.trimMacro=function(n){return n.map(function(t){return typeof t[0]!="string"&&(t[0]=t[0].name),t[1]||(t=t[0]),t})},i})(S);M.implement(c.prototype,a),x.CommandManager=c}),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],function(E,x,z){var k=E("../lib/lang"),M=E("../config"),S=E("../range").Range;function a(o,i){return{win:o,mac:i}}x.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:a("Ctrl-,","Command-,"),exec:function(o){M.loadModule("ace/ext/settings_menu",function(i){i.init(o),o.showSettingsMenu()})},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:a("Alt-E","F4"),exec:function(o){M.loadModule("ace/ext/error_marker",function(i){i.showErrorMarker(o,1)})},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:a("Alt-Shift-E","Shift-F4"),exec:function(o){M.loadModule("ace/ext/error_marker",function(i){i.showErrorMarker(o,-1)})},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:a("Ctrl-A","Command-A"),exec:function(o){o.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:a(null,"Ctrl-L"),exec:function(o){o.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:a("Ctrl-L","Command-L"),exec:function(o,i){typeof i=="number"&&!isNaN(i)&&o.gotoLine(i),o.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:a("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(o){o.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:a("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(o){o.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:a("F2","F2"),exec:function(o){o.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:a("Alt-F2","Alt-F2"),exec:function(o){o.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:a(null,"Ctrl-Command-Option-0"),exec:function(o){o.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:a(null,"Ctrl-Command-Option-0"),exec:function(o){o.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:a("Alt-0","Command-Option-0"),exec:function(o){o.session.foldAll(),o.session.unfold(o.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:a("Alt-Shift-0","Command-Option-Shift-0"),exec:function(o){o.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:a("Ctrl-K","Command-G"),exec:function(o){o.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:a("Ctrl-Shift-K","Command-Shift-G"),exec:function(o){o.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:a("Alt-K","Ctrl-G"),exec:function(o){o.selection.isEmpty()?o.selection.selectWord():o.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:a("Alt-Shift-K","Ctrl-Shift-G"),exec:function(o){o.selection.isEmpty()?o.selection.selectWord():o.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:a("Ctrl-F","Command-F"),exec:function(o){M.loadModule("ace/ext/searchbox",function(i){i.Search(o)})},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(o){o.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:a("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(o){o.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:a("Ctrl-Home","Command-Home|Command-Up"),exec:function(o){o.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:a("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(o){o.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:a("Up","Up|Ctrl-P"),exec:function(o,i){o.navigateUp(i.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:a("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(o){o.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:a("Ctrl-End","Command-End|Command-Down"),exec:function(o){o.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:a("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(o){o.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:a("Down","Down|Ctrl-N"),exec:function(o,i){o.navigateDown(i.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:a("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(o){o.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:a("Ctrl-Left","Option-Left"),exec:function(o){o.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:a("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(o){o.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:a("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(o){o.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:a("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(o){o.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:a("Left","Left|Ctrl-B"),exec:function(o,i){o.navigateLeft(i.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:a("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(o){o.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:a("Ctrl-Right","Option-Right"),exec:function(o){o.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:a("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(o){o.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:a("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(o){o.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:a("Shift-Right","Shift-Right"),exec:function(o){o.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:a("Right","Right|Ctrl-F"),exec:function(o,i){o.navigateRight(i.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(o){o.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:a(null,"Option-PageDown"),exec:function(o){o.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:a("PageDown","PageDown|Ctrl-V"),exec:function(o){o.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(o){o.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:a(null,"Option-PageUp"),exec:function(o){o.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(o){o.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:a("Ctrl-Up",null),exec:function(o){o.renderer.scrollBy(0,-2*o.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:a("Ctrl-Down",null),exec:function(o){o.renderer.scrollBy(0,2*o.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(o){o.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(o){o.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:a("Ctrl-Alt-E","Command-Option-E"),exec:function(o){o.commands.toggleRecording(o)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:a("Ctrl-Shift-E","Command-Shift-E"),exec:function(o){o.commands.replay(o)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:a("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(o){o.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:a("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(o){o.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:a("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(o){o.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:a(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(o){},readOnly:!0},{name:"cut",description:"Cut",exec:function(o){var i=o.$copyWithEmptySelection&&o.selection.isEmpty(),n=i?o.selection.getLineRange():o.selection.getRange();o._emit("cut",n),n.isEmpty()||o.session.remove(n),o.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(o,i){o.$handlePaste(i)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:a("Ctrl-D","Command-D"),exec:function(o){o.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:a("Ctrl-Shift-D","Command-Shift-D"),exec:function(o){o.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:a("Ctrl-Alt-S","Command-Alt-S"),exec:function(o){o.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:a("Ctrl-/","Command-/"),exec:function(o){o.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:a("Ctrl-Shift-/","Command-Shift-/"),exec:function(o){o.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:a("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(o){o.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:a("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(o){o.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:a("Ctrl-H","Command-Option-F"),exec:function(o){M.loadModule("ace/ext/searchbox",function(i){i.Search(o,!0)})}},{name:"undo",description:"Undo",bindKey:a("Ctrl-Z","Command-Z"),exec:function(o){o.undo()}},{name:"redo",description:"Redo",bindKey:a("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(o){o.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:a("Alt-Shift-Up","Command-Option-Up"),exec:function(o){o.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:a("Alt-Up","Option-Up"),exec:function(o){o.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:a("Alt-Shift-Down","Command-Option-Down"),exec:function(o){o.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:a("Alt-Down","Option-Down"),exec:function(o){o.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:a("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(o){o.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:a("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(o){o.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:a("Shift-Delete",null),exec:function(o){if(o.selection.isEmpty())o.remove("left");else return!1},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:a("Alt-Backspace","Command-Backspace"),exec:function(o){o.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:a("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(o){o.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:a("Ctrl-Shift-Backspace",null),exec:function(o){var i=o.selection.getRange();i.start.column=0,o.session.remove(i)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:a("Ctrl-Shift-Delete",null),exec:function(o){var i=o.selection.getRange();i.end.column=Number.MAX_VALUE,o.session.remove(i)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:a("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(o){o.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:a("Ctrl-Delete","Alt-Delete"),exec:function(o){o.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:a("Shift-Tab","Shift-Tab"),exec:function(o){o.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:a("Tab","Tab"),exec:function(o){o.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:a("Ctrl-[","Ctrl-["),exec:function(o){o.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:a("Ctrl-]","Ctrl-]"),exec:function(o){o.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(o,i){o.insert(i)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(o,i){o.insert(k.stringRepeat(i.text||"",i.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:a(null,"Ctrl-O"),exec:function(o){o.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:a("Alt-Shift-X","Ctrl-T"),exec:function(o){o.transposeLetters()},multiSelectAction:function(o){o.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:a("Ctrl-U","Ctrl-U"),exec:function(o){o.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:a("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(o){o.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:a(null,null),exec:function(o){o.autoIndent()},scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:a("Ctrl-Shift-L","Command-Shift-L"),exec:function(o){var i=o.selection.getRange();i.start.column=i.end.column=0,i.end.row++,o.selection.setRange(i,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"openlink",bindKey:a("Ctrl+F3","F3"),exec:function(o){o.openLink()}},{name:"joinlines",description:"Join lines",bindKey:a(null,null),exec:function(o){for(var i=o.selection.isBackwards(),n=i?o.selection.getSelectionLead():o.selection.getSelectionAnchor(),t=i?o.selection.getSelectionAnchor():o.selection.getSelectionLead(),e=o.session.doc.getLine(n.row).length,r=o.session.doc.getTextRange(o.selection.getRange()),s=r.replace(/\n\s*/," ").length,l=o.session.doc.getLine(n.row),u=n.row+1;u<=t.row+1;u++){var b=k.stringTrimLeft(k.stringTrimRight(o.session.doc.getLine(u)));b.length!==0&&(b=" "+b),l+=b}t.row+10?(o.selection.moveCursorTo(n.row,n.column),o.selection.selectTo(n.row,n.column+s)):(e=o.session.doc.getLine(n.row).length>e?e+1:e,o.selection.moveCursorTo(n.row,e))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:a(null,null),exec:function(o){var i=o.session.doc.getLength()-1,n=o.session.doc.getLine(i).length,t=o.selection.rangeList.ranges,e=[];t.length<1&&(t=[o.selection.getRange()]);for(var r=0;rc[o].column&&o++,t.unshift(o,0),c.splice.apply(c,t),this.$updateRows()}}},S.prototype.$updateRows=function(){var a=this.session.lineWidgets;if(a){var c=!0;a.forEach(function(o,i){if(o)for(c=!1,o.row=i;o.$oldWidget;)o.$oldWidget.row=i,o=o.$oldWidget}),c&&(this.session.lineWidgets=null)}},S.prototype.$registerLineWidget=function(a){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var c=this.session.lineWidgets[a.row];return c&&(a.$oldWidget=c,c.el&&c.el.parentNode&&(c.el.parentNode.removeChild(c.el),c._inDocument=!1)),this.session.lineWidgets[a.row]=a,a},S.prototype.addLineWidget=function(a){if(this.$registerLineWidget(a),a.session=this.session,!this.editor)return a;var c=this.editor.renderer;a.html&&!a.el&&(a.el=k.createElement("div"),a.el.innerHTML=a.html),a.text&&!a.el&&(a.el=k.createElement("div"),a.el.textContent=a.text),a.el&&(k.addCssClass(a.el,"ace_lineWidgetContainer"),a.className&&k.addCssClass(a.el,a.className),a.el.style.position="absolute",a.el.style.zIndex="5",c.container.appendChild(a.el),a._inDocument=!0,a.coverGutter||(a.el.style.zIndex="3"),a.pixelHeight==null&&(a.pixelHeight=a.el.offsetHeight)),a.rowCount==null&&(a.rowCount=a.pixelHeight/c.layerConfig.lineHeight);var o=this.session.getFoldAt(a.row,0);if(a.$fold=o,o){var i=this.session.lineWidgets;a.row==o.end.row&&!i[o.start.row]?i[o.start.row]=a:a.hidden=!0}return this.session._emit("changeFold",{data:{start:{row:a.row}}}),this.$updateRows(),this.renderWidgets(null,c),this.onWidgetChanged(a),a},S.prototype.removeLineWidget=function(a){if(a._inDocument=!1,a.session=null,a.el&&a.el.parentNode&&a.el.parentNode.removeChild(a.el),a.editor&&a.editor.destroy)try{a.editor.destroy()}catch(o){}if(this.session.lineWidgets){var c=this.session.lineWidgets[a.row];if(c==a)this.session.lineWidgets[a.row]=a.$oldWidget,a.$oldWidget&&this.onWidgetChanged(a.$oldWidget);else for(;c;){if(c.$oldWidget==a){c.$oldWidget=a.$oldWidget;break}c=c.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:a.row}}}),this.$updateRows()},S.prototype.getWidgetsAtRow=function(a){for(var c=this.session.lineWidgets,o=c&&c[a],i=[];o;)i.push(o),o=o.$oldWidget;return i},S.prototype.onWidgetChanged=function(a){this.session._changedWidgets.push(a),this.editor&&this.editor.renderer.updateFull()},S.prototype.measureWidgets=function(a,c){var o=this.session._changedWidgets,i=c.layerConfig;if(!(!o||!o.length)){for(var n=1/0,t=0;t0&&!i[n];)n--;this.firstRow=o.firstRow,this.lastRow=o.lastRow,c.$cursorLayer.config=o;for(var e=n;e<=t;e++){var r=i[e];if(!(!r||!r.el)){if(r.hidden){r.el.style.top=-100-(r.pixelHeight||0)+"px";continue}r._inDocument||(r._inDocument=!0,c.container.appendChild(r.el));var s=c.$cursorLayer.getPixelPosition({row:e,column:0},!0).top;r.coverLine||(s+=o.lineHeight*this.session.getRowLineCount(r.row)),r.el.style.top=s-o.offset+"px";var l=r.coverGutter?0:c.gutterWidth;r.fixedWidth||(l-=c.scrollLeft),r.el.style.left=l+"px",r.fullWidth&&r.screenWidth&&(r.el.style.minWidth=o.width+2*o.padding+"px"),r.fixedWidth?r.el.style.right=c.scrollBar.getWidth()+"px":r.el.style.right=""}}}},S})();x.LineWidgets=M}),ace.define("ace/keyboard/gutter_handler",["require","exports","module","ace/lib/keys","ace/mouse/default_gutter_handler"],function(E,x,z){var k=E("../lib/keys"),M=E("../mouse/default_gutter_handler").GutterTooltip,S=(function(){function c(o){this.editor=o,this.gutterLayer=o.renderer.$gutterLayer,this.element=o.renderer.$gutter,this.lines=o.renderer.$gutterLayer.$lines,this.activeRowIndex=null,this.activeLane=null,this.annotationTooltip=new M(this.editor)}return c.prototype.addListener=function(){this.element.addEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.addEventListener("focusout",this.$blurGutter.bind(this)),this.editor.on("mousewheel",this.$blurGutter.bind(this))},c.prototype.removeListener=function(){this.element.removeEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.removeEventListener("focusout",this.$blurGutter.bind(this)),this.editor.off("mousewheel",this.$blurGutter.bind(this))},c.prototype.$onGutterKeyDown=function(o){if(this.annotationTooltip.isOpen){o.preventDefault(),o.keyCode===k.escape&&this.annotationTooltip.hideTooltip();return}if(o.target===this.element){if(o.keyCode!=k.enter)return;o.preventDefault();var i=this.editor.getCursorPosition().row;this.editor.isRowVisible(i)||this.editor.scrollToLine(i,!0,!0),setTimeout((function(){var n=this.$rowToRowIndex(this.gutterLayer.$cursorCell.row),t=this.$findNearestFoldWidget(n),e=this.$findNearestAnnotation(n);if(!(t===null&&e===null)){if(t===null&&e!==null){this.activeRowIndex=e,this.activeLane="annotation",this.$focusAnnotation(this.activeRowIndex);return}if(t!==null&&e===null){this.activeRowIndex=t,this.activeLane="fold",this.$focusFoldWidget(this.activeRowIndex);return}if(Math.abs(e-n)0||o+i=0&&this.$isFoldWidgetVisible(o-i))return o-i;if(o+i<=this.lines.getLength()-1&&this.$isFoldWidgetVisible(o+i))return o+i}return null},c.prototype.$findNearestAnnotation=function(o){if(this.$isAnnotationVisible(o))return o;for(var i=0;o-i>0||o+i=0&&this.$isAnnotationVisible(o-i))return o-i;if(o+i<=this.lines.getLength()-1&&this.$isAnnotationVisible(o+i))return o+i}return null},c.prototype.$focusFoldWidget=function(o){if(o!=null){var i=this.$getFoldWidget(o);i.classList.add(this.editor.renderer.keyboardFocusClassName),i.focus()}},c.prototype.$focusAnnotation=function(o){if(o!=null){var i=this.$getAnnotation(o);i.classList.add(this.editor.renderer.keyboardFocusClassName),i.focus()}},c.prototype.$blurFoldWidget=function(o){var i=this.$getFoldWidget(o);i.classList.remove(this.editor.renderer.keyboardFocusClassName),i.blur()},c.prototype.$blurAnnotation=function(o){var i=this.$getAnnotation(o);i.classList.remove(this.editor.renderer.keyboardFocusClassName),i.blur()},c.prototype.$moveFoldWidgetUp=function(){for(var o=this.activeRowIndex;o>0;)if(o--,this.$isFoldWidgetVisible(o)){this.$blurFoldWidget(this.activeRowIndex),this.activeRowIndex=o,this.$focusFoldWidget(this.activeRowIndex);return}},c.prototype.$moveFoldWidgetDown=function(){for(var o=this.activeRowIndex;o0;)if(o--,this.$isAnnotationVisible(o)){this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=o,this.$focusAnnotation(this.activeRowIndex);return}},c.prototype.$moveAnnotationDown=function(){for(var o=this.activeRowIndex;o=p.length&&(p=void 0),{value:p&&p[y++],done:!p}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")},M=E("./lib/oop"),S=E("./lib/dom"),a=E("./lib/lang"),c=E("./lib/useragent"),o=E("./keyboard/textinput").TextInput,i=E("./mouse/mouse_handler").MouseHandler,n=E("./mouse/fold_handler").FoldHandler,t=E("./keyboard/keybinding").KeyBinding,e=E("./edit_session").EditSession,r=E("./search").Search,s=E("./range").Range,l=E("./lib/event_emitter").EventEmitter,u=E("./commands/command_manager").CommandManager,b=E("./commands/default_commands").commands,m=E("./config"),g=E("./token_iterator").TokenIterator,d=E("./line_widgets").LineWidgets,$=E("./keyboard/gutter_handler").GutterKeyboardHandler,T=E("./config").nls,A=E("./clipboard"),C=E("./lib/keys"),w=(function(){function p(h,v,y){this.session,this.$toDestroy=[];var L=h.getContainerElement();this.container=L,this.renderer=h,this.id="editor"+ ++p.$uid,this.commands=new u(c.isMac?"mac":"win",b),typeof document=="object"&&(this.textInput=new o(h.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new i(this),new n(this)),this.keyBinding=new t(this),this.$search=new r().set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=a.delayedCall((function(){this._signal("input",{}),this.session&&!this.session.destroyed&&this.session.bgTokenizer.scheduleStart()}).bind(this)),this.on("change",function(R,_){_._$emitInputEvent.schedule(31)}),this.setSession(v||y&&y.session||new e("")),m.resetOptions(this),y&&this.setOptions(y),m._signal("editor",this)}return p.prototype.$initOperationListeners=function(){this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=a.delayedCall(this.endOperation.bind(this,!0)),this.on("change",(function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.docChanged=!0}).bind(this),!0),this.on("changeSelection",(function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.selectionChanged=!0}).bind(this),!0)},p.prototype.startOperation=function(h){if(this.curOp){if(!h||this.curOp.command)return;this.prevOp=this.curOp}h||(this.previousCommand=null,h={}),this.$opResetTimer.schedule(),this.curOp=this.session.curOp={command:h.command||{},args:h.args,scrollTop:this.renderer.scrollTop},this.curOp.selectionBefore=this.selection.toJSON()},p.prototype.endOperation=function(h){if(this.curOp&&this.session){if(h&&h.returnValue===!1||!this.session)return this.curOp=null;if(h==!0&&this.curOp.command&&this.curOp.command.name=="mouse"||(this._signal("beforeEndOperation"),!this.curOp))return;var v=this.curOp.command,y=v&&v.scrollIntoView;if(y){switch(y){case"center-animate":y="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var L=this.selection.getRange(),R=this.renderer.layerConfig;(L.start.row>=R.lastRow||L.end.row<=R.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead);break}y=="animate"&&this.renderer.animateScrolling(this.curOp.scrollTop)}var _=this.selection.toJSON();this.curOp.selectionAfter=_,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(_),this.prevOp=this.curOp,this.curOp=null}},p.prototype.$historyTracker=function(h){if(this.$mergeUndoDeltas){var v=this.prevOp,y=this.$mergeableCommands,L=v.command&&h.command.name==v.command.name;if(h.command.name=="insertstring"){var R=h.args;this.mergeNextCommand===void 0&&(this.mergeNextCommand=!0),L=L&&this.mergeNextCommand&&(!/\s/.test(R)||/\s/.test(v.args)),this.mergeNextCommand=!0}else L=L&&y.indexOf(h.command.name)!==-1;this.$mergeUndoDeltas!="always"&&Date.now()-this.sequenceStartTime>2e3&&(L=!1),L?this.session.mergeUndoDeltas=!0:y.indexOf(h.command.name)!==-1&&(this.sequenceStartTime=Date.now())}},p.prototype.setKeyboardHandler=function(h,v){if(h&&typeof h=="string"&&h!="ace"){this.$keybindingId=h;var y=this;m.loadModule(["keybinding",h],function(L){y.$keybindingId==h&&y.keyBinding.setKeyboardHandler(L&&L.handler),v&&v()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(h),v&&v()},p.prototype.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},p.prototype.setSession=function(h){if(this.session!=h){this.curOp&&this.endOperation(),this.curOp={};var v=this.session;if(v){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var y=this.session.getSelection();y.off("changeCursor",this.$onCursorChange),y.off("changeSelection",this.$onSelectionChange)}this.session=h,h?(this.$onDocumentChange=this.onDocumentChange.bind(this),h.on("change",this.$onDocumentChange),this.renderer.setSession(h),this.$onChangeMode=this.onChangeMode.bind(this),h.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),h.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),h.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),h.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),h.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),h.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=h.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.onCursorChange(),this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(h)),this._signal("changeSession",{session:h,oldSession:v}),this.curOp=null,v&&v._signal("changeEditor",{oldEditor:this}),h&&h._signal("changeEditor",{editor:this}),h&&!h.destroyed&&h.bgTokenizer.scheduleStart()}},p.prototype.getSession=function(){return this.session},p.prototype.setValue=function(h,v){return this.session.doc.setValue(h),v?v==1?this.navigateFileEnd():v==-1&&this.navigateFileStart():this.selectAll(),h},p.prototype.getValue=function(){return this.session.getValue()},p.prototype.getSelection=function(){return this.selection},p.prototype.resize=function(h){this.renderer.onResize(h)},p.prototype.setTheme=function(h,v){this.renderer.setTheme(h,v)},p.prototype.getTheme=function(){return this.renderer.getTheme()},p.prototype.setStyle=function(h){this.renderer.setStyle(h)},p.prototype.unsetStyle=function(h){this.renderer.unsetStyle(h)},p.prototype.getFontSize=function(){return this.getOption("fontSize")||S.computedStyle(this.container).fontSize},p.prototype.setFontSize=function(h){this.setOption("fontSize",h)},p.prototype.$highlightBrackets=function(){if(!this.$highlightPending){var h=this;this.$highlightPending=!0,setTimeout(function(){h.$highlightPending=!1;var v=h.session;if(!(!v||v.destroyed)){v.$bracketHighlight&&(v.$bracketHighlight.markerIds.forEach(function(D){v.removeMarker(D)}),v.$bracketHighlight=null);var y=h.getCursorPosition(),L=h.getKeyboardHandler(),R=L&&L.$getDirectionForHighlight&&L.$getDirectionForHighlight(h),_=v.getMatchingBracketRanges(y,R);if(!_){var I=new g(v,y.row,y.column),N=I.getCurrentToken();if(N&&/\b(?:tag-open|tag-name)/.test(N.type)){var W=v.getMatchingTags(y);W&&(_=[W.openTagName.isEmpty()?W.openTag:W.openTagName,W.closeTagName.isEmpty()?W.closeTag:W.closeTagName])}}if(!_&&v.$mode.getMatching&&(_=v.$mode.getMatching(h.session)),!_){h.getHighlightIndentGuides()&&h.renderer.$textLayer.$highlightIndentGuide();return}var O="ace_bracket";Array.isArray(_)?_.length==1&&(O="ace_error_bracket"):_=[_],_.length==2&&(s.comparePoints(_[0].end,_[1].start)==0?_=[s.fromPoints(_[0].start,_[1].end)]:s.comparePoints(_[0].start,_[1].end)==0&&(_=[s.fromPoints(_[1].start,_[0].end)])),v.$bracketHighlight={ranges:_,markerIds:_.map(function(D){return v.addMarker(D,O,"text")})},h.getHighlightIndentGuides()&&h.renderer.$textLayer.$highlightIndentGuide()}},50)}},p.prototype.focus=function(){this.textInput.focus()},p.prototype.isFocused=function(){return this.textInput.isFocused()},p.prototype.blur=function(){this.textInput.blur()},p.prototype.onFocus=function(h){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",h))},p.prototype.onBlur=function(h){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",h))},p.prototype.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$updateHighlightActiveLine()},p.prototype.onDocumentChange=function(h){var v=this.session.$useWrapMode,y=h.start.row==h.end.row?h.end.row:1/0;this.renderer.updateLines(h.start.row,y,v),this._signal("change",h),this.$cursorChange()},p.prototype.onTokenizerUpdate=function(h){var v=h.data;this.renderer.updateLines(v.first,v.last)},p.prototype.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},p.prototype.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},p.prototype.onCursorChange=function(){this.$cursorChange(),this._signal("changeSelection")},p.prototype.$updateHighlightActiveLine=function(){var h=this.getSession(),v;if(this.$highlightActiveLine&&((this.$selectionStyle!="line"||!this.selection.isMultiLine())&&(v=this.getCursorPosition()),this.renderer.theme&&this.renderer.theme.$selectionColorConflict&&!this.selection.isEmpty()&&(v=!1),this.renderer.$maxLines&&this.session.getLength()===1&&!(this.renderer.$minLines>1)&&(v=!1)),h.$highlightLineMarker&&!v)h.removeMarker(h.$highlightLineMarker.id),h.$highlightLineMarker=null;else if(!h.$highlightLineMarker&&v){var y=new s(v.row,v.column,v.row,1/0);y.id=h.addMarker(y,"ace_active-line","screenLine"),h.$highlightLineMarker=y}else v&&(h.$highlightLineMarker.start.row=v.row,h.$highlightLineMarker.end.row=v.row,h.$highlightLineMarker.start.column=v.column,h._signal("changeBackMarker"))},p.prototype.onSelectionChange=function(h){var v=this.session;if(v.$selectionMarker&&v.removeMarker(v.$selectionMarker),v.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var y=this.selection.getRange(),L=this.getSelectionStyle();v.$selectionMarker=v.addMarker(y,"ace_selection",L)}var R=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(R),this._signal("changeSelection")},p.prototype.$getSelectionHighLightRegexp=function(){var h=this.session,v=this.getSelectionRange();if(!(v.isEmpty()||v.isMultiLine())){var y=v.start.column,L=v.end.column,R=h.getLine(v.start.row),_=R.substring(y,L);if(!(_.length>5e3||!/[\w\d]/.test(_))){var I=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:_}),N=R.substring(y-1,L+1);if(I.test(N))return I}}},p.prototype.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},p.prototype.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},p.prototype.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},p.prototype.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},p.prototype.onChangeMode=function(h){this.renderer.updateText(),this._emit("changeMode",h)},p.prototype.onChangeWrapLimit=function(){this.renderer.updateFull()},p.prototype.onChangeWrapMode=function(){this.renderer.onResize(!0)},p.prototype.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},p.prototype.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},p.prototype.getCopyText=function(){var h=this.getSelectedText(),v=this.session.doc.getNewLineCharacter(),y=!1;if(!h&&this.$copyWithEmptySelection){y=!0;for(var L=this.selection.getAllRanges(),R=0;RD.search(/\S|$/)){var N=D.substr(R.column).search(/\S|$/);y.doc.removeInLine(R.row,R.column,R.column+N)}}this.clearSelection();var W=R.column,O=y.getState(R.row),D=y.getLine(R.row),F=L.checkOutdent(O,D,h);if(y.insert(R,h),_&&_.selection&&(_.selection.length==2?this.selection.setSelectionRange(new s(R.row,W+_.selection[0],R.row,W+_.selection[1])):this.selection.setSelectionRange(new s(R.row+_.selection[0],_.selection[1],R.row+_.selection[2],_.selection[3]))),this.$enableAutoIndent){if(y.getDocument().isNewLine(h)){var H=L.getNextLineIndent(O,D.slice(0,R.column),y.getTabString());y.insert({row:R.row+1,column:0},H)}F&&L.autoOutdent(O,y,R.row)}},p.prototype.autoIndent=function(){for(var h=this.session,v=h.getMode(),y=this.selection.isEmpty()?[new s(0,0,h.doc.getLength()-1,0)]:this.selection.getAllRanges(),L="",R="",_="",I=h.getTabString(),N=0;N0&&(L=h.getState(D-1),R=h.getLine(D-1),_=v.getNextLineIndent(L,R,I));var F=h.getLine(D),H=v.$getIndent(F);if(_!==H){if(H.length>0){var P=new s(D,0,D,H.length);h.remove(P)}_.length>0&&h.insert({row:D,column:0},_)}v.autoOutdent(L,h,D)}},p.prototype.onTextInput=function(h,v){if(!v)return this.keyBinding.onTextInput(h);this.startOperation({command:{name:"insertstring"}});var y=this.applyComposition.bind(this,h,v);this.selection.rangeCount?this.forEachSelection(y):y(),this.endOperation()},p.prototype.applyComposition=function(h,v){if(v.extendLeft||v.extendRight){var y=this.selection.getRange();y.start.column-=v.extendLeft,y.end.column+=v.extendRight,y.start.column<0&&(y.start.row--,y.start.column+=this.session.getLine(y.start.row).length+1),this.selection.setRange(y),!h&&!y.isEmpty()&&this.remove()}if((h||!this.selection.isEmpty())&&this.insert(h,!0),v.restoreStart||v.restoreEnd){var y=this.selection.getRange();y.start.column-=v.restoreStart,y.end.column-=v.restoreEnd,this.selection.setRange(y)}},p.prototype.onCommandKey=function(h,v,y){return this.keyBinding.onCommandKey(h,v,y)},p.prototype.setOverwrite=function(h){this.session.setOverwrite(h)},p.prototype.getOverwrite=function(){return this.session.getOverwrite()},p.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},p.prototype.setScrollSpeed=function(h){this.setOption("scrollSpeed",h)},p.prototype.getScrollSpeed=function(){return this.getOption("scrollSpeed")},p.prototype.setDragDelay=function(h){this.setOption("dragDelay",h)},p.prototype.getDragDelay=function(){return this.getOption("dragDelay")},p.prototype.setSelectionStyle=function(h){this.setOption("selectionStyle",h)},p.prototype.getSelectionStyle=function(){return this.getOption("selectionStyle")},p.prototype.setHighlightActiveLine=function(h){this.setOption("highlightActiveLine",h)},p.prototype.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},p.prototype.setHighlightGutterLine=function(h){this.setOption("highlightGutterLine",h)},p.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},p.prototype.setHighlightSelectedWord=function(h){this.setOption("highlightSelectedWord",h)},p.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},p.prototype.setAnimatedScroll=function(h){this.renderer.setAnimatedScroll(h)},p.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},p.prototype.setShowInvisibles=function(h){this.renderer.setShowInvisibles(h)},p.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},p.prototype.setDisplayIndentGuides=function(h){this.renderer.setDisplayIndentGuides(h)},p.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},p.prototype.setHighlightIndentGuides=function(h){this.renderer.setHighlightIndentGuides(h)},p.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},p.prototype.setShowPrintMargin=function(h){this.renderer.setShowPrintMargin(h)},p.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},p.prototype.setPrintMarginColumn=function(h){this.renderer.setPrintMarginColumn(h)},p.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},p.prototype.setReadOnly=function(h){this.setOption("readOnly",h)},p.prototype.getReadOnly=function(){return this.getOption("readOnly")},p.prototype.setBehavioursEnabled=function(h){this.setOption("behavioursEnabled",h)},p.prototype.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},p.prototype.setWrapBehavioursEnabled=function(h){this.setOption("wrapBehavioursEnabled",h)},p.prototype.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},p.prototype.setShowFoldWidgets=function(h){this.setOption("showFoldWidgets",h)},p.prototype.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},p.prototype.setFadeFoldWidgets=function(h){this.setOption("fadeFoldWidgets",h)},p.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},p.prototype.remove=function(h){this.selection.isEmpty()&&(h=="left"?this.selection.selectLeft():this.selection.selectRight());var v=this.getSelectionRange();if(this.getBehavioursEnabled()){var y=this.session,L=y.getState(v.start.row),R=y.getMode().transformAction(L,"deletion",this,y,v);if(v.end.column===0){var _=y.getTextRange(v);if(_[_.length-1]=="\n"){var I=y.getLine(v.end.row);/^\s+$/.test(I)&&(v.end.column=I.length)}}R&&(v=R)}this.session.remove(v),this.clearSelection()},p.prototype.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},p.prototype.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},p.prototype.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},p.prototype.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var h=this.getSelectionRange();h.start.column==h.end.column&&h.start.row==h.end.row&&(h.end.column=0,h.end.row++),this.session.remove(h),this.clearSelection()},p.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var h=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(h)},p.prototype.setGhostText=function(h,v){this.session.widgetManager||(this.session.widgetManager=new d(this.session),this.session.widgetManager.attach(this)),this.renderer.setGhostText(h,v)},p.prototype.removeGhostText=function(){this.session.widgetManager&&this.renderer.removeGhostText()},p.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var h=this.getCursorPosition(),v=h.column;if(v!==0){var y=this.session.getLine(h.row),L,R;vN.toLowerCase()?1:0});for(var R=new s(0,0,0,0),L=h.first;L<=h.last;L++){var _=v.getLine(L);R.start.row=L,R.end.row=L,R.end.column=_.length,v.replace(R,y[L-h.first])}},p.prototype.toggleCommentLines=function(){var h=this.session.getState(this.getCursorPosition().row),v=this.$getSelectedRows();this.session.getMode().toggleCommentLines(h,this.session,v.first,v.last)},p.prototype.toggleBlockComment=function(){var h=this.getCursorPosition(),v=this.session.getState(h.row),y=this.getSelectionRange();this.session.getMode().toggleBlockComment(v,this.session,y,h)},p.prototype.getNumberAt=function(h,v){var y=/[\-]?[0-9]+(?:\.[0-9]+)?/g;y.lastIndex=0;for(var L=this.session.getLine(h);y.lastIndex=v){var _={value:R[0],start:R.index,end:R.index+R[0].length};return _}}return null},p.prototype.modifyNumber=function(h){var v=this.selection.getCursor().row,y=this.selection.getCursor().column,L=new s(v,y-1,v,y),R=this.session.getTextRange(L);if(!isNaN(parseFloat(R))&&isFinite(R)){var _=this.getNumberAt(v,y);if(_){var I=_.value.indexOf(".")>=0?_.start+_.value.indexOf(".")+1:_.end,N=_.start+_.value.length-I,W=parseFloat(_.value);W*=Math.pow(10,N),I!==_.end&&y=I&&_<=N&&(y=Y,W.selection.clearSelection(),W.moveCursorTo(h,I+L),W.selection.selectTo(h,N+L)),I=N});for(var O=this.$toggleWordPairs,D,F=0;F=N&&I<=W&&H.match(/((?:https?|ftp):\/\/[\S]+)/)){O=H.replace(/[\s:.,'";}\]]+$/,"");break}N=W}}catch(P){y={error:P}}finally{try{F&&!F.done&&(L=D.return)&&L.call(D)}finally{if(y)throw y.error}}return O},p.prototype.openLink=function(){var h=this.selection.getCursor(),v=this.findLinkAt(h.row,h.column);return v&&window.open(v,"_blank"),v!=null},p.prototype.removeLines=function(){var h=this.$getSelectedRows();this.session.removeFullLines(h.first,h.last),this.clearSelection()},p.prototype.duplicateSelection=function(){var h=this.selection,v=this.session,y=h.getRange(),L=h.isBackwards();if(y.isEmpty()){var R=y.start.row;v.duplicateLines(R,R)}else{var _=L?y.start:y.end,I=v.insert(_,v.getTextRange(y));y.start=_,y.end=I,h.setSelectionRange(y,L)}},p.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},p.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},p.prototype.moveText=function(h,v,y){return this.session.moveText(h,v,y)},p.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},p.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},p.prototype.$moveLines=function(h,v){var y,L,R=this.selection;if(!R.inMultiSelectMode||this.inVirtualSelectionMode){var _=R.toOrientedRange();y=this.$getSelectedRows(_),L=this.session.$moveLines(y.first,y.last,v?0:h),v&&h==-1&&(L=0),_.moveBy(L,0),R.fromOrientedRange(_)}else{var I=R.rangeList.ranges;R.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var N=0,W=0,O=I.length,D=0;DP+1)break;P=U.last}for(D--,N=this.session.$moveLines(H,P,v?0:h),v&&h==-1&&(F=D+1);F<=D;)I[F].moveBy(N,0),F++;v||(N=0),W+=N}R.fromOrientedRange(R.ranges[0]),R.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},p.prototype.$getSelectedRows=function(h){return h=(h||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(h.start.row),last:this.session.getRowFoldEnd(h.end.row)}},p.prototype.onCompositionStart=function(h){this.renderer.showComposition(h)},p.prototype.onCompositionUpdate=function(h){this.renderer.setCompositionText(h)},p.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},p.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},p.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},p.prototype.isRowVisible=function(h){return h>=this.getFirstVisibleRow()&&h<=this.getLastVisibleRow()},p.prototype.isRowFullyVisible=function(h){return h>=this.renderer.getFirstFullyVisibleRow()&&h<=this.renderer.getLastFullyVisibleRow()},p.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},p.prototype.$moveByPage=function(h,v){var y=this.renderer,L=this.renderer.layerConfig,R=h*Math.floor(L.height/L.lineHeight);v===!0?this.selection.$moveSelection(function(){this.moveCursorBy(R,0)}):v===!1&&(this.selection.moveCursorBy(R,0),this.selection.clearSelection());var _=y.scrollTop;y.scrollBy(0,R*L.lineHeight),v!=null&&y.scrollCursorIntoView(null,.5),y.animateScrolling(_)},p.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},p.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},p.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},p.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},p.prototype.scrollPageDown=function(){this.$moveByPage(1)},p.prototype.scrollPageUp=function(){this.$moveByPage(-1)},p.prototype.scrollToRow=function(h){this.renderer.scrollToRow(h)},p.prototype.scrollToLine=function(h,v,y,L){this.renderer.scrollToLine(h,v,y,L)},p.prototype.centerSelection=function(){var h=this.getSelectionRange(),v={row:Math.floor(h.start.row+(h.end.row-h.start.row)/2),column:Math.floor(h.start.column+(h.end.column-h.start.column)/2)};this.renderer.alignCursor(v,.5)},p.prototype.getCursorPosition=function(){return this.selection.getCursor()},p.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},p.prototype.getSelectionRange=function(){return this.selection.getRange()},p.prototype.selectAll=function(){this.selection.selectAll()},p.prototype.clearSelection=function(){this.selection.clearSelection()},p.prototype.moveCursorTo=function(h,v){this.selection.moveCursorTo(h,v)},p.prototype.moveCursorToPosition=function(h){this.selection.moveCursorToPosition(h)},p.prototype.jumpToMatching=function(h,v){var y=this.getCursorPosition(),L=new g(this.session,y.row,y.column),R=L.getCurrentToken(),_=0;R&&R.type.indexOf("tag-name")!==-1&&(R=L.stepBackward());var I=R||L.stepForward();if(I){var N,W=!1,O={},D=y.column-I.start,F,H={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(I.value.match(/[{}()\[\]]/g)){for(;D1?O[I.value]++:R.value==="=0;--_)this.$tryReplace(y[_],h)&&L++;return this.selection.setSelectionRange(R),L},p.prototype.$tryReplace=function(h,v){var y=this.session.getTextRange(h);return v=this.$search.replace(y,v),v!==null?(h.end=this.session.replace(h,v),h):null},p.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},p.prototype.find=function(h,v,y){v||(v={}),typeof h=="string"||h instanceof RegExp?v.needle=h:typeof h=="object"&&M.mixin(v,h);var L=this.selection.getRange();v.needle==null&&(h=this.session.getTextRange(L)||this.$search.$options.needle,h||(L=this.session.getWordRange(L.start.row,L.start.column),h=this.session.getTextRange(L)),this.$search.set({needle:h})),this.$search.set(v),v.start||this.$search.set({start:L});var R=this.$search.find(this.session);if(v.preventScroll)return R;if(R)return this.revealRange(R,y),R;v.backwards?L.start=L.end:L.end=L.start,this.selection.setRange(L)},p.prototype.findNext=function(h,v){this.find({skipCurrent:!0,backwards:!1},h,v)},p.prototype.findPrevious=function(h,v){this.find(h,{skipCurrent:!0,backwards:!0},v)},p.prototype.revealRange=function(h,v){this.session.unfold(h),this.selection.setSelectionRange(h);var y=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(h.start,h.end,.5),v!==!1&&this.renderer.animateScrolling(y)},p.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},p.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},p.prototype.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach(function(h){h.destroy()}),this.$toDestroy=null),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},p.prototype.setAutoScrollEditorIntoView=function(h){if(h){var v,y=this,L=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var R=this.$scrollAnchor;R.style.cssText="position:absolute",this.container.insertBefore(R,this.container.firstChild);var _=this.on("changeSelection",function(){L=!0}),I=this.renderer.on("beforeRender",function(){L&&(v=y.renderer.container.getBoundingClientRect())}),N=this.renderer.on("afterRender",function(){if(L&&v&&(y.isFocused()||y.searchBox&&y.searchBox.isFocused())){var W=y.renderer,O=W.$cursorLayer.$pixelPos,D=W.layerConfig,F=O.top-D.offset;O.top>=0&&F+v.top<0?L=!0:O.topwindow.innerHeight?L=!1:L=null,L!=null&&(R.style.top=F+"px",R.style.left=O.left+"px",R.style.height=D.lineHeight+"px",R.scrollIntoView(L)),L=v=null}});this.setAutoScrollEditorIntoView=function(W){W||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",_),this.renderer.off("afterRender",N),this.renderer.off("beforeRender",I))}}},p.prototype.$resetCursorStyle=function(){var h=this.$cursorStyle||"ace",v=this.renderer.$cursorLayer;v&&(v.setSmoothBlinking(/smooth/.test(h)),v.isBlinking=!this.$readOnly&&h!="wide",S.setCssClass(v.element,"ace_slim-cursors",/slim/.test(h)))},p.prototype.prompt=function(h,v,y){var L=this;m.loadModule("ace/ext/prompt",function(R){R.prompt(L,h,v,y)})},p})();w.$uid=0,w.prototype.curOp=null,w.prototype.prevOp={},w.prototype.$mergeableCommands=["backspace","del","insertstring"],w.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],M.implement(w.prototype,l),m.defineOptions(w.prototype,"editor",{selectionStyle:{set:function(p){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:p})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(p){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(p){this.textInput.setReadOnly(p),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(p){this.textInput.setCopyWithEmptySelection(p)},initialValue:!1},cursorStyle:{set:function(p){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(p){this.setAutoScrollEditorIntoView(p)}},keyboardHandler:{set:function(p){this.setKeyboardHandler(p)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(p){this.session.setValue(p)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(p){this.setSession(p)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(p){this.renderer.$gutterLayer.setShowLineNumbers(p),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),p&&this.$relativeLineNumbers?f.attach(this):f.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(p){this.$showLineNumbers&&p?f.attach(this):f.detach(this)}},placeholder:{set:function(p){this.$updatePlaceholder||(this.$updatePlaceholder=(function(){var h=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(h&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),S.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(!h&&!this.renderer.placeholderNode){this.renderer.on("afterRender",this.$updatePlaceholder),S.addCssClass(this.container,"ace_hasPlaceholder");var v=S.createElement("div");v.className="ace_placeholder",v.textContent=this.$placeholder||"",this.renderer.placeholderNode=v,this.renderer.content.appendChild(this.renderer.placeholderNode)}else!h&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"")}).bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(p){var h={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(L){L.blur(),L.renderer.scroller.focus()},readOnly:!0},v=function(L){if(L.target==this.renderer.scroller&&L.keyCode===C.enter){L.preventDefault();var R=this.getCursorPosition().row;this.isRowVisible(R)||this.scrollToLine(R,!0,!0),this.focus()}},y;p?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),this.textInput.setNumberOfExtraLines(c.isWin?3:0),this.renderer.scroller.setAttribute("tabindex",0),this.renderer.scroller.setAttribute("role","group"),this.renderer.scroller.setAttribute("aria-roledescription",T("editor.scroller.aria-roledescription","editor")),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute("aria-label",T("editor.scroller.aria-label","Editor content, press Enter to start editing, press Escape to exit")),this.renderer.scroller.addEventListener("keyup",v.bind(this)),this.commands.addCommand(h),this.renderer.$gutter.setAttribute("tabindex",0),this.renderer.$gutter.setAttribute("aria-hidden",!1),this.renderer.$gutter.setAttribute("role","group"),this.renderer.$gutter.setAttribute("aria-roledescription",T("editor.gutter.aria-roledescription","editor")),this.renderer.$gutter.setAttribute("aria-label",T("editor.gutter.aria-label","Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit")),this.renderer.$gutter.classList.add(this.renderer.keyboardFocusClassName),this.renderer.content.setAttribute("aria-hidden",!0),y||(y=new $(this)),y.addListener(),this.textInput.setAriaOptions({setLabel:!0})):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute("tabindex",0),this.textInput.setNumberOfExtraLines(0),this.renderer.scroller.setAttribute("tabindex",-1),this.renderer.scroller.removeAttribute("role"),this.renderer.scroller.removeAttribute("aria-roledescription"),this.renderer.scroller.classList.remove(this.renderer.keyboardFocusClassName),this.renderer.scroller.removeAttribute("aria-label"),this.renderer.scroller.removeEventListener("keyup",v.bind(this)),this.commands.removeCommand(h),this.renderer.content.removeAttribute("aria-hidden"),this.renderer.$gutter.setAttribute("tabindex",-1),this.renderer.$gutter.setAttribute("aria-hidden",!0),this.renderer.$gutter.removeAttribute("role"),this.renderer.$gutter.removeAttribute("aria-roledescription"),this.renderer.$gutter.removeAttribute("aria-label"),this.renderer.$gutter.classList.remove(this.renderer.keyboardFocusClassName),y&&y.removeListener())},initialValue:!1},textInputAriaLabel:{set:function(p){this.$textInputAriaLabel=p},initialValue:""},enableMobileMenu:{set:function(p){this.$enableMobileMenu=p},initialValue:!0},customScrollbar:"renderer",hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",highlightIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",useResizeObserver:"renderer",useSvgGutterIcons:"renderer",showFoldedAnnotations:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var f={getText:function(p,h){return(Math.abs(p.selection.lead.row-h)||h+1+(h<9?"·":""))+""},getWidth:function(p,h,v){return Math.max(h.toString().length,(v.lastRow+1).toString().length,2)*v.characterWidth},update:function(p,h){h.renderer.$loop.schedule(h.renderer.CHANGE_GUTTER)},attach:function(p){p.renderer.$gutterLayer.$renderer=this,p.on("changeSelection",this.update),this.update(null,p)},detach:function(p){p.renderer.$gutterLayer.$renderer==this&&(p.renderer.$gutterLayer.$renderer=null),p.off("changeSelection",this.update),this.update(null,p)}};x.Editor=w}),ace.define("ace/layer/lines",["require","exports","module","ace/lib/dom"],function(E,x,z){var k=E("../lib/dom"),M=(function(){function S(a,c){this.element=a,this.canvasHeight=c||5e5,this.element.style.height=this.canvasHeight*2+"px",this.cells=[],this.cellCache=[],this.$offsetCoefficient=0}return S.prototype.moveContainer=function(a){k.translate(this.element,0,-(a.firstRowScreen*a.lineHeight%this.canvasHeight)-a.offset*this.$offsetCoefficient)},S.prototype.pageChanged=function(a,c){return Math.floor(a.firstRowScreen*a.lineHeight/this.canvasHeight)!==Math.floor(c.firstRowScreen*c.lineHeight/this.canvasHeight)},S.prototype.computeLineTop=function(a,c,o){var i=c.firstRowScreen*c.lineHeight,n=Math.floor(i/this.canvasHeight),t=o.documentToScreenRow(a,0)*c.lineHeight;return t-n*this.canvasHeight},S.prototype.computeLineHeight=function(a,c,o){return c.lineHeight*o.getRowLineCount(a)},S.prototype.getLength=function(){return this.cells.length},S.prototype.get=function(a){return this.cells[a]},S.prototype.shift=function(){this.$cacheCell(this.cells.shift())},S.prototype.pop=function(){this.$cacheCell(this.cells.pop())},S.prototype.push=function(a){if(Array.isArray(a)){this.cells.push.apply(this.cells,a);for(var c=k.createFragment(this.element),o=0;ob&&(d=u.end.row+1,u=r.getNextFoldLine(d,u),b=u?u.start.row:1/0),d>l){for(;this.$lines.getLength()>g+1;)this.$lines.pop();break}m=this.$lines.get(++g),m?m.row=d:(m=this.$lines.createCell(d,e,this.session,n),this.$lines.push(m)),this.$renderCell(m,e,u,d),d++}this._signal("afterRender"),this.$updateGutterWidth(e)},t.prototype.$updateGutterWidth=function(e){var r=this.session,s=r.gutterRenderer||this.$renderer,l=r.$firstLineNumber,u=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||r.$useWrapMode)&&(u=r.getLength()+l-1);var b=s?s.getWidth(r,u,e):u.toString().length*e.characterWidth,m=this.$padding||this.$computePadding();b+=m.left+m.right,b!==this.gutterWidth&&!isNaN(b)&&(this.gutterWidth=b,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",b))},t.prototype.$updateCursorRow=function(){if(this.$highlightGutterLine){var e=this.session.selection.getCursor();this.$cursorRow!==e.row&&(this.$cursorRow=e.row)}},t.prototype.updateLineHighlight=function(){if(this.$highlightGutterLine){var e=this.session.selection.cursor.row;if(this.$cursorRow=e,!(this.$cursorCell&&this.$cursorCell.row==e)){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var r=this.$lines.cells;this.$cursorCell=null;for(var s=0;s=this.$cursorRow){if(l.row>this.$cursorRow){var u=this.session.getFoldLine(this.$cursorRow);if(s>0&&u&&u.start.row==r[s-1].row)l=r[s-1];else break}l.element.className="ace_gutter-active-line "+l.element.className,this.$cursorCell=l;break}}}}},t.prototype.scrollLines=function(e){var r=this.config;if(this.config=e,this.$updateCursorRow(),this.$lines.pageChanged(r,e))return this.update(e);this.$lines.moveContainer(e);var s=Math.min(e.lastRow+e.gutterOffset,this.session.getLength()-1),l=this.oldLastRow;if(this.oldLastRow=s,!r||l0;u--)this.$lines.shift();if(l>s)for(var u=this.session.getFoldedRowCount(s+1,l);u>0;u--)this.$lines.pop();e.firstRowl&&this.$lines.push(this.$renderLines(e,l+1,s)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(e)},t.prototype.$renderLines=function(e,r,s){for(var l=[],u=r,b=this.session.getNextFoldLine(u),m=b?b.start.row:1/0;u>m&&(u=b.end.row+1,b=this.session.getNextFoldLine(u,b),m=b?b.start.row:1/0),!(u>s);){var g=this.$lines.createCell(u,e,this.session,n);this.$renderCell(g,e,b,u),l.push(g),u++}return l},t.prototype.$renderCell=function(e,r,s,l){var u=e.element,b=this.session,m=u.childNodes[0],g=u.childNodes[1],d=u.childNodes[2],$=d.firstChild,T=b.$firstLineNumber,A=b.$breakpoints,C=b.$decorations,w=b.gutterRenderer||this.$renderer,f=this.$showFoldWidgets&&b.foldWidgets,p=s?s.start.row:Number.MAX_VALUE,h=r.lineHeight+"px",v=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",y=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",L=(w?w.getText(b,l):l+T).toString();if(this.$highlightGutterLine&&(l==this.$cursorRow||s&&l=p&&this.$cursorRow<=s.end.row)&&(v+="ace_gutter-active-line ",this.$cursorCell!=e&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=e)),A[l]&&(v+=A[l]),C[l]&&(v+=C[l]),this.$annotations[l]&&l!==p&&(v+=this.$annotations[l].className),f){var R=f[l];R==null&&(R=f[l]=b.getFoldWidget(l))}if(R){var _="ace_fold-widget ace_"+R,I=R=="start"&&l==p&&ls.right-r.right)return"foldWidgets"},t})();i.prototype.$fixedWidth=!1,i.prototype.$highlightGutterLine=!0,i.prototype.$renderer="",i.prototype.$showLineNumbers=!0,i.prototype.$showFoldWidgets=!0,M.implement(i.prototype,a);function n(t){var e=document.createTextNode("");t.appendChild(e);var r=k.createElement("span");t.appendChild(r);var s=k.createElement("span");t.appendChild(s);var l=k.createElement("span");return s.appendChild(l),t}x.Gutter=i}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(E,x,z){var k=E("../range").Range,M=E("../lib/dom"),S=(function(){function c(o){this.element=M.createElement("div"),this.element.className="ace_layer ace_marker-layer",o.appendChild(this.element)}return c.prototype.setPadding=function(o){this.$padding=o},c.prototype.setSession=function(o){this.session=o},c.prototype.setMarkers=function(o){this.markers=o},c.prototype.elt=function(o,i){var n=this.i!=-1&&this.element.childNodes[this.i];n?this.i++:(n=document.createElement("div"),this.element.appendChild(n),this.i=-1),n.style.cssText=i,n.className=o},c.prototype.update=function(o){if(o){this.config=o,this.i=0;var i;for(var n in this.markers){var t=this.markers[n];if(!t.range){t.update(i,this,this.session,o);continue}var e=t.range.clipRows(o.firstRow,o.lastRow);if(!e.isEmpty())if(e=e.toScreenRange(this.session),t.renderer){var r=this.$getTop(e.start.row,o),s=this.$padding+e.start.column*o.characterWidth;t.renderer(i,e,s,r,o)}else t.type=="fullLine"?this.drawFullLineMarker(i,e,t.clazz,o):t.type=="screenLine"?this.drawScreenLineMarker(i,e,t.clazz,o):e.isMultiLine()?t.type=="text"?this.drawTextMarker(i,e,t.clazz,o):this.drawMultiLineMarker(i,e,t.clazz,o):this.drawSingleLineMarker(i,e,t.clazz+" ace_start ace_br15",o)}if(this.i!=-1)for(;this.ig,u==l),t,u==l?0:1,e)},c.prototype.drawMultiLineMarker=function(o,i,n,t,e){var r=this.$padding,s=t.lineHeight,l=this.$getTop(i.start.row,t),u=r+i.start.column*t.characterWidth;if(e=e||"",this.session.$bidiHandler.isBidiRow(i.start.row)){var b=i.clone();b.end.row=b.start.row,b.end.column=this.session.getLine(b.start.row).length,this.drawBidiSingleLineMarker(o,b,n+" ace_br1 ace_start",t,null,e)}else this.elt(n+" ace_br1 ace_start","height:"+s+"px;right:"+r+"px;top:"+l+"px;left:"+u+"px;"+(e||""));if(this.session.$bidiHandler.isBidiRow(i.end.row)){var b=i.clone();b.start.row=b.end.row,b.start.column=0,this.drawBidiSingleLineMarker(o,b,n+" ace_br12",t,null,e)}else{l=this.$getTop(i.end.row,t);var m=i.end.column*t.characterWidth;this.elt(n+" ace_br12","height:"+s+"px;width:"+m+"px;top:"+l+"px;left:"+r+"px;"+(e||""))}if(s=(i.end.row-i.start.row-1)*t.lineHeight,!(s<=0)){l=this.$getTop(i.start.row+1,t);var g=(i.start.column?1:0)|(i.end.column?0:8);this.elt(n+(g?" ace_br"+g:""),"height:"+s+"px;right:"+r+"px;top:"+l+"px;left:"+r+"px;"+(e||""))}},c.prototype.drawSingleLineMarker=function(o,i,n,t,e,r){if(this.session.$bidiHandler.isBidiRow(i.start.row))return this.drawBidiSingleLineMarker(o,i,n,t,e,r);var s=t.lineHeight,l=(i.end.column+(e||0)-i.start.column)*t.characterWidth,u=this.$getTop(i.start.row,t),b=this.$padding+i.start.column*t.characterWidth;this.elt(n,"height:"+s+"px;width:"+l+"px;top:"+u+"px;left:"+b+"px;"+(r||""))},c.prototype.drawBidiSingleLineMarker=function(o,i,n,t,e,r){var s=t.lineHeight,l=this.$getTop(i.start.row,t),u=this.$padding,b=this.session.$bidiHandler.getSelections(i.start.column,i.end.column);b.forEach(function(m){this.elt(n,"height:"+s+"px;width:"+(m.width+(e||0))+"px;top:"+l+"px;left:"+(u+m.left)+"px;"+(r||""))},this)},c.prototype.drawFullLineMarker=function(o,i,n,t,e){var r=this.$getTop(i.start.row,t),s=t.lineHeight;i.start.row!=i.end.row&&(s+=this.$getTop(i.end.row,t)-r),this.elt(n,"height:"+s+"px;top:"+r+"px;left:0;right:0;"+(e||""))},c.prototype.drawScreenLineMarker=function(o,i,n,t,e){var r=this.$getTop(i.start.row,t),s=t.lineHeight;this.elt(n,"height:"+s+"px;top:"+r+"px;left:0;right:0;"+(e||""))},c})();S.prototype.$padding=0;function a(c,o,i,n){return(c?1:0)|(o?2:0)|(i?4:0)|(n?8:0)}x.Marker=S}),ace.define("ace/layer/text_util",["require","exports","module"],function(E,x,z){var k=new Set(["text","rparen","lparen"]);x.isTextToken=function(M){return k.has(M)}}),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter","ace/config","ace/layer/text_util"],function(E,x,z){var k=E("../lib/oop"),M=E("../lib/dom"),S=E("../lib/lang"),a=E("./lines").Lines,c=E("../lib/event_emitter").EventEmitter,o=E("../config").nls,i=E("./text_util").isTextToken,n=(function(){function t(e){this.dom=M,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new a(this.element)}return t.prototype.$updateEolChar=function(){var e=this.session.doc,r=e.getNewLineCharacter()=="\n"&&e.getNewLineMode()!="windows",s=r?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=s)return this.EOL_CHAR=s,!0},t.prototype.setPadding=function(e){this.$padding=e,this.element.style.margin="0 "+e+"px"},t.prototype.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},t.prototype.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},t.prototype.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on("changeCharacterSize",(function(r){this._signal("changeCharacterSize",r)}).bind(this)),this.$pollSizeChanges()},t.prototype.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},t.prototype.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},t.prototype.setSession=function(e){this.session=e,e&&this.$computeTabString()},t.prototype.setShowInvisibles=function(e){return this.showInvisibles==e?!1:(this.showInvisibles=e,typeof e=="string"?(this.showSpaces=/tab/i.test(e),this.showTabs=/space/i.test(e),this.showEOL=/eol/i.test(e)):this.showSpaces=this.showTabs=this.showEOL=e,this.$computeTabString(),!0)},t.prototype.setDisplayIndentGuides=function(e){return this.displayIndentGuides==e?!1:(this.displayIndentGuides=e,this.$computeTabString(),!0)},t.prototype.setHighlightIndentGuides=function(e){return this.$highlightIndentGuides===e?!1:(this.$highlightIndentGuides=e,e)},t.prototype.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var r=this.$tabStrings=[0],s=1;sT&&(d=$.end.row+1,$=this.session.getNextFoldLine(d,$),T=$?$.start.row:1/0),!(d>u);){var A=b[m++];if(A){this.dom.removeChildren(A),this.$renderLine(A,d,d==T?$:!1),g&&(A.style.top=this.$lines.computeLineTop(d,e,this.session)+"px");var C=e.lineHeight*this.session.getRowLength(d)+"px";A.style.height!=C&&(g=!0,A.style.height=C)}d++}if(g)for(;m0;u--)this.$lines.shift();if(r.lastRow>e.lastRow)for(var u=this.session.getFoldedRowCount(e.lastRow+1,r.lastRow);u>0;u--)this.$lines.pop();e.firstRowr.lastRow&&this.$lines.push(this.$renderLinesFragment(e,r.lastRow+1,e.lastRow)),this.$highlightIndentGuide()},t.prototype.$renderLinesFragment=function(e,r,s){for(var l=[],u=r,b=this.session.getNextFoldLine(u),m=b?b.start.row:1/0;u>m&&(u=b.end.row+1,b=this.session.getNextFoldLine(u,b),m=b?b.start.row:1/0),!(u>s);){var g=this.$lines.createCell(u,e,this.session),d=g.element;this.dom.removeChildren(d),M.setStyle(d.style,"height",this.$lines.computeLineHeight(u,e,this.session)+"px"),M.setStyle(d.style,"top",this.$lines.computeLineTop(u,e,this.session)+"px"),this.$renderLine(d,u,u==m?b:!1),this.$useLineGroups()?d.className="ace_line_group":d.className="ace_line",l.push(g),u++}return l},t.prototype.update=function(e){this.$lines.moveContainer(e),this.config=e;for(var r=e.firstRow,s=e.lastRow,l=this.$lines;l.getLength();)l.pop();l.push(this.$renderLinesFragment(e,r,s))},t.prototype.$renderToken=function(e,r,s,l){for(var u=this,b=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC\u2066\u2067\u2068\u202A\u202B\u202D\u202E\u202C\u2069]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,m=this.dom.createFragment(this.element),g,d=0;g=b.exec(l);){var $=g[1],T=g[2],A=g[3],C=g[4],w=g[5];if(!(!u.showSpaces&&T)){var f=d!=g.index?l.slice(d,g.index):"";if(d=g.index+g[0].length,f&&m.appendChild(this.dom.createTextNode(f,this.element)),$){var p=u.session.getScreenTabSize(r+g.index);m.appendChild(u.$tabStrings[p].cloneNode(!0)),r+=p-1}else if(T)if(u.showSpaces){var h=this.dom.createElement("span");h.className="ace_invisible ace_invisible_space",h.textContent=S.stringRepeat(u.SPACE_CHAR,T.length),m.appendChild(h)}else m.appendChild(this.dom.createTextNode(T,this.element));else if(A){var h=this.dom.createElement("span");h.className="ace_invisible ace_invisible_space ace_invalid",h.textContent=S.stringRepeat(u.SPACE_CHAR,A.length),m.appendChild(h)}else if(C){r+=1;var h=this.dom.createElement("span");h.style.width=u.config.characterWidth*2+"px",h.className=u.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",h.textContent=u.showSpaces?u.SPACE_CHAR:C,m.appendChild(h)}else if(w){r+=1;var h=this.dom.createElement("span");h.style.width=u.config.characterWidth*2+"px",h.className="ace_cjk",h.textContent=w,m.appendChild(h)}}}if(m.appendChild(this.dom.createTextNode(d?l.slice(d):l,this.element)),i(s.type))e.appendChild(m);else{var v="ace_"+s.type.replace(/\./g," ace_"),h=this.dom.createElement("span");s.type=="fold"&&(h.style.width=s.value.length*this.config.characterWidth+"px",h.setAttribute("title",o("inline-fold.closed.title","Unfold code"))),h.className=v,h.appendChild(m),e.appendChild(h)}return r+l.length},t.prototype.renderIndentGuide=function(e,r,s){var l=r.search(this.$indentGuideRe);if(l<=0||l>=s)return r;if(r[0]==" "){l-=l%this.tabSize;for(var u=l/this.tabSize,b=0;bb[m].start.row?this.$highlightIndentGuideMarker.dir=-1:this.$highlightIndentGuideMarker.dir=1;break}}if(!this.$highlightIndentGuideMarker.end&&e[r.row]!==""&&r.column===e[r.row].length){this.$highlightIndentGuideMarker.dir=1;for(var m=r.row+1;m0){for(var u=0;u=this.$highlightIndentGuideMarker.start+1){if(l.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(l,r)}}else for(var s=e.length-1;s>=0;s--){var l=e[s];if(this.$highlightIndentGuideMarker.end&&l.row=b;)m=this.$renderToken(g,m,$,T.substring(0,b-l)),T=T.substring(b-l),l=b,g=this.$createLineElement(),e.appendChild(g),g.appendChild(this.dom.createTextNode(S.stringRepeat(" ",s.indent),this.element)),u++,m=0,b=s[u]||Number.MAX_VALUE;T.length!=0&&(l+=T.length,m=this.$renderToken(g,m,$,T))}}s[s.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(g,m,null,"",!0)},t.prototype.$renderSimpleLine=function(e,r){for(var s=0,l=0;lthis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(e,s,u,b);s=this.$renderToken(e,s,u,b)}}},t.prototype.$renderOverflowMessage=function(e,r,s,l,u){s&&this.$renderToken(e,r,s,l.slice(0,this.MAX_LINE_LENGTH-r));var b=this.dom.createElement("span");b.className="ace_inline_button ace_keyword ace_toggle_wrap",b.textContent=u?"":"",e.appendChild(b)},t.prototype.$renderLine=function(e,r,s){if(!s&&s!=!1&&(s=this.session.getFoldLine(r)),s)var l=this.$getFoldLineTokens(r,s);else var l=this.session.getTokens(r);var u=e;if(l.length){var b=this.session.getRowSplitData(r);if(b&&b.length){this.$renderWrappedLine(e,l,b);var u=e.lastChild}else{var u=e;this.$useLineGroups()&&(u=this.$createLineElement(),e.appendChild(u)),this.$renderSimpleLine(u,l)}}else this.$useLineGroups()&&(u=this.$createLineElement(),e.appendChild(u));if(this.showEOL&&u){s&&(r=s.end.row);var m=this.dom.createElement("span");m.className="ace_invisible ace_invisible_eol",m.textContent=r==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,u.appendChild(m)}},t.prototype.$getFoldLineTokens=function(e,r){var s=this.session,l=[];function u(m,g,d){for(var $=0,T=0;T+m[$].value.lengthd-g&&(A=A.substring(0,d-g)),l.push({type:m[$].type,value:A}),T=g+A.length,$+=1}for(;Td?l.push({type:m[$].type,value:A.substring(0,d-T)}):l.push(m[$]),T+=A.length,$+=1}}var b=s.getTokens(e);return r.walk(function(m,g,d,$,T){m!=null?l.push({type:"fold",value:m}):(T&&(b=s.getTokens(g)),b.length&&u(b,$,d))},r.end.row,this.session.getLine(r.end.row).length),l},t.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},t})();n.prototype.EOF_CHAR="¶",n.prototype.EOL_CHAR_LF="¬",n.prototype.EOL_CHAR_CRLF="¤",n.prototype.EOL_CHAR=n.prototype.EOL_CHAR_LF,n.prototype.TAB_CHAR="—",n.prototype.SPACE_CHAR="·",n.prototype.$padding=0,n.prototype.MAX_LINE_LENGTH=1e4,n.prototype.showInvisibles=!1,n.prototype.showSpaces=!1,n.prototype.showTabs=!1,n.prototype.showEOL=!1,n.prototype.displayIndentGuides=!0,n.prototype.$highlightIndentGuides=!0,n.prototype.$tabStrings=[],n.prototype.destroy={},n.prototype.onChangeTabSize=n.prototype.$computeTabString,k.implement(n.prototype,c),x.Text=n}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(E,x,z){var k=E("../lib/dom"),M=(function(){function S(a){this.element=k.createElement("div"),this.element.className="ace_layer ace_cursor-layer",a.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),k.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}return S.prototype.$updateOpacity=function(a){for(var c=this.cursors,o=c.length;o--;)k.setStyle(c[o].style,"opacity",a?"":"0")},S.prototype.$startCssAnimation=function(){for(var a=this.cursors,c=a.length;c--;)a[c].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout((function(){this.$isAnimating&&k.addCssClass(this.element,"ace_animate-blinking")}).bind(this))},S.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,k.removeCssClass(this.element,"ace_animate-blinking")},S.prototype.setPadding=function(a){this.$padding=a},S.prototype.setSession=function(a){this.session=a},S.prototype.setBlinking=function(a){a!=this.isBlinking&&(this.isBlinking=a,this.restartTimer())},S.prototype.setBlinkInterval=function(a){a!=this.blinkInterval&&(this.blinkInterval=a,this.restartTimer())},S.prototype.setSmoothBlinking=function(a){a!=this.smoothBlinking&&(this.smoothBlinking=a,k.setCssClass(this.element,"ace_smooth-blinking",a),this.$updateCursors(!0),this.restartTimer())},S.prototype.addCursor=function(){var a=k.createElement("div");return a.className="ace_cursor",this.element.appendChild(a),this.cursors.push(a),a},S.prototype.removeCursor=function(){if(this.cursors.length>1){var a=this.cursors.pop();return a.parentNode.removeChild(a),a}},S.prototype.hideCursor=function(){this.isVisible=!1,k.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},S.prototype.showCursor=function(){this.isVisible=!0,k.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},S.prototype.restartTimer=function(){var a=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,k.removeCssClass(this.element,"ace_smooth-blinking")),a(!0),!this.isBlinking||!this.blinkInterval||!this.isVisible){this.$stopCssAnimation();return}if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout((function(){this.$isSmoothBlinking&&k.addCssClass(this.element,"ace_smooth-blinking")}).bind(this))),k.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var c=(function(){this.timeoutId=setTimeout(function(){a(!1)},.6*this.blinkInterval)}).bind(this);this.intervalId=setInterval(function(){a(!0),c()},this.blinkInterval),c()}},S.prototype.getPixelPosition=function(a,c){if(!this.config||!this.session)return{left:0,top:0};a||(a=this.session.selection.getCursor());var o=this.session.documentToScreenPosition(a),i=this.$padding+(this.session.$bidiHandler.isBidiRow(o.row,a.row)?this.session.$bidiHandler.getPosLeft(o.column):o.column*this.config.characterWidth),n=(o.row-(c?this.config.firstRowScreen:0))*this.config.lineHeight;return{left:i,top:n}},S.prototype.isCursorInView=function(a,c){return a.top>=0&&a.topa.height+a.offset||t.top<0)&&o>1)){var e=this.cursors[i++]||this.addCursor(),r=e.style;this.drawCursor?this.drawCursor(e,t,a,c[o],this.session):this.isCursorInView(t,a)?(k.setStyle(r,"display","block"),k.translate(e,t.left,t.top),k.setStyle(r,"width",Math.round(a.characterWidth)+"px"),k.setStyle(r,"height",a.lineHeight+"px")):k.setStyle(r,"display","none")}}for(;this.cursors.length>i;)this.removeCursor();var s=this.session.getOverwrite();this.$setOverwrite(s),this.$pixelPos=t,this.restartTimer()},S.prototype.$setOverwrite=function(a){a!=this.overwrite&&(this.overwrite=a,a?k.addCssClass(this.element,"ace_overwrite-cursors"):k.removeCssClass(this.element,"ace_overwrite-cursors"))},S.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},S})();M.prototype.$padding=0,M.prototype.drawCursor=null,x.Cursor=M}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(E,x,z){var k=this&&this.__extends||(function(){var e=function(r,s){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var b in u)Object.prototype.hasOwnProperty.call(u,b)&&(l[b]=u[b])},e(r,s)};return function(r,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");e(r,s);function l(){this.constructor=r}r.prototype=s===null?Object.create(s):(l.prototype=s.prototype,new l)}})(),M=E("./lib/oop"),S=E("./lib/dom"),a=E("./lib/event"),c=E("./lib/event_emitter").EventEmitter,o=32768,i=(function(){function e(r,s){this.element=S.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+s,this.inner=S.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent=" ",this.element.appendChild(this.inner),r.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,a.addListener(this.element,"scroll",this.onScroll.bind(this)),a.addListener(this.element,"mousedown",a.preventDefault)}return e.prototype.setVisible=function(r){this.element.style.display=r?"":"none",this.isVisible=r,this.coeff=1},e})();M.implement(i.prototype,c);var n=(function(e){k(r,e);function r(s,l){var u=e.call(this,s,"-v")||this;return u.scrollTop=0,u.scrollHeight=0,l.$scrollbarWidth=u.width=S.scrollbarWidth(s.ownerDocument),u.inner.style.width=u.element.style.width=(u.width||15)+5+"px",u.$minWidth=0,u}return r.prototype.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,this.coeff!=1){var s=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-s)/(this.coeff-s)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},r.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},r.prototype.setHeight=function(s){this.element.style.height=s+"px"},r.prototype.setScrollHeight=function(s){this.scrollHeight=s,s>o?(this.coeff=o/s,s=o):this.coeff!=1&&(this.coeff=1),this.inner.style.height=s+"px"},r.prototype.setScrollTop=function(s){this.scrollTop!=s&&(this.skipEvent=!0,this.scrollTop=s,this.element.scrollTop=s*this.coeff)},r})(i);n.prototype.setInnerHeight=n.prototype.setScrollHeight;var t=(function(e){k(r,e);function r(s,l){var u=e.call(this,s,"-h")||this;return u.scrollLeft=0,u.height=l.$scrollbarWidth,u.inner.style.height=u.element.style.height=(u.height||15)+5+"px",u}return r.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},r.prototype.getHeight=function(){return this.isVisible?this.height:0},r.prototype.setWidth=function(s){this.element.style.width=s+"px"},r.prototype.setInnerWidth=function(s){this.inner.style.width=s+"px"},r.prototype.setScrollWidth=function(s){this.inner.style.width=s+"px"},r.prototype.setScrollLeft=function(s){this.scrollLeft!=s&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=s)},r})(i);x.ScrollBar=n,x.ScrollBarV=n,x.ScrollBarH=t,x.VScrollBar=n,x.HScrollBar=t}),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(E,x,z){var k=this&&this.__extends||(function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,l){s.__proto__=l}||function(s,l){for(var u in l)Object.prototype.hasOwnProperty.call(l,u)&&(s[u]=l[u])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function s(){this.constructor=e}e.prototype=r===null?Object.create(r):(s.prototype=r.prototype,new s)}})(),M=E("./lib/oop"),S=E("./lib/dom"),a=E("./lib/event"),c=E("./lib/event_emitter").EventEmitter;S.importCssString(".ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{\n position: absolute;\n background: rgba(128, 128, 128, 0.6);\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n border: 1px solid #bbb;\n border-radius: 2px;\n z-index: 8;\n}\n.ace_editor>.ace_sb-v, .ace_editor>.ace_sb-h {\n position: absolute;\n z-index: 6;\n background: none;\n overflow: hidden!important;\n}\n.ace_editor>.ace_sb-v {\n z-index: 6;\n right: 0;\n top: 0;\n width: 12px;\n}\n.ace_editor>.ace_sb-v div {\n z-index: 8;\n right: 0;\n width: 100%;\n}\n.ace_editor>.ace_sb-h {\n bottom: 0;\n left: 0;\n height: 12px;\n}\n.ace_editor>.ace_sb-h div {\n bottom: 0;\n height: 100%;\n}\n.ace_editor>.ace_sb_grabbed {\n z-index: 8;\n background: #000;\n}","ace_scrollbar.css?v=1773287522785",!1);var o=(function(){function t(e,r){this.element=S.createElement("div"),this.element.className="ace_sb"+r,this.inner=S.createElement("div"),this.inner.className="",this.element.appendChild(this.inner),this.VScrollWidth=12,this.HScrollHeight=12,e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,a.addMultiMouseDownListener(this.element,[500,300,300],this,"onMouseDown")}return t.prototype.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1},t})();M.implement(o.prototype,c);var i=(function(t){k(e,t);function e(r,s){var l=t.call(this,r,"-v")||this;return l.scrollTop=0,l.scrollHeight=0,l.parent=r,l.width=l.VScrollWidth,l.renderer=s,l.inner.style.width=l.element.style.width=(l.width||15)+"px",l.$minWidth=0,l}return e.prototype.onMouseDown=function(r,s){if(r==="mousedown"&&!(a.getButton(s)!==0||s.detail===2)){if(s.target===this.inner){var l=this,u=s.clientY,b=function(C){u=C.clientY},m=function(){clearInterval(T)},g=s.clientY,d=this.thumbTop,$=function(){if(u!==void 0){var C=l.scrollTopFromThumbTop(d+u-g);C!==l.scrollTop&&l._emit("scroll",{data:C})}};a.capture(this.inner,b,m);var T=setInterval($,20);return a.preventDefault(s)}var A=s.clientY-this.element.getBoundingClientRect().top-this.thumbHeight/2;return this._emit("scroll",{data:this.scrollTopFromThumbTop(A)}),a.preventDefault(s)}},e.prototype.getHeight=function(){return this.height},e.prototype.scrollTopFromThumbTop=function(r){var s=r*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight);return s=s>>0,s<0?s=0:s>this.pageHeight-this.viewHeight&&(s=this.pageHeight-this.viewHeight),s},e.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},e.prototype.setHeight=function(r){this.height=Math.max(0,r),this.slideHeight=this.height,this.viewHeight=this.height,this.setScrollHeight(this.pageHeight,!0)},e.prototype.setScrollHeight=function(r,s){this.pageHeight===r&&!s||(this.pageHeight=r,this.thumbHeight=this.slideHeight*this.viewHeight/this.pageHeight,this.thumbHeight>this.slideHeight&&(this.thumbHeight=this.slideHeight),this.thumbHeight<15&&(this.thumbHeight=15),this.inner.style.height=this.thumbHeight+"px",this.scrollTop>this.pageHeight-this.viewHeight&&(this.scrollTop=this.pageHeight-this.viewHeight,this.scrollTop<0&&(this.scrollTop=0),this._emit("scroll",{data:this.scrollTop})))},e.prototype.setScrollTop=function(r){this.scrollTop=r,r<0&&(r=0),this.thumbTop=r*(this.slideHeight-this.thumbHeight)/(this.pageHeight-this.viewHeight),this.inner.style.top=this.thumbTop+"px"},e})(o);i.prototype.setInnerHeight=i.prototype.setScrollHeight;var n=(function(t){k(e,t);function e(r,s){var l=t.call(this,r,"-h")||this;return l.scrollLeft=0,l.scrollWidth=0,l.height=l.HScrollHeight,l.inner.style.height=l.element.style.height=(l.height||12)+"px",l.renderer=s,l}return e.prototype.onMouseDown=function(r,s){if(r==="mousedown"&&!(a.getButton(s)!==0||s.detail===2)){if(s.target===this.inner){var l=this,u=s.clientX,b=function(C){u=C.clientX},m=function(){clearInterval(T)},g=s.clientX,d=this.thumbLeft,$=function(){if(u!==void 0){var C=l.scrollLeftFromThumbLeft(d+u-g);C!==l.scrollLeft&&l._emit("scroll",{data:C})}};a.capture(this.inner,b,m);var T=setInterval($,20);return a.preventDefault(s)}var A=s.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2;return this._emit("scroll",{data:this.scrollLeftFromThumbLeft(A)}),a.preventDefault(s)}},e.prototype.getHeight=function(){return this.isVisible?this.height:0},e.prototype.scrollLeftFromThumbLeft=function(r){var s=r*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth);return s=s>>0,s<0?s=0:s>this.pageWidth-this.viewWidth&&(s=this.pageWidth-this.viewWidth),s},e.prototype.setWidth=function(r){this.width=Math.max(0,r),this.element.style.width=this.width+"px",this.slideWidth=this.width,this.viewWidth=this.width,this.setScrollWidth(this.pageWidth,!0)},e.prototype.setScrollWidth=function(r,s){this.pageWidth===r&&!s||(this.pageWidth=r,this.thumbWidth=this.slideWidth*this.viewWidth/this.pageWidth,this.thumbWidth>this.slideWidth&&(this.thumbWidth=this.slideWidth),this.thumbWidth<15&&(this.thumbWidth=15),this.inner.style.width=this.thumbWidth+"px",this.scrollLeft>this.pageWidth-this.viewWidth&&(this.scrollLeft=this.pageWidth-this.viewWidth,this.scrollLeft<0&&(this.scrollLeft=0),this._emit("scroll",{data:this.scrollLeft})))},e.prototype.setScrollLeft=function(r){this.scrollLeft=r,r<0&&(r=0),this.thumbLeft=r*(this.slideWidth-this.thumbWidth)/(this.pageWidth-this.viewWidth),this.inner.style.left=this.thumbLeft+"px"},e})(o);n.prototype.setInnerWidth=n.prototype.setScrollWidth,x.ScrollBar=i,x.ScrollBarV=i,x.ScrollBarH=n,x.VScrollBar=i,x.HScrollBar=n}),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(E,x,z){var k=E("./lib/event"),M=(function(){function S(a,c){this.onRender=a,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=c||window;var o=this;this._flush=function(i){o.pending=!1;var n=o.changes;if(n&&(k.blockIdle(100),o.changes=0,o.onRender(n)),o.changes){if(o.$recursionLimit--<0)return;o.schedule()}else o.$recursionLimit=2}}return S.prototype.schedule=function(a){this.changes=this.changes|a,this.changes&&!this.pending&&(k.nextFrame(this._flush),this.pending=!0)},S.prototype.clear=function(a){var c=this.changes;return this.changes=0,c},S})();x.RenderLoop=M}),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],function(E,x,z){var k=E("../lib/oop"),M=E("../lib/dom"),S=E("../lib/lang"),a=E("../lib/event"),c=E("../lib/useragent"),o=E("../lib/event_emitter").EventEmitter,i=512,n=typeof ResizeObserver=="function",t=200,e=(function(){function r(s){this.el=M.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=M.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=M.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),s.appendChild(this.el),this.$measureNode.textContent=S.stringRepeat("X",i),this.$characterSize={width:0,height:0},n?this.$addObserver():this.checkForSizeChanges()}return r.prototype.$setMeasureNodeStyles=function(s,l){s.width=s.height="auto",s.left=s.top="0px",s.visibility="hidden",s.position="absolute",s.whiteSpace="pre",c.isIE<8?s["font-family"]="inherit":s.font="inherit",s.overflow=l?"hidden":"visible"},r.prototype.checkForSizeChanges=function(s){if(s===void 0&&(s=this.$measureSizes()),s&&(this.$characterSize.width!==s.width||this.$characterSize.height!==s.height)){this.$measureNode.style.fontWeight="bold";var l=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=s,this.charSizes=Object.create(null),this.allowBoldFonts=l&&l.width===s.width&&l.height===s.height,this._emit("changeCharacterSize",{data:s})}},r.prototype.$addObserver=function(){var s=this;this.$observer=new window.ResizeObserver(function(l){s.checkForSizeChanges()}),this.$observer.observe(this.$measureNode)},r.prototype.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var s=this;return this.$pollSizeChangesTimer=a.onIdle(function l(){s.checkForSizeChanges(),a.onIdle(l,500)},500)},r.prototype.setPolling=function(s){s?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},r.prototype.$measureSizes=function(s){var l={height:(s||this.$measureNode).clientHeight,width:(s||this.$measureNode).clientWidth/i};return l.width===0||l.height===0?null:l},r.prototype.$measureCharWidth=function(s){this.$main.textContent=S.stringRepeat(s,i);var l=this.$main.getBoundingClientRect();return l.width/i},r.prototype.getCharacterWidth=function(s){var l=this.charSizes[s];return l===void 0&&(l=this.charSizes[s]=this.$measureCharWidth(s)/this.$characterSize.width),l},r.prototype.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},r.prototype.$getZoom=function(s){return!s||!s.parentElement?1:(Number(window.getComputedStyle(s).zoom)||1)*this.$getZoom(s.parentElement)},r.prototype.$initTransformMeasureNodes=function(){var s=function(l,u){return["div",{style:"position: absolute;top:"+l+"px;left:"+u+"px;"}]};this.els=M.buildDom([s(0,0),s(t,0),s(0,t),s(t,t)],this.el)},r.prototype.transformCoordinates=function(s,l){if(s){var u=this.$getZoom(this.el);s=d(1/u,s)}function b(I,N,W){var O=I[1]*N[0]-I[0]*N[1];return[(-N[1]*W[0]+N[0]*W[1])/O,(+I[1]*W[0]-I[0]*W[1])/O]}function m(I,N){return[I[0]-N[0],I[1]-N[1]]}function g(I,N){return[I[0]+N[0],I[1]+N[1]]}function d(I,N){return[I*N[0],I*N[1]]}this.els||this.$initTransformMeasureNodes();function $(I){var N=I.getBoundingClientRect();return[N.left,N.top]}var T=$(this.els[0]),A=$(this.els[1]),C=$(this.els[2]),w=$(this.els[3]),f=b(m(w,A),m(w,C),m(g(A,C),g(w,T))),p=d(1+f[0],m(A,T)),h=d(1+f[1],m(C,T));if(l){var v=l,y=f[0]*v[0]/t+f[1]*v[1]/t+1,L=g(d(v[0],p),d(v[1],h));return g(d(1/y/t,L),T)}var R=m(s,T),_=b(m(p,d(f[0],R)),m(h,d(f[1],R)),R);return d(t,_)},r})();e.prototype.$characterSize={width:0,height:0},k.implement(e.prototype,o),x.FontMetrics=e}),ace.define("ace/css/editor-css",["require","exports","module"],function(E,x,z){z.exports='\n.ace_br1 {border-top-left-radius : 3px;}\n.ace_br2 {border-top-right-radius : 3px;}\n.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}\n.ace_br4 {border-bottom-right-radius: 3px;}\n.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}\n.ace_br8 {border-bottom-left-radius : 3px;}\n.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n\n\n.ace_editor {\n position: relative;\n overflow: hidden;\n padding: 0;\n font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'Source Code Pro\', \'source-code-pro\', monospace;\n direction: ltr;\n text-align: left;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n forced-color-adjust: none;\n}\n\n.ace_scroller {\n position: absolute;\n overflow: hidden;\n top: 0;\n bottom: 0;\n background-color: inherit;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n cursor: text;\n}\n\n.ace_content {\n position: absolute;\n box-sizing: border-box;\n min-width: 100%;\n contain: style size layout;\n font-variant-ligatures: no-common-ligatures;\n}\n\n.ace_keyboard-focus:focus {\n box-shadow: inset 0 0 0 2px #5E9ED6;\n outline: none;\n}\n\n.ace_dragging .ace_scroller:before{\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n content: \'\';\n background: rgba(250, 250, 250, 0.01);\n z-index: 1000;\n}\n.ace_dragging.ace_dark .ace_scroller:before{\n background: rgba(0, 0, 0, 0.01);\n}\n\n.ace_gutter {\n position: absolute;\n overflow : hidden;\n width: auto;\n top: 0;\n bottom: 0;\n left: 0;\n cursor: default;\n z-index: 4;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n contain: style size layout;\n}\n\n.ace_gutter-active-line {\n position: absolute;\n left: 0;\n right: 0;\n}\n\n.ace_scroller.ace_scroll-left:after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;\n pointer-events: none;\n}\n\n.ace_gutter-cell, .ace_gutter-cell_svg-icons {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n padding-left: 19px;\n padding-right: 6px;\n background-repeat: no-repeat;\n}\n\n.ace_gutter-cell_svg-icons .ace_gutter_annotation {\n margin-left: -14px;\n float: left;\n}\n\n.ace_gutter-cell .ace_gutter_annotation {\n margin-left: -19px;\n float: left;\n}\n\n.ace_gutter-cell.ace_error, .ace_icon.ace_error, .ace_icon.ace_error_fold, .ace_gutter-cell.ace_security, .ace_icon.ace_security, .ace_icon.ace_security_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_warning, .ace_icon.ace_warning, .ace_icon.ace_warning_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_info, .ace_icon.ace_info, .ace_gutter-cell.ace_hint, .ace_icon.ace_hint {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_dark .ace_gutter-cell.ace_info, .ace_dark .ace_icon.ace_info, .ace_dark .ace_gutter-cell.ace_hint, .ace_dark .ace_icon.ace_hint {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");\n}\n\n.ace_icon_svg.ace_error {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJyZWQiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIj4KPGNpcmNsZSBmaWxsPSJub25lIiBjeD0iOCIgY3k9IjgiIHI9IjciIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPGxpbmUgeDE9IjExIiB5MT0iNSIgeDI9IjUiIHkyPSIxMSIvPgo8bGluZSB4MT0iMTEiIHkxPSIxMSIgeDI9IjUiIHkyPSI1Ii8+CjwvZz4KPC9zdmc+");\n background-color: crimson;\n}\n.ace_icon_svg.ace_security {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZT0iZGFya29yYW5nZSIgZmlsbD0ibm9uZSIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iPgogICAgICAgIDxwYXRoIGNsYXNzPSJzdHJva2UtbGluZWpvaW4tcm91bmQiIGQ9Ik04IDE0LjgzMDdDOCAxNC44MzA3IDIgMTIuOTA0NyAyIDguMDg5OTJWMy4yNjU0OEM1LjMxIDMuMjY1NDggNy45ODk5OSAxLjM0OTE4IDcuOTg5OTkgMS4zNDkxOEM3Ljk4OTk5IDEuMzQ5MTggMTAuNjkgMy4yNjU0OCAxNCAzLjI2NTQ4VjguMDg5OTJDMTQgMTIuOTA0NyA4IDE0LjgzMDcgOCAxNC44MzA3WiIvPgogICAgICAgIDxwYXRoIGQ9Ik0yIDguMDg5OTJWMy4yNjU0OEM1LjMxIDMuMjY1NDggNy45ODk5OSAxLjM0OTE4IDcuOTg5OTkgMS4zNDkxOCIvPgogICAgICAgIDxwYXRoIGQ9Ik0xMy45OSA4LjA4OTkyVjMuMjY1NDhDMTAuNjggMy4yNjU0OCA4IDEuMzQ5MTggOCAxLjM0OTE4Ii8+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTggNFY5Ii8+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTggMTBWMTIiLz4KICAgIDwvZz4KPC9zdmc+");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJkYXJrb3JhbmdlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+Cjxwb2x5Z29uIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGZpbGw9Im5vbmUiIHBvaW50cz0iOCAxIDE1IDE1IDEgMTUgOCAxIi8+CjxyZWN0IHg9IjgiIHk9IjEyIiB3aWR0aD0iMC4wMSIgaGVpZ2h0PSIwLjAxIi8+CjxsaW5lIHgxPSI4IiB5MT0iNiIgeDI9IjgiIHkyPSIxMCIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: darkorange;\n}\n.ace_icon_svg.ace_info {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJibHVlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CjxjaXJjbGUgZmlsbD0ibm9uZSIgY3g9IjgiIGN5PSI4IiByPSI3IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjxwb2x5bGluZSBwb2ludHM9IjggMTEgOCA4Ii8+Cjxwb2x5bGluZSBwb2ludHM9IjkgOCA2IDgiLz4KPGxpbmUgeDE9IjEwIiB5MT0iMTEiIHgyPSI2IiB5Mj0iMTEiLz4KPHJlY3QgeD0iOCIgeT0iNSIgd2lkdGg9IjAuMDEiIGhlaWdodD0iMC4wMSIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: royalblue;\n}\n.ace_icon_svg.ace_hint {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZT0ic2lsdmVyIiBmaWxsPSJub25lIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTYgMTRIMTAiLz4KICAgICAgICA8cGF0aCBkPSJNOCAxMUg5QzkgOS40NzAwMiAxMiA4LjU0MDAyIDEyIDUuNzYwMDJDMTIuMDIgNC40MDAwMiAxMS4zOSAzLjM2MDAyIDEwLjQzIDIuNjcwMDJDOSAxLjY0MDAyIDcuMDAwMDEgMS42NDAwMiA1LjU3MDAxIDIuNjcwMDJDNC42MTAwMSAzLjM2MDAyIDMuOTggNC40MDAwMiA0IDUuNzYwMDJDNCA4LjU0MDAyIDcuMDAwMDEgOS40NzAwMiA3LjAwMDAxIDExSDhaIi8+CiAgICA8L2c+Cjwvc3ZnPg==");\n background-color: silver;\n}\n\n.ace_icon_svg.ace_error_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSI+CiAgPHBhdGggZD0ibSAxOC45Mjk4NTEsNy44Mjk4MDc2IGMgMC4xNDYzNTMsNi4zMzc0NjA0IC02LjMyMzE0Nyw3Ljc3Nzg0NDQgLTcuNDc3OTEyLDcuNzc3ODQ0NCAtMi4xMDcyNzI2LC0wLjEyODc1IDUuMTE3Njc4LDAuMzU2MjQ5IDUuMDUxNjk4LC03Ljg3MDA2MTggLTAuNjA0NjcyLC04LjAwMzk3MzQ5IC03LjA3NzI3MDYsLTcuNTYzMTE4OSAtNC44NTczLC03LjQzMDM5NTU2IDEuNjA2LC0wLjExNTE0MjI1IDYuODk3NDg1LDEuMjYyNTQ1OTYgNy4yODM1MTQsNy41MjI2MTI5NiB6IiBmaWxsPSJjcmltc29uIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0ibSA4LjExNDc1NjIsMi4wNTI5ODI4IGMgMy4zNDkxNjk4LDAgNi4wNjQxMzI4LDIuNjc2ODYyNyA2LjA2NDEzMjgsNS45Nzg5NTMgMCwzLjMwMjExMjIgLTIuNzE0OTYzLDUuOTc4OTIwMiAtNi4wNjQxMzI4LDUuOTc4OTIwMiAtMy4zNDkxNDczLDAgLTYuMDY0MTc3MiwtMi42NzY4MDggLTYuMDY0MTc3MiwtNS45Nzg5MjAyIDAuMDA1MzksLTMuMjk5ODg2MSAyLjcxNzI2NTYsLTUuOTczNjQwOCA2LjA2NDE3NzIsLTUuOTc4OTUzIHogbSAwLC0xLjczNTgyNzE5IGMgLTQuMzIxNDgzNiwwIC03LjgyNDc0MDM4LDMuNDU0MDE4NDkgLTcuODI0NzQwMzgsNy43MTQ3ODAxOSAwLDQuMjYwNzI4MiAzLjUwMzI1Njc4LDcuNzE0NzQ1MiA3LjgyNDc0MDM4LDcuNzE0NzQ1MiA0LjMyMTQ0OTgsMCA3LjgyNDY5OTgsLTMuNDU0MDE3IDcuODI0Njk5OCwtNy43MTQ3NDUyIDAsLTIuMDQ2MDkxNCAtMC44MjQzOTIsLTQuMDA4MzY3MiAtMi4yOTE3NTYsLTUuNDU1MTc0NiBDIDEyLjE4MDIyNSwxLjEyOTk2NDggMTAuMTkwMDEzLDAuMzE3MTU1NjEgOC4xMTQ3NTYyLDAuMzE3MTU1NjEgWiBNIDYuOTM3NDU2Myw4LjI0MDU5ODUgNC42NzE4Njg1LDEwLjQ4NTg1MiA2LjAwODY4MTQsMTEuODc2NzI4IDguMzE3MDAzNSw5LjYwMDc5MTEgMTAuNjI1MzM3LDExLjg3NjcyOCAxMS45NjIxMzgsMTAuNDg1ODUyIDkuNjk2NTUwOCw4LjI0MDU5ODUgMTEuOTYyMTM4LDYuMDA2ODA2NiAxMC41NzMyNDYsNC42Mzc0MzM1IDguMzE3MDAzNSw2Ljg3MzQyOTcgNi4wNjA3NjA3LDQuNjM3NDMzNSA0LjY3MTg2ODUsNi4wMDY4MDY2IFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=");\n background-color: crimson;\n}\n.ace_icon_svg.ace_security_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTcgMTQiIGZpbGw9Im5vbmUiPgogICAgPHBhdGggZD0iTTEwLjAwMDEgMTMuNjk5MkMxMC4wMDAxIDEzLjY5OTIgMTEuOTI0MSAxMy40NzYzIDEzIDEyLjY5OTJDMTQuNDEzOSAxMS42NzgxIDE2IDEwLjUgMTYuMTI1MSA2LjgxMTI2VjIuNTg5ODdDMTYuMTI1MSAyLjU0NzY4IDE2LjEyMjEgMi41MDYxOSAxNi4xMTY0IDIuNDY1NTlWMS43MTQ4NUgxNS4yNDE0TDE1LjIzMDcgMS43MTQ4NEwxNC42MjUxIDEuNjk5MjJWNi44MTEyM0MxNC42MjUxIDguNTEwNjEgMTQuNjI1MSA5LjQ2NDYxIDEyLjc4MjQgMTEuNzIxQzEyLjE1ODYgMTIuNDg0OCAxMC4wMDAxIDEzLjY5OTIgMTAuMDAwMSAxMy42OTkyWiIgZmlsbD0iY3JpbXNvbiIgc3Ryb2tlLXdpZHRoPSIyIi8+CiAgICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTcuMzM2MDkgMC4zNjc0NzVDNy4wMzIxNCAwLjE1MjY1MiA2LjYyNTQ4IDAuMTUzNjE0IDYuMzIyNTMgMC4zNjk5OTdMNi4zMDg2OSAwLjM3OTU1NEM2LjI5NTUzIDAuMzg4NTg4IDYuMjczODggMC40MDMyNjYgNi4yNDQxNyAwLjQyMjc4OUM2LjE4NDcxIDAuNDYxODYgNi4wOTMyMSAwLjUyMDE3MSA1Ljk3MzEzIDAuNTkxMzczQzUuNzMyNTEgMC43MzQwNTkgNS4zNzk5IDAuOTI2ODY0IDQuOTQyNzkgMS4xMjAwOUM0LjA2MTQ0IDEuNTA5NyAyLjg3NTQxIDEuODgzNzcgMS41ODk4NCAxLjg4Mzc3SDAuNzE0ODQ0VjIuNzU4NzdWNi45ODAxNUMwLjcxNDg0NCA5LjQ5Mzc0IDIuMjg4NjYgMTEuMTk3MyAzLjcwMjU0IDEyLjIxODVDNC40MTg0NSAxMi43MzU1IDUuMTI4NzQgMTMuMTA1MyA1LjY1NzMzIDEzLjM0NTdDNS45MjI4NCAxMy40NjY0IDYuMTQ1NjYgMTMuNTU1OSA2LjMwNDY1IDEzLjYxNjFDNi4zODQyMyAxMy42NDYyIDYuNDQ4MDUgMTMuNjY5IDYuNDkzNDkgMTMuNjg0OEM2LjUxNjIyIDEzLjY5MjcgNi41MzQzOCAxMy42OTg5IDYuNTQ3NjQgMTMuNzAzM0w2LjU2MzgyIDEzLjcwODdMNi41NjkwOCAxMy43MTA0TDYuNTcwOTkgMTMuNzExTDYuODM5ODQgMTMuNzUzM0w2LjU3MjQyIDEzLjcxMTVDNi43NDYzMyAxMy43NjczIDYuOTMzMzUgMTMuNzY3MyA3LjEwNzI3IDEzLjcxMTVMNy4xMDg3IDEzLjcxMUw3LjExMDYxIDEzLjcxMDRMNy4xMTU4NyAxMy43MDg3TDcuMTMyMDUgMTMuNzAzM0M3LjE0NTMxIDEzLjY5ODkgNy4xNjM0NiAxMy42OTI3IDcuMTg2MTkgMTMuNjg0OEM3LjIzMTY0IDEzLjY2OSA3LjI5NTQ2IDEzLjY0NjIgNy4zNzUwMyAxMy42MTYxQzcuNTM0MDMgMTMuNTU1OSA3Ljc1Njg1IDEzLjQ2NjQgOC4wMjIzNiAxMy4zNDU3QzguNTUwOTUgMTMuMTA1MyA5LjI2MTIzIDEyLjczNTUgOS45NzcxNSAxMi4yMTg1QzExLjM5MSAxMS4xOTczIDEyLjk2NDggOS40OTM3NyAxMi45NjQ4IDYuOTgwMThWMi43NTg4QzEyLjk2NDggMi43MTY2IDEyLjk2MTkgMi42NzUxMSAxMi45NTYxIDIuNjM0NTFWMS44ODM3N0gxMi4wODExQzEyLjA3NzUgMS44ODM3NyAxMi4wNzQgMS44ODM3NyAxMi4wNzA0IDEuODgzNzdDMTAuNzk3OSAxLjg4MDA0IDkuNjE5NjIgMS41MTEwMiA4LjczODk0IDEuMTI0ODZDOC43MzUzNCAxLjEyMzI3IDguNzMxNzQgMS4xMjE2OCA4LjcyODE0IDEuMTIwMDlDOC4yOTEwMyAwLjkyNjg2NCA3LjkzODQyIDAuNzM0MDU5IDcuNjk3NzkgMC41OTEzNzNDNy41Nzc3MiAwLjUyMDE3MSA3LjQ4NjIyIDAuNDYxODYgNy40MjY3NiAwLjQyMjc4OUM3LjM5NzA1IDAuNDAzMjY2IDcuMzc1MzkgMC4zODg1ODggNy4zNjIyNCAwLjM3OTU1NEw3LjM0ODk2IDAuMzcwMzVDNy4zNDg5NiAwLjM3MDM1IDcuMzQ4NDcgMC4zNzAwMiA3LjM0NTYzIDAuMzc0MDU0TDcuMzM3NzkgMC4zNjg2NTlMNy4zMzYwOSAwLjM2NzQ3NVpNOC4wMzQ3MSAyLjcyNjkxQzguODYwNCAzLjA5MDYzIDkuOTYwNjYgMy40NjMwOSAxMS4yMDYxIDMuNTg5MDdWNi45ODAxNUgxMS4yMTQ4QzExLjIxNDggOC42Nzk1MyAxMC4xNjM3IDkuOTI1MDcgOC45NTI1NCAxMC43OTk4QzguMzU1OTUgMTEuMjMwNiA3Ljc1Mzc0IDExLjU0NTQgNy4yOTc5NiAxMS43NTI3QzcuMTE2NzEgMTEuODM1MSA2Ljk2MDYyIDExLjg5OTYgNi44Mzk4NCAxMS45NDY5QzYuNzE5MDYgMTEuODk5NiA2LjU2Mjk3IDExLjgzNTEgNi4zODE3MyAxMS43NTI3QzUuOTI1OTUgMTEuNTQ1NCA1LjMyMzczIDExLjIzMDYgNC43MjcxNSAxMC43OTk4QzMuNTE2MDMgOS45MjUwNyAyLjQ2NDg0IDguNjc5NTUgMi40NjQ4NCA2Ljk4MDE4VjMuNTg5MDlDMy43MTczOCAzLjQ2MjM5IDQuODIzMDggMy4wODYzOSA1LjY1MDMzIDIuNzIwNzFDNi4xNDIyOCAyLjUwMzI0IDYuNTQ0ODUgMi4yODUzNyA2LjgzMjU0IDIuMTE2MjRDNy4xMjE4MSAyLjI4NTM1IDcuNTI3IDIuNTAzNTIgOC4wMjE5NiAyLjcyMTMxQzguMDI2MiAyLjcyMzE3IDguMDMwNDUgMi43MjUwNCA4LjAzNDcxIDIuNzI2OTFaTTUuOTY0ODQgMy40MDE0N1Y3Ljc3NjQ3SDcuNzE0ODRWMy40MDE0N0g1Ljk2NDg0Wk01Ljk2NDg0IDEwLjQwMTVWOC42NTE0N0g3LjcxNDg0VjEwLjQwMTVINS45NjQ4NFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNC43NzY5IDE0LjczMzdMOC42NTE5MiAyLjQ4MzY5QzguMzI5NDYgMS44Mzg3NyA3LjQwOTEzIDEuODM4NzcgNy4wODY2NyAyLjQ4MzY5TDAuOTYxNjY5IDE0LjczMzdDMC42NzA3NzUgMTUuMzE1NSAxLjA5MzgzIDE2IDEuNzQ0MjkgMTZIMTMuOTk0M0MxNC42NDQ4IDE2IDE1LjA2NzggMTUuMzE1NSAxNC43NzY5IDE0LjczMzdaTTMuMTYwMDcgMTQuMjVMNy44NjkyOSA0LjgzMTU2TDEyLjU3ODUgMTQuMjVIMy4xNjAwN1pNOC43NDQyOSAxMS42MjVWMTMuMzc1SDYuOTk0MjlWMTEuNjI1SDguNzQ0MjlaTTYuOTk0MjkgMTAuNzVWNy4yNUg4Ljc0NDI5VjEwLjc1SDYuOTk0MjlaIiBmaWxsPSIjRUM3MjExIi8+CjxwYXRoIGQ9Ik0xMS4xOTkxIDIuOTUyMzhDMTAuODgwOSAyLjMxNDY3IDEwLjM1MzcgMS44MDUyNiA5LjcwNTUgMS41MDlMMTEuMDQxIDEuMDY5NzhDMTEuNjg4MyAwLjk0OTgxNCAxMi4zMzcgMS4yNzI2MyAxMi42MzE3IDEuODYxNDFMMTcuNjEzNiAxMS44MTYxQzE4LjM1MjcgMTMuMjkyOSAxNy41OTM4IDE1LjA4MDQgMTYuMDE4IDE1LjU3NDVDMTYuNDA0NCAxNC40NTA3IDE2LjMyMzEgMTMuMjE4OCAxNS43OTI0IDEyLjE1NTVMMTEuMTk5MSAyLjk1MjM4WiIgZmlsbD0iI0VDNzIxMSIvPgo8L3N2Zz4=");\n background-color: darkorange;\n}\n\n.ace_scrollbar {\n contain: strict;\n position: absolute;\n right: 0;\n bottom: 0;\n z-index: 6;\n}\n\n.ace_scrollbar-inner {\n position: absolute;\n cursor: text;\n left: 0;\n top: 0;\n}\n\n.ace_scrollbar-v{\n overflow-x: hidden;\n overflow-y: scroll;\n top: 0;\n}\n\n.ace_scrollbar-h {\n overflow-x: scroll;\n overflow-y: hidden;\n left: 0;\n}\n\n.ace_print-margin {\n position: absolute;\n height: 100%;\n}\n\n.ace_text-input {\n position: absolute;\n z-index: 0;\n width: 0.5em;\n height: 1em;\n opacity: 0;\n background: transparent;\n -moz-appearance: none;\n appearance: none;\n border: none;\n resize: none;\n outline: none;\n overflow: hidden;\n font: inherit;\n padding: 0 1px;\n margin: 0 -1px;\n contain: strict;\n -ms-user-select: text;\n -moz-user-select: text;\n -webkit-user-select: text;\n user-select: text;\n /*with `pre-line` chrome inserts   instead of space*/\n white-space: pre!important;\n}\n.ace_text-input.ace_composition {\n background: transparent;\n color: inherit;\n z-index: 1000;\n opacity: 1;\n}\n.ace_composition_placeholder { color: transparent }\n.ace_composition_marker { \n border-bottom: 1px solid;\n position: absolute;\n border-radius: 0;\n margin-top: 1px;\n}\n\n[ace_nocontext=true] {\n transform: none!important;\n filter: none!important;\n clip-path: none!important;\n mask : none!important;\n contain: none!important;\n perspective: none!important;\n mix-blend-mode: initial!important;\n z-index: auto;\n}\n\n.ace_layer {\n z-index: 1;\n position: absolute;\n overflow: hidden;\n /* workaround for chrome bug https://github.com/ajaxorg/ace/issues/2312*/\n word-wrap: normal;\n white-space: pre;\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n /* setting pointer-events: auto; on node under the mouse, which changes\n during scroll, will break mouse wheel scrolling in Safari */\n pointer-events: none;\n}\n\n.ace_gutter-layer {\n position: relative;\n width: auto;\n text-align: right;\n pointer-events: auto;\n height: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer {\n font: inherit !important;\n position: absolute;\n height: 1000000px;\n width: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group {\n contain: style size layout;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n}\n\n.ace_hidpi .ace_text-layer,\n.ace_hidpi .ace_gutter-layer,\n.ace_hidpi .ace_content,\n.ace_hidpi .ace_gutter {\n contain: strict;\n}\n.ace_hidpi .ace_text-layer > .ace_line, \n.ace_hidpi .ace_text-layer > .ace_line_group {\n contain: strict;\n}\n\n.ace_cjk {\n display: inline-block;\n text-align: center;\n}\n\n.ace_cursor-layer {\n z-index: 4;\n}\n\n.ace_cursor {\n z-index: 4;\n position: absolute;\n box-sizing: border-box;\n border-left: 2px solid;\n /* workaround for smooth cursor repaintng whole screen in chrome */\n transform: translatez(0);\n}\n\n.ace_multiselect .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_slim-cursors .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_overwrite-cursors .ace_cursor {\n border-left-width: 0;\n border-bottom: 1px solid;\n}\n\n.ace_hidden-cursors .ace_cursor {\n opacity: 0.2;\n}\n\n.ace_hasPlaceholder .ace_hidden-cursors .ace_cursor {\n opacity: 0;\n}\n\n.ace_smooth-blinking .ace_cursor {\n transition: opacity 0.18s;\n}\n\n.ace_animate-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: step-end;\n animation-name: blink-ace-animate;\n animation-iteration-count: infinite;\n}\n\n.ace_animate-blinking.ace_smooth-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: ease-in-out;\n animation-name: blink-ace-animate-smooth;\n}\n \n@keyframes blink-ace-animate {\n from, to { opacity: 1; }\n 60% { opacity: 0; }\n}\n\n@keyframes blink-ace-animate-smooth {\n from, to { opacity: 1; }\n 45% { opacity: 1; }\n 60% { opacity: 0; }\n 85% { opacity: 0; }\n}\n\n.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {\n position: absolute;\n z-index: 3;\n}\n\n.ace_marker-layer .ace_selection {\n position: absolute;\n z-index: 5;\n}\n\n.ace_marker-layer .ace_bracket {\n position: absolute;\n z-index: 6;\n}\n\n.ace_marker-layer .ace_error_bracket {\n position: absolute;\n border-bottom: 1px solid #DE5555;\n border-radius: 0;\n}\n\n.ace_marker-layer .ace_active-line {\n position: absolute;\n z-index: 2;\n}\n\n.ace_marker-layer .ace_selected-word {\n position: absolute;\n z-index: 4;\n box-sizing: border-box;\n}\n\n.ace_line .ace_fold {\n box-sizing: border-box;\n\n display: inline-block;\n height: 11px;\n margin-top: -2px;\n vertical-align: middle;\n\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");\n background-repeat: no-repeat, repeat-x;\n background-position: center center, top left;\n color: transparent;\n\n border: 1px solid black;\n border-radius: 2px;\n\n cursor: pointer;\n pointer-events: auto;\n}\n\n.ace_dark .ace_fold {\n}\n\n.ace_fold:hover{\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");\n}\n\n.ace_tooltip {\n background-color: #f5f5f5;\n border: 1px solid gray;\n border-radius: 1px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n color: black;\n max-width: 100%;\n padding: 3px 4px;\n position: fixed;\n z-index: 999999;\n box-sizing: border-box;\n cursor: default;\n white-space: pre-wrap;\n word-wrap: break-word;\n line-height: normal;\n font-style: normal;\n font-weight: normal;\n letter-spacing: normal;\n pointer-events: none;\n overflow: auto;\n max-width: min(60em, 66vw);\n overscroll-behavior: contain;\n}\n.ace_tooltip pre {\n white-space: pre-wrap;\n}\n\n.ace_tooltip.ace_dark {\n background-color: #636363;\n color: #fff;\n}\n\n.ace_tooltip:focus {\n outline: 1px solid #5E9ED6;\n}\n\n.ace_icon {\n display: inline-block;\n width: 18px;\n vertical-align: top;\n}\n\n.ace_icon_svg {\n display: inline-block;\n width: 12px;\n vertical-align: top;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-size: 12px;\n -webkit-mask-position: center;\n}\n\n.ace_folding-enabled > .ace_gutter-cell, .ace_folding-enabled > .ace_gutter-cell_svg-icons {\n padding-right: 13px;\n}\n\n.ace_fold-widget {\n box-sizing: border-box;\n\n margin: 0 -12px 0 1px;\n display: none;\n width: 11px;\n vertical-align: top;\n\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: center;\n\n border-radius: 3px;\n \n border: 1px solid transparent;\n cursor: pointer;\n}\n\n.ace_folding-enabled .ace_fold-widget {\n display: inline-block; \n}\n\n.ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");\n}\n\n.ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");\n}\n\n.ace_fold-widget:hover {\n border: 1px solid rgba(0, 0, 0, 0.3);\n background-color: rgba(255, 255, 255, 0.2);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);\n}\n\n.ace_fold-widget:active {\n border: 1px solid rgba(0, 0, 0, 0.4);\n background-color: rgba(0, 0, 0, 0.05);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);\n}\n/**\n * Dark version for fold widgets\n */\n.ace_dark .ace_fold-widget {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");\n}\n.ace_dark .ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget:hover {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n background-color: rgba(255, 255, 255, 0.1);\n}\n.ace_dark .ace_fold-widget:active {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n}\n\n.ace_inline_button {\n border: 1px solid lightgray;\n display: inline-block;\n margin: -1px 8px;\n padding: 0 5px;\n pointer-events: auto;\n cursor: pointer;\n}\n.ace_inline_button:hover {\n border-color: gray;\n background: rgba(200,200,200,0.2);\n display: inline-block;\n pointer-events: auto;\n}\n\n.ace_fold-widget.ace_invalid {\n background-color: #FFB4B4;\n border-color: #DE5555;\n}\n\n.ace_fade-fold-widgets .ace_fold-widget {\n transition: opacity 0.4s ease 0.05s;\n opacity: 0;\n}\n\n.ace_fade-fold-widgets:hover .ace_fold-widget {\n transition: opacity 0.05s ease 0.05s;\n opacity:1;\n}\n\n.ace_underline {\n text-decoration: underline;\n}\n\n.ace_bold {\n font-weight: bold;\n}\n\n.ace_nobold .ace_bold {\n font-weight: normal;\n}\n\n.ace_italic {\n font-style: italic;\n}\n\n\n.ace_error-marker {\n background-color: rgba(255, 0, 0,0.2);\n position: absolute;\n z-index: 9;\n}\n\n.ace_highlight-marker {\n background-color: rgba(255, 255, 0,0.2);\n position: absolute;\n z-index: 8;\n}\n\n.ace_mobile-menu {\n position: absolute;\n line-height: 1.5;\n border-radius: 4px;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n background: white;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #dcdcdc;\n color: black;\n}\n.ace_dark > .ace_mobile-menu {\n background: #333;\n color: #ccc;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #444;\n\n}\n.ace_mobile-button {\n padding: 2px;\n cursor: pointer;\n overflow: hidden;\n}\n.ace_mobile-button:hover {\n background-color: #eee;\n opacity:1;\n}\n.ace_mobile-button:active {\n background-color: #ddd;\n}\n\n.ace_placeholder {\n position: relative;\n font-family: arial;\n transform: scale(0.9);\n transform-origin: left;\n white-space: pre;\n opacity: 0.7;\n margin: 0 10px;\n z-index: 1;\n}\n\n.ace_ghost_text {\n opacity: 0.5;\n font-style: italic;\n}\n\n.ace_ghost_text_container > div {\n white-space: pre;\n}\n\n.ghost_text_line_wrapped::after {\n content: "↩";\n position: absolute;\n}\n\n.ace_lineWidgetContainer.ace_ghost_text {\n margin: 0px 4px\n}\n\n.ace_screenreader-only {\n position:absolute;\n left:-10000px;\n top:auto;\n width:1px;\n height:1px;\n overflow:hidden;\n}\n\n.ace_hidden_token {\n display: none;\n}'}),ace.define("ace/layer/decorators",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter"],function(E,x,z){var k=E("../lib/dom"),M=E("../lib/oop"),S=E("../lib/event_emitter").EventEmitter,a=(function(){function c(o,i){this.canvas=k.createElement("canvas"),this.renderer=i,this.pixelRatio=1,this.maxHeight=i.layerConfig.maxHeight,this.lineHeight=i.layerConfig.lineHeight,this.canvasHeight=o.parent.scrollHeight,this.heightRatio=this.canvasHeight/this.maxHeight,this.canvasWidth=o.width,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.canvas.style.top="0px",this.canvas.style.right="0px",this.canvas.style.zIndex="7px",this.canvas.style.position="absolute",this.colors={},this.colors.dark={error:"rgba(255, 18, 18, 1)",warning:"rgba(18, 136, 18, 1)",info:"rgba(18, 18, 136, 1)"},this.colors.light={error:"rgb(255,51,51)",warning:"rgb(32,133,72)",info:"rgb(35,68,138)"},o.element.appendChild(this.canvas)}return c.prototype.$updateDecorators=function(o){var i=this.renderer.theme.isDark===!0?this.colors.dark:this.colors.light;if(o){this.maxHeight=o.maxHeight,this.lineHeight=o.lineHeight,this.canvasHeight=o.height;var n=(o.lastRow+1)*this.lineHeight;nf.priority?1:0}var r=this.renderer.session.$annotations;if(t.clearRect(0,0,this.canvas.width,this.canvas.height),r){var s={info:1,warning:2,error:3};r.forEach(function(w){w.priority=s[w.type]||null}),r=r.sort(e);for(var l=this.renderer.session.$foldData,u=0;uthis.canvasHeight&&(A=this.canvasHeight-this.halfMinDecorationHeight),d=Math.round(A-this.halfMinDecorationHeight),$=Math.round(A+this.halfMinDecorationHeight)}t.fillStyle=i[r[u].type]||null,t.fillRect(0,g,this.canvasWidth,$-d)}}var C=this.renderer.session.selection.getCursor();if(C){var m=this.compensateFoldRows(C.row,l),g=Math.round((C.row-m)*this.lineHeight*this.heightRatio);t.fillStyle="rgba(0, 0, 0, 0.5)",t.fillRect(0,g,this.canvasWidth,2)}},c.prototype.compensateFoldRows=function(o,i){var n=0;if(i&&i.length>0)for(var t=0;ti[t].start.row&&o=i[t].end.row&&(n+=i[t].end.row-i[t].start.row);return n},c})();M.implement(a.prototype,S),x.Decorator=a}),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/scrollbar_custom","ace/scrollbar_custom","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/css/editor-css","ace/layer/decorators","ace/lib/useragent","ace/layer/text_util"],function(E,x,z){var k=E("./lib/oop"),M=E("./lib/dom"),S=E("./lib/lang"),a=E("./config"),c=E("./layer/gutter").Gutter,o=E("./layer/marker").Marker,i=E("./layer/text").Text,n=E("./layer/cursor").Cursor,t=E("./scrollbar").HScrollBar,e=E("./scrollbar").VScrollBar,r=E("./scrollbar_custom").HScrollBar,s=E("./scrollbar_custom").VScrollBar,l=E("./renderloop").RenderLoop,u=E("./layer/font_metrics").FontMetrics,b=E("./lib/event_emitter").EventEmitter,m=E("./css/editor-css"),g=E("./layer/decorators").Decorator,d=E("./lib/useragent"),$=E("./layer/text_util").isTextToken;M.importCssString(m,"ace_editor.css?v=1773287522785",!1);var T=(function(){function A(C,w){var f=this;this.container=C||M.createElement("div"),M.addCssClass(this.container,"ace_editor"),M.HI_DPI&&M.addCssClass(this.container,"ace_hidpi"),this.setTheme(w),a.get("useStrictCSP")==null&&a.set("useStrictCSP",!1),this.$gutter=M.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden","true"),this.scroller=M.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=M.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new c(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new o(this.content);var p=this.$textLayer=new i(this.content);this.canvas=p.element,this.$markerFront=new o(this.content),this.$cursorLayer=new n(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new e(this.container,this),this.scrollBarH=new t(this.container,this),this.scrollBarV.on("scroll",function(h){f.$scrollAnimation||f.session.setScrollTop(h.data-f.scrollMargin.top)}),this.scrollBarH.on("scroll",function(h){f.$scrollAnimation||f.session.setScrollLeft(h.data-f.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new u(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",function(h){f.updateCharacterSize(),f.onResize(!0,f.gutterWidth,f.$size.width,f.$size.height),f._signal("changeCharacterSize",h)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!d.isIOS,this.$loop=new l(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),this.$addResizeObserver(),a.resetOptions(this),a._signal("renderer",this)}return A.prototype.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),M.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},A.prototype.setSession=function(C){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=C,C&&this.scrollMargin.top&&C.getScrollTop()<=0&&C.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(C),this.$markerBack.setSession(C),this.$markerFront.setSession(C),this.$gutterLayer.setSession(C),this.$textLayer.setSession(C),C&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},A.prototype.updateLines=function(C,w,f){if(w===void 0&&(w=1/0),this.$changedLines?(this.$changedLines.firstRow>C&&(this.$changedLines.firstRow=C),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},A.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},A.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},A.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},A.prototype.updateFull=function(C){C?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},A.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},A.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},A.prototype.onResize=function(C,w,f,p){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=C?1:0;var h=this.container;p||(p=h.clientHeight||h.scrollHeight),!p&&this.$maxLines&&this.lineHeight>1&&(!h.style.height||h.style.height=="0px")&&(h.style.height="1px",p=h.clientHeight||h.scrollHeight),f||(f=h.clientWidth||h.scrollWidth);var v=this.$updateCachedSize(C,w,f,p);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!f&&!p)return this.resizing=0;C&&(this.$gutterLayer.$padding=null),C?this.$renderChanges(v|this.$changes,!0):this.$loop.schedule(v|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},A.prototype.$updateCachedSize=function(C,w,f,p){p-=this.$extraHeight||0;var h=0,v=this.$size,y={width:v.width,height:v.height,scrollerHeight:v.scrollerHeight,scrollerWidth:v.scrollerWidth};if(p&&(C||v.height!=p)&&(v.height=p,h|=this.CHANGE_SIZE,v.scrollerHeight=v.height,this.$horizScroll&&(v.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(v.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",h=h|this.CHANGE_SCROLL),f&&(C||v.width!=f)){h|=this.CHANGE_SIZE,v.width=f,w==null&&(w=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=w,M.setStyle(this.scrollBarH.element.style,"left",w+"px"),M.setStyle(this.scroller.style,"left",w+this.margin.left+"px"),v.scrollerWidth=Math.max(0,f-w-this.scrollBarV.getWidth()-this.margin.h),M.setStyle(this.$gutter.style,"left",this.margin.left+"px");var L=this.scrollBarV.getWidth()+"px";M.setStyle(this.scrollBarH.element.style,"right",L),M.setStyle(this.scroller.style,"right",L),M.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(v.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||C)&&(h|=this.CHANGE_FULL)}return v.$dirty=!f||!p,h&&this._signal("resize",y),h},A.prototype.onGutterResize=function(C){var w=this.$showGutter?C:0;w!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,w,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()?this.$loop.schedule(this.CHANGE_FULL):this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},A.prototype.adjustWrapLimit=function(){var C=this.$size.scrollerWidth-this.$padding*2,w=Math.floor(C/this.characterWidth);return this.session.adjustWrapLimit(w,this.$showPrintMargin&&this.$printMarginColumn)},A.prototype.setAnimatedScroll=function(C){this.setOption("animatedScroll",C)},A.prototype.getAnimatedScroll=function(){return this.$animatedScroll},A.prototype.setShowInvisibles=function(C){this.setOption("showInvisibles",C),this.session.$bidiHandler.setShowInvisibles(C)},A.prototype.getShowInvisibles=function(){return this.getOption("showInvisibles")},A.prototype.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},A.prototype.setDisplayIndentGuides=function(C){this.setOption("displayIndentGuides",C)},A.prototype.getHighlightIndentGuides=function(){return this.getOption("highlightIndentGuides")},A.prototype.setHighlightIndentGuides=function(C){this.setOption("highlightIndentGuides",C)},A.prototype.setShowPrintMargin=function(C){this.setOption("showPrintMargin",C)},A.prototype.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},A.prototype.setPrintMarginColumn=function(C){this.setOption("printMarginColumn",C)},A.prototype.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},A.prototype.getShowGutter=function(){return this.getOption("showGutter")},A.prototype.setShowGutter=function(C){return this.setOption("showGutter",C)},A.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},A.prototype.setFadeFoldWidgets=function(C){this.setOption("fadeFoldWidgets",C)},A.prototype.setHighlightGutterLine=function(C){this.setOption("highlightGutterLine",C)},A.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},A.prototype.$updatePrintMargin=function(){if(!(!this.$showPrintMargin&&!this.$printMarginEl)){if(!this.$printMarginEl){var C=M.createElement("div");C.className="ace_layer ace_print-margin-layer",this.$printMarginEl=M.createElement("div"),this.$printMarginEl.className="ace_print-margin",C.appendChild(this.$printMarginEl),this.content.insertBefore(C,this.content.firstChild)}var w=this.$printMarginEl.style;w.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",w.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&this.session.$wrap==-1&&this.adjustWrapLimit()}},A.prototype.getContainerElement=function(){return this.container},A.prototype.getMouseEventTarget=function(){return this.scroller},A.prototype.getTextAreaContainer=function(){return this.container},A.prototype.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var C=this.textarea.style,w=this.$composition;if(!this.$keepTextAreaAtCursor&&!w){M.translate(this.textarea,-100,0);return}var f=this.$cursorLayer.$pixelPos;if(f){w&&w.markerRange&&(f=this.$cursorLayer.getPixelPosition(w.markerRange.start,!0));var p=this.layerConfig,h=f.top,v=f.left;h-=p.offset;var y=w&&w.useTextareaForIME||d.isMobile?this.lineHeight:1;if(h<0||h>p.height-y){M.translate(this.textarea,0,0);return}var L=1,R=this.$size.height-y;if(!w)h+=this.lineHeight;else if(w.useTextareaForIME){var _=this.textarea.value;L=this.characterWidth*this.session.$getStringScreenWidth(_)[0]}else h+=this.lineHeight+2;v-=this.scrollLeft,v>this.$size.scrollerWidth-L&&(v=this.$size.scrollerWidth-L),v+=this.gutterWidth+this.margin.left,M.setStyle(C,"height",y+"px"),M.setStyle(C,"width",L+"px"),M.translate(this.textarea,Math.min(v,this.$size.scrollerWidth-L),Math.min(h,R))}}},A.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},A.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(this.layerConfig.offset===0?0:1)},A.prototype.getLastFullyVisibleRow=function(){var C=this.layerConfig,w=C.lastRow,f=this.session.documentToScreenRow(w,0)*C.lineHeight;return f-this.session.getScrollTop()>C.height-C.lineHeight?w-1:w},A.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},A.prototype.setPadding=function(C){this.$padding=C,this.$textLayer.setPadding(C),this.$cursorLayer.setPadding(C),this.$markerFront.setPadding(C),this.$markerBack.setPadding(C),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},A.prototype.setScrollMargin=function(C,w,f,p){var h=this.scrollMargin;h.top=C|0,h.bottom=w|0,h.right=p|0,h.left=f|0,h.v=h.top+h.bottom,h.h=h.left+h.right,h.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-h.top),this.updateFull()},A.prototype.setMargin=function(C,w,f,p){var h=this.margin;h.top=C|0,h.bottom=w|0,h.right=p|0,h.left=f|0,h.v=h.top+h.bottom,h.h=h.left+h.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},A.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},A.prototype.setHScrollBarAlwaysVisible=function(C){this.setOption("hScrollBarAlwaysVisible",C)},A.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},A.prototype.setVScrollBarAlwaysVisible=function(C){this.setOption("vScrollBarAlwaysVisible",C)},A.prototype.$updateScrollBarV=function(){var C=this.layerConfig.maxHeight,w=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(C-=(w-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>C-w&&(C=this.scrollTop+w,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(C+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},A.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},A.prototype.freeze=function(){this.$frozen=!0},A.prototype.unfreeze=function(){this.$frozen=!1},A.prototype.$renderChanges=function(C,w){if(this.$changes&&(C|=this.$changes,this.$changes=0),!this.session||!this.container.offsetWidth||this.$frozen||!C&&!w){this.$changes|=C;return}if(this.$size.$dirty)return this.$changes|=C,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",C),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var f=this.layerConfig;if(C&this.CHANGE_FULL||C&this.CHANGE_SIZE||C&this.CHANGE_TEXT||C&this.CHANGE_LINES||C&this.CHANGE_SCROLL||C&this.CHANGE_H_SCROLL){if(C|=this.$computeLayerConfig()|this.$loop.clear(),f.firstRow!=this.layerConfig.firstRow&&f.firstRowScreen==this.layerConfig.firstRowScreen){var p=this.scrollTop+(f.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;p>0&&(this.scrollTop=p,C=C|this.CHANGE_SCROLL,C|=this.$computeLayerConfig()|this.$loop.clear())}f=this.layerConfig,this.$updateScrollBarV(),C&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),M.translate(this.content,-this.scrollLeft,-f.offset);var h=f.width+2*this.$padding+"px",v=f.minHeight+"px";M.setStyle(this.content.style,"width",h),M.setStyle(this.content.style,"height",v)}if(C&this.CHANGE_H_SCROLL&&(M.translate(this.content,-this.scrollLeft,-f.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility&&(this.scroller.className+=this.keyboardFocusClassName)),C&this.CHANGE_FULL){this.$changedLines=null,this.$textLayer.update(f),this.$showGutter&&this.$gutterLayer.update(f),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(f),this.$markerBack.update(f),this.$markerFront.update(f),this.$cursorLayer.update(f),this.$moveTextAreaToCursor(),this._signal("afterRender",C);return}if(C&this.CHANGE_SCROLL){this.$changedLines=null,C&this.CHANGE_TEXT||C&this.CHANGE_LINES?this.$textLayer.update(f):this.$textLayer.scrollLines(f),this.$showGutter&&(C&this.CHANGE_GUTTER||C&this.CHANGE_LINES?this.$gutterLayer.update(f):this.$gutterLayer.scrollLines(f)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(f),this.$markerBack.update(f),this.$markerFront.update(f),this.$cursorLayer.update(f),this.$moveTextAreaToCursor(),this._signal("afterRender",C);return}C&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(f),this.$showGutter&&this.$gutterLayer.update(f),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(f)):C&this.CHANGE_LINES?((this.$updateLines()||C&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(f),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(f)):C&this.CHANGE_TEXT||C&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(f),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(f)):C&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(f),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(f)),C&this.CHANGE_CURSOR&&(this.$cursorLayer.update(f),this.$moveTextAreaToCursor()),C&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(f),C&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(f),this._signal("afterRender",C)},A.prototype.$autosize=function(){var C=this.session.getScreenLength()*this.lineHeight,w=this.$maxLines*this.lineHeight,f=Math.min(w,Math.max((this.$minLines||1)*this.lineHeight,C))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(f+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&f>this.$maxPixelHeight&&(f=this.$maxPixelHeight);var p=f<=2*this.lineHeight,h=!p&&C>w;if(f!=this.desiredHeight||this.$size.height!=this.desiredHeight||h!=this.$vScroll){h!=this.$vScroll&&(this.$vScroll=h,this.scrollBarV.setVisible(h));var v=this.container.clientWidth;this.container.style.height=f+"px",this.$updateCachedSize(!0,this.$gutterWidth,v,f),this.desiredHeight=f,this._signal("autosize")}},A.prototype.$computeLayerConfig=function(){var C=this.session,w=this.$size,f=w.height<=2*this.lineHeight,p=this.session.getScreenLength(),h=p*this.lineHeight,v=this.$getLongestLine(),y=!f&&(this.$hScrollBarAlwaysVisible||w.scrollerWidth-v-2*this.$padding<0),L=this.$horizScroll!==y;L&&(this.$horizScroll=y,this.scrollBarH.setVisible(y));var R=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var _=w.scrollerHeight+this.lineHeight,I=!this.$maxLines&&this.$scrollPastEnd?(w.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;h+=I;var N=this.scrollMargin;this.session.setScrollTop(Math.max(-N.top,Math.min(this.scrollTop,h-w.scrollerHeight+N.bottom))),this.session.setScrollLeft(Math.max(-N.left,Math.min(this.scrollLeft,v+2*this.$padding-w.scrollerWidth+N.right)));var W=!f&&(this.$vScrollBarAlwaysVisible||w.scrollerHeight-h+I<0||this.scrollTop>N.top),O=R!==W;O&&(this.$vScroll=W,this.scrollBarV.setVisible(W));var D=this.scrollTop%this.lineHeight,F=Math.ceil(_/this.lineHeight)-1,H=Math.max(0,Math.round((this.scrollTop-D)/this.lineHeight)),P=H+F,U,j,V=this.lineHeight;H=C.screenToDocumentRow(H,0);var Y=C.getFoldLine(H);Y&&(H=Y.start.row),U=C.documentToScreenRow(H,0),j=C.getRowLength(H)*V,P=Math.min(C.screenToDocumentRow(P,0),C.getLength()-1),_=w.scrollerHeight+C.getRowLength(P)*V+j,D=this.scrollTop-U*V;var Z=0;return(this.layerConfig.width!=v||L)&&(Z=this.CHANGE_H_SCROLL),(L||O)&&(Z|=this.$updateCachedSize(!0,this.gutterWidth,w.width,w.height),this._signal("scrollbarVisibilityChanged"),O&&(v=this.$getLongestLine())),this.layerConfig={width:v,padding:this.$padding,firstRow:H,firstRowScreen:U,lastRow:P,lineHeight:V,characterWidth:this.characterWidth,minHeight:_,maxHeight:h,offset:D,gutterOffset:V?Math.max(0,Math.ceil((D+w.height-w.scrollerHeight)/V)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(v-this.$padding),Z},A.prototype.$updateLines=function(){if(this.$changedLines){var C=this.$changedLines.firstRow,w=this.$changedLines.lastRow;this.$changedLines=null;var f=this.layerConfig;if(!(C>f.lastRow+1)&&!(wthis.$textLayer.MAX_LINE_LENGTH&&(C=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(C*this.characterWidth))},A.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},A.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},A.prototype.addGutterDecoration=function(C,w){this.$gutterLayer.addGutterDecoration(C,w)},A.prototype.removeGutterDecoration=function(C,w){this.$gutterLayer.removeGutterDecoration(C,w)},A.prototype.updateBreakpoints=function(C){this._rows=C,this.$loop.schedule(this.CHANGE_GUTTER)},A.prototype.setAnnotations=function(C){this.$gutterLayer.setAnnotations(C),this.$loop.schedule(this.CHANGE_GUTTER)},A.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},A.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},A.prototype.showCursor=function(){this.$cursorLayer.showCursor()},A.prototype.scrollSelectionIntoView=function(C,w,f){this.scrollCursorIntoView(C,f),this.scrollCursorIntoView(w,f)},A.prototype.scrollCursorIntoView=function(C,w,f){if(this.$size.scrollerHeight!==0){var p=this.$cursorLayer.getPixelPosition(C),h=p.left,v=p.top,y=f&&f.top||0,L=f&&f.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var R=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;R+y>v?(w&&R+y>v+this.lineHeight&&(v-=w*this.$size.scrollerHeight),v===0&&(v=-this.scrollMargin.top),this.session.setScrollTop(v)):R+this.$size.scrollerHeight-L=1-this.scrollMargin.top||w>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||C<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||C>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right)return!0},A.prototype.pixelToScreenCoordinates=function(C,w){var f;if(this.$hasCssTransforms){f={top:0,left:0};var p=this.$fontMetrics.transformCoordinates([C,w]);C=p[1]-this.gutterWidth-this.margin.left,w=p[0]}else f=this.scroller.getBoundingClientRect();var h=C+this.scrollLeft-f.left-this.$padding,v=h/this.characterWidth,y=Math.floor((w+this.scrollTop-f.top)/this.lineHeight),L=this.$blockCursor?Math.floor(v):Math.round(v);return{row:y,column:L,side:v-L>0?1:-1,offsetX:h}},A.prototype.screenToTextCoordinates=function(C,w){var f;if(this.$hasCssTransforms){f={top:0,left:0};var p=this.$fontMetrics.transformCoordinates([C,w]);C=p[1]-this.gutterWidth-this.margin.left,w=p[0]}else f=this.scroller.getBoundingClientRect();var h=C+this.scrollLeft-f.left-this.$padding,v=h/this.characterWidth,y=this.$blockCursor?Math.floor(v):Math.round(v),L=Math.floor((w+this.scrollTop-f.top)/this.lineHeight);return this.session.screenToDocumentPosition(L,Math.max(y,0),h)},A.prototype.textToScreenCoordinates=function(C,w){var f=this.scroller.getBoundingClientRect(),p=this.session.documentToScreenPosition(C,w),h=this.$padding+(this.session.$bidiHandler.isBidiRow(p.row,C)?this.session.$bidiHandler.getPosLeft(p.column):Math.round(p.column*this.characterWidth)),v=p.row*this.lineHeight;return{pageX:f.left+h-this.scrollLeft,pageY:f.top+v-this.scrollTop}},A.prototype.visualizeFocus=function(){M.addCssClass(this.container,"ace_focus")},A.prototype.visualizeBlur=function(){M.removeCssClass(this.container,"ace_focus")},A.prototype.showComposition=function(C){this.$composition=C,C.cssText||(C.cssText=this.textarea.style.cssText),C.useTextareaForIME==null&&(C.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(M.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):C.markerId=this.session.addMarker(C.markerRange,"ace_composition_marker","text")},A.prototype.setCompositionText=function(C){var w=this.session.selection.cursor;this.addToken(C,"composition_placeholder",w.row,w.column),this.$moveTextAreaToCursor()},A.prototype.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),M.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var C=this.session.selection.cursor;this.removeExtraToken(C.row,C.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},A.prototype.setGhostText=function(C,w){var f=this.session.selection.cursor,p=w||{row:f.row,column:f.column};this.removeGhostText();var h=this.$calculateWrappedTextChunks(C,p);this.addToken(h[0].text,"ghost_text",p.row,p.column),this.$ghostText={text:C,position:{row:p.row,column:p.column}};var v=M.createElement("div");if(h.length>1){var y=this.hideTokensAfterPosition(p.row,p.column),L;h.slice(1).forEach(function(O){var D=M.createElement("div"),F=M.createElement("span");F.className="ace_ghost_text",O.wrapped&&(D.className="ghost_text_line_wrapped"),O.text.length===0&&(O.text=" "),F.appendChild(M.createTextNode(O.text)),D.appendChild(F),v.appendChild(D),L=D}),y.forEach(function(O){var D=M.createElement("span");$(O.type)||(D.className="ace_"+O.type.replace(/\./g," ace_")),D.appendChild(M.createTextNode(O.value)),L.appendChild(D)}),this.$ghostTextWidget={el:v,row:p.row,column:p.column,className:"ace_ghost_text_container"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget);var R=this.$cursorLayer.getPixelPosition(p,!0),_=this.container,I=_.getBoundingClientRect().height,N=h.length*this.lineHeight,W=N0){var _=0;R.push(h[y].length);for(var I=0;I1||Math.abs(C.$size.height-p)>1?C.$resizeTimer.delay():C.$resizeTimer.cancel()}),this.$resizeObserver.observe(this.container)}},A})();T.prototype.CHANGE_CURSOR=1,T.prototype.CHANGE_MARKER=2,T.prototype.CHANGE_GUTTER=4,T.prototype.CHANGE_SCROLL=8,T.prototype.CHANGE_LINES=16,T.prototype.CHANGE_TEXT=32,T.prototype.CHANGE_SIZE=64,T.prototype.CHANGE_MARKER_BACK=128,T.prototype.CHANGE_MARKER_FRONT=256,T.prototype.CHANGE_FULL=512,T.prototype.CHANGE_H_SCROLL=1024,T.prototype.$changes=0,T.prototype.$padding=null,T.prototype.$frozen=!1,T.prototype.STEPS=8,k.implement(T.prototype,b),a.defineOptions(T.prototype,"renderer",{useResizeObserver:{set:function(A){!A&&this.$resizeObserver?(this.$resizeObserver.disconnect(),this.$resizeTimer.cancel(),this.$resizeTimer=this.$resizeObserver=null):A&&!this.$resizeObserver&&this.$addResizeObserver()}},animatedScroll:{initialValue:!1},showInvisibles:{set:function(A){this.$textLayer.setShowInvisibles(A)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(A){typeof A=="number"&&(this.$printMarginColumn=A),this.$showPrintMargin=!!A,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(A){this.$gutter.style.display=A?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},useSvgGutterIcons:{set:function(A){this.$gutterLayer.$useSvgGutterIcons=A},initialValue:!1},showFoldedAnnotations:{set:function(A){this.$gutterLayer.$showFoldedAnnotations=A},initialValue:!1},fadeFoldWidgets:{set:function(A){M.setCssClass(this.$gutter,"ace_fade-fold-widgets",A)},initialValue:!1},showFoldWidgets:{set:function(A){this.$gutterLayer.setShowFoldWidgets(A),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(A){this.$textLayer.setDisplayIndentGuides(A)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightIndentGuides:{set:function(A){this.$textLayer.setHighlightIndentGuides(A)==!0?this.$textLayer.$highlightIndentGuide():this.$textLayer.$clearActiveIndentGuide(this.$textLayer.$lines.cells)},initialValue:!0},highlightGutterLine:{set:function(A){this.$gutterLayer.setHighlightGutterLine(A),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},hScrollBarAlwaysVisible:{set:function(A){(!this.$hScrollBarAlwaysVisible||!this.$horizScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(A){(!this.$vScrollBarAlwaysVisible||!this.$vScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(A){typeof A=="number"&&(A=A+"px"),this.container.style.fontSize=A,this.updateFontSize()},initialValue:12},fontFamily:{set:function(A){this.container.style.fontFamily=A,this.updateFontSize()}},maxLines:{set:function(A){this.updateFull()}},minLines:{set:function(A){this.$minLines<562949953421311||(this.$minLines=0),this.updateFull()}},maxPixelHeight:{set:function(A){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(A){A=+A||0,this.$scrollPastEnd!=A&&(this.$scrollPastEnd=A,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(A){this.$gutterLayer.$fixedWidth=!!A,this.$loop.schedule(this.CHANGE_GUTTER)}},customScrollbar:{set:function(A){this.$updateCustomScrollbar(A)},initialValue:!1},theme:{set:function(A){this.setTheme(A)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0},hasCssTransforms:{},useTextareaForIME:{initialValue:!d.isMobile&&!d.isIE}}),x.VirtualRenderer=T}),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],function(E,x,z){var k=E("../lib/oop"),M=E("../lib/net"),S=E("../lib/event_emitter").EventEmitter,a=E("../config");function c(t){var e="importScripts('"+M.qualifyURL(t)+"');";try{return new Blob([e],{type:"application/javascript"})}catch(l){var r=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder,s=new r;return s.append(e),s.getBlob("application/javascript")}}function o(t){if(typeof Worker>"u")return{postMessage:function(){},terminate:function(){}};if(a.get("loadWorkerFromBlob")){var e=c(t),r=window.URL||window.webkitURL,s=r.createObjectURL(e);return new Worker(s)}return new Worker(t)}var i=function(t){t.postMessage||(t=this.$createWorkerFromOldConfig.apply(this,arguments)),this.$worker=t,this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){k.implement(this,S),this.$createWorkerFromOldConfig=function(t,e,r,s,l){if(E.nameToUrl&&!E.toUrl&&(E.toUrl=E.nameToUrl),a.get("packaged")||!E.toUrl)s=s||a.moduleUrl(e,"worker");else{var u=this.$normalizePath;s=s||u(E.toUrl("ace/worker/worker.js?v=1773287522785",null,"_"));var b={};t.forEach(function(m){b[m]=u(E.toUrl(m,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}return this.$worker=o(s),l&&this.send("importScripts",l),this.$worker.postMessage({init:!0,tlns:b,module:e,classname:r}),this.$worker},this.onMessage=function(t){var e=t.data;switch(e.type){case"event":this._signal(e.name,{data:e.data});break;case"call":var r=this.callbacks[e.id];r&&(r(e.data),delete this.callbacks[e.id]);break;case"error":this.reportError(e.data);break;case"log":window.console&&console.log&&console.log.apply(console,e.data);break}},this.reportError=function(t){window.console&&console.error&&console.error(t)},this.$normalizePath=function(t){return M.qualifyURL(t)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker.onerror=function(t){t.preventDefault()},this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(t,e){this.$worker.postMessage({command:t,args:e})},this.call=function(t,e,r){if(r){var s=this.callbackId++;this.callbacks[s]=r,e.push(s)}this.send(t,e)},this.emit=function(t,e){try{e.data&&e.data.err&&(e.data.err={message:e.data.err.message,stack:e.data.err.stack,code:e.data.err.code}),this.$worker&&this.$worker.postMessage({event:t,data:{data:e.data}})}catch(r){console.error(r.stack)}},this.attachToDocument=function(t){this.$doc&&this.terminate(),this.$doc=t,this.call("setValue",[t.getValue()]),t.on("change",this.changeListener,!0)},this.changeListener=function(t){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),t.action=="insert"?this.deltaQueue.push(t.start,t.lines):this.deltaQueue.push(t.start,t.end)},this.$sendDeltaQueue=function(){var t=this.deltaQueue;t&&(this.deltaQueue=null,t.length>50&&t.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:t}))}}).call(i.prototype);var n=function(t,e,r){var s=null,l=!1,u=Object.create(S),b=[],m=new i({messageBuffer:b,terminate:function(){},postMessage:function(d){b.push(d),s&&(l?setTimeout(g):g())}});m.setEmitSync=function(d){l=d};var g=function(){var d=b.shift();d.command?s[d.command].apply(s,d.args):d.event&&u._signal(d.event,d.data)};return u.postMessage=function(d){m.onMessage({data:d})},u.callback=function(d,$){this.postMessage({type:"call",id:$,data:d})},u.emit=function(d,$){this.postMessage({type:"event",name:d,data:$})},a.loadModule(["worker",e],function(d){for(s=new d[r](u);b.length;)g()}),m};x.UIWorkerClient=n,x.WorkerClient=i,x.createWorker=o}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(E,x,z){var k=E("./range").Range,M=E("./lib/event_emitter").EventEmitter,S=E("./lib/oop"),a=(function(){function c(o,i,n,t,e,r){var s=this;this.length=i,this.session=o,this.doc=o.getDocument(),this.mainClass=e,this.othersClass=r,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate,!0),this.$others=t,this.$onCursorChange=function(){setTimeout(function(){s.onCursorChange()})},this.$pos=n;var l=o.getUndoManager().$undoStack||o.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=l.length,this.setup(),o.selection.on("changeCursor",this.$onCursorChange)}return c.prototype.setup=function(){var o=this,i=this.doc,n=this.session;this.selectionBefore=n.selection.toJSON(),n.selection.inMultiSelectMode&&n.selection.toSingleRange(),this.pos=i.createAnchor(this.$pos.row,this.$pos.column);var t=this.pos;t.$insertRight=!0,t.detach(),t.markerId=n.addMarker(new k(t.row,t.column,t.row,t.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(e){var r=i.createAnchor(e.row,e.column);r.$insertRight=!0,r.detach(),o.others.push(r)}),n.setUndoSelect(!1)},c.prototype.showOtherMarkers=function(){if(!this.othersActive){var o=this.session,i=this;this.othersActive=!0,this.others.forEach(function(n){n.markerId=o.addMarker(new k(n.row,n.column,n.row,n.column+i.length),i.othersClass,null,!1)})}},c.prototype.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var o=0;o=this.pos.column&&i.start.column<=this.pos.column+this.length+1,e=i.start.column-this.pos.column;if(this.updateAnchors(o),t&&(this.length+=n),t&&!this.session.$fromUndo){if(o.action==="insert")for(var r=this.others.length-1;r>=0;r--){var s=this.others[r],l={row:s.row,column:s.column+e};this.doc.insertMergedLines(l,o.lines)}else if(o.action==="remove")for(var r=this.others.length-1;r>=0;r--){var s=this.others[r],l={row:s.row,column:s.column+e};this.doc.remove(new k(l.row,l.column,l.row,l.column-n))}}this.$updating=!1,this.updateMarkers()}},c.prototype.updateAnchors=function(o){this.pos.onChange(o);for(var i=this.others.length;i--;)this.others[i].onChange(o);this.updateMarkers()},c.prototype.updateMarkers=function(){if(!this.$updating){var o=this,i=this.session,n=function(e,r){i.removeMarker(e.markerId),e.markerId=i.addMarker(new k(e.row,e.column,e.row,e.column+o.length),r,null,!1)};n(this.pos,this.mainClass);for(var t=this.others.length;t--;)n(this.others[t],this.othersClass)}},c.prototype.onCursorChange=function(o){if(!(this.$updating||!this.session)){var i=this.session.selection.getCursor();i.row===this.pos.row&&i.column>=this.pos.column&&i.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",o)):(this.hideOtherMarkers(),this._emit("cursorLeave",o))}},c.prototype.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},c.prototype.cancel=function(){if(this.$undoStackDepth!==-1){for(var o=this.session.getUndoManager(),i=(o.$undoStack||o.$undostack).length-this.$undoStackDepth,n=0;n1?M.multiSelect.joinSelections():M.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(M){M.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(M){M.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(M){M.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],x.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(M){M.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(M){return M&&M.inMultiSelectMode}}];var k=E("../keyboard/hash_handler").HashHandler;x.keyboardHandler=new k(x.multiSelectCommands)}),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],function(E,x,z){var k=E("./range_list").RangeList,M=E("./range").Range,S=E("./selection").Selection,a=E("./mouse/multi_select_handler").onMouseDown,c=E("./lib/event"),o=E("./lib/lang"),i=E("./commands/multi_select_commands");x.commands=i.defaultCommands.concat(i.multiSelectCommands);var n=E("./search").Search,t=new n;function e(m,g,d){return t.$options.wrap=!0,t.$options.needle=g,t.$options.backwards=d==-1,t.find(m)}var r=E("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(r.prototype),(function(){this.ranges=null,this.rangeList=null,this.addRange=function(m,g){if(m){if(!this.inMultiSelectMode&&this.rangeCount===0){var d=this.toOrientedRange();if(this.rangeList.add(d),this.rangeList.add(m),this.rangeList.ranges.length!=2)return this.rangeList.removeAll(),g||this.fromOrientedRange(m);this.rangeList.removeAll(),this.rangeList.add(d),this.$onAddRange(d)}m.cursor||(m.cursor=m.end);var $=this.rangeList.add(m);return this.$onAddRange(m),$.length&&this.$onRemoveRange($),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),g||this.fromOrientedRange(m)}},this.toSingleRange=function(m){m=m||this.ranges[0];var g=this.rangeList.removeAll();g.length&&this.$onRemoveRange(g),m&&this.fromOrientedRange(m)},this.substractPoint=function(m){var g=this.rangeList.substractPoint(m);if(g)return this.$onRemoveRange(g),g[0]},this.mergeOverlappingRanges=function(){var m=this.rangeList.merge();m.length&&this.$onRemoveRange(m)},this.$onAddRange=function(m){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(m),this._signal("addRange",{range:m})},this.$onRemoveRange=function(m){if(this.rangeCount=this.rangeList.ranges.length,this.rangeCount==1&&this.inMultiSelectMode){var g=this.rangeList.ranges.pop();m.push(g),this.rangeCount=0}for(var d=m.length;d--;){var $=this.ranges.indexOf(m[d]);this.ranges.splice($,1)}this._signal("removeRange",{ranges:m}),this.rangeCount===0&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),g=g||this.ranges[0],g&&!g.isEqual(this.getRange())&&this.fromOrientedRange(g)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new k,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var m=this.ranges.length?this.ranges:[this.getRange()],g=[],d=0;d1){var m=this.rangeList.ranges,g=m[m.length-1],d=M.fromPoints(m[0].start,g.end);this.toSingleRange(),this.setSelectionRange(d,g.cursor==g.start)}else{var $=this.session.documentToScreenPosition(this.cursor),T=this.session.documentToScreenPosition(this.anchor),A=this.rectangularRangeBlock($,T);A.forEach(this.addRange,this)}},this.rectangularRangeBlock=function(m,g,d){var $=[],T=m.column0;)_--;if(_>0)for(var I=0;$[I].isEmpty();)I++;for(var N=_;N>=I;N--)$[N].isEmpty()&&$.splice(N,1)}return $}}).call(S.prototype);var s=E("./editor").Editor;(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(m){m.cursor||(m.cursor=m.end);var g=this.getSelectionStyle();return m.marker=this.session.addMarker(m,"ace_selection",g),this.session.$selectionMarkers.push(m),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,m},this.removeSelectionMarker=function(m){if(m.marker){this.session.removeMarker(m.marker);var g=this.session.$selectionMarkers.indexOf(m);g!=-1&&this.session.$selectionMarkers.splice(g,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(m){for(var g=this.session.$selectionMarkers,d=m.length;d--;){var $=m[d];if($.marker){this.session.removeMarker($.marker);var T=g.indexOf($);T!=-1&&g.splice(T,1)}}this.session.selectionMarkerCount=g.length},this.$onAddRange=function(m){this.addSelectionMarker(m.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(m){this.removeSelectionMarkers(m.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(m){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(i.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(m){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(i.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(m){var g=m.command,d=m.editor;if(d.multiSelect){if(g.multiSelectAction)g.multiSelectAction=="forEach"?$=d.forEachSelection(g,m.args):g.multiSelectAction=="forEachLine"?$=d.forEachSelection(g,m.args,!0):g.multiSelectAction=="single"?(d.exitMultiSelectMode(),$=g.exec(d,m.args||{})):$=g.multiSelectAction(d,m.args||{});else{var $=g.exec(d,m.args||{});d.multiSelect.addRange(d.multiSelect.toOrientedRange()),d.multiSelect.mergeOverlappingRanges()}return $}},this.forEachSelection=function(m,g,d){if(!this.inVirtualSelectionMode){var $=d&&d.keepOrder,T=d==!0||d&&d.$byLines,A=this.session,C=this.selection,w=C.rangeList,f=($?C:w).ranges,p;if(!f.length)return m.exec?m.exec(this,g||{}):m(this,g||{});var h=C._eventRegistry;C._eventRegistry={};var v=new S(A);this.inVirtualSelectionMode=!0;for(var y=f.length;y--;){if(T)for(;y>0&&f[y].start.row==f[y-1].end.row;)y--;v.fromOrientedRange(f[y]),v.index=y,this.selection=A.selection=v;var L=m.exec?m.exec(this,g||{}):m(this,g||{});!p&&L!==void 0&&(p=L),v.toOrientedRange(f[y])}v.detach(),this.selection=A.selection=C,this.inVirtualSelectionMode=!1,C._eventRegistry=h,C.mergeOverlappingRanges(),C.ranges[0]&&C.fromOrientedRange(C.ranges[0]);var R=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),R&&R.from==R.to&&this.renderer.animateScrolling(R.from),p}},this.exitMultiSelectMode=function(){!this.inMultiSelectMode||this.inVirtualSelectionMode||this.multiSelect.toSingleRange()},this.getSelectedText=function(){var m="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var g=this.multiSelect.rangeList.ranges,d=[],$=0;$0);C<0&&(C=0),w>=p&&(w=p-1)}var v=this.session.removeFullLines(C,w);v=this.$reAlignText(v,f),this.session.insert({row:C,column:0},v.join("\n")+"\n"),f||(A.start.column=0,A.end.column=v[v.length-1].length),this.selection.setRange(A)}else{T.forEach(function(_){g.substractPoint(_.cursor)});var y=0,L=1/0,R=d.map(function(_){var I=_.cursor,N=m.getLine(I.row),W=N.substr(I.column).search(/\S/g);return W==-1&&(W=0),I.column>y&&(y=I.column),WO?m.insert(N,o.stringRepeat(" ",W-O)):m.remove(new M(N.row,N.column,N.row,N.column-W+O)),_.start.column=_.end.column=y,_.start.row=_.end.row=N.row,_.cursor=_.end}),g.fromOrientedRange(d[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}},this.$reAlignText=function(m,g){var d=!0,$=!0,T,A,C;return m.map(function(v){var y=v.match(/(\s*)(.*?)(\s*)([=:].*)/);return y?T==null?(T=y[1].length,A=y[2].length,C=y[3].length,y):(T+A+C!=y[1].length+y[2].length+y[3].length&&($=!1),T!=y[1].length&&(d=!1),T>y[1].length&&(T=y[1].length),Ay[3].length&&(C=y[3].length),y):[v]}).map(g?f:d?$?p:f:h);function w(v){return o.stringRepeat(" ",v)}function f(v){return v[2]?w(T)+v[2]+w(A-v[2].length+C)+v[4].replace(/^([=:])\s+/,"$1 "):v[0]}function p(v){return v[2]?w(T+A-v[2].length)+v[2]+w(C)+v[4].replace(/^([=:])\s+/,"$1 "):v[0]}function h(v){return v[2]?w(T)+v[2]+w(C)+v[4].replace(/^([=:])\s+/,"$1 "):v[0]}}}).call(s.prototype);function l(m,g){return m.row==g.row&&m.column==g.column}x.onSessionChange=function(m){var g=m.session;g&&!g.multiSelect&&(g.$selectionMarkers=[],g.selection.$initRangeList(),g.multiSelect=g.selection),this.multiSelect=g&&g.multiSelect;var d=m.oldSession;d&&(d.multiSelect.off("addRange",this.$onAddRange),d.multiSelect.off("removeRange",this.$onRemoveRange),d.multiSelect.off("multiSelect",this.$onMultiSelect),d.multiSelect.off("singleSelect",this.$onSingleSelect),d.multiSelect.lead.off("change",this.$checkMultiselectChange),d.multiSelect.anchor.off("change",this.$checkMultiselectChange)),g&&(g.multiSelect.on("addRange",this.$onAddRange),g.multiSelect.on("removeRange",this.$onRemoveRange),g.multiSelect.on("multiSelect",this.$onMultiSelect),g.multiSelect.on("singleSelect",this.$onSingleSelect),g.multiSelect.lead.on("change",this.$checkMultiselectChange),g.multiSelect.anchor.on("change",this.$checkMultiselectChange)),g&&this.inMultiSelectMode!=g.selection.inMultiSelectMode&&(g.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())};function u(m){m.$multiselectOnSessionChange||(m.$onAddRange=m.$onAddRange.bind(m),m.$onRemoveRange=m.$onRemoveRange.bind(m),m.$onMultiSelect=m.$onMultiSelect.bind(m),m.$onSingleSelect=m.$onSingleSelect.bind(m),m.$multiselectOnSessionChange=x.onSessionChange.bind(m),m.$checkMultiselectChange=m.$checkMultiselectChange.bind(m),m.$multiselectOnSessionChange(m),m.on("changeSession",m.$multiselectOnSessionChange),m.on("mousedown",a),m.commands.addCommands(i.defaultCommands),b(m))}function b(m){if(!m.textInput)return;var g=m.textInput.getElement(),d=!1;c.addListener(g,"keydown",function(T){var A=T.keyCode==18&&!(T.ctrlKey||T.shiftKey||T.metaKey);m.$blockSelectEnabled&&A?d||(m.renderer.setMouseCursor("crosshair"),d=!0):d&&$()},m),c.addListener(g,"keyup",$,m),c.addListener(g,"blur",$,m);function $(T){d&&(m.renderer.setMouseCursor(""),d=!1)}}x.MultiSelect=u,E("./config").defineOptions(s.prototype,"editor",{enableMultiselect:{set:function(m){u(this),m?this.on("mousedown",a):this.off("mousedown",a)},value:!0},enableBlockSelect:{set:function(m){this.$blockSelectEnabled=m},value:!0}})}),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(E,x,z){var k=E("../../range").Range,M=x.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(S,a,c){var o=S.getLine(c);return this.foldingStartMarker.test(o)?"start":a=="markbeginend"&&this.foldingStopMarker&&this.foldingStopMarker.test(o)?"end":""},this.getFoldWidgetRange=function(S,a,c){return null},this.indentationBlock=function(S,a,c){var o=/\S/,i=S.getLine(a),n=i.search(o);if(n!=-1){for(var t=c||i.length,e=S.getLength(),r=a,s=a;++ar){var b=S.getLine(s).length;return new k(r,t,s,b)}}},this.openingBracketBlock=function(S,a,c,o,i){var n={row:c,column:o+1},t=S.$findClosingBracket(a,n,i);if(t){var e=S.foldWidgets[t.row];return e==null&&(e=S.getFoldWidget(t.row)),e=="start"&&t.row>n.row&&(t.row--,t.column=S.getLine(t.row).length),k.fromPoints(n,t)}},this.closingBracketBlock=function(S,a,c,o,i){var n={row:c,column:o},t=S.$findOpeningBracket(a,n);if(t)return t.column++,n.column--,k.fromPoints(t,n)}}).call(M.prototype)}),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range","ace/config"],function(E,x,z){var k=E("../line_widgets").LineWidgets,M=E("../lib/dom"),S=E("../range").Range,a=E("../config").nls;function c(i,n,t){for(var e=0,r=i.length-1;e<=r;){var s=e+r>>1,l=t(n,i[s]);if(l>0)e=s+1;else if(l<0)r=s-1;else return s}return-(e+1)}function o(i,n,t){var e=i.getAnnotations().sort(S.comparePoints);if(e.length){var r=c(e,{row:n,column:-1},S.comparePoints);r<0&&(r=-r-1),r>=e.length?r=t>0?0:e.length-1:r===0&&t<0&&(r=e.length-1);var s=e[r];if(!(!s||!t)){if(s.row===n){do s=e[r+=t];while(s&&s.row===n);if(!s)return e.slice()}var l=[];n=s.row;do l[t<0?"unshift":"push"](s),s=e[r+=t];while(s&&s.row==n);return l.length&&l}}}x.showErrorMarker=function(i,n){var t=i.session;t.widgetManager||(t.widgetManager=new k(t),t.widgetManager.attach(i));var e=i.getCursorPosition(),r=e.row,s=t.widgetManager.getWidgetsAtRow(r).filter(function(A){return A.type=="errorMarker"})[0];s?s.destroy():r-=n;var l=o(t,r,n),u;if(l){var b=l[0];e.column=(b.pos&&typeof b.column!="number"?b.pos.sc:b.column)||0,e.row=b.row,u=i.renderer.$gutterLayer.$annotations[e.row]}else{if(s)return;u={displayText:[a("error-marker.good-state","Looks good!")],className:"ace_ok"}}i.session.unfold(e.row),i.selection.moveToPosition(e);var m={row:e.row,fixedWidth:!0,coverGutter:!0,el:M.createElement("div"),type:"errorMarker"},g=m.el.appendChild(M.createElement("div")),d=m.el.appendChild(M.createElement("div"));d.className="error_widget_arrow "+u.className;var $=i.renderer.$cursorLayer.getPixelPosition(e).left;d.style.left=$+i.renderer.gutterWidth-5+"px",m.el.className="error_widget_wrapper",g.className="error_widget "+u.className,u.displayText.forEach(function(A,C){g.appendChild(M.createTextNode(A)),Ca.length)&&(S=a.length),S-=M.length;var c=a.indexOf(M,S);return c!==-1&&c===S}),String.prototype.repeat||k(String.prototype,"repeat",function(M){for(var S="",a=this;M>0;)M&1&&(S+=a),(M>>=1)&&(a+=a);return S}),String.prototype.includes||k(String.prototype,"includes",function(M,S){return this.indexOf(M,S)!=-1}),Object.assign||(Object.assign=function(M){if(M==null)throw new TypeError("Cannot convert undefined or null to object");for(var S=Object(M),a=1;a>>0,c=arguments[1],o=c>>0,i=o<0?Math.max(a+o,0):Math.min(o,a),n=arguments[2],t=n===void 0?a:n>>0,e=t<0?Math.max(a+t,0):Math.min(t,a);i0;)a&1&&(c+=S),(a>>=1)&&(S+=S);return c};var k=/^\s\s*/,M=/\s\s*$/;x.stringTrimLeft=function(S){return S.replace(k,"")},x.stringTrimRight=function(S){return S.replace(M,"")},x.copyObject=function(S){var a={};for(var c in S)a[c]=S[c];return a},x.copyArray=function(S){for(var a=[],c=0,o=S.length;c65535?2:1}}),ace.define("ace/lib/useragent",["require","exports","module"],function(E,x,z){x.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},x.getOS=function(){return x.isMac?x.OS.MAC:x.isLinux?x.OS.LINUX:x.OS.WINDOWS};var k=typeof navigator=="object"?navigator:{},M=(/mac|win|linux/i.exec(k.platform)||["other"])[0].toLowerCase(),S=k.userAgent||"",a=k.appName||"";x.isWin=M=="win",x.isMac=M=="mac",x.isLinux=M=="linux",x.isIE=a=="Microsoft Internet Explorer"||a.indexOf("MSAppHost")>=0?parseFloat((S.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((S.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),x.isOldIE=x.isIE&&x.isIE<9,x.isGecko=x.isMozilla=S.match(/ Gecko\/\d+/),x.isOpera=typeof opera=="object"&&Object.prototype.toString.call(window.opera)=="[object Opera]",x.isWebKit=parseFloat(S.split("WebKit/")[1])||void 0,x.isChrome=parseFloat(S.split(" Chrome/")[1])||void 0,x.isSafari=parseFloat(S.split(" Safari/")[1])&&!x.isChrome||void 0,x.isEdge=parseFloat(S.split(" Edge/")[1])||void 0,x.isAIR=S.indexOf("AdobeAIR")>=0,x.isAndroid=S.indexOf("Android")>=0,x.isChromeOS=S.indexOf(" CrOS ")>=0,x.isIOS=/iPad|iPhone|iPod/.test(S)&&!window.MSStream,x.isIOS&&(x.isMac=!0),x.isMobile=x.isIOS||x.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(E,x,z){var k=E("./useragent"),M="http://www.w3.org/1999/xhtml";x.buildDom=function n(t,e,r){if(typeof t=="string"&&t){var s=document.createTextNode(t);return e&&e.appendChild(s),s}if(!Array.isArray(t))return t&&t.appendChild&&e&&e.appendChild(t),t;if(typeof t[0]!="string"||!t[0]){for(var l=[],u=0;u"u")){if(a){if(e)c();else if(e===!1)return a.push([n,t])}if(!S){var r=e;!e||!e.getRootNode?r=document:(r=e.getRootNode(),(!r||r==e)&&(r=document));var s=r.ownerDocument||r;if(t&&x.hasCssString(t,r))return null;t&&(n+="\n/*# sourceURL=ace/css/"+t+" */");var l=x.createElement("style");l.appendChild(s.createTextNode(n)),t&&(l.id=t),r==s&&(r=x.getDocumentHead(s)),r.insertBefore(l,r.firstChild)}}}if(x.importCssString=o,x.importCssStylsheet=function(n,t){x.buildDom(["link",{rel:"stylesheet",href:n}],x.getDocumentHead(t))},x.scrollbarWidth=function(n){var t=x.createElement("ace_inner");t.style.width="100%",t.style.minWidth="0px",t.style.height="200px",t.style.display="block";var e=x.createElement("ace_outer"),r=e.style;r.position="absolute",r.left="-10000px",r.overflow="hidden",r.width="200px",r.minWidth="0px",r.height="150px",r.display="block",e.appendChild(t);var s=n&&n.documentElement||document&&document.documentElement;if(!s)return 0;s.appendChild(e);var l=t.offsetWidth;r.overflow="scroll";var u=t.offsetWidth;return l===u&&(u=e.clientWidth),s.removeChild(e),l-u},x.computedStyle=function(n,t){return window.getComputedStyle(n,"")||{}},x.setStyle=function(n,t,e){n[t]!==e&&(n[t]=e)},x.HAS_CSS_ANIMATION=!1,x.HAS_CSS_TRANSFORMS=!1,x.HI_DPI=k.isWin?typeof window<"u"&&window.devicePixelRatio>=1.5:!0,k.isChromeOS&&(x.HI_DPI=!1),typeof document<"u"){var i=document.createElement("div");x.HI_DPI&&i.style.transform!==void 0&&(x.HAS_CSS_TRANSFORMS=!0),!k.isEdge&&typeof i.style.animationName<"u"&&(x.HAS_CSS_ANIMATION=!0),i=null}x.HAS_CSS_TRANSFORMS?x.translate=function(n,t,e){n.style.transform="translate("+Math.round(t)+"px, "+Math.round(e)+"px)"}:x.translate=function(n,t,e){n.style.top=Math.round(e)+"px",n.style.left=Math.round(t)+"px"}}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(E,x,z){var k=E("./dom");x.get=function(M,S){var a=new XMLHttpRequest;a.open("GET",M,!0),a.onreadystatechange=function(){a.readyState===4&&S(a.responseText)},a.send(null)},x.loadScript=function(M,S){var a=k.getDocumentHead(),c=document.createElement("script");c.src=M,a.appendChild(c),c.onload=c.onreadystatechange=function(o,i){(i||!c.readyState||c.readyState=="loaded"||c.readyState=="complete")&&(c=c.onload=c.onreadystatechange=null,i||S())}},x.qualifyURL=function(M){var S=document.createElement("a");return S.href=M,S.href}}),ace.define("ace/lib/oop",["require","exports","module"],function(E,x,z){x.inherits=function(k,M){k.super_=M,k.prototype=Object.create(M.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}})},x.mixin=function(k,M){for(var S in M)k[S]=M[S];return k},x.implement=function(k,M){x.mixin(k,M)}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(E,x,z){var k={},M=function(){this.propagationStopped=!0},S=function(){this.defaultPrevented=!0};k._emit=k._dispatchEvent=function(a,c){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var o=this._eventRegistry[a]||[],i=this._defaultHandlers[a];if(!(!o.length&&!i)){(typeof c!="object"||!c)&&(c={}),c.type||(c.type=a),c.stopPropagation||(c.stopPropagation=M),c.preventDefault||(c.preventDefault=S),o=o.slice();for(var n=0;n1&&(l=r[r.length-2]);var b=c[e+"Path"];return b==null?b=c.basePath:s=="/"&&(e=s=""),b&&b.slice(-1)!="/"&&(b+="/"),b+e+s+l+this.get("suffix")},x.setModuleUrl=function(t,e){return c.$moduleUrls[t]=e};var o=function(t,e){if(t==="ace/theme/textmate"||t==="./theme/textmate")return e(null,E("./theme/textmate"));if(i)return i(t,e);console.error("loader is not configured")},i;x.setLoader=function(t){i=t},x.dynamicModules=Object.create(null),x.$loading={},x.$loaded={},x.loadModule=function(t,e){var r;if(Array.isArray(t))var s=t[0],l=t[1];else if(typeof t=="string")var l=t;var u=function(b){if(b&&!x.$loading[l])return e&&e(b);if(x.$loading[l]||(x.$loading[l]=[]),x.$loading[l].push(e),!(x.$loading[l].length>1)){var m=function(){o(l,function(g,d){d&&(x.$loaded[l]=d),x._emit("load.module",{name:l,module:d});var $=x.$loading[l];x.$loading[l]=null,$.forEach(function(T){T&&T(d)})})};if(!x.get("packaged"))return m();M.loadScript(x.moduleUrl(l,s),m),n()}};if(x.dynamicModules[l])x.dynamicModules[l]().then(function(b){b.default?u(b.default):u(b)});else{try{r=this.$require(l)}catch(b){}u(r||x.$loaded[l])}},x.$require=function(t){if(typeof z.require=="function"){var e="require";return z[e](t)}},x.setModuleLoader=function(t,e){x.dynamicModules[t]=e};var n=function(){!c.basePath&&!c.workerPath&&!c.modePath&&!c.themePath&&!Object.keys(c.$moduleUrls).length&&(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),n=function(){})};x.version="1.36.2"}),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],function(E,x,z){E("./lib/fixoldbrowsers");var k=E("./config");k.setLoader(function(c,o){E([c],function(i){o(null,i)})});var M=(function(){return this||typeof window<"u"&&window})();z.exports=function(c){k.init=S,k.$require=E,c.require=E},S(!0);function S(c){if(!(!M||!M.document)){k.set("packaged",c||E.packaged||z.packaged||M.define&&(void 0).packaged);var o={},i="",n=document.currentScript||document._currentScript,t=n&&n.ownerDocument||document;n&&n.src&&(i=n.src.split(/[?#]/)[0].split("/").slice(0,-1).join("/")||"");for(var e=t.getElementsByTagName("script"),r=0;r ["+this.end.row+"/"+this.end.column+"]"},M.prototype.contains=function(S,a){return this.compare(S,a)==0},M.prototype.compareRange=function(S){var a,c=S.end,o=S.start;return a=this.compare(c.row,c.column),a==1?(a=this.compare(o.row,o.column),a==1?2:a==0?1:0):a==-1?-2:(a=this.compare(o.row,o.column),a==-1?-1:a==1?42:0)},M.prototype.comparePoint=function(S){return this.compare(S.row,S.column)},M.prototype.containsRange=function(S){return this.comparePoint(S.start)==0&&this.comparePoint(S.end)==0},M.prototype.intersects=function(S){var a=this.compareRange(S);return a==-1||a==0||a==1},M.prototype.isEnd=function(S,a){return this.end.row==S&&this.end.column==a},M.prototype.isStart=function(S,a){return this.start.row==S&&this.start.column==a},M.prototype.setStart=function(S,a){typeof S=="object"?(this.start.column=S.column,this.start.row=S.row):(this.start.row=S,this.start.column=a)},M.prototype.setEnd=function(S,a){typeof S=="object"?(this.end.column=S.column,this.end.row=S.row):(this.end.row=S,this.end.column=a)},M.prototype.inside=function(S,a){return this.compare(S,a)==0?!(this.isEnd(S,a)||this.isStart(S,a)):!1},M.prototype.insideStart=function(S,a){return this.compare(S,a)==0?!this.isEnd(S,a):!1},M.prototype.insideEnd=function(S,a){return this.compare(S,a)==0?!this.isStart(S,a):!1},M.prototype.compare=function(S,a){return!this.isMultiLine()&&S===this.start.row?athis.end.column?1:0:Sthis.end.row?1:this.start.row===S?a>=this.start.column?0:-1:this.end.row===S?a<=this.end.column?0:1:0},M.prototype.compareStart=function(S,a){return this.start.row==S&&this.start.column==a?-1:this.compare(S,a)},M.prototype.compareEnd=function(S,a){return this.end.row==S&&this.end.column==a?1:this.compare(S,a)},M.prototype.compareInside=function(S,a){return this.end.row==S&&this.end.column==a?1:this.start.row==S&&this.start.column==a?-1:this.compare(S,a)},M.prototype.clipRows=function(S,a){if(this.end.row>a)var c={row:a+1,column:0};else if(this.end.rowa)var o={row:a+1,column:0};else if(this.start.row1?(T++,T>4&&(T=1)):T=1,M.isIE){var v=Math.abs(h.clientX-A)>5||Math.abs(h.clientY-C)>5;(!w||v)&&(T=1),w&&clearTimeout(w),w=setTimeout(function(){w=null},m[T-1]||600),T==1&&(A=h.clientX,C=h.clientY)}if(h._clicks=T,g[d]("mousedown",h),T>4)T=0;else if(T>1)return g[d](f[T],h)}Array.isArray(b)||(b=[b]),b.forEach(function(h){t(h,"mousedown",p,$)})};function r(b){return 0|(b.ctrlKey?1:0)|(b.altKey?2:0)|(b.shiftKey?4:0)|(b.metaKey?8:0)}x.getModifierString=function(b){return k.KEY_MODS[r(b)]};function s(b,m,g){var d=r(m);if(!g&&m.code&&(g=k.$codeToKeyCode[m.code]||g),!M.isMac&&S){if(m.getModifierState&&(m.getModifierState("OS")||m.getModifierState("Win"))&&(d|=8),S.altGr)if((3&d)!=3)S.altGr=0;else return;if(g===18||g===17){var $=m.location;if(g===17&&$===1)S[g]==1&&(a=m.timeStamp);else if(g===18&&d===3&&$===2){var T=m.timeStamp-a;T<50&&(S.altGr=!0)}}}if(g in k.MODIFIER_KEYS&&(g=-1),!(!d&&g===13&&m.location===3&&(b(m,d,-g),m.defaultPrevented))){if(M.isChromeOS&&d&8){if(b(m,d,g),m.defaultPrevented)return;d&=-9}return!d&&!(g in k.FUNCTION_KEYS)&&!(g in k.PRINTABLE_KEYS)?!1:b(m,d,g)}}x.addCommandKeyListener=function(b,m,g){var d=null;t(b,"keydown",function($){S[$.keyCode]=(S[$.keyCode]||0)+1;var T=s(m,$,$.keyCode);return d=$.defaultPrevented,T},g),t(b,"keypress",function($){d&&($.ctrlKey||$.altKey||$.shiftKey||$.metaKey)&&(x.stopEvent($),d=null)},g),t(b,"keyup",function($){S[$.keyCode]=null},g),S||(l(),t(window,"focus",l))};function l(){S=Object.create(null)}if(typeof window=="object"&&window.postMessage&&!M.isOldIE){var u=1;x.nextTick=function(b,m){m=m||window;var g="zero-timeout-message-"+u++,d=function($){$.data==g&&(x.stopPropagation($),e(m,"message",d),b())};t(m,"message",d),m.postMessage(g,"*")}}x.$idleBlocked=!1,x.onIdle=function(b,m){return setTimeout(function g(){x.$idleBlocked?setTimeout(g,100):b()},m)},x.$idleBlockId=null,x.blockIdle=function(b){x.$idleBlockId&&clearTimeout(x.$idleBlockId),x.$idleBlocked=!0,x.$idleBlockId=setTimeout(function(){x.$idleBlocked=!1},b||100)},x.nextFrame=typeof window=="object"&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),x.nextFrame?x.nextFrame=x.nextFrame.bind(window):x.nextFrame=function(b){setTimeout(b,17)}}),ace.define("ace/clipboard",["require","exports","module"],function(E,x,z){var k;z.exports={lineMode:!1,pasteCancelled:function(){return k&&k>Date.now()-50?!0:k=!1},cancel:function(){k=Date.now()}}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/config","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],function(E,x,z){var k=E("../lib/event"),M=E("../config").nls,S=E("../lib/useragent"),a=E("../lib/dom"),c=E("../lib/lang"),o=E("../clipboard"),i=S.isChrome<18,n=S.isIE,t=S.isChrome>63,e=400,r=E("../lib/keys"),s=r.KEY_MODS,l=S.isIOS,u=l?/\s/:/\n/,b=S.isMobile,m;m=function(g,d){var $=a.createElement("textarea");$.className="ace_text-input",$.setAttribute("wrap","off"),$.setAttribute("autocorrect","off"),$.setAttribute("autocapitalize","off"),$.setAttribute("spellcheck","false"),$.style.opacity="0",g.insertBefore($,g.firstChild);var T=!1,A=!1,C=!1,w=!1,f="";b||($.style.fontSize="1px");var p=!1,h=!1,v="",y=0,L=0,R=0,_=Number.MAX_SAFE_INTEGER,I=Number.MIN_SAFE_INTEGER,N=0;try{var W=document.activeElement===$}catch(B){}this.setNumberOfExtraLines=function(B){if(_=Number.MAX_SAFE_INTEGER,I=Number.MIN_SAFE_INTEGER,B<0){N=0;return}N=B},this.setAriaOptions=function(B){if(B.activeDescendant?($.setAttribute("aria-haspopup","true"),$.setAttribute("aria-autocomplete",B.inline?"both":"list"),$.setAttribute("aria-activedescendant",B.activeDescendant)):($.setAttribute("aria-haspopup","false"),$.setAttribute("aria-autocomplete","both"),$.removeAttribute("aria-activedescendant")),B.role&&$.setAttribute("role",B.role),B.setLabel){$.setAttribute("aria-roledescription",M("text-input.aria-roledescription","editor"));var G="";if(d.$textInputAriaLabel&&(G+="".concat(d.$textInputAriaLabel,", ")),d.session){var K=d.session.selection.cursor.row;G+=M("text-input.aria-label","Cursor at row $0",[K+1])}$.setAttribute("aria-label",G)}},this.setAriaOptions({role:"textbox"}),k.addListener($,"blur",function(B){h||(d.onBlur(B),W=!1)},d),k.addListener($,"focus",function(B){if(!h){if(W=!0,S.isEdge)try{if(!document.hasFocus())return}catch(G){}d.onFocus(B),S.isEdge?setTimeout(D):D()}},d),this.$focusScroll=!1,this.focus=function(){if(this.setAriaOptions({setLabel:d.renderer.enableKeyboardAccessibility}),f||t||this.$focusScroll=="browser")return $.focus({preventScroll:!0});var B=$.style.top;$.style.position="fixed",$.style.top="0px";try{var G=$.getBoundingClientRect().top!=0}catch(X){return}var K=[];if(G)for(var Q=$.parentElement;Q&&Q.nodeType==1;)K.push(Q),Q.setAttribute("ace_nocontext","true"),!Q.parentElement&&Q.getRootNode?Q=Q.getRootNode().host:Q=Q.parentElement;$.focus({preventScroll:!0}),G&&K.forEach(function(X){X.removeAttribute("ace_nocontext")}),setTimeout(function(){$.style.position="",$.style.top=="0px"&&($.style.top=B)},0)},this.blur=function(){$.blur()},this.isFocused=function(){return W},d.on("beforeEndOperation",function(){var B=d.curOp,G=B&&B.command&&B.command.name;if(G!="insertstring"){var K=G&&(B.docChanged||B.selectionChanged);C&&K&&(v=$.value="",ce()),D()}});var O=function(B,G){for(var K=G,Q=1;Q<=B-_&&Q<2*N+1;Q++)K+=d.session.getLine(B-Q).length+1;return K},D=l?function(B){if(!(!W||T&&!B||w)){B||(B="");var G="\n ab"+B+"cde fg\n";G!=$.value&&($.value=v=G);var K=4,Q=4+(B.length||(d.selection.isEmpty()?0:1));(y!=K||L!=Q)&&$.setSelectionRange(K,Q),y=K,L=Q}}:function(){if(!(C||w)&&!(!W&&!U)){C=!0;var B=0,G=0,K="";if(d.session){var Q=d.selection,X=Q.getRange(),te=Q.cursor.row;te===I+1?(_=I+1,I=_+2*N):te===_-1?(I=_-1,_=I-2*N):(te<_-1||te>I+1)&&(_=te>N?te-N:0,I=te>N?te+N:2*N);for(var ne=[],ie=_;ie<=I;ie++)ne.push(d.session.getLine(ie));if(K=ne.join("\n"),B=O(X.start.row,X.start.column),G=O(X.end.row,X.end.column),X.start.row<_){var ee=d.session.getLine(_-1);B=X.start.row<_-1?0:B,G+=ee.length+1,K=ee+"\n"+K}else if(X.end.row>I){var J=d.session.getLine(I+1);G=X.end.row>I+1?J.length:X.end.column,G+=K.length+1,K=K+"\n"+J}else b&&te>0&&(K="\n"+K,G+=1,B+=1);K.length>e&&(B=v.length&&B.value===v&&v&&B.selectionEnd!==L},H=function(B){C||(T?T=!1:F($)?(d.selectAll(),D()):b&&$.selectionStart!=y&&D())},P=null;this.setInputHandler=function(B){P=B},this.getInputHandler=function(){return P};var U=!1,j=function(B,G){if(U&&(U=!1),A)return D(),B&&d.onPaste(B),A=!1,"";for(var K=$.selectionStart,Q=$.selectionEnd,X=y,te=v.length-L,ne=B,ie=B.length-K,ee=B.length-Q,J=0;X>0&&v[J]==B[J];)J++,X--;for(ne=ne.slice(J),J=1;te>0&&v.length-J>y-1&&v[v.length-J]==B[B.length-J];)J++,te--;ie-=J-1,ee-=J-1;var se=ne.length-J+1;if(se<0&&(X=-se,se=0),ne=ne.slice(0,se),!G&&!ne&&!ie&&!X&&!te&&!ee)return"";w=!0;var he=!1;return S.isAndroid&&ne==". "&&(ne=" ",he=!0),ne&&!X&&!te&&!ie&&!ee||p?d.onTextInput(ne):d.onTextInput(ne,{extendLeft:X,extendRight:te,restoreStart:ie,restoreEnd:ee}),w=!1,v=B,y=K,L=Q,R=ee,he?"\n":ne},V=function(B){if(C)return le();if(B&&B.inputType){if(B.inputType=="historyUndo")return d.execCommand("undo");if(B.inputType=="historyRedo")return d.execCommand("redo")}var G=$.value,K=j(G,!0);(G.length>e+100||u.test(K)||b&&y<1&&y==L)&&D()},Y=function(B,G,K){var Q=B.clipboardData||window.clipboardData;if(!(!Q||i)){var X=n||K?"Text":"text/plain";try{return G?Q.setData(X,G)!==!1:Q.getData(X)}catch(te){if(!K)return Y(te,G,!0)}}},Z=function(B,G){var K=d.getCopyText();if(!K)return k.preventDefault(B);Y(B,K)?(l&&(D(K),T=K,setTimeout(function(){T=!1},10)),G?d.onCut():d.onCopy(),k.preventDefault(B)):(T=!0,$.value=K,$.select(),setTimeout(function(){T=!1,D(),G?d.onCut():d.onCopy()}))},oe=function(B){Z(B,!0)},re=function(B){Z(B,!1)},q=function(B){var G=Y(B);o.pasteCancelled()||(typeof G=="string"?(G&&d.onPaste(G,B),S.isIE&&setTimeout(D),k.preventDefault(B)):($.value="",A=!0))};k.addCommandKeyListener($,function(B,G,K){if(!C)return d.onCommandKey(B,G,K)},d),k.addListener($,"select",H,d),k.addListener($,"input",V,d),k.addListener($,"cut",oe,d),k.addListener($,"copy",re,d),k.addListener($,"paste",q,d),(!("oncut"in $)||!("oncopy"in $)||!("onpaste"in $))&&k.addListener(g,"keydown",function(B){if(!(S.isMac&&!B.metaKey||!B.ctrlKey))switch(B.keyCode){case 67:re(B);break;case 86:q(B);break;case 88:oe(B);break}},d);var ae=function(B){if(!(C||!d.onCompositionStart||d.$readOnly)&&(C={},!p)){B.data&&(C.useTextareaForIME=!1),setTimeout(le,0),d._signal("compositionStart"),d.on("mousedown",de);var G=d.getSelectionRange();G.end.row=G.start.row,G.end.column=G.start.column,C.markerRange=G,C.selectionStart=y,d.onCompositionStart(C),C.useTextareaForIME?(v=$.value="",y=0,L=0):($.msGetInputContext&&(C.context=$.msGetInputContext()),$.getInputContext&&(C.context=$.getInputContext()))}},le=function(){if(!(!C||!d.onCompositionUpdate||d.$readOnly)){if(p)return de();if(C.useTextareaForIME)d.onCompositionUpdate($.value);else{var B=$.value;j(B),C.markerRange&&(C.context&&(C.markerRange.start.column=C.selectionStart=C.context.compositionStartOffset),C.markerRange.end.column=C.markerRange.start.column+L-C.selectionStart+R)}}},ce=function(B){!d.onCompositionEnd||d.$readOnly||(C=!1,d.onCompositionEnd(),d.off("mousedown",de),B&&V())};function de(){h=!0,$.blur(),$.focus(),h=!1}var ve=c.delayedCall(le,50).schedule.bind(null,null);function be(B){B.keyCode==27&&$.value.length<$.selectionStart&&(C||(v=$.value),y=L=-1,D()),ve()}k.addListener($,"compositionstart",ae,d),k.addListener($,"compositionupdate",le,d),k.addListener($,"keyup",be,d),k.addListener($,"keydown",ve,d),k.addListener($,"compositionend",ce,d),this.getElement=function(){return $},this.setCommandMode=function(B){p=B,$.readOnly=!1},this.setReadOnly=function(B){p||($.readOnly=B)},this.setCopyWithEmptySelection=function(B){},this.onContextMenu=function(B){U=!0,D(),d._emit("nativecontextmenu",{target:d,domEvent:B}),this.moveToMouse(B,!0)},this.moveToMouse=function(B,G){f||(f=$.style.cssText),$.style.cssText=(G?"z-index:100000;":"")+(S.isIE?"opacity:0.1;":"")+"text-indent: -"+(y+L)*d.renderer.characterWidth*.5+"px;";var K=d.container.getBoundingClientRect(),Q=a.computedStyle(d.container),X=K.top+(parseInt(Q.borderTopWidth)||0),te=K.left+(parseInt(K.borderLeftWidth)||0),ne=K.bottom-X-$.clientHeight-2,ie=function(ee){a.translate($,ee.clientX-te-2,Math.min(ee.clientY-X-2,ne))};ie(B),B.type=="mousedown"&&(d.renderer.$isMousePressed=!0,clearTimeout(fe),S.isWin&&k.capture(d.container,ie,ue))},this.onContextMenuClose=ue;var fe;function ue(){clearTimeout(fe),fe=setTimeout(function(){f&&($.style.cssText=f,f=""),d.renderer.$isMousePressed=!1,d.renderer.$keepTextAreaAtCursor&&d.renderer.$moveTextAreaToCursor()},0)}var ge=function(B){d.textInput.onContextMenu(B),ue()};k.addListener($,"mouseup",ge,d),k.addListener($,"mousedown",function(B){B.preventDefault(),ue()},d),k.addListener(d.renderer.scroller,"contextmenu",ge,d),k.addListener($,"contextmenu",ge,d),l&&$e(g,d,$);function $e(B,G,K){var Q=null,X=!1;K.addEventListener("keydown",function(ne){Q&&clearTimeout(Q),X=!0},!0),K.addEventListener("keyup",function(ne){Q=setTimeout(function(){X=!1},100)},!0);var te=function(ne){if(document.activeElement===K&&!(X||C||G.$mouseHandler.isMousePressed)&&!T){var ie=K.selectionStart,ee=K.selectionEnd,J=null,se=0;if(ie==0?J=r.up:ie==1?J=r.home:ee>L&&v[ee]=="\n"?J=r.end:ieL&&v.slice(0,ee).split("\n").length>2?J=r.down:ee>L&&v[ee-1]==" "?(J=r.right,se=s.option):(ee>L||ee==L&&L!=y&&ie==ee)&&(J=r.right),ie!==ee&&(se|=s.shift),J){var he=G.onCommandKey({},se,J);if(!he&&G.commands){J=r.keyCodeToString(J);var ye=G.commands.findKeyCommand(se,J);ye&&G.execCommand(ye)}y=ie,L=ee,D("")}}};document.addEventListener("selectionchange",te),G.on("destroy",function(){document.removeEventListener("selectionchange",te)})}this.destroy=function(){$.parentElement&&$.parentElement.removeChild($)}},x.TextInput=m,x.$setUserAgentForTests=function(g,d){b=g,l=d}}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],function(E,x,z){var k=E("../lib/useragent"),M=0,S=550,a=(function(){function i(n){n.$clickSelection=null;var t=n.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(n)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(n)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(n)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(n)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(n));var e=["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"];e.forEach(function(r){n[r]=this[r]},this),n.selectByLines=this.extendSelectionBy.bind(n,"getLineRange"),n.selectByWords=this.extendSelectionBy.bind(n,"getWordRange")}return i.prototype.onMouseDown=function(n){var t=n.inSelection(),e=n.getDocumentPosition();this.mousedownEvent=n;var r=this.editor,s=n.getButton();if(s!==0){var l=r.getSelectionRange(),u=l.isEmpty();(u||s==1)&&r.selection.moveToPosition(e),s==2&&(r.textInput.onContextMenu(n.domEvent),k.isMozilla||n.preventDefault());return}if(this.mousedownEvent.time=Date.now(),t&&!r.isFocused()&&(r.focus(),this.$focusTimeout&&!this.$clickSelection&&!r.inMultiSelectMode)){this.setState("focusWait"),this.captureMouse(n);return}return this.captureMouse(n),this.startSelect(e,n.domEvent._clicks>1),n.preventDefault()},i.prototype.startSelect=function(n,t){n=n||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var e=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?e.selection.selectToPosition(n):t||e.selection.moveToPosition(n),t||this.select(),e.setStyle("ace_selecting"),this.setState("select"))},i.prototype.select=function(){var n,t=this.editor,e=t.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var r=this.$clickSelection.comparePoint(e);if(r==-1)n=this.$clickSelection.end;else if(r==1)n=this.$clickSelection.start;else{var s=o(this.$clickSelection,e);e=s.cursor,n=s.anchor}t.selection.setSelectionAnchor(n.row,n.column)}t.selection.selectToPosition(e),t.renderer.scrollCursorIntoView()},i.prototype.extendSelectionBy=function(n){var t,e=this.editor,r=e.renderer.screenToTextCoordinates(this.x,this.y),s=e.selection[n](r.row,r.column);if(this.$clickSelection){var l=this.$clickSelection.comparePoint(s.start),u=this.$clickSelection.comparePoint(s.end);if(l==-1&&u<=0)t=this.$clickSelection.end,(s.end.row!=r.row||s.end.column!=r.column)&&(r=s.start);else if(u==1&&l>=0)t=this.$clickSelection.start,(s.start.row!=r.row||s.start.column!=r.column)&&(r=s.end);else if(l==-1&&u==1)r=s.end,t=s.start;else{var b=o(this.$clickSelection,r);r=b.cursor,t=b.anchor}e.selection.setSelectionAnchor(t.row,t.column)}e.selection.selectToPosition(r),e.renderer.scrollCursorIntoView()},i.prototype.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting")},i.prototype.focusWait=function(){var n=c(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),t=Date.now();(n>M||t-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},i.prototype.onDoubleClick=function(n){var t=n.getDocumentPosition(),e=this.editor,r=e.session,s=r.getBracketRange(t);s?(s.isEmpty()&&(s.start.column--,s.end.column++),this.setState("select")):(s=e.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=s,this.select()},i.prototype.onTripleClick=function(n){var t=n.getDocumentPosition(),e=this.editor;this.setState("selectByLines");var r=e.getSelectionRange();r.isMultiLine()&&r.contains(t.row,t.column)?(this.$clickSelection=e.selection.getLineRange(r.start.row),this.$clickSelection.end=e.selection.getLineRange(r.end.row).end):this.$clickSelection=e.selection.getLineRange(t.row),this.select()},i.prototype.onQuadClick=function(n){var t=this.editor;t.selectAll(),this.$clickSelection=t.getSelectionRange(),this.setState("selectAll")},i.prototype.onMouseWheel=function(n){if(!n.getAccelKey()){n.getShiftKey()&&n.wheelY&&!n.wheelX&&(n.wheelX=n.wheelY,n.wheelY=0);var t=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var e=this.$lastScroll,r=n.domEvent.timeStamp,s=r-e.t,l=s?n.wheelX/s:e.vx,u=s?n.wheelY/s:e.vy;s=1&&t.renderer.isScrollableBy(n.wheelX*n.speed,0)&&(m=!0),b<=1&&t.renderer.isScrollableBy(0,n.wheelY*n.speed)&&(m=!0),m)e.allowed=r;else if(r-e.allowedS.clientHeight;a||M.preventDefault()}}),ace.define("ace/tooltip",["require","exports","module","ace/lib/dom","ace/lib/event","ace/range","ace/lib/scroll"],function(E,x,z){var k=this&&this.__extends||(function(){var r=function(s,l){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,b){u.__proto__=b}||function(u,b){for(var m in b)Object.prototype.hasOwnProperty.call(b,m)&&(u[m]=b[m])},r(s,l)};return function(s,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");r(s,l);function u(){this.constructor=s}s.prototype=l===null?Object.create(l):(u.prototype=l.prototype,new u)}})(),M=this&&this.__values||function(r){var s=typeof Symbol=="function"&&Symbol.iterator,l=s&&r[s],u=0;if(l)return l.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&u>=r.length&&(r=void 0),{value:r&&r[u++],done:!r}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")},S=E("./lib/dom");E("./lib/event");var a=E("./range").Range,c=E("./lib/scroll").preventParentScroll,o="ace_tooltip",i=(function(){function r(s){this.isOpen=!1,this.$element=null,this.$parentNode=s}return r.prototype.$init=function(){return this.$element=S.createElement("div"),this.$element.className=o,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},r.prototype.getElement=function(){return this.$element||this.$init()},r.prototype.setText=function(s){this.getElement().textContent=s},r.prototype.setHtml=function(s){this.getElement().innerHTML=s},r.prototype.setPosition=function(s,l){this.getElement().style.left=s+"px",this.getElement().style.top=l+"px"},r.prototype.setClassName=function(s){S.addCssClass(this.getElement(),s)},r.prototype.setTheme=function(s){this.$element.className=o+" "+(s.isDark?"ace_dark ":"")+(s.cssClass||"")},r.prototype.show=function(s,l,u){s!=null&&this.setText(s),l!=null&&u!=null&&this.setPosition(l,u),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},r.prototype.hide=function(s){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=o,this.isOpen=!1)},r.prototype.getHeight=function(){return this.getElement().offsetHeight},r.prototype.getWidth=function(){return this.getElement().offsetWidth},r.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},r})(),n=(function(){function r(){this.popups=[]}return r.prototype.addPopup=function(s){this.popups.push(s),this.updatePopups()},r.prototype.removePopup=function(s){var l=this.popups.indexOf(s);l!==-1&&(this.popups.splice(l,1),this.updatePopups())},r.prototype.updatePopups=function(){var s,l,u,b;this.popups.sort(function(f,p){return p.priority-f.priority});var m=[];try{for(var g=M(this.popups),d=g.next();!d.done;d=g.next()){var $=d.value,T=!0;try{for(var A=(u=void 0,M(m)),C=A.next();!C.done;C=A.next()){var w=C.value;if(this.doPopupsOverlap(w,$)){T=!1;break}}}catch(f){u={error:f}}finally{try{C&&!C.done&&(b=A.return)&&b.call(A)}finally{if(u)throw u.error}}T?m.push($):$.hide()}}catch(f){s={error:f}}finally{try{d&&!d.done&&(l=g.return)&&l.call(g)}finally{if(s)throw s.error}}},r.prototype.doPopupsOverlap=function(s,l){var u=s.getElement().getBoundingClientRect(),b=l.getElement().getBoundingClientRect();return u.leftb.left&&u.topb.top},r})(),t=new n;x.popupManager=t,x.Tooltip=i;var e=(function(r){k(s,r);function s(l){l===void 0&&(l=document.body);var u=r.call(this,l)||this;u.timeout=void 0,u.lastT=0,u.idleTime=350,u.lastEvent=void 0,u.onMouseOut=u.onMouseOut.bind(u),u.onMouseMove=u.onMouseMove.bind(u),u.waitForHover=u.waitForHover.bind(u),u.hide=u.hide.bind(u);var b=u.getElement();return b.style.whiteSpace="pre-wrap",b.style.pointerEvents="auto",b.addEventListener("mouseout",u.onMouseOut),b.tabIndex=-1,b.addEventListener("blur",(function(){b.contains(document.activeElement)||this.hide()}).bind(u)),b.addEventListener("wheel",c),u}return s.prototype.addToEditor=function(l){l.on("mousemove",this.onMouseMove),l.on("mousedown",this.hide),l.renderer.getMouseEventTarget().addEventListener("mouseout",this.onMouseOut,!0)},s.prototype.removeFromEditor=function(l){l.off("mousemove",this.onMouseMove),l.off("mousedown",this.hide),l.renderer.getMouseEventTarget().removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},s.prototype.onMouseMove=function(l,u){this.lastEvent=l,this.lastT=Date.now();var b=u.$mouseHandler.isMousePressed;if(this.isOpen){var m=this.lastEvent&&this.lastEvent.getDocumentPosition();(!this.range||!this.range.contains(m.row,m.column)||b||this.isOutsideOfText(this.lastEvent))&&this.hide()}this.timeout||b||(this.lastEvent=l,this.timeout=setTimeout(this.waitForHover,this.idleTime))},s.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var l=Date.now()-this.lastT;if(this.idleTime-l>10){this.timeout=setTimeout(this.waitForHover,this.idleTime-l);return}this.timeout=null,this.lastEvent&&!this.isOutsideOfText(this.lastEvent)&&this.$gatherData(this.lastEvent,this.lastEvent.editor)},s.prototype.isOutsideOfText=function(l){var u=l.editor,b=l.getDocumentPosition(),m=u.session.getLine(b.row);if(b.column==m.length){var g=u.renderer.pixelToScreenCoordinates(l.clientX,l.clientY),d=u.session.documentToScreenPosition(b.row,b.column);if(d.column!=g.column||d.row!=g.row)return!0}return!1},s.prototype.setDataProvider=function(l){this.$gatherData=l},s.prototype.showForRange=function(l,u,b,m){var g=10;if(!(m&&m!=this.lastEvent)&&!(this.isOpen&&document.activeElement==this.getElement())){var d=l.renderer;this.isOpen||(t.addPopup(this),this.$registerCloseEvents(),this.setTheme(d.theme)),this.isOpen=!0,this.addMarker(u,l.session),this.range=a.fromPoints(u.start,u.end);var $=d.textToScreenCoordinates(u.start.row,u.start.column),T=d.scroller.getBoundingClientRect();$.pageX=t.length&&(t=void 0),{value:t&&t[s++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},S=E("../lib/dom"),a=E("../lib/event"),c=E("../tooltip").Tooltip,o=E("../config").nls;E("../lib/lang");function i(t){var e=t.editor,r=e.renderer.$gutterLayer,s=new n(e);t.editor.setDefaultHandler("guttermousedown",function(d){if(!(!e.isFocused()||d.getButton()!=0)){var $=r.getRegion(d);if($!="foldWidgets"){var T=d.getDocumentPosition().row,A=e.session.selection;if(d.getShiftKey())A.selectTo(T,0);else{if(d.domEvent.detail==2)return e.selectAll(),d.preventDefault();t.$clickSelection=e.selection.getLineRange(T)}return t.setState("selectByLines"),t.captureMouse(d),d.preventDefault()}}});var l,u;function b(){var d=u.getDocumentPosition().row,$=e.session.getLength();if(d==$){var T=e.renderer.pixelToScreenCoordinates(0,u.y).row,A=u.$pos;if(T>e.session.documentToScreenRow(A.row,A.column))return m()}if(s.showTooltip(d),!!s.isOpen)if(e.on("mousewheel",m),t.$tooltipFollowsMouse)g(u);else{var C=u.getGutterRow(),w=r.$lines.get(C);if(w){var f=w.element.querySelector(".ace_gutter_annotation"),p=f.getBoundingClientRect(),h=s.getElement().style;h.left=p.right+"px",h.top=p.bottom+"px"}else g(u)}}function m(){l&&(l=clearTimeout(l)),s.isOpen&&(s.hideTooltip(),e.off("mousewheel",m))}function g(d){s.setPosition(d.x,d.y)}t.editor.setDefaultHandler("guttermousemove",function(d){var $=d.domEvent.target||d.domEvent.srcElement;if(S.hasCssClass($,"ace_fold-widget"))return m();s.isOpen&&t.$tooltipFollowsMouse&&g(d),u=d,!l&&(l=setTimeout(function(){l=null,u&&!t.isMousePressed?b():m()},50))}),a.addListener(e.renderer.$gutter,"mouseout",function(d){u=null,!(!s.isOpen||l)&&(l=setTimeout(function(){l=null,m()},50))},e),e.on("changeSession",m),e.on("input",m)}x.GutterHandler=i;var n=(function(t){k(e,t);function e(r){var s=t.call(this,r.container)||this;return s.editor=r,s}return e.prototype.setPosition=function(r,s){var l=window.innerWidth||document.documentElement.clientWidth,u=window.innerHeight||document.documentElement.clientHeight,b=this.getWidth(),m=this.getHeight();r+=15,s+=15,r+b>l&&(r-=r+b-l),s+m>u&&(s-=20+m),c.prototype.setPosition.call(this,r,s)},Object.defineProperty(e,"annotationLabels",{get:function(){return{error:{singular:o("gutter-tooltip.aria-label.error.singular","error"),plural:o("gutter-tooltip.aria-label.error.plural","errors")},security:{singular:o("gutter-tooltip.aria-label.security.singular","security finding"),plural:o("gutter-tooltip.aria-label.security.plural","security findings")},warning:{singular:o("gutter-tooltip.aria-label.warning.singular","warning"),plural:o("gutter-tooltip.aria-label.warning.plural","warnings")},info:{singular:o("gutter-tooltip.aria-label.info.singular","information message"),plural:o("gutter-tooltip.aria-label.info.plural","information messages")},hint:{singular:o("gutter-tooltip.aria-label.hint.singular","suggestion"),plural:o("gutter-tooltip.aria-label.hint.plural","suggestions")}}},enumerable:!1,configurable:!0}),e.prototype.showTooltip=function(r){var s,l=this.editor.renderer.$gutterLayer,u=l.$annotations[r],b;u?b={displayText:Array.from(u.displayText),type:Array.from(u.type)}:b={displayText:[],type:[]};var m=l.session.getFoldLine(r);if(m&&l.$showFoldedAnnotations){for(var g={error:[],security:[],warning:[],info:[],hint:[]},d={error:1,security:2,warning:3,info:4,hint:5},$,T=r+1;T<=m.end.row;T++)if(l.$annotations[T])for(var A=0;Ao?f=null:F-f>=c&&(e.renderer.scrollCursorIntoView(),f=null)}}function v(O,D){var F=Date.now(),H=e.renderer.layerConfig.lineHeight,P=e.renderer.layerConfig.characterWidth,U=e.renderer.scroller.getBoundingClientRect(),j={x:{left:b-U.left,right:U.right-b},y:{top:m-U.top,bottom:U.bottom-m}},V=Math.min(j.x.left,j.x.right),Y=Math.min(j.y.top,j.y.bottom),Z={row:O.row,column:O.column};V/P<=2&&(Z.column+=j.x.left=a&&e.renderer.scrollCursorIntoView(Z):w=F:w=null}function y(){var O=$;$=e.renderer.screenToTextCoordinates(b,m),h($,O),v($,O)}function L(){d=e.selection.toOrientedRange(),u=e.session.addMarker(d,"ace_selection",e.getSelectionStyle()),e.clearSelection(),e.isFocused()&&e.renderer.$cursorLayer.setBlinking(!1),clearInterval(g),y(),g=setInterval(y,20),T=0,M.addListener(document,"mousemove",I)}function R(){clearInterval(g),e.session.removeMarker(u),u=null,e.selection.fromOrientedRange(d),e.isFocused()&&!C&&e.$resetCursorStyle(),d=null,$=null,T=0,w=null,f=null,M.removeListener(document,"mousemove",I)}var _=null;function I(){_==null&&(_=setTimeout(function(){_!=null&&u&&R()},20))}function N(O){var D=O.types;return!D||Array.prototype.some.call(D,function(F){return F=="text/plain"||F=="Text"})}function W(O){var D=["copy","copymove","all","uninitialized"],F=["move","copymove","linkmove","all","uninitialized"],H=S.isMac?O.altKey:O.ctrlKey,P="uninitialized";try{P=O.dataTransfer.effectAllowed.toLowerCase()}catch(j){}var U="none";return H&&D.indexOf(P)>=0?U="copy":F.indexOf(P)>=0?U="move":D.indexOf(P)>=0&&(U="copy"),U}}(function(){this.dragWait=function(){var t=Date.now()-this.mousedownEvent.time;t>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){var t=this.editor.container;t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(t){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var t=this.editor,e=t.container;e.draggable=!0,t.renderer.$cursorLayer.setBlinking(!1),t.setStyle("ace_dragging");var r=S.isWin?"default":"move";t.renderer.setCursorStyle(r),this.setState("dragReady")},this.onMouseDrag=function(t){var e=this.editor.container;if(S.isIE&&this.state=="dragReady"){var r=n(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);r>3&&e.dragDrop()}if(this.state==="dragWait"){var r=n(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);r>0&&(e.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))}},this.onMouseDown=function(t){if(this.$dragEnabled){this.mousedownEvent=t;var e=this.editor,r=t.inSelection(),s=t.getButton(),l=t.domEvent.detail||1;if(l===1&&s===0&&r){if(t.editor.inMultiSelectMode&&(t.getAccelKey()||t.getShiftKey()))return;this.mousedownEvent.time=Date.now();var u=t.domEvent.target||t.domEvent.srcElement;if("unselectable"in u&&(u.unselectable="on"),e.getDragDelay()){if(S.isWebKit){this.cancelDrag=!0;var b=e.container;b.draggable=!0}this.setState("dragWait")}else this.startDrag();this.captureMouse(t,this.onMouseDrag.bind(this)),t.defaultPrevented=!0}}}}).call(i.prototype);function n(t,e,r,s){return Math.sqrt(Math.pow(r-t,2)+Math.pow(s-e,2))}x.DragdropHandler=i}),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],function(E,x,z){var k=E("./mouse_event").MouseEvent,M=E("../lib/event"),S=E("../lib/dom");x.addTouchListeners=function(a,c){var o="scroll",i,n,t,e,r,s,l=0,u,b=0,m=0,g=0,d,$;function T(){var h=window.navigator&&window.navigator.clipboard,v=!1,y=function(){var _=c.getCopyText(),I=c.session.getUndoManager().hasUndo();$.replaceChild(S.buildDom(v?["span",!_&&L("selectall")&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],_&&L("copy")&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],_&&L("cut")&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],h&&L("paste")&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],I&&L("undo")&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],L("find")&&["span",{class:"ace_mobile-button",action:"find"},"Find"],L("openCommandPalette")&&["span",{class:"ace_mobile-button",action:"openCommandPalette"},"Palette"]]:["span"]),$.firstChild)},L=function(_){return c.commands.canExecute(_,c)},R=function(_){var I=_.target.getAttribute("action");if(I=="more"||!v)return v=!v,y();I=="paste"?h.readText().then(function(N){c.execCommand(I,N)}):I&&((I=="cut"||I=="copy")&&(h?h.writeText(c.getCopyText()):document.execCommand("copy")),c.execCommand(I)),$.firstChild.style.display="none",v=!1,I!="openCommandPalette"&&c.focus()};$=S.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(_){o="menu",_.stopPropagation(),_.preventDefault(),c.textInput.focus()},ontouchend:function(_){_.stopPropagation(),_.preventDefault(),R(_)},onclick:R},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],c.container)}function A(){if(!c.getOption("enableMobileMenu")){$&&C();return}$||T();var h=c.selection.cursor,v=c.renderer.textToScreenCoordinates(h.row,h.column),y=c.renderer.textToScreenCoordinates(0,0).pageX,L=c.renderer.scrollLeft,R=c.container.getBoundingClientRect();$.style.top=v.pageY-R.top-3+"px",v.pageX-R.left=2?c.selection.getLineRange(u.row):c.session.getBracketRange(u);h&&!h.isEmpty()?c.selection.setRange(h):c.selection.selectWord(),o="wait"}M.addListener(a,"contextmenu",function(h){if(d){var v=c.textInput.getElement();v.focus()}},c),M.addListener(a,"touchstart",function(h){var v=h.touches;if(r||v.length>1){clearTimeout(r),r=null,t=-1,o="zoom";return}d=c.$mouseHandler.isMousePressed=!0;var y=c.renderer.layerConfig.lineHeight,L=c.renderer.layerConfig.lineHeight,R=h.timeStamp;e=R;var _=v[0],I=_.clientX,N=_.clientY;Math.abs(i-I)+Math.abs(n-N)>y&&(t=-1),i=h.clientX=I,n=h.clientY=N,m=g=0;var W=new k(h,c);if(u=W.getDocumentPosition(),R-t<500&&v.length==1&&!l)b++,h.preventDefault(),h.button=0,f();else{b=0;var O=c.selection.cursor,D=c.selection.isEmpty()?O:c.selection.anchor,F=c.renderer.$cursorLayer.getPixelPosition(O,!0),H=c.renderer.$cursorLayer.getPixelPosition(D,!0),P=c.renderer.scroller.getBoundingClientRect(),U=c.renderer.layerConfig.offset,j=c.renderer.scrollLeft,V=function(oe,re){return oe=oe/L,re=re/y-.75,oe*oe+re*re};if(h.clientXZ?"cursor":"anchor"),Z<3.5?o="anchor":Y<3.5?o="cursor":o="scroll",r=setTimeout(w,450)}t=R},c),M.addListener(a,"touchend",function(h){d=c.$mouseHandler.isMousePressed=!1,s&&clearInterval(s),o=="zoom"?(o="",l=0):r?(c.selection.moveToPosition(u),l=0,A()):o=="scroll"?(p(),C()):A(),clearTimeout(r),r=null},c),M.addListener(a,"touchmove",function(h){r&&(clearTimeout(r),r=null);var v=h.touches;if(!(v.length>1||o=="zoom")){var y=v[0],L=i-y.clientX,R=n-y.clientY;if(o=="wait")if(L*L+R*R>4)o="cursor";else return h.preventDefault();i=y.clientX,n=y.clientY,h.clientX=y.clientX,h.clientY=y.clientY;var _=h.timeStamp,I=_-e;if(e=_,o=="scroll"){var N=new k(h,c);N.speed=1,N.wheelX=L,N.wheelY=R,10*Math.abs(L)0)if(Z==16){for(q=re;q-1){for(q=re;q=0&&H[ce]==d;ce--)D[ce]=k}}}function I(O,D,F){if(!(M=O){for(U=P+1;U=O;)U++;for(j=P,V=U-1;j=D.length||(U=F[H-1])!=s&&U!=l||(j=D[H+1])!=s&&j!=l?u:(S&&(j=l),j==U?j:u);case T:return U=H>0?F[H-1]:b,U==s&&H+10&&F[H-1]==s)return s;if(S)return u;for(Y=H+1,V=D.length;Y=1425&&Z<=2303||Z==64286;if(U=D[Y],oe&&(U==r||U==g))return r}return H<1||(U=D[H-1])==b?u:F[H-1];case b:return S=!1,a=!0,k;case m:return c=!0,u;case w:case f:case h:case v:case p:S=!1;case y:return u}}function W(O){var D=O.charCodeAt(0),F=D>>8;return F==0?D>191?e:L[D]:F==5?/[\u0591-\u05f4]/.test(O)?r:e:F==6?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(O)?C:/[\u0660-\u0669\u066b-\u066c]/.test(O)?l:D==1642?A:/[\u06f0-\u06f9]/.test(O)?s:g:F==32&&D<=8287?R[D&255]:F==254&&D>=65136?g:u}x.L=e,x.R=r,x.EN=s,x.ON_R=3,x.AN=4,x.R_H=5,x.B=6,x.RLE=7,x.DOT="·",x.doBidiReorder=function(O,D,F){if(O.length<2)return{};var H=O.split(""),P=new Array(H.length),U=new Array(H.length),j=[];k=F?t:n,_(H,j,H.length,D);for(var V=0;Vg&&D[V]0&&H[V-1]==="ل"&&/\u0622|\u0623|\u0625|\u0627/.test(H[V])&&(j[V-1]=j[V]=x.R_H,V++);H[H.length-1]===x.DOT&&(j[H.length-1]=x.B),H[0]==="‫"&&(j[0]=x.RLE);for(var V=0;V=0&&(o=this.session.$docRowCache[n])}return o},c.prototype.getSplitIndex=function(){var o=0,i=this.session.$screenRowCache;if(i.length)for(var n,t=this.session.$getRowCacheIndex(i,this.currentRow);this.currentRow-o>0&&(n=this.session.$getRowCacheIndex(i,this.currentRow-o-1),n===t);)t=n,o++;else o=this.currentRow;return o},c.prototype.updateRowLine=function(o,i){o===void 0&&(o=this.getDocumentRow());var n=o===this.session.getLength()-1,t=n?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(o),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var e=this.session.$wrapData[o];e&&(i===void 0&&(i=this.getSplitIndex()),i>0&&e.length?(this.wrapIndent=e.indent,this.wrapOffset=this.wrapIndent*this.charWidths[k.L],this.line=ii?this.session.getOverwrite()?o:o-1:i,t=k.getVisualFromLogicalIdx(n,this.bidiMap),e=this.bidiMap.bidiLevels,r=0;!this.session.getOverwrite()&&o<=i&&e[t]%2!==0&&t++;for(var s=0;si&&e[t]%2===0&&(r+=this.charWidths[e[t]]),this.wrapIndent&&(r+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(r+=this.rtlLineOffset),r},c.prototype.getSelections=function(o,i){var n=this.bidiMap,t=n.bidiLevels,e,r=[],s=0,l=Math.min(o,i)-this.wrapIndent,u=Math.max(o,i)-this.wrapIndent,b=!1,m=!1,g=0;this.wrapIndent&&(s+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var d,$=0;$=l&&dt+s/2;){if(t+=s,e===r.length-1){s=0;break}s=this.charWidths[r[++e]]}return e>0&&r[e-1]%2!==0&&r[e]%2===0?(n0&&r[e-1]%2===0&&r[e]%2!==0?i=1+(n>t?this.bidiMap.logicalFromVisual[e]:this.bidiMap.logicalFromVisual[e-1]):this.isRtlDir&&e===r.length-1&&s===0&&r[e-1]%2===0||!this.isRtlDir&&e===0&&r[e]%2!==0?i=1+this.bidiMap.logicalFromVisual[e]:(e>0&&r[e-1]%2!==0&&s!==0&&e--,i=this.bidiMap.logicalFromVisual[e]),i===0&&this.isRtlDir&&i++,i+this.wrapIndent},c})();x.BidiHandler=a}),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(E,x,z){var k=E("./lib/oop"),M=E("./lib/lang"),S=E("./lib/event_emitter").EventEmitter,a=E("./range").Range,c=(function(){function o(i){this.session=i,this.doc=i.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var n=this;this.cursor.on("change",function(t){n.$cursorChanged=!0,n.$silent||n._emit("changeCursor"),!n.$isEmpty&&!n.$silent&&n._emit("changeSelection"),!n.$keepDesiredColumnOnChange&&t.old.column!=t.value.column&&(n.$desiredColumn=null)}),this.anchor.on("change",function(){n.$anchorChanged=!0,!n.$isEmpty&&!n.$silent&&n._emit("changeSelection")})}return o.prototype.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},o.prototype.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},o.prototype.getCursor=function(){return this.lead.getPosition()},o.prototype.setAnchor=function(i,n){this.$isEmpty=!1,this.anchor.setPosition(i,n)},o.prototype.getAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},o.prototype.getSelectionLead=function(){return this.lead.getPosition()},o.prototype.isBackwards=function(){var i=this.anchor,n=this.lead;return i.row>n.row||i.row==n.row&&i.column>n.column},o.prototype.getRange=function(){var i=this.anchor,n=this.lead;return this.$isEmpty?a.fromPoints(n,n):this.isBackwards()?a.fromPoints(n,i):a.fromPoints(i,n)},o.prototype.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},o.prototype.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},o.prototype.setRange=function(i,n){var t=n?i.end:i.start,e=n?i.start:i.end;this.$setSelection(t.row,t.column,e.row,e.column)},o.prototype.$setSelection=function(i,n,t,e){if(!this.$silent){var r=this.$isEmpty,s=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(i,n),this.cursor.setPosition(t,e),this.$isEmpty=!a.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||r!=this.$isEmpty||s)&&this._emit("changeSelection")}},o.prototype.$moveSelection=function(i){var n=this.lead;this.$isEmpty&&this.setSelectionAnchor(n.row,n.column),i.call(this)},o.prototype.selectTo=function(i,n){this.$moveSelection(function(){this.moveCursorTo(i,n)})},o.prototype.selectToPosition=function(i){this.$moveSelection(function(){this.moveCursorToPosition(i)})},o.prototype.moveTo=function(i,n){this.clearSelection(),this.moveCursorTo(i,n)},o.prototype.moveToPosition=function(i){this.clearSelection(),this.moveCursorToPosition(i)},o.prototype.selectUp=function(){this.$moveSelection(this.moveCursorUp)},o.prototype.selectDown=function(){this.$moveSelection(this.moveCursorDown)},o.prototype.selectRight=function(){this.$moveSelection(this.moveCursorRight)},o.prototype.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},o.prototype.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},o.prototype.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},o.prototype.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},o.prototype.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},o.prototype.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},o.prototype.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},o.prototype.getWordRange=function(i,n){if(typeof n>"u"){var t=i||this.lead;i=t.row,n=t.column}return this.session.getWordRange(i,n)},o.prototype.selectWord=function(){this.setSelectionRange(this.getWordRange())},o.prototype.selectAWord=function(){var i=this.getCursor(),n=this.session.getAWordRange(i.row,i.column);this.setSelectionRange(n)},o.prototype.getLineRange=function(i,n){var t=typeof i=="number"?i:this.lead.row,e,r=this.session.getFoldLine(t);return r?(t=r.start.row,e=r.end.row):e=t,n===!0?new a(t,0,e,this.session.getLine(e).length):new a(t,0,e+1,0)},o.prototype.selectLine=function(){this.setSelectionRange(this.getLineRange())},o.prototype.moveCursorUp=function(){this.moveCursorBy(-1,0)},o.prototype.moveCursorDown=function(){this.moveCursorBy(1,0)},o.prototype.wouldMoveIntoSoftTab=function(i,n,t){var e=i.column,r=i.column+n;return t<0&&(e=i.column-n,r=i.column),this.session.isTabStop(i)&&this.doc.getLine(i.row).slice(e,r).split(" ").length-1==n},o.prototype.moveCursorLeft=function(){var i=this.lead.getPosition(),n;if(n=this.session.getFoldAt(i.row,i.column,-1))this.moveCursorTo(n.start.row,n.start.column);else if(i.column===0)i.row>0&&this.moveCursorTo(i.row-1,this.doc.getLine(i.row-1).length);else{var t=this.session.getTabSize();this.wouldMoveIntoSoftTab(i,t,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-t):this.moveCursorBy(0,-1)}},o.prototype.moveCursorRight=function(){var i=this.lead.getPosition(),n;if(n=this.session.getFoldAt(i.row,i.column,1))this.moveCursorTo(n.end.row,n.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(n.column=e)}}this.moveCursorTo(n.row,n.column)},o.prototype.moveCursorFileEnd=function(){var i=this.doc.getLength()-1,n=this.doc.getLine(i).length;this.moveCursorTo(i,n)},o.prototype.moveCursorFileStart=function(){this.moveCursorTo(0,0)},o.prototype.moveCursorLongWordRight=function(){var i=this.lead.row,n=this.lead.column,t=this.doc.getLine(i),e=t.substring(n);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var r=this.session.getFoldAt(i,n,1);if(r){this.moveCursorTo(r.end.row,r.end.column);return}if(this.session.nonTokenRe.exec(e)&&(n+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,e=t.substring(n)),n>=t.length){this.moveCursorTo(i,t.length),this.moveCursorRight(),i0&&this.moveCursorWordLeft();return}this.session.tokenRe.exec(r)&&(n-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(i,n)},o.prototype.$shortWordEndIndex=function(i){var n=0,t,e=/\s/,r=this.session.tokenRe;if(r.lastIndex=0,this.session.tokenRe.exec(i))n=this.session.tokenRe.lastIndex;else{for(;(t=i[n])&&e.test(t);)n++;if(n<1){for(r.lastIndex=0;(t=i[n])&&!r.test(t);)if(r.lastIndex=0,n++,e.test(t))if(n>2){n--;break}else{for(;(t=i[n])&&e.test(t);)n++;if(n>2)break}}}return r.lastIndex=0,n},o.prototype.moveCursorShortWordRight=function(){var i=this.lead.row,n=this.lead.column,t=this.doc.getLine(i),e=t.substring(n),r=this.session.getFoldAt(i,n,1);if(r)return this.moveCursorTo(r.end.row,r.end.column);if(n==t.length){var s=this.doc.getLength();do i++,e=this.doc.getLine(i);while(i0&&/^\s*$/.test(e));n=e.length,/\s+$/.test(e)||(e="")}var r=M.stringReverse(e),s=this.$shortWordEndIndex(r);return this.moveCursorTo(i,n-s)},o.prototype.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},o.prototype.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},o.prototype.moveCursorBy=function(i,n){var t=this.session.documentToScreenPosition(this.lead.row,this.lead.column),e;if(n===0&&(i!==0&&(this.session.$bidiHandler.isBidiRow(t.row,this.lead.row)?(e=this.session.$bidiHandler.getPosLeft(t.column),t.column=Math.round(e/this.session.$bidiHandler.charWidths[0])):e=t.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?t.column=this.$desiredColumn:this.$desiredColumn=t.column),i!=0&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var r=this.session.lineWidgets[this.lead.row];i<0?i-=r.rowsAbove||0:i>0&&(i+=r.rowCount-(r.rowsAbove||0))}var s=this.session.screenToDocumentPosition(t.row+i,t.column,e);i!==0&&n===0&&s.row===this.lead.row&&(s.column,this.lead.column),this.moveCursorTo(s.row,s.column+n,n===0)},o.prototype.moveCursorToPosition=function(i){this.moveCursorTo(i.row,i.column)},o.prototype.moveCursorTo=function(i,n,t){var e=this.session.getFoldAt(i,n,1);e&&(i=e.start.row,n=e.start.column),this.$keepDesiredColumnOnChange=!0;var r=this.session.getLine(i);/[\uDC00-\uDFFF]/.test(r.charAt(n))&&r.charAt(n-1)&&(this.lead.row==i&&this.lead.column==n+1?n=n-1:n=n+1),this.lead.setPosition(i,n),this.$keepDesiredColumnOnChange=!1,t||(this.$desiredColumn=null)},o.prototype.moveCursorToScreen=function(i,n,t){var e=this.session.screenToDocumentPosition(i,n);this.moveCursorTo(e.row,e.column,t)},o.prototype.detach=function(){this.lead.detach(),this.anchor.detach()},o.prototype.fromOrientedRange=function(i){this.setSelectionRange(i,i.cursor==i.start),this.$desiredColumn=i.desiredColumn||this.$desiredColumn},o.prototype.toOrientedRange=function(i){var n=this.getRange();return i?(i.start.column=n.start.column,i.start.row=n.start.row,i.end.column=n.end.column,i.end.row=n.end.row):i=n,i.cursor=this.isBackwards()?i.start:i.end,i.desiredColumn=this.$desiredColumn,i},o.prototype.getRangeOfMovements=function(i){var n=this.getCursor();try{i(this);var t=this.getCursor();return a.fromPoints(n,t)}catch(e){return a.fromPoints(n,n)}finally{this.moveCursorToPosition(n)}},o.prototype.toJSON=function(){if(this.rangeCount)var i=this.ranges.map(function(n){var t=n.clone();return t.isBackwards=n.cursor==n.start,t});else{var i=this.getRange();i.isBackwards=this.isBackwards()}return i},o.prototype.fromJSON=function(i){if(i.start==null)if(this.rangeList&&i.length>1){this.toSingleRange(i[0]);for(var n=i.length;n--;){var t=a.fromPoints(i[n].start,i[n].end);i[n].isBackwards&&(t.cursor=t.start),this.addRange(t,!0)}return}else i=i[0];this.rangeList&&this.toSingleRange(i),this.setSelectionRange(i,i.isBackwards)},o.prototype.isEqual=function(i){if((i.length||this.rangeCount)&&i.length!=this.rangeCount)return!1;if(!i.length||!this.ranges)return this.getRange().isEqual(i);for(var n=this.ranges.length;n--;)if(!this.ranges[n].isEqual(i[n]))return!1;return!0},o})();c.prototype.setSelectionAnchor=c.prototype.setAnchor,c.prototype.getSelectionAnchor=c.prototype.getAnchor,c.prototype.setSelectionRange=c.prototype.setRange,k.implement(c.prototype,S),x.Selection=c}),ace.define("ace/tokenizer",["require","exports","module","ace/lib/report_error"],function(E,x,z){var k=E("./lib/report_error").reportError,M=2e3,S=(function(){function a(c){this.splitRegex,this.states=c,this.regExps={},this.matchMappings={};for(var o in this.states){for(var i=this.states[o],n=[],t=0,e=this.matchMappings[o]={defaultToken:"text"},r="g",s=[],l=0;l1?u.onMatch=this.$applyToken:u.onMatch=u.token),m>1&&(/\\\d/.test(u.regex)?b=u.regex.replace(/\\([0-9]+)/g,function(g,d){return"\\"+(parseInt(d,10)+t+1)}):(m=1,b=this.removeCapturingGroups(u.regex)),!u.splitRegex&&typeof u.token!="string"&&s.push(u)),e[t]=l,t+=m,n.push(b),u.onMatch||(u.onMatch=null)}}n.length||(e[0]=0,n.push("$")),s.forEach(function(g){g.splitRegex=this.createSplitterRegexp(g.regex,r)},this),this.regExps[o]=new RegExp("("+n.join(")|(")+")|($)",r)}}return a.prototype.$setMaxTokenCount=function(c){M=c|0},a.prototype.$applyToken=function(c){var o=this.splitRegex.exec(c).slice(1),i=this.token.apply(this,o);if(typeof i=="string")return[{type:i,value:c}];for(var n=[],t=0,e=i.length;tu){var A=c.substring(u,T-$.length);m.type==g?m.value+=A:(m.type&&l.push(m),m={type:g,value:A})}for(var C=0;CM){for(b>2*c.length&&this.reportError("infinite loop with in ace tokenizer",{startState:o,line:c});u1&&i[0]!==n&&i.unshift("#tmp",n),{tokens:l,state:i.length?i:n}},a})();S.prototype.reportError=k,x.Tokenizer=S}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/deep_copy"],function(E,x,z){var k=E("../lib/deep_copy").deepCopy,M;M=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}},(function(){this.addRules=function(c,o){if(!o){for(var i in c)this.$rules[i]=c[i];return}for(var i in c){for(var n=c[i],t=0;t=this.$rowTokens.length;){if(this.$row+=1,a||(a=this.$session.getLength()),this.$row>=a)return this.$row=a-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},S.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},S.prototype.getCurrentTokenRow=function(){return this.$row},S.prototype.getCurrentTokenColumn=function(){var a=this.$rowTokens,c=this.$tokenIndex,o=a[c].start;if(o!==void 0)return o;for(o=0;c>0;)c-=1,o+=a[c].value.length;return o},S.prototype.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},S.prototype.getCurrentTokenRange=function(){var a=this.$rowTokens[this.$tokenIndex],c=this.getCurrentTokenColumn();return new k(this.$row,c,this.$row,c+a.value.length)},S})();x.TokenIterator=M}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(E,x,z){var k=E("../../lib/oop"),M=E("../behaviour").Behaviour,S=E("../../token_iterator").TokenIterator,a=E("../../lib/lang"),c=["text","paren.rparen","rparen","paren","punctuation.operator"],o=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],i,n={},t={'"':'"',"'":"'"},e=function(l){var u=-1;if(l.multiSelect&&(u=l.selection.index,n.rangeCount!=l.multiSelect.rangeCount&&(n={rangeCount:l.multiSelect.rangeCount})),n[u])return i=n[u];i=n[u]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},r=function(l,u,b,m){var g=l.end.row-l.start.row;return{text:b+u+m,selection:[0,l.start.column+1,g,l.end.column+(g?0:1)]}},s;s=function(l){l=l||{},this.add("braces","insertion",function(u,b,m,g,d){var $=m.getCursorPosition(),T=g.doc.getLine($.row);if(d=="{"){e(m);var A=m.getSelectionRange(),C=g.doc.getTextRange(A),w=g.getTokenAt($.row,$.column);if(C!==""&&C!=="{"&&m.getWrapBehavioursEnabled())return r(A,C,"{","}");if(w&&/(?:string)\.quasi|\.xml/.test(w.type)){var f=[/tag\-(?:open|name)/,/attribute\-name/];return f.some(function(_){return _.test(w.type)})||/(string)\.quasi/.test(w.type)&&w.value[$.column-w.start-1]!=="$"?void 0:(s.recordAutoInsert(m,g,"}"),{text:"{}",selection:[1,1]})}else if(s.isSaneInsertion(m,g))return/[\]\}\)]/.test(T[$.column])||m.inMultiSelectMode||l.braces?(s.recordAutoInsert(m,g,"}"),{text:"{}",selection:[1,1]}):(s.recordMaybeInsert(m,g,"{"),{text:"{",selection:[1,1]})}else if(d=="}"){e(m);var p=T.substring($.column,$.column+1);if(p=="}"){var h=g.$findOpeningBracket("}",{column:$.column+1,row:$.row});if(h!==null&&s.isAutoInsertedClosing($,T,d))return s.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}else if(d=="\n"||d=="\r\n"){e(m);var v="";s.isMaybeInsertedClosing($,T)&&(v=a.stringRepeat("}",i.maybeInsertedBrackets),s.clearMaybeInsertedClosing());var p=T.substring($.column,$.column+1);if(p==="}"){var y=g.findMatchingBracket({row:$.row,column:$.column+1},"}");if(!y)return null;var L=this.$getIndent(g.getLine(y.row))}else if(v)var L=this.$getIndent(T);else{s.clearMaybeInsertedClosing();return}var R=L+g.getTabString();return{text:"\n"+R+"\n"+L+v,selection:[1,R.length,1,R.length]}}else s.clearMaybeInsertedClosing()}),this.add("braces","deletion",function(u,b,m,g,d){var $=g.doc.getTextRange(d);if(!d.isMultiLine()&&$=="{"){e(m);var T=g.doc.getLine(d.start.row),A=T.substring(d.end.column,d.end.column+1);if(A=="}")return d.end.column++,d;i.maybeInsertedBrackets--}}),this.add("parens","insertion",function(u,b,m,g,d){if(d=="("){e(m);var $=m.getSelectionRange(),T=g.doc.getTextRange($);if(T!==""&&m.getWrapBehavioursEnabled())return r($,T,"(",")");if(s.isSaneInsertion(m,g))return s.recordAutoInsert(m,g,")"),{text:"()",selection:[1,1]}}else if(d==")"){e(m);var A=m.getCursorPosition(),C=g.doc.getLine(A.row),w=C.substring(A.column,A.column+1);if(w==")"){var f=g.$findOpeningBracket(")",{column:A.column+1,row:A.row});if(f!==null&&s.isAutoInsertedClosing(A,C,d))return s.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("parens","deletion",function(u,b,m,g,d){var $=g.doc.getTextRange(d);if(!d.isMultiLine()&&$=="("){e(m);var T=g.doc.getLine(d.start.row),A=T.substring(d.start.column+1,d.start.column+2);if(A==")")return d.end.column++,d}}),this.add("brackets","insertion",function(u,b,m,g,d){if(d=="["){e(m);var $=m.getSelectionRange(),T=g.doc.getTextRange($);if(T!==""&&m.getWrapBehavioursEnabled())return r($,T,"[","]");if(s.isSaneInsertion(m,g))return s.recordAutoInsert(m,g,"]"),{text:"[]",selection:[1,1]}}else if(d=="]"){e(m);var A=m.getCursorPosition(),C=g.doc.getLine(A.row),w=C.substring(A.column,A.column+1);if(w=="]"){var f=g.$findOpeningBracket("]",{column:A.column+1,row:A.row});if(f!==null&&s.isAutoInsertedClosing(A,C,d))return s.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("brackets","deletion",function(u,b,m,g,d){var $=g.doc.getTextRange(d);if(!d.isMultiLine()&&$=="["){e(m);var T=g.doc.getLine(d.start.row),A=T.substring(d.start.column+1,d.start.column+2);if(A=="]")return d.end.column++,d}}),this.add("string_dquotes","insertion",function(u,b,m,g,d){var $=g.$mode.$quotes||t;if(d.length==1&&$[d]){if(this.lineCommentStart&&this.lineCommentStart.indexOf(d)!=-1)return;e(m);var T=d,A=m.getSelectionRange(),C=g.doc.getTextRange(A);if(C!==""&&(C.length!=1||!$[C])&&m.getWrapBehavioursEnabled())return r(A,C,T,T);if(!C){var w=m.getCursorPosition(),f=g.doc.getLine(w.row),p=f.substring(w.column-1,w.column),h=f.substring(w.column,w.column+1),v=g.getTokenAt(w.row,w.column),y=g.getTokenAt(w.row,w.column+1);if(p=="\\"&&v&&/escape/.test(v.type))return null;var L=v&&/string|escape/.test(v.type),R=!y||/string|escape/.test(y.type),_;if(h==T)_=L!==R,_&&/string\.end/.test(y.type)&&(_=!1);else{if(L&&!R||L&&R)return null;var I=g.$mode.tokenRe;I.lastIndex=0;var N=I.test(p);I.lastIndex=0;var W=I.test(h),O=g.$mode.$pairQuotesAfter,D=O&&O[T]&&O[T].test(p);if(!D&&N||W||h&&!/[\s;,.})\]\\]/.test(h))return null;var F=f[w.column-2];if(p==T&&(F==T||I.test(F)))return null;_=!0}return{text:_?T+T:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(u,b,m,g,d){var $=g.$mode.$quotes||t,T=g.doc.getTextRange(d);if(!d.isMultiLine()&&$.hasOwnProperty(T)){e(m);var A=g.doc.getLine(d.start.row),C=A.substring(d.start.column+1,d.start.column+2);if(C==T)return d.end.column++,d}}),l.closeDocComment!==!1&&this.add("doc comment end","insertion",function(u,b,m,g,d){if(u==="doc-start"&&(d==="\n"||d==="\r\n")&&m.selection.isEmpty()){var $=m.getCursorPosition();if($.column===0)return;for(var T=g.doc.getLine($.row),A=g.doc.getLine($.row+1),C=g.getTokens($.row),w=0,f=0;f=$.column){if(w===$.column){if(!/\.doc/.test(p.type))return;if(/\*\//.test(p.value)){var h=C[f+1];if(!h||!/\.doc/.test(h.type))return}}var v=$.column-(w-p.value.length),y=p.value.indexOf("*/"),L=p.value.indexOf("/**",y>-1?y+2:0);if(L!==-1&&v>L&&v=y&&v<=L||!/\.doc/.test(p.type))return;break}}var R=this.$getIndent(T);if(/\s*\*/.test(A))return/^\s*\*/.test(T)?{text:d+R+"* ",selection:[1,2+R.length,1,2+R.length]}:{text:d+R+" * ",selection:[1,3+R.length,1,3+R.length]};if(/\/\*\*/.test(T.substring(0,$.column)))return{text:d+R+" * "+d+" "+R+"*/",selection:[1,4+R.length,1,4+R.length]}}})},s.isSaneInsertion=function(l,u){var b=l.getCursorPosition(),m=new S(u,b.row,b.column);if(!this.$matchTokenType(m.getCurrentToken()||"text",c)){if(/[)}\]]/.test(l.session.getLine(b.row)[b.column]))return!0;var g=new S(u,b.row,b.column+1);if(!this.$matchTokenType(g.getCurrentToken()||"text",c))return!1}return m.stepForward(),m.getCurrentTokenRow()!==b.row||this.$matchTokenType(m.getCurrentToken()||"text",o)},s.$matchTokenType=function(l,u){return u.indexOf(l.type||l)>-1},s.recordAutoInsert=function(l,u,b){var m=l.getCursorPosition(),g=u.doc.getLine(m.row);this.isAutoInsertedClosing(m,g,i.autoInsertedLineEnd[0])||(i.autoInsertedBrackets=0),i.autoInsertedRow=m.row,i.autoInsertedLineEnd=b+g.substr(m.column),i.autoInsertedBrackets++},s.recordMaybeInsert=function(l,u,b){var m=l.getCursorPosition(),g=u.doc.getLine(m.row);this.isMaybeInsertedClosing(m,g)||(i.maybeInsertedBrackets=0),i.maybeInsertedRow=m.row,i.maybeInsertedLineStart=g.substr(0,m.column)+b,i.maybeInsertedLineEnd=g.substr(m.column),i.maybeInsertedBrackets++},s.isAutoInsertedClosing=function(l,u,b){return i.autoInsertedBrackets>0&&l.row===i.autoInsertedRow&&b===i.autoInsertedLineEnd[0]&&u.substr(l.column)===i.autoInsertedLineEnd},s.isMaybeInsertedClosing=function(l,u){return i.maybeInsertedBrackets>0&&l.row===i.maybeInsertedRow&&u.substr(l.column)===i.maybeInsertedLineEnd&&u.substr(0,l.column)==i.maybeInsertedLineStart},s.popAutoInsertedClosing=function(){i.autoInsertedLineEnd=i.autoInsertedLineEnd.substr(1),i.autoInsertedBrackets--},s.clearMaybeInsertedClosing=function(){i&&(i.maybeInsertedBrackets=0,i.maybeInsertedRow=-1)},k.inherits(s,M),x.CstyleBehaviour=s}),ace.define("ace/unicode",["require","exports","module"],function(E,x,z){for(var k=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],M=0,S=[],a=0;a2?F%d!=d-1:F%d==0}}else{if(!this.blockComment)return!1;var T=this.blockComment.start,A=this.blockComment.end,C=new RegExp("^(\\s*)(?:"+o.escapeRegExp(T)+")"),w=new RegExp("(?:"+o.escapeRegExp(A)+")\\s*$"),f=function(_,I){h(_,I)||(!b||/\S/.test(_))&&(u.insertInLine({row:I,column:_.length},A),u.insertInLine({row:I,column:g},T))},p=function(_,I){var N;(N=_.match(w))&&u.removeInLine(I,_.length-N[0].length,_.length),(N=_.match(C))&&u.removeInLine(I,N[1].length,N[0].length)},h=function(_,I){if(C.test(_))return!0;for(var N=r.getTokens(I),W=0;W_.length&&(R=_.length)}),g==1/0&&(g=R,b=!1,m=!1),$&&g%d!=0&&(g=Math.floor(g/d)*d),L(m?p:f)},this.toggleBlockComment=function(e,r,s,l){var u=this.blockComment;if(u){!u.start&&u[0]&&(u=u[0]);var b=new i(r,l.row,l.column),m=b.getCurrentToken();r.selection;var g=r.selection.toOrientedRange(),d,$;if(m&&/comment/.test(m.type)){for(var T,A;m&&/comment/.test(m.type);){var C=m.value.indexOf(u.start);if(C!=-1){var w=b.getCurrentTokenRow(),f=b.getCurrentTokenColumn()+C;T=new n(w,f,w,f+u.start.length);break}m=b.stepBackward()}for(var b=new i(r,l.row,l.column),m=b.getCurrentToken();m&&/comment/.test(m.type);){var C=m.value.indexOf(u.end);if(C!=-1){var w=b.getCurrentTokenRow(),f=b.getCurrentTokenColumn()+C;A=new n(w,f,w,f+u.end.length);break}m=b.stepForward()}A&&r.remove(A),T&&(r.remove(T),d=T.start.row,$=-u.start.length)}else $=u.start.length,d=s.start.row,r.insert(s.end,u.end),r.insert(s.start,u.start);g.start.row==d&&(g.start.column+=$),g.end.row==d&&(g.end.column+=$),r.selection.fromOrientedRange(g)}},this.getNextLineIndent=function(e,r,s){return this.$getIndent(r)},this.checkOutdent=function(e,r,s){return!1},this.autoOutdent=function(e,r,s){},this.$getIndent=function(e){return e.match(/^\s*/)[0]},this.createWorker=function(e){return null},this.createModeDelegates=function(e){this.$embeds=[],this.$modes={};for(var r in e)if(e[r]){var s=e[r],l=s.prototype.$id,u=k.$modes[l];u||(k.$modes[l]=u=new s),k.$modes[r]||(k.$modes[r]=u),this.$embeds.push(r),this.$modes[r]=u}for(var b=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],m=function(d){(function($){var T=b[d],A=$[T];$[b[d]]=function(){return this.$delegator(T,arguments,A)}})(g)},g=this,r=0;rthis.row)){var n=c(i,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)}},o.prototype.setPosition=function(i,n,t){var e;if(t?e={row:i,column:n}:e=this.$clipPositionToDocument(i,n),!(this.row==e.row&&this.column==e.column)){var r={row:this.row,column:this.column};this.row=e.row,this.column=e.column,this._signal("change",{old:r,value:e})}},o.prototype.detach=function(){this.document.off("change",this.$onChange)},o.prototype.attach=function(i){this.document=i||this.document,this.document.on("change",this.$onChange)},o.prototype.$clipPositionToDocument=function(i,n){var t={};return i>=this.document.getLength()?(t.row=Math.max(0,this.document.getLength()-1),t.column=this.document.getLine(t.row).length):i<0?(t.row=0,t.column=0):(t.row=i,t.column=Math.min(this.document.getLine(t.row).length,Math.max(0,n))),n<0&&(t.column=0),t},o})();S.prototype.$insertRight=!1,k.implement(S.prototype,M);function a(o,i,n){var t=n?o.column<=i.column:o.column=e&&(n=e-1,t=void 0);var r=this.getLine(n);return t==null&&(t=r.length),t=Math.min(Math.max(t,0),r.length),{row:n,column:t}},i.prototype.clonePos=function(n){return{row:n.row,column:n.column}},i.prototype.pos=function(n,t){return{row:n,column:t}},i.prototype.$clipPosition=function(n){var t=this.getLength();return n.row>=t?(n.row=Math.max(0,t-1),n.column=this.getLine(t-1).length):(n.row=Math.max(0,n.row),n.column=Math.min(Math.max(n.column,0),this.getLine(n.row).length)),n},i.prototype.insertFullLines=function(n,t){n=Math.min(Math.max(n,0),this.getLength());var e=0;n0,r=t=0&&this.applyDelta({start:this.pos(n,this.getLine(n).length),end:this.pos(n+1,0),action:"remove",lines:["",""]})},i.prototype.replace=function(n,t){if(n instanceof a||(n=a.fromPoints(n.start,n.end)),t.length===0&&n.isEmpty())return n.start;if(t==this.getTextRange(n))return n.end;this.remove(n);var e;return t?e=this.insert(n.start,t):e=n.start,e},i.prototype.applyDeltas=function(n){for(var t=0;t=0;t--)this.revertDelta(n[t])},i.prototype.applyDelta=function(n,t){var e=n.action=="insert";(e?n.lines.length<=1&&!n.lines[0]:!a.comparePoints(n.start,n.end))||(e&&n.lines.length>2e4?this.$splitAndapplyLargeDelta(n,2e4):(M(this.$lines,n,t),this._signal("change",n)))},i.prototype.$safeApplyDelta=function(n){var t=this.$lines.length;(n.action=="remove"&&n.start.row20){i.running=setTimeout(i.$worker,20);break}}i.currentLine=t,e==-1&&(e=t),s<=e&&i.fireUpdateEvent(s,e)}}}return a.prototype.setTokenizer=function(c){this.tokenizer=c,this.lines=[],this.states=[],this.start(0)},a.prototype.setDocument=function(c){this.doc=c,this.lines=[],this.states=[],this.stop()},a.prototype.fireUpdateEvent=function(c,o){var i={first:c,last:o};this._signal("update",{data:i})},a.prototype.start=function(c){this.currentLine=Math.min(c||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},a.prototype.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},a.prototype.$updateOnChange=function(c){var o=c.start.row,i=c.end.row-o;if(i===0)this.lines[o]=null;else if(c.action=="remove")this.lines.splice(o,i+1,null),this.states.splice(o,i+1,null);else{var n=Array(i+1);n.unshift(o,1),this.lines.splice.apply(this.lines,n),this.states.splice.apply(this.states,n)}this.currentLine=Math.min(o,this.currentLine,this.doc.getLength()),this.stop()},a.prototype.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},a.prototype.getTokens=function(c){return this.lines[c]||this.$tokenizeRow(c)},a.prototype.getState=function(c){return this.currentLine==c&&this.$tokenizeRow(c),this.states[c]||"start"},a.prototype.$tokenizeRow=function(c){var o=this.doc.getLine(c),i=this.states[c-1],n=this.tokenizer.getLineTokens(o,i,c);return this.states[c]+""!=n.state+""?(this.states[c]=n.state,this.lines[c+1]=null,this.currentLine>c+1&&(this.currentLine=c+1)):this.currentLine==c&&(this.currentLine=c+1),this.lines[c]=n.tokens},a.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},a})();k.implement(S.prototype,M),x.BackgroundTokenizer=S}),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/range"],function(E,x,z){var k=E("./lib/lang"),M=E("./range").Range,S=(function(){function a(c,o,i){i===void 0&&(i="text"),this.setRegexp(c),this.clazz=o,this.type=i}return a.prototype.setRegexp=function(c){this.regExp+""!=c+""&&(this.regExp=c,this.cache=[])},a.prototype.update=function(c,o,i,n){if(this.regExp)for(var t=n.firstRow,e=n.lastRow,r={},s=t;s<=e;s++){var l=this.cache[s];l==null&&(l=k.getMatchOffsets(i.getLine(s),this.regExp),l.length>this.MAX_RANGES&&(l=l.slice(0,this.MAX_RANGES)),l=l.map(function(g){return new M(s,g.offset,s,g.offset+g.length)}),this.cache[s]=l.length?l:"");for(var u=l.length;u--;){var b=l[u].toScreenRange(i),m=b.toString();r[m]||(r[m]=!0,o.drawSingleLineMarker(c,b,this.clazz,n))}}},a})();S.prototype.MAX_RANGES=500,x.SearchHighlight=S}),ace.define("ace/undomanager",["require","exports","module","ace/range"],function(E,x,z){var k=(function(){function g(){this.$keepRedoStack,this.$maxRev=0,this.$fromUndo=!1,this.$undoDepth=1/0,this.reset()}return g.prototype.addSession=function(d){this.$session=d},g.prototype.add=function(d,$,T){if(!this.$fromUndo&&d!=this.$lastDelta){if(this.$keepRedoStack||(this.$redoStack.length=0),$===!1||!this.lastDeltas){this.lastDeltas=[];var A=this.$undoStack.length;A>this.$undoDepth-1&&this.$undoStack.splice(0,A-this.$undoDepth+1),this.$undoStack.push(this.lastDeltas),d.id=this.$rev=++this.$maxRev}(d.action=="remove"||d.action=="insert")&&(this.$lastDelta=d),this.lastDeltas.push(d)}},g.prototype.addSelection=function(d,$){this.selections.push({value:d,rev:$||this.$rev})},g.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},g.prototype.markIgnored=function(d,$){$==null&&($=this.$rev+1);for(var T=this.$undoStack,A=T.length;A--;){var C=T[A][0];if(C.id<=d)break;C.id<$&&(C.ignore=!0)}this.lastDeltas=null},g.prototype.getSelection=function(d,$){for(var T=this.selections,A=T.length;A--;){var C=T[A];if(C.rev0},g.prototype.canRedo=function(){return this.$redoStack.length>0},g.prototype.bookmark=function(d){d==null&&(d=this.$rev),this.mark=d},g.prototype.isAtBookmark=function(){return this.$rev===this.mark},g.prototype.toJSON=function(){return{$redoStack:this.$redoStack,$undoStack:this.$undoStack}},g.prototype.fromJSON=function(d){this.reset(),this.$undoStack=d.$undoStack,this.$redoStack=d.$redoStack},g.prototype.$prettyPrint=function(d){return d?i(d):i(this.$undoStack)+"\n---\n"+i(this.$redoStack)},g})();k.prototype.hasUndo=k.prototype.canUndo,k.prototype.hasRedo=k.prototype.canRedo,k.prototype.isClean=k.prototype.isAtBookmark,k.prototype.markClean=k.prototype.bookmark;function M(g,d){for(var $=d;$--;){var T=g[$];if(T&&!T[0].ignore){for(;$"+g.end.row+":"+g.end.column}function t(g,d){var $=g.action=="insert",T=d.action=="insert";if($&&T)if(a(d.start,g.end)>=0)s(d,g,-1);else if(a(d.start,g.start)<=0)s(g,d,1);else return null;else if($&&!T)if(a(d.start,g.end)>=0)s(d,g,-1);else if(a(d.end,g.start)<=0)s(g,d,-1);else return null;else if(!$&&T)if(a(d.start,g.start)>=0)s(d,g,1);else if(a(d.start,g.start)<=0)s(g,d,1);else return null;else if(!$&&!T)if(a(d.start,g.start)>=0)s(d,g,1);else if(a(d.end,g.start)<=0)s(g,d,-1);else return null;return[d,g]}function e(g,d){for(var $=g.length;$--;)for(var T=0;T=0?s(g,d,-1):(a(g.start,d.start)<=0||s(g,S.fromPoints(d.start,g.start),-1),s(d,g,1));else if(!$&&T)a(d.start,g.end)>=0?s(d,g,-1):(a(d.start,g.start)<=0||s(d,S.fromPoints(g.start,d.start),-1),s(g,d,1));else if(!$&&!T)if(a(d.start,g.end)>=0)s(d,g,-1);else if(a(d.end,g.start)<=0)s(g,d,-1);else{var A,C;return a(g.start,d.start)<0&&(A=g,g=u(g,d.start)),a(g.end,d.end)>0&&(C=u(g,d.end)),l(d.end,g.start,g.end,-1),C&&!A&&(g.lines=C.lines,g.start=C.start,g.end=C.end,C=g),[d,A,C].filter(Boolean)}return[d,g]}function s(g,d,$){l(g.start,d.start,d.end,$),l(g.end,d.start,d.end,$)}function l(g,d,$,T){g.row==(T==1?d:$).row&&(g.column+=T*($.column-d.column)),g.row+=T*($.row-d.row)}function u(g,d){var $=g.lines,T=g.end;g.end=c(d);var A=g.end.row-g.start.row,C=$.splice(A,$.length),w=A?d.column:d.column-g.start.column;$.push(C[0].substring(0,w)),C[0]=C[0].substr(w);var f={start:c(d),end:T,lines:C,action:g.action};return f}function b(g,d){d=o(d);for(var $=g.length;$--;){for(var T=g[$],A=0;Athis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(a),this.folds.sort(function(c,o){return-c.range.compareEnd(o.start.row,o.start.column)}),this.range.compareEnd(a.start.row,a.start.column)>0?(this.end.row=a.end.row,this.end.column=a.end.column):this.range.compareStart(a.end.row,a.end.column)<0&&(this.start.row=a.start.row,this.start.column=a.start.column)}else if(a.start.row==this.end.row)this.folds.push(a),this.end.row=a.end.row,this.end.column=a.end.column;else if(a.end.row==this.start.row)this.folds.unshift(a),this.start.row=a.start.row,this.start.column=a.start.column;else throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");a.foldLine=this},S.prototype.containsRow=function(a){return a>=this.start.row&&a<=this.end.row},S.prototype.walk=function(a,c,o){var i=0,n=this.folds,t,e,r,s=!0;c==null&&(c=this.end.row,o=this.end.column);for(var l=0;l0)){var s=M(c,e.start);return r===0?o&&s!==0?-t-2:t:s>0||s===0&&!o?t:-t-1}}return-t-1},a.prototype.add=function(c){var o=!c.isEmpty(),i=this.pointIndex(c.start,o);i<0&&(i=-i-1);var n=this.pointIndex(c.end,o,i);return n<0?n=-n-1:n++,this.ranges.splice(i,n-i,c)},a.prototype.addList=function(c){for(var o=[],i=c.length;i--;)o.push.apply(o,this.add(c[i]));return o},a.prototype.substractPoint=function(c){var o=this.pointIndex(c);if(o>=0)return this.ranges.splice(o,1)},a.prototype.merge=function(){var c=[],o=this.ranges;o=o.sort(function(r,s){return M(r.start,s.start)});for(var i=o[0],n,t=1;t=0},a.prototype.containsPoint=function(c){return this.pointIndex(c)>=0},a.prototype.rangeAtPoint=function(c){var o=this.pointIndex(c);if(o>=0)return this.ranges[o]},a.prototype.clipRows=function(c,o){var i=this.ranges;if(i[0].start.row>o||i[i.length-1].start.row=n)break}if(c.action=="insert")for(var u=t-n,b=-o.column+i.column;rn)break;if(l.start.row==n&&l.start.column>=o.column&&(l.start.column==o.column&&this.$bias<=0||(l.start.column+=b,l.start.row+=u)),l.end.row==n&&l.end.column>=o.column){if(l.end.column==o.column&&this.$bias<0)continue;l.end.column==o.column&&b>0&&rl.start.column&&l.end.column==e[r+1].start.column&&(l.end.column-=b),l.end.column+=b,l.end.row+=u}}else for(var u=n-t,b=o.column-i.column;rt)break;l.end.rowo.column)&&(l.end.column=o.column,l.end.row=o.row):(l.end.column+=b,l.end.row+=u):l.end.row>t&&(l.end.row+=u),l.start.rowo.column)&&(l.start.column=o.column,l.start.row=o.row):(l.start.column+=b,l.start.row+=u):l.start.row>t&&(l.start.row+=u)}if(u!=0&&r=i)return r;if(r.end.row>i)return null}return null},this.getNextFoldLine=function(i,n){var t=this.$foldData,e=0;for(n&&(e=t.indexOf(n)),e==-1&&(e=0),e;e=i)return r}return null},this.getFoldedRowCount=function(i,n){for(var t=this.$foldData,e=n-i+1,r=0;r=n){u=i?e-=n-u:e=0);break}else l>=i&&(u>=i?e-=l-u:e-=l-i+1)}return e},this.$addFoldLine=function(i){return this.$foldData.push(i),this.$foldData.sort(function(n,t){return n.start.row-t.start.row}),i},this.addFold=function(i,n){var t=this.$foldData,e=!1,r;i instanceof S?r=i:(r=new S(n,i),r.collapseChildren=n.collapseChildren),this.$clipRangeToDocument(r.range);var s=r.start.row,l=r.start.column,u=r.end.row,b=r.end.column,m=this.getFoldAt(s,l,1),g=this.getFoldAt(u,b,-1);if(m&&g==m)return m.addSubFold(r);m&&!m.range.isStart(s,l)&&this.removeFold(m),g&&!g.range.isEnd(u,b)&&this.removeFold(g);var d=this.getFoldsInRange(r.range);d.length>0&&(this.removeFolds(d),r.collapseChildren||d.forEach(function(C){r.addSubFold(C)}));for(var $=0;$0&&this.foldAll(i.start.row+1,i.end.row,i.collapseChildren-1),i.subFolds=[]},this.expandFolds=function(i){i.forEach(function(n){this.expandFold(n)},this)},this.unfold=function(i,n){var t,e;if(i==null)t=new k(0,0,this.getLength(),0),n==null&&(n=!0);else if(typeof i=="number")t=new k(i,0,i,this.getLine(i).length);else if("row"in i)t=k.fromPoints(i,i);else{if(Array.isArray(i))return e=[],i.forEach(function(s){e=e.concat(this.unfold(s))},this),e;t=i}e=this.getFoldsInRangeList(t);for(var r=e;e.length==1&&k.comparePoints(e[0].start,t.start)<0&&k.comparePoints(e[0].end,t.end)>0;)this.expandFolds(e),e=this.getFoldsInRangeList(t);if(n!=!1?this.removeFolds(e):this.expandFolds(e),r.length)return r},this.isRowFolded=function(i,n){return!!this.getFoldLine(i,n)},this.getRowFoldEnd=function(i,n){var t=this.getFoldLine(i,n);return t?t.end.row:i},this.getRowFoldStart=function(i,n){var t=this.getFoldLine(i,n);return t?t.start.row:i},this.getFoldDisplayLine=function(i,n,t,e,r){e==null&&(e=i.start.row),r==null&&(r=0),n==null&&(n=i.end.row),t==null&&(t=this.getLine(n).length);var s=this.doc,l="";return i.walk(function(u,b,m,g){if(!(bm)break;while(r&&l.test(r.type));r=e.stepBackward()}else r=e.getCurrentToken();return u.end.row=e.getCurrentTokenRow(),u.end.column=e.getCurrentTokenColumn(),u}},this.foldAll=function(i,n,t,e){t==null&&(t=1e5);var r=this.foldWidgets;if(r){n=n||this.getLength(),i=i||0;for(var s=i;s=i&&(s=l.end.row,l.collapseChildren=t,this.addFold("...",l))}}},this.foldToLevel=function(i){for(this.foldAll();i-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var i=this;this.foldAll(null,null,null,function(n){for(var t=i.getTokens(n),e=0;e=0;){var s=t[e];if(s==null&&(s=t[e]=this.getFoldWidget(e)),s=="start"){var l=this.getFoldWidgetRange(e);if(r||(r=l),l&&l.end.row>=i)break}e--}return{range:e!==-1&&l,firstRange:r}},this.onFoldWidgetClick=function(i,n){n instanceof c&&(n=n.domEvent);var t={children:n.shiftKey,all:n.ctrlKey||n.metaKey,siblings:n.altKey},e=this.$toggleFoldWidget(i,t);if(!e){var r=n.target||n.srcElement;r&&/ace_fold-widget/.test(r.className)&&(r.className+=" ace_invalid")}},this.$toggleFoldWidget=function(i,n){if(this.getFoldWidget){var t=this.getFoldWidget(i),e=this.getLine(i),r=t==="end"?-1:1,s=this.getFoldAt(i,r===-1?0:e.length,r);if(s)return n.children||n.all?this.removeFold(s):this.expandFold(s),s;var l=this.getFoldWidgetRange(i,!0);if(l&&!l.isMultiLine()&&(s=this.getFoldAt(l.start.row,l.start.column,1),s&&l.isEqual(s.range)))return this.removeFold(s),s;if(n.siblings){var u=this.getParentFoldRangeData(i);if(u.range)var b=u.range.start.row+1,m=u.range.end.row;this.foldAll(b,m,n.all?1e4:0)}else n.children?(m=l?l.end.row:this.getLength(),this.foldAll(i+1,m,n.all?1e4:0)):l&&(n.all&&(l.collapseChildren=1e4),this.addFold("...",l));return l}},this.toggleFoldWidget=function(i){var n=this.selection.getCursor().row;n=this.getRowFoldStart(n);var t=this.$toggleFoldWidget(n,{});if(!t){var e=this.getParentFoldRangeData(n,!0);if(t=e.range||e.firstRange,t){n=t.start.row;var r=this.getFoldAt(n,this.getLine(n).length,1);r?this.removeFold(r):this.addFold("...",t)}}},this.updateFoldWidgets=function(i){var n=i.start.row,t=i.end.row-n;if(t===0)this.foldWidgets[n]=null;else if(i.action=="remove")this.foldWidgets.splice(n,t+1,null);else{var e=Array(t+1);e.unshift(n,1),this.foldWidgets.splice.apply(this.foldWidgets,e)}},this.tokenizerUpdateFoldWidgets=function(i){var n=i.data;n.first!=n.last&&this.foldWidgets.length>n.first&&this.foldWidgets.splice(n.first,this.foldWidgets.length)}}x.Folding=o}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(E,x,z){var k=E("../token_iterator").TokenIterator,M=E("../range").Range;function S(){this.findMatchingBracket=function(a,c){if(a.column==0)return null;var o=c||this.getLine(a.row).charAt(a.column-1);if(o=="")return null;var i=o.match(/([\(\[\{])|([\)\]\}])/);return i?i[1]?this.$findClosingBracket(i[1],a):this.$findOpeningBracket(i[2],a):null},this.getBracketRange=function(a){var c=this.getLine(a.row),o=!0,i,n=c.charAt(a.column-1),t=n&&n.match(/([\(\[\{])|([\)\]\}])/);if(t||(n=c.charAt(a.column),a={row:a.row,column:a.column+1},t=n&&n.match(/([\(\[\{])|([\)\]\}])/),o=!1),!t)return null;if(t[1]){var e=this.$findClosingBracket(t[1],a);if(!e)return null;i=M.fromPoints(a,e),o||(i.end.column++,i.start.column--),i.cursor=i.end}else{var e=this.$findOpeningBracket(t[2],a);if(!e)return null;i=M.fromPoints(e,a),o||(i.start.column++,i.end.column--),i.cursor=i.start}return i},this.getMatchingBracketRanges=function(a,c){var o=this.getLine(a.row),i=/([\(\[\{])|([\)\]\}])/,n=!c&&o.charAt(a.column-1),t=n&&n.match(i);if(t||(n=(c===void 0||c)&&o.charAt(a.column),a={row:a.row,column:a.column+1},t=n&&n.match(i)),!t)return null;var e=new M(a.row,a.column-1,a.row,a.column),r=t[1]?this.$findClosingBracket(t[1],a):this.$findOpeningBracket(t[2],a);if(!r)return[e];var s=new M(r.row,r.column,r.row,r.column+1);return[e,s]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(a,c,o){var i=this.$brackets[a],n=1,t=new k(this,c.row,c.column),e=t.getCurrentToken();if(e||(e=t.stepForward()),!!e){o||(o=new RegExp("(\\.?"+e.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)").replace(/-close\b/,"-(close|open)")+")+"));for(var r=c.column-t.getCurrentTokenColumn()-2,s=e.value;;){for(;r>=0;){var l=s.charAt(r);if(l==i){if(n-=1,n==0)return{row:t.getCurrentTokenRow(),column:r+t.getCurrentTokenColumn()}}else l==a&&(n+=1);r-=1}do e=t.stepBackward();while(e&&!o.test(e.type));if(e==null)break;s=e.value,r=s.length-1}return null}},this.$findClosingBracket=function(a,c,o){var i=this.$brackets[a],n=1,t=new k(this,c.row,c.column),e=t.getCurrentToken();if(e||(e=t.stepForward()),!!e){o||(o=new RegExp("(\\.?"+e.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)").replace(/-open\b/,"-(close|open)")+")+"));for(var r=c.column-t.getCurrentTokenColumn();;){for(var s=e.value,l=s.length;r"?i=!0:c.type.indexOf("tag-name")!==-1&&(o=!0));while(c&&!o);return c},this.$findClosingTag=function(a,c){var o,i=c.value,n=c.value,t=0,e=new M(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);c=a.stepForward();var r=new M(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+c.value.length),s=!1;do{if(o=c,o.type.indexOf("tag-close")!==-1&&!s){var l=new M(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);s=!0}if(c=a.stepForward(),c){if(c.value===">"&&!s){var l=new M(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);s=!0}if(c.type.indexOf("tag-name")!==-1){if(i=c.value,n===i){if(o.value==="<")t++;else if(o.value==="")var m=new M(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);else return}}}else if(n===i&&c.value==="/>"&&(t--,t<0))var u=new M(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+2),b=u,m=b,l=new M(r.end.row,r.end.column,r.end.row,r.end.column+1)}}while(c&&t>=0);if(e&&l&&u&&m&&r&&b)return{openTag:new M(e.start.row,e.start.column,l.end.row,l.end.column),closeTag:new M(u.start.row,u.start.column,m.end.row,m.end.column),openTagName:r,closeTagName:b}},this.$findOpeningTag=function(a,c){var o=a.getCurrentToken(),i=c.value,n=0,t=a.getCurrentTokenRow(),e=a.getCurrentTokenColumn(),r=e+2,s=new M(t,e,t,r);a.stepForward();var l=new M(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+c.value.length);if(c.type.indexOf("tag-close")===-1&&(c=a.stepForward()),!(!c||c.value!==">")){var u=new M(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);a.stepBackward(),a.stepBackward();do if(c=o,t=a.getCurrentTokenRow(),e=a.getCurrentTokenColumn(),r=e+c.value.length,o=a.stepBackward(),c){if(c.type.indexOf("tag-name")!==-1){if(i===c.value)if(o.value==="<"){if(n++,n>0){var b=new M(t,e,t,r),m=new M(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);do c=a.stepForward();while(c&&c.value!==">");var g=new M(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1)}}else o.value===""){for(var d=0,$=o;$;){if($.type.indexOf("tag-name")!==-1&&$.value===i){n--;break}else if($.value==="<")break;$=a.stepBackward(),d++}for(var T=0;Th&&(this.$docRowCache.splice(h,p),this.$screenRowCache.splice(h,p))},w.prototype.$getRowCacheIndex=function(f,p){for(var h=0,v=f.length-1;h<=v;){var y=h+v>>1,L=f[y];if(p>L)h=y+1;else if(p=p));L++);return v=h[L],v?(v.index=L,v.start=y-v.value.length,v):null},w.prototype.setUndoManager=function(f){if(this.$undoManager=f,this.$informUndoManager&&this.$informUndoManager.cancel(),f){var p=this;f.addSession(this),this.$syncInformUndoManager=function(){p.$informUndoManager.cancel(),p.mergeUndoDeltas=!1},this.$informUndoManager=M.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},w.prototype.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},w.prototype.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},w.prototype.getTabString=function(){return this.getUseSoftTabs()?M.stringRepeat(" ",this.getTabSize()):" "},w.prototype.setUseSoftTabs=function(f){this.setOption("useSoftTabs",f)},w.prototype.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},w.prototype.setTabSize=function(f){this.setOption("tabSize",f)},w.prototype.getTabSize=function(){return this.$tabSize},w.prototype.isTabStop=function(f){return this.$useSoftTabs&&f.column%this.$tabSize===0},w.prototype.setNavigateWithinSoftTabs=function(f){this.setOption("navigateWithinSoftTabs",f)},w.prototype.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},w.prototype.setOverwrite=function(f){this.setOption("overwrite",f)},w.prototype.getOverwrite=function(){return this.$overwrite},w.prototype.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},w.prototype.addGutterDecoration=function(f,p){this.$decorations[f]||(this.$decorations[f]=""),this.$decorations[f]+=" "+p,this._signal("changeBreakpoint",{})},w.prototype.removeGutterDecoration=function(f,p){this.$decorations[f]=(this.$decorations[f]||"").replace(" "+p,""),this._signal("changeBreakpoint",{})},w.prototype.getBreakpoints=function(){return this.$breakpoints},w.prototype.setBreakpoints=function(f){this.$breakpoints=[];for(var p=0;p0&&(v=!!h.charAt(p-1).match(this.tokenRe)),v||(v=!!h.charAt(p).match(this.tokenRe)),v)var y=this.tokenRe;else if(/^\s+$/.test(h.slice(p-1,p+1)))var y=/\s/;else var y=this.nonTokenRe;var L=p;if(L>0){do L--;while(L>=0&&h.charAt(L).match(y));L++}for(var R=p;Rf&&(f=p.screenWidth)}),this.lineWidgetWidth=f},w.prototype.$computeWidth=function(f){if(this.$modified||f){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var p=this.doc.getAllLines(),h=this.$rowLengthCache,v=0,y=0,L=this.$foldData[y],R=L?L.start.row:1/0,_=p.length,I=0;I<_;I++){if(I>R){if(I=L.end.row+1,I>=_)break;L=this.$foldData[y++],R=L?L.start.row:1/0}h[I]==null&&(h[I]=this.$getStringScreenWidth(p[I])[0]),h[I]>v&&(v=h[I])}this.screenWidth=v}},w.prototype.getLine=function(f){return this.doc.getLine(f)},w.prototype.getLines=function(f,p){return this.doc.getLines(f,p)},w.prototype.getLength=function(){return this.doc.getLength()},w.prototype.getTextRange=function(f){return this.doc.getTextRange(f||this.selection.getRange())},w.prototype.insert=function(f,p){return this.doc.insert(f,p)},w.prototype.remove=function(f){return this.doc.remove(f)},w.prototype.removeFullLines=function(f,p){return this.doc.removeFullLines(f,p)},w.prototype.undoChanges=function(f,p){if(f.length){this.$fromUndo=!0;for(var h=f.length-1;h!=-1;h--){var v=f[h];v.action=="insert"||v.action=="remove"?this.doc.revertDelta(v):v.folds&&this.addFolds(v.folds)}!p&&this.$undoSelect&&(f.selectionBefore?this.selection.fromJSON(f.selectionBefore):this.selection.setRange(this.$getUndoSelection(f,!0))),this.$fromUndo=!1}},w.prototype.redoChanges=function(f,p){if(f.length){this.$fromUndo=!0;for(var h=0;hf.end.column&&(L.start.column+=_),L.end.row==f.end.row&&L.end.column>f.end.column&&(L.end.column+=_)),R&&L.start.row>=f.end.row&&(L.start.row+=R,L.end.row+=R)}if(L.end=this.insert(L.start,v),y.length){var I=f.start,N=L.start,R=N.row-I.row,_=N.column-I.column;this.addFolds(y.map(function(D){return D=D.clone(),D.start.row==I.row&&(D.start.column+=_),D.end.row==I.row&&(D.end.column+=_),D.start.row+=R,D.end.row+=R,D}))}return L},w.prototype.indentRows=function(f,p,h){h=h.replace(/\t/g,this.getTabString());for(var v=f;v<=p;v++)this.doc.insertInLine({row:v,column:0},h)},w.prototype.outdentRows=function(f){for(var p=f.collapseRows(),h=new n(0,0,0,0),v=this.getTabSize(),y=p.start.row;y<=p.end.row;++y){var L=this.getLine(y);h.start.row=y,h.end.row=y;for(var R=0;R0){var v=this.getRowFoldEnd(p+h);if(v>this.doc.getLength()-1)return 0;var y=v-p}else{f=this.$clipRowToDocument(f),p=this.$clipRowToDocument(p);var y=p-f+1}var L=new n(f,0,p,Number.MAX_VALUE),R=this.getFoldsInRange(L).map(function(I){return I=I.clone(),I.start.row+=y,I.end.row+=y,I}),_=h==0?this.doc.getLines(f,p):this.doc.removeFullLines(f,p);return this.doc.insertFullLines(f+y,_),R.length&&this.addFolds(R),y},w.prototype.moveLinesUp=function(f,p){return this.$moveLines(f,p,-1)},w.prototype.moveLinesDown=function(f,p){return this.$moveLines(f,p,1)},w.prototype.duplicateLines=function(f,p){return this.$moveLines(f,p,0)},w.prototype.$clipRowToDocument=function(f){return Math.max(0,Math.min(f,this.doc.getLength()-1))},w.prototype.$clipColumnToRow=function(f,p){return p<0?0:Math.min(this.doc.getLine(f).length,p)},w.prototype.$clipPositionToDocument=function(f,p){if(p=Math.max(0,p),f<0)f=0,p=0;else{var h=this.doc.getLength();f>=h?(f=h-1,p=this.doc.getLine(h-1).length):p=Math.min(this.doc.getLine(f).length,p)}return{row:f,column:p}},w.prototype.$clipRangeToDocument=function(f){f.start.row<0?(f.start.row=0,f.start.column=0):f.start.column=this.$clipColumnToRow(f.start.row,f.start.column);var p=this.doc.getLength()-1;return f.end.row>p?(f.end.row=p,f.end.column=this.doc.getLine(p).length):f.end.column=this.$clipColumnToRow(f.end.row,f.end.column),f},w.prototype.setUseWrapMode=function(f){if(f!=this.$useWrapMode){if(this.$useWrapMode=f,this.$modified=!0,this.$resetRowCache(0),f){var p=this.getLength();this.$wrapData=Array(p),this.$updateWrapData(0,p-1)}this._signal("changeWrapMode")}},w.prototype.getUseWrapMode=function(){return this.$useWrapMode},w.prototype.setWrapLimitRange=function(f,p){(this.$wrapLimitRange.min!==f||this.$wrapLimitRange.max!==p)&&(this.$wrapLimitRange={min:f,max:p},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},w.prototype.adjustWrapLimit=function(f,p){var h=this.$wrapLimitRange;h.max<0&&(h={min:p,max:p});var v=this.$constrainWrapLimit(f,h.min,h.max);return v!=this.$wrapLimit&&v>1?(this.$wrapLimit=v,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0):!1},w.prototype.$constrainWrapLimit=function(f,p,h){return p&&(f=Math.max(p,f)),h&&(f=Math.min(h,f)),f},w.prototype.getWrapLimit=function(){return this.$wrapLimit},w.prototype.setWrapLimit=function(f){this.setWrapLimitRange(f,f)},w.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},w.prototype.$updateInternalDataOnChange=function(f){var p=this.$useWrapMode,h=f.action,v=f.start,y=f.end,L=v.row,R=y.row,_=R-L,I=null;if(this.$updating=!0,_!=0)if(h==="remove"){this[p?"$wrapData":"$rowLengthCache"].splice(L,_);var N=this.$foldData;I=this.getFoldsInRange(f),this.removeFolds(I);var W=this.getFoldLine(y.row),O=0;if(W){W.addRemoveChars(y.row,y.column,v.column-y.column),W.shiftRow(-_);var D=this.getFoldLine(L);D&&D!==W&&(D.merge(W),W=D),O=N.indexOf(W)+1}for(O;O=y.row&&W.shiftRow(-_)}R=L}else{var F=Array(_);F.unshift(L,0);var H=p?this.$wrapData:this.$rowLengthCache;H.splice.apply(H,F);var N=this.$foldData,W=this.getFoldLine(L),O=0;if(W){var P=W.range.compareInside(v.row,v.column);P==0?(W=W.split(v.row,v.column),W&&(W.shiftRow(_),W.addRemoveChars(R,0,y.column-v.column))):P==-1&&(W.addRemoveChars(L,0,y.column-v.column),W.shiftRow(_)),O=N.indexOf(W)+1}for(O;O=L&&W.shiftRow(_)}}else{_=Math.abs(f.start.column-f.end.column),h==="remove"&&(I=this.getFoldsInRange(f),this.removeFolds(I),_=-_);var W=this.getFoldLine(L);W&&W.addRemoveChars(L,v.column,_)}return p&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,p?this.$updateWrapData(L,R):this.$updateRowLengthCache(L,R),I},w.prototype.$updateRowLengthCache=function(f,p){this.$rowLengthCache[f]=null,this.$rowLengthCache[p]=null},w.prototype.$updateWrapData=function(f,p){var h=this.doc.getAllLines(),v=this.getTabSize(),y=this.$wrapData,L=this.$wrapLimit,R,_,I=f;for(p=Math.min(p,h.length-1);I<=p;)_=this.getFoldLine(I,_),_?(R=[],_.walk((function(N,W,O,D){var F;if(N!=null){F=this.$getDisplayTokens(N,R.length),F[0]=m;for(var H=1;Hp-D;){var F=L+p-D;if(f[F-1]>=$&&f[F]>=$){O(F);continue}if(f[F]==m||f[F]==g){for(F;F!=L-1&&f[F]!=m;F--);if(F>L){O(F);continue}for(F=L+p,F;F>2)),L-1);F>H&&f[F]H&&f[F]H&&f[F]==d;)F--}else for(;F>H&&f[F]<$;)F--;if(F>H){O(++F);continue}F=L+p,f[F]==b&&F--,O(F-D)}return v},w.prototype.$getDisplayTokens=function(f,p){var h=[],v;p=p||0;for(var y=0;y39&&L<48||L>57&&L<64?h.push(d):L>=4352&&C(L)?h.push(u,b):h.push(u)}return h},w.prototype.$getStringScreenWidth=function(f,p,h){if(p==0)return[0,0];p==null&&(p=1/0),h=h||0;var v,y;for(y=0;y=4352&&C(v)?h+=2:h+=1,!(h>p));y++);return[h,y]},w.prototype.getRowLength=function(f){var p=1;return this.lineWidgets&&(p+=this.lineWidgets[f]&&this.lineWidgets[f].rowCount||0),!this.$useWrapMode||!this.$wrapData[f]?p:this.$wrapData[f].length+p},w.prototype.getRowLineCount=function(f){return!this.$useWrapMode||!this.$wrapData[f]?1:this.$wrapData[f].length+1},w.prototype.getRowWrapIndent=function(f){if(this.$useWrapMode){var p=this.screenToDocumentPosition(f,Number.MAX_VALUE),h=this.$wrapData[p.row];return h.length&&h[0]=0)var _=N[W],y=this.$docRowCache[W],D=f>N[O-1];else var D=!O;for(var F=this.getLength()-1,H=this.getNextFoldLine(y),P=H?H.start.row:1/0;_<=f&&(I=this.getRowLength(y),!(_+I>f||y>=F));)_+=I,y++,y>P&&(y=H.end.row+1,H=this.getNextFoldLine(y,H),P=H?H.start.row:1/0),D&&(this.$docRowCache.push(y),this.$screenRowCache.push(_));if(H&&H.start.row<=y)v=this.getFoldDisplayLine(H),y=H.start.row;else{if(_+I<=f||y>F)return{row:F,column:this.getLine(F).length};v=this.getLine(y),H=null}var U=0,j=Math.floor(f-_);if(this.$useWrapMode){var V=this.$wrapData[y];V&&(R=V[j],j>0&&V.length&&(U=V.indent,L=V[j-1]||V[V.length-1],v=v.substring(L)))}return h!==void 0&&this.$bidiHandler.isBidiRow(_+j,y,j)&&(p=this.$bidiHandler.offsetToCol(h)),L+=this.$getStringScreenWidth(v,p-U)[1],this.$useWrapMode&&L>=R&&(L=R-1),H?H.idxToPosition(L):{row:y,column:L}},w.prototype.documentToScreenPosition=function(f,p){if(typeof p>"u")var h=this.$clipPositionToDocument(f.row,f.column);else h=this.$clipPositionToDocument(f,p);f=h.row,p=h.column;var v=0,y=null,L=null;L=this.getFoldAt(f,p,1),L&&(f=L.start.row,p=L.start.column);var R,_=0,I=this.$docRowCache,N=this.$getRowCacheIndex(I,f),W=I.length;if(W&&N>=0)var _=I[N],v=this.$screenRowCache[N],O=f>I[W-1];else var O=!W;for(var D=this.getNextFoldLine(_),F=D?D.start.row:1/0;_=F){if(R=D.end.row+1,R>f)break;D=this.getNextFoldLine(R,D),F=D?D.start.row:1/0}else R=_+1;v+=this.getRowLength(_),_=R,O&&(this.$docRowCache.push(_),this.$screenRowCache.push(v))}var H="";D&&_>=F?(H=this.getFoldDisplayLine(D,f,p),y=D.start.row):(H=this.getLine(f).substring(0,p),y=f);var P=0;if(this.$useWrapMode){var U=this.$wrapData[y];if(U){for(var j=0;H.length>=U[j];)v++,j++;H=H.substring(U[j-1]||0,H.length),P=j>0?U.indent:0}}return this.lineWidgets&&this.lineWidgets[_]&&this.lineWidgets[_].rowsAbove&&(v+=this.lineWidgets[_].rowsAbove),{row:v,column:P+this.$getStringScreenWidth(H)[0]}},w.prototype.documentToScreenColumn=function(f,p){return this.documentToScreenPosition(f,p).column},w.prototype.documentToScreenRow=function(f,p){return this.documentToScreenPosition(f,p).row},w.prototype.getScreenLength=function(){var f=0,p=null;if(this.$useWrapMode)for(var y=this.$wrapData.length,L=0,v=0,p=this.$foldData[v++],R=p?p.start.row:1/0;LR&&(L=p.end.row+1,p=this.$foldData[v++],R=p?p.start.row:1/0)}else{f=this.getLength();for(var h=this.$foldData,v=0;vh));L++);return[v,L]})},w.prototype.getPrecedingCharacter=function(){var f=this.selection.getCursor();if(f.column===0)return f.row===0?"":this.doc.getNewLineCharacter();var p=this.getLine(f.row);return p[f.column-1]},w.prototype.destroy=function(){this.destroyed||(this.bgTokenizer.setDocument(null),this.bgTokenizer.cleanup(),this.destroyed=!0),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection.detach()},w})();l.$uid=0,l.prototype.$modes=a.$modes,l.prototype.getValue=l.prototype.toString,l.prototype.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},l.prototype.$overwrite=!1,l.prototype.$mode=null,l.prototype.$modeId=null,l.prototype.$scrollTop=0,l.prototype.$scrollLeft=0,l.prototype.$wrapLimit=80,l.prototype.$useWrapMode=!1,l.prototype.$wrapLimitRange={min:null,max:null},l.prototype.lineWidgets=null,l.prototype.isFullWidth=C,k.implement(l.prototype,c);var u=1,b=2,m=3,g=4,d=9,$=10,T=11,A=12;function C(w){return w<4352?!1:w>=4352&&w<=4447||w>=4515&&w<=4519||w>=4602&&w<=4607||w>=9001&&w<=9002||w>=11904&&w<=11929||w>=11931&&w<=12019||w>=12032&&w<=12245||w>=12272&&w<=12283||w>=12288&&w<=12350||w>=12353&&w<=12438||w>=12441&&w<=12543||w>=12549&&w<=12589||w>=12593&&w<=12686||w>=12688&&w<=12730||w>=12736&&w<=12771||w>=12784&&w<=12830||w>=12832&&w<=12871||w>=12880&&w<=13054||w>=13056&&w<=19903||w>=19968&&w<=42124||w>=42128&&w<=42182||w>=43360&&w<=43388||w>=44032&&w<=55203||w>=55216&&w<=55238||w>=55243&&w<=55291||w>=63744&&w<=64255||w>=65040&&w<=65049||w>=65072&&w<=65106||w>=65108&&w<=65126||w>=65128&&w<=65131||w>=65281&&w<=65376||w>=65504&&w<=65510}E("./edit_session/folding").Folding.call(l.prototype),E("./edit_session/bracket_match").BracketMatch.call(l.prototype),a.defineOptions(l.prototype,"session",{wrap:{set:function(w){if(!w||w=="off"?w=!1:w=="free"?w=!0:w=="printMargin"?w=-1:typeof w=="string"&&(w=parseInt(w,10)||!1),this.$wrap!=w)if(this.$wrap=w,!w)this.setUseWrapMode(!1);else{var f=typeof w=="number"?w:null;this.setWrapLimitRange(f,f),this.setUseWrapMode(!0)}},get:function(){return this.getUseWrapMode()?this.$wrap==-1?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(w){w=w=="auto"?this.$mode.type!="text":w!="text",w!=this.$wrapAsCode&&(this.$wrapAsCode=w,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(w){this.$useWorker=w,this.$stopWorker(),w&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(w){w=parseInt(w),w>0&&this.$tabSize!==w&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=w,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(w){this.setFoldStyle(w)},handlesSet:!0},overwrite:{set:function(w){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(w){this.doc.setNewLineMode(w)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(w){this.setMode(w)},get:function(){return this.$modeId},handlesSet:!0}}),x.EditSession=l}),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(E,x,z){var k=E("./lib/lang"),M=E("./lib/oop"),S=E("./range").Range,a=(function(){function o(){this.$options={}}return o.prototype.set=function(i){return M.mixin(this.$options,i),this},o.prototype.getOptions=function(){return k.copyObject(this.$options)},o.prototype.setOptions=function(i){this.$options=i},o.prototype.find=function(i){var n=this.$options,t=this.$matchIterator(i,n);if(!t)return!1;var e=null;return t.forEach(function(r,s,l,u){return e=new S(r,s,l,u),s==u&&n.start&&n.start.start&&n.skipCurrent!=!1&&e.isEqual(n.start)?(e=null,!1):!0}),e},o.prototype.findAll=function(i){var n=this.$options;if(!n.needle)return[];this.$assembleRegExp(n);var t=n.range,e=t?i.getLines(t.start.row,t.end.row):i.doc.getAllLines(),r=[],s=n.re;if(n.$isMultiLine){var l=s.length,u=e.length-l,b;e:for(var m=s.offset||0;m<=u;m++){for(var g=0;gT||(r.push(b=new S(m,T,m+l-1,A)),l>2&&(m=m+l-2))}}else for(var C=0;Ch&&r[g].end.row==v;)g--;for(r=r.slice(C,g+1),C=0,g=r.length;C=b;A--)if($(A,Number.MAX_VALUE,T))return;if(n.wrap!=!1){for(A=m,b=u.row;A>=b;A--)if($(A,Number.MAX_VALUE,T))return}}};else var g=function(A){var C=u.row;if(!$(C,u.column,A)){for(C=C+1;C<=m;C++)if($(C,0,A))return;if(n.wrap!=!1){for(C=b,m=u.row;C<=m;C++)if($(C,0,A))return}}};if(n.$isMultiLine)var d=t.length,$=function(T,A,C){var w=e?T-d+1:T;if(!(w<0||w+d>i.getLength())){var f=i.getLine(w),p=f.search(t[0]);if(!(!e&&pA)&&C(w,p,w+d-1,v))return!0}}};else if(e)var $=function(A,C,w){var f=i.getLine(A),p=[],h,v=0;for(t.lastIndex=0;h=t.exec(f);){var y=h[0].length;if(v=h.index,!y){if(v>=f.length)break;t.lastIndex=v+=k.skipEmptyMatch(f,v,s)}if(h.index+y>C)break;p.push(h.index,y)}for(var L=p.length-1;L>=0;L-=2){var R=p[L-1],y=p[L];if(w(A,R,A,R+y))return!0}};else var $=function(A,C,w){var f=i.getLine(A),p,h;for(t.lastIndex=C;h=t.exec(f);){var v=h[0].length;if(p=h.index,w(A,p,A,p+v))return!0;if(!v&&(t.lastIndex=p+=k.skipEmptyMatch(f,p,s),p>=f.length))return!1}};return{forEach:g}},o})();function c(o,i){var n=k.supportsLookbehind();function t(l,u){u===void 0&&(u=!0);var b=n&&i.$supportsUnicodeFlag?new RegExp("[\\p{L}\\p{N}_]","u"):new RegExp("\\w");return b.test(l)||i.regExp?n&&i.$supportsUnicodeFlag?u?"(?<=^|[^\\p{L}\\p{N}_])":"(?=[^\\p{L}\\p{N}_]|$)":"\\b":""}var e=Array.from(o),r=e[0],s=e[e.length-1];return t(r)+o+t(s,!1)}x.Search=a}),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(E,x,z){var k=this&&this.__extends||(function(){var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,s){r.__proto__=s}||function(r,s){for(var l in s)Object.prototype.hasOwnProperty.call(s,l)&&(r[l]=s[l])},n(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),M=E("../lib/keys"),S=E("../lib/useragent"),a=M.KEY_MODS,c=(function(){function n(t,e){this.$init(t,e,!1)}return n.prototype.$init=function(t,e,r){this.platform=e||(S.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(t),this.$singleCommand=r},n.prototype.addCommand=function(t){this.commands[t.name]&&this.removeCommand(t),this.commands[t.name]=t,t.bindKey&&this._buildKeyHash(t)},n.prototype.removeCommand=function(t,e){var r=t&&(typeof t=="string"?t:t.name);t=this.commands[r],e||delete this.commands[r];var s=this.commandKeyBinding;for(var l in s){var u=s[l];if(u==t)delete s[l];else if(Array.isArray(u)){var b=u.indexOf(t);b!=-1&&(u.splice(b,1),u.length==1&&(s[l]=u[0]))}}},n.prototype.bindKey=function(t,e,r){if(typeof t=="object"&&t&&(r==null&&(r=t.position),t=t[this.platform]),!!t){if(typeof e=="function")return this.addCommand({exec:e,bindKey:t,name:e.name||t});t.split("|").forEach(function(s){var l="";if(s.indexOf(" ")!=-1){var u=s.split(/\s+/);s=u.pop(),u.forEach(function(g){var d=this.parseKeys(g),$=a[d.hashId]+d.key;l+=(l?" ":"")+$,this._addCommandToBinding(l,"chainKeys")},this),l+=" "}var b=this.parseKeys(s),m=a[b.hashId]+b.key;this._addCommandToBinding(l+m,e,r)},this)}},n.prototype._addCommandToBinding=function(t,e,r){var s=this.commandKeyBinding,l;if(!e)delete s[t];else if(!s[t]||this.$singleCommand)s[t]=e;else{Array.isArray(s[t])?(l=s[t].indexOf(e))!=-1&&s[t].splice(l,1):s[t]=[s[t]],typeof r!="number"&&(r=o(e));var u=s[t];for(l=0;lr)break}u.splice(l,0,e)}},n.prototype.addCommands=function(t){t&&Object.keys(t).forEach(function(e){var r=t[e];if(r){if(typeof r=="string")return this.bindKey(r,e);typeof r=="function"&&(r={exec:r}),typeof r=="object"&&(r.name||(r.name=e),this.addCommand(r))}},this)},n.prototype.removeCommands=function(t){Object.keys(t).forEach(function(e){this.removeCommand(t[e])},this)},n.prototype.bindKeys=function(t){Object.keys(t).forEach(function(e){this.bindKey(e,t[e])},this)},n.prototype._buildKeyHash=function(t){this.bindKey(t.bindKey,t)},n.prototype.parseKeys=function(t){var e=t.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(m){return m}),r=e.pop(),s=M[r];if(M.FUNCTION_KEYS[s])r=M.FUNCTION_KEYS[s].toLowerCase();else if(e.length){if(e.length==1&&e[0]=="shift")return{key:r.toUpperCase(),hashId:-1}}else return{key:r,hashId:-1};for(var l=0,u=e.length;u--;){var b=M.KEY_MODS[e[u]];if(b==null)return typeof console<"u"&&console.error("invalid modifier "+e[u]+" in "+t),!1;l|=b}return{key:r,hashId:l}},n.prototype.findKeyCommand=function(t,e){var r=a[t]+e;return this.commandKeyBinding[r]},n.prototype.handleKeyboard=function(t,e,r,s){if(!(s<0)){var l=a[e]+r,u=this.commandKeyBinding[l];return t.$keyChain&&(t.$keyChain+=" "+l,u=this.commandKeyBinding[t.$keyChain]||u),u&&(u=="chainKeys"||u[u.length-1]=="chainKeys")?(t.$keyChain=t.$keyChain||l,{command:"null"}):(t.$keyChain&&((!e||e==4)&&r.length==1?t.$keyChain=t.$keyChain.slice(0,-l.length-1):(e==-1||s>0)&&(t.$keyChain="")),{command:u})}},n.prototype.getStatusText=function(t,e){return e.$keyChain||""},n})();function o(n){return typeof n=="object"&&n.bindKey&&n.bindKey.position||(n.isDefault?-100:0)}var i=(function(n){k(t,n);function t(e,r){var s=n.call(this,e,r)||this;return s.$singleCommand=!0,s}return t})(c);i.call=function(n,t,e){c.prototype.$init.call(n,t,e,!0)},c.call=function(n,t,e){c.prototype.$init.call(n,t,e,!1)},x.HashHandler=i,x.MultiHashHandler=c}),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(E,x,z){var k=this&&this.__extends||(function(){var o=function(i,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},o(i,n)};return function(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");o(i,n);function t(){this.constructor=i}i.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}})(),M=E("../lib/oop"),S=E("../keyboard/hash_handler").MultiHashHandler,a=E("../lib/event_emitter").EventEmitter,c=(function(o){k(i,o);function i(n,t){var e=o.call(this,t,n)||this;return e.byName=e.commands,e.setDefaultHandler("exec",function(r){return r.args?r.command.exec(r.editor,r.args,r.event,!1):r.command.exec(r.editor,{},r.event,!0)}),e}return i.prototype.exec=function(n,t,e){if(Array.isArray(n)){for(var r=n.length;r--;)if(this.exec(n[r],t,e))return!0;return!1}if(typeof n=="string"&&(n=this.commands[n]),!this.canExecute(n,t))return!1;var s={editor:t,command:n,args:e};return s.returnValue=this._emit("exec",s),this._signal("afterExec",s),s.returnValue!==!1},i.prototype.canExecute=function(n,t){return typeof n=="string"&&(n=this.commands[n]),!(!n||t&&t.$readOnly&&!n.readOnly||this.$checkCommandState!=!1&&n.isAvailable&&!n.isAvailable(t))},i.prototype.toggleRecording=function(n){if(!this.$inReplay)return n&&n._emit("changeStatus"),this.recording?(this.macro.pop(),this.off("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=(function(t){this.macro.push([t.command,t.args])}).bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},i.prototype.replay=function(n){if(!(this.$inReplay||!this.macro)){if(this.recording)return this.toggleRecording(n);try{this.$inReplay=!0,this.macro.forEach(function(t){typeof t=="string"?this.exec(t,n):this.exec(t[0],n,t[1])},this)}finally{this.$inReplay=!1}}},i.prototype.trimMacro=function(n){return n.map(function(t){return typeof t[0]!="string"&&(t[0]=t[0].name),t[1]||(t=t[0]),t})},i})(S);M.implement(c.prototype,a),x.CommandManager=c}),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],function(E,x,z){var k=E("../lib/lang"),M=E("../config"),S=E("../range").Range;function a(o,i){return{win:o,mac:i}}x.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:a("Ctrl-,","Command-,"),exec:function(o){M.loadModule("ace/ext/settings_menu",function(i){i.init(o),o.showSettingsMenu()})},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:a("Alt-E","F4"),exec:function(o){M.loadModule("ace/ext/error_marker",function(i){i.showErrorMarker(o,1)})},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:a("Alt-Shift-E","Shift-F4"),exec:function(o){M.loadModule("ace/ext/error_marker",function(i){i.showErrorMarker(o,-1)})},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:a("Ctrl-A","Command-A"),exec:function(o){o.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:a(null,"Ctrl-L"),exec:function(o){o.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:a("Ctrl-L","Command-L"),exec:function(o,i){typeof i=="number"&&!isNaN(i)&&o.gotoLine(i),o.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:a("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(o){o.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:a("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(o){o.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:a("F2","F2"),exec:function(o){o.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:a("Alt-F2","Alt-F2"),exec:function(o){o.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:a(null,"Ctrl-Command-Option-0"),exec:function(o){o.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:a(null,"Ctrl-Command-Option-0"),exec:function(o){o.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:a("Alt-0","Command-Option-0"),exec:function(o){o.session.foldAll(),o.session.unfold(o.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:a("Alt-Shift-0","Command-Option-Shift-0"),exec:function(o){o.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:a("Ctrl-K","Command-G"),exec:function(o){o.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:a("Ctrl-Shift-K","Command-Shift-G"),exec:function(o){o.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:a("Alt-K","Ctrl-G"),exec:function(o){o.selection.isEmpty()?o.selection.selectWord():o.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:a("Alt-Shift-K","Ctrl-Shift-G"),exec:function(o){o.selection.isEmpty()?o.selection.selectWord():o.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:a("Ctrl-F","Command-F"),exec:function(o){M.loadModule("ace/ext/searchbox",function(i){i.Search(o)})},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(o){o.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:a("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(o){o.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:a("Ctrl-Home","Command-Home|Command-Up"),exec:function(o){o.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:a("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(o){o.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:a("Up","Up|Ctrl-P"),exec:function(o,i){o.navigateUp(i.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:a("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(o){o.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:a("Ctrl-End","Command-End|Command-Down"),exec:function(o){o.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:a("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(o){o.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:a("Down","Down|Ctrl-N"),exec:function(o,i){o.navigateDown(i.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:a("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(o){o.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:a("Ctrl-Left","Option-Left"),exec:function(o){o.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:a("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(o){o.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:a("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(o){o.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:a("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(o){o.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:a("Left","Left|Ctrl-B"),exec:function(o,i){o.navigateLeft(i.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:a("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(o){o.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:a("Ctrl-Right","Option-Right"),exec:function(o){o.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:a("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(o){o.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:a("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(o){o.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:a("Shift-Right","Shift-Right"),exec:function(o){o.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:a("Right","Right|Ctrl-F"),exec:function(o,i){o.navigateRight(i.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(o){o.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:a(null,"Option-PageDown"),exec:function(o){o.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:a("PageDown","PageDown|Ctrl-V"),exec:function(o){o.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(o){o.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:a(null,"Option-PageUp"),exec:function(o){o.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(o){o.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:a("Ctrl-Up",null),exec:function(o){o.renderer.scrollBy(0,-2*o.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:a("Ctrl-Down",null),exec:function(o){o.renderer.scrollBy(0,2*o.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(o){o.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(o){o.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:a("Ctrl-Alt-E","Command-Option-E"),exec:function(o){o.commands.toggleRecording(o)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:a("Ctrl-Shift-E","Command-Shift-E"),exec:function(o){o.commands.replay(o)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:a("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(o){o.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:a("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(o){o.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:a("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(o){o.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:a(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(o){},readOnly:!0},{name:"cut",description:"Cut",exec:function(o){var i=o.$copyWithEmptySelection&&o.selection.isEmpty(),n=i?o.selection.getLineRange():o.selection.getRange();o._emit("cut",n),n.isEmpty()||o.session.remove(n),o.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(o,i){o.$handlePaste(i)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:a("Ctrl-D","Command-D"),exec:function(o){o.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:a("Ctrl-Shift-D","Command-Shift-D"),exec:function(o){o.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:a("Ctrl-Alt-S","Command-Alt-S"),exec:function(o){o.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:a("Ctrl-/","Command-/"),exec:function(o){o.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:a("Ctrl-Shift-/","Command-Shift-/"),exec:function(o){o.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:a("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(o){o.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:a("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(o){o.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:a("Ctrl-H","Command-Option-F"),exec:function(o){M.loadModule("ace/ext/searchbox",function(i){i.Search(o,!0)})}},{name:"undo",description:"Undo",bindKey:a("Ctrl-Z","Command-Z"),exec:function(o){o.undo()}},{name:"redo",description:"Redo",bindKey:a("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(o){o.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:a("Alt-Shift-Up","Command-Option-Up"),exec:function(o){o.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:a("Alt-Up","Option-Up"),exec:function(o){o.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:a("Alt-Shift-Down","Command-Option-Down"),exec:function(o){o.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:a("Alt-Down","Option-Down"),exec:function(o){o.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:a("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(o){o.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:a("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(o){o.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:a("Shift-Delete",null),exec:function(o){if(o.selection.isEmpty())o.remove("left");else return!1},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:a("Alt-Backspace","Command-Backspace"),exec:function(o){o.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:a("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(o){o.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:a("Ctrl-Shift-Backspace",null),exec:function(o){var i=o.selection.getRange();i.start.column=0,o.session.remove(i)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:a("Ctrl-Shift-Delete",null),exec:function(o){var i=o.selection.getRange();i.end.column=Number.MAX_VALUE,o.session.remove(i)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:a("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(o){o.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:a("Ctrl-Delete","Alt-Delete"),exec:function(o){o.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:a("Shift-Tab","Shift-Tab"),exec:function(o){o.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:a("Tab","Tab"),exec:function(o){o.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:a("Ctrl-[","Ctrl-["),exec:function(o){o.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:a("Ctrl-]","Ctrl-]"),exec:function(o){o.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(o,i){o.insert(i)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(o,i){o.insert(k.stringRepeat(i.text||"",i.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:a(null,"Ctrl-O"),exec:function(o){o.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:a("Alt-Shift-X","Ctrl-T"),exec:function(o){o.transposeLetters()},multiSelectAction:function(o){o.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:a("Ctrl-U","Ctrl-U"),exec:function(o){o.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:a("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(o){o.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:a(null,null),exec:function(o){o.autoIndent()},scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:a("Ctrl-Shift-L","Command-Shift-L"),exec:function(o){var i=o.selection.getRange();i.start.column=i.end.column=0,i.end.row++,o.selection.setRange(i,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"openlink",bindKey:a("Ctrl+F3","F3"),exec:function(o){o.openLink()}},{name:"joinlines",description:"Join lines",bindKey:a(null,null),exec:function(o){for(var i=o.selection.isBackwards(),n=i?o.selection.getSelectionLead():o.selection.getSelectionAnchor(),t=i?o.selection.getSelectionAnchor():o.selection.getSelectionLead(),e=o.session.doc.getLine(n.row).length,r=o.session.doc.getTextRange(o.selection.getRange()),s=r.replace(/\n\s*/," ").length,l=o.session.doc.getLine(n.row),u=n.row+1;u<=t.row+1;u++){var b=k.stringTrimLeft(k.stringTrimRight(o.session.doc.getLine(u)));b.length!==0&&(b=" "+b),l+=b}t.row+10?(o.selection.moveCursorTo(n.row,n.column),o.selection.selectTo(n.row,n.column+s)):(e=o.session.doc.getLine(n.row).length>e?e+1:e,o.selection.moveCursorTo(n.row,e))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:a(null,null),exec:function(o){var i=o.session.doc.getLength()-1,n=o.session.doc.getLine(i).length,t=o.selection.rangeList.ranges,e=[];t.length<1&&(t=[o.selection.getRange()]);for(var r=0;rc[o].column&&o++,t.unshift(o,0),c.splice.apply(c,t),this.$updateRows()}}},S.prototype.$updateRows=function(){var a=this.session.lineWidgets;if(a){var c=!0;a.forEach(function(o,i){if(o)for(c=!1,o.row=i;o.$oldWidget;)o.$oldWidget.row=i,o=o.$oldWidget}),c&&(this.session.lineWidgets=null)}},S.prototype.$registerLineWidget=function(a){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var c=this.session.lineWidgets[a.row];return c&&(a.$oldWidget=c,c.el&&c.el.parentNode&&(c.el.parentNode.removeChild(c.el),c._inDocument=!1)),this.session.lineWidgets[a.row]=a,a},S.prototype.addLineWidget=function(a){if(this.$registerLineWidget(a),a.session=this.session,!this.editor)return a;var c=this.editor.renderer;a.html&&!a.el&&(a.el=k.createElement("div"),a.el.innerHTML=a.html),a.text&&!a.el&&(a.el=k.createElement("div"),a.el.textContent=a.text),a.el&&(k.addCssClass(a.el,"ace_lineWidgetContainer"),a.className&&k.addCssClass(a.el,a.className),a.el.style.position="absolute",a.el.style.zIndex="5",c.container.appendChild(a.el),a._inDocument=!0,a.coverGutter||(a.el.style.zIndex="3"),a.pixelHeight==null&&(a.pixelHeight=a.el.offsetHeight)),a.rowCount==null&&(a.rowCount=a.pixelHeight/c.layerConfig.lineHeight);var o=this.session.getFoldAt(a.row,0);if(a.$fold=o,o){var i=this.session.lineWidgets;a.row==o.end.row&&!i[o.start.row]?i[o.start.row]=a:a.hidden=!0}return this.session._emit("changeFold",{data:{start:{row:a.row}}}),this.$updateRows(),this.renderWidgets(null,c),this.onWidgetChanged(a),a},S.prototype.removeLineWidget=function(a){if(a._inDocument=!1,a.session=null,a.el&&a.el.parentNode&&a.el.parentNode.removeChild(a.el),a.editor&&a.editor.destroy)try{a.editor.destroy()}catch(o){}if(this.session.lineWidgets){var c=this.session.lineWidgets[a.row];if(c==a)this.session.lineWidgets[a.row]=a.$oldWidget,a.$oldWidget&&this.onWidgetChanged(a.$oldWidget);else for(;c;){if(c.$oldWidget==a){c.$oldWidget=a.$oldWidget;break}c=c.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:a.row}}}),this.$updateRows()},S.prototype.getWidgetsAtRow=function(a){for(var c=this.session.lineWidgets,o=c&&c[a],i=[];o;)i.push(o),o=o.$oldWidget;return i},S.prototype.onWidgetChanged=function(a){this.session._changedWidgets.push(a),this.editor&&this.editor.renderer.updateFull()},S.prototype.measureWidgets=function(a,c){var o=this.session._changedWidgets,i=c.layerConfig;if(!(!o||!o.length)){for(var n=1/0,t=0;t0&&!i[n];)n--;this.firstRow=o.firstRow,this.lastRow=o.lastRow,c.$cursorLayer.config=o;for(var e=n;e<=t;e++){var r=i[e];if(!(!r||!r.el)){if(r.hidden){r.el.style.top=-100-(r.pixelHeight||0)+"px";continue}r._inDocument||(r._inDocument=!0,c.container.appendChild(r.el));var s=c.$cursorLayer.getPixelPosition({row:e,column:0},!0).top;r.coverLine||(s+=o.lineHeight*this.session.getRowLineCount(r.row)),r.el.style.top=s-o.offset+"px";var l=r.coverGutter?0:c.gutterWidth;r.fixedWidth||(l-=c.scrollLeft),r.el.style.left=l+"px",r.fullWidth&&r.screenWidth&&(r.el.style.minWidth=o.width+2*o.padding+"px"),r.fixedWidth?r.el.style.right=c.scrollBar.getWidth()+"px":r.el.style.right=""}}}},S})();x.LineWidgets=M}),ace.define("ace/keyboard/gutter_handler",["require","exports","module","ace/lib/keys","ace/mouse/default_gutter_handler"],function(E,x,z){var k=E("../lib/keys"),M=E("../mouse/default_gutter_handler").GutterTooltip,S=(function(){function c(o){this.editor=o,this.gutterLayer=o.renderer.$gutterLayer,this.element=o.renderer.$gutter,this.lines=o.renderer.$gutterLayer.$lines,this.activeRowIndex=null,this.activeLane=null,this.annotationTooltip=new M(this.editor)}return c.prototype.addListener=function(){this.element.addEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.addEventListener("focusout",this.$blurGutter.bind(this)),this.editor.on("mousewheel",this.$blurGutter.bind(this))},c.prototype.removeListener=function(){this.element.removeEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.removeEventListener("focusout",this.$blurGutter.bind(this)),this.editor.off("mousewheel",this.$blurGutter.bind(this))},c.prototype.$onGutterKeyDown=function(o){if(this.annotationTooltip.isOpen){o.preventDefault(),o.keyCode===k.escape&&this.annotationTooltip.hideTooltip();return}if(o.target===this.element){if(o.keyCode!=k.enter)return;o.preventDefault();var i=this.editor.getCursorPosition().row;this.editor.isRowVisible(i)||this.editor.scrollToLine(i,!0,!0),setTimeout((function(){var n=this.$rowToRowIndex(this.gutterLayer.$cursorCell.row),t=this.$findNearestFoldWidget(n),e=this.$findNearestAnnotation(n);if(!(t===null&&e===null)){if(t===null&&e!==null){this.activeRowIndex=e,this.activeLane="annotation",this.$focusAnnotation(this.activeRowIndex);return}if(t!==null&&e===null){this.activeRowIndex=t,this.activeLane="fold",this.$focusFoldWidget(this.activeRowIndex);return}if(Math.abs(e-n)0||o+i=0&&this.$isFoldWidgetVisible(o-i))return o-i;if(o+i<=this.lines.getLength()-1&&this.$isFoldWidgetVisible(o+i))return o+i}return null},c.prototype.$findNearestAnnotation=function(o){if(this.$isAnnotationVisible(o))return o;for(var i=0;o-i>0||o+i=0&&this.$isAnnotationVisible(o-i))return o-i;if(o+i<=this.lines.getLength()-1&&this.$isAnnotationVisible(o+i))return o+i}return null},c.prototype.$focusFoldWidget=function(o){if(o!=null){var i=this.$getFoldWidget(o);i.classList.add(this.editor.renderer.keyboardFocusClassName),i.focus()}},c.prototype.$focusAnnotation=function(o){if(o!=null){var i=this.$getAnnotation(o);i.classList.add(this.editor.renderer.keyboardFocusClassName),i.focus()}},c.prototype.$blurFoldWidget=function(o){var i=this.$getFoldWidget(o);i.classList.remove(this.editor.renderer.keyboardFocusClassName),i.blur()},c.prototype.$blurAnnotation=function(o){var i=this.$getAnnotation(o);i.classList.remove(this.editor.renderer.keyboardFocusClassName),i.blur()},c.prototype.$moveFoldWidgetUp=function(){for(var o=this.activeRowIndex;o>0;)if(o--,this.$isFoldWidgetVisible(o)){this.$blurFoldWidget(this.activeRowIndex),this.activeRowIndex=o,this.$focusFoldWidget(this.activeRowIndex);return}},c.prototype.$moveFoldWidgetDown=function(){for(var o=this.activeRowIndex;o0;)if(o--,this.$isAnnotationVisible(o)){this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=o,this.$focusAnnotation(this.activeRowIndex);return}},c.prototype.$moveAnnotationDown=function(){for(var o=this.activeRowIndex;o=p.length&&(p=void 0),{value:p&&p[y++],done:!p}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")},M=E("./lib/oop"),S=E("./lib/dom"),a=E("./lib/lang"),c=E("./lib/useragent"),o=E("./keyboard/textinput").TextInput,i=E("./mouse/mouse_handler").MouseHandler,n=E("./mouse/fold_handler").FoldHandler,t=E("./keyboard/keybinding").KeyBinding,e=E("./edit_session").EditSession,r=E("./search").Search,s=E("./range").Range,l=E("./lib/event_emitter").EventEmitter,u=E("./commands/command_manager").CommandManager,b=E("./commands/default_commands").commands,m=E("./config"),g=E("./token_iterator").TokenIterator,d=E("./line_widgets").LineWidgets,$=E("./keyboard/gutter_handler").GutterKeyboardHandler,T=E("./config").nls,A=E("./clipboard"),C=E("./lib/keys"),w=(function(){function p(h,v,y){this.session,this.$toDestroy=[];var L=h.getContainerElement();this.container=L,this.renderer=h,this.id="editor"+ ++p.$uid,this.commands=new u(c.isMac?"mac":"win",b),typeof document=="object"&&(this.textInput=new o(h.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new i(this),new n(this)),this.keyBinding=new t(this),this.$search=new r().set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=a.delayedCall((function(){this._signal("input",{}),this.session&&!this.session.destroyed&&this.session.bgTokenizer.scheduleStart()}).bind(this)),this.on("change",function(R,_){_._$emitInputEvent.schedule(31)}),this.setSession(v||y&&y.session||new e("")),m.resetOptions(this),y&&this.setOptions(y),m._signal("editor",this)}return p.prototype.$initOperationListeners=function(){this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=a.delayedCall(this.endOperation.bind(this,!0)),this.on("change",(function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.docChanged=!0}).bind(this),!0),this.on("changeSelection",(function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.selectionChanged=!0}).bind(this),!0)},p.prototype.startOperation=function(h){if(this.curOp){if(!h||this.curOp.command)return;this.prevOp=this.curOp}h||(this.previousCommand=null,h={}),this.$opResetTimer.schedule(),this.curOp=this.session.curOp={command:h.command||{},args:h.args,scrollTop:this.renderer.scrollTop},this.curOp.selectionBefore=this.selection.toJSON()},p.prototype.endOperation=function(h){if(this.curOp&&this.session){if(h&&h.returnValue===!1||!this.session)return this.curOp=null;if(h==!0&&this.curOp.command&&this.curOp.command.name=="mouse"||(this._signal("beforeEndOperation"),!this.curOp))return;var v=this.curOp.command,y=v&&v.scrollIntoView;if(y){switch(y){case"center-animate":y="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var L=this.selection.getRange(),R=this.renderer.layerConfig;(L.start.row>=R.lastRow||L.end.row<=R.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead);break}y=="animate"&&this.renderer.animateScrolling(this.curOp.scrollTop)}var _=this.selection.toJSON();this.curOp.selectionAfter=_,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(_),this.prevOp=this.curOp,this.curOp=null}},p.prototype.$historyTracker=function(h){if(this.$mergeUndoDeltas){var v=this.prevOp,y=this.$mergeableCommands,L=v.command&&h.command.name==v.command.name;if(h.command.name=="insertstring"){var R=h.args;this.mergeNextCommand===void 0&&(this.mergeNextCommand=!0),L=L&&this.mergeNextCommand&&(!/\s/.test(R)||/\s/.test(v.args)),this.mergeNextCommand=!0}else L=L&&y.indexOf(h.command.name)!==-1;this.$mergeUndoDeltas!="always"&&Date.now()-this.sequenceStartTime>2e3&&(L=!1),L?this.session.mergeUndoDeltas=!0:y.indexOf(h.command.name)!==-1&&(this.sequenceStartTime=Date.now())}},p.prototype.setKeyboardHandler=function(h,v){if(h&&typeof h=="string"&&h!="ace"){this.$keybindingId=h;var y=this;m.loadModule(["keybinding",h],function(L){y.$keybindingId==h&&y.keyBinding.setKeyboardHandler(L&&L.handler),v&&v()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(h),v&&v()},p.prototype.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},p.prototype.setSession=function(h){if(this.session!=h){this.curOp&&this.endOperation(),this.curOp={};var v=this.session;if(v){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var y=this.session.getSelection();y.off("changeCursor",this.$onCursorChange),y.off("changeSelection",this.$onSelectionChange)}this.session=h,h?(this.$onDocumentChange=this.onDocumentChange.bind(this),h.on("change",this.$onDocumentChange),this.renderer.setSession(h),this.$onChangeMode=this.onChangeMode.bind(this),h.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),h.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),h.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),h.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),h.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),h.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=h.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.onCursorChange(),this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(h)),this._signal("changeSession",{session:h,oldSession:v}),this.curOp=null,v&&v._signal("changeEditor",{oldEditor:this}),h&&h._signal("changeEditor",{editor:this}),h&&!h.destroyed&&h.bgTokenizer.scheduleStart()}},p.prototype.getSession=function(){return this.session},p.prototype.setValue=function(h,v){return this.session.doc.setValue(h),v?v==1?this.navigateFileEnd():v==-1&&this.navigateFileStart():this.selectAll(),h},p.prototype.getValue=function(){return this.session.getValue()},p.prototype.getSelection=function(){return this.selection},p.prototype.resize=function(h){this.renderer.onResize(h)},p.prototype.setTheme=function(h,v){this.renderer.setTheme(h,v)},p.prototype.getTheme=function(){return this.renderer.getTheme()},p.prototype.setStyle=function(h){this.renderer.setStyle(h)},p.prototype.unsetStyle=function(h){this.renderer.unsetStyle(h)},p.prototype.getFontSize=function(){return this.getOption("fontSize")||S.computedStyle(this.container).fontSize},p.prototype.setFontSize=function(h){this.setOption("fontSize",h)},p.prototype.$highlightBrackets=function(){if(!this.$highlightPending){var h=this;this.$highlightPending=!0,setTimeout(function(){h.$highlightPending=!1;var v=h.session;if(!(!v||v.destroyed)){v.$bracketHighlight&&(v.$bracketHighlight.markerIds.forEach(function(D){v.removeMarker(D)}),v.$bracketHighlight=null);var y=h.getCursorPosition(),L=h.getKeyboardHandler(),R=L&&L.$getDirectionForHighlight&&L.$getDirectionForHighlight(h),_=v.getMatchingBracketRanges(y,R);if(!_){var I=new g(v,y.row,y.column),N=I.getCurrentToken();if(N&&/\b(?:tag-open|tag-name)/.test(N.type)){var W=v.getMatchingTags(y);W&&(_=[W.openTagName.isEmpty()?W.openTag:W.openTagName,W.closeTagName.isEmpty()?W.closeTag:W.closeTagName])}}if(!_&&v.$mode.getMatching&&(_=v.$mode.getMatching(h.session)),!_){h.getHighlightIndentGuides()&&h.renderer.$textLayer.$highlightIndentGuide();return}var O="ace_bracket";Array.isArray(_)?_.length==1&&(O="ace_error_bracket"):_=[_],_.length==2&&(s.comparePoints(_[0].end,_[1].start)==0?_=[s.fromPoints(_[0].start,_[1].end)]:s.comparePoints(_[0].start,_[1].end)==0&&(_=[s.fromPoints(_[1].start,_[0].end)])),v.$bracketHighlight={ranges:_,markerIds:_.map(function(D){return v.addMarker(D,O,"text")})},h.getHighlightIndentGuides()&&h.renderer.$textLayer.$highlightIndentGuide()}},50)}},p.prototype.focus=function(){this.textInput.focus()},p.prototype.isFocused=function(){return this.textInput.isFocused()},p.prototype.blur=function(){this.textInput.blur()},p.prototype.onFocus=function(h){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",h))},p.prototype.onBlur=function(h){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",h))},p.prototype.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$updateHighlightActiveLine()},p.prototype.onDocumentChange=function(h){var v=this.session.$useWrapMode,y=h.start.row==h.end.row?h.end.row:1/0;this.renderer.updateLines(h.start.row,y,v),this._signal("change",h),this.$cursorChange()},p.prototype.onTokenizerUpdate=function(h){var v=h.data;this.renderer.updateLines(v.first,v.last)},p.prototype.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},p.prototype.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},p.prototype.onCursorChange=function(){this.$cursorChange(),this._signal("changeSelection")},p.prototype.$updateHighlightActiveLine=function(){var h=this.getSession(),v;if(this.$highlightActiveLine&&((this.$selectionStyle!="line"||!this.selection.isMultiLine())&&(v=this.getCursorPosition()),this.renderer.theme&&this.renderer.theme.$selectionColorConflict&&!this.selection.isEmpty()&&(v=!1),this.renderer.$maxLines&&this.session.getLength()===1&&!(this.renderer.$minLines>1)&&(v=!1)),h.$highlightLineMarker&&!v)h.removeMarker(h.$highlightLineMarker.id),h.$highlightLineMarker=null;else if(!h.$highlightLineMarker&&v){var y=new s(v.row,v.column,v.row,1/0);y.id=h.addMarker(y,"ace_active-line","screenLine"),h.$highlightLineMarker=y}else v&&(h.$highlightLineMarker.start.row=v.row,h.$highlightLineMarker.end.row=v.row,h.$highlightLineMarker.start.column=v.column,h._signal("changeBackMarker"))},p.prototype.onSelectionChange=function(h){var v=this.session;if(v.$selectionMarker&&v.removeMarker(v.$selectionMarker),v.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var y=this.selection.getRange(),L=this.getSelectionStyle();v.$selectionMarker=v.addMarker(y,"ace_selection",L)}var R=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(R),this._signal("changeSelection")},p.prototype.$getSelectionHighLightRegexp=function(){var h=this.session,v=this.getSelectionRange();if(!(v.isEmpty()||v.isMultiLine())){var y=v.start.column,L=v.end.column,R=h.getLine(v.start.row),_=R.substring(y,L);if(!(_.length>5e3||!/[\w\d]/.test(_))){var I=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:_}),N=R.substring(y-1,L+1);if(I.test(N))return I}}},p.prototype.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},p.prototype.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},p.prototype.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},p.prototype.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},p.prototype.onChangeMode=function(h){this.renderer.updateText(),this._emit("changeMode",h)},p.prototype.onChangeWrapLimit=function(){this.renderer.updateFull()},p.prototype.onChangeWrapMode=function(){this.renderer.onResize(!0)},p.prototype.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},p.prototype.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},p.prototype.getCopyText=function(){var h=this.getSelectedText(),v=this.session.doc.getNewLineCharacter(),y=!1;if(!h&&this.$copyWithEmptySelection){y=!0;for(var L=this.selection.getAllRanges(),R=0;RD.search(/\S|$/)){var N=D.substr(R.column).search(/\S|$/);y.doc.removeInLine(R.row,R.column,R.column+N)}}this.clearSelection();var W=R.column,O=y.getState(R.row),D=y.getLine(R.row),F=L.checkOutdent(O,D,h);if(y.insert(R,h),_&&_.selection&&(_.selection.length==2?this.selection.setSelectionRange(new s(R.row,W+_.selection[0],R.row,W+_.selection[1])):this.selection.setSelectionRange(new s(R.row+_.selection[0],_.selection[1],R.row+_.selection[2],_.selection[3]))),this.$enableAutoIndent){if(y.getDocument().isNewLine(h)){var H=L.getNextLineIndent(O,D.slice(0,R.column),y.getTabString());y.insert({row:R.row+1,column:0},H)}F&&L.autoOutdent(O,y,R.row)}},p.prototype.autoIndent=function(){for(var h=this.session,v=h.getMode(),y=this.selection.isEmpty()?[new s(0,0,h.doc.getLength()-1,0)]:this.selection.getAllRanges(),L="",R="",_="",I=h.getTabString(),N=0;N0&&(L=h.getState(D-1),R=h.getLine(D-1),_=v.getNextLineIndent(L,R,I));var F=h.getLine(D),H=v.$getIndent(F);if(_!==H){if(H.length>0){var P=new s(D,0,D,H.length);h.remove(P)}_.length>0&&h.insert({row:D,column:0},_)}v.autoOutdent(L,h,D)}},p.prototype.onTextInput=function(h,v){if(!v)return this.keyBinding.onTextInput(h);this.startOperation({command:{name:"insertstring"}});var y=this.applyComposition.bind(this,h,v);this.selection.rangeCount?this.forEachSelection(y):y(),this.endOperation()},p.prototype.applyComposition=function(h,v){if(v.extendLeft||v.extendRight){var y=this.selection.getRange();y.start.column-=v.extendLeft,y.end.column+=v.extendRight,y.start.column<0&&(y.start.row--,y.start.column+=this.session.getLine(y.start.row).length+1),this.selection.setRange(y),!h&&!y.isEmpty()&&this.remove()}if((h||!this.selection.isEmpty())&&this.insert(h,!0),v.restoreStart||v.restoreEnd){var y=this.selection.getRange();y.start.column-=v.restoreStart,y.end.column-=v.restoreEnd,this.selection.setRange(y)}},p.prototype.onCommandKey=function(h,v,y){return this.keyBinding.onCommandKey(h,v,y)},p.prototype.setOverwrite=function(h){this.session.setOverwrite(h)},p.prototype.getOverwrite=function(){return this.session.getOverwrite()},p.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},p.prototype.setScrollSpeed=function(h){this.setOption("scrollSpeed",h)},p.prototype.getScrollSpeed=function(){return this.getOption("scrollSpeed")},p.prototype.setDragDelay=function(h){this.setOption("dragDelay",h)},p.prototype.getDragDelay=function(){return this.getOption("dragDelay")},p.prototype.setSelectionStyle=function(h){this.setOption("selectionStyle",h)},p.prototype.getSelectionStyle=function(){return this.getOption("selectionStyle")},p.prototype.setHighlightActiveLine=function(h){this.setOption("highlightActiveLine",h)},p.prototype.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},p.prototype.setHighlightGutterLine=function(h){this.setOption("highlightGutterLine",h)},p.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},p.prototype.setHighlightSelectedWord=function(h){this.setOption("highlightSelectedWord",h)},p.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},p.prototype.setAnimatedScroll=function(h){this.renderer.setAnimatedScroll(h)},p.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},p.prototype.setShowInvisibles=function(h){this.renderer.setShowInvisibles(h)},p.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},p.prototype.setDisplayIndentGuides=function(h){this.renderer.setDisplayIndentGuides(h)},p.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},p.prototype.setHighlightIndentGuides=function(h){this.renderer.setHighlightIndentGuides(h)},p.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},p.prototype.setShowPrintMargin=function(h){this.renderer.setShowPrintMargin(h)},p.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},p.prototype.setPrintMarginColumn=function(h){this.renderer.setPrintMarginColumn(h)},p.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},p.prototype.setReadOnly=function(h){this.setOption("readOnly",h)},p.prototype.getReadOnly=function(){return this.getOption("readOnly")},p.prototype.setBehavioursEnabled=function(h){this.setOption("behavioursEnabled",h)},p.prototype.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},p.prototype.setWrapBehavioursEnabled=function(h){this.setOption("wrapBehavioursEnabled",h)},p.prototype.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},p.prototype.setShowFoldWidgets=function(h){this.setOption("showFoldWidgets",h)},p.prototype.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},p.prototype.setFadeFoldWidgets=function(h){this.setOption("fadeFoldWidgets",h)},p.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},p.prototype.remove=function(h){this.selection.isEmpty()&&(h=="left"?this.selection.selectLeft():this.selection.selectRight());var v=this.getSelectionRange();if(this.getBehavioursEnabled()){var y=this.session,L=y.getState(v.start.row),R=y.getMode().transformAction(L,"deletion",this,y,v);if(v.end.column===0){var _=y.getTextRange(v);if(_[_.length-1]=="\n"){var I=y.getLine(v.end.row);/^\s+$/.test(I)&&(v.end.column=I.length)}}R&&(v=R)}this.session.remove(v),this.clearSelection()},p.prototype.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},p.prototype.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},p.prototype.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},p.prototype.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var h=this.getSelectionRange();h.start.column==h.end.column&&h.start.row==h.end.row&&(h.end.column=0,h.end.row++),this.session.remove(h),this.clearSelection()},p.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var h=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(h)},p.prototype.setGhostText=function(h,v){this.session.widgetManager||(this.session.widgetManager=new d(this.session),this.session.widgetManager.attach(this)),this.renderer.setGhostText(h,v)},p.prototype.removeGhostText=function(){this.session.widgetManager&&this.renderer.removeGhostText()},p.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var h=this.getCursorPosition(),v=h.column;if(v!==0){var y=this.session.getLine(h.row),L,R;vN.toLowerCase()?1:0});for(var R=new s(0,0,0,0),L=h.first;L<=h.last;L++){var _=v.getLine(L);R.start.row=L,R.end.row=L,R.end.column=_.length,v.replace(R,y[L-h.first])}},p.prototype.toggleCommentLines=function(){var h=this.session.getState(this.getCursorPosition().row),v=this.$getSelectedRows();this.session.getMode().toggleCommentLines(h,this.session,v.first,v.last)},p.prototype.toggleBlockComment=function(){var h=this.getCursorPosition(),v=this.session.getState(h.row),y=this.getSelectionRange();this.session.getMode().toggleBlockComment(v,this.session,y,h)},p.prototype.getNumberAt=function(h,v){var y=/[\-]?[0-9]+(?:\.[0-9]+)?/g;y.lastIndex=0;for(var L=this.session.getLine(h);y.lastIndex=v){var _={value:R[0],start:R.index,end:R.index+R[0].length};return _}}return null},p.prototype.modifyNumber=function(h){var v=this.selection.getCursor().row,y=this.selection.getCursor().column,L=new s(v,y-1,v,y),R=this.session.getTextRange(L);if(!isNaN(parseFloat(R))&&isFinite(R)){var _=this.getNumberAt(v,y);if(_){var I=_.value.indexOf(".")>=0?_.start+_.value.indexOf(".")+1:_.end,N=_.start+_.value.length-I,W=parseFloat(_.value);W*=Math.pow(10,N),I!==_.end&&y=I&&_<=N&&(y=Y,W.selection.clearSelection(),W.moveCursorTo(h,I+L),W.selection.selectTo(h,N+L)),I=N});for(var O=this.$toggleWordPairs,D,F=0;F=N&&I<=W&&H.match(/((?:https?|ftp):\/\/[\S]+)/)){O=H.replace(/[\s:.,'";}\]]+$/,"");break}N=W}}catch(P){y={error:P}}finally{try{F&&!F.done&&(L=D.return)&&L.call(D)}finally{if(y)throw y.error}}return O},p.prototype.openLink=function(){var h=this.selection.getCursor(),v=this.findLinkAt(h.row,h.column);return v&&window.open(v,"_blank"),v!=null},p.prototype.removeLines=function(){var h=this.$getSelectedRows();this.session.removeFullLines(h.first,h.last),this.clearSelection()},p.prototype.duplicateSelection=function(){var h=this.selection,v=this.session,y=h.getRange(),L=h.isBackwards();if(y.isEmpty()){var R=y.start.row;v.duplicateLines(R,R)}else{var _=L?y.start:y.end,I=v.insert(_,v.getTextRange(y));y.start=_,y.end=I,h.setSelectionRange(y,L)}},p.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},p.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},p.prototype.moveText=function(h,v,y){return this.session.moveText(h,v,y)},p.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},p.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},p.prototype.$moveLines=function(h,v){var y,L,R=this.selection;if(!R.inMultiSelectMode||this.inVirtualSelectionMode){var _=R.toOrientedRange();y=this.$getSelectedRows(_),L=this.session.$moveLines(y.first,y.last,v?0:h),v&&h==-1&&(L=0),_.moveBy(L,0),R.fromOrientedRange(_)}else{var I=R.rangeList.ranges;R.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var N=0,W=0,O=I.length,D=0;DP+1)break;P=U.last}for(D--,N=this.session.$moveLines(H,P,v?0:h),v&&h==-1&&(F=D+1);F<=D;)I[F].moveBy(N,0),F++;v||(N=0),W+=N}R.fromOrientedRange(R.ranges[0]),R.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},p.prototype.$getSelectedRows=function(h){return h=(h||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(h.start.row),last:this.session.getRowFoldEnd(h.end.row)}},p.prototype.onCompositionStart=function(h){this.renderer.showComposition(h)},p.prototype.onCompositionUpdate=function(h){this.renderer.setCompositionText(h)},p.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},p.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},p.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},p.prototype.isRowVisible=function(h){return h>=this.getFirstVisibleRow()&&h<=this.getLastVisibleRow()},p.prototype.isRowFullyVisible=function(h){return h>=this.renderer.getFirstFullyVisibleRow()&&h<=this.renderer.getLastFullyVisibleRow()},p.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},p.prototype.$moveByPage=function(h,v){var y=this.renderer,L=this.renderer.layerConfig,R=h*Math.floor(L.height/L.lineHeight);v===!0?this.selection.$moveSelection(function(){this.moveCursorBy(R,0)}):v===!1&&(this.selection.moveCursorBy(R,0),this.selection.clearSelection());var _=y.scrollTop;y.scrollBy(0,R*L.lineHeight),v!=null&&y.scrollCursorIntoView(null,.5),y.animateScrolling(_)},p.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},p.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},p.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},p.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},p.prototype.scrollPageDown=function(){this.$moveByPage(1)},p.prototype.scrollPageUp=function(){this.$moveByPage(-1)},p.prototype.scrollToRow=function(h){this.renderer.scrollToRow(h)},p.prototype.scrollToLine=function(h,v,y,L){this.renderer.scrollToLine(h,v,y,L)},p.prototype.centerSelection=function(){var h=this.getSelectionRange(),v={row:Math.floor(h.start.row+(h.end.row-h.start.row)/2),column:Math.floor(h.start.column+(h.end.column-h.start.column)/2)};this.renderer.alignCursor(v,.5)},p.prototype.getCursorPosition=function(){return this.selection.getCursor()},p.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},p.prototype.getSelectionRange=function(){return this.selection.getRange()},p.prototype.selectAll=function(){this.selection.selectAll()},p.prototype.clearSelection=function(){this.selection.clearSelection()},p.prototype.moveCursorTo=function(h,v){this.selection.moveCursorTo(h,v)},p.prototype.moveCursorToPosition=function(h){this.selection.moveCursorToPosition(h)},p.prototype.jumpToMatching=function(h,v){var y=this.getCursorPosition(),L=new g(this.session,y.row,y.column),R=L.getCurrentToken(),_=0;R&&R.type.indexOf("tag-name")!==-1&&(R=L.stepBackward());var I=R||L.stepForward();if(I){var N,W=!1,O={},D=y.column-I.start,F,H={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(I.value.match(/[{}()\[\]]/g)){for(;D1?O[I.value]++:R.value==="=0;--_)this.$tryReplace(y[_],h)&&L++;return this.selection.setSelectionRange(R),L},p.prototype.$tryReplace=function(h,v){var y=this.session.getTextRange(h);return v=this.$search.replace(y,v),v!==null?(h.end=this.session.replace(h,v),h):null},p.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},p.prototype.find=function(h,v,y){v||(v={}),typeof h=="string"||h instanceof RegExp?v.needle=h:typeof h=="object"&&M.mixin(v,h);var L=this.selection.getRange();v.needle==null&&(h=this.session.getTextRange(L)||this.$search.$options.needle,h||(L=this.session.getWordRange(L.start.row,L.start.column),h=this.session.getTextRange(L)),this.$search.set({needle:h})),this.$search.set(v),v.start||this.$search.set({start:L});var R=this.$search.find(this.session);if(v.preventScroll)return R;if(R)return this.revealRange(R,y),R;v.backwards?L.start=L.end:L.end=L.start,this.selection.setRange(L)},p.prototype.findNext=function(h,v){this.find({skipCurrent:!0,backwards:!1},h,v)},p.prototype.findPrevious=function(h,v){this.find(h,{skipCurrent:!0,backwards:!0},v)},p.prototype.revealRange=function(h,v){this.session.unfold(h),this.selection.setSelectionRange(h);var y=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(h.start,h.end,.5),v!==!1&&this.renderer.animateScrolling(y)},p.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},p.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},p.prototype.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach(function(h){h.destroy()}),this.$toDestroy=null),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},p.prototype.setAutoScrollEditorIntoView=function(h){if(h){var v,y=this,L=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var R=this.$scrollAnchor;R.style.cssText="position:absolute",this.container.insertBefore(R,this.container.firstChild);var _=this.on("changeSelection",function(){L=!0}),I=this.renderer.on("beforeRender",function(){L&&(v=y.renderer.container.getBoundingClientRect())}),N=this.renderer.on("afterRender",function(){if(L&&v&&(y.isFocused()||y.searchBox&&y.searchBox.isFocused())){var W=y.renderer,O=W.$cursorLayer.$pixelPos,D=W.layerConfig,F=O.top-D.offset;O.top>=0&&F+v.top<0?L=!0:O.topwindow.innerHeight?L=!1:L=null,L!=null&&(R.style.top=F+"px",R.style.left=O.left+"px",R.style.height=D.lineHeight+"px",R.scrollIntoView(L)),L=v=null}});this.setAutoScrollEditorIntoView=function(W){W||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",_),this.renderer.off("afterRender",N),this.renderer.off("beforeRender",I))}}},p.prototype.$resetCursorStyle=function(){var h=this.$cursorStyle||"ace",v=this.renderer.$cursorLayer;v&&(v.setSmoothBlinking(/smooth/.test(h)),v.isBlinking=!this.$readOnly&&h!="wide",S.setCssClass(v.element,"ace_slim-cursors",/slim/.test(h)))},p.prototype.prompt=function(h,v,y){var L=this;m.loadModule("ace/ext/prompt",function(R){R.prompt(L,h,v,y)})},p})();w.$uid=0,w.prototype.curOp=null,w.prototype.prevOp={},w.prototype.$mergeableCommands=["backspace","del","insertstring"],w.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],M.implement(w.prototype,l),m.defineOptions(w.prototype,"editor",{selectionStyle:{set:function(p){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:p})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(p){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(p){this.textInput.setReadOnly(p),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(p){this.textInput.setCopyWithEmptySelection(p)},initialValue:!1},cursorStyle:{set:function(p){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(p){this.setAutoScrollEditorIntoView(p)}},keyboardHandler:{set:function(p){this.setKeyboardHandler(p)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(p){this.session.setValue(p)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(p){this.setSession(p)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(p){this.renderer.$gutterLayer.setShowLineNumbers(p),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),p&&this.$relativeLineNumbers?f.attach(this):f.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(p){this.$showLineNumbers&&p?f.attach(this):f.detach(this)}},placeholder:{set:function(p){this.$updatePlaceholder||(this.$updatePlaceholder=(function(){var h=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(h&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),S.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(!h&&!this.renderer.placeholderNode){this.renderer.on("afterRender",this.$updatePlaceholder),S.addCssClass(this.container,"ace_hasPlaceholder");var v=S.createElement("div");v.className="ace_placeholder",v.textContent=this.$placeholder||"",this.renderer.placeholderNode=v,this.renderer.content.appendChild(this.renderer.placeholderNode)}else!h&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"")}).bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(p){var h={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(L){L.blur(),L.renderer.scroller.focus()},readOnly:!0},v=function(L){if(L.target==this.renderer.scroller&&L.keyCode===C.enter){L.preventDefault();var R=this.getCursorPosition().row;this.isRowVisible(R)||this.scrollToLine(R,!0,!0),this.focus()}},y;p?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),this.textInput.setNumberOfExtraLines(c.isWin?3:0),this.renderer.scroller.setAttribute("tabindex",0),this.renderer.scroller.setAttribute("role","group"),this.renderer.scroller.setAttribute("aria-roledescription",T("editor.scroller.aria-roledescription","editor")),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute("aria-label",T("editor.scroller.aria-label","Editor content, press Enter to start editing, press Escape to exit")),this.renderer.scroller.addEventListener("keyup",v.bind(this)),this.commands.addCommand(h),this.renderer.$gutter.setAttribute("tabindex",0),this.renderer.$gutter.setAttribute("aria-hidden",!1),this.renderer.$gutter.setAttribute("role","group"),this.renderer.$gutter.setAttribute("aria-roledescription",T("editor.gutter.aria-roledescription","editor")),this.renderer.$gutter.setAttribute("aria-label",T("editor.gutter.aria-label","Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit")),this.renderer.$gutter.classList.add(this.renderer.keyboardFocusClassName),this.renderer.content.setAttribute("aria-hidden",!0),y||(y=new $(this)),y.addListener(),this.textInput.setAriaOptions({setLabel:!0})):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute("tabindex",0),this.textInput.setNumberOfExtraLines(0),this.renderer.scroller.setAttribute("tabindex",-1),this.renderer.scroller.removeAttribute("role"),this.renderer.scroller.removeAttribute("aria-roledescription"),this.renderer.scroller.classList.remove(this.renderer.keyboardFocusClassName),this.renderer.scroller.removeAttribute("aria-label"),this.renderer.scroller.removeEventListener("keyup",v.bind(this)),this.commands.removeCommand(h),this.renderer.content.removeAttribute("aria-hidden"),this.renderer.$gutter.setAttribute("tabindex",-1),this.renderer.$gutter.setAttribute("aria-hidden",!0),this.renderer.$gutter.removeAttribute("role"),this.renderer.$gutter.removeAttribute("aria-roledescription"),this.renderer.$gutter.removeAttribute("aria-label"),this.renderer.$gutter.classList.remove(this.renderer.keyboardFocusClassName),y&&y.removeListener())},initialValue:!1},textInputAriaLabel:{set:function(p){this.$textInputAriaLabel=p},initialValue:""},enableMobileMenu:{set:function(p){this.$enableMobileMenu=p},initialValue:!0},customScrollbar:"renderer",hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",highlightIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",useResizeObserver:"renderer",useSvgGutterIcons:"renderer",showFoldedAnnotations:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var f={getText:function(p,h){return(Math.abs(p.selection.lead.row-h)||h+1+(h<9?"·":""))+""},getWidth:function(p,h,v){return Math.max(h.toString().length,(v.lastRow+1).toString().length,2)*v.characterWidth},update:function(p,h){h.renderer.$loop.schedule(h.renderer.CHANGE_GUTTER)},attach:function(p){p.renderer.$gutterLayer.$renderer=this,p.on("changeSelection",this.update),this.update(null,p)},detach:function(p){p.renderer.$gutterLayer.$renderer==this&&(p.renderer.$gutterLayer.$renderer=null),p.off("changeSelection",this.update),this.update(null,p)}};x.Editor=w}),ace.define("ace/layer/lines",["require","exports","module","ace/lib/dom"],function(E,x,z){var k=E("../lib/dom"),M=(function(){function S(a,c){this.element=a,this.canvasHeight=c||5e5,this.element.style.height=this.canvasHeight*2+"px",this.cells=[],this.cellCache=[],this.$offsetCoefficient=0}return S.prototype.moveContainer=function(a){k.translate(this.element,0,-(a.firstRowScreen*a.lineHeight%this.canvasHeight)-a.offset*this.$offsetCoefficient)},S.prototype.pageChanged=function(a,c){return Math.floor(a.firstRowScreen*a.lineHeight/this.canvasHeight)!==Math.floor(c.firstRowScreen*c.lineHeight/this.canvasHeight)},S.prototype.computeLineTop=function(a,c,o){var i=c.firstRowScreen*c.lineHeight,n=Math.floor(i/this.canvasHeight),t=o.documentToScreenRow(a,0)*c.lineHeight;return t-n*this.canvasHeight},S.prototype.computeLineHeight=function(a,c,o){return c.lineHeight*o.getRowLineCount(a)},S.prototype.getLength=function(){return this.cells.length},S.prototype.get=function(a){return this.cells[a]},S.prototype.shift=function(){this.$cacheCell(this.cells.shift())},S.prototype.pop=function(){this.$cacheCell(this.cells.pop())},S.prototype.push=function(a){if(Array.isArray(a)){this.cells.push.apply(this.cells,a);for(var c=k.createFragment(this.element),o=0;ob&&(d=u.end.row+1,u=r.getNextFoldLine(d,u),b=u?u.start.row:1/0),d>l){for(;this.$lines.getLength()>g+1;)this.$lines.pop();break}m=this.$lines.get(++g),m?m.row=d:(m=this.$lines.createCell(d,e,this.session,n),this.$lines.push(m)),this.$renderCell(m,e,u,d),d++}this._signal("afterRender"),this.$updateGutterWidth(e)},t.prototype.$updateGutterWidth=function(e){var r=this.session,s=r.gutterRenderer||this.$renderer,l=r.$firstLineNumber,u=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||r.$useWrapMode)&&(u=r.getLength()+l-1);var b=s?s.getWidth(r,u,e):u.toString().length*e.characterWidth,m=this.$padding||this.$computePadding();b+=m.left+m.right,b!==this.gutterWidth&&!isNaN(b)&&(this.gutterWidth=b,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",b))},t.prototype.$updateCursorRow=function(){if(this.$highlightGutterLine){var e=this.session.selection.getCursor();this.$cursorRow!==e.row&&(this.$cursorRow=e.row)}},t.prototype.updateLineHighlight=function(){if(this.$highlightGutterLine){var e=this.session.selection.cursor.row;if(this.$cursorRow=e,!(this.$cursorCell&&this.$cursorCell.row==e)){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var r=this.$lines.cells;this.$cursorCell=null;for(var s=0;s=this.$cursorRow){if(l.row>this.$cursorRow){var u=this.session.getFoldLine(this.$cursorRow);if(s>0&&u&&u.start.row==r[s-1].row)l=r[s-1];else break}l.element.className="ace_gutter-active-line "+l.element.className,this.$cursorCell=l;break}}}}},t.prototype.scrollLines=function(e){var r=this.config;if(this.config=e,this.$updateCursorRow(),this.$lines.pageChanged(r,e))return this.update(e);this.$lines.moveContainer(e);var s=Math.min(e.lastRow+e.gutterOffset,this.session.getLength()-1),l=this.oldLastRow;if(this.oldLastRow=s,!r||l0;u--)this.$lines.shift();if(l>s)for(var u=this.session.getFoldedRowCount(s+1,l);u>0;u--)this.$lines.pop();e.firstRowl&&this.$lines.push(this.$renderLines(e,l+1,s)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(e)},t.prototype.$renderLines=function(e,r,s){for(var l=[],u=r,b=this.session.getNextFoldLine(u),m=b?b.start.row:1/0;u>m&&(u=b.end.row+1,b=this.session.getNextFoldLine(u,b),m=b?b.start.row:1/0),!(u>s);){var g=this.$lines.createCell(u,e,this.session,n);this.$renderCell(g,e,b,u),l.push(g),u++}return l},t.prototype.$renderCell=function(e,r,s,l){var u=e.element,b=this.session,m=u.childNodes[0],g=u.childNodes[1],d=u.childNodes[2],$=d.firstChild,T=b.$firstLineNumber,A=b.$breakpoints,C=b.$decorations,w=b.gutterRenderer||this.$renderer,f=this.$showFoldWidgets&&b.foldWidgets,p=s?s.start.row:Number.MAX_VALUE,h=r.lineHeight+"px",v=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",y=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",L=(w?w.getText(b,l):l+T).toString();if(this.$highlightGutterLine&&(l==this.$cursorRow||s&&l=p&&this.$cursorRow<=s.end.row)&&(v+="ace_gutter-active-line ",this.$cursorCell!=e&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=e)),A[l]&&(v+=A[l]),C[l]&&(v+=C[l]),this.$annotations[l]&&l!==p&&(v+=this.$annotations[l].className),f){var R=f[l];R==null&&(R=f[l]=b.getFoldWidget(l))}if(R){var _="ace_fold-widget ace_"+R,I=R=="start"&&l==p&&ls.right-r.right)return"foldWidgets"},t})();i.prototype.$fixedWidth=!1,i.prototype.$highlightGutterLine=!0,i.prototype.$renderer="",i.prototype.$showLineNumbers=!0,i.prototype.$showFoldWidgets=!0,M.implement(i.prototype,a);function n(t){var e=document.createTextNode("");t.appendChild(e);var r=k.createElement("span");t.appendChild(r);var s=k.createElement("span");t.appendChild(s);var l=k.createElement("span");return s.appendChild(l),t}x.Gutter=i}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(E,x,z){var k=E("../range").Range,M=E("../lib/dom"),S=(function(){function c(o){this.element=M.createElement("div"),this.element.className="ace_layer ace_marker-layer",o.appendChild(this.element)}return c.prototype.setPadding=function(o){this.$padding=o},c.prototype.setSession=function(o){this.session=o},c.prototype.setMarkers=function(o){this.markers=o},c.prototype.elt=function(o,i){var n=this.i!=-1&&this.element.childNodes[this.i];n?this.i++:(n=document.createElement("div"),this.element.appendChild(n),this.i=-1),n.style.cssText=i,n.className=o},c.prototype.update=function(o){if(o){this.config=o,this.i=0;var i;for(var n in this.markers){var t=this.markers[n];if(!t.range){t.update(i,this,this.session,o);continue}var e=t.range.clipRows(o.firstRow,o.lastRow);if(!e.isEmpty())if(e=e.toScreenRange(this.session),t.renderer){var r=this.$getTop(e.start.row,o),s=this.$padding+e.start.column*o.characterWidth;t.renderer(i,e,s,r,o)}else t.type=="fullLine"?this.drawFullLineMarker(i,e,t.clazz,o):t.type=="screenLine"?this.drawScreenLineMarker(i,e,t.clazz,o):e.isMultiLine()?t.type=="text"?this.drawTextMarker(i,e,t.clazz,o):this.drawMultiLineMarker(i,e,t.clazz,o):this.drawSingleLineMarker(i,e,t.clazz+" ace_start ace_br15",o)}if(this.i!=-1)for(;this.ig,u==l),t,u==l?0:1,e)},c.prototype.drawMultiLineMarker=function(o,i,n,t,e){var r=this.$padding,s=t.lineHeight,l=this.$getTop(i.start.row,t),u=r+i.start.column*t.characterWidth;if(e=e||"",this.session.$bidiHandler.isBidiRow(i.start.row)){var b=i.clone();b.end.row=b.start.row,b.end.column=this.session.getLine(b.start.row).length,this.drawBidiSingleLineMarker(o,b,n+" ace_br1 ace_start",t,null,e)}else this.elt(n+" ace_br1 ace_start","height:"+s+"px;right:"+r+"px;top:"+l+"px;left:"+u+"px;"+(e||""));if(this.session.$bidiHandler.isBidiRow(i.end.row)){var b=i.clone();b.start.row=b.end.row,b.start.column=0,this.drawBidiSingleLineMarker(o,b,n+" ace_br12",t,null,e)}else{l=this.$getTop(i.end.row,t);var m=i.end.column*t.characterWidth;this.elt(n+" ace_br12","height:"+s+"px;width:"+m+"px;top:"+l+"px;left:"+r+"px;"+(e||""))}if(s=(i.end.row-i.start.row-1)*t.lineHeight,!(s<=0)){l=this.$getTop(i.start.row+1,t);var g=(i.start.column?1:0)|(i.end.column?0:8);this.elt(n+(g?" ace_br"+g:""),"height:"+s+"px;right:"+r+"px;top:"+l+"px;left:"+r+"px;"+(e||""))}},c.prototype.drawSingleLineMarker=function(o,i,n,t,e,r){if(this.session.$bidiHandler.isBidiRow(i.start.row))return this.drawBidiSingleLineMarker(o,i,n,t,e,r);var s=t.lineHeight,l=(i.end.column+(e||0)-i.start.column)*t.characterWidth,u=this.$getTop(i.start.row,t),b=this.$padding+i.start.column*t.characterWidth;this.elt(n,"height:"+s+"px;width:"+l+"px;top:"+u+"px;left:"+b+"px;"+(r||""))},c.prototype.drawBidiSingleLineMarker=function(o,i,n,t,e,r){var s=t.lineHeight,l=this.$getTop(i.start.row,t),u=this.$padding,b=this.session.$bidiHandler.getSelections(i.start.column,i.end.column);b.forEach(function(m){this.elt(n,"height:"+s+"px;width:"+(m.width+(e||0))+"px;top:"+l+"px;left:"+(u+m.left)+"px;"+(r||""))},this)},c.prototype.drawFullLineMarker=function(o,i,n,t,e){var r=this.$getTop(i.start.row,t),s=t.lineHeight;i.start.row!=i.end.row&&(s+=this.$getTop(i.end.row,t)-r),this.elt(n,"height:"+s+"px;top:"+r+"px;left:0;right:0;"+(e||""))},c.prototype.drawScreenLineMarker=function(o,i,n,t,e){var r=this.$getTop(i.start.row,t),s=t.lineHeight;this.elt(n,"height:"+s+"px;top:"+r+"px;left:0;right:0;"+(e||""))},c})();S.prototype.$padding=0;function a(c,o,i,n){return(c?1:0)|(o?2:0)|(i?4:0)|(n?8:0)}x.Marker=S}),ace.define("ace/layer/text_util",["require","exports","module"],function(E,x,z){var k=new Set(["text","rparen","lparen"]);x.isTextToken=function(M){return k.has(M)}}),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter","ace/config","ace/layer/text_util"],function(E,x,z){var k=E("../lib/oop"),M=E("../lib/dom"),S=E("../lib/lang"),a=E("./lines").Lines,c=E("../lib/event_emitter").EventEmitter,o=E("../config").nls,i=E("./text_util").isTextToken,n=(function(){function t(e){this.dom=M,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new a(this.element)}return t.prototype.$updateEolChar=function(){var e=this.session.doc,r=e.getNewLineCharacter()=="\n"&&e.getNewLineMode()!="windows",s=r?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=s)return this.EOL_CHAR=s,!0},t.prototype.setPadding=function(e){this.$padding=e,this.element.style.margin="0 "+e+"px"},t.prototype.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},t.prototype.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},t.prototype.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on("changeCharacterSize",(function(r){this._signal("changeCharacterSize",r)}).bind(this)),this.$pollSizeChanges()},t.prototype.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},t.prototype.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},t.prototype.setSession=function(e){this.session=e,e&&this.$computeTabString()},t.prototype.setShowInvisibles=function(e){return this.showInvisibles==e?!1:(this.showInvisibles=e,typeof e=="string"?(this.showSpaces=/tab/i.test(e),this.showTabs=/space/i.test(e),this.showEOL=/eol/i.test(e)):this.showSpaces=this.showTabs=this.showEOL=e,this.$computeTabString(),!0)},t.prototype.setDisplayIndentGuides=function(e){return this.displayIndentGuides==e?!1:(this.displayIndentGuides=e,this.$computeTabString(),!0)},t.prototype.setHighlightIndentGuides=function(e){return this.$highlightIndentGuides===e?!1:(this.$highlightIndentGuides=e,e)},t.prototype.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var r=this.$tabStrings=[0],s=1;sT&&(d=$.end.row+1,$=this.session.getNextFoldLine(d,$),T=$?$.start.row:1/0),!(d>u);){var A=b[m++];if(A){this.dom.removeChildren(A),this.$renderLine(A,d,d==T?$:!1),g&&(A.style.top=this.$lines.computeLineTop(d,e,this.session)+"px");var C=e.lineHeight*this.session.getRowLength(d)+"px";A.style.height!=C&&(g=!0,A.style.height=C)}d++}if(g)for(;m0;u--)this.$lines.shift();if(r.lastRow>e.lastRow)for(var u=this.session.getFoldedRowCount(e.lastRow+1,r.lastRow);u>0;u--)this.$lines.pop();e.firstRowr.lastRow&&this.$lines.push(this.$renderLinesFragment(e,r.lastRow+1,e.lastRow)),this.$highlightIndentGuide()},t.prototype.$renderLinesFragment=function(e,r,s){for(var l=[],u=r,b=this.session.getNextFoldLine(u),m=b?b.start.row:1/0;u>m&&(u=b.end.row+1,b=this.session.getNextFoldLine(u,b),m=b?b.start.row:1/0),!(u>s);){var g=this.$lines.createCell(u,e,this.session),d=g.element;this.dom.removeChildren(d),M.setStyle(d.style,"height",this.$lines.computeLineHeight(u,e,this.session)+"px"),M.setStyle(d.style,"top",this.$lines.computeLineTop(u,e,this.session)+"px"),this.$renderLine(d,u,u==m?b:!1),this.$useLineGroups()?d.className="ace_line_group":d.className="ace_line",l.push(g),u++}return l},t.prototype.update=function(e){this.$lines.moveContainer(e),this.config=e;for(var r=e.firstRow,s=e.lastRow,l=this.$lines;l.getLength();)l.pop();l.push(this.$renderLinesFragment(e,r,s))},t.prototype.$renderToken=function(e,r,s,l){for(var u=this,b=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC\u2066\u2067\u2068\u202A\u202B\u202D\u202E\u202C\u2069]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,m=this.dom.createFragment(this.element),g,d=0;g=b.exec(l);){var $=g[1],T=g[2],A=g[3],C=g[4],w=g[5];if(!(!u.showSpaces&&T)){var f=d!=g.index?l.slice(d,g.index):"";if(d=g.index+g[0].length,f&&m.appendChild(this.dom.createTextNode(f,this.element)),$){var p=u.session.getScreenTabSize(r+g.index);m.appendChild(u.$tabStrings[p].cloneNode(!0)),r+=p-1}else if(T)if(u.showSpaces){var h=this.dom.createElement("span");h.className="ace_invisible ace_invisible_space",h.textContent=S.stringRepeat(u.SPACE_CHAR,T.length),m.appendChild(h)}else m.appendChild(this.dom.createTextNode(T,this.element));else if(A){var h=this.dom.createElement("span");h.className="ace_invisible ace_invisible_space ace_invalid",h.textContent=S.stringRepeat(u.SPACE_CHAR,A.length),m.appendChild(h)}else if(C){r+=1;var h=this.dom.createElement("span");h.style.width=u.config.characterWidth*2+"px",h.className=u.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",h.textContent=u.showSpaces?u.SPACE_CHAR:C,m.appendChild(h)}else if(w){r+=1;var h=this.dom.createElement("span");h.style.width=u.config.characterWidth*2+"px",h.className="ace_cjk",h.textContent=w,m.appendChild(h)}}}if(m.appendChild(this.dom.createTextNode(d?l.slice(d):l,this.element)),i(s.type))e.appendChild(m);else{var v="ace_"+s.type.replace(/\./g," ace_"),h=this.dom.createElement("span");s.type=="fold"&&(h.style.width=s.value.length*this.config.characterWidth+"px",h.setAttribute("title",o("inline-fold.closed.title","Unfold code"))),h.className=v,h.appendChild(m),e.appendChild(h)}return r+l.length},t.prototype.renderIndentGuide=function(e,r,s){var l=r.search(this.$indentGuideRe);if(l<=0||l>=s)return r;if(r[0]==" "){l-=l%this.tabSize;for(var u=l/this.tabSize,b=0;bb[m].start.row?this.$highlightIndentGuideMarker.dir=-1:this.$highlightIndentGuideMarker.dir=1;break}}if(!this.$highlightIndentGuideMarker.end&&e[r.row]!==""&&r.column===e[r.row].length){this.$highlightIndentGuideMarker.dir=1;for(var m=r.row+1;m0){for(var u=0;u=this.$highlightIndentGuideMarker.start+1){if(l.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(l,r)}}else for(var s=e.length-1;s>=0;s--){var l=e[s];if(this.$highlightIndentGuideMarker.end&&l.row=b;)m=this.$renderToken(g,m,$,T.substring(0,b-l)),T=T.substring(b-l),l=b,g=this.$createLineElement(),e.appendChild(g),g.appendChild(this.dom.createTextNode(S.stringRepeat(" ",s.indent),this.element)),u++,m=0,b=s[u]||Number.MAX_VALUE;T.length!=0&&(l+=T.length,m=this.$renderToken(g,m,$,T))}}s[s.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(g,m,null,"",!0)},t.prototype.$renderSimpleLine=function(e,r){for(var s=0,l=0;lthis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(e,s,u,b);s=this.$renderToken(e,s,u,b)}}},t.prototype.$renderOverflowMessage=function(e,r,s,l,u){s&&this.$renderToken(e,r,s,l.slice(0,this.MAX_LINE_LENGTH-r));var b=this.dom.createElement("span");b.className="ace_inline_button ace_keyword ace_toggle_wrap",b.textContent=u?"":"",e.appendChild(b)},t.prototype.$renderLine=function(e,r,s){if(!s&&s!=!1&&(s=this.session.getFoldLine(r)),s)var l=this.$getFoldLineTokens(r,s);else var l=this.session.getTokens(r);var u=e;if(l.length){var b=this.session.getRowSplitData(r);if(b&&b.length){this.$renderWrappedLine(e,l,b);var u=e.lastChild}else{var u=e;this.$useLineGroups()&&(u=this.$createLineElement(),e.appendChild(u)),this.$renderSimpleLine(u,l)}}else this.$useLineGroups()&&(u=this.$createLineElement(),e.appendChild(u));if(this.showEOL&&u){s&&(r=s.end.row);var m=this.dom.createElement("span");m.className="ace_invisible ace_invisible_eol",m.textContent=r==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,u.appendChild(m)}},t.prototype.$getFoldLineTokens=function(e,r){var s=this.session,l=[];function u(m,g,d){for(var $=0,T=0;T+m[$].value.lengthd-g&&(A=A.substring(0,d-g)),l.push({type:m[$].type,value:A}),T=g+A.length,$+=1}for(;Td?l.push({type:m[$].type,value:A.substring(0,d-T)}):l.push(m[$]),T+=A.length,$+=1}}var b=s.getTokens(e);return r.walk(function(m,g,d,$,T){m!=null?l.push({type:"fold",value:m}):(T&&(b=s.getTokens(g)),b.length&&u(b,$,d))},r.end.row,this.session.getLine(r.end.row).length),l},t.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},t})();n.prototype.EOF_CHAR="¶",n.prototype.EOL_CHAR_LF="¬",n.prototype.EOL_CHAR_CRLF="¤",n.prototype.EOL_CHAR=n.prototype.EOL_CHAR_LF,n.prototype.TAB_CHAR="—",n.prototype.SPACE_CHAR="·",n.prototype.$padding=0,n.prototype.MAX_LINE_LENGTH=1e4,n.prototype.showInvisibles=!1,n.prototype.showSpaces=!1,n.prototype.showTabs=!1,n.prototype.showEOL=!1,n.prototype.displayIndentGuides=!0,n.prototype.$highlightIndentGuides=!0,n.prototype.$tabStrings=[],n.prototype.destroy={},n.prototype.onChangeTabSize=n.prototype.$computeTabString,k.implement(n.prototype,c),x.Text=n}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(E,x,z){var k=E("../lib/dom"),M=(function(){function S(a){this.element=k.createElement("div"),this.element.className="ace_layer ace_cursor-layer",a.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),k.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}return S.prototype.$updateOpacity=function(a){for(var c=this.cursors,o=c.length;o--;)k.setStyle(c[o].style,"opacity",a?"":"0")},S.prototype.$startCssAnimation=function(){for(var a=this.cursors,c=a.length;c--;)a[c].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout((function(){this.$isAnimating&&k.addCssClass(this.element,"ace_animate-blinking")}).bind(this))},S.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,k.removeCssClass(this.element,"ace_animate-blinking")},S.prototype.setPadding=function(a){this.$padding=a},S.prototype.setSession=function(a){this.session=a},S.prototype.setBlinking=function(a){a!=this.isBlinking&&(this.isBlinking=a,this.restartTimer())},S.prototype.setBlinkInterval=function(a){a!=this.blinkInterval&&(this.blinkInterval=a,this.restartTimer())},S.prototype.setSmoothBlinking=function(a){a!=this.smoothBlinking&&(this.smoothBlinking=a,k.setCssClass(this.element,"ace_smooth-blinking",a),this.$updateCursors(!0),this.restartTimer())},S.prototype.addCursor=function(){var a=k.createElement("div");return a.className="ace_cursor",this.element.appendChild(a),this.cursors.push(a),a},S.prototype.removeCursor=function(){if(this.cursors.length>1){var a=this.cursors.pop();return a.parentNode.removeChild(a),a}},S.prototype.hideCursor=function(){this.isVisible=!1,k.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},S.prototype.showCursor=function(){this.isVisible=!0,k.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},S.prototype.restartTimer=function(){var a=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,k.removeCssClass(this.element,"ace_smooth-blinking")),a(!0),!this.isBlinking||!this.blinkInterval||!this.isVisible){this.$stopCssAnimation();return}if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout((function(){this.$isSmoothBlinking&&k.addCssClass(this.element,"ace_smooth-blinking")}).bind(this))),k.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var c=(function(){this.timeoutId=setTimeout(function(){a(!1)},.6*this.blinkInterval)}).bind(this);this.intervalId=setInterval(function(){a(!0),c()},this.blinkInterval),c()}},S.prototype.getPixelPosition=function(a,c){if(!this.config||!this.session)return{left:0,top:0};a||(a=this.session.selection.getCursor());var o=this.session.documentToScreenPosition(a),i=this.$padding+(this.session.$bidiHandler.isBidiRow(o.row,a.row)?this.session.$bidiHandler.getPosLeft(o.column):o.column*this.config.characterWidth),n=(o.row-(c?this.config.firstRowScreen:0))*this.config.lineHeight;return{left:i,top:n}},S.prototype.isCursorInView=function(a,c){return a.top>=0&&a.topa.height+a.offset||t.top<0)&&o>1)){var e=this.cursors[i++]||this.addCursor(),r=e.style;this.drawCursor?this.drawCursor(e,t,a,c[o],this.session):this.isCursorInView(t,a)?(k.setStyle(r,"display","block"),k.translate(e,t.left,t.top),k.setStyle(r,"width",Math.round(a.characterWidth)+"px"),k.setStyle(r,"height",a.lineHeight+"px")):k.setStyle(r,"display","none")}}for(;this.cursors.length>i;)this.removeCursor();var s=this.session.getOverwrite();this.$setOverwrite(s),this.$pixelPos=t,this.restartTimer()},S.prototype.$setOverwrite=function(a){a!=this.overwrite&&(this.overwrite=a,a?k.addCssClass(this.element,"ace_overwrite-cursors"):k.removeCssClass(this.element,"ace_overwrite-cursors"))},S.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},S})();M.prototype.$padding=0,M.prototype.drawCursor=null,x.Cursor=M}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(E,x,z){var k=this&&this.__extends||(function(){var e=function(r,s){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var b in u)Object.prototype.hasOwnProperty.call(u,b)&&(l[b]=u[b])},e(r,s)};return function(r,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");e(r,s);function l(){this.constructor=r}r.prototype=s===null?Object.create(s):(l.prototype=s.prototype,new l)}})(),M=E("./lib/oop"),S=E("./lib/dom"),a=E("./lib/event"),c=E("./lib/event_emitter").EventEmitter,o=32768,i=(function(){function e(r,s){this.element=S.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+s,this.inner=S.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent=" ",this.element.appendChild(this.inner),r.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,a.addListener(this.element,"scroll",this.onScroll.bind(this)),a.addListener(this.element,"mousedown",a.preventDefault)}return e.prototype.setVisible=function(r){this.element.style.display=r?"":"none",this.isVisible=r,this.coeff=1},e})();M.implement(i.prototype,c);var n=(function(e){k(r,e);function r(s,l){var u=e.call(this,s,"-v")||this;return u.scrollTop=0,u.scrollHeight=0,l.$scrollbarWidth=u.width=S.scrollbarWidth(s.ownerDocument),u.inner.style.width=u.element.style.width=(u.width||15)+5+"px",u.$minWidth=0,u}return r.prototype.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,this.coeff!=1){var s=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-s)/(this.coeff-s)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},r.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},r.prototype.setHeight=function(s){this.element.style.height=s+"px"},r.prototype.setScrollHeight=function(s){this.scrollHeight=s,s>o?(this.coeff=o/s,s=o):this.coeff!=1&&(this.coeff=1),this.inner.style.height=s+"px"},r.prototype.setScrollTop=function(s){this.scrollTop!=s&&(this.skipEvent=!0,this.scrollTop=s,this.element.scrollTop=s*this.coeff)},r})(i);n.prototype.setInnerHeight=n.prototype.setScrollHeight;var t=(function(e){k(r,e);function r(s,l){var u=e.call(this,s,"-h")||this;return u.scrollLeft=0,u.height=l.$scrollbarWidth,u.inner.style.height=u.element.style.height=(u.height||15)+5+"px",u}return r.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},r.prototype.getHeight=function(){return this.isVisible?this.height:0},r.prototype.setWidth=function(s){this.element.style.width=s+"px"},r.prototype.setInnerWidth=function(s){this.inner.style.width=s+"px"},r.prototype.setScrollWidth=function(s){this.inner.style.width=s+"px"},r.prototype.setScrollLeft=function(s){this.scrollLeft!=s&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=s)},r})(i);x.ScrollBar=n,x.ScrollBarV=n,x.ScrollBarH=t,x.VScrollBar=n,x.HScrollBar=t}),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(E,x,z){var k=this&&this.__extends||(function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,l){s.__proto__=l}||function(s,l){for(var u in l)Object.prototype.hasOwnProperty.call(l,u)&&(s[u]=l[u])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function s(){this.constructor=e}e.prototype=r===null?Object.create(r):(s.prototype=r.prototype,new s)}})(),M=E("./lib/oop"),S=E("./lib/dom"),a=E("./lib/event"),c=E("./lib/event_emitter").EventEmitter;S.importCssString(".ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{\n position: absolute;\n background: rgba(128, 128, 128, 0.6);\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n border: 1px solid #bbb;\n border-radius: 2px;\n z-index: 8;\n}\n.ace_editor>.ace_sb-v, .ace_editor>.ace_sb-h {\n position: absolute;\n z-index: 6;\n background: none;\n overflow: hidden!important;\n}\n.ace_editor>.ace_sb-v {\n z-index: 6;\n right: 0;\n top: 0;\n width: 12px;\n}\n.ace_editor>.ace_sb-v div {\n z-index: 8;\n right: 0;\n width: 100%;\n}\n.ace_editor>.ace_sb-h {\n bottom: 0;\n left: 0;\n height: 12px;\n}\n.ace_editor>.ace_sb-h div {\n bottom: 0;\n height: 100%;\n}\n.ace_editor>.ace_sb_grabbed {\n z-index: 8;\n background: #000;\n}","ace_scrollbar.css?v=1774508183068",!1);var o=(function(){function t(e,r){this.element=S.createElement("div"),this.element.className="ace_sb"+r,this.inner=S.createElement("div"),this.inner.className="",this.element.appendChild(this.inner),this.VScrollWidth=12,this.HScrollHeight=12,e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,a.addMultiMouseDownListener(this.element,[500,300,300],this,"onMouseDown")}return t.prototype.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1},t})();M.implement(o.prototype,c);var i=(function(t){k(e,t);function e(r,s){var l=t.call(this,r,"-v")||this;return l.scrollTop=0,l.scrollHeight=0,l.parent=r,l.width=l.VScrollWidth,l.renderer=s,l.inner.style.width=l.element.style.width=(l.width||15)+"px",l.$minWidth=0,l}return e.prototype.onMouseDown=function(r,s){if(r==="mousedown"&&!(a.getButton(s)!==0||s.detail===2)){if(s.target===this.inner){var l=this,u=s.clientY,b=function(C){u=C.clientY},m=function(){clearInterval(T)},g=s.clientY,d=this.thumbTop,$=function(){if(u!==void 0){var C=l.scrollTopFromThumbTop(d+u-g);C!==l.scrollTop&&l._emit("scroll",{data:C})}};a.capture(this.inner,b,m);var T=setInterval($,20);return a.preventDefault(s)}var A=s.clientY-this.element.getBoundingClientRect().top-this.thumbHeight/2;return this._emit("scroll",{data:this.scrollTopFromThumbTop(A)}),a.preventDefault(s)}},e.prototype.getHeight=function(){return this.height},e.prototype.scrollTopFromThumbTop=function(r){var s=r*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight);return s=s>>0,s<0?s=0:s>this.pageHeight-this.viewHeight&&(s=this.pageHeight-this.viewHeight),s},e.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},e.prototype.setHeight=function(r){this.height=Math.max(0,r),this.slideHeight=this.height,this.viewHeight=this.height,this.setScrollHeight(this.pageHeight,!0)},e.prototype.setScrollHeight=function(r,s){this.pageHeight===r&&!s||(this.pageHeight=r,this.thumbHeight=this.slideHeight*this.viewHeight/this.pageHeight,this.thumbHeight>this.slideHeight&&(this.thumbHeight=this.slideHeight),this.thumbHeight<15&&(this.thumbHeight=15),this.inner.style.height=this.thumbHeight+"px",this.scrollTop>this.pageHeight-this.viewHeight&&(this.scrollTop=this.pageHeight-this.viewHeight,this.scrollTop<0&&(this.scrollTop=0),this._emit("scroll",{data:this.scrollTop})))},e.prototype.setScrollTop=function(r){this.scrollTop=r,r<0&&(r=0),this.thumbTop=r*(this.slideHeight-this.thumbHeight)/(this.pageHeight-this.viewHeight),this.inner.style.top=this.thumbTop+"px"},e})(o);i.prototype.setInnerHeight=i.prototype.setScrollHeight;var n=(function(t){k(e,t);function e(r,s){var l=t.call(this,r,"-h")||this;return l.scrollLeft=0,l.scrollWidth=0,l.height=l.HScrollHeight,l.inner.style.height=l.element.style.height=(l.height||12)+"px",l.renderer=s,l}return e.prototype.onMouseDown=function(r,s){if(r==="mousedown"&&!(a.getButton(s)!==0||s.detail===2)){if(s.target===this.inner){var l=this,u=s.clientX,b=function(C){u=C.clientX},m=function(){clearInterval(T)},g=s.clientX,d=this.thumbLeft,$=function(){if(u!==void 0){var C=l.scrollLeftFromThumbLeft(d+u-g);C!==l.scrollLeft&&l._emit("scroll",{data:C})}};a.capture(this.inner,b,m);var T=setInterval($,20);return a.preventDefault(s)}var A=s.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2;return this._emit("scroll",{data:this.scrollLeftFromThumbLeft(A)}),a.preventDefault(s)}},e.prototype.getHeight=function(){return this.isVisible?this.height:0},e.prototype.scrollLeftFromThumbLeft=function(r){var s=r*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth);return s=s>>0,s<0?s=0:s>this.pageWidth-this.viewWidth&&(s=this.pageWidth-this.viewWidth),s},e.prototype.setWidth=function(r){this.width=Math.max(0,r),this.element.style.width=this.width+"px",this.slideWidth=this.width,this.viewWidth=this.width,this.setScrollWidth(this.pageWidth,!0)},e.prototype.setScrollWidth=function(r,s){this.pageWidth===r&&!s||(this.pageWidth=r,this.thumbWidth=this.slideWidth*this.viewWidth/this.pageWidth,this.thumbWidth>this.slideWidth&&(this.thumbWidth=this.slideWidth),this.thumbWidth<15&&(this.thumbWidth=15),this.inner.style.width=this.thumbWidth+"px",this.scrollLeft>this.pageWidth-this.viewWidth&&(this.scrollLeft=this.pageWidth-this.viewWidth,this.scrollLeft<0&&(this.scrollLeft=0),this._emit("scroll",{data:this.scrollLeft})))},e.prototype.setScrollLeft=function(r){this.scrollLeft=r,r<0&&(r=0),this.thumbLeft=r*(this.slideWidth-this.thumbWidth)/(this.pageWidth-this.viewWidth),this.inner.style.left=this.thumbLeft+"px"},e})(o);n.prototype.setInnerWidth=n.prototype.setScrollWidth,x.ScrollBar=i,x.ScrollBarV=i,x.ScrollBarH=n,x.VScrollBar=i,x.HScrollBar=n}),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(E,x,z){var k=E("./lib/event"),M=(function(){function S(a,c){this.onRender=a,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=c||window;var o=this;this._flush=function(i){o.pending=!1;var n=o.changes;if(n&&(k.blockIdle(100),o.changes=0,o.onRender(n)),o.changes){if(o.$recursionLimit--<0)return;o.schedule()}else o.$recursionLimit=2}}return S.prototype.schedule=function(a){this.changes=this.changes|a,this.changes&&!this.pending&&(k.nextFrame(this._flush),this.pending=!0)},S.prototype.clear=function(a){var c=this.changes;return this.changes=0,c},S})();x.RenderLoop=M}),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],function(E,x,z){var k=E("../lib/oop"),M=E("../lib/dom"),S=E("../lib/lang"),a=E("../lib/event"),c=E("../lib/useragent"),o=E("../lib/event_emitter").EventEmitter,i=512,n=typeof ResizeObserver=="function",t=200,e=(function(){function r(s){this.el=M.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=M.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=M.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),s.appendChild(this.el),this.$measureNode.textContent=S.stringRepeat("X",i),this.$characterSize={width:0,height:0},n?this.$addObserver():this.checkForSizeChanges()}return r.prototype.$setMeasureNodeStyles=function(s,l){s.width=s.height="auto",s.left=s.top="0px",s.visibility="hidden",s.position="absolute",s.whiteSpace="pre",c.isIE<8?s["font-family"]="inherit":s.font="inherit",s.overflow=l?"hidden":"visible"},r.prototype.checkForSizeChanges=function(s){if(s===void 0&&(s=this.$measureSizes()),s&&(this.$characterSize.width!==s.width||this.$characterSize.height!==s.height)){this.$measureNode.style.fontWeight="bold";var l=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=s,this.charSizes=Object.create(null),this.allowBoldFonts=l&&l.width===s.width&&l.height===s.height,this._emit("changeCharacterSize",{data:s})}},r.prototype.$addObserver=function(){var s=this;this.$observer=new window.ResizeObserver(function(l){s.checkForSizeChanges()}),this.$observer.observe(this.$measureNode)},r.prototype.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var s=this;return this.$pollSizeChangesTimer=a.onIdle(function l(){s.checkForSizeChanges(),a.onIdle(l,500)},500)},r.prototype.setPolling=function(s){s?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},r.prototype.$measureSizes=function(s){var l={height:(s||this.$measureNode).clientHeight,width:(s||this.$measureNode).clientWidth/i};return l.width===0||l.height===0?null:l},r.prototype.$measureCharWidth=function(s){this.$main.textContent=S.stringRepeat(s,i);var l=this.$main.getBoundingClientRect();return l.width/i},r.prototype.getCharacterWidth=function(s){var l=this.charSizes[s];return l===void 0&&(l=this.charSizes[s]=this.$measureCharWidth(s)/this.$characterSize.width),l},r.prototype.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},r.prototype.$getZoom=function(s){return!s||!s.parentElement?1:(Number(window.getComputedStyle(s).zoom)||1)*this.$getZoom(s.parentElement)},r.prototype.$initTransformMeasureNodes=function(){var s=function(l,u){return["div",{style:"position: absolute;top:"+l+"px;left:"+u+"px;"}]};this.els=M.buildDom([s(0,0),s(t,0),s(0,t),s(t,t)],this.el)},r.prototype.transformCoordinates=function(s,l){if(s){var u=this.$getZoom(this.el);s=d(1/u,s)}function b(I,N,W){var O=I[1]*N[0]-I[0]*N[1];return[(-N[1]*W[0]+N[0]*W[1])/O,(+I[1]*W[0]-I[0]*W[1])/O]}function m(I,N){return[I[0]-N[0],I[1]-N[1]]}function g(I,N){return[I[0]+N[0],I[1]+N[1]]}function d(I,N){return[I*N[0],I*N[1]]}this.els||this.$initTransformMeasureNodes();function $(I){var N=I.getBoundingClientRect();return[N.left,N.top]}var T=$(this.els[0]),A=$(this.els[1]),C=$(this.els[2]),w=$(this.els[3]),f=b(m(w,A),m(w,C),m(g(A,C),g(w,T))),p=d(1+f[0],m(A,T)),h=d(1+f[1],m(C,T));if(l){var v=l,y=f[0]*v[0]/t+f[1]*v[1]/t+1,L=g(d(v[0],p),d(v[1],h));return g(d(1/y/t,L),T)}var R=m(s,T),_=b(m(p,d(f[0],R)),m(h,d(f[1],R)),R);return d(t,_)},r})();e.prototype.$characterSize={width:0,height:0},k.implement(e.prototype,o),x.FontMetrics=e}),ace.define("ace/css/editor-css",["require","exports","module"],function(E,x,z){z.exports='\n.ace_br1 {border-top-left-radius : 3px;}\n.ace_br2 {border-top-right-radius : 3px;}\n.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}\n.ace_br4 {border-bottom-right-radius: 3px;}\n.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}\n.ace_br8 {border-bottom-left-radius : 3px;}\n.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n\n\n.ace_editor {\n position: relative;\n overflow: hidden;\n padding: 0;\n font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'Source Code Pro\', \'source-code-pro\', monospace;\n direction: ltr;\n text-align: left;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n forced-color-adjust: none;\n}\n\n.ace_scroller {\n position: absolute;\n overflow: hidden;\n top: 0;\n bottom: 0;\n background-color: inherit;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n cursor: text;\n}\n\n.ace_content {\n position: absolute;\n box-sizing: border-box;\n min-width: 100%;\n contain: style size layout;\n font-variant-ligatures: no-common-ligatures;\n}\n\n.ace_keyboard-focus:focus {\n box-shadow: inset 0 0 0 2px #5E9ED6;\n outline: none;\n}\n\n.ace_dragging .ace_scroller:before{\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n content: \'\';\n background: rgba(250, 250, 250, 0.01);\n z-index: 1000;\n}\n.ace_dragging.ace_dark .ace_scroller:before{\n background: rgba(0, 0, 0, 0.01);\n}\n\n.ace_gutter {\n position: absolute;\n overflow : hidden;\n width: auto;\n top: 0;\n bottom: 0;\n left: 0;\n cursor: default;\n z-index: 4;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n contain: style size layout;\n}\n\n.ace_gutter-active-line {\n position: absolute;\n left: 0;\n right: 0;\n}\n\n.ace_scroller.ace_scroll-left:after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;\n pointer-events: none;\n}\n\n.ace_gutter-cell, .ace_gutter-cell_svg-icons {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n padding-left: 19px;\n padding-right: 6px;\n background-repeat: no-repeat;\n}\n\n.ace_gutter-cell_svg-icons .ace_gutter_annotation {\n margin-left: -14px;\n float: left;\n}\n\n.ace_gutter-cell .ace_gutter_annotation {\n margin-left: -19px;\n float: left;\n}\n\n.ace_gutter-cell.ace_error, .ace_icon.ace_error, .ace_icon.ace_error_fold, .ace_gutter-cell.ace_security, .ace_icon.ace_security, .ace_icon.ace_security_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_warning, .ace_icon.ace_warning, .ace_icon.ace_warning_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_info, .ace_icon.ace_info, .ace_gutter-cell.ace_hint, .ace_icon.ace_hint {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_dark .ace_gutter-cell.ace_info, .ace_dark .ace_icon.ace_info, .ace_dark .ace_gutter-cell.ace_hint, .ace_dark .ace_icon.ace_hint {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");\n}\n\n.ace_icon_svg.ace_error {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJyZWQiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIj4KPGNpcmNsZSBmaWxsPSJub25lIiBjeD0iOCIgY3k9IjgiIHI9IjciIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPGxpbmUgeDE9IjExIiB5MT0iNSIgeDI9IjUiIHkyPSIxMSIvPgo8bGluZSB4MT0iMTEiIHkxPSIxMSIgeDI9IjUiIHkyPSI1Ii8+CjwvZz4KPC9zdmc+");\n background-color: crimson;\n}\n.ace_icon_svg.ace_security {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZT0iZGFya29yYW5nZSIgZmlsbD0ibm9uZSIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iPgogICAgICAgIDxwYXRoIGNsYXNzPSJzdHJva2UtbGluZWpvaW4tcm91bmQiIGQ9Ik04IDE0LjgzMDdDOCAxNC44MzA3IDIgMTIuOTA0NyAyIDguMDg5OTJWMy4yNjU0OEM1LjMxIDMuMjY1NDggNy45ODk5OSAxLjM0OTE4IDcuOTg5OTkgMS4zNDkxOEM3Ljk4OTk5IDEuMzQ5MTggMTAuNjkgMy4yNjU0OCAxNCAzLjI2NTQ4VjguMDg5OTJDMTQgMTIuOTA0NyA4IDE0LjgzMDcgOCAxNC44MzA3WiIvPgogICAgICAgIDxwYXRoIGQ9Ik0yIDguMDg5OTJWMy4yNjU0OEM1LjMxIDMuMjY1NDggNy45ODk5OSAxLjM0OTE4IDcuOTg5OTkgMS4zNDkxOCIvPgogICAgICAgIDxwYXRoIGQ9Ik0xMy45OSA4LjA4OTkyVjMuMjY1NDhDMTAuNjggMy4yNjU0OCA4IDEuMzQ5MTggOCAxLjM0OTE4Ii8+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTggNFY5Ii8+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTggMTBWMTIiLz4KICAgIDwvZz4KPC9zdmc+");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJkYXJrb3JhbmdlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+Cjxwb2x5Z29uIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGZpbGw9Im5vbmUiIHBvaW50cz0iOCAxIDE1IDE1IDEgMTUgOCAxIi8+CjxyZWN0IHg9IjgiIHk9IjEyIiB3aWR0aD0iMC4wMSIgaGVpZ2h0PSIwLjAxIi8+CjxsaW5lIHgxPSI4IiB5MT0iNiIgeDI9IjgiIHkyPSIxMCIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: darkorange;\n}\n.ace_icon_svg.ace_info {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJibHVlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CjxjaXJjbGUgZmlsbD0ibm9uZSIgY3g9IjgiIGN5PSI4IiByPSI3IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjxwb2x5bGluZSBwb2ludHM9IjggMTEgOCA4Ii8+Cjxwb2x5bGluZSBwb2ludHM9IjkgOCA2IDgiLz4KPGxpbmUgeDE9IjEwIiB5MT0iMTEiIHgyPSI2IiB5Mj0iMTEiLz4KPHJlY3QgeD0iOCIgeT0iNSIgd2lkdGg9IjAuMDEiIGhlaWdodD0iMC4wMSIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: royalblue;\n}\n.ace_icon_svg.ace_hint {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZT0ic2lsdmVyIiBmaWxsPSJub25lIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTYgMTRIMTAiLz4KICAgICAgICA8cGF0aCBkPSJNOCAxMUg5QzkgOS40NzAwMiAxMiA4LjU0MDAyIDEyIDUuNzYwMDJDMTIuMDIgNC40MDAwMiAxMS4zOSAzLjM2MDAyIDEwLjQzIDIuNjcwMDJDOSAxLjY0MDAyIDcuMDAwMDEgMS42NDAwMiA1LjU3MDAxIDIuNjcwMDJDNC42MTAwMSAzLjM2MDAyIDMuOTggNC40MDAwMiA0IDUuNzYwMDJDNCA4LjU0MDAyIDcuMDAwMDEgOS40NzAwMiA3LjAwMDAxIDExSDhaIi8+CiAgICA8L2c+Cjwvc3ZnPg==");\n background-color: silver;\n}\n\n.ace_icon_svg.ace_error_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSI+CiAgPHBhdGggZD0ibSAxOC45Mjk4NTEsNy44Mjk4MDc2IGMgMC4xNDYzNTMsNi4zMzc0NjA0IC02LjMyMzE0Nyw3Ljc3Nzg0NDQgLTcuNDc3OTEyLDcuNzc3ODQ0NCAtMi4xMDcyNzI2LC0wLjEyODc1IDUuMTE3Njc4LDAuMzU2MjQ5IDUuMDUxNjk4LC03Ljg3MDA2MTggLTAuNjA0NjcyLC04LjAwMzk3MzQ5IC03LjA3NzI3MDYsLTcuNTYzMTE4OSAtNC44NTczLC03LjQzMDM5NTU2IDEuNjA2LC0wLjExNTE0MjI1IDYuODk3NDg1LDEuMjYyNTQ1OTYgNy4yODM1MTQsNy41MjI2MTI5NiB6IiBmaWxsPSJjcmltc29uIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0ibSA4LjExNDc1NjIsMi4wNTI5ODI4IGMgMy4zNDkxNjk4LDAgNi4wNjQxMzI4LDIuNjc2ODYyNyA2LjA2NDEzMjgsNS45Nzg5NTMgMCwzLjMwMjExMjIgLTIuNzE0OTYzLDUuOTc4OTIwMiAtNi4wNjQxMzI4LDUuOTc4OTIwMiAtMy4zNDkxNDczLDAgLTYuMDY0MTc3MiwtMi42NzY4MDggLTYuMDY0MTc3MiwtNS45Nzg5MjAyIDAuMDA1MzksLTMuMjk5ODg2MSAyLjcxNzI2NTYsLTUuOTczNjQwOCA2LjA2NDE3NzIsLTUuOTc4OTUzIHogbSAwLC0xLjczNTgyNzE5IGMgLTQuMzIxNDgzNiwwIC03LjgyNDc0MDM4LDMuNDU0MDE4NDkgLTcuODI0NzQwMzgsNy43MTQ3ODAxOSAwLDQuMjYwNzI4MiAzLjUwMzI1Njc4LDcuNzE0NzQ1MiA3LjgyNDc0MDM4LDcuNzE0NzQ1MiA0LjMyMTQ0OTgsMCA3LjgyNDY5OTgsLTMuNDU0MDE3IDcuODI0Njk5OCwtNy43MTQ3NDUyIDAsLTIuMDQ2MDkxNCAtMC44MjQzOTIsLTQuMDA4MzY3MiAtMi4yOTE3NTYsLTUuNDU1MTc0NiBDIDEyLjE4MDIyNSwxLjEyOTk2NDggMTAuMTkwMDEzLDAuMzE3MTU1NjEgOC4xMTQ3NTYyLDAuMzE3MTU1NjEgWiBNIDYuOTM3NDU2Myw4LjI0MDU5ODUgNC42NzE4Njg1LDEwLjQ4NTg1MiA2LjAwODY4MTQsMTEuODc2NzI4IDguMzE3MDAzNSw5LjYwMDc5MTEgMTAuNjI1MzM3LDExLjg3NjcyOCAxMS45NjIxMzgsMTAuNDg1ODUyIDkuNjk2NTUwOCw4LjI0MDU5ODUgMTEuOTYyMTM4LDYuMDA2ODA2NiAxMC41NzMyNDYsNC42Mzc0MzM1IDguMzE3MDAzNSw2Ljg3MzQyOTcgNi4wNjA3NjA3LDQuNjM3NDMzNSA0LjY3MTg2ODUsNi4wMDY4MDY2IFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=");\n background-color: crimson;\n}\n.ace_icon_svg.ace_security_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTcgMTQiIGZpbGw9Im5vbmUiPgogICAgPHBhdGggZD0iTTEwLjAwMDEgMTMuNjk5MkMxMC4wMDAxIDEzLjY5OTIgMTEuOTI0MSAxMy40NzYzIDEzIDEyLjY5OTJDMTQuNDEzOSAxMS42NzgxIDE2IDEwLjUgMTYuMTI1MSA2LjgxMTI2VjIuNTg5ODdDMTYuMTI1MSAyLjU0NzY4IDE2LjEyMjEgMi41MDYxOSAxNi4xMTY0IDIuNDY1NTlWMS43MTQ4NUgxNS4yNDE0TDE1LjIzMDcgMS43MTQ4NEwxNC42MjUxIDEuNjk5MjJWNi44MTEyM0MxNC42MjUxIDguNTEwNjEgMTQuNjI1MSA5LjQ2NDYxIDEyLjc4MjQgMTEuNzIxQzEyLjE1ODYgMTIuNDg0OCAxMC4wMDAxIDEzLjY5OTIgMTAuMDAwMSAxMy42OTkyWiIgZmlsbD0iY3JpbXNvbiIgc3Ryb2tlLXdpZHRoPSIyIi8+CiAgICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTcuMzM2MDkgMC4zNjc0NzVDNy4wMzIxNCAwLjE1MjY1MiA2LjYyNTQ4IDAuMTUzNjE0IDYuMzIyNTMgMC4zNjk5OTdMNi4zMDg2OSAwLjM3OTU1NEM2LjI5NTUzIDAuMzg4NTg4IDYuMjczODggMC40MDMyNjYgNi4yNDQxNyAwLjQyMjc4OUM2LjE4NDcxIDAuNDYxODYgNi4wOTMyMSAwLjUyMDE3MSA1Ljk3MzEzIDAuNTkxMzczQzUuNzMyNTEgMC43MzQwNTkgNS4zNzk5IDAuOTI2ODY0IDQuOTQyNzkgMS4xMjAwOUM0LjA2MTQ0IDEuNTA5NyAyLjg3NTQxIDEuODgzNzcgMS41ODk4NCAxLjg4Mzc3SDAuNzE0ODQ0VjIuNzU4NzdWNi45ODAxNUMwLjcxNDg0NCA5LjQ5Mzc0IDIuMjg4NjYgMTEuMTk3MyAzLjcwMjU0IDEyLjIxODVDNC40MTg0NSAxMi43MzU1IDUuMTI4NzQgMTMuMTA1MyA1LjY1NzMzIDEzLjM0NTdDNS45MjI4NCAxMy40NjY0IDYuMTQ1NjYgMTMuNTU1OSA2LjMwNDY1IDEzLjYxNjFDNi4zODQyMyAxMy42NDYyIDYuNDQ4MDUgMTMuNjY5IDYuNDkzNDkgMTMuNjg0OEM2LjUxNjIyIDEzLjY5MjcgNi41MzQzOCAxMy42OTg5IDYuNTQ3NjQgMTMuNzAzM0w2LjU2MzgyIDEzLjcwODdMNi41NjkwOCAxMy43MTA0TDYuNTcwOTkgMTMuNzExTDYuODM5ODQgMTMuNzUzM0w2LjU3MjQyIDEzLjcxMTVDNi43NDYzMyAxMy43NjczIDYuOTMzMzUgMTMuNzY3MyA3LjEwNzI3IDEzLjcxMTVMNy4xMDg3IDEzLjcxMUw3LjExMDYxIDEzLjcxMDRMNy4xMTU4NyAxMy43MDg3TDcuMTMyMDUgMTMuNzAzM0M3LjE0NTMxIDEzLjY5ODkgNy4xNjM0NiAxMy42OTI3IDcuMTg2MTkgMTMuNjg0OEM3LjIzMTY0IDEzLjY2OSA3LjI5NTQ2IDEzLjY0NjIgNy4zNzUwMyAxMy42MTYxQzcuNTM0MDMgMTMuNTU1OSA3Ljc1Njg1IDEzLjQ2NjQgOC4wMjIzNiAxMy4zNDU3QzguNTUwOTUgMTMuMTA1MyA5LjI2MTIzIDEyLjczNTUgOS45NzcxNSAxMi4yMTg1QzExLjM5MSAxMS4xOTczIDEyLjk2NDggOS40OTM3NyAxMi45NjQ4IDYuOTgwMThWMi43NTg4QzEyLjk2NDggMi43MTY2IDEyLjk2MTkgMi42NzUxMSAxMi45NTYxIDIuNjM0NTFWMS44ODM3N0gxMi4wODExQzEyLjA3NzUgMS44ODM3NyAxMi4wNzQgMS44ODM3NyAxMi4wNzA0IDEuODgzNzdDMTAuNzk3OSAxLjg4MDA0IDkuNjE5NjIgMS41MTEwMiA4LjczODk0IDEuMTI0ODZDOC43MzUzNCAxLjEyMzI3IDguNzMxNzQgMS4xMjE2OCA4LjcyODE0IDEuMTIwMDlDOC4yOTEwMyAwLjkyNjg2NCA3LjkzODQyIDAuNzM0MDU5IDcuNjk3NzkgMC41OTEzNzNDNy41Nzc3MiAwLjUyMDE3MSA3LjQ4NjIyIDAuNDYxODYgNy40MjY3NiAwLjQyMjc4OUM3LjM5NzA1IDAuNDAzMjY2IDcuMzc1MzkgMC4zODg1ODggNy4zNjIyNCAwLjM3OTU1NEw3LjM0ODk2IDAuMzcwMzVDNy4zNDg5NiAwLjM3MDM1IDcuMzQ4NDcgMC4zNzAwMiA3LjM0NTYzIDAuMzc0MDU0TDcuMzM3NzkgMC4zNjg2NTlMNy4zMzYwOSAwLjM2NzQ3NVpNOC4wMzQ3MSAyLjcyNjkxQzguODYwNCAzLjA5MDYzIDkuOTYwNjYgMy40NjMwOSAxMS4yMDYxIDMuNTg5MDdWNi45ODAxNUgxMS4yMTQ4QzExLjIxNDggOC42Nzk1MyAxMC4xNjM3IDkuOTI1MDcgOC45NTI1NCAxMC43OTk4QzguMzU1OTUgMTEuMjMwNiA3Ljc1Mzc0IDExLjU0NTQgNy4yOTc5NiAxMS43NTI3QzcuMTE2NzEgMTEuODM1MSA2Ljk2MDYyIDExLjg5OTYgNi44Mzk4NCAxMS45NDY5QzYuNzE5MDYgMTEuODk5NiA2LjU2Mjk3IDExLjgzNTEgNi4zODE3MyAxMS43NTI3QzUuOTI1OTUgMTEuNTQ1NCA1LjMyMzczIDExLjIzMDYgNC43MjcxNSAxMC43OTk4QzMuNTE2MDMgOS45MjUwNyAyLjQ2NDg0IDguNjc5NTUgMi40NjQ4NCA2Ljk4MDE4VjMuNTg5MDlDMy43MTczOCAzLjQ2MjM5IDQuODIzMDggMy4wODYzOSA1LjY1MDMzIDIuNzIwNzFDNi4xNDIyOCAyLjUwMzI0IDYuNTQ0ODUgMi4yODUzNyA2LjgzMjU0IDIuMTE2MjRDNy4xMjE4MSAyLjI4NTM1IDcuNTI3IDIuNTAzNTIgOC4wMjE5NiAyLjcyMTMxQzguMDI2MiAyLjcyMzE3IDguMDMwNDUgMi43MjUwNCA4LjAzNDcxIDIuNzI2OTFaTTUuOTY0ODQgMy40MDE0N1Y3Ljc3NjQ3SDcuNzE0ODRWMy40MDE0N0g1Ljk2NDg0Wk01Ljk2NDg0IDEwLjQwMTVWOC42NTE0N0g3LjcxNDg0VjEwLjQwMTVINS45NjQ4NFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNC43NzY5IDE0LjczMzdMOC42NTE5MiAyLjQ4MzY5QzguMzI5NDYgMS44Mzg3NyA3LjQwOTEzIDEuODM4NzcgNy4wODY2NyAyLjQ4MzY5TDAuOTYxNjY5IDE0LjczMzdDMC42NzA3NzUgMTUuMzE1NSAxLjA5MzgzIDE2IDEuNzQ0MjkgMTZIMTMuOTk0M0MxNC42NDQ4IDE2IDE1LjA2NzggMTUuMzE1NSAxNC43NzY5IDE0LjczMzdaTTMuMTYwMDcgMTQuMjVMNy44NjkyOSA0LjgzMTU2TDEyLjU3ODUgMTQuMjVIMy4xNjAwN1pNOC43NDQyOSAxMS42MjVWMTMuMzc1SDYuOTk0MjlWMTEuNjI1SDguNzQ0MjlaTTYuOTk0MjkgMTAuNzVWNy4yNUg4Ljc0NDI5VjEwLjc1SDYuOTk0MjlaIiBmaWxsPSIjRUM3MjExIi8+CjxwYXRoIGQ9Ik0xMS4xOTkxIDIuOTUyMzhDMTAuODgwOSAyLjMxNDY3IDEwLjM1MzcgMS44MDUyNiA5LjcwNTUgMS41MDlMMTEuMDQxIDEuMDY5NzhDMTEuNjg4MyAwLjk0OTgxNCAxMi4zMzcgMS4yNzI2MyAxMi42MzE3IDEuODYxNDFMMTcuNjEzNiAxMS44MTYxQzE4LjM1MjcgMTMuMjkyOSAxNy41OTM4IDE1LjA4MDQgMTYuMDE4IDE1LjU3NDVDMTYuNDA0NCAxNC40NTA3IDE2LjMyMzEgMTMuMjE4OCAxNS43OTI0IDEyLjE1NTVMMTEuMTk5MSAyLjk1MjM4WiIgZmlsbD0iI0VDNzIxMSIvPgo8L3N2Zz4=");\n background-color: darkorange;\n}\n\n.ace_scrollbar {\n contain: strict;\n position: absolute;\n right: 0;\n bottom: 0;\n z-index: 6;\n}\n\n.ace_scrollbar-inner {\n position: absolute;\n cursor: text;\n left: 0;\n top: 0;\n}\n\n.ace_scrollbar-v{\n overflow-x: hidden;\n overflow-y: scroll;\n top: 0;\n}\n\n.ace_scrollbar-h {\n overflow-x: scroll;\n overflow-y: hidden;\n left: 0;\n}\n\n.ace_print-margin {\n position: absolute;\n height: 100%;\n}\n\n.ace_text-input {\n position: absolute;\n z-index: 0;\n width: 0.5em;\n height: 1em;\n opacity: 0;\n background: transparent;\n -moz-appearance: none;\n appearance: none;\n border: none;\n resize: none;\n outline: none;\n overflow: hidden;\n font: inherit;\n padding: 0 1px;\n margin: 0 -1px;\n contain: strict;\n -ms-user-select: text;\n -moz-user-select: text;\n -webkit-user-select: text;\n user-select: text;\n /*with `pre-line` chrome inserts   instead of space*/\n white-space: pre!important;\n}\n.ace_text-input.ace_composition {\n background: transparent;\n color: inherit;\n z-index: 1000;\n opacity: 1;\n}\n.ace_composition_placeholder { color: transparent }\n.ace_composition_marker { \n border-bottom: 1px solid;\n position: absolute;\n border-radius: 0;\n margin-top: 1px;\n}\n\n[ace_nocontext=true] {\n transform: none!important;\n filter: none!important;\n clip-path: none!important;\n mask : none!important;\n contain: none!important;\n perspective: none!important;\n mix-blend-mode: initial!important;\n z-index: auto;\n}\n\n.ace_layer {\n z-index: 1;\n position: absolute;\n overflow: hidden;\n /* workaround for chrome bug https://github.com/ajaxorg/ace/issues/2312*/\n word-wrap: normal;\n white-space: pre;\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n /* setting pointer-events: auto; on node under the mouse, which changes\n during scroll, will break mouse wheel scrolling in Safari */\n pointer-events: none;\n}\n\n.ace_gutter-layer {\n position: relative;\n width: auto;\n text-align: right;\n pointer-events: auto;\n height: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer {\n font: inherit !important;\n position: absolute;\n height: 1000000px;\n width: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group {\n contain: style size layout;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n}\n\n.ace_hidpi .ace_text-layer,\n.ace_hidpi .ace_gutter-layer,\n.ace_hidpi .ace_content,\n.ace_hidpi .ace_gutter {\n contain: strict;\n}\n.ace_hidpi .ace_text-layer > .ace_line, \n.ace_hidpi .ace_text-layer > .ace_line_group {\n contain: strict;\n}\n\n.ace_cjk {\n display: inline-block;\n text-align: center;\n}\n\n.ace_cursor-layer {\n z-index: 4;\n}\n\n.ace_cursor {\n z-index: 4;\n position: absolute;\n box-sizing: border-box;\n border-left: 2px solid;\n /* workaround for smooth cursor repaintng whole screen in chrome */\n transform: translatez(0);\n}\n\n.ace_multiselect .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_slim-cursors .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_overwrite-cursors .ace_cursor {\n border-left-width: 0;\n border-bottom: 1px solid;\n}\n\n.ace_hidden-cursors .ace_cursor {\n opacity: 0.2;\n}\n\n.ace_hasPlaceholder .ace_hidden-cursors .ace_cursor {\n opacity: 0;\n}\n\n.ace_smooth-blinking .ace_cursor {\n transition: opacity 0.18s;\n}\n\n.ace_animate-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: step-end;\n animation-name: blink-ace-animate;\n animation-iteration-count: infinite;\n}\n\n.ace_animate-blinking.ace_smooth-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: ease-in-out;\n animation-name: blink-ace-animate-smooth;\n}\n \n@keyframes blink-ace-animate {\n from, to { opacity: 1; }\n 60% { opacity: 0; }\n}\n\n@keyframes blink-ace-animate-smooth {\n from, to { opacity: 1; }\n 45% { opacity: 1; }\n 60% { opacity: 0; }\n 85% { opacity: 0; }\n}\n\n.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {\n position: absolute;\n z-index: 3;\n}\n\n.ace_marker-layer .ace_selection {\n position: absolute;\n z-index: 5;\n}\n\n.ace_marker-layer .ace_bracket {\n position: absolute;\n z-index: 6;\n}\n\n.ace_marker-layer .ace_error_bracket {\n position: absolute;\n border-bottom: 1px solid #DE5555;\n border-radius: 0;\n}\n\n.ace_marker-layer .ace_active-line {\n position: absolute;\n z-index: 2;\n}\n\n.ace_marker-layer .ace_selected-word {\n position: absolute;\n z-index: 4;\n box-sizing: border-box;\n}\n\n.ace_line .ace_fold {\n box-sizing: border-box;\n\n display: inline-block;\n height: 11px;\n margin-top: -2px;\n vertical-align: middle;\n\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");\n background-repeat: no-repeat, repeat-x;\n background-position: center center, top left;\n color: transparent;\n\n border: 1px solid black;\n border-radius: 2px;\n\n cursor: pointer;\n pointer-events: auto;\n}\n\n.ace_dark .ace_fold {\n}\n\n.ace_fold:hover{\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");\n}\n\n.ace_tooltip {\n background-color: #f5f5f5;\n border: 1px solid gray;\n border-radius: 1px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n color: black;\n max-width: 100%;\n padding: 3px 4px;\n position: fixed;\n z-index: 999999;\n box-sizing: border-box;\n cursor: default;\n white-space: pre-wrap;\n word-wrap: break-word;\n line-height: normal;\n font-style: normal;\n font-weight: normal;\n letter-spacing: normal;\n pointer-events: none;\n overflow: auto;\n max-width: min(60em, 66vw);\n overscroll-behavior: contain;\n}\n.ace_tooltip pre {\n white-space: pre-wrap;\n}\n\n.ace_tooltip.ace_dark {\n background-color: #636363;\n color: #fff;\n}\n\n.ace_tooltip:focus {\n outline: 1px solid #5E9ED6;\n}\n\n.ace_icon {\n display: inline-block;\n width: 18px;\n vertical-align: top;\n}\n\n.ace_icon_svg {\n display: inline-block;\n width: 12px;\n vertical-align: top;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-size: 12px;\n -webkit-mask-position: center;\n}\n\n.ace_folding-enabled > .ace_gutter-cell, .ace_folding-enabled > .ace_gutter-cell_svg-icons {\n padding-right: 13px;\n}\n\n.ace_fold-widget {\n box-sizing: border-box;\n\n margin: 0 -12px 0 1px;\n display: none;\n width: 11px;\n vertical-align: top;\n\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: center;\n\n border-radius: 3px;\n \n border: 1px solid transparent;\n cursor: pointer;\n}\n\n.ace_folding-enabled .ace_fold-widget {\n display: inline-block; \n}\n\n.ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");\n}\n\n.ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");\n}\n\n.ace_fold-widget:hover {\n border: 1px solid rgba(0, 0, 0, 0.3);\n background-color: rgba(255, 255, 255, 0.2);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);\n}\n\n.ace_fold-widget:active {\n border: 1px solid rgba(0, 0, 0, 0.4);\n background-color: rgba(0, 0, 0, 0.05);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);\n}\n/**\n * Dark version for fold widgets\n */\n.ace_dark .ace_fold-widget {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");\n}\n.ace_dark .ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget:hover {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n background-color: rgba(255, 255, 255, 0.1);\n}\n.ace_dark .ace_fold-widget:active {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n}\n\n.ace_inline_button {\n border: 1px solid lightgray;\n display: inline-block;\n margin: -1px 8px;\n padding: 0 5px;\n pointer-events: auto;\n cursor: pointer;\n}\n.ace_inline_button:hover {\n border-color: gray;\n background: rgba(200,200,200,0.2);\n display: inline-block;\n pointer-events: auto;\n}\n\n.ace_fold-widget.ace_invalid {\n background-color: #FFB4B4;\n border-color: #DE5555;\n}\n\n.ace_fade-fold-widgets .ace_fold-widget {\n transition: opacity 0.4s ease 0.05s;\n opacity: 0;\n}\n\n.ace_fade-fold-widgets:hover .ace_fold-widget {\n transition: opacity 0.05s ease 0.05s;\n opacity:1;\n}\n\n.ace_underline {\n text-decoration: underline;\n}\n\n.ace_bold {\n font-weight: bold;\n}\n\n.ace_nobold .ace_bold {\n font-weight: normal;\n}\n\n.ace_italic {\n font-style: italic;\n}\n\n\n.ace_error-marker {\n background-color: rgba(255, 0, 0,0.2);\n position: absolute;\n z-index: 9;\n}\n\n.ace_highlight-marker {\n background-color: rgba(255, 255, 0,0.2);\n position: absolute;\n z-index: 8;\n}\n\n.ace_mobile-menu {\n position: absolute;\n line-height: 1.5;\n border-radius: 4px;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n background: white;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #dcdcdc;\n color: black;\n}\n.ace_dark > .ace_mobile-menu {\n background: #333;\n color: #ccc;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #444;\n\n}\n.ace_mobile-button {\n padding: 2px;\n cursor: pointer;\n overflow: hidden;\n}\n.ace_mobile-button:hover {\n background-color: #eee;\n opacity:1;\n}\n.ace_mobile-button:active {\n background-color: #ddd;\n}\n\n.ace_placeholder {\n position: relative;\n font-family: arial;\n transform: scale(0.9);\n transform-origin: left;\n white-space: pre;\n opacity: 0.7;\n margin: 0 10px;\n z-index: 1;\n}\n\n.ace_ghost_text {\n opacity: 0.5;\n font-style: italic;\n}\n\n.ace_ghost_text_container > div {\n white-space: pre;\n}\n\n.ghost_text_line_wrapped::after {\n content: "↩";\n position: absolute;\n}\n\n.ace_lineWidgetContainer.ace_ghost_text {\n margin: 0px 4px\n}\n\n.ace_screenreader-only {\n position:absolute;\n left:-10000px;\n top:auto;\n width:1px;\n height:1px;\n overflow:hidden;\n}\n\n.ace_hidden_token {\n display: none;\n}'}),ace.define("ace/layer/decorators",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter"],function(E,x,z){var k=E("../lib/dom"),M=E("../lib/oop"),S=E("../lib/event_emitter").EventEmitter,a=(function(){function c(o,i){this.canvas=k.createElement("canvas"),this.renderer=i,this.pixelRatio=1,this.maxHeight=i.layerConfig.maxHeight,this.lineHeight=i.layerConfig.lineHeight,this.canvasHeight=o.parent.scrollHeight,this.heightRatio=this.canvasHeight/this.maxHeight,this.canvasWidth=o.width,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.canvas.style.top="0px",this.canvas.style.right="0px",this.canvas.style.zIndex="7px",this.canvas.style.position="absolute",this.colors={},this.colors.dark={error:"rgba(255, 18, 18, 1)",warning:"rgba(18, 136, 18, 1)",info:"rgba(18, 18, 136, 1)"},this.colors.light={error:"rgb(255,51,51)",warning:"rgb(32,133,72)",info:"rgb(35,68,138)"},o.element.appendChild(this.canvas)}return c.prototype.$updateDecorators=function(o){var i=this.renderer.theme.isDark===!0?this.colors.dark:this.colors.light;if(o){this.maxHeight=o.maxHeight,this.lineHeight=o.lineHeight,this.canvasHeight=o.height;var n=(o.lastRow+1)*this.lineHeight;nf.priority?1:0}var r=this.renderer.session.$annotations;if(t.clearRect(0,0,this.canvas.width,this.canvas.height),r){var s={info:1,warning:2,error:3};r.forEach(function(w){w.priority=s[w.type]||null}),r=r.sort(e);for(var l=this.renderer.session.$foldData,u=0;uthis.canvasHeight&&(A=this.canvasHeight-this.halfMinDecorationHeight),d=Math.round(A-this.halfMinDecorationHeight),$=Math.round(A+this.halfMinDecorationHeight)}t.fillStyle=i[r[u].type]||null,t.fillRect(0,g,this.canvasWidth,$-d)}}var C=this.renderer.session.selection.getCursor();if(C){var m=this.compensateFoldRows(C.row,l),g=Math.round((C.row-m)*this.lineHeight*this.heightRatio);t.fillStyle="rgba(0, 0, 0, 0.5)",t.fillRect(0,g,this.canvasWidth,2)}},c.prototype.compensateFoldRows=function(o,i){var n=0;if(i&&i.length>0)for(var t=0;ti[t].start.row&&o=i[t].end.row&&(n+=i[t].end.row-i[t].start.row);return n},c})();M.implement(a.prototype,S),x.Decorator=a}),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/scrollbar_custom","ace/scrollbar_custom","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/css/editor-css","ace/layer/decorators","ace/lib/useragent","ace/layer/text_util"],function(E,x,z){var k=E("./lib/oop"),M=E("./lib/dom"),S=E("./lib/lang"),a=E("./config"),c=E("./layer/gutter").Gutter,o=E("./layer/marker").Marker,i=E("./layer/text").Text,n=E("./layer/cursor").Cursor,t=E("./scrollbar").HScrollBar,e=E("./scrollbar").VScrollBar,r=E("./scrollbar_custom").HScrollBar,s=E("./scrollbar_custom").VScrollBar,l=E("./renderloop").RenderLoop,u=E("./layer/font_metrics").FontMetrics,b=E("./lib/event_emitter").EventEmitter,m=E("./css/editor-css"),g=E("./layer/decorators").Decorator,d=E("./lib/useragent"),$=E("./layer/text_util").isTextToken;M.importCssString(m,"ace_editor.css?v=1774508183068",!1);var T=(function(){function A(C,w){var f=this;this.container=C||M.createElement("div"),M.addCssClass(this.container,"ace_editor"),M.HI_DPI&&M.addCssClass(this.container,"ace_hidpi"),this.setTheme(w),a.get("useStrictCSP")==null&&a.set("useStrictCSP",!1),this.$gutter=M.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden","true"),this.scroller=M.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=M.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new c(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new o(this.content);var p=this.$textLayer=new i(this.content);this.canvas=p.element,this.$markerFront=new o(this.content),this.$cursorLayer=new n(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new e(this.container,this),this.scrollBarH=new t(this.container,this),this.scrollBarV.on("scroll",function(h){f.$scrollAnimation||f.session.setScrollTop(h.data-f.scrollMargin.top)}),this.scrollBarH.on("scroll",function(h){f.$scrollAnimation||f.session.setScrollLeft(h.data-f.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new u(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",function(h){f.updateCharacterSize(),f.onResize(!0,f.gutterWidth,f.$size.width,f.$size.height),f._signal("changeCharacterSize",h)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!d.isIOS,this.$loop=new l(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),this.$addResizeObserver(),a.resetOptions(this),a._signal("renderer",this)}return A.prototype.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),M.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},A.prototype.setSession=function(C){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=C,C&&this.scrollMargin.top&&C.getScrollTop()<=0&&C.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(C),this.$markerBack.setSession(C),this.$markerFront.setSession(C),this.$gutterLayer.setSession(C),this.$textLayer.setSession(C),C&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},A.prototype.updateLines=function(C,w,f){if(w===void 0&&(w=1/0),this.$changedLines?(this.$changedLines.firstRow>C&&(this.$changedLines.firstRow=C),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},A.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},A.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},A.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},A.prototype.updateFull=function(C){C?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},A.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},A.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},A.prototype.onResize=function(C,w,f,p){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=C?1:0;var h=this.container;p||(p=h.clientHeight||h.scrollHeight),!p&&this.$maxLines&&this.lineHeight>1&&(!h.style.height||h.style.height=="0px")&&(h.style.height="1px",p=h.clientHeight||h.scrollHeight),f||(f=h.clientWidth||h.scrollWidth);var v=this.$updateCachedSize(C,w,f,p);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!f&&!p)return this.resizing=0;C&&(this.$gutterLayer.$padding=null),C?this.$renderChanges(v|this.$changes,!0):this.$loop.schedule(v|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},A.prototype.$updateCachedSize=function(C,w,f,p){p-=this.$extraHeight||0;var h=0,v=this.$size,y={width:v.width,height:v.height,scrollerHeight:v.scrollerHeight,scrollerWidth:v.scrollerWidth};if(p&&(C||v.height!=p)&&(v.height=p,h|=this.CHANGE_SIZE,v.scrollerHeight=v.height,this.$horizScroll&&(v.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(v.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",h=h|this.CHANGE_SCROLL),f&&(C||v.width!=f)){h|=this.CHANGE_SIZE,v.width=f,w==null&&(w=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=w,M.setStyle(this.scrollBarH.element.style,"left",w+"px"),M.setStyle(this.scroller.style,"left",w+this.margin.left+"px"),v.scrollerWidth=Math.max(0,f-w-this.scrollBarV.getWidth()-this.margin.h),M.setStyle(this.$gutter.style,"left",this.margin.left+"px");var L=this.scrollBarV.getWidth()+"px";M.setStyle(this.scrollBarH.element.style,"right",L),M.setStyle(this.scroller.style,"right",L),M.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(v.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||C)&&(h|=this.CHANGE_FULL)}return v.$dirty=!f||!p,h&&this._signal("resize",y),h},A.prototype.onGutterResize=function(C){var w=this.$showGutter?C:0;w!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,w,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()?this.$loop.schedule(this.CHANGE_FULL):this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},A.prototype.adjustWrapLimit=function(){var C=this.$size.scrollerWidth-this.$padding*2,w=Math.floor(C/this.characterWidth);return this.session.adjustWrapLimit(w,this.$showPrintMargin&&this.$printMarginColumn)},A.prototype.setAnimatedScroll=function(C){this.setOption("animatedScroll",C)},A.prototype.getAnimatedScroll=function(){return this.$animatedScroll},A.prototype.setShowInvisibles=function(C){this.setOption("showInvisibles",C),this.session.$bidiHandler.setShowInvisibles(C)},A.prototype.getShowInvisibles=function(){return this.getOption("showInvisibles")},A.prototype.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},A.prototype.setDisplayIndentGuides=function(C){this.setOption("displayIndentGuides",C)},A.prototype.getHighlightIndentGuides=function(){return this.getOption("highlightIndentGuides")},A.prototype.setHighlightIndentGuides=function(C){this.setOption("highlightIndentGuides",C)},A.prototype.setShowPrintMargin=function(C){this.setOption("showPrintMargin",C)},A.prototype.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},A.prototype.setPrintMarginColumn=function(C){this.setOption("printMarginColumn",C)},A.prototype.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},A.prototype.getShowGutter=function(){return this.getOption("showGutter")},A.prototype.setShowGutter=function(C){return this.setOption("showGutter",C)},A.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},A.prototype.setFadeFoldWidgets=function(C){this.setOption("fadeFoldWidgets",C)},A.prototype.setHighlightGutterLine=function(C){this.setOption("highlightGutterLine",C)},A.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},A.prototype.$updatePrintMargin=function(){if(!(!this.$showPrintMargin&&!this.$printMarginEl)){if(!this.$printMarginEl){var C=M.createElement("div");C.className="ace_layer ace_print-margin-layer",this.$printMarginEl=M.createElement("div"),this.$printMarginEl.className="ace_print-margin",C.appendChild(this.$printMarginEl),this.content.insertBefore(C,this.content.firstChild)}var w=this.$printMarginEl.style;w.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",w.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&this.session.$wrap==-1&&this.adjustWrapLimit()}},A.prototype.getContainerElement=function(){return this.container},A.prototype.getMouseEventTarget=function(){return this.scroller},A.prototype.getTextAreaContainer=function(){return this.container},A.prototype.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var C=this.textarea.style,w=this.$composition;if(!this.$keepTextAreaAtCursor&&!w){M.translate(this.textarea,-100,0);return}var f=this.$cursorLayer.$pixelPos;if(f){w&&w.markerRange&&(f=this.$cursorLayer.getPixelPosition(w.markerRange.start,!0));var p=this.layerConfig,h=f.top,v=f.left;h-=p.offset;var y=w&&w.useTextareaForIME||d.isMobile?this.lineHeight:1;if(h<0||h>p.height-y){M.translate(this.textarea,0,0);return}var L=1,R=this.$size.height-y;if(!w)h+=this.lineHeight;else if(w.useTextareaForIME){var _=this.textarea.value;L=this.characterWidth*this.session.$getStringScreenWidth(_)[0]}else h+=this.lineHeight+2;v-=this.scrollLeft,v>this.$size.scrollerWidth-L&&(v=this.$size.scrollerWidth-L),v+=this.gutterWidth+this.margin.left,M.setStyle(C,"height",y+"px"),M.setStyle(C,"width",L+"px"),M.translate(this.textarea,Math.min(v,this.$size.scrollerWidth-L),Math.min(h,R))}}},A.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},A.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(this.layerConfig.offset===0?0:1)},A.prototype.getLastFullyVisibleRow=function(){var C=this.layerConfig,w=C.lastRow,f=this.session.documentToScreenRow(w,0)*C.lineHeight;return f-this.session.getScrollTop()>C.height-C.lineHeight?w-1:w},A.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},A.prototype.setPadding=function(C){this.$padding=C,this.$textLayer.setPadding(C),this.$cursorLayer.setPadding(C),this.$markerFront.setPadding(C),this.$markerBack.setPadding(C),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},A.prototype.setScrollMargin=function(C,w,f,p){var h=this.scrollMargin;h.top=C|0,h.bottom=w|0,h.right=p|0,h.left=f|0,h.v=h.top+h.bottom,h.h=h.left+h.right,h.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-h.top),this.updateFull()},A.prototype.setMargin=function(C,w,f,p){var h=this.margin;h.top=C|0,h.bottom=w|0,h.right=p|0,h.left=f|0,h.v=h.top+h.bottom,h.h=h.left+h.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},A.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},A.prototype.setHScrollBarAlwaysVisible=function(C){this.setOption("hScrollBarAlwaysVisible",C)},A.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},A.prototype.setVScrollBarAlwaysVisible=function(C){this.setOption("vScrollBarAlwaysVisible",C)},A.prototype.$updateScrollBarV=function(){var C=this.layerConfig.maxHeight,w=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(C-=(w-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>C-w&&(C=this.scrollTop+w,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(C+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},A.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},A.prototype.freeze=function(){this.$frozen=!0},A.prototype.unfreeze=function(){this.$frozen=!1},A.prototype.$renderChanges=function(C,w){if(this.$changes&&(C|=this.$changes,this.$changes=0),!this.session||!this.container.offsetWidth||this.$frozen||!C&&!w){this.$changes|=C;return}if(this.$size.$dirty)return this.$changes|=C,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",C),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var f=this.layerConfig;if(C&this.CHANGE_FULL||C&this.CHANGE_SIZE||C&this.CHANGE_TEXT||C&this.CHANGE_LINES||C&this.CHANGE_SCROLL||C&this.CHANGE_H_SCROLL){if(C|=this.$computeLayerConfig()|this.$loop.clear(),f.firstRow!=this.layerConfig.firstRow&&f.firstRowScreen==this.layerConfig.firstRowScreen){var p=this.scrollTop+(f.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;p>0&&(this.scrollTop=p,C=C|this.CHANGE_SCROLL,C|=this.$computeLayerConfig()|this.$loop.clear())}f=this.layerConfig,this.$updateScrollBarV(),C&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),M.translate(this.content,-this.scrollLeft,-f.offset);var h=f.width+2*this.$padding+"px",v=f.minHeight+"px";M.setStyle(this.content.style,"width",h),M.setStyle(this.content.style,"height",v)}if(C&this.CHANGE_H_SCROLL&&(M.translate(this.content,-this.scrollLeft,-f.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility&&(this.scroller.className+=this.keyboardFocusClassName)),C&this.CHANGE_FULL){this.$changedLines=null,this.$textLayer.update(f),this.$showGutter&&this.$gutterLayer.update(f),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(f),this.$markerBack.update(f),this.$markerFront.update(f),this.$cursorLayer.update(f),this.$moveTextAreaToCursor(),this._signal("afterRender",C);return}if(C&this.CHANGE_SCROLL){this.$changedLines=null,C&this.CHANGE_TEXT||C&this.CHANGE_LINES?this.$textLayer.update(f):this.$textLayer.scrollLines(f),this.$showGutter&&(C&this.CHANGE_GUTTER||C&this.CHANGE_LINES?this.$gutterLayer.update(f):this.$gutterLayer.scrollLines(f)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(f),this.$markerBack.update(f),this.$markerFront.update(f),this.$cursorLayer.update(f),this.$moveTextAreaToCursor(),this._signal("afterRender",C);return}C&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(f),this.$showGutter&&this.$gutterLayer.update(f),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(f)):C&this.CHANGE_LINES?((this.$updateLines()||C&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(f),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(f)):C&this.CHANGE_TEXT||C&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(f),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(f)):C&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(f),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(f)),C&this.CHANGE_CURSOR&&(this.$cursorLayer.update(f),this.$moveTextAreaToCursor()),C&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(f),C&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(f),this._signal("afterRender",C)},A.prototype.$autosize=function(){var C=this.session.getScreenLength()*this.lineHeight,w=this.$maxLines*this.lineHeight,f=Math.min(w,Math.max((this.$minLines||1)*this.lineHeight,C))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(f+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&f>this.$maxPixelHeight&&(f=this.$maxPixelHeight);var p=f<=2*this.lineHeight,h=!p&&C>w;if(f!=this.desiredHeight||this.$size.height!=this.desiredHeight||h!=this.$vScroll){h!=this.$vScroll&&(this.$vScroll=h,this.scrollBarV.setVisible(h));var v=this.container.clientWidth;this.container.style.height=f+"px",this.$updateCachedSize(!0,this.$gutterWidth,v,f),this.desiredHeight=f,this._signal("autosize")}},A.prototype.$computeLayerConfig=function(){var C=this.session,w=this.$size,f=w.height<=2*this.lineHeight,p=this.session.getScreenLength(),h=p*this.lineHeight,v=this.$getLongestLine(),y=!f&&(this.$hScrollBarAlwaysVisible||w.scrollerWidth-v-2*this.$padding<0),L=this.$horizScroll!==y;L&&(this.$horizScroll=y,this.scrollBarH.setVisible(y));var R=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var _=w.scrollerHeight+this.lineHeight,I=!this.$maxLines&&this.$scrollPastEnd?(w.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;h+=I;var N=this.scrollMargin;this.session.setScrollTop(Math.max(-N.top,Math.min(this.scrollTop,h-w.scrollerHeight+N.bottom))),this.session.setScrollLeft(Math.max(-N.left,Math.min(this.scrollLeft,v+2*this.$padding-w.scrollerWidth+N.right)));var W=!f&&(this.$vScrollBarAlwaysVisible||w.scrollerHeight-h+I<0||this.scrollTop>N.top),O=R!==W;O&&(this.$vScroll=W,this.scrollBarV.setVisible(W));var D=this.scrollTop%this.lineHeight,F=Math.ceil(_/this.lineHeight)-1,H=Math.max(0,Math.round((this.scrollTop-D)/this.lineHeight)),P=H+F,U,j,V=this.lineHeight;H=C.screenToDocumentRow(H,0);var Y=C.getFoldLine(H);Y&&(H=Y.start.row),U=C.documentToScreenRow(H,0),j=C.getRowLength(H)*V,P=Math.min(C.screenToDocumentRow(P,0),C.getLength()-1),_=w.scrollerHeight+C.getRowLength(P)*V+j,D=this.scrollTop-U*V;var Z=0;return(this.layerConfig.width!=v||L)&&(Z=this.CHANGE_H_SCROLL),(L||O)&&(Z|=this.$updateCachedSize(!0,this.gutterWidth,w.width,w.height),this._signal("scrollbarVisibilityChanged"),O&&(v=this.$getLongestLine())),this.layerConfig={width:v,padding:this.$padding,firstRow:H,firstRowScreen:U,lastRow:P,lineHeight:V,characterWidth:this.characterWidth,minHeight:_,maxHeight:h,offset:D,gutterOffset:V?Math.max(0,Math.ceil((D+w.height-w.scrollerHeight)/V)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(v-this.$padding),Z},A.prototype.$updateLines=function(){if(this.$changedLines){var C=this.$changedLines.firstRow,w=this.$changedLines.lastRow;this.$changedLines=null;var f=this.layerConfig;if(!(C>f.lastRow+1)&&!(wthis.$textLayer.MAX_LINE_LENGTH&&(C=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(C*this.characterWidth))},A.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},A.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},A.prototype.addGutterDecoration=function(C,w){this.$gutterLayer.addGutterDecoration(C,w)},A.prototype.removeGutterDecoration=function(C,w){this.$gutterLayer.removeGutterDecoration(C,w)},A.prototype.updateBreakpoints=function(C){this._rows=C,this.$loop.schedule(this.CHANGE_GUTTER)},A.prototype.setAnnotations=function(C){this.$gutterLayer.setAnnotations(C),this.$loop.schedule(this.CHANGE_GUTTER)},A.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},A.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},A.prototype.showCursor=function(){this.$cursorLayer.showCursor()},A.prototype.scrollSelectionIntoView=function(C,w,f){this.scrollCursorIntoView(C,f),this.scrollCursorIntoView(w,f)},A.prototype.scrollCursorIntoView=function(C,w,f){if(this.$size.scrollerHeight!==0){var p=this.$cursorLayer.getPixelPosition(C),h=p.left,v=p.top,y=f&&f.top||0,L=f&&f.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var R=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;R+y>v?(w&&R+y>v+this.lineHeight&&(v-=w*this.$size.scrollerHeight),v===0&&(v=-this.scrollMargin.top),this.session.setScrollTop(v)):R+this.$size.scrollerHeight-L=1-this.scrollMargin.top||w>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||C<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||C>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right)return!0},A.prototype.pixelToScreenCoordinates=function(C,w){var f;if(this.$hasCssTransforms){f={top:0,left:0};var p=this.$fontMetrics.transformCoordinates([C,w]);C=p[1]-this.gutterWidth-this.margin.left,w=p[0]}else f=this.scroller.getBoundingClientRect();var h=C+this.scrollLeft-f.left-this.$padding,v=h/this.characterWidth,y=Math.floor((w+this.scrollTop-f.top)/this.lineHeight),L=this.$blockCursor?Math.floor(v):Math.round(v);return{row:y,column:L,side:v-L>0?1:-1,offsetX:h}},A.prototype.screenToTextCoordinates=function(C,w){var f;if(this.$hasCssTransforms){f={top:0,left:0};var p=this.$fontMetrics.transformCoordinates([C,w]);C=p[1]-this.gutterWidth-this.margin.left,w=p[0]}else f=this.scroller.getBoundingClientRect();var h=C+this.scrollLeft-f.left-this.$padding,v=h/this.characterWidth,y=this.$blockCursor?Math.floor(v):Math.round(v),L=Math.floor((w+this.scrollTop-f.top)/this.lineHeight);return this.session.screenToDocumentPosition(L,Math.max(y,0),h)},A.prototype.textToScreenCoordinates=function(C,w){var f=this.scroller.getBoundingClientRect(),p=this.session.documentToScreenPosition(C,w),h=this.$padding+(this.session.$bidiHandler.isBidiRow(p.row,C)?this.session.$bidiHandler.getPosLeft(p.column):Math.round(p.column*this.characterWidth)),v=p.row*this.lineHeight;return{pageX:f.left+h-this.scrollLeft,pageY:f.top+v-this.scrollTop}},A.prototype.visualizeFocus=function(){M.addCssClass(this.container,"ace_focus")},A.prototype.visualizeBlur=function(){M.removeCssClass(this.container,"ace_focus")},A.prototype.showComposition=function(C){this.$composition=C,C.cssText||(C.cssText=this.textarea.style.cssText),C.useTextareaForIME==null&&(C.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(M.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):C.markerId=this.session.addMarker(C.markerRange,"ace_composition_marker","text")},A.prototype.setCompositionText=function(C){var w=this.session.selection.cursor;this.addToken(C,"composition_placeholder",w.row,w.column),this.$moveTextAreaToCursor()},A.prototype.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),M.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var C=this.session.selection.cursor;this.removeExtraToken(C.row,C.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},A.prototype.setGhostText=function(C,w){var f=this.session.selection.cursor,p=w||{row:f.row,column:f.column};this.removeGhostText();var h=this.$calculateWrappedTextChunks(C,p);this.addToken(h[0].text,"ghost_text",p.row,p.column),this.$ghostText={text:C,position:{row:p.row,column:p.column}};var v=M.createElement("div");if(h.length>1){var y=this.hideTokensAfterPosition(p.row,p.column),L;h.slice(1).forEach(function(O){var D=M.createElement("div"),F=M.createElement("span");F.className="ace_ghost_text",O.wrapped&&(D.className="ghost_text_line_wrapped"),O.text.length===0&&(O.text=" "),F.appendChild(M.createTextNode(O.text)),D.appendChild(F),v.appendChild(D),L=D}),y.forEach(function(O){var D=M.createElement("span");$(O.type)||(D.className="ace_"+O.type.replace(/\./g," ace_")),D.appendChild(M.createTextNode(O.value)),L.appendChild(D)}),this.$ghostTextWidget={el:v,row:p.row,column:p.column,className:"ace_ghost_text_container"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget);var R=this.$cursorLayer.getPixelPosition(p,!0),_=this.container,I=_.getBoundingClientRect().height,N=h.length*this.lineHeight,W=N0){var _=0;R.push(h[y].length);for(var I=0;I1||Math.abs(C.$size.height-p)>1?C.$resizeTimer.delay():C.$resizeTimer.cancel()}),this.$resizeObserver.observe(this.container)}},A})();T.prototype.CHANGE_CURSOR=1,T.prototype.CHANGE_MARKER=2,T.prototype.CHANGE_GUTTER=4,T.prototype.CHANGE_SCROLL=8,T.prototype.CHANGE_LINES=16,T.prototype.CHANGE_TEXT=32,T.prototype.CHANGE_SIZE=64,T.prototype.CHANGE_MARKER_BACK=128,T.prototype.CHANGE_MARKER_FRONT=256,T.prototype.CHANGE_FULL=512,T.prototype.CHANGE_H_SCROLL=1024,T.prototype.$changes=0,T.prototype.$padding=null,T.prototype.$frozen=!1,T.prototype.STEPS=8,k.implement(T.prototype,b),a.defineOptions(T.prototype,"renderer",{useResizeObserver:{set:function(A){!A&&this.$resizeObserver?(this.$resizeObserver.disconnect(),this.$resizeTimer.cancel(),this.$resizeTimer=this.$resizeObserver=null):A&&!this.$resizeObserver&&this.$addResizeObserver()}},animatedScroll:{initialValue:!1},showInvisibles:{set:function(A){this.$textLayer.setShowInvisibles(A)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(A){typeof A=="number"&&(this.$printMarginColumn=A),this.$showPrintMargin=!!A,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(A){this.$gutter.style.display=A?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},useSvgGutterIcons:{set:function(A){this.$gutterLayer.$useSvgGutterIcons=A},initialValue:!1},showFoldedAnnotations:{set:function(A){this.$gutterLayer.$showFoldedAnnotations=A},initialValue:!1},fadeFoldWidgets:{set:function(A){M.setCssClass(this.$gutter,"ace_fade-fold-widgets",A)},initialValue:!1},showFoldWidgets:{set:function(A){this.$gutterLayer.setShowFoldWidgets(A),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(A){this.$textLayer.setDisplayIndentGuides(A)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightIndentGuides:{set:function(A){this.$textLayer.setHighlightIndentGuides(A)==!0?this.$textLayer.$highlightIndentGuide():this.$textLayer.$clearActiveIndentGuide(this.$textLayer.$lines.cells)},initialValue:!0},highlightGutterLine:{set:function(A){this.$gutterLayer.setHighlightGutterLine(A),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},hScrollBarAlwaysVisible:{set:function(A){(!this.$hScrollBarAlwaysVisible||!this.$horizScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(A){(!this.$vScrollBarAlwaysVisible||!this.$vScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(A){typeof A=="number"&&(A=A+"px"),this.container.style.fontSize=A,this.updateFontSize()},initialValue:12},fontFamily:{set:function(A){this.container.style.fontFamily=A,this.updateFontSize()}},maxLines:{set:function(A){this.updateFull()}},minLines:{set:function(A){this.$minLines<562949953421311||(this.$minLines=0),this.updateFull()}},maxPixelHeight:{set:function(A){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(A){A=+A||0,this.$scrollPastEnd!=A&&(this.$scrollPastEnd=A,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(A){this.$gutterLayer.$fixedWidth=!!A,this.$loop.schedule(this.CHANGE_GUTTER)}},customScrollbar:{set:function(A){this.$updateCustomScrollbar(A)},initialValue:!1},theme:{set:function(A){this.setTheme(A)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0},hasCssTransforms:{},useTextareaForIME:{initialValue:!d.isMobile&&!d.isIE}}),x.VirtualRenderer=T}),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],function(E,x,z){var k=E("../lib/oop"),M=E("../lib/net"),S=E("../lib/event_emitter").EventEmitter,a=E("../config");function c(t){var e="importScripts('"+M.qualifyURL(t)+"');";try{return new Blob([e],{type:"application/javascript"})}catch(l){var r=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder,s=new r;return s.append(e),s.getBlob("application/javascript")}}function o(t){if(typeof Worker>"u")return{postMessage:function(){},terminate:function(){}};if(a.get("loadWorkerFromBlob")){var e=c(t),r=window.URL||window.webkitURL,s=r.createObjectURL(e);return new Worker(s)}return new Worker(t)}var i=function(t){t.postMessage||(t=this.$createWorkerFromOldConfig.apply(this,arguments)),this.$worker=t,this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){k.implement(this,S),this.$createWorkerFromOldConfig=function(t,e,r,s,l){if(E.nameToUrl&&!E.toUrl&&(E.toUrl=E.nameToUrl),a.get("packaged")||!E.toUrl)s=s||a.moduleUrl(e,"worker");else{var u=this.$normalizePath;s=s||u(E.toUrl("ace/worker/worker.js?v=1774508183068",null,"_"));var b={};t.forEach(function(m){b[m]=u(E.toUrl(m,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}return this.$worker=o(s),l&&this.send("importScripts",l),this.$worker.postMessage({init:!0,tlns:b,module:e,classname:r}),this.$worker},this.onMessage=function(t){var e=t.data;switch(e.type){case"event":this._signal(e.name,{data:e.data});break;case"call":var r=this.callbacks[e.id];r&&(r(e.data),delete this.callbacks[e.id]);break;case"error":this.reportError(e.data);break;case"log":window.console&&console.log&&console.log.apply(console,e.data);break}},this.reportError=function(t){window.console&&console.error&&console.error(t)},this.$normalizePath=function(t){return M.qualifyURL(t)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker.onerror=function(t){t.preventDefault()},this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(t,e){this.$worker.postMessage({command:t,args:e})},this.call=function(t,e,r){if(r){var s=this.callbackId++;this.callbacks[s]=r,e.push(s)}this.send(t,e)},this.emit=function(t,e){try{e.data&&e.data.err&&(e.data.err={message:e.data.err.message,stack:e.data.err.stack,code:e.data.err.code}),this.$worker&&this.$worker.postMessage({event:t,data:{data:e.data}})}catch(r){console.error(r.stack)}},this.attachToDocument=function(t){this.$doc&&this.terminate(),this.$doc=t,this.call("setValue",[t.getValue()]),t.on("change",this.changeListener,!0)},this.changeListener=function(t){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),t.action=="insert"?this.deltaQueue.push(t.start,t.lines):this.deltaQueue.push(t.start,t.end)},this.$sendDeltaQueue=function(){var t=this.deltaQueue;t&&(this.deltaQueue=null,t.length>50&&t.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:t}))}}).call(i.prototype);var n=function(t,e,r){var s=null,l=!1,u=Object.create(S),b=[],m=new i({messageBuffer:b,terminate:function(){},postMessage:function(d){b.push(d),s&&(l?setTimeout(g):g())}});m.setEmitSync=function(d){l=d};var g=function(){var d=b.shift();d.command?s[d.command].apply(s,d.args):d.event&&u._signal(d.event,d.data)};return u.postMessage=function(d){m.onMessage({data:d})},u.callback=function(d,$){this.postMessage({type:"call",id:$,data:d})},u.emit=function(d,$){this.postMessage({type:"event",name:d,data:$})},a.loadModule(["worker",e],function(d){for(s=new d[r](u);b.length;)g()}),m};x.UIWorkerClient=n,x.WorkerClient=i,x.createWorker=o}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(E,x,z){var k=E("./range").Range,M=E("./lib/event_emitter").EventEmitter,S=E("./lib/oop"),a=(function(){function c(o,i,n,t,e,r){var s=this;this.length=i,this.session=o,this.doc=o.getDocument(),this.mainClass=e,this.othersClass=r,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate,!0),this.$others=t,this.$onCursorChange=function(){setTimeout(function(){s.onCursorChange()})},this.$pos=n;var l=o.getUndoManager().$undoStack||o.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=l.length,this.setup(),o.selection.on("changeCursor",this.$onCursorChange)}return c.prototype.setup=function(){var o=this,i=this.doc,n=this.session;this.selectionBefore=n.selection.toJSON(),n.selection.inMultiSelectMode&&n.selection.toSingleRange(),this.pos=i.createAnchor(this.$pos.row,this.$pos.column);var t=this.pos;t.$insertRight=!0,t.detach(),t.markerId=n.addMarker(new k(t.row,t.column,t.row,t.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(e){var r=i.createAnchor(e.row,e.column);r.$insertRight=!0,r.detach(),o.others.push(r)}),n.setUndoSelect(!1)},c.prototype.showOtherMarkers=function(){if(!this.othersActive){var o=this.session,i=this;this.othersActive=!0,this.others.forEach(function(n){n.markerId=o.addMarker(new k(n.row,n.column,n.row,n.column+i.length),i.othersClass,null,!1)})}},c.prototype.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var o=0;o=this.pos.column&&i.start.column<=this.pos.column+this.length+1,e=i.start.column-this.pos.column;if(this.updateAnchors(o),t&&(this.length+=n),t&&!this.session.$fromUndo){if(o.action==="insert")for(var r=this.others.length-1;r>=0;r--){var s=this.others[r],l={row:s.row,column:s.column+e};this.doc.insertMergedLines(l,o.lines)}else if(o.action==="remove")for(var r=this.others.length-1;r>=0;r--){var s=this.others[r],l={row:s.row,column:s.column+e};this.doc.remove(new k(l.row,l.column,l.row,l.column-n))}}this.$updating=!1,this.updateMarkers()}},c.prototype.updateAnchors=function(o){this.pos.onChange(o);for(var i=this.others.length;i--;)this.others[i].onChange(o);this.updateMarkers()},c.prototype.updateMarkers=function(){if(!this.$updating){var o=this,i=this.session,n=function(e,r){i.removeMarker(e.markerId),e.markerId=i.addMarker(new k(e.row,e.column,e.row,e.column+o.length),r,null,!1)};n(this.pos,this.mainClass);for(var t=this.others.length;t--;)n(this.others[t],this.othersClass)}},c.prototype.onCursorChange=function(o){if(!(this.$updating||!this.session)){var i=this.session.selection.getCursor();i.row===this.pos.row&&i.column>=this.pos.column&&i.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",o)):(this.hideOtherMarkers(),this._emit("cursorLeave",o))}},c.prototype.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},c.prototype.cancel=function(){if(this.$undoStackDepth!==-1){for(var o=this.session.getUndoManager(),i=(o.$undoStack||o.$undostack).length-this.$undoStackDepth,n=0;n1?M.multiSelect.joinSelections():M.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(M){M.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(M){M.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(M){M.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],x.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(M){M.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(M){return M&&M.inMultiSelectMode}}];var k=E("../keyboard/hash_handler").HashHandler;x.keyboardHandler=new k(x.multiSelectCommands)}),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],function(E,x,z){var k=E("./range_list").RangeList,M=E("./range").Range,S=E("./selection").Selection,a=E("./mouse/multi_select_handler").onMouseDown,c=E("./lib/event"),o=E("./lib/lang"),i=E("./commands/multi_select_commands");x.commands=i.defaultCommands.concat(i.multiSelectCommands);var n=E("./search").Search,t=new n;function e(m,g,d){return t.$options.wrap=!0,t.$options.needle=g,t.$options.backwards=d==-1,t.find(m)}var r=E("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(r.prototype),(function(){this.ranges=null,this.rangeList=null,this.addRange=function(m,g){if(m){if(!this.inMultiSelectMode&&this.rangeCount===0){var d=this.toOrientedRange();if(this.rangeList.add(d),this.rangeList.add(m),this.rangeList.ranges.length!=2)return this.rangeList.removeAll(),g||this.fromOrientedRange(m);this.rangeList.removeAll(),this.rangeList.add(d),this.$onAddRange(d)}m.cursor||(m.cursor=m.end);var $=this.rangeList.add(m);return this.$onAddRange(m),$.length&&this.$onRemoveRange($),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),g||this.fromOrientedRange(m)}},this.toSingleRange=function(m){m=m||this.ranges[0];var g=this.rangeList.removeAll();g.length&&this.$onRemoveRange(g),m&&this.fromOrientedRange(m)},this.substractPoint=function(m){var g=this.rangeList.substractPoint(m);if(g)return this.$onRemoveRange(g),g[0]},this.mergeOverlappingRanges=function(){var m=this.rangeList.merge();m.length&&this.$onRemoveRange(m)},this.$onAddRange=function(m){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(m),this._signal("addRange",{range:m})},this.$onRemoveRange=function(m){if(this.rangeCount=this.rangeList.ranges.length,this.rangeCount==1&&this.inMultiSelectMode){var g=this.rangeList.ranges.pop();m.push(g),this.rangeCount=0}for(var d=m.length;d--;){var $=this.ranges.indexOf(m[d]);this.ranges.splice($,1)}this._signal("removeRange",{ranges:m}),this.rangeCount===0&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),g=g||this.ranges[0],g&&!g.isEqual(this.getRange())&&this.fromOrientedRange(g)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new k,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var m=this.ranges.length?this.ranges:[this.getRange()],g=[],d=0;d1){var m=this.rangeList.ranges,g=m[m.length-1],d=M.fromPoints(m[0].start,g.end);this.toSingleRange(),this.setSelectionRange(d,g.cursor==g.start)}else{var $=this.session.documentToScreenPosition(this.cursor),T=this.session.documentToScreenPosition(this.anchor),A=this.rectangularRangeBlock($,T);A.forEach(this.addRange,this)}},this.rectangularRangeBlock=function(m,g,d){var $=[],T=m.column0;)_--;if(_>0)for(var I=0;$[I].isEmpty();)I++;for(var N=_;N>=I;N--)$[N].isEmpty()&&$.splice(N,1)}return $}}).call(S.prototype);var s=E("./editor").Editor;(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(m){m.cursor||(m.cursor=m.end);var g=this.getSelectionStyle();return m.marker=this.session.addMarker(m,"ace_selection",g),this.session.$selectionMarkers.push(m),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,m},this.removeSelectionMarker=function(m){if(m.marker){this.session.removeMarker(m.marker);var g=this.session.$selectionMarkers.indexOf(m);g!=-1&&this.session.$selectionMarkers.splice(g,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(m){for(var g=this.session.$selectionMarkers,d=m.length;d--;){var $=m[d];if($.marker){this.session.removeMarker($.marker);var T=g.indexOf($);T!=-1&&g.splice(T,1)}}this.session.selectionMarkerCount=g.length},this.$onAddRange=function(m){this.addSelectionMarker(m.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(m){this.removeSelectionMarkers(m.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(m){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(i.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(m){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(i.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(m){var g=m.command,d=m.editor;if(d.multiSelect){if(g.multiSelectAction)g.multiSelectAction=="forEach"?$=d.forEachSelection(g,m.args):g.multiSelectAction=="forEachLine"?$=d.forEachSelection(g,m.args,!0):g.multiSelectAction=="single"?(d.exitMultiSelectMode(),$=g.exec(d,m.args||{})):$=g.multiSelectAction(d,m.args||{});else{var $=g.exec(d,m.args||{});d.multiSelect.addRange(d.multiSelect.toOrientedRange()),d.multiSelect.mergeOverlappingRanges()}return $}},this.forEachSelection=function(m,g,d){if(!this.inVirtualSelectionMode){var $=d&&d.keepOrder,T=d==!0||d&&d.$byLines,A=this.session,C=this.selection,w=C.rangeList,f=($?C:w).ranges,p;if(!f.length)return m.exec?m.exec(this,g||{}):m(this,g||{});var h=C._eventRegistry;C._eventRegistry={};var v=new S(A);this.inVirtualSelectionMode=!0;for(var y=f.length;y--;){if(T)for(;y>0&&f[y].start.row==f[y-1].end.row;)y--;v.fromOrientedRange(f[y]),v.index=y,this.selection=A.selection=v;var L=m.exec?m.exec(this,g||{}):m(this,g||{});!p&&L!==void 0&&(p=L),v.toOrientedRange(f[y])}v.detach(),this.selection=A.selection=C,this.inVirtualSelectionMode=!1,C._eventRegistry=h,C.mergeOverlappingRanges(),C.ranges[0]&&C.fromOrientedRange(C.ranges[0]);var R=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),R&&R.from==R.to&&this.renderer.animateScrolling(R.from),p}},this.exitMultiSelectMode=function(){!this.inMultiSelectMode||this.inVirtualSelectionMode||this.multiSelect.toSingleRange()},this.getSelectedText=function(){var m="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var g=this.multiSelect.rangeList.ranges,d=[],$=0;$0);C<0&&(C=0),w>=p&&(w=p-1)}var v=this.session.removeFullLines(C,w);v=this.$reAlignText(v,f),this.session.insert({row:C,column:0},v.join("\n")+"\n"),f||(A.start.column=0,A.end.column=v[v.length-1].length),this.selection.setRange(A)}else{T.forEach(function(_){g.substractPoint(_.cursor)});var y=0,L=1/0,R=d.map(function(_){var I=_.cursor,N=m.getLine(I.row),W=N.substr(I.column).search(/\S/g);return W==-1&&(W=0),I.column>y&&(y=I.column),WO?m.insert(N,o.stringRepeat(" ",W-O)):m.remove(new M(N.row,N.column,N.row,N.column-W+O)),_.start.column=_.end.column=y,_.start.row=_.end.row=N.row,_.cursor=_.end}),g.fromOrientedRange(d[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}},this.$reAlignText=function(m,g){var d=!0,$=!0,T,A,C;return m.map(function(v){var y=v.match(/(\s*)(.*?)(\s*)([=:].*)/);return y?T==null?(T=y[1].length,A=y[2].length,C=y[3].length,y):(T+A+C!=y[1].length+y[2].length+y[3].length&&($=!1),T!=y[1].length&&(d=!1),T>y[1].length&&(T=y[1].length),Ay[3].length&&(C=y[3].length),y):[v]}).map(g?f:d?$?p:f:h);function w(v){return o.stringRepeat(" ",v)}function f(v){return v[2]?w(T)+v[2]+w(A-v[2].length+C)+v[4].replace(/^([=:])\s+/,"$1 "):v[0]}function p(v){return v[2]?w(T+A-v[2].length)+v[2]+w(C)+v[4].replace(/^([=:])\s+/,"$1 "):v[0]}function h(v){return v[2]?w(T)+v[2]+w(C)+v[4].replace(/^([=:])\s+/,"$1 "):v[0]}}}).call(s.prototype);function l(m,g){return m.row==g.row&&m.column==g.column}x.onSessionChange=function(m){var g=m.session;g&&!g.multiSelect&&(g.$selectionMarkers=[],g.selection.$initRangeList(),g.multiSelect=g.selection),this.multiSelect=g&&g.multiSelect;var d=m.oldSession;d&&(d.multiSelect.off("addRange",this.$onAddRange),d.multiSelect.off("removeRange",this.$onRemoveRange),d.multiSelect.off("multiSelect",this.$onMultiSelect),d.multiSelect.off("singleSelect",this.$onSingleSelect),d.multiSelect.lead.off("change",this.$checkMultiselectChange),d.multiSelect.anchor.off("change",this.$checkMultiselectChange)),g&&(g.multiSelect.on("addRange",this.$onAddRange),g.multiSelect.on("removeRange",this.$onRemoveRange),g.multiSelect.on("multiSelect",this.$onMultiSelect),g.multiSelect.on("singleSelect",this.$onSingleSelect),g.multiSelect.lead.on("change",this.$checkMultiselectChange),g.multiSelect.anchor.on("change",this.$checkMultiselectChange)),g&&this.inMultiSelectMode!=g.selection.inMultiSelectMode&&(g.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())};function u(m){m.$multiselectOnSessionChange||(m.$onAddRange=m.$onAddRange.bind(m),m.$onRemoveRange=m.$onRemoveRange.bind(m),m.$onMultiSelect=m.$onMultiSelect.bind(m),m.$onSingleSelect=m.$onSingleSelect.bind(m),m.$multiselectOnSessionChange=x.onSessionChange.bind(m),m.$checkMultiselectChange=m.$checkMultiselectChange.bind(m),m.$multiselectOnSessionChange(m),m.on("changeSession",m.$multiselectOnSessionChange),m.on("mousedown",a),m.commands.addCommands(i.defaultCommands),b(m))}function b(m){if(!m.textInput)return;var g=m.textInput.getElement(),d=!1;c.addListener(g,"keydown",function(T){var A=T.keyCode==18&&!(T.ctrlKey||T.shiftKey||T.metaKey);m.$blockSelectEnabled&&A?d||(m.renderer.setMouseCursor("crosshair"),d=!0):d&&$()},m),c.addListener(g,"keyup",$,m),c.addListener(g,"blur",$,m);function $(T){d&&(m.renderer.setMouseCursor(""),d=!1)}}x.MultiSelect=u,E("./config").defineOptions(s.prototype,"editor",{enableMultiselect:{set:function(m){u(this),m?this.on("mousedown",a):this.off("mousedown",a)},value:!0},enableBlockSelect:{set:function(m){this.$blockSelectEnabled=m},value:!0}})}),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(E,x,z){var k=E("../../range").Range,M=x.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(S,a,c){var o=S.getLine(c);return this.foldingStartMarker.test(o)?"start":a=="markbeginend"&&this.foldingStopMarker&&this.foldingStopMarker.test(o)?"end":""},this.getFoldWidgetRange=function(S,a,c){return null},this.indentationBlock=function(S,a,c){var o=/\S/,i=S.getLine(a),n=i.search(o);if(n!=-1){for(var t=c||i.length,e=S.getLength(),r=a,s=a;++ar){var b=S.getLine(s).length;return new k(r,t,s,b)}}},this.openingBracketBlock=function(S,a,c,o,i){var n={row:c,column:o+1},t=S.$findClosingBracket(a,n,i);if(t){var e=S.foldWidgets[t.row];return e==null&&(e=S.getFoldWidget(t.row)),e=="start"&&t.row>n.row&&(t.row--,t.column=S.getLine(t.row).length),k.fromPoints(n,t)}},this.closingBracketBlock=function(S,a,c,o,i){var n={row:c,column:o},t=S.$findOpeningBracket(a,n);if(t)return t.column++,n.column--,k.fromPoints(t,n)}}).call(M.prototype)}),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range","ace/config"],function(E,x,z){var k=E("../line_widgets").LineWidgets,M=E("../lib/dom"),S=E("../range").Range,a=E("../config").nls;function c(i,n,t){for(var e=0,r=i.length-1;e<=r;){var s=e+r>>1,l=t(n,i[s]);if(l>0)e=s+1;else if(l<0)r=s-1;else return s}return-(e+1)}function o(i,n,t){var e=i.getAnnotations().sort(S.comparePoints);if(e.length){var r=c(e,{row:n,column:-1},S.comparePoints);r<0&&(r=-r-1),r>=e.length?r=t>0?0:e.length-1:r===0&&t<0&&(r=e.length-1);var s=e[r];if(!(!s||!t)){if(s.row===n){do s=e[r+=t];while(s&&s.row===n);if(!s)return e.slice()}var l=[];n=s.row;do l[t<0?"unshift":"push"](s),s=e[r+=t];while(s&&s.row==n);return l.length&&l}}}x.showErrorMarker=function(i,n){var t=i.session;t.widgetManager||(t.widgetManager=new k(t),t.widgetManager.attach(i));var e=i.getCursorPosition(),r=e.row,s=t.widgetManager.getWidgetsAtRow(r).filter(function(A){return A.type=="errorMarker"})[0];s?s.destroy():r-=n;var l=o(t,r,n),u;if(l){var b=l[0];e.column=(b.pos&&typeof b.column!="number"?b.pos.sc:b.column)||0,e.row=b.row,u=i.renderer.$gutterLayer.$annotations[e.row]}else{if(s)return;u={displayText:[a("error-marker.good-state","Looks good!")],className:"ace_ok"}}i.session.unfold(e.row),i.selection.moveToPosition(e);var m={row:e.row,fixedWidth:!0,coverGutter:!0,el:M.createElement("div"),type:"errorMarker"},g=m.el.appendChild(M.createElement("div")),d=m.el.appendChild(M.createElement("div"));d.className="error_widget_arrow "+u.className;var $=i.renderer.$cursorLayer.getPixelPosition(e).left;d.style.left=$+i.renderer.gutterWidth-5+"px",m.el.className="error_widget_wrapper",g.className="error_widget "+u.className,u.displayText.forEach(function(A,C){g.appendChild(M.createTextNode(A)),C{n=e.a}],execute:function(){var t,i={exports:{}},o=(t||(t=1,function(e){!function(){var e=function(){return this}();e||"undefined"==typeof window||(e=window);var t=function(e,n,i){"string"==typeof e?(2==arguments.length&&(i=n),t.modules[e]||(t.payloads[e]=i,t.modules[e]=null)):t.original?t.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())};t.modules={},t.payloads={};var n,i,o=function(e,t,n){if("string"==typeof t){var i=a(e,t);if(null!=i)return n&&n(),i}else if("[object Array]"===Object.prototype.toString.call(t)){for(var o=[],s=0,l=t.length;sn.length)&&(t=n.length),t-=e.length;var i=n.indexOf(e,t);return-1!==i&&i===t})),String.prototype.repeat||i(String.prototype,"repeat",(function(e){for(var t="",n=this;e>0;)1&e&&(t+=n),(e>>=1)&&(n+=n);return t})),String.prototype.includes||i(String.prototype,"includes",(function(e,t){return-1!=this.indexOf(e,t)})),Object.assign||(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n>>0,i=0|arguments[1],o=i<0?Math.max(n+i,0):Math.min(i,n),r=arguments[2],s=void 0===r?n:0|r,a=s<0?Math.max(n+s,0):Math.min(s,n);o0;)1&t&&(n+=e),(t>>=1)&&(e+=e);return n};var i=/^\s\s*/,o=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(i,"")},t.stringTrimRight=function(e){return e.replace(o,"")},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){for(var t=[],n=0,i=e.length;n65535?2:1}})),ace.define("ace/lib/useragent",["require","exports","module"],(function(e,t,n){t.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},t.getOS=function(){return t.isMac?t.OS.MAC:t.isLinux?t.OS.LINUX:t.OS.WINDOWS};var i="object"==typeof navigator?navigator:{},o=(/mac|win|linux/i.exec(i.platform)||["other"])[0].toLowerCase(),r=i.userAgent||"",s=i.appName||"";t.isWin="win"==o,t.isMac="mac"==o,t.isLinux="linux"==o,t.isIE="Microsoft Internet Explorer"==s||s.indexOf("MSAppHost")>=0?parseFloat((r.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((r.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&t.isIE<9,t.isGecko=t.isMozilla=r.match(/ Gecko\/\d+/),t.isOpera="object"==typeof opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(r.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(r.split(" Chrome/")[1])||void 0,t.isSafari=parseFloat(r.split(" Safari/")[1])&&!t.isChrome||void 0,t.isEdge=parseFloat(r.split(" Edge/")[1])||void 0,t.isAIR=r.indexOf("AdobeAIR")>=0,t.isAndroid=r.indexOf("Android")>=0,t.isChromeOS=r.indexOf(" CrOS ")>=0,t.isIOS=/iPad|iPhone|iPod/.test(r)&&!window.MSStream,t.isIOS&&(t.isMac=!0),t.isMobile=t.isIOS||t.isAndroid})),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],(function(e,t,n){var i,o=e("./useragent");t.buildDom=function e(t,n,i){if("string"==typeof t&&t){var o=document.createTextNode(t);return n&&n.appendChild(o),o}if(!Array.isArray(t))return t&&t.appendChild&&n&&n.appendChild(t),t;if("string"!=typeof t[0]||!t[0]){for(var r=[],s=0;s=1.5,o.isChromeOS&&(t.HI_DPI=!1),"undefined"!=typeof document){var l=document.createElement("div");t.HI_DPI&&void 0!==l.style.transform&&(t.HAS_CSS_TRANSFORMS=!0),o.isEdge||void 0===l.style.animationName||(t.HAS_CSS_ANIMATION=!0),l=null}t.HAS_CSS_TRANSFORMS?t.translate=function(e,t,n){e.style.transform="translate("+Math.round(t)+"px, "+Math.round(n)+"px)"}:t.translate=function(e,t,n){e.style.top=Math.round(n)+"px",e.style.left=Math.round(t)+"px"}})),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],(function(e,t,n){ +System.register(["./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,t){"use strict";var n;return{setters:[e=>{n=e.a}],execute:function(){var t,i={exports:{}},o=(t||(t=1,function(e){!function(){var e=function(){return this}();e||"undefined"==typeof window||(e=window);var t=function(e,n,i){"string"==typeof e?(2==arguments.length&&(i=n),t.modules[e]||(t.payloads[e]=i,t.modules[e]=null)):t.original?t.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())};t.modules={},t.payloads={};var n,i,o=function(e,t,n){if("string"==typeof t){var i=a(e,t);if(null!=i)return n&&n(),i}else if("[object Array]"===Object.prototype.toString.call(t)){for(var o=[],s=0,l=t.length;sn.length)&&(t=n.length),t-=e.length;var i=n.indexOf(e,t);return-1!==i&&i===t})),String.prototype.repeat||i(String.prototype,"repeat",(function(e){for(var t="",n=this;e>0;)1&e&&(t+=n),(e>>=1)&&(n+=n);return t})),String.prototype.includes||i(String.prototype,"includes",(function(e,t){return-1!=this.indexOf(e,t)})),Object.assign||(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n>>0,i=0|arguments[1],o=i<0?Math.max(n+i,0):Math.min(i,n),r=arguments[2],s=void 0===r?n:0|r,a=s<0?Math.max(n+s,0):Math.min(s,n);o0;)1&t&&(n+=e),(t>>=1)&&(e+=e);return n};var i=/^\s\s*/,o=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(i,"")},t.stringTrimRight=function(e){return e.replace(o,"")},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){for(var t=[],n=0,i=e.length;n65535?2:1}})),ace.define("ace/lib/useragent",["require","exports","module"],(function(e,t,n){t.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},t.getOS=function(){return t.isMac?t.OS.MAC:t.isLinux?t.OS.LINUX:t.OS.WINDOWS};var i="object"==typeof navigator?navigator:{},o=(/mac|win|linux/i.exec(i.platform)||["other"])[0].toLowerCase(),r=i.userAgent||"",s=i.appName||"";t.isWin="win"==o,t.isMac="mac"==o,t.isLinux="linux"==o,t.isIE="Microsoft Internet Explorer"==s||s.indexOf("MSAppHost")>=0?parseFloat((r.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((r.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&t.isIE<9,t.isGecko=t.isMozilla=r.match(/ Gecko\/\d+/),t.isOpera="object"==typeof opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(r.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(r.split(" Chrome/")[1])||void 0,t.isSafari=parseFloat(r.split(" Safari/")[1])&&!t.isChrome||void 0,t.isEdge=parseFloat(r.split(" Edge/")[1])||void 0,t.isAIR=r.indexOf("AdobeAIR")>=0,t.isAndroid=r.indexOf("Android")>=0,t.isChromeOS=r.indexOf(" CrOS ")>=0,t.isIOS=/iPad|iPhone|iPod/.test(r)&&!window.MSStream,t.isIOS&&(t.isMac=!0),t.isMobile=t.isIOS||t.isAndroid})),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],(function(e,t,n){var i,o=e("./useragent");t.buildDom=function e(t,n,i){if("string"==typeof t&&t){var o=document.createTextNode(t);return n&&n.appendChild(o),o}if(!Array.isArray(t))return t&&t.appendChild&&n&&n.appendChild(t),t;if("string"!=typeof t[0]||!t[0]){for(var r=[],s=0;s=1.5,o.isChromeOS&&(t.HI_DPI=!1),"undefined"!=typeof document){var l=document.createElement("div");t.HI_DPI&&void 0!==l.style.transform&&(t.HAS_CSS_TRANSFORMS=!0),o.isEdge||void 0===l.style.animationName||(t.HAS_CSS_ANIMATION=!0),l=null}t.HAS_CSS_TRANSFORMS?t.translate=function(e,t,n){e.style.transform="translate("+Math.round(t)+"px, "+Math.round(n)+"px)"}:t.translate=function(e,t,n){e.style.top=Math.round(n)+"px",e.style.left=Math.round(t)+"px"}})),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],(function(e,t,n){ /* * based on code from: * @@ -6,4 +6,4 @@ System.register(["./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,t){ * Available via the MIT or new BSD license. * see: http://github.com/jrburke/requirejs for details */ -var i=e("./dom");t.get=function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function(){4===n.readyState&&t(n.responseText)},n.send(null)},t.loadScript=function(e,t){var n=i.getDocumentHead(),o=document.createElement("script");o.src=e,n.appendChild(o),o.onload=o.onreadystatechange=function(e,n){!n&&o.readyState&&"loaded"!=o.readyState&&"complete"!=o.readyState||(o=o.onload=o.onreadystatechange=null,n||t())}},t.qualifyURL=function(e){var t=document.createElement("a");return t.href=e,t.href}})),ace.define("ace/lib/oop",["require","exports","module"],(function(e,t,n){t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var n in t)e[n]=t[n];return e},t.implement=function(e,n){t.mixin(e,n)}})),ace.define("ace/lib/event_emitter",["require","exports","module"],(function(e,t,n){var i={},o=function(){this.propagationStopped=!0},r=function(){this.defaultPrevented=!0};i._emit=i._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[e]||[],i=this._defaultHandlers[e];if(n.length||i){"object"==typeof t&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=o),t.preventDefault||(t.preventDefault=r),n=n.slice();for(var s=0;s1&&(o=n[n.length-2]);var s=l[t+"Path"];return null==s?s=l.basePath:"/"==i&&(t=i=""),s&&"/"!=s.slice(-1)&&(s+="/"),s+t+i+o+this.get("suffix")},t.setModuleUrl=function(e,t){return l.$moduleUrls[e]=t},t.setLoader=function(e){a=e},t.dynamicModules=Object.create(null),t.$loading={},t.$loaded={},t.loadModule=function(n,i){var r;if(Array.isArray(n))var s=n[0],l=n[1];else"string"==typeof n&&(l=n);var h=function(n){if(n&&!t.$loading[l])return i&&i(n);if(t.$loading[l]||(t.$loading[l]=[]),t.$loading[l].push(i),!(t.$loading[l].length>1)){var r=function(){!function(t,n){"ace/theme/textmate"===t||"./theme/textmate"===t?n(null,e("./theme/textmate")):a?a(t,n):console.error("loader is not configured")}(l,(function(e,n){n&&(t.$loaded[l]=n),t._emit("load.module",{name:l,module:n});var i=t.$loading[l];t.$loading[l]=null,i.forEach((function(e){e&&e(n)}))}))};if(!t.get("packaged"))return r();o.loadScript(t.moduleUrl(l,s),r),c()}};if(t.dynamicModules[l])t.dynamicModules[l]().then((function(e){e.default?h(e.default):h(e)}));else{try{r=this.$require(l)}catch(u){}h(r||t.$loaded[l])}},t.$require=function(e){if("function"==typeof n.require)return n.require(e)},t.setModuleLoader=function(e,n){t.dynamicModules[e]=n};var c=function(){l.basePath||l.workerPath||l.modePath||l.themePath||Object.keys(l.$moduleUrls).length||(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),c=function(){})};t.version="1.36.2"})),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],(function(e,t,n){e("./lib/fixoldbrowsers");var i=e("./config");i.setLoader((function(t,n){e([t],(function(e){n(null,e)}))}));var o=function(){return this||"undefined"!=typeof window&&window}();function r(t){if(o&&o.document){i.set("packaged",t||e.packaged||n.packaged||o.define&&(void 0).packaged);var r={},s="",a=document.currentScript||document._currentScript,l=a&&a.ownerDocument||document;a&&a.src&&(s=a.src.split(/[?#]/)[0].split("/").slice(0,-1).join("/")||"");for(var c,h=l.getElementsByTagName("script"),u=0;u ["+this.end.row+"/"+this.end.column+"]"},e.prototype.contains=function(e,t){return 0==this.compare(e,t)},e.prototype.compareRange=function(e){var t,n=e.end,i=e.start;return 1==(t=this.compare(n.row,n.column))?1==(t=this.compare(i.row,i.column))?2:0==t?1:0:-1==t?-2:-1==(t=this.compare(i.row,i.column))?-1:1==t?42:0},e.prototype.comparePoint=function(e){return this.compare(e.row,e.column)},e.prototype.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},e.prototype.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},e.prototype.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},e.prototype.isStart=function(e,t){return this.start.row==e&&this.start.column==t},e.prototype.setStart=function(e,t){"object"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},e.prototype.setEnd=function(e,t){"object"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},e.prototype.inside=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)&&!this.isStart(e,t)},e.prototype.insideStart=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)},e.prototype.insideEnd=function(e,t){return 0==this.compare(e,t)&&!this.isStart(e,t)},e.prototype.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?ethis.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:tthis.end.column?1:0},e.prototype.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},e.prototype.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},e.prototype.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},e.prototype.clipRows=function(t,n){if(this.end.row>n)var i={row:n+1,column:0};else this.end.rown)var o={row:n+1,column:0};else this.start.row1?++u>4&&(u=1):u=1,r.isIE){var s=Math.abs(e.clientX-a)>5||Math.abs(e.clientY-l)>5;c&&!s||(u=1),c&&clearTimeout(c),c=setTimeout((function(){c=null}),n[u-1]||600),1==u&&(a=e.clientX,l=e.clientY)}if(e._clicks=u,i[o]("mousedown",e),u>4)u=0;else if(u>1)return i[o](d[u],e)}Array.isArray(e)||(e=[e]),e.forEach((function(e){h(e,"mousedown",g,s)}))},t.getModifierString=function(e){return o.KEY_MODS[d(e)]},t.addCommandKeyListener=function(e,n,i){var l=null;h(e,"keydown",(function(e){s[e.keyCode]=(s[e.keyCode]||0)+1;var t=function(e,t,n){var i=d(t);if(!n&&t.code&&(n=o.$codeToKeyCode[t.code]||n),!r.isMac&&s){if(t.getModifierState&&(t.getModifierState("OS")||t.getModifierState("Win"))&&(i|=8),s.altGr){if(!(3&~i))return;s.altGr=0}if(18===n||17===n){var l=t.location;17===n&&1===l?1==s[n]&&(a=t.timeStamp):18===n&&3===i&&2===l&&t.timeStamp-a<50&&(s.altGr=!0)}}if(n in o.MODIFIER_KEYS&&(n=-1),i||13!==n||3!==t.location||(e(t,i,-n),!t.defaultPrevented)){if(r.isChromeOS&&8&i){if(e(t,i,n),t.defaultPrevented)return;i&=-9}return!!(i||n in o.FUNCTION_KEYS||n in o.PRINTABLE_KEYS)&&e(t,i,n)}}(n,e,e.keyCode);return l=e.defaultPrevented,t}),i),h(e,"keypress",(function(e){l&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),l=null)}),i),h(e,"keyup",(function(e){s[e.keyCode]=null}),i),s||(g(),h(window,"focus",g))},"object"==typeof window&&window.postMessage&&!r.isOldIE){var p=1;t.nextTick=function(e,n){n=n||window;var i="zero-timeout-message-"+p++,o=function(r){r.data==i&&(t.stopPropagation(r),u(n,"message",o),e())};h(n,"message",o),n.postMessage(i,"*")}}t.$idleBlocked=!1,t.onIdle=function(e,n){return setTimeout((function n(){t.$idleBlocked?setTimeout(n,100):e()}),n)},t.$idleBlockId=null,t.blockIdle=function(e){t.$idleBlockId&&clearTimeout(t.$idleBlockId),t.$idleBlocked=!0,t.$idleBlockId=setTimeout((function(){t.$idleBlocked=!1}),e||100)},t.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),t.nextFrame?t.nextFrame=t.nextFrame.bind(window):t.nextFrame=function(e){setTimeout(e,17)}})),ace.define("ace/clipboard",["require","exports","module"],(function(e,t,n){var i;n.exports={lineMode:!1,pasteCancelled:function(){return!!(i&&i>Date.now()-50)||(i=!1)},cancel:function(){i=Date.now()}}})),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/config","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],(function(e,t,n){var i,o=e("../lib/event"),r=e("../config").nls,s=e("../lib/useragent"),a=e("../lib/dom"),l=e("../lib/lang"),c=e("../clipboard"),h=s.isChrome<18,u=s.isIE,d=s.isChrome>63,g=400,p=e("../lib/keys"),f=p.KEY_MODS,m=s.isIOS,y=m?/\s/:/\n/,v=s.isMobile;i=function(e,t){var n=a.createElement("textarea");n.className="ace_text-input",n.setAttribute("wrap","off"),n.setAttribute("autocorrect","off"),n.setAttribute("autocapitalize","off"),n.setAttribute("spellcheck","false"),n.style.opacity="0",e.insertBefore(n,e.firstChild);var i=!1,w=!1,b=!1,$=!1,C="";v||(n.style.fontSize="1px");var S=!1,x=!1,A="",M=0,k=0,L=0,T=Number.MAX_SAFE_INTEGER,E=Number.MIN_SAFE_INTEGER,R=0;try{var _=document.activeElement===n}catch(X){}this.setNumberOfExtraLines=function(e){T=Number.MAX_SAFE_INTEGER,E=Number.MIN_SAFE_INTEGER,R=e<0?0:e},this.setAriaOptions=function(e){if(e.activeDescendant?(n.setAttribute("aria-haspopup","true"),n.setAttribute("aria-autocomplete",e.inline?"both":"list"),n.setAttribute("aria-activedescendant",e.activeDescendant)):(n.setAttribute("aria-haspopup","false"),n.setAttribute("aria-autocomplete","both"),n.removeAttribute("aria-activedescendant")),e.role&&n.setAttribute("role",e.role),e.setLabel){n.setAttribute("aria-roledescription",r("text-input.aria-roledescription","editor"));var i="";if(t.$textInputAriaLabel&&(i+="".concat(t.$textInputAriaLabel,", ")),t.session){var o=t.session.selection.cursor.row;i+=r("text-input.aria-label","Cursor at row $0",[o+1])}n.setAttribute("aria-label",i)}},this.setAriaOptions({role:"textbox"}),o.addListener(n,"blur",(function(e){x||(t.onBlur(e),_=!1)}),t),o.addListener(n,"focus",(function(e){if(!x){if(_=!0,s.isEdge)try{if(!document.hasFocus())return}catch(e){}t.onFocus(e),s.isEdge?setTimeout(D):D()}}),t),this.$focusScroll=!1,this.focus=function(){if(this.setAriaOptions({setLabel:t.renderer.enableKeyboardAccessibility}),C||d||"browser"==this.$focusScroll)return n.focus({preventScroll:!0});var e=n.style.top;n.style.position="fixed",n.style.top="0px";try{var i=0!=n.getBoundingClientRect().top}catch(X){return}var o=[];if(i)for(var r=n.parentElement;r&&1==r.nodeType;)o.push(r),r.setAttribute("ace_nocontext","true"),r=!r.parentElement&&r.getRootNode?r.getRootNode().host:r.parentElement;n.focus({preventScroll:!0}),i&&o.forEach((function(e){e.removeAttribute("ace_nocontext")})),setTimeout((function(){n.style.position="","0px"==n.style.top&&(n.style.top=e)}),0)},this.blur=function(){n.blur()},this.isFocused=function(){return _},t.on("beforeEndOperation",(function(){var e=t.curOp,i=e&&e.command&&e.command.name;if("insertstring"!=i){var o=i&&(e.docChanged||e.selectionChanged);b&&o&&(A=n.value="",V()),D()}}));var I=function(e,n){for(var i=n,o=1;o<=e-T&&o<2*R+1;o++)i+=t.session.getLine(e-o).length+1;return i},D=m?function(e){if(_&&(!i||e)&&!$){e||(e="");var o="\n ab"+e+"cde fg\n";o!=n.value&&(n.value=A=o);var r=4+(e.length||(t.selection.isEmpty()?0:1));4==M&&k==r||n.setSelectionRange(4,r),M=4,k=r}}:function(){if(!b&&!$&&(_||O)){b=!0;var e=0,i=0,o="";if(t.session){var r=t.selection,s=r.getRange(),a=r.cursor.row;a===E+1?E=(T=E+1)+2*R:a===T-1?T=(E=T-1)-2*R:(aE+1)&&(T=a>R?a-R:0,E=a>R?a+R:2*R);for(var l=[],c=T;c<=E;c++)l.push(t.session.getLine(c));if(o=l.join("\n"),e=I(s.start.row,s.start.column),i=I(s.end.row,s.end.column),s.start.rowE){var u=t.session.getLine(E+1);i=s.end.row>E+1?u.length:s.end.column,i+=o.length+1,o=o+"\n"+u}else v&&a>0&&(o="\n"+o,i+=1,e+=1);o.length>g&&(e0&&A[d]==e[d];)d++,a--;for(c=c.slice(d),d=1;l>0&&A.length-d>M-1&&A[A.length-d]==e[e.length-d];)d++,l--;h-=d-1,u-=d-1;var g=c.length-d+1;if(g<0&&(a=-g,g=0),c=c.slice(0,g),!(i||c||h||a||l||u))return"";$=!0;var p=!1;return s.isAndroid&&". "==c&&(c=" ",p=!0),c&&!a&&!l&&!h&&!u||S?t.onTextInput(c):t.onTextInput(c,{extendLeft:a,extendRight:l,restoreStart:h,restoreEnd:u}),$=!1,A=e,M=o,k=r,L=u,p?"\n":c},F=function(e){if(b)return U();if(e&&e.inputType){if("historyUndo"==e.inputType)return t.execCommand("undo");if("historyRedo"==e.inputType)return t.execCommand("redo")}var i=n.value,o=W(i,!0);(i.length>500||y.test(o)||v&&M<1&&M==k)&&D()},z=function(e,t,n){var i=e.clipboardData||window.clipboardData;if(i&&!h){var o=u||n?"Text":"text/plain";try{return t?!1!==i.setData(o,t):i.getData(o)}catch(e){if(!n)return z(e,t,!0)}}},H=function(e,r){var s=t.getCopyText();if(!s)return o.preventDefault(e);z(e,s)?(m&&(D(s),i=s,setTimeout((function(){i=!1}),10)),r?t.onCut():t.onCopy(),o.preventDefault(e)):(i=!0,n.value=s,n.select(),setTimeout((function(){i=!1,D(),r?t.onCut():t.onCopy()})))},B=function(e){H(e,!0)},P=function(e){H(e,!1)},j=function(e){var i=z(e);c.pasteCancelled()||("string"==typeof i?(i&&t.onPaste(i,e),s.isIE&&setTimeout(D),o.preventDefault(e)):(n.value="",w=!0))};o.addCommandKeyListener(n,(function(e,n,i){if(!b)return t.onCommandKey(e,n,i)}),t),o.addListener(n,"select",(function(e){b||(i?i=!1:function(e){return 0===e.selectionStart&&e.selectionEnd>=A.length&&e.value===A&&A&&e.selectionEnd!==k}(n)?(t.selectAll(),D()):v&&n.selectionStart!=M&&D())}),t),o.addListener(n,"input",F,t),o.addListener(n,"cut",B,t),o.addListener(n,"copy",P,t),o.addListener(n,"paste",j,t),"oncut"in n&&"oncopy"in n&&"onpaste"in n||o.addListener(e,"keydown",(function(e){if((!s.isMac||e.metaKey)&&e.ctrlKey)switch(e.keyCode){case 67:P(e);break;case 86:j(e);break;case 88:B(e)}}),t);var U=function(){if(b&&t.onCompositionUpdate&&!t.$readOnly){if(S)return G();if(b.useTextareaForIME)t.onCompositionUpdate(n.value);else{var e=n.value;W(e),b.markerRange&&(b.context&&(b.markerRange.start.column=b.selectionStart=b.context.compositionStartOffset),b.markerRange.end.column=b.markerRange.start.column+k-b.selectionStart+L)}}},V=function(e){t.onCompositionEnd&&!t.$readOnly&&(b=!1,t.onCompositionEnd(),t.off("mousedown",G),e&&F())};function G(){x=!0,n.blur(),n.focus(),x=!1}var K,Y=l.delayedCall(U,50).schedule.bind(null,null);function Q(){clearTimeout(K),K=setTimeout((function(){C&&(n.style.cssText=C,C=""),t.renderer.$isMousePressed=!1,t.renderer.$keepTextAreaAtCursor&&t.renderer.$moveTextAreaToCursor()}),0)}o.addListener(n,"compositionstart",(function(e){if(!b&&t.onCompositionStart&&!t.$readOnly&&(b={},!S)){e.data&&(b.useTextareaForIME=!1),setTimeout(U,0),t._signal("compositionStart"),t.on("mousedown",G);var i=t.getSelectionRange();i.end.row=i.start.row,i.end.column=i.start.column,b.markerRange=i,b.selectionStart=M,t.onCompositionStart(b),b.useTextareaForIME?(A=n.value="",M=0,k=0):(n.msGetInputContext&&(b.context=n.msGetInputContext()),n.getInputContext&&(b.context=n.getInputContext()))}}),t),o.addListener(n,"compositionupdate",U,t),o.addListener(n,"keyup",(function(e){27==e.keyCode&&n.value.lengthk&&"\n"==A[s]?a=p.end:ok&&A.slice(0,s).split("\n").length>2?a=p.down:s>k&&" "==A[s-1]?(a=p.right,l=f.option):(s>k||s==k&&k!=M&&o==s)&&(a=p.right),o!==s&&(l|=f.shift),a){if(!t.onCommandKey({},l,a)&&t.commands){a=p.keyCodeToString(a);var c=t.commands.findKeyCommand(l,a);c&&t.execCommand(c)}M=o,k=s,D("")}}};document.addEventListener("selectionchange",s),t.on("destroy",(function(){document.removeEventListener("selectionchange",s)}))}(0,t,n),this.destroy=function(){n.parentElement&&n.parentElement.removeChild(n)}},t.TextInput=i,t.$setUserAgentForTests=function(e,t){v=e,m=t}})),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],(function(e,t,n){var i=e("../lib/useragent"),o=function(){function e(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach((function(t){e[t]=this[t]}),this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}return e.prototype.onMouseDown=function(e){var t=e.inSelection(),n=e.getDocumentPosition();this.mousedownEvent=e;var o=this.editor,r=e.getButton();return 0!==r?((o.getSelectionRange().isEmpty()||1==r)&&o.selection.moveToPosition(n),void(2==r&&(o.textInput.onContextMenu(e.domEvent),i.isMozilla||e.preventDefault()))):(this.mousedownEvent.time=Date.now(),!t||o.isFocused()||(o.focus(),!this.$focusTimeout||this.$clickSelection||o.inMultiSelectMode)?(this.captureMouse(e),this.startSelect(n,e.domEvent._clicks>1),e.preventDefault()):(this.setState("focusWait"),void this.captureMouse(e)))},e.prototype.startSelect=function(e,t){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var n=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?n.selection.selectToPosition(e):t||n.selection.moveToPosition(e),t||this.select(),n.setStyle("ace_selecting"),this.setState("select"))},e.prototype.select=function(){var e,t=this.editor,n=t.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var i=this.$clickSelection.comparePoint(n);if(-1==i)e=this.$clickSelection.end;else if(1==i)e=this.$clickSelection.start;else{var o=r(this.$clickSelection,n);n=o.cursor,e=o.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(n),t.renderer.scrollCursorIntoView()},e.prototype.extendSelectionBy=function(e){var t,n=this.editor,i=n.renderer.screenToTextCoordinates(this.x,this.y),o=n.selection[e](i.row,i.column);if(this.$clickSelection){var s=this.$clickSelection.comparePoint(o.start),a=this.$clickSelection.comparePoint(o.end);if(-1==s&&a<=0)t=this.$clickSelection.end,o.end.row==i.row&&o.end.column==i.column||(i=o.start);else if(1==a&&s>=0)t=this.$clickSelection.start,o.start.row==i.row&&o.start.column==i.column||(i=o.end);else if(-1==s&&1==a)i=o.end,t=o.start;else{var l=r(this.$clickSelection,i);i=l.cursor,t=l.anchor}n.selection.setSelectionAnchor(t.row,t.column)}n.selection.selectToPosition(i),n.renderer.scrollCursorIntoView()},e.prototype.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting")},e.prototype.focusWait=function(){var e,t,n,i,o=(e=this.mousedownEvent.x,t=this.mousedownEvent.y,n=this.x,i=this.y,Math.sqrt(Math.pow(n-e,2)+Math.pow(i-t,2))),r=Date.now();(o>0||r-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},e.prototype.onDoubleClick=function(e){var t=e.getDocumentPosition(),n=this.editor,i=n.session.getBracketRange(t);i?(i.isEmpty()&&(i.start.column--,i.end.column++),this.setState("select")):(i=n.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=i,this.select()},e.prototype.onTripleClick=function(e){var t=e.getDocumentPosition(),n=this.editor;this.setState("selectByLines");var i=n.getSelectionRange();i.isMultiLine()&&i.contains(t.row,t.column)?(this.$clickSelection=n.selection.getLineRange(i.start.row),this.$clickSelection.end=n.selection.getLineRange(i.end.row).end):this.$clickSelection=n.selection.getLineRange(t.row),this.select()},e.prototype.onQuadClick=function(e){var t=this.editor;t.selectAll(),this.$clickSelection=t.getSelectionRange(),this.setState("selectAll")},e.prototype.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var t=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var n=this.$lastScroll,i=e.domEvent.timeStamp,o=i-n.t,r=o?e.wheelX/o:n.vx,s=o?e.wheelY/o:n.vy;o<550&&(r=(r+n.vx)/2,s=(s+n.vy)/2);var a=Math.abs(r/s),l=!1;return a>=1&&t.renderer.isScrollableBy(e.wheelX*e.speed,0)&&(l=!0),a<=1&&t.renderer.isScrollableBy(0,e.wheelY*e.speed)&&(l=!0),l?n.allowed=i:i-n.allowed<550&&(Math.abs(r)<=1.5*Math.abs(n.vx)&&Math.abs(s)<=1.5*Math.abs(n.vy)?(l=!0,n.allowed=i):n.allowed=0),n.t=i,n.vx=r,n.vy=s,l?(t.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()):void 0}},e}();function r(e,t){if(e.start.row==e.end.row)var n=2*t.column-e.start.column-e.end.column;else if(e.start.row!=e.end.row-1||e.start.column||e.end.column)n=2*t.row-e.start.row-e.end.row;else var n=t.column-4;return n<0?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}}o.prototype.selectEnd=o.prototype.selectByLinesEnd,o.prototype.selectAllEnd=o.prototype.selectByLinesEnd,o.prototype.selectByWordsEnd=o.prototype.selectByLinesEnd,t.DefaultHandlers=o})),ace.define("ace/lib/scroll",["require","exports","module"],(function(e,t,n){t.preventParentScroll=function(e){e.stopPropagation();var t=e.currentTarget;t.scrollHeight>t.clientHeight||e.preventDefault()}})),ace.define("ace/tooltip",["require","exports","module","ace/lib/dom","ace/lib/event","ace/range","ace/lib/scroll"],(function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=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])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},s=e("./lib/dom");e("./lib/event");var a=e("./range").Range,l=e("./lib/scroll").preventParentScroll,c="ace_tooltip",h=function(){function e(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}return e.prototype.$init=function(){return this.$element=s.createElement("div"),this.$element.className=c,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},e.prototype.getElement=function(){return this.$element||this.$init()},e.prototype.setText=function(e){this.getElement().textContent=e},e.prototype.setHtml=function(e){this.getElement().innerHTML=e},e.prototype.setPosition=function(e,t){this.getElement().style.left=e+"px",this.getElement().style.top=t+"px"},e.prototype.setClassName=function(e){s.addCssClass(this.getElement(),e)},e.prototype.setTheme=function(e){this.$element.className=c+" "+(e.isDark?"ace_dark ":"")+(e.cssClass||"")},e.prototype.show=function(e,t,n){null!=e&&this.setText(e),null!=t&&null!=n&&this.setPosition(t,n),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},e.prototype.hide=function(e){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=c,this.isOpen=!1)},e.prototype.getHeight=function(){return this.getElement().offsetHeight},e.prototype.getWidth=function(){return this.getElement().offsetWidth},e.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},e}(),u=new(function(){function e(){this.popups=[]}return e.prototype.addPopup=function(e){this.popups.push(e),this.updatePopups()},e.prototype.removePopup=function(e){var t=this.popups.indexOf(e);-1!==t&&(this.popups.splice(t,1),this.updatePopups())},e.prototype.updatePopups=function(){var e,t,n,i;this.popups.sort((function(e,t){return t.priority-e.priority}));var o=[];try{for(var s=r(this.popups),a=s.next();!a.done;a=s.next()){var l=a.value,c=!0;try{for(var h=(n=void 0,r(o)),u=h.next();!u.done;u=h.next()){var d=u.value;if(this.doPopupsOverlap(d,l)){c=!1;break}}}catch(g){n={error:g}}finally{try{u&&!u.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}c?o.push(l):l.hide()}}catch(p){e={error:p}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}},e.prototype.doPopupsOverlap=function(e,t){var n=e.getElement().getBoundingClientRect(),i=t.getElement().getBoundingClientRect();return n.lefti.left&&n.topi.top},e}());t.popupManager=u,t.Tooltip=h;var d=function(e){function t(t){void 0===t&&(t=document.body);var n=e.call(this,t)||this;n.timeout=void 0,n.lastT=0,n.idleTime=350,n.lastEvent=void 0,n.onMouseOut=n.onMouseOut.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.waitForHover=n.waitForHover.bind(n),n.hide=n.hide.bind(n);var i=n.getElement();return i.style.whiteSpace="pre-wrap",i.style.pointerEvents="auto",i.addEventListener("mouseout",n.onMouseOut),i.tabIndex=-1,i.addEventListener("blur",function(){i.contains(document.activeElement)||this.hide()}.bind(n)),i.addEventListener("wheel",l),n}return o(t,e),t.prototype.addToEditor=function(e){e.on("mousemove",this.onMouseMove),e.on("mousedown",this.hide),e.renderer.getMouseEventTarget().addEventListener("mouseout",this.onMouseOut,!0)},t.prototype.removeFromEditor=function(e){e.off("mousemove",this.onMouseMove),e.off("mousedown",this.hide),e.renderer.getMouseEventTarget().removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},t.prototype.onMouseMove=function(e,t){this.lastEvent=e,this.lastT=Date.now();var n=t.$mouseHandler.isMousePressed;if(this.isOpen){var i=this.lastEvent&&this.lastEvent.getDocumentPosition();this.range&&this.range.contains(i.row,i.column)&&!n&&!this.isOutsideOfText(this.lastEvent)||this.hide()}this.timeout||n||(this.lastEvent=e,this.timeout=setTimeout(this.waitForHover,this.idleTime))},t.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var e=Date.now()-this.lastT;this.idleTime-e>10?this.timeout=setTimeout(this.waitForHover,this.idleTime-e):(this.timeout=null,this.lastEvent&&!this.isOutsideOfText(this.lastEvent)&&this.$gatherData(this.lastEvent,this.lastEvent.editor))},t.prototype.isOutsideOfText=function(e){var t=e.editor,n=e.getDocumentPosition(),i=t.session.getLine(n.row);if(n.column==i.length){var o=t.renderer.pixelToScreenCoordinates(e.clientX,e.clientY),r=t.session.documentToScreenPosition(n.row,n.column);if(r.column!=o.column||r.row!=o.row)return!0}return!1},t.prototype.setDataProvider=function(e){this.$gatherData=e},t.prototype.showForRange=function(e,t,n,i){if(!(i&&i!=this.lastEvent||this.isOpen&&document.activeElement==this.getElement())){var o=e.renderer;this.isOpen||(u.addPopup(this),this.$registerCloseEvents(),this.setTheme(o.theme)),this.isOpen=!0,this.addMarker(t,e.session),this.range=a.fromPoints(t.start,t.end);var r=o.textToScreenCoordinates(t.start.row,t.start.column),s=o.scroller.getBoundingClientRect();r.pageX=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},s=e("../lib/dom"),a=e("../lib/event"),l=e("../tooltip").Tooltip,c=e("../config").nls;e("../lib/lang"),t.GutterHandler=function(e){var t,n,i=e.editor,o=i.renderer.$gutterLayer,r=new h(i);function l(){t&&(t=clearTimeout(t)),r.isOpen&&(r.hideTooltip(),i.off("mousewheel",l))}function c(e){r.setPosition(e.x,e.y)}e.editor.setDefaultHandler("guttermousedown",(function(t){if(i.isFocused()&&0==t.getButton()&&"foldWidgets"!=o.getRegion(t)){var n=t.getDocumentPosition().row,r=i.session.selection;if(t.getShiftKey())r.selectTo(n,0);else{if(2==t.domEvent.detail)return i.selectAll(),t.preventDefault();e.$clickSelection=i.selection.getLineRange(n)}return e.setState("selectByLines"),e.captureMouse(t),t.preventDefault()}})),e.editor.setDefaultHandler("guttermousemove",(function(a){var h=a.domEvent.target||a.domEvent.srcElement;if(s.hasCssClass(h,"ace_fold-widget"))return l();r.isOpen&&e.$tooltipFollowsMouse&&c(a),n=a,t||(t=setTimeout((function(){t=null,n&&!e.isMousePressed?function(){var t=n.getDocumentPosition().row;if(t==i.session.getLength()){var s=i.renderer.pixelToScreenCoordinates(0,n.y).row,a=n.$pos;if(s>i.session.documentToScreenRow(a.row,a.column))return l()}if(r.showTooltip(t),r.isOpen)if(i.on("mousewheel",l),e.$tooltipFollowsMouse)c(n);else{var h=n.getGutterRow(),u=o.$lines.get(h);if(u){var d=u.element.querySelector(".ace_gutter_annotation").getBoundingClientRect(),g=r.getElement().style;g.left=d.right+"px",g.top=d.bottom+"px"}else c(n)}}():l()}),50))})),a.addListener(i.renderer.$gutter,"mouseout",(function(e){n=null,r.isOpen&&!t&&(t=setTimeout((function(){t=null,l()}),50))}),i),i.on("changeSession",l),i.on("input",l)};var h=function(e){function t(t){var n=e.call(this,t.container)||this;return n.editor=t,n}return o(t,e),t.prototype.setPosition=function(e,t){var n=window.innerWidth||document.documentElement.clientWidth,i=window.innerHeight||document.documentElement.clientHeight,o=this.getWidth(),r=this.getHeight();(e+=15)+o>n&&(e-=e+o-n),(t+=15)+r>i&&(t-=20+r),l.prototype.setPosition.call(this,e,t)},Object.defineProperty(t,"annotationLabels",{get:function(){return{error:{singular:c("gutter-tooltip.aria-label.error.singular","error"),plural:c("gutter-tooltip.aria-label.error.plural","errors")},security:{singular:c("gutter-tooltip.aria-label.security.singular","security finding"),plural:c("gutter-tooltip.aria-label.security.plural","security findings")},warning:{singular:c("gutter-tooltip.aria-label.warning.singular","warning"),plural:c("gutter-tooltip.aria-label.warning.plural","warnings")},info:{singular:c("gutter-tooltip.aria-label.info.singular","information message"),plural:c("gutter-tooltip.aria-label.info.plural","information messages")},hint:{singular:c("gutter-tooltip.aria-label.hint.singular","suggestion"),plural:c("gutter-tooltip.aria-label.hint.plural","suggestions")}}},enumerable:!1,configurable:!0}),t.prototype.showTooltip=function(e){var n,i,o=this.editor.renderer.$gutterLayer,r=o.$annotations[e];i=r?{displayText:Array.from(r.displayText),type:Array.from(r.type)}:{displayText:[],type:[]};var a=o.session.getFoldLine(e);if(a&&o.$showFoldedAnnotations){for(var l,c={error:[],security:[],warning:[],info:[],hint:[]},h={error:1,security:2,warning:3,info:4,hint:5},u=e+1;u<=a.end.row;u++)if(o.$annotations[u])for(var d=0;d5?m=null:i-m>=200&&(t.renderer.scrollCursorIntoView(),m=null)})(d=t.renderer.screenToTextCoordinates(l,c),e),function(e,n){var i=Date.now(),o=t.renderer.layerConfig.lineHeight,r=t.renderer.layerConfig.characterWidth,s=t.renderer.scroller.getBoundingClientRect(),a={x:{left:l-s.left,right:s.right-l},y:{top:c-s.top,bottom:s.bottom-c}},h=Math.min(a.x.left,a.x.right),u=Math.min(a.y.top,a.y.bottom),d={row:e.row,column:e.column};h/r<=2&&(d.column+=a.x.left=200&&t.renderer.scrollCursorIntoView(d):f=i:f=null}(d,e)}function $(){u=t.selection.toOrientedRange(),s=t.session.addMarker(u,"ace_selection",t.getSelectionStyle()),t.clearSelection(),t.isFocused()&&t.renderer.$cursorLayer.setBlinking(!1),clearInterval(h),b(),h=setInterval(b,20),w=0,o.addListener(document,"mousemove",x)}function C(){clearInterval(h),t.session.removeMarker(s),s=null,t.selection.fromOrientedRange(u),t.isFocused()&&!p&&t.$resetCursorStyle(),u=null,d=null,w=0,f=null,m=null,o.removeListener(document,"mousemove",x)}this.onDragStart=function(e){if(this.cancelDrag||!v.draggable){var i=this;return setTimeout((function(){i.startSelect(),i.captureMouse(e)}),0),e.preventDefault()}u=t.getSelectionRange();var o=e.dataTransfer;o.effectAllowed=t.getReadOnly()?"copy":"copyMove",t.container.appendChild(n),o.setDragImage&&o.setDragImage(n,0,0),setTimeout((function(){t.container.removeChild(n)})),o.clearData(),o.setData("Text",t.session.getTextRange()),p=!0,this.setState("drag")},this.onDragEnd=function(e){if(v.draggable=!1,p=!1,this.setState(null),!t.getReadOnly()){var n=e.dataTransfer.dropEffect;g||"move"!=n||t.session.remove(t.getSelectionRange()),t.$resetCursorStyle()}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(e){if(!t.getReadOnly()&&A(e.dataTransfer))return l=e.clientX,c=e.clientY,s||$(),w++,e.dataTransfer.dropEffect=g=M(e),o.preventDefault(e)},this.onDragOver=function(e){if(!t.getReadOnly()&&A(e.dataTransfer))return l=e.clientX,c=e.clientY,s||($(),w++),null!==S&&(S=null),e.dataTransfer.dropEffect=g=M(e),o.preventDefault(e)},this.onDragLeave=function(e){if(--w<=0&&s)return C(),g=null,o.preventDefault(e)},this.onDrop=function(e){if(d){var n=e.dataTransfer;if(p)switch(g){case"move":u=u.contains(d.row,d.column)?{start:d,end:d}:t.moveText(u,d);break;case"copy":u=t.moveText(u,d,!0)}else{var i=n.getData("Text");u={start:d,end:t.session.insert(d,i)},t.focus(),g=null}return C(),o.preventDefault(e)}},o.addListener(v,"dragstart",this.onDragStart.bind(e),t),o.addListener(v,"dragend",this.onDragEnd.bind(e),t),o.addListener(v,"dragenter",this.onDragEnter.bind(e),t),o.addListener(v,"dragover",this.onDragOver.bind(e),t),o.addListener(v,"dragleave",this.onDragLeave.bind(e),t),o.addListener(v,"drop",this.onDrop.bind(e),t);var S=null;function x(){null==S&&(S=setTimeout((function(){null!=S&&s&&C()}),20))}function A(e){var t=e.types;return!t||Array.prototype.some.call(t,(function(e){return"text/plain"==e||"Text"==e}))}function M(e){var t=["copy","copymove","all","uninitialized"],n=r.isMac?e.altKey:e.ctrlKey,i="uninitialized";try{i=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var o="none";return n&&t.indexOf(i)>=0?o="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(i)>=0?o="move":t.indexOf(i)>=0&&(o="copy"),o}}function a(e,t,n,i){return Math.sqrt(Math.pow(n-e,2)+Math.pow(i-t,2))}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(e){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor;e.container.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle("ace_dragging");var t=r.isWin?"default":"move";e.renderer.setCursorStyle(t),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;r.isIE&&"dragReady"==this.state&&a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&t.dragDrop(),"dragWait"===this.state&&a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))},this.onMouseDown=function(e){if(this.$dragEnabled){this.mousedownEvent=e;var t=this.editor,n=e.inSelection(),i=e.getButton();if(1===(e.domEvent.detail||1)&&0===i&&n){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var o=e.domEvent.target||e.domEvent.srcElement;"unselectable"in o&&(o.unselectable="on"),t.getDragDelay()?(r.isWebKit&&(this.cancelDrag=!0,t.container.draggable=!0),this.setState("dragWait")):this.startDrag(),this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(s.prototype),t.DragdropHandler=s})),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],(function(e,t,n){var i=e("./mouse_event").MouseEvent,o=e("../lib/event"),r=e("../lib/dom");t.addTouchListeners=function(e,t){var n,s,a,l,c,h,u,d,g,p="scroll",f=0,m=0,y=0,v=0;function w(){var e=window.navigator&&window.navigator.clipboard,n=!1,i=function(e){return t.commands.canExecute(e,t)},o=function(o){var s,a,l=o.target.getAttribute("action");if("more"==l||!n)return n=!n,s=t.getCopyText(),a=t.session.getUndoManager().hasUndo(),void g.replaceChild(r.buildDom(n?["span",!s&&i("selectall")&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],s&&i("copy")&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],s&&i("cut")&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],e&&i("paste")&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],a&&i("undo")&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],i("find")&&["span",{class:"ace_mobile-button",action:"find"},"Find"],i("openCommandPalette")&&["span",{class:"ace_mobile-button",action:"openCommandPalette"},"Palette"]]:["span"]),g.firstChild);"paste"==l?e.readText().then((function(e){t.execCommand(l,e)})):l&&("cut"!=l&&"copy"!=l||(e?e.writeText(t.getCopyText()):document.execCommand("copy")),t.execCommand(l)),g.firstChild.style.display="none",n=!1,"openCommandPalette"!=l&&t.focus()};g=r.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(e){p="menu",e.stopPropagation(),e.preventDefault(),t.textInput.focus()},ontouchend:function(e){e.stopPropagation(),e.preventDefault(),o(e)},onclick:o},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],t.container)}function b(){if(t.getOption("enableMobileMenu")){g||w();var e=t.selection.cursor,n=t.renderer.textToScreenCoordinates(e.row,e.column),i=t.renderer.textToScreenCoordinates(0,0).pageX,o=t.renderer.scrollLeft,r=t.container.getBoundingClientRect();g.style.top=n.pageY-r.top-3+"px",n.pageX-r.left1)return clearTimeout(c),c=null,a=-1,void(p="zoom");d=t.$mouseHandler.isMousePressed=!0;var r=t.renderer.layerConfig.lineHeight,h=t.renderer.layerConfig.lineHeight,g=e.timeStamp;l=g;var w=o[0],b=w.clientX,$=w.clientY;Math.abs(n-b)+Math.abs(s-$)>r&&(a=-1),n=e.clientX=b,s=e.clientY=$,y=v=0;var S=new i(e,t);if(u=S.getDocumentPosition(),g-a<500&&1==o.length&&!f)m++,e.preventDefault(),e.button=0,function(){c=null,clearTimeout(c),t.selection.moveToPosition(u);var e=m>=2?t.selection.getLineRange(u.row):t.session.getBracketRange(u);e&&!e.isEmpty()?t.selection.setRange(e):t.selection.selectWord(),p="wait"}();else{m=0;var x=t.selection.cursor,A=t.selection.isEmpty()?x:t.selection.anchor,M=t.renderer.$cursorLayer.getPixelPosition(x,!0),k=t.renderer.$cursorLayer.getPixelPosition(A,!0),L=t.renderer.scroller.getBoundingClientRect(),T=t.renderer.layerConfig.offset,E=t.renderer.scrollLeft,R=function(e,t){return(e/=h)*e+(t=t/r-.75)*t};if(e.clientXI?"cursor":"anchor"),p=I<3.5?"anchor":_<3.5?"cursor":"scroll",c=setTimeout(C,450)}a=g}),t),o.addListener(e,"touchend",(function(e){d=t.$mouseHandler.isMousePressed=!1,h&&clearInterval(h),"zoom"==p?(p="",f=0):c?(t.selection.moveToPosition(u),f=0,b()):"scroll"==p?(f+=60,h=setInterval((function(){f--<=0&&(clearInterval(h),h=null),Math.abs(y)<.01&&(y=0),Math.abs(v)<.01&&(v=0),f<20&&(y*=.9),f<20&&(v*=.9);var e=t.session.getScrollTop();t.renderer.scrollBy(10*y,10*v),e==t.session.getScrollTop()&&(f=0)}),10),$()):b(),clearTimeout(c),c=null}),t),o.addListener(e,"touchmove",(function(e){c&&(clearTimeout(c),c=null);var o=e.touches;if(!(o.length>1||"zoom"==p)){var r=o[0],a=n-r.clientX,h=s-r.clientY;if("wait"==p){if(!(a*a+h*h>4))return e.preventDefault();p="cursor"}n=r.clientX,s=r.clientY,e.clientX=r.clientX,e.clientY=r.clientY;var u=e.timeStamp,d=u-l;if(l=u,"scroll"==p){var g=new i(e,t);g.speed=1,g.wheelX=a,g.wheelY=h,10*Math.abs(a)=e){for(r=u+1;r=e;)r++;for(a=u,l=r-1;a=t.length||2!=(l=n[o-1])&&3!=l||2!=(c=t[o+1])&&3!=c?4:(r&&(c=3),c==l?c:4);case 10:return 2==(l=o>0?n[o-1]:5)&&o+10&&2==n[o-1])return 2;if(r)return 4;for(g=o+1,d=t.length;g=1425&&f<=2303||64286==f;if(l=t[g],m&&(1==l||7==l))return 1}return o<1||5==(l=t[o-1])?4:n[o-1];case 5:return r=!1,s=!0,i;case 6:return a=!0,4;case 13:case 14:case 16:case 17:case 15:r=!1;case u:return 4}}function m(e){var t=e.charCodeAt(0),n=t>>8;return 0==n?t>191?0:d[t]:5==n?/[\u0591-\u05f4]/.test(e)?1:0:6==n?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(e)?12:/[\u0660-\u0669\u066b-\u066c]/.test(e)?3:1642==t?h:/[\u06f0-\u06f9]/.test(e)?2:7:32==n&&t<=8287?g[255&t]:254==n&&t>=65136?7:4}t.L=0,t.R=1,t.EN=2,t.ON_R=3,t.AN=4,t.R_H=5,t.B=6,t.RLE=7,t.DOT="·",t.doBidiReorder=function(e,n,h){if(e.length<2)return{};var d=e.split(""),g=new Array(d.length),y=new Array(d.length),v=[];i=h?1:0,function(e,t,n,h){var u=i?c:l,d=null,g=null,p=null,y=0,v=null,w=-1,b=null,$=null,C=[];if(!h)for(b=0,h=[];b0)if(16==v){for(b=w;b<$;b++)t[b]=1;w=-1}else w=-1;if(u[y][6])-1==w&&(w=$);else if(w>-1){for(b=w;b<$;b++)t[b]=p;w=-1}5==h[$]&&(t[$]=0),o|=p}if(a)for(b=0;b=0&&8==h[S];S--)t[S]=i}}(d,v,d.length,n);for(var w=0;w7&&n[w]<13||4===n[w]||n[w]===u)?v[w]=t.ON_R:w>0&&"ل"===d[w-1]&&/\u0622|\u0623|\u0625|\u0627/.test(d[w])&&(v[w-1]=v[w]=t.R_H,w++);for(d[d.length-1]===t.DOT&&(v[d.length-1]=t.B),"‫"===d[0]&&(v[0]=t.RLE),w=0;w=0&&(e=this.session.$docRowCache[n])}return e},e.prototype.getSplitIndex=function(){var e=0,t=this.session.$screenRowCache;if(t.length)for(var n,i=this.session.$getRowCacheIndex(t,this.currentRow);this.currentRow-e>0&&(n=this.session.$getRowCacheIndex(t,this.currentRow-e-1))===i;)i=n,e++;else e=this.currentRow;return e},e.prototype.updateRowLine=function(e,t){void 0===e&&(e=this.getDocumentRow());var n=e===this.session.getLength()-1?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(e),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var r=this.session.$wrapData[e];r&&(void 0===t&&(t=this.getSplitIndex()),t>0&&r.length?(this.wrapIndent=r.indent,this.wrapOffset=this.wrapIndent*this.charWidths[i.L],this.line=tt?this.session.getOverwrite()?e:e-1:t,o=i.getVisualFromLogicalIdx(n,this.bidiMap),r=this.bidiMap.bidiLevels,s=0;!this.session.getOverwrite()&&e<=t&&r[o]%2!=0&&o++;for(var a=0;at&&r[o]%2==0&&(s+=this.charWidths[r[o]]),this.wrapIndent&&(s+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(s+=this.rtlLineOffset),s},e.prototype.getSelections=function(e,t){var n,i=this.bidiMap,o=i.bidiLevels,r=[],s=0,a=Math.min(e,t)-this.wrapIndent,l=Math.max(e,t)-this.wrapIndent,c=!1,h=!1,u=0;this.wrapIndent&&(s+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var d,g=0;g=a&&dn+r/2;){if(n+=r,i===o.length-1){r=0;break}r=this.charWidths[o[++i]]}return i>0&&o[i-1]%2!=0&&o[i]%2==0?(e0&&o[i-1]%2==0&&o[i]%2!=0?t=1+(e>n?this.bidiMap.logicalFromVisual[i]:this.bidiMap.logicalFromVisual[i-1]):this.isRtlDir&&i===o.length-1&&0===r&&o[i-1]%2==0||!this.isRtlDir&&0===i&&o[i]%2!=0?t=1+this.bidiMap.logicalFromVisual[i]:(i>0&&o[i-1]%2!=0&&0!==r&&i--,t=this.bidiMap.logicalFromVisual[i]),0===t&&this.isRtlDir&&t++,t+this.wrapIndent},e}();t.BidiHandler=s})),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],(function(e,t,n){var i=e("./lib/oop"),o=e("./lib/lang"),r=e("./lib/event_emitter").EventEmitter,s=e("./range").Range,a=function(){function e(e){this.session=e,this.doc=e.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var t=this;this.cursor.on("change",(function(e){t.$cursorChanged=!0,t.$silent||t._emit("changeCursor"),t.$isEmpty||t.$silent||t._emit("changeSelection"),t.$keepDesiredColumnOnChange||e.old.column==e.value.column||(t.$desiredColumn=null)})),this.anchor.on("change",(function(){t.$anchorChanged=!0,t.$isEmpty||t.$silent||t._emit("changeSelection")}))}return e.prototype.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},e.prototype.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},e.prototype.getCursor=function(){return this.lead.getPosition()},e.prototype.setAnchor=function(e,t){this.$isEmpty=!1,this.anchor.setPosition(e,t)},e.prototype.getAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},e.prototype.getSelectionLead=function(){return this.lead.getPosition()},e.prototype.isBackwards=function(){var e=this.anchor,t=this.lead;return e.row>t.row||e.row==t.row&&e.column>t.column},e.prototype.getRange=function(){var e=this.anchor,t=this.lead;return this.$isEmpty?s.fromPoints(t,t):this.isBackwards()?s.fromPoints(t,e):s.fromPoints(e,t)},e.prototype.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},e.prototype.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},e.prototype.setRange=function(e,t){var n=t?e.end:e.start,i=t?e.start:e.end;this.$setSelection(n.row,n.column,i.row,i.column)},e.prototype.$setSelection=function(e,t,n,i){if(!this.$silent){var o=this.$isEmpty,r=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(e,t),this.cursor.setPosition(n,i),this.$isEmpty=!s.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||o!=this.$isEmpty||r)&&this._emit("changeSelection")}},e.prototype.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},e.prototype.selectTo=function(e,t){this.$moveSelection((function(){this.moveCursorTo(e,t)}))},e.prototype.selectToPosition=function(e){this.$moveSelection((function(){this.moveCursorToPosition(e)}))},e.prototype.moveTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},e.prototype.moveToPosition=function(e){this.clearSelection(),this.moveCursorToPosition(e)},e.prototype.selectUp=function(){this.$moveSelection(this.moveCursorUp)},e.prototype.selectDown=function(){this.$moveSelection(this.moveCursorDown)},e.prototype.selectRight=function(){this.$moveSelection(this.moveCursorRight)},e.prototype.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},e.prototype.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},e.prototype.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},e.prototype.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},e.prototype.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},e.prototype.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},e.prototype.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},e.prototype.getWordRange=function(e,t){if(void 0===t){var n=e||this.lead;e=n.row,t=n.column}return this.session.getWordRange(e,t)},e.prototype.selectWord=function(){this.setSelectionRange(this.getWordRange())},e.prototype.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},e.prototype.getLineRange=function(e,t){var n,i="number"==typeof e?e:this.lead.row,o=this.session.getFoldLine(i);return o?(i=o.start.row,n=o.end.row):n=i,!0===t?new s(i,0,n,this.session.getLine(n).length):new s(i,0,n+1,0)},e.prototype.selectLine=function(){this.setSelectionRange(this.getLineRange())},e.prototype.moveCursorUp=function(){this.moveCursorBy(-1,0)},e.prototype.moveCursorDown=function(){this.moveCursorBy(1,0)},e.prototype.wouldMoveIntoSoftTab=function(e,t,n){var i=e.column,o=e.column+t;return n<0&&(i=e.column-t,o=e.column),this.session.isTabStop(e)&&this.doc.getLine(e.row).slice(i,o).split(" ").length-1==t},e.prototype.moveCursorLeft=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,-1))this.moveCursorTo(e.start.row,e.start.column);else if(0===t.column)t.row>0&&this.moveCursorTo(t.row-1,this.doc.getLine(t.row-1).length);else{var n=this.session.getTabSize();this.wouldMoveIntoSoftTab(t,n,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-n):this.moveCursorBy(0,-1)}},e.prototype.moveCursorRight=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,1))this.moveCursorTo(e.end.row,e.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(t.column=i)}}this.moveCursorTo(t.row,t.column)},e.prototype.moveCursorFileEnd=function(){var e=this.doc.getLength()-1,t=this.doc.getLine(e).length;this.moveCursorTo(e,t)},e.prototype.moveCursorFileStart=function(){this.moveCursorTo(0,0)},e.prototype.moveCursorLongWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),i=n.substring(t);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var o=this.session.getFoldAt(e,t,1);if(o)this.moveCursorTo(o.end.row,o.end.column);else{if(this.session.nonTokenRe.exec(i)&&(t+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,i=n.substring(t)),t>=n.length)return this.moveCursorTo(e,n.length),this.moveCursorRight(),void(e0&&this.moveCursorWordLeft());this.session.tokenRe.exec(r)&&(n-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,n)}},e.prototype.$shortWordEndIndex=function(e){var t,n=0,i=/\s/,o=this.session.tokenRe;if(o.lastIndex=0,this.session.tokenRe.exec(e))n=this.session.tokenRe.lastIndex;else{for(;(t=e[n])&&i.test(t);)n++;if(n<1)for(o.lastIndex=0;(t=e[n])&&!o.test(t);)if(o.lastIndex=0,n++,i.test(t)){if(n>2){n--;break}for(;(t=e[n])&&i.test(t);)n++;if(n>2)break}}return o.lastIndex=0,n},e.prototype.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),i=n.substring(t),o=this.session.getFoldAt(e,t,1);if(o)return this.moveCursorTo(o.end.row,o.end.column);if(t==n.length){var r=this.doc.getLength();do{e++,i=this.doc.getLine(e)}while(e0&&/^\s*$/.test(i));n=i.length,/\s+$/.test(i)||(i="")}var r=o.stringReverse(i),s=this.$shortWordEndIndex(r);return this.moveCursorTo(t,n-s)},e.prototype.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},e.prototype.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},e.prototype.moveCursorBy=function(e,t){var n,i=this.session.documentToScreenPosition(this.lead.row,this.lead.column);if(0===t&&(0!==e&&(this.session.$bidiHandler.isBidiRow(i.row,this.lead.row)?(n=this.session.$bidiHandler.getPosLeft(i.column),i.column=Math.round(n/this.session.$bidiHandler.charWidths[0])):n=i.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?i.column=this.$desiredColumn:this.$desiredColumn=i.column),0!=e&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var o=this.session.lineWidgets[this.lead.row];e<0?e-=o.rowsAbove||0:e>0&&(e+=o.rowCount-(o.rowsAbove||0))}var r=this.session.screenToDocumentPosition(i.row+e,i.column,n);0!==e&&0===t&&r.row===this.lead.row&&(r.column,this.lead.column),this.moveCursorTo(r.row,r.column+t,0===t)},e.prototype.moveCursorToPosition=function(e){this.moveCursorTo(e.row,e.column)},e.prototype.moveCursorTo=function(e,t,n){var i=this.session.getFoldAt(e,t,1);i&&(e=i.start.row,t=i.start.column),this.$keepDesiredColumnOnChange=!0;var o=this.session.getLine(e);/[\uDC00-\uDFFF]/.test(o.charAt(t))&&o.charAt(t-1)&&(this.lead.row==e&&this.lead.column==t+1?t-=1:t+=1),this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,n||(this.$desiredColumn=null)},e.prototype.moveCursorToScreen=function(e,t,n){var i=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(i.row,i.column,n)},e.prototype.detach=function(){this.lead.detach(),this.anchor.detach()},e.prototype.fromOrientedRange=function(e){this.setSelectionRange(e,e.cursor==e.start),this.$desiredColumn=e.desiredColumn||this.$desiredColumn},e.prototype.toOrientedRange=function(e){var t=this.getRange();return e?(e.start.column=t.start.column,e.start.row=t.start.row,e.end.column=t.end.column,e.end.row=t.end.row):e=t,e.cursor=this.isBackwards()?e.start:e.end,e.desiredColumn=this.$desiredColumn,e},e.prototype.getRangeOfMovements=function(e){var t=this.getCursor();try{e(this);var n=this.getCursor();return s.fromPoints(t,n)}catch(i){return s.fromPoints(t,t)}finally{this.moveCursorToPosition(t)}},e.prototype.toJSON=function(){if(this.rangeCount)var e=this.ranges.map((function(e){var t=e.clone();return t.isBackwards=e.cursor==e.start,t}));else(e=this.getRange()).isBackwards=this.isBackwards();return e},e.prototype.fromJSON=function(e){if(null==e.start){if(this.rangeList&&e.length>1){this.toSingleRange(e[0]);for(var t=e.length;t--;){var n=s.fromPoints(e[t].start,e[t].end);e[t].isBackwards&&(n.cursor=n.start),this.addRange(n,!0)}return}e=e[0]}this.rangeList&&this.toSingleRange(e),this.setSelectionRange(e,e.isBackwards)},e.prototype.isEqual=function(e){if((e.length||this.rangeCount)&&e.length!=this.rangeCount)return!1;if(!e.length||!this.ranges)return this.getRange().isEqual(e);for(var t=this.ranges.length;t--;)if(!this.ranges[t].isEqual(e[t]))return!1;return!0},e}();a.prototype.setSelectionAnchor=a.prototype.setAnchor,a.prototype.getSelectionAnchor=a.prototype.getAnchor,a.prototype.setSelectionRange=a.prototype.setRange,i.implement(a.prototype,r),t.Selection=a})),ace.define("ace/tokenizer",["require","exports","module","ace/lib/report_error"],(function(e,t,n){var i=e("./lib/report_error").reportError,o=2e3,r=function(){function e(e){for(var t in this.splitRegex,this.states=e,this.regExps={},this.matchMappings={},this.states){for(var n=this.states[t],i=[],o=0,r=this.matchMappings[t]={defaultToken:"text"},s="g",a=[],l=0;l1?this.$applyToken:c.token),u>1&&(/\\\d/.test(c.regex)?h=c.regex.replace(/\\([0-9]+)/g,(function(e,t){return"\\"+(parseInt(t,10)+o+1)})):(u=1,h=this.removeCapturingGroups(c.regex)),c.splitRegex||"string"==typeof c.token||a.push(c)),r[o]=l,o+=u,i.push(h),c.onMatch||(c.onMatch=null)}}i.length||(r[0]=0,i.push("$")),a.forEach((function(e){e.splitRegex=this.createSplitterRegexp(e.regex,s)}),this),this.regExps[t]=new RegExp("("+i.join(")|(")+")|($)",s)}}return e.prototype.$setMaxTokenCount=function(e){o=0|e},e.prototype.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),n=this.token.apply(this,t);if("string"==typeof n)return[{type:n,value:e}];for(var i=[],o=0,r=n.length;oh){var y=e.substring(h,m-f.length);d.type==g?d.value+=y:(d.type&&c.push(d),d={type:g,value:y})}for(var v=0;vo){for(u>2*e.length&&this.reportError("infinite loop with in ace tokenizer",{startState:t,line:e});h1&&n[0]!==i&&n.unshift("#tmp",i),{tokens:c,state:n.length?n:i}},e}();r.prototype.reportError=i,t.Tokenizer=r})),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/deep_copy"],(function(e,t,n){var i,o=e("../lib/deep_copy").deepCopy;(function(){this.addRules=function(e,t){if(t)for(var n in e){for(var i=e[n],o=0;o=this.$rowTokens.length;){if(this.$row+=1,e||(e=this.$session.getLength()),this.$row>=e)return this.$row=e-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},e.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},e.prototype.getCurrentTokenRow=function(){return this.$row},e.prototype.getCurrentTokenColumn=function(){var e=this.$rowTokens,t=this.$tokenIndex,n=e[t].start;if(void 0!==n)return n;for(n=0;t>0;)n+=e[t-=1].value.length;return n},e.prototype.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},e.prototype.getCurrentTokenRange=function(){var e=this.$rowTokens[this.$tokenIndex],t=this.getCurrentTokenColumn();return new i(this.$row,t,this.$row,t+e.value.length)},e}();t.TokenIterator=o})),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],(function(e,t,n){var i,o,r=e("../../lib/oop"),s=e("../behaviour").Behaviour,a=e("../../token_iterator").TokenIterator,l=e("../../lib/lang"),c=["text","paren.rparen","rparen","paren","punctuation.operator"],h=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],u={},d={'"':'"',"'":"'"},g=function(e){var t=-1;if(e.multiSelect&&(t=e.selection.index,u.rangeCount!=e.multiSelect.rangeCount&&(u={rangeCount:e.multiSelect.rangeCount})),u[t])return i=u[t];i=u[t]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},p=function(e,t,n,i){var o=e.end.row-e.start.row;return{text:n+t+i,selection:[0,e.start.column+1,o,e.end.column+(o?0:1)]}};(o=function(e){e=e||{},this.add("braces","insertion",(function(t,n,r,s,a){var c=r.getCursorPosition(),h=s.doc.getLine(c.row);if("{"==a){g(r);var u=r.getSelectionRange(),d=s.doc.getTextRange(u),f=s.getTokenAt(c.row,c.column);if(""!==d&&"{"!==d&&r.getWrapBehavioursEnabled())return p(u,d,"{","}");if(f&&/(?:string)\.quasi|\.xml/.test(f.type)){if([/tag\-(?:open|name)/,/attribute\-name/].some((function(e){return e.test(f.type)}))||/(string)\.quasi/.test(f.type)&&"$"!==f.value[c.column-f.start-1])return;return o.recordAutoInsert(r,s,"}"),{text:"{}",selection:[1,1]}}if(o.isSaneInsertion(r,s))return/[\]\}\)]/.test(h[c.column])||r.inMultiSelectMode||e.braces?(o.recordAutoInsert(r,s,"}"),{text:"{}",selection:[1,1]}):(o.recordMaybeInsert(r,s,"{"),{text:"{",selection:[1,1]})}else if("}"==a){if(g(r),"}"==h.substring(c.column,c.column+1)&&null!==s.$findOpeningBracket("}",{column:c.column+1,row:c.row})&&o.isAutoInsertedClosing(c,h,a))return o.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==a||"\r\n"==a){g(r);var m="";if(o.isMaybeInsertedClosing(c,h)&&(m=l.stringRepeat("}",i.maybeInsertedBrackets),o.clearMaybeInsertedClosing()),"}"===h.substring(c.column,c.column+1)){var y=s.findMatchingBracket({row:c.row,column:c.column+1},"}");if(!y)return null;var v=this.$getIndent(s.getLine(y.row))}else{if(!m)return void o.clearMaybeInsertedClosing();v=this.$getIndent(h)}var w=v+s.getTabString();return{text:"\n"+w+"\n"+v+m,selection:[1,w.length,1,w.length]}}o.clearMaybeInsertedClosing()}})),this.add("braces","deletion",(function(e,t,n,o,r){var s=o.doc.getTextRange(r);if(!r.isMultiLine()&&"{"==s){if(g(n),"}"==o.doc.getLine(r.start.row).substring(r.end.column,r.end.column+1))return r.end.column++,r;i.maybeInsertedBrackets--}})),this.add("parens","insertion",(function(e,t,n,i,r){if("("==r){g(n);var s=n.getSelectionRange(),a=i.doc.getTextRange(s);if(""!==a&&n.getWrapBehavioursEnabled())return p(s,a,"(",")");if(o.isSaneInsertion(n,i))return o.recordAutoInsert(n,i,")"),{text:"()",selection:[1,1]}}else if(")"==r){g(n);var l=n.getCursorPosition(),c=i.doc.getLine(l.row);if(")"==c.substring(l.column,l.column+1)&&null!==i.$findOpeningBracket(")",{column:l.column+1,row:l.row})&&o.isAutoInsertedClosing(l,c,r))return o.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("parens","deletion",(function(e,t,n,i,o){var r=i.doc.getTextRange(o);if(!o.isMultiLine()&&"("==r&&(g(n),")"==i.doc.getLine(o.start.row).substring(o.start.column+1,o.start.column+2)))return o.end.column++,o})),this.add("brackets","insertion",(function(e,t,n,i,r){if("["==r){g(n);var s=n.getSelectionRange(),a=i.doc.getTextRange(s);if(""!==a&&n.getWrapBehavioursEnabled())return p(s,a,"[","]");if(o.isSaneInsertion(n,i))return o.recordAutoInsert(n,i,"]"),{text:"[]",selection:[1,1]}}else if("]"==r){g(n);var l=n.getCursorPosition(),c=i.doc.getLine(l.row);if("]"==c.substring(l.column,l.column+1)&&null!==i.$findOpeningBracket("]",{column:l.column+1,row:l.row})&&o.isAutoInsertedClosing(l,c,r))return o.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("brackets","deletion",(function(e,t,n,i,o){var r=i.doc.getTextRange(o);if(!o.isMultiLine()&&"["==r&&(g(n),"]"==i.doc.getLine(o.start.row).substring(o.start.column+1,o.start.column+2)))return o.end.column++,o})),this.add("string_dquotes","insertion",(function(e,t,n,i,o){var r=i.$mode.$quotes||d;if(1==o.length&&r[o]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(o))return;g(n);var s=o,a=n.getSelectionRange(),l=i.doc.getTextRange(a);if(!(""===l||1==l.length&&r[l])&&n.getWrapBehavioursEnabled())return p(a,l,s,s);if(!l){var c=n.getCursorPosition(),h=i.doc.getLine(c.row),u=h.substring(c.column-1,c.column),f=h.substring(c.column,c.column+1),m=i.getTokenAt(c.row,c.column),y=i.getTokenAt(c.row,c.column+1);if("\\"==u&&m&&/escape/.test(m.type))return null;var v,w=m&&/string|escape/.test(m.type),b=!y||/string|escape/.test(y.type);if(f==s)(v=w!==b)&&/string\.end/.test(y.type)&&(v=!1);else{if(w&&!b)return null;if(w&&b)return null;var $=i.$mode.tokenRe;$.lastIndex=0;var C=$.test(u);$.lastIndex=0;var S=$.test(f),x=i.$mode.$pairQuotesAfter;if(!(x&&x[s]&&x[s].test(u))&&C||S)return null;if(f&&!/[\s;,.})\]\\]/.test(f))return null;var A=h[c.column-2];if(u==s&&(A==s||$.test(A)))return null;v=!0}return{text:v?s+s:"",selection:[1,1]}}}})),this.add("string_dquotes","deletion",(function(e,t,n,i,o){var r=i.$mode.$quotes||d,s=i.doc.getTextRange(o);if(!o.isMultiLine()&&r.hasOwnProperty(s)&&(g(n),i.doc.getLine(o.start.row).substring(o.start.column+1,o.start.column+2)==s))return o.end.column++,o})),!1!==e.closeDocComment&&this.add("doc comment end","insertion",(function(e,t,n,i,o){if("doc-start"===e&&("\n"===o||"\r\n"===o)&&n.selection.isEmpty()){var r=n.getCursorPosition();if(0===r.column)return;for(var s=i.doc.getLine(r.row),a=i.doc.getLine(r.row+1),l=i.getTokens(r.row),c=0,h=0;h=r.column){if(c===r.column){if(!/\.doc/.test(u.type))return;if(/\*\//.test(u.value)){var d=l[h+1];if(!d||!/\.doc/.test(d.type))return}}var g=r.column-(c-u.value.length),p=u.value.indexOf("*/"),f=u.value.indexOf("/**",p>-1?p+2:0);if(-1!==f&&g>f&&g=p&&g<=f||!/\.doc/.test(u.type))return;break}}var m=this.$getIndent(s);if(/\s*\*/.test(a))return/^\s*\*/.test(s)?{text:o+m+"* ",selection:[1,2+m.length,1,2+m.length]}:{text:o+m+" * ",selection:[1,3+m.length,1,3+m.length]};if(/\/\*\*/.test(s.substring(0,r.column)))return{text:o+m+" * "+o+" "+m+"*/",selection:[1,4+m.length,1,4+m.length]}}}))}).isSaneInsertion=function(e,t){var n=e.getCursorPosition(),i=new a(t,n.row,n.column);if(!this.$matchTokenType(i.getCurrentToken()||"text",c)){if(/[)}\]]/.test(e.session.getLine(n.row)[n.column]))return!0;var o=new a(t,n.row,n.column+1);if(!this.$matchTokenType(o.getCurrentToken()||"text",c))return!1}return i.stepForward(),i.getCurrentTokenRow()!==n.row||this.$matchTokenType(i.getCurrentToken()||"text",h)},o.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},o.recordAutoInsert=function(e,t,n){var o=e.getCursorPosition(),r=t.doc.getLine(o.row);this.isAutoInsertedClosing(o,r,i.autoInsertedLineEnd[0])||(i.autoInsertedBrackets=0),i.autoInsertedRow=o.row,i.autoInsertedLineEnd=n+r.substr(o.column),i.autoInsertedBrackets++},o.recordMaybeInsert=function(e,t,n){var o=e.getCursorPosition(),r=t.doc.getLine(o.row);this.isMaybeInsertedClosing(o,r)||(i.maybeInsertedBrackets=0),i.maybeInsertedRow=o.row,i.maybeInsertedLineStart=r.substr(0,o.column)+n,i.maybeInsertedLineEnd=r.substr(o.column),i.maybeInsertedBrackets++},o.isAutoInsertedClosing=function(e,t,n){return i.autoInsertedBrackets>0&&e.row===i.autoInsertedRow&&n===i.autoInsertedLineEnd[0]&&t.substr(e.column)===i.autoInsertedLineEnd},o.isMaybeInsertedClosing=function(e,t){return i.maybeInsertedBrackets>0&&e.row===i.maybeInsertedRow&&t.substr(e.column)===i.maybeInsertedLineEnd&&t.substr(0,e.column)==i.maybeInsertedLineStart},o.popAutoInsertedClosing=function(){i.autoInsertedLineEnd=i.autoInsertedLineEnd.substr(1),i.autoInsertedBrackets--},o.clearMaybeInsertedClosing=function(){i&&(i.maybeInsertedBrackets=0,i.maybeInsertedRow=-1)},r.inherits(o,s),t.CstyleBehaviour=o})),ace.define("ace/unicode",["require","exports","module"],(function(e,t,n){for(var i=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],o=0,r=[],s=0;s2?i%l!=l-1:i%l==0})}else{if(!this.blockComment)return!1;var g=this.blockComment.start,p=this.blockComment.end,f=new RegExp("^(\\s*)(?:"+c.escapeRegExp(g)+")"),m=new RegExp("(?:"+c.escapeRegExp(p)+")\\s*$"),y=function(e,t){w(e,t)||r&&!/\S/.test(e)||(o.insertInLine({row:t,column:e.length},p),o.insertInLine({row:t,column:a},g))},v=function(e,t){var n;(n=e.match(m))&&o.removeInLine(t,e.length-n[0].length,e.length),(n=e.match(f))&&o.removeInLine(t,n[1].length,n[0].length)},w=function(e,n){if(f.test(e))return!0;for(var i=t.getTokens(n),o=0;oe.length&&($=e.length)})),a==1/0&&(a=$,r=!1,s=!1),h&&a%l!=0&&(a=Math.floor(a/l)*l),b(s?v:y)},this.toggleBlockComment=function(e,t,n,i){var o=this.blockComment;if(o){!o.start&&o[0]&&(o=o[0]);var r=(f=new h(t,i.row,i.column)).getCurrentToken();t.selection;var s,a,l=t.selection.toOrientedRange();if(r&&/comment/.test(r.type)){for(var c,d;r&&/comment/.test(r.type);){if(-1!=(m=r.value.indexOf(o.start))){var g=f.getCurrentTokenRow(),p=f.getCurrentTokenColumn()+m;c=new u(g,p,g,p+o.start.length);break}r=f.stepBackward()}var f;for(r=(f=new h(t,i.row,i.column)).getCurrentToken();r&&/comment/.test(r.type);){var m;if(-1!=(m=r.value.indexOf(o.end))){g=f.getCurrentTokenRow(),p=f.getCurrentTokenColumn()+m,d=new u(g,p,g,p+o.end.length);break}r=f.stepForward()}d&&t.remove(d),c&&(t.remove(c),s=c.start.row,a=-o.start.length)}else a=o.start.length,s=n.start.row,t.insert(n.end,o.end),t.insert(n.start,o.start);l.start.row==s&&(l.start.column+=a),l.end.row==s&&(l.end.column+=a),t.selection.fromOrientedRange(l)}},this.getNextLineIndent=function(e,t,n){return this.$getIndent(t)},this.checkOutdent=function(e,t,n){return!1},this.autoOutdent=function(e,t,n){},this.$getIndent=function(e){return e.match(/^\s*/)[0]},this.createWorker=function(e){return null},this.createModeDelegates=function(e){for(var t in this.$embeds=[],this.$modes={},e)if(e[t]){var n=e[t],i=n.prototype.$id,r=o.$modes[i];r||(o.$modes[i]=r=new n),o.$modes[t]||(o.$modes[t]=r),this.$embeds.push(t),this.$modes[t]=r}var s=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],a=function(e){var t,n,i;i=(t=l)[n=s[e]],t[s[e]]=function(){return this.$delegator(n,arguments,i)}},l=this;for(t=0;tthis.row)){var t=function(e,t,n){var i="insert"==e.action,o=(i?1:-1)*(e.end.row-e.start.row),r=(i?1:-1)*(e.end.column-e.start.column),a=e.start,l=i?a:e.end;return s(t,a,n)?{row:t.row,column:t.column}:s(l,t,!n)?{row:t.row+o,column:t.column+(t.row==l.row?r:0)}:{row:a.row,column:a.column}}(e,{row:this.row,column:this.column},this.$insertRight);this.setPosition(t.row,t.column,!0)}},e.prototype.setPosition=function(e,t,n){var i;if(i=n?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=i.row||this.column!=i.column){var o={row:this.row,column:this.column};this.row=i.row,this.column=i.column,this._signal("change",{old:o,value:i})}},e.prototype.detach=function(){this.document.off("change",this.$onChange)},e.prototype.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},e.prototype.$clipPositionToDocument=function(e,t){var n={};return e>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):e<0?(n.row=0,n.column=0):(n.row=e,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,t))),t<0&&(n.column=0),n},e}();function s(e,t,n){var i=n?e.column<=t.column:e.column=n&&(e=n-1,t=void 0);var i=this.getLine(e);return null==t&&(t=i.length),{row:e,column:t=Math.min(Math.max(t,0),i.length)}},e.prototype.clonePos=function(e){return{row:e.row,column:e.column}},e.prototype.pos=function(e,t){return{row:e,column:t}},e.prototype.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},e.prototype.insertFullLines=function(e,t){var n=0;(e=Math.min(Math.max(e,0),this.getLength()))0,i=t=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},e.prototype.replace=function(e,t){return e instanceof s||(e=s.fromPoints(e.start,e.end)),0===t.length&&e.isEmpty()?e.start:t==this.getTextRange(e)?e.end:(this.remove(e),t?this.insert(e.start,t):e.start)},e.prototype.applyDeltas=function(e){for(var t=0;t=0;t--)this.revertDelta(e[t])},e.prototype.applyDelta=function(e,t){var n="insert"==e.action;(n?e.lines.length<=1&&!e.lines[0]:!s.comparePoints(e.start,e.end))||(n&&e.lines.length>2e4?this.$splitAndapplyLargeDelta(e,2e4):(o(this.$lines,e,t),this._signal("change",e)))},e.prototype.$safeApplyDelta=function(e){var t=this.$lines.length;("remove"==e.action&&e.start.row20){n.running=setTimeout(n.$worker,20);break}}n.currentLine=t,-1==i&&(i=t),r<=i&&n.fireUpdateEvent(r,i)}}}return e.prototype.setTokenizer=function(e){this.tokenizer=e,this.lines=[],this.states=[],this.start(0)},e.prototype.setDocument=function(e){this.doc=e,this.lines=[],this.states=[],this.stop()},e.prototype.fireUpdateEvent=function(e,t){var n={first:e,last:t};this._signal("update",{data:n})},e.prototype.start=function(e){this.currentLine=Math.min(e||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},e.prototype.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},e.prototype.$updateOnChange=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.lines[t]=null;else if("remove"==e.action)this.lines.splice(t,n+1,null),this.states.splice(t,n+1,null);else{var i=Array(n+1);i.unshift(t,1),this.lines.splice.apply(this.lines,i),this.states.splice.apply(this.states,i)}this.currentLine=Math.min(t,this.currentLine,this.doc.getLength()),this.stop()},e.prototype.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},e.prototype.getTokens=function(e){return this.lines[e]||this.$tokenizeRow(e)},e.prototype.getState=function(e){return this.currentLine==e&&this.$tokenizeRow(e),this.states[e]||"start"},e.prototype.$tokenizeRow=function(e){var t=this.doc.getLine(e),n=this.states[e-1],i=this.tokenizer.getLineTokens(t,n,e);return this.states[e]+""!=i.state+""?(this.states[e]=i.state,this.lines[e+1]=null,this.currentLine>e+1&&(this.currentLine=e+1)):this.currentLine==e&&(this.currentLine=e+1),this.lines[e]=i.tokens},e.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},e}();i.implement(r.prototype,o),t.BackgroundTokenizer=r})),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/range"],(function(e,t,n){var i=e("./lib/lang"),o=e("./range").Range,r=function(){function e(e,t,n){void 0===n&&(n="text"),this.setRegexp(e),this.clazz=t,this.type=n}return e.prototype.setRegexp=function(e){this.regExp+""!=e+""&&(this.regExp=e,this.cache=[])},e.prototype.update=function(e,t,n,r){if(this.regExp)for(var s=r.firstRow,a=r.lastRow,l={},c=s;c<=a;c++){var h=this.cache[c];null==h&&((h=i.getMatchOffsets(n.getLine(c),this.regExp)).length>this.MAX_RANGES&&(h=h.slice(0,this.MAX_RANGES)),h=h.map((function(e){return new o(c,e.offset,c,e.offset+e.length)})),this.cache[c]=h.length?h:"");for(var u=h.length;u--;){var d=h[u].toScreenRange(n),g=d.toString();l[g]||(l[g]=!0,t.drawSingleLineMarker(e,d,this.clazz,r))}}},e}();r.prototype.MAX_RANGES=500,t.SearchHighlight=r})),ace.define("ace/undomanager",["require","exports","module","ace/range"],(function(e,t,n){var i=function(){function e(){this.$keepRedoStack,this.$maxRev=0,this.$fromUndo=!1,this.$undoDepth=1/0,this.reset()}return e.prototype.addSession=function(e){this.$session=e},e.prototype.add=function(e,t,n){if(!this.$fromUndo&&e!=this.$lastDelta){if(this.$keepRedoStack||(this.$redoStack.length=0),!1===t||!this.lastDeltas){this.lastDeltas=[];var i=this.$undoStack.length;i>this.$undoDepth-1&&this.$undoStack.splice(0,i-this.$undoDepth+1),this.$undoStack.push(this.lastDeltas),e.id=this.$rev=++this.$maxRev}"remove"!=e.action&&"insert"!=e.action||(this.$lastDelta=e),this.lastDeltas.push(e)}},e.prototype.addSelection=function(e,t){this.selections.push({value:e,rev:t||this.$rev})},e.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},e.prototype.markIgnored=function(e,t){null==t&&(t=this.$rev+1);for(var n=this.$undoStack,i=n.length;i--;){var o=n[i][0];if(o.id<=e)break;o.id0},e.prototype.canRedo=function(){return this.$redoStack.length>0},e.prototype.bookmark=function(e){null==e&&(e=this.$rev),this.mark=e},e.prototype.isAtBookmark=function(){return this.$rev===this.mark},e.prototype.toJSON=function(){return{$redoStack:this.$redoStack,$undoStack:this.$undoStack}},e.prototype.fromJSON=function(e){this.reset(),this.$undoStack=e.$undoStack,this.$redoStack=e.$redoStack},e.prototype.$prettyPrint=function(e){return e?a(e):a(this.$undoStack)+"\n---\n"+a(this.$redoStack)},e}();i.prototype.hasUndo=i.prototype.canUndo,i.prototype.hasRedo=i.prototype.canRedo,i.prototype.isClean=i.prototype.isAtBookmark,i.prototype.markClean=i.prototype.bookmark;var o=e("./range").Range,r=o.comparePoints;function s(e){return{row:e.row,column:e.column}}function a(e){if(e=e||this,Array.isArray(e))return e.map(a).join("\n");var t="";return e.action?(t="insert"==e.action?"+":"-",t+="["+e.lines+"]"):e.value&&(t=Array.isArray(e.value)?e.value.map(l).join("\n"):l(e.value)),e.start&&(t+=l(e)),(e.id||e.rev)&&(t+="\t("+(e.id||e.rev)+")"),t}function l(e){return e.start.row+":"+e.start.column+"=>"+e.end.row+":"+e.end.column}function c(e,t){var n="insert"==e.action,i="insert"==t.action;if(n&&i)if(r(t.start,e.end)>=0)d(t,e,-1);else{if(!(r(t.start,e.start)<=0))return null;d(e,t,1)}else if(n&&!i)if(r(t.start,e.end)>=0)d(t,e,-1);else{if(!(r(t.end,e.start)<=0))return null;d(e,t,-1)}else if(!n&&i)if(r(t.start,e.start)>=0)d(t,e,1);else{if(!(r(t.start,e.start)<=0))return null;d(e,t,1)}else if(!n&&!i)if(r(t.start,e.start)>=0)d(t,e,1);else{if(!(r(t.end,e.start)<=0))return null;d(e,t,-1)}return[t,e]}function h(e,t){for(var n=e.length;n--;)for(var i=0;i=0?d(e,t,-1):(r(e.start,t.start)<=0||d(e,o.fromPoints(t.start,e.start),-1),d(t,e,1));else if(!n&&i)r(t.start,e.end)>=0?d(t,e,-1):(r(t.start,e.start)<=0||d(t,o.fromPoints(e.start,t.start),-1),d(e,t,1));else if(!n&&!i)if(r(t.start,e.end)>=0)d(t,e,-1);else{var s,a;if(!(r(t.end,e.start)<=0))return r(e.start,t.start)<0&&(s=e,e=p(e,t.start)),r(e.end,t.end)>0&&(a=p(e,t.end)),g(t.end,e.start,e.end,-1),a&&!s&&(e.lines=a.lines,e.start=a.start,e.end=a.end,a=e),[t,s,a].filter(Boolean);d(e,t,-1)}return[t,e]}function d(e,t,n){g(e.start,t.start,t.end,n),g(e.end,t.start,t.end,n)}function g(e,t,n,i){e.row==(1==i?t:n).row&&(e.column+=i*(n.column-t.column)),e.row+=i*(n.row-t.row)}function p(e,t){var n=e.lines,i=e.end;e.end=s(t);var o=e.end.row-e.start.row,r=n.splice(o,n.length),a=o?t.column:t.column-e.start.column;return n.push(r[0].substring(0,a)),r[0]=r[0].substr(a),{start:s(t),end:i,lines:r,action:e.action}}function f(e,t){t=function(e){return{start:s(e.start),end:s(e.end),action:e.action,lines:e.lines.slice()}}(t);for(var n=e.length;n--;){for(var i=e[n],o=0;othis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(e),this.folds.sort((function(e,t){return-e.range.compareEnd(t.start.row,t.start.column)})),this.range.compareEnd(e.start.row,e.start.column)>0?(this.end.row=e.end.row,this.end.column=e.end.column):this.range.compareStart(e.end.row,e.end.column)<0&&(this.start.row=e.start.row,this.start.column=e.start.column)}else if(e.start.row==this.end.row)this.folds.push(e),this.end.row=e.end.row,this.end.column=e.end.column;else{if(e.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(e),this.start.row=e.start.row,this.start.column=e.start.column}e.foldLine=this},e.prototype.containsRow=function(e){return e>=this.start.row&&e<=this.end.row},e.prototype.walk=function(e,t,n){var i,o,r=0,s=this.folds,a=!0;null==t&&(t=this.end.row,n=this.end.column);for(var l=0;l0)){var l=i(e,s.start);return 0===a?t&&0!==l?-r-2:r:l>0||0===l&&!t?r:-r-1}}return-r-1},e.prototype.add=function(e){var t=!e.isEmpty(),n=this.pointIndex(e.start,t);n<0&&(n=-n-1);var i=this.pointIndex(e.end,t,n);return i<0?i=-i-1:i++,this.ranges.splice(n,i-n,e)},e.prototype.addList=function(e){for(var t=[],n=e.length;n--;)t.push.apply(t,this.add(e[n]));return t},e.prototype.substractPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges.splice(t,1)},e.prototype.merge=function(){for(var e,t=[],n=this.ranges,o=(n=n.sort((function(e,t){return i(e.start,t.start)})))[0],r=1;r=0},e.prototype.containsPoint=function(e){return this.pointIndex(e)>=0},e.prototype.rangeAtPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges[t]},e.prototype.clipRows=function(e,t){var n=this.ranges;if(n[0].start.row>t||n[n.length-1].start.row=i);s++);if("insert"==e.action){for(var l=o-i,c=-t.column+n.column;si);s++)if(h.start.row==i&&h.start.column>=t.column&&(h.start.column==t.column&&this.$bias<=0||(h.start.column+=c,h.start.row+=l)),h.end.row==i&&h.end.column>=t.column){if(h.end.column==t.column&&this.$bias<0)continue;h.end.column==t.column&&c>0&&sh.start.column&&h.end.column==r[s+1].start.column&&(h.end.column-=c),h.end.column+=c,h.end.row+=l}}else for(l=i-o,c=t.column-n.column;so);s++)h.end.rowt.column)&&(h.end.column=t.column,h.end.row=t.row):(h.end.column+=c,h.end.row+=l):h.end.row>o&&(h.end.row+=l),h.start.rowt.column)&&(h.start.column=t.column,h.start.row=t.row):(h.start.column+=c,h.start.row+=l):h.start.row>o&&(h.start.row+=l);if(0!=l&&s=e)return o;if(o.end.row>e)return null}return null},this.getNextFoldLine=function(e,t){var n=this.$foldData,i=0;for(t&&(i=n.indexOf(t)),-1==i&&(i=0);i=e)return o}return null},this.getFoldedRowCount=function(e,t){for(var n=this.$foldData,i=t-e+1,o=0;o=t){a=e?i-=t-a:i=0);break}s>=e&&(i-=a>=e?s-a:s-e+1)}return i},this.$addFoldLine=function(e){return this.$foldData.push(e),this.$foldData.sort((function(e,t){return e.start.row-t.start.row})),e},this.addFold=function(e,t){var n,i=this.$foldData,s=!1;e instanceof r?n=e:(n=new r(t,e)).collapseChildren=t.collapseChildren,this.$clipRangeToDocument(n.range);var a=n.start.row,l=n.start.column,c=n.end.row,h=n.end.column,u=this.getFoldAt(a,l,1),d=this.getFoldAt(c,h,-1);if(u&&d==u)return u.addSubFold(n);u&&!u.range.isStart(a,l)&&this.removeFold(u),d&&!d.range.isEnd(c,h)&&this.removeFold(d);var g=this.getFoldsInRange(n.range);g.length>0&&(this.removeFolds(g),n.collapseChildren||g.forEach((function(e){n.addSubFold(e)})));for(var p=0;p0&&this.foldAll(e.start.row+1,e.end.row,e.collapseChildren-1),e.subFolds=[]},this.expandFolds=function(e){e.forEach((function(e){this.expandFold(e)}),this)},this.unfold=function(e,t){var n,o;if(null==e)n=new i(0,0,this.getLength(),0),null==t&&(t=!0);else if("number"==typeof e)n=new i(e,0,e,this.getLine(e).length);else if("row"in e)n=i.fromPoints(e,e);else{if(Array.isArray(e))return o=[],e.forEach((function(e){o=o.concat(this.unfold(e))}),this),o;n=e}for(var r=o=this.getFoldsInRangeList(n);1==o.length&&i.comparePoints(o[0].start,n.start)<0&&i.comparePoints(o[0].end,n.end)>0;)this.expandFolds(o),o=this.getFoldsInRangeList(n);if(0!=t?this.removeFolds(o):this.expandFolds(o),r.length)return r},this.isRowFolded=function(e,t){return!!this.getFoldLine(e,t)},this.getRowFoldEnd=function(e,t){var n=this.getFoldLine(e,t);return n?n.end.row:e},this.getRowFoldStart=function(e,t){var n=this.getFoldLine(e,t);return n?n.start.row:e},this.getFoldDisplayLine=function(e,t,n,i,o){null==i&&(i=e.start.row),null==o&&(o=0),null==t&&(t=e.end.row),null==n&&(n=this.getLine(t).length);var r=this.doc,s="";return e.walk((function(e,t,n,a){if(!(tu)break}while(r&&l.test(r.type));r=o.stepBackward()}else r=o.getCurrentToken();return c.end.row=o.getCurrentTokenRow(),c.end.column=o.getCurrentTokenColumn(),c}},this.foldAll=function(e,t,n,i){null==n&&(n=1e5);var o=this.foldWidgets;if(o){t=t||this.getLength();for(var r=e=e||0;r=e&&(r=s.end.row,s.collapseChildren=n,this.addFold("...",s))}}},this.foldToLevel=function(e){for(this.foldAll();e-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var e=this;this.foldAll(null,null,null,(function(t){for(var n=e.getTokens(t),i=0;i=0;){var r=n[o];if(null==r&&(r=n[o]=this.getFoldWidget(o)),"start"==r){var s=this.getFoldWidgetRange(o);if(i||(i=s),s&&s.end.row>=e)break}o--}return{range:-1!==o&&s,firstRange:i}},this.onFoldWidgetClick=function(e,t){t instanceof a&&(t=t.domEvent);var n={children:t.shiftKey,all:t.ctrlKey||t.metaKey,siblings:t.altKey};if(!this.$toggleFoldWidget(e,n)){var i=t.target||t.srcElement;i&&/ace_fold-widget/.test(i.className)&&(i.className+=" ace_invalid")}},this.$toggleFoldWidget=function(e,t){if(this.getFoldWidget){var n=this.getFoldWidget(e),i=this.getLine(e),o="end"===n?-1:1,r=this.getFoldAt(e,-1===o?0:i.length,o);if(r)return t.children||t.all?this.removeFold(r):this.expandFold(r),r;var s=this.getFoldWidgetRange(e,!0);if(s&&!s.isMultiLine()&&(r=this.getFoldAt(s.start.row,s.start.column,1))&&s.isEqual(r.range))return this.removeFold(r),r;if(t.siblings){var a=this.getParentFoldRangeData(e);if(a.range)var l=a.range.start.row+1,c=a.range.end.row;this.foldAll(l,c,t.all?1e4:0)}else t.children?(c=s?s.end.row:this.getLength(),this.foldAll(e+1,c,t.all?1e4:0)):s&&(t.all&&(s.collapseChildren=1e4),this.addFold("...",s));return s}},this.toggleFoldWidget=function(e){var t=this.selection.getCursor().row;t=this.getRowFoldStart(t);var n=this.$toggleFoldWidget(t,{});if(!n){var i=this.getParentFoldRangeData(t,!0);if(n=i.range||i.firstRange){t=n.start.row;var o=this.getFoldAt(t,this.getLine(t).length,1);o?this.removeFold(o):this.addFold("...",n)}}},this.updateFoldWidgets=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.foldWidgets[t]=null;else if("remove"==e.action)this.foldWidgets.splice(t,n+1,null);else{var i=Array(n+1);i.unshift(t,1),this.foldWidgets.splice.apply(this.foldWidgets,i)}},this.tokenizerUpdateFoldWidgets=function(e){var t=e.data;t.first!=t.last&&this.foldWidgets.length>t.first&&this.foldWidgets.splice(t.first,this.foldWidgets.length)}}})),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],(function(e,t,n){var i=e("../token_iterator").TokenIterator,o=e("../range").Range;t.BracketMatch=function(){this.findMatchingBracket=function(e,t){if(0==e.column)return null;var n=t||this.getLine(e.row).charAt(e.column-1);if(""==n)return null;var i=n.match(/([\(\[\{])|([\)\]\}])/);return i?i[1]?this.$findClosingBracket(i[1],e):this.$findOpeningBracket(i[2],e):null},this.getBracketRange=function(e){var t,n=this.getLine(e.row),i=!0,r=n.charAt(e.column-1),s=r&&r.match(/([\(\[\{])|([\)\]\}])/);if(s||(r=n.charAt(e.column),e={row:e.row,column:e.column+1},s=r&&r.match(/([\(\[\{])|([\)\]\}])/),i=!1),!s)return null;if(s[1]){if(!(a=this.$findClosingBracket(s[1],e)))return null;t=o.fromPoints(e,a),i||(t.end.column++,t.start.column--),t.cursor=t.end}else{var a;if(!(a=this.$findOpeningBracket(s[2],e)))return null;t=o.fromPoints(a,e),i||(t.start.column++,t.end.column--),t.cursor=t.start}return t},this.getMatchingBracketRanges=function(e,t){var n=this.getLine(e.row),i=/([\(\[\{])|([\)\]\}])/,r=!t&&n.charAt(e.column-1),s=r&&r.match(i);if(s||(r=(void 0===t||t)&&n.charAt(e.column),e={row:e.row,column:e.column+1},s=r&&r.match(i)),!s)return null;var a=new o(e.row,e.column-1,e.row,e.column),l=s[1]?this.$findClosingBracket(s[1],e):this.$findOpeningBracket(s[2],e);return l?[a,new o(l.row,l.column,l.row,l.column+1)]:[a]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(e,t,n){var o=this.$brackets[e],r=1,s=new i(this,t.row,t.column),a=s.getCurrentToken();if(a||(a=s.stepForward()),a){n||(n=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)").replace(/-close\b/,"-(close|open)")+")+"));for(var l=t.column-s.getCurrentTokenColumn()-2,c=a.value;;){for(;l>=0;){var h=c.charAt(l);if(h==o){if(0==(r-=1))return{row:s.getCurrentTokenRow(),column:l+s.getCurrentTokenColumn()}}else h==e&&(r+=1);l-=1}do{a=s.stepBackward()}while(a&&!n.test(a.type));if(null==a)break;l=(c=a.value).length-1}return null}},this.$findClosingBracket=function(e,t,n){var o=this.$brackets[e],r=1,s=new i(this,t.row,t.column),a=s.getCurrentToken();if(a||(a=s.stepForward()),a){n||(n=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)").replace(/-open\b/,"-(close|open)")+")+"));for(var l=t.column-s.getCurrentTokenColumn();;){for(var c=a.value,h=c.length;l"===t.value?i=!0:-1!==t.type.indexOf("tag-name")&&(n=!0))}while(t&&!n);return t},this.$findClosingTag=function(e,t){var n,i=t.value,r=t.value,s=0,a=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);t=e.stepForward();var l=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+t.value.length),c=!1;do{if(-1!==(n=t).type.indexOf("tag-close")&&!c){var h=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);c=!0}if(t=e.stepForward())if(">"!==t.value||c||(h=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1),c=!0),-1!==t.type.indexOf("tag-name")){if(r===(i=t.value))if("<"===n.value)s++;else if(""!==t.value)return;var g=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1)}}else r===i&&"/>"===t.value&&--s<0&&(g=d=u=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+2),h=new o(l.end.row,l.end.column,l.end.row,l.end.column+1))}while(t&&s>=0);if(a&&h&&u&&g&&l&&d)return{openTag:new o(a.start.row,a.start.column,h.end.row,h.end.column),closeTag:new o(u.start.row,u.start.column,g.end.row,g.end.column),openTagName:l,closeTagName:d}},this.$findOpeningTag=function(e,t){var n=e.getCurrentToken(),i=t.value,r=0,s=e.getCurrentTokenRow(),a=e.getCurrentTokenColumn(),l=a+2,c=new o(s,a,s,l);e.stepForward();var h=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+t.value.length);if(-1===t.type.indexOf("tag-close")&&(t=e.stepForward()),t&&">"===t.value){var u=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);e.stepBackward(),e.stepBackward();do{if(t=n,s=e.getCurrentTokenRow(),l=(a=e.getCurrentTokenColumn())+t.value.length,n=e.stepBackward(),t)if(-1!==t.type.indexOf("tag-name")){if(i===t.value)if("<"===n.value){if(++r>0){var d=new o(s,a,s,l),g=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);do{t=e.stepForward()}while(t&&">"!==t.value);var p=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1)}}else""===t.value){for(var f=0,m=n;m;){if(-1!==m.type.indexOf("tag-name")&&m.value===i){r--;break}if("<"===m.value)break;m=e.stepBackward(),f++}for(var y=0;yn&&(this.$docRowCache.splice(n,t),this.$screenRowCache.splice(n,t))},e.prototype.$getRowCacheIndex=function(e,t){for(var n=0,i=e.length-1;n<=i;){var o=n+i>>1,r=e[o];if(t>r)n=o+1;else{if(!(t=t);r++);return(n=i[r])?(n.index=r,n.start=o-n.value.length,n):null},e.prototype.setUndoManager=function(e){if(this.$undoManager=e,this.$informUndoManager&&this.$informUndoManager.cancel(),e){var t=this;e.addSession(this),this.$syncInformUndoManager=function(){t.$informUndoManager.cancel(),t.mergeUndoDeltas=!1},this.$informUndoManager=o.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},e.prototype.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},e.prototype.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},e.prototype.getTabString=function(){return this.getUseSoftTabs()?o.stringRepeat(" ",this.getTabSize()):"\t"},e.prototype.setUseSoftTabs=function(e){this.setOption("useSoftTabs",e)},e.prototype.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},e.prototype.setTabSize=function(e){this.setOption("tabSize",e)},e.prototype.getTabSize=function(){return this.$tabSize},e.prototype.isTabStop=function(e){return this.$useSoftTabs&&e.column%this.$tabSize==0},e.prototype.setNavigateWithinSoftTabs=function(e){this.setOption("navigateWithinSoftTabs",e)},e.prototype.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},e.prototype.setOverwrite=function(e){this.setOption("overwrite",e)},e.prototype.getOverwrite=function(){return this.$overwrite},e.prototype.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},e.prototype.addGutterDecoration=function(e,t){this.$decorations[e]||(this.$decorations[e]=""),this.$decorations[e]+=" "+t,this._signal("changeBreakpoint",{})},e.prototype.removeGutterDecoration=function(e,t){this.$decorations[e]=(this.$decorations[e]||"").replace(" "+t,""),this._signal("changeBreakpoint",{})},e.prototype.getBreakpoints=function(){return this.$breakpoints},e.prototype.setBreakpoints=function(e){this.$breakpoints=[];for(var t=0;t0&&(i=!!n.charAt(t-1).match(this.tokenRe)),i||(i=!!n.charAt(t).match(this.tokenRe)),i)var o=this.tokenRe;else o=/^\s+$/.test(n.slice(t-1,t+1))?/\s/:this.nonTokenRe;var r=t;if(r>0){do{r--}while(r>=0&&n.charAt(r).match(o));r++}for(var s=t;se&&(e=t.screenWidth)})),this.lineWidgetWidth=e},e.prototype.$computeWidth=function(e){if(this.$modified||e){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var t=this.doc.getAllLines(),n=this.$rowLengthCache,i=0,o=0,r=this.$foldData[o],s=r?r.start.row:1/0,a=t.length,l=0;ls){if((l=r.end.row+1)>=a)break;s=(r=this.$foldData[o++])?r.start.row:1/0}null==n[l]&&(n[l]=this.$getStringScreenWidth(t[l])[0]),n[l]>i&&(i=n[l])}this.screenWidth=i}},e.prototype.getLine=function(e){return this.doc.getLine(e)},e.prototype.getLines=function(e,t){return this.doc.getLines(e,t)},e.prototype.getLength=function(){return this.doc.getLength()},e.prototype.getTextRange=function(e){return this.doc.getTextRange(e||this.selection.getRange())},e.prototype.insert=function(e,t){return this.doc.insert(e,t)},e.prototype.remove=function(e){return this.doc.remove(e)},e.prototype.removeFullLines=function(e,t){return this.doc.removeFullLines(e,t)},e.prototype.undoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=e.length-1;-1!=n;n--){var i=e[n];"insert"==i.action||"remove"==i.action?this.doc.revertDelta(i):i.folds&&this.addFolds(i.folds)}!t&&this.$undoSelect&&(e.selectionBefore?this.selection.fromJSON(e.selectionBefore):this.selection.setRange(this.$getUndoSelection(e,!0))),this.$fromUndo=!1}},e.prototype.redoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=0;ne.end.column&&(r.start.column+=c),r.end.row==e.end.row&&r.end.column>e.end.column&&(r.end.column+=c)),s&&r.start.row>=e.end.row&&(r.start.row+=s,r.end.row+=s)}if(r.end=this.insert(r.start,i),o.length){var a=e.start,l=r.start,c=(s=l.row-a.row,l.column-a.column);this.addFolds(o.map((function(e){return(e=e.clone()).start.row==a.row&&(e.start.column+=c),e.end.row==a.row&&(e.end.column+=c),e.start.row+=s,e.end.row+=s,e})))}return r},e.prototype.indentRows=function(e,t,n){n=n.replace(/\t/g,this.getTabString());for(var i=e;i<=t;i++)this.doc.insertInLine({row:i,column:0},n)},e.prototype.outdentRows=function(e){for(var t=e.collapseRows(),n=new h(0,0,0,0),i=this.getTabSize(),o=t.start.row;o<=t.end.row;++o){var r=this.getLine(o);n.start.row=o,n.end.row=o;for(var s=0;s0){var o;if((o=this.getRowFoldEnd(t+n))>this.doc.getLength()-1)return 0;i=o-t}else e=this.$clipRowToDocument(e),i=(t=this.$clipRowToDocument(t))-e+1;var r=new h(e,0,t,Number.MAX_VALUE),s=this.getFoldsInRange(r).map((function(e){return(e=e.clone()).start.row+=i,e.end.row+=i,e})),a=0==n?this.doc.getLines(e,t):this.doc.removeFullLines(e,t);return this.doc.insertFullLines(e+i,a),s.length&&this.addFolds(s),i},e.prototype.moveLinesUp=function(e,t){return this.$moveLines(e,t,-1)},e.prototype.moveLinesDown=function(e,t){return this.$moveLines(e,t,1)},e.prototype.duplicateLines=function(e,t){return this.$moveLines(e,t,0)},e.prototype.$clipRowToDocument=function(e){return Math.max(0,Math.min(e,this.doc.getLength()-1))},e.prototype.$clipColumnToRow=function(e,t){return t<0?0:Math.min(this.doc.getLine(e).length,t)},e.prototype.$clipPositionToDocument=function(e,t){if(t=Math.max(0,t),e<0)e=0,t=0;else{var n=this.doc.getLength();e>=n?(e=n-1,t=this.doc.getLine(n-1).length):t=Math.min(this.doc.getLine(e).length,t)}return{row:e,column:t}},e.prototype.$clipRangeToDocument=function(e){e.start.row<0?(e.start.row=0,e.start.column=0):e.start.column=this.$clipColumnToRow(e.start.row,e.start.column);var t=this.doc.getLength()-1;return e.end.row>t?(e.end.row=t,e.end.column=this.doc.getLine(t).length):e.end.column=this.$clipColumnToRow(e.end.row,e.end.column),e},e.prototype.setUseWrapMode=function(e){if(e!=this.$useWrapMode){if(this.$useWrapMode=e,this.$modified=!0,this.$resetRowCache(0),e){var t=this.getLength();this.$wrapData=Array(t),this.$updateWrapData(0,t-1)}this._signal("changeWrapMode")}},e.prototype.getUseWrapMode=function(){return this.$useWrapMode},e.prototype.setWrapLimitRange=function(e,t){this.$wrapLimitRange.min===e&&this.$wrapLimitRange.max===t||(this.$wrapLimitRange={min:e,max:t},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},e.prototype.adjustWrapLimit=function(e,t){var n=this.$wrapLimitRange;n.max<0&&(n={min:t,max:t});var i=this.$constrainWrapLimit(e,n.min,n.max);return i!=this.$wrapLimit&&i>1&&(this.$wrapLimit=i,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},e.prototype.$constrainWrapLimit=function(e,t,n){return t&&(e=Math.max(t,e)),n&&(e=Math.min(n,e)),e},e.prototype.getWrapLimit=function(){return this.$wrapLimit},e.prototype.setWrapLimit=function(e){this.setWrapLimitRange(e,e)},e.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},e.prototype.$updateInternalDataOnChange=function(e){var t=this.$useWrapMode,n=e.action,i=e.start,o=e.end,r=i.row,s=o.row,a=s-r,l=null;if(this.$updating=!0,0!=a)if("remove"===n){this[t?"$wrapData":"$rowLengthCache"].splice(r,a);var c=this.$foldData;l=this.getFoldsInRange(e),this.removeFolds(l);var h=0;if(f=this.getFoldLine(o.row)){f.addRemoveChars(o.row,o.column,i.column-o.column),f.shiftRow(-a);var u=this.getFoldLine(r);u&&u!==f&&(u.merge(f),f=u),h=c.indexOf(f)+1}for(;h=o.row&&f.shiftRow(-a);s=r}else{var d=Array(a);d.unshift(r,0);var g=t?this.$wrapData:this.$rowLengthCache;if(g.splice.apply(g,d),c=this.$foldData,h=0,f=this.getFoldLine(r)){var p=f.range.compareInside(i.row,i.column);0==p?(f=f.split(i.row,i.column))&&(f.shiftRow(a),f.addRemoveChars(s,0,o.column-i.column)):-1==p&&(f.addRemoveChars(r,0,o.column-i.column),f.shiftRow(a)),h=c.indexOf(f)+1}for(;h=r&&f.shiftRow(a)}}else a=Math.abs(e.start.column-e.end.column),"remove"===n&&(l=this.getFoldsInRange(e),this.removeFolds(l),a=-a),(f=this.getFoldLine(r))&&f.addRemoveChars(r,i.column,a);return t&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,t?this.$updateWrapData(r,s):this.$updateRowLengthCache(r,s),l},e.prototype.$updateRowLengthCache=function(e,t){this.$rowLengthCache[e]=null,this.$rowLengthCache[t]=null},e.prototype.$updateWrapData=function(e,t){var n,i,o=this.doc.getAllLines(),r=this.getTabSize(),s=this.$wrapData,a=this.$wrapLimit,l=e;for(t=Math.min(t,o.length-1);l<=t;)(i=this.getFoldLine(l,i))?(n=[],i.walk(function(e,t,i,r){var s;if(null!=e){(s=this.$getDisplayTokens(e,n.length))[0]=v;for(var a=1;at-u;){var d=r+t-u;if(e[d-1]>=$&&e[d]>=$)h(d);else if(e[d]!=v&&e[d]!=w){for(var g=Math.max(d-(t-(t>>2)),r-1);d>g&&e[d]g&&e[d]g&&e[d]==b;)d--}else for(;d>g&&e[d]<$;)d--;d>g?h(++d):(e[d=r+t]==y&&d--,h(d-u))}else{for(;d!=r-1&&e[d]!=v;d--);if(d>r){h(d);continue}for(d=r+t;d39&&r<48||r>57&&r<64?i.push(b):r>=4352&&x(r)?i.push(m,y):i.push(m)}return i},e.prototype.$getStringScreenWidth=function(e,t,n){if(0==t)return[0,0];var i,o;for(null==t&&(t=1/0),n=n||0,o=0;o=4352&&x(i)?n+=2:n+=1,!(n>t));o++);return[n,o]},e.prototype.getRowLength=function(e){var t=1;return this.lineWidgets&&(t+=this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0),this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+t:t},e.prototype.getRowLineCount=function(e){return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1:1},e.prototype.getRowWrapIndent=function(e){if(this.$useWrapMode){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE),n=this.$wrapData[t.row];return n.length&&n[0]=0){a=c[h],r=this.$docRowCache[h];var d=e>c[u-1]}else d=!u;for(var g=this.getLength()-1,p=this.getNextFoldLine(r),f=p?p.start.row:1/0;a<=e&&!(a+(l=this.getRowLength(r))>e||r>=g);)a+=l,++r>f&&(r=p.end.row+1,f=(p=this.getNextFoldLine(r,p))?p.start.row:1/0),d&&(this.$docRowCache.push(r),this.$screenRowCache.push(a));if(p&&p.start.row<=r)i=this.getFoldDisplayLine(p),r=p.start.row;else{if(a+l<=e||r>g)return{row:g,column:this.getLine(g).length};i=this.getLine(r),p=null}var m=0,y=Math.floor(e-a);if(this.$useWrapMode){var v=this.$wrapData[r];v&&(o=v[y],y>0&&v.length&&(m=v.indent,s=v[y-1]||v[v.length-1],i=i.substring(s)))}return void 0!==n&&this.$bidiHandler.isBidiRow(a+y,r,y)&&(t=this.$bidiHandler.offsetToCol(n)),s+=this.$getStringScreenWidth(i,t-m)[1],this.$useWrapMode&&s>=o&&(s=o-1),p?p.idxToPosition(s):{row:r,column:s}},e.prototype.documentToScreenPosition=function(e,t){if(void 0===t)var n=this.$clipPositionToDocument(e.row,e.column);else n=this.$clipPositionToDocument(e,t);e=n.row,t=n.column;var i,o=0,r=null;(i=this.getFoldAt(e,t,1))&&(e=i.start.row,t=i.start.column);var s,a=0,l=this.$docRowCache,c=this.$getRowCacheIndex(l,e),h=l.length;if(h&&c>=0){a=l[c],o=this.$screenRowCache[c];var u=e>l[h-1]}else u=!h;for(var d=this.getNextFoldLine(a),g=d?d.start.row:1/0;a=g){if((s=d.end.row+1)>e)break;g=(d=this.getNextFoldLine(s,d))?d.start.row:1/0}else s=a+1;o+=this.getRowLength(a),a=s,u&&(this.$docRowCache.push(a),this.$screenRowCache.push(o))}var p="";d&&a>=g?(p=this.getFoldDisplayLine(d,e,t),r=d.start.row):(p=this.getLine(e).substring(0,t),r=e);var f=0;if(this.$useWrapMode){var m=this.$wrapData[r];if(m){for(var y=0;p.length>=m[y];)o++,y++;p=p.substring(m[y-1]||0,p.length),f=y>0?m.indent:0}}return this.lineWidgets&&this.lineWidgets[a]&&this.lineWidgets[a].rowsAbove&&(o+=this.lineWidgets[a].rowsAbove),{row:o,column:f+this.$getStringScreenWidth(p)[0]}},e.prototype.documentToScreenColumn=function(e,t){return this.documentToScreenPosition(e,t).column},e.prototype.documentToScreenRow=function(e,t){return this.documentToScreenPosition(e,t).row},e.prototype.getScreenLength=function(){var e=0,t=null;if(this.$useWrapMode)for(var n=this.$wrapData.length,i=0,o=(a=0,(t=this.$foldData[a++])?t.start.row:1/0);io&&(i=t.end.row+1,o=(t=this.$foldData[a++])?t.start.row:1/0)}else{e=this.getLength();for(var s=this.$foldData,a=0;an);r++);return[i,r]})},e.prototype.getPrecedingCharacter=function(){var e=this.selection.getCursor();return 0===e.column?0===e.row?"":this.doc.getNewLineCharacter():this.getLine(e.row)[e.column-1]},e.prototype.destroy=function(){this.destroyed||(this.bgTokenizer.setDocument(null),this.bgTokenizer.cleanup(),this.destroyed=!0),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection.detach()},e}();f.$uid=0,f.prototype.$modes=s.$modes,f.prototype.getValue=f.prototype.toString,f.prototype.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},f.prototype.$overwrite=!1,f.prototype.$mode=null,f.prototype.$modeId=null,f.prototype.$scrollTop=0,f.prototype.$scrollLeft=0,f.prototype.$wrapLimit=80,f.prototype.$useWrapMode=!1,f.prototype.$wrapLimitRange={min:null,max:null},f.prototype.lineWidgets=null,f.prototype.isFullWidth=x,i.implement(f.prototype,a);var m=1,y=2,v=3,w=4,b=9,$=10,C=11,S=12;function x(e){return!(e<4352)&&(e>=4352&&e<=4447||e>=4515&&e<=4519||e>=4602&&e<=4607||e>=9001&&e<=9002||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12283||e>=12288&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12589||e>=12593&&e<=12686||e>=12688&&e<=12730||e>=12736&&e<=12771||e>=12784&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=13054||e>=13056&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=55216&&e<=55238||e>=55243&&e<=55291||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=65281&&e<=65376||e>=65504&&e<=65510)}e("./edit_session/folding").Folding.call(f.prototype),e("./edit_session/bracket_match").BracketMatch.call(f.prototype),s.defineOptions(f.prototype,"session",{wrap:{set:function(e){if(e&&"off"!=e?"free"==e?e=!0:"printMargin"==e?e=-1:"string"==typeof e&&(e=parseInt(e,10)||!1):e=!1,this.$wrap!=e)if(this.$wrap=e,e){var t="number"==typeof e?e:null;this.setWrapLimitRange(t,t),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?-1==this.$wrap?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(e){(e="auto"==e?"text"!=this.$mode.type:"text"!=e)!=this.$wrapAsCode&&(this.$wrapAsCode=e,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(e){this.$useWorker=e,this.$stopWorker(),e&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(e){(e=parseInt(e))>0&&this.$tabSize!==e&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=e,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(e){this.setFoldStyle(e)},handlesSet:!0},overwrite:{set:function(e){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(e){this.doc.setNewLineMode(e)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(e){this.setMode(e)},get:function(){return this.$modeId},handlesSet:!0}}),t.EditSession=f})),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(e,t,n){var i=e("./lib/lang"),o=e("./lib/oop"),r=e("./range").Range,s=function(){function e(){this.$options={}}return e.prototype.set=function(e){return o.mixin(this.$options,e),this},e.prototype.getOptions=function(){return i.copyObject(this.$options)},e.prototype.setOptions=function(e){this.$options=e},e.prototype.find=function(e){var t=this.$options,n=this.$matchIterator(e,t);if(!n)return!1;var i=null;return n.forEach((function(e,n,o,s){return i=new r(e,n,o,s),!(n==s&&t.start&&t.start.start&&0!=t.skipCurrent&&i.isEqual(t.start)&&(i=null,1))})),i},e.prototype.findAll=function(e){var t=this.$options;if(!t.needle)return[];this.$assembleRegExp(t);var n=t.range,o=n?e.getLines(n.start.row,n.end.row):e.doc.getAllLines(),s=[],a=t.re;if(t.$isMultiLine){var l,c=a.length,h=o.length-c;e:for(var u=a.offset||0;u<=h;u++){for(var d=0;df||(s.push(l=new r(u,f,u+c-1,m)),c>2&&(u=u+c-2))}}else for(var y=0;y$&&s[d].end.row==C;)d--;for(s=s.slice(y,d+1),y=0,d=s.length;y=c;n--)if(g(n,Number.MAX_VALUE,e))return;if(0!=t.wrap)for(n=h,c=l.row;n>=c;n--)if(g(n,Number.MAX_VALUE,e))return}};else u=function(e){var n=l.row;if(!g(n,l.column,e)){for(n+=1;n<=h;n++)if(g(n,0,e))return;if(0!=t.wrap)for(n=c,h=l.row;n<=h;n++)if(g(n,0,e))return}};if(t.$isMultiLine)var d=n.length,g=function(t,i,r){var s=o?t-d+1:t;if(!(s<0||s+d>e.getLength())){var a=e.getLine(s),l=a.search(n[0]);if(!(!o&&li))return!!r(s,l,s+d-1,h)||void 0}}};else g=o?function(t,o,r){var a,l=e.getLine(t),c=[],h=0;for(n.lastIndex=0;a=n.exec(l);){var u=a[0].length;if(h=a.index,!u){if(h>=l.length)break;n.lastIndex=h+=i.skipEmptyMatch(l,h,s)}if(a.index+u>o)break;c.push(a.index,u)}for(var d=c.length-1;d>=0;d-=2){var g=c[d-1];if(r(t,g,t,g+(u=c[d])))return!0}}:function(t,o,r){var a,l,c=e.getLine(t);for(n.lastIndex=o;l=n.exec(c);){var h=l[0].length;if(r(t,a=l.index,t,a+h))return!0;if(!h&&(n.lastIndex=a+=i.skipEmptyMatch(c,a,s),a>=c.length))return!1}};return{forEach:u}},e}();t.Search=s})),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=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])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=e("../lib/keys"),s=e("../lib/useragent"),a=r.KEY_MODS,l=function(){function e(e,t){this.$init(e,t,!1)}return e.prototype.$init=function(e,t,n){this.platform=t||(s.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=n},e.prototype.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},e.prototype.removeCommand=function(e,t){var n=e&&("string"==typeof e?e:e.name);e=this.commands[n],t||delete this.commands[n];var i=this.commandKeyBinding;for(var o in i){var r=i[o];if(r==e)delete i[o];else if(Array.isArray(r)){var s=r.indexOf(e);-1!=s&&(r.splice(s,1),1==r.length&&(i[o]=r[0]))}}},e.prototype.bindKey=function(e,t,n){if("object"==typeof e&&e&&(null==n&&(n=e.position),e=e[this.platform]),e)return"function"==typeof t?this.addCommand({exec:t,bindKey:e,name:t.name||e}):void e.split("|").forEach((function(e){var i="";if(-1!=e.indexOf(" ")){var o=e.split(/\s+/);e=o.pop(),o.forEach((function(e){var t=this.parseKeys(e),n=a[t.hashId]+t.key;i+=(i?" ":"")+n,this._addCommandToBinding(i,"chainKeys")}),this),i+=" "}var r=this.parseKeys(e),s=a[r.hashId]+r.key;this._addCommandToBinding(i+s,t,n)}),this)},e.prototype._addCommandToBinding=function(e,t,n){var i,o=this.commandKeyBinding;if(t)if(!o[e]||this.$singleCommand)o[e]=t;else{Array.isArray(o[e])?-1!=(i=o[e].indexOf(t))&&o[e].splice(i,1):o[e]=[o[e]],"number"!=typeof n&&(n=c(t));var r=o[e];for(i=0;in);i++);r.splice(i,0,t)}else delete o[e]},e.prototype.addCommands=function(e){e&&Object.keys(e).forEach((function(t){var n=e[t];if(n){if("string"==typeof n)return this.bindKey(n,t);"function"==typeof n&&(n={exec:n}),"object"==typeof n&&(n.name||(n.name=t),this.addCommand(n))}}),this)},e.prototype.removeCommands=function(e){Object.keys(e).forEach((function(t){this.removeCommand(e[t])}),this)},e.prototype.bindKeys=function(e){Object.keys(e).forEach((function(t){this.bindKey(t,e[t])}),this)},e.prototype._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},e.prototype.parseKeys=function(e){var t=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter((function(e){return e})),n=t.pop(),i=r[n];if(r.FUNCTION_KEYS[i])n=r.FUNCTION_KEYS[i].toLowerCase();else{if(!t.length)return{key:n,hashId:-1};if(1==t.length&&"shift"==t[0])return{key:n.toUpperCase(),hashId:-1}}for(var o=0,s=t.length;s--;){var a=r.KEY_MODS[t[s]];if(null==a)return"undefined"!=typeof console&&console.error("invalid modifier "+t[s]+" in "+e),!1;o|=a}return{key:n,hashId:o}},e.prototype.findKeyCommand=function(e,t){var n=a[e]+t;return this.commandKeyBinding[n]},e.prototype.handleKeyboard=function(e,t,n,i){if(!(i<0)){var o=a[t]+n,r=this.commandKeyBinding[o];return e.$keyChain&&(e.$keyChain+=" "+o,r=this.commandKeyBinding[e.$keyChain]||r),!r||"chainKeys"!=r&&"chainKeys"!=r[r.length-1]?(e.$keyChain&&(t&&4!=t||1!=n.length?(-1==t||i>0)&&(e.$keyChain=""):e.$keyChain=e.$keyChain.slice(0,-o.length-1)),{command:r}):(e.$keyChain=e.$keyChain||o,{command:"null"})}},e.prototype.getStatusText=function(e,t){return t.$keyChain||""},e}();function c(e){return"object"==typeof e&&e.bindKey&&e.bindKey.position||(e.isDefault?-100:0)}var h=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.$singleCommand=!0,i}return o(t,e),t}(l);h.call=function(e,t,n){l.prototype.$init.call(e,t,n,!0)},l.call=function(e,t,n){l.prototype.$init.call(e,t,n,!1)},t.HashHandler=h,t.MultiHashHandler=l})),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],(function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=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])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=e("../lib/oop"),s=e("../keyboard/hash_handler").MultiHashHandler,a=e("../lib/event_emitter").EventEmitter,l=function(e){function t(t,n){var i=e.call(this,n,t)||this;return i.byName=i.commands,i.setDefaultHandler("exec",(function(e){return e.args?e.command.exec(e.editor,e.args,e.event,!1):e.command.exec(e.editor,{},e.event,!0)})),i}return o(t,e),t.prototype.exec=function(e,t,n){if(Array.isArray(e)){for(var i=e.length;i--;)if(this.exec(e[i],t,n))return!0;return!1}if("string"==typeof e&&(e=this.commands[e]),!this.canExecute(e,t))return!1;var o={editor:t,command:e,args:n};return o.returnValue=this._emit("exec",o),this._signal("afterExec",o),!1!==o.returnValue},t.prototype.canExecute=function(e,t){return"string"==typeof e&&(e=this.commands[e]),!(!e||t&&t.$readOnly&&!e.readOnly||0!=this.$checkCommandState&&e.isAvailable&&!e.isAvailable(t))},t.prototype.toggleRecording=function(e){if(!this.$inReplay)return e&&e._emit("changeStatus"),this.recording?(this.macro.pop(),this.off("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(e){this.macro.push([e.command,e.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},t.prototype.replay=function(e){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(e);try{this.$inReplay=!0,this.macro.forEach((function(t){"string"==typeof t?this.exec(t,e):this.exec(t[0],e,t[1])}),this)}finally{this.$inReplay=!1}}},t.prototype.trimMacro=function(e){return e.map((function(e){return"string"!=typeof e[0]&&(e[0]=e[0].name),e[1]||(e=e[0]),e}))},t}(s);r.implement(l.prototype,a),t.CommandManager=l})),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],(function(e,t,n){var i=e("../lib/lang"),o=e("../config"),r=e("../range").Range;function s(e,t){return{win:e,mac:t}}t.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:s("Ctrl-,","Command-,"),exec:function(e){o.loadModule("ace/ext/settings_menu",(function(t){t.init(e),e.showSettingsMenu()}))},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:s("Alt-E","F4"),exec:function(e){o.loadModule("ace/ext/error_marker",(function(t){t.showErrorMarker(e,1)}))},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:s("Alt-Shift-E","Shift-F4"),exec:function(e){o.loadModule("ace/ext/error_marker",(function(t){t.showErrorMarker(e,-1)}))},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:s("Ctrl-A","Command-A"),exec:function(e){e.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:s(null,"Ctrl-L"),exec:function(e){e.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:s("Ctrl-L","Command-L"),exec:function(e,t){"number"!=typeof t||isNaN(t)||e.gotoLine(t),e.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:s("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(e){e.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:s("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(e){e.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:s("F2","F2"),exec:function(e){e.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:s("Alt-F2","Alt-F2"),exec:function(e){e.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:s("Alt-0","Command-Option-0"),exec:function(e){e.session.foldAll(),e.session.unfold(e.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:s("Alt-Shift-0","Command-Option-Shift-0"),exec:function(e){e.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:s("Ctrl-K","Command-G"),exec:function(e){e.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:s("Ctrl-Shift-K","Command-Shift-G"),exec:function(e){e.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:s("Alt-K","Ctrl-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:s("Alt-Shift-K","Ctrl-Shift-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:s("Ctrl-F","Command-F"),exec:function(e){o.loadModule("ace/ext/searchbox",(function(t){t.Search(e)}))},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(e){e.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:s("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(e){e.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:s("Ctrl-Home","Command-Home|Command-Up"),exec:function(e){e.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:s("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(e){e.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:s("Up","Up|Ctrl-P"),exec:function(e,t){e.navigateUp(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:s("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(e){e.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:s("Ctrl-End","Command-End|Command-Down"),exec:function(e){e.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:s("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(e){e.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:s("Down","Down|Ctrl-N"),exec:function(e,t){e.navigateDown(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:s("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(e){e.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:s("Ctrl-Left","Option-Left"),exec:function(e){e.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:s("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:s("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(e){e.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:s("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(e){e.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:s("Left","Left|Ctrl-B"),exec:function(e,t){e.navigateLeft(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:s("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(e){e.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:s("Ctrl-Right","Option-Right"),exec:function(e){e.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:s("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:s("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(e){e.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:s("Shift-Right","Shift-Right"),exec:function(e){e.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:s("Right","Right|Ctrl-F"),exec:function(e,t){e.navigateRight(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(e){e.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:s(null,"Option-PageDown"),exec:function(e){e.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:s("PageDown","PageDown|Ctrl-V"),exec:function(e){e.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(e){e.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:s(null,"Option-PageUp"),exec:function(e){e.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(e){e.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:s("Ctrl-Up",null),exec:function(e){e.renderer.scrollBy(0,-2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:s("Ctrl-Down",null),exec:function(e){e.renderer.scrollBy(0,2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:s("Ctrl-Alt-E","Command-Option-E"),exec:function(e){e.commands.toggleRecording(e)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:s("Ctrl-Shift-E","Command-Shift-E"),exec:function(e){e.commands.replay(e)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:s("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(e){e.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:s("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(e){e.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:s("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(e){e.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:s(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(e){},readOnly:!0},{name:"cut",description:"Cut",exec:function(e){var t=e.$copyWithEmptySelection&&e.selection.isEmpty()?e.selection.getLineRange():e.selection.getRange();e._emit("cut",t),t.isEmpty()||e.session.remove(t),e.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(e,t){e.$handlePaste(t)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:s("Ctrl-D","Command-D"),exec:function(e){e.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:s("Ctrl-Shift-D","Command-Shift-D"),exec:function(e){e.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:s("Ctrl-Alt-S","Command-Alt-S"),exec:function(e){e.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:s("Ctrl-/","Command-/"),exec:function(e){e.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:s("Ctrl-Shift-/","Command-Shift-/"),exec:function(e){e.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:s("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(e){e.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:s("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(e){e.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:s("Ctrl-H","Command-Option-F"),exec:function(e){o.loadModule("ace/ext/searchbox",(function(t){t.Search(e,!0)}))}},{name:"undo",description:"Undo",bindKey:s("Ctrl-Z","Command-Z"),exec:function(e){e.undo()}},{name:"redo",description:"Redo",bindKey:s("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(e){e.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:s("Alt-Shift-Up","Command-Option-Up"),exec:function(e){e.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:s("Alt-Up","Option-Up"),exec:function(e){e.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:s("Alt-Shift-Down","Command-Option-Down"),exec:function(e){e.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:s("Alt-Down","Option-Down"),exec:function(e){e.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:s("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(e){e.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:s("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(e){e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:s("Shift-Delete",null),exec:function(e){if(!e.selection.isEmpty())return!1;e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:s("Alt-Backspace","Command-Backspace"),exec:function(e){e.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:s("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(e){e.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:s("Ctrl-Shift-Backspace",null),exec:function(e){var t=e.selection.getRange();t.start.column=0,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:s("Ctrl-Shift-Delete",null),exec:function(e){var t=e.selection.getRange();t.end.column=Number.MAX_VALUE,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:s("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(e){e.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:s("Ctrl-Delete","Alt-Delete"),exec:function(e){e.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:s("Shift-Tab","Shift-Tab"),exec:function(e){e.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:s("Tab","Tab"),exec:function(e){e.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:s("Ctrl-[","Ctrl-["),exec:function(e){e.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:s("Ctrl-]","Ctrl-]"),exec:function(e){e.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(e,t){e.insert(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(e,t){e.insert(i.stringRepeat(t.text||"",t.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:s(null,"Ctrl-O"),exec:function(e){e.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:s("Alt-Shift-X","Ctrl-T"),exec:function(e){e.transposeLetters()},multiSelectAction:function(e){e.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:s("Ctrl-U","Ctrl-U"),exec:function(e){e.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:s("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(e){e.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:s(null,null),exec:function(e){e.autoIndent()},scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:s("Ctrl-Shift-L","Command-Shift-L"),exec:function(e){var t=e.selection.getRange();t.start.column=t.end.column=0,t.end.row++,e.selection.setRange(t,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"openlink",bindKey:s("Ctrl+F3","F3"),exec:function(e){e.openLink()}},{name:"joinlines",description:"Join lines",bindKey:s(null,null),exec:function(e){for(var t=e.selection.isBackwards(),n=t?e.selection.getSelectionLead():e.selection.getSelectionAnchor(),o=t?e.selection.getSelectionAnchor():e.selection.getSelectionLead(),s=e.session.doc.getLine(n.row).length,a=e.session.doc.getTextRange(e.selection.getRange()).replace(/\n\s*/," ").length,l=e.session.doc.getLine(n.row),c=n.row+1;c<=o.row+1;c++){var h=i.stringTrimLeft(i.stringTrimRight(e.session.doc.getLine(c)));0!==h.length&&(h=" "+h),l+=h}o.row+10?(e.selection.moveCursorTo(n.row,n.column),e.selection.selectTo(n.row,n.column+a)):(s=e.session.doc.getLine(n.row).length>s?s+1:s,e.selection.moveCursorTo(n.row,s))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:s(null,null),exec:function(e){var t=e.session.doc.getLength()-1,n=e.session.doc.getLine(t).length,i=e.selection.rangeList.ranges,o=[];i.length<1&&(i=[e.selection.getRange()]);for(var s=0;st[n].column&&n++,r.unshift(n,0),t.splice.apply(t,r),this.$updateRows()}}},e.prototype.$updateRows=function(){var e=this.session.lineWidgets;if(e){var t=!0;e.forEach((function(e,n){if(e)for(t=!1,e.row=n;e.$oldWidget;)e.$oldWidget.row=n,e=e.$oldWidget})),t&&(this.session.lineWidgets=null)}},e.prototype.$registerLineWidget=function(e){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var t=this.session.lineWidgets[e.row];return t&&(e.$oldWidget=t,t.el&&t.el.parentNode&&(t.el.parentNode.removeChild(t.el),t._inDocument=!1)),this.session.lineWidgets[e.row]=e,e},e.prototype.addLineWidget=function(e){if(this.$registerLineWidget(e),e.session=this.session,!this.editor)return e;var t=this.editor.renderer;e.html&&!e.el&&(e.el=i.createElement("div"),e.el.innerHTML=e.html),e.text&&!e.el&&(e.el=i.createElement("div"),e.el.textContent=e.text),e.el&&(i.addCssClass(e.el,"ace_lineWidgetContainer"),e.className&&i.addCssClass(e.el,e.className),e.el.style.position="absolute",e.el.style.zIndex="5",t.container.appendChild(e.el),e._inDocument=!0,e.coverGutter||(e.el.style.zIndex="3"),null==e.pixelHeight&&(e.pixelHeight=e.el.offsetHeight)),null==e.rowCount&&(e.rowCount=e.pixelHeight/t.layerConfig.lineHeight);var n=this.session.getFoldAt(e.row,0);if(e.$fold=n,n){var o=this.session.lineWidgets;e.row!=n.end.row||o[n.start.row]?e.hidden=!0:o[n.start.row]=e}return this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows(),this.renderWidgets(null,t),this.onWidgetChanged(e),e},e.prototype.removeLineWidget=function(e){if(e._inDocument=!1,e.session=null,e.el&&e.el.parentNode&&e.el.parentNode.removeChild(e.el),e.editor&&e.editor.destroy)try{e.editor.destroy()}catch(n){}if(this.session.lineWidgets){var t=this.session.lineWidgets[e.row];if(t==e)this.session.lineWidgets[e.row]=e.$oldWidget,e.$oldWidget&&this.onWidgetChanged(e.$oldWidget);else for(;t;){if(t.$oldWidget==e){t.$oldWidget=e.$oldWidget;break}t=t.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows()},e.prototype.getWidgetsAtRow=function(e){for(var t=this.session.lineWidgets,n=t&&t[e],i=[];n;)i.push(n),n=n.$oldWidget;return i},e.prototype.onWidgetChanged=function(e){this.session._changedWidgets.push(e),this.editor&&this.editor.renderer.updateFull()},e.prototype.measureWidgets=function(e,t){var n=this.session._changedWidgets,i=t.layerConfig;if(n&&n.length){for(var o=1/0,r=0;r0&&!i[o];)o--;this.firstRow=n.firstRow,this.lastRow=n.lastRow,t.$cursorLayer.config=n;for(var s=o;s<=r;s++){var a=i[s];if(a&&a.el)if(a.hidden)a.el.style.top=-100-(a.pixelHeight||0)+"px";else{a._inDocument||(a._inDocument=!0,t.container.appendChild(a.el));var l=t.$cursorLayer.getPixelPosition({row:s,column:0},!0).top;a.coverLine||(l+=n.lineHeight*this.session.getRowLineCount(a.row)),a.el.style.top=l-n.offset+"px";var c=a.coverGutter?0:t.gutterWidth;a.fixedWidth||(c-=t.scrollLeft),a.el.style.left=c+"px",a.fullWidth&&a.screenWidth&&(a.el.style.minWidth=n.width+2*n.padding+"px"),a.fixedWidth?a.el.style.right=t.scrollBar.getWidth()+"px":a.el.style.right=""}}}},e}();t.LineWidgets=o})),ace.define("ace/keyboard/gutter_handler",["require","exports","module","ace/lib/keys","ace/mouse/default_gutter_handler"],(function(e,t,n){var i=e("../lib/keys"),o=e("../mouse/default_gutter_handler").GutterTooltip,r=function(){function e(e){this.editor=e,this.gutterLayer=e.renderer.$gutterLayer,this.element=e.renderer.$gutter,this.lines=e.renderer.$gutterLayer.$lines,this.activeRowIndex=null,this.activeLane=null,this.annotationTooltip=new o(this.editor)}return e.prototype.addListener=function(){this.element.addEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.addEventListener("focusout",this.$blurGutter.bind(this)),this.editor.on("mousewheel",this.$blurGutter.bind(this))},e.prototype.removeListener=function(){this.element.removeEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.removeEventListener("focusout",this.$blurGutter.bind(this)),this.editor.off("mousewheel",this.$blurGutter.bind(this))},e.prototype.$onGutterKeyDown=function(e){if(this.annotationTooltip.isOpen)return e.preventDefault(),void(e.keyCode===i.escape&&this.annotationTooltip.hideTooltip());if(e.target===this.element){if(e.keyCode!=i.enter)return;e.preventDefault();var t=this.editor.getCursorPosition().row;return this.editor.isRowVisible(t)||this.editor.scrollToLine(t,!0,!0),void setTimeout(function(){var e=this.$rowToRowIndex(this.gutterLayer.$cursorCell.row),t=this.$findNearestFoldWidget(e),n=this.$findNearestAnnotation(e);if(null!==t||null!==n)return null===t&&null!==n?(this.activeRowIndex=n,this.activeLane="annotation",void this.$focusAnnotation(this.activeRowIndex)):null!==t&&null===n?(this.activeRowIndex=t,this.activeLane="fold",void this.$focusFoldWidget(this.activeRowIndex)):Math.abs(n-e)0||e+t=0&&this.$isFoldWidgetVisible(e-t))return e-t;if(e+t<=this.lines.getLength()-1&&this.$isFoldWidgetVisible(e+t))return e+t}return null},e.prototype.$findNearestAnnotation=function(e){if(this.$isAnnotationVisible(e))return e;for(var t=0;e-t>0||e+t=0&&this.$isAnnotationVisible(e-t))return e-t;if(e+t<=this.lines.getLength()-1&&this.$isAnnotationVisible(e+t))return e+t}return null},e.prototype.$focusFoldWidget=function(e){if(null!=e){var t=this.$getFoldWidget(e);t.classList.add(this.editor.renderer.keyboardFocusClassName),t.focus()}},e.prototype.$focusAnnotation=function(e){if(null!=e){var t=this.$getAnnotation(e);t.classList.add(this.editor.renderer.keyboardFocusClassName),t.focus()}},e.prototype.$blurFoldWidget=function(e){var t=this.$getFoldWidget(e);t.classList.remove(this.editor.renderer.keyboardFocusClassName),t.blur()},e.prototype.$blurAnnotation=function(e){var t=this.$getAnnotation(e);t.classList.remove(this.editor.renderer.keyboardFocusClassName),t.blur()},e.prototype.$moveFoldWidgetUp=function(){for(var e=this.activeRowIndex;e>0;)if(e--,this.$isFoldWidgetVisible(e))return this.$blurFoldWidget(this.activeRowIndex),this.activeRowIndex=e,void this.$focusFoldWidget(this.activeRowIndex)},e.prototype.$moveFoldWidgetDown=function(){for(var e=this.activeRowIndex;e0;)if(e--,this.$isAnnotationVisible(e))return this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=e,void this.$focusAnnotation(this.activeRowIndex)},e.prototype.$moveAnnotationDown=function(){for(var e=this.activeRowIndex;e=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=e("./lib/oop"),r=e("./lib/dom"),s=e("./lib/lang"),a=e("./lib/useragent"),l=e("./keyboard/textinput").TextInput,c=e("./mouse/mouse_handler").MouseHandler,h=e("./mouse/fold_handler").FoldHandler,u=e("./keyboard/keybinding").KeyBinding,d=e("./edit_session").EditSession,g=e("./search").Search,p=e("./range").Range,f=e("./lib/event_emitter").EventEmitter,m=e("./commands/command_manager").CommandManager,y=e("./commands/default_commands").commands,v=e("./config"),w=e("./token_iterator").TokenIterator,b=e("./line_widgets").LineWidgets,$=e("./keyboard/gutter_handler").GutterKeyboardHandler,C=e("./config").nls,S=e("./clipboard"),x=e("./lib/keys"),A=function(){function e(t,n,i){this.session,this.$toDestroy=[];var o=t.getContainerElement();this.container=o,this.renderer=t,this.id="editor"+ ++e.$uid,this.commands=new m(a.isMac?"mac":"win",y),"object"==typeof document&&(this.textInput=new l(t.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new c(this),new h(this)),this.keyBinding=new u(this),this.$search=(new g).set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=s.delayedCall(function(){this._signal("input",{}),this.session&&!this.session.destroyed&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",(function(e,t){t._$emitInputEvent.schedule(31)})),this.setSession(n||i&&i.session||new d("")),v.resetOptions(this),i&&this.setOptions(i),v._signal("editor",this)}return e.prototype.$initOperationListeners=function(){this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=s.delayedCall(this.endOperation.bind(this,!0)),this.on("change",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.docChanged=!0}.bind(this),!0),this.on("changeSelection",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.selectionChanged=!0}.bind(this),!0)},e.prototype.startOperation=function(e){if(this.curOp){if(!e||this.curOp.command)return;this.prevOp=this.curOp}e||(this.previousCommand=null,e={}),this.$opResetTimer.schedule(),this.curOp=this.session.curOp={command:e.command||{},args:e.args,scrollTop:this.renderer.scrollTop},this.curOp.selectionBefore=this.selection.toJSON()},e.prototype.endOperation=function(e){if(this.curOp&&this.session){if(e&&!1===e.returnValue||!this.session)return this.curOp=null;if(1==e&&this.curOp.command&&"mouse"==this.curOp.command.name)return;if(this._signal("beforeEndOperation"),!this.curOp)return;var t=this.curOp.command,n=t&&t.scrollIntoView;if(n){switch(n){case"center-animate":n="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var i=this.selection.getRange(),o=this.renderer.layerConfig;(i.start.row>=o.lastRow||i.end.row<=o.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==n&&this.renderer.animateScrolling(this.curOp.scrollTop)}var r=this.selection.toJSON();this.curOp.selectionAfter=r,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(r),this.prevOp=this.curOp,this.curOp=null}},e.prototype.$historyTracker=function(e){if(this.$mergeUndoDeltas){var t=this.prevOp,n=this.$mergeableCommands,i=t.command&&e.command.name==t.command.name;if("insertstring"==e.command.name){var o=e.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),i=i&&this.mergeNextCommand&&(!/\s/.test(o)||/\s/.test(t.args)),this.mergeNextCommand=!0}else i=i&&-1!==n.indexOf(e.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(i=!1),i?this.session.mergeUndoDeltas=!0:-1!==n.indexOf(e.command.name)&&(this.sequenceStartTime=Date.now())}},e.prototype.setKeyboardHandler=function(e,t){if(e&&"string"==typeof e&&"ace"!=e){this.$keybindingId=e;var n=this;v.loadModule(["keybinding",e],(function(i){n.$keybindingId==e&&n.keyBinding.setKeyboardHandler(i&&i.handler),t&&t()}))}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(e),t&&t()},e.prototype.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},e.prototype.setSession=function(e){if(this.session!=e){this.curOp&&this.endOperation(),this.curOp={};var t=this.session;if(t){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var n=this.session.getSelection();n.off("changeCursor",this.$onCursorChange),n.off("changeSelection",this.$onSelectionChange)}this.session=e,e?(this.$onDocumentChange=this.onDocumentChange.bind(this),e.on("change",this.$onDocumentChange),this.renderer.setSession(e),this.$onChangeMode=this.onChangeMode.bind(this),e.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),e.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),e.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),e.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),e.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),e.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=e.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.onCursorChange(),this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(e)),this._signal("changeSession",{session:e,oldSession:t}),this.curOp=null,t&&t._signal("changeEditor",{oldEditor:this}),e&&e._signal("changeEditor",{editor:this}),e&&!e.destroyed&&e.bgTokenizer.scheduleStart()}},e.prototype.getSession=function(){return this.session},e.prototype.setValue=function(e,t){return this.session.doc.setValue(e),t?1==t?this.navigateFileEnd():-1==t&&this.navigateFileStart():this.selectAll(),e},e.prototype.getValue=function(){return this.session.getValue()},e.prototype.getSelection=function(){return this.selection},e.prototype.resize=function(e){this.renderer.onResize(e)},e.prototype.setTheme=function(e,t){this.renderer.setTheme(e,t)},e.prototype.getTheme=function(){return this.renderer.getTheme()},e.prototype.setStyle=function(e){this.renderer.setStyle(e)},e.prototype.unsetStyle=function(e){this.renderer.unsetStyle(e)},e.prototype.getFontSize=function(){return this.getOption("fontSize")||r.computedStyle(this.container).fontSize},e.prototype.setFontSize=function(e){this.setOption("fontSize",e)},e.prototype.$highlightBrackets=function(){if(!this.$highlightPending){var e=this;this.$highlightPending=!0,setTimeout((function(){e.$highlightPending=!1;var t=e.session;if(t&&!t.destroyed){t.$bracketHighlight&&(t.$bracketHighlight.markerIds.forEach((function(e){t.removeMarker(e)})),t.$bracketHighlight=null);var n=e.getCursorPosition(),i=e.getKeyboardHandler(),o=i&&i.$getDirectionForHighlight&&i.$getDirectionForHighlight(e),r=t.getMatchingBracketRanges(n,o);if(!r){var s=new w(t,n.row,n.column).getCurrentToken();if(s&&/\b(?:tag-open|tag-name)/.test(s.type)){var a=t.getMatchingTags(n);a&&(r=[a.openTagName.isEmpty()?a.openTag:a.openTagName,a.closeTagName.isEmpty()?a.closeTag:a.closeTagName])}}if(!r&&t.$mode.getMatching&&(r=t.$mode.getMatching(e.session)),r){var l="ace_bracket";Array.isArray(r)?1==r.length&&(l="ace_error_bracket"):r=[r],2==r.length&&(0==p.comparePoints(r[0].end,r[1].start)?r=[p.fromPoints(r[0].start,r[1].end)]:0==p.comparePoints(r[0].start,r[1].end)&&(r=[p.fromPoints(r[1].start,r[0].end)])),t.$bracketHighlight={ranges:r,markerIds:r.map((function(e){return t.addMarker(e,l,"text")}))},e.getHighlightIndentGuides()&&e.renderer.$textLayer.$highlightIndentGuide()}else e.getHighlightIndentGuides()&&e.renderer.$textLayer.$highlightIndentGuide()}}),50)}},e.prototype.focus=function(){this.textInput.focus()},e.prototype.isFocused=function(){return this.textInput.isFocused()},e.prototype.blur=function(){this.textInput.blur()},e.prototype.onFocus=function(e){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",e))},e.prototype.onBlur=function(e){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",e))},e.prototype.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$updateHighlightActiveLine()},e.prototype.onDocumentChange=function(e){var t=this.session.$useWrapMode,n=e.start.row==e.end.row?e.end.row:1/0;this.renderer.updateLines(e.start.row,n,t),this._signal("change",e),this.$cursorChange()},e.prototype.onTokenizerUpdate=function(e){var t=e.data;this.renderer.updateLines(t.first,t.last)},e.prototype.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},e.prototype.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},e.prototype.onCursorChange=function(){this.$cursorChange(),this._signal("changeSelection")},e.prototype.$updateHighlightActiveLine=function(){var e,t=this.getSession();if(this.$highlightActiveLine&&("line"==this.$selectionStyle&&this.selection.isMultiLine()||(e=this.getCursorPosition()),this.renderer.theme&&this.renderer.theme.$selectionColorConflict&&!this.selection.isEmpty()&&(e=!1),!this.renderer.$maxLines||1!==this.session.getLength()||this.renderer.$minLines>1||(e=!1)),t.$highlightLineMarker&&!e)t.removeMarker(t.$highlightLineMarker.id),t.$highlightLineMarker=null;else if(!t.$highlightLineMarker&&e){var n=new p(e.row,e.column,e.row,1/0);n.id=t.addMarker(n,"ace_active-line","screenLine"),t.$highlightLineMarker=n}else e&&(t.$highlightLineMarker.start.row=e.row,t.$highlightLineMarker.end.row=e.row,t.$highlightLineMarker.start.column=e.column,t._signal("changeBackMarker"))},e.prototype.onSelectionChange=function(e){var t=this.session;if(t.$selectionMarker&&t.removeMarker(t.$selectionMarker),t.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var n=this.selection.getRange(),i=this.getSelectionStyle();t.$selectionMarker=t.addMarker(n,"ace_selection",i)}var o=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(o),this._signal("changeSelection")},e.prototype.$getSelectionHighLightRegexp=function(){var e=this.session,t=this.getSelectionRange();if(!t.isEmpty()&&!t.isMultiLine()){var n=t.start.column,i=t.end.column,o=e.getLine(t.start.row),r=o.substring(n,i);if(!(r.length>5e3)&&/[\w\d]/.test(r)){var s=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:r}),a=o.substring(n-1,i+1);if(s.test(a))return s}}},e.prototype.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},e.prototype.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},e.prototype.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},e.prototype.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},e.prototype.onChangeMode=function(e){this.renderer.updateText(),this._emit("changeMode",e)},e.prototype.onChangeWrapLimit=function(){this.renderer.updateFull()},e.prototype.onChangeWrapMode=function(){this.renderer.onResize(!0)},e.prototype.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},e.prototype.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},e.prototype.getCopyText=function(){var e=this.getSelectedText(),t=this.session.doc.getNewLineCharacter(),n=!1;if(!e&&this.$copyWithEmptySelection){n=!0;for(var i=this.selection.getAllRanges(),o=0;oa.search(/\S|$/)){var l=a.substr(o.column).search(/\S|$/);n.doc.removeInLine(o.row,o.column,o.column+l)}}this.clearSelection();var c=o.column,h=n.getState(o.row),u=(a=n.getLine(o.row),i.checkOutdent(h,a,e));if(n.insert(o,e),r&&r.selection&&(2==r.selection.length?this.selection.setSelectionRange(new p(o.row,c+r.selection[0],o.row,c+r.selection[1])):this.selection.setSelectionRange(new p(o.row+r.selection[0],r.selection[1],o.row+r.selection[2],r.selection[3]))),this.$enableAutoIndent){if(n.getDocument().isNewLine(e)){var d=i.getNextLineIndent(h,a.slice(0,o.column),n.getTabString());n.insert({row:o.row+1,column:0},d)}u&&i.autoOutdent(h,n,o.row)}},e.prototype.autoIndent=function(){for(var e=this.session,t=e.getMode(),n=this.selection.isEmpty()?[new p(0,0,e.doc.getLength()-1,0)]:this.selection.getAllRanges(),i="",o="",r="",s=e.getTabString(),a=0;a0&&(i=e.getState(h-1),o=e.getLine(h-1),r=t.getNextLineIndent(i,o,s));var u=e.getLine(h),d=t.$getIndent(u);if(r!==d){if(d.length>0){var g=new p(h,0,h,d.length);e.remove(g)}r.length>0&&e.insert({row:h,column:0},r)}t.autoOutdent(i,e,h)}},e.prototype.onTextInput=function(e,t){if(!t)return this.keyBinding.onTextInput(e);this.startOperation({command:{name:"insertstring"}});var n=this.applyComposition.bind(this,e,t);this.selection.rangeCount?this.forEachSelection(n):n(),this.endOperation()},e.prototype.applyComposition=function(e,t){var n;(t.extendLeft||t.extendRight)&&((n=this.selection.getRange()).start.column-=t.extendLeft,n.end.column+=t.extendRight,n.start.column<0&&(n.start.row--,n.start.column+=this.session.getLine(n.start.row).length+1),this.selection.setRange(n),e||n.isEmpty()||this.remove()),!e&&this.selection.isEmpty()||this.insert(e,!0),(t.restoreStart||t.restoreEnd)&&((n=this.selection.getRange()).start.column-=t.restoreStart,n.end.column-=t.restoreEnd,this.selection.setRange(n))},e.prototype.onCommandKey=function(e,t,n){return this.keyBinding.onCommandKey(e,t,n)},e.prototype.setOverwrite=function(e){this.session.setOverwrite(e)},e.prototype.getOverwrite=function(){return this.session.getOverwrite()},e.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},e.prototype.setScrollSpeed=function(e){this.setOption("scrollSpeed",e)},e.prototype.getScrollSpeed=function(){return this.getOption("scrollSpeed")},e.prototype.setDragDelay=function(e){this.setOption("dragDelay",e)},e.prototype.getDragDelay=function(){return this.getOption("dragDelay")},e.prototype.setSelectionStyle=function(e){this.setOption("selectionStyle",e)},e.prototype.getSelectionStyle=function(){return this.getOption("selectionStyle")},e.prototype.setHighlightActiveLine=function(e){this.setOption("highlightActiveLine",e)},e.prototype.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},e.prototype.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},e.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},e.prototype.setHighlightSelectedWord=function(e){this.setOption("highlightSelectedWord",e)},e.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},e.prototype.setAnimatedScroll=function(e){this.renderer.setAnimatedScroll(e)},e.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},e.prototype.setShowInvisibles=function(e){this.renderer.setShowInvisibles(e)},e.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},e.prototype.setDisplayIndentGuides=function(e){this.renderer.setDisplayIndentGuides(e)},e.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},e.prototype.setHighlightIndentGuides=function(e){this.renderer.setHighlightIndentGuides(e)},e.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},e.prototype.setShowPrintMargin=function(e){this.renderer.setShowPrintMargin(e)},e.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},e.prototype.setPrintMarginColumn=function(e){this.renderer.setPrintMarginColumn(e)},e.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},e.prototype.setReadOnly=function(e){this.setOption("readOnly",e)},e.prototype.getReadOnly=function(){return this.getOption("readOnly")},e.prototype.setBehavioursEnabled=function(e){this.setOption("behavioursEnabled",e)},e.prototype.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},e.prototype.setWrapBehavioursEnabled=function(e){this.setOption("wrapBehavioursEnabled",e)},e.prototype.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},e.prototype.setShowFoldWidgets=function(e){this.setOption("showFoldWidgets",e)},e.prototype.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},e.prototype.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},e.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},e.prototype.remove=function(e){this.selection.isEmpty()&&("left"==e?this.selection.selectLeft():this.selection.selectRight());var t=this.getSelectionRange();if(this.getBehavioursEnabled()){var n=this.session,i=n.getState(t.start.row),o=n.getMode().transformAction(i,"deletion",this,n,t);if(0===t.end.column){var r=n.getTextRange(t);if("\n"==r[r.length-1]){var s=n.getLine(t.end.row);/^\s+$/.test(s)&&(t.end.column=s.length)}}o&&(t=o)}this.session.remove(t),this.clearSelection()},e.prototype.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},e.prototype.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},e.prototype.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},e.prototype.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var e=this.getSelectionRange();e.start.column==e.end.column&&e.start.row==e.end.row&&(e.end.column=0,e.end.row++),this.session.remove(e),this.clearSelection()},e.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var e=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(e)},e.prototype.setGhostText=function(e,t){this.session.widgetManager||(this.session.widgetManager=new b(this.session),this.session.widgetManager.attach(this)),this.renderer.setGhostText(e,t)},e.prototype.removeGhostText=function(){this.session.widgetManager&&this.renderer.removeGhostText()},e.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var e=this.getCursorPosition(),t=e.column;if(0!==t){var n,i,o=this.session.getLine(e.row);tt.toLowerCase()?1:0}));var o=new p(0,0,0,0);for(i=e.first;i<=e.last;i++){var r=t.getLine(i);o.start.row=i,o.end.row=i,o.end.column=r.length,t.replace(o,n[i-e.first])}},e.prototype.toggleCommentLines=function(){var e=this.session.getState(this.getCursorPosition().row),t=this.$getSelectedRows();this.session.getMode().toggleCommentLines(e,this.session,t.first,t.last)},e.prototype.toggleBlockComment=function(){var e=this.getCursorPosition(),t=this.session.getState(e.row),n=this.getSelectionRange();this.session.getMode().toggleBlockComment(t,this.session,n,e)},e.prototype.getNumberAt=function(e,t){var n=/[\-]?[0-9]+(?:\.[0-9]+)?/g;n.lastIndex=0;for(var i=this.session.getLine(e);n.lastIndex=t)return{value:o[0],start:o.index,end:o.index+o[0].length}}return null},e.prototype.modifyNumber=function(e){var t=this.selection.getCursor().row,n=this.selection.getCursor().column,i=new p(t,n-1,t,n),o=this.session.getTextRange(i);if(!isNaN(parseFloat(o))&&isFinite(o)){var r=this.getNumberAt(t,n);if(r){var s=r.value.indexOf(".")>=0?r.start+r.value.indexOf(".")+1:r.end,a=r.start+r.value.length-s,l=parseFloat(r.value);l*=Math.pow(10,a),s!==r.end&&n=a&&r<=l&&(n=t,c.selection.clearSelection(),c.moveCursorTo(e,a+i),c.selection.selectTo(e,l+i)),a=l}));for(var h,u=this.$toggleWordPairs,d=0;d=l&&s<=c&&d.match(/((?:https?|ftp):\/\/[\S]+)/)){a=d.replace(/[\s:.,'";}\]]+$/,"");break}l=c}}catch(g){n={error:g}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}return a},e.prototype.openLink=function(){var e=this.selection.getCursor(),t=this.findLinkAt(e.row,e.column);return t&&window.open(t,"_blank"),null!=t},e.prototype.removeLines=function(){var e=this.$getSelectedRows();this.session.removeFullLines(e.first,e.last),this.clearSelection()},e.prototype.duplicateSelection=function(){var e=this.selection,t=this.session,n=e.getRange(),i=e.isBackwards();if(n.isEmpty()){var o=n.start.row;t.duplicateLines(o,o)}else{var r=i?n.start:n.end,s=t.insert(r,t.getTextRange(n));n.start=r,n.end=s,e.setSelectionRange(n,i)}},e.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},e.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},e.prototype.moveText=function(e,t,n){return this.session.moveText(e,t,n)},e.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},e.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},e.prototype.$moveLines=function(e,t){var n,i,o=this.selection;if(!o.inMultiSelectMode||this.inVirtualSelectionMode){var r=o.toOrientedRange();n=this.$getSelectedRows(r),i=this.session.$moveLines(n.first,n.last,t?0:e),t&&-1==e&&(i=0),r.moveBy(i,0),o.fromOrientedRange(r)}else{var s=o.rangeList.ranges;o.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var a=0,l=0,c=s.length,h=0;hg+1)break;g=p.last}for(h--,a=this.session.$moveLines(d,g,t?0:e),t&&-1==e&&(u=h+1);u<=h;)s[u].moveBy(a,0),u++;t||(a=0),l+=a}o.fromOrientedRange(o.ranges[0]),o.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},e.prototype.$getSelectedRows=function(e){return e=(e||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(e.start.row),last:this.session.getRowFoldEnd(e.end.row)}},e.prototype.onCompositionStart=function(e){this.renderer.showComposition(e)},e.prototype.onCompositionUpdate=function(e){this.renderer.setCompositionText(e)},e.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},e.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},e.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},e.prototype.isRowVisible=function(e){return e>=this.getFirstVisibleRow()&&e<=this.getLastVisibleRow()},e.prototype.isRowFullyVisible=function(e){return e>=this.renderer.getFirstFullyVisibleRow()&&e<=this.renderer.getLastFullyVisibleRow()},e.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},e.prototype.$moveByPage=function(e,t){var n=this.renderer,i=this.renderer.layerConfig,o=e*Math.floor(i.height/i.lineHeight);!0===t?this.selection.$moveSelection((function(){this.moveCursorBy(o,0)})):!1===t&&(this.selection.moveCursorBy(o,0),this.selection.clearSelection());var r=n.scrollTop;n.scrollBy(0,o*i.lineHeight),null!=t&&n.scrollCursorIntoView(null,.5),n.animateScrolling(r)},e.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},e.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},e.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},e.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},e.prototype.scrollPageDown=function(){this.$moveByPage(1)},e.prototype.scrollPageUp=function(){this.$moveByPage(-1)},e.prototype.scrollToRow=function(e){this.renderer.scrollToRow(e)},e.prototype.scrollToLine=function(e,t,n,i){this.renderer.scrollToLine(e,t,n,i)},e.prototype.centerSelection=function(){var e=this.getSelectionRange(),t={row:Math.floor(e.start.row+(e.end.row-e.start.row)/2),column:Math.floor(e.start.column+(e.end.column-e.start.column)/2)};this.renderer.alignCursor(t,.5)},e.prototype.getCursorPosition=function(){return this.selection.getCursor()},e.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},e.prototype.getSelectionRange=function(){return this.selection.getRange()},e.prototype.selectAll=function(){this.selection.selectAll()},e.prototype.clearSelection=function(){this.selection.clearSelection()},e.prototype.moveCursorTo=function(e,t){this.selection.moveCursorTo(e,t)},e.prototype.moveCursorToPosition=function(e){this.selection.moveCursorToPosition(e)},e.prototype.jumpToMatching=function(e,t){var n=this.getCursorPosition(),i=new w(this.session,n.row,n.column),o=i.getCurrentToken(),r=0;o&&-1!==o.type.indexOf("tag-name")&&(o=i.stepBackward());var s=o||i.stepForward();if(s){var a,l,c=!1,h={},u=n.column-s.start,d={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(s.value.match(/[{}()\[\]]/g)){for(;u1?h[s.value]++:"=0;--r)this.$tryReplace(n[r],e)&&i++;return this.selection.setSelectionRange(o),i},e.prototype.$tryReplace=function(e,t){var n=this.session.getTextRange(e);return null!==(t=this.$search.replace(n,t))?(e.end=this.session.replace(e,t),e):null},e.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},e.prototype.find=function(e,t,n){t||(t={}),"string"==typeof e||e instanceof RegExp?t.needle=e:"object"==typeof e&&o.mixin(t,e);var i=this.selection.getRange();null==t.needle&&((e=this.session.getTextRange(i)||this.$search.$options.needle)||(i=this.session.getWordRange(i.start.row,i.start.column),e=this.session.getTextRange(i)),this.$search.set({needle:e})),this.$search.set(t),t.start||this.$search.set({start:i});var r=this.$search.find(this.session);return t.preventScroll?r:r?(this.revealRange(r,n),r):(t.backwards?i.start=i.end:i.end=i.start,void this.selection.setRange(i))},e.prototype.findNext=function(e,t){this.find({skipCurrent:!0,backwards:!1},e,t)},e.prototype.findPrevious=function(e,t){this.find(e,{skipCurrent:!0,backwards:!0},t)},e.prototype.revealRange=function(e,t){this.session.unfold(e),this.selection.setSelectionRange(e);var n=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(e.start,e.end,.5),!1!==t&&this.renderer.animateScrolling(n)},e.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},e.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},e.prototype.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach((function(e){e.destroy()})),this.$toDestroy=null),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},e.prototype.setAutoScrollEditorIntoView=function(e){if(e){var t,n=this,i=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var o=this.$scrollAnchor;o.style.cssText="position:absolute",this.container.insertBefore(o,this.container.firstChild);var r=this.on("changeSelection",(function(){i=!0})),s=this.renderer.on("beforeRender",(function(){i&&(t=n.renderer.container.getBoundingClientRect())})),a=this.renderer.on("afterRender",(function(){if(i&&t&&(n.isFocused()||n.searchBox&&n.searchBox.isFocused())){var e=n.renderer,r=e.$cursorLayer.$pixelPos,s=e.layerConfig,a=r.top-s.offset;null!=(i=r.top>=0&&a+t.top<0||!(r.topwindow.innerHeight)&&null)&&(o.style.top=a+"px",o.style.left=r.left+"px",o.style.height=s.lineHeight+"px",o.scrollIntoView(i)),i=t=null}}));this.setAutoScrollEditorIntoView=function(e){e||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",r),this.renderer.off("afterRender",a),this.renderer.off("beforeRender",s))}}},e.prototype.$resetCursorStyle=function(){var e=this.$cursorStyle||"ace",t=this.renderer.$cursorLayer;t&&(t.setSmoothBlinking(/smooth/.test(e)),t.isBlinking=!this.$readOnly&&"wide"!=e,r.setCssClass(t.element,"ace_slim-cursors",/slim/.test(e)))},e.prototype.prompt=function(e,t,n){var i=this;v.loadModule("ace/ext/prompt",(function(o){o.prompt(i,e,t,n)}))},e}();A.$uid=0,A.prototype.curOp=null,A.prototype.prevOp={},A.prototype.$mergeableCommands=["backspace","del","insertstring"],A.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],o.implement(A.prototype,f),v.defineOptions(A.prototype,"editor",{selectionStyle:{set:function(e){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:e})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(e){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(e){this.textInput.setReadOnly(e),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(e){this.textInput.setCopyWithEmptySelection(e)},initialValue:!1},cursorStyle:{set:function(e){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(e){this.setAutoScrollEditorIntoView(e)}},keyboardHandler:{set:function(e){this.setKeyboardHandler(e)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(e){this.session.setValue(e)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(e){this.setSession(e)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(e){this.renderer.$gutterLayer.setShowLineNumbers(e),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),e&&this.$relativeLineNumbers?M.attach(this):M.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(e){this.$showLineNumbers&&e?M.attach(this):M.detach(this)}},placeholder:{set:function(e){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var e=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(e&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),r.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(e||this.renderer.placeholderNode)!e&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"");else{this.renderer.on("afterRender",this.$updatePlaceholder),r.addCssClass(this.container,"ace_hasPlaceholder");var t=r.createElement("div");t.className="ace_placeholder",t.textContent=this.$placeholder||"",this.renderer.placeholderNode=t,this.renderer.content.appendChild(this.renderer.placeholderNode)}}.bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(e){var t,n={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(e){e.blur(),e.renderer.scroller.focus()},readOnly:!0},i=function(e){if(e.target==this.renderer.scroller&&e.keyCode===x.enter){e.preventDefault();var t=this.getCursorPosition().row;this.isRowVisible(t)||this.scrollToLine(t,!0,!0),this.focus()}};e?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),this.textInput.setNumberOfExtraLines(a.isWin?3:0),this.renderer.scroller.setAttribute("tabindex",0),this.renderer.scroller.setAttribute("role","group"),this.renderer.scroller.setAttribute("aria-roledescription",C("editor.scroller.aria-roledescription","editor")),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute("aria-label",C("editor.scroller.aria-label","Editor content, press Enter to start editing, press Escape to exit")),this.renderer.scroller.addEventListener("keyup",i.bind(this)),this.commands.addCommand(n),this.renderer.$gutter.setAttribute("tabindex",0),this.renderer.$gutter.setAttribute("aria-hidden",!1),this.renderer.$gutter.setAttribute("role","group"),this.renderer.$gutter.setAttribute("aria-roledescription",C("editor.gutter.aria-roledescription","editor")),this.renderer.$gutter.setAttribute("aria-label",C("editor.gutter.aria-label","Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit")),this.renderer.$gutter.classList.add(this.renderer.keyboardFocusClassName),this.renderer.content.setAttribute("aria-hidden",!0),t||(t=new $(this)),t.addListener(),this.textInput.setAriaOptions({setLabel:!0})):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute("tabindex",0),this.textInput.setNumberOfExtraLines(0),this.renderer.scroller.setAttribute("tabindex",-1),this.renderer.scroller.removeAttribute("role"),this.renderer.scroller.removeAttribute("aria-roledescription"),this.renderer.scroller.classList.remove(this.renderer.keyboardFocusClassName),this.renderer.scroller.removeAttribute("aria-label"),this.renderer.scroller.removeEventListener("keyup",i.bind(this)),this.commands.removeCommand(n),this.renderer.content.removeAttribute("aria-hidden"),this.renderer.$gutter.setAttribute("tabindex",-1),this.renderer.$gutter.setAttribute("aria-hidden",!0),this.renderer.$gutter.removeAttribute("role"),this.renderer.$gutter.removeAttribute("aria-roledescription"),this.renderer.$gutter.removeAttribute("aria-label"),this.renderer.$gutter.classList.remove(this.renderer.keyboardFocusClassName),t&&t.removeListener())},initialValue:!1},textInputAriaLabel:{set:function(e){this.$textInputAriaLabel=e},initialValue:""},enableMobileMenu:{set:function(e){this.$enableMobileMenu=e},initialValue:!0},customScrollbar:"renderer",hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",highlightIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",useResizeObserver:"renderer",useSvgGutterIcons:"renderer",showFoldedAnnotations:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var M={getText:function(e,t){return(Math.abs(e.selection.lead.row-t)||t+1+(t<9?"·":""))+""},getWidth:function(e,t,n){return Math.max(t.toString().length,(n.lastRow+1).toString().length,2)*n.characterWidth},update:function(e,t){t.renderer.$loop.schedule(t.renderer.CHANGE_GUTTER)},attach:function(e){e.renderer.$gutterLayer.$renderer=this,e.on("changeSelection",this.update),this.update(null,e)},detach:function(e){e.renderer.$gutterLayer.$renderer==this&&(e.renderer.$gutterLayer.$renderer=null),e.off("changeSelection",this.update),this.update(null,e)}};t.Editor=A})),ace.define("ace/layer/lines",["require","exports","module","ace/lib/dom"],(function(e,t,n){var i=e("../lib/dom"),o=function(){function e(e,t){this.element=e,this.canvasHeight=t||5e5,this.element.style.height=2*this.canvasHeight+"px",this.cells=[],this.cellCache=[],this.$offsetCoefficient=0}return e.prototype.moveContainer=function(e){i.translate(this.element,0,-e.firstRowScreen*e.lineHeight%this.canvasHeight-e.offset*this.$offsetCoefficient)},e.prototype.pageChanged=function(e,t){return Math.floor(e.firstRowScreen*e.lineHeight/this.canvasHeight)!==Math.floor(t.firstRowScreen*t.lineHeight/this.canvasHeight)},e.prototype.computeLineTop=function(e,t,n){var i=t.firstRowScreen*t.lineHeight,o=Math.floor(i/this.canvasHeight);return n.documentToScreenRow(e,0)*t.lineHeight-o*this.canvasHeight},e.prototype.computeLineHeight=function(e,t,n){return t.lineHeight*n.getRowLineCount(e)},e.prototype.getLength=function(){return this.cells.length},e.prototype.get=function(e){return this.cells[e]},e.prototype.shift=function(){this.$cacheCell(this.cells.shift())},e.prototype.pop=function(){this.$cacheCell(this.cells.pop())},e.prototype.push=function(e){if(Array.isArray(e)){this.cells.push.apply(this.cells,e);for(var t=i.createFragment(this.element),n=0;nr&&(l=o.end.row+1,r=(o=t.getNextFoldLine(l,o))?o.start.row:1/0),l>i){for(;this.$lines.getLength()>a+1;)this.$lines.pop();break}(s=this.$lines.get(++a))?s.row=l:(s=this.$lines.createCell(l,e,this.session,h),this.$lines.push(s)),this.$renderCell(s,e,o,l),l++}this._signal("afterRender"),this.$updateGutterWidth(e)},e.prototype.$updateGutterWidth=function(e){var t=this.session,n=t.gutterRenderer||this.$renderer,i=t.$firstLineNumber,o=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||t.$useWrapMode)&&(o=t.getLength()+i-1);var r=n?n.getWidth(t,o,e):o.toString().length*e.characterWidth,s=this.$padding||this.$computePadding();(r+=s.left+s.right)===this.gutterWidth||isNaN(r)||(this.gutterWidth=r,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",r))},e.prototype.$updateCursorRow=function(){if(this.$highlightGutterLine){var e=this.session.selection.getCursor();this.$cursorRow!==e.row&&(this.$cursorRow=e.row)}},e.prototype.updateLineHighlight=function(){if(this.$highlightGutterLine){var e=this.session.selection.cursor.row;if(this.$cursorRow=e,!this.$cursorCell||this.$cursorCell.row!=e){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var t=this.$lines.cells;this.$cursorCell=null;for(var n=0;n=this.$cursorRow){if(i.row>this.$cursorRow){var o=this.session.getFoldLine(this.$cursorRow);if(!(n>0&&o&&o.start.row==t[n-1].row))break;i=t[n-1]}i.element.className="ace_gutter-active-line "+i.element.className,this.$cursorCell=i;break}}}}},e.prototype.scrollLines=function(e){var t=this.config;if(this.config=e,this.$updateCursorRow(),this.$lines.pageChanged(t,e))return this.update(e);this.$lines.moveContainer(e);var n=Math.min(e.lastRow+e.gutterOffset,this.session.getLength()-1),i=this.oldLastRow;if(this.oldLastRow=n,!t||i0;o--)this.$lines.shift();if(i>n)for(o=this.session.getFoldedRowCount(n+1,i);o>0;o--)this.$lines.pop();e.firstRowi&&this.$lines.push(this.$renderLines(e,i+1,n)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(e)},e.prototype.$renderLines=function(e,t,n){for(var i=[],o=t,r=this.session.getNextFoldLine(o),s=r?r.start.row:1/0;o>s&&(o=r.end.row+1,s=(r=this.session.getNextFoldLine(o,r))?r.start.row:1/0),!(o>n);){var a=this.$lines.createCell(o,e,this.session,h);this.$renderCell(a,e,r,o),i.push(a),o++}return i},e.prototype.$renderCell=function(e,t,n,o){var r=e.element,s=this.session,a=r.childNodes[0],c=r.childNodes[1],h=r.childNodes[2],u=h.firstChild,d=s.$firstLineNumber,g=s.$breakpoints,p=s.$decorations,f=s.gutterRenderer||this.$renderer,m=this.$showFoldWidgets&&s.foldWidgets,y=n?n.start.row:Number.MAX_VALUE,v=t.lineHeight+"px",w=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",b=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",$=(f?f.getText(s,o):o+d).toString();if(this.$highlightGutterLine&&(o==this.$cursorRow||n&&o=y&&this.$cursorRow<=n.end.row)&&(w+="ace_gutter-active-line ",this.$cursorCell!=e&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=e)),g[o]&&(w+=g[o]),p[o]&&(w+=p[o]),this.$annotations[o]&&o!==y&&(w+=this.$annotations[o].className),m){var C=m[o];null==C&&(C=m[o]=s.getFoldWidget(o))}if(C){var S="ace_fold-widget ace_"+C,x="start"==C&&o==y&&on.right-t.right?"foldWidgets":void 0},e}();function h(e){var t=document.createTextNode("");e.appendChild(t);var n=i.createElement("span");e.appendChild(n);var o=i.createElement("span");e.appendChild(o);var r=i.createElement("span");return o.appendChild(r),e}c.prototype.$fixedWidth=!1,c.prototype.$highlightGutterLine=!0,c.prototype.$renderer="",c.prototype.$showLineNumbers=!0,c.prototype.$showFoldWidgets=!0,o.implement(c.prototype,s),t.Gutter=c})),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],(function(e,t,n){var i=e("../range").Range,o=e("../lib/dom"),r=function(){function e(e){this.element=o.createElement("div"),this.element.className="ace_layer ace_marker-layer",e.appendChild(this.element)}return e.prototype.setPadding=function(e){this.$padding=e},e.prototype.setSession=function(e){this.session=e},e.prototype.setMarkers=function(e){this.markers=e},e.prototype.elt=function(e,t){var n=-1!=this.i&&this.element.childNodes[this.i];n?this.i++:(n=document.createElement("div"),this.element.appendChild(n),this.i=-1),n.style.cssText=t,n.className=e},e.prototype.update=function(e){if(e){var t;for(var n in this.config=e,this.i=0,this.markers){var i=this.markers[n];if(i.range){var o=i.range.clipRows(e.firstRow,e.lastRow);if(!o.isEmpty())if(o=o.toScreenRange(this.session),i.renderer){var r=this.$getTop(o.start.row,e),s=this.$padding+o.start.column*e.characterWidth;i.renderer(t,o,s,r,e)}else"fullLine"==i.type?this.drawFullLineMarker(t,o,i.clazz,e):"screenLine"==i.type?this.drawScreenLineMarker(t,o,i.clazz,e):o.isMultiLine()?"text"==i.type?this.drawTextMarker(t,o,i.clazz,e):this.drawMultiLineMarker(t,o,i.clazz,e):this.drawSingleLineMarker(t,o,i.clazz+" ace_start ace_br15",e)}else i.update(t,this,this.session,e)}if(-1!=this.i)for(;this.id?4:0)|(c==l?8:0)),o,c==l?0:1,r)},e.prototype.drawMultiLineMarker=function(e,t,n,i,o){var r=this.$padding,s=i.lineHeight,a=this.$getTop(t.start.row,i),l=r+t.start.column*i.characterWidth;if(o=o||"",this.session.$bidiHandler.isBidiRow(t.start.row)?((c=t.clone()).end.row=c.start.row,c.end.column=this.session.getLine(c.start.row).length,this.drawBidiSingleLineMarker(e,c,n+" ace_br1 ace_start",i,null,o)):this.elt(n+" ace_br1 ace_start","height:"+s+"px;right:"+r+"px;top:"+a+"px;left:"+l+"px;"+(o||"")),this.session.$bidiHandler.isBidiRow(t.end.row)){var c;(c=t.clone()).start.row=c.end.row,c.start.column=0,this.drawBidiSingleLineMarker(e,c,n+" ace_br12",i,null,o)}else{a=this.$getTop(t.end.row,i);var h=t.end.column*i.characterWidth;this.elt(n+" ace_br12","height:"+s+"px;width:"+h+"px;top:"+a+"px;left:"+r+"px;"+(o||""))}if(!((s=(t.end.row-t.start.row-1)*i.lineHeight)<=0)){a=this.$getTop(t.start.row+1,i);var u=(t.start.column?1:0)|(t.end.column?0:8);this.elt(n+(u?" ace_br"+u:""),"height:"+s+"px;right:"+r+"px;top:"+a+"px;left:"+r+"px;"+(o||""))}},e.prototype.drawSingleLineMarker=function(e,t,n,i,o,r){if(this.session.$bidiHandler.isBidiRow(t.start.row))return this.drawBidiSingleLineMarker(e,t,n,i,o,r);var s=i.lineHeight,a=(t.end.column+(o||0)-t.start.column)*i.characterWidth,l=this.$getTop(t.start.row,i),c=this.$padding+t.start.column*i.characterWidth;this.elt(n,"height:"+s+"px;width:"+a+"px;top:"+l+"px;left:"+c+"px;"+(r||""))},e.prototype.drawBidiSingleLineMarker=function(e,t,n,i,o,r){var s=i.lineHeight,a=this.$getTop(t.start.row,i),l=this.$padding;this.session.$bidiHandler.getSelections(t.start.column,t.end.column).forEach((function(e){this.elt(n,"height:"+s+"px;width:"+(e.width+(o||0))+"px;top:"+a+"px;left:"+(l+e.left)+"px;"+(r||""))}),this)},e.prototype.drawFullLineMarker=function(e,t,n,i,o){var r=this.$getTop(t.start.row,i),s=i.lineHeight;t.start.row!=t.end.row&&(s+=this.$getTop(t.end.row,i)-r),this.elt(n,"height:"+s+"px;top:"+r+"px;left:0;right:0;"+(o||""))},e.prototype.drawScreenLineMarker=function(e,t,n,i,o){var r=this.$getTop(t.start.row,i),s=i.lineHeight;this.elt(n,"height:"+s+"px;top:"+r+"px;left:0;right:0;"+(o||""))},e}();r.prototype.$padding=0,t.Marker=r})),ace.define("ace/layer/text_util",["require","exports","module"],(function(e,t,n){var i=new Set(["text","rparen","lparen"]);t.isTextToken=function(e){return i.has(e)}})),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter","ace/config","ace/layer/text_util"],(function(e,t,n){var i=e("../lib/oop"),o=e("../lib/dom"),r=e("../lib/lang"),s=e("./lines").Lines,a=e("../lib/event_emitter").EventEmitter,l=e("../config").nls,c=e("./text_util").isTextToken,h=function(){function e(e){this.dom=o,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new s(this.element)}return e.prototype.$updateEolChar=function(){var e=this.session.doc,t="\n"==e.getNewLineCharacter()&&"windows"!=e.getNewLineMode()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=t)return this.EOL_CHAR=t,!0},e.prototype.setPadding=function(e){this.$padding=e,this.element.style.margin="0 "+e+"px"},e.prototype.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},e.prototype.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},e.prototype.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on("changeCharacterSize",function(e){this._signal("changeCharacterSize",e)}.bind(this)),this.$pollSizeChanges()},e.prototype.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},e.prototype.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},e.prototype.setSession=function(e){this.session=e,e&&this.$computeTabString()},e.prototype.setShowInvisibles=function(e){return this.showInvisibles!=e&&(this.showInvisibles=e,"string"==typeof e?(this.showSpaces=/tab/i.test(e),this.showTabs=/space/i.test(e),this.showEOL=/eol/i.test(e)):this.showSpaces=this.showTabs=this.showEOL=e,this.$computeTabString(),!0)},e.prototype.setDisplayIndentGuides=function(e){return this.displayIndentGuides!=e&&(this.displayIndentGuides=e,this.$computeTabString(),!0)},e.prototype.setHighlightIndentGuides=function(e){return this.$highlightIndentGuides!==e&&(this.$highlightIndentGuides=e,e)},e.prototype.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var t=this.$tabStrings=[0],n=1;nh&&(a=l.end.row+1,h=(l=this.session.getNextFoldLine(a,l))?l.start.row:1/0),!(a>o);){var u=r[s++];if(u){this.dom.removeChildren(u),this.$renderLine(u,a,a==h&&l),c&&(u.style.top=this.$lines.computeLineTop(a,e,this.session)+"px");var d=e.lineHeight*this.session.getRowLength(a)+"px";u.style.height!=d&&(c=!0,u.style.height=d)}a++}if(c)for(;s0;o--)this.$lines.shift();if(t.lastRow>e.lastRow)for(o=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);o>0;o--)this.$lines.pop();e.firstRowt.lastRow&&this.$lines.push(this.$renderLinesFragment(e,t.lastRow+1,e.lastRow)),this.$highlightIndentGuide()},e.prototype.$renderLinesFragment=function(e,t,n){for(var i=[],r=t,s=this.session.getNextFoldLine(r),a=s?s.start.row:1/0;r>a&&(r=s.end.row+1,a=(s=this.session.getNextFoldLine(r,s))?s.start.row:1/0),!(r>n);){var l=this.$lines.createCell(r,e,this.session),c=l.element;this.dom.removeChildren(c),o.setStyle(c.style,"height",this.$lines.computeLineHeight(r,e,this.session)+"px"),o.setStyle(c.style,"top",this.$lines.computeLineTop(r,e,this.session)+"px"),this.$renderLine(c,r,r==a&&s),this.$useLineGroups()?c.className="ace_line_group":c.className="ace_line",i.push(l),r++}return i},e.prototype.update=function(e){this.$lines.moveContainer(e),this.config=e;for(var t=e.firstRow,n=e.lastRow,i=this.$lines;i.getLength();)i.pop();i.push(this.$renderLinesFragment(e,t,n))},e.prototype.$renderToken=function(e,t,n,i){for(var o,s=this,a=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC\u2066\u2067\u2068\u202A\u202B\u202D\u202E\u202C\u2069]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,h=this.dom.createFragment(this.element),u=0;o=a.exec(i);){var d=o[1],g=o[2],p=o[3],f=o[4],m=o[5];if(s.showSpaces||!g){var y=u!=o.index?i.slice(u,o.index):"";if(u=o.index+o[0].length,y&&h.appendChild(this.dom.createTextNode(y,this.element)),d){var v=s.session.getScreenTabSize(t+o.index);h.appendChild(s.$tabStrings[v].cloneNode(!0)),t+=v-1}else g?s.showSpaces?((b=this.dom.createElement("span")).className="ace_invisible ace_invisible_space",b.textContent=r.stringRepeat(s.SPACE_CHAR,g.length),h.appendChild(b)):h.appendChild(this.dom.createTextNode(g,this.element)):p?((b=this.dom.createElement("span")).className="ace_invisible ace_invisible_space ace_invalid",b.textContent=r.stringRepeat(s.SPACE_CHAR,p.length),h.appendChild(b)):f?(t+=1,(b=this.dom.createElement("span")).style.width=2*s.config.characterWidth+"px",b.className=s.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",b.textContent=s.showSpaces?s.SPACE_CHAR:f,h.appendChild(b)):m&&(t+=1,(b=this.dom.createElement("span")).style.width=2*s.config.characterWidth+"px",b.className="ace_cjk",b.textContent=m,h.appendChild(b))}}if(h.appendChild(this.dom.createTextNode(u?i.slice(u):i,this.element)),c(n.type))e.appendChild(h);else{var w="ace_"+n.type.replace(/\./g," ace_"),b=this.dom.createElement("span");"fold"==n.type&&(b.style.width=n.value.length*this.config.characterWidth+"px",b.setAttribute("title",l("inline-fold.closed.title","Unfold code"))),b.className=w,b.appendChild(h),e.appendChild(b)}return t+i.length},e.prototype.renderIndentGuide=function(e,t,n){var i=t.search(this.$indentGuideRe);if(i<=0||i>=n)return t;if(" "==t[0]){for(var o=(i-=i%this.tabSize)/this.tabSize,r=0;ro[r].start.row?this.$highlightIndentGuideMarker.dir=-1:this.$highlightIndentGuideMarker.dir=1;break}if(!this.$highlightIndentGuideMarker.end&&""!==e[t.row]&&t.column===e[t.row].length)for(this.$highlightIndentGuideMarker.dir=1,r=t.row+1;r0)for(var i=0;i=this.$highlightIndentGuideMarker.start+1){if(i.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(i,t)}}else for(n=e.length-1;n>=0;n--)if(i=e[n],this.$highlightIndentGuideMarker.end&&i.row=s;)a=this.$renderToken(l,a,h,u.substring(0,s-i)),u=u.substring(s-i),i=s,l=this.$createLineElement(),e.appendChild(l),l.appendChild(this.dom.createTextNode(r.stringRepeat(" ",n.indent),this.element)),a=0,s=n[++o]||Number.MAX_VALUE;0!=u.length&&(i+=u.length,a=this.$renderToken(l,a,h,u))}}n[n.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(l,a,null,"",!0)},e.prototype.$renderSimpleLine=function(e,t){for(var n=0,i=0;ithis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(e,n,o,r);n=this.$renderToken(e,n,o,r)}}},e.prototype.$renderOverflowMessage=function(e,t,n,i,o){n&&this.$renderToken(e,t,n,i.slice(0,this.MAX_LINE_LENGTH-t));var r=this.dom.createElement("span");r.className="ace_inline_button ace_keyword ace_toggle_wrap",r.textContent=o?"":"",e.appendChild(r)},e.prototype.$renderLine=function(e,t,n){if(n||0==n||(n=this.session.getFoldLine(t)),n)var i=this.$getFoldLineTokens(t,n);else i=this.session.getTokens(t);var o=e;if(i.length){var r=this.session.getRowSplitData(t);r&&r.length?(this.$renderWrappedLine(e,i,r),o=e.lastChild):(o=e,this.$useLineGroups()&&(o=this.$createLineElement(),e.appendChild(o)),this.$renderSimpleLine(o,i))}else this.$useLineGroups()&&(o=this.$createLineElement(),e.appendChild(o));if(this.showEOL&&o){n&&(t=n.end.row);var s=this.dom.createElement("span");s.className="ace_invisible ace_invisible_eol",s.textContent=t==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,o.appendChild(s)}},e.prototype.$getFoldLineTokens=function(e,t){var n=this.session,i=[],o=n.getTokens(e);return t.walk((function(e,t,r,s,a){null!=e?i.push({type:"fold",value:e}):(a&&(o=n.getTokens(t)),o.length&&function(e,t,n){for(var o=0,r=0;r+e[o].value.lengthn-t&&(s=s.substring(0,n-t)),i.push({type:e[o].type,value:s}),r=t+s.length,o+=1);rn?i.push({type:e[o].type,value:s.substring(0,n-r)}):i.push(e[o]),r+=s.length,o+=1}}(o,s,r))}),t.end.row,this.session.getLine(t.end.row).length),i},e.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},e}();h.prototype.EOF_CHAR="¶",h.prototype.EOL_CHAR_LF="¬",h.prototype.EOL_CHAR_CRLF="¤",h.prototype.EOL_CHAR=h.prototype.EOL_CHAR_LF,h.prototype.TAB_CHAR="—",h.prototype.SPACE_CHAR="·",h.prototype.$padding=0,h.prototype.MAX_LINE_LENGTH=1e4,h.prototype.showInvisibles=!1,h.prototype.showSpaces=!1,h.prototype.showTabs=!1,h.prototype.showEOL=!1,h.prototype.displayIndentGuides=!0,h.prototype.$highlightIndentGuides=!0,h.prototype.$tabStrings=[],h.prototype.destroy={},h.prototype.onChangeTabSize=h.prototype.$computeTabString,i.implement(h.prototype,a),t.Text=h})),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],(function(e,t,n){var i=e("../lib/dom"),o=function(){function e(e){this.element=i.createElement("div"),this.element.className="ace_layer ace_cursor-layer",e.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),i.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}return e.prototype.$updateOpacity=function(e){for(var t=this.cursors,n=t.length;n--;)i.setStyle(t[n].style,"opacity",e?"":"0")},e.prototype.$startCssAnimation=function(){for(var e=this.cursors,t=e.length;t--;)e[t].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&i.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},e.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,i.removeCssClass(this.element,"ace_animate-blinking")},e.prototype.setPadding=function(e){this.$padding=e},e.prototype.setSession=function(e){this.session=e},e.prototype.setBlinking=function(e){e!=this.isBlinking&&(this.isBlinking=e,this.restartTimer())},e.prototype.setBlinkInterval=function(e){e!=this.blinkInterval&&(this.blinkInterval=e,this.restartTimer())},e.prototype.setSmoothBlinking=function(e){e!=this.smoothBlinking&&(this.smoothBlinking=e,i.setCssClass(this.element,"ace_smooth-blinking",e),this.$updateCursors(!0),this.restartTimer())},e.prototype.addCursor=function(){var e=i.createElement("div");return e.className="ace_cursor",this.element.appendChild(e),this.cursors.push(e),e},e.prototype.removeCursor=function(){if(this.cursors.length>1){var e=this.cursors.pop();return e.parentNode.removeChild(e),e}},e.prototype.hideCursor=function(){this.isVisible=!1,i.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},e.prototype.showCursor=function(){this.isVisible=!0,i.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},e.prototype.restartTimer=function(){var e=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,i.removeCssClass(this.element,"ace_smooth-blinking")),e(!0),this.isBlinking&&this.blinkInterval&&this.isVisible)if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&i.addCssClass(this.element,"ace_smooth-blinking")}.bind(this))),i.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var t=function(){this.timeoutId=setTimeout((function(){e(!1)}),.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval((function(){e(!0),t()}),this.blinkInterval),t()}else this.$stopCssAnimation()},e.prototype.getPixelPosition=function(e,t){if(!this.config||!this.session)return{left:0,top:0};e||(e=this.session.selection.getCursor());var n=this.session.documentToScreenPosition(e);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(n.row,e.row)?this.session.$bidiHandler.getPosLeft(n.column):n.column*this.config.characterWidth),top:(n.row-(t?this.config.firstRowScreen:0))*this.config.lineHeight}},e.prototype.isCursorInView=function(e,t){return e.top>=0&&e.tope.height+e.offset||s.top<0)&&n>1)){var a=this.cursors[o++]||this.addCursor(),l=a.style;this.drawCursor?this.drawCursor(a,s,e,t[n],this.session):this.isCursorInView(s,e)?(i.setStyle(l,"display","block"),i.translate(a,s.left,s.top),i.setStyle(l,"width",Math.round(e.characterWidth)+"px"),i.setStyle(l,"height",e.lineHeight+"px")):i.setStyle(l,"display","none")}}for(;this.cursors.length>o;)this.removeCursor();var c=this.session.getOverwrite();this.$setOverwrite(c),this.$pixelPos=s,this.restartTimer()},e.prototype.$setOverwrite=function(e){e!=this.overwrite&&(this.overwrite=e,e?i.addCssClass(this.element,"ace_overwrite-cursors"):i.removeCssClass(this.element,"ace_overwrite-cursors"))},e.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},e}();o.prototype.$padding=0,o.prototype.drawCursor=null,t.Cursor=o})),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=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])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=e("./lib/oop"),s=e("./lib/dom"),a=e("./lib/event"),l=e("./lib/event_emitter").EventEmitter,c=32768,h=function(){function e(e,t){this.element=s.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+t,this.inner=s.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent=" ",this.element.appendChild(this.inner),e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,a.addListener(this.element,"scroll",this.onScroll.bind(this)),a.addListener(this.element,"mousedown",a.preventDefault)}return e.prototype.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1},e}();r.implement(h.prototype,l);var u=function(e){function t(t,n){var i=e.call(this,t,"-v")||this;return i.scrollTop=0,i.scrollHeight=0,n.$scrollbarWidth=i.width=s.scrollbarWidth(t.ownerDocument),i.inner.style.width=i.element.style.width=(i.width||15)+5+"px",i.$minWidth=0,i}return o(t,e),t.prototype.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var e=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-e)/(this.coeff-e)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},t.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},t.prototype.setHeight=function(e){this.element.style.height=e+"px"},t.prototype.setScrollHeight=function(e){this.scrollHeight=e,e>c?(this.coeff=c/e,e=c):1!=this.coeff&&(this.coeff=1),this.inner.style.height=e+"px"},t.prototype.setScrollTop=function(e){this.scrollTop!=e&&(this.skipEvent=!0,this.scrollTop=e,this.element.scrollTop=e*this.coeff)},t}(h);u.prototype.setInnerHeight=u.prototype.setScrollHeight;var d=function(e){function t(t,n){var i=e.call(this,t,"-h")||this;return i.scrollLeft=0,i.height=n.$scrollbarWidth,i.inner.style.height=i.element.style.height=(i.height||15)+5+"px",i}return o(t,e),t.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},t.prototype.getHeight=function(){return this.isVisible?this.height:0},t.prototype.setWidth=function(e){this.element.style.width=e+"px"},t.prototype.setInnerWidth=function(e){this.inner.style.width=e+"px"},t.prototype.setScrollWidth=function(e){this.inner.style.width=e+"px"},t.prototype.setScrollLeft=function(e){this.scrollLeft!=e&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=e)},t}(h);t.ScrollBar=u,t.ScrollBarV=u,t.ScrollBarH=d,t.VScrollBar=u,t.HScrollBar=d})),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=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])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=e("./lib/oop"),s=e("./lib/dom"),a=e("./lib/event"),l=e("./lib/event_emitter").EventEmitter;s.importCssString(".ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{\n position: absolute;\n background: rgba(128, 128, 128, 0.6);\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n border: 1px solid #bbb;\n border-radius: 2px;\n z-index: 8;\n}\n.ace_editor>.ace_sb-v, .ace_editor>.ace_sb-h {\n position: absolute;\n z-index: 6;\n background: none;\n overflow: hidden!important;\n}\n.ace_editor>.ace_sb-v {\n z-index: 6;\n right: 0;\n top: 0;\n width: 12px;\n}\n.ace_editor>.ace_sb-v div {\n z-index: 8;\n right: 0;\n width: 100%;\n}\n.ace_editor>.ace_sb-h {\n bottom: 0;\n left: 0;\n height: 12px;\n}\n.ace_editor>.ace_sb-h div {\n bottom: 0;\n height: 100%;\n}\n.ace_editor>.ace_sb_grabbed {\n z-index: 8;\n background: #000;\n}","ace_scrollbar.css?v=1773287522785",!1);var c=function(){function e(e,t){this.element=s.createElement("div"),this.element.className="ace_sb"+t,this.inner=s.createElement("div"),this.inner.className="",this.element.appendChild(this.inner),this.VScrollWidth=12,this.HScrollHeight=12,e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,a.addMultiMouseDownListener(this.element,[500,300,300],this,"onMouseDown")}return e.prototype.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1},e}();r.implement(c.prototype,l);var h=function(e){function t(t,n){var i=e.call(this,t,"-v")||this;return i.scrollTop=0,i.scrollHeight=0,i.parent=t,i.width=i.VScrollWidth,i.renderer=n,i.inner.style.width=i.element.style.width=(i.width||15)+"px",i.$minWidth=0,i}return o(t,e),t.prototype.onMouseDown=function(e,t){if("mousedown"===e&&0===a.getButton(t)&&2!==t.detail){if(t.target===this.inner){var n=this,i=t.clientY,o=t.clientY,r=this.thumbTop;a.capture(this.inner,(function(e){i=e.clientY}),(function(){clearInterval(s)}));var s=setInterval((function(){if(void 0!==i){var e=n.scrollTopFromThumbTop(r+i-o);e!==n.scrollTop&&n._emit("scroll",{data:e})}}),20);return a.preventDefault(t)}var l=t.clientY-this.element.getBoundingClientRect().top-this.thumbHeight/2;return this._emit("scroll",{data:this.scrollTopFromThumbTop(l)}),a.preventDefault(t)}},t.prototype.getHeight=function(){return this.height},t.prototype.scrollTopFromThumbTop=function(e){var t=e*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight);return(t|=0)<0?t=0:t>this.pageHeight-this.viewHeight&&(t=this.pageHeight-this.viewHeight),t},t.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},t.prototype.setHeight=function(e){this.height=Math.max(0,e),this.slideHeight=this.height,this.viewHeight=this.height,this.setScrollHeight(this.pageHeight,!0)},t.prototype.setScrollHeight=function(e,t){(this.pageHeight!==e||t)&&(this.pageHeight=e,this.thumbHeight=this.slideHeight*this.viewHeight/this.pageHeight,this.thumbHeight>this.slideHeight&&(this.thumbHeight=this.slideHeight),this.thumbHeight<15&&(this.thumbHeight=15),this.inner.style.height=this.thumbHeight+"px",this.scrollTop>this.pageHeight-this.viewHeight&&(this.scrollTop=this.pageHeight-this.viewHeight,this.scrollTop<0&&(this.scrollTop=0),this._emit("scroll",{data:this.scrollTop})))},t.prototype.setScrollTop=function(e){this.scrollTop=e,e<0&&(e=0),this.thumbTop=e*(this.slideHeight-this.thumbHeight)/(this.pageHeight-this.viewHeight),this.inner.style.top=this.thumbTop+"px"},t}(c);h.prototype.setInnerHeight=h.prototype.setScrollHeight;var u=function(e){function t(t,n){var i=e.call(this,t,"-h")||this;return i.scrollLeft=0,i.scrollWidth=0,i.height=i.HScrollHeight,i.inner.style.height=i.element.style.height=(i.height||12)+"px",i.renderer=n,i}return o(t,e),t.prototype.onMouseDown=function(e,t){if("mousedown"===e&&0===a.getButton(t)&&2!==t.detail){if(t.target===this.inner){var n=this,i=t.clientX,o=t.clientX,r=this.thumbLeft;a.capture(this.inner,(function(e){i=e.clientX}),(function(){clearInterval(s)}));var s=setInterval((function(){if(void 0!==i){var e=n.scrollLeftFromThumbLeft(r+i-o);e!==n.scrollLeft&&n._emit("scroll",{data:e})}}),20);return a.preventDefault(t)}var l=t.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2;return this._emit("scroll",{data:this.scrollLeftFromThumbLeft(l)}),a.preventDefault(t)}},t.prototype.getHeight=function(){return this.isVisible?this.height:0},t.prototype.scrollLeftFromThumbLeft=function(e){var t=e*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth);return(t|=0)<0?t=0:t>this.pageWidth-this.viewWidth&&(t=this.pageWidth-this.viewWidth),t},t.prototype.setWidth=function(e){this.width=Math.max(0,e),this.element.style.width=this.width+"px",this.slideWidth=this.width,this.viewWidth=this.width,this.setScrollWidth(this.pageWidth,!0)},t.prototype.setScrollWidth=function(e,t){(this.pageWidth!==e||t)&&(this.pageWidth=e,this.thumbWidth=this.slideWidth*this.viewWidth/this.pageWidth,this.thumbWidth>this.slideWidth&&(this.thumbWidth=this.slideWidth),this.thumbWidth<15&&(this.thumbWidth=15),this.inner.style.width=this.thumbWidth+"px",this.scrollLeft>this.pageWidth-this.viewWidth&&(this.scrollLeft=this.pageWidth-this.viewWidth,this.scrollLeft<0&&(this.scrollLeft=0),this._emit("scroll",{data:this.scrollLeft})))},t.prototype.setScrollLeft=function(e){this.scrollLeft=e,e<0&&(e=0),this.thumbLeft=e*(this.slideWidth-this.thumbWidth)/(this.pageWidth-this.viewWidth),this.inner.style.left=this.thumbLeft+"px"},t}(c);u.prototype.setInnerWidth=u.prototype.setScrollWidth,t.ScrollBar=h,t.ScrollBarV=h,t.ScrollBarH=u,t.VScrollBar=h,t.HScrollBar=u})),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],(function(e,t,n){var i=e("./lib/event"),o=function(){function e(e,t){this.onRender=e,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=t||window;var n=this;this._flush=function(e){n.pending=!1;var t=n.changes;if(t&&(i.blockIdle(100),n.changes=0,n.onRender(t)),n.changes){if(n.$recursionLimit--<0)return;n.schedule()}else n.$recursionLimit=2}}return e.prototype.schedule=function(e){this.changes=this.changes|e,this.changes&&!this.pending&&(i.nextFrame(this._flush),this.pending=!0)},e.prototype.clear=function(e){var t=this.changes;return this.changes=0,t},e}();t.RenderLoop=o})),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],(function(e,t,n){var i=e("../lib/oop"),o=e("../lib/dom"),r=e("../lib/lang"),s=e("../lib/event"),a=e("../lib/useragent"),l=e("../lib/event_emitter").EventEmitter,c=512,h="function"==typeof ResizeObserver,u=200,d=function(){function e(e){this.el=o.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=o.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=o.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),e.appendChild(this.el),this.$measureNode.textContent=r.stringRepeat("X",c),this.$characterSize={width:0,height:0},h?this.$addObserver():this.checkForSizeChanges()}return e.prototype.$setMeasureNodeStyles=function(e,t){e.width=e.height="auto",e.left=e.top="0px",e.visibility="hidden",e.position="absolute",e.whiteSpace="pre",a.isIE<8?e["font-family"]="inherit":e.font="inherit",e.overflow=t?"hidden":"visible"},e.prototype.checkForSizeChanges=function(e){if(void 0===e&&(e=this.$measureSizes()),e&&(this.$characterSize.width!==e.width||this.$characterSize.height!==e.height)){this.$measureNode.style.fontWeight="bold";var t=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=e,this.charSizes=Object.create(null),this.allowBoldFonts=t&&t.width===e.width&&t.height===e.height,this._emit("changeCharacterSize",{data:e})}},e.prototype.$addObserver=function(){var e=this;this.$observer=new window.ResizeObserver((function(t){e.checkForSizeChanges()})),this.$observer.observe(this.$measureNode)},e.prototype.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var e=this;return this.$pollSizeChangesTimer=s.onIdle((function t(){e.checkForSizeChanges(),s.onIdle(t,500)}),500)},e.prototype.setPolling=function(e){e?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},e.prototype.$measureSizes=function(e){var t={height:(e||this.$measureNode).clientHeight,width:(e||this.$measureNode).clientWidth/c};return 0===t.width||0===t.height?null:t},e.prototype.$measureCharWidth=function(e){return this.$main.textContent=r.stringRepeat(e,c),this.$main.getBoundingClientRect().width/c},e.prototype.getCharacterWidth=function(e){var t=this.charSizes[e];return void 0===t&&(t=this.charSizes[e]=this.$measureCharWidth(e)/this.$characterSize.width),t},e.prototype.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},e.prototype.$getZoom=function(e){return e&&e.parentElement?(Number(window.getComputedStyle(e).zoom)||1)*this.$getZoom(e.parentElement):1},e.prototype.$initTransformMeasureNodes=function(){var e=function(e,t){return["div",{style:"position: absolute;top:"+e+"px;left:"+t+"px;"}]};this.els=o.buildDom([e(0,0),e(u,0),e(0,u),e(u,u)],this.el)},e.prototype.transformCoordinates=function(e,t){function n(e,t,n){var i=e[1]*t[0]-e[0]*t[1];return[(-t[1]*n[0]+t[0]*n[1])/i,(+e[1]*n[0]-e[0]*n[1])/i]}function i(e,t){return[e[0]-t[0],e[1]-t[1]]}function o(e,t){return[e[0]+t[0],e[1]+t[1]]}function r(e,t){return[e*t[0],e*t[1]]}function s(e){var t=e.getBoundingClientRect();return[t.left,t.top]}e&&(e=r(1/this.$getZoom(this.el),e)),this.els||this.$initTransformMeasureNodes();var a=s(this.els[0]),l=s(this.els[1]),c=s(this.els[2]),h=s(this.els[3]),d=n(i(h,l),i(h,c),i(o(l,c),o(h,a))),g=r(1+d[0],i(l,a)),p=r(1+d[1],i(c,a));if(t){var f=t,m=d[0]*f[0]/u+d[1]*f[1]/u+1,y=o(r(f[0],g),r(f[1],p));return o(r(1/m/u,y),a)}var v=i(e,a),w=n(i(g,r(d[0],v)),i(p,r(d[1],v)),v);return r(u,w)},e}();d.prototype.$characterSize={width:0,height:0},i.implement(d.prototype,l),t.FontMetrics=d})),ace.define("ace/css/editor-css",["require","exports","module"],(function(e,t,n){n.exports='\n.ace_br1 {border-top-left-radius : 3px;}\n.ace_br2 {border-top-right-radius : 3px;}\n.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}\n.ace_br4 {border-bottom-right-radius: 3px;}\n.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}\n.ace_br8 {border-bottom-left-radius : 3px;}\n.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n\n\n.ace_editor {\n position: relative;\n overflow: hidden;\n padding: 0;\n font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'Source Code Pro\', \'source-code-pro\', monospace;\n direction: ltr;\n text-align: left;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n forced-color-adjust: none;\n}\n\n.ace_scroller {\n position: absolute;\n overflow: hidden;\n top: 0;\n bottom: 0;\n background-color: inherit;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n cursor: text;\n}\n\n.ace_content {\n position: absolute;\n box-sizing: border-box;\n min-width: 100%;\n contain: style size layout;\n font-variant-ligatures: no-common-ligatures;\n}\n\n.ace_keyboard-focus:focus {\n box-shadow: inset 0 0 0 2px #5E9ED6;\n outline: none;\n}\n\n.ace_dragging .ace_scroller:before{\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n content: \'\';\n background: rgba(250, 250, 250, 0.01);\n z-index: 1000;\n}\n.ace_dragging.ace_dark .ace_scroller:before{\n background: rgba(0, 0, 0, 0.01);\n}\n\n.ace_gutter {\n position: absolute;\n overflow : hidden;\n width: auto;\n top: 0;\n bottom: 0;\n left: 0;\n cursor: default;\n z-index: 4;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n contain: style size layout;\n}\n\n.ace_gutter-active-line {\n position: absolute;\n left: 0;\n right: 0;\n}\n\n.ace_scroller.ace_scroll-left:after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;\n pointer-events: none;\n}\n\n.ace_gutter-cell, .ace_gutter-cell_svg-icons {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n padding-left: 19px;\n padding-right: 6px;\n background-repeat: no-repeat;\n}\n\n.ace_gutter-cell_svg-icons .ace_gutter_annotation {\n margin-left: -14px;\n float: left;\n}\n\n.ace_gutter-cell .ace_gutter_annotation {\n margin-left: -19px;\n float: left;\n}\n\n.ace_gutter-cell.ace_error, .ace_icon.ace_error, .ace_icon.ace_error_fold, .ace_gutter-cell.ace_security, .ace_icon.ace_security, .ace_icon.ace_security_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_warning, .ace_icon.ace_warning, .ace_icon.ace_warning_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_info, .ace_icon.ace_info, .ace_gutter-cell.ace_hint, .ace_icon.ace_hint {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_dark .ace_gutter-cell.ace_info, .ace_dark .ace_icon.ace_info, .ace_dark .ace_gutter-cell.ace_hint, .ace_dark .ace_icon.ace_hint {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");\n}\n\n.ace_icon_svg.ace_error {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJyZWQiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIj4KPGNpcmNsZSBmaWxsPSJub25lIiBjeD0iOCIgY3k9IjgiIHI9IjciIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPGxpbmUgeDE9IjExIiB5MT0iNSIgeDI9IjUiIHkyPSIxMSIvPgo8bGluZSB4MT0iMTEiIHkxPSIxMSIgeDI9IjUiIHkyPSI1Ii8+CjwvZz4KPC9zdmc+");\n background-color: crimson;\n}\n.ace_icon_svg.ace_security {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZT0iZGFya29yYW5nZSIgZmlsbD0ibm9uZSIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iPgogICAgICAgIDxwYXRoIGNsYXNzPSJzdHJva2UtbGluZWpvaW4tcm91bmQiIGQ9Ik04IDE0LjgzMDdDOCAxNC44MzA3IDIgMTIuOTA0NyAyIDguMDg5OTJWMy4yNjU0OEM1LjMxIDMuMjY1NDggNy45ODk5OSAxLjM0OTE4IDcuOTg5OTkgMS4zNDkxOEM3Ljk4OTk5IDEuMzQ5MTggMTAuNjkgMy4yNjU0OCAxNCAzLjI2NTQ4VjguMDg5OTJDMTQgMTIuOTA0NyA4IDE0LjgzMDcgOCAxNC44MzA3WiIvPgogICAgICAgIDxwYXRoIGQ9Ik0yIDguMDg5OTJWMy4yNjU0OEM1LjMxIDMuMjY1NDggNy45ODk5OSAxLjM0OTE4IDcuOTg5OTkgMS4zNDkxOCIvPgogICAgICAgIDxwYXRoIGQ9Ik0xMy45OSA4LjA4OTkyVjMuMjY1NDhDMTAuNjggMy4yNjU0OCA4IDEuMzQ5MTggOCAxLjM0OTE4Ii8+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTggNFY5Ii8+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTggMTBWMTIiLz4KICAgIDwvZz4KPC9zdmc+");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJkYXJrb3JhbmdlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+Cjxwb2x5Z29uIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGZpbGw9Im5vbmUiIHBvaW50cz0iOCAxIDE1IDE1IDEgMTUgOCAxIi8+CjxyZWN0IHg9IjgiIHk9IjEyIiB3aWR0aD0iMC4wMSIgaGVpZ2h0PSIwLjAxIi8+CjxsaW5lIHgxPSI4IiB5MT0iNiIgeDI9IjgiIHkyPSIxMCIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: darkorange;\n}\n.ace_icon_svg.ace_info {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJibHVlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CjxjaXJjbGUgZmlsbD0ibm9uZSIgY3g9IjgiIGN5PSI4IiByPSI3IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjxwb2x5bGluZSBwb2ludHM9IjggMTEgOCA4Ii8+Cjxwb2x5bGluZSBwb2ludHM9IjkgOCA2IDgiLz4KPGxpbmUgeDE9IjEwIiB5MT0iMTEiIHgyPSI2IiB5Mj0iMTEiLz4KPHJlY3QgeD0iOCIgeT0iNSIgd2lkdGg9IjAuMDEiIGhlaWdodD0iMC4wMSIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: royalblue;\n}\n.ace_icon_svg.ace_hint {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZT0ic2lsdmVyIiBmaWxsPSJub25lIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTYgMTRIMTAiLz4KICAgICAgICA8cGF0aCBkPSJNOCAxMUg5QzkgOS40NzAwMiAxMiA4LjU0MDAyIDEyIDUuNzYwMDJDMTIuMDIgNC40MDAwMiAxMS4zOSAzLjM2MDAyIDEwLjQzIDIuNjcwMDJDOSAxLjY0MDAyIDcuMDAwMDEgMS42NDAwMiA1LjU3MDAxIDIuNjcwMDJDNC42MTAwMSAzLjM2MDAyIDMuOTggNC40MDAwMiA0IDUuNzYwMDJDNCA4LjU0MDAyIDcuMDAwMDEgOS40NzAwMiA3LjAwMDAxIDExSDhaIi8+CiAgICA8L2c+Cjwvc3ZnPg==");\n background-color: silver;\n}\n\n.ace_icon_svg.ace_error_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSI+CiAgPHBhdGggZD0ibSAxOC45Mjk4NTEsNy44Mjk4MDc2IGMgMC4xNDYzNTMsNi4zMzc0NjA0IC02LjMyMzE0Nyw3Ljc3Nzg0NDQgLTcuNDc3OTEyLDcuNzc3ODQ0NCAtMi4xMDcyNzI2LC0wLjEyODc1IDUuMTE3Njc4LDAuMzU2MjQ5IDUuMDUxNjk4LC03Ljg3MDA2MTggLTAuNjA0NjcyLC04LjAwMzk3MzQ5IC03LjA3NzI3MDYsLTcuNTYzMTE4OSAtNC44NTczLC03LjQzMDM5NTU2IDEuNjA2LC0wLjExNTE0MjI1IDYuODk3NDg1LDEuMjYyNTQ1OTYgNy4yODM1MTQsNy41MjI2MTI5NiB6IiBmaWxsPSJjcmltc29uIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0ibSA4LjExNDc1NjIsMi4wNTI5ODI4IGMgMy4zNDkxNjk4LDAgNi4wNjQxMzI4LDIuNjc2ODYyNyA2LjA2NDEzMjgsNS45Nzg5NTMgMCwzLjMwMjExMjIgLTIuNzE0OTYzLDUuOTc4OTIwMiAtNi4wNjQxMzI4LDUuOTc4OTIwMiAtMy4zNDkxNDczLDAgLTYuMDY0MTc3MiwtMi42NzY4MDggLTYuMDY0MTc3MiwtNS45Nzg5MjAyIDAuMDA1MzksLTMuMjk5ODg2MSAyLjcxNzI2NTYsLTUuOTczNjQwOCA2LjA2NDE3NzIsLTUuOTc4OTUzIHogbSAwLC0xLjczNTgyNzE5IGMgLTQuMzIxNDgzNiwwIC03LjgyNDc0MDM4LDMuNDU0MDE4NDkgLTcuODI0NzQwMzgsNy43MTQ3ODAxOSAwLDQuMjYwNzI4MiAzLjUwMzI1Njc4LDcuNzE0NzQ1MiA3LjgyNDc0MDM4LDcuNzE0NzQ1MiA0LjMyMTQ0OTgsMCA3LjgyNDY5OTgsLTMuNDU0MDE3IDcuODI0Njk5OCwtNy43MTQ3NDUyIDAsLTIuMDQ2MDkxNCAtMC44MjQzOTIsLTQuMDA4MzY3MiAtMi4yOTE3NTYsLTUuNDU1MTc0NiBDIDEyLjE4MDIyNSwxLjEyOTk2NDggMTAuMTkwMDEzLDAuMzE3MTU1NjEgOC4xMTQ3NTYyLDAuMzE3MTU1NjEgWiBNIDYuOTM3NDU2Myw4LjI0MDU5ODUgNC42NzE4Njg1LDEwLjQ4NTg1MiA2LjAwODY4MTQsMTEuODc2NzI4IDguMzE3MDAzNSw5LjYwMDc5MTEgMTAuNjI1MzM3LDExLjg3NjcyOCAxMS45NjIxMzgsMTAuNDg1ODUyIDkuNjk2NTUwOCw4LjI0MDU5ODUgMTEuOTYyMTM4LDYuMDA2ODA2NiAxMC41NzMyNDYsNC42Mzc0MzM1IDguMzE3MDAzNSw2Ljg3MzQyOTcgNi4wNjA3NjA3LDQuNjM3NDMzNSA0LjY3MTg2ODUsNi4wMDY4MDY2IFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=");\n background-color: crimson;\n}\n.ace_icon_svg.ace_security_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTcgMTQiIGZpbGw9Im5vbmUiPgogICAgPHBhdGggZD0iTTEwLjAwMDEgMTMuNjk5MkMxMC4wMDAxIDEzLjY5OTIgMTEuOTI0MSAxMy40NzYzIDEzIDEyLjY5OTJDMTQuNDEzOSAxMS42NzgxIDE2IDEwLjUgMTYuMTI1MSA2LjgxMTI2VjIuNTg5ODdDMTYuMTI1MSAyLjU0NzY4IDE2LjEyMjEgMi41MDYxOSAxNi4xMTY0IDIuNDY1NTlWMS43MTQ4NUgxNS4yNDE0TDE1LjIzMDcgMS43MTQ4NEwxNC42MjUxIDEuNjk5MjJWNi44MTEyM0MxNC42MjUxIDguNTEwNjEgMTQuNjI1MSA5LjQ2NDYxIDEyLjc4MjQgMTEuNzIxQzEyLjE1ODYgMTIuNDg0OCAxMC4wMDAxIDEzLjY5OTIgMTAuMDAwMSAxMy42OTkyWiIgZmlsbD0iY3JpbXNvbiIgc3Ryb2tlLXdpZHRoPSIyIi8+CiAgICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTcuMzM2MDkgMC4zNjc0NzVDNy4wMzIxNCAwLjE1MjY1MiA2LjYyNTQ4IDAuMTUzNjE0IDYuMzIyNTMgMC4zNjk5OTdMNi4zMDg2OSAwLjM3OTU1NEM2LjI5NTUzIDAuMzg4NTg4IDYuMjczODggMC40MDMyNjYgNi4yNDQxNyAwLjQyMjc4OUM2LjE4NDcxIDAuNDYxODYgNi4wOTMyMSAwLjUyMDE3MSA1Ljk3MzEzIDAuNTkxMzczQzUuNzMyNTEgMC43MzQwNTkgNS4zNzk5IDAuOTI2ODY0IDQuOTQyNzkgMS4xMjAwOUM0LjA2MTQ0IDEuNTA5NyAyLjg3NTQxIDEuODgzNzcgMS41ODk4NCAxLjg4Mzc3SDAuNzE0ODQ0VjIuNzU4NzdWNi45ODAxNUMwLjcxNDg0NCA5LjQ5Mzc0IDIuMjg4NjYgMTEuMTk3MyAzLjcwMjU0IDEyLjIxODVDNC40MTg0NSAxMi43MzU1IDUuMTI4NzQgMTMuMTA1MyA1LjY1NzMzIDEzLjM0NTdDNS45MjI4NCAxMy40NjY0IDYuMTQ1NjYgMTMuNTU1OSA2LjMwNDY1IDEzLjYxNjFDNi4zODQyMyAxMy42NDYyIDYuNDQ4MDUgMTMuNjY5IDYuNDkzNDkgMTMuNjg0OEM2LjUxNjIyIDEzLjY5MjcgNi41MzQzOCAxMy42OTg5IDYuNTQ3NjQgMTMuNzAzM0w2LjU2MzgyIDEzLjcwODdMNi41NjkwOCAxMy43MTA0TDYuNTcwOTkgMTMuNzExTDYuODM5ODQgMTMuNzUzM0w2LjU3MjQyIDEzLjcxMTVDNi43NDYzMyAxMy43NjczIDYuOTMzMzUgMTMuNzY3MyA3LjEwNzI3IDEzLjcxMTVMNy4xMDg3IDEzLjcxMUw3LjExMDYxIDEzLjcxMDRMNy4xMTU4NyAxMy43MDg3TDcuMTMyMDUgMTMuNzAzM0M3LjE0NTMxIDEzLjY5ODkgNy4xNjM0NiAxMy42OTI3IDcuMTg2MTkgMTMuNjg0OEM3LjIzMTY0IDEzLjY2OSA3LjI5NTQ2IDEzLjY0NjIgNy4zNzUwMyAxMy42MTYxQzcuNTM0MDMgMTMuNTU1OSA3Ljc1Njg1IDEzLjQ2NjQgOC4wMjIzNiAxMy4zNDU3QzguNTUwOTUgMTMuMTA1MyA5LjI2MTIzIDEyLjczNTUgOS45NzcxNSAxMi4yMTg1QzExLjM5MSAxMS4xOTczIDEyLjk2NDggOS40OTM3NyAxMi45NjQ4IDYuOTgwMThWMi43NTg4QzEyLjk2NDggMi43MTY2IDEyLjk2MTkgMi42NzUxMSAxMi45NTYxIDIuNjM0NTFWMS44ODM3N0gxMi4wODExQzEyLjA3NzUgMS44ODM3NyAxMi4wNzQgMS44ODM3NyAxMi4wNzA0IDEuODgzNzdDMTAuNzk3OSAxLjg4MDA0IDkuNjE5NjIgMS41MTEwMiA4LjczODk0IDEuMTI0ODZDOC43MzUzNCAxLjEyMzI3IDguNzMxNzQgMS4xMjE2OCA4LjcyODE0IDEuMTIwMDlDOC4yOTEwMyAwLjkyNjg2NCA3LjkzODQyIDAuNzM0MDU5IDcuNjk3NzkgMC41OTEzNzNDNy41Nzc3MiAwLjUyMDE3MSA3LjQ4NjIyIDAuNDYxODYgNy40MjY3NiAwLjQyMjc4OUM3LjM5NzA1IDAuNDAzMjY2IDcuMzc1MzkgMC4zODg1ODggNy4zNjIyNCAwLjM3OTU1NEw3LjM0ODk2IDAuMzcwMzVDNy4zNDg5NiAwLjM3MDM1IDcuMzQ4NDcgMC4zNzAwMiA3LjM0NTYzIDAuMzc0MDU0TDcuMzM3NzkgMC4zNjg2NTlMNy4zMzYwOSAwLjM2NzQ3NVpNOC4wMzQ3MSAyLjcyNjkxQzguODYwNCAzLjA5MDYzIDkuOTYwNjYgMy40NjMwOSAxMS4yMDYxIDMuNTg5MDdWNi45ODAxNUgxMS4yMTQ4QzExLjIxNDggOC42Nzk1MyAxMC4xNjM3IDkuOTI1MDcgOC45NTI1NCAxMC43OTk4QzguMzU1OTUgMTEuMjMwNiA3Ljc1Mzc0IDExLjU0NTQgNy4yOTc5NiAxMS43NTI3QzcuMTE2NzEgMTEuODM1MSA2Ljk2MDYyIDExLjg5OTYgNi44Mzk4NCAxMS45NDY5QzYuNzE5MDYgMTEuODk5NiA2LjU2Mjk3IDExLjgzNTEgNi4zODE3MyAxMS43NTI3QzUuOTI1OTUgMTEuNTQ1NCA1LjMyMzczIDExLjIzMDYgNC43MjcxNSAxMC43OTk4QzMuNTE2MDMgOS45MjUwNyAyLjQ2NDg0IDguNjc5NTUgMi40NjQ4NCA2Ljk4MDE4VjMuNTg5MDlDMy43MTczOCAzLjQ2MjM5IDQuODIzMDggMy4wODYzOSA1LjY1MDMzIDIuNzIwNzFDNi4xNDIyOCAyLjUwMzI0IDYuNTQ0ODUgMi4yODUzNyA2LjgzMjU0IDIuMTE2MjRDNy4xMjE4MSAyLjI4NTM1IDcuNTI3IDIuNTAzNTIgOC4wMjE5NiAyLjcyMTMxQzguMDI2MiAyLjcyMzE3IDguMDMwNDUgMi43MjUwNCA4LjAzNDcxIDIuNzI2OTFaTTUuOTY0ODQgMy40MDE0N1Y3Ljc3NjQ3SDcuNzE0ODRWMy40MDE0N0g1Ljk2NDg0Wk01Ljk2NDg0IDEwLjQwMTVWOC42NTE0N0g3LjcxNDg0VjEwLjQwMTVINS45NjQ4NFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNC43NzY5IDE0LjczMzdMOC42NTE5MiAyLjQ4MzY5QzguMzI5NDYgMS44Mzg3NyA3LjQwOTEzIDEuODM4NzcgNy4wODY2NyAyLjQ4MzY5TDAuOTYxNjY5IDE0LjczMzdDMC42NzA3NzUgMTUuMzE1NSAxLjA5MzgzIDE2IDEuNzQ0MjkgMTZIMTMuOTk0M0MxNC42NDQ4IDE2IDE1LjA2NzggMTUuMzE1NSAxNC43NzY5IDE0LjczMzdaTTMuMTYwMDcgMTQuMjVMNy44NjkyOSA0LjgzMTU2TDEyLjU3ODUgMTQuMjVIMy4xNjAwN1pNOC43NDQyOSAxMS42MjVWMTMuMzc1SDYuOTk0MjlWMTEuNjI1SDguNzQ0MjlaTTYuOTk0MjkgMTAuNzVWNy4yNUg4Ljc0NDI5VjEwLjc1SDYuOTk0MjlaIiBmaWxsPSIjRUM3MjExIi8+CjxwYXRoIGQ9Ik0xMS4xOTkxIDIuOTUyMzhDMTAuODgwOSAyLjMxNDY3IDEwLjM1MzcgMS44MDUyNiA5LjcwNTUgMS41MDlMMTEuMDQxIDEuMDY5NzhDMTEuNjg4MyAwLjk0OTgxNCAxMi4zMzcgMS4yNzI2MyAxMi42MzE3IDEuODYxNDFMMTcuNjEzNiAxMS44MTYxQzE4LjM1MjcgMTMuMjkyOSAxNy41OTM4IDE1LjA4MDQgMTYuMDE4IDE1LjU3NDVDMTYuNDA0NCAxNC40NTA3IDE2LjMyMzEgMTMuMjE4OCAxNS43OTI0IDEyLjE1NTVMMTEuMTk5MSAyLjk1MjM4WiIgZmlsbD0iI0VDNzIxMSIvPgo8L3N2Zz4=");\n background-color: darkorange;\n}\n\n.ace_scrollbar {\n contain: strict;\n position: absolute;\n right: 0;\n bottom: 0;\n z-index: 6;\n}\n\n.ace_scrollbar-inner {\n position: absolute;\n cursor: text;\n left: 0;\n top: 0;\n}\n\n.ace_scrollbar-v{\n overflow-x: hidden;\n overflow-y: scroll;\n top: 0;\n}\n\n.ace_scrollbar-h {\n overflow-x: scroll;\n overflow-y: hidden;\n left: 0;\n}\n\n.ace_print-margin {\n position: absolute;\n height: 100%;\n}\n\n.ace_text-input {\n position: absolute;\n z-index: 0;\n width: 0.5em;\n height: 1em;\n opacity: 0;\n background: transparent;\n -moz-appearance: none;\n appearance: none;\n border: none;\n resize: none;\n outline: none;\n overflow: hidden;\n font: inherit;\n padding: 0 1px;\n margin: 0 -1px;\n contain: strict;\n -ms-user-select: text;\n -moz-user-select: text;\n -webkit-user-select: text;\n user-select: text;\n /*with `pre-line` chrome inserts   instead of space*/\n white-space: pre!important;\n}\n.ace_text-input.ace_composition {\n background: transparent;\n color: inherit;\n z-index: 1000;\n opacity: 1;\n}\n.ace_composition_placeholder { color: transparent }\n.ace_composition_marker { \n border-bottom: 1px solid;\n position: absolute;\n border-radius: 0;\n margin-top: 1px;\n}\n\n[ace_nocontext=true] {\n transform: none!important;\n filter: none!important;\n clip-path: none!important;\n mask : none!important;\n contain: none!important;\n perspective: none!important;\n mix-blend-mode: initial!important;\n z-index: auto;\n}\n\n.ace_layer {\n z-index: 1;\n position: absolute;\n overflow: hidden;\n /* workaround for chrome bug https://github.com/ajaxorg/ace/issues/2312*/\n word-wrap: normal;\n white-space: pre;\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n /* setting pointer-events: auto; on node under the mouse, which changes\n during scroll, will break mouse wheel scrolling in Safari */\n pointer-events: none;\n}\n\n.ace_gutter-layer {\n position: relative;\n width: auto;\n text-align: right;\n pointer-events: auto;\n height: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer {\n font: inherit !important;\n position: absolute;\n height: 1000000px;\n width: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group {\n contain: style size layout;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n}\n\n.ace_hidpi .ace_text-layer,\n.ace_hidpi .ace_gutter-layer,\n.ace_hidpi .ace_content,\n.ace_hidpi .ace_gutter {\n contain: strict;\n}\n.ace_hidpi .ace_text-layer > .ace_line, \n.ace_hidpi .ace_text-layer > .ace_line_group {\n contain: strict;\n}\n\n.ace_cjk {\n display: inline-block;\n text-align: center;\n}\n\n.ace_cursor-layer {\n z-index: 4;\n}\n\n.ace_cursor {\n z-index: 4;\n position: absolute;\n box-sizing: border-box;\n border-left: 2px solid;\n /* workaround for smooth cursor repaintng whole screen in chrome */\n transform: translatez(0);\n}\n\n.ace_multiselect .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_slim-cursors .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_overwrite-cursors .ace_cursor {\n border-left-width: 0;\n border-bottom: 1px solid;\n}\n\n.ace_hidden-cursors .ace_cursor {\n opacity: 0.2;\n}\n\n.ace_hasPlaceholder .ace_hidden-cursors .ace_cursor {\n opacity: 0;\n}\n\n.ace_smooth-blinking .ace_cursor {\n transition: opacity 0.18s;\n}\n\n.ace_animate-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: step-end;\n animation-name: blink-ace-animate;\n animation-iteration-count: infinite;\n}\n\n.ace_animate-blinking.ace_smooth-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: ease-in-out;\n animation-name: blink-ace-animate-smooth;\n}\n \n@keyframes blink-ace-animate {\n from, to { opacity: 1; }\n 60% { opacity: 0; }\n}\n\n@keyframes blink-ace-animate-smooth {\n from, to { opacity: 1; }\n 45% { opacity: 1; }\n 60% { opacity: 0; }\n 85% { opacity: 0; }\n}\n\n.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {\n position: absolute;\n z-index: 3;\n}\n\n.ace_marker-layer .ace_selection {\n position: absolute;\n z-index: 5;\n}\n\n.ace_marker-layer .ace_bracket {\n position: absolute;\n z-index: 6;\n}\n\n.ace_marker-layer .ace_error_bracket {\n position: absolute;\n border-bottom: 1px solid #DE5555;\n border-radius: 0;\n}\n\n.ace_marker-layer .ace_active-line {\n position: absolute;\n z-index: 2;\n}\n\n.ace_marker-layer .ace_selected-word {\n position: absolute;\n z-index: 4;\n box-sizing: border-box;\n}\n\n.ace_line .ace_fold {\n box-sizing: border-box;\n\n display: inline-block;\n height: 11px;\n margin-top: -2px;\n vertical-align: middle;\n\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");\n background-repeat: no-repeat, repeat-x;\n background-position: center center, top left;\n color: transparent;\n\n border: 1px solid black;\n border-radius: 2px;\n\n cursor: pointer;\n pointer-events: auto;\n}\n\n.ace_dark .ace_fold {\n}\n\n.ace_fold:hover{\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");\n}\n\n.ace_tooltip {\n background-color: #f5f5f5;\n border: 1px solid gray;\n border-radius: 1px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n color: black;\n max-width: 100%;\n padding: 3px 4px;\n position: fixed;\n z-index: 999999;\n box-sizing: border-box;\n cursor: default;\n white-space: pre-wrap;\n word-wrap: break-word;\n line-height: normal;\n font-style: normal;\n font-weight: normal;\n letter-spacing: normal;\n pointer-events: none;\n overflow: auto;\n max-width: min(60em, 66vw);\n overscroll-behavior: contain;\n}\n.ace_tooltip pre {\n white-space: pre-wrap;\n}\n\n.ace_tooltip.ace_dark {\n background-color: #636363;\n color: #fff;\n}\n\n.ace_tooltip:focus {\n outline: 1px solid #5E9ED6;\n}\n\n.ace_icon {\n display: inline-block;\n width: 18px;\n vertical-align: top;\n}\n\n.ace_icon_svg {\n display: inline-block;\n width: 12px;\n vertical-align: top;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-size: 12px;\n -webkit-mask-position: center;\n}\n\n.ace_folding-enabled > .ace_gutter-cell, .ace_folding-enabled > .ace_gutter-cell_svg-icons {\n padding-right: 13px;\n}\n\n.ace_fold-widget {\n box-sizing: border-box;\n\n margin: 0 -12px 0 1px;\n display: none;\n width: 11px;\n vertical-align: top;\n\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: center;\n\n border-radius: 3px;\n \n border: 1px solid transparent;\n cursor: pointer;\n}\n\n.ace_folding-enabled .ace_fold-widget {\n display: inline-block; \n}\n\n.ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");\n}\n\n.ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");\n}\n\n.ace_fold-widget:hover {\n border: 1px solid rgba(0, 0, 0, 0.3);\n background-color: rgba(255, 255, 255, 0.2);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);\n}\n\n.ace_fold-widget:active {\n border: 1px solid rgba(0, 0, 0, 0.4);\n background-color: rgba(0, 0, 0, 0.05);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);\n}\n/**\n * Dark version for fold widgets\n */\n.ace_dark .ace_fold-widget {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");\n}\n.ace_dark .ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget:hover {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n background-color: rgba(255, 255, 255, 0.1);\n}\n.ace_dark .ace_fold-widget:active {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n}\n\n.ace_inline_button {\n border: 1px solid lightgray;\n display: inline-block;\n margin: -1px 8px;\n padding: 0 5px;\n pointer-events: auto;\n cursor: pointer;\n}\n.ace_inline_button:hover {\n border-color: gray;\n background: rgba(200,200,200,0.2);\n display: inline-block;\n pointer-events: auto;\n}\n\n.ace_fold-widget.ace_invalid {\n background-color: #FFB4B4;\n border-color: #DE5555;\n}\n\n.ace_fade-fold-widgets .ace_fold-widget {\n transition: opacity 0.4s ease 0.05s;\n opacity: 0;\n}\n\n.ace_fade-fold-widgets:hover .ace_fold-widget {\n transition: opacity 0.05s ease 0.05s;\n opacity:1;\n}\n\n.ace_underline {\n text-decoration: underline;\n}\n\n.ace_bold {\n font-weight: bold;\n}\n\n.ace_nobold .ace_bold {\n font-weight: normal;\n}\n\n.ace_italic {\n font-style: italic;\n}\n\n\n.ace_error-marker {\n background-color: rgba(255, 0, 0,0.2);\n position: absolute;\n z-index: 9;\n}\n\n.ace_highlight-marker {\n background-color: rgba(255, 255, 0,0.2);\n position: absolute;\n z-index: 8;\n}\n\n.ace_mobile-menu {\n position: absolute;\n line-height: 1.5;\n border-radius: 4px;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n background: white;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #dcdcdc;\n color: black;\n}\n.ace_dark > .ace_mobile-menu {\n background: #333;\n color: #ccc;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #444;\n\n}\n.ace_mobile-button {\n padding: 2px;\n cursor: pointer;\n overflow: hidden;\n}\n.ace_mobile-button:hover {\n background-color: #eee;\n opacity:1;\n}\n.ace_mobile-button:active {\n background-color: #ddd;\n}\n\n.ace_placeholder {\n position: relative;\n font-family: arial;\n transform: scale(0.9);\n transform-origin: left;\n white-space: pre;\n opacity: 0.7;\n margin: 0 10px;\n z-index: 1;\n}\n\n.ace_ghost_text {\n opacity: 0.5;\n font-style: italic;\n}\n\n.ace_ghost_text_container > div {\n white-space: pre;\n}\n\n.ghost_text_line_wrapped::after {\n content: "↩";\n position: absolute;\n}\n\n.ace_lineWidgetContainer.ace_ghost_text {\n margin: 0px 4px\n}\n\n.ace_screenreader-only {\n position:absolute;\n left:-10000px;\n top:auto;\n width:1px;\n height:1px;\n overflow:hidden;\n}\n\n.ace_hidden_token {\n display: none;\n}'})),ace.define("ace/layer/decorators",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter"],(function(e,t,n){var i=e("../lib/dom"),o=e("../lib/oop"),r=e("../lib/event_emitter").EventEmitter,s=function(){function e(e,t){this.canvas=i.createElement("canvas"),this.renderer=t,this.pixelRatio=1,this.maxHeight=t.layerConfig.maxHeight,this.lineHeight=t.layerConfig.lineHeight,this.canvasHeight=e.parent.scrollHeight,this.heightRatio=this.canvasHeight/this.maxHeight,this.canvasWidth=e.width,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.canvas.style.top="0px",this.canvas.style.right="0px",this.canvas.style.zIndex="7px",this.canvas.style.position="absolute",this.colors={},this.colors.dark={error:"rgba(255, 18, 18, 1)",warning:"rgba(18, 136, 18, 1)",info:"rgba(18, 18, 136, 1)"},this.colors.light={error:"rgb(255,51,51)",warning:"rgb(32,133,72)",info:"rgb(35,68,138)"},e.element.appendChild(this.canvas)}return e.prototype.$updateDecorators=function(e){var t=!0===this.renderer.theme.isDark?this.colors.dark:this.colors.light;e&&(this.maxHeight=e.maxHeight,this.lineHeight=e.lineHeight,this.canvasHeight=e.height,(e.lastRow+1)*this.lineHeightt.priority?1:0}));for(var r=this.renderer.session.$foldData,s=0;sthis.canvasHeight&&(d=this.canvasHeight-this.halfMinDecorationHeight),h=Math.round(d-this.halfMinDecorationHeight),u=Math.round(d+this.halfMinDecorationHeight)}n.fillStyle=t[i[s].type]||null,n.fillRect(0,c,this.canvasWidth,u-h)}}var g=this.renderer.session.selection.getCursor();g&&(l=this.compensateFoldRows(g.row,r),c=Math.round((g.row-l)*this.lineHeight*this.heightRatio),n.fillStyle="rgba(0, 0, 0, 0.5)",n.fillRect(0,c,this.canvasWidth,2))},e.prototype.compensateFoldRows=function(e,t){var n=0;if(t&&t.length>0)for(var i=0;it[i].start.row&&e=t[i].end.row&&(n+=t[i].end.row-t[i].start.row);return n},e}();o.implement(s.prototype,r),t.Decorator=s})),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/scrollbar_custom","ace/scrollbar_custom","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/css/editor-css","ace/layer/decorators","ace/lib/useragent","ace/layer/text_util"],(function(e,t,n){var i=e("./lib/oop"),o=e("./lib/dom"),r=e("./lib/lang"),s=e("./config"),a=e("./layer/gutter").Gutter,l=e("./layer/marker").Marker,c=e("./layer/text").Text,h=e("./layer/cursor").Cursor,u=e("./scrollbar").HScrollBar,d=e("./scrollbar").VScrollBar,g=e("./scrollbar_custom").HScrollBar,p=e("./scrollbar_custom").VScrollBar,f=e("./renderloop").RenderLoop,m=e("./layer/font_metrics").FontMetrics,y=e("./lib/event_emitter").EventEmitter,v=e("./css/editor-css"),w=e("./layer/decorators").Decorator,b=e("./lib/useragent"),$=e("./layer/text_util").isTextToken;o.importCssString(v,"ace_editor.css?v=1773287522785",!1);var C=function(){function e(e,t){var n=this;this.container=e||o.createElement("div"),o.addCssClass(this.container,"ace_editor"),o.HI_DPI&&o.addCssClass(this.container,"ace_hidpi"),this.setTheme(t),null==s.get("useStrictCSP")&&s.set("useStrictCSP",!1),this.$gutter=o.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden","true"),this.scroller=o.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=o.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new a(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new l(this.content);var i=this.$textLayer=new c(this.content);this.canvas=i.element,this.$markerFront=new l(this.content),this.$cursorLayer=new h(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new d(this.container,this),this.scrollBarH=new u(this.container,this),this.scrollBarV.on("scroll",(function(e){n.$scrollAnimation||n.session.setScrollTop(e.data-n.scrollMargin.top)})),this.scrollBarH.on("scroll",(function(e){n.$scrollAnimation||n.session.setScrollLeft(e.data-n.scrollMargin.left)})),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new m(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",(function(e){n.updateCharacterSize(),n.onResize(!0,n.gutterWidth,n.$size.width,n.$size.height),n._signal("changeCharacterSize",e)})),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!b.isIOS,this.$loop=new f(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),this.$addResizeObserver(),s.resetOptions(this),s._signal("renderer",this)}return e.prototype.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),o.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},e.prototype.setSession=function(e){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=e,e&&this.scrollMargin.top&&e.getScrollTop()<=0&&e.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(e),this.$markerBack.setSession(e),this.$markerFront.setSession(e),this.$gutterLayer.setSession(e),this.$textLayer.setSession(e),e&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},e.prototype.updateLines=function(e,t,n){if(void 0===t&&(t=1/0),this.$changedLines?(this.$changedLines.firstRow>e&&(this.$changedLines.firstRow=e),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},e.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},e.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},e.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},e.prototype.updateFull=function(e){e?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},e.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},e.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},e.prototype.onResize=function(e,t,n,i){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=e?1:0;var o=this.container;i||(i=o.clientHeight||o.scrollHeight),!i&&this.$maxLines&&this.lineHeight>1&&(o.style.height&&"0px"!=o.style.height||(o.style.height="1px",i=o.clientHeight||o.scrollHeight)),n||(n=o.clientWidth||o.scrollWidth);var r=this.$updateCachedSize(e,t,n,i);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!n&&!i)return this.resizing=0;e&&(this.$gutterLayer.$padding=null),e?this.$renderChanges(r|this.$changes,!0):this.$loop.schedule(r|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},e.prototype.$updateCachedSize=function(e,t,n,i){i-=this.$extraHeight||0;var r=0,s=this.$size,a={width:s.width,height:s.height,scrollerHeight:s.scrollerHeight,scrollerWidth:s.scrollerWidth};if(i&&(e||s.height!=i)&&(s.height=i,r|=this.CHANGE_SIZE,s.scrollerHeight=s.height,this.$horizScroll&&(s.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(s.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",r|=this.CHANGE_SCROLL),n&&(e||s.width!=n)){r|=this.CHANGE_SIZE,s.width=n,null==t&&(t=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=t,o.setStyle(this.scrollBarH.element.style,"left",t+"px"),o.setStyle(this.scroller.style,"left",t+this.margin.left+"px"),s.scrollerWidth=Math.max(0,n-t-this.scrollBarV.getWidth()-this.margin.h),o.setStyle(this.$gutter.style,"left",this.margin.left+"px");var l=this.scrollBarV.getWidth()+"px";o.setStyle(this.scrollBarH.element.style,"right",l),o.setStyle(this.scroller.style,"right",l),o.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(s.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||e)&&(r|=this.CHANGE_FULL)}return s.$dirty=!n||!i,r&&this._signal("resize",a),r},e.prototype.onGutterResize=function(e){var t=this.$showGutter?e:0;t!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,t,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()||this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},e.prototype.adjustWrapLimit=function(){var e=this.$size.scrollerWidth-2*this.$padding,t=Math.floor(e/this.characterWidth);return this.session.adjustWrapLimit(t,this.$showPrintMargin&&this.$printMarginColumn)},e.prototype.setAnimatedScroll=function(e){this.setOption("animatedScroll",e)},e.prototype.getAnimatedScroll=function(){return this.$animatedScroll},e.prototype.setShowInvisibles=function(e){this.setOption("showInvisibles",e),this.session.$bidiHandler.setShowInvisibles(e)},e.prototype.getShowInvisibles=function(){return this.getOption("showInvisibles")},e.prototype.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},e.prototype.setDisplayIndentGuides=function(e){this.setOption("displayIndentGuides",e)},e.prototype.getHighlightIndentGuides=function(){return this.getOption("highlightIndentGuides")},e.prototype.setHighlightIndentGuides=function(e){this.setOption("highlightIndentGuides",e)},e.prototype.setShowPrintMargin=function(e){this.setOption("showPrintMargin",e)},e.prototype.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},e.prototype.setPrintMarginColumn=function(e){this.setOption("printMarginColumn",e)},e.prototype.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},e.prototype.getShowGutter=function(){return this.getOption("showGutter")},e.prototype.setShowGutter=function(e){return this.setOption("showGutter",e)},e.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},e.prototype.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},e.prototype.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},e.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},e.prototype.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var e=o.createElement("div");e.className="ace_layer ace_print-margin-layer",this.$printMarginEl=o.createElement("div"),this.$printMarginEl.className="ace_print-margin",e.appendChild(this.$printMarginEl),this.content.insertBefore(e,this.content.firstChild)}var t=this.$printMarginEl.style;t.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",t.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},e.prototype.getContainerElement=function(){return this.container},e.prototype.getMouseEventTarget=function(){return this.scroller},e.prototype.getTextAreaContainer=function(){return this.container},e.prototype.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var e=this.textarea.style,t=this.$composition;if(this.$keepTextAreaAtCursor||t){var n=this.$cursorLayer.$pixelPos;if(n){t&&t.markerRange&&(n=this.$cursorLayer.getPixelPosition(t.markerRange.start,!0));var i=this.layerConfig,r=n.top,s=n.left;r-=i.offset;var a=t&&t.useTextareaForIME||b.isMobile?this.lineHeight:1;if(r<0||r>i.height-a)o.translate(this.textarea,0,0);else{var l=1,c=this.$size.height-a;if(t)if(t.useTextareaForIME){var h=this.textarea.value;l=this.characterWidth*this.session.$getStringScreenWidth(h)[0]}else r+=this.lineHeight+2;else r+=this.lineHeight;(s-=this.scrollLeft)>this.$size.scrollerWidth-l&&(s=this.$size.scrollerWidth-l),s+=this.gutterWidth+this.margin.left,o.setStyle(e,"height",a+"px"),o.setStyle(e,"width",l+"px"),o.translate(this.textarea,Math.min(s,this.$size.scrollerWidth-l),Math.min(r,c))}}}else o.translate(this.textarea,-100,0)}},e.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},e.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},e.prototype.getLastFullyVisibleRow=function(){var e=this.layerConfig,t=e.lastRow;return this.session.documentToScreenRow(t,0)*e.lineHeight-this.session.getScrollTop()>e.height-e.lineHeight?t-1:t},e.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},e.prototype.setPadding=function(e){this.$padding=e,this.$textLayer.setPadding(e),this.$cursorLayer.setPadding(e),this.$markerFront.setPadding(e),this.$markerBack.setPadding(e),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},e.prototype.setScrollMargin=function(e,t,n,i){var o=this.scrollMargin;o.top=0|e,o.bottom=0|t,o.right=0|i,o.left=0|n,o.v=o.top+o.bottom,o.h=o.left+o.right,o.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-o.top),this.updateFull()},e.prototype.setMargin=function(e,t,n,i){var o=this.margin;o.top=0|e,o.bottom=0|t,o.right=0|i,o.left=0|n,o.v=o.top+o.bottom,o.h=o.left+o.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},e.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},e.prototype.setHScrollBarAlwaysVisible=function(e){this.setOption("hScrollBarAlwaysVisible",e)},e.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},e.prototype.setVScrollBarAlwaysVisible=function(e){this.setOption("vScrollBarAlwaysVisible",e)},e.prototype.$updateScrollBarV=function(){var e=this.layerConfig.maxHeight,t=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(e-=(t-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>e-t&&(e=this.scrollTop+t,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(e+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},e.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},e.prototype.freeze=function(){this.$frozen=!0},e.prototype.unfreeze=function(){this.$frozen=!1},e.prototype.$renderChanges=function(e,t){if(this.$changes&&(e|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(e||t)){if(this.$size.$dirty)return this.$changes|=e,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",e),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var n=this.layerConfig;if(e&this.CHANGE_FULL||e&this.CHANGE_SIZE||e&this.CHANGE_TEXT||e&this.CHANGE_LINES||e&this.CHANGE_SCROLL||e&this.CHANGE_H_SCROLL){if(e|=this.$computeLayerConfig()|this.$loop.clear(),n.firstRow!=this.layerConfig.firstRow&&n.firstRowScreen==this.layerConfig.firstRowScreen){var i=this.scrollTop+(n.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;i>0&&(this.scrollTop=i,e|=this.CHANGE_SCROLL,e|=this.$computeLayerConfig()|this.$loop.clear())}n=this.layerConfig,this.$updateScrollBarV(),e&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),o.translate(this.content,-this.scrollLeft,-n.offset);var r=n.width+2*this.$padding+"px",s=n.minHeight+"px";o.setStyle(this.content.style,"width",r),o.setStyle(this.content.style,"height",s)}if(e&this.CHANGE_H_SCROLL&&(o.translate(this.content,-this.scrollLeft,-n.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility&&(this.scroller.className+=this.keyboardFocusClassName)),e&this.CHANGE_FULL)return this.$changedLines=null,this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),void this._signal("afterRender",e);if(e&this.CHANGE_SCROLL)return this.$changedLines=null,e&this.CHANGE_TEXT||e&this.CHANGE_LINES?this.$textLayer.update(n):this.$textLayer.scrollLines(n),this.$showGutter&&(e&this.CHANGE_GUTTER||e&this.CHANGE_LINES?this.$gutterLayer.update(n):this.$gutterLayer.scrollLines(n)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),void this._signal("afterRender",e);e&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n)):e&this.CHANGE_LINES?((this.$updateLines()||e&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n)):e&this.CHANGE_TEXT||e&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n)):e&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n)),e&this.CHANGE_CURSOR&&(this.$cursorLayer.update(n),this.$moveTextAreaToCursor()),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(n),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(n),this._signal("afterRender",e)}else this.$changes|=e},e.prototype.$autosize=function(){var e=this.session.getScreenLength()*this.lineHeight,t=this.$maxLines*this.lineHeight,n=Math.min(t,Math.max((this.$minLines||1)*this.lineHeight,e))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(n+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&n>this.$maxPixelHeight&&(n=this.$maxPixelHeight);var i=!(n<=2*this.lineHeight)&&e>t;if(n!=this.desiredHeight||this.$size.height!=this.desiredHeight||i!=this.$vScroll){i!=this.$vScroll&&(this.$vScroll=i,this.scrollBarV.setVisible(i));var o=this.container.clientWidth;this.container.style.height=n+"px",this.$updateCachedSize(!0,this.$gutterWidth,o,n),this.desiredHeight=n,this._signal("autosize")}},e.prototype.$computeLayerConfig=function(){var e=this.session,t=this.$size,n=t.height<=2*this.lineHeight,i=this.session.getScreenLength()*this.lineHeight,o=this.$getLongestLine(),r=!n&&(this.$hScrollBarAlwaysVisible||t.scrollerWidth-o-2*this.$padding<0),s=this.$horizScroll!==r;s&&(this.$horizScroll=r,this.scrollBarH.setVisible(r));var a=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var l=t.scrollerHeight+this.lineHeight,c=!this.$maxLines&&this.$scrollPastEnd?(t.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;i+=c;var h=this.scrollMargin;this.session.setScrollTop(Math.max(-h.top,Math.min(this.scrollTop,i-t.scrollerHeight+h.bottom))),this.session.setScrollLeft(Math.max(-h.left,Math.min(this.scrollLeft,o+2*this.$padding-t.scrollerWidth+h.right)));var u=!n&&(this.$vScrollBarAlwaysVisible||t.scrollerHeight-i+c<0||this.scrollTop>h.top),d=a!==u;d&&(this.$vScroll=u,this.scrollBarV.setVisible(u));var g,p,f=this.scrollTop%this.lineHeight,m=Math.ceil(l/this.lineHeight)-1,y=Math.max(0,Math.round((this.scrollTop-f)/this.lineHeight)),v=y+m,w=this.lineHeight;y=e.screenToDocumentRow(y,0);var b=e.getFoldLine(y);b&&(y=b.start.row),g=e.documentToScreenRow(y,0),p=e.getRowLength(y)*w,v=Math.min(e.screenToDocumentRow(v,0),e.getLength()-1),l=t.scrollerHeight+e.getRowLength(v)*w+p,f=this.scrollTop-g*w;var $=0;return(this.layerConfig.width!=o||s)&&($=this.CHANGE_H_SCROLL),(s||d)&&($|=this.$updateCachedSize(!0,this.gutterWidth,t.width,t.height),this._signal("scrollbarVisibilityChanged"),d&&(o=this.$getLongestLine())),this.layerConfig={width:o,padding:this.$padding,firstRow:y,firstRowScreen:g,lastRow:v,lineHeight:w,characterWidth:this.characterWidth,minHeight:l,maxHeight:i,offset:f,gutterOffset:w?Math.max(0,Math.ceil((f+t.height-t.scrollerHeight)/w)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(o-this.$padding),$},e.prototype.$updateLines=function(){if(this.$changedLines){var e=this.$changedLines.firstRow,t=this.$changedLines.lastRow;this.$changedLines=null;var n=this.layerConfig;if(!(e>n.lastRow+1||tthis.$textLayer.MAX_LINE_LENGTH&&(e=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(e*this.characterWidth))},e.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},e.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},e.prototype.addGutterDecoration=function(e,t){this.$gutterLayer.addGutterDecoration(e,t)},e.prototype.removeGutterDecoration=function(e,t){this.$gutterLayer.removeGutterDecoration(e,t)},e.prototype.updateBreakpoints=function(e){this._rows=e,this.$loop.schedule(this.CHANGE_GUTTER)},e.prototype.setAnnotations=function(e){this.$gutterLayer.setAnnotations(e),this.$loop.schedule(this.CHANGE_GUTTER)},e.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},e.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},e.prototype.showCursor=function(){this.$cursorLayer.showCursor()},e.prototype.scrollSelectionIntoView=function(e,t,n){this.scrollCursorIntoView(e,n),this.scrollCursorIntoView(t,n)},e.prototype.scrollCursorIntoView=function(e,t,n){if(0!==this.$size.scrollerHeight){var i=this.$cursorLayer.getPixelPosition(e),o=i.left,r=i.top,s=n&&n.top||0,a=n&&n.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var l=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;l+s>r?(t&&l+s>r+this.lineHeight&&(r-=t*this.$size.scrollerHeight),0===r&&(r=-this.scrollMargin.top),this.session.setScrollTop(r)):l+this.$size.scrollerHeight-a=1-this.scrollMargin.top||t>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||e<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||e>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right||void 0},e.prototype.pixelToScreenCoordinates=function(e,t){var n;if(this.$hasCssTransforms){n={top:0,left:0};var i=this.$fontMetrics.transformCoordinates([e,t]);e=i[1]-this.gutterWidth-this.margin.left,t=i[0]}else n=this.scroller.getBoundingClientRect();var o=e+this.scrollLeft-n.left-this.$padding,r=o/this.characterWidth,s=Math.floor((t+this.scrollTop-n.top)/this.lineHeight),a=this.$blockCursor?Math.floor(r):Math.round(r);return{row:s,column:a,side:r-a>0?1:-1,offsetX:o}},e.prototype.screenToTextCoordinates=function(e,t){var n;if(this.$hasCssTransforms){n={top:0,left:0};var i=this.$fontMetrics.transformCoordinates([e,t]);e=i[1]-this.gutterWidth-this.margin.left,t=i[0]}else n=this.scroller.getBoundingClientRect();var o=e+this.scrollLeft-n.left-this.$padding,r=o/this.characterWidth,s=this.$blockCursor?Math.floor(r):Math.round(r),a=Math.floor((t+this.scrollTop-n.top)/this.lineHeight);return this.session.screenToDocumentPosition(a,Math.max(s,0),o)},e.prototype.textToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),i=this.session.documentToScreenPosition(e,t),o=this.$padding+(this.session.$bidiHandler.isBidiRow(i.row,e)?this.session.$bidiHandler.getPosLeft(i.column):Math.round(i.column*this.characterWidth)),r=i.row*this.lineHeight;return{pageX:n.left+o-this.scrollLeft,pageY:n.top+r-this.scrollTop}},e.prototype.visualizeFocus=function(){o.addCssClass(this.container,"ace_focus")},e.prototype.visualizeBlur=function(){o.removeCssClass(this.container,"ace_focus")},e.prototype.showComposition=function(e){this.$composition=e,e.cssText||(e.cssText=this.textarea.style.cssText),null==e.useTextareaForIME&&(e.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(o.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):e.markerId=this.session.addMarker(e.markerRange,"ace_composition_marker","text")},e.prototype.setCompositionText=function(e){var t=this.session.selection.cursor;this.addToken(e,"composition_placeholder",t.row,t.column),this.$moveTextAreaToCursor()},e.prototype.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),o.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var e=this.session.selection.cursor;this.removeExtraToken(e.row,e.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},e.prototype.setGhostText=function(e,t){var n=this.session.selection.cursor,i=t||{row:n.row,column:n.column};this.removeGhostText();var r=this.$calculateWrappedTextChunks(e,i);this.addToken(r[0].text,"ghost_text",i.row,i.column),this.$ghostText={text:e,position:{row:i.row,column:i.column}};var s=o.createElement("div");if(r.length>1){var a,l=this.hideTokensAfterPosition(i.row,i.column);r.slice(1).forEach((function(e){var t=o.createElement("div"),n=o.createElement("span");n.className="ace_ghost_text",e.wrapped&&(t.className="ghost_text_line_wrapped"),0===e.text.length&&(e.text=" "),n.appendChild(o.createTextNode(e.text)),t.appendChild(n),s.appendChild(t),a=t})),l.forEach((function(e){var t=o.createElement("span");$(e.type)||(t.className="ace_"+e.type.replace(/\./g," ace_")),t.appendChild(o.createTextNode(e.value)),a.appendChild(t)})),this.$ghostTextWidget={el:s,row:i.row,column:i.column,className:"ace_ghost_text_container"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget);var c=this.$cursorLayer.getPixelPosition(i,!0),h=this.container.getBoundingClientRect().height,u=r.length*this.lineHeight;if(u0){var c=0;l.push(o[s].length);for(var h=0;h1||Math.abs(e.$size.height-i)>1?e.$resizeTimer.delay():e.$resizeTimer.cancel()})),this.$resizeObserver.observe(this.container)}},e}();C.prototype.CHANGE_CURSOR=1,C.prototype.CHANGE_MARKER=2,C.prototype.CHANGE_GUTTER=4,C.prototype.CHANGE_SCROLL=8,C.prototype.CHANGE_LINES=16,C.prototype.CHANGE_TEXT=32,C.prototype.CHANGE_SIZE=64,C.prototype.CHANGE_MARKER_BACK=128,C.prototype.CHANGE_MARKER_FRONT=256,C.prototype.CHANGE_FULL=512,C.prototype.CHANGE_H_SCROLL=1024,C.prototype.$changes=0,C.prototype.$padding=null,C.prototype.$frozen=!1,C.prototype.STEPS=8,i.implement(C.prototype,y),s.defineOptions(C.prototype,"renderer",{useResizeObserver:{set:function(e){!e&&this.$resizeObserver?(this.$resizeObserver.disconnect(),this.$resizeTimer.cancel(),this.$resizeTimer=this.$resizeObserver=null):e&&!this.$resizeObserver&&this.$addResizeObserver()}},animatedScroll:{initialValue:!1},showInvisibles:{set:function(e){this.$textLayer.setShowInvisibles(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(e){"number"==typeof e&&(this.$printMarginColumn=e),this.$showPrintMargin=!!e,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(e){this.$gutter.style.display=e?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},useSvgGutterIcons:{set:function(e){this.$gutterLayer.$useSvgGutterIcons=e},initialValue:!1},showFoldedAnnotations:{set:function(e){this.$gutterLayer.$showFoldedAnnotations=e},initialValue:!1},fadeFoldWidgets:{set:function(e){o.setCssClass(this.$gutter,"ace_fade-fold-widgets",e)},initialValue:!1},showFoldWidgets:{set:function(e){this.$gutterLayer.setShowFoldWidgets(e),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(e){this.$textLayer.setDisplayIndentGuides(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightIndentGuides:{set:function(e){1==this.$textLayer.setHighlightIndentGuides(e)?this.$textLayer.$highlightIndentGuide():this.$textLayer.$clearActiveIndentGuide(this.$textLayer.$lines.cells)},initialValue:!0},highlightGutterLine:{set:function(e){this.$gutterLayer.setHighlightGutterLine(e),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},hScrollBarAlwaysVisible:{set:function(e){this.$hScrollBarAlwaysVisible&&this.$horizScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(e){this.$vScrollBarAlwaysVisible&&this.$vScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(e){"number"==typeof e&&(e+="px"),this.container.style.fontSize=e,this.updateFontSize()},initialValue:12},fontFamily:{set:function(e){this.container.style.fontFamily=e,this.updateFontSize()}},maxLines:{set:function(e){this.updateFull()}},minLines:{set:function(e){this.$minLines<562949953421311||(this.$minLines=0),this.updateFull()}},maxPixelHeight:{set:function(e){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(e){e=+e||0,this.$scrollPastEnd!=e&&(this.$scrollPastEnd=e,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(e){this.$gutterLayer.$fixedWidth=!!e,this.$loop.schedule(this.CHANGE_GUTTER)}},customScrollbar:{set:function(e){this.$updateCustomScrollbar(e)},initialValue:!1},theme:{set:function(e){this.setTheme(e)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0},hasCssTransforms:{},useTextareaForIME:{initialValue:!b.isMobile&&!b.isIE}}),t.VirtualRenderer=C})),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],(function(e,t,n){var i=e("../lib/oop"),o=e("../lib/net"),r=e("../lib/event_emitter").EventEmitter,s=e("../config");function a(e){if("undefined"==typeof Worker)return{postMessage:function(){},terminate:function(){}};if(s.get("loadWorkerFromBlob")){var t=function(e){var t="importScripts('"+o.qualifyURL(e)+"');";try{return new Blob([t],{type:"application/javascript"})}catch(i){var n=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return n.append(t),n.getBlob("application/javascript")}}(e),n=(window.URL||window.webkitURL).createObjectURL(t);return new Worker(n)}return new Worker(e)}var l=function(e){e.postMessage||(e=this.$createWorkerFromOldConfig.apply(this,arguments)),this.$worker=e,this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){i.implement(this,r),this.$createWorkerFromOldConfig=function(t,n,i,o,r){if(e.nameToUrl&&!e.toUrl&&(e.toUrl=e.nameToUrl),s.get("packaged")||!e.toUrl)o=o||s.moduleUrl(n,"worker");else{var l=this.$normalizePath;o=o||l(e.toUrl("ace/worker/worker.js?v=1773287522785",null,"_"));var c={};t.forEach((function(t){c[t]=l(e.toUrl(t,null,"_").replace(/(\.js)?(\?.*)?$/,""))}))}return this.$worker=a(o),r&&this.send("importScripts",r),this.$worker.postMessage({init:!0,tlns:c,module:n,classname:i}),this.$worker},this.onMessage=function(e){var t=e.data;switch(t.type){case"event":this._signal(t.name,{data:t.data});break;case"call":var n=this.callbacks[t.id];n&&(n(t.data),delete this.callbacks[t.id]);break;case"error":this.reportError(t.data);break;case"log":window.console&&console.log&&console.log.apply(console,t.data)}},this.reportError=function(e){window.console&&console.error&&console.error(e)},this.$normalizePath=function(e){return o.qualifyURL(e)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker.onerror=function(e){e.preventDefault()},this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(e,t){this.$worker.postMessage({command:e,args:t})},this.call=function(e,t,n){if(n){var i=this.callbackId++;this.callbacks[i]=n,t.push(i)}this.send(e,t)},this.emit=function(e,t){try{t.data&&t.data.err&&(t.data.err={message:t.data.err.message,stack:t.data.err.stack,code:t.data.err.code}),this.$worker&&this.$worker.postMessage({event:e,data:{data:t.data}})}catch(n){console.error(n.stack)}},this.attachToDocument=function(e){this.$doc&&this.terminate(),this.$doc=e,this.call("setValue",[e.getValue()]),e.on("change",this.changeListener,!0)},this.changeListener=function(e){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),"insert"==e.action?this.deltaQueue.push(e.start,e.lines):this.deltaQueue.push(e.start,e.end)},this.$sendDeltaQueue=function(){var e=this.deltaQueue;e&&(this.deltaQueue=null,e.length>50&&e.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:e}))}}).call(l.prototype),t.UIWorkerClient=function(e,t,n){var i=null,o=!1,a=Object.create(r),c=[],h=new l({messageBuffer:c,terminate:function(){},postMessage:function(e){c.push(e),i&&(o?setTimeout(u):u())}});h.setEmitSync=function(e){o=e};var u=function(){var e=c.shift();e.command?i[e.command].apply(i,e.args):e.event&&a._signal(e.event,e.data)};return a.postMessage=function(e){h.onMessage({data:e})},a.callback=function(e,t){this.postMessage({type:"call",id:t,data:e})},a.emit=function(e,t){this.postMessage({type:"event",name:e,data:t})},s.loadModule(["worker",t],(function(e){for(i=new e[n](a);c.length;)u()})),h},t.WorkerClient=l,t.createWorker=a})),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],(function(e,t,n){var i=e("./range").Range,o=e("./lib/event_emitter").EventEmitter,r=e("./lib/oop"),s=function(){function e(e,t,n,i,o,r){var s=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=o,this.othersClass=r,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate,!0),this.$others=i,this.$onCursorChange=function(){setTimeout((function(){s.onCursorChange()}))},this.$pos=n;var a=e.getUndoManager().$undoStack||e.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=a.length,this.setup(),e.selection.on("changeCursor",this.$onCursorChange)}return e.prototype.setup=function(){var e=this,t=this.doc,n=this.session;this.selectionBefore=n.selection.toJSON(),n.selection.inMultiSelectMode&&n.selection.toSingleRange(),this.pos=t.createAnchor(this.$pos.row,this.$pos.column);var o=this.pos;o.$insertRight=!0,o.detach(),o.markerId=n.addMarker(new i(o.row,o.column,o.row,o.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach((function(n){var i=t.createAnchor(n.row,n.column);i.$insertRight=!0,i.detach(),e.others.push(i)})),n.setUndoSelect(!1)},e.prototype.showOtherMarkers=function(){if(!this.othersActive){var e=this.session,t=this;this.othersActive=!0,this.others.forEach((function(n){n.markerId=e.addMarker(new i(n.row,n.column,n.row,n.column+t.length),t.othersClass,null,!1)}))}},e.prototype.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var e=0;e=this.pos.column&&t.start.column<=this.pos.column+this.length+1,r=t.start.column-this.pos.column;if(this.updateAnchors(e),o&&(this.length+=n),o&&!this.session.$fromUndo)if("insert"===e.action)for(var s=this.others.length-1;s>=0;s--){var a={row:(l=this.others[s]).row,column:l.column+r};this.doc.insertMergedLines(a,e.lines)}else if("remove"===e.action)for(s=this.others.length-1;s>=0;s--){var l;a={row:(l=this.others[s]).row,column:l.column+r},this.doc.remove(new i(a.row,a.column,a.row,a.column-n))}this.$updating=!1,this.updateMarkers()}},e.prototype.updateAnchors=function(e){this.pos.onChange(e);for(var t=this.others.length;t--;)this.others[t].onChange(e);this.updateMarkers()},e.prototype.updateMarkers=function(){if(!this.$updating){var e=this,t=this.session,n=function(n,o){t.removeMarker(n.markerId),n.markerId=t.addMarker(new i(n.row,n.column,n.row,n.column+e.length),o,null,!1)};n(this.pos,this.mainClass);for(var o=this.others.length;o--;)n(this.others[o],this.othersClass)}},e.prototype.onCursorChange=function(e){if(!this.$updating&&this.session){var t=this.session.selection.getCursor();t.row===this.pos.row&&t.column>=this.pos.column&&t.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",e)):(this.hideOtherMarkers(),this._emit("cursorLeave",e))}},e.prototype.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},e.prototype.cancel=function(){if(-1!==this.$undoStackDepth){for(var e=this.session.getUndoManager(),t=(e.$undoStack||e.$undostack).length-this.$undoStackDepth,n=0;n1?e.multiSelect.joinSelections():e.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(e){e.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(e){e.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(e){e.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],t.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(e){e.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(e){return e&&e.inMultiSelectMode}}];var i=e("../keyboard/hash_handler").HashHandler;t.keyboardHandler=new i(t.multiSelectCommands)})),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],(function(e,t,n){var i=e("./range_list").RangeList,o=e("./range").Range,r=e("./selection").Selection,s=e("./mouse/multi_select_handler").onMouseDown,a=e("./lib/event"),l=e("./lib/lang"),c=e("./commands/multi_select_commands");t.commands=c.defaultCommands.concat(c.multiSelectCommands);var h=new(0,e("./search").Search),u=e("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(u.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(e,t){if(e){if(!this.inMultiSelectMode&&0===this.rangeCount){var n=this.toOrientedRange();if(this.rangeList.add(n),this.rangeList.add(e),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),t||this.fromOrientedRange(e);this.rangeList.removeAll(),this.rangeList.add(n),this.$onAddRange(n)}e.cursor||(e.cursor=e.end);var i=this.rangeList.add(e);return this.$onAddRange(e),i.length&&this.$onRemoveRange(i),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),t||this.fromOrientedRange(e)}},this.toSingleRange=function(e){e=e||this.ranges[0];var t=this.rangeList.removeAll();t.length&&this.$onRemoveRange(t),e&&this.fromOrientedRange(e)},this.substractPoint=function(e){var t=this.rangeList.substractPoint(e);if(t)return this.$onRemoveRange(t),t[0]},this.mergeOverlappingRanges=function(){var e=this.rangeList.merge();e.length&&this.$onRemoveRange(e)},this.$onAddRange=function(e){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(e),this._signal("addRange",{range:e})},this.$onRemoveRange=function(e){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var t=this.rangeList.ranges.pop();e.push(t),this.rangeCount=0}for(var n=e.length;n--;){var i=this.ranges.indexOf(e[n]);this.ranges.splice(i,1)}this._signal("removeRange",{ranges:e}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(t=t||this.ranges[0])&&!t.isEqual(this.getRange())&&this.fromOrientedRange(t)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new i,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var e=this.ranges.length?this.ranges:[this.getRange()],t=[],n=0;n1){var e=this.rangeList.ranges,t=e[e.length-1],n=o.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{var i=this.session.documentToScreenPosition(this.cursor),r=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(i,r).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(e,t,n){var i=[],r=e.column0;)v--;if(v>0)for(var w=0;i[w].isEmpty();)w++;for(var b=v;b>=w;b--)i[b].isEmpty()&&i.splice(b,1)}return i}}.call(r.prototype);var d=e("./editor").Editor;function g(e){e.$multiselectOnSessionChange||(e.$onAddRange=e.$onAddRange.bind(e),e.$onRemoveRange=e.$onRemoveRange.bind(e),e.$onMultiSelect=e.$onMultiSelect.bind(e),e.$onSingleSelect=e.$onSingleSelect.bind(e),e.$multiselectOnSessionChange=t.onSessionChange.bind(e),e.$checkMultiselectChange=e.$checkMultiselectChange.bind(e),e.$multiselectOnSessionChange(e),e.on("changeSession",e.$multiselectOnSessionChange),e.on("mousedown",s),e.commands.addCommands(c.defaultCommands),function(e){if(e.textInput){var t=e.textInput.getElement(),n=!1;a.addListener(t,"keydown",(function(t){var o=18==t.keyCode&&!(t.ctrlKey||t.shiftKey||t.metaKey);e.$blockSelectEnabled&&o?n||(e.renderer.setMouseCursor("crosshair"),n=!0):n&&i()}),e),a.addListener(t,"keyup",i,e),a.addListener(t,"blur",i,e)}function i(t){n&&(e.renderer.setMouseCursor(""),n=!1)}}(e))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(e){e.cursor||(e.cursor=e.end);var t=this.getSelectionStyle();return e.marker=this.session.addMarker(e,"ace_selection",t),this.session.$selectionMarkers.push(e),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,e},this.removeSelectionMarker=function(e){if(e.marker){this.session.removeMarker(e.marker);var t=this.session.$selectionMarkers.indexOf(e);-1!=t&&this.session.$selectionMarkers.splice(t,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(e){for(var t=this.session.$selectionMarkers,n=e.length;n--;){var i=e[n];if(i.marker){this.session.removeMarker(i.marker);var o=t.indexOf(i);-1!=o&&t.splice(o,1)}}this.session.selectionMarkerCount=t.length},this.$onAddRange=function(e){this.addSelectionMarker(e.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(e){this.removeSelectionMarkers(e.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(e){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(c.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(e){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(c.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(e){var t=e.command,n=e.editor;if(n.multiSelect){if(t.multiSelectAction)"forEach"==t.multiSelectAction?i=n.forEachSelection(t,e.args):"forEachLine"==t.multiSelectAction?i=n.forEachSelection(t,e.args,!0):"single"==t.multiSelectAction?(n.exitMultiSelectMode(),i=t.exec(n,e.args||{})):i=t.multiSelectAction(n,e.args||{});else{var i=t.exec(n,e.args||{});n.multiSelect.addRange(n.multiSelect.toOrientedRange()),n.multiSelect.mergeOverlappingRanges()}return i}},this.forEachSelection=function(e,t,n){if(!this.inVirtualSelectionMode){var i,o=n&&n.keepOrder,s=1==n||n&&n.$byLines,a=this.session,l=this.selection,c=l.rangeList,h=(o?l:c).ranges;if(!h.length)return e.exec?e.exec(this,t||{}):e(this,t||{});var u=l._eventRegistry;l._eventRegistry={};var d=new r(a);this.inVirtualSelectionMode=!0;for(var g=h.length;g--;){if(s)for(;g>0&&h[g].start.row==h[g-1].end.row;)g--;d.fromOrientedRange(h[g]),d.index=g,this.selection=a.selection=d;var p=e.exec?e.exec(this,t||{}):e(this,t||{});i||void 0===p||(i=p),d.toOrientedRange(h[g])}d.detach(),this.selection=a.selection=l,this.inVirtualSelectionMode=!1,l._eventRegistry=u,l.mergeOverlappingRanges(),l.ranges[0]&&l.fromOrientedRange(l.ranges[0]);var f=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),f&&f.from==f.to&&this.renderer.animateScrolling(f.from),i}},this.exitMultiSelectMode=function(){this.inMultiSelectMode&&!this.inVirtualSelectionMode&&this.multiSelect.toSingleRange()},this.getSelectedText=function(){var e="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var t=this.multiSelect.rangeList.ranges,n=[],i=0;is&&(s=n.column),ih?e.insert(i,l.stringRepeat(" ",r-h)):e.remove(new o(i.row,i.column,i.row,i.column-r+h)),t.start.column=t.end.column=s,t.start.row=t.end.row=i.row,t.cursor=t.end})),t.fromOrientedRange(n[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var h=this.selection.getRange(),u=h.start.row,d=h.end.row,g=u==d;if(g){var p,f=this.session.getLength();do{p=this.session.getLine(d)}while(/[=:]/.test(p)&&++d0);u<0&&(u=0),d>=f&&(d=f-1)}var m=this.session.removeFullLines(u,d);m=this.$reAlignText(m,g),this.session.insert({row:u,column:0},m.join("\n")+"\n"),g||(h.start.column=0,h.end.column=m[m.length-1].length),this.selection.setRange(h)}},this.$reAlignText=function(e,t){var n,i,o,r=!0,s=!0;return e.map((function(e){var t=e.match(/(\s*)(.*?)(\s*)([=:].*)/);return t?null==n?(n=t[1].length,i=t[2].length,o=t[3].length,t):(n+i+o!=t[1].length+t[2].length+t[3].length&&(s=!1),n!=t[1].length&&(r=!1),n>t[1].length&&(n=t[1].length),it[3].length&&(o=t[3].length),t):[e]})).map(t?c:r?s?function(e){return e[2]?a(n+i-e[2].length)+e[2]+a(o)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}:c:function(e){return e[2]?a(n)+e[2]+a(o)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]});function a(e){return l.stringRepeat(" ",e)}function c(e){return e[2]?a(n)+e[2]+a(i-e[2].length+o)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}}}).call(d.prototype),t.onSessionChange=function(e){var t=e.session;t&&!t.multiSelect&&(t.$selectionMarkers=[],t.selection.$initRangeList(),t.multiSelect=t.selection),this.multiSelect=t&&t.multiSelect;var n=e.oldSession;n&&(n.multiSelect.off("addRange",this.$onAddRange),n.multiSelect.off("removeRange",this.$onRemoveRange),n.multiSelect.off("multiSelect",this.$onMultiSelect),n.multiSelect.off("singleSelect",this.$onSingleSelect),n.multiSelect.lead.off("change",this.$checkMultiselectChange),n.multiSelect.anchor.off("change",this.$checkMultiselectChange)),t&&(t.multiSelect.on("addRange",this.$onAddRange),t.multiSelect.on("removeRange",this.$onRemoveRange),t.multiSelect.on("multiSelect",this.$onMultiSelect),t.multiSelect.on("singleSelect",this.$onSingleSelect),t.multiSelect.lead.on("change",this.$checkMultiselectChange),t.multiSelect.anchor.on("change",this.$checkMultiselectChange)),t&&this.inMultiSelectMode!=t.selection.inMultiSelectMode&&(t.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},t.MultiSelect=g,e("./config").defineOptions(d.prototype,"editor",{enableMultiselect:{set:function(e){g(this),e?this.on("mousedown",s):this.off("mousedown",s)},value:!0},enableBlockSelect:{set:function(e){this.$blockSelectEnabled=e},value:!0}})})),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],(function(e,t,n){var i=e("../../range").Range,o=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(e,t,n){var i=e.getLine(n);return this.foldingStartMarker.test(i)?"start":"markbeginend"==t&&this.foldingStopMarker&&this.foldingStopMarker.test(i)?"end":""},this.getFoldWidgetRange=function(e,t,n){return null},this.indentationBlock=function(e,t,n){var o=/\S/,r=e.getLine(t),s=r.search(o);if(-1!=s){for(var a=n||r.length,l=e.getLength(),c=t,h=t;++tc){var g=e.getLine(h).length;return new i(c,a,h,g)}}},this.openingBracketBlock=function(e,t,n,o,r){var s={row:n,column:o+1},a=e.$findClosingBracket(t,s,r);if(a){var l=e.foldWidgets[a.row];return null==l&&(l=e.getFoldWidget(a.row)),"start"==l&&a.row>s.row&&(a.row--,a.column=e.getLine(a.row).length),i.fromPoints(s,a)}},this.closingBracketBlock=function(e,t,n,o,r){var s={row:n,column:o},a=e.$findOpeningBracket(t,s);if(a)return a.column++,s.column--,i.fromPoints(a,s)}}).call(o.prototype)})),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range","ace/config"],(function(e,t,n){var i=e("../line_widgets").LineWidgets,o=e("../lib/dom"),r=e("../range").Range,s=e("../config").nls;t.showErrorMarker=function(e,t){var n=e.session;n.widgetManager||(n.widgetManager=new i(n),n.widgetManager.attach(e));var a=e.getCursorPosition(),l=a.row,c=n.widgetManager.getWidgetsAtRow(l).filter((function(e){return"errorMarker"==e.type}))[0];c?c.destroy():l-=t;var h,u=function(e,t,n){var i=e.getAnnotations().sort(r.comparePoints);if(i.length){var o=function(e,t,n){for(var i=0,o=e.length-1;i<=o;){var r=i+o>>1,s=n(t,e[r]);if(s>0)i=r+1;else{if(!(s<0))return r;o=r-1}}return-(i+1)}(i,{row:t,column:-1},r.comparePoints);o<0&&(o=-o-1),o>=i.length?o=n>0?0:i.length-1:0===o&&n<0&&(o=i.length-1);var s=i[o];if(s&&n){if(s.row===t){do{s=i[o+=n]}while(s&&s.row===t);if(!s)return i.slice()}var a=[];t=s.row;do{a[n<0?"unshift":"push"](s),s=i[o+=n]}while(s&&s.row==t);return a.length&&a}}}(n,l,t);if(u){var d=u[0];a.column=(d.pos&&"number"!=typeof d.column?d.pos.sc:d.column)||0,a.row=d.row,h=e.renderer.$gutterLayer.$annotations[a.row]}else{if(c)return;h={displayText:[s("error-marker.good-state","Looks good!")],className:"ace_ok"}}e.session.unfold(a.row),e.selection.moveToPosition(a);var g={row:a.row,fixedWidth:!0,coverGutter:!0,el:o.createElement("div"),type:"errorMarker"},p=g.el.appendChild(o.createElement("div")),f=g.el.appendChild(o.createElement("div"));f.className="error_widget_arrow "+h.className;var m=e.renderer.$cursorLayer.getPixelPosition(a).left;f.style.left=m+e.renderer.gutterWidth-5+"px",g.el.className="error_widget_wrapper",p.className="error_widget "+h.className,h.displayText.forEach((function(e,t){p.appendChild(o.createTextNode(e)),t1&&(o=n[n.length-2]);var s=l[t+"Path"];return null==s?s=l.basePath:"/"==i&&(t=i=""),s&&"/"!=s.slice(-1)&&(s+="/"),s+t+i+o+this.get("suffix")},t.setModuleUrl=function(e,t){return l.$moduleUrls[e]=t},t.setLoader=function(e){a=e},t.dynamicModules=Object.create(null),t.$loading={},t.$loaded={},t.loadModule=function(n,i){var r;if(Array.isArray(n))var s=n[0],l=n[1];else"string"==typeof n&&(l=n);var h=function(n){if(n&&!t.$loading[l])return i&&i(n);if(t.$loading[l]||(t.$loading[l]=[]),t.$loading[l].push(i),!(t.$loading[l].length>1)){var r=function(){!function(t,n){"ace/theme/textmate"===t||"./theme/textmate"===t?n(null,e("./theme/textmate")):a?a(t,n):console.error("loader is not configured")}(l,(function(e,n){n&&(t.$loaded[l]=n),t._emit("load.module",{name:l,module:n});var i=t.$loading[l];t.$loading[l]=null,i.forEach((function(e){e&&e(n)}))}))};if(!t.get("packaged"))return r();o.loadScript(t.moduleUrl(l,s),r),c()}};if(t.dynamicModules[l])t.dynamicModules[l]().then((function(e){e.default?h(e.default):h(e)}));else{try{r=this.$require(l)}catch(u){}h(r||t.$loaded[l])}},t.$require=function(e){if("function"==typeof n.require)return n.require(e)},t.setModuleLoader=function(e,n){t.dynamicModules[e]=n};var c=function(){l.basePath||l.workerPath||l.modePath||l.themePath||Object.keys(l.$moduleUrls).length||(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),c=function(){})};t.version="1.36.2"})),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],(function(e,t,n){e("./lib/fixoldbrowsers");var i=e("./config");i.setLoader((function(t,n){e([t],(function(e){n(null,e)}))}));var o=function(){return this||"undefined"!=typeof window&&window}();function r(t){if(o&&o.document){i.set("packaged",t||e.packaged||n.packaged||o.define&&(void 0).packaged);var r={},s="",a=document.currentScript||document._currentScript,l=a&&a.ownerDocument||document;a&&a.src&&(s=a.src.split(/[?#]/)[0].split("/").slice(0,-1).join("/")||"");for(var c,h=l.getElementsByTagName("script"),u=0;u ["+this.end.row+"/"+this.end.column+"]"},e.prototype.contains=function(e,t){return 0==this.compare(e,t)},e.prototype.compareRange=function(e){var t,n=e.end,i=e.start;return 1==(t=this.compare(n.row,n.column))?1==(t=this.compare(i.row,i.column))?2:0==t?1:0:-1==t?-2:-1==(t=this.compare(i.row,i.column))?-1:1==t?42:0},e.prototype.comparePoint=function(e){return this.compare(e.row,e.column)},e.prototype.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},e.prototype.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},e.prototype.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},e.prototype.isStart=function(e,t){return this.start.row==e&&this.start.column==t},e.prototype.setStart=function(e,t){"object"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},e.prototype.setEnd=function(e,t){"object"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},e.prototype.inside=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)&&!this.isStart(e,t)},e.prototype.insideStart=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)},e.prototype.insideEnd=function(e,t){return 0==this.compare(e,t)&&!this.isStart(e,t)},e.prototype.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?ethis.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:tthis.end.column?1:0},e.prototype.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},e.prototype.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},e.prototype.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},e.prototype.clipRows=function(t,n){if(this.end.row>n)var i={row:n+1,column:0};else this.end.rown)var o={row:n+1,column:0};else this.start.row1?++u>4&&(u=1):u=1,r.isIE){var s=Math.abs(e.clientX-a)>5||Math.abs(e.clientY-l)>5;c&&!s||(u=1),c&&clearTimeout(c),c=setTimeout((function(){c=null}),n[u-1]||600),1==u&&(a=e.clientX,l=e.clientY)}if(e._clicks=u,i[o]("mousedown",e),u>4)u=0;else if(u>1)return i[o](d[u],e)}Array.isArray(e)||(e=[e]),e.forEach((function(e){h(e,"mousedown",g,s)}))},t.getModifierString=function(e){return o.KEY_MODS[d(e)]},t.addCommandKeyListener=function(e,n,i){var l=null;h(e,"keydown",(function(e){s[e.keyCode]=(s[e.keyCode]||0)+1;var t=function(e,t,n){var i=d(t);if(!n&&t.code&&(n=o.$codeToKeyCode[t.code]||n),!r.isMac&&s){if(t.getModifierState&&(t.getModifierState("OS")||t.getModifierState("Win"))&&(i|=8),s.altGr){if(!(3&~i))return;s.altGr=0}if(18===n||17===n){var l=t.location;17===n&&1===l?1==s[n]&&(a=t.timeStamp):18===n&&3===i&&2===l&&t.timeStamp-a<50&&(s.altGr=!0)}}if(n in o.MODIFIER_KEYS&&(n=-1),i||13!==n||3!==t.location||(e(t,i,-n),!t.defaultPrevented)){if(r.isChromeOS&&8&i){if(e(t,i,n),t.defaultPrevented)return;i&=-9}return!!(i||n in o.FUNCTION_KEYS||n in o.PRINTABLE_KEYS)&&e(t,i,n)}}(n,e,e.keyCode);return l=e.defaultPrevented,t}),i),h(e,"keypress",(function(e){l&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),l=null)}),i),h(e,"keyup",(function(e){s[e.keyCode]=null}),i),s||(g(),h(window,"focus",g))},"object"==typeof window&&window.postMessage&&!r.isOldIE){var p=1;t.nextTick=function(e,n){n=n||window;var i="zero-timeout-message-"+p++,o=function(r){r.data==i&&(t.stopPropagation(r),u(n,"message",o),e())};h(n,"message",o),n.postMessage(i,"*")}}t.$idleBlocked=!1,t.onIdle=function(e,n){return setTimeout((function n(){t.$idleBlocked?setTimeout(n,100):e()}),n)},t.$idleBlockId=null,t.blockIdle=function(e){t.$idleBlockId&&clearTimeout(t.$idleBlockId),t.$idleBlocked=!0,t.$idleBlockId=setTimeout((function(){t.$idleBlocked=!1}),e||100)},t.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),t.nextFrame?t.nextFrame=t.nextFrame.bind(window):t.nextFrame=function(e){setTimeout(e,17)}})),ace.define("ace/clipboard",["require","exports","module"],(function(e,t,n){var i;n.exports={lineMode:!1,pasteCancelled:function(){return!!(i&&i>Date.now()-50)||(i=!1)},cancel:function(){i=Date.now()}}})),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/config","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],(function(e,t,n){var i,o=e("../lib/event"),r=e("../config").nls,s=e("../lib/useragent"),a=e("../lib/dom"),l=e("../lib/lang"),c=e("../clipboard"),h=s.isChrome<18,u=s.isIE,d=s.isChrome>63,g=400,p=e("../lib/keys"),f=p.KEY_MODS,m=s.isIOS,y=m?/\s/:/\n/,v=s.isMobile;i=function(e,t){var n=a.createElement("textarea");n.className="ace_text-input",n.setAttribute("wrap","off"),n.setAttribute("autocorrect","off"),n.setAttribute("autocapitalize","off"),n.setAttribute("spellcheck","false"),n.style.opacity="0",e.insertBefore(n,e.firstChild);var i=!1,w=!1,b=!1,$=!1,C="";v||(n.style.fontSize="1px");var S=!1,x=!1,A="",M=0,k=0,L=0,T=Number.MAX_SAFE_INTEGER,E=Number.MIN_SAFE_INTEGER,R=0;try{var _=document.activeElement===n}catch(X){}this.setNumberOfExtraLines=function(e){T=Number.MAX_SAFE_INTEGER,E=Number.MIN_SAFE_INTEGER,R=e<0?0:e},this.setAriaOptions=function(e){if(e.activeDescendant?(n.setAttribute("aria-haspopup","true"),n.setAttribute("aria-autocomplete",e.inline?"both":"list"),n.setAttribute("aria-activedescendant",e.activeDescendant)):(n.setAttribute("aria-haspopup","false"),n.setAttribute("aria-autocomplete","both"),n.removeAttribute("aria-activedescendant")),e.role&&n.setAttribute("role",e.role),e.setLabel){n.setAttribute("aria-roledescription",r("text-input.aria-roledescription","editor"));var i="";if(t.$textInputAriaLabel&&(i+="".concat(t.$textInputAriaLabel,", ")),t.session){var o=t.session.selection.cursor.row;i+=r("text-input.aria-label","Cursor at row $0",[o+1])}n.setAttribute("aria-label",i)}},this.setAriaOptions({role:"textbox"}),o.addListener(n,"blur",(function(e){x||(t.onBlur(e),_=!1)}),t),o.addListener(n,"focus",(function(e){if(!x){if(_=!0,s.isEdge)try{if(!document.hasFocus())return}catch(e){}t.onFocus(e),s.isEdge?setTimeout(D):D()}}),t),this.$focusScroll=!1,this.focus=function(){if(this.setAriaOptions({setLabel:t.renderer.enableKeyboardAccessibility}),C||d||"browser"==this.$focusScroll)return n.focus({preventScroll:!0});var e=n.style.top;n.style.position="fixed",n.style.top="0px";try{var i=0!=n.getBoundingClientRect().top}catch(X){return}var o=[];if(i)for(var r=n.parentElement;r&&1==r.nodeType;)o.push(r),r.setAttribute("ace_nocontext","true"),r=!r.parentElement&&r.getRootNode?r.getRootNode().host:r.parentElement;n.focus({preventScroll:!0}),i&&o.forEach((function(e){e.removeAttribute("ace_nocontext")})),setTimeout((function(){n.style.position="","0px"==n.style.top&&(n.style.top=e)}),0)},this.blur=function(){n.blur()},this.isFocused=function(){return _},t.on("beforeEndOperation",(function(){var e=t.curOp,i=e&&e.command&&e.command.name;if("insertstring"!=i){var o=i&&(e.docChanged||e.selectionChanged);b&&o&&(A=n.value="",V()),D()}}));var I=function(e,n){for(var i=n,o=1;o<=e-T&&o<2*R+1;o++)i+=t.session.getLine(e-o).length+1;return i},D=m?function(e){if(_&&(!i||e)&&!$){e||(e="");var o="\n ab"+e+"cde fg\n";o!=n.value&&(n.value=A=o);var r=4+(e.length||(t.selection.isEmpty()?0:1));4==M&&k==r||n.setSelectionRange(4,r),M=4,k=r}}:function(){if(!b&&!$&&(_||O)){b=!0;var e=0,i=0,o="";if(t.session){var r=t.selection,s=r.getRange(),a=r.cursor.row;a===E+1?E=(T=E+1)+2*R:a===T-1?T=(E=T-1)-2*R:(aE+1)&&(T=a>R?a-R:0,E=a>R?a+R:2*R);for(var l=[],c=T;c<=E;c++)l.push(t.session.getLine(c));if(o=l.join("\n"),e=I(s.start.row,s.start.column),i=I(s.end.row,s.end.column),s.start.rowE){var u=t.session.getLine(E+1);i=s.end.row>E+1?u.length:s.end.column,i+=o.length+1,o=o+"\n"+u}else v&&a>0&&(o="\n"+o,i+=1,e+=1);o.length>g&&(e0&&A[d]==e[d];)d++,a--;for(c=c.slice(d),d=1;l>0&&A.length-d>M-1&&A[A.length-d]==e[e.length-d];)d++,l--;h-=d-1,u-=d-1;var g=c.length-d+1;if(g<0&&(a=-g,g=0),c=c.slice(0,g),!(i||c||h||a||l||u))return"";$=!0;var p=!1;return s.isAndroid&&". "==c&&(c=" ",p=!0),c&&!a&&!l&&!h&&!u||S?t.onTextInput(c):t.onTextInput(c,{extendLeft:a,extendRight:l,restoreStart:h,restoreEnd:u}),$=!1,A=e,M=o,k=r,L=u,p?"\n":c},F=function(e){if(b)return U();if(e&&e.inputType){if("historyUndo"==e.inputType)return t.execCommand("undo");if("historyRedo"==e.inputType)return t.execCommand("redo")}var i=n.value,o=W(i,!0);(i.length>500||y.test(o)||v&&M<1&&M==k)&&D()},z=function(e,t,n){var i=e.clipboardData||window.clipboardData;if(i&&!h){var o=u||n?"Text":"text/plain";try{return t?!1!==i.setData(o,t):i.getData(o)}catch(e){if(!n)return z(e,t,!0)}}},H=function(e,r){var s=t.getCopyText();if(!s)return o.preventDefault(e);z(e,s)?(m&&(D(s),i=s,setTimeout((function(){i=!1}),10)),r?t.onCut():t.onCopy(),o.preventDefault(e)):(i=!0,n.value=s,n.select(),setTimeout((function(){i=!1,D(),r?t.onCut():t.onCopy()})))},B=function(e){H(e,!0)},P=function(e){H(e,!1)},j=function(e){var i=z(e);c.pasteCancelled()||("string"==typeof i?(i&&t.onPaste(i,e),s.isIE&&setTimeout(D),o.preventDefault(e)):(n.value="",w=!0))};o.addCommandKeyListener(n,(function(e,n,i){if(!b)return t.onCommandKey(e,n,i)}),t),o.addListener(n,"select",(function(e){b||(i?i=!1:function(e){return 0===e.selectionStart&&e.selectionEnd>=A.length&&e.value===A&&A&&e.selectionEnd!==k}(n)?(t.selectAll(),D()):v&&n.selectionStart!=M&&D())}),t),o.addListener(n,"input",F,t),o.addListener(n,"cut",B,t),o.addListener(n,"copy",P,t),o.addListener(n,"paste",j,t),"oncut"in n&&"oncopy"in n&&"onpaste"in n||o.addListener(e,"keydown",(function(e){if((!s.isMac||e.metaKey)&&e.ctrlKey)switch(e.keyCode){case 67:P(e);break;case 86:j(e);break;case 88:B(e)}}),t);var U=function(){if(b&&t.onCompositionUpdate&&!t.$readOnly){if(S)return G();if(b.useTextareaForIME)t.onCompositionUpdate(n.value);else{var e=n.value;W(e),b.markerRange&&(b.context&&(b.markerRange.start.column=b.selectionStart=b.context.compositionStartOffset),b.markerRange.end.column=b.markerRange.start.column+k-b.selectionStart+L)}}},V=function(e){t.onCompositionEnd&&!t.$readOnly&&(b=!1,t.onCompositionEnd(),t.off("mousedown",G),e&&F())};function G(){x=!0,n.blur(),n.focus(),x=!1}var K,Y=l.delayedCall(U,50).schedule.bind(null,null);function Q(){clearTimeout(K),K=setTimeout((function(){C&&(n.style.cssText=C,C=""),t.renderer.$isMousePressed=!1,t.renderer.$keepTextAreaAtCursor&&t.renderer.$moveTextAreaToCursor()}),0)}o.addListener(n,"compositionstart",(function(e){if(!b&&t.onCompositionStart&&!t.$readOnly&&(b={},!S)){e.data&&(b.useTextareaForIME=!1),setTimeout(U,0),t._signal("compositionStart"),t.on("mousedown",G);var i=t.getSelectionRange();i.end.row=i.start.row,i.end.column=i.start.column,b.markerRange=i,b.selectionStart=M,t.onCompositionStart(b),b.useTextareaForIME?(A=n.value="",M=0,k=0):(n.msGetInputContext&&(b.context=n.msGetInputContext()),n.getInputContext&&(b.context=n.getInputContext()))}}),t),o.addListener(n,"compositionupdate",U,t),o.addListener(n,"keyup",(function(e){27==e.keyCode&&n.value.lengthk&&"\n"==A[s]?a=p.end:ok&&A.slice(0,s).split("\n").length>2?a=p.down:s>k&&" "==A[s-1]?(a=p.right,l=f.option):(s>k||s==k&&k!=M&&o==s)&&(a=p.right),o!==s&&(l|=f.shift),a){if(!t.onCommandKey({},l,a)&&t.commands){a=p.keyCodeToString(a);var c=t.commands.findKeyCommand(l,a);c&&t.execCommand(c)}M=o,k=s,D("")}}};document.addEventListener("selectionchange",s),t.on("destroy",(function(){document.removeEventListener("selectionchange",s)}))}(0,t,n),this.destroy=function(){n.parentElement&&n.parentElement.removeChild(n)}},t.TextInput=i,t.$setUserAgentForTests=function(e,t){v=e,m=t}})),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],(function(e,t,n){var i=e("../lib/useragent"),o=function(){function e(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach((function(t){e[t]=this[t]}),this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}return e.prototype.onMouseDown=function(e){var t=e.inSelection(),n=e.getDocumentPosition();this.mousedownEvent=e;var o=this.editor,r=e.getButton();return 0!==r?((o.getSelectionRange().isEmpty()||1==r)&&o.selection.moveToPosition(n),void(2==r&&(o.textInput.onContextMenu(e.domEvent),i.isMozilla||e.preventDefault()))):(this.mousedownEvent.time=Date.now(),!t||o.isFocused()||(o.focus(),!this.$focusTimeout||this.$clickSelection||o.inMultiSelectMode)?(this.captureMouse(e),this.startSelect(n,e.domEvent._clicks>1),e.preventDefault()):(this.setState("focusWait"),void this.captureMouse(e)))},e.prototype.startSelect=function(e,t){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var n=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?n.selection.selectToPosition(e):t||n.selection.moveToPosition(e),t||this.select(),n.setStyle("ace_selecting"),this.setState("select"))},e.prototype.select=function(){var e,t=this.editor,n=t.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var i=this.$clickSelection.comparePoint(n);if(-1==i)e=this.$clickSelection.end;else if(1==i)e=this.$clickSelection.start;else{var o=r(this.$clickSelection,n);n=o.cursor,e=o.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(n),t.renderer.scrollCursorIntoView()},e.prototype.extendSelectionBy=function(e){var t,n=this.editor,i=n.renderer.screenToTextCoordinates(this.x,this.y),o=n.selection[e](i.row,i.column);if(this.$clickSelection){var s=this.$clickSelection.comparePoint(o.start),a=this.$clickSelection.comparePoint(o.end);if(-1==s&&a<=0)t=this.$clickSelection.end,o.end.row==i.row&&o.end.column==i.column||(i=o.start);else if(1==a&&s>=0)t=this.$clickSelection.start,o.start.row==i.row&&o.start.column==i.column||(i=o.end);else if(-1==s&&1==a)i=o.end,t=o.start;else{var l=r(this.$clickSelection,i);i=l.cursor,t=l.anchor}n.selection.setSelectionAnchor(t.row,t.column)}n.selection.selectToPosition(i),n.renderer.scrollCursorIntoView()},e.prototype.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting")},e.prototype.focusWait=function(){var e,t,n,i,o=(e=this.mousedownEvent.x,t=this.mousedownEvent.y,n=this.x,i=this.y,Math.sqrt(Math.pow(n-e,2)+Math.pow(i-t,2))),r=Date.now();(o>0||r-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},e.prototype.onDoubleClick=function(e){var t=e.getDocumentPosition(),n=this.editor,i=n.session.getBracketRange(t);i?(i.isEmpty()&&(i.start.column--,i.end.column++),this.setState("select")):(i=n.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=i,this.select()},e.prototype.onTripleClick=function(e){var t=e.getDocumentPosition(),n=this.editor;this.setState("selectByLines");var i=n.getSelectionRange();i.isMultiLine()&&i.contains(t.row,t.column)?(this.$clickSelection=n.selection.getLineRange(i.start.row),this.$clickSelection.end=n.selection.getLineRange(i.end.row).end):this.$clickSelection=n.selection.getLineRange(t.row),this.select()},e.prototype.onQuadClick=function(e){var t=this.editor;t.selectAll(),this.$clickSelection=t.getSelectionRange(),this.setState("selectAll")},e.prototype.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var t=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var n=this.$lastScroll,i=e.domEvent.timeStamp,o=i-n.t,r=o?e.wheelX/o:n.vx,s=o?e.wheelY/o:n.vy;o<550&&(r=(r+n.vx)/2,s=(s+n.vy)/2);var a=Math.abs(r/s),l=!1;return a>=1&&t.renderer.isScrollableBy(e.wheelX*e.speed,0)&&(l=!0),a<=1&&t.renderer.isScrollableBy(0,e.wheelY*e.speed)&&(l=!0),l?n.allowed=i:i-n.allowed<550&&(Math.abs(r)<=1.5*Math.abs(n.vx)&&Math.abs(s)<=1.5*Math.abs(n.vy)?(l=!0,n.allowed=i):n.allowed=0),n.t=i,n.vx=r,n.vy=s,l?(t.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()):void 0}},e}();function r(e,t){if(e.start.row==e.end.row)var n=2*t.column-e.start.column-e.end.column;else if(e.start.row!=e.end.row-1||e.start.column||e.end.column)n=2*t.row-e.start.row-e.end.row;else var n=t.column-4;return n<0?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}}o.prototype.selectEnd=o.prototype.selectByLinesEnd,o.prototype.selectAllEnd=o.prototype.selectByLinesEnd,o.prototype.selectByWordsEnd=o.prototype.selectByLinesEnd,t.DefaultHandlers=o})),ace.define("ace/lib/scroll",["require","exports","module"],(function(e,t,n){t.preventParentScroll=function(e){e.stopPropagation();var t=e.currentTarget;t.scrollHeight>t.clientHeight||e.preventDefault()}})),ace.define("ace/tooltip",["require","exports","module","ace/lib/dom","ace/lib/event","ace/range","ace/lib/scroll"],(function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=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])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},s=e("./lib/dom");e("./lib/event");var a=e("./range").Range,l=e("./lib/scroll").preventParentScroll,c="ace_tooltip",h=function(){function e(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}return e.prototype.$init=function(){return this.$element=s.createElement("div"),this.$element.className=c,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},e.prototype.getElement=function(){return this.$element||this.$init()},e.prototype.setText=function(e){this.getElement().textContent=e},e.prototype.setHtml=function(e){this.getElement().innerHTML=e},e.prototype.setPosition=function(e,t){this.getElement().style.left=e+"px",this.getElement().style.top=t+"px"},e.prototype.setClassName=function(e){s.addCssClass(this.getElement(),e)},e.prototype.setTheme=function(e){this.$element.className=c+" "+(e.isDark?"ace_dark ":"")+(e.cssClass||"")},e.prototype.show=function(e,t,n){null!=e&&this.setText(e),null!=t&&null!=n&&this.setPosition(t,n),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},e.prototype.hide=function(e){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=c,this.isOpen=!1)},e.prototype.getHeight=function(){return this.getElement().offsetHeight},e.prototype.getWidth=function(){return this.getElement().offsetWidth},e.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},e}(),u=new(function(){function e(){this.popups=[]}return e.prototype.addPopup=function(e){this.popups.push(e),this.updatePopups()},e.prototype.removePopup=function(e){var t=this.popups.indexOf(e);-1!==t&&(this.popups.splice(t,1),this.updatePopups())},e.prototype.updatePopups=function(){var e,t,n,i;this.popups.sort((function(e,t){return t.priority-e.priority}));var o=[];try{for(var s=r(this.popups),a=s.next();!a.done;a=s.next()){var l=a.value,c=!0;try{for(var h=(n=void 0,r(o)),u=h.next();!u.done;u=h.next()){var d=u.value;if(this.doPopupsOverlap(d,l)){c=!1;break}}}catch(g){n={error:g}}finally{try{u&&!u.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}c?o.push(l):l.hide()}}catch(p){e={error:p}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}},e.prototype.doPopupsOverlap=function(e,t){var n=e.getElement().getBoundingClientRect(),i=t.getElement().getBoundingClientRect();return n.lefti.left&&n.topi.top},e}());t.popupManager=u,t.Tooltip=h;var d=function(e){function t(t){void 0===t&&(t=document.body);var n=e.call(this,t)||this;n.timeout=void 0,n.lastT=0,n.idleTime=350,n.lastEvent=void 0,n.onMouseOut=n.onMouseOut.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.waitForHover=n.waitForHover.bind(n),n.hide=n.hide.bind(n);var i=n.getElement();return i.style.whiteSpace="pre-wrap",i.style.pointerEvents="auto",i.addEventListener("mouseout",n.onMouseOut),i.tabIndex=-1,i.addEventListener("blur",function(){i.contains(document.activeElement)||this.hide()}.bind(n)),i.addEventListener("wheel",l),n}return o(t,e),t.prototype.addToEditor=function(e){e.on("mousemove",this.onMouseMove),e.on("mousedown",this.hide),e.renderer.getMouseEventTarget().addEventListener("mouseout",this.onMouseOut,!0)},t.prototype.removeFromEditor=function(e){e.off("mousemove",this.onMouseMove),e.off("mousedown",this.hide),e.renderer.getMouseEventTarget().removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},t.prototype.onMouseMove=function(e,t){this.lastEvent=e,this.lastT=Date.now();var n=t.$mouseHandler.isMousePressed;if(this.isOpen){var i=this.lastEvent&&this.lastEvent.getDocumentPosition();this.range&&this.range.contains(i.row,i.column)&&!n&&!this.isOutsideOfText(this.lastEvent)||this.hide()}this.timeout||n||(this.lastEvent=e,this.timeout=setTimeout(this.waitForHover,this.idleTime))},t.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var e=Date.now()-this.lastT;this.idleTime-e>10?this.timeout=setTimeout(this.waitForHover,this.idleTime-e):(this.timeout=null,this.lastEvent&&!this.isOutsideOfText(this.lastEvent)&&this.$gatherData(this.lastEvent,this.lastEvent.editor))},t.prototype.isOutsideOfText=function(e){var t=e.editor,n=e.getDocumentPosition(),i=t.session.getLine(n.row);if(n.column==i.length){var o=t.renderer.pixelToScreenCoordinates(e.clientX,e.clientY),r=t.session.documentToScreenPosition(n.row,n.column);if(r.column!=o.column||r.row!=o.row)return!0}return!1},t.prototype.setDataProvider=function(e){this.$gatherData=e},t.prototype.showForRange=function(e,t,n,i){if(!(i&&i!=this.lastEvent||this.isOpen&&document.activeElement==this.getElement())){var o=e.renderer;this.isOpen||(u.addPopup(this),this.$registerCloseEvents(),this.setTheme(o.theme)),this.isOpen=!0,this.addMarker(t,e.session),this.range=a.fromPoints(t.start,t.end);var r=o.textToScreenCoordinates(t.start.row,t.start.column),s=o.scroller.getBoundingClientRect();r.pageX=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},s=e("../lib/dom"),a=e("../lib/event"),l=e("../tooltip").Tooltip,c=e("../config").nls;e("../lib/lang"),t.GutterHandler=function(e){var t,n,i=e.editor,o=i.renderer.$gutterLayer,r=new h(i);function l(){t&&(t=clearTimeout(t)),r.isOpen&&(r.hideTooltip(),i.off("mousewheel",l))}function c(e){r.setPosition(e.x,e.y)}e.editor.setDefaultHandler("guttermousedown",(function(t){if(i.isFocused()&&0==t.getButton()&&"foldWidgets"!=o.getRegion(t)){var n=t.getDocumentPosition().row,r=i.session.selection;if(t.getShiftKey())r.selectTo(n,0);else{if(2==t.domEvent.detail)return i.selectAll(),t.preventDefault();e.$clickSelection=i.selection.getLineRange(n)}return e.setState("selectByLines"),e.captureMouse(t),t.preventDefault()}})),e.editor.setDefaultHandler("guttermousemove",(function(a){var h=a.domEvent.target||a.domEvent.srcElement;if(s.hasCssClass(h,"ace_fold-widget"))return l();r.isOpen&&e.$tooltipFollowsMouse&&c(a),n=a,t||(t=setTimeout((function(){t=null,n&&!e.isMousePressed?function(){var t=n.getDocumentPosition().row;if(t==i.session.getLength()){var s=i.renderer.pixelToScreenCoordinates(0,n.y).row,a=n.$pos;if(s>i.session.documentToScreenRow(a.row,a.column))return l()}if(r.showTooltip(t),r.isOpen)if(i.on("mousewheel",l),e.$tooltipFollowsMouse)c(n);else{var h=n.getGutterRow(),u=o.$lines.get(h);if(u){var d=u.element.querySelector(".ace_gutter_annotation").getBoundingClientRect(),g=r.getElement().style;g.left=d.right+"px",g.top=d.bottom+"px"}else c(n)}}():l()}),50))})),a.addListener(i.renderer.$gutter,"mouseout",(function(e){n=null,r.isOpen&&!t&&(t=setTimeout((function(){t=null,l()}),50))}),i),i.on("changeSession",l),i.on("input",l)};var h=function(e){function t(t){var n=e.call(this,t.container)||this;return n.editor=t,n}return o(t,e),t.prototype.setPosition=function(e,t){var n=window.innerWidth||document.documentElement.clientWidth,i=window.innerHeight||document.documentElement.clientHeight,o=this.getWidth(),r=this.getHeight();(e+=15)+o>n&&(e-=e+o-n),(t+=15)+r>i&&(t-=20+r),l.prototype.setPosition.call(this,e,t)},Object.defineProperty(t,"annotationLabels",{get:function(){return{error:{singular:c("gutter-tooltip.aria-label.error.singular","error"),plural:c("gutter-tooltip.aria-label.error.plural","errors")},security:{singular:c("gutter-tooltip.aria-label.security.singular","security finding"),plural:c("gutter-tooltip.aria-label.security.plural","security findings")},warning:{singular:c("gutter-tooltip.aria-label.warning.singular","warning"),plural:c("gutter-tooltip.aria-label.warning.plural","warnings")},info:{singular:c("gutter-tooltip.aria-label.info.singular","information message"),plural:c("gutter-tooltip.aria-label.info.plural","information messages")},hint:{singular:c("gutter-tooltip.aria-label.hint.singular","suggestion"),plural:c("gutter-tooltip.aria-label.hint.plural","suggestions")}}},enumerable:!1,configurable:!0}),t.prototype.showTooltip=function(e){var n,i,o=this.editor.renderer.$gutterLayer,r=o.$annotations[e];i=r?{displayText:Array.from(r.displayText),type:Array.from(r.type)}:{displayText:[],type:[]};var a=o.session.getFoldLine(e);if(a&&o.$showFoldedAnnotations){for(var l,c={error:[],security:[],warning:[],info:[],hint:[]},h={error:1,security:2,warning:3,info:4,hint:5},u=e+1;u<=a.end.row;u++)if(o.$annotations[u])for(var d=0;d5?m=null:i-m>=200&&(t.renderer.scrollCursorIntoView(),m=null)})(d=t.renderer.screenToTextCoordinates(l,c),e),function(e,n){var i=Date.now(),o=t.renderer.layerConfig.lineHeight,r=t.renderer.layerConfig.characterWidth,s=t.renderer.scroller.getBoundingClientRect(),a={x:{left:l-s.left,right:s.right-l},y:{top:c-s.top,bottom:s.bottom-c}},h=Math.min(a.x.left,a.x.right),u=Math.min(a.y.top,a.y.bottom),d={row:e.row,column:e.column};h/r<=2&&(d.column+=a.x.left=200&&t.renderer.scrollCursorIntoView(d):f=i:f=null}(d,e)}function $(){u=t.selection.toOrientedRange(),s=t.session.addMarker(u,"ace_selection",t.getSelectionStyle()),t.clearSelection(),t.isFocused()&&t.renderer.$cursorLayer.setBlinking(!1),clearInterval(h),b(),h=setInterval(b,20),w=0,o.addListener(document,"mousemove",x)}function C(){clearInterval(h),t.session.removeMarker(s),s=null,t.selection.fromOrientedRange(u),t.isFocused()&&!p&&t.$resetCursorStyle(),u=null,d=null,w=0,f=null,m=null,o.removeListener(document,"mousemove",x)}this.onDragStart=function(e){if(this.cancelDrag||!v.draggable){var i=this;return setTimeout((function(){i.startSelect(),i.captureMouse(e)}),0),e.preventDefault()}u=t.getSelectionRange();var o=e.dataTransfer;o.effectAllowed=t.getReadOnly()?"copy":"copyMove",t.container.appendChild(n),o.setDragImage&&o.setDragImage(n,0,0),setTimeout((function(){t.container.removeChild(n)})),o.clearData(),o.setData("Text",t.session.getTextRange()),p=!0,this.setState("drag")},this.onDragEnd=function(e){if(v.draggable=!1,p=!1,this.setState(null),!t.getReadOnly()){var n=e.dataTransfer.dropEffect;g||"move"!=n||t.session.remove(t.getSelectionRange()),t.$resetCursorStyle()}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(e){if(!t.getReadOnly()&&A(e.dataTransfer))return l=e.clientX,c=e.clientY,s||$(),w++,e.dataTransfer.dropEffect=g=M(e),o.preventDefault(e)},this.onDragOver=function(e){if(!t.getReadOnly()&&A(e.dataTransfer))return l=e.clientX,c=e.clientY,s||($(),w++),null!==S&&(S=null),e.dataTransfer.dropEffect=g=M(e),o.preventDefault(e)},this.onDragLeave=function(e){if(--w<=0&&s)return C(),g=null,o.preventDefault(e)},this.onDrop=function(e){if(d){var n=e.dataTransfer;if(p)switch(g){case"move":u=u.contains(d.row,d.column)?{start:d,end:d}:t.moveText(u,d);break;case"copy":u=t.moveText(u,d,!0)}else{var i=n.getData("Text");u={start:d,end:t.session.insert(d,i)},t.focus(),g=null}return C(),o.preventDefault(e)}},o.addListener(v,"dragstart",this.onDragStart.bind(e),t),o.addListener(v,"dragend",this.onDragEnd.bind(e),t),o.addListener(v,"dragenter",this.onDragEnter.bind(e),t),o.addListener(v,"dragover",this.onDragOver.bind(e),t),o.addListener(v,"dragleave",this.onDragLeave.bind(e),t),o.addListener(v,"drop",this.onDrop.bind(e),t);var S=null;function x(){null==S&&(S=setTimeout((function(){null!=S&&s&&C()}),20))}function A(e){var t=e.types;return!t||Array.prototype.some.call(t,(function(e){return"text/plain"==e||"Text"==e}))}function M(e){var t=["copy","copymove","all","uninitialized"],n=r.isMac?e.altKey:e.ctrlKey,i="uninitialized";try{i=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var o="none";return n&&t.indexOf(i)>=0?o="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(i)>=0?o="move":t.indexOf(i)>=0&&(o="copy"),o}}function a(e,t,n,i){return Math.sqrt(Math.pow(n-e,2)+Math.pow(i-t,2))}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(e){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor;e.container.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle("ace_dragging");var t=r.isWin?"default":"move";e.renderer.setCursorStyle(t),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;r.isIE&&"dragReady"==this.state&&a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&t.dragDrop(),"dragWait"===this.state&&a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))},this.onMouseDown=function(e){if(this.$dragEnabled){this.mousedownEvent=e;var t=this.editor,n=e.inSelection(),i=e.getButton();if(1===(e.domEvent.detail||1)&&0===i&&n){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var o=e.domEvent.target||e.domEvent.srcElement;"unselectable"in o&&(o.unselectable="on"),t.getDragDelay()?(r.isWebKit&&(this.cancelDrag=!0,t.container.draggable=!0),this.setState("dragWait")):this.startDrag(),this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(s.prototype),t.DragdropHandler=s})),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],(function(e,t,n){var i=e("./mouse_event").MouseEvent,o=e("../lib/event"),r=e("../lib/dom");t.addTouchListeners=function(e,t){var n,s,a,l,c,h,u,d,g,p="scroll",f=0,m=0,y=0,v=0;function w(){var e=window.navigator&&window.navigator.clipboard,n=!1,i=function(e){return t.commands.canExecute(e,t)},o=function(o){var s,a,l=o.target.getAttribute("action");if("more"==l||!n)return n=!n,s=t.getCopyText(),a=t.session.getUndoManager().hasUndo(),void g.replaceChild(r.buildDom(n?["span",!s&&i("selectall")&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],s&&i("copy")&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],s&&i("cut")&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],e&&i("paste")&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],a&&i("undo")&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],i("find")&&["span",{class:"ace_mobile-button",action:"find"},"Find"],i("openCommandPalette")&&["span",{class:"ace_mobile-button",action:"openCommandPalette"},"Palette"]]:["span"]),g.firstChild);"paste"==l?e.readText().then((function(e){t.execCommand(l,e)})):l&&("cut"!=l&&"copy"!=l||(e?e.writeText(t.getCopyText()):document.execCommand("copy")),t.execCommand(l)),g.firstChild.style.display="none",n=!1,"openCommandPalette"!=l&&t.focus()};g=r.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(e){p="menu",e.stopPropagation(),e.preventDefault(),t.textInput.focus()},ontouchend:function(e){e.stopPropagation(),e.preventDefault(),o(e)},onclick:o},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],t.container)}function b(){if(t.getOption("enableMobileMenu")){g||w();var e=t.selection.cursor,n=t.renderer.textToScreenCoordinates(e.row,e.column),i=t.renderer.textToScreenCoordinates(0,0).pageX,o=t.renderer.scrollLeft,r=t.container.getBoundingClientRect();g.style.top=n.pageY-r.top-3+"px",n.pageX-r.left1)return clearTimeout(c),c=null,a=-1,void(p="zoom");d=t.$mouseHandler.isMousePressed=!0;var r=t.renderer.layerConfig.lineHeight,h=t.renderer.layerConfig.lineHeight,g=e.timeStamp;l=g;var w=o[0],b=w.clientX,$=w.clientY;Math.abs(n-b)+Math.abs(s-$)>r&&(a=-1),n=e.clientX=b,s=e.clientY=$,y=v=0;var S=new i(e,t);if(u=S.getDocumentPosition(),g-a<500&&1==o.length&&!f)m++,e.preventDefault(),e.button=0,function(){c=null,clearTimeout(c),t.selection.moveToPosition(u);var e=m>=2?t.selection.getLineRange(u.row):t.session.getBracketRange(u);e&&!e.isEmpty()?t.selection.setRange(e):t.selection.selectWord(),p="wait"}();else{m=0;var x=t.selection.cursor,A=t.selection.isEmpty()?x:t.selection.anchor,M=t.renderer.$cursorLayer.getPixelPosition(x,!0),k=t.renderer.$cursorLayer.getPixelPosition(A,!0),L=t.renderer.scroller.getBoundingClientRect(),T=t.renderer.layerConfig.offset,E=t.renderer.scrollLeft,R=function(e,t){return(e/=h)*e+(t=t/r-.75)*t};if(e.clientXI?"cursor":"anchor"),p=I<3.5?"anchor":_<3.5?"cursor":"scroll",c=setTimeout(C,450)}a=g}),t),o.addListener(e,"touchend",(function(e){d=t.$mouseHandler.isMousePressed=!1,h&&clearInterval(h),"zoom"==p?(p="",f=0):c?(t.selection.moveToPosition(u),f=0,b()):"scroll"==p?(f+=60,h=setInterval((function(){f--<=0&&(clearInterval(h),h=null),Math.abs(y)<.01&&(y=0),Math.abs(v)<.01&&(v=0),f<20&&(y*=.9),f<20&&(v*=.9);var e=t.session.getScrollTop();t.renderer.scrollBy(10*y,10*v),e==t.session.getScrollTop()&&(f=0)}),10),$()):b(),clearTimeout(c),c=null}),t),o.addListener(e,"touchmove",(function(e){c&&(clearTimeout(c),c=null);var o=e.touches;if(!(o.length>1||"zoom"==p)){var r=o[0],a=n-r.clientX,h=s-r.clientY;if("wait"==p){if(!(a*a+h*h>4))return e.preventDefault();p="cursor"}n=r.clientX,s=r.clientY,e.clientX=r.clientX,e.clientY=r.clientY;var u=e.timeStamp,d=u-l;if(l=u,"scroll"==p){var g=new i(e,t);g.speed=1,g.wheelX=a,g.wheelY=h,10*Math.abs(a)=e){for(r=u+1;r=e;)r++;for(a=u,l=r-1;a=t.length||2!=(l=n[o-1])&&3!=l||2!=(c=t[o+1])&&3!=c?4:(r&&(c=3),c==l?c:4);case 10:return 2==(l=o>0?n[o-1]:5)&&o+10&&2==n[o-1])return 2;if(r)return 4;for(g=o+1,d=t.length;g=1425&&f<=2303||64286==f;if(l=t[g],m&&(1==l||7==l))return 1}return o<1||5==(l=t[o-1])?4:n[o-1];case 5:return r=!1,s=!0,i;case 6:return a=!0,4;case 13:case 14:case 16:case 17:case 15:r=!1;case u:return 4}}function m(e){var t=e.charCodeAt(0),n=t>>8;return 0==n?t>191?0:d[t]:5==n?/[\u0591-\u05f4]/.test(e)?1:0:6==n?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(e)?12:/[\u0660-\u0669\u066b-\u066c]/.test(e)?3:1642==t?h:/[\u06f0-\u06f9]/.test(e)?2:7:32==n&&t<=8287?g[255&t]:254==n&&t>=65136?7:4}t.L=0,t.R=1,t.EN=2,t.ON_R=3,t.AN=4,t.R_H=5,t.B=6,t.RLE=7,t.DOT="·",t.doBidiReorder=function(e,n,h){if(e.length<2)return{};var d=e.split(""),g=new Array(d.length),y=new Array(d.length),v=[];i=h?1:0,function(e,t,n,h){var u=i?c:l,d=null,g=null,p=null,y=0,v=null,w=-1,b=null,$=null,C=[];if(!h)for(b=0,h=[];b0)if(16==v){for(b=w;b<$;b++)t[b]=1;w=-1}else w=-1;if(u[y][6])-1==w&&(w=$);else if(w>-1){for(b=w;b<$;b++)t[b]=p;w=-1}5==h[$]&&(t[$]=0),o|=p}if(a)for(b=0;b=0&&8==h[S];S--)t[S]=i}}(d,v,d.length,n);for(var w=0;w7&&n[w]<13||4===n[w]||n[w]===u)?v[w]=t.ON_R:w>0&&"ل"===d[w-1]&&/\u0622|\u0623|\u0625|\u0627/.test(d[w])&&(v[w-1]=v[w]=t.R_H,w++);for(d[d.length-1]===t.DOT&&(v[d.length-1]=t.B),"‫"===d[0]&&(v[0]=t.RLE),w=0;w=0&&(e=this.session.$docRowCache[n])}return e},e.prototype.getSplitIndex=function(){var e=0,t=this.session.$screenRowCache;if(t.length)for(var n,i=this.session.$getRowCacheIndex(t,this.currentRow);this.currentRow-e>0&&(n=this.session.$getRowCacheIndex(t,this.currentRow-e-1))===i;)i=n,e++;else e=this.currentRow;return e},e.prototype.updateRowLine=function(e,t){void 0===e&&(e=this.getDocumentRow());var n=e===this.session.getLength()-1?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(e),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var r=this.session.$wrapData[e];r&&(void 0===t&&(t=this.getSplitIndex()),t>0&&r.length?(this.wrapIndent=r.indent,this.wrapOffset=this.wrapIndent*this.charWidths[i.L],this.line=tt?this.session.getOverwrite()?e:e-1:t,o=i.getVisualFromLogicalIdx(n,this.bidiMap),r=this.bidiMap.bidiLevels,s=0;!this.session.getOverwrite()&&e<=t&&r[o]%2!=0&&o++;for(var a=0;at&&r[o]%2==0&&(s+=this.charWidths[r[o]]),this.wrapIndent&&(s+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(s+=this.rtlLineOffset),s},e.prototype.getSelections=function(e,t){var n,i=this.bidiMap,o=i.bidiLevels,r=[],s=0,a=Math.min(e,t)-this.wrapIndent,l=Math.max(e,t)-this.wrapIndent,c=!1,h=!1,u=0;this.wrapIndent&&(s+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var d,g=0;g=a&&dn+r/2;){if(n+=r,i===o.length-1){r=0;break}r=this.charWidths[o[++i]]}return i>0&&o[i-1]%2!=0&&o[i]%2==0?(e0&&o[i-1]%2==0&&o[i]%2!=0?t=1+(e>n?this.bidiMap.logicalFromVisual[i]:this.bidiMap.logicalFromVisual[i-1]):this.isRtlDir&&i===o.length-1&&0===r&&o[i-1]%2==0||!this.isRtlDir&&0===i&&o[i]%2!=0?t=1+this.bidiMap.logicalFromVisual[i]:(i>0&&o[i-1]%2!=0&&0!==r&&i--,t=this.bidiMap.logicalFromVisual[i]),0===t&&this.isRtlDir&&t++,t+this.wrapIndent},e}();t.BidiHandler=s})),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],(function(e,t,n){var i=e("./lib/oop"),o=e("./lib/lang"),r=e("./lib/event_emitter").EventEmitter,s=e("./range").Range,a=function(){function e(e){this.session=e,this.doc=e.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var t=this;this.cursor.on("change",(function(e){t.$cursorChanged=!0,t.$silent||t._emit("changeCursor"),t.$isEmpty||t.$silent||t._emit("changeSelection"),t.$keepDesiredColumnOnChange||e.old.column==e.value.column||(t.$desiredColumn=null)})),this.anchor.on("change",(function(){t.$anchorChanged=!0,t.$isEmpty||t.$silent||t._emit("changeSelection")}))}return e.prototype.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},e.prototype.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},e.prototype.getCursor=function(){return this.lead.getPosition()},e.prototype.setAnchor=function(e,t){this.$isEmpty=!1,this.anchor.setPosition(e,t)},e.prototype.getAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},e.prototype.getSelectionLead=function(){return this.lead.getPosition()},e.prototype.isBackwards=function(){var e=this.anchor,t=this.lead;return e.row>t.row||e.row==t.row&&e.column>t.column},e.prototype.getRange=function(){var e=this.anchor,t=this.lead;return this.$isEmpty?s.fromPoints(t,t):this.isBackwards()?s.fromPoints(t,e):s.fromPoints(e,t)},e.prototype.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},e.prototype.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},e.prototype.setRange=function(e,t){var n=t?e.end:e.start,i=t?e.start:e.end;this.$setSelection(n.row,n.column,i.row,i.column)},e.prototype.$setSelection=function(e,t,n,i){if(!this.$silent){var o=this.$isEmpty,r=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(e,t),this.cursor.setPosition(n,i),this.$isEmpty=!s.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||o!=this.$isEmpty||r)&&this._emit("changeSelection")}},e.prototype.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},e.prototype.selectTo=function(e,t){this.$moveSelection((function(){this.moveCursorTo(e,t)}))},e.prototype.selectToPosition=function(e){this.$moveSelection((function(){this.moveCursorToPosition(e)}))},e.prototype.moveTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},e.prototype.moveToPosition=function(e){this.clearSelection(),this.moveCursorToPosition(e)},e.prototype.selectUp=function(){this.$moveSelection(this.moveCursorUp)},e.prototype.selectDown=function(){this.$moveSelection(this.moveCursorDown)},e.prototype.selectRight=function(){this.$moveSelection(this.moveCursorRight)},e.prototype.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},e.prototype.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},e.prototype.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},e.prototype.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},e.prototype.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},e.prototype.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},e.prototype.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},e.prototype.getWordRange=function(e,t){if(void 0===t){var n=e||this.lead;e=n.row,t=n.column}return this.session.getWordRange(e,t)},e.prototype.selectWord=function(){this.setSelectionRange(this.getWordRange())},e.prototype.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},e.prototype.getLineRange=function(e,t){var n,i="number"==typeof e?e:this.lead.row,o=this.session.getFoldLine(i);return o?(i=o.start.row,n=o.end.row):n=i,!0===t?new s(i,0,n,this.session.getLine(n).length):new s(i,0,n+1,0)},e.prototype.selectLine=function(){this.setSelectionRange(this.getLineRange())},e.prototype.moveCursorUp=function(){this.moveCursorBy(-1,0)},e.prototype.moveCursorDown=function(){this.moveCursorBy(1,0)},e.prototype.wouldMoveIntoSoftTab=function(e,t,n){var i=e.column,o=e.column+t;return n<0&&(i=e.column-t,o=e.column),this.session.isTabStop(e)&&this.doc.getLine(e.row).slice(i,o).split(" ").length-1==t},e.prototype.moveCursorLeft=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,-1))this.moveCursorTo(e.start.row,e.start.column);else if(0===t.column)t.row>0&&this.moveCursorTo(t.row-1,this.doc.getLine(t.row-1).length);else{var n=this.session.getTabSize();this.wouldMoveIntoSoftTab(t,n,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-n):this.moveCursorBy(0,-1)}},e.prototype.moveCursorRight=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,1))this.moveCursorTo(e.end.row,e.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(t.column=i)}}this.moveCursorTo(t.row,t.column)},e.prototype.moveCursorFileEnd=function(){var e=this.doc.getLength()-1,t=this.doc.getLine(e).length;this.moveCursorTo(e,t)},e.prototype.moveCursorFileStart=function(){this.moveCursorTo(0,0)},e.prototype.moveCursorLongWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),i=n.substring(t);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var o=this.session.getFoldAt(e,t,1);if(o)this.moveCursorTo(o.end.row,o.end.column);else{if(this.session.nonTokenRe.exec(i)&&(t+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,i=n.substring(t)),t>=n.length)return this.moveCursorTo(e,n.length),this.moveCursorRight(),void(e0&&this.moveCursorWordLeft());this.session.tokenRe.exec(r)&&(n-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,n)}},e.prototype.$shortWordEndIndex=function(e){var t,n=0,i=/\s/,o=this.session.tokenRe;if(o.lastIndex=0,this.session.tokenRe.exec(e))n=this.session.tokenRe.lastIndex;else{for(;(t=e[n])&&i.test(t);)n++;if(n<1)for(o.lastIndex=0;(t=e[n])&&!o.test(t);)if(o.lastIndex=0,n++,i.test(t)){if(n>2){n--;break}for(;(t=e[n])&&i.test(t);)n++;if(n>2)break}}return o.lastIndex=0,n},e.prototype.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),i=n.substring(t),o=this.session.getFoldAt(e,t,1);if(o)return this.moveCursorTo(o.end.row,o.end.column);if(t==n.length){var r=this.doc.getLength();do{e++,i=this.doc.getLine(e)}while(e0&&/^\s*$/.test(i));n=i.length,/\s+$/.test(i)||(i="")}var r=o.stringReverse(i),s=this.$shortWordEndIndex(r);return this.moveCursorTo(t,n-s)},e.prototype.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},e.prototype.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},e.prototype.moveCursorBy=function(e,t){var n,i=this.session.documentToScreenPosition(this.lead.row,this.lead.column);if(0===t&&(0!==e&&(this.session.$bidiHandler.isBidiRow(i.row,this.lead.row)?(n=this.session.$bidiHandler.getPosLeft(i.column),i.column=Math.round(n/this.session.$bidiHandler.charWidths[0])):n=i.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?i.column=this.$desiredColumn:this.$desiredColumn=i.column),0!=e&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var o=this.session.lineWidgets[this.lead.row];e<0?e-=o.rowsAbove||0:e>0&&(e+=o.rowCount-(o.rowsAbove||0))}var r=this.session.screenToDocumentPosition(i.row+e,i.column,n);0!==e&&0===t&&r.row===this.lead.row&&(r.column,this.lead.column),this.moveCursorTo(r.row,r.column+t,0===t)},e.prototype.moveCursorToPosition=function(e){this.moveCursorTo(e.row,e.column)},e.prototype.moveCursorTo=function(e,t,n){var i=this.session.getFoldAt(e,t,1);i&&(e=i.start.row,t=i.start.column),this.$keepDesiredColumnOnChange=!0;var o=this.session.getLine(e);/[\uDC00-\uDFFF]/.test(o.charAt(t))&&o.charAt(t-1)&&(this.lead.row==e&&this.lead.column==t+1?t-=1:t+=1),this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,n||(this.$desiredColumn=null)},e.prototype.moveCursorToScreen=function(e,t,n){var i=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(i.row,i.column,n)},e.prototype.detach=function(){this.lead.detach(),this.anchor.detach()},e.prototype.fromOrientedRange=function(e){this.setSelectionRange(e,e.cursor==e.start),this.$desiredColumn=e.desiredColumn||this.$desiredColumn},e.prototype.toOrientedRange=function(e){var t=this.getRange();return e?(e.start.column=t.start.column,e.start.row=t.start.row,e.end.column=t.end.column,e.end.row=t.end.row):e=t,e.cursor=this.isBackwards()?e.start:e.end,e.desiredColumn=this.$desiredColumn,e},e.prototype.getRangeOfMovements=function(e){var t=this.getCursor();try{e(this);var n=this.getCursor();return s.fromPoints(t,n)}catch(i){return s.fromPoints(t,t)}finally{this.moveCursorToPosition(t)}},e.prototype.toJSON=function(){if(this.rangeCount)var e=this.ranges.map((function(e){var t=e.clone();return t.isBackwards=e.cursor==e.start,t}));else(e=this.getRange()).isBackwards=this.isBackwards();return e},e.prototype.fromJSON=function(e){if(null==e.start){if(this.rangeList&&e.length>1){this.toSingleRange(e[0]);for(var t=e.length;t--;){var n=s.fromPoints(e[t].start,e[t].end);e[t].isBackwards&&(n.cursor=n.start),this.addRange(n,!0)}return}e=e[0]}this.rangeList&&this.toSingleRange(e),this.setSelectionRange(e,e.isBackwards)},e.prototype.isEqual=function(e){if((e.length||this.rangeCount)&&e.length!=this.rangeCount)return!1;if(!e.length||!this.ranges)return this.getRange().isEqual(e);for(var t=this.ranges.length;t--;)if(!this.ranges[t].isEqual(e[t]))return!1;return!0},e}();a.prototype.setSelectionAnchor=a.prototype.setAnchor,a.prototype.getSelectionAnchor=a.prototype.getAnchor,a.prototype.setSelectionRange=a.prototype.setRange,i.implement(a.prototype,r),t.Selection=a})),ace.define("ace/tokenizer",["require","exports","module","ace/lib/report_error"],(function(e,t,n){var i=e("./lib/report_error").reportError,o=2e3,r=function(){function e(e){for(var t in this.splitRegex,this.states=e,this.regExps={},this.matchMappings={},this.states){for(var n=this.states[t],i=[],o=0,r=this.matchMappings[t]={defaultToken:"text"},s="g",a=[],l=0;l1?this.$applyToken:c.token),u>1&&(/\\\d/.test(c.regex)?h=c.regex.replace(/\\([0-9]+)/g,(function(e,t){return"\\"+(parseInt(t,10)+o+1)})):(u=1,h=this.removeCapturingGroups(c.regex)),c.splitRegex||"string"==typeof c.token||a.push(c)),r[o]=l,o+=u,i.push(h),c.onMatch||(c.onMatch=null)}}i.length||(r[0]=0,i.push("$")),a.forEach((function(e){e.splitRegex=this.createSplitterRegexp(e.regex,s)}),this),this.regExps[t]=new RegExp("("+i.join(")|(")+")|($)",s)}}return e.prototype.$setMaxTokenCount=function(e){o=0|e},e.prototype.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),n=this.token.apply(this,t);if("string"==typeof n)return[{type:n,value:e}];for(var i=[],o=0,r=n.length;oh){var y=e.substring(h,m-f.length);d.type==g?d.value+=y:(d.type&&c.push(d),d={type:g,value:y})}for(var v=0;vo){for(u>2*e.length&&this.reportError("infinite loop with in ace tokenizer",{startState:t,line:e});h1&&n[0]!==i&&n.unshift("#tmp",i),{tokens:c,state:n.length?n:i}},e}();r.prototype.reportError=i,t.Tokenizer=r})),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/deep_copy"],(function(e,t,n){var i,o=e("../lib/deep_copy").deepCopy;(function(){this.addRules=function(e,t){if(t)for(var n in e){for(var i=e[n],o=0;o=this.$rowTokens.length;){if(this.$row+=1,e||(e=this.$session.getLength()),this.$row>=e)return this.$row=e-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},e.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},e.prototype.getCurrentTokenRow=function(){return this.$row},e.prototype.getCurrentTokenColumn=function(){var e=this.$rowTokens,t=this.$tokenIndex,n=e[t].start;if(void 0!==n)return n;for(n=0;t>0;)n+=e[t-=1].value.length;return n},e.prototype.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},e.prototype.getCurrentTokenRange=function(){var e=this.$rowTokens[this.$tokenIndex],t=this.getCurrentTokenColumn();return new i(this.$row,t,this.$row,t+e.value.length)},e}();t.TokenIterator=o})),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],(function(e,t,n){var i,o,r=e("../../lib/oop"),s=e("../behaviour").Behaviour,a=e("../../token_iterator").TokenIterator,l=e("../../lib/lang"),c=["text","paren.rparen","rparen","paren","punctuation.operator"],h=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],u={},d={'"':'"',"'":"'"},g=function(e){var t=-1;if(e.multiSelect&&(t=e.selection.index,u.rangeCount!=e.multiSelect.rangeCount&&(u={rangeCount:e.multiSelect.rangeCount})),u[t])return i=u[t];i=u[t]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},p=function(e,t,n,i){var o=e.end.row-e.start.row;return{text:n+t+i,selection:[0,e.start.column+1,o,e.end.column+(o?0:1)]}};(o=function(e){e=e||{},this.add("braces","insertion",(function(t,n,r,s,a){var c=r.getCursorPosition(),h=s.doc.getLine(c.row);if("{"==a){g(r);var u=r.getSelectionRange(),d=s.doc.getTextRange(u),f=s.getTokenAt(c.row,c.column);if(""!==d&&"{"!==d&&r.getWrapBehavioursEnabled())return p(u,d,"{","}");if(f&&/(?:string)\.quasi|\.xml/.test(f.type)){if([/tag\-(?:open|name)/,/attribute\-name/].some((function(e){return e.test(f.type)}))||/(string)\.quasi/.test(f.type)&&"$"!==f.value[c.column-f.start-1])return;return o.recordAutoInsert(r,s,"}"),{text:"{}",selection:[1,1]}}if(o.isSaneInsertion(r,s))return/[\]\}\)]/.test(h[c.column])||r.inMultiSelectMode||e.braces?(o.recordAutoInsert(r,s,"}"),{text:"{}",selection:[1,1]}):(o.recordMaybeInsert(r,s,"{"),{text:"{",selection:[1,1]})}else if("}"==a){if(g(r),"}"==h.substring(c.column,c.column+1)&&null!==s.$findOpeningBracket("}",{column:c.column+1,row:c.row})&&o.isAutoInsertedClosing(c,h,a))return o.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==a||"\r\n"==a){g(r);var m="";if(o.isMaybeInsertedClosing(c,h)&&(m=l.stringRepeat("}",i.maybeInsertedBrackets),o.clearMaybeInsertedClosing()),"}"===h.substring(c.column,c.column+1)){var y=s.findMatchingBracket({row:c.row,column:c.column+1},"}");if(!y)return null;var v=this.$getIndent(s.getLine(y.row))}else{if(!m)return void o.clearMaybeInsertedClosing();v=this.$getIndent(h)}var w=v+s.getTabString();return{text:"\n"+w+"\n"+v+m,selection:[1,w.length,1,w.length]}}o.clearMaybeInsertedClosing()}})),this.add("braces","deletion",(function(e,t,n,o,r){var s=o.doc.getTextRange(r);if(!r.isMultiLine()&&"{"==s){if(g(n),"}"==o.doc.getLine(r.start.row).substring(r.end.column,r.end.column+1))return r.end.column++,r;i.maybeInsertedBrackets--}})),this.add("parens","insertion",(function(e,t,n,i,r){if("("==r){g(n);var s=n.getSelectionRange(),a=i.doc.getTextRange(s);if(""!==a&&n.getWrapBehavioursEnabled())return p(s,a,"(",")");if(o.isSaneInsertion(n,i))return o.recordAutoInsert(n,i,")"),{text:"()",selection:[1,1]}}else if(")"==r){g(n);var l=n.getCursorPosition(),c=i.doc.getLine(l.row);if(")"==c.substring(l.column,l.column+1)&&null!==i.$findOpeningBracket(")",{column:l.column+1,row:l.row})&&o.isAutoInsertedClosing(l,c,r))return o.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("parens","deletion",(function(e,t,n,i,o){var r=i.doc.getTextRange(o);if(!o.isMultiLine()&&"("==r&&(g(n),")"==i.doc.getLine(o.start.row).substring(o.start.column+1,o.start.column+2)))return o.end.column++,o})),this.add("brackets","insertion",(function(e,t,n,i,r){if("["==r){g(n);var s=n.getSelectionRange(),a=i.doc.getTextRange(s);if(""!==a&&n.getWrapBehavioursEnabled())return p(s,a,"[","]");if(o.isSaneInsertion(n,i))return o.recordAutoInsert(n,i,"]"),{text:"[]",selection:[1,1]}}else if("]"==r){g(n);var l=n.getCursorPosition(),c=i.doc.getLine(l.row);if("]"==c.substring(l.column,l.column+1)&&null!==i.$findOpeningBracket("]",{column:l.column+1,row:l.row})&&o.isAutoInsertedClosing(l,c,r))return o.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("brackets","deletion",(function(e,t,n,i,o){var r=i.doc.getTextRange(o);if(!o.isMultiLine()&&"["==r&&(g(n),"]"==i.doc.getLine(o.start.row).substring(o.start.column+1,o.start.column+2)))return o.end.column++,o})),this.add("string_dquotes","insertion",(function(e,t,n,i,o){var r=i.$mode.$quotes||d;if(1==o.length&&r[o]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(o))return;g(n);var s=o,a=n.getSelectionRange(),l=i.doc.getTextRange(a);if(!(""===l||1==l.length&&r[l])&&n.getWrapBehavioursEnabled())return p(a,l,s,s);if(!l){var c=n.getCursorPosition(),h=i.doc.getLine(c.row),u=h.substring(c.column-1,c.column),f=h.substring(c.column,c.column+1),m=i.getTokenAt(c.row,c.column),y=i.getTokenAt(c.row,c.column+1);if("\\"==u&&m&&/escape/.test(m.type))return null;var v,w=m&&/string|escape/.test(m.type),b=!y||/string|escape/.test(y.type);if(f==s)(v=w!==b)&&/string\.end/.test(y.type)&&(v=!1);else{if(w&&!b)return null;if(w&&b)return null;var $=i.$mode.tokenRe;$.lastIndex=0;var C=$.test(u);$.lastIndex=0;var S=$.test(f),x=i.$mode.$pairQuotesAfter;if(!(x&&x[s]&&x[s].test(u))&&C||S)return null;if(f&&!/[\s;,.})\]\\]/.test(f))return null;var A=h[c.column-2];if(u==s&&(A==s||$.test(A)))return null;v=!0}return{text:v?s+s:"",selection:[1,1]}}}})),this.add("string_dquotes","deletion",(function(e,t,n,i,o){var r=i.$mode.$quotes||d,s=i.doc.getTextRange(o);if(!o.isMultiLine()&&r.hasOwnProperty(s)&&(g(n),i.doc.getLine(o.start.row).substring(o.start.column+1,o.start.column+2)==s))return o.end.column++,o})),!1!==e.closeDocComment&&this.add("doc comment end","insertion",(function(e,t,n,i,o){if("doc-start"===e&&("\n"===o||"\r\n"===o)&&n.selection.isEmpty()){var r=n.getCursorPosition();if(0===r.column)return;for(var s=i.doc.getLine(r.row),a=i.doc.getLine(r.row+1),l=i.getTokens(r.row),c=0,h=0;h=r.column){if(c===r.column){if(!/\.doc/.test(u.type))return;if(/\*\//.test(u.value)){var d=l[h+1];if(!d||!/\.doc/.test(d.type))return}}var g=r.column-(c-u.value.length),p=u.value.indexOf("*/"),f=u.value.indexOf("/**",p>-1?p+2:0);if(-1!==f&&g>f&&g=p&&g<=f||!/\.doc/.test(u.type))return;break}}var m=this.$getIndent(s);if(/\s*\*/.test(a))return/^\s*\*/.test(s)?{text:o+m+"* ",selection:[1,2+m.length,1,2+m.length]}:{text:o+m+" * ",selection:[1,3+m.length,1,3+m.length]};if(/\/\*\*/.test(s.substring(0,r.column)))return{text:o+m+" * "+o+" "+m+"*/",selection:[1,4+m.length,1,4+m.length]}}}))}).isSaneInsertion=function(e,t){var n=e.getCursorPosition(),i=new a(t,n.row,n.column);if(!this.$matchTokenType(i.getCurrentToken()||"text",c)){if(/[)}\]]/.test(e.session.getLine(n.row)[n.column]))return!0;var o=new a(t,n.row,n.column+1);if(!this.$matchTokenType(o.getCurrentToken()||"text",c))return!1}return i.stepForward(),i.getCurrentTokenRow()!==n.row||this.$matchTokenType(i.getCurrentToken()||"text",h)},o.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},o.recordAutoInsert=function(e,t,n){var o=e.getCursorPosition(),r=t.doc.getLine(o.row);this.isAutoInsertedClosing(o,r,i.autoInsertedLineEnd[0])||(i.autoInsertedBrackets=0),i.autoInsertedRow=o.row,i.autoInsertedLineEnd=n+r.substr(o.column),i.autoInsertedBrackets++},o.recordMaybeInsert=function(e,t,n){var o=e.getCursorPosition(),r=t.doc.getLine(o.row);this.isMaybeInsertedClosing(o,r)||(i.maybeInsertedBrackets=0),i.maybeInsertedRow=o.row,i.maybeInsertedLineStart=r.substr(0,o.column)+n,i.maybeInsertedLineEnd=r.substr(o.column),i.maybeInsertedBrackets++},o.isAutoInsertedClosing=function(e,t,n){return i.autoInsertedBrackets>0&&e.row===i.autoInsertedRow&&n===i.autoInsertedLineEnd[0]&&t.substr(e.column)===i.autoInsertedLineEnd},o.isMaybeInsertedClosing=function(e,t){return i.maybeInsertedBrackets>0&&e.row===i.maybeInsertedRow&&t.substr(e.column)===i.maybeInsertedLineEnd&&t.substr(0,e.column)==i.maybeInsertedLineStart},o.popAutoInsertedClosing=function(){i.autoInsertedLineEnd=i.autoInsertedLineEnd.substr(1),i.autoInsertedBrackets--},o.clearMaybeInsertedClosing=function(){i&&(i.maybeInsertedBrackets=0,i.maybeInsertedRow=-1)},r.inherits(o,s),t.CstyleBehaviour=o})),ace.define("ace/unicode",["require","exports","module"],(function(e,t,n){for(var i=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],o=0,r=[],s=0;s2?i%l!=l-1:i%l==0})}else{if(!this.blockComment)return!1;var g=this.blockComment.start,p=this.blockComment.end,f=new RegExp("^(\\s*)(?:"+c.escapeRegExp(g)+")"),m=new RegExp("(?:"+c.escapeRegExp(p)+")\\s*$"),y=function(e,t){w(e,t)||r&&!/\S/.test(e)||(o.insertInLine({row:t,column:e.length},p),o.insertInLine({row:t,column:a},g))},v=function(e,t){var n;(n=e.match(m))&&o.removeInLine(t,e.length-n[0].length,e.length),(n=e.match(f))&&o.removeInLine(t,n[1].length,n[0].length)},w=function(e,n){if(f.test(e))return!0;for(var i=t.getTokens(n),o=0;oe.length&&($=e.length)})),a==1/0&&(a=$,r=!1,s=!1),h&&a%l!=0&&(a=Math.floor(a/l)*l),b(s?v:y)},this.toggleBlockComment=function(e,t,n,i){var o=this.blockComment;if(o){!o.start&&o[0]&&(o=o[0]);var r=(f=new h(t,i.row,i.column)).getCurrentToken();t.selection;var s,a,l=t.selection.toOrientedRange();if(r&&/comment/.test(r.type)){for(var c,d;r&&/comment/.test(r.type);){if(-1!=(m=r.value.indexOf(o.start))){var g=f.getCurrentTokenRow(),p=f.getCurrentTokenColumn()+m;c=new u(g,p,g,p+o.start.length);break}r=f.stepBackward()}var f;for(r=(f=new h(t,i.row,i.column)).getCurrentToken();r&&/comment/.test(r.type);){var m;if(-1!=(m=r.value.indexOf(o.end))){g=f.getCurrentTokenRow(),p=f.getCurrentTokenColumn()+m,d=new u(g,p,g,p+o.end.length);break}r=f.stepForward()}d&&t.remove(d),c&&(t.remove(c),s=c.start.row,a=-o.start.length)}else a=o.start.length,s=n.start.row,t.insert(n.end,o.end),t.insert(n.start,o.start);l.start.row==s&&(l.start.column+=a),l.end.row==s&&(l.end.column+=a),t.selection.fromOrientedRange(l)}},this.getNextLineIndent=function(e,t,n){return this.$getIndent(t)},this.checkOutdent=function(e,t,n){return!1},this.autoOutdent=function(e,t,n){},this.$getIndent=function(e){return e.match(/^\s*/)[0]},this.createWorker=function(e){return null},this.createModeDelegates=function(e){for(var t in this.$embeds=[],this.$modes={},e)if(e[t]){var n=e[t],i=n.prototype.$id,r=o.$modes[i];r||(o.$modes[i]=r=new n),o.$modes[t]||(o.$modes[t]=r),this.$embeds.push(t),this.$modes[t]=r}var s=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],a=function(e){var t,n,i;i=(t=l)[n=s[e]],t[s[e]]=function(){return this.$delegator(n,arguments,i)}},l=this;for(t=0;tthis.row)){var t=function(e,t,n){var i="insert"==e.action,o=(i?1:-1)*(e.end.row-e.start.row),r=(i?1:-1)*(e.end.column-e.start.column),a=e.start,l=i?a:e.end;return s(t,a,n)?{row:t.row,column:t.column}:s(l,t,!n)?{row:t.row+o,column:t.column+(t.row==l.row?r:0)}:{row:a.row,column:a.column}}(e,{row:this.row,column:this.column},this.$insertRight);this.setPosition(t.row,t.column,!0)}},e.prototype.setPosition=function(e,t,n){var i;if(i=n?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=i.row||this.column!=i.column){var o={row:this.row,column:this.column};this.row=i.row,this.column=i.column,this._signal("change",{old:o,value:i})}},e.prototype.detach=function(){this.document.off("change",this.$onChange)},e.prototype.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},e.prototype.$clipPositionToDocument=function(e,t){var n={};return e>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):e<0?(n.row=0,n.column=0):(n.row=e,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,t))),t<0&&(n.column=0),n},e}();function s(e,t,n){var i=n?e.column<=t.column:e.column=n&&(e=n-1,t=void 0);var i=this.getLine(e);return null==t&&(t=i.length),{row:e,column:t=Math.min(Math.max(t,0),i.length)}},e.prototype.clonePos=function(e){return{row:e.row,column:e.column}},e.prototype.pos=function(e,t){return{row:e,column:t}},e.prototype.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},e.prototype.insertFullLines=function(e,t){var n=0;(e=Math.min(Math.max(e,0),this.getLength()))0,i=t=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},e.prototype.replace=function(e,t){return e instanceof s||(e=s.fromPoints(e.start,e.end)),0===t.length&&e.isEmpty()?e.start:t==this.getTextRange(e)?e.end:(this.remove(e),t?this.insert(e.start,t):e.start)},e.prototype.applyDeltas=function(e){for(var t=0;t=0;t--)this.revertDelta(e[t])},e.prototype.applyDelta=function(e,t){var n="insert"==e.action;(n?e.lines.length<=1&&!e.lines[0]:!s.comparePoints(e.start,e.end))||(n&&e.lines.length>2e4?this.$splitAndapplyLargeDelta(e,2e4):(o(this.$lines,e,t),this._signal("change",e)))},e.prototype.$safeApplyDelta=function(e){var t=this.$lines.length;("remove"==e.action&&e.start.row20){n.running=setTimeout(n.$worker,20);break}}n.currentLine=t,-1==i&&(i=t),r<=i&&n.fireUpdateEvent(r,i)}}}return e.prototype.setTokenizer=function(e){this.tokenizer=e,this.lines=[],this.states=[],this.start(0)},e.prototype.setDocument=function(e){this.doc=e,this.lines=[],this.states=[],this.stop()},e.prototype.fireUpdateEvent=function(e,t){var n={first:e,last:t};this._signal("update",{data:n})},e.prototype.start=function(e){this.currentLine=Math.min(e||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},e.prototype.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},e.prototype.$updateOnChange=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.lines[t]=null;else if("remove"==e.action)this.lines.splice(t,n+1,null),this.states.splice(t,n+1,null);else{var i=Array(n+1);i.unshift(t,1),this.lines.splice.apply(this.lines,i),this.states.splice.apply(this.states,i)}this.currentLine=Math.min(t,this.currentLine,this.doc.getLength()),this.stop()},e.prototype.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},e.prototype.getTokens=function(e){return this.lines[e]||this.$tokenizeRow(e)},e.prototype.getState=function(e){return this.currentLine==e&&this.$tokenizeRow(e),this.states[e]||"start"},e.prototype.$tokenizeRow=function(e){var t=this.doc.getLine(e),n=this.states[e-1],i=this.tokenizer.getLineTokens(t,n,e);return this.states[e]+""!=i.state+""?(this.states[e]=i.state,this.lines[e+1]=null,this.currentLine>e+1&&(this.currentLine=e+1)):this.currentLine==e&&(this.currentLine=e+1),this.lines[e]=i.tokens},e.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},e}();i.implement(r.prototype,o),t.BackgroundTokenizer=r})),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/range"],(function(e,t,n){var i=e("./lib/lang"),o=e("./range").Range,r=function(){function e(e,t,n){void 0===n&&(n="text"),this.setRegexp(e),this.clazz=t,this.type=n}return e.prototype.setRegexp=function(e){this.regExp+""!=e+""&&(this.regExp=e,this.cache=[])},e.prototype.update=function(e,t,n,r){if(this.regExp)for(var s=r.firstRow,a=r.lastRow,l={},c=s;c<=a;c++){var h=this.cache[c];null==h&&((h=i.getMatchOffsets(n.getLine(c),this.regExp)).length>this.MAX_RANGES&&(h=h.slice(0,this.MAX_RANGES)),h=h.map((function(e){return new o(c,e.offset,c,e.offset+e.length)})),this.cache[c]=h.length?h:"");for(var u=h.length;u--;){var d=h[u].toScreenRange(n),g=d.toString();l[g]||(l[g]=!0,t.drawSingleLineMarker(e,d,this.clazz,r))}}},e}();r.prototype.MAX_RANGES=500,t.SearchHighlight=r})),ace.define("ace/undomanager",["require","exports","module","ace/range"],(function(e,t,n){var i=function(){function e(){this.$keepRedoStack,this.$maxRev=0,this.$fromUndo=!1,this.$undoDepth=1/0,this.reset()}return e.prototype.addSession=function(e){this.$session=e},e.prototype.add=function(e,t,n){if(!this.$fromUndo&&e!=this.$lastDelta){if(this.$keepRedoStack||(this.$redoStack.length=0),!1===t||!this.lastDeltas){this.lastDeltas=[];var i=this.$undoStack.length;i>this.$undoDepth-1&&this.$undoStack.splice(0,i-this.$undoDepth+1),this.$undoStack.push(this.lastDeltas),e.id=this.$rev=++this.$maxRev}"remove"!=e.action&&"insert"!=e.action||(this.$lastDelta=e),this.lastDeltas.push(e)}},e.prototype.addSelection=function(e,t){this.selections.push({value:e,rev:t||this.$rev})},e.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},e.prototype.markIgnored=function(e,t){null==t&&(t=this.$rev+1);for(var n=this.$undoStack,i=n.length;i--;){var o=n[i][0];if(o.id<=e)break;o.id0},e.prototype.canRedo=function(){return this.$redoStack.length>0},e.prototype.bookmark=function(e){null==e&&(e=this.$rev),this.mark=e},e.prototype.isAtBookmark=function(){return this.$rev===this.mark},e.prototype.toJSON=function(){return{$redoStack:this.$redoStack,$undoStack:this.$undoStack}},e.prototype.fromJSON=function(e){this.reset(),this.$undoStack=e.$undoStack,this.$redoStack=e.$redoStack},e.prototype.$prettyPrint=function(e){return e?a(e):a(this.$undoStack)+"\n---\n"+a(this.$redoStack)},e}();i.prototype.hasUndo=i.prototype.canUndo,i.prototype.hasRedo=i.prototype.canRedo,i.prototype.isClean=i.prototype.isAtBookmark,i.prototype.markClean=i.prototype.bookmark;var o=e("./range").Range,r=o.comparePoints;function s(e){return{row:e.row,column:e.column}}function a(e){if(e=e||this,Array.isArray(e))return e.map(a).join("\n");var t="";return e.action?(t="insert"==e.action?"+":"-",t+="["+e.lines+"]"):e.value&&(t=Array.isArray(e.value)?e.value.map(l).join("\n"):l(e.value)),e.start&&(t+=l(e)),(e.id||e.rev)&&(t+="\t("+(e.id||e.rev)+")"),t}function l(e){return e.start.row+":"+e.start.column+"=>"+e.end.row+":"+e.end.column}function c(e,t){var n="insert"==e.action,i="insert"==t.action;if(n&&i)if(r(t.start,e.end)>=0)d(t,e,-1);else{if(!(r(t.start,e.start)<=0))return null;d(e,t,1)}else if(n&&!i)if(r(t.start,e.end)>=0)d(t,e,-1);else{if(!(r(t.end,e.start)<=0))return null;d(e,t,-1)}else if(!n&&i)if(r(t.start,e.start)>=0)d(t,e,1);else{if(!(r(t.start,e.start)<=0))return null;d(e,t,1)}else if(!n&&!i)if(r(t.start,e.start)>=0)d(t,e,1);else{if(!(r(t.end,e.start)<=0))return null;d(e,t,-1)}return[t,e]}function h(e,t){for(var n=e.length;n--;)for(var i=0;i=0?d(e,t,-1):(r(e.start,t.start)<=0||d(e,o.fromPoints(t.start,e.start),-1),d(t,e,1));else if(!n&&i)r(t.start,e.end)>=0?d(t,e,-1):(r(t.start,e.start)<=0||d(t,o.fromPoints(e.start,t.start),-1),d(e,t,1));else if(!n&&!i)if(r(t.start,e.end)>=0)d(t,e,-1);else{var s,a;if(!(r(t.end,e.start)<=0))return r(e.start,t.start)<0&&(s=e,e=p(e,t.start)),r(e.end,t.end)>0&&(a=p(e,t.end)),g(t.end,e.start,e.end,-1),a&&!s&&(e.lines=a.lines,e.start=a.start,e.end=a.end,a=e),[t,s,a].filter(Boolean);d(e,t,-1)}return[t,e]}function d(e,t,n){g(e.start,t.start,t.end,n),g(e.end,t.start,t.end,n)}function g(e,t,n,i){e.row==(1==i?t:n).row&&(e.column+=i*(n.column-t.column)),e.row+=i*(n.row-t.row)}function p(e,t){var n=e.lines,i=e.end;e.end=s(t);var o=e.end.row-e.start.row,r=n.splice(o,n.length),a=o?t.column:t.column-e.start.column;return n.push(r[0].substring(0,a)),r[0]=r[0].substr(a),{start:s(t),end:i,lines:r,action:e.action}}function f(e,t){t=function(e){return{start:s(e.start),end:s(e.end),action:e.action,lines:e.lines.slice()}}(t);for(var n=e.length;n--;){for(var i=e[n],o=0;othis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(e),this.folds.sort((function(e,t){return-e.range.compareEnd(t.start.row,t.start.column)})),this.range.compareEnd(e.start.row,e.start.column)>0?(this.end.row=e.end.row,this.end.column=e.end.column):this.range.compareStart(e.end.row,e.end.column)<0&&(this.start.row=e.start.row,this.start.column=e.start.column)}else if(e.start.row==this.end.row)this.folds.push(e),this.end.row=e.end.row,this.end.column=e.end.column;else{if(e.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(e),this.start.row=e.start.row,this.start.column=e.start.column}e.foldLine=this},e.prototype.containsRow=function(e){return e>=this.start.row&&e<=this.end.row},e.prototype.walk=function(e,t,n){var i,o,r=0,s=this.folds,a=!0;null==t&&(t=this.end.row,n=this.end.column);for(var l=0;l0)){var l=i(e,s.start);return 0===a?t&&0!==l?-r-2:r:l>0||0===l&&!t?r:-r-1}}return-r-1},e.prototype.add=function(e){var t=!e.isEmpty(),n=this.pointIndex(e.start,t);n<0&&(n=-n-1);var i=this.pointIndex(e.end,t,n);return i<0?i=-i-1:i++,this.ranges.splice(n,i-n,e)},e.prototype.addList=function(e){for(var t=[],n=e.length;n--;)t.push.apply(t,this.add(e[n]));return t},e.prototype.substractPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges.splice(t,1)},e.prototype.merge=function(){for(var e,t=[],n=this.ranges,o=(n=n.sort((function(e,t){return i(e.start,t.start)})))[0],r=1;r=0},e.prototype.containsPoint=function(e){return this.pointIndex(e)>=0},e.prototype.rangeAtPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges[t]},e.prototype.clipRows=function(e,t){var n=this.ranges;if(n[0].start.row>t||n[n.length-1].start.row=i);s++);if("insert"==e.action){for(var l=o-i,c=-t.column+n.column;si);s++)if(h.start.row==i&&h.start.column>=t.column&&(h.start.column==t.column&&this.$bias<=0||(h.start.column+=c,h.start.row+=l)),h.end.row==i&&h.end.column>=t.column){if(h.end.column==t.column&&this.$bias<0)continue;h.end.column==t.column&&c>0&&sh.start.column&&h.end.column==r[s+1].start.column&&(h.end.column-=c),h.end.column+=c,h.end.row+=l}}else for(l=i-o,c=t.column-n.column;so);s++)h.end.rowt.column)&&(h.end.column=t.column,h.end.row=t.row):(h.end.column+=c,h.end.row+=l):h.end.row>o&&(h.end.row+=l),h.start.rowt.column)&&(h.start.column=t.column,h.start.row=t.row):(h.start.column+=c,h.start.row+=l):h.start.row>o&&(h.start.row+=l);if(0!=l&&s=e)return o;if(o.end.row>e)return null}return null},this.getNextFoldLine=function(e,t){var n=this.$foldData,i=0;for(t&&(i=n.indexOf(t)),-1==i&&(i=0);i=e)return o}return null},this.getFoldedRowCount=function(e,t){for(var n=this.$foldData,i=t-e+1,o=0;o=t){a=e?i-=t-a:i=0);break}s>=e&&(i-=a>=e?s-a:s-e+1)}return i},this.$addFoldLine=function(e){return this.$foldData.push(e),this.$foldData.sort((function(e,t){return e.start.row-t.start.row})),e},this.addFold=function(e,t){var n,i=this.$foldData,s=!1;e instanceof r?n=e:(n=new r(t,e)).collapseChildren=t.collapseChildren,this.$clipRangeToDocument(n.range);var a=n.start.row,l=n.start.column,c=n.end.row,h=n.end.column,u=this.getFoldAt(a,l,1),d=this.getFoldAt(c,h,-1);if(u&&d==u)return u.addSubFold(n);u&&!u.range.isStart(a,l)&&this.removeFold(u),d&&!d.range.isEnd(c,h)&&this.removeFold(d);var g=this.getFoldsInRange(n.range);g.length>0&&(this.removeFolds(g),n.collapseChildren||g.forEach((function(e){n.addSubFold(e)})));for(var p=0;p0&&this.foldAll(e.start.row+1,e.end.row,e.collapseChildren-1),e.subFolds=[]},this.expandFolds=function(e){e.forEach((function(e){this.expandFold(e)}),this)},this.unfold=function(e,t){var n,o;if(null==e)n=new i(0,0,this.getLength(),0),null==t&&(t=!0);else if("number"==typeof e)n=new i(e,0,e,this.getLine(e).length);else if("row"in e)n=i.fromPoints(e,e);else{if(Array.isArray(e))return o=[],e.forEach((function(e){o=o.concat(this.unfold(e))}),this),o;n=e}for(var r=o=this.getFoldsInRangeList(n);1==o.length&&i.comparePoints(o[0].start,n.start)<0&&i.comparePoints(o[0].end,n.end)>0;)this.expandFolds(o),o=this.getFoldsInRangeList(n);if(0!=t?this.removeFolds(o):this.expandFolds(o),r.length)return r},this.isRowFolded=function(e,t){return!!this.getFoldLine(e,t)},this.getRowFoldEnd=function(e,t){var n=this.getFoldLine(e,t);return n?n.end.row:e},this.getRowFoldStart=function(e,t){var n=this.getFoldLine(e,t);return n?n.start.row:e},this.getFoldDisplayLine=function(e,t,n,i,o){null==i&&(i=e.start.row),null==o&&(o=0),null==t&&(t=e.end.row),null==n&&(n=this.getLine(t).length);var r=this.doc,s="";return e.walk((function(e,t,n,a){if(!(tu)break}while(r&&l.test(r.type));r=o.stepBackward()}else r=o.getCurrentToken();return c.end.row=o.getCurrentTokenRow(),c.end.column=o.getCurrentTokenColumn(),c}},this.foldAll=function(e,t,n,i){null==n&&(n=1e5);var o=this.foldWidgets;if(o){t=t||this.getLength();for(var r=e=e||0;r=e&&(r=s.end.row,s.collapseChildren=n,this.addFold("...",s))}}},this.foldToLevel=function(e){for(this.foldAll();e-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var e=this;this.foldAll(null,null,null,(function(t){for(var n=e.getTokens(t),i=0;i=0;){var r=n[o];if(null==r&&(r=n[o]=this.getFoldWidget(o)),"start"==r){var s=this.getFoldWidgetRange(o);if(i||(i=s),s&&s.end.row>=e)break}o--}return{range:-1!==o&&s,firstRange:i}},this.onFoldWidgetClick=function(e,t){t instanceof a&&(t=t.domEvent);var n={children:t.shiftKey,all:t.ctrlKey||t.metaKey,siblings:t.altKey};if(!this.$toggleFoldWidget(e,n)){var i=t.target||t.srcElement;i&&/ace_fold-widget/.test(i.className)&&(i.className+=" ace_invalid")}},this.$toggleFoldWidget=function(e,t){if(this.getFoldWidget){var n=this.getFoldWidget(e),i=this.getLine(e),o="end"===n?-1:1,r=this.getFoldAt(e,-1===o?0:i.length,o);if(r)return t.children||t.all?this.removeFold(r):this.expandFold(r),r;var s=this.getFoldWidgetRange(e,!0);if(s&&!s.isMultiLine()&&(r=this.getFoldAt(s.start.row,s.start.column,1))&&s.isEqual(r.range))return this.removeFold(r),r;if(t.siblings){var a=this.getParentFoldRangeData(e);if(a.range)var l=a.range.start.row+1,c=a.range.end.row;this.foldAll(l,c,t.all?1e4:0)}else t.children?(c=s?s.end.row:this.getLength(),this.foldAll(e+1,c,t.all?1e4:0)):s&&(t.all&&(s.collapseChildren=1e4),this.addFold("...",s));return s}},this.toggleFoldWidget=function(e){var t=this.selection.getCursor().row;t=this.getRowFoldStart(t);var n=this.$toggleFoldWidget(t,{});if(!n){var i=this.getParentFoldRangeData(t,!0);if(n=i.range||i.firstRange){t=n.start.row;var o=this.getFoldAt(t,this.getLine(t).length,1);o?this.removeFold(o):this.addFold("...",n)}}},this.updateFoldWidgets=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.foldWidgets[t]=null;else if("remove"==e.action)this.foldWidgets.splice(t,n+1,null);else{var i=Array(n+1);i.unshift(t,1),this.foldWidgets.splice.apply(this.foldWidgets,i)}},this.tokenizerUpdateFoldWidgets=function(e){var t=e.data;t.first!=t.last&&this.foldWidgets.length>t.first&&this.foldWidgets.splice(t.first,this.foldWidgets.length)}}})),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],(function(e,t,n){var i=e("../token_iterator").TokenIterator,o=e("../range").Range;t.BracketMatch=function(){this.findMatchingBracket=function(e,t){if(0==e.column)return null;var n=t||this.getLine(e.row).charAt(e.column-1);if(""==n)return null;var i=n.match(/([\(\[\{])|([\)\]\}])/);return i?i[1]?this.$findClosingBracket(i[1],e):this.$findOpeningBracket(i[2],e):null},this.getBracketRange=function(e){var t,n=this.getLine(e.row),i=!0,r=n.charAt(e.column-1),s=r&&r.match(/([\(\[\{])|([\)\]\}])/);if(s||(r=n.charAt(e.column),e={row:e.row,column:e.column+1},s=r&&r.match(/([\(\[\{])|([\)\]\}])/),i=!1),!s)return null;if(s[1]){if(!(a=this.$findClosingBracket(s[1],e)))return null;t=o.fromPoints(e,a),i||(t.end.column++,t.start.column--),t.cursor=t.end}else{var a;if(!(a=this.$findOpeningBracket(s[2],e)))return null;t=o.fromPoints(a,e),i||(t.start.column++,t.end.column--),t.cursor=t.start}return t},this.getMatchingBracketRanges=function(e,t){var n=this.getLine(e.row),i=/([\(\[\{])|([\)\]\}])/,r=!t&&n.charAt(e.column-1),s=r&&r.match(i);if(s||(r=(void 0===t||t)&&n.charAt(e.column),e={row:e.row,column:e.column+1},s=r&&r.match(i)),!s)return null;var a=new o(e.row,e.column-1,e.row,e.column),l=s[1]?this.$findClosingBracket(s[1],e):this.$findOpeningBracket(s[2],e);return l?[a,new o(l.row,l.column,l.row,l.column+1)]:[a]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(e,t,n){var o=this.$brackets[e],r=1,s=new i(this,t.row,t.column),a=s.getCurrentToken();if(a||(a=s.stepForward()),a){n||(n=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)").replace(/-close\b/,"-(close|open)")+")+"));for(var l=t.column-s.getCurrentTokenColumn()-2,c=a.value;;){for(;l>=0;){var h=c.charAt(l);if(h==o){if(0==(r-=1))return{row:s.getCurrentTokenRow(),column:l+s.getCurrentTokenColumn()}}else h==e&&(r+=1);l-=1}do{a=s.stepBackward()}while(a&&!n.test(a.type));if(null==a)break;l=(c=a.value).length-1}return null}},this.$findClosingBracket=function(e,t,n){var o=this.$brackets[e],r=1,s=new i(this,t.row,t.column),a=s.getCurrentToken();if(a||(a=s.stepForward()),a){n||(n=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)").replace(/-open\b/,"-(close|open)")+")+"));for(var l=t.column-s.getCurrentTokenColumn();;){for(var c=a.value,h=c.length;l"===t.value?i=!0:-1!==t.type.indexOf("tag-name")&&(n=!0))}while(t&&!n);return t},this.$findClosingTag=function(e,t){var n,i=t.value,r=t.value,s=0,a=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);t=e.stepForward();var l=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+t.value.length),c=!1;do{if(-1!==(n=t).type.indexOf("tag-close")&&!c){var h=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);c=!0}if(t=e.stepForward())if(">"!==t.value||c||(h=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1),c=!0),-1!==t.type.indexOf("tag-name")){if(r===(i=t.value))if("<"===n.value)s++;else if(""!==t.value)return;var g=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1)}}else r===i&&"/>"===t.value&&--s<0&&(g=d=u=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+2),h=new o(l.end.row,l.end.column,l.end.row,l.end.column+1))}while(t&&s>=0);if(a&&h&&u&&g&&l&&d)return{openTag:new o(a.start.row,a.start.column,h.end.row,h.end.column),closeTag:new o(u.start.row,u.start.column,g.end.row,g.end.column),openTagName:l,closeTagName:d}},this.$findOpeningTag=function(e,t){var n=e.getCurrentToken(),i=t.value,r=0,s=e.getCurrentTokenRow(),a=e.getCurrentTokenColumn(),l=a+2,c=new o(s,a,s,l);e.stepForward();var h=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+t.value.length);if(-1===t.type.indexOf("tag-close")&&(t=e.stepForward()),t&&">"===t.value){var u=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);e.stepBackward(),e.stepBackward();do{if(t=n,s=e.getCurrentTokenRow(),l=(a=e.getCurrentTokenColumn())+t.value.length,n=e.stepBackward(),t)if(-1!==t.type.indexOf("tag-name")){if(i===t.value)if("<"===n.value){if(++r>0){var d=new o(s,a,s,l),g=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);do{t=e.stepForward()}while(t&&">"!==t.value);var p=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1)}}else""===t.value){for(var f=0,m=n;m;){if(-1!==m.type.indexOf("tag-name")&&m.value===i){r--;break}if("<"===m.value)break;m=e.stepBackward(),f++}for(var y=0;yn&&(this.$docRowCache.splice(n,t),this.$screenRowCache.splice(n,t))},e.prototype.$getRowCacheIndex=function(e,t){for(var n=0,i=e.length-1;n<=i;){var o=n+i>>1,r=e[o];if(t>r)n=o+1;else{if(!(t=t);r++);return(n=i[r])?(n.index=r,n.start=o-n.value.length,n):null},e.prototype.setUndoManager=function(e){if(this.$undoManager=e,this.$informUndoManager&&this.$informUndoManager.cancel(),e){var t=this;e.addSession(this),this.$syncInformUndoManager=function(){t.$informUndoManager.cancel(),t.mergeUndoDeltas=!1},this.$informUndoManager=o.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},e.prototype.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},e.prototype.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},e.prototype.getTabString=function(){return this.getUseSoftTabs()?o.stringRepeat(" ",this.getTabSize()):"\t"},e.prototype.setUseSoftTabs=function(e){this.setOption("useSoftTabs",e)},e.prototype.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},e.prototype.setTabSize=function(e){this.setOption("tabSize",e)},e.prototype.getTabSize=function(){return this.$tabSize},e.prototype.isTabStop=function(e){return this.$useSoftTabs&&e.column%this.$tabSize==0},e.prototype.setNavigateWithinSoftTabs=function(e){this.setOption("navigateWithinSoftTabs",e)},e.prototype.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},e.prototype.setOverwrite=function(e){this.setOption("overwrite",e)},e.prototype.getOverwrite=function(){return this.$overwrite},e.prototype.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},e.prototype.addGutterDecoration=function(e,t){this.$decorations[e]||(this.$decorations[e]=""),this.$decorations[e]+=" "+t,this._signal("changeBreakpoint",{})},e.prototype.removeGutterDecoration=function(e,t){this.$decorations[e]=(this.$decorations[e]||"").replace(" "+t,""),this._signal("changeBreakpoint",{})},e.prototype.getBreakpoints=function(){return this.$breakpoints},e.prototype.setBreakpoints=function(e){this.$breakpoints=[];for(var t=0;t0&&(i=!!n.charAt(t-1).match(this.tokenRe)),i||(i=!!n.charAt(t).match(this.tokenRe)),i)var o=this.tokenRe;else o=/^\s+$/.test(n.slice(t-1,t+1))?/\s/:this.nonTokenRe;var r=t;if(r>0){do{r--}while(r>=0&&n.charAt(r).match(o));r++}for(var s=t;se&&(e=t.screenWidth)})),this.lineWidgetWidth=e},e.prototype.$computeWidth=function(e){if(this.$modified||e){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var t=this.doc.getAllLines(),n=this.$rowLengthCache,i=0,o=0,r=this.$foldData[o],s=r?r.start.row:1/0,a=t.length,l=0;ls){if((l=r.end.row+1)>=a)break;s=(r=this.$foldData[o++])?r.start.row:1/0}null==n[l]&&(n[l]=this.$getStringScreenWidth(t[l])[0]),n[l]>i&&(i=n[l])}this.screenWidth=i}},e.prototype.getLine=function(e){return this.doc.getLine(e)},e.prototype.getLines=function(e,t){return this.doc.getLines(e,t)},e.prototype.getLength=function(){return this.doc.getLength()},e.prototype.getTextRange=function(e){return this.doc.getTextRange(e||this.selection.getRange())},e.prototype.insert=function(e,t){return this.doc.insert(e,t)},e.prototype.remove=function(e){return this.doc.remove(e)},e.prototype.removeFullLines=function(e,t){return this.doc.removeFullLines(e,t)},e.prototype.undoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=e.length-1;-1!=n;n--){var i=e[n];"insert"==i.action||"remove"==i.action?this.doc.revertDelta(i):i.folds&&this.addFolds(i.folds)}!t&&this.$undoSelect&&(e.selectionBefore?this.selection.fromJSON(e.selectionBefore):this.selection.setRange(this.$getUndoSelection(e,!0))),this.$fromUndo=!1}},e.prototype.redoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=0;ne.end.column&&(r.start.column+=c),r.end.row==e.end.row&&r.end.column>e.end.column&&(r.end.column+=c)),s&&r.start.row>=e.end.row&&(r.start.row+=s,r.end.row+=s)}if(r.end=this.insert(r.start,i),o.length){var a=e.start,l=r.start,c=(s=l.row-a.row,l.column-a.column);this.addFolds(o.map((function(e){return(e=e.clone()).start.row==a.row&&(e.start.column+=c),e.end.row==a.row&&(e.end.column+=c),e.start.row+=s,e.end.row+=s,e})))}return r},e.prototype.indentRows=function(e,t,n){n=n.replace(/\t/g,this.getTabString());for(var i=e;i<=t;i++)this.doc.insertInLine({row:i,column:0},n)},e.prototype.outdentRows=function(e){for(var t=e.collapseRows(),n=new h(0,0,0,0),i=this.getTabSize(),o=t.start.row;o<=t.end.row;++o){var r=this.getLine(o);n.start.row=o,n.end.row=o;for(var s=0;s0){var o;if((o=this.getRowFoldEnd(t+n))>this.doc.getLength()-1)return 0;i=o-t}else e=this.$clipRowToDocument(e),i=(t=this.$clipRowToDocument(t))-e+1;var r=new h(e,0,t,Number.MAX_VALUE),s=this.getFoldsInRange(r).map((function(e){return(e=e.clone()).start.row+=i,e.end.row+=i,e})),a=0==n?this.doc.getLines(e,t):this.doc.removeFullLines(e,t);return this.doc.insertFullLines(e+i,a),s.length&&this.addFolds(s),i},e.prototype.moveLinesUp=function(e,t){return this.$moveLines(e,t,-1)},e.prototype.moveLinesDown=function(e,t){return this.$moveLines(e,t,1)},e.prototype.duplicateLines=function(e,t){return this.$moveLines(e,t,0)},e.prototype.$clipRowToDocument=function(e){return Math.max(0,Math.min(e,this.doc.getLength()-1))},e.prototype.$clipColumnToRow=function(e,t){return t<0?0:Math.min(this.doc.getLine(e).length,t)},e.prototype.$clipPositionToDocument=function(e,t){if(t=Math.max(0,t),e<0)e=0,t=0;else{var n=this.doc.getLength();e>=n?(e=n-1,t=this.doc.getLine(n-1).length):t=Math.min(this.doc.getLine(e).length,t)}return{row:e,column:t}},e.prototype.$clipRangeToDocument=function(e){e.start.row<0?(e.start.row=0,e.start.column=0):e.start.column=this.$clipColumnToRow(e.start.row,e.start.column);var t=this.doc.getLength()-1;return e.end.row>t?(e.end.row=t,e.end.column=this.doc.getLine(t).length):e.end.column=this.$clipColumnToRow(e.end.row,e.end.column),e},e.prototype.setUseWrapMode=function(e){if(e!=this.$useWrapMode){if(this.$useWrapMode=e,this.$modified=!0,this.$resetRowCache(0),e){var t=this.getLength();this.$wrapData=Array(t),this.$updateWrapData(0,t-1)}this._signal("changeWrapMode")}},e.prototype.getUseWrapMode=function(){return this.$useWrapMode},e.prototype.setWrapLimitRange=function(e,t){this.$wrapLimitRange.min===e&&this.$wrapLimitRange.max===t||(this.$wrapLimitRange={min:e,max:t},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},e.prototype.adjustWrapLimit=function(e,t){var n=this.$wrapLimitRange;n.max<0&&(n={min:t,max:t});var i=this.$constrainWrapLimit(e,n.min,n.max);return i!=this.$wrapLimit&&i>1&&(this.$wrapLimit=i,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},e.prototype.$constrainWrapLimit=function(e,t,n){return t&&(e=Math.max(t,e)),n&&(e=Math.min(n,e)),e},e.prototype.getWrapLimit=function(){return this.$wrapLimit},e.prototype.setWrapLimit=function(e){this.setWrapLimitRange(e,e)},e.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},e.prototype.$updateInternalDataOnChange=function(e){var t=this.$useWrapMode,n=e.action,i=e.start,o=e.end,r=i.row,s=o.row,a=s-r,l=null;if(this.$updating=!0,0!=a)if("remove"===n){this[t?"$wrapData":"$rowLengthCache"].splice(r,a);var c=this.$foldData;l=this.getFoldsInRange(e),this.removeFolds(l);var h=0;if(f=this.getFoldLine(o.row)){f.addRemoveChars(o.row,o.column,i.column-o.column),f.shiftRow(-a);var u=this.getFoldLine(r);u&&u!==f&&(u.merge(f),f=u),h=c.indexOf(f)+1}for(;h=o.row&&f.shiftRow(-a);s=r}else{var d=Array(a);d.unshift(r,0);var g=t?this.$wrapData:this.$rowLengthCache;if(g.splice.apply(g,d),c=this.$foldData,h=0,f=this.getFoldLine(r)){var p=f.range.compareInside(i.row,i.column);0==p?(f=f.split(i.row,i.column))&&(f.shiftRow(a),f.addRemoveChars(s,0,o.column-i.column)):-1==p&&(f.addRemoveChars(r,0,o.column-i.column),f.shiftRow(a)),h=c.indexOf(f)+1}for(;h=r&&f.shiftRow(a)}}else a=Math.abs(e.start.column-e.end.column),"remove"===n&&(l=this.getFoldsInRange(e),this.removeFolds(l),a=-a),(f=this.getFoldLine(r))&&f.addRemoveChars(r,i.column,a);return t&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,t?this.$updateWrapData(r,s):this.$updateRowLengthCache(r,s),l},e.prototype.$updateRowLengthCache=function(e,t){this.$rowLengthCache[e]=null,this.$rowLengthCache[t]=null},e.prototype.$updateWrapData=function(e,t){var n,i,o=this.doc.getAllLines(),r=this.getTabSize(),s=this.$wrapData,a=this.$wrapLimit,l=e;for(t=Math.min(t,o.length-1);l<=t;)(i=this.getFoldLine(l,i))?(n=[],i.walk(function(e,t,i,r){var s;if(null!=e){(s=this.$getDisplayTokens(e,n.length))[0]=v;for(var a=1;at-u;){var d=r+t-u;if(e[d-1]>=$&&e[d]>=$)h(d);else if(e[d]!=v&&e[d]!=w){for(var g=Math.max(d-(t-(t>>2)),r-1);d>g&&e[d]g&&e[d]g&&e[d]==b;)d--}else for(;d>g&&e[d]<$;)d--;d>g?h(++d):(e[d=r+t]==y&&d--,h(d-u))}else{for(;d!=r-1&&e[d]!=v;d--);if(d>r){h(d);continue}for(d=r+t;d39&&r<48||r>57&&r<64?i.push(b):r>=4352&&x(r)?i.push(m,y):i.push(m)}return i},e.prototype.$getStringScreenWidth=function(e,t,n){if(0==t)return[0,0];var i,o;for(null==t&&(t=1/0),n=n||0,o=0;o=4352&&x(i)?n+=2:n+=1,!(n>t));o++);return[n,o]},e.prototype.getRowLength=function(e){var t=1;return this.lineWidgets&&(t+=this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0),this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+t:t},e.prototype.getRowLineCount=function(e){return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1:1},e.prototype.getRowWrapIndent=function(e){if(this.$useWrapMode){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE),n=this.$wrapData[t.row];return n.length&&n[0]=0){a=c[h],r=this.$docRowCache[h];var d=e>c[u-1]}else d=!u;for(var g=this.getLength()-1,p=this.getNextFoldLine(r),f=p?p.start.row:1/0;a<=e&&!(a+(l=this.getRowLength(r))>e||r>=g);)a+=l,++r>f&&(r=p.end.row+1,f=(p=this.getNextFoldLine(r,p))?p.start.row:1/0),d&&(this.$docRowCache.push(r),this.$screenRowCache.push(a));if(p&&p.start.row<=r)i=this.getFoldDisplayLine(p),r=p.start.row;else{if(a+l<=e||r>g)return{row:g,column:this.getLine(g).length};i=this.getLine(r),p=null}var m=0,y=Math.floor(e-a);if(this.$useWrapMode){var v=this.$wrapData[r];v&&(o=v[y],y>0&&v.length&&(m=v.indent,s=v[y-1]||v[v.length-1],i=i.substring(s)))}return void 0!==n&&this.$bidiHandler.isBidiRow(a+y,r,y)&&(t=this.$bidiHandler.offsetToCol(n)),s+=this.$getStringScreenWidth(i,t-m)[1],this.$useWrapMode&&s>=o&&(s=o-1),p?p.idxToPosition(s):{row:r,column:s}},e.prototype.documentToScreenPosition=function(e,t){if(void 0===t)var n=this.$clipPositionToDocument(e.row,e.column);else n=this.$clipPositionToDocument(e,t);e=n.row,t=n.column;var i,o=0,r=null;(i=this.getFoldAt(e,t,1))&&(e=i.start.row,t=i.start.column);var s,a=0,l=this.$docRowCache,c=this.$getRowCacheIndex(l,e),h=l.length;if(h&&c>=0){a=l[c],o=this.$screenRowCache[c];var u=e>l[h-1]}else u=!h;for(var d=this.getNextFoldLine(a),g=d?d.start.row:1/0;a=g){if((s=d.end.row+1)>e)break;g=(d=this.getNextFoldLine(s,d))?d.start.row:1/0}else s=a+1;o+=this.getRowLength(a),a=s,u&&(this.$docRowCache.push(a),this.$screenRowCache.push(o))}var p="";d&&a>=g?(p=this.getFoldDisplayLine(d,e,t),r=d.start.row):(p=this.getLine(e).substring(0,t),r=e);var f=0;if(this.$useWrapMode){var m=this.$wrapData[r];if(m){for(var y=0;p.length>=m[y];)o++,y++;p=p.substring(m[y-1]||0,p.length),f=y>0?m.indent:0}}return this.lineWidgets&&this.lineWidgets[a]&&this.lineWidgets[a].rowsAbove&&(o+=this.lineWidgets[a].rowsAbove),{row:o,column:f+this.$getStringScreenWidth(p)[0]}},e.prototype.documentToScreenColumn=function(e,t){return this.documentToScreenPosition(e,t).column},e.prototype.documentToScreenRow=function(e,t){return this.documentToScreenPosition(e,t).row},e.prototype.getScreenLength=function(){var e=0,t=null;if(this.$useWrapMode)for(var n=this.$wrapData.length,i=0,o=(a=0,(t=this.$foldData[a++])?t.start.row:1/0);io&&(i=t.end.row+1,o=(t=this.$foldData[a++])?t.start.row:1/0)}else{e=this.getLength();for(var s=this.$foldData,a=0;an);r++);return[i,r]})},e.prototype.getPrecedingCharacter=function(){var e=this.selection.getCursor();return 0===e.column?0===e.row?"":this.doc.getNewLineCharacter():this.getLine(e.row)[e.column-1]},e.prototype.destroy=function(){this.destroyed||(this.bgTokenizer.setDocument(null),this.bgTokenizer.cleanup(),this.destroyed=!0),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection.detach()},e}();f.$uid=0,f.prototype.$modes=s.$modes,f.prototype.getValue=f.prototype.toString,f.prototype.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},f.prototype.$overwrite=!1,f.prototype.$mode=null,f.prototype.$modeId=null,f.prototype.$scrollTop=0,f.prototype.$scrollLeft=0,f.prototype.$wrapLimit=80,f.prototype.$useWrapMode=!1,f.prototype.$wrapLimitRange={min:null,max:null},f.prototype.lineWidgets=null,f.prototype.isFullWidth=x,i.implement(f.prototype,a);var m=1,y=2,v=3,w=4,b=9,$=10,C=11,S=12;function x(e){return!(e<4352)&&(e>=4352&&e<=4447||e>=4515&&e<=4519||e>=4602&&e<=4607||e>=9001&&e<=9002||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12283||e>=12288&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12589||e>=12593&&e<=12686||e>=12688&&e<=12730||e>=12736&&e<=12771||e>=12784&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=13054||e>=13056&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=55216&&e<=55238||e>=55243&&e<=55291||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=65281&&e<=65376||e>=65504&&e<=65510)}e("./edit_session/folding").Folding.call(f.prototype),e("./edit_session/bracket_match").BracketMatch.call(f.prototype),s.defineOptions(f.prototype,"session",{wrap:{set:function(e){if(e&&"off"!=e?"free"==e?e=!0:"printMargin"==e?e=-1:"string"==typeof e&&(e=parseInt(e,10)||!1):e=!1,this.$wrap!=e)if(this.$wrap=e,e){var t="number"==typeof e?e:null;this.setWrapLimitRange(t,t),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?-1==this.$wrap?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(e){(e="auto"==e?"text"!=this.$mode.type:"text"!=e)!=this.$wrapAsCode&&(this.$wrapAsCode=e,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(e){this.$useWorker=e,this.$stopWorker(),e&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(e){(e=parseInt(e))>0&&this.$tabSize!==e&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=e,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(e){this.setFoldStyle(e)},handlesSet:!0},overwrite:{set:function(e){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(e){this.doc.setNewLineMode(e)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(e){this.setMode(e)},get:function(){return this.$modeId},handlesSet:!0}}),t.EditSession=f})),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(e,t,n){var i=e("./lib/lang"),o=e("./lib/oop"),r=e("./range").Range,s=function(){function e(){this.$options={}}return e.prototype.set=function(e){return o.mixin(this.$options,e),this},e.prototype.getOptions=function(){return i.copyObject(this.$options)},e.prototype.setOptions=function(e){this.$options=e},e.prototype.find=function(e){var t=this.$options,n=this.$matchIterator(e,t);if(!n)return!1;var i=null;return n.forEach((function(e,n,o,s){return i=new r(e,n,o,s),!(n==s&&t.start&&t.start.start&&0!=t.skipCurrent&&i.isEqual(t.start)&&(i=null,1))})),i},e.prototype.findAll=function(e){var t=this.$options;if(!t.needle)return[];this.$assembleRegExp(t);var n=t.range,o=n?e.getLines(n.start.row,n.end.row):e.doc.getAllLines(),s=[],a=t.re;if(t.$isMultiLine){var l,c=a.length,h=o.length-c;e:for(var u=a.offset||0;u<=h;u++){for(var d=0;df||(s.push(l=new r(u,f,u+c-1,m)),c>2&&(u=u+c-2))}}else for(var y=0;y$&&s[d].end.row==C;)d--;for(s=s.slice(y,d+1),y=0,d=s.length;y=c;n--)if(g(n,Number.MAX_VALUE,e))return;if(0!=t.wrap)for(n=h,c=l.row;n>=c;n--)if(g(n,Number.MAX_VALUE,e))return}};else u=function(e){var n=l.row;if(!g(n,l.column,e)){for(n+=1;n<=h;n++)if(g(n,0,e))return;if(0!=t.wrap)for(n=c,h=l.row;n<=h;n++)if(g(n,0,e))return}};if(t.$isMultiLine)var d=n.length,g=function(t,i,r){var s=o?t-d+1:t;if(!(s<0||s+d>e.getLength())){var a=e.getLine(s),l=a.search(n[0]);if(!(!o&&li))return!!r(s,l,s+d-1,h)||void 0}}};else g=o?function(t,o,r){var a,l=e.getLine(t),c=[],h=0;for(n.lastIndex=0;a=n.exec(l);){var u=a[0].length;if(h=a.index,!u){if(h>=l.length)break;n.lastIndex=h+=i.skipEmptyMatch(l,h,s)}if(a.index+u>o)break;c.push(a.index,u)}for(var d=c.length-1;d>=0;d-=2){var g=c[d-1];if(r(t,g,t,g+(u=c[d])))return!0}}:function(t,o,r){var a,l,c=e.getLine(t);for(n.lastIndex=o;l=n.exec(c);){var h=l[0].length;if(r(t,a=l.index,t,a+h))return!0;if(!h&&(n.lastIndex=a+=i.skipEmptyMatch(c,a,s),a>=c.length))return!1}};return{forEach:u}},e}();t.Search=s})),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=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])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=e("../lib/keys"),s=e("../lib/useragent"),a=r.KEY_MODS,l=function(){function e(e,t){this.$init(e,t,!1)}return e.prototype.$init=function(e,t,n){this.platform=t||(s.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=n},e.prototype.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},e.prototype.removeCommand=function(e,t){var n=e&&("string"==typeof e?e:e.name);e=this.commands[n],t||delete this.commands[n];var i=this.commandKeyBinding;for(var o in i){var r=i[o];if(r==e)delete i[o];else if(Array.isArray(r)){var s=r.indexOf(e);-1!=s&&(r.splice(s,1),1==r.length&&(i[o]=r[0]))}}},e.prototype.bindKey=function(e,t,n){if("object"==typeof e&&e&&(null==n&&(n=e.position),e=e[this.platform]),e)return"function"==typeof t?this.addCommand({exec:t,bindKey:e,name:t.name||e}):void e.split("|").forEach((function(e){var i="";if(-1!=e.indexOf(" ")){var o=e.split(/\s+/);e=o.pop(),o.forEach((function(e){var t=this.parseKeys(e),n=a[t.hashId]+t.key;i+=(i?" ":"")+n,this._addCommandToBinding(i,"chainKeys")}),this),i+=" "}var r=this.parseKeys(e),s=a[r.hashId]+r.key;this._addCommandToBinding(i+s,t,n)}),this)},e.prototype._addCommandToBinding=function(e,t,n){var i,o=this.commandKeyBinding;if(t)if(!o[e]||this.$singleCommand)o[e]=t;else{Array.isArray(o[e])?-1!=(i=o[e].indexOf(t))&&o[e].splice(i,1):o[e]=[o[e]],"number"!=typeof n&&(n=c(t));var r=o[e];for(i=0;in);i++);r.splice(i,0,t)}else delete o[e]},e.prototype.addCommands=function(e){e&&Object.keys(e).forEach((function(t){var n=e[t];if(n){if("string"==typeof n)return this.bindKey(n,t);"function"==typeof n&&(n={exec:n}),"object"==typeof n&&(n.name||(n.name=t),this.addCommand(n))}}),this)},e.prototype.removeCommands=function(e){Object.keys(e).forEach((function(t){this.removeCommand(e[t])}),this)},e.prototype.bindKeys=function(e){Object.keys(e).forEach((function(t){this.bindKey(t,e[t])}),this)},e.prototype._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},e.prototype.parseKeys=function(e){var t=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter((function(e){return e})),n=t.pop(),i=r[n];if(r.FUNCTION_KEYS[i])n=r.FUNCTION_KEYS[i].toLowerCase();else{if(!t.length)return{key:n,hashId:-1};if(1==t.length&&"shift"==t[0])return{key:n.toUpperCase(),hashId:-1}}for(var o=0,s=t.length;s--;){var a=r.KEY_MODS[t[s]];if(null==a)return"undefined"!=typeof console&&console.error("invalid modifier "+t[s]+" in "+e),!1;o|=a}return{key:n,hashId:o}},e.prototype.findKeyCommand=function(e,t){var n=a[e]+t;return this.commandKeyBinding[n]},e.prototype.handleKeyboard=function(e,t,n,i){if(!(i<0)){var o=a[t]+n,r=this.commandKeyBinding[o];return e.$keyChain&&(e.$keyChain+=" "+o,r=this.commandKeyBinding[e.$keyChain]||r),!r||"chainKeys"!=r&&"chainKeys"!=r[r.length-1]?(e.$keyChain&&(t&&4!=t||1!=n.length?(-1==t||i>0)&&(e.$keyChain=""):e.$keyChain=e.$keyChain.slice(0,-o.length-1)),{command:r}):(e.$keyChain=e.$keyChain||o,{command:"null"})}},e.prototype.getStatusText=function(e,t){return t.$keyChain||""},e}();function c(e){return"object"==typeof e&&e.bindKey&&e.bindKey.position||(e.isDefault?-100:0)}var h=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.$singleCommand=!0,i}return o(t,e),t}(l);h.call=function(e,t,n){l.prototype.$init.call(e,t,n,!0)},l.call=function(e,t,n){l.prototype.$init.call(e,t,n,!1)},t.HashHandler=h,t.MultiHashHandler=l})),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],(function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=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])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=e("../lib/oop"),s=e("../keyboard/hash_handler").MultiHashHandler,a=e("../lib/event_emitter").EventEmitter,l=function(e){function t(t,n){var i=e.call(this,n,t)||this;return i.byName=i.commands,i.setDefaultHandler("exec",(function(e){return e.args?e.command.exec(e.editor,e.args,e.event,!1):e.command.exec(e.editor,{},e.event,!0)})),i}return o(t,e),t.prototype.exec=function(e,t,n){if(Array.isArray(e)){for(var i=e.length;i--;)if(this.exec(e[i],t,n))return!0;return!1}if("string"==typeof e&&(e=this.commands[e]),!this.canExecute(e,t))return!1;var o={editor:t,command:e,args:n};return o.returnValue=this._emit("exec",o),this._signal("afterExec",o),!1!==o.returnValue},t.prototype.canExecute=function(e,t){return"string"==typeof e&&(e=this.commands[e]),!(!e||t&&t.$readOnly&&!e.readOnly||0!=this.$checkCommandState&&e.isAvailable&&!e.isAvailable(t))},t.prototype.toggleRecording=function(e){if(!this.$inReplay)return e&&e._emit("changeStatus"),this.recording?(this.macro.pop(),this.off("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(e){this.macro.push([e.command,e.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},t.prototype.replay=function(e){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(e);try{this.$inReplay=!0,this.macro.forEach((function(t){"string"==typeof t?this.exec(t,e):this.exec(t[0],e,t[1])}),this)}finally{this.$inReplay=!1}}},t.prototype.trimMacro=function(e){return e.map((function(e){return"string"!=typeof e[0]&&(e[0]=e[0].name),e[1]||(e=e[0]),e}))},t}(s);r.implement(l.prototype,a),t.CommandManager=l})),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],(function(e,t,n){var i=e("../lib/lang"),o=e("../config"),r=e("../range").Range;function s(e,t){return{win:e,mac:t}}t.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:s("Ctrl-,","Command-,"),exec:function(e){o.loadModule("ace/ext/settings_menu",(function(t){t.init(e),e.showSettingsMenu()}))},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:s("Alt-E","F4"),exec:function(e){o.loadModule("ace/ext/error_marker",(function(t){t.showErrorMarker(e,1)}))},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:s("Alt-Shift-E","Shift-F4"),exec:function(e){o.loadModule("ace/ext/error_marker",(function(t){t.showErrorMarker(e,-1)}))},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:s("Ctrl-A","Command-A"),exec:function(e){e.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:s(null,"Ctrl-L"),exec:function(e){e.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:s("Ctrl-L","Command-L"),exec:function(e,t){"number"!=typeof t||isNaN(t)||e.gotoLine(t),e.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:s("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(e){e.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:s("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(e){e.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:s("F2","F2"),exec:function(e){e.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:s("Alt-F2","Alt-F2"),exec:function(e){e.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:s("Alt-0","Command-Option-0"),exec:function(e){e.session.foldAll(),e.session.unfold(e.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:s("Alt-Shift-0","Command-Option-Shift-0"),exec:function(e){e.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:s("Ctrl-K","Command-G"),exec:function(e){e.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:s("Ctrl-Shift-K","Command-Shift-G"),exec:function(e){e.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:s("Alt-K","Ctrl-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:s("Alt-Shift-K","Ctrl-Shift-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:s("Ctrl-F","Command-F"),exec:function(e){o.loadModule("ace/ext/searchbox",(function(t){t.Search(e)}))},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(e){e.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:s("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(e){e.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:s("Ctrl-Home","Command-Home|Command-Up"),exec:function(e){e.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:s("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(e){e.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:s("Up","Up|Ctrl-P"),exec:function(e,t){e.navigateUp(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:s("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(e){e.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:s("Ctrl-End","Command-End|Command-Down"),exec:function(e){e.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:s("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(e){e.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:s("Down","Down|Ctrl-N"),exec:function(e,t){e.navigateDown(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:s("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(e){e.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:s("Ctrl-Left","Option-Left"),exec:function(e){e.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:s("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:s("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(e){e.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:s("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(e){e.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:s("Left","Left|Ctrl-B"),exec:function(e,t){e.navigateLeft(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:s("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(e){e.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:s("Ctrl-Right","Option-Right"),exec:function(e){e.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:s("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:s("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(e){e.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:s("Shift-Right","Shift-Right"),exec:function(e){e.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:s("Right","Right|Ctrl-F"),exec:function(e,t){e.navigateRight(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(e){e.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:s(null,"Option-PageDown"),exec:function(e){e.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:s("PageDown","PageDown|Ctrl-V"),exec:function(e){e.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(e){e.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:s(null,"Option-PageUp"),exec:function(e){e.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(e){e.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:s("Ctrl-Up",null),exec:function(e){e.renderer.scrollBy(0,-2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:s("Ctrl-Down",null),exec:function(e){e.renderer.scrollBy(0,2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:s("Ctrl-Alt-E","Command-Option-E"),exec:function(e){e.commands.toggleRecording(e)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:s("Ctrl-Shift-E","Command-Shift-E"),exec:function(e){e.commands.replay(e)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:s("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(e){e.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:s("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(e){e.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:s("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(e){e.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:s(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(e){},readOnly:!0},{name:"cut",description:"Cut",exec:function(e){var t=e.$copyWithEmptySelection&&e.selection.isEmpty()?e.selection.getLineRange():e.selection.getRange();e._emit("cut",t),t.isEmpty()||e.session.remove(t),e.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(e,t){e.$handlePaste(t)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:s("Ctrl-D","Command-D"),exec:function(e){e.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:s("Ctrl-Shift-D","Command-Shift-D"),exec:function(e){e.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:s("Ctrl-Alt-S","Command-Alt-S"),exec:function(e){e.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:s("Ctrl-/","Command-/"),exec:function(e){e.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:s("Ctrl-Shift-/","Command-Shift-/"),exec:function(e){e.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:s("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(e){e.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:s("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(e){e.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:s("Ctrl-H","Command-Option-F"),exec:function(e){o.loadModule("ace/ext/searchbox",(function(t){t.Search(e,!0)}))}},{name:"undo",description:"Undo",bindKey:s("Ctrl-Z","Command-Z"),exec:function(e){e.undo()}},{name:"redo",description:"Redo",bindKey:s("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(e){e.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:s("Alt-Shift-Up","Command-Option-Up"),exec:function(e){e.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:s("Alt-Up","Option-Up"),exec:function(e){e.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:s("Alt-Shift-Down","Command-Option-Down"),exec:function(e){e.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:s("Alt-Down","Option-Down"),exec:function(e){e.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:s("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(e){e.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:s("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(e){e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:s("Shift-Delete",null),exec:function(e){if(!e.selection.isEmpty())return!1;e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:s("Alt-Backspace","Command-Backspace"),exec:function(e){e.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:s("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(e){e.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:s("Ctrl-Shift-Backspace",null),exec:function(e){var t=e.selection.getRange();t.start.column=0,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:s("Ctrl-Shift-Delete",null),exec:function(e){var t=e.selection.getRange();t.end.column=Number.MAX_VALUE,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:s("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(e){e.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:s("Ctrl-Delete","Alt-Delete"),exec:function(e){e.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:s("Shift-Tab","Shift-Tab"),exec:function(e){e.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:s("Tab","Tab"),exec:function(e){e.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:s("Ctrl-[","Ctrl-["),exec:function(e){e.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:s("Ctrl-]","Ctrl-]"),exec:function(e){e.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(e,t){e.insert(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(e,t){e.insert(i.stringRepeat(t.text||"",t.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:s(null,"Ctrl-O"),exec:function(e){e.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:s("Alt-Shift-X","Ctrl-T"),exec:function(e){e.transposeLetters()},multiSelectAction:function(e){e.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:s("Ctrl-U","Ctrl-U"),exec:function(e){e.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:s("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(e){e.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:s(null,null),exec:function(e){e.autoIndent()},scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:s("Ctrl-Shift-L","Command-Shift-L"),exec:function(e){var t=e.selection.getRange();t.start.column=t.end.column=0,t.end.row++,e.selection.setRange(t,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"openlink",bindKey:s("Ctrl+F3","F3"),exec:function(e){e.openLink()}},{name:"joinlines",description:"Join lines",bindKey:s(null,null),exec:function(e){for(var t=e.selection.isBackwards(),n=t?e.selection.getSelectionLead():e.selection.getSelectionAnchor(),o=t?e.selection.getSelectionAnchor():e.selection.getSelectionLead(),s=e.session.doc.getLine(n.row).length,a=e.session.doc.getTextRange(e.selection.getRange()).replace(/\n\s*/," ").length,l=e.session.doc.getLine(n.row),c=n.row+1;c<=o.row+1;c++){var h=i.stringTrimLeft(i.stringTrimRight(e.session.doc.getLine(c)));0!==h.length&&(h=" "+h),l+=h}o.row+10?(e.selection.moveCursorTo(n.row,n.column),e.selection.selectTo(n.row,n.column+a)):(s=e.session.doc.getLine(n.row).length>s?s+1:s,e.selection.moveCursorTo(n.row,s))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:s(null,null),exec:function(e){var t=e.session.doc.getLength()-1,n=e.session.doc.getLine(t).length,i=e.selection.rangeList.ranges,o=[];i.length<1&&(i=[e.selection.getRange()]);for(var s=0;st[n].column&&n++,r.unshift(n,0),t.splice.apply(t,r),this.$updateRows()}}},e.prototype.$updateRows=function(){var e=this.session.lineWidgets;if(e){var t=!0;e.forEach((function(e,n){if(e)for(t=!1,e.row=n;e.$oldWidget;)e.$oldWidget.row=n,e=e.$oldWidget})),t&&(this.session.lineWidgets=null)}},e.prototype.$registerLineWidget=function(e){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var t=this.session.lineWidgets[e.row];return t&&(e.$oldWidget=t,t.el&&t.el.parentNode&&(t.el.parentNode.removeChild(t.el),t._inDocument=!1)),this.session.lineWidgets[e.row]=e,e},e.prototype.addLineWidget=function(e){if(this.$registerLineWidget(e),e.session=this.session,!this.editor)return e;var t=this.editor.renderer;e.html&&!e.el&&(e.el=i.createElement("div"),e.el.innerHTML=e.html),e.text&&!e.el&&(e.el=i.createElement("div"),e.el.textContent=e.text),e.el&&(i.addCssClass(e.el,"ace_lineWidgetContainer"),e.className&&i.addCssClass(e.el,e.className),e.el.style.position="absolute",e.el.style.zIndex="5",t.container.appendChild(e.el),e._inDocument=!0,e.coverGutter||(e.el.style.zIndex="3"),null==e.pixelHeight&&(e.pixelHeight=e.el.offsetHeight)),null==e.rowCount&&(e.rowCount=e.pixelHeight/t.layerConfig.lineHeight);var n=this.session.getFoldAt(e.row,0);if(e.$fold=n,n){var o=this.session.lineWidgets;e.row!=n.end.row||o[n.start.row]?e.hidden=!0:o[n.start.row]=e}return this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows(),this.renderWidgets(null,t),this.onWidgetChanged(e),e},e.prototype.removeLineWidget=function(e){if(e._inDocument=!1,e.session=null,e.el&&e.el.parentNode&&e.el.parentNode.removeChild(e.el),e.editor&&e.editor.destroy)try{e.editor.destroy()}catch(n){}if(this.session.lineWidgets){var t=this.session.lineWidgets[e.row];if(t==e)this.session.lineWidgets[e.row]=e.$oldWidget,e.$oldWidget&&this.onWidgetChanged(e.$oldWidget);else for(;t;){if(t.$oldWidget==e){t.$oldWidget=e.$oldWidget;break}t=t.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows()},e.prototype.getWidgetsAtRow=function(e){for(var t=this.session.lineWidgets,n=t&&t[e],i=[];n;)i.push(n),n=n.$oldWidget;return i},e.prototype.onWidgetChanged=function(e){this.session._changedWidgets.push(e),this.editor&&this.editor.renderer.updateFull()},e.prototype.measureWidgets=function(e,t){var n=this.session._changedWidgets,i=t.layerConfig;if(n&&n.length){for(var o=1/0,r=0;r0&&!i[o];)o--;this.firstRow=n.firstRow,this.lastRow=n.lastRow,t.$cursorLayer.config=n;for(var s=o;s<=r;s++){var a=i[s];if(a&&a.el)if(a.hidden)a.el.style.top=-100-(a.pixelHeight||0)+"px";else{a._inDocument||(a._inDocument=!0,t.container.appendChild(a.el));var l=t.$cursorLayer.getPixelPosition({row:s,column:0},!0).top;a.coverLine||(l+=n.lineHeight*this.session.getRowLineCount(a.row)),a.el.style.top=l-n.offset+"px";var c=a.coverGutter?0:t.gutterWidth;a.fixedWidth||(c-=t.scrollLeft),a.el.style.left=c+"px",a.fullWidth&&a.screenWidth&&(a.el.style.minWidth=n.width+2*n.padding+"px"),a.fixedWidth?a.el.style.right=t.scrollBar.getWidth()+"px":a.el.style.right=""}}}},e}();t.LineWidgets=o})),ace.define("ace/keyboard/gutter_handler",["require","exports","module","ace/lib/keys","ace/mouse/default_gutter_handler"],(function(e,t,n){var i=e("../lib/keys"),o=e("../mouse/default_gutter_handler").GutterTooltip,r=function(){function e(e){this.editor=e,this.gutterLayer=e.renderer.$gutterLayer,this.element=e.renderer.$gutter,this.lines=e.renderer.$gutterLayer.$lines,this.activeRowIndex=null,this.activeLane=null,this.annotationTooltip=new o(this.editor)}return e.prototype.addListener=function(){this.element.addEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.addEventListener("focusout",this.$blurGutter.bind(this)),this.editor.on("mousewheel",this.$blurGutter.bind(this))},e.prototype.removeListener=function(){this.element.removeEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.removeEventListener("focusout",this.$blurGutter.bind(this)),this.editor.off("mousewheel",this.$blurGutter.bind(this))},e.prototype.$onGutterKeyDown=function(e){if(this.annotationTooltip.isOpen)return e.preventDefault(),void(e.keyCode===i.escape&&this.annotationTooltip.hideTooltip());if(e.target===this.element){if(e.keyCode!=i.enter)return;e.preventDefault();var t=this.editor.getCursorPosition().row;return this.editor.isRowVisible(t)||this.editor.scrollToLine(t,!0,!0),void setTimeout(function(){var e=this.$rowToRowIndex(this.gutterLayer.$cursorCell.row),t=this.$findNearestFoldWidget(e),n=this.$findNearestAnnotation(e);if(null!==t||null!==n)return null===t&&null!==n?(this.activeRowIndex=n,this.activeLane="annotation",void this.$focusAnnotation(this.activeRowIndex)):null!==t&&null===n?(this.activeRowIndex=t,this.activeLane="fold",void this.$focusFoldWidget(this.activeRowIndex)):Math.abs(n-e)0||e+t=0&&this.$isFoldWidgetVisible(e-t))return e-t;if(e+t<=this.lines.getLength()-1&&this.$isFoldWidgetVisible(e+t))return e+t}return null},e.prototype.$findNearestAnnotation=function(e){if(this.$isAnnotationVisible(e))return e;for(var t=0;e-t>0||e+t=0&&this.$isAnnotationVisible(e-t))return e-t;if(e+t<=this.lines.getLength()-1&&this.$isAnnotationVisible(e+t))return e+t}return null},e.prototype.$focusFoldWidget=function(e){if(null!=e){var t=this.$getFoldWidget(e);t.classList.add(this.editor.renderer.keyboardFocusClassName),t.focus()}},e.prototype.$focusAnnotation=function(e){if(null!=e){var t=this.$getAnnotation(e);t.classList.add(this.editor.renderer.keyboardFocusClassName),t.focus()}},e.prototype.$blurFoldWidget=function(e){var t=this.$getFoldWidget(e);t.classList.remove(this.editor.renderer.keyboardFocusClassName),t.blur()},e.prototype.$blurAnnotation=function(e){var t=this.$getAnnotation(e);t.classList.remove(this.editor.renderer.keyboardFocusClassName),t.blur()},e.prototype.$moveFoldWidgetUp=function(){for(var e=this.activeRowIndex;e>0;)if(e--,this.$isFoldWidgetVisible(e))return this.$blurFoldWidget(this.activeRowIndex),this.activeRowIndex=e,void this.$focusFoldWidget(this.activeRowIndex)},e.prototype.$moveFoldWidgetDown=function(){for(var e=this.activeRowIndex;e0;)if(e--,this.$isAnnotationVisible(e))return this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=e,void this.$focusAnnotation(this.activeRowIndex)},e.prototype.$moveAnnotationDown=function(){for(var e=this.activeRowIndex;e=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=e("./lib/oop"),r=e("./lib/dom"),s=e("./lib/lang"),a=e("./lib/useragent"),l=e("./keyboard/textinput").TextInput,c=e("./mouse/mouse_handler").MouseHandler,h=e("./mouse/fold_handler").FoldHandler,u=e("./keyboard/keybinding").KeyBinding,d=e("./edit_session").EditSession,g=e("./search").Search,p=e("./range").Range,f=e("./lib/event_emitter").EventEmitter,m=e("./commands/command_manager").CommandManager,y=e("./commands/default_commands").commands,v=e("./config"),w=e("./token_iterator").TokenIterator,b=e("./line_widgets").LineWidgets,$=e("./keyboard/gutter_handler").GutterKeyboardHandler,C=e("./config").nls,S=e("./clipboard"),x=e("./lib/keys"),A=function(){function e(t,n,i){this.session,this.$toDestroy=[];var o=t.getContainerElement();this.container=o,this.renderer=t,this.id="editor"+ ++e.$uid,this.commands=new m(a.isMac?"mac":"win",y),"object"==typeof document&&(this.textInput=new l(t.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new c(this),new h(this)),this.keyBinding=new u(this),this.$search=(new g).set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=s.delayedCall(function(){this._signal("input",{}),this.session&&!this.session.destroyed&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",(function(e,t){t._$emitInputEvent.schedule(31)})),this.setSession(n||i&&i.session||new d("")),v.resetOptions(this),i&&this.setOptions(i),v._signal("editor",this)}return e.prototype.$initOperationListeners=function(){this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=s.delayedCall(this.endOperation.bind(this,!0)),this.on("change",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.docChanged=!0}.bind(this),!0),this.on("changeSelection",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.selectionChanged=!0}.bind(this),!0)},e.prototype.startOperation=function(e){if(this.curOp){if(!e||this.curOp.command)return;this.prevOp=this.curOp}e||(this.previousCommand=null,e={}),this.$opResetTimer.schedule(),this.curOp=this.session.curOp={command:e.command||{},args:e.args,scrollTop:this.renderer.scrollTop},this.curOp.selectionBefore=this.selection.toJSON()},e.prototype.endOperation=function(e){if(this.curOp&&this.session){if(e&&!1===e.returnValue||!this.session)return this.curOp=null;if(1==e&&this.curOp.command&&"mouse"==this.curOp.command.name)return;if(this._signal("beforeEndOperation"),!this.curOp)return;var t=this.curOp.command,n=t&&t.scrollIntoView;if(n){switch(n){case"center-animate":n="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var i=this.selection.getRange(),o=this.renderer.layerConfig;(i.start.row>=o.lastRow||i.end.row<=o.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==n&&this.renderer.animateScrolling(this.curOp.scrollTop)}var r=this.selection.toJSON();this.curOp.selectionAfter=r,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(r),this.prevOp=this.curOp,this.curOp=null}},e.prototype.$historyTracker=function(e){if(this.$mergeUndoDeltas){var t=this.prevOp,n=this.$mergeableCommands,i=t.command&&e.command.name==t.command.name;if("insertstring"==e.command.name){var o=e.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),i=i&&this.mergeNextCommand&&(!/\s/.test(o)||/\s/.test(t.args)),this.mergeNextCommand=!0}else i=i&&-1!==n.indexOf(e.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(i=!1),i?this.session.mergeUndoDeltas=!0:-1!==n.indexOf(e.command.name)&&(this.sequenceStartTime=Date.now())}},e.prototype.setKeyboardHandler=function(e,t){if(e&&"string"==typeof e&&"ace"!=e){this.$keybindingId=e;var n=this;v.loadModule(["keybinding",e],(function(i){n.$keybindingId==e&&n.keyBinding.setKeyboardHandler(i&&i.handler),t&&t()}))}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(e),t&&t()},e.prototype.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},e.prototype.setSession=function(e){if(this.session!=e){this.curOp&&this.endOperation(),this.curOp={};var t=this.session;if(t){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var n=this.session.getSelection();n.off("changeCursor",this.$onCursorChange),n.off("changeSelection",this.$onSelectionChange)}this.session=e,e?(this.$onDocumentChange=this.onDocumentChange.bind(this),e.on("change",this.$onDocumentChange),this.renderer.setSession(e),this.$onChangeMode=this.onChangeMode.bind(this),e.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),e.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),e.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),e.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),e.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),e.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=e.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.onCursorChange(),this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(e)),this._signal("changeSession",{session:e,oldSession:t}),this.curOp=null,t&&t._signal("changeEditor",{oldEditor:this}),e&&e._signal("changeEditor",{editor:this}),e&&!e.destroyed&&e.bgTokenizer.scheduleStart()}},e.prototype.getSession=function(){return this.session},e.prototype.setValue=function(e,t){return this.session.doc.setValue(e),t?1==t?this.navigateFileEnd():-1==t&&this.navigateFileStart():this.selectAll(),e},e.prototype.getValue=function(){return this.session.getValue()},e.prototype.getSelection=function(){return this.selection},e.prototype.resize=function(e){this.renderer.onResize(e)},e.prototype.setTheme=function(e,t){this.renderer.setTheme(e,t)},e.prototype.getTheme=function(){return this.renderer.getTheme()},e.prototype.setStyle=function(e){this.renderer.setStyle(e)},e.prototype.unsetStyle=function(e){this.renderer.unsetStyle(e)},e.prototype.getFontSize=function(){return this.getOption("fontSize")||r.computedStyle(this.container).fontSize},e.prototype.setFontSize=function(e){this.setOption("fontSize",e)},e.prototype.$highlightBrackets=function(){if(!this.$highlightPending){var e=this;this.$highlightPending=!0,setTimeout((function(){e.$highlightPending=!1;var t=e.session;if(t&&!t.destroyed){t.$bracketHighlight&&(t.$bracketHighlight.markerIds.forEach((function(e){t.removeMarker(e)})),t.$bracketHighlight=null);var n=e.getCursorPosition(),i=e.getKeyboardHandler(),o=i&&i.$getDirectionForHighlight&&i.$getDirectionForHighlight(e),r=t.getMatchingBracketRanges(n,o);if(!r){var s=new w(t,n.row,n.column).getCurrentToken();if(s&&/\b(?:tag-open|tag-name)/.test(s.type)){var a=t.getMatchingTags(n);a&&(r=[a.openTagName.isEmpty()?a.openTag:a.openTagName,a.closeTagName.isEmpty()?a.closeTag:a.closeTagName])}}if(!r&&t.$mode.getMatching&&(r=t.$mode.getMatching(e.session)),r){var l="ace_bracket";Array.isArray(r)?1==r.length&&(l="ace_error_bracket"):r=[r],2==r.length&&(0==p.comparePoints(r[0].end,r[1].start)?r=[p.fromPoints(r[0].start,r[1].end)]:0==p.comparePoints(r[0].start,r[1].end)&&(r=[p.fromPoints(r[1].start,r[0].end)])),t.$bracketHighlight={ranges:r,markerIds:r.map((function(e){return t.addMarker(e,l,"text")}))},e.getHighlightIndentGuides()&&e.renderer.$textLayer.$highlightIndentGuide()}else e.getHighlightIndentGuides()&&e.renderer.$textLayer.$highlightIndentGuide()}}),50)}},e.prototype.focus=function(){this.textInput.focus()},e.prototype.isFocused=function(){return this.textInput.isFocused()},e.prototype.blur=function(){this.textInput.blur()},e.prototype.onFocus=function(e){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",e))},e.prototype.onBlur=function(e){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",e))},e.prototype.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$updateHighlightActiveLine()},e.prototype.onDocumentChange=function(e){var t=this.session.$useWrapMode,n=e.start.row==e.end.row?e.end.row:1/0;this.renderer.updateLines(e.start.row,n,t),this._signal("change",e),this.$cursorChange()},e.prototype.onTokenizerUpdate=function(e){var t=e.data;this.renderer.updateLines(t.first,t.last)},e.prototype.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},e.prototype.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},e.prototype.onCursorChange=function(){this.$cursorChange(),this._signal("changeSelection")},e.prototype.$updateHighlightActiveLine=function(){var e,t=this.getSession();if(this.$highlightActiveLine&&("line"==this.$selectionStyle&&this.selection.isMultiLine()||(e=this.getCursorPosition()),this.renderer.theme&&this.renderer.theme.$selectionColorConflict&&!this.selection.isEmpty()&&(e=!1),!this.renderer.$maxLines||1!==this.session.getLength()||this.renderer.$minLines>1||(e=!1)),t.$highlightLineMarker&&!e)t.removeMarker(t.$highlightLineMarker.id),t.$highlightLineMarker=null;else if(!t.$highlightLineMarker&&e){var n=new p(e.row,e.column,e.row,1/0);n.id=t.addMarker(n,"ace_active-line","screenLine"),t.$highlightLineMarker=n}else e&&(t.$highlightLineMarker.start.row=e.row,t.$highlightLineMarker.end.row=e.row,t.$highlightLineMarker.start.column=e.column,t._signal("changeBackMarker"))},e.prototype.onSelectionChange=function(e){var t=this.session;if(t.$selectionMarker&&t.removeMarker(t.$selectionMarker),t.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var n=this.selection.getRange(),i=this.getSelectionStyle();t.$selectionMarker=t.addMarker(n,"ace_selection",i)}var o=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(o),this._signal("changeSelection")},e.prototype.$getSelectionHighLightRegexp=function(){var e=this.session,t=this.getSelectionRange();if(!t.isEmpty()&&!t.isMultiLine()){var n=t.start.column,i=t.end.column,o=e.getLine(t.start.row),r=o.substring(n,i);if(!(r.length>5e3)&&/[\w\d]/.test(r)){var s=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:r}),a=o.substring(n-1,i+1);if(s.test(a))return s}}},e.prototype.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},e.prototype.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},e.prototype.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},e.prototype.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},e.prototype.onChangeMode=function(e){this.renderer.updateText(),this._emit("changeMode",e)},e.prototype.onChangeWrapLimit=function(){this.renderer.updateFull()},e.prototype.onChangeWrapMode=function(){this.renderer.onResize(!0)},e.prototype.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},e.prototype.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},e.prototype.getCopyText=function(){var e=this.getSelectedText(),t=this.session.doc.getNewLineCharacter(),n=!1;if(!e&&this.$copyWithEmptySelection){n=!0;for(var i=this.selection.getAllRanges(),o=0;oa.search(/\S|$/)){var l=a.substr(o.column).search(/\S|$/);n.doc.removeInLine(o.row,o.column,o.column+l)}}this.clearSelection();var c=o.column,h=n.getState(o.row),u=(a=n.getLine(o.row),i.checkOutdent(h,a,e));if(n.insert(o,e),r&&r.selection&&(2==r.selection.length?this.selection.setSelectionRange(new p(o.row,c+r.selection[0],o.row,c+r.selection[1])):this.selection.setSelectionRange(new p(o.row+r.selection[0],r.selection[1],o.row+r.selection[2],r.selection[3]))),this.$enableAutoIndent){if(n.getDocument().isNewLine(e)){var d=i.getNextLineIndent(h,a.slice(0,o.column),n.getTabString());n.insert({row:o.row+1,column:0},d)}u&&i.autoOutdent(h,n,o.row)}},e.prototype.autoIndent=function(){for(var e=this.session,t=e.getMode(),n=this.selection.isEmpty()?[new p(0,0,e.doc.getLength()-1,0)]:this.selection.getAllRanges(),i="",o="",r="",s=e.getTabString(),a=0;a0&&(i=e.getState(h-1),o=e.getLine(h-1),r=t.getNextLineIndent(i,o,s));var u=e.getLine(h),d=t.$getIndent(u);if(r!==d){if(d.length>0){var g=new p(h,0,h,d.length);e.remove(g)}r.length>0&&e.insert({row:h,column:0},r)}t.autoOutdent(i,e,h)}},e.prototype.onTextInput=function(e,t){if(!t)return this.keyBinding.onTextInput(e);this.startOperation({command:{name:"insertstring"}});var n=this.applyComposition.bind(this,e,t);this.selection.rangeCount?this.forEachSelection(n):n(),this.endOperation()},e.prototype.applyComposition=function(e,t){var n;(t.extendLeft||t.extendRight)&&((n=this.selection.getRange()).start.column-=t.extendLeft,n.end.column+=t.extendRight,n.start.column<0&&(n.start.row--,n.start.column+=this.session.getLine(n.start.row).length+1),this.selection.setRange(n),e||n.isEmpty()||this.remove()),!e&&this.selection.isEmpty()||this.insert(e,!0),(t.restoreStart||t.restoreEnd)&&((n=this.selection.getRange()).start.column-=t.restoreStart,n.end.column-=t.restoreEnd,this.selection.setRange(n))},e.prototype.onCommandKey=function(e,t,n){return this.keyBinding.onCommandKey(e,t,n)},e.prototype.setOverwrite=function(e){this.session.setOverwrite(e)},e.prototype.getOverwrite=function(){return this.session.getOverwrite()},e.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},e.prototype.setScrollSpeed=function(e){this.setOption("scrollSpeed",e)},e.prototype.getScrollSpeed=function(){return this.getOption("scrollSpeed")},e.prototype.setDragDelay=function(e){this.setOption("dragDelay",e)},e.prototype.getDragDelay=function(){return this.getOption("dragDelay")},e.prototype.setSelectionStyle=function(e){this.setOption("selectionStyle",e)},e.prototype.getSelectionStyle=function(){return this.getOption("selectionStyle")},e.prototype.setHighlightActiveLine=function(e){this.setOption("highlightActiveLine",e)},e.prototype.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},e.prototype.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},e.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},e.prototype.setHighlightSelectedWord=function(e){this.setOption("highlightSelectedWord",e)},e.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},e.prototype.setAnimatedScroll=function(e){this.renderer.setAnimatedScroll(e)},e.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},e.prototype.setShowInvisibles=function(e){this.renderer.setShowInvisibles(e)},e.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},e.prototype.setDisplayIndentGuides=function(e){this.renderer.setDisplayIndentGuides(e)},e.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},e.prototype.setHighlightIndentGuides=function(e){this.renderer.setHighlightIndentGuides(e)},e.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},e.prototype.setShowPrintMargin=function(e){this.renderer.setShowPrintMargin(e)},e.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},e.prototype.setPrintMarginColumn=function(e){this.renderer.setPrintMarginColumn(e)},e.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},e.prototype.setReadOnly=function(e){this.setOption("readOnly",e)},e.prototype.getReadOnly=function(){return this.getOption("readOnly")},e.prototype.setBehavioursEnabled=function(e){this.setOption("behavioursEnabled",e)},e.prototype.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},e.prototype.setWrapBehavioursEnabled=function(e){this.setOption("wrapBehavioursEnabled",e)},e.prototype.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},e.prototype.setShowFoldWidgets=function(e){this.setOption("showFoldWidgets",e)},e.prototype.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},e.prototype.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},e.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},e.prototype.remove=function(e){this.selection.isEmpty()&&("left"==e?this.selection.selectLeft():this.selection.selectRight());var t=this.getSelectionRange();if(this.getBehavioursEnabled()){var n=this.session,i=n.getState(t.start.row),o=n.getMode().transformAction(i,"deletion",this,n,t);if(0===t.end.column){var r=n.getTextRange(t);if("\n"==r[r.length-1]){var s=n.getLine(t.end.row);/^\s+$/.test(s)&&(t.end.column=s.length)}}o&&(t=o)}this.session.remove(t),this.clearSelection()},e.prototype.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},e.prototype.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},e.prototype.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},e.prototype.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var e=this.getSelectionRange();e.start.column==e.end.column&&e.start.row==e.end.row&&(e.end.column=0,e.end.row++),this.session.remove(e),this.clearSelection()},e.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var e=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(e)},e.prototype.setGhostText=function(e,t){this.session.widgetManager||(this.session.widgetManager=new b(this.session),this.session.widgetManager.attach(this)),this.renderer.setGhostText(e,t)},e.prototype.removeGhostText=function(){this.session.widgetManager&&this.renderer.removeGhostText()},e.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var e=this.getCursorPosition(),t=e.column;if(0!==t){var n,i,o=this.session.getLine(e.row);tt.toLowerCase()?1:0}));var o=new p(0,0,0,0);for(i=e.first;i<=e.last;i++){var r=t.getLine(i);o.start.row=i,o.end.row=i,o.end.column=r.length,t.replace(o,n[i-e.first])}},e.prototype.toggleCommentLines=function(){var e=this.session.getState(this.getCursorPosition().row),t=this.$getSelectedRows();this.session.getMode().toggleCommentLines(e,this.session,t.first,t.last)},e.prototype.toggleBlockComment=function(){var e=this.getCursorPosition(),t=this.session.getState(e.row),n=this.getSelectionRange();this.session.getMode().toggleBlockComment(t,this.session,n,e)},e.prototype.getNumberAt=function(e,t){var n=/[\-]?[0-9]+(?:\.[0-9]+)?/g;n.lastIndex=0;for(var i=this.session.getLine(e);n.lastIndex=t)return{value:o[0],start:o.index,end:o.index+o[0].length}}return null},e.prototype.modifyNumber=function(e){var t=this.selection.getCursor().row,n=this.selection.getCursor().column,i=new p(t,n-1,t,n),o=this.session.getTextRange(i);if(!isNaN(parseFloat(o))&&isFinite(o)){var r=this.getNumberAt(t,n);if(r){var s=r.value.indexOf(".")>=0?r.start+r.value.indexOf(".")+1:r.end,a=r.start+r.value.length-s,l=parseFloat(r.value);l*=Math.pow(10,a),s!==r.end&&n=a&&r<=l&&(n=t,c.selection.clearSelection(),c.moveCursorTo(e,a+i),c.selection.selectTo(e,l+i)),a=l}));for(var h,u=this.$toggleWordPairs,d=0;d=l&&s<=c&&d.match(/((?:https?|ftp):\/\/[\S]+)/)){a=d.replace(/[\s:.,'";}\]]+$/,"");break}l=c}}catch(g){n={error:g}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}return a},e.prototype.openLink=function(){var e=this.selection.getCursor(),t=this.findLinkAt(e.row,e.column);return t&&window.open(t,"_blank"),null!=t},e.prototype.removeLines=function(){var e=this.$getSelectedRows();this.session.removeFullLines(e.first,e.last),this.clearSelection()},e.prototype.duplicateSelection=function(){var e=this.selection,t=this.session,n=e.getRange(),i=e.isBackwards();if(n.isEmpty()){var o=n.start.row;t.duplicateLines(o,o)}else{var r=i?n.start:n.end,s=t.insert(r,t.getTextRange(n));n.start=r,n.end=s,e.setSelectionRange(n,i)}},e.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},e.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},e.prototype.moveText=function(e,t,n){return this.session.moveText(e,t,n)},e.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},e.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},e.prototype.$moveLines=function(e,t){var n,i,o=this.selection;if(!o.inMultiSelectMode||this.inVirtualSelectionMode){var r=o.toOrientedRange();n=this.$getSelectedRows(r),i=this.session.$moveLines(n.first,n.last,t?0:e),t&&-1==e&&(i=0),r.moveBy(i,0),o.fromOrientedRange(r)}else{var s=o.rangeList.ranges;o.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var a=0,l=0,c=s.length,h=0;hg+1)break;g=p.last}for(h--,a=this.session.$moveLines(d,g,t?0:e),t&&-1==e&&(u=h+1);u<=h;)s[u].moveBy(a,0),u++;t||(a=0),l+=a}o.fromOrientedRange(o.ranges[0]),o.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},e.prototype.$getSelectedRows=function(e){return e=(e||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(e.start.row),last:this.session.getRowFoldEnd(e.end.row)}},e.prototype.onCompositionStart=function(e){this.renderer.showComposition(e)},e.prototype.onCompositionUpdate=function(e){this.renderer.setCompositionText(e)},e.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},e.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},e.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},e.prototype.isRowVisible=function(e){return e>=this.getFirstVisibleRow()&&e<=this.getLastVisibleRow()},e.prototype.isRowFullyVisible=function(e){return e>=this.renderer.getFirstFullyVisibleRow()&&e<=this.renderer.getLastFullyVisibleRow()},e.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},e.prototype.$moveByPage=function(e,t){var n=this.renderer,i=this.renderer.layerConfig,o=e*Math.floor(i.height/i.lineHeight);!0===t?this.selection.$moveSelection((function(){this.moveCursorBy(o,0)})):!1===t&&(this.selection.moveCursorBy(o,0),this.selection.clearSelection());var r=n.scrollTop;n.scrollBy(0,o*i.lineHeight),null!=t&&n.scrollCursorIntoView(null,.5),n.animateScrolling(r)},e.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},e.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},e.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},e.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},e.prototype.scrollPageDown=function(){this.$moveByPage(1)},e.prototype.scrollPageUp=function(){this.$moveByPage(-1)},e.prototype.scrollToRow=function(e){this.renderer.scrollToRow(e)},e.prototype.scrollToLine=function(e,t,n,i){this.renderer.scrollToLine(e,t,n,i)},e.prototype.centerSelection=function(){var e=this.getSelectionRange(),t={row:Math.floor(e.start.row+(e.end.row-e.start.row)/2),column:Math.floor(e.start.column+(e.end.column-e.start.column)/2)};this.renderer.alignCursor(t,.5)},e.prototype.getCursorPosition=function(){return this.selection.getCursor()},e.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},e.prototype.getSelectionRange=function(){return this.selection.getRange()},e.prototype.selectAll=function(){this.selection.selectAll()},e.prototype.clearSelection=function(){this.selection.clearSelection()},e.prototype.moveCursorTo=function(e,t){this.selection.moveCursorTo(e,t)},e.prototype.moveCursorToPosition=function(e){this.selection.moveCursorToPosition(e)},e.prototype.jumpToMatching=function(e,t){var n=this.getCursorPosition(),i=new w(this.session,n.row,n.column),o=i.getCurrentToken(),r=0;o&&-1!==o.type.indexOf("tag-name")&&(o=i.stepBackward());var s=o||i.stepForward();if(s){var a,l,c=!1,h={},u=n.column-s.start,d={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(s.value.match(/[{}()\[\]]/g)){for(;u1?h[s.value]++:"=0;--r)this.$tryReplace(n[r],e)&&i++;return this.selection.setSelectionRange(o),i},e.prototype.$tryReplace=function(e,t){var n=this.session.getTextRange(e);return null!==(t=this.$search.replace(n,t))?(e.end=this.session.replace(e,t),e):null},e.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},e.prototype.find=function(e,t,n){t||(t={}),"string"==typeof e||e instanceof RegExp?t.needle=e:"object"==typeof e&&o.mixin(t,e);var i=this.selection.getRange();null==t.needle&&((e=this.session.getTextRange(i)||this.$search.$options.needle)||(i=this.session.getWordRange(i.start.row,i.start.column),e=this.session.getTextRange(i)),this.$search.set({needle:e})),this.$search.set(t),t.start||this.$search.set({start:i});var r=this.$search.find(this.session);return t.preventScroll?r:r?(this.revealRange(r,n),r):(t.backwards?i.start=i.end:i.end=i.start,void this.selection.setRange(i))},e.prototype.findNext=function(e,t){this.find({skipCurrent:!0,backwards:!1},e,t)},e.prototype.findPrevious=function(e,t){this.find(e,{skipCurrent:!0,backwards:!0},t)},e.prototype.revealRange=function(e,t){this.session.unfold(e),this.selection.setSelectionRange(e);var n=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(e.start,e.end,.5),!1!==t&&this.renderer.animateScrolling(n)},e.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},e.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},e.prototype.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach((function(e){e.destroy()})),this.$toDestroy=null),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},e.prototype.setAutoScrollEditorIntoView=function(e){if(e){var t,n=this,i=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var o=this.$scrollAnchor;o.style.cssText="position:absolute",this.container.insertBefore(o,this.container.firstChild);var r=this.on("changeSelection",(function(){i=!0})),s=this.renderer.on("beforeRender",(function(){i&&(t=n.renderer.container.getBoundingClientRect())})),a=this.renderer.on("afterRender",(function(){if(i&&t&&(n.isFocused()||n.searchBox&&n.searchBox.isFocused())){var e=n.renderer,r=e.$cursorLayer.$pixelPos,s=e.layerConfig,a=r.top-s.offset;null!=(i=r.top>=0&&a+t.top<0||!(r.topwindow.innerHeight)&&null)&&(o.style.top=a+"px",o.style.left=r.left+"px",o.style.height=s.lineHeight+"px",o.scrollIntoView(i)),i=t=null}}));this.setAutoScrollEditorIntoView=function(e){e||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",r),this.renderer.off("afterRender",a),this.renderer.off("beforeRender",s))}}},e.prototype.$resetCursorStyle=function(){var e=this.$cursorStyle||"ace",t=this.renderer.$cursorLayer;t&&(t.setSmoothBlinking(/smooth/.test(e)),t.isBlinking=!this.$readOnly&&"wide"!=e,r.setCssClass(t.element,"ace_slim-cursors",/slim/.test(e)))},e.prototype.prompt=function(e,t,n){var i=this;v.loadModule("ace/ext/prompt",(function(o){o.prompt(i,e,t,n)}))},e}();A.$uid=0,A.prototype.curOp=null,A.prototype.prevOp={},A.prototype.$mergeableCommands=["backspace","del","insertstring"],A.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],o.implement(A.prototype,f),v.defineOptions(A.prototype,"editor",{selectionStyle:{set:function(e){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:e})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(e){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(e){this.textInput.setReadOnly(e),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(e){this.textInput.setCopyWithEmptySelection(e)},initialValue:!1},cursorStyle:{set:function(e){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(e){this.setAutoScrollEditorIntoView(e)}},keyboardHandler:{set:function(e){this.setKeyboardHandler(e)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(e){this.session.setValue(e)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(e){this.setSession(e)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(e){this.renderer.$gutterLayer.setShowLineNumbers(e),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),e&&this.$relativeLineNumbers?M.attach(this):M.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(e){this.$showLineNumbers&&e?M.attach(this):M.detach(this)}},placeholder:{set:function(e){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var e=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(e&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),r.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(e||this.renderer.placeholderNode)!e&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"");else{this.renderer.on("afterRender",this.$updatePlaceholder),r.addCssClass(this.container,"ace_hasPlaceholder");var t=r.createElement("div");t.className="ace_placeholder",t.textContent=this.$placeholder||"",this.renderer.placeholderNode=t,this.renderer.content.appendChild(this.renderer.placeholderNode)}}.bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(e){var t,n={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(e){e.blur(),e.renderer.scroller.focus()},readOnly:!0},i=function(e){if(e.target==this.renderer.scroller&&e.keyCode===x.enter){e.preventDefault();var t=this.getCursorPosition().row;this.isRowVisible(t)||this.scrollToLine(t,!0,!0),this.focus()}};e?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),this.textInput.setNumberOfExtraLines(a.isWin?3:0),this.renderer.scroller.setAttribute("tabindex",0),this.renderer.scroller.setAttribute("role","group"),this.renderer.scroller.setAttribute("aria-roledescription",C("editor.scroller.aria-roledescription","editor")),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute("aria-label",C("editor.scroller.aria-label","Editor content, press Enter to start editing, press Escape to exit")),this.renderer.scroller.addEventListener("keyup",i.bind(this)),this.commands.addCommand(n),this.renderer.$gutter.setAttribute("tabindex",0),this.renderer.$gutter.setAttribute("aria-hidden",!1),this.renderer.$gutter.setAttribute("role","group"),this.renderer.$gutter.setAttribute("aria-roledescription",C("editor.gutter.aria-roledescription","editor")),this.renderer.$gutter.setAttribute("aria-label",C("editor.gutter.aria-label","Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit")),this.renderer.$gutter.classList.add(this.renderer.keyboardFocusClassName),this.renderer.content.setAttribute("aria-hidden",!0),t||(t=new $(this)),t.addListener(),this.textInput.setAriaOptions({setLabel:!0})):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute("tabindex",0),this.textInput.setNumberOfExtraLines(0),this.renderer.scroller.setAttribute("tabindex",-1),this.renderer.scroller.removeAttribute("role"),this.renderer.scroller.removeAttribute("aria-roledescription"),this.renderer.scroller.classList.remove(this.renderer.keyboardFocusClassName),this.renderer.scroller.removeAttribute("aria-label"),this.renderer.scroller.removeEventListener("keyup",i.bind(this)),this.commands.removeCommand(n),this.renderer.content.removeAttribute("aria-hidden"),this.renderer.$gutter.setAttribute("tabindex",-1),this.renderer.$gutter.setAttribute("aria-hidden",!0),this.renderer.$gutter.removeAttribute("role"),this.renderer.$gutter.removeAttribute("aria-roledescription"),this.renderer.$gutter.removeAttribute("aria-label"),this.renderer.$gutter.classList.remove(this.renderer.keyboardFocusClassName),t&&t.removeListener())},initialValue:!1},textInputAriaLabel:{set:function(e){this.$textInputAriaLabel=e},initialValue:""},enableMobileMenu:{set:function(e){this.$enableMobileMenu=e},initialValue:!0},customScrollbar:"renderer",hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",highlightIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",useResizeObserver:"renderer",useSvgGutterIcons:"renderer",showFoldedAnnotations:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var M={getText:function(e,t){return(Math.abs(e.selection.lead.row-t)||t+1+(t<9?"·":""))+""},getWidth:function(e,t,n){return Math.max(t.toString().length,(n.lastRow+1).toString().length,2)*n.characterWidth},update:function(e,t){t.renderer.$loop.schedule(t.renderer.CHANGE_GUTTER)},attach:function(e){e.renderer.$gutterLayer.$renderer=this,e.on("changeSelection",this.update),this.update(null,e)},detach:function(e){e.renderer.$gutterLayer.$renderer==this&&(e.renderer.$gutterLayer.$renderer=null),e.off("changeSelection",this.update),this.update(null,e)}};t.Editor=A})),ace.define("ace/layer/lines",["require","exports","module","ace/lib/dom"],(function(e,t,n){var i=e("../lib/dom"),o=function(){function e(e,t){this.element=e,this.canvasHeight=t||5e5,this.element.style.height=2*this.canvasHeight+"px",this.cells=[],this.cellCache=[],this.$offsetCoefficient=0}return e.prototype.moveContainer=function(e){i.translate(this.element,0,-e.firstRowScreen*e.lineHeight%this.canvasHeight-e.offset*this.$offsetCoefficient)},e.prototype.pageChanged=function(e,t){return Math.floor(e.firstRowScreen*e.lineHeight/this.canvasHeight)!==Math.floor(t.firstRowScreen*t.lineHeight/this.canvasHeight)},e.prototype.computeLineTop=function(e,t,n){var i=t.firstRowScreen*t.lineHeight,o=Math.floor(i/this.canvasHeight);return n.documentToScreenRow(e,0)*t.lineHeight-o*this.canvasHeight},e.prototype.computeLineHeight=function(e,t,n){return t.lineHeight*n.getRowLineCount(e)},e.prototype.getLength=function(){return this.cells.length},e.prototype.get=function(e){return this.cells[e]},e.prototype.shift=function(){this.$cacheCell(this.cells.shift())},e.prototype.pop=function(){this.$cacheCell(this.cells.pop())},e.prototype.push=function(e){if(Array.isArray(e)){this.cells.push.apply(this.cells,e);for(var t=i.createFragment(this.element),n=0;nr&&(l=o.end.row+1,r=(o=t.getNextFoldLine(l,o))?o.start.row:1/0),l>i){for(;this.$lines.getLength()>a+1;)this.$lines.pop();break}(s=this.$lines.get(++a))?s.row=l:(s=this.$lines.createCell(l,e,this.session,h),this.$lines.push(s)),this.$renderCell(s,e,o,l),l++}this._signal("afterRender"),this.$updateGutterWidth(e)},e.prototype.$updateGutterWidth=function(e){var t=this.session,n=t.gutterRenderer||this.$renderer,i=t.$firstLineNumber,o=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||t.$useWrapMode)&&(o=t.getLength()+i-1);var r=n?n.getWidth(t,o,e):o.toString().length*e.characterWidth,s=this.$padding||this.$computePadding();(r+=s.left+s.right)===this.gutterWidth||isNaN(r)||(this.gutterWidth=r,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",r))},e.prototype.$updateCursorRow=function(){if(this.$highlightGutterLine){var e=this.session.selection.getCursor();this.$cursorRow!==e.row&&(this.$cursorRow=e.row)}},e.prototype.updateLineHighlight=function(){if(this.$highlightGutterLine){var e=this.session.selection.cursor.row;if(this.$cursorRow=e,!this.$cursorCell||this.$cursorCell.row!=e){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var t=this.$lines.cells;this.$cursorCell=null;for(var n=0;n=this.$cursorRow){if(i.row>this.$cursorRow){var o=this.session.getFoldLine(this.$cursorRow);if(!(n>0&&o&&o.start.row==t[n-1].row))break;i=t[n-1]}i.element.className="ace_gutter-active-line "+i.element.className,this.$cursorCell=i;break}}}}},e.prototype.scrollLines=function(e){var t=this.config;if(this.config=e,this.$updateCursorRow(),this.$lines.pageChanged(t,e))return this.update(e);this.$lines.moveContainer(e);var n=Math.min(e.lastRow+e.gutterOffset,this.session.getLength()-1),i=this.oldLastRow;if(this.oldLastRow=n,!t||i0;o--)this.$lines.shift();if(i>n)for(o=this.session.getFoldedRowCount(n+1,i);o>0;o--)this.$lines.pop();e.firstRowi&&this.$lines.push(this.$renderLines(e,i+1,n)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(e)},e.prototype.$renderLines=function(e,t,n){for(var i=[],o=t,r=this.session.getNextFoldLine(o),s=r?r.start.row:1/0;o>s&&(o=r.end.row+1,s=(r=this.session.getNextFoldLine(o,r))?r.start.row:1/0),!(o>n);){var a=this.$lines.createCell(o,e,this.session,h);this.$renderCell(a,e,r,o),i.push(a),o++}return i},e.prototype.$renderCell=function(e,t,n,o){var r=e.element,s=this.session,a=r.childNodes[0],c=r.childNodes[1],h=r.childNodes[2],u=h.firstChild,d=s.$firstLineNumber,g=s.$breakpoints,p=s.$decorations,f=s.gutterRenderer||this.$renderer,m=this.$showFoldWidgets&&s.foldWidgets,y=n?n.start.row:Number.MAX_VALUE,v=t.lineHeight+"px",w=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",b=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",$=(f?f.getText(s,o):o+d).toString();if(this.$highlightGutterLine&&(o==this.$cursorRow||n&&o=y&&this.$cursorRow<=n.end.row)&&(w+="ace_gutter-active-line ",this.$cursorCell!=e&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=e)),g[o]&&(w+=g[o]),p[o]&&(w+=p[o]),this.$annotations[o]&&o!==y&&(w+=this.$annotations[o].className),m){var C=m[o];null==C&&(C=m[o]=s.getFoldWidget(o))}if(C){var S="ace_fold-widget ace_"+C,x="start"==C&&o==y&&on.right-t.right?"foldWidgets":void 0},e}();function h(e){var t=document.createTextNode("");e.appendChild(t);var n=i.createElement("span");e.appendChild(n);var o=i.createElement("span");e.appendChild(o);var r=i.createElement("span");return o.appendChild(r),e}c.prototype.$fixedWidth=!1,c.prototype.$highlightGutterLine=!0,c.prototype.$renderer="",c.prototype.$showLineNumbers=!0,c.prototype.$showFoldWidgets=!0,o.implement(c.prototype,s),t.Gutter=c})),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],(function(e,t,n){var i=e("../range").Range,o=e("../lib/dom"),r=function(){function e(e){this.element=o.createElement("div"),this.element.className="ace_layer ace_marker-layer",e.appendChild(this.element)}return e.prototype.setPadding=function(e){this.$padding=e},e.prototype.setSession=function(e){this.session=e},e.prototype.setMarkers=function(e){this.markers=e},e.prototype.elt=function(e,t){var n=-1!=this.i&&this.element.childNodes[this.i];n?this.i++:(n=document.createElement("div"),this.element.appendChild(n),this.i=-1),n.style.cssText=t,n.className=e},e.prototype.update=function(e){if(e){var t;for(var n in this.config=e,this.i=0,this.markers){var i=this.markers[n];if(i.range){var o=i.range.clipRows(e.firstRow,e.lastRow);if(!o.isEmpty())if(o=o.toScreenRange(this.session),i.renderer){var r=this.$getTop(o.start.row,e),s=this.$padding+o.start.column*e.characterWidth;i.renderer(t,o,s,r,e)}else"fullLine"==i.type?this.drawFullLineMarker(t,o,i.clazz,e):"screenLine"==i.type?this.drawScreenLineMarker(t,o,i.clazz,e):o.isMultiLine()?"text"==i.type?this.drawTextMarker(t,o,i.clazz,e):this.drawMultiLineMarker(t,o,i.clazz,e):this.drawSingleLineMarker(t,o,i.clazz+" ace_start ace_br15",e)}else i.update(t,this,this.session,e)}if(-1!=this.i)for(;this.id?4:0)|(c==l?8:0)),o,c==l?0:1,r)},e.prototype.drawMultiLineMarker=function(e,t,n,i,o){var r=this.$padding,s=i.lineHeight,a=this.$getTop(t.start.row,i),l=r+t.start.column*i.characterWidth;if(o=o||"",this.session.$bidiHandler.isBidiRow(t.start.row)?((c=t.clone()).end.row=c.start.row,c.end.column=this.session.getLine(c.start.row).length,this.drawBidiSingleLineMarker(e,c,n+" ace_br1 ace_start",i,null,o)):this.elt(n+" ace_br1 ace_start","height:"+s+"px;right:"+r+"px;top:"+a+"px;left:"+l+"px;"+(o||"")),this.session.$bidiHandler.isBidiRow(t.end.row)){var c;(c=t.clone()).start.row=c.end.row,c.start.column=0,this.drawBidiSingleLineMarker(e,c,n+" ace_br12",i,null,o)}else{a=this.$getTop(t.end.row,i);var h=t.end.column*i.characterWidth;this.elt(n+" ace_br12","height:"+s+"px;width:"+h+"px;top:"+a+"px;left:"+r+"px;"+(o||""))}if(!((s=(t.end.row-t.start.row-1)*i.lineHeight)<=0)){a=this.$getTop(t.start.row+1,i);var u=(t.start.column?1:0)|(t.end.column?0:8);this.elt(n+(u?" ace_br"+u:""),"height:"+s+"px;right:"+r+"px;top:"+a+"px;left:"+r+"px;"+(o||""))}},e.prototype.drawSingleLineMarker=function(e,t,n,i,o,r){if(this.session.$bidiHandler.isBidiRow(t.start.row))return this.drawBidiSingleLineMarker(e,t,n,i,o,r);var s=i.lineHeight,a=(t.end.column+(o||0)-t.start.column)*i.characterWidth,l=this.$getTop(t.start.row,i),c=this.$padding+t.start.column*i.characterWidth;this.elt(n,"height:"+s+"px;width:"+a+"px;top:"+l+"px;left:"+c+"px;"+(r||""))},e.prototype.drawBidiSingleLineMarker=function(e,t,n,i,o,r){var s=i.lineHeight,a=this.$getTop(t.start.row,i),l=this.$padding;this.session.$bidiHandler.getSelections(t.start.column,t.end.column).forEach((function(e){this.elt(n,"height:"+s+"px;width:"+(e.width+(o||0))+"px;top:"+a+"px;left:"+(l+e.left)+"px;"+(r||""))}),this)},e.prototype.drawFullLineMarker=function(e,t,n,i,o){var r=this.$getTop(t.start.row,i),s=i.lineHeight;t.start.row!=t.end.row&&(s+=this.$getTop(t.end.row,i)-r),this.elt(n,"height:"+s+"px;top:"+r+"px;left:0;right:0;"+(o||""))},e.prototype.drawScreenLineMarker=function(e,t,n,i,o){var r=this.$getTop(t.start.row,i),s=i.lineHeight;this.elt(n,"height:"+s+"px;top:"+r+"px;left:0;right:0;"+(o||""))},e}();r.prototype.$padding=0,t.Marker=r})),ace.define("ace/layer/text_util",["require","exports","module"],(function(e,t,n){var i=new Set(["text","rparen","lparen"]);t.isTextToken=function(e){return i.has(e)}})),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter","ace/config","ace/layer/text_util"],(function(e,t,n){var i=e("../lib/oop"),o=e("../lib/dom"),r=e("../lib/lang"),s=e("./lines").Lines,a=e("../lib/event_emitter").EventEmitter,l=e("../config").nls,c=e("./text_util").isTextToken,h=function(){function e(e){this.dom=o,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new s(this.element)}return e.prototype.$updateEolChar=function(){var e=this.session.doc,t="\n"==e.getNewLineCharacter()&&"windows"!=e.getNewLineMode()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=t)return this.EOL_CHAR=t,!0},e.prototype.setPadding=function(e){this.$padding=e,this.element.style.margin="0 "+e+"px"},e.prototype.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},e.prototype.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},e.prototype.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on("changeCharacterSize",function(e){this._signal("changeCharacterSize",e)}.bind(this)),this.$pollSizeChanges()},e.prototype.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},e.prototype.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},e.prototype.setSession=function(e){this.session=e,e&&this.$computeTabString()},e.prototype.setShowInvisibles=function(e){return this.showInvisibles!=e&&(this.showInvisibles=e,"string"==typeof e?(this.showSpaces=/tab/i.test(e),this.showTabs=/space/i.test(e),this.showEOL=/eol/i.test(e)):this.showSpaces=this.showTabs=this.showEOL=e,this.$computeTabString(),!0)},e.prototype.setDisplayIndentGuides=function(e){return this.displayIndentGuides!=e&&(this.displayIndentGuides=e,this.$computeTabString(),!0)},e.prototype.setHighlightIndentGuides=function(e){return this.$highlightIndentGuides!==e&&(this.$highlightIndentGuides=e,e)},e.prototype.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var t=this.$tabStrings=[0],n=1;nh&&(a=l.end.row+1,h=(l=this.session.getNextFoldLine(a,l))?l.start.row:1/0),!(a>o);){var u=r[s++];if(u){this.dom.removeChildren(u),this.$renderLine(u,a,a==h&&l),c&&(u.style.top=this.$lines.computeLineTop(a,e,this.session)+"px");var d=e.lineHeight*this.session.getRowLength(a)+"px";u.style.height!=d&&(c=!0,u.style.height=d)}a++}if(c)for(;s0;o--)this.$lines.shift();if(t.lastRow>e.lastRow)for(o=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);o>0;o--)this.$lines.pop();e.firstRowt.lastRow&&this.$lines.push(this.$renderLinesFragment(e,t.lastRow+1,e.lastRow)),this.$highlightIndentGuide()},e.prototype.$renderLinesFragment=function(e,t,n){for(var i=[],r=t,s=this.session.getNextFoldLine(r),a=s?s.start.row:1/0;r>a&&(r=s.end.row+1,a=(s=this.session.getNextFoldLine(r,s))?s.start.row:1/0),!(r>n);){var l=this.$lines.createCell(r,e,this.session),c=l.element;this.dom.removeChildren(c),o.setStyle(c.style,"height",this.$lines.computeLineHeight(r,e,this.session)+"px"),o.setStyle(c.style,"top",this.$lines.computeLineTop(r,e,this.session)+"px"),this.$renderLine(c,r,r==a&&s),this.$useLineGroups()?c.className="ace_line_group":c.className="ace_line",i.push(l),r++}return i},e.prototype.update=function(e){this.$lines.moveContainer(e),this.config=e;for(var t=e.firstRow,n=e.lastRow,i=this.$lines;i.getLength();)i.pop();i.push(this.$renderLinesFragment(e,t,n))},e.prototype.$renderToken=function(e,t,n,i){for(var o,s=this,a=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC\u2066\u2067\u2068\u202A\u202B\u202D\u202E\u202C\u2069]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,h=this.dom.createFragment(this.element),u=0;o=a.exec(i);){var d=o[1],g=o[2],p=o[3],f=o[4],m=o[5];if(s.showSpaces||!g){var y=u!=o.index?i.slice(u,o.index):"";if(u=o.index+o[0].length,y&&h.appendChild(this.dom.createTextNode(y,this.element)),d){var v=s.session.getScreenTabSize(t+o.index);h.appendChild(s.$tabStrings[v].cloneNode(!0)),t+=v-1}else g?s.showSpaces?((b=this.dom.createElement("span")).className="ace_invisible ace_invisible_space",b.textContent=r.stringRepeat(s.SPACE_CHAR,g.length),h.appendChild(b)):h.appendChild(this.dom.createTextNode(g,this.element)):p?((b=this.dom.createElement("span")).className="ace_invisible ace_invisible_space ace_invalid",b.textContent=r.stringRepeat(s.SPACE_CHAR,p.length),h.appendChild(b)):f?(t+=1,(b=this.dom.createElement("span")).style.width=2*s.config.characterWidth+"px",b.className=s.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",b.textContent=s.showSpaces?s.SPACE_CHAR:f,h.appendChild(b)):m&&(t+=1,(b=this.dom.createElement("span")).style.width=2*s.config.characterWidth+"px",b.className="ace_cjk",b.textContent=m,h.appendChild(b))}}if(h.appendChild(this.dom.createTextNode(u?i.slice(u):i,this.element)),c(n.type))e.appendChild(h);else{var w="ace_"+n.type.replace(/\./g," ace_"),b=this.dom.createElement("span");"fold"==n.type&&(b.style.width=n.value.length*this.config.characterWidth+"px",b.setAttribute("title",l("inline-fold.closed.title","Unfold code"))),b.className=w,b.appendChild(h),e.appendChild(b)}return t+i.length},e.prototype.renderIndentGuide=function(e,t,n){var i=t.search(this.$indentGuideRe);if(i<=0||i>=n)return t;if(" "==t[0]){for(var o=(i-=i%this.tabSize)/this.tabSize,r=0;ro[r].start.row?this.$highlightIndentGuideMarker.dir=-1:this.$highlightIndentGuideMarker.dir=1;break}if(!this.$highlightIndentGuideMarker.end&&""!==e[t.row]&&t.column===e[t.row].length)for(this.$highlightIndentGuideMarker.dir=1,r=t.row+1;r0)for(var i=0;i=this.$highlightIndentGuideMarker.start+1){if(i.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(i,t)}}else for(n=e.length-1;n>=0;n--)if(i=e[n],this.$highlightIndentGuideMarker.end&&i.row=s;)a=this.$renderToken(l,a,h,u.substring(0,s-i)),u=u.substring(s-i),i=s,l=this.$createLineElement(),e.appendChild(l),l.appendChild(this.dom.createTextNode(r.stringRepeat(" ",n.indent),this.element)),a=0,s=n[++o]||Number.MAX_VALUE;0!=u.length&&(i+=u.length,a=this.$renderToken(l,a,h,u))}}n[n.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(l,a,null,"",!0)},e.prototype.$renderSimpleLine=function(e,t){for(var n=0,i=0;ithis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(e,n,o,r);n=this.$renderToken(e,n,o,r)}}},e.prototype.$renderOverflowMessage=function(e,t,n,i,o){n&&this.$renderToken(e,t,n,i.slice(0,this.MAX_LINE_LENGTH-t));var r=this.dom.createElement("span");r.className="ace_inline_button ace_keyword ace_toggle_wrap",r.textContent=o?"":"",e.appendChild(r)},e.prototype.$renderLine=function(e,t,n){if(n||0==n||(n=this.session.getFoldLine(t)),n)var i=this.$getFoldLineTokens(t,n);else i=this.session.getTokens(t);var o=e;if(i.length){var r=this.session.getRowSplitData(t);r&&r.length?(this.$renderWrappedLine(e,i,r),o=e.lastChild):(o=e,this.$useLineGroups()&&(o=this.$createLineElement(),e.appendChild(o)),this.$renderSimpleLine(o,i))}else this.$useLineGroups()&&(o=this.$createLineElement(),e.appendChild(o));if(this.showEOL&&o){n&&(t=n.end.row);var s=this.dom.createElement("span");s.className="ace_invisible ace_invisible_eol",s.textContent=t==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,o.appendChild(s)}},e.prototype.$getFoldLineTokens=function(e,t){var n=this.session,i=[],o=n.getTokens(e);return t.walk((function(e,t,r,s,a){null!=e?i.push({type:"fold",value:e}):(a&&(o=n.getTokens(t)),o.length&&function(e,t,n){for(var o=0,r=0;r+e[o].value.lengthn-t&&(s=s.substring(0,n-t)),i.push({type:e[o].type,value:s}),r=t+s.length,o+=1);rn?i.push({type:e[o].type,value:s.substring(0,n-r)}):i.push(e[o]),r+=s.length,o+=1}}(o,s,r))}),t.end.row,this.session.getLine(t.end.row).length),i},e.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},e}();h.prototype.EOF_CHAR="¶",h.prototype.EOL_CHAR_LF="¬",h.prototype.EOL_CHAR_CRLF="¤",h.prototype.EOL_CHAR=h.prototype.EOL_CHAR_LF,h.prototype.TAB_CHAR="—",h.prototype.SPACE_CHAR="·",h.prototype.$padding=0,h.prototype.MAX_LINE_LENGTH=1e4,h.prototype.showInvisibles=!1,h.prototype.showSpaces=!1,h.prototype.showTabs=!1,h.prototype.showEOL=!1,h.prototype.displayIndentGuides=!0,h.prototype.$highlightIndentGuides=!0,h.prototype.$tabStrings=[],h.prototype.destroy={},h.prototype.onChangeTabSize=h.prototype.$computeTabString,i.implement(h.prototype,a),t.Text=h})),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],(function(e,t,n){var i=e("../lib/dom"),o=function(){function e(e){this.element=i.createElement("div"),this.element.className="ace_layer ace_cursor-layer",e.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),i.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}return e.prototype.$updateOpacity=function(e){for(var t=this.cursors,n=t.length;n--;)i.setStyle(t[n].style,"opacity",e?"":"0")},e.prototype.$startCssAnimation=function(){for(var e=this.cursors,t=e.length;t--;)e[t].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&i.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},e.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,i.removeCssClass(this.element,"ace_animate-blinking")},e.prototype.setPadding=function(e){this.$padding=e},e.prototype.setSession=function(e){this.session=e},e.prototype.setBlinking=function(e){e!=this.isBlinking&&(this.isBlinking=e,this.restartTimer())},e.prototype.setBlinkInterval=function(e){e!=this.blinkInterval&&(this.blinkInterval=e,this.restartTimer())},e.prototype.setSmoothBlinking=function(e){e!=this.smoothBlinking&&(this.smoothBlinking=e,i.setCssClass(this.element,"ace_smooth-blinking",e),this.$updateCursors(!0),this.restartTimer())},e.prototype.addCursor=function(){var e=i.createElement("div");return e.className="ace_cursor",this.element.appendChild(e),this.cursors.push(e),e},e.prototype.removeCursor=function(){if(this.cursors.length>1){var e=this.cursors.pop();return e.parentNode.removeChild(e),e}},e.prototype.hideCursor=function(){this.isVisible=!1,i.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},e.prototype.showCursor=function(){this.isVisible=!0,i.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},e.prototype.restartTimer=function(){var e=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,i.removeCssClass(this.element,"ace_smooth-blinking")),e(!0),this.isBlinking&&this.blinkInterval&&this.isVisible)if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&i.addCssClass(this.element,"ace_smooth-blinking")}.bind(this))),i.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var t=function(){this.timeoutId=setTimeout((function(){e(!1)}),.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval((function(){e(!0),t()}),this.blinkInterval),t()}else this.$stopCssAnimation()},e.prototype.getPixelPosition=function(e,t){if(!this.config||!this.session)return{left:0,top:0};e||(e=this.session.selection.getCursor());var n=this.session.documentToScreenPosition(e);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(n.row,e.row)?this.session.$bidiHandler.getPosLeft(n.column):n.column*this.config.characterWidth),top:(n.row-(t?this.config.firstRowScreen:0))*this.config.lineHeight}},e.prototype.isCursorInView=function(e,t){return e.top>=0&&e.tope.height+e.offset||s.top<0)&&n>1)){var a=this.cursors[o++]||this.addCursor(),l=a.style;this.drawCursor?this.drawCursor(a,s,e,t[n],this.session):this.isCursorInView(s,e)?(i.setStyle(l,"display","block"),i.translate(a,s.left,s.top),i.setStyle(l,"width",Math.round(e.characterWidth)+"px"),i.setStyle(l,"height",e.lineHeight+"px")):i.setStyle(l,"display","none")}}for(;this.cursors.length>o;)this.removeCursor();var c=this.session.getOverwrite();this.$setOverwrite(c),this.$pixelPos=s,this.restartTimer()},e.prototype.$setOverwrite=function(e){e!=this.overwrite&&(this.overwrite=e,e?i.addCssClass(this.element,"ace_overwrite-cursors"):i.removeCssClass(this.element,"ace_overwrite-cursors"))},e.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},e}();o.prototype.$padding=0,o.prototype.drawCursor=null,t.Cursor=o})),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=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])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=e("./lib/oop"),s=e("./lib/dom"),a=e("./lib/event"),l=e("./lib/event_emitter").EventEmitter,c=32768,h=function(){function e(e,t){this.element=s.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+t,this.inner=s.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent=" ",this.element.appendChild(this.inner),e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,a.addListener(this.element,"scroll",this.onScroll.bind(this)),a.addListener(this.element,"mousedown",a.preventDefault)}return e.prototype.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1},e}();r.implement(h.prototype,l);var u=function(e){function t(t,n){var i=e.call(this,t,"-v")||this;return i.scrollTop=0,i.scrollHeight=0,n.$scrollbarWidth=i.width=s.scrollbarWidth(t.ownerDocument),i.inner.style.width=i.element.style.width=(i.width||15)+5+"px",i.$minWidth=0,i}return o(t,e),t.prototype.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var e=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-e)/(this.coeff-e)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},t.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},t.prototype.setHeight=function(e){this.element.style.height=e+"px"},t.prototype.setScrollHeight=function(e){this.scrollHeight=e,e>c?(this.coeff=c/e,e=c):1!=this.coeff&&(this.coeff=1),this.inner.style.height=e+"px"},t.prototype.setScrollTop=function(e){this.scrollTop!=e&&(this.skipEvent=!0,this.scrollTop=e,this.element.scrollTop=e*this.coeff)},t}(h);u.prototype.setInnerHeight=u.prototype.setScrollHeight;var d=function(e){function t(t,n){var i=e.call(this,t,"-h")||this;return i.scrollLeft=0,i.height=n.$scrollbarWidth,i.inner.style.height=i.element.style.height=(i.height||15)+5+"px",i}return o(t,e),t.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},t.prototype.getHeight=function(){return this.isVisible?this.height:0},t.prototype.setWidth=function(e){this.element.style.width=e+"px"},t.prototype.setInnerWidth=function(e){this.inner.style.width=e+"px"},t.prototype.setScrollWidth=function(e){this.inner.style.width=e+"px"},t.prototype.setScrollLeft=function(e){this.scrollLeft!=e&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=e)},t}(h);t.ScrollBar=u,t.ScrollBarV=u,t.ScrollBarH=d,t.VScrollBar=u,t.HScrollBar=d})),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=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])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=e("./lib/oop"),s=e("./lib/dom"),a=e("./lib/event"),l=e("./lib/event_emitter").EventEmitter;s.importCssString(".ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{\n position: absolute;\n background: rgba(128, 128, 128, 0.6);\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n border: 1px solid #bbb;\n border-radius: 2px;\n z-index: 8;\n}\n.ace_editor>.ace_sb-v, .ace_editor>.ace_sb-h {\n position: absolute;\n z-index: 6;\n background: none;\n overflow: hidden!important;\n}\n.ace_editor>.ace_sb-v {\n z-index: 6;\n right: 0;\n top: 0;\n width: 12px;\n}\n.ace_editor>.ace_sb-v div {\n z-index: 8;\n right: 0;\n width: 100%;\n}\n.ace_editor>.ace_sb-h {\n bottom: 0;\n left: 0;\n height: 12px;\n}\n.ace_editor>.ace_sb-h div {\n bottom: 0;\n height: 100%;\n}\n.ace_editor>.ace_sb_grabbed {\n z-index: 8;\n background: #000;\n}","ace_scrollbar.css?v=1774508183068",!1);var c=function(){function e(e,t){this.element=s.createElement("div"),this.element.className="ace_sb"+t,this.inner=s.createElement("div"),this.inner.className="",this.element.appendChild(this.inner),this.VScrollWidth=12,this.HScrollHeight=12,e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,a.addMultiMouseDownListener(this.element,[500,300,300],this,"onMouseDown")}return e.prototype.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1},e}();r.implement(c.prototype,l);var h=function(e){function t(t,n){var i=e.call(this,t,"-v")||this;return i.scrollTop=0,i.scrollHeight=0,i.parent=t,i.width=i.VScrollWidth,i.renderer=n,i.inner.style.width=i.element.style.width=(i.width||15)+"px",i.$minWidth=0,i}return o(t,e),t.prototype.onMouseDown=function(e,t){if("mousedown"===e&&0===a.getButton(t)&&2!==t.detail){if(t.target===this.inner){var n=this,i=t.clientY,o=t.clientY,r=this.thumbTop;a.capture(this.inner,(function(e){i=e.clientY}),(function(){clearInterval(s)}));var s=setInterval((function(){if(void 0!==i){var e=n.scrollTopFromThumbTop(r+i-o);e!==n.scrollTop&&n._emit("scroll",{data:e})}}),20);return a.preventDefault(t)}var l=t.clientY-this.element.getBoundingClientRect().top-this.thumbHeight/2;return this._emit("scroll",{data:this.scrollTopFromThumbTop(l)}),a.preventDefault(t)}},t.prototype.getHeight=function(){return this.height},t.prototype.scrollTopFromThumbTop=function(e){var t=e*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight);return(t|=0)<0?t=0:t>this.pageHeight-this.viewHeight&&(t=this.pageHeight-this.viewHeight),t},t.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},t.prototype.setHeight=function(e){this.height=Math.max(0,e),this.slideHeight=this.height,this.viewHeight=this.height,this.setScrollHeight(this.pageHeight,!0)},t.prototype.setScrollHeight=function(e,t){(this.pageHeight!==e||t)&&(this.pageHeight=e,this.thumbHeight=this.slideHeight*this.viewHeight/this.pageHeight,this.thumbHeight>this.slideHeight&&(this.thumbHeight=this.slideHeight),this.thumbHeight<15&&(this.thumbHeight=15),this.inner.style.height=this.thumbHeight+"px",this.scrollTop>this.pageHeight-this.viewHeight&&(this.scrollTop=this.pageHeight-this.viewHeight,this.scrollTop<0&&(this.scrollTop=0),this._emit("scroll",{data:this.scrollTop})))},t.prototype.setScrollTop=function(e){this.scrollTop=e,e<0&&(e=0),this.thumbTop=e*(this.slideHeight-this.thumbHeight)/(this.pageHeight-this.viewHeight),this.inner.style.top=this.thumbTop+"px"},t}(c);h.prototype.setInnerHeight=h.prototype.setScrollHeight;var u=function(e){function t(t,n){var i=e.call(this,t,"-h")||this;return i.scrollLeft=0,i.scrollWidth=0,i.height=i.HScrollHeight,i.inner.style.height=i.element.style.height=(i.height||12)+"px",i.renderer=n,i}return o(t,e),t.prototype.onMouseDown=function(e,t){if("mousedown"===e&&0===a.getButton(t)&&2!==t.detail){if(t.target===this.inner){var n=this,i=t.clientX,o=t.clientX,r=this.thumbLeft;a.capture(this.inner,(function(e){i=e.clientX}),(function(){clearInterval(s)}));var s=setInterval((function(){if(void 0!==i){var e=n.scrollLeftFromThumbLeft(r+i-o);e!==n.scrollLeft&&n._emit("scroll",{data:e})}}),20);return a.preventDefault(t)}var l=t.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2;return this._emit("scroll",{data:this.scrollLeftFromThumbLeft(l)}),a.preventDefault(t)}},t.prototype.getHeight=function(){return this.isVisible?this.height:0},t.prototype.scrollLeftFromThumbLeft=function(e){var t=e*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth);return(t|=0)<0?t=0:t>this.pageWidth-this.viewWidth&&(t=this.pageWidth-this.viewWidth),t},t.prototype.setWidth=function(e){this.width=Math.max(0,e),this.element.style.width=this.width+"px",this.slideWidth=this.width,this.viewWidth=this.width,this.setScrollWidth(this.pageWidth,!0)},t.prototype.setScrollWidth=function(e,t){(this.pageWidth!==e||t)&&(this.pageWidth=e,this.thumbWidth=this.slideWidth*this.viewWidth/this.pageWidth,this.thumbWidth>this.slideWidth&&(this.thumbWidth=this.slideWidth),this.thumbWidth<15&&(this.thumbWidth=15),this.inner.style.width=this.thumbWidth+"px",this.scrollLeft>this.pageWidth-this.viewWidth&&(this.scrollLeft=this.pageWidth-this.viewWidth,this.scrollLeft<0&&(this.scrollLeft=0),this._emit("scroll",{data:this.scrollLeft})))},t.prototype.setScrollLeft=function(e){this.scrollLeft=e,e<0&&(e=0),this.thumbLeft=e*(this.slideWidth-this.thumbWidth)/(this.pageWidth-this.viewWidth),this.inner.style.left=this.thumbLeft+"px"},t}(c);u.prototype.setInnerWidth=u.prototype.setScrollWidth,t.ScrollBar=h,t.ScrollBarV=h,t.ScrollBarH=u,t.VScrollBar=h,t.HScrollBar=u})),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],(function(e,t,n){var i=e("./lib/event"),o=function(){function e(e,t){this.onRender=e,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=t||window;var n=this;this._flush=function(e){n.pending=!1;var t=n.changes;if(t&&(i.blockIdle(100),n.changes=0,n.onRender(t)),n.changes){if(n.$recursionLimit--<0)return;n.schedule()}else n.$recursionLimit=2}}return e.prototype.schedule=function(e){this.changes=this.changes|e,this.changes&&!this.pending&&(i.nextFrame(this._flush),this.pending=!0)},e.prototype.clear=function(e){var t=this.changes;return this.changes=0,t},e}();t.RenderLoop=o})),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],(function(e,t,n){var i=e("../lib/oop"),o=e("../lib/dom"),r=e("../lib/lang"),s=e("../lib/event"),a=e("../lib/useragent"),l=e("../lib/event_emitter").EventEmitter,c=512,h="function"==typeof ResizeObserver,u=200,d=function(){function e(e){this.el=o.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=o.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=o.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),e.appendChild(this.el),this.$measureNode.textContent=r.stringRepeat("X",c),this.$characterSize={width:0,height:0},h?this.$addObserver():this.checkForSizeChanges()}return e.prototype.$setMeasureNodeStyles=function(e,t){e.width=e.height="auto",e.left=e.top="0px",e.visibility="hidden",e.position="absolute",e.whiteSpace="pre",a.isIE<8?e["font-family"]="inherit":e.font="inherit",e.overflow=t?"hidden":"visible"},e.prototype.checkForSizeChanges=function(e){if(void 0===e&&(e=this.$measureSizes()),e&&(this.$characterSize.width!==e.width||this.$characterSize.height!==e.height)){this.$measureNode.style.fontWeight="bold";var t=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=e,this.charSizes=Object.create(null),this.allowBoldFonts=t&&t.width===e.width&&t.height===e.height,this._emit("changeCharacterSize",{data:e})}},e.prototype.$addObserver=function(){var e=this;this.$observer=new window.ResizeObserver((function(t){e.checkForSizeChanges()})),this.$observer.observe(this.$measureNode)},e.prototype.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var e=this;return this.$pollSizeChangesTimer=s.onIdle((function t(){e.checkForSizeChanges(),s.onIdle(t,500)}),500)},e.prototype.setPolling=function(e){e?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},e.prototype.$measureSizes=function(e){var t={height:(e||this.$measureNode).clientHeight,width:(e||this.$measureNode).clientWidth/c};return 0===t.width||0===t.height?null:t},e.prototype.$measureCharWidth=function(e){return this.$main.textContent=r.stringRepeat(e,c),this.$main.getBoundingClientRect().width/c},e.prototype.getCharacterWidth=function(e){var t=this.charSizes[e];return void 0===t&&(t=this.charSizes[e]=this.$measureCharWidth(e)/this.$characterSize.width),t},e.prototype.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},e.prototype.$getZoom=function(e){return e&&e.parentElement?(Number(window.getComputedStyle(e).zoom)||1)*this.$getZoom(e.parentElement):1},e.prototype.$initTransformMeasureNodes=function(){var e=function(e,t){return["div",{style:"position: absolute;top:"+e+"px;left:"+t+"px;"}]};this.els=o.buildDom([e(0,0),e(u,0),e(0,u),e(u,u)],this.el)},e.prototype.transformCoordinates=function(e,t){function n(e,t,n){var i=e[1]*t[0]-e[0]*t[1];return[(-t[1]*n[0]+t[0]*n[1])/i,(+e[1]*n[0]-e[0]*n[1])/i]}function i(e,t){return[e[0]-t[0],e[1]-t[1]]}function o(e,t){return[e[0]+t[0],e[1]+t[1]]}function r(e,t){return[e*t[0],e*t[1]]}function s(e){var t=e.getBoundingClientRect();return[t.left,t.top]}e&&(e=r(1/this.$getZoom(this.el),e)),this.els||this.$initTransformMeasureNodes();var a=s(this.els[0]),l=s(this.els[1]),c=s(this.els[2]),h=s(this.els[3]),d=n(i(h,l),i(h,c),i(o(l,c),o(h,a))),g=r(1+d[0],i(l,a)),p=r(1+d[1],i(c,a));if(t){var f=t,m=d[0]*f[0]/u+d[1]*f[1]/u+1,y=o(r(f[0],g),r(f[1],p));return o(r(1/m/u,y),a)}var v=i(e,a),w=n(i(g,r(d[0],v)),i(p,r(d[1],v)),v);return r(u,w)},e}();d.prototype.$characterSize={width:0,height:0},i.implement(d.prototype,l),t.FontMetrics=d})),ace.define("ace/css/editor-css",["require","exports","module"],(function(e,t,n){n.exports='\n.ace_br1 {border-top-left-radius : 3px;}\n.ace_br2 {border-top-right-radius : 3px;}\n.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}\n.ace_br4 {border-bottom-right-radius: 3px;}\n.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}\n.ace_br8 {border-bottom-left-radius : 3px;}\n.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n\n\n.ace_editor {\n position: relative;\n overflow: hidden;\n padding: 0;\n font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'Source Code Pro\', \'source-code-pro\', monospace;\n direction: ltr;\n text-align: left;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n forced-color-adjust: none;\n}\n\n.ace_scroller {\n position: absolute;\n overflow: hidden;\n top: 0;\n bottom: 0;\n background-color: inherit;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n cursor: text;\n}\n\n.ace_content {\n position: absolute;\n box-sizing: border-box;\n min-width: 100%;\n contain: style size layout;\n font-variant-ligatures: no-common-ligatures;\n}\n\n.ace_keyboard-focus:focus {\n box-shadow: inset 0 0 0 2px #5E9ED6;\n outline: none;\n}\n\n.ace_dragging .ace_scroller:before{\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n content: \'\';\n background: rgba(250, 250, 250, 0.01);\n z-index: 1000;\n}\n.ace_dragging.ace_dark .ace_scroller:before{\n background: rgba(0, 0, 0, 0.01);\n}\n\n.ace_gutter {\n position: absolute;\n overflow : hidden;\n width: auto;\n top: 0;\n bottom: 0;\n left: 0;\n cursor: default;\n z-index: 4;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n contain: style size layout;\n}\n\n.ace_gutter-active-line {\n position: absolute;\n left: 0;\n right: 0;\n}\n\n.ace_scroller.ace_scroll-left:after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;\n pointer-events: none;\n}\n\n.ace_gutter-cell, .ace_gutter-cell_svg-icons {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n padding-left: 19px;\n padding-right: 6px;\n background-repeat: no-repeat;\n}\n\n.ace_gutter-cell_svg-icons .ace_gutter_annotation {\n margin-left: -14px;\n float: left;\n}\n\n.ace_gutter-cell .ace_gutter_annotation {\n margin-left: -19px;\n float: left;\n}\n\n.ace_gutter-cell.ace_error, .ace_icon.ace_error, .ace_icon.ace_error_fold, .ace_gutter-cell.ace_security, .ace_icon.ace_security, .ace_icon.ace_security_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_warning, .ace_icon.ace_warning, .ace_icon.ace_warning_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_info, .ace_icon.ace_info, .ace_gutter-cell.ace_hint, .ace_icon.ace_hint {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_dark .ace_gutter-cell.ace_info, .ace_dark .ace_icon.ace_info, .ace_dark .ace_gutter-cell.ace_hint, .ace_dark .ace_icon.ace_hint {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");\n}\n\n.ace_icon_svg.ace_error {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJyZWQiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIj4KPGNpcmNsZSBmaWxsPSJub25lIiBjeD0iOCIgY3k9IjgiIHI9IjciIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPGxpbmUgeDE9IjExIiB5MT0iNSIgeDI9IjUiIHkyPSIxMSIvPgo8bGluZSB4MT0iMTEiIHkxPSIxMSIgeDI9IjUiIHkyPSI1Ii8+CjwvZz4KPC9zdmc+");\n background-color: crimson;\n}\n.ace_icon_svg.ace_security {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZT0iZGFya29yYW5nZSIgZmlsbD0ibm9uZSIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iPgogICAgICAgIDxwYXRoIGNsYXNzPSJzdHJva2UtbGluZWpvaW4tcm91bmQiIGQ9Ik04IDE0LjgzMDdDOCAxNC44MzA3IDIgMTIuOTA0NyAyIDguMDg5OTJWMy4yNjU0OEM1LjMxIDMuMjY1NDggNy45ODk5OSAxLjM0OTE4IDcuOTg5OTkgMS4zNDkxOEM3Ljk4OTk5IDEuMzQ5MTggMTAuNjkgMy4yNjU0OCAxNCAzLjI2NTQ4VjguMDg5OTJDMTQgMTIuOTA0NyA4IDE0LjgzMDcgOCAxNC44MzA3WiIvPgogICAgICAgIDxwYXRoIGQ9Ik0yIDguMDg5OTJWMy4yNjU0OEM1LjMxIDMuMjY1NDggNy45ODk5OSAxLjM0OTE4IDcuOTg5OTkgMS4zNDkxOCIvPgogICAgICAgIDxwYXRoIGQ9Ik0xMy45OSA4LjA4OTkyVjMuMjY1NDhDMTAuNjggMy4yNjU0OCA4IDEuMzQ5MTggOCAxLjM0OTE4Ii8+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTggNFY5Ii8+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTggMTBWMTIiLz4KICAgIDwvZz4KPC9zdmc+");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJkYXJrb3JhbmdlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+Cjxwb2x5Z29uIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGZpbGw9Im5vbmUiIHBvaW50cz0iOCAxIDE1IDE1IDEgMTUgOCAxIi8+CjxyZWN0IHg9IjgiIHk9IjEyIiB3aWR0aD0iMC4wMSIgaGVpZ2h0PSIwLjAxIi8+CjxsaW5lIHgxPSI4IiB5MT0iNiIgeDI9IjgiIHkyPSIxMCIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: darkorange;\n}\n.ace_icon_svg.ace_info {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJibHVlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CjxjaXJjbGUgZmlsbD0ibm9uZSIgY3g9IjgiIGN5PSI4IiByPSI3IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjxwb2x5bGluZSBwb2ludHM9IjggMTEgOCA4Ii8+Cjxwb2x5bGluZSBwb2ludHM9IjkgOCA2IDgiLz4KPGxpbmUgeDE9IjEwIiB5MT0iMTEiIHgyPSI2IiB5Mj0iMTEiLz4KPHJlY3QgeD0iOCIgeT0iNSIgd2lkdGg9IjAuMDEiIGhlaWdodD0iMC4wMSIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: royalblue;\n}\n.ace_icon_svg.ace_hint {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZT0ic2lsdmVyIiBmaWxsPSJub25lIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTYgMTRIMTAiLz4KICAgICAgICA8cGF0aCBkPSJNOCAxMUg5QzkgOS40NzAwMiAxMiA4LjU0MDAyIDEyIDUuNzYwMDJDMTIuMDIgNC40MDAwMiAxMS4zOSAzLjM2MDAyIDEwLjQzIDIuNjcwMDJDOSAxLjY0MDAyIDcuMDAwMDEgMS42NDAwMiA1LjU3MDAxIDIuNjcwMDJDNC42MTAwMSAzLjM2MDAyIDMuOTggNC40MDAwMiA0IDUuNzYwMDJDNCA4LjU0MDAyIDcuMDAwMDEgOS40NzAwMiA3LjAwMDAxIDExSDhaIi8+CiAgICA8L2c+Cjwvc3ZnPg==");\n background-color: silver;\n}\n\n.ace_icon_svg.ace_error_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSI+CiAgPHBhdGggZD0ibSAxOC45Mjk4NTEsNy44Mjk4MDc2IGMgMC4xNDYzNTMsNi4zMzc0NjA0IC02LjMyMzE0Nyw3Ljc3Nzg0NDQgLTcuNDc3OTEyLDcuNzc3ODQ0NCAtMi4xMDcyNzI2LC0wLjEyODc1IDUuMTE3Njc4LDAuMzU2MjQ5IDUuMDUxNjk4LC03Ljg3MDA2MTggLTAuNjA0NjcyLC04LjAwMzk3MzQ5IC03LjA3NzI3MDYsLTcuNTYzMTE4OSAtNC44NTczLC03LjQzMDM5NTU2IDEuNjA2LC0wLjExNTE0MjI1IDYuODk3NDg1LDEuMjYyNTQ1OTYgNy4yODM1MTQsNy41MjI2MTI5NiB6IiBmaWxsPSJjcmltc29uIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0ibSA4LjExNDc1NjIsMi4wNTI5ODI4IGMgMy4zNDkxNjk4LDAgNi4wNjQxMzI4LDIuNjc2ODYyNyA2LjA2NDEzMjgsNS45Nzg5NTMgMCwzLjMwMjExMjIgLTIuNzE0OTYzLDUuOTc4OTIwMiAtNi4wNjQxMzI4LDUuOTc4OTIwMiAtMy4zNDkxNDczLDAgLTYuMDY0MTc3MiwtMi42NzY4MDggLTYuMDY0MTc3MiwtNS45Nzg5MjAyIDAuMDA1MzksLTMuMjk5ODg2MSAyLjcxNzI2NTYsLTUuOTczNjQwOCA2LjA2NDE3NzIsLTUuOTc4OTUzIHogbSAwLC0xLjczNTgyNzE5IGMgLTQuMzIxNDgzNiwwIC03LjgyNDc0MDM4LDMuNDU0MDE4NDkgLTcuODI0NzQwMzgsNy43MTQ3ODAxOSAwLDQuMjYwNzI4MiAzLjUwMzI1Njc4LDcuNzE0NzQ1MiA3LjgyNDc0MDM4LDcuNzE0NzQ1MiA0LjMyMTQ0OTgsMCA3LjgyNDY5OTgsLTMuNDU0MDE3IDcuODI0Njk5OCwtNy43MTQ3NDUyIDAsLTIuMDQ2MDkxNCAtMC44MjQzOTIsLTQuMDA4MzY3MiAtMi4yOTE3NTYsLTUuNDU1MTc0NiBDIDEyLjE4MDIyNSwxLjEyOTk2NDggMTAuMTkwMDEzLDAuMzE3MTU1NjEgOC4xMTQ3NTYyLDAuMzE3MTU1NjEgWiBNIDYuOTM3NDU2Myw4LjI0MDU5ODUgNC42NzE4Njg1LDEwLjQ4NTg1MiA2LjAwODY4MTQsMTEuODc2NzI4IDguMzE3MDAzNSw5LjYwMDc5MTEgMTAuNjI1MzM3LDExLjg3NjcyOCAxMS45NjIxMzgsMTAuNDg1ODUyIDkuNjk2NTUwOCw4LjI0MDU5ODUgMTEuOTYyMTM4LDYuMDA2ODA2NiAxMC41NzMyNDYsNC42Mzc0MzM1IDguMzE3MDAzNSw2Ljg3MzQyOTcgNi4wNjA3NjA3LDQuNjM3NDMzNSA0LjY3MTg2ODUsNi4wMDY4MDY2IFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=");\n background-color: crimson;\n}\n.ace_icon_svg.ace_security_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTcgMTQiIGZpbGw9Im5vbmUiPgogICAgPHBhdGggZD0iTTEwLjAwMDEgMTMuNjk5MkMxMC4wMDAxIDEzLjY5OTIgMTEuOTI0MSAxMy40NzYzIDEzIDEyLjY5OTJDMTQuNDEzOSAxMS42NzgxIDE2IDEwLjUgMTYuMTI1MSA2LjgxMTI2VjIuNTg5ODdDMTYuMTI1MSAyLjU0NzY4IDE2LjEyMjEgMi41MDYxOSAxNi4xMTY0IDIuNDY1NTlWMS43MTQ4NUgxNS4yNDE0TDE1LjIzMDcgMS43MTQ4NEwxNC42MjUxIDEuNjk5MjJWNi44MTEyM0MxNC42MjUxIDguNTEwNjEgMTQuNjI1MSA5LjQ2NDYxIDEyLjc4MjQgMTEuNzIxQzEyLjE1ODYgMTIuNDg0OCAxMC4wMDAxIDEzLjY5OTIgMTAuMDAwMSAxMy42OTkyWiIgZmlsbD0iY3JpbXNvbiIgc3Ryb2tlLXdpZHRoPSIyIi8+CiAgICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTcuMzM2MDkgMC4zNjc0NzVDNy4wMzIxNCAwLjE1MjY1MiA2LjYyNTQ4IDAuMTUzNjE0IDYuMzIyNTMgMC4zNjk5OTdMNi4zMDg2OSAwLjM3OTU1NEM2LjI5NTUzIDAuMzg4NTg4IDYuMjczODggMC40MDMyNjYgNi4yNDQxNyAwLjQyMjc4OUM2LjE4NDcxIDAuNDYxODYgNi4wOTMyMSAwLjUyMDE3MSA1Ljk3MzEzIDAuNTkxMzczQzUuNzMyNTEgMC43MzQwNTkgNS4zNzk5IDAuOTI2ODY0IDQuOTQyNzkgMS4xMjAwOUM0LjA2MTQ0IDEuNTA5NyAyLjg3NTQxIDEuODgzNzcgMS41ODk4NCAxLjg4Mzc3SDAuNzE0ODQ0VjIuNzU4NzdWNi45ODAxNUMwLjcxNDg0NCA5LjQ5Mzc0IDIuMjg4NjYgMTEuMTk3MyAzLjcwMjU0IDEyLjIxODVDNC40MTg0NSAxMi43MzU1IDUuMTI4NzQgMTMuMTA1MyA1LjY1NzMzIDEzLjM0NTdDNS45MjI4NCAxMy40NjY0IDYuMTQ1NjYgMTMuNTU1OSA2LjMwNDY1IDEzLjYxNjFDNi4zODQyMyAxMy42NDYyIDYuNDQ4MDUgMTMuNjY5IDYuNDkzNDkgMTMuNjg0OEM2LjUxNjIyIDEzLjY5MjcgNi41MzQzOCAxMy42OTg5IDYuNTQ3NjQgMTMuNzAzM0w2LjU2MzgyIDEzLjcwODdMNi41NjkwOCAxMy43MTA0TDYuNTcwOTkgMTMuNzExTDYuODM5ODQgMTMuNzUzM0w2LjU3MjQyIDEzLjcxMTVDNi43NDYzMyAxMy43NjczIDYuOTMzMzUgMTMuNzY3MyA3LjEwNzI3IDEzLjcxMTVMNy4xMDg3IDEzLjcxMUw3LjExMDYxIDEzLjcxMDRMNy4xMTU4NyAxMy43MDg3TDcuMTMyMDUgMTMuNzAzM0M3LjE0NTMxIDEzLjY5ODkgNy4xNjM0NiAxMy42OTI3IDcuMTg2MTkgMTMuNjg0OEM3LjIzMTY0IDEzLjY2OSA3LjI5NTQ2IDEzLjY0NjIgNy4zNzUwMyAxMy42MTYxQzcuNTM0MDMgMTMuNTU1OSA3Ljc1Njg1IDEzLjQ2NjQgOC4wMjIzNiAxMy4zNDU3QzguNTUwOTUgMTMuMTA1MyA5LjI2MTIzIDEyLjczNTUgOS45NzcxNSAxMi4yMTg1QzExLjM5MSAxMS4xOTczIDEyLjk2NDggOS40OTM3NyAxMi45NjQ4IDYuOTgwMThWMi43NTg4QzEyLjk2NDggMi43MTY2IDEyLjk2MTkgMi42NzUxMSAxMi45NTYxIDIuNjM0NTFWMS44ODM3N0gxMi4wODExQzEyLjA3NzUgMS44ODM3NyAxMi4wNzQgMS44ODM3NyAxMi4wNzA0IDEuODgzNzdDMTAuNzk3OSAxLjg4MDA0IDkuNjE5NjIgMS41MTEwMiA4LjczODk0IDEuMTI0ODZDOC43MzUzNCAxLjEyMzI3IDguNzMxNzQgMS4xMjE2OCA4LjcyODE0IDEuMTIwMDlDOC4yOTEwMyAwLjkyNjg2NCA3LjkzODQyIDAuNzM0MDU5IDcuNjk3NzkgMC41OTEzNzNDNy41Nzc3MiAwLjUyMDE3MSA3LjQ4NjIyIDAuNDYxODYgNy40MjY3NiAwLjQyMjc4OUM3LjM5NzA1IDAuNDAzMjY2IDcuMzc1MzkgMC4zODg1ODggNy4zNjIyNCAwLjM3OTU1NEw3LjM0ODk2IDAuMzcwMzVDNy4zNDg5NiAwLjM3MDM1IDcuMzQ4NDcgMC4zNzAwMiA3LjM0NTYzIDAuMzc0MDU0TDcuMzM3NzkgMC4zNjg2NTlMNy4zMzYwOSAwLjM2NzQ3NVpNOC4wMzQ3MSAyLjcyNjkxQzguODYwNCAzLjA5MDYzIDkuOTYwNjYgMy40NjMwOSAxMS4yMDYxIDMuNTg5MDdWNi45ODAxNUgxMS4yMTQ4QzExLjIxNDggOC42Nzk1MyAxMC4xNjM3IDkuOTI1MDcgOC45NTI1NCAxMC43OTk4QzguMzU1OTUgMTEuMjMwNiA3Ljc1Mzc0IDExLjU0NTQgNy4yOTc5NiAxMS43NTI3QzcuMTE2NzEgMTEuODM1MSA2Ljk2MDYyIDExLjg5OTYgNi44Mzk4NCAxMS45NDY5QzYuNzE5MDYgMTEuODk5NiA2LjU2Mjk3IDExLjgzNTEgNi4zODE3MyAxMS43NTI3QzUuOTI1OTUgMTEuNTQ1NCA1LjMyMzczIDExLjIzMDYgNC43MjcxNSAxMC43OTk4QzMuNTE2MDMgOS45MjUwNyAyLjQ2NDg0IDguNjc5NTUgMi40NjQ4NCA2Ljk4MDE4VjMuNTg5MDlDMy43MTczOCAzLjQ2MjM5IDQuODIzMDggMy4wODYzOSA1LjY1MDMzIDIuNzIwNzFDNi4xNDIyOCAyLjUwMzI0IDYuNTQ0ODUgMi4yODUzNyA2LjgzMjU0IDIuMTE2MjRDNy4xMjE4MSAyLjI4NTM1IDcuNTI3IDIuNTAzNTIgOC4wMjE5NiAyLjcyMTMxQzguMDI2MiAyLjcyMzE3IDguMDMwNDUgMi43MjUwNCA4LjAzNDcxIDIuNzI2OTFaTTUuOTY0ODQgMy40MDE0N1Y3Ljc3NjQ3SDcuNzE0ODRWMy40MDE0N0g1Ljk2NDg0Wk01Ljk2NDg0IDEwLjQwMTVWOC42NTE0N0g3LjcxNDg0VjEwLjQwMTVINS45NjQ4NFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNC43NzY5IDE0LjczMzdMOC42NTE5MiAyLjQ4MzY5QzguMzI5NDYgMS44Mzg3NyA3LjQwOTEzIDEuODM4NzcgNy4wODY2NyAyLjQ4MzY5TDAuOTYxNjY5IDE0LjczMzdDMC42NzA3NzUgMTUuMzE1NSAxLjA5MzgzIDE2IDEuNzQ0MjkgMTZIMTMuOTk0M0MxNC42NDQ4IDE2IDE1LjA2NzggMTUuMzE1NSAxNC43NzY5IDE0LjczMzdaTTMuMTYwMDcgMTQuMjVMNy44NjkyOSA0LjgzMTU2TDEyLjU3ODUgMTQuMjVIMy4xNjAwN1pNOC43NDQyOSAxMS42MjVWMTMuMzc1SDYuOTk0MjlWMTEuNjI1SDguNzQ0MjlaTTYuOTk0MjkgMTAuNzVWNy4yNUg4Ljc0NDI5VjEwLjc1SDYuOTk0MjlaIiBmaWxsPSIjRUM3MjExIi8+CjxwYXRoIGQ9Ik0xMS4xOTkxIDIuOTUyMzhDMTAuODgwOSAyLjMxNDY3IDEwLjM1MzcgMS44MDUyNiA5LjcwNTUgMS41MDlMMTEuMDQxIDEuMDY5NzhDMTEuNjg4MyAwLjk0OTgxNCAxMi4zMzcgMS4yNzI2MyAxMi42MzE3IDEuODYxNDFMMTcuNjEzNiAxMS44MTYxQzE4LjM1MjcgMTMuMjkyOSAxNy41OTM4IDE1LjA4MDQgMTYuMDE4IDE1LjU3NDVDMTYuNDA0NCAxNC40NTA3IDE2LjMyMzEgMTMuMjE4OCAxNS43OTI0IDEyLjE1NTVMMTEuMTk5MSAyLjk1MjM4WiIgZmlsbD0iI0VDNzIxMSIvPgo8L3N2Zz4=");\n background-color: darkorange;\n}\n\n.ace_scrollbar {\n contain: strict;\n position: absolute;\n right: 0;\n bottom: 0;\n z-index: 6;\n}\n\n.ace_scrollbar-inner {\n position: absolute;\n cursor: text;\n left: 0;\n top: 0;\n}\n\n.ace_scrollbar-v{\n overflow-x: hidden;\n overflow-y: scroll;\n top: 0;\n}\n\n.ace_scrollbar-h {\n overflow-x: scroll;\n overflow-y: hidden;\n left: 0;\n}\n\n.ace_print-margin {\n position: absolute;\n height: 100%;\n}\n\n.ace_text-input {\n position: absolute;\n z-index: 0;\n width: 0.5em;\n height: 1em;\n opacity: 0;\n background: transparent;\n -moz-appearance: none;\n appearance: none;\n border: none;\n resize: none;\n outline: none;\n overflow: hidden;\n font: inherit;\n padding: 0 1px;\n margin: 0 -1px;\n contain: strict;\n -ms-user-select: text;\n -moz-user-select: text;\n -webkit-user-select: text;\n user-select: text;\n /*with `pre-line` chrome inserts   instead of space*/\n white-space: pre!important;\n}\n.ace_text-input.ace_composition {\n background: transparent;\n color: inherit;\n z-index: 1000;\n opacity: 1;\n}\n.ace_composition_placeholder { color: transparent }\n.ace_composition_marker { \n border-bottom: 1px solid;\n position: absolute;\n border-radius: 0;\n margin-top: 1px;\n}\n\n[ace_nocontext=true] {\n transform: none!important;\n filter: none!important;\n clip-path: none!important;\n mask : none!important;\n contain: none!important;\n perspective: none!important;\n mix-blend-mode: initial!important;\n z-index: auto;\n}\n\n.ace_layer {\n z-index: 1;\n position: absolute;\n overflow: hidden;\n /* workaround for chrome bug https://github.com/ajaxorg/ace/issues/2312*/\n word-wrap: normal;\n white-space: pre;\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n /* setting pointer-events: auto; on node under the mouse, which changes\n during scroll, will break mouse wheel scrolling in Safari */\n pointer-events: none;\n}\n\n.ace_gutter-layer {\n position: relative;\n width: auto;\n text-align: right;\n pointer-events: auto;\n height: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer {\n font: inherit !important;\n position: absolute;\n height: 1000000px;\n width: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group {\n contain: style size layout;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n}\n\n.ace_hidpi .ace_text-layer,\n.ace_hidpi .ace_gutter-layer,\n.ace_hidpi .ace_content,\n.ace_hidpi .ace_gutter {\n contain: strict;\n}\n.ace_hidpi .ace_text-layer > .ace_line, \n.ace_hidpi .ace_text-layer > .ace_line_group {\n contain: strict;\n}\n\n.ace_cjk {\n display: inline-block;\n text-align: center;\n}\n\n.ace_cursor-layer {\n z-index: 4;\n}\n\n.ace_cursor {\n z-index: 4;\n position: absolute;\n box-sizing: border-box;\n border-left: 2px solid;\n /* workaround for smooth cursor repaintng whole screen in chrome */\n transform: translatez(0);\n}\n\n.ace_multiselect .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_slim-cursors .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_overwrite-cursors .ace_cursor {\n border-left-width: 0;\n border-bottom: 1px solid;\n}\n\n.ace_hidden-cursors .ace_cursor {\n opacity: 0.2;\n}\n\n.ace_hasPlaceholder .ace_hidden-cursors .ace_cursor {\n opacity: 0;\n}\n\n.ace_smooth-blinking .ace_cursor {\n transition: opacity 0.18s;\n}\n\n.ace_animate-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: step-end;\n animation-name: blink-ace-animate;\n animation-iteration-count: infinite;\n}\n\n.ace_animate-blinking.ace_smooth-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: ease-in-out;\n animation-name: blink-ace-animate-smooth;\n}\n \n@keyframes blink-ace-animate {\n from, to { opacity: 1; }\n 60% { opacity: 0; }\n}\n\n@keyframes blink-ace-animate-smooth {\n from, to { opacity: 1; }\n 45% { opacity: 1; }\n 60% { opacity: 0; }\n 85% { opacity: 0; }\n}\n\n.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {\n position: absolute;\n z-index: 3;\n}\n\n.ace_marker-layer .ace_selection {\n position: absolute;\n z-index: 5;\n}\n\n.ace_marker-layer .ace_bracket {\n position: absolute;\n z-index: 6;\n}\n\n.ace_marker-layer .ace_error_bracket {\n position: absolute;\n border-bottom: 1px solid #DE5555;\n border-radius: 0;\n}\n\n.ace_marker-layer .ace_active-line {\n position: absolute;\n z-index: 2;\n}\n\n.ace_marker-layer .ace_selected-word {\n position: absolute;\n z-index: 4;\n box-sizing: border-box;\n}\n\n.ace_line .ace_fold {\n box-sizing: border-box;\n\n display: inline-block;\n height: 11px;\n margin-top: -2px;\n vertical-align: middle;\n\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");\n background-repeat: no-repeat, repeat-x;\n background-position: center center, top left;\n color: transparent;\n\n border: 1px solid black;\n border-radius: 2px;\n\n cursor: pointer;\n pointer-events: auto;\n}\n\n.ace_dark .ace_fold {\n}\n\n.ace_fold:hover{\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");\n}\n\n.ace_tooltip {\n background-color: #f5f5f5;\n border: 1px solid gray;\n border-radius: 1px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n color: black;\n max-width: 100%;\n padding: 3px 4px;\n position: fixed;\n z-index: 999999;\n box-sizing: border-box;\n cursor: default;\n white-space: pre-wrap;\n word-wrap: break-word;\n line-height: normal;\n font-style: normal;\n font-weight: normal;\n letter-spacing: normal;\n pointer-events: none;\n overflow: auto;\n max-width: min(60em, 66vw);\n overscroll-behavior: contain;\n}\n.ace_tooltip pre {\n white-space: pre-wrap;\n}\n\n.ace_tooltip.ace_dark {\n background-color: #636363;\n color: #fff;\n}\n\n.ace_tooltip:focus {\n outline: 1px solid #5E9ED6;\n}\n\n.ace_icon {\n display: inline-block;\n width: 18px;\n vertical-align: top;\n}\n\n.ace_icon_svg {\n display: inline-block;\n width: 12px;\n vertical-align: top;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-size: 12px;\n -webkit-mask-position: center;\n}\n\n.ace_folding-enabled > .ace_gutter-cell, .ace_folding-enabled > .ace_gutter-cell_svg-icons {\n padding-right: 13px;\n}\n\n.ace_fold-widget {\n box-sizing: border-box;\n\n margin: 0 -12px 0 1px;\n display: none;\n width: 11px;\n vertical-align: top;\n\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: center;\n\n border-radius: 3px;\n \n border: 1px solid transparent;\n cursor: pointer;\n}\n\n.ace_folding-enabled .ace_fold-widget {\n display: inline-block; \n}\n\n.ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");\n}\n\n.ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");\n}\n\n.ace_fold-widget:hover {\n border: 1px solid rgba(0, 0, 0, 0.3);\n background-color: rgba(255, 255, 255, 0.2);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);\n}\n\n.ace_fold-widget:active {\n border: 1px solid rgba(0, 0, 0, 0.4);\n background-color: rgba(0, 0, 0, 0.05);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);\n}\n/**\n * Dark version for fold widgets\n */\n.ace_dark .ace_fold-widget {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");\n}\n.ace_dark .ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget:hover {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n background-color: rgba(255, 255, 255, 0.1);\n}\n.ace_dark .ace_fold-widget:active {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n}\n\n.ace_inline_button {\n border: 1px solid lightgray;\n display: inline-block;\n margin: -1px 8px;\n padding: 0 5px;\n pointer-events: auto;\n cursor: pointer;\n}\n.ace_inline_button:hover {\n border-color: gray;\n background: rgba(200,200,200,0.2);\n display: inline-block;\n pointer-events: auto;\n}\n\n.ace_fold-widget.ace_invalid {\n background-color: #FFB4B4;\n border-color: #DE5555;\n}\n\n.ace_fade-fold-widgets .ace_fold-widget {\n transition: opacity 0.4s ease 0.05s;\n opacity: 0;\n}\n\n.ace_fade-fold-widgets:hover .ace_fold-widget {\n transition: opacity 0.05s ease 0.05s;\n opacity:1;\n}\n\n.ace_underline {\n text-decoration: underline;\n}\n\n.ace_bold {\n font-weight: bold;\n}\n\n.ace_nobold .ace_bold {\n font-weight: normal;\n}\n\n.ace_italic {\n font-style: italic;\n}\n\n\n.ace_error-marker {\n background-color: rgba(255, 0, 0,0.2);\n position: absolute;\n z-index: 9;\n}\n\n.ace_highlight-marker {\n background-color: rgba(255, 255, 0,0.2);\n position: absolute;\n z-index: 8;\n}\n\n.ace_mobile-menu {\n position: absolute;\n line-height: 1.5;\n border-radius: 4px;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n background: white;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #dcdcdc;\n color: black;\n}\n.ace_dark > .ace_mobile-menu {\n background: #333;\n color: #ccc;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #444;\n\n}\n.ace_mobile-button {\n padding: 2px;\n cursor: pointer;\n overflow: hidden;\n}\n.ace_mobile-button:hover {\n background-color: #eee;\n opacity:1;\n}\n.ace_mobile-button:active {\n background-color: #ddd;\n}\n\n.ace_placeholder {\n position: relative;\n font-family: arial;\n transform: scale(0.9);\n transform-origin: left;\n white-space: pre;\n opacity: 0.7;\n margin: 0 10px;\n z-index: 1;\n}\n\n.ace_ghost_text {\n opacity: 0.5;\n font-style: italic;\n}\n\n.ace_ghost_text_container > div {\n white-space: pre;\n}\n\n.ghost_text_line_wrapped::after {\n content: "↩";\n position: absolute;\n}\n\n.ace_lineWidgetContainer.ace_ghost_text {\n margin: 0px 4px\n}\n\n.ace_screenreader-only {\n position:absolute;\n left:-10000px;\n top:auto;\n width:1px;\n height:1px;\n overflow:hidden;\n}\n\n.ace_hidden_token {\n display: none;\n}'})),ace.define("ace/layer/decorators",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter"],(function(e,t,n){var i=e("../lib/dom"),o=e("../lib/oop"),r=e("../lib/event_emitter").EventEmitter,s=function(){function e(e,t){this.canvas=i.createElement("canvas"),this.renderer=t,this.pixelRatio=1,this.maxHeight=t.layerConfig.maxHeight,this.lineHeight=t.layerConfig.lineHeight,this.canvasHeight=e.parent.scrollHeight,this.heightRatio=this.canvasHeight/this.maxHeight,this.canvasWidth=e.width,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.canvas.style.top="0px",this.canvas.style.right="0px",this.canvas.style.zIndex="7px",this.canvas.style.position="absolute",this.colors={},this.colors.dark={error:"rgba(255, 18, 18, 1)",warning:"rgba(18, 136, 18, 1)",info:"rgba(18, 18, 136, 1)"},this.colors.light={error:"rgb(255,51,51)",warning:"rgb(32,133,72)",info:"rgb(35,68,138)"},e.element.appendChild(this.canvas)}return e.prototype.$updateDecorators=function(e){var t=!0===this.renderer.theme.isDark?this.colors.dark:this.colors.light;e&&(this.maxHeight=e.maxHeight,this.lineHeight=e.lineHeight,this.canvasHeight=e.height,(e.lastRow+1)*this.lineHeightt.priority?1:0}));for(var r=this.renderer.session.$foldData,s=0;sthis.canvasHeight&&(d=this.canvasHeight-this.halfMinDecorationHeight),h=Math.round(d-this.halfMinDecorationHeight),u=Math.round(d+this.halfMinDecorationHeight)}n.fillStyle=t[i[s].type]||null,n.fillRect(0,c,this.canvasWidth,u-h)}}var g=this.renderer.session.selection.getCursor();g&&(l=this.compensateFoldRows(g.row,r),c=Math.round((g.row-l)*this.lineHeight*this.heightRatio),n.fillStyle="rgba(0, 0, 0, 0.5)",n.fillRect(0,c,this.canvasWidth,2))},e.prototype.compensateFoldRows=function(e,t){var n=0;if(t&&t.length>0)for(var i=0;it[i].start.row&&e=t[i].end.row&&(n+=t[i].end.row-t[i].start.row);return n},e}();o.implement(s.prototype,r),t.Decorator=s})),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/scrollbar_custom","ace/scrollbar_custom","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/css/editor-css","ace/layer/decorators","ace/lib/useragent","ace/layer/text_util"],(function(e,t,n){var i=e("./lib/oop"),o=e("./lib/dom"),r=e("./lib/lang"),s=e("./config"),a=e("./layer/gutter").Gutter,l=e("./layer/marker").Marker,c=e("./layer/text").Text,h=e("./layer/cursor").Cursor,u=e("./scrollbar").HScrollBar,d=e("./scrollbar").VScrollBar,g=e("./scrollbar_custom").HScrollBar,p=e("./scrollbar_custom").VScrollBar,f=e("./renderloop").RenderLoop,m=e("./layer/font_metrics").FontMetrics,y=e("./lib/event_emitter").EventEmitter,v=e("./css/editor-css"),w=e("./layer/decorators").Decorator,b=e("./lib/useragent"),$=e("./layer/text_util").isTextToken;o.importCssString(v,"ace_editor.css?v=1774508183068",!1);var C=function(){function e(e,t){var n=this;this.container=e||o.createElement("div"),o.addCssClass(this.container,"ace_editor"),o.HI_DPI&&o.addCssClass(this.container,"ace_hidpi"),this.setTheme(t),null==s.get("useStrictCSP")&&s.set("useStrictCSP",!1),this.$gutter=o.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden","true"),this.scroller=o.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=o.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new a(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new l(this.content);var i=this.$textLayer=new c(this.content);this.canvas=i.element,this.$markerFront=new l(this.content),this.$cursorLayer=new h(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new d(this.container,this),this.scrollBarH=new u(this.container,this),this.scrollBarV.on("scroll",(function(e){n.$scrollAnimation||n.session.setScrollTop(e.data-n.scrollMargin.top)})),this.scrollBarH.on("scroll",(function(e){n.$scrollAnimation||n.session.setScrollLeft(e.data-n.scrollMargin.left)})),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new m(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",(function(e){n.updateCharacterSize(),n.onResize(!0,n.gutterWidth,n.$size.width,n.$size.height),n._signal("changeCharacterSize",e)})),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!b.isIOS,this.$loop=new f(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),this.$addResizeObserver(),s.resetOptions(this),s._signal("renderer",this)}return e.prototype.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),o.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},e.prototype.setSession=function(e){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=e,e&&this.scrollMargin.top&&e.getScrollTop()<=0&&e.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(e),this.$markerBack.setSession(e),this.$markerFront.setSession(e),this.$gutterLayer.setSession(e),this.$textLayer.setSession(e),e&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},e.prototype.updateLines=function(e,t,n){if(void 0===t&&(t=1/0),this.$changedLines?(this.$changedLines.firstRow>e&&(this.$changedLines.firstRow=e),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},e.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},e.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},e.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},e.prototype.updateFull=function(e){e?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},e.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},e.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},e.prototype.onResize=function(e,t,n,i){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=e?1:0;var o=this.container;i||(i=o.clientHeight||o.scrollHeight),!i&&this.$maxLines&&this.lineHeight>1&&(o.style.height&&"0px"!=o.style.height||(o.style.height="1px",i=o.clientHeight||o.scrollHeight)),n||(n=o.clientWidth||o.scrollWidth);var r=this.$updateCachedSize(e,t,n,i);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!n&&!i)return this.resizing=0;e&&(this.$gutterLayer.$padding=null),e?this.$renderChanges(r|this.$changes,!0):this.$loop.schedule(r|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},e.prototype.$updateCachedSize=function(e,t,n,i){i-=this.$extraHeight||0;var r=0,s=this.$size,a={width:s.width,height:s.height,scrollerHeight:s.scrollerHeight,scrollerWidth:s.scrollerWidth};if(i&&(e||s.height!=i)&&(s.height=i,r|=this.CHANGE_SIZE,s.scrollerHeight=s.height,this.$horizScroll&&(s.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(s.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",r|=this.CHANGE_SCROLL),n&&(e||s.width!=n)){r|=this.CHANGE_SIZE,s.width=n,null==t&&(t=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=t,o.setStyle(this.scrollBarH.element.style,"left",t+"px"),o.setStyle(this.scroller.style,"left",t+this.margin.left+"px"),s.scrollerWidth=Math.max(0,n-t-this.scrollBarV.getWidth()-this.margin.h),o.setStyle(this.$gutter.style,"left",this.margin.left+"px");var l=this.scrollBarV.getWidth()+"px";o.setStyle(this.scrollBarH.element.style,"right",l),o.setStyle(this.scroller.style,"right",l),o.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(s.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||e)&&(r|=this.CHANGE_FULL)}return s.$dirty=!n||!i,r&&this._signal("resize",a),r},e.prototype.onGutterResize=function(e){var t=this.$showGutter?e:0;t!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,t,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()||this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},e.prototype.adjustWrapLimit=function(){var e=this.$size.scrollerWidth-2*this.$padding,t=Math.floor(e/this.characterWidth);return this.session.adjustWrapLimit(t,this.$showPrintMargin&&this.$printMarginColumn)},e.prototype.setAnimatedScroll=function(e){this.setOption("animatedScroll",e)},e.prototype.getAnimatedScroll=function(){return this.$animatedScroll},e.prototype.setShowInvisibles=function(e){this.setOption("showInvisibles",e),this.session.$bidiHandler.setShowInvisibles(e)},e.prototype.getShowInvisibles=function(){return this.getOption("showInvisibles")},e.prototype.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},e.prototype.setDisplayIndentGuides=function(e){this.setOption("displayIndentGuides",e)},e.prototype.getHighlightIndentGuides=function(){return this.getOption("highlightIndentGuides")},e.prototype.setHighlightIndentGuides=function(e){this.setOption("highlightIndentGuides",e)},e.prototype.setShowPrintMargin=function(e){this.setOption("showPrintMargin",e)},e.prototype.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},e.prototype.setPrintMarginColumn=function(e){this.setOption("printMarginColumn",e)},e.prototype.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},e.prototype.getShowGutter=function(){return this.getOption("showGutter")},e.prototype.setShowGutter=function(e){return this.setOption("showGutter",e)},e.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},e.prototype.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},e.prototype.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},e.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},e.prototype.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var e=o.createElement("div");e.className="ace_layer ace_print-margin-layer",this.$printMarginEl=o.createElement("div"),this.$printMarginEl.className="ace_print-margin",e.appendChild(this.$printMarginEl),this.content.insertBefore(e,this.content.firstChild)}var t=this.$printMarginEl.style;t.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",t.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},e.prototype.getContainerElement=function(){return this.container},e.prototype.getMouseEventTarget=function(){return this.scroller},e.prototype.getTextAreaContainer=function(){return this.container},e.prototype.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var e=this.textarea.style,t=this.$composition;if(this.$keepTextAreaAtCursor||t){var n=this.$cursorLayer.$pixelPos;if(n){t&&t.markerRange&&(n=this.$cursorLayer.getPixelPosition(t.markerRange.start,!0));var i=this.layerConfig,r=n.top,s=n.left;r-=i.offset;var a=t&&t.useTextareaForIME||b.isMobile?this.lineHeight:1;if(r<0||r>i.height-a)o.translate(this.textarea,0,0);else{var l=1,c=this.$size.height-a;if(t)if(t.useTextareaForIME){var h=this.textarea.value;l=this.characterWidth*this.session.$getStringScreenWidth(h)[0]}else r+=this.lineHeight+2;else r+=this.lineHeight;(s-=this.scrollLeft)>this.$size.scrollerWidth-l&&(s=this.$size.scrollerWidth-l),s+=this.gutterWidth+this.margin.left,o.setStyle(e,"height",a+"px"),o.setStyle(e,"width",l+"px"),o.translate(this.textarea,Math.min(s,this.$size.scrollerWidth-l),Math.min(r,c))}}}else o.translate(this.textarea,-100,0)}},e.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},e.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},e.prototype.getLastFullyVisibleRow=function(){var e=this.layerConfig,t=e.lastRow;return this.session.documentToScreenRow(t,0)*e.lineHeight-this.session.getScrollTop()>e.height-e.lineHeight?t-1:t},e.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},e.prototype.setPadding=function(e){this.$padding=e,this.$textLayer.setPadding(e),this.$cursorLayer.setPadding(e),this.$markerFront.setPadding(e),this.$markerBack.setPadding(e),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},e.prototype.setScrollMargin=function(e,t,n,i){var o=this.scrollMargin;o.top=0|e,o.bottom=0|t,o.right=0|i,o.left=0|n,o.v=o.top+o.bottom,o.h=o.left+o.right,o.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-o.top),this.updateFull()},e.prototype.setMargin=function(e,t,n,i){var o=this.margin;o.top=0|e,o.bottom=0|t,o.right=0|i,o.left=0|n,o.v=o.top+o.bottom,o.h=o.left+o.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},e.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},e.prototype.setHScrollBarAlwaysVisible=function(e){this.setOption("hScrollBarAlwaysVisible",e)},e.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},e.prototype.setVScrollBarAlwaysVisible=function(e){this.setOption("vScrollBarAlwaysVisible",e)},e.prototype.$updateScrollBarV=function(){var e=this.layerConfig.maxHeight,t=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(e-=(t-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>e-t&&(e=this.scrollTop+t,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(e+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},e.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},e.prototype.freeze=function(){this.$frozen=!0},e.prototype.unfreeze=function(){this.$frozen=!1},e.prototype.$renderChanges=function(e,t){if(this.$changes&&(e|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(e||t)){if(this.$size.$dirty)return this.$changes|=e,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",e),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var n=this.layerConfig;if(e&this.CHANGE_FULL||e&this.CHANGE_SIZE||e&this.CHANGE_TEXT||e&this.CHANGE_LINES||e&this.CHANGE_SCROLL||e&this.CHANGE_H_SCROLL){if(e|=this.$computeLayerConfig()|this.$loop.clear(),n.firstRow!=this.layerConfig.firstRow&&n.firstRowScreen==this.layerConfig.firstRowScreen){var i=this.scrollTop+(n.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;i>0&&(this.scrollTop=i,e|=this.CHANGE_SCROLL,e|=this.$computeLayerConfig()|this.$loop.clear())}n=this.layerConfig,this.$updateScrollBarV(),e&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),o.translate(this.content,-this.scrollLeft,-n.offset);var r=n.width+2*this.$padding+"px",s=n.minHeight+"px";o.setStyle(this.content.style,"width",r),o.setStyle(this.content.style,"height",s)}if(e&this.CHANGE_H_SCROLL&&(o.translate(this.content,-this.scrollLeft,-n.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility&&(this.scroller.className+=this.keyboardFocusClassName)),e&this.CHANGE_FULL)return this.$changedLines=null,this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),void this._signal("afterRender",e);if(e&this.CHANGE_SCROLL)return this.$changedLines=null,e&this.CHANGE_TEXT||e&this.CHANGE_LINES?this.$textLayer.update(n):this.$textLayer.scrollLines(n),this.$showGutter&&(e&this.CHANGE_GUTTER||e&this.CHANGE_LINES?this.$gutterLayer.update(n):this.$gutterLayer.scrollLines(n)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),void this._signal("afterRender",e);e&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n)):e&this.CHANGE_LINES?((this.$updateLines()||e&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n)):e&this.CHANGE_TEXT||e&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n)):e&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n)),e&this.CHANGE_CURSOR&&(this.$cursorLayer.update(n),this.$moveTextAreaToCursor()),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(n),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(n),this._signal("afterRender",e)}else this.$changes|=e},e.prototype.$autosize=function(){var e=this.session.getScreenLength()*this.lineHeight,t=this.$maxLines*this.lineHeight,n=Math.min(t,Math.max((this.$minLines||1)*this.lineHeight,e))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(n+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&n>this.$maxPixelHeight&&(n=this.$maxPixelHeight);var i=!(n<=2*this.lineHeight)&&e>t;if(n!=this.desiredHeight||this.$size.height!=this.desiredHeight||i!=this.$vScroll){i!=this.$vScroll&&(this.$vScroll=i,this.scrollBarV.setVisible(i));var o=this.container.clientWidth;this.container.style.height=n+"px",this.$updateCachedSize(!0,this.$gutterWidth,o,n),this.desiredHeight=n,this._signal("autosize")}},e.prototype.$computeLayerConfig=function(){var e=this.session,t=this.$size,n=t.height<=2*this.lineHeight,i=this.session.getScreenLength()*this.lineHeight,o=this.$getLongestLine(),r=!n&&(this.$hScrollBarAlwaysVisible||t.scrollerWidth-o-2*this.$padding<0),s=this.$horizScroll!==r;s&&(this.$horizScroll=r,this.scrollBarH.setVisible(r));var a=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var l=t.scrollerHeight+this.lineHeight,c=!this.$maxLines&&this.$scrollPastEnd?(t.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;i+=c;var h=this.scrollMargin;this.session.setScrollTop(Math.max(-h.top,Math.min(this.scrollTop,i-t.scrollerHeight+h.bottom))),this.session.setScrollLeft(Math.max(-h.left,Math.min(this.scrollLeft,o+2*this.$padding-t.scrollerWidth+h.right)));var u=!n&&(this.$vScrollBarAlwaysVisible||t.scrollerHeight-i+c<0||this.scrollTop>h.top),d=a!==u;d&&(this.$vScroll=u,this.scrollBarV.setVisible(u));var g,p,f=this.scrollTop%this.lineHeight,m=Math.ceil(l/this.lineHeight)-1,y=Math.max(0,Math.round((this.scrollTop-f)/this.lineHeight)),v=y+m,w=this.lineHeight;y=e.screenToDocumentRow(y,0);var b=e.getFoldLine(y);b&&(y=b.start.row),g=e.documentToScreenRow(y,0),p=e.getRowLength(y)*w,v=Math.min(e.screenToDocumentRow(v,0),e.getLength()-1),l=t.scrollerHeight+e.getRowLength(v)*w+p,f=this.scrollTop-g*w;var $=0;return(this.layerConfig.width!=o||s)&&($=this.CHANGE_H_SCROLL),(s||d)&&($|=this.$updateCachedSize(!0,this.gutterWidth,t.width,t.height),this._signal("scrollbarVisibilityChanged"),d&&(o=this.$getLongestLine())),this.layerConfig={width:o,padding:this.$padding,firstRow:y,firstRowScreen:g,lastRow:v,lineHeight:w,characterWidth:this.characterWidth,minHeight:l,maxHeight:i,offset:f,gutterOffset:w?Math.max(0,Math.ceil((f+t.height-t.scrollerHeight)/w)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(o-this.$padding),$},e.prototype.$updateLines=function(){if(this.$changedLines){var e=this.$changedLines.firstRow,t=this.$changedLines.lastRow;this.$changedLines=null;var n=this.layerConfig;if(!(e>n.lastRow+1||tthis.$textLayer.MAX_LINE_LENGTH&&(e=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(e*this.characterWidth))},e.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},e.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},e.prototype.addGutterDecoration=function(e,t){this.$gutterLayer.addGutterDecoration(e,t)},e.prototype.removeGutterDecoration=function(e,t){this.$gutterLayer.removeGutterDecoration(e,t)},e.prototype.updateBreakpoints=function(e){this._rows=e,this.$loop.schedule(this.CHANGE_GUTTER)},e.prototype.setAnnotations=function(e){this.$gutterLayer.setAnnotations(e),this.$loop.schedule(this.CHANGE_GUTTER)},e.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},e.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},e.prototype.showCursor=function(){this.$cursorLayer.showCursor()},e.prototype.scrollSelectionIntoView=function(e,t,n){this.scrollCursorIntoView(e,n),this.scrollCursorIntoView(t,n)},e.prototype.scrollCursorIntoView=function(e,t,n){if(0!==this.$size.scrollerHeight){var i=this.$cursorLayer.getPixelPosition(e),o=i.left,r=i.top,s=n&&n.top||0,a=n&&n.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var l=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;l+s>r?(t&&l+s>r+this.lineHeight&&(r-=t*this.$size.scrollerHeight),0===r&&(r=-this.scrollMargin.top),this.session.setScrollTop(r)):l+this.$size.scrollerHeight-a=1-this.scrollMargin.top||t>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||e<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||e>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right||void 0},e.prototype.pixelToScreenCoordinates=function(e,t){var n;if(this.$hasCssTransforms){n={top:0,left:0};var i=this.$fontMetrics.transformCoordinates([e,t]);e=i[1]-this.gutterWidth-this.margin.left,t=i[0]}else n=this.scroller.getBoundingClientRect();var o=e+this.scrollLeft-n.left-this.$padding,r=o/this.characterWidth,s=Math.floor((t+this.scrollTop-n.top)/this.lineHeight),a=this.$blockCursor?Math.floor(r):Math.round(r);return{row:s,column:a,side:r-a>0?1:-1,offsetX:o}},e.prototype.screenToTextCoordinates=function(e,t){var n;if(this.$hasCssTransforms){n={top:0,left:0};var i=this.$fontMetrics.transformCoordinates([e,t]);e=i[1]-this.gutterWidth-this.margin.left,t=i[0]}else n=this.scroller.getBoundingClientRect();var o=e+this.scrollLeft-n.left-this.$padding,r=o/this.characterWidth,s=this.$blockCursor?Math.floor(r):Math.round(r),a=Math.floor((t+this.scrollTop-n.top)/this.lineHeight);return this.session.screenToDocumentPosition(a,Math.max(s,0),o)},e.prototype.textToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),i=this.session.documentToScreenPosition(e,t),o=this.$padding+(this.session.$bidiHandler.isBidiRow(i.row,e)?this.session.$bidiHandler.getPosLeft(i.column):Math.round(i.column*this.characterWidth)),r=i.row*this.lineHeight;return{pageX:n.left+o-this.scrollLeft,pageY:n.top+r-this.scrollTop}},e.prototype.visualizeFocus=function(){o.addCssClass(this.container,"ace_focus")},e.prototype.visualizeBlur=function(){o.removeCssClass(this.container,"ace_focus")},e.prototype.showComposition=function(e){this.$composition=e,e.cssText||(e.cssText=this.textarea.style.cssText),null==e.useTextareaForIME&&(e.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(o.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):e.markerId=this.session.addMarker(e.markerRange,"ace_composition_marker","text")},e.prototype.setCompositionText=function(e){var t=this.session.selection.cursor;this.addToken(e,"composition_placeholder",t.row,t.column),this.$moveTextAreaToCursor()},e.prototype.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),o.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var e=this.session.selection.cursor;this.removeExtraToken(e.row,e.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},e.prototype.setGhostText=function(e,t){var n=this.session.selection.cursor,i=t||{row:n.row,column:n.column};this.removeGhostText();var r=this.$calculateWrappedTextChunks(e,i);this.addToken(r[0].text,"ghost_text",i.row,i.column),this.$ghostText={text:e,position:{row:i.row,column:i.column}};var s=o.createElement("div");if(r.length>1){var a,l=this.hideTokensAfterPosition(i.row,i.column);r.slice(1).forEach((function(e){var t=o.createElement("div"),n=o.createElement("span");n.className="ace_ghost_text",e.wrapped&&(t.className="ghost_text_line_wrapped"),0===e.text.length&&(e.text=" "),n.appendChild(o.createTextNode(e.text)),t.appendChild(n),s.appendChild(t),a=t})),l.forEach((function(e){var t=o.createElement("span");$(e.type)||(t.className="ace_"+e.type.replace(/\./g," ace_")),t.appendChild(o.createTextNode(e.value)),a.appendChild(t)})),this.$ghostTextWidget={el:s,row:i.row,column:i.column,className:"ace_ghost_text_container"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget);var c=this.$cursorLayer.getPixelPosition(i,!0),h=this.container.getBoundingClientRect().height,u=r.length*this.lineHeight;if(u0){var c=0;l.push(o[s].length);for(var h=0;h1||Math.abs(e.$size.height-i)>1?e.$resizeTimer.delay():e.$resizeTimer.cancel()})),this.$resizeObserver.observe(this.container)}},e}();C.prototype.CHANGE_CURSOR=1,C.prototype.CHANGE_MARKER=2,C.prototype.CHANGE_GUTTER=4,C.prototype.CHANGE_SCROLL=8,C.prototype.CHANGE_LINES=16,C.prototype.CHANGE_TEXT=32,C.prototype.CHANGE_SIZE=64,C.prototype.CHANGE_MARKER_BACK=128,C.prototype.CHANGE_MARKER_FRONT=256,C.prototype.CHANGE_FULL=512,C.prototype.CHANGE_H_SCROLL=1024,C.prototype.$changes=0,C.prototype.$padding=null,C.prototype.$frozen=!1,C.prototype.STEPS=8,i.implement(C.prototype,y),s.defineOptions(C.prototype,"renderer",{useResizeObserver:{set:function(e){!e&&this.$resizeObserver?(this.$resizeObserver.disconnect(),this.$resizeTimer.cancel(),this.$resizeTimer=this.$resizeObserver=null):e&&!this.$resizeObserver&&this.$addResizeObserver()}},animatedScroll:{initialValue:!1},showInvisibles:{set:function(e){this.$textLayer.setShowInvisibles(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(e){"number"==typeof e&&(this.$printMarginColumn=e),this.$showPrintMargin=!!e,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(e){this.$gutter.style.display=e?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},useSvgGutterIcons:{set:function(e){this.$gutterLayer.$useSvgGutterIcons=e},initialValue:!1},showFoldedAnnotations:{set:function(e){this.$gutterLayer.$showFoldedAnnotations=e},initialValue:!1},fadeFoldWidgets:{set:function(e){o.setCssClass(this.$gutter,"ace_fade-fold-widgets",e)},initialValue:!1},showFoldWidgets:{set:function(e){this.$gutterLayer.setShowFoldWidgets(e),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(e){this.$textLayer.setDisplayIndentGuides(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightIndentGuides:{set:function(e){1==this.$textLayer.setHighlightIndentGuides(e)?this.$textLayer.$highlightIndentGuide():this.$textLayer.$clearActiveIndentGuide(this.$textLayer.$lines.cells)},initialValue:!0},highlightGutterLine:{set:function(e){this.$gutterLayer.setHighlightGutterLine(e),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},hScrollBarAlwaysVisible:{set:function(e){this.$hScrollBarAlwaysVisible&&this.$horizScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(e){this.$vScrollBarAlwaysVisible&&this.$vScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(e){"number"==typeof e&&(e+="px"),this.container.style.fontSize=e,this.updateFontSize()},initialValue:12},fontFamily:{set:function(e){this.container.style.fontFamily=e,this.updateFontSize()}},maxLines:{set:function(e){this.updateFull()}},minLines:{set:function(e){this.$minLines<562949953421311||(this.$minLines=0),this.updateFull()}},maxPixelHeight:{set:function(e){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(e){e=+e||0,this.$scrollPastEnd!=e&&(this.$scrollPastEnd=e,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(e){this.$gutterLayer.$fixedWidth=!!e,this.$loop.schedule(this.CHANGE_GUTTER)}},customScrollbar:{set:function(e){this.$updateCustomScrollbar(e)},initialValue:!1},theme:{set:function(e){this.setTheme(e)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0},hasCssTransforms:{},useTextareaForIME:{initialValue:!b.isMobile&&!b.isIE}}),t.VirtualRenderer=C})),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],(function(e,t,n){var i=e("../lib/oop"),o=e("../lib/net"),r=e("../lib/event_emitter").EventEmitter,s=e("../config");function a(e){if("undefined"==typeof Worker)return{postMessage:function(){},terminate:function(){}};if(s.get("loadWorkerFromBlob")){var t=function(e){var t="importScripts('"+o.qualifyURL(e)+"');";try{return new Blob([t],{type:"application/javascript"})}catch(i){var n=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return n.append(t),n.getBlob("application/javascript")}}(e),n=(window.URL||window.webkitURL).createObjectURL(t);return new Worker(n)}return new Worker(e)}var l=function(e){e.postMessage||(e=this.$createWorkerFromOldConfig.apply(this,arguments)),this.$worker=e,this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){i.implement(this,r),this.$createWorkerFromOldConfig=function(t,n,i,o,r){if(e.nameToUrl&&!e.toUrl&&(e.toUrl=e.nameToUrl),s.get("packaged")||!e.toUrl)o=o||s.moduleUrl(n,"worker");else{var l=this.$normalizePath;o=o||l(e.toUrl("ace/worker/worker.js?v=1774508183068",null,"_"));var c={};t.forEach((function(t){c[t]=l(e.toUrl(t,null,"_").replace(/(\.js)?(\?.*)?$/,""))}))}return this.$worker=a(o),r&&this.send("importScripts",r),this.$worker.postMessage({init:!0,tlns:c,module:n,classname:i}),this.$worker},this.onMessage=function(e){var t=e.data;switch(t.type){case"event":this._signal(t.name,{data:t.data});break;case"call":var n=this.callbacks[t.id];n&&(n(t.data),delete this.callbacks[t.id]);break;case"error":this.reportError(t.data);break;case"log":window.console&&console.log&&console.log.apply(console,t.data)}},this.reportError=function(e){window.console&&console.error&&console.error(e)},this.$normalizePath=function(e){return o.qualifyURL(e)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker.onerror=function(e){e.preventDefault()},this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(e,t){this.$worker.postMessage({command:e,args:t})},this.call=function(e,t,n){if(n){var i=this.callbackId++;this.callbacks[i]=n,t.push(i)}this.send(e,t)},this.emit=function(e,t){try{t.data&&t.data.err&&(t.data.err={message:t.data.err.message,stack:t.data.err.stack,code:t.data.err.code}),this.$worker&&this.$worker.postMessage({event:e,data:{data:t.data}})}catch(n){console.error(n.stack)}},this.attachToDocument=function(e){this.$doc&&this.terminate(),this.$doc=e,this.call("setValue",[e.getValue()]),e.on("change",this.changeListener,!0)},this.changeListener=function(e){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),"insert"==e.action?this.deltaQueue.push(e.start,e.lines):this.deltaQueue.push(e.start,e.end)},this.$sendDeltaQueue=function(){var e=this.deltaQueue;e&&(this.deltaQueue=null,e.length>50&&e.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:e}))}}).call(l.prototype),t.UIWorkerClient=function(e,t,n){var i=null,o=!1,a=Object.create(r),c=[],h=new l({messageBuffer:c,terminate:function(){},postMessage:function(e){c.push(e),i&&(o?setTimeout(u):u())}});h.setEmitSync=function(e){o=e};var u=function(){var e=c.shift();e.command?i[e.command].apply(i,e.args):e.event&&a._signal(e.event,e.data)};return a.postMessage=function(e){h.onMessage({data:e})},a.callback=function(e,t){this.postMessage({type:"call",id:t,data:e})},a.emit=function(e,t){this.postMessage({type:"event",name:e,data:t})},s.loadModule(["worker",t],(function(e){for(i=new e[n](a);c.length;)u()})),h},t.WorkerClient=l,t.createWorker=a})),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],(function(e,t,n){var i=e("./range").Range,o=e("./lib/event_emitter").EventEmitter,r=e("./lib/oop"),s=function(){function e(e,t,n,i,o,r){var s=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=o,this.othersClass=r,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate,!0),this.$others=i,this.$onCursorChange=function(){setTimeout((function(){s.onCursorChange()}))},this.$pos=n;var a=e.getUndoManager().$undoStack||e.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=a.length,this.setup(),e.selection.on("changeCursor",this.$onCursorChange)}return e.prototype.setup=function(){var e=this,t=this.doc,n=this.session;this.selectionBefore=n.selection.toJSON(),n.selection.inMultiSelectMode&&n.selection.toSingleRange(),this.pos=t.createAnchor(this.$pos.row,this.$pos.column);var o=this.pos;o.$insertRight=!0,o.detach(),o.markerId=n.addMarker(new i(o.row,o.column,o.row,o.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach((function(n){var i=t.createAnchor(n.row,n.column);i.$insertRight=!0,i.detach(),e.others.push(i)})),n.setUndoSelect(!1)},e.prototype.showOtherMarkers=function(){if(!this.othersActive){var e=this.session,t=this;this.othersActive=!0,this.others.forEach((function(n){n.markerId=e.addMarker(new i(n.row,n.column,n.row,n.column+t.length),t.othersClass,null,!1)}))}},e.prototype.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var e=0;e=this.pos.column&&t.start.column<=this.pos.column+this.length+1,r=t.start.column-this.pos.column;if(this.updateAnchors(e),o&&(this.length+=n),o&&!this.session.$fromUndo)if("insert"===e.action)for(var s=this.others.length-1;s>=0;s--){var a={row:(l=this.others[s]).row,column:l.column+r};this.doc.insertMergedLines(a,e.lines)}else if("remove"===e.action)for(s=this.others.length-1;s>=0;s--){var l;a={row:(l=this.others[s]).row,column:l.column+r},this.doc.remove(new i(a.row,a.column,a.row,a.column-n))}this.$updating=!1,this.updateMarkers()}},e.prototype.updateAnchors=function(e){this.pos.onChange(e);for(var t=this.others.length;t--;)this.others[t].onChange(e);this.updateMarkers()},e.prototype.updateMarkers=function(){if(!this.$updating){var e=this,t=this.session,n=function(n,o){t.removeMarker(n.markerId),n.markerId=t.addMarker(new i(n.row,n.column,n.row,n.column+e.length),o,null,!1)};n(this.pos,this.mainClass);for(var o=this.others.length;o--;)n(this.others[o],this.othersClass)}},e.prototype.onCursorChange=function(e){if(!this.$updating&&this.session){var t=this.session.selection.getCursor();t.row===this.pos.row&&t.column>=this.pos.column&&t.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",e)):(this.hideOtherMarkers(),this._emit("cursorLeave",e))}},e.prototype.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},e.prototype.cancel=function(){if(-1!==this.$undoStackDepth){for(var e=this.session.getUndoManager(),t=(e.$undoStack||e.$undostack).length-this.$undoStackDepth,n=0;n1?e.multiSelect.joinSelections():e.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(e){e.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(e){e.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(e){e.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],t.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(e){e.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(e){return e&&e.inMultiSelectMode}}];var i=e("../keyboard/hash_handler").HashHandler;t.keyboardHandler=new i(t.multiSelectCommands)})),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],(function(e,t,n){var i=e("./range_list").RangeList,o=e("./range").Range,r=e("./selection").Selection,s=e("./mouse/multi_select_handler").onMouseDown,a=e("./lib/event"),l=e("./lib/lang"),c=e("./commands/multi_select_commands");t.commands=c.defaultCommands.concat(c.multiSelectCommands);var h=new(0,e("./search").Search),u=e("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(u.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(e,t){if(e){if(!this.inMultiSelectMode&&0===this.rangeCount){var n=this.toOrientedRange();if(this.rangeList.add(n),this.rangeList.add(e),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),t||this.fromOrientedRange(e);this.rangeList.removeAll(),this.rangeList.add(n),this.$onAddRange(n)}e.cursor||(e.cursor=e.end);var i=this.rangeList.add(e);return this.$onAddRange(e),i.length&&this.$onRemoveRange(i),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),t||this.fromOrientedRange(e)}},this.toSingleRange=function(e){e=e||this.ranges[0];var t=this.rangeList.removeAll();t.length&&this.$onRemoveRange(t),e&&this.fromOrientedRange(e)},this.substractPoint=function(e){var t=this.rangeList.substractPoint(e);if(t)return this.$onRemoveRange(t),t[0]},this.mergeOverlappingRanges=function(){var e=this.rangeList.merge();e.length&&this.$onRemoveRange(e)},this.$onAddRange=function(e){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(e),this._signal("addRange",{range:e})},this.$onRemoveRange=function(e){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var t=this.rangeList.ranges.pop();e.push(t),this.rangeCount=0}for(var n=e.length;n--;){var i=this.ranges.indexOf(e[n]);this.ranges.splice(i,1)}this._signal("removeRange",{ranges:e}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(t=t||this.ranges[0])&&!t.isEqual(this.getRange())&&this.fromOrientedRange(t)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new i,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var e=this.ranges.length?this.ranges:[this.getRange()],t=[],n=0;n1){var e=this.rangeList.ranges,t=e[e.length-1],n=o.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{var i=this.session.documentToScreenPosition(this.cursor),r=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(i,r).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(e,t,n){var i=[],r=e.column0;)v--;if(v>0)for(var w=0;i[w].isEmpty();)w++;for(var b=v;b>=w;b--)i[b].isEmpty()&&i.splice(b,1)}return i}}.call(r.prototype);var d=e("./editor").Editor;function g(e){e.$multiselectOnSessionChange||(e.$onAddRange=e.$onAddRange.bind(e),e.$onRemoveRange=e.$onRemoveRange.bind(e),e.$onMultiSelect=e.$onMultiSelect.bind(e),e.$onSingleSelect=e.$onSingleSelect.bind(e),e.$multiselectOnSessionChange=t.onSessionChange.bind(e),e.$checkMultiselectChange=e.$checkMultiselectChange.bind(e),e.$multiselectOnSessionChange(e),e.on("changeSession",e.$multiselectOnSessionChange),e.on("mousedown",s),e.commands.addCommands(c.defaultCommands),function(e){if(e.textInput){var t=e.textInput.getElement(),n=!1;a.addListener(t,"keydown",(function(t){var o=18==t.keyCode&&!(t.ctrlKey||t.shiftKey||t.metaKey);e.$blockSelectEnabled&&o?n||(e.renderer.setMouseCursor("crosshair"),n=!0):n&&i()}),e),a.addListener(t,"keyup",i,e),a.addListener(t,"blur",i,e)}function i(t){n&&(e.renderer.setMouseCursor(""),n=!1)}}(e))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(e){e.cursor||(e.cursor=e.end);var t=this.getSelectionStyle();return e.marker=this.session.addMarker(e,"ace_selection",t),this.session.$selectionMarkers.push(e),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,e},this.removeSelectionMarker=function(e){if(e.marker){this.session.removeMarker(e.marker);var t=this.session.$selectionMarkers.indexOf(e);-1!=t&&this.session.$selectionMarkers.splice(t,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(e){for(var t=this.session.$selectionMarkers,n=e.length;n--;){var i=e[n];if(i.marker){this.session.removeMarker(i.marker);var o=t.indexOf(i);-1!=o&&t.splice(o,1)}}this.session.selectionMarkerCount=t.length},this.$onAddRange=function(e){this.addSelectionMarker(e.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(e){this.removeSelectionMarkers(e.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(e){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(c.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(e){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(c.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(e){var t=e.command,n=e.editor;if(n.multiSelect){if(t.multiSelectAction)"forEach"==t.multiSelectAction?i=n.forEachSelection(t,e.args):"forEachLine"==t.multiSelectAction?i=n.forEachSelection(t,e.args,!0):"single"==t.multiSelectAction?(n.exitMultiSelectMode(),i=t.exec(n,e.args||{})):i=t.multiSelectAction(n,e.args||{});else{var i=t.exec(n,e.args||{});n.multiSelect.addRange(n.multiSelect.toOrientedRange()),n.multiSelect.mergeOverlappingRanges()}return i}},this.forEachSelection=function(e,t,n){if(!this.inVirtualSelectionMode){var i,o=n&&n.keepOrder,s=1==n||n&&n.$byLines,a=this.session,l=this.selection,c=l.rangeList,h=(o?l:c).ranges;if(!h.length)return e.exec?e.exec(this,t||{}):e(this,t||{});var u=l._eventRegistry;l._eventRegistry={};var d=new r(a);this.inVirtualSelectionMode=!0;for(var g=h.length;g--;){if(s)for(;g>0&&h[g].start.row==h[g-1].end.row;)g--;d.fromOrientedRange(h[g]),d.index=g,this.selection=a.selection=d;var p=e.exec?e.exec(this,t||{}):e(this,t||{});i||void 0===p||(i=p),d.toOrientedRange(h[g])}d.detach(),this.selection=a.selection=l,this.inVirtualSelectionMode=!1,l._eventRegistry=u,l.mergeOverlappingRanges(),l.ranges[0]&&l.fromOrientedRange(l.ranges[0]);var f=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),f&&f.from==f.to&&this.renderer.animateScrolling(f.from),i}},this.exitMultiSelectMode=function(){this.inMultiSelectMode&&!this.inVirtualSelectionMode&&this.multiSelect.toSingleRange()},this.getSelectedText=function(){var e="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var t=this.multiSelect.rangeList.ranges,n=[],i=0;is&&(s=n.column),ih?e.insert(i,l.stringRepeat(" ",r-h)):e.remove(new o(i.row,i.column,i.row,i.column-r+h)),t.start.column=t.end.column=s,t.start.row=t.end.row=i.row,t.cursor=t.end})),t.fromOrientedRange(n[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var h=this.selection.getRange(),u=h.start.row,d=h.end.row,g=u==d;if(g){var p,f=this.session.getLength();do{p=this.session.getLine(d)}while(/[=:]/.test(p)&&++d0);u<0&&(u=0),d>=f&&(d=f-1)}var m=this.session.removeFullLines(u,d);m=this.$reAlignText(m,g),this.session.insert({row:u,column:0},m.join("\n")+"\n"),g||(h.start.column=0,h.end.column=m[m.length-1].length),this.selection.setRange(h)}},this.$reAlignText=function(e,t){var n,i,o,r=!0,s=!0;return e.map((function(e){var t=e.match(/(\s*)(.*?)(\s*)([=:].*)/);return t?null==n?(n=t[1].length,i=t[2].length,o=t[3].length,t):(n+i+o!=t[1].length+t[2].length+t[3].length&&(s=!1),n!=t[1].length&&(r=!1),n>t[1].length&&(n=t[1].length),it[3].length&&(o=t[3].length),t):[e]})).map(t?c:r?s?function(e){return e[2]?a(n+i-e[2].length)+e[2]+a(o)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}:c:function(e){return e[2]?a(n)+e[2]+a(o)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]});function a(e){return l.stringRepeat(" ",e)}function c(e){return e[2]?a(n)+e[2]+a(i-e[2].length+o)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}}}).call(d.prototype),t.onSessionChange=function(e){var t=e.session;t&&!t.multiSelect&&(t.$selectionMarkers=[],t.selection.$initRangeList(),t.multiSelect=t.selection),this.multiSelect=t&&t.multiSelect;var n=e.oldSession;n&&(n.multiSelect.off("addRange",this.$onAddRange),n.multiSelect.off("removeRange",this.$onRemoveRange),n.multiSelect.off("multiSelect",this.$onMultiSelect),n.multiSelect.off("singleSelect",this.$onSingleSelect),n.multiSelect.lead.off("change",this.$checkMultiselectChange),n.multiSelect.anchor.off("change",this.$checkMultiselectChange)),t&&(t.multiSelect.on("addRange",this.$onAddRange),t.multiSelect.on("removeRange",this.$onRemoveRange),t.multiSelect.on("multiSelect",this.$onMultiSelect),t.multiSelect.on("singleSelect",this.$onSingleSelect),t.multiSelect.lead.on("change",this.$checkMultiselectChange),t.multiSelect.anchor.on("change",this.$checkMultiselectChange)),t&&this.inMultiSelectMode!=t.selection.inMultiSelectMode&&(t.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},t.MultiSelect=g,e("./config").defineOptions(d.prototype,"editor",{enableMultiselect:{set:function(e){g(this),e?this.on("mousedown",s):this.off("mousedown",s)},value:!0},enableBlockSelect:{set:function(e){this.$blockSelectEnabled=e},value:!0}})})),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],(function(e,t,n){var i=e("../../range").Range,o=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(e,t,n){var i=e.getLine(n);return this.foldingStartMarker.test(i)?"start":"markbeginend"==t&&this.foldingStopMarker&&this.foldingStopMarker.test(i)?"end":""},this.getFoldWidgetRange=function(e,t,n){return null},this.indentationBlock=function(e,t,n){var o=/\S/,r=e.getLine(t),s=r.search(o);if(-1!=s){for(var a=n||r.length,l=e.getLength(),c=t,h=t;++tc){var g=e.getLine(h).length;return new i(c,a,h,g)}}},this.openingBracketBlock=function(e,t,n,o,r){var s={row:n,column:o+1},a=e.$findClosingBracket(t,s,r);if(a){var l=e.foldWidgets[a.row];return null==l&&(l=e.getFoldWidget(a.row)),"start"==l&&a.row>s.row&&(a.row--,a.column=e.getLine(a.row).length),i.fromPoints(s,a)}},this.closingBracketBlock=function(e,t,n,o,r){var s={row:n,column:o},a=e.$findOpeningBracket(t,s);if(a)return a.column++,s.column--,i.fromPoints(a,s)}}).call(o.prototype)})),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range","ace/config"],(function(e,t,n){var i=e("../line_widgets").LineWidgets,o=e("../lib/dom"),r=e("../range").Range,s=e("../config").nls;t.showErrorMarker=function(e,t){var n=e.session;n.widgetManager||(n.widgetManager=new i(n),n.widgetManager.attach(e));var a=e.getCursorPosition(),l=a.row,c=n.widgetManager.getWidgetsAtRow(l).filter((function(e){return"errorMarker"==e.type}))[0];c?c.destroy():l-=t;var h,u=function(e,t,n){var i=e.getAnnotations().sort(r.comparePoints);if(i.length){var o=function(e,t,n){for(var i=0,o=e.length-1;i<=o;){var r=i+o>>1,s=n(t,e[r]);if(s>0)i=r+1;else{if(!(s<0))return r;o=r-1}}return-(i+1)}(i,{row:t,column:-1},r.comparePoints);o<0&&(o=-o-1),o>=i.length?o=n>0?0:i.length-1:0===o&&n<0&&(o=i.length-1);var s=i[o];if(s&&n){if(s.row===t){do{s=i[o+=n]}while(s&&s.row===t);if(!s)return i.slice()}var a=[];t=s.row;do{a[n<0?"unshift":"push"](s),s=i[o+=n]}while(s&&s.row==t);return a.length&&a}}}(n,l,t);if(u){var d=u[0];a.column=(d.pos&&"number"!=typeof d.column?d.pos.sc:d.column)||0,a.row=d.row,h=e.renderer.$gutterLayer.$annotations[a.row]}else{if(c)return;h={displayText:[s("error-marker.good-state","Looks good!")],className:"ace_ok"}}e.session.unfold(a.row),e.selection.moveToPosition(a);var g={row:a.row,fixedWidth:!0,coverGutter:!0,el:o.createElement("div"),type:"errorMarker"},p=g.el.appendChild(o.createElement("div")),f=g.el.appendChild(o.createElement("div"));f.className="error_widget_arrow "+h.className;var m=e.renderer.$cursorLayer.getPixelPosition(a).left;f.style.left=m+e.renderer.gutterWidth-5+"px",g.el.className="error_widget_wrapper",p.className="error_widget "+h.className,h.displayText.forEach((function(e,t){p.appendChild(o.createTextNode(e)),ti.map(i=>d[i]); -import{p as e,P as t,a3 as r}from"./index-BTglIPU2.js?v=1773287522785";import{a3 as a}from"./vue-core-DJjvd5ZC.js?v=1773287522785";const m=o=>{e({title:r.global.t("Config.Alarm.index_85",[o.row.title]),width:500,minHeight:280,data:{row:o.row,refresh:o.onRefresh},component:a(()=>t(()=>import("./index-C5iSGHPQ.js?v=1773287522785"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22])))})};export{m as o}; diff --git a/BTPanel/static/vite/js/alarm-DLi1oY_0.js b/BTPanel/static/vite/js/alarm-DLi1oY_0.js deleted file mode 100644 index 517e997e..00000000 --- a/BTPanel/static/vite/js/alarm-DLi1oY_0.js +++ /dev/null @@ -1 +0,0 @@ -import{as as t,a3 as e}from"./index-BTglIPU2.js?v=1773287522785";const o=s=>t.post("/mod/push/task/get_task_list",s),n=()=>t.post("/mod/push/task/get_task_template_list"),r=s=>t.post("/mod/push/task/set_task_conf",{...s,task_data:JSON.stringify(s.task_data)},{requestOptions:{loading:e.global.t("Config.API.alarm_1"),successMessage:!0}}),g=s=>t.post("/mod/push/task/set_task_conf",{...s,task_data:JSON.stringify(s.task_data)},{requestOptions:{loading:e.global.t("Config.API.alarm_2"),successMessage:!0}}),l=s=>t.post("/mod/push/task/change_task_conf",s,{requestOptions:{loading:e.global.t("Config.API.alarm_3"),successMessage:!0}}),c=s=>t.post("/mod/push/task/remove_task_conf",s,{requestOptions:{loading:e.global.t("Config.API.alarm_4"),successMessage:!0}}),d=s=>t.post("/mod/push/task/get_task_record",s),i=s=>t.post("/mod/push/task/remove_task_records",{...s,record_ids:JSON.stringify(s.record_ids)},{requestOptions:{loading:e.global.t("Config.API.alarm_5"),successMessage:!0}}),u=s=>t.post("/mod/push/task/clear_task_record",{...s,record_ids:JSON.stringify(s.record_ids)},{requestOptions:{loading:e.global.t("Config.API.alarm_5"),successMessage:!0}}),_=s=>t.post("/mod/push/msgconf/get_sender_list",s),m=s=>t.post("/push?action=get_push_logs",s),p=s=>t.post("/mod/push/msgconf/set_sender_conf",{...s,sender_data:JSON.stringify(s.sender_data)},{requestOptions:{loading:e.global.t("Config.API.alarm_6"),successMessage:!0}}),f=s=>t.post("/mod/push/msgconf/set_sender_conf",{...s,sender_data:JSON.stringify(s.sender_data)},{requestOptions:{loading:e.global.t("Config.API.alarm_7"),successMessage:!0}}),k=s=>t.post("/mod/push/msgconf/change_sendr_used",s,{requestOptions:{loading:e.global.t("Config.API.alarm_8"),successMessage:!0}}),h=s=>t.post("/mod/push/msgconf/set_default_sender",s,{requestOptions:{loading:e.global.t("Config.API.alarm_9"),successMessage:!0}}),A=s=>t.post("/mod/push/msgconf/test_send_msg",s,{requestOptions:{loading:e.global.t("Config.API.alarm_10"),successMessage:!0}}),O=s=>t.post("/mod/push/msgconf/remove_sender",s,{requestOptions:{loading:e.global.t("Config.API.alarm_11"),successMessage:!0}});export{d as a,c as b,u as c,i as d,o as e,m as f,_ as g,r as h,n as i,g as j,f as k,p as l,k as m,h as n,l as s,A as t,O as u}; diff --git a/BTPanel/static/vite/js/alarm-DTmEyWAo.js b/BTPanel/static/vite/js/alarm-DTmEyWAo.js new file mode 100644 index 00000000..c3de9ea9 --- /dev/null +++ b/BTPanel/static/vite/js/alarm-DTmEyWAo.js @@ -0,0 +1 @@ +import{av as t,a6 as e}from"./index-LQ-JIYiv.js?v=1774508183068";const o=s=>t.post("/mod/push/task/get_task_list",s),n=()=>t.post("/mod/push/task/get_task_template_list"),r=s=>t.post("/mod/push/task/set_task_conf",{...s,task_data:JSON.stringify(s.task_data)},{requestOptions:{loading:e.global.t("Config.API.alarm_1"),successMessage:!0}}),g=s=>t.post("/mod/push/task/set_task_conf",{...s,task_data:JSON.stringify(s.task_data)},{requestOptions:{loading:e.global.t("Config.API.alarm_2"),successMessage:!0}}),l=s=>t.post("/mod/push/task/change_task_conf",s,{requestOptions:{loading:e.global.t("Config.API.alarm_3"),successMessage:!0}}),c=s=>t.post("/mod/push/task/remove_task_conf",s,{requestOptions:{loading:e.global.t("Config.API.alarm_4"),successMessage:!0}}),d=s=>t.post("/mod/push/task/get_task_record",s),i=s=>t.post("/mod/push/task/remove_task_records",{...s,record_ids:JSON.stringify(s.record_ids)},{requestOptions:{loading:e.global.t("Config.API.alarm_5"),successMessage:!0}}),u=s=>t.post("/mod/push/task/clear_task_record",{...s,record_ids:JSON.stringify(s.record_ids)},{requestOptions:{loading:e.global.t("Config.API.alarm_5"),successMessage:!0}}),_=s=>t.post("/mod/push/msgconf/get_sender_list",s),m=s=>t.post("/push?action=get_push_logs",s),p=s=>t.post("/mod/push/msgconf/set_sender_conf",{...s,sender_data:JSON.stringify(s.sender_data)},{requestOptions:{loading:e.global.t("Config.API.alarm_6"),successMessage:!0}}),f=s=>t.post("/mod/push/msgconf/set_sender_conf",{...s,sender_data:JSON.stringify(s.sender_data)},{requestOptions:{loading:e.global.t("Config.API.alarm_7"),successMessage:!0}}),k=s=>t.post("/mod/push/msgconf/change_sendr_used",s,{requestOptions:{loading:e.global.t("Config.API.alarm_8"),successMessage:!0}}),h=s=>t.post("/mod/push/msgconf/set_default_sender",s,{requestOptions:{loading:e.global.t("Config.API.alarm_9"),successMessage:!0}}),A=s=>t.post("/mod/push/msgconf/test_send_msg",s,{requestOptions:{loading:e.global.t("Config.API.alarm_10"),successMessage:!0}}),O=s=>t.post("/mod/push/msgconf/remove_sender",s,{requestOptions:{loading:e.global.t("Config.API.alarm_11"),successMessage:!0}});export{d as a,c as b,u as c,i as d,o as e,m as f,_ as g,r as h,n as i,g as j,f as k,p as l,k as m,h as n,l as s,A as t,O as u}; diff --git a/BTPanel/static/vite/js/alarm-legacy-B0l3BTRO.js b/BTPanel/static/vite/js/alarm-legacy-B0l3BTRO.js deleted file mode 100644 index 9acb3e36..00000000 --- a/BTPanel/static/vite/js/alarm-legacy-B0l3BTRO.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785"],(function(s,e){"use strict";var t,a;return{setters:[s=>{t=s.as,a=s.a3}],execute:function(){s("e",(s=>t.post("/mod/push/task/get_task_list",s))),s("i",(()=>t.post("/mod/push/task/get_task_template_list"))),s("h",(s=>t.post("/mod/push/task/set_task_conf",{...s,task_data:JSON.stringify(s.task_data)},{requestOptions:{loading:a.global.t("Config.API.alarm_1"),successMessage:!0}}))),s("j",(s=>t.post("/mod/push/task/set_task_conf",{...s,task_data:JSON.stringify(s.task_data)},{requestOptions:{loading:a.global.t("Config.API.alarm_2"),successMessage:!0}}))),s("s",(s=>t.post("/mod/push/task/change_task_conf",s,{requestOptions:{loading:a.global.t("Config.API.alarm_3"),successMessage:!0}}))),s("b",(s=>t.post("/mod/push/task/remove_task_conf",s,{requestOptions:{loading:a.global.t("Config.API.alarm_4"),successMessage:!0}}))),s("a",(s=>t.post("/mod/push/task/get_task_record",s))),s("d",(s=>t.post("/mod/push/task/remove_task_records",{...s,record_ids:JSON.stringify(s.record_ids)},{requestOptions:{loading:a.global.t("Config.API.alarm_5"),successMessage:!0}}))),s("c",(s=>t.post("/mod/push/task/clear_task_record",{...s,record_ids:JSON.stringify(s.record_ids)},{requestOptions:{loading:a.global.t("Config.API.alarm_5"),successMessage:!0}}))),s("g",(s=>t.post("/mod/push/msgconf/get_sender_list",s))),s("f",(s=>t.post("/push?action=get_push_logs",s))),s("l",(s=>t.post("/mod/push/msgconf/set_sender_conf",{...s,sender_data:JSON.stringify(s.sender_data)},{requestOptions:{loading:a.global.t("Config.API.alarm_6"),successMessage:!0}}))),s("k",(s=>t.post("/mod/push/msgconf/set_sender_conf",{...s,sender_data:JSON.stringify(s.sender_data)},{requestOptions:{loading:a.global.t("Config.API.alarm_7"),successMessage:!0}}))),s("m",(s=>t.post("/mod/push/msgconf/change_sendr_used",s,{requestOptions:{loading:a.global.t("Config.API.alarm_8"),successMessage:!0}}))),s("n",(s=>t.post("/mod/push/msgconf/set_default_sender",s,{requestOptions:{loading:a.global.t("Config.API.alarm_9"),successMessage:!0}}))),s("t",(s=>t.post("/mod/push/msgconf/test_send_msg",s,{requestOptions:{loading:a.global.t("Config.API.alarm_10"),successMessage:!0}}))),s("u",(s=>t.post("/mod/push/msgconf/remove_sender",s,{requestOptions:{loading:a.global.t("Config.API.alarm_11"),successMessage:!0}})))}}})); diff --git a/BTPanel/static/vite/js/alarm-legacy-CoY3f8Ft.js b/BTPanel/static/vite/js/alarm-legacy-CoY3f8Ft.js new file mode 100644 index 00000000..c612961f --- /dev/null +++ b/BTPanel/static/vite/js/alarm-legacy-CoY3f8Ft.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068"],(function(s,e){"use strict";var t,a;return{setters:[s=>{t=s.av,a=s.a6}],execute:function(){s("e",(s=>t.post("/mod/push/task/get_task_list",s))),s("i",(()=>t.post("/mod/push/task/get_task_template_list"))),s("h",(s=>t.post("/mod/push/task/set_task_conf",{...s,task_data:JSON.stringify(s.task_data)},{requestOptions:{loading:a.global.t("Config.API.alarm_1"),successMessage:!0}}))),s("j",(s=>t.post("/mod/push/task/set_task_conf",{...s,task_data:JSON.stringify(s.task_data)},{requestOptions:{loading:a.global.t("Config.API.alarm_2"),successMessage:!0}}))),s("s",(s=>t.post("/mod/push/task/change_task_conf",s,{requestOptions:{loading:a.global.t("Config.API.alarm_3"),successMessage:!0}}))),s("b",(s=>t.post("/mod/push/task/remove_task_conf",s,{requestOptions:{loading:a.global.t("Config.API.alarm_4"),successMessage:!0}}))),s("a",(s=>t.post("/mod/push/task/get_task_record",s))),s("d",(s=>t.post("/mod/push/task/remove_task_records",{...s,record_ids:JSON.stringify(s.record_ids)},{requestOptions:{loading:a.global.t("Config.API.alarm_5"),successMessage:!0}}))),s("c",(s=>t.post("/mod/push/task/clear_task_record",{...s,record_ids:JSON.stringify(s.record_ids)},{requestOptions:{loading:a.global.t("Config.API.alarm_5"),successMessage:!0}}))),s("g",(s=>t.post("/mod/push/msgconf/get_sender_list",s))),s("f",(s=>t.post("/push?action=get_push_logs",s))),s("l",(s=>t.post("/mod/push/msgconf/set_sender_conf",{...s,sender_data:JSON.stringify(s.sender_data)},{requestOptions:{loading:a.global.t("Config.API.alarm_6"),successMessage:!0}}))),s("k",(s=>t.post("/mod/push/msgconf/set_sender_conf",{...s,sender_data:JSON.stringify(s.sender_data)},{requestOptions:{loading:a.global.t("Config.API.alarm_7"),successMessage:!0}}))),s("m",(s=>t.post("/mod/push/msgconf/change_sendr_used",s,{requestOptions:{loading:a.global.t("Config.API.alarm_8"),successMessage:!0}}))),s("n",(s=>t.post("/mod/push/msgconf/set_default_sender",s,{requestOptions:{loading:a.global.t("Config.API.alarm_9"),successMessage:!0}}))),s("t",(s=>t.post("/mod/push/msgconf/test_send_msg",s,{requestOptions:{loading:a.global.t("Config.API.alarm_10"),successMessage:!0}}))),s("u",(s=>t.post("/mod/push/msgconf/remove_sender",s,{requestOptions:{loading:a.global.t("Config.API.alarm_11"),successMessage:!0}})))}}})); diff --git a/BTPanel/static/vite/js/alarm-legacy-D5nfsCrE.js b/BTPanel/static/vite/js/alarm-legacy-D5nfsCrE.js new file mode 100644 index 00000000..1c11882c --- /dev/null +++ b/BTPanel/static/vite/js/alarm-legacy-D5nfsCrE.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068"],(function(e,t){"use strict";var r,i,o,n;return{setters:[e=>{r=e.p,i=e.S,o=e.a6},e=>{n=e.a3}],execute:function(){e("o",(e=>{r({title:o.global.t("Config.Alarm.index_85",[e.row.title]),width:500,minHeight:280,data:{row:e.row,refresh:e.onRefresh},component:n((()=>i((()=>t.import("./index-legacy-037X4dXQ.js?v=1774508183068")),void 0)))})}))}}})); diff --git a/BTPanel/static/vite/js/alarm-legacy-wcthH3Ek.js b/BTPanel/static/vite/js/alarm-legacy-wcthH3Ek.js deleted file mode 100644 index a30c35dd..00000000 --- a/BTPanel/static/vite/js/alarm-legacy-wcthH3Ek.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785"],(function(e,t){"use strict";var r,i,o,n;return{setters:[e=>{r=e.p,i=e.P,o=e.a3},e=>{n=e.a3}],execute:function(){e("o",(e=>{r({title:o.global.t("Config.Alarm.index_85",[e.row.title]),width:500,minHeight:280,data:{row:e.row,refresh:e.onRefresh},component:n((()=>i((()=>t.import("./index-legacy-DfpK2Py1.js?v=1773287522785")),void 0)))})}))}}})); diff --git a/BTPanel/static/vite/js/alarm-o5KhxBwy.js b/BTPanel/static/vite/js/alarm-o5KhxBwy.js new file mode 100644 index 00000000..e12c61df --- /dev/null +++ b/BTPanel/static/vite/js/alarm-o5KhxBwy.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/index-iUmw0yOc.js?v=1774508183068","js/index-LQ-JIYiv.js?v=1774508183068","js/vue-core-BlDeWrD6.js?v=1774508183068","js/prismjs-BZPoR7_J.js?v=1774508183068","css/prismjs-D-3FhBe_.css?v=1774508183068","js/naive-ui-BjvXgNtF.js?v=1774508183068","css/index-Bu1Pw919.css?v=1774508183068","js/index.vue_vue_type_script_setup_true_lang-C6hImLDm.js?v=1774508183068","js/index.vue_vue_type_script_setup_true_lang-CXJGqQPN.js?v=1774508183068","css/index-CVIzYRIt.css?v=1774508183068","js/index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068","js/data-DKqR3z3t.js?v=1774508183068","js/useTableColumns-BpMo4f8r.js?v=1774508183068","js/index-DZCznq9q.js?v=1774508183068","js/copy-DTOfN-dY.js?v=1774508183068","js/index-Dd5dC2sI.js?v=1774508183068","js/index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068","js/index-eoi-RqNz.js?v=1774508183068","js/useTableData-D5IECpFr.js?v=1774508183068","js/alarm-DTmEyWAo.js?v=1774508183068","js/index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068","js/index-BonLJ3_f.js?v=1774508183068","css/index-CdMsogou.css?v=1774508183068"])))=>i.map(i=>d[i]); +import{p as e,S as t,a6 as r}from"./index-LQ-JIYiv.js?v=1774508183068";import{a3 as a}from"./vue-core-BlDeWrD6.js?v=1774508183068";const m=o=>{e({title:r.global.t("Config.Alarm.index_85",[o.row.title]),width:500,minHeight:280,data:{row:o.row,refresh:o.onRefresh},component:a(()=>t(()=>import("./index-iUmw0yOc.js?v=1774508183068"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22])))})};export{m as o}; diff --git a/BTPanel/static/vite/js/app-install-third-6vjRr7ur.js b/BTPanel/static/vite/js/app-install-third-6vjRr7ur.js deleted file mode 100644 index c67afe81..00000000 --- a/BTPanel/static/vite/js/app-install-third-6vjRr7ur.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as g}from"./index-DIKmrNCq.js?v=1773287522785";import{C as h,_ as $,A as b,c as k}from"./index-BTglIPU2.js?v=1773287522785";import{k as x,R as C,$ as D,Z as I,_ as n,aa as t,j as s,S as a,a0 as p,a9 as r}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./naive-ui--dJnpVcV.js?v=1773287522785";const S={class:"p-16px"},v={class:"item"},B=x({__name:"app-install-third",props:{data:{}},setup(_,{expose:d}){const{t:m}=C(),u=_,{data:e,callback:l}=u.data;return d({onConfirm:async()=>{await b({name:e.name,tmp_path:e.tmp_path,title:m("Soft.index_21")},()=>{l==null||l()})}}),(o,i)=>{const c=$,f=g;return D(),I("div",S,[n("div",v,[n("p",null,[n("b",null,t(o.$t("Docker.App.Install.index_1")),1),s(":"+t(a(e).title),1)]),n("p",null,[n("b",null,t(o.$t("Docker.Container.config.image.index_6")),1),s(":"+t(a(e).versions),1)]),n("p",null,[n("b",null,t(o.$t("Docker.Container.config.image.index_11")),1),s(":"+t(a(e).ps),1)]),n("p",null,[n("b",null,t(o.$t("Database.tools.index_14")),1),s(":"+t(a(h)(a(e).size)),1)]),n("p",null,[n("b",null,t(o.$t("Docker.Container.config.image.index_12")),1),s(":"+t(a(e).author),1)]),n("p",null,[n("b",null,t(o.$t("Docker.CloudImage.index_7")),1),i[0]||(i[0]=s(":")),p(c,{href:a(e).home,target:"_blank"},{default:r(()=>[s(t(a(e).home),1)]),_:1},8,["href"])])]),p(f,{class:"pt-16px"},{default:r(()=>[n("li",null,t(o.$t("Soft.index_19")),1),n("li",null,t(o.$t("Soft.index_20")),1)]),_:1})])}}}),j=k(B,[["__scopeId","data-v-1e17ded2"]]);export{j as default}; diff --git a/BTPanel/static/vite/js/app-install-third-BF9mdmtX.js b/BTPanel/static/vite/js/app-install-third-BF9mdmtX.js new file mode 100644 index 00000000..9191a564 --- /dev/null +++ b/BTPanel/static/vite/js/app-install-third-BF9mdmtX.js @@ -0,0 +1 @@ +import{_ as g}from"./index-Dd5dC2sI.js?v=1774508183068";import{D as h,_ as $,B as b,c as k}from"./index-LQ-JIYiv.js?v=1774508183068";import{k as x,R as C,$ as D,Z as I,_ as n,aa as t,j as s,S as a,a0 as p,a9 as r}from"./vue-core-BlDeWrD6.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./naive-ui-BjvXgNtF.js?v=1774508183068";const S={class:"p-16px"},B={class:"item"},v=x({__name:"app-install-third",props:{data:{}},setup(_,{expose:d}){const{t:m}=C(),u=_,{data:e,callback:l}=u.data;return d({onConfirm:async()=>{await b({name:e.name,tmp_path:e.tmp_path,title:m("Soft.index_21")},()=>{l==null||l()})}}),(o,i)=>{const c=$,f=g;return D(),I("div",S,[n("div",B,[n("p",null,[n("b",null,t(o.$t("Docker.App.Install.index_1")),1),s(":"+t(a(e).title),1)]),n("p",null,[n("b",null,t(o.$t("Docker.Container.config.image.index_6")),1),s(":"+t(a(e).versions),1)]),n("p",null,[n("b",null,t(o.$t("Docker.Container.config.image.index_11")),1),s(":"+t(a(e).ps),1)]),n("p",null,[n("b",null,t(o.$t("Database.tools.index_14")),1),s(":"+t(a(h)(a(e).size)),1)]),n("p",null,[n("b",null,t(o.$t("Docker.Container.config.image.index_12")),1),s(":"+t(a(e).author),1)]),n("p",null,[n("b",null,t(o.$t("Docker.CloudImage.index_7")),1),i[0]||(i[0]=s(":")),p(c,{href:a(e).home,target:"_blank"},{default:r(()=>[s(t(a(e).home),1)]),_:1},8,["href"])])]),p(f,{class:"pt-16px"},{default:r(()=>[n("li",null,t(o.$t("Soft.index_19")),1),n("li",null,t(o.$t("Soft.index_20")),1)]),_:1})])}}}),z=k(v,[["__scopeId","data-v-1e17ded2"]]);export{z as default}; diff --git a/BTPanel/static/vite/js/app-install-third-legacy-CMG0wd4U.js b/BTPanel/static/vite/js/app-install-third-legacy-CMG0wd4U.js deleted file mode 100644 index 32dfc9bc..00000000 --- a/BTPanel/static/vite/js/app-install-third-legacy-CMG0wd4U.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,t){"use strict";var n,a,l,i,o,d,r,s,c,p,u,_,m,x,g;return{setters:[e=>{n=e._},e=>{a=e.C,l=e._,i=e.A,o=e.c},e=>{d=e.k,r=e.R,s=e.$,c=e.Z,p=e._,u=e.aa,_=e.j,m=e.S,x=e.a0,g=e.a9},null,null],execute:function(){var t=document.createElement("style");t.textContent=".item[data-v-1e17ded2]{background-color:var(--app-third-install-tip-bg);padding:20px;font-size:14px;color:var(--color-text-2)}.item p[data-v-1e17ded2]{word-break:break-all;line-height:25px}\n/*$vite$:1*/",document.head.appendChild(t);const f={class:"p-16px"},b={class:"item"};e("default",o(d({__name:"app-install-third",props:{data:{}},setup(e,{expose:t}){const{t:o}=r(),d=e,{data:h,callback:v}=d.data;return t({onConfirm:async()=>{await i({name:h.name,tmp_path:h.tmp_path,title:o("Soft.index_21")},(()=>{v?.()}))}}),(e,t)=>{const i=l,o=n;return s(),c("div",f,[p("div",b,[p("p",null,[p("b",null,u(e.$t("Docker.App.Install.index_1")),1),_(":"+u(m(h).title),1)]),p("p",null,[p("b",null,u(e.$t("Docker.Container.config.image.index_6")),1),_(":"+u(m(h).versions),1)]),p("p",null,[p("b",null,u(e.$t("Docker.Container.config.image.index_11")),1),_(":"+u(m(h).ps),1)]),p("p",null,[p("b",null,u(e.$t("Database.tools.index_14")),1),_(":"+u(m(a)(m(h).size)),1)]),p("p",null,[p("b",null,u(e.$t("Docker.Container.config.image.index_12")),1),_(":"+u(m(h).author),1)]),p("p",null,[p("b",null,u(e.$t("Docker.CloudImage.index_7")),1),t[0]||(t[0]=_(":")),x(i,{href:m(h).home,target:"_blank"},{default:g((()=>[_(u(m(h).home),1)])),_:1},8,["href"])])]),x(o,{class:"pt-16px"},{default:g((()=>[p("li",null,u(e.$t("Soft.index_19")),1),p("li",null,u(e.$t("Soft.index_20")),1)])),_:1})])}}}),[["__scopeId","data-v-1e17ded2"]]))}}})); diff --git a/BTPanel/static/vite/js/app-install-third-legacy-D5R_R6oy.js b/BTPanel/static/vite/js/app-install-third-legacy-D5R_R6oy.js new file mode 100644 index 00000000..0153f650 --- /dev/null +++ b/BTPanel/static/vite/js/app-install-third-legacy-D5R_R6oy.js @@ -0,0 +1 @@ +System.register(["./index-legacy-DOsTWPyk.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068"],(function(e,t){"use strict";var n,a,l,i,o,d,r,s,c,p,u,_,m,x,g;return{setters:[e=>{n=e._},e=>{a=e.D,l=e._,i=e.B,o=e.c},e=>{d=e.k,r=e.R,s=e.$,c=e.Z,p=e._,u=e.aa,_=e.j,m=e.S,x=e.a0,g=e.a9},null,null],execute:function(){var t=document.createElement("style");t.textContent=".item[data-v-1e17ded2]{background-color:var(--app-third-install-tip-bg);padding:20px;font-size:14px;color:var(--color-text-2)}.item p[data-v-1e17ded2]{word-break:break-all;line-height:25px}\n/*$vite$:1*/",document.head.appendChild(t);const f={class:"p-16px"},b={class:"item"};e("default",o(d({__name:"app-install-third",props:{data:{}},setup(e,{expose:t}){const{t:o}=r(),d=e,{data:h,callback:v}=d.data;return t({onConfirm:async()=>{await i({name:h.name,tmp_path:h.tmp_path,title:o("Soft.index_21")},(()=>{v?.()}))}}),(e,t)=>{const i=l,o=n;return s(),c("div",f,[p("div",b,[p("p",null,[p("b",null,u(e.$t("Docker.App.Install.index_1")),1),_(":"+u(m(h).title),1)]),p("p",null,[p("b",null,u(e.$t("Docker.Container.config.image.index_6")),1),_(":"+u(m(h).versions),1)]),p("p",null,[p("b",null,u(e.$t("Docker.Container.config.image.index_11")),1),_(":"+u(m(h).ps),1)]),p("p",null,[p("b",null,u(e.$t("Database.tools.index_14")),1),_(":"+u(m(a)(m(h).size)),1)]),p("p",null,[p("b",null,u(e.$t("Docker.Container.config.image.index_12")),1),_(":"+u(m(h).author),1)]),p("p",null,[p("b",null,u(e.$t("Docker.CloudImage.index_7")),1),t[0]||(t[0]=_(":")),x(i,{href:m(h).home,target:"_blank"},{default:g((()=>[_(u(m(h).home),1)])),_:1},8,["href"])])]),x(o,{class:"pt-16px"},{default:g((()=>[p("li",null,u(e.$t("Soft.index_19")),1),p("li",null,u(e.$t("Soft.index_20")),1)])),_:1})])}}}),[["__scopeId","data-v-1e17ded2"]]))}}})); diff --git a/BTPanel/static/vite/js/app-update-1_BomUFX.js b/BTPanel/static/vite/js/app-update-1_BomUFX.js deleted file mode 100644 index 75c6dc99..00000000 --- a/BTPanel/static/vite/js/app-update-1_BomUFX.js +++ /dev/null @@ -1 +0,0 @@ -import{t as D,v as S,w as F,x as G,p as O,B as R,i as L,y as W,m as q,z as A,A as E}from"./index-BTglIPU2.js?v=1773287522785";import{_ as Z}from"./index-DIKmrNCq.js?v=1773287522785";import{g as J}from"./soft-Cjyfamvm.js?v=1773287522785";import{_ as K,a as Q,L as X}from"./log-update-rZODp78q.js?v=1773287522785";import{k as Y,aa as tt,a0 as et,B as ot}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as at,R as nt,r as f,S as t,$ as C,Z as M,a0 as a,a9 as p,_ as i,aa as n,F as st,j as T,ak as U}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DgjjuUjT.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-B7YvCBmY.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./useTableData-BmkIKQ_R.js?v=1773287522785";import"./useTableColumns-DDeyYvje.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";import"./useLoading-CZ2gSAW7.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import"./index-Cy3Gp9Hk.js?v=1773287522785";import"./theme-monokai-Bqt0uTuQ.js?v=1773287522785";import"./ace-CNnfDSio.js?v=1773287522785";import"./file-B5PwfK2h.js?v=1773287522785";const it={key:0,class:"p-30px"},lt=["src"],pt=["title"],mt={class:"font-600 mt-30px"},rt=["innerHTML"],Ht=at({__name:"app-update",props:{row:{},callback:{},hide:{}},setup(B){const{t:r}=nt(),I=D(),s=B,{row:e}=s,N=["nginx","apache","mysql","php"],V=o=>N.includes(o)||o.startsWith("php-"),w=f(),g=f(),v=f(),y=f(),c=f(),b=async(o=1)=>{var m;try{c.value!==5&&(u.data={plugin_title:e.title,plugin_name:e.name},u.show=!0);const{message:l}=await W({sName:e.name,version:c.value===5?e.m_version:g.value,upgrade:c.value===5?e.m_version:g.value,type:o},c.value===5);if(L(l)){if(l.result){q.success(l.result),I.taskCount+=1,(m=s.callback)==null||m.call(s),s.hide(),A();return}await E({name:l.name,tmp_path:l.tmp_path,title:r("Soft.index_21")},()=>{var _;(_=s.callback)==null||_.call(s)})}s.hide()}catch(l){s.hide()}},H=()=>{if(V(e.name)){d.show=!0;return}b(1)},j=()=>{b(0)},d=S(r("Home.Install.index_7"),{name:e.name,callback:j}),u=S(""),P=()=>{O({title:"".concat(e.title," - ").concat(r("Update Log")),width:600,data:{title:e.title,updateLogList:y.value},component:X})};return(async()=>{const{message:o}=await R({sName:e.name},!0);L(o)&&(c.value=o.type,g.value=e.m_version+"."+e.version,v.value=e.create_time,w.value=o.version,y.value=o.versions)})(),(o,m)=>{const l=tt,_=et,k=ot,h=Y,z=Z,$=G;return t(e)?(C(),M("div",it,[a(h,{class:"justify-between! items-center"},{default:p(()=>[a(h,{class:"items-center"},{default:p(()=>[i("img",{class:"w-40px",src:t(J)(t(e).name)},null,8,lt),i("div",null,[i("p",{class:"font-600 text-18px max-w-290px truncate pb-5px",title:"".concat(t(e).title," ").concat(t(w))},n(t(e).title)+" "+n(t(e).title.indexOf("PHP-")>-1?"":t(w)),9,pt),a(h,{class:"text-font3",size:0},{default:p(()=>[a(l,{dot:"",offset:[4,0]},{default:p(()=>[i("p",null,n(o.$t("Soft.index_51"))+": "+n(t(g)),1)]),_:1}),t(c)!==5?(C(),M(st,{key:0},[a(_,{vertical:""}),i("span",null,n(o.$t("Update time"))+": "+n(t(F)(t(v),"yyyy/MM/dd")),1),a(_,{vertical:""}),a(k,{type:"primary",text:"",onClick:P},{default:p(()=>[T(n(o.$t("Update Log")),1)]),_:1})],64)):U("",!0)]),_:1})])]),_:1}),a(h,null,{default:p(()=>[a(k,{type:"primary",onClick:H},{default:p(()=>[T(n(o.$t("Home.Update.index_19")),1)]),_:1})]),_:1}),a(_)]),_:1}),i("div",mt,n(t(r)("Soft.index_52"))+":",1),i("span",{class:"py-10px inline-block leading-20px text-font2",innerHTML:t(e).update_msg},null,8,rt),a(z,null,{default:p(()=>[i("li",null,n(o.$t("Soft.index_35")),1),i("li",null,n(t(r)("Soft.index_53")),1),i("li",null,n(t(r)("Soft.index_54")),1)]),_:1}),a($,{show:t(d).show,"onUpdate:show":m[0]||(m[0]=x=>t(d).show=x),title:t(d).title,data:t(d).data,width:480,footer:!0,"confirm-text":o.$t("WP.TableRow.index_13"),component:K},null,8,["show","title","data","confirm-text"]),a($,{show:t(u).show,"onUpdate:show":m[1]||(m[1]=x=>t(u).show=x),title:t(u).title,data:t(u).data,width:480,component:Q},null,8,["show","title","data"])])):U("",!0)}}});export{Ht as default}; diff --git a/BTPanel/static/vite/js/app-update-D0S4McZH.js b/BTPanel/static/vite/js/app-update-D0S4McZH.js new file mode 100644 index 00000000..ab333a96 --- /dev/null +++ b/BTPanel/static/vite/js/app-update-D0S4McZH.js @@ -0,0 +1 @@ +import{t as D,v as S,w as F,x as G,y as O,p as R,C as W,i as L,z as q,m as A,A as E,B as Z}from"./index-LQ-JIYiv.js?v=1774508183068";import{_ as J}from"./index-Dd5dC2sI.js?v=1774508183068";import{_ as K,a as Q,L as X}from"./log-update-CeA4l1Sv.js?v=1774508183068";import{l as Y,aa as tt,a0 as et,B as ot}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import{k as at,R as nt,r as f,S as t,$ as C,Z as M,a0 as a,a9 as p,_ as i,aa as n,F as st,j as T,ak as U}from"./vue-core-BlDeWrD6.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-C6hImLDm.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CXJGqQPN.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./useTableData-D5IECpFr.js?v=1774508183068";import"./useTableColumns-BpMo4f8r.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";import"./useLoading-BRu-BHcC.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import"./index-CgLZJKkf.js?v=1774508183068";import"./theme-monokai-DgrkjCWv.js?v=1774508183068";import"./ace-CNnfDSio.js?v=1774508183068";import"./file-hztMD38V.js?v=1774508183068";const it={key:0,class:"p-30px"},lt=["src"],pt=["title"],mt={class:"font-600 mt-30px"},rt=["innerHTML"],Vt=at({__name:"app-update",props:{row:{},callback:{},hide:{}},setup(B){const{t:r}=nt(),I=D(),s=B,{row:e}=s,N=["nginx","apache","mysql","php"],V=o=>N.includes(o)||o.startsWith("php-"),w=f(),h=f(),v=f(),y=f(),c=f(),b=async(o=1)=>{var m;try{c.value!==5&&(u.data={plugin_title:e.title,plugin_name:e.name},u.show=!0);const{message:l}=await q({sName:e.name,version:c.value===5?e.m_version:h.value,upgrade:c.value===5?e.m_version:h.value,type:o},c.value===5);if(L(l)){if(l.result){A.success(l.result),I.taskCount+=1,(m=s.callback)==null||m.call(s),s.hide(),E();return}await Z({name:l.name,tmp_path:l.tmp_path,title:r("Soft.index_21")},()=>{var _;(_=s.callback)==null||_.call(s)})}s.hide()}catch(l){s.hide()}},H=()=>{if(V(e.name)){d.show=!0;return}b(1)},j=()=>{b(0)},d=S(r("Home.Install.index_7"),{name:e.name,callback:j}),u=S(""),P=()=>{R({title:"".concat(e.title," - ").concat(r("Update Log")),width:600,data:{title:e.title,updateLogList:y.value},component:X})};return(async()=>{const{message:o}=await W({sName:e.name},!0);L(o)&&(c.value=o.type,h.value=e.m_version+"."+e.version,v.value=e.create_time,w.value=o.version,y.value=o.versions)})(),(o,m)=>{const l=tt,_=et,k=ot,g=Y,z=J,$=O;return t(e)?(C(),M("div",it,[a(g,{class:"justify-between! items-center"},{default:p(()=>[a(g,{class:"items-center"},{default:p(()=>[i("img",{class:"w-40px",src:t(F)(t(e).name)},null,8,lt),i("div",null,[i("p",{class:"font-600 text-18px max-w-290px truncate pb-5px",title:"".concat(t(e).title," ").concat(t(w))},n(t(e).title)+" "+n(t(e).title.indexOf("PHP-")>-1?"":t(w)),9,pt),a(g,{class:"text-font3",size:0},{default:p(()=>[a(l,{dot:"",offset:[4,0]},{default:p(()=>[i("p",null,n(o.$t("Soft.index_51"))+": "+n(t(h)),1)]),_:1}),t(c)!==5?(C(),M(st,{key:0},[a(_,{vertical:""}),i("span",null,n(o.$t("Update time"))+": "+n(t(G)(t(v),"yyyy/MM/dd")),1),a(_,{vertical:""}),a(k,{type:"primary",text:"",onClick:P},{default:p(()=>[T(n(o.$t("Update Log")),1)]),_:1})],64)):U("",!0)]),_:1})])]),_:1}),a(g,null,{default:p(()=>[a(k,{type:"primary",onClick:H},{default:p(()=>[T(n(o.$t("Home.Update.index_19")),1)]),_:1})]),_:1}),a(_)]),_:1}),i("div",mt,n(t(r)("Soft.index_52"))+":",1),i("span",{class:"py-10px inline-block leading-20px text-font2",innerHTML:t(e).update_msg},null,8,rt),a(z,null,{default:p(()=>[i("li",null,n(o.$t("Soft.index_35")),1),i("li",null,n(t(r)("Soft.index_53")),1),i("li",null,n(t(r)("Soft.index_54")),1)]),_:1}),a($,{show:t(d).show,"onUpdate:show":m[0]||(m[0]=x=>t(d).show=x),title:t(d).title,data:t(d).data,width:480,footer:!0,"confirm-text":o.$t("WP.TableRow.index_13"),component:K},null,8,["show","title","data","confirm-text"]),a($,{show:t(u).show,"onUpdate:show":m[1]||(m[1]=x=>t(u).show=x),title:t(u).title,data:t(u).data,width:480,component:Q},null,8,["show","title","data"])])):U("",!0)}}});export{Vt as default}; diff --git a/BTPanel/static/vite/js/app-update-legacy-CCuCVLpw.js b/BTPanel/static/vite/js/app-update-legacy-CCuCVLpw.js new file mode 100644 index 00000000..307932f0 --- /dev/null +++ b/BTPanel/static/vite/js/app-update-legacy-CCuCVLpw.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./index-legacy-DOsTWPyk.js?v=1774508183068","./log-update-legacy-CBCy2I0O.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-C46zd6Uw.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-DaMVKsAK.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068","./useLoading-legacy-BYj3sJTe.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./index-legacy-QtAQflDH.js?v=1774508183068","./theme-monokai-legacy-B-yGffKh.js?v=1774508183068","./ace-legacy-ConAV8RQ.js?v=1774508183068","./file-legacy-BH6f1Pri.js?v=1774508183068"],(function(e,t){"use strict";var l,a,n,s,i,u,c,o,p,d,_,r,y,m,g,v,x,f,h,j,w,k,b,$,L,S,U,C,H,T,M,P,z;return{setters:[e=>{l=e.t,a=e.v,n=e.w,s=e.x,i=e.y,u=e.p,c=e.C,o=e.i,p=e.z,d=e.m,_=e.A,r=e.B},e=>{y=e._},e=>{m=e._,g=e.a,v=e.L},e=>{x=e.l,f=e.aa,h=e.a0,j=e.B},e=>{w=e.k,k=e.R,b=e.r,$=e.S,L=e.$,S=e.Z,U=e.a0,C=e.a9,H=e._,T=e.aa,M=e.F,P=e.j,z=e.ak},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const t={key:0,class:"p-30px"},B=["src"],N=["title"],R={class:"font-600 mt-30px"},W=["innerHTML"];e("default",w({__name:"app-update",props:{row:{},callback:{},hide:{}},setup(e){const{t:w}=k(),Z=l(),q=e,{row:A}=q,D=["nginx","apache","mysql","php"],F=b(),I=b(),O=b(),E=b(),G=b(),J=async(e=1)=>{try{5!==G.value&&(V.data={plugin_title:A.title,plugin_name:A.name},V.show=!0);const{message:t}=await p({sName:A.name,version:5===G.value?A.m_version:I.value,upgrade:5===G.value?A.m_version:I.value,type:e},5===G.value);if(o(t)){if(t.result)return d.success(t.result),Z.taskCount+=1,q.callback?.(),q.hide(),void _();await r({name:t.name,tmp_path:t.tmp_path,title:w("Soft.index_21")},(()=>{q.callback?.()}))}q.hide()}catch{q.hide()}},K=()=>{var e;e=A.name,D.includes(e)||e.startsWith("php-")?Q.show=!0:J(1)},Q=a(w("Home.Install.index_7"),{name:A.name,callback:()=>{J(0)}}),V=a(""),X=()=>{u({title:`${A.title} - ${w("Update Log")}`,width:600,data:{title:A.title,updateLogList:E.value},component:v})};return(async()=>{const{message:e}=await c({sName:A.name},!0);o(e)&&(G.value=e.type,I.value=A.m_version+"."+A.version,O.value=A.create_time,F.value=e.version,E.value=e.versions)})(),(e,l)=>{const a=f,u=h,c=j,o=x,p=y,d=i;return $(A)?(L(),S("div",t,[U(o,{class:"justify-between! items-center"},{default:C((()=>[U(o,{class:"items-center"},{default:C((()=>[H("img",{class:"w-40px",src:$(n)($(A).name)},null,8,B),H("div",null,[H("p",{class:"font-600 text-18px max-w-290px truncate pb-5px",title:`${$(A).title} ${$(F)}`},T($(A).title)+" "+T($(A).title.indexOf("PHP-")>-1?"":$(F)),9,N),U(o,{class:"text-font3",size:0},{default:C((()=>[U(a,{dot:"",offset:[4,0]},{default:C((()=>[H("p",null,T(e.$t("Soft.index_51"))+": "+T($(I)),1)])),_:1}),5!==$(G)?(L(),S(M,{key:0},[U(u,{vertical:""}),H("span",null,T(e.$t("Update time"))+": "+T($(s)($(O),"yyyy/MM/dd")),1),U(u,{vertical:""}),U(c,{type:"primary",text:"",onClick:X},{default:C((()=>[P(T(e.$t("Update Log")),1)])),_:1})],64)):z("",!0)])),_:1})])])),_:1}),U(o,null,{default:C((()=>[U(c,{type:"primary",onClick:K},{default:C((()=>[P(T(e.$t("Home.Update.index_19")),1)])),_:1})])),_:1}),U(u)])),_:1}),H("div",R,T($(w)("Soft.index_52"))+":",1),H("span",{class:"py-10px inline-block leading-20px text-font2",innerHTML:$(A).update_msg},null,8,W),U(p,null,{default:C((()=>[H("li",null,T(e.$t("Soft.index_35")),1),H("li",null,T($(w)("Soft.index_53")),1),H("li",null,T($(w)("Soft.index_54")),1)])),_:1}),U(d,{show:$(Q).show,"onUpdate:show":l[0]||(l[0]=e=>$(Q).show=e),title:$(Q).title,data:$(Q).data,width:480,footer:!0,"confirm-text":e.$t("WP.TableRow.index_13"),component:m},null,8,["show","title","data","confirm-text"]),U(d,{show:$(V).show,"onUpdate:show":l[1]||(l[1]=e=>$(V).show=e),title:$(V).title,data:$(V).data,width:480,component:g},null,8,["show","title","data"])])):z("",!0)}}}))}}})); diff --git a/BTPanel/static/vite/js/app-update-legacy-ZvYyjhVZ.js b/BTPanel/static/vite/js/app-update-legacy-ZvYyjhVZ.js deleted file mode 100644 index 7b6dc479..00000000 --- a/BTPanel/static/vite/js/app-update-legacy-ZvYyjhVZ.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./index-legacy-DgZ0-E4f.js?v=1773287522785","./soft-legacy-CzxZ2w7j.js?v=1773287522785","./log-update-legacy-Dk1whsxW.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BWPgT9-g.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BQ2Kqzbl.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index-legacy-DaNJUJqN.js?v=1773287522785","./theme-monokai-legacy-fuYB_bfX.js?v=1773287522785","./ace-legacy-ConAV8RQ.js?v=1773287522785","./file-legacy-Bt6Hxu9s.js?v=1773287522785"],(function(e,t){"use strict";var l,a,n,s,i,u,c,o,p,d,_,r,y,g,m,v,x,f,h,j,w,k,b,$,L,S,U,H,T,C,M,P,z;return{setters:[e=>{l=e.t,a=e.v,n=e.w,s=e.x,i=e.p,u=e.B,c=e.i,o=e.y,p=e.m,d=e.z,_=e.A},e=>{r=e._},e=>{y=e.g},e=>{g=e._,m=e.a,v=e.L},e=>{x=e.k,f=e.aa,h=e.a0,j=e.B},e=>{w=e.k,k=e.R,b=e.r,$=e.S,L=e.$,S=e.Z,U=e.a0,H=e.a9,T=e._,C=e.aa,M=e.F,P=e.j,z=e.ak},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const t={key:0,class:"p-30px"},B=["src"],N=["title"],R={class:"font-600 mt-30px"},W=["innerHTML"];e("default",w({__name:"app-update",props:{row:{},callback:{},hide:{}},setup(e){const{t:w}=k(),Z=l(),q=e,{row:A}=q,D=["nginx","apache","mysql","php"],F=b(),I=b(),O=b(),E=b(),G=b(),J=async(e=1)=>{try{5!==G.value&&(V.data={plugin_title:A.title,plugin_name:A.name},V.show=!0);const{message:t}=await o({sName:A.name,version:5===G.value?A.m_version:I.value,upgrade:5===G.value?A.m_version:I.value,type:e},5===G.value);if(c(t)){if(t.result)return p.success(t.result),Z.taskCount+=1,q.callback?.(),q.hide(),void d();await _({name:t.name,tmp_path:t.tmp_path,title:w("Soft.index_21")},(()=>{q.callback?.()}))}q.hide()}catch{q.hide()}},K=()=>{var e;e=A.name,D.includes(e)||e.startsWith("php-")?Q.show=!0:J(1)},Q=a(w("Home.Install.index_7"),{name:A.name,callback:()=>{J(0)}}),V=a(""),X=()=>{i({title:`${A.title} - ${w("Update Log")}`,width:600,data:{title:A.title,updateLogList:E.value},component:v})};return(async()=>{const{message:e}=await u({sName:A.name},!0);c(e)&&(G.value=e.type,I.value=A.m_version+"."+A.version,O.value=A.create_time,F.value=e.version,E.value=e.versions)})(),(e,l)=>{const a=f,i=h,u=j,c=x,o=r,p=s;return $(A)?(L(),S("div",t,[U(c,{class:"justify-between! items-center"},{default:H((()=>[U(c,{class:"items-center"},{default:H((()=>[T("img",{class:"w-40px",src:$(y)($(A).name)},null,8,B),T("div",null,[T("p",{class:"font-600 text-18px max-w-290px truncate pb-5px",title:`${$(A).title} ${$(F)}`},C($(A).title)+" "+C($(A).title.indexOf("PHP-")>-1?"":$(F)),9,N),U(c,{class:"text-font3",size:0},{default:H((()=>[U(a,{dot:"",offset:[4,0]},{default:H((()=>[T("p",null,C(e.$t("Soft.index_51"))+": "+C($(I)),1)])),_:1}),5!==$(G)?(L(),S(M,{key:0},[U(i,{vertical:""}),T("span",null,C(e.$t("Update time"))+": "+C($(n)($(O),"yyyy/MM/dd")),1),U(i,{vertical:""}),U(u,{type:"primary",text:"",onClick:X},{default:H((()=>[P(C(e.$t("Update Log")),1)])),_:1})],64)):z("",!0)])),_:1})])])),_:1}),U(c,null,{default:H((()=>[U(u,{type:"primary",onClick:K},{default:H((()=>[P(C(e.$t("Home.Update.index_19")),1)])),_:1})])),_:1}),U(i)])),_:1}),T("div",R,C($(w)("Soft.index_52"))+":",1),T("span",{class:"py-10px inline-block leading-20px text-font2",innerHTML:$(A).update_msg},null,8,W),U(o,null,{default:H((()=>[T("li",null,C(e.$t("Soft.index_35")),1),T("li",null,C($(w)("Soft.index_53")),1),T("li",null,C($(w)("Soft.index_54")),1)])),_:1}),U(p,{show:$(Q).show,"onUpdate:show":l[0]||(l[0]=e=>$(Q).show=e),title:$(Q).title,data:$(Q).data,width:480,footer:!0,"confirm-text":e.$t("WP.TableRow.index_13"),component:g},null,8,["show","title","data","confirm-text"]),U(p,{show:$(V).show,"onUpdate:show":l[1]||(l[1]=e=>$(V).show=e),title:$(V).title,data:$(V).data,width:480,component:m},null,8,["show","title","data"])])):z("",!0)}}}))}}})); diff --git a/BTPanel/static/vite/js/attack-B4Tf0BOT.js b/BTPanel/static/vite/js/attack-B4Tf0BOT.js new file mode 100644 index 00000000..741d0789 --- /dev/null +++ b/BTPanel/static/vite/js/attack-B4Tf0BOT.js @@ -0,0 +1 @@ +import{_}from"./index-Dd5dC2sI.js?v=1774508183068";import{_ as c}from"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import{n as f}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as g}from"./useTableColumns-BpMo4f8r.js?v=1774508183068";import{u as S}from"./useTableData-D5IECpFr.js?v=1774508183068";import{T as b}from"./setting-9MLJBbIL.js?v=1774508183068";import{k,R as W,a0 as o,$ as h,Z as x,S as s,a9 as y,_ as e,aa as n,u as $}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{am as w}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";const j={class:"p-20px"};function A(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!$(i)}const F=k({__name:"attack",setup(i){const{t:a}=W(),{table:l,columns:p,setLoading:r}=S([{key:"url",title:a("Waf.Setting.index_27"),minWidth:100,ellipsis:{tooltip:{width:"trigger"}},render:t=>o("a",{class:"bt-link",href:t.url,target:"_blank"},[t.url])},{key:"mode",title:a("Waf.Setting.index_28"),width:"20%",minWidth:100,render:()=>{let t;return o(w,{checked:!0},A(t=a("Waf.Setting.index_30"))?t:{default:()=>[t]})}},g({width:100,options:t=>[{label:a("Waf.Setting.index_29"),onClick:()=>{window.open(t.url)}}]})]);return(async()=>{try{r(!0);const{message:t}=await b();f(t)&&(l.data=t.map(m=>({url:m})))}finally{r(!1)}})(),(t,m)=>{const u=c,d=_;return h(),x("div",j,[o(u,{"loading-num":6,loading:s(l).loading,data:s(l).data,columns:s(p)},null,8,["loading","data","columns"]),o(d,{class:"mt-16px"},{default:y(()=>[e("li",null,n(t.$t("Waf.Setting.index_22")),1),e("li",null,n(t.$t("Waf.Setting.index_23")),1),e("li",null,n(t.$t("Waf.Setting.index_24")),1),e("li",null,n(t.$t("Waf.Setting.index_25")),1),e("li",null,n(t.$t("Waf.Setting.index_26")),1)]),_:1})])}}});export{F as default}; diff --git a/BTPanel/static/vite/js/attack-B8jIVEJ7.js b/BTPanel/static/vite/js/attack-B8jIVEJ7.js deleted file mode 100644 index 4bce4d38..00000000 --- a/BTPanel/static/vite/js/attack-B8jIVEJ7.js +++ /dev/null @@ -1 +0,0 @@ -import{_}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as c}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{n as f}from"./index-BTglIPU2.js?v=1773287522785";import{u as g}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{u as S}from"./useTableData-BmkIKQ_R.js?v=1773287522785";import{T as b}from"./setting-DouXuJGW.js?v=1773287522785";import{k,R as W,a0 as o,$ as h,Z as x,S as s,a9 as y,_ as e,aa as n,u as $}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{al as w}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";const j={class:"p-20px"};function A(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!$(i)}const F=k({__name:"attack",setup(i){const{t:a}=W(),{table:l,columns:p,setLoading:r}=S([{key:"url",title:a("Waf.Setting.index_27"),minWidth:100,ellipsis:{tooltip:{width:"trigger"}},render:t=>o("a",{class:"bt-link",href:t.url,target:"_blank"},[t.url])},{key:"mode",title:a("Waf.Setting.index_28"),width:"20%",minWidth:100,render:()=>{let t;return o(w,{checked:!0},A(t=a("Waf.Setting.index_30"))?t:{default:()=>[t]})}},g({width:100,options:t=>[{label:a("Waf.Setting.index_29"),onClick:()=>{window.open(t.url)}}]})]);return(async()=>{try{r(!0);const{message:t}=await b();f(t)&&(l.data=t.map(m=>({url:m})))}finally{r(!1)}})(),(t,m)=>{const u=c,d=_;return h(),x("div",j,[o(u,{"loading-num":6,loading:s(l).loading,data:s(l).data,columns:s(p)},null,8,["loading","data","columns"]),o(d,{class:"mt-16px"},{default:y(()=>[e("li",null,n(t.$t("Waf.Setting.index_22")),1),e("li",null,n(t.$t("Waf.Setting.index_23")),1),e("li",null,n(t.$t("Waf.Setting.index_24")),1),e("li",null,n(t.$t("Waf.Setting.index_25")),1),e("li",null,n(t.$t("Waf.Setting.index_26")),1)]),_:1})])}}});export{F as default}; diff --git a/BTPanel/static/vite/js/attack-legacy-BBzwOcK3.js b/BTPanel/static/vite/js/attack-legacy-BBzwOcK3.js new file mode 100644 index 00000000..a9c9bf6b --- /dev/null +++ b/BTPanel/static/vite/js/attack-legacy-BBzwOcK3.js @@ -0,0 +1 @@ +System.register(["./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./setting-legacy-DokWjcpb.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068"],(function(e,t){"use strict";var l,n,a,i,s,u,c,d,g,r,o,_,y,p,f,j,x;return{setters:[e=>{l=e._},e=>{n=e._},e=>{a=e.n},e=>{i=e.u},e=>{s=e.u},e=>{u=e.T},e=>{c=e.k,d=e.R,g=e.a0,r=e.$,o=e.Z,_=e.S,y=e.a9,p=e._,f=e.aa,j=e.u},e=>{x=e.am},null,null,null,null,null,null],execute:function(){const t={class:"p-20px"};e("default",c({__name:"attack",setup(e){const{t:c}=d(),{table:m,columns:S,setLoading:W}=s([{key:"url",title:c("Waf.Setting.index_27"),minWidth:100,ellipsis:{tooltip:{width:"trigger"}},render:e=>g("a",{class:"bt-link",href:e.url,target:"_blank"},[e.url])},{key:"mode",title:c("Waf.Setting.index_28"),width:"20%",minWidth:100,render:()=>{let e;return g(x,{checked:!0},"function"==typeof(t=e=c("Waf.Setting.index_30"))||"[object Object]"===Object.prototype.toString.call(t)&&!j(t)?e:{default:()=>[e]});var t}},i({width:100,options:e=>[{label:c("Waf.Setting.index_29"),onClick:()=>{window.open(e.url)}}]})]);return(async()=>{try{W(!0);const{message:e}=await u();a(e)&&(m.data=e.map((e=>({url:e}))))}finally{W(!1)}})(),(e,a)=>{const i=n,s=l;return r(),o("div",t,[g(i,{"loading-num":6,loading:_(m).loading,data:_(m).data,columns:_(S)},null,8,["loading","data","columns"]),g(s,{class:"mt-16px"},{default:y((()=>[p("li",null,f(e.$t("Waf.Setting.index_22")),1),p("li",null,f(e.$t("Waf.Setting.index_23")),1),p("li",null,f(e.$t("Waf.Setting.index_24")),1),p("li",null,f(e.$t("Waf.Setting.index_25")),1),p("li",null,f(e.$t("Waf.Setting.index_26")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/attack-legacy-DS22CeBE.js b/BTPanel/static/vite/js/attack-legacy-DS22CeBE.js deleted file mode 100644 index 43971982..00000000 --- a/BTPanel/static/vite/js/attack-legacy-DS22CeBE.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./setting-legacy-DG9cBT-a.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785"],(function(e,t){"use strict";var l,n,a,i,s,u,c,d,g,r,o,_,y,p,f,j,x;return{setters:[e=>{l=e._},e=>{n=e._},e=>{a=e.n},e=>{i=e.u},e=>{s=e.u},e=>{u=e.T},e=>{c=e.k,d=e.R,g=e.a0,r=e.$,o=e.Z,_=e.S,y=e.a9,p=e._,f=e.aa,j=e.u},e=>{x=e.al},null,null,null,null,null,null],execute:function(){const t={class:"p-20px"};e("default",c({__name:"attack",setup(e){const{t:c}=d(),{table:m,columns:S,setLoading:W}=s([{key:"url",title:c("Waf.Setting.index_27"),minWidth:100,ellipsis:{tooltip:{width:"trigger"}},render:e=>g("a",{class:"bt-link",href:e.url,target:"_blank"},[e.url])},{key:"mode",title:c("Waf.Setting.index_28"),width:"20%",minWidth:100,render:()=>{let e;return g(x,{checked:!0},"function"==typeof(t=e=c("Waf.Setting.index_30"))||"[object Object]"===Object.prototype.toString.call(t)&&!j(t)?e:{default:()=>[e]});var t}},i({width:100,options:e=>[{label:c("Waf.Setting.index_29"),onClick:()=>{window.open(e.url)}}]})]);return(async()=>{try{W(!0);const{message:e}=await u();a(e)&&(m.data=e.map((e=>({url:e}))))}finally{W(!1)}})(),(e,a)=>{const i=n,s=l;return r(),o("div",t,[g(i,{"loading-num":6,loading:_(m).loading,data:_(m).data,columns:_(S)},null,8,["loading","data","columns"]),g(s,{class:"mt-16px"},{default:y((()=>[p("li",null,f(e.$t("Waf.Setting.index_22")),1),p("li",null,f(e.$t("Waf.Setting.index_23")),1),p("li",null,f(e.$t("Waf.Setting.index_24")),1),p("li",null,f(e.$t("Waf.Setting.index_25")),1),p("li",null,f(e.$t("Waf.Setting.index_26")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/backup-error-8k1O62mD.js b/BTPanel/static/vite/js/backup-error-8k1O62mD.js new file mode 100644 index 00000000..265f1dec --- /dev/null +++ b/BTPanel/static/vite/js/backup-error-8k1O62mD.js @@ -0,0 +1 @@ +import{_ as m}from"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import{u}from"./useTableData-D5IECpFr.js?v=1774508183068";import{k as _,R as d,a0 as l,j as o,$ as f,a8 as k,S as s}from"./vue-core-BlDeWrD6.js?v=1774508183068";import"./index-LQ-JIYiv.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";const N=_({__name:"backup-error",props:{data:{}},setup(r){const{t:e}=d(),i=r,{table:a,columns:c}=u([{title:e("Config.Backup.index_84"),key:"key",render:(t,n)=>"".concat(n+1)},{title:e("Config.Backup.index_85"),key:"name"},{title:e("Config.Backup.index_86"),key:"msg",width:140,render:t=>l("span",{class:"text-[#ef0808]"},[o(" "),t.msg,o(" ")])},{title:e("Config.Backup.index_87"),key:"type"}]);return a.data=i.data.err_info,(t,n)=>{const p=m;return f(),k(p,{class:"p-16px",columns:s(c),data:s(a).data},null,8,["columns","data"])}}});export{N as default}; diff --git a/BTPanel/static/vite/js/backup-error-Cd4UtPJ4.js b/BTPanel/static/vite/js/backup-error-Cd4UtPJ4.js deleted file mode 100644 index 44022666..00000000 --- a/BTPanel/static/vite/js/backup-error-Cd4UtPJ4.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as m}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{u}from"./useTableData-BmkIKQ_R.js?v=1773287522785";import{k as _,R as d,a0 as l,j as o,$ as f,a8 as k,S as s}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./index-BTglIPU2.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./naive-ui--dJnpVcV.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";const N=_({__name:"backup-error",props:{data:{}},setup(r){const{t:e}=d(),i=r,{table:a,columns:c}=u([{title:e("Config.Backup.index_84"),key:"key",render:(t,n)=>"".concat(n+1)},{title:e("Config.Backup.index_85"),key:"name"},{title:e("Config.Backup.index_86"),key:"msg",width:140,render:t=>l("span",{class:"text-[#ef0808]"},[o(" "),t.msg,o(" ")])},{title:e("Config.Backup.index_87"),key:"type"}]);return a.data=i.data.err_info,(t,n)=>{const p=m;return f(),k(p,{class:"p-16px",columns:s(c),data:s(a).data},null,8,["columns","data"])}}});export{N as default}; diff --git a/BTPanel/static/vite/js/backup-error-legacy-DtSPLF5T.js b/BTPanel/static/vite/js/backup-error-legacy-DtSPLF5T.js deleted file mode 100644 index 921e51d2..00000000 --- a/BTPanel/static/vite/js/backup-error-legacy-DtSPLF5T.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785"],(function(e,t){"use strict";var a,n,s,l,u,c,r,i,d;return{setters:[e=>{a=e._},e=>{n=e.u},e=>{s=e.k,l=e.R,u=e.a0,c=e.j,r=e.$,i=e.a8,d=e.S},null,null,null,null],execute:function(){e("default",s({__name:"backup-error",props:{data:{}},setup(e){const{t:t}=l(),s=e,{table:p,columns:g}=n([{title:t("Config.Backup.index_84"),key:"key",render:(e,t)=>`${t+1}`},{title:t("Config.Backup.index_85"),key:"name"},{title:t("Config.Backup.index_86"),key:"msg",width:140,render:e=>u("span",{class:"text-[#ef0808]"},[c(" "),e.msg,c(" ")])},{title:t("Config.Backup.index_87"),key:"type"}]);return p.data=s.data.err_info,(e,t)=>{const n=a;return r(),i(n,{class:"p-16px",columns:d(g),data:d(p).data},null,8,["columns","data"])}}}))}}})); diff --git a/BTPanel/static/vite/js/backup-error-legacy-YpAC01pc.js b/BTPanel/static/vite/js/backup-error-legacy-YpAC01pc.js new file mode 100644 index 00000000..7925d5f0 --- /dev/null +++ b/BTPanel/static/vite/js/backup-error-legacy-YpAC01pc.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068"],(function(e,t){"use strict";var a,n,s,l,u,c,r,i,d;return{setters:[e=>{a=e._},e=>{n=e.u},e=>{s=e.k,l=e.R,u=e.a0,c=e.j,r=e.$,i=e.a8,d=e.S},null,null,null,null],execute:function(){e("default",s({__name:"backup-error",props:{data:{}},setup(e){const{t:t}=l(),s=e,{table:p,columns:g}=n([{title:t("Config.Backup.index_84"),key:"key",render:(e,t)=>`${t+1}`},{title:t("Config.Backup.index_85"),key:"name"},{title:t("Config.Backup.index_86"),key:"msg",width:140,render:e=>u("span",{class:"text-[#ef0808]"},[c(" "),e.msg,c(" ")])},{title:t("Config.Backup.index_87"),key:"type"}]);return p.data=s.data.err_info,(e,t)=>{const n=a;return r(),i(n,{class:"p-16px",columns:d(g),data:d(p).data},null,8,["columns","data"])}}}))}}})); diff --git a/BTPanel/static/vite/js/backup-info-Cna1w61Y.js b/BTPanel/static/vite/js/backup-info-Cna1w61Y.js new file mode 100644 index 00000000..2d1e1eb4 --- /dev/null +++ b/BTPanel/static/vite/js/backup-info-Cna1w61Y.js @@ -0,0 +1 @@ +import{_ as y}from"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import{u as k,s as m,a as S,c as d,e as C,w as p,f as B,h as b,j as v,t as _,k as $,v as h,l as P,m as f,n as z,o as g,p as L,q as T,r as N,x,y as D}from"./utils-Bw-EKG4l.js?v=1774508183068";import{l as r,a6 as V,D as j,c as F}from"./index-LQ-JIYiv.js?v=1774508183068";import{k as c,c as I,a0 as e,$ as O,Z as q,a9 as a,S as t,ak as A}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a5 as E,l as H,aC as R,aD as U}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./useTableData-D5IECpFr.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const W=c({props:{table:{type:Object,required:!0}},setup(u){const l=I(()=>u.table.data.filter(i=>i.status===3).length);return()=>l.value===u.table.data.length&&l.value>0?e(r,{name:"base-error",class:"text-error",size:"16"},null):l.value>0?e(r,{name:"base-warning",class:"text-warning",size:"16"},null):e(r,{name:"base-success",class:"text-primary",size:"16"},null)}}),o=c({name:"BackupTopic",props:{title:{type:String,default:""},showProblem:{type:Boolean,default:!1},problemText:{type:String,default:""},showTotalSize:{type:Boolean,default:!1},table:{type:Object,default:()=>({data:[]})}},setup(u){const l=k();return{getDisplayText:()=>"(".concat(V.global.t("Security.Anti.Index_7")," ").concat(u.table.data.length).concat(u.showTotalSize?",".concat(j(u.table.data.reduce((n,s)=>n+Number(s.size||0),0))):"",")"),store:l}},render(){return e(H,{class:"items-center! p-10px",size:3},{default:()=>[e("span",{class:"website"},null),e("span",{class:"font-bold",style:{color:"var(--setting-back-create-collapse-title)"}},[this.title]),this.showProblem?e(E,{placement:"top-start"},{trigger:()=>e(r,{name:"base-problem",class:"text-16px"},null),default:()=>this.problemText}):"",e("span",null,[this.getDisplayText()]),this.store.showBackupStatus?e(W,{table:this.table},null):""]})}}),Z=c({__name:"backup-info",setup(u){return(l,i)=>{const n=y,s=R,w=U;return O(),q("div",null,[e(w,{"arrow-placement":"right",accordion:"",class:"w-full","display-directive":"show"},{default:a(()=>[e(s,null,{header:a(()=>[e(t(o),{title:l.$t("Layout.Sider.site_1"),showProblem:"",table:t(m),problemText:"Backing up a website will automatically back up Nginx configuration, SSL certificate, PHP configuration, redirection and reverse proxy, and other configurations related to the website except plugins.",showTotalSize:!0},null,8,["title","table"])]),default:a(()=>[e(n,{columns:t(S),data:t(m).data,"max-height":150},null,8,["columns","data"])]),_:1}),e(s,null,{header:a(()=>[e(t(o),{title:l.$t("Layout.Sider.database_1"),table:t(d),showTotalSize:!0},null,8,["title","table"])]),default:a(()=>[e(n,{columns:t(C),data:t(d).data,"max-height":150},null,8,["columns","data"])]),_:1}),e(s,null,{header:a(()=>[e(t(o),{title:l.$t("Layout.Sider.wp_3"),table:t(p),showTotalSize:!0},null,8,["title","table"])]),default:a(()=>[e(n,{columns:t(B),data:t(p).data,"max-height":150},null,8,["columns","data"])]),_:1}),e(s,null,{header:a(()=>[e(t(o),{title:"FTP",showProblem:"",table:t(b),problemText:"Only backup FTP account and password, not backup FTP directory"},null,8,["table"])]),default:a(()=>[e(n,{columns:t(v),data:t(b).data,"max-height":150},null,8,["columns","data"])]),_:1}),e(s,null,{header:a(()=>[e(t(o),{title:l.$t("Layout.Sider.crontab_1"),table:t(_)},null,8,["title","table"])]),default:a(()=>[e(n,{columns:t($),data:t(_).data,"max-height":150},null,8,["columns","data"])]),_:1}),A("",!0),e(s,null,{header:a(()=>[e(t(o),{title:l.$t("Layout.Sider.mail_1"),table:t(h)},null,8,["title","table"])]),default:a(()=>[e(n,{columns:t(P),data:t(h).data,"max-height":150},null,8,["columns","data"])]),_:1}),e(s,null,{header:a(()=>[e(t(o),{title:"SSL",table:t(f)},null,8,["table"])]),default:a(()=>[e(n,{columns:t(z),data:t(f).data,"max-height":150},null,8,["columns","data"])]),_:1}),e(s,null,{header:a(()=>[e(t(o),{title:l.$t("Layout.Sider.security_2"),table:t(g)},null,8,["title","table"])]),default:a(()=>[e(n,{columns:t(L),data:t(g).data,"max-height":150},null,8,["columns","data"])]),_:1}),e(s,null,{header:a(()=>[e(t(o),{title:l.$t("WP.TableRow.index_5"),table:t(T)},null,8,["title","table"])]),default:a(()=>[e(n,{columns:t(N),data:t(T).data,"max-height":150},null,8,["columns","data"])]),_:1}),e(s,null,{header:a(()=>[e(t(o),{title:"Environment",showProblem:"",table:t(x),problemText:"PHP extension does not currently support backup"},null,8,["table"])]),default:a(()=>[e(n,{columns:t(D),data:t(x).data,"max-height":150},null,8,["columns","data"])]),_:1})]),_:1})])}}}),ne=F(Z,[["__scopeId","data-v-32c8eff7"]]);export{ne as default}; diff --git a/BTPanel/static/vite/js/backup-info-legacy-C14mjyZx.js b/BTPanel/static/vite/js/backup-info-legacy-C14mjyZx.js new file mode 100644 index 00000000..0eefe79e --- /dev/null +++ b/BTPanel/static/vite/js/backup-info-legacy-C14mjyZx.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./utils-legacy-CdZRb4ET.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,t){"use strict";var a,l,n,s,u,o,i,c,r,d,p,m,b,h,g,f,_,y,x,v,w,S,T,k,$,j,P,z,L,B,D,C,F,O,q,A,E,H;return{setters:[e=>{a=e._},e=>{l=e.u,n=e.s,s=e.a,u=e.c,o=e.e,i=e.w,c=e.f,r=e.h,d=e.j,p=e.t,m=e.k,b=e.v,h=e.l,g=e.m,f=e.n,_=e.o,y=e.p,x=e.q,v=e.r,w=e.x,S=e.y,e.z,e.A},e=>{T=e.l,k=e.a6,$=e.D,j=e.c},e=>{P=e.k,z=e.c,L=e.a0,B=e.$,D=e.Z,C=e.a9,F=e.S,O=e.ak,e.a8},e=>{q=e.a5,A=e.l,E=e.aC,H=e.aD},null,null,null],execute:function(){var t=document.createElement("style");t.textContent="[data-v-32c8eff7] .n-collapse .n-collapse-item .n-collapse-item__header .n-collapse-item__header-main{justify-content:space-between}[data-v-32c8eff7] .n-collapse .n-collapse-item .n-collapse-item__content-wrapper .n-collapse-item__content-inner{padding-top:0}[data-v-32c8eff7] .n-collapse .n-collapse-item .n-collapse-item__header{padding:0}[data-v-32c8eff7] .n-collapse-item__header{background-color:var(--collapse-header-bg)}[data-v-32c8eff7] .n-data-table .n-data-table-th{background-color:var(--setting-back-create-table-th-bg)}[data-v-32c8eff7] .n-collapse-item__header{border:1px solid var(--setting-back-create-collapse-border)}.n-collapse[data-v-32c8eff7]{--n-item-margin: 10px 0 0 0 }\n/*$vite$:1*/",document.head.appendChild(t);const I=P({props:{table:{type:Object,required:!0}},setup(e){const t=z((()=>e.table.data.filter((e=>3===e.status)).length));return()=>t.value===e.table.data.length&&t.value>0?L(T,{name:"base-error",class:"text-error",size:"16"},null):t.value>0?L(T,{name:"base-warning",class:"text-warning",size:"16"},null):L(T,{name:"base-success",class:"text-primary",size:"16"},null)}}),N=P({name:"BackupTopic",props:{title:{type:String,default:""},showProblem:{type:Boolean,default:!1},problemText:{type:String,default:""},showTotalSize:{type:Boolean,default:!1},table:{type:Object,default:()=>({data:[]})}},setup:e=>({getDisplayText:()=>`(${k.global.t("Security.Anti.Index_7")} ${e.table.data.length}${e.showTotalSize?`,${$(e.table.data.reduce(((e,t)=>e+Number(t.size||0)),0))}`:""})`,store:l()}),render(){return L(A,{class:"items-center! p-10px",size:3},{default:()=>[L("span",{class:"website"},null),L("span",{class:"font-bold",style:{color:"var(--setting-back-create-collapse-title)"}},[this.title]),this.showProblem?L(q,{placement:"top-start"},{trigger:()=>L(T,{name:"base-problem",class:"text-16px"},null),default:()=>this.problemText}):"",L("span",null,[this.getDisplayText()]),this.store.showBackupStatus?L(I,{table:this.table},null):""]})}});e("default",j(P({__name:"backup-info",setup:e=>(e,t)=>{const l=a,T=E,k=H;return B(),D("div",null,[L(k,{"arrow-placement":"right",accordion:"",class:"w-full","display-directive":"show"},{default:C((()=>[L(T,null,{header:C((()=>[L(F(N),{title:e.$t("Layout.Sider.site_1"),showProblem:"",table:F(n),problemText:"Backing up a website will automatically back up Nginx configuration, SSL certificate, PHP configuration, redirection and reverse proxy, and other configurations related to the website except plugins.",showTotalSize:!0},null,8,["title","table"])])),default:C((()=>[L(l,{columns:F(s),data:F(n).data,"max-height":150},null,8,["columns","data"])])),_:1}),L(T,null,{header:C((()=>[L(F(N),{title:e.$t("Layout.Sider.database_1"),table:F(u),showTotalSize:!0},null,8,["title","table"])])),default:C((()=>[L(l,{columns:F(o),data:F(u).data,"max-height":150},null,8,["columns","data"])])),_:1}),L(T,null,{header:C((()=>[L(F(N),{title:e.$t("Layout.Sider.wp_3"),table:F(i),showTotalSize:!0},null,8,["title","table"])])),default:C((()=>[L(l,{columns:F(c),data:F(i).data,"max-height":150},null,8,["columns","data"])])),_:1}),L(T,null,{header:C((()=>[L(F(N),{title:"FTP",showProblem:"",table:F(r),problemText:"Only backup FTP account and password, not backup FTP directory"},null,8,["table"])])),default:C((()=>[L(l,{columns:F(d),data:F(r).data,"max-height":150},null,8,["columns","data"])])),_:1}),L(T,null,{header:C((()=>[L(F(N),{title:e.$t("Layout.Sider.crontab_1"),table:F(p)},null,8,["title","table"])])),default:C((()=>[L(l,{columns:F(m),data:F(p).data,"max-height":150},null,8,["columns","data"])])),_:1}),O("",!0),L(T,null,{header:C((()=>[L(F(N),{title:e.$t("Layout.Sider.mail_1"),table:F(b)},null,8,["title","table"])])),default:C((()=>[L(l,{columns:F(h),data:F(b).data,"max-height":150},null,8,["columns","data"])])),_:1}),L(T,null,{header:C((()=>[L(F(N),{title:"SSL",table:F(g)},null,8,["table"])])),default:C((()=>[L(l,{columns:F(f),data:F(g).data,"max-height":150},null,8,["columns","data"])])),_:1}),L(T,null,{header:C((()=>[L(F(N),{title:e.$t("Layout.Sider.security_2"),table:F(_)},null,8,["title","table"])])),default:C((()=>[L(l,{columns:F(y),data:F(_).data,"max-height":150},null,8,["columns","data"])])),_:1}),L(T,null,{header:C((()=>[L(F(N),{title:e.$t("WP.TableRow.index_5"),table:F(x)},null,8,["title","table"])])),default:C((()=>[L(l,{columns:F(v),data:F(x).data,"max-height":150},null,8,["columns","data"])])),_:1}),L(T,null,{header:C((()=>[L(F(N),{title:"Environment",showProblem:"",table:F(w),problemText:"PHP extension does not currently support backup"},null,8,["table"])])),default:C((()=>[L(l,{columns:F(S),data:F(w).data,"max-height":150},null,8,["columns","data"])])),_:1})])),_:1})])}}),[["__scopeId","data-v-32c8eff7"]]))}}})); diff --git a/BTPanel/static/vite/js/backup-info-legacy-CWnH1sm2.js b/BTPanel/static/vite/js/backup-info-legacy-CWnH1sm2.js deleted file mode 100644 index b54612e1..00000000 --- a/BTPanel/static/vite/js/backup-info-legacy-CWnH1sm2.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./utils-legacy-D3bAeO-j.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,t){"use strict";var a,l,n,s,u,o,i,c,r,d,p,m,b,h,g,f,_,y,x,v,w,S,T,k,$,j,P,z,L,B,C,D,F,O,q,A,E,H;return{setters:[e=>{a=e._},e=>{l=e.u,n=e.s,s=e.a,u=e.c,o=e.e,i=e.w,c=e.f,r=e.h,d=e.j,p=e.t,m=e.k,b=e.v,h=e.l,g=e.m,f=e.n,_=e.o,y=e.p,x=e.q,v=e.r,w=e.x,S=e.y,e.z,e.A},e=>{T=e.l,k=e.a3,$=e.C,j=e.c},e=>{P=e.k,z=e.c,L=e.a0,B=e.$,C=e.Z,D=e.a9,F=e.S,O=e.ak,e.a8},e=>{q=e.a5,A=e.k,E=e.aC,H=e.aD},null,null,null],execute:function(){var t=document.createElement("style");t.textContent="[data-v-32c8eff7] .n-collapse .n-collapse-item .n-collapse-item__header .n-collapse-item__header-main{justify-content:space-between}[data-v-32c8eff7] .n-collapse .n-collapse-item .n-collapse-item__content-wrapper .n-collapse-item__content-inner{padding-top:0}[data-v-32c8eff7] .n-collapse .n-collapse-item .n-collapse-item__header{padding:0}[data-v-32c8eff7] .n-collapse-item__header{background-color:var(--collapse-header-bg)}[data-v-32c8eff7] .n-data-table .n-data-table-th{background-color:var(--setting-back-create-table-th-bg)}[data-v-32c8eff7] .n-collapse-item__header{border:1px solid var(--setting-back-create-collapse-border)}.n-collapse[data-v-32c8eff7]{--n-item-margin: 10px 0 0 0 }\n/*$vite$:1*/",document.head.appendChild(t);const I=P({props:{table:{type:Object,required:!0}},setup(e){const t=z((()=>e.table.data.filter((e=>3===e.status)).length));return()=>t.value===e.table.data.length&&t.value>0?L(T,{name:"base-error",class:"text-error",size:"16"},null):t.value>0?L(T,{name:"base-warning",class:"text-warning",size:"16"},null):L(T,{name:"base-success",class:"text-primary",size:"16"},null)}}),N=P({name:"BackupTopic",props:{title:{type:String,default:""},showProblem:{type:Boolean,default:!1},problemText:{type:String,default:""},showTotalSize:{type:Boolean,default:!1},table:{type:Object,default:()=>({data:[]})}},setup:e=>({getDisplayText:()=>`(${k.global.t("Security.Anti.Index_7")} ${e.table.data.length}${e.showTotalSize?`,${$(e.table.data.reduce(((e,t)=>e+Number(t.size||0)),0))}`:""})`,store:l()}),render(){return L(A,{class:"items-center! p-10px",size:3},{default:()=>[L("span",{class:"website"},null),L("span",{class:"font-bold",style:{color:"var(--setting-back-create-collapse-title)"}},[this.title]),this.showProblem?L(q,{placement:"top-start"},{trigger:()=>L(T,{name:"base-problem",class:"text-16px"},null),default:()=>this.problemText}):"",L("span",null,[this.getDisplayText()]),this.store.showBackupStatus?L(I,{table:this.table},null):""]})}});e("default",j(P({__name:"backup-info",setup:e=>(e,t)=>{const l=a,T=E,k=H;return B(),C("div",null,[L(k,{"arrow-placement":"right",accordion:"",class:"w-full","display-directive":"show"},{default:D((()=>[L(T,null,{header:D((()=>[L(F(N),{title:e.$t("Layout.Sider.site_1"),showProblem:"",table:F(n),problemText:"Backing up a website will automatically back up Nginx configuration, SSL certificate, PHP configuration, redirection and reverse proxy, and other configurations related to the website except plugins.",showTotalSize:!0},null,8,["title","table"])])),default:D((()=>[L(l,{columns:F(s),data:F(n).data,"max-height":150},null,8,["columns","data"])])),_:1}),L(T,null,{header:D((()=>[L(F(N),{title:e.$t("Layout.Sider.database_1"),table:F(u),showTotalSize:!0},null,8,["title","table"])])),default:D((()=>[L(l,{columns:F(o),data:F(u).data,"max-height":150},null,8,["columns","data"])])),_:1}),L(T,null,{header:D((()=>[L(F(N),{title:e.$t("Layout.Sider.wp_3"),table:F(i),showTotalSize:!0},null,8,["title","table"])])),default:D((()=>[L(l,{columns:F(c),data:F(i).data,"max-height":150},null,8,["columns","data"])])),_:1}),L(T,null,{header:D((()=>[L(F(N),{title:"FTP",showProblem:"",table:F(r),problemText:"Only backup FTP account and password, not backup FTP directory"},null,8,["table"])])),default:D((()=>[L(l,{columns:F(d),data:F(r).data,"max-height":150},null,8,["columns","data"])])),_:1}),L(T,null,{header:D((()=>[L(F(N),{title:e.$t("Layout.Sider.crontab_1"),table:F(p)},null,8,["title","table"])])),default:D((()=>[L(l,{columns:F(m),data:F(p).data,"max-height":150},null,8,["columns","data"])])),_:1}),O("",!0),L(T,null,{header:D((()=>[L(F(N),{title:e.$t("Layout.Sider.mail_1"),table:F(b)},null,8,["title","table"])])),default:D((()=>[L(l,{columns:F(h),data:F(b).data,"max-height":150},null,8,["columns","data"])])),_:1}),L(T,null,{header:D((()=>[L(F(N),{title:"SSL",table:F(g)},null,8,["table"])])),default:D((()=>[L(l,{columns:F(f),data:F(g).data,"max-height":150},null,8,["columns","data"])])),_:1}),L(T,null,{header:D((()=>[L(F(N),{title:e.$t("Layout.Sider.security_2"),table:F(_)},null,8,["title","table"])])),default:D((()=>[L(l,{columns:F(y),data:F(_).data,"max-height":150},null,8,["columns","data"])])),_:1}),L(T,null,{header:D((()=>[L(F(N),{title:e.$t("WP.TableRow.index_5"),table:F(x)},null,8,["title","table"])])),default:D((()=>[L(l,{columns:F(v),data:F(x).data,"max-height":150},null,8,["columns","data"])])),_:1}),L(T,null,{header:D((()=>[L(F(N),{title:"Environment",showProblem:"",table:F(w),problemText:"PHP extension does not currently support backup"},null,8,["table"])])),default:D((()=>[L(l,{columns:F(S),data:F(w).data,"max-height":150},null,8,["columns","data"])])),_:1})])),_:1})])}}),[["__scopeId","data-v-32c8eff7"]]))}}})); diff --git a/BTPanel/static/vite/js/backup-info-oSTuIzgU.js b/BTPanel/static/vite/js/backup-info-oSTuIzgU.js deleted file mode 100644 index 5f5be259..00000000 --- a/BTPanel/static/vite/js/backup-info-oSTuIzgU.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as y}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{u as k,s as m,a as S,c as d,e as C,w as p,f as B,h as b,j as v,t as _,k as $,v as h,l as P,m as f,n as z,o as g,p as L,q as T,r as N,x,y as D}from"./utils-fCmtiQ1f.js?v=1773287522785";import{l as r,a3 as V,C as j,c as F}from"./index-BTglIPU2.js?v=1773287522785";import{k as c,c as I,a0 as e,$ as O,Z as q,a9 as a,S as t,ak as A}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a5 as E,k as H,aC as R,aD as U}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./useTableData-BmkIKQ_R.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const W=c({props:{table:{type:Object,required:!0}},setup(u){const l=I(()=>u.table.data.filter(i=>i.status===3).length);return()=>l.value===u.table.data.length&&l.value>0?e(r,{name:"base-error",class:"text-error",size:"16"},null):l.value>0?e(r,{name:"base-warning",class:"text-warning",size:"16"},null):e(r,{name:"base-success",class:"text-primary",size:"16"},null)}}),o=c({name:"BackupTopic",props:{title:{type:String,default:""},showProblem:{type:Boolean,default:!1},problemText:{type:String,default:""},showTotalSize:{type:Boolean,default:!1},table:{type:Object,default:()=>({data:[]})}},setup(u){const l=k();return{getDisplayText:()=>"(".concat(V.global.t("Security.Anti.Index_7")," ").concat(u.table.data.length).concat(u.showTotalSize?",".concat(j(u.table.data.reduce((n,s)=>n+Number(s.size||0),0))):"",")"),store:l}},render(){return e(H,{class:"items-center! p-10px",size:3},{default:()=>[e("span",{class:"website"},null),e("span",{class:"font-bold",style:{color:"var(--setting-back-create-collapse-title)"}},[this.title]),this.showProblem?e(E,{placement:"top-start"},{trigger:()=>e(r,{name:"base-problem",class:"text-16px"},null),default:()=>this.problemText}):"",e("span",null,[this.getDisplayText()]),this.store.showBackupStatus?e(W,{table:this.table},null):""]})}}),Z=c({__name:"backup-info",setup(u){return(l,i)=>{const n=y,s=R,w=U;return O(),q("div",null,[e(w,{"arrow-placement":"right",accordion:"",class:"w-full","display-directive":"show"},{default:a(()=>[e(s,null,{header:a(()=>[e(t(o),{title:l.$t("Layout.Sider.site_1"),showProblem:"",table:t(m),problemText:"Backing up a website will automatically back up Nginx configuration, SSL certificate, PHP configuration, redirection and reverse proxy, and other configurations related to the website except plugins.",showTotalSize:!0},null,8,["title","table"])]),default:a(()=>[e(n,{columns:t(S),data:t(m).data,"max-height":150},null,8,["columns","data"])]),_:1}),e(s,null,{header:a(()=>[e(t(o),{title:l.$t("Layout.Sider.database_1"),table:t(d),showTotalSize:!0},null,8,["title","table"])]),default:a(()=>[e(n,{columns:t(C),data:t(d).data,"max-height":150},null,8,["columns","data"])]),_:1}),e(s,null,{header:a(()=>[e(t(o),{title:l.$t("Layout.Sider.wp_3"),table:t(p),showTotalSize:!0},null,8,["title","table"])]),default:a(()=>[e(n,{columns:t(B),data:t(p).data,"max-height":150},null,8,["columns","data"])]),_:1}),e(s,null,{header:a(()=>[e(t(o),{title:"FTP",showProblem:"",table:t(b),problemText:"Only backup FTP account and password, not backup FTP directory"},null,8,["table"])]),default:a(()=>[e(n,{columns:t(v),data:t(b).data,"max-height":150},null,8,["columns","data"])]),_:1}),e(s,null,{header:a(()=>[e(t(o),{title:l.$t("Layout.Sider.crontab_1"),table:t(_)},null,8,["title","table"])]),default:a(()=>[e(n,{columns:t($),data:t(_).data,"max-height":150},null,8,["columns","data"])]),_:1}),A("",!0),e(s,null,{header:a(()=>[e(t(o),{title:l.$t("Layout.Sider.mail_1"),table:t(h)},null,8,["title","table"])]),default:a(()=>[e(n,{columns:t(P),data:t(h).data,"max-height":150},null,8,["columns","data"])]),_:1}),e(s,null,{header:a(()=>[e(t(o),{title:"SSL",table:t(f)},null,8,["table"])]),default:a(()=>[e(n,{columns:t(z),data:t(f).data,"max-height":150},null,8,["columns","data"])]),_:1}),e(s,null,{header:a(()=>[e(t(o),{title:l.$t("Layout.Sider.security_2"),table:t(g)},null,8,["title","table"])]),default:a(()=>[e(n,{columns:t(L),data:t(g).data,"max-height":150},null,8,["columns","data"])]),_:1}),e(s,null,{header:a(()=>[e(t(o),{title:l.$t("WP.TableRow.index_5"),table:t(T)},null,8,["title","table"])]),default:a(()=>[e(n,{columns:t(N),data:t(T).data,"max-height":150},null,8,["columns","data"])]),_:1}),e(s,null,{header:a(()=>[e(t(o),{title:"Environment",showProblem:"",table:t(x),problemText:"PHP extension does not currently support backup"},null,8,["table"])]),default:a(()=>[e(n,{columns:t(D),data:t(x).data,"max-height":150},null,8,["columns","data"])]),_:1})]),_:1})])}}}),ne=F(Z,[["__scopeId","data-v-32c8eff7"]]);export{ne as default}; diff --git a/BTPanel/static/vite/js/backup-success-Bblk74iD.js b/BTPanel/static/vite/js/backup-success-Bblk74iD.js new file mode 100644 index 00000000..10e13a13 --- /dev/null +++ b/BTPanel/static/vite/js/backup-success-Bblk74iD.js @@ -0,0 +1 @@ +import{_ as m}from"./index-Dd5dC2sI.js?v=1774508183068";import{l as b}from"./index-LQ-JIYiv.js?v=1774508183068";import{k,R as g,$ as u,Z as B,a0 as t,a9 as l,S as a,j as i,aa as _,a8 as x,_ as p,ak as C}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{ak as y,al as w,l as N}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const P={class:"p-16px"},L=k({__name:"backup-success",props:{data:{}},setup(V){const{t:e}=g();return(n,o)=>{const s=y,d=w,c=b,f=N,r=m;return u(),B("div",P,[t(d,{column:1,bordered:"","label-placement":"left","label-style":{width:"150px"}},{default:l(()=>[t(s,{label:n.data.type==="backup"?a(e)("Config.Backup.index_3"):a(e)("Config.Backup.index_93")},{default:l(()=>[i(_(n.data.backup_file_info.name),1)]),_:1},8,["label"]),t(s,{label:n.data.type==="backup"?a(e)("Config.Backup.index_70"):a(e)("Config.Backup.index_71")},{default:l(()=>[i(_(n.data.backup_file_info.end_time),1)]),_:1},8,["label"]),t(s,{label:n.data.type==="backup"?a(e)("Config.Backup.index_72"):a(e)("Config.Backup.index_73")},{default:l(()=>[i(_(n.data.backup_file_info.files_size),1)]),_:1},8,["label"]),t(s,{label:a(e)("Config.Backup.index_63")},{default:l(()=>[i(_(n.data.backup_file_info.backup_file_sha256),1)]),_:1},8,["label"]),t(s,{label:n.data.type==="backup"?a(e)("Config.Backup.index_76"):a(e)("Config.Backup.index_77")},{default:l(()=>[i(_(n.data.backup_file_info.time_count)+"s ",1)]),_:1},8,["label"]),t(s,{label:a(e)("Config.Backup.index_22")},{default:l(()=>[i(_(a(e)("Config.Backup.index_26")),1)]),_:1},8,["label"])]),_:1}),n.data.type==="restore"?(u(),x(r,{key:0,class:"my-16px"},{default:l(()=>[p("li",null,[t(f,{class:"flex-nowrap! items-center",size:3},{default:l(()=>[t(c,{name:"base-warning",class:"text-warning mr-4px",size:"16"}),o[0]||(o[0]=p("span",{class:"text-warning font-bold"},"Please check data integrity after the restore is complete",-1))]),_:1,__:[0]})]),o[1]||(o[1]=p("li",null," Restore details: Please view [ Logs ] - [ Restore Log ] ",-1)),o[2]||(o[2]=p("li",null," Some plug-ins, PHP extensions need to be installed manually ",-1))]),_:1,__:[1,2]})):C("",!0)])}}});export{L as default}; diff --git a/BTPanel/static/vite/js/backup-success-Nl3VMVXX.js b/BTPanel/static/vite/js/backup-success-Nl3VMVXX.js deleted file mode 100644 index 6416138a..00000000 --- a/BTPanel/static/vite/js/backup-success-Nl3VMVXX.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as m}from"./index-DIKmrNCq.js?v=1773287522785";import{l as b}from"./index-BTglIPU2.js?v=1773287522785";import{k,R as g,$ as u,Z as B,a0 as t,a9 as o,S as a,j as i,aa as _,a8 as x,_ as p,ak as C}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{aj as y,ak as w,k as N}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const P={class:"p-16px"},v=k({__name:"backup-success",props:{data:{}},setup(V){const{t:e}=g();return(n,l)=>{const s=y,d=w,c=b,f=N,r=m;return u(),B("div",P,[t(d,{column:1,bordered:"","label-placement":"left","label-style":{width:"150px"}},{default:o(()=>[t(s,{label:n.data.type==="backup"?a(e)("Config.Backup.index_3"):a(e)("Config.Backup.index_93")},{default:o(()=>[i(_(n.data.backup_file_info.name),1)]),_:1},8,["label"]),t(s,{label:n.data.type==="backup"?a(e)("Config.Backup.index_70"):a(e)("Config.Backup.index_71")},{default:o(()=>[i(_(n.data.backup_file_info.end_time),1)]),_:1},8,["label"]),t(s,{label:n.data.type==="backup"?a(e)("Config.Backup.index_72"):a(e)("Config.Backup.index_73")},{default:o(()=>[i(_(n.data.backup_file_info.files_size),1)]),_:1},8,["label"]),t(s,{label:a(e)("Config.Backup.index_63")},{default:o(()=>[i(_(n.data.backup_file_info.backup_file_sha256),1)]),_:1},8,["label"]),t(s,{label:n.data.type==="backup"?a(e)("Config.Backup.index_76"):a(e)("Config.Backup.index_77")},{default:o(()=>[i(_(n.data.backup_file_info.time_count)+"s ",1)]),_:1},8,["label"]),t(s,{label:a(e)("Config.Backup.index_22")},{default:o(()=>[i(_(a(e)("Config.Backup.index_26")),1)]),_:1},8,["label"])]),_:1}),n.data.type==="restore"?(u(),x(r,{key:0,class:"my-16px"},{default:o(()=>[p("li",null,[t(f,{class:"flex-nowrap! items-center",size:3},{default:o(()=>[t(c,{name:"base-warning",class:"text-warning mr-4px",size:"16"}),l[0]||(l[0]=p("span",{class:"text-warning font-bold"},"Please check data integrity after the restore is complete",-1))]),_:1,__:[0]})]),l[1]||(l[1]=p("li",null," Restore details: Please view [ Logs ] - [ Restore Log ] ",-1)),l[2]||(l[2]=p("li",null," Some plug-ins, PHP extensions need to be installed manually ",-1))]),_:1,__:[1,2]})):C("",!0)])}}});export{v as default}; diff --git a/BTPanel/static/vite/js/backup-success-legacy-EYBN6I8r.js b/BTPanel/static/vite/js/backup-success-legacy-EYBN6I8r.js deleted file mode 100644 index c32b33b8..00000000 --- a/BTPanel/static/vite/js/backup-success-legacy-EYBN6I8r.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,a){"use strict";var l,t,n,i,s,u,c,d,_,p,f,o,r,b,k,g,x;return{setters:[e=>{l=e._},e=>{t=e.l},e=>{n=e.k,i=e.R,s=e.$,u=e.Z,c=e.a0,d=e.a9,_=e.S,p=e.j,f=e.aa,o=e.a8,r=e._,b=e.ak},e=>{k=e.aj,g=e.ak,x=e.k},null],execute:function(){const a={class:"p-16px"};e("default",n({__name:"backup-success",props:{data:{}},setup(e){const{t:n}=i();return(e,i)=>{const y=k,m=g,B=t,C=x,j=l;return s(),u("div",a,[c(m,{column:1,bordered:"","label-placement":"left","label-style":{width:"150px"}},{default:d((()=>[c(y,{label:"backup"===e.data.type?_(n)("Config.Backup.index_3"):_(n)("Config.Backup.index_93")},{default:d((()=>[p(f(e.data.backup_file_info.name),1)])),_:1},8,["label"]),c(y,{label:"backup"===e.data.type?_(n)("Config.Backup.index_70"):_(n)("Config.Backup.index_71")},{default:d((()=>[p(f(e.data.backup_file_info.end_time),1)])),_:1},8,["label"]),c(y,{label:"backup"===e.data.type?_(n)("Config.Backup.index_72"):_(n)("Config.Backup.index_73")},{default:d((()=>[p(f(e.data.backup_file_info.files_size),1)])),_:1},8,["label"]),c(y,{label:_(n)("Config.Backup.index_63")},{default:d((()=>[p(f(e.data.backup_file_info.backup_file_sha256),1)])),_:1},8,["label"]),c(y,{label:"backup"===e.data.type?_(n)("Config.Backup.index_76"):_(n)("Config.Backup.index_77")},{default:d((()=>[p(f(e.data.backup_file_info.time_count)+"s ",1)])),_:1},8,["label"]),c(y,{label:_(n)("Config.Backup.index_22")},{default:d((()=>[p(f(_(n)("Config.Backup.index_26")),1)])),_:1},8,["label"])])),_:1}),"restore"===e.data.type?(s(),o(j,{key:0,class:"my-16px"},{default:d((()=>[r("li",null,[c(C,{class:"flex-nowrap! items-center",size:3},{default:d((()=>[c(B,{name:"base-warning",class:"text-warning mr-4px",size:"16"}),i[0]||(i[0]=r("span",{class:"text-warning font-bold"},"Please check data integrity after the restore is complete",-1))])),_:1,__:[0]})]),i[1]||(i[1]=r("li",null," Restore details: Please view [ Logs ] - [ Restore Log ] ",-1)),i[2]||(i[2]=r("li",null," Some plug-ins, PHP extensions need to be installed manually ",-1))])),_:1,__:[1,2]})):b("",!0)])}}}))}}})); diff --git a/BTPanel/static/vite/js/backup-success-legacy-YdA1ynWh.js b/BTPanel/static/vite/js/backup-success-legacy-YdA1ynWh.js new file mode 100644 index 00000000..31a45d4c --- /dev/null +++ b/BTPanel/static/vite/js/backup-success-legacy-YdA1ynWh.js @@ -0,0 +1 @@ +System.register(["./index-legacy-DOsTWPyk.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,a){"use strict";var l,t,n,i,s,u,c,d,_,p,f,o,r,b,k,g,x;return{setters:[e=>{l=e._},e=>{t=e.l},e=>{n=e.k,i=e.R,s=e.$,u=e.Z,c=e.a0,d=e.a9,_=e.S,p=e.j,f=e.aa,o=e.a8,r=e._,b=e.ak},e=>{k=e.ak,g=e.al,x=e.l},null],execute:function(){const a={class:"p-16px"};e("default",n({__name:"backup-success",props:{data:{}},setup(e){const{t:n}=i();return(e,i)=>{const y=k,m=g,B=t,C=x,j=l;return s(),u("div",a,[c(m,{column:1,bordered:"","label-placement":"left","label-style":{width:"150px"}},{default:d((()=>[c(y,{label:"backup"===e.data.type?_(n)("Config.Backup.index_3"):_(n)("Config.Backup.index_93")},{default:d((()=>[p(f(e.data.backup_file_info.name),1)])),_:1},8,["label"]),c(y,{label:"backup"===e.data.type?_(n)("Config.Backup.index_70"):_(n)("Config.Backup.index_71")},{default:d((()=>[p(f(e.data.backup_file_info.end_time),1)])),_:1},8,["label"]),c(y,{label:"backup"===e.data.type?_(n)("Config.Backup.index_72"):_(n)("Config.Backup.index_73")},{default:d((()=>[p(f(e.data.backup_file_info.files_size),1)])),_:1},8,["label"]),c(y,{label:_(n)("Config.Backup.index_63")},{default:d((()=>[p(f(e.data.backup_file_info.backup_file_sha256),1)])),_:1},8,["label"]),c(y,{label:"backup"===e.data.type?_(n)("Config.Backup.index_76"):_(n)("Config.Backup.index_77")},{default:d((()=>[p(f(e.data.backup_file_info.time_count)+"s ",1)])),_:1},8,["label"]),c(y,{label:_(n)("Config.Backup.index_22")},{default:d((()=>[p(f(_(n)("Config.Backup.index_26")),1)])),_:1},8,["label"])])),_:1}),"restore"===e.data.type?(s(),o(j,{key:0,class:"my-16px"},{default:d((()=>[r("li",null,[c(C,{class:"flex-nowrap! items-center",size:3},{default:d((()=>[c(B,{name:"base-warning",class:"text-warning mr-4px",size:"16"}),i[0]||(i[0]=r("span",{class:"text-warning font-bold"},"Please check data integrity after the restore is complete",-1))])),_:1,__:[0]})]),i[1]||(i[1]=r("li",null," Restore details: Please view [ Logs ] - [ Restore Log ] ",-1)),i[2]||(i[2]=r("li",null," Some plug-ins, PHP extensions need to be installed manually ",-1))])),_:1,__:[1,2]})):b("",!0)])}}}))}}})); diff --git a/BTPanel/static/vite/js/batch-BE7Wp5lQ.js b/BTPanel/static/vite/js/batch-BE7Wp5lQ.js deleted file mode 100644 index 224f8a52..00000000 --- a/BTPanel/static/vite/js/batch-BE7Wp5lQ.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as S}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{n as b,m as x}from"./index-BTglIPU2.js?v=1773287522785";import{u as j}from"./useLoading-CZ2gSAW7.js?v=1773287522785";import{$ as k,a0 as C}from"./index.vue_vue_type_script_setup_true_lang-D182bQZ0.js?v=1773287522785";import{k as L,R as $,r as p,$ as B,Z as H,a0 as a,a9 as m,_ as N,S as n,X as R}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as T,a6 as E}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./useTableColumns-DDeyYvje.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index-DIKmrNCq.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";import"./useTableData-BmkIKQ_R.js?v=1773287522785";const O={class:"p-20px"},V={class:"w-150px"},ee=L({__name:"batch",props:{data:{}},setup(_,{expose:c}){const u=_,{t:i}=$(),{siteType:r,ids:d,onRefresh:f}=u.data,t=p(null),s=p([]),{loading:g,setLoading:l}=j();(async()=>{try{l(!0);const{message:e}=await k({project_type:r});b(e)&&e.length>0?(s.value=e.map(o=>({label:o.name,value:o.id})),t.value=e[0].id):(t.value=null,s.value=[])}finally{l(!1)}})();const v=()=>{if(t.value===null)throw x.error(i("Site.PHP.add_site_46")),new Error(i("Site.PHP.add_site_46"));return{id:t.value,site_ids:JSON.stringify(d),project_type:r}};return c({onConfirm:async({hide:e})=>{await C(v()),f(),e()}}),(e,o)=>{const y=E,P=T,h=S;return B(),H("div",O,[a(h,null,{default:m(()=>[a(P,{label:e.$t("Site.PHP.add_site_22"),"show-feedback":!1},{default:m(()=>[N("div",V,[a(y,{value:n(t),"onUpdate:value":o[0]||(o[0]=w=>R(t)?t.value=w:null),loading:n(g),options:n(s)},null,8,["value","loading","options"])])]),_:1},8,["label"])]),_:1})])}}});export{ee as default}; diff --git a/BTPanel/static/vite/js/batch-Bb_CL-3B.js b/BTPanel/static/vite/js/batch-Bb_CL-3B.js new file mode 100644 index 00000000..0dfae9d9 --- /dev/null +++ b/BTPanel/static/vite/js/batch-Bb_CL-3B.js @@ -0,0 +1 @@ +import{_ as w}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{n as x,m as h}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as L}from"./useLoading-BRu-BHcC.js?v=1774508183068";import{u as k}from"./index-eoi-RqNz.js?v=1774508183068";import{g as P,p as B}from"./planned-Ji7lnoiD.js?v=1774508183068";import{k as N,R,r as i,$ as S,Z as $,a0 as t,a9 as c,_ as E,S as s,X as O}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a1 as V,a6 as A}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const I={class:"p-20px"},J={class:"w-150px"},K=N({__name:"batch",props:{data:{}},setup(m,{expose:u}){const{t:r}=R(),_=m,{rows:p}=_.data,d=k(),a=i(null),n=i([]),{loading:f,setLoading:l}=L();(async()=>{try{l(!0);const{message:e}=await P();x(e)&&e.length>0?(n.value=e.map(o=>({label:o.name,value:o.id})),a.value=e[0].id):(a.value=null,n.value=[])}finally{l(!1)}})();const g=()=>{if(a.value===null)throw h.error(r("Crontab.Planned.index_28")),new Error(r("Crontab.Planned.index_28"));return{id:a.value,crontab_ids:JSON.stringify(p.map(e=>e.id))}};return u({onConfirm:async({hide:e})=>{await B(g()),d.setRefresh(!0),e()}}),(e,o)=>{const v=A,b=V,y=w;return S(),$("div",I,[t(y,null,{default:c(()=>[t(b,{label:e.$t("Crontab.Planned.index_27"),"show-feedback":!1},{default:c(()=>[E("div",J,[t(v,{value:s(a),"onUpdate:value":o[0]||(o[0]=C=>O(a)?a.value=C:null),loading:s(f),options:s(n)},null,8,["value","loading","options"])])]),_:1},8,["label"])]),_:1})])}}});export{K as default}; diff --git a/BTPanel/static/vite/js/batch-BsWXeQck.js b/BTPanel/static/vite/js/batch-BsWXeQck.js deleted file mode 100644 index b039adb9..00000000 --- a/BTPanel/static/vite/js/batch-BsWXeQck.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as w}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{u as b}from"./index-CNMkGSax.js?v=1773287522785";import{cO as C,n as S,hv as x,m as L}from"./index-BTglIPU2.js?v=1773287522785";import{u as k}from"./useLoading-CZ2gSAW7.js?v=1773287522785";import{k as B,R as H,r as l,$ as R,Z as $,a0 as o,a9 as _,_ as E,S as n,X as N}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as O,a6 as V}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const A={class:"p-20px"},I={class:"w-150px"},J=B({__name:"batch",props:{data:{}},setup(c,{expose:u}){const m=c,{t:r}=H(),{rows:p}=m.data,d=b(),t=l(null),a=l([]),{loading:f,setLoading:i}=k();(async()=>{try{i(!0);const{message:e}=await C();S(e)&&e.length>0?(a.value=e.map(s=>({label:s.name,value:s.id})),t.value=e[0].id):(t.value=null,a.value=[])}finally{i(!1)}})();const g=()=>{if(t.value===null)throw L.error(r("Site.PHP.add_site_46")),new Error(r("Site.PHP.add_site_46"));return{id:t.value,site_ids:p.map(e=>e.id)}};return u({onConfirm:async({hide:e})=>{await x(g()),d.setRefresh(!0),e()}}),(e,s)=>{const v=V,h=O,y=w;return R(),$("div",A,[o(y,null,{default:_(()=>[o(h,{label:e.$t("Site.PHP.add_site_22"),"show-feedback":!1},{default:_(()=>[E("div",I,[o(v,{value:n(t),"onUpdate:value":s[0]||(s[0]=P=>N(t)?t.value=P:null),loading:n(f),options:n(a)},null,8,["value","loading","options"])])]),_:1},8,["label"])]),_:1})])}}});export{J as default}; diff --git a/BTPanel/static/vite/js/batch-CTywvcjO.js b/BTPanel/static/vite/js/batch-CTywvcjO.js deleted file mode 100644 index 57328be5..00000000 --- a/BTPanel/static/vite/js/batch-CTywvcjO.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as N}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{m as b}from"./index-BTglIPU2.js?v=1773287522785";import{s as h}from"./index-B1UAKxq5.js?v=1773287522785";import{u as w}from"./index-CpV61Xte.js?v=1773287522785";import{k as x,R as C,c as k,r as S,$ as B,Z as O,a0 as e,a9 as n,_ as R,S as i,X as $}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as J,a6 as P}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DgjjuUjT.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-B7YvCBmY.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-C5hb-Th7.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-HxsqzSKU.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-D2Bk83Ev.js?v=1773287522785";import"./useTableData-BmkIKQ_R.js?v=1773287522785";import"./useLoading-CZ2gSAW7.js?v=1773287522785";import"./useTableColumns-DDeyYvje.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index-DIKmrNCq.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";import"./index-BGYvyLDv.js?v=1773287522785";import"./index-DhzSj-2g.js?v=1773287522785";import"./xterm-dpUsuiNl.js?v=1773287522785";import"./useSocket-DTHwGZgK.js?v=1773287522785";import"./xterm-addon-canvas-DELv9KNm.js?v=1773287522785";const V={class:"p-20px"},E={class:"w-150px"},po=x({__name:"batch",props:{data:{}},setup(m,{expose:p}){const c=m,{categoryList:l}=w(),{t:_}=C(),{rows:r,onRefresh:u}=c.data,s=k(()=>l.filter(o=>o.value!=="")),t=S(s.value[0].value),f=()=>({category_id:t.value,ids:JSON.stringify(r.map(o=>o.id)),node_list:JSON.stringify(r.map(o=>({id:o.id})))});return p({onConfirm:async()=>{if(!t.value){b.error(_("Please select category"));return}await h(f()),u()}}),(o,a)=>{const d=P,g=J,v=N;return B(),O("div",V,[e(v,null,{default:n(()=>[e(g,{label:o.$t("Node category"),"show-feedback":!1},{default:n(()=>[R("div",E,[e(d,{value:i(t),"onUpdate:value":a[0]||(a[0]=y=>$(t)?t.value=y:null),options:i(s)},null,8,["value","options"])])]),_:1},8,["label"])]),_:1})])}}});export{po as default}; diff --git a/BTPanel/static/vite/js/batch-Ci8No6gV.js b/BTPanel/static/vite/js/batch-Ci8No6gV.js new file mode 100644 index 00000000..bf8d20d2 --- /dev/null +++ b/BTPanel/static/vite/js/batch-Ci8No6gV.js @@ -0,0 +1 @@ +import{_ as w}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{u as b}from"./index-h5k6IKTt.js?v=1774508183068";import{c_ as C,n as S,hO as x,m as L}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as k}from"./useLoading-BRu-BHcC.js?v=1774508183068";import{k as B,R as H,r as l,$ as R,Z as $,a0 as o,a9 as _,_ as E,S as n,X as N}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a1 as O,a6 as V}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const A={class:"p-20px"},I={class:"w-150px"},J=B({__name:"batch",props:{data:{}},setup(c,{expose:u}){const m=c,{t:r}=H(),{rows:p}=m.data,d=b(),t=l(null),a=l([]),{loading:f,setLoading:i}=k();(async()=>{try{i(!0);const{message:e}=await C();S(e)&&e.length>0?(a.value=e.map(s=>({label:s.name,value:s.id})),t.value=e[0].id):(t.value=null,a.value=[])}finally{i(!1)}})();const g=()=>{if(t.value===null)throw L.error(r("Site.PHP.add_site_46")),new Error(r("Site.PHP.add_site_46"));return{id:t.value,site_ids:p.map(e=>e.id)}};return u({onConfirm:async({hide:e})=>{await x(g()),d.setRefresh(!0),e()}}),(e,s)=>{const v=V,h=O,y=w;return R(),$("div",A,[o(y,null,{default:_(()=>[o(h,{label:e.$t("Site.PHP.add_site_22"),"show-feedback":!1},{default:_(()=>[E("div",I,[o(v,{value:n(t),"onUpdate:value":s[0]||(s[0]=P=>N(t)?t.value=P:null),loading:n(f),options:n(a)},null,8,["value","loading","options"])])]),_:1},8,["label"])]),_:1})])}}});export{J as default}; diff --git a/BTPanel/static/vite/js/batch-D5cEGSud.js b/BTPanel/static/vite/js/batch-D5cEGSud.js new file mode 100644 index 00000000..19e87548 --- /dev/null +++ b/BTPanel/static/vite/js/batch-D5cEGSud.js @@ -0,0 +1 @@ +import{_ as S}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{n as b,m as x}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as j}from"./useLoading-BRu-BHcC.js?v=1774508183068";import{Z as k,$ as C}from"./index.vue_vue_type_script_setup_true_lang-BL1b6m9I.js?v=1774508183068";import{k as L,R as $,r as p,$ as B,Z as H,a0 as a,a9 as m,_ as N,S as n,X as R}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a1 as T,a6 as E}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./useTableColumns-BpMo4f8r.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";import"./index-Dd5dC2sI.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";import"./useTableData-D5IECpFr.js?v=1774508183068";const O={class:"p-20px"},V={class:"w-150px"},ee=L({__name:"batch",props:{data:{}},setup(_,{expose:c}){const u=_,{t:i}=$(),{siteType:r,ids:d,onRefresh:f}=u.data,t=p(null),s=p([]),{loading:g,setLoading:l}=j();(async()=>{try{l(!0);const{message:e}=await k({project_type:r});b(e)&&e.length>0?(s.value=e.map(o=>({label:o.name,value:o.id})),t.value=e[0].id):(t.value=null,s.value=[])}finally{l(!1)}})();const v=()=>{if(t.value===null)throw x.error(i("Site.PHP.add_site_46")),new Error(i("Site.PHP.add_site_46"));return{id:t.value,site_ids:JSON.stringify(d),project_type:r}};return c({onConfirm:async({hide:e})=>{await C(v()),f(),e()}}),(e,o)=>{const y=E,P=T,h=S;return B(),H("div",O,[a(h,null,{default:m(()=>[a(P,{label:e.$t("Site.PHP.add_site_22"),"show-feedback":!1},{default:m(()=>[N("div",V,[a(y,{value:n(t),"onUpdate:value":o[0]||(o[0]=w=>R(t)?t.value=w:null),loading:n(g),options:n(s)},null,8,["value","loading","options"])])]),_:1},8,["label"])]),_:1})])}}});export{ee as default}; diff --git a/BTPanel/static/vite/js/batch-DemuDsXX.js b/BTPanel/static/vite/js/batch-DemuDsXX.js deleted file mode 100644 index b7872d84..00000000 --- a/BTPanel/static/vite/js/batch-DemuDsXX.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as w}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{n as x,m as h}from"./index-BTglIPU2.js?v=1773287522785";import{u as L}from"./useLoading-CZ2gSAW7.js?v=1773287522785";import{u as k}from"./index-Cg6fMjw6.js?v=1773287522785";import{g as P,p as B}from"./planned-URJGV2nd.js?v=1773287522785";import{k as N,R,r as i,$ as S,Z as $,a0 as t,a9 as c,_ as E,S as s,X as O}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as V,a6 as A}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const I={class:"p-20px"},J={class:"w-150px"},K=N({__name:"batch",props:{data:{}},setup(m,{expose:u}){const{t:r}=R(),_=m,{rows:p}=_.data,d=k(),a=i(null),n=i([]),{loading:f,setLoading:l}=L();(async()=>{try{l(!0);const{message:e}=await P();x(e)&&e.length>0?(n.value=e.map(o=>({label:o.name,value:o.id})),a.value=e[0].id):(a.value=null,n.value=[])}finally{l(!1)}})();const g=()=>{if(a.value===null)throw h.error(r("Crontab.Planned.index_28")),new Error(r("Crontab.Planned.index_28"));return{id:a.value,crontab_ids:JSON.stringify(p.map(e=>e.id))}};return u({onConfirm:async({hide:e})=>{await B(g()),d.setRefresh(!0),e()}}),(e,o)=>{const v=A,b=V,y=w;return S(),$("div",I,[t(y,null,{default:c(()=>[t(b,{label:e.$t("Crontab.Planned.index_27"),"show-feedback":!1},{default:c(()=>[E("div",J,[t(v,{value:s(a),"onUpdate:value":o[0]||(o[0]=C=>O(a)?a.value=C:null),loading:s(f),options:s(n)},null,8,["value","loading","options"])])]),_:1},8,["label"])]),_:1})])}}});export{K as default}; diff --git a/BTPanel/static/vite/js/batch-DnBnrflO.js b/BTPanel/static/vite/js/batch-DnBnrflO.js new file mode 100644 index 00000000..fd7541e2 --- /dev/null +++ b/BTPanel/static/vite/js/batch-DnBnrflO.js @@ -0,0 +1 @@ +import{_ as C}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{_ as M}from"./index.vue_vue_type_script_setup_true_lang-BoIESXxv.js?v=1774508183068";import{_ as U}from"./index.vue_vue_type_script_setup_true_lang-DGtvmPkg.js?v=1774508183068";import{al as h}from"./mail-pyJe593e.js?v=1774508183068";import{k as y,R as G,r as P,e as N,$ as _,a8 as p,a9 as s,a0 as n,S as o,_ as R,ak as V}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a1 as S,b as I,_ as O,a8 as Q,a6 as j}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./index-DNLtPhsU.js?v=1774508183068";import"./index-LQ-JIYiv.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./useLoading-BRu-BHcC.js?v=1774508183068";const z={class:"w-100px ml-10px"},Y=y({__name:"batch",props:{data:{}},setup(d,{expose:f}){const c=d,{getList:r}=c.data,{t:v}=G(),i=P(null),a=N({domain:"",password:"",random_str:"",maxnum:20,quota:5,quota_unit:"GB",quota_limit:1}),b=[{label:"GB",value:"GB"},{label:"MB",value:"MB"}],w={password:{required:!0,trigger:"blur",message:v("Config.Panel.index_67")}},q=()=>({domain:a.domain,password:a.password,random_str:a.random_str,maxnum:a.maxnum||20,quota:a.quota?a.quota+" "+a.quota_unit:"5 GB",quota_active:a.quota_limit});return f({onConfirm:async()=>{var l;await((l=i.value)==null?void 0:l.validate()),await h(q()),r==null||r()}}),(l,e)=>{const u=S,x=M,g=I,m=O,B=Q,$=j,k=C;return _(),p(k,{ref_key:"formRef",ref:i,model:o(a),rules:w,class:"p-20px"},{default:s(()=>[n(u,{label:l.$t("Layout.Sider.mail_3"),"show-require-mark":!0},{default:s(()=>[n(U,{class:"w-280px",value:o(a).domain,"onUpdate:value":e[0]||(e[0]=t=>o(a).domain=t),all:!1},null,8,["value"])]),_:1},8,["label"]),n(u,{label:l.$t("Config.Panel.index_66"),path:"password","show-require-mark":!0},{default:s(()=>[n(x,{class:"w-280px",value:o(a).password,"onUpdate:value":e[1]||(e[1]=t=>o(a).password=t),length:8,placeholder:l.$t("Config.Panel.index_67")},null,8,["value","placeholder"])]),_:1},8,["label"]),n(u,{label:l.$t("Mail.MailBox.index_32")},{default:s(()=>[n(g,{class:"w-280px!",value:o(a).random_str,"onUpdate:value":e[2]||(e[2]=t=>o(a).random_str=t),placeholder:""},null,8,["value"])]),_:1},8,["label"]),n(u,{label:l.$t("Mail.MailBox.index_33")},{default:s(()=>[n(m,{class:"w-280px!",min:1,"show-button":!1,value:o(a).maxnum,"onUpdate:value":e[3]||(e[3]=t=>o(a).maxnum=t)},null,8,["value"])]),_:1},8,["label"]),n(u,{label:"Quota limit"},{default:s(()=>[n(B,{"checked-value":1,"unchecked-value":0,value:o(a).quota_limit,"onUpdate:value":e[4]||(e[4]=t=>o(a).quota_limit=t)},null,8,["value"])]),_:1}),o(a).quota_limit?(_(),p(u,{key:0,label:l.$t("Mail.MailBox.index_3"),path:"quota"},{default:s(()=>[n(m,{value:o(a).quota,"onUpdate:value":e[5]||(e[5]=t=>o(a).quota=t),class:"w-170px",min:1,"show-button":!1,placeholder:""},null,8,["value"]),R("div",z,[n($,{value:o(a).quota_unit,"onUpdate:value":e[6]||(e[6]=t=>o(a).quota_unit=t),options:b},null,8,["value"])])]),_:1},8,["label"])):V("",!0)]),_:1},8,["model"])}}});export{Y as default}; diff --git a/BTPanel/static/vite/js/batch-DuVhQhi3.js b/BTPanel/static/vite/js/batch-DuVhQhi3.js new file mode 100644 index 00000000..c303141e --- /dev/null +++ b/BTPanel/static/vite/js/batch-DuVhQhi3.js @@ -0,0 +1 @@ +import{_ as N}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{m as b}from"./index-LQ-JIYiv.js?v=1774508183068";import{s as h}from"./index-R3ultkZQ.js?v=1774508183068";import{u as w}from"./index-XTb5E0D1.js?v=1774508183068";import{k as x,R as C,c as k,r as S,$ as B,Z as O,a0 as e,a9 as n,_ as R,S as i,X as $}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a1 as J,a6 as P}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-C6hImLDm.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CXJGqQPN.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-ClVUo_Yi.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-BKGpz_y5.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-DfO7qrru.js?v=1774508183068";import"./useTableData-D5IECpFr.js?v=1774508183068";import"./useLoading-BRu-BHcC.js?v=1774508183068";import"./useTableColumns-BpMo4f8r.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";import"./index-Dd5dC2sI.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";import"./index-mN8-RSj4.js?v=1774508183068";import"./index-CSfqhmlg.js?v=1774508183068";import"./xterm-dpUsuiNl.js?v=1774508183068";import"./useSocket-Cx34hjKD.js?v=1774508183068";import"./xterm-addon-canvas-DELv9KNm.js?v=1774508183068";const V={class:"p-20px"},E={class:"w-150px"},po=x({__name:"batch",props:{data:{}},setup(m,{expose:p}){const c=m,{categoryList:l}=w(),{t:_}=C(),{rows:r,onRefresh:u}=c.data,s=k(()=>l.filter(o=>o.value!=="")),t=S(s.value[0].value),f=()=>({category_id:t.value,ids:JSON.stringify(r.map(o=>o.id)),node_list:JSON.stringify(r.map(o=>({id:o.id})))});return p({onConfirm:async()=>{if(!t.value){b.error(_("Please select category"));return}await h(f()),u()}}),(o,a)=>{const d=P,g=J,v=N;return B(),O("div",V,[e(v,null,{default:n(()=>[e(g,{label:o.$t("Node category"),"show-feedback":!1},{default:n(()=>[R("div",E,[e(d,{value:i(t),"onUpdate:value":a[0]||(a[0]=y=>$(t)?t.value=y:null),options:i(s)},null,8,["value","options"])])]),_:1},8,["label"])]),_:1})])}}});export{po as default}; diff --git a/BTPanel/static/vite/js/batch-legacy-B1VgbGuQ.js b/BTPanel/static/vite/js/batch-legacy-B1VgbGuQ.js new file mode 100644 index 00000000..8822eac4 --- /dev/null +++ b/BTPanel/static/vite/js/batch-legacy-B1VgbGuQ.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wRQWp8QB.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-Dia9lBph.js?v=1774508183068","./mail-legacy-BeF8y3SE.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./index-legacy-DeJhqVUA.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./useLoading-legacy-BYj3sJTe.js?v=1774508183068"],(function(a,e){"use strict";var l,u,t,n,o,s,i,r,d,_,p,m,c,v,x,g,q,b,w,f;return{setters:[a=>{l=a._},a=>{u=a._},a=>{t=a._},a=>{n=a.al},a=>{o=a.k,s=a.R,i=a.r,r=a.e,d=a.$,_=a.a8,p=a.a9,m=a.a0,c=a.S,v=a._,x=a.ak},a=>{g=a.a1,q=a.b,b=a._,w=a.a8,f=a.a6},null,null,null,null],execute:function(){const e={class:"w-100px ml-10px"};a("default",o({__name:"batch",props:{data:{}},setup(a,{expose:o}){const y=a,{getList:h}=y.data,{t:j}=s(),B=i(null),k=r({domain:"",password:"",random_str:"",maxnum:20,quota:5,quota_unit:"GB",quota_limit:1}),M=[{label:"GB",value:"GB"},{label:"MB",value:"MB"}],$={password:{required:!0,trigger:"blur",message:j("Config.Panel.index_67")}};return o({onConfirm:async()=>{await(B.value?.validate()),await n({domain:k.domain,password:k.password,random_str:k.random_str,maxnum:k.maxnum||20,quota:k.quota?k.quota+" "+k.quota_unit:"5 GB",quota_active:k.quota_limit}),h?.()}}),(a,n)=>{const o=g,s=u,i=q,r=b,y=w,h=f,j=l;return d(),_(j,{ref_key:"formRef",ref:B,model:c(k),rules:$,class:"p-20px"},{default:p((()=>[m(o,{label:a.$t("Layout.Sider.mail_3"),"show-require-mark":!0},{default:p((()=>[m(t,{class:"w-280px",value:c(k).domain,"onUpdate:value":n[0]||(n[0]=a=>c(k).domain=a),all:!1},null,8,["value"])])),_:1},8,["label"]),m(o,{label:a.$t("Config.Panel.index_66"),path:"password","show-require-mark":!0},{default:p((()=>[m(s,{class:"w-280px",value:c(k).password,"onUpdate:value":n[1]||(n[1]=a=>c(k).password=a),length:8,placeholder:a.$t("Config.Panel.index_67")},null,8,["value","placeholder"])])),_:1},8,["label"]),m(o,{label:a.$t("Mail.MailBox.index_32")},{default:p((()=>[m(i,{class:"w-280px!",value:c(k).random_str,"onUpdate:value":n[2]||(n[2]=a=>c(k).random_str=a),placeholder:""},null,8,["value"])])),_:1},8,["label"]),m(o,{label:a.$t("Mail.MailBox.index_33")},{default:p((()=>[m(r,{class:"w-280px!",min:1,"show-button":!1,value:c(k).maxnum,"onUpdate:value":n[3]||(n[3]=a=>c(k).maxnum=a)},null,8,["value"])])),_:1},8,["label"]),m(o,{label:"Quota limit"},{default:p((()=>[m(y,{"checked-value":1,"unchecked-value":0,value:c(k).quota_limit,"onUpdate:value":n[4]||(n[4]=a=>c(k).quota_limit=a)},null,8,["value"])])),_:1}),c(k).quota_limit?(d(),_(o,{key:0,label:a.$t("Mail.MailBox.index_3"),path:"quota"},{default:p((()=>[m(r,{value:c(k).quota,"onUpdate:value":n[5]||(n[5]=a=>c(k).quota=a),class:"w-170px",min:1,"show-button":!1,placeholder:""},null,8,["value"]),v("div",e,[m(h,{value:c(k).quota_unit,"onUpdate:value":n[6]||(n[6]=a=>c(k).quota_unit=a),options:M},null,8,["value"])])])),_:1},8,["label"])):x("",!0)])),_:1},8,["model"])}}}))}}})); diff --git a/BTPanel/static/vite/js/batch-legacy-BWEqZza1.js b/BTPanel/static/vite/js/batch-legacy-BWEqZza1.js deleted file mode 100644 index d4421124..00000000 --- a/BTPanel/static/vite/js/batch-legacy-BWEqZza1.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785","./planned-legacy-mbzS1A_i.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,a){"use strict";var n,l,t,s,u,i,r,d,o,c,g,p,v,_,y,f,j,x,b;return{setters:[e=>{n=e._},e=>{l=e.n,t=e.m},e=>{s=e.u},e=>{u=e.u},e=>{i=e.g,r=e.p},e=>{d=e.k,o=e.R,c=e.r,g=e.$,p=e.Z,v=e.a0,_=e.a9,y=e._,f=e.S,j=e.X},e=>{x=e.a1,b=e.a6},null],execute:function(){const a={class:"p-20px"},m={class:"w-150px"};e("default",d({__name:"batch",props:{data:{}},setup(e,{expose:d}){const{t:w}=o(),h=e,{rows:C}=h.data,P=u(),S=c(null),k=c([]),{loading:L,setLoading:R}=s();return(async()=>{try{R(!0);const{message:e}=await i();l(e)&&e.length>0?(k.value=e.map((e=>({label:e.name,value:e.id}))),S.value=e[0].id):(S.value=null,k.value=[])}finally{R(!1)}})(),d({onConfirm:async({hide:e})=>{await r((()=>{if(null===S.value)throw t.error(w("Crontab.Planned.index_28")),new Error(w("Crontab.Planned.index_28"));return{id:S.value,crontab_ids:JSON.stringify(C.map((e=>e.id)))}})()),P.setRefresh(!0),e()}}),(e,l)=>{const t=b,s=x,u=n;return g(),p("div",a,[v(u,null,{default:_((()=>[v(s,{label:e.$t("Crontab.Planned.index_27"),"show-feedback":!1},{default:_((()=>[y("div",m,[v(t,{value:f(S),"onUpdate:value":l[0]||(l[0]=e=>j(S)?S.value=e:null),loading:f(L),options:f(k)},null,8,["value","loading","options"])])])),_:1},8,["label"])])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/batch-legacy-BudMn7sX.js b/BTPanel/static/vite/js/batch-legacy-BudMn7sX.js deleted file mode 100644 index d297dc44..00000000 --- a/BTPanel/static/vite/js/batch-legacy-BudMn7sX.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./index-legacy-BnJH7FKb.js?v=1773287522785","./index-legacy-dkzzOknK.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BWPgT9-g.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BQ2Kqzbl.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BBkGleHZ.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BtQUnlS_.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-CvnE2rtV.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785","./index-legacy-sO5zj2jA.js?v=1773287522785","./index-legacy-B7pUp0d3.js?v=1773287522785","./xterm-legacy-UzqSqzXt.js?v=1773287522785","./useSocket-legacy-D9BDJ2id.js?v=1773287522785","./xterm-addon-canvas-legacy-Tys2uZOF.js?v=1773287522785"],(function(e,l){"use strict";var a,u,s,t,n,c,_,i,r,y,g,p,d,v,o,j,x;return{setters:[e=>{a=e._},e=>{u=e.m},e=>{s=e.s},e=>{t=e.u},e=>{n=e.k,c=e.R,_=e.c,i=e.r,r=e.$,y=e.Z,g=e.a0,p=e.a9,d=e._,v=e.S,o=e.X},e=>{j=e.a1,x=e.a6},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const l={class:"p-20px"},f={class:"w-150px"};e("default",n({__name:"batch",props:{data:{}},setup(e,{expose:n}){const m=e,{categoryList:b}=t(),{t:w}=c(),{rows:S,onRefresh:h}=m.data,k=_((()=>b.filter((e=>""!==e.value)))),N=i(k.value[0].value);return n({onConfirm:async()=>{N.value?(await s({category_id:N.value,ids:JSON.stringify(S.map((e=>e.id))),node_list:JSON.stringify(S.map((e=>({id:e.id}))))}),h()):u.error(w("Please select category"))}}),(e,u)=>{const s=x,t=j,n=a;return r(),y("div",l,[g(n,null,{default:p((()=>[g(t,{label:e.$t("Node category"),"show-feedback":!1},{default:p((()=>[d("div",f,[g(s,{value:v(N),"onUpdate:value":u[0]||(u[0]=e=>o(N)?N.value=e:null),options:v(k)},null,8,["value","options"])])])),_:1},8,["label"])])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/batch-legacy-C2TV8-Kg.js b/BTPanel/static/vite/js/batch-legacy-C2TV8-Kg.js deleted file mode 100644 index b81d273b..00000000 --- a/BTPanel/static/vite/js/batch-legacy-C2TV8-Kg.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index-legacy-De9vt8IT.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,a){"use strict";var l,t,s,n,u,i,r,d,o,c,v,_,g,p,y,f,m,j,h;return{setters:[e=>{l=e._},e=>{t=e.u},e=>{s=e.cO,n=e.n,u=e.hv,i=e.m},e=>{r=e.u},e=>{d=e.k,o=e.R,c=e.r,v=e.$,_=e.Z,g=e.a0,p=e.a9,y=e._,f=e.S,m=e.X},e=>{j=e.a1,h=e.a6},null],execute:function(){const a={class:"p-20px"},w={class:"w-150px"};e("default",d({__name:"batch",props:{data:{}},setup(e,{expose:d}){const x=e,{t:P}=o(),{rows:b}=x.data,S=t(),H=c(null),Z=c([]),{loading:k,setLoading:L}=r();return(async()=>{try{L(!0);const{message:e}=await s();n(e)&&e.length>0?(Z.value=e.map((e=>({label:e.name,value:e.id}))),H.value=e[0].id):(H.value=null,Z.value=[])}finally{L(!1)}})(),d({onConfirm:async({hide:e})=>{await u((()=>{if(null===H.value)throw i.error(P("Site.PHP.add_site_46")),new Error(P("Site.PHP.add_site_46"));return{id:H.value,site_ids:b.map((e=>e.id))}})()),S.setRefresh(!0),e()}}),(e,t)=>{const s=h,n=j,u=l;return v(),_("div",a,[g(u,null,{default:p((()=>[g(n,{label:e.$t("Site.PHP.add_site_22"),"show-feedback":!1},{default:p((()=>[y("div",w,[g(s,{value:f(H),"onUpdate:value":t[0]||(t[0]=e=>m(H)?H.value=e:null),loading:f(k),options:f(Z)},null,8,["value","loading","options"])])])),_:1},8,["label"])])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/batch-legacy-CZmM5xzE.js b/BTPanel/static/vite/js/batch-legacy-CZmM5xzE.js new file mode 100644 index 00000000..8bc5bdfd --- /dev/null +++ b/BTPanel/static/vite/js/batch-legacy-CZmM5xzE.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./index-legacy-AbgwGZ7f.js?v=1774508183068","./index-legacy-DI3XeZDi.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-C46zd6Uw.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-DaMVKsAK.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-Cr0WR19L.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-uBXy5IWX.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-2by_1yqo.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./useLoading-legacy-BYj3sJTe.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068","./index-legacy-Bx8gh2uQ.js?v=1774508183068","./index-legacy-lj9nx1BT.js?v=1774508183068","./xterm-legacy-UzqSqzXt.js?v=1774508183068","./useSocket-legacy-CT2Sal6Q.js?v=1774508183068","./xterm-addon-canvas-legacy-Tys2uZOF.js?v=1774508183068"],(function(e,l){"use strict";var a,u,s,t,n,c,_,i,r,g,y,p,d,v,o,j,x;return{setters:[e=>{a=e._},e=>{u=e.m},e=>{s=e.s},e=>{t=e.u},e=>{n=e.k,c=e.R,_=e.c,i=e.r,r=e.$,g=e.Z,y=e.a0,p=e.a9,d=e._,v=e.S,o=e.X},e=>{j=e.a1,x=e.a6},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const l={class:"p-20px"},f={class:"w-150px"};e("default",n({__name:"batch",props:{data:{}},setup(e,{expose:n}){const m=e,{categoryList:b}=t(),{t:w}=c(),{rows:S,onRefresh:h}=m.data,k=_((()=>b.filter((e=>""!==e.value)))),N=i(k.value[0].value);return n({onConfirm:async()=>{N.value?(await s({category_id:N.value,ids:JSON.stringify(S.map((e=>e.id))),node_list:JSON.stringify(S.map((e=>({id:e.id}))))}),h()):u.error(w("Please select category"))}}),(e,u)=>{const s=x,t=j,n=a;return r(),g("div",l,[y(n,null,{default:p((()=>[y(t,{label:e.$t("Node category"),"show-feedback":!1},{default:p((()=>[d("div",f,[y(s,{value:v(N),"onUpdate:value":u[0]||(u[0]=e=>o(N)?N.value=e:null),options:v(k)},null,8,["value","options"])])])),_:1},8,["label"])])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/batch-legacy-CveIyY6r.js b/BTPanel/static/vite/js/batch-legacy-CveIyY6r.js new file mode 100644 index 00000000..e25fd8e8 --- /dev/null +++ b/BTPanel/static/vite/js/batch-legacy-CveIyY6r.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./useLoading-legacy-BYj3sJTe.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-BtkH87Kd.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068"],(function(e,l){"use strict";var a,t,s,n,u,i,r,c,d,_,o,g,p,y,v,j,f,x;return{setters:[e=>{a=e._},e=>{t=e.n,s=e.m},e=>{n=e.u},e=>{u=e.Z,i=e.$},e=>{r=e.k,c=e.R,d=e.r,_=e.$,o=e.Z,g=e.a0,p=e.a9,y=e._,v=e.S,j=e.X},e=>{f=e.a1,x=e.a6},null,null,null,null,null,null,null,null],execute:function(){const l={class:"p-20px"},m={class:"w-150px"};e("default",r({__name:"batch",props:{data:{}},setup(e,{expose:r}){const b=e,{t:h}=c(),{siteType:w,ids:P,onRefresh:S}=b.data,H=d(null),T=d([]),{loading:Z,setLoading:$}=n();return(async()=>{try{$(!0);const{message:e}=await u({project_type:w});t(e)&&e.length>0?(T.value=e.map((e=>({label:e.name,value:e.id}))),H.value=e[0].id):(H.value=null,T.value=[])}finally{$(!1)}})(),r({onConfirm:async({hide:e})=>{await i((()=>{if(null===H.value)throw s.error(h("Site.PHP.add_site_46")),new Error(h("Site.PHP.add_site_46"));return{id:H.value,site_ids:JSON.stringify(P),project_type:w}})()),S(),e()}}),(e,t)=>{const s=x,n=f,u=a;return _(),o("div",l,[g(u,null,{default:p((()=>[g(n,{label:e.$t("Site.PHP.add_site_22"),"show-feedback":!1},{default:p((()=>[y("div",m,[g(s,{value:v(H),"onUpdate:value":t[0]||(t[0]=e=>j(H)?H.value=e:null),loading:v(Z),options:v(T)},null,8,["value","loading","options"])])])),_:1},8,["label"])])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/batch-legacy-D1yzBfRK.js b/BTPanel/static/vite/js/batch-legacy-D1yzBfRK.js new file mode 100644 index 00000000..d1177aea --- /dev/null +++ b/BTPanel/static/vite/js/batch-legacy-D1yzBfRK.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./useLoading-legacy-BYj3sJTe.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068","./planned-legacy-BfKsYsfn.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,a){"use strict";var n,l,t,s,u,i,r,d,o,c,g,p,v,_,y,f,x,b,j;return{setters:[e=>{n=e._},e=>{l=e.n,t=e.m},e=>{s=e.u},e=>{u=e.u},e=>{i=e.g,r=e.p},e=>{d=e.k,o=e.R,c=e.r,g=e.$,p=e.Z,v=e.a0,_=e.a9,y=e._,f=e.S,x=e.X},e=>{b=e.a1,j=e.a6},null],execute:function(){const a={class:"p-20px"},m={class:"w-150px"};e("default",d({__name:"batch",props:{data:{}},setup(e,{expose:d}){const{t:w}=o(),h=e,{rows:C}=h.data,P=u(),S=c(null),k=c([]),{loading:L,setLoading:R}=s();return(async()=>{try{R(!0);const{message:e}=await i();l(e)&&e.length>0?(k.value=e.map((e=>({label:e.name,value:e.id}))),S.value=e[0].id):(S.value=null,k.value=[])}finally{R(!1)}})(),d({onConfirm:async({hide:e})=>{await r((()=>{if(null===S.value)throw t.error(w("Crontab.Planned.index_28")),new Error(w("Crontab.Planned.index_28"));return{id:S.value,crontab_ids:JSON.stringify(C.map((e=>e.id)))}})()),P.setRefresh(!0),e()}}),(e,l)=>{const t=j,s=b,u=n;return g(),p("div",a,[v(u,null,{default:_((()=>[v(s,{label:e.$t("Crontab.Planned.index_27"),"show-feedback":!1},{default:_((()=>[y("div",m,[v(t,{value:f(S),"onUpdate:value":l[0]||(l[0]=e=>x(S)?S.value=e:null),loading:f(L),options:f(k)},null,8,["value","loading","options"])])])),_:1},8,["label"])])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/batch-legacy-DmM12WAx.js b/BTPanel/static/vite/js/batch-legacy-DmM12WAx.js deleted file mode 100644 index 86cd9923..00000000 --- a/BTPanel/static/vite/js/batch-legacy-DmM12WAx.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-CERfgfry.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785"],(function(e,l){"use strict";var a,t,s,n,u,i,r,c,_,d,o,g,p,y,v,j,f,x;return{setters:[e=>{a=e._},e=>{t=e.n,s=e.m},e=>{n=e.u},e=>{u=e.$,i=e.a0},e=>{r=e.k,c=e.R,_=e.r,d=e.$,o=e.Z,g=e.a0,p=e.a9,y=e._,v=e.S,j=e.X},e=>{f=e.a1,x=e.a6},null,null,null,null,null,null,null,null],execute:function(){const l={class:"p-20px"},m={class:"w-150px"};e("default",r({__name:"batch",props:{data:{}},setup(e,{expose:r}){const b=e,{t:h}=c(),{siteType:w,ids:P,onRefresh:S}=b.data,H=_(null),T=_([]),{loading:$,setLoading:k}=n();return(async()=>{try{k(!0);const{message:e}=await u({project_type:w});t(e)&&e.length>0?(T.value=e.map((e=>({label:e.name,value:e.id}))),H.value=e[0].id):(H.value=null,T.value=[])}finally{k(!1)}})(),r({onConfirm:async({hide:e})=>{await i((()=>{if(null===H.value)throw s.error(h("Site.PHP.add_site_46")),new Error(h("Site.PHP.add_site_46"));return{id:H.value,site_ids:JSON.stringify(P),project_type:w}})()),S(),e()}}),(e,t)=>{const s=x,n=f,u=a;return d(),o("div",l,[g(u,null,{default:p((()=>[g(n,{label:e.$t("Site.PHP.add_site_22"),"show-feedback":!1},{default:p((()=>[y("div",m,[g(s,{value:v(H),"onUpdate:value":t[0]||(t[0]=e=>j(H)?H.value=e:null),loading:v($),options:v(T)},null,8,["value","loading","options"])])])),_:1},8,["label"])])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/batch-legacy-aBfNHYcR.js b/BTPanel/static/vite/js/batch-legacy-aBfNHYcR.js deleted file mode 100644 index 3d9196f8..00000000 --- a/BTPanel/static/vite/js/batch-legacy-aBfNHYcR.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BSBh0Le2.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BE9USJGi.js?v=1773287522785","./mail-legacy-BX4bHMTA.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./index-legacy-DGWsVoxN.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785"],(function(a,e){"use strict";var l,u,t,n,o,s,i,r,d,_,p,m,c,v,x,g,q,w,b,f;return{setters:[a=>{l=a._},a=>{u=a._},a=>{t=a._},a=>{n=a.al},a=>{o=a.k,s=a.R,i=a.r,r=a.e,d=a.$,_=a.a8,p=a.a9,m=a.a0,c=a.S,v=a._,x=a.ak},a=>{g=a.a1,q=a.b,w=a._,b=a.a8,f=a.a6},null,null,null,null],execute:function(){const e={class:"w-100px ml-10px"};a("default",o({__name:"batch",props:{data:{}},setup(a,{expose:o}){const y=a,{getList:h}=y.data,{t:j}=s(),B=i(null),k=r({domain:"",password:"",random_str:"",maxnum:20,quota:5,quota_unit:"GB",quota_limit:1}),M=[{label:"GB",value:"GB"},{label:"MB",value:"MB"}],$={password:{required:!0,trigger:"blur",message:j("Config.Panel.index_67")}};return o({onConfirm:async()=>{await(B.value?.validate()),await n({domain:k.domain,password:k.password,random_str:k.random_str,maxnum:k.maxnum||20,quota:k.quota?k.quota+" "+k.quota_unit:"5 GB",quota_active:k.quota_limit}),h?.()}}),(a,n)=>{const o=g,s=u,i=q,r=w,y=b,h=f,j=l;return d(),_(j,{ref_key:"formRef",ref:B,model:c(k),rules:$,class:"p-20px"},{default:p((()=>[m(o,{label:a.$t("Layout.Sider.mail_3"),"show-require-mark":!0},{default:p((()=>[m(t,{class:"w-280px",value:c(k).domain,"onUpdate:value":n[0]||(n[0]=a=>c(k).domain=a),all:!1},null,8,["value"])])),_:1},8,["label"]),m(o,{label:a.$t("Config.Panel.index_66"),path:"password","show-require-mark":!0},{default:p((()=>[m(s,{class:"w-280px",value:c(k).password,"onUpdate:value":n[1]||(n[1]=a=>c(k).password=a),length:8,placeholder:a.$t("Config.Panel.index_67")},null,8,["value","placeholder"])])),_:1},8,["label"]),m(o,{label:a.$t("Mail.MailBox.index_32")},{default:p((()=>[m(i,{class:"w-280px!",value:c(k).random_str,"onUpdate:value":n[2]||(n[2]=a=>c(k).random_str=a),placeholder:""},null,8,["value"])])),_:1},8,["label"]),m(o,{label:a.$t("Mail.MailBox.index_33")},{default:p((()=>[m(r,{class:"w-280px!",min:1,"show-button":!1,value:c(k).maxnum,"onUpdate:value":n[3]||(n[3]=a=>c(k).maxnum=a)},null,8,["value"])])),_:1},8,["label"]),m(o,{label:"Quota limit"},{default:p((()=>[m(y,{"checked-value":1,"unchecked-value":0,value:c(k).quota_limit,"onUpdate:value":n[4]||(n[4]=a=>c(k).quota_limit=a)},null,8,["value"])])),_:1}),c(k).quota_limit?(d(),_(o,{key:0,label:a.$t("Mail.MailBox.index_3"),path:"quota"},{default:p((()=>[m(r,{value:c(k).quota,"onUpdate:value":n[5]||(n[5]=a=>c(k).quota=a),class:"w-170px",min:1,"show-button":!1,placeholder:""},null,8,["value"]),v("div",e,[m(h,{value:c(k).quota_unit,"onUpdate:value":n[6]||(n[6]=a=>c(k).quota_unit=a),options:M},null,8,["value"])])])),_:1},8,["label"])):x("",!0)])),_:1},8,["model"])}}}))}}})); diff --git a/BTPanel/static/vite/js/batch-legacy-sVUYOINC.js b/BTPanel/static/vite/js/batch-legacy-sVUYOINC.js new file mode 100644 index 00000000..d9e85361 --- /dev/null +++ b/BTPanel/static/vite/js/batch-legacy-sVUYOINC.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./index-legacy-QsyTbKAI.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./useLoading-legacy-BYj3sJTe.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,a){"use strict";var l,t,s,n,u,i,r,d,o,c,_,v,g,p,y,f,m,j,h;return{setters:[e=>{l=e._},e=>{t=e.u},e=>{s=e.c_,n=e.n,u=e.hO,i=e.m},e=>{r=e.u},e=>{d=e.k,o=e.R,c=e.r,_=e.$,v=e.Z,g=e.a0,p=e.a9,y=e._,f=e.S,m=e.X},e=>{j=e.a1,h=e.a6},null],execute:function(){const a={class:"p-20px"},w={class:"w-150px"};e("default",d({__name:"batch",props:{data:{}},setup(e,{expose:d}){const x=e,{t:P}=o(),{rows:b}=x.data,S=t(),H=c(null),k=c([]),{loading:L,setLoading:R}=r();return(async()=>{try{R(!0);const{message:e}=await s();n(e)&&e.length>0?(k.value=e.map((e=>({label:e.name,value:e.id}))),H.value=e[0].id):(H.value=null,k.value=[])}finally{R(!1)}})(),d({onConfirm:async({hide:e})=>{await u((()=>{if(null===H.value)throw i.error(P("Site.PHP.add_site_46")),new Error(P("Site.PHP.add_site_46"));return{id:H.value,site_ids:b.map((e=>e.id))}})()),S.setRefresh(!0),e()}}),(e,t)=>{const s=h,n=j,u=l;return _(),v("div",a,[g(u,null,{default:p((()=>[g(n,{label:e.$t("Site.PHP.add_site_22"),"show-feedback":!1},{default:p((()=>[y("div",w,[g(s,{value:f(H),"onUpdate:value":t[0]||(t[0]=e=>m(H)?H.value=e:null),loading:f(L),options:f(k)},null,8,["value","loading","options"])])])),_:1},8,["label"])])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/batch-ywG9pQF1.js b/BTPanel/static/vite/js/batch-ywG9pQF1.js deleted file mode 100644 index 2eb951eb..00000000 --- a/BTPanel/static/vite/js/batch-ywG9pQF1.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as C}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{_ as M}from"./index.vue_vue_type_script_setup_true_lang-DG86e1NA.js?v=1773287522785";import{_ as U}from"./index.vue_vue_type_script_setup_true_lang-DCuz-_aa.js?v=1773287522785";import{al as h}from"./mail-COTHIXbY.js?v=1773287522785";import{k as y,R as G,r as P,e as N,$ as _,a8 as p,a9 as s,a0 as n,S as o,_ as R,ak as V}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as S,b as I,_ as O,a8 as Q,a6 as j}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./index-K4YGya6V.js?v=1773287522785";import"./index-BTglIPU2.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./useLoading-CZ2gSAW7.js?v=1773287522785";const z={class:"w-100px ml-10px"},Y=y({__name:"batch",props:{data:{}},setup(d,{expose:f}){const c=d,{getList:r}=c.data,{t:v}=G(),i=P(null),a=N({domain:"",password:"",random_str:"",maxnum:20,quota:5,quota_unit:"GB",quota_limit:1}),b=[{label:"GB",value:"GB"},{label:"MB",value:"MB"}],w={password:{required:!0,trigger:"blur",message:v("Config.Panel.index_67")}},q=()=>({domain:a.domain,password:a.password,random_str:a.random_str,maxnum:a.maxnum||20,quota:a.quota?a.quota+" "+a.quota_unit:"5 GB",quota_active:a.quota_limit});return f({onConfirm:async()=>{var l;await((l=i.value)==null?void 0:l.validate()),await h(q()),r==null||r()}}),(l,e)=>{const u=S,x=M,g=I,m=O,B=Q,$=j,k=C;return _(),p(k,{ref_key:"formRef",ref:i,model:o(a),rules:w,class:"p-20px"},{default:s(()=>[n(u,{label:l.$t("Layout.Sider.mail_3"),"show-require-mark":!0},{default:s(()=>[n(U,{class:"w-280px",value:o(a).domain,"onUpdate:value":e[0]||(e[0]=t=>o(a).domain=t),all:!1},null,8,["value"])]),_:1},8,["label"]),n(u,{label:l.$t("Config.Panel.index_66"),path:"password","show-require-mark":!0},{default:s(()=>[n(x,{class:"w-280px",value:o(a).password,"onUpdate:value":e[1]||(e[1]=t=>o(a).password=t),length:8,placeholder:l.$t("Config.Panel.index_67")},null,8,["value","placeholder"])]),_:1},8,["label"]),n(u,{label:l.$t("Mail.MailBox.index_32")},{default:s(()=>[n(g,{class:"w-280px!",value:o(a).random_str,"onUpdate:value":e[2]||(e[2]=t=>o(a).random_str=t),placeholder:""},null,8,["value"])]),_:1},8,["label"]),n(u,{label:l.$t("Mail.MailBox.index_33")},{default:s(()=>[n(m,{class:"w-280px!",min:1,"show-button":!1,value:o(a).maxnum,"onUpdate:value":e[3]||(e[3]=t=>o(a).maxnum=t)},null,8,["value"])]),_:1},8,["label"]),n(u,{label:"Quota limit"},{default:s(()=>[n(B,{"checked-value":1,"unchecked-value":0,value:o(a).quota_limit,"onUpdate:value":e[4]||(e[4]=t=>o(a).quota_limit=t)},null,8,["value"])]),_:1}),o(a).quota_limit?(_(),p(u,{key:0,label:l.$t("Mail.MailBox.index_3"),path:"quota"},{default:s(()=>[n(m,{value:o(a).quota,"onUpdate:value":e[5]||(e[5]=t=>o(a).quota=t),class:"w-170px",min:1,"show-button":!1,placeholder:""},null,8,["value"]),R("div",z,[n($,{value:o(a).quota_unit,"onUpdate:value":e[6]||(e[6]=t=>o(a).quota_unit=t),options:b},null,8,["value"])])]),_:1},8,["label"])):V("",!0)]),_:1},8,["model"])}}});export{Y as default}; diff --git a/BTPanel/static/vite/js/campaign-CYIboXPk.js b/BTPanel/static/vite/js/campaign-CYIboXPk.js deleted file mode 100644 index a763f051..00000000 --- a/BTPanel/static/vite/js/campaign-CYIboXPk.js +++ /dev/null @@ -1 +0,0 @@ -import{as as a,a3 as e}from"./index-BTglIPU2.js?v=1773287522785";const n=s=>a.post("/campaign/overview",s),o=s=>a.post("/plugin?action=a&name=mail_sys&s=add_mail_type",s,{requestOptions:{loading:e.global.t("Mail.Api.index_22"),successMessage:!0}}),l=s=>a.post("/plugin?action=a&name=mail_sys&s=edit_mail_type",s,{requestOptions:{loading:e.global.t("Mail.Api.index_42"),successMessage:!0}}),p=s=>a.post("/plugin?action=a&name=mail_sys&s=get_mail_type_info_list",s),c=(s,t=!0)=>a.post("/plugin?action=a&name=mail_sys&s=update_subscription_state",s,{requestOptions:{loading:"Modifying status, please wait...",successMessage:t}}),g=(s,t=!0)=>a.post("/plugin?action=a&name=mail_sys&s=del_mail_type_list",s,{requestOptions:{loading:t?e.global.t("Mail.Api.index_37"):"",successMessage:t}}),m=s=>a.post("/plugin?action=a&name=mail_sys&s=get_unsubscribe_list",s),u=(s,t=!0)=>a.post("/plugin?action=a&name=mail_sys&s=del_unsubscribe_list",s,{requestOptions:{loading:t?e.global.t("Mail.Api.index_37"):"",successMessage:t}}),_=s=>a.post("/plugin?action=a&name=mail_sys&s=edit_type_unsubscribe_list",s,{requestOptions:{loading:e.global.t("Mail.Api.index_43"),successMessage:!0}}),r=s=>a.post("/plugin?action=a&name=mail_sys&s=edit_type_unsubscribe_list",s,{requestOptions:{loading:e.global.t("Mail.Api.index_43"),successMessage:!0}}),d=s=>a.post("/plugin?action=a&name=mail_sys&s=import_contacts_etypes",s,{requestOptions:{loading:"Processing, please wait...",successMessage:!0}}),y=s=>a.post("/plugin?action=a&name=mail_sys&s=import_contacts_from_content",s,{requestOptions:{loading:"Processing, please wait...",successMessage:!0}}),M=s=>a.post("/plugin?action=a&name=mail_sys&s=get_contacts_list",s),b=s=>a.post("/plugin?action=a&name=mail_sys&s=get_abnormal_recipient",s),q=(s,t=!0)=>a.post("/plugin?action=a&name=mail_sys&s=del_abnormal_recipient",s,{requestOptions:{loading:t?e.global.t("Mail.Api.index_37"):"",successMessage:t}}),O=()=>a.post("/plugin?action=a&name=mail_sys&s=get_abnormal_status"),A=s=>a.post("/plugin?action=a&name=mail_sys&s=clear_abnormal_recipient",s,{requestOptions:{loading:e.global.t("Mail.Api.index_37"),successMessage:!0}}),T=s=>a.post("/plugin?action=a&name=mail_sys&s=get_contact_number",s),w=s=>a.post("/plugin?action=a&name=mail_sys&s=get_task_unsubscribe_list",s),x=(s={})=>a.post("/plugin?action=a&name=mail_sys&s=get_task_all",s),k=s=>a.post("/plugin?action=a&name=mail_sys&s=export_email_template",s),C=s=>a.post("/plugin?action=a&name=mail_sys&s=import_email_template",s,{requestOptions:{loading:e.global.t("Mail.Api.index_21"),successMessage:!0}}),S=s=>a.post("/plugin?action=a&name=mail_sys&s=copy_template",s,{requestOptions:{loading:"Copying template, please wait...",successMessage:!0}}),h=(s={})=>a.post("/plugin?action=a&name=mail_sys&s=get_mail_type_list",s),E=s=>a.post("/plugin?action=a&name=mail_sys&s=export_contact_group",s,{requestOptions:{loading:"Exporting, please wait..."}}),v=s=>a.post("/plugin?action=a&name=mail_sys&s=import_contact_group",s,{requestOptions:{loading:"Processing, please wait...",successMessage:!0}}),L=s=>a.post("/plugin?action=a&name=mail_sys&s=merge_groups",s,{requestOptions:{loading:"Processing, please wait...",successMessage:!0}}),f=s=>a.post("/plugin?action=a&name=mail_sys&s=export_task_errlog_to_csv",s,{requestOptions:{loading:"Exporting, please wait..."}}),j=(s={})=>a.post("/plugin?action=a&name=mail_sys&s=get_service_status",s),G=s=>a.post("/plugin?action=a&name=mail_sys&s=check_email_valid",s,{requestOptions:{loading:"Scanning, please wait...",successMessage:!0}}),P=s=>a.post("/plugin?action=a&name=mail_sys&s=set_abnormal_mail_check_switch",s,{requestOptions:{loading:"Setting, please wait...",successMessage:!0}}),U=s=>a.post("/plugin?action=a&name=mail_sys&s=add_task",s,{requestOptions:{loading:"Adding task, please wait...",successMessage:!0}}),D=s=>a.post("/plugin?action=a&name=mail_sys&s=update_task",s,{requestOptions:{loading:"Editing task, please wait...",successMessage:!0}}),I=s=>a.post("/plugin?action=a&name=mail_sys&s=send_mail_test",s,{requestOptions:{loading:"Sending test email, please wait...",successMessage:!0}}),N=(s={})=>a.post("/plugin?action=a&name=mail_sys&s=get_mail_type_list",s),R=()=>a.post("/plugin?action=a&name=mail_sys&s=get_email_temp"),V=s=>a.post("/plugin?action=a&name=mail_sys&s=get_email_temp_list",s),z=s=>a.post("/plugin?action=a&name=mail_sys&s=get_task_email_content",s),B=s=>a.post("/plugin?action=a&name=mail_sys&s=add_email_temp",s,{requestOptions:{loading:"Adding template, please wait...",successMessage:!0}}),F=(s,t=!0)=>a.post("/plugin?action=a&name=mail_sys&s=edit_email_temp",s,{requestOptions:{loading:t?"Editing template, please wait...":"",successMessage:t}}),H=s=>a.post("/plugin?action=a&name=mail_sys&s=del_email_temp",s,{requestOptions:{loading:"Deleting template, please wait...",successMessage:!0}}),J=(s,t=!0)=>a.post("/campaign/set_automation",s,{headers:{"Content-Type":"application/json"},requestOptions:{loading:t?"Adding, please wait...":""}}),K=s=>a.post("/campaign/set_automation",s,{headers:{"Content-Type":"application/json"},requestOptions:{loading:"Setting up, please wait..."}}),Q=s=>a.post("/campaign/get_automations",s,{headers:{"Content-Type":"application/json"}}),W=s=>a.post("/campaign/remove_automation",s,{headers:{"Content-Type":"application/json"}}),X=s=>a.post("/campaign/get_automation_workflow",s,{headers:{"Content-Type":"application/json"}}),Y=s=>a.post("/campaign/set_automation_status",s,{headers:{"Content-Type":"application/json"},requestOptions:{loading:"Setting up, please wait...",successMessage:!0}}),Z=s=>a.post("/campaign/set_automation_name",s,{headers:{"Content-Type":"application/json"},requestOptions:{loading:"Renaming in progress, please wait...",successMessage:!0}});export{c as A,u as B,m as C,h as D,v as E,E as F,L as G,l as H,o as I,g as J,p as K,G as L,q as M,b as N,A as O,O as P,J as Q,Z as R,Y as S,W as T,Q as U,w as V,R as a,x as b,N as c,n as d,K as e,j as f,X as g,T as h,z as i,F as j,I as k,D as l,U as m,f as n,B as o,S as p,k as q,H as r,P as s,V as t,C as u,r as v,y as w,d as x,_ as y,M as z}; diff --git a/BTPanel/static/vite/js/campaign-legacy-C5NaNXr8.js b/BTPanel/static/vite/js/campaign-legacy-C5NaNXr8.js new file mode 100644 index 00000000..b15fd4bb --- /dev/null +++ b/BTPanel/static/vite/js/campaign-legacy-C5NaNXr8.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068"],(function(s,a){"use strict";var e,t;return{setters:[s=>{e=s.av,t=s.a6}],execute:function(){s("d",(s=>e.post("/campaign/overview",s))),s("I",(s=>e.post("/plugin?action=a&name=mail_sys&s=add_mail_type",s,{requestOptions:{loading:t.global.t("Mail.Api.index_22"),successMessage:!0}}))),s("H",(s=>e.post("/plugin?action=a&name=mail_sys&s=edit_mail_type",s,{requestOptions:{loading:t.global.t("Mail.Api.index_42"),successMessage:!0}}))),s("K",(s=>e.post("/plugin?action=a&name=mail_sys&s=get_mail_type_info_list",s))),s("A",((s,a=!0)=>e.post("/plugin?action=a&name=mail_sys&s=update_subscription_state",s,{requestOptions:{loading:"Modifying status, please wait...",successMessage:a}}))),s("J",((s,a=!0)=>e.post("/plugin?action=a&name=mail_sys&s=del_mail_type_list",s,{requestOptions:{loading:a?t.global.t("Mail.Api.index_37"):"",successMessage:a}}))),s("C",(s=>e.post("/plugin?action=a&name=mail_sys&s=get_unsubscribe_list",s))),s("B",((s,a=!0)=>e.post("/plugin?action=a&name=mail_sys&s=del_unsubscribe_list",s,{requestOptions:{loading:a?t.global.t("Mail.Api.index_37"):"",successMessage:a}}))),s("y",(s=>e.post("/plugin?action=a&name=mail_sys&s=edit_type_unsubscribe_list",s,{requestOptions:{loading:t.global.t("Mail.Api.index_43"),successMessage:!0}}))),s("v",(s=>e.post("/plugin?action=a&name=mail_sys&s=edit_type_unsubscribe_list",s,{requestOptions:{loading:t.global.t("Mail.Api.index_43"),successMessage:!0}}))),s("x",(s=>e.post("/plugin?action=a&name=mail_sys&s=import_contacts_etypes",s,{requestOptions:{loading:"Processing, please wait...",successMessage:!0}}))),s("w",(s=>e.post("/plugin?action=a&name=mail_sys&s=import_contacts_from_content",s,{requestOptions:{loading:"Processing, please wait...",successMessage:!0}}))),s("z",(s=>e.post("/plugin?action=a&name=mail_sys&s=get_contacts_list",s))),s("N",(s=>e.post("/plugin?action=a&name=mail_sys&s=get_abnormal_recipient",s))),s("M",((s,a=!0)=>e.post("/plugin?action=a&name=mail_sys&s=del_abnormal_recipient",s,{requestOptions:{loading:a?t.global.t("Mail.Api.index_37"):"",successMessage:a}}))),s("P",(()=>e.post("/plugin?action=a&name=mail_sys&s=get_abnormal_status"))),s("O",(s=>e.post("/plugin?action=a&name=mail_sys&s=clear_abnormal_recipient",s,{requestOptions:{loading:t.global.t("Mail.Api.index_37"),successMessage:!0}}))),s("h",(s=>e.post("/plugin?action=a&name=mail_sys&s=get_contact_number",s))),s("V",(s=>e.post("/plugin?action=a&name=mail_sys&s=get_task_unsubscribe_list",s))),s("b",((s={})=>e.post("/plugin?action=a&name=mail_sys&s=get_task_all",s))),s("q",(s=>e.post("/plugin?action=a&name=mail_sys&s=export_email_template",s))),s("u",(s=>e.post("/plugin?action=a&name=mail_sys&s=import_email_template",s,{requestOptions:{loading:t.global.t("Mail.Api.index_21"),successMessage:!0}}))),s("p",(s=>e.post("/plugin?action=a&name=mail_sys&s=copy_template",s,{requestOptions:{loading:"Copying template, please wait...",successMessage:!0}}))),s("D",((s={})=>e.post("/plugin?action=a&name=mail_sys&s=get_mail_type_list",s))),s("F",(s=>e.post("/plugin?action=a&name=mail_sys&s=export_contact_group",s,{requestOptions:{loading:"Exporting, please wait..."}}))),s("E",(s=>e.post("/plugin?action=a&name=mail_sys&s=import_contact_group",s,{requestOptions:{loading:"Processing, please wait...",successMessage:!0}}))),s("G",(s=>e.post("/plugin?action=a&name=mail_sys&s=merge_groups",s,{requestOptions:{loading:"Processing, please wait...",successMessage:!0}}))),s("n",(s=>e.post("/plugin?action=a&name=mail_sys&s=export_task_errlog_to_csv",s,{requestOptions:{loading:"Exporting, please wait..."}}))),s("f",((s={})=>e.post("/plugin?action=a&name=mail_sys&s=get_service_status",s))),s("L",(s=>e.post("/plugin?action=a&name=mail_sys&s=check_email_valid",s,{requestOptions:{loading:"Scanning, please wait...",successMessage:!0}}))),s("s",(s=>e.post("/plugin?action=a&name=mail_sys&s=set_abnormal_mail_check_switch",s,{requestOptions:{loading:"Setting, please wait...",successMessage:!0}}))),s("m",(s=>e.post("/plugin?action=a&name=mail_sys&s=add_task",s,{requestOptions:{loading:"Adding task, please wait...",successMessage:!0}}))),s("l",(s=>e.post("/plugin?action=a&name=mail_sys&s=update_task",s,{requestOptions:{loading:"Editing task, please wait...",successMessage:!0}}))),s("k",(s=>e.post("/plugin?action=a&name=mail_sys&s=send_mail_test",s,{requestOptions:{loading:"Sending test email, please wait...",successMessage:!0}}))),s("c",((s={})=>e.post("/plugin?action=a&name=mail_sys&s=get_mail_type_list",s))),s("a",(()=>e.post("/plugin?action=a&name=mail_sys&s=get_email_temp"))),s("t",(s=>e.post("/plugin?action=a&name=mail_sys&s=get_email_temp_list",s))),s("i",(s=>e.post("/plugin?action=a&name=mail_sys&s=get_task_email_content",s))),s("o",(s=>e.post("/plugin?action=a&name=mail_sys&s=add_email_temp",s,{requestOptions:{loading:"Adding template, please wait...",successMessage:!0}}))),s("j",((s,a=!0)=>e.post("/plugin?action=a&name=mail_sys&s=edit_email_temp",s,{requestOptions:{loading:a?"Editing template, please wait...":"",successMessage:a}}))),s("r",(s=>e.post("/plugin?action=a&name=mail_sys&s=del_email_temp",s,{requestOptions:{loading:"Deleting template, please wait...",successMessage:!0}}))),s("Q",((s,a=!0)=>e.post("/campaign/set_automation",s,{headers:{"Content-Type":"application/json"},requestOptions:{loading:a?"Adding, please wait...":""}}))),s("e",(s=>e.post("/campaign/set_automation",s,{headers:{"Content-Type":"application/json"},requestOptions:{loading:"Setting up, please wait..."}}))),s("U",(s=>e.post("/campaign/get_automations",s,{headers:{"Content-Type":"application/json"}}))),s("T",(s=>e.post("/campaign/remove_automation",s,{headers:{"Content-Type":"application/json"}}))),s("g",(s=>e.post("/campaign/get_automation_workflow",s,{headers:{"Content-Type":"application/json"}}))),s("S",(s=>e.post("/campaign/set_automation_status",s,{headers:{"Content-Type":"application/json"},requestOptions:{loading:"Setting up, please wait...",successMessage:!0}}))),s("R",(s=>e.post("/campaign/set_automation_name",s,{headers:{"Content-Type":"application/json"},requestOptions:{loading:"Renaming in progress, please wait...",successMessage:!0}})))}}})); diff --git a/BTPanel/static/vite/js/campaign-legacy-DoNavHj-.js b/BTPanel/static/vite/js/campaign-legacy-DoNavHj-.js deleted file mode 100644 index ba284c85..00000000 --- a/BTPanel/static/vite/js/campaign-legacy-DoNavHj-.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785"],(function(s,a){"use strict";var e,t;return{setters:[s=>{e=s.as,t=s.a3}],execute:function(){s("d",(s=>e.post("/campaign/overview",s))),s("I",(s=>e.post("/plugin?action=a&name=mail_sys&s=add_mail_type",s,{requestOptions:{loading:t.global.t("Mail.Api.index_22"),successMessage:!0}}))),s("H",(s=>e.post("/plugin?action=a&name=mail_sys&s=edit_mail_type",s,{requestOptions:{loading:t.global.t("Mail.Api.index_42"),successMessage:!0}}))),s("K",(s=>e.post("/plugin?action=a&name=mail_sys&s=get_mail_type_info_list",s))),s("A",((s,a=!0)=>e.post("/plugin?action=a&name=mail_sys&s=update_subscription_state",s,{requestOptions:{loading:"Modifying status, please wait...",successMessage:a}}))),s("J",((s,a=!0)=>e.post("/plugin?action=a&name=mail_sys&s=del_mail_type_list",s,{requestOptions:{loading:a?t.global.t("Mail.Api.index_37"):"",successMessage:a}}))),s("C",(s=>e.post("/plugin?action=a&name=mail_sys&s=get_unsubscribe_list",s))),s("B",((s,a=!0)=>e.post("/plugin?action=a&name=mail_sys&s=del_unsubscribe_list",s,{requestOptions:{loading:a?t.global.t("Mail.Api.index_37"):"",successMessage:a}}))),s("y",(s=>e.post("/plugin?action=a&name=mail_sys&s=edit_type_unsubscribe_list",s,{requestOptions:{loading:t.global.t("Mail.Api.index_43"),successMessage:!0}}))),s("v",(s=>e.post("/plugin?action=a&name=mail_sys&s=edit_type_unsubscribe_list",s,{requestOptions:{loading:t.global.t("Mail.Api.index_43"),successMessage:!0}}))),s("x",(s=>e.post("/plugin?action=a&name=mail_sys&s=import_contacts_etypes",s,{requestOptions:{loading:"Processing, please wait...",successMessage:!0}}))),s("w",(s=>e.post("/plugin?action=a&name=mail_sys&s=import_contacts_from_content",s,{requestOptions:{loading:"Processing, please wait...",successMessage:!0}}))),s("z",(s=>e.post("/plugin?action=a&name=mail_sys&s=get_contacts_list",s))),s("N",(s=>e.post("/plugin?action=a&name=mail_sys&s=get_abnormal_recipient",s))),s("M",((s,a=!0)=>e.post("/plugin?action=a&name=mail_sys&s=del_abnormal_recipient",s,{requestOptions:{loading:a?t.global.t("Mail.Api.index_37"):"",successMessage:a}}))),s("P",(()=>e.post("/plugin?action=a&name=mail_sys&s=get_abnormal_status"))),s("O",(s=>e.post("/plugin?action=a&name=mail_sys&s=clear_abnormal_recipient",s,{requestOptions:{loading:t.global.t("Mail.Api.index_37"),successMessage:!0}}))),s("h",(s=>e.post("/plugin?action=a&name=mail_sys&s=get_contact_number",s))),s("V",(s=>e.post("/plugin?action=a&name=mail_sys&s=get_task_unsubscribe_list",s))),s("b",((s={})=>e.post("/plugin?action=a&name=mail_sys&s=get_task_all",s))),s("q",(s=>e.post("/plugin?action=a&name=mail_sys&s=export_email_template",s))),s("u",(s=>e.post("/plugin?action=a&name=mail_sys&s=import_email_template",s,{requestOptions:{loading:t.global.t("Mail.Api.index_21"),successMessage:!0}}))),s("p",(s=>e.post("/plugin?action=a&name=mail_sys&s=copy_template",s,{requestOptions:{loading:"Copying template, please wait...",successMessage:!0}}))),s("D",((s={})=>e.post("/plugin?action=a&name=mail_sys&s=get_mail_type_list",s))),s("F",(s=>e.post("/plugin?action=a&name=mail_sys&s=export_contact_group",s,{requestOptions:{loading:"Exporting, please wait..."}}))),s("E",(s=>e.post("/plugin?action=a&name=mail_sys&s=import_contact_group",s,{requestOptions:{loading:"Processing, please wait...",successMessage:!0}}))),s("G",(s=>e.post("/plugin?action=a&name=mail_sys&s=merge_groups",s,{requestOptions:{loading:"Processing, please wait...",successMessage:!0}}))),s("n",(s=>e.post("/plugin?action=a&name=mail_sys&s=export_task_errlog_to_csv",s,{requestOptions:{loading:"Exporting, please wait..."}}))),s("f",((s={})=>e.post("/plugin?action=a&name=mail_sys&s=get_service_status",s))),s("L",(s=>e.post("/plugin?action=a&name=mail_sys&s=check_email_valid",s,{requestOptions:{loading:"Scanning, please wait...",successMessage:!0}}))),s("s",(s=>e.post("/plugin?action=a&name=mail_sys&s=set_abnormal_mail_check_switch",s,{requestOptions:{loading:"Setting, please wait...",successMessage:!0}}))),s("m",(s=>e.post("/plugin?action=a&name=mail_sys&s=add_task",s,{requestOptions:{loading:"Adding task, please wait...",successMessage:!0}}))),s("l",(s=>e.post("/plugin?action=a&name=mail_sys&s=update_task",s,{requestOptions:{loading:"Editing task, please wait...",successMessage:!0}}))),s("k",(s=>e.post("/plugin?action=a&name=mail_sys&s=send_mail_test",s,{requestOptions:{loading:"Sending test email, please wait...",successMessage:!0}}))),s("c",((s={})=>e.post("/plugin?action=a&name=mail_sys&s=get_mail_type_list",s))),s("a",(()=>e.post("/plugin?action=a&name=mail_sys&s=get_email_temp"))),s("t",(s=>e.post("/plugin?action=a&name=mail_sys&s=get_email_temp_list",s))),s("i",(s=>e.post("/plugin?action=a&name=mail_sys&s=get_task_email_content",s))),s("o",(s=>e.post("/plugin?action=a&name=mail_sys&s=add_email_temp",s,{requestOptions:{loading:"Adding template, please wait...",successMessage:!0}}))),s("j",((s,a=!0)=>e.post("/plugin?action=a&name=mail_sys&s=edit_email_temp",s,{requestOptions:{loading:a?"Editing template, please wait...":"",successMessage:a}}))),s("r",(s=>e.post("/plugin?action=a&name=mail_sys&s=del_email_temp",s,{requestOptions:{loading:"Deleting template, please wait...",successMessage:!0}}))),s("Q",((s,a=!0)=>e.post("/campaign/set_automation",s,{headers:{"Content-Type":"application/json"},requestOptions:{loading:a?"Adding, please wait...":""}}))),s("e",(s=>e.post("/campaign/set_automation",s,{headers:{"Content-Type":"application/json"},requestOptions:{loading:"Setting up, please wait..."}}))),s("U",(s=>e.post("/campaign/get_automations",s,{headers:{"Content-Type":"application/json"}}))),s("T",(s=>e.post("/campaign/remove_automation",s,{headers:{"Content-Type":"application/json"}}))),s("g",(s=>e.post("/campaign/get_automation_workflow",s,{headers:{"Content-Type":"application/json"}}))),s("S",(s=>e.post("/campaign/set_automation_status",s,{headers:{"Content-Type":"application/json"},requestOptions:{loading:"Setting up, please wait...",successMessage:!0}}))),s("R",(s=>e.post("/campaign/set_automation_name",s,{headers:{"Content-Type":"application/json"},requestOptions:{loading:"Renaming in progress, please wait...",successMessage:!0}})))}}})); diff --git a/BTPanel/static/vite/js/campaign-sKmOloTV.js b/BTPanel/static/vite/js/campaign-sKmOloTV.js new file mode 100644 index 00000000..40eda98d --- /dev/null +++ b/BTPanel/static/vite/js/campaign-sKmOloTV.js @@ -0,0 +1 @@ +import{av as a,a6 as e}from"./index-LQ-JIYiv.js?v=1774508183068";const n=s=>a.post("/campaign/overview",s),o=s=>a.post("/plugin?action=a&name=mail_sys&s=add_mail_type",s,{requestOptions:{loading:e.global.t("Mail.Api.index_22"),successMessage:!0}}),l=s=>a.post("/plugin?action=a&name=mail_sys&s=edit_mail_type",s,{requestOptions:{loading:e.global.t("Mail.Api.index_42"),successMessage:!0}}),p=s=>a.post("/plugin?action=a&name=mail_sys&s=get_mail_type_info_list",s),c=(s,t=!0)=>a.post("/plugin?action=a&name=mail_sys&s=update_subscription_state",s,{requestOptions:{loading:"Modifying status, please wait...",successMessage:t}}),g=(s,t=!0)=>a.post("/plugin?action=a&name=mail_sys&s=del_mail_type_list",s,{requestOptions:{loading:t?e.global.t("Mail.Api.index_37"):"",successMessage:t}}),m=s=>a.post("/plugin?action=a&name=mail_sys&s=get_unsubscribe_list",s),u=(s,t=!0)=>a.post("/plugin?action=a&name=mail_sys&s=del_unsubscribe_list",s,{requestOptions:{loading:t?e.global.t("Mail.Api.index_37"):"",successMessage:t}}),_=s=>a.post("/plugin?action=a&name=mail_sys&s=edit_type_unsubscribe_list",s,{requestOptions:{loading:e.global.t("Mail.Api.index_43"),successMessage:!0}}),r=s=>a.post("/plugin?action=a&name=mail_sys&s=edit_type_unsubscribe_list",s,{requestOptions:{loading:e.global.t("Mail.Api.index_43"),successMessage:!0}}),d=s=>a.post("/plugin?action=a&name=mail_sys&s=import_contacts_etypes",s,{requestOptions:{loading:"Processing, please wait...",successMessage:!0}}),y=s=>a.post("/plugin?action=a&name=mail_sys&s=import_contacts_from_content",s,{requestOptions:{loading:"Processing, please wait...",successMessage:!0}}),M=s=>a.post("/plugin?action=a&name=mail_sys&s=get_contacts_list",s),b=s=>a.post("/plugin?action=a&name=mail_sys&s=get_abnormal_recipient",s),q=(s,t=!0)=>a.post("/plugin?action=a&name=mail_sys&s=del_abnormal_recipient",s,{requestOptions:{loading:t?e.global.t("Mail.Api.index_37"):"",successMessage:t}}),O=()=>a.post("/plugin?action=a&name=mail_sys&s=get_abnormal_status"),A=s=>a.post("/plugin?action=a&name=mail_sys&s=clear_abnormal_recipient",s,{requestOptions:{loading:e.global.t("Mail.Api.index_37"),successMessage:!0}}),T=s=>a.post("/plugin?action=a&name=mail_sys&s=get_contact_number",s),w=s=>a.post("/plugin?action=a&name=mail_sys&s=get_task_unsubscribe_list",s),x=(s={})=>a.post("/plugin?action=a&name=mail_sys&s=get_task_all",s),k=s=>a.post("/plugin?action=a&name=mail_sys&s=export_email_template",s),C=s=>a.post("/plugin?action=a&name=mail_sys&s=import_email_template",s,{requestOptions:{loading:e.global.t("Mail.Api.index_21"),successMessage:!0}}),S=s=>a.post("/plugin?action=a&name=mail_sys&s=copy_template",s,{requestOptions:{loading:"Copying template, please wait...",successMessage:!0}}),h=(s={})=>a.post("/plugin?action=a&name=mail_sys&s=get_mail_type_list",s),v=s=>a.post("/plugin?action=a&name=mail_sys&s=export_contact_group",s,{requestOptions:{loading:"Exporting, please wait..."}}),E=s=>a.post("/plugin?action=a&name=mail_sys&s=import_contact_group",s,{requestOptions:{loading:"Processing, please wait...",successMessage:!0}}),L=s=>a.post("/plugin?action=a&name=mail_sys&s=merge_groups",s,{requestOptions:{loading:"Processing, please wait...",successMessage:!0}}),f=s=>a.post("/plugin?action=a&name=mail_sys&s=export_task_errlog_to_csv",s,{requestOptions:{loading:"Exporting, please wait..."}}),j=(s={})=>a.post("/plugin?action=a&name=mail_sys&s=get_service_status",s),G=s=>a.post("/plugin?action=a&name=mail_sys&s=check_email_valid",s,{requestOptions:{loading:"Scanning, please wait...",successMessage:!0}}),P=s=>a.post("/plugin?action=a&name=mail_sys&s=set_abnormal_mail_check_switch",s,{requestOptions:{loading:"Setting, please wait...",successMessage:!0}}),U=s=>a.post("/plugin?action=a&name=mail_sys&s=add_task",s,{requestOptions:{loading:"Adding task, please wait...",successMessage:!0}}),D=s=>a.post("/plugin?action=a&name=mail_sys&s=update_task",s,{requestOptions:{loading:"Editing task, please wait...",successMessage:!0}}),I=s=>a.post("/plugin?action=a&name=mail_sys&s=send_mail_test",s,{requestOptions:{loading:"Sending test email, please wait...",successMessage:!0}}),N=(s={})=>a.post("/plugin?action=a&name=mail_sys&s=get_mail_type_list",s),R=()=>a.post("/plugin?action=a&name=mail_sys&s=get_email_temp"),V=s=>a.post("/plugin?action=a&name=mail_sys&s=get_email_temp_list",s),z=s=>a.post("/plugin?action=a&name=mail_sys&s=get_task_email_content",s),B=s=>a.post("/plugin?action=a&name=mail_sys&s=add_email_temp",s,{requestOptions:{loading:"Adding template, please wait...",successMessage:!0}}),F=(s,t=!0)=>a.post("/plugin?action=a&name=mail_sys&s=edit_email_temp",s,{requestOptions:{loading:t?"Editing template, please wait...":"",successMessage:t}}),H=s=>a.post("/plugin?action=a&name=mail_sys&s=del_email_temp",s,{requestOptions:{loading:"Deleting template, please wait...",successMessage:!0}}),J=(s,t=!0)=>a.post("/campaign/set_automation",s,{headers:{"Content-Type":"application/json"},requestOptions:{loading:t?"Adding, please wait...":""}}),K=s=>a.post("/campaign/set_automation",s,{headers:{"Content-Type":"application/json"},requestOptions:{loading:"Setting up, please wait..."}}),Q=s=>a.post("/campaign/get_automations",s,{headers:{"Content-Type":"application/json"}}),W=s=>a.post("/campaign/remove_automation",s,{headers:{"Content-Type":"application/json"}}),X=s=>a.post("/campaign/get_automation_workflow",s,{headers:{"Content-Type":"application/json"}}),Y=s=>a.post("/campaign/set_automation_status",s,{headers:{"Content-Type":"application/json"},requestOptions:{loading:"Setting up, please wait...",successMessage:!0}}),Z=s=>a.post("/campaign/set_automation_name",s,{headers:{"Content-Type":"application/json"},requestOptions:{loading:"Renaming in progress, please wait...",successMessage:!0}});export{c as A,u as B,m as C,h as D,E,v as F,L as G,l as H,o as I,g as J,p as K,G as L,q as M,b as N,A as O,O as P,J as Q,Z as R,Y as S,W as T,Q as U,w as V,R as a,x as b,N as c,n as d,K as e,j as f,X as g,T as h,z as i,F as j,I as k,D as l,U as m,f as n,B as o,S as p,k as q,H as r,P as s,V as t,C as u,r as v,y as w,d as x,_ as y,M as z}; diff --git a/BTPanel/static/vite/js/category-D7LGRU2e.js b/BTPanel/static/vite/js/category-D7LGRU2e.js deleted file mode 100644 index 8416cd73..00000000 --- a/BTPanel/static/vite/js/category-D7LGRU2e.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as w}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{cO as C,n as S,hv as b,m as x}from"./index-BTglIPU2.js?v=1773287522785";import{u as L}from"./useLoading-CZ2gSAW7.js?v=1773287522785";import{u as k}from"./index-CNMkGSax.js?v=1773287522785";import{k as B,R as H,r as l,$ as R,Z as $,a0 as o,a9 as _,_ as E,S as n,X as N}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as O,a6 as V}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const A={class:"p-20px"},I={class:"w-150px"},J=B({__name:"category",props:{data:{}},setup(c,{expose:u}){const m=c,{t:r}=H(),{rows:p}=m.data,d=k(),t=l(null),a=l([]),{loading:f,setLoading:i}=L();(async()=>{try{i(!0);const{message:e}=await C();S(e)&&e.length>0?(a.value=e.map(s=>({label:s.name,value:s.id})),t.value=e[0].id):(t.value=null,a.value=[])}finally{i(!1)}})();const g=()=>{if(t.value===null)throw x.error(r("Site.PHP.add_site_46")),new Error(r("Site.PHP.add_site_46"));return{id:t.value,site_ids:p.map(e=>e.id)}};return u({onConfirm:async({hide:e})=>{await b(g()),d.setRefresh(!0),e()}}),(e,s)=>{const v=V,y=O,h=w;return R(),$("div",A,[o(h,null,{default:_(()=>[o(y,{label:e.$t("Site.PHP.add_site_22"),"show-feedback":!1},{default:_(()=>[E("div",I,[o(v,{value:n(t),"onUpdate:value":s[0]||(s[0]=P=>N(t)?t.value=P:null),loading:n(f),options:n(a)},null,8,["value","loading","options"])])]),_:1},8,["label"])]),_:1})])}}});export{J as default}; diff --git a/BTPanel/static/vite/js/category-LGu6G3hR.js b/BTPanel/static/vite/js/category-LGu6G3hR.js new file mode 100644 index 00000000..52ad026e --- /dev/null +++ b/BTPanel/static/vite/js/category-LGu6G3hR.js @@ -0,0 +1 @@ +import{_ as w}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{c_ as C,n as S,hO as b,m as x}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as L}from"./useLoading-BRu-BHcC.js?v=1774508183068";import{u as k}from"./index-h5k6IKTt.js?v=1774508183068";import{k as B,R as H,r as l,$ as R,Z as $,a0 as o,a9 as _,_ as E,S as n,X as N}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a1 as O,a6 as V}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const A={class:"p-20px"},I={class:"w-150px"},J=B({__name:"category",props:{data:{}},setup(c,{expose:u}){const m=c,{t:r}=H(),{rows:p}=m.data,d=k(),t=l(null),a=l([]),{loading:f,setLoading:i}=L();(async()=>{try{i(!0);const{message:e}=await C();S(e)&&e.length>0?(a.value=e.map(s=>({label:s.name,value:s.id})),t.value=e[0].id):(t.value=null,a.value=[])}finally{i(!1)}})();const g=()=>{if(t.value===null)throw x.error(r("Site.PHP.add_site_46")),new Error(r("Site.PHP.add_site_46"));return{id:t.value,site_ids:p.map(e=>e.id)}};return u({onConfirm:async({hide:e})=>{await b(g()),d.setRefresh(!0),e()}}),(e,s)=>{const v=V,y=O,h=w;return R(),$("div",A,[o(h,null,{default:_(()=>[o(y,{label:e.$t("Site.PHP.add_site_22"),"show-feedback":!1},{default:_(()=>[E("div",I,[o(v,{value:n(t),"onUpdate:value":s[0]||(s[0]=P=>N(t)?t.value=P:null),loading:n(f),options:n(a)},null,8,["value","loading","options"])])]),_:1},8,["label"])]),_:1})])}}});export{J as default}; diff --git a/BTPanel/static/vite/js/category-legacy-BCeLVUvF.js b/BTPanel/static/vite/js/category-legacy-BCeLVUvF.js deleted file mode 100644 index 3e27326f..00000000 --- a/BTPanel/static/vite/js/category-legacy-BCeLVUvF.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./index-legacy-De9vt8IT.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,a){"use strict";var l,t,s,n,u,i,r,d,o,c,v,_,g,p,y,f,m,j,w;return{setters:[e=>{l=e._},e=>{t=e.cO,s=e.n,n=e.hv,u=e.m},e=>{i=e.u},e=>{r=e.u},e=>{d=e.k,o=e.R,c=e.r,v=e.$,_=e.Z,g=e.a0,p=e.a9,y=e._,f=e.S,m=e.X},e=>{j=e.a1,w=e.a6},null],execute:function(){const a={class:"p-20px"},x={class:"w-150px"};e("default",d({__name:"category",props:{data:{}},setup(e,{expose:d}){const h=e,{t:P}=o(),{rows:S}=h.data,b=r(),H=c(null),Z=c([]),{loading:k,setLoading:L}=i();return(async()=>{try{L(!0);const{message:e}=await t();s(e)&&e.length>0?(Z.value=e.map((e=>({label:e.name,value:e.id}))),H.value=e[0].id):(H.value=null,Z.value=[])}finally{L(!1)}})(),d({onConfirm:async({hide:e})=>{await n((()=>{if(null===H.value)throw u.error(P("Site.PHP.add_site_46")),new Error(P("Site.PHP.add_site_46"));return{id:H.value,site_ids:S.map((e=>e.id))}})()),b.setRefresh(!0),e()}}),(e,t)=>{const s=w,n=j,u=l;return v(),_("div",a,[g(u,null,{default:p((()=>[g(n,{label:e.$t("Site.PHP.add_site_22"),"show-feedback":!1},{default:p((()=>[y("div",x,[g(s,{value:f(H),"onUpdate:value":t[0]||(t[0]=e=>m(H)?H.value=e:null),loading:f(k),options:f(Z)},null,8,["value","loading","options"])])])),_:1},8,["label"])])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/category-legacy-CzQ5-sp5.js b/BTPanel/static/vite/js/category-legacy-CzQ5-sp5.js new file mode 100644 index 00000000..cfcc3c21 --- /dev/null +++ b/BTPanel/static/vite/js/category-legacy-CzQ5-sp5.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./useLoading-legacy-BYj3sJTe.js?v=1774508183068","./index-legacy-QsyTbKAI.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,a){"use strict";var l,t,s,n,u,i,r,d,o,c,_,v,g,p,y,f,m,j,w;return{setters:[e=>{l=e._},e=>{t=e.c_,s=e.n,n=e.hO,u=e.m},e=>{i=e.u},e=>{r=e.u},e=>{d=e.k,o=e.R,c=e.r,_=e.$,v=e.Z,g=e.a0,p=e.a9,y=e._,f=e.S,m=e.X},e=>{j=e.a1,w=e.a6},null],execute:function(){const a={class:"p-20px"},x={class:"w-150px"};e("default",d({__name:"category",props:{data:{}},setup(e,{expose:d}){const h=e,{t:P}=o(),{rows:S}=h.data,b=r(),H=c(null),k=c([]),{loading:L,setLoading:R}=i();return(async()=>{try{R(!0);const{message:e}=await t();s(e)&&e.length>0?(k.value=e.map((e=>({label:e.name,value:e.id}))),H.value=e[0].id):(H.value=null,k.value=[])}finally{R(!1)}})(),d({onConfirm:async({hide:e})=>{await n((()=>{if(null===H.value)throw u.error(P("Site.PHP.add_site_46")),new Error(P("Site.PHP.add_site_46"));return{id:H.value,site_ids:S.map((e=>e.id))}})()),b.setRefresh(!0),e()}}),(e,t)=>{const s=w,n=j,u=l;return _(),v("div",a,[g(u,null,{default:p((()=>[g(n,{label:e.$t("Site.PHP.add_site_22"),"show-feedback":!1},{default:p((()=>[y("div",x,[g(s,{value:f(H),"onUpdate:value":t[0]||(t[0]=e=>m(H)?H.value=e:null),loading:f(L),options:f(k)},null,8,["value","loading","options"])])])),_:1},8,["label"])])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/change-verification-BJr3SNLM.js b/BTPanel/static/vite/js/change-verification-BJr3SNLM.js deleted file mode 100644 index 611c624a..00000000 --- a/BTPanel/static/vite/js/change-verification-BJr3SNLM.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as h}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{a3 as b}from"./ssl-Bm8jcneQ.js?v=1773287522785";import{k as H,R as T,e as x,$ as C,Z as g,a0 as t,a9 as i,S as _,_ as n}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as w,a6 as y}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./index-BTglIPU2.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const M={class:"p-20px"},B=H({__name:"change-verification",props:{uc_id:{},onRefresh:{type:Function}},setup(c,{expose:r}){const{t:o}=T(),l=c,p=[{label:o("SSL.SiteSSL.index_17")+"(http)",value:"HTTP_CSR_HASH"},{label:o("SSL.SiteSSL.index_17")+"(https)",value:"HTTPS_CSR_HASH"},{label:o("SSL.index_12"),value:"CNAME_CSR_HASH"}],a=x({dcvMethod:"HTTP_CSR_HASH"});return r({onConfirm:async()=>{const s={uc_id:l.uc_id,dcv_method:a.dcvMethod};await b(s),l.onRefresh()}}),(s,e)=>{const m=y,u=w,d=v,f=h;return C(),g("div",M,[t(d,null,{default:i(()=>[t(u,{label:s.$t("Term.index_12")},{default:i(()=>[t(m,{value:_(a).dcvMethod,"onUpdate:value":e[0]||(e[0]=S=>_(a).dcvMethod=S),options:p},null,8,["value"])]),_:1},8,["label"])]),_:1}),t(f,null,{default:i(()=>e[1]||(e[1]=[n("li",null,"File verification (HTTP): Ensure that the website can be accessed normally via http",-1),n("li",null,"File verification (HTTPS): Make sure that the website has https enabled and can be accessed normally through https",-1),n("li",null,"DNS verification: DNS record value needs to be manually resolved",-1),n("li",{class:"text-error"},"Note: Only one change is allowed within 20 minutes. Frequent changes will extend the application time.",-1)])),_:1,__:[1]})])}}});export{B as default}; diff --git a/BTPanel/static/vite/js/change-verification-TlK5GJ_e.js b/BTPanel/static/vite/js/change-verification-TlK5GJ_e.js new file mode 100644 index 00000000..939453a6 --- /dev/null +++ b/BTPanel/static/vite/js/change-verification-TlK5GJ_e.js @@ -0,0 +1 @@ +import{_ as h}from"./index-Dd5dC2sI.js?v=1774508183068";import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{a3 as b}from"./ssl-DQUJJMjp.js?v=1774508183068";import{k as H,R as T,e as x,$ as C,Z as g,a0 as t,a9 as i,S as _,_ as n}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a1 as w,a6 as y}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./index-LQ-JIYiv.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const M={class:"p-20px"},B=H({__name:"change-verification",props:{uc_id:{},onRefresh:{type:Function}},setup(c,{expose:r}){const{t:o}=T(),l=c,p=[{label:o("SSL.SiteSSL.index_17")+"(http)",value:"HTTP_CSR_HASH"},{label:o("SSL.SiteSSL.index_17")+"(https)",value:"HTTPS_CSR_HASH"},{label:o("SSL.index_12"),value:"CNAME_CSR_HASH"}],a=x({dcvMethod:"HTTP_CSR_HASH"});return r({onConfirm:async()=>{const s={uc_id:l.uc_id,dcv_method:a.dcvMethod};await b(s),l.onRefresh()}}),(s,e)=>{const m=y,u=w,d=v,f=h;return C(),g("div",M,[t(d,null,{default:i(()=>[t(u,{label:s.$t("Term.index_12")},{default:i(()=>[t(m,{value:_(a).dcvMethod,"onUpdate:value":e[0]||(e[0]=S=>_(a).dcvMethod=S),options:p},null,8,["value"])]),_:1},8,["label"])]),_:1}),t(f,null,{default:i(()=>e[1]||(e[1]=[n("li",null,"File verification (HTTP): Ensure that the website can be accessed normally via http",-1),n("li",null,"File verification (HTTPS): Make sure that the website has https enabled and can be accessed normally through https",-1),n("li",null,"DNS verification: DNS record value needs to be manually resolved",-1),n("li",{class:"text-error"},"Note: Only one change is allowed within 20 minutes. Frequent changes will extend the application time.",-1)])),_:1,__:[1]})])}}});export{B as default}; diff --git a/BTPanel/static/vite/js/change-verification-legacy-DNGOFs9E.js b/BTPanel/static/vite/js/change-verification-legacy-DNGOFs9E.js deleted file mode 100644 index 19b69b68..00000000 --- a/BTPanel/static/vite/js/change-verification-legacy-DNGOFs9E.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./ssl-legacy-BRxc0DyI.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,t){"use strict";var l,a,n,i,s,c,u,o,r,d,_,S,h,v;return{setters:[e=>{l=e._},e=>{a=e._},e=>{n=e.a3},e=>{i=e.k,s=e.R,c=e.e,u=e.$,o=e.Z,r=e.a0,d=e.a9,_=e.S,S=e._},e=>{h=e.a1,v=e.a6},null,null],execute:function(){const t={class:"p-20px"};e("default",i({__name:"change-verification",props:{uc_id:{},onRefresh:{type:Function}},setup(e,{expose:i}){const{t:p}=s(),y=e,f=[{label:p("SSL.SiteSSL.index_17")+"(http)",value:"HTTP_CSR_HASH"},{label:p("SSL.SiteSSL.index_17")+"(https)",value:"HTTPS_CSR_HASH"},{label:p("SSL.index_12"),value:"CNAME_CSR_HASH"}],g=c({dcvMethod:"HTTP_CSR_HASH"});return i({onConfirm:async()=>{const e={uc_id:y.uc_id,dcv_method:g.dcvMethod};await n(e),y.onRefresh()}}),(e,n)=>{const i=v,s=h,c=a,p=l;return u(),o("div",t,[r(c,null,{default:d((()=>[r(s,{label:e.$t("Term.index_12")},{default:d((()=>[r(i,{value:_(g).dcvMethod,"onUpdate:value":n[0]||(n[0]=e=>_(g).dcvMethod=e),options:f},null,8,["value"])])),_:1},8,["label"])])),_:1}),r(p,null,{default:d((()=>n[1]||(n[1]=[S("li",null,"File verification (HTTP): Ensure that the website can be accessed normally via http",-1),S("li",null,"File verification (HTTPS): Make sure that the website has https enabled and can be accessed normally through https",-1),S("li",null,"DNS verification: DNS record value needs to be manually resolved",-1),S("li",{class:"text-error"},"Note: Only one change is allowed within 20 minutes. Frequent changes will extend the application time.",-1)]))),_:1,__:[1]})])}}}))}}})); diff --git a/BTPanel/static/vite/js/change-verification-legacy-DweqxCKD.js b/BTPanel/static/vite/js/change-verification-legacy-DweqxCKD.js new file mode 100644 index 00000000..93b18138 --- /dev/null +++ b/BTPanel/static/vite/js/change-verification-legacy-DweqxCKD.js @@ -0,0 +1 @@ +System.register(["./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./ssl-legacy-B0LFPLeC.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,t){"use strict";var l,a,n,i,s,c,u,o,r,d,_,S,h,v;return{setters:[e=>{l=e._},e=>{a=e._},e=>{n=e.a3},e=>{i=e.k,s=e.R,c=e.e,u=e.$,o=e.Z,r=e.a0,d=e.a9,_=e.S,S=e._},e=>{h=e.a1,v=e.a6},null,null],execute:function(){const t={class:"p-20px"};e("default",i({__name:"change-verification",props:{uc_id:{},onRefresh:{type:Function}},setup(e,{expose:i}){const{t:p}=s(),y=e,f=[{label:p("SSL.SiteSSL.index_17")+"(http)",value:"HTTP_CSR_HASH"},{label:p("SSL.SiteSSL.index_17")+"(https)",value:"HTTPS_CSR_HASH"},{label:p("SSL.index_12"),value:"CNAME_CSR_HASH"}],g=c({dcvMethod:"HTTP_CSR_HASH"});return i({onConfirm:async()=>{const e={uc_id:y.uc_id,dcv_method:g.dcvMethod};await n(e),y.onRefresh()}}),(e,n)=>{const i=v,s=h,c=a,p=l;return u(),o("div",t,[r(c,null,{default:d((()=>[r(s,{label:e.$t("Term.index_12")},{default:d((()=>[r(i,{value:_(g).dcvMethod,"onUpdate:value":n[0]||(n[0]=e=>_(g).dcvMethod=e),options:f},null,8,["value"])])),_:1},8,["label"])])),_:1}),r(p,null,{default:d((()=>n[1]||(n[1]=[S("li",null,"File verification (HTTP): Ensure that the website can be accessed normally via http",-1),S("li",null,"File verification (HTTPS): Make sure that the website has https enabled and can be accessed normally through https",-1),S("li",null,"DNS verification: DNS record value needs to be manually resolved",-1),S("li",{class:"text-error"},"Note: Only one change is allowed within 20 minutes. Frequent changes will extend the application time.",-1)]))),_:1,__:[1]})])}}}))}}})); diff --git a/BTPanel/static/vite/js/clear-BgltbrPn.js b/BTPanel/static/vite/js/clear-BgltbrPn.js deleted file mode 100644 index 43a6adf3..00000000 --- a/BTPanel/static/vite/js/clear-BgltbrPn.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as w}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{n as y,h as $}from"./index-BTglIPU2.js?v=1773287522785";import{i as N,r as S}from"./tools-CMJvIbk2.js?v=1773287522785";import{a1 as W,a6 as A,aH as R,B as V}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as E,R as L,r as _,e as P,$ as j,Z as D,a0 as a,a9 as n,_ as H,S as l,j as p,aa as u}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./rules-pmZEUQ_o.js?v=1773287522785";const I={class:"p-20px pt-24px pb-8px"},O={class:"w-260px"},K=E({__name:"clear",setup(T,{expose:m}){const{t:i}=L(),r=_(null),t=P({site:[]}),f={site:{trigger:["change"],validator:()=>t.site.length===0?new Error(i("Waf.Block.index_27")):!0}},s=_([]),d=()=>{t.site=s.value.map(e=>e.value)},g=()=>{t.site=[]},v=async()=>{const{message:e}=await N();y(e)&&(s.value=e.map(o=>({label:o.siteName,value:o.siteName})))},x=async()=>{var e;return await((e=r.value)==null?void 0:e.validate()),$({title:i("Waf.Block.index_28"),content:i("Waf.Block.index_29"),onConfirm:async()=>{const o=t.site.length===s.value.length;await S({safe_logs:0,site_all:o?1:0,site_logs:t.site})}}),!1};return v(),m({onConfirm:x}),(e,o)=>{const c=V,h=R,k=A,B=W,b=w;return j(),D("div",I,[a(b,{ref_key:"formRef",ref:r,model:l(t),rules:f},{default:n(()=>[a(B,{label:e.$t("Waf.Block.index_25"),path:"site"},{default:n(()=>[H("div",O,[a(k,{value:l(t).site,"onUpdate:value":o[0]||(o[0]=C=>l(t).site=C),options:l(s),multiple:!0,filterable:!0,"max-tag-count":"responsive",placeholder:e.$t("Waf.Block.index_27")},{header:n(()=>[a(h,{class:"w-full"},{default:n(()=>[a(c,{class:"flex-1",onClick:d},{default:n(()=>[p(u(e.$t("Public.All")),1)]),_:1}),a(c,{class:"flex-1",onClick:g},{default:n(()=>[p(u(e.$t("Public.Btn.Cancel")),1)]),_:1})]),_:1})]),_:1},8,["value","options","placeholder"])])]),_:1},8,["label"])]),_:1},8,["model"])])}}});export{K as default}; diff --git a/BTPanel/static/vite/js/clear-C-5tDYsO.js b/BTPanel/static/vite/js/clear-C-5tDYsO.js new file mode 100644 index 00000000..ecfbce5c --- /dev/null +++ b/BTPanel/static/vite/js/clear-C-5tDYsO.js @@ -0,0 +1 @@ +import{_ as w}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{n as y,h as $}from"./index-LQ-JIYiv.js?v=1774508183068";import{i as N,r as S}from"./tools-BySNFwYS.js?v=1774508183068";import{a1 as W,a6 as A,aH as R,B as V}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import{k as E,R as L,r as _,e as P,$ as j,Z as D,a0 as a,a9 as n,_ as H,S as l,j as p,aa as u}from"./vue-core-BlDeWrD6.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./rules-O4jjPwN3.js?v=1774508183068";const I={class:"p-20px pt-24px pb-8px"},O={class:"w-260px"},K=E({__name:"clear",setup(T,{expose:m}){const{t:i}=L(),r=_(null),t=P({site:[]}),f={site:{trigger:["change"],validator:()=>t.site.length===0?new Error(i("Waf.Block.index_27")):!0}},s=_([]),d=()=>{t.site=s.value.map(e=>e.value)},g=()=>{t.site=[]},v=async()=>{const{message:e}=await N();y(e)&&(s.value=e.map(o=>({label:o.siteName,value:o.siteName})))},x=async()=>{var e;return await((e=r.value)==null?void 0:e.validate()),$({title:i("Waf.Block.index_28"),content:i("Waf.Block.index_29"),onConfirm:async()=>{const o=t.site.length===s.value.length;await S({safe_logs:0,site_all:o?1:0,site_logs:t.site})}}),!1};return v(),m({onConfirm:x}),(e,o)=>{const c=V,h=R,k=A,B=W,b=w;return j(),D("div",I,[a(b,{ref_key:"formRef",ref:r,model:l(t),rules:f},{default:n(()=>[a(B,{label:e.$t("Waf.Block.index_25"),path:"site"},{default:n(()=>[H("div",O,[a(k,{value:l(t).site,"onUpdate:value":o[0]||(o[0]=C=>l(t).site=C),options:l(s),multiple:!0,filterable:!0,"max-tag-count":"responsive",placeholder:e.$t("Waf.Block.index_27")},{header:n(()=>[a(h,{class:"w-full"},{default:n(()=>[a(c,{class:"flex-1",onClick:d},{default:n(()=>[p(u(e.$t("Public.All")),1)]),_:1}),a(c,{class:"flex-1",onClick:g},{default:n(()=>[p(u(e.$t("Public.Btn.Cancel")),1)]),_:1})]),_:1})]),_:1},8,["value","options","placeholder"])])]),_:1},8,["label"])]),_:1},8,["model"])])}}});export{K as default}; diff --git a/BTPanel/static/vite/js/clear-legacy-BX3gb-e0.js b/BTPanel/static/vite/js/clear-legacy-BX3gb-e0.js deleted file mode 100644 index 6878216b..00000000 --- a/BTPanel/static/vite/js/clear-legacy-BX3gb-e0.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./tools-legacy-DOwS7RGc.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./rules-legacy-CRGREktS.js?v=1773287522785"],(function(e,l){"use strict";var a,t,s,i,n,c,o,u,r,_,f,d,p,g,v,x,m,y,h,j,k;return{setters:[e=>{a=e._},e=>{t=e.n,s=e.h},e=>{i=e.i,n=e.r},e=>{c=e.a1,o=e.a6,u=e.aH,r=e.B},e=>{_=e.k,f=e.R,d=e.r,p=e.e,g=e.$,v=e.Z,x=e.a0,m=e.a9,y=e._,h=e.S,j=e.j,k=e.aa},null,null],execute:function(){const l={class:"p-20px pt-24px pb-8px"},b={class:"w-260px"};e("default",_({__name:"clear",setup(e,{expose:_}){const{t:B}=f(),w=d(null),C=p({site:[]}),W={site:{trigger:["change"],validator:()=>0!==C.site.length||new Error(B("Waf.Block.index_27"))}},$=d([]),N=()=>{C.site=$.value.map((e=>e.value))},P=()=>{C.site=[]};return(async()=>{const{message:e}=await i();t(e)&&($.value=e.map((e=>({label:e.siteName,value:e.siteName}))))})(),_({onConfirm:async()=>(await(w.value?.validate()),s({title:B("Waf.Block.index_28"),content:B("Waf.Block.index_29"),onConfirm:async()=>{const e=C.site.length===$.value.length;await n({safe_logs:0,site_all:e?1:0,site_logs:C.site})}}),!1)}),(e,t)=>{const s=r,i=u,n=o,_=c,f=a;return g(),v("div",l,[x(f,{ref_key:"formRef",ref:w,model:h(C),rules:W},{default:m((()=>[x(_,{label:e.$t("Waf.Block.index_25"),path:"site"},{default:m((()=>[y("div",b,[x(n,{value:h(C).site,"onUpdate:value":t[0]||(t[0]=e=>h(C).site=e),options:h($),multiple:!0,filterable:!0,"max-tag-count":"responsive",placeholder:e.$t("Waf.Block.index_27")},{header:m((()=>[x(i,{class:"w-full"},{default:m((()=>[x(s,{class:"flex-1",onClick:N},{default:m((()=>[j(k(e.$t("Public.All")),1)])),_:1}),x(s,{class:"flex-1",onClick:P},{default:m((()=>[j(k(e.$t("Public.Btn.Cancel")),1)])),_:1})])),_:1})])),_:1},8,["value","options","placeholder"])])])),_:1},8,["label"])])),_:1},8,["model"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/clear-legacy-DCZg3dF2.js b/BTPanel/static/vite/js/clear-legacy-DCZg3dF2.js new file mode 100644 index 00000000..76a3201b --- /dev/null +++ b/BTPanel/static/vite/js/clear-legacy-DCZg3dF2.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./tools-legacy-B1VLhbNY.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./rules-legacy-DkFBn6b4.js?v=1774508183068"],(function(e,l){"use strict";var a,t,s,i,n,c,o,u,r,_,f,d,p,g,v,x,m,y,h,j,k;return{setters:[e=>{a=e._},e=>{t=e.n,s=e.h},e=>{i=e.i,n=e.r},e=>{c=e.a1,o=e.a6,u=e.aH,r=e.B},e=>{_=e.k,f=e.R,d=e.r,p=e.e,g=e.$,v=e.Z,x=e.a0,m=e.a9,y=e._,h=e.S,j=e.j,k=e.aa},null,null],execute:function(){const l={class:"p-20px pt-24px pb-8px"},b={class:"w-260px"};e("default",_({__name:"clear",setup(e,{expose:_}){const{t:B}=f(),w=d(null),C=p({site:[]}),W={site:{trigger:["change"],validator:()=>0!==C.site.length||new Error(B("Waf.Block.index_27"))}},$=d([]),N=()=>{C.site=$.value.map((e=>e.value))},P=()=>{C.site=[]};return(async()=>{const{message:e}=await i();t(e)&&($.value=e.map((e=>({label:e.siteName,value:e.siteName}))))})(),_({onConfirm:async()=>(await(w.value?.validate()),s({title:B("Waf.Block.index_28"),content:B("Waf.Block.index_29"),onConfirm:async()=>{const e=C.site.length===$.value.length;await n({safe_logs:0,site_all:e?1:0,site_logs:C.site})}}),!1)}),(e,t)=>{const s=r,i=u,n=o,_=c,f=a;return g(),v("div",l,[x(f,{ref_key:"formRef",ref:w,model:h(C),rules:W},{default:m((()=>[x(_,{label:e.$t("Waf.Block.index_25"),path:"site"},{default:m((()=>[y("div",b,[x(n,{value:h(C).site,"onUpdate:value":t[0]||(t[0]=e=>h(C).site=e),options:h($),multiple:!0,filterable:!0,"max-tag-count":"responsive",placeholder:e.$t("Waf.Block.index_27")},{header:m((()=>[x(i,{class:"w-full"},{default:m((()=>[x(s,{class:"flex-1",onClick:N},{default:m((()=>[j(k(e.$t("Public.All")),1)])),_:1}),x(s,{class:"flex-1",onClick:P},{default:m((()=>[j(k(e.$t("Public.Btn.Cancel")),1)])),_:1})])),_:1})])),_:1},8,["value","options","placeholder"])])])),_:1},8,["label"])])),_:1},8,["model"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/clear-log-ByWX4xiC.js b/BTPanel/static/vite/js/clear-log-ByWX4xiC.js new file mode 100644 index 00000000..a4e3f841 --- /dev/null +++ b/BTPanel/static/vite/js/clear-log-ByWX4xiC.js @@ -0,0 +1 @@ +import{_ as y}from"./index-Dd5dC2sI.js?v=1774508183068";import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{p as w}from"./logs-CQBk7QBL.js?v=1774508183068";import"./index-LQ-JIYiv.js?v=1774508183068";import{u as h}from"./index-BONgYqGf.js?v=1774508183068";import{d as x}from"./index-pUfnnZXv.js?v=1774508183068";import{k as C,R as O,e as $,$ as N,Z as S,a0 as t,a9 as s,S as n,_ as k,aa as B}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a1 as R,a6 as A}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-DfO7qrru.js?v=1774508183068";import"./useLoading-BRu-BHcC.js?v=1774508183068";import"./index-DjU5tKNP.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-C6hImLDm.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CXJGqQPN.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-ClVUo_Yi.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import"./useTableData-D5IECpFr.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-DdRCjLAW.js?v=1774508183068";import"./index-DWaNuN7x.js?v=1774508183068";import"./firewall-BKBwyxV4.js?v=1774508183068";import"./logs.vue_vue_type_script_setup_true_lang-7TPZLZfm.js?v=1774508183068";const E={class:"p-16px"},L={class:"text-warning font-bold"},se=C({__name:"clear-log",props:{onRefresh:{type:Function,default:()=>{}}},setup(m,{expose:c}){const{t:o}=O(),u=h(),_=m,e=$({type:"access",time:"all"}),f=[{label:"Access",value:"access"},{label:"Error",value:"error"}],d=[{label:o("Public.All"),value:"all"},{label:o("Only retain 7 days of logs"),value:"7"},{label:o("Only retain 30 days of logs"),value:"30"},{label:o("Only retain 180 days of logs"),value:"180"}];return c({onConfirm:async()=>{await w({siteName:u.websiteName,logType:e.type,time_search:JSON.stringify(x(e.time))}),_.onRefresh()}}),(l,a)=>{const r=A,p=R,b=v,g=y;return N(),S("div",E,[t(b,null,{default:s(()=>[t(p,{label:l.$t("Home.index_54")},{default:s(()=>[t(r,{class:"w-200px",options:f,value:n(e).type,"onUpdate:value":a[0]||(a[0]=i=>n(e).type=i)},null,8,["value"])]),_:1},8,["label"]),t(p,{label:l.$t("Clear range")},{default:s(()=>[t(r,{class:"w-200px",options:d,value:n(e).time,"onUpdate:value":a[1]||(a[1]=i=>n(e).time=i),"consistent-menu-width":!1},null,8,["value"])]),_:1},8,["label"])]),_:1}),t(g,null,{default:s(()=>[k("li",L,B(l.$t("Cleaning up related logs may make troubleshooting more difficult; please proceed with caution.")),1)]),_:1})])}}});export{se as default}; diff --git a/BTPanel/static/vite/js/clear-log-legacy-BYIfcK0S.js b/BTPanel/static/vite/js/clear-log-legacy-BYIfcK0S.js deleted file mode 100644 index 72264a7d..00000000 --- a/BTPanel/static/vite/js/clear-log-legacy-BYIfcK0S.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./logs-legacy-32yr6NrT.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./index-legacy-LM5_xOUf.js?v=1773287522785","./index-legacy-Dwkxr13O.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-CvnE2rtV.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./index-legacy-Cv0QQQJ6.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BWPgT9-g.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BQ2Kqzbl.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BBkGleHZ.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-5qdKE57s.js?v=1773287522785","./index-legacy-BJO1GMTD.js?v=1773287522785","./firewall-legacy-BLYDdl9f.js?v=1773287522785","./logs.vue_vue_type_script_setup_true_lang-legacy-BItZEEdT.js?v=1773287522785"],(function(e,l){"use strict";var a,t,s,u,n,i,_,c,r,y,p,g,o,d,v,j,x;return{setters:[e=>{a=e._},e=>{t=e._},e=>{s=e.p},null,e=>{u=e.u},e=>{n=e.d},e=>{i=e.k,_=e.R,c=e.e,r=e.$,y=e.Z,p=e.a0,g=e.a9,o=e.S,d=e._,v=e.aa},e=>{j=e.a1,x=e.a6},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const l={class:"p-16px"},f={class:"text-warning font-bold"};e("default",i({__name:"clear-log",props:{onRefresh:{type:Function,default:()=>{}}},setup(e,{expose:i}){const{t:b}=_(),m=u(),w=e,h=c({type:"access",time:"all"}),N=[{label:"Access",value:"access"},{label:"Error",value:"error"}],O=[{label:b("Public.All"),value:"all"},{label:b("Only retain 7 days of logs"),value:"7"},{label:b("Only retain 30 days of logs"),value:"30"},{label:b("Only retain 180 days of logs"),value:"180"}];return i({onConfirm:async()=>{await s({siteName:m.websiteName,logType:h.type,time_search:JSON.stringify(n(h.time))}),w.onRefresh()}}),(e,s)=>{const u=x,n=j,i=t,_=a;return r(),y("div",l,[p(i,null,{default:g((()=>[p(n,{label:e.$t("Home.index_54")},{default:g((()=>[p(u,{class:"w-200px",options:N,value:o(h).type,"onUpdate:value":s[0]||(s[0]=e=>o(h).type=e)},null,8,["value"])])),_:1},8,["label"]),p(n,{label:e.$t("Clear range")},{default:g((()=>[p(u,{class:"w-200px",options:O,value:o(h).time,"onUpdate:value":s[1]||(s[1]=e=>o(h).time=e),"consistent-menu-width":!1},null,8,["value"])])),_:1},8,["label"])])),_:1}),p(_,null,{default:g((()=>[d("li",f,v(e.$t("Cleaning up related logs may make troubleshooting more difficult; please proceed with caution.")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/clear-log-legacy-D7kbrG16.js b/BTPanel/static/vite/js/clear-log-legacy-D7kbrG16.js new file mode 100644 index 00000000..38387cda --- /dev/null +++ b/BTPanel/static/vite/js/clear-log-legacy-D7kbrG16.js @@ -0,0 +1 @@ +System.register(["./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./logs-legacy-t08k3oxu.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./index-legacy-Da-tXIyC.js?v=1774508183068","./index-legacy-DH57xPhz.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-2by_1yqo.js?v=1774508183068","./useLoading-legacy-BYj3sJTe.js?v=1774508183068","./index-legacy-B9j5eRUf.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-C46zd6Uw.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-DaMVKsAK.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-Cr0WR19L.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-OnmpsBBi.js?v=1774508183068","./index-legacy-DaaNMh8I.js?v=1774508183068","./firewall-legacy-DWQWVaXU.js?v=1774508183068","./logs.vue_vue_type_script_setup_true_lang-legacy-xl_W6kqc.js?v=1774508183068"],(function(e,l){"use strict";var a,t,s,u,n,i,_,c,r,p,y,g,o,d,v,j,x;return{setters:[e=>{a=e._},e=>{t=e._},e=>{s=e.p},null,e=>{u=e.u},e=>{n=e.d},e=>{i=e.k,_=e.R,c=e.e,r=e.$,p=e.Z,y=e.a0,g=e.a9,o=e.S,d=e._,v=e.aa},e=>{j=e.a1,x=e.a6},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const l={class:"p-16px"},f={class:"text-warning font-bold"};e("default",i({__name:"clear-log",props:{onRefresh:{type:Function,default:()=>{}}},setup(e,{expose:i}){const{t:b}=_(),m=u(),w=e,h=c({type:"access",time:"all"}),O=[{label:"Access",value:"access"},{label:"Error",value:"error"}],$=[{label:b("Public.All"),value:"all"},{label:b("Only retain 7 days of logs"),value:"7"},{label:b("Only retain 30 days of logs"),value:"30"},{label:b("Only retain 180 days of logs"),value:"180"}];return i({onConfirm:async()=>{await s({siteName:m.websiteName,logType:h.type,time_search:JSON.stringify(n(h.time))}),w.onRefresh()}}),(e,s)=>{const u=x,n=j,i=t,_=a;return r(),p("div",l,[y(i,null,{default:g((()=>[y(n,{label:e.$t("Home.index_54")},{default:g((()=>[y(u,{class:"w-200px",options:O,value:o(h).type,"onUpdate:value":s[0]||(s[0]=e=>o(h).type=e)},null,8,["value"])])),_:1},8,["label"]),y(n,{label:e.$t("Clear range")},{default:g((()=>[y(u,{class:"w-200px",options:$,value:o(h).time,"onUpdate:value":s[1]||(s[1]=e=>o(h).time=e),"consistent-menu-width":!1},null,8,["value"])])),_:1},8,["label"])])),_:1}),y(_,null,{default:g((()=>[d("li",f,v(e.$t("Cleaning up related logs may make troubleshooting more difficult; please proceed with caution.")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/clear-log-xjD3fP-R.js b/BTPanel/static/vite/js/clear-log-xjD3fP-R.js deleted file mode 100644 index 092cbf16..00000000 --- a/BTPanel/static/vite/js/clear-log-xjD3fP-R.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as y}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{p as w}from"./logs-CbT7wTGd.js?v=1773287522785";import"./index-BTglIPU2.js?v=1773287522785";import{u as h}from"./index-CsQ9XTTD.js?v=1773287522785";import{d as x}from"./index-TwdUTOyA.js?v=1773287522785";import{k as C,R as O,e as $,$ as N,Z as S,a0 as t,a9 as s,S as n,_ as k,aa as B}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as R,a6 as A}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-D2Bk83Ev.js?v=1773287522785";import"./useLoading-CZ2gSAW7.js?v=1773287522785";import"./index-BRQskX9P.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DgjjuUjT.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-B7YvCBmY.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-C5hb-Th7.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import"./useTableData-BmkIKQ_R.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-ChFCGdPN.js?v=1773287522785";import"./index-lEMZglLp.js?v=1773287522785";import"./firewall-jQIxKxfN.js?v=1773287522785";import"./logs.vue_vue_type_script_setup_true_lang-ETP00Jn6.js?v=1773287522785";const E={class:"p-16px"},L={class:"text-warning font-bold"},se=C({__name:"clear-log",props:{onRefresh:{type:Function,default:()=>{}}},setup(m,{expose:c}){const{t:o}=O(),u=h(),_=m,e=$({type:"access",time:"all"}),f=[{label:"Access",value:"access"},{label:"Error",value:"error"}],d=[{label:o("Public.All"),value:"all"},{label:o("Only retain 7 days of logs"),value:"7"},{label:o("Only retain 30 days of logs"),value:"30"},{label:o("Only retain 180 days of logs"),value:"180"}];return c({onConfirm:async()=>{await w({siteName:u.websiteName,logType:e.type,time_search:JSON.stringify(x(e.time))}),_.onRefresh()}}),(l,a)=>{const r=A,p=R,b=v,g=y;return N(),S("div",E,[t(b,null,{default:s(()=>[t(p,{label:l.$t("Home.index_54")},{default:s(()=>[t(r,{class:"w-200px",options:f,value:n(e).type,"onUpdate:value":a[0]||(a[0]=i=>n(e).type=i)},null,8,["value"])]),_:1},8,["label"]),t(p,{label:l.$t("Clear range")},{default:s(()=>[t(r,{class:"w-200px",options:d,value:n(e).time,"onUpdate:value":a[1]||(a[1]=i=>n(e).time=i),"consistent-menu-width":!1},null,8,["value"])]),_:1},8,["label"])]),_:1}),t(g,null,{default:s(()=>[k("li",L,B(l.$t("Cleaning up related logs may make troubleshooting more difficult; please proceed with caution.")),1)]),_:1})])}}});export{se as default}; diff --git a/BTPanel/static/vite/js/compiler-Dw1kpYTG.js b/BTPanel/static/vite/js/compiler-Dw1kpYTG.js new file mode 100644 index 00000000..e4a8cf64 --- /dev/null +++ b/BTPanel/static/vite/js/compiler-Dw1kpYTG.js @@ -0,0 +1 @@ +import{av as s,a6 as r}from"./index-LQ-JIYiv.js?v=1774508183068";const{t}=r.global,a=(e,o=!0)=>s.post("/breaking_through?action=set_compiler_status",e,{requestOptions:{loading:o?t("Security.Api.Index_5"):"",successMessage:!!o}}),n=e=>s.post("/breaking_through?action=get_compiler_info",e),u=()=>s.post("/breaking_through?action=get_linux_users",{limit:999}),c=e=>s.post("/breaking_through?action=add_user_to_compiler",e,{requestOptions:{loading:t("Security.Api.Index_4"),successMessage:!0}}),p=e=>s.post("/breaking_through?action=del_user_to_compiler",e,{requestOptions:{loading:t("Security.Api.Index_3"),successMessage:!0}});export{c as a,n as b,p as d,u as g,a as s}; diff --git a/BTPanel/static/vite/js/compiler-LRY1dVfI.js b/BTPanel/static/vite/js/compiler-LRY1dVfI.js deleted file mode 100644 index ebad29c5..00000000 --- a/BTPanel/static/vite/js/compiler-LRY1dVfI.js +++ /dev/null @@ -1 +0,0 @@ -import{as as s,a3 as r}from"./index-BTglIPU2.js?v=1773287522785";const{t}=r.global,a=(e,o=!0)=>s.post("/breaking_through?action=set_compiler_status",e,{requestOptions:{loading:o?t("Security.Api.Index_5"):"",successMessage:!!o}}),n=e=>s.post("/breaking_through?action=get_compiler_info",e),u=()=>s.post("/breaking_through?action=get_linux_users",{limit:999}),c=e=>s.post("/breaking_through?action=add_user_to_compiler",e,{requestOptions:{loading:t("Security.Api.Index_4"),successMessage:!0}}),p=e=>s.post("/breaking_through?action=del_user_to_compiler",e,{requestOptions:{loading:t("Security.Api.Index_3"),successMessage:!0}});export{c as a,n as b,p as d,u as g,a as s}; diff --git a/BTPanel/static/vite/js/compiler-legacy-BZBBuoV-.js b/BTPanel/static/vite/js/compiler-legacy-BZBBuoV-.js deleted file mode 100644 index 09d61d98..00000000 --- a/BTPanel/static/vite/js/compiler-legacy-BZBBuoV-.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785"],(function(e,t){"use strict";var s,i;return{setters:[e=>{s=e.as,i=e.a3}],execute:function(){const{t:t}=i.global;e("s",((e,i=!0)=>s.post("/breaking_through?action=set_compiler_status",e,{requestOptions:{loading:i?t("Security.Api.Index_5"):"",successMessage:!!i}}))),e("b",(e=>s.post("/breaking_through?action=get_compiler_info",e))),e("g",(()=>s.post("/breaking_through?action=get_linux_users",{limit:999}))),e("a",(e=>s.post("/breaking_through?action=add_user_to_compiler",e,{requestOptions:{loading:t("Security.Api.Index_4"),successMessage:!0}}))),e("d",(e=>s.post("/breaking_through?action=del_user_to_compiler",e,{requestOptions:{loading:t("Security.Api.Index_3"),successMessage:!0}})))}}})); diff --git a/BTPanel/static/vite/js/compiler-legacy-ChOGq2aX.js b/BTPanel/static/vite/js/compiler-legacy-ChOGq2aX.js new file mode 100644 index 00000000..567d1a79 --- /dev/null +++ b/BTPanel/static/vite/js/compiler-legacy-ChOGq2aX.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068"],(function(e,t){"use strict";var s,i;return{setters:[e=>{s=e.av,i=e.a6}],execute:function(){const{t:t}=i.global;e("s",((e,i=!0)=>s.post("/breaking_through?action=set_compiler_status",e,{requestOptions:{loading:i?t("Security.Api.Index_5"):"",successMessage:!!i}}))),e("b",(e=>s.post("/breaking_through?action=get_compiler_info",e))),e("g",(()=>s.post("/breaking_through?action=get_linux_users",{limit:999}))),e("a",(e=>s.post("/breaking_through?action=add_user_to_compiler",e,{requestOptions:{loading:t("Security.Api.Index_4"),successMessage:!0}}))),e("d",(e=>s.post("/breaking_through?action=del_user_to_compiler",e,{requestOptions:{loading:t("Security.Api.Index_3"),successMessage:!0}})))}}})); diff --git a/BTPanel/static/vite/js/config-31QFia3Q.js b/BTPanel/static/vite/js/config-31QFia3Q.js new file mode 100644 index 00000000..772d77a1 --- /dev/null +++ b/BTPanel/static/vite/js/config-31QFia3Q.js @@ -0,0 +1 @@ +import{_ as A}from"./index-Dd5dC2sI.js?v=1774508183068";import{_ as O}from"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import{c as L,n as T,p as N}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as U}from"./useTableColumns-BpMo4f8r.js?v=1774508183068";import{u as B}from"./useTableData-D5IECpFr.js?v=1774508183068";import{B as M,C as D,D as I}from"./setting-9MLJBbIL.js?v=1774508183068";import{_ as q}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{k as P,ao as V,c as j,$ as y,Z as C,_ as p,aa as v,L as $,S as s,F,P as H,ap as K,R as k,r as w,e as z,a0 as r,a9 as h,j as G}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a1 as Y,a6 as Z,b as J,B as Q}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";const X={class:"param-list"},ee=["onClick"],te=P({__name:"param",props:{value:{default:()=>[]},valueModifiers:{}},emits:K(["change"],["update:value"]),setup(b,{emit:l}){const _=l,o=V(b,"value"),n=["POST","GET","PUT","OPTIONS","HEAD","DELETE","TRACE","PATCH","MOVE","COPY","LINK","UNLINK","WRAPPED","PROPFIND","PROPPATCH","MKCOL","CONNECT","SRARCH"],f=a=>o.value.includes(a),i=j(()=>n.length===o.value.length),t=()=>{o.value=[],i.value||(o.value=n.map(a=>a)),_("change")},e=a=>{const m=o.value.indexOf(a);m===-1?o.value.push(a):o.value.splice(m,1),_("change")};return(a,m)=>(y(),C("div",X,[p("div",{class:$(["param-item",{active:s(i)}]),onClick:t},v(a.$t("Public.SelectAll")),3),(y(),C(F,null,H(n,c=>p("div",{key:c,class:$(["param-item",{active:f(c)}]),onClick:S=>e(c)},v(c),11,ee)),64))]))}}),ae=L(te,[["__scopeId","data-v-d6f769f3"]]),ne={class:"p-20px"},oe={class:"w-100px mr-8px"},se={class:"w-220px"},le={class:"w-328px"},re=P({__name:"form",props:{isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(b,{expose:l,emit:_}){const o=_,{t:n}=k(),f=w(null),i=w(null),t=z({type:"refuse",url:"",param:[]}),e=[{label:n("Waf.Setting.config_111"),value:"refuse"},{label:n("Waf.Setting.config_110"),value:"accept"}],a={url:{trigger:["blur","input"],validator:()=>t.url.trim()===""?new Error(n("Waf.Setting.config_55")):!0},param:{validator:()=>t.param.length===0?new Error(n("Waf.Setting.config_112")):!0}},m=()=>{var u;(u=i.value)==null||u.restoreValidation()},c=()=>({type:t.type,url:t.url,param:t.param.join(",")});return l({onConfirm:async()=>{var u;await((u=f.value)==null?void 0:u.validate()),await M(c()),o("refresh")}}),(u,d)=>{const x=Z,E=J,R=Y,W=q;return y(),C("div",ne,[r(W,{ref_key:"formRef",ref:f,model:s(t),rules:a},{default:h(()=>[r(R,{label:u.$t("Waf.Setting.config_73"),path:"url"},{default:h(()=>[p("div",oe,[r(x,{value:s(t).type,"onUpdate:value":d[0]||(d[0]=g=>s(t).type=g),options:e},null,8,["value"])]),p("div",se,[r(E,{value:s(t).url,"onUpdate:value":d[1]||(d[1]=g=>s(t).url=g),placeholder:"URL"},null,8,["value"])])]),_:1},8,["label"]),r(R,{ref_key:"paramItemRef",ref:i,label:u.$t("Waf.Setting.config_65"),path:"param"},{default:h(()=>[p("div",le,[r(ae,{value:s(t).param,"onUpdate:value":d[2]||(d[2]=g=>s(t).param=g),onChange:m},null,8,["value"])])]),_:1},8,["label"])]),_:1},8,["model"])])}}}),ie={class:"p-20px"},ce={class:"flex mb-16px"},$e=P({__name:"config",setup(b){const{t:l}=k(),_=e=>{N({title:e.title,width:550,footer:!0,data:{...e.data,onRefresh:()=>{t()}},component:re})},o=async()=>{_({title:l("Waf.Setting.config_64"),data:{isEdit:!1}})},{table:n,columns:f,setLoading:i}=B([{key:"url",title:"URL",ellipsis:{tooltip:!0}},{key:"type",title:l("Waf.Setting.config_73"),width:80,ellipsis:{tooltip:!0},render:e=>e.type==="refuse"?l("Waf.Setting.config_111"):l("Waf.Setting.config_110")},{key:"mode",title:l("Waf.Setting.config_93"),width:216,ellipsis:{tooltip:!0},render:e=>Object.entries(e.mode).map(([,a])=>a).join(", ")},U({width:60,options:e=>[{label:l("Public.Btn.Del"),onClick:async()=>{await D({url:e.url}),t()}}]})]),t=async()=>{try{i(!0);const{message:e}=await I();n.data=T(e)?e:[]}finally{i(!1)}};return t(),(e,a)=>{const m=Q,c=O,S=A;return y(),C("div",ie,[p("div",ce,[r(m,{type:"primary",onClick:o},{default:h(()=>[G(v(e.$t("Public.Btn.Add")),1)]),_:1})]),r(c,{"max-height":270,loading:s(n).loading,data:s(n).data,columns:s(f)},null,8,["loading","data","columns"]),r(S,{class:"mt-12px"},{default:h(()=>[p("li",null,v(e.$t("Waf.Setting.config_108")),1),p("li",null,v(e.$t("Waf.Setting.config_109")),1)]),_:1})])}}});export{$e as default}; diff --git a/BTPanel/static/vite/js/config-768yqnVT.js b/BTPanel/static/vite/js/config-768yqnVT.js deleted file mode 100644 index d2e75294..00000000 --- a/BTPanel/static/vite/js/config-768yqnVT.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as y}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{i as S,m as h}from"./index-BTglIPU2.js?v=1773287522785";import{u as k}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{u as B}from"./useTableData-BmkIKQ_R.js?v=1773287522785";import{I as W,g as $,J as w}from"./setting-DouXuJGW.js?v=1773287522785";import{b as C,B as N}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as R,R as j,e as A,$ as D,Z as V,_ as a,a0 as s,S as n,a9 as _,j as I,aa as l,N as L}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";const O={class:"p-20px"},P={class:"flex mb-16px"},T={class:"flex-1 mr-16px"},U={class:"w-230px mr-16px"},ot=R({__name:"config",setup(E){const{t:r}=j(),e=A({text:"",text2:""}),f=async()=>{if(e.text.trim()===""||e.text2.trim()===""){h.error(r("Waf.Setting.config_170"));return}await w(L(e)),e.text="",e.text2="",p()},{table:c,columns:d,setLoading:u}=B([{key:"text",title:r("Waf.Setting.config_164"),ellipsis:{tooltip:!0}},{key:"text2",title:r("Waf.Setting.config_165"),ellipsis:{tooltip:!0}},k({width:80,options:t=>[{label:r("Public.Btn.Del"),onClick:async()=>{await W({body:{[t.text]:t.text2}}),p()}}]})]),p=async()=>{try{u(!0);const{message:t}=await $();S(t)&&(c.data=t.body_character_string.map(o=>{const i=Object.keys(o);return{text:i[0],text2:o[i[0]]}}))}finally{u(!1)}};return p(),(t,o)=>{const i=C,g=N,x=v,b=y;return D(),V("div",O,[a("div",P,[a("div",T,[s(i,{value:n(e).text,"onUpdate:value":o[0]||(o[0]=m=>n(e).text=m),placeholder:t.$t("Waf.Setting.config_164")},null,8,["value","placeholder"])]),a("div",U,[s(i,{value:n(e).text2,"onUpdate:value":o[1]||(o[1]=m=>n(e).text2=m),placeholder:t.$t("Waf.Setting.config_165")},null,8,["value","placeholder"])]),s(g,{type:"primary",onClick:f},{default:_(()=>[I(l(t.$t("Public.Btn.Add")),1)]),_:1})]),s(x,{"max-height":230,loading:n(c).loading,data:n(c).data,columns:n(d)},null,8,["loading","data","columns"]),s(b,{class:"mt-16px"},{default:_(()=>[a("li",null,l(t.$t("Waf.Setting.config_166")),1),a("li",null,l(t.$t("Waf.Setting.config_167")),1),a("li",null,l(t.$t("Waf.Setting.config_168")),1),a("li",null,l(t.$t("Waf.Setting.config_169")),1)]),_:1})])}}});export{ot as default}; diff --git a/BTPanel/static/vite/js/config-B0YfuS_O.js b/BTPanel/static/vite/js/config-B0YfuS_O.js new file mode 100644 index 00000000..34501aac --- /dev/null +++ b/BTPanel/static/vite/js/config-B0YfuS_O.js @@ -0,0 +1 @@ +import{_ as y}from"./index-Dd5dC2sI.js?v=1774508183068";import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import{i as S,m as h}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as k}from"./useTableColumns-BpMo4f8r.js?v=1774508183068";import{u as B}from"./useTableData-D5IECpFr.js?v=1774508183068";import{I as W,g as $,J as w}from"./setting-9MLJBbIL.js?v=1774508183068";import{b as C,B as N}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import{k as R,R as j,e as A,$ as D,Z as V,_ as a,a0 as s,S as n,a9 as _,j as I,aa as l,N as L}from"./vue-core-BlDeWrD6.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";const O={class:"p-20px"},P={class:"flex mb-16px"},T={class:"flex-1 mr-16px"},U={class:"w-230px mr-16px"},ot=R({__name:"config",setup(E){const{t:r}=j(),e=A({text:"",text2:""}),f=async()=>{if(e.text.trim()===""||e.text2.trim()===""){h.error(r("Waf.Setting.config_170"));return}await w(L(e)),e.text="",e.text2="",p()},{table:c,columns:d,setLoading:u}=B([{key:"text",title:r("Waf.Setting.config_164"),ellipsis:{tooltip:!0}},{key:"text2",title:r("Waf.Setting.config_165"),ellipsis:{tooltip:!0}},k({width:80,options:t=>[{label:r("Public.Btn.Del"),onClick:async()=>{await W({body:{[t.text]:t.text2}}),p()}}]})]),p=async()=>{try{u(!0);const{message:t}=await $();S(t)&&(c.data=t.body_character_string.map(o=>{const i=Object.keys(o);return{text:i[0],text2:o[i[0]]}}))}finally{u(!1)}};return p(),(t,o)=>{const i=C,g=N,x=v,b=y;return D(),V("div",O,[a("div",P,[a("div",T,[s(i,{value:n(e).text,"onUpdate:value":o[0]||(o[0]=m=>n(e).text=m),placeholder:t.$t("Waf.Setting.config_164")},null,8,["value","placeholder"])]),a("div",U,[s(i,{value:n(e).text2,"onUpdate:value":o[1]||(o[1]=m=>n(e).text2=m),placeholder:t.$t("Waf.Setting.config_165")},null,8,["value","placeholder"])]),s(g,{type:"primary",onClick:f},{default:_(()=>[I(l(t.$t("Public.Btn.Add")),1)]),_:1})]),s(x,{"max-height":230,loading:n(c).loading,data:n(c).data,columns:n(d)},null,8,["loading","data","columns"]),s(b,{class:"mt-16px"},{default:_(()=>[a("li",null,l(t.$t("Waf.Setting.config_166")),1),a("li",null,l(t.$t("Waf.Setting.config_167")),1),a("li",null,l(t.$t("Waf.Setting.config_168")),1),a("li",null,l(t.$t("Waf.Setting.config_169")),1)]),_:1})])}}});export{ot as default}; diff --git a/BTPanel/static/vite/js/config-BH3YJ5ZP.js b/BTPanel/static/vite/js/config-BH3YJ5ZP.js deleted file mode 100644 index a33fd5ce..00000000 --- a/BTPanel/static/vite/js/config-BH3YJ5ZP.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as b}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{k as x,R as W,r as B,$ as S,Z as $,_ as e,a0 as o,ai as k,X as w,S as s,a9 as u,j as U,aa as i}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{n as A,m as C}from"./index-BTglIPU2.js?v=1773287522785";import{u as D}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{u as L}from"./useTableData-BmkIKQ_R.js?v=1773287522785";import{q as N,t as R,v as V}from"./setting-DouXuJGW.js?v=1773287522785";import{b as K,B as P}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";const T={class:"p-20px"},j={class:"flex mb-16px"},q={class:"flex-1 mr-16px"},et=x({__name:"config",setup(E){const{t:m}=W(),a=B(""),c=async()=>{if(a.value.trim()===""){C.error(m("Waf.Setting.config_81"));return}await V({text:a.value}),a.value="",r()},{table:l,columns:_,setLoading:p}=L([{key:"rule",title:"URL"},D({width:80,options:t=>[{label:m("Public.Btn.Del"),onClick:async()=>{await N({text:t.rule}),r()}}]})]),r=async()=>{try{p(!0);const{message:t}=await R();A(t)&&(l.data=t.map(n=>({rule:n})))}finally{p(!1)}};return r(),(t,n)=>{const f=K,d=P,g=v,h=b;return S(),$("div",T,[e("div",j,[e("div",q,[o(f,{value:s(a),"onUpdate:value":n[0]||(n[0]=y=>w(a)?a.value=y:null),placeholder:t.$t("Waf.Setting.config_78"),onKeyup:k(c,["enter"])},null,8,["value","placeholder"])]),o(d,{type:"primary",onClick:c},{default:u(()=>[U(i(t.$t("Public.Btn.Add")),1)]),_:1})]),o(g,{"max-height":368,loading:s(l).loading,data:s(l).data,columns:s(_)},null,8,["loading","data","columns"]),o(h,{class:"mt-16px"},{default:u(()=>[e("li",null,i(t.$t("Waf.Setting.config_77")),1),e("li",null,i(t.$t("Waf.Setting.config_79")),1),e("li",null,i(t.$t("Waf.Setting.config_80")),1)]),_:1})])}}});export{et as default}; diff --git a/BTPanel/static/vite/js/config-BKe7m0GE.js b/BTPanel/static/vite/js/config-BKe7m0GE.js new file mode 100644 index 00000000..b6c19bcb --- /dev/null +++ b/BTPanel/static/vite/js/config-BKe7m0GE.js @@ -0,0 +1 @@ +import{_ as U}from"./index-Dd5dC2sI.js?v=1774508183068";import{_ as D}from"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import{k as F,R as P,r as f,$ as j,Z as A,_ as c,a0 as n,ai as E,X as L,S as p,a9 as i,j as m,aa as l}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{n as N,m as g,p as v,hM as I,h as K}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as M}from"./useTableColumns-BpMo4f8r.js?v=1774508183068";import{u as R}from"./useTableData-D5IECpFr.js?v=1774508183068";import{K as V,L as T,M as O,N as X,O as Z}from"./setting-9MLJBbIL.js?v=1774508183068";import{_ as y}from"./index-BonLJ3_f.js?v=1774508183068";import{b as q,B as z,l as G}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";const H={class:"p-20px"},J={class:"flex mb-16px"},Q={class:"flex-1 mr-16px"},b="uri_find",dt=F({__name:"config",setup(Y){const{t:a}=P(),e=f(""),_=async()=>{if(e.value.trim()===""){g.error(a("Waf.Setting.config_176"));return}await O({url_find:e.value}),e.value="",s()},h=()=>{const t=f("");v({title:a("Waf.Setting.config_177"),width:440,footer:!0,content:()=>n("div",{class:"p-20px"},[n(y,{value:t.value,"onUpdate:value":o=>t.value=o,rows:14,placeholder:a("Waf.Setting.config_178")},null)]),onConfirm:async()=>{if(t.value.trim()==="")return g.error(a("Waf.Setting.config_179")),!1;await X({pdata:t.value,json:1}),s()}})},w=()=>{const t=f(r.data.map(o=>o.url).join("\n"));v({title:a("Waf.Setting.config_177"),width:440,footer:!0,content:()=>n("div",{class:"p-20px"},[n(y,{value:t.value,"onUpdate:value":o=>t.value=o,rows:14,readonly:!0},null)]),onConfirm:()=>(I(t.value,"".concat(b,".json")),!1)})},C=()=>{K({title:a("Waf.Setting.config_180"),content:a("Waf.Setting.config_181"),onConfirm:async()=>{await Z({type:b}),s()}})},{table:r,columns:S,setLoading:d}=R([{key:"url",title:"URL"},M({width:80,options:t=>[{label:a("Public.Btn.Del"),onClick:async()=>{await V({url_find:t.url}),s()}}]})]),s=async()=>{try{d(!0);const{message:t}=await T();N(t)&&(r.data=t.map(o=>({url:o})))}finally{d(!1)}};return s(),(t,o)=>{const x=q,u=z,B=D,W=G,$=U;return j(),A("div",H,[c("div",J,[c("div",Q,[n(x,{value:p(e),"onUpdate:value":o[0]||(o[0]=k=>L(e)?e.value=k:null),placeholder:t.$t("Waf.Setting.config_173"),onKeyup:E(_,["enter"])},null,8,["value","placeholder"])]),n(u,{type:"primary",onClick:_},{default:i(()=>[m(l(t.$t("Public.Btn.Add")),1)]),_:1})]),n(B,{"max-height":258,loading:p(r).loading,data:p(r).data,columns:p(S)},null,8,["loading","data","columns"]),n(W,{class:"mt-16px"},{default:i(()=>[n(u,{onClick:h},{default:i(()=>[m(l(t.$t("Public.Btn.Import")),1)]),_:1}),n(u,{onClick:w},{default:i(()=>[m(l(t.$t("Public.Btn.Export")),1)]),_:1}),n(u,{onClick:C},{default:i(()=>[m(l(t.$t("Public.Btn.Empty")),1)]),_:1})]),_:1}),n($,{class:"mt-16px"},{default:i(()=>[c("li",null,l(t.$t("Waf.Setting.config_174")),1),c("li",null,l(t.$t("Waf.Setting.config_175")),1)]),_:1})])}}});export{dt as default}; diff --git a/BTPanel/static/vite/js/config-BS9izKER.js b/BTPanel/static/vite/js/config-BS9izKER.js new file mode 100644 index 00000000..be6348a7 --- /dev/null +++ b/BTPanel/static/vite/js/config-BS9izKER.js @@ -0,0 +1 @@ +import{_ as v}from"./index-Dd5dC2sI.js?v=1774508183068";import{_ as h}from"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import{k as A,R as B,r as S,$,Z as k,_ as n,a0 as e,ai as w,X as x,S as s,a9 as u,j as W,aa as i}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{n as C,m as D}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as L}from"./useTableColumns-BpMo4f8r.js?v=1774508183068";import{u as N}from"./useTableData-D5IECpFr.js?v=1774508183068";import{E as R,F as V,G as E}from"./setting-9MLJBbIL.js?v=1774508183068";import{b as K,B as P}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";const T={class:"p-20px"},U={class:"flex mb-16px"},j={class:"flex-1 mr-16px"},nt=A({__name:"config",setup(F){const{t:p}=B(),a=S(""),m=async()=>{if(a.value.trim()===""){D.error(p("Waf.Setting.config_81"));return}await E({url_find:a.value}),a.value="",r()},{table:l,columns:_,setLoading:c}=N([{key:"url",title:"URL"},L({width:80,options:t=>[{label:p("Public.Btn.Del"),onClick:async()=>{await R({url_find:t.url}),r()}}]})]),r=async()=>{try{c(!0);const{message:t}=await V();C(t)&&(l.data=t.map(o=>({url:o})))}finally{c(!1)}};return r(),(t,o)=>{const f=K,d=P,g=h,y=v;return $(),k("div",T,[n("div",U,[n("div",j,[e(f,{value:s(a),"onUpdate:value":o[0]||(o[0]=b=>x(a)?a.value=b:null),placeholder:t.$t("Waf.Setting.config_116"),onKeyup:w(m,["enter"])},null,8,["value","placeholder"])]),e(d,{type:"primary",onClick:m},{default:u(()=>[W(i(t.$t("Public.Btn.Add")),1)]),_:1})]),e(g,{"max-height":368,loading:s(l).loading,data:s(l).data,columns:s(_)},null,8,["loading","data","columns"]),e(y,{class:"mt-16px"},{default:u(()=>[n("li",null,i(t.$t("Waf.Setting.config_117")),1),n("li",null,i(t.$t("Waf.Setting.config_118")),1),n("li",null,i(t.$t("Waf.Setting.config_119")),1)]),_:1})])}}});export{nt as default}; diff --git a/BTPanel/static/vite/js/config-BSTsax8v.js b/BTPanel/static/vite/js/config-BSTsax8v.js new file mode 100644 index 00000000..c469a9a6 --- /dev/null +++ b/BTPanel/static/vite/js/config-BSTsax8v.js @@ -0,0 +1 @@ +import{av as t,a6 as a}from"./index-LQ-JIYiv.js?v=1774508183068";const{t:e}=a.global,u=s=>t.post("/project/quota/modify_path_quota",{data:JSON.stringify({path:s.path,quota_type:s.quota_type,quota_push:{module:"",status:!1,size:0,push_count:0},quota_storage:{size:s.size}})},{requestOptions:{loading:e("WP.api.tamper_8"),successMessage:!0,errorMessage:{close:!0}}}),i=s=>t.post("/project/quota/modify_database_quota",{data:JSON.stringify({db_name:s.db_name,quota_push:{module:"",status:!1,size:0,push_count:0},quota_storage:{size:s.size}})},{requestOptions:{loading:e("WP.api.tamper_8"),successMessage:!0,errorMessage:{close:!0}}}),r=()=>t.post("/config?action=get_msg_configs");export{i as a,r as g,u as m}; diff --git a/BTPanel/static/vite/js/config-BZTDQCQE.js b/BTPanel/static/vite/js/config-BZTDQCQE.js deleted file mode 100644 index 09d21d27..00000000 --- a/BTPanel/static/vite/js/config-BZTDQCQE.js +++ /dev/null @@ -1 +0,0 @@ -import{i as f,c as u}from"./index-BTglIPU2.js?v=1773287522785";import{j as _,k as m}from"./tools-CMJvIbk2.js?v=1773287522785";import{k as d,r as n,$ as v,Z as g,_ as x,aa as b,a0 as k,S as i,X as j}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{b1 as y}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./rules-pmZEUQ_o.js?v=1773287522785";const B={class:"p-20px"},C={class:"mb-16px text-desc"},O=d({__name:"config",setup(R,{expose:r}){const s=n([]),o=n([]),c=async()=>{const{message:t}=await _();f(t)&&(s.value=Object.keys(t).filter(e=>t[e]),o.value=Object.keys(t).map(e=>({label:e,value:e})))},l=async()=>{const t=s.value.reduce((e,a)=>(e[a]=!0,e),{});o.value.forEach(e=>{t[e.value]||(t[e.value]=!1)}),await m({data:t})};return c(),r({onConfirm:l}),(t,e)=>{const a=y;return v(),g("div",B,[x("div",C,b(t.$t("Waf.Block.index_73")),1),k(a,{value:i(s),"onUpdate:value":e[0]||(e[0]=p=>j(s)?s.value=p:null),options:i(o)},null,8,["value","options"])])}}}),V=u(O,[["__scopeId","data-v-22ecfe71"]]);export{V as default}; diff --git a/BTPanel/static/vite/js/config-CF3Xyb0v.js b/BTPanel/static/vite/js/config-CF3Xyb0v.js deleted file mode 100644 index 5a0deb41..00000000 --- a/BTPanel/static/vite/js/config-CF3Xyb0v.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as C}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{i as R,p as U}from"./index-BTglIPU2.js?v=1773287522785";import{g as w}from"./data-BVsViUMm.js?v=1773287522785";import{u as N}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{u as P}from"./useTableData-BmkIKQ_R.js?v=1773287522785";import{k as F,l as L,n as j,g as A}from"./setting-DouXuJGW.js?v=1773287522785";import{_ as D}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as T}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{k as x,R as S,r as V,e as O,$,Z as W,a0 as i,a9 as c,_ as l,S as o,aa as _,N as q,j as G}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as I,b as M,_ as Z,B as z}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";const H={class:"p-20px"},J={class:"w-220px"},K={class:"ml-8px text-desc"},Q={class:"w-220px mr-8px"},X={class:"text-desc"},Y={class:"w-220px mr-8px"},tt={class:"text-desc"},et=x({__name:"form",props:{isEdit:{type:Boolean,default:!1},row:{}},emits:["refresh"],setup(h,{expose:s,emit:p}){const m=h,y=p,{t:r}=S(),d=V(null),t=O({url:"",frequency:30,cycle:60}),u={url:{trigger:["blur","input"],validator:()=>t.url.trim()===""?new Error(r("Waf.Setting.config_55")):!0},frequency:{trigger:["blur","input"],validator:()=>t.frequency?!0:new Error(r("Waf.Setting.config_56"))},cycle:{trigger:["blur","input"],validator:()=>t.cycle?!0:new Error(r("Waf.Setting.config_57"))}},n=()=>{const{row:e,isEdit:a}=m;a&&e&&(t.url=e.url,t.frequency=e.frequency,t.cycle=e.cycle)},g=async()=>{var e;await((e=d.value)==null?void 0:e.validate()),m.isEdit?await F(q(t)):await L(q(t)),y("refresh")};return n(),s({onConfirm:g}),(e,a)=>{const k=M,b=I,v=Z,E=T,B=D;return $(),W("div",H,[i(E,{ref_key:"formRef",ref:d,model:o(t),rules:u},{default:c(()=>[i(b,{label:"URL",path:"url"},{default:c(()=>[l("div",J,[i(k,{value:o(t).url,"onUpdate:value":a[0]||(a[0]=f=>o(t).url=f),placeholder:"/index.php"},null,8,["value"])]),l("span",K,_(e.$t("Waf.Setting.config_51")),1)]),_:1}),i(b,{label:e.$t("Waf.Setting.config_48"),path:"frequency"},{default:c(()=>[l("div",Q,[i(v,{value:o(t).frequency,"onUpdate:value":a[1]||(a[1]=f=>o(t).frequency=f),min:1,"show-button":!1},null,8,["value"])]),l("span",X,_(e.$t("Public.Unit.Time",o(t).frequency)),1)]),_:1},8,["label"]),i(b,{label:e.$t("Waf.Setting.config_49"),path:"cycle"},{default:c(()=>[l("div",Y,[i(v,{value:o(t).cycle,"onUpdate:value":a[2]||(a[2]=f=>o(t).cycle=f),min:1,"show-button":!1},null,8,["value"])]),l("span",tt,_(e.$t("Public.Unit.Second",o(t).cycle)),1)]),_:1},8,["label"])]),_:1},8,["model"]),i(B,{class:"mt-12px"},{default:c(()=>[l("li",null,_(e.$t("Waf.Setting.config_54")),1)]),_:1})])}}}),nt={class:"p-20px"},ot={class:"flex mb-16px"},ht=x({__name:"config",setup(h){const{t:s}=S(),p=n=>{U({title:n.title,width:570,footer:!0,data:{...n.data,onRefresh:()=>{u()}},component:et})},m=async()=>{p({title:s("Waf.Setting.config_46"),data:{isEdit:!1}})},y=async n=>{p({title:s("Waf.Setting.config_47"),data:{row:n,isEdit:!0}})},{table:r,columns:d,setLoading:t}=P([{key:"url",title:"URL",ellipsis:{tooltip:!0}},{key:"frequency",title:s("Waf.Setting.config_48"),width:100,ellipsis:{tooltip:!0}},{key:"cycle",title:s("Waf.Setting.config_49"),width:120,ellipsis:{tooltip:!0},render:n=>s("Waf.Setting.config_50",[n.cycle])},N({width:100,options:n=>[{label:s("Public.Btn.Edit"),onClick:async()=>{y(n)}},{label:s("Public.Btn.Del"),onClick:async()=>{await j({url:n.url}),u()}}]})]),u=async()=>{try{t(!0);const{message:n}=await A();R(n)&&(r.data=Object.entries(n.cc_uri_frequency).map(([g,e])=>({url:g,frequency:w(e.frequency),cycle:w(e.cycle)})))}finally{t(!1)}};return u(),(n,g)=>{const e=z,a=C;return $(),W("div",nt,[l("div",ot,[i(e,{type:"primary",onClick:m},{default:c(()=>[G(_(n.$t("Public.Btn.Add")),1)]),_:1})]),i(a,{"max-height":368,loading:o(r).loading,data:o(r).data,columns:o(d)},null,8,["loading","data","columns"])])}}});export{ht as default}; diff --git a/BTPanel/static/vite/js/config-CoMIDpc6.js b/BTPanel/static/vite/js/config-CoMIDpc6.js new file mode 100644 index 00000000..61f535e2 --- /dev/null +++ b/BTPanel/static/vite/js/config-CoMIDpc6.js @@ -0,0 +1 @@ +import{_ as k}from"./index-Dd5dC2sI.js?v=1774508183068";import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import{k as P,R as j,r as f,$ as D,Z as E,_ as p,a0 as n,ai as A,X as N,S as u,a9 as i,j as m,aa as s}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{i as R,m as g,p as v,hM as U,h as V}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as K}from"./useTableColumns-BpMo4f8r.js?v=1774508183068";import{u as L}from"./useTableData-D5IECpFr.js?v=1774508183068";import{P as M,g as T,Q as F,R as G,S as O}from"./setting-9MLJBbIL.js?v=1774508183068";import{_ as y}from"./index-BonLJ3_f.js?v=1774508183068";import{b as Q,B as X,l as Z}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";const q={class:"p-20px"},z={class:"flex mb-16px"},H={class:"flex-1 mr-16px"},J="body_intercept",dt=P({__name:"config",setup(Y){const{t:e}=j(),a=f(""),_=async()=>{if(a.value.trim()===""){g.error(e("Waf.Setting.config_176"));return}await F({text:a.value}),a.value="",l()},b=()=>{const t=f("");v({title:e("Waf.Setting.config_187"),width:440,footer:!0,content:()=>n("div",{class:"p-20px"},[n(y,{value:t.value,"onUpdate:value":o=>t.value=o,rows:14,placeholder:e("Waf.Setting.config_188")},null)]),onConfirm:async()=>{if(t.value.trim()==="")return g.error(e("Waf.Setting.config_179")),!1;await G({text:t.value}),l()}})},w=()=>{const t=f(r.data.map(o=>o.word).join("\n"));v({title:e("Waf.Setting.config_177"),width:440,footer:!0,content:()=>n("div",{class:"p-20px"},[n(y,{value:t.value,"onUpdate:value":o=>t.value=o,rows:14,readonly:!0},null)]),onConfirm:()=>(U(t.value,"".concat(J,".json")),!1)})},h=()=>{V({title:e("Waf.Setting.config_180"),content:e("Waf.Setting.config_181"),onConfirm:async()=>{await O(),l()}})},{table:r,columns:B,setLoading:d}=L([{key:"word",title:e("Waf.Setting.config_184")},K({width:80,options:t=>[{label:e("Public.Btn.Del"),onClick:async()=>{await M({text:t.word}),l()}}]})]),l=async()=>{try{d(!0);const{message:t}=await T();R(t)&&(r.data=t.body_intercept.map(o=>({word:o})))}finally{d(!1)}};return l(),(t,o)=>{const S=Q,c=X,x=I,C=Z,W=k;return D(),E("div",q,[p("div",z,[p("div",H,[n(S,{value:u(a),"onUpdate:value":o[0]||(o[0]=$=>N(a)?a.value=$:null),placeholder:t.$t("Waf.Setting.config_184"),onKeyup:A(_,["enter"])},null,8,["value","placeholder"])]),n(c,{type:"primary",onClick:_},{default:i(()=>[m(s(t.$t("Public.Btn.Add")),1)]),_:1})]),n(x,{"max-height":258,loading:u(r).loading,data:u(r).data,columns:u(B)},null,8,["loading","data","columns"]),n(C,{class:"mt-16px"},{default:i(()=>[n(c,{onClick:b},{default:i(()=>[m(s(t.$t("Public.Btn.Import")),1)]),_:1}),n(c,{onClick:w},{default:i(()=>[m(s(t.$t("Public.Btn.Export")),1)]),_:1}),n(c,{onClick:h},{default:i(()=>[m(s(t.$t("Public.Btn.Empty")),1)]),_:1})]),_:1}),n(W,{class:"mt-16px"},{default:i(()=>[p("li",null,s(t.$t("Waf.Setting.config_185")),1),p("li",null,s(t.$t("Waf.Setting.config_186")),1)]),_:1})])}}});export{dt as default}; diff --git a/BTPanel/static/vite/js/config-CoPCwzhP.js b/BTPanel/static/vite/js/config-CoPCwzhP.js new file mode 100644 index 00000000..3f9b71f9 --- /dev/null +++ b/BTPanel/static/vite/js/config-CoPCwzhP.js @@ -0,0 +1 @@ +import{_ as v}from"./index-Dd5dC2sI.js?v=1774508183068";import{k as y,e as b,r as h,$ as C,Z as S,_ as t,aa as s,j as i,S as n,a0 as l,a9 as r,l as k,v as $}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{gl as w,i as d,gm as D,c as j}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as B}from"./useLoading-BRu-BHcC.js?v=1774508183068";import{a_ as N,a9 as V}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const K={class:"p-20px"},L={class:"mb-20px text-20px text-center text-[var(--setting-security-google-login-bind-title)]"},P={class:"px-36px"},Q={class:"mb-10px text-16px text-[var(--setting-security-google-login-bind-text)]"},T={class:"mb-20px px-24px py-16px bg-[var(--setting-security-google-login-key-bg)] rounded-4px leading-24px text-14px text-[var(--setting-security-google-login-key-text)] font-500"},q={class:"text-[var(--setting-security-google-login-bind-text)]"},z={class:"text-[var(--setting-security-google-login-bind-text)]"},E={class:"mb-20px text-16px text-[var(--setting-security-google-login-bind-text)]"},I={class:"bt-link",href:"",target:"_blank"},O={class:"text-error"},Z=y({__name:"config",setup(A){const o=b({key:"--",username:"--"}),a=h(""),{loading:_,setLoading:c}=B(),p=async()=>{const{message:e}=await w();d(e)&&(o.key=e.key,o.username=e.username)},f=async()=>{try{c(!0);const{message:e}=await D({act:1});d(e)&&(a.value=e.result)}finally{c(!1)}};return p(),f(),(e,g)=>{const x=N,u=V,m=v;return C(),S("div",K,[t("div",L,s(e.$t("Config.Safe.index_70")),1),t("div",P,[t("div",Q,s(e.$t("Config.Safe.index_71")),1),t("div",T,[t("div",null,[i(s(e.$t("Config.Safe.index_72"))+" ",1),t("span",q,s(n(o).username),1)]),t("div",null,[i(s(e.$t("Config.Safe.index_73"))+" ",1),t("span",z,s(n(o).key),1)]),t("div",null,[i(s(e.$t("Config.Safe.index_74"))+" ",1),g[0]||(g[0]=t("span",{class:"text-[var(--setting-security-google-login-bind-text)]"},"Time based",-1))])]),t("div",E,s(e.$t("Config.Safe.index_75")),1),l(u,{class:"flex justify-center h-150px",show:n(_)},{default:r(()=>[k(l(x,{value:n(a),size:150,padding:0},null,8,["value"]),[[$,n(a)]])]),_:1},8,["show"]),l(m,null,{default:r(()=>[t("li",null,[i(s(e.$t("Config.Safe.index_76"))+" ",1),t("a",I,s(e.$t("Config.Safe.index_77")),1)]),t("li",O,s(e.$t("Config.Safe.index_78")),1)]),_:1})])])}}}),U=j(Z,[["__scopeId","data-v-6dc5521d"]]);export{U as default}; diff --git a/BTPanel/static/vite/js/config-Cssr_xGj.js b/BTPanel/static/vite/js/config-Cssr_xGj.js new file mode 100644 index 00000000..4bf29e03 --- /dev/null +++ b/BTPanel/static/vite/js/config-Cssr_xGj.js @@ -0,0 +1 @@ +import{i as f,c as u}from"./index-LQ-JIYiv.js?v=1774508183068";import{j as _,k as m}from"./tools-BySNFwYS.js?v=1774508183068";import{k as d,r as n,$ as v,Z as g,_ as x,aa as b,a0 as k,S as i,X as j}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{b1 as y}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./rules-O4jjPwN3.js?v=1774508183068";const B={class:"p-20px"},C={class:"mb-16px text-desc"},O=d({__name:"config",setup(R,{expose:r}){const s=n([]),o=n([]),c=async()=>{const{message:t}=await _();f(t)&&(s.value=Object.keys(t).filter(e=>t[e]),o.value=Object.keys(t).map(e=>({label:e,value:e})))},l=async()=>{const t=s.value.reduce((e,a)=>(e[a]=!0,e),{});o.value.forEach(e=>{t[e.value]||(t[e.value]=!1)}),await m({data:t})};return c(),r({onConfirm:l}),(t,e)=>{const a=y;return v(),g("div",B,[x("div",C,b(t.$t("Waf.Block.index_73")),1),k(a,{value:i(s),"onUpdate:value":e[0]||(e[0]=p=>j(s)?s.value=p:null),options:i(o)},null,8,["value","options"])])}}}),V=u(O,[["__scopeId","data-v-22ecfe71"]]);export{V as default}; diff --git a/BTPanel/static/vite/js/config-DV435bv3.js b/BTPanel/static/vite/js/config-DV435bv3.js new file mode 100644 index 00000000..d89faa07 --- /dev/null +++ b/BTPanel/static/vite/js/config-DV435bv3.js @@ -0,0 +1 @@ +import{_ as C}from"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import{i as R,p as U}from"./index-LQ-JIYiv.js?v=1774508183068";import{g as w}from"./data-DKqR3z3t.js?v=1774508183068";import{u as N}from"./useTableColumns-BpMo4f8r.js?v=1774508183068";import{u as P}from"./useTableData-D5IECpFr.js?v=1774508183068";import{k as F,l as L,n as j,g as A}from"./setting-9MLJBbIL.js?v=1774508183068";import{_ as D}from"./index-Dd5dC2sI.js?v=1774508183068";import{_ as T}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{k as x,R as S,r as V,e as O,$,Z as W,a0 as i,a9 as c,_ as l,S as o,aa as _,N as q,j as G}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a1 as I,b as M,_ as Z,B as z}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";const H={class:"p-20px"},J={class:"w-220px"},K={class:"ml-8px text-desc"},Q={class:"w-220px mr-8px"},X={class:"text-desc"},Y={class:"w-220px mr-8px"},tt={class:"text-desc"},et=x({__name:"form",props:{isEdit:{type:Boolean,default:!1},row:{}},emits:["refresh"],setup(h,{expose:s,emit:p}){const m=h,y=p,{t:r}=S(),d=V(null),t=O({url:"",frequency:30,cycle:60}),u={url:{trigger:["blur","input"],validator:()=>t.url.trim()===""?new Error(r("Waf.Setting.config_55")):!0},frequency:{trigger:["blur","input"],validator:()=>t.frequency?!0:new Error(r("Waf.Setting.config_56"))},cycle:{trigger:["blur","input"],validator:()=>t.cycle?!0:new Error(r("Waf.Setting.config_57"))}},n=()=>{const{row:e,isEdit:a}=m;a&&e&&(t.url=e.url,t.frequency=e.frequency,t.cycle=e.cycle)},g=async()=>{var e;await((e=d.value)==null?void 0:e.validate()),m.isEdit?await F(q(t)):await L(q(t)),y("refresh")};return n(),s({onConfirm:g}),(e,a)=>{const k=M,b=I,v=Z,E=T,B=D;return $(),W("div",H,[i(E,{ref_key:"formRef",ref:d,model:o(t),rules:u},{default:c(()=>[i(b,{label:"URL",path:"url"},{default:c(()=>[l("div",J,[i(k,{value:o(t).url,"onUpdate:value":a[0]||(a[0]=f=>o(t).url=f),placeholder:"/index.php"},null,8,["value"])]),l("span",K,_(e.$t("Waf.Setting.config_51")),1)]),_:1}),i(b,{label:e.$t("Waf.Setting.config_48"),path:"frequency"},{default:c(()=>[l("div",Q,[i(v,{value:o(t).frequency,"onUpdate:value":a[1]||(a[1]=f=>o(t).frequency=f),min:1,"show-button":!1},null,8,["value"])]),l("span",X,_(e.$t("Public.Unit.Time",o(t).frequency)),1)]),_:1},8,["label"]),i(b,{label:e.$t("Waf.Setting.config_49"),path:"cycle"},{default:c(()=>[l("div",Y,[i(v,{value:o(t).cycle,"onUpdate:value":a[2]||(a[2]=f=>o(t).cycle=f),min:1,"show-button":!1},null,8,["value"])]),l("span",tt,_(e.$t("Public.Unit.Second",o(t).cycle)),1)]),_:1},8,["label"])]),_:1},8,["model"]),i(B,{class:"mt-12px"},{default:c(()=>[l("li",null,_(e.$t("Waf.Setting.config_54")),1)]),_:1})])}}}),nt={class:"p-20px"},ot={class:"flex mb-16px"},ht=x({__name:"config",setup(h){const{t:s}=S(),p=n=>{U({title:n.title,width:570,footer:!0,data:{...n.data,onRefresh:()=>{u()}},component:et})},m=async()=>{p({title:s("Waf.Setting.config_46"),data:{isEdit:!1}})},y=async n=>{p({title:s("Waf.Setting.config_47"),data:{row:n,isEdit:!0}})},{table:r,columns:d,setLoading:t}=P([{key:"url",title:"URL",ellipsis:{tooltip:!0}},{key:"frequency",title:s("Waf.Setting.config_48"),width:100,ellipsis:{tooltip:!0}},{key:"cycle",title:s("Waf.Setting.config_49"),width:120,ellipsis:{tooltip:!0},render:n=>s("Waf.Setting.config_50",[n.cycle])},N({width:100,options:n=>[{label:s("Public.Btn.Edit"),onClick:async()=>{y(n)}},{label:s("Public.Btn.Del"),onClick:async()=>{await j({url:n.url}),u()}}]})]),u=async()=>{try{t(!0);const{message:n}=await A();R(n)&&(r.data=Object.entries(n.cc_uri_frequency).map(([g,e])=>({url:g,frequency:w(e.frequency),cycle:w(e.cycle)})))}finally{t(!1)}};return u(),(n,g)=>{const e=z,a=C;return $(),W("div",nt,[l("div",ot,[i(e,{type:"primary",onClick:m},{default:c(()=>[G(_(n.$t("Public.Btn.Add")),1)]),_:1})]),i(a,{"max-height":368,loading:o(r).loading,data:o(r).data,columns:o(d)},null,8,["loading","data","columns"])])}}});export{ht as default}; diff --git a/BTPanel/static/vite/js/config-Db5nkq_D.js b/BTPanel/static/vite/js/config-Db5nkq_D.js deleted file mode 100644 index 12675c54..00000000 --- a/BTPanel/static/vite/js/config-Db5nkq_D.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as v}from"./index-DIKmrNCq.js?v=1773287522785";import{k as y,e as b,r as h,$ as C,Z as S,_ as t,aa as s,j as i,S as n,a0 as l,a9 as r,l as k,v as $}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{g2 as w,i as d,g3 as D,c as j}from"./index-BTglIPU2.js?v=1773287522785";import{u as B}from"./useLoading-CZ2gSAW7.js?v=1773287522785";import{a_ as N,a9 as V}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const K={class:"p-20px"},L={class:"mb-20px text-20px text-center text-[var(--setting-security-google-login-bind-title)]"},P={class:"px-36px"},Q={class:"mb-10px text-16px text-[var(--setting-security-google-login-bind-text)]"},T={class:"mb-20px px-24px py-16px bg-[var(--setting-security-google-login-key-bg)] rounded-4px leading-24px text-14px text-[var(--setting-security-google-login-key-text)] font-500"},q={class:"text-[var(--setting-security-google-login-bind-text)]"},z={class:"text-[var(--setting-security-google-login-bind-text)]"},E={class:"mb-20px text-16px text-[var(--setting-security-google-login-bind-text)]"},I={class:"bt-link",href:"",target:"_blank"},O={class:"text-error"},Z=y({__name:"config",setup(A){const o=b({key:"--",username:"--"}),a=h(""),{loading:_,setLoading:c}=B(),p=async()=>{const{message:e}=await w();d(e)&&(o.key=e.key,o.username=e.username)},f=async()=>{try{c(!0);const{message:e}=await D({act:1});d(e)&&(a.value=e.result)}finally{c(!1)}};return p(),f(),(e,g)=>{const x=N,u=V,m=v;return C(),S("div",K,[t("div",L,s(e.$t("Config.Safe.index_70")),1),t("div",P,[t("div",Q,s(e.$t("Config.Safe.index_71")),1),t("div",T,[t("div",null,[i(s(e.$t("Config.Safe.index_72"))+" ",1),t("span",q,s(n(o).username),1)]),t("div",null,[i(s(e.$t("Config.Safe.index_73"))+" ",1),t("span",z,s(n(o).key),1)]),t("div",null,[i(s(e.$t("Config.Safe.index_74"))+" ",1),g[0]||(g[0]=t("span",{class:"text-[var(--setting-security-google-login-bind-text)]"},"Time based",-1))])]),t("div",E,s(e.$t("Config.Safe.index_75")),1),l(u,{class:"flex justify-center h-150px",show:n(_)},{default:r(()=>[k(l(x,{value:n(a),size:150,padding:0},null,8,["value"]),[[$,n(a)]])]),_:1},8,["show"]),l(m,null,{default:r(()=>[t("li",null,[i(s(e.$t("Config.Safe.index_76"))+" ",1),t("a",I,s(e.$t("Config.Safe.index_77")),1)]),t("li",O,s(e.$t("Config.Safe.index_78")),1)]),_:1})])])}}}),U=j(Z,[["__scopeId","data-v-6dc5521d"]]);export{U as default}; diff --git a/BTPanel/static/vite/js/config-DbINA7JV.js b/BTPanel/static/vite/js/config-DbINA7JV.js new file mode 100644 index 00000000..4368d856 --- /dev/null +++ b/BTPanel/static/vite/js/config-DbINA7JV.js @@ -0,0 +1 @@ +import{_ as W}from"./index-Dd5dC2sI.js?v=1774508183068";import{_ as h}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{H as k}from"./setting-9MLJBbIL.js?v=1774508183068";import{k as C,R,r as B,e as E,$ as N,Z as U,a0 as e,a9 as o,S as i,_ as a,aa as f,N as x}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a1 as V,a8 as D,_ as H}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./index-LQ-JIYiv.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const I={class:"p-20px"},Z={class:"w-150px"},j={class:"w-150px"},M=C({__name:"config",props:{config:{}},emits:["refresh"],setup(m,{expose:u,emit:g}){const d=m,v=g,{t:_}=R(),c=B(null),n=E({open:!0,cycle:60,limit:240}),S={cycle:{validator:()=>n.cycle?!0:new Error(_("Waf.Setting.config_154"))},limit:{validator:()=>n.limit?!0:new Error(_("Waf.Setting.config_155"))}},b=async()=>{var t;await((t=c.value)==null?void 0:t.validate()),await k({...x(n),open:n.open?1:0}),v("refresh")};return(()=>{const{config:t}=d;n.open=t.open,n.limit=t.limit,n.cycle=t.cycle})(),u({onConfirm:b}),(t,l)=>{const w=D,r=V,p=H,y=h,$=W;return N(),U("div",I,[e(y,{ref_key:"formRef",ref:c,model:i(n),rules:S},{default:o(()=>[e(r,{label:t.$t("Waf.Setting.config_148"),path:"open"},{default:o(()=>[e(w,{value:i(n).open,"onUpdate:value":l[0]||(l[0]=s=>i(n).open=s)},null,8,["value"])]),_:1},8,["label"]),e(r,{label:t.$t("Waf.Setting.config_149"),path:"cycle"},{default:o(()=>[a("div",Z,[e(p,{value:i(n).cycle,"onUpdate:value":l[1]||(l[1]=s=>i(n).cycle=s),min:1,"show-button":!1},{suffix:o(()=>[a("span",null,f(t.$t("Waf.Setting.config_53")),1)]),_:1},8,["value"])])]),_:1},8,["label"]),e(r,{label:t.$t("Waf.Setting.config_150"),path:"limit"},{default:o(()=>[a("div",j,[e(p,{value:i(n).limit,"onUpdate:value":l[2]||(l[2]=s=>i(n).limit=s),min:1,"show-button":!1},{suffix:o(()=>[a("span",null,f(t.$t("Waf.Setting.config_52")),1)]),_:1},8,["value"])])]),_:1},8,["label"])]),_:1},8,["model"]),e($,{class:"mt-12px"},{default:o(()=>[a("li",null,f(t.$t("Waf.Setting.config_151")),1),a("li",null,f(t.$t("Waf.Setting.config_152")),1),a("li",null,f(t.$t("Waf.Setting.config_153")),1)]),_:1})])}}});export{M as default}; diff --git a/BTPanel/static/vite/js/config-Dc71apBV.js b/BTPanel/static/vite/js/config-Dc71apBV.js deleted file mode 100644 index 06391526..00000000 --- a/BTPanel/static/vite/js/config-Dc71apBV.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as $}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{k as P,R as j,r as f,$ as D,Z as E,_ as p,a0 as n,ai as A,X as N,S as u,a9 as i,j as m,aa as s}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{i as R,m as g,p as v,ht as U,h as V}from"./index-BTglIPU2.js?v=1773287522785";import{u as K}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{u as L}from"./useTableData-BmkIKQ_R.js?v=1773287522785";import{P as T,g as F,Q as G,R as M,S as O}from"./setting-DouXuJGW.js?v=1773287522785";import{_ as y}from"./index-CZps0rIN.js?v=1773287522785";import{b as Q,B as X,k as Z}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";const q={class:"p-20px"},z={class:"flex mb-16px"},H={class:"flex-1 mr-16px"},J="body_intercept",dt=P({__name:"config",setup(Y){const{t:e}=j(),a=f(""),_=async()=>{if(a.value.trim()===""){g.error(e("Waf.Setting.config_176"));return}await G({text:a.value}),a.value="",l()},b=()=>{const t=f("");v({title:e("Waf.Setting.config_187"),width:440,footer:!0,content:()=>n("div",{class:"p-20px"},[n(y,{value:t.value,"onUpdate:value":o=>t.value=o,rows:14,placeholder:e("Waf.Setting.config_188")},null)]),onConfirm:async()=>{if(t.value.trim()==="")return g.error(e("Waf.Setting.config_179")),!1;await M({text:t.value}),l()}})},w=()=>{const t=f(r.data.map(o=>o.word).join("\n"));v({title:e("Waf.Setting.config_177"),width:440,footer:!0,content:()=>n("div",{class:"p-20px"},[n(y,{value:t.value,"onUpdate:value":o=>t.value=o,rows:14,readonly:!0},null)]),onConfirm:()=>(U(t.value,"".concat(J,".json")),!1)})},h=()=>{V({title:e("Waf.Setting.config_180"),content:e("Waf.Setting.config_181"),onConfirm:async()=>{await O(),l()}})},{table:r,columns:B,setLoading:d}=L([{key:"word",title:e("Waf.Setting.config_184")},K({width:80,options:t=>[{label:e("Public.Btn.Del"),onClick:async()=>{await T({text:t.word}),l()}}]})]),l=async()=>{try{d(!0);const{message:t}=await F();R(t)&&(r.data=t.body_intercept.map(o=>({word:o})))}finally{d(!1)}};return l(),(t,o)=>{const S=Q,c=X,x=I,C=Z,W=$;return D(),E("div",q,[p("div",z,[p("div",H,[n(S,{value:u(a),"onUpdate:value":o[0]||(o[0]=k=>N(a)?a.value=k:null),placeholder:t.$t("Waf.Setting.config_184"),onKeyup:A(_,["enter"])},null,8,["value","placeholder"])]),n(c,{type:"primary",onClick:_},{default:i(()=>[m(s(t.$t("Public.Btn.Add")),1)]),_:1})]),n(x,{"max-height":258,loading:u(r).loading,data:u(r).data,columns:u(B)},null,8,["loading","data","columns"]),n(C,{class:"mt-16px"},{default:i(()=>[n(c,{onClick:b},{default:i(()=>[m(s(t.$t("Public.Btn.Import")),1)]),_:1}),n(c,{onClick:w},{default:i(()=>[m(s(t.$t("Public.Btn.Export")),1)]),_:1}),n(c,{onClick:h},{default:i(()=>[m(s(t.$t("Public.Btn.Empty")),1)]),_:1})]),_:1}),n(W,{class:"mt-16px"},{default:i(()=>[p("li",null,s(t.$t("Waf.Setting.config_185")),1),p("li",null,s(t.$t("Waf.Setting.config_186")),1)]),_:1})])}}});export{dt as default}; diff --git a/BTPanel/static/vite/js/config-Dl4DD1j9.js b/BTPanel/static/vite/js/config-Dl4DD1j9.js deleted file mode 100644 index 6034edd2..00000000 --- a/BTPanel/static/vite/js/config-Dl4DD1j9.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as l}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{h as _}from"./index-BTglIPU2.js?v=1773287522785";import{u as g}from"./useTableData-BmkIKQ_R.js?v=1773287522785";import{a as n}from"./setting-DouXuJGW.js?v=1773287522785";import{k as d,R as h,a0 as i,$ as b,Z as S,S as c}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a8 as k}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const y={class:"p-20px"},$=d({__name:"config",props:{status:{type:Boolean}},emits:["refresh"],setup(r,{emit:f}){const m=r,s=f,{t}=h(),{table:o,columns:u}=g([{key:"title",title:t("Waf.Setting.config_129"),width:120},{key:"ps",title:t("Waf.Setting.config_130")},{key:"status",title:t("Public.Table.Status"),width:60,render:a=>i(k,{value:a.status,onUpdateValue:async e=>{e?(await n({obj:"from_data"}),a.status=e,s("refresh",e)):_({title:t("Waf.Setting.config_131"),content:t("Waf.Setting.config_132"),onConfirm:async()=>{await n({obj:"from_data"}),a.status=e,s("refresh",e)}})}},null)}]);return o.data.push({title:t("Waf.Setting.config_133"),ps:t("Waf.Setting.config_134"),status:m.status}),(a,e)=>{const p=l;return b(),S("div",y,[i(p,{"max-height":340,data:c(o).data,columns:c(u)},null,8,["data","columns"])])}}});export{$ as default}; diff --git a/BTPanel/static/vite/js/config-Dr5-8-PA.js b/BTPanel/static/vite/js/config-Dr5-8-PA.js deleted file mode 100644 index ed4f0b00..00000000 --- a/BTPanel/static/vite/js/config-Dr5-8-PA.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as v}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as h}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{k as A,R as B,r as S,$,Z as k,_ as n,a0 as e,ai as w,X as x,S as s,a9 as u,j as W,aa as i}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{n as C,m as D}from"./index-BTglIPU2.js?v=1773287522785";import{u as L}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{u as N}from"./useTableData-BmkIKQ_R.js?v=1773287522785";import{E as R,F as V,G as E}from"./setting-DouXuJGW.js?v=1773287522785";import{b as K,B as P}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";const T={class:"p-20px"},U={class:"flex mb-16px"},j={class:"flex-1 mr-16px"},nt=A({__name:"config",setup(F){const{t:p}=B(),a=S(""),m=async()=>{if(a.value.trim()===""){D.error(p("Waf.Setting.config_81"));return}await E({url_find:a.value}),a.value="",r()},{table:l,columns:_,setLoading:c}=N([{key:"url",title:"URL"},L({width:80,options:t=>[{label:p("Public.Btn.Del"),onClick:async()=>{await R({url_find:t.url}),r()}}]})]),r=async()=>{try{c(!0);const{message:t}=await V();C(t)&&(l.data=t.map(o=>({url:o})))}finally{c(!1)}};return r(),(t,o)=>{const f=K,d=P,g=h,y=v;return $(),k("div",T,[n("div",U,[n("div",j,[e(f,{value:s(a),"onUpdate:value":o[0]||(o[0]=b=>x(a)?a.value=b:null),placeholder:t.$t("Waf.Setting.config_116"),onKeyup:w(m,["enter"])},null,8,["value","placeholder"])]),e(d,{type:"primary",onClick:m},{default:u(()=>[W(i(t.$t("Public.Btn.Add")),1)]),_:1})]),e(g,{"max-height":368,loading:s(l).loading,data:s(l).data,columns:s(_)},null,8,["loading","data","columns"]),e(y,{class:"mt-16px"},{default:u(()=>[n("li",null,i(t.$t("Waf.Setting.config_117")),1),n("li",null,i(t.$t("Waf.Setting.config_118")),1),n("li",null,i(t.$t("Waf.Setting.config_119")),1)]),_:1})])}}});export{nt as default}; diff --git a/BTPanel/static/vite/js/config-DszkVJur.js b/BTPanel/static/vite/js/config-DszkVJur.js deleted file mode 100644 index cd17a5d6..00000000 --- a/BTPanel/static/vite/js/config-DszkVJur.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as W}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as h}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{H as k}from"./setting-DouXuJGW.js?v=1773287522785";import{k as C,R,r as B,e as E,$ as N,Z as U,a0 as e,a9 as o,S as i,_ as a,aa as f,N as x}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as V,a8 as D,_ as H}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./index-BTglIPU2.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const I={class:"p-20px"},Z={class:"w-150px"},j={class:"w-150px"},M=C({__name:"config",props:{config:{}},emits:["refresh"],setup(m,{expose:u,emit:g}){const d=m,v=g,{t:_}=R(),c=B(null),n=E({open:!0,cycle:60,limit:240}),S={cycle:{validator:()=>n.cycle?!0:new Error(_("Waf.Setting.config_154"))},limit:{validator:()=>n.limit?!0:new Error(_("Waf.Setting.config_155"))}},b=async()=>{var t;await((t=c.value)==null?void 0:t.validate()),await k({...x(n),open:n.open?1:0}),v("refresh")};return(()=>{const{config:t}=d;n.open=t.open,n.limit=t.limit,n.cycle=t.cycle})(),u({onConfirm:b}),(t,l)=>{const w=D,r=V,p=H,y=h,$=W;return N(),U("div",I,[e(y,{ref_key:"formRef",ref:c,model:i(n),rules:S},{default:o(()=>[e(r,{label:t.$t("Waf.Setting.config_148"),path:"open"},{default:o(()=>[e(w,{value:i(n).open,"onUpdate:value":l[0]||(l[0]=s=>i(n).open=s)},null,8,["value"])]),_:1},8,["label"]),e(r,{label:t.$t("Waf.Setting.config_149"),path:"cycle"},{default:o(()=>[a("div",Z,[e(p,{value:i(n).cycle,"onUpdate:value":l[1]||(l[1]=s=>i(n).cycle=s),min:1,"show-button":!1},{suffix:o(()=>[a("span",null,f(t.$t("Waf.Setting.config_53")),1)]),_:1},8,["value"])])]),_:1},8,["label"]),e(r,{label:t.$t("Waf.Setting.config_150"),path:"limit"},{default:o(()=>[a("div",j,[e(p,{value:i(n).limit,"onUpdate:value":l[2]||(l[2]=s=>i(n).limit=s),min:1,"show-button":!1},{suffix:o(()=>[a("span",null,f(t.$t("Waf.Setting.config_52")),1)]),_:1},8,["value"])])]),_:1},8,["label"])]),_:1},8,["model"]),e($,{class:"mt-12px"},{default:o(()=>[a("li",null,f(t.$t("Waf.Setting.config_151")),1),a("li",null,f(t.$t("Waf.Setting.config_152")),1),a("li",null,f(t.$t("Waf.Setting.config_153")),1)]),_:1})])}}});export{M as default}; diff --git a/BTPanel/static/vite/js/config-Du84CXw7.js b/BTPanel/static/vite/js/config-Du84CXw7.js new file mode 100644 index 00000000..dc1fdf01 --- /dev/null +++ b/BTPanel/static/vite/js/config-Du84CXw7.js @@ -0,0 +1 @@ +import{_ as B}from"./index-Dd5dC2sI.js?v=1774508183068";import{_ as C}from"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import{i as R,p as L}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as P}from"./useTableColumns-BpMo4f8r.js?v=1774508183068";import{u as j}from"./useTableData-D5IECpFr.js?v=1774508183068";import{o as E,p as O,g as A}from"./setting-9MLJBbIL.js?v=1774508183068";import{_ as D}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{_ as N}from"./index-BonLJ3_f.js?v=1774508183068";import{k as W,R as h,r as V,e as F,$ as w,Z as $,a0 as i,a9 as u,_ as r,S as n,j as G,aa as m}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a1 as I,a6 as M,b as Z,B as q}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";const z={class:"p-20px"},H={class:"w-100px mr-8px"},J={class:"w-220px"},K={class:"w-328px"},Q={class:"w-100px"},X=W({__name:"form",props:{isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(k,{expose:a,emit:d}){const y=d,{t:o}=h(),g=V(null),e=F({sType:"url",uri:"",param:"",type:1}),c=[{label:o("Waf.Setting.config_75"),value:"url"},{label:o("Waf.Setting.config_76"),value:"regular"}],t=[{label:o("Waf.Setting.config_68"),value:1},{label:o("Waf.Setting.config_69"),value:2},{label:o("Waf.Setting.config_70"),value:3},{label:o("Waf.Setting.config_71"),value:4}],s={uri:{trigger:["blur","input"],validator:()=>e.uri.trim()===""?new Error(o("Waf.Setting.config_55")):!0}},_=()=>({stype:e.sType,uri:e.uri,param:e.param.replace(/\n/g,",").split(","),type:e.type});return a({onConfirm:async()=>{var l;await((l=g.value)==null?void 0:l.validate()),await E(_()),y("refresh")}}),(l,p)=>{const S=M,T=Z,b=I,x=N,U=D;return w(),$("div",z,[i(U,{ref_key:"formRef",ref:g,model:n(e),rules:s},{default:u(()=>[i(b,{label:l.$t("Waf.Setting.config_73"),path:"uri"},{default:u(()=>[r("div",H,[i(S,{value:n(e).sType,"onUpdate:value":p[0]||(p[0]=f=>n(e).sType=f),options:c},null,8,["value"])]),r("div",J,[i(T,{value:n(e).uri,"onUpdate:value":p[1]||(p[1]=f=>n(e).uri=f),placeholder:"URL"},null,8,["value"])])]),_:1},8,["label"]),i(b,{label:l.$t("Waf.Setting.config_65"),path:"param"},{default:u(()=>[r("div",K,[i(x,{value:n(e).param,"onUpdate:value":p[2]||(p[2]=f=>n(e).param=f),rows:4,placeholder:l.$t("Waf.Setting.config_74")},null,8,["value","placeholder"])])]),_:1},8,["label"]),i(b,{label:l.$t("Waf.Setting.config_67"),path:"type","show-feedback":!1},{default:u(()=>[r("div",Q,[i(S,{value:n(e).type,"onUpdate:value":p[3]||(p[3]=f=>n(e).type=f),"consistent-menu-width":!1,options:t},null,8,["value"])])]),_:1},8,["label"])]),_:1},8,["model"])])}}}),Y={class:"p-20px"},tt={class:"flex mb-16px"},yt=W({__name:"config",setup(k){const{t:a}=h(),d=t=>{L({title:t.title,width:550,footer:!0,data:{...t.data,onRefresh:()=>{c()}},component:X})},y=async()=>{d({title:a("Waf.Setting.config_64"),data:{isEdit:!1}})},{table:o,columns:g,setLoading:e}=j([{key:"url",title:"URL",ellipsis:{tooltip:!0}},{key:"param",title:a("Waf.Setting.config_65"),width:120,ellipsis:{tooltip:!0},render:t=>t.param?t.param.join(", "):"--"},{key:"sType",title:a("Waf.Setting.config_66"),width:80,render:t=>t.sType=="regular"?a("Waf.Setting.config_72"):"URL"},{key:"type",title:a("Waf.Setting.config_67"),width:90,render:t=>{var s="";switch(t.type){case 1:s=a("Waf.Setting.config_68");break;case 2:s=a("Waf.Setting.config_69");break;case 3:s=a("Waf.Setting.config_70");break;case 4:s=a("Waf.Setting.config_71");break}return s}},P({width:60,options:t=>[{label:a("Public.Btn.Del"),onClick:async()=>{await O({uri:t.url}),c()}}]})]),c=async()=>{try{e(!0);const{message:t}=await A();R(t)&&(o.data=Object.entries(t.url_cc_param).map(([s,_])=>({url:s,type:_.type,param:_.param,sType:_.stype})))}finally{e(!1)}};return c(),(t,s)=>{const _=q,v=C,l=B;return w(),$("div",Y,[r("div",tt,[i(_,{type:"primary",onClick:y},{default:u(()=>[G(m(t.$t("Public.Btn.Add")),1)]),_:1})]),i(v,{"max-height":368,loading:n(o).loading,data:n(o).data,columns:n(g)},null,8,["loading","data","columns"]),i(l,{class:"mt-12px"},{default:u(()=>[r("li",null,m(t.$t("Waf.Setting.config_60")),1),r("li",null,m(t.$t("Waf.Setting.config_61")),1),r("li",null,m(t.$t("Waf.Setting.config_62")),1),r("li",null,m(t.$t("Waf.Setting.config_63")),1)]),_:1})])}}});export{yt as default}; diff --git a/BTPanel/static/vite/js/config-Us7ZayJw.js b/BTPanel/static/vite/js/config-Us7ZayJw.js new file mode 100644 index 00000000..438fed3f --- /dev/null +++ b/BTPanel/static/vite/js/config-Us7ZayJw.js @@ -0,0 +1 @@ +import{_ as l}from"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import{h as _}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as g}from"./useTableData-D5IECpFr.js?v=1774508183068";import{a as n}from"./setting-9MLJBbIL.js?v=1774508183068";import{k as d,R as h,a0 as i,$ as b,Z as S,S as c}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a8 as k}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const y={class:"p-20px"},$=d({__name:"config",props:{status:{type:Boolean}},emits:["refresh"],setup(r,{emit:f}){const m=r,s=f,{t}=h(),{table:o,columns:u}=g([{key:"title",title:t("Waf.Setting.config_129"),width:120},{key:"ps",title:t("Waf.Setting.config_130")},{key:"status",title:t("Public.Table.Status"),width:60,render:a=>i(k,{value:a.status,onUpdateValue:async e=>{e?(await n({obj:"from_data"}),a.status=e,s("refresh",e)):_({title:t("Waf.Setting.config_131"),content:t("Waf.Setting.config_132"),onConfirm:async()=>{await n({obj:"from_data"}),a.status=e,s("refresh",e)}})}},null)}]);return o.data.push({title:t("Waf.Setting.config_133"),ps:t("Waf.Setting.config_134"),status:m.status}),(a,e)=>{const p=l;return b(),S("div",y,[i(p,{"max-height":340,data:c(o).data,columns:c(u)},null,8,["data","columns"])])}}});export{$ as default}; diff --git a/BTPanel/static/vite/js/config-VJzz9Y9C.js b/BTPanel/static/vite/js/config-VJzz9Y9C.js deleted file mode 100644 index ba3864f0..00000000 --- a/BTPanel/static/vite/js/config-VJzz9Y9C.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as U}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as D}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{k as F,R as P,r as f,$ as j,Z as A,_ as c,a0 as n,ai as E,X as L,S as p,a9 as i,j as m,aa as l}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{n as N,m as g,p as v,ht as I,h as K}from"./index-BTglIPU2.js?v=1773287522785";import{u as R}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{u as V}from"./useTableData-BmkIKQ_R.js?v=1773287522785";import{K as M,L as T,M as O,N as X,O as Z}from"./setting-DouXuJGW.js?v=1773287522785";import{_ as y}from"./index-CZps0rIN.js?v=1773287522785";import{b as q,B as z,k as G}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";const H={class:"p-20px"},J={class:"flex mb-16px"},Q={class:"flex-1 mr-16px"},b="uri_find",dt=F({__name:"config",setup(Y){const{t:a}=P(),e=f(""),_=async()=>{if(e.value.trim()===""){g.error(a("Waf.Setting.config_176"));return}await O({url_find:e.value}),e.value="",s()},h=()=>{const t=f("");v({title:a("Waf.Setting.config_177"),width:440,footer:!0,content:()=>n("div",{class:"p-20px"},[n(y,{value:t.value,"onUpdate:value":o=>t.value=o,rows:14,placeholder:a("Waf.Setting.config_178")},null)]),onConfirm:async()=>{if(t.value.trim()==="")return g.error(a("Waf.Setting.config_179")),!1;await X({pdata:t.value,json:1}),s()}})},w=()=>{const t=f(r.data.map(o=>o.url).join("\n"));v({title:a("Waf.Setting.config_177"),width:440,footer:!0,content:()=>n("div",{class:"p-20px"},[n(y,{value:t.value,"onUpdate:value":o=>t.value=o,rows:14,readonly:!0},null)]),onConfirm:()=>(I(t.value,"".concat(b,".json")),!1)})},C=()=>{K({title:a("Waf.Setting.config_180"),content:a("Waf.Setting.config_181"),onConfirm:async()=>{await Z({type:b}),s()}})},{table:r,columns:S,setLoading:d}=V([{key:"url",title:"URL"},R({width:80,options:t=>[{label:a("Public.Btn.Del"),onClick:async()=>{await M({url_find:t.url}),s()}}]})]),s=async()=>{try{d(!0);const{message:t}=await T();N(t)&&(r.data=t.map(o=>({url:o})))}finally{d(!1)}};return s(),(t,o)=>{const k=q,u=z,x=D,B=G,W=U;return j(),A("div",H,[c("div",J,[c("div",Q,[n(k,{value:p(e),"onUpdate:value":o[0]||(o[0]=$=>L(e)?e.value=$:null),placeholder:t.$t("Waf.Setting.config_173"),onKeyup:E(_,["enter"])},null,8,["value","placeholder"])]),n(u,{type:"primary",onClick:_},{default:i(()=>[m(l(t.$t("Public.Btn.Add")),1)]),_:1})]),n(x,{"max-height":258,loading:p(r).loading,data:p(r).data,columns:p(S)},null,8,["loading","data","columns"]),n(B,{class:"mt-16px"},{default:i(()=>[n(u,{onClick:h},{default:i(()=>[m(l(t.$t("Public.Btn.Import")),1)]),_:1}),n(u,{onClick:w},{default:i(()=>[m(l(t.$t("Public.Btn.Export")),1)]),_:1}),n(u,{onClick:C},{default:i(()=>[m(l(t.$t("Public.Btn.Empty")),1)]),_:1})]),_:1}),n(W,{class:"mt-16px"},{default:i(()=>[c("li",null,l(t.$t("Waf.Setting.config_174")),1),c("li",null,l(t.$t("Waf.Setting.config_175")),1)]),_:1})])}}});export{dt as default}; diff --git a/BTPanel/static/vite/js/config-ZwEEbWeJ.js b/BTPanel/static/vite/js/config-ZwEEbWeJ.js deleted file mode 100644 index fa204f7b..00000000 --- a/BTPanel/static/vite/js/config-ZwEEbWeJ.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as A}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as O}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{c as L,n as T,p as N}from"./index-BTglIPU2.js?v=1773287522785";import{u as U}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{u as B}from"./useTableData-BmkIKQ_R.js?v=1773287522785";import{B as M,C as D,D as I}from"./setting-DouXuJGW.js?v=1773287522785";import{_ as q}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{k as P,an as V,c as j,$ as y,Z as C,_ as p,aa as v,L as $,S as s,F,P as H,ao as K,R as k,r as w,e as z,a0 as r,a9 as h,j as G}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as Y,a6 as Z,b as J,B as Q}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";const X={class:"param-list"},ee=["onClick"],te=P({__name:"param",props:{value:{default:()=>[]},valueModifiers:{}},emits:K(["change"],["update:value"]),setup(b,{emit:l}){const _=l,o=V(b,"value"),n=["POST","GET","PUT","OPTIONS","HEAD","DELETE","TRACE","PATCH","MOVE","COPY","LINK","UNLINK","WRAPPED","PROPFIND","PROPPATCH","MKCOL","CONNECT","SRARCH"],f=a=>o.value.includes(a),i=j(()=>n.length===o.value.length),t=()=>{o.value=[],i.value||(o.value=n.map(a=>a)),_("change")},e=a=>{const m=o.value.indexOf(a);m===-1?o.value.push(a):o.value.splice(m,1),_("change")};return(a,m)=>(y(),C("div",X,[p("div",{class:$(["param-item",{active:s(i)}]),onClick:t},v(a.$t("Public.SelectAll")),3),(y(),C(F,null,H(n,c=>p("div",{key:c,class:$(["param-item",{active:f(c)}]),onClick:S=>e(c)},v(c),11,ee)),64))]))}}),ae=L(te,[["__scopeId","data-v-d6f769f3"]]),ne={class:"p-20px"},oe={class:"w-100px mr-8px"},se={class:"w-220px"},le={class:"w-328px"},re=P({__name:"form",props:{isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(b,{expose:l,emit:_}){const o=_,{t:n}=k(),f=w(null),i=w(null),t=z({type:"refuse",url:"",param:[]}),e=[{label:n("Waf.Setting.config_111"),value:"refuse"},{label:n("Waf.Setting.config_110"),value:"accept"}],a={url:{trigger:["blur","input"],validator:()=>t.url.trim()===""?new Error(n("Waf.Setting.config_55")):!0},param:{validator:()=>t.param.length===0?new Error(n("Waf.Setting.config_112")):!0}},m=()=>{var u;(u=i.value)==null||u.restoreValidation()},c=()=>({type:t.type,url:t.url,param:t.param.join(",")});return l({onConfirm:async()=>{var u;await((u=f.value)==null?void 0:u.validate()),await M(c()),o("refresh")}}),(u,d)=>{const x=Z,E=J,R=Y,W=q;return y(),C("div",ne,[r(W,{ref_key:"formRef",ref:f,model:s(t),rules:a},{default:h(()=>[r(R,{label:u.$t("Waf.Setting.config_73"),path:"url"},{default:h(()=>[p("div",oe,[r(x,{value:s(t).type,"onUpdate:value":d[0]||(d[0]=g=>s(t).type=g),options:e},null,8,["value"])]),p("div",se,[r(E,{value:s(t).url,"onUpdate:value":d[1]||(d[1]=g=>s(t).url=g),placeholder:"URL"},null,8,["value"])])]),_:1},8,["label"]),r(R,{ref_key:"paramItemRef",ref:i,label:u.$t("Waf.Setting.config_65"),path:"param"},{default:h(()=>[p("div",le,[r(ae,{value:s(t).param,"onUpdate:value":d[2]||(d[2]=g=>s(t).param=g),onChange:m},null,8,["value"])])]),_:1},8,["label"])]),_:1},8,["model"])])}}}),ie={class:"p-20px"},ce={class:"flex mb-16px"},$e=P({__name:"config",setup(b){const{t:l}=k(),_=e=>{N({title:e.title,width:550,footer:!0,data:{...e.data,onRefresh:()=>{t()}},component:re})},o=async()=>{_({title:l("Waf.Setting.config_64"),data:{isEdit:!1}})},{table:n,columns:f,setLoading:i}=B([{key:"url",title:"URL",ellipsis:{tooltip:!0}},{key:"type",title:l("Waf.Setting.config_73"),width:80,ellipsis:{tooltip:!0},render:e=>e.type==="refuse"?l("Waf.Setting.config_111"):l("Waf.Setting.config_110")},{key:"mode",title:l("Waf.Setting.config_93"),width:216,ellipsis:{tooltip:!0},render:e=>Object.entries(e.mode).map(([,a])=>a).join(", ")},U({width:60,options:e=>[{label:l("Public.Btn.Del"),onClick:async()=>{await D({url:e.url}),t()}}]})]),t=async()=>{try{i(!0);const{message:e}=await I();n.data=T(e)?e:[]}finally{i(!1)}};return t(),(e,a)=>{const m=Q,c=O,S=A;return y(),C("div",ie,[p("div",ce,[r(m,{type:"primary",onClick:o},{default:h(()=>[G(v(e.$t("Public.Btn.Add")),1)]),_:1})]),r(c,{"max-height":270,loading:s(n).loading,data:s(n).data,columns:s(f)},null,8,["loading","data","columns"]),r(S,{class:"mt-12px"},{default:h(()=>[p("li",null,v(e.$t("Waf.Setting.config_108")),1),p("li",null,v(e.$t("Waf.Setting.config_109")),1)]),_:1})])}}});export{$e as default}; diff --git a/BTPanel/static/vite/js/config-_anLmofW.js b/BTPanel/static/vite/js/config-_anLmofW.js new file mode 100644 index 00000000..383a56f4 --- /dev/null +++ b/BTPanel/static/vite/js/config-_anLmofW.js @@ -0,0 +1 @@ +import{_ as b}from"./index-Dd5dC2sI.js?v=1774508183068";import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import{k as x,R as W,r as B,$ as S,Z as $,_ as e,a0 as o,ai as k,X as w,S as s,a9 as u,j as U,aa as i}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{n as A,m as C}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as D}from"./useTableColumns-BpMo4f8r.js?v=1774508183068";import{u as L}from"./useTableData-D5IECpFr.js?v=1774508183068";import{q as N,t as R,v as V}from"./setting-9MLJBbIL.js?v=1774508183068";import{b as K,B as P}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";const T={class:"p-20px"},j={class:"flex mb-16px"},q={class:"flex-1 mr-16px"},et=x({__name:"config",setup(E){const{t:m}=W(),a=B(""),c=async()=>{if(a.value.trim()===""){C.error(m("Waf.Setting.config_81"));return}await V({text:a.value}),a.value="",r()},{table:l,columns:_,setLoading:p}=L([{key:"rule",title:"URL"},D({width:80,options:t=>[{label:m("Public.Btn.Del"),onClick:async()=>{await N({text:t.rule}),r()}}]})]),r=async()=>{try{p(!0);const{message:t}=await R();A(t)&&(l.data=t.map(n=>({rule:n})))}finally{p(!1)}};return r(),(t,n)=>{const f=K,d=P,g=v,h=b;return S(),$("div",T,[e("div",j,[e("div",q,[o(f,{value:s(a),"onUpdate:value":n[0]||(n[0]=y=>w(a)?a.value=y:null),placeholder:t.$t("Waf.Setting.config_78"),onKeyup:k(c,["enter"])},null,8,["value","placeholder"])]),o(d,{type:"primary",onClick:c},{default:u(()=>[U(i(t.$t("Public.Btn.Add")),1)]),_:1})]),o(g,{"max-height":368,loading:s(l).loading,data:s(l).data,columns:s(_)},null,8,["loading","data","columns"]),o(h,{class:"mt-16px"},{default:u(()=>[e("li",null,i(t.$t("Waf.Setting.config_77")),1),e("li",null,i(t.$t("Waf.Setting.config_79")),1),e("li",null,i(t.$t("Waf.Setting.config_80")),1)]),_:1})])}}});export{et as default}; diff --git a/BTPanel/static/vite/js/config-legacy-4GkNmXOC.js b/BTPanel/static/vite/js/config-legacy-4GkNmXOC.js new file mode 100644 index 00000000..e647cef2 --- /dev/null +++ b/BTPanel/static/vite/js/config-legacy-4GkNmXOC.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./setting-legacy-DokWjcpb.js?v=1774508183068","./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068"],(function(e,t){"use strict";var l,a,n,i,c,s,u,r,o,d,f,y,g,p,_,m,v,x,b,w,j,h,S,q,W,k,E,$,U;return{setters:[e=>{l=e._},e=>{a=e.i,n=e.p},e=>{i=e.g},e=>{c=e.u},e=>{s=e.u},e=>{u=e.k,r=e.l,o=e.n,d=e.g},e=>{f=e._},e=>{y=e._},e=>{g=e.k,p=e.R,_=e.r,m=e.e,v=e.$,x=e.Z,b=e.a0,w=e.a9,j=e._,h=e.S,S=e.aa,q=e.N,W=e.j},e=>{k=e.a1,E=e.b,$=e._,U=e.B},null,null,null,null,null],execute:function(){const t={class:"p-20px"},B={class:"w-220px"},C={class:"ml-8px text-desc"},P={class:"w-220px mr-8px"},R={class:"text-desc"},L={class:"w-220px mr-8px"},T={class:"text-desc"},D=g({__name:"form",props:{isEdit:{type:Boolean,default:!1},row:{}},emits:["refresh"],setup(e,{expose:l,emit:a}){const n=e,i=a,{t:c}=p(),s=_(null),o=m({url:"",frequency:30,cycle:60}),d={url:{trigger:["blur","input"],validator:()=>""!==o.url.trim()||new Error(c("Waf.Setting.config_55"))},frequency:{trigger:["blur","input"],validator:()=>!!o.frequency||new Error(c("Waf.Setting.config_56"))},cycle:{trigger:["blur","input"],validator:()=>!!o.cycle||new Error(c("Waf.Setting.config_57"))}};return(()=>{const{row:e,isEdit:t}=n;t&&e&&(o.url=e.url,o.frequency=e.frequency,o.cycle=e.cycle)})(),l({onConfirm:async()=>{await(s.value?.validate()),n.isEdit?await u(q(o)):await r(q(o)),i("refresh")}}),(e,l)=>{const a=E,n=k,i=$,c=y,u=f;return v(),x("div",t,[b(c,{ref_key:"formRef",ref:s,model:h(o),rules:d},{default:w((()=>[b(n,{label:"URL",path:"url"},{default:w((()=>[j("div",B,[b(a,{value:h(o).url,"onUpdate:value":l[0]||(l[0]=e=>h(o).url=e),placeholder:"/index.php"},null,8,["value"])]),j("span",C,S(e.$t("Waf.Setting.config_51")),1)])),_:1}),b(n,{label:e.$t("Waf.Setting.config_48"),path:"frequency"},{default:w((()=>[j("div",P,[b(i,{value:h(o).frequency,"onUpdate:value":l[1]||(l[1]=e=>h(o).frequency=e),min:1,"show-button":!1},null,8,["value"])]),j("span",R,S(e.$t("Public.Unit.Time",h(o).frequency)),1)])),_:1},8,["label"]),b(n,{label:e.$t("Waf.Setting.config_49"),path:"cycle"},{default:w((()=>[j("div",L,[b(i,{value:h(o).cycle,"onUpdate:value":l[2]||(l[2]=e=>h(o).cycle=e),min:1,"show-button":!1},null,8,["value"])]),j("span",T,S(e.$t("Public.Unit.Second",h(o).cycle)),1)])),_:1},8,["label"])])),_:1},8,["model"]),b(u,{class:"mt-12px"},{default:w((()=>[j("li",null,S(e.$t("Waf.Setting.config_54")),1)])),_:1})])}}}),Z={class:"p-20px"},A={class:"flex mb-16px"};e("default",g({__name:"config",setup(e){const{t:t}=p(),u=e=>{n({title:e.title,width:570,footer:!0,data:{...e.data,onRefresh:()=>{_()}},component:D})},r=async()=>{u({title:t("Waf.Setting.config_46"),data:{isEdit:!1}})},{table:f,columns:y,setLoading:g}=s([{key:"url",title:"URL",ellipsis:{tooltip:!0}},{key:"frequency",title:t("Waf.Setting.config_48"),width:100,ellipsis:{tooltip:!0}},{key:"cycle",title:t("Waf.Setting.config_49"),width:120,ellipsis:{tooltip:!0},render:e=>t("Waf.Setting.config_50",[e.cycle])},c({width:100,options:e=>[{label:t("Public.Btn.Edit"),onClick:async()=>{(async e=>{u({title:t("Waf.Setting.config_47"),data:{row:e,isEdit:!0}})})(e)}},{label:t("Public.Btn.Del"),onClick:async()=>{await o({url:e.url}),_()}}]})]),_=async()=>{try{g(!0);const{message:e}=await d();a(e)&&(f.data=Object.entries(e.cc_uri_frequency).map((([e,t])=>({url:e,frequency:i(t.frequency),cycle:i(t.cycle)}))))}finally{g(!1)}};return _(),(e,t)=>{const a=U,n=l;return v(),x("div",Z,[j("div",A,[b(a,{type:"primary",onClick:r},{default:w((()=>[W(S(e.$t("Public.Btn.Add")),1)])),_:1})]),b(n,{"max-height":368,loading:h(f).loading,data:h(f).data,columns:h(y)},null,8,["loading","data","columns"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-B2TmTTnI.js b/BTPanel/static/vite/js/config-legacy-B2TmTTnI.js new file mode 100644 index 00000000..a209e964 --- /dev/null +++ b/BTPanel/static/vite/js/config-legacy-B2TmTTnI.js @@ -0,0 +1 @@ +System.register(["./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./setting-legacy-DokWjcpb.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068"],(function(e,a){"use strict";var l,t,i,n,c,u,r,p,s,o,d,g,m,v,A,y,b,f,I,h,j,S,k,x,D,M,R,w,O,W,C,Z,G;return{setters:[e=>{l=e._},e=>{t=e._},e=>{i=e.c,n=e.n,c=e.p},e=>{u=e.u},e=>{r=e.u},e=>{p=e.B,s=e.C,o=e.D},e=>{d=e._},e=>{g=e.k,m=e.ao,v=e.c,A=e.$,y=e.Z,b=e._,f=e.aa,I=e.L,h=e.S,j=e.F,S=e.P,k=e.ap,x=e.R,D=e.r,M=e.e,R=e.a0,w=e.a9,O=e.j},e=>{W=e.a1,C=e.a6,Z=e.b,G=e.B},null,null,null,null,null,null],execute:function(){var a=document.createElement("style");a.textContent=".param-list[data-v-d6f769f3]{display:flex;flex-wrap:wrap;gap:10px;border:1px solid #ccc;padding:16px;border-radius:4px}.param-list .param-item[data-v-d6f769f3]{display:flex;align-items:center;justify-content:center;width:90px;height:30px;border-radius:4px;border:1px solid #ddd;cursor:pointer}.param-list .param-item.active[data-v-d6f769f3]{border:1px solid #20a53a;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFFmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgKE1hY2ludG9zaCkiIHhtcDpDcmVhdGVEYXRlPSIyMDE5LTA5LTI5VDEyOjIzOjI5KzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAxOS0wOS0yOVQxMjoyNTo1MSswODowMCIgeG1wOk1ldGFkYXRhRGF0ZT0iMjAxOS0wOS0yOVQxMjoyNTo1MSswODowMCIgZGM6Zm9ybWF0PSJpbWFnZS9wbmciIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDowMDkwMWRiNS04NTMxLTRkYmUtOGVlNy0wZDU2ODhjNzI1YjEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MDA5MDFkYjUtODUzMS00ZGJlLThlZTctMGQ1Njg4YzcyNWIxIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6MDA5MDFkYjUtODUzMS00ZGJlLThlZTctMGQ1Njg4YzcyNWIxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDowMDkwMWRiNS04NTMxLTRkYmUtOGVlNy0wZDU2ODhjNzI1YjEiIHN0RXZ0OndoZW49IjIwMTktMDktMjlUMTI6MjM6MjkrMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAoTWFjaW50b3NoKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7zCy1OAAAB+0lEQVRIib3UPWgUQRjG8f/uHkkUm5yViYiEubM8VLSwCjtiJ4JYCEpEsD7P+JlCSRMvxnyYOq2FYmUlSMzggYWF2p4uiCgBwSKiJkrO7Fhsgrlk73Zvbm+fbmbf9/3NDuxCyhHKHdVaY6eLylmwikB6cIDq4sY6FVgo+WAzmgq8jl7eut9ROK/kTBjaUTiv5IyPLjV63hFYKDndDO0ILJScBn0lqi5ROC6aKCyUOxUXTQwOUIZb6WkbFkpOtoq2DQeovmrSawwLJe+bosbwOnrNFDWChXIn4qKH/W68gRKH/K724ADlepzarNXNo0IZ9p3k8f4L5rBQ8l5c1MHhtRiG3QX4XuXYl4dmcIDqG1uH3151ttVaWFT3DkH/cVj5SvFNiW/6d+twGApQ7TvLkPsUb623bv9DrwRxHmq/eFk5xzOnFjq3KSyUHA9DbWzQa5DZAe4TvF1HAfC6DkBhBPy/sHCGSz2NZ1sR6M1mB/N2HoQjE2DZsPgc9kiwHahcJOd/bkQueYPz2dA3zitZjkIBcivv4MVpqC1D/4kAfXunCfo/2+C8kmUffSuycwPP/KSycAqWF+H9HLkfr2L11V21UPIu6JG46OYM0MMnVvHxo8glb3A+m0kCBfjIn5bq7QB1x9pBTZIRyh0l+COFf3DJpwZgaa1T8urzD5CgrJIeM8AQAAAAAElFTkSuQmCC);background-size:15px;background-repeat:no-repeat;background-position:right -1px bottom -1px}\n/*$vite$:1*/",document.head.appendChild(a);const T={class:"param-list"},L=["onClick"],N=i(g({__name:"param",props:{value:{default:()=>[]},valueModifiers:{}},emits:k(["change"],["update:value"]),setup(e,{emit:a}){const l=a,t=m(e,"value"),i=["POST","GET","PUT","OPTIONS","HEAD","DELETE","TRACE","PATCH","MOVE","COPY","LINK","UNLINK","WRAPPED","PROPFIND","PROPPATCH","MKCOL","CONNECT","SRARCH"],n=v((()=>i.length===t.value.length)),c=()=>{t.value=[],n.value||(t.value=i.map((e=>e))),l("change")};return(e,a)=>(A(),y("div",T,[b("div",{class:I(["param-item",{active:h(n)}]),onClick:c},f(e.$t("Public.SelectAll")),3),(A(),y(j,null,S(i,(e=>{return b("div",{key:e,class:I(["param-item",{active:(a=e,t.value.includes(a))}]),onClick:a=>(e=>{const a=t.value.indexOf(e);-1===a?t.value.push(e):t.value.splice(a,1),l("change")})(e)},f(e),11,L);var a})),64))]))}}),[["__scopeId","data-v-d6f769f3"]]),_={class:"p-20px"},Y={class:"w-100px mr-8px"},P={class:"w-220px"},U={class:"w-328px"},z=g({__name:"form",props:{isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(e,{expose:a,emit:l}){const t=l,{t:i}=x(),n=D(null),c=D(null),u=M({type:"refuse",url:"",param:[]}),r=[{label:i("Waf.Setting.config_111"),value:"refuse"},{label:i("Waf.Setting.config_110"),value:"accept"}],s={url:{trigger:["blur","input"],validator:()=>""!==u.url.trim()||new Error(i("Waf.Setting.config_55"))},param:{validator:()=>0!==u.param.length||new Error(i("Waf.Setting.config_112"))}},o=()=>{c.value?.restoreValidation()};return a({onConfirm:async()=>{await(n.value?.validate()),await p({type:u.type,url:u.url,param:u.param.join(",")}),t("refresh")}}),(e,a)=>{const l=C,t=Z,i=W,p=d;return A(),y("div",_,[R(p,{ref_key:"formRef",ref:n,model:h(u),rules:s},{default:w((()=>[R(i,{label:e.$t("Waf.Setting.config_73"),path:"url"},{default:w((()=>[b("div",Y,[R(l,{value:h(u).type,"onUpdate:value":a[0]||(a[0]=e=>h(u).type=e),options:r},null,8,["value"])]),b("div",P,[R(t,{value:h(u).url,"onUpdate:value":a[1]||(a[1]=e=>h(u).url=e),placeholder:"URL"},null,8,["value"])])])),_:1},8,["label"]),R(i,{ref_key:"paramItemRef",ref:c,label:e.$t("Waf.Setting.config_65"),path:"param"},{default:w((()=>[b("div",U,[R(N,{value:h(u).param,"onUpdate:value":a[2]||(a[2]=e=>h(u).param=e),onChange:o},null,8,["value"])])])),_:1},8,["label"])])),_:1},8,["model"])])}}}),H={class:"p-20px"},E={class:"flex mb-16px"};e("default",g({__name:"config",setup(e){const{t:a}=x(),i=async()=>{var e;e={title:a("Waf.Setting.config_64"),data:{isEdit:!1}},c({title:e.title,width:550,footer:!0,data:{...e.data,onRefresh:()=>{m()}},component:z})},{table:p,columns:d,setLoading:g}=r([{key:"url",title:"URL",ellipsis:{tooltip:!0}},{key:"type",title:a("Waf.Setting.config_73"),width:80,ellipsis:{tooltip:!0},render:e=>"refuse"===e.type?a("Waf.Setting.config_111"):a("Waf.Setting.config_110")},{key:"mode",title:a("Waf.Setting.config_93"),width:216,ellipsis:{tooltip:!0},render:e=>Object.entries(e.mode).map((([,e])=>e)).join(", ")},u({width:60,options:e=>[{label:a("Public.Btn.Del"),onClick:async()=>{await s({url:e.url}),m()}}]})]),m=async()=>{try{g(!0);const{message:e}=await o();p.data=n(e)?e:[]}finally{g(!1)}};return m(),(e,a)=>{const n=G,c=t,u=l;return A(),y("div",H,[b("div",E,[R(n,{type:"primary",onClick:i},{default:w((()=>[O(f(e.$t("Public.Btn.Add")),1)])),_:1})]),R(c,{"max-height":270,loading:h(p).loading,data:h(p).data,columns:h(d)},null,8,["loading","data","columns"]),R(u,{class:"mt-12px"},{default:w((()=>[b("li",null,f(e.$t("Waf.Setting.config_108")),1),b("li",null,f(e.$t("Waf.Setting.config_109")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-B80vyM3t.js b/BTPanel/static/vite/js/config-legacy-B80vyM3t.js new file mode 100644 index 00000000..666d4d6b --- /dev/null +++ b/BTPanel/static/vite/js/config-legacy-B80vyM3t.js @@ -0,0 +1 @@ +System.register(["./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./setting-legacy-DokWjcpb.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,t){"use strict";var l,a,n,i,c,o,s,u,f,r,g,_,p,v,d,m,y,S;return{setters:[e=>{l=e._},e=>{a=e._},e=>{n=e.H},e=>{i=e.k,c=e.R,o=e.r,s=e.e,u=e.$,f=e.Z,r=e.a0,g=e.a9,_=e.S,p=e._,v=e.aa,d=e.N},e=>{m=e.a1,y=e.a8,S=e._},null,null],execute:function(){const t={class:"p-20px"},x={class:"w-150px"},W={class:"w-150px"};e("default",i({__name:"config",props:{config:{}},emits:["refresh"],setup(e,{expose:i,emit:$}){const b=e,j=$,{t:w}=c(),h=o(null),U=s({open:!0,cycle:60,limit:240}),k={cycle:{validator:()=>!!U.cycle||new Error(w("Waf.Setting.config_154"))},limit:{validator:()=>!!U.limit||new Error(w("Waf.Setting.config_155"))}};return(()=>{const{config:e}=b;U.open=e.open,U.limit=e.limit,U.cycle=e.cycle})(),i({onConfirm:async()=>{await(h.value?.validate()),await n({...d(U),open:U.open?1:0}),j("refresh")}}),(e,n)=>{const i=y,c=m,o=S,s=a,d=l;return u(),f("div",t,[r(s,{ref_key:"formRef",ref:h,model:_(U),rules:k},{default:g((()=>[r(c,{label:e.$t("Waf.Setting.config_148"),path:"open"},{default:g((()=>[r(i,{value:_(U).open,"onUpdate:value":n[0]||(n[0]=e=>_(U).open=e)},null,8,["value"])])),_:1},8,["label"]),r(c,{label:e.$t("Waf.Setting.config_149"),path:"cycle"},{default:g((()=>[p("div",x,[r(o,{value:_(U).cycle,"onUpdate:value":n[1]||(n[1]=e=>_(U).cycle=e),min:1,"show-button":!1},{suffix:g((()=>[p("span",null,v(e.$t("Waf.Setting.config_53")),1)])),_:1},8,["value"])])])),_:1},8,["label"]),r(c,{label:e.$t("Waf.Setting.config_150"),path:"limit"},{default:g((()=>[p("div",W,[r(o,{value:_(U).limit,"onUpdate:value":n[2]||(n[2]=e=>_(U).limit=e),min:1,"show-button":!1},{suffix:g((()=>[p("span",null,v(e.$t("Waf.Setting.config_52")),1)])),_:1},8,["value"])])])),_:1},8,["label"])])),_:1},8,["model"]),r(d,{class:"mt-12px"},{default:g((()=>[p("li",null,v(e.$t("Waf.Setting.config_151")),1),p("li",null,v(e.$t("Waf.Setting.config_152")),1),p("li",null,v(e.$t("Waf.Setting.config_153")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-BK2KDJQc.js b/BTPanel/static/vite/js/config-legacy-BK2KDJQc.js deleted file mode 100644 index cc210c41..00000000 --- a/BTPanel/static/vite/js/config-legacy-BK2KDJQc.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./setting-legacy-DG9cBT-a.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,t){"use strict";var l,a,n,i,c,o,s,u,f,r,g,_,p,v,d,m,y,S;return{setters:[e=>{l=e._},e=>{a=e._},e=>{n=e.H},e=>{i=e.k,c=e.R,o=e.r,s=e.e,u=e.$,f=e.Z,r=e.a0,g=e.a9,_=e.S,p=e._,v=e.aa,d=e.N},e=>{m=e.a1,y=e.a8,S=e._},null,null],execute:function(){const t={class:"p-20px"},x={class:"w-150px"},W={class:"w-150px"};e("default",i({__name:"config",props:{config:{}},emits:["refresh"],setup(e,{expose:i,emit:$}){const b=e,j=$,{t:w}=c(),h=o(null),U=s({open:!0,cycle:60,limit:240}),k={cycle:{validator:()=>!!U.cycle||new Error(w("Waf.Setting.config_154"))},limit:{validator:()=>!!U.limit||new Error(w("Waf.Setting.config_155"))}};return(()=>{const{config:e}=b;U.open=e.open,U.limit=e.limit,U.cycle=e.cycle})(),i({onConfirm:async()=>{await(h.value?.validate()),await n({...d(U),open:U.open?1:0}),j("refresh")}}),(e,n)=>{const i=y,c=m,o=S,s=a,d=l;return u(),f("div",t,[r(s,{ref_key:"formRef",ref:h,model:_(U),rules:k},{default:g((()=>[r(c,{label:e.$t("Waf.Setting.config_148"),path:"open"},{default:g((()=>[r(i,{value:_(U).open,"onUpdate:value":n[0]||(n[0]=e=>_(U).open=e)},null,8,["value"])])),_:1},8,["label"]),r(c,{label:e.$t("Waf.Setting.config_149"),path:"cycle"},{default:g((()=>[p("div",x,[r(o,{value:_(U).cycle,"onUpdate:value":n[1]||(n[1]=e=>_(U).cycle=e),min:1,"show-button":!1},{suffix:g((()=>[p("span",null,v(e.$t("Waf.Setting.config_53")),1)])),_:1},8,["value"])])])),_:1},8,["label"]),r(c,{label:e.$t("Waf.Setting.config_150"),path:"limit"},{default:g((()=>[p("div",W,[r(o,{value:_(U).limit,"onUpdate:value":n[2]||(n[2]=e=>_(U).limit=e),min:1,"show-button":!1},{suffix:g((()=>[p("span",null,v(e.$t("Waf.Setting.config_52")),1)])),_:1},8,["value"])])])),_:1},8,["label"])])),_:1},8,["model"]),r(d,{class:"mt-12px"},{default:g((()=>[p("li",null,v(e.$t("Waf.Setting.config_151")),1),p("li",null,v(e.$t("Waf.Setting.config_152")),1),p("li",null,v(e.$t("Waf.Setting.config_153")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-BKwTj7W4.js b/BTPanel/static/vite/js/config-legacy-BKwTj7W4.js deleted file mode 100644 index 251fdba0..00000000 --- a/BTPanel/static/vite/js/config-legacy-BKwTj7W4.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./setting-legacy-DG9cBT-a.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785"],(function(e,l){"use strict";var a,t,n,u,i,s,c,g,r,o,d,y,_,p,f,v,j,m,x,b,S,h,$,W;return{setters:[e=>{a=e._},e=>{t=e._},e=>{n=e.k,u=e.R,i=e.r,s=e.$,c=e.Z,g=e._,r=e.a0,o=e.ai,d=e.X,y=e.S,_=e.a9,p=e.j,f=e.aa},e=>{v=e.n,j=e.m},e=>{m=e.u},e=>{x=e.u},e=>{b=e.q,S=e.t,h=e.v},e=>{$=e.b,W=e.B},null,null,null,null,null,null],execute:function(){const l={class:"p-20px"},k={class:"flex mb-16px"},w={class:"flex-1 mr-16px"};e("default",n({__name:"config",setup(e){const{t:n}=u(),B=i(""),C=async()=>{""!==B.value.trim()?(await h({text:B.value}),B.value="",R()):j.error(n("Waf.Setting.config_81"))},{table:D,columns:L,setLoading:P}=x([{key:"rule",title:"URL"},m({width:80,options:e=>[{label:n("Public.Btn.Del"),onClick:async()=>{await b({text:e.rule}),R()}}]})]),R=async()=>{try{P(!0);const{message:e}=await S();v(e)&&(D.data=e.map((e=>({rule:e}))))}finally{P(!1)}};return R(),(e,n)=>{const u=$,i=W,v=t,j=a;return s(),c("div",l,[g("div",k,[g("div",w,[r(u,{value:y(B),"onUpdate:value":n[0]||(n[0]=e=>d(B)?B.value=e:null),placeholder:e.$t("Waf.Setting.config_78"),onKeyup:o(C,["enter"])},null,8,["value","placeholder"])]),r(i,{type:"primary",onClick:C},{default:_((()=>[p(f(e.$t("Public.Btn.Add")),1)])),_:1})]),r(v,{"max-height":368,loading:y(D).loading,data:y(D).data,columns:y(L)},null,8,["loading","data","columns"]),r(j,{class:"mt-16px"},{default:_((()=>[g("li",null,f(e.$t("Waf.Setting.config_77")),1),g("li",null,f(e.$t("Waf.Setting.config_79")),1),g("li",null,f(e.$t("Waf.Setting.config_80")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-BRwvQoKg.js b/BTPanel/static/vite/js/config-legacy-BRwvQoKg.js deleted file mode 100644 index 0e37b45f..00000000 --- a/BTPanel/static/vite/js/config-legacy-BRwvQoKg.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./setting-legacy-DG9cBT-a.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index-legacy-DEYz4m3y.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785"],(function(e,a){"use strict";var t,l,i,n,s,u,r,c,p,o,g,f,d,_,y,v,m,b,S,W,j,x,h,w,k,$,T;return{setters:[e=>{t=e._},e=>{l=e._},e=>{i=e.i,n=e.p},e=>{s=e.u},e=>{u=e.u},e=>{r=e.o,c=e.p,p=e.g},e=>{o=e._},e=>{g=e._},e=>{f=e.k,d=e.R,_=e.r,y=e.e,v=e.$,m=e.Z,b=e.a0,S=e.a9,W=e._,j=e.S,x=e.j,h=e.aa},e=>{w=e.a1,k=e.a6,$=e.b,T=e.B},null,null,null,null,null,null],execute:function(){const a={class:"p-20px"},U={class:"w-100px mr-8px"},R={class:"w-220px"},B={class:"w-328px"},C={class:"w-100px"},L=f({__name:"form",props:{isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(e,{expose:t,emit:l}){const i=l,{t:n}=d(),s=_(null),u=y({sType:"url",uri:"",param:"",type:1}),c=[{label:n("Waf.Setting.config_75"),value:"url"},{label:n("Waf.Setting.config_76"),value:"regular"}],p=[{label:n("Waf.Setting.config_68"),value:1},{label:n("Waf.Setting.config_69"),value:2},{label:n("Waf.Setting.config_70"),value:3},{label:n("Waf.Setting.config_71"),value:4}],f={uri:{trigger:["blur","input"],validator:()=>""!==u.uri.trim()||new Error(n("Waf.Setting.config_55"))}};return t({onConfirm:async()=>{await(s.value?.validate()),await r({stype:u.sType,uri:u.uri,param:u.param.replace(/\n/g,",").split(","),type:u.type}),i("refresh")}}),(e,t)=>{const l=k,i=$,n=w,r=g,d=o;return v(),m("div",a,[b(d,{ref_key:"formRef",ref:s,model:j(u),rules:f},{default:S((()=>[b(n,{label:e.$t("Waf.Setting.config_73"),path:"uri"},{default:S((()=>[W("div",U,[b(l,{value:j(u).sType,"onUpdate:value":t[0]||(t[0]=e=>j(u).sType=e),options:c},null,8,["value"])]),W("div",R,[b(i,{value:j(u).uri,"onUpdate:value":t[1]||(t[1]=e=>j(u).uri=e),placeholder:"URL"},null,8,["value"])])])),_:1},8,["label"]),b(n,{label:e.$t("Waf.Setting.config_65"),path:"param"},{default:S((()=>[W("div",B,[b(r,{value:j(u).param,"onUpdate:value":t[2]||(t[2]=e=>j(u).param=e),rows:4,placeholder:e.$t("Waf.Setting.config_74")},null,8,["value","placeholder"])])])),_:1},8,["label"]),b(n,{label:e.$t("Waf.Setting.config_67"),path:"type","show-feedback":!1},{default:S((()=>[W("div",C,[b(l,{value:j(u).type,"onUpdate:value":t[3]||(t[3]=e=>j(u).type=e),"consistent-menu-width":!1,options:p},null,8,["value"])])])),_:1},8,["label"])])),_:1},8,["model"])])}}}),E={class:"p-20px"},D={class:"flex mb-16px"};e("default",f({__name:"config",setup(e){const{t:a}=d(),r=async()=>{var e;e={title:a("Waf.Setting.config_64"),data:{isEdit:!1}},n({title:e.title,width:550,footer:!0,data:{...e.data,onRefresh:()=>{_()}},component:L})},{table:o,columns:g,setLoading:f}=u([{key:"url",title:"URL",ellipsis:{tooltip:!0}},{key:"param",title:a("Waf.Setting.config_65"),width:120,ellipsis:{tooltip:!0},render:e=>e.param?e.param.join(", "):"--"},{key:"sType",title:a("Waf.Setting.config_66"),width:80,render:e=>"regular"==e.sType?a("Waf.Setting.config_72"):"URL"},{key:"type",title:a("Waf.Setting.config_67"),width:90,render:e=>{var t="";switch(e.type){case 1:t=a("Waf.Setting.config_68");break;case 2:t=a("Waf.Setting.config_69");break;case 3:t=a("Waf.Setting.config_70");break;case 4:t=a("Waf.Setting.config_71")}return t}},s({width:60,options:e=>[{label:a("Public.Btn.Del"),onClick:async()=>{await c({uri:e.url}),_()}}]})]),_=async()=>{try{f(!0);const{message:e}=await p();i(e)&&(o.data=Object.entries(e.url_cc_param).map((([e,a])=>({url:e,type:a.type,param:a.param,sType:a.stype}))))}finally{f(!1)}};return _(),(e,a)=>{const i=T,n=l,s=t;return v(),m("div",E,[W("div",D,[b(i,{type:"primary",onClick:r},{default:S((()=>[x(h(e.$t("Public.Btn.Add")),1)])),_:1})]),b(n,{"max-height":368,loading:j(o).loading,data:j(o).data,columns:j(g)},null,8,["loading","data","columns"]),b(s,{class:"mt-12px"},{default:S((()=>[W("li",null,h(e.$t("Waf.Setting.config_60")),1),W("li",null,h(e.$t("Waf.Setting.config_61")),1),W("li",null,h(e.$t("Waf.Setting.config_62")),1),W("li",null,h(e.$t("Waf.Setting.config_63")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-BVc5Vhnl.js b/BTPanel/static/vite/js/config-legacy-BVc5Vhnl.js new file mode 100644 index 00000000..ecca31ff --- /dev/null +++ b/BTPanel/static/vite/js/config-legacy-BVc5Vhnl.js @@ -0,0 +1 @@ +System.register(["./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./setting-legacy-DokWjcpb.js?v=1774508183068","./index-legacy-C1Nd2_l-.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068"],(function(e,l){"use strict";var t,a,n,i,u,c,s,o,r,g,d,f,_,p,y,v,m,j,x,S,b,h,w,W,C,$,k,B,P,U,L;return{setters:[e=>{t=e._},e=>{a=e._},e=>{n=e.k,i=e.R,u=e.r,c=e.$,s=e.Z,o=e._,r=e.a0,g=e.ai,d=e.X,f=e.S,_=e.a9,p=e.j,y=e.aa},e=>{v=e.n,m=e.m,j=e.p,x=e.hM,S=e.h},e=>{b=e.u},e=>{h=e.u},e=>{w=e.K,W=e.L,C=e.M,$=e.N,k=e.O},e=>{B=e._},e=>{P=e.b,U=e.B,L=e.l},null,null,null,null,null,null],execute:function(){const l={class:"p-20px"},D={class:"flex mb-16px"},E={class:"flex-1 mr-16px"},K="uri_find";e("default",n({__name:"config",setup(e){const{t:n}=i(),M=u(""),R=async()=>{""!==M.value.trim()?(await C({url_find:M.value}),M.value="",Z()):m.error(n("Waf.Setting.config_176"))},T=()=>{const e=u("");j({title:n("Waf.Setting.config_177"),width:440,footer:!0,content:()=>r("div",{class:"p-20px"},[r(B,{value:e.value,"onUpdate:value":l=>e.value=l,rows:14,placeholder:n("Waf.Setting.config_178")},null)]),onConfirm:async()=>{if(""===e.value.trim())return m.error(n("Waf.Setting.config_179")),!1;await $({pdata:e.value,json:1}),Z()}})},A=()=>{const e=u(N.data.map((e=>e.url)).join("\n"));j({title:n("Waf.Setting.config_177"),width:440,footer:!0,content:()=>r("div",{class:"p-20px"},[r(B,{value:e.value,"onUpdate:value":l=>e.value=l,rows:14,readonly:!0},null)]),onConfirm:()=>(x(e.value,`${K}.json`),!1)})},I=()=>{S({title:n("Waf.Setting.config_180"),content:n("Waf.Setting.config_181"),onConfirm:async()=>{await k({type:K}),Z()}})},{table:N,columns:O,setLoading:X}=h([{key:"url",title:"URL"},b({width:80,options:e=>[{label:n("Public.Btn.Del"),onClick:async()=>{await w({url_find:e.url}),Z()}}]})]),Z=async()=>{try{X(!0);const{message:e}=await W();v(e)&&(N.data=e.map((e=>({url:e}))))}finally{X(!1)}};return Z(),(e,n)=>{const i=P,u=U,v=a,m=L,j=t;return c(),s("div",l,[o("div",D,[o("div",E,[r(i,{value:f(M),"onUpdate:value":n[0]||(n[0]=e=>d(M)?M.value=e:null),placeholder:e.$t("Waf.Setting.config_173"),onKeyup:g(R,["enter"])},null,8,["value","placeholder"])]),r(u,{type:"primary",onClick:R},{default:_((()=>[p(y(e.$t("Public.Btn.Add")),1)])),_:1})]),r(v,{"max-height":258,loading:f(N).loading,data:f(N).data,columns:f(O)},null,8,["loading","data","columns"]),r(m,{class:"mt-16px"},{default:_((()=>[r(u,{onClick:T},{default:_((()=>[p(y(e.$t("Public.Btn.Import")),1)])),_:1}),r(u,{onClick:A},{default:_((()=>[p(y(e.$t("Public.Btn.Export")),1)])),_:1}),r(u,{onClick:I},{default:_((()=>[p(y(e.$t("Public.Btn.Empty")),1)])),_:1})])),_:1}),r(j,{class:"mt-16px"},{default:_((()=>[o("li",null,y(e.$t("Waf.Setting.config_174")),1),o("li",null,y(e.$t("Waf.Setting.config_175")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-BXTlG1lQ.js b/BTPanel/static/vite/js/config-legacy-BXTlG1lQ.js deleted file mode 100644 index 78c1ca09..00000000 --- a/BTPanel/static/vite/js/config-legacy-BXTlG1lQ.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./setting-legacy-DG9cBT-a.js?v=1773287522785","./index-legacy-DEYz4m3y.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785"],(function(e,l){"use strict";var t,a,n,i,u,c,s,o,r,g,d,f,_,p,y,v,m,j,x,S,b,h,w,W,C,$,k,B,P,U,L;return{setters:[e=>{t=e._},e=>{a=e._},e=>{n=e.k,i=e.R,u=e.r,c=e.$,s=e.Z,o=e._,r=e.a0,g=e.ai,d=e.X,f=e.S,_=e.a9,p=e.j,y=e.aa},e=>{v=e.n,m=e.m,j=e.p,x=e.ht,S=e.h},e=>{b=e.u},e=>{h=e.u},e=>{w=e.K,W=e.L,C=e.M,$=e.N,k=e.O},e=>{B=e._},e=>{P=e.b,U=e.B,L=e.k},null,null,null,null,null,null],execute:function(){const l={class:"p-20px"},D={class:"flex mb-16px"},E={class:"flex-1 mr-16px"},K="uri_find";e("default",n({__name:"config",setup(e){const{t:n}=i(),R=u(""),T=async()=>{""!==R.value.trim()?(await C({url_find:R.value}),R.value="",Z()):m.error(n("Waf.Setting.config_176"))},A=()=>{const e=u("");j({title:n("Waf.Setting.config_177"),width:440,footer:!0,content:()=>r("div",{class:"p-20px"},[r(B,{value:e.value,"onUpdate:value":l=>e.value=l,rows:14,placeholder:n("Waf.Setting.config_178")},null)]),onConfirm:async()=>{if(""===e.value.trim())return m.error(n("Waf.Setting.config_179")),!1;await $({pdata:e.value,json:1}),Z()}})},I=()=>{const e=u(N.data.map((e=>e.url)).join("\n"));j({title:n("Waf.Setting.config_177"),width:440,footer:!0,content:()=>r("div",{class:"p-20px"},[r(B,{value:e.value,"onUpdate:value":l=>e.value=l,rows:14,readonly:!0},null)]),onConfirm:()=>(x(e.value,`${K}.json`),!1)})},M=()=>{S({title:n("Waf.Setting.config_180"),content:n("Waf.Setting.config_181"),onConfirm:async()=>{await k({type:K}),Z()}})},{table:N,columns:O,setLoading:X}=h([{key:"url",title:"URL"},b({width:80,options:e=>[{label:n("Public.Btn.Del"),onClick:async()=>{await w({url_find:e.url}),Z()}}]})]),Z=async()=>{try{X(!0);const{message:e}=await W();v(e)&&(N.data=e.map((e=>({url:e}))))}finally{X(!1)}};return Z(),(e,n)=>{const i=P,u=U,v=a,m=L,j=t;return c(),s("div",l,[o("div",D,[o("div",E,[r(i,{value:f(R),"onUpdate:value":n[0]||(n[0]=e=>d(R)?R.value=e:null),placeholder:e.$t("Waf.Setting.config_173"),onKeyup:g(T,["enter"])},null,8,["value","placeholder"])]),r(u,{type:"primary",onClick:T},{default:_((()=>[p(y(e.$t("Public.Btn.Add")),1)])),_:1})]),r(v,{"max-height":258,loading:f(N).loading,data:f(N).data,columns:f(O)},null,8,["loading","data","columns"]),r(m,{class:"mt-16px"},{default:_((()=>[r(u,{onClick:A},{default:_((()=>[p(y(e.$t("Public.Btn.Import")),1)])),_:1}),r(u,{onClick:I},{default:_((()=>[p(y(e.$t("Public.Btn.Export")),1)])),_:1}),r(u,{onClick:M},{default:_((()=>[p(y(e.$t("Public.Btn.Empty")),1)])),_:1})])),_:1}),r(j,{class:"mt-16px"},{default:_((()=>[o("li",null,y(e.$t("Waf.Setting.config_174")),1),o("li",null,y(e.$t("Waf.Setting.config_175")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-BoZydfFU.js b/BTPanel/static/vite/js/config-legacy-BoZydfFU.js new file mode 100644 index 00000000..fec0e80c --- /dev/null +++ b/BTPanel/static/vite/js/config-legacy-BoZydfFU.js @@ -0,0 +1 @@ +System.register(["./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./setting-legacy-DokWjcpb.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068"],(function(t,e){"use strict";var l,a,n,i,s,c,u,g,o,r,d,x,_,p,y,f,m,j,v,b,S,h,W;return{setters:[t=>{l=t._},t=>{a=t._},t=>{n=t.i,i=t.m},t=>{s=t.u},t=>{c=t.u},t=>{u=t.I,g=t.g,o=t.J},t=>{r=t.b,d=t.B},t=>{x=t.k,_=t.R,p=t.e,y=t.$,f=t.Z,m=t._,j=t.a0,v=t.S,b=t.a9,S=t.j,h=t.aa,W=t.N},null,null,null,null,null,null],execute:function(){const e={class:"p-20px"},$={class:"flex mb-16px"},k={class:"flex-1 mr-16px"},w={class:"w-230px mr-16px"};t("default",x({__name:"config",setup(t){const{t:x}=_(),B=p({text:"",text2:""}),C=async()=>{""!==B.text.trim()&&""!==B.text2.trim()?(await o(W(B)),B.text="",B.text2="",U()):i.error(x("Waf.Setting.config_170"))},{table:D,columns:P,setLoading:T}=c([{key:"text",title:x("Waf.Setting.config_164"),ellipsis:{tooltip:!0}},{key:"text2",title:x("Waf.Setting.config_165"),ellipsis:{tooltip:!0}},s({width:80,options:t=>[{label:x("Public.Btn.Del"),onClick:async()=>{await u({body:{[t.text]:t.text2}}),U()}}]})]),U=async()=>{try{T(!0);const{message:t}=await g();n(t)&&(D.data=t.body_character_string.map((t=>{const e=Object.keys(t);return{text:e[0],text2:t[e[0]]}})))}finally{T(!1)}};return U(),(t,n)=>{const i=r,s=d,c=a,u=l;return y(),f("div",e,[m("div",$,[m("div",k,[j(i,{value:v(B).text,"onUpdate:value":n[0]||(n[0]=t=>v(B).text=t),placeholder:t.$t("Waf.Setting.config_164")},null,8,["value","placeholder"])]),m("div",w,[j(i,{value:v(B).text2,"onUpdate:value":n[1]||(n[1]=t=>v(B).text2=t),placeholder:t.$t("Waf.Setting.config_165")},null,8,["value","placeholder"])]),j(s,{type:"primary",onClick:C},{default:b((()=>[S(h(t.$t("Public.Btn.Add")),1)])),_:1})]),j(c,{"max-height":230,loading:v(D).loading,data:v(D).data,columns:v(P)},null,8,["loading","data","columns"]),j(u,{class:"mt-16px"},{default:b((()=>[m("li",null,h(t.$t("Waf.Setting.config_166")),1),m("li",null,h(t.$t("Waf.Setting.config_167")),1),m("li",null,h(t.$t("Waf.Setting.config_168")),1),m("li",null,h(t.$t("Waf.Setting.config_169")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-C7vmNeSY.js b/BTPanel/static/vite/js/config-legacy-C7vmNeSY.js deleted file mode 100644 index 3bfe863f..00000000 --- a/BTPanel/static/vite/js/config-legacy-C7vmNeSY.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./tools-legacy-DOwS7RGc.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./rules-legacy-CRGREktS.js?v=1773287522785"],(function(e,a){"use strict";var t,s,n,l,c,u,o,r,i,v,d,p,y,f;return{setters:[e=>{t=e.i,s=e.c},e=>{n=e.j,l=e.k},e=>{c=e.k,u=e.r,o=e.$,r=e.Z,i=e._,v=e.aa,d=e.a0,p=e.S,y=e.X},e=>{f=e.b1},null,null],execute:function(){var a=document.createElement("style");a.textContent=".n-transfer[data-v-22ecfe71] .n-transfer-list--target{display:none}\n/*$vite$:1*/",document.head.appendChild(a);const g={class:"p-20px"},j={class:"mb-16px text-desc"},m=c({__name:"config",setup(e,{expose:a}){const s=u([]),c=u([]);return(async()=>{const{message:e}=await n();t(e)&&(s.value=Object.keys(e).filter((a=>e[a])),c.value=Object.keys(e).map((e=>({label:e,value:e}))))})(),a({onConfirm:async()=>{const e=s.value.reduce(((e,a)=>(e[a]=!0,e)),{});c.value.forEach((a=>{e[a.value]||(e[a.value]=!1)})),await l({data:e})}}),(e,a)=>{const t=f;return o(),r("div",g,[i("div",j,v(e.$t("Waf.Block.index_73")),1),d(t,{value:p(s),"onUpdate:value":a[0]||(a[0]=e=>y(s)?s.value=e:null),options:p(c)},null,8,["value","options"])])}}});e("default",s(m,[["__scopeId","data-v-22ecfe71"]]))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-CcdNKe-l.js b/BTPanel/static/vite/js/config-legacy-CcdNKe-l.js deleted file mode 100644 index 92925a0a..00000000 --- a/BTPanel/static/vite/js/config-legacy-CcdNKe-l.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./setting-legacy-DG9cBT-a.js?v=1773287522785","./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785"],(function(e,t){"use strict";var l,a,n,i,c,s,u,r,o,d,f,y,g,p,_,m,v,x,b,w,j,h,S,q,W,k,E,$,U;return{setters:[e=>{l=e._},e=>{a=e.i,n=e.p},e=>{i=e.g},e=>{c=e.u},e=>{s=e.u},e=>{u=e.k,r=e.l,o=e.n,d=e.g},e=>{f=e._},e=>{y=e._},e=>{g=e.k,p=e.R,_=e.r,m=e.e,v=e.$,x=e.Z,b=e.a0,w=e.a9,j=e._,h=e.S,S=e.aa,q=e.N,W=e.j},e=>{k=e.a1,E=e.b,$=e._,U=e.B},null,null,null,null,null],execute:function(){const t={class:"p-20px"},B={class:"w-220px"},C={class:"ml-8px text-desc"},P={class:"w-220px mr-8px"},R={class:"text-desc"},L={class:"w-220px mr-8px"},T={class:"text-desc"},D=g({__name:"form",props:{isEdit:{type:Boolean,default:!1},row:{}},emits:["refresh"],setup(e,{expose:l,emit:a}){const n=e,i=a,{t:c}=p(),s=_(null),o=m({url:"",frequency:30,cycle:60}),d={url:{trigger:["blur","input"],validator:()=>""!==o.url.trim()||new Error(c("Waf.Setting.config_55"))},frequency:{trigger:["blur","input"],validator:()=>!!o.frequency||new Error(c("Waf.Setting.config_56"))},cycle:{trigger:["blur","input"],validator:()=>!!o.cycle||new Error(c("Waf.Setting.config_57"))}};return(()=>{const{row:e,isEdit:t}=n;t&&e&&(o.url=e.url,o.frequency=e.frequency,o.cycle=e.cycle)})(),l({onConfirm:async()=>{await(s.value?.validate()),n.isEdit?await u(q(o)):await r(q(o)),i("refresh")}}),(e,l)=>{const a=E,n=k,i=$,c=y,u=f;return v(),x("div",t,[b(c,{ref_key:"formRef",ref:s,model:h(o),rules:d},{default:w((()=>[b(n,{label:"URL",path:"url"},{default:w((()=>[j("div",B,[b(a,{value:h(o).url,"onUpdate:value":l[0]||(l[0]=e=>h(o).url=e),placeholder:"/index.php"},null,8,["value"])]),j("span",C,S(e.$t("Waf.Setting.config_51")),1)])),_:1}),b(n,{label:e.$t("Waf.Setting.config_48"),path:"frequency"},{default:w((()=>[j("div",P,[b(i,{value:h(o).frequency,"onUpdate:value":l[1]||(l[1]=e=>h(o).frequency=e),min:1,"show-button":!1},null,8,["value"])]),j("span",R,S(e.$t("Public.Unit.Time",h(o).frequency)),1)])),_:1},8,["label"]),b(n,{label:e.$t("Waf.Setting.config_49"),path:"cycle"},{default:w((()=>[j("div",L,[b(i,{value:h(o).cycle,"onUpdate:value":l[2]||(l[2]=e=>h(o).cycle=e),min:1,"show-button":!1},null,8,["value"])]),j("span",T,S(e.$t("Public.Unit.Second",h(o).cycle)),1)])),_:1},8,["label"])])),_:1},8,["model"]),b(u,{class:"mt-12px"},{default:w((()=>[j("li",null,S(e.$t("Waf.Setting.config_54")),1)])),_:1})])}}}),Z={class:"p-20px"},A={class:"flex mb-16px"};e("default",g({__name:"config",setup(e){const{t:t}=p(),u=e=>{n({title:e.title,width:570,footer:!0,data:{...e.data,onRefresh:()=>{_()}},component:D})},r=async()=>{u({title:t("Waf.Setting.config_46"),data:{isEdit:!1}})},{table:f,columns:y,setLoading:g}=s([{key:"url",title:"URL",ellipsis:{tooltip:!0}},{key:"frequency",title:t("Waf.Setting.config_48"),width:100,ellipsis:{tooltip:!0}},{key:"cycle",title:t("Waf.Setting.config_49"),width:120,ellipsis:{tooltip:!0},render:e=>t("Waf.Setting.config_50",[e.cycle])},c({width:100,options:e=>[{label:t("Public.Btn.Edit"),onClick:async()=>{(async e=>{u({title:t("Waf.Setting.config_47"),data:{row:e,isEdit:!0}})})(e)}},{label:t("Public.Btn.Del"),onClick:async()=>{await o({url:e.url}),_()}}]})]),_=async()=>{try{g(!0);const{message:e}=await d();a(e)&&(f.data=Object.entries(e.cc_uri_frequency).map((([e,t])=>({url:e,frequency:i(t.frequency),cycle:i(t.cycle)}))))}finally{g(!1)}};return _(),(e,t)=>{const a=U,n=l;return v(),x("div",Z,[j("div",A,[b(a,{type:"primary",onClick:r},{default:w((()=>[W(S(e.$t("Public.Btn.Add")),1)])),_:1})]),b(n,{"max-height":368,loading:h(f).loading,data:h(f).data,columns:h(y)},null,8,["loading","data","columns"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-CnVefEvP.js b/BTPanel/static/vite/js/config-legacy-CnVefEvP.js new file mode 100644 index 00000000..8fd57534 --- /dev/null +++ b/BTPanel/static/vite/js/config-legacy-CnVefEvP.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068"],(function(t,s){"use strict";var e,a;return{setters:[t=>{e=t.av,a=t.a6}],execute:function(){const{t:s}=a.global;t("m",(t=>e.post("/project/quota/modify_path_quota",{data:JSON.stringify({path:t.path,quota_type:t.quota_type,quota_push:{module:"",status:!1,size:0,push_count:0},quota_storage:{size:t.size}})},{requestOptions:{loading:s("WP.api.tamper_8"),successMessage:!0,errorMessage:{close:!0}}}))),t("a",(t=>e.post("/project/quota/modify_database_quota",{data:JSON.stringify({db_name:t.db_name,quota_push:{module:"",status:!1,size:0,push_count:0},quota_storage:{size:t.size}})},{requestOptions:{loading:s("WP.api.tamper_8"),successMessage:!0,errorMessage:{close:!0}}}))),t("g",(()=>e.post("/config?action=get_msg_configs")))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-Consn3eI.js b/BTPanel/static/vite/js/config-legacy-Consn3eI.js deleted file mode 100644 index 43f77330..00000000 --- a/BTPanel/static/vite/js/config-legacy-Consn3eI.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785"],(function(s,t){"use strict";var e,a;return{setters:[s=>{e=s.as,a=s.a3}],execute:function(){const{t:t}=a.global;s("m",(s=>e.post("/project/quota/modify_path_quota",{data:JSON.stringify({path:s.path,quota_type:s.quota_type,quota_push:{module:"",status:!1,size:0,push_count:0},quota_storage:{size:s.size}})},{requestOptions:{loading:t("WP.api.tamper_8"),successMessage:!0,errorMessage:{close:!0}}}))),s("a",(s=>e.post("/project/quota/modify_database_quota",{data:JSON.stringify({db_name:s.db_name,quota_push:{module:"",status:!1,size:0,push_count:0},quota_storage:{size:s.size}})},{requestOptions:{loading:t("WP.api.tamper_8"),successMessage:!0,errorMessage:{close:!0}}}))),s("g",(()=>e.post("/config?action=get_msg_configs")))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-CujXAsyy.js b/BTPanel/static/vite/js/config-legacy-CujXAsyy.js deleted file mode 100644 index 4ca63db1..00000000 --- a/BTPanel/static/vite/js/config-legacy-CujXAsyy.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./setting-legacy-DG9cBT-a.js?v=1773287522785","./index-legacy-DEYz4m3y.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785"],(function(e,t){"use strict";var a,l,n,i,c,o,u,s,r,g,d,f,_,p,y,v,m,x,j,w,S,b,h,W,C,k,$,B,P,U,D;return{setters:[e=>{a=e._},e=>{l=e._},e=>{n=e.k,i=e.R,c=e.r,o=e.$,u=e.Z,s=e._,r=e.a0,g=e.ai,d=e.X,f=e.S,_=e.a9,p=e.j,y=e.aa},e=>{v=e.i,m=e.m,x=e.p,j=e.ht,w=e.h},e=>{S=e.u},e=>{b=e.u},e=>{h=e.P,W=e.g,C=e.Q,k=e.R,$=e.S},e=>{B=e._},e=>{P=e.b,U=e.B,D=e.k},null,null,null,null,null,null],execute:function(){const t={class:"p-20px"},E={class:"flex mb-16px"},R={class:"flex-1 mr-16px"};e("default",n({__name:"config",setup(e){const{t:n}=i(),T=c(""),A=async()=>{""!==T.value.trim()?(await C({text:T.value}),T.value="",q()):m.error(n("Waf.Setting.config_176"))},I=()=>{const e=c("");x({title:n("Waf.Setting.config_187"),width:440,footer:!0,content:()=>r("div",{class:"p-20px"},[r(B,{value:e.value,"onUpdate:value":t=>e.value=t,rows:14,placeholder:n("Waf.Setting.config_188")},null)]),onConfirm:async()=>{if(""===e.value.trim())return m.error(n("Waf.Setting.config_179")),!1;await k({text:e.value}),q()}})},K=()=>{const e=c(Q.data.map((e=>e.word)).join("\n"));x({title:n("Waf.Setting.config_177"),width:440,footer:!0,content:()=>r("div",{class:"p-20px"},[r(B,{value:e.value,"onUpdate:value":t=>e.value=t,rows:14,readonly:!0},null)]),onConfirm:()=>(j(e.value,"body_intercept.json"),!1)})},L=()=>{w({title:n("Waf.Setting.config_180"),content:n("Waf.Setting.config_181"),onConfirm:async()=>{await $(),q()}})},{table:Q,columns:X,setLoading:Z}=b([{key:"word",title:n("Waf.Setting.config_184")},S({width:80,options:e=>[{label:n("Public.Btn.Del"),onClick:async()=>{await h({text:e.word}),q()}}]})]),q=async()=>{try{Z(!0);const{message:e}=await W();v(e)&&(Q.data=e.body_intercept.map((e=>({word:e}))))}finally{Z(!1)}};return q(),(e,n)=>{const i=P,c=U,v=l,m=D,x=a;return o(),u("div",t,[s("div",E,[s("div",R,[r(i,{value:f(T),"onUpdate:value":n[0]||(n[0]=e=>d(T)?T.value=e:null),placeholder:e.$t("Waf.Setting.config_184"),onKeyup:g(A,["enter"])},null,8,["value","placeholder"])]),r(c,{type:"primary",onClick:A},{default:_((()=>[p(y(e.$t("Public.Btn.Add")),1)])),_:1})]),r(v,{"max-height":258,loading:f(Q).loading,data:f(Q).data,columns:f(X)},null,8,["loading","data","columns"]),r(m,{class:"mt-16px"},{default:_((()=>[r(c,{onClick:I},{default:_((()=>[p(y(e.$t("Public.Btn.Import")),1)])),_:1}),r(c,{onClick:K},{default:_((()=>[p(y(e.$t("Public.Btn.Export")),1)])),_:1}),r(c,{onClick:L},{default:_((()=>[p(y(e.$t("Public.Btn.Empty")),1)])),_:1})])),_:1}),r(x,{class:"mt-16px"},{default:_((()=>[s("li",null,y(e.$t("Waf.Setting.config_185")),1),s("li",null,y(e.$t("Waf.Setting.config_186")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-CvOOZjoO.js b/BTPanel/static/vite/js/config-legacy-CvOOZjoO.js new file mode 100644 index 00000000..8e9ca285 --- /dev/null +++ b/BTPanel/static/vite/js/config-legacy-CvOOZjoO.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./tools-legacy-B1VLhbNY.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./rules-legacy-DkFBn6b4.js?v=1774508183068"],(function(e,a){"use strict";var t,s,n,l,c,u,o,r,i,v,d,p,y,f;return{setters:[e=>{t=e.i,s=e.c},e=>{n=e.j,l=e.k},e=>{c=e.k,u=e.r,o=e.$,r=e.Z,i=e._,v=e.aa,d=e.a0,p=e.S,y=e.X},e=>{f=e.b1},null,null],execute:function(){var a=document.createElement("style");a.textContent=".n-transfer[data-v-22ecfe71] .n-transfer-list--target{display:none}\n/*$vite$:1*/",document.head.appendChild(a);const g={class:"p-20px"},j={class:"mb-16px text-desc"},m=c({__name:"config",setup(e,{expose:a}){const s=u([]),c=u([]);return(async()=>{const{message:e}=await n();t(e)&&(s.value=Object.keys(e).filter((a=>e[a])),c.value=Object.keys(e).map((e=>({label:e,value:e}))))})(),a({onConfirm:async()=>{const e=s.value.reduce(((e,a)=>(e[a]=!0,e)),{});c.value.forEach((a=>{e[a.value]||(e[a.value]=!1)})),await l({data:e})}}),(e,a)=>{const t=f;return o(),r("div",g,[i("div",j,v(e.$t("Waf.Block.index_73")),1),d(t,{value:p(s),"onUpdate:value":a[0]||(a[0]=e=>y(s)?s.value=e:null),options:p(c)},null,8,["value","options"])])}}});e("default",s(m,[["__scopeId","data-v-22ecfe71"]]))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-D5-U8k0n.js b/BTPanel/static/vite/js/config-legacy-D5-U8k0n.js new file mode 100644 index 00000000..e2d1c2df --- /dev/null +++ b/BTPanel/static/vite/js/config-legacy-D5-U8k0n.js @@ -0,0 +1 @@ +System.register(["./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./setting-legacy-DokWjcpb.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./index-legacy-C1Nd2_l-.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068"],(function(e,a){"use strict";var t,l,i,n,s,u,r,c,p,o,g,f,d,_,y,v,m,b,S,W,x,h,j,w,k,$,T;return{setters:[e=>{t=e._},e=>{l=e._},e=>{i=e.i,n=e.p},e=>{s=e.u},e=>{u=e.u},e=>{r=e.o,c=e.p,p=e.g},e=>{o=e._},e=>{g=e._},e=>{f=e.k,d=e.R,_=e.r,y=e.e,v=e.$,m=e.Z,b=e.a0,S=e.a9,W=e._,x=e.S,h=e.j,j=e.aa},e=>{w=e.a1,k=e.a6,$=e.b,T=e.B},null,null,null,null,null,null],execute:function(){const a={class:"p-20px"},U={class:"w-100px mr-8px"},R={class:"w-220px"},B={class:"w-328px"},C={class:"w-100px"},L=f({__name:"form",props:{isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(e,{expose:t,emit:l}){const i=l,{t:n}=d(),s=_(null),u=y({sType:"url",uri:"",param:"",type:1}),c=[{label:n("Waf.Setting.config_75"),value:"url"},{label:n("Waf.Setting.config_76"),value:"regular"}],p=[{label:n("Waf.Setting.config_68"),value:1},{label:n("Waf.Setting.config_69"),value:2},{label:n("Waf.Setting.config_70"),value:3},{label:n("Waf.Setting.config_71"),value:4}],f={uri:{trigger:["blur","input"],validator:()=>""!==u.uri.trim()||new Error(n("Waf.Setting.config_55"))}};return t({onConfirm:async()=>{await(s.value?.validate()),await r({stype:u.sType,uri:u.uri,param:u.param.replace(/\n/g,",").split(","),type:u.type}),i("refresh")}}),(e,t)=>{const l=k,i=$,n=w,r=g,d=o;return v(),m("div",a,[b(d,{ref_key:"formRef",ref:s,model:x(u),rules:f},{default:S((()=>[b(n,{label:e.$t("Waf.Setting.config_73"),path:"uri"},{default:S((()=>[W("div",U,[b(l,{value:x(u).sType,"onUpdate:value":t[0]||(t[0]=e=>x(u).sType=e),options:c},null,8,["value"])]),W("div",R,[b(i,{value:x(u).uri,"onUpdate:value":t[1]||(t[1]=e=>x(u).uri=e),placeholder:"URL"},null,8,["value"])])])),_:1},8,["label"]),b(n,{label:e.$t("Waf.Setting.config_65"),path:"param"},{default:S((()=>[W("div",B,[b(r,{value:x(u).param,"onUpdate:value":t[2]||(t[2]=e=>x(u).param=e),rows:4,placeholder:e.$t("Waf.Setting.config_74")},null,8,["value","placeholder"])])])),_:1},8,["label"]),b(n,{label:e.$t("Waf.Setting.config_67"),path:"type","show-feedback":!1},{default:S((()=>[W("div",C,[b(l,{value:x(u).type,"onUpdate:value":t[3]||(t[3]=e=>x(u).type=e),"consistent-menu-width":!1,options:p},null,8,["value"])])])),_:1},8,["label"])])),_:1},8,["model"])])}}}),E={class:"p-20px"},D={class:"flex mb-16px"};e("default",f({__name:"config",setup(e){const{t:a}=d(),r=async()=>{var e;e={title:a("Waf.Setting.config_64"),data:{isEdit:!1}},n({title:e.title,width:550,footer:!0,data:{...e.data,onRefresh:()=>{_()}},component:L})},{table:o,columns:g,setLoading:f}=u([{key:"url",title:"URL",ellipsis:{tooltip:!0}},{key:"param",title:a("Waf.Setting.config_65"),width:120,ellipsis:{tooltip:!0},render:e=>e.param?e.param.join(", "):"--"},{key:"sType",title:a("Waf.Setting.config_66"),width:80,render:e=>"regular"==e.sType?a("Waf.Setting.config_72"):"URL"},{key:"type",title:a("Waf.Setting.config_67"),width:90,render:e=>{var t="";switch(e.type){case 1:t=a("Waf.Setting.config_68");break;case 2:t=a("Waf.Setting.config_69");break;case 3:t=a("Waf.Setting.config_70");break;case 4:t=a("Waf.Setting.config_71")}return t}},s({width:60,options:e=>[{label:a("Public.Btn.Del"),onClick:async()=>{await c({uri:e.url}),_()}}]})]),_=async()=>{try{f(!0);const{message:e}=await p();i(e)&&(o.data=Object.entries(e.url_cc_param).map((([e,a])=>({url:e,type:a.type,param:a.param,sType:a.stype}))))}finally{f(!1)}};return _(),(e,a)=>{const i=T,n=l,s=t;return v(),m("div",E,[W("div",D,[b(i,{type:"primary",onClick:r},{default:S((()=>[h(j(e.$t("Public.Btn.Add")),1)])),_:1})]),b(n,{"max-height":368,loading:x(o).loading,data:x(o).data,columns:x(g)},null,8,["loading","data","columns"]),b(s,{class:"mt-12px"},{default:S((()=>[W("li",null,j(e.$t("Waf.Setting.config_60")),1),W("li",null,j(e.$t("Waf.Setting.config_61")),1),W("li",null,j(e.$t("Waf.Setting.config_62")),1),W("li",null,j(e.$t("Waf.Setting.config_63")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-D661gZtH.js b/BTPanel/static/vite/js/config-legacy-D661gZtH.js new file mode 100644 index 00000000..9660a217 --- /dev/null +++ b/BTPanel/static/vite/js/config-legacy-D661gZtH.js @@ -0,0 +1 @@ +System.register(["./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./setting-legacy-DokWjcpb.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068"],(function(e,l){"use strict";var a,t,n,u,i,s,c,g,r,o,d,y,_,p,f,v,j,m,x,b,S,h,$,W;return{setters:[e=>{a=e._},e=>{t=e._},e=>{n=e.k,u=e.R,i=e.r,s=e.$,c=e.Z,g=e._,r=e.a0,o=e.ai,d=e.X,y=e.S,_=e.a9,p=e.j,f=e.aa},e=>{v=e.n,j=e.m},e=>{m=e.u},e=>{x=e.u},e=>{b=e.q,S=e.t,h=e.v},e=>{$=e.b,W=e.B},null,null,null,null,null,null],execute:function(){const l={class:"p-20px"},k={class:"flex mb-16px"},w={class:"flex-1 mr-16px"};e("default",n({__name:"config",setup(e){const{t:n}=u(),B=i(""),C=async()=>{""!==B.value.trim()?(await h({text:B.value}),B.value="",R()):j.error(n("Waf.Setting.config_81"))},{table:D,columns:L,setLoading:P}=x([{key:"rule",title:"URL"},m({width:80,options:e=>[{label:n("Public.Btn.Del"),onClick:async()=>{await b({text:e.rule}),R()}}]})]),R=async()=>{try{P(!0);const{message:e}=await S();v(e)&&(D.data=e.map((e=>({rule:e}))))}finally{P(!1)}};return R(),(e,n)=>{const u=$,i=W,v=t,j=a;return s(),c("div",l,[g("div",k,[g("div",w,[r(u,{value:y(B),"onUpdate:value":n[0]||(n[0]=e=>d(B)?B.value=e:null),placeholder:e.$t("Waf.Setting.config_78"),onKeyup:o(C,["enter"])},null,8,["value","placeholder"])]),r(i,{type:"primary",onClick:C},{default:_((()=>[p(f(e.$t("Public.Btn.Add")),1)])),_:1})]),r(v,{"max-height":368,loading:y(D).loading,data:y(D).data,columns:y(L)},null,8,["loading","data","columns"]),r(j,{class:"mt-16px"},{default:_((()=>[g("li",null,f(e.$t("Waf.Setting.config_77")),1),g("li",null,f(e.$t("Waf.Setting.config_79")),1),g("li",null,f(e.$t("Waf.Setting.config_80")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-DD2KYhL2.js b/BTPanel/static/vite/js/config-legacy-DD2KYhL2.js new file mode 100644 index 00000000..58d7432e --- /dev/null +++ b/BTPanel/static/vite/js/config-legacy-DD2KYhL2.js @@ -0,0 +1 @@ +System.register(["./index-legacy-DOsTWPyk.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./useLoading-legacy-BYj3sJTe.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,t){"use strict";var n,i,a,s,l,g,o,d,x,c,r,u,p,f,v,y,_,m,b,$,C;return{setters:[e=>{n=e._},e=>{i=e.k,a=e.e,s=e.r,l=e.$,g=e.Z,o=e._,d=e.aa,x=e.j,c=e.S,r=e.a0,u=e.a9,p=e.l,f=e.v},e=>{v=e.gl,y=e.i,_=e.gm,m=e.c},e=>{b=e.u},e=>{$=e.a_,C=e.a9},null],execute:function(){var t=document.createElement("style");t.textContent=".bt-tips-ul[data-v-6dc5521d]{margin-top:24px;padding:24px 0;border-top:1px solid #ececec;font-size:14px}\n/*$vite$:1*/",document.head.appendChild(t);const S={class:"p-20px"},j={class:"mb-20px text-20px text-center text-[var(--setting-security-google-login-bind-title)]"},k={class:"px-36px"},h={class:"mb-10px text-16px text-[var(--setting-security-google-login-bind-text)]"},w={class:"mb-20px px-24px py-16px bg-[var(--setting-security-google-login-key-bg)] rounded-4px leading-24px text-14px text-[var(--setting-security-google-login-key-text)] font-500"},z={class:"text-[var(--setting-security-google-login-bind-text)]"},L={class:"text-[var(--setting-security-google-login-bind-text)]"},E={class:"mb-20px text-16px text-[var(--setting-security-google-login-bind-text)]"},I={class:"bt-link",href:"",target:"_blank"},T={class:"text-error"};e("default",m(i({__name:"config",setup(e){const t=a({key:"--",username:"--"}),i=s(""),{loading:m,setLoading:Z}=b();return(async()=>{const{message:e}=await v();y(e)&&(t.key=e.key,t.username=e.username)})(),(async()=>{try{Z(!0);const{message:e}=await _({act:1});y(e)&&(i.value=e.result)}finally{Z(!1)}})(),(e,a)=>{const s=$,v=C,y=n;return l(),g("div",S,[o("div",j,d(e.$t("Config.Safe.index_70")),1),o("div",k,[o("div",h,d(e.$t("Config.Safe.index_71")),1),o("div",w,[o("div",null,[x(d(e.$t("Config.Safe.index_72"))+" ",1),o("span",z,d(c(t).username),1)]),o("div",null,[x(d(e.$t("Config.Safe.index_73"))+" ",1),o("span",L,d(c(t).key),1)]),o("div",null,[x(d(e.$t("Config.Safe.index_74"))+" ",1),a[0]||(a[0]=o("span",{class:"text-[var(--setting-security-google-login-bind-text)]"},"Time based",-1))])]),o("div",E,d(e.$t("Config.Safe.index_75")),1),r(v,{class:"flex justify-center h-150px",show:c(m)},{default:u((()=>[p(r(s,{value:c(i),size:150,padding:0},null,8,["value"]),[[f,c(i)]])])),_:1},8,["show"]),r(y,null,{default:u((()=>[o("li",null,[x(d(e.$t("Config.Safe.index_76"))+" ",1),o("a",I,d(e.$t("Config.Safe.index_77")),1)]),o("li",T,d(e.$t("Config.Safe.index_78")),1)])),_:1})])])}}}),[["__scopeId","data-v-6dc5521d"]]))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-DLeSYE-1.js b/BTPanel/static/vite/js/config-legacy-DLeSYE-1.js deleted file mode 100644 index 9673f2c2..00000000 --- a/BTPanel/static/vite/js/config-legacy-DLeSYE-1.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,t){"use strict";var n,i,a,s,l,g,o,d,x,c,r,u,p,f,v,y,_,m,b,$,C;return{setters:[e=>{n=e._},e=>{i=e.k,a=e.e,s=e.r,l=e.$,g=e.Z,o=e._,d=e.aa,x=e.j,c=e.S,r=e.a0,u=e.a9,p=e.l,f=e.v},e=>{v=e.g2,y=e.i,_=e.g3,m=e.c},e=>{b=e.u},e=>{$=e.a_,C=e.a9},null],execute:function(){var t=document.createElement("style");t.textContent=".bt-tips-ul[data-v-6dc5521d]{margin-top:24px;padding:24px 0;border-top:1px solid #ececec;font-size:14px}\n/*$vite$:1*/",document.head.appendChild(t);const S={class:"p-20px"},j={class:"mb-20px text-20px text-center text-[var(--setting-security-google-login-bind-title)]"},k={class:"px-36px"},h={class:"mb-10px text-16px text-[var(--setting-security-google-login-bind-text)]"},w={class:"mb-20px px-24px py-16px bg-[var(--setting-security-google-login-key-bg)] rounded-4px leading-24px text-14px text-[var(--setting-security-google-login-key-text)] font-500"},z={class:"text-[var(--setting-security-google-login-bind-text)]"},L={class:"text-[var(--setting-security-google-login-bind-text)]"},E={class:"mb-20px text-16px text-[var(--setting-security-google-login-bind-text)]"},I={class:"bt-link",href:"",target:"_blank"},T={class:"text-error"};e("default",m(i({__name:"config",setup(e){const t=a({key:"--",username:"--"}),i=s(""),{loading:m,setLoading:Z}=b();return(async()=>{const{message:e}=await v();y(e)&&(t.key=e.key,t.username=e.username)})(),(async()=>{try{Z(!0);const{message:e}=await _({act:1});y(e)&&(i.value=e.result)}finally{Z(!1)}})(),(e,a)=>{const s=$,v=C,y=n;return l(),g("div",S,[o("div",j,d(e.$t("Config.Safe.index_70")),1),o("div",k,[o("div",h,d(e.$t("Config.Safe.index_71")),1),o("div",w,[o("div",null,[x(d(e.$t("Config.Safe.index_72"))+" ",1),o("span",z,d(c(t).username),1)]),o("div",null,[x(d(e.$t("Config.Safe.index_73"))+" ",1),o("span",L,d(c(t).key),1)]),o("div",null,[x(d(e.$t("Config.Safe.index_74"))+" ",1),a[0]||(a[0]=o("span",{class:"text-[var(--setting-security-google-login-bind-text)]"},"Time based",-1))])]),o("div",E,d(e.$t("Config.Safe.index_75")),1),r(v,{class:"flex justify-center h-150px",show:c(m)},{default:u((()=>[p(r(s,{value:c(i),size:150,padding:0},null,8,["value"]),[[f,c(i)]])])),_:1},8,["show"]),r(y,null,{default:u((()=>[o("li",null,[x(d(e.$t("Config.Safe.index_76"))+" ",1),o("a",I,d(e.$t("Config.Safe.index_77")),1)]),o("li",T,d(e.$t("Config.Safe.index_78")),1)])),_:1})])])}}}),[["__scopeId","data-v-6dc5521d"]]))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-Df5UDijg.js b/BTPanel/static/vite/js/config-legacy-Df5UDijg.js deleted file mode 100644 index e68c1301..00000000 --- a/BTPanel/static/vite/js/config-legacy-Df5UDijg.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./setting-legacy-DG9cBT-a.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785"],(function(t,e){"use strict";var l,a,n,i,s,c,u,g,o,r,d,x,_,p,y,f,j,m,v,b,S,h,W;return{setters:[t=>{l=t._},t=>{a=t._},t=>{n=t.i,i=t.m},t=>{s=t.u},t=>{c=t.u},t=>{u=t.I,g=t.g,o=t.J},t=>{r=t.b,d=t.B},t=>{x=t.k,_=t.R,p=t.e,y=t.$,f=t.Z,j=t._,m=t.a0,v=t.S,b=t.a9,S=t.j,h=t.aa,W=t.N},null,null,null,null,null,null],execute:function(){const e={class:"p-20px"},$={class:"flex mb-16px"},k={class:"flex-1 mr-16px"},w={class:"w-230px mr-16px"};t("default",x({__name:"config",setup(t){const{t:x}=_(),B=p({text:"",text2:""}),C=async()=>{""!==B.text.trim()&&""!==B.text2.trim()?(await o(W(B)),B.text="",B.text2="",U()):i.error(x("Waf.Setting.config_170"))},{table:D,columns:P,setLoading:T}=c([{key:"text",title:x("Waf.Setting.config_164"),ellipsis:{tooltip:!0}},{key:"text2",title:x("Waf.Setting.config_165"),ellipsis:{tooltip:!0}},s({width:80,options:t=>[{label:x("Public.Btn.Del"),onClick:async()=>{await u({body:{[t.text]:t.text2}}),U()}}]})]),U=async()=>{try{T(!0);const{message:t}=await g();n(t)&&(D.data=t.body_character_string.map((t=>{const e=Object.keys(t);return{text:e[0],text2:t[e[0]]}})))}finally{T(!1)}};return U(),(t,n)=>{const i=r,s=d,c=a,u=l;return y(),f("div",e,[j("div",$,[j("div",k,[m(i,{value:v(B).text,"onUpdate:value":n[0]||(n[0]=t=>v(B).text=t),placeholder:t.$t("Waf.Setting.config_164")},null,8,["value","placeholder"])]),j("div",w,[m(i,{value:v(B).text2,"onUpdate:value":n[1]||(n[1]=t=>v(B).text2=t),placeholder:t.$t("Waf.Setting.config_165")},null,8,["value","placeholder"])]),m(s,{type:"primary",onClick:C},{default:b((()=>[S(h(t.$t("Public.Btn.Add")),1)])),_:1})]),m(c,{"max-height":230,loading:v(D).loading,data:v(D).data,columns:v(P)},null,8,["loading","data","columns"]),m(u,{class:"mt-16px"},{default:b((()=>[j("li",null,h(t.$t("Waf.Setting.config_166")),1),j("li",null,h(t.$t("Waf.Setting.config_167")),1),j("li",null,h(t.$t("Waf.Setting.config_168")),1),j("li",null,h(t.$t("Waf.Setting.config_169")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-Dinys-Wv.js b/BTPanel/static/vite/js/config-legacy-Dinys-Wv.js deleted file mode 100644 index aceda4c7..00000000 --- a/BTPanel/static/vite/js/config-legacy-Dinys-Wv.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./setting-legacy-DG9cBT-a.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(t,e){"use strict";var a,s,n,i,u,l,c,o,r,g,f;return{setters:[t=>{a=t._},t=>{s=t.h},t=>{n=t.u},t=>{i=t.a},t=>{u=t.k,l=t.R,c=t.a0,o=t.$,r=t.Z,g=t.S},t=>{f=t.a8},null,null],execute:function(){const e={class:"p-20px"};t("default",u({__name:"config",props:{status:{type:Boolean}},emits:["refresh"],setup(t,{emit:u}){const _=t,d=u,{t:y}=l(),{table:p,columns:m}=n([{key:"title",title:y("Waf.Setting.config_129"),width:120},{key:"ps",title:y("Waf.Setting.config_130")},{key:"status",title:y("Public.Table.Status"),width:60,render:t=>c(f,{value:t.status,onUpdateValue:async e=>{e?(await i({obj:"from_data"}),t.status=e,d("refresh",e)):s({title:y("Waf.Setting.config_131"),content:y("Waf.Setting.config_132"),onConfirm:async()=>{await i({obj:"from_data"}),t.status=e,d("refresh",e)}})}},null)}]);return p.data.push({title:y("Waf.Setting.config_133"),ps:y("Waf.Setting.config_134"),status:_.status}),(t,s)=>{const n=a;return o(),r("div",e,[c(n,{"max-height":340,data:g(p).data,columns:g(m)},null,8,["data","columns"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-DzY3lifk.js b/BTPanel/static/vite/js/config-legacy-DzY3lifk.js deleted file mode 100644 index 9cd7e5b3..00000000 --- a/BTPanel/static/vite/js/config-legacy-DzY3lifk.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./setting-legacy-DG9cBT-a.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785"],(function(e,l){"use strict";var a,t,n,u,i,s,c,g,r,o,d,y,_,f,p,j,v,m,x,b,S,h,$,W;return{setters:[e=>{a=e._},e=>{t=e._},e=>{n=e.k,u=e.R,i=e.r,s=e.$,c=e.Z,g=e._,r=e.a0,o=e.ai,d=e.X,y=e.S,_=e.a9,f=e.j,p=e.aa},e=>{j=e.n,v=e.m},e=>{m=e.u},e=>{x=e.u},e=>{b=e.E,S=e.F,h=e.G},e=>{$=e.b,W=e.B},null,null,null,null,null,null],execute:function(){const l={class:"p-20px"},k={class:"flex mb-16px"},w={class:"flex-1 mr-16px"};e("default",n({__name:"config",setup(e){const{t:n}=u(),B=i(""),C=async()=>{""!==B.value.trim()?(await h({url_find:B.value}),B.value="",R()):v.error(n("Waf.Setting.config_81"))},{table:D,columns:L,setLoading:P}=x([{key:"url",title:"URL"},m({width:80,options:e=>[{label:n("Public.Btn.Del"),onClick:async()=>{await b({url_find:e.url}),R()}}]})]),R=async()=>{try{P(!0);const{message:e}=await S();j(e)&&(D.data=e.map((e=>({url:e}))))}finally{P(!1)}};return R(),(e,n)=>{const u=$,i=W,j=t,v=a;return s(),c("div",l,[g("div",k,[g("div",w,[r(u,{value:y(B),"onUpdate:value":n[0]||(n[0]=e=>d(B)?B.value=e:null),placeholder:e.$t("Waf.Setting.config_116"),onKeyup:o(C,["enter"])},null,8,["value","placeholder"])]),r(i,{type:"primary",onClick:C},{default:_((()=>[f(p(e.$t("Public.Btn.Add")),1)])),_:1})]),r(j,{"max-height":368,loading:y(D).loading,data:y(D).data,columns:y(L)},null,8,["loading","data","columns"]),r(v,{class:"mt-16px"},{default:_((()=>[g("li",null,p(e.$t("Waf.Setting.config_117")),1),g("li",null,p(e.$t("Waf.Setting.config_118")),1),g("li",null,p(e.$t("Waf.Setting.config_119")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-YzxNok8F.js b/BTPanel/static/vite/js/config-legacy-YzxNok8F.js new file mode 100644 index 00000000..cdcab211 --- /dev/null +++ b/BTPanel/static/vite/js/config-legacy-YzxNok8F.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./setting-legacy-DokWjcpb.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(t,e){"use strict";var a,s,n,i,u,l,c,o,r,g,f;return{setters:[t=>{a=t._},t=>{s=t.h},t=>{n=t.u},t=>{i=t.a},t=>{u=t.k,l=t.R,c=t.a0,o=t.$,r=t.Z,g=t.S},t=>{f=t.a8},null,null],execute:function(){const e={class:"p-20px"};t("default",u({__name:"config",props:{status:{type:Boolean}},emits:["refresh"],setup(t,{emit:u}){const _=t,d=u,{t:y}=l(),{table:p,columns:m}=n([{key:"title",title:y("Waf.Setting.config_129"),width:120},{key:"ps",title:y("Waf.Setting.config_130")},{key:"status",title:y("Public.Table.Status"),width:60,render:t=>c(f,{value:t.status,onUpdateValue:async e=>{e?(await i({obj:"from_data"}),t.status=e,d("refresh",e)):s({title:y("Waf.Setting.config_131"),content:y("Waf.Setting.config_132"),onConfirm:async()=>{await i({obj:"from_data"}),t.status=e,d("refresh",e)}})}},null)}]);return p.data.push({title:y("Waf.Setting.config_133"),ps:y("Waf.Setting.config_134"),status:_.status}),(t,s)=>{const n=a;return o(),r("div",e,[c(n,{"max-height":340,data:g(p).data,columns:g(m)},null,8,["data","columns"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-bJGid2CW.js b/BTPanel/static/vite/js/config-legacy-bJGid2CW.js new file mode 100644 index 00000000..1eead732 --- /dev/null +++ b/BTPanel/static/vite/js/config-legacy-bJGid2CW.js @@ -0,0 +1 @@ +System.register(["./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./setting-legacy-DokWjcpb.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068"],(function(e,l){"use strict";var a,t,n,u,i,s,c,g,r,o,d,y,_,f,p,v,j,m,x,b,S,h,$,W;return{setters:[e=>{a=e._},e=>{t=e._},e=>{n=e.k,u=e.R,i=e.r,s=e.$,c=e.Z,g=e._,r=e.a0,o=e.ai,d=e.X,y=e.S,_=e.a9,f=e.j,p=e.aa},e=>{v=e.n,j=e.m},e=>{m=e.u},e=>{x=e.u},e=>{b=e.E,S=e.F,h=e.G},e=>{$=e.b,W=e.B},null,null,null,null,null,null],execute:function(){const l={class:"p-20px"},k={class:"flex mb-16px"},w={class:"flex-1 mr-16px"};e("default",n({__name:"config",setup(e){const{t:n}=u(),B=i(""),C=async()=>{""!==B.value.trim()?(await h({url_find:B.value}),B.value="",R()):j.error(n("Waf.Setting.config_81"))},{table:D,columns:L,setLoading:P}=x([{key:"url",title:"URL"},m({width:80,options:e=>[{label:n("Public.Btn.Del"),onClick:async()=>{await b({url_find:e.url}),R()}}]})]),R=async()=>{try{P(!0);const{message:e}=await S();v(e)&&(D.data=e.map((e=>({url:e}))))}finally{P(!1)}};return R(),(e,n)=>{const u=$,i=W,v=t,j=a;return s(),c("div",l,[g("div",k,[g("div",w,[r(u,{value:y(B),"onUpdate:value":n[0]||(n[0]=e=>d(B)?B.value=e:null),placeholder:e.$t("Waf.Setting.config_116"),onKeyup:o(C,["enter"])},null,8,["value","placeholder"])]),r(i,{type:"primary",onClick:C},{default:_((()=>[f(p(e.$t("Public.Btn.Add")),1)])),_:1})]),r(v,{"max-height":368,loading:y(D).loading,data:y(D).data,columns:y(L)},null,8,["loading","data","columns"]),r(j,{class:"mt-16px"},{default:_((()=>[g("li",null,p(e.$t("Waf.Setting.config_117")),1),g("li",null,p(e.$t("Waf.Setting.config_118")),1),g("li",null,p(e.$t("Waf.Setting.config_119")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-hFR2IgeF.js b/BTPanel/static/vite/js/config-legacy-hFR2IgeF.js deleted file mode 100644 index ec5f84cd..00000000 --- a/BTPanel/static/vite/js/config-legacy-hFR2IgeF.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./setting-legacy-DG9cBT-a.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785"],(function(e,a){"use strict";var l,t,i,n,c,u,r,p,s,o,d,g,m,v,A,y,b,f,I,j,h,S,k,x,D,M,R,w,O,W,C,Z,G;return{setters:[e=>{l=e._},e=>{t=e._},e=>{i=e.c,n=e.n,c=e.p},e=>{u=e.u},e=>{r=e.u},e=>{p=e.B,s=e.C,o=e.D},e=>{d=e._},e=>{g=e.k,m=e.an,v=e.c,A=e.$,y=e.Z,b=e._,f=e.aa,I=e.L,j=e.S,h=e.F,S=e.P,k=e.ao,x=e.R,D=e.r,M=e.e,R=e.a0,w=e.a9,O=e.j},e=>{W=e.a1,C=e.a6,Z=e.b,G=e.B},null,null,null,null,null,null],execute:function(){var a=document.createElement("style");a.textContent=".param-list[data-v-d6f769f3]{display:flex;flex-wrap:wrap;gap:10px;border:1px solid #ccc;padding:16px;border-radius:4px}.param-list .param-item[data-v-d6f769f3]{display:flex;align-items:center;justify-content:center;width:90px;height:30px;border-radius:4px;border:1px solid #ddd;cursor:pointer}.param-list .param-item.active[data-v-d6f769f3]{border:1px solid #20a53a;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFFmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgKE1hY2ludG9zaCkiIHhtcDpDcmVhdGVEYXRlPSIyMDE5LTA5LTI5VDEyOjIzOjI5KzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAxOS0wOS0yOVQxMjoyNTo1MSswODowMCIgeG1wOk1ldGFkYXRhRGF0ZT0iMjAxOS0wOS0yOVQxMjoyNTo1MSswODowMCIgZGM6Zm9ybWF0PSJpbWFnZS9wbmciIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDowMDkwMWRiNS04NTMxLTRkYmUtOGVlNy0wZDU2ODhjNzI1YjEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MDA5MDFkYjUtODUzMS00ZGJlLThlZTctMGQ1Njg4YzcyNWIxIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6MDA5MDFkYjUtODUzMS00ZGJlLThlZTctMGQ1Njg4YzcyNWIxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDowMDkwMWRiNS04NTMxLTRkYmUtOGVlNy0wZDU2ODhjNzI1YjEiIHN0RXZ0OndoZW49IjIwMTktMDktMjlUMTI6MjM6MjkrMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAoTWFjaW50b3NoKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7zCy1OAAAB+0lEQVRIib3UPWgUQRjG8f/uHkkUm5yViYiEubM8VLSwCjtiJ4JYCEpEsD7P+JlCSRMvxnyYOq2FYmUlSMzggYWF2p4uiCgBwSKiJkrO7Fhsgrlk73Zvbm+fbmbf9/3NDuxCyhHKHdVaY6eLylmwikB6cIDq4sY6FVgo+WAzmgq8jl7eut9ROK/kTBjaUTiv5IyPLjV63hFYKDndDO0ILJScBn0lqi5ROC6aKCyUOxUXTQwOUIZb6WkbFkpOtoq2DQeovmrSawwLJe+bosbwOnrNFDWChXIn4qKH/W68gRKH/K724ADlepzarNXNo0IZ9p3k8f4L5rBQ8l5c1MHhtRiG3QX4XuXYl4dmcIDqG1uH3151ttVaWFT3DkH/cVj5SvFNiW/6d+twGApQ7TvLkPsUb623bv9DrwRxHmq/eFk5xzOnFjq3KSyUHA9DbWzQa5DZAe4TvF1HAfC6DkBhBPy/sHCGSz2NZ1sR6M1mB/N2HoQjE2DZsPgc9kiwHahcJOd/bkQueYPz2dA3zitZjkIBcivv4MVpqC1D/4kAfXunCfo/2+C8kmUffSuycwPP/KSycAqWF+H9HLkfr2L11V21UPIu6JG46OYM0MMnVvHxo8glb3A+m0kCBfjIn5bq7QB1x9pBTZIRyh0l+COFf3DJpwZgaa1T8urzD5CgrJIeM8AQAAAAAElFTkSuQmCC);background-size:15px;background-repeat:no-repeat;background-position:right -1px bottom -1px}\n/*$vite$:1*/",document.head.appendChild(a);const T={class:"param-list"},L=["onClick"],N=i(g({__name:"param",props:{value:{default:()=>[]},valueModifiers:{}},emits:k(["change"],["update:value"]),setup(e,{emit:a}){const l=a,t=m(e,"value"),i=["POST","GET","PUT","OPTIONS","HEAD","DELETE","TRACE","PATCH","MOVE","COPY","LINK","UNLINK","WRAPPED","PROPFIND","PROPPATCH","MKCOL","CONNECT","SRARCH"],n=v((()=>i.length===t.value.length)),c=()=>{t.value=[],n.value||(t.value=i.map((e=>e))),l("change")};return(e,a)=>(A(),y("div",T,[b("div",{class:I(["param-item",{active:j(n)}]),onClick:c},f(e.$t("Public.SelectAll")),3),(A(),y(h,null,S(i,(e=>{return b("div",{key:e,class:I(["param-item",{active:(a=e,t.value.includes(a))}]),onClick:a=>(e=>{const a=t.value.indexOf(e);-1===a?t.value.push(e):t.value.splice(a,1),l("change")})(e)},f(e),11,L);var a})),64))]))}}),[["__scopeId","data-v-d6f769f3"]]),_={class:"p-20px"},Y={class:"w-100px mr-8px"},P={class:"w-220px"},U={class:"w-328px"},z=g({__name:"form",props:{isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(e,{expose:a,emit:l}){const t=l,{t:i}=x(),n=D(null),c=D(null),u=M({type:"refuse",url:"",param:[]}),r=[{label:i("Waf.Setting.config_111"),value:"refuse"},{label:i("Waf.Setting.config_110"),value:"accept"}],s={url:{trigger:["blur","input"],validator:()=>""!==u.url.trim()||new Error(i("Waf.Setting.config_55"))},param:{validator:()=>0!==u.param.length||new Error(i("Waf.Setting.config_112"))}},o=()=>{c.value?.restoreValidation()};return a({onConfirm:async()=>{await(n.value?.validate()),await p({type:u.type,url:u.url,param:u.param.join(",")}),t("refresh")}}),(e,a)=>{const l=C,t=Z,i=W,p=d;return A(),y("div",_,[R(p,{ref_key:"formRef",ref:n,model:j(u),rules:s},{default:w((()=>[R(i,{label:e.$t("Waf.Setting.config_73"),path:"url"},{default:w((()=>[b("div",Y,[R(l,{value:j(u).type,"onUpdate:value":a[0]||(a[0]=e=>j(u).type=e),options:r},null,8,["value"])]),b("div",P,[R(t,{value:j(u).url,"onUpdate:value":a[1]||(a[1]=e=>j(u).url=e),placeholder:"URL"},null,8,["value"])])])),_:1},8,["label"]),R(i,{ref_key:"paramItemRef",ref:c,label:e.$t("Waf.Setting.config_65"),path:"param"},{default:w((()=>[b("div",U,[R(N,{value:j(u).param,"onUpdate:value":a[2]||(a[2]=e=>j(u).param=e),onChange:o},null,8,["value"])])])),_:1},8,["label"])])),_:1},8,["model"])])}}}),H={class:"p-20px"},E={class:"flex mb-16px"};e("default",g({__name:"config",setup(e){const{t:a}=x(),i=async()=>{var e;e={title:a("Waf.Setting.config_64"),data:{isEdit:!1}},c({title:e.title,width:550,footer:!0,data:{...e.data,onRefresh:()=>{m()}},component:z})},{table:p,columns:d,setLoading:g}=r([{key:"url",title:"URL",ellipsis:{tooltip:!0}},{key:"type",title:a("Waf.Setting.config_73"),width:80,ellipsis:{tooltip:!0},render:e=>"refuse"===e.type?a("Waf.Setting.config_111"):a("Waf.Setting.config_110")},{key:"mode",title:a("Waf.Setting.config_93"),width:216,ellipsis:{tooltip:!0},render:e=>Object.entries(e.mode).map((([,e])=>e)).join(", ")},u({width:60,options:e=>[{label:a("Public.Btn.Del"),onClick:async()=>{await s({url:e.url}),m()}}]})]),m=async()=>{try{g(!0);const{message:e}=await o();p.data=n(e)?e:[]}finally{g(!1)}};return m(),(e,a)=>{const n=G,c=t,u=l;return A(),y("div",H,[b("div",E,[R(n,{type:"primary",onClick:i},{default:w((()=>[O(f(e.$t("Public.Btn.Add")),1)])),_:1})]),R(c,{"max-height":270,loading:j(p).loading,data:j(p).data,columns:j(d)},null,8,["loading","data","columns"]),R(u,{class:"mt-12px"},{default:w((()=>[b("li",null,f(e.$t("Waf.Setting.config_108")),1),b("li",null,f(e.$t("Waf.Setting.config_109")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/config-legacy-shxMo5S0.js b/BTPanel/static/vite/js/config-legacy-shxMo5S0.js new file mode 100644 index 00000000..09df0d39 --- /dev/null +++ b/BTPanel/static/vite/js/config-legacy-shxMo5S0.js @@ -0,0 +1 @@ +System.register(["./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./setting-legacy-DokWjcpb.js?v=1774508183068","./index-legacy-C1Nd2_l-.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068"],(function(e,t){"use strict";var a,l,n,i,c,o,u,s,r,g,d,f,_,p,y,v,m,x,j,w,S,b,h,W,C,$,k,B,P,U,D;return{setters:[e=>{a=e._},e=>{l=e._},e=>{n=e.k,i=e.R,c=e.r,o=e.$,u=e.Z,s=e._,r=e.a0,g=e.ai,d=e.X,f=e.S,_=e.a9,p=e.j,y=e.aa},e=>{v=e.i,m=e.m,x=e.p,j=e.hM,w=e.h},e=>{S=e.u},e=>{b=e.u},e=>{h=e.P,W=e.g,C=e.Q,$=e.R,k=e.S},e=>{B=e._},e=>{P=e.b,U=e.B,D=e.l},null,null,null,null,null,null],execute:function(){const t={class:"p-20px"},E={class:"flex mb-16px"},R={class:"flex-1 mr-16px"};e("default",n({__name:"config",setup(e){const{t:n}=i(),T=c(""),A=async()=>{""!==T.value.trim()?(await C({text:T.value}),T.value="",Z()):m.error(n("Waf.Setting.config_176"))},I=()=>{const e=c("");x({title:n("Waf.Setting.config_187"),width:440,footer:!0,content:()=>r("div",{class:"p-20px"},[r(B,{value:e.value,"onUpdate:value":t=>e.value=t,rows:14,placeholder:n("Waf.Setting.config_188")},null)]),onConfirm:async()=>{if(""===e.value.trim())return m.error(n("Waf.Setting.config_179")),!1;await $({text:e.value}),Z()}})},K=()=>{const e=c(M.data.map((e=>e.word)).join("\n"));x({title:n("Waf.Setting.config_177"),width:440,footer:!0,content:()=>r("div",{class:"p-20px"},[r(B,{value:e.value,"onUpdate:value":t=>e.value=t,rows:14,readonly:!0},null)]),onConfirm:()=>(j(e.value,"body_intercept.json"),!1)})},L=()=>{w({title:n("Waf.Setting.config_180"),content:n("Waf.Setting.config_181"),onConfirm:async()=>{await k(),Z()}})},{table:M,columns:Q,setLoading:X}=b([{key:"word",title:n("Waf.Setting.config_184")},S({width:80,options:e=>[{label:n("Public.Btn.Del"),onClick:async()=>{await h({text:e.word}),Z()}}]})]),Z=async()=>{try{X(!0);const{message:e}=await W();v(e)&&(M.data=e.body_intercept.map((e=>({word:e}))))}finally{X(!1)}};return Z(),(e,n)=>{const i=P,c=U,v=l,m=D,x=a;return o(),u("div",t,[s("div",E,[s("div",R,[r(i,{value:f(T),"onUpdate:value":n[0]||(n[0]=e=>d(T)?T.value=e:null),placeholder:e.$t("Waf.Setting.config_184"),onKeyup:g(A,["enter"])},null,8,["value","placeholder"])]),r(c,{type:"primary",onClick:A},{default:_((()=>[p(y(e.$t("Public.Btn.Add")),1)])),_:1})]),r(v,{"max-height":258,loading:f(M).loading,data:f(M).data,columns:f(Q)},null,8,["loading","data","columns"]),r(m,{class:"mt-16px"},{default:_((()=>[r(c,{onClick:I},{default:_((()=>[p(y(e.$t("Public.Btn.Import")),1)])),_:1}),r(c,{onClick:K},{default:_((()=>[p(y(e.$t("Public.Btn.Export")),1)])),_:1}),r(c,{onClick:L},{default:_((()=>[p(y(e.$t("Public.Btn.Empty")),1)])),_:1})])),_:1}),r(x,{class:"mt-16px"},{default:_((()=>[s("li",null,y(e.$t("Waf.Setting.config_185")),1),s("li",null,y(e.$t("Waf.Setting.config_186")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/config-mtWZbwxG.js b/BTPanel/static/vite/js/config-mtWZbwxG.js deleted file mode 100644 index 19046838..00000000 --- a/BTPanel/static/vite/js/config-mtWZbwxG.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as B}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as C}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{i as R,p as L}from"./index-BTglIPU2.js?v=1773287522785";import{u as P}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{u as j}from"./useTableData-BmkIKQ_R.js?v=1773287522785";import{o as E,p as O,g as A}from"./setting-DouXuJGW.js?v=1773287522785";import{_ as D}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{_ as N}from"./index-CZps0rIN.js?v=1773287522785";import{k as W,R as h,r as V,e as F,$ as w,Z as $,a0 as i,a9 as u,_ as r,S as n,j as G,aa as m}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as I,a6 as M,b as Z,B as q}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";const z={class:"p-20px"},H={class:"w-100px mr-8px"},J={class:"w-220px"},K={class:"w-328px"},Q={class:"w-100px"},X=W({__name:"form",props:{isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(k,{expose:a,emit:d}){const y=d,{t:o}=h(),g=V(null),e=F({sType:"url",uri:"",param:"",type:1}),c=[{label:o("Waf.Setting.config_75"),value:"url"},{label:o("Waf.Setting.config_76"),value:"regular"}],t=[{label:o("Waf.Setting.config_68"),value:1},{label:o("Waf.Setting.config_69"),value:2},{label:o("Waf.Setting.config_70"),value:3},{label:o("Waf.Setting.config_71"),value:4}],s={uri:{trigger:["blur","input"],validator:()=>e.uri.trim()===""?new Error(o("Waf.Setting.config_55")):!0}},_=()=>({stype:e.sType,uri:e.uri,param:e.param.replace(/\n/g,",").split(","),type:e.type});return a({onConfirm:async()=>{var l;await((l=g.value)==null?void 0:l.validate()),await E(_()),y("refresh")}}),(l,p)=>{const S=M,T=Z,b=I,x=N,U=D;return w(),$("div",z,[i(U,{ref_key:"formRef",ref:g,model:n(e),rules:s},{default:u(()=>[i(b,{label:l.$t("Waf.Setting.config_73"),path:"uri"},{default:u(()=>[r("div",H,[i(S,{value:n(e).sType,"onUpdate:value":p[0]||(p[0]=f=>n(e).sType=f),options:c},null,8,["value"])]),r("div",J,[i(T,{value:n(e).uri,"onUpdate:value":p[1]||(p[1]=f=>n(e).uri=f),placeholder:"URL"},null,8,["value"])])]),_:1},8,["label"]),i(b,{label:l.$t("Waf.Setting.config_65"),path:"param"},{default:u(()=>[r("div",K,[i(x,{value:n(e).param,"onUpdate:value":p[2]||(p[2]=f=>n(e).param=f),rows:4,placeholder:l.$t("Waf.Setting.config_74")},null,8,["value","placeholder"])])]),_:1},8,["label"]),i(b,{label:l.$t("Waf.Setting.config_67"),path:"type","show-feedback":!1},{default:u(()=>[r("div",Q,[i(S,{value:n(e).type,"onUpdate:value":p[3]||(p[3]=f=>n(e).type=f),"consistent-menu-width":!1,options:t},null,8,["value"])])]),_:1},8,["label"])]),_:1},8,["model"])])}}}),Y={class:"p-20px"},tt={class:"flex mb-16px"},yt=W({__name:"config",setup(k){const{t:a}=h(),d=t=>{L({title:t.title,width:550,footer:!0,data:{...t.data,onRefresh:()=>{c()}},component:X})},y=async()=>{d({title:a("Waf.Setting.config_64"),data:{isEdit:!1}})},{table:o,columns:g,setLoading:e}=j([{key:"url",title:"URL",ellipsis:{tooltip:!0}},{key:"param",title:a("Waf.Setting.config_65"),width:120,ellipsis:{tooltip:!0},render:t=>t.param?t.param.join(", "):"--"},{key:"sType",title:a("Waf.Setting.config_66"),width:80,render:t=>t.sType=="regular"?a("Waf.Setting.config_72"):"URL"},{key:"type",title:a("Waf.Setting.config_67"),width:90,render:t=>{var s="";switch(t.type){case 1:s=a("Waf.Setting.config_68");break;case 2:s=a("Waf.Setting.config_69");break;case 3:s=a("Waf.Setting.config_70");break;case 4:s=a("Waf.Setting.config_71");break}return s}},P({width:60,options:t=>[{label:a("Public.Btn.Del"),onClick:async()=>{await O({uri:t.url}),c()}}]})]),c=async()=>{try{e(!0);const{message:t}=await A();R(t)&&(o.data=Object.entries(t.url_cc_param).map(([s,_])=>({url:s,type:_.type,param:_.param,sType:_.stype})))}finally{e(!1)}};return c(),(t,s)=>{const _=q,v=C,l=B;return w(),$("div",Y,[r("div",tt,[i(_,{type:"primary",onClick:y},{default:u(()=>[G(m(t.$t("Public.Btn.Add")),1)]),_:1})]),i(v,{"max-height":368,loading:n(o).loading,data:n(o).data,columns:n(g)},null,8,["loading","data","columns"]),i(l,{class:"mt-12px"},{default:u(()=>[r("li",null,m(t.$t("Waf.Setting.config_60")),1),r("li",null,m(t.$t("Waf.Setting.config_61")),1),r("li",null,m(t.$t("Waf.Setting.config_62")),1),r("li",null,m(t.$t("Waf.Setting.config_63")),1)]),_:1})])}}});export{yt as default}; diff --git a/BTPanel/static/vite/js/config-nDHibUqX.js b/BTPanel/static/vite/js/config-nDHibUqX.js deleted file mode 100644 index cff2a849..00000000 --- a/BTPanel/static/vite/js/config-nDHibUqX.js +++ /dev/null @@ -1 +0,0 @@ -import{as as t,a3 as a}from"./index-BTglIPU2.js?v=1773287522785";const{t:e}=a.global,u=s=>t.post("/project/quota/modify_path_quota",{data:JSON.stringify({path:s.path,quota_type:s.quota_type,quota_push:{module:"",status:!1,size:0,push_count:0},quota_storage:{size:s.size}})},{requestOptions:{loading:e("WP.api.tamper_8"),successMessage:!0,errorMessage:{close:!0}}}),i=s=>t.post("/project/quota/modify_database_quota",{data:JSON.stringify({db_name:s.db_name,quota_push:{module:"",status:!1,size:0,push_count:0},quota_storage:{size:s.size}})},{requestOptions:{loading:e("WP.api.tamper_8"),successMessage:!0,errorMessage:{close:!0}}}),r=()=>t.post("/config?action=get_msg_configs");export{i as a,r as g,u as m}; diff --git a/BTPanel/static/vite/js/confirm-6yFLisEX.js b/BTPanel/static/vite/js/confirm-6yFLisEX.js deleted file mode 100644 index 8fe511b0..00000000 --- a/BTPanel/static/vite/js/confirm-6yFLisEX.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./confirm.vue_vue_type_script_setup_true_lang-CGAfjXXx.js?v=1773287522785";import"./index-BTglIPU2.js?v=1773287522785";import"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./naive-ui--dJnpVcV.js?v=1773287522785";import"./index-DLN4sTNp.js?v=1773287522785";import"./index-DIKmrNCq.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import"./index-CZps0rIN.js?v=1773287522785";import"./useLoading-CZ2gSAW7.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./useTableData-BmkIKQ_R.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DG86e1NA.js?v=1773287522785";import"./index-K4YGya6V.js?v=1773287522785";import"./check-CNel7fTH.js?v=1773287522785";import"./index-BRQskX9P.js?v=1773287522785";import"./ssl-lets-progress-6I5lHATh.js?v=1773287522785";import"./ssl-Bm8jcneQ.js?v=1773287522785";import"./config-Db5nkq_D.js?v=1773287522785";export{o as default}; diff --git a/BTPanel/static/vite/js/confirm-DOpf3Uyf.js b/BTPanel/static/vite/js/confirm-DOpf3Uyf.js new file mode 100644 index 00000000..52be067c --- /dev/null +++ b/BTPanel/static/vite/js/confirm-DOpf3Uyf.js @@ -0,0 +1 @@ +import{_ as o}from"./confirm.vue_vue_type_script_setup_true_lang-6y4A8Mlj.js?v=1774508183068";import"./index-LQ-JIYiv.js?v=1774508183068";import"./vue-core-BlDeWrD6.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./index-3Juxxg1e.js?v=1774508183068";import"./index-Dd5dC2sI.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import"./index-BonLJ3_f.js?v=1774508183068";import"./useLoading-BRu-BHcC.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./useTableData-D5IECpFr.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-BoIESXxv.js?v=1774508183068";import"./index-DNLtPhsU.js?v=1774508183068";import"./check-CNel7fTH.js?v=1774508183068";import"./index-DjU5tKNP.js?v=1774508183068";import"./ssl-lets-progress-CQpO1Zl7.js?v=1774508183068";import"./ssl-DQUJJMjp.js?v=1774508183068";import"./config-CoPCwzhP.js?v=1774508183068";export{o as default}; diff --git a/BTPanel/static/vite/js/confirm-legacy-ByQuhFNn.js b/BTPanel/static/vite/js/confirm-legacy-ByQuhFNn.js deleted file mode 100644 index 46c585b2..00000000 --- a/BTPanel/static/vite/js/confirm-legacy-ByQuhFNn.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./confirm.vue_vue_type_script_setup_true_lang-legacy-DTW7tLxI.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./index-legacy-xAbE4LTr.js?v=1773287522785","./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index-legacy-DEYz4m3y.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BSBh0Le2.js?v=1773287522785","./index-legacy-DGWsVoxN.js?v=1773287522785","./check-legacy-DG4HeWug.js?v=1773287522785","./index-legacy-Cv0QQQJ6.js?v=1773287522785","./ssl-lets-progress-legacy-CoWii-V7.js?v=1773287522785","./ssl-legacy-BRxc0DyI.js?v=1773287522785","./config-legacy-DLeSYE-1.js?v=1773287522785"],(function(e,l){"use strict";return{setters:[l=>{l._,e("default",l._)},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){}}})); diff --git a/BTPanel/static/vite/js/confirm-legacy-DW8KbQr6.js b/BTPanel/static/vite/js/confirm-legacy-DW8KbQr6.js new file mode 100644 index 00000000..740f31a4 --- /dev/null +++ b/BTPanel/static/vite/js/confirm-legacy-DW8KbQr6.js @@ -0,0 +1 @@ +System.register(["./confirm.vue_vue_type_script_setup_true_lang-legacy-JyTnOsIG.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./index-legacy-BYr-UjIQ.js?v=1774508183068","./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./index-legacy-C1Nd2_l-.js?v=1774508183068","./useLoading-legacy-BYj3sJTe.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wRQWp8QB.js?v=1774508183068","./index-legacy-DeJhqVUA.js?v=1774508183068","./check-legacy-DG4HeWug.js?v=1774508183068","./index-legacy-B9j5eRUf.js?v=1774508183068","./ssl-lets-progress-legacy-Dl7o1NX1.js?v=1774508183068","./ssl-legacy-B0LFPLeC.js?v=1774508183068","./config-legacy-DD2KYhL2.js?v=1774508183068"],(function(e,l){"use strict";return{setters:[l=>{l._,e("default",l._)},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){}}})); diff --git a/BTPanel/static/vite/js/confirm.vue_vue_type_script_setup_true_lang-6y4A8Mlj.js b/BTPanel/static/vite/js/confirm.vue_vue_type_script_setup_true_lang-6y4A8Mlj.js new file mode 100644 index 00000000..10688f19 --- /dev/null +++ b/BTPanel/static/vite/js/confirm.vue_vue_type_script_setup_true_lang-6y4A8Mlj.js @@ -0,0 +1 @@ +import{ci as _,p,i as u,m as g}from"./index-LQ-JIYiv.js?v=1774508183068";import{b as C,_ as h,C as w,m as x}from"./index-3Juxxg1e.js?v=1774508183068";import S from"./config-CoPCwzhP.js?v=1774508183068";import{k as $,R as k,al as b,$ as y,Z as R,a0 as o,a9 as n,j as f,aa as s,_ as a}from"./vue-core-BlDeWrD6.js?v=1774508183068";const v={class:"p-20px"},T={class:"text-error"},j={class:"text-error"},B={class:"flex items-center justify-between"},N={class:"bt-link",href:"https://www.aapanel.com/forum/d/357-how-to-use-google-authenticator-in-the-aapanel",target:"_blank"},F=$({__name:"confirm",props:{onRefresh:{type:Function,default:()=>{}}},setup(r,{expose:c}){const{t:l}=k(),{safeConfig:m}=C(),d=r,i=b("riskRef");return c({onConfirm:async()=>{var t;await((t=i.value)==null?void 0:t.validate());const{message:e}=await _({act:1});m.value.dynamicPwd=!0,d.onRefresh(),p({title:l("Config.Safe.index_62"),width:600,component:S}),u(e)&&g.success(e.result)}}),(e,t)=>(y(),R("div",v,[o(h,{class:"mb-20px"},{default:n(()=>[f(s(e.$t("Config.Safe.index_47")),1)]),_:1}),o(w,{class:"mb-20px"},{default:n(()=>[a("li",T,s(e.$t("Config.Safe.index_19")),1),a("li",j,s(e.$t("Config.Safe.index_69")),1),a("li",null,s(e.$t("Config.Safe.index_66")),1),a("li",null,s(e.$t("Config.Safe.index_67")),1)]),_:1}),a("div",B,[o(x,{ref_key:"riskRef",ref:i},{default:n(()=>[f(s(e.$t("Config.Safe.index_68")),1)]),_:1},512),a("a",N,s(e.$t("Config.Safe.index_168")),1)])]))}});export{F as _}; diff --git a/BTPanel/static/vite/js/confirm.vue_vue_type_script_setup_true_lang-CGAfjXXx.js b/BTPanel/static/vite/js/confirm.vue_vue_type_script_setup_true_lang-CGAfjXXx.js deleted file mode 100644 index cbca17f4..00000000 --- a/BTPanel/static/vite/js/confirm.vue_vue_type_script_setup_true_lang-CGAfjXXx.js +++ /dev/null @@ -1 +0,0 @@ -import{ca as _,p,i as u,m as g}from"./index-BTglIPU2.js?v=1773287522785";import{b as C,_ as h,C as w,m as x}from"./index-DLN4sTNp.js?v=1773287522785";import S from"./config-Db5nkq_D.js?v=1773287522785";import{k as $,R as k,al as b,$ as y,Z as R,a0 as o,a9 as n,j as f,aa as s,_ as a}from"./vue-core-DJjvd5ZC.js?v=1773287522785";const v={class:"p-20px"},T={class:"text-error"},j={class:"text-error"},B={class:"flex items-center justify-between"},N={class:"bt-link",href:"https://www.aapanel.com/forum/d/357-how-to-use-google-authenticator-in-the-aapanel",target:"_blank"},F=$({__name:"confirm",props:{onRefresh:{type:Function,default:()=>{}}},setup(r,{expose:c}){const{t:l}=k(),{safeConfig:m}=C(),d=r,i=b("riskRef");return c({onConfirm:async()=>{var t;await((t=i.value)==null?void 0:t.validate());const{message:e}=await _({act:1});m.value.dynamicPwd=!0,d.onRefresh(),p({title:l("Config.Safe.index_62"),width:600,component:S}),u(e)&&g.success(e.result)}}),(e,t)=>(y(),R("div",v,[o(h,{class:"mb-20px"},{default:n(()=>[f(s(e.$t("Config.Safe.index_47")),1)]),_:1}),o(w,{class:"mb-20px"},{default:n(()=>[a("li",T,s(e.$t("Config.Safe.index_19")),1),a("li",j,s(e.$t("Config.Safe.index_69")),1),a("li",null,s(e.$t("Config.Safe.index_66")),1),a("li",null,s(e.$t("Config.Safe.index_67")),1)]),_:1}),a("div",B,[o(x,{ref_key:"riskRef",ref:i},{default:n(()=>[f(s(e.$t("Config.Safe.index_68")),1)]),_:1},512),a("a",N,s(e.$t("Config.Safe.index_168")),1)])]))}});export{F as _}; diff --git a/BTPanel/static/vite/js/confirm.vue_vue_type_script_setup_true_lang-legacy-DTW7tLxI.js b/BTPanel/static/vite/js/confirm.vue_vue_type_script_setup_true_lang-legacy-DTW7tLxI.js deleted file mode 100644 index 33256a70..00000000 --- a/BTPanel/static/vite/js/confirm.vue_vue_type_script_setup_true_lang-legacy-DTW7tLxI.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./index-legacy-xAbE4LTr.js?v=1773287522785","./config-legacy-DLeSYE-1.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785"],(function(e,t){"use strict";var a,n,i,s,f,l,o,c,r,u,d,g,x,_,m,p,C,y,w;return{setters:[e=>{a=e.ca,n=e.p,i=e.i,s=e.m},e=>{f=e.b,l=e._,o=e.C,c=e.m},e=>{r=e.default},e=>{u=e.k,d=e.R,g=e.al,x=e.$,_=e.Z,m=e.a0,p=e.a9,C=e.j,y=e.aa,w=e._}],execute:function(){const t={class:"p-20px"},S={class:"text-error"},$={class:"text-error"},h={class:"flex items-center justify-between"},v={class:"bt-link",href:"https://www.aapanel.com/forum/d/357-how-to-use-google-authenticator-in-the-aapanel",target:"_blank"};e("_",u({__name:"confirm",props:{onRefresh:{type:Function,default:()=>{}}},setup(e,{expose:u}){const{t:b}=d(),{safeConfig:j}=f(),k=e,R=g("riskRef");return u({onConfirm:async()=>{await(R.value?.validate());const{message:e}=await a({act:1});j.value.dynamicPwd=!0,k.onRefresh(),n({title:b("Config.Safe.index_62"),width:600,component:r}),i(e)&&s.success(e.result)}}),(e,a)=>(x(),_("div",t,[m(l,{class:"mb-20px"},{default:p((()=>[C(y(e.$t("Config.Safe.index_47")),1)])),_:1}),m(o,{class:"mb-20px"},{default:p((()=>[w("li",S,y(e.$t("Config.Safe.index_19")),1),w("li",$,y(e.$t("Config.Safe.index_69")),1),w("li",null,y(e.$t("Config.Safe.index_66")),1),w("li",null,y(e.$t("Config.Safe.index_67")),1)])),_:1}),w("div",h,[m(c,{ref_key:"riskRef",ref:R},{default:p((()=>[C(y(e.$t("Config.Safe.index_68")),1)])),_:1},512),w("a",v,y(e.$t("Config.Safe.index_168")),1)])]))}}))}}})); diff --git a/BTPanel/static/vite/js/confirm.vue_vue_type_script_setup_true_lang-legacy-JyTnOsIG.js b/BTPanel/static/vite/js/confirm.vue_vue_type_script_setup_true_lang-legacy-JyTnOsIG.js new file mode 100644 index 00000000..276ed669 --- /dev/null +++ b/BTPanel/static/vite/js/confirm.vue_vue_type_script_setup_true_lang-legacy-JyTnOsIG.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./index-legacy-BYr-UjIQ.js?v=1774508183068","./config-legacy-DD2KYhL2.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068"],(function(e,t){"use strict";var a,n,i,s,f,l,o,c,r,u,d,g,_,x,m,p,C,y,w;return{setters:[e=>{a=e.ci,n=e.p,i=e.i,s=e.m},e=>{f=e.b,l=e._,o=e.C,c=e.m},e=>{r=e.default},e=>{u=e.k,d=e.R,g=e.al,_=e.$,x=e.Z,m=e.a0,p=e.a9,C=e.j,y=e.aa,w=e._}],execute:function(){const t={class:"p-20px"},S={class:"text-error"},h={class:"text-error"},$={class:"flex items-center justify-between"},v={class:"bt-link",href:"https://www.aapanel.com/forum/d/357-how-to-use-google-authenticator-in-the-aapanel",target:"_blank"};e("_",u({__name:"confirm",props:{onRefresh:{type:Function,default:()=>{}}},setup(e,{expose:u}){const{t:b}=d(),{safeConfig:j}=f(),k=e,R=g("riskRef");return u({onConfirm:async()=>{await(R.value?.validate());const{message:e}=await a({act:1});j.value.dynamicPwd=!0,k.onRefresh(),n({title:b("Config.Safe.index_62"),width:600,component:r}),i(e)&&s.success(e.result)}}),(e,a)=>(_(),x("div",t,[m(l,{class:"mb-20px"},{default:p((()=>[C(y(e.$t("Config.Safe.index_47")),1)])),_:1}),m(o,{class:"mb-20px"},{default:p((()=>[w("li",S,y(e.$t("Config.Safe.index_19")),1),w("li",h,y(e.$t("Config.Safe.index_69")),1),w("li",null,y(e.$t("Config.Safe.index_66")),1),w("li",null,y(e.$t("Config.Safe.index_67")),1)])),_:1}),w("div",$,[m(c,{ref_key:"riskRef",ref:R},{default:p((()=>[C(y(e.$t("Config.Safe.index_68")),1)])),_:1},512),w("a",v,y(e.$t("Config.Safe.index_168")),1)])]))}}))}}})); diff --git a/BTPanel/static/vite/js/copy-D-wIKr0q.js b/BTPanel/static/vite/js/copy-D-wIKr0q.js deleted file mode 100644 index aa4f4d1c..00000000 --- a/BTPanel/static/vite/js/copy-D-wIKr0q.js +++ /dev/null @@ -1 +0,0 @@ -import{aO as l,m as s,a3 as e}from"./index-BTglIPU2.js?v=1773287522785";const i=async o=>{const{copy:a,isSupported:t}=l({legacy:!0});t.value?(a(o),s.success(e.global.t("Utils.Copy.index_1"))):s.error(e.global.t("Utils.Copy.index_2"))};export{i as c}; diff --git a/BTPanel/static/vite/js/copy-DTOfN-dY.js b/BTPanel/static/vite/js/copy-DTOfN-dY.js new file mode 100644 index 00000000..1e848f62 --- /dev/null +++ b/BTPanel/static/vite/js/copy-DTOfN-dY.js @@ -0,0 +1 @@ +import{aS as l,m as s,a6 as e}from"./index-LQ-JIYiv.js?v=1774508183068";const i=async o=>{const{copy:a,isSupported:t}=l({legacy:!0});t.value?(a(o),s.success(e.global.t("Utils.Copy.index_1"))):s.error(e.global.t("Utils.Copy.index_2"))};export{i as c}; diff --git a/BTPanel/static/vite/js/copy-legacy-CoXPjkKf.js b/BTPanel/static/vite/js/copy-legacy-CoXPjkKf.js deleted file mode 100644 index 96a07092..00000000 --- a/BTPanel/static/vite/js/copy-legacy-CoXPjkKf.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785"],(function(e,t){"use strict";var s,c,r;return{setters:[e=>{s=e.aO,c=e.m,r=e.a3}],execute:function(){e("c",(async e=>{const{copy:t,isSupported:i}=s({legacy:!0});i.value?(t(e),c.success(r.global.t("Utils.Copy.index_1"))):c.error(r.global.t("Utils.Copy.index_2"))}))}}})); diff --git a/BTPanel/static/vite/js/copy-legacy-DQuL_OmY.js b/BTPanel/static/vite/js/copy-legacy-DQuL_OmY.js new file mode 100644 index 00000000..dd70f2cd --- /dev/null +++ b/BTPanel/static/vite/js/copy-legacy-DQuL_OmY.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068"],(function(e,t){"use strict";var s,c,r;return{setters:[e=>{s=e.aS,c=e.m,r=e.a6}],execute:function(){e("c",(async e=>{const{copy:t,isSupported:i}=s({legacy:!0});i.value?(t(e),c.success(r.global.t("Utils.Copy.index_1"))):c.error(r.global.t("Utils.Copy.index_2"))}))}}})); diff --git a/BTPanel/static/vite/js/count-B8TEzASh.js b/BTPanel/static/vite/js/count-B8TEzASh.js new file mode 100644 index 00000000..5b1d114b --- /dev/null +++ b/BTPanel/static/vite/js/count-B8TEzASh.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import{u as r}from"./useTableData-D5IECpFr.js?v=1774508183068";import{k as l,R as i,a0 as t,F as c,$ as m,Z as p,S as u}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a5 as _}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./index-LQ-JIYiv.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";const d={class:"p-20px"},y=l({__name:"count",props:{list:{default:()=>[]}},setup(f){const{t:a}=i(),{columns:n}=r([{key:"name",title:a("Waf.Site.index_15")},{key:"value",title:a("Waf.Site.index_16"),render:e=>t(_,{placement:"bottom-start","arrow-point-to-center":!0},{trigger:()=>t(c,null,[e.value>0?t("a",{class:"bt-link error",href:"javascript:;"},[e.value]):e.value]),default:()=>t("div",{class:"leading-18px"},[a("Waf.Site.index_42",[e.value])])})}]);return(e,v)=>{const s=o;return m(),p("div",d,[t(s,{data:e.list,columns:u(n)},null,8,["data","columns"])])}}});export{y as default}; diff --git a/BTPanel/static/vite/js/count-CxWY2pr3.js b/BTPanel/static/vite/js/count-CxWY2pr3.js deleted file mode 100644 index 4abaeea8..00000000 --- a/BTPanel/static/vite/js/count-CxWY2pr3.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{u as r}from"./useTableData-BmkIKQ_R.js?v=1773287522785";import{k as l,R as i,a0 as t,F as c,$ as m,Z as p,S as u}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a5 as _}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./index-BTglIPU2.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";const d={class:"p-20px"},y=l({__name:"count",props:{list:{default:()=>[]}},setup(f){const{t:a}=i(),{columns:n}=r([{key:"name",title:a("Waf.Site.index_15")},{key:"value",title:a("Waf.Site.index_16"),render:e=>t(_,{placement:"bottom-start","arrow-point-to-center":!0},{trigger:()=>t(c,null,[e.value>0?t("a",{class:"bt-link error",href:"javascript:;"},[e.value]):e.value]),default:()=>t("div",{class:"leading-18px"},[a("Waf.Site.index_42",[e.value])])})}]);return(e,v)=>{const s=o;return m(),p("div",d,[t(s,{data:e.list,columns:u(n)},null,8,["data","columns"])])}}});export{y as default}; diff --git a/BTPanel/static/vite/js/count-legacy-B6SC4beI.js b/BTPanel/static/vite/js/count-legacy-B6SC4beI.js deleted file mode 100644 index 2085d57c..00000000 --- a/BTPanel/static/vite/js/count-legacy-B6SC4beI.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785"],(function(e,t){"use strict";var a,l,s,n,u,r,i,c,o,d;return{setters:[e=>{a=e._},e=>{l=e.u},e=>{s=e.k,n=e.R,u=e.a0,r=e.F,i=e.$,c=e.Z,o=e.S},e=>{d=e.a5},null,null,null],execute:function(){const t={class:"p-20px"};e("default",s({__name:"count",props:{list:{default:()=>[]}},setup(e){const{t:s}=n(),{columns:p}=l([{key:"name",title:s("Waf.Site.index_15")},{key:"value",title:s("Waf.Site.index_16"),render:e=>u(d,{placement:"bottom-start","arrow-point-to-center":!0},{trigger:()=>u(r,null,[e.value>0?u("a",{class:"bt-link error",href:"javascript:;"},[e.value]):e.value]),default:()=>u("div",{class:"leading-18px"},[s("Waf.Site.index_42",[e.value])])})}]);return(e,l)=>{const s=a;return i(),c("div",t,[u(s,{data:e.list,columns:o(p)},null,8,["data","columns"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/count-legacy-BWMYsovt.js b/BTPanel/static/vite/js/count-legacy-BWMYsovt.js new file mode 100644 index 00000000..da0b2867 --- /dev/null +++ b/BTPanel/static/vite/js/count-legacy-BWMYsovt.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068"],(function(e,t){"use strict";var a,l,s,n,u,r,c,i,o,d;return{setters:[e=>{a=e._},e=>{l=e.u},e=>{s=e.k,n=e.R,u=e.a0,r=e.F,c=e.$,i=e.Z,o=e.S},e=>{d=e.a5},null,null,null],execute:function(){const t={class:"p-20px"};e("default",s({__name:"count",props:{list:{default:()=>[]}},setup(e){const{t:s}=n(),{columns:p}=l([{key:"name",title:s("Waf.Site.index_15")},{key:"value",title:s("Waf.Site.index_16"),render:e=>u(d,{placement:"bottom-start","arrow-point-to-center":!0},{trigger:()=>u(r,null,[e.value>0?u("a",{class:"bt-link error",href:"javascript:;"},[e.value]):e.value]),default:()=>u("div",{class:"leading-18px"},[s("Waf.Site.index_42",[e.value])])})}]);return(e,l)=>{const s=a;return c(),i("div",t,[u(s,{data:e.list,columns:o(p)},null,8,["data","columns"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/create-ssh-key.vue_vue_type_script_setup_true_lang-CEGTHdB8.js b/BTPanel/static/vite/js/create-ssh-key.vue_vue_type_script_setup_true_lang-CEGTHdB8.js new file mode 100644 index 00000000..2e747635 --- /dev/null +++ b/BTPanel/static/vite/js/create-ssh-key.vue_vue_type_script_setup_true_lang-CEGTHdB8.js @@ -0,0 +1 @@ +import{_ as d}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{hT as y,i as g,m as h}from"./index-LQ-JIYiv.js?v=1774508183068";import{k,R as x,e as S,$ as v,Z as b,a0 as m,a9 as r,S as s,_ as G}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a1 as N,b as w}from"./naive-ui-BjvXgNtF.js?v=1774508183068";const q="/static/vite/images/git-ps-BGhlH-jp.png",B={class:"w-440px p-20px pt-28px"},C={class:"w-240px"},E=k({__name:"create-ssh-key",props:{refresh:{type:Function}},setup(c,{expose:_}){const{t}=x(),n=c,a=S({key_name:""}),i={key_name:{required:!0,message:t("Site.Git.pleaseInputSshKeyName"),trigger:"blur"}};return _({onConfirm:async()=>{var e;const{message:o}=await y({key_name:a.key_name});g(o)&&(h.success(t("Site.Git.generateNewKeySuccess")),(e=n.refresh)==null||e.call(n,o.result))}}),(o,e)=>{const p=w,l=N,u=d;return v(),b("div",B,[m(u,{model:s(a),rules:i},{default:r(()=>[m(l,{label:s(t)("Site.Git.keyName"),key:"key_name"},{default:r(()=>[G("div",C,[m(p,{value:s(a).key_name,"onUpdate:value":e[0]||(e[0]=f=>s(a).key_name=f),placeholder:s(t)("Site.Git.sshKeyNamePlaceholder")},null,8,["value","placeholder"])])]),_:1},8,["label"])]),_:1},8,["model"])])}}});export{E as _,q as g}; diff --git a/BTPanel/static/vite/js/create-ssh-key.vue_vue_type_script_setup_true_lang-D630PTBD.js b/BTPanel/static/vite/js/create-ssh-key.vue_vue_type_script_setup_true_lang-D630PTBD.js deleted file mode 100644 index 5b197ef4..00000000 --- a/BTPanel/static/vite/js/create-ssh-key.vue_vue_type_script_setup_true_lang-D630PTBD.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as d}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{q as y}from"./php-D3q5Oj7O.js?v=1773287522785";import{i as g,m as h}from"./index-BTglIPU2.js?v=1773287522785";import{k,R as x,e as S,$ as v,Z as b,a0 as m,a9 as r,S as s,_ as G}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as N,b as w}from"./naive-ui--dJnpVcV.js?v=1773287522785";const E="/static/vite/images/git-ps-BGhlH-jp.png",B={class:"w-440px p-20px pt-28px"},C={class:"w-240px"},F=k({__name:"create-ssh-key",props:{refresh:{type:Function}},setup(c,{expose:i}){const{t}=x(),n=c,a=S({key_name:""}),_={key_name:{required:!0,message:t("Site.Git.pleaseInputSshKeyName"),trigger:"blur"}};return i({onConfirm:async()=>{var e;const{message:o}=await y({key_name:a.key_name});g(o)&&(h.success(t("Site.Git.generateNewKeySuccess")),(e=n.refresh)==null||e.call(n,o.result))}}),(o,e)=>{const p=w,l=N,u=d;return v(),b("div",B,[m(u,{model:s(a),rules:_},{default:r(()=>[m(l,{label:s(t)("Site.Git.keyName"),key:"key_name"},{default:r(()=>[G("div",C,[m(p,{value:s(a).key_name,"onUpdate:value":e[0]||(e[0]=f=>s(a).key_name=f),placeholder:s(t)("Site.Git.sshKeyNamePlaceholder")},null,8,["value","placeholder"])])]),_:1},8,["label"])]),_:1},8,["model"])])}}});export{F as _,E as g}; diff --git a/BTPanel/static/vite/js/create-ssh-key.vue_vue_type_script_setup_true_lang-legacy-CEtCJ6pb.js b/BTPanel/static/vite/js/create-ssh-key.vue_vue_type_script_setup_true_lang-legacy-CEtCJ6pb.js deleted file mode 100644 index 8f1584db..00000000 --- a/BTPanel/static/vite/js/create-ssh-key.vue_vue_type_script_setup_true_lang-legacy-CEtCJ6pb.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./php-legacy-BZUQ59eS.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,s){"use strict";var t,a,n,r,l,i,c,u,p,y,_,m,o,g,d;return{setters:[e=>{t=e._},e=>{a=e.q},e=>{n=e.i,r=e.m},e=>{l=e.k,i=e.R,c=e.e,u=e.$,p=e.Z,y=e.a0,_=e.a9,m=e.S,o=e._},e=>{g=e.a1,d=e.b}],execute:function(){e("g","/static/vite/images/git-ps-BGhlH-jp.png");const s={class:"w-440px p-20px pt-28px"},k={class:"w-240px"};e("_",l({__name:"create-ssh-key",props:{refresh:{type:Function}},setup(e,{expose:l}){const{t:v}=i(),h=e,x=c({key_name:""}),S={key_name:{required:!0,message:v("Site.Git.pleaseInputSshKeyName"),trigger:"blur"}};return l({onConfirm:async()=>{const{message:e}=await a({key_name:x.key_name});n(e)&&(r.success(v("Site.Git.generateNewKeySuccess")),h.refresh?.(e.result))}}),(e,a)=>{const n=d,r=g,l=t;return u(),p("div",s,[y(l,{model:m(x),rules:S},{default:_((()=>[y(r,{label:m(v)("Site.Git.keyName"),key:"key_name"},{default:_((()=>[o("div",k,[y(n,{value:m(x).key_name,"onUpdate:value":a[0]||(a[0]=e=>m(x).key_name=e),placeholder:m(v)("Site.Git.sshKeyNamePlaceholder")},null,8,["value","placeholder"])])])),_:1},8,["label"])])),_:1},8,["model"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/create-ssh-key.vue_vue_type_script_setup_true_lang-legacy-tQc_fHDo.js b/BTPanel/static/vite/js/create-ssh-key.vue_vue_type_script_setup_true_lang-legacy-tQc_fHDo.js new file mode 100644 index 00000000..1d5cde43 --- /dev/null +++ b/BTPanel/static/vite/js/create-ssh-key.vue_vue_type_script_setup_true_lang-legacy-tQc_fHDo.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068"],(function(e,s){"use strict";var t,a,n,r,l,i,u,c,p,y,_,m,o,g,d;return{setters:[e=>{t=e._},e=>{a=e.hT,n=e.i,r=e.m},e=>{l=e.k,i=e.R,u=e.e,c=e.$,p=e.Z,y=e.a0,_=e.a9,m=e.S,o=e._},e=>{g=e.a1,d=e.b}],execute:function(){e("g","/static/vite/images/git-ps-BGhlH-jp.png");const s={class:"w-440px p-20px pt-28px"},k={class:"w-240px"};e("_",l({__name:"create-ssh-key",props:{refresh:{type:Function}},setup(e,{expose:l}){const{t:v}=i(),h=e,x=u({key_name:""}),S={key_name:{required:!0,message:v("Site.Git.pleaseInputSshKeyName"),trigger:"blur"}};return l({onConfirm:async()=>{const{message:e}=await a({key_name:x.key_name});n(e)&&(r.success(v("Site.Git.generateNewKeySuccess")),h.refresh?.(e.result))}}),(e,a)=>{const n=d,r=g,l=t;return c(),p("div",s,[y(l,{model:m(x),rules:S},{default:_((()=>[y(r,{label:m(v)("Site.Git.keyName"),key:"key_name"},{default:_((()=>[o("div",k,[y(n,{value:m(x).key_name,"onUpdate:value":a[0]||(a[0]=e=>m(x).key_name=e),placeholder:m(v)("Site.Git.sshKeyNamePlaceholder")},null,8,["value","placeholder"])])])),_:1},8,["label"])])),_:1},8,["model"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/custom-BqctRCar.js b/BTPanel/static/vite/js/custom-BqctRCar.js new file mode 100644 index 00000000..daa65b32 --- /dev/null +++ b/BTPanel/static/vite/js/custom-BqctRCar.js @@ -0,0 +1 @@ +import{_ as x}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{k as b,R as C,r as h,e as w,$ as k,Z as R,a0 as n,a9 as p,S as o}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a1 as y,b as B}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const S={class:"pt-20px"},U=b({__name:"custom",props:{data:{}},setup(l,{expose:m}){const{t:c}=C(),i=l,{row:a,callback:s}=i.data,r=h(null),t=w({args:""}),u={args:{required:!0,message:c("Crontab.Script.index_43"),trigger:["blur","input"]}};return m({onConfirm:async({hide:_})=>{var e;await((e=r.value)==null?void 0:e.validate()),s==null||s(t.args,a),_()}}),(_,e)=>{const f=B,d=y,g=x;return k(),R("div",S,[n(g,{ref_key:"formRef",ref:r,model:o(t),rules:u},{default:p(()=>[n(d,{label:o(a).args_title,path:"args"},{default:p(()=>[n(f,{class:"w-250px!",value:o(t).args,"onUpdate:value":e[0]||(e[0]=v=>o(t).args=v),placeholder:o(a).args_ps},null,8,["value","placeholder"])]),_:1},8,["label"])]),_:1},8,["model"])])}}});export{U as default}; diff --git a/BTPanel/static/vite/js/custom-LofPBB2E.js b/BTPanel/static/vite/js/custom-LofPBB2E.js new file mode 100644 index 00000000..52332563 --- /dev/null +++ b/BTPanel/static/vite/js/custom-LofPBB2E.js @@ -0,0 +1 @@ +import{a4 as g,e as f}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{av as a,a6 as c,i as l}from"./index-LQ-JIYiv.js?v=1774508183068";const d=()=>a.post("/plugin?action=a&name=btwaf&s=get_customize_config_help"),x=()=>a.post("/plugin?action=a&name=btwaf&s=get_customize_list"),z=t=>a.post("/plugin?action=a&name=btwaf&s=set_status_customize_rule",t,{requestOptions:{loading:c.global.t("Waf.Api.custom_35"),successMessage:!0}}),S=t=>a.post("/plugin?action=a&name=btwaf&s=create_customize_rule",{infos:JSON.stringify(t)},{requestOptions:{loading:c.global.t("Waf.Api.custom_36"),successMessage:!0}}),h=t=>a.post("/plugin?action=a&name=btwaf&s=update_customize_rule",{id:t.id,infos:JSON.stringify(t.infos)},{requestOptions:{loading:c.global.t("Waf.Api.custom_37"),successMessage:!0}}),N=t=>a.post("/plugin?action=a&name=btwaf&s=remove_customize_rule",t,{requestOptions:{loading:c.global.t("Waf.Api.custom_38"),successMessage:!0}}),A=g("waf-custom-rule",()=>{const t=f({action:[],operators:{},options:[],sitemap:{}}),p=async()=>{const{message:e}=await d();l(e)&&(t.action=e.action,t.operators=e.operators,t.options=e.options,t.sitemap=e.sitemap)},m=()=>{t.action=[],t.operators={},t.options=[],t.sitemap={}},r=e=>{const s=t.options.find(n=>n.type===e);return s?s.text:"--"};return{config:t,getConfig:p,clearConfig:m,getSiteName:e=>e.map(s=>t.sitemap[s]||"--").join(", "),getConditionName:r,getMatchCondition:e=>{const s=[],n=o=>{for(let i=0;ir(o)).join(",")},getExecuteAction:(e,s)=>{const n=t.action.find(o=>o.type===e);if(n){const o=n.response.find(i=>i.type===s);return o?"".concat(n.text," (").concat(o.text,")"):n.text}return"--"},getOperatorName:e=>t.operators[e]?t.operators[e].text:"--"}});export{S as a,h as e,x as g,N as r,z as s,A as u}; diff --git a/BTPanel/static/vite/js/custom-W85Jyu3e.js b/BTPanel/static/vite/js/custom-W85Jyu3e.js deleted file mode 100644 index 590cbdec..00000000 --- a/BTPanel/static/vite/js/custom-W85Jyu3e.js +++ /dev/null @@ -1 +0,0 @@ -import{a4 as g,e as f}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{as as a,a3 as c,i as l}from"./index-BTglIPU2.js?v=1773287522785";const d=()=>a.post("/plugin?action=a&name=btwaf&s=get_customize_config_help"),x=()=>a.post("/plugin?action=a&name=btwaf&s=get_customize_list"),z=t=>a.post("/plugin?action=a&name=btwaf&s=set_status_customize_rule",t,{requestOptions:{loading:c.global.t("Waf.Api.custom_35"),successMessage:!0}}),S=t=>a.post("/plugin?action=a&name=btwaf&s=create_customize_rule",{infos:JSON.stringify(t)},{requestOptions:{loading:c.global.t("Waf.Api.custom_36"),successMessage:!0}}),h=t=>a.post("/plugin?action=a&name=btwaf&s=update_customize_rule",{id:t.id,infos:JSON.stringify(t.infos)},{requestOptions:{loading:c.global.t("Waf.Api.custom_37"),successMessage:!0}}),N=t=>a.post("/plugin?action=a&name=btwaf&s=remove_customize_rule",t,{requestOptions:{loading:c.global.t("Waf.Api.custom_38"),successMessage:!0}}),A=g("waf-custom-rule",()=>{const t=f({action:[],operators:{},options:[],sitemap:{}}),p=async()=>{const{message:e}=await d();l(e)&&(t.action=e.action,t.operators=e.operators,t.options=e.options,t.sitemap=e.sitemap)},m=()=>{t.action=[],t.operators={},t.options=[],t.sitemap={}},r=e=>{const s=t.options.find(n=>n.type===e);return s?s.text:"--"};return{config:t,getConfig:p,clearConfig:m,getSiteName:e=>e.map(s=>t.sitemap[s]||"--").join(", "),getConditionName:r,getMatchCondition:e=>{const s=[],n=o=>{for(let i=0;ir(o)).join(",")},getExecuteAction:(e,s)=>{const n=t.action.find(o=>o.type===e);if(n){const o=n.response.find(i=>i.type===s);return o?"".concat(n.text," (").concat(o.text,")"):n.text}return"--"},getOperatorName:e=>t.operators[e]?t.operators[e].text:"--"}});export{S as a,h as e,x as g,N as r,z as s,A as u}; diff --git a/BTPanel/static/vite/js/custom-legacy-BOQU43Jz.js b/BTPanel/static/vite/js/custom-legacy-BOQU43Jz.js deleted file mode 100644 index 448a9f5c..00000000 --- a/BTPanel/static/vite/js/custom-legacy-BOQU43Jz.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785"],(function(t,e){"use strict";var s,o,i,n,a;return{setters:[t=>{s=t.a4,o=t.e},t=>{i=t.as,n=t.a3,a=t.i}],execute:function(){t("g",(()=>i.post("/plugin?action=a&name=btwaf&s=get_customize_list"))),t("s",(t=>i.post("/plugin?action=a&name=btwaf&s=set_status_customize_rule",t,{requestOptions:{loading:n.global.t("Waf.Api.custom_35"),successMessage:!0}}))),t("a",(t=>i.post("/plugin?action=a&name=btwaf&s=create_customize_rule",{infos:JSON.stringify(t)},{requestOptions:{loading:n.global.t("Waf.Api.custom_36"),successMessage:!0}}))),t("e",(t=>i.post("/plugin?action=a&name=btwaf&s=update_customize_rule",{id:t.id,infos:JSON.stringify(t.infos)},{requestOptions:{loading:n.global.t("Waf.Api.custom_37"),successMessage:!0}}))),t("r",(t=>i.post("/plugin?action=a&name=btwaf&s=remove_customize_rule",t,{requestOptions:{loading:n.global.t("Waf.Api.custom_38"),successMessage:!0}}))),t("u",s("waf-custom-rule",(()=>{const t=o({action:[],operators:{},options:[],sitemap:{}}),e=e=>{const s=t.options.find((t=>t.type===e));return s?s.text:"--"};return{config:t,getConfig:async()=>{const{message:e}=await i.post("/plugin?action=a&name=btwaf&s=get_customize_config_help");a(e)&&(t.action=e.action,t.operators=e.operators,t.options=e.options,t.sitemap=e.sitemap)},clearConfig:()=>{t.action=[],t.operators={},t.options=[],t.sitemap={}},getSiteName:e=>e.map((e=>t.sitemap[e]||"--")).join(", "),getConditionName:e,getMatchCondition:t=>{const s=[],o=t=>{for(let e=0;ee(t))).join(",")},getExecuteAction:(e,s)=>{const o=t.action.find((t=>t.type===e));if(o){const t=o.response.find((t=>t.type===s));return t?`${o.text} (${t.text})`:o.text}return"--"},getOperatorName:e=>t.operators[e]?t.operators[e].text:"--"}})))}}})); diff --git a/BTPanel/static/vite/js/custom-legacy-CECfgLyh.js b/BTPanel/static/vite/js/custom-legacy-CECfgLyh.js deleted file mode 100644 index 6cad9f9d..00000000 --- a/BTPanel/static/vite/js/custom-legacy-CECfgLyh.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,a){"use strict";var r,s,t,l,u,n,c,i,o,p,g,d;return{setters:[e=>{r=e._},e=>{s=e.k,t=e.R,l=e.r,u=e.e,n=e.$,c=e.Z,i=e.a0,o=e.a9,p=e.S},e=>{g=e.a1,d=e.b},null],execute:function(){const a={class:"pt-20px"};e("default",s({__name:"custom",props:{data:{}},setup(e,{expose:s}){const{t:_}=t(),v=e,{row:f,callback:m}=v.data,y=l(null),b=u({args:""}),x={args:{required:!0,message:_("Crontab.Script.index_43"),trigger:["blur","input"]}};return s({onConfirm:async({hide:e})=>{await(y.value?.validate()),m?.(b.args,f),e()}}),(e,s)=>{const t=d,l=g,u=r;return n(),c("div",a,[i(u,{ref_key:"formRef",ref:y,model:p(b),rules:x},{default:o((()=>[i(l,{label:p(f).args_title,path:"args"},{default:o((()=>[i(t,{class:"w-250px!",value:p(b).args,"onUpdate:value":s[0]||(s[0]=e=>p(b).args=e),placeholder:p(f).args_ps},null,8,["value","placeholder"])])),_:1},8,["label"])])),_:1},8,["model"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/custom-legacy-CgI1FvPH.js b/BTPanel/static/vite/js/custom-legacy-CgI1FvPH.js new file mode 100644 index 00000000..6f39b37f --- /dev/null +++ b/BTPanel/static/vite/js/custom-legacy-CgI1FvPH.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,a){"use strict";var r,s,t,l,u,n,c,i,o,p,g,d;return{setters:[e=>{r=e._},e=>{s=e.k,t=e.R,l=e.r,u=e.e,n=e.$,c=e.Z,i=e.a0,o=e.a9,p=e.S},e=>{g=e.a1,d=e.b},null],execute:function(){const a={class:"pt-20px"};e("default",s({__name:"custom",props:{data:{}},setup(e,{expose:s}){const{t:_}=t(),v=e,{row:f,callback:m}=v.data,y=l(null),b=u({args:""}),x={args:{required:!0,message:_("Crontab.Script.index_43"),trigger:["blur","input"]}};return s({onConfirm:async({hide:e})=>{await(y.value?.validate()),m?.(b.args,f),e()}}),(e,s)=>{const t=d,l=g,u=r;return n(),c("div",a,[i(u,{ref_key:"formRef",ref:y,model:p(b),rules:x},{default:o((()=>[i(l,{label:p(f).args_title,path:"args"},{default:o((()=>[i(t,{class:"w-250px!",value:p(b).args,"onUpdate:value":s[0]||(s[0]=e=>p(b).args=e),placeholder:p(f).args_ps},null,8,["value","placeholder"])])),_:1},8,["label"])])),_:1},8,["model"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/custom-legacy-iLFdqFXN.js b/BTPanel/static/vite/js/custom-legacy-iLFdqFXN.js new file mode 100644 index 00000000..916244d4 --- /dev/null +++ b/BTPanel/static/vite/js/custom-legacy-iLFdqFXN.js @@ -0,0 +1 @@ +System.register(["./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068"],(function(t,e){"use strict";var s,o,i,n,a;return{setters:[t=>{s=t.a4,o=t.e},t=>{i=t.av,n=t.a6,a=t.i}],execute:function(){t("g",(()=>i.post("/plugin?action=a&name=btwaf&s=get_customize_list"))),t("s",(t=>i.post("/plugin?action=a&name=btwaf&s=set_status_customize_rule",t,{requestOptions:{loading:n.global.t("Waf.Api.custom_35"),successMessage:!0}}))),t("a",(t=>i.post("/plugin?action=a&name=btwaf&s=create_customize_rule",{infos:JSON.stringify(t)},{requestOptions:{loading:n.global.t("Waf.Api.custom_36"),successMessage:!0}}))),t("e",(t=>i.post("/plugin?action=a&name=btwaf&s=update_customize_rule",{id:t.id,infos:JSON.stringify(t.infos)},{requestOptions:{loading:n.global.t("Waf.Api.custom_37"),successMessage:!0}}))),t("r",(t=>i.post("/plugin?action=a&name=btwaf&s=remove_customize_rule",t,{requestOptions:{loading:n.global.t("Waf.Api.custom_38"),successMessage:!0}}))),t("u",s("waf-custom-rule",(()=>{const t=o({action:[],operators:{},options:[],sitemap:{}}),e=e=>{const s=t.options.find((t=>t.type===e));return s?s.text:"--"};return{config:t,getConfig:async()=>{const{message:e}=await i.post("/plugin?action=a&name=btwaf&s=get_customize_config_help");a(e)&&(t.action=e.action,t.operators=e.operators,t.options=e.options,t.sitemap=e.sitemap)},clearConfig:()=>{t.action=[],t.operators={},t.options=[],t.sitemap={}},getSiteName:e=>e.map((e=>t.sitemap[e]||"--")).join(", "),getConditionName:e,getMatchCondition:t=>{const s=[],o=t=>{for(let e=0;ee(t))).join(",")},getExecuteAction:(e,s)=>{const o=t.action.find((t=>t.type===e));if(o){const t=o.response.find((t=>t.type===s));return t?`${o.text} (${t.text})`:o.text}return"--"},getOperatorName:e=>t.operators[e]?t.operators[e].text:"--"}})))}}})); diff --git a/BTPanel/static/vite/js/custom-nhcfRG7R.js b/BTPanel/static/vite/js/custom-nhcfRG7R.js deleted file mode 100644 index 72ae944a..00000000 --- a/BTPanel/static/vite/js/custom-nhcfRG7R.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as x}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{k as b,R as C,r as h,e as w,$ as k,Z as R,a0 as n,a9 as p,S as o}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as y,b as B}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const S={class:"pt-20px"},U=b({__name:"custom",props:{data:{}},setup(l,{expose:m}){const{t:c}=C(),i=l,{row:a,callback:s}=i.data,r=h(null),t=w({args:""}),u={args:{required:!0,message:c("Crontab.Script.index_43"),trigger:["blur","input"]}};return m({onConfirm:async({hide:_})=>{var e;await((e=r.value)==null?void 0:e.validate()),s==null||s(t.args,a),_()}}),(_,e)=>{const f=B,d=y,g=x;return k(),R("div",S,[n(g,{ref_key:"formRef",ref:r,model:o(t),rules:u},{default:p(()=>[n(d,{label:o(a).args_title,path:"args"},{default:p(()=>[n(f,{class:"w-250px!",value:o(t).args,"onUpdate:value":e[0]||(e[0]=v=>o(t).args=v),placeholder:o(a).args_ps},null,8,["value","placeholder"])]),_:1},8,["label"])]),_:1},8,["model"])])}}});export{U as default}; diff --git a/BTPanel/static/vite/js/data-BVsViUMm.js b/BTPanel/static/vite/js/data-BVsViUMm.js deleted file mode 100644 index 54c05d73..00000000 --- a/BTPanel/static/vite/js/data-BVsViUMm.js +++ /dev/null @@ -1 +0,0 @@ -import{t as e}from"./naive-ui--dJnpVcV.js?v=1773287522785";const a=t=>t.split(" ").map(r=>r.charAt(0).toUpperCase()+r.slice(1).toLowerCase()).join(" "),i=t=>{try{return JSON.parse(t),!0}catch(r){return!1}},c=t=>Number.isNaN(e(t))?0:e(t);export{a as c,c as g,i}; diff --git a/BTPanel/static/vite/js/data-DKqR3z3t.js b/BTPanel/static/vite/js/data-DKqR3z3t.js new file mode 100644 index 00000000..03342118 --- /dev/null +++ b/BTPanel/static/vite/js/data-DKqR3z3t.js @@ -0,0 +1 @@ +import{t as e}from"./naive-ui-BjvXgNtF.js?v=1774508183068";const a=t=>t.split(" ").map(r=>r.charAt(0).toUpperCase()+r.slice(1).toLowerCase()).join(" "),i=t=>{try{return JSON.parse(t),!0}catch(r){return!1}},c=t=>Number.isNaN(e(t))?0:e(t);export{a as c,c as g,i}; diff --git a/BTPanel/static/vite/js/data-legacy-B9xdUIE5.js b/BTPanel/static/vite/js/data-legacy-B9xdUIE5.js deleted file mode 100644 index 79c7956b..00000000 --- a/BTPanel/static/vite/js/data-legacy-B9xdUIE5.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,t){"use strict";var r;return{setters:[e=>{r=e.t}],execute:function(){e("c",(e=>e.split(" ").map((e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase())).join(" "))),e("i",(e=>{try{return JSON.parse(e),!0}catch{return!1}})),e("g",(e=>Number.isNaN(r(e))?0:r(e)))}}})); diff --git a/BTPanel/static/vite/js/data-legacy-CjpXZmIa.js b/BTPanel/static/vite/js/data-legacy-CjpXZmIa.js new file mode 100644 index 00000000..c95aae70 --- /dev/null +++ b/BTPanel/static/vite/js/data-legacy-CjpXZmIa.js @@ -0,0 +1 @@ +System.register(["./naive-ui-legacy-1YwVSydu.js?v=1774508183068"],(function(e,t){"use strict";var r;return{setters:[e=>{r=e.t}],execute:function(){e("c",(e=>e.split(" ").map((e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase())).join(" "))),e("i",(e=>{try{return JSON.parse(e),!0}catch{return!1}})),e("g",(e=>Number.isNaN(r(e))?0:r(e)))}}})); diff --git a/BTPanel/static/vite/js/details-BH6VpVeG.js b/BTPanel/static/vite/js/details-BH6VpVeG.js deleted file mode 100644 index f3b98753..00000000 --- a/BTPanel/static/vite/js/details-BH6VpVeG.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as n}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{cJ as l,n as c}from"./index-BTglIPU2.js?v=1773287522785";import{u as d}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{u as _}from"./useTableData-BmkIKQ_R.js?v=1773287522785";import{g as u}from"./index-CCGECshE.js?v=1773287522785";import{s as f}from"./tools-CMJvIbk2.js?v=1773287522785";import{k as h,R as k,$ as y,Z as x,a0 as w,S as r}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index-DIKmrNCq.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";import"./useLoading-CZ2gSAW7.js?v=1773287522785";import"./rules-pmZEUQ_o.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DgjjuUjT.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-B7YvCBmY.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-C5hb-Th7.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import"./index-CZps0rIN.js?v=1773287522785";const R={class:"p-20px"},j=h({__name:"details",props:{list:{}},setup(a){const s=a,{t}=k(),{table:o,columns:p}=_([{key:"time_localtime",title:t("Waf.Report.index_13"),width:140},{key:"ip",title:t("Waf.Report.index_7"),width:120},{key:"server_name",title:t("Waf.Report.index_14"),width:120},{key:"ip_country",title:t("Waf.Report.index_8"),width:140,render:e=>e.ip_country||"--"},{key:"uri",title:"URI",ellipsis:{tooltip:!0},render:e=>l(e.uri)},{key:"filter_rule",title:t("Waf.Report.index_1"),width:140},d({width:80,options:e=>[{label:t("Public.Btn.Details"),onClick:async()=>{const{message:i}=await u({id:e.id});c(i)&&i.length>0&&f(i[0])}}]})]);return o.data=s.list,(e,i)=>{const m=n;return y(),x("div",R,[w(m,{"max-height":550,data:r(o).data,columns:r(p)},null,8,["data","columns"])])}}});export{j as default}; diff --git a/BTPanel/static/vite/js/details-BrWNWQV_.js b/BTPanel/static/vite/js/details-BrWNWQV_.js new file mode 100644 index 00000000..8c496e32 --- /dev/null +++ b/BTPanel/static/vite/js/details-BrWNWQV_.js @@ -0,0 +1 @@ +import{aZ as V,x as N,hI as j,hJ as F,i as P,au as R,hK as Z,hG as E,p as G,c as J}from"./index-LQ-JIYiv.js?v=1774508183068";import{a as K}from"./index-Djl16tcW.js?v=1774508183068";import{am as O,B as W}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import{k as X,R as q,r as _,c as v,ab as A,$ as c,Z as d,_ as t,aa as a,F as g,P as y,L as Q,S as n,a0 as r,X as Y,a9 as i,an as ee,H as te,j as H}from"./vue-core-BlDeWrD6.js?v=1774508183068";const se={class:"w-650px"},ae={class:"card"},ne={class:"mb-12px font-bold text-18px text-center"},oe={class:"min-h-172px text-13px"},ie={class:"card"},le={class:"mb-10px text-16px text-center"},ce={class:"h-180px overflow-auto"},de={class:"date"},re={class:"text"},pe=["innerHTML"],_e={class:"font-bold"},me={class:"text-error"},ue=X({__name:"details",emits:["close"],setup(ve,{emit:k}){const x=k,{t:m}=q(),p=_(!1),l=_(5),U=v(()=>l.value>0),C=v(()=>!p.value),f=_([]),u=_([]),{height:h}=V(),w=v(()=>h.value?"".concat(h.value*.9,"px"):"auto"),B=async()=>{const{message:e}=await F();P(e)&&(f.value=e.beta_ps.split("
").map(o=>o.trim()),u.value=e.list,$())},$=()=>{const e=setInterval(()=>{l.value--,l.value<=0&&clearInterval(e)},1e3)},I=()=>{x("close")},S=()=>{R({title:m("Home.Update.index_24"),content:m("Home.Update.index_25"),onConfirm:async e=>(await Z(),await E({toUpdate:!0,version:u.value[0].version}),e.hide(),setTimeout(()=>{x("close"),L()},1500),!1)})},L=()=>{G({title:m("Home.Update.index_26"),component:K})};return B(),(e,o)=>{const T=A("i18n-t"),z=O,b=W,M=j;return c(),d("div",se,[t("div",{class:"p-20px overflow-auto",style:te({maxHeight:n(w)})},[t("div",ae,[t("div",ne,a(e.$t("Home.Update.index_20")),1),t("ul",oe,[(c(!0),d(g,null,y(n(f),(s,D)=>(c(),d("li",{key:s,class:Q(["indent--15px pl-15px leading-20px",{"mt-8px":D!==0}])},a(s),3))),128))])]),t("div",ie,[t("div",le,a(e.$t("Home.Update.index_21")),1),t("div",ce,[(c(!0),d(g,null,y(n(u),s=>(c(),d("div",{key:s.version,class:"version"},[o[1]||(o[1]=t("div",{class:"active"},null,-1)),t("div",de,a(n(N)(s.uptime,"yyyy-MM-dd")),1),t("div",re,a(s.version),1),t("div",{class:"content",innerHTML:s.upmsg},null,8,pe)]))),128))])]),t("div",null,[r(z,{checked:n(p),"onUpdate:checked":o[0]||(o[0]=s=>Y(p)?p.value=s:null),disabled:n(U)},{default:i(()=>[r(T,{tag:"div",class:"text-14px",keypath:"Home.Update.index_23_1"},ee({title:i(()=>[t("span",_e,a(e.$t("Home.Update.index_23_2")),1)]),_:2},[n(l)>0?{name:"wait",fn:i(()=>[t("span",me,a(e.$t("Home.Update.index_23_3",[n(l)])),1)]),key:"0"}:void 0]),1024)]),_:1},8,["checked","disabled"])])],4),r(M,null,{default:i(()=>[r(b,{class:"cancel-btn",size:"small",color:"#cbcbcb",onClick:I},{default:i(()=>[H(a(e.$t("Public.Btn.Cancel")),1)]),_:1}),r(b,{type:"primary",size:"small",disabled:n(C),onClick:S},{default:i(()=>[H(a(e.$t("Home.Update.index_19")),1)]),_:1},8,["disabled"])]),_:1})])}}}),ge=J(ue,[["__scopeId","data-v-898a7868"]]);export{ge as B}; diff --git a/BTPanel/static/vite/js/details-CLE8gFpn.js b/BTPanel/static/vite/js/details-CLE8gFpn.js new file mode 100644 index 00000000..8827733f --- /dev/null +++ b/BTPanel/static/vite/js/details-CLE8gFpn.js @@ -0,0 +1 @@ +import{_ as n}from"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import{cT as l,n as c}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as d}from"./useTableColumns-BpMo4f8r.js?v=1774508183068";import{u as _}from"./useTableData-D5IECpFr.js?v=1774508183068";import{g as u}from"./index-CqEI5Y0H.js?v=1774508183068";import{s as f}from"./tools-BySNFwYS.js?v=1774508183068";import{k as h,R as k,$ as y,Z as x,a0 as w,S as r}from"./vue-core-BlDeWrD6.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";import"./index-Dd5dC2sI.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";import"./useLoading-BRu-BHcC.js?v=1774508183068";import"./rules-O4jjPwN3.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-C6hImLDm.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CXJGqQPN.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-ClVUo_Yi.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import"./index-BonLJ3_f.js?v=1774508183068";const R={class:"p-20px"},q=h({__name:"details",props:{list:{}},setup(a){const s=a,{t}=k(),{table:o,columns:p}=_([{key:"time_localtime",title:t("Waf.Report.index_13"),width:140},{key:"ip",title:t("Waf.Report.index_7"),width:120},{key:"server_name",title:t("Waf.Report.index_14"),width:120},{key:"ip_country",title:t("Waf.Report.index_8"),width:140,render:e=>e.ip_country||"--"},{key:"uri",title:"URI",ellipsis:{tooltip:!0},render:e=>l(e.uri)},{key:"filter_rule",title:t("Waf.Report.index_1"),width:140},d({width:80,options:e=>[{label:t("Public.Btn.Details"),onClick:async()=>{const{message:i}=await u({id:e.id});c(i)&&i.length>0&&f(i[0])}}]})]);return o.data=s.list,(e,i)=>{const m=n;return y(),x("div",R,[w(m,{"max-height":550,data:r(o).data,columns:r(p)},null,8,["data","columns"])])}}});export{q as default}; diff --git a/BTPanel/static/vite/js/details-CWRRjyBs.js b/BTPanel/static/vite/js/details-CWRRjyBs.js deleted file mode 100644 index 2b5c3b0e..00000000 --- a/BTPanel/static/vite/js/details-CWRRjyBs.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as $}from"./index-BDlR_GtR.js?v=1773287522785";import{cJ as i,c as y}from"./index-BTglIPU2.js?v=1773287522785";import{a as j,b as C,h as H}from"./tools-CMJvIbk2.js?v=1773287522785";import{u as L}from"./useLoading-CZ2gSAW7.js?v=1773287522785";import{k as T,t as I,R as N,c as u,r as V,$ as P,Z as R,a0 as t,a9 as a,j as c,aa as n,S as e,_}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{aj as S,n as U,ak as A}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./rules-pmZEUQ_o.js?v=1773287522785";const D={class:"p-20px"},E={class:"flex justify-between"},J={class:"flex justify-between"},M={class:"mt-20px"},O={class:"mt-10px"},Z=T({__name:"details",props:{row:{}},setup(g){const l=I(g,"row"),{t:r}=N(),d=u(()=>l.value.incoming_value.indexOf('b"')>-1?l.value.incoming_value.substring(2,l.value.incoming_value.length-1).split(" >> "):l.value.incoming_value.split(" >> ")),v=u(()=>d.value[1]||r("Waf.Block.index_72")),k=u(()=>d.value[2]||r("Waf.Block.index_72")),x=()=>{j(l.value)},h=()=>{C(l.value,!1)},f=V(""),{loading:B,setLoading:m}=L();return(async()=>{try{m(!0);const{message:s}=await H({path:l.value.http_log});f.value=s.result}finally{m(!1)}})(),(s,b)=>{const o=S,p=U,W=A,w=$;return P(),R("div",D,[t(W,{column:2,bordered:!0,"label-placement":"left","label-style":{width:"160px"},"content-style":{fontWeight:"bold"}},{default:a(()=>[t(o,{label:s.$t("Waf.Block.index_66")},{default:a(()=>[c(n(e(i)(e(l).time_localtime)),1)]),_:1},8,["label"]),t(o,{label:s.$t("Waf.Block.index_67")},{default:a(()=>[_("a",{class:"bt-link",href:"javascript:;",onClick:x},n(e(i)(e(l).ip)),1)]),_:1},8,["label"]),t(o,{label:s.$t("Waf.Block.index_15")},{default:a(()=>[c(n(e(i)(e(l).type)),1)]),_:1},8,["label"]),t(o,{label:s.$t("Waf.Block.index_21")},{default:a(()=>[c(n(e(i)(e(l).filter_rule)),1)]),_:1},8,["label"]),t(o,{label:s.$t("Waf.Block.index_68"),span:2},{default:a(()=>[_("div",E,[t(p,{class:"w-480px"},{default:a(()=>[c(n(e(i)(e(l).uri)),1)]),_:1}),_("a",{class:"bt-link",href:"javascript:;",onClick:h},n(s.$t("Waf.Block.index_23")),1)])]),_:1},8,["label"]),t(o,{label:"User-Agent",span:2},{default:a(()=>[t(p,{class:"w-570px"},{default:a(()=>[c(n(e(i)(e(l).user_agent)),1)]),_:1})]),_:1}),t(o,{label:s.$t("Waf.Block.index_69"),span:2},{default:a(()=>[_("div",J,[t(p,{class:"w-480px"},{default:a(()=>[c(n(e(i)(e(d)[0])),1)]),_:1})])]),_:1},8,["label"]),t(o,{label:s.$t("Waf.Block.index_70"),span:2},{default:a(()=>[t(p,{class:"w-570px"},{default:a(()=>[c(n(e(i)(e(v))),1)]),_:1})]),_:1},8,["label"]),t(o,{label:s.$t("Waf.Block.index_71"),span:2},{default:a(()=>[t(p,{class:"w-570px"},{default:a(()=>[c(n(e(i)(e(k))),1)]),_:1})]),_:1},8,["label"])]),_:1}),_("div",M,[b[0]||(b[0]=_("div",{class:"text-14px font-bold"},"HTTP",-1)),_("div",O,[t(w,{class:"h-260px",lang:"http",loading:e(B),content:e(f)},null,8,["loading","content"])])])])}}}),ae=y(Z,[["__scopeId","data-v-f3ca0370"]]);export{ae as default}; diff --git a/BTPanel/static/vite/js/details-CXwSNkYY.js b/BTPanel/static/vite/js/details-CXwSNkYY.js new file mode 100644 index 00000000..1fd2a85c --- /dev/null +++ b/BTPanel/static/vite/js/details-CXwSNkYY.js @@ -0,0 +1 @@ +import{_ as z}from"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import{ca as r,cT as $,n as O}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as T}from"./useTableColumns-BpMo4f8r.js?v=1774508183068";import{u as A}from"./useTableData-D5IECpFr.js?v=1774508183068";import{g as B}from"./index-CqEI5Y0H.js?v=1774508183068";import{s as D}from"./tools-BySNFwYS.js?v=1774508183068";import{_ as R}from"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import{k as g,t as v,R as y,aq as L,$ as C,Z as w,a0 as h,S as d,_ as x}from"./vue-core-BlDeWrD6.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";import"./index-Dd5dC2sI.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";import"./useLoading-BRu-BHcC.js?v=1774508183068";import"./rules-O4jjPwN3.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-C6hImLDm.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CXJGqQPN.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-ClVUo_Yi.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import"./index-BonLJ3_f.js?v=1774508183068";const I={class:"h-full"},N=g({__name:"details-count",props:{data:{default:()=>({})}},setup(u){const i=v(u,"data"),{t:o}=y(),c=r("--color-bg-2"),f=r("--chart-tooltip-bg-color"),m=r("--color-text-1"),e=r("--color-text-2"),n=r("--color-text-3"),p=r("--color-border"),_=L({backgroundColor:c.value,title:a(),tooltip:{trigger:"item",confine:!0,backgroundColor:f.value,borderColor:"transparent",textStyle:{color:"#c7c7c7"},formatter(l){const t=l;return"".concat(t.marker," ").concat(t.name,": ").concat(t.value," (").concat(t.percent,"%)")}},series:s()}),b=["#6ec71e","#4885FF","#fc8b40","#818af8","#31c9d7","#f35e7a","#ab7aee","#14d68b","#cde5ff"];function a(l=0){return{text:o("Waf.Report.index_17"),textStyle:{color:m.value,fontSize:17},subtext:"".concat(l),subtextStyle:{color:e.value,fontSize:15},itemGap:20,left:"center",top:"42%"}}function s(l=[]){return[{type:"pie",data:l,radius:["50%","60%"],center:["50%","50%"],clockwise:!0,avoidLabelOverlap:!0,label:{show:!0,position:"outside",color:n.value,lineHeight:18,formatter(t){return t.name!==""?t.percent===0?"":o("Waf.Overview.index_33",[t.name,t.value,t.percent]):""}},labelLine:{length:30,length2:30,lineStyle:{width:1,color:p.value}},itemStyle:{labelLine:{length:30,length2:30,lineStyle:{width:1,color:p.value}},color(t){return b[t.dataIndex]}},emphasis:{scaleSize:15}}]}return(()=>{let l=0;const t=[];Object.entries(i.value).forEach(([W,k])=>{l+=k,t.push({name:W,value:k})}),_.title=a(l),_.series=s(t)})(),(l,t)=>(C(),w("div",I,[h(R,{type:"pie",height:"100%",option:d(_)},null,8,["option"])]))}}),V={class:"h-full"},E=g({__name:"details-uri",props:{data:{default:()=>[]}},setup(u){const i=v(u,"data"),{t:o}=y(),c=r("--color-bg-2"),f=r("--chart-tooltip-bg-color"),m=r("--color-text-1"),e=r("--color-text-2"),n=r("--color-border"),p=L({backgroundColor:c.value,tooltip:{trigger:"item",axisPointer:{type:"shadow",label:{color:"#fff",fontSize:"26"}},backgroundColor:f.value,borderColor:"transparent",textStyle:{color:"#c7c7c7"},formatter(a){const s=a;return'
'.concat(s.marker," ").concat($(s.seriesName||""),"
\n
").concat(o("Waf.Report.index_16",[s.data]),"
")}},legend:_(),grid:{top:60,left:60,right:0,bottom:50},xAxis:[{type:"category",axisLabel:{color:m.value,fontSize:14,fontWeight:"bold"},data:[o("Waf.Report.index_15")]}],yAxis:[{type:"value",axisLine:{show:!1},axisTick:{show:!1},splitNumber:4,axisLabel:{color:e.value},splitLine:{lineStyle:{type:"dashed",color:n.value}}}],color:["#4fa8f9","#6ec71e","#f56e6a","#fc8b40","#818af8","#31c9d7","#f35e7a","#ab7aee","#14d68b","#cde5ff"],series:b()});function _(){return{top:"0%",data:i.value.slice(0,4).map(a=>a.name),textStyle:{fontSize:12,color:e.value},icon:"rect"}}function b(){return i.value.slice(0,4).map(a=>({name:a.name,type:"bar",label:{show:!0,position:"top"},barMaxWidth:60,data:[a.value]}))}return(a,s)=>(C(),w("div",V,[h(R,{type:"bar",height:"100%",option:d(p)},null,8,["option"])]))}}),F={class:"p-20px"},H={class:"flex h-280px mb-16px"},M={class:"w-410px"},P={class:"w-500px"},ft=g({__name:"details",props:{row:{}},setup(u){const i=v(u,"row"),{t:o}=y(),{table:c,columns:f}=A([{key:"time_localtime",title:o("Waf.Report.index_13"),width:140},{key:"server_name",title:o("Waf.Report.index_14"),ellipsis:{tooltip:!0}},{key:"ip_country",title:o("Waf.Report.index_8"),render:e=>e.ip_country||"--"},{key:"URI",title:"URI",ellipsis:{tooltip:!0},render:e=>$(e.uri)||"--"},{key:"filter_rule",title:o("Waf.Report.index_34"),width:140},T({width:80,options:e=>[{label:o("Public.Btn.Details"),onClick:async()=>{const{message:n}=await B({id:e.id});O(n)&&n.length>0&&D(n[0])}}]})]);c.data=i.value.data.list;const m=i.value.data.uri.map(e=>({name:e[0],value:e[1]}));return(e,n)=>{const p=z;return C(),w("div",F,[x("div",H,[x("div",M,[h(N,{data:d(i).data.type},null,8,["data"])]),x("div",P,[h(E,{data:d(m)},null,8,["data"])])]),h(p,{"max-height":300,data:d(c).data,columns:d(f)},null,8,["data","columns"])])}}});export{ft as default}; diff --git a/BTPanel/static/vite/js/details-CmE0kkEO.js b/BTPanel/static/vite/js/details-CmE0kkEO.js new file mode 100644 index 00000000..cf714d5f --- /dev/null +++ b/BTPanel/static/vite/js/details-CmE0kkEO.js @@ -0,0 +1 @@ +import{_ as $}from"./index-BHvoWYS4.js?v=1774508183068";import{cT as i,c as y}from"./index-LQ-JIYiv.js?v=1774508183068";import{a as j,b as T,h as C}from"./tools-BySNFwYS.js?v=1774508183068";import{u as H}from"./useLoading-BRu-BHcC.js?v=1774508183068";import{k as L,t as I,R as N,c as u,r as V,$ as P,Z as R,a0 as t,a9 as a,j as c,aa as n,S as e,_}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{ak as S,n as U,al as A}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./rules-O4jjPwN3.js?v=1774508183068";const D={class:"p-20px"},E={class:"flex justify-between"},M={class:"flex justify-between"},O={class:"mt-20px"},Z={class:"mt-10px"},q=L({__name:"details",props:{row:{}},setup(g){const l=I(g,"row"),{t:r}=N(),d=u(()=>l.value.incoming_value.indexOf('b"')>-1?l.value.incoming_value.substring(2,l.value.incoming_value.length-1).split(" >> "):l.value.incoming_value.split(" >> ")),v=u(()=>d.value[1]||r("Waf.Block.index_72")),k=u(()=>d.value[2]||r("Waf.Block.index_72")),x=()=>{j(l.value)},h=()=>{T(l.value,!1)},f=V(""),{loading:B,setLoading:m}=H();return(async()=>{try{m(!0);const{message:s}=await C({path:l.value.http_log});f.value=s.result}finally{m(!1)}})(),(s,b)=>{const o=S,p=U,W=A,w=$;return P(),R("div",D,[t(W,{column:2,bordered:!0,"label-placement":"left","label-style":{width:"160px"},"content-style":{fontWeight:"bold"}},{default:a(()=>[t(o,{label:s.$t("Waf.Block.index_66")},{default:a(()=>[c(n(e(i)(e(l).time_localtime)),1)]),_:1},8,["label"]),t(o,{label:s.$t("Waf.Block.index_67")},{default:a(()=>[_("a",{class:"bt-link",href:"javascript:;",onClick:x},n(e(i)(e(l).ip)),1)]),_:1},8,["label"]),t(o,{label:s.$t("Waf.Block.index_15")},{default:a(()=>[c(n(e(i)(e(l).type)),1)]),_:1},8,["label"]),t(o,{label:s.$t("Waf.Block.index_21")},{default:a(()=>[c(n(e(i)(e(l).filter_rule)),1)]),_:1},8,["label"]),t(o,{label:s.$t("Waf.Block.index_68"),span:2},{default:a(()=>[_("div",E,[t(p,{class:"w-480px"},{default:a(()=>[c(n(e(i)(e(l).uri)),1)]),_:1}),_("a",{class:"bt-link",href:"javascript:;",onClick:h},n(s.$t("Waf.Block.index_23")),1)])]),_:1},8,["label"]),t(o,{label:"User-Agent",span:2},{default:a(()=>[t(p,{class:"w-570px"},{default:a(()=>[c(n(e(i)(e(l).user_agent)),1)]),_:1})]),_:1}),t(o,{label:s.$t("Waf.Block.index_69"),span:2},{default:a(()=>[_("div",M,[t(p,{class:"w-480px"},{default:a(()=>[c(n(e(i)(e(d)[0])),1)]),_:1})])]),_:1},8,["label"]),t(o,{label:s.$t("Waf.Block.index_70"),span:2},{default:a(()=>[t(p,{class:"w-570px"},{default:a(()=>[c(n(e(i)(e(v))),1)]),_:1})]),_:1},8,["label"]),t(o,{label:s.$t("Waf.Block.index_71"),span:2},{default:a(()=>[t(p,{class:"w-570px"},{default:a(()=>[c(n(e(i)(e(k))),1)]),_:1})]),_:1},8,["label"])]),_:1}),_("div",O,[b[0]||(b[0]=_("div",{class:"text-14px font-bold"},"HTTP",-1)),_("div",Z,[t(w,{class:"h-260px",lang:"http",loading:e(B),content:e(f)},null,8,["loading","content"])])])])}}}),ae=y(q,[["__scopeId","data-v-f3ca0370"]]);export{ae as default}; diff --git a/BTPanel/static/vite/js/details-Q8VgXjhB.js b/BTPanel/static/vite/js/details-Q8VgXjhB.js deleted file mode 100644 index c6f0f27c..00000000 --- a/BTPanel/static/vite/js/details-Q8VgXjhB.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as z}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{c2 as r,cJ as $,n as O}from"./index-BTglIPU2.js?v=1773287522785";import{u as A}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{u as B}from"./useTableData-BmkIKQ_R.js?v=1773287522785";import{g as D}from"./index-CCGECshE.js?v=1773287522785";import{s as I}from"./tools-CMJvIbk2.js?v=1773287522785";import{_ as R}from"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import{k as g,t as v,R as y,ap as L,$ as C,Z as w,a0 as h,S as d,_ as x}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index-DIKmrNCq.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";import"./useLoading-CZ2gSAW7.js?v=1773287522785";import"./rules-pmZEUQ_o.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DgjjuUjT.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-B7YvCBmY.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-C5hb-Th7.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import"./index-CZps0rIN.js?v=1773287522785";const N={class:"h-full"},T=g({__name:"details-count",props:{data:{default:()=>({})}},setup(u){const i=v(u,"data"),{t:o}=y(),c=r("--color-bg-2"),f=r("--chart-tooltip-bg-color"),m=r("--color-text-1"),e=r("--color-text-2"),n=r("--color-text-3"),p=r("--color-border"),_=L({backgroundColor:c.value,title:a(),tooltip:{trigger:"item",confine:!0,backgroundColor:f.value,borderColor:"transparent",textStyle:{color:"#c7c7c7"},formatter(l){const t=l;return"".concat(t.marker," ").concat(t.name,": ").concat(t.value," (").concat(t.percent,"%)")}},series:s()}),b=["#6ec71e","#4885FF","#fc8b40","#818af8","#31c9d7","#f35e7a","#ab7aee","#14d68b","#cde5ff"];function a(l=0){return{text:o("Waf.Report.index_17"),textStyle:{color:m.value,fontSize:17},subtext:"".concat(l),subtextStyle:{color:e.value,fontSize:15},itemGap:20,left:"center",top:"42%"}}function s(l=[]){return[{type:"pie",data:l,radius:["50%","60%"],center:["50%","50%"],clockwise:!0,avoidLabelOverlap:!0,label:{show:!0,position:"outside",color:n.value,lineHeight:18,formatter(t){return t.name!==""?t.percent===0?"":o("Waf.Overview.index_33",[t.name,t.value,t.percent]):""}},labelLine:{length:30,length2:30,lineStyle:{width:1,color:p.value}},itemStyle:{labelLine:{length:30,length2:30,lineStyle:{width:1,color:p.value}},color(t){return b[t.dataIndex]}},emphasis:{scaleSize:15}}]}return(()=>{let l=0;const t=[];Object.entries(i.value).forEach(([W,k])=>{l+=k,t.push({name:W,value:k})}),_.title=a(l),_.series=s(t)})(),(l,t)=>(C(),w("div",N,[h(R,{type:"pie",height:"100%",option:d(_)},null,8,["option"])]))}}),V={class:"h-full"},E=g({__name:"details-uri",props:{data:{default:()=>[]}},setup(u){const i=v(u,"data"),{t:o}=y(),c=r("--color-bg-2"),f=r("--chart-tooltip-bg-color"),m=r("--color-text-1"),e=r("--color-text-2"),n=r("--color-border"),p=L({backgroundColor:c.value,tooltip:{trigger:"item",axisPointer:{type:"shadow",label:{color:"#fff",fontSize:"26"}},backgroundColor:f.value,borderColor:"transparent",textStyle:{color:"#c7c7c7"},formatter(a){const s=a;return'
'.concat(s.marker," ").concat($(s.seriesName||""),"
\n
").concat(o("Waf.Report.index_16",[s.data]),"
")}},legend:_(),grid:{top:60,left:60,right:0,bottom:50},xAxis:[{type:"category",axisLabel:{color:m.value,fontSize:14,fontWeight:"bold"},data:[o("Waf.Report.index_15")]}],yAxis:[{type:"value",axisLine:{show:!1},axisTick:{show:!1},splitNumber:4,axisLabel:{color:e.value},splitLine:{lineStyle:{type:"dashed",color:n.value}}}],color:["#4fa8f9","#6ec71e","#f56e6a","#fc8b40","#818af8","#31c9d7","#f35e7a","#ab7aee","#14d68b","#cde5ff"],series:b()});function _(){return{top:"0%",data:i.value.slice(0,4).map(a=>a.name),textStyle:{fontSize:12,color:e.value},icon:"rect"}}function b(){return i.value.slice(0,4).map(a=>({name:a.name,type:"bar",label:{show:!0,position:"top"},barMaxWidth:60,data:[a.value]}))}return(a,s)=>(C(),w("div",V,[h(R,{type:"bar",height:"100%",option:d(p)},null,8,["option"])]))}}),F={class:"p-20px"},H={class:"flex h-280px mb-16px"},M={class:"w-410px"},P={class:"w-500px"},ft=g({__name:"details",props:{row:{}},setup(u){const i=v(u,"row"),{t:o}=y(),{table:c,columns:f}=B([{key:"time_localtime",title:o("Waf.Report.index_13"),width:140},{key:"server_name",title:o("Waf.Report.index_14"),ellipsis:{tooltip:!0}},{key:"ip_country",title:o("Waf.Report.index_8"),render:e=>e.ip_country||"--"},{key:"URI",title:"URI",ellipsis:{tooltip:!0},render:e=>$(e.uri)||"--"},{key:"filter_rule",title:o("Waf.Report.index_34"),width:140},A({width:80,options:e=>[{label:o("Public.Btn.Details"),onClick:async()=>{const{message:n}=await D({id:e.id});O(n)&&n.length>0&&I(n[0])}}]})]);c.data=i.value.data.list;const m=i.value.data.uri.map(e=>({name:e[0],value:e[1]}));return(e,n)=>{const p=z;return C(),w("div",F,[x("div",H,[x("div",M,[h(T,{data:d(i).data.type},null,8,["data"])]),x("div",P,[h(E,{data:d(m)},null,8,["data"])])]),h(p,{"max-height":300,data:d(c).data,columns:d(f)},null,8,["data","columns"])])}}});export{ft as default}; diff --git a/BTPanel/static/vite/js/details-iQhxmYqQ.js b/BTPanel/static/vite/js/details-iQhxmYqQ.js deleted file mode 100644 index 1622c08a..00000000 --- a/BTPanel/static/vite/js/details-iQhxmYqQ.js +++ /dev/null @@ -1 +0,0 @@ -import{aV as D,w as M,hp as N,hq as j,i as F,ar as P,hr as R,hn as q,f as E,c as O}from"./index-BTglIPU2.js?v=1773287522785";import{al as W,B as X}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as Z,R as A,r as p,c as u,ab as G,$ as c,Z as d,_ as e,aa as a,F as b,P as y,L as J,S as n,a0 as r,X as K,a9 as i,au as Q,H as Y,j as g}from"./vue-core-DJjvd5ZC.js?v=1773287522785";const ee={class:"w-650px"},te={class:"card"},se={class:"mb-12px font-bold text-18px text-center"},ae={class:"min-h-172px text-13px"},ne={class:"card"},oe={class:"mb-10px text-16px text-center"},ie={class:"h-180px overflow-auto"},le={class:"date"},ce={class:"text"},de=["innerHTML"],re={class:"font-bold"},_e={class:"text-error"},pe=Z({__name:"details",emits:["close"],setup(ue,{emit:k}){const H=k,{t:m}=A(),_=p(!1),l=p(5),w=u(()=>l.value>0),B=u(()=>!_.value),v=p([]),x=p([]),{height:f}=D(),C=u(()=>f.value?"".concat(f.value*.9,"px"):"auto"),U=async()=>{const{message:t}=await j();F(t)&&(v.value=t.beta_ps.split("
").map(o=>o.trim()),x.value=t.list,$())},$=()=>{const t=setInterval(()=>{l.value--,l.value<=0&&clearInterval(t)},1e3)},I=()=>{H("close")},S=()=>{P({title:m("Home.Update.index_24"),content:m("Home.Update.index_25"),onConfirm:async()=>{await R(),await q(),E()}})};return U(),(t,o)=>{const z=G("i18n-t"),L=W,h=X,T=N;return c(),d("div",ee,[e("div",{class:"p-20px overflow-auto",style:Y({maxHeight:n(C)})},[e("div",te,[e("div",se,a(t.$t("Home.Update.index_20")),1),e("ul",ae,[(c(!0),d(b,null,y(n(v),(s,V)=>(c(),d("li",{key:s,class:J(["indent--15px pl-15px leading-20px",{"mt-8px":V!==0}])},a(s),3))),128))])]),e("div",ne,[e("div",oe,a(t.$t("Home.Update.index_21")),1),e("div",ie,[(c(!0),d(b,null,y(n(x),s=>(c(),d("div",{key:s.version,class:"version"},[o[1]||(o[1]=e("div",{class:"active"},null,-1)),e("div",le,a(n(M)(s.uptime,"yyyy-MM-dd")),1),e("div",ce,a(s.version),1),e("div",{class:"content",innerHTML:s.upmsg},null,8,de)]))),128))])]),e("div",null,[r(L,{checked:n(_),"onUpdate:checked":o[0]||(o[0]=s=>K(_)?_.value=s:null),disabled:n(w)},{default:i(()=>[r(z,{tag:"div",class:"text-14px",keypath:"Home.Update.index_23_1"},Q({title:i(()=>[e("span",re,a(t.$t("Home.Update.index_23_2")),1)]),_:2},[n(l)>0?{name:"wait",fn:i(()=>[e("span",_e,a(t.$t("Home.Update.index_23_3",[n(l)])),1)]),key:"0"}:void 0]),1024)]),_:1},8,["checked","disabled"])])],4),r(T,null,{default:i(()=>[r(h,{class:"cancel-btn",size:"small",color:"#cbcbcb",onClick:I},{default:i(()=>[g(a(t.$t("Public.Btn.Cancel")),1)]),_:1}),r(h,{type:"primary",size:"small",disabled:n(B),onClick:S},{default:i(()=>[g(a(t.$t("Home.Update.index_19")),1)]),_:1},8,["disabled"])]),_:1})])}}}),fe=O(pe,[["__scopeId","data-v-76523929"]]);export{fe as B}; diff --git a/BTPanel/static/vite/js/details-legacy-BW2OGNVB.js b/BTPanel/static/vite/js/details-legacy-BW2OGNVB.js new file mode 100644 index 00000000..4077c614 --- /dev/null +++ b/BTPanel/static/vite/js/details-legacy-BW2OGNVB.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./index-legacy-BJ937nXc.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068"],(function(e,t){"use strict";var a,i,l,n,o,d,s,p,c,r,x,v,u,m,b,h,g,f,_,y,k,H,U,$,w,C,j,z,I,M,B,L;return{setters:[e=>{a=e.aZ,i=e.x,l=e.hI,n=e.hJ,o=e.i,d=e.au,s=e.hK,p=e.hG,c=e.p,r=e.c},e=>{x=e.a},e=>{v=e.am,u=e.B},e=>{m=e.k,b=e.R,h=e.r,g=e.c,f=e.ab,_=e.$,y=e.Z,k=e._,H=e.aa,U=e.F,$=e.P,w=e.L,C=e.S,j=e.a0,z=e.X,I=e.a9,M=e.an,B=e.H,L=e.j}],execute:function(){var t=document.createElement("style");t.textContent='.card[data-v-898a7868]{background:var(--home-update-detail-bg);margin-bottom:20px;border-radius:4px;padding:20px 24px}.version[data-v-898a7868]{position:relative;margin-left:95px;padding:5px 0 0 2px;border-left:5px solid #e1e1e1}.version .active[data-v-898a7868]{position:absolute;left:-10px;top:21px;display:block;width:15px;height:15px;margin-bottom:10px;background-color:#20a53a;border-radius:50%}.version .active[data-v-898a7868]:after{content:"";position:relative;top:5px;left:5px;display:block;height:5px;width:5px;border-radius:50%;background-color:#fff}.version .date[data-v-898a7868]{position:absolute;left:-90px;top:13px;line-height:30px;font-size:13px;color:var(--home-update-detail-date)}.version .text[data-v-898a7868]{margin-top:7px;margin-left:5px;margin-bottom:5px;padding-left:15px;line-height:32px;border-bottom:1px solid #ececec;font-size:15px;color:#20a53a}.version .content[data-v-898a7868]{line-height:24px;font-size:12px;min-height:40px;padding-left:20px;color:#888}\n/*$vite$:1*/',document.head.appendChild(t);const T={class:"w-650px"},P={class:"card"},S={class:"mb-12px font-bold text-18px text-center"},Z={class:"min-h-172px text-13px"},E={class:"card"},F={class:"mb-10px text-16px text-center"},G={class:"h-180px overflow-auto"},J={class:"date"},K={class:"text"},R=["innerHTML"],X={class:"font-bold"},q={class:"text-error"};e("B",r(m({__name:"details",emits:["close"],setup(e,{emit:t}){const r=t,{t:m}=b(),A=h(!1),D=h(5),N=g((()=>D.value>0)),O=g((()=>!A.value)),Q=h([]),V=h([]),{height:W}=a(),Y=g((()=>W.value?.9*W.value+"px":"auto")),ee=()=>{const e=setInterval((()=>{D.value--,D.value<=0&&clearInterval(e)}),1e3)},te=()=>{r("close")},ae=()=>{d({title:m("Home.Update.index_24"),content:m("Home.Update.index_25"),onConfirm:async e=>(await s(),await p({toUpdate:!0,version:V.value[0].version}),e.hide(),setTimeout((()=>{r("close"),ie()}),1500),!1)})},ie=()=>{c({title:m("Home.Update.index_26"),component:x})};return(async()=>{const{message:e}=await n();o(e)&&(Q.value=e.beta_ps.split("
").map((e=>e.trim())),V.value=e.list,ee())})(),(e,t)=>{const a=f("i18n-t"),n=v,o=u,d=l;return _(),y("div",T,[k("div",{class:"p-20px overflow-auto",style:B({maxHeight:C(Y)})},[k("div",P,[k("div",S,H(e.$t("Home.Update.index_20")),1),k("ul",Z,[(_(!0),y(U,null,$(C(Q),((e,t)=>(_(),y("li",{key:e,class:w(["indent--15px pl-15px leading-20px",{"mt-8px":0!==t}])},H(e),3)))),128))])]),k("div",E,[k("div",F,H(e.$t("Home.Update.index_21")),1),k("div",G,[(_(!0),y(U,null,$(C(V),(e=>(_(),y("div",{key:e.version,class:"version"},[t[1]||(t[1]=k("div",{class:"active"},null,-1)),k("div",J,H(C(i)(e.uptime,"yyyy-MM-dd")),1),k("div",K,H(e.version),1),k("div",{class:"content",innerHTML:e.upmsg},null,8,R)])))),128))])]),k("div",null,[j(n,{checked:C(A),"onUpdate:checked":t[0]||(t[0]=e=>z(A)?A.value=e:null),disabled:C(N)},{default:I((()=>[j(a,{tag:"div",class:"text-14px",keypath:"Home.Update.index_23_1"},M({title:I((()=>[k("span",X,H(e.$t("Home.Update.index_23_2")),1)])),_:2},[C(D)>0?{name:"wait",fn:I((()=>[k("span",q,H(e.$t("Home.Update.index_23_3",[C(D)])),1)])),key:"0"}:void 0]),1024)])),_:1},8,["checked","disabled"])])],4),j(d,null,{default:I((()=>[j(o,{class:"cancel-btn",size:"small",color:"#cbcbcb",onClick:te},{default:I((()=>[L(H(e.$t("Public.Btn.Cancel")),1)])),_:1}),j(o,{type:"primary",size:"small",disabled:C(O),onClick:ae},{default:I((()=>[L(H(e.$t("Home.Update.index_19")),1)])),_:1},8,["disabled"])])),_:1})])}}}),[["__scopeId","data-v-898a7868"]]))}}})); diff --git a/BTPanel/static/vite/js/details-legacy-DDbJIWu5.js b/BTPanel/static/vite/js/details-legacy-DDbJIWu5.js deleted file mode 100644 index bc8d1adf..00000000 --- a/BTPanel/static/vite/js/details-legacy-DDbJIWu5.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./index-legacy-DCktzSDq.js?v=1773287522785","./tools-legacy-DOwS7RGc.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./rules-legacy-CRGREktS.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BWPgT9-g.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BQ2Kqzbl.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BBkGleHZ.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index-legacy-DEYz4m3y.js?v=1773287522785"],(function(e,l){"use strict";var t,s,n,i,u,a,c,_,r,y,d,p,g;return{setters:[e=>{t=e._},e=>{s=e.cJ,n=e.n},e=>{i=e.u},e=>{u=e.u},e=>{a=e.g},e=>{c=e.s},e=>{_=e.k,r=e.R,y=e.$,d=e.Z,p=e.a0,g=e.S},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const l={class:"p-20px"};e("default",_({__name:"details",props:{list:{}},setup(e){const _=e,{t:o}=r(),{table:j,columns:x}=u([{key:"time_localtime",title:o("Waf.Report.index_13"),width:140},{key:"ip",title:o("Waf.Report.index_7"),width:120},{key:"server_name",title:o("Waf.Report.index_14"),width:120},{key:"ip_country",title:o("Waf.Report.index_8"),width:140,render:e=>e.ip_country||"--"},{key:"uri",title:"URI",ellipsis:{tooltip:!0},render:e=>s(e.uri)},{key:"filter_rule",title:o("Waf.Report.index_1"),width:140},i({width:80,options:e=>[{label:o("Public.Btn.Details"),onClick:async()=>{const{message:l}=await a({id:e.id});n(l)&&l.length>0&&c(l[0])}}]})]);return j.data=_.list,(e,s)=>{const n=t;return y(),d("div",l,[p(n,{"max-height":550,data:g(j).data,columns:g(x)},null,8,["data","columns"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/details-legacy-DIYnSWt7.js b/BTPanel/static/vite/js/details-legacy-DIYnSWt7.js new file mode 100644 index 00000000..13fae59e --- /dev/null +++ b/BTPanel/static/vite/js/details-legacy-DIYnSWt7.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./index-legacy-CKe1VpCD.js?v=1774508183068","./tools-legacy-B1VLhbNY.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068","./useLoading-legacy-BYj3sJTe.js?v=1774508183068","./rules-legacy-DkFBn6b4.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-C46zd6Uw.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-DaMVKsAK.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-Cr0WR19L.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./index-legacy-C1Nd2_l-.js?v=1774508183068"],(function(e,l){"use strict";var t,s,n,i,u,a,c,_,r,y,d,p,g;return{setters:[e=>{t=e._},e=>{s=e.cT,n=e.n},e=>{i=e.u},e=>{u=e.u},e=>{a=e.g},e=>{c=e.s},e=>{_=e.k,r=e.R,y=e.$,d=e.Z,p=e.a0,g=e.S},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const l={class:"p-20px"};e("default",_({__name:"details",props:{list:{}},setup(e){const _=e,{t:o}=r(),{table:j,columns:x}=u([{key:"time_localtime",title:o("Waf.Report.index_13"),width:140},{key:"ip",title:o("Waf.Report.index_7"),width:120},{key:"server_name",title:o("Waf.Report.index_14"),width:120},{key:"ip_country",title:o("Waf.Report.index_8"),width:140,render:e=>e.ip_country||"--"},{key:"uri",title:"URI",ellipsis:{tooltip:!0},render:e=>s(e.uri)},{key:"filter_rule",title:o("Waf.Report.index_1"),width:140},i({width:80,options:e=>[{label:o("Public.Btn.Details"),onClick:async()=>{const{message:l}=await a({id:e.id});n(l)&&l.length>0&&c(l[0])}}]})]);return j.data=_.list,(e,s)=>{const n=t;return y(),d("div",l,[p(n,{"max-height":550,data:g(j).data,columns:g(x)},null,8,["data","columns"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/details-legacy-DUnGjdb9.js b/BTPanel/static/vite/js/details-legacy-DUnGjdb9.js deleted file mode 100644 index 7186e169..00000000 --- a/BTPanel/static/vite/js/details-legacy-DUnGjdb9.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-C_9lLSB4.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./tools-legacy-DOwS7RGc.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./rules-legacy-CRGREktS.js?v=1773287522785"],(function(e,l){"use strict";var a,t,n,s,i,c,d,o,u,f,_,r,p,v,x,b,g,h,m,y,k,j,w;return{setters:[e=>{a=e._},e=>{t=e.cJ,n=e.c},e=>{s=e.a,i=e.b,c=e.h},e=>{d=e.u},e=>{o=e.k,u=e.t,f=e.R,_=e.c,r=e.r,p=e.$,v=e.Z,x=e.a0,b=e.a9,g=e.j,h=e.aa,m=e.S,y=e._},e=>{k=e.aj,j=e.n,w=e.ak},null,null],execute:function(){var l=document.createElement("style");l.textContent=".bt-code[data-v-f3ca0370]{font-size:15px;border-radius:4px;overflow:hidden}.bt-code[data-v-f3ca0370] .hljs{min-height:258px}.title[data-v-f3ca0370]{width:10%}.content[data-v-f3ca0370]{font-weight:700;width:40%}\n/*$vite$:1*/",document.head.appendChild(l);const W={class:"p-20px"},$={class:"flex justify-between"},B={class:"flex justify-between"},C={class:"mt-20px"},L={class:"mt-10px"};e("default",n(o({__name:"details",props:{row:{}},setup(e){const l=u(e,"row"),{t:n}=f(),o=_((()=>l.value.incoming_value.indexOf('b"')>-1?l.value.incoming_value.substring(2,l.value.incoming_value.length-1).split(" >> "):l.value.incoming_value.split(" >> "))),S=_((()=>o.value[1]||n("Waf.Block.index_72"))),T=_((()=>o.value[2]||n("Waf.Block.index_72"))),z=()=>{s(l.value)},A=()=>{i(l.value,!1)},E=r(""),{loading:H,setLoading:I}=d();return(async()=>{try{I(!0);const{message:e}=await c({path:l.value.http_log});E.value=e.result}finally{I(!1)}})(),(e,n)=>{const s=k,i=j,c=w,d=a;return p(),v("div",W,[x(c,{column:2,bordered:!0,"label-placement":"left","label-style":{width:"160px"},"content-style":{fontWeight:"bold"}},{default:b((()=>[x(s,{label:e.$t("Waf.Block.index_66")},{default:b((()=>[g(h(m(t)(m(l).time_localtime)),1)])),_:1},8,["label"]),x(s,{label:e.$t("Waf.Block.index_67")},{default:b((()=>[y("a",{class:"bt-link",href:"javascript:;",onClick:z},h(m(t)(m(l).ip)),1)])),_:1},8,["label"]),x(s,{label:e.$t("Waf.Block.index_15")},{default:b((()=>[g(h(m(t)(m(l).type)),1)])),_:1},8,["label"]),x(s,{label:e.$t("Waf.Block.index_21")},{default:b((()=>[g(h(m(t)(m(l).filter_rule)),1)])),_:1},8,["label"]),x(s,{label:e.$t("Waf.Block.index_68"),span:2},{default:b((()=>[y("div",$,[x(i,{class:"w-480px"},{default:b((()=>[g(h(m(t)(m(l).uri)),1)])),_:1}),y("a",{class:"bt-link",href:"javascript:;",onClick:A},h(e.$t("Waf.Block.index_23")),1)])])),_:1},8,["label"]),x(s,{label:"User-Agent",span:2},{default:b((()=>[x(i,{class:"w-570px"},{default:b((()=>[g(h(m(t)(m(l).user_agent)),1)])),_:1})])),_:1}),x(s,{label:e.$t("Waf.Block.index_69"),span:2},{default:b((()=>[y("div",B,[x(i,{class:"w-480px"},{default:b((()=>[g(h(m(t)(m(o)[0])),1)])),_:1})])])),_:1},8,["label"]),x(s,{label:e.$t("Waf.Block.index_70"),span:2},{default:b((()=>[x(i,{class:"w-570px"},{default:b((()=>[g(h(m(t)(m(S))),1)])),_:1})])),_:1},8,["label"]),x(s,{label:e.$t("Waf.Block.index_71"),span:2},{default:b((()=>[x(i,{class:"w-570px"},{default:b((()=>[g(h(m(t)(m(T))),1)])),_:1})])),_:1},8,["label"])])),_:1}),y("div",C,[n[0]||(n[0]=y("div",{class:"text-14px font-bold"},"HTTP",-1)),y("div",L,[x(d,{class:"h-260px",lang:"http",loading:m(H),content:m(E)},null,8,["loading","content"])])])])}}}),[["__scopeId","data-v-f3ca0370"]]))}}})); diff --git a/BTPanel/static/vite/js/details-legacy-DkQLzle_.js b/BTPanel/static/vite/js/details-legacy-DkQLzle_.js deleted file mode 100644 index c95c7d25..00000000 --- a/BTPanel/static/vite/js/details-legacy-DkQLzle_.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785"],(function(e,t){"use strict";var a,i,l,n,d,o,s,p,c,r,x,v,u,m,b,h,g,f,_,y,k,H,w,U,$,C,z,j,M,B,I;return{setters:[e=>{a=e.aV,i=e.w,l=e.hp,n=e.hq,d=e.i,o=e.ar,s=e.hr,p=e.hn,c=e.f,r=e.c},e=>{x=e.al,v=e.B},e=>{u=e.k,m=e.R,b=e.r,h=e.c,g=e.ab,f=e.$,_=e.Z,y=e._,k=e.aa,H=e.F,w=e.P,U=e.L,$=e.S,C=e.a0,z=e.X,j=e.a9,M=e.au,B=e.H,I=e.j}],execute:function(){var t=document.createElement("style");t.textContent='.card[data-v-76523929]{background:var(--home-update-detail-bg);margin-bottom:20px;border-radius:4px;padding:20px 24px}.version[data-v-76523929]{position:relative;margin-left:95px;padding:5px 0 0 2px;border-left:5px solid #e1e1e1}.version .active[data-v-76523929]{position:absolute;left:-10px;top:21px;display:block;width:15px;height:15px;margin-bottom:10px;background-color:#20a53a;border-radius:50%}.version .active[data-v-76523929]:after{content:"";position:relative;top:5px;left:5px;display:block;height:5px;width:5px;border-radius:50%;background-color:#fff}.version .date[data-v-76523929]{position:absolute;left:-90px;top:13px;line-height:30px;font-size:13px;color:var(--home-update-detail-date)}.version .text[data-v-76523929]{margin-top:7px;margin-left:5px;margin-bottom:5px;padding-left:15px;line-height:32px;border-bottom:1px solid #ececec;font-size:15px;color:#20a53a}.version .content[data-v-76523929]{line-height:24px;font-size:12px;min-height:40px;padding-left:20px;color:#888}\n/*$vite$:1*/',document.head.appendChild(t);const L={class:"w-650px"},P={class:"card"},S={class:"mb-12px font-bold text-18px text-center"},T={class:"min-h-172px text-13px"},q={class:"card"},E={class:"mb-10px text-16px text-center"},F={class:"h-180px overflow-auto"},R={class:"date"},V={class:"text"},X=["innerHTML"],Z={class:"font-bold"},A={class:"text-error"};e("B",r(u({__name:"details",emits:["close"],setup(e,{emit:t}){const r=t,{t:u}=m(),D=b(!1),G=b(5),J=h((()=>G.value>0)),K=h((()=>!D.value)),N=b([]),O=b([]),{height:Q}=a(),W=h((()=>Q.value?.9*Q.value+"px":"auto")),Y=()=>{const e=setInterval((()=>{G.value--,G.value<=0&&clearInterval(e)}),1e3)},ee=()=>{r("close")},te=()=>{o({title:u("Home.Update.index_24"),content:u("Home.Update.index_25"),onConfirm:async()=>{await s(),await p(),c()}})};return(async()=>{const{message:e}=await n();d(e)&&(N.value=e.beta_ps.split("
").map((e=>e.trim())),O.value=e.list,Y())})(),(e,t)=>{const a=g("i18n-t"),n=x,d=v,o=l;return f(),_("div",L,[y("div",{class:"p-20px overflow-auto",style:B({maxHeight:$(W)})},[y("div",P,[y("div",S,k(e.$t("Home.Update.index_20")),1),y("ul",T,[(f(!0),_(H,null,w($(N),((e,t)=>(f(),_("li",{key:e,class:U(["indent--15px pl-15px leading-20px",{"mt-8px":0!==t}])},k(e),3)))),128))])]),y("div",q,[y("div",E,k(e.$t("Home.Update.index_21")),1),y("div",F,[(f(!0),_(H,null,w($(O),(e=>(f(),_("div",{key:e.version,class:"version"},[t[1]||(t[1]=y("div",{class:"active"},null,-1)),y("div",R,k($(i)(e.uptime,"yyyy-MM-dd")),1),y("div",V,k(e.version),1),y("div",{class:"content",innerHTML:e.upmsg},null,8,X)])))),128))])]),y("div",null,[C(n,{checked:$(D),"onUpdate:checked":t[0]||(t[0]=e=>z(D)?D.value=e:null),disabled:$(J)},{default:j((()=>[C(a,{tag:"div",class:"text-14px",keypath:"Home.Update.index_23_1"},M({title:j((()=>[y("span",Z,k(e.$t("Home.Update.index_23_2")),1)])),_:2},[$(G)>0?{name:"wait",fn:j((()=>[y("span",A,k(e.$t("Home.Update.index_23_3",[$(G)])),1)])),key:"0"}:void 0]),1024)])),_:1},8,["checked","disabled"])])],4),C(o,null,{default:j((()=>[C(d,{class:"cancel-btn",size:"small",color:"#cbcbcb",onClick:ee},{default:j((()=>[I(k(e.$t("Public.Btn.Cancel")),1)])),_:1}),C(d,{type:"primary",size:"small",disabled:$(K),onClick:te},{default:j((()=>[I(k(e.$t("Home.Update.index_19")),1)])),_:1},8,["disabled"])])),_:1})])}}}),[["__scopeId","data-v-76523929"]]))}}})); diff --git a/BTPanel/static/vite/js/details-legacy-KogXl548.js b/BTPanel/static/vite/js/details-legacy-KogXl548.js new file mode 100644 index 00000000..45ed2e60 --- /dev/null +++ b/BTPanel/static/vite/js/details-legacy-KogXl548.js @@ -0,0 +1 @@ +System.register(["./index-legacy-D2uA-bs9.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./tools-legacy-B1VLhbNY.js?v=1774508183068","./useLoading-legacy-BYj3sJTe.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./rules-legacy-DkFBn6b4.js?v=1774508183068"],(function(e,l){"use strict";var a,t,n,s,c,i,d,o,u,f,_,r,p,v,x,b,g,h,m,y,k,j,w;return{setters:[e=>{a=e._},e=>{t=e.cT,n=e.c},e=>{s=e.a,c=e.b,i=e.h},e=>{d=e.u},e=>{o=e.k,u=e.t,f=e.R,_=e.c,r=e.r,p=e.$,v=e.Z,x=e.a0,b=e.a9,g=e.j,h=e.aa,m=e.S,y=e._},e=>{k=e.ak,j=e.n,w=e.al},null,null],execute:function(){var l=document.createElement("style");l.textContent=".bt-code[data-v-f3ca0370]{font-size:15px;border-radius:4px;overflow:hidden}.bt-code[data-v-f3ca0370] .hljs{min-height:258px}.title[data-v-f3ca0370]{width:10%}.content[data-v-f3ca0370]{font-weight:700;width:40%}\n/*$vite$:1*/",document.head.appendChild(l);const W={class:"p-20px"},$={class:"flex justify-between"},B={class:"flex justify-between"},C={class:"mt-20px"},T={class:"mt-10px"};e("default",n(o({__name:"details",props:{row:{}},setup(e){const l=u(e,"row"),{t:n}=f(),o=_((()=>l.value.incoming_value.indexOf('b"')>-1?l.value.incoming_value.substring(2,l.value.incoming_value.length-1).split(" >> "):l.value.incoming_value.split(" >> "))),L=_((()=>o.value[1]||n("Waf.Block.index_72"))),S=_((()=>o.value[2]||n("Waf.Block.index_72"))),z=()=>{s(l.value)},A=()=>{c(l.value,!1)},E=r(""),{loading:H,setLoading:I}=d();return(async()=>{try{I(!0);const{message:e}=await i({path:l.value.http_log});E.value=e.result}finally{I(!1)}})(),(e,n)=>{const s=k,c=j,i=w,d=a;return p(),v("div",W,[x(i,{column:2,bordered:!0,"label-placement":"left","label-style":{width:"160px"},"content-style":{fontWeight:"bold"}},{default:b((()=>[x(s,{label:e.$t("Waf.Block.index_66")},{default:b((()=>[g(h(m(t)(m(l).time_localtime)),1)])),_:1},8,["label"]),x(s,{label:e.$t("Waf.Block.index_67")},{default:b((()=>[y("a",{class:"bt-link",href:"javascript:;",onClick:z},h(m(t)(m(l).ip)),1)])),_:1},8,["label"]),x(s,{label:e.$t("Waf.Block.index_15")},{default:b((()=>[g(h(m(t)(m(l).type)),1)])),_:1},8,["label"]),x(s,{label:e.$t("Waf.Block.index_21")},{default:b((()=>[g(h(m(t)(m(l).filter_rule)),1)])),_:1},8,["label"]),x(s,{label:e.$t("Waf.Block.index_68"),span:2},{default:b((()=>[y("div",$,[x(c,{class:"w-480px"},{default:b((()=>[g(h(m(t)(m(l).uri)),1)])),_:1}),y("a",{class:"bt-link",href:"javascript:;",onClick:A},h(e.$t("Waf.Block.index_23")),1)])])),_:1},8,["label"]),x(s,{label:"User-Agent",span:2},{default:b((()=>[x(c,{class:"w-570px"},{default:b((()=>[g(h(m(t)(m(l).user_agent)),1)])),_:1})])),_:1}),x(s,{label:e.$t("Waf.Block.index_69"),span:2},{default:b((()=>[y("div",B,[x(c,{class:"w-480px"},{default:b((()=>[g(h(m(t)(m(o)[0])),1)])),_:1})])])),_:1},8,["label"]),x(s,{label:e.$t("Waf.Block.index_70"),span:2},{default:b((()=>[x(c,{class:"w-570px"},{default:b((()=>[g(h(m(t)(m(L))),1)])),_:1})])),_:1},8,["label"]),x(s,{label:e.$t("Waf.Block.index_71"),span:2},{default:b((()=>[x(c,{class:"w-570px"},{default:b((()=>[g(h(m(t)(m(S))),1)])),_:1})])),_:1},8,["label"])])),_:1}),y("div",C,[n[0]||(n[0]=y("div",{class:"text-14px font-bold"},"HTTP",-1)),y("div",T,[x(d,{class:"h-260px",lang:"http",loading:m(H),content:m(E)},null,8,["loading","content"])])])])}}}),[["__scopeId","data-v-f3ca0370"]]))}}})); diff --git a/BTPanel/static/vite/js/details-legacy-bW2oUCfP.js b/BTPanel/static/vite/js/details-legacy-bW2oUCfP.js deleted file mode 100644 index 31cfebd3..00000000 --- a/BTPanel/static/vite/js/details-legacy-bW2oUCfP.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./index-legacy-DCktzSDq.js?v=1773287522785","./tools-legacy-DOwS7RGc.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index-legacy-DgZ0-E4f.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./rules-legacy-CRGREktS.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BWPgT9-g.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BQ2Kqzbl.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BBkGleHZ.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index-legacy-DEYz4m3y.js?v=1773287522785"],(function(e,t){"use strict";var l,a,o,i,r,n,s,c,u,d,p,y,g,_,v,x,f,b;return{setters:[e=>{l=e._},e=>{a=e.c2,o=e.cJ,i=e.n},e=>{r=e.u},e=>{n=e.u},e=>{s=e.g},e=>{c=e.s},e=>{u=e._},e=>{d=e.k,p=e.t,y=e.R,g=e.ap,_=e.$,v=e.Z,x=e.a0,f=e.S,b=e._},null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const t={class:"h-full"},m=d({__name:"details-count",props:{data:{default:()=>({})}},setup(e){const l=p(e,"data"),{t:o}=y(),i=a("--color-bg-2"),r=a("--chart-tooltip-bg-color"),n=a("--color-text-1"),s=a("--color-text-2"),c=a("--color-text-3"),d=a("--color-border"),b=g({backgroundColor:i.value,title:h(),tooltip:{trigger:"item",confine:!0,backgroundColor:r.value,borderColor:"transparent",textStyle:{color:"#c7c7c7"},formatter(e){const t=e;return`${t.marker} ${t.name}: ${t.value} (${t.percent}%)`}},series:j()}),m=["#6ec71e","#4885FF","#fc8b40","#818af8","#31c9d7","#f35e7a","#ab7aee","#14d68b","#cde5ff"];function h(e=0){return{text:o("Waf.Report.index_17"),textStyle:{color:n.value,fontSize:17},subtext:`${e}`,subtextStyle:{color:s.value,fontSize:15},itemGap:20,left:"center",top:"42%"}}function j(e=[]){return[{type:"pie",data:e,radius:["50%","60%"],center:["50%","50%"],clockwise:!0,avoidLabelOverlap:!0,label:{show:!0,position:"outside",color:c.value,lineHeight:18,formatter:e=>""!==e.name?0===e.percent?"":o("Waf.Overview.index_33",[e.name,e.value,e.percent]):""},labelLine:{length:30,length2:30,lineStyle:{width:1,color:d.value}},itemStyle:{labelLine:{length:30,length2:30,lineStyle:{width:1,color:d.value}},color:e=>m[e.dataIndex]},emphasis:{scaleSize:15}}]}return(()=>{let e=0;const t=[];Object.entries(l.value).forEach((([l,a])=>{e+=a,t.push({name:l,value:a})})),b.title=h(e),b.series=j(t)})(),(e,l)=>(_(),v("div",t,[x(u,{type:"pie",height:"100%",option:f(b)},null,8,["option"])]))}}),h={class:"h-full"},j=d({__name:"details-uri",props:{data:{default:()=>[]}},setup(e){const t=p(e,"data"),{t:l}=y(),i=a("--color-bg-2"),r=a("--chart-tooltip-bg-color"),n=a("--color-text-1"),s=a("--color-text-2"),c=a("--color-border"),d=g({backgroundColor:i.value,tooltip:{trigger:"item",axisPointer:{type:"shadow",label:{color:"#fff",fontSize:"26"}},backgroundColor:r.value,borderColor:"transparent",textStyle:{color:"#c7c7c7"},formatter(e){const t=e;return`
${t.marker} ${o(t.seriesName||"")}
\n\t\t\t
${l("Waf.Report.index_16",[t.data])}
`}},legend:{top:"0%",data:t.value.slice(0,4).map((e=>e.name)),textStyle:{fontSize:12,color:s.value},icon:"rect"},grid:{top:60,left:60,right:0,bottom:50},xAxis:[{type:"category",axisLabel:{color:n.value,fontSize:14,fontWeight:"bold"},data:[l("Waf.Report.index_15")]}],yAxis:[{type:"value",axisLine:{show:!1},axisTick:{show:!1},splitNumber:4,axisLabel:{color:s.value},splitLine:{lineStyle:{type:"dashed",color:c.value}}}],color:["#4fa8f9","#6ec71e","#f56e6a","#fc8b40","#818af8","#31c9d7","#f35e7a","#ab7aee","#14d68b","#cde5ff"],series:t.value.slice(0,4).map((e=>({name:e.name,type:"bar",label:{show:!0,position:"top"},barMaxWidth:60,data:[e.value]})))});return(e,t)=>(_(),v("div",h,[x(u,{type:"bar",height:"100%",option:f(d)},null,8,["option"])]))}}),w={class:"p-20px"},S={class:"flex h-280px mb-16px"},k={class:"w-410px"},R={class:"w-500px"};e("default",d({__name:"details",props:{row:{}},setup(e){const t=p(e,"row"),{t:a}=y(),{table:u,columns:d}=n([{key:"time_localtime",title:a("Waf.Report.index_13"),width:140},{key:"server_name",title:a("Waf.Report.index_14"),ellipsis:{tooltip:!0}},{key:"ip_country",title:a("Waf.Report.index_8"),render:e=>e.ip_country||"--"},{key:"URI",title:"URI",ellipsis:{tooltip:!0},render:e=>o(e.uri)||"--"},{key:"filter_rule",title:a("Waf.Report.index_34"),width:140},r({width:80,options:e=>[{label:a("Public.Btn.Details"),onClick:async()=>{const{message:t}=await s({id:e.id});i(t)&&t.length>0&&c(t[0])}}]})]);u.data=t.value.data.list;const g=t.value.data.uri.map((e=>({name:e[0],value:e[1]})));return(e,a)=>{const o=l;return _(),v("div",w,[b("div",S,[b("div",k,[x(m,{data:f(t).data.type},null,8,["data"])]),b("div",R,[x(j,{data:f(g)},null,8,["data"])])]),x(o,{"max-height":300,data:f(u).data,columns:f(d)},null,8,["data","columns"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/details-legacy-g0HLaH5m.js b/BTPanel/static/vite/js/details-legacy-g0HLaH5m.js new file mode 100644 index 00000000..4d4c79bc --- /dev/null +++ b/BTPanel/static/vite/js/details-legacy-g0HLaH5m.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./index-legacy-CKe1VpCD.js?v=1774508183068","./tools-legacy-B1VLhbNY.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./index-legacy-DOsTWPyk.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068","./useLoading-legacy-BYj3sJTe.js?v=1774508183068","./rules-legacy-DkFBn6b4.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-C46zd6Uw.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-DaMVKsAK.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-Cr0WR19L.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./index-legacy-C1Nd2_l-.js?v=1774508183068"],(function(e,t){"use strict";var l,a,o,i,r,n,s,c,u,d,p,g,y,_,v,x,f,b;return{setters:[e=>{l=e._},e=>{a=e.ca,o=e.cT,i=e.n},e=>{r=e.u},e=>{n=e.u},e=>{s=e.g},e=>{c=e.s},e=>{u=e._},e=>{d=e.k,p=e.t,g=e.R,y=e.aq,_=e.$,v=e.Z,x=e.a0,f=e.S,b=e._},null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const t={class:"h-full"},m=d({__name:"details-count",props:{data:{default:()=>({})}},setup(e){const l=p(e,"data"),{t:o}=g(),i=a("--color-bg-2"),r=a("--chart-tooltip-bg-color"),n=a("--color-text-1"),s=a("--color-text-2"),c=a("--color-text-3"),d=a("--color-border"),b=y({backgroundColor:i.value,title:h(),tooltip:{trigger:"item",confine:!0,backgroundColor:r.value,borderColor:"transparent",textStyle:{color:"#c7c7c7"},formatter(e){const t=e;return`${t.marker} ${t.name}: ${t.value} (${t.percent}%)`}},series:j()}),m=["#6ec71e","#4885FF","#fc8b40","#818af8","#31c9d7","#f35e7a","#ab7aee","#14d68b","#cde5ff"];function h(e=0){return{text:o("Waf.Report.index_17"),textStyle:{color:n.value,fontSize:17},subtext:`${e}`,subtextStyle:{color:s.value,fontSize:15},itemGap:20,left:"center",top:"42%"}}function j(e=[]){return[{type:"pie",data:e,radius:["50%","60%"],center:["50%","50%"],clockwise:!0,avoidLabelOverlap:!0,label:{show:!0,position:"outside",color:c.value,lineHeight:18,formatter:e=>""!==e.name?0===e.percent?"":o("Waf.Overview.index_33",[e.name,e.value,e.percent]):""},labelLine:{length:30,length2:30,lineStyle:{width:1,color:d.value}},itemStyle:{labelLine:{length:30,length2:30,lineStyle:{width:1,color:d.value}},color:e=>m[e.dataIndex]},emphasis:{scaleSize:15}}]}return(()=>{let e=0;const t=[];Object.entries(l.value).forEach((([l,a])=>{e+=a,t.push({name:l,value:a})})),b.title=h(e),b.series=j(t)})(),(e,l)=>(_(),v("div",t,[x(u,{type:"pie",height:"100%",option:f(b)},null,8,["option"])]))}}),h={class:"h-full"},j=d({__name:"details-uri",props:{data:{default:()=>[]}},setup(e){const t=p(e,"data"),{t:l}=g(),i=a("--color-bg-2"),r=a("--chart-tooltip-bg-color"),n=a("--color-text-1"),s=a("--color-text-2"),c=a("--color-border"),d=y({backgroundColor:i.value,tooltip:{trigger:"item",axisPointer:{type:"shadow",label:{color:"#fff",fontSize:"26"}},backgroundColor:r.value,borderColor:"transparent",textStyle:{color:"#c7c7c7"},formatter(e){const t=e;return`
${t.marker} ${o(t.seriesName||"")}
\n\t\t\t
${l("Waf.Report.index_16",[t.data])}
`}},legend:{top:"0%",data:t.value.slice(0,4).map((e=>e.name)),textStyle:{fontSize:12,color:s.value},icon:"rect"},grid:{top:60,left:60,right:0,bottom:50},xAxis:[{type:"category",axisLabel:{color:n.value,fontSize:14,fontWeight:"bold"},data:[l("Waf.Report.index_15")]}],yAxis:[{type:"value",axisLine:{show:!1},axisTick:{show:!1},splitNumber:4,axisLabel:{color:s.value},splitLine:{lineStyle:{type:"dashed",color:c.value}}}],color:["#4fa8f9","#6ec71e","#f56e6a","#fc8b40","#818af8","#31c9d7","#f35e7a","#ab7aee","#14d68b","#cde5ff"],series:t.value.slice(0,4).map((e=>({name:e.name,type:"bar",label:{show:!0,position:"top"},barMaxWidth:60,data:[e.value]})))});return(e,t)=>(_(),v("div",h,[x(u,{type:"bar",height:"100%",option:f(d)},null,8,["option"])]))}}),w={class:"p-20px"},S={class:"flex h-280px mb-16px"},k={class:"w-410px"},R={class:"w-500px"};e("default",d({__name:"details",props:{row:{}},setup(e){const t=p(e,"row"),{t:a}=g(),{table:u,columns:d}=n([{key:"time_localtime",title:a("Waf.Report.index_13"),width:140},{key:"server_name",title:a("Waf.Report.index_14"),ellipsis:{tooltip:!0}},{key:"ip_country",title:a("Waf.Report.index_8"),render:e=>e.ip_country||"--"},{key:"URI",title:"URI",ellipsis:{tooltip:!0},render:e=>o(e.uri)||"--"},{key:"filter_rule",title:a("Waf.Report.index_34"),width:140},r({width:80,options:e=>[{label:a("Public.Btn.Details"),onClick:async()=>{const{message:t}=await s({id:e.id});i(t)&&t.length>0&&c(t[0])}}]})]);u.data=t.value.data.list;const y=t.value.data.uri.map((e=>({name:e[0],value:e[1]})));return(e,a)=>{const o=l;return _(),v("div",w,[b("div",S,[b("div",k,[x(m,{data:f(t).data.type},null,8,["data"])]),b("div",R,[x(j,{data:f(y)},null,8,["data"])])]),x(o,{"max-height":300,data:f(u).data,columns:f(d)},null,8,["data","columns"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/differenceInDays-B9JKhJSP.js b/BTPanel/static/vite/js/differenceInDays-B9JKhJSP.js new file mode 100644 index 00000000..a6c6b0cf --- /dev/null +++ b/BTPanel/static/vite/js/differenceInDays-B9JKhJSP.js @@ -0,0 +1 @@ +import{bf as l,bg as i}from"./index-LQ-JIYiv.js?v=1774508183068";function f(e,s){const n=l(e),t=l(s),o=u(n,t),r=Math.abs(i(n,t));n.setDate(n.getDate()-o*r);const g=+(u(n,t)===-o),c=o*(r-g);return c===0?0:c}function u(e,s){const n=e.getFullYear()-s.getFullYear()||e.getMonth()-s.getMonth()||e.getDate()-s.getDate()||e.getHours()-s.getHours()||e.getMinutes()-s.getMinutes()||e.getSeconds()-s.getSeconds()||e.getMilliseconds()-s.getMilliseconds();return n<0?-1:n>0?1:n}export{f as d}; diff --git a/BTPanel/static/vite/js/differenceInDays-C0wPPdZ5.js b/BTPanel/static/vite/js/differenceInDays-C0wPPdZ5.js deleted file mode 100644 index 5e9429b6..00000000 --- a/BTPanel/static/vite/js/differenceInDays-C0wPPdZ5.js +++ /dev/null @@ -1 +0,0 @@ -import{bb as l,bc as g}from"./index-BTglIPU2.js?v=1773287522785";function f(e,s){const n=l(e),t=l(s),o=u(n,t),r=Math.abs(g(n,t));n.setDate(n.getDate()-o*r);const i=+(u(n,t)===-o),c=o*(r-i);return c===0?0:c}function u(e,s){const n=e.getFullYear()-s.getFullYear()||e.getMonth()-s.getMonth()||e.getDate()-s.getDate()||e.getHours()-s.getHours()||e.getMinutes()-s.getMinutes()||e.getSeconds()-s.getSeconds()||e.getMilliseconds()-s.getMilliseconds();return n<0?-1:n>0?1:n}export{f as d}; diff --git a/BTPanel/static/vite/js/differenceInDays-legacy-CZ1Mbq2p.js b/BTPanel/static/vite/js/differenceInDays-legacy-CZ1Mbq2p.js new file mode 100644 index 00000000..021c5acb --- /dev/null +++ b/BTPanel/static/vite/js/differenceInDays-legacy-CZ1Mbq2p.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068"],(function(e,t){"use strict";var n,s;return{setters:[e=>{n=e.bf,s=e.bg}],execute:function(){function t(e,t){const n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}e("d",(function(e,g){const r=n(e),u=n(g),o=t(r,u),c=Math.abs(s(r,u));r.setDate(r.getDate()-o*c);const i=Number(t(r,u)===-o),a=o*(c-i);return 0===a?0:a}))}}})); diff --git a/BTPanel/static/vite/js/differenceInDays-legacy-DJsdr8g1.js b/BTPanel/static/vite/js/differenceInDays-legacy-DJsdr8g1.js deleted file mode 100644 index 2c5e3841..00000000 --- a/BTPanel/static/vite/js/differenceInDays-legacy-DJsdr8g1.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785"],(function(e,t){"use strict";var n,s;return{setters:[e=>{n=e.bb,s=e.bc}],execute:function(){function t(e,t){const n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}e("d",(function(e,g){const r=n(e),u=n(g),c=t(r,u),o=Math.abs(s(r,u));r.setDate(r.getDate()-c*o);const i=Number(t(r,u)===-c),a=c*(o-i);return 0===a?0:a}))}}})); diff --git a/BTPanel/static/vite/js/disable-BF4bCzJx.js b/BTPanel/static/vite/js/disable-BF4bCzJx.js deleted file mode 100644 index 09d1e2e1..00000000 --- a/BTPanel/static/vite/js/disable-BF4bCzJx.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as v}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as S}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{k as C,R as w,r as B,$ as k,Z as $,_ as o,a0 as s,ai as R,X as W,S as n,a9 as f,j as A,aa as p}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{n as V,m as D}from"./index-BTglIPU2.js?v=1773287522785";import{u as K}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{u as L}from"./useTableData-BmkIKQ_R.js?v=1773287522785";import{w as P,x as T,y as j}from"./site-D0zX56Uh.js?v=1773287522785";import{b as E,B as I}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";const U={class:"p-20px"},X={class:"flex mb-16px"},Z={class:"flex-1 mr-16px"},c="disable_path",se=C({__name:"disable",props:{siteName:{default:""}},setup(g){const i=g,{t:l}=w(),a=B(""),d=async()=>{if(a.value.trim()===""){D.error(l("Waf.Site.Config.index_70"));return}await j({siteName:i.siteName,ruleName:c,ruleValue:a.value}),a.value="",m()},{table:r,columns:b,setLoading:_}=L([{key:"rule",title:l("Waf.Site.Config.index_66")},K({width:80,options:(e,t)=>[{label:l("Public.Btn.Del"),onClick:async()=>{await P({index:t,siteName:i.siteName,ruleName:c}),m()}}]})]),m=async()=>{try{_(!0);const{siteName:e}=i,{message:t}=await T({siteName:e,ruleName:c});V(t)&&(r.data=t.map(u=>({rule:u})))}finally{_(!1)}};return m(),(e,t)=>{const u=E,x=I,y=S,N=v;return k(),$("div",U,[o("div",X,[o("div",Z,[s(u,{value:n(a),"onUpdate:value":t[0]||(t[0]=h=>W(a)?a.value=h:null),placeholder:e.$t("Waf.Site.Config.index_67"),onKeyup:R(d,["enter"])},null,8,["value","placeholder"])]),s(x,{type:"primary",onClick:d},{default:f(()=>[A(p(e.$t("Public.Btn.Add")),1)]),_:1})]),s(y,{"max-height":368,loading:n(r).loading,data:n(r).data,columns:n(b)},null,8,["loading","data","columns"]),s(N,{class:"mt-16px"},{default:f(()=>[o("li",null,p(e.$t("Waf.Site.Config.index_68")),1),o("li",null,p(e.$t("Waf.Site.Config.index_69")),1)]),_:1})])}}});export{se as default}; diff --git a/BTPanel/static/vite/js/disable-Cti4LZ2B.js b/BTPanel/static/vite/js/disable-Cti4LZ2B.js new file mode 100644 index 00000000..5f3d316e --- /dev/null +++ b/BTPanel/static/vite/js/disable-Cti4LZ2B.js @@ -0,0 +1 @@ +import{_ as v}from"./index-Dd5dC2sI.js?v=1774508183068";import{_ as S}from"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import{k as C,R as w,r as B,$ as k,Z as $,_ as o,a0 as s,ai as R,X as W,S as n,a9 as f,j as A,aa as p}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{n as V,m as D}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as K}from"./useTableColumns-BpMo4f8r.js?v=1774508183068";import{u as L}from"./useTableData-D5IECpFr.js?v=1774508183068";import{w as P,x as T,y as j}from"./site-Bdong6eC.js?v=1774508183068";import{b as E,B as I}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";const U={class:"p-20px"},X={class:"flex mb-16px"},Z={class:"flex-1 mr-16px"},c="disable_path",se=C({__name:"disable",props:{siteName:{default:""}},setup(g){const i=g,{t:l}=w(),a=B(""),d=async()=>{if(a.value.trim()===""){D.error(l("Waf.Site.Config.index_70"));return}await j({siteName:i.siteName,ruleName:c,ruleValue:a.value}),a.value="",m()},{table:r,columns:b,setLoading:_}=L([{key:"rule",title:l("Waf.Site.Config.index_66")},K({width:80,options:(e,t)=>[{label:l("Public.Btn.Del"),onClick:async()=>{await P({index:t,siteName:i.siteName,ruleName:c}),m()}}]})]),m=async()=>{try{_(!0);const{siteName:e}=i,{message:t}=await T({siteName:e,ruleName:c});V(t)&&(r.data=t.map(u=>({rule:u})))}finally{_(!1)}};return m(),(e,t)=>{const u=E,x=I,y=S,N=v;return k(),$("div",U,[o("div",X,[o("div",Z,[s(u,{value:n(a),"onUpdate:value":t[0]||(t[0]=h=>W(a)?a.value=h:null),placeholder:e.$t("Waf.Site.Config.index_67"),onKeyup:R(d,["enter"])},null,8,["value","placeholder"])]),s(x,{type:"primary",onClick:d},{default:f(()=>[A(p(e.$t("Public.Btn.Add")),1)]),_:1})]),s(y,{"max-height":368,loading:n(r).loading,data:n(r).data,columns:n(b)},null,8,["loading","data","columns"]),s(N,{class:"mt-16px"},{default:f(()=>[o("li",null,p(e.$t("Waf.Site.Config.index_68")),1),o("li",null,p(e.$t("Waf.Site.Config.index_69")),1)]),_:1})])}}});export{se as default}; diff --git a/BTPanel/static/vite/js/disable-legacy-BOuuI9eS.js b/BTPanel/static/vite/js/disable-legacy-BOuuI9eS.js deleted file mode 100644 index 2392665a..00000000 --- a/BTPanel/static/vite/js/disable-legacy-BOuuI9eS.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./site-legacy-BrICTGUT.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785"],(function(e,a){"use strict";var l,t,i,n,s,u,c,d,r,o,g,y,m,_,p,x,f,j,v,b,N,C,h,S;return{setters:[e=>{l=e._},e=>{t=e._},e=>{i=e.k,n=e.R,s=e.r,u=e.$,c=e.Z,d=e._,r=e.a0,o=e.ai,g=e.X,y=e.S,m=e.a9,_=e.j,p=e.aa},e=>{x=e.n,f=e.m},e=>{j=e.u},e=>{v=e.u},e=>{b=e.w,N=e.x,C=e.y},e=>{h=e.b,S=e.B},null,null,null,null,null,null],execute:function(){const a={class:"p-20px"},w={class:"flex mb-16px"},W={class:"flex-1 mr-16px"},$="disable_path";e("default",i({__name:"disable",props:{siteName:{default:""}},setup(e){const i=e,{t:k}=n(),B=s(""),D=async()=>{""!==B.value.trim()?(await C({siteName:i.siteName,ruleName:$,ruleValue:B.value}),B.value="",K()):f.error(k("Waf.Site.Config.index_70"))},{table:P,columns:T,setLoading:A}=v([{key:"rule",title:k("Waf.Site.Config.index_66")},j({width:80,options:(e,a)=>[{label:k("Public.Btn.Del"),onClick:async()=>{await b({index:a,siteName:i.siteName,ruleName:$}),K()}}]})]),K=async()=>{try{A(!0);const{siteName:e}=i,{message:a}=await N({siteName:e,ruleName:$});x(a)&&(P.data=a.map((e=>({rule:e}))))}finally{A(!1)}};return K(),(e,i)=>{const n=h,s=S,x=t,f=l;return u(),c("div",a,[d("div",w,[d("div",W,[r(n,{value:y(B),"onUpdate:value":i[0]||(i[0]=e=>g(B)?B.value=e:null),placeholder:e.$t("Waf.Site.Config.index_67"),onKeyup:o(D,["enter"])},null,8,["value","placeholder"])]),r(s,{type:"primary",onClick:D},{default:m((()=>[_(p(e.$t("Public.Btn.Add")),1)])),_:1})]),r(x,{"max-height":368,loading:y(P).loading,data:y(P).data,columns:y(T)},null,8,["loading","data","columns"]),r(f,{class:"mt-16px"},{default:m((()=>[d("li",null,p(e.$t("Waf.Site.Config.index_68")),1),d("li",null,p(e.$t("Waf.Site.Config.index_69")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/disable-legacy-Cx1gMn3I.js b/BTPanel/static/vite/js/disable-legacy-Cx1gMn3I.js new file mode 100644 index 00000000..9db69340 --- /dev/null +++ b/BTPanel/static/vite/js/disable-legacy-Cx1gMn3I.js @@ -0,0 +1 @@ +System.register(["./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./site-legacy-sLqdJi7B.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068"],(function(e,a){"use strict";var l,t,i,n,s,u,c,d,r,o,g,y,m,_,p,x,f,v,j,b,N,C,h,S;return{setters:[e=>{l=e._},e=>{t=e._},e=>{i=e.k,n=e.R,s=e.r,u=e.$,c=e.Z,d=e._,r=e.a0,o=e.ai,g=e.X,y=e.S,m=e.a9,_=e.j,p=e.aa},e=>{x=e.n,f=e.m},e=>{v=e.u},e=>{j=e.u},e=>{b=e.w,N=e.x,C=e.y},e=>{h=e.b,S=e.B},null,null,null,null,null,null],execute:function(){const a={class:"p-20px"},w={class:"flex mb-16px"},W={class:"flex-1 mr-16px"},$="disable_path";e("default",i({__name:"disable",props:{siteName:{default:""}},setup(e){const i=e,{t:k}=n(),B=s(""),D=async()=>{""!==B.value.trim()?(await C({siteName:i.siteName,ruleName:$,ruleValue:B.value}),B.value="",K()):f.error(k("Waf.Site.Config.index_70"))},{table:P,columns:T,setLoading:A}=j([{key:"rule",title:k("Waf.Site.Config.index_66")},v({width:80,options:(e,a)=>[{label:k("Public.Btn.Del"),onClick:async()=>{await b({index:a,siteName:i.siteName,ruleName:$}),K()}}]})]),K=async()=>{try{A(!0);const{siteName:e}=i,{message:a}=await N({siteName:e,ruleName:$});x(a)&&(P.data=a.map((e=>({rule:e}))))}finally{A(!1)}};return K(),(e,i)=>{const n=h,s=S,x=t,f=l;return u(),c("div",a,[d("div",w,[d("div",W,[r(n,{value:y(B),"onUpdate:value":i[0]||(i[0]=e=>g(B)?B.value=e:null),placeholder:e.$t("Waf.Site.Config.index_67"),onKeyup:o(D,["enter"])},null,8,["value","placeholder"])]),r(s,{type:"primary",onClick:D},{default:m((()=>[_(p(e.$t("Public.Btn.Add")),1)])),_:1})]),r(x,{"max-height":368,loading:y(P).loading,data:y(P).data,columns:y(T)},null,8,["loading","data","columns"]),r(f,{class:"mt-16px"},{default:m((()=>[d("li",null,p(e.$t("Waf.Site.Config.index_68")),1),d("li",null,p(e.$t("Waf.Site.Config.index_69")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/disk-CUga-VD7.js b/BTPanel/static/vite/js/disk-CUga-VD7.js deleted file mode 100644 index 3c055aaf..00000000 --- a/BTPanel/static/vite/js/disk-CUga-VD7.js +++ /dev/null @@ -1 +0,0 @@ -import{a4 as D,R as y,r,e as h,a0 as a,j as k,F as A}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{C as f,a5 as v,Z as b,i as C,h as w,a6 as q}from"./index-BTglIPU2.js?v=1773287522785";import{u as x}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{u as F}from"./useLoading-CZ2gSAW7.js?v=1773287522785";import{u as M}from"./useRestart-m69F1Jd4.js?v=1773287522785";import{ab as S,u as T}from"./naive-ui--dJnpVcV.js?v=1773287522785";const B=D("diskStore",()=>{const{t:e}=y(),{loading:p,setLoading:c}=F(),l=r({device:"",mountpoint:"",fstype:"",total:0,used:0,free:0,used_percent:0,inodes_total:0,inodes_used:0,inodes_free:0,inodes_used_percent:0,is_group_quota:!1,is_user_quota:!1,is_default:!1,account_allocate:0,account_percent:0}),d=h({data:[]}),i=r(!1),m=r([{title:e("Account.Disk.disk_810348-0"),key:"mountpoint"},{title:e("Account.Disk.disk_810348-1"),key:"device"},{title:e("Account.Disk.disk_810348-9"),key:"is_group_quota",render:t=>t.is_user_quota?a("span",null,[e("Account.Disk.disk_810348-10")]):a("div",null,[a("span",{class:"text-warning"},[e("Account.Disk.disk_810348-11")]),k(" | "),a("span",{class:"text-primary cursor-pointer",onClick:()=>g(t.mountpoint)},[e("Account.Disk.disk_810348-12")])])},{title:e("Account.Disk.disk_810348-2"),key:"total",width:120,render:t=>f(t.total)},{title:e("Account.Disk.disk_810348-3"),key:"used",render:t=>{const s=Math.round(t.used_percent);return a(A,null,[a("div",{class:"mb-[.2rem]"},[s,k("% / "),f(t.used)]),a(S,{height:10,color:_(s),percentage:s,showIndicator:!1},null)])}},x({title:e("Public.Table.Action"),align:"right",width:200,options:t=>[{label:e("Account.Disk.disk_810348-4"),show:t.is_default&&!i.value,disabled:!0},{label:"重启服务",show:t.is_default&&i.value,type:"warning",onClick:async()=>M()},{label:e("Account.Disk.disk_810348-5"),show:!t.is_default,onClick:async()=>{w({title:e("Account.Disk.disk_810348-6"),content:e("Account.Disk.disk_810348-7",[t.mountpoint]),onConfirm:async()=>{await q({mountpoint:t.mountpoint}),i.value=!0,u()}})}}]})]),o=T();async function g(t){await v(t),u()}const _=t=>{const s=Math.round(t);return s>80?o.value.errorColor:s>60?o.value.warningColor:o.value.primaryColor},u=async()=>{try{c(!0);const t=await b();if(C(t)){d.data=t.message;const s=t.message.find(n=>n.is_default);if(s){const n={...s};n.account_percent=Math.round(n.account_allocate/n.total*100),l.value=n}}}finally{c(!1)}};return{loading:p,DefaultDisk:l,init:u,columns:m,table:d,diskColor:_}});export{B as u}; diff --git a/BTPanel/static/vite/js/disk-DI1_wcRe.js b/BTPanel/static/vite/js/disk-DI1_wcRe.js new file mode 100644 index 00000000..55e85cb4 --- /dev/null +++ b/BTPanel/static/vite/js/disk-DI1_wcRe.js @@ -0,0 +1 @@ +import{a4 as D,R as y,r,e as h,a0 as a,j as k,F as A}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{D as f,a8 as v,a1 as b,i as C,h as w,a9 as q}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as x}from"./useTableColumns-BpMo4f8r.js?v=1774508183068";import{u as F}from"./useLoading-BRu-BHcC.js?v=1774508183068";import{u as M}from"./useRestart-CqHFsgTm.js?v=1774508183068";import{ab as S,u as T}from"./naive-ui-BjvXgNtF.js?v=1774508183068";const B=D("diskStore",()=>{const{t:e}=y(),{loading:p,setLoading:c}=F(),l=r({device:"",mountpoint:"",fstype:"",total:0,used:0,free:0,used_percent:0,inodes_total:0,inodes_used:0,inodes_free:0,inodes_used_percent:0,is_group_quota:!1,is_user_quota:!1,is_default:!1,account_allocate:0,account_percent:0}),d=h({data:[]}),i=r(!1),m=r([{title:e("Account.Disk.disk_810348-0"),key:"mountpoint"},{title:e("Account.Disk.disk_810348-1"),key:"device"},{title:e("Account.Disk.disk_810348-9"),key:"is_group_quota",render:t=>t.is_user_quota?a("span",null,[e("Account.Disk.disk_810348-10")]):a("div",null,[a("span",{class:"text-warning"},[e("Account.Disk.disk_810348-11")]),k(" | "),a("span",{class:"text-primary cursor-pointer",onClick:()=>g(t.mountpoint)},[e("Account.Disk.disk_810348-12")])])},{title:e("Account.Disk.disk_810348-2"),key:"total",width:120,render:t=>f(t.total)},{title:e("Account.Disk.disk_810348-3"),key:"used",render:t=>{const s=Math.round(t.used_percent);return a(A,null,[a("div",{class:"mb-[.2rem]"},[s,k("% / "),f(t.used)]),a(S,{height:10,color:_(s),percentage:s,showIndicator:!1},null)])}},x({title:e("Public.Table.Action"),align:"right",width:200,options:t=>[{label:e("Account.Disk.disk_810348-4"),show:t.is_default&&!i.value,disabled:!0},{label:"重启服务",show:t.is_default&&i.value,type:"warning",onClick:async()=>M()},{label:e("Account.Disk.disk_810348-5"),show:!t.is_default,onClick:async()=>{w({title:e("Account.Disk.disk_810348-6"),content:e("Account.Disk.disk_810348-7",[t.mountpoint]),onConfirm:async()=>{await q({mountpoint:t.mountpoint}),i.value=!0,u()}})}}]})]),o=T();async function g(t){await v(t),u()}const _=t=>{const s=Math.round(t);return s>80?o.value.errorColor:s>60?o.value.warningColor:o.value.primaryColor},u=async()=>{try{c(!0);const t=await b();if(C(t)){d.data=t.message;const s=t.message.find(n=>n.is_default);if(s){const n={...s};n.account_percent=Math.round(n.account_allocate/n.total*100),l.value=n}}}finally{c(!1)}};return{loading:p,DefaultDisk:l,init:u,columns:m,table:d,diskColor:_}});export{B as u}; diff --git a/BTPanel/static/vite/js/disk-legacy-BvaQEDUv.js b/BTPanel/static/vite/js/disk-legacy-BvaQEDUv.js deleted file mode 100644 index 68806f2c..00000000 --- a/BTPanel/static/vite/js/disk-legacy-BvaQEDUv.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./useRestart-legacy-Cael4e2a.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(t,e){"use strict";var n,s,i,o,a,u,c,l,r,d,_,k,p,y,g,f,m,v;return{setters:[t=>{n=t.a4,s=t.R,i=t.r,o=t.e,a=t.a0,u=t.j,c=t.F},t=>{l=t.C,r=t.a5,d=t.Z,_=t.i,k=t.h,p=t.a6},t=>{y=t.u},t=>{g=t.u},t=>{f=t.u},t=>{m=t.ab,v=t.u}],execute:function(){t("u",n("diskStore",(()=>{const{t:t}=s(),{loading:e,setLoading:n}=g(),D=i({device:"",mountpoint:"",fstype:"",total:0,used:0,free:0,used_percent:0,inodes_total:0,inodes_used:0,inodes_free:0,inodes_used_percent:0,is_group_quota:!1,is_user_quota:!1,is_default:!1,account_allocate:0,account_percent:0}),h=o({data:[]}),A=i(!1),w=i([{title:t("Account.Disk.disk_810348-0"),key:"mountpoint"},{title:t("Account.Disk.disk_810348-1"),key:"device"},{title:t("Account.Disk.disk_810348-9"),key:"is_group_quota",render:e=>e.is_user_quota?a("span",null,[t("Account.Disk.disk_810348-10")]):a("div",null,[a("span",{class:"text-warning"},[t("Account.Disk.disk_810348-11")]),u(" | "),a("span",{class:"text-primary cursor-pointer",onClick:()=>async function(t){await r(t),j()}(e.mountpoint)},[t("Account.Disk.disk_810348-12")])])},{title:t("Account.Disk.disk_810348-2"),key:"total",width:120,render:t=>l(t.total)},{title:t("Account.Disk.disk_810348-3"),key:"used",render:t=>{const e=Math.round(t.used_percent);return a(c,null,[a("div",{class:"mb-[.2rem]"},[e,u("% / "),l(t.used)]),a(m,{height:10,color:C(e),percentage:e,showIndicator:!1},null)])}},y({title:t("Public.Table.Action"),align:"right",width:200,options:e=>[{label:t("Account.Disk.disk_810348-4"),show:e.is_default&&!A.value,disabled:!0},{label:"重启服务",show:e.is_default&&A.value,type:"warning",onClick:async()=>f()},{label:t("Account.Disk.disk_810348-5"),show:!e.is_default,onClick:async()=>{k({title:t("Account.Disk.disk_810348-6"),content:t("Account.Disk.disk_810348-7",[e.mountpoint]),onConfirm:async()=>{await p({mountpoint:e.mountpoint}),A.value=!0,j()}})}}]})]),b=v(),C=t=>{const e=Math.round(t);return e>80?b.value.errorColor:e>60?b.value.warningColor:b.value.primaryColor},j=async()=>{try{n(!0);const t=await d();if(_(t)){h.data=t.message;const e=t.message.find((t=>t.is_default));if(e){const t={...e};t.account_percent=Math.round(t.account_allocate/t.total*100),D.value=t}}}finally{n(!1)}};return{loading:e,DefaultDisk:D,init:j,columns:w,table:h,diskColor:C}})))}}})); diff --git a/BTPanel/static/vite/js/disk-legacy-CjauN3yJ.js b/BTPanel/static/vite/js/disk-legacy-CjauN3yJ.js new file mode 100644 index 00000000..9253e68f --- /dev/null +++ b/BTPanel/static/vite/js/disk-legacy-CjauN3yJ.js @@ -0,0 +1 @@ +System.register(["./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./useLoading-legacy-BYj3sJTe.js?v=1774508183068","./useRestart-legacy-C6RilP62.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068"],(function(t,e){"use strict";var n,s,i,o,a,u,c,l,r,d,_,k,p,y,g,f,m,D;return{setters:[t=>{n=t.a4,s=t.R,i=t.r,o=t.e,a=t.a0,u=t.j,c=t.F},t=>{l=t.D,r=t.a8,d=t.a1,_=t.i,k=t.h,p=t.a9},t=>{y=t.u},t=>{g=t.u},t=>{f=t.u},t=>{m=t.ab,D=t.u}],execute:function(){t("u",n("diskStore",(()=>{const{t:t}=s(),{loading:e,setLoading:n}=g(),v=i({device:"",mountpoint:"",fstype:"",total:0,used:0,free:0,used_percent:0,inodes_total:0,inodes_used:0,inodes_free:0,inodes_used_percent:0,is_group_quota:!1,is_user_quota:!1,is_default:!1,account_allocate:0,account_percent:0}),h=o({data:[]}),A=i(!1),w=i([{title:t("Account.Disk.disk_810348-0"),key:"mountpoint"},{title:t("Account.Disk.disk_810348-1"),key:"device"},{title:t("Account.Disk.disk_810348-9"),key:"is_group_quota",render:e=>e.is_user_quota?a("span",null,[t("Account.Disk.disk_810348-10")]):a("div",null,[a("span",{class:"text-warning"},[t("Account.Disk.disk_810348-11")]),u(" | "),a("span",{class:"text-primary cursor-pointer",onClick:()=>async function(t){await r(t),j()}(e.mountpoint)},[t("Account.Disk.disk_810348-12")])])},{title:t("Account.Disk.disk_810348-2"),key:"total",width:120,render:t=>l(t.total)},{title:t("Account.Disk.disk_810348-3"),key:"used",render:t=>{const e=Math.round(t.used_percent);return a(c,null,[a("div",{class:"mb-[.2rem]"},[e,u("% / "),l(t.used)]),a(m,{height:10,color:C(e),percentage:e,showIndicator:!1},null)])}},y({title:t("Public.Table.Action"),align:"right",width:200,options:e=>[{label:t("Account.Disk.disk_810348-4"),show:e.is_default&&!A.value,disabled:!0},{label:"重启服务",show:e.is_default&&A.value,type:"warning",onClick:async()=>f()},{label:t("Account.Disk.disk_810348-5"),show:!e.is_default,onClick:async()=>{k({title:t("Account.Disk.disk_810348-6"),content:t("Account.Disk.disk_810348-7",[e.mountpoint]),onConfirm:async()=>{await p({mountpoint:e.mountpoint}),A.value=!0,j()}})}}]})]),b=D(),C=t=>{const e=Math.round(t);return e>80?b.value.errorColor:e>60?b.value.warningColor:b.value.primaryColor},j=async()=>{try{n(!0);const t=await d();if(_(t)){h.data=t.message;const e=t.message.find((t=>t.is_default));if(e){const t={...e};t.account_percent=Math.round(t.account_allocate/t.total*100),v.value=t}}}finally{n(!1)}};return{loading:e,DefaultDisk:v,init:j,columns:w,table:h,diskColor:C}})))}}})); diff --git a/BTPanel/static/vite/js/domain-form-Bab1EooQ.js b/BTPanel/static/vite/js/domain-form-Bab1EooQ.js new file mode 100644 index 00000000..a9bad68c --- /dev/null +++ b/BTPanel/static/vite/js/domain-form-Bab1EooQ.js @@ -0,0 +1 @@ +import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{f as E,U as F}from"./ssl-DQUJJMjp.js?v=1774508183068";import{a as M,t as N,e as T,h as X}from"./utils-B0lSs_9p.js?v=1774508183068";import{t as q}from"./index-LQ-JIYiv.js?v=1774508183068";import{a1 as I,b as V,a6 as j,l as z,B as A,_ as G,a8 as O}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import{k as H,c as J,R as K,r as Q,e as W,$ as _,a8 as c,a9 as n,a0 as a,_ as Y,S as r,j as Z,ak as x}from"./vue-core-BlDeWrD6.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const ee={class:"w-300px"},de=H({__name:"domain-form",props:{row:{},isEdit:{type:Boolean},onRefresh:{}},setup(S,{expose:g}){const w=q(),m=S,{isEdit:p,row:i,onRefresh:h}=m,f=J(()=>p&&i?i.provider_name.includes("CloudFlare"):M.value.includes("CloudFlare")),{t:d}=K(),v=Q(null),e=W({record_type:"A",record_value:"",ttl:1,ps:"",proxy:0,priority:10,record:""}),$={record:{required:!0,trigger:"change",message:d("SSL.Domain.index_12")},record_value:{required:!0,trigger:["blur","change"],message:d("SSL.Domain.index_14")},ttl:{required:!0,trigger:"blur",type:"number",message:d("SSL.Domain.index_15")},priority:{required:!0,trigger:"blur",type:"number",message:"Please enter the priority"}},L=()=>{e.record_value=w.address},y=()=>({id:p&&i?i.id:null,pid:X.value,domain:T.value,record:e.record,record_type:e.record_type,record_value:e.record_value,ttl:e.ttl,ps:e.ps,proxy:f.value&&e.record_type!=="MX"?e.proxy:-1,priority:e.record_type==="MX"?e.priority:-1}),D=async()=>{var o;await((o=v.value)==null?void 0:o.validate()),p&&i?await E(y()):await F(y()),h()};return(()=>{const{row:o,isEdit:t}=m;t&&o&&(e.record=o.record,e.record_type=o.record_type,e.record_value=o.record_value,e.ttl=o.ttl,e.ps=o.ps,e.proxy=o.proxy,e.priority=e.record_type==="MX"?o.priority:-1)})(),g({onConfirm:D}),(o,t)=>{const u=V,s=I,k=j,U=A,C=z,b=G,P=O,R=B;return _(),c(R,{class:"p-20px",ref_key:"formRef",ref:v,model:r(e),rules:$},{default:n(()=>[a(s,{label:o.$t("SSL.Domain.index_11"),path:"record"},{default:n(()=>[Y("div",ee,[a(u,{value:r(e).record,"onUpdate:value":t[0]||(t[0]=l=>r(e).record=l),placeholder:o.$t("SSL.Domain.index_12"),disabled:r(p)},null,8,["value","placeholder","disabled"])])]),_:1},8,["label"]),a(s,{label:o.$t("Ftp.Table.index_3"),path:"record_type"},{default:n(()=>[a(k,{class:"w-300px",value:r(e).record_type,"onUpdate:value":t[1]||(t[1]=l=>r(e).record_type=l),options:r(N),disabled:r(p)},null,8,["value","options","disabled"])]),_:1},8,["label"]),a(s,{label:o.$t("SSL.Domain.index_13"),path:"record_value"},{default:n(()=>[a(C,{class:"flex-nowrap!",size:5},{default:n(()=>[a(u,{class:"w-300px!",value:r(e).record_value,"onUpdate:value":t[2]||(t[2]=l=>r(e).record_value=l),placeholder:o.$t("SSL.Domain.index_14")},null,8,["value","placeholder"]),a(U,{onClick:L},{default:n(()=>t[7]||(t[7]=[Z(" USE IP ")])),_:1,__:[7]})]),_:1})]),_:1},8,["label"]),a(s,{label:"TTL",path:"ttl"},{default:n(()=>[a(b,{"show-button":!1,class:"w-300px!",value:r(e).ttl,"onUpdate:value":t[3]||(t[3]=l=>r(e).ttl=l),placeholder:o.$t("SSL.Domain.index_15")},null,8,["value","placeholder"])]),_:1}),r(e).record_type==="MX"?(_(),c(s,{key:0,label:"Priority",path:"priority"},{default:n(()=>[a(b,{"show-button":!1,class:"w-300px!",value:r(e).priority,"onUpdate:value":t[4]||(t[4]=l=>r(e).priority=l),placeholder:"Please enter the priority",min:1,max:65535},null,8,["value"])]),_:1})):x("",!0),a(s,{label:o.$t("Public.Table.Ps"),path:"ps"},{default:n(()=>[a(u,{class:"w-300px!",value:r(e).ps,"onUpdate:value":t[5]||(t[5]=l=>r(e).ps=l),placeholder:o.$t("Crontab.arrange.index_27")},null,8,["value","placeholder"])]),_:1},8,["label"]),r(f)&&r(e).record_type!=="MX"?(_(),c(s,{key:1,label:o.$t("SSL.Domain.index_16"),path:"proxy"},{default:n(()=>[a(P,{value:r(e).proxy,"onUpdate:value":t[6]||(t[6]=l=>r(e).proxy=l),"checked-value":1,"unchecked-value":0},null,8,["value"])]),_:1},8,["label"])):x("",!0)]),_:1},8,["model"])}}});export{de as default}; diff --git a/BTPanel/static/vite/js/domain-form-Mkq_QMbo.js b/BTPanel/static/vite/js/domain-form-Mkq_QMbo.js deleted file mode 100644 index 85cf79da..00000000 --- a/BTPanel/static/vite/js/domain-form-Mkq_QMbo.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{f as E,U as F}from"./ssl-Bm8jcneQ.js?v=1773287522785";import{a as M,t as N,e as T,h as X}from"./utils-DELCcnjr.js?v=1773287522785";import{t as q}from"./index-BTglIPU2.js?v=1773287522785";import{a1 as I,b as V,a6 as j,k as z,B as A,_ as G,a8 as O}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as H,c as J,R as K,r as Q,e as W,$ as _,a8 as c,a9 as n,a0 as a,_ as Y,S as r,j as Z,ak as x}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const ee={class:"w-300px"},de=H({__name:"domain-form",props:{row:{},isEdit:{type:Boolean},onRefresh:{}},setup(S,{expose:g}){const w=q(),m=S,{isEdit:p,row:i,onRefresh:h}=m,f=J(()=>p&&i?i.provider_name.includes("CloudFlare"):M.value.includes("CloudFlare")),{t:d}=K(),v=Q(null),e=W({record_type:"A",record_value:"",ttl:1,ps:"",proxy:0,priority:10,record:""}),$={record:{required:!0,trigger:"change",message:d("SSL.Domain.index_12")},record_value:{required:!0,trigger:["blur","change"],message:d("SSL.Domain.index_14")},ttl:{required:!0,trigger:"blur",type:"number",message:d("SSL.Domain.index_15")},priority:{required:!0,trigger:"blur",type:"number",message:"Please enter the priority"}},L=()=>{e.record_value=w.address},y=()=>({id:p&&i?i.id:null,pid:X.value,domain:T.value,record:e.record,record_type:e.record_type,record_value:e.record_value,ttl:e.ttl,ps:e.ps,proxy:f.value&&e.record_type!=="MX"?e.proxy:-1,priority:e.record_type==="MX"?e.priority:-1}),k=async()=>{var o;await((o=v.value)==null?void 0:o.validate()),p&&i?await E(y()):await F(y()),h()};return(()=>{const{row:o,isEdit:t}=m;t&&o&&(e.record=o.record,e.record_type=o.record_type,e.record_value=o.record_value,e.ttl=o.ttl,e.ps=o.ps,e.proxy=o.proxy,e.priority=e.record_type==="MX"?o.priority:-1)})(),g({onConfirm:k}),(o,t)=>{const u=V,s=I,D=j,U=A,C=z,b=G,P=O,R=B;return _(),c(R,{class:"p-20px",ref_key:"formRef",ref:v,model:r(e),rules:$},{default:n(()=>[a(s,{label:o.$t("SSL.Domain.index_11"),path:"record"},{default:n(()=>[Y("div",ee,[a(u,{value:r(e).record,"onUpdate:value":t[0]||(t[0]=l=>r(e).record=l),placeholder:o.$t("SSL.Domain.index_12"),disabled:r(p)},null,8,["value","placeholder","disabled"])])]),_:1},8,["label"]),a(s,{label:o.$t("Ftp.Table.index_3"),path:"record_type"},{default:n(()=>[a(D,{class:"w-300px",value:r(e).record_type,"onUpdate:value":t[1]||(t[1]=l=>r(e).record_type=l),options:r(N),disabled:r(p)},null,8,["value","options","disabled"])]),_:1},8,["label"]),a(s,{label:o.$t("SSL.Domain.index_13"),path:"record_value"},{default:n(()=>[a(C,{class:"flex-nowrap!",size:5},{default:n(()=>[a(u,{class:"w-300px!",value:r(e).record_value,"onUpdate:value":t[2]||(t[2]=l=>r(e).record_value=l),placeholder:o.$t("SSL.Domain.index_14")},null,8,["value","placeholder"]),a(U,{onClick:L},{default:n(()=>t[7]||(t[7]=[Z(" USE IP ")])),_:1,__:[7]})]),_:1})]),_:1},8,["label"]),a(s,{label:"TTL",path:"ttl"},{default:n(()=>[a(b,{"show-button":!1,class:"w-300px!",value:r(e).ttl,"onUpdate:value":t[3]||(t[3]=l=>r(e).ttl=l),placeholder:o.$t("SSL.Domain.index_15")},null,8,["value","placeholder"])]),_:1}),r(e).record_type==="MX"?(_(),c(s,{key:0,label:"Priority",path:"priority"},{default:n(()=>[a(b,{"show-button":!1,class:"w-300px!",value:r(e).priority,"onUpdate:value":t[4]||(t[4]=l=>r(e).priority=l),placeholder:"Please enter the priority",min:1,max:65535},null,8,["value"])]),_:1})):x("",!0),a(s,{label:o.$t("Public.Table.Ps"),path:"ps"},{default:n(()=>[a(u,{class:"w-300px!",value:r(e).ps,"onUpdate:value":t[5]||(t[5]=l=>r(e).ps=l),placeholder:o.$t("Crontab.arrange.index_27")},null,8,["value","placeholder"])]),_:1},8,["label"]),r(f)&&r(e).record_type!=="MX"?(_(),c(s,{key:1,label:o.$t("SSL.Domain.index_16"),path:"proxy"},{default:n(()=>[a(P,{value:r(e).proxy,"onUpdate:value":t[6]||(t[6]=l=>r(e).proxy=l),"checked-value":1,"unchecked-value":0},null,8,["value"])]),_:1},8,["label"])):x("",!0)]),_:1},8,["model"])}}});export{de as default}; diff --git a/BTPanel/static/vite/js/domain-form-legacy-CXY6NBW0.js b/BTPanel/static/vite/js/domain-form-legacy-CXY6NBW0.js deleted file mode 100644 index 2d37e4d9..00000000 --- a/BTPanel/static/vite/js/domain-form-legacy-CXY6NBW0.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./ssl-legacy-BRxc0DyI.js?v=1773287522785","./utils-legacy-QJQOPO7z.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,l){"use strict";var r,a,t,o,d,i,u,p,s,n,c,_,y,v,x,b,m,h,g,f,S,w,j,L,$,k,D,U;return{setters:[e=>{r=e._},e=>{a=e.f,t=e.U},e=>{o=e.a,d=e.t,i=e.e,u=e.h},e=>{p=e.t},e=>{s=e.a1,n=e.b,c=e.a6,_=e.k,y=e.B,v=e._,x=e.a8},e=>{b=e.k,m=e.c,h=e.R,g=e.r,f=e.e,S=e.$,w=e.a8,j=e.a9,L=e.a0,$=e._,k=e.S,D=e.j,U=e.ak},null,null],execute:function(){const l={class:"w-300px"};e("default",b({__name:"domain-form",props:{row:{},isEdit:{type:Boolean},onRefresh:{}},setup(e,{expose:b}){const P=p(),C=e,{isEdit:M,row:X,onRefresh:q}=C,E=m((()=>M&&X?X.provider_name.includes("CloudFlare"):o.value.includes("CloudFlare"))),{t:R}=h(),T=g(null),F=f({record_type:"A",record_value:"",ttl:1,ps:"",proxy:0,priority:10,record:""}),B={record:{required:!0,trigger:"change",message:R("SSL.Domain.index_12")},record_value:{required:!0,trigger:["blur","change"],message:R("SSL.Domain.index_14")},ttl:{required:!0,trigger:"blur",type:"number",message:R("SSL.Domain.index_15")},priority:{required:!0,trigger:"blur",type:"number",message:"Please enter the priority"}},z=()=>{F.record_value=P.address},A=()=>({id:M&&X?X.id:null,pid:u.value,domain:i.value,record:F.record,record_type:F.record_type,record_value:F.record_value,ttl:F.ttl,ps:F.ps,proxy:E.value&&"MX"!==F.record_type?F.proxy:-1,priority:"MX"===F.record_type?F.priority:-1});return(()=>{const{row:e,isEdit:l}=C;l&&e&&(F.record=e.record,F.record_type=e.record_type,F.record_value=e.record_value,F.ttl=e.ttl,F.ps=e.ps,F.proxy=e.proxy,F.priority="MX"===F.record_type?e.priority:-1)})(),b({onConfirm:async()=>{await(T.value?.validate()),M&&X?await a(A()):await t(A()),q()}}),(e,a)=>{const t=n,o=s,i=c,u=y,p=_,b=v,m=x,h=r;return S(),w(h,{class:"p-20px",ref_key:"formRef",ref:T,model:k(F),rules:B},{default:j((()=>[L(o,{label:e.$t("SSL.Domain.index_11"),path:"record"},{default:j((()=>[$("div",l,[L(t,{value:k(F).record,"onUpdate:value":a[0]||(a[0]=e=>k(F).record=e),placeholder:e.$t("SSL.Domain.index_12"),disabled:k(M)},null,8,["value","placeholder","disabled"])])])),_:1},8,["label"]),L(o,{label:e.$t("Ftp.Table.index_3"),path:"record_type"},{default:j((()=>[L(i,{class:"w-300px",value:k(F).record_type,"onUpdate:value":a[1]||(a[1]=e=>k(F).record_type=e),options:k(d),disabled:k(M)},null,8,["value","options","disabled"])])),_:1},8,["label"]),L(o,{label:e.$t("SSL.Domain.index_13"),path:"record_value"},{default:j((()=>[L(p,{class:"flex-nowrap!",size:5},{default:j((()=>[L(t,{class:"w-300px!",value:k(F).record_value,"onUpdate:value":a[2]||(a[2]=e=>k(F).record_value=e),placeholder:e.$t("SSL.Domain.index_14")},null,8,["value","placeholder"]),L(u,{onClick:z},{default:j((()=>a[7]||(a[7]=[D(" USE IP ")]))),_:1,__:[7]})])),_:1})])),_:1},8,["label"]),L(o,{label:"TTL",path:"ttl"},{default:j((()=>[L(b,{"show-button":!1,class:"w-300px!",value:k(F).ttl,"onUpdate:value":a[3]||(a[3]=e=>k(F).ttl=e),placeholder:e.$t("SSL.Domain.index_15")},null,8,["value","placeholder"])])),_:1}),"MX"===k(F).record_type?(S(),w(o,{key:0,label:"Priority",path:"priority"},{default:j((()=>[L(b,{"show-button":!1,class:"w-300px!",value:k(F).priority,"onUpdate:value":a[4]||(a[4]=e=>k(F).priority=e),placeholder:"Please enter the priority",min:1,max:65535},null,8,["value"])])),_:1})):U("",!0),L(o,{label:e.$t("Public.Table.Ps"),path:"ps"},{default:j((()=>[L(t,{class:"w-300px!",value:k(F).ps,"onUpdate:value":a[5]||(a[5]=e=>k(F).ps=e),placeholder:e.$t("Crontab.arrange.index_27")},null,8,["value","placeholder"])])),_:1},8,["label"]),k(E)&&"MX"!==k(F).record_type?(S(),w(o,{key:1,label:e.$t("SSL.Domain.index_16"),path:"proxy"},{default:j((()=>[L(m,{value:k(F).proxy,"onUpdate:value":a[6]||(a[6]=e=>k(F).proxy=e),"checked-value":1,"unchecked-value":0},null,8,["value"])])),_:1},8,["label"])):U("",!0)])),_:1},8,["model"])}}}))}}})); diff --git a/BTPanel/static/vite/js/domain-form-legacy-CtRdiV3B.js b/BTPanel/static/vite/js/domain-form-legacy-CtRdiV3B.js new file mode 100644 index 00000000..8220521f --- /dev/null +++ b/BTPanel/static/vite/js/domain-form-legacy-CtRdiV3B.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./ssl-legacy-B0LFPLeC.js?v=1774508183068","./utils-legacy-DeKnqIao.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,l){"use strict";var r,a,t,o,d,i,u,p,s,n,c,_,y,v,x,b,m,h,g,f,S,w,j,L,$,D,U,k;return{setters:[e=>{r=e._},e=>{a=e.f,t=e.U},e=>{o=e.a,d=e.t,i=e.e,u=e.h},e=>{p=e.t},e=>{s=e.a1,n=e.b,c=e.a6,_=e.l,y=e.B,v=e._,x=e.a8},e=>{b=e.k,m=e.c,h=e.R,g=e.r,f=e.e,S=e.$,w=e.a8,j=e.a9,L=e.a0,$=e._,D=e.S,U=e.j,k=e.ak},null,null],execute:function(){const l={class:"w-300px"};e("default",b({__name:"domain-form",props:{row:{},isEdit:{type:Boolean},onRefresh:{}},setup(e,{expose:b}){const P=p(),C=e,{isEdit:M,row:X,onRefresh:q}=C,E=m((()=>M&&X?X.provider_name.includes("CloudFlare"):o.value.includes("CloudFlare"))),{t:R}=h(),T=g(null),F=f({record_type:"A",record_value:"",ttl:1,ps:"",proxy:0,priority:10,record:""}),A={record:{required:!0,trigger:"change",message:R("SSL.Domain.index_12")},record_value:{required:!0,trigger:["blur","change"],message:R("SSL.Domain.index_14")},ttl:{required:!0,trigger:"blur",type:"number",message:R("SSL.Domain.index_15")},priority:{required:!0,trigger:"blur",type:"number",message:"Please enter the priority"}},B=()=>{F.record_value=P.address},z=()=>({id:M&&X?X.id:null,pid:u.value,domain:i.value,record:F.record,record_type:F.record_type,record_value:F.record_value,ttl:F.ttl,ps:F.ps,proxy:E.value&&"MX"!==F.record_type?F.proxy:-1,priority:"MX"===F.record_type?F.priority:-1});return(()=>{const{row:e,isEdit:l}=C;l&&e&&(F.record=e.record,F.record_type=e.record_type,F.record_value=e.record_value,F.ttl=e.ttl,F.ps=e.ps,F.proxy=e.proxy,F.priority="MX"===F.record_type?e.priority:-1)})(),b({onConfirm:async()=>{await(T.value?.validate()),M&&X?await a(z()):await t(z()),q()}}),(e,a)=>{const t=n,o=s,i=c,u=y,p=_,b=v,m=x,h=r;return S(),w(h,{class:"p-20px",ref_key:"formRef",ref:T,model:D(F),rules:A},{default:j((()=>[L(o,{label:e.$t("SSL.Domain.index_11"),path:"record"},{default:j((()=>[$("div",l,[L(t,{value:D(F).record,"onUpdate:value":a[0]||(a[0]=e=>D(F).record=e),placeholder:e.$t("SSL.Domain.index_12"),disabled:D(M)},null,8,["value","placeholder","disabled"])])])),_:1},8,["label"]),L(o,{label:e.$t("Ftp.Table.index_3"),path:"record_type"},{default:j((()=>[L(i,{class:"w-300px",value:D(F).record_type,"onUpdate:value":a[1]||(a[1]=e=>D(F).record_type=e),options:D(d),disabled:D(M)},null,8,["value","options","disabled"])])),_:1},8,["label"]),L(o,{label:e.$t("SSL.Domain.index_13"),path:"record_value"},{default:j((()=>[L(p,{class:"flex-nowrap!",size:5},{default:j((()=>[L(t,{class:"w-300px!",value:D(F).record_value,"onUpdate:value":a[2]||(a[2]=e=>D(F).record_value=e),placeholder:e.$t("SSL.Domain.index_14")},null,8,["value","placeholder"]),L(u,{onClick:B},{default:j((()=>a[7]||(a[7]=[U(" USE IP ")]))),_:1,__:[7]})])),_:1})])),_:1},8,["label"]),L(o,{label:"TTL",path:"ttl"},{default:j((()=>[L(b,{"show-button":!1,class:"w-300px!",value:D(F).ttl,"onUpdate:value":a[3]||(a[3]=e=>D(F).ttl=e),placeholder:e.$t("SSL.Domain.index_15")},null,8,["value","placeholder"])])),_:1}),"MX"===D(F).record_type?(S(),w(o,{key:0,label:"Priority",path:"priority"},{default:j((()=>[L(b,{"show-button":!1,class:"w-300px!",value:D(F).priority,"onUpdate:value":a[4]||(a[4]=e=>D(F).priority=e),placeholder:"Please enter the priority",min:1,max:65535},null,8,["value"])])),_:1})):k("",!0),L(o,{label:e.$t("Public.Table.Ps"),path:"ps"},{default:j((()=>[L(t,{class:"w-300px!",value:D(F).ps,"onUpdate:value":a[5]||(a[5]=e=>D(F).ps=e),placeholder:e.$t("Crontab.arrange.index_27")},null,8,["value","placeholder"])])),_:1},8,["label"]),D(E)&&"MX"!==D(F).record_type?(S(),w(o,{key:1,label:e.$t("SSL.Domain.index_16"),path:"proxy"},{default:j((()=>[L(m,{value:D(F).proxy,"onUpdate:value":a[6]||(a[6]=e=>D(F).proxy=e),"checked-value":1,"unchecked-value":0},null,8,["value"])])),_:1},8,["label"])):k("",!0)])),_:1},8,["model"])}}}))}}})); diff --git a/BTPanel/static/vite/js/domain-input-VA7Bt1wA.js b/BTPanel/static/vite/js/domain-input-VA7Bt1wA.js new file mode 100644 index 00000000..5aa39b53 --- /dev/null +++ b/BTPanel/static/vite/js/domain-input-VA7Bt1wA.js @@ -0,0 +1 @@ +import{_ as j,i as A,c as P}from"./index-LQ-JIYiv.js?v=1774508183068";import{g as z}from"./ssl-DQUJJMjp.js?v=1774508183068";import{k as E,am as H,ao as B,$ as _,a8 as f,a9 as s,a0 as n,_ as r,ak as k,Z as O,j as i,aa as d,L as T,ap as C}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{l as Z,aH as F,B as G,aq as J,a5 as K,am as Q,b as W,aV as X}from"./naive-ui-BjvXgNtF.js?v=1774508183068";const Y={key:1,class:"text-desc"},x=E({__name:"domain-input",props:C({is_wp:{type:Boolean,default:!1}},{value:{required:!0},valueModifiers:{},parseList:{required:!0},parseListModifiers:{}}),emits:C(["update:domain"],["update:value","update:parseList"]),setup(m,{expose:U,emit:D}){const b=m,w=H(),o=B(m,"value"),t=B(m,"parseList"),g=D,S=async(a,l)=>{if(l===0&&g("update:domain",a),!(a!=null&&a.trim())){t.value[l]&&t.value.splice(l,1);return}const{message:u}=await z({domain:a});A(u)&&o.value[l]&&(t.value[l]={...u,auto:u.support.includes("auto"),ssl_cert:u.support.includes("ssl_cert"),cf_proxy:u.support.includes("cf_proxy")})},M=a=>{o.value.splice(a,1),t.value.splice(a,1),a===0&&g("update:domain",o.value[0]?o.value[0]:"")},V=a=>{o.value.splice(a+1,0,""),t.value.splice(a+1,0,{})},h=()=>{w.push("/ssl_domain/domain")};return U({onDomainItemBlur:S}),(a,l)=>{const u=W,L=G,N=F,v=Q,$=j,y=K,q=J,I=Z,R=X;return _(),f(R,{value:o.value,"onUpdate:value":l[0]||(l[0]=e=>o.value=e)},{default:s(({index:e})=>[n(u,{class:T(b.is_wp?"w-200px!":"w-140px!"),value:o.value[e],"onUpdate:value":c=>o.value[e]=c,placeholder:a.$t("Mail.Setting.index_20"),onBlur:c=>S(o.value[e],e)},null,8,["class","value","onUpdate:value","placeholder","onBlur"])]),action:s(({index:e})=>[n(I,{class:"items-center ml-5px"},{default:s(()=>{var c;return[b.is_wp?k("",!0):(_(),f(N,{key:0},{default:s(()=>[n(L,{onClick:p=>M(e),disabled:o.value.length===1,round:""},{default:s(()=>l[1]||(l[1]=[r("span",null,"-",-1)])),_:2,__:[1]},1032,["onClick","disabled"]),n(L,{onClick:p=>V(e),round:""},{default:s(()=>l[2]||(l[2]=[r("span",null,"+",-1)])),_:2,__:[2]},1032,["onClick"])]),_:2},1024)),(c=t.value[e])!=null&&c.support?(_(),O("span",Y,[n(q,null,{default:s(()=>[n(y,{trigger:"hover",disabled:t.value[e].support.includes("auto")},{trigger:s(()=>[n(v,{checked:t.value[e].auto,"onUpdate:checked":p=>t.value[e].auto=p,disabled:!t.value[e].support.includes("auto"),label:a.$t("SSL.Domain.index_34")},null,8,["checked","onUpdate:checked","disabled","label"])]),default:s(()=>[r("div",null,[i(d(a.$t("SSL.index_5"))+" ",1),n($,{onClick:h},{default:s(()=>[i(d(a.$t("SSL.index_4")),1)]),_:1})])]),_:2},1032,["disabled"]),n(y,{trigger:"hover",disabled:t.value[e].support.includes("ssl_cert")},{trigger:s(()=>[n(v,{checked:t.value[e].ssl_cert,"onUpdate:checked":p=>t.value[e].ssl_cert=p,disabled:!t.value[e].support.includes("ssl_cert"),label:a.$t("SSL.index_7")},null,8,["checked","onUpdate:checked","disabled","label"])]),default:s(()=>[r("div",null,[i(d(a.$t("SSL.index_6"))+" ",1),n($,{onClick:h},{default:s(()=>[i(d(a.$t("SSL.index_4")),1)]),_:1})])]),_:2},1032,["disabled"]),t.value[e].support.includes("cf_proxy")?(_(),f(v,{key:0,checked:t.value[e].cf_proxy,"onUpdate:checked":p=>t.value[e].cf_proxy=p,disabled:!t.value[e].support.includes("cf_proxy"),label:a.$t("SSL.index_8")},null,8,["checked","onUpdate:checked","disabled","label"])):k("",!0)]),_:2},1024)])):k("",!0)]}),_:2},1024)]),_:1},8,["value"])}}}),le=P(x,[["__scopeId","data-v-4f4b9d13"]]);export{le as D}; diff --git a/BTPanel/static/vite/js/domain-input-legacy-CakhBlFL.js b/BTPanel/static/vite/js/domain-input-legacy-CakhBlFL.js new file mode 100644 index 00000000..1f1230f6 --- /dev/null +++ b/BTPanel/static/vite/js/domain-input-legacy-CakhBlFL.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./ssl-legacy-B0LFPLeC.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068"],(function(e,a){"use strict";var l,u,d,t,s,n,i,c,o,p,r,v,_,x,f,k,m,b,h,g,y,S,L,$,U,C;return{setters:[e=>{l=e._,u=e.i,d=e.c},e=>{t=e.g},e=>{s=e.k,n=e.am,i=e.ao,c=e.$,o=e.a8,p=e.a9,r=e.a0,v=e._,_=e.ak,x=e.Z,f=e.j,k=e.aa,m=e.L,b=e.ap},e=>{h=e.l,g=e.aH,y=e.B,S=e.aq,L=e.a5,$=e.am,U=e.b,C=e.aV}],execute:function(){var a=document.createElement("style");a.textContent=".n-button[data-v-4f4b9d13]{--n-padding: 0 12px}\n/*$vite$:1*/",document.head.appendChild(a);const w={key:1,class:"text-desc"},j=s({__name:"domain-input",props:b({is_wp:{type:Boolean,default:!1}},{value:{required:!0},valueModifiers:{},parseList:{required:!0},parseListModifiers:{}}),emits:b(["update:domain"],["update:value","update:parseList"]),setup(e,{expose:a,emit:d}){const s=e,b=n(),j=i(e,"value"),B=i(e,"parseList"),q=d,D=async(e,a)=>{if(0===a&&q("update:domain",e),!e?.trim())return void(B.value[a]&&B.value.splice(a,1));const{message:l}=await t({domain:e});u(l)&&j.value[a]&&(B.value[a]={...l,auto:l.support.includes("auto"),ssl_cert:l.support.includes("ssl_cert"),cf_proxy:l.support.includes("cf_proxy")})},M=()=>{b.push("/ssl_domain/domain")};return a({onDomainItemBlur:D}),(e,a)=>{const u=U,d=y,t=g,n=$,i=l,b=L,I=S,A=h,E=C;return c(),o(E,{value:j.value,"onUpdate:value":a[0]||(a[0]=e=>j.value=e)},{default:p((({index:a})=>[r(u,{class:m(s.is_wp?"w-200px!":"w-140px!"),value:j.value[a],"onUpdate:value":e=>j.value[a]=e,placeholder:e.$t("Mail.Setting.index_20"),onBlur:e=>D(j.value[a],a)},null,8,["class","value","onUpdate:value","placeholder","onBlur"])])),action:p((({index:l})=>[r(A,{class:"items-center ml-5px"},{default:p((()=>[s.is_wp?_("",!0):(c(),o(t,{key:0},{default:p((()=>[r(d,{onClick:e=>(e=>{j.value.splice(e,1),B.value.splice(e,1),0===e&&q("update:domain",j.value[0]?j.value[0]:"")})(l),disabled:1===j.value.length,round:""},{default:p((()=>a[1]||(a[1]=[v("span",null,"-",-1)]))),_:2,__:[1]},1032,["onClick","disabled"]),r(d,{onClick:e=>(e=>{j.value.splice(e+1,0,""),B.value.splice(e+1,0,{})})(l),round:""},{default:p((()=>a[2]||(a[2]=[v("span",null,"+",-1)]))),_:2,__:[2]},1032,["onClick"])])),_:2},1024)),B.value[l]?.support?(c(),x("span",w,[r(I,null,{default:p((()=>[r(b,{trigger:"hover",disabled:B.value[l].support.includes("auto")},{trigger:p((()=>[r(n,{checked:B.value[l].auto,"onUpdate:checked":e=>B.value[l].auto=e,disabled:!B.value[l].support.includes("auto"),label:e.$t("SSL.Domain.index_34")},null,8,["checked","onUpdate:checked","disabled","label"])])),default:p((()=>[v("div",null,[f(k(e.$t("SSL.index_5"))+" ",1),r(i,{onClick:M},{default:p((()=>[f(k(e.$t("SSL.index_4")),1)])),_:1})])])),_:2},1032,["disabled"]),r(b,{trigger:"hover",disabled:B.value[l].support.includes("ssl_cert")},{trigger:p((()=>[r(n,{checked:B.value[l].ssl_cert,"onUpdate:checked":e=>B.value[l].ssl_cert=e,disabled:!B.value[l].support.includes("ssl_cert"),label:e.$t("SSL.index_7")},null,8,["checked","onUpdate:checked","disabled","label"])])),default:p((()=>[v("div",null,[f(k(e.$t("SSL.index_6"))+" ",1),r(i,{onClick:M},{default:p((()=>[f(k(e.$t("SSL.index_4")),1)])),_:1})])])),_:2},1032,["disabled"]),B.value[l].support.includes("cf_proxy")?(c(),o(n,{key:0,checked:B.value[l].cf_proxy,"onUpdate:checked":e=>B.value[l].cf_proxy=e,disabled:!B.value[l].support.includes("cf_proxy"),label:e.$t("SSL.index_8")},null,8,["checked","onUpdate:checked","disabled","label"])):_("",!0)])),_:2},1024)])):_("",!0)])),_:2},1024)])),_:1},8,["value"])}}});e("D",d(j,[["__scopeId","data-v-4f4b9d13"]]))}}})); diff --git a/BTPanel/static/vite/js/domain-input-legacy-Ti0d_59u.js b/BTPanel/static/vite/js/domain-input-legacy-Ti0d_59u.js deleted file mode 100644 index ef1de778..00000000 --- a/BTPanel/static/vite/js/domain-input-legacy-Ti0d_59u.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./ssl-legacy-BRxc0DyI.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,a){"use strict";var l,u,d,t,s,n,i,c,o,p,r,v,_,x,f,k,b,m,h,g,y,S,L,$,C,U;return{setters:[e=>{l=e._,u=e.i,d=e.c},e=>{t=e.g},e=>{s=e.k,n=e.am,i=e.an,c=e.$,o=e.a8,p=e.a9,r=e.a0,v=e._,_=e.ak,x=e.Z,f=e.j,k=e.aa,b=e.L,m=e.ao},e=>{h=e.k,g=e.aH,y=e.B,S=e.ap,L=e.a5,$=e.al,C=e.b,U=e.aV}],execute:function(){var a=document.createElement("style");a.textContent=".n-button[data-v-4f4b9d13]{--n-padding: 0 12px}\n/*$vite$:1*/",document.head.appendChild(a);const w={key:1,class:"text-desc"},j=s({__name:"domain-input",props:m({is_wp:{type:Boolean,default:!1}},{value:{required:!0},valueModifiers:{},parseList:{required:!0},parseListModifiers:{}}),emits:m(["update:domain"],["update:value","update:parseList"]),setup(e,{expose:a,emit:d}){const s=e,m=n(),j=i(e,"value"),B=i(e,"parseList"),D=d,M=async(e,a)=>{if(0===a&&D("update:domain",e),!e?.trim())return void(B.value[a]&&B.value.splice(a,1));const{message:l}=await t({domain:e});u(l)&&j.value[a]&&(B.value[a]={...l,auto:l.support.includes("auto"),ssl_cert:l.support.includes("ssl_cert"),cf_proxy:l.support.includes("cf_proxy")})},q=()=>{m.push("/ssl_domain/domain")};return a({onDomainItemBlur:M}),(e,a)=>{const u=C,d=y,t=g,n=$,i=l,m=L,I=S,E=h,H=U;return c(),o(H,{value:j.value,"onUpdate:value":a[0]||(a[0]=e=>j.value=e)},{default:p((({index:a})=>[r(u,{class:b(s.is_wp?"w-200px!":"w-140px!"),value:j.value[a],"onUpdate:value":e=>j.value[a]=e,placeholder:e.$t("Mail.Setting.index_20"),onBlur:e=>M(j.value[a],a)},null,8,["class","value","onUpdate:value","placeholder","onBlur"])])),action:p((({index:l})=>[r(E,{class:"items-center ml-5px"},{default:p((()=>[s.is_wp?_("",!0):(c(),o(t,{key:0},{default:p((()=>[r(d,{onClick:e=>(e=>{j.value.splice(e,1),B.value.splice(e,1),0===e&&D("update:domain",j.value[0]?j.value[0]:"")})(l),disabled:1===j.value.length,round:""},{default:p((()=>a[1]||(a[1]=[v("span",null,"-",-1)]))),_:2,__:[1]},1032,["onClick","disabled"]),r(d,{onClick:e=>(e=>{j.value.splice(e+1,0,""),B.value.splice(e+1,0,{})})(l),round:""},{default:p((()=>a[2]||(a[2]=[v("span",null,"+",-1)]))),_:2,__:[2]},1032,["onClick"])])),_:2},1024)),B.value[l]?.support?(c(),x("span",w,[r(I,null,{default:p((()=>[r(m,{trigger:"hover",disabled:B.value[l].support.includes("auto")},{trigger:p((()=>[r(n,{checked:B.value[l].auto,"onUpdate:checked":e=>B.value[l].auto=e,disabled:!B.value[l].support.includes("auto"),label:e.$t("SSL.Domain.index_34")},null,8,["checked","onUpdate:checked","disabled","label"])])),default:p((()=>[v("div",null,[f(k(e.$t("SSL.index_5"))+" ",1),r(i,{onClick:q},{default:p((()=>[f(k(e.$t("SSL.index_4")),1)])),_:1})])])),_:2},1032,["disabled"]),r(m,{trigger:"hover",disabled:B.value[l].support.includes("ssl_cert")},{trigger:p((()=>[r(n,{checked:B.value[l].ssl_cert,"onUpdate:checked":e=>B.value[l].ssl_cert=e,disabled:!B.value[l].support.includes("ssl_cert"),label:e.$t("SSL.index_7")},null,8,["checked","onUpdate:checked","disabled","label"])])),default:p((()=>[v("div",null,[f(k(e.$t("SSL.index_6"))+" ",1),r(i,{onClick:q},{default:p((()=>[f(k(e.$t("SSL.index_4")),1)])),_:1})])])),_:2},1032,["disabled"]),B.value[l].support.includes("cf_proxy")?(c(),o(n,{key:0,checked:B.value[l].cf_proxy,"onUpdate:checked":e=>B.value[l].cf_proxy=e,disabled:!B.value[l].support.includes("cf_proxy"),label:e.$t("SSL.index_8")},null,8,["checked","onUpdate:checked","disabled","label"])):_("",!0)])),_:2},1024)])):_("",!0)])),_:2},1024)])),_:1},8,["value"])}}});e("D",d(j,[["__scopeId","data-v-4f4b9d13"]]))}}})); diff --git a/BTPanel/static/vite/js/domain-input-lqb8SGav.js b/BTPanel/static/vite/js/domain-input-lqb8SGav.js deleted file mode 100644 index a196a9c5..00000000 --- a/BTPanel/static/vite/js/domain-input-lqb8SGav.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as q,i as A,c as P}from"./index-BTglIPU2.js?v=1773287522785";import{g as z}from"./ssl-Bm8jcneQ.js?v=1773287522785";import{k as E,am as H,an as B,$ as _,a8 as f,a9 as s,a0 as n,_ as r,ak as k,Z as O,j as i,aa as d,L as T,ao as C}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{k as Z,aH as F,B as G,ap as J,a5 as K,al as Q,b as W,aV as X}from"./naive-ui--dJnpVcV.js?v=1773287522785";const Y={key:1,class:"text-desc"},x=E({__name:"domain-input",props:C({is_wp:{type:Boolean,default:!1}},{value:{required:!0},valueModifiers:{},parseList:{required:!0},parseListModifiers:{}}),emits:C(["update:domain"],["update:value","update:parseList"]),setup(v,{expose:U,emit:D}){const b=v,w=H(),o=B(v,"value"),t=B(v,"parseList"),g=D,S=async(a,l)=>{if(l===0&&g("update:domain",a),!(a!=null&&a.trim())){t.value[l]&&t.value.splice(l,1);return}const{message:u}=await z({domain:a});A(u)&&o.value[l]&&(t.value[l]={...u,auto:u.support.includes("auto"),ssl_cert:u.support.includes("ssl_cert"),cf_proxy:u.support.includes("cf_proxy")})},M=a=>{o.value.splice(a,1),t.value.splice(a,1),a===0&&g("update:domain",o.value[0]?o.value[0]:"")},V=a=>{o.value.splice(a+1,0,""),t.value.splice(a+1,0,{})},h=()=>{w.push("/ssl_domain/domain")};return U({onDomainItemBlur:S}),(a,l)=>{const u=W,L=G,N=F,m=Q,$=q,y=K,I=J,R=Z,j=X;return _(),f(j,{value:o.value,"onUpdate:value":l[0]||(l[0]=e=>o.value=e)},{default:s(({index:e})=>[n(u,{class:T(b.is_wp?"w-200px!":"w-140px!"),value:o.value[e],"onUpdate:value":c=>o.value[e]=c,placeholder:a.$t("Mail.Setting.index_20"),onBlur:c=>S(o.value[e],e)},null,8,["class","value","onUpdate:value","placeholder","onBlur"])]),action:s(({index:e})=>[n(R,{class:"items-center ml-5px"},{default:s(()=>{var c;return[b.is_wp?k("",!0):(_(),f(N,{key:0},{default:s(()=>[n(L,{onClick:p=>M(e),disabled:o.value.length===1,round:""},{default:s(()=>l[1]||(l[1]=[r("span",null,"-",-1)])),_:2,__:[1]},1032,["onClick","disabled"]),n(L,{onClick:p=>V(e),round:""},{default:s(()=>l[2]||(l[2]=[r("span",null,"+",-1)])),_:2,__:[2]},1032,["onClick"])]),_:2},1024)),(c=t.value[e])!=null&&c.support?(_(),O("span",Y,[n(I,null,{default:s(()=>[n(y,{trigger:"hover",disabled:t.value[e].support.includes("auto")},{trigger:s(()=>[n(m,{checked:t.value[e].auto,"onUpdate:checked":p=>t.value[e].auto=p,disabled:!t.value[e].support.includes("auto"),label:a.$t("SSL.Domain.index_34")},null,8,["checked","onUpdate:checked","disabled","label"])]),default:s(()=>[r("div",null,[i(d(a.$t("SSL.index_5"))+" ",1),n($,{onClick:h},{default:s(()=>[i(d(a.$t("SSL.index_4")),1)]),_:1})])]),_:2},1032,["disabled"]),n(y,{trigger:"hover",disabled:t.value[e].support.includes("ssl_cert")},{trigger:s(()=>[n(m,{checked:t.value[e].ssl_cert,"onUpdate:checked":p=>t.value[e].ssl_cert=p,disabled:!t.value[e].support.includes("ssl_cert"),label:a.$t("SSL.index_7")},null,8,["checked","onUpdate:checked","disabled","label"])]),default:s(()=>[r("div",null,[i(d(a.$t("SSL.index_6"))+" ",1),n($,{onClick:h},{default:s(()=>[i(d(a.$t("SSL.index_4")),1)]),_:1})])]),_:2},1032,["disabled"]),t.value[e].support.includes("cf_proxy")?(_(),f(m,{key:0,checked:t.value[e].cf_proxy,"onUpdate:checked":p=>t.value[e].cf_proxy=p,disabled:!t.value[e].support.includes("cf_proxy"),label:a.$t("SSL.index_8")},null,8,["checked","onUpdate:checked","disabled","label"])):k("",!0)]),_:2},1024)])):k("",!0)]}),_:2},1024)]),_:1},8,["value"])}}}),le=P(x,[["__scopeId","data-v-4f4b9d13"]]);export{le as D}; diff --git a/BTPanel/static/vite/js/domain-verification-Cn58nDuG.js b/BTPanel/static/vite/js/domain-verification-Cn58nDuG.js new file mode 100644 index 00000000..5a55240d --- /dev/null +++ b/BTPanel/static/vite/js/domain-verification-Cn58nDuG.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/change-verification-TlK5GJ_e.js?v=1774508183068","js/index-Dd5dC2sI.js?v=1774508183068","js/index-LQ-JIYiv.js?v=1774508183068","js/vue-core-BlDeWrD6.js?v=1774508183068","js/prismjs-BZPoR7_J.js?v=1774508183068","css/prismjs-D-3FhBe_.css?v=1774508183068","js/naive-ui-BjvXgNtF.js?v=1774508183068","css/index-Bu1Pw919.css?v=1774508183068","js/index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068","js/ssl-DQUJJMjp.js?v=1774508183068"])))=>i.map(i=>d[i]); +import{_ as A,l as q,i as M,m as G,p as Z,S as z}from"./index-LQ-JIYiv.js?v=1774508183068";import{_ as J}from"./index-Dd5dC2sI.js?v=1774508183068";import{a0 as K,A as Q}from"./ssl-DQUJJMjp.js?v=1774508183068";import{_ as N}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{c as C}from"./copy-DTOfN-dY.js?v=1774508183068";import{a1 as R,b as F,B as x,l as g,g as W}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import{k as D,ab as X,$ as S,Z as V,_ as c,a0 as e,a9 as n,j as p,aa as _,S as a,R as T,O as U,e as Y,r as L,c as ee,n as te,a8 as P,a3 as ne}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{_ as oe}from"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import{u as ae}from"./useTableColumns-BpMo4f8r.js?v=1774508183068";import{u as le}from"./useTableData-D5IECpFr.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";const se={class:"text-14px mb-20px!"},ie=D({__name:"dns-verification",props:{form:{}},setup(h){return(o,u)=>{const r=A,y=X("i18n-t"),d=F,i=x,t=R,v=g,l=N;return S(),V("div",null,[c("div",se,[e(y,{keypath:"SSL.Business.index_15",scope:"global"},{a:n(()=>[e(r,null,{default:n(()=>[p(_(o.form.domain_name),1)]),_:1})]),b:n(()=>[p(_(o.form.record_type),1)]),_:1})]),e(l,{model:o.form,"label-width":"100px"},{default:n(()=>[e(t,{label:o.$t("Mail.Domain.index_37")},{default:n(()=>[e(d,{class:"w-380px!",value:o.form.host_record,"onUpdate:value":u[0]||(u[0]=m=>o.form.host_record=m),readonly:""},null,8,["value"]),e(i,{class:"ml-10px!",type:"primary",onClick:u[1]||(u[1]=m=>a(C)(o.form.host_record))},{default:n(()=>[p(_(o.$t("Public.Btn.Copy")),1)]),_:1})]),_:1},8,["label"]),e(t,{label:o.$t("Mail.Domain.index_36")},{default:n(()=>[e(d,{class:"w-380px!",value:o.form.record_type,"onUpdate:value":u[2]||(u[2]=m=>o.form.record_type=m),readonly:""},null,8,["value"])]),_:1},8,["label"]),e(t,{label:o.$t("Mail.Domain.index_38")},{default:n(()=>[e(v,null,{default:n(()=>[e(d,{type:"textarea",class:"w-380px!",value:o.form.record_value,"onUpdate:value":u[3]||(u[3]=m=>o.form.record_value=m),readonly:""},null,8,["value"]),e(i,{type:"primary",onClick:u[4]||(u[4]=m=>a(C)(o.form.record_value))},{default:n(()=>[p(_(o.$t("Public.Btn.Copy")),1)]),_:1})]),_:1})]),_:1},8,["label"])]),_:1},8,["model"])])}}}),re={class:"text-14px mb-20px!"},ue={class:"text-primary"},me=D({__name:"http-verification",props:{form:{},paths:{}},setup(h){const{t:o}=T(),u=h,{form:r,paths:y}=U(u),{columns:d}=le([{title:"URL",key:"url",width:"50%",ellipsis:{tooltip:!0}},{title:"Verification Result",key:"status",render:i=>i.status===-1?e("span",{class:"color-error"},[o("Failed"),p("("),i.status,p(")"),e(q,{class:"ml-5px! cursor-pointer",name:"base-problem",onClick:()=>{window.open("https://www.aapanel.com/docs/Function/BusinessCertificate.html#http-and-https-file-verification-methods","_blank")}},null)]):e("span",{class:"text-primary"},[o("Site.PHP.index_35")])},ae({width:150,options:i=>[{label:o("Public.Btn.Copy"),onClick:()=>{C(i.url)}},{label:o("Config.Panel.index_83_1"),onClick:()=>{window.open(i.url,"_blank")}},{label:"Re-verify",onClick:async()=>{try{const{message:t}=await K({url:i.url,content:u.form.file_content});M(t)&&(i.status=t.status)}catch(t){i.status=W(t,"message.status",-1)}}}]})]);return(i,t)=>{const v=F,l=x,m=R,$=g,B=N,k=oe;return S(),V("div",null,[c("div",re,[t[6]||(t[6]=p(" Please add a verification file to the following domain name [ ")),c("span",ue,_(a(r).domain_name),1),t[7]||(t[7]=p(" ], the verification information is as follows: "))]),e(B,{model:a(r),"label-width":"100px"},{default:n(()=>[e(m,{label:"File Location"},{default:n(()=>[e(v,{class:"w-380px!",value:a(r).file_path,"onUpdate:value":t[0]||(t[0]=f=>a(r).file_path=f),readonly:""},null,8,["value"]),e(l,{class:"ml-10px!",type:"primary",onClick:t[1]||(t[1]=f=>a(C)(a(r).file_path))},{default:n(()=>[p(_(i.$t("Public.Btn.Copy")),1)]),_:1})]),_:1}),e(m,{label:i.$t("file.fileName")},{default:n(()=>[e(v,{class:"w-380px!",value:a(r).file_name,"onUpdate:value":t[2]||(t[2]=f=>a(r).file_name=f),readonly:""},null,8,["value"]),e(l,{class:"ml-10px!",type:"primary",onClick:t[3]||(t[3]=f=>a(C)(a(r).file_name))},{default:n(()=>[p(_(i.$t("Public.Btn.Copy")),1)]),_:1})]),_:1},8,["label"]),e(m,{label:i.$t("SSL.Domain.index_13")},{default:n(()=>[e($,null,{default:n(()=>[e(v,{type:"textarea",class:"w-380px!",value:a(r).file_content,"onUpdate:value":t[4]||(t[4]=f=>a(r).file_content=f),readonly:""},null,8,["value"]),e(l,{type:"primary",onClick:t[5]||(t[5]=f=>a(C)(a(r).file_content))},{default:n(()=>[p(_(i.$t("Public.Btn.Copy")),1)]),_:1})]),_:1})]),_:1},8,["label"])]),_:1},8,["model"]),e(k,{columns:a(d),data:a(y)},null,8,["columns","data"])])}}}),pe={class:"p-40px",show:!1},ge=D({__name:"domain-verification",props:{uc_id:{},verify:{},paths:{},request:{type:Boolean},onRefresh:{type:Function}},emits:["close"],setup(h,{emit:o}){const{t:u}=T(),r=h,{uc_id:y,verify:d,request:i,paths:t}=U(r),v=o,l=Y({host_record:"",record_type:"",record_value:"",domain_name:"",file_path:"/.well-known/pki-validation/",file_name:"",file_content:""}),m=L([]),$=L(""),B=ee(()=>$.value=="CNAME_CSR_HASH"),k=async()=>{const{message:s}=await Q({uc_id:y.value});M(s)&&(s.certStatus==="PENDING"?G.success(u("SSL.Business.index_23")):(r.onRefresh(),v("close")),l.host_record=s.data.DCVdnsHost,l.record_type=s.data.DCVdnsType,l.record_value=s.data.DCVdnsValue,l.domain_name=s.data.dcvList.map(b=>b.domainName).join(","),$.value=s.data.dcvList[0].dcvMethod,l.file_name=s.data.DCVfileName,l.file_content=s.data.DCVfileContent,m.value=s.paths)},f=()=>{v("close")};te(()=>{i.value?k():H()});const H=()=>{l.host_record=d.value.DCVdnsHost,l.record_type=d.value.DCVdnsType,l.record_value=d.value.DCVdnsValue,l.domain_name=d.value.dcvList.map(s=>s.domainName).join(","),$.value=d.value.dcvList[0].dcvMethod,l.file_name=d.value.DCVfileName,l.file_content=d.value.DCVfileContent,m.value=(t==null?void 0:t.value)||[]},E=()=>{Z({title:"Modify the verification method",width:500,minHeight:200,data:{uc_id:y.value,onRefresh:k},footer:!0,component:ne(()=>z(()=>import("./change-verification-TlK5GJ_e.js?v=1774508183068"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])))})};return(s,b)=>{const j=A,I=J,w=x,O=g;return S(),V("div",pe,[a(B)?(S(),P(ie,{key:0,form:a(l)},null,8,["form"])):(S(),P(me,{key:1,form:a(l),paths:a(m)},null,8,["form","paths"])),e(I,{class:"my-20px"},{default:n(()=>[b[0]||(b[0]=c("li",null,"Check for the existence of CAA records, and if they exist, please remove the relevant CAA records.",-1)),c("li",null,_(s.$t("SSL.Business.index_16")),1),c("li",null,_(s.$t("SSL.Business.index_17")),1),c("li",null,_(s.$t("SSL.Business.index_18")),1),c("li",null,_(s.$t("SSL.Business.index_19")),1),c("li",null,[e(j,{href:"https://www.aapanel.com/docs/Function/BusinessCertificate.html",target:"_blank"},{default:n(()=>[p(_(s.$t("SSL.Business.index_20")),1)]),_:1})])]),_:1,__:[0]}),e(O,null,{default:n(()=>[e(w,{type:"primary",onClick:k},{default:n(()=>[p(_(s.$t("SSL.Business.index_21")),1)]),_:1}),e(w,{onClick:E},{default:n(()=>b[1]||(b[1]=[p("Modifiy verify")])),_:1,__:[1]}),e(w,{onClick:f},{default:n(()=>[p(_(s.$t("SSL.Business.index_22")),1)]),_:1})]),_:1})])}}});export{ge as default}; diff --git a/BTPanel/static/vite/js/domain-verification-b3GxBSNA.js b/BTPanel/static/vite/js/domain-verification-b3GxBSNA.js deleted file mode 100644 index ac11355f..00000000 --- a/BTPanel/static/vite/js/domain-verification-b3GxBSNA.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/change-verification-BJr3SNLM.js?v=1773287522785","js/index-DIKmrNCq.js?v=1773287522785","js/index-BTglIPU2.js?v=1773287522785","js/vue-core-DJjvd5ZC.js?v=1773287522785","js/prismjs-BZPoR7_J.js?v=1773287522785","css/prismjs-D-3FhBe_.css?v=1773287522785","js/naive-ui--dJnpVcV.js?v=1773287522785","css/index-DEM1fxGq.css?v=1773287522785","js/index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785","js/ssl-Bm8jcneQ.js?v=1773287522785"])))=>i.map(i=>d[i]); -import{_ as A,l as q,i as M,m as G,p as Z,P as z}from"./index-BTglIPU2.js?v=1773287522785";import{_ as J}from"./index-DIKmrNCq.js?v=1773287522785";import{a0 as K,A as Q}from"./ssl-Bm8jcneQ.js?v=1773287522785";import{_ as N}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{c as C}from"./copy-D-wIKr0q.js?v=1773287522785";import{a1 as R,b as F,B as x,k as g,g as W}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as D,ab as X,$ as h,Z as V,_ as c,a0 as e,a9 as n,j as p,aa as _,S as a,R as T,O as U,e as Y,r as L,c as ee,n as te,a8 as P,a3 as ne}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{_ as oe}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{u as ae}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{u as le}from"./useTableData-BmkIKQ_R.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";const se={class:"text-14px mb-20px!"},ie=D({__name:"dns-verification",props:{form:{}},setup(S){return(o,u)=>{const r=A,y=X("i18n-t"),d=F,i=x,t=R,v=g,l=N;return h(),V("div",null,[c("div",se,[e(y,{keypath:"SSL.Business.index_15",scope:"global"},{a:n(()=>[e(r,null,{default:n(()=>[p(_(o.form.domain_name),1)]),_:1})]),b:n(()=>[p(_(o.form.record_type),1)]),_:1})]),e(l,{model:o.form,"label-width":"100px"},{default:n(()=>[e(t,{label:o.$t("Mail.Domain.index_37")},{default:n(()=>[e(d,{class:"w-380px!",value:o.form.host_record,"onUpdate:value":u[0]||(u[0]=m=>o.form.host_record=m),readonly:""},null,8,["value"]),e(i,{class:"ml-10px!",type:"primary",onClick:u[1]||(u[1]=m=>a(C)(o.form.host_record))},{default:n(()=>[p(_(o.$t("Public.Btn.Copy")),1)]),_:1})]),_:1},8,["label"]),e(t,{label:o.$t("Mail.Domain.index_36")},{default:n(()=>[e(d,{class:"w-380px!",value:o.form.record_type,"onUpdate:value":u[2]||(u[2]=m=>o.form.record_type=m),readonly:""},null,8,["value"])]),_:1},8,["label"]),e(t,{label:o.$t("Mail.Domain.index_38")},{default:n(()=>[e(v,null,{default:n(()=>[e(d,{type:"textarea",class:"w-380px!",value:o.form.record_value,"onUpdate:value":u[3]||(u[3]=m=>o.form.record_value=m),readonly:""},null,8,["value"]),e(i,{type:"primary",onClick:u[4]||(u[4]=m=>a(C)(o.form.record_value))},{default:n(()=>[p(_(o.$t("Public.Btn.Copy")),1)]),_:1})]),_:1})]),_:1},8,["label"])]),_:1},8,["model"])])}}}),re={class:"text-14px mb-20px!"},ue={class:"text-primary"},me=D({__name:"http-verification",props:{form:{},paths:{}},setup(S){const{t:o}=T(),u=S,{form:r,paths:y}=U(u),{columns:d}=le([{title:"URL",key:"url",width:"50%",ellipsis:{tooltip:!0}},{title:"Verification Result",key:"status",render:i=>i.status===-1?e("span",{class:"color-error"},[o("Failed"),p("("),i.status,p(")"),e(q,{class:"ml-5px! cursor-pointer",name:"base-problem",onClick:()=>{window.open("https://www.aapanel.com/docs/Function/BusinessCertificate.html#http-and-https-file-verification-methods","_blank")}},null)]):e("span",{class:"text-primary"},[o("Site.PHP.index_35")])},ae({width:150,options:i=>[{label:o("Public.Btn.Copy"),onClick:()=>{C(i.url)}},{label:o("Config.Panel.index_83_1"),onClick:()=>{window.open(i.url,"_blank")}},{label:"Re-verify",onClick:async()=>{try{const{message:t}=await K({url:i.url,content:u.form.file_content});M(t)&&(i.status=t.status)}catch(t){i.status=W(t,"message.status",-1)}}}]})]);return(i,t)=>{const v=F,l=x,m=R,$=g,B=N,k=oe;return h(),V("div",null,[c("div",re,[t[6]||(t[6]=p(" Please add a verification file to the following domain name [ ")),c("span",ue,_(a(r).domain_name),1),t[7]||(t[7]=p(" ], the verification information is as follows: "))]),e(B,{model:a(r),"label-width":"100px"},{default:n(()=>[e(m,{label:"File Location"},{default:n(()=>[e(v,{class:"w-380px!",value:a(r).file_path,"onUpdate:value":t[0]||(t[0]=f=>a(r).file_path=f),readonly:""},null,8,["value"]),e(l,{class:"ml-10px!",type:"primary",onClick:t[1]||(t[1]=f=>a(C)(a(r).file_path))},{default:n(()=>[p(_(i.$t("Public.Btn.Copy")),1)]),_:1})]),_:1}),e(m,{label:i.$t("file.fileName")},{default:n(()=>[e(v,{class:"w-380px!",value:a(r).file_name,"onUpdate:value":t[2]||(t[2]=f=>a(r).file_name=f),readonly:""},null,8,["value"]),e(l,{class:"ml-10px!",type:"primary",onClick:t[3]||(t[3]=f=>a(C)(a(r).file_name))},{default:n(()=>[p(_(i.$t("Public.Btn.Copy")),1)]),_:1})]),_:1},8,["label"]),e(m,{label:i.$t("SSL.Domain.index_13")},{default:n(()=>[e($,null,{default:n(()=>[e(v,{type:"textarea",class:"w-380px!",value:a(r).file_content,"onUpdate:value":t[4]||(t[4]=f=>a(r).file_content=f),readonly:""},null,8,["value"]),e(l,{type:"primary",onClick:t[5]||(t[5]=f=>a(C)(a(r).file_content))},{default:n(()=>[p(_(i.$t("Public.Btn.Copy")),1)]),_:1})]),_:1})]),_:1},8,["label"])]),_:1},8,["model"]),e(k,{columns:a(d),data:a(y)},null,8,["columns","data"])])}}}),pe={class:"p-40px",show:!1},ge=D({__name:"domain-verification",props:{uc_id:{},verify:{},paths:{},request:{type:Boolean},onRefresh:{type:Function}},emits:["close"],setup(S,{emit:o}){const{t:u}=T(),r=S,{uc_id:y,verify:d,request:i,paths:t}=U(r),v=o,l=Y({host_record:"",record_type:"",record_value:"",domain_name:"",file_path:"/.well-known/pki-validation/",file_name:"",file_content:""}),m=L([]),$=L(""),B=ee(()=>$.value=="CNAME_CSR_HASH"),k=async()=>{const{message:s}=await Q({uc_id:y.value});M(s)&&(s.certStatus==="PENDING"?G.success(u("SSL.Business.index_23")):(r.onRefresh(),v("close")),l.host_record=s.data.DCVdnsHost,l.record_type=s.data.DCVdnsType,l.record_value=s.data.DCVdnsValue,l.domain_name=s.data.dcvList.map(b=>b.domainName).join(","),$.value=s.data.dcvList[0].dcvMethod,l.file_name=s.data.DCVfileName,l.file_content=s.data.DCVfileContent,m.value=s.paths)},f=()=>{v("close")};te(()=>{i.value?k():H()});const H=()=>{l.host_record=d.value.DCVdnsHost,l.record_type=d.value.DCVdnsType,l.record_value=d.value.DCVdnsValue,l.domain_name=d.value.dcvList.map(s=>s.domainName).join(","),$.value=d.value.dcvList[0].dcvMethod,l.file_name=d.value.DCVfileName,l.file_content=d.value.DCVfileContent,m.value=(t==null?void 0:t.value)||[]},E=()=>{Z({title:"Modify the verification method",width:500,minHeight:200,data:{uc_id:y.value,onRefresh:k},footer:!0,component:ne(()=>z(()=>import("./change-verification-BJr3SNLM.js?v=1773287522785"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])))})};return(s,b)=>{const j=A,I=J,w=x,O=g;return h(),V("div",pe,[a(B)?(h(),P(ie,{key:0,form:a(l)},null,8,["form"])):(h(),P(me,{key:1,form:a(l),paths:a(m)},null,8,["form","paths"])),e(I,{class:"my-20px"},{default:n(()=>[b[0]||(b[0]=c("li",null,"Check for the existence of CAA records, and if they exist, please remove the relevant CAA records.",-1)),c("li",null,_(s.$t("SSL.Business.index_16")),1),c("li",null,_(s.$t("SSL.Business.index_17")),1),c("li",null,_(s.$t("SSL.Business.index_18")),1),c("li",null,_(s.$t("SSL.Business.index_19")),1),c("li",null,[e(j,{href:"https://www.aapanel.com/docs/Function/BusinessCertificate.html",target:"_blank"},{default:n(()=>[p(_(s.$t("SSL.Business.index_20")),1)]),_:1})])]),_:1,__:[0]}),e(O,null,{default:n(()=>[e(w,{type:"primary",onClick:k},{default:n(()=>[p(_(s.$t("SSL.Business.index_21")),1)]),_:1}),e(w,{onClick:E},{default:n(()=>b[1]||(b[1]=[p("Modifiy verify")])),_:1,__:[1]}),e(w,{onClick:f},{default:n(()=>[p(_(s.$t("SSL.Business.index_22")),1)]),_:1})]),_:1})])}}});export{ge as default}; diff --git a/BTPanel/static/vite/js/domain-verification-legacy-CPH5bZ5-.js b/BTPanel/static/vite/js/domain-verification-legacy-CPH5bZ5-.js deleted file mode 100644 index be6d0d19..00000000 --- a/BTPanel/static/vite/js/domain-verification-legacy-CPH5bZ5-.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./index-legacy-DgZ0-E4f.js?v=1773287522785","./ssl-legacy-BRxc0DyI.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785"],(function(e,l){"use strict";var a,t,n,i,s,o,u,r,c,d,_,p,f,m,v,y,h,x,C,b,g,w,S,k,j,B,$,D,L,V,P,M,N,R,A,U,H;return{setters:[e=>{a=e._,t=e.l,n=e.i,i=e.m,s=e.p,o=e.P},e=>{u=e._},e=>{r=e.a0,c=e.A},e=>{d=e._},e=>{_=e.c},e=>{p=e.a1,f=e.b,m=e.B,v=e.k,y=e.g},e=>{h=e.k,x=e.ab,C=e.$,b=e.Z,g=e._,w=e.a0,S=e.a9,k=e.j,j=e.aa,B=e.S,$=e.R,D=e.O,L=e.e,V=e.r,P=e.c,M=e.n,N=e.a8,R=e.a3},e=>{A=e._},e=>{U=e.u},e=>{H=e.u},null,null,null,null,null],execute:function(){const F={class:"text-14px mb-20px!"},T=h({__name:"dns-verification",props:{form:{}},setup:e=>(e,l)=>{const t=a,n=x("i18n-t"),i=f,s=m,o=p,u=v,r=d;return C(),b("div",null,[g("div",F,[w(n,{keypath:"SSL.Business.index_15",scope:"global"},{a:S((()=>[w(t,null,{default:S((()=>[k(j(e.form.domain_name),1)])),_:1})])),b:S((()=>[k(j(e.form.record_type),1)])),_:1})]),w(r,{model:e.form,"label-width":"100px"},{default:S((()=>[w(o,{label:e.$t("Mail.Domain.index_37")},{default:S((()=>[w(i,{class:"w-380px!",value:e.form.host_record,"onUpdate:value":l[0]||(l[0]=l=>e.form.host_record=l),readonly:""},null,8,["value"]),w(s,{class:"ml-10px!",type:"primary",onClick:l[1]||(l[1]=l=>B(_)(e.form.host_record))},{default:S((()=>[k(j(e.$t("Public.Btn.Copy")),1)])),_:1})])),_:1},8,["label"]),w(o,{label:e.$t("Mail.Domain.index_36")},{default:S((()=>[w(i,{class:"w-380px!",value:e.form.record_type,"onUpdate:value":l[2]||(l[2]=l=>e.form.record_type=l),readonly:""},null,8,["value"])])),_:1},8,["label"]),w(o,{label:e.$t("Mail.Domain.index_38")},{default:S((()=>[w(u,null,{default:S((()=>[w(i,{type:"textarea",class:"w-380px!",value:e.form.record_value,"onUpdate:value":l[3]||(l[3]=l=>e.form.record_value=l),readonly:""},null,8,["value"]),w(s,{type:"primary",onClick:l[4]||(l[4]=l=>B(_)(e.form.record_value))},{default:S((()=>[k(j(e.$t("Public.Btn.Copy")),1)])),_:1})])),_:1})])),_:1},8,["label"])])),_:1},8,["model"])])}}),q={class:"text-14px mb-20px!"},E={class:"text-primary"},Z=h({__name:"http-verification",props:{form:{},paths:{}},setup(e){const{t:l}=$(),a=e,{form:i,paths:s}=D(a),{columns:o}=H([{title:"URL",key:"url",width:"50%",ellipsis:{tooltip:!0}},{title:"Verification Result",key:"status",render:e=>-1===e.status?w("span",{class:"color-error"},[l("Failed"),k("("),e.status,k(")"),w(t,{class:"ml-5px! cursor-pointer",name:"base-problem",onClick:()=>{window.open("https://www.aapanel.com/docs/Function/BusinessCertificate.html#http-and-https-file-verification-methods","_blank")}},null)]):w("span",{class:"text-primary"},[l("Site.PHP.index_35")])},U({width:150,options:e=>[{label:l("Public.Btn.Copy"),onClick:()=>{_(e.url)}},{label:l("Config.Panel.index_83_1"),onClick:()=>{window.open(e.url,"_blank")}},{label:"Re-verify",onClick:async()=>{try{const{message:l}=await r({url:e.url,content:a.form.file_content});n(l)&&(e.status=l.status)}catch(l){e.status=y(l,"message.status",-1)}}}]})]);return(e,l)=>{const a=f,t=m,n=p,u=v,r=d,c=A;return C(),b("div",null,[g("div",q,[l[6]||(l[6]=k(" Please add a verification file to the following domain name [ ")),g("span",E,j(B(i).domain_name),1),l[7]||(l[7]=k(" ], the verification information is as follows: "))]),w(r,{model:B(i),"label-width":"100px"},{default:S((()=>[w(n,{label:"File Location"},{default:S((()=>[w(a,{class:"w-380px!",value:B(i).file_path,"onUpdate:value":l[0]||(l[0]=e=>B(i).file_path=e),readonly:""},null,8,["value"]),w(t,{class:"ml-10px!",type:"primary",onClick:l[1]||(l[1]=e=>B(_)(B(i).file_path))},{default:S((()=>[k(j(e.$t("Public.Btn.Copy")),1)])),_:1})])),_:1}),w(n,{label:e.$t("file.fileName")},{default:S((()=>[w(a,{class:"w-380px!",value:B(i).file_name,"onUpdate:value":l[2]||(l[2]=e=>B(i).file_name=e),readonly:""},null,8,["value"]),w(t,{class:"ml-10px!",type:"primary",onClick:l[3]||(l[3]=e=>B(_)(B(i).file_name))},{default:S((()=>[k(j(e.$t("Public.Btn.Copy")),1)])),_:1})])),_:1},8,["label"]),w(n,{label:e.$t("SSL.Domain.index_13")},{default:S((()=>[w(u,null,{default:S((()=>[w(a,{type:"textarea",class:"w-380px!",value:B(i).file_content,"onUpdate:value":l[4]||(l[4]=e=>B(i).file_content=e),readonly:""},null,8,["value"]),w(t,{type:"primary",onClick:l[5]||(l[5]=e=>B(_)(B(i).file_content))},{default:S((()=>[k(j(e.$t("Public.Btn.Copy")),1)])),_:1})])),_:1})])),_:1},8,["label"])])),_:1},8,["model"]),w(c,{columns:B(o),data:B(s)},null,8,["columns","data"])])}}}),G={class:"p-40px",show:!1};e("default",h({__name:"domain-verification",props:{uc_id:{},verify:{},paths:{},request:{type:Boolean},onRefresh:{type:Function}},emits:["close"],setup(e,{emit:t}){const{t:r}=$(),d=e,{uc_id:_,verify:p,request:f,paths:y}=D(d),h=t,x=L({host_record:"",record_type:"",record_value:"",domain_name:"",file_path:"/.well-known/pki-validation/",file_name:"",file_content:""}),A=V([]),U=V(""),H=P((()=>"CNAME_CSR_HASH"==U.value)),F=async()=>{const{message:e}=await c({uc_id:_.value});n(e)&&("PENDING"===e.certStatus?i.success(r("SSL.Business.index_23")):(d.onRefresh(),h("close")),x.host_record=e.data.DCVdnsHost,x.record_type=e.data.DCVdnsType,x.record_value=e.data.DCVdnsValue,x.domain_name=e.data.dcvList.map((e=>e.domainName)).join(","),U.value=e.data.dcvList[0].dcvMethod,x.file_name=e.data.DCVfileName,x.file_content=e.data.DCVfileContent,A.value=e.paths)},q=()=>{h("close")};M((()=>{f.value?F():E()}));const E=()=>{x.host_record=p.value.DCVdnsHost,x.record_type=p.value.DCVdnsType,x.record_value=p.value.DCVdnsValue,x.domain_name=p.value.dcvList.map((e=>e.domainName)).join(","),U.value=p.value.dcvList[0].dcvMethod,x.file_name=p.value.DCVfileName,x.file_content=p.value.DCVfileContent,A.value=y?.value||[]},I=()=>{s({title:"Modify the verification method",width:500,minHeight:200,data:{uc_id:_.value,onRefresh:F},footer:!0,component:R((()=>o((()=>l.import("./change-verification-legacy-DNGOFs9E.js?v=1773287522785")),void 0)))})};return(e,l)=>{const t=a,n=u,i=m,s=v;return C(),b("div",G,[B(H)?(C(),N(T,{key:0,form:B(x)},null,8,["form"])):(C(),N(Z,{key:1,form:B(x),paths:B(A)},null,8,["form","paths"])),w(n,{class:"my-20px"},{default:S((()=>[l[0]||(l[0]=g("li",null,"Check for the existence of CAA records, and if they exist, please remove the relevant CAA records.",-1)),g("li",null,j(e.$t("SSL.Business.index_16")),1),g("li",null,j(e.$t("SSL.Business.index_17")),1),g("li",null,j(e.$t("SSL.Business.index_18")),1),g("li",null,j(e.$t("SSL.Business.index_19")),1),g("li",null,[w(t,{href:"https://www.aapanel.com/docs/Function/BusinessCertificate.html",target:"_blank"},{default:S((()=>[k(j(e.$t("SSL.Business.index_20")),1)])),_:1})])])),_:1,__:[0]}),w(s,null,{default:S((()=>[w(i,{type:"primary",onClick:F},{default:S((()=>[k(j(e.$t("SSL.Business.index_21")),1)])),_:1}),w(i,{onClick:I},{default:S((()=>l[1]||(l[1]=[k("Modifiy verify")]))),_:1,__:[1]}),w(i,{onClick:q},{default:S((()=>[k(j(e.$t("SSL.Business.index_22")),1)])),_:1})])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/domain-verification-legacy-CwM-0C0M.js b/BTPanel/static/vite/js/domain-verification-legacy-CwM-0C0M.js new file mode 100644 index 00000000..a0ead06b --- /dev/null +++ b/BTPanel/static/vite/js/domain-verification-legacy-CwM-0C0M.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./index-legacy-DOsTWPyk.js?v=1774508183068","./ssl-legacy-B0LFPLeC.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068"],(function(e,l){"use strict";var a,t,n,i,s,o,u,r,c,d,_,p,f,m,v,y,h,x,C,b,g,w,S,k,j,B,$,D,L,V,P,A,M,N,R,U,H;return{setters:[e=>{a=e._,t=e.l,n=e.i,i=e.m,s=e.p,o=e.S},e=>{u=e._},e=>{r=e.a0,c=e.A},e=>{d=e._},e=>{_=e.c},e=>{p=e.a1,f=e.b,m=e.B,v=e.l,y=e.g},e=>{h=e.k,x=e.ab,C=e.$,b=e.Z,g=e._,w=e.a0,S=e.a9,k=e.j,j=e.aa,B=e.S,$=e.R,D=e.O,L=e.e,V=e.r,P=e.c,A=e.n,M=e.a8,N=e.a3},e=>{R=e._},e=>{U=e.u},e=>{H=e.u},null,null,null,null,null],execute:function(){const F={class:"text-14px mb-20px!"},T=h({__name:"dns-verification",props:{form:{}},setup:e=>(e,l)=>{const t=a,n=x("i18n-t"),i=f,s=m,o=p,u=v,r=d;return C(),b("div",null,[g("div",F,[w(n,{keypath:"SSL.Business.index_15",scope:"global"},{a:S((()=>[w(t,null,{default:S((()=>[k(j(e.form.domain_name),1)])),_:1})])),b:S((()=>[k(j(e.form.record_type),1)])),_:1})]),w(r,{model:e.form,"label-width":"100px"},{default:S((()=>[w(o,{label:e.$t("Mail.Domain.index_37")},{default:S((()=>[w(i,{class:"w-380px!",value:e.form.host_record,"onUpdate:value":l[0]||(l[0]=l=>e.form.host_record=l),readonly:""},null,8,["value"]),w(s,{class:"ml-10px!",type:"primary",onClick:l[1]||(l[1]=l=>B(_)(e.form.host_record))},{default:S((()=>[k(j(e.$t("Public.Btn.Copy")),1)])),_:1})])),_:1},8,["label"]),w(o,{label:e.$t("Mail.Domain.index_36")},{default:S((()=>[w(i,{class:"w-380px!",value:e.form.record_type,"onUpdate:value":l[2]||(l[2]=l=>e.form.record_type=l),readonly:""},null,8,["value"])])),_:1},8,["label"]),w(o,{label:e.$t("Mail.Domain.index_38")},{default:S((()=>[w(u,null,{default:S((()=>[w(i,{type:"textarea",class:"w-380px!",value:e.form.record_value,"onUpdate:value":l[3]||(l[3]=l=>e.form.record_value=l),readonly:""},null,8,["value"]),w(s,{type:"primary",onClick:l[4]||(l[4]=l=>B(_)(e.form.record_value))},{default:S((()=>[k(j(e.$t("Public.Btn.Copy")),1)])),_:1})])),_:1})])),_:1},8,["label"])])),_:1},8,["model"])])}}),q={class:"text-14px mb-20px!"},E={class:"text-primary"},Z=h({__name:"http-verification",props:{form:{},paths:{}},setup(e){const{t:l}=$(),a=e,{form:i,paths:s}=D(a),{columns:o}=H([{title:"URL",key:"url",width:"50%",ellipsis:{tooltip:!0}},{title:"Verification Result",key:"status",render:e=>-1===e.status?w("span",{class:"color-error"},[l("Failed"),k("("),e.status,k(")"),w(t,{class:"ml-5px! cursor-pointer",name:"base-problem",onClick:()=>{window.open("https://www.aapanel.com/docs/Function/BusinessCertificate.html#http-and-https-file-verification-methods","_blank")}},null)]):w("span",{class:"text-primary"},[l("Site.PHP.index_35")])},U({width:150,options:e=>[{label:l("Public.Btn.Copy"),onClick:()=>{_(e.url)}},{label:l("Config.Panel.index_83_1"),onClick:()=>{window.open(e.url,"_blank")}},{label:"Re-verify",onClick:async()=>{try{const{message:l}=await r({url:e.url,content:a.form.file_content});n(l)&&(e.status=l.status)}catch(l){e.status=y(l,"message.status",-1)}}}]})]);return(e,l)=>{const a=f,t=m,n=p,u=v,r=d,c=R;return C(),b("div",null,[g("div",q,[l[6]||(l[6]=k(" Please add a verification file to the following domain name [ ")),g("span",E,j(B(i).domain_name),1),l[7]||(l[7]=k(" ], the verification information is as follows: "))]),w(r,{model:B(i),"label-width":"100px"},{default:S((()=>[w(n,{label:"File Location"},{default:S((()=>[w(a,{class:"w-380px!",value:B(i).file_path,"onUpdate:value":l[0]||(l[0]=e=>B(i).file_path=e),readonly:""},null,8,["value"]),w(t,{class:"ml-10px!",type:"primary",onClick:l[1]||(l[1]=e=>B(_)(B(i).file_path))},{default:S((()=>[k(j(e.$t("Public.Btn.Copy")),1)])),_:1})])),_:1}),w(n,{label:e.$t("file.fileName")},{default:S((()=>[w(a,{class:"w-380px!",value:B(i).file_name,"onUpdate:value":l[2]||(l[2]=e=>B(i).file_name=e),readonly:""},null,8,["value"]),w(t,{class:"ml-10px!",type:"primary",onClick:l[3]||(l[3]=e=>B(_)(B(i).file_name))},{default:S((()=>[k(j(e.$t("Public.Btn.Copy")),1)])),_:1})])),_:1},8,["label"]),w(n,{label:e.$t("SSL.Domain.index_13")},{default:S((()=>[w(u,null,{default:S((()=>[w(a,{type:"textarea",class:"w-380px!",value:B(i).file_content,"onUpdate:value":l[4]||(l[4]=e=>B(i).file_content=e),readonly:""},null,8,["value"]),w(t,{type:"primary",onClick:l[5]||(l[5]=e=>B(_)(B(i).file_content))},{default:S((()=>[k(j(e.$t("Public.Btn.Copy")),1)])),_:1})])),_:1})])),_:1},8,["label"])])),_:1},8,["model"]),w(c,{columns:B(o),data:B(s)},null,8,["columns","data"])])}}}),G={class:"p-40px",show:!1};e("default",h({__name:"domain-verification",props:{uc_id:{},verify:{},paths:{},request:{type:Boolean},onRefresh:{type:Function}},emits:["close"],setup(e,{emit:t}){const{t:r}=$(),d=e,{uc_id:_,verify:p,request:f,paths:y}=D(d),h=t,x=L({host_record:"",record_type:"",record_value:"",domain_name:"",file_path:"/.well-known/pki-validation/",file_name:"",file_content:""}),R=V([]),U=V(""),H=P((()=>"CNAME_CSR_HASH"==U.value)),F=async()=>{const{message:e}=await c({uc_id:_.value});n(e)&&("PENDING"===e.certStatus?i.success(r("SSL.Business.index_23")):(d.onRefresh(),h("close")),x.host_record=e.data.DCVdnsHost,x.record_type=e.data.DCVdnsType,x.record_value=e.data.DCVdnsValue,x.domain_name=e.data.dcvList.map((e=>e.domainName)).join(","),U.value=e.data.dcvList[0].dcvMethod,x.file_name=e.data.DCVfileName,x.file_content=e.data.DCVfileContent,R.value=e.paths)},q=()=>{h("close")};A((()=>{f.value?F():E()}));const E=()=>{x.host_record=p.value.DCVdnsHost,x.record_type=p.value.DCVdnsType,x.record_value=p.value.DCVdnsValue,x.domain_name=p.value.dcvList.map((e=>e.domainName)).join(","),U.value=p.value.dcvList[0].dcvMethod,x.file_name=p.value.DCVfileName,x.file_content=p.value.DCVfileContent,R.value=y?.value||[]},I=()=>{s({title:"Modify the verification method",width:500,minHeight:200,data:{uc_id:_.value,onRefresh:F},footer:!0,component:N((()=>o((()=>l.import("./change-verification-legacy-DweqxCKD.js?v=1774508183068")),void 0)))})};return(e,l)=>{const t=a,n=u,i=m,s=v;return C(),b("div",G,[B(H)?(C(),M(T,{key:0,form:B(x)},null,8,["form"])):(C(),M(Z,{key:1,form:B(x),paths:B(R)},null,8,["form","paths"])),w(n,{class:"my-20px"},{default:S((()=>[l[0]||(l[0]=g("li",null,"Check for the existence of CAA records, and if they exist, please remove the relevant CAA records.",-1)),g("li",null,j(e.$t("SSL.Business.index_16")),1),g("li",null,j(e.$t("SSL.Business.index_17")),1),g("li",null,j(e.$t("SSL.Business.index_18")),1),g("li",null,j(e.$t("SSL.Business.index_19")),1),g("li",null,[w(t,{href:"https://www.aapanel.com/docs/Function/BusinessCertificate.html",target:"_blank"},{default:S((()=>[k(j(e.$t("SSL.Business.index_20")),1)])),_:1})])])),_:1,__:[0]}),w(s,null,{default:S((()=>[w(i,{type:"primary",onClick:F},{default:S((()=>[k(j(e.$t("SSL.Business.index_21")),1)])),_:1}),w(i,{onClick:I},{default:S((()=>l[1]||(l[1]=[k("Modifiy verify")]))),_:1,__:[1]}),w(i,{onClick:q},{default:S((()=>[k(j(e.$t("SSL.Business.index_22")),1)])),_:1})])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/echarts-DiepRh70.js b/BTPanel/static/vite/js/echarts-DiepRh70.js index 4ac43af4..c6b4dee4 100644 --- a/BTPanel/static/vite/js/echarts-DiepRh70.js +++ b/BTPanel/static/vite/js/echarts-DiepRh70.js @@ -1 +1 @@ -import{c as PD}from"./prismjs-BZPoR7_J.js?v=1773287522785";var Ow=function(r,t){return Ow=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,a){e.__proto__=a}||function(e,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(e[i]=a[i])},Ow(r,t)};function he(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ow(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var cY=(function(){function r(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return r})(),dY=(function(){function r(){this.browser=new cY,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return r})(),vt=new dY;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(vt.wxa=!0,vt.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?vt.worker=!0:!vt.hasGlobalWindow||"Deno"in window?(vt.node=!0,vt.svgSupported=!0):pY(navigator.userAgent,vt);function pY(r,t){var e=t.browser,a=r.match(/Firefox\/([\d.]+)/),i=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/.+?rv:(([\d.]+))/),n=r.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(r);a&&(e.firefox=!0,e.version=a[1]),i&&(e.ie=!0,e.version=i[1]),n&&(e.edge=!0,e.version=n[1],e.newEdge=+n[1].split(".")[0]>18),o&&(e.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!e.ie&&!e.edge,t.pointerEventsSupported="onpointerdown"in window&&(e.edge||e.ie&&+e.version>=11),t.domSupported=typeof document<"u";var s=document.documentElement.style;t.transform3dSupported=(e.ie&&"transition"in s||e.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||e.ie&&+e.version>=9}var LA=12,L4="sans-serif",oo=LA+"px "+L4,gY=20,mY=100,yY="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function _Y(r){var t={};if(typeof JSON>"u")return t;for(var e=0;e=0)s=o*e.length;else for(var l=0;l>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",a[l]+":0",i[u]+":0",a[1-l]+":auto",i[1-u]+":auto",""].join("!important;"),r.appendChild(o),e.push(o)}return e}function FY(r,t,e){for(var a=e?"invTrans":"trans",i=t[a],n=t.srcCoords,o=[],s=[],l=!0,u=0;u<4;u++){var v=r[u].getBoundingClientRect(),h=2*u,f=v.left,c=v.top;o.push(f,c),l=l&&n&&f===n[h]&&c===n[h+1],s.push(r[u].offsetLeft,r[u].offsetTop)}return l&&i?i:(t.srcCoords=o,t[a]=e?ED(s,o):ED(o,s))}function F4(r){return r.nodeName.toUpperCase()==="CANVAS"}var HY=/([&<>"'])/g,qY={"&":"&","<":"<",">":">",'"':""","'":"'"};function Zr(r){return r==null?"":(r+"").replace(HY,function(t,e){return qY[e]})}var WY=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ig=[],UY=vt.browser.firefox&&+vt.browser.version.split(".")[0]<39;function Gw(r,t,e,a){return e=e||{},a?OD(r,t,e):UY&&t.layerX!=null&&t.layerX!==t.offsetX?(e.zrX=t.layerX,e.zrY=t.layerY):t.offsetX!=null?(e.zrX=t.offsetX,e.zrY=t.offsetY):OD(r,t,e),e}function OD(r,t,e){if(vt.domSupported&&r.getBoundingClientRect){var a=t.clientX,i=t.clientY;if(F4(r)){var n=r.getBoundingClientRect();e.zrX=a-n.left,e.zrY=i-n.top;return}else if(Vw(Ig,r,a,i)){e.zrX=Ig[0],e.zrY=Ig[1];return}}e.zrX=e.zrY=0}function NA(r){return r||window.event}function Ba(r,t,e){if(t=NA(t),t.zrX!=null)return t;var a=t.type,i=a&&a.indexOf("touch")>=0;if(i){var o=a!=="touchend"?t.targetTouches[0]:t.changedTouches[0];o&&Gw(r,o,t,e)}else{Gw(r,t,t,e);var n=$Y(t);t.zrDelta=n?n/120:-(t.detail||0)/3}var s=t.button;return t.which==null&&s!==void 0&&WY.test(t.type)&&(t.which=s&1?1:s&2?3:s&4?2:0),t}function $Y(r){var t=r.wheelDelta;if(t)return t;var e=r.deltaX,a=r.deltaY;if(e==null||a==null)return t;var i=Math.abs(a!==0?a:e),n=a>0?-1:a<0?1:e>0?-1:1;return 3*i*n}function Fw(r,t,e,a){r.addEventListener(t,e,a)}function YY(r,t,e,a){r.removeEventListener(t,e,a)}var _n=function(r){r.preventDefault(),r.stopPropagation(),r.cancelBubble=!0};function ND(r){return r.which===2||r.which===3}var ZY=(function(){function r(){this._track=[]}return r.prototype.recognize=function(t,e,a){return this._doTrack(t,e,a),this._recognize(t)},r.prototype.clear=function(){return this._track.length=0,this},r.prototype._doTrack=function(t,e,a){var i=t.touches;if(i){for(var n={points:[],touches:[],target:e,event:t},o=0,s=i.length;o1&&a&&a.length>1){var n=zD(a)/zD(i);!isFinite(n)&&(n=1),t.pinchScale=n;var o=XY(a);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:r[0].target,event:t}}}}};function xa(){return[1,0,0,1,0,0]}function Vh(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function Sp(r,t){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r[4]=t[4],r[5]=t[5],r}function Wi(r,t,e){var a=t[0]*e[0]+t[2]*e[1],i=t[1]*e[0]+t[3]*e[1],n=t[0]*e[2]+t[2]*e[3],o=t[1]*e[2]+t[3]*e[3],s=t[0]*e[4]+t[2]*e[5]+t[4],l=t[1]*e[4]+t[3]*e[5]+t[5];return r[0]=a,r[1]=i,r[2]=n,r[3]=o,r[4]=s,r[5]=l,r}function yi(r,t,e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r[4]=t[4]+e[0],r[5]=t[5]+e[1],r}function co(r,t,e,a){a===void 0&&(a=[0,0]);var i=t[0],n=t[2],o=t[4],s=t[1],l=t[3],u=t[5],v=Math.sin(e),h=Math.cos(e);return r[0]=i*h+s*v,r[1]=-i*v+s*h,r[2]=n*h+l*v,r[3]=-n*v+h*l,r[4]=h*(o-a[0])+v*(u-a[1])+a[0],r[5]=h*(u-a[1])-v*(o-a[0])+a[1],r}function bp(r,t,e){var a=e[0],i=e[1];return r[0]=t[0]*a,r[1]=t[1]*i,r[2]=t[2]*a,r[3]=t[3]*i,r[4]=t[4]*a,r[5]=t[5]*i,r}function Ns(r,t){var e=t[0],a=t[2],i=t[4],n=t[1],o=t[3],s=t[5],l=e*o-n*a;return l?(l=1/l,r[0]=o*l,r[1]=-n*l,r[2]=-a*l,r[3]=e*l,r[4]=(a*s-o*i)*l,r[5]=(n*i-e*s)*l,r):null}function H4(r){var t=xa();return Sp(t,r),t}const KY=Object.freeze(Object.defineProperty({__proto__:null,clone:H4,copy:Sp,create:xa,identity:Vh,invert:Ns,mul:Wi,rotate:co,scale:bp,translate:yi},Symbol.toStringTag,{value:"Module"}));var rt=(function(){function r(t,e){this.x=t||0,this.y=e||0}return r.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},r.prototype.clone=function(){return new r(this.x,this.y)},r.prototype.set=function(t,e){return this.x=t,this.y=e,this},r.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},r.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},r.prototype.scale=function(t){this.x*=t,this.y*=t},r.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},r.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},r.prototype.dot=function(t){return this.x*t.x+this.y*t.y},r.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},r.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},r.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},r.prototype.distance=function(t){var e=this.x-t.x,a=this.y-t.y;return Math.sqrt(e*e+a*a)},r.prototype.distanceSquare=function(t){var e=this.x-t.x,a=this.y-t.y;return e*e+a*a},r.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},r.prototype.transform=function(t){if(t){var e=this.x,a=this.y;return this.x=t[0]*e+t[2]*a+t[4],this.y=t[1]*e+t[3]*a+t[5],this}},r.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},r.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},r.set=function(t,e,a){t.x=e,t.y=a},r.copy=function(t,e){t.x=e.x,t.y=e.y},r.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},r.lenSquare=function(t){return t.x*t.x+t.y*t.y},r.dot=function(t,e){return t.x*e.x+t.y*e.y},r.add=function(t,e,a){t.x=e.x+a.x,t.y=e.y+a.y},r.sub=function(t,e,a){t.x=e.x-a.x,t.y=e.y-a.y},r.scale=function(t,e,a){t.x=e.x*a,t.y=e.y*a},r.scaleAndAdd=function(t,e,a,i){t.x=e.x+a.x*i,t.y=e.y+a.y*i},r.lerp=function(t,e,a,i){var n=1-i;t.x=n*e.x+i*a.x,t.y=n*e.y+i*a.y},r})(),Af=Math.min,Cf=Math.max,Co=new rt,Mo=new rt,Do=new rt,Lo=new rt,ku=new rt,Ou=new rt,at=(function(){function r(t,e,a,i){a<0&&(t=t+a,a=-a),i<0&&(e=e+i,i=-i),this.x=t,this.y=e,this.width=a,this.height=i}return r.prototype.union=function(t){var e=Af(t.x,this.x),a=Af(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Cf(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=Cf(t.y+t.height,this.y+this.height)-a:this.height=t.height,this.x=e,this.y=a},r.prototype.applyTransform=function(t){r.applyTransform(this,this,t)},r.prototype.calculateTransform=function(t){var e=this,a=t.width/e.width,i=t.height/e.height,n=xa();return yi(n,n,[-e.x,-e.y]),bp(n,n,[a,i]),yi(n,n,[t.x,t.y]),n},r.prototype.intersect=function(t,e){if(!t)return!1;t instanceof r||(t=r.create(t));var a=this,i=a.x,n=a.x+a.width,o=a.y,s=a.y+a.height,l=t.x,u=t.x+t.width,v=t.y,h=t.y+t.height,f=!(nd&&(d=_,pd&&(d=x,m=a.x&&t<=a.x+a.width&&e>=a.y&&e<=a.y+a.height},r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height)},r.prototype.copy=function(t){r.copy(this,t)},r.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},r.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},r.prototype.isZero=function(){return this.width===0||this.height===0},r.create=function(t){return new r(t.x,t.y,t.width,t.height)},r.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},r.applyTransform=function(t,e,a){if(!a){t!==e&&r.copy(t,e);return}if(a[1]<1e-5&&a[1]>-1e-5&&a[2]<1e-5&&a[2]>-1e-5){var i=a[0],n=a[3],o=a[4],s=a[5];t.x=e.x*i+o,t.y=e.y*n+s,t.width=e.width*i,t.height=e.height*n,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}Co.x=Do.x=e.x,Co.y=Lo.y=e.y,Mo.x=Lo.x=e.x+e.width,Mo.y=Do.y=e.y+e.height,Co.transform(a),Lo.transform(a),Mo.transform(a),Do.transform(a),t.x=Af(Co.x,Mo.x,Do.x,Lo.x),t.y=Af(Co.y,Mo.y,Do.y,Lo.y);var l=Cf(Co.x,Mo.x,Do.x,Lo.x),u=Cf(Co.y,Mo.y,Do.y,Lo.y);t.width=l-t.x,t.height=u-t.y},r})(),q4="silent";function QY(r,t,e){return{type:r,event:e,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:e.zrX,offsetY:e.zrY,gestureEvent:e.gestureEvent,pinchX:e.pinchX,pinchY:e.pinchY,pinchScale:e.pinchScale,wheelDelta:e.zrDelta,zrByTouch:e.zrByTouch,which:e.which,stop:jY}}function jY(){_n(this.event)}var JY=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.handler=null,e}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t})(Xa),Nu=(function(){function r(t,e){this.x=t,this.y=e}return r})(),eZ=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Rg=new at(0,0,0,0),W4=(function(r){he(t,r);function t(e,a,i,n,o){var s=r.call(this)||this;return s._hovered=new Nu(0,0),s.storage=e,s.painter=a,s.painterRoot=n,s._pointerSize=o,i=i||new JY,s.proxy=null,s.setHandlerProxy(i),s._draggingMgr=new zY(s),s}return t.prototype.setHandlerProxy=function(e){this.proxy&&this.proxy.dispose(),e&&($(eZ,function(a){e.on&&e.on(a,this[a],this)},this),e.handler=this),this.proxy=e},t.prototype.mousemove=function(e){var a=e.zrX,i=e.zrY,n=U4(this,a,i),o=this._hovered,s=o.target;s&&!s.__zr&&(o=this.findHover(o.x,o.y),s=o.target);var l=this._hovered=n?new Nu(a,i):this.findHover(a,i),u=l.target,v=this.proxy;v.setCursor&&v.setCursor(u?u.cursor:"default"),s&&u!==s&&this.dispatchToElement(o,"mouseout",e),this.dispatchToElement(l,"mousemove",e),u&&u!==s&&this.dispatchToElement(l,"mouseover",e)},t.prototype.mouseout=function(e){var a=e.zrEventControl;a!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",e),a!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:e})},t.prototype.resize=function(){this._hovered=new Nu(0,0)},t.prototype.dispatch=function(e,a){var i=this[e];i&&i.call(this,a)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(e){var a=this.proxy;a.setCursor&&a.setCursor(e)},t.prototype.dispatchToElement=function(e,a,i){e=e||{};var n=e.target;if(!(n&&n.silent)){for(var o="on"+a,s=QY(a,e,i);n&&(n[o]&&(s.cancelBubble=!!n[o].call(n,s)),n.trigger(a,s),n=n.__hostTarget?n.__hostTarget:n.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(a,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(l){typeof l[o]=="function"&&l[o].call(l,s),l.trigger&&l.trigger(a,s)}))}},t.prototype.findHover=function(e,a,i){var n=this.storage.getDisplayList(),o=new Nu(e,a);if(BD(n,o,e,a,i),this._pointerSize&&!o.target){for(var s=[],l=this._pointerSize,u=l/2,v=new at(e-u,a-u,l,l),h=n.length-1;h>=0;h--){var f=n[h];f!==i&&!f.ignore&&!f.ignoreCoarsePointer&&(!f.parent||!f.parent.ignoreCoarsePointer)&&(Rg.copy(f.getBoundingRect()),f.transform&&Rg.applyTransform(f.transform),Rg.intersect(v)&&s.push(f))}if(s.length)for(var c=4,d=Math.PI/12,p=Math.PI*2,g=0;g4)return;this._downPoint=null}this.dispatchToElement(n,r,t)}});function tZ(r,t,e){if(r[r.rectHover?"rectContain":"contain"](t,e)){for(var a=r,i=void 0,n=!1;a;){if(a.ignoreClip&&(n=!0),!n){var o=a.getClipPath();if(o&&!o.contain(t,e))return!1}a.silent&&(i=!0);var s=a.__hostTarget;a=s||a.parent}return i?q4:!0}return!1}function BD(r,t,e,a,i){for(var n=r.length-1;n>=0;n--){var o=r[n],s=void 0;if(o!==i&&!o.ignore&&(s=tZ(o,e,a))&&(!t.topTarget&&(t.topTarget=o),s!==q4)){t.target=o;break}}}function U4(r,t,e){var a=r.painter;return t<0||t>a.getWidth()||e<0||e>a.getHeight()}var $4=32,zu=7;function rZ(r){for(var t=0;r>=$4;)t|=r&1,r>>=1;return r+t}function VD(r,t,e,a){var i=t+1;if(i===e)return 1;if(a(r[i++],r[t])<0){for(;i=0;)i++;return i-t}function aZ(r,t,e){for(e--;t>>1,i(n,r[l])<0?s=l:o=l+1;var u=a-o;switch(u){case 3:r[o+3]=r[o+2];case 2:r[o+2]=r[o+1];case 1:r[o+1]=r[o];break;default:for(;u>0;)r[o+u]=r[o+u-1],u--}r[o]=n}}function Eg(r,t,e,a,i,n){var o=0,s=0,l=1;if(n(r,t[e+i])>0){for(s=a-i;l0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}else{for(s=i+1;ls&&(l=s);var u=o;o=i-l,l=i-u}for(o++;o>>1);n(r,t[e+v])>0?o=v+1:l=v}return l}function kg(r,t,e,a,i,n){var o=0,s=0,l=1;if(n(r,t[e+i])<0){for(s=i+1;ls&&(l=s);var u=o;o=i-l,l=i-u}else{for(s=a-i;l=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}for(o++;o>>1);n(r,t[e+v])<0?l=v:o=v+1}return l}function iZ(r,t){var e=zu,a,i,n=0,o=[];a=[],i=[];function s(c,d){a[n]=c,i[n]=d,n+=1}function l(){for(;n>1;){var c=n-2;if(c>=1&&i[c-1]<=i[c]+i[c+1]||c>=2&&i[c-2]<=i[c]+i[c-1])i[c-1]i[c+1])break;v(c)}}function u(){for(;n>1;){var c=n-2;c>0&&i[c-1]=zu||w>=zu);if(A)break;S<0&&(S=0),S+=2}if(e=S,e<1&&(e=1),d===1){for(m=0;m=0;m--)r[b+m]=r[S+m];r[x]=o[_];return}for(var w=e;;){var A=0,T=0,C=!1;do if(t(o[_],r[y])<0){if(r[x--]=r[y--],A++,T=0,--d===0){C=!0;break}}else if(r[x--]=o[_--],T++,A=0,--g===1){C=!0;break}while((A|T)=0;m--)r[b+m]=r[S+m];if(d===0){C=!0;break}}if(r[x--]=o[_--],--g===1){C=!0;break}if(T=g-Eg(r[y],o,0,g,g-1,t),T!==0){for(x-=T,_-=T,g-=T,b=x+1,S=_+1,m=0;m=zu||T>=zu);if(C)break;w<0&&(w=0),w+=2}if(e=w,e<1&&(e=1),g===1){for(x-=d,y-=d,b=x+1,S=y+1,m=d-1;m>=0;m--)r[b+m]=r[S+m];r[x]=o[_]}else{if(g===0)throw new Error;for(S=x-(g-1),m=0;ms&&(l=s),GD(r,e,e+l,e+n,t),n=l}o.pushRun(e,n),o.mergeRuns(),i-=n,e+=n}while(i!==0);o.forceMergeRuns()}}var ba=1,Dv=2,Dl=4,FD=!1;function Og(){FD||(FD=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function HD(r,t){return r.zlevel===t.zlevel?r.z===t.z?r.z2-t.z2:r.z-t.z:r.zlevel-t.zlevel}var nZ=(function(){function r(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=HD}return r.prototype.traverse=function(t,e){for(var a=0;a0&&(v.__clipPaths=[]),isNaN(v.z)&&(Og(),v.z=0),isNaN(v.z2)&&(Og(),v.z2=0),isNaN(v.zlevel)&&(Og(),v.zlevel=0),this._displayList[this._displayListLen++]=v}var h=t.getDecalElement&&t.getDecalElement();h&&this._updateAndAddDisplayable(h,e,a);var f=t.getTextGuideLine();f&&this._updateAndAddDisplayable(f,e,a);var c=t.getTextContent();c&&this._updateAndAddDisplayable(c,e,a)}},r.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},r.prototype.delRoot=function(t){if(t instanceof Array){for(var e=0,a=t.length;e=0&&this._roots.splice(i,1)},r.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},r.prototype.getRoots=function(){return this._roots},r.prototype.dispose=function(){this._displayList=null,this._roots=null},r})(),xd;xd=vt.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(r){return setTimeout(r,16)};var Wv={linear:function(r){return r},quadraticIn:function(r){return r*r},quadraticOut:function(r){return r*(2-r)},quadraticInOut:function(r){return(r*=2)<1?.5*r*r:-.5*(--r*(r-2)-1)},cubicIn:function(r){return r*r*r},cubicOut:function(r){return--r*r*r+1},cubicInOut:function(r){return(r*=2)<1?.5*r*r*r:.5*((r-=2)*r*r+2)},quarticIn:function(r){return r*r*r*r},quarticOut:function(r){return 1- --r*r*r*r},quarticInOut:function(r){return(r*=2)<1?.5*r*r*r*r:-.5*((r-=2)*r*r*r-2)},quinticIn:function(r){return r*r*r*r*r},quinticOut:function(r){return--r*r*r*r*r+1},quinticInOut:function(r){return(r*=2)<1?.5*r*r*r*r*r:.5*((r-=2)*r*r*r*r+2)},sinusoidalIn:function(r){return 1-Math.cos(r*Math.PI/2)},sinusoidalOut:function(r){return Math.sin(r*Math.PI/2)},sinusoidalInOut:function(r){return .5*(1-Math.cos(Math.PI*r))},exponentialIn:function(r){return r===0?0:Math.pow(1024,r-1)},exponentialOut:function(r){return r===1?1:1-Math.pow(2,-10*r)},exponentialInOut:function(r){return r===0?0:r===1?1:(r*=2)<1?.5*Math.pow(1024,r-1):.5*(-Math.pow(2,-10*(r-1))+2)},circularIn:function(r){return 1-Math.sqrt(1-r*r)},circularOut:function(r){return Math.sqrt(1- --r*r)},circularInOut:function(r){return(r*=2)<1?-.5*(Math.sqrt(1-r*r)-1):.5*(Math.sqrt(1-(r-=2)*r)+1)},elasticIn:function(r){var t,e=.1,a=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=a/4):t=a*Math.asin(1/e)/(2*Math.PI),-(e*Math.pow(2,10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/a)))},elasticOut:function(r){var t,e=.1,a=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=a/4):t=a*Math.asin(1/e)/(2*Math.PI),e*Math.pow(2,-10*r)*Math.sin((r-t)*(2*Math.PI)/a)+1)},elasticInOut:function(r){var t,e=.1,a=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=a/4):t=a*Math.asin(1/e)/(2*Math.PI),(r*=2)<1?-.5*(e*Math.pow(2,10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/a)):e*Math.pow(2,-10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/a)*.5+1)},backIn:function(r){var t=1.70158;return r*r*((t+1)*r-t)},backOut:function(r){var t=1.70158;return--r*r*((t+1)*r+t)+1},backInOut:function(r){var t=2.5949095;return(r*=2)<1?.5*(r*r*((t+1)*r-t)):.5*((r-=2)*r*((t+1)*r+t)+2)},bounceIn:function(r){return 1-Wv.bounceOut(1-r)},bounceOut:function(r){return r<1/2.75?7.5625*r*r:r<2/2.75?7.5625*(r-=1.5/2.75)*r+.75:r<2.5/2.75?7.5625*(r-=2.25/2.75)*r+.9375:7.5625*(r-=2.625/2.75)*r+.984375},bounceInOut:function(r){return r<.5?Wv.bounceIn(r*2)*.5:Wv.bounceOut(r*2-1)*.5+.5}},Mf=Math.pow,eo=Math.sqrt,Sd=1e-8,Y4=1e-4,qD=eo(3),Df=1/3,Bi=fo(),Ha=fo(),Bl=fo();function Yn(r){return r>-Sd&&rSd||r<-Sd}function br(r,t,e,a,i){var n=1-i;return n*n*(n*r+3*i*t)+i*i*(i*a+3*n*e)}function WD(r,t,e,a,i){var n=1-i;return 3*(((t-r)*n+2*(e-t)*i)*n+(a-e)*i*i)}function bd(r,t,e,a,i,n){var o=a+3*(t-e)-r,s=3*(e-t*2+r),l=3*(t-r),u=r-i,v=s*s-3*o*l,h=s*l-9*o*u,f=l*l-3*s*u,c=0;if(Yn(v)&&Yn(h))if(Yn(s))n[0]=0;else{var d=-l/s;d>=0&&d<=1&&(n[c++]=d)}else{var p=h*h-4*v*f;if(Yn(p)){var g=h/v,d=-s/o+g,m=-g/2;d>=0&&d<=1&&(n[c++]=d),m>=0&&m<=1&&(n[c++]=m)}else if(p>0){var y=eo(p),_=v*s+1.5*o*(-h+y),x=v*s+1.5*o*(-h-y);_<0?_=-Mf(-_,Df):_=Mf(_,Df),x<0?x=-Mf(-x,Df):x=Mf(x,Df);var d=(-s-(_+x))/(3*o);d>=0&&d<=1&&(n[c++]=d)}else{var S=(2*v*s-3*o*h)/(2*eo(v*v*v)),b=Math.acos(S)/3,w=eo(v),A=Math.cos(b),d=(-s-2*w*A)/(3*o),m=(-s+w*(A+qD*Math.sin(b)))/(3*o),T=(-s+w*(A-qD*Math.sin(b)))/(3*o);d>=0&&d<=1&&(n[c++]=d),m>=0&&m<=1&&(n[c++]=m),T>=0&&T<=1&&(n[c++]=T)}}return c}function X4(r,t,e,a,i){var n=6*e-12*t+6*r,o=9*t+3*a-3*r-9*e,s=3*t-3*r,l=0;if(Yn(o)){if(Z4(n)){var u=-s/n;u>=0&&u<=1&&(i[l++]=u)}}else{var v=n*n-4*o*s;if(Yn(v))i[0]=-n/(2*o);else if(v>0){var h=eo(v),u=(-n+h)/(2*o),f=(-n-h)/(2*o);u>=0&&u<=1&&(i[l++]=u),f>=0&&f<=1&&(i[l++]=f)}}return l}function so(r,t,e,a,i,n){var o=(t-r)*i+r,s=(e-t)*i+t,l=(a-e)*i+e,u=(s-o)*i+o,v=(l-s)*i+s,h=(v-u)*i+u;n[0]=r,n[1]=o,n[2]=u,n[3]=h,n[4]=h,n[5]=v,n[6]=l,n[7]=a}function K4(r,t,e,a,i,n,o,s,l,u,v){var h,f=.005,c=1/0,d,p,g,m;Bi[0]=l,Bi[1]=u;for(var y=0;y<1;y+=.05)Ha[0]=br(r,e,i,o,y),Ha[1]=br(t,a,n,s,y),g=Jn(Bi,Ha),g=0&&g=0&&u<=1&&(i[l++]=u)}}else{var v=o*o-4*n*s;if(Yn(v)){var u=-o/(2*n);u>=0&&u<=1&&(i[l++]=u)}else if(v>0){var h=eo(v),u=(-o+h)/(2*n),f=(-o-h)/(2*n);u>=0&&u<=1&&(i[l++]=u),f>=0&&f<=1&&(i[l++]=f)}}return l}function Q4(r,t,e){var a=r+e-2*t;return a===0?.5:(r-t)/a}function uh(r,t,e,a,i){var n=(t-r)*a+r,o=(e-t)*a+t,s=(o-n)*a+n;i[0]=r,i[1]=n,i[2]=s,i[3]=s,i[4]=o,i[5]=e}function j4(r,t,e,a,i,n,o,s,l){var u,v=.005,h=1/0;Bi[0]=o,Bi[1]=s;for(var f=0;f<1;f+=.05){Ha[0]=kr(r,e,i,f),Ha[1]=kr(t,a,n,f);var c=Jn(Bi,Ha);c=0&&c=1?1:bd(0,a,n,1,l,s)&&br(0,i,o,1,s[0])}}}var vZ=(function(){function r(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||ir,this.ondestroy=t.ondestroy||ir,this.onrestart=t.onrestart||ir,t.easing&&this.setEasing(t.easing)}return r.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=e;return}var a=this._life,i=t-this._startTime-this._pausedTime,n=i/a;n<0&&(n=0),n=Math.min(n,1);var o=this.easingFunc,s=o?o(n):n;if(this.onframe(s),n===1)if(this.loop){var l=i%a;this._startTime=t-l,this._pausedTime=0,this.onrestart()}else return!0;return!1},r.prototype.pause=function(){this._paused=!0},r.prototype.resume=function(){this._paused=!1},r.prototype.setEasing=function(t){this.easing=t,this.easingFunc=He(t)?t:Wv[t]||zA(t)},r})(),J4=(function(){function r(t){this.value=t}return r})(),hZ=(function(){function r(){this._len=0}return r.prototype.insert=function(t){var e=new J4(t);return this.insertEntry(e),e},r.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},r.prototype.remove=function(t){var e=t.prev,a=t.next;e?e.next=a:this.head=a,a?a.prev=e:this.tail=e,t.next=t.prev=null,this._len--},r.prototype.len=function(){return this._len},r.prototype.clear=function(){this.head=this.tail=null,this._len=0},r})(),Gh=(function(){function r(t){this._list=new hZ,this._maxSize=10,this._map={},this._maxSize=t}return r.prototype.put=function(t,e){var a=this._list,i=this._map,n=null;if(i[t]==null){var o=a.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=a.head;a.remove(l),delete i[l.key],n=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new J4(e),s.key=t,a.insertEntry(s),i[t]=s}return n},r.prototype.get=function(t){var e=this._map[t],a=this._list;if(e!=null)return e!==a.tail&&(a.remove(e),a.insertEntry(e)),e.value},r.prototype.clear=function(){this._list.clear(),this._map={}},r.prototype.len=function(){return this._list.len()},r})(),UD={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function di(r){return r=Math.round(r),r<0?0:r>255?255:r}function fZ(r){return r=Math.round(r),r<0?0:r>360?360:r}function vh(r){return r<0?0:r>1?1:r}function Ng(r){var t=r;return t.length&&t.charAt(t.length-1)==="%"?di(parseFloat(t)/100*255):di(parseInt(t,10))}function _s(r){var t=r;return t.length&&t.charAt(t.length-1)==="%"?vh(parseFloat(t)/100):vh(parseFloat(t))}function zg(r,t,e){return e<0?e+=1:e>1&&(e-=1),e*6<1?r+(t-r)*e*6:e*2<1?t:e*3<2?r+(t-r)*(2/3-e)*6:r}function Zn(r,t,e){return r+(t-r)*e}function Na(r,t,e,a,i){return r[0]=t,r[1]=e,r[2]=a,r[3]=i,r}function qw(r,t){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r}var eq=new Gh(20),Lf=null;function tl(r,t){Lf&&qw(Lf,t),Lf=eq.put(r,Lf||t.slice())}function sa(r,t){if(r){t=t||[];var e=eq.get(r);if(e)return qw(t,e);r=r+"";var a=r.replace(/ /g,"").toLowerCase();if(a in UD)return qw(t,UD[a]),tl(r,t),t;var i=a.length;if(a.charAt(0)==="#"){if(i===4||i===5){var n=parseInt(a.slice(1,4),16);if(!(n>=0&&n<=4095)){Na(t,0,0,0,1);return}return Na(t,(n&3840)>>4|(n&3840)>>8,n&240|(n&240)>>4,n&15|(n&15)<<4,i===5?parseInt(a.slice(4),16)/15:1),tl(r,t),t}else if(i===7||i===9){var n=parseInt(a.slice(1,7),16);if(!(n>=0&&n<=16777215)){Na(t,0,0,0,1);return}return Na(t,(n&16711680)>>16,(n&65280)>>8,n&255,i===9?parseInt(a.slice(7),16)/255:1),tl(r,t),t}return}var o=a.indexOf("("),s=a.indexOf(")");if(o!==-1&&s+1===i){var l=a.substr(0,o),u=a.substr(o+1,s-(o+1)).split(","),v=1;switch(l){case"rgba":if(u.length!==4)return u.length===3?Na(t,+u[0],+u[1],+u[2],1):Na(t,0,0,0,1);v=_s(u.pop());case"rgb":if(u.length>=3)return Na(t,Ng(u[0]),Ng(u[1]),Ng(u[2]),u.length===3?v:_s(u[3])),tl(r,t),t;Na(t,0,0,0,1);return;case"hsla":if(u.length!==4){Na(t,0,0,0,1);return}return u[3]=_s(u[3]),Ww(u,t),tl(r,t),t;case"hsl":if(u.length!==3){Na(t,0,0,0,1);return}return Ww(u,t),tl(r,t),t;default:return}}Na(t,0,0,0,1)}}function Ww(r,t){var e=(parseFloat(r[0])%360+360)%360/360,a=_s(r[1]),i=_s(r[2]),n=i<=.5?i*(a+1):i+a-i*a,o=i*2-n;return t=t||[],Na(t,di(zg(o,n,e+1/3)*255),di(zg(o,n,e)*255),di(zg(o,n,e-1/3)*255),1),r.length===4&&(t[3]=r[3]),t}function cZ(r){if(r){var t=r[0]/255,e=r[1]/255,a=r[2]/255,i=Math.min(t,e,a),n=Math.max(t,e,a),o=n-i,s=(n+i)/2,l,u;if(o===0)l=0,u=0;else{s<.5?u=o/(n+i):u=o/(2-n-i);var v=((n-t)/6+o/2)/o,h=((n-e)/6+o/2)/o,f=((n-a)/6+o/2)/o;t===n?l=f-h:e===n?l=1/3+v-f:a===n&&(l=2/3+h-v),l<0&&(l+=1),l>1&&(l-=1)}var c=[l*360,u,s];return r[3]!=null&&c.push(r[3]),c}}function wd(r,t){var e=sa(r);if(e){for(var a=0;a<3;a++)t<0?e[a]=e[a]*(1-t)|0:e[a]=(255-e[a])*t+e[a]|0,e[a]>255?e[a]=255:e[a]<0&&(e[a]=0);return pi(e,e.length===4?"rgba":"rgb")}}function dZ(r){var t=sa(r);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)}function Uv(r,t,e){if(!(!(t&&t.length)||!(r>=0&&r<=1))){e=e||[];var a=r*(t.length-1),i=Math.floor(a),n=Math.ceil(a),o=t[i],s=t[n],l=a-i;return e[0]=di(Zn(o[0],s[0],l)),e[1]=di(Zn(o[1],s[1],l)),e[2]=di(Zn(o[2],s[2],l)),e[3]=vh(Zn(o[3],s[3],l)),e}}var pZ=Uv;function BA(r,t,e){if(!(!(t&&t.length)||!(r>=0&&r<=1))){var a=r*(t.length-1),i=Math.floor(a),n=Math.ceil(a),o=sa(t[i]),s=sa(t[n]),l=a-i,u=pi([di(Zn(o[0],s[0],l)),di(Zn(o[1],s[1],l)),di(Zn(o[2],s[2],l)),vh(Zn(o[3],s[3],l))],"rgba");return e?{color:u,leftIndex:i,rightIndex:n,value:a}:u}}var gZ=BA;function Vl(r,t,e,a){var i=sa(r);if(r)return i=cZ(i),t!=null&&(i[0]=fZ(t)),e!=null&&(i[1]=_s(e)),a!=null&&(i[2]=_s(a)),pi(Ww(i),"rgba")}function hh(r,t){var e=sa(r);if(e&&t!=null)return e[3]=vh(t),pi(e,"rgba")}function pi(r,t){if(!(!r||!r.length)){var e=r[0]+","+r[1]+","+r[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(e+=","+r[3]),t+"("+e+")"}}function fh(r,t){var e=sa(r);return e?(.299*e[0]+.587*e[1]+.114*e[2])*e[3]/255+(1-e[3])*t:0}function mZ(){return pi([Math.round(Math.random()*255),Math.round(Math.random()*255),Math.round(Math.random()*255)],"rgb")}var $D=new Gh(100);function Td(r){if(Re(r)){var t=$D.get(r);return t||(t=wd(r,-.1),$D.put(r,t)),t}else if(zh(r)){var e=_e({},r);return e.colorStops=we(r.colorStops,function(a){return{offset:a.offset,color:wd(a.color,-.1)}}),e}return r}const yZ=Object.freeze(Object.defineProperty({__proto__:null,fastLerp:Uv,fastMapToColor:pZ,lerp:BA,lift:wd,liftColor:Td,lum:fh,mapToColor:gZ,modifyAlpha:hh,modifyHSL:Vl,parse:sa,random:mZ,stringify:pi,toHex:dZ},Symbol.toStringTag,{value:"Module"}));var Ad=Math.round;function ch(r){var t;if(!r||r==="transparent")r="none";else if(typeof r=="string"&&r.indexOf("rgba")>-1){var e=sa(r);e&&(r="rgb("+e[0]+","+e[1]+","+e[2]+")",t=e[3])}return{color:r,opacity:t==null?1:t}}var YD=1e-4;function Xn(r){return r-YD}function If(r){return Ad(r*1e3)/1e3}function Uw(r){return Ad(r*1e4)/1e4}function _Z(r){return"matrix("+If(r[0])+","+If(r[1])+","+If(r[2])+","+If(r[3])+","+Uw(r[4])+","+Uw(r[5])+")"}var xZ={left:"start",right:"end",center:"middle",middle:"middle"};function SZ(r,t,e){return e==="top"?r+=t/2:e==="bottom"&&(r-=t/2),r}function bZ(r){return r&&(r.shadowBlur||r.shadowOffsetX||r.shadowOffsetY)}function wZ(r){var t=r.style,e=r.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),e[0],e[1]].join(",")}function tq(r){return r&&!!r.image}function TZ(r){return r&&!!r.svgElement}function VA(r){return tq(r)||TZ(r)}function rq(r){return r.type==="linear"}function aq(r){return r.type==="radial"}function iq(r){return r&&(r.type==="linear"||r.type==="radial")}function wp(r){return"url(#"+r+")"}function nq(r){var t=r.getGlobalScale(),e=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(e)/Math.log(10)),1)}function oq(r){var t=r.x||0,e=r.y||0,a=(r.rotation||0)*Fv,i=Je(r.scaleX,1),n=Je(r.scaleY,1),o=r.skewX||0,s=r.skewY||0,l=[];return(t||e)&&l.push("translate("+t+"px,"+e+"px)"),a&&l.push("rotate("+a+")"),(i!==1||n!==1)&&l.push("scale("+i+","+n+")"),(o||s)&&l.push("skew("+Ad(o*Fv)+"deg, "+Ad(s*Fv)+"deg)"),l.join(" ")}var AZ=(function(){return vt.hasGlobalWindow&&He(window.btoa)?function(r){return window.btoa(unescape(encodeURIComponent(r)))}:typeof Buffer<"u"?function(r){return Buffer.from(r).toString("base64")}:function(r){return null}})(),$w=Array.prototype.slice;function un(r,t,e){return(t-r)*e+r}function Bg(r,t,e,a){for(var i=t.length,n=0;na?t:r,n=Math.min(e,a),o=i[n-1]||{color:[0,0,0,0],offset:0},s=n;so;if(s)a.length=o;else for(var l=n;l=1},r.prototype.getAdditiveTrack=function(){return this._additiveTrack},r.prototype.addKeyframe=function(t,e,a){this._needsSort=!0;var i=this.keyframes,n=i.length,o=!1,s=XD,l=e;if(Br(e)){var u=LZ(e);s=u,(u===1&&!bt(e[0])||u===2&&!bt(e[0][0]))&&(o=!0)}else if(bt(e)&&!Ul(e))s=Rf;else if(Re(e))if(!isNaN(+e))s=Rf;else{var v=sa(e);v&&(l=v,s=Lv)}else if(zh(e)){var h=_e({},l);h.colorStops=we(e.colorStops,function(c){return{offset:c.offset,color:sa(c.color)}}),rq(e)?s=Yw:aq(e)&&(s=Zw),l=h}n===0?this.valType=s:(s!==this.valType||s===XD)&&(o=!0),this.discrete=this.discrete||o;var f={time:t,value:l,rawValue:e,percent:0};return a&&(f.easing=a,f.easingFunc=He(a)?a:Wv[a]||zA(a)),i.push(f),f},r.prototype.prepare=function(t,e){var a=this.keyframes;this._needsSort&&a.sort(function(p,g){return p.time-g.time});for(var i=this.valType,n=a.length,o=a[n-1],s=this.discrete,l=Ef(i),u=KD(i),v=0;v=0&&!(o[v].percent<=e);v--);v=f(v,s-2)}else{for(v=h;ve);v++);v=f(v-1,s-2)}d=o[v+1],c=o[v]}if(c&&d){this._lastFr=v,this._lastFrP=e;var g=d.percent-c.percent,m=g===0?1:f((e-c.percent)/g,1);d.easingFunc&&(m=d.easingFunc(m));var y=a?this._additiveValue:u?Bu:t[l];if((Ef(n)||u)&&!y&&(y=this._additiveValue=[]),this.discrete)t[l]=m<1?c.rawValue:d.rawValue;else if(Ef(n))n===Qc?Bg(y,c[i],d[i],m):CZ(y,c[i],d[i],m);else if(KD(n)){var _=c[i],x=d[i],S=n===Yw;t[l]={type:S?"linear":"radial",x:un(_.x,x.x,m),y:un(_.y,x.y,m),colorStops:we(_.colorStops,function(w,A){var T=x.colorStops[A];return{offset:un(w.offset,T.offset,m),color:Kc(Bg([],w.color,T.color,m))}}),global:x.global},S?(t[l].x2=un(_.x2,x.x2,m),t[l].y2=un(_.y2,x.y2,m)):t[l].r=un(_.r,x.r,m)}else if(u)Bg(y,c[i],d[i],m),a||(t[l]=Kc(y));else{var b=un(c[i],d[i],m);a?this._additiveValue=b:t[l]=b}a&&this._addToTarget(t)}}},r.prototype._addToTarget=function(t){var e=this.valType,a=this.propName,i=this._additiveValue;e===Rf?t[a]=t[a]+i:e===Lv?(sa(t[a],Bu),Pf(Bu,Bu,i,1),t[a]=Kc(Bu)):e===Qc?Pf(t[a],t[a],i,1):e===sq&&ZD(t[a],t[a],i,1)},r})(),GA=(function(){function r(t,e,a,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i){mp("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=a}return r.prototype.getMaxTime=function(){return this._maxTime},r.prototype.getDelay=function(){return this._delay},r.prototype.getLoop=function(){return this._loop},r.prototype.getTarget=function(){return this._target},r.prototype.changeTarget=function(t){this._target=t},r.prototype.when=function(t,e,a){return this.whenWithKeys(t,e,ft(e),a)},r.prototype.whenWithKeys=function(t,e,a,i){for(var n=this._tracks,o=0;o0&&l.addKeyframe(0,$v(u),i),this._trackKeys.push(s)}l.addKeyframe(t,$v(e[s]),i)}return this._maxTime=Math.max(this._maxTime,t),this},r.prototype.pause=function(){this._clip.pause(),this._paused=!0},r.prototype.resume=function(){this._clip.resume(),this._paused=!1},r.prototype.isPaused=function(){return!!this._paused},r.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},r.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,a=0;a0)){this._started=1;for(var e=this,a=[],i=this._maxTime||0,n=0;n1){var s=o.pop();n.addKeyframe(s.time,t[i]),n.prepare(this._maxTime,n.getAdditiveTrack())}}}},r})();function El(){return new Date().getTime()}var PZ=(function(r){he(t,r);function t(e){var a=r.call(this)||this;return a._running=!1,a._time=0,a._pausedTime=0,a._pauseStart=0,a._paused=!1,e=e||{},a.stage=e.stage||{},a}return t.prototype.addClip=function(e){e.animation&&this.removeClip(e),this._head?(this._tail.next=e,e.prev=this._tail,e.next=null,this._tail=e):this._head=this._tail=e,e.animation=this},t.prototype.addAnimator=function(e){e.animation=this;var a=e.getClip();a&&this.addClip(a)},t.prototype.removeClip=function(e){if(e.animation){var a=e.prev,i=e.next;a?a.next=i:this._head=i,i?i.prev=a:this._tail=a,e.next=e.prev=e.animation=null}},t.prototype.removeAnimator=function(e){var a=e.getClip();a&&this.removeClip(a),e.animation=null},t.prototype.update=function(e){for(var a=El()-this._pausedTime,i=a-this._time,n=this._head;n;){var o=n.next,s=n.step(a,i);s&&(n.ondestroy(),this.removeClip(n)),n=o}this._time=a,e||(this.trigger("frame",i),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var e=this;this._running=!0;function a(){e._running&&(xd(a),!e._paused&&e.update())}xd(a)},t.prototype.start=function(){this._running||(this._time=El(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=El(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=El()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var e=this._head;e;){var a=e.next;e.prev=e.next=e.animation=null,e=a}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(e,a){a=a||{},this.start();var i=new GA(e,a.loop);return this.addAnimator(i),i},t})(Xa),RZ=300,Vg=vt.domSupported,Gg=(function(){var r=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],e={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},a=we(r,function(i){var n=i.replace("mouse","pointer");return e.hasOwnProperty(n)?n:i});return{mouse:r,touch:t,pointer:a}})(),QD={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},jD=!1;function Xw(r){var t=r.pointerType;return t==="pen"||t==="touch"}function EZ(r){r.touching=!0,r.touchTimer!=null&&(clearTimeout(r.touchTimer),r.touchTimer=null),r.touchTimer=setTimeout(function(){r.touching=!1,r.touchTimer=null},700)}function Fg(r){r&&(r.zrByTouch=!0)}function kZ(r,t){return Ba(r.dom,new OZ(r,t),!0)}function lq(r,t){for(var e=t,a=!1;e&&e.nodeType!==9&&!(a=e.domBelongToZr||e!==t&&e===r.painterRoot);)e=e.parentNode;return a}var OZ=(function(){function r(t,e){this.stopPropagation=ir,this.stopImmediatePropagation=ir,this.preventDefault=ir,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return r})(),li={mousedown:function(r){r=Ba(this.dom,r),this.__mayPointerCapture=[r.zrX,r.zrY],this.trigger("mousedown",r)},mousemove:function(r){r=Ba(this.dom,r);var t=this.__mayPointerCapture;t&&(r.zrX!==t[0]||r.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",r)},mouseup:function(r){r=Ba(this.dom,r),this.__togglePointerCapture(!1),this.trigger("mouseup",r)},mouseout:function(r){r=Ba(this.dom,r);var t=r.toElement||r.relatedTarget;lq(this,t)||(this.__pointerCapturing&&(r.zrEventControl="no_globalout"),this.trigger("mouseout",r))},wheel:function(r){jD=!0,r=Ba(this.dom,r),this.trigger("mousewheel",r)},mousewheel:function(r){jD||(r=Ba(this.dom,r),this.trigger("mousewheel",r))},touchstart:function(r){r=Ba(this.dom,r),Fg(r),this.__lastTouchMoment=new Date,this.handler.processGesture(r,"start"),li.mousemove.call(this,r),li.mousedown.call(this,r)},touchmove:function(r){r=Ba(this.dom,r),Fg(r),this.handler.processGesture(r,"change"),li.mousemove.call(this,r)},touchend:function(r){r=Ba(this.dom,r),Fg(r),this.handler.processGesture(r,"end"),li.mouseup.call(this,r),+new Date-+this.__lastTouchMomenttL||r<-tL}var Po=[],rl=[],qg=xa(),Wg=Math.abs,pn=(function(){function r(){}return r.prototype.getLocalTransform=function(t){return r.getLocalTransform(this,t)},r.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},r.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},r.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},r.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},r.prototype.needLocalTransform=function(){return Io(this.rotation)||Io(this.x)||Io(this.y)||Io(this.scaleX-1)||Io(this.scaleY-1)||Io(this.skewX)||Io(this.skewY)},r.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),a=this.transform;if(!(e||t)){a&&(eL(a),this.invTransform=null);return}a=a||xa(),e?this.getLocalTransform(a):eL(a),t&&(e?Wi(a,t,a):Sp(a,t)),this.transform=a,this._resolveGlobalScaleRatio(a)},r.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(e!=null&&e!==1){this.getGlobalScale(Po);var a=Po[0]<0?-1:1,i=Po[1]<0?-1:1,n=((Po[0]-a)*e+a)/Po[0]||0,o=((Po[1]-i)*e+i)/Po[1]||0;t[0]*=n,t[1]*=n,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||xa(),Ns(this.invTransform,t)},r.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},r.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],a=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),n=Math.PI/2+i-Math.atan2(t[3],t[2]);a=Math.sqrt(a)*Math.cos(n),e=Math.sqrt(e),this.skewX=n,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=a,this.originX=0,this.originY=0}},r.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||xa(),Wi(rl,t.invTransform,e),e=rl);var a=this.originX,i=this.originY;(a||i)&&(qg[4]=a,qg[5]=i,Wi(rl,e,qg),rl[4]-=a,rl[5]-=i,e=rl),this.setLocalTransform(e)}},r.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},r.prototype.transformCoordToLocal=function(t,e){var a=[t,e],i=this.invTransform;return i&&Or(a,a,i),a},r.prototype.transformCoordToGlobal=function(t,e){var a=[t,e],i=this.transform;return i&&Or(a,a,i),a},r.prototype.getLineScale=function(){var t=this.transform;return t&&Wg(t[0]-1)>1e-10&&Wg(t[3]-1)>1e-10?Math.sqrt(Wg(t[0]*t[3]-t[2]*t[1])):1},r.prototype.copyTransform=function(t){vq(this,t)},r.getLocalTransform=function(t,e){e=e||[];var a=t.originX||0,i=t.originY||0,n=t.scaleX,o=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,v=t.x,h=t.y,f=t.skewX?Math.tan(t.skewX):0,c=t.skewY?Math.tan(-t.skewY):0;if(a||i||s||l){var d=a+s,p=i+l;e[4]=-d*n-f*p*o,e[5]=-p*o-c*d*n}else e[4]=e[5]=0;return e[0]=n,e[3]=o,e[1]=c*n,e[2]=f*o,u&&co(e,e,u),e[4]+=a+v,e[5]+=i+h,e},r.initDefaultProps=(function(){var t=r.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0})(),r})(),$i=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function vq(r,t){for(var e=0;e<$i.length;e++){var a=$i[e];r[a]=t[a]}}var rL={};function Ca(r,t){t=t||oo;var e=rL[t];e||(e=rL[t]=new Gh(500));var a=e.get(r);return a==null&&(a=mi.measureText(r,t).width,e.put(r,a)),a}function aL(r,t,e,a){var i=Ca(r,t),n=Tp(t),o=Iv(0,i,e),s=Ll(0,n,a),l=new at(o,s,i,n);return l}function Fh(r,t,e,a){var i=((r||"")+"").split("\n"),n=i.length;if(n===1)return aL(i[0],t,e,a);for(var o=new at(0,0,0,0),s=0;s=0?parseFloat(r)/100*t:parseFloat(r):r}function Md(r,t,e){var a=t.position||"inside",i=t.distance!=null?t.distance:5,n=e.height,o=e.width,s=n/2,l=e.x,u=e.y,v="left",h="top";if(a instanceof Array)l+=_i(a[0],e.width),u+=_i(a[1],e.height),v=null,h=null;else switch(a){case"left":l-=i,u+=s,v="right",h="middle";break;case"right":l+=i+o,u+=s,h="middle";break;case"top":l+=o/2,u-=i,v="center",h="bottom";break;case"bottom":l+=o/2,u+=n+i,v="center";break;case"inside":l+=o/2,u+=s,v="center",h="middle";break;case"insideLeft":l+=i,u+=s,h="middle";break;case"insideRight":l+=o-i,u+=s,v="right",h="middle";break;case"insideTop":l+=o/2,u+=i,v="center";break;case"insideBottom":l+=o/2,u+=n-i,v="center",h="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=o-i,u+=i,v="right";break;case"insideBottomLeft":l+=i,u+=n-i,h="bottom";break;case"insideBottomRight":l+=o-i,u+=n-i,v="right",h="bottom";break}return r=r||{},r.x=l,r.y=u,r.align=v,r.verticalAlign=h,r}var Ug="__zr_normal__",$g=$i.concat(["ignore"]),GZ=Ya($i,function(r,t){return r[t]=!0,r},{ignore:!1}),al={},FZ=new at(0,0,0,0),Ap=(function(){function r(t){this.id=RA(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return r.prototype._init=function(t){this.attr(t)},r.prototype.drift=function(t,e,a){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},r.prototype.beforeUpdate=function(){},r.prototype.afterUpdate=function(){},r.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},r.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var a=this.textConfig,i=a.local,n=e.innerTransformable,o=void 0,s=void 0,l=!1;n.parent=i?this:null;var u=!1;if(n.copyTransform(e),a.position!=null){var v=FZ;a.layoutRect?v.copy(a.layoutRect):v.copy(this.getBoundingRect()),i||v.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(al,a,v):Md(al,a,v),n.x=al.x,n.y=al.y,o=al.align,s=al.verticalAlign;var h=a.origin;if(h&&a.rotation!=null){var f=void 0,c=void 0;h==="center"?(f=v.width*.5,c=v.height*.5):(f=_i(h[0],v.width),c=_i(h[1],v.height)),u=!0,n.originX=-n.x+f+(i?0:v.x),n.originY=-n.y+c+(i?0:v.y)}}a.rotation!=null&&(n.rotation=a.rotation);var d=a.offset;d&&(n.x+=d[0],n.y+=d[1],u||(n.originX=-d[0],n.originY=-d[1]));var p=a.inside==null?typeof a.position=="string"&&a.position.indexOf("inside")>=0:a.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,y=void 0,_=void 0;p&&this.canBeInsideText()?(m=a.insideFill,y=a.insideStroke,(m==null||m==="auto")&&(m=this.getInsideTextFill()),(y==null||y==="auto")&&(y=this.getInsideTextStroke(m),_=!0)):(m=a.outsideFill,y=a.outsideStroke,(m==null||m==="auto")&&(m=this.getOutsideFill()),(y==null||y==="auto")&&(y=this.getOutsideStroke(m),_=!0)),m=m||"#000",(m!==g.fill||y!==g.stroke||_!==g.autoStroke||o!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=m,g.stroke=y,g.autoStroke=_,g.align=o,g.verticalAlign=s,e.setDefaultTextStyle(g)),e.__dirty|=ba,l&&e.dirtyStyle(!0)}},r.prototype.canBeInsideText=function(){return!0},r.prototype.getInsideTextFill=function(){return"#fff"},r.prototype.getInsideTextStroke=function(t){return"#000"},r.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Jw:jw},r.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),a=typeof e=="string"&&sa(e);a||(a=[255,255,255,1]);for(var i=a[3],n=this.__zr.isDarkMode(),o=0;o<3;o++)a[o]=a[o]*i+(n?0:255)*(1-i);return a[3]=1,pi(a,"rgba")},r.prototype.traverse=function(t,e){},r.prototype.attrKV=function(t,e){t==="textConfig"?this.setTextConfig(e):t==="textContent"?this.setTextContent(e):t==="clipPath"?this.setClipPath(e):t==="extra"?(this.extra=this.extra||{},_e(this.extra,e)):this[t]=e},r.prototype.hide=function(){this.ignore=!0,this.markRedraw()},r.prototype.show=function(){this.ignore=!1,this.markRedraw()},r.prototype.attr=function(t,e){if(typeof t=="string")this.attrKV(t,e);else if($e(t))for(var a=t,i=ft(a),n=0;n0},r.prototype.getState=function(t){return this.states[t]},r.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},r.prototype.clearStates=function(t){this.useState(Ug,!1,t)},r.prototype.useState=function(t,e,a,i){var n=t===Ug,o=this.hasState();if(!(!o&&n)){var s=this.currentStates,l=this.stateTransition;if(!(nt(s,t)>=0&&(e||s.length===1))){var u;if(this.stateProxy&&!n&&(u=this.stateProxy(t)),u||(u=this.states&&this.states[t]),!u&&!n){mp("State "+t+" not exists.");return}n||this.saveCurrentToNormalState(u);var v=!!(u&&u.hoverLayer||i);v&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,u,this._normalState,e,!a&&!this.__inHover&&l&&l.duration>0,l);var h=this._textContent,f=this._textGuide;return h&&h.useState(t,e,a,v),f&&f.useState(t,e,a,v),n?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!v&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~ba),u}}},r.prototype.useStates=function(t,e,a){if(!t.length)this.clearStates();else{var i=[],n=this.currentStates,o=t.length,s=o===n.length;if(s){for(var l=0;l0,d);var p=this._textContent,g=this._textGuide;p&&p.useStates(t,e,f),g&&g.useStates(t,e,f),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~ba)}},r.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},r.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var a=this.currentStates.slice();a.splice(e,1),this.useStates(a)}},r.prototype.replaceState=function(t,e,a){var i=this.currentStates.slice(),n=nt(i,t),o=nt(i,e)>=0;n>=0?o?i.splice(n,1):i[n]=e:a&&!o&&i.push(e),this.useStates(i)},r.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},r.prototype._mergeStates=function(t){for(var e={},a,i=0;i=0&&n.splice(o,1)}),this.animators.push(t),a&&a.animation.addAnimator(t),a&&a.wakeUp()},r.prototype.updateDuringAnimation=function(t){this.markRedraw()},r.prototype.stopAnimation=function(t,e){for(var a=this.animators,i=a.length,n=[],o=0;o0&&e.during&&n[0].during(function(d,p){e.during(p)});for(var f=0;f0||i.force&&!o.length){var A=void 0,T=void 0,C=void 0;if(s){T={},f&&(A={});for(var x=0;x<_;x++){var m=p[x];T[m]=e[m],f?A[m]=a[m]:e[m]=a[m]}}else if(f){C={};for(var x=0;x<_;x++){var m=p[x];C[m]=$v(e[m]),qZ(e,a,m)}}var S=new GA(e,!1,!1,h?Ct(d,function(L){return L.targetName===t}):null);S.targetName=t,i.scope&&(S.scope=i.scope),f&&A&&S.whenWithKeys(0,A,p),C&&S.whenWithKeys(0,C,p),S.whenWithKeys(u==null?500:u,s?T:a,p).delay(v||0),r.addAnimator(S,t),o.push(S)}}var Ze=(function(r){he(t,r);function t(e){var a=r.call(this)||this;return a.isGroup=!0,a._children=[],a.attr(e),a}return t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(e){return this._children[e]},t.prototype.childOfName=function(e){for(var a=this._children,i=0;i=0&&(i.splice(n,0,e),this._doAdd(e))}return this},t.prototype.replace=function(e,a){var i=nt(this._children,e);return i>=0&&this.replaceAt(a,i),this},t.prototype.replaceAt=function(e,a){var i=this._children,n=i[a];if(e&&e!==this&&e.parent!==this&&e!==n){i[a]=e,n.parent=null;var o=this.__zr;o&&n.removeSelfFromZr(o),this._doAdd(e)}return this},t.prototype._doAdd=function(e){e.parent&&e.parent.remove(e),e.parent=this;var a=this.__zr;a&&a!==e.__zr&&e.addSelfToZr(a),a&&a.refresh()},t.prototype.remove=function(e){var a=this.__zr,i=this._children,n=nt(i,e);return n<0?this:(i.splice(n,1),e.parent=null,a&&e.removeSelfFromZr(a),a&&a.refresh(),this)},t.prototype.removeAll=function(){for(var e=this._children,a=this.__zr,i=0;i0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},r.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},r.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},r.prototype.refreshHover=function(){this._needsRefreshHover=!0},r.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},r.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},r.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},r.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},r.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},r.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},r.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},r.prototype.on=function(t,e,a){return this._disposed||this.handler.on(t,e,a),this},r.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},r.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},r.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e0){if(r<=i)return o;if(r>=n)return s}else{if(r>=i)return o;if(r<=n)return s}else{if(r===i)return o;if(r===n)return s}return(r-i)/l*u+o}function Ie(r,t){switch(r){case"center":case"middle":r="50%";break;case"left":case"top":r="0%";break;case"right":case"bottom":r="100%";break}return Re(r)?eX(r).match(/%$/)?parseFloat(r)/100*t:parseFloat(r):r==null?NaN:+r}function ar(r,t,e){return t==null&&(t=10),t=Math.min(Math.max(0,t),pq),r=(+r).toFixed(t),e?r:+r}function Ta(r){return r.sort(function(t,e){return t-e}),r}function hi(r){if(r=+r,isNaN(r))return 0;if(r>1e-14){for(var t=1,e=0;e<15;e++,t*=10)if(Math.round(r*t)/t===r)return e}return gq(r)}function gq(r){var t=r.toString().toLowerCase(),e=t.indexOf("e"),a=e>0?+t.slice(e+1):0,i=e>0?e:t.length,n=t.indexOf("."),o=n<0?0:i-1-n;return Math.max(0,o-a)}function FA(r,t){var e=Math.log,a=Math.LN10,i=Math.floor(e(r[1]-r[0])/a),n=Math.round(e(Math.abs(t[1]-t[0]))/a),o=Math.min(Math.max(-i+n,0),20);return isFinite(o)?o:20}function tX(r,t,e){if(!r[t])return 0;var a=mq(r,e);return a[t]||0}function mq(r,t){var e=Ya(r,function(c,d){return c+(isNaN(d)?0:d)},0);if(e===0)return[];for(var a=Math.pow(10,t),i=we(r,function(c){return(isNaN(c)?0:c)/e*a*100}),n=a*100,o=we(i,function(c){return Math.floor(c)}),s=Ya(o,function(c,d){return c+d},0),l=we(i,function(c,d){return c-o[d]});su&&(u=l[h],v=h);++o[v],l[v]=0,++s}return we(o,function(c){return c/a})}function rX(r,t){var e=Math.max(hi(r),hi(t)),a=r+t;return e>pq?a:ar(a,e)}var rT=9007199254740991;function HA(r){var t=Math.PI*2;return(r%t+t)%t}function Yl(r){return r>-iL&&r=10&&t++,t}function qA(r,t){var e=Cp(r),a=Math.pow(10,e),i=r/a,n;return t?i<1.5?n=1:i<2.5?n=2:i<4?n=3:i<7?n=5:n=10:i<1?n=1:i<2?n=2:i<3?n=3:i<5?n=5:n=10,r=n*a,e>=-20?+r.toFixed(e<0?-e:0):r}function ed(r,t){var e=(r.length-1)*t+1,a=Math.floor(e),i=+r[a-1],n=e-a;return n?i+n*(r[a]-i):i}function aT(r){r.sort(function(l,u){return s(l,u,0)?-1:1});for(var t=-1/0,e=1,a=0;a=0||n&&nt(n,l)<0)){var u=a.getShallow(l,t);u!=null&&(o[r[s][0]]=u)}}return o}}var MX=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],DX=Ls(MX),LX=(function(){function r(){}return r.prototype.getAreaStyle=function(t,e){return DX(this,t,e)},r})(),nT=new Gh(50);function IX(r){if(typeof r=="string"){var t=nT.get(r);return t&&t.image}else return r}function ZA(r,t,e,a,i){if(r)if(typeof r=="string"){if(t&&t.__zrImageSrc===r||!e)return t;var n=nT.get(r),o={hostEl:e,cb:a,cbPayload:i};return n?(t=n.image,!Dp(t)&&n.pending.push(o)):(t=mi.loadImage(r,lL,lL),t.__zrImageSrc=r,nT.put(r,t.__cachedImgObj={image:t,pending:[o]})),t}else return r;else return t}function lL(){var r=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t=o;l++)s-=o;var u=Ca(e,t);return u>s&&(e="",u=0),s=r-u,i.ellipsis=e,i.ellipsisWidth=u,i.contentWidth=s,i.containerWidth=r,i}function Pq(r,t,e){var a=e.containerWidth,i=e.font,n=e.contentWidth;if(!a){r.textLine="",r.isTruncated=!1;return}var o=Ca(t,i);if(o<=a){r.textLine=t,r.isTruncated=!1;return}for(var s=0;;s++){if(o<=n||s>=e.maxIterations){t+=e.ellipsis;break}var l=s===0?RX(t,n,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*n/o):0;t=t.substr(0,l),o=Ca(t,i)}t===""&&(t=e.placeholder),r.textLine=t,r.isTruncated=!0}function RX(r,t,e,a){for(var i=0,n=0,o=r.length;nd&&u){var p=Math.floor(d/s);v=v||f.length>p,f=f.slice(0,p)}if(r&&n&&h!=null)for(var g=Iq(h,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),m={},y=0;ys&&Kg(e,r.substring(s,u),t,o),Kg(e,l[2],t,o,l[1]),s=Xg.lastIndex}si){var D=e.lines.length;b>0?(_.tokens=_.tokens.slice(0,b),m(_,S,x),e.lines=e.lines.slice(0,y+1)):e.lines=e.lines.slice(0,y),e.isTruncated=e.isTruncated||e.lines.length0&&d+a.accumWidth>a.width&&(v=t.split("\n"),u=!0),a.accumWidth=d}else{var p=Rq(t,l,a.width,a.breakAll,a.accumWidth);a.accumWidth=p.accumWidth+c,h=p.linesWidths,v=p.lines}}else v=t.split("\n");for(var g=0;g=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var BX=Ya(",&?/;] ".split(""),function(r,t){return r[t]=!0,r},{});function VX(r){return zX(r)?!!BX[r]:!0}function Rq(r,t,e,a,i){for(var n=[],o=[],s="",l="",u=0,v=0,h=0;he:i+v+c>e){v?(s||l)&&(d?(s||(s=l,l="",u=0,v=u),n.push(s),o.push(v-u),l+=f,u+=c,s="",v=u):(l&&(s+=l,l="",u=0),n.push(s),o.push(v),s=f,v=c)):d?(n.push(l),o.push(u),l=f,u=c):(n.push(f),o.push(c));continue}v+=c,d?(l+=f,u+=c):(l&&(s+=l,l="",u=0),s+=f)}return!n.length&&!s&&(s=r,l="",u=0),l&&(s+=l),s&&(n.push(s),o.push(v)),n.length===1&&(v+=i),{accumWidth:v,lines:n,linesWidths:o}}var oT="__zr_style_"+Math.round(Math.random()*10),xs={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Lp={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};xs[oT]=!0;var vL=["z","z2","invisible"],GX=["invisible"],Za=(function(r){he(t,r);function t(e){return r.call(this,e)||this}return t.prototype._init=function(e){for(var a=ft(e),i=0;i1e-4){s[0]=r-e,s[1]=t-a,l[0]=r+e,l[1]=t+a;return}if(kf[0]=em(i)*e+r,kf[1]=Jg(i)*a+t,Of[0]=em(n)*e+r,Of[1]=Jg(n)*a+t,u(s,kf,Of),v(l,kf,Of),i=i%Eo,i<0&&(i=i+Eo),n=n%Eo,n<0&&(n=n+Eo),i>n&&!o?n+=Eo:ii&&(Nf[0]=em(c)*e+r,Nf[1]=Jg(c)*a+t,u(s,Nf,s),v(l,Nf,l))}var Ft={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},ko=[],Oo=[],Ci=[],Pn=[],Mi=[],Di=[],tm=Math.min,rm=Math.max,No=Math.cos,zo=Math.sin,nn=Math.abs,sT=Math.PI,Fn=sT*2,am=typeof Float32Array<"u",Vu=[];function im(r){var t=Math.round(r/sT*1e8)/1e8;return t%2*sT}function XA(r,t){var e=im(r[0]);e<0&&(e+=Fn);var a=e-r[0],i=r[1];i+=a,!t&&i-e>=Fn?i=e+Fn:t&&e-i>=Fn?i=e-Fn:!t&&e>i?i=e+(Fn-im(e-i)):t&&e0&&(this._ux=nn(a/Cd/t)||0,this._uy=nn(a/Cd/e)||0)},r.prototype.setDPR=function(t){this.dpr=t},r.prototype.setContext=function(t){this._ctx=t},r.prototype.getContext=function(){return this._ctx},r.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},r.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},r.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(Ft.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},r.prototype.lineTo=function(t,e){var a=nn(t-this._xi),i=nn(e-this._yi),n=a>this._ux||i>this._uy;if(this.addData(Ft.L,t,e),this._ctx&&n&&this._ctx.lineTo(t,e),n)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=a*a+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},r.prototype.bezierCurveTo=function(t,e,a,i,n,o){return this._drawPendingPt(),this.addData(Ft.C,t,e,a,i,n,o),this._ctx&&this._ctx.bezierCurveTo(t,e,a,i,n,o),this._xi=n,this._yi=o,this},r.prototype.quadraticCurveTo=function(t,e,a,i){return this._drawPendingPt(),this.addData(Ft.Q,t,e,a,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,a,i),this._xi=a,this._yi=i,this},r.prototype.arc=function(t,e,a,i,n,o){this._drawPendingPt(),Vu[0]=i,Vu[1]=n,XA(Vu,o),i=Vu[0],n=Vu[1];var s=n-i;return this.addData(Ft.A,t,e,a,a,i,s,0,o?0:1),this._ctx&&this._ctx.arc(t,e,a,i,n,o),this._xi=No(n)*a+t,this._yi=zo(n)*a+e,this},r.prototype.arcTo=function(t,e,a,i,n){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,a,i,n),this},r.prototype.rect=function(t,e,a,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,a,i),this.addData(Ft.R,t,e,a,i),this},r.prototype.closePath=function(){this._drawPendingPt(),this.addData(Ft.Z);var t=this._ctx,e=this._x0,a=this._y0;return t&&t.closePath(),this._xi=e,this._yi=a,this},r.prototype.fill=function(t){t&&t.fill(),this.toStatic()},r.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},r.prototype.len=function(){return this._len},r.prototype.setData=function(t){var e=t.length;!(this.data&&this.data.length===e)&&am&&(this.data=new Float32Array(e));for(var a=0;av.length&&(this._expandData(),v=this.data);for(var h=0;h0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},r.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e11&&(this.data=new Float32Array(t)))}},r.prototype.getBoundingRect=function(){Ci[0]=Ci[1]=Mi[0]=Mi[1]=Number.MAX_VALUE,Pn[0]=Pn[1]=Di[0]=Di[1]=-Number.MAX_VALUE;var t=this.data,e=0,a=0,i=0,n=0,o;for(o=0;oa||nn(_)>i||f===e-1)&&(p=Math.sqrt(y*y+_*_),n=g,o=m);break}case Ft.C:{var x=t[f++],S=t[f++],g=t[f++],m=t[f++],b=t[f++],w=t[f++];p=oZ(n,o,x,S,g,m,b,w,10),n=b,o=w;break}case Ft.Q:{var x=t[f++],S=t[f++],g=t[f++],m=t[f++];p=lZ(n,o,x,S,g,m,10),n=g,o=m;break}case Ft.A:var A=t[f++],T=t[f++],C=t[f++],M=t[f++],L=t[f++],D=t[f++],P=D+L;f+=1,d&&(s=No(L)*C+A,l=zo(L)*M+T),p=rm(C,M)*tm(Fn,Math.abs(D)),n=No(P)*C+A,o=zo(P)*M+T;break;case Ft.R:{s=n=t[f++],l=o=t[f++];var I=t[f++],R=t[f++];p=I*2+R*2;break}case Ft.Z:{var y=s-n,_=l-o;p=Math.sqrt(y*y+_*_),n=s,o=l;break}}p>=0&&(u[h++]=p,v+=p)}return this._pathLen=v,v},r.prototype.rebuildPath=function(t,e){var a=this.data,i=this._ux,n=this._uy,o=this._len,s,l,u,v,h,f,c=e<1,d,p,g=0,m=0,y,_=0,x,S;if(!(c&&(this._pathSegLen||this._calculateLength(),d=this._pathSegLen,p=this._pathLen,y=e*p,!y)))e:for(var b=0;b0&&(t.lineTo(x,S),_=0),w){case Ft.M:s=u=a[b++],l=v=a[b++],t.moveTo(u,v);break;case Ft.L:{h=a[b++],f=a[b++];var T=nn(h-u),C=nn(f-v);if(T>i||C>n){if(c){var M=d[m++];if(g+M>y){var L=(y-g)/M;t.lineTo(u*(1-L)+h*L,v*(1-L)+f*L);break e}g+=M}t.lineTo(h,f),u=h,v=f,_=0}else{var D=T*T+C*C;D>_&&(x=h,S=f,_=D)}break}case Ft.C:{var P=a[b++],I=a[b++],R=a[b++],E=a[b++],k=a[b++],B=a[b++];if(c){var M=d[m++];if(g+M>y){var L=(y-g)/M;so(u,P,R,k,L,ko),so(v,I,E,B,L,Oo),t.bezierCurveTo(ko[1],Oo[1],ko[2],Oo[2],ko[3],Oo[3]);break e}g+=M}t.bezierCurveTo(P,I,R,E,k,B),u=k,v=B;break}case Ft.Q:{var P=a[b++],I=a[b++],R=a[b++],E=a[b++];if(c){var M=d[m++];if(g+M>y){var L=(y-g)/M;uh(u,P,R,L,ko),uh(v,I,E,L,Oo),t.quadraticCurveTo(ko[1],Oo[1],ko[2],Oo[2]);break e}g+=M}t.quadraticCurveTo(P,I,R,E),u=R,v=E;break}case Ft.A:var F=a[b++],V=a[b++],N=a[b++],O=a[b++],z=a[b++],G=a[b++],q=a[b++],H=!a[b++],U=N>O?N:O,W=nn(N-O)>.001,Y=z+G,X=!1;if(c){var M=d[m++];g+M>y&&(Y=z+G*(y-g)/M,X=!0),g+=M}if(W&&t.ellipse?t.ellipse(F,V,N,O,q,z,Y,H):t.arc(F,V,U,z,Y,H),X)break e;A&&(s=No(z)*N+F,l=zo(z)*O+V),u=No(Y)*N+F,v=zo(Y)*O+V;break;case Ft.R:s=u=a[b],l=v=a[b+1],h=a[b++],f=a[b++];var K=a[b++],Q=a[b++];if(c){var M=d[m++];if(g+M>y){var j=y-g;t.moveTo(h,f),t.lineTo(h+tm(j,K),f),j-=K,j>0&&t.lineTo(h+K,f+tm(j,Q)),j-=Q,j>0&&t.lineTo(h+rm(K-j,0),f+Q),j-=K,j>0&&t.lineTo(h,f+rm(Q-j,0));break e}g+=M}t.rect(h,f,K,Q);break;case Ft.Z:if(c){var M=d[m++];if(g+M>y){var L=(y-g)/M;t.lineTo(u*(1-L)+s*L,v*(1-L)+l*L);break e}g+=M}t.closePath(),u=s,v=l}}},r.prototype.clone=function(){var t=new r,e=this.data;return t.data=e.slice?e.slice():Array.prototype.slice.call(e),t._len=this._len,t},r.CMD=Ft,r.initDefaultProps=(function(){var t=r.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0})(),r})();function qn(r,t,e,a,i,n,o){if(i===0)return!1;var s=i,l=0,u=r;if(o>t+s&&o>a+s||or+s&&n>e+s||nt+h&&v>a+h&&v>n+h&&v>s+h||vr+h&&u>e+h&&u>i+h&&u>o+h||ut+u&&l>a+u&&l>n+u||lr+u&&s>e+u&&s>i+u||se||v+ui&&(i+=Gu);var f=Math.atan2(l,s);return f<0&&(f+=Gu),f>=a&&f<=i||f+Gu>=a&&f+Gu<=i}function vn(r,t,e,a,i,n){if(n>t&&n>a||ni?s:0}var Rn=Zi.CMD,Bo=Math.PI*2,YX=1e-4;function ZX(r,t){return Math.abs(r-t)t&&u>a&&u>n&&u>s||u1&&XX(),c=br(t,a,n,s,Ga[0]),f>1&&(d=br(t,a,n,s,Ga[1]))),f===2?gt&&s>a&&s>n||s=0&&u<=1){for(var v=0,h=kr(t,a,n,u),f=0;fe||s<-e)return 0;var l=Math.sqrt(e*e-s*s);ia[0]=-l,ia[1]=l;var u=Math.abs(a-i);if(u<1e-4)return 0;if(u>=Bo-1e-4){a=0,i=Bo;var v=n?1:-1;return o>=ia[0]+r&&o<=ia[1]+r?v:0}if(a>i){var h=a;a=i,i=h}a<0&&(a+=Bo,i+=Bo);for(var f=0,c=0;c<2;c++){var d=ia[c];if(d+r>o){var p=Math.atan2(s,d),v=n?1:-1;p<0&&(p=Bo+p),(p>=a&&p<=i||p+Bo>=a&&p+Bo<=i)&&(p>Math.PI/2&&p1&&(e||(s+=vn(l,u,v,h,a,i))),g&&(l=n[d],u=n[d+1],v=l,h=u),p){case Rn.M:v=n[d++],h=n[d++],l=v,u=h;break;case Rn.L:if(e){if(qn(l,u,n[d],n[d+1],t,a,i))return!0}else s+=vn(l,u,n[d],n[d+1],a,i)||0;l=n[d++],u=n[d++];break;case Rn.C:if(e){if(UX(l,u,n[d++],n[d++],n[d++],n[d++],n[d],n[d+1],t,a,i))return!0}else s+=KX(l,u,n[d++],n[d++],n[d++],n[d++],n[d],n[d+1],a,i)||0;l=n[d++],u=n[d++];break;case Rn.Q:if(e){if(Eq(l,u,n[d++],n[d++],n[d],n[d+1],t,a,i))return!0}else s+=QX(l,u,n[d++],n[d++],n[d],n[d+1],a,i)||0;l=n[d++],u=n[d++];break;case Rn.A:var m=n[d++],y=n[d++],_=n[d++],x=n[d++],S=n[d++],b=n[d++];d+=1;var w=!!(1-n[d++]);f=Math.cos(S)*_+m,c=Math.sin(S)*x+y,g?(v=f,h=c):s+=vn(l,u,f,c,a,i);var A=(a-m)*x/_+m;if(e){if($X(m,y,x,S,S+b,w,t,A,i))return!0}else s+=jX(m,y,x,S,S+b,w,A,i);l=Math.cos(S+b)*_+m,u=Math.sin(S+b)*x+y;break;case Rn.R:v=l=n[d++],h=u=n[d++];var T=n[d++],C=n[d++];if(f=v+T,c=h+C,e){if(qn(v,h,f,h,t,a,i)||qn(f,h,f,c,t,a,i)||qn(f,c,v,c,t,a,i)||qn(v,c,v,h,t,a,i))return!0}else s+=vn(f,h,f,c,a,i),s+=vn(v,c,v,h,a,i);break;case Rn.Z:if(e){if(qn(l,u,v,h,t,a,i))return!0}else s+=vn(l,u,v,h,a,i);l=v,u=h;break}}return!e&&!ZX(u,h)&&(s+=vn(l,u,v,h,a,i)||0),s!==0}function JX(r,t,e){return kq(r,0,!1,t,e)}function eK(r,t,e,a){return kq(r,t,!0,e,a)}var Dd=Ue({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},xs),tK={style:Ue({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Lp.style)},nm=$i.concat(["invisible","culling","z","z2","zlevel","parent"]),ht=(function(r){he(t,r);function t(e){return r.call(this,e)||this}return t.prototype.update=function(){var e=this;r.prototype.update.call(this);var a=this.style;if(a.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(l){e.buildPath(l,e.shape)}),i.silent=!0;var n=i.style;for(var o in a)n[o]!==a[o]&&(n[o]=a[o]);n.fill=a.fill?a.decal:null,n.decal=null,n.shadowColor=null,a.strokeFirst&&(n.stroke=null);for(var s=0;s.5?jw:a>.2?VZ:Jw}else if(e)return Jw}return jw},t.prototype.getInsideTextStroke=function(e){var a=this.style.fill;if(Re(a)){var i=this.__zr,n=!!(i&&i.isDarkMode()),o=fh(e,0)0))},t.prototype.hasFill=function(){var e=this.style,a=e.fill;return a!=null&&a!=="none"},t.prototype.getBoundingRect=function(){var e=this._rect,a=this.style,i=!e;if(i){var n=!1;this.path||(n=!0,this.createPathProxy());var o=this.path;(n||this.__dirty&Dl)&&(o.beginPath(),this.buildPath(o,this.shape,!1),this.pathUpdated()),e=o.getBoundingRect()}if(this._rect=e,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=e.clone());if(this.__dirty||i){s.copy(e);var l=a.strokeNoScale?this.getLineScale():1,u=a.lineWidth;if(!this.hasFill()){var v=this.strokeContainThreshold;u=Math.max(u,v==null?4:v)}l>1e-10&&(s.width+=u/l,s.height+=u/l,s.x-=u/l/2,s.y-=u/l/2)}return s}return e},t.prototype.contain=function(e,a){var i=this.transformCoordToLocal(e,a),n=this.getBoundingRect(),o=this.style;if(e=i[0],a=i[1],n.contain(e,a)){var s=this.path;if(this.hasStroke()){var l=o.lineWidth,u=o.strokeNoScale?this.getLineScale():1;if(u>1e-10&&(this.hasFill()||(l=Math.max(l,this.strokeContainThreshold)),eK(s,l/u,e,a)))return!0}if(this.hasFill())return JX(s,e,a)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=Dl,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(e){return this.animate("shape",e)},t.prototype.updateDuringAnimation=function(e){e==="style"?this.dirtyStyle():e==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(e,a){e==="shape"?this.setShape(a):r.prototype.attrKV.call(this,e,a)},t.prototype.setShape=function(e,a){var i=this.shape;return i||(i=this.shape={}),typeof e=="string"?i[e]=a:_e(i,e),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&Dl)},t.prototype.createStyle=function(e){return Bh(Dd,e)},t.prototype._innerSaveToNormal=function(e){r.prototype._innerSaveToNormal.call(this,e);var a=this._normalState;e.shape&&!a.shape&&(a.shape=_e({},this.shape))},t.prototype._applyStateObj=function(e,a,i,n,o,s){r.prototype._applyStateObj.call(this,e,a,i,n,o,s);var l=!(a&&n),u;if(a&&a.shape?o?n?u=a.shape:(u=_e({},i.shape),_e(u,a.shape)):(u=_e({},n?this.shape:i.shape),_e(u,a.shape)):l&&(u=i.shape),u)if(o){this.shape=_e({},this.shape);for(var v={},h=ft(u),f=0;f0},t.prototype.hasFill=function(){var e=this.style,a=e.fill;return a!=null&&a!=="none"},t.prototype.createStyle=function(e){return Bh(rK,e)},t.prototype.setBoundingRect=function(e){this._rect=e},t.prototype.getBoundingRect=function(){var e=this.style;if(!this._rect){var a=e.text;a!=null?a+="":a="";var i=Fh(a,e.font,e.textAlign,e.textBaseline);if(i.x+=e.x||0,i.y+=e.y||0,this.hasStroke()){var n=e.lineWidth;i.x-=n/2,i.y-=n/2,i.width+=n,i.height+=n}this._rect=i}return this._rect},t.initDefaultProps=(function(){var e=t.prototype;e.dirtyRectTolerance=10})(),t})(Za);Zl.prototype.type="tspan";var aK=Ue({x:0,y:0},xs),iK={style:Ue({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Lp.style)};function nK(r){return!!(r&&typeof r!="string"&&r.width&&r.height)}var Dr=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.createStyle=function(e){return Bh(aK,e)},t.prototype._getSize=function(e){var a=this.style,i=a[e];if(i!=null)return i;var n=nK(a.image)?a.image:this.__image;if(!n)return 0;var o=e==="width"?"height":"width",s=a[o];return s==null?n[e]:n[e]/n[o]*s},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return iK},t.prototype.getBoundingRect=function(){var e=this.style;return this._rect||(this._rect=new at(e.x||0,e.y||0,this.getWidth(),this.getHeight())),this._rect},t})(Za);Dr.prototype.type="image";function oK(r,t){var e=t.x,a=t.y,i=t.width,n=t.height,o=t.r,s,l,u,v;i<0&&(e=e+i,i=-i),n<0&&(a=a+n,n=-n),typeof o=="number"?s=l=u=v=o:o instanceof Array?o.length===1?s=l=u=v=o[0]:o.length===2?(s=u=o[0],l=v=o[1]):o.length===3?(s=o[0],l=v=o[1],u=o[2]):(s=o[0],l=o[1],u=o[2],v=o[3]):s=l=u=v=0;var h;s+l>i&&(h=s+l,s*=i/h,l*=i/h),u+v>i&&(h=u+v,u*=i/h,v*=i/h),l+u>n&&(h=l+u,l*=n/h,u*=n/h),s+v>n&&(h=s+v,s*=n/h,v*=n/h),r.moveTo(e+s,a),r.lineTo(e+i-l,a),l!==0&&r.arc(e+i-l,a+l,l,-Math.PI/2,0),r.lineTo(e+i,a+n-u),u!==0&&r.arc(e+i-u,a+n-u,u,0,Math.PI/2),r.lineTo(e+v,a+n),v!==0&&r.arc(e+v,a+n-v,v,Math.PI/2,Math.PI),r.lineTo(e,a+s),s!==0&&r.arc(e+s,a+s,s,Math.PI,Math.PI*1.5)}var kl=Math.round;function Oq(r,t,e){if(t){var a=t.x1,i=t.x2,n=t.y1,o=t.y2;r.x1=a,r.x2=i,r.y1=n,r.y2=o;var s=e&&e.lineWidth;return s&&(kl(a*2)===kl(i*2)&&(r.x1=r.x2=fs(a,s,!0)),kl(n*2)===kl(o*2)&&(r.y1=r.y2=fs(n,s,!0))),r}}function Nq(r,t,e){if(t){var a=t.x,i=t.y,n=t.width,o=t.height;r.x=a,r.y=i,r.width=n,r.height=o;var s=e&&e.lineWidth;return s&&(r.x=fs(a,s,!0),r.y=fs(i,s,!0),r.width=Math.max(fs(a+n,s,!1)-r.x,n===0?0:1),r.height=Math.max(fs(i+o,s,!1)-r.y,o===0?0:1)),r}}function fs(r,t,e){if(!t)return r;var a=kl(r*2);return(a+kl(t))%2===0?a/2:(a+(e?1:-1))/2}var sK=(function(){function r(){this.x=0,this.y=0,this.width=0,this.height=0}return r})(),lK={},gt=(function(r){he(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new sK},t.prototype.buildPath=function(e,a){var i,n,o,s;if(this.subPixelOptimize){var l=Nq(lK,a,this.style);i=l.x,n=l.y,o=l.width,s=l.height,l.r=a.r,a=l}else i=a.x,n=a.y,o=a.width,s=a.height;a.r?oK(e,a):e.rect(i,n,o,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t})(ht);gt.prototype.type="rect";var pL={fill:"#000"},gL=2,uK={style:Ue({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Lp.style)},pt=(function(r){he(t,r);function t(e){var a=r.call(this)||this;return a.type="text",a._children=[],a._defaultStyle=pL,a.attr(e),a}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){r.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e0,L=e.width!=null&&(e.overflow==="truncate"||e.overflow==="break"||e.overflow==="breakAll"),D=o.calculatedLineHeight,P=0;P=0&&(P=b[D],P.align==="right");)this._placeToken(P,e,A,m,L,"right",_),T-=P.width,L-=P.width,D--;for(M+=(n-(M-g)-(y-L)-T)/2;C<=D;)P=b[C],this._placeToken(P,e,A,m,M+P.width/2,"center",_),M+=P.width,C++;m+=A}},t.prototype._placeToken=function(e,a,i,n,o,s,l){var u=a.rich[e.styleName]||{};u.text=e.text;var v=e.verticalAlign,h=n+i/2;v==="top"?h=n+e.height/2:v==="bottom"&&(h=n+i-e.height/2);var f=!e.isLineHolder&&om(u);f&&this._renderBackground(u,a,s==="right"?o-e.width:s==="center"?o-e.width/2:o,h-e.height/2,e.width,e.height);var c=!!u.backgroundColor,d=e.textPadding;d&&(o=bL(o,s,d),h-=e.height/2-d[0]-e.innerHeight/2);var p=this._getOrCreateChild(Zl),g=p.createStyle();p.useStyle(g);var m=this._defaultStyle,y=!1,_=0,x=SL("fill"in u?u.fill:"fill"in a?a.fill:(y=!0,m.fill)),S=xL("stroke"in u?u.stroke:"stroke"in a?a.stroke:!c&&!l&&(!m.autoStroke||y)?(_=gL,m.stroke):null),b=u.textShadowBlur>0||a.textShadowBlur>0;g.text=e.text,g.x=o,g.y=h,b&&(g.shadowBlur=u.textShadowBlur||a.textShadowBlur||0,g.shadowColor=u.textShadowColor||a.textShadowColor||"transparent",g.shadowOffsetX=u.textShadowOffsetX||a.textShadowOffsetX||0,g.shadowOffsetY=u.textShadowOffsetY||a.textShadowOffsetY||0),g.textAlign=s,g.textBaseline="middle",g.font=e.font||oo,g.opacity=ci(u.opacity,a.opacity,1),yL(g,u),S&&(g.lineWidth=ci(u.lineWidth,a.lineWidth,_),g.lineDash=Je(u.lineDash,a.lineDash),g.lineDashOffset=a.lineDashOffset||0,g.stroke=S),x&&(g.fill=x);var w=e.contentWidth,A=e.contentHeight;p.setBoundingRect(new at(Iv(g.x,w,g.textAlign),Ll(g.y,A,g.textBaseline),w,A))},t.prototype._renderBackground=function(e,a,i,n,o,s){var l=e.backgroundColor,u=e.borderWidth,v=e.borderColor,h=l&&l.image,f=l&&!h,c=e.borderRadius,d=this,p,g;if(f||e.lineHeight||u&&v){p=this._getOrCreateChild(gt),p.useStyle(p.createStyle()),p.style.fill=null;var m=p.shape;m.x=i,m.y=n,m.width=o,m.height=s,m.r=c,p.dirtyShape()}if(f){var y=p.style;y.fill=l||null,y.fillOpacity=Je(e.fillOpacity,1)}else if(h){g=this._getOrCreateChild(Dr),g.onload=function(){d.dirtyStyle()};var _=g.style;_.image=l.image,_.x=i,_.y=n,_.width=o,_.height=s}if(u&&v){var y=p.style;y.lineWidth=u,y.stroke=v,y.strokeOpacity=Je(e.strokeOpacity,1),y.lineDash=e.borderDash,y.lineDashOffset=e.borderDashOffset||0,p.strokeContainThreshold=0,p.hasFill()&&p.hasStroke()&&(y.strokeFirst=!0,y.lineWidth*=2)}var x=(p||g).style;x.shadowBlur=e.shadowBlur||0,x.shadowColor=e.shadowColor||"transparent",x.shadowOffsetX=e.shadowOffsetX||0,x.shadowOffsetY=e.shadowOffsetY||0,x.opacity=ci(e.opacity,a.opacity,1)},t.makeFont=function(e){var a="";return Bq(e)&&(a=[e.fontStyle,e.fontWeight,zq(e.fontSize),e.fontFamily||"sans-serif"].join(" ")),a&&Ua(a)||e.textFont||e.font},t})(Za),vK={left:!0,right:1,center:1},hK={top:1,bottom:1,middle:1},mL=["fontStyle","fontWeight","fontSize","fontFamily"];function zq(r){return typeof r=="string"&&(r.indexOf("px")!==-1||r.indexOf("rem")!==-1||r.indexOf("em")!==-1)?r:isNaN(+r)?LA+"px":r+"px"}function yL(r,t){for(var e=0;e=0,n=!1;if(r instanceof ht){var o=Vq(r),s=i&&o.selectFill||o.normalFill,l=i&&o.selectStroke||o.normalStroke;if(il(s)||il(l)){a=a||{};var u=a.style||{};u.fill==="inherit"?(n=!0,a=_e({},a),u=_e({},u),u.fill=s):!il(u.fill)&&il(s)?(n=!0,a=_e({},a),u=_e({},u),u.fill=Td(s)):!il(u.stroke)&&il(l)&&(n||(a=_e({},a),u=_e({},u)),u.stroke=Td(l)),a.style=u}}if(a&&a.z2==null){n||(a=_e({},a));var v=r.z2EmphasisLift;a.z2=r.z2+(v!=null?v:nu)}return a}function yK(r,t,e){if(e&&e.z2==null){e=_e({},e);var a=r.z2SelectLift;e.z2=r.z2+(a!=null?a:cK)}return e}function _K(r,t,e){var a=nt(r.currentStates,t)>=0,i=r.style.opacity,n=a?null:gK(r,["opacity"],t,{opacity:1});e=e||{};var o=e.style||{};return o.opacity==null&&(e=_e({},e),o=_e({opacity:a?i:n.opacity*.1},o),e.style=o),e}function sm(r,t){var e=this.states[r];if(this.style){if(r==="emphasis")return mK(this,r,t,e);if(r==="blur")return _K(this,r,e);if(r==="select")return yK(this,r,e)}return e}function Is(r){r.stateProxy=sm;var t=r.getTextContent(),e=r.getTextGuideLine();t&&(t.stateProxy=sm),e&&(e.stateProxy=sm)}function ML(r,t){!$q(r,t)&&!r.__highByOuter&&Mn(r,Gq)}function DL(r,t){!$q(r,t)&&!r.__highByOuter&&Mn(r,Fq)}function xn(r,t){r.__highByOuter|=1<<(t||0),Mn(r,Gq)}function Sn(r,t){!(r.__highByOuter&=~(1<<(t||0)))&&Mn(r,Fq)}function qq(r){Mn(r,jA)}function JA(r){Mn(r,Hq)}function Wq(r){Mn(r,dK)}function Uq(r){Mn(r,pK)}function $q(r,t){return r.__highDownSilentOnTouch&&t.zrByTouch}function Yq(r){var t=r.getModel(),e=[],a=[];t.eachComponent(function(i,n){var o=KA(n),s=i==="series",l=s?r.getViewOfSeriesModel(n):r.getViewOfComponentModel(n);!s&&a.push(l),o.isBlured&&(l.group.traverse(function(u){Hq(u)}),s&&e.push(n)),o.isBlured=!1}),$(a,function(i){i&&i.toggleBlurSeries&&i.toggleBlurSeries(e,!1,t)})}function uT(r,t,e,a){var i=a.getModel();e=e||"coordinateSystem";function n(u,v){for(var h=0;h0){var s={dataIndex:o,seriesIndex:e.seriesIndex};n!=null&&(s.dataType=n),t.push(s)}})}),t}function to(r,t,e){cs(r,!0),Mn(r,Is),hT(r,t,e)}function AK(r){cs(r,!1)}function tr(r,t,e,a){a?AK(r):to(r,t,e)}function hT(r,t,e){var a=Xe(r);t!=null?(a.focus=t,a.blurScope=e):a.focus&&(a.focus=null)}var IL=["emphasis","blur","select"],CK={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Vr(r,t,e,a){e=e||"itemStyle";for(var i=0;i1&&(o*=lm(d),s*=lm(d));var p=(i===n?-1:1)*lm((o*o*(s*s)-o*o*(c*c)-s*s*(f*f))/(o*o*(c*c)+s*s*(f*f)))||0,g=p*o*c/s,m=p*-s*f/o,y=(r+e)/2+Bf(h)*g-zf(h)*m,_=(t+a)/2+zf(h)*g+Bf(h)*m,x=kL([1,0],[(f-g)/o,(c-m)/s]),S=[(f-g)/o,(c-m)/s],b=[(-1*f-g)/o,(-1*c-m)/s],w=kL(S,b);if(cT(S,b)<=-1&&(w=Fu),cT(S,b)>=1&&(w=0),w<0){var A=Math.round(w/Fu*1e6)/1e6;w=Fu*2+A%2*Fu}v.addData(u,y,_,o,s,x,w,h,n)}var RK=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,EK=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function kK(r){var t=new Zi;if(!r)return t;var e=0,a=0,i=e,n=a,o,s=Zi.CMD,l=r.match(RK);if(!l)return t;for(var u=0;uP*P+I*I&&(A=C,T=M),{cx:A,cy:T,x0:-v,y0:-h,x1:A*(i/S-1),y1:T*(i/S-1)}}function FK(r){var t;if(Se(r)){var e=r.length;if(!e)return r;e===1?t=[r[0],r[0],0,0]:e===2?t=[r[0],r[0],r[1],r[1]]:e===3?t=r.concat(r[2]):t=r}else t=[r,r,r,r];return t}function HK(r,t){var e,a=Pv(t.r,0),i=Pv(t.r0||0,0),n=a>0,o=i>0;if(!(!n&&!o)){if(n||(a=i,i=0),i>a){var s=a;a=i,i=s}var l=t.startAngle,u=t.endAngle;if(!(isNaN(l)||isNaN(u))){var v=t.cx,h=t.cy,f=!!t.clockwise,c=NL(u-l),d=c>um&&c%um;if(d>si&&(c=d),!(a>si))r.moveTo(v,h);else if(c>um-si)r.moveTo(v+a*ol(l),h+a*Vo(l)),r.arc(v,h,a,l,u,!f),i>si&&(r.moveTo(v+i*ol(u),h+i*Vo(u)),r.arc(v,h,i,u,l,f));else{var p=void 0,g=void 0,m=void 0,y=void 0,_=void 0,x=void 0,S=void 0,b=void 0,w=void 0,A=void 0,T=void 0,C=void 0,M=void 0,L=void 0,D=void 0,P=void 0,I=a*ol(l),R=a*Vo(l),E=i*ol(u),k=i*Vo(u),B=c>si;if(B){var F=t.cornerRadius;F&&(e=FK(F),p=e[0],g=e[1],m=e[2],y=e[3]);var V=NL(a-i)/2;if(_=Li(V,m),x=Li(V,y),S=Li(V,p),b=Li(V,g),T=w=Pv(_,x),C=A=Pv(S,b),(w>si||A>si)&&(M=a*ol(u),L=a*Vo(u),D=i*ol(l),P=i*Vo(l),csi){var W=Li(m,T),Y=Li(y,T),X=Vf(D,P,I,R,a,W,f),K=Vf(M,L,E,k,a,Y,f);r.moveTo(v+X.cx+X.x0,h+X.cy+X.y0),T0&&r.arc(v+X.cx,h+X.cy,W,Hr(X.y0,X.x0),Hr(X.y1,X.x1),!f),r.arc(v,h,a,Hr(X.cy+X.y1,X.cx+X.x1),Hr(K.cy+K.y1,K.cx+K.x1),!f),Y>0&&r.arc(v+K.cx,h+K.cy,Y,Hr(K.y1,K.x1),Hr(K.y0,K.x0),!f))}else r.moveTo(v+I,h+R),r.arc(v,h,a,l,u,!f);if(!(i>si)||!B)r.lineTo(v+E,h+k);else if(C>si){var W=Li(p,C),Y=Li(g,C),X=Vf(E,k,M,L,i,-Y,f),K=Vf(I,R,D,P,i,-W,f);r.lineTo(v+X.cx+X.x0,h+X.cy+X.y0),C0&&r.arc(v+X.cx,h+X.cy,Y,Hr(X.y0,X.x0),Hr(X.y1,X.x1),!f),r.arc(v,h,i,Hr(X.cy+X.y1,X.cx+X.x1),Hr(K.cy+K.y1,K.cx+K.x1),f),W>0&&r.arc(v+K.cx,h+K.cy,W,Hr(K.y1,K.x1),Hr(K.y0,K.x0),!f))}else r.lineTo(v+E,h+k),r.arc(v,h,i,u,l,f)}r.closePath()}}}var qK=(function(){function r(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return r})(),Qr=(function(r){he(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new qK},t.prototype.buildPath=function(e,a){HK(e,a)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t})(ht);Qr.prototype.type="sector";var WK=(function(){function r(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return r})(),ou=(function(r){he(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new WK},t.prototype.buildPath=function(e,a){var i=a.cx,n=a.cy,o=Math.PI*2;e.moveTo(i+a.r,n),e.arc(i,n,a.r,0,o,!1),e.moveTo(i+a.r0,n),e.arc(i,n,a.r0,0,o,!0)},t})(ht);ou.prototype.type="ring";function UK(r,t,e,a){var i=[],n=[],o=[],s=[],l,u,v,h;if(a){v=[1/0,1/0],h=[-1/0,-1/0];for(var f=0,c=r.length;f=2){if(a){var n=UK(i,a,e,t.smoothConstraint);r.moveTo(i[0][0],i[0][1]);for(var o=i.length,s=0;s<(e?o:o-1);s++){var l=n[s*2],u=n[s*2+1],v=i[(s+1)%o];r.bezierCurveTo(l[0],l[1],u[0],u[1],v[0],v[1])}}else{r.moveTo(i[0][0],i[0][1]);for(var s=1,h=i.length;sFo[1]){if(s=!1,n)return s;var v=Math.abs(Fo[0]-Go[1]),h=Math.abs(Go[0]-Fo[1]);Math.min(v,h)>i.len()&&(v0){var h=v.duration,f=v.delay,c=v.easing,d={duration:h,delay:f||0,easing:c,done:n,force:!!n||!!o,setToFinal:!u,scope:r,during:o};s?t.animateFrom(e,d):t.animateTo(e,d)}else t.stopAnimation(),!s&&t.attr(e),o&&o(1),n&&n()}function wt(r,t,e,a,i,n){aC("update",r,t,e,a,i,n)}function $t(r,t,e,a,i,n){aC("enter",r,t,e,a,i,n)}function Gl(r){if(!r.__zr)return!0;for(var t=0;tMath.abs(n[1])?n[0]>0?"right":"left":n[1]>0?"bottom":"top"}function VL(r){return!r.isGroup}function rQ(r){return r.shape!=null}function Yh(r,t,e){if(!r||!t)return;function a(o){var s={};return o.traverse(function(l){VL(l)&&l.anid&&(s[l.anid]=l)}),s}function i(o){var s={x:o.x,y:o.y,rotation:o.rotation};return rQ(o)&&(s.shape=_e({},o.shape)),s}var n=a(r);t.traverse(function(o){if(VL(o)&&o.anid){var s=n[o.anid];if(s){var l=i(o);o.attr(i(s)),wt(o,l,e,Xe(o).dataIndex)}}})}function oC(r,t){return we(r,function(e){var a=e[0];a=Pd(a,t.x),a=Rd(a,t.x+t.width);var i=e[1];return i=Pd(i,t.y),i=Rd(i,t.y+t.height),[a,i]})}function sW(r,t){var e=Pd(r.x,t.x),a=Rd(r.x+r.width,t.x+t.width),i=Pd(r.y,t.y),n=Rd(r.y+r.height,t.y+t.height);if(a>=e&&n>=i)return{x:e,y:i,width:a-e,height:n-i}}function vu(r,t,e){var a=_e({rectHover:!0},t),i=a.style={strokeNoScale:!0};if(e=e||{x:-1,y:-1,width:2,height:2},r)return r.indexOf("image://")===0?(i.image=r.slice(8),Ue(i,e),new Dr(a)):$h(r.replace("path://",""),a,e,"center")}function Rv(r,t,e,a,i){for(var n=0,o=i[i.length-1];n1)return!1;var g=vm(c,d,v,h)/f;return!(g<0||g>1)}function vm(r,t,e,a){return r*a-e*t}function aQ(r){return r<=1e-6&&r>=-1e-6}function zs(r){var t=r.itemTooltipOption,e=r.componentModel,a=r.itemName,i=Re(t)?{formatter:t}:t,n=e.mainType,o=e.componentIndex,s={componentType:n,name:a,$vars:["name"]};s[n+"Index"]=o;var l=r.formatterParamsExtra;l&&$(ft(l),function(v){Be(s,v)||(s[v]=l[v],s.$vars.push(v))});var u=Xe(r.el);u.componentMainType=n,u.componentIndex=o,u.tooltipConfig={name:a,option:Ue({content:a,encodeHTMLContent:!0,formatterParams:s},i)}}function GL(r,t){var e;r.isGroup&&(e=t(r)),e||r.traverse(t)}function po(r,t){if(r)if(Se(r))for(var e=0;e=0&&s.push(l)}),s}}function go(r,t){return tt(tt({},r,!0),t,!0)}const pQ={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},gQ={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var kd="ZH",lC="EN",Fl=lC,id={},uC={},dW=vt.domSupported?(function(){var r=(document.documentElement.lang||navigator.language||navigator.browserLanguage||Fl).toUpperCase();return r.indexOf(kd)>-1?kd:Fl})():Fl;function vC(r,t){r=r.toUpperCase(),uC[r]=new Mt(t),id[r]=t}function mQ(r){if(Re(r)){var t=id[r.toUpperCase()]||{};return r===kd||r===lC?Ye(t):tt(Ye(t),Ye(id[Fl]),!1)}else return tt(Ye(r),Ye(id[Fl]),!1)}function gT(r){return uC[r]}function yQ(){return uC[Fl]}vC(lC,pQ);vC(kd,gQ);var hC=1e3,fC=hC*60,jv=fC*60,Wa=jv*24,UL=Wa*365,Ev={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},Hf="{yyyy}-{MM}-{dd}",$L={year:"{yyyy}",month:"{yyyy}-{MM}",day:Hf,hour:Hf+" "+Ev.hour,minute:Hf+" "+Ev.minute,second:Hf+" "+Ev.second,millisecond:Ev.none},cm=["year","month","day","hour","minute","second","millisecond"],pW=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function na(r,t){return r+="","0000".substr(0,t-r.length)+r}function Hl(r){switch(r){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return r}}function _Q(r){return r===Hl(r)}function xQ(r){switch(r){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function Zh(r,t,e,a){var i=Ma(r),n=i[cC(e)](),o=i[ql(e)]()+1,s=Math.floor((o-1)/3)+1,l=i[zp(e)](),u=i["get"+(e?"UTC":"")+"Day"](),v=i[yh(e)](),h=(v-1)%12+1,f=i[Bp(e)](),c=i[Vp(e)](),d=i[Gp(e)](),p=v>=12?"pm":"am",g=p.toUpperCase(),m=a instanceof Mt?a:gT(a||dW)||yQ(),y=m.getModel("time"),_=y.get("month"),x=y.get("monthAbbr"),S=y.get("dayOfWeek"),b=y.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,p+"").replace(/{A}/g,g+"").replace(/{yyyy}/g,n+"").replace(/{yy}/g,na(n%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,_[o-1]).replace(/{MMM}/g,x[o-1]).replace(/{MM}/g,na(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,na(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,S[u]).replace(/{ee}/g,b[u]).replace(/{e}/g,u+"").replace(/{HH}/g,na(v,2)).replace(/{H}/g,v+"").replace(/{hh}/g,na(h+"",2)).replace(/{h}/g,h+"").replace(/{mm}/g,na(f,2)).replace(/{m}/g,f+"").replace(/{ss}/g,na(c,2)).replace(/{s}/g,c+"").replace(/{SSS}/g,na(d,3)).replace(/{S}/g,d+"")}function SQ(r,t,e,a,i){var n=null;if(Re(e))n=e;else if(He(e))n=e(r.value,t,{level:r.level});else{var o=_e({},Ev);if(r.level>0)for(var s=0;s=0;--s)if(l[u]){n=l[u];break}n=n||o.none}if(Se(n)){var h=r.level==null?0:r.level>=0?r.level:n.length+r.level;h=Math.min(h,n.length-1),n=n[h]}}return Zh(new Date(r.value),n,i,a)}function gW(r,t){var e=Ma(r),a=e[ql(t)]()+1,i=e[zp(t)](),n=e[yh(t)](),o=e[Bp(t)](),s=e[Vp(t)](),l=e[Gp(t)](),u=l===0,v=u&&s===0,h=v&&o===0,f=h&&n===0,c=f&&i===1,d=c&&a===1;return d?"year":c?"month":f?"day":h?"hour":v?"minute":u?"second":"millisecond"}function YL(r,t,e){var a=bt(r)?Ma(r):r;switch(t=t||gW(r,e),t){case"year":return a[cC(e)]();case"half-year":return a[ql(e)]()>=6?1:0;case"quarter":return Math.floor((a[ql(e)]()+1)/4);case"month":return a[ql(e)]();case"day":return a[zp(e)]();case"half-day":return a[yh(e)]()/24;case"hour":return a[yh(e)]();case"minute":return a[Bp(e)]();case"second":return a[Vp(e)]();case"millisecond":return a[Gp(e)]()}}function cC(r){return r?"getUTCFullYear":"getFullYear"}function ql(r){return r?"getUTCMonth":"getMonth"}function zp(r){return r?"getUTCDate":"getDate"}function yh(r){return r?"getUTCHours":"getHours"}function Bp(r){return r?"getUTCMinutes":"getMinutes"}function Vp(r){return r?"getUTCSeconds":"getSeconds"}function Gp(r){return r?"getUTCMilliseconds":"getMilliseconds"}function bQ(r){return r?"setUTCFullYear":"setFullYear"}function mW(r){return r?"setUTCMonth":"setMonth"}function yW(r){return r?"setUTCDate":"setDate"}function _W(r){return r?"setUTCHours":"setHours"}function xW(r){return r?"setUTCMinutes":"setMinutes"}function SW(r){return r?"setUTCSeconds":"setSeconds"}function bW(r){return r?"setUTCMilliseconds":"setMilliseconds"}function wQ(r,t,e,a,i,n,o,s){var l=new pt({style:{text:r,font:t,align:e,verticalAlign:a,padding:i,rich:n,overflow:o?"truncate":null,lineHeight:s}});return l.getBoundingRect()}function dC(r){if(!WA(r))return Re(r)?r:"-";var t=(r+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function pC(r,t){return r=(r||"").toLowerCase().replace(/-(.)/g,function(e,a){return a.toUpperCase()}),t&&r&&(r=r.charAt(0).toUpperCase()+r.slice(1)),r}var Vs=xp;function mT(r,t,e){var a="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function i(v){return v&&Ua(v)?v:"-"}function n(v){return!!(v!=null&&!isNaN(v)&&isFinite(v))}var o=t==="time",s=r instanceof Date;if(o||s){var l=o?Ma(r):r;if(isNaN(+l)){if(s)return"-"}else return Zh(l,a,e)}if(t==="ordinal")return md(r)?i(r):bt(r)&&n(r)?r+"":"-";var u=Yi(r);return n(u)?dC(u):md(r)?i(r):typeof r=="boolean"?r+"":"-"}var ZL=["a","b","c","d","e","f","g"],dm=function(r,t){return"{"+r+(t==null?"":t)+"}"};function gC(r,t,e){Se(t)||(t=[t]);var a=t.length;if(!a)return"";for(var i=t[0].$vars||[],n=0;n':'';var o=e.markerId||"markerX";return{renderMode:n,content:"{"+o+"|} ",style:i==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:a}:{width:10,height:10,borderRadius:5,backgroundColor:a}}}function AQ(r,t,e){(r==="week"||r==="month"||r==="quarter"||r==="half-year"||r==="year")&&(r="MM-dd\nyyyy");var a=Ma(t),i=e?"getUTC":"get",n=a[i+"FullYear"](),o=a[i+"Month"]()+1,s=a[i+"Date"](),l=a[i+"Hours"](),u=a[i+"Minutes"](),v=a[i+"Seconds"](),h=a[i+"Milliseconds"]();return r=r.replace("MM",na(o,2)).replace("M",o).replace("yyyy",n).replace("yy",na(n%100+"",2)).replace("dd",na(s,2)).replace("d",s).replace("hh",na(l,2)).replace("h",l).replace("mm",na(u,2)).replace("m",u).replace("ss",na(v,2)).replace("s",v).replace("SSS",na(h,3)),r}function CQ(r){return r&&r.charAt(0).toUpperCase()+r.substr(1)}function Ps(r,t){return t=t||"transparent",Re(r)?r:$e(r)&&r.colorStops&&(r.colorStops[0]||{}).color||t}function Od(r,t){if(t==="_blank"||t==="blank"){var e=window.open();e.opener=null,e.location.href=r}else window.open(r,t)}var nd=$,TW=["left","right","top","bottom","width","height"],ds=[["width","left","right"],["height","top","bottom"]];function mC(r,t,e,a,i){var n=0,o=0;a==null&&(a=1/0),i==null&&(i=1/0);var s=0;t.eachChild(function(l,u){var v=l.getBoundingRect(),h=t.childAt(u+1),f=h&&h.getBoundingRect(),c,d;if(r==="horizontal"){var p=v.width+(f?-f.x+v.x:0);c=n+p,c>a||l.newline?(n=0,c=p,o+=s+e,s=v.height):s=Math.max(s,v.height)}else{var g=v.height+(f?-f.y+v.y:0);d=o+g,d>i||l.newline?(n+=s+e,o=0,d=g,s=v.width):s=Math.max(s,v.width)}l.newline||(l.x=n,l.y=o,l.markRedraw(),r==="horizontal"?n=c+e:o=d+e)})}var bs=mC;et(mC,"vertical");et(mC,"horizontal");function MQ(r,t,e){var a=t.width,i=t.height,n=Ie(r.left,a),o=Ie(r.top,i),s=Ie(r.right,a),l=Ie(r.bottom,i);return(isNaN(n)||isNaN(parseFloat(r.left)))&&(n=0),(isNaN(s)||isNaN(parseFloat(r.right)))&&(s=a),(isNaN(o)||isNaN(parseFloat(r.top)))&&(o=0),(isNaN(l)||isNaN(parseFloat(r.bottom)))&&(l=i),e=Vs(e||0),{width:Math.max(s-n-e[1]-e[3],0),height:Math.max(l-o-e[0]-e[2],0)}}function dr(r,t,e){e=Vs(e||0);var a=t.width,i=t.height,n=Ie(r.left,a),o=Ie(r.top,i),s=Ie(r.right,a),l=Ie(r.bottom,i),u=Ie(r.width,a),v=Ie(r.height,i),h=e[2]+e[0],f=e[1]+e[3],c=r.aspect;switch(isNaN(u)&&(u=a-s-f-n),isNaN(v)&&(v=i-l-h-o),c!=null&&(isNaN(u)&&isNaN(v)&&(c>a/i?u=a*.8:v=i*.8),isNaN(u)&&(u=c*v),isNaN(v)&&(v=u/c)),isNaN(n)&&(n=a-s-u-f),isNaN(o)&&(o=i-l-v-h),r.left||r.right){case"center":n=a/2-u/2-e[3];break;case"right":n=a-u-f;break}switch(r.top||r.bottom){case"middle":case"center":o=i/2-v/2-e[0];break;case"bottom":o=i-v-h;break}n=n||0,o=o||0,isNaN(u)&&(u=a-f-n-(s||0)),isNaN(v)&&(v=i-h-o-(l||0));var d=new at(n+e[3],o+e[0],u,v);return d.margin=e,d}function Fp(r,t,e,a,i,n){var o=!i||!i.hv||i.hv[0],s=!i||!i.hv||i.hv[1],l=i&&i.boundingMode||"all";if(n=n||r,n.x=r.x,n.y=r.y,!o&&!s)return!1;var u;if(l==="raw")u=r.type==="group"?new at(0,0,+t.width||0,+t.height||0):r.getBoundingRect();else if(u=r.getBoundingRect(),r.needLocalTransform()){var v=r.getLocalTransform();u=u.clone(),u.applyTransform(v)}var h=dr(Ue({width:u.width,height:u.height},t),e,a),f=o?h.x-u.x:0,c=s?h.y-u.y:0;return l==="raw"?(n.x=f,n.y=c):(n.x+=f,n.y+=c),n===r&&r.markRedraw(),!0}function DQ(r,t){return r[ds[t][0]]!=null||r[ds[t][1]]!=null&&r[ds[t][2]]!=null}function _h(r){var t=r.layoutMode||r.constructor.layoutMode;return $e(t)?t:t?{type:t}:null}function uo(r,t,e){var a=e&&e.ignoreSize;!Se(a)&&(a=[a,a]);var i=o(ds[0],0),n=o(ds[1],1);u(ds[0],r,i),u(ds[1],r,n);function o(v,h){var f={},c=0,d={},p=0,g=2;if(nd(v,function(_){d[_]=r[_]}),nd(v,function(_){s(t,_)&&(f[_]=d[_]=t[_]),l(f,_)&&c++,l(d,_)&&p++}),a[h])return l(t,v[1])?d[v[2]]=null:l(t,v[2])&&(d[v[1]]=null),d;if(p===g||!c)return d;if(c>=g)return f;for(var m=0;m=0;l--)s=tt(s,i[l],!0);a.defaultOption=s}return a.defaultOption},t.prototype.getReferringComponents=function(e,a){var i=e+"Index",n=e+"Id";return Hh(this.ecModel,e,{index:this.get(i,!0),id:this.get(n,!0)},a)},t.prototype.getBoxLayoutParams=function(){var e=this;return{left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(e){this.option.zlevel=e},t.protoInitialize=(function(){var e=t.prototype;e.type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0})(),t})(Mt);Dq(ut,Mt);Mp(ut);cQ(ut);dQ(ut,IQ);function IQ(r){var t=[];return $(ut.getClassesByMainType(r),function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])}),t=we(t,function(e){return Gi(e).main}),r!=="dataset"&&nt(t,"dataset")<=0&&t.unshift("dataset"),t}var CW="";typeof navigator<"u"&&(CW=navigator.platform||"");var sl="rgba(0, 0, 0, 0.2)";const PQ={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:sl,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:sl,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:sl,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:sl,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:sl,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:sl,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:CW.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var MW=Ge(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Qa="original",Jr="arrayRows",ja="objectRows",Ki="keyedColumns",ao="typedArray",DW="unknown",Ui="column",du="row",zr={Must:1,Might:2,Not:3},LW=yt();function RQ(r){LW(r).datasetMap=Ge()}function IW(r,t,e){var a={},i=_C(t);if(!i||!r)return a;var n=[],o=[],s=t.ecModel,l=LW(s).datasetMap,u=i.uid+"_"+e.seriesLayoutBy,v,h;r=r.slice(),$(r,function(p,g){var m=$e(p)?p:r[g]={name:p};m.type==="ordinal"&&v==null&&(v=g,h=d(m)),a[m.name]=[]});var f=l.get(u)||l.set(u,{categoryWayDim:h,valueWayDim:0});$(r,function(p,g){var m=p.name,y=d(p);if(v==null){var _=f.valueWayDim;c(a[m],_,y),c(o,_,y),f.valueWayDim+=y}else if(v===g)c(a[m],0,y),c(n,0,y);else{var _=f.categoryWayDim;c(a[m],_,y),c(o,_,y),f.categoryWayDim+=y}});function c(p,g,m){for(var y=0;yt)return r[a];return r[e-1]}function EW(r,t,e,a,i,n,o){n=n||r;var s=t(n),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var v=o==null||!a?e:zQ(a,o);if(v=v||e,!(!v||!v.length)){var h=v[l];return i&&(u[i]=h),s.paletteIdx=(l+1)%v.length,h}}function BQ(r,t){t(r).paletteIdx=0,t(r).paletteNameMap={}}var qf,Hu,KL,QL="\0_ec_inner",VQ=1,SC=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.init=function(e,a,i,n,o,s){n=n||{},this.option=null,this._theme=new Mt(n),this._locale=new Mt(o),this._optionManager=s},t.prototype.setOption=function(e,a,i){var n=eI(a);this._optionManager.setOption(e,i,n),this._resetOption(null,n)},t.prototype.resetOption=function(e,a){return this._resetOption(e,eI(a))},t.prototype._resetOption=function(e,a){var i=!1,n=this._optionManager;if(!e||e==="recreate"){var o=n.mountOption(e==="recreate");!this.option||e==="recreate"?KL(this,o):(this.restoreData(),this._mergeOption(o,a)),i=!0}if((e==="timeline"||e==="media")&&this.restoreData(),!e||e==="recreate"||e==="timeline"){var s=n.getTimelineOption(this);s&&(i=!0,this._mergeOption(s,a))}if(!e||e==="recreate"||e==="media"){var l=n.getMediaOption(this);l.length&&$(l,function(u){i=!0,this._mergeOption(u,a)},this)}return i},t.prototype.mergeOption=function(e){this._mergeOption(e,null)},t.prototype._mergeOption=function(e,a){var i=this.option,n=this._componentsMap,o=this._componentsCount,s=[],l=Ge(),u=a&&a.replaceMergeMainTypeMap;RQ(this),$(e,function(h,f){h!=null&&(ut.hasClass(f)?f&&(s.push(f),l.set(f,!0)):i[f]=i[f]==null?Ye(h):tt(i[f],h,!0))}),u&&u.each(function(h,f){ut.hasClass(f)&&!l.get(f)&&(s.push(f),l.set(f,!0))}),ut.topologicalTravel(s,ut.getAllClassMainTypes(),v,this);function v(h){var f=OQ(this,h,Nt(e[h])),c=n.get(h),d=c?u&&u.get(h)?"replaceMerge":"normalMerge":"replaceAll",p=wq(c,f,d);fX(p,h,ut),i[h]=null,n.set(h,null),o.set(h,0);var g=[],m=[],y=0,_;$(p,function(x,S){var b=x.existing,w=x.newOption;if(!w)b&&(b.mergeOption({},this),b.optionUpdated({},!1));else{var A=h==="series",T=ut.getClass(h,x.keyInfo.subType,!A);if(!T)return;if(h==="tooltip"){if(_)return;_=!0}if(b&&b.constructor===T)b.name=x.keyInfo.name,b.mergeOption(w,this),b.optionUpdated(w,!1);else{var C=_e({componentIndex:S},x.keyInfo);b=new T(w,this,this,C),_e(b,C),x.brandNew&&(b.__requireNewView=!0),b.init(w,this,this),b.optionUpdated(null,!0)}}b?(g.push(b.option),m.push(b),y++):(g.push(void 0),m.push(void 0))},this),i[h]=g,n.set(h,m),o.set(h,y),h==="series"&&qf(this)}this._seriesIndices||qf(this)},t.prototype.getOption=function(){var e=Ye(this.option);return $(e,function(a,i){if(ut.hasClass(i)){for(var n=Nt(a),o=n.length,s=!1,l=o-1;l>=0;l--)n[l]&&!dh(n[l])?s=!0:(n[l]=null,!s&&o--);n.length=o,e[i]=n}}),delete e[QL],e},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(e){this._payload=e},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(e,a){var i=this._componentsMap.get(e);if(i){var n=i[a||0];if(n)return n;if(a==null){for(var o=0;o=t:e==="max"?r<=t:r===t}function ZQ(r,t){return r.join(",")===t.join(",")}var ri=$,xh=$e,tI=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function gm(r){var t=r&&r.itemStyle;if(t)for(var e=0,a=tI.length;e=0;g--){var m=r[g];if(s||(d=m.data.rawIndexOf(m.stackedByDimension,c)),d>=0){var y=m.data.getByRawIndex(m.stackResultDimension,d);if(l==="all"||l==="positive"&&y>0||l==="negative"&&y<0||l==="samesign"&&f>=0&&y>0||l==="samesign"&&f<=0&&y<0){f=rX(f,y),p=y;break}}}return a[0]=f,a[1]=p,a})})}var Hp=(function(){function r(t){this.data=t.data||(t.sourceFormat===Ki?{}:[]),this.sourceFormat=t.sourceFormat||DW,this.seriesLayoutBy=t.seriesLayoutBy||Ui,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var a=0;ap&&(p=_)}c[0]=d,c[1]=p}},i=function(){return this._data?this._data.length/this._dimSize:0};lI=(t={},t[Jr+"_"+Ui]={pure:!0,appendData:n},t[Jr+"_"+du]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[ja]={pure:!0,appendData:n},t[Ki]={pure:!0,appendData:function(o){var s=this._data;$(o,function(l,u){for(var v=s[u]||(s[u]=[]),h=0;h<(l||[]).length;h++)v.push(l[h])})}},t[Qa]={appendData:n},t[ao]={persistent:!1,pure:!0,appendData:function(o){this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},t);function n(o){for(var s=0;s=0&&(p=o.interpolatedValue[g])}return p!=null?p+"":""})}},r.prototype.getRawValue=function(t,e){return Kl(this.getData(e),t)},r.prototype.formatTooltip=function(t,e,a){},r})();function fI(r){var t,e;return $e(r)?r.type&&(e=r):t=r,{text:t,frag:e}}function Jv(r){return new hj(r)}var hj=(function(){function r(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return r.prototype.perform=function(t){var e=this._upstream,a=t&&t.skip;if(this._dirty&&e){var i=this.context;i.data=i.outputData=e.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var n;this._plan&&!a&&(n=this._plan(this.context));var o=v(this._modBy),s=this._modDataCount||0,l=v(t&&t.modBy),u=t&&t.modDataCount||0;(o!==l||s!==u)&&(n="reset");function v(y){return!(y>=1)&&(y=1),y}var h;(this._dirty||n==="reset")&&(this._dirty=!1,h=this._doReset(a)),this._modBy=l,this._modDataCount=u;var f=t&&t.step;if(e?this._dueEnd=e._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var c=this._dueIndex,d=Math.min(f!=null?this._dueIndex+f:1/0,this._dueEnd);if(!a&&(h||c1&&a>0?s:o}};return n;function o(){return t=r?null:lt},gte:function(r,t){return r>=t}},cj=(function(){function r(t,e){if(!bt(e)){var a="";Rt(a)}this._opFn=WW[t],this._rvalFloat=Yi(e)}return r.prototype.evaluate=function(t){return bt(t)?this._opFn(t,this._rvalFloat):this._opFn(Yi(t),this._rvalFloat)},r})(),UW=(function(){function r(t,e){var a=t==="desc";this._resultLT=a?1:-1,e==null&&(e=a?"min":"max"),this._incomparable=e==="min"?-1/0:1/0}return r.prototype.evaluate=function(t,e){var a=bt(t)?t:Yi(t),i=bt(e)?e:Yi(e),n=isNaN(a),o=isNaN(i);if(n&&(a=this._incomparable),o&&(i=this._incomparable),n&&o){var s=Re(t),l=Re(e);s&&(a=l?t:0),l&&(i=s?e:0)}return ai?-this._resultLT:0},r})(),dj=(function(){function r(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=Yi(e)}return r.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var a=typeof t;a!==this._rvalTypeof&&(a==="number"||this._rvalTypeof==="number")&&(e=Yi(t)===this._rvalFloat)}return this._isEQ?e:!e},r})();function pj(r,t){return r==="eq"||r==="ne"?new dj(r==="eq",t):Be(WW,r)?new cj(r,t):null}var gj=(function(){function r(){}return r.prototype.getRawData=function(){throw new Error("not supported")},r.prototype.getRawDataItem=function(t){throw new Error("not supported")},r.prototype.cloneRawData=function(){},r.prototype.getDimensionInfo=function(t){},r.prototype.cloneAllDimensionInfo=function(){},r.prototype.count=function(){},r.prototype.retrieveValue=function(t,e){},r.prototype.retrieveValueFromItem=function(t,e){},r.prototype.convertValue=function(t,e){return io(t,e)},r})();function mj(r,t){var e=new gj,a=r.data,i=e.sourceFormat=r.sourceFormat,n=r.startIndex,o="";r.seriesLayoutBy!==Ui&&Rt(o);var s=[],l={},u=r.dimensionsDefine;if(u)$(u,function(p,g){var m=p.name,y={index:g,name:m,displayName:p.displayName};if(s.push(y),m!=null){var _="";Be(l,m)&&Rt(_),l[m]=y}});else for(var v=0;v65535?Aj:Cj}function ul(){return[1/0,-1/0]}function Mj(r){var t=r.constructor;return t===Array?r.slice():new t(r)}function pI(r,t,e,a,i){var n=ZW[e||"float"];if(i){var o=r[t],s=o&&o.length;if(s!==a){for(var l=new n(a),u=0;ug[1]&&(g[1]=p)}return this._rawCount=this._count=l,{start:s,end:l}},r.prototype._initDataFromProvider=function(t,e,a){for(var i=this._provider,n=this._chunks,o=this._dimensions,s=o.length,l=this._rawExtent,u=we(o,function(y){return y.property}),v=0;vm[1]&&(m[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},r.prototype.count=function(){return this._count},r.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,a=e[t];if(a!=null&&at)n=o-1;else return o}return-1},r.prototype.indicesOfNearest=function(t,e,a){var i=this._chunks,n=i[t],o=[];if(!n)return o;a==null&&(a=1/0);for(var s=1/0,l=-1,u=0,v=0,h=this.count();v=0&&l<0)&&(s=d,l=c,u=0),c===l&&(o[u++]=v))}return o.length=u,o},r.prototype.getIndices=function(){var t,e=this._indices;if(e){var a=e.constructor,i=this._count;if(a===Array){t=new a(i);for(var n=0;n=h&&y<=f||isNaN(y))&&(l[u++]=p),p++}d=!0}else if(n===2){for(var g=c[i[0]],_=c[i[1]],x=t[i[1]][0],S=t[i[1]][1],m=0;m=h&&y<=f||isNaN(y))&&(b>=x&&b<=S||isNaN(b))&&(l[u++]=p),p++}d=!0}}if(!d)if(n===1)for(var m=0;m=h&&y<=f||isNaN(y))&&(l[u++]=w)}else for(var m=0;mt[C][1])&&(A=!1)}A&&(l[u++]=e.getRawIndex(m))}return um[1]&&(m[1]=g)}}}},r.prototype.lttbDownSample=function(t,e){var a=this.clone([t],!0),i=a._chunks,n=i[t],o=this.count(),s=0,l=Math.floor(1/e),u=this.getRawIndex(0),v,h,f,c=new(ll(this._rawCount))(Math.min((Math.ceil(o/l)+2)*2,o));c[s++]=u;for(var d=1;dv&&(v=h,f=x)}M>0&&Ms&&(p=s-v);for(var g=0;gd&&(d=y,c=v+g)}var _=this.getRawIndex(h),x=this.getRawIndex(c);hv-d&&(l=v-d,s.length=l);for(var p=0;ph[1]&&(h[1]=m),f[c++]=y}return n._count=c,n._indices=f,n._updateGetRawIdx(),n},r.prototype.each=function(t,e){if(this._count)for(var a=t.length,i=this._chunks,n=0,o=this.count();nl&&(l=h)}return o=[s,l],this._extent[t]=o,o},r.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var a=[],i=this._chunks,n=0;n=0?this._indices[t]:-1},r.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},r.internalField=(function(){function t(e,a,i,n){return io(e[n],this._dimensions[n])}_m={arrayRows:t,objectRows:function(e,a,i,n){return io(e[a],this._dimensions[n])},keyedColumns:t,original:function(e,a,i,n){var o=e&&(e.value==null?e:e.value);return io(o instanceof Array?o[n]:o,this._dimensions[n])},typedArray:function(e,a,i,n){return e[n]}}})(),r})(),XW=(function(){function r(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return r.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},r.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},r.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},r.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},r.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,e=this._getUpstreamSourceManagers(),a=!!e.length,i,n;if(Wf(t)){var o=t,s=void 0,l=void 0,u=void 0;if(a){var v=e[0];v.prepareSource(),u=v.getSource(),s=u.data,l=u.sourceFormat,n=[v._getVersionSign()]}else s=o.get("data",!0),l=ua(s)?ao:Qa,n=[];var h=this._getSourceMetaRawOption()||{},f=u&&u.metaRawOption||{},c=Je(h.seriesLayoutBy,f.seriesLayoutBy)||null,d=Je(h.sourceHeader,f.sourceHeader),p=Je(h.dimensions,f.dimensions),g=c!==f.seriesLayoutBy||!!d!=!!f.sourceHeader||p;i=g?[xT(s,{seriesLayoutBy:c,sourceHeader:d,dimensions:p},l)]:[]}else{var m=t;if(a){var y=this._applyTransform(e);i=y.sourceList,n=y.upstreamSignList}else{var _=m.get("source",!0);i=[xT(_,this._getSourceMetaRawOption(),null)],n=[]}}this._setLocalSource(i,n)},r.prototype._applyTransform=function(t){var e=this._sourceHost,a=e.get("transform",!0),i=e.get("fromTransformResult",!0);if(i!=null){var n="";t.length!==1&&mI(n)}var o,s=[],l=[];return $(t,function(u){u.prepareSource();var v=u.getSource(i||0),h="";i!=null&&!v&&mI(h),s.push(v),l.push(u._getVersionSign())}),a?o=wj(a,s,{datasetIndex:e.componentIndex}):i!=null&&(o=[ij(s[0])]),{sourceList:o,upstreamSignList:l}},r.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e1||e>0&&!r.noHeader;return $(r.blocks,function(i){var n=JW(i);n>=t&&(t=n+ +(a&&(!n||bT(i)&&!i.noHeader)))}),t}return 0}function Pj(r,t,e,a){var i=t.noHeader,n=Ej(JW(t)),o=[],s=t.blocks||[];Kr(!s||Se(s)),s=s||[];var l=r.orderMode;if(t.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Be(u,l)){var v=new UW(u[l],null);s.sort(function(p,g){return v.evaluate(p.sortParam,g.sortParam)})}else l==="seriesDesc"&&s.reverse()}$(s,function(p,g){var m=t.valueFormatter,y=jW(p)(m?_e(_e({},r),{valueFormatter:m}):r,p,g>0?n.html:0,a);y!=null&&o.push(y)});var h=r.renderMode==="richText"?o.join(n.richText):wT(a,o.join(""),i?e:n.html);if(i)return h;var f=mT(t.header,"ordinal",r.useUTC),c=QW(a,r.renderMode).nameStyle,d=KW(a);return r.renderMode==="richText"?eU(r,f,c)+n.richText+h:wT(a,'
'+Zr(f)+"
"+h,e)}function Rj(r,t,e,a){var i=r.renderMode,n=t.noName,o=t.noValue,s=!t.markerType,l=t.name,u=r.useUTC,v=t.valueFormatter||r.valueFormatter||function(x){return x=Se(x)?x:[x],we(x,function(S,b){return mT(S,Se(c)?c[b]:c,u)})};if(!(n&&o)){var h=s?"":r.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),f=n?"":mT(l,"ordinal",u),c=t.valueType,d=o?[]:v(t.value,t.dataIndex),p=!s||!n,g=!s&&n,m=QW(a,i),y=m.nameStyle,_=m.valueStyle;return i==="richText"?(s?"":h)+(n?"":eU(r,f,y))+(o?"":Nj(r,d,p,g,_)):wT(a,(s?"":h)+(n?"":kj(f,!s,y))+(o?"":Oj(d,p,g,_)),e)}}function yI(r,t,e,a,i,n){if(r){var o=jW(r),s={useUTC:i,renderMode:e,orderMode:a,markupStyleCreator:t,valueFormatter:r.valueFormatter};return o(s,r,0,n)}}function Ej(r){return{html:Lj[r],richText:Ij[r]}}function wT(r,t,e){var a='
',i="margin: "+e+"px 0 0",n=KW(r);return'
'+t+a+"
"}function kj(r,t,e){var a=t?"margin-left:2px":"";return''+Zr(r)+""}function Oj(r,t,e,a){var i=e?"10px":"20px",n=t?"float:right;margin-left:"+i:"";return r=Se(r)?r:[r],''+we(r,function(o){return Zr(o)}).join("  ")+""}function eU(r,t,e){return r.markupStyleCreator.wrapRichTextStyle(t,e)}function Nj(r,t,e,a,i){var n=[i],o=a?10:20;return e&&n.push({padding:[0,0,0,o],align:"right"}),r.markupStyleCreator.wrapRichTextStyle(Se(t)?t.join(" "):t,n)}function tU(r,t){var e=r.getData().getItemVisual(t,"style"),a=e[r.visualDrawType];return Ps(a)}function rU(r,t){var e=r.get("padding");return e!=null?e:t==="richText"?[8,10]:10}var xm=(function(){function r(){this.richTextStyles={},this._nextStyleNameId=_q()}return r.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},r.prototype.makeTooltipMarker=function(t,e,a){var i=a==="richText"?this._generateStyleName():null,n=wW({color:e,type:t,renderMode:a,markerId:i});return Re(n)?n:(this.richTextStyles[i]=n.style,n.content)},r.prototype.wrapRichTextStyle=function(t,e){var a={};Se(e)?$(e,function(n){return _e(a,n)}):_e(a,e);var i=this._generateStyleName();return this.richTextStyles[i]=a,"{"+i+"|"+t+"}"},r})();function aU(r){var t=r.series,e=r.dataIndex,a=r.multipleSeries,i=t.getData(),n=i.mapDimensionsAll("defaultedTooltip"),o=n.length,s=t.getRawValue(e),l=Se(s),u=tU(t,e),v,h,f,c;if(o>1||l&&!o){var d=zj(s,t,e,n,u);v=d.inlineValues,h=d.inlineValueTypes,f=d.blocks,c=d.inlineValues[0]}else if(o){var p=i.getDimensionInfo(n[0]);c=v=Kl(i,e,n[0]),h=p.type}else c=v=l?s[0]:s;var g=UA(t),m=g&&t.name||"",y=i.getName(e),_=a?m:y;return Mr("section",{header:m,noHeader:a||!g,sortParam:c,blocks:[Mr("nameValue",{markerType:"item",markerColor:u,name:_,noName:!Ua(_),value:v,valueType:h,dataIndex:e})].concat(f||[])})}function zj(r,t,e,a,i){var n=t.getData(),o=Ya(r,function(h,f,c){var d=n.getDimensionInfo(c);return h=h||d&&d.tooltip!==!1&&d.displayName!=null},!1),s=[],l=[],u=[];a.length?$(a,function(h){v(Kl(n,e,h),h)}):$(r,v);function v(h,f){var c=n.getDimensionInfo(f);!c||c.otherDims.tooltip===!1||(o?u.push(Mr("nameValue",{markerType:"subItem",markerColor:i,name:c.displayName,value:h,valueType:c.type})):(s.push(h),l.push(c.type)))}return{inlineValues:s,inlineValueTypes:l,blocks:u}}var En=yt();function Uf(r,t){return r.getName(t)||r.getId(t)}var od="__universalTransitionEnabled",zt=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return t.prototype.init=function(e,a,i){this.seriesIndex=this.componentIndex,this.dataTask=Jv({count:Vj,reset:Gj}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,i);var n=En(this).sourceManager=new XW(this);n.prepareSource();var o=this.getInitialData(e,i);xI(o,this),this.dataTask.context.data=o,En(this).dataBeforeProcessed=o,_I(this),this._initSelectedMapFromData(o)},t.prototype.mergeDefaultAndTheme=function(e,a){var i=_h(this),n=i?cu(e):{},o=this.subType;ut.hasClass(o)&&(o+="Series"),tt(e,a.getTheme().get(this.subType)),tt(e,this.getDefaultOption()),Ms(e,"label",["show"]),this.fillDataTextStyle(e.data),i&&uo(e,n,i)},t.prototype.mergeOption=function(e,a){e=tt(this.option,e,!0),this.fillDataTextStyle(e.data);var i=_h(this);i&&uo(this.option,e,i);var n=En(this).sourceManager;n.dirty(),n.prepareSource();var o=this.getInitialData(e,a);xI(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,En(this).dataBeforeProcessed=o,_I(this),this._initSelectedMapFromData(o)},t.prototype.fillDataTextStyle=function(e){if(e&&!ua(e))for(var a=["show"],i=0;ithis.getShallow("animationThreshold")&&(a=!1),!!a},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(e,a,i){var n=this.ecModel,o=xC.prototype.getColorFromPalette.call(this,e,a,i);return o||(o=n.getColorFromPalette(e,a,i)),o},t.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(e,a){this._innerSelect(this.getData(a),e)},t.prototype.unselect=function(e,a){var i=this.option.selectedMap;if(i){var n=this.option.selectedMode,o=this.getData(a);if(n==="series"||i==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var s=0;s=0&&i.push(o)}return i},t.prototype.isSelected=function(e,a){var i=this.option.selectedMap;if(!i)return!1;var n=this.getData(a);return(i==="all"||i[Uf(n,e)])&&!n.getItemModel(e).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[od])return!0;var e=this.option.universalTransition;return e?e===!0?!0:e&&e.enabled:!1},t.prototype._innerSelect=function(e,a){var i,n,o=this.option,s=o.selectedMode,l=a.length;if(!(!s||!l)){if(s==="series")o.selectedMap="all";else if(s==="multiple"){$e(o.selectedMap)||(o.selectedMap={});for(var u=o.selectedMap,v=0;v0&&this._innerSelect(e,a)}},t.registerClass=function(e){return ut.registerClass(e)},t.protoInitialize=(function(){var e=t.prototype;e.type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"})(),t})(ut);nr(zt,qp);nr(zt,xC);Dq(zt,ut);function _I(r){var t=r.name;UA(r)||(r.name=Bj(r)||t)}function Bj(r){var t=r.getRawData(),e=t.mapDimensionsAll("seriesName"),a=[];return $(e,function(i){var n=t.getDimensionInfo(i);n.displayName&&a.push(n.displayName)}),a.join(" ")}function Vj(r){return r.model.getRawData().count()}function Gj(r){var t=r.model;return t.setData(t.getRawData().cloneShallow()),Fj}function Fj(r,t){t.outputData&&r.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function xI(r,t){$($l(r.CHANGABLE_METHODS,r.DOWNSAMPLE_METHODS),function(e){r.wrapMethod(e,et(Hj,t))})}function Hj(r,t){var e=TT(r);return e&&e.setOutputEnd((t||this).count()),t}function TT(r){var t=(r.ecModel||{}).scheduler,e=t&&t.getPipeline(r.uid);if(e){var a=e.currentTask;if(a){var i=a.agentStubMap;i&&(a=i.get(r.uid))}return a}}var Wt=(function(){function r(){this.group=new Ze,this.uid=fu("viewComponent")}return r.prototype.init=function(t,e){},r.prototype.render=function(t,e,a,i){},r.prototype.dispose=function(t,e){},r.prototype.updateView=function(t,e,a,i){},r.prototype.updateLayout=function(t,e,a,i){},r.prototype.updateVisual=function(t,e,a,i){},r.prototype.toggleBlurSeries=function(t,e,a){},r.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},r})();YA(Wt);Mp(Wt);function gu(){var r=yt();return function(t){var e=r(t),a=t.pipelineContext,i=!!e.large,n=!!e.progressiveRender,o=e.large=!!(a&&a.large),s=e.progressiveRender=!!(a&&a.progressiveRender);return(i!==o||n!==s)&&"reset"}}var iU=yt(),qj=gu(),kt=(function(){function r(){this.group=new Ze,this.uid=fu("viewChart"),this.renderTask=Jv({plan:Wj,reset:Uj}),this.renderTask.context={view:this}}return r.prototype.init=function(t,e){},r.prototype.render=function(t,e,a,i){},r.prototype.highlight=function(t,e,a,i){var n=t.getData(i&&i.dataType);n&&bI(n,i,"emphasis")},r.prototype.downplay=function(t,e,a,i){var n=t.getData(i&&i.dataType);n&&bI(n,i,"normal")},r.prototype.remove=function(t,e){this.group.removeAll()},r.prototype.dispose=function(t,e){},r.prototype.updateView=function(t,e,a,i){this.render(t,e,a,i)},r.prototype.updateLayout=function(t,e,a,i){this.render(t,e,a,i)},r.prototype.updateVisual=function(t,e,a,i){this.render(t,e,a,i)},r.prototype.eachRendered=function(t){po(this.group,t)},r.markUpdateMethod=function(t,e){iU(t).updateMethod=e},r.protoInitialize=(function(){var t=r.prototype;t.type="chart"})(),r})();function SI(r,t,e){r&&gh(r)&&(t==="emphasis"?xn:Sn)(r,e)}function bI(r,t,e){var a=Ds(r,t),i=t&&t.highlightKey!=null?DK(t.highlightKey):null;a!=null?$(Nt(a),function(n){SI(r.getItemGraphicEl(n),e,i)}):r.eachItemGraphicEl(function(n){SI(n,e,i)})}YA(kt);Mp(kt);function Wj(r){return qj(r.model)}function Uj(r){var t=r.model,e=r.ecModel,a=r.api,i=r.payload,n=t.pipelineContext.progressiveRender,o=r.view,s=i&&iU(i).updateMethod,l=n?"incrementalPrepareRender":s&&o[s]?s:"render";return l!=="render"&&o[l](t,e,a,i),$j[l]}var $j={incrementalPrepareRender:{progress:function(r,t){t.view.incrementalRender(r,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(r,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},Nd="\0__throttleOriginMethod",wI="\0__throttleRate",TI="\0__throttleType";function Up(r,t,e){var a,i=0,n=0,o=null,s,l,u,v;t=t||0;function h(){n=new Date().getTime(),o=null,r.apply(l,u||[])}var f=function(){for(var c=[],d=0;d=0?h():o=setTimeout(h,-s),i=a};return f.clear=function(){o&&(clearTimeout(o),o=null)},f.debounceNextCall=function(c){v=c},f}function mu(r,t,e,a){var i=r[t];if(i){var n=i[Nd]||i,o=i[TI],s=i[wI];if(s!==e||o!==a){if(e==null||!a)return r[t]=n;i=r[t]=Up(n,e,a==="debounce"),i[Nd]=n,i[TI]=a,i[wI]=e}return i}}function Sh(r,t){var e=r[t];e&&e[Nd]&&(e.clear&&e.clear(),r[t]=e[Nd])}var AI=yt(),CI={itemStyle:Ls(cW,!0),lineStyle:Ls(fW,!0)},Yj={lineStyle:"stroke",itemStyle:"fill"};function nU(r,t){var e=r.visualStyleMapper||CI[t];return e||(console.warn("Unknown style type '"+t+"'."),CI.itemStyle)}function oU(r,t){var e=r.visualDrawType||Yj[t];return e||(console.warn("Unknown style type '"+t+"'."),"fill")}var Zj={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,t){var e=r.getData(),a=r.visualStyleAccessPath||"itemStyle",i=r.getModel(a),n=nU(r,a),o=n(i),s=i.getShallow("decal");s&&(e.setVisual("decal",s),s.dirty=!0);var l=oU(r,a),u=o[l],v=He(u)?u:null,h=o.fill==="auto"||o.stroke==="auto";if(!o[l]||v||h){var f=r.getColorFromPalette(r.name,null,t.getSeriesCount());o[l]||(o[l]=f,e.setVisual("colorFromPalette",!0)),o.fill=o.fill==="auto"||He(o.fill)?f:o.fill,o.stroke=o.stroke==="auto"||He(o.stroke)?f:o.stroke}if(e.setVisual("style",o),e.setVisual("drawType",l),!t.isSeriesFiltered(r)&&v)return e.setVisual("colorFromPalette",!1),{dataEach:function(c,d){var p=r.getDataParams(d),g=_e({},o);g[l]=v(p),c.setItemVisual(d,"style",g)}}}},Wu=new Mt,Xj={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,t){if(!(r.ignoreStyleOnData||t.isSeriesFiltered(r))){var e=r.getData(),a=r.visualStyleAccessPath||"itemStyle",i=nU(r,a),n=e.getVisual("drawType");return{dataEach:e.hasItemOption?function(o,s){var l=o.getRawDataItem(s);if(l&&l[a]){Wu.option=l[a];var u=i(Wu),v=o.ensureUniqueItemVisual(s,"style");_e(v,u),Wu.option.decal&&(o.setItemVisual(s,"decal",Wu.option.decal),Wu.option.decal.dirty=!0),n in u&&o.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},Kj={performRawSeries:!0,overallReset:function(r){var t=Ge();r.eachSeries(function(e){var a=e.getColorBy();if(!e.isColorBySeries()){var i=e.type+"-"+a,n=t.get(i);n||(n={},t.set(i,n)),AI(e).scope=n}}),r.eachSeries(function(e){if(!(e.isColorBySeries()||r.isSeriesFiltered(e))){var a=e.getRawData(),i={},n=e.getData(),o=AI(e).scope,s=e.visualStyleAccessPath||"itemStyle",l=oU(e,s);n.each(function(u){var v=n.getRawIndex(u);i[v]=u}),a.each(function(u){var v=i[u],h=n.getItemVisual(v,"colorFromPalette");if(h){var f=n.ensureUniqueItemVisual(v,"style"),c=a.getName(u)||u+"",d=a.count();f[l]=e.getColorFromPalette(c,o,d)}})}})}},$f=Math.PI;function Qj(r,t){t=t||{},Ue(t,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var e=new Ze,a=new gt({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});e.add(a);var i=new pt({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),n=new gt({style:{fill:"none"},textContent:i,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});e.add(n);var o;return t.showSpinner&&(o=new Uh({shape:{startAngle:-$f/2,endAngle:-$f/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),o.animateShape(!0).when(1e3,{endAngle:$f*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:$f*3/2}).delay(300).start("circularInOut"),e.add(o)),e.resize=function(){var s=i.getBoundingRect().width,l=t.showSpinner?t.spinnerRadius:0,u=(r.getWidth()-l*2-(t.showSpinner&&s?10:0)-s)/2-(t.showSpinner&&s?0:5+s/2)+(t.showSpinner?0:s/2)+(s?0:l),v=r.getHeight()/2;t.showSpinner&&o.setShape({cx:u,cy:v}),n.setShape({x:u-l,y:v-l,width:l*2,height:l*2}),a.setShape({x:0,y:0,width:r.getWidth(),height:r.getHeight()})},e.resize(),e}var sU=(function(){function r(t,e,a,i){this._stageTaskMap=Ge(),this.ecInstance=t,this.api=e,a=this._dataProcessorHandlers=a.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=a.concat(i)}return r.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(a){var i=a.overallTask;i&&i.dirty()})},r.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var a=this._pipelineMap.get(t.__pipeline.id),i=a.context,n=!e&&a.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>a.blockIndex,o=n?a.step:null,s=i&&i.modDataCount,l=s!=null?Math.ceil(s/o):null;return{step:o,modBy:l,modDataCount:s}}},r.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},r.prototype.updateStreamModes=function(t,e){var a=this._pipelineMap.get(t.uid),i=t.getData(),n=i.count(),o=a.progressiveEnabled&&e.incrementalPrepareRender&&n>=a.threshold,s=t.get("large")&&n>=t.get("largeThreshold"),l=t.get("progressiveChunkMode")==="mod"?n:null;t.pipelineContext=a.context={progressiveRender:o,modDataCount:l,large:s}},r.prototype.restorePipelines=function(t){var e=this,a=e._pipelineMap=Ge();t.eachSeries(function(i){var n=i.getProgressive(),o=i.uid;a.set(o,{id:o,head:null,tail:null,threshold:i.getProgressiveThreshold(),progressiveEnabled:n&&!(i.preventIncremental&&i.preventIncremental()),blockIndex:-1,step:Math.round(n||700),count:0}),e._pipe(i,i.dataTask)})},r.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),a=this.api;$(this._allHandlers,function(i){var n=t.get(i.uid)||t.set(i.uid,{}),o="";Kr(!(i.reset&&i.overallReset),o),i.reset&&this._createSeriesStageTask(i,n,e,a),i.overallReset&&this._createOverallStageTask(i,n,e,a)},this)},r.prototype.prepareView=function(t,e,a,i){var n=t.renderTask,o=n.context;o.model=e,o.ecModel=a,o.api=i,n.__block=!t.incrementalPrepareRender,this._pipe(e,n)},r.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},r.prototype.performVisualTasks=function(t,e,a){this._performStageTasks(this._visualHandlers,t,e,a)},r.prototype._performStageTasks=function(t,e,a,i){i=i||{};var n=!1,o=this;$(t,function(l,u){if(!(i.visualType&&i.visualType!==l.visualType)){var v=o._stageTaskMap.get(l.uid),h=v.seriesTaskMap,f=v.overallTask;if(f){var c,d=f.agentStubMap;d.each(function(g){s(i,g)&&(g.dirty(),c=!0)}),c&&f.dirty(),o.updatePayload(f,a);var p=o.getPerformArgs(f,i.block);d.each(function(g){g.perform(p)}),f.perform(p)&&(n=!0)}else h&&h.each(function(g,m){s(i,g)&&g.dirty();var y=o.getPerformArgs(g,i.block);y.skip=!l.performRawSeries&&e.isSeriesFiltered(g.context.model),o.updatePayload(g,a),g.perform(y)&&(n=!0)})}});function s(l,u){return l.setDirty&&(!l.dirtyMap||l.dirtyMap.get(u.__pipeline.id))}this.unfinished=n||this.unfinished},r.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(a){e=a.dataTask.perform()||e}),this.unfinished=e||this.unfinished},r.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},r.prototype.updatePayload=function(t,e){e!=="remain"&&(t.context.payload=e)},r.prototype._createSeriesStageTask=function(t,e,a,i){var n=this,o=e.seriesTaskMap,s=e.seriesTaskMap=Ge(),l=t.seriesType,u=t.getTargetSeries;t.createOnAllSeries?a.eachRawSeries(v):l?a.eachRawSeriesByType(l,v):u&&u(a,i).each(v);function v(h){var f=h.uid,c=s.set(f,o&&o.get(f)||Jv({plan:rJ,reset:aJ,count:nJ}));c.context={model:h,ecModel:a,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:n},n._pipe(h,c)}},r.prototype._createOverallStageTask=function(t,e,a,i){var n=this,o=e.overallTask=e.overallTask||Jv({reset:jj});o.context={ecModel:a,api:i,overallReset:t.overallReset,scheduler:n};var s=o.agentStubMap,l=o.agentStubMap=Ge(),u=t.seriesType,v=t.getTargetSeries,h=!0,f=!1,c="";Kr(!t.createOnAllSeries,c),u?a.eachRawSeriesByType(u,d):v?v(a,i).each(d):(h=!1,$(a.getSeries(),d));function d(p){var g=p.uid,m=l.set(g,s&&s.get(g)||(f=!0,Jv({reset:Jj,onDirty:tJ})));m.context={model:p,overallProgress:h},m.agent=o,m.__block=h,n._pipe(p,m)}f&&o.dirty()},r.prototype._pipe=function(t,e){var a=t.uid,i=this._pipelineMap.get(a);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},r.wrapStageHandler=function(t,e){return He(t)&&(t={overallReset:t,seriesType:oJ(t)}),t.uid=fu("stageHandler"),e&&(t.visualType=e),t},r})();function jj(r){r.overallReset(r.ecModel,r.api,r.payload)}function Jj(r){return r.overallProgress&&eJ}function eJ(){this.agent.dirty(),this.getDownstream().dirty()}function tJ(){this.agent&&this.agent.dirty()}function rJ(r){return r.plan?r.plan(r.model,r.ecModel,r.api,r.payload):null}function aJ(r){r.useClearVisual&&r.data.clearAllVisual();var t=r.resetDefines=Nt(r.reset(r.model,r.ecModel,r.api,r.payload));return t.length>1?we(t,function(e,a){return lU(a)}):iJ}var iJ=lU(0);function lU(r){return function(t,e){var a=e.data,i=e.resetDefines[r];if(i&&i.dataEach)for(var n=t.start;n0&&c===u.length-f.length){var d=u.slice(0,c);d!=="data"&&(e.mainType=d,e[f.toLowerCase()]=l,v=!0)}}s.hasOwnProperty(u)&&(a[u]=l,v=!0),v||(i[u]=l)})}return{cptQuery:e,dataQuery:a,otherQuery:i}},r.prototype.filter=function(t,e){var a=this.eventInfo;if(!a)return!0;var i=a.targetEl,n=a.packedEvent,o=a.model,s=a.view;if(!o||!s)return!0;var l=e.cptQuery,u=e.dataQuery;return v(l,o,"mainType")&&v(l,o,"subType")&&v(l,o,"index","componentIndex")&&v(l,o,"name")&&v(l,o,"id")&&v(u,n,"name")&&v(u,n,"dataIndex")&&v(u,n,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,i,n));function v(h,f,c,d){return h[c]==null||f[d||c]===h[c]}},r.prototype.afterTrigger=function(){this.eventInfo=null},r})(),AT=["symbol","symbolSize","symbolRotate","symbolOffset"],II=AT.concat(["symbolKeepAspect"]),uJ={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,t){var e=r.getData();if(r.legendIcon&&e.setVisual("legendIcon",r.legendIcon),!r.hasSymbolVisual)return;for(var a={},i={},n=!1,o=0;o=0&&gs(l)?l:.5;var u=r.createRadialGradient(o,s,0,o,s,l);return u}function CT(r,t,e){for(var a=t.type==="radial"?TJ(r,t,e):wJ(r,t,e),i=t.colorStops,n=0;n0)?null:r==="dashed"?[4*t,2*t]:r==="dotted"?[t]:bt(r)?[r]:Se(r)?r:null}function MC(r){var t=r.style,e=t.lineDash&&t.lineWidth>0&&CJ(t.lineDash,t.lineWidth),a=t.lineDashOffset;if(e){var i=t.strokeNoScale&&r.getLineScale?r.getLineScale():1;i&&i!==1&&(e=we(e,function(n){return n/i}),a/=i)}return[e,a]}var MJ=new Zi(!0);function Vd(r){var t=r.stroke;return!(t==null||t==="none"||!(r.lineWidth>0))}function PI(r){return typeof r=="string"&&r!=="none"}function Gd(r){var t=r.fill;return t!=null&&t!=="none"}function RI(r,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var e=r.globalAlpha;r.globalAlpha=t.fillOpacity*t.opacity,r.fill(),r.globalAlpha=e}else r.fill()}function EI(r,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var e=r.globalAlpha;r.globalAlpha=t.strokeOpacity*t.opacity,r.stroke(),r.globalAlpha=e}else r.stroke()}function MT(r,t,e){var a=ZA(t.image,t.__image,e);if(Dp(a)){var i=r.createPattern(a,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&i&&i.setTransform){var n=new DOMMatrix;n.translateSelf(t.x||0,t.y||0),n.rotateSelf(0,0,(t.rotation||0)*Fv),n.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(n)}return i}}function DJ(r,t,e,a){var i,n=Vd(e),o=Gd(e),s=e.strokePercent,l=s<1,u=!t.path;(!t.silent||l)&&u&&t.createPathProxy();var v=t.path||MJ,h=t.__dirty;if(!a){var f=e.fill,c=e.stroke,d=o&&!!f.colorStops,p=n&&!!c.colorStops,g=o&&!!f.image,m=n&&!!c.image,y=void 0,_=void 0,x=void 0,S=void 0,b=void 0;(d||p)&&(b=t.getBoundingRect()),d&&(y=h?CT(r,f,b):t.__canvasFillGradient,t.__canvasFillGradient=y),p&&(_=h?CT(r,c,b):t.__canvasStrokeGradient,t.__canvasStrokeGradient=_),g&&(x=h||!t.__canvasFillPattern?MT(r,f,t):t.__canvasFillPattern,t.__canvasFillPattern=x),m&&(S=h||!t.__canvasStrokePattern?MT(r,c,t):t.__canvasStrokePattern,t.__canvasStrokePattern=x),d?r.fillStyle=y:g&&(x?r.fillStyle=x:o=!1),p?r.strokeStyle=_:m&&(S?r.strokeStyle=S:n=!1)}var w=t.getGlobalScale();v.setScale(w[0],w[1],t.segmentIgnoreThreshold);var A,T;r.setLineDash&&e.lineDash&&(i=MC(t),A=i[0],T=i[1]);var C=!0;(u||h&Dl)&&(v.setDPR(r.dpr),l?v.setContext(null):(v.setContext(r),C=!1),v.reset(),t.buildPath(v,t.shape,a),v.toStatic(),t.pathUpdated()),C&&v.rebuildPath(r,l?s:1),A&&(r.setLineDash(A),r.lineDashOffset=T),a||(e.strokeFirst?(n&&EI(r,e),o&&RI(r,e)):(o&&RI(r,e),n&&EI(r,e))),A&&r.setLineDash([])}function LJ(r,t,e){var a=t.__image=ZA(e.image,t.__image,t,t.onload);if(!(!a||!Dp(a))){var i=e.x||0,n=e.y||0,o=t.getWidth(),s=t.getHeight(),l=a.width/a.height;if(o==null&&s!=null?o=s*l:s==null&&o!=null?s=o/l:o==null&&s==null&&(o=a.width,s=a.height),e.sWidth&&e.sHeight){var u=e.sx||0,v=e.sy||0;r.drawImage(a,u,v,e.sWidth,e.sHeight,i,n,o,s)}else if(e.sx&&e.sy){var u=e.sx,v=e.sy,h=o-u,f=s-v;r.drawImage(a,u,v,h,f,i,n,o,s)}else r.drawImage(a,i,n,o,s)}}function IJ(r,t,e){var a,i=e.text;if(i!=null&&(i+=""),i){r.font=e.font||oo,r.textAlign=e.textAlign,r.textBaseline=e.textBaseline;var n=void 0,o=void 0;r.setLineDash&&e.lineDash&&(a=MC(t),n=a[0],o=a[1]),n&&(r.setLineDash(n),r.lineDashOffset=o),e.strokeFirst?(Vd(e)&&r.strokeText(i,e.x,e.y),Gd(e)&&r.fillText(i,e.x,e.y)):(Gd(e)&&r.fillText(i,e.x,e.y),Vd(e)&&r.strokeText(i,e.x,e.y)),n&&r.setLineDash([])}}var kI=["shadowBlur","shadowOffsetX","shadowOffsetY"],OI=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function dU(r,t,e,a,i){var n=!1;if(!a&&(e=e||{},t===e))return!1;if(a||t.opacity!==e.opacity){_a(r,i),n=!0;var o=Math.max(Math.min(t.opacity,1),0);r.globalAlpha=isNaN(o)?xs.opacity:o}(a||t.blend!==e.blend)&&(n||(_a(r,i),n=!0),r.globalCompositeOperation=t.blend||xs.blend);for(var s=0;s0&&e.unfinished);e.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(e,a,i){if(!this[qr]){if(this._disposed){this.id;return}var n,o,s;if($e(a)&&(i=a.lazyUpdate,n=a.silent,o=a.replaceMerge,s=a.transition,a=a.notMerge),this[qr]=!0,!this._model||a){var l=new WQ(this._api),u=this._theme,v=this._model=new SC;v.scheduler=this._scheduler,v.ssr=this._ssr,v.init(null,null,null,u,this._locale,l)}this._model.setOption(e,{replaceMerge:o},LT);var h={seriesTransition:s,optionChanged:!0};if(i)this[da]={silent:n,updateParams:h},this[qr]=!1,this.getZr().wakeUp();else{try{hl(this),kn.update.call(this,null,h)}catch(f){throw this[da]=null,this[qr]=!1,f}this._ssr||this._zr.flush(),this[da]=null,this[qr]=!1,Uu.call(this,n),$u.call(this,n)}}},t.prototype.setTheme=function(){},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||vt.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},t.prototype.renderToCanvas=function(e){e=e||{};var a=this._zr.painter;return a.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(e){e=e||{};var a=this._zr.painter;return a.renderToString({useViewBox:e.useViewBox})},t.prototype.getSvgDataURL=function(){if(vt.svgSupported){var e=this._zr,a=e.storage.getDisplayList();return $(a,function(i){i.stopAnimation(null,!0)}),e.painter.toDataURL()}},t.prototype.getDataURL=function(e){if(this._disposed){this.id;return}e=e||{};var a=e.excludeComponents,i=this._model,n=[],o=this;$(a,function(l){i.eachComponent({mainType:l},function(u){var v=o._componentsMap[u.__viewId];v.group.ignore||(n.push(v),v.group.ignore=!0)})});var s=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return $(n,function(l){l.group.ignore=!1}),s},t.prototype.getConnectedDataURL=function(e){if(this._disposed){this.id;return}var a=e.type==="svg",i=this.group,n=Math.min,o=Math.max,s=1/0;if(Wd[i]){var l=s,u=s,v=-s,h=-s,f=[],c=e&&e.pixelRatio||this.getDevicePixelRatio();$(ws,function(_,x){if(_.group===i){var S=a?_.getZr().painter.getSvgDom().innerHTML:_.renderToCanvas(Ye(e)),b=_.getDom().getBoundingClientRect();l=n(b.left,l),u=n(b.top,u),v=o(b.right,v),h=o(b.bottom,h),f.push({dom:S,left:b.left,top:b.top})}}),l*=c,u*=c,v*=c,h*=c;var d=v-l,p=h-u,g=mi.createCanvas(),m=eT(g,{renderer:a?"svg":"canvas"});if(m.resize({width:d,height:p}),a){var y="";return $(f,function(_){var x=_.left-l,S=_.top-u;y+=''+_.dom+""}),m.painter.getSvgRoot().innerHTML=y,e.connectedBackgroundColor&&m.painter.setBackgroundColor(e.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}else return e.connectedBackgroundColor&&m.add(new gt({shape:{x:0,y:0,width:d,height:p},style:{fill:e.connectedBackgroundColor}})),$(f,function(_){var x=new Dr({style:{x:_.left*c-l,y:_.top*c-u,image:_.dom}});m.add(x)}),m.refreshImmediately(),g.toDataURL("image/"+(e&&e.type||"png"))}else return this.getDataURL(e)},t.prototype.convertToPixel=function(e,a){return Am(this,"convertToPixel",e,a)},t.prototype.convertFromPixel=function(e,a){return Am(this,"convertFromPixel",e,a)},t.prototype.containPixel=function(e,a){if(this._disposed){this.id;return}var i=this._model,n,o=Zv(i,e);return $(o,function(s,l){l.indexOf("Models")>=0&&$(s,function(u){var v=u.coordinateSystem;if(v&&v.containPoint)n=n||!!v.containPoint(a);else if(l==="seriesModels"){var h=this._chartsMap[u.__viewId];h&&h.containPoint&&(n=n||h.containPoint(a,u))}},this)},this),!!n},t.prototype.getVisual=function(e,a){var i=this._model,n=Zv(i,e,{defaultMainType:"series"}),o=n.seriesModel,s=o.getData(),l=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?s.indexOfRawIndex(n.dataIndex):null;return l!=null?CC(s,l,a):Xh(s,a)},t.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},t.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},t.prototype._initEvents=function(){var e=this;$(tee,function(a){var i=function(n){var o=e.getModel(),s=n.target,l,u=a==="globalout";if(u?l={}:s&&ps(s,function(d){var p=Xe(d);if(p&&p.dataIndex!=null){var g=p.dataModel||o.getSeriesByIndex(p.seriesIndex);return l=g&&g.getDataParams(p.dataIndex,p.dataType,s)||{},!0}else if(p.eventData)return l=_e({},p.eventData),!0},!0),l){var v=l.componentType,h=l.componentIndex;(v==="markLine"||v==="markPoint"||v==="markArea")&&(v="series",h=l.seriesIndex);var f=v&&h!=null&&o.getComponent(v,h),c=f&&e[f.mainType==="series"?"_chartsMap":"_componentsMap"][f.__viewId];l.event=n,l.type=a,e._$eventProcessor.eventInfo={targetEl:s,packedEvent:l,model:f,view:c},e.trigger(a,l)}};i.zrEventfulCallAtLast=!0,e._zr.on(a,i,e)}),$(eh,function(a,i){e._messageCenter.on(i,function(n){this.trigger(i,n)},e)}),$(["selectchanged"],function(a){e._messageCenter.on(a,function(i){this.trigger(a,i)},e)}),hJ(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var e=this.getDom();e&&Aq(this.getDom(),PC,"");var a=this,i=a._api,n=a._model;$(a._componentsViews,function(o){o.dispose(n,i)}),$(a._chartsViews,function(o){o.dispose(n,i)}),a._zr.dispose(),a._dom=a._model=a._chartsMap=a._componentsMap=a._chartsViews=a._componentsViews=a._scheduler=a._api=a._zr=a._throttledZrFlush=a._theme=a._coordSysMgr=a._messageCenter=null,delete ws[a.id]},t.prototype.resize=function(e){if(!this[qr]){if(this._disposed){this.id;return}this._zr.resize(e);var a=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!a){var i=a.resetOption("media"),n=e&&e.silent;this[da]&&(n==null&&(n=this[da].silent),i=!0,this[da]=null),this[qr]=!0;try{i&&hl(this),kn.update.call(this,{type:"resize",animation:_e({duration:0},e&&e.animation)})}catch(o){throw this[qr]=!1,o}this[qr]=!1,Uu.call(this,n),$u.call(this,n)}}},t.prototype.showLoading=function(e,a){if(this._disposed){this.id;return}if($e(e)&&(a=e,e=""),e=e||"default",this.hideLoading(),!!IT[e]){var i=IT[e](this._api,a),n=this._zr;this._loadingFX=i,n.add(i)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(e){var a=_e({},e);return a.type=eh[e.type],a},t.prototype.dispatchAction=function(e,a){if(this._disposed){this.id;return}if($e(a)||(a={silent:!!a}),!!Hd[e.type]&&this._model){if(this[qr]){this._pendingActions.push(e);return}var i=a.silent;Mm.call(this,e,i);var n=a.flush;n?this._zr.flush():n!==!1&&vt.browser.weChat&&this._throttledZrFlush(),Uu.call(this,i),$u.call(this,i)}},t.prototype.updateLabelLayout=function(){ui.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed){this.id;return}var a=e.seriesIndex,i=this.getModel(),n=i.getSeriesByIndex(a);n.appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=(function(){hl=function(h){var f=h._scheduler;f.restorePipelines(h._model),f.prepareStageTasks(),Tm(h,!0),Tm(h,!1),f.plan()},Tm=function(h,f){for(var c=h._model,d=h._scheduler,p=f?h._componentsViews:h._chartsViews,g=f?h._componentsMap:h._chartsMap,m=h._zr,y=h._api,_=0;_f.get("hoverLayerThreshold")&&!vt.node&&!vt.worker&&f.eachSeries(function(g){if(!g.preventUsingHoverLayer){var m=h._chartsMap[g.__viewId];m.__alive&&m.eachRendered(function(y){y.states.emphasis&&(y.states.emphasis.hoverLayer=!0)})}})}function o(h,f){var c=h.get("blendMode")||null;f.eachRendered(function(d){d.isGroup||(d.style.blend=c)})}function s(h,f){if(!h.preventAutoZ){var c=h.get("z")||0,d=h.get("zlevel")||0;f.eachRendered(function(p){return l(p,c,d,-1/0),!0})}}function l(h,f,c,d){var p=h.getTextContent(),g=h.getTextGuideLine(),m=h.isGroup;if(m)for(var y=h.childrenRef(),_=0;_0?{duration:p,delay:c.get("delay"),easing:c.get("easing")}:null;f.eachRendered(function(m){if(m.states&&m.states.emphasis){if(Gl(m))return;if(m instanceof ht&&LK(m),m.__dirty){var y=m.prevStates;y&&m.useStates(y)}if(d){m.stateTransition=g;var _=m.getTextContent(),x=m.getTextGuideLine();_&&(_.stateTransition=g),x&&(x.stateTransition=g)}m.__dirty&&i(m)}})}ZI=function(h){return new((function(f){he(c,f);function c(){return f!==null&&f.apply(this,arguments)||this}return c.prototype.getCoordinateSystems=function(){return h._coordSysMgr.getCoordinateSystems()},c.prototype.getComponentByElement=function(d){for(;d;){var p=d.__ecComponentInfo;if(p!=null)return h._model.getComponent(p.mainType,p.index);d=d.parent}},c.prototype.enterEmphasis=function(d,p){xn(d,p),Pa(h)},c.prototype.leaveEmphasis=function(d,p){Sn(d,p),Pa(h)},c.prototype.enterBlur=function(d){qq(d),Pa(h)},c.prototype.leaveBlur=function(d){JA(d),Pa(h)},c.prototype.enterSelect=function(d){Wq(d),Pa(h)},c.prototype.leaveSelect=function(d){Uq(d),Pa(h)},c.prototype.getModel=function(){return h.getModel()},c.prototype.getViewOfComponentModel=function(d){return h.getViewOfComponentModel(d)},c.prototype.getViewOfSeriesModel=function(d){return h.getViewOfSeriesModel(d)},c})(kW))(h)},IU=function(h){function f(c,d){for(var p=0;p=0)){KI.push(e);var n=sU.wrapStageHandler(e,i);n.__prio=t,n.__raw=e,r.push(n)}}function zC(r,t){IT[r]=t}function vee(r){I4({createCanvas:r})}function zU(r,t,e){var a=xU("registerMap");a&&a(r,t,e)}function hee(r){var t=xU("getMap");return t&&t(r)}var BU=bj;mo(LC,Zj);mo($p,Xj);mo($p,Kj);mo(LC,uJ);mo($p,vJ);mo(wU,BJ);kC(NW);OC(WJ,rj);zC("default",Qj);Si({type:Ss,event:Ss,update:Ss},ir);Si({type:td,event:td,update:td},ir);Si({type:Xv,event:Xv,update:Xv},ir);Si({type:rd,event:rd,update:rd},ir);Si({type:Kv,event:Kv,update:Kv},ir);EC("light",sJ);EC("dark",hU);var fee={};function Yu(r){return r==null?0:r.length||1}function QI(r){return r}var bn=(function(){function r(t,e,a,i,n,o){this._old=t,this._new=e,this._oldKeyGetter=a||QI,this._newKeyGetter=i||QI,this.context=n,this._diffModeMultiple=o==="multiple"}return r.prototype.add=function(t){return this._add=t,this},r.prototype.update=function(t){return this._update=t,this},r.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},r.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},r.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},r.prototype.remove=function(t){return this._remove=t,this},r.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},r.prototype._executeOneToOne=function(){var t=this._old,e=this._new,a={},i=new Array(t.length),n=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,a,n,"_newKeyGetter");for(var o=0;o1){var v=l.shift();l.length===1&&(a[s]=l[0]),this._update&&this._update(v,o)}else u===1?(a[s]=null,this._update&&this._update(l,o)):this._remove&&this._remove(o)}this._performRestAdd(n,a)},r.prototype._executeMultiple=function(){var t=this._old,e=this._new,a={},i={},n=[],o=[];this._initIndexMap(t,a,n,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var s=0;s1&&f===1)this._updateManyToOne&&this._updateManyToOne(v,u),i[l]=null;else if(h===1&&f>1)this._updateOneToMany&&this._updateOneToMany(v,u),i[l]=null;else if(h===1&&f===1)this._update&&this._update(v,u),i[l]=null;else if(h>1&&f>1)this._updateManyToMany&&this._updateManyToMany(v,u),i[l]=null;else if(h>1)for(var c=0;c1)for(var s=0;s30}var Zu=$e,On=we,yee=typeof Int32Array>"u"?Array:Int32Array,_ee="e\0\0",jI=-1,xee=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],See=["_approximateExtent"],JI,Qf,Xu,Ku,Im,Qu,Pm,Xr=(function(){function r(t,e){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var a,i=!1;GU(t)?(a=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,a=t),a=a||["x","y"];for(var n={},o=[],s={},l=!1,u={},v=0;v=e)){var a=this._store,i=a.getProvider();this._updateOrdinalMeta();var n=this._nameList,o=this._idList,s=i.getSource().sourceFormat,l=s===Qa;if(l&&!i.pure)for(var u=[],v=t;v0},r.prototype.ensureUniqueItemVisual=function(t,e){var a=this._itemVisuals,i=a[t];i||(i=a[t]={});var n=i[e];return n==null&&(n=this.getVisual(e),Se(n)?n=n.slice():Zu(n)&&(n=_e({},n)),i[e]=n),n},r.prototype.setItemVisual=function(t,e,a){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,Zu(e)?_e(i,e):i[e]=a},r.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},r.prototype.setLayout=function(t,e){Zu(t)?_e(this._layout,t):this._layout[t]=e},r.prototype.getLayout=function(t){return this._layout[t]},r.prototype.getItemLayout=function(t){return this._itemLayouts[t]},r.prototype.setItemLayout=function(t,e,a){this._itemLayouts[t]=a?_e(this._itemLayouts[t]||{},e):e},r.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},r.prototype.setItemGraphicEl=function(t,e){var a=this.hostModel&&this.hostModel.seriesIndex;lT(a,this.dataType,t,e),this._graphicEls[t]=e},r.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},r.prototype.eachItemGraphicEl=function(t,e){$(this._graphicEls,function(a,i){a&&t&&t.call(e,a,i)})},r.prototype.cloneShallow=function(t){return t||(t=new r(this._schema?this._schema:On(this.dimensions,this._getDimInfo,this),this.hostModel)),Im(t,this),t._store=this._store,t},r.prototype.wrapMethod=function(t,e){var a=this[t];He(a)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var i=a.apply(this,arguments);return e.apply(this,[i].concat(_p(arguments)))})},r.internalField=(function(){JI=function(t){var e=t._invertedIndicesMap;$(e,function(a,i){var n=t._dimInfos[i],o=n.ordinalMeta,s=t._store;if(o){a=e[i]=new yee(o.categories.length);for(var l=0;l1&&(l+="__ec__"+v),i[e]=l}}})(),r})();function bee(r,t){return _u(r,t).dimensions}function _u(r,t){bC(r)||(r=wC(r)),t=t||{};var e=t.coordDimensions||[],a=t.dimensionsDefine||r.dimensionsDefine||[],i=Ge(),n=[],o=Tee(r,e,a,t.dimensionsCount),s=t.canOmitUnusedDimensions&&qU(o),l=a===r.dimensionsDefine,u=l?HU(r):FU(a),v=t.encodeDefine;!v&&t.encodeDefaulter&&(v=t.encodeDefaulter(r,o));for(var h=Ge(v),f=new YW(o),c=0;c0&&(a.name=i+(n-1)),n++,t.set(i,n)}}function Tee(r,t,e,a){var i=Math.max(r.dimensionsDetectedCount||1,t.length,e.length,a||0);return $(t,function(n){var o;$e(n)&&(o=n.dimsDef)&&(i=Math.max(i,o.length))}),i}function Aee(r,t,e){if(e||t.hasKey(r)){for(var a=0;t.hasKey(r+a);)a++;r+=a}return t.set(r,!0),r}var Cee=(function(){function r(t){this.coordSysDims=[],this.axisMap=Ge(),this.categoryAxisMap=Ge(),this.coordSysName=t}return r})();function Mee(r){var t=r.get("coordinateSystem"),e=new Cee(t),a=Dee[t];if(a)return a(r,e,e.axisMap,e.categoryAxisMap),e}var Dee={cartesian2d:function(r,t,e,a){var i=r.getReferringComponents("xAxis",cr).models[0],n=r.getReferringComponents("yAxis",cr).models[0];t.coordSysDims=["x","y"],e.set("x",i),e.set("y",n),fl(i)&&(a.set("x",i),t.firstCategoryDimIndex=0),fl(n)&&(a.set("y",n),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(r,t,e,a){var i=r.getReferringComponents("singleAxis",cr).models[0];t.coordSysDims=["single"],e.set("single",i),fl(i)&&(a.set("single",i),t.firstCategoryDimIndex=0)},polar:function(r,t,e,a){var i=r.getReferringComponents("polar",cr).models[0],n=i.findAxisModel("radiusAxis"),o=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],e.set("radius",n),e.set("angle",o),fl(n)&&(a.set("radius",n),t.firstCategoryDimIndex=0),fl(o)&&(a.set("angle",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(r,t,e,a){t.coordSysDims=["lng","lat"]},parallel:function(r,t,e,a){var i=r.ecModel,n=i.getComponent("parallel",r.get("parallelIndex")),o=t.coordSysDims=n.dimensions.slice();$(n.parallelAxisIndex,function(s,l){var u=i.getComponent("parallelAxis",s),v=o[l];e.set(v,u),fl(u)&&(a.set(v,u),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=l))})}};function fl(r){return r.get("type")==="category"}function WU(r,t,e){e=e||{};var a=e.byIndex,i=e.stackedCoordDimension,n,o,s;Lee(t)?n=t:(o=t.schema,n=o.dimensions,s=t.store);var l=!!(r&&r.get("stack")),u,v,h,f;if($(n,function(y,_){Re(y)&&(n[_]=y={name:y}),l&&!y.isExtraCoord&&(!a&&!u&&y.ordinalMeta&&(u=y),!v&&y.type!=="ordinal"&&y.type!=="time"&&(!i||i===y.coordDim)&&(v=y))}),v&&!a&&!u&&(a=!0),v){h="__\0ecstackresult_"+r.id,f="__\0ecstackedover_"+r.id,u&&(u.createInvertedIndices=!0);var c=v.coordDim,d=v.type,p=0;$(n,function(y){y.coordDim===c&&p++});var g={name:h,coordDim:c,coordDimIndex:p,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:n.length},m={name:f,coordDim:f,coordDimIndex:p+1,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:n.length+1};o?(s&&(g.storeDimIndex=s.ensureCalculationDimension(f,d),m.storeDimIndex=s.ensureCalculationDimension(h,d)),o.appendCalculationDimension(g),o.appendCalculationDimension(m)):(n.push(g),n.push(m))}return{stackedDimension:v&&v.name,stackedByDimension:u&&u.name,isStackedByIndex:a,stackedOverDimension:f,stackResultDimension:h}}function Lee(r){return!GU(r.schema)}function wn(r,t){return!!t&&t===r.getCalculationInfo("stackedDimension")}function BC(r,t){return wn(r,t)?r.getCalculationInfo("stackResultDimension"):t}function Iee(r,t){var e=r.get("coordinateSystem"),a=pu.get(e),i;return t&&t.coordSysDims&&(i=we(t.coordSysDims,function(n){var o={name:n},s=t.axisMap.get(n);if(s){var l=s.get("type");o.type=Ud(l)}return o})),i||(i=a&&(a.getDimensionsInfo?a.getDimensionsInfo():a.dimensions.slice())||["x","y"]),i}function Pee(r,t,e){var a,i;return e&&$(r,function(n,o){var s=n.coordDim,l=e.categoryAxisMap.get(s);l&&(a==null&&(a=o),n.ordinalMeta=l.getOrdinalMeta(),t&&(n.createInvertedIndices=!0)),n.otherDims.itemName!=null&&(i=!0)}),!i&&a!=null&&(r[a].otherDims.itemName=0),a}function Qi(r,t,e){e=e||{};var a=t.getSourceManager(),i,n=!1;r?(n=!0,i=wC(r)):(i=a.getSource(),n=i.sourceFormat===Qa);var o=Mee(t),s=Iee(t,o),l=e.useEncodeDefaulter,u=He(l)?l:l?et(IW,s,t):null,v={coordDimensions:s,generateCoord:e.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!n},h=_u(i,v),f=Pee(h.dimensions,e.createInvertedIndices,o),c=n?null:a.getSharedDataStore(h),d=WU(t,{schema:h,store:c}),p=new Xr(h,t);p.setCalculationInfo(d);var g=f!=null&&Ree(i)?function(m,y,_,x){return x===f?_:this.defaultDimValueGetter(m,y,_,x)}:null;return p.hasItemOption=!1,p.initData(n?i:c,null,g),p}function Ree(r){if(r.sourceFormat===Qa){var t=Eee(r.data||[]);return!Se(iu(t))}}function Eee(r){for(var t=0;te[1]&&(e[1]=t[1])},r.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.setExtent=function(t,e){var a=this._extent;isNaN(t)||(a[0]=t),isNaN(e)||(a[1]=e)},r.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},r.prototype.isBlank=function(){return this._isBlank},r.prototype.setBlank=function(t){this._isBlank=t},r})();Mp(ji);var kee=0,PT=(function(){function r(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++kee}return r.createByAxisModel=function(t){var e=t.option,a=e.data,i=a&&we(a,Oee);return new r({categories:i,needCollect:!i,deduplication:e.dedplication!==!1})},r.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},r.prototype.parseAndCollect=function(t){var e,a=this._needCollect;if(!Re(t)&&!a)return t;if(a&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return e=i.get(t),e==null&&(a?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},r.prototype._getOrCreateMap=function(){return this._map||(this._map=Ge(this.categories))},r})();function Oee(r){return $e(r)&&r.value!=null?r.value:r+""}function RT(r){return r.type==="interval"||r.type==="log"}function Nee(r,t,e,a){var i={},n=r[1]-r[0],o=i.interval=qA(n/t,!0);e!=null&&oa&&(o=i.interval=a);var s=i.intervalPrecision=UU(o),l=i.niceTickExtent=[ar(Math.ceil(r[0]/o)*o,s),ar(Math.floor(r[1]/o)*o,s)];return zee(l,r),i}function Rm(r){var t=Math.pow(10,Cp(r)),e=r/t;return e?e===2?e=3:e===3?e=5:e*=2:e=1,ar(e*t)}function UU(r){return hi(r)+2}function e2(r,t,e){r[t]=Math.max(Math.min(r[t],e[1]),e[0])}function zee(r,t){!isFinite(r[0])&&(r[0]=t[0]),!isFinite(r[1])&&(r[1]=t[1]),e2(r,0,t),e2(r,1,t),r[0]>r[1]&&(r[0]=r[1])}function Zp(r,t){return r>=t[0]&&r<=t[1]}function Xp(r,t){return t[1]===t[0]?.5:(r-t[0])/(t[1]-t[0])}function Kp(r,t){return r*(t[1]-t[0])+t[0]}var Qp=(function(r){he(t,r);function t(e){var a=r.call(this,e)||this;a.type="ordinal";var i=a.getSetting("ordinalMeta");return i||(i=new PT({})),Se(i)&&(i=new PT({categories:we(i,function(n){return $e(n)?n.value:n})})),a._ordinalMeta=i,a._extent=a.getSetting("extent")||[0,i.categories.length-1],a}return t.prototype.parse=function(e){return e==null?NaN:Re(e)?this._ordinalMeta.getOrdinal(e):Math.round(e)},t.prototype.contain=function(e){return e=this.parse(e),Zp(e,this._extent)&&this._ordinalMeta.categories[e]!=null},t.prototype.normalize=function(e){return e=this._getTickNumber(this.parse(e)),Xp(e,this._extent)},t.prototype.scale=function(e){return e=Math.round(Kp(e,this._extent)),this.getRawOrdinalNumber(e)},t.prototype.getTicks=function(){for(var e=[],a=this._extent,i=a[0];i<=a[1];)e.push({value:i}),i++;return e},t.prototype.getMinorTicks=function(e){},t.prototype.setSortInfo=function(e){if(e==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var a=e.ordinalNumbers,i=this._ordinalNumbersByTick=[],n=this._ticksByOrdinalNumber=[],o=0,s=this._ordinalMeta.categories.length,l=Math.min(s,a.length);o=0&&e=0&&e=e},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t})(ji);ji.registerClass(Qp);var Uo=ar,Tn=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return Zp(e,this._extent)},t.prototype.normalize=function(e){return Xp(e,this._extent)},t.prototype.scale=function(e){return Kp(e,this._extent)},t.prototype.setExtent=function(e,a){var i=this._extent;isNaN(e)||(i[0]=parseFloat(e)),isNaN(a)||(i[1]=parseFloat(a))},t.prototype.unionExtent=function(e){var a=this._extent;e[0]a[1]&&(a[1]=e[1]),this.setExtent(a[0],a[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=UU(e)},t.prototype.getTicks=function(e){var a=this._interval,i=this._extent,n=this._niceExtent,o=this._intervalPrecision,s=[];if(!a)return s;var l=1e4;i[0]l)return[];var v=s.length?s[s.length-1].value:n[1];return i[1]>v&&(e?s.push({value:Uo(v+a,o)}):s.push({value:i[1]})),s},t.prototype.getMinorTicks=function(e){for(var a=this.getTicks(!0),i=[],n=this.getExtent(),o=1;on[0]&&c0&&(n=n===null?s:Math.min(n,s))}e[a]=n}}return e}function XU(r){var t=Gee(r),e=[];return $(r,function(a){var i=a.coordinateSystem,n=i.getBaseAxis(),o=n.getExtent(),s;if(n.type==="category")s=n.getBandWidth();else if(n.type==="value"||n.type==="time"){var l=n.dim+"_"+n.index,u=t[l],v=Math.abs(o[1]-o[0]),h=n.scale.getExtent(),f=Math.abs(h[1]-h[0]);s=u?v/f*u:v}else{var c=a.getData();s=Math.abs(o[1]-o[0])/c.count()}var d=Ie(a.get("barWidth"),s),p=Ie(a.get("barMaxWidth"),s),g=Ie(a.get("barMinWidth")||(e6(a)?.5:1),s),m=a.get("barGap"),y=a.get("barCategoryGap");e.push({bandWidth:s,barWidth:d,barMaxWidth:p,barMinWidth:g,barGap:m,barCategoryGap:y,axisKey:VC(n),stackId:YU(a)})}),KU(e)}function KU(r){var t={};$(r,function(a,i){var n=a.axisKey,o=a.bandWidth,s=t[n]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},l=s.stacks;t[n]=s;var u=a.stackId;l[u]||s.autoWidthCount++,l[u]=l[u]||{width:0,maxWidth:0};var v=a.barWidth;v&&!l[u].width&&(l[u].width=v,v=Math.min(s.remainedWidth,v),s.remainedWidth-=v);var h=a.barMaxWidth;h&&(l[u].maxWidth=h);var f=a.barMinWidth;f&&(l[u].minWidth=f);var c=a.barGap;c!=null&&(s.gap=c);var d=a.barCategoryGap;d!=null&&(s.categoryGap=d)});var e={};return $(t,function(a,i){e[i]={};var n=a.stacks,o=a.bandWidth,s=a.categoryGap;if(s==null){var l=ft(n).length;s=Math.max(35-l*4,15)+"%"}var u=Ie(s,o),v=Ie(a.gap,1),h=a.remainedWidth,f=a.autoWidthCount,c=(h-u)/(f+(f-1)*v);c=Math.max(c,0),$(n,function(m){var y=m.maxWidth,_=m.minWidth;if(m.width){var x=m.width;y&&(x=Math.min(x,y)),_&&(x=Math.max(x,_)),m.width=x,h-=x+v*x,f--}else{var x=c;y&&yx&&(x=_),x!==c&&(m.width=x,h-=x+v*x,f--)}}),c=(h-u)/(f+(f-1)*v),c=Math.max(c,0);var d=0,p;$(n,function(m,y){m.width||(m.width=c),p=m,d+=m.width*(1+v)}),p&&(d-=p.width*v);var g=-d/2;$(n,function(m,y){e[i][y]=e[i][y]||{bandWidth:o,offset:g,width:m.width},g+=m.width*(1+v)})}),e}function Fee(r,t,e){if(r&&t){var a=r[VC(t)];return a}}function QU(r,t){var e=ZU(r,t),a=XU(e);$(e,function(i){var n=i.getData(),o=i.coordinateSystem,s=o.getBaseAxis(),l=YU(i),u=a[VC(s)][l],v=u.offset,h=u.width;n.setLayout({bandWidth:u.bandWidth,offset:v,size:h})})}function jU(r){return{seriesType:r,plan:gu(),reset:function(t){if(JU(t)){var e=t.getData(),a=t.coordinateSystem,i=a.getBaseAxis(),n=a.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(n.dim)),s=e.getDimensionIndex(e.mapDimension(i.dim)),l=t.get("showBackground",!0),u=e.mapDimension(n.dim),v=e.getCalculationInfo("stackResultDimension"),h=wn(e,u)&&!!e.getCalculationInfo("stackedOnSeries"),f=n.isHorizontal(),c=Hee(i,n),d=e6(t),p=t.get("barMinHeight")||0,g=v&&e.getDimensionIndex(v),m=e.getLayout("size"),y=e.getLayout("offset");return{progress:function(_,x){for(var S=_.count,b=d&&Fi(S*3),w=d&&l&&Fi(S*3),A=d&&Fi(S),T=a.master.getRect(),C=f?T.width:T.height,M,L=x.getStore(),D=0;(M=_.next())!=null;){var P=L.get(h?g:o,M),I=L.get(s,M),R=c,E=void 0;h&&(E=+P-L.get(o,M));var k=void 0,B=void 0,F=void 0,V=void 0;if(f){var N=a.dataToPoint([P,I]);if(h){var O=a.dataToPoint([E,I]);R=O[0]}k=R,B=N[1]+y,F=N[0]-R,V=m,Math.abs(F)0?e:1:e))}var qee=function(r,t,e,a){for(;e>>1;r[i][1]i&&(this._approxInterval=i);var s=jf.length,l=Math.min(qee(jf,this._approxInterval,0,s),s-1);this._interval=jf[l][1],this._minLevelUnit=jf[Math.max(l-1,0)][0]},t.prototype.parse=function(e){return bt(e)?e:+Ma(e)},t.prototype.contain=function(e){return Zp(this.parse(e),this._extent)},t.prototype.normalize=function(e){return Xp(this.parse(e),this._extent)},t.prototype.scale=function(e){return Kp(e,this._extent)},t.type="time",t})(Tn),jf=[["second",hC],["minute",fC],["hour",jv],["quarter-day",jv*6],["half-day",jv*12],["day",Wa*1.2],["half-week",Wa*3.5],["week",Wa*7],["month",Wa*31],["quarter",Wa*95],["half-year",UL/2],["year",UL]];function Wee(r,t,e,a){var i=Ma(t),n=Ma(e),o=function(d){return YL(i,d,a)===YL(n,d,a)},s=function(){return o("year")},l=function(){return s()&&o("month")},u=function(){return l()&&o("day")},v=function(){return u()&&o("hour")},h=function(){return v()&&o("minute")},f=function(){return h()&&o("second")},c=function(){return f()&&o("millisecond")};switch(r){case"year":return s();case"month":return l();case"day":return u();case"hour":return v();case"minute":return h();case"second":return f();case"millisecond":return c()}}function Uee(r,t){return r/=Wa,r>16?16:r>7.5?7:r>3.5?4:r>1.5?2:1}function $ee(r){var t=30*Wa;return r/=t,r>6?6:r>3?3:r>2?2:1}function Yee(r){return r/=jv,r>12?12:r>6?6:r>3.5?4:r>2?2:1}function t2(r,t){return r/=t?fC:hC,r>30?30:r>20?20:r>15?15:r>10?10:r>5?5:r>2?2:1}function Zee(r){return qA(r,!0)}function Xee(r,t,e){var a=new Date(r);switch(Hl(t)){case"year":case"month":a[mW(e)](0);case"day":a[yW(e)](1);case"hour":a[_W(e)](0);case"minute":a[xW(e)](0);case"second":a[SW(e)](0),a[bW(e)](0)}return a.getTime()}function Kee(r,t,e,a){var i=1e4,n=pW,o=0;function s(C,M,L,D,P,I,R){for(var E=new Date(M),k=M,B=E[D]();k1&&I===0&&L.unshift({value:L[0].value-k})}}for(var I=0;I=a[0]&&y<=a[1]&&h++)}var _=(a[1]-a[0])/t;if(h>_*1.5&&f>_/1.5||(u.push(g),h>_||r===n[c]))break}v=[]}}}for(var x=Ct(we(u,function(C){return Ct(C,function(M){return M.value>=a[0]&&M.value<=a[1]&&!M.notAdd})}),function(C){return C.length>0}),S=[],b=x.length-1,c=0;c0;)n*=10;var s=[ar(Jee(a[0]/n)*n),ar(jee(a[1]/n)*n)];this._interval=n,this._niceExtent=s}},t.prototype.calcNiceExtent=function(e){th.calcNiceExtent.call(this,e),this._fixMin=e.fixMin,this._fixMax=e.fixMax},t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return e=ai(e)/ai(this.base),Zp(e,this._extent)},t.prototype.normalize=function(e){return e=ai(e)/ai(this.base),Xp(e,this._extent)},t.prototype.scale=function(e){return e=Kp(e,this._extent),Jf(this.base,e)},t.type="log",t})(ji),t6=FC.prototype;t6.getMinorTicks=th.getMinorTicks;t6.getLabel=th.getLabel;function ec(r,t){return Qee(r,hi(t))}ji.registerClass(FC);var ete=(function(){function r(t,e,a){this._prepareParams(t,e,a)}return r.prototype._prepareParams=function(t,e,a){a[1]0&&l>0&&!u&&(s=0),s<0&&l<0&&!v&&(l=0));var f=this._determinedMin,c=this._determinedMax;return f!=null&&(s=f,u=!0),c!=null&&(l=c,v=!0),{min:s,max:l,minFixed:u,maxFixed:v,isBlank:h}},r.prototype.modifyDataMinMax=function(t,e){this[rte[t]]=e},r.prototype.setDeterminedMinMax=function(t,e){var a=tte[t];this[a]=e},r.prototype.freeze=function(){this.frozen=!0},r})(),tte={min:"_determinedMin",max:"_determinedMax"},rte={min:"_dataMin",max:"_dataMax"};function r6(r,t,e){var a=r.rawExtentInfo;return a||(a=new ete(r,t,e),r.rawExtentInfo=a,a)}function tc(r,t){return t==null?null:Ul(t)?NaN:r.parse(t)}function a6(r,t){var e=r.type,a=r6(r,t,r.getExtent()).calculate();r.setBlank(a.isBlank);var i=a.min,n=a.max,o=t.ecModel;if(o&&e==="time"){var s=ZU("bar",o),l=!1;if($(s,function(h){l=l||h.getBaseAxis()===t.axis}),l){var u=XU(s),v=ate(i,n,t,u);i=v.min,n=v.max}}return{extent:[i,n],fixMin:a.minFixed,fixMax:a.maxFixed}}function ate(r,t,e,a){var i=e.axis.getExtent(),n=Math.abs(i[1]-i[0]),o=Fee(a,e.axis);if(o===void 0)return{min:r,max:t};var s=1/0;$(o,function(c){s=Math.min(c.offset,s)});var l=-1/0;$(o,function(c){l=Math.max(c.offset+c.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,v=t-r,h=1-(s+l)/n,f=v/h-v;return t+=f*(l/u),r-=f*(s/u),{min:r,max:t}}function Rs(r,t){var e=t,a=a6(r,e),i=a.extent,n=e.get("splitNumber");r instanceof FC&&(r.base=e.get("logBase"));var o=r.type,s=e.get("interval"),l=o==="interval"||o==="time";r.setExtent(i[0],i[1]),r.calcNiceExtent({splitNumber:n,fixMin:a.fixMin,fixMax:a.fixMax,minInterval:l?e.get("minInterval"):null,maxInterval:l?e.get("maxInterval"):null}),s!=null&&r.setInterval&&r.setInterval(s)}function Kh(r,t){if(t=t||r.get("type"),t)switch(t){case"category":return new Qp({ordinalMeta:r.getOrdinalMeta?r.getOrdinalMeta():r.getCategories(),extent:[1/0,-1/0]});case"time":return new GC({locale:r.ecModel.getLocaleModel(),useUTC:r.ecModel.get("useUTC")});default:return new(ji.getClass(t)||Tn)}}function ite(r){var t=r.scale.getExtent(),e=t[0],a=t[1];return!(e>0&&a>0||e<0&&a<0)}function xu(r){var t=r.getLabelModel().get("formatter"),e=r.type==="category"?r.scale.getExtent()[0]:null;return r.scale.type==="time"?(function(a){return function(i,n){return r.scale.getFormattedLabel(i,n,a)}})(t):Re(t)?(function(a){return function(i){var n=r.scale.getLabel(i),o=a.replace("{value}",n!=null?n:"");return o}})(t):He(t)?(function(a){return function(i,n){return e!=null&&(n=i.value-e),a(HC(r,i),n,i.level!=null?{level:i.level}:null)}})(t):function(a){return r.scale.getLabel(a)}}function HC(r,t){return r.type==="category"?r.scale.getLabel(t):t.value}function nte(r){var t=r.model,e=r.scale;if(!(!t.get(["axisLabel","show"])||e.isBlank())){var a,i,n=e.getExtent();e instanceof Qp?i=e.count():(a=e.getTicks(),i=a.length);var o=r.getLabelModel(),s=xu(r),l,u=1;i>40&&(u=Math.ceil(i/40));for(var v=0;vr[1]&&(r[1]=i[1])})}var Su=(function(){function r(){}return r.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},r.prototype.getCoordSysModel=function(){},r})();function lte(r){return Qi(null,r)}var ute={isDimensionStacked:wn,enableDataStack:WU,getStackedDimension:BC};function vte(r,t){var e=t;t instanceof Mt||(e=new Mt(t));var a=Kh(e);return a.setExtent(r[0],r[1]),Rs(a,e),a}function hte(r){nr(r,Su)}function fte(r,t){return t=t||{},Ht(r,null,null,t.state!=="normal")}const cte=Object.freeze(Object.defineProperty({__proto__:null,createDimensions:bee,createList:lte,createScale:vte,createSymbol:lr,createTextStyle:fte,dataStack:ute,enableHoverEmphasis:to,getECData:Xe,getLayoutRect:dr,mixinAxisModelCommonMethods:hte},Symbol.toStringTag,{value:"Module"}));var a2=[],dte={registerPreprocessor:kC,registerProcessor:OC,registerPostInit:EU,registerPostUpdate:kU,registerUpdateLifecycle:Yp,registerAction:Si,registerCoordinateSystem:OU,registerLayout:NU,registerVisual:mo,registerTransform:BU,registerLoading:zC,registerMap:zU,registerImpl:VJ,PRIORITY:TU,ComponentModel:ut,ComponentView:Wt,SeriesModel:zt,ChartView:kt,registerComponentModel:function(r){ut.registerClass(r)},registerComponentView:function(r){Wt.registerClass(r)},registerSeriesModel:function(r){zt.registerClass(r)},registerChartView:function(r){kt.registerClass(r)},registerSubTypeDefaulter:function(r,t){ut.registerSubTypeDefaulter(r,t)},registerPainter:function(r,t){fq(r,t)}};function ot(r){if(Se(r)){$(r,function(t){ot(t)});return}nt(a2,r)>=0||(a2.push(r),He(r)&&(r={install:r}),r.install(dte))}var pte=1e-8;function i2(r,t){return Math.abs(r-t)i&&(a=o,i=l)}if(a)return mte(a.exterior);var u=this.getBoundingRect();return[u.x+u.width/2,u.y+u.height/2]},t.prototype.getBoundingRect=function(e){var a=this._rect;if(a&&!e)return a;var i=[1/0,1/0],n=[-1/0,-1/0],o=this.geometries;return $(o,function(s){s.type==="polygon"?n2(s.exterior,i,n,e):$(s.points,function(l){n2(l,i,n,e)})}),isFinite(i[0])&&isFinite(i[1])&&isFinite(n[0])&&isFinite(n[1])||(i[0]=i[1]=n[0]=n[1]=0),a=new at(i[0],i[1],n[0]-i[0],n[1]-i[1]),e||(this._rect=a),a},t.prototype.contain=function(e){var a=this.getBoundingRect(),i=this.geometries;if(!a.contain(e[0],e[1]))return!1;e:for(var n=0,o=i.length;n>1^-(s&1),l=l>>1^-(l&1),s+=i,l+=n,i=s,n=l,a.push([s/e,l/e])}return a}function kT(r,t){return r=_te(r),we(Ct(r.features,function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0}),function(e){var a=e.properties,i=e.geometry,n=[];switch(i.type){case"Polygon":var o=i.coordinates;n.push(new o2(o[0],o.slice(1)));break;case"MultiPolygon":$(i.coordinates,function(l){l[0]&&n.push(new o2(l[0],l.slice(1)))});break;case"LineString":n.push(new s2([i.coordinates]));break;case"MultiLineString":n.push(new s2(i.coordinates))}var s=new o6(a[t||"name"],n,a.cp);return s.properties=a,s})}const xte=Object.freeze(Object.defineProperty({__proto__:null,MAX_SAFE_INTEGER:rT,asc:Ta,getPercentWithPrecision:tX,getPixelPrecision:FA,getPrecision:hi,getPrecisionSafe:gq,isNumeric:WA,isRadianAroundZero:Yl,linearMap:Pt,nice:qA,numericToNumber:Yi,parseDate:Ma,quantile:ed,quantity:yq,quantityExponent:Cp,reformIntervals:aT,remRadian:HA,round:ar},Symbol.toStringTag,{value:"Module"})),Ste=Object.freeze(Object.defineProperty({__proto__:null,format:Zh,parse:Ma},Symbol.toStringTag,{value:"Module"})),bte=Object.freeze(Object.defineProperty({__proto__:null,Arc:Uh,BezierCurve:su,BoundingRect:at,Circle:Xi,CompoundPath:Ep,Ellipse:Wh,Group:Ze,Image:Dr,IncrementalDisplayable:rW,Line:xr,LinearGradient:lu,Polygon:jr,Polyline:ea,RadialGradient:rC,Rect:gt,Ring:ou,Sector:Qr,Text:pt,clipPointsByRect:oC,clipRectByRect:sW,createIcon:vu,extendPath:nW,extendShape:iW,getShapeClass:kp,getTransform:ro,initProps:$t,makeImage:iC,makePath:$h,mergePath:wa,registerShape:Ka,resizePath:nC,updateProps:wt},Symbol.toStringTag,{value:"Module"})),wte=Object.freeze(Object.defineProperty({__proto__:null,addCommas:dC,capitalFirst:CQ,encodeHTML:Zr,formatTime:AQ,formatTpl:gC,getTextRect:wQ,getTooltipMarker:wW,normalizeCssArray:Vs,toCamelCase:pC,truncateText:PX},Symbol.toStringTag,{value:"Module"})),Tte=Object.freeze(Object.defineProperty({__proto__:null,bind:Ne,clone:Ye,curry:et,defaults:Ue,each:$,extend:_e,filter:Ct,indexOf:nt,inherits:EA,isArray:Se,isFunction:He,isObject:$e,isString:Re,map:we,merge:tt,reduce:Ya},Symbol.toStringTag,{value:"Module"}));var Th=yt();function l6(r,t){var e=we(t,function(a){return r.scale.parse(a)});return r.type==="time"&&e.length>0&&(e.sort(),e.unshift(e[0]),e.push(e[e.length-1])),e}function Ate(r){var t=r.getLabelModel().get("customValues");if(t){var e=xu(r),a=r.scale.getExtent(),i=l6(r,t),n=Ct(i,function(o){return o>=a[0]&&o<=a[1]});return{labels:we(n,function(o){var s={value:o};return{formattedLabel:e(s),rawLabel:r.scale.getLabel(s),tickValue:o}})}}return r.type==="category"?Mte(r):Lte(r)}function Cte(r,t){var e=r.getTickModel().get("customValues");if(e){var a=r.scale.getExtent(),i=l6(r,e);return{ticks:Ct(i,function(n){return n>=a[0]&&n<=a[1]})}}return r.type==="category"?Dte(r,t):{ticks:we(r.scale.getTicks(),function(n){return n.value})}}function Mte(r){var t=r.getLabelModel(),e=u6(r,t);return!t.get("show")||r.scale.isBlank()?{labels:[],labelCategoryInterval:e.labelCategoryInterval}:e}function u6(r,t){var e=v6(r,"labels"),a=qC(t),i=h6(e,a);if(i)return i;var n,o;return He(a)?n=d6(r,a):(o=a==="auto"?Ite(r):a,n=c6(r,o)),f6(e,a,{labels:n,labelCategoryInterval:o})}function Dte(r,t){var e=v6(r,"ticks"),a=qC(t),i=h6(e,a);if(i)return i;var n,o;if((!t.get("show")||r.scale.isBlank())&&(n=[]),He(a))n=d6(r,a,!0);else if(a==="auto"){var s=u6(r,r.getLabelModel());o=s.labelCategoryInterval,n=we(s.labels,function(l){return l.tickValue})}else o=a,n=c6(r,o,!0);return f6(e,a,{ticks:n,tickCategoryInterval:o})}function Lte(r){var t=r.scale.getTicks(),e=xu(r);return{labels:we(t,function(a,i){return{level:a.level,formattedLabel:e(a,i),rawLabel:r.scale.getLabel(a),tickValue:a.value}})}}function v6(r,t){return Th(r)[t]||(Th(r)[t]=[])}function h6(r,t){for(var e=0;e40&&(s=Math.max(1,Math.floor(o/40)));for(var l=n[0],u=r.dataToCoord(l+1)-r.dataToCoord(l),v=Math.abs(u*Math.cos(a)),h=Math.abs(u*Math.sin(a)),f=0,c=0;l<=n[1];l+=s){var d=0,p=0,g=Fh(e({value:l}),t.font,"center","top");d=g.width*1.3,p=g.height*1.3,f=Math.max(f,d,7),c=Math.max(c,p,7)}var m=f/v,y=c/h;isNaN(m)&&(m=1/0),isNaN(y)&&(y=1/0);var _=Math.max(0,Math.floor(Math.min(m,y))),x=Th(r.model),S=r.getExtent(),b=x.lastAutoInterval,w=x.lastTickCount;return b!=null&&w!=null&&Math.abs(b-_)<=1&&Math.abs(w-o)<=1&&b>_&&x.axisExtent0===S[0]&&x.axisExtent1===S[1]?_=b:(x.lastTickCount=o,x.lastAutoInterval=_,x.axisExtent0=S[0],x.axisExtent1=S[1]),_}function Rte(r){var t=r.getLabelModel();return{axisRotate:r.getRotate?r.getRotate():r.isHorizontal&&!r.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function c6(r,t,e){var a=xu(r),i=r.scale,n=i.getExtent(),o=r.getLabelModel(),s=[],l=Math.max((t||0)+1,1),u=n[0],v=i.count();u!==0&&l>1&&v/l>2&&(u=Math.round(Math.ceil(u/l)*l));var h=i6(r),f=o.get("showMinLabel")||h,c=o.get("showMaxLabel")||h;f&&u!==n[0]&&p(n[0]);for(var d=u;d<=n[1];d+=l)p(d);c&&d-l!==n[1]&&p(n[1]);function p(g){var m={value:g};s.push(e?g:{formattedLabel:a(m),rawLabel:i.getLabel(m),tickValue:g})}return s}function d6(r,t,e){var a=r.scale,i=xu(r),n=[];return $(a.getTicks(),function(o){var s=a.getLabel(o),l=o.value;t(o.value,s)&&n.push(e?l:{formattedLabel:i(o),rawLabel:s,tickValue:l})}),n}var l2=[0,1],Ja=(function(){function r(t,e,a){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=a||[0,0]}return r.prototype.contain=function(t){var e=this._extent,a=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=a&&t<=i},r.prototype.containData=function(t){return this.scale.contain(t)},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.getPixelPrecision=function(t){return FA(t||this.scale.getExtent(),this._extent)},r.prototype.setExtent=function(t,e){var a=this._extent;a[0]=t,a[1]=e},r.prototype.dataToCoord=function(t,e){var a=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&i.type==="ordinal"&&(a=a.slice(),u2(a,i.count())),Pt(t,l2,a,e)},r.prototype.coordToData=function(t,e){var a=this._extent,i=this.scale;this.onBand&&i.type==="ordinal"&&(a=a.slice(),u2(a,i.count()));var n=Pt(t,a,l2,e);return this.scale.scale(n)},r.prototype.pointToData=function(t,e){},r.prototype.getTicksCoords=function(t){t=t||{};var e=t.tickModel||this.getTickModel(),a=Cte(this,e),i=a.ticks,n=we(i,function(s){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this),o=e.get("alignWithLabel");return Ete(this,n,o,t.clamp),n},r.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var a=this.scale.getMinorTicks(e),i=we(a,function(n){return we(n,function(o){return{coord:this.dataToCoord(o),tickValue:o}},this)},this);return i},r.prototype.getViewLabels=function(){return Ate(this).labels},r.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},r.prototype.getTickModel=function(){return this.model.getModel("axisTick")},r.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),a=e[1]-e[0]+(this.onBand?1:0);a===0&&(a=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/a},r.prototype.calculateCategoryInterval=function(){return Pte(this)},r})();function u2(r,t){var e=r[1]-r[0],a=t,i=e/a/2;r[0]+=i,r[1]-=i}function Ete(r,t,e,a){var i=t.length;if(!r.onBand||e||!i)return;var n=r.getExtent(),o,s;if(i===1)t[0].coord=n[0],o=t[1]={coord:n[1],tickValue:t[0].tickValue};else{var l=t[i-1].tickValue-t[0].tickValue,u=(t[i-1].coord-t[0].coord)/l;$(t,function(c){c.coord-=u/2});var v=r.scale.getExtent();s=1+v[1]-t[i-1].tickValue,o={coord:t[i-1].coord+u*s,tickValue:v[1]+1},t.push(o)}var h=n[0]>n[1];f(t[0].coord,n[0])&&(a?t[0].coord=n[0]:t.shift()),a&&f(n[0],t[0].coord)&&t.unshift({coord:n[0]}),f(n[1],o.coord)&&(a?o.coord=n[1]:t.pop()),a&&f(o.coord,n[1])&&t.push({coord:n[1]});function f(c,d){return c=ar(c),d=ar(d),h?c>d:ci&&(i+=ju);var c=Math.atan2(s,o);if(c<0&&(c+=ju),c>=a&&c<=i||c+ju>=a&&c+ju<=i)return l[0]=v,l[1]=h,u-e;var d=e*Math.cos(a)+r,p=e*Math.sin(a)+t,g=e*Math.cos(i)+r,m=e*Math.sin(i)+t,y=(d-o)*(d-o)+(p-s)*(p-s),_=(g-o)*(g-o)+(m-s)*(m-s);return y<_?(l[0]=d,l[1]=p,Math.sqrt(y)):(l[0]=g,l[1]=m,Math.sqrt(_))}function Yd(r,t,e,a,i,n,o,s){var l=i-r,u=n-t,v=e-r,h=a-t,f=Math.sqrt(v*v+h*h);v/=f,h/=f;var c=l*v+u*h,d=c/f;s&&(d=Math.min(Math.max(d,0),1)),d*=f;var p=o[0]=r+d*v,g=o[1]=t+d*h;return Math.sqrt((p-i)*(p-i)+(g-n)*(g-n))}function p6(r,t,e,a,i,n,o){e<0&&(r=r+e,e=-e),a<0&&(t=t+a,a=-a);var s=r+e,l=t+a,u=o[0]=Math.min(Math.max(i,r),s),v=o[1]=Math.min(Math.max(n,t),l);return Math.sqrt((u-i)*(u-i)+(v-n)*(v-n))}var vi=[];function Fte(r,t,e){var a=p6(t.x,t.y,t.width,t.height,r.x,r.y,vi);return e.set(vi[0],vi[1]),a}function Hte(r,t,e){for(var a=0,i=0,n=0,o=0,s,l,u=1/0,v=t.data,h=r.x,f=r.y,c=0;c0){t=t/180*Math.PI,fi.fromArray(r[0]),qt.fromArray(r[1]),sr.fromArray(r[2]),rt.sub(Hi,fi,qt),rt.sub(Vi,sr,qt);var e=Hi.len(),a=Vi.len();if(!(e<.001||a<.001)){Hi.scale(1/e),Vi.scale(1/a);var i=Hi.dot(Vi),n=Math.cos(t);if(n1&&rt.copy(oa,sr),oa.toArray(r[1])}}}}function qte(r,t,e){if(e<=180&&e>0){e=e/180*Math.PI,fi.fromArray(r[0]),qt.fromArray(r[1]),sr.fromArray(r[2]),rt.sub(Hi,qt,fi),rt.sub(Vi,sr,qt);var a=Hi.len(),i=Vi.len();if(!(a<.001||i<.001)){Hi.scale(1/a),Vi.scale(1/i);var n=Hi.dot(t),o=Math.cos(e);if(n=l)rt.copy(oa,sr);else{oa.scaleAndAdd(Vi,s/Math.tan(Math.PI/2-v));var h=sr.x!==qt.x?(oa.x-qt.x)/(sr.x-qt.x):(oa.y-qt.y)/(sr.y-qt.y);if(isNaN(h))return;h<0?rt.copy(oa,qt):h>1&&rt.copy(oa,sr)}oa.toArray(r[1])}}}}function Om(r,t,e,a){var i=e==="normal",n=i?r:r.ensureState(e);n.ignore=t;var o=a.get("smooth");o&&o===!0&&(o=.3),n.shape=n.shape||{},o>0&&(n.shape.smooth=o);var s=a.getModel("lineStyle").getLineStyle();i?r.useStyle(s):n.style=s}function Wte(r,t){var e=t.smooth,a=t.points;if(a)if(r.moveTo(a[0][0],a[0][1]),e>0&&a.length>=3){var i=fn(a[0],a[1]),n=fn(a[1],a[2]);if(!i||!n){r.lineTo(a[1][0],a[1][1]),r.lineTo(a[2][0],a[2][1]);return}var o=Math.min(i,n)*e,s=qv([],a[1],a[0],o/i),l=qv([],a[1],a[2],o/n),u=qv([],s,l,.5);r.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),r.bezierCurveTo(l[0],l[1],l[0],l[1],a[2][0],a[2][1])}else for(var v=1;v0){_(T*A,0,o);var C=T+b;C<0&&x(-C*A,1)}else x(-b*A,1)}}function _(b,w,A){b!==0&&(u=!0);for(var T=w;T0)for(var C=0;C0;C--){var P=A[C-1]*D;_(-P,C,o)}}}function S(b){var w=b<0?-1:1;b=Math.abs(b);for(var A=Math.ceil(b/(o-1)),T=0;T0?_(A,0,T+1):_(-A,o-T-1,o),b-=A,b<=0)return}return u}function Ute(r,t,e,a){return y6(r,"x","width",t,e)}function _6(r,t,e,a){return y6(r,"y","height",t,e)}function x6(r){var t=[];r.sort(function(p,g){return g.priority-p.priority});var e=new at(0,0,0,0);function a(p){if(!p.ignore){var g=p.ensureState("emphasis");g.ignore==null&&(g.ignore=!1)}p.ignore=!0}for(var i=0;i=0&&a.attr(n.oldLayoutSelect),nt(f,"emphasis")>=0&&a.attr(n.oldLayoutEmphasis)),wt(a,u,e,l)}else if(a.attr(u),!hu(a).valueAnimation){var h=Je(a.style.opacity,1);a.style.opacity=0,$t(a,{style:{opacity:h}},e,l)}if(n.oldLayout=u,a.states.select){var c=n.oldLayoutSelect={};rc(c,u,ac),rc(c,a.states.select,ac)}if(a.states.emphasis){var d=n.oldLayoutEmphasis={};rc(d,u,ac),rc(d,a.states.emphasis,ac)}hW(a,l,v,e,e)}if(i&&!i.ignore&&!i.invisible){var n=Zte(i),o=n.oldLayout,p={points:i.shape.points};o?(i.attr({shape:o}),wt(i,{shape:p},e)):(i.setShape(p),i.style.strokePercent=0,$t(i,{style:{strokePercent:1}},e)),n.oldLayout=p}},r})(),zm=yt();function S6(r){r.registerUpdateLifecycle("series:beforeupdate",function(t,e,a){var i=zm(e).labelManager;i||(i=zm(e).labelManager=new Xte),i.clearLabels()}),r.registerUpdateLifecycle("series:layoutlabels",function(t,e,a){var i=zm(e).labelManager;a.updatedSeries.forEach(function(n){i.addLabelsOfSeries(e.getViewOfSeriesModel(n))}),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()})}const S1e=Object.freeze(Object.defineProperty({__proto__:null,Axis:Ja,ChartView:kt,ComponentModel:ut,ComponentView:Wt,List:Xr,Model:Mt,PRIORITY:TU,SeriesModel:zt,color:yZ,connect:nee,dataTool:fee,dependencies:FJ,disConnect:oee,disconnect:RU,dispose:see,env:vt,extendChartView:zte,extendComponentModel:kte,extendComponentView:Ote,extendSeriesModel:Nte,format:wte,getCoordinateSystemDimensions:uee,getInstanceByDom:RC,getInstanceById:lee,getMap:hee,graphic:bte,helper:cte,init:iee,innerDrawElementOnCanvas:DC,matrix:KY,number:xte,parseGeoJSON:kT,parseGeoJson:kT,registerAction:Si,registerCoordinateSystem:OU,registerLayout:NU,registerLoading:zC,registerLocale:vC,registerMap:zU,registerPostInit:EU,registerPostUpdate:kU,registerPreprocessor:kC,registerProcessor:OC,registerTheme:EC,registerTransform:BU,registerUpdateLifecycle:Yp,registerVisual:mo,setCanvasCreator:vee,setPlatformAPI:I4,throttle:Up,time:Ste,use:ot,util:Tte,vector:NY,version:GJ,zrUtil:LY,zrender:JZ},Symbol.toStringTag,{value:"Module"}));var Kte=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return t.prototype.getInitialData=function(e){return Qi(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(e){var a=new Ze,i=lr("line",0,e.itemHeight/2,e.itemWidth,0,e.lineStyle.stroke,!1);a.add(i),i.setStyle(e.lineStyle);var n=this.getData().getVisual("symbol"),o=this.getData().getVisual("symbolRotate"),s=n==="none"?"circle":n,l=e.itemHeight*.8,u=lr(s,(e.itemWidth-l)/2,(e.itemHeight-l)/2,l,l,e.itemStyle.fill);a.add(u),u.setStyle(e.itemStyle);var v=e.iconRotate==="inherit"?o:e.iconRotate||0;return u.rotation=v*Math.PI/180,u.setOrigin([e.itemWidth/2,e.itemHeight/2]),s.indexOf("empty")>-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),a},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t})(zt);function jl(r,t){var e=r.mapDimensionsAll("defaultedLabel"),a=e.length;if(a===1){var i=Kl(r,t,e[0]);return i!=null?i+"":null}else if(a){for(var n=[],o=0;o=0&&a.push(t[n])}return a.join(" ")}var Qh=(function(r){he(t,r);function t(e,a,i,n){var o=r.call(this)||this;return o.updateData(e,a,i,n),o}return t.prototype._createSymbol=function(e,a,i,n,o){this.removeAll();var s=lr(e,-1,-1,2,2,null,o);s.attr({z2:100,culling:!0,scaleX:n[0]/2,scaleY:n[1]/2}),s.drift=Qte,this._symbolType=e,this.add(s)},t.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){xn(this.childAt(0))},t.prototype.downplay=function(){Sn(this.childAt(0))},t.prototype.setZ=function(e,a){var i=this.childAt(0);i.zlevel=e,i.z=a},t.prototype.setDraggable=function(e,a){var i=this.childAt(0);i.draggable=e,i.cursor=!a&&e?"move":i.cursor},t.prototype.updateData=function(e,a,i,n){this.silent=!1;var o=e.getItemVisual(a,"symbol")||"circle",s=e.hostModel,l=t.getSymbolSize(e,a),u=o!==this._symbolType,v=n&&n.disableAnimation;if(u){var h=e.getItemVisual(a,"symbolKeepAspect");this._createSymbol(o,e,a,l,h)}else{var f=this.childAt(0);f.silent=!1;var c={scaleX:l[0]/2,scaleY:l[1]/2};v?f.attr(c):wt(f,c,s,a),xi(f)}if(this._updateCommon(e,a,l,i,n),u){var f=this.childAt(0);if(!v){var c={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:f.style.opacity}};f.scaleX=f.scaleY=0,f.style.opacity=0,$t(f,c,s,a)}}v&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(e,a,i,n,o){var s=this.childAt(0),l=e.hostModel,u,v,h,f,c,d,p,g,m;if(n&&(u=n.emphasisItemStyle,v=n.blurItemStyle,h=n.selectItemStyle,f=n.focus,c=n.blurScope,p=n.labelStatesModels,g=n.hoverScale,m=n.cursorStyle,d=n.emphasisDisabled),!n||e.hasItemOption){var y=n&&n.itemModel?n.itemModel:e.getItemModel(a),_=y.getModel("emphasis");u=_.getModel("itemStyle").getItemStyle(),h=y.getModel(["select","itemStyle"]).getItemStyle(),v=y.getModel(["blur","itemStyle"]).getItemStyle(),f=_.get("focus"),c=_.get("blurScope"),d=_.get("disabled"),p=Cr(y),g=_.getShallow("scale"),m=y.getShallow("cursor")}var x=e.getItemVisual(a,"symbolRotate");s.attr("rotation",(x||0)*Math.PI/180||0);var S=Gs(e.getItemVisual(a,"symbolOffset"),i);S&&(s.x=S[0],s.y=S[1]),m&&s.attr("cursor",m);var b=e.getItemVisual(a,"style"),w=b.fill;if(s instanceof Dr){var A=s.style;s.useStyle(_e({image:A.image,x:A.x,y:A.y,width:A.width,height:A.height},b))}else s.__isEmptyBrush?s.useStyle(_e({},b)):s.useStyle(b),s.style.decal=null,s.setColor(w,o&&o.symbolInnerColor),s.style.strokeNoScale=!0;var T=e.getItemVisual(a,"liftZ"),C=this._z2;T!=null?C==null&&(this._z2=s.z2,s.z2+=T):C!=null&&(s.z2=C,this._z2=null);var M=o&&o.useNameLabel;Gr(s,p,{labelFetcher:l,labelDataIndex:a,defaultText:L,inheritColor:w,defaultOpacity:b.opacity});function L(I){return M?e.getName(I):jl(e,I)}this._sizeX=i[0]/2,this._sizeY=i[1]/2;var D=s.ensureState("emphasis");D.style=u,s.ensureState("select").style=h,s.ensureState("blur").style=v;var P=g==null||g===!0?Math.max(1.1,3/this._sizeY):isFinite(g)&&g>0?+g:1;D.scaleX=this._sizeX*P,D.scaleY=this._sizeY*P,this.setSymbolScale(1),tr(this,f,c,d)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,a,i){var n=this.childAt(0),o=Xe(this).dataIndex,s=i&&i.animation;if(this.silent=n.silent=!0,i&&i.fadeLabel){var l=n.getTextContent();l&&lo(l,{style:{opacity:0}},a,{dataIndex:o,removeOpt:s,cb:function(){n.removeTextContent()}})}else n.removeTextContent();lo(n,{style:{opacity:0},scaleX:0,scaleY:0},a,{dataIndex:o,cb:e,removeOpt:s})},t.getSymbolSize=function(e,a){return yu(e.getItemVisual(a,"symbolSize"))},t})(Ze);function Qte(r,t){this.parent.drift(r,t)}function Bm(r,t,e,a){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(a.isIgnore&&a.isIgnore(e))&&!(a.clipShape&&!a.clipShape.contain(t[0],t[1]))&&r.getItemVisual(e,"symbol")!=="none"}function f2(r){return r!=null&&!$e(r)&&(r={isIgnore:r}),r||{}}function c2(r){var t=r.hostModel,e=t.getModel("emphasis");return{emphasisItemStyle:e.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:e.get("focus"),blurScope:e.get("blurScope"),emphasisDisabled:e.get("disabled"),hoverScale:e.get("scale"),labelStatesModels:Cr(t),cursorStyle:t.get("cursor")}}var jh=(function(){function r(t){this.group=new Ze,this._SymbolCtor=t||Qh}return r.prototype.updateData=function(t,e){this._progressiveEls=null,e=f2(e);var a=this.group,i=t.hostModel,n=this._data,o=this._SymbolCtor,s=e.disableAnimation,l=c2(t),u={disableAnimation:s},v=e.getSymbolPoint||function(h){return t.getItemLayout(h)};n||a.removeAll(),t.diff(n).add(function(h){var f=v(h);if(Bm(t,f,h,e)){var c=new o(t,h,l,u);c.setPosition(f),t.setItemGraphicEl(h,c),a.add(c)}}).update(function(h,f){var c=n.getItemGraphicEl(f),d=v(h);if(!Bm(t,d,h,e)){a.remove(c);return}var p=t.getItemVisual(h,"symbol")||"circle",g=c&&c.getSymbolType&&c.getSymbolType();if(!c||g&&g!==p)a.remove(c),c=new o(t,h,l,u),c.setPosition(d);else{c.updateData(t,h,l,u);var m={x:d[0],y:d[1]};s?c.attr(m):wt(c,m,i)}a.add(c),t.setItemGraphicEl(h,c)}).remove(function(h){var f=n.getItemGraphicEl(h);f&&f.fadeOut(function(){a.remove(f)},i)}).execute(),this._getSymbolPoint=v,this._data=t},r.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl(function(a,i){var n=t._getSymbolPoint(i);a.setPosition(n),a.markRedraw()})},r.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=c2(t),this._data=null,this.group.removeAll()},r.prototype.incrementalUpdate=function(t,e,a){this._progressiveEls=[],a=f2(a);function i(l){l.isGroup||(l.incremental=!0,l.ensureState("emphasis").hoverLayer=!0)}for(var n=t.start;n0?e=a[0]:a[1]<0&&(e=a[1]),e}function T6(r,t,e,a){var i=NaN;r.stacked&&(i=e.get(e.getCalculationInfo("stackedOverDimension"),a)),isNaN(i)&&(i=r.valueStart);var n=r.baseDataOffset,o=[];return o[n]=e.get(r.baseDim,a),o[1-n]=i,t.dataToPoint(o)}function Jte(r,t){var e=[];return t.diff(r).add(function(a){e.push({cmd:"+",idx:a})}).update(function(a,i){e.push({cmd:"=",idx:i,idx1:a})}).remove(function(a){e.push({cmd:"-",idx:a})}).execute(),e}function ere(r,t,e,a,i,n,o,s){for(var l=Jte(r,t),u=[],v=[],h=[],f=[],c=[],d=[],p=[],g=w6(i,t,o),m=r.getLayout("points")||[],y=t.getLayout("points")||[],_=0;_=i||p<0)break;if(Ts(m,y)){if(l){p+=n;continue}break}if(p===e)r[n>0?"moveTo":"lineTo"](m,y),h=m,f=y;else{var _=m-u,x=y-v;if(_*_+x*x<.5){p+=n;continue}if(o>0){for(var S=p+n,b=t[S*2],w=t[S*2+1];b===m&&w===y&&g=a||Ts(b,w))c=m,d=y;else{C=b-u,M=w-v;var P=m-u,I=b-m,R=y-v,E=w-y,k=void 0,B=void 0;if(s==="x"){k=Math.abs(P),B=Math.abs(I);var F=C>0?1:-1;c=m-F*k*o,d=y,L=m+F*B*o,D=y}else if(s==="y"){k=Math.abs(R),B=Math.abs(E);var V=M>0?1:-1;c=m,d=y-V*k*o,L=m,D=y+V*B*o}else k=Math.sqrt(P*P+R*R),B=Math.sqrt(I*I+E*E),T=B/(B+k),c=m-C*o*(1-T),d=y-M*o*(1-T),L=m+C*o*T,D=y+M*o*T,L=Nn(L,zn(b,m)),D=Nn(D,zn(w,y)),L=zn(L,Nn(b,m)),D=zn(D,Nn(w,y)),C=L-m,M=D-y,c=m-C*k/B,d=y-M*k/B,c=Nn(c,zn(u,m)),d=Nn(d,zn(v,y)),c=zn(c,Nn(u,m)),d=zn(d,Nn(v,y)),C=m-c,M=y-d,L=m+C*B/k,D=y+M*B/k}r.bezierCurveTo(h,f,c,d,m,y),h=L,f=D}else r.lineTo(m,y)}u=m,v=y,p+=n}return g}var A6=(function(){function r(){this.smooth=0,this.smoothConstraint=!0}return r})(),tre=(function(r){he(t,r);function t(e){var a=r.call(this,e)||this;return a.type="ec-polyline",a}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new A6},t.prototype.buildPath=function(e,a){var i=a.points,n=0,o=i.length/2;if(a.connectNulls){for(;o>0&&Ts(i[o*2-2],i[o*2-1]);o--);for(;n=0){var x=u?(d-l)*_+l:(c-s)*_+s;return u?[e,x]:[x,e]}s=c,l=d;break;case o.C:c=n[h++],d=n[h++],p=n[h++],g=n[h++],m=n[h++],y=n[h++];var S=u?bd(s,c,p,m,e,v):bd(l,d,g,y,e,v);if(S>0)for(var b=0;b=0){var x=u?br(l,d,g,y,w):br(s,c,p,m,w);return u?[e,x]:[x,e]}}s=m,l=y;break}}},t})(ht),rre=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t})(A6),C6=(function(r){he(t,r);function t(e){var a=r.call(this,e)||this;return a.type="ec-polygon",a}return t.prototype.getDefaultShape=function(){return new rre},t.prototype.buildPath=function(e,a){var i=a.points,n=a.stackedOnPoints,o=0,s=i.length/2,l=a.smoothMonotone;if(a.connectNulls){for(;s>0&&Ts(i[s*2-2],i[s*2-1]);s--);for(;ot){n?e.push(o(n,l,t)):i&&e.push(o(i,l,0),o(i,l,t));break}else i&&(e.push(o(i,l,0)),i=null),e.push(l),n=l}return e}function nre(r,t,e){var a=r.getVisual("visualMeta");if(!(!a||!a.length||!r.count())&&t.type==="cartesian2d"){for(var i,n,o=a.length-1;o>=0;o--){var s=r.getDimensionInfo(a[o].dimension);if(i=s&&s.coordDim,i==="x"||i==="y"){n=a[o];break}}if(n){var l=t.getAxis(i),u=we(n.stops,function(_){return{coord:l.toGlobalCoord(l.dataToCoord(_.value)),color:_.color}}),v=u.length,h=n.outerColors.slice();v&&u[0].coord>u[v-1].coord&&(u.reverse(),h.reverse());var f=ire(u,i==="x"?e.getWidth():e.getHeight()),c=f.length;if(!c&&v)return u[0].coord<0?h[1]?h[1]:u[v-1].color:h[0]?h[0]:u[0].color;var d=10,p=f[0].coord-d,g=f[c-1].coord+d,m=g-p;if(m<.001)return"transparent";$(f,function(_){_.offset=(_.coord-p)/m}),f.push({offset:c?f[c-1].offset:.5,color:h[1]||"transparent"}),f.unshift({offset:c?f[0].offset:.5,color:h[0]||"transparent"});var y=new lu(0,0,0,0,f,!0);return y[i]=p,y[i+"2"]=g,y}}}function ore(r,t,e){var a=r.get("showAllSymbol"),i=a==="auto";if(!(a&&!i)){var n=e.getAxesByScale("ordinal")[0];if(n&&!(i&&sre(n,t))){var o=t.mapDimension(n.dim),s={};return $(n.getViewLabels(),function(l){var u=n.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(t.get(o,l))}}}}function sre(r,t){var e=r.getExtent(),a=Math.abs(e[1]-e[0])/r.scale.count();isNaN(a)&&(a=0);for(var i=t.count(),n=Math.max(1,Math.round(i/5)),o=0;oa)return!1;return!0}function lre(r,t){return isNaN(r)||isNaN(t)}function ure(r){for(var t=r.length/2;t>0&&lre(r[t*2-2],r[t*2-1]);t--);return t-1}function y2(r,t){return[r[t*2],r[t*2+1]]}function vre(r,t,e){for(var a=r.length/2,i=e==="x"?0:1,n,o,s=0,l=-1,u=0;u=t||n>=t&&o<=t){l=u;break}s=u,n=o}return{range:[s,l],t:(t-n)/(o-n)}}function L6(r){if(r.get(["endLabel","show"]))return!0;for(var t=0;t0&&e.get(["emphasis","lineStyle","width"])==="bolder"){var B=d.getState("emphasis").style;B.lineWidth=+d.style.lineWidth+1}Xe(d).seriesIndex=e.seriesIndex,tr(d,R,E,k);var F=m2(e.get("smooth")),V=e.get("smoothMonotone");if(d.setShape({smooth:F,smoothMonotone:V,connectNulls:w}),p){var N=s.getCalculationInfo("stackedOnSeries"),O=0;p.useStyle(Ue(u.getAreaStyle(),{fill:L,opacity:.7,lineJoin:"bevel",decal:s.getVisual("style").decal})),N&&(O=m2(N.get("smooth"))),p.setShape({smooth:F,stackedOnSmooth:O,smoothMonotone:V,connectNulls:w}),Vr(p,e,"areaStyle"),Xe(p).seriesIndex=e.seriesIndex,tr(p,R,E,k)}var z=this._changePolyState;s.eachItemGraphicEl(function(G){G&&(G.onHoverStateChange=z)}),this._polyline.onHoverStateChange=z,this._data=s,this._coordSys=n,this._stackedOnPoints=S,this._points=v,this._step=C,this._valueOrigin=_,e.get("triggerLineEvent")&&(this.packEventData(e,d),p&&this.packEventData(e,p))},t.prototype.packEventData=function(e,a){Xe(a).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},t.prototype.highlight=function(e,a,i,n){var o=e.getData(),s=Ds(o,n);if(this._changePolyState("emphasis"),!(s instanceof Array)&&s!=null&&s>=0){var l=o.getLayout("points"),u=o.getItemGraphicEl(s);if(!u){var v=l[s*2],h=l[s*2+1];if(isNaN(v)||isNaN(h)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(v,h))return;var f=e.get("zlevel")||0,c=e.get("z")||0;u=new Qh(o,s),u.x=v,u.y=h,u.setZ(f,c);var d=u.getSymbolPath().getTextContent();d&&(d.zlevel=f,d.z=c,d.z2=this._polyline.z2+1),u.__temp=!0,o.setItemGraphicEl(s,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else kt.prototype.highlight.call(this,e,a,i,n)},t.prototype.downplay=function(e,a,i,n){var o=e.getData(),s=Ds(o,n);if(this._changePolyState("normal"),s!=null&&s>=0){var l=o.getItemGraphicEl(s);l&&(l.__temp?(o.setItemGraphicEl(s,null),this.group.remove(l)):l.downplay())}else kt.prototype.downplay.call(this,e,a,i,n)},t.prototype._changePolyState=function(e){var a=this._polygon;Ld(this._polyline,e),a&&Ld(a,e)},t.prototype._newPolyline=function(e){var a=this._polyline;return a&&this._lineGroup.remove(a),a=new tre({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(a),this._polyline=a,a},t.prototype._newPolygon=function(e,a){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new C6({shape:{points:e,stackedOnPoints:a},segmentIgnoreThreshold:2}),this._lineGroup.add(i),this._polygon=i,i},t.prototype._initSymbolLabelAnimation=function(e,a,i){var n,o,s=a.getBaseAxis(),l=s.inverse;a.type==="cartesian2d"?(n=s.isHorizontal(),o=!1):a.type==="polar"&&(n=s.dim==="angle",o=!0);var u=e.hostModel,v=u.get("animationDuration");He(v)&&(v=v(null));var h=u.get("animationDelay")||0,f=He(h)?h(null):h;e.eachItemGraphicEl(function(c,d){var p=c;if(p){var g=[c.x,c.y],m=void 0,y=void 0,_=void 0;if(i)if(o){var x=i,S=a.pointToCoord(g);n?(m=x.startAngle,y=x.endAngle,_=-S[1]/180*Math.PI):(m=x.r0,y=x.r,_=S[0])}else{var b=i;n?(m=b.x,y=b.x+b.width,_=c.x):(m=b.y+b.height,y=b.y,_=c.y)}var w=y===m?0:(_-m)/(y-m);l&&(w=1-w);var A=He(h)?h(d):v*w+f,T=p.getSymbolPath(),C=T.getTextContent();p.attr({scaleX:0,scaleY:0}),p.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:A}),C&&C.animateFrom({style:{opacity:0}},{duration:300,delay:A}),T.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(e,a,i){var n=e.getModel("endLabel");if(L6(e)){var o=e.getData(),s=this._polyline,l=o.getLayout("points");if(!l){s.removeTextContent(),this._endLabel=null;return}var u=this._endLabel;u||(u=this._endLabel=new pt({z2:200}),u.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var v=ure(l);v>=0&&(Gr(s,Cr(e,"endLabel"),{inheritColor:i,labelFetcher:e,labelDataIndex:v,defaultText:function(h,f,c){return c!=null?b6(o,c):jl(o,h)},enableTextSetter:!0},hre(n,a)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,a,i,n,o,s,l){var u=this._endLabel,v=this._polyline;if(u){e<1&&n.originalX==null&&(n.originalX=u.x,n.originalY=u.y);var h=i.getLayout("points"),f=i.hostModel,c=f.get("connectNulls"),d=s.get("precision"),p=s.get("distance")||0,g=l.getBaseAxis(),m=g.isHorizontal(),y=g.inverse,_=a.shape,x=y?m?_.x:_.y+_.height:m?_.x+_.width:_.y,S=(m?p:0)*(y?-1:1),b=(m?0:-p)*(y?-1:1),w=m?"x":"y",A=vre(h,x,w),T=A.range,C=T[1]-T[0],M=void 0;if(C>=1){if(C>1&&!c){var L=y2(h,T[0]);u.attr({x:L[0]+S,y:L[1]+b}),o&&(M=f.getRawValue(T[0]))}else{var L=v.getPointOn(x,w);L&&u.attr({x:L[0]+S,y:L[1]+b});var D=f.getRawValue(T[0]),P=f.getRawValue(T[1]);o&&(M=Cq(i,d,D,P,A.t))}n.lastFrameIndex=T[0]}else{var I=e===1||n.lastFrameIndex>0?T[0]:0,L=y2(h,I);o&&(M=f.getRawValue(I)),u.attr({x:L[0]+S,y:L[1]+b})}if(o){var R=hu(u);typeof R.setLabelText=="function"&&R.setLabelText(M)}}},t.prototype._doUpdateAnimation=function(e,a,i,n,o,s,l){var u=this._polyline,v=this._polygon,h=e.hostModel,f=ere(this._data,e,this._stackedOnPoints,a,this._coordSys,i,this._valueOrigin),c=f.current,d=f.stackedOnCurrent,p=f.next,g=f.stackedOnNext;if(o&&(d=Bn(f.stackedOnCurrent,f.current,i,o,l),c=Bn(f.current,null,i,o,l),g=Bn(f.stackedOnNext,f.next,i,o,l),p=Bn(f.next,null,i,o,l)),g2(c,p)>3e3||v&&g2(d,g)>3e3){u.stopAnimation(),u.setShape({points:p}),v&&(v.stopAnimation(),v.setShape({points:p,stackedOnPoints:g}));return}u.shape.__points=f.current,u.shape.points=c;var m={shape:{points:p}};f.current!==c&&(m.shape.__points=f.next),u.stopAnimation(),wt(u,m,h),v&&(v.setShape({points:c,stackedOnPoints:d}),v.stopAnimation(),wt(v,{shape:{stackedOnPoints:g}},h),u.shape.points!==v.shape.points&&(v.shape.points=u.shape.points));for(var y=[],_=f.status,x=0;x<_.length;x++){var S=_[x].cmd;if(S==="="){var b=e.getItemGraphicEl(_[x].idx1);b&&y.push({el:b,ptIdx:x})}}u.animators&&u.animators.length&&u.animators[0].during(function(){v&&v.dirtyShape();for(var w=u.shape.__points,A=0;At&&(t=r[e]);return isFinite(t)?t:NaN},min:function(r){for(var t=1/0,e=0;e10&&o.type==="cartesian2d"&&n){var l=o.getBaseAxis(),u=o.getOtherAxis(l),v=l.getExtent(),h=a.getDevicePixelRatio(),f=Math.abs(v[1]-v[0])*(h||1),c=Math.round(s/f);if(isFinite(c)&&c>1){n==="lttb"?t.setData(i.lttbDownSample(i.mapDimension(u.dim),1/c)):n==="minmax"&&t.setData(i.minmaxDownSample(i.mapDimension(u.dim),1/c));var d=void 0;Re(n)?d=cre[n]:He(n)&&(d=n),d&&t.setData(i.downSample(i.mapDimension(u.dim),1/c,d,dre))}}}}}function pre(r){r.registerChartView(fre),r.registerSeriesModel(Kte),r.registerLayout(ef("line",!0)),r.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),a=t.getModel("lineStyle").getLineStyle();a&&!a.stroke&&(a.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",a)}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,I6("line"))}var Ah=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(e,a){return Qi(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(e,a,i){var n=this.coordinateSystem;if(n&&n.clampData){var o=n.clampData(e),s=n.dataToPoint(o);if(i)$(n.getAxes(),function(f,c){if(f.type==="category"&&a!=null){var d=f.getTicksCoords(),p=f.getTickModel().get("alignWithLabel"),g=o[c],m=a[c]==="x1"||a[c]==="y1";if(m&&!p&&(g+=1),d.length<2)return;if(d.length===2){s[c]=f.toGlobalCoord(f.getExtent()[m?1:0]);return}for(var y=void 0,_=void 0,x=1,S=0;Sg){_=(b+y)/2;break}S===1&&(x=w-d[0].tickValue)}_==null&&(y?y&&(_=d[d.length-1].coord):_=d[0].coord),s[c]=f.toGlobalCoord(_)}});else{var l=this.getData(),u=l.getLayout("offset"),v=l.getLayout("size"),h=n.getBaseAxis().isHorizontal()?0:1;s[h]+=u+v/2}return s}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t})(zt);zt.registerClass(Ah);var gre=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(){return Qi(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},t.prototype.getProgressiveThreshold=function(){var e=this.get("progressiveThreshold"),a=this.get("largeThreshold");return a>e&&(e=a),e},t.prototype.brushSelector=function(e,a,i){return i.rect(a.getItemLayout(e))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=go(Ah.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t})(Ah),mre=(function(){function r(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return r})(),Xd=(function(r){he(t,r);function t(e){var a=r.call(this,e)||this;return a.type="sausage",a}return t.prototype.getDefaultShape=function(){return new mre},t.prototype.buildPath=function(e,a){var i=a.cx,n=a.cy,o=Math.max(a.r0||0,0),s=Math.max(a.r,0),l=(s-o)*.5,u=o+l,v=a.startAngle,h=a.endAngle,f=a.clockwise,c=Math.PI*2,d=f?h-vMath.PI/2&&vs)return!0;s=h}return!1},t.prototype._isOrderDifferentInView=function(e,a){for(var i=a.scale,n=i.getExtent(),o=Math.max(0,n[0]),s=Math.min(n[1],i.getOrdinalMeta().categories.length-1);o<=s;++o)if(e.ordinalNumbers[o]!==i.getRawOrdinalNumber(o))return!0},t.prototype._updateSortWithinSameData=function(e,a,i,n){if(this._isOrderChangedWithinSameData(e,a,i)){var o=this._dataSort(e,i,a);this._isOrderDifferentInView(o,i)&&(this._removeOnRenderedListener(n),n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",axisId:i.index,sortInfo:o}))}},t.prototype._dispatchInitSort=function(e,a,i){var n=a.baseAxis,o=this._dataSort(e,n,function(s){return e.get(e.mapDimension(a.otherAxis.dim),s)});i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",isInitSort:!0,axisId:n.index,sortInfo:o})},t.prototype.remove=function(e,a){this._clear(this._model),this._removeOnRenderedListener(a)},t.prototype.dispose=function(e,a){this._removeOnRenderedListener(a)},t.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(e){var a=this.group,i=this._data;e&&e.isAnimationEnabled()&&i&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],i.eachItemGraphicEl(function(n){mh(n,e,Xe(n).dataIndex)})):a.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t})(kt),_2={cartesian2d:function(r,t){var e=t.width<0?-1:1,a=t.height<0?-1:1;e<0&&(t.x+=t.width,t.width=-t.width),a<0&&(t.y+=t.height,t.height=-t.height);var i=r.x+r.width,n=r.y+r.height,o=Gm(t.x,r.x),s=Fm(t.x+t.width,i),l=Gm(t.y,r.y),u=Fm(t.y+t.height,n),v=si?s:o,t.y=h&&l>n?u:l,t.width=v?0:s-o,t.height=h?0:u-l,e<0&&(t.x+=t.width,t.width=-t.width),a<0&&(t.y+=t.height,t.height=-t.height),v||h},polar:function(r,t){var e=t.r0<=t.r?1:-1;if(e<0){var a=t.r;t.r=t.r0,t.r0=a}var i=Fm(t.r,r.r),n=Gm(t.r0,r.r0);t.r=i,t.r0=n;var o=i-n<0;if(e<0){var a=t.r;t.r=t.r0,t.r0=a}return o}},x2={cartesian2d:function(r,t,e,a,i,n,o,s,l){var u=new gt({shape:_e({},a),z2:1});if(u.__dataIndex=e,u.name="item",n){var v=u.shape,h=i?"height":"width";v[h]=0}return u},polar:function(r,t,e,a,i,n,o,s,l){var u=!i&&l?Xd:Qr,v=new u({shape:a,z2:1});v.name="item";var h=P6(i);if(v.calculateTextPosition=yre(h,{isRoundCap:u===Xd}),n){var f=v.shape,c=i?"r":"endAngle",d={};f[c]=i?a.r0:a.startAngle,d[c]=a[c],(s?wt:$t)(v,{shape:d},n)}return v}};function bre(r,t){var e=r.get("realtimeSort",!0),a=t.getBaseAxis();if(e&&a.type==="category"&&t.type==="cartesian2d")return{baseAxis:a,otherAxis:t.getOtherAxis(a)}}function S2(r,t,e,a,i,n,o,s){var l,u;n?(u={x:a.x,width:a.width},l={y:a.y,height:a.height}):(u={y:a.y,height:a.height},l={x:a.x,width:a.width}),s||(o?wt:$t)(e,{shape:l},t,i,null);var v=t?r.baseAxis.model:null;(o?wt:$t)(e,{shape:u},v,i)}function b2(r,t){for(var e=0;e0?1:-1,o=a.height>0?1:-1;return{x:a.x+n*i/2,y:a.y+o*i/2,width:a.width-n*i,height:a.height-o*i}},polar:function(r,t,e){var a=r.getItemLayout(t);return{cx:a.cx,cy:a.cy,r0:a.r0,r:a.r,startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}}};function Are(r){return r.startAngle!=null&&r.endAngle!=null&&r.startAngle===r.endAngle}function P6(r){return(function(t){var e=t?"Arc":"Angle";return function(a){switch(a){case"start":case"insideStart":case"end":case"insideEnd":return a+e;default:return a}}})(r)}function T2(r,t,e,a,i,n,o,s){var l=t.getItemVisual(e,"style");if(s){if(!n.get("roundCap")){var v=r.shape,h=ys(a.getModel("itemStyle"),v,!0);_e(v,h),r.setShape(v)}}else{var u=a.get(["itemStyle","borderRadius"])||0;r.setShape("r",u)}r.useStyle(l);var f=a.getShallow("cursor");f&&r.attr("cursor",f);var c=s?o?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":o?i.height>=0?"bottom":"top":i.width>=0?"right":"left",d=Cr(a);Gr(r,d,{labelFetcher:n,labelDataIndex:e,defaultText:jl(n.getData(),e),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:c});var p=r.getTextContent();if(s&&p){var g=a.get(["label","position"]);r.textConfig.inside=g==="middle"?!0:null,_re(r,g==="outside"?c:g,P6(o),a.get(["label","rotate"]))}vW(p,d,n.getRawValue(e),function(y){return b6(t,y)});var m=a.getModel(["emphasis"]);tr(r,m.get("focus"),m.get("blurScope"),m.get("disabled")),Vr(r,a),Are(i)&&(r.style.fill="none",r.style.stroke="none",$(r.states,function(y){y.style&&(y.style.fill=y.style.stroke="none")}))}function Cre(r,t){var e=r.get(["itemStyle","borderColor"]);if(!e||e==="none")return 0;var a=r.get(["itemStyle","borderWidth"])||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),n=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(a,i,n)}var Mre=(function(){function r(){}return r})(),A2=(function(r){he(t,r);function t(e){var a=r.call(this,e)||this;return a.type="largeBar",a}return t.prototype.getDefaultShape=function(){return new Mre},t.prototype.buildPath=function(e,a){for(var i=a.points,n=this.baseDimIdx,o=1-this.baseDimIdx,s=[],l=[],u=this.barWidth,v=0;v=0?e:null},30,!1);function Dre(r,t,e){for(var a=r.baseDimIdx,i=1-a,n=r.shape.points,o=r.largeDataIndices,s=[],l=[],u=r.barWidth,v=0,h=n.length/3;v=s[0]&&t<=s[0]+l[0]&&e>=s[1]&&e<=s[1]+l[1])return o[v]}return-1}function R6(r,t,e){if(Fs(e,"cartesian2d")){var a=t,i=e.getArea();return{x:r?a.x:i.x,y:r?i.y:a.y,width:r?a.width:i.width,height:r?i.height:a.height}}else{var i=e.getArea(),n=t;return{cx:i.cx,cy:i.cy,r0:r?i.r0:n.r0,r:r?i.r:n.r,startAngle:r?n.startAngle:0,endAngle:r?n.endAngle:Math.PI*2}}}function Lre(r,t,e){var a=r.type==="polar"?Qr:gt;return new a({shape:R6(t,e,r),silent:!0,z2:0})}function Ire(r){r.registerChartView(Sre),r.registerSeriesModel(gre),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,et(QU,"bar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,jU("bar")),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,I6("bar")),r.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,e){var a=t.componentType||"series";e.eachComponent({mainType:a,query:t},function(i){t.sortInfo&&i.axis.setCategorySortInfo(t.sortInfo)})})}var D2=Math.PI*2,sc=Math.PI/180;function E6(r,t){return dr(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function k6(r,t){var e=E6(r,t),a=r.get("center"),i=r.get("radius");Se(i)||(i=[0,i]);var n=Ie(e.width,t.getWidth()),o=Ie(e.height,t.getHeight()),s=Math.min(n,o),l=Ie(i[0],s/2),u=Ie(i[1],s/2),v,h,f=r.coordinateSystem;if(f){var c=f.dataToPoint(a);v=c[0]||0,h=c[1]||0}else Se(a)||(a=[a,a]),v=Ie(a[0],n)+e.x,h=Ie(a[1],o)+e.y;return{cx:v,cy:h,r0:l,r:u}}function Pre(r,t,e){t.eachSeriesByType(r,function(a){var i=a.getData(),n=i.mapDimension("value"),o=E6(a,e),s=k6(a,e),l=s.cx,u=s.cy,v=s.r,h=s.r0,f=-a.get("startAngle")*sc,c=a.get("endAngle"),d=a.get("padAngle")*sc;c=c==="auto"?f-D2:-c*sc;var p=a.get("minAngle")*sc,g=p+d,m=0;i.each(n,function(E){!isNaN(E)&&m++});var y=i.getSum(n),_=Math.PI/(y||m)*2,x=a.get("clockwise"),S=a.get("roseType"),b=a.get("stillShowZeroSum"),w=i.getDataExtent(n);w[0]=0;var A=x?1:-1,T=[f,c],C=A*d/2;XA(T,!x),f=T[0],c=T[1];var M=O6(a);M.startAngle=f,M.endAngle=c,M.clockwise=x;var L=Math.abs(c-f),D=L,P=0,I=f;if(i.setLayout({viewRect:o,r:v}),i.each(n,function(E,k){var B;if(isNaN(E)){i.setItemLayout(k,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:x,cx:l,cy:u,r0:h,r:S?NaN:v});return}S!=="area"?B=y===0&&b?_:E*_:B=L/m,BB?(V=I+A*B/2,N=V):(V=I+C,N=F-C),i.setItemLayout(k,{angle:B,startAngle:V,endAngle:N,clockwise:x,cx:l,cy:u,r0:h,r:S?Pt(E,w,[h,v]):v}),I=F}),De?m:g,S=Math.abs(_.label.y-e);if(S>=x.maxY){var b=_.label.x-t-_.len2*i,w=a+_.len,A=Math.abs(b)r.unconstrainedWidth?null:c:null;a.setStyle("width",d)}var p=a.getBoundingRect();n.width=p.width;var g=(a.style.margin||0)+2.1;n.height=p.height+g,n.y-=(n.height-h)/2}}}function Hm(r){return r.position==="center"}function kre(r){var t=r.getData(),e=[],a,i,n=!1,o=(r.get("minShowLabelAngle")||0)*Rre,s=t.getLayout("viewRect"),l=t.getLayout("r"),u=s.width,v=s.x,h=s.y,f=s.height;function c(b){b.ignore=!0}function d(b){if(!b.ignore)return!0;for(var w in b.states)if(b.states[w].ignore===!1)return!0;return!1}t.each(function(b){var w=t.getItemGraphicEl(b),A=w.shape,T=w.getTextContent(),C=w.getTextGuideLine(),M=t.getItemModel(b),L=M.getModel("label"),D=L.get("position")||M.get(["emphasis","label","position"]),P=L.get("distanceToLabelLine"),I=L.get("alignTo"),R=Ie(L.get("edgeDistance"),u),E=L.get("bleedMargin"),k=M.getModel("labelLine"),B=k.get("length");B=Ie(B,u);var F=k.get("length2");if(F=Ie(F,u),Math.abs(A.endAngle-A.startAngle)0?"right":"left":N>0?"left":"right"}var te=Math.PI,Z=0,ee=L.get("rotate");if(bt(ee))Z=ee*(te/180);else if(D==="center")Z=0;else if(ee==="radial"||ee===!0){var le=N<0?-V+te:-V;Z=le}else if(ee==="tangential"&&D!=="outside"&&D!=="outer"){var oe=Math.atan2(N,O);oe<0&&(oe=te*2+oe);var fe=O>0;fe&&(oe=te+oe),Z=oe-te}if(n=!!Z,T.x=z,T.y=G,T.rotation=Z,T.setStyle({verticalAlign:"middle"}),U){T.setStyle({align:H});var ye=T.states.select;ye&&(ye.x+=T.x,ye.y+=T.y)}else{var se=T.getBoundingRect().clone();se.applyTransform(T.getComputedTransform());var ve=(T.style.margin||0)+2.1;se.y-=ve/2,se.height+=ve,e.push({label:T,labelLine:C,position:D,len:B,len2:F,minTurnAngle:k.get("minTurnAngle"),maxSurfaceAngle:k.get("maxSurfaceAngle"),surfaceNormal:new rt(N,O),linePoints:q,textAlign:H,labelDistance:P,labelAlignTo:I,edgeDistance:R,bleedMargin:E,rect:se,unconstrainedWidth:se.width,labelStyleWidth:T.style.width})}w.setTextConfig({inside:U})}}),!n&&r.get("avoidLabelOverlap")&&Ere(e,a,i,l,u,f,v,h);for(var p=0;p0){for(var v=o.getItemLayout(0),h=1;isNaN(v&&v.startAngle)&&h=n.r0}},t.type="pie",t})(kt);function bu(r,t,e){t=Se(t)&&{coordDimensions:t}||_e({encodeDefine:r.getEncode()},t);var a=r.getSource(),i=_u(a,t).dimensions,n=new Xr(i,r);return n.initData(a,e),n}var rf=(function(){function r(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return r.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},r.prototype.containName=function(t){var e=this._getRawData();return e.indexOfName(t)>=0},r.prototype.indexOfName=function(t){var e=this._getDataWithEncodedVisual();return e.indexOfName(t)},r.prototype.getItemVisual=function(t,e){var a=this._getDataWithEncodedVisual();return a.getItemVisual(t,e)},r})(),zre=yt(),Bre=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.init=function(e){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new rf(Ne(this.getData,this),Ne(this.getRawData,this)),this._defaultLabelLine(e)},t.prototype.mergeOption=function(){r.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return bu(this,{coordDimensions:["value"],encodeDefaulter:et(yC,this)})},t.prototype.getDataParams=function(e){var a=this.getData(),i=zre(a),n=i.seats;if(!n){var o=[];a.each(a.mapDimension("value"),function(l){o.push(l)}),n=i.seats=mq(o,a.hostModel.get("percentPrecision"))}var s=r.prototype.getDataParams.call(this,e);return s.percent=n[e]||0,s.$vars.push("percent"),s},t.prototype._defaultLabelLine=function(e){Ms(e,"labelLine",["show"]);var a=e.labelLine,i=e.emphasis.labelLine;a.show=a.show&&e.label.show,i.show=i.show&&e.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t})(zt);function Vre(r){return{seriesType:r,reset:function(t,e){var a=t.getData();a.filterSelf(function(i){var n=a.mapDimension("value"),o=a.get(n,i);return!(bt(o)&&!isNaN(o)&&o<0)})}}}function Gre(r){r.registerChartView(Nre),r.registerSeriesModel(Bre),cU("pie",r.registerAction),r.registerLayout(et(Pre,"pie")),r.registerProcessor(tf("pie")),r.registerProcessor(Vre("pie"))}var Fre=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return t.prototype.getInitialData=function(e,a){return Qi(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var e=this.option.progressive;return e==null?this.option.large?5e3:this.get("progressive"):e},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return e==null?this.option.large?1e4:this.get("progressiveThreshold"):e},t.prototype.brushSelector=function(e,a,i){return i.point(a.getItemLayout(e))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},t})(zt),z6=4,Hre=(function(){function r(){}return r})(),qre=(function(r){he(t,r);function t(e){var a=r.call(this,e)||this;return a._off=0,a.hoverDataIdx=-1,a}return t.prototype.getDefaultShape=function(){return new Hre},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(e,a){var i=a.points,n=a.size,o=this.symbolProxy,s=o.shape,l=e.getContext?e.getContext():e,u=l&&n[0]=0;u--){var v=u*2,h=n[v]-s/2,f=n[v+1]-l/2;if(e>=h&&a>=f&&e<=h+s&&a<=f+l)return u}return-1},t.prototype.contain=function(e,a){var i=this.transformCoordToLocal(e,a),n=this.getBoundingRect();if(e=i[0],a=i[1],n.contain(e,a)){var o=this.hoverDataIdx=this.findDataIndex(e,a);return o>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var a=this.shape,i=a.points,n=a.size,o=n[0],s=n[1],l=1/0,u=1/0,v=-1/0,h=-1/0,f=0;f=0&&(u.dataIndex=h+(t.startIndex||0))})},r.prototype.remove=function(){this._clear()},r.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},r})(),Ure=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,a,i){var n=e.getData(),o=this._updateSymbolDraw(n,e);o.updateData(n,{clipShape:this._getClipShape(e)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(e,a,i){var n=e.getData(),o=this._updateSymbolDraw(n,e);o.incrementalPrepareUpdate(n),this._finished=!1},t.prototype.incrementalRender=function(e,a,i){this._symbolDraw.incrementalUpdate(e,a.getData(),{clipShape:this._getClipShape(a)}),this._finished=e.end===a.getData().count()},t.prototype.updateTransform=function(e,a,i){var n=e.getData();if(this.group.dirty(),!this._finished||n.count()>1e4)return{update:!0};var o=ef("").reset(e,a,i);o.progress&&o.progress({start:0,end:n.count(),count:n.count()},n),this._symbolDraw.updateLayout(n)},t.prototype.eachRendered=function(e){this._symbolDraw&&this._symbolDraw.eachRendered(e)},t.prototype._getClipShape=function(e){if(e.get("clip",!0)){var a=e.coordinateSystem;return a&&a.getArea&&a.getArea(.1)}},t.prototype._updateSymbolDraw=function(e,a){var i=this._symbolDraw,n=a.pipelineContext,o=n.large;return(!i||o!==this._isLargeDraw)&&(i&&i.remove(),i=this._symbolDraw=o?new Wre:new jh,this._isLargeDraw=o,this.group.removeAll()),this.group.add(i.group),i},t.prototype.remove=function(e,a){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t})(kt),$re=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},t})(ut),NT=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",cr).models[0]},t.type="cartesian2dAxis",t})(ut);nr(NT,Su);var B6={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},Yre=tt({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},B6),$C=tt({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},B6),Zre=tt({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},$C),Xre=Ue({logBase:10},$C);const V6={category:Yre,value:$C,time:Zre,log:Xre};var Kre={value:1,category:1,time:1,log:1};function Jl(r,t,e,a){$(Kre,function(i,n){var o=tt(tt({},V6[n],!0),a,!0),s=(function(l){he(u,l);function u(){var v=l!==null&&l.apply(this,arguments)||this;return v.type=t+"Axis."+n,v}return u.prototype.mergeDefaultAndTheme=function(v,h){var f=_h(this),c=f?cu(v):{},d=h.getTheme();tt(v,d.get(n+"Axis")),tt(v,this.getDefaultOption()),v.type=I2(v),f&&uo(v,c,f)},u.prototype.optionUpdated=function(){var v=this.option;v.type==="category"&&(this.__ordinalMeta=PT.createByAxisModel(this))},u.prototype.getCategories=function(v){var h=this.option;if(h.type==="category")return v?h.data:this.__ordinalMeta.categories},u.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},u.type=t+"Axis."+n,u.defaultOption=o,u})(e);r.registerComponentModel(s)}),r.registerSubTypeDefaulter(t+"Axis",I2)}function I2(r){return r.type||(r.data?"category":"value")}var Qre=(function(){function r(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return r.prototype.getAxis=function(t){return this._axes[t]},r.prototype.getAxes=function(){return we(this._dimList,function(t){return this._axes[t]},this)},r.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),Ct(this.getAxes(),function(e){return e.scale.type===t})},r.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},r})(),zT=["x","y"];function P2(r){return r.type==="interval"||r.type==="time"}var jre=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=zT,e}return t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e=this.getAxis("x").scale,a=this.getAxis("y").scale;if(!(!P2(e)||!P2(a))){var i=e.getExtent(),n=a.getExtent(),o=this.dataToPoint([i[0],n[0]]),s=this.dataToPoint([i[1],n[1]]),l=i[1]-i[0],u=n[1]-n[0];if(!(!l||!u)){var v=(s[0]-o[0])/l,h=(s[1]-o[1])/u,f=o[0]-i[0]*v,c=o[1]-n[0]*h,d=this._transform=[v,0,0,h,f,c];this._invTransform=Ns([],d)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(e){var a=this.getAxis("x"),i=this.getAxis("y");return a.contain(a.toLocalCoord(e[0]))&&i.contain(i.toLocalCoord(e[1]))},t.prototype.containData=function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},t.prototype.containZone=function(e,a){var i=this.dataToPoint(e),n=this.dataToPoint(a),o=this.getArea(),s=new at(i[0],i[1],n[0]-i[0],n[1]-i[1]);return o.intersect(s)},t.prototype.dataToPoint=function(e,a,i){i=i||[];var n=e[0],o=e[1];if(this._transform&&n!=null&&isFinite(n)&&o!=null&&isFinite(o))return Or(i,e,this._transform);var s=this.getAxis("x"),l=this.getAxis("y");return i[0]=s.toGlobalCoord(s.dataToCoord(n,a)),i[1]=l.toGlobalCoord(l.dataToCoord(o,a)),i},t.prototype.clampData=function(e,a){var i=this.getAxis("x").scale,n=this.getAxis("y").scale,o=i.getExtent(),s=n.getExtent(),l=i.parse(e[0]),u=n.parse(e[1]);return a=a||[],a[0]=Math.min(Math.max(Math.min(o[0],o[1]),l),Math.max(o[0],o[1])),a[1]=Math.min(Math.max(Math.min(s[0],s[1]),u),Math.max(s[0],s[1])),a},t.prototype.pointToData=function(e,a){var i=[];if(this._invTransform)return Or(i,e,this._invTransform);var n=this.getAxis("x"),o=this.getAxis("y");return i[0]=n.coordToData(n.toLocalCoord(e[0]),a),i[1]=o.coordToData(o.toLocalCoord(e[1]),a),i},t.prototype.getOtherAxis=function(e){return this.getAxis(e.dim==="x"?"y":"x")},t.prototype.getArea=function(e){e=e||0;var a=this.getAxis("x").getGlobalExtent(),i=this.getAxis("y").getGlobalExtent(),n=Math.min(a[0],a[1])-e,o=Math.min(i[0],i[1])-e,s=Math.max(a[0],a[1])-n+e,l=Math.max(i[0],i[1])-o+e;return new at(n,o,s,l)},t})(Qre),Jre=(function(r){he(t,r);function t(e,a,i,n,o){var s=r.call(this,e,a,i)||this;return s.index=0,s.type=n||"value",s.position=o||"bottom",s}return t.prototype.isHorizontal=function(){var e=this.position;return e==="top"||e==="bottom"},t.prototype.getGlobalExtent=function(e){var a=this.getExtent();return a[0]=this.toGlobalCoord(a[0]),a[1]=this.toGlobalCoord(a[1]),e&&a[0]>a[1]&&a.reverse(),a},t.prototype.pointToData=function(e,a){return this.coordToData(this.toLocalCoord(e[this.dim==="x"?0:1]),a)},t.prototype.setCategorySortInfo=function(e){if(this.type!=="category")return!1;this.model.option.categorySortInfo=e,this.scale.setSortInfo(e)},t})(Ja);function BT(r,t,e){e=e||{};var a=r.coordinateSystem,i=t.axis,n={},o=i.getAxesOnZeroOf()[0],s=i.position,l=o?"onZero":s,u=i.dim,v=a.getRect(),h=[v.x,v.x+v.width,v.y,v.y+v.height],f={left:0,right:1,top:0,bottom:1,onZero:2},c=t.get("offset")||0,d=u==="x"?[h[2]-c,h[3]+c]:[h[0]-c,h[1]+c];if(o){var p=o.toGlobalCoord(o.dataToCoord(0));d[f.onZero]=Math.max(Math.min(p,d[1]),d[0])}n.position=[u==="y"?d[f[l]]:h[0],u==="x"?d[f[l]]:h[3]],n.rotation=Math.PI/2*(u==="x"?0:1);var g={top:-1,bottom:1,left:-1,right:1};n.labelDirection=n.tickDirection=n.nameDirection=g[s],n.labelOffset=o?d[f[s]]-d[f.onZero]:0,t.get(["axisTick","inside"])&&(n.tickDirection=-n.tickDirection),wr(e.labelInside,t.get(["axisLabel","inside"]))&&(n.labelDirection=-n.labelDirection);var m=t.get(["axisLabel","rotate"]);return n.labelRotate=l==="top"?-m:m,n.z2=1,n}function R2(r){return r.get("coordinateSystem")==="cartesian2d"}function E2(r){var t={xAxisModel:null,yAxisModel:null};return $(t,function(e,a){var i=a.replace(/Model$/,""),n=r.getReferringComponents(i,cr).models[0];t[a]=n}),t}var qm=Math.log;function G6(r,t,e){var a=Tn.prototype,i=a.getTicks.call(e),n=a.getTicks.call(e,!0),o=i.length-1,s=a.getInterval.call(e),l=a6(r,t),u=l.extent,v=l.fixMin,h=l.fixMax;if(r.type==="log"){var f=qm(r.base);u=[qm(u[0])/f,qm(u[1])/f]}r.setExtent(u[0],u[1]),r.calcNiceExtent({splitNumber:o,fixMin:v,fixMax:h});var c=a.getExtent.call(r);v&&(u[0]=c[0]),h&&(u[1]=c[1]);var d=a.getInterval.call(r),p=u[0],g=u[1];if(v&&h)d=(g-p)/o;else if(v)for(g=u[0]+d*o;gu[0]&&isFinite(p)&&isFinite(u[0]);)d=Rm(d),p=u[1]-d*o;else{var m=r.getTicks().length-1;m>o&&(d=Rm(d));var y=d*o;g=Math.ceil(u[1]/d)*d,p=ar(g-y),p<0&&u[0]>=0?(p=0,g=ar(y)):g>0&&u[1]<=0&&(g=0,p=-ar(y))}var _=(i[0].value-n[0].value)/s,x=(i[o].value-n[o].value)/s;a.setExtent.call(r,p+d*_,g+d*x),a.setInterval.call(r,d),(_||x)&&a.setNiceExtent.call(r,p+d,g-d)}var eae=(function(){function r(t,e,a){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=zT,this._initCartesian(t,e,a),this.model=t}return r.prototype.getRect=function(){return this._rect},r.prototype.update=function(t,e){var a=this._axesMap;this._updateScale(t,this.model);function i(o){var s,l=ft(o),u=l.length;if(u){for(var v=[],h=u-1;h>=0;h--){var f=+l[h],c=o[f],d=c.model,p=c.scale;RT(p)&&d.get("alignTicks")&&d.get("interval")==null?v.push(c):(Rs(p,d),RT(p)&&(s=c))}v.length&&(s||(s=v.pop(),Rs(s.scale,s.model)),$(v,function(g){G6(g.scale,g.model,s.scale)}))}}i(a.x),i(a.y);var n={};$(a.x,function(o){k2(a,"y",o,n)}),$(a.y,function(o){k2(a,"x",o,n)}),this.resize(this.model,e)},r.prototype.resize=function(t,e,a){var i=t.getBoxLayoutParams(),n=!a&&t.get("containLabel"),o=dr(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var s=this._axesList;l(),n&&($(s,function(u){if(!u.model.get(["axisLabel","inside"])){var v=nte(u);if(v){var h=u.isHorizontal()?"height":"width",f=u.model.get(["axisLabel","margin"]);o[h]-=v[h]+f,u.position==="top"?o.y+=v.height+f:u.position==="left"&&(o.x+=v.width+f)}}}),l()),$(this._coordsList,function(u){u.calcAffineTransform()});function l(){$(s,function(u){var v=u.isHorizontal(),h=v?[0,o.width]:[0,o.height],f=u.inverse?1:0;u.setExtent(h[f],h[1-f]),tae(u,v?o.x:o.y)})}},r.prototype.getAxis=function(t,e){var a=this._axesMap[t];if(a!=null)return a[e||0]},r.prototype.getAxes=function(){return this._axesList.slice()},r.prototype.getCartesian=function(t,e){if(t!=null&&e!=null){var a="x"+t+"y"+e;return this._coordsMap[a]}$e(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,n=this._coordsList;i0?"top":"bottom",n="center"):Yl(i-Kn)?(o=a>0?"bottom":"top",n="center"):(o="middle",i>0&&i0?"right":"left":n=a>0?"left":"right"),{rotation:i,textAlign:n,textVerticalAlign:o}},r.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},r.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},r})(),N2={axisLine:function(r,t,e,a){var i=t.get(["axisLine","show"]);if(i==="auto"&&r.handleAutoShown&&(i=r.handleAutoShown("axisLine")),!!i){var n=t.axis.getExtent(),o=a.transform,s=[n[0],0],l=[n[1],0],u=s[0]>l[0];o&&(Or(s,s,o),Or(l,l,o));var v=_e({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),h=new xr({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:v,strokeContainThreshold:r.strokeContainThreshold||5,silent:!0,z2:1});Xl(h.shape,h.style.lineWidth),h.anid="line",e.add(h);var f=t.get(["axisLine","symbol"]);if(f!=null){var c=t.get(["axisLine","symbolSize"]);Re(f)&&(f=[f,f]),(Re(c)||bt(c))&&(c=[c,c]);var d=Gs(t.get(["axisLine","symbolOffset"])||0,c),p=c[0],g=c[1];$([{rotate:r.rotation+Math.PI/2,offset:d[0],r:0},{rotate:r.rotation-Math.PI/2,offset:d[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],function(m,y){if(f[y]!=="none"&&f[y]!=null){var _=lr(f[y],-p/2,-g/2,p,g,v.stroke,!0),x=m.r+m.offset,S=u?l:s;_.attr({rotation:m.rotate,x:S[0]+x*Math.cos(r.rotation),y:S[1]-x*Math.sin(r.rotation),silent:!0,z2:11}),e.add(_)}})}}},axisTickLabel:function(r,t,e,a){var i=iae(e,a,t,r),n=oae(e,a,t,r);if(aae(t,n,i),nae(e,a,t,r.tickDirection),t.get(["axisLabel","hideOverlap"])){var o=m6(we(n,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));x6(o)}},axisName:function(r,t,e,a){var i=wr(r.axisName,t.get("name"));if(i){var n=t.get("nameLocation"),o=r.nameDirection,s=t.getModel("nameTextStyle"),l=t.get("nameGap")||0,u=t.axis.getExtent(),v=u[0]>u[1]?-1:1,h=[n==="start"?u[0]-v*l:n==="end"?u[1]+v*l:(u[0]+u[1])/2,B2(n)?r.labelOffset+o*l:0],f,c=t.get("nameRotate");c!=null&&(c=c*Kn/180);var d;B2(n)?f=la.innerTextLayout(r.rotation,c!=null?c:r.rotation,o):(f=rae(r.rotation,n,c||0,u),d=r.axisNameAvailableWidth,d!=null&&(d=Math.abs(d/Math.sin(f.rotation)),!isFinite(d)&&(d=null)));var p=s.getFont(),g=t.get("nameTruncate",!0)||{},m=g.ellipsis,y=wr(r.nameTruncateMaxWidth,g.maxWidth,d),_=new pt({x:h[0],y:h[1],rotation:f.rotation,silent:la.isLabelSilent(t),style:Ht(s,{text:i,font:p,overflow:"truncate",width:y,ellipsis:m,fill:s.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:s.get("align")||f.textAlign,verticalAlign:s.get("verticalAlign")||f.textVerticalAlign}),z2:1});if(zs({el:_,componentModel:t,itemName:i}),_.__fullText=i,_.anid="name",t.get("triggerEvent")){var x=la.makeAxisEventDataBase(t);x.targetType="axisName",x.name=i,Xe(_).eventData=x}a.add(_),_.updateTransform(),e.add(_),_.decomposeTransform()}}};function rae(r,t,e,a){var i=HA(e-r),n,o,s=a[0]>a[1],l=t==="start"&&!s||t!=="start"&&s;return Yl(i-Kn/2)?(o=l?"bottom":"top",n="center"):Yl(i-Kn*1.5)?(o=l?"top":"bottom",n="center"):(o="middle",iKn/2?n=l?"left":"right":n=l?"right":"left"),{rotation:i,textAlign:n,textVerticalAlign:o}}function aae(r,t,e){if(!i6(r.axis)){var a=r.get(["axisLabel","showMinLabel"]),i=r.get(["axisLabel","showMaxLabel"]);t=t||[],e=e||[];var n=t[0],o=t[1],s=t[t.length-1],l=t[t.length-2],u=e[0],v=e[1],h=e[e.length-1],f=e[e.length-2];a===!1?(Ra(n),Ra(u)):z2(n,o)&&(a?(Ra(o),Ra(v)):(Ra(n),Ra(u))),i===!1?(Ra(s),Ra(h)):z2(l,s)&&(i?(Ra(l),Ra(f)):(Ra(s),Ra(h)))}}function Ra(r){r&&(r.ignore=!0)}function z2(r,t){var e=r&&r.getBoundingRect().clone(),a=t&&t.getBoundingRect().clone();if(!(!e||!a)){var i=Vh([]);return co(i,i,-r.rotation),e.applyTransform(Wi([],i,r.getLocalTransform())),a.applyTransform(Wi([],i,t.getLocalTransform())),e.intersect(a)}}function B2(r){return r==="middle"||r==="center"}function F6(r,t,e,a,i){for(var n=[],o=[],s=[],l=0;l=0||r===t}function fae(r){var t=YC(r);if(t){var e=t.axisPointerModel,a=t.axis.scale,i=e.option,n=e.get("status"),o=e.get("value");o!=null&&(o=a.parse(o));var s=VT(e);n==null&&(i.status=s?"show":"hide");var l=a.getExtent().slice();l[0]>l[1]&&l.reverse(),(o==null||o>l[1])&&(o=l[1]),o0&&!d.min?d.min=0:d.min!=null&&d.min<0&&!d.max&&(d.max=0);var p=l;d.color!=null&&(p=Ue({color:d.color},l));var g=tt(Ye(d),{boundaryGap:e,splitNumber:a,scale:i,axisLine:n,axisTick:o,axisLabel:s,name:d.text,showName:u,nameLocation:"end",nameGap:h,nameTextStyle:p,triggerEvent:f},!1);if(Re(v)){var m=g.name;g.name=v.replace("{value}",m!=null?m:"")}else He(v)&&(g.name=v(g.name,g));var y=new Mt(g,null,this.ecModel);return nr(y,Su.prototype),y.mainType="radar",y.componentIndex=this.componentIndex,y},this);this._indicatorModels=c},t.prototype.getIndicatorModels=function(){return this._indicatorModels},t.type="radar",t.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:tt({lineStyle:{color:"#bbb"}},Ju.axisLine),axisLabel:lc(Ju.axisLabel,!1),axisTick:lc(Ju.axisTick,!1),splitLine:lc(Ju.splitLine,!0),splitArea:lc(Ju.splitArea,!0),indicator:[]},t})(ut),Aae=["axisLine","axisTickLabel","axisName"],Cae=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,a,i){var n=this.group;n.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},t.prototype._buildAxes=function(e){var a=e.coordinateSystem,i=a.getIndicatorAxes(),n=we(i,function(o){var s=o.model.get("showName")?o.name:"",l=new la(o.model,{axisName:s,position:[a.cx,a.cy],rotation:o.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return l});$(n,function(o){$(Aae,o.add,o),this.group.add(o.getGroup())},this)},t.prototype._buildSplitLineAndArea=function(e){var a=e.coordinateSystem,i=a.getIndicatorAxes();if(!i.length)return;var n=e.get("shape"),o=e.getModel("splitLine"),s=e.getModel("splitArea"),l=o.getModel("lineStyle"),u=s.getModel("areaStyle"),v=o.get("show"),h=s.get("show"),f=l.get("color"),c=u.get("color"),d=Se(f)?f:[f],p=Se(c)?c:[c],g=[],m=[];function y(I,R,E){var k=E%R.length;return I[k]=I[k]||[],k}if(n==="circle")for(var _=i[0].getTicksCoords(),x=a.cx,S=a.cy,b=0;b<_.length;b++){if(v){var w=y(g,d,b);g[w].push(new Xi({shape:{cx:x,cy:S,r:_[b].coord}}))}if(h&&b<_.length-1){var w=y(m,p,b);m[w].push(new ou({shape:{cx:x,cy:S,r0:_[b].coord,r:_[b+1].coord}}))}}else for(var A,T=we(i,function(I,R){var E=I.getTicksCoords();return A=A==null?E.length-1:Math.min(E.length-1,A),we(E,function(k){return a.coordToPoint(k.coord,R)})}),C=[],b=0;b<=A;b++){for(var M=[],L=0;L3?1.4:o>1?1.2:1.1,v=n>0?u:1/u;$m(this,"zoom","zoomOnMouseWheel",e,{scale:v,originX:s,originY:l,isAvailableBehavior:null})}if(i){var h=Math.abs(n),f=(n>0?1:-1)*(h>3?.4:h>1?.15:.05);$m(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:f,originX:s,originY:l,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(e){if(!W2(this._zr,"globalPan")){var a=e.pinchScale>1?1.1:1/1.1;$m(this,"zoom",null,e,{scale:a,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})}},t})(Xa);function $m(r,t,e,a,i){r.pointerChecker&&r.pointerChecker(a,i.originX,i.originY)&&(_n(a.event),Y6(r,t,e,a,i))}function Y6(r,t,e,a,i){i.isAvailableBehavior=Ne(ld,null,e,a),r.trigger(t,i)}function ld(r,t,e){var a=e[r];return!r||a&&(!Re(a)||t.event[a+"Key"])}function XC(r,t,e){var a=r.target;a.x+=t,a.y+=e,a.dirty()}function KC(r,t,e,a){var i=r.target,n=r.zoomLimit,o=r.zoom=r.zoom||1;if(o*=t,n){var s=n.min||0,l=n.max||1/0;o=Math.max(Math.min(l,o),s)}var u=o/r.zoom;r.zoom=o,i.x-=(e-i.x)*(u-1),i.y-=(a-i.y)*(u-1),i.scaleX*=u,i.scaleY*=u,i.dirty()}var Eae={axisPointer:1,tooltip:1,brush:1};function jp(r,t,e){var a=t.getComponentByElement(r.topTarget),i=a&&a.coordinateSystem;return a&&a!==e&&!Eae.hasOwnProperty(a.mainType)&&i&&i.model!==e}function Z6(r){if(Re(r)){var t=new DOMParser;r=t.parseFromString(r,"text/xml")}var e=r;for(e.nodeType===9&&(e=e.firstChild);e.nodeName.toLowerCase()!=="svg"||e.nodeType!==1;)e=e.nextSibling;return e}var Ym,Kd={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},U2=ft(Kd),Qd={"alignment-baseline":"textBaseline","stop-color":"stopColor"},$2=ft(Qd),kae=(function(){function r(){this._defs={},this._root=null}return r.prototype.parse=function(t,e){e=e||{};var a=Z6(t);this._defsUsePending=[];var i=new Ze;this._root=i;var n=[],o=a.getAttribute("viewBox")||"",s=parseFloat(a.getAttribute("width")||e.width),l=parseFloat(a.getAttribute("height")||e.height);isNaN(s)&&(s=null),isNaN(l)&&(l=null),Sa(a,i,null,!0,!1);for(var u=a.firstChild;u;)this._parseNode(u,i,n,null,!1,!1),u=u.nextSibling;zae(this._defs,this._defsUsePending),this._defsUsePending=[];var v,h;if(o){var f=Jp(o);f.length>=4&&(v={x:parseFloat(f[0]||0),y:parseFloat(f[1]||0),width:parseFloat(f[2]),height:parseFloat(f[3])})}if(v&&s!=null&&l!=null&&(h=K6(v,{x:0,y:0,width:s,height:l}),!e.ignoreViewBox)){var c=i;i=new Ze,i.add(c),c.scaleX=c.scaleY=h.scale,c.x=h.x,c.y=h.y}return!e.ignoreRootClip&&s!=null&&l!=null&&i.setClipPath(new gt({shape:{x:0,y:0,width:s,height:l}})),{root:i,width:s,height:l,viewBoxRect:v,viewBoxTransform:h,named:n}},r.prototype._parseNode=function(t,e,a,i,n,o){var s=t.nodeName.toLowerCase(),l,u=i;if(s==="defs"&&(n=!0),s==="text"&&(o=!0),s==="defs"||s==="switch")l=e;else{if(!n){var v=Ym[s];if(v&&Be(Ym,s)){l=v.call(this,t,e);var h=t.getAttribute("name");if(h){var f={name:h,namedFrom:null,svgNodeTagLower:s,el:l};a.push(f),s==="g"&&(u=f)}else i&&a.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:l});e.add(l)}}var c=Y2[s];if(c&&Be(Y2,s)){var d=c.call(this,t),p=t.getAttribute("id");p&&(this._defs[p]=d)}}if(l&&l.isGroup)for(var g=t.firstChild;g;)g.nodeType===1?this._parseNode(g,l,a,u,n,o):g.nodeType===3&&o&&this._parseText(g,l),g=g.nextSibling},r.prototype._parseText=function(t,e){var a=new Zl({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});Ea(e,a),Sa(t,a,this._defsUsePending,!1,!1),Oae(a,e);var i=a.style,n=i.fontSize;n&&n<9&&(i.fontSize=9,a.scaleX*=n/9,a.scaleY*=n/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;var s=a.getBoundingRect();return this._textX+=s.width,e.add(a),a},r.internalField=(function(){Ym={g:function(t,e){var a=new Ze;return Ea(e,a),Sa(t,a,this._defsUsePending,!1,!1),a},rect:function(t,e){var a=new gt;return Ea(e,a),Sa(t,a,this._defsUsePending,!1,!1),a.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),a.silent=!0,a},circle:function(t,e){var a=new Xi;return Ea(e,a),Sa(t,a,this._defsUsePending,!1,!1),a.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),a.silent=!0,a},line:function(t,e){var a=new xr;return Ea(e,a),Sa(t,a,this._defsUsePending,!1,!1),a.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),a.silent=!0,a},ellipse:function(t,e){var a=new Wh;return Ea(e,a),Sa(t,a,this._defsUsePending,!1,!1),a.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),a.silent=!0,a},polygon:function(t,e){var a=t.getAttribute("points"),i;a&&(i=K2(a));var n=new jr({shape:{points:i||[]},silent:!0});return Ea(e,n),Sa(t,n,this._defsUsePending,!1,!1),n},polyline:function(t,e){var a=t.getAttribute("points"),i;a&&(i=K2(a));var n=new ea({shape:{points:i||[]},silent:!0});return Ea(e,n),Sa(t,n,this._defsUsePending,!1,!1),n},image:function(t,e){var a=new Dr;return Ea(e,a),Sa(t,a,this._defsUsePending,!1,!1),a.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),a.silent=!0,a},text:function(t,e){var a=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",n=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(a)+parseFloat(n),this._textY=parseFloat(i)+parseFloat(o);var s=new Ze;return Ea(e,s),Sa(t,s,this._defsUsePending,!1,!0),s},tspan:function(t,e){var a=t.getAttribute("x"),i=t.getAttribute("y");a!=null&&(this._textX=parseFloat(a)),i!=null&&(this._textY=parseFloat(i));var n=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",s=new Ze;return Ea(e,s),Sa(t,s,this._defsUsePending,!1,!0),this._textX+=parseFloat(n),this._textY+=parseFloat(o),s},path:function(t,e){var a=t.getAttribute("d")||"",i=jq(a);return Ea(e,i),Sa(t,i,this._defsUsePending,!1,!1),i.silent=!0,i}}})(),r})(),Y2={lineargradient:function(r){var t=parseInt(r.getAttribute("x1")||"0",10),e=parseInt(r.getAttribute("y1")||"0",10),a=parseInt(r.getAttribute("x2")||"10",10),i=parseInt(r.getAttribute("y2")||"0",10),n=new lu(t,e,a,i);return Z2(r,n),X2(r,n),n},radialgradient:function(r){var t=parseInt(r.getAttribute("cx")||"0",10),e=parseInt(r.getAttribute("cy")||"0",10),a=parseInt(r.getAttribute("r")||"0",10),i=new rC(t,e,a);return Z2(r,i),X2(r,i),i}};function Z2(r,t){var e=r.getAttribute("gradientUnits");e==="userSpaceOnUse"&&(t.global=!0)}function X2(r,t){for(var e=r.firstChild;e;){if(e.nodeType===1&&e.nodeName.toLocaleLowerCase()==="stop"){var a=e.getAttribute("offset"),i=void 0;a&&a.indexOf("%")>0?i=parseInt(a,10)/100:a?i=parseFloat(a):i=0;var n={};X6(e,n,n);var o=n.stopColor||e.getAttribute("stop-color")||"#000000";t.colorStops.push({offset:i,color:o})}e=e.nextSibling}}function Ea(r,t){r&&r.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),Ue(t.__inheritedStyle,r.__inheritedStyle))}function K2(r){for(var t=Jp(r),e=[],a=0;a0;n-=2){var o=a[n],s=a[n-1],l=Jp(o);switch(i=i||xa(),s){case"translate":yi(i,i,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":bp(i,i,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":co(i,i,-parseFloat(l[0])*Zm,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":var u=Math.tan(parseFloat(l[0])*Zm);Wi(i,[1,0,u,1,0,0],i);break;case"skewY":var v=Math.tan(parseFloat(l[0])*Zm);Wi(i,[1,v,0,1,0,0],i);break;case"matrix":i[0]=parseFloat(l[0]),i[1]=parseFloat(l[1]),i[2]=parseFloat(l[2]),i[3]=parseFloat(l[3]),i[4]=parseFloat(l[4]),i[5]=parseFloat(l[5]);break}}t.setLocalTransform(i)}}var j2=/([^\s:;]+)\s*:\s*([^:;]+)/g;function X6(r,t,e){var a=r.getAttribute("style");if(a){j2.lastIndex=0;for(var i;(i=j2.exec(a))!=null;){var n=i[1],o=Be(Kd,n)?Kd[n]:null;o&&(t[o]=i[2]);var s=Be(Qd,n)?Qd[n]:null;s&&(e[s]=i[2])}}}function Fae(r,t,e){for(var a=0;a0,g={api:a,geo:l,mapOrGeoModel:t,data:s,isVisualEncodedByVisualMap:p,isGeo:o,transformInfoRaw:f};l.resourceType==="geoJSON"?this._buildGeoJSON(g):l.resourceType==="geoSVG"&&this._buildSVG(g),this._updateController(t,e,a),this._updateMapSelectHandler(t,u,a,i)},r.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=Ge(),a=Ge(),i=this._regionsGroup,n=t.transformInfoRaw,o=t.mapOrGeoModel,s=t.data,l=t.geo.projection,u=l&&l.stream;function v(c,d){return d&&(c=d(c)),c&&[c[0]*n.scaleX+n.x,c[1]*n.scaleY+n.y]}function h(c){for(var d=[],p=!u&&l&&l.project,g=0;g=0)&&(f=i);var c=o?{normal:{align:"center",verticalAlign:"middle"}}:null;Gr(t,Cr(a),{labelFetcher:f,labelDataIndex:h,defaultText:e},c);var d=t.getTextContent();if(d&&(Q6(d).ignore=d.ignore,t.textConfig&&o)){var p=t.getBoundingRect().clone();t.textConfig.layoutRect=p,t.textConfig.position=[(o[0]-p.x)/p.width*100+"%",(o[1]-p.y)/p.height*100+"%"]}t.disableLabelAnimation=!0}else t.removeTextContent(),t.removeTextConfig(),t.disableLabelAnimation=null}function aP(r,t,e,a,i,n){r.data?r.data.setItemGraphicEl(n,t):Xe(t).eventData={componentType:"geo",componentIndex:i.componentIndex,geoIndex:i.componentIndex,name:e,region:a&&a.option||{}}}function iP(r,t,e,a,i){r.data||zs({el:t,componentModel:i,itemName:e,itemTooltipOption:a.get("tooltip")})}function nP(r,t,e,a,i){t.highDownSilentOnTouch=!!i.get("selectedMode");var n=a.getModel("emphasis"),o=n.get("focus");return tr(t,o,n.get("blurScope"),n.get("disabled")),r.isGeo&&MK(t,i,e),o}function oP(r,t,e){var a=[],i;function n(){i=[]}function o(){i.length&&(a.push(i),i=[])}var s=t({polygonStart:n,polygonEnd:o,lineStart:n,lineEnd:o,point:function(l,u){isFinite(l)&&isFinite(u)&&i.push([l,u])},sphere:function(){}});return!e&&s.polygonStart(),$(r,function(l){s.lineStart();for(var u=0;u-1&&(i.style.stroke=i.style.fill,i.style.fill="#fff",i.style.lineWidth=2),i},t.type="series.map",t.dependencies=["geo"],t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},t})(zt);function sie(r,t){var e={};return $(r,function(a){a.each(a.mapDimension("value"),function(i,n){var o="ec-"+a.getName(n);e[o]=e[o]||[],isNaN(i)||e[o].push(i)})}),r[0].map(r[0].mapDimension("value"),function(a,i){for(var n="ec-"+r[0].getName(i),o=0,s=1/0,l=-1/0,u=e[n].length,v=0;v1?(x.width=_,x.height=_/g):(x.height=_,x.width=_*g),x.y=y[1]-x.height/2,x.x=y[0]-x.width/2;else{var S=r.getBoxLayoutParams();S.aspect=g,x=dr(S,{width:d,height:p})}this.setViewRect(x.x,x.y,x.width,x.height),this.setCenter(r.get("center"),t),this.setZoom(r.get("zoom"))}function hie(r,t){$(t.get("geoCoord"),function(e,a){r.addGeoCoord(a,e)})}var fie=(function(){function r(){this.dimensions=J6}return r.prototype.create=function(t,e){var a=[];function i(o){return{nameProperty:o.get("nameProperty"),aspectScale:o.get("aspectScale"),projection:o.get("projection")}}t.eachComponent("geo",function(o,s){var l=o.get("map"),u=new HT(l+s,l,_e({nameMap:o.get("nameMap")},i(o)));u.zoomLimit=o.get("scaleLimit"),a.push(u),o.coordinateSystem=u,u.model=o,u.resize=vP,u.resize(o,e)}),t.eachSeries(function(o){var s=o.get("coordinateSystem");if(s==="geo"){var l=o.get("geoIndex")||0;o.coordinateSystem=a[l]}});var n={};return t.eachSeriesByType("map",function(o){if(!o.getHostGeoModel()){var s=o.getMapType();n[s]=n[s]||[],n[s].push(o)}}),$(n,function(o,s){var l=we(o,function(v){return v.get("nameMap")}),u=new HT(s,s,_e({nameMap:yp(l)},i(o[0])));u.zoomLimit=wr.apply(null,we(o,function(v){return v.get("scaleLimit")})),a.push(u),u.resize=vP,u.resize(o[0],e),$(o,function(v){v.coordinateSystem=u,hie(u,v)})}),a},r.prototype.getFilledRegions=function(t,e,a,i){for(var n=(t||[]).slice(),o=Ge(),s=0;s=0;o--){var s=i[o];s.hierNode={defaultAncestor:null,ancestor:s,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},e.push(s)}}function yie(r,t){var e=r.isExpand?r.children:[],a=r.parentNode.children,i=r.hierNode.i?a[r.hierNode.i-1]:null;if(e.length){Sie(r);var n=(e[0].hierNode.prelim+e[e.length-1].hierNode.prelim)/2;i?(r.hierNode.prelim=i.hierNode.prelim+t(r,i),r.hierNode.modifier=r.hierNode.prelim-n):r.hierNode.prelim=n}else i&&(r.hierNode.prelim=i.hierNode.prelim+t(r,i));r.parentNode.hierNode.defaultAncestor=bie(r,i,r.parentNode.hierNode.defaultAncestor||a[0],t)}function _ie(r){var t=r.hierNode.prelim+r.parentNode.hierNode.modifier;r.setLayout({x:t},!0),r.hierNode.modifier+=r.parentNode.hierNode.modifier}function fP(r){return arguments.length?r:Aie}function Ov(r,t){return r-=Math.PI/2,{x:t*Math.cos(r),y:t*Math.sin(r)}}function xie(r,t){return dr(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function Sie(r){for(var t=r.children,e=t.length,a=0,i=0;--e>=0;){var n=t[e];n.hierNode.prelim+=a,n.hierNode.modifier+=a,i+=n.hierNode.change,a+=n.hierNode.shift+i}}function bie(r,t,e,a){if(t){for(var i=r,n=r,o=n.parentNode.children[0],s=t,l=i.hierNode.modifier,u=n.hierNode.modifier,v=o.hierNode.modifier,h=s.hierNode.modifier;s=Xm(s),n=Km(n),s&&n;){i=Xm(i),o=Km(o),i.hierNode.ancestor=r;var f=s.hierNode.prelim+h-n.hierNode.prelim-u+a(s,n);f>0&&(Tie(wie(s,r,e),r,f),u+=f,l+=f),h+=s.hierNode.modifier,u+=n.hierNode.modifier,l+=i.hierNode.modifier,v+=o.hierNode.modifier}s&&!Xm(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=h-l),n&&!Km(o)&&(o.hierNode.thread=n,o.hierNode.modifier+=u-v,e=r)}return e}function Xm(r){var t=r.children;return t.length&&r.isExpand?t[t.length-1]:r.hierNode.thread}function Km(r){var t=r.children;return t.length&&r.isExpand?t[0]:r.hierNode.thread}function wie(r,t,e){return r.hierNode.ancestor.parentNode===t.parentNode?r.hierNode.ancestor:e}function Tie(r,t,e){var a=e/(t.hierNode.i-r.hierNode.i);t.hierNode.change-=a,t.hierNode.shift+=e,t.hierNode.modifier+=e,t.hierNode.prelim+=e,r.hierNode.change+=a}function Aie(r,t){return r.parentNode===t.parentNode?1:2}var Cie=(function(){function r(){this.parentPoint=[],this.childPoints=[]}return r})(),Mie=(function(r){he(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Cie},t.prototype.buildPath=function(e,a){var i=a.childPoints,n=i.length,o=a.parentPoint,s=i[0],l=i[n-1];if(n===1){e.moveTo(o[0],o[1]),e.lineTo(s[0],s[1]);return}var u=a.orient,v=u==="TB"||u==="BT"?0:1,h=1-v,f=Ie(a.forkPosition,1),c=[];c[v]=o[v],c[h]=o[h]+(l[h]-o[h])*f,e.moveTo(o[0],o[1]),e.lineTo(c[0],c[1]),e.moveTo(s[0],s[1]),c[v]=s[v],e.lineTo(c[0],c[1]),c[v]=l[v],e.lineTo(c[0],c[1]),e.lineTo(l[0],l[1]);for(var d=1;dy.x,S||(x=x-Math.PI));var w=S?"left":"right",A=s.getModel("label"),T=A.get("rotate"),C=T*(Math.PI/180),M=g.getTextContent();M&&(g.setTextConfig({position:A.get("position")||w,rotation:T==null?-x:C,origin:"center"}),M.setStyle("verticalAlign","middle"))}var L=s.get(["emphasis","focus"]),D=L==="relative"?$l(o.getAncestorsIndices(),o.getDescendantIndices()):L==="ancestor"?o.getAncestorsIndices():L==="descendant"?o.getDescendantIndices():null;D&&(Xe(e).focus=D),Lie(i,o,v,e,d,c,p,a),e.__edge&&(e.onHoverStateChange=function(P){if(P!=="blur"){var I=o.parentNode&&r.getItemGraphicEl(o.parentNode.dataIndex);I&&I.hoverState===qh||Ld(e.__edge,P)}})}function Lie(r,t,e,a,i,n,o,s){var l=t.getModel(),u=r.get("edgeShape"),v=r.get("layout"),h=r.getOrient(),f=r.get(["lineStyle","curveness"]),c=r.get("edgeForkPosition"),d=l.getModel("lineStyle").getLineStyle(),p=a.__edge;if(u==="curve")t.parentNode&&t.parentNode!==e&&(p||(p=a.__edge=new su({shape:qT(v,h,f,i,i)})),wt(p,{shape:qT(v,h,f,n,o)},r));else if(u==="polyline"&&v==="orthogonal"&&t!==e&&t.children&&t.children.length!==0&&t.isExpand===!0){for(var g=t.children,m=[],y=0;ye&&(e=i.height)}this.height=e+1},r.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,a=this.children,i=a.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},r.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},r.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostTree,a=e.data.getItemModel(this.dataIndex);return a.getModel(t)}},r.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},r.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},r.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},r.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},r.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},r.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e=0){var a=e.getData().tree.root,i=r.targetNode;if(Re(i)&&(i=a.getNodeById(i)),i&&a.contains(i))return{node:i};var n=r.targetNodeId;if(n!=null&&(i=a.getNodeById(n)))return{node:i}}}function n8(r){for(var t=[];r;)r=r.parentNode,r&&t.push(r);return t.reverse()}function tM(r,t){var e=n8(r);return nt(e,t)>=0}function eg(r,t){for(var e=[];r;){var a=r.dataIndex;e.push({name:r.name,dataIndex:a,value:t.getRawValue(a)}),r=r.parentNode}return e.reverse(),e}var Bie=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return t.prototype.getInitialData=function(e){var a={name:e.name,children:e.data},i=e.leaves||{},n=new Mt(i,this,this.ecModel),o=eM.createTree(a,this,s);function s(h){h.wrapMethod("getItemModel",function(f,c){var d=o.getNodeByDataIndex(c);return d&&d.children.length&&d.isExpand||(f.parentModel=n),f})}var l=0;o.eachNode("preorder",function(h){h.depth>l&&(l=h.depth)});var u=e.expandAndCollapse,v=u&&e.initialTreeDepth>=0?e.initialTreeDepth:l;return o.root.eachNode("preorder",function(h){var f=h.hostTree.data.getRawDataItem(h.dataIndex);h.isExpand=f&&f.collapsed!=null?!f.collapsed:h.depth<=v}),o.data},t.prototype.getOrient=function(){var e=this.get("orient");return e==="horizontal"?e="LR":e==="vertical"&&(e="TB"),e},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.formatTooltip=function(e,a,i){for(var n=this.getData().tree,o=n.root.children[0],s=n.getNodeByDataIndex(e),l=s.getValue(),u=s.name;s&&s!==o;)u=s.parentNode.name+"."+u,s=s.parentNode;return Mr("nameValue",{name:u,value:l,noValue:isNaN(l)||l==null})},t.prototype.getDataParams=function(e){var a=r.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return a.treeAncestors=eg(i,this),a.collapsed=!i.isExpand,a},t.type="series.tree",t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},t})(zt);function Vie(r,t,e){for(var a=[r],i=[],n;n=a.pop();)if(i.push(n),n.isExpand){var o=n.children;if(o.length)for(var s=0;s=0;n--)e.push(i[n])}}function Gie(r,t){r.eachSeriesByType("tree",function(e){Fie(e,t)})}function Fie(r,t){var e=xie(r,t);r.layoutInfo=e;var a=r.get("layout"),i=0,n=0,o=null;a==="radial"?(i=2*Math.PI,n=Math.min(e.height,e.width)/2,o=fP(function(_,x){return(_.parentNode===x.parentNode?1:2)/_.depth})):(i=e.width,n=e.height,o=fP());var s=r.getData().tree.root,l=s.children[0];if(l){mie(s),Vie(l,yie,o),s.hierNode.modifier=-l.hierNode.prelim,tv(l,_ie);var u=l,v=l,h=l;tv(l,function(_){var x=_.getLayout().x;xv.getLayout().x&&(v=_),_.depth>h.depth&&(h=_)});var f=u===v?1:o(u,v)/2,c=f-u.getLayout().x,d=0,p=0,g=0,m=0;if(a==="radial")d=i/(v.getLayout().x+f+c),p=n/(h.depth-1||1),tv(l,function(_){g=(_.getLayout().x+c)*d,m=(_.depth-1)*p;var x=Ov(g,m);_.setLayout({x:x.x,y:x.y,rawX:g,rawY:m},!0)});else{var y=r.getOrient();y==="RL"||y==="LR"?(p=n/(v.getLayout().x+f+c),d=i/(h.depth-1||1),tv(l,function(_){m=(_.getLayout().x+c)*p,g=y==="LR"?(_.depth-1)*d:i-(_.depth-1)*d,_.setLayout({x:g,y:m},!0)})):(y==="TB"||y==="BT")&&(d=i/(v.getLayout().x+f+c),p=n/(h.depth-1||1),tv(l,function(_){g=(_.getLayout().x+c)*d,m=y==="TB"?(_.depth-1)*p:n-(_.depth-1)*p,_.setLayout({x:g,y:m},!0)}))}}}function Hie(r){r.eachSeriesByType("tree",function(t){var e=t.getData(),a=e.tree;a.eachNode(function(i){var n=i.getModel(),o=n.getModel("itemStyle").getItemStyle(),s=e.ensureUniqueItemVisual(i.dataIndex,"style");_e(s,o)})})}function qie(r){r.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},function(a){var i=t.dataIndex,n=a.getData().tree,o=n.getNodeByDataIndex(i);o.isExpand=!o.isExpand})}),r.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(t,e,a){e.eachComponent({mainType:"series",subType:"tree",query:t},function(i){var n=i.coordinateSystem,o=jC(n,t,void 0,a);i.setCenter&&i.setCenter(o.center),i.setZoom&&i.setZoom(o.zoom)})})}function Wie(r){r.registerChartView(Die),r.registerSeriesModel(Bie),r.registerLayout(Gie),r.registerVisual(Hie),qie(r)}var mP=["treemapZoomToNode","treemapRender","treemapMove"];function Uie(r){for(var t=0;t1;)n=n.parentNode;var o=_T(r.ecModel,n.name||n.dataIndex+"",a);i.setVisual("decal",o)})}var $ie=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.preventUsingHoverLayer=!0,e}return t.prototype.getInitialData=function(e,a){var i={name:e.name,children:e.data};s8(i);var n=e.levels||[],o=this.designatedVisualItemStyle={},s=new Mt({itemStyle:o},this,a);n=e.levels=Yie(n,a);var l=we(n||[],function(h){return new Mt(h,s,a)},this),u=eM.createTree(i,this,v);function v(h){h.wrapMethod("getItemModel",function(f,c){var d=u.getNodeByDataIndex(c),p=d?l[d.depth]:null;return f.parentModel=p||s,f})}return u.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.formatTooltip=function(e,a,i){var n=this.getData(),o=this.getRawValue(e),s=n.getName(e);return Mr("nameValue",{name:s,value:o})},t.prototype.getDataParams=function(e){var a=r.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return a.treeAncestors=eg(i,this),a.treePathInfo=a.treeAncestors,a},t.prototype.setLayoutInfo=function(e){this.layoutInfo=this.layoutInfo||{},_e(this.layoutInfo,e)},t.prototype.mapIdToIndex=function(e){var a=this._idIndexMap;a||(a=this._idIndexMap=Ge(),this._idIndexMapCount=0);var i=a.get(e);return i==null&&a.set(e,i=this._idIndexMapCount++),i},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var a=this.getRawData().tree.root;(!e||e!==a&&!a.contains(e))&&(this._viewRoot=a)},t.prototype.enableAriaDecal=function(){o8(this)},t.type="series.treemap",t.layoutMode="box",t.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.32*.32,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},t})(zt);function s8(r){var t=0;$(r.children,function(a){s8(a);var i=a.value;Se(i)&&(i=i[0]),t+=i});var e=r.value;Se(e)&&(e=e[0]),(e==null||isNaN(e))&&(e=t),e<0&&(e=0),Se(r.value)?r.value[0]=e:r.value=e}function Yie(r,t){var e=Nt(t.get("color")),a=Nt(t.get(["aria","decal","decals"]));if(e){r=r||[];var i,n;$(r,function(s){var l=new Mt(s),u=l.get("color"),v=l.get("decal");(l.get(["itemStyle","color"])||u&&u!=="none")&&(i=!0),(l.get(["itemStyle","decal"])||v&&v!=="none")&&(n=!0)});var o=r[0]||(r[0]={});return i||(o.color=e.slice()),!n&&a&&(o.decal=a.slice()),r}}var Zie=8,yP=8,Qm=5,Xie=(function(){function r(t){this.group=new Ze,t.add(this.group)}return r.prototype.render=function(t,e,a,i){var n=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),!(!n.get("show")||!a)){var s=n.getModel("itemStyle"),l=n.getModel("emphasis"),u=s.getModel("textStyle"),v=l.getModel(["itemStyle","textStyle"]),h={pos:{left:n.get("left"),right:n.get("right"),top:n.get("top"),bottom:n.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:n.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(a,h,u),this._renderContent(t,h,s,l,u,v,i),Fp(o,h.pos,h.box)}},r.prototype._prepare=function(t,e,a){for(var i=t;i;i=i.parentNode){var n=_r(i.getModel().get("name"),""),o=a.getTextRect(n),s=Math.max(o.width+Zie*2,e.emptyItemWidth);e.totalWidth+=s+yP,e.renderList.push({node:i,text:n,width:s})}},r.prototype._renderContent=function(t,e,a,i,n,o,s){for(var l=0,u=e.emptyItemWidth,v=t.get(["breadcrumb","height"]),h=MQ(e.pos,e.box),f=e.totalWidth,c=e.renderList,d=i.getModel("itemStyle").getItemStyle(),p=c.length-1;p>=0;p--){var g=c[p],m=g.node,y=g.width,_=g.text;f>h.width&&(f-=y-u,y=u,_=null);var x=new jr({shape:{points:Kie(l,0,y,v,p===c.length-1,p===0)},style:Ue(a.getItemStyle(),{lineJoin:"bevel"}),textContent:new pt({style:Ht(n,{text:_})}),textConfig:{position:"inside"},z2:nu*1e4,onclick:et(s,m)});x.disableLabelAnimation=!0,x.getTextContent().ensureState("emphasis").style=Ht(o,{text:_}),x.ensureState("emphasis").style=d,tr(x,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(x),Qie(x,t,m),l+=y+yP}},r.prototype.remove=function(){this.group.removeAll()},r})();function Kie(r,t,e,a,i,n){var o=[[i?r:r-Qm,t],[r+e,t],[r+e,t+a],[i?r:r-Qm,t+a]];return!n&&o.splice(2,0,[r+e+Qm,t+a/2]),!i&&o.push([r,t+a/2]),o}function Qie(r,t,e){Xe(r).eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:e&&e.dataIndex,name:e&&e.name},treePathInfo:e&&eg(e,t)}}var jie=(function(){function r(){this._storage=[],this._elExistsMap={}}return r.prototype.add=function(t,e,a,i,n){return this._elExistsMap[t.id]?!1:(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:a,delay:i,easing:n}),!0)},r.prototype.finished=function(t){return this._finishedCallback=t,this},r.prototype.start=function(){for(var t=this,e=this._storage.length,a=function(){e--,e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,n=this._storage.length;ixP||Math.abs(e.dy)>xP)){var a=this.seriesModel.getData().tree.root;if(!a)return;var i=a.getLayout();if(!i)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x+e.dx,y:i.y+e.dy,width:i.width,height:i.height}})}},t.prototype._onZoom=function(e){var a=e.originX,i=e.originY,n=e.scale;if(this._state!=="animating"){var o=this.seriesModel.getData().tree.root;if(!o)return;var s=o.getLayout();if(!s)return;var l=new at(s.x,s.y,s.width,s.height),u=null,v=this._controllerHost;u=v.zoomLimit;var h=v.zoom=v.zoom||1;if(h*=n,u){var f=u.min||0,c=u.max||1/0;h=Math.max(Math.min(c,h),f)}var d=h/v.zoom;v.zoom=h;var p=this.seriesModel.layoutInfo;a-=p.x,i-=p.y;var g=xa();yi(g,g,[-a,-i]),bp(g,g,[d,d]),yi(g,g,[a,i]),l.applyTransform(g),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:l.x,y:l.y,width:l.width,height:l.height}})}},t.prototype._initEvents=function(e){var a=this;e.on("click",function(i){if(a._state==="ready"){var n=a.seriesModel.get("nodeClick",!0);if(n){var o=a.findTarget(i.offsetX,i.offsetY);if(o){var s=o.node;if(s.getLayout().isLeafRoot)a._rootToNode(o);else if(n==="zoomToNode")a._zoomToNode(o);else if(n==="link"){var l=s.hostTree.data.getItemModel(s.dataIndex),u=l.get("link",!0),v=l.get("target",!0)||"blank";u&&Od(u,v)}}}}},this)},t.prototype._renderBreadcrumb=function(e,a,i){var n=this;i||(i=e.get("leafDepth",!0)!=null?{node:e.getViewRoot()}:this.findTarget(a.getWidth()/2,a.getHeight()/2),i||(i={node:e.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new Xie(this.group))).render(e,a,i.node,function(o){n._state!=="animating"&&(tM(e.getViewRoot(),o)?n._rootToNode({node:o}):n._zoomToNode({node:o}))})},t.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=rv(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},t.prototype.dispose=function(){this._clearController()},t.prototype._zoomToNode=function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype._rootToNode=function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype.findTarget=function(e,a){var i,n=this.seriesModel.getViewRoot();return n.eachNode({attr:"viewChildren",order:"preorder"},function(o){var s=this._storage.background[o.getRawIndex()];if(s){var l=s.transformCoordToLocal(e,a),u=s.shape;if(u.x<=l[0]&&l[0]<=u.x+u.width&&u.y<=l[1]&&l[1]<=u.y+u.height)i={node:o,offsetX:l[0],offsetY:l[1]};else return!1}},this),i},t.type="treemap",t})(kt);function rv(){return{nodeGroup:[],background:[],content:[]}}function ine(r,t,e,a,i,n,o,s,l,u){if(!o)return;var v=o.getLayout(),h=r.getData(),f=o.getModel();if(h.setItemGraphicEl(o.dataIndex,null),!v||!v.isInView)return;var c=v.width,d=v.height,p=v.borderWidth,g=v.invisible,m=o.getRawIndex(),y=s&&s.getRawIndex(),_=o.viewChildren,x=v.upperHeight,S=_&&_.length,b=f.getModel("itemStyle"),w=f.getModel(["emphasis","itemStyle"]),A=f.getModel(["blur","itemStyle"]),T=f.getModel(["select","itemStyle"]),C=b.get("borderRadius")||0,M=G("nodeGroup",WT);if(!M)return;if(l.add(M),M.x=v.x||0,M.y=v.y||0,M.markRedraw(),jd(M).nodeWidth=c,jd(M).nodeHeight=d,v.isAboveViewRoot)return M;var L=G("background",_P,u,tne);L&&F(M,L,S&&v.upperLabelHeight);var D=f.getModel("emphasis"),P=D.get("focus"),I=D.get("blurScope"),R=D.get("disabled"),E=P==="ancestor"?o.getAncestorsIndices():P==="descendant"?o.getDescendantIndices():P;if(S)gh(M)&&cs(M,!1),L&&(cs(L,!R),h.setItemGraphicEl(o.dataIndex,L),hT(L,E,I));else{var k=G("content",_P,u,rne);k&&V(M,k),L.disableMorphing=!0,L&&gh(L)&&cs(L,!1),cs(M,!R),h.setItemGraphicEl(o.dataIndex,M);var B=f.getShallow("cursor");B&&k.attr("cursor",B),hT(M,E,I)}return M;function F(U,W,Y){var X=Xe(W);if(X.dataIndex=o.dataIndex,X.seriesIndex=r.seriesIndex,W.setShape({x:0,y:0,width:c,height:d,r:C}),g)N(W);else{W.invisible=!1;var K=o.getVisual("style"),Q=K.stroke,j=wP(b);j.fill=Q;var te=rs(w);te.fill=w.get("borderColor");var Z=rs(A);Z.fill=A.get("borderColor");var ee=rs(T);if(ee.fill=T.get("borderColor"),Y){var le=c-2*p;O(W,Q,K.opacity,{x:p,y:0,width:le,height:x})}else W.removeTextContent();W.setStyle(j),W.ensureState("emphasis").style=te,W.ensureState("blur").style=Z,W.ensureState("select").style=ee,Is(W)}U.add(W)}function V(U,W){var Y=Xe(W);Y.dataIndex=o.dataIndex,Y.seriesIndex=r.seriesIndex;var X=Math.max(c-2*p,0),K=Math.max(d-2*p,0);if(W.culling=!0,W.setShape({x:p,y:p,width:X,height:K,r:C}),g)N(W);else{W.invisible=!1;var Q=o.getVisual("style"),j=Q.fill,te=wP(b);te.fill=j,te.decal=Q.decal;var Z=rs(w),ee=rs(A),le=rs(T);O(W,j,Q.opacity,null),W.setStyle(te),W.ensureState("emphasis").style=Z,W.ensureState("blur").style=ee,W.ensureState("select").style=le,Is(W)}U.add(W)}function N(U){!U.invisible&&n.push(U)}function O(U,W,Y,X){var K=f.getModel(X?bP:SP),Q=_r(f.get("name"),null),j=K.getShallow("show");Gr(U,Cr(f,X?bP:SP),{defaultText:j?Q:null,inheritColor:W,defaultOpacity:Y,labelFetcher:r,labelDataIndex:o.dataIndex});var te=U.getTextContent();if(te){var Z=te.style,ee=xp(Z.padding||0);X&&(U.setTextConfig({layoutRect:X}),te.disableLabelLayout=!0),te.beforeUpdate=function(){var oe=Math.max((X?X.width:U.shape.width)-ee[1]-ee[3],0),fe=Math.max((X?X.height:U.shape.height)-ee[0]-ee[2],0);(Z.width!==oe||Z.height!==fe)&&te.setStyle({width:oe,height:fe})},Z.truncateMinChar=2,Z.lineOverflow="truncate",z(Z,X,v);var le=te.getState("emphasis");z(le?le.style:null,X,v)}}function z(U,W,Y){var X=U?U.text:null;if(!W&&Y.isLeafRoot&&X!=null){var K=r.get("drillDownIcon",!0);U.text=K?K+" "+X:X}}function G(U,W,Y,X){var K=y!=null&&e[U][y],Q=i[U];return K?(e[U][y]=null,q(Q,K)):g||(K=new W,K instanceof Za&&(K.z2=nne(Y,X)),H(Q,K)),t[U][m]=K}function q(U,W){var Y=U[m]={};W instanceof WT?(Y.oldX=W.x,Y.oldY=W.y):Y.oldShape=_e({},W.shape)}function H(U,W){var Y=U[m]={},X=o.parentNode,K=W instanceof Ze;if(X&&(!a||a.direction==="drillDown")){var Q=0,j=0,te=i.background[X.getRawIndex()];!a&&te&&te.oldShape&&(Q=te.oldShape.width,j=te.oldShape.height),K?(Y.oldX=0,Y.oldY=j):Y.oldShape={x:Q,y:j,width:0,height:0}}Y.fadein=!K}}function nne(r,t){return r*ene+t}var Dh=$,one=$e,Jd=-1,Ar=(function(){function r(t){var e=t.mappingMethod,a=t.type,i=this.option=Ye(t);this.type=a,this.mappingMethod=e,this._normalizeData=une[e];var n=r.visualHandlers[a];this.applyVisual=n.applyVisual,this.getColorMapper=n.getColorMapper,this._normalizedToVisual=n._normalizedToVisual[e],e==="piecewise"?(jm(i),sne(i)):e==="category"?i.categories?lne(i):jm(i,!0):(Kr(e!=="linear"||i.dataExtent),jm(i))}return r.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},r.prototype.getNormalizer=function(){return Ne(this._normalizeData,this)},r.listVisualTypes=function(){return ft(r.visualHandlers)},r.isValidType=function(t){return r.visualHandlers.hasOwnProperty(t)},r.eachVisual=function(t,e,a){$e(t)?$(t,e,a):e.call(a,t)},r.mapVisual=function(t,e,a){var i,n=Se(t)?[]:$e(t)?{}:(i=!0,null);return r.eachVisual(t,function(o,s){var l=e.call(a,o,s);i?n=l:n[s]=l}),n},r.retrieveVisuals=function(t){var e={},a;return t&&Dh(r.visualHandlers,function(i,n){t.hasOwnProperty(n)&&(e[n]=t[n],a=!0)}),a?e:null},r.prepareVisualTypes=function(t){if(Se(t))t=t.slice();else if(one(t)){var e=[];Dh(t,function(a,i){e.push(i)}),t=e}else return[];return t.sort(function(a,i){return i==="color"&&a!=="color"&&a.indexOf("color")===0?1:-1}),t},r.dependsOn=function(t,e){return e==="color"?!!(t&&t.indexOf(e)===0):t===e},r.findPieceIndex=function(t,e,a){for(var i,n=1/0,o=0,s=e.length;o=0;n--)a[n]==null&&(delete e[t[n]],t.pop())}function jm(r,t){var e=r.visual,a=[];$e(e)?Dh(e,function(n){a.push(n)}):e!=null&&a.push(e);var i={color:1,symbol:1};!t&&a.length===1&&!i.hasOwnProperty(r.type)&&(a[1]=a[0]),l8(r,a)}function vc(r){return{applyVisual:function(t,e,a){var i=this.mapValueToVisual(t);a("color",r(e("color"),i))},_normalizedToVisual:UT([0,1])}}function TP(r){var t=this.option.visual;return t[Math.round(Pt(r,[0,1],[0,t.length-1],!0))]||{}}function av(r){return function(t,e,a){a(r,this.mapValueToVisual(t))}}function Nv(r){var t=this.option.visual;return t[this.option.loop&&r!==Jd?r%t.length:r]}function as(){return this.option.visual[0]}function UT(r){return{linear:function(t){return Pt(t,r,this.option.visual,!0)},category:Nv,piecewise:function(t,e){var a=$T.call(this,e);return a==null&&(a=Pt(t,r,this.option.visual,!0)),a},fixed:as}}function $T(r){var t=this.option,e=t.pieceList;if(t.hasSpecialVisual){var a=Ar.findPieceIndex(r,e),i=e[a];if(i&&i.visual)return i.visual[this.type]}}function l8(r,t){return r.visual=t,r.type==="color"&&(r.parsedVisual=we(t,function(e){var a=sa(e);return a||[0,0,0,1]})),t}var une={linear:function(r){return Pt(r,this.option.dataExtent,[0,1],!0)},piecewise:function(r){var t=this.option.pieceList,e=Ar.findPieceIndex(r,t,!0);if(e!=null)return Pt(e,[0,t.length-1],[0,1],!0)},category:function(r){var t=this.option.categories?this.option.categoryMap[r]:r;return t==null?Jd:t},fixed:ir};function hc(r,t,e){return r?t<=e:t=e.length||p===e[p.depth]){var m=pne(i,l,p,g,d,a);v8(p,m,e,a)}})}}}function fne(r,t,e){var a=_e({},t),i=e.designatedVisualItemStyle;return $(["color","colorAlpha","colorSaturation"],function(n){i[n]=t[n];var o=r.get(n);i[n]=null,o!=null&&(a[n]=o)}),a}function AP(r){var t=Jm(r,"color");if(t){var e=Jm(r,"colorAlpha"),a=Jm(r,"colorSaturation");return a&&(t=Vl(t,null,null,a)),e&&(t=hh(t,e)),t}}function cne(r,t){return t!=null?Vl(t,null,null,r):null}function Jm(r,t){var e=r[t];if(e!=null&&e!=="none")return e}function dne(r,t,e,a,i,n){if(!(!n||!n.length)){var o=ey(t,"color")||i.color!=null&&i.color!=="none"&&(ey(t,"colorAlpha")||ey(t,"colorSaturation"));if(o){var s=t.get("visualMin"),l=t.get("visualMax"),u=e.dataExtent.slice();s!=null&&su[1]&&(u[1]=l);var v=t.get("colorMappingBy"),h={type:o.name,dataExtent:u,visual:o.range};h.type==="color"&&(v==="index"||v==="id")?(h.mappingMethod="category",h.loop=!0):h.mappingMethod="linear";var f=new Ar(h);return u8(f).drColorMappingBy=v,f}}}function ey(r,t){var e=r.get(t);return Se(e)&&e.length?{name:t,range:e}:null}function pne(r,t,e,a,i,n){var o=_e({},t);if(i){var s=i.type,l=s==="color"&&u8(i).drColorMappingBy,u=l==="index"?a:l==="id"?n.mapIdToIndex(e.getId()):e.getValue(r.get("visualDimension"));o[s]=i.mapValueToVisual(u)}return o}var Lh=Math.max,ep=Math.min,CP=wr,rM=$,h8=["itemStyle","borderWidth"],gne=["itemStyle","gapWidth"],mne=["upperLabel","show"],yne=["upperLabel","height"];const _ne={seriesType:"treemap",reset:function(r,t,e,a){var i=e.getWidth(),n=e.getHeight(),o=r.option,s=dr(r.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),l=o.size||[],u=Ie(CP(s.width,l[0]),i),v=Ie(CP(s.height,l[1]),n),h=a&&a.type,f=["treemapZoomToNode","treemapRootToNode"],c=Mh(a,f,r),d=h==="treemapRender"||h==="treemapMove"?a.rootRect:null,p=r.getViewRoot(),g=n8(p);if(h!=="treemapMove"){var m=h==="treemapZoomToNode"?Ane(r,c,p,u,v):d?[d.width,d.height]:[u,v],y=o.sort;y&&y!=="asc"&&y!=="desc"&&(y="desc");var _={squareRatio:o.squareRatio,sort:y,leafDepth:o.leafDepth};p.hostTree.clearLayouts();var x={x:0,y:0,width:m[0],height:m[1],area:m[0]*m[1]};p.setLayout(x),f8(p,_,!1,0),x=p.getLayout(),rM(g,function(b,w){var A=(g[w+1]||p).getValue();b.setLayout(_e({dataExtent:[A,A],borderWidth:0,upperHeight:0},x))})}var S=r.getData().tree.root;S.setLayout(Cne(s,d,c),!0),r.setLayoutInfo(s),c8(S,new at(-s.x,-s.y,i,n),g,p,0)}};function f8(r,t,e,a){var i,n;if(!r.isRemoved()){var o=r.getLayout();i=o.width,n=o.height;var s=r.getModel(),l=s.get(h8),u=s.get(gne)/2,v=d8(s),h=Math.max(l,v),f=l-u,c=h-u;r.setLayout({borderWidth:l,upperHeight:h,upperLabelHeight:v},!0),i=Lh(i-2*f,0),n=Lh(n-f-c,0);var d=i*n,p=xne(r,s,d,t,e,a);if(p.length){var g={x:f,y:c,width:i,height:n},m=ep(i,n),y=1/0,_=[];_.area=0;for(var x=0,S=p.length;x=0;l--){var u=i[a==="asc"?o-l-1:l].getValue();u/e*ts[1]&&(s[1]=u)})),{sum:a,dataExtent:s}}function Tne(r,t,e){for(var a=0,i=1/0,n=0,o=void 0,s=r.length;na&&(a=o));var l=r.area*r.area,u=t*t*e;return l?Lh(u*a/l,l/(u*i)):1/0}function MP(r,t,e,a,i){var n=t===e.width?0:1,o=1-n,s=["x","y"],l=["width","height"],u=e[s[n]],v=t?r.area/t:0;(i||v>e[l[o]])&&(v=e[l[o]]);for(var h=0,f=r.length;hrT&&(u=rT),n=s}ua&&(a=t);var n=a%2?a+2:a+3;i=[];for(var o=0;o0&&(S[0]=-S[0],S[1]=-S[1]);var w=x[0]<0?-1:1;if(n.__position!=="start"&&n.__position!=="end"){var A=-Math.atan2(x[1],x[0]);h[0].8?"left":f[0]<-.8?"right":"center",p=f[1]>.8?"top":f[1]<-.8?"bottom":"middle";break;case"start":n.x=-f[0]*m+v[0],n.y=-f[1]*y+v[1],d=f[0]>.8?"right":f[0]<-.8?"left":"center",p=f[1]>.8?"bottom":f[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":n.x=m*w+v[0],n.y=v[1]+T,d=x[0]<0?"right":"left",n.originX=-m*w,n.originY=-T;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":n.x=b[0],n.y=b[1]+T,d="center",n.originY=-T;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":n.x=-m*w+h[0],n.y=h[1]+T,d=x[0]>=0?"right":"left",n.originX=m*w,n.originY=-T;break}n.scaleX=n.scaleY=o,n.setStyle({verticalAlign:n.__verticalAlign||p,align:n.__align||d})}},t})(Ze),sM=(function(){function r(t){this.group=new Ze,this._LineCtor=t||oM}return r.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var a=this,i=a.group,n=a._lineData;a._lineData=t,n||i.removeAll();var o=EP(t);t.diff(n).add(function(s){e._doAdd(t,s,o)}).update(function(s,l){e._doUpdate(n,t,l,s,o)}).remove(function(s){i.remove(n.getItemGraphicEl(s))}).execute()},r.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(e,a){e.updateLayout(t,a)},this)},r.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=EP(t),this._lineData=null,this.group.removeAll()},r.prototype.incrementalUpdate=function(t,e){this._progressiveEls=[];function a(s){!s.isGroup&&!Wne(s)&&(s.incremental=!0,s.ensureState("emphasis").hoverLayer=!0)}for(var i=t.start;i0}function EP(r){var t=r.hostModel,e=t.getModel("emphasis");return{lineStyle:t.getModel("lineStyle").getLineStyle(),emphasisLineStyle:e.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:t.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:t.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:e.get("disabled"),blurScope:e.get("blurScope"),focus:e.get("focus"),labelStatesModels:Cr(t)}}function kP(r){return isNaN(r[0])||isNaN(r[1])}function ny(r){return r&&!kP(r[0])&&!kP(r[1])}var oy=[],sy=[],ly=[],pl=kr,uy=Jn,OP=Math.abs;function NP(r,t,e){for(var a=r[0],i=r[1],n=r[2],o=1/0,s,l=e*e,u=.1,v=.1;v<=.9;v+=.1){oy[0]=pl(a[0],i[0],n[0],v),oy[1]=pl(a[1],i[1],n[1],v);var h=OP(uy(oy,t)-l);h=0?s=s+u:s=s-u:d>=0?s=s-u:s=s+u}return s}function vy(r,t){var e=[],a=uh,i=[[],[],[]],n=[[],[]],o=[];t/=2,r.eachEdge(function(s,l){var u=s.getLayout(),v=s.getVisual("fromSymbol"),h=s.getVisual("toSymbol");u.__original||(u.__original=[qi(u[0]),qi(u[1])],u[2]&&u.__original.push(qi(u[2])));var f=u.__original;if(u[2]!=null){if($r(i[0],f[0]),$r(i[1],f[2]),$r(i[2],f[1]),v&&v!=="none"){var c=Bv(s.node1),d=NP(i,f[0],c*t);a(i[0][0],i[1][0],i[2][0],d,e),i[0][0]=e[3],i[1][0]=e[4],a(i[0][1],i[1][1],i[2][1],d,e),i[0][1]=e[3],i[1][1]=e[4]}if(h&&h!=="none"){var c=Bv(s.node2),d=NP(i,f[1],c*t);a(i[0][0],i[1][0],i[2][0],d,e),i[1][0]=e[1],i[2][0]=e[2],a(i[0][1],i[1][1],i[2][1],d,e),i[1][1]=e[1],i[2][1]=e[2]}$r(u[0],i[0]),$r(u[1],i[2]),$r(u[2],i[1])}else{if($r(n[0],f[0]),$r(n[1],f[1]),$n(o,n[1],n[0]),Os(o,o),v&&v!=="none"){var c=Bv(s.node1);yd(n[0],n[0],o,c*t)}if(h&&h!=="none"){var c=Bv(s.node2);yd(n[1],n[1],o,-c*t)}$r(u[0],n[0]),$r(u[1],n[1])}})}function zP(r){return r.type==="view"}var Une=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,a){var i=new jh,n=new sM,o=this.group;this._controller=new af(a.getZr()),this._controllerHost={target:o},o.add(i.group),o.add(n.group),this._symbolDraw=i,this._lineDraw=n,this._firstRender=!0},t.prototype.render=function(e,a,i){var n=this,o=e.coordinateSystem;this._model=e;var s=this._symbolDraw,l=this._lineDraw,u=this.group;if(zP(o)){var v={x:o.x,y:o.y,scaleX:o.scaleX,scaleY:o.scaleY};this._firstRender?u.attr(v):wt(u,v,e)}vy(e.getGraph(),zv(e));var h=e.getData();s.updateData(h);var f=e.getEdgeData();l.updateData(f),this._updateNodeAndLinkScale(),this._updateController(e,a,i),clearTimeout(this._layoutTimeout);var c=e.forceLayout,d=e.get(["force","layoutAnimation"]);c&&this._startForceLayoutIteration(c,d);var p=e.get("layout");h.graph.eachNode(function(_){var x=_.dataIndex,S=_.getGraphicEl(),b=_.getModel();if(S){S.off("drag").off("dragend");var w=b.get("draggable");w&&S.on("drag",function(T){switch(p){case"force":c.warmUp(),!n._layouting&&n._startForceLayoutIteration(c,d),c.setFixed(x),h.setItemLayout(x,[S.x,S.y]);break;case"circular":h.setItemLayout(x,[S.x,S.y]),_.setLayout({fixed:!0},!0),nM(e,"symbolSize",_,[T.offsetX,T.offsetY]),n.updateLayout(e);break;default:h.setItemLayout(x,[S.x,S.y]),iM(e.getGraph(),e),n.updateLayout(e);break}}).on("dragend",function(){c&&c.setUnfixed(x)}),S.setDraggable(w,!!b.get("cursor"));var A=b.get(["emphasis","focus"]);A==="adjacency"&&(Xe(S).focus=_.getAdjacentDataIndices())}}),h.graph.eachEdge(function(_){var x=_.getGraphicEl(),S=_.getModel().get(["emphasis","focus"]);x&&S==="adjacency"&&(Xe(x).focus={edge:[_.dataIndex],node:[_.node1.dataIndex,_.node2.dataIndex]})});var g=e.get("layout")==="circular"&&e.get(["circular","rotateLabel"]),m=h.getLayout("cx"),y=h.getLayout("cy");h.graph.eachNode(function(_){y8(_,g,m,y)}),this._firstRender=!1},t.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype._startForceLayoutIteration=function(e,a){var i=this;(function n(){e.step(function(o){i.updateLayout(i._model),(i._layouting=!o)&&(a?i._layoutTimeout=setTimeout(n,16):n())})})()},t.prototype._updateController=function(e,a,i){var n=this,o=this._controller,s=this._controllerHost,l=this.group;if(o.setPointerChecker(function(u,v,h){var f=l.getBoundingRect();return f.applyTransform(l.transform),f.contain(v,h)&&!jp(u,i,e)}),!zP(e.coordinateSystem)){o.disable();return}o.enable(e.get("roam")),s.zoomLimit=e.get("scaleLimit"),s.zoom=e.coordinateSystem.getZoom(),o.off("pan").off("zoom").on("pan",function(u){XC(s,u.dx,u.dy),i.dispatchAction({seriesId:e.id,type:"graphRoam",dx:u.dx,dy:u.dy})}).on("zoom",function(u){KC(s,u.scale,u.originX,u.originY),i.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:u.scale,originX:u.originX,originY:u.originY}),n._updateNodeAndLinkScale(),vy(e.getGraph(),zv(e)),n._lineDraw.updateLayout(),i.updateLabelLayout()})},t.prototype._updateNodeAndLinkScale=function(){var e=this._model,a=e.getData(),i=zv(e);a.eachItemGraphicEl(function(n,o){n&&n.setSymbolScale(i)})},t.prototype.updateLayout=function(e){vy(e.getGraph(),zv(e)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},t.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},t.type="graph",t})(kt);function gl(r){return"_EC_"+r}var $ne=(function(){function r(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return r.prototype.isDirected=function(){return this._directed},r.prototype.addNode=function(t,e){t=t==null?""+e:""+t;var a=this._nodesMap;if(!a[gl(t)]){var i=new is(t,e);return i.hostGraph=this,this.nodes.push(i),a[gl(t)]=i,i}},r.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},r.prototype.getNodeById=function(t){return this._nodesMap[gl(t)]},r.prototype.addEdge=function(t,e,a){var i=this._nodesMap,n=this._edgesMap;if(bt(t)&&(t=this.nodes[t]),bt(e)&&(e=this.nodes[e]),t instanceof is||(t=i[gl(t)]),e instanceof is||(e=i[gl(e)]),!(!t||!e)){var o=t.id+"-"+e.id,s=new x8(t,e,a);return s.hostGraph=this,this._directed&&(t.outEdges.push(s),e.inEdges.push(s)),t.edges.push(s),t!==e&&e.edges.push(s),this.edges.push(s),n[o]=s,s}},r.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},r.prototype.getEdge=function(t,e){t instanceof is&&(t=t.id),e instanceof is&&(e=e.id);var a=this._edgesMap;return this._directed?a[t+"-"+e]:a[t+"-"+e]||a[e+"-"+t]},r.prototype.eachNode=function(t,e){for(var a=this.nodes,i=a.length,n=0;n=0&&t.call(e,a[n],n)},r.prototype.eachEdge=function(t,e){for(var a=this.edges,i=a.length,n=0;n=0&&a[n].node1.dataIndex>=0&&a[n].node2.dataIndex>=0&&t.call(e,a[n],n)},r.prototype.breadthFirstTraverse=function(t,e,a,i){if(e instanceof is||(e=this._nodesMap[gl(e)]),!!e){for(var n=a==="out"?"outEdges":a==="in"?"inEdges":"edges",o=0;o=0&&l.node2.dataIndex>=0});for(var n=0,o=i.length;n=0&&this[r][t].setItemVisual(this.dataIndex,e,a)},getVisual:function(e){return this[r][t].getItemVisual(this.dataIndex,e)},setLayout:function(e,a){this.dataIndex>=0&&this[r][t].setItemLayout(this.dataIndex,e,a)},getLayout:function(){return this[r][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[r][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[r][t].getRawIndex(this.dataIndex)}}}nr(is,S8("hostGraph","data"));nr(x8,S8("hostGraph","edgeData"));function b8(r,t,e,a,i){for(var n=new $ne(a),o=0;o "+f)),u++)}var c=e.get("coordinateSystem"),d;if(c==="cartesian2d"||c==="polar")d=Qi(r,e);else{var p=pu.get(c),g=p?p.dimensions||[]:[];nt(g,"value")<0&&g.concat(["value"]);var m=_u(r,{coordDimensions:g,encodeDefine:e.getEncode()}).dimensions;d=new Xr(m,e),d.initData(r)}var y=new Xr(["value"],e);return y.initData(l,s),i&&i(d,y),a8({mainData:d,struct:n,structAttr:"graph",datas:{node:d,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),n.update(),n}var Yne=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return t.prototype.init=function(e){r.prototype.init.apply(this,arguments);var a=this;function i(){return a._categoriesData}this.legendVisualProvider=new rf(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},t.prototype.mergeOption=function(e){r.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},t.prototype.mergeDefaultAndTheme=function(e){r.prototype.mergeDefaultAndTheme.apply(this,arguments),Ms(e,"edgeLabel",["show"])},t.prototype.getInitialData=function(e,a){var i=e.edges||e.links||[],n=e.data||e.nodes||[],o=this;if(n&&i){Ene(this);var s=b8(n,i,this,!0,l);return $(s.edges,function(u){kne(u.node1,u.node2,this,u.dataIndex)},this),s.data}function l(u,v){u.wrapMethod("getItemModel",function(d){var p=o._categoriesModels,g=d.getShallow("category"),m=p[g];return m&&(m.parentModel=d.parentModel,d.parentModel=m),d});var h=Mt.prototype.getModel;function f(d,p){var g=h.call(this,d,p);return g.resolveParentPath=c,g}v.wrapMethod("getItemModel",function(d){return d.resolveParentPath=c,d.getModel=f,d});function c(d){if(d&&(d[0]==="label"||d[1]==="label")){var p=d.slice();return d[0]==="label"?p[0]="edgeLabel":d[1]==="label"&&(p[1]="edgeLabel"),p}return d}}},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.getCategoriesData=function(){return this._categoriesData},t.prototype.formatTooltip=function(e,a,i){if(i==="edge"){var n=this.getData(),o=this.getDataParams(e,i),s=n.graph.getEdgeByIndex(e),l=n.getName(s.node1.dataIndex),u=n.getName(s.node2.dataIndex),v=[];return l!=null&&v.push(l),u!=null&&v.push(u),Mr("nameValue",{name:v.join(" > "),value:o.value,noValue:o.value==null})}var h=aU({series:this,dataIndex:e,multipleSeries:a});return h},t.prototype._updateCategoriesData=function(){var e=we(this.option.categories||[],function(i){return i.value!=null?i:_e({value:0},i)}),a=new Xr(["value"],this);a.initData(e),this._categoriesData=a,this._categoriesModels=a.mapArray(function(i){return a.getItemModel(i)})},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.isAnimationEnabled=function(){return r.prototype.isAnimationEnabled.call(this)&&!(this.get("layout")==="force"&&this.get(["force","layoutAnimation"]))},t.type="series.graph",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t})(zt),Zne={type:"graphRoam",event:"graphRoam",update:"none"};function Xne(r){r.registerChartView(Une),r.registerSeriesModel(Yne),r.registerProcessor(Dne),r.registerVisual(Lne),r.registerVisual(Ine),r.registerLayout(One),r.registerLayout(r.PRIORITY.VISUAL.POST_CHART_LAYOUT,zne),r.registerLayout(Vne),r.registerCoordinateSystem("graphView",{dimensions:nf.dimensions,create:Fne}),r.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},ir),r.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},ir),r.registerAction(Zne,function(t,e,a){e.eachComponent({mainType:"series",query:t},function(i){var n=i.coordinateSystem,o=jC(n,t,void 0,a);i.setCenter&&i.setCenter(o.center),i.setZoom&&i.setZoom(o.zoom)})})}var Kne=(function(){function r(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return r})(),Qne=(function(r){he(t,r);function t(e){var a=r.call(this,e)||this;return a.type="pointer",a}return t.prototype.getDefaultShape=function(){return new Kne},t.prototype.buildPath=function(e,a){var i=Math.cos,n=Math.sin,o=a.r,s=a.width,l=a.angle,u=a.x-i(l)*s*(s>=o/3?1:2),v=a.y-n(l)*s*(s>=o/3?1:2);l=a.angle-Math.PI/2,e.moveTo(u,v),e.lineTo(a.x+i(l)*s,a.y+n(l)*s),e.lineTo(a.x+i(a.angle)*o,a.y+n(a.angle)*o),e.lineTo(a.x-i(l)*s,a.y-n(l)*s),e.lineTo(u,v)},t})(ht);function jne(r,t){var e=r.get("center"),a=t.getWidth(),i=t.getHeight(),n=Math.min(a,i),o=Ie(e[0],t.getWidth()),s=Ie(e[1],t.getHeight()),l=Ie(r.get("radius"),n/2);return{cx:o,cy:s,r:l}}function cc(r,t){var e=r==null?"":r+"";return t&&(Re(t)?e=t.replace("{value}",e):He(t)&&(e=t(r))),e}var Jne=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,a,i){this.group.removeAll();var n=e.get(["axisLine","lineStyle","color"]),o=jne(e,i);this._renderMain(e,a,i,n,o),this._data=e.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(e,a,i,n,o){var s=this.group,l=e.get("clockwise"),u=-e.get("startAngle")/180*Math.PI,v=-e.get("endAngle")/180*Math.PI,h=e.getModel("axisLine"),f=h.get("roundCap"),c=f?Xd:Qr,d=h.get("show"),p=h.getModel("lineStyle"),g=p.get("width"),m=[u,v];XA(m,!l),u=m[0],v=m[1];for(var y=v-u,_=u,x=[],S=0;d&&S=T&&(C===0?0:n[C-1][0])Math.PI/2&&(z+=Math.PI)):O==="tangential"?z=-A-Math.PI/2:bt(O)&&(z=O*Math.PI/180),z===0?h.add(new pt({style:Ht(_,{text:B,x:V,y:N,verticalAlign:I<-.8?"top":I>.8?"bottom":"middle",align:P<-.4?"left":P>.4?"right":"center"},{inheritColor:F}),silent:!0})):h.add(new pt({style:Ht(_,{text:B,x:V,y:N,verticalAlign:"middle",align:"center"},{inheritColor:F}),silent:!0,originX:V,originY:N,rotation:z}))}if(y.get("show")&&R!==x){var E=y.get("distance");E=E?E+v:v;for(var G=0;G<=S;G++){P=Math.cos(A),I=Math.sin(A);var q=new xr({shape:{x1:P*(d-E)+f,y1:I*(d-E)+c,x2:P*(d-w-E)+f,y2:I*(d-w-E)+c},silent:!0,style:L});L.stroke==="auto"&&q.setStyle({stroke:n((R+G/S)/x)}),h.add(q),A+=C}A-=C}else A+=T}},t.prototype._renderPointer=function(e,a,i,n,o,s,l,u,v){var h=this.group,f=this._data,c=this._progressEls,d=[],p=e.get(["pointer","show"]),g=e.getModel("progress"),m=g.get("show"),y=e.getData(),_=y.mapDimension("value"),x=+e.get("min"),S=+e.get("max"),b=[x,S],w=[s,l];function A(C,M){var L=y.getItemModel(C),D=L.getModel("pointer"),P=Ie(D.get("width"),o.r),I=Ie(D.get("length"),o.r),R=e.get(["pointer","icon"]),E=D.get("offsetCenter"),k=Ie(E[0],o.r),B=Ie(E[1],o.r),F=D.get("keepAspect"),V;return R?V=lr(R,k-P/2,B-I,P,I,null,F):V=new Qne({shape:{angle:-Math.PI/2,width:P,r:I,x:k,y:B}}),V.rotation=-(M+Math.PI/2),V.x=o.cx,V.y=o.cy,V}function T(C,M){var L=g.get("roundCap"),D=L?Xd:Qr,P=g.get("overlap"),I=P?g.get("width"):v/y.count(),R=P?o.r-I:o.r-(C+1)*I,E=P?o.r:o.r-C*I,k=new D({shape:{startAngle:s,endAngle:M,cx:o.cx,cy:o.cy,clockwise:u,r0:R,r:E}});return P&&(k.z2=Pt(y.get(_,C),[x,S],[100,0],!0)),k}(m||p)&&(y.diff(f).add(function(C){var M=y.get(_,C);if(p){var L=A(C,s);$t(L,{rotation:-((isNaN(+M)?w[0]:Pt(M,b,w,!0))+Math.PI/2)},e),h.add(L),y.setItemGraphicEl(C,L)}if(m){var D=T(C,s),P=g.get("clip");$t(D,{shape:{endAngle:Pt(M,b,w,P)}},e),h.add(D),lT(e.seriesIndex,y.dataType,C,D),d[C]=D}}).update(function(C,M){var L=y.get(_,C);if(p){var D=f.getItemGraphicEl(M),P=D?D.rotation:s,I=A(C,P);I.rotation=P,wt(I,{rotation:-((isNaN(+L)?w[0]:Pt(L,b,w,!0))+Math.PI/2)},e),h.add(I),y.setItemGraphicEl(C,I)}if(m){var R=c[M],E=R?R.shape.endAngle:s,k=T(C,E),B=g.get("clip");wt(k,{shape:{endAngle:Pt(L,b,w,B)}},e),h.add(k),lT(e.seriesIndex,y.dataType,C,k),d[C]=k}}).execute(),y.each(function(C){var M=y.getItemModel(C),L=M.getModel("emphasis"),D=L.get("focus"),P=L.get("blurScope"),I=L.get("disabled");if(p){var R=y.getItemGraphicEl(C),E=y.getItemVisual(C,"style"),k=E.fill;if(R instanceof Dr){var B=R.style;R.useStyle(_e({image:B.image,x:B.x,y:B.y,width:B.width,height:B.height},E))}else R.useStyle(E),R.type!=="pointer"&&R.setColor(k);R.setStyle(M.getModel(["pointer","itemStyle"]).getItemStyle()),R.style.fill==="auto"&&R.setStyle("fill",n(Pt(y.get(_,C),b,[0,1],!0))),R.z2EmphasisLift=0,Vr(R,M),tr(R,D,P,I)}if(m){var F=d[C];F.useStyle(y.getItemVisual(C,"style")),F.setStyle(M.getModel(["progress","itemStyle"]).getItemStyle()),F.z2EmphasisLift=0,Vr(F,M),tr(F,D,P,I)}}),this._progressEls=d)},t.prototype._renderAnchor=function(e,a){var i=e.getModel("anchor"),n=i.get("show");if(n){var o=i.get("size"),s=i.get("icon"),l=i.get("offsetCenter"),u=i.get("keepAspect"),v=lr(s,a.cx-o/2+Ie(l[0],a.r),a.cy-o/2+Ie(l[1],a.r),o,o,null,u);v.z2=i.get("showAbove")?1:0,v.setStyle(i.getModel("itemStyle").getItemStyle()),this.group.add(v)}},t.prototype._renderTitleAndDetail=function(e,a,i,n,o){var s=this,l=e.getData(),u=l.mapDimension("value"),v=+e.get("min"),h=+e.get("max"),f=new Ze,c=[],d=[],p=e.isAnimationEnabled(),g=e.get(["pointer","showAbove"]);l.diff(this._data).add(function(m){c[m]=new pt({silent:!0}),d[m]=new pt({silent:!0})}).update(function(m,y){c[m]=s._titleEls[y],d[m]=s._detailEls[y]}).execute(),l.each(function(m){var y=l.getItemModel(m),_=l.get(u,m),x=new Ze,S=n(Pt(_,[v,h],[0,1],!0)),b=y.getModel("title");if(b.get("show")){var w=b.get("offsetCenter"),A=o.cx+Ie(w[0],o.r),T=o.cy+Ie(w[1],o.r),C=c[m];C.attr({z2:g?0:2,style:Ht(b,{x:A,y:T,text:l.getName(m),align:"center",verticalAlign:"middle"},{inheritColor:S})}),x.add(C)}var M=y.getModel("detail");if(M.get("show")){var L=M.get("offsetCenter"),D=o.cx+Ie(L[0],o.r),P=o.cy+Ie(L[1],o.r),I=Ie(M.get("width"),o.r),R=Ie(M.get("height"),o.r),E=e.get(["progress","show"])?l.getItemVisual(m,"style").fill:S,C=d[m],k=M.get("formatter");C.attr({z2:g?0:2,style:Ht(M,{x:D,y:P,text:cc(_,k),width:isNaN(I)?null:I,height:isNaN(R)?null:R,align:"center",verticalAlign:"middle"},{inheritColor:E})}),vW(C,{normal:M},_,function(F){return cc(F,k)}),p&&hW(C,m,l,e,{getFormattedLabel:function(F,V,N,O,z,G){return cc(G?G.interpolatedValue:_,k)}}),x.add(C)}f.add(x)}),this.group.add(f),this._titleEls=c,this._detailEls=d},t.type="gauge",t})(kt),eoe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.visualStyleAccessPath="itemStyle",e}return t.prototype.getInitialData=function(e,a){return bu(this,["value"])},t.type="series.gauge",t.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},t})(zt);function toe(r){r.registerChartView(Jne),r.registerSeriesModel(eoe)}var roe=["itemStyle","opacity"],aoe=(function(r){he(t,r);function t(e,a){var i=r.call(this)||this,n=i,o=new ea,s=new pt;return n.setTextContent(s),i.setTextGuideLine(o),i.updateData(e,a,!0),i}return t.prototype.updateData=function(e,a,i){var n=this,o=e.hostModel,s=e.getItemModel(a),l=e.getItemLayout(a),u=s.getModel("emphasis"),v=s.get(roe);v=v==null?1:v,i||xi(n),n.useStyle(e.getItemVisual(a,"style")),n.style.lineJoin="round",i?(n.setShape({points:l.points}),n.style.opacity=0,$t(n,{style:{opacity:v}},o,a)):wt(n,{style:{opacity:v},shape:{points:l.points}},o,a),Vr(n,s),this._updateLabel(e,a),tr(this,u.get("focus"),u.get("blurScope"),u.get("disabled"))},t.prototype._updateLabel=function(e,a){var i=this,n=this.getTextGuideLine(),o=i.getTextContent(),s=e.hostModel,l=e.getItemModel(a),u=e.getItemLayout(a),v=u.label,h=e.getItemVisual(a,"style"),f=h.fill;Gr(o,Cr(l),{labelFetcher:e.hostModel,labelDataIndex:a,defaultOpacity:h.opacity,defaultText:e.getName(a)},{normal:{align:v.textAlign,verticalAlign:v.verticalAlign}}),i.setTextConfig({local:!0,inside:!!v.inside,insideStroke:f,outsideFill:f});var c=v.linePoints;n.setShape({points:c}),i.textGuideLineConfig={anchor:c?new rt(c[0][0],c[0][1]):null},wt(o,{style:{x:v.x,y:v.y}},s,a),o.attr({rotation:v.rotation,originX:v.x,originY:v.y,z2:10}),WC(i,UC(l),{stroke:f})},t})(jr),ioe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.ignoreLabelLineUpdate=!0,e}return t.prototype.render=function(e,a,i){var n=e.getData(),o=this._data,s=this.group;n.diff(o).add(function(l){var u=new aoe(n,l);n.setItemGraphicEl(l,u),s.add(u)}).update(function(l,u){var v=o.getItemGraphicEl(u);v.updateData(n,l),s.add(v),n.setItemGraphicEl(l,v)}).remove(function(l){var u=o.getItemGraphicEl(l);mh(u,e,l)}).execute(),this._data=n},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.prototype.dispose=function(){},t.type="funnel",t})(kt),noe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new rf(Ne(this.getData,this),Ne(this.getRawData,this)),this._defaultLabelLine(e)},t.prototype.getInitialData=function(e,a){return bu(this,{coordDimensions:["value"],encodeDefaulter:et(yC,this)})},t.prototype._defaultLabelLine=function(e){Ms(e,"labelLine",["show"]);var a=e.labelLine,i=e.emphasis.labelLine;a.show=a.show&&e.label.show,i.show=i.show&&e.emphasis.label.show},t.prototype.getDataParams=function(e){var a=this.getData(),i=r.prototype.getDataParams.call(this,e),n=a.mapDimension("value"),o=a.getSum(n);return i.percent=o?+(a.get(n,e)/o*100).toFixed(2):0,i.$vars.push("percent"),i},t.type="series.funnel",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t})(zt);function ooe(r,t){return dr(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function soe(r,t){for(var e=r.mapDimension("value"),a=r.mapArray(e,function(l){return l}),i=[],n=t==="ascending",o=0,s=r.count();owoe)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([r.offsetX,r.offsetY]);i.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(r){if(!(this._mouseDownPoint||!fy(this,"mousemove"))){var t=this._model,e=t.coordinateSystem.getSlidedAxisExpandWindow([r.offsetX,r.offsetY]),a=e.behavior;a==="jump"&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand(a==="none"?null:{axisExpandWindow:e.axisExpandWindow,animation:a==="jump"?null:{duration:0}})}}};function fy(r,t){var e=r._model;return e.get("axisExpandable")&&e.get("axisExpandTriggerOn")===t}var Coe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(){r.prototype.init.apply(this,arguments),this.mergeOption({})},t.prototype.mergeOption=function(e){var a=this.option;e&&tt(a,e,!0),this._initDimensions()},t.prototype.contains=function(e,a){var i=e.get("parallelIndex");return i!=null&&a.getComponent("parallel",i)===this},t.prototype.setAxisExpand=function(e){$(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(a){e.hasOwnProperty(a)&&(this.option[a]=e[a])},this)},t.prototype._initDimensions=function(){var e=this.dimensions=[],a=this.parallelAxisIndex=[],i=Ct(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(n){return(n.get("parallelIndex")||0)===this.componentIndex},this);$(i,function(n){e.push("dim"+n.get("dim")),a.push(n.componentIndex)})},t.type="parallel",t.dependencies=["parallelAxis"],t.layoutMode="box",t.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},t})(ut),Moe=(function(r){he(t,r);function t(e,a,i,n,o){var s=r.call(this,e,a,i)||this;return s.type=n||"value",s.axisIndex=o,s}return t.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"},t})(Ja);function qs(r,t,e,a,i,n){r=r||0;var o=e[1]-e[0];if(i!=null&&(i=ml(i,[0,o])),n!=null&&(n=Math.max(n,i!=null?i:0)),a==="all"){var s=Math.abs(t[1]-t[0]);s=ml(s,[0,o]),i=n=ml(s,[i,n]),a=0}t[0]=ml(t[0],e),t[1]=ml(t[1],e);var l=cy(t,a);t[a]+=r;var u=i||0,v=e.slice();l.sign<0?v[0]+=u:v[1]-=u,t[a]=ml(t[a],v);var h;return h=cy(t,a),i!=null&&(h.sign!==l.sign||h.spann&&(t[1-a]=t[a]+h.sign*n),t}function cy(r,t){var e=r[t]-r[1-t];return{span:Math.abs(e),sign:e>0?-1:e<0?1:t?-1:1}}function ml(r,t){return Math.min(t[1]!=null?t[1]:1/0,Math.max(t[0]!=null?t[0]:-1/0,r))}var dy=$,T8=Math.min,A8=Math.max,GP=Math.floor,Doe=Math.ceil,FP=ar,Loe=Math.PI,Ioe=(function(){function r(t,e,a){this.type="parallel",this._axesMap=Ge(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,a)}return r.prototype._init=function(t,e,a){var i=t.dimensions,n=t.parallelAxisIndex;dy(i,function(o,s){var l=n[s],u=e.getComponent("parallelAxis",l),v=this._axesMap.set(o,new Moe(o,Kh(u),[0,0],u.get("type"),l)),h=v.type==="category";v.onBand=h&&u.get("boundaryGap"),v.inverse=u.get("inverse"),u.axis=v,v.model=u,v.coordinateSystem=u.coordinateSystem=this},this)},r.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},r.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),a=e.axisBase,i=e.layoutBase,n=e.pixelDimIndex,o=t[1-n],s=t[n];return o>=a&&o<=a+e.axisLength&&s>=i&&s<=i+e.layoutLength},r.prototype.getModel=function(){return this._model},r.prototype._updateAxesFromSeries=function(t,e){e.eachSeries(function(a){if(t.contains(a,e)){var i=a.getData();dy(this.dimensions,function(n){var o=this._axesMap.get(n);o.scale.unionExtentFromData(i,i.mapDimension(n)),Rs(o.scale,o.model)},this)}},this)},r.prototype.resize=function(t,e){this._rect=dr(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},r.prototype.getRect=function(){return this._rect},r.prototype._makeLayoutInfo=function(){var t=this._model,e=this._rect,a=["x","y"],i=["width","height"],n=t.get("layout"),o=n==="horizontal"?0:1,s=e[i[o]],l=[0,s],u=this.dimensions.length,v=dc(t.get("axisExpandWidth"),l),h=dc(t.get("axisExpandCount")||0,[0,u]),f=t.get("axisExpandable")&&u>3&&u>h&&h>1&&v>0&&s>0,c=t.get("axisExpandWindow"),d;if(c)d=dc(c[1]-c[0],l),c[1]=c[0]+d;else{d=dc(v*(h-1),l);var p=t.get("axisExpandCenter")||GP(u/2);c=[v*p-d/2],c[1]=c[0]+d}var g=(s-d)/(u-h);g<3&&(g=0);var m=[GP(FP(c[0]/v,1))+1,Doe(FP(c[1]/v,1))-1],y=g/v*c[0];return{layout:n,pixelDimIndex:o,layoutBase:e[a[o]],layoutLength:s,axisBase:e[a[1-o]],axisLength:e[i[1-o]],axisExpandable:f,axisExpandWidth:v,axisCollapseWidth:g,axisExpandWindow:c,axisCount:u,winInnerIndices:m,axisExpandWindow0Pos:y}},r.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,a=this.dimensions,i=this._makeLayoutInfo(),n=i.layout;e.each(function(o){var s=[0,i.axisLength],l=o.inverse?1:0;o.setExtent(s[l],s[1-l])}),dy(a,function(o,s){var l=(i.axisExpandable?Roe:Poe)(s,i),u={horizontal:{x:l.position,y:i.axisLength},vertical:{x:0,y:l.position}},v={horizontal:Loe/2,vertical:0},h=[u[n].x+t.x,u[n].y+t.y],f=v[n],c=xa();co(c,c,f),yi(c,c,h),this._axesLayout[o]={position:h,rotation:f,transform:c,axisNameAvailableWidth:l.axisNameAvailableWidth,axisLabelShow:l.axisLabelShow,nameTruncateMaxWidth:l.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},r.prototype.getAxis=function(t){return this._axesMap.get(t)},r.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},r.prototype.eachActiveState=function(t,e,a,i){a==null&&(a=0),i==null&&(i=t.count());var n=this._axesMap,o=this.dimensions,s=[],l=[];$(o,function(g){s.push(t.mapDimension(g)),l.push(n.get(g).model)});for(var u=this.hasAxisBrushed(),v=a;vn*(1-h[0])?(u="jump",l=s-n*(1-h[2])):(l=s-n*h[1])>=0&&(l=s-n*(1-h[1]))<=0&&(l=0),l*=e.axisExpandWidth/v,l?qs(l,i,o,"all"):u="none";else{var c=i[1]-i[0],d=o[1]*s/c;i=[A8(0,d-c/2)],i[1]=T8(o[1],i[0]+c),i[0]=i[1]-c}return{axisExpandWindow:i,behavior:u}},r})();function dc(r,t){return T8(A8(r,t[0]),t[1])}function Poe(r,t){var e=t.layoutLength/(t.axisCount-1);return{position:e*r,axisNameAvailableWidth:e,axisLabelShow:!0}}function Roe(r,t){var e=t.layoutLength,a=t.axisExpandWidth,i=t.axisCount,n=t.axisCollapseWidth,o=t.winInnerIndices,s,l=n,u=!1,v;return r=0;i--)Ta(a[i])},t.prototype.getActiveState=function(e){var a=this.activeIntervals;if(!a.length)return"normal";if(e==null||isNaN(+e))return"inactive";if(a.length===1){var i=a[0];if(i[0]<=e&&e<=i[1])return"active"}else for(var n=0,o=a.length;nzoe}function P8(r){var t=r.length-1;return t<0&&(t=0),[r[0],r[t]]}function R8(r,t,e,a){var i=new Ze;return i.add(new gt({name:"main",style:fM(e),silent:!0,draggable:!0,cursor:"move",drift:et(WP,r,t,i,["n","s","w","e"]),ondragend:et(ks,t,{isEnd:!0})})),$(a,function(n){i.add(new gt({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:et(WP,r,t,i,n),ondragend:et(ks,t,{isEnd:!0})}))}),i}function E8(r,t,e,a){var i=a.brushStyle.lineWidth||0,n=eu(i,Boe),o=e[0][0],s=e[1][0],l=o-i/2,u=s-i/2,v=e[0][1],h=e[1][1],f=v-n+i/2,c=h-n+i/2,d=v-o,p=h-s,g=d+i,m=p+i;sn(r,t,"main",o,s,d,p),a.transformable&&(sn(r,t,"w",l,u,n,m),sn(r,t,"e",f,u,n,m),sn(r,t,"n",l,u,g,n),sn(r,t,"s",l,c,g,n),sn(r,t,"nw",l,u,n,n),sn(r,t,"ne",f,u,n,n),sn(r,t,"sw",l,c,n,n),sn(r,t,"se",f,c,n,n))}function jT(r,t){var e=t.__brushOption,a=e.transformable,i=t.childAt(0);i.useStyle(fM(e)),i.attr({silent:!a,cursor:a?"move":"default"}),$([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(n){var o=t.childOfName(n.join("")),s=n.length===1?JT(r,n[0]):Woe(r,n);o&&o.attr({silent:!a,invisible:!a,cursor:a?Goe[s]+"-resize":null})})}function sn(r,t,e,a,i,n,o){var s=t.childOfName(e);s&&s.setShape($oe(cM(r,t,[[a,i],[a+n,i+o]])))}function fM(r){return Ue({strokeNoScale:!0},r.brushStyle)}function k8(r,t,e,a){var i=[Ph(r,e),Ph(t,a)],n=[eu(r,e),eu(t,a)];return[[i[0],n[0]],[i[1],n[1]]]}function qoe(r){return ro(r.group)}function JT(r,t){var e={w:"left",e:"right",n:"top",s:"bottom"},a={left:"w",right:"e",top:"n",bottom:"s"},i=Op(e[t],qoe(r));return a[i]}function Woe(r,t){var e=[JT(r,t[0]),JT(r,t[1])];return(e[0]==="e"||e[0]==="w")&&e.reverse(),e.join("")}function WP(r,t,e,a,i,n){var o=e.__brushOption,s=r.toRectRange(o.range),l=O8(t,i,n);$(a,function(u){var v=Voe[u];s[v[0]][v[1]]+=l[v[0]]}),o.range=r.fromRectRange(k8(s[0][0],s[1][0],s[0][1],s[1][1])),uM(t,e),ks(t,{isEnd:!1})}function Uoe(r,t,e,a){var i=t.__brushOption.range,n=O8(r,e,a);$(i,function(o){o[0]+=n[0],o[1]+=n[1]}),uM(r,t),ks(r,{isEnd:!1})}function O8(r,t,e){var a=r.group,i=a.transformCoordToLocal(t,e),n=a.transformCoordToLocal(0,0);return[i[0]-n[0],i[1]-n[1]]}function cM(r,t,e){var a=I8(r,t);return a&&a!==Es?a.clipPath(e,r._transform):Ye(e)}function $oe(r){var t=Ph(r[0][0],r[1][0]),e=Ph(r[0][1],r[1][1]),a=eu(r[0][0],r[1][0]),i=eu(r[0][1],r[1][1]);return{x:t,y:e,width:a-t,height:i-e}}function Yoe(r,t,e){if(!(!r._brushType||Xoe(r,t.offsetX,t.offsetY))){var a=r._zr,i=r._covers,n=hM(r,t,e);if(!r._dragging)for(var o=0;oa.getWidth()||e<0||e>a.getHeight()}var rg={lineX:YP(0),lineY:YP(1),rect:{createCover:function(r,t){function e(a){return a}return R8({toRectRange:e,fromRectRange:e},r,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(r){var t=P8(r);return k8(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(r,t,e,a){E8(r,t,e,a)},updateCommon:jT,contain:tA},polygon:{createCover:function(r,t){var e=new Ze;return e.add(new ea({name:"main",style:fM(t),silent:!0})),e},getCreatingRange:function(r){return r},endCreating:function(r,t){t.remove(t.childAt(0)),t.add(new jr({name:"main",draggable:!0,drift:et(Uoe,r,t),ondragend:et(ks,r,{isEnd:!0})}))},updateCoverShape:function(r,t,e,a){t.childAt(0).setShape({points:cM(r,t,e)})},updateCommon:jT,contain:tA}};function YP(r){return{createCover:function(t,e){return R8({toRectRange:function(a){var i=[a,[0,100]];return r&&i.reverse(),i},fromRectRange:function(a){return a[r]}},t,e,[[["w"],["e"]],[["n"],["s"]]][r])},getCreatingRange:function(t){var e=P8(t),a=Ph(e[0][r],e[1][r]),i=eu(e[0][r],e[1][r]);return[a,i]},updateCoverShape:function(t,e,a,i){var n,o=I8(t,e);if(o!==Es&&o.getLinearBrushOtherExtent)n=o.getLinearBrushOtherExtent(r);else{var s=t._zr;n=[0,[s.getWidth(),s.getHeight()][1-r]]}var l=[a,n];r&&l.reverse(),E8(t,e,l,i)},updateCommon:jT,contain:tA}}function z8(r){return r=dM(r),function(t){return oC(t,r)}}function B8(r,t){return r=dM(r),function(e){var a=t!=null?t:e,i=a?r.width:r.height,n=a?r.x:r.y;return[n,n+(i||0)]}}function V8(r,t,e){var a=dM(r);return function(i,n){return a.contain(n[0],n[1])&&!jp(i,t,e)}}function dM(r){return at.create(r)}var Koe=["axisLine","axisTickLabel","axisName"],Qoe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,a){r.prototype.init.apply(this,arguments),(this._brushController=new lM(a.getZr())).on("brush",Ne(this._onBrush,this))},t.prototype.render=function(e,a,i,n){if(!joe(e,a,n)){this.axisModel=e,this.api=i,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new Ze,this.group.add(this._axisGroup),!!e.get("show")){var s=ese(e,a),l=s.coordinateSystem,u=e.getAreaSelectStyle(),v=u.width,h=e.axis.dim,f=l.getAxisLayout(h),c=_e({strokeContainThreshold:v},f),d=new la(e,c);$(Koe,d.add,d),this._axisGroup.add(d.getGroup()),this._refreshBrushController(c,u,e,s,v,i),Yh(o,this._axisGroup,e)}}},t.prototype._refreshBrushController=function(e,a,i,n,o,s){var l=i.axis.getExtent(),u=l[1]-l[0],v=Math.min(30,Math.abs(u)*.1),h=at.create({x:l[0],y:-o/2,width:u,height:o});h.x-=v,h.width+=2*v,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,x:e.position[0],y:e.position[1]}).setPanels([{panelId:"pl",clipPath:z8(h),isTargetByCursor:V8(h,s,n),getLinearBrushOtherExtent:B8(h,0)}]).enableBrush({brushType:"lineX",brushStyle:a,removeOnClick:!0}).updateCovers(Joe(i))},t.prototype._onBrush=function(e){var a=e.areas,i=this.axisModel,n=i.axis,o=we(a,function(s){return[n.coordToData(s.range[0],!0),n.coordToData(s.range[1],!0)]});(!i.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:i.id,intervals:o})},t.prototype.dispose=function(){this._brushController.dispose()},t.type="parallelAxis",t})(Wt);function joe(r,t,e){return e&&e.type==="axisAreaSelect"&&t.findComponents({mainType:"parallelAxis",query:e})[0]===r}function Joe(r){var t=r.axis;return we(r.activeIntervals,function(e){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}})}function ese(r,t){return t.getComponent("parallel",r.get("parallelIndex"))}var tse={type:"axisAreaSelect",event:"axisAreaSelected"};function rse(r){r.registerAction(tse,function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},function(a){a.axis.model.setActiveIntervals(t.intervals)})}),r.registerAction("parallelAxisExpand",function(t,e){e.eachComponent({mainType:"parallel",query:t},function(a){a.setAxisExpand(t)})})}var ase={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function G8(r){r.registerComponentView(Toe),r.registerComponentModel(Coe),r.registerCoordinateSystem("parallel",koe),r.registerPreprocessor(xoe),r.registerComponentModel(KT),r.registerComponentView(Qoe),Jl(r,"parallel",KT,ase),rse(r)}function ise(r){ot(G8),r.registerChartView(foe),r.registerSeriesModel(poe),r.registerVisual(r.PRIORITY.VISUAL.BRUSH,_oe)}var nse=(function(){function r(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return r})(),ose=(function(r){he(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new nse},t.prototype.buildPath=function(e,a){var i=a.extent;e.moveTo(a.x1,a.y1),e.bezierCurveTo(a.cpx1,a.cpy1,a.cpx2,a.cpy2,a.x2,a.y2),a.orient==="vertical"?(e.lineTo(a.x2+i,a.y2),e.bezierCurveTo(a.cpx2+i,a.cpy2,a.cpx1+i,a.cpy1,a.x1+i,a.y1)):(e.lineTo(a.x2,a.y2+i),e.bezierCurveTo(a.cpx2,a.cpy2+i,a.cpx1,a.cpy1+i,a.x1,a.y1+i)),e.closePath()},t.prototype.highlight=function(){xn(this)},t.prototype.downplay=function(){Sn(this)},t})(ht),sse=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._focusAdjacencyDisabled=!1,e}return t.prototype.render=function(e,a,i){var n=this,o=e.getGraph(),s=this.group,l=e.layoutInfo,u=l.width,v=l.height,h=e.getData(),f=e.getData("edge"),c=e.get("orient");this._model=e,s.removeAll(),s.x=l.x,s.y=l.y,o.eachEdge(function(d){var p=new ose,g=Xe(p);g.dataIndex=d.dataIndex,g.seriesIndex=e.seriesIndex,g.dataType="edge";var m=d.getModel(),y=m.getModel("lineStyle"),_=y.get("curveness"),x=d.node1.getLayout(),S=d.node1.getModel(),b=S.get("localX"),w=S.get("localY"),A=d.node2.getLayout(),T=d.node2.getModel(),C=T.get("localX"),M=T.get("localY"),L=d.getLayout(),D,P,I,R,E,k,B,F;p.shape.extent=Math.max(1,L.dy),p.shape.orient=c,c==="vertical"?(D=(b!=null?b*u:x.x)+L.sy,P=(w!=null?w*v:x.y)+x.dy,I=(C!=null?C*u:A.x)+L.ty,R=M!=null?M*v:A.y,E=D,k=P*(1-_)+R*_,B=I,F=P*_+R*(1-_)):(D=(b!=null?b*u:x.x)+x.dx,P=(w!=null?w*v:x.y)+L.sy,I=C!=null?C*u:A.x,R=(M!=null?M*v:A.y)+L.ty,E=D*(1-_)+I*_,k=P,B=D*_+I*(1-_),F=R),p.setShape({x1:D,y1:P,x2:I,y2:R,cpx1:E,cpy1:k,cpx2:B,cpy2:F}),p.useStyle(y.getItemStyle()),ZP(p.style,c,d);var V=""+m.get("value"),N=Cr(m,"edgeLabel");Gr(p,N,{labelFetcher:{getFormattedLabel:function(G,q,H,U,W,Y){return e.getFormattedLabel(G,q,"edge",U,ci(W,N.normal&&N.normal.get("formatter"),V),Y)}},labelDataIndex:d.dataIndex,defaultText:V}),p.setTextConfig({position:"inside"});var O=m.getModel("emphasis");Vr(p,m,"lineStyle",function(G){var q=G.getItemStyle();return ZP(q,c,d),q}),s.add(p),f.setItemGraphicEl(d.dataIndex,p);var z=O.get("focus");tr(p,z==="adjacency"?d.getAdjacentDataIndices():z==="trajectory"?d.getTrajectoryDataIndices():z,O.get("blurScope"),O.get("disabled"))}),o.eachNode(function(d){var p=d.getLayout(),g=d.getModel(),m=g.get("localX"),y=g.get("localY"),_=g.getModel("emphasis"),x=g.get(["itemStyle","borderRadius"])||0,S=new gt({shape:{x:m!=null?m*u:p.x,y:y!=null?y*v:p.y,width:p.dx,height:p.dy,r:x},style:g.getModel("itemStyle").getItemStyle(),z2:10});Gr(S,Cr(g),{labelFetcher:{getFormattedLabel:function(w,A){return e.getFormattedLabel(w,A,"node")}},labelDataIndex:d.dataIndex,defaultText:d.id}),S.disableLabelAnimation=!0,S.setStyle("fill",d.getVisual("color")),S.setStyle("decal",d.getVisual("style").decal),Vr(S,g),s.add(S),h.setItemGraphicEl(d.dataIndex,S),Xe(S).dataType="node";var b=_.get("focus");tr(S,b==="adjacency"?d.getAdjacentDataIndices():b==="trajectory"?d.getTrajectoryDataIndices():b,_.get("blurScope"),_.get("disabled"))}),h.eachItemGraphicEl(function(d,p){var g=h.getItemModel(p);g.get("draggable")&&(d.drift=function(m,y){n._focusAdjacencyDisabled=!0,this.shape.x+=m,this.shape.y+=y,this.dirty(),i.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:h.getRawIndex(p),localX:this.shape.x/u,localY:this.shape.y/v})},d.ondragend=function(){n._focusAdjacencyDisabled=!1},d.draggable=!0,d.cursor="move")}),!this._data&&e.isAnimationEnabled()&&s.setClipPath(lse(s.getBoundingRect(),e,function(){s.removeClipPath()})),this._data=e.getData()},t.prototype.dispose=function(){},t.type="sankey",t})(kt);function ZP(r,t,e){switch(r.fill){case"source":r.fill=e.node1.getVisual("color"),r.decal=e.node1.getVisual("style").decal;break;case"target":r.fill=e.node2.getVisual("color"),r.decal=e.node2.getVisual("style").decal;break;case"gradient":var a=e.node1.getVisual("color"),i=e.node2.getVisual("color");Re(a)&&Re(i)&&(r.fill=new lu(0,0,+(t==="horizontal"),+(t==="vertical"),[{color:a,offset:0},{color:i,offset:1}]))}}function lse(r,t,e){var a=new gt({shape:{x:r.x-10,y:r.y-10,width:0,height:r.height+20}});return $t(a,{shape:{width:r.width+20}},t,e),a}var use=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(e,a){var i=e.edges||e.links||[],n=e.data||e.nodes||[],o=e.levels||[];this.levelModels=[];for(var s=this.levelModels,l=0;l=0&&(s[o[l].depth]=new Mt(o[l],this,a));var u=b8(n,i,this,!0,v);return u.data;function v(h,f){h.wrapMethod("getItemModel",function(c,d){var p=c.parentModel,g=p.getData().getItemLayout(d);if(g){var m=g.depth,y=p.levelModels[m];y&&(c.parentModel=y)}return c}),f.wrapMethod("getItemModel",function(c,d){var p=c.parentModel,g=p.getGraph().getEdgeByIndex(d),m=g.node1.getLayout();if(m){var y=m.depth,_=p.levelModels[y];_&&(c.parentModel=_)}return c})}},t.prototype.setNodePosition=function(e,a){var i=this.option.data||this.option.nodes,n=i[e];n.localX=a[0],n.localY=a[1]},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.formatTooltip=function(e,a,i){function n(c){return isNaN(c)||c==null}if(i==="edge"){var o=this.getDataParams(e,i),s=o.data,l=o.value,u=s.source+" -- "+s.target;return Mr("nameValue",{name:u,value:l,noValue:n(l)})}else{var v=this.getGraph().getNodeByIndex(e),h=v.getLayout().value,f=this.getDataParams(e,i).data.name;return Mr("nameValue",{name:f!=null?f+"":null,value:h,noValue:n(h)})}},t.prototype.optionUpdated=function(){},t.prototype.getDataParams=function(e,a){var i=r.prototype.getDataParams.call(this,e,a);if(i.value==null&&a==="node"){var n=this.getGraph().getNodeByIndex(e),o=n.getLayout().value;i.value=o}return i},t.type="series.sankey",t.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},t})(zt);function vse(r,t){r.eachSeriesByType("sankey",function(e){var a=e.get("nodeWidth"),i=e.get("nodeGap"),n=hse(e,t);e.layoutInfo=n;var o=n.width,s=n.height,l=e.getGraph(),u=l.nodes,v=l.edges;cse(u);var h=Ct(u,function(p){return p.getLayout().value===0}),f=h.length!==0?0:e.get("layoutIterations"),c=e.get("orient"),d=e.get("nodeAlign");fse(u,v,a,i,o,s,f,c,d)})}function hse(r,t){return dr(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function fse(r,t,e,a,i,n,o,s,l){dse(r,t,e,i,n,s,l),yse(r,t,n,i,a,o,s),Mse(r,s)}function cse(r){$(r,function(t){var e=no(t.outEdges,tp),a=no(t.inEdges,tp),i=t.getValue()||0,n=Math.max(e,a,i);t.setLayout({value:n},!0)})}function dse(r,t,e,a,i,n,o){for(var s=[],l=[],u=[],v=[],h=0,f=0;f=0;m&&g.depth>c&&(c=g.depth),p.setLayout({depth:m?g.depth:h},!0),n==="vertical"?p.setLayout({dy:e},!0):p.setLayout({dx:e},!0);for(var y=0;yh-1?c:h-1;o&&o!=="left"&&pse(r,o,n,w);var A=n==="vertical"?(i-e)/w:(a-e)/w;mse(r,A,n)}function F8(r){var t=r.hostGraph.data.getRawDataItem(r.dataIndex);return t.depth!=null&&t.depth>=0}function pse(r,t,e,a){if(t==="right"){for(var i=[],n=r,o=0;n.length;){for(var s=0;s0;n--)l*=.99,Sse(s,l,o),py(s,i,e,a,o),Cse(s,l,o),py(s,i,e,a,o)}function _se(r,t){var e=[],a=t==="vertical"?"y":"x",i=iT(r,function(n){return n.getLayout()[a]});return i.keys.sort(function(n,o){return n-o}),$(i.keys,function(n){e.push(i.buckets.get(n))}),e}function xse(r,t,e,a,i,n){var o=1/0;$(r,function(s){var l=s.length,u=0;$(s,function(h){u+=h.getLayout().value});var v=n==="vertical"?(a-(l-1)*i)/u:(e-(l-1)*i)/u;v0&&(s=l.getLayout()[n]+u,i==="vertical"?l.setLayout({x:s},!0):l.setLayout({y:s},!0)),v=l.getLayout()[n]+l.getLayout()[f]+t;var d=i==="vertical"?a:e;if(u=v-t-d,u>0){s=l.getLayout()[n]-u,i==="vertical"?l.setLayout({x:s},!0):l.setLayout({y:s},!0),v=s;for(var c=h-2;c>=0;--c)l=o[c],u=l.getLayout()[n]+l.getLayout()[f]+t-v,u>0&&(s=l.getLayout()[n]-u,i==="vertical"?l.setLayout({x:s},!0):l.setLayout({y:s},!0)),v=l.getLayout()[n]}})}function Sse(r,t,e){$(r.slice().reverse(),function(a){$(a,function(i){if(i.outEdges.length){var n=no(i.outEdges,bse,e)/no(i.outEdges,tp);if(isNaN(n)){var o=i.outEdges.length;n=o?no(i.outEdges,wse,e)/o:0}if(e==="vertical"){var s=i.getLayout().x+(n-vo(i,e))*t;i.setLayout({x:s},!0)}else{var l=i.getLayout().y+(n-vo(i,e))*t;i.setLayout({y:l},!0)}}})})}function bse(r,t){return vo(r.node2,t)*r.getValue()}function wse(r,t){return vo(r.node2,t)}function Tse(r,t){return vo(r.node1,t)*r.getValue()}function Ase(r,t){return vo(r.node1,t)}function vo(r,t){return t==="vertical"?r.getLayout().x+r.getLayout().dx/2:r.getLayout().y+r.getLayout().dy/2}function tp(r){return r.getValue()}function no(r,t,e){for(var a=0,i=r.length,n=-1;++no&&(o=l)}),$(a,function(s){var l=new Ar({type:"color",mappingMethod:"linear",dataExtent:[n,o],visual:t.get("color")}),u=l.mapValueToVisual(s.getLayout().value),v=s.getModel().get(["itemStyle","color"]);v!=null?(s.setVisual("color",v),s.setVisual("style",{fill:v})):(s.setVisual("color",u),s.setVisual("style",{fill:u}))})}i.length&&$(i,function(s){var l=s.getModel().get("lineStyle");s.setVisual("style",l)})})}function Lse(r){r.registerChartView(sse),r.registerSeriesModel(use),r.registerLayout(vse),r.registerVisual(Dse),r.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},function(a){a.setNodePosition(t.dataIndex,[t.localX,t.localY])})})}var H8=(function(){function r(){}return r.prototype._hasEncodeRule=function(t){var e=this.getEncode();return e&&e.get(t)!=null},r.prototype.getInitialData=function(t,e){var a,i=e.getComponent("xAxis",this.get("xAxisIndex")),n=e.getComponent("yAxis",this.get("yAxisIndex")),o=i.get("type"),s=n.get("type"),l;o==="category"?(t.layout="horizontal",a=i.getOrdinalMeta(),l=!this._hasEncodeRule("x")):s==="category"?(t.layout="vertical",a=n.getOrdinalMeta(),l=!this._hasEncodeRule("y")):t.layout=t.layout||"horizontal";var u=["x","y"],v=t.layout==="horizontal"?0:1,h=this._baseAxisDim=u[v],f=u[1-v],c=[i,n],d=c[v].get("type"),p=c[1-v].get("type"),g=t.data;if(g&&l){var m=[];$(g,function(x,S){var b;Se(x)?(b=x.slice(),x.unshift(S)):Se(x.value)?(b=_e({},x),b.value=b.value.slice(),x.value.unshift(S)):b=x,m.push(b)}),t.data=m}var y=this.defaultValueDimensions,_=[{name:h,type:Ud(d),ordinalMeta:a,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:f,type:Ud(p),dimsDef:y.slice()}];return bu(this,{coordDimensions:_,dimensionsCount:y.length+1,encodeDefaulter:et(IW,_,this)})},r.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},r})(),q8=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],e.visualDrawType="stroke",e}return t.type="series.boxplot",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},t})(zt);nr(q8,H8,!0);var Ise=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,a,i){var n=e.getData(),o=this.group,s=this._data;this._data||o.removeAll();var l=e.get("layout")==="horizontal"?1:0;n.diff(s).add(function(u){if(n.hasValue(u)){var v=n.getItemLayout(u),h=XP(v,n,u,l,!0);n.setItemGraphicEl(u,h),o.add(h)}}).update(function(u,v){var h=s.getItemGraphicEl(v);if(!n.hasValue(u)){o.remove(h);return}var f=n.getItemLayout(u);h?(xi(h),W8(f,h,n,u)):h=XP(f,n,u,l),o.add(h),n.setItemGraphicEl(u,h)}).remove(function(u){var v=s.getItemGraphicEl(u);v&&o.remove(v)}).execute(),this._data=n},t.prototype.remove=function(e){var a=this.group,i=this._data;this._data=null,i&&i.eachItemGraphicEl(function(n){n&&a.remove(n)})},t.type="boxplot",t})(kt),Pse=(function(){function r(){}return r})(),Rse=(function(r){he(t,r);function t(e){var a=r.call(this,e)||this;return a.type="boxplotBoxPath",a}return t.prototype.getDefaultShape=function(){return new Pse},t.prototype.buildPath=function(e,a){var i=a.points,n=0;for(e.moveTo(i[n][0],i[n][1]),n++;n<4;n++)e.lineTo(i[n][0],i[n][1]);for(e.closePath();np){var x=[m,_];a.push(x)}}}return{boxData:e,outliers:a}}var Vse={type:"echarts:boxplot",transform:function(t){var e=t.upstream;if(e.sourceFormat!==Jr){var a="";Rt(a)}var i=Bse(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:i.boxData},{data:i.outliers}]}};function Gse(r){r.registerSeriesModel(q8),r.registerChartView(Ise),r.registerLayout(kse),r.registerTransform(Vse)}var Fse=["itemStyle","borderColor"],Hse=["itemStyle","borderColor0"],qse=["itemStyle","borderColorDoji"],Wse=["itemStyle","color"],Use=["itemStyle","color0"];function pM(r,t){return t.get(r>0?Wse:Use)}function gM(r,t){return t.get(r===0?qse:r>0?Fse:Hse)}var $se={seriesType:"candlestick",plan:gu(),performRawSeries:!0,reset:function(r,t){if(!t.isSeriesFiltered(r)){var e=r.pipelineContext.large;return!e&&{progress:function(a,i){for(var n;(n=a.next())!=null;){var o=i.getItemModel(n),s=i.getItemLayout(n).sign,l=o.getItemStyle();l.fill=pM(s,o),l.stroke=gM(s,o)||l.fill;var u=i.ensureUniqueItemVisual(n,"style");_e(u,l)}}}}}},Yse=["color","borderColor"],Zse=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,a,i){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},t.prototype.incrementalPrepareRender=function(e,a,i){this._clear(),this._updateDrawMode(e)},t.prototype.incrementalRender=function(e,a,i,n){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(e,a):this._incrementalRenderNormal(e,a)},t.prototype.eachRendered=function(e){po(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var a=e.pipelineContext.large;(this._isLargeDraw==null||a!==this._isLargeDraw)&&(this._isLargeDraw=a,this._clear())},t.prototype._renderNormal=function(e){var a=e.getData(),i=this._data,n=this.group,o=a.getLayout("isSimpleBox"),s=e.get("clip",!0),l=e.coordinateSystem,u=l.getArea&&l.getArea();this._data||n.removeAll(),a.diff(i).add(function(v){if(a.hasValue(v)){var h=a.getItemLayout(v);if(s&&KP(u,h))return;var f=gy(h,v,!0);$t(f,{shape:{points:h.ends}},e,v),my(f,a,v,o),n.add(f),a.setItemGraphicEl(v,f)}}).update(function(v,h){var f=i.getItemGraphicEl(h);if(!a.hasValue(v)){n.remove(f);return}var c=a.getItemLayout(v);if(s&&KP(u,c)){n.remove(f);return}f?(wt(f,{shape:{points:c.ends}},e,v),xi(f)):f=gy(c),my(f,a,v,o),n.add(f),a.setItemGraphicEl(v,f)}).remove(function(v){var h=i.getItemGraphicEl(v);h&&n.remove(h)}).execute(),this._data=a},t.prototype._renderLarge=function(e){this._clear(),QP(e,this.group);var a=e.get("clip",!0)?Jh(e.coordinateSystem,!1,e):null;a?this.group.setClipPath(a):this.group.removeClipPath()},t.prototype._incrementalRenderNormal=function(e,a){for(var i=a.getData(),n=i.getLayout("isSimpleBox"),o;(o=e.next())!=null;){var s=i.getItemLayout(o),l=gy(s);my(l,i,o,n),l.incremental=!0,this.group.add(l),this._progressiveEls.push(l)}},t.prototype._incrementalRenderLarge=function(e,a){QP(a,this.group,this._progressiveEls,!0)},t.prototype.remove=function(e){this._clear()},t.prototype._clear=function(){this.group.removeAll(),this._data=null},t.type="candlestick",t})(kt),Xse=(function(){function r(){}return r})(),Kse=(function(r){he(t,r);function t(e){var a=r.call(this,e)||this;return a.type="normalCandlestickBox",a}return t.prototype.getDefaultShape=function(){return new Xse},t.prototype.buildPath=function(e,a){var i=a.points;this.__simpleBox?(e.moveTo(i[4][0],i[4][1]),e.lineTo(i[6][0],i[6][1])):(e.moveTo(i[0][0],i[0][1]),e.lineTo(i[1][0],i[1][1]),e.lineTo(i[2][0],i[2][1]),e.lineTo(i[3][0],i[3][1]),e.closePath(),e.moveTo(i[4][0],i[4][1]),e.lineTo(i[5][0],i[5][1]),e.moveTo(i[6][0],i[6][1]),e.lineTo(i[7][0],i[7][1]))},t})(ht);function gy(r,t,e){var a=r.ends;return new Kse({shape:{points:e?Qse(a,r):a},z2:100})}function KP(r,t){for(var e=!0,a=0;aS?M[n]:C[n],ends:P,brushRect:B(b,w,_)})}function E(V,N){var O=[];return O[i]=N,O[n]=V,isNaN(N)||isNaN(V)?[NaN,NaN]:t.dataToPoint(O)}function k(V,N,O){var z=N.slice(),G=N.slice();z[i]=ad(z[i]+a/2,1,!1),G[i]=ad(G[i]-a/2,1,!0),O?V.push(z,G):V.push(G,z)}function B(V,N,O){var z=E(V,O),G=E(N,O);return z[i]-=a/2,G[i]-=a/2,{x:z[0],y:z[1],width:a,height:G[1]-z[1]}}function F(V){return V[i]=ad(V[i],1),V}}function d(p,g){for(var m=Fi(p.count*4),y=0,_,x=[],S=[],b,w=g.getStore(),A=!!r.get(["itemStyle","borderColorDoji"]);(b=p.next())!=null;){var T=w.get(s,b),C=w.get(u,b),M=w.get(v,b),L=w.get(h,b),D=w.get(f,b);if(isNaN(T)||isNaN(L)||isNaN(D)){m[y++]=NaN,y+=3;continue}m[y++]=jP(w,b,C,M,v,A),x[i]=T,x[n]=L,_=t.dataToPoint(x,null,S),m[y++]=_?_[0]:NaN,m[y++]=_?_[1]:NaN,x[n]=D,_=t.dataToPoint(x,null,S),m[y++]=_?_[1]:NaN}g.setLayout("largePoints",m)}}};function jP(r,t,e,a,i,n){var o;return e>a?o=-1:e0?r.get(i,t-1)<=a?1:-1:1,o}function tle(r,t){var e=r.getBaseAxis(),a,i=e.type==="category"?e.getBandWidth():(a=e.getExtent(),Math.abs(a[1]-a[0])/t.count()),n=Ie(Je(r.get("barMaxWidth"),i),i),o=Ie(Je(r.get("barMinWidth"),1),i),s=r.get("barWidth");return s!=null?Ie(s,i):Math.max(Math.min(i/2,n),o)}function rle(r){r.registerChartView(Zse),r.registerSeriesModel(U8),r.registerPreprocessor(Jse),r.registerVisual($se),r.registerLayout(ele)}function JP(r,t){var e=t.rippleEffectColor||t.color;r.eachChild(function(a){a.attr({z:t.z,zlevel:t.zlevel,style:{stroke:t.brushType==="stroke"?e:null,fill:t.brushType==="fill"?e:null}})})}var ale=(function(r){he(t,r);function t(e,a){var i=r.call(this)||this,n=new Qh(e,a),o=new Ze;return i.add(n),i.add(o),i.updateData(e,a),i}return t.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},t.prototype.startEffectAnimation=function(e){for(var a=e.symbolType,i=e.color,n=e.rippleNumber,o=this.childAt(1),s=0;s0&&(s=this._getLineLength(n)/v*1e3),s!==this._period||l!==this._loop||u!==this._roundTrip){n.stopAnimation();var f=void 0;He(h)?f=h(i):f=h,n.__t>0&&(f=-s*n.__t),this._animateSymbol(n,s,f,l,u)}this._period=s,this._loop=l,this._roundTrip=u}},t.prototype._animateSymbol=function(e,a,i,n,o){if(a>0){e.__t=0;var s=this,l=e.animate("",n).when(o?a*2:a,{__t:o?2:1}).delay(i).during(function(){s._updateSymbolPosition(e)});n||l.done(function(){s.remove(e)}),l.start()}},t.prototype._getLineLength=function(e){return fn(e.__p1,e.__cp1)+fn(e.__cp1,e.__p2)},t.prototype._updateAnimationPoints=function(e,a){e.__p1=a[0],e.__p2=a[1],e.__cp1=a[2]||[(a[0][0]+a[1][0])/2,(a[0][1]+a[1][1])/2]},t.prototype.updateData=function(e,a,i){this.childAt(0).updateData(e,a,i),this._updateEffectSymbol(e,a)},t.prototype._updateSymbolPosition=function(e){var a=e.__p1,i=e.__p2,n=e.__cp1,o=e.__t<1?e.__t:2-e.__t,s=[e.x,e.y],l=s.slice(),u=kr,v=Hw;s[0]=u(a[0],n[0],i[0],o),s[1]=u(a[1],n[1],i[1],o);var h=e.__t<1?v(a[0],n[0],i[0],o):v(i[0],n[0],a[0],1-o),f=e.__t<1?v(a[1],n[1],i[1],o):v(i[1],n[1],a[1],1-o);e.rotation=-Math.atan2(f,h)-Math.PI/2,(this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")&&(e.__lastT!==void 0&&e.__lastT=0&&!(n[l]<=a);l--);l=Math.min(l,o-2)}else{for(l=s;la);l++);l=Math.min(l-1,o-2)}var v=(a-n[l])/(n[l+1]-n[l]),h=i[l],f=i[l+1];e.x=h[0]*(1-v)+v*f[0],e.y=h[1]*(1-v)+v*f[1];var c=e.__t<1?f[0]-h[0]:h[0]-f[0],d=e.__t<1?f[1]-h[1]:h[1]-f[1];e.rotation=-Math.atan2(d,c)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=a,e.ignore=!1}},t})($8),lle=(function(){function r(){this.polyline=!1,this.curveness=0,this.segs=[]}return r})(),ule=(function(r){he(t,r);function t(e){var a=r.call(this,e)||this;return a._off=0,a.hoverDataIdx=-1,a}return t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new lle},t.prototype.buildPath=function(e,a){var i=a.segs,n=a.curveness,o;if(a.polyline)for(o=this._off;o0){e.moveTo(i[o++],i[o++]);for(var l=1;l0){var c=(u+h)/2-(v-f)*n,d=(v+f)/2-(h-u)*n;e.quadraticCurveTo(c,d,h,f)}else e.lineTo(h,f)}this.incremental&&(this._off=o,this.notClear=!0)},t.prototype.findDataIndex=function(e,a){var i=this.shape,n=i.segs,o=i.curveness,s=this.style.lineWidth;if(i.polyline)for(var l=0,u=0;u0)for(var h=n[u++],f=n[u++],c=1;c0){var g=(h+d)/2-(f-p)*o,m=(f+p)/2-(d-h)*o;if(Eq(h,f,g,m,d,p,s,e,a))return l}else if(qn(h,f,d,p,s,e,a))return l;l++}return-1},t.prototype.contain=function(e,a){var i=this.transformCoordToLocal(e,a),n=this.getBoundingRect();if(e=i[0],a=i[1],n.contain(e,a)){var o=this.hoverDataIdx=this.findDataIndex(e,a);return o>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var a=this.shape,i=a.segs,n=1/0,o=1/0,s=-1/0,l=-1/0,u=0;u0&&(o.dataIndex=l+t.__startIndex)})},r.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},r})(),Z8={seriesType:"lines",plan:gu(),reset:function(r){var t=r.coordinateSystem;if(t){var e=r.get("polyline"),a=r.pipelineContext.large;return{progress:function(i,n){var o=[];if(a){var s=void 0,l=i.end-i.start;if(e){for(var u=0,v=i.start;v0&&(v||u.configLayer(s,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(l/10+.9,1),0)})),o.updateData(n);var h=e.get("clip",!0)&&Jh(e.coordinateSystem,!1,e);h?this.group.setClipPath(h):this.group.removeClipPath(),this._lastZlevel=s,this._finished=!0},t.prototype.incrementalPrepareRender=function(e,a,i){var n=e.getData(),o=this._updateLineDraw(n,e);o.incrementalPrepareUpdate(n),this._clearLayer(i),this._finished=!1},t.prototype.incrementalRender=function(e,a,i){this._lineDraw.incrementalUpdate(e,a.getData()),this._finished=e.end===a.getData().count()},t.prototype.eachRendered=function(e){this._lineDraw&&this._lineDraw.eachRendered(e)},t.prototype.updateTransform=function(e,a,i){var n=e.getData(),o=e.pipelineContext;if(!this._finished||o.large||o.progressiveRender)return{update:!0};var s=Z8.reset(e,a,i);s.progress&&s.progress({start:0,end:n.count(),count:n.count()},n),this._lineDraw.updateLayout(),this._clearLayer(i)},t.prototype._updateLineDraw=function(e,a){var i=this._lineDraw,n=this._showEffect(a),o=!!a.get("polyline"),s=a.pipelineContext,l=s.large;return(!i||n!==this._hasEffet||o!==this._isPolyline||l!==this._isLargeDraw)&&(i&&i.remove(),i=this._lineDraw=l?new vle:new sM(o?n?sle:Y8:n?$8:oM),this._hasEffet=n,this._isPolyline=o,this._isLargeDraw=l),this.group.add(i.group),i},t.prototype._showEffect=function(e){return!!e.get(["effect","show"])},t.prototype._clearLayer=function(e){var a=e.getZr(),i=a.painter.getType()==="svg";!i&&this._lastZlevel!=null&&a.painter.getLayer(this._lastZlevel).clear(!0)},t.prototype.remove=function(e,a){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(a)},t.prototype.dispose=function(e,a){this.remove(e,a)},t.type="lines",t})(kt),fle=typeof Uint32Array>"u"?Array:Uint32Array,cle=typeof Float64Array>"u"?Array:Float64Array;function eR(r){var t=r.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(r.data=we(t,function(e){var a=[e[0].coord,e[1].coord],i={coords:a};return e[0].name&&(i.fromName=e[0].name),e[1].name&&(i.toName=e[1].name),yp([i,e[0],e[1]])}))}var dle=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.visualStyleAccessPath="lineStyle",e.visualDrawType="stroke",e}return t.prototype.init=function(e){e.data=e.data||[],eR(e);var a=this._processFlatCoordsArray(e.data);this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset,a.flatCoords&&(e.data=new Float32Array(a.count)),r.prototype.init.apply(this,arguments)},t.prototype.mergeOption=function(e){if(eR(e),e.data){var a=this._processFlatCoordsArray(e.data);this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset,a.flatCoords&&(e.data=new Float32Array(a.count))}r.prototype.mergeOption.apply(this,arguments)},t.prototype.appendData=function(e){var a=this._processFlatCoordsArray(e.data);a.flatCoords&&(this._flatCoords?(this._flatCoords=$l(this._flatCoords,a.flatCoords),this._flatCoordsOffset=$l(this._flatCoordsOffset,a.flatCoordsOffset)):(this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset),e.data=new Float32Array(a.count)),this.getRawData().appendData(e.data)},t.prototype._getCoordsFromItemModel=function(e){var a=this.getData().getItemModel(e),i=a.option instanceof Array?a.option:a.getShallow("coords");return i},t.prototype.getLineCoordsCount=function(e){return this._flatCoordsOffset?this._flatCoordsOffset[e*2+1]:this._getCoordsFromItemModel(e).length},t.prototype.getLineCoords=function(e,a){if(this._flatCoordsOffset){for(var i=this._flatCoordsOffset[e*2],n=this._flatCoordsOffset[e*2+1],o=0;o ")})},t.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},t.prototype.getProgressive=function(){var e=this.option.progressive;return e==null?this.option.large?1e4:this.get("progressive"):e},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return e==null?this.option.large?2e4:this.get("progressiveThreshold"):e},t.prototype.getZLevelKey=function(){var e=this.getModel("effect"),a=e.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:e.get("show")&&a>0?a+"":""},t.type="series.lines",t.dependencies=["grid","polar","geo","calendar"],t.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},t})(zt);function pc(r){return r instanceof Array||(r=[r,r]),r}var ple={seriesType:"lines",reset:function(r){var t=pc(r.get("symbol")),e=pc(r.get("symbolSize")),a=r.getData();a.setVisual("fromSymbol",t&&t[0]),a.setVisual("toSymbol",t&&t[1]),a.setVisual("fromSymbolSize",e&&e[0]),a.setVisual("toSymbolSize",e&&e[1]);function i(n,o){var s=n.getItemModel(o),l=pc(s.getShallow("symbol",!0)),u=pc(s.getShallow("symbolSize",!0));l[0]&&n.setItemVisual(o,"fromSymbol",l[0]),l[1]&&n.setItemVisual(o,"toSymbol",l[1]),u[0]&&n.setItemVisual(o,"fromSymbolSize",u[0]),u[1]&&n.setItemVisual(o,"toSymbolSize",u[1])}return{dataEach:a.hasItemOption?i:null}}};function gle(r){r.registerChartView(hle),r.registerSeriesModel(dle),r.registerLayout(Z8),r.registerVisual(ple)}var mle=256,yle=(function(){function r(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=mi.createCanvas();this.canvas=t}return r.prototype.update=function(t,e,a,i,n,o){var s=this._getBrush(),l=this._getGradient(n,"inRange"),u=this._getGradient(n,"outOfRange"),v=this.pointSize+this.blurSize,h=this.canvas,f=h.getContext("2d"),c=t.length;h.width=e,h.height=a;for(var d=0;d0){var L=o(_)?l:u;_>0&&(_=_*C+A),S[b++]=L[M],S[b++]=L[M+1],S[b++]=L[M+2],S[b++]=L[M+3]*_*256}else b+=4}return f.putImageData(x,0,0),h},r.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=mi.createCanvas()),e=this.pointSize+this.blurSize,a=e*2;t.width=a,t.height=a;var i=t.getContext("2d");return i.clearRect(0,0,a,a),i.shadowOffsetX=a,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,Math.PI*2,!0),i.closePath(),i.fill(),t},r.prototype._getGradient=function(t,e){for(var a=this._gradientPixels,i=a[e]||(a[e]=new Uint8ClampedArray(256*4)),n=[0,0,0,0],o=0,s=0;s<256;s++)t[e](s/255,!0,n),i[o++]=n[0],i[o++]=n[1],i[o++]=n[2],i[o++]=n[3];return i},r})();function _le(r,t,e){var a=r[1]-r[0];t=we(t,function(o){return{interval:[(o.interval[0]-r[0])/a,(o.interval[1]-r[0])/a]}});var i=t.length,n=0;return function(o){var s;for(s=n;s=0;s--){var l=t[s].interval;if(l[0]<=o&&o<=l[1]){n=s;break}}return s>=0&&s=t[0]&&a<=t[1]}}function tR(r){var t=r.dimensions;return t[0]==="lng"&&t[1]==="lat"}var Sle=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,a,i){var n;a.eachComponent("visualMap",function(s){s.eachTargetSeries(function(l){l===e&&(n=s)})}),this._progressiveEls=null,this.group.removeAll();var o=e.coordinateSystem;o.type==="cartesian2d"||o.type==="calendar"?this._renderOnCartesianAndCalendar(e,i,0,e.getData().count()):tR(o)&&this._renderOnGeo(o,e,n,i)},t.prototype.incrementalPrepareRender=function(e,a,i){this.group.removeAll()},t.prototype.incrementalRender=function(e,a,i,n){var o=a.coordinateSystem;o&&(tR(o)?this.render(a,i,n):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(a,n,e.start,e.end,!0)))},t.prototype.eachRendered=function(e){po(this._progressiveEls||this.group,e)},t.prototype._renderOnCartesianAndCalendar=function(e,a,i,n,o){var s=e.coordinateSystem,l=Fs(s,"cartesian2d"),u,v,h,f;if(l){var c=s.getAxis("x"),d=s.getAxis("y");u=c.getBandWidth()+.5,v=d.getBandWidth()+.5,h=c.scale.getExtent(),f=d.scale.getExtent()}for(var p=this.group,g=e.getData(),m=e.getModel(["emphasis","itemStyle"]).getItemStyle(),y=e.getModel(["blur","itemStyle"]).getItemStyle(),_=e.getModel(["select","itemStyle"]).getItemStyle(),x=e.get(["itemStyle","borderRadius"]),S=Cr(e),b=e.getModel("emphasis"),w=b.get("focus"),A=b.get("blurScope"),T=b.get("disabled"),C=l?[g.mapDimension("x"),g.mapDimension("y"),g.mapDimension("value")]:[g.mapDimension("time"),g.mapDimension("value")],M=i;Mh[1]||If[1])continue;var R=s.dataToPoint([P,I]);L=new gt({shape:{x:R[0]-u/2,y:R[1]-v/2,width:u,height:v},style:D})}else{if(isNaN(g.get(C[1],M)))continue;L=new gt({z2:1,shape:s.dataToRect([g.get(C[0],M)]).contentShape,style:D})}if(g.hasItemOption){var E=g.getItemModel(M),k=E.getModel("emphasis");m=k.getModel("itemStyle").getItemStyle(),y=E.getModel(["blur","itemStyle"]).getItemStyle(),_=E.getModel(["select","itemStyle"]).getItemStyle(),x=E.get(["itemStyle","borderRadius"]),w=k.get("focus"),A=k.get("blurScope"),T=k.get("disabled"),S=Cr(E)}L.shape.r=x;var B=e.getRawValue(M),F="-";B&&B[2]!=null&&(F=B[2]+""),Gr(L,S,{labelFetcher:e,labelDataIndex:M,defaultOpacity:D.opacity,defaultText:F}),L.ensureState("emphasis").style=m,L.ensureState("blur").style=y,L.ensureState("select").style=_,tr(L,w,A,T),L.incremental=o,o&&(L.states.emphasis.hoverLayer=!0),p.add(L),g.setItemGraphicEl(M,L),this._progressiveEls&&this._progressiveEls.push(L)}},t.prototype._renderOnGeo=function(e,a,i,n){var o=i.targetVisuals.inRange,s=i.targetVisuals.outOfRange,l=a.getData(),u=this._hmLayer||this._hmLayer||new yle;u.blurSize=a.get("blurSize"),u.pointSize=a.get("pointSize"),u.minOpacity=a.get("minOpacity"),u.maxOpacity=a.get("maxOpacity");var v=e.getViewRect().clone(),h=e.getRoamTransform();v.applyTransform(h);var f=Math.max(v.x,0),c=Math.max(v.y,0),d=Math.min(v.width+v.x,n.getWidth()),p=Math.min(v.height+v.y,n.getHeight()),g=d-f,m=p-c,y=[l.mapDimension("lng"),l.mapDimension("lat"),l.mapDimension("value")],_=l.mapArray(y,function(w,A,T){var C=e.dataToPoint([w,A]);return C[0]-=f,C[1]-=c,C.push(T),C}),x=i.getExtent(),S=i.type==="visualMap.continuous"?xle(x,i.option.range):_le(x,i.getPieceList(),i.option.selected);u.update(_,g,m,o.color.getNormalizer(),{inRange:o.color.getColorMapper(),outOfRange:s.color.getColorMapper()},S);var b=new Dr({style:{width:g,height:m,x:f,y:c,image:u.canvas},silent:!0});this.group.add(b)},t.type="heatmap",t})(kt),ble=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(e,a){return Qi(null,this,{generateCoord:"value"})},t.prototype.preventIncremental=function(){var e=pu.get(this.get("coordinateSystem"));if(e&&e.dimensions)return e.dimensions[0]==="lng"&&e.dimensions[1]==="lat"},t.type="series.heatmap",t.dependencies=["grid","geo","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},t})(zt);function wle(r){r.registerChartView(Sle),r.registerSeriesModel(ble)}var Tle=["itemStyle","borderWidth"],rR=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],xy=new Xi,Ale=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,a,i){var n=this.group,o=e.getData(),s=this._data,l=e.coordinateSystem,u=l.getBaseAxis(),v=u.isHorizontal(),h=l.master.getRect(),f={ecSize:{width:i.getWidth(),height:i.getHeight()},seriesModel:e,coordSys:l,coordSysExtent:[[h.x,h.x+h.width],[h.y,h.y+h.height]],isHorizontal:v,valueDim:rR[+v],categoryDim:rR[1-+v]};o.diff(s).add(function(d){if(o.hasValue(d)){var p=iR(o,d),g=aR(o,d,p,f),m=nR(o,f,g);o.setItemGraphicEl(d,m),n.add(m),sR(m,f,g)}}).update(function(d,p){var g=s.getItemGraphicEl(p);if(!o.hasValue(d)){n.remove(g);return}var m=iR(o,d),y=aR(o,d,m,f),_=e7(o,y);g&&_!==g.__pictorialShapeStr&&(n.remove(g),o.setItemGraphicEl(d,null),g=null),g?Rle(g,f,y):g=nR(o,f,y,!0),o.setItemGraphicEl(d,g),g.__pictorialSymbolMeta=y,n.add(g),sR(g,f,y)}).remove(function(d){var p=s.getItemGraphicEl(d);p&&oR(s,d,p.__pictorialSymbolMeta.animationModel,p)}).execute();var c=e.get("clip",!0)?Jh(e.coordinateSystem,!1,e):null;return c?n.setClipPath(c):n.removeClipPath(),this._data=o,this.group},t.prototype.remove=function(e,a){var i=this.group,n=this._data;e.get("animation")?n&&n.eachItemGraphicEl(function(o){oR(n,Xe(o).dataIndex,e,o)}):i.removeAll()},t.type="pictorialBar",t})(kt);function aR(r,t,e,a){var i=r.getItemLayout(t),n=e.get("symbolRepeat"),o=e.get("symbolClip"),s=e.get("symbolPosition")||"start",l=e.get("symbolRotate"),u=(l||0)*Math.PI/180||0,v=e.get("symbolPatternSize")||2,h=e.isAnimationEnabled(),f={dataIndex:t,layout:i,itemModel:e,symbolType:r.getItemVisual(t,"symbol")||"circle",style:r.getItemVisual(t,"style"),symbolClip:o,symbolRepeat:n,symbolRepeatDirection:e.get("symbolRepeatDirection"),symbolPatternSize:v,rotation:u,animationModel:h?e:null,hoverScale:h&&e.get(["emphasis","scale"]),z2:e.getShallow("z",!0)||0};Cle(e,n,i,a,f),Mle(r,t,i,n,o,f.boundingLength,f.pxSign,v,a,f),Dle(e,f.symbolScale,u,a,f);var c=f.symbolSize,d=Gs(e.get("symbolOffset"),c);return Lle(e,c,i,n,o,d,s,f.valueLineWidth,f.boundingLength,f.repeatCutLength,a,f),f}function Cle(r,t,e,a,i){var n=a.valueDim,o=r.get("symbolBoundingData"),s=a.coordSys.getOtherAxis(a.coordSys.getBaseAxis()),l=s.toGlobalCoord(s.dataToCoord(0)),u=1-+(e[n.wh]<=0),v;if(Se(o)){var h=[Sy(s,o[0])-l,Sy(s,o[1])-l];h[1]=0?1:-1:v>0?1:-1}function Sy(r,t){return r.toGlobalCoord(r.dataToCoord(r.scale.parse(t)))}function Mle(r,t,e,a,i,n,o,s,l,u){var v=l.valueDim,h=l.categoryDim,f=Math.abs(e[h.wh]),c=r.getItemVisual(t,"symbolSize"),d;Se(c)?d=c.slice():c==null?d=["100%","100%"]:d=[c,c],d[h.index]=Ie(d[h.index],f),d[v.index]=Ie(d[v.index],a?f:Math.abs(n)),u.symbolSize=d;var p=u.symbolScale=[d[0]/s,d[1]/s];p[v.index]*=(l.isHorizontal?-1:1)*o}function Dle(r,t,e,a,i){var n=r.get(Tle)||0;n&&(xy.attr({scaleX:t[0],scaleY:t[1],rotation:e}),xy.updateTransform(),n/=xy.getLineScale(),n*=t[a.valueDim.index]),i.valueLineWidth=n||0}function Lle(r,t,e,a,i,n,o,s,l,u,v,h){var f=v.categoryDim,c=v.valueDim,d=h.pxSign,p=Math.max(t[c.index]+s,0),g=p;if(a){var m=Math.abs(l),y=wr(r.get("symbolMargin"),"15%")+"",_=!1;y.lastIndexOf("!")===y.length-1&&(_=!0,y=y.slice(0,y.length-1));var x=Ie(y,t[c.index]),S=Math.max(p+x*2,0),b=_?0:x*2,w=WA(a),A=w?a:lR((m+b)/S),T=m-A*p;x=T/2/(_?A:Math.max(A-1,1)),S=p+x*2,b=_?0:x*2,!w&&a!=="fixed"&&(A=u?lR((Math.abs(u)+b)/S):0),g=A*S-b,h.repeatTimes=A,h.symbolMargin=x}var C=d*(g/2),M=h.pathPosition=[];M[f.index]=e[f.wh]/2,M[c.index]=o==="start"?C:o==="end"?l-C:l/2,n&&(M[0]+=n[0],M[1]+=n[1]);var L=h.bundlePosition=[];L[f.index]=e[f.xy],L[c.index]=e[c.xy];var D=h.barRectShape=_e({},e);D[c.wh]=d*Math.max(Math.abs(e[c.wh]),Math.abs(M[c.index]+C)),D[f.wh]=e[f.wh];var P=h.clipShape={};P[f.xy]=-e[f.xy],P[f.wh]=v.ecSize[f.wh],P[c.xy]=0,P[c.wh]=e[c.wh]}function X8(r){var t=r.symbolPatternSize,e=lr(r.symbolType,-t/2,-t/2,t,t);return e.attr({culling:!0}),e.type!=="image"&&e.setStyle({strokeNoScale:!0}),e}function K8(r,t,e,a){var i=r.__pictorialBundle,n=e.symbolSize,o=e.valueLineWidth,s=e.pathPosition,l=t.valueDim,u=e.repeatTimes||0,v=0,h=n[t.valueDim.index]+o+e.symbolMargin*2;for(mM(r,function(p){p.__pictorialAnimationIndex=v,p.__pictorialRepeatTimes=u,v0:m<0)&&(y=u-1-p),g[l.index]=h*(y-u/2+.5)+s[l.index],{x:g[0],y:g[1],scaleX:e.symbolScale[0],scaleY:e.symbolScale[1],rotation:e.rotation}}}function Q8(r,t,e,a){var i=r.__pictorialBundle,n=r.__pictorialMainPath;n?Wl(n,null,{x:e.pathPosition[0],y:e.pathPosition[1],scaleX:e.symbolScale[0],scaleY:e.symbolScale[1],rotation:e.rotation},e,a):(n=r.__pictorialMainPath=X8(e),i.add(n),Wl(n,{x:e.pathPosition[0],y:e.pathPosition[1],scaleX:0,scaleY:0,rotation:e.rotation},{scaleX:e.symbolScale[0],scaleY:e.symbolScale[1]},e,a))}function j8(r,t,e){var a=_e({},t.barRectShape),i=r.__pictorialBarRect;i?Wl(i,null,{shape:a},t,e):(i=r.__pictorialBarRect=new gt({z2:2,shape:a,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),i.disableMorphing=!0,r.add(i))}function J8(r,t,e,a){if(e.symbolClip){var i=r.__pictorialClipPath,n=_e({},e.clipShape),o=t.valueDim,s=e.animationModel,l=e.dataIndex;if(i)wt(i,{shape:n},s,l);else{n[o.wh]=0,i=new gt({shape:n}),r.__pictorialBundle.setClipPath(i),r.__pictorialClipPath=i;var u={};u[o.wh]=e.clipShape[o.wh],Bs[a?"updateProps":"initProps"](i,{shape:u},s,l)}}}function iR(r,t){var e=r.getItemModel(t);return e.getAnimationDelayParams=Ile,e.isAnimationEnabled=Ple,e}function Ile(r){return{index:r.__pictorialAnimationIndex,count:r.__pictorialRepeatTimes}}function Ple(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function nR(r,t,e,a){var i=new Ze,n=new Ze;return i.add(n),i.__pictorialBundle=n,n.x=e.bundlePosition[0],n.y=e.bundlePosition[1],e.symbolRepeat?K8(i,t,e):Q8(i,t,e),j8(i,e,a),J8(i,t,e,a),i.__pictorialShapeStr=e7(r,e),i.__pictorialSymbolMeta=e,i}function Rle(r,t,e){var a=e.animationModel,i=e.dataIndex,n=r.__pictorialBundle;wt(n,{x:e.bundlePosition[0],y:e.bundlePosition[1]},a,i),e.symbolRepeat?K8(r,t,e,!0):Q8(r,t,e,!0),j8(r,e,!0),J8(r,t,e,!0)}function oR(r,t,e,a){var i=a.__pictorialBarRect;i&&i.removeTextContent();var n=[];mM(a,function(o){n.push(o)}),a.__pictorialMainPath&&n.push(a.__pictorialMainPath),a.__pictorialClipPath&&(e=null),$(n,function(o){lo(o,{scaleX:0,scaleY:0},e,t,function(){a.parent&&a.parent.remove(a)})}),r.setItemGraphicEl(t,null)}function e7(r,t){return[r.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function mM(r,t,e){$(r.__pictorialBundle.children(),function(a){a!==r.__pictorialBarRect&&t.call(e,a)})}function Wl(r,t,e,a,i,n){t&&r.attr(t),a.symbolClip&&!i?e&&r.attr(e):e&&Bs[i?"updateProps":"initProps"](r,e,a.animationModel,a.dataIndex,n)}function sR(r,t,e){var a=e.dataIndex,i=e.itemModel,n=i.getModel("emphasis"),o=n.getModel("itemStyle").getItemStyle(),s=i.getModel(["blur","itemStyle"]).getItemStyle(),l=i.getModel(["select","itemStyle"]).getItemStyle(),u=i.getShallow("cursor"),v=n.get("focus"),h=n.get("blurScope"),f=n.get("scale");mM(r,function(p){if(p instanceof Dr){var g=p.style;p.useStyle(_e({image:g.image,x:g.x,y:g.y,width:g.width,height:g.height},e.style))}else p.useStyle(e.style);var m=p.ensureState("emphasis");m.style=o,f&&(m.scaleX=p.scaleX*1.1,m.scaleY=p.scaleY*1.1),p.ensureState("blur").style=s,p.ensureState("select").style=l,u&&(p.cursor=u),p.z2=e.z2});var c=t.valueDim.posDesc[+(e.boundingLength>0)],d=r.__pictorialBarRect;d.ignoreClip=!0,Gr(d,Cr(i),{labelFetcher:t.seriesModel,labelDataIndex:a,defaultText:jl(t.seriesModel.getData(),a),inheritColor:e.style.fill,defaultOpacity:e.style.opacity,defaultOutsidePosition:c}),tr(r,v,h,n.get("disabled"))}function lR(r){var t=Math.round(r);return Math.abs(r-t)<1e-4?t:Math.ceil(r)}var Ele=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e.defaultSymbol="roundRect",e}return t.prototype.getInitialData=function(e){return e.stack=null,r.prototype.getInitialData.apply(this,arguments)},t.type="series.pictorialBar",t.dependencies=["grid"],t.defaultOption=go(Ah.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),t})(Ah);function kle(r){r.registerChartView(Ale),r.registerSeriesModel(Ele),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,et(QU,"pictorialBar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,jU("pictorialBar"))}var Ole=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._layers=[],e}return t.prototype.render=function(e,a,i){var n=e.getData(),o=this,s=this.group,l=e.getLayerSeries(),u=n.getLayout("layoutInfo"),v=u.rect,h=u.boundaryGap;s.x=0,s.y=v.y+h[0];function f(g){return g.name}var c=new bn(this._layersSeries||[],l,f,f),d=[];c.add(Ne(p,this,"add")).update(Ne(p,this,"update")).remove(Ne(p,this,"remove")).execute();function p(g,m,y){var _=o._layers;if(g==="remove"){s.remove(_[m]);return}for(var x=[],S=[],b,w=l[m].indices,A=0;An&&(n=s),a.push(s)}for(var u=0;un&&(n=h)}return{y0:i,max:n}}function Gle(r){r.registerChartView(Ole),r.registerSeriesModel(zle),r.registerLayout(Ble),r.registerProcessor(tf("themeRiver"))}var Fle=2,Hle=4,vR=(function(r){he(t,r);function t(e,a,i,n){var o=r.call(this)||this;o.z2=Fle,o.textConfig={inside:!0},Xe(o).seriesIndex=a.seriesIndex;var s=new pt({z2:Hle,silent:e.getModel().get(["label","silent"])});return o.setTextContent(s),o.updateData(!0,e,a,i,n),o}return t.prototype.updateData=function(e,a,i,n,o){this.node=a,a.piece=this,i=i||this._seriesModel,n=n||this._ecModel;var s=this;Xe(s).dataIndex=a.dataIndex;var l=a.getModel(),u=l.getModel("emphasis"),v=a.getLayout(),h=_e({},v);h.label=null;var f=a.getVisual("style");f.lineJoin="bevel";var c=a.getVisual("decal");c&&(f.decal=Ql(c,o));var d=ys(l.getModel("itemStyle"),h,!0);_e(h,d),$(va,function(y){var _=s.ensureState(y),x=l.getModel([y,"itemStyle"]);_.style=x.getItemStyle();var S=ys(x,h);S&&(_.shape=S)}),e?(s.setShape(h),s.shape.r=v.r0,$t(s,{shape:{r:v.r}},i,a.dataIndex)):(wt(s,{shape:h},i),xi(s)),s.useStyle(f),this._updateLabel(i);var p=l.getShallow("cursor");p&&s.attr("cursor",p),this._seriesModel=i||this._seriesModel,this._ecModel=n||this._ecModel;var g=u.get("focus"),m=g==="relative"?$l(a.getAncestorsIndices(),a.getDescendantIndices()):g==="ancestor"?a.getAncestorsIndices():g==="descendant"?a.getDescendantIndices():g;tr(this,m,u.get("blurScope"),u.get("disabled"))},t.prototype._updateLabel=function(e){var a=this,i=this.node.getModel(),n=i.getModel("label"),o=this.node.getLayout(),s=o.endAngle-o.startAngle,l=(o.startAngle+o.endAngle)/2,u=Math.cos(l),v=Math.sin(l),h=this,f=h.getTextContent(),c=this.node.dataIndex,d=n.get("minAngle")/180*Math.PI,p=n.get("show")&&!(d!=null&&Math.abs(s)P&&!Yl(R-P)&&R0?(o.virtualPiece?o.virtualPiece.updateData(!1,y,e,a,i):(o.virtualPiece=new vR(y,e,a,i),v.add(o.virtualPiece)),_.piece.off("click"),o.virtualPiece.on("click",function(x){o._rootToNode(_.parentNode)})):o.virtualPiece&&(v.remove(o.virtualPiece),o.virtualPiece=null)}},t.prototype._initEvents=function(){var e=this;this.group.off("click"),this.group.on("click",function(a){var i=!1,n=e.seriesModel.getViewRoot();n.eachNode(function(o){if(!i&&o.piece&&o.piece===a.target){var s=o.getModel().get("nodeClick");if(s==="rootToNode")e._rootToNode(o);else if(s==="link"){var l=o.getModel(),u=l.get("link");if(u){var v=l.get("target",!0)||"_blank";Od(u,v)}}i=!0}})})},t.prototype._rootToNode=function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:rA,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},t.prototype.containPoint=function(e,a){var i=a.getData(),n=i.getItemLayout(0);if(n){var o=e[0]-n.cx,s=e[1]-n.cy,l=Math.sqrt(o*o+s*s);return l<=n.r&&l>=n.r0}},t.type="sunburst",t})(kt),$le=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.ignoreStyleOnData=!0,e}return t.prototype.getInitialData=function(e,a){var i={name:e.name,children:e.data};t7(i);var n=this._levelModels=we(e.levels||[],function(l){return new Mt(l,this,a)},this),o=eM.createTree(i,this,s);function s(l){l.wrapMethod("getItemModel",function(u,v){var h=o.getNodeByDataIndex(v),f=n[h.depth];return f&&(u.parentModel=f),u})}return o.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.getDataParams=function(e){var a=r.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return a.treePathInfo=eg(i,this),a},t.prototype.getLevelModel=function(e){return this._levelModels&&this._levelModels[e.depth]},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var a=this.getRawData().tree.root;(!e||e!==a&&!a.contains(e))&&(this._viewRoot=a)},t.prototype.enableAriaDecal=function(){o8(this)},t.type="series.sunburst",t.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},t})(zt);function t7(r){var t=0;$(r.children,function(a){t7(a);var i=a.value;Se(i)&&(i=i[0]),t+=i});var e=r.value;Se(e)&&(e=e[0]),(e==null||isNaN(e))&&(e=t),e<0&&(e=0),Se(r.value)?r.value[0]=e:r.value=e}var fR=Math.PI/180;function Yle(r,t,e){t.eachSeriesByType(r,function(a){var i=a.get("center"),n=a.get("radius");Se(n)||(n=[0,n]),Se(i)||(i=[i,i]);var o=e.getWidth(),s=e.getHeight(),l=Math.min(o,s),u=Ie(i[0],o),v=Ie(i[1],s),h=Ie(n[0],l/2),f=Ie(n[1],l/2),c=-a.get("startAngle")*fR,d=a.get("minAngle")*fR,p=a.getData().tree.root,g=a.getViewRoot(),m=g.depth,y=a.get("sort");y!=null&&r7(g,y);var _=0;$(g.children,function(R){!isNaN(R.getValue())&&_++});var x=g.getValue(),S=Math.PI/(x||_)*2,b=g.depth>0,w=g.height-(b?-1:1),A=(f-h)/(w||1),T=a.get("clockwise"),C=a.get("stillShowZeroSum"),M=T?1:-1,L=function(R,E){if(R){var k=E;if(R!==p){var B=R.getValue(),F=x===0&&C?S:B*S;F1;)o=o.parentNode;var s=i.getColorFromPalette(o.name||o.dataIndex+"",t);return a.depth>1&&Re(s)&&(s=wd(s,(a.depth-1)/(n-1)*.5)),s}r.eachSeriesByType("sunburst",function(a){var i=a.getData(),n=i.tree;n.eachNode(function(o){var s=o.getModel(),l=s.getModel("itemStyle").getItemStyle();l.fill||(l.fill=e(o,a,n.root.height));var u=i.ensureUniqueItemVisual(o.dataIndex,"style");_e(u,l)})})}function Kle(r){r.registerChartView(Ule),r.registerSeriesModel($le),r.registerLayout(et(Yle,"sunburst")),r.registerProcessor(et(tf,"sunburst")),r.registerVisual(Xle),Wle(r)}var cR={color:"fill",borderColor:"stroke"},Qle={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},mn=yt(),jle=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},t.prototype.getInitialData=function(e,a){return Qi(null,this)},t.prototype.getDataParams=function(e,a,i){var n=r.prototype.getDataParams.call(this,e,a);return i&&(n.info=mn(i).info),n},t.type="series.custom",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},t})(zt);function Jle(r,t){return t=t||[0,0],we(["x","y"],function(e,a){var i=this.getAxis(e),n=t[a],o=r[a]/2;return i.type==="category"?i.getBandWidth():Math.abs(i.dataToCoord(n-o)-i.dataToCoord(n+o))},this)}function eue(r){var t=r.master.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(e){return r.dataToPoint(e)},size:Ne(Jle,r)}}}function tue(r,t){return t=t||[0,0],we([0,1],function(e){var a=t[e],i=r[e]/2,n=[],o=[];return n[e]=a-i,o[e]=a+i,n[1-e]=o[1-e]=t[1-e],Math.abs(this.dataToPoint(n)[e]-this.dataToPoint(o)[e])},this)}function rue(r){var t=r.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:r.getZoom()},api:{coord:function(e){return r.dataToPoint(e)},size:Ne(tue,r)}}}function aue(r,t){var e=this.getAxis(),a=t instanceof Array?t[0]:t,i=(r instanceof Array?r[0]:r)/2;return e.type==="category"?e.getBandWidth():Math.abs(e.dataToCoord(a-i)-e.dataToCoord(a+i))}function iue(r){var t=r.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(e){return r.dataToPoint(e)},size:Ne(aue,r)}}}function nue(r,t){return t=t||[0,0],we(["Radius","Angle"],function(e,a){var i="get"+e+"Axis",n=this[i](),o=t[a],s=r[a]/2,l=n.type==="category"?n.getBandWidth():Math.abs(n.dataToCoord(o-s)-n.dataToCoord(o+s));return e==="Angle"&&(l=l*Math.PI/180),l},this)}function oue(r){var t=r.getRadiusAxis(),e=r.getAngleAxis(),a=t.getExtent();return a[0]>a[1]&&a.reverse(),{coordSys:{type:"polar",cx:r.cx,cy:r.cy,r:a[1],r0:a[0]},api:{coord:function(i){var n=t.dataToRadius(i[0]),o=e.dataToAngle(i[1]),s=r.coordToPoint([n,o]);return s.push(n,o*Math.PI/180),s},size:Ne(nue,r)}}}function sue(r){var t=r.getRect(),e=r.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:r.getCellWidth(),cellHeight:r.getCellHeight(),rangeInfo:{start:e.start,end:e.end,weeks:e.weeks,dayCount:e.allDay}},api:{coord:function(a,i){return r.dataToPoint(a,i)}}}}function a7(r,t,e,a){return r&&(r.legacy||r.legacy!==!1&&!e&&!a&&t!=="tspan"&&(t==="text"||Be(r,"text")))}function i7(r,t,e){var a=r,i,n,o;if(t==="text")o=a;else{o={},Be(a,"text")&&(o.text=a.text),Be(a,"rich")&&(o.rich=a.rich),Be(a,"textFill")&&(o.fill=a.textFill),Be(a,"textStroke")&&(o.stroke=a.textStroke),Be(a,"fontFamily")&&(o.fontFamily=a.fontFamily),Be(a,"fontSize")&&(o.fontSize=a.fontSize),Be(a,"fontStyle")&&(o.fontStyle=a.fontStyle),Be(a,"fontWeight")&&(o.fontWeight=a.fontWeight),n={type:"text",style:o,silent:!0},i={};var s=Be(a,"textPosition");e?i.position=s?a.textPosition:"inside":s&&(i.position=a.textPosition),Be(a,"textPosition")&&(i.position=a.textPosition),Be(a,"textOffset")&&(i.offset=a.textOffset),Be(a,"textRotation")&&(i.rotation=a.textRotation),Be(a,"textDistance")&&(i.distance=a.textDistance)}return dR(o,r),$(o.rich,function(l){dR(l,l)}),{textConfig:i,textContent:n}}function dR(r,t){t&&(t.font=t.textFont||t.font,Be(t,"textStrokeWidth")&&(r.lineWidth=t.textStrokeWidth),Be(t,"textAlign")&&(r.align=t.textAlign),Be(t,"textVerticalAlign")&&(r.verticalAlign=t.textVerticalAlign),Be(t,"textLineHeight")&&(r.lineHeight=t.textLineHeight),Be(t,"textWidth")&&(r.width=t.textWidth),Be(t,"textHeight")&&(r.height=t.textHeight),Be(t,"textBackgroundColor")&&(r.backgroundColor=t.textBackgroundColor),Be(t,"textPadding")&&(r.padding=t.textPadding),Be(t,"textBorderColor")&&(r.borderColor=t.textBorderColor),Be(t,"textBorderWidth")&&(r.borderWidth=t.textBorderWidth),Be(t,"textBorderRadius")&&(r.borderRadius=t.textBorderRadius),Be(t,"textBoxShadowColor")&&(r.shadowColor=t.textBoxShadowColor),Be(t,"textBoxShadowBlur")&&(r.shadowBlur=t.textBoxShadowBlur),Be(t,"textBoxShadowOffsetX")&&(r.shadowOffsetX=t.textBoxShadowOffsetX),Be(t,"textBoxShadowOffsetY")&&(r.shadowOffsetY=t.textBoxShadowOffsetY))}function pR(r,t,e){var a=r;a.textPosition=a.textPosition||e.position||"inside",e.offset!=null&&(a.textOffset=e.offset),e.rotation!=null&&(a.textRotation=e.rotation),e.distance!=null&&(a.textDistance=e.distance);var i=a.textPosition.indexOf("inside")>=0,n=r.fill||"#000";gR(a,t);var o=a.textFill==null;return i?o&&(a.textFill=e.insideFill||"#fff",!a.textStroke&&e.insideStroke&&(a.textStroke=e.insideStroke),!a.textStroke&&(a.textStroke=n),a.textStrokeWidth==null&&(a.textStrokeWidth=2)):(o&&(a.textFill=r.fill||e.outsideFill||"#000"),!a.textStroke&&e.outsideStroke&&(a.textStroke=e.outsideStroke)),a.text=t.text,a.rich=t.rich,$(t.rich,function(s){gR(s,s)}),a}function gR(r,t){t&&(Be(t,"fill")&&(r.textFill=t.fill),Be(t,"stroke")&&(r.textStroke=t.fill),Be(t,"lineWidth")&&(r.textStrokeWidth=t.lineWidth),Be(t,"font")&&(r.font=t.font),Be(t,"fontStyle")&&(r.fontStyle=t.fontStyle),Be(t,"fontWeight")&&(r.fontWeight=t.fontWeight),Be(t,"fontSize")&&(r.fontSize=t.fontSize),Be(t,"fontFamily")&&(r.fontFamily=t.fontFamily),Be(t,"align")&&(r.textAlign=t.align),Be(t,"verticalAlign")&&(r.textVerticalAlign=t.verticalAlign),Be(t,"lineHeight")&&(r.textLineHeight=t.lineHeight),Be(t,"width")&&(r.textWidth=t.width),Be(t,"height")&&(r.textHeight=t.height),Be(t,"backgroundColor")&&(r.textBackgroundColor=t.backgroundColor),Be(t,"padding")&&(r.textPadding=t.padding),Be(t,"borderColor")&&(r.textBorderColor=t.borderColor),Be(t,"borderWidth")&&(r.textBorderWidth=t.borderWidth),Be(t,"borderRadius")&&(r.textBorderRadius=t.borderRadius),Be(t,"shadowColor")&&(r.textBoxShadowColor=t.shadowColor),Be(t,"shadowBlur")&&(r.textBoxShadowBlur=t.shadowBlur),Be(t,"shadowOffsetX")&&(r.textBoxShadowOffsetX=t.shadowOffsetX),Be(t,"shadowOffsetY")&&(r.textBoxShadowOffsetY=t.shadowOffsetY),Be(t,"textShadowColor")&&(r.textShadowColor=t.textShadowColor),Be(t,"textShadowBlur")&&(r.textShadowBlur=t.textShadowBlur),Be(t,"textShadowOffsetX")&&(r.textShadowOffsetX=t.textShadowOffsetX),Be(t,"textShadowOffsetY")&&(r.textShadowOffsetY=t.textShadowOffsetY))}var n7={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},mR=ft(n7);Ya($i,function(r,t){return r[t]=1,r},{});$i.join(", ");var rp=["","style","shape","extra"],tu=yt();function yM(r,t,e,a,i){var n=r+"Animation",o=uu(r,a,i)||{},s=tu(t).userDuring;return o.duration>0&&(o.during=s?Ne(fue,{el:t,userDuring:s}):null,o.setToFinal=!0,o.scope=r),_e(o,e[n]),o}function ud(r,t,e,a){a=a||{};var i=a.dataIndex,n=a.isInit,o=a.clearStyle,s=e.isAnimationEnabled(),l=tu(r),u=t.style;l.userDuring=t.during;var v={},h={};if(due(r,t,h),_R("shape",t,h),_R("extra",t,h),!n&&s&&(cue(r,t,v),yR("shape",r,t,v),yR("extra",r,t,v),pue(r,t,u,v)),h.style=u,lue(r,h,o),vue(r,t),s)if(n){var f={};$(rp,function(d){var p=d?t[d]:t;p&&p.enterFrom&&(d&&(f[d]=f[d]||{}),_e(d?f[d]:f,p.enterFrom))});var c=yM("enter",r,t,e,i);c.duration>0&&r.animateFrom(f,c)}else uue(r,t,i||0,e,v);o7(r,t),u?r.dirty():r.markRedraw()}function o7(r,t){for(var e=tu(r).leaveToProps,a=0;a0&&r.animateFrom(i,n)}}function vue(r,t){Be(t,"silent")&&(r.silent=t.silent),Be(t,"ignore")&&(r.ignore=t.ignore),r instanceof Za&&Be(t,"invisible")&&(r.invisible=t.invisible),r instanceof ht&&Be(t,"autoBatch")&&(r.autoBatch=t.autoBatch)}var Oi={},hue={setTransform:function(r,t){return Oi.el[r]=t,this},getTransform:function(r){return Oi.el[r]},setShape:function(r,t){var e=Oi.el,a=e.shape||(e.shape={});return a[r]=t,e.dirtyShape&&e.dirtyShape(),this},getShape:function(r){var t=Oi.el.shape;if(t)return t[r]},setStyle:function(r,t){var e=Oi.el,a=e.style;return a&&(a[r]=t,e.dirtyStyle&&e.dirtyStyle()),this},getStyle:function(r){var t=Oi.el.style;if(t)return t[r]},setExtra:function(r,t){var e=Oi.el.extra||(Oi.el.extra={});return e[r]=t,this},getExtra:function(r){var t=Oi.el.extra;if(t)return t[r]}};function fue(){var r=this,t=r.el;if(t){var e=tu(t).userDuring,a=r.userDuring;if(e!==a){r.el=r.userDuring=null;return}Oi.el=t,a(hue)}}function yR(r,t,e,a){var i=e[r];if(i){var n=t[r],o;if(n){var s=e.transition,l=i.transition;if(l)if(!o&&(o=a[r]={}),As(l))_e(o,n);else for(var u=Nt(l),v=0;v=0){!o&&(o=a[r]={});for(var c=ft(n),v=0;v=0)){var f=r.getAnimationStyleProps(),c=f?f.style:null;if(c){!n&&(n=a.style={});for(var d=ft(e),u=0;u=0?t.getStore().get(E,I):void 0}var k=t.get(R.name,I),B=R&&R.ordinalMeta;return B?B.categories[k]:k}function b(P,I){I==null&&(I=u);var R=t.getItemVisual(I,"style"),E=R&&R.fill,k=R&&R.opacity,B=y(I,Qn).getItemStyle();E!=null&&(B.fill=E),k!=null&&(B.opacity=k);var F={inheritColor:Re(E)?E:"#000"},V=_(I,Qn),N=Ht(V,null,F,!1,!0);N.text=V.getShallow("show")?Je(r.getFormattedLabel(I,Qn),jl(t,I)):null;var O=Ed(V,F,!1);return T(P,B),B=pR(B,N,O),P&&A(B,P),B.legacy=!0,B}function w(P,I){I==null&&(I=u);var R=y(I,yn).getItemStyle(),E=_(I,yn),k=Ht(E,null,null,!0,!0);k.text=E.getShallow("show")?ci(r.getFormattedLabel(I,yn),r.getFormattedLabel(I,Qn),jl(t,I)):null;var B=Ed(E,null,!0);return T(P,R),R=pR(R,k,B),P&&A(R,P),R.legacy=!0,R}function A(P,I){for(var R in I)Be(I,R)&&(P[R]=I[R])}function T(P,I){P&&(P.textFill&&(I.textFill=P.textFill),P.textPosition&&(I.textPosition=P.textPosition))}function C(P,I){if(I==null&&(I=u),Be(cR,P)){var R=t.getItemVisual(I,"style");return R?R[cR[P]]:null}if(Be(Qle,P))return t.getItemVisual(I,P)}function M(P){if(n.type==="cartesian2d"){var I=n.getBaseAxis();return Vee(Ue({axis:I},P))}}function L(){return e.getCurrentSeriesIndices()}function D(P){return sC(P,e)}}function Aue(r){var t={};return $(r.dimensions,function(e){var a=r.getDimensionInfo(e);if(!a.isExtraCoord){var i=a.coordDim,n=t[i]=t[i]||[];n[a.coordDimIndex]=r.getDimensionIndex(e)}}),t}function Ay(r,t,e,a,i,n,o){if(!a){n.remove(t);return}var s=wM(r,t,e,a,i,n);return s&&o.setItemGraphicEl(e,s),s&&tr(s,a.focus,a.blurScope,a.emphasisDisabled),s}function wM(r,t,e,a,i,n){var o=-1,s=t;t&&v7(t,a,i)&&(o=nt(n.childrenRef(),t),t=null);var l=!t,u=t;u?u.clearStates():(u=SM(a),s&&Sue(s,u)),a.morph===!1?u.disableMorphing=!0:u.disableMorphing&&(u.disableMorphing=!1),ka.normal.cfg=ka.normal.conOpt=ka.emphasis.cfg=ka.emphasis.conOpt=ka.blur.cfg=ka.blur.conOpt=ka.select.cfg=ka.select.conOpt=null,ka.isLegacy=!1,Mue(u,e,a,i,l,ka),Cue(u,e,a,i,l),bM(r,u,e,a,ka,i,l),Be(a,"info")&&(mn(u).info=a.info);for(var v=0;v=0?n.replaceAt(u,o):n.add(u),u}function v7(r,t,e){var a=mn(r),i=t.type,n=t.shape,o=t.style;return e.isUniversalTransitionEnabled()||i!=null&&i!==a.customGraphicType||i==="path"&&Rue(n)&&h7(n)!==a.customPathData||i==="image"&&Be(o,"image")&&o.image!==a.customImagePath}function Cue(r,t,e,a,i){var n=e.clipPath;if(n===!1)r&&r.getClipPath()&&r.removeClipPath();else if(n){var o=r.getClipPath();o&&v7(o,n,a)&&(o=null),o||(o=SM(n),r.setClipPath(o)),bM(null,o,t,n,null,a,i)}}function Mue(r,t,e,a,i,n){if(!r.isGroup){SR(e,null,n),SR(e,yn,n);var o=n.normal.conOpt,s=n.emphasis.conOpt,l=n.blur.conOpt,u=n.select.conOpt;if(o!=null||s!=null||u!=null||l!=null){var v=r.getTextContent();if(o===!1)v&&r.removeTextContent();else{o=n.normal.conOpt=o||{type:"text"},v?v.clearStates():(v=SM(o),r.setTextContent(v)),bM(null,v,t,o,null,a,i);for(var h=o&&o.style,f=0;f=v;c--){var d=t.childAt(c);Lue(t,d,i)}}}function Lue(r,t,e){t&&ag(t,mn(r).option,e)}function Iue(r){new bn(r.oldChildren,r.newChildren,bR,bR,r).add(wR).update(wR).remove(Pue).execute()}function bR(r,t){var e=r&&r.name;return e!=null?e:_ue+t}function wR(r,t){var e=this.context,a=r!=null?e.newChildren[r]:null,i=t!=null?e.oldChildren[t]:null;wM(e.api,i,e.dataIndex,a,e.seriesModel,e.group)}function Pue(r){var t=this.context,e=t.oldChildren[r];e&&ag(e,mn(e).option,t.seriesModel)}function h7(r){return r&&(r.pathData||r.d)}function Rue(r){return r&&(Be(r,"pathData")||Be(r,"d"))}function Eue(r){r.registerChartView(bue),r.registerSeriesModel(jle)}var ls=yt(),TR=Ye,Cy=Ne,AM=(function(){function r(){this._dragging=!1,this.animationThreshold=15}return r.prototype.render=function(t,e,a,i){var n=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=a,!(!i&&this._lastValue===n&&this._lastStatus===o)){this._lastValue=n,this._lastStatus=o;var s=this._group,l=this._handle;if(!o||o==="hide"){s&&s.hide(),l&&l.hide();return}s&&s.show(),l&&l.show();var u={};this.makeElOption(u,n,t,e,a);var v=u.graphicKey;v!==this._lastGraphicKey&&this.clear(a),this._lastGraphicKey=v;var h=this._moveAnimation=this.determineAnimation(t,e);if(!s)s=this._group=new Ze,this.createPointerEl(s,u,t,e),this.createLabelEl(s,u,t,e),a.getZr().add(s);else{var f=et(AR,e,h);this.updatePointerEl(s,u,f),this.updateLabelEl(s,u,f,e)}MR(s,e,!0),this._renderHandle(n)}},r.prototype.remove=function(t){this.clear(t)},r.prototype.dispose=function(t){this.clear(t)},r.prototype.determineAnimation=function(t,e){var a=e.get("animation"),i=t.axis,n=i.type==="category",o=e.get("snap");if(!o&&!n)return!1;if(a==="auto"||a==null){var s=this.animationThreshold;if(n&&i.getBandWidth()>s)return!0;if(o){var l=YC(t).seriesDataCount,u=i.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return a===!0},r.prototype.makeElOption=function(t,e,a,i,n){},r.prototype.createPointerEl=function(t,e,a,i){var n=e.pointer;if(n){var o=ls(t).pointerEl=new Bs[n.type](TR(e.pointer));t.add(o)}},r.prototype.createLabelEl=function(t,e,a,i){if(e.label){var n=ls(t).labelEl=new pt(TR(e.label));t.add(n),CR(n,i)}},r.prototype.updatePointerEl=function(t,e,a){var i=ls(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),a(i,{shape:e.pointer.shape}))},r.prototype.updateLabelEl=function(t,e,a,i){var n=ls(t).labelEl;n&&(n.setStyle(e.label.style),a(n,{x:e.label.x,y:e.label.y}),CR(n,i))},r.prototype._renderHandle=function(t){if(!(this._dragging||!this.updateHandleTransform)){var e=this._axisPointerModel,a=this._api.getZr(),i=this._handle,n=e.getModel("handle"),o=e.get("status");if(!n.get("show")||!o||o==="hide"){i&&a.remove(i),this._handle=null;return}var s;this._handle||(s=!0,i=this._handle=vu(n.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(u){_n(u.event)},onmousedown:Cy(this._onHandleDragMove,this,0,0),drift:Cy(this._onHandleDragMove,this),ondragend:Cy(this._onHandleDragEnd,this)}),a.add(i)),MR(i,e,!1),i.setStyle(n.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=n.get("size");Se(l)||(l=[l,l]),i.scaleX=l[0]/2,i.scaleY=l[1]/2,mu(this,"_doDispatchAxisPointer",n.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,s)}},r.prototype._moveHandleToValue=function(t,e){AR(this._axisPointerModel,!e&&this._moveAnimation,this._handle,My(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},r.prototype._onHandleDragMove=function(t,e){var a=this._handle;if(a){this._dragging=!0;var i=this.updateHandleTransform(My(a),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,a.stopAnimation(),a.attr(My(i)),ls(a).lastProp=null,this._doDispatchAxisPointer()}},r.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var e=this._payloadInfo,a=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:a.axis.dim,axisIndex:a.componentIndex}]})}},r.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},r.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),a=this._group,i=this._handle;e&&a&&(this._lastGraphicKey=null,a&&e.remove(a),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),Sh(this,"_doDispatchAxisPointer")},r.prototype.doClear=function(){},r.prototype.buildLabel=function(t,e,a){return a=a||0,{x:t[a],y:t[1-a],width:e[a],height:e[1-a]}},r})();function AR(r,t,e,a){f7(ls(e).lastProp,a)||(ls(e).lastProp=a,t?wt(e,a,r):(e.stopAnimation(),e.attr(a)))}function f7(r,t){if($e(r)&&$e(t)){var e=!0;return $(t,function(a,i){e=e&&f7(r[i],a)}),!!e}else return r===t}function CR(r,t){r[t.get(["label","show"])?"show":"hide"]()}function My(r){return{x:r.x||0,y:r.y||0,rotation:r.rotation||0}}function MR(r,t,e){var a=t.get("z"),i=t.get("zlevel");r&&r.traverse(function(n){n.type!=="group"&&(a!=null&&(n.z=a),i!=null&&(n.zlevel=i),n.silent=e)})}function CM(r){var t=r.get("type"),e=r.getModel(t+"Style"),a;return t==="line"?(a=e.getLineStyle(),a.fill=null):t==="shadow"&&(a=e.getAreaStyle(),a.stroke=null),a}function c7(r,t,e,a,i){var n=e.get("value"),o=d7(n,t.axis,t.ecModel,e.get("seriesDataIndices"),{precision:e.get(["label","precision"]),formatter:e.get(["label","formatter"])}),s=e.getModel("label"),l=Vs(s.get("padding")||0),u=s.getFont(),v=Fh(o,u),h=i.position,f=v.width+l[1]+l[3],c=v.height+l[0]+l[2],d=i.align;d==="right"&&(h[0]-=f),d==="center"&&(h[0]-=f/2);var p=i.verticalAlign;p==="bottom"&&(h[1]-=c),p==="middle"&&(h[1]-=c/2),kue(h,f,c,a);var g=s.get("backgroundColor");(!g||g==="auto")&&(g=t.get(["axisLine","lineStyle","color"])),r.label={x:h[0],y:h[1],style:Ht(s,{text:o,font:u,fill:s.getTextColor(),padding:l,backgroundColor:g}),z2:10}}function kue(r,t,e,a){var i=a.getWidth(),n=a.getHeight();r[0]=Math.min(r[0]+t,i)-t,r[1]=Math.min(r[1]+e,n)-e,r[0]=Math.max(r[0],0),r[1]=Math.max(r[1],0)}function d7(r,t,e,a,i){r=t.scale.parse(r);var n=t.scale.getLabel({value:r},{precision:i.precision}),o=i.formatter;if(o){var s={value:HC(t,{value:r}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};$(a,function(l){var u=e.getSeriesByIndex(l.seriesIndex),v=l.dataIndexInside,h=u&&u.getDataParams(v);h&&s.seriesData.push(h)}),Re(o)?n=o.replace("{value}",n):He(o)&&(n=o(s))}return n}function MM(r,t,e){var a=xa();return co(a,a,e.rotation),yi(a,a,e.position),gi([r.dataToCoord(t),(e.labelOffset||0)+(e.labelDirection||1)*(e.labelMargin||0)],a)}function p7(r,t,e,a,i,n){var o=la.innerTextLayout(e.rotation,0,e.labelDirection);e.labelMargin=i.get(["label","margin"]),c7(t,a,i,n,{position:MM(a.axis,r,e),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function DM(r,t,e){return e=e||0,{x1:r[e],y1:r[1-e],x2:t[e],y2:t[1-e]}}function g7(r,t,e){return e=e||0,{x:r[e],y:r[1-e],width:t[e],height:t[1-e]}}function DR(r,t,e,a,i,n){return{cx:r,cy:t,r0:e,r:a,startAngle:i,endAngle:n,clockwise:!0}}var Oue=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.makeElOption=function(e,a,i,n,o){var s=i.axis,l=s.grid,u=n.get("type"),v=LR(l,s).getOtherAxis(s).getGlobalExtent(),h=s.toGlobalCoord(s.dataToCoord(a,!0));if(u&&u!=="none"){var f=CM(n),c=Nue[u](s,h,v);c.style=f,e.graphicKey=c.type,e.pointer=c}var d=BT(l.model,i);p7(a,e,d,i,n,o)},t.prototype.getHandleTransform=function(e,a,i){var n=BT(a.axis.grid.model,a,{labelInside:!1});n.labelMargin=i.get(["handle","margin"]);var o=MM(a.axis,e,n);return{x:o[0],y:o[1],rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,a,i,n){var o=i.axis,s=o.grid,l=o.getGlobalExtent(!0),u=LR(s,o).getOtherAxis(o).getGlobalExtent(),v=o.dim==="x"?0:1,h=[e.x,e.y];h[v]+=a[v],h[v]=Math.min(l[1],h[v]),h[v]=Math.max(l[0],h[v]);var f=(u[1]+u[0])/2,c=[f,f];c[v]=h[v];var d=[{verticalAlign:"middle"},{align:"center"}];return{x:h[0],y:h[1],rotation:e.rotation,cursorPoint:c,tooltipOption:d[v]}},t})(AM);function LR(r,t){var e={};return e[t.dim+"AxisIndex"]=t.index,r.getCartesian(e)}var Nue={line:function(r,t,e){var a=DM([t,e[0]],[t,e[1]],IR(r));return{type:"Line",subPixelOptimize:!0,shape:a}},shadow:function(r,t,e){var a=Math.max(1,r.getBandWidth()),i=e[1]-e[0];return{type:"Rect",shape:g7([t-a/2,e[0]],[a,i],IR(r))}}};function IR(r){return r.dim==="x"?0:1}var zue=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},t})(ut),gn=yt(),Bue=$;function m7(r,t,e){if(!vt.node){var a=t.getZr();gn(a).records||(gn(a).records={}),Vue(a,t);var i=gn(a).records[r]||(gn(a).records[r]={});i.handler=e}}function Vue(r,t){if(gn(r).initialized)return;gn(r).initialized=!0,e("click",et(PR,"click")),e("mousemove",et(PR,"mousemove")),e("globalout",Fue);function e(a,i){r.on(a,function(n){var o=Hue(t);Bue(gn(r).records,function(s){s&&i(s,n,o.dispatchAction)}),Gue(o.pendings,t)})}}function Gue(r,t){var e=r.showTip.length,a=r.hideTip.length,i;e?i=r.showTip[e-1]:a&&(i=r.hideTip[a-1]),i&&(i.dispatchAction=null,t.dispatchAction(i))}function Fue(r,t,e){r.handler("leave",null,e)}function PR(r,t,e,a){t.handler(r,e,a)}function Hue(r){var t={showTip:[],hideTip:[]},e=function(a){var i=t[a.type];i?i.push(a):(a.dispatchAction=e,r.dispatchAction(a))};return{dispatchAction:e,pendings:t}}function nA(r,t){if(!vt.node){var e=t.getZr(),a=(gn(e).records||{})[r];a&&(gn(e).records[r]=null)}}var que=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,a,i){var n=a.getComponent("tooltip"),o=e.get("triggerOn")||n&&n.get("triggerOn")||"mousemove|click";m7("axisPointer",i,function(s,l,u){o!=="none"&&(s==="leave"||o.indexOf(s)>=0)&&u({type:"updateAxisPointer",currTrigger:s,x:l&&l.offsetX,y:l&&l.offsetY})})},t.prototype.remove=function(e,a){nA("axisPointer",a)},t.prototype.dispose=function(e,a){nA("axisPointer",a)},t.type="axisPointer",t})(Wt);function y7(r,t){var e=[],a=r.seriesIndex,i;if(a==null||!(i=t.getSeriesByIndex(a)))return{point:[]};var n=i.getData(),o=Ds(n,r);if(o==null||o<0||Se(o))return{point:[]};var s=n.getItemGraphicEl(o),l=i.coordinateSystem;if(i.getTooltipPosition)e=i.getTooltipPosition(o)||[];else if(l&&l.dataToPoint)if(r.isStacked){var u=l.getBaseAxis(),v=l.getOtherAxis(u),h=v.dim,f=u.dim,c=h==="x"||h==="radius"?1:0,d=n.mapDimension(f),p=[];p[c]=n.get(d,o),p[1-c]=n.get(n.getCalculationInfo("stackResultDimension"),o),e=l.dataToPoint(p)||[]}else e=l.dataToPoint(n.getValues(we(l.dimensions,function(m){return n.mapDimension(m)}),o))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),e=[g.x+g.width/2,g.y+g.height/2]}return{point:e,el:s}}var RR=yt();function Wue(r,t,e){var a=r.currTrigger,i=[r.x,r.y],n=r,o=r.dispatchAction||Ne(e.dispatchAction,e),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){vd(i)&&(i=y7({seriesIndex:n.seriesIndex,dataIndex:n.dataIndex},t).point);var l=vd(i),u=n.axesInfo,v=s.axesInfo,h=a==="leave"||vd(i),f={},c={},d={list:[],map:{}},p={showPointer:et($ue,c),showTooltip:et(Yue,d)};$(s.coordSysMap,function(m,y){var _=l||m.containPoint(i);$(s.coordSysAxesInfo[y],function(x,S){var b=x.axis,w=Que(u,x);if(!h&&_&&(!u||w)){var A=w&&w.value;A==null&&!l&&(A=b.pointToData(i)),A!=null&&ER(x,A,p,!1,f)}})});var g={};return $(v,function(m,y){var _=m.linkGroup;_&&!c[y]&&$(_.axesInfo,function(x,S){var b=c[S];if(x!==m&&b){var w=b.value;_.mapper&&(w=m.axis.scale.parse(_.mapper(w,kR(x),kR(m)))),g[m.key]=w}})}),$(g,function(m,y){ER(v[y],m,p,!0,f)}),Zue(c,v,f),Xue(d,i,r,o),Kue(v,o,e),f}}function ER(r,t,e,a,i){var n=r.axis;if(!(n.scale.isBlank()||!n.containData(t))){if(!r.involveSeries){e.showPointer(r,t);return}var o=Uue(t,r),s=o.payloadBatch,l=o.snapToValue;s[0]&&i.seriesIndex==null&&_e(i,s[0]),!a&&r.snap&&n.containData(l)&&l!=null&&(t=l),e.showPointer(r,t,s),e.showTooltip(r,o,l)}}function Uue(r,t){var e=t.axis,a=e.dim,i=r,n=[],o=Number.MAX_VALUE,s=-1;return $(t.seriesModels,function(l,u){var v=l.getData().mapDimensionsAll(a),h,f;if(l.getAxisTooltipData){var c=l.getAxisTooltipData(v,r,e);f=c.dataIndices,h=c.nestestValue}else{if(f=l.getData().indicesOfNearest(v[0],r,e.type==="category"?.5:null),!f.length)return;h=l.getData().get(v[0],f[0])}if(!(h==null||!isFinite(h))){var d=r-h,p=Math.abs(d);p<=o&&((p=0&&s<0)&&(o=p,s=d,i=h,n.length=0),$(f,function(g){n.push({seriesIndex:l.seriesIndex,dataIndexInside:g,dataIndex:l.getData().getRawIndex(g)})}))}}),{payloadBatch:n,snapToValue:i}}function $ue(r,t,e,a){r[t.key]={value:e,payloadBatch:a}}function Yue(r,t,e,a){var i=e.payloadBatch,n=t.axis,o=n.model,s=t.axisPointerModel;if(!(!t.triggerTooltip||!i.length)){var l=t.coordSys.model,u=Ch(l),v=r.map[u];v||(v=r.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},r.list.push(v)),v.dataByAxis.push({axisDim:n.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:a,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function Zue(r,t,e){var a=e.axesInfo=[];$(t,function(i,n){var o=i.axisPointerModel.option,s=r[n];s?(!i.useHandle&&(o.status="show"),o.value=s.value,o.seriesDataIndices=(s.payloadBatch||[]).slice()):!i.useHandle&&(o.status="hide"),o.status==="show"&&a.push({axisDim:i.axis.dim,axisIndex:i.axis.model.componentIndex,value:o.value})})}function Xue(r,t,e,a){if(vd(t)||!r.list.length){a({type:"hideTip"});return}var i=((r.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};a({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:e.tooltipOption,position:e.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:r.list})}function Kue(r,t,e){var a=e.getZr(),i="axisPointerLastHighlights",n=RR(a)[i]||{},o=RR(a)[i]={};$(r,function(u,v){var h=u.axisPointerModel.option;h.status==="show"&&u.triggerEmphasis&&$(h.seriesDataIndices,function(f){var c=f.seriesIndex+" | "+f.dataIndex;o[c]=f})});var s=[],l=[];$(n,function(u,v){!o[v]&&l.push(u)}),$(o,function(u,v){!n[v]&&s.push(u)}),l.length&&e.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&e.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function Que(r,t){for(var e=0;e<(r||[]).length;e++){var a=r[e];if(t.axis.dim===a.axisDim&&t.axis.model.componentIndex===a.axisIndex)return a}}function kR(r){var t=r.axis.model,e={},a=e.axisDim=r.axis.dim;return e.axisIndex=e[a+"AxisIndex"]=t.componentIndex,e.axisName=e[a+"AxisName"]=t.name,e.axisId=e[a+"AxisId"]=t.id,e}function vd(r){return!r||r[0]==null||isNaN(r[0])||r[1]==null||isNaN(r[1])}function of(r){Hs.registerAxisPointerClass("CartesianAxisPointer",Oue),r.registerComponentModel(zue),r.registerComponentView(que),r.registerPreprocessor(function(t){if(t){(!t.axisPointer||t.axisPointer.length===0)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!Se(e)&&(t.axisPointer.link=[e])}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=sae(t,e)}),r.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},Wue)}function jue(r){ot($6),ot(of)}var Jue=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.makeElOption=function(e,a,i,n,o){var s=i.axis;s.dim==="angle"&&(this.animationThreshold=Math.PI/18);var l=s.polar,u=l.getOtherAxis(s),v=u.getExtent(),h=s.dataToCoord(a),f=n.get("type");if(f&&f!=="none"){var c=CM(n),d=tve[f](s,l,h,v);d.style=c,e.graphicKey=d.type,e.pointer=d}var p=n.get(["label","margin"]),g=eve(a,i,n,l,p);c7(e,i,n,o,g)},t})(AM);function eve(r,t,e,a,i){var n=t.axis,o=n.dataToCoord(r),s=a.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l=a.getRadiusAxis().getExtent(),u,v,h;if(n.dim==="radius"){var f=xa();co(f,f,s),yi(f,f,[a.cx,a.cy]),u=gi([o,-i],f);var c=t.getModel("axisLabel").get("rotate")||0,d=la.innerTextLayout(s,c*Math.PI/180,-1);v=d.textAlign,h=d.textVerticalAlign}else{var p=l[1];u=a.coordToPoint([p+i,o]);var g=a.cx,m=a.cy;v=Math.abs(u[0]-g)/p<.3?"center":u[0]>g?"left":"right",h=Math.abs(u[1]-m)/p<.3?"middle":u[1]>m?"top":"bottom"}return{position:u,align:v,verticalAlign:h}}var tve={line:function(r,t,e,a){return r.dim==="angle"?{type:"Line",shape:DM(t.coordToPoint([a[0],e]),t.coordToPoint([a[1],e]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:e}}},shadow:function(r,t,e,a){var i=Math.max(1,r.getBandWidth()),n=Math.PI/180;return r.dim==="angle"?{type:"Sector",shape:DR(t.cx,t.cy,a[0],a[1],(-e-i/2)*n,(-e+i/2)*n)}:{type:"Sector",shape:DR(t.cx,t.cy,e-i/2,e+i/2,0,Math.PI*2)}}},rve=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.findAxisModel=function(e){var a,i=this.ecModel;return i.eachComponent(e,function(n){n.getCoordSysModel()===this&&(a=n)},this),a},t.type="polar",t.dependencies=["radiusAxis","angleAxis"],t.defaultOption={z:0,center:["50%","50%"],radius:"80%"},t})(ut),LM=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",cr).models[0]},t.type="polarAxis",t})(ut);nr(LM,Su);var ave=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="angleAxis",t})(LM),ive=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="radiusAxis",t})(LM),IM=(function(r){he(t,r);function t(e,a){return r.call(this,"radius",e,a)||this}return t.prototype.pointToData=function(e,a){return this.polar.pointToData(e,a)[this.dim==="radius"?0:1]},t})(Ja);IM.prototype.dataToRadius=Ja.prototype.dataToCoord;IM.prototype.radiusToData=Ja.prototype.coordToData;var nve=yt(),PM=(function(r){he(t,r);function t(e,a){return r.call(this,"angle",e,a||[0,360])||this}return t.prototype.pointToData=function(e,a){return this.polar.pointToData(e,a)[this.dim==="radius"?0:1]},t.prototype.calculateCategoryInterval=function(){var e=this,a=e.getLabelModel(),i=e.scale,n=i.getExtent(),o=i.count();if(n[1]-n[0]<1)return 0;var s=n[0],l=e.dataToCoord(s+1)-e.dataToCoord(s),u=Math.abs(l),v=Fh(s==null?"":s+"",a.getFont(),"center","top"),h=Math.max(v.height,7),f=h/u;isNaN(f)&&(f=1/0);var c=Math.max(0,Math.floor(f)),d=nve(e.model),p=d.lastAutoInterval,g=d.lastTickCount;return p!=null&&g!=null&&Math.abs(p-c)<=1&&Math.abs(g-o)<=1&&p>c?c=p:(d.lastTickCount=o,d.lastAutoInterval=c),c},t})(Ja);PM.prototype.dataToAngle=Ja.prototype.dataToCoord;PM.prototype.angleToData=Ja.prototype.coordToData;var _7=["radius","angle"],ove=(function(){function r(t){this.dimensions=_7,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new IM,this._angleAxis=new PM,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return r.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},r.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},r.prototype.getAxis=function(t){var e="_"+t+"Axis";return this[e]},r.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},r.prototype.getAxesByScale=function(t){var e=[],a=this._angleAxis,i=this._radiusAxis;return a.scale.type===t&&e.push(a),i.scale.type===t&&e.push(i),e},r.prototype.getAngleAxis=function(){return this._angleAxis},r.prototype.getRadiusAxis=function(){return this._radiusAxis},r.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},r.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},r.prototype.getTooltipAxes=function(t){var e=t!=null&&t!=="auto"?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},r.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},r.prototype.pointToData=function(t,e){var a=this.pointToCoord(t);return[this._radiusAxis.radiusToData(a[0],e),this._angleAxis.angleToData(a[1],e)]},r.prototype.pointToCoord=function(t){var e=t[0]-this.cx,a=t[1]-this.cy,i=this.getAngleAxis(),n=i.getExtent(),o=Math.min(n[0],n[1]),s=Math.max(n[0],n[1]);i.inverse?o=s-360:s=o+360;var l=Math.sqrt(e*e+a*a);e/=l,a/=l;for(var u=Math.atan2(-a,e)/Math.PI*180,v=us;)u+=v*360;return[l,u]},r.prototype.coordToPoint=function(t){var e=t[0],a=t[1]/180*Math.PI,i=Math.cos(a)*e+this.cx,n=-Math.sin(a)*e+this.cy;return[i,n]},r.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis(),a=e.getExtent().slice();a[0]>a[1]&&a.reverse();var i=t.getExtent(),n=Math.PI/180,o=1e-4;return{cx:this.cx,cy:this.cy,r0:a[0],r:a[1],startAngle:-i[0]*n,endAngle:-i[1]*n,clockwise:t.inverse,contain:function(s,l){var u=s-this.cx,v=l-this.cy,h=u*u+v*v,f=this.r,c=this.r0;return f!==c&&h-o<=f*f&&h+o>=c*c}}},r.prototype.convertToPixel=function(t,e,a){var i=OR(e);return i===this?this.dataToPoint(a):null},r.prototype.convertFromPixel=function(t,e,a){var i=OR(e);return i===this?this.pointToData(a):null},r})();function OR(r){var t=r.seriesModel,e=r.polarModel;return e&&e.coordinateSystem||t&&t.coordinateSystem}function sve(r,t,e){var a=t.get("center"),i=e.getWidth(),n=e.getHeight();r.cx=Ie(a[0],i),r.cy=Ie(a[1],n);var o=r.getRadiusAxis(),s=Math.min(i,n)/2,l=t.get("radius");l==null?l=[0,"100%"]:Se(l)||(l=[0,l]);var u=[Ie(l[0],s),Ie(l[1],s)];o.inverse?o.setExtent(u[1],u[0]):o.setExtent(u[0],u[1])}function lve(r,t){var e=this,a=e.getAngleAxis(),i=e.getRadiusAxis();if(a.scale.setExtent(1/0,-1/0),i.scale.setExtent(1/0,-1/0),r.eachSeries(function(s){if(s.coordinateSystem===e){var l=s.getData();$($d(l,"radius"),function(u){i.scale.unionExtentFromData(l,u)}),$($d(l,"angle"),function(u){a.scale.unionExtentFromData(l,u)})}}),Rs(a.scale,a.model),Rs(i.scale,i.model),a.type==="category"&&!a.onBand){var n=a.getExtent(),o=360/a.scale.count();a.inverse?n[1]+=o:n[1]-=o,a.setExtent(n[0],n[1])}}function uve(r){return r.mainType==="angleAxis"}function NR(r,t){var e;if(r.type=t.get("type"),r.scale=Kh(t),r.onBand=t.get("boundaryGap")&&r.type==="category",r.inverse=t.get("inverse"),uve(t)){r.inverse=r.inverse!==t.get("clockwise");var a=t.get("startAngle"),i=(e=t.get("endAngle"))!==null&&e!==void 0?e:a+(r.inverse?-360:360);r.setExtent(a,i)}t.axis=r,r.model=t}var vve={dimensions:_7,create:function(r,t){var e=[];return r.eachComponent("polar",function(a,i){var n=new ove(i+"");n.update=lve;var o=n.getRadiusAxis(),s=n.getAngleAxis(),l=a.findAxisModel("radiusAxis"),u=a.findAxisModel("angleAxis");NR(o,l),NR(s,u),sve(n,a,t),e.push(n),a.coordinateSystem=n,n.model=a}),r.eachSeries(function(a){if(a.get("coordinateSystem")==="polar"){var i=a.getReferringComponents("polar",cr).models[0];a.coordinateSystem=i.coordinateSystem}}),e}},hve=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function gc(r,t,e){t[1]>t[0]&&(t=t.slice().reverse());var a=r.coordToPoint([t[0],e]),i=r.coordToPoint([t[1],e]);return{x1:a[0],y1:a[1],x2:i[0],y2:i[1]}}function mc(r){var t=r.getRadiusAxis();return t.inverse?0:1}function zR(r){var t=r[0],e=r[r.length-1];t&&e&&Math.abs(Math.abs(t.coord-e.coord)-360)<1e-4&&r.pop()}var fve=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.axisPointerClass="PolarAxisPointer",e}return t.prototype.render=function(e,a){if(this.group.removeAll(),!!e.get("show")){var i=e.axis,n=i.polar,o=n.getRadiusAxis().getExtent(),s=i.getTicksCoords(),l=i.getMinorTicksCoords(),u=we(i.getViewLabels(),function(v){v=Ye(v);var h=i.scale,f=h.type==="ordinal"?h.getRawOrdinalNumber(v.tickValue):v.tickValue;return v.coord=i.dataToCoord(f),v});zR(u),zR(s),$(hve,function(v){e.get([v,"show"])&&(!i.scale.isBlank()||v==="axisLine")&&cve[v](this.group,e,n,s,l,o,u)},this)}},t.type="angleAxis",t})(Hs),cve={axisLine:function(r,t,e,a,i,n){var o=t.getModel(["axisLine","lineStyle"]),s=e.getAngleAxis(),l=Math.PI/180,u=s.getExtent(),v=mc(e),h=v?0:1,f,c=Math.abs(u[1]-u[0])===360?"Circle":"Arc";n[h]===0?f=new Bs[c]({shape:{cx:e.cx,cy:e.cy,r:n[v],startAngle:-u[0]*l,endAngle:-u[1]*l,clockwise:s.inverse},style:o.getLineStyle(),z2:1,silent:!0}):f=new ou({shape:{cx:e.cx,cy:e.cy,r:n[v],r0:n[h]},style:o.getLineStyle(),z2:1,silent:!0}),f.style.fill=null,r.add(f)},axisTick:function(r,t,e,a,i,n){var o=t.getModel("axisTick"),s=(o.get("inside")?-1:1)*o.get("length"),l=n[mc(e)],u=we(a,function(v){return new xr({shape:gc(e,[l,l+s],v.coord)})});r.add(wa(u,{style:Ue(o.getModel("lineStyle").getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])})}))},minorTick:function(r,t,e,a,i,n){if(i.length){for(var o=t.getModel("axisTick"),s=t.getModel("minorTick"),l=(o.get("inside")?-1:1)*s.get("length"),u=n[mc(e)],v=[],h=0;hm?"left":"right",x=Math.abs(g[1]-y)/p<.3?"middle":g[1]>y?"top":"bottom";if(s&&s[d]){var S=s[d];$e(S)&&S.textStyle&&(c=new Mt(S.textStyle,l,l.ecModel))}var b=new pt({silent:la.isLabelSilent(t),style:Ht(c,{x:g[0],y:g[1],fill:c.getTextColor()||t.get(["axisLine","lineStyle","color"]),text:h.formattedLabel,align:_,verticalAlign:x})});if(r.add(b),v){var w=la.makeAxisEventDataBase(t);w.targetType="axisLabel",w.value=h.rawLabel,Xe(b).eventData=w}},this)},splitLine:function(r,t,e,a,i,n){var o=t.getModel("splitLine"),s=o.getModel("lineStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var v=[],h=0;h=0?"p":"n",I=T;S&&(a[v][D]||(a[v][D]={p:T,n:T}),I=a[v][D][P]);var R=void 0,E=void 0,k=void 0,B=void 0;if(d.dim==="radius"){var F=d.dataToCoord(L)-T,V=l.dataToCoord(D);Math.abs(F)=B})}}})}function xve(r){var t={};$(r,function(a,i){var n=a.getData(),o=a.coordinateSystem,s=o.getBaseAxis(),l=S7(o,s),u=s.getExtent(),v=s.type==="category"?s.getBandWidth():Math.abs(u[1]-u[0])/n.count(),h=t[l]||{bandWidth:v,remainedWidth:v,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},f=h.stacks;t[l]=h;var c=x7(a);f[c]||h.autoWidthCount++,f[c]=f[c]||{width:0,maxWidth:0};var d=Ie(a.get("barWidth"),v),p=Ie(a.get("barMaxWidth"),v),g=a.get("barGap"),m=a.get("barCategoryGap");d&&!f[c].width&&(d=Math.min(h.remainedWidth,d),f[c].width=d,h.remainedWidth-=d),p&&(f[c].maxWidth=p),g!=null&&(h.gap=g),m!=null&&(h.categoryGap=m)});var e={};return $(t,function(a,i){e[i]={};var n=a.stacks,o=a.bandWidth,s=Ie(a.categoryGap,o),l=Ie(a.gap,1),u=a.remainedWidth,v=a.autoWidthCount,h=(u-s)/(v+(v-1)*l);h=Math.max(h,0),$(n,function(p,g){var m=p.maxWidth;m&&m=e.y&&t[1]<=e.y+e.height:a.contain(a.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},r.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t[e.orient==="horizontal"?0:1]))]},r.prototype.dataToPoint=function(t){var e=this.getAxis(),a=this.getRect(),i=[],n=e.orient==="horizontal"?0:1;return t instanceof Array&&(t=t[0]),i[n]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-n]=n===0?a.y+a.height/2:a.x+a.width/2,i},r.prototype.convertToPixel=function(t,e,a){var i=BR(e);return i===this?this.dataToPoint(a):null},r.prototype.convertFromPixel=function(t,e,a){var i=BR(e);return i===this?this.pointToData(a):null},r})();function BR(r){var t=r.seriesModel,e=r.singleAxisModel;return e&&e.coordinateSystem||t&&t.coordinateSystem}function Pve(r,t){var e=[];return r.eachComponent("singleAxis",function(a,i){var n=new Ive(a,r,t);n.name="single_"+i,n.resize(a,t),a.coordinateSystem=n,e.push(n)}),r.eachSeries(function(a){if(a.get("coordinateSystem")==="singleAxis"){var i=a.getReferringComponents("singleAxis",cr).models[0];a.coordinateSystem=i&&i.coordinateSystem}}),e}var Rve={create:Pve,dimensions:b7},VR=["x","y"],Eve=["width","height"],kve=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.makeElOption=function(e,a,i,n,o){var s=i.axis,l=s.coordinateSystem,u=Dy(l,1-np(s)),v=l.dataToPoint(a)[0],h=n.get("type");if(h&&h!=="none"){var f=CM(n),c=Ove[h](s,v,u);c.style=f,e.graphicKey=c.type,e.pointer=c}var d=oA(i);p7(a,e,d,i,n,o)},t.prototype.getHandleTransform=function(e,a,i){var n=oA(a,{labelInside:!1});n.labelMargin=i.get(["handle","margin"]);var o=MM(a.axis,e,n);return{x:o[0],y:o[1],rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,a,i,n){var o=i.axis,s=o.coordinateSystem,l=np(o),u=Dy(s,l),v=[e.x,e.y];v[l]+=a[l],v[l]=Math.min(u[1],v[l]),v[l]=Math.max(u[0],v[l]);var h=Dy(s,1-l),f=(h[1]+h[0])/2,c=[f,f];return c[l]=v[l],{x:v[0],y:v[1],rotation:e.rotation,cursorPoint:c,tooltipOption:{verticalAlign:"middle"}}},t})(AM),Ove={line:function(r,t,e){var a=DM([t,e[0]],[t,e[1]],np(r));return{type:"Line",subPixelOptimize:!0,shape:a}},shadow:function(r,t,e){var a=r.getBandWidth(),i=e[1]-e[0];return{type:"Rect",shape:g7([t-a/2,e[0]],[a,i],np(r))}}};function np(r){return r.isHorizontal()?0:1}function Dy(r,t){var e=r.getRect();return[e[VR[t]],e[VR[t]]+e[Eve[t]]]}var Nve=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="single",t})(Wt);function zve(r){ot(of),Hs.registerAxisPointerClass("SingleAxisPointer",kve),r.registerComponentView(Nve),r.registerComponentView(Mve),r.registerComponentModel(hd),Jl(r,"single",hd,hd.defaultOption),r.registerCoordinateSystem("single",Rve)}var Bve=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,a,i){var n=cu(e);r.prototype.init.apply(this,arguments),GR(e,n)},t.prototype.mergeOption=function(e){r.prototype.mergeOption.apply(this,arguments),GR(this.option,e)},t.prototype.getCellSize=function(){return this.option.cellSize},t.type="calendar",t.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},t})(ut);function GR(r,t){var e=r.cellSize,a;Se(e)?a=e:a=r.cellSize=[e,e],a.length===1&&(a[1]=a[0]);var i=we([0,1],function(n){return DQ(t,n)&&(a[n]="auto"),a[n]!=null&&a[n]!=="auto"});uo(r,t,{type:"box",ignoreSize:i})}var Vve=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,a,i){var n=this.group;n.removeAll();var o=e.coordinateSystem,s=o.getRangeInfo(),l=o.getOrient(),u=a.getLocaleModel();this._renderDayRect(e,s,n),this._renderLines(e,s,l,n),this._renderYearText(e,s,l,n),this._renderMonthText(e,u,l,n),this._renderWeekText(e,u,s,l,n)},t.prototype._renderDayRect=function(e,a,i){for(var n=e.coordinateSystem,o=e.getModel("itemStyle").getItemStyle(),s=n.getCellWidth(),l=n.getCellHeight(),u=a.start.time;u<=a.end.time;u=n.getNextNDay(u,1).time){var v=n.dataToRect([u],!1).tl,h=new gt({shape:{x:v[0],y:v[1],width:s,height:l},cursor:"default",style:o});i.add(h)}},t.prototype._renderLines=function(e,a,i,n){var o=this,s=e.coordinateSystem,l=e.getModel(["splitLine","lineStyle"]).getLineStyle(),u=e.get(["splitLine","show"]),v=l.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var h=a.start,f=0;h.time<=a.end.time;f++){d(h.formatedDate),f===0&&(h=s.getDateInfo(a.start.y+"-"+a.start.m));var c=h.date;c.setMonth(c.getMonth()+1),h=s.getDateInfo(c)}d(s.getNextNDay(a.end.time,1).formatedDate);function d(p){o._firstDayOfMonth.push(s.getDateInfo(p)),o._firstDayPoints.push(s.dataToRect([p],!1).tl);var g=o._getLinePointsOfOneWeek(e,p,i);o._tlpoints.push(g[0]),o._blpoints.push(g[g.length-1]),u&&o._drawSplitline(g,l,n)}u&&this._drawSplitline(o._getEdgesPoints(o._tlpoints,v,i),l,n),u&&this._drawSplitline(o._getEdgesPoints(o._blpoints,v,i),l,n)},t.prototype._getEdgesPoints=function(e,a,i){var n=[e[0].slice(),e[e.length-1].slice()],o=i==="horizontal"?0:1;return n[0][o]=n[0][o]-a/2,n[1][o]=n[1][o]+a/2,n},t.prototype._drawSplitline=function(e,a,i){var n=new ea({z2:20,shape:{points:e},style:a});i.add(n)},t.prototype._getLinePointsOfOneWeek=function(e,a,i){for(var n=e.coordinateSystem,o=n.getDateInfo(a),s=[],l=0;l<7;l++){var u=n.getNextNDay(o.time,l),v=n.dataToRect([u.time],!1);s[2*u.day]=v.tl,s[2*u.day+1]=v[i==="horizontal"?"bl":"tr"]}return s},t.prototype._formatterLabel=function(e,a){return Re(e)&&e?TQ(e,a):He(e)?e(a):a.nameMap},t.prototype._yearTextPositionControl=function(e,a,i,n,o){var s=a[0],l=a[1],u=["center","bottom"];n==="bottom"?(l+=o,u=["center","top"]):n==="left"?s-=o:n==="right"?(s+=o,u=["center","top"]):l-=o;var v=0;return(n==="left"||n==="right")&&(v=Math.PI/2),{rotation:v,x:s,y:l,style:{align:u[0],verticalAlign:u[1]}}},t.prototype._renderYearText=function(e,a,i,n){var o=e.getModel("yearLabel");if(o.get("show")){var s=o.get("margin"),l=o.get("position");l||(l=i!=="horizontal"?"top":"left");var u=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],v=(u[0][0]+u[1][0])/2,h=(u[0][1]+u[1][1])/2,f=i==="horizontal"?0:1,c={top:[v,u[f][1]],bottom:[v,u[1-f][1]],left:[u[1-f][0],h],right:[u[f][0],h]},d=a.start.y;+a.end.y>+a.start.y&&(d=d+"-"+a.end.y);var p=o.get("formatter"),g={start:a.start.y,end:a.end.y,nameMap:d},m=this._formatterLabel(p,g),y=new pt({z2:30,style:Ht(o,{text:m}),silent:o.get("silent")});y.attr(this._yearTextPositionControl(y,c[l],i,l,s)),n.add(y)}},t.prototype._monthTextPositionControl=function(e,a,i,n,o){var s="left",l="top",u=e[0],v=e[1];return i==="horizontal"?(v=v+o,a&&(s="center"),n==="start"&&(l="bottom")):(u=u+o,a&&(l="middle"),n==="start"&&(s="right")),{x:u,y:v,align:s,verticalAlign:l}},t.prototype._renderMonthText=function(e,a,i,n){var o=e.getModel("monthLabel");if(o.get("show")){var s=o.get("nameMap"),l=o.get("margin"),u=o.get("position"),v=o.get("align"),h=[this._tlpoints,this._blpoints];(!s||Re(s))&&(s&&(a=gT(s)||a),s=a.get(["time","monthAbbr"])||[]);var f=u==="start"?0:1,c=i==="horizontal"?0:1;l=u==="start"?-l:l;for(var d=v==="center",p=o.get("silent"),g=0;g=i.start.time&&a.times.end.time&&e.reverse(),e},r.prototype._getRangeInfo=function(t){var e=[this.getDateInfo(t[0]),this.getDateInfo(t[1])],a;e[0].time>e[1].time&&(a=!0,e.reverse());var i=Math.floor(e[1].time/Ly)-Math.floor(e[0].time/Ly)+1,n=new Date(e[0].time),o=n.getDate(),s=e[1].date.getDate();n.setDate(o+i-1);var l=n.getDate();if(l!==s)for(var u=n.getTime()-e[1].time>0?1:-1;(l=n.getDate())!==s&&(n.getTime()-e[1].time)*u>0;)i-=u,n.setDate(l-u);var v=Math.floor((i+e[0].day+6)/7),h=a?-v+1:v-1;return a&&e.reverse(),{range:[e[0].formatedDate,e[1].formatedDate],start:e[0],end:e[1],allDay:i,weeks:v,nthWeek:h,fweek:e[0].day,lweek:e[1].day}},r.prototype._getDateByWeeksAndDay=function(t,e,a){var i=this._getRangeInfo(a);if(t>i.weeks||t===0&&ei.lweek)return null;var n=(t-1)*7-i.fweek+e,o=new Date(i.start.time);return o.setDate(+i.start.d+n),this.getDateInfo(o)},r.create=function(t,e){var a=[];return t.eachComponent("calendar",function(i){var n=new r(i);a.push(n),i.coordinateSystem=n}),t.eachSeries(function(i){i.get("coordinateSystem")==="calendar"&&(i.coordinateSystem=a[i.get("calendarIndex")||0])}),a},r.dimensions=["time","value"],r})();function FR(r){var t=r.calendarModel,e=r.seriesModel,a=t?t.coordinateSystem:e?e.coordinateSystem:null;return a}function Fve(r){r.registerComponentModel(Bve),r.registerComponentView(Vve),r.registerCoordinateSystem("calendar",Gve)}function Hve(r,t){var e=r.existing;if(t.id=r.keyInfo.id,!t.type&&e&&(t.type=e.type),t.parentId==null){var a=t.parentOption;a?t.parentId=a.id:e&&(t.parentId=e.parentId)}t.parentOption=null}function HR(r,t){var e;return $(t,function(a){r[a]!=null&&r[a]!=="auto"&&(e=!0)}),e}function qve(r,t,e){var a=_e({},e),i=r[t],n=e.$action||"merge";n==="merge"?i?(tt(i,a,!0),uo(i,a,{ignoreSize:!0}),AW(e,i),yc(e,i),yc(e,i,"shape"),yc(e,i,"style"),yc(e,i,"extra"),e.clipPath=i.clipPath):r[t]=a:n==="replace"?r[t]=a:n==="remove"&&i&&(r[t]=null)}var w7=["transition","enterFrom","leaveTo"],Wve=w7.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function yc(r,t,e){if(e&&(!r[e]&&t[e]&&(r[e]={}),r=r[e],t=t[e]),!(!r||!t))for(var a=e?w7:Wve,i=0;i=0;v--){var h=i[v],f=_r(h.id,null),c=f!=null?o.get(f):null;if(c){var d=c.parent,m=Fa(d),y=d===n?{width:s,height:l}:{width:m.width,height:m.height},_={},x=Fp(c,h,y,null,{hv:h.hv,boundingMode:h.bounding},_);if(!Fa(c).isNew&&x){for(var S=h.transition,b={},w=0;w=0)?b[A]=T:c[A]=T}wt(c,b,e,0)}else c.attr(_)}}},t.prototype._clear=function(){var e=this,a=this._elMap;a.each(function(i){fd(i,Fa(i).option,a,e._lastGraphicModel)}),this._elMap=Ge()},t.prototype.dispose=function(){this._clear()},t.type="graphic",t})(Wt);function sA(r){var t=Be(qR,r)?qR[r]:kp(r),e=new t({});return Fa(e).type=r,e}function WR(r,t,e,a){var i=sA(e);return t.add(i),a.set(r,i),Fa(i).id=r,Fa(i).isNew=!0,i}function fd(r,t,e,a){var i=r&&r.parent;i&&(r.type==="group"&&r.traverse(function(n){fd(n,t,e,a)}),ag(r,t,a),e.removeKey(Fa(r).id))}function UR(r,t,e,a){r.isGroup||$([["cursor",Za.prototype.cursor],["zlevel",a||0],["z",e||0],["z2",0]],function(i){var n=i[0];Be(t,n)?r[n]=Je(t[n],i[1]):r[n]==null&&(r[n]=i[1])}),$(ft(t),function(i){if(i.indexOf("on")===0){var n=t[i];r[i]=He(n)?n:null}}),Be(t,"draggable")&&(r.draggable=t.draggable),t.name!=null&&(r.name=t.name),t.id!=null&&(r.id=t.id)}function Zve(r){return r=_e({},r),$(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(TW),function(t){delete r[t]}),r}function Xve(r,t,e){var a=Xe(r).eventData;!r.silent&&!r.ignore&&!a&&(a=Xe(r).eventData={componentType:"graphic",componentIndex:t.componentIndex,name:r.name}),a&&(a.info=e.info)}function Kve(r){r.registerComponentModel($ve),r.registerComponentView(Yve),r.registerPreprocessor(function(t){var e=t.graphic;Se(e)?!e[0]||!e[0].elements?t.graphic=[{elements:e}]:t.graphic=[t.graphic[0]]:e&&!e.elements&&(t.graphic=[{elements:[e]}])})}var $R=["x","y","radius","angle","single"],Qve=["cartesian2d","polar","singleAxis"];function jve(r){var t=r.get("coordinateSystem");return nt(Qve,t)>=0}function jn(r){return r+"Axis"}function Jve(r,t){var e=Ge(),a=[],i=Ge();r.eachComponent({mainType:"dataZoom",query:t},function(v){i.get(v.uid)||s(v)});var n;do n=!1,r.eachComponent("dataZoom",o);while(n);function o(v){!i.get(v.uid)&&l(v)&&(s(v),n=!0)}function s(v){i.set(v.uid,!0),a.push(v),u(v)}function l(v){var h=!1;return v.eachTargetAxis(function(f,c){var d=e.get(f);d&&d[c]&&(h=!0)}),h}function u(v){v.eachTargetAxis(function(h,f){(e.get(h)||e.set(h,[]))[f]=!0})}return a}function T7(r){var t=r.ecModel,e={infoList:[],infoMap:Ge()};return r.eachTargetAxis(function(a,i){var n=t.getComponent(jn(a),i);if(n){var o=n.getCoordSysModel();if(o){var s=o.uid,l=e.infoMap.get(s);l||(l={model:o,axisModels:[]},e.infoList.push(l),e.infoMap.set(s,l)),l.axisModels.push(n)}}}),e}var Iy=(function(){function r(){this.indexList=[],this.indexMap=[]}return r.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},r})(),Rh=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._autoThrottle=!0,e._noTarget=!0,e._rangePropMode=["percent","percent"],e}return t.prototype.init=function(e,a,i){var n=YR(e);this.settledOption=n,this.mergeDefaultAndTheme(e,i),this._doInit(n)},t.prototype.mergeOption=function(e){var a=YR(e);tt(this.option,e,!0),tt(this.settledOption,a,!0),this._doInit(a)},t.prototype._doInit=function(e){var a=this.option;this._setDefaultThrottle(e),this._updateRangeUse(e);var i=this.settledOption;$([["start","startValue"],["end","endValue"]],function(n,o){this._rangePropMode[o]==="value"&&(a[n[0]]=i[n[0]]=null)},this),this._resetTarget()},t.prototype._resetTarget=function(){var e=this.get("orient",!0),a=this._targetAxisInfoMap=Ge(),i=this._fillSpecifiedTargetAxis(a);i?this._orient=e||this._makeAutoOrientByTargetAxis():(this._orient=e||"horizontal",this._fillAutoTargetAxisByOrient(a,this._orient)),this._noTarget=!0,a.each(function(n){n.indexList.length&&(this._noTarget=!1)},this)},t.prototype._fillSpecifiedTargetAxis=function(e){var a=!1;return $($R,function(i){var n=this.getReferringComponents(jn(i),gX);if(n.specified){a=!0;var o=new Iy;$(n.models,function(s){o.add(s.componentIndex)}),e.set(i,o)}},this),a},t.prototype._fillAutoTargetAxisByOrient=function(e,a){var i=this.ecModel,n=!0;if(n){var o=a==="vertical"?"y":"x",s=i.findComponents({mainType:o+"Axis"});l(s,o)}if(n){var s=i.findComponents({mainType:"singleAxis",filter:function(v){return v.get("orient",!0)===a}});l(s,"single")}function l(u,v){var h=u[0];if(h){var f=new Iy;if(f.add(h.componentIndex),e.set(v,f),n=!1,v==="x"||v==="y"){var c=h.getReferringComponents("grid",cr).models[0];c&&$(u,function(d){h.componentIndex!==d.componentIndex&&c===d.getReferringComponents("grid",cr).models[0]&&f.add(d.componentIndex)})}}}n&&$($R,function(u){if(n){var v=i.findComponents({mainType:jn(u),filter:function(f){return f.get("type",!0)==="category"}});if(v[0]){var h=new Iy;h.add(v[0].componentIndex),e.set(u,h),n=!1}}},this)},t.prototype._makeAutoOrientByTargetAxis=function(){var e;return this.eachTargetAxis(function(a){!e&&(e=a)},this),e==="y"?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var a=this.ecModel.option;this.option.throttle=a.animation&&a.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(e){var a=this._rangePropMode,i=this.get("rangeMode");$([["start","startValue"],["end","endValue"]],function(n,o){var s=e[n[0]]!=null,l=e[n[1]]!=null;s&&!l?a[o]="percent":!s&&l?a[o]="value":i?a[o]=i[o]:s&&(a[o]="percent")})},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis(function(a,i){e==null&&(e=this.ecModel.getComponent(jn(a),i))},this),e},t.prototype.eachTargetAxis=function(e,a){this._targetAxisInfoMap.each(function(i,n){$(i.indexList,function(o){e.call(a,n,o)})})},t.prototype.getAxisProxy=function(e,a){var i=this.getAxisModel(e,a);if(i)return i.__dzAxisProxy},t.prototype.getAxisModel=function(e,a){var i=this._targetAxisInfoMap.get(e);if(i&&i.indexMap[a])return this.ecModel.getComponent(jn(e),a)},t.prototype.setRawRange=function(e){var a=this.option,i=this.settledOption;$([["start","startValue"],["end","endValue"]],function(n){(e[n[0]]!=null||e[n[1]]!=null)&&(a[n[0]]=i[n[0]]=e[n[0]],a[n[1]]=i[n[1]]=e[n[1]])},this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var a=this.option;$(["start","startValue","end","endValue"],function(i){a[i]=e[i]})},t.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},t.prototype.getValueRange=function(e,a){if(e==null&&a==null){var i=this.findRepresentativeAxisProxy();if(i)return i.getDataValueWindow()}else return this.getAxisProxy(e,a).getDataValueWindow()},t.prototype.findRepresentativeAxisProxy=function(e){if(e)return e.__dzAxisProxy;for(var a,i=this._targetAxisInfoMap.keys(),n=0;no[1];if(_&&!x&&!S)return!0;_&&(g=!0),x&&(d=!0),S&&(p=!0)}return g&&d&&p})}else Il(v,function(c){if(n==="empty")l.setData(u=u.map(c,function(p){return s(p)?p:NaN}));else{var d={};d[c]=o,u.selectRange(d)}});Il(v,function(c){u.setApproximateExtent(o,c)})}});function s(l){return l>=o[0]&&l<=o[1]}},r.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,a=this._dataExtent;Il(["min","max"],function(i){var n=e.get(i+"Span"),o=e.get(i+"ValueSpan");o!=null&&(o=this.getAxisModel().axis.scale.parse(o)),o!=null?n=Pt(a[0]+o,a,[0,100],!0):n!=null&&(o=Pt(n,[0,100],a,!0)-a[0]),t[i+"Span"]=n,t[i+"ValueSpan"]=o},this)},r.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,a=this._valueWindow;if(e){var i=FA(a,[0,500]);i=Math.min(i,20);var n=t.axis.scale.rawExtentInfo;e[0]!==0&&n.setDeterminedMinMax("min",+a[0].toFixed(i)),e[1]!==100&&n.setDeterminedMinMax("max",+a[1].toFixed(i)),n.freeze()}},r})();function ahe(r,t,e){var a=[1/0,-1/0];Il(e,function(o){ste(a,o.getData(),t)});var i=r.getAxisModel(),n=r6(i.axis.scale,i,a).calculate();return[n.min,n.max]}var ihe={getTargetSeries:function(r){function t(i){r.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(o,s){var l=r.getComponent(jn(o),s);i(o,s,l,n)})})}t(function(i,n,o,s){o.__dzAxisProxy=null});var e=[];t(function(i,n,o,s){o.__dzAxisProxy||(o.__dzAxisProxy=new rhe(i,n,s,r),e.push(o.__dzAxisProxy))});var a=Ge();return $(e,function(i){$(i.getTargetSeriesModels(),function(n){a.set(n.uid,n)})}),a},overallReset:function(r,t){r.eachComponent("dataZoom",function(e){e.eachTargetAxis(function(a,i){e.getAxisProxy(a,i).reset(e)}),e.eachTargetAxis(function(a,i){e.getAxisProxy(a,i).filterData(e,t)})}),r.eachComponent("dataZoom",function(e){var a=e.findRepresentativeAxisProxy();if(a){var i=a.getDataPercentWindow(),n=a.getDataValueWindow();e.setCalculatedRange({start:i[0],end:i[1],startValue:n[0],endValue:n[1]})}})}};function nhe(r){r.registerAction("dataZoom",function(t,e){var a=Jve(e,t);$(a,function(i){i.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}var XR=!1;function EM(r){XR||(XR=!0,r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,ihe),nhe(r),r.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function ohe(r){r.registerComponentModel(ehe),r.registerComponentView(the),EM(r)}var qa=(function(){function r(){}return r})(),A7={};function Pl(r,t){A7[r]=t}function C7(r){return A7[r]}var she=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.optionUpdated=function(){r.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;$(this.option.feature,function(a,i){var n=C7(i);n&&(n.getDefaultOption&&(n.defaultOption=n.getDefaultOption(e)),tt(a,n.defaultOption))})},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},t})(ut);function lhe(r,t,e){var a=t.getBoxLayoutParams(),i=t.get("padding"),n={width:e.getWidth(),height:e.getHeight()},o=dr(a,n,i);bs(t.get("orient"),r,t.get("itemGap"),o.width,o.height),Fp(r,a,n,i)}function M7(r,t){var e=Vs(t.get("padding")),a=t.getItemStyle(["color","opacity"]);return a.fill=t.get("backgroundColor"),r=new gt({shape:{x:r.x-e[3],y:r.y-e[0],width:r.width+e[1]+e[3],height:r.height+e[0]+e[2],r:t.get("borderRadius")},style:a,silent:!0,z2:-1}),r}var uhe=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.render=function(e,a,i,n){var o=this.group;if(o.removeAll(),!e.get("show"))return;var s=+e.get("itemSize"),l=e.get("orient")==="vertical",u=e.get("feature")||{},v=this._features||(this._features={}),h=[];$(u,function(d,p){h.push(p)}),new bn(this._featureNames||[],h).add(f).update(f).remove(et(f,null)).execute(),this._featureNames=h;function f(d,p){var g=h[d],m=h[p],y=u[g],_=new Mt(y,e,e.ecModel),x;if(n&&n.newTitle!=null&&n.featureName===g&&(y.title=n.newTitle),g&&!m){if(vhe(g))x={onclick:_.option.onclick,featureName:g};else{var S=C7(g);if(!S)return;x=new S}v[g]=x}else if(x=v[m],!x)return;x.uid=fu("toolbox-feature"),x.model=_,x.ecModel=a,x.api=i;var b=x instanceof qa;if(!g&&m){b&&x.dispose&&x.dispose(a,i);return}if(!_.get("show")||b&&x.unusable){b&&x.remove&&x.remove(a,i);return}c(_,x,g),_.setIconStatus=function(w,A){var T=this.option,C=this.iconPaths;T.iconStatus=T.iconStatus||{},T.iconStatus[w]=A,C[w]&&(A==="emphasis"?xn:Sn)(C[w])},x instanceof qa&&x.render&&x.render(_,a,i,n)}function c(d,p,g){var m=d.getModel("iconStyle"),y=d.getModel(["emphasis","iconStyle"]),_=p instanceof qa&&p.getIcons?p.getIcons():d.get("icon"),x=d.get("title")||{},S,b;Re(_)?(S={},S[g]=_):S=_,Re(x)?(b={},b[g]=x):b=x;var w=d.iconPaths={};$(S,function(A,T){var C=vu(A,{},{x:-s/2,y:-s/2,width:s,height:s});C.setStyle(m.getItemStyle());var M=C.ensureState("emphasis");M.style=y.getItemStyle();var L=new pt({style:{text:b[T],align:y.get("textAlign"),borderRadius:y.get("textBorderRadius"),padding:y.get("textPadding"),fill:null,font:sC({fontStyle:y.get("textFontStyle"),fontFamily:y.get("textFontFamily"),fontSize:y.get("textFontSize"),fontWeight:y.get("textFontWeight")},a)},ignore:!0});C.setTextContent(L),zs({el:C,componentModel:e,itemName:T,formatterParamsExtra:{title:b[T]}}),C.__title=b[T],C.on("mouseover",function(){var D=y.getItemStyle(),P=l?e.get("right")==null&&e.get("left")!=="right"?"right":"left":e.get("bottom")==null&&e.get("top")!=="bottom"?"bottom":"top";L.setStyle({fill:y.get("textFill")||D.fill||D.stroke||"#000",backgroundColor:y.get("textBackgroundColor")}),C.setTextConfig({position:y.get("textPosition")||P}),L.ignore=!e.get("showTitle"),i.enterEmphasis(this)}).on("mouseout",function(){d.get(["iconStatus",T])!=="emphasis"&&i.leaveEmphasis(this),L.hide()}),(d.get(["iconStatus",T])==="emphasis"?xn:Sn)(C),o.add(C),C.on("click",Ne(p.onclick,p,a,i,T)),w[T]=C})}lhe(o,e,i),o.add(M7(o.getBoundingRect(),e)),l||o.eachChild(function(d){var p=d.__title,g=d.ensureState("emphasis"),m=g.textConfig||(g.textConfig={}),y=d.getTextContent(),_=y&&y.ensureState("emphasis");if(_&&!He(_)&&p){var x=_.style||(_.style={}),S=Fh(p,pt.makeFont(x)),b=d.x+o.x,w=d.y+o.y+s,A=!1;w+S.height>i.getHeight()&&(m.position="top",A=!0);var T=A?-5-S.height:s+10;b+S.width/2>i.getWidth()?(m.position=["100%",T],x.align="right"):b-S.width/2<0&&(m.position=[0,T],x.align="left")}})},t.prototype.updateView=function(e,a,i,n){$(this._features,function(o){o instanceof qa&&o.updateView&&o.updateView(o.model,a,i,n)})},t.prototype.remove=function(e,a){$(this._features,function(i){i instanceof qa&&i.remove&&i.remove(e,a)}),this.group.removeAll()},t.prototype.dispose=function(e,a){$(this._features,function(i){i instanceof qa&&i.dispose&&i.dispose(e,a)})},t.type="toolbox",t})(Wt);function vhe(r){return r.indexOf("my")===0}var hhe=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.onclick=function(e,a){var i=this.model,n=i.get("name")||e.get("title.0.text")||"echarts",o=a.getZr().painter.getType()==="svg",s=o?"svg":i.get("type",!0)||"png",l=a.getConnectedDataURL({type:s,backgroundColor:i.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")}),u=vt.browser;if(typeof MouseEvent=="function"&&(u.newEdge||!u.ie&&!u.edge)){var v=document.createElement("a");v.download=n+"."+s,v.target="_blank",v.href=l;var h=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});v.dispatchEvent(h)}else if(window.navigator.msSaveOrOpenBlob||o){var f=l.split(","),c=f[0].indexOf("base64")>-1,d=o?decodeURIComponent(f[1]):f[1];c&&(d=window.atob(d));var p=n+"."+s;if(window.navigator.msSaveOrOpenBlob){for(var g=d.length,m=new Uint8Array(g);g--;)m[g]=d.charCodeAt(g);var y=new Blob([m]);window.navigator.msSaveOrOpenBlob(y,p)}else{var _=document.createElement("iframe");document.body.appendChild(_);var x=_.contentWindow,S=x.document;S.open("image/svg+xml","replace"),S.write(d),S.close(),x.focus(),S.execCommand("SaveAs",!0,p),document.body.removeChild(_)}}else{var b=i.get("lang"),w='',A=window.open();A.document.write(w),A.document.title=n}},t.getDefaultOption=function(e){var a={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:e.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:e.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return a},t})(qa),KR="__ec_magicType_stack__",fhe=[["line","bar"],["stack"]],che=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.getIcons=function(){var e=this.model,a=e.get("icon"),i={};return $(e.get("type"),function(n){a[n]&&(i[n]=a[n])}),i},t.getDefaultOption=function(e){var a={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:e.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return a},t.prototype.onclick=function(e,a,i){var n=this.model,o=n.get(["seriesIndex",i]);if(QR[i]){var s={series:[]},l=function(h){var f=h.subType,c=h.id,d=QR[i](f,c,h,n);d&&(Ue(d,h.option),s.series.push(d));var p=h.coordinateSystem;if(p&&p.type==="cartesian2d"&&(i==="line"||i==="bar")){var g=p.getAxesByScale("ordinal")[0];if(g){var m=g.dim,y=m+"Axis",_=h.getReferringComponents(y,cr).models[0],x=_.componentIndex;s[y]=s[y]||[];for(var S=0;S<=x;S++)s[y][x]=s[y][x]||{};s[y][x].boundaryGap=i==="bar"}}};$(fhe,function(h){nt(h,i)>=0&&$(h,function(f){n.setIconStatus(f,"normal")})}),n.setIconStatus(i,"emphasis"),e.eachComponent({mainType:"series",query:o==null?null:{seriesIndex:o}},l);var u,v=i;i==="stack"&&(u=tt({stack:n.option.title.tiled,tiled:n.option.title.stack},n.option.title),n.get(["iconStatus",i])!=="emphasis"&&(v="tiled")),a.dispatchAction({type:"changeMagicType",currentType:v,newOption:s,newTitle:u,featureName:"magicType"})}},t})(qa),QR={line:function(r,t,e,a){if(r==="bar")return tt({id:t,type:"line",data:e.get("data"),stack:e.get("stack"),markPoint:e.get("markPoint"),markLine:e.get("markLine")},a.get(["option","line"])||{},!0)},bar:function(r,t,e,a){if(r==="line")return tt({id:t,type:"bar",data:e.get("data"),stack:e.get("stack"),markPoint:e.get("markPoint"),markLine:e.get("markLine")},a.get(["option","bar"])||{},!0)},stack:function(r,t,e,a){var i=e.get("stack")===KR;if(r==="line"||r==="bar")return a.setIconStatus("stack",i?"normal":"emphasis"),tt({id:t,stack:i?"":KR},a.get(["option","stack"])||{},!0)}};Si({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(r,t){t.mergeOption(r.newOption)});var ig=new Array(60).join("-"),ru=" ";function dhe(r){var t={},e=[],a=[];return r.eachRawSeries(function(i){var n=i.coordinateSystem;if(n&&(n.type==="cartesian2d"||n.type==="polar")){var o=n.getBaseAxis();if(o.type==="category"){var s=o.dim+"_"+o.index;t[s]||(t[s]={categoryAxis:o,valueAxis:n.getOtherAxis(o),series:[]},a.push({axisDim:o.dim,axisIndex:o.index})),t[s].series.push(i)}else e.push(i)}else e.push(i)}),{seriesGroupByCategoryAxis:t,other:e,meta:a}}function phe(r){var t=[];return $(r,function(e,a){var i=e.categoryAxis,n=e.valueAxis,o=n.dim,s=[" "].concat(we(e.series,function(c){return c.name})),l=[i.model.getCategories()];$(e.series,function(c){var d=c.getRawData();l.push(c.getRawData().mapArray(d.mapDimension(o),function(p){return p}))});for(var u=[s.join(ru)],v=0;v=0)return!0}var lA=new RegExp("["+ru+"]+","g");function _he(r){for(var t=r.split(/\n+/g),e=op(t.shift()).split(lA),a=[],i=we(e,function(l){return{name:l,data:[]}}),n=0;n=0;n--){var o=e[n];if(o[i])break}if(n<0){var s=r.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(s){var l=s.getPercentRange();e[0][i]={dataZoomId:i,start:l[0],end:l[1]}}}}),e.push(t)}function Ahe(r){var t=kM(r),e=t[t.length-1];t.length>1&&t.pop();var a={};return D7(e,function(i,n){for(var o=t.length-1;o>=0;o--)if(i=t[o][n],i){a[n]=i;break}}),a}function Che(r){L7(r).snapshots=null}function Mhe(r){return kM(r).length}function kM(r){var t=L7(r);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var Dhe=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.onclick=function(e,a){Che(e),a.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(e){var a={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:e.getLocaleModel().get(["toolbox","restore","title"])};return a},t})(qa);Si({type:"restore",event:"restore",update:"prepareAndUpdate"},function(r,t){t.resetOption("recreate")});var Lhe=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],OM=(function(){function r(t,e,a){var i=this;this._targetInfoList=[];var n=jR(e,t);$(Ihe,function(o,s){(!a||!a.include||nt(a.include,s)>=0)&&o(n,i._targetInfoList)})}return r.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,function(a,i,n){if((a.coordRanges||(a.coordRanges=[])).push(i),!a.coordRange){a.coordRange=i;var o=Py[a.brushType](0,n,i);a.__rangeOffset={offset:rE[a.brushType](o.values,a.range,[1,1]),xyMinMax:o.xyMinMax}}}),t},r.prototype.matchOutputRanges=function(t,e,a){$(t,function(i){var n=this.findTargetInfo(i,e);n&&n!==!0&&$(n.coordSyses,function(o){var s=Py[i.brushType](1,o,i.range,!0);a(i,s.values,o,e)})},this)},r.prototype.setInputRanges=function(t,e){$(t,function(a){var i=this.findTargetInfo(a,e);if(a.range=a.range||[],i&&i!==!0){a.panelId=i.panelId;var n=Py[a.brushType](0,i.coordSys,a.coordRange),o=a.__rangeOffset;a.range=o?rE[a.brushType](n.values,o.offset,Phe(n.xyMinMax,o.xyMinMax)):n.values}},this)},r.prototype.makePanelOpts=function(t,e){return we(this._targetInfoList,function(a){var i=a.getPanelRect();return{panelId:a.panelId,defaultBrushType:e?e(a):null,clipPath:z8(i),isTargetByCursor:V8(i,t,a.coordSysModel),getLinearBrushOtherExtent:B8(i)}})},r.prototype.controlSeries=function(t,e,a){var i=this.findTargetInfo(t,a);return i===!0||i&&nt(i.coordSyses,e.coordinateSystem)>=0},r.prototype.findTargetInfo=function(t,e){for(var a=this._targetInfoList,i=jR(e,t),n=0;nr[1]&&r.reverse(),r}function jR(r,t){return Zv(r,t,{includeMainTypes:Lhe})}var Ihe={grid:function(r,t){var e=r.xAxisModels,a=r.yAxisModels,i=r.gridModels,n=Ge(),o={},s={};!e&&!a&&!i||($(e,function(l){var u=l.axis.grid.model;n.set(u.id,u),o[u.id]=!0}),$(a,function(l){var u=l.axis.grid.model;n.set(u.id,u),s[u.id]=!0}),$(i,function(l){n.set(l.id,l),o[l.id]=!0,s[l.id]=!0}),n.each(function(l){var u=l.coordinateSystem,v=[];$(u.getCartesians(),function(h,f){(nt(e,h.getAxis("x").model)>=0||nt(a,h.getAxis("y").model)>=0)&&v.push(h)}),t.push({panelId:"grid--"+l.id,gridModel:l,coordSysModel:l,coordSys:v[0],coordSyses:v,getPanelRect:eE.grid,xAxisDeclared:o[l.id],yAxisDeclared:s[l.id]})}))},geo:function(r,t){$(r.geoModels,function(e){var a=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:a,coordSyses:[a],getPanelRect:eE.geo})})}},JR=[function(r,t){var e=r.xAxisModel,a=r.yAxisModel,i=r.gridModel;return!i&&e&&(i=e.axis.grid.model),!i&&a&&(i=a.axis.grid.model),i&&i===t.gridModel},function(r,t){var e=r.geoModel;return e&&e===t.geoModel}],eE={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var r=this.coordSys,t=r.getBoundingRect().clone();return t.applyTransform(ro(r)),t}},Py={lineX:et(tE,0),lineY:et(tE,1),rect:function(r,t,e,a){var i=r?t.pointToData([e[0][0],e[1][0]],a):t.dataToPoint([e[0][0],e[1][0]],a),n=r?t.pointToData([e[0][1],e[1][1]],a):t.dataToPoint([e[0][1],e[1][1]],a),o=[uA([i[0],n[0]]),uA([i[1],n[1]])];return{values:o,xyMinMax:o}},polygon:function(r,t,e,a){var i=[[1/0,-1/0],[1/0,-1/0]],n=we(e,function(o){var s=r?t.pointToData(o,a):t.dataToPoint(o,a);return i[0][0]=Math.min(i[0][0],s[0]),i[1][0]=Math.min(i[1][0],s[1]),i[0][1]=Math.max(i[0][1],s[0]),i[1][1]=Math.max(i[1][1],s[1]),s});return{values:n,xyMinMax:i}}};function tE(r,t,e,a){var i=e.getAxis(["x","y"][r]),n=uA(we([0,1],function(s){return t?i.coordToData(i.toLocalCoord(a[s]),!0):i.toGlobalCoord(i.dataToCoord(a[s]))})),o=[];return o[r]=n,o[1-r]=[NaN,NaN],{values:n,xyMinMax:o}}var rE={lineX:et(aE,0),lineY:et(aE,1),rect:function(r,t,e){return[[r[0][0]-e[0]*t[0][0],r[0][1]-e[0]*t[0][1]],[r[1][0]-e[1]*t[1][0],r[1][1]-e[1]*t[1][1]]]},polygon:function(r,t,e){return we(r,function(a,i){return[a[0]-e[0]*t[i][0],a[1]-e[1]*t[i][1]]})}};function aE(r,t,e,a){return[t[0]-a[r]*e[0],t[1]-a[r]*e[1]]}function Phe(r,t){var e=iE(r),a=iE(t),i=[e[0]/a[0],e[1]/a[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function iE(r){return r?[r[0][1]-r[0][0],r[1][1]-r[1][0]]:[NaN,NaN]}var vA=$,Rhe=hX("toolbox-dataZoom_"),Ehe=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.render=function(e,a,i,n){this._brushController||(this._brushController=new lM(i.getZr()),this._brushController.on("brush",Ne(this._onBrush,this)).mount()),Nhe(e,a,this,n,i),Ohe(e,a)},t.prototype.onclick=function(e,a,i){khe[i].call(this)},t.prototype.remove=function(e,a){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(e,a){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(e){var a=e.areas;if(!e.isEnd||!a.length)return;var i={},n=this.ecModel;this._brushController.updateCovers([]);var o=new OM(NM(this.model),n,{include:["grid"]});o.matchOutputRanges(a,n,function(u,v,h){if(h.type==="cartesian2d"){var f=u.brushType;f==="rect"?(s("x",h,v[0]),s("y",h,v[1])):s({lineX:"x",lineY:"y"}[f],h,v)}}),The(n,i),this._dispatchZoomAction(i);function s(u,v,h){var f=v.getAxis(u),c=f.model,d=l(u,c,n),p=d.findRepresentativeAxisProxy(c).getMinMaxSpan();(p.minValueSpan!=null||p.maxValueSpan!=null)&&(h=qs(0,h.slice(),f.scale.getExtent(),0,p.minValueSpan,p.maxValueSpan)),d&&(i[d.id]={dataZoomId:d.id,startValue:h[0],endValue:h[1]})}function l(u,v,h){var f;return h.eachComponent({mainType:"dataZoom",subType:"select"},function(c){var d=c.getAxisModel(u,v.componentIndex);d&&(f=c)}),f}},t.prototype._dispatchZoomAction=function(e){var a=[];vA(e,function(i,n){a.push(Ye(i))}),a.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:a})},t.getDefaultOption=function(e){var a={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:e.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return a},t})(qa),khe={zoom:function(){var r=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:r})},back:function(){this._dispatchZoomAction(Ahe(this.ecModel))}};function NM(r){var t={xAxisIndex:r.get("xAxisIndex",!0),yAxisIndex:r.get("yAxisIndex",!0),xAxisId:r.get("xAxisId",!0),yAxisId:r.get("yAxisId",!0)};return t.xAxisIndex==null&&t.xAxisId==null&&(t.xAxisIndex="all"),t.yAxisIndex==null&&t.yAxisId==null&&(t.yAxisIndex="all"),t}function Ohe(r,t){r.setIconStatus("back",Mhe(t)>1?"emphasis":"normal")}function Nhe(r,t,e,a,i){var n=e._isZoomActive;a&&a.type==="takeGlobalCursor"&&(n=a.key==="dataZoomSelect"?a.dataZoomSelectActive:!1),e._isZoomActive=n,r.setIconStatus("zoom",n?"emphasis":"normal");var o=new OM(NM(r),t,{include:["grid"]}),s=o.makePanelOpts(i,function(l){return l.xAxisDeclared&&!l.yAxisDeclared?"lineX":!l.xAxisDeclared&&l.yAxisDeclared?"lineY":"rect"});e._brushController.setPanels(s).enableBrush(n&&s.length?{brushType:"auto",brushStyle:r.getModel("brushStyle").getItemStyle()}:!1)}kQ("dataZoom",function(r){var t=r.getComponent("toolbox",0),e=["feature","dataZoom"];if(!t||t.get(e)==null)return;var a=t.getModel(e),i=[],n=NM(a),o=Zv(r,n);vA(o.xAxisModels,function(l){return s(l,"xAxis","xAxisIndex")}),vA(o.yAxisModels,function(l){return s(l,"yAxis","yAxisIndex")});function s(l,u,v){var h=l.componentIndex,f={type:"select",$fromToolbox:!0,filterMode:a.get("filterMode",!0)||"filter",id:Rhe+u+h};f[v]=h,i.push(f)}return i});function zhe(r){r.registerComponentModel(she),r.registerComponentView(uhe),Pl("saveAsImage",hhe),Pl("magicType",che),Pl("dataView",bhe),Pl("dataZoom",Ehe),Pl("restore",Dhe),ot(ohe)}var Bhe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="tooltip",t.dependencies=["axisPointer"],t.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},t})(ut);function I7(r){var t=r.get("confine");return t!=null?!!t:r.get("renderMode")==="richText"}function P7(r){if(vt.domSupported){for(var t=document.documentElement.style,e=0,a=r.length;e-1?(s+="top:50%",l+="translateY(-50%) rotate("+(u=n==="left"?-225:-45)+"deg)"):(s+="left:50%",l+="translateX(-50%) rotate("+(u=n==="top"?225:45)+"deg)");var v=u*Math.PI/180,h=o+i,f=h*Math.abs(Math.cos(v))+h*Math.abs(Math.sin(v)),c=Math.round(((f-Math.SQRT2*i)/2+Math.SQRT2*i-(f-h)/2)*100)/100;s+=";"+n+":-"+c+"px";var d=t+" solid "+i+"px;",p=["position:absolute;width:"+o+"px;height:"+o+"px;z-index:-1;",s+";"+l+";","border-bottom:"+d,"border-right:"+d,"background-color:"+a+";"];return'
'}function Uhe(r,t){var e="cubic-bezier(0.23,1,0.32,1)",a=" "+r/2+"s "+e,i="opacity"+a+",visibility"+a;return t||(a=" "+r+"s "+e,i+=vt.transformSupported?","+zM+a:",left"+a+",top"+a),Fhe+":"+i}function nE(r,t,e){var a=r.toFixed(0)+"px",i=t.toFixed(0)+"px";if(!vt.transformSupported)return e?"top:"+i+";left:"+a+";":[["top",i],["left",a]];var n=vt.transform3dSupported,o="translate"+(n?"3d":"")+"("+a+","+i+(n?",0":"")+")";return e?"top:0;left:0;"+zM+":"+o+";":[["top",0],["left",0],[R7,o]]}function $he(r){var t=[],e=r.get("fontSize"),a=r.getTextColor();a&&t.push("color:"+a),t.push("font:"+r.getFont());var i=Je(r.get("lineHeight"),Math.round(e*3/2));e&&t.push("line-height:"+i+"px");var n=r.get("textShadowColor"),o=r.get("textShadowBlur")||0,s=r.get("textShadowOffsetX")||0,l=r.get("textShadowOffsetY")||0;return n&&o&&t.push("text-shadow:"+s+"px "+l+"px "+o+"px "+n),$(["decoration","align"],function(u){var v=r.get(u);v&&t.push("text-"+u+":"+v)}),t.join(";")}function Yhe(r,t,e){var a=[],i=r.get("transitionDuration"),n=r.get("backgroundColor"),o=r.get("shadowBlur"),s=r.get("shadowColor"),l=r.get("shadowOffsetX"),u=r.get("shadowOffsetY"),v=r.getModel("textStyle"),h=rU(r,"html"),f=l+"px "+u+"px "+o+"px "+s;return a.push("box-shadow:"+f),t&&i&&a.push(Uhe(i,e)),n&&a.push("background-color:"+n),$(["width","color","radius"],function(c){var d="border-"+c,p=pC(d),g=r.get(p);g!=null&&a.push(d+":"+g+(c==="color"?"":"px"))}),a.push($he(v)),h!=null&&a.push("padding:"+Vs(h).join("px ")+"px"),a.join(";")+";"}function oE(r,t,e,a,i){var n=t&&t.painter;if(e){var o=n&&n.getViewportRoot();o&&VY(r,o,e,a,i)}else{r[0]=a,r[1]=i;var s=n&&n.getViewportRootOffset();s&&(r[0]+=s.offsetLeft,r[1]+=s.offsetTop)}r[2]=r[0]/t.getWidth(),r[3]=r[1]/t.getHeight()}var Zhe=(function(){function r(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,vt.wxa)return null;var a=document.createElement("div");a.domBelongToZr=!0,this.el=a;var i=this._zr=t.getZr(),n=e.appendTo,o=n&&(Re(n)?document.querySelector(n):Cs(n)?n:He(n)&&n(t.getDom()));oE(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(a),this._api=t,this._container=o;var s=this;a.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},a.onmousemove=function(l){if(l=l||window.event,!s._enterable){var u=i.handler,v=i.painter.getViewportRoot();Ba(v,l,!0),u.dispatch("mousemove",l)}},a.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return r.prototype.update=function(t){if(!this._container){var e=this._api.getDom(),a=Ghe(e,"position"),i=e.style;i.position!=="absolute"&&a!=="absolute"&&(i.position="relative")}var n=t.get("alwaysShowContent");n&&this._moveIfResized(),this._alwaysShowContent=n,this.el.className=t.get("className")||""},r.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var a=this.el,i=a.style,n=this._styleCoord;a.innerHTML?i.cssText=Hhe+Yhe(t,!this._firstShow,this._longHide)+nE(n[0],n[1],!0)+("border-color:"+Ps(e)+";")+(t.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},r.prototype.setContent=function(t,e,a,i,n){var o=this.el;if(t==null){o.innerHTML="";return}var s="";if(Re(n)&&a.get("trigger")==="item"&&!I7(a)&&(s=Whe(a,i,n)),Re(t))o.innerHTML=t+s;else if(t){o.innerHTML="",Se(t)||(t=[t]);for(var l=0;l=0?this._tryShow(n,o):i==="leave"&&this._hide(o))},this))},t.prototype._keepShow=function(){var e=this._tooltipModel,a=this._ecModel,i=this._api,n=e.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&n!=="none"&&n!=="click"){var o=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!i.isDisposed()&&o.manuallyShowTip(e,a,i,{x:o._lastX,y:o._lastY,dataByCoordSys:o._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(e,a,i,n){if(!(n.from===this.uid||vt.node||!i.getDom())){var o=uE(n,i);this._ticket="";var s=n.dataByCoordSys,l=tfe(n,a,i);if(l){var u=l.el.getBoundingRect().clone();u.applyTransform(l.el.transform),this._tryShow({offsetX:u.x+u.width/2,offsetY:u.y+u.height/2,target:l.el,position:n.position,positionDefault:"bottom"},o)}else if(n.tooltip&&n.x!=null&&n.y!=null){var v=Khe;v.x=n.x,v.y=n.y,v.update(),Xe(v).tooltipConfig={name:null,option:n.tooltip},this._tryShow({offsetX:n.x,offsetY:n.y,target:v},o)}else if(s)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,dataByCoordSys:s,tooltipOption:n.tooltipOption},o);else if(n.seriesIndex!=null){if(this._manuallyAxisShowTip(e,a,i,n))return;var h=y7(n,a),f=h.point[0],c=h.point[1];f!=null&&c!=null&&this._tryShow({offsetX:f,offsetY:c,target:h.el,position:n.position,positionDefault:"bottom"},o)}else n.x!=null&&n.y!=null&&(i.dispatchAction({type:"updateAxisPointer",x:n.x,y:n.y}),this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,target:i.getZr().findHover(n.x,n.y).target},o))}},t.prototype.manuallyHideTip=function(e,a,i,n){var o=this._tooltipContent;this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,n.from!==this.uid&&this._hide(uE(n,i))},t.prototype._manuallyAxisShowTip=function(e,a,i,n){var o=n.seriesIndex,s=n.dataIndex,l=a.getComponent("axisPointer").coordSysAxesInfo;if(!(o==null||s==null||l==null)){var u=a.getSeriesByIndex(o);if(u){var v=u.getData(),h=iv([v.getItemModel(s),u,(u.coordinateSystem||{}).model],this._tooltipModel);if(h.get("trigger")==="axis")return i.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:s,position:n.position}),!0}}},t.prototype._tryShow=function(e,a){var i=e.target,n=this._tooltipModel;if(n){this._lastX=e.offsetX,this._lastY=e.offsetY;var o=e.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,e);else if(i){var s=Xe(i);if(s.ssrType==="legend")return;this._lastDataByCoordSys=null;var l,u;ps(i,function(v){if(Xe(v).dataIndex!=null)return l=v,!0;if(Xe(v).tooltipConfig!=null)return u=v,!0},!0),l?this._showSeriesItemTooltip(e,l,a):u?this._showComponentItemTooltip(e,u,a):this._hide(a)}else this._lastDataByCoordSys=null,this._hide(a)}},t.prototype._showOrMove=function(e,a){var i=e.get("showDelay");a=Ne(a,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(a,i):a()},t.prototype._showAxisTooltip=function(e,a){var i=this._ecModel,n=this._tooltipModel,o=[a.offsetX,a.offsetY],s=iv([a.tooltipOption],n),l=this._renderMode,u=[],v=Mr("section",{blocks:[],noHeader:!0}),h=[],f=new xm;$(e,function(y){$(y.dataByAxis,function(_){var x=i.getComponent(_.axisDim+"Axis",_.axisIndex),S=_.value;if(!(!x||S==null)){var b=d7(S,x.axis,i,_.seriesDataIndices,_.valueLabelOpt),w=Mr("section",{header:b,noHeader:!Ua(b),sortBlocks:!0,blocks:[]});v.blocks.push(w),$(_.seriesDataIndices,function(A){var T=i.getSeriesByIndex(A.seriesIndex),C=A.dataIndexInside,M=T.getDataParams(C);if(!(M.dataIndex<0)){M.axisDim=_.axisDim,M.axisIndex=_.axisIndex,M.axisType=_.axisType,M.axisId=_.axisId,M.axisValue=HC(x.axis,{value:S}),M.axisValueLabel=b,M.marker=f.makeTooltipMarker("item",Ps(M.color),l);var L=fI(T.formatTooltip(C,!0,null)),D=L.frag;if(D){var P=iv([T],n).get("valueFormatter");w.blocks.push(P?_e({valueFormatter:P},D):D)}L.text&&h.push(L.text),u.push(M)}})}})}),v.blocks.reverse(),h.reverse();var c=a.position,d=s.get("order"),p=yI(v,f,l,d,i.get("useUTC"),s.get("textStyle"));p&&h.unshift(p);var g=l==="richText"?"\n\n":"
",m=h.join(g);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(e,u)?this._updatePosition(s,c,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,m,u,Math.random()+"",o[0],o[1],c,null,f)})},t.prototype._showSeriesItemTooltip=function(e,a,i){var n=this._ecModel,o=Xe(a),s=o.seriesIndex,l=n.getSeriesByIndex(s),u=o.dataModel||l,v=o.dataIndex,h=o.dataType,f=u.getData(h),c=this._renderMode,d=e.positionDefault,p=iv([f.getItemModel(v),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),g=p.get("trigger");if(!(g!=null&&g!=="item")){var m=u.getDataParams(v,h),y=new xm;m.marker=y.makeTooltipMarker("item",Ps(m.color),c);var _=fI(u.formatTooltip(v,!1,h)),x=p.get("order"),S=p.get("valueFormatter"),b=_.frag,w=b?yI(S?_e({valueFormatter:S},b):b,y,c,x,n.get("useUTC"),p.get("textStyle")):_.text,A="item_"+u.name+"_"+v;this._showOrMove(p,function(){this._showTooltipContent(p,w,m,A,e.offsetX,e.offsetY,e.position,e.target,y)}),i({type:"showTip",dataIndexInside:v,dataIndex:f.getRawIndex(v),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,a,i){var n=this._renderMode==="html",o=Xe(a),s=o.tooltipConfig,l=s.option||{},u=l.encodeHTMLContent;if(Re(l)){var v=l;l={content:v,formatter:v},u=!0}u&&n&&l.content&&(l=Ye(l),l.content=Zr(l.content));var h=[l],f=this._ecModel.getComponent(o.componentMainType,o.componentIndex);f&&h.push(f),h.push({formatter:l.content});var c=e.positionDefault,d=iv(h,this._tooltipModel,c?{position:c}:null),p=d.get("content"),g=Math.random()+"",m=new xm;this._showOrMove(d,function(){var y=Ye(d.get("formatterParams")||{});this._showTooltipContent(d,p,y,g,e.offsetX,e.offsetY,e.position,a,m)}),i({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(e,a,i,n,o,s,l,u,v){if(this._ticket="",!(!e.get("showContent")||!e.get("show"))){var h=this._tooltipContent;h.setEnterable(e.get("enterable"));var f=e.get("formatter");l=l||e.get("position");var c=a,d=this._getNearestPoint([o,s],i,e.get("trigger"),e.get("borderColor")),p=d.color;if(f)if(Re(f)){var g=e.ecModel.get("useUTC"),m=Se(i)?i[0]:i,y=m&&m.axisType&&m.axisType.indexOf("time")>=0;c=f,y&&(c=Zh(m.axisValue,c,g)),c=gC(c,i,!0)}else if(He(f)){var _=Ne(function(x,S){x===this._ticket&&(h.setContent(S,v,e,p,l),this._updatePosition(e,l,o,s,h,i,u))},this);this._ticket=n,c=f(i,n,_)}else c=f;h.setContent(c,v,e,p,l),h.show(e,p),this._updatePosition(e,l,o,s,h,i,u)}},t.prototype._getNearestPoint=function(e,a,i,n){if(i==="axis"||Se(a))return{color:n||(this._renderMode==="html"?"#fff":"none")};if(!Se(a))return{color:n||a.color||a.borderColor}},t.prototype._updatePosition=function(e,a,i,n,o,s,l){var u=this._api.getWidth(),v=this._api.getHeight();a=a||e.get("position");var h=o.getSize(),f=e.get("align"),c=e.get("verticalAlign"),d=l&&l.getBoundingRect().clone();if(l&&d.applyTransform(l.transform),He(a)&&(a=a([i,n],s,o.el,d,{viewSize:[u,v],contentSize:h.slice()})),Se(a))i=Ie(a[0],u),n=Ie(a[1],v);else if($e(a)){var p=a;p.width=h[0],p.height=h[1];var g=dr(p,{width:u,height:v});i=g.x,n=g.y,f=null,c=null}else if(Re(a)&&l){var m=efe(a,d,h,e.get("borderWidth"));i=m[0],n=m[1]}else{var m=jhe(i,n,o,u,v,f?null:20,c?null:20);i=m[0],n=m[1]}if(f&&(i-=vE(f)?h[0]/2:f==="right"?h[0]:0),c&&(n-=vE(c)?h[1]/2:c==="bottom"?h[1]:0),I7(e)){var m=Jhe(i,n,o,u,v);i=m[0],n=m[1]}o.moveTo(i,n)},t.prototype._updateContentNotChangedOnAxis=function(e,a){var i=this._lastDataByCoordSys,n=this._cbParamsList,o=!!i&&i.length===e.length;return o&&$(i,function(s,l){var u=s.dataByAxis||[],v=e[l]||{},h=v.dataByAxis||[];o=o&&u.length===h.length,o&&$(u,function(f,c){var d=h[c]||{},p=f.seriesDataIndices||[],g=d.seriesDataIndices||[];o=o&&f.value===d.value&&f.axisType===d.axisType&&f.axisId===d.axisId&&p.length===g.length,o&&$(p,function(m,y){var _=g[y];o=o&&m.seriesIndex===_.seriesIndex&&m.dataIndex===_.dataIndex}),n&&$(f.seriesDataIndices,function(m){var y=m.seriesIndex,_=a[y],x=n[y];_&&x&&x.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=e,this._cbParamsList=a,!!o},t.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},t.prototype.dispose=function(e,a){vt.node||!a.getDom()||(Sh(this,"_updatePosition"),this._tooltipContent.dispose(),nA("itemTooltip",a))},t.type="tooltip",t})(Wt);function iv(r,t,e){var a=t.ecModel,i;e?(i=new Mt(e,a,a),i=new Mt(t.option,i,a)):i=t;for(var n=r.length-1;n>=0;n--){var o=r[n];o&&(o instanceof Mt&&(o=o.get("tooltip",!0)),Re(o)&&(o={formatter:o}),o&&(i=new Mt(o,i,a)))}return i}function uE(r,t){return r.dispatchAction||Ne(t.dispatchAction,t)}function jhe(r,t,e,a,i,n,o){var s=e.getSize(),l=s[0],u=s[1];return n!=null&&(r+l+n+2>a?r-=l+n:r+=n),o!=null&&(t+u+o>i?t-=u+o:t+=o),[r,t]}function Jhe(r,t,e,a,i){var n=e.getSize(),o=n[0],s=n[1];return r=Math.min(r+o,a)-o,t=Math.min(t+s,i)-s,r=Math.max(r,0),t=Math.max(t,0),[r,t]}function efe(r,t,e,a){var i=e[0],n=e[1],o=Math.ceil(Math.SQRT2*a)+8,s=0,l=0,u=t.width,v=t.height;switch(r){case"inside":s=t.x+u/2-i/2,l=t.y+v/2-n/2;break;case"top":s=t.x+u/2-i/2,l=t.y-n-o;break;case"bottom":s=t.x+u/2-i/2,l=t.y+v+o;break;case"left":s=t.x-i-o,l=t.y+v/2-n/2;break;case"right":s=t.x+u+o,l=t.y+v/2-n/2}return[s,l]}function vE(r){return r==="center"||r==="middle"}function tfe(r,t,e){var a=$A(r).queryOptionMap,i=a.keys()[0];if(!(!i||i==="series")){var n=Hh(t,i,a.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),o=n.models[0];if(o){var s=e.getViewOfComponentModel(o),l;if(s.group.traverse(function(u){var v=Xe(u).tooltipConfig;if(v&&v.name===r.name)return l=u,!0}),l)return{componentMainType:i,componentIndex:o.componentIndex,el:l}}}}function rfe(r){ot(of),r.registerComponentModel(Bhe),r.registerComponentView(Qhe),r.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},ir),r.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},ir)}var afe=["rect","polygon","keep","clear"];function ife(r,t){var e=Nt(r?r.brush:[]);if(e.length){var a=[];$(e,function(l){var u=l.hasOwnProperty("toolbox")?l.toolbox:[];u instanceof Array&&(a=a.concat(u))});var i=r&&r.toolbox;Se(i)&&(i=i[0]),i||(i={feature:{}},r.toolbox=[i]);var n=i.feature||(i.feature={}),o=n.brush||(n.brush={}),s=o.type||(o.type=[]);s.push.apply(s,a),nfe(s),t&&!s.length&&s.push.apply(s,afe)}}function nfe(r){var t={};$(r,function(e){t[e]=1}),r.length=0,$(t,function(e,a){r.push(a)})}var hE=$;function fE(r){if(r){for(var t in r)if(r.hasOwnProperty(t))return!0}}function hA(r,t,e){var a={};return hE(t,function(n){var o=a[n]=i();hE(r[n],function(s,l){if(Ar.isValidType(l)){var u={type:l,visual:s};e&&e(u,n),o[l]=new Ar(u),l==="opacity"&&(u=Ye(u),u.type="colorAlpha",o.__hidden.__alphaForOpacity=new Ar(u))}})}),a;function i(){var n=function(){};n.prototype.__hidden=n.prototype;var o=new n;return o}}function k7(r,t,e){var a;$(e,function(i){t.hasOwnProperty(i)&&fE(t[i])&&(a=!0)}),a&&$(e,function(i){t.hasOwnProperty(i)&&fE(t[i])?r[i]=Ye(t[i]):delete r[i]})}function ofe(r,t,e,a,i,n){var o={};$(r,function(h){var f=Ar.prepareVisualTypes(t[h]);o[h]=f});var s;function l(h){return CC(e,s,h)}function u(h,f){fU(e,s,h,f)}e.each(v);function v(h,f){s=h;var c=e.getRawDataItem(s);if(!(c&&c.visualMap===!1))for(var d=a.call(i,h),p=t[d],g=o[d],m=0,y=g.length;mt[0][1]&&(t[0][1]=n[0]),n[1]t[1][1]&&(t[1][1]=n[1])}return t&&mE(t)}};function mE(r){return new at(r[0][0],r[1][0],r[0][1]-r[0][0],r[1][1]-r[1][0])}var dfe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,a){this.ecModel=e,this.api=a,this.model,(this._brushController=new lM(a.getZr())).on("brush",Ne(this._onBrush,this)).mount()},t.prototype.render=function(e,a,i,n){this.model=e,this._updateController(e,a,i,n)},t.prototype.updateTransform=function(e,a,i,n){O7(a),this._updateController(e,a,i,n)},t.prototype.updateVisual=function(e,a,i,n){this.updateTransform(e,a,i,n)},t.prototype.updateView=function(e,a,i,n){this._updateController(e,a,i,n)},t.prototype._updateController=function(e,a,i,n){(!n||n.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(i)).enableBrush(e.brushOption).updateCovers(e.areas.slice())},t.prototype.dispose=function(){this._brushController.dispose()},t.prototype._onBrush=function(e){var a=this.model.id,i=this.model.brushTargetManager.setOutputRanges(e.areas,this.ecModel);(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:a,areas:Ye(i),$from:a}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:a,areas:Ye(i),$from:a})},t.type="brush",t})(Wt),pfe="#ddd",gfe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.areas=[],e.brushOption={},e}return t.prototype.optionUpdated=function(e,a){var i=this.option;!a&&k7(i,e,["inBrush","outOfBrush"]);var n=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:pfe},n.hasOwnProperty("liftZ")||(n.liftZ=5)},t.prototype.setAreas=function(e){e&&(this.areas=we(e,function(a){return yE(this.option,a)},this))},t.prototype.setBrushOption=function(e){this.brushOption=yE(this.option,e),this.brushType=this.brushOption.brushType},t.type="brush",t.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],t.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},t})(ut);function yE(r,t){return tt({brushType:r.brushType,brushMode:r.brushMode,transformable:r.transformable,brushStyle:new Mt(r.brushStyle).getItemStyle(),removeOnClick:r.removeOnClick,z:r.z},t,!0)}var mfe=["rect","polygon","lineX","lineY","keep","clear"],yfe=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.render=function(e,a,i){var n,o,s;a.eachComponent({mainType:"brush"},function(l){n=l.brushType,o=l.brushOption.brushMode||"single",s=s||!!l.areas.length}),this._brushType=n,this._brushMode=o,$(e.get("type",!0),function(l){e.setIconStatus(l,(l==="keep"?o==="multiple":l==="clear"?s:l===n)?"emphasis":"normal")})},t.prototype.updateView=function(e,a,i){this.render(e,a,i)},t.prototype.getIcons=function(){var e=this.model,a=e.get("icon",!0),i={};return $(e.get("type",!0),function(n){a[n]&&(i[n]=a[n])}),i},t.prototype.onclick=function(e,a,i){var n=this._brushType,o=this._brushMode;i==="clear"?(a.dispatchAction({type:"axisAreaSelect",intervals:[]}),a.dispatchAction({type:"brush",command:"clear",areas:[]})):a.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:i==="keep"?n:n===i?!1:i,brushMode:i==="keep"?o==="multiple"?"single":"multiple":o}})},t.getDefaultOption=function(e){var a={show:!0,type:mfe.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:e.getLocaleModel().get(["toolbox","brush","title"])};return a},t})(qa);function _fe(r){r.registerComponentView(dfe),r.registerComponentModel(gfe),r.registerPreprocessor(ife),r.registerVisual(r.PRIORITY.VISUAL.BRUSH,ufe),r.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(t,e){e.eachComponent({mainType:"brush",query:t},function(a){a.setAreas(t.areas)})}),r.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},ir),r.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},ir),Pl("brush",yfe)}var xfe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.layoutMode={type:"box",ignoreSize:!0},e}return t.type="title",t.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},t})(ut),Sfe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,a,i){if(this.group.removeAll(),!!e.get("show")){var n=this.group,o=e.getModel("textStyle"),s=e.getModel("subtextStyle"),l=e.get("textAlign"),u=Je(e.get("textBaseline"),e.get("textVerticalAlign")),v=new pt({style:Ht(o,{text:e.get("text"),fill:o.getTextColor()},{disableBox:!0}),z2:10}),h=v.getBoundingRect(),f=e.get("subtext"),c=new pt({style:Ht(s,{text:f,fill:s.getTextColor(),y:h.height+e.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),d=e.get("link"),p=e.get("sublink"),g=e.get("triggerEvent",!0);v.silent=!d&&!g,c.silent=!p&&!g,d&&v.on("click",function(){Od(d,"_"+e.get("target"))}),p&&c.on("click",function(){Od(p,"_"+e.get("subtarget"))}),Xe(v).eventData=Xe(c).eventData=g?{componentType:"title",componentIndex:e.componentIndex}:null,n.add(v),f&&n.add(c);var m=n.getBoundingRect(),y=e.getBoxLayoutParams();y.width=m.width,y.height=m.height;var _=dr(y,{width:i.getWidth(),height:i.getHeight()},e.get("padding"));l||(l=e.get("left")||e.get("right"),l==="middle"&&(l="center"),l==="right"?_.x+=_.width:l==="center"&&(_.x+=_.width/2)),u||(u=e.get("top")||e.get("bottom"),u==="center"&&(u="middle"),u==="bottom"?_.y+=_.height:u==="middle"&&(_.y+=_.height/2),u=u||"top"),n.x=_.x,n.y=_.y,n.markRedraw();var x={align:l,verticalAlign:u};v.setStyle(x),c.setStyle(x),m=n.getBoundingRect();var S=_.margin,b=e.getItemStyle(["color","opacity"]);b.fill=e.get("backgroundColor");var w=new gt({shape:{x:m.x-S[3],y:m.y-S[0],width:m.width+S[1]+S[3],height:m.height+S[0]+S[2],r:e.get("borderRadius")},style:b,subPixelOptimize:!0,silent:!0});n.add(w)}},t.type="title",t})(Wt);function bfe(r){r.registerComponentModel(xfe),r.registerComponentView(Sfe)}var _E=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.layoutMode="box",e}return t.prototype.init=function(e,a,i){this.mergeDefaultAndTheme(e,i),this._initData()},t.prototype.mergeOption=function(e){r.prototype.mergeOption.apply(this,arguments),this._initData()},t.prototype.setCurrentIndex=function(e){e==null&&(e=this.option.currentIndex);var a=this._data.count();this.option.loop?e=(e%a+a)%a:(e>=a&&(e=a-1),e<0&&(e=0)),this.option.currentIndex=e},t.prototype.getCurrentIndex=function(){return this.option.currentIndex},t.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},t.prototype.setPlayState=function(e){this.option.autoPlay=!!e},t.prototype.getPlayState=function(){return!!this.option.autoPlay},t.prototype._initData=function(){var e=this.option,a=e.data||[],i=e.axisType,n=this._names=[],o;i==="category"?(o=[],$(a,function(u,v){var h=_r(iu(u),""),f;$e(u)?(f=Ye(u),f.value=v):f=v,o.push(f),n.push(h)})):o=a;var s={category:"ordinal",time:"time",value:"number"}[i]||"number",l=this._data=new Xr([{name:"value",type:s}],this);l.initData(o,n)},t.prototype.getData=function(){return this._data},t.prototype.getCategories=function(){if(this.get("axisType")==="category")return this._names.slice()},t.type="timeline",t.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},t})(ut),N7=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="timeline.slider",t.defaultOption=go(_E.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),t})(_E);nr(N7,qp.prototype);var wfe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="timeline",t})(Wt),Tfe=(function(r){he(t,r);function t(e,a,i,n){var o=r.call(this,e,a,i)||this;return o.type=n||"value",o}return t.prototype.getLabelModel=function(){return this.model.getModel("label")},t.prototype.isHorizontal=function(){return this.model.get("orient")==="horizontal"},t})(Ja),Ey=Math.PI,xE=yt(),Afe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,a){this.api=a},t.prototype.render=function(e,a,i){if(this.model=e,this.api=i,this.ecModel=a,this.group.removeAll(),e.get("show",!0)){var n=this._layout(e,i),o=this._createGroup("_mainGroup"),s=this._createGroup("_labelGroup"),l=this._axis=this._createAxis(n,e);e.formatTooltip=function(u){var v=l.scale.getLabel({value:u});return Mr("nameValue",{noName:!0,value:v})},$(["AxisLine","AxisTick","Control","CurrentPointer"],function(u){this["_render"+u](n,o,l,e)},this),this._renderAxisLabel(n,s,l,e),this._position(n,e)}this._doPlayStop(),this._updateTicksStatus()},t.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},t.prototype.dispose=function(){this._clearTimer()},t.prototype._layout=function(e,a){var i=e.get(["label","position"]),n=e.get("orient"),o=Mfe(e,a),s;i==null||i==="auto"?s=n==="horizontal"?o.y+o.height/2=0||s==="+"?"left":"right"},u={horizontal:s>=0||s==="+"?"top":"bottom",vertical:"middle"},v={horizontal:0,vertical:Ey/2},h=n==="vertical"?o.height:o.width,f=e.getModel("controlStyle"),c=f.get("show",!0),d=c?f.get("itemSize"):0,p=c?f.get("itemGap"):0,g=d+p,m=e.get(["label","rotate"])||0;m=m*Ey/180;var y,_,x,S=f.get("position",!0),b=c&&f.get("showPlayBtn",!0),w=c&&f.get("showPrevBtn",!0),A=c&&f.get("showNextBtn",!0),T=0,C=h;S==="left"||S==="bottom"?(b&&(y=[0,0],T+=g),w&&(_=[T,0],T+=g),A&&(x=[C-d,0],C-=g)):(b&&(y=[C-d,0],C-=g),w&&(_=[0,0],T+=g),A&&(x=[C-d,0],C-=g));var M=[T,C];return e.get("inverse")&&M.reverse(),{viewRect:o,mainLength:h,orient:n,rotation:v[n],labelRotation:m,labelPosOpt:s,labelAlign:e.get(["label","align"])||l[n],labelBaseline:e.get(["label","verticalAlign"])||e.get(["label","baseline"])||u[n],playPosition:y,prevBtnPosition:_,nextBtnPosition:x,axisExtent:M,controlSize:d,controlGap:p}},t.prototype._position=function(e,a){var i=this._mainGroup,n=this._labelGroup,o=e.viewRect;if(e.orient==="vertical"){var s=xa(),l=o.x,u=o.y+o.height;yi(s,s,[-l,-u]),co(s,s,-Ey/2),yi(s,s,[l,u]),o=o.clone(),o.applyTransform(s)}var v=y(o),h=y(i.getBoundingRect()),f=y(n.getBoundingRect()),c=[i.x,i.y],d=[n.x,n.y];d[0]=c[0]=v[0][0];var p=e.labelPosOpt;if(p==null||Re(p)){var g=p==="+"?0:1;_(c,h,v,1,g),_(d,f,v,1,1-g)}else{var g=p>=0?0:1;_(c,h,v,1,g),d[1]=c[1]+p}i.setPosition(c),n.setPosition(d),i.rotation=n.rotation=e.rotation,m(i),m(n);function m(x){x.originX=v[0][0]-x.x,x.originY=v[1][0]-x.y}function y(x){return[[x.x,x.x+x.width],[x.y,x.y+x.height]]}function _(x,S,b,w,A){x[w]+=b[w][A]-S[w][A]}},t.prototype._createAxis=function(e,a){var i=a.getData(),n=a.get("axisType"),o=Cfe(a,n);o.getTicks=function(){return i.mapArray(["value"],function(u){return{value:u}})};var s=i.getDataExtent("value");o.setExtent(s[0],s[1]),o.calcNiceTicks();var l=new Tfe("value",o,e.axisExtent,n);return l.model=a,l},t.prototype._createGroup=function(e){var a=this[e]=new Ze;return this.group.add(a),a},t.prototype._renderAxisLine=function(e,a,i,n){var o=i.getExtent();if(n.get(["lineStyle","show"])){var s=new xr({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:_e({lineCap:"round"},n.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});a.add(s);var l=this._progressLine=new xr({shape:{x1:o[0],x2:this._currentPointer?this._currentPointer.x:o[0],y1:0,y2:0},style:Ue({lineCap:"round",lineWidth:s.style.lineWidth},n.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});a.add(l)}},t.prototype._renderAxisTick=function(e,a,i,n){var o=this,s=n.getData(),l=i.scale.getTicks();this._tickSymbols=[],$(l,function(u){var v=i.dataToCoord(u.value),h=s.getItemModel(u.value),f=h.getModel("itemStyle"),c=h.getModel(["emphasis","itemStyle"]),d=h.getModel(["progress","itemStyle"]),p={x:v,y:0,onclick:Ne(o._changeTimeline,o,u.value)},g=SE(h,f,a,p);g.ensureState("emphasis").style=c.getItemStyle(),g.ensureState("progress").style=d.getItemStyle(),to(g);var m=Xe(g);h.get("tooltip")?(m.dataIndex=u.value,m.dataModel=n):m.dataIndex=m.dataModel=null,o._tickSymbols.push(g)})},t.prototype._renderAxisLabel=function(e,a,i,n){var o=this,s=i.getLabelModel();if(s.get("show")){var l=n.getData(),u=i.getViewLabels();this._tickLabels=[],$(u,function(v){var h=v.tickValue,f=l.getItemModel(h),c=f.getModel("label"),d=f.getModel(["emphasis","label"]),p=f.getModel(["progress","label"]),g=i.dataToCoord(v.tickValue),m=new pt({x:g,y:0,rotation:e.labelRotation-e.rotation,onclick:Ne(o._changeTimeline,o,h),silent:!1,style:Ht(c,{text:v.formattedLabel,align:e.labelAlign,verticalAlign:e.labelBaseline})});m.ensureState("emphasis").style=Ht(d),m.ensureState("progress").style=Ht(p),a.add(m),to(m),xE(m).dataIndex=h,o._tickLabels.push(m)})}},t.prototype._renderControl=function(e,a,i,n){var o=e.controlSize,s=e.rotation,l=n.getModel("controlStyle").getItemStyle(),u=n.getModel(["emphasis","controlStyle"]).getItemStyle(),v=n.getPlayState(),h=n.get("inverse",!0);f(e.nextBtnPosition,"next",Ne(this._changeTimeline,this,h?"-":"+")),f(e.prevBtnPosition,"prev",Ne(this._changeTimeline,this,h?"+":"-")),f(e.playPosition,v?"stop":"play",Ne(this._handlePlayClick,this,!v),!0);function f(c,d,p,g){if(c){var m=_i(Je(n.get(["controlStyle",d+"BtnSize"]),o),o),y=[0,-m/2,m,m],_=Dfe(n,d+"Icon",y,{x:c[0],y:c[1],originX:o/2,originY:0,rotation:g?-s:0,rectHover:!0,style:l,onclick:p});_.ensureState("emphasis").style=u,a.add(_),to(_)}}},t.prototype._renderCurrentPointer=function(e,a,i,n){var o=n.getData(),s=n.getCurrentIndex(),l=o.getItemModel(s).getModel("checkpointStyle"),u=this,v={onCreate:function(h){h.draggable=!0,h.drift=Ne(u._handlePointerDrag,u),h.ondragend=Ne(u._handlePointerDragend,u),bE(h,u._progressLine,s,i,n,!0)},onUpdate:function(h){bE(h,u._progressLine,s,i,n)}};this._currentPointer=SE(l,l,this._mainGroup,{},this._currentPointer,v)},t.prototype._handlePlayClick=function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},t.prototype._handlePointerDrag=function(e,a,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},t.prototype._handlePointerDragend=function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},t.prototype._pointerChangeTimeline=function(e,a){var i=this._toAxisCoord(e)[0],n=this._axis,o=Ta(n.getExtent().slice());i>o[1]&&(i=o[1]),i=0&&(o[n]=+o[n].toFixed(f)),[o,h]}var ky={min:et(Sc,"min"),max:et(Sc,"max"),average:et(Sc,"average"),median:et(Sc,"median")};function Eh(r,t){if(t){var e=r.getData(),a=r.coordinateSystem,i=a&&a.dimensions;if(!kfe(t)&&!Se(t.coord)&&Se(i)){var n=z7(t,e,a,r);if(t=Ye(t),t.type&&ky[t.type]&&n.baseAxis&&n.valueAxis){var o=nt(i,n.baseAxis.dim),s=nt(i,n.valueAxis.dim),l=ky[t.type](e,n.baseDataDim,n.valueDataDim,o,s);t.coord=l[0],t.value=l[1]}else t.coord=[t.xAxis!=null?t.xAxis:t.radiusAxis,t.yAxis!=null?t.yAxis:t.angleAxis]}if(t.coord==null||!Se(i))t.coord=[];else for(var u=t.coord,v=0;v<2;v++)ky[u[v]]&&(u[v]=VM(e,e.mapDimension(i[v]),u[v]));return t}}function z7(r,t,e,a){var i={};return r.valueIndex!=null||r.valueDim!=null?(i.valueDataDim=r.valueIndex!=null?t.getDimension(r.valueIndex):r.valueDim,i.valueAxis=e.getAxis(Ofe(a,i.valueDataDim)),i.baseAxis=e.getOtherAxis(i.valueAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim)):(i.baseAxis=a.getBaseAxis(),i.valueAxis=e.getOtherAxis(i.baseAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim),i.valueDataDim=t.mapDimension(i.valueAxis.dim)),i}function Ofe(r,t){var e=r.getData().getDimensionInfo(t);return e&&e.coordDim}function kh(r,t){return r&&r.containData&&t.coord&&!cA(t)?r.containData(t.coord):!0}function Nfe(r,t,e){return r&&r.containZone&&t.coord&&e.coord&&!cA(t)&&!cA(e)?r.containZone(t.coord,e.coord):!0}function B7(r,t){return r?function(e,a,i,n){var o=n<2?e.coord&&e.coord[n]:e.value;return io(o,t[n])}:function(e,a,i,n){return io(e.value,t[n])}}function VM(r,t,e){if(e==="average"){var a=0,i=0;return r.each(t,function(n,o){isNaN(n)||(a+=n,i++)}),a/i}else return e==="median"?r.getMedian(t):r.getDataExtent(t)[e==="max"?1:0]}var Oy=yt(),GM=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(){this.markerGroupMap=Ge()},t.prototype.render=function(e,a,i){var n=this,o=this.markerGroupMap;o.each(function(s){Oy(s).keep=!1}),a.eachSeries(function(s){var l=Cn.getMarkerModelFromSeries(s,n.type);l&&n.renderSeries(s,l,a,i)}),o.each(function(s){!Oy(s).keep&&n.group.remove(s.group)})},t.prototype.markKeep=function(e){Oy(e).keep=!0},t.prototype.toggleBlurSeries=function(e,a){var i=this;$(e,function(n){var o=Cn.getMarkerModelFromSeries(n,i.type);if(o){var s=o.getData();s.eachItemGraphicEl(function(l){l&&(a?qq(l):JA(l))})}})},t.type="marker",t})(Wt);function TE(r,t,e){var a=t.coordinateSystem;r.each(function(i){var n=r.getItemModel(i),o,s=Ie(n.get("x"),e.getWidth()),l=Ie(n.get("y"),e.getHeight());if(!isNaN(s)&&!isNaN(l))o=[s,l];else if(t.getMarkerPosition)o=t.getMarkerPosition(r.getValues(r.dimensions,i));else if(a){var u=r.get(a.dimensions[0],i),v=r.get(a.dimensions[1],i);o=a.dataToPoint([u,v])}isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),r.setItemLayout(i,o)})}var zfe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.updateTransform=function(e,a,i){a.eachSeries(function(n){var o=Cn.getMarkerModelFromSeries(n,"markPoint");o&&(TE(o.getData(),n,i),this.markerGroupMap.get(n.id).updateLayout())},this)},t.prototype.renderSeries=function(e,a,i,n){var o=e.coordinateSystem,s=e.id,l=e.getData(),u=this.markerGroupMap,v=u.get(s)||u.set(s,new jh),h=Bfe(o,e,a);a.setData(h),TE(a.getData(),e,n),h.each(function(f){var c=h.getItemModel(f),d=c.getShallow("symbol"),p=c.getShallow("symbolSize"),g=c.getShallow("symbolRotate"),m=c.getShallow("symbolOffset"),y=c.getShallow("symbolKeepAspect");if(He(d)||He(p)||He(g)||He(m)){var _=a.getRawValue(f),x=a.getDataParams(f);He(d)&&(d=d(_,x)),He(p)&&(p=p(_,x)),He(g)&&(g=g(_,x)),He(m)&&(m=m(_,x))}var S=c.getModel("itemStyle").getItemStyle(),b=Xh(l,"color");S.fill||(S.fill=b),h.setItemVisual(f,{symbol:d,symbolSize:p,symbolRotate:g,symbolOffset:m,symbolKeepAspect:y,style:S})}),v.updateData(h),this.group.add(v.group),h.eachItemGraphicEl(function(f){f.traverse(function(c){Xe(c).dataModel=a})}),this.markKeep(v),v.group.silent=a.get("silent")||e.get("silent")},t.type="markPoint",t})(GM);function Bfe(r,t,e){var a;r?a=we(r&&r.dimensions,function(s){var l=t.getData().getDimensionInfo(t.getData().mapDimension(s))||{};return _e(_e({},l),{name:s,ordinalMeta:null})}):a=[{name:"value",type:"float"}];var i=new Xr(a,e),n=we(e.get("data"),et(Eh,t));r&&(n=Ct(n,et(kh,r)));var o=B7(!!r,a);return i.initData(n,null,o),i}function Vfe(r){r.registerComponentModel(Efe),r.registerComponentView(zfe),r.registerPreprocessor(function(t){BM(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})})}var Gfe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.createMarkerModelFromSeries=function(e,a,i){return new t(e,a,i)},t.type="markLine",t.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},t})(Cn),bc=yt(),Ffe=function(r,t,e,a){var i=r.getData(),n;if(Se(a))n=a;else{var o=a.type;if(o==="min"||o==="max"||o==="average"||o==="median"||a.xAxis!=null||a.yAxis!=null){var s=void 0,l=void 0;if(a.yAxis!=null||a.xAxis!=null)s=t.getAxis(a.yAxis!=null?"y":"x"),l=wr(a.yAxis,a.xAxis);else{var u=z7(a,i,t,r);s=u.valueAxis;var v=BC(i,u.valueDataDim);l=VM(i,v,o)}var h=s.dim==="x"?0:1,f=1-h,c=Ye(a),d={coord:[]};c.type=null,c.coord=[],c.coord[f]=-1/0,d.coord[f]=1/0;var p=e.get("precision");p>=0&&bt(l)&&(l=+l.toFixed(Math.min(p,20))),c.coord[h]=d.coord[h]=l,n=[c,d,{type:o,valueIndex:a.valueIndex,value:l}]}else n=[]}var g=[Eh(r,n[0]),Eh(r,n[1]),_e({},n[2])];return g[2].type=g[2].type||null,tt(g[2],g[0]),tt(g[2],g[1]),g};function sp(r){return!isNaN(r)&&!isFinite(r)}function AE(r,t,e,a){var i=1-r,n=a.dimensions[r];return sp(t[i])&&sp(e[i])&&t[r]===e[r]&&a.getAxis(n).containData(t[r])}function Hfe(r,t){if(r.type==="cartesian2d"){var e=t[0].coord,a=t[1].coord;if(e&&a&&(AE(1,e,a,r)||AE(0,e,a,r)))return!0}return kh(r,t[0])&&kh(r,t[1])}function Ny(r,t,e,a,i){var n=a.coordinateSystem,o=r.getItemModel(t),s,l=Ie(o.get("x"),i.getWidth()),u=Ie(o.get("y"),i.getHeight());if(!isNaN(l)&&!isNaN(u))s=[l,u];else{if(a.getMarkerPosition)s=a.getMarkerPosition(r.getValues(r.dimensions,t));else{var v=n.dimensions,h=r.get(v[0],t),f=r.get(v[1],t);s=n.dataToPoint([h,f])}if(Fs(n,"cartesian2d")){var c=n.getAxis("x"),d=n.getAxis("y"),v=n.dimensions;sp(r.get(v[0],t))?s[0]=c.toGlobalCoord(c.getExtent()[e?0:1]):sp(r.get(v[1],t))&&(s[1]=d.toGlobalCoord(d.getExtent()[e?0:1]))}isNaN(l)||(s[0]=l),isNaN(u)||(s[1]=u)}r.setItemLayout(t,s)}var qfe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.updateTransform=function(e,a,i){a.eachSeries(function(n){var o=Cn.getMarkerModelFromSeries(n,"markLine");if(o){var s=o.getData(),l=bc(o).from,u=bc(o).to;l.each(function(v){Ny(l,v,!0,n,i),Ny(u,v,!1,n,i)}),s.each(function(v){s.setItemLayout(v,[l.getItemLayout(v),u.getItemLayout(v)])}),this.markerGroupMap.get(n.id).updateLayout()}},this)},t.prototype.renderSeries=function(e,a,i,n){var o=e.coordinateSystem,s=e.id,l=e.getData(),u=this.markerGroupMap,v=u.get(s)||u.set(s,new sM);this.group.add(v.group);var h=Wfe(o,e,a),f=h.from,c=h.to,d=h.line;bc(a).from=f,bc(a).to=c,a.setData(d);var p=a.get("symbol"),g=a.get("symbolSize"),m=a.get("symbolRotate"),y=a.get("symbolOffset");Se(p)||(p=[p,p]),Se(g)||(g=[g,g]),Se(m)||(m=[m,m]),Se(y)||(y=[y,y]),h.from.each(function(x){_(f,x,!0),_(c,x,!1)}),d.each(function(x){var S=d.getItemModel(x).getModel("lineStyle").getLineStyle();d.setItemLayout(x,[f.getItemLayout(x),c.getItemLayout(x)]),S.stroke==null&&(S.stroke=f.getItemVisual(x,"style").fill),d.setItemVisual(x,{fromSymbolKeepAspect:f.getItemVisual(x,"symbolKeepAspect"),fromSymbolOffset:f.getItemVisual(x,"symbolOffset"),fromSymbolRotate:f.getItemVisual(x,"symbolRotate"),fromSymbolSize:f.getItemVisual(x,"symbolSize"),fromSymbol:f.getItemVisual(x,"symbol"),toSymbolKeepAspect:c.getItemVisual(x,"symbolKeepAspect"),toSymbolOffset:c.getItemVisual(x,"symbolOffset"),toSymbolRotate:c.getItemVisual(x,"symbolRotate"),toSymbolSize:c.getItemVisual(x,"symbolSize"),toSymbol:c.getItemVisual(x,"symbol"),style:S})}),v.updateData(d),h.line.eachItemGraphicEl(function(x){Xe(x).dataModel=a,x.traverse(function(S){Xe(S).dataModel=a})});function _(x,S,b){var w=x.getItemModel(S);Ny(x,S,b,e,n);var A=w.getModel("itemStyle").getItemStyle();A.fill==null&&(A.fill=Xh(l,"color")),x.setItemVisual(S,{symbolKeepAspect:w.get("symbolKeepAspect"),symbolOffset:Je(w.get("symbolOffset",!0),y[b?0:1]),symbolRotate:Je(w.get("symbolRotate",!0),m[b?0:1]),symbolSize:Je(w.get("symbolSize"),g[b?0:1]),symbol:Je(w.get("symbol",!0),p[b?0:1]),style:A})}this.markKeep(v),v.group.silent=a.get("silent")||e.get("silent")},t.type="markLine",t})(GM);function Wfe(r,t,e){var a;r?a=we(r&&r.dimensions,function(u){var v=t.getData().getDimensionInfo(t.getData().mapDimension(u))||{};return _e(_e({},v),{name:u,ordinalMeta:null})}):a=[{name:"value",type:"float"}];var i=new Xr(a,e),n=new Xr(a,e),o=new Xr([],e),s=we(e.get("data"),et(Ffe,t,r,e));r&&(s=Ct(s,et(Hfe,r)));var l=B7(!!r,a);return i.initData(we(s,function(u){return u[0]}),null,l),n.initData(we(s,function(u){return u[1]}),null,l),o.initData(we(s,function(u){return u[2]})),o.hasItemOption=!0,{from:i,to:n,line:o}}function Ufe(r){r.registerComponentModel(Gfe),r.registerComponentView(qfe),r.registerPreprocessor(function(t){BM(t.series,"markLine")&&(t.markLine=t.markLine||{})})}var $fe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.createMarkerModelFromSeries=function(e,a,i){return new t(e,a,i)},t.type="markArea",t.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},t})(Cn),wc=yt(),Yfe=function(r,t,e,a){var i=a[0],n=a[1];if(!(!i||!n)){var o=Eh(r,i),s=Eh(r,n),l=o.coord,u=s.coord;l[0]=wr(l[0],-1/0),l[1]=wr(l[1],-1/0),u[0]=wr(u[0],1/0),u[1]=wr(u[1],1/0);var v=yp([{},o,s]);return v.coord=[o.coord,s.coord],v.x0=o.x,v.y0=o.y,v.x1=s.x,v.y1=s.y,v}};function lp(r){return!isNaN(r)&&!isFinite(r)}function CE(r,t,e,a){var i=1-r;return lp(t[i])&&lp(e[i])}function Zfe(r,t){var e=t.coord[0],a=t.coord[1],i={coord:e,x:t.x0,y:t.y0},n={coord:a,x:t.x1,y:t.y1};return Fs(r,"cartesian2d")?e&&a&&(CE(1,e,a)||CE(0,e,a))?!0:Nfe(r,i,n):kh(r,i)||kh(r,n)}function ME(r,t,e,a,i){var n=a.coordinateSystem,o=r.getItemModel(t),s,l=Ie(o.get(e[0]),i.getWidth()),u=Ie(o.get(e[1]),i.getHeight());if(!isNaN(l)&&!isNaN(u))s=[l,u];else{if(a.getMarkerPosition){var v=r.getValues(["x0","y0"],t),h=r.getValues(["x1","y1"],t),f=n.clampData(v),c=n.clampData(h),d=[];e[0]==="x0"?d[0]=f[0]>c[0]?h[0]:v[0]:d[0]=f[0]>c[0]?v[0]:h[0],e[1]==="y0"?d[1]=f[1]>c[1]?h[1]:v[1]:d[1]=f[1]>c[1]?v[1]:h[1],s=a.getMarkerPosition(d,e,!0)}else{var p=r.get(e[0],t),g=r.get(e[1],t),m=[p,g];n.clampData&&n.clampData(m,m),s=n.dataToPoint(m,!0)}if(Fs(n,"cartesian2d")){var y=n.getAxis("x"),_=n.getAxis("y"),p=r.get(e[0],t),g=r.get(e[1],t);lp(p)?s[0]=y.toGlobalCoord(y.getExtent()[e[0]==="x0"?0:1]):lp(g)&&(s[1]=_.toGlobalCoord(_.getExtent()[e[1]==="y0"?0:1]))}isNaN(l)||(s[0]=l),isNaN(u)||(s[1]=u)}return s}var DE=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],Xfe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.updateTransform=function(e,a,i){a.eachSeries(function(n){var o=Cn.getMarkerModelFromSeries(n,"markArea");if(o){var s=o.getData();s.each(function(l){var u=we(DE,function(h){return ME(s,l,h,n,i)});s.setItemLayout(l,u);var v=s.getItemGraphicEl(l);v.setShape("points",u)})}},this)},t.prototype.renderSeries=function(e,a,i,n){var o=e.coordinateSystem,s=e.id,l=e.getData(),u=this.markerGroupMap,v=u.get(s)||u.set(s,{group:new Ze});this.group.add(v.group),this.markKeep(v);var h=Kfe(o,e,a);a.setData(h),h.each(function(f){var c=we(DE,function(A){return ME(h,f,A,e,n)}),d=o.getAxis("x").scale,p=o.getAxis("y").scale,g=d.getExtent(),m=p.getExtent(),y=[d.parse(h.get("x0",f)),d.parse(h.get("x1",f))],_=[p.parse(h.get("y0",f)),p.parse(h.get("y1",f))];Ta(y),Ta(_);var x=!(g[0]>y[1]||g[1]_[1]||m[1]<_[0]),S=!x;h.setItemLayout(f,{points:c,allClipped:S});var b=h.getItemModel(f).getModel("itemStyle").getItemStyle(),w=Xh(l,"color");b.fill||(b.fill=w,Re(b.fill)&&(b.fill=hh(b.fill,.4))),b.stroke||(b.stroke=w),h.setItemVisual(f,"style",b)}),h.diff(wc(v).data).add(function(f){var c=h.getItemLayout(f);if(!c.allClipped){var d=new jr({shape:{points:c.points}});h.setItemGraphicEl(f,d),v.group.add(d)}}).update(function(f,c){var d=wc(v).data.getItemGraphicEl(c),p=h.getItemLayout(f);p.allClipped?d&&v.group.remove(d):(d?wt(d,{shape:{points:p.points}},a,f):d=new jr({shape:{points:p.points}}),h.setItemGraphicEl(f,d),v.group.add(d))}).remove(function(f){var c=wc(v).data.getItemGraphicEl(f);v.group.remove(c)}).execute(),h.eachItemGraphicEl(function(f,c){var d=h.getItemModel(c),p=h.getItemVisual(c,"style");f.useStyle(h.getItemVisual(c,"style")),Gr(f,Cr(d),{labelFetcher:a,labelDataIndex:c,defaultText:h.getName(c)||"",inheritColor:Re(p.fill)?hh(p.fill,1):"#000"}),Vr(f,d),tr(f,null,null,d.get(["emphasis","disabled"])),Xe(f).dataModel=a}),wc(v).data=h,v.group.silent=a.get("silent")||e.get("silent")},t.type="markArea",t})(GM);function Kfe(r,t,e){var a,i,n=["x0","y0","x1","y1"];if(r){var o=we(r&&r.dimensions,function(u){var v=t.getData(),h=v.getDimensionInfo(v.mapDimension(u))||{};return _e(_e({},h),{name:u,ordinalMeta:null})});i=we(n,function(u,v){return{name:u,type:o[v%2].type}}),a=new Xr(i,e)}else i=[{name:"value",type:"float"}],a=new Xr(i,e);var s=we(e.get("data"),et(Yfe,t,r,e));r&&(s=Ct(s,et(Zfe,r)));var l=r?function(u,v,h,f){var c=u.coord[Math.floor(f/2)][f%2];return io(c,i[f])}:function(u,v,h,f){return io(u.value,i[f])};return a.initData(s,null,l),a.hasItemOption=!0,a}function Qfe(r){r.registerComponentModel($fe),r.registerComponentView(Xfe),r.registerPreprocessor(function(t){BM(t.series,"markArea")&&(t.markArea=t.markArea||{})})}var jfe=function(r,t){if(t==="all")return{type:"all",title:r.getLocaleModel().get(["legend","selector","all"])};if(t==="inverse")return{type:"inverse",title:r.getLocaleModel().get(["legend","selector","inverse"])}},dA=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.layoutMode={type:"box",ignoreSize:!0},e}return t.prototype.init=function(e,a,i){this.mergeDefaultAndTheme(e,i),e.selected=e.selected||{},this._updateSelector(e)},t.prototype.mergeOption=function(e,a){r.prototype.mergeOption.call(this,e,a),this._updateSelector(e)},t.prototype._updateSelector=function(e){var a=e.selector,i=this.ecModel;a===!0&&(a=e.selector=["all","inverse"]),Se(a)&&$(a,function(n,o){Re(n)&&(n={type:n}),a[o]=tt(n,jfe(i,n.type))})},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&this.get("selectedMode")==="single"){for(var a=!1,i=0;i=0},t.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},t})(ut),yl=et,pA=$,Tc=Ze,V7=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.newlineDisabled=!1,e}return t.prototype.init=function(){this.group.add(this._contentGroup=new Tc),this.group.add(this._selectorGroup=new Tc),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,a,i){var n=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!e.get("show",!0)){var o=e.get("align"),s=e.get("orient");(!o||o==="auto")&&(o=e.get("left")==="right"&&s==="vertical"?"right":"left");var l=e.get("selector",!0),u=e.get("selectorPosition",!0);l&&(!u||u==="auto")&&(u=s==="horizontal"?"end":"start"),this.renderInner(o,e,a,i,l,s,u);var v=e.getBoxLayoutParams(),h={width:i.getWidth(),height:i.getHeight()},f=e.get("padding"),c=dr(v,h,f),d=this.layoutInner(e,o,c,n,l,u),p=dr(Ue({width:d.width,height:d.height},v),h,f);this.group.x=p.x-d.x,this.group.y=p.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=M7(d,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,a,i,n,o,s,l){var u=this.getContentGroup(),v=Ge(),h=a.get("selectedMode"),f=[];i.eachRawSeries(function(c){!c.get("legendHoverLink")&&f.push(c.id)}),pA(a.getData(),function(c,d){var p=c.get("name");if(!this.newlineDisabled&&(p===""||p==="\n")){var g=new Tc;g.newline=!0,u.add(g);return}var m=i.getSeriesByName(p)[0];if(!v.get(p))if(m){var y=m.getData(),_=y.getVisual("legendLineStyle")||{},x=y.getVisual("legendIcon"),S=y.getVisual("style"),b=this._createItem(m,p,d,c,a,e,_,S,x,h,n);b.on("click",yl(LE,p,null,n,f)).on("mouseover",yl(gA,m.name,null,n,f)).on("mouseout",yl(mA,m.name,null,n,f)),i.ssr&&b.eachChild(function(w){var A=Xe(w);A.seriesIndex=m.seriesIndex,A.dataIndex=d,A.ssrType="legend"}),v.set(p,!0)}else i.eachRawSeries(function(w){if(!v.get(p)&&w.legendVisualProvider){var A=w.legendVisualProvider;if(!A.containName(p))return;var T=A.indexOfName(p),C=A.getItemVisual(T,"style"),M=A.getItemVisual(T,"legendIcon"),L=sa(C.fill);L&&L[3]===0&&(L[3]=.2,C=_e(_e({},C),{fill:pi(L,"rgba")}));var D=this._createItem(w,p,d,c,a,e,{},C,M,h,n);D.on("click",yl(LE,null,p,n,f)).on("mouseover",yl(gA,null,p,n,f)).on("mouseout",yl(mA,null,p,n,f)),i.ssr&&D.eachChild(function(P){var I=Xe(P);I.seriesIndex=w.seriesIndex,I.dataIndex=d,I.ssrType="legend"}),v.set(p,!0)}},this)},this),o&&this._createSelector(o,a,n,s,l)},t.prototype._createSelector=function(e,a,i,n,o){var s=this.getSelectorGroup();pA(e,function(u){var v=u.type,h=new pt({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:v==="all"?"legendAllSelect":"legendInverseSelect",legendId:a.id})}});s.add(h);var f=a.getModel("selectorLabel"),c=a.getModel(["emphasis","selectorLabel"]);Gr(h,{normal:f,emphasis:c},{defaultText:u.title}),to(h)})},t.prototype._createItem=function(e,a,i,n,o,s,l,u,v,h,f){var c=e.visualDrawType,d=o.get("itemWidth"),p=o.get("itemHeight"),g=o.isSelected(a),m=n.get("symbolRotate"),y=n.get("symbolKeepAspect"),_=n.get("icon");v=_||v||"roundRect";var x=Jfe(v,n,l,u,c,g,f),S=new Tc,b=n.getModel("textStyle");if(He(e.getLegendIcon)&&(!_||_==="inherit"))S.add(e.getLegendIcon({itemWidth:d,itemHeight:p,icon:v,iconRotate:m,itemStyle:x.itemStyle,lineStyle:x.lineStyle,symbolKeepAspect:y}));else{var w=_==="inherit"&&e.getData().getVisual("symbol")?m==="inherit"?e.getData().getVisual("symbolRotate"):m:0;S.add(ece({itemWidth:d,itemHeight:p,icon:v,iconRotate:w,itemStyle:x.itemStyle,symbolKeepAspect:y}))}var A=s==="left"?d+5:-5,T=s,C=o.get("formatter"),M=a;Re(C)&&C?M=C.replace("{name}",a!=null?a:""):He(C)&&(M=C(a));var L=g?b.getTextColor():n.get("inactiveColor");S.add(new pt({style:Ht(b,{text:M,x:A,y:p/2,fill:L,align:T,verticalAlign:"middle"},{inheritColor:L})}));var D=new gt({shape:S.getBoundingRect(),style:{fill:"transparent"}}),P=n.getModel("tooltip");return P.get("show")&&zs({el:D,componentModel:o,itemName:a,itemTooltipOption:P.option}),S.add(D),S.eachChild(function(I){I.silent=!0}),D.silent=!h,this.getContentGroup().add(S),to(S),S.__legendDataIndex=i,S},t.prototype.layoutInner=function(e,a,i,n,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();bs(e.get("orient"),l,e.get("itemGap"),i.width,i.height);var v=l.getBoundingRect(),h=[-v.x,-v.y];if(u.markRedraw(),l.markRedraw(),o){bs("horizontal",u,e.get("selectorItemGap",!0));var f=u.getBoundingRect(),c=[-f.x,-f.y],d=e.get("selectorButtonGap",!0),p=e.getOrient().index,g=p===0?"width":"height",m=p===0?"height":"width",y=p===0?"y":"x";s==="end"?c[p]+=v[g]+d:h[p]+=f[g]+d,c[1-p]+=v[m]/2-f[m]/2,u.x=c[0],u.y=c[1],l.x=h[0],l.y=h[1];var _={x:0,y:0};return _[g]=v[g]+d+f[g],_[m]=Math.max(v[m],f[m]),_[y]=Math.min(0,f[y]+c[1-p]),_}else return l.x=h[0],l.y=h[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t})(Wt);function Jfe(r,t,e,a,i,n,o){function s(g,m){g.lineWidth==="auto"&&(g.lineWidth=m.lineWidth>0?2:0),pA(g,function(y,_){g[_]==="inherit"&&(g[_]=m[_])})}var l=t.getModel("itemStyle"),u=l.getItemStyle(),v=r.lastIndexOf("empty",0)===0?"fill":"stroke",h=l.getShallow("decal");u.decal=!h||h==="inherit"?a.decal:Ql(h,o),u.fill==="inherit"&&(u.fill=a[i]),u.stroke==="inherit"&&(u.stroke=a[v]),u.opacity==="inherit"&&(u.opacity=(i==="fill"?a:e).opacity),s(u,a);var f=t.getModel("lineStyle"),c=f.getLineStyle();if(s(c,e),u.fill==="auto"&&(u.fill=a.fill),u.stroke==="auto"&&(u.stroke=a.fill),c.stroke==="auto"&&(c.stroke=a.fill),!n){var d=t.get("inactiveBorderWidth"),p=u[v];u.lineWidth=d==="auto"?a.lineWidth>0&&p?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),c.stroke=f.get("inactiveColor"),c.lineWidth=f.get("inactiveWidth")}return{itemStyle:u,lineStyle:c}}function ece(r){var t=r.icon||"roundRect",e=lr(t,0,0,r.itemWidth,r.itemHeight,r.itemStyle.fill,r.symbolKeepAspect);return e.setStyle(r.itemStyle),e.rotation=(r.iconRotate||0)*Math.PI/180,e.setOrigin([r.itemWidth/2,r.itemHeight/2]),t.indexOf("empty")>-1&&(e.style.stroke=e.style.fill,e.style.fill="#fff",e.style.lineWidth=2),e}function LE(r,t,e,a){mA(r,t,e,a),e.dispatchAction({type:"legendToggleSelect",name:r!=null?r:t}),gA(r,t,e,a)}function G7(r){for(var t=r.getZr().storage.getDisplayList(),e,a=0,i=t.length;ai[o],g=[-c.x,-c.y];a||(g[n]=v[u]);var m=[0,0],y=[-d.x,-d.y],_=Je(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(p){var x=e.get("pageButtonPosition",!0);x==="end"?y[n]+=i[o]-d[o]:m[n]+=d[o]+_}y[1-n]+=c[s]/2-d[s]/2,v.setPosition(g),h.setPosition(m),f.setPosition(y);var S={x:0,y:0};if(S[o]=p?i[o]:c[o],S[s]=Math.max(c[s],d[s]),S[l]=Math.min(0,d[l]+y[1-n]),h.__rectSize=i[o],p){var b={x:0,y:0};b[o]=Math.max(i[o]-d[o]-_,0),b[s]=S[s],h.setClipPath(new gt({shape:b})),h.__rectSize=b[o]}else f.eachChild(function(A){A.attr({invisible:!0,silent:!0})});var w=this._getPageInfo(e);return w.pageIndex!=null&&wt(v,{x:w.contentPosition[0],y:w.contentPosition[1]},p?e:null),this._updatePageInfoView(e,w),S},t.prototype._pageGo=function(e,a,i){var n=this._getPageInfo(a)[e];n!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:a.id})},t.prototype._updatePageInfoView=function(e,a){var i=this._controllerGroup;$(["pagePrev","pageNext"],function(v){var h=v+"DataIndex",f=a[h]!=null,c=i.childOfName(v);c&&(c.setStyle("fill",f?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),c.cursor=f?"pointer":"default")});var n=i.childOfName("pageText"),o=e.get("pageFormatter"),s=a.pageIndex,l=s!=null?s+1:0,u=a.pageCount;n&&o&&n.setStyle("text",Re(o)?o.replace("{current}",l==null?"":l+"").replace("{total}",u==null?"":u+""):o({current:l,total:u}))},t.prototype._getPageInfo=function(e){var a=e.get("scrollDataIndex",!0),i=this.getContentGroup(),n=this._containerGroup.__rectSize,o=e.getOrient().index,s=zy[o],l=By[o],u=this._findTargetItemIndex(a),v=i.children(),h=v[u],f=v.length,c=f?1:0,d={contentPosition:[i.x,i.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return d;var p=x(h);d.contentPosition[o]=-p.s;for(var g=u+1,m=p,y=p,_=null;g<=f;++g)_=x(v[g]),(!_&&y.e>m.s+n||_&&!S(_,m.s))&&(y.i>m.i?m=y:m=_,m&&(d.pageNextDataIndex==null&&(d.pageNextDataIndex=m.i),++d.pageCount)),y=_;for(var g=u-1,m=p,y=p,_=null;g>=-1;--g)_=x(v[g]),(!_||!S(y,_.s))&&m.i=w&&b.s<=w+n}},t.prototype._findTargetItemIndex=function(e){if(!this._showController)return 0;var a,i=this.getContentGroup(),n;return i.eachChild(function(o,s){var l=o.__legendDataIndex;n==null&&l!=null&&(n=s),l===e&&(a=s)}),a!=null?a:n},t.type="legend.scroll",t})(V7);function nce(r){r.registerAction("legendScroll","legendscroll",function(t,e){var a=t.scrollDataIndex;a!=null&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(i){i.setScrollDataIndex(a)})})}function oce(r){ot(F7),r.registerComponentModel(ace),r.registerComponentView(ice),nce(r)}function sce(r){ot(F7),ot(oce)}var lce=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="dataZoom.inside",t.defaultOption=go(Rh.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t})(Rh),FM=yt();function uce(r,t,e){FM(r).coordSysRecordMap.each(function(a){var i=a.dataZoomInfoMap.get(t.uid);i&&(i.getRange=e)})}function vce(r,t){for(var e=FM(r).coordSysRecordMap,a=e.keys(),i=0;ia[e+t]&&(t=s),i=i&&o.get("preventDefaultMouseMove",!0)}),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}function pce(r){r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,function(t,e){var a=FM(e),i=a.coordSysRecordMap||(a.coordSysRecordMap=Ge());i.each(function(n){n.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(n){var o=T7(n);$(o.infoList,function(s){var l=s.model.uid,u=i.get(l)||i.set(l,hce(e,s.model)),v=u.dataZoomInfoMap||(u.dataZoomInfoMap=Ge());v.set(n.uid,{dzReferCoordSysInfo:s,model:n,getRange:null})})}),i.each(function(n){var o=n.controller,s,l=n.dataZoomInfoMap;if(l){var u=l.keys()[0];u!=null&&(s=l.get(u))}if(!s){H7(i,n);return}var v=dce(l);o.enable(v.controlType,v.opt),o.setPointerChecker(n.containsPoint),mu(n,"dispatchAction",s.model.get("throttle",!0),"fixRate")})})}var gce=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return t.prototype.render=function(e,a,i){if(r.prototype.render.apply(this,arguments),e.noTarget()){this._clear();return}this.range=e.getPercentRange(),uce(i,e,{pan:Ne(Vy.pan,this),zoom:Ne(Vy.zoom,this),scrollMove:Ne(Vy.scrollMove,this)})},t.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){vce(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t})(RM),Vy={zoom:function(r,t,e,a){var i=this.range,n=i.slice(),o=r.axisModels[0];if(o){var s=Gy[t](null,[a.originX,a.originY],o,e,r),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(n[1]-n[0])+n[0],u=Math.max(1/a.scale,0);n[0]=(n[0]-l)*u+l,n[1]=(n[1]-l)*u+l;var v=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(qs(0,n,[0,100],0,v.minSpan,v.maxSpan),this.range=n,i[0]!==n[0]||i[1]!==n[1])return n}},pan:EE(function(r,t,e,a,i,n){var o=Gy[a]([n.oldX,n.oldY],[n.newX,n.newY],t,i,e);return o.signal*(r[1]-r[0])*o.pixel/o.pixelLength}),scrollMove:EE(function(r,t,e,a,i,n){var o=Gy[a]([0,0],[n.scrollDelta,n.scrollDelta],t,i,e);return o.signal*(r[1]-r[0])*n.scrollDelta})};function EE(r){return function(t,e,a,i){var n=this.range,o=n.slice(),s=t.axisModels[0];if(s){var l=r(o,s,t,e,a,i);if(qs(l,o,[0,100],"all"),this.range=o,n[0]!==o[0]||n[1]!==o[1])return o}}}var Gy={grid:function(r,t,e,a,i){var n=e.axis,o={},s=i.model.coordinateSystem.getRect();return r=r||[0,0],n.dim==="x"?(o.pixel=t[0]-r[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=n.inverse?1:-1):(o.pixel=t[1]-r[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=n.inverse?-1:1),o},polar:function(r,t,e,a,i){var n=e.axis,o={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return r=r?s.pointToCoord(r):[0,0],t=s.pointToCoord(t),e.mainType==="radiusAxis"?(o.pixel=t[0]-r[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=n.inverse?1:-1):(o.pixel=t[1]-r[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=n.inverse?-1:1),o},singleAxis:function(r,t,e,a,i){var n=e.axis,o=i.model.coordinateSystem.getRect(),s={};return r=r||[0,0],n.orient==="horizontal"?(s.pixel=t[0]-r[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=n.inverse?1:-1):(s.pixel=t[1]-r[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=n.inverse?-1:1),s}};function q7(r){EM(r),r.registerComponentModel(lce),r.registerComponentView(gce),pce(r)}var mce=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=go(Rh.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),t})(Rh),sv=gt,kE=7,yce=1,Fy=30,_ce=7,lv="horizontal",OE="vertical",xce=5,Sce=["line","bar","candlestick","scatter"],bce={easing:"cubicOut",duration:100,delay:0},wce=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._displayables={},e}return t.prototype.init=function(e,a){this.api=a,this._onBrush=Ne(this._onBrush,this),this._onBrushEnd=Ne(this._onBrushEnd,this)},t.prototype.render=function(e,a,i,n){if(r.prototype.render.apply(this,arguments),mu(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),e.get("show")===!1){this.group.removeAll();return}if(e.noTarget()){this._clear(),this.group.removeAll();return}(!n||n.type!=="dataZoom"||n.from!==this.uid)&&this._buildView(),this._updateView()},t.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){Sh(this,"_dispatchZoomAction");var e=this.api.getZr();e.off("mousemove",this._onBrush),e.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var e=this.group;e.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var a=this._displayables.sliderGroup=new Ze;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(a),this._positionGroup()},t.prototype._resetLocation=function(){var e=this.dataZoomModel,a=this.api,i=e.get("brushSelect"),n=i?_ce:0,o=this._findCoordRect(),s={width:a.getWidth(),height:a.getHeight()},l=this._orient===lv?{right:s.width-o.x-o.width,top:s.height-Fy-kE-n,width:o.width,height:Fy}:{right:kE,top:o.y,width:Fy,height:o.height},u=cu(e.option);$(["right","top","width","height"],function(h){u[h]==="ph"&&(u[h]=l[h])});var v=dr(u,s);this._location={x:v.x,y:v.y},this._size=[v.width,v.height],this._orient===OE&&this._size.reverse()},t.prototype._positionGroup=function(){var e=this.group,a=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),o=n&&n.get("inverse"),s=this._displayables.sliderGroup,l=(this._dataShadowInfo||{}).otherAxisInverse;s.attr(i===lv&&!o?{scaleY:l?1:-1,scaleX:1}:i===lv&&o?{scaleY:l?1:-1,scaleX:-1}:i===OE&&!o?{scaleY:l?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:l?-1:1,scaleX:-1,rotation:Math.PI/2});var u=e.getBoundingRect([s]);e.x=a.x-u.x,e.y=a.y-u.y,e.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var e=this.dataZoomModel,a=this._size,i=this._displayables.sliderGroup,n=e.get("brushSelect");i.add(new sv({silent:!0,shape:{x:0,y:0,width:a[0],height:a[1]},style:{fill:e.get("backgroundColor")},z2:-40}));var o=new sv({shape:{x:0,y:0,width:a[0],height:a[1]},style:{fill:"transparent"},z2:0,onclick:Ne(this._onClickPanel,this)}),s=this.api.getZr();n?(o.on("mousedown",this._onBrushStart,this),o.cursor="crosshair",s.on("mousemove",this._onBrush),s.on("mouseup",this._onBrushEnd)):(s.off("mousemove",this._onBrush),s.off("mouseup",this._onBrushEnd)),i.add(o)},t.prototype._renderDataShadow=function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!e)return;var a=this._size,i=this._shadowSize||[],n=e.series,o=n.getRawData(),s=n.getShadowDim&&n.getShadowDim(),l=s&&o.getDimensionInfo(s)?n.getShadowDim():e.otherDim;if(l==null)return;var u=this._shadowPolygonPts,v=this._shadowPolylinePts;if(o!==this._shadowData||l!==this._shadowDim||a[0]!==i[0]||a[1]!==i[1]){var h=o.getDataExtent(l),f=(h[1]-h[0])*.3;h=[h[0]-f,h[1]+f];var c=[0,a[1]],d=[0,a[0]],p=[[a[0],0],[0,0]],g=[],m=d[1]/(o.count()-1),y=0,_=Math.round(o.count()/a[0]),x;o.each([l],function(T,C){if(_>0&&C%_){y+=m;return}var M=T==null||isNaN(T)||T==="",L=M?0:Pt(T,h,c,!0);M&&!x&&C?(p.push([p[p.length-1][0],0]),g.push([g[g.length-1][0],0])):!M&&x&&(p.push([y,0]),g.push([y,0])),p.push([y,L]),g.push([y,L]),y+=m,x=M}),u=this._shadowPolygonPts=p,v=this._shadowPolylinePts=g}this._shadowData=o,this._shadowDim=l,this._shadowSize=[a[0],a[1]];var S=this.dataZoomModel;function b(T){var C=S.getModel(T?"selectedDataBackground":"dataBackground"),M=new Ze,L=new jr({shape:{points:u},segmentIgnoreThreshold:1,style:C.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),D=new ea({shape:{points:v},segmentIgnoreThreshold:1,style:C.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return M.add(L),M.add(D),M}for(var w=0;w<3;w++){var A=b(w===1);this._displayables.sliderGroup.add(A),this._displayables.dataShadowSegs.push(A)}},t.prototype._prepareDataShadowInfo=function(){var e=this.dataZoomModel,a=e.get("showDataShadow");if(a!==!1){var i,n=this.ecModel;return e.eachTargetAxis(function(o,s){var l=e.getAxisProxy(o,s).getTargetSeriesModels();$(l,function(u){if(!i&&!(a!==!0&&nt(Sce,u.get("type"))<0)){var v=n.getComponent(jn(o),s).axis,h=Tce(o),f,c=u.coordinateSystem;h!=null&&c.getOtherAxis&&(f=c.getOtherAxis(v).inverse),h=u.getData().mapDimension(h),i={thisAxis:v,series:u,thisDim:o,otherDim:h,otherAxisInverse:f}}},this)},this),i}},t.prototype._renderHandle=function(){var e=this.group,a=this._displayables,i=a.handles=[null,null],n=a.handleLabels=[null,null],o=this._displayables.sliderGroup,s=this._size,l=this.dataZoomModel,u=this.api,v=l.get("borderRadius")||0,h=l.get("brushSelect"),f=a.filler=new sv({silent:h,style:{fill:l.get("fillerColor")},textConfig:{position:"inside"}});o.add(f),o.add(new sv({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:s[0],height:s[1],r:v},style:{stroke:l.get("dataBackgroundColor")||l.get("borderColor"),lineWidth:yce,fill:"rgba(0,0,0,0)"}})),$([0,1],function(_){var x=l.get("handleIcon");!Bd[x]&&x.indexOf("path://")<0&&x.indexOf("image://")<0&&(x="path://"+x);var S=lr(x,-1,0,2,2,null,!0);S.attr({cursor:NE(this._orient),draggable:!0,drift:Ne(this._onDragMove,this,_),ondragend:Ne(this._onDragEnd,this),onmouseover:Ne(this._showDataInfo,this,!0),onmouseout:Ne(this._showDataInfo,this,!1),z2:5});var b=S.getBoundingRect(),w=l.get("handleSize");this._handleHeight=Ie(w,this._size[1]),this._handleWidth=b.width/b.height*this._handleHeight,S.setStyle(l.getModel("handleStyle").getItemStyle()),S.style.strokeNoScale=!0,S.rectHover=!0,S.ensureState("emphasis").style=l.getModel(["emphasis","handleStyle"]).getItemStyle(),to(S);var A=l.get("handleColor");A!=null&&(S.style.fill=A),o.add(i[_]=S);var T=l.getModel("textStyle"),C=l.get("handleLabel")||{},M=C.show||!1;e.add(n[_]=new pt({silent:!0,invisible:!M,style:Ht(T,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:T.getTextColor(),font:T.getFont()}),z2:10}))},this);var c=f;if(h){var d=Ie(l.get("moveHandleSize"),s[1]),p=a.moveHandle=new gt({style:l.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:s[1]-.5,height:d}}),g=d*.8,m=a.moveHandleIcon=lr(l.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);m.silent=!0,m.y=s[1]+d/2-.5,p.ensureState("emphasis").style=l.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(s[1]/2,Math.max(d,10));c=a.moveZone=new gt({invisible:!0,shape:{y:s[1]-y,height:d+y}}),c.on("mouseover",function(){u.enterEmphasis(p)}).on("mouseout",function(){u.leaveEmphasis(p)}),o.add(p),o.add(m),o.add(c)}c.attr({draggable:!0,cursor:NE(this._orient),drift:Ne(this._onDragMove,this,"all"),ondragstart:Ne(this._showDataInfo,this,!0),ondragend:Ne(this._onDragEnd,this),onmouseover:Ne(this._showDataInfo,this,!0),onmouseout:Ne(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var e=this._range=this.dataZoomModel.getPercentRange(),a=this._getViewExtent();this._handleEnds=[Pt(e[0],[0,100],a,!0),Pt(e[1],[0,100],a,!0)]},t.prototype._updateInterval=function(e,a){var i=this.dataZoomModel,n=this._handleEnds,o=this._getViewExtent(),s=i.findRepresentativeAxisProxy().getMinMaxSpan(),l=[0,100];qs(a,n,o,i.get("zoomLock")?"all":e,s.minSpan!=null?Pt(s.minSpan,l,o,!0):null,s.maxSpan!=null?Pt(s.maxSpan,l,o,!0):null);var u=this._range,v=this._range=Ta([Pt(n[0],o,l,!0),Pt(n[1],o,l,!0)]);return!u||u[0]!==v[0]||u[1]!==v[1]},t.prototype._updateView=function(e){var a=this._displayables,i=this._handleEnds,n=Ta(i.slice()),o=this._size;$([0,1],function(c){var d=a.handles[c],p=this._handleHeight;d.attr({scaleX:p/2,scaleY:p/2,x:i[c]+(c?-1:1),y:o[1]/2-p/2})},this),a.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:o[1]});var s={x:n[0],width:n[1]-n[0]};a.moveHandle&&(a.moveHandle.setShape(s),a.moveZone.setShape(s),a.moveZone.getBoundingRect(),a.moveHandleIcon&&a.moveHandleIcon.attr("x",s.x+s.width/2));for(var l=a.dataShadowSegs,u=[0,n[0],n[1],o[0]],v=0;va[0]||i[1]<0||i[1]>a[1])){var n=this._handleEnds,o=(n[0]+n[1])/2,s=this._updateInterval("all",i[0]-o);this._updateView(),s&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(e){var a=e.offsetX,i=e.offsetY;this._brushStart=new rt(a,i),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(e){if(this._brushing){var a=this._displayables.brushRect;if(this._brushing=!1,!!a){a.attr("ignore",!0);var i=a.shape,n=+new Date;if(!(n-this._brushStartTime<200&&Math.abs(i.width)<5)){var o=this._getViewExtent(),s=[0,100];this._range=Ta([Pt(i.x,o,s,!0),Pt(i.x+i.width,o,s,!0)]),this._handleEnds=[i.x,i.x+i.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(e){this._brushing&&(_n(e.event),this._updateBrushRect(e.offsetX,e.offsetY))},t.prototype._updateBrushRect=function(e,a){var i=this._displayables,n=this.dataZoomModel,o=i.brushRect;o||(o=i.brushRect=new sv({silent:!0,style:n.getModel("brushStyle").getItemStyle()}),i.sliderGroup.add(o)),o.attr("ignore",!1);var s=this._brushStart,l=this._displayables.sliderGroup,u=l.transformCoordToLocal(e,a),v=l.transformCoordToLocal(s.x,s.y),h=this._size;u[0]=Math.max(Math.min(h[0],u[0]),0),o.setShape({x:v[0],y:0,width:u[0]-v[0],height:h[1]})},t.prototype._dispatchZoomAction=function(e){var a=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:e?bce:null,start:a[0],end:a[1]})},t.prototype._findCoordRect=function(){var e,a=T7(this.dataZoomModel).infoList;if(!e&&a.length){var i=a[0].model.coordinateSystem;e=i.getRect&&i.getRect()}if(!e){var n=this.api.getWidth(),o=this.api.getHeight();e={x:n*.2,y:o*.2,width:n*.6,height:o*.6}}return e},t.type="dataZoom.slider",t})(RM);function Tce(r){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[r]}function NE(r){return r==="vertical"?"ns-resize":"ew-resize"}function W7(r){r.registerComponentModel(mce),r.registerComponentView(wce),EM(r)}function Ace(r){ot(q7),ot(W7)}var U7={get:function(r,t,e){var a=Ye((Cce[r]||{})[t]);return e&&Se(a)?a[a.length-1]:a}},Cce={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},zE=Ar.mapVisual,Mce=Ar.eachVisual,Dce=Se,BE=$,Lce=Ta,Ice=Pt,up=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.stateList=["inRange","outOfRange"],e.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],e.layoutMode={type:"box",ignoreSize:!0},e.dataBound=[-1/0,1/0],e.targetVisuals={},e.controllerVisuals={},e}return t.prototype.init=function(e,a,i){this.mergeDefaultAndTheme(e,i)},t.prototype.optionUpdated=function(e,a){var i=this.option;!a&&k7(i,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(e){var a=this.stateList;e=Ne(e,this),this.controllerVisuals=hA(this.option.controller,a,e),this.targetVisuals=hA(this.option.target,a,e)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var e=this.option.seriesIndex,a=[];return e==null||e==="all"?this.ecModel.eachSeries(function(i,n){a.push(n)}):a=Nt(e),a},t.prototype.eachTargetSeries=function(e,a){$(this.getTargetSeriesIndices(),function(i){var n=this.ecModel.getSeriesByIndex(i);n&&e.call(a,n)},this)},t.prototype.isTargetSeries=function(e){var a=!1;return this.eachTargetSeries(function(i){i===e&&(a=!0)}),a},t.prototype.formatValueText=function(e,a,i){var n=this.option,o=n.precision,s=this.dataBound,l=n.formatter,u;i=i||["<",">"],Se(e)&&(e=e.slice(),u=!0);var v=a?e:u?[h(e[0]),h(e[1])]:h(e);if(Re(l))return l.replace("{value}",u?v[0]:v).replace("{value2}",u?v[1]:v);if(He(l))return u?l(e[0],e[1]):l(e);if(u)return e[0]===s[0]?i[0]+" "+v[1]:e[1]===s[1]?i[1]+" "+v[0]:v[0]+" - "+v[1];return v;function h(f){return f===s[0]?"min":f===s[1]?"max":(+f).toFixed(Math.min(o,20))}},t.prototype.resetExtent=function(){var e=this.option,a=Lce([e.min,e.max]);this._dataExtent=a},t.prototype.getDataDimensionIndex=function(e){var a=this.option.dimension;if(a!=null)return e.getDimensionIndex(a);for(var i=e.dimensions,n=i.length-1;n>=0;n--){var o=i[n],s=e.getDimensionInfo(o);if(!s.isCalculationCoord)return s.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var e=this.ecModel,a=this.option,i={inRange:a.inRange,outOfRange:a.outOfRange},n=a.target||(a.target={}),o=a.controller||(a.controller={});tt(n,i),tt(o,i);var s=this.isCategory();l.call(this,n),l.call(this,o),u.call(this,n,"inRange","outOfRange"),v.call(this,o);function l(h){Dce(a.color)&&!h.inRange&&(h.inRange={color:a.color.slice().reverse()}),h.inRange=h.inRange||{color:e.get("gradientColor")}}function u(h,f,c){var d=h[f],p=h[c];d&&!p&&(p=h[c]={},BE(d,function(g,m){if(Ar.isValidType(m)){var y=U7.get(m,"inactive",s);y!=null&&(p[m]=y,m==="color"&&!p.hasOwnProperty("opacity")&&!p.hasOwnProperty("colorAlpha")&&(p.opacity=[0,0]))}}))}function v(h){var f=(h.inRange||{}).symbol||(h.outOfRange||{}).symbol,c=(h.inRange||{}).symbolSize||(h.outOfRange||{}).symbolSize,d=this.get("inactiveColor"),p=this.getItemSymbol(),g=p||"roundRect";BE(this.stateList,function(m){var y=this.itemSize,_=h[m];_||(_=h[m]={color:s?d:[d]}),_.symbol==null&&(_.symbol=f&&Ye(f)||(s?g:[g])),_.symbolSize==null&&(_.symbolSize=c&&Ye(c)||(s?y[0]:[y[0],y[0]])),_.symbol=zE(_.symbol,function(b){return b==="none"?g:b});var x=_.symbolSize;if(x!=null){var S=-1/0;Mce(x,function(b){b>S&&(S=b)}),_.symbolSize=zE(x,function(b){return Ice(b,[0,S],[0,y[0]],!0)})}},this)}},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(e){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(e){return null},t.prototype.getVisualMeta=function(e){return null},t.type="visualMap",t.dependencies=["series"],t.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},t})(ut),VE=[20,140],Pce=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.optionUpdated=function(e,a){r.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(i){i.mappingMethod="linear",i.dataExtent=this.getExtent()}),this._resetRange()},t.prototype.resetItemSize=function(){r.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(e[0]==null||isNaN(e[0]))&&(e[0]=VE[0]),(e[1]==null||isNaN(e[1]))&&(e[1]=VE[1])},t.prototype._resetRange=function(){var e=this.getExtent(),a=this.option.range;!a||a.auto?(e.auto=1,this.option.range=e):Se(a)&&(a[0]>a[1]&&a.reverse(),a[0]=Math.max(a[0],e[0]),a[1]=Math.min(a[1],e[1]))},t.prototype.completeVisualOption=function(){r.prototype.completeVisualOption.apply(this,arguments),$(this.stateList,function(e){var a=this.option.controller[e].symbolSize;a&&a[0]!==a[1]&&(a[0]=a[1]/3)},this)},t.prototype.setSelected=function(e){this.option.range=e.slice(),this._resetRange()},t.prototype.getSelected=function(){var e=this.getExtent(),a=Ta((this.get("range")||[]).slice());return a[0]>e[1]&&(a[0]=e[1]),a[1]>e[1]&&(a[1]=e[1]),a[0]=i[1]||e<=a[1])?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var a=[];return this.eachTargetSeries(function(i){var n=[],o=i.getData();o.each(this.getDataDimensionIndex(o),function(s,l){e[0]<=s&&s<=e[1]&&n.push(l)},this),a.push({seriesId:i.id,dataIndex:n})},this),a},t.prototype.getVisualMeta=function(e){var a=GE(this,"outOfRange",this.getExtent()),i=GE(this,"inRange",this.option.range.slice()),n=[];function o(c,d){n.push({value:c,color:e(c,d)})}for(var s=0,l=0,u=i.length,v=a.length;le[1])break;n.push({color:this.getControllerVisual(l,"color",a),offset:s/i})}return n.push({color:this.getControllerVisual(e[1],"color",a),offset:1}),n},t.prototype._createBarPoints=function(e,a){var i=this.visualMapModel.itemSize;return[[i[0]-a[0],e[0]],[i[0],e[0]],[i[0],e[1]],[i[0]-a[1],e[1]]]},t.prototype._createBarGroup=function(e){var a=this._orient,i=this.visualMapModel.get("inverse");return new Ze(a==="horizontal"&&!i?{scaleX:e==="bottom"?1:-1,rotation:Math.PI/2}:a==="horizontal"&&i?{scaleX:e==="bottom"?-1:1,rotation:-Math.PI/2}:a==="vertical"&&!i?{scaleX:e==="left"?1:-1,scaleY:-1}:{scaleX:e==="left"?1:-1})},t.prototype._updateHandle=function(e,a){if(this._useHandle){var i=this._shapes,n=this.visualMapModel,o=i.handleThumbs,s=i.handleLabels,l=n.itemSize,u=n.getExtent(),v=this._applyTransform("left",i.mainGroup);Rce([0,1],function(h){var f=o[h];f.setStyle("fill",a.handlesColor[h]),f.y=e[h];var c=Ni(e[h],[0,l[1]],u,!0),d=this.getControllerVisual(c,"symbolSize");f.scaleX=f.scaleY=d/l[0],f.x=l[0]-d/2;var p=gi(i.handleLabelPoints[h],ro(f,this.group));if(this._orient==="horizontal"){var g=v==="left"||v==="top"?(l[0]-d)/2:(l[0]-d)/-2;p[1]+=g}s[h].setStyle({x:p[0],y:p[1],text:n.formatValueText(this._dataInterval[h]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",i.mainGroup):"center"})},this)}},t.prototype._showIndicator=function(e,a,i,n){var o=this.visualMapModel,s=o.getExtent(),l=o.itemSize,u=[0,l[1]],v=this._shapes,h=v.indicator;if(h){h.attr("invisible",!1);var f={convertOpacityToAlpha:!0},c=this.getControllerVisual(e,"color",f),d=this.getControllerVisual(e,"symbolSize"),p=Ni(e,s,u,!0),g=l[0]-d/2,m={x:h.x,y:h.y};h.y=p,h.x=g;var y=gi(v.indicatorLabelPoint,ro(h,this.group)),_=v.indicatorLabel;_.attr("invisible",!1);var x=this._applyTransform("left",v.mainGroup),S=this._orient,b=S==="horizontal";_.setStyle({text:(i||"")+o.formatValueText(a),verticalAlign:b?x:"middle",align:b?"center":x});var w={x:g,y:p,style:{fill:c}},A={style:{x:y[0],y:y[1]}};if(o.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var T={duration:100,easing:"cubicInOut",additive:!0};h.x=m.x,h.y=m.y,h.animateTo(w,T),_.animateTo(A,T)}else h.attr(w),_.attr(A);this._firstShowIndicator=!1;var C=this._shapes.handleLabels;if(C)for(var M=0;Mo[1]&&(h[1]=1/0),a&&(h[0]===-1/0?this._showIndicator(v,h[1],"< ",l):h[1]===1/0?this._showIndicator(v,h[0],"> ",l):this._showIndicator(v,v,"≈ ",l));var f=this._hoverLinkDataIndices,c=[];(a||WE(i))&&(c=this._hoverLinkDataIndices=i.findTargetDataIndices(h));var d=dX(f,c);this._dispatchHighDown("downplay",cd(d[0],i)),this._dispatchHighDown("highlight",cd(d[1],i))}},t.prototype._hoverLinkFromSeriesMouseOver=function(e){var a;if(ps(e.target,function(l){var u=Xe(l);if(u.dataIndex!=null)return a=u,!0},!0),!!a){var i=this.ecModel.getSeriesByIndex(a.seriesIndex),n=this.visualMapModel;if(n.isTargetSeries(i)){var o=i.getData(a.dataType),s=o.getStore().get(n.getDataDimensionIndex(o),a.dataIndex);isNaN(s)||this._showIndicator(s,s)}}},t.prototype._hideIndicator=function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0);var a=this._shapes.handleLabels;if(a)for(var i=0;i=0&&(n.dimension=o,a.push(n))}}),r.getData().setVisual("visualMeta",a)}}];function Gce(r,t,e,a){for(var i=t.targetVisuals[a],n=Ar.prepareVisualTypes(i),o={color:Xh(r.getData(),"color")},s=0,l=n.length;s0:t.splitNumber>0)||t.calculable)?"continuous":"piecewise"}),r.registerAction(zce,Bce),$(Vce,function(t){r.registerVisual(r.PRIORITY.VISUAL.COMPONENT,t)}),r.registerPreprocessor(Fce))}function X7(r){r.registerComponentModel(Pce),r.registerComponentView(Oce),Z7(r)}var Hce=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._pieceList=[],e}return t.prototype.optionUpdated=function(e,a){r.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],qce[this._mode].call(this,this._pieceList),this._resetSelected(e,a);var n=this.option.categories;this.resetVisual(function(o,s){i==="categories"?(o.mappingMethod="category",o.categories=Ye(n)):(o.dataExtent=this.getExtent(),o.mappingMethod="piecewise",o.pieceList=we(this._pieceList,function(l){return l=Ye(l),s!=="inRange"&&(l.visual=null),l}))})},t.prototype.completeVisualOption=function(){var e=this.option,a={},i=Ar.listVisualTypes(),n=this.isCategory();$(e.pieces,function(s){$(i,function(l){s.hasOwnProperty(l)&&(a[l]=1)})}),$(a,function(s,l){var u=!1;$(this.stateList,function(v){u=u||o(e,v,l)||o(e.target,v,l)},this),!u&&$(this.stateList,function(v){(e[v]||(e[v]={}))[l]=U7.get(l,v==="inRange"?"active":"inactive",n)})},this);function o(s,l,u){return s&&s[l]&&s[l].hasOwnProperty(u)}r.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(e,a){var i=this.option,n=this._pieceList,o=(a?i:e).selected||{};if(i.selected=o,$(n,function(l,u){var v=this.getSelectedMapKey(l);o.hasOwnProperty(v)||(o[v]=!0)},this),i.selectedMode==="single"){var s=!1;$(n,function(l,u){var v=this.getSelectedMapKey(l);o[v]&&(s?o[v]=!1:s=!0)},this)}},t.prototype.getItemSymbol=function(){return this.get("itemSymbol")},t.prototype.getSelectedMapKey=function(e){return this._mode==="categories"?e.value+"":e.index+""},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},t.prototype.setSelected=function(e){this.option.selected=Ye(e)},t.prototype.getValueState=function(e){var a=Ar.findPieceIndex(e,this._pieceList);return a!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[a])]?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var a=[],i=this._pieceList;return this.eachTargetSeries(function(n){var o=[],s=n.getData();s.each(this.getDataDimensionIndex(s),function(l,u){var v=Ar.findPieceIndex(l,i);v===e&&o.push(u)},this),a.push({seriesId:n.id,dataIndex:o})},this),a},t.prototype.getRepresentValue=function(e){var a;if(this.isCategory())a=e.value;else if(e.value!=null)a=e.value;else{var i=e.interval||[];a=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return a},t.prototype.getVisualMeta=function(e){if(this.isCategory())return;var a=[],i=["",""],n=this;function o(v,h){var f=n.getRepresentValue({interval:v});h||(h=n.getValueState(f));var c=e(f,h);v[0]===-1/0?i[0]=c:v[1]===1/0?i[1]=c:a.push({value:v[0],color:c},{value:v[1],color:c})}var s=this._pieceList.slice();if(!s.length)s.push({interval:[-1/0,1/0]});else{var l=s[0].interval[0];l!==-1/0&&s.unshift({interval:[-1/0,l]}),l=s[s.length-1].interval[1],l!==1/0&&s.push({interval:[l,1/0]})}var u=-1/0;return $(s,function(v){var h=v.interval;h&&(h[0]>u&&o([u,h[0]],"outOfRange"),o(h.slice()),u=h[1])},this),{stops:a,outerColors:i}},t.type="visualMap.piecewise",t.defaultOption=go(up.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),t})(up),qce={splitNumber:function(r){var t=this.option,e=Math.min(t.precision,20),a=this.getExtent(),i=t.splitNumber;i=Math.max(parseInt(i,10),1),t.splitNumber=i;for(var n=(a[1]-a[0])/i;+n.toFixed(e)!==n&&e<5;)e++;t.precision=e,n=+n.toFixed(e),t.minOpen&&r.push({interval:[-1/0,a[0]],close:[0,0]});for(var o=0,s=a[0];o","≥"][a[0]]];e.text=e.text||this.formatValueText(e.value!=null?e.value:e.interval,!1,i)},this)}};function ZE(r,t){var e=r.inverse;(r.orient==="vertical"?!e:e)&&t.reverse()}var Wce=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.doRender=function(){var e=this.group;e.removeAll();var a=this.visualMapModel,i=a.get("textGap"),n=a.textStyleModel,o=n.getFont(),s=n.getTextColor(),l=this._getItemAlign(),u=a.itemSize,v=this._getViewData(),h=v.endsText,f=wr(a.get("showLabel",!0),!h),c=!a.get("selectedMode");h&&this._renderEndsText(e,h[0],u,f,l),$(v.viewPieceList,function(d){var p=d.piece,g=new Ze;g.onclick=Ne(this._onItemClick,this,p),this._enableHoverLink(g,d.indexInModelPieceList);var m=a.getRepresentValue(p);if(this._createItemSymbol(g,m,[0,0,u[0],u[1]],c),f){var y=this.visualMapModel.getValueState(m);g.add(new pt({style:{x:l==="right"?-i:u[0]+i,y:u[1]/2,text:p.text,verticalAlign:"middle",align:l,font:o,fill:s,opacity:y==="outOfRange"?.5:1},silent:c}))}e.add(g)},this),h&&this._renderEndsText(e,h[1],u,f,l),bs(a.get("orient"),e,a.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},t.prototype._enableHoverLink=function(e,a){var i=this;e.on("mouseover",function(){return n("highlight")}).on("mouseout",function(){return n("downplay")});var n=function(o){var s=i.visualMapModel;s.option.hoverLink&&i.api.dispatchAction({type:o,batch:cd(s.findTargetDataIndices(a),s)})}},t.prototype._getItemAlign=function(){var e=this.visualMapModel,a=e.option;if(a.orient==="vertical")return Y7(e,this.api,e.itemSize);var i=a.align;return(!i||i==="auto")&&(i="left"),i},t.prototype._renderEndsText=function(e,a,i,n,o){if(a){var s=new Ze,l=this.visualMapModel.textStyleModel;s.add(new pt({style:Ht(l,{x:n?o==="right"?i[0]:0:i[0]/2,y:i[1]/2,verticalAlign:"middle",align:n?o:"center",text:a})})),e.add(s)}},t.prototype._getViewData=function(){var e=this.visualMapModel,a=we(e.getPieceList(),function(s,l){return{piece:s,indexInModelPieceList:l}}),i=e.get("text"),n=e.get("orient"),o=e.get("inverse");return(n==="horizontal"?o:!o)?a.reverse():i&&(i=i.slice().reverse()),{viewPieceList:a,endsText:i}},t.prototype._createItemSymbol=function(e,a,i,n){var o=lr(this.getControllerVisual(a,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(a,"color"));o.silent=n,e.add(o)},t.prototype._onItemClick=function(e){var a=this.visualMapModel,i=a.option,n=i.selectedMode;if(n){var o=Ye(i.selected),s=a.getSelectedMapKey(e);n==="single"||n===!0?(o[s]=!0,$(o,function(l,u){o[u]=u===s})):o[s]=!o[s],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:o})}},t.type="visualMap.piecewise",t})($7);function K7(r){r.registerComponentModel(Hce),r.registerComponentView(Wce),Z7(r)}function Uce(r){ot(X7),ot(K7)}var $ce={label:{enabled:!0},decal:{show:!1}},XE=yt(),Yce={};function Zce(r,t){var e=r.getModel("aria");if(!e.get("enabled"))return;var a=Ye($ce);tt(a.label,r.getLocaleModel().get("aria"),!1),tt(e.option,a,!1),i(),n();function i(){var u=e.getModel("decal"),v=u.get("show");if(v){var h=Ge();r.eachSeries(function(f){if(!f.isColorBySeries()){var c=h.get(f.type);c||(c={},h.set(f.type,c)),XE(f).scope=c}}),r.eachRawSeries(function(f){if(r.isSeriesFiltered(f))return;if(He(f.enableAriaDecal)){f.enableAriaDecal();return}var c=f.getData();if(f.isColorBySeries()){var y=_T(f.ecModel,f.name,Yce,r.getSeriesCount()),_=c.getVisual("decal");c.setVisual("decal",x(_,y))}else{var d=f.getRawData(),p={},g=XE(f).scope;c.each(function(S){var b=c.getRawIndex(S);p[b]=S});var m=d.count();d.each(function(S){var b=p[S],w=d.getName(S)||S+"",A=_T(f.ecModel,w,g,m),T=c.getItemVisual(b,"decal");c.setItemVisual(b,"decal",x(T,A))})}function x(S,b){var w=S?_e(_e({},b),S):b;return w.dirty=!0,w}})}}function n(){var u=t.getZr().dom;if(u){var v=r.getLocaleModel().get("aria"),h=e.getModel("label");if(h.option=Ue(h.option,v),!!h.get("enabled")){if(u.setAttribute("role","img"),h.get("description")){u.setAttribute("aria-label",h.get("description"));return}var f=r.getSeriesCount(),c=h.get(["data","maxCount"])||10,d=h.get(["series","maxCount"])||10,p=Math.min(f,d),g;if(!(f<1)){var m=s();if(m){var y=h.get(["general","withTitle"]);g=o(y,{title:m})}else g=h.get(["general","withoutTitle"]);var _=[],x=f>1?h.get(["series","multiple","prefix"]):h.get(["series","single","prefix"]);g+=o(x,{seriesCount:f}),r.eachSeries(function(A,T){if(T1?h.get(["series","multiple",L]):h.get(["series","single",L]),C=o(C,{seriesId:A.seriesIndex,seriesName:A.get("name"),seriesType:l(A.subType)});var D=A.getData();if(D.count()>c){var P=h.get(["data","partialData"]);C+=o(P,{displayCnt:c})}else C+=h.get(["data","allData"]);for(var I=h.get(["data","separator","middle"]),R=h.get(["data","separator","end"]),E=h.get(["data","excludeDimensionId"]),k=[],B=0;B":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},Qce=(function(){function r(t){var e=this._condVal=Re(t)?new RegExp(t):O4(t)?t:null;if(e==null){var a="";Rt(a)}}return r.prototype.evaluate=function(t){var e=typeof t;return Re(e)?this._condVal.test(t):bt(e)?this._condVal.test(t+""):!1},r})(),jce=(function(){function r(){}return r.prototype.evaluate=function(){return this.value},r})(),Jce=(function(){function r(){}return r.prototype.evaluate=function(){for(var t=this.children,e=0;e2&&a.push(i),i=[D,P]}function v(D,P,I,R){Nl(D,I)&&Nl(P,R)||i.push(D,P,I,R,I,R)}function h(D,P,I,R,E,k){var B=Math.abs(P-D),F=Math.tan(B/4)*4/3,V=PA:M2&&a.push(i),a}function _A(r,t,e,a,i,n,o,s,l,u){if(Nl(r,e)&&Nl(t,a)&&Nl(i,o)&&Nl(n,s)){l.push(o,s);return}var v=2/u,h=v*v,f=o-r,c=s-t,d=Math.sqrt(f*f+c*c);f/=d,c/=d;var p=e-r,g=a-t,m=i-o,y=n-s,_=p*p+g*g,x=m*m+y*y;if(_=0&&A=0){l.push(o,s);return}var T=[],C=[];so(r,e,i,o,.5,T),so(t,a,n,s,.5,C),_A(T[0],C[0],T[1],C[1],T[2],C[2],T[3],C[3],l,u),_A(T[4],C[4],T[5],C[5],T[6],C[6],T[7],C[7],l,u)}function fde(r,t){var e=yA(r),a=[];t=t||1;for(var i=0;i0)for(var u=0;uMath.abs(u),h=J7([l,u],v?0:1,t),f=(v?s:u)/h.length,c=0;ci,o=J7([a,i],n?0:1,t),s=n?"width":"height",l=n?"height":"width",u=n?"x":"y",v=n?"y":"x",h=r[s]/o.length,f=0;f1?null:new rt(p*l+r,p*u+t)}function pde(r,t,e){var a=new rt;rt.sub(a,e,t),a.normalize();var i=new rt;rt.sub(i,r,t);var n=i.dot(a);return n}function xl(r,t){var e=r[r.length-1];e&&e[0]===t[0]&&e[1]===t[1]||r.push(t)}function gde(r,t,e){for(var a=r.length,i=[],n=0;no?(u.x=v.x=s+n/2,u.y=l,v.y=l+o):(u.y=v.y=l+o/2,u.x=s,v.x=s+n),gde(t,u,v)}function vp(r,t,e,a){if(e===1)a.push(t);else{var i=Math.floor(e/2),n=r(t);vp(r,n[0],i,a),vp(r,n[1],e-i,a)}return a}function mde(r,t){for(var e=[],a=0;a0;u/=2){var v=0,h=0;(r&u)>0&&(v=1),(t&u)>0&&(h=1),s+=u*u*(3*v^h),h===0&&(v===1&&(r=u-1-r,t=u-1-t),l=r,r=t,t=l)}return s}function cp(r){var t=1/0,e=1/0,a=-1/0,i=-1/0,n=we(r,function(s){var l=s.getBoundingRect(),u=s.getComputedTransform(),v=l.x+l.width/2+(u?u[4]:0),h=l.y+l.height/2+(u?u[5]:0);return t=Math.min(v,t),e=Math.min(h,e),a=Math.max(v,a),i=Math.max(h,i),[v,h]}),o=we(n,function(s,l){return{cp:s,z:Cde(s[0],s[1],t,e,a,i),path:r[l]}});return o.sort(function(s,l){return s.z-l.z}).map(function(s){return s.path})}function r9(r){return xde(r.path,r.count)}function xA(){return{fromIndividuals:[],toIndividuals:[],count:0}}function Mde(r,t,e){var a=[];function i(S){for(var b=0;b=0;i--)if(!e[i].many.length){var l=e[s].many;if(l.length<=1)if(s)s=0;else return e;var n=l.length,u=Math.ceil(n/2);e[i].many=l.slice(u,n),e[s].many=l.slice(0,u),s++}return e}var Lde={clone:function(r){for(var t=[],e=1-Math.pow(1-r.path.style.opacity,1/r.count),a=0;a0))return;var s=a.getModel("universalTransition").get("delay"),l=Object.assign({setToFinal:!0},o),u,v;ik(r)&&(u=r,v=t),ik(t)&&(u=t,v=r);function h(m,y,_,x,S){var b=m.many,w=m.one;if(b.length===1&&!S){var A=y?b[0]:w,T=y?w:b[0];if(hp(A))h({many:[A],one:T},!0,_,x,!0);else{var C=s?Ue({delay:s(_,x)},l):l;qM(A,T,C),n(A,T,A,T,C)}}else for(var M=Ue({dividePath:Lde[e],individualDelay:s&&function(E,k,B,F){return s(E+_,x)}},l),L=y?Mde(b,w,M):Dde(w,b,M),D=L.fromIndividuals,P=L.toIndividuals,I=D.length,R=0;Rt.length,c=u?nk(v,u):nk(f?t:r,[f?r:t]),d=0,p=0;pa9))for(var n=a.getIndices(),o=0;o0&&b.group.traverse(function(A){A instanceof ht&&!A.animators.length&&A.animateFrom({style:{opacity:0}},w)})})}function vk(r){var t=r.getModel("universalTransition").get("seriesKey");return t||r.id}function hk(r){return Se(r)?r.sort().join(","):r}function Wn(r){if(r.hostModel)return r.hostModel.getModel("universalTransition").get("divideShape")}function Nde(r,t){var e=Ge(),a=Ge(),i=Ge();return $(r.oldSeries,function(n,o){var s=r.oldDataGroupIds[o],l=r.oldData[o],u=vk(n),v=hk(u);a.set(v,{dataGroupId:s,data:l}),Se(u)&&$(u,function(h){i.set(h,{key:v,dataGroupId:s,data:l})})}),$(t.updatedSeries,function(n){if(n.isUniversalTransitionEnabled()&&n.isAnimationEnabled()){var o=n.get("dataGroupId"),s=n.getData(),l=vk(n),u=hk(l),v=a.get(u);if(v)e.set(u,{oldSeries:[{dataGroupId:v.dataGroupId,divide:Wn(v.data),data:v.data}],newSeries:[{dataGroupId:o,divide:Wn(s),data:s}]});else if(Se(l)){var h=[];$(l,function(d){var p=a.get(d);p.data&&h.push({dataGroupId:p.dataGroupId,divide:Wn(p.data),data:p.data})}),h.length&&e.set(u,{oldSeries:h,newSeries:[{dataGroupId:o,data:s,divide:Wn(s)}]})}else{var f=i.get(l);if(f){var c=e.get(f.key);c||(c={oldSeries:[{dataGroupId:f.dataGroupId,data:f.data,divide:Wn(f.data)}],newSeries:[]},e.set(f.key,c)),c.newSeries.push({dataGroupId:o,data:s,divide:Wn(s)})}}}}),e}function fk(r,t){for(var e=0;e=0&&i.push({dataGroupId:t.oldDataGroupIds[s],data:t.oldData[s],divide:Wn(t.oldData[s]),groupIdDim:o.dimension})}),$(Nt(r.to),function(o){var s=fk(e.updatedSeries,o);if(s>=0){var l=e.updatedSeries[s].getData();n.push({dataGroupId:t.oldDataGroupIds[s],data:l,divide:Wn(l),groupIdDim:o.dimension})}}),i.length>0&&n.length>0&&i9(i,n,a)}function Bde(r){r.registerUpdateLifecycle("series:beforeupdate",function(t,e,a){$(Nt(a.seriesTransition),function(i){$(Nt(i.to),function(n){for(var o=a.updatedSeries,s=0;s=Zo:-u>=Zo),c=u>0?u%Zo:u%Zo+Zo,d=!1;f?d=!0:Xn(h)?d=!1:d=c>=n9==!!v;var p=t+a*Yy(o),g=e+i*$y(o);this._start&&this._add("M",p,g);var m=Math.round(n*Vde);if(f){var y=1/this._p,_=(v?1:-1)*(Zo-y);this._add("A",a,i,m,1,+v,t+a*Yy(o+_),e+i*$y(o+_)),y>.01&&this._add("A",a,i,m,0,+v,p,g)}else{var x=t+a*Yy(s),S=e+i*$y(s);this._add("A",a,i,m,+d,+v,x,S)}},r.prototype.rect=function(t,e,a,i){this._add("M",t,e),this._add("l",a,0),this._add("l",0,i),this._add("l",-a,0),this._add("Z")},r.prototype.closePath=function(){this._d.length>0&&this._add("Z")},r.prototype._add=function(t,e,a,i,n,o,s,l,u){for(var v=[],h=this._p,f=1;f"}function Zde(r){return""}function UM(r,t){t=t||{};var e=t.newline?"\n":"";function a(i){var n=i.children,o=i.tag,s=i.attrs,l=i.text;return Yde(o,s)+(o!=="style"?Zr(l):l||"")+(n?""+e+we(n,function(u){return a(u)}).join(e)+e:"")+Zde(o)}return a(r)}function Xde(r,t,e){e=e||{};var a=e.newline?"\n":"",i=" {"+a,n=a+"}",o=we(ft(r),function(l){return l+i+we(ft(r[l]),function(u){return u+":"+r[l][u]+";"}).join(a)+n}).join(a),s=we(ft(t),function(l){return"@keyframes "+l+i+we(ft(t[l]),function(u){return u+i+we(ft(t[l][u]),function(v){var h=t[l][u][v];return v==="d"&&(h='path("'+h+'")'),v+":"+h+";"}).join(a)+n}).join(a)+n}).join(a);return!o&&!s?"":[""].join(a)}function bA(r){return{zrId:r,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function dk(r,t,e,a){return Tr("svg","root",{width:r,height:t,xmlns:s9,"xmlns:xlink":l9,version:"1.1",baseProfile:"full",viewBox:a?"0 0 "+r+" "+t:!1},e)}var Kde=0;function v9(){return Kde++}var pk={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},os="transform-origin";function Qde(r,t,e){var a=_e({},r.shape);_e(a,t),r.buildPath(e,a);var i=new o9;return i.reset(nq(r)),e.rebuildPath(i,1),i.generateStr(),i.getStr()}function jde(r,t){var e=t.originX,a=t.originY;(e||a)&&(r[os]=e+"px "+a+"px")}var Jde={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function h9(r,t){var e=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[e]=r,e}function epe(r,t,e){var a=r.shape.paths,i={},n,o;if($(a,function(l){var u=bA(e.zrId);u.animation=!0,ng(l,{},u,!0);var v=u.cssAnims,h=u.cssNodes,f=ft(v),c=f.length;if(c){o=f[c-1];var d=v[o];for(var p in d){var g=d[p];i[p]=i[p]||{d:""},i[p].d+=g.d||""}for(var m in h){var y=h[m].animation;y.indexOf(o)>=0&&(n=y)}}}),!!n){t.d=!1;var s=h9(i,e);return n.replace(o,s)}}function gk(r){return Re(r)?pk[r]?"cubic-bezier("+pk[r]+")":zA(r)?r:"":""}function ng(r,t,e,a){var i=r.animators,n=i.length,o=[];if(r instanceof Ep){var s=epe(r,t,e);if(s)o.push(s);else if(!n)return}else if(!n)return;for(var l={},u=0;u0}).length){var H=h9(w,e);return H+" "+y[0]+" both"}}for(var g in l){var s=p(l[g]);s&&o.push(s)}if(o.length){var m=e.zrId+"-cls-"+v9();e.cssNodes["."+m]={animation:o.join(",")},t.class=m}}function tpe(r,t,e){if(!r.ignore)if(r.isSilent()){var a={"pointer-events":"none"};mk(a,t,e)}else{var i=r.states.emphasis&&r.states.emphasis.style?r.states.emphasis.style:{},n=i.fill;if(!n){var o=r.style&&r.style.fill,s=r.states.select&&r.states.select.style&&r.states.select.style.fill,l=r.currentStates.indexOf("select")>=0&&s||o;l&&(n=Td(l))}var u=i.lineWidth;if(u){var v=!i.strokeNoScale&&r.transform?r.transform[0]:1;u=u/v}var a={cursor:"pointer"};n&&(a.fill=n),i.stroke&&(a.stroke=i.stroke),u&&(a["stroke-width"]=u),mk(a,t,e)}}function mk(r,t,e,a){var i=JSON.stringify(r),n=e.cssStyleCache[i];n||(n=e.zrId+"-cls-"+v9(),e.cssStyleCache[i]=n,e.cssNodes["."+n+":hover"]=r),t.class=t.class?t.class+" "+n:n}var Oh=Math.round;function f9(r){return r&&Re(r.src)}function c9(r){return r&&He(r.toDataURL)}function $M(r,t,e,a){Wde(function(i,n){var o=i==="fill"||i==="stroke";o&&iq(n)?p9(t,r,i,a):o&&VA(n)?g9(e,r,i,a):r[i]=n,o&&a.ssr&&n==="none"&&(r["pointer-events"]="visible")},t,e,!1),lpe(e,r,a)}function YM(r,t){var e=cq(t);e&&(e.each(function(a,i){a!=null&&(r[(ck+i).toLowerCase()]=a+"")}),t.isSilent()&&(r[ck+"silent"]="true"))}function yk(r){return Xn(r[0]-1)&&Xn(r[1])&&Xn(r[2])&&Xn(r[3]-1)}function rpe(r){return Xn(r[4])&&Xn(r[5])}function ZM(r,t,e){if(t&&!(rpe(t)&&yk(t))){var a=1e4;r.transform=yk(t)?"translate("+Oh(t[4]*a)/a+" "+Oh(t[5]*a)/a+")":_Z(t)}}function _k(r,t,e){for(var a=r.points,i=[],n=0;n"u"){var g="Image width/height must been given explictly in svg-ssr renderer.";Kr(f,g),Kr(c,g)}else if(f==null||c==null){var m=function(C,M){if(C){var L=C.elm,D=f||M.width,P=c||M.height;C.tag==="pattern"&&(u?(P=1,D/=n.width):v&&(D=1,P/=n.height)),C.attrs.width=D,C.attrs.height=P,L&&(L.setAttribute("width",D),L.setAttribute("height",P))}},y=ZA(d,null,r,function(C){l||m(b,C),m(h,C)});y&&y.width&&y.height&&(f=f||y.width,c=c||y.height)}h=Tr("image","img",{href:d,width:f,height:c}),o.width=f,o.height=c}else i.svgElement&&(h=Ye(i.svgElement),o.width=i.svgWidth,o.height=i.svgHeight);if(h){var _,x;l?_=x=1:u?(x=1,_=o.width/n.width):v?(_=1,x=o.height/n.height):o.patternUnits="userSpaceOnUse",_!=null&&!isNaN(_)&&(o.width=_),x!=null&&!isNaN(x)&&(o.height=x);var S=oq(i);S&&(o.patternTransform=S);var b=Tr("pattern","",o,[h]),w=UM(b),A=a.patternCache,T=A[w];T||(T=a.zrId+"-p"+a.patternIdx++,A[w]=T,o.id=T,b=a.defs[T]=Tr("pattern",T,o,[h])),t[e]=wp(T)}}function upe(r,t,e){var a=e.clipPathCache,i=e.defs,n=a[r.id];if(!n){n=e.zrId+"-c"+e.clipPathIdx++;var o={id:n};a[r.id]=n,i[n]=Tr("clipPath",n,o,[d9(r,e)])}t["clip-path"]=wp(n)}function bk(r){return document.createTextNode(r)}function vs(r,t,e){r.insertBefore(t,e)}function wk(r,t){r.removeChild(t)}function Tk(r,t){r.appendChild(t)}function m9(r){return r.parentNode}function y9(r){return r.nextSibling}function Zy(r,t){r.textContent=t}var Ak=58,vpe=120,hpe=Tr("","");function wA(r){return r===void 0}function zi(r){return r!==void 0}function fpe(r,t,e){for(var a={},i=t;i<=e;++i){var n=r[i].key;n!==void 0&&(a[n]=i)}return a}function Vv(r,t){var e=r.key===t.key,a=r.tag===t.tag;return a&&e}function Nh(r){var t,e=r.children,a=r.tag;if(zi(a)){var i=r.elm=u9(a);if(XM(hpe,r),Se(e))for(t=0;tn?(d=e[l+1]==null?null:e[l+1].elm,_9(r,d,e,i,l)):dp(r,t,a,n))}function Rl(r,t){var e=t.elm=r.elm,a=r.children,i=t.children;r!==t&&(XM(r,t),wA(t.text)?zi(a)&&zi(i)?a!==i&&cpe(e,a,i):zi(i)?(zi(r.text)&&Zy(e,""),_9(e,null,i,0,i.length-1)):zi(a)?dp(e,a,0,a.length-1):zi(r.text)&&Zy(e,""):r.text!==t.text&&(zi(a)&&dp(e,a,0,a.length-1),Zy(e,t.text)))}function dpe(r,t){if(Vv(r,t))Rl(r,t);else{var e=r.elm,a=m9(e);Nh(t),a!==null&&(vs(a,t.elm,y9(e)),dp(a,[r],0,0))}return t}var ppe=0,gpe=(function(){function r(t,e,a){if(this.type="svg",this.refreshHover=Ck(),this.configLayer=Ck(),this.storage=e,this._opts=a=_e({},a),this.root=t,this._id="zr"+ppe++,this._oldVNode=dk(a.width,a.height),t&&!a.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var n=this._svgDom=this._oldVNode.elm=u9("svg");XM(null,this._oldVNode),i.appendChild(n),t.appendChild(i)}this.resize(a.width,a.height)}return r.prototype.getType=function(){return this.type},r.prototype.getViewportRoot=function(){return this._viewport},r.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},r.prototype.getSvgDom=function(){return this._svgDom},r.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",dpe(this._oldVNode,t),this._oldVNode=t}},r.prototype.renderOneToVNode=function(t){return Sk(t,bA(this._id))},r.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),a=this._width,i=this._height,n=bA(this._id);n.animation=t.animation,n.willUpdate=t.willUpdate,n.compress=t.compress,n.emphasis=t.emphasis,n.ssr=this._opts.ssr;var o=[],s=this._bgVNode=mpe(a,i,this._backgroundColor,n);s&&o.push(s);var l=t.compress?null:this._mainVNode=Tr("g","main",{},[]);this._paintList(e,n,l?l.children:o),l&&o.push(l);var u=we(ft(n.defs),function(f){return n.defs[f]});if(u.length&&o.push(Tr("defs","defs",{},u)),t.animation){var v=Xde(n.cssNodes,n.cssAnims,{newline:!0});if(v){var h=Tr("style","stl",{},[],v);o.push(h)}}return dk(a,i,o,t.useViewBox)},r.prototype.renderToString=function(t){return t=t||{},UM(this.renderToVNode({animation:Je(t.cssAnimation,!0),emphasis:Je(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:Je(t.useViewBox,!0)}),{newline:!0})},r.prototype.setBackgroundColor=function(t){this._backgroundColor=t},r.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},r.prototype._paintList=function(t,e,a){for(var i=t.length,n=[],o=0,s,l,u=0,v=0;v=0&&!(f&&l&&f[p]===l[p]);p--);for(var g=d-1;g>p;g--)o--,s=n[o-1];for(var m=p+1;m=s)}}for(var h=this.__startIndex;h15)break}}P.prevElClipPaths&&m.restore()};if(y)if(y.length===0)A=g.__endIndex;else for(var C=c.dpr,M=0;M0&&t>i[0]){for(l=0;lt);l++);s=a[i[l]]}if(i.splice(l+1,0,t),a[t]=e,!e.virtual)if(s){var u=s.dom;u.nextSibling?o.insertBefore(e.dom,u.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}},r.prototype.eachLayer=function(t,e){for(var a=this._zlevelList,i=0;i0?Ac:0),this._needsManuallyCompositing),v.__builtin__||mp("ZLevel "+u+" has been used by unkown layer "+v.id),v!==n&&(v.__used=!0,v.__startIndex!==l&&(v.__dirty=!0),v.__startIndex=l,v.incremental?v.__drawIndex=-1:v.__drawIndex=l,e(l),n=v),i.__dirty&ba&&!i.__inHover&&(v.__dirty=!0,v.incremental&&v.__drawIndex<0&&(v.__drawIndex=l))}e(l),this.eachBuiltinLayer(function(h,f){!h.__used&&h.getElementCount()>0&&(h.__dirty=!0,h.__startIndex=h.__endIndex=h.__drawIndex=0),h.__dirty&&h.__drawIndex<0&&(h.__drawIndex=h.__startIndex)})},r.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},r.prototype._clearLayer=function(t){t.clear()},r.prototype.setBackgroundColor=function(t){this._backgroundColor=t,$(this._layers,function(e){e.setUnpainted()})},r.prototype.configLayer=function(t,e){if(e){var a=this._layerConfig;a[t]?tt(a[t],e,!0):a[t]=e;for(var i=0;i"u"&&(r=!0);var t=r;return jy.__DEV__=t,jy}var Ko={},Jy,Ik;function S9(){if(Ik)return Jy;Ik=1;var r=2311;function t(){return r++}return Jy=t,Jy}var e0,Pk;function pr(){if(Pk)return e0;Pk=1;var r={};typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?r={browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:typeof document>"u"&&typeof self<"u"?r={browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:typeof navigator>"u"?r={browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:r=e(navigator.userAgent);var t=r;function e(a){var i={},n={},o=a.match(/Firefox\/([\d.]+)/),s=a.match(/MSIE\s([\d.]+)/)||a.match(/Trident\/.+?rv:(([\d.]+))/),l=a.match(/Edge\/([\d.]+)/),u=/micromessenger/i.test(a);return o&&(n.firefox=!0,n.version=o[1]),s&&(n.ie=!0,n.version=s[1]),l&&(n.edge=!0,n.version=l[1]),u&&(n.weChat=!0),{browser:n,os:i,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:typeof SVGRect<"u",touchEventsSupported:"ontouchstart"in window&&!n.ie&&!n.edge,pointerEventsSupported:"onpointerdown"in window&&(n.edge||n.ie&&n.version>=11),domSupported:typeof document<"u"}}return e0=t,e0}var St={},Rk;function ie(){if(Rk)return St;Rk=1;var r={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},t={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},e=Object.prototype.toString,a=Array.prototype,i=a.forEach,n=a.filter,o=a.slice,s=a.map,l=a.reduce,u={};function v(Z,ee){Z==="createCanvas"&&(m=null),u[Z]=ee}function h(Z){if(Z==null||typeof Z!="object")return Z;var ee=Z,le=e.call(Z);if(le==="[object Array]"){if(!X(Z)){ee=[];for(var oe=0,fe=Z.length;oe"u"?Array:Float32Array;function t(C,M){var L=new r(2);return C==null&&(C=0),M==null&&(M=0),L[0]=C,L[1]=M,L}function e(C,M){return C[0]=M[0],C[1]=M[1],C}function a(C){var M=new r(2);return M[0]=C[0],M[1]=C[1],M}function i(C,M,L){return C[0]=M,C[1]=L,C}function n(C,M,L){return C[0]=M[0]+L[0],C[1]=M[1]+L[1],C}function o(C,M,L,D){return C[0]=M[0]+L[0]*D,C[1]=M[1]+L[1]*D,C}function s(C,M,L){return C[0]=M[0]-L[0],C[1]=M[1]-L[1],C}function l(C){return Math.sqrt(v(C))}var u=l;function v(C){return C[0]*C[0]+C[1]*C[1]}var h=v;function f(C,M,L){return C[0]=M[0]*L[0],C[1]=M[1]*L[1],C}function c(C,M,L){return C[0]=M[0]/L[0],C[1]=M[1]/L[1],C}function d(C,M){return C[0]*M[0]+C[1]*M[1]}function p(C,M,L){return C[0]=M[0]*L,C[1]=M[1]*L,C}function g(C,M){var L=l(M);return L===0?(C[0]=0,C[1]=0):(C[0]=M[0]/L,C[1]=M[1]/L),C}function m(C,M){return Math.sqrt((C[0]-M[0])*(C[0]-M[0])+(C[1]-M[1])*(C[1]-M[1]))}var y=m;function _(C,M){return(C[0]-M[0])*(C[0]-M[0])+(C[1]-M[1])*(C[1]-M[1])}var x=_;function S(C,M){return C[0]=-M[0],C[1]=-M[1],C}function b(C,M,L,D){return C[0]=M[0]+D*(L[0]-M[0]),C[1]=M[1]+D*(L[1]-M[1]),C}function w(C,M,L){var D=M[0],P=M[1];return C[0]=L[0]*D+L[2]*P+L[4],C[1]=L[1]*D+L[3]*P+L[5],C}function A(C,M,L){return C[0]=Math.min(M[0],L[0]),C[1]=Math.min(M[1],L[1]),C}function T(C,M,L){return C[0]=Math.max(M[0],L[0]),C[1]=Math.max(M[1],L[1]),C}return Qt.create=t,Qt.copy=e,Qt.clone=a,Qt.set=i,Qt.add=n,Qt.scaleAndAdd=o,Qt.sub=s,Qt.len=l,Qt.length=u,Qt.lenSquare=v,Qt.lengthSquare=h,Qt.mul=f,Qt.div=c,Qt.dot=d,Qt.scale=p,Qt.normalize=g,Qt.distance=m,Qt.dist=y,Qt.distanceSquare=_,Qt.distSquare=x,Qt.negate=S,Qt.lerp=b,Qt.applyTransform=w,Qt.min=A,Qt.max=T,Qt}var t0,kk;function wpe(){if(kk)return t0;kk=1;function r(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}r.prototype={constructor:r,_dragStart:function(a){for(var i=a.target;i&&!i.draggable;)i=i.parent;i&&(this._draggingTarget=i,i.dragging=!0,this._x=a.offsetX,this._y=a.offsetY,this.dispatchToElement(t(i,a),"dragstart",a.event))},_drag:function(a){var i=this._draggingTarget;if(i){var n=a.offsetX,o=a.offsetY,s=n-this._x,l=o-this._y;this._x=n,this._y=o,i.drift(s,l,a),this.dispatchToElement(t(i,a),"drag",a.event);var u=this.findHover(n,o,i).target,v=this._dropTarget;this._dropTarget=u,i!==u&&(v&&u!==v&&this.dispatchToElement(t(v,a),"dragleave",a.event),u&&u!==v&&this.dispatchToElement(t(u,a),"dragenter",a.event))}},_dragEnd:function(a){var i=this._draggingTarget;i&&(i.dragging=!1),this.dispatchToElement(t(i,a),"dragend",a.event),this._dropTarget&&this.dispatchToElement(t(this._dropTarget,a),"drop",a.event),this._draggingTarget=null,this._dropTarget=null}};function t(a,i){return{target:a,topTarget:i&&i.topTarget}}var e=r;return t0=e,t0}var r0,Ok;function Ws(){if(Ok)return r0;Ok=1;var r=Array.prototype.slice,t=function(n){this._$handlers={},this._$eventProcessor=n};t.prototype={constructor:t,one:function(n,o,s,l){return a(this,n,o,s,l,!0)},on:function(n,o,s,l){return a(this,n,o,s,l,!1)},isSilent:function(n){var o=this._$handlers;return!o[n]||!o[n].length},off:function(n,o){var s=this._$handlers;if(!n)return this._$handlers={},this;if(o){if(s[n]){for(var l=[],u=0,v=s[n].length;u3&&(l=r.call(l,1));for(var v=o.length,h=0;h4&&(l=r.call(l,1,l.length-1));for(var v=l[l.length-1],h=o.length,f=0;f>1)%2;m.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",c[y]+":0",d[_]+":0",c[1-y]+":auto",d[1-_]+":auto",""].join("!important;"),v.appendChild(g),f.push(g)}return f}function l(v,h,f){for(var c=f?"invTrans":"trans",d=h[c],p=h.srcCoords,g=!0,m=[],y=[],_=0;_<4;_++){var x=v[_].getBoundingClientRect(),S=2*_,b=x.left,w=x.top;m.push(b,w),g=g&&p&&b===p[S]&&w===p[S+1],y.push(v[_].offsetLeft,v[_].offsetTop)}return g&&d?d:(h.srcCoords=m,h[c]=f?e(y,m):e(m,y))}function u(v){return v.nodeName.toUpperCase()==="CANVAS"}return uv.transformLocalCoord=n,uv.transformCoordWithViewport=o,uv.isCanvasEl=u,uv}var Bk;function Ji(){if(Bk)return ii;Bk=1;var r=Ws();ii.Dispatcher=r;var t=pr(),e=b9(),a=e.isCanvasEl,i=e.transformCoordWithViewport,n=typeof window<"u"&&!!window.addEventListener,o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,s=[];function l(m,y,_,x){return _=_||{},x||!t.canvasSupported?u(m,y,_):t.browser.firefox&&y.layerX!=null&&y.layerX!==y.offsetX?(_.zrX=y.layerX,_.zrY=y.layerY):y.offsetX!=null?(_.zrX=y.offsetX,_.zrY=y.offsetY):u(m,y,_),_}function u(m,y,_){if(t.domSupported&&m.getBoundingClientRect){var x=y.clientX,S=y.clientY;if(a(m)){var b=m.getBoundingClientRect();_.zrX=x-b.left,_.zrY=S-b.top;return}else if(i(s,m,x,S)){_.zrX=s[0],_.zrY=s[1];return}}_.zrX=_.zrY=0}function v(m){return m||window.event}function h(m,y,_){if(y=v(y),y.zrX!=null)return y;var x=y.type,S=x&&x.indexOf("touch")>=0;if(!S)l(m,y,y,_),y.zrDelta=y.wheelDelta?y.wheelDelta/120:-(y.detail||0)/3;else{var b=x!=="touchend"?y.targetTouches[0]:y.changedTouches[0];b&&l(m,b,y,_)}var w=y.button;return y.which==null&&w!==void 0&&o.test(y.type)&&(y.which=w&1?1:w&2?3:w&4?2:0),y}function f(m,y,_,x){n?m.addEventListener(y,_,x):m.attachEvent("on"+y,_)}function c(m,y,_,x){n?m.removeEventListener(y,_,x):m.detachEvent("on"+y,_)}var d=n?function(m){m.preventDefault(),m.stopPropagation(),m.cancelBubble=!0}:function(m){m.returnValue=!1,m.cancelBubble=!0};function p(m){return m.which===2||m.which===3}function g(m){return m.which>1}return ii.clientToLocal=l,ii.getNativeEvent=v,ii.normalizeEvent=h,ii.addEventListener=f,ii.removeEventListener=c,ii.stop=d,ii.isMiddleOrRightButtonOnMouseUpDown=p,ii.notLeftMouse=g,ii}var i0,Vk;function Ape(){if(Vk)return i0;Vk=1;var r=Ji(),t=function(){this._track=[]};t.prototype={constructor:t,recognize:function(o,s,l){return this._doTrack(o,s,l),this._recognize(o)},clear:function(){return this._track.length=0,this},_doTrack:function(o,s,l){var u=o.touches;if(u){for(var v={points:[],touches:[],target:s,event:o},h=0,f=u.length;h1&&u&&u.length>1){var h=e(u)/e(v);!isFinite(h)&&(h=1),s.pinchScale=h;var f=a(u);return s.pinchX=f[0],s.pinchY=f[1],{type:"pinch",target:o[0].target,event:s}}}}},n=t;return i0=n,i0}var n0,Gk;function Cpe(){if(Gk)return n0;Gk=1;var r=ie(),t=Jt(),e=wpe(),a=Ws(),i=Ji(),n=Ape(),o="silent";function s(p,g,m){return{type:p,event:m,target:g.target,topTarget:g.topTarget,cancelBubble:!1,offsetX:m.zrX,offsetY:m.zrY,gestureEvent:m.gestureEvent,pinchX:m.pinchX,pinchY:m.pinchY,pinchScale:m.pinchScale,wheelDelta:m.zrDelta,zrByTouch:m.zrByTouch,which:m.which,stop:l}}function l(){i.stop(this.event)}function u(){}u.prototype.dispose=function(){};var v=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],h=function(p,g,m,y){a.call(this),this.storage=p,this.painter=g,this.painterRoot=y,m=m||new u,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,e.call(this),this.setHandlerProxy(m)};h.prototype={constructor:h,setHandlerProxy:function(p){this.proxy&&this.proxy.dispose(),p&&(r.each(v,function(g){p.on&&p.on(g,this[g],this)},this),p.handler=this),this.proxy=p},mousemove:function(p){var g=p.zrX,m=p.zrY,y=c(this,g,m),_=this._hovered,x=_.target;x&&!x.__zr&&(_=this.findHover(_.x,_.y),x=_.target);var S=this._hovered=y?{x:g,y:m}:this.findHover(g,m),b=S.target,w=this.proxy;w.setCursor&&w.setCursor(b?b.cursor:"default"),x&&b!==x&&this.dispatchToElement(_,"mouseout",p),this.dispatchToElement(S,"mousemove",p),b&&b!==x&&this.dispatchToElement(S,"mouseover",p)},mouseout:function(p){var g=p.zrEventControl,m=p.zrIsToLocalDOM;g!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",p),g!=="no_globalout"&&!m&&this.trigger("globalout",{type:"globalout",event:p})},resize:function(p){this._hovered={}},dispatch:function(p,g){var m=this[p];m&&m.call(this,g)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(p){var g=this.proxy;g.setCursor&&g.setCursor(p)},dispatchToElement:function(p,g,m){p=p||{};var y=p.target;if(!(y&&y.silent)){for(var _="on"+g,x=s(g,p,m);y&&(y[_]&&(x.cancelBubble=y[_].call(y,x)),y.trigger(g,x),y=y.parent,!x.cancelBubble););x.cancelBubble||(this.trigger(g,x),this.painter&&this.painter.eachOtherLayer(function(S){typeof S[_]=="function"&&S[_].call(S,x),S.trigger&&S.trigger(g,x)}))}},findHover:function(p,g,m){for(var y=this.storage.getDisplayList(),_={x:p,y:g},x=y.length-1;x>=0;x--){var S;if(y[x]!==m&&!y[x].ignore&&(S=f(y[x],p,g))&&(!_.topTarget&&(_.topTarget=y[x]),S!==o)){_.target=y[x];break}}return _},processGesture:function(p,g){this._gestureMgr||(this._gestureMgr=new n);var m=this._gestureMgr;g==="start"&&m.clear();var y=m.recognize(p,this.findHover(p.zrX,p.zrY,null).target,this.proxy.dom);if(g==="end"&&m.clear(),y){var _=y.type;p.gestureEvent=_,this.dispatchToElement({target:y.target},_,y.event)}}},r.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(p){h.prototype[p]=function(g){var m=g.zrX,y=g.zrY,_=c(this,m,y),x,S;if((p!=="mouseup"||!_)&&(x=this.findHover(m,y),S=x.target),p==="mousedown")this._downEl=S,this._downPoint=[g.zrX,g.zrY],this._upEl=S;else if(p==="mouseup")this._upEl=S;else if(p==="click"){if(this._downEl!==this._upEl||!this._downPoint||t.dist(this._downPoint,[g.zrX,g.zrY])>4)return;this._downPoint=null}this.dispatchToElement(x,p,g)}});function f(p,g,m){if(p[p.rectHover?"rectContain":"contain"](g,m)){for(var y=p,_;y;){if(y.clipPath&&!y.clipPath.contain(g,m))return!1;y.silent&&(_=!0),y=y.parent}return _?o:!0}return!1}function c(p,g,m){var y=p.painter;return g<0||g>y.getWidth()||m<0||m>y.getHeight()}r.mixin(h,a),r.mixin(h,e);var d=h;return n0=d,n0}var ni={},Fk;function ha(){if(Fk)return ni;Fk=1;var r=typeof Float32Array>"u"?Array:Float32Array;function t(){var v=new r(6);return e(v),v}function e(v){return v[0]=1,v[1]=0,v[2]=0,v[3]=1,v[4]=0,v[5]=0,v}function a(v,h){return v[0]=h[0],v[1]=h[1],v[2]=h[2],v[3]=h[3],v[4]=h[4],v[5]=h[5],v}function i(v,h,f){var c=h[0]*f[0]+h[2]*f[1],d=h[1]*f[0]+h[3]*f[1],p=h[0]*f[2]+h[2]*f[3],g=h[1]*f[2]+h[3]*f[3],m=h[0]*f[4]+h[2]*f[5]+h[4],y=h[1]*f[4]+h[3]*f[5]+h[5];return v[0]=c,v[1]=d,v[2]=p,v[3]=g,v[4]=m,v[5]=y,v}function n(v,h,f){return v[0]=h[0],v[1]=h[1],v[2]=h[2],v[3]=h[3],v[4]=h[4]+f[0],v[5]=h[5]+f[1],v}function o(v,h,f){var c=h[0],d=h[2],p=h[4],g=h[1],m=h[3],y=h[5],_=Math.sin(f),x=Math.cos(f);return v[0]=c*x+g*_,v[1]=-c*_+g*x,v[2]=d*x+m*_,v[3]=-d*_+x*m,v[4]=x*p+_*y,v[5]=x*y-_*p,v}function s(v,h,f){var c=f[0],d=f[1];return v[0]=h[0]*c,v[1]=h[1]*d,v[2]=h[2]*c,v[3]=h[3]*d,v[4]=h[4]*c,v[5]=h[5]*d,v}function l(v,h){var f=h[0],c=h[2],d=h[4],p=h[1],g=h[3],m=h[5],y=f*g-p*c;return y?(y=1/y,v[0]=g*y,v[1]=-p*y,v[2]=-c*y,v[3]=f*y,v[4]=(c*m-g*d)*y,v[5]=(p*d-f*m)*y,v):null}function u(v){var h=t();return a(h,v),h}return ni.create=t,ni.identity=e,ni.copy=a,ni.mul=i,ni.translate=n,ni.rotate=o,ni.scale=s,ni.invert=l,ni.clone=u,ni}var o0,Hk;function og(){if(Hk)return o0;Hk=1;var r=ha(),t=Jt(),e=r.identity,a=5e-5;function i(h){return h>a||h<-a}var n=function(h){h=h||{},h.position||(this.position=[0,0]),h.rotation==null&&(this.rotation=0),h.scale||(this.scale=[1,1]),this.origin=this.origin||null},o=n.prototype;o.transform=null,o.needLocalTransform=function(){return i(this.rotation)||i(this.position[0])||i(this.position[1])||i(this.scale[0]-1)||i(this.scale[1]-1)};var s=[];o.updateTransform=function(){var h=this.parent,f=h&&h.transform,c=this.needLocalTransform(),d=this.transform;if(!(c||f)){d&&e(d);return}d=d||r.create(),c?this.getLocalTransform(d):e(d),f&&(c?r.mul(d,h.transform,d):r.copy(d,h.transform)),this.transform=d;var p=this.globalScaleRatio;if(p!=null&&p!==1){this.getGlobalScale(s);var g=s[0]<0?-1:1,m=s[1]<0?-1:1,y=((s[0]-g)*p+g)/s[0]||0,_=((s[1]-m)*p+m)/s[1]||0;d[0]*=y,d[1]*=y,d[2]*=_,d[3]*=_}this.invTransform=this.invTransform||r.create(),r.invert(this.invTransform,d)},o.getLocalTransform=function(h){return n.getLocalTransform(this,h)},o.setTransform=function(h){var f=this.transform,c=h.dpr||1;f?h.setTransform(c*f[0],c*f[1],c*f[2],c*f[3],c*f[4],c*f[5]):h.setTransform(c,0,0,c,0,0)},o.restoreTransform=function(h){var f=h.dpr||1;h.setTransform(f,0,0,f,0,0)};var l=[],u=r.create();o.setLocalTransform=function(h){if(h){var f=h[0]*h[0]+h[1]*h[1],c=h[2]*h[2]+h[3]*h[3],d=this.position,p=this.scale;i(f-1)&&(f=Math.sqrt(f)),i(c-1)&&(c=Math.sqrt(c)),h[0]<0&&(f=-f),h[3]<0&&(c=-c),d[0]=h[4],d[1]=h[5],p[0]=f,p[1]=c,this.rotation=Math.atan2(-h[1]/c,h[0]/f)}},o.decomposeTransform=function(){if(this.transform){var h=this.parent,f=this.transform;h&&h.transform&&(r.mul(l,h.invTransform,f),f=l);var c=this.origin;c&&(c[0]||c[1])&&(u[4]=c[0],u[5]=c[1],r.mul(l,f,u),l[4]-=c[0],l[5]-=c[1],f=l),this.setLocalTransform(f)}},o.getGlobalScale=function(h){var f=this.transform;return h=h||[],f?(h[0]=Math.sqrt(f[0]*f[0]+f[1]*f[1]),h[1]=Math.sqrt(f[2]*f[2]+f[3]*f[3]),f[0]<0&&(h[0]=-h[0]),f[3]<0&&(h[1]=-h[1]),h):(h[0]=1,h[1]=1,h)},o.transformCoordToLocal=function(h,f){var c=[h,f],d=this.invTransform;return d&&t.applyTransform(c,c,d),c},o.transformCoordToGlobal=function(h,f){var c=[h,f],d=this.transform;return d&&t.applyTransform(c,c,d),c},n.getLocalTransform=function(h,f){f=f||[],e(f);var c=h.origin,d=h.scale||[1,1],p=h.rotation||0,g=h.position||[0,0];return c&&(f[4]-=c[0],f[5]-=c[1]),r.scale(f,f,d),p&&r.rotate(f,f,p),c&&(f[4]+=c[0],f[5]+=c[1]),f[4]+=g[0],f[5]+=g[1],f};var v=n;return o0=v,o0}var s0,qk;function Mpe(){if(qk)return s0;qk=1;var r={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return .5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return e===0?0:Math.pow(1024,e-1)},exponentialOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var a,i=.1,n=.4;return e===0?0:e===1?1:(!i||i<1?(i=1,a=n/4):a=n*Math.asin(1/i)/(2*Math.PI),-(i*Math.pow(2,10*(e-=1))*Math.sin((e-a)*(2*Math.PI)/n)))},elasticOut:function(e){var a,i=.1,n=.4;return e===0?0:e===1?1:(!i||i<1?(i=1,a=n/4):a=n*Math.asin(1/i)/(2*Math.PI),i*Math.pow(2,-10*e)*Math.sin((e-a)*(2*Math.PI)/n)+1)},elasticInOut:function(e){var a,i=.1,n=.4;return e===0?0:e===1?1:(!i||i<1?(i=1,a=n/4):a=n*Math.asin(1/i)/(2*Math.PI),(e*=2)<1?-.5*(i*Math.pow(2,10*(e-=1))*Math.sin((e-a)*(2*Math.PI)/n)):i*Math.pow(2,-10*(e-=1))*Math.sin((e-a)*(2*Math.PI)/n)*.5+1)},backIn:function(e){var a=1.70158;return e*e*((a+1)*e-a)},backOut:function(e){var a=1.70158;return--e*e*((a+1)*e+a)+1},backInOut:function(e){var a=2.5949095;return(e*=2)<1?.5*(e*e*((a+1)*e-a)):.5*((e-=2)*e*((a+1)*e+a)+2)},bounceIn:function(e){return 1-r.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?r.bounceIn(e*2)*.5:r.bounceOut(e*2-1)*.5+.5}},t=r;return s0=t,s0}var l0,Wk;function Dpe(){if(Wk)return l0;Wk=1;var r=Mpe();function t(a){this._target=a.target,this._life=a.life||1e3,this._delay=a.delay||0,this._initialized=!1,this.loop=a.loop==null?!1:a.loop,this.gap=a.gap||0,this.easing=a.easing||"Linear",this.onframe=a.onframe,this.ondestroy=a.ondestroy,this.onrestart=a.onrestart,this._pausedTime=0,this._paused=!1}t.prototype={constructor:t,step:function(a,i){if(this._initialized||(this._startTime=a+this._delay,this._initialized=!0),this._paused){this._pausedTime+=i;return}var n=(a-this._startTime-this._pausedTime)/this._life;if(!(n<0)){n=Math.min(n,1);var o=this.easing,s=typeof o=="string"?r[o]:o,l=typeof s=="function"?s(n):n;return this.fire("frame",l),n===1?this.loop?(this.restart(a),"restart"):(this._needsRemove=!0,"destroy"):null}},restart:function(a){var i=(a-this._startTime-this._pausedTime)%this._life;this._startTime=a-i+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(a,i){a="on"+a,this[a]&&this[a](this._target,i)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var e=t;return l0=e,l0}var Oa={},u0,Uk;function w9(){if(Uk)return u0;Uk=1;var r=function(){this.head=null,this.tail=null,this._len=0},t=r.prototype;t.insert=function(o){var s=new e(o);return this.insertEntry(s),s},t.insertEntry=function(o){this.head?(this.tail.next=o,o.prev=this.tail,o.next=null,this.tail=o):this.head=this.tail=o,this._len++},t.remove=function(o){var s=o.prev,l=o.next;s?s.next=l:this.head=l,l?l.prev=s:this.tail=s,o.next=o.prev=null,this._len--},t.len=function(){return this._len},t.clear=function(){this.head=this.tail=null,this._len=0};var e=function(o){this.value=o,this.next,this.prev},a=function(o){this._list=new r,this._map={},this._maxSize=o||10,this._lastRemovedEntry=null},i=a.prototype;i.put=function(o,s){var l=this._list,u=this._map,v=null;if(u[o]==null){var h=l.len(),f=this._lastRemovedEntry;if(h>=this._maxSize&&h>0){var c=l.head;l.remove(c),delete u[c.key],v=c.value,this._lastRemovedEntry=c}f?f.value=s:f=new e(s),f.key=o,l.insertEntry(f),u[o]=f}return v},i.get=function(o){var s=this._map[o],l=this._list;if(s!=null)return s!==l.tail&&(l.remove(s),l.insertEntry(s)),s.value},i.clear=function(){this._list.clear(),this._map={}};var n=a;return u0=n,u0}var $k;function en(){if($k)return Oa;$k=1;var r=w9(),t={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function e(C){return C=Math.round(C),C<0?0:C>255?255:C}function a(C){return C=Math.round(C),C<0?0:C>360?360:C}function i(C){return C<0?0:C>1?1:C}function n(C){return C.length&&C.charAt(C.length-1)==="%"?e(parseFloat(C)/100*255):e(parseInt(C,10))}function o(C){return C.length&&C.charAt(C.length-1)==="%"?i(parseFloat(C)/100):i(parseFloat(C))}function s(C,M,L){return L<0?L+=1:L>1&&(L-=1),L*6<1?C+(M-C)*L*6:L*2<1?M:L*3<2?C+(M-C)*(2/3-L)*6:C}function l(C,M,L){return C+(M-C)*L}function u(C,M,L,D,P){return C[0]=M,C[1]=L,C[2]=D,C[3]=P,C}function v(C,M){return C[0]=M[0],C[1]=M[1],C[2]=M[2],C[3]=M[3],C}var h=new r(20),f=null;function c(C,M){f&&v(f,M),f=h.put(C,f||M.slice())}function d(C,M){if(C){M=M||[];var L=h.get(C);if(L)return v(M,L);C=C+"";var D=C.replace(/ /g,"").toLowerCase();if(D in t)return v(M,t[D]),c(C,M),M;if(D.charAt(0)==="#"){if(D.length===4){var P=parseInt(D.substr(1),16);if(!(P>=0&&P<=4095)){u(M,0,0,0,1);return}return u(M,(P&3840)>>4|(P&3840)>>8,P&240|(P&240)>>4,P&15|(P&15)<<4,1),c(C,M),M}else if(D.length===7){var P=parseInt(D.substr(1),16);if(!(P>=0&&P<=16777215)){u(M,0,0,0,1);return}return u(M,(P&16711680)>>16,(P&65280)>>8,P&255,1),c(C,M),M}return}var I=D.indexOf("("),R=D.indexOf(")");if(I!==-1&&R+1===D.length){var E=D.substr(0,I),k=D.substr(I+1,R-(I+1)).split(","),B=1;switch(E){case"rgba":if(k.length!==4){u(M,0,0,0,1);return}B=o(k.pop());case"rgb":if(k.length!==3){u(M,0,0,0,1);return}return u(M,n(k[0]),n(k[1]),n(k[2]),B),c(C,M),M;case"hsla":if(k.length!==4){u(M,0,0,0,1);return}return k[3]=o(k[3]),p(k,M),c(C,M),M;case"hsl":if(k.length!==3){u(M,0,0,0,1);return}return p(k,M),c(C,M),M;default:return}}u(M,0,0,0,1)}}function p(C,M){var L=(parseFloat(C[0])%360+360)%360/360,D=o(C[1]),P=o(C[2]),I=P<=.5?P*(D+1):P+D-P*D,R=P*2-I;return M=M||[],u(M,e(s(R,I,L+1/3)*255),e(s(R,I,L)*255),e(s(R,I,L-1/3)*255),1),C.length===4&&(M[3]=C[3]),M}function g(C){if(C){var M=C[0]/255,L=C[1]/255,D=C[2]/255,P=Math.min(M,L,D),I=Math.max(M,L,D),R=I-P,E=(I+P)/2,k,B;if(R===0)k=0,B=0;else{E<.5?B=R/(I+P):B=R/(2-I-P);var F=((I-M)/6+R/2)/R,V=((I-L)/6+R/2)/R,N=((I-D)/6+R/2)/R;M===I?k=N-V:L===I?k=1/3+F-N:D===I&&(k=2/3+V-F),k<0&&(k+=1),k>1&&(k-=1)}var O=[k*360,B,E];return C[3]!=null&&O.push(C[3]),O}}function m(C,M){var L=d(C);if(L){for(var D=0;D<3;D++)M<0?L[D]=L[D]*(1-M)|0:L[D]=(255-L[D])*M+L[D]|0,L[D]>255?L[D]=255:C[D]<0&&(L[D]=0);return T(L,L.length===4?"rgba":"rgb")}}function y(C){var M=d(C);if(M)return((1<<24)+(M[0]<<16)+(M[1]<<8)+ +M[2]).toString(16).slice(1)}function _(C,M,L){if(!(!(M&&M.length)||!(C>=0&&C<=1))){L=L||[];var D=C*(M.length-1),P=Math.floor(D),I=Math.ceil(D),R=M[P],E=M[I],k=D-P;return L[0]=e(l(R[0],E[0],k)),L[1]=e(l(R[1],E[1],k)),L[2]=e(l(R[2],E[2],k)),L[3]=i(l(R[3],E[3],k)),L}}var x=_;function S(C,M,L){if(!(!(M&&M.length)||!(C>=0&&C<=1))){var D=C*(M.length-1),P=Math.floor(D),I=Math.ceil(D),R=d(M[P]),E=d(M[I]),k=D-P,B=T([e(l(R[0],E[0],k)),e(l(R[1],E[1],k)),e(l(R[2],E[2],k)),i(l(R[3],E[3],k))],"rgba");return L?{color:B,leftIndex:P,rightIndex:I,value:D}:B}}var b=S;function w(C,M,L,D){if(C=d(C),C)return C=g(C),M!=null&&(C[0]=a(M)),L!=null&&(C[1]=o(L)),D!=null&&(C[2]=o(D)),T(p(C),"rgba")}function A(C,M){if(C=d(C),C&&M!=null)return C[3]=i(M),T(C,"rgba")}function T(C,M){if(!(!C||!C.length)){var L=C[0]+","+C[1]+","+C[2];return(M==="rgba"||M==="hsva"||M==="hsla")&&(L+=","+C[3]),M+"("+L+")"}}return Oa.parse=d,Oa.lift=m,Oa.toHex=y,Oa.fastLerp=_,Oa.fastMapToColor=x,Oa.lerp=S,Oa.mapToColor=b,Oa.modifyHSL=w,Oa.modifyAlpha=A,Oa.stringify=T,Oa}var v0,Yk;function T9(){if(Yk)return v0;Yk=1;var r=Dpe(),t=en(),e=ie(),a=e.isArrayLike,i=Array.prototype.slice;function n(x,S){return x[S]}function o(x,S,b){x[S]=b}function s(x,S,b){return(S-x)*b+x}function l(x,S,b){return b>.5?S:x}function u(x,S,b,w,A){var T=x.length;if(A===1)for(var C=0;CA;if(T)x.length=A;else for(var C=w;C=0&&!(F[se]<=fe);se--);se=Math.min(se,D-2)}else{for(se=U;sefe);se++);se=Math.min(se-1,D-2)}U=se,W=fe;var ve=F[se+1]-F[se];if(ve!==0)if(X=(fe-F[se])/ve,L)if(Q=V[se],K=V[se===0?se:se-1],j=V[se>D-2?D-1:se+1],te=V[se>D-3?D-1:se+2],I)f(K,Q,j,te,X,X*X,X*X*X,C(oe,A),k);else{var ye;if(R)ye=f(K,Q,j,te,X,X*X,X*X*X,Z,1),ye=p(Z);else{if(E)return l(Q,j,X);ye=c(K,Q,j,te,X,X*X,X*X*X)}M(oe,A,ye)}else if(I)u(V[se],V[se+1],X,C(oe,A),k);else{var ye;if(R)u(V[se],V[se+1],X,Z,1),ye=p(Z);else{if(E)return l(V[se],V[se+1],X);ye=s(V[se],V[se+1],X)}M(oe,A,ye)}},le=new r({target:x._target,life:B,loop:x._loop,delay:x._delay,onframe:ee,ondestroy:b});return S&&S!=="spline"&&(le.easing=S),le}}}var y=function(x,S,b,w){this._tracks={},this._target=x,this._loop=S||!1,this._getter=b||n,this._setter=w||o,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};y.prototype={when:function(x,S){var b=this._tracks;for(var w in S)if(S.hasOwnProperty(w)){if(!b[w]){b[w]=[];var A=this._getter(this._target,w);if(A==null)continue;x!==0&&b[w].push({time:0,value:d(A)})}b[w].push({time:x,value:S[w]})}return this},during:function(x){return this._onframeList.push(x),this},pause:function(){for(var x=0;x0&&c.animate(d,!1).when(m==null?500:m,x).delay(y||0)}function h(c,d,p,g){if(!d)c.attr(p,g);else{var m={};m[d]={},m[d][p]=g,c.attr(m)}}var f=l;return f0=f,f0}var c0,Qk;function A9(){if(Qk)return c0;Qk=1;var r=S9(),t=Ws(),e=og(),a=Lpe(),i=ie(),n=function(s){e.call(this,s),t.call(this,s),a.call(this,s),this.id=s.id||r()};n.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(s,l){switch(this.draggable){case"horizontal":l=0;break;case"vertical":s=0;break}var u=this.transform;u||(u=this.transform=[1,0,0,1,0,0]),u[4]+=s,u[5]+=l,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(s,l){},attrKV:function(s,l){if(s==="position"||s==="scale"||s==="origin"){if(l){var u=this[s];u||(u=this[s]=[]),u[0]=l[0],u[1]=l[1]}}else this[s]=l},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(s,l){if(typeof s=="string")this.attrKV(s,l);else if(i.isObject(s))for(var u in s)s.hasOwnProperty(u)&&this.attrKV(u,s[u]);return this.dirty(!1),this},setClipPath:function(s){var l=this.__zr;l&&s.addSelfToZr(l),this.clipPath&&this.clipPath!==s&&this.removeClipPath(),this.clipPath=s,s.__zr=l,s.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var s=this.clipPath;s&&(s.__zr&&s.removeSelfFromZr(s.__zr),s.__zr=null,s.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(s){this.__zr=s;var l=this.animators;if(l)for(var u=0;u=u.x&&s<=u.x+u.width&&l>=u.y&&l<=u.y+u.height},clone:function(){return new n(this.x,this.y,this.width,this.height)},copy:function(s){this.x=s.x,this.y=s.y,this.width=s.width,this.height=s.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},n.create=function(s){return new n(s.x,s.y,s.width,s.height)};var o=n;return d0=o,d0}var p0,Jk;function Us(){if(Jk)return p0;Jk=1;var r=ie(),t=A9(),e=rr(),a=function(n){n=n||{},t.call(this,n);for(var o in n)n.hasOwnProperty(o)&&(this[o]=n[o]);this._children=[],this.__storage=null,this.__dirty=!0};a.prototype={constructor:a,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(n){return this._children[n]},childOfName:function(n){for(var o=this._children,s=0;s=0&&(s.splice(l,0,n),this._doAdd(n))}return this},_doAdd:function(n){n.parent&&n.parent.remove(n),n.parent=this;var o=this.__storage,s=this.__zr;o&&o!==n.__storage&&(o.addToStorage(n),n instanceof a&&n.addChildrenToStorage(o)),s&&s.refresh()},remove:function(n){var o=this.__zr,s=this.__storage,l=this._children,u=r.indexOf(l,n);return u<0?this:(l.splice(u,1),n.parent=null,s&&(s.delFromStorage(n),n instanceof a&&n.delChildrenFromStorage(s)),o&&o.refresh(),this)},removeAll:function(){var n=this._children,o=this.__storage,s,l;for(l=0;l=r;)h|=v&1,v>>=1;return v+h}function a(v,h,f,c){var d=h+1;if(d===f)return 1;if(c(v[d++],v[h])<0){for(;d=0;)d++;return d-h}function i(v,h,f){for(f--;h>>1,d(p,v[y])<0?m=y:g=y+1;var _=c-g;switch(_){case 3:v[g+3]=v[g+2];case 2:v[g+2]=v[g+1];case 1:v[g+1]=v[g];break;default:for(;_>0;)v[g+_]=v[g+_-1],_--}v[g]=p}}function o(v,h,f,c,d,p){var g=0,m=0,y=1;if(p(v,h[f+d])>0){for(m=c-d;y0;)g=y,y=(y<<1)+1,y<=0&&(y=m);y>m&&(y=m),g+=d,y+=d}else{for(m=d+1;ym&&(y=m);var _=g;g=d-y,y=d-_}for(g++;g>>1);p(v,h[f+x])>0?g=x+1:y=x}return y}function s(v,h,f,c,d,p){var g=0,m=0,y=1;if(p(v,h[f+d])<0){for(m=d+1;ym&&(y=m);var _=g;g=d-y,y=d-_}else{for(m=c-d;y=0;)g=y,y=(y<<1)+1,y<=0&&(y=m);y>m&&(y=m),g+=d,y+=d}for(g++;g>>1);p(v,h[f+x])<0?y=x:g=x+1}return y}function l(v,h){var f=t,c,d,p=0;v.length;var g=[];c=[],d=[];function m(w,A){c[p]=w,d[p]=A,p+=1}function y(){for(;p>1;){var w=p-2;if(w>=1&&d[w-1]<=d[w]+d[w+1]||w>=2&&d[w-2]<=d[w]+d[w-1])d[w-1]d[w+1])break;x(w)}}function _(){for(;p>1;){var w=p-2;w>0&&d[w-1]=t||E>=t);if(k)break;I<0&&(I=0),I+=2}if(f=I,f<1&&(f=1),A===1){for(M=0;M=0;M--)v[R+M]=v[I+M];v[P]=g[D];return}for(var E=f;;){var k=0,B=0,F=!1;do if(h(g[D],v[L])<0){if(v[P--]=v[L--],k++,B=0,--A===0){F=!0;break}}else if(v[P--]=g[D--],B++,k=0,--C===1){F=!0;break}while((k|B)=0;M--)v[R+M]=v[I+M];if(A===0){F=!0;break}}if(v[P--]=g[D--],--C===1){F=!0;break}if(B=C-o(v[L],g,0,C,C-1,h),B!==0){for(P-=B,D-=B,C-=B,R=P+1,I=D+1,M=0;M=t||B>=t);if(F)break;E<0&&(E=0),E+=2}if(f=E,f<1&&(f=1),C===1){for(P-=A,L-=A,R=P+1,I=L+1,M=A-1;M>=0;M--)v[R+M]=v[I+M];v[P]=g[D]}else{if(C===0)throw new Error;for(I=P-(C-1),M=0;Mm&&(y=m),n(v,f,f+y,f+p,h),p=y}g.pushRun(f,p),g.mergeRuns(),d-=p,f+=p}while(d!==0);g.forceMergeRuns()}}return g0=u,g0}var m0,tO;function Ipe(){if(tO)return m0;tO=1;var r=ie(),t=pr(),e=Us(),a=KM();function i(s,l){return s.zlevel===l.zlevel?s.z===l.z?s.z2-l.z2:s.z-l.z:s.zlevel-l.zlevel}var n=function(){this._roots=[],this._displayList=[],this._displayListLen=0};n.prototype={constructor:n,traverse:function(s,l){for(var u=0;u=0&&(this.delFromStorage(s),this._roots.splice(h,1),s instanceof e&&s.delChildrenFromStorage(this))},addToStorage:function(s){return s&&(s.__storage=this,s.dirty(!1)),this},delFromStorage:function(s){return s&&(s.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:i};var o=n;return m0=o,m0}var y0,rO;function C9(){if(rO)return y0;rO=1;var r={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function t(e,a,i){return r.hasOwnProperty(a)?i*=e.dpr:i}return y0=t,y0}var Mc={},aO;function lg(){if(aO)return Mc;aO=1;var r={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},t=9;return Mc.ContextCachedBy=r,Mc.WILL_BE_RESTORED=t,Mc}var _0,iO;function QM(){if(iO)return _0;iO=1;var r=C9(),t=lg(),e=t.ContextCachedBy,a=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],i=function(h){this.extendFrom(h,!1)};function n(h,f,c){var d=f.x==null?0:f.x,p=f.x2==null?1:f.x2,g=f.y==null?0:f.y,m=f.y2==null?0:f.y2;f.global||(d=d*c.width+c.x,p=p*c.width+c.x,g=g*c.height+c.y,m=m*c.height+c.y),d=isNaN(d)?0:d,p=isNaN(p)?1:p,g=isNaN(g)?0:g,m=isNaN(m)?0:m;var y=h.createLinearGradient(d,g,p,m);return y}function o(h,f,c){var d=c.width,p=c.height,g=Math.min(d,p),m=f.x==null?.5:f.x,y=f.y==null?.5:f.y,_=f.r==null?.5:f.r;f.global||(m=m*d+c.x,y=y*p+c.y,_=_*g);var x=h.createRadialGradient(m,y,0,m,y,_);return x}i.prototype={constructor:i,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(h,f,c){var d=this,p=c&&c.style,g=!p||h.__attrCachedBy!==e.STYLE_BIND;h.__attrCachedBy=e.STYLE_BIND;for(var m=0;m0},extendFrom:function(h,f){if(h)for(var c in h)h.hasOwnProperty(c)&&(f===!0||(f===!1?!this.hasOwnProperty(c):h[c]!=null))&&(this[c]=h[c])},set:function(h,f){typeof h=="string"?this[h]=f:this.extendFrom(h,!0)},clone:function(){var h=new this.constructor;return h.extendFrom(this,!0),h},getGradient:function(h,f,c){for(var d=f.type==="radial"?o:n,p=d(h,f,c),g=f.colorStops,m=0;mv&&(u=0,l={}),u++,l[B]=V,V}function g(E,k,B,F,V,N,O,z){return O?y(E,k,B,F,V,N,O,z):m(E,k,B,F,V,N,z)}function m(E,k,B,F,V,N,O){var z=D(E,k,V,N,O),G=p(E,k);V&&(G+=V[1]+V[3]);var q=z.outerHeight,H=_(0,G,B),U=x(0,q,F),W=new r(H,U,G,q);return W.lineHeight=z.lineHeight,W}function y(E,k,B,F,V,N,O,z){var G=P(E,{rich:O,truncate:z,font:k,textAlign:B,textPadding:V,textLineHeight:N}),q=G.outerWidth,H=G.outerHeight,U=_(0,q,B),W=x(0,H,F);return new r(U,W,q,H)}function _(E,k,B){return B==="right"?E-=k:B==="center"&&(E-=k/2),E}function x(E,k,B){return B==="middle"?E-=k/2:B==="bottom"&&(E-=k),E}function S(E,k,B){var F=k.textPosition,V=k.textDistance,N=B.x,O=B.y;V=V||0;var z=B.height,G=B.width,q=z/2,H="left",U="top";switch(F){case"left":N-=V,O+=q,H="right",U="middle";break;case"right":N+=V+G,O+=q,U="middle";break;case"top":N+=G/2,O-=V,H="center",U="bottom";break;case"bottom":N+=G/2,O+=z+V,H="center";break;case"inside":N+=G/2,O+=q,H="center",U="middle";break;case"insideLeft":N+=V,O+=q,U="middle";break;case"insideRight":N+=G-V,O+=q,H="right",U="middle";break;case"insideTop":N+=G/2,O+=V,H="center";break;case"insideBottom":N+=G/2,O+=z-V,H="center",U="bottom";break;case"insideTopLeft":N+=V,O+=V;break;case"insideTopRight":N+=G-V,O+=V,H="right";break;case"insideBottomLeft":N+=V,O+=z-V,U="bottom";break;case"insideBottomRight":N+=G-V,O+=z-V,H="right",U="bottom";break}return E=E||{},E.x=N,E.y=O,E.textAlign=H,E.textVerticalAlign=U,E}function b(E,k,B){var F={textPosition:E,textDistance:B};return S({},F,k)}function w(E,k,B,F,V){if(!k)return"";var N=(E+"").split("\n");V=A(k,B,F,V);for(var O=0,z=N.length;O=O;G++)z-=O;var q=p(V,k);return q>z&&(V="",q=0),z=E-q,F.ellipsis=V,F.ellipsisWidth=q,F.contentWidth=z,F.containerWidth=E,F}function T(E,k){var B=k.containerWidth,F=k.font,V=k.contentWidth;if(!B)return"";var N=p(E,F);if(N<=B)return E;for(var O=0;;O++){if(N<=V||O>=k.maxIterations){E+=k.ellipsis;break}var z=O===0?C(E,V,k.ascCharWidth,k.cnCharWidth):N>0?Math.floor(E.length*V/N):0;E=E.substr(0,z),N=p(E,F)}return E===""&&(E=k.placeholder),E}function C(E,k,B,F){for(var V=0,N=0,O=E.length;NH)E="",O=[];else if(U!=null)for(var W=A(U-(B?B[1]+B[3]:0),k,V.ellipsis,{minChar:V.minChar,placeholder:V.placeholder}),Y=0,X=O.length;YF&&I(B,E.substring(F,N)),I(B,V[2],V[1]),F=h.lastIndex}FY)return{lines:[],width:0,height:0};Z.textWidth=p(Z.text,oe);var se=ee.textWidth,ve=se==null||se==="auto";if(typeof se=="string"&&se.charAt(se.length-1)==="%")Z.percentWidth=se,q.push(Z),se=0;else{if(ve){se=Z.textWidth;var ye=ee.textBackgroundColor,Me=ye&&ye.image;Me&&(Me=t.findExistImage(Me),t.isImageReady(Me)&&(se=Math.max(se,Me.width*fe/Me.height)))}var J=le?le[1]+le[3]:0;se+=J;var ne=W!=null?W-j:null;ne!=null&&nen&&(f=l+u,l*=n/f,u*=n/f),v+h>n&&(f=v+h,v*=n/f,h*=n/f),u+v>o&&(f=u+v,u*=o/f,v*=o/f),l+h>o&&(f=l+h,l*=o/f,h*=o/f),t.moveTo(a+l,i),t.lineTo(a+n-u,i),u!==0&&t.arc(a+n-u,i+u,u,-Math.PI/2,0),t.lineTo(a+n,i+o-v),v!==0&&t.arc(a+n-v,i+o-v,v,0,Math.PI/2),t.lineTo(a+h,i+o),h!==0&&t.arc(a+h,i+o-h,h,Math.PI/2,Math.PI),t.lineTo(a,i+l),l!==0&&t.arc(a+l,i+l,l,Math.PI,Math.PI*1.5)}return w0.buildPath=r,w0}var hO;function ug(){if(hO)return ln;hO=1;var r=ie(),t=r.retrieve2,e=r.retrieve3,a=r.each,i=r.normalizeCssArray,n=r.isString,o=r.isObject,s=Da(),l=L9(),u=jM(),v=C9(),h=lg(),f=h.ContextCachedBy,c=h.WILL_BE_RESTORED,d=s.DEFAULT_FONT,p={left:1,right:1,center:1},g={top:1,bottom:1,middle:1},m=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],y={},_={};function x(N){return S(N),a(N.rich,S),N}function S(N){if(N){N.font=s.makeFont(N);var O=N.textAlign;O==="middle"&&(O="center"),N.textAlign=O==null||p[O]?O:"left";var z=N.textVerticalAlign||N.textBaseline;z==="center"&&(z="middle"),N.textVerticalAlign=z==null||g[z]?z:"top";var G=N.textPadding;G&&(N.textPadding=i(N.textPadding))}}function b(N,O,z,G,q,H){G.rich?A(N,O,z,G,q,H):w(N,O,z,G,q,H)}function w(N,O,z,G,q,H){var U=L(G),W,Y=!1,X=O.__attrCachedBy===f.PLAIN_TEXT;H!==c?(H&&(W=H.style,Y=!U&&X&&W),O.__attrCachedBy=U?f.NONE:f.PLAIN_TEXT):X&&(O.__attrCachedBy=f.NONE);var K=G.font||d;(!Y||K!==(W.font||d))&&(O.font=K);var Q=N.__computedFont;N.__styleFont!==K&&(N.__styleFont=K,Q=N.__computedFont=O.font);var j=G.textPadding,te=G.textLineHeight,Z=N.__textCotentBlock;(!Z||N.__dirtyText)&&(Z=N.__textCotentBlock=s.parsePlainText(z,Q,j,te,G.truncate));var ee=Z.outerHeight,le=Z.lines,oe=Z.lineHeight,fe=I(_,N,G,q),se=fe.baseX,ve=fe.baseY,ye=fe.textAlign||"left",Me=fe.textVerticalAlign;C(O,G,q,se,ve);var J=s.adjustTextY(ve,ee,Me),ne=se,ue=J;if(U||j){var me=s.getWidth(z,Q),xe=me;j&&(xe+=j[1]+j[3]);var ge=s.adjustTextX(se,xe,ye);U&&D(N,O,G,ge,J,xe,ee),j&&(ne=F(se,ye,j),ue+=j[0])}O.textAlign=ye,O.textBaseline="middle",O.globalAlpha=G.opacity||1;for(var pe=0;pe=0&&(pe=ye[ge],pe.textAlign==="right");)M(N,O,pe,G,J,oe,xe,"right"),ne-=pe.width,xe-=pe.width,ge--;for(me+=(H-(me-le)-(fe-xe)-ne)/2;ue<=ge;)pe=ye[ue],M(N,O,pe,G,J,oe,me+pe.width/2,"center"),me+=pe.width,ue++;oe+=J}}function C(N,O,z,G,q){if(z&&O.textRotation){var H=O.textOrigin;H==="center"?(G=z.width/2+z.x,q=z.height/2+z.y):H&&(G=H[0]+z.x,q=H[1]+z.y),N.translate(G,q),N.rotate(-O.textRotation),N.translate(-G,-q)}}function M(N,O,z,G,q,H,U,W){var Y=G.rich[z.styleName]||{};Y.text=z.text;var X=z.textVerticalAlign,K=H+q/2;X==="top"?K=H+z.height/2:X==="bottom"&&(K=H+q-z.height/2),!z.isLineHolder&&L(Y)&&D(N,O,Y,W==="right"?U-z.width:W==="center"?U-z.width/2:U,K-z.height/2,z.width,z.height);var Q=z.textPadding;Q&&(U=F(U,W,Q),K-=z.height/2-Q[2]-z.textHeight/2),R(O,"shadowBlur",e(Y.textShadowBlur,G.textShadowBlur,0)),R(O,"shadowColor",Y.textShadowColor||G.textShadowColor||"transparent"),R(O,"shadowOffsetX",e(Y.textShadowOffsetX,G.textShadowOffsetX,0)),R(O,"shadowOffsetY",e(Y.textShadowOffsetY,G.textShadowOffsetY,0)),R(O,"textAlign",W),R(O,"textBaseline","middle"),R(O,"font",z.font||d);var j=E(Y.textStroke||G.textStroke,Z),te=k(Y.textFill||G.textFill),Z=t(Y.textStrokeWidth,G.textStrokeWidth);j&&(R(O,"lineWidth",Z),R(O,"strokeStyle",j),O.strokeText(z.text,U,K)),te&&(R(O,"fillStyle",te),O.fillText(z.text,U,K))}function L(N){return!!(N.textBackgroundColor||N.textBorderWidth&&N.textBorderColor)}function D(N,O,z,G,q,H,U){var W=z.textBackgroundColor,Y=z.textBorderWidth,X=z.textBorderColor,K=n(W);if(R(O,"shadowBlur",z.textBoxShadowBlur||0),R(O,"shadowColor",z.textBoxShadowColor||"transparent"),R(O,"shadowOffsetX",z.textBoxShadowOffsetX||0),R(O,"shadowOffsetY",z.textBoxShadowOffsetY||0),K||Y&&X){O.beginPath();var Q=z.textBorderRadius;Q?l.buildPath(O,{x:G,y:q,width:H,height:U,r:Q}):O.rect(G,q,H,U),O.closePath()}if(K)if(R(O,"fillStyle",W),z.fillOpacity!=null){var j=O.globalAlpha;O.globalAlpha=z.fillOpacity*z.opacity,O.fill(),O.globalAlpha=j}else O.fill();else if(o(W)){var te=W.image;te=u.createOrUpdateImage(te,null,N,P,W),te&&u.isImageReady(te)&&O.drawImage(te,G,q,H,U)}if(Y&&X)if(R(O,"lineWidth",Y),R(O,"strokeStyle",X),z.strokeOpacity!=null){var j=O.globalAlpha;O.globalAlpha=z.strokeOpacity*z.opacity,O.stroke(),O.globalAlpha=j}else O.stroke()}function P(N,O){O.image=N}function I(N,O,z,G){var q=z.x||0,H=z.y||0,U=z.textAlign,W=z.textVerticalAlign;if(G){var Y=z.textPosition;if(Y instanceof Array)q=G.x+B(Y[0],G.width),H=G.y+B(Y[1],G.height);else{var X=O&&O.calculateTextPosition?O.calculateTextPosition(y,z,G):s.calculateTextPosition(y,z,G);q=X.x,H=X.y,U=U||X.textAlign,W=W||X.textVerticalAlign}var K=z.textOffset;K&&(q+=K[0],H+=K[1])}return N=N||{},N.baseX=q,N.baseY=H,N.textAlign=U,N.textVerticalAlign=W,N}function R(N,O,z){return N[O]=v(N,O,z),N[O]}function E(N,O){return N==null||O<=0||N==="transparent"||N==="none"?null:N.image||N.colorStops?"#000":N}function k(N){return N==null||N==="none"?null:N.image||N.colorStops?"#000":N}function B(N,O){return typeof N=="string"?N.lastIndexOf("%")>=0?parseFloat(N)/100*O:parseFloat(N):N}function F(N,O,z){return O==="right"?N-z[1]:O==="center"?N+z[3]/2-z[1]/2:N+z[3]}function V(N,O){return N!=null&&(N||O.textBackgroundColor||O.textBorderWidth&&O.textBorderColor||O.textPadding)}return ln.normalizeTextStyle=x,ln.renderText=b,ln.getBoxPosition=I,ln.getStroke=E,ln.getFill=k,ln.parsePercent=B,ln.needDrawText=V,ln}var T0,fO;function I9(){if(fO)return T0;fO=1;var r=ug(),t=rr(),e=lg(),a=e.WILL_BE_RESTORED,i=new t,n=function(){};n.prototype={constructor:n,drawRectText:function(s,l){var u=this.style;l=u.textRect||l,this.__dirty&&r.normalizeTextStyle(u,!0);var v=u.text;if(v!=null&&(v+=""),!!r.needDrawText(v,u)){s.save();var h=this.transform;u.transformText?this.setTransform(s):h&&(i.copy(l),i.applyTransform(h),l=i),r.renderText(this,s,v,u,l,a),s.restore()}}};var o=n;return T0=o,T0}var A0,cO;function lf(){if(cO)return A0;cO=1;var r=ie(),t=QM(),e=A9(),a=I9();function i(o){o=o||{},e.call(this,o);for(var s in o)o.hasOwnProperty(s)&&s!=="style"&&(this[s]=o[s]);this.style=new t(o.style,this),this._rect=null,this.__clipPaths=null}i.prototype={constructor:i,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(o){},afterBrush:function(o){},brush:function(o,s){},getBoundingRect:function(){},contain:function(o,s){return this.rectContain(o,s)},traverse:function(o,s){o.call(s,this)},rectContain:function(o,s){var l=this.transformCoordToLocal(o,s),u=this.getBoundingRect();return u.contain(l[0],l[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(o){return this.animate("style",o)},attrKV:function(o,s){o!=="style"?e.prototype.attrKV.call(this,o,s):this.style.set(s)},setStyle:function(o,s){return this.style.set(o,s),this.dirty(!1),this},useStyle:function(o){return this.style=new t(o,this),this.dirty(!1),this},calculateTextPosition:null},r.inherits(i,e),r.mixin(i,a);var n=i;return A0=n,A0}var C0,dO;function wu(){if(dO)return C0;dO=1;var r=lf(),t=rr(),e=ie(),a=jM();function i(o){r.call(this,o)}i.prototype={constructor:i,type:"image",brush:function(o,s){var l=this.style,u=l.image;l.bind(o,this,s);var v=this._image=a.createOrUpdateImage(u,this._image,this,this.onload);if(!(!v||!a.isImageReady(v))){var h=l.x||0,f=l.y||0,c=l.width,d=l.height,p=v.width/v.height;if(c==null&&d!=null?c=d*p:d==null&&c!=null?d=c/p:c==null&&d==null&&(c=v.width,d=v.height),this.setTransform(o),l.sWidth&&l.sHeight){var g=l.sx||0,m=l.sy||0;o.drawImage(v,g,m,l.sWidth,l.sHeight,h,f,c,d)}else if(l.sx&&l.sy){var g=l.sx,m=l.sy,y=c-g,_=d-m;o.drawImage(v,g,m,y,_,h,f,c,d)}else o.drawImage(v,h,f,c,d);l.text!=null&&(this.restoreTransform(o),this.drawRectText(o,this.getBoundingRect()))}},getBoundingRect:function(){var o=this.style;return this._rect||(this._rect=new t(o.x||0,o.y||0,o.width||0,o.height||0)),this._rect}},e.inherits(i,r);var n=i;return C0=n,C0}var M0,pO;function Rpe(){if(pO)return M0;pO=1;var r=sg(),t=r.devicePixelRatio,e=ie(),a=sf(),i=rr(),n=KM(),o=Ppe(),s=D9(),l=wu(),u=pr(),v=1e5,h=314159,f=.01,c=.001;function d(A){return parseInt(A,10)}function p(A){return A?A.__builtin__?!0:!(typeof A.resize!="function"||typeof A.refresh!="function"):!1}var g=new i(0,0,0,0),m=new i(0,0,0,0);function y(A,T,C){return g.copy(A.getBoundingRect()),A.transform&&g.applyTransform(A.transform),m.width=T,m.height=C,!g.intersect(m)}function _(A,T){if(A===T)return!1;if(!A||!T||A.length!==T.length)return!0;for(var C=0;C=0&&C.splice(M,1),A.__hoverMir=null},clearHover:function(A){for(var T=this._hoverElements,C=0;C15)break}}D.__drawIndex=O,D.__drawIndex0&&A>M[0]){for(P=0;PA);P++);D=C[M[P]]}if(M.splice(P+1,0,A),C[A]=T,!T.virtual)if(D){var R=D.dom;R.nextSibling?I.insertBefore(T.dom,R.nextSibling):I.appendChild(T.dom)}else I.firstChild?I.insertBefore(T.dom,I.firstChild):I.appendChild(T.dom)},eachLayer:function(A,T){var C=this._zlevelList,M,L;for(L=0;L0?f:0),this._needsManuallyCompositing),R.__builtin__||a("ZLevel "+I+" has been used by unkown layer "+R.id),R!==L&&(R.__used=!0,R.__startIndex!==C&&(R.__dirty=!0),R.__startIndex=C,R.incremental?R.__drawIndex=-1:R.__drawIndex=C,T(C),L=R),M.__dirty&&(R.__dirty=!0,R.incremental&&R.__drawIndex<0&&(R.__drawIndex=C))}T(C),this.eachBuiltinLayer(function(E,k){!E.__used&&E.getElementCount()>0&&(E.__dirty=!0,E.__startIndex=E.__endIndex=E.__drawIndex=0),E.__dirty&&E.__drawIndex<0&&(E.__drawIndex=E.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(A){A.clear()},setBackgroundColor:function(A){this._backgroundColor=A},configLayer:function(A,T){if(T){var C=this._layerConfig;C[A]?e.merge(C[A],T,!0):C[A]=T;for(var M=0;M=0&&this._clips.splice(l,1)},removeAnimator:function(s){for(var l=s.getClips(),u=0;u=M.length&&M.push({option:L})}}),M}function f(T){var C=r.createHashMap();e(T,function(M,L){var D=M.exist;D&&C.set(D.id,M)}),e(T,function(M,L){var D=M.option;r.assert(!D||D.id==null||!C.get(D.id)||C.get(D.id)===M,"id duplicates: "+(D&&D.id)),D&&D.id!=null&&C.set(D.id,M),!M.keyInfo&&(M.keyInfo={})}),e(T,function(M,L){var D=M.exist,P=M.option,I=M.keyInfo;if(a(P)){if(I.name=P.name!=null?P.name+"":D?D.name:n+L,D)I.id=D.id;else if(P.id!=null)I.id=P.id+"";else{var R=0;do I.id="\0"+I.name+"\0"+R++;while(C.get(I.id))}C.set(I.id,M)}})}function c(T){var C=T.name;return!!(C&&C.indexOf(n))}function d(T){return a(T)&&T.id&&(T.id+"").indexOf("\0_ec_\0")===0}function p(T,C){var M={},L={};return D(T||[],M),D(C||[],L,M),[P(M),P(L)];function D(I,R,E){for(var k=0,B=I.length;k=0||o&&r.indexOf(o,u)<0)){var v=i.getShallow(u);v!=null&&(s[e[l][0]]=v)}}return s}}return I0=t,I0}var P0,bO;function Ope(){if(bO)return P0;bO=1;var r=Tu(),t=r([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),e={getLineStyle:function(a){var i=t(this,a);return i.lineDash=this.getLineDash(i.lineWidth),i},getLineDash:function(a){a==null&&(a=1);var i=this.get("type"),n=Math.max(a,2),o=a*4;return i==="solid"||i==null?!1:i==="dashed"?[o,o]:[n,n]}};return P0=e,P0}var R0,wO;function Npe(){if(wO)return R0;wO=1;var r=Tu(),t=r([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),e={getAreaStyle:function(a,i){return t(this,a,i)}};return R0=e,R0}var it={},hv={},pa={},TO;function yo(){if(TO)return pa;TO=1;var r=Jt(),t=r.create,e=r.distSquare,a=Math.pow,i=Math.sqrt,n=1e-8,o=1e-4,s=i(3),l=1/3,u=t(),v=t(),h=t();function f(C){return C>-n&&Cn||C<-n}function d(C,M,L,D,P){var I=1-P;return I*I*(I*C+3*P*M)+P*P*(P*D+3*I*L)}function p(C,M,L,D,P){var I=1-P;return 3*(((M-C)*I+2*(L-M)*P)*I+(D-L)*P*P)}function g(C,M,L,D,P,I){var R=D+3*(M-L)-C,E=3*(L-M*2+C),k=3*(M-C),B=C-P,F=E*E-3*R*k,V=E*k-9*R*B,N=k*k-3*E*B,O=0;if(f(F)&&f(V))if(f(E))I[0]=0;else{var z=-k/E;z>=0&&z<=1&&(I[O++]=z)}else{var G=V*V-4*F*N;if(f(G)){var q=V/F,z=-E/R+q,H=-q/2;z>=0&&z<=1&&(I[O++]=z),H>=0&&H<=1&&(I[O++]=H)}else if(G>0){var U=i(G),W=F*E+1.5*R*(-V+U),Y=F*E+1.5*R*(-V-U);W<0?W=-a(-W,l):W=a(W,l),Y<0?Y=-a(-Y,l):Y=a(Y,l);var z=(-E-(W+Y))/(3*R);z>=0&&z<=1&&(I[O++]=z)}else{var X=(2*F*E-3*R*V)/(2*i(F*F*F)),K=Math.acos(X)/3,Q=i(F),j=Math.cos(K),z=(-E-2*Q*j)/(3*R),H=(-E+Q*(j+s*Math.sin(K)))/(3*R),te=(-E+Q*(j-s*Math.sin(K)))/(3*R);z>=0&&z<=1&&(I[O++]=z),H>=0&&H<=1&&(I[O++]=H),te>=0&&te<=1&&(I[O++]=te)}}return O}function m(C,M,L,D,P){var I=6*L-12*M+6*C,R=9*M+3*D-3*C-9*L,E=3*M-3*C,k=0;if(f(R)){if(c(I)){var B=-E/I;B>=0&&B<=1&&(P[k++]=B)}}else{var F=I*I-4*R*E;if(f(F))P[0]=-I/(2*R);else if(F>0){var V=i(F),B=(-I+V)/(2*R),N=(-I-V)/(2*R);B>=0&&B<=1&&(P[k++]=B),N>=0&&N<=1&&(P[k++]=N)}}return k}function y(C,M,L,D,P,I){var R=(M-C)*P+C,E=(L-M)*P+M,k=(D-L)*P+L,B=(E-R)*P+R,F=(k-E)*P+E,V=(F-B)*P+B;I[0]=C,I[1]=R,I[2]=B,I[3]=V,I[4]=V,I[5]=F,I[6]=k,I[7]=D}function _(C,M,L,D,P,I,R,E,k,B,F){var V,N=.005,O=1/0,z,G,q,H;u[0]=k,u[1]=B;for(var U=0;U<1;U+=.05)v[0]=d(C,L,P,R,U),v[1]=d(M,D,I,E,U),q=e(u,v),q=0&&q=0&&B<=1&&(P[k++]=B)}}else{var F=R*R-4*I*E;if(f(F)){var B=-R/(2*I);B>=0&&B<=1&&(P[k++]=B)}else if(F>0){var V=i(F),B=(-R+V)/(2*I),N=(-R-V)/(2*I);B>=0&&B<=1&&(P[k++]=B),N>=0&&N<=1&&(P[k++]=N)}}return k}function w(C,M,L){var D=C+L-2*M;return D===0?.5:(C-M)/D}function A(C,M,L,D,P){var I=(M-C)*D+C,R=(L-M)*D+M,E=(R-I)*D+I;P[0]=C,P[1]=I,P[2]=E,P[3]=E,P[4]=R,P[5]=L}function T(C,M,L,D,P,I,R,E,k){var B,F=.005,V=1/0;u[0]=R,u[1]=E;for(var N=0;N<1;N+=.05){v[0]=x(C,L,P,N),v[1]=x(M,D,I,N);var O=e(u,v);O=0&&O1e-4){A[0]=m-_,A[1]=y-x,T[0]=m+_,T[1]=y+x;return}if(s[0]=n(S)*_+m,s[1]=i(S)*x+y,l[0]=n(b)*_+m,l[1]=i(b)*x+y,C(A,s,l),M(T,s,l),S=S%o,S<0&&(S=S+o),b=b%o,b<0&&(b=b+o),S>b&&!w?b+=o:SS&&(u[0]=n(P)*_+m,u[1]=i(P)*x+y,C(A,u,A),M(T,u,T))}return jo.fromPoints=v,jo.fromLine=h,jo.fromCubic=d,jo.fromQuadratic=p,jo.fromArc=g,jo}var E0,CO;function Au(){if(CO)return E0;CO=1;var r=yo(),t=Jt(),e=uf(),a=rr(),i=sg(),n=i.devicePixelRatio,o={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},s=[],l=[],u=[],v=[],h=Math.min,f=Math.max,c=Math.cos,d=Math.sin,p=Math.sqrt,g=Math.abs,m=typeof Float32Array<"u",y=function(x){this._saveData=!x,this._saveData&&(this.data=[]),this._ctx=null};y.prototype={constructor:y,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(x,S,b){b=b||0,this._ux=g(b/n/x)||0,this._uy=g(b/n/S)||0},getContext:function(){return this._ctx},beginPath:function(x){return this._ctx=x,x&&x.beginPath(),x&&(this.dpr=x.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(x,S){return this.addData(o.M,x,S),this._ctx&&this._ctx.moveTo(x,S),this._x0=x,this._y0=S,this._xi=x,this._yi=S,this},lineTo:function(x,S){var b=g(x-this._xi)>this._ux||g(S-this._yi)>this._uy||this._len<5;return this.addData(o.L,x,S),this._ctx&&b&&(this._needsDash()?this._dashedLineTo(x,S):this._ctx.lineTo(x,S)),b&&(this._xi=x,this._yi=S),this},bezierCurveTo:function(x,S,b,w,A,T){return this.addData(o.C,x,S,b,w,A,T),this._ctx&&(this._needsDash()?this._dashedBezierTo(x,S,b,w,A,T):this._ctx.bezierCurveTo(x,S,b,w,A,T)),this._xi=A,this._yi=T,this},quadraticCurveTo:function(x,S,b,w){return this.addData(o.Q,x,S,b,w),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(x,S,b,w):this._ctx.quadraticCurveTo(x,S,b,w)),this._xi=b,this._yi=w,this},arc:function(x,S,b,w,A,T){return this.addData(o.A,x,S,b,b,w,A-w,0,T?0:1),this._ctx&&this._ctx.arc(x,S,b,w,A,T),this._xi=c(A)*b+x,this._yi=d(A)*b+S,this},arcTo:function(x,S,b,w,A){return this._ctx&&this._ctx.arcTo(x,S,b,w,A),this},rect:function(x,S,b,w){return this._ctx&&this._ctx.rect(x,S,b,w),this.addData(o.R,x,S,b,w),this},closePath:function(){this.addData(o.Z);var x=this._ctx,S=this._x0,b=this._y0;return x&&(this._needsDash()&&this._dashedLineTo(S,b),x.closePath()),this._xi=S,this._yi=b,this},fill:function(x){x&&x.fill(),this.toStatic()},stroke:function(x){x&&x.stroke(),this.toStatic()},setLineDash:function(x){if(x instanceof Array){this._lineDash=x,this._dashIdx=0;for(var S=0,b=0;bS.length&&(this._expandData(),S=this.data);for(var b=0;b0&&I<=x||L<0&&I>=x||L===0&&(D>0&&R<=S||D<0&&R>=S);)B=this._dashIdx,E=A[B],I+=L*E,R+=D*E,this._dashIdx=(B+1)%k,!(L>0&&IC||D>0&&RM)&&T[B%2?"moveTo":"lineTo"](L>=0?h(I,x):f(I,x),D>=0?h(R,S):f(R,S));L=I-x,D=R-S,this._dashOffset=-p(L*L+D*D)},_dashedBezierTo:function(x,S,b,w,A,T){var C=this._dashSum,M=this._dashOffset,L=this._lineDash,D=this._ctx,P=this._xi,I=this._yi,R,E,k,B=r.cubicAt,F=0,V=this._dashIdx,N=L.length,O,z,G=0;for(M<0&&(M=C+M),M%=C,R=0;R<1;R+=.1)E=B(P,x,b,A,R+.1)-B(P,x,b,A,R),k=B(I,S,w,T,R+.1)-B(I,S,w,T,R),F+=p(E*E+k*k);for(;VM));V++);for(R=(G-M)/F;R<=1;)O=B(P,x,b,A,R),z=B(I,S,w,T,R),V%2?D.moveTo(O,z):D.lineTo(O,z),R+=L[V]/F,V=(V+1)%N;V%2!==0&&D.lineTo(A,T),E=A-O,k=T-z,this._dashOffset=-p(E*E+k*k)},_dashedQuadraticTo:function(x,S,b,w){var A=b,T=w;b=(b+2*x)/3,w=(w+2*S)/3,x=(this._xi+2*x)/3,S=(this._yi+2*S)/3,this._dashedBezierTo(x,S,b,w,A,T)},toStatic:function(){var x=this.data;x instanceof Array&&(x.length=this._len,m&&(this.data=new Float32Array(x)))},getBoundingRect:function(){s[0]=s[1]=u[0]=u[1]=Number.MAX_VALUE,l[0]=l[1]=v[0]=v[1]=-Number.MAX_VALUE;for(var x=this.data,S=0,b=0,w=0,A=0,T=0;TL||g(M-T)>D||I===P-1)&&(x.lineTo(C,M),A=C,T=M);break;case o.C:x.bezierCurveTo(S[I++],S[I++],S[I++],S[I++],S[I++],S[I++]),A=S[I-2],T=S[I-1];break;case o.Q:x.quadraticCurveTo(S[I++],S[I++],S[I++],S[I++]),A=S[I-2],T=S[I-1];break;case o.A:var E=S[I++],k=S[I++],B=S[I++],F=S[I++],V=S[I++],N=S[I++],O=S[I++],z=S[I++],G=B>F?B:F,q=B>F?1:B/F,H=B>F?F/B:1,U=Math.abs(B-F)>.001,W=V+N;U?(x.translate(E,k),x.rotate(O),x.scale(q,H),x.arc(0,0,G,V,W,1-z),x.scale(1/q,1/H),x.rotate(-O),x.translate(-E,-k)):x.arc(E,k,G,V,W,1-z),I===1&&(b=c(V)*B+E,w=d(V)*F+k),A=c(W)*B+E,T=d(W)*F+k;break;case o.R:b=A=S[I],w=T=S[I+1],x.rect(S[I++],S[I++],S[I++],S[I++]);break;case o.Z:x.closePath(),A=b,T=w}}}},y.CMD=o;var _=y;return E0=_,E0}var Dc={},k0={},MO;function P9(){if(MO)return k0;MO=1;function r(t,e,a,i,n,o,s){if(n===0)return!1;var l=n,u=0,v=t;if(s>e+l&&s>i+l||st+l&&o>a+l||oa+c&&f>n+c&&f>s+c&&f>u+c||fe+c&&h>i+c&&h>o+c&&h>l+c||hi+f&&h>o+f&&h>l+f||ha+f&&v>n+f&&v>s+f||vo||d+cl&&(l+=e);var g=Math.atan2(f,h);return g<0&&(g+=e),g>=s&&g<=l||g+e>=s&&g+e<=l}return z0.containStroke=a,z0}var V0,RO;function k9(){if(RO)return V0;RO=1;function r(t,e,a,i,n,o){if(o>e&&o>i||on?s:0}return V0=r,V0}var EO;function Vpe(){if(EO)return Dc;EO=1;var r=Au(),t=P9(),e=zpe(),a=R9(),i=Bpe(),n=E9(),o=n.normalizeRadian,s=yo(),l=k9(),u=r.CMD,v=Math.PI*2,h=1e-4;function f(b,w){return Math.abs(b-w)w&&I>T&&I>M&&I>D||I1&&p(),B=s.cubicAt(w,T,M,D,d[0]),k>1&&(F=s.cubicAt(w,T,M,D,d[1]))),k===2?Nw&&D>T&&D>M||D=0&&I<=1){for(var R=0,E=s.quadraticAt(w,T,M,I),k=0;kA||D<-A)return 0;var P=Math.sqrt(A*A-D*D);c[0]=-P,c[1]=P;var I=Math.abs(T-C);if(I<1e-4)return 0;if(I%v<1e-4){T=0,C=v;var R=M?1:-1;return L>=c[0]+b&&L<=c[1]+b?R:0}if(M){var P=T;T=o(C),C=o(P)}else T=o(T),C=o(C);T>C&&(C+=v);for(var E=0,k=0;k<2;k++){var B=c[k];if(B+b>L){var F=Math.atan2(D,B),R=M?1:-1;F<0&&(F=v+F),(F>=T&&F<=C||F+v>=T&&F+v<=C)&&(F>Math.PI/2&&F1&&(A||(M+=l(L,D,P,I,T,C))),R===1&&(L=b[R],D=b[R+1],P=L,I=D),E){case u.M:P=b[R++],I=b[R++],L=P,D=I;break;case u.L:if(A){if(t.containStroke(L,D,b[R],b[R+1],w,T,C))return!0}else M+=l(L,D,b[R],b[R+1],T,C)||0;L=b[R++],D=b[R++];break;case u.C:if(A){if(e.containStroke(L,D,b[R++],b[R++],b[R++],b[R++],b[R],b[R+1],w,T,C))return!0}else M+=g(L,D,b[R++],b[R++],b[R++],b[R++],b[R],b[R+1],T,C)||0;L=b[R++],D=b[R++];break;case u.Q:if(A){if(a.containStroke(L,D,b[R++],b[R++],b[R],b[R+1],w,T,C))return!0}else M+=m(L,D,b[R++],b[R++],b[R],b[R+1],T,C)||0;L=b[R++],D=b[R++];break;case u.A:var k=b[R++],B=b[R++],F=b[R++],V=b[R++],N=b[R++],O=b[R++];R+=1;var z=1-b[R++],U=Math.cos(N)*F+k,W=Math.sin(N)*V+B;R>1?M+=l(L,D,U,W,T,C):(P=U,I=W);var G=(T-k)*V/F+k;if(A){if(i.containStroke(k,B,V,N,N+O,z,w,G,C))return!0}else M+=y(k,B,V,N,N+O,z,G,C);L=Math.cos(N+O)*F+k,D=Math.sin(N+O)*V+B;break;case u.R:P=L=b[R++],I=D=b[R++];var q=b[R++],H=b[R++],U=P+q,W=I+H;if(A){if(t.containStroke(P,I,U,I,w,T,C)||t.containStroke(U,I,U,W,w,T,C)||t.containStroke(U,W,P,W,w,T,C)||t.containStroke(P,W,P,I,w,T,C))return!0}else M+=l(U,I,U,W,T,C),M+=l(P,W,P,I,T,C);break;case u.Z:if(A){if(t.containStroke(L,D,P,I,w,T,C))return!0}else M+=l(L,D,P,I,T,C);L=P,D=I;break}}return!A&&!f(D,I)&&(M+=l(L,D,P,I,T,C)||0),M!==0}function x(b,w,A){return _(b,0,!1,w,A)}function S(b,w,A,T){return _(b,w,!0,A,T)}return Dc.contain=x,Dc.containStroke=S,Dc}var G0,kO;function ur(){if(kO)return G0;kO=1;var r=lf(),t=ie(),e=Au(),a=Vpe(),i=M9(),n=i.prototype.getCanvasPattern,o=Math.abs,s=new e(!0);function l(v){r.call(this,v),this.path=null}l.prototype={constructor:l,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(v,h){var f=this.style,c=this.path||s,d=f.hasStroke(),p=f.hasFill(),g=f.fill,m=f.stroke,y=p&&!!g.colorStops,_=d&&!!m.colorStops,x=p&&!!g.image,S=d&&!!m.image;if(f.bind(v,this,h),this.setTransform(v),this.__dirty){var b;y&&(b=b||this.getBoundingRect(),this._fillGradient=f.getGradient(v,g,b)),_&&(b=b||this.getBoundingRect(),this._strokeGradient=f.getGradient(v,m,b))}y?v.fillStyle=this._fillGradient:x&&(v.fillStyle=n.call(g,v)),_?v.strokeStyle=this._strokeGradient:S&&(v.strokeStyle=n.call(m,v));var w=f.lineDash,A=f.lineDashOffset,T=!!v.setLineDash,C=this.getGlobalScale();if(c.setScale(C[0],C[1],this.segmentIgnoreThreshold),this.__dirtyPath||w&&!T&&d?(c.beginPath(v),w&&!T&&(c.setLineDash(w),c.setLineDashOffset(A)),this.buildPath(c,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(v.beginPath(),this.path.rebuildPath(v)),p)if(f.fillOpacity!=null){var M=v.globalAlpha;v.globalAlpha=f.fillOpacity*f.opacity,c.fill(v),v.globalAlpha=M}else c.fill(v);if(w&&T&&(v.setLineDash(w),v.lineDashOffset=A),d)if(f.strokeOpacity!=null){var M=v.globalAlpha;v.globalAlpha=f.strokeOpacity*f.opacity,c.stroke(v),v.globalAlpha=M}else c.stroke(v);w&&T&&v.setLineDash([]),f.text!=null&&(this.restoreTransform(v),this.drawRectText(v,this.getBoundingRect()))},buildPath:function(v,h,f){},createPathProxy:function(){this.path=new e},getBoundingRect:function(){var v=this._rect,h=this.style,f=!v;if(f){var c=this.path;c||(c=this.path=new e),this.__dirtyPath&&(c.beginPath(),this.buildPath(c,this.shape,!1)),v=c.getBoundingRect()}if(this._rect=v,h.hasStroke()){var d=this._rectWithStroke||(this._rectWithStroke=v.clone());if(this.__dirty||f){d.copy(v);var p=h.lineWidth,g=h.strokeNoScale?this.getLineScale():1;h.hasFill()||(p=Math.max(p,this.strokeContainThreshold||4)),g>1e-10&&(d.width+=p/g,d.height+=p/g,d.x-=p/g/2,d.y-=p/g/2)}return d}return v},contain:function(v,h){var f=this.transformCoordToLocal(v,h),c=this.getBoundingRect(),d=this.style;if(v=f[0],h=f[1],c.contain(v,h)){var p=this.path.data;if(d.hasStroke()){var g=d.lineWidth,m=d.strokeNoScale?this.getLineScale():1;if(m>1e-10&&(d.hasFill()||(g=Math.max(g,this.strokeContainThreshold)),a.containStroke(p,g/m,v,h)))return!0}if(d.hasFill())return a.contain(p,v,h)}return!1},dirty:function(v){v==null&&(v=!0),v&&(this.__dirtyPath=v,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(v){return this.animate("shape",v)},attrKV:function(v,h){v==="shape"?(this.setShape(h),this.__dirtyPath=!0,this._rect=null):r.prototype.attrKV.call(this,v,h)},setShape:function(v,h){var f=this.shape;if(f){if(t.isObject(v))for(var c in v)v.hasOwnProperty(c)&&(f[c]=v[c]);else f[v]=h;this.dirty(!0)}return this},getLineScale:function(){var v=this.transform;return v&&o(v[0]-1)>1e-10&&o(v[3]-1)>1e-10?Math.sqrt(o(v[0]*v[3]-v[2]*v[1])):1}},l.extend=function(v){var h=function(c){l.call(this,c),v.style&&this.style.extendFrom(v.style,!1);var d=v.shape;if(d){this.shape=this.shape||{};var p=this.shape;for(var g in d)!p.hasOwnProperty(g)&&d.hasOwnProperty(g)&&(p[g]=d[g])}v.init&&v.init.call(this,c)};t.inherits(h,l);for(var f in v)f!=="style"&&f!=="shape"&&(h.prototype[f]=v[f]);return h},t.inherits(l,r);var u=l;return G0=u,G0}var F0,OO;function Gpe(){if(OO)return F0;OO=1;var r=Au(),t=Jt(),e=t.applyTransform,a=r.CMD,i=[[],[],[]],n=Math.sqrt,o=Math.atan2;function s(l,u){var v=l.data,h,f,c,d,p,g,m=a.M,y=a.C,_=a.L,x=a.R,S=a.A,b=a.Q;for(c=0,d=0;c1&&(A*=a(R),T*=a(R));var E=(b===w?-1:1)*a((A*A*(T*T)-A*A*(I*I)-T*T*(P*P))/(A*A*(I*I)+T*T*(P*P)))||0,k=E*A*I/T,B=E*-T*P/A,F=(y+x)/2+n(D)*k-i(D)*B,V=(_+S)/2+i(D)*k+n(D)*B,N=u([1,0],[(P-k)/A,(I-B)/T]),O=[(P-k)/A,(I-B)/T],z=[(-1*P-k)/A,(-1*I-B)/T],G=u(O,z);l(O,z)<=-1&&(G=o),l(O,z)>=1&&(G=0),w===0&&G>0&&(G=G-2*o),w===1&&G<0&&(G=G+2*o),L.addData(M,F,V,A,T,N,G,D,w)}var h=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,f=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function c(y){if(!y)return new t;for(var _=0,x=0,S=_,b=x,w,A=new t,T=t.CMD,C=y.match(h),M=0;M=11?function(){var i=this.__clipPaths,n=this.style,o;if(i)for(var s=0;so-2?o-1:f+1],m=i[f>o-3?o-1:f+2]);var y=c*c,_=c*y;s.push([e(d[0],p[0],g[0],m[0],c,y,_),e(d[1],p[1],g[1],m[1],c,y,_)])}return s}return Z0=a,Z0}var X0,qO;function Wpe(){if(qO)return X0;qO=1;var r=Jt(),t=r.min,e=r.max,a=r.scale,i=r.distance,n=r.add,o=r.clone,s=r.sub;function l(u,v,h,f){var c=[],d=[],p=[],g=[],m,y,_,x;if(f){_=[1/0,1/0],x=[-1/0,-1/0];for(var S=0,b=u.length;S=2){if(s&&s!=="spline"){var l=t(o,s,n,i.smoothConstraint);a.moveTo(o[0][0],o[0][1]);for(var u=o.length,v=0;v<(n?u:u-1);v++){var h=l[v*2],f=l[v*2+1],c=o[(v+1)%u];a.bezierCurveTo(h[0],h[1],f[0],f[1],c[0],c[1])}}else{s==="spline"&&(o=r(o,n)),a.moveTo(o[0][0],o[0][1]);for(var v=1,d=o.length;v=0),Ot=!At&&De!=null;(At||Ot)&&(Ae={textFill:re.textFill,textStroke:re.textStroke,textStrokeWidth:re.textStrokeWidth}),At&&(re.textFill="#fff",re.textStroke==null&&(re.textStroke=De,re.textStrokeWidth==null&&(re.textStrokeWidth=2))),Ot&&(re.textFill=De)}re.insideRollback=Ae}function Tt(re){var ce=re.insideRollback;ce&&(re.textFill=ce.textFill,re.textStroke=ce.textStroke,re.textStrokeWidth=ce.textStrokeWidth,re.insideRollback=null)}function Bt(re,ce){var be=ce&&ce.getModel("textStyle");return r.trim([re.fontStyle||be&&be.getShallow("fontStyle")||"",re.fontWeight||be&&be.getShallow("fontWeight")||"",(re.fontSize||be&&be.getShallow("fontSize")||12)+"px",re.fontFamily||be&&be.getShallow("fontFamily")||"sans-serif"].join(" "))}function Vt(re,ce,be,Ae,De,je){typeof De=="function"&&(je=De,De=null);var Gt=Ae&&Ae.isAnimationEnabled();if(Gt){var At=re?"Update":"",Ot=Ae.getShallow("animationDuration"+At),hr=Ae.getShallow("animationEasing"+At),Nr=Ae.getShallow("animationDelay"+At);typeof Nr=="function"&&(Nr=Nr(De,Ae.getAnimationDelayParams?Ae.getAnimationDelayParams(ce,De):null)),typeof Ot=="function"&&(Ot=Ot(De)),Ot>0?ce.animateTo(be,Ot,Nr||0,hr,je,!!je):(ce.stopAnimation(),ce.attr(be),je&&je())}else ce.stopAnimation(),ce.attr(be),je&&je()}function Ke(re,ce,be,Ae,De){Vt(!0,re,ce,be,Ae,De)}function Et(re,ce,be,Ae,De){Vt(!1,re,ce,be,Ae,De)}function Lt(re,ce){for(var be=a.identity([]);re&&re!==ce;)a.mul(be,re.getLocalTransform(),be),re=re.parent;return be}function Zt(re,ce,be){return ce&&!r.isArrayLike(ce)&&(ce=o.getLocalTransform(ce)),be&&(ce=a.invert([],ce)),i.applyTransform([],re,ce)}function Xt(re,ce,be){var Ae=ce[4]===0||ce[5]===0||ce[0]===0?1:Math.abs(2*ce[4]/ce[0]),De=ce[4]===0||ce[5]===0||ce[2]===0?1:Math.abs(2*ce[4]/ce[2]),je=[re==="left"?-Ae:re==="right"?Ae:0,re==="top"?-De:re==="bottom"?De:0];return je=Zt(je,ce,be),Math.abs(je[0])>Math.abs(je[1])?je[0]>0?"right":"left":je[1]>0?"bottom":"top"}function Kt(re,ce,be,Ae){if(!re||!ce)return;function De(At){var Ot={};return At.traverse(function(hr){!hr.isGroup&&hr.anid&&(Ot[hr.anid]=hr)}),Ot}function je(At){var Ot={position:i.clone(At.position),rotation:At.rotation};return At.shape&&(Ot.shape=r.extend({},At.shape)),Ot}var Gt=De(re);ce.traverse(function(At){if(!At.isGroup&&At.anid){var Ot=Gt[At.anid];if(Ot){var hr=je(At);At.attr(je(Ot)),Ke(At,hr,be,At.dataIndex)}}})}function Pr(re,ce){return r.map(re,function(be){var Ae=be[0];Ae=T(Ae,ce.x),Ae=C(Ae,ce.x+ce.width);var De=be[1];return De=T(De,ce.y),De=C(De,ce.y+ce.height),[Ae,De]})}function fa(re,ce){var be=T(re.x,ce.x),Ae=C(re.x+re.width,ce.x+ce.width),De=T(re.y,ce.y),je=C(re.y+re.height,ce.y+ce.height);if(Ae>=be&&je>=De)return{x:be,y:De,width:Ae-be,height:je-De}}function Rr(re,ce,be){ce=r.extend({rectHover:!0},ce);var Ae=ce.style={strokeNoScale:!0};if(be=be||{x:-1,y:-1,width:2,height:2},re)return re.indexOf("image://")===0?(Ae.image=re.slice(8),r.defaults(Ae,be),new s(ce)):O(re.replace("path://",""),ce,be,"center")}function ta(re,ce,be,Ae,De){for(var je=0,Gt=De[De.length-1];je1)return!1;var Eu=jt(Ai,To,Nr,an)/Ti;return!(Eu<0||Eu>1)}function jt(re,ce,be,Ae){return re*Ae-be*ce}function mr(re){return re<=1e-6&&re>=-1e-6}return V("circle",v),V("sector",h),V("ring",f),V("polygon",c),V("polyline",d),V("rect",p),V("line",g),V("bezierCurve",m),V("arc",y),it.Z2_EMPHASIS_LIFT=L,it.CACHED_LABEL_STYLE_PROPERTIES=D,it.extendShape=B,it.extendPath=F,it.registerShape=V,it.getShapeClass=N,it.makePath=O,it.makeImage=z,it.mergePath=q,it.resizePath=H,it.subPixelOptimizeLine=U,it.subPixelOptimizeRect=W,it.subPixelOptimize=Y,it.setElementHoverStyle=fe,it.setHoverStyle=ne,it.setAsHighDownDispatcher=ue,it.isHighDownDispatcher=me,it.getHighlightDigit=xe,it.setLabelStyle=ge,it.modifyLabelStyle=pe,it.setTextStyle=Ce,it.setText=ze,it.getFont=Bt,it.updateProps=Ke,it.initProps=Et,it.getTransform=Lt,it.applyTransform=Zt,it.transformDirection=Xt,it.groupTransition=Kt,it.clipPointsByRect=Pr,it.clipRectByRect=fa,it.createIcon=Rr,it.linePolygonIntersect=ta,it.lineLineIntersect=vr,it}var s_,iN;function Xpe(){if(iN)return s_;iN=1;var r=Da(),t=qe(),e=["textStyle","color"],a={getTextColor:function(i){var n=this.ecModel;return this.getShallow("color")||(!i&&n?n.get(e):null)},getFont:function(){return t.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(i){return r.getBoundingRect(i,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};return s_=a,s_}var l_,nN;function Kpe(){if(nN)return l_;nN=1;var r=Tu(),t=r([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),e={getItemStyle:function(a,i){var n=t(this,a,i),o=this.getBorderLineDash();return o&&(n.lineDash=o),n},getBorderLineDash:function(){var a=this.get("borderType");return a==="solid"||a==null?null:a==="dashed"?[5,5]:[1,1]}};return l_=e,l_}var u_,oN;function gr(){if(oN)return u_;oN=1;var r=ie(),t=pr(),e=_t(),a=e.makeInner,i=Dn(),n=i.enableClassExtend,o=i.enableClassCheck,s=Ope(),l=Npe(),u=Xpe(),v=Kpe(),h=r.mixin,f=a();function c(m,y,_){this.parentModel=y,this.ecModel=_,this.option=m}c.prototype={constructor:c,init:null,mergeOption:function(m){r.merge(this.option,m,!0)},get:function(m,y){return m==null?this.option:d(this.option,this.parsePath(m),!y&&p(this,m))},getShallow:function(m,y){var _=this.option,x=_==null?_:_[m],S=!y&&p(this,m);return x==null&&S&&(x=S.getShallow(m)),x},getModel:function(m,y){var _=m==null?this.option:d(this.option,m=this.parsePath(m)),x;return y=y||(x=p(this,m))&&x.getModel(m),new c(_,y,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var m=this.constructor;return new m(r.clone(this.option))},setReadOnly:function(m){},parsePath:function(m){return typeof m=="string"&&(m=m.split(".")),m},customizeGetParent:function(m){f(this).getParent=m},isAnimationEnabled:function(){if(!t.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function d(m,y,_){for(var x=0;x=0&&d.push(p)}),d}}return cv.getUID=i,cv.enableSubTypeDefaulter=n,cv.enableTopologicalTravel=o,cv}var ga={},yr={},lN;function st(){if(lN)return yr;lN=1;var r=ie(),t=1e-4;function e(b){return b.replace(/^\s+|\s+$/g,"")}function a(b,w,A,T){var C=w[1]-w[0],M=A[1]-A[0];if(C===0)return M===0?A[0]:(A[0]+A[1])/2;if(T)if(C>0){if(b<=w[0])return A[0];if(b>=w[1])return A[1]}else{if(b>=w[0])return A[0];if(b<=w[1])return A[1]}else{if(b===w[0])return A[0];if(b===w[1])return A[1]}return(b-w[0])/C*M+A[0]}function i(b,w){switch(b){case"center":case"middle":b="50%";break;case"left":case"top":b="0%";break;case"right":case"bottom":b="100%";break}return typeof b=="string"?e(b).match(/%$/)?parseFloat(b)/100*w:parseFloat(b):b==null?NaN:+b}function n(b,w,A){return w==null&&(w=10),w=Math.min(Math.max(0,w),20),b=(+b).toFixed(w),A?b:+b}function o(b){return b.sort(function(w,A){return w-A}),b}function s(b){if(b=+b,isNaN(b))return 0;for(var w=1,A=0;Math.round(b*w)/w!==b;)w*=10,A++;return A}function l(b){var w=b.toString(),A=w.indexOf("e");if(A>0){var T=+w.slice(A+1);return T<0?-T:0}else{var C=w.indexOf(".");return C<0?0:w.length-1-C}}function u(b,w){var A=Math.log,T=Math.LN10,C=Math.floor(A(b[1]-b[0])/T),M=Math.round(A(Math.abs(w[1]-w[0]))/T),L=Math.min(Math.max(-C+M,0),20);return isFinite(L)?L:20}function v(b,w,A){if(!b[w])return 0;var T=r.reduce(b,function(F,V){return F+(isNaN(V)?0:V)},0);if(T===0)return 0;for(var C=Math.pow(10,A),M=r.map(b,function(F){return(isNaN(F)?0:F)/T*C*100}),L=C*100,D=r.map(M,function(F){return Math.floor(F)}),P=r.reduce(D,function(F,V){return F+V},0),I=r.map(M,function(F,V){return F-D[V]});PR&&(R=I[k],E=k);++D[E],I[E]=0,++P}return D[w]/C}var h=9007199254740991;function f(b){var w=Math.PI*2;return(b%w+w)%w}function c(b){return b>-t&&b=10&&w++,w}function y(b,w){var A=m(b),T=Math.pow(10,A),C=b/T,M;return w?C<1.5?M=1:C<2.5?M=2:C<4?M=3:C<7?M=5:M=10:C<1?M=1:C<2?M=2:C<3?M=3:C<5?M=5:M=10,b=M*T,A>=-20?+b.toFixed(A<0?-A:0):b}function _(b,w){var A=(b.length-1)*w+1,T=Math.floor(A),C=+b[T-1],M=A-T;return M?C+M*(b[T]-C):C}function x(b){b.sort(function(P,I){return D(P,I,0)?-1:1});for(var w=-1/0,A=1,T=0;T=0}return yr.linearMap=a,yr.parsePercent=i,yr.round=n,yr.asc=o,yr.getPrecision=s,yr.getPrecisionSafe=l,yr.getPixelPrecision=u,yr.getPercentWithPrecision=v,yr.MAX_SAFE_INTEGER=h,yr.remRadian=f,yr.isRadianAroundZero=c,yr.parseDate=p,yr.quantity=g,yr.quantityExponent=m,yr.nice=y,yr.quantile=_,yr.reformIntervals=x,yr.isNumeric=S,yr}var aa={},uN;function Yt(){if(uN)return aa;uN=1;var r=ie(),t=Da(),e=st();function a(S){return isNaN(S)?"-":(S=(S+"").split("."),S[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(S.length>1?"."+S[1]:""))}function i(S,b){return S=(S||"").toLowerCase().replace(/-(.)/g,function(w,A){return A.toUpperCase()}),b&&S&&(S=S.charAt(0).toUpperCase()+S.slice(1)),S}var n=r.normalizeCssArray,o=/([&<>"'])/g,s={"&":"&","<":"<",">":">",'"':""","'":"'"};function l(S){return S==null?"":(S+"").replace(o,function(b,w){return s[w]})}var u=["a","b","c","d","e","f","g"],v=function(S,b){return"{"+S+(b==null?"":b)+"}"};function h(S,b,w){r.isArray(b)||(b=[b]);var A=b.length;if(!A)return"";for(var T=b[0].$vars||[],C=0;C':'':{renderMode:C,content:"{marker"+M+"|} ",style:{color:w}}:""}function d(S,b){return S+="","0000".substr(0,b-S.length)+S}function p(S,b,w){(S==="week"||S==="month"||S==="quarter"||S==="half-year"||S==="year")&&(S="MM-dd\nyyyy");var A=e.parseDate(b),T=w?"UTC":"",C=A["get"+T+"FullYear"](),M=A["get"+T+"Month"]()+1,L=A["get"+T+"Date"](),D=A["get"+T+"Hours"](),P=A["get"+T+"Minutes"](),I=A["get"+T+"Seconds"](),R=A["get"+T+"Milliseconds"]();return S=S.replace("MM",d(M,2)).replace("M",M).replace("yyyy",C).replace("yy",C%100).replace("dd",d(L,2)).replace("d",L).replace("hh",d(D,2)).replace("h",D).replace("mm",d(P,2)).replace("m",P).replace("ss",d(I,2)).replace("s",I).replace("SSS",d(R,3)),S}function g(S){return S&&S.charAt(0).toUpperCase()+S.substr(1)}var m=t.truncateText;function y(S){return t.getBoundingRect(S.text,S.font,S.textAlign,S.textVerticalAlign,S.textPadding,S.textLineHeight,S.rich,S.truncate)}function _(S,b,w,A,T,C,M,L){return t.getBoundingRect(S,b,w,A,T,L,C,M)}function x(S,b){if(b==="_blank"||b==="blank"){var w=window.open();w.opener=null,w.location=S}else window.open(S,b)}return aa.addCommas=a,aa.toCamelCase=i,aa.normalizeCssArray=n,aa.encodeHTML=l,aa.formatTpl=h,aa.formatTplSimple=f,aa.getTooltipMarker=c,aa.formatTime=p,aa.capitalFirst=g,aa.truncateText=m,aa.getTextBoundingRect=y,aa.getTextRect=_,aa.windowOpen=x,aa}var vN;function Ut(){if(vN)return ga;vN=1;var r=ie(),t=rr(),e=st(),a=e.parsePercent,i=Yt(),n=r.each,o=["left","right","top","bottom","width","height"],s=[["width","left","right"],["height","top","bottom"]];function l(_,x,S,b,w){var A=0,T=0;b==null&&(b=1/0),w==null&&(w=1/0);var C=0;x.eachChild(function(M,L){var D=M.position,P=M.getBoundingRect(),I=x.childAt(L+1),R=I&&I.getBoundingRect(),E,k;if(_==="horizontal"){var B=P.width+(R?-R.x+P.x:0);E=A+B,E>b||M.newline?(A=0,E=B,T+=C+S,C=P.height):C=Math.max(C,P.height)}else{var F=P.height+(R?-R.y+P.y:0);k=T+F,k>w||M.newline?(A+=C+S,T=0,k=F,C=P.width):C=Math.max(C,P.width)}M.newline||(D[0]=A,D[1]=T,_==="horizontal"?A=E+S:T=k+S)})}var u=l,v=r.curry(l,"vertical"),h=r.curry(l,"horizontal");function f(_,x,S){var b=x.width,w=x.height,A=a(_.x,b),T=a(_.y,w),C=a(_.x2,b),M=a(_.y2,w);return(isNaN(A)||isNaN(parseFloat(_.x)))&&(A=0),(isNaN(C)||isNaN(parseFloat(_.x2)))&&(C=b),(isNaN(T)||isNaN(parseFloat(_.y)))&&(T=0),(isNaN(M)||isNaN(parseFloat(_.y2)))&&(M=w),S=i.normalizeCssArray(S||0),{width:Math.max(C-A-S[1]-S[3],0),height:Math.max(M-T-S[0]-S[2],0)}}function c(_,x,S){S=i.normalizeCssArray(S||0);var b=x.width,w=x.height,A=a(_.left,b),T=a(_.top,w),C=a(_.right,b),M=a(_.bottom,w),L=a(_.width,b),D=a(_.height,w),P=S[2]+S[0],I=S[1]+S[3],R=_.aspect;switch(isNaN(L)&&(L=b-C-I-A),isNaN(D)&&(D=w-M-P-T),R!=null&&(isNaN(L)&&isNaN(D)&&(R>b/w?L=b*.8:D=w*.8),isNaN(L)&&(L=R*D),isNaN(D)&&(D=L/R)),isNaN(A)&&(A=b-C-L-I),isNaN(T)&&(T=w-M-D-P),_.left||_.right){case"center":A=b/2-L/2-S[3];break;case"right":A=b-L-I;break}switch(_.top||_.bottom){case"middle":case"center":T=w/2-D/2-S[0];break;case"bottom":T=w-D-P;break}A=A||0,T=T||0,isNaN(L)&&(L=b-I-A-(C||0)),isNaN(D)&&(D=w-P-T-(M||0));var E=new t(A+S[3],T+S[0],L,D);return E.margin=S,E}function d(_,x,S,b,w){var A=!w||!w.hv||w.hv[0],T=!w||!w.hv||w.hv[1],C=w&&w.boundingMode||"all";if(!(!A&&!T)){var M;if(C==="raw")M=_.type==="group"?new t(0,0,+x.width||0,+x.height||0):_.getBoundingRect();else if(M=_.getBoundingRect(),_.needLocalTransform()){var L=_.getLocalTransform();M=M.clone(),M.applyTransform(L)}x=c(r.defaults({width:M.width,height:M.height},x),S,b);var D=_.position,P=A?x.x-M.x:0,I=T?x.y-M.y:0;_.attr("position",C==="raw"?[P,I]:[D[0]+P,D[1]+I])}}function p(_,x){return _[s[x][0]]!=null||_[s[x][1]]!=null&&_[s[x][2]]!=null}function g(_,x,S){!r.isObject(S)&&(S={});var b=S.ignoreSize;!r.isArray(b)&&(b=[b,b]);var w=T(s[0],0),A=T(s[1],1);L(s[0],_,w),L(s[1],_,A);function T(D,P){var I={},R=0,E={},k=0,B=2;if(n(D,function(N){E[N]=_[N]}),n(D,function(N){C(x,N)&&(I[N]=E[N]=x[N]),M(I,N)&&R++,M(E,N)&&k++}),b[P])return M(x,D[1])?E[D[2]]=null:M(x,D[2])&&(E[D[1]]=null),E;if(k===B||!R)return E;if(R>=B)return I;for(var F=0;F=0;_--)y=r.merge(y,p[_],!0);d.defaultOption=y}return d.defaultOption},getReferringComponents:function(d){return this.ecModel.queryComponents({mainType:d,index:this.get(d+"Index",!0),id:this.get(d+"Id",!0)})}});i(h,{registerWhenExtend:!0}),e.enableSubTypeDefaulter(h),e.enableTopologicalTravel(h,f);function f(d){var p=[];return r.each(h.getClassesByMainType(d),function(g){p=p.concat(g.prototype.dependencies||[])}),p=r.map(p,function(g){return n(g).main}),d!=="dataset"&&r.indexOf(p,"dataset")<=0&&p.unshift("dataset"),p}r.mixin(h,u);var c=h;return h_=c,h_}var f_,cN;function jpe(){if(cN)return f_;cN=1;var r="";typeof navigator<"u"&&(r=navigator.platform||"");var t={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:r.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};return f_=t,f_}var c_,dN;function H9(){if(dN)return c_;dN=1;var r=_t(),t=r.makeInner,e=r.normalizeToArray,a=t();function i(o,s){for(var l=o.length,u=0;us)return o[u];return o[l-1]}var n={clearColorPalette:function(){a(this).colorIdx=0,a(this).colorNameMap={}},getColorFromPalette:function(o,s,l){s=s||this;var u=a(s),v=u.colorIdx||0,h=u.colorNameMap=u.colorNameMap||{};if(h.hasOwnProperty(o))return h[o];var f=e(this.get("color",!0)),c=this.get("colorLayer",!0),d=l==null||!c?f:i(c,l);if(d=d||f,!(!d||!d.length)){var p=d[v];return o&&(h[o]=p),u.colorIdx=(v+1)%d.length,p}}};return c_=n,c_}var Pi={},Ri={},pN;function hf(){if(pN)return Ri;pN=1;var r="original",t="arrayRows",e="objectRows",a="keyedColumns",i="unknown",n="typedArray",o="column",s="row";return Ri.SOURCE_FORMAT_ORIGINAL=r,Ri.SOURCE_FORMAT_ARRAY_ROWS=t,Ri.SOURCE_FORMAT_OBJECT_ROWS=e,Ri.SOURCE_FORMAT_KEYED_COLUMNS=a,Ri.SOURCE_FORMAT_UNKNOWN=i,Ri.SOURCE_FORMAT_TYPED_ARRAY=n,Ri.SERIES_LAYOUT_BY_COLUMN=o,Ri.SERIES_LAYOUT_BY_ROW=s,Ri}var d_,gN;function ff(){if(gN)return d_;gN=1;var r=ie(),t=r.createHashMap,e=r.isTypedArray,a=Dn(),i=a.enableClassCheck,n=hf(),o=n.SOURCE_FORMAT_ORIGINAL,s=n.SERIES_LAYOUT_BY_COLUMN,l=n.SOURCE_FORMAT_UNKNOWN,u=n.SOURCE_FORMAT_TYPED_ARRAY,v=n.SOURCE_FORMAT_KEYED_COLUMNS;function h(c){this.fromDataset=c.fromDataset,this.data=c.data||(c.sourceFormat===v?{}:[]),this.sourceFormat=c.sourceFormat||l,this.seriesLayoutBy=c.seriesLayoutBy||s,this.dimensionsDefine=c.dimensionsDefine,this.encodeDefine=c.encodeDefine&&t(c.encodeDefine),this.startIndex=c.startIndex||0,this.dimensionsDetectCount=c.dimensionsDetectCount}h.seriesDataToSource=function(c){return new h({data:c,sourceFormat:e(c)?u:o,fromDataset:!1})},i(h);var f=h;return d_=f,d_}var mN;function Ln(){if(mN)return Pi;mN=1;var r=It();r.__DEV__;var t=_t(),e=t.makeInner,a=t.getDataItemValue,i=ie(),n=i.createHashMap,o=i.each,s=i.map,l=i.isArray,u=i.isString,v=i.isObject,h=i.isTypedArray,f=i.isArrayLike,c=i.extend;i.assert;var d=ff(),p=hf(),g=p.SOURCE_FORMAT_ORIGINAL,m=p.SOURCE_FORMAT_ARRAY_ROWS,y=p.SOURCE_FORMAT_OBJECT_ROWS,_=p.SOURCE_FORMAT_KEYED_COLUMNS,x=p.SOURCE_FORMAT_UNKNOWN,S=p.SOURCE_FORMAT_TYPED_ARRAY,b=p.SERIES_LAYOUT_BY_ROW,w={Must:1,Might:2,Not:3},A=e();function T(N){var O=N.option.source,z=x;if(h(O))z=S;else if(l(O)){O.length===0&&(z=m);for(var G=0,q=O.length;G=0;B--)p.isIdInner(E[B])&&E.splice(B,1);R[k]=E}}),delete R[b],R},getTheme:function(){return this._theme},getComponent:function(R,E){var k=this._componentsMap.get(R);if(k)return k[E||0]},queryComponents:function(R){var E=R.mainType;if(!E)return[];var k=R.index,B=R.id,F=R.name,V=this._componentsMap.get(E);if(!V||!V.length)return[];var N;if(k!=null)n(k)||(k=[k]),N=a(i(k,function(G){return V[G]}),function(G){return!!G});else if(B!=null){var O=n(B);N=a(V,function(G){return O&&o(B,G.id)>=0||!O&&G.id===B})}else if(F!=null){var z=n(F);N=a(V,function(G){return z&&o(F,G.name)>=0||!z&&G.name===F})}else N=V.slice();return P(N,R)},findComponents:function(R){var E=R.query,k=R.mainType,B=V(E),F=B?this.queryComponents(B):this._componentsMap.get(k);return N(P(F,R));function V(O){var z=k+"Index",G=k+"Id",q=k+"Name";return O&&(O[z]!=null||O[G]!=null||O[q]!=null)?{mainType:k,index:O[z],id:O[G],name:O[q]}:null}function N(O){return R.filter?a(O,R.filter):O}},eachComponent:function(R,E,k){var B=this._componentsMap;if(typeof R=="function")k=E,E=R,B.each(function(V,N){e(V,function(O,z){E.call(k,N,O,z)})});else if(l(R))e(B.get(R),E,k);else if(s(R)){var F=this.findComponents(R);e(F,E,k)}},getSeriesByName:function(R){var E=this._componentsMap.get("series");return a(E,function(k){return k.name===R})},getSeriesByIndex:function(R){return this._componentsMap.get("series")[R]},getSeriesByType:function(R){var E=this._componentsMap.get("series");return a(E,function(k){return k.subType===R})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(R,E){e(this._seriesIndices,function(k){var B=this._componentsMap.get("series")[k];R.call(E,B,k)},this)},eachRawSeries:function(R,E){e(this._componentsMap.get("series"),R,E)},eachSeriesByType:function(R,E,k){e(this._seriesIndices,function(B){var F=this._componentsMap.get("series")[B];F.subType===R&&E.call(k,F,B)},this)},eachRawSeriesByType:function(R,E,k){return e(this.getSeriesByType(R),E,k)},isSeriesFiltered:function(R){return this._seriesIndicesMap.get(R.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(R,E){var k=a(this._componentsMap.get("series"),R,E);D(this,k)},restoreData:function(R){var E=this._componentsMap;D(this,E.get("series"));var k=[];E.each(function(B,F){k.push(F)}),m.topologicalTravel(k,m.getAllClassMainTypes(),function(B,F){e(E.get(B),function(V){(B!=="series"||!A(V,R))&&V.restoreData()})})}});function A(R,E){if(E){var k=E.seiresIndex,B=E.seriesId,F=E.seriesName;return k!=null&&R.componentIndex!==k||B!=null&&R.id!==B||F!=null&&R.name!==F}}function T(R,E){var k=R.color&&!R.colorLayer;e(E,function(B,F){F==="colorLayer"&&k||m.hasClass(F)||(typeof B=="object"?R[F]=R[F]?f(R[F],B,!1):h(B):R[F]==null&&(R[F]=B))})}function C(R){R=R,this.option={},this.option[b]=1,this._componentsMap=u({series:[]}),this._seriesIndices,this._seriesIndicesMap,T(R,this._theme.option),f(R,y,!1),this.mergeOption(R)}function M(R,E){n(E)||(E=E?[E]:[]);var k={};return e(E,function(B){k[B]=(R.get(B)||[]).slice()}),k}function L(R,E,k){var B=E.type?E.type:k?k.subType:m.determineSubType(R,E);return B}function D(R,E){R._seriesIndicesMap=u(R._seriesIndices=i(E,function(k){return k.componentIndex})||[])}function P(R,E){return E.hasOwnProperty("subType")?a(R,function(k){return k.subType===E.subType}):R}d(w,_);var I=w;return p_=I,p_}var g_,_N;function W9(){if(_N)return g_;_N=1;var r=ie(),t=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function e(i){r.each(t,function(n){this[n]=r.bind(i[n],i)},this)}var a=e;return g_=a,g_}var m_,xN;function bi(){if(xN)return m_;xN=1;var r=ie(),t={};function e(){this._coordinateSystems=[]}e.prototype={constructor:e,create:function(i,n){var o=[];r.each(t,function(s,l){var u=s.create(i,n);o=o.concat(u||[])}),this._coordinateSystems=o},update:function(i,n){r.each(this._coordinateSystems,function(o){o.update&&o.update(i,n)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},e.register=function(i,n){t[i]=n},e.get=function(i){return t[i]};var a=e;return m_=a,m_}var y_,SN;function Jpe(){if(SN)return y_;SN=1;var r=ie(),t=_t(),e=Lr(),a=r.each,i=r.clone,n=r.map,o=r.merge,s=/^(min|max)?(.+)$/;function l(p){this._api=p,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}l.prototype={constructor:l,setOption:function(p,g){p&&r.each(t.normalizeToArray(p.series),function(_){_&&_.data&&r.isTypedArray(_.data)&&r.setAsPrimitive(_.data)}),p=i(p);var m=this._optionBackup,y=u.call(this,p,g,!m);this._newBaseOption=y.baseOption,m?(c(m.baseOption,y.baseOption),y.timelineOptions.length&&(m.timelineOptions=y.timelineOptions),y.mediaList.length&&(m.mediaList=y.mediaList),y.mediaDefault&&(m.mediaDefault=y.mediaDefault)):this._optionBackup=y},mountOption:function(p){var g=this._optionBackup;return this._timelineOptions=n(g.timelineOptions,i),this._mediaList=n(g.mediaList,i),this._mediaDefault=i(g.mediaDefault),this._currentMediaIndices=[],i(p?g.baseOption:this._newBaseOption)},getTimelineOption:function(p){var g,m=this._timelineOptions;if(m.length){var y=p.getComponent("timeline");y&&(g=i(m[y.getCurrentIndex()],!0))}return g},getMediaOption:function(p){var g=this._api.getWidth(),m=this._api.getHeight(),y=this._mediaList,_=this._mediaDefault,x=[],S=[];if(!y.length&&!_)return S;for(var b=0,w=y.length;b=g:m==="max"?p<=g:p===g}function f(p,g){return p.join(",")===g.join(",")}function c(p,g){g=g||{},a(g,function(m,y){if(m!=null){var _=p[y];if(!e.hasClass(y))p[y]=o(_,m,!0);else{m=t.normalizeToArray(m),_=t.normalizeToArray(_);var x=t.mappingToExists(_,m);p[y]=n(x,function(S){return S.option&&S.exist?o(S.exist,S.option,!0):S.exist||S.option})}}})}var d=l;return y_=d,y_}var __,bN;function ege(){if(bN)return __;bN=1;var r=ie(),t=_t(),e=r.each,a=r.isObject,i=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function n(d){var p=d&&d.itemStyle;if(p)for(var g=0,m=i.length;g=0;S--){var b=n[S];if(f||(_=b.data.rawIndexOf(b.stackedByDimension,y)),_>=0){var w=b.data.getByRawIndex(b.stackResultDimension,_);if(m>=0&&w>0||m<=0&&w<0){m+=w,x=w;break}}}return l[0]=m,l[1]=x,l});h.hostModel.setData(c),o.data=c})}return S_=a,S_}var bl={},AN;function Ys(){if(AN)return bl;AN=1;var r=It();r.__DEV__;var t=ie();t.isTypedArray;var e=t.extend;t.assert;var a=t.each,i=t.isObject,n=_t(),o=n.getDataItemValue,s=n.isDataItemOption,l=st(),u=l.parseDate,v=ff(),h=hf(),f=h.SOURCE_FORMAT_TYPED_ARRAY,c=h.SOURCE_FORMAT_ARRAY_ROWS,d=h.SOURCE_FORMAT_ORIGINAL,p=h.SOURCE_FORMAT_OBJECT_ROWS;function g(D,P){v.isInstance(D)||(D=v.seriesDataToSource(D)),this._source=D;var I=this._data=D.data,R=D.sourceFormat;R===f&&(this._offset=0,this._dimSize=P,this._data=I);var E=y[R===c?R+"_"+D.seriesLayoutBy:R];e(this,E)}var m=g.prototype;m.pure=!1,m.persistent=!0,m.getSource=function(){return this._source};var y={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(D){return this._data[D+this._source.startIndex]},appendData:S},arrayRows_row:{pure:!0,count:function(){var D=this._data[0];return D?Math.max(0,D.length-this._source.startIndex):0},getItem:function(D){D+=this._source.startIndex;for(var P=[],I=this._data,R=0;R=1)&&(C=1),C}var _;(this._dirty||c==="reset")&&(this._dirty=!1,_=l(this,h)),this._modBy=g,this._modDataCount=m;var x=u&&u.step;if(v?this._dueEnd=v._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var S=this._dueIndex,b=Math.min(x!=null?this._dueIndex+x:1/0,this._dueEnd);if(!h&&(_||S1&&f>0?g:p}};return d;function p(){return v=u?null:m":"\n",O=F==="richText",z={},G=0;function q(ve){var ye=t.reduce(ve,function(me,xe,ge){var pe=U.getDimensionInfo(ge);return me|=pe&&pe.tooltip!==!1&&pe.displayName!=null},0),Me=[];W.length?t.each(W,function(me){J(S(U,E,me),me)}):t.each(ve,J);function J(me,xe){var ge=U.getDimensionInfo(xe);if(!(!ge||ge.otherDims.tooltip===!1)){var pe=ge.type,Ce="sub"+V.seriesIndex+"at"+G,ze=s({color:Q,type:"subItem",renderMode:F,markerId:Ce}),Ve=typeof ze=="string"?ze:ze.content,ke=(ye?Ve+n(ge.displayName||"-")+": ":"")+n(pe==="ordinal"?me+"":pe==="time"?k?"":i("yyyy/MM/dd hh:mm:ss",me):o(me));ke&&Me.push(ke),O&&(z[Ce]=Q,++G)}}var ne=ye?O?"\n":"
":"",ue=ne+Me.join(ne||", ");return{renderMode:F,content:ue,style:z}}function H(ve){return{renderMode:F,content:n(o(ve)),style:z}}var U=this.getData(),W=U.mapDimension("defaultedTooltip",!0),Y=W.length,X=this.getRawValue(E),K=t.isArray(X),Q=U.getItemVisual(E,"color");t.isObject(Q)&&Q.colorStops&&(Q=(Q.colorStops[0]||{}).color),Q=Q||"transparent";var j=Y>1||K&&!Y?q(X):H(Y?S(U,E,W[0]):K?X[0]:X),te=j.content,Z=V.seriesIndex+"at"+G,ee=s({color:Q,type:"item",renderMode:F,markerId:Z});z[Z]=Q,++G;var le=U.getName(E),oe=this.name;l.isNameSpecified(this)||(oe=""),oe=oe?n(oe)+(k?": ":N):"";var fe=typeof ee=="string"?ee:ee.content,se=k?fe+oe+te:oe+fe+(le?n(le)+": "+te:te);return{html:se,markers:z}},isAnimationEnabled:function(){if(e.node)return!1;var E=this.getShallow("animation");return E&&this.getData().count()>this.getShallow("animationThreshold")&&(E=!1),E},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(E,k,B){var F=this.ecModel,V=v.getColorFromPalette.call(this,E,k,B);return V||(V=F.getColorFromPalette(E,k,B)),V},coordDimToDataDim:function(E){return this.getRawData().mapDimension(E,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});t.mixin(w,h),t.mixin(w,v);function A(E){var k=E.name;l.isNameSpecified(E)||(E.name=T(E)||k)}function T(E){var k=E.getRawData(),B=k.mapDimension("seriesName",!0),F=[];return t.each(B,function(V){var N=k.getDimensionInfo(V);N.displayName&&F.push(N.displayName)}),F.join(" ")}function C(E){return E.model.getRawData().count()}function M(E){var k=E.model;return k.setData(k.getRawData().cloneShallow()),L}function L(E,k){k.outputData&&E.end>k.outputData.count()&&k.model.getRawData().cloneShallow(k.outputData)}function D(E,k){t.each(E.CHANGABLE_METHODS,function(B){E.wrapMethod(B,t.curry(P,k))})}function P(E){var k=I(E);k&&k.setOutputEnd(this.count())}function I(E){var k=(E.ecModel||{}).scheduler,B=k&&k.getPipeline(E.uid);if(B){var F=B.currentTask;if(F){var V=F.agentStubMap;V&&(F=V.get(E.uid))}return F}}var R=w;return T_=R,T_}var A_,LN;function fg(){if(LN)return A_;LN=1;var r=Us(),t=vf(),e=Dn(),a=function(){this.group=new r,this.uid=t.getUID("viewComponent")};a.prototype={constructor:a,init:function(o,s){},render:function(o,s,l,u){},dispose:function(){},filterForExposedEvent:null};var i=a.prototype;i.updateView=i.updateLayout=i.updateVisual=function(o,s,l,u){},e.enableClassExtend(a),e.enableClassManagement(a,{registerWhenExtend:!0});var n=a;return A_=n,A_}var C_,IN;function Cu(){if(IN)return C_;IN=1;var r=_t(),t=r.makeInner;function e(){var a=t();return function(i){var n=a(i),o=i.pipelineContext,s=n.large,l=n.progressiveRender,u=n.large=o&&o.large,v=n.progressiveRender=o&&o.progressiveRender;return!!(s^u||l^v)&&"reset"}}return C_=e,C_}var M_,PN;function tn(){if(PN)return M_;PN=1;var r=ie(),t=r.each,e=Us(),a=vf(),i=Dn(),n=_t(),o=qe(),s=iD(),l=s.createTask,u=Cu(),v=n.makeInner(),h=u();function f(){this.group=new e,this.uid=a.getUID("viewChart"),this.renderTask=l({plan:g,reset:m}),this.renderTask.context={view:this}}f.prototype={type:"chart",init:function(x,S){},render:function(x,S,b,w){},highlight:function(x,S,b,w){p(x.getData(),w,"emphasis")},downplay:function(x,S,b,w){p(x.getData(),w,"normal")},remove:function(x,S){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var c=f.prototype;c.updateView=c.updateLayout=c.updateVisual=function(x,S,b,w){this.render(x,S,b,w)};function d(x,S,b){if(x&&(x.trigger(S,b),x.isGroup&&!o.isHighDownDispatcher(x)))for(var w=0,A=x.childCount();w=0?m():f=setTimeout(m,-c),v=u};return y.clear=function(){f&&(clearTimeout(f),f=null)},y.debounceNextCall=function(_){g=_},y}function i(o,s,l,u){var v=o[s];if(v){var h=v[r]||v,f=v[e],c=v[t];if(c!==l||f!==u){if(l==null||!u)return o[s]=h;v=o[s]=a(h,l,u==="debounce"),v[r]=h,v[e]=u,v[t]=l}return v}}function n(o,s){var l=o[s];l&&l[r]&&(o[s]=l[r])}return dv.throttle=a,dv.createOrUpdate=i,dv.clear=n,dv}var D_,EN;function age(){if(EN)return D_;EN=1;var r=hg(),t=ie(),e=t.isFunction,a={createOnAllSeries:!0,performRawSeries:!0,reset:function(i,n){var o=i.getData(),s=(i.visualColorAccessPath||"itemStyle.color").split("."),l=i.get(s),u=e(l)&&!(l instanceof r)?l:null;(!l||u)&&(l=i.getColorFromPalette(i.name,null,n.getSeriesCount())),o.setVisual("color",l);var v=(i.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),h=i.get(v);if(o.setVisual("borderColor",h),!n.isSeriesFiltered(i)){u&&o.each(function(c){o.setItemVisual(c,"color",u(i.getDataParams(c)))});var f=function(c,d){var p=c.getItemModel(d),g=p.get(s,!0),m=p.get(v,!0);g!=null&&c.setItemVisual(d,"color",g),m!=null&&c.setItemVisual(d,"borderColor",m)};return{dataEach:o.hasItemOption?f:null}}}};return D_=a,D_}var L_,kN;function xo(){if(kN)return L_;kN=1;var r={legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};return L_=r,L_}var I_,ON;function ige(){if(ON)return I_;ON=1;var r=ie(),t=xo(),e=Ys(),a=e.retrieveRawValue;function i(n,o){var s=o.getModel("aria");if(s.get("show")){if(s.get("description")){n.setAttribute("aria-label",s.get("description"));return}}else return;var l=0;o.eachSeries(function(x,S){++l},this);var u=s.get("data.maxCount")||10,v=s.get("series.maxCount")||10,h=Math.min(l,v),f;if(l<1)return;var c=y();c?f=g(m("general.withTitle"),{title:c}):f=m("general.withoutTitle");var d=[],p=l>1?"series.multiple.prefix":"series.single.prefix";f+=g(m(p),{seriesCount:l}),o.eachSeries(function(x,S){if(S1?"multiple":"single")+".";b=m(w?A+"withName":A+"withoutName"),b=g(b,{seriesId:x.seriesIndex,seriesName:x.get("name"),seriesType:_(x.subType)});var T=x.getData();window.data=T,T.count()>u?b+=g(m("data.partialData"),{displayCnt:u}):b+=m("data.allData");for(var C=[],M=0;MN.blockIndex,G=z?N.step:null,q=O&&O.modDataCount,H=q!=null?Math.ceil(q/G):null;return{step:G,modBy:H,modDataCount:q}}},p.getPipeline=function(F){return this._pipelineMap.get(F)},p.updateStreamModes=function(F,V){var N=this._pipelineMap.get(F.uid),O=F.getData(),z=O.count(),G=N.progressiveEnabled&&V.incrementalPrepareRender&&z>=N.threshold,q=F.get("large")&&z>=F.get("largeThreshold"),H=F.get("progressiveChunkMode")==="mod"?z:null;F.pipelineContext=N.context={progressiveRender:G,modDataCount:H,large:q}},p.restorePipelines=function(F){var V=this,N=V._pipelineMap=i();F.eachSeries(function(O){var z=O.getProgressive(),G=O.uid;N.set(G,{id:G,head:null,tail:null,threshold:O.getProgressiveThreshold(),progressiveEnabled:z&&!(O.preventIncremental&&O.preventIncremental()),blockIndex:-1,step:Math.round(z||700),count:0}),D(V,O,O.dataTask)})},p.prepareStageTasks=function(){var F=this._stageTaskMap,V=this.ecInstance.getModel(),N=this.api;t(this._allHandlers,function(O){var z=F.get(O.uid)||F.set(O.uid,[]);O.reset&&y(this,O,z,V,N),O.overallReset&&_(this,O,z,V,N)},this)},p.prepareView=function(F,V,N,O){var z=F.renderTask,G=z.context;G.model=V,G.ecModel=N,G.api=O,z.__block=!F.incrementalPrepareRender,D(this,V,z)},p.performDataProcessorTasks=function(F,V){g(this,this._dataProcessorHandlers,F,V,{block:!0})},p.performVisualTasks=function(F,V,N){g(this,this._visualHandlers,F,V,N)};function g(F,V,N,O,z){z=z||{};var G;t(V,function(H,U){if(!(z.visualType&&z.visualType!==H.visualType)){var W=F._stageTaskMap.get(H.uid),Y=W.seriesTaskMap,X=W.overallTask;if(X){var K,Q=X.agentStubMap;Q.each(function(te){q(z,te)&&(te.dirty(),K=!0)}),K&&X.dirty(),m(X,O);var j=F.getPerformArgs(X,z.block);Q.each(function(te){te.perform(j)}),G|=X.perform(j)}else Y&&Y.each(function(te,Z){q(z,te)&&te.dirty();var ee=F.getPerformArgs(te,z.block);ee.skip=!H.performRawSeries&&N.isSeriesFiltered(te.context.model),m(te,O),G|=te.perform(ee)})}});function q(H,U){return H.setDirty&&(!H.dirtyMap||H.dirtyMap.get(U.__pipeline.id))}F.unfinished|=G}p.performSeriesTasks=function(F){var V;F.eachSeries(function(N){V|=N.dataTask.perform()}),this.unfinished|=V},p.plan=function(){this._pipelineMap.each(function(F){var V=F.tail;do{if(V.__block){F.blockIndex=V.__idxInPipeline;break}V=V.getUpstream()}while(V)})};var m=p.updatePayload=function(F,V){V!=="remain"&&(F.context.payload=V)};function y(F,V,N,O,z){var G=N.seriesTaskMap||(N.seriesTaskMap=i()),q=V.seriesType,H=V.getTargetSeries;V.createOnAllSeries?O.eachRawSeries(U):q?O.eachRawSeriesByType(q,U):H&&H(O,z).each(U);function U(Y){var X=Y.uid,K=G.get(X)||G.set(X,s({plan:A,reset:T,count:L}));K.context={model:Y,ecModel:O,api:z,useClearVisual:V.isVisual&&!V.isLayout,plan:V.plan,reset:V.reset,scheduler:F},D(F,Y,K)}var W=F._pipelineMap;G.each(function(Y,X){W.get(X)||(Y.dispose(),G.removeKey(X))})}function _(F,V,N,O,z){var G=N.overallTask=N.overallTask||s({reset:x});G.context={ecModel:O,api:z,overallReset:V.overallReset,scheduler:F};var q=G.agentStubMap=G.agentStubMap||i(),H=V.seriesType,U=V.getTargetSeries,W=!0,Y=V.modifyOutputEnd;H?O.eachRawSeriesByType(H,X):U?U(O,z).each(X):(W=!1,t(O.getSeries(),X));function X(Q){var j=Q.uid,te=q.get(j);te||(te=q.set(j,s({reset:S,onDirty:w})),G.dirty()),te.context={model:Q,overallProgress:W,modifyOutputEnd:Y},te.agent=G,te.__block=W,D(F,Q,te)}var K=F._pipelineMap;q.each(function(Q,j){K.get(j)||(Q.dispose(),G.dirty(),q.removeKey(j))})}function x(F){F.overallReset(F.ecModel,F.api,F.payload)}function S(F,V){return F.overallProgress&&b}function b(){this.agent.dirty(),this.getDownstream().dirty()}function w(){this.agent&&this.agent.dirty()}function A(F){return F.plan&&F.plan(F.model,F.ecModel,F.api,F.payload)}function T(F){F.useClearVisual&&F.data.clearAllVisual();var V=F.resetDefines=c(F.reset(F.model,F.ecModel,F.api,F.payload));return V.length>1?e(V,function(N,O){return M(O)}):C}var C=M(0);function M(F){return function(V,N){var O=N.data,z=N.resetDefines[F];if(z&&z.dataEach)for(var G=V.start;G=4&&(X={x:parseFloat(Q[0]||0),y:parseFloat(Q[1]||0),width:parseFloat(Q[2]),height:parseFloat(Q[3])})}if(X&&U!=null&&W!=null&&(K=V(X,U,W),!z.ignoreViewBox)){var j=q;q=new r,q.add(j),j.scale=K.scale.slice(),j.position=K.position.slice()}return!z.ignoreRootClip&&U!=null&&W!=null&&q.setClipPath(new i({shape:{x:0,y:0,width:U,height:W}})),{root:q,width:U,height:W,viewBoxRect:X,viewBoxTransform:K}},w.prototype._parseNode=function(O,z){var G=O.nodeName.toLowerCase();G==="defs"?this._isDefine=!0:G==="text"&&(this._isText=!0);var q;if(this._isDefine){var H=T[G];if(H){var U=H.call(this,O),W=O.getAttribute("id");W&&(this._defs[W]=U)}}else{var H=A[G];H&&(q=H.call(this,O,z),z.add(q))}for(var Y=O.firstChild;Y;)Y.nodeType===1&&this._parseNode(Y,q),Y.nodeType===3&&this._isText&&this._parseText(Y,q),Y=Y.nextSibling;G==="defs"?this._isDefine=!1:G==="text"&&(this._isText=!1)},w.prototype._parseText=function(O,z){if(O.nodeType===1){var G=O.getAttribute("dx")||0,q=O.getAttribute("dy")||0;this._textX+=parseFloat(G),this._textY+=parseFloat(q)}var H=new e({style:{text:O.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});M(z,H),P(O,H,this._defs);var U=H.style.fontSize;U&&U<9&&(H.style.fontSize=9,H.scale=H.scale||[1,1],H.scale[0]*=U/9,H.scale[1]*=U/9);var W=H.getBoundingRect();return this._textX+=W.width,z.add(H),H};var A={g:function(O,z){var G=new r;return M(z,G),P(O,G,this._defs),G},rect:function(O,z){var G=new i;return M(z,G),P(O,G,this._defs),G.setShape({x:parseFloat(O.getAttribute("x")||0),y:parseFloat(O.getAttribute("y")||0),width:parseFloat(O.getAttribute("width")||0),height:parseFloat(O.getAttribute("height")||0)}),G},circle:function(O,z){var G=new a;return M(z,G),P(O,G,this._defs),G.setShape({cx:parseFloat(O.getAttribute("cx")||0),cy:parseFloat(O.getAttribute("cy")||0),r:parseFloat(O.getAttribute("r")||0)}),G},line:function(O,z){var G=new o;return M(z,G),P(O,G,this._defs),G.setShape({x1:parseFloat(O.getAttribute("x1")||0),y1:parseFloat(O.getAttribute("y1")||0),x2:parseFloat(O.getAttribute("x2")||0),y2:parseFloat(O.getAttribute("y2")||0)}),G},ellipse:function(O,z){var G=new n;return M(z,G),P(O,G,this._defs),G.setShape({cx:parseFloat(O.getAttribute("cx")||0),cy:parseFloat(O.getAttribute("cy")||0),rx:parseFloat(O.getAttribute("rx")||0),ry:parseFloat(O.getAttribute("ry")||0)}),G},polygon:function(O,z){var G=O.getAttribute("points");G&&(G=L(G));var q=new l({shape:{points:G||[]}});return M(z,q),P(O,q,this._defs),q},polyline:function(O,z){var G=new s;M(z,G),P(O,G,this._defs);var q=O.getAttribute("points");q&&(q=L(q));var H=new u({shape:{points:q||[]}});return H},image:function(O,z){var G=new t;return M(z,G),P(O,G,this._defs),G.setStyle({image:O.getAttribute("xlink:href"),x:O.getAttribute("x"),y:O.getAttribute("y"),width:O.getAttribute("width"),height:O.getAttribute("height")}),G},text:function(O,z){var G=O.getAttribute("x")||0,q=O.getAttribute("y")||0,H=O.getAttribute("dx")||0,U=O.getAttribute("dy")||0;this._textX=parseFloat(G)+parseFloat(H),this._textY=parseFloat(q)+parseFloat(U);var W=new r;return M(z,W),P(O,W,this._defs),W},tspan:function(O,z){var G=O.getAttribute("x"),q=O.getAttribute("y");G!=null&&(this._textX=parseFloat(G)),q!=null&&(this._textY=parseFloat(q));var H=O.getAttribute("dx")||0,U=O.getAttribute("dy")||0,W=new r;return M(z,W),P(O,W,this._defs),this._textX+=H,this._textY+=U,W},path:function(O,z){var G=O.getAttribute("d")||"",q=d(G);return M(z,q),P(O,q,this._defs),q}},T={lineargradient:function(O){var z=parseInt(O.getAttribute("x1")||0,10),G=parseInt(O.getAttribute("y1")||0,10),q=parseInt(O.getAttribute("x2")||10,10),H=parseInt(O.getAttribute("y2")||0,10),U=new v(z,G,q,H);return C(O,U),U},radialgradient:function(O){}};function C(O,z){for(var G=O.firstChild;G;){if(G.nodeType===1){var q=G.getAttribute("offset");q.indexOf("%")>0?q=parseInt(q,10)/100:q?q=parseFloat(q):q=0;var H=G.getAttribute("stop-color")||"#000000";z.addColorStop(q,H)}G=G.nextSibling}}function M(O,z){O&&O.__inheritedStyle&&(z.__inheritedStyle||(z.__inheritedStyle={}),y(z.__inheritedStyle,O.__inheritedStyle))}function L(O){for(var z=_(O).split(S),G=[],q=0;q0;U-=2){var W=H[U],Y=H[U-1];switch(q=q||f.create(),Y){case"translate":W=_(W).split(S),f.translate(q,q,[parseFloat(W[0]),parseFloat(W[1]||0)]);break;case"scale":W=_(W).split(S),f.scale(q,q,[parseFloat(W[0]),parseFloat(W[1]||W[0])]);break;case"rotate":W=_(W).split(S),f.rotate(q,q,parseFloat(W[0]));break;case"skew":W=_(W).split(S),console.warn("Skew transform is not supported yet");break;case"matrix":var W=_(W).split(S);q[0]=parseFloat(W[0]),q[1]=parseFloat(W[1]),q[2]=parseFloat(W[2]),q[3]=parseFloat(W[3]),q[4]=parseFloat(W[4]),q[5]=parseFloat(W[5]);break}}z.setLocalTransform(q)}}var B=/([^\s:;]+)\s*:\s*([^:;]+)/g;function F(O){var z=O.getAttribute("style"),G={};if(!z)return G;var q={};B.lastIndex=0;for(var H;(H=B.exec(z))!=null;)q[H[1]]=H[2];for(var U in D)D.hasOwnProperty(U)&&q[U]!=null&&(G[D[U]]=q[U]);return G}function V(O,z,G){var q=z/O.width,H=G/O.height,U=Math.min(q,H),W=[U,U],Y=[-(O.x+O.width/2)*U+z/2,-(O.y+O.height/2)*U+G/2];return{scale:W,position:Y}}function N(O,z){var G=new w;return G.parse(O,z)}return pv.parseXML=b,pv.makeViewBoxTransform=V,pv.parseSVG=N,pv}var N_,WN;function nD(){if(WN)return N_;WN=1;var r=It();r.__DEV__;var t=ie(),e=t.createHashMap,a=t.isString,i=t.isArray,n=t.each;t.assert;var o=$9(),s=o.parseXML,l=e(),u={registerMap:function(h,f,c){var d;return i(f)?d=f:f.svg?d=[{type:"svg",source:f.svg,specialAreas:f.specialAreas}]:(f.geoJson&&!f.features&&(c=f.specialAreas,f=f.geoJson),d=[{type:"geoJSON",source:f,specialAreas:c}]),n(d,function(p){var g=p.type;g==="geoJson"&&(g=p.type="geoJSON");var m=v[g];m(p)}),l.set(h,d)},retrieveMap:function(h){return l.get(h)}},v={geoJSON:function(h){var f=h.source;h.geoJSON=a(f)?typeof JSON<"u"&&JSON.parse?JSON.parse(f):new Function("return ("+f+");")():f},svg:function(h){h.svgXML=s(h.source)}};return N_=u,N_}var Er={},Ei={},z_,UN;function Zs(){if(UN)return z_;UN=1;function r(i){return i}function t(i,n,o,s,l){this._old=i,this._new=n,this._oldKeyGetter=o||r,this._newKeyGetter=s||r,this.context=l}t.prototype={constructor:t,add:function(i){return this._add=i,this},update:function(i){return this._update=i,this},remove:function(i){return this._remove=i,this},execute:function(){var i=this._old,n=this._new,o={},s={},l=[],u=[],v;for(e(i,o,l,"_oldKeyGetter",this),e(n,s,u,"_newKeyGetter",this),v=0;v65535?g:y}function x(N){var O=N.constructor;return O===Array?N.slice():new O(N)}var S=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],b=["_extent","_approximateExtent","_rawExtent"];function w(N,O){t.each(S.concat(O.__wrappedMethods||[]),function(z){O.hasOwnProperty(z)&&(N[z]=O[z])}),N.__wrappedMethods=O.__wrappedMethods,t.each(b,function(z){N[z]=t.clone(O[z])}),N._calculationInfo=t.extend(O._calculationInfo)}var A=function(N,O){N=N||["x","y"];for(var z={},G=[],q={},H=0;Hse[1]&&(se[1]=fe)}O&&(this._nameList[te]=O[Z])}this._rawCount=this._count=Y,this._extent={},M(this)},T._initDataFromProvider=function(N,O){if(!(N>=O)){for(var z=this._chunkSize,G=this._rawData,q=this._storage,H=this.dimensions,U=H.length,W=this._dimensionInfos,Y=this._nameList,X=this._idList,K=this._rawExtent,Q=this._nameRepeatCount={},j,te=this._chunkCount,Z=0;Zne[1]&&(ne[1]=J)}if(!G.pure){var ue=Y[fe];if(oe&&ue==null){if(oe.name!=null)Y[fe]=ue=oe.name;else if(j!=null){var me=H[j],xe=q[me][se];if(xe){ue=xe[ve];var ge=W[me].ordinalMeta;ge&&ge.categories.length&&(ue=ge.categories[ue])}}}var pe=oe==null?null:oe.id;pe==null&&ue!=null&&(Q[ue]=Q[ue]||0,pe=ue,Q[ue]>0&&(pe+="__ec__"+Q[ue]),Q[ue]++),pe!=null&&(X[fe]=pe)}}!G.persistent&&G.clean&&G.clean(),this._rawCount=this._count=O,this._extent={},M(this)}};function C(N,O,z,G,q){var H=p[O.type],U=G-1,W=O.name,Y=N[W][U];if(Y&&Y.length=0&&O=0&&OW&&(W=X)}return H=[U,W],this._extent[N]=H,H},T.getApproximateExtent=function(N){return N=this.getDimension(N),this._approximateExtent[N]||this.getDataExtent(N)},T.setApproximateExtent=function(N,O){O=this.getDimension(O),this._approximateExtent[O]=N.slice()},T.getCalculationInfo=function(N){return this._calculationInfo[N]},T.setCalculationInfo=function(N,O){h(N)?t.extend(this._calculationInfo,N):this._calculationInfo[N]=O},T.getSum=function(N){var O=this._storage[N],z=0;if(O)for(var G=0,q=this.count();G=this._rawCount||N<0)return-1;if(!this._indices)return N;var O=this._indices,z=O[N];if(z!=null&&zN)q=H-1;else return H}return-1},T.indicesOfNearest=function(N,O,z){var G=this._storage,q=G[N],H=[];if(!q)return H;z==null&&(z=1/0);for(var U=1/0,W=-1,Y=0,X=0,K=this.count();X=0&&W<0)&&(U=j,W=Q,Y=0),Q===W&&(H[Y++]=X))}return H.length=Y,H},T.getRawIndex=D;function D(N){return N}function P(N){return N=0?this._indices[N]:-1}T.getRawDataItem=function(N){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(N));for(var O=[],z=0;z=X&&fe<=K||isNaN(fe))&&(U[W++]=j),j++}Q=!0}else if(G===2){for(var te=this._storage[Y],se=this._storage[O[1]],ve=N[O[1]][0],ye=N[O[1]][1],Z=0;Z=X&&fe<=K||isNaN(fe))&&(J>=ve&&J<=ye||isNaN(J))&&(U[W++]=j),j++}Q=!0}}if(!Q)if(G===1)for(var oe=0;oe=X&&fe<=K||isNaN(fe))&&(U[W++]=ne)}else for(var oe=0;oeN[me][1])&&(ue=!1)}ue&&(U[W++]=this.getRawIndex(oe))}return W=0?(q[W]=k(H[W]),G._rawExtent[W]=B(),G._extent[W]=null):q[W]=H[W])}return G}function k(N){for(var O=new Array(N.length),z=0;zye[1]&&(ye[1]=ve)}}}return q},T.downSample=function(N,O,z,G){for(var q=E(this,[N]),H=q._storage,U=[],W=Math.floor(1/O),Y=H[N],X=this.count(),K=this._chunkSize,Q=q._rawExtent[N],j=new(_(this))(X),te=0,Z=0;ZX-Z&&(W=X-Z,U.length=W);for(var ee=0;eeQ[1]&&(Q[1]=se),j[te++]=ve}return q._count=te,q._indices=j,q.getRawIndex=P,q},T.getItemModel=function(N){var O=this.hostModel;return new e(this.getRawDataItem(N),O,O&&O.ecModel)},T.diff=function(N){var O=this;return new a(N?N.getIndices():[],this.getIndices(),function(z){return I(N,z)},function(z){return I(O,z)})},T.getVisual=function(N){var O=this._visual;return O&&O[N]},T.setVisual=function(N,O){if(h(N)){for(var z in N)N.hasOwnProperty(z)&&this.setVisual(z,N[z]);return}this._visual=this._visual||{},this._visual[N]=O},T.setLayout=function(N,O){if(h(N)){for(var z in N)N.hasOwnProperty(z)&&this.setLayout(z,N[z]);return}this._layout[N]=O},T.getLayout=function(N){return this._layout[N]},T.getItemLayout=function(N){return this._itemLayouts[N]},T.setItemLayout=function(N,O,z){this._itemLayouts[N]=z?t.extend(this._itemLayouts[N]||{},O):O},T.clearItemLayouts=function(){this._itemLayouts.length=0},T.getItemVisual=function(N,O,z){var G=this._itemVisuals[N],q=G&&G[O];return q==null&&!z?this.getVisual(O):q},T.setItemVisual=function(N,O,z){var G=this._itemVisuals[N]||{},q=this.hasItemVisual;if(this._itemVisuals[N]=G,h(O)){for(var H in O)O.hasOwnProperty(H)&&(G[H]=O[H],q[H]=!0);return}G[O]=z,q[O]=!0},T.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var F=function(N){N.seriesIndex=this.seriesIndex,N.dataIndex=this.dataIndex,N.dataType=this.dataType};T.setItemGraphicEl=function(N,O){var z=this.hostModel;O&&(O.dataIndex=N,O.dataType=this.dataType,O.seriesIndex=z&&z.seriesIndex,O.type==="group"&&O.traverse(F,O)),this._graphicEls[N]=O},T.getItemGraphicEl=function(N){return this._graphicEls[N]},T.eachItemGraphicEl=function(N,O){t.each(this._graphicEls,function(z,G){z&&N&&N.call(O,z,G)})},T.cloneShallow=function(N){if(!N){var O=t.map(this.dimensions,this.getDimensionInfo,this);N=new A(O,this.hostModel)}if(N._storage=this._storage,w(N,this),this._indices){var z=this._indices.constructor;N._indices=new z(this._indices)}else N._indices=null;return N.getRawIndex=N._indices?P:D,N},T.wrapMethod=function(N,O){var z=this[N];typeof z=="function"&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(N),this[N]=function(){var G=z.apply(this,arguments);return O.apply(this,[G].concat(t.slice(arguments)))})},T.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],T.CHANGABLE_METHODS=["filterSelf","selectRange"];var V=A;return V_=V,V_}var G_,XN;function Z9(){if(XN)return G_;XN=1;var r=ie(),t=r.createHashMap,e=r.each,a=r.isString,i=r.defaults,n=r.extend,o=r.isObject,s=r.clone,l=_t(),u=l.normalizeToArray,v=Ln(),h=v.guessOrdinal,f=v.BE_ORDINAL,c=ff(),d=cf(),p=d.OTHER_DIMENSIONS,g=Y9();function m(S,b,w){c.isInstance(b)||(b=c.seriesDataToSource(b)),w=w||{},S=(S||[]).slice();for(var A=(w.dimsDef||[]).slice(),T=t(),C=t(),M=[],L=y(b,S,A,w.dimCount),D=0;D=i[0]&&a<=i[1]},t.prototype.normalize=function(a){var i=this._extent;return i[1]===i[0]?.5:(a-i[0])/(i[1]-i[0])},t.prototype.scale=function(a){var i=this._extent;return a*(i[1]-i[0])+i[0]},t.prototype.unionExtent=function(a){var i=this._extent;a[0]i[1]&&(i[1]=a[1])},t.prototype.unionExtentFromData=function(a,i){this.unionExtent(a.getApproximateExtent(i))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(a,i){var n=this._extent;isNaN(a)||(n[0]=a),isNaN(i)||(n[1]=i)},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(a){this._isBlank=a},t.prototype.getLabel=null,r.enableClassExtend(t),r.enableClassManagement(t,{registerWhenExtend:!0});var e=t;return W_=e,W_}var U_,tz;function X9(){if(tz)return U_;tz=1;var r=ie(),t=r.createHashMap,e=r.isObject,a=r.map;function i(u){this.categories=u.categories||[],this._needCollect=u.needCollect,this._deduplication=u.deduplication,this._map}i.createByAxisModel=function(u){var v=u.option,h=v.data,f=h&&a(h,s);return new i({categories:f,needCollect:!f,deduplication:v.dedplication!==!1})};var n=i.prototype;n.getOrdinal=function(u){return o(this).get(u)},n.parseAndCollect=function(u){var v,h=this._needCollect;if(typeof u!="string"&&!h)return u;if(h&&!this._deduplication)return v=this.categories.length,this.categories[v]=u,v;var f=o(this);return v=f.get(u),v==null&&(h?(v=this.categories.length,this.categories[v]=u,f.set(u,v)):v=NaN),v};function o(u){return u._map||(u._map=t(u.categories))}function s(u){return e(u)&&u.value!=null?u.value:u+""}var l=i;return U_=l,U_}var $_,rz;function hge(){if(rz)return $_;rz=1;var r=ie(),t=cg(),e=X9(),a=t.prototype,i=t.extend({type:"ordinal",init:function(o,s){(!o||r.isArray(o))&&(o=new e({categories:o})),this._ordinalMeta=o,this._extent=s||[0,o.categories.length-1]},parse:function(o){return typeof o=="string"?this._ordinalMeta.getOrdinal(o):Math.round(o)},contain:function(o){return o=this.parse(o),a.contain.call(this,o)&&this._ordinalMeta.categories[o]!=null},normalize:function(o){return a.normalize.call(this,this.parse(o))},scale:function(o){return Math.round(a.scale.call(this,o))},getTicks:function(){for(var o=[],s=this._extent,l=s[0];l<=s[1];)o.push(l),l++;return o},getLabel:function(o){if(!this.isBlank())return this._ordinalMeta.categories[o]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(o,s){this.unionExtent(o.getApproximateExtent(s))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:r.noop,niceExtent:r.noop});i.create=function(){return new i};var n=i;return $_=n,$_}var yv={},az;function K9(){if(az)return yv;az=1;var r=st(),t=r.round;function e(o,s,l,u){var v={},h=o[1]-o[0],f=v.interval=r.nice(h/s,!0);l!=null&&fu&&(f=v.interval=u);var c=v.intervalPrecision=a(f),d=v.niceTickExtent=[t(Math.ceil(o[0]/f)*f,c),t(Math.floor(o[1]/f)*f,c)];return n(d,o),v}function a(o){return r.getPrecisionSafe(o)+2}function i(o,s,l){o[s]=Math.max(Math.min(o[s],l[1]),l[0])}function n(o,s){!isFinite(o[0])&&(o[0]=s[0]),!isFinite(o[1])&&(o[1]=s[1]),i(o,0,s),i(o,1,s),o[0]>o[1]&&(o[0]=o[1])}return yv.intervalScaleNiceTicks=e,yv.getIntervalPrecision=a,yv.fixExtent=n,yv}var Y_,iz;function dg(){if(iz)return Y_;iz=1;var r=st(),t=Yt(),e=cg(),a=K9(),i=r.round,n=e.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(s,l){var u=this._extent;isNaN(s)||(u[0]=parseFloat(s)),isNaN(l)||(u[1]=parseFloat(l))},unionExtent:function(s){var l=this._extent;s[0]l[1]&&(l[1]=s[1]),n.prototype.setExtent.call(this,l[0],l[1])},getInterval:function(){return this._interval},setInterval:function(s){this._interval=s,this._niceExtent=this._extent.slice(),this._intervalPrecision=a.getIntervalPrecision(s)},getTicks:function(s){var l=this._interval,u=this._extent,v=this._niceExtent,h=this._intervalPrecision,f=[];if(!l)return f;var c=1e4;u[0]c)return[];var p=f.length?f[f.length-1]:v[1];return u[1]>p&&(s?f.push(i(p+l,h)):f.push(u[1])),f},getMinorTicks:function(s){for(var l=this.getTicks(!0),u=[],v=this.getExtent(),h=1;hv[0]&&y0&&(M=M===null?D:Math.min(M,D))}A[T]=M}}return A}function d(b){var w=c(b),A=[];return r.each(b,function(T){var C=T.coordinateSystem,M=C.getBaseAxis(),L=M.getExtent(),D;if(M.type==="category")D=M.getBandWidth();else if(M.type==="value"||M.type==="time"){var P=M.dim+"_"+M.index,I=w[P],R=Math.abs(L[1]-L[0]),E=M.scale.getExtent(),k=Math.abs(E[1]-E[0]);D=I?R/k*I:R}else{var B=T.getData();D=Math.abs(L[1]-L[0])/B.count()}var F=e(T.get("barWidth"),D),V=e(T.get("barMaxWidth"),D),N=e(T.get("barMinWidth")||1,D),O=T.get("barGap"),z=T.get("barCategoryGap");A.push({bandWidth:D,barWidth:F,barMaxWidth:V,barMinWidth:N,barGap:O,barCategoryGap:z,axisKey:v(M),stackId:u(T)})}),p(A)}function p(b){var w={};r.each(b,function(T,C){var M=T.axisKey,L=T.bandWidth,D=w[M]||{bandWidth:L,remainedWidth:L,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},P=D.stacks;w[M]=D;var I=T.stackId;P[I]||D.autoWidthCount++,P[I]=P[I]||{width:0,maxWidth:0};var R=T.barWidth;R&&!P[I].width&&(P[I].width=R,R=Math.min(D.remainedWidth,R),D.remainedWidth-=R);var E=T.barMaxWidth;E&&(P[I].maxWidth=E);var k=T.barMinWidth;k&&(P[I].minWidth=k);var B=T.barGap;B!=null&&(D.gap=B);var F=T.barCategoryGap;F!=null&&(D.categoryGap=F)});var A={};return r.each(w,function(T,C){A[C]={};var M=T.stacks,L=T.bandWidth,D=e(T.categoryGap,L),P=e(T.gap,1),I=T.remainedWidth,R=T.autoWidthCount,E=(I-D)/(R+(R-1)*P);E=Math.max(E,0),r.each(M,function(V){var N=V.maxWidth,O=V.minWidth;if(V.width){var z=V.width;N&&(z=Math.min(z,N)),O&&(z=Math.max(z,O)),V.width=z,I-=z+P*z,R--}else{var z=E;N&&Nz&&(z=O),z!==E&&(V.width=z,I-=z+P*z,R--)}}),E=(I-D)/(R+(R-1)*P),E=Math.max(E,0);var k=0,B;r.each(M,function(V,N){V.width||(V.width=E),B=V,k+=V.width*(1+P)}),B&&(k-=B.width*P);var F=-k/2;r.each(M,function(V,N){A[C][N]=A[C][N]||{bandWidth:L,offset:F,width:V.width},F+=V.width*(1+P)})}),A}function g(b,w,A){if(b&&w){var T=b[v(w)];return T!=null&&A!=null&&(T=T[u(A)]),T}}function m(b,w){var A=f(b,w),T=d(A),C={};r.each(A,function(M){var L=M.getData(),D=M.coordinateSystem,P=D.getBaseAxis(),I=u(M),R=T[v(P)][I],E=R.offset,k=R.width,B=D.getOtherAxis(P),F=M.get("barMinHeight")||0;C[I]=C[I]||[],L.setLayout({bandWidth:R.bandWidth,offset:E,size:k});for(var V=L.mapDimension(B.dim),N=L.mapDimension(P.dim),O=i(L,V),z=B.isHorizontal(),G=S(P,B),q=0,H=L.count();q=0?"p":"n",X=G;O&&(C[I][W]||(C[I][W]={p:G,n:G}),X=C[I][W][Y]);var K,Q,j,te;if(z){var Z=D.dataToPoint([U,W]);K=X,Q=Z[1]+E,j=Z[0]-G,te=k,Math.abs(j)s||(R=s),{progress:E};function E(k,B){for(var F=k.count,V=new l(F*2),N=new l(F*2),O=new l(F),z,G=[],q=[],H=0,U=0;(z=k.next())!=null;)q[I]=B.get(L,z),q[1-I]=B.get(D,z),G=A.dataToPoint(q,null,G),N[H]=P?T.x+T.width:G[0],V[H++]=G[0],N[H]=P?G[1]:T.y+T.height,V[H++]=G[1],O[U++]=z;B.setLayout({largePoints:V,largeDataIndices:O,largeBackgroundPoints:N,barWidth:R,valueAxisStart:S(C,M),backgroundStart:P?T.x:T.y,valueAxisHorizontal:P})}}};function _(b){return b.coordinateSystem&&b.coordinateSystem.type==="cartesian2d"}function x(b){return b.pipelineContext&&b.pipelineContext.large}function S(b,w,A){return w.toGlobalCoord(w.dataToCoord(w.type==="log"?1:0))}return Vn.getLayoutOnAxis=h,Vn.prepareLayoutBarSeries=f,Vn.makeColumnLayout=d,Vn.retrieveColumnLayout=g,Vn.layout=m,Vn.largeLayout=y,Vn}var Z_,oz;function fge(){if(oz)return Z_;oz=1;var r=ie(),t=st(),e=Yt(),a=K9(),i=dg(),n=i.prototype,o=Math.ceil,s=Math.floor,l=1e3,u=l*60,v=u*60,h=v*24,f=function(g,m,y,_){for(;y<_;){var x=y+_>>>1;g[x][1]y&&(S=y);var b=d.length,w=f(d,S,0,b),A=d[Math.min(w,b-1)],T=A[1];if(A[0]==="year"){var C=x/T,M=t.nice(C/g,!0);T*=M}var L=this.getSetting("useUTC")?0:new Date(+_[0]||+_[1]).getTimezoneOffset()*60*1e3,D=[Math.round(o((_[0]-L)/T)*T+L),Math.round(s((_[1]-L)/T)*T+L)];a.fixExtent(D,_),this._stepLvl=A,this._interval=T,this._niceExtent=D},parse:function(g){return+t.parseDate(g)}});r.each(["contain","normalize"],function(g){c.prototype[g]=function(m){return n[g].call(this,this.parse(m))}});var d=[["hh:mm:ss",l],["hh:mm:ss",l*5],["hh:mm:ss",l*10],["hh:mm:ss",l*15],["hh:mm:ss",l*30],["hh:mm\nMM-dd",u],["hh:mm\nMM-dd",u*5],["hh:mm\nMM-dd",u*10],["hh:mm\nMM-dd",u*15],["hh:mm\nMM-dd",u*30],["hh:mm\nMM-dd",v],["hh:mm\nMM-dd",v*2],["hh:mm\nMM-dd",v*6],["hh:mm\nMM-dd",v*12],["MM-dd\nyyyy",h],["MM-dd\nyyyy",h*2],["MM-dd\nyyyy",h*3],["MM-dd\nyyyy",h*4],["MM-dd\nyyyy",h*5],["MM-dd\nyyyy",h*6],["week",h*7],["MM-dd\nyyyy",h*10],["week",h*14],["week",h*21],["month",h*31],["week",h*42],["month",h*62],["week",h*70],["quarter",h*95],["month",h*31*4],["month",h*31*5],["half-year",h*380/2],["month",h*31*8],["month",h*31*10],["year",h*380]];c.create=function(g){return new c({useUTC:g.ecModel.get("useUTC")})};var p=c;return Z_=p,Z_}var X_,sz;function Q9(){if(sz)return X_;sz=1;var r=ie(),t=cg(),e=st(),a=dg(),i=t.prototype,n=a.prototype,o=e.getPrecisionSafe,s=e.round,l=Math.floor,u=Math.ceil,v=Math.pow,h=Math.log,f=t.extend({type:"log",base:10,$constructor:function(){t.apply(this,arguments),this._originalScale=new a},getTicks:function(p){var g=this._originalScale,m=this._extent,y=g.getExtent();return r.map(n.getTicks.call(this,p),function(_){var x=e.round(v(this.base,_));return x=_===m[0]&&g.__fixMin?c(x,y[0]):x,x=_===m[1]&&g.__fixMax?c(x,y[1]):x,x},this)},getMinorTicks:n.getMinorTicks,getLabel:n.getLabel,scale:function(p){return p=i.scale.call(this,p),v(this.base,p)},setExtent:function(p,g){var m=this.base;p=h(p)/h(m),g=h(g)/h(m),n.setExtent.call(this,p,g)},getExtent:function(){var p=this.base,g=i.getExtent.call(this);g[0]=v(p,g[0]),g[1]=v(p,g[1]);var m=this._originalScale,y=m.getExtent();return m.__fixMin&&(g[0]=c(g[0],y[0])),m.__fixMax&&(g[1]=c(g[1],y[1])),g},unionExtent:function(p){this._originalScale.unionExtent(p);var g=this.base;p[0]=h(p[0])/h(g),p[1]=h(p[1])/h(g),i.unionExtent.call(this,p)},unionExtentFromData:function(p,g){this.unionExtent(p.getApproximateExtent(g))},niceTicks:function(p){p=p||10;var g=this._extent,m=g[1]-g[0];if(!(m===1/0||m<=0)){var y=e.quantity(m),_=p/m*y;for(_<=.5&&(y*=10);!isNaN(y)&&Math.abs(y)<1&&Math.abs(y)>0;)y*=10;var x=[e.round(u(g[0]/y)*y),e.round(l(g[1]/y)*y)];this._interval=y,this._niceExtent=x}},niceExtent:function(p){n.niceExtent.call(this,p);var g=this._originalScale;g.__fixMin=p.fixMin,g.__fixMax=p.fixMax}});r.each(["contain","normalize"],function(p){f.prototype[p]=function(g){return g=h(g)/h(this.base),i[p].call(this,g)}}),f.create=function(){return new f};function c(p,g){return s(p,o(g))}var d=f;return X_=d,X_}var lz;function wi(){if(lz)return oi;lz=1;var r=It();r.__DEV__;var t=ie(),e=hge(),a=dg(),i=cg(),n=st(),o=pg(),s=o.prepareLayoutBarSeries,l=o.makeColumnLayout,u=o.retrieveColumnLayout,v=rr();fge(),Q9();function h(b,w){var A=b.type,T=w.getMin(),C=w.getMax(),M=b.getExtent(),L,D,P;A==="ordinal"?L=w.getCategories().length:(D=w.get("boundaryGap"),t.isArray(D)||(D=[D||0,D||0]),typeof D[0]=="boolean"&&(D=[0,0]),D[0]=n.parsePercent(D[0],1),D[1]=n.parsePercent(D[1],1),P=M[1]-M[0]||Math.abs(M[0])),T==="dataMin"?T=M[0]:typeof T=="function"&&(T=T({min:M[0],max:M[1]})),C==="dataMax"?C=M[1]:typeof C=="function"&&(C=C({min:M[0],max:M[1]}));var I=T!=null,R=C!=null;T==null&&(T=A==="ordinal"?L?0:NaN:M[0]-D[0]*P),C==null&&(C=A==="ordinal"?L?L-1:NaN:M[1]+D[1]*P),(T==null||!isFinite(T))&&(T=NaN),(C==null||!isFinite(C))&&(C=NaN),b.setBlank(t.eqNaN(T)||t.eqNaN(C)||A==="ordinal"&&!b.getOrdinalMeta().categories.length),w.getNeedCrossZero()&&(T>0&&C>0&&!I&&(T=0),T<0&&C<0&&!R&&(C=0));var E=w.ecModel;if(E&&A==="time"){var k=s("bar",E),B;if(t.each(k,function(N){B|=N.getBaseAxis()===w.axis}),B){var F=l(k),V=f(T,C,w,F);T=V.min,C=V.max}}return{extent:[T,C],fixMin:I,fixMax:R}}function f(b,w,A,T){var C=A.axis.getExtent(),M=C[1]-C[0],L=u(T,A.axis);if(L===void 0)return{min:b,max:w};var D=1/0;t.each(L,function(B){D=Math.min(B.offset,D)});var P=-1/0;t.each(L,function(B){P=Math.max(B.offset+B.width,P)}),D=Math.abs(D),P=Math.abs(P);var I=D+P,R=w-b,E=1-(D+P)/M,k=R/E-R;return w+=k*(P/I),b-=k*(D/I),{min:b,max:w}}function c(b,w){var A=h(b,w),T=A.extent,C=w.get("splitNumber");b.type==="log"&&(b.base=w.get("logBase"));var M=b.type;b.setExtent(T[0],T[1]),b.niceExtent({splitNumber:C,fixMin:A.fixMin,fixMax:A.fixMax,minInterval:M==="interval"||M==="time"?w.get("minInterval"):null,maxInterval:M==="interval"||M==="time"?w.get("maxInterval"):null});var L=w.get("interval");L!=null&&b.setInterval&&b.setInterval(L)}function d(b,w){if(w=w||b.get("type"),w)switch(w){case"category":return new e(b.getOrdinalMeta?b.getOrdinalMeta():b.getCategories(),[1/0,-1/0]);case"value":return new a;default:return(i.getClass(w)||a).create(b)}}function p(b){var w=b.scale.getExtent(),A=w[0],T=w[1];return!(A>0&&T>0||A<0&&T<0)}function g(b){var w=b.getLabelModel().get("formatter"),A=b.type==="category"?b.scale.getExtent()[0]:null;return typeof w=="string"?(w=(function(T){return function(C){return C=b.scale.getLabel(C),T.replace("{value}",C!=null?C:"")}})(w),w):typeof w=="function"?function(T,C){return A!=null&&(C=T-A),w(m(b,T),C)}:function(T){return b.scale.getLabel(T)}}function m(b,w){return b.type==="category"?b.scale.getLabel(w):w}function y(b){var w=b.model,A=b.scale;if(!(!w.get("axisLabel.show")||A.isBlank())){var T=b.type==="category",C,M,L=A.getExtent();T?M=A.count():(C=A.getTicks(),M=C.length);var D=b.getLabelModel(),P=g(b),I,R=1;M>40&&(R=Math.ceil(M/40));for(var E=0;E>1^-(f&1),c=c>>1^-(c&1),f+=u,c+=v,u=f,v=c,l.push([f/s,c/s])}return l}function i(n,o){return e(n),r.map(r.filter(n.features,function(s){return s.geometry&&s.properties&&s.geometry.coordinates.length>0}),function(s){var l=s.properties,u=s.geometry,v=u.coordinates,h=[];u.type==="Polygon"&&h.push({type:"polygon",exterior:v[0],interiors:v.slice(1)}),u.type==="MultiPolygon"&&r.each(v,function(c){c[0]&&h.push({type:"polygon",exterior:c[0],interiors:c.slice(1)})});var f=new t(l[o||"name"],h,l.cp);return f.properties=l,f})}return e1=i,e1}var _v={},pz;function dge(){if(pz)return _v;pz=1;var r=ie(),t=Da(),e=_t(),a=e.makeInner,i=wi(),n=i.makeLabelFormatter,o=i.getOptionCategoryInterval,s=i.shouldShowAllLabels,l=a();function u(w){return w.type==="category"?h(w):d(w)}function v(w,A){return w.type==="category"?c(w,A):{ticks:w.scale.getTicks()}}function h(w){var A=w.getLabelModel(),T=f(w,A);return!A.get("show")||w.scale.isBlank()?{labels:[],labelCategoryInterval:T.labelCategoryInterval}:T}function f(w,A){var T=p(w,"labels"),C=o(A),M=g(T,C);if(M)return M;var L,D;return r.isFunction(C)?L=b(w,C):(D=C==="auto"?y(w):C,L=S(w,D)),m(T,C,{labels:L,labelCategoryInterval:D})}function c(w,A){var T=p(w,"ticks"),C=o(A),M=g(T,C);if(M)return M;var L,D;if((!A.get("show")||w.scale.isBlank())&&(L=[]),r.isFunction(C))L=b(w,C,!0);else if(C==="auto"){var P=f(w,w.getLabelModel());D=P.labelCategoryInterval,L=r.map(P.labels,function(I){return I.tickValue})}else D=C,L=S(w,D,!0);return m(T,C,{ticks:L,tickCategoryInterval:D})}function d(w){var A=w.scale.getTicks(),T=n(w);return{labels:r.map(A,function(C,M){return{formattedLabel:T(C,M),rawLabel:w.scale.getLabel(C),tickValue:C}})}}function p(w,A){return l(w)[A]||(l(w)[A]=[])}function g(w,A){for(var T=0;T40&&(P=Math.max(1,Math.floor(D/40)));for(var I=L[0],R=w.dataToCoord(I+1)-w.dataToCoord(I),E=Math.abs(R*Math.cos(C)),k=Math.abs(R*Math.sin(C)),B=0,F=0;I<=L[1];I+=P){var V=0,N=0,O=t.getBoundingRect(T(I),A.font,"center","top");V=O.width*1.3,N=O.height*1.3,B=Math.max(B,V,7),F=Math.max(F,N,7)}var z=B/E,G=F/k;isNaN(z)&&(z=1/0),isNaN(G)&&(G=1/0);var q=Math.max(0,Math.floor(Math.min(z,G))),H=l(w.model),U=w.getExtent(),W=H.lastAutoInterval,Y=H.lastTickCount;return W!=null&&Y!=null&&Math.abs(W-q)<=1&&Math.abs(Y-D)<=1&&W>q&&H.axisExtend0===U[0]&&H.axisExtend1===U[1]?q=W:(H.lastTickCount=D,H.lastAutoInterval=q,H.axisExtend0=U[0],H.axisExtend1=U[1]),q}function x(w){var A=w.getLabelModel();return{axisRotate:w.getRotate?w.getRotate():w.isHorizontal&&!w.isHorizontal()?90:0,labelRotate:A.get("rotate")||0,font:A.getFont()}}function S(w,A,T){var C=n(w),M=w.scale,L=M.getExtent(),D=w.getLabelModel(),P=[],I=Math.max((A||0)+1,1),R=L[0],E=M.count();R!==0&&I>1&&E/I>2&&(R=Math.round(Math.ceil(R/I)*I));var k=s(w),B=D.get("showMinLabel")||k,F=D.get("showMaxLabel")||k;B&&R!==L[0]&&N(L[0]);for(var V=R;V<=L[1];V+=I)N(V);F&&V-I!==L[1]&&N(L[1]);function N(O){P.push(T?O:{formattedLabel:C(O),rawLabel:M.getLabel(O),tickValue:O})}return P}function b(w,A,T){var C=w.scale,M=n(w),L=[];return r.each(C.getTicks(),function(D){var P=C.getLabel(D);A(D,P)&&L.push(T?D:{formattedLabel:M(D),rawLabel:P,tickValue:D})}),L}return _v.createAxisLabels=u,_v.createAxisTicks=v,_v.calculateCategoryInterval=_,_v}var t1,gz;function So(){if(gz)return t1;gz=1;var r=ie(),t=r.each,e=r.map,a=st(),i=a.linearMap,n=a.getPixelPrecision,o=a.round,s=dge(),l=s.createAxisTicks,u=s.createAxisLabels,v=s.calculateCategoryInterval,h=[0,1],f=function(g,m,y){this.dim=g,this.scale=m,this._extent=y||[0,0],this.inverse=!1,this.onBand=!1};f.prototype={constructor:f,contain:function(g){var m=this._extent,y=Math.min(m[0],m[1]),_=Math.max(m[0],m[1]);return g>=y&&g<=_},containData:function(g){return this.scale.contain(g)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(g){return n(g||this.scale.getExtent(),this._extent)},setExtent:function(g,m){var y=this._extent;y[0]=g,y[1]=m},dataToCoord:function(g,m){var y=this._extent,_=this.scale;return g=_.normalize(g),this.onBand&&_.type==="ordinal"&&(y=y.slice(),c(y,_.count())),i(g,h,y,m)},coordToData:function(g,m){var y=this._extent,_=this.scale;this.onBand&&_.type==="ordinal"&&(y=y.slice(),c(y,_.count()));var x=i(g,y,h,m);return this.scale.scale(x)},pointToData:function(g,m){},getTicksCoords:function(g){g=g||{};var m=g.tickModel||this.getTickModel(),y=l(this,m),_=y.ticks,x=e(_,function(b){return{coord:this.dataToCoord(b),tickValue:b}},this),S=m.get("alignWithLabel");return d(this,x,S,g.clamp),x},getMinorTicksCoords:function(){if(this.scale.type==="ordinal")return[];var g=this.model.getModel("minorTick"),m=g.get("splitNumber");m>0&&m<100||(m=5);var y=this.scale.getMinorTicks(m),_=e(y,function(x){return e(x,function(S){return{coord:this.dataToCoord(S),tickValue:S}},this)},this);return _},getViewLabels:function(){return u(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var g=this._extent,m=this.scale.getExtent(),y=m[1]-m[0]+(this.onBand?1:0);y===0&&(y=1);var _=Math.abs(g[1]-g[0]);return Math.abs(_)/y},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return v(this)}};function c(g,m){var y=g[1]-g[0],_=m,x=y/_/2;g[0]+=x,g[1]-=x}function d(g,m,y,_){var x=m.length;if(!g.onBand||y||!x)return;var S=g.getExtent(),b,w;if(x===1)m[0].coord=S[0],b=m[1]={coord:S[0]};else{var A=m[x-1].tickValue-m[0].tickValue,T=(m[x-1].coord-m[0].coord)/A;t(m,function(D){D.coord-=T/2});var C=g.scale.getExtent();w=1+C[1]-m[x-1].tickValue,b={coord:m[x-1].coord+T*w},m.push(b)}var M=S[0]>S[1];L(m[0].coord,S[0])&&(_?m[0].coord=S[0]:m.shift()),_&&L(S[0],m[0].coord)&&m.unshift({coord:S[0]}),L(S[1],b.coord)&&(_?b.coord=S[1]:m.pop()),_&&L(b.coord,S[1])&&m.push({coord:S[1]});function L(D,P){return D=o(D),P=o(P),M?D>P:D0&&ae.unfinished);ae.unfinished||this._zr.flush()}}},oe.getDom=function(){return this._dom},oe.getZr=function(){return this._zr},oe.setOption=function(ae,de,Te){if(this._disposed){this.id;return}var Le;if(R(de)&&(Te=de.lazyUpdate,Le=de.silent,de=de.notMerge),this[Q]=!0,!this._model||de){var Ee=new h(this._api),Oe=this._theme,Fe=this._model=new l;Fe.scheduler=this._scheduler,Fe.init(null,null,Oe,Ee)}this._model.setOption(ae,Zt),Te?(this[j]={silent:Le},this[Q]=!1):(ve(this),se.update.call(this),this._zr.flush(),this[j]=!1,this[Q]=!1,ne.call(this,Le),ue.call(this,Le))},oe.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},oe.getModel=function(){return this._model},oe.getOption=function(){return this._model&&this._model.getOption()},oe.getWidth=function(){return this._zr.getWidth()},oe.getHeight=function(){return this._zr.getHeight()},oe.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},oe.getRenderedCanvas=function(ae){if(n.canvasSupported){ae=ae||{},ae.pixelRatio=ae.pixelRatio||1,ae.backgroundColor=ae.backgroundColor||this._model.get("backgroundColor");var de=this._zr;return de.painter.getRenderedCanvas(ae)}},oe.getSvgDataURL=function(){if(n.svgSupported){var ae=this._zr,de=ae.storage.getDisplayList();return a.each(de,function(Te){Te.stopAnimation(!0)}),ae.painter.toDataURL()}},oe.getDataURL=function(ae){if(this._disposed){this.id;return}ae=ae||{};var de=ae.excludeComponents,Te=this._model,Le=[],Ee=this;P(de,function(Fe){Te.eachComponent({mainType:Fe},function(Qe){var We=Ee._componentsMap[Qe.__viewId];We.group.ignore||(Le.push(We),We.group.ignore=!0)})});var Oe=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(ae).toDataURL("image/"+(ae&&ae.type||"png"));return P(Le,function(Fe){Fe.group.ignore=!1}),Oe},oe.getConnectedDataURL=function(ae){if(this._disposed){this.id;return}if(n.canvasSupported){var de=ae.type==="svg",Te=this.group,Le=Math.min,Ee=Math.max,Oe=1/0;if(ta[Te]){var Fe=Oe,Qe=Oe,We=-Oe,ct=-Oe,mt=[],xt=ae&&ae.pixelRatio||1;a.each(Rr,function(Ia,wf){if(Ia.group===Te){var Dg=de?Ia.getZr().painter.getSvgDom().innerHTML:Ia.getRenderedCanvas(a.clone(ae)),Js=Ia.getDom().getBoundingClientRect();Fe=Le(Js.left,Fe),Qe=Le(Js.top,Qe),We=Ee(Js.right,We),ct=Ee(Js.bottom,ct),mt.push({dom:Dg,left:Js.left,top:Js.top})}}),Fe*=xt,Qe*=xt,We*=xt,ct*=xt;var or=We-Fe,er=ct-Qe,Fr=a.createCanvas(),La=e.init(Fr,{renderer:de?"svg":"canvas"});if(La.resize({width:or,height:er}),de){var bf="";return P(mt,function(Ia){var wf=Ia.left-Fe,Dg=Ia.top-Qe;bf+=''+Ia.dom+""}),La.painter.getSvgRoot().innerHTML=bf,ae.connectedBackgroundColor&&La.painter.setBackgroundColor(ae.connectedBackgroundColor),La.refreshImmediately(),La.painter.toDataURL()}else return ae.connectedBackgroundColor&&La.add(new y.Rect({shape:{x:0,y:0,width:or,height:er},style:{fill:ae.connectedBackgroundColor}})),P(mt,function(Ia){var wf=new y.Image({style:{x:Ia.left*xt-Fe,y:Ia.top*xt-Qe,image:Ia.dom}});La.add(wf)}),La.refreshImmediately(),Fr.toDataURL("image/"+(ae&&ae.type||"png"))}else return this.getDataURL(ae)}},oe.convertToPixel=a.curry(fe,"convertToPixel"),oe.convertFromPixel=a.curry(fe,"convertFromPixel");function fe(ae,de,Te){if(this._disposed){this.id;return}var Le=this._model,Ee=this._coordSysMgr.getCoordinateSystems(),Oe;de=_.parseFinder(Le,de);for(var Fe=0;Fe=0&&a.each(Ee,function(Fe){var Qe=Fe.coordinateSystem;if(Qe&&Qe.containPoint)Le|=!!Qe.containPoint(de);else if(Oe==="seriesModels"){var We=this._chartsMap[Fe.__viewId];We&&We.containPoint&&(Le|=We.containPoint(de,Fe))}},this)},this),!!Le},oe.getVisual=function(ae,de){var Te=this._model;ae=_.parseFinder(Te,ae,{defaultMainType:"series"});var Le=ae.seriesModel,Ee=Le.getData(),Oe=ae.hasOwnProperty("dataIndexInside")?ae.dataIndexInside:ae.hasOwnProperty("dataIndex")?Ee.indexOfRawIndex(ae.dataIndex):null;return Oe!=null?Ee.getItemVisual(Oe,de):Ee.getVisual(de)},oe.getViewOfComponentModel=function(ae){return this._componentsMap[ae.__viewId]},oe.getViewOfSeriesModel=function(ae){return this._chartsMap[ae.__viewId]};var se={prepareAndUpdate:function(ae){ve(this),se.update.call(this,ae)},update:function(ae){var de=this._model,Te=this._api,Le=this._zr,Ee=this._coordSysMgr,Oe=this._scheduler;if(de){Oe.restoreData(de,ae),Oe.performSeriesTasks(de),Ee.create(de,Te),Oe.performDataProcessorTasks(de,ae),Me(this,de),Ee.update(de,Te),ge(de),Oe.performVisualTasks(de,ae),pe(this,de,Te,ae);var Fe=de.get("backgroundColor")||"transparent";if(n.canvasSupported)Le.setBackgroundColor(Fe);else{var Qe=i.parse(Fe);Fe=i.stringify(Qe,"rgb"),Qe[3]===0&&(Fe="transparent")}Ve(de,Te)}},updateTransform:function(ae){var de=this._model,Te=this,Le=this._api;if(de){var Ee=[];de.eachComponent(function(Fe,Qe){var We=Te.getViewOfComponentModel(Qe);if(We&&We.__alive)if(We.updateTransform){var ct=We.updateTransform(Qe,de,Le,ae);ct&&ct.update&&Ee.push(We)}else Ee.push(We)});var Oe=a.createHashMap();de.eachSeries(function(Fe){var Qe=Te._chartsMap[Fe.__viewId];if(Qe.updateTransform){var We=Qe.updateTransform(Fe,de,Le,ae);We&&We.update&&Oe.set(Fe.uid,1)}else Oe.set(Fe.uid,1)}),ge(de),this._scheduler.performVisualTasks(de,ae,{setDirty:!0,dirtyMap:Oe}),ze(Te,de,Le,ae,Oe),Ve(de,this._api)}},updateView:function(ae){var de=this._model;de&&(m.markUpdateMethod(ae,"updateView"),ge(de),this._scheduler.performVisualTasks(de,ae,{setDirty:!0}),pe(this,this._model,this._api,ae),Ve(de,this._api))},updateVisual:function(ae){se.update.call(this,ae)},updateLayout:function(ae){se.update.call(this,ae)}};function ve(ae){var de=ae._model,Te=ae._scheduler;Te.restorePipelines(de),Te.prepareStageTasks(),xe(ae,"component",de,Te),xe(ae,"chart",de,Te),Te.plan()}function ye(ae,de,Te,Le,Ee){var Oe=ae._model;if(!Le){P(ae._componentsViews.concat(ae._chartsViews),ct);return}var Fe={};Fe[Le+"Id"]=Te[Le+"Id"],Fe[Le+"Index"]=Te[Le+"Index"],Fe[Le+"Name"]=Te[Le+"Name"];var Qe={mainType:Le,query:Fe};Ee&&(Qe.subType=Ee);var We=Te.excludeSeriesId;We!=null&&(We=a.createHashMap(_.normalizeToArray(We))),Oe&&Oe.eachComponent(Qe,function(mt){(!We||We.get(mt.id)==null)&&ct(ae[Le==="series"?"_chartsMap":"_componentsMap"][mt.__viewId])},ae);function ct(mt){mt&&mt.__alive&&mt[de]&&mt[de](mt.__model,Oe,ae._api,Te)}}oe.resize=function(ae){if(this._disposed){this.id;return}this._zr.resize(ae);var de=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!de){var Te=de.resetOption("media"),Le=ae&&ae.silent;this[Q]=!0,Te&&ve(this),se.update.call(this),this[Q]=!1,ne.call(this,Le),ue.call(this,Le)}};function Me(ae,de){var Te=ae._chartsMap,Le=ae._scheduler;de.eachSeries(function(Ee){Le.updateStreamModes(Ee,Te[Ee.__viewId])})}oe.showLoading=function(ae,de){if(this._disposed){this.id;return}if(R(ae)&&(de=ae,ae=""),ae=ae||"default",this.hideLoading(),!!fa[ae]){var Te=fa[ae](this._api,de),Le=this._zr;this._loadingFX=Te,Le.add(Te)}},oe.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},oe.makeActionFromEvent=function(ae){var de=a.extend({},ae);return de.type=Et[ae.type],de},oe.dispatchAction=function(ae,de){if(this._disposed){this.id;return}if(R(de)||(de={silent:!!de}),!!Ke[ae.type]&&this._model){if(this[Q]){this._pendingActions.push(ae);return}J.call(this,ae,de.silent),de.flush?this._zr.flush(!0):de.flush!==!1&&n.browser.weChat&&this._throttledZrFlush(),ne.call(this,de.silent),ue.call(this,de.silent)}};function J(ae,de){var Te=ae.type,Le=ae.escapeConnect,Ee=Ke[Te],Oe=Ee.actionInfo,Fe=(Oe.update||"update").split(":"),Qe=Fe.pop();Fe=Fe[0]!=null&&E(Fe[0]),this[Q]=!0;var We=[ae],ct=!1;ae.batch&&(ct=!0,We=a.map(ae.batch,function(er){return er=a.defaults(a.extend({},er),ae),er.batch=null,er}));var mt=[],xt,or=Te==="highlight"||Te==="downplay";P(We,function(er){xt=Ee.action(er,this._model,this._api),xt=xt||a.extend({},er),xt.type=Oe.event||xt.type,mt.push(xt),or?ye(this,Qe,er,"series"):Fe&&ye(this,Qe,er,Fe.main,Fe.sub)},this),Qe!=="none"&&!or&&!Fe&&(this[j]?(ve(this),se.update.call(this,ae),this[j]=!1):se[Qe].call(this,ae)),ct?xt={type:Oe.event||Te,escapeConnect:Le,batch:mt}:xt=mt[0],this[Q]=!1,!de&&this._messageCenter.trigger(xt.type,xt)}function ne(ae){for(var de=this._pendingActions;de.length;){var Te=de.shift();J.call(this,Te,ae)}}function ue(ae){!ae&&this.trigger("updated")}function me(ae,de){ae.on("rendered",function(){de.trigger("rendered"),ae.animation.isFinished()&&!de[j]&&!de._scheduler.unfinished&&!de._pendingActions.length&&de.trigger("finished")})}oe.appendData=function(ae){if(this._disposed){this.id;return}var de=ae.seriesIndex,Te=this.getModel(),Le=Te.getSeriesByIndex(de);Le.appendData(ae),this._scheduler.unfinished=!0},oe.on=Z("on",!1),oe.off=Z("off",!1),oe.one=Z("one",!1);function xe(ae,de,Te,Le){for(var Ee=de==="component",Oe=Ee?ae._componentsViews:ae._chartsViews,Fe=Ee?ae._componentsMap:ae._chartsMap,Qe=ae._zr,We=ae._api,ct=0;ctde.get("hoverLayerThreshold")&&!n.node&&de.eachSeries(function(Oe){if(!Oe.preventUsingHoverLayer){var Fe=ae._chartsMap[Oe.__viewId];Fe.__alive&&Fe.group.traverse(function(Qe){Qe.useHoverLayer=!0})}})}function Dt(ae,de){var Te=ae.get("blendMode")||null;de.group.traverse(function(Le){Le.isGroup||Le.style.blend!==Te&&Le.setStyle("blend",Te),Le.eachPendingDisplayable&&Le.eachPendingDisplayable(function(Ee){Ee.setStyle("blend",Te)})})}function Tt(ae,de){var Te=ae.get("z"),Le=ae.get("zlevel");de.group.traverse(function(Ee){Ee.type!=="group"&&(Te!=null&&(Ee.z=Te),Le!=null&&(Ee.zlevel=Le))})}function Bt(ae){var de=ae._coordSysMgr;return a.extend(new u(ae),{getCoordinateSystems:a.bind(de.getCoordinateSystems,de),getComponentByElement:function(Te){for(;Te;){var Le=Te.__ecComponentInfo;if(Le!=null)return ae._model.getComponent(Le.mainType,Le.index);Te=Te.parent}}})}function Vt(){this.eventInfo}Vt.prototype={constructor:Vt,normalizeQuery:function(ae){var de={},Te={},Le={};if(a.isString(ae)){var Ee=E(ae);de.mainType=Ee.main||null,de.subType=Ee.sub||null}else{var Oe=["Index","Name","Id"],Fe={name:1,dataIndex:1,dataType:1};a.each(ae,function(Qe,We){for(var ct=!1,mt=0;mt0&&or===We.length-xt.length){var er=We.slice(0,or);er!=="data"&&(de.mainType=er,de[xt.toLowerCase()]=Qe,ct=!0)}}Fe.hasOwnProperty(We)&&(Te[We]=Qe,ct=!0),ct||(Le[We]=Qe)})}return{cptQuery:de,dataQuery:Te,otherQuery:Le}},filter:function(ae,de,Te){var Le=this.eventInfo;if(!Le)return!0;var Ee=Le.targetEl,Oe=Le.packedEvent,Fe=Le.model,Qe=Le.view;if(!Fe||!Qe)return!0;var We=de.cptQuery,ct=de.dataQuery;return mt(We,Fe,"mainType")&&mt(We,Fe,"subType")&&mt(We,Fe,"index","componentIndex")&&mt(We,Fe,"name")&&mt(We,Fe,"id")&&mt(ct,Oe,"name")&&mt(ct,Oe,"dataIndex")&&mt(ct,Oe,"dataType")&&(!Qe.filterForExposedEvent||Qe.filterForExposedEvent(ae,de.otherQuery,Ee,Oe));function mt(xt,or,er,Fr){return xt[er]==null||or[Fr||er]===xt[er]}},afterTrigger:function(){this.eventInfo=null}};var Ke={},Et={},Lt=[],Zt=[],Xt=[],Kt=[],Pr={},fa={},Rr={},ta={},vr=new Date-0,jt=new Date-0,mr="_echarts_instance_";function re(ae){var de=0,Te=1,Le=2,Ee="__connectUpdateStatus";function Oe(Fe,Qe){for(var We=0;We0?u=v[0]:v[1]<0&&(u=v[1]),u}function o(s,l,u,v){var h=NaN;s.stacked&&(h=u.get(u.getCalculationInfo("stackedOverDimension"),v)),isNaN(h)&&(h=s.valueStart);var f=s.baseDataOffset,c=[];return c[f]=u.get(s.baseDim,v),c[1-f]=h,l.dataToPoint(c)}return Lc.prepareDataCoordInfo=i,Lc.getStackedOnPoint=o,Lc}var o1,Az;function gge(){if(Az)return o1;Az=1;var r=r$(),t=r.prepareDataCoordInfo,e=r.getStackedOnPoint;function a(n,o){var s=[];return o.diff(n).add(function(l){s.push({cmd:"+",idx:l})}).update(function(l,u){s.push({cmd:"=",idx:u,idx1:l})}).remove(function(l){s.push({cmd:"-",idx:l})}).execute(),s}function i(n,o,s,l,u,v,h,f){for(var c=a(n,o),d=[],p=[],g=[],m=[],y=[],_=[],x=[],S=t(u,o,h),b=t(v,n,f),w=0;w=S||D<0)break;if(v(I)){if(M){D+=b;continue}break}if(D===_)m[b>0?"moveTo":"lineTo"](I[0],I[1]);else if(T>0){var R=y[L],E=C==="y"?1:0,k=(I[E]-R[E])*T;o(l,R),l[E]=R[E]+k,o(u,I),u[E]=I[E]-k,m.bezierCurveTo(l[0],l[1],u[0],u[1],I[0],I[1])}else m.lineTo(I[0],I[1]);L=D,D+=b}return P}function c(m,y,_,x,S,b,w,A,T,C,M){for(var L=0,D=_,P=0;P=S||D<0)break;if(v(I)){if(M){D+=b;continue}break}if(D===_)m[b>0?"moveTo":"lineTo"](I[0],I[1]),o(l,I);else if(T>0){var R=D+b,B=y[R];if(M)for(;B&&v(y[R]);)R+=b,B=y[R];var E=.5,k=y[L],B=y[R];if(!B||v(B))o(u,I);else{v(B)&&!M&&(B=I),t.sub(s,B,k);var F,V;if(C==="x"||C==="y"){var N=C==="x"?0:1;F=Math.abs(I[N]-k[N]),V=Math.abs(I[N]-B[N])}else F=t.dist(I,k),V=t.dist(I,B);E=V/(V+F),n(u,I,s,-T*(1-E))}a(l,l,A),i(l,l,w),a(u,u,A),i(u,u,w),m.bezierCurveTo(l[0],l[1],u[0],u[1],I[0],I[1]),n(l,I,s,T*E)}else m.lineTo(I[0],I[1]);L=D,D+=b}return P}function d(m,y){var _=[1/0,1/0],x=[-1/0,-1/0];if(y)for(var S=0;Sx[0]&&(x[0]=b[0]),b[1]>x[1]&&(x[1]=b[1])}return{min:y?_:x,max:y?x:_}}var p=r.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:e(r.prototype.brush),buildPath:function(m,y){var _=y.points,x=0,S=_.length,b=d(_,y.smoothConstraint);if(y.connectNulls){for(;S>0&&v(_[S-1]);S--);for(;x0&&v(_[b-1]);b--);for(;S=0;k--){var B=I[k].dimension,F=D.dimensions[B],V=D.getDimensionInfo(F);if(R=V&&V.coordDim,R==="x"||R==="y"){E=I[k];break}}if(E){var N=P.getAxis(R),O=t.map(E.stops,function(X){return{coord:N.toGlobalCoord(N.dataToCoord(X.value)),color:X.color}}),z=O.length,G=E.outerColors.slice();z&&O[0].coord>O[z-1].coord&&(O.reverse(),G.reverse());var q=10,H=O[0].coord-q,U=O[z-1].coord+q,W=U-H;if(W<.001)return"transparent";t.each(O,function(X){X.offset=(X.coord-H)/W}),O.push({offset:z?O[z-1].offset:.5,color:G[1]||"transparent"}),O.unshift({offset:z?O[0].offset:.5,color:G[0]||"transparent"});var Y=new s.LinearGradient(0,0,0,0,O,!0);return Y[R]=H,Y[R+"2"]=U,Y}}}function T(D,P,I){var R=D.get("showAllSymbol"),E=R==="auto";if(!(R&&!E)){var k=I.getAxesByScale("ordinal")[0];if(k&&!(E&&C(k,P))){var B=P.mapDimension(k.dim),F={};return t.each(k.getViewLabels(),function(V){F[V.tickValue]=1}),function(V){return!F.hasOwnProperty(P.get(B,V))}}}}function C(D,P){var I=D.getExtent(),R=Math.abs(I[1]-I[0])/D.scale.count();isNaN(R)&&(R=0);for(var E=P.count(),k=Math.max(1,Math.round(E/5)),B=0;BR)return!1;return!0}function M(D,P,I){if(D.type==="cartesian2d"){var R=D.getBaseAxis().isHorizontal(),E=m(D,P,I);if(!I.get("clip",!0)){var k=E.shape,B=Math.max(k.width,k.height);R?(k.y-=B,k.height+=B*2):(k.x-=B,k.width+=B*2)}return E}else return y(D,P,I)}var L=f.extend({type:"line",init:function(){var D=new s.Group,P=new i;this.group.add(P.group),this._symbolDraw=P,this._lineGroup=D},render:function(D,P,I){var R=D.coordinateSystem,E=this.group,k=D.getData(),B=D.getModel("lineStyle"),F=D.getModel("areaStyle"),V=k.mapArray(k.getItemLayout),N=R.type==="polar",O=this._coordSys,z=this._symbolDraw,G=this._polyline,q=this._polygon,H=this._lineGroup,U=D.get("animation"),W=!F.isEmpty(),Y=F.get("origin"),X=d(R,k,Y),K=b(R,k,X),Q=D.get("showSymbol"),j=Q&&!N&&T(D,k,R),te=this._data;te&&te.eachItemGraphicEl(function(ve,ye){ve.__temp&&(E.remove(ve),te.setItemGraphicEl(ye,null))}),Q||z.remove(),E.add(H);var Z=!N&&D.get("step"),ee;R&&R.getArea&&D.get("clip",!0)&&(ee=R.getArea(),ee.width!=null?(ee.x-=.1,ee.y-=.1,ee.width+=.2,ee.height+=.2):ee.r0&&(ee.r0-=.5,ee.r1+=.5)),this._clipShapeForSymbol=ee,G&&O.type===R.type&&Z===this._step?(W&&!q?q=this._newPolygon(V,K,R,U):q&&!W&&(H.remove(q),q=this._polygon=null),H.setClipPath(M(R,!1,D)),Q&&z.updateData(k,{isIgnore:j,clipShape:ee}),k.eachItemGraphicEl(function(ve){ve.stopAnimation(!0)}),(!_(this._stackedOnPoints,K)||!_(this._points,V))&&(U?this._updateAnimation(k,K,R,I,Z,Y):(Z&&(V=w(V,R,Z),K=w(K,R,Z)),G.setShape({points:V}),q&&q.setShape({points:V,stackedOnPoints:K})))):(Q&&z.updateData(k,{isIgnore:j,clipShape:ee}),Z&&(V=w(V,R,Z),K=w(K,R,Z)),G=this._newPolyline(V,R,U),W&&(q=this._newPolygon(V,K,R,U)),H.setClipPath(M(R,!0,D)));var le=A(k,R)||k.getVisual("color");G.useStyle(t.defaults(B.getLineStyle(),{fill:"none",stroke:le,lineJoin:"bevel"}));var oe=D.get("smooth");if(oe=S(D.get("smooth")),G.setShape({smooth:oe,smoothMonotone:D.get("smoothMonotone"),connectNulls:D.get("connectNulls")}),q){var fe=k.getCalculationInfo("stackedOnSeries"),se=0;q.useStyle(t.defaults(F.getAreaStyle(),{fill:le,opacity:.7,lineJoin:"bevel"})),fe&&(se=S(fe.get("smooth"))),q.setShape({smooth:oe,stackedOnSmooth:se,smoothMonotone:D.get("smoothMonotone"),connectNulls:D.get("connectNulls")})}this._data=k,this._coordSys=R,this._stackedOnPoints=K,this._points=V,this._step=Z,this._valueOrigin=Y},dispose:function(){},highlight:function(D,P,I,R){var E=D.getData(),k=l.queryDataIndex(E,R);if(!(k instanceof Array)&&k!=null&&k>=0){var B=E.getItemGraphicEl(k);if(!B){var F=E.getItemLayout(k);if(!F||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(F[0],F[1]))return;B=new n(E,k),B.position=F,B.setZ(D.get("zlevel"),D.get("z")),B.ignore=isNaN(F[0])||isNaN(F[1]),B.__temp=!0,E.setItemGraphicEl(k,B),B.stopSymbolAnimation(!0),this.group.add(B)}B.highlight()}else f.prototype.highlight.call(this,D,P,I,R)},downplay:function(D,P,I,R){var E=D.getData(),k=l.queryDataIndex(E,R);if(k!=null&&k>=0){var B=E.getItemGraphicEl(k);B&&(B.__temp?(E.setItemGraphicEl(k,null),this.group.remove(B)):B.downplay())}else f.prototype.downplay.call(this,D,P,I,R)},_newPolyline:function(D){var P=this._polyline;return P&&this._lineGroup.remove(P),P=new v({shape:{points:D},silent:!0,z2:10}),this._lineGroup.add(P),this._polyline=P,P},_newPolygon:function(D,P){var I=this._polygon;return I&&this._lineGroup.remove(I),I=new h({shape:{points:D,stackedOnPoints:P},silent:!0}),this._lineGroup.add(I),this._polygon=I,I},_updateAnimation:function(D,P,I,R,E,k){var B=this._polyline,F=this._polygon,V=D.hostModel,N=o(this._data,D,this._stackedOnPoints,P,this._coordSys,I,this._valueOrigin,k),O=N.current,z=N.stackedOnCurrent,G=N.next,q=N.stackedOnNext;if(E&&(O=w(N.current,I,E),z=w(N.stackedOnCurrent,I,E),G=w(N.next,I,E),q=w(N.stackedOnNext,I,E)),x(O,G)>3e3||F&&x(z,q)>3e3){B.setShape({points:G}),F&&F.setShape({points:G,stackedOnPoints:q});return}B.shape.__points=N.current,B.shape.points=O,s.updateProps(B,{shape:{points:G}},V),F&&(F.setShape({points:O,stackedOnPoints:z}),s.updateProps(F,{shape:{points:G,stackedOnPoints:q}},V));for(var H=[],U=N.status,W=0;Wi&&(i=a[n]);return isFinite(i)?i:NaN},min:function(a){for(var i=1/0,n=0;n1){var p;typeof l=="string"?p=r[l]:typeof l=="function"&&(p=l),p&&i.setData(s.downSample(s.mapDimension(h.dim),1/d,p,t))}}}}}return v1=e,v1}var Rz={},h1,Ez;function _ge(){if(Ez)return h1;Ez=1;var r=ie();function t(i){return this._axes[i]}var e=function(i){this._axes={},this._dimList=[],this.name=i||""};e.prototype={constructor:e,type:"cartesian",getAxis:function(i){return this._axes[i]},getAxes:function(){return r.map(this._dimList,t,this)},getAxesByScale:function(i){return i=i.toLowerCase(),r.filter(this.getAxes(),function(n){return n.scale.type===i})},addAxis:function(i){var n=i.dim;this._axes[n]=i,this._dimList.push(n)},dataToCoord:function(i){return this._dataCoordConvert(i,"dataToCoord")},coordToData:function(i){return this._dataCoordConvert(i,"coordToData")},_dataCoordConvert:function(i,n){for(var o=this._dimList,s=i instanceof Array?[]:{},l=0;ln[1]&&n.reverse(),n},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(i,n){return this.coordToData(this.toLocalCoord(i[this.dim==="x"?0:1]),n)},toLocalCoord:null,toGlobalCoord:null},r.inherits(e,t);var a=e;return c1=a,c1}var d1,Nz;function i$(){if(Nz)return d1;Nz=1;var r=ie(),t={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},e={};e.categoryAxis=r.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},t),e.valueAxis=r.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},t),e.timeAxis=r.defaults({scale:!0,min:"dataMin",max:"dataMax"},e.valueAxis),e.logAxis=r.defaults({scale:!0,logBase:10},e.valueAxis);var a=e;return d1=a,d1}var p1,zz;function mg(){if(zz)return p1;zz=1;var r=ie(),t=i$(),e=Lr(),a=Ut(),i=a.getLayoutParams,n=a.mergeLayoutParam,o=X9(),s=["value","category","time","log"];function l(u,v,h,f){r.each(s,function(c){v.extend({type:u+"Axis."+c,mergeDefaultAndTheme:function(d,p){var g=this.layoutMode,m=g?i(d):{},y=p.getTheme();r.merge(d,y.get(c+"Axis")),r.merge(d,this.getDefaultOption()),d.type=h(u,d),g&&n(d,m,g)},optionUpdated:function(){var d=this.option;d.type==="category"&&(this.__ordinalMeta=o.createByAxisModel(this))},getCategories:function(d){var p=this.option;if(p.type==="category")return d?p.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:r.mergeAll([{},t[c+"Axis"],f],!0)})}),e.registerSubTypeDefaulter(u+"Axis",r.curry(h,u))}return p1=l,p1}var g1,Bz;function n$(){if(Bz)return g1;Bz=1;var r=ie(),t=Lr(),e=mg(),a=Du(),i=t.extend({type:"cartesian2dAxis",axis:null,init:function(){i.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){i.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){i.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function n(l,u){return u.type||(u.data?"category":"value")}r.merge(i.prototype,a);var o={offset:0};e("x",i,n,o),e("y",i,n,o);var s=i;return g1=s,g1}var m1,Vz;function bge(){if(Vz)return m1;Vz=1,n$();var r=Lr(),t=r.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});return m1=t,m1}var y1,Gz;function sD(){if(Gz)return y1;Gz=1;var r=It();r.__DEV__;var t=ie(),e=t.isObject,a=t.each,i=t.map,n=t.indexOf;t.retrieve;var o=Ut(),s=o.getLayoutRect,l=wi(),u=l.createScaleByModel,v=l.ifAxisCrossZero,h=l.niceScaleExtent,f=l.estimateLabelUnionRect,c=xge(),d=Sge(),p=bi(),g=rn(),m=g.getStackedDimension;bge();function y(L,D,P){return L.getCoordSysModel()===D}function _(L,D,P){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(L,D,P),this.model=L}var x=_.prototype;x.type="grid",x.axisPointerEnabled=!0,x.getRect=function(){return this._rect},x.update=function(L,D){var P=this._axesMap;this._updateScale(L,this.model),a(P.x,function(R){h(R.scale,R.model)}),a(P.y,function(R){h(R.scale,R.model)});var I={};a(P.x,function(R){S(P,"y",R,I)}),a(P.y,function(R){S(P,"x",R,I)}),this.resize(this.model,D)};function S(L,D,P,I){P.getAxesOnZeroOf=function(){return E?[E]:[]};var R=L[D],E,k=P.model,B=k.get("axisLine.onZero"),F=k.get("axisLine.onZeroAxisIndex");if(!B)return;if(F!=null)b(R[F])&&(E=R[F]);else for(var V in R)if(R.hasOwnProperty(V)&&b(R[V])&&!I[N(R[V])]){E=R[V];break}E&&(I[N(E)]=!0);function N(O){return O.dim+"_"+O.index}}function b(L){return L&&L.type!=="category"&&L.type!=="time"&&v(L)}x.resize=function(L,D,P){var I=s(L.getBoxLayoutParams(),{width:D.getWidth(),height:D.getHeight()});this._rect=I;var R=this._axesList;E(),!P&&L.get("containLabel")&&(a(R,function(k){if(!k.model.get("axisLabel.inside")){var B=f(k);if(B){var F=k.isHorizontal()?"height":"width",V=k.model.get("axisLabel.margin");I[F]-=B[F]+V,k.position==="top"?I.y+=B.height+V:k.position==="left"&&(I.x+=B.width+V)}}}),E());function E(){a(R,function(k){var B=k.isHorizontal(),F=B?[0,I.width]:[0,I.height],V=k.inverse?1:0;k.setExtent(F[V],F[1-V]),w(k,B?I.x:I.y)})}},x.getAxis=function(L,D){var P=this._axesMap[L];if(P!=null){if(D==null){for(var I in P)if(P.hasOwnProperty(I))return P[I]}return P[D]}},x.getAxes=function(){return this._axesList.slice()},x.getCartesian=function(L,D){if(L!=null&&D!=null){var P="x"+L+"y"+D;return this._coordsMap[P]}e(L)&&(D=L.yAxisIndex,L=L.xAxisIndex);for(var I=0,R=this._coordsList;IG[1]?-1:1,H=[V==="start"?G[0]-q*z:V==="end"?G[1]+q*z:(G[0]+G[1])/2,L(V)?k.labelOffset+N*z:0],U,W=B.get("nameRotate");W!=null&&(W=W*y/180);var Y;L(V)?U=b(k.rotation,W!=null?W:k.rotation,N):(U=w(k,V,W||0,G),Y=k.axisNameAvailableWidth,Y!=null&&(Y=Math.abs(Y/Math.sin(U.rotation)),!isFinite(Y)&&(Y=null)));var X=O.getFont(),K=B.get("nameTruncate",!0)||{},Q=K.ellipsis,j=t(k.nameTruncateMaxWidth,K.maxWidth,Y),te=Q!=null&&j!=null?n.truncateText(F,j,X,Q,{minChar:2,placeholder:K.placeholder}):F,Z=B.get("tooltip",!0),ee=B.mainType,le={componentType:ee,name:F,$vars:["name"]};le[ee+"Index"]=B.componentIndex;var oe=new o.Text({anid:"name",__fullText:F,__truncatedText:te,position:H,rotation:U.rotation,silent:A(B),z2:1,tooltip:Z&&Z.show?a({content:F,formatter:function(){return F},formatterParams:le},Z):null});o.setTextStyle(oe.style,O,{text:te,textFont:X,textFill:O.getTextColor()||B.get("axisLine.lineStyle.color"),textAlign:O.get("align")||U.textAlign,textVerticalAlign:O.get("verticalAlign")||U.textVerticalAlign}),B.get("triggerEvent")&&(oe.eventData=S(B),oe.eventData.targetType="axisName",oe.eventData.name=F),this._dumbGroup.add(oe),oe.updateTransform(),this.group.add(oe),oe.decomposeTransform()}}},S=_.makeAxisEventDataBase=function(k){var B={componentType:k.mainType,componentIndex:k.componentIndex};return B[k.mainType+"Index"]=k.componentIndex,B},b=_.innerTextLayout=function(k,B,F){var V=v(B-k),N,O;return u(V)?(O=F>0?"top":"bottom",N="center"):u(V-y)?(O=F>0?"bottom":"top",N="center"):(O="middle",V>0&&V0?"right":"left":N=F>0?"left":"right"),{rotation:V,textAlign:N,textVerticalAlign:O}};function w(k,B,F,V){var N=v(F-k.rotation),O,z,G=V[0]>V[1],q=B==="start"&&!G||B!=="start"&&G;return u(N-y/2)?(z=q?"bottom":"top",O="center"):u(N-y*1.5)?(z=q?"top":"bottom",O="center"):(z="middle",Ny/2?O=q?"left":"right":O=q?"right":"left"),{rotation:N,textAlign:O,textVerticalAlign:z}}var A=_.isLabelSilent=function(k){var B=k.get("tooltip");return k.get("silent")||!(k.get("triggerEvent")||B&&B.show)};function T(k,B,F){if(!m(k.axis)){var V=k.get("axisLabel.showMinLabel"),N=k.get("axisLabel.showMaxLabel");B=B||[],F=F||[];var O=B[0],z=B[1],G=B[B.length-1],q=B[B.length-2],H=F[0],U=F[1],W=F[F.length-1],Y=F[F.length-2];V===!1?(C(O),C(H)):M(O,z)&&(V?(C(z),C(U)):(C(O),C(H))),N===!1?(C(G),C(W)):M(q,G)&&(N?(C(q),C(Y)):(C(G),C(W)))}}function C(k){k&&(k.ignore=!0)}function M(k,B,F){var V=k&&k.getBoundingRect().clone(),N=B&&B.getBoundingRect().clone();if(!(!V||!N)){var O=c.identity([]);return c.rotate(O,O,-k.rotation),V.applyTransform(c.mul([],O,k.getLocalTransform())),N.applyTransform(c.mul([],O,B.getLocalTransform())),V.intersect(N)}}function L(k){return k==="middle"||k==="center"}function D(k,B,F,V,N){for(var O=[],z=[],G=[],q=0;q=0||p===g}function v(p){var g=h(p);if(g){var m=g.axisPointerModel,y=g.axis.scale,_=m.option,x=m.get("status"),S=m.get("value");S!=null&&(S=y.parse(S));var b=c(m);x==null&&(_.status=b?"show":"hide");var w=y.getExtent().slice();w[0]>w[1]&&w.reverse(),(S==null||S>w[1])&&(S=w[1]),Se&&(e=a),e},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});return w1=t,w1}var T1={},tB;function u$(){if(tB)return T1;tB=1;var r=qe(),t=oD(),e=t.getDefaultLabel;function a(n,o,s,l,u,v,h){var f=s.getModel("label"),c=s.getModel("emphasis.label");r.setLabelStyle(n,o,f,c,{labelFetcher:u,labelDataIndex:v,defaultText:e(u.getData(),v),isRectText:!0,autoColor:l}),i(n),i(o)}function i(n,o){n.textPosition==="outside"&&(n.textPosition=o)}return T1.setLabel=a,T1}var A1,rB;function Mge(){if(rB)return A1;rB=1;var r=Tu(),t=r([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),e={getBarItemStyle:function(a){var i=t(this,a);if(this.getBorderLineDash){var n=this.getBorderLineDash();n&&(i.lineDash=n)}return i}};return A1=e,A1}var C1,aB;function Dge(){if(aB)return C1;aB=1;var r=qe(),t=r.extendShape,e=t({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},buildPath:function(a,i){var n=i.cx,o=i.cy,s=Math.max(i.r0||0,0),l=Math.max(i.r,0),u=(l-s)*.5,v=s+u,h=i.startAngle,f=i.endAngle,c=i.clockwise,d=Math.cos(h),p=Math.sin(h),g=Math.cos(f),m=Math.sin(f),y=c?f-h0?1:-1,H=z.height>0?1:-1;return{x:z.x+q*G/2,y:z.y+H*G/2,width:z.width-q*G,height:z.height-H*G}},polar:function(V,N,O){var z=V.getItemLayout(N);return{cx:z.cx,cy:z.cy,r0:z.r0,r:z.r,startAngle:z.startAngle,endAngle:z.endAngle}}};function C(V){return V.startAngle!=null&&V.endAngle!=null&&V.startAngle===V.endAngle}function M(V,N,O,z,G,q,H,U){var W=N.getItemVisual(O,"color"),Y=N.getItemVisual(O,"opacity"),X=N.getVisual("borderColor"),K=z.getModel("itemStyle"),Q=z.getModel("emphasis.itemStyle").getBarItemStyle();U||V.setShape("r",K.get("barBorderRadius")||0),V.useStyle(e.defaults({stroke:C(G)?"none":X,fill:C(G)?"none":W,opacity:Y},K.getBarItemStyle()));var j=z.getShallow("cursor");j&&V.attr("cursor",j);var te=H?G.height>0?"bottom":"top":G.width>0?"left":"right";U||n(V.style,Q,z,W,q,O,te),C(G)&&(Q.fill=Q.stroke="none"),a.setHoverStyle(V,Q)}function L(V,N){var O=V.get(p)||0,z=isNaN(N.width)?Number.MAX_VALUE:Math.abs(N.width),G=isNaN(N.height)?Number.MAX_VALUE:Math.abs(N.height);return Math.min(O,z,G)}var D=l.extend({type:"largeBar",shape:{points:[]},buildPath:function(V,N){for(var O=N.points,z=this.__startPoint,G=this.__baseDimIdx,q=0;q=0?O:null},30,!1);function R(V,N,O){var z=V.__baseDimIdx,G=1-z,q=V.shape.points,H=V.__largeDataIndices,U=Math.abs(V.__barWidth/2),W=V.__startPoint[G];g[0]=N,g[1]=O;for(var Y=g[z],X=g[1-z],K=Y-U,Q=Y+U,j=0,te=q.length/2;j=K&&ee<=Q&&(W<=le?X>=W&&X<=le:X>=le&&X<=W))return H[j]}return-1}function E(V,N,O){var z=O.getVisual("borderColor")||O.getVisual("color"),G=N.getModel("itemStyle").getItemStyle(["color","borderColor"]);V.useStyle(G),V.style.fill=null,V.style.stroke=z,V.style.lineWidth=O.getLayout("barWidth")}function k(V,N,O){var z=N.get("borderColor")||N.get("color"),G=N.getItemStyle(["color","borderColor"]);V.useStyle(G),V.style.fill=null,V.style.stroke=z,V.style.lineWidth=O.getLayout("barWidth")}function B(V,N,O){var z,G=O.type==="polar";return G?z=O.getArea():z=O.grid.getRect(),G?{cx:z.cx,cy:z.cy,r0:V?z.r0:N.r0,r:V?z.r:N.r,startAngle:V?N.startAngle:0,endAngle:V?N.endAngle:Math.PI*2}:{x:V?N.x:z.x,y:V?z.y:N.y,width:V?N.width:z.width,height:V?z.height:N.height}}function F(V,N,O){var z=V.type==="polar"?a.Sector:a.Rect;return new z({shape:B(N,O,V),silent:!0,z2:0})}return M1=y,M1}var nB;function Ige(){if(nB)return jz;nB=1;var r=Pe(),t=ie(),e=pg(),a=e.layout,i=e.largeLayout;return sD(),Cge(),Lge(),mf(),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,t.curry(a,"bar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,i),r.registerVisual({seriesType:"bar",reset:function(n){n.getData().setVisual("legendSymbol","roundRect")}}),jz}var oB={},D1,sB;function Lu(){if(sB)return D1;sB=1;var r=Mu(),t=ei(),e=ie(),a=e.extend,i=e.isArray;function n(o,s,l){s=i(s)&&{coordDimensions:s}||a({},s);var u=o.getSource(),v=r(u,s),h=new t(v,o);return h.initData(u,l),h}return D1=n,D1}var L1,lB;function lD(){if(lB)return L1;lB=1;var r=ie(),t={updateSelectedMap:function(e){this._targetList=r.isArray(e)?e.slice():[],this._selectTargetMap=r.reduce(e||[],function(a,i){return a.set(i.name,i),a},r.createHashMap())},select:function(e,a){var i=a!=null?this._targetList[a]:this._selectTargetMap.get(e),n=this.get("selectedMode");n==="single"&&this._selectTargetMap.each(function(o){o.selected=!1}),i&&(i.selected=!0)},unSelect:function(e,a){var i=a!=null?this._targetList[a]:this._selectTargetMap.get(e);i&&(i.selected=!1)},toggleSelected:function(e,a){var i=a!=null?this._targetList[a]:this._selectTargetMap.get(e);if(i!=null)return this[i.selected?"unSelect":"select"](e,a),i.selected},isSelected:function(e,a){var i=a!=null?this._targetList[a]:this._selectTargetMap.get(e);return i&&i.selected}};return L1=t,L1}var I1,uB;function yf(){if(uB)return I1;uB=1;function r(e,a){this.getAllNames=function(){var i=a();return i.mapArray(i.getName)},this.containName=function(i){var n=a();return n.indexOfName(i)>=0},this.indexOfName=function(i){var n=e();return n.indexOfName(i)},this.getItemVisual=function(i,n){var o=e();return o.getItemVisual(i,n)}}var t=r;return I1=t,I1}var P1,vB;function Pge(){if(vB)return P1;vB=1;var r=Pe(),t=Lu(),e=ie(),a=_t(),i=st(),n=i.getPercentWithPrecision,o=lD(),s=Ys(),l=s.retrieveRawAttr,u=Ln(),v=u.makeSeriesEncodeForNameBased,h=yf(),f=r.extendSeriesModel({type:"series.pie",init:function(d){f.superApply(this,"init",arguments),this.legendVisualProvider=new h(e.bind(this.getData,this),e.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(d)},mergeOption:function(d){f.superCall(this,"mergeOption",d),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(d,p){return t(this,{coordDimensions:["value"],encodeDefaulter:e.curry(v,this)})},_createSelectableList:function(){for(var d=this.getRawData(),p=d.mapDimension("value"),g=[],m=0,y=d.count();m0&&(m?y!=="scale":_!=="transition")){for(var b=c.getItemLayout(0),w=1;isNaN(b.startAngle)&&w=f.r0}}}),l=s;return R1=l,R1}var E1,fB;function v$(){if(fB)return E1;fB=1;var r=Pe(),t=ie();function e(a,i){t.each(i,function(n){n.update="updateView",r.registerAction(n,function(o,s){var l={};return s.eachComponent({mainType:"series",subType:a,query:o},function(u){u[n.method]&&u[n.method](o.name,o.dataIndex);var v=u.getData();v.each(function(h){var f=v.getName(h);l[f]=u.isSelected(f)||!1})}),{name:o.name,selected:l,seriesId:o.seriesId}})})}return E1=e,E1}var k1,cB;function _g(){if(cB)return k1;cB=1;var r=ie(),t=r.createHashMap;function e(a){return{getTargetSeries:function(i){var n={},o=t();return i.eachSeriesByType(a,function(s){s.__paletteScope=n,o.set(s.uid,s)}),o},reset:function(i,n){var o=i.getRawData(),s={},l=i.getData();l.each(function(u){var v=l.getRawIndex(u);s[v]=u}),o.each(function(u){var v=s[u],h=v!=null&&l.getItemVisual(v,"color",!0),f=v!=null&&l.getItemVisual(v,"borderColor",!0),c;if((!h||!f)&&(c=o.getItemModel(u)),!h){var d=c.get("itemStyle.color")||i.getColorFromPalette(o.getName(u)||u+"",i.__paletteScope,o.count());v!=null&&l.setItemVisual(v,"color",d)}if(!f){var p=c.get("itemStyle.borderColor");v!=null&&l.setItemVisual(v,"borderColor",p)}})}}}return k1=e,k1}var O1,dB;function Ege(){if(dB)return O1;dB=1;var r=Da(),t=st(),e=t.parsePercent,a=Math.PI/180;function i(l,u,v,h,f,c,d,p,g,m){l.sort(function(L,D){return L.y-D.y});function y(L,D,P,I){for(var R=L;Rg+d);R++)if(l[R].y+=P,R>L&&R+1l[R].y+l[R].height){_(R,P/2);return}_(D-1,P/2)}function _(L,D){for(var P=L;P>=0&&!(l[P].y-D0&&l[P].y>l[P-1].y+l[P-1].height));P--);}function x(L,D,P,I,R,E){for(var k=(E>0,D?Number.MAX_VALUE:0),B=0,F=L.length;B=k&&(z=k-10),!D&&z<=k&&(z=k+10),L[B].x=P+z*E,k=z}}for(var S=0,b,w=l.length,A=[],T=[],C=0;C=v?T.push(l[C]):A.push(l[C]);x(A,!1,u,v,h,f),x(T,!0,u,v,h,f)}function n(l,u,v,h,f,c,d,p){for(var g=[],m=[],y=Number.MAX_VALUE,_=-Number.MAX_VALUE,x=0;x0?"right":"left":k>0?"left":"right"}var Q,j=w.get("rotate");typeof j=="number"?Q=j*(Math.PI/180):Q=j?k<0?-E+Math.PI:-E:0,y=!!Q,S.label={x:F,y:V,position:A,height:G.height,len:I,len2:R,linePoints:N,textAlign:O,verticalAlign:"middle",rotation:Q,inside:q,labelDistance:T,labelAlignTo:C,labelMargin:M,bleedMargin:L,textRect:G,text:z,font:D},q||p.push(S.label)}}),!y&&l.get("avoidLabelOverlap")&&n(p,g,m,u,v,h,f,c)}return O1=s,O1}var N1,pB;function kge(){if(pB)return N1;pB=1;var r=st(),t=r.parsePercent,e=r.linearMap,a=Ut(),i=Ege(),n=ie(),o=Math.PI*2,s=Math.PI/180;function l(v,h){return a.getLayoutRect(v.getBoxLayoutParams(),{width:h.getWidth(),height:h.getHeight()})}function u(v,h,f,c){h.eachSeriesByType(v,function(d){var p=d.getData(),g=p.mapDimension("value"),m=l(d,f),y=d.get("center"),_=d.get("radius");n.isArray(_)||(_=[0,_]),n.isArray(y)||(y=[y,y]);var x=t(m.width,f.getWidth()),S=t(m.height,f.getHeight()),b=Math.min(x,S),w=t(y[0],x)+m.x,A=t(y[1],S)+m.y,T=t(_[0],b/2),C=t(_[1],b/2),M=-d.get("startAngle")*s,L=d.get("minAngle")*s,D=0;p.each(g,function(G){!isNaN(G)&&D++});var P=p.getSum(g),I=Math.PI/(P||D)*2,R=d.get("clockwise"),E=d.get("roseType"),k=d.get("stillShowZeroSum"),B=p.getDataExtent(g);B[0]=0;var F=o,V=0,N=M,O=R?1:-1;if(p.each(g,function(G,q){var H;if(isNaN(G)){p.setItemLayout(q,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:R,cx:w,cy:A,r0:T,r:E?NaN:C,viewRect:m});return}E!=="area"?H=P===0&&k?I:G*I:H=o/D,H=0;g--){var m=g*2,y=f[m]-d/2,_=f[m+1]-p/2;if(u>=y&&v>=_&&u<=y+d&&v<=_+p)return g}return-1}});function o(){this.group=new r.Group}var s=o.prototype;s.isPersistent=function(){return!this._incremental},s.updateData=function(u,v){this.group.removeAll();var h=new n({rectHover:!0,cursor:"default"});h.setShape({points:u.getLayout("symbolPoints")}),this._setCommon(h,u,!1,v),this.group.add(h),this._incremental=null},s.updateLayout=function(u){if(!this._incremental){var v=u.getLayout("symbolPoints");this.group.eachChild(function(h){if(h.startIndex!=null){var f=(h.endIndex-h.startIndex)*2,c=h.startIndex*4*2;v=new Float32Array(v.buffer,c,f)}h.setShape("points",v)})}},s.incrementalPrepareUpdate=function(u){this.group.removeAll(),this._clearIncremental(),u.count()>2e6?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},s.incrementalUpdate=function(u,v,h){var f;this._incremental?(f=new n,this._incremental.addDisplayable(f,!0)):(f=new n({rectHover:!0,cursor:"default",startIndex:u.start,endIndex:u.end}),f.incremental=!0,this.group.add(f)),f.setShape({points:v.getLayout("symbolPoints")}),this._setCommon(f,v,!!this._incremental,h)},s._setCommon=function(u,v,h,f){var c=v.hostModel;f=f||{};var d=v.getVisual("symbolSize");u.setShape("size",d instanceof Array?d:[d,d]),u.softClipShape=f.clipShape||null,u.symbolProxy=e(v.getVisual("symbol"),0,0,0,0),u.setColor=u.symbolProxy.setColor;var p=u.shape.size[0]=0&&(u.dataIndex=y+(u.startIndex||0))}))},s.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},s._clearIncremental=function(){var u=this._incremental;u&&u.clearDisplaybles()};var l=o;return V1=l,V1}var bB;function Bge(){if(bB)return xB;bB=1;var r=Pe(),t=df(),e=zge(),a=gf();return r.extendChartView({type:"scatter",render:function(i,n,o){var s=i.getData(),l=this._updateSymbolDraw(s,i);l.updateData(s,{clipShape:this._getClipShape(i)}),this._finished=!0},incrementalPrepareRender:function(i,n,o){var s=i.getData(),l=this._updateSymbolDraw(s,i);l.incrementalPrepareUpdate(s),this._finished=!1},incrementalRender:function(i,n,o){this._symbolDraw.incrementalUpdate(i,n.getData(),{clipShape:this._getClipShape(n)}),this._finished=i.end===n.getData().count()},updateTransform:function(i,n,o){var s=i.getData();if(this.group.dirty(),!this._finished||s.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var l=a().reset(i);l.progress&&l.progress({start:0,end:s.count()},s),this._symbolDraw.updateLayout(s)},_getClipShape:function(i){var n=i.coordinateSystem,o=n&&n.getArea&&n.getArea();return i.get("clip",!0)?o:null},_updateSymbolDraw:function(i,n){var o=this._symbolDraw,s=n.pipelineContext,l=s.large;return(!o||l!==this._isLargeDraw)&&(o&&o.remove(),o=this._symbolDraw=l?new e:new t,this._isLargeDraw=l,this.group.removeAll()),this.group.add(o.group),o},remove:function(i,n){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}}),xB}var wB;function Vge(){if(wB)return yB;wB=1;var r=Pe();Nge(),Bge();var t=Xs(),e=gf();return mf(),r.registerVisual(t("scatter","circle")),r.registerLayout(e("scatter")),yB}var TB={},AB={},G1,CB;function Gge(){if(CB)return G1;CB=1;var r=ie(),t=So();function e(i,n,o){t.call(this,i,n,o),this.type="value",this.angle=0,this.name="",this.model}r.inherits(e,t);var a=e;return G1=a,G1}var F1,MB;function Fge(){if(MB)return F1;MB=1;var r=ie(),t=Gge(),e=dg(),a=st(),i=wi(),n=i.getScaleExtent,o=i.niceScaleExtent,s=bi(),l=Q9();function u(h,f,c){this._model=h,this.dimensions=[],this._indicatorAxes=r.map(h.getIndicatorModels(),function(d,p){var g="indicator_"+p,m=new t(g,d.get("axisType")==="log"?new l:new e);return m.name=d.get("name"),m.model=d,d.axis=m,this.dimensions.push(g),m},this),this.resize(h,c),this.cx,this.cy,this.r,this.r0,this.startAngle}u.prototype.getIndicatorAxes=function(){return this._indicatorAxes},u.prototype.dataToPoint=function(h,f){var c=this._indicatorAxes[f];return this.coordToPoint(c.dataToCoord(h),f)},u.prototype.coordToPoint=function(h,f){var c=this._indicatorAxes[f],d=c.angle,p=this.cx+h*Math.cos(d),g=this.cy-h*Math.sin(d);return[p,g]},u.prototype.pointToData=function(h){var f=h[0]-this.cx,c=h[1]-this.cy,d=Math.sqrt(f*f+c*c);f/=d,c/=d;for(var p=Math.atan2(-c,f),g=1/0,m,y=-1,_=0;__[0]&&isFinite(C)&&isFinite(_[0]))}else{var M=S.getTicks().length-1;M>p&&(A=g(A));var T=Math.ceil(_[1]/A)*A,C=a.round(T-A*p);S.setExtent(C,T),S.setInterval(A)}})},u.dimensions=[],u.create=function(h,f){var c=[];return h.eachComponent("radar",function(d){var p=new u(d,h,f);c.push(p),d.coordinateSystem=p}),h.eachSeriesByType("radar",function(d){d.get("coordinateSystem")==="radar"&&(d.coordinateSystem=c[d.get("radarIndex")||0])}),c},s.register("radar",u);var v=u;return F1=v,F1}var H1,DB;function Hge(){if(DB)return H1;DB=1;var r=Pe(),t=ie(),e=i$(),a=gr(),i=Du(),n=e.valueAxis;function o(u,v){return t.defaults({show:v},u)}var s=r.extendComponentModel({type:"radar",optionUpdated:function(){var u=this.get("boundaryGap"),v=this.get("splitNumber"),h=this.get("scale"),f=this.get("axisLine"),c=this.get("axisTick"),d=this.get("axisType"),p=this.get("axisLabel"),g=this.get("name"),m=this.get("name.show"),y=this.get("name.formatter"),_=this.get("nameGap"),x=this.get("triggerEvent"),S=t.map(this.get("indicator")||[],function(b){b.max!=null&&b.max>0&&!b.min?b.min=0:b.min!=null&&b.min<0&&!b.max&&(b.max=0);var w=g;if(b.color!=null&&(w=t.defaults({color:b.color},g)),b=t.merge(t.clone(b),{boundaryGap:u,splitNumber:v,scale:h,axisLine:f,axisTick:c,axisType:d,axisLabel:p,name:b.text,nameLocation:"end",nameGap:_,nameTextStyle:w,triggerEvent:x},!1),m||(b.name=""),typeof y=="string"){var A=b.name;b.name=y.replace("{value}",A!=null?A:"")}else typeof y=="function"&&(b.name=y(b.name,b));var T=t.extend(new a(b,null,this.ecModel),i);return T.mainType="radar",T.componentIndex=this.componentIndex,T},this);this.getIndicatorModels=function(){return S}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:t.merge({lineStyle:{color:"#bbb"}},n.axisLine),axisLabel:o(n.axisLabel,!1),axisTick:o(n.axisTick,!1),axisType:"interval",splitLine:o(n.splitLine,!0),splitArea:o(n.splitArea,!0),indicator:[]}}),l=s;return H1=l,H1}var q1,LB;function qge(){if(LB)return q1;LB=1;var r=It();r.__DEV__;var t=Pe(),e=ie(),a=bo(),i=qe(),n=["axisLine","axisTickLabel","axisName"],o=t.extendComponentView({type:"radar",render:function(s,l,u){var v=this.group;v.removeAll(),this._buildAxes(s),this._buildSplitLineAndArea(s)},_buildAxes:function(s){var l=s.coordinateSystem,u=l.getIndicatorAxes(),v=e.map(u,function(h){var f=new a(h.model,{position:[l.cx,l.cy],rotation:h.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return f});e.each(v,function(h){e.each(n,h.add,h),this.group.add(h.getGroup())},this)},_buildSplitLineAndArea:function(s){var l=s.coordinateSystem,u=l.getIndicatorAxes();if(!u.length)return;var v=s.get("shape"),h=s.getModel("splitLine"),f=s.getModel("splitArea"),c=h.getModel("lineStyle"),d=f.getModel("areaStyle"),p=h.get("show"),g=f.get("show"),m=c.get("color"),y=d.get("color");m=e.isArray(m)?m:[m],y=e.isArray(y)?y:[y];var _=[],x=[];function S(k,B,F){var V=F%B.length;return k[V]=k[V]||[],V}if(v==="circle")for(var b=u[0].getTicksCoords(),w=l.cx,A=l.cy,T=0;T":"\n";return i(p===""?this.name:p)+g+e.map(d,function(m,y){var _=f.get(f.mapDimension(m.dim),l);return i(m.name+" : "+_)}).join(g)},getTooltipPosition:function(l){if(l!=null){for(var u=this.getData(),v=this.coordinateSystem,h=u.getValues(e.map(v.dimensions,function(p){return u.mapDimension(p)}),l,!0),f=0,c=h.length;f":"\n";return b.join(", ")+C+i(x+" : "+_)},getTooltipPosition:function(d){if(d!=null){var p=this.getData().getName(d),g=this.coordinateSystem,m=g.getRegion(p);return m&&g.dataToPoint(m.center)}},setZoom:function(d){this.option.zoom=d},setCenter:function(d){this.option.center=d},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});r.mixin(f,o);var c=f;return tx=c,tx}var Sv={},UB;function h$(){if(UB)return Sv;UB=1;var r=Pe(),t="\0_ec_interaction_mutex";function e(o,s,l){var u=n(o);u[s]=l}function a(o,s,l){var u=n(o),v=u[s];v===l&&(u[s]=null)}function i(o,s){return!!n(o)[s]}function n(o){return o[t]||(o[t]={})}return r.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),Sv.take=e,Sv.release=a,Sv.isTaken=i,Sv}var rx,$B;function xf(){if($B)return rx;$B=1;var r=ie(),t=Ws(),e=Ji(),a=h$();function i(d){this.pointerChecker,this._zr=d,this._opt={};var p=r.bind,g=p(n,this),m=p(o,this),y=p(s,this),_=p(l,this),x=p(u,this);t.call(this),this.setPointerChecker=function(S){this.pointerChecker=S},this.enable=function(S,b){this.disable(),this._opt=r.defaults(r.clone(b)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),S==null&&(S=!0),(S===!0||S==="move"||S==="pan")&&(d.on("mousedown",g),d.on("mousemove",m),d.on("mouseup",y)),(S===!0||S==="scale"||S==="zoom")&&(d.on("mousewheel",_),d.on("pinch",x))},this.disable=function(){d.off("mousedown",g),d.off("mousemove",m),d.off("mouseup",y),d.off("mousewheel",_),d.off("pinch",x)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}r.mixin(i,t);function n(d){if(!(e.isMiddleOrRightButtonOnMouseUpDown(d)||d.target&&d.target.draggable)){var p=d.offsetX,g=d.offsetY;this.pointerChecker&&this.pointerChecker(d,p,g)&&(this._x=p,this._y=g,this._dragging=!0)}}function o(d){if(!(!this._dragging||!f("moveOnMouseMove",d,this._opt)||d.gestureEvent==="pinch"||a.isTaken(this._zr,"globalPan"))){var p=d.offsetX,g=d.offsetY,m=this._x,y=this._y,_=p-m,x=g-y;this._x=p,this._y=g,this._opt.preventDefaultMouseMove&&e.stop(d.event),h(this,"pan","moveOnMouseMove",d,{dx:_,dy:x,oldX:m,oldY:y,newX:p,newY:g})}}function s(d){e.isMiddleOrRightButtonOnMouseUpDown(d)||(this._dragging=!1)}function l(d){var p=f("zoomOnMouseWheel",d,this._opt),g=f("moveOnMouseWheel",d,this._opt),m=d.wheelDelta,y=Math.abs(m),_=d.offsetX,x=d.offsetY;if(!(m===0||!p&&!g)){if(p){var S=y>3?1.4:y>1?1.2:1.1,b=m>0?S:1/S;v(this,"zoom","zoomOnMouseWheel",d,{scale:b,originX:_,originY:x})}if(g){var w=Math.abs(m),A=(m>0?1:-1)*(w>3?.4:w>1?.15:.05);v(this,"scrollMove","moveOnMouseWheel",d,{scrollDelta:A,originX:_,originY:x})}}}function u(d){if(!a.isTaken(this._zr,"globalPan")){var p=d.pinchScale>1?1.1:1/1.1;v(this,"zoom",null,d,{scale:p,originX:d.pinchX,originY:d.pinchY})}}function v(d,p,g,m,y){d.pointerChecker&&d.pointerChecker(m,y.originX,y.originY)&&(e.stop(m.event),h(d,p,g,m,y))}function h(d,p,g,m,y){y.isAvailableBehavior=r.bind(f,null,g,m),d.trigger(p,y)}function f(d,p,g){var m=g[d];return!d||m&&(!r.isString(m)||p.event[m+"Key"])}var c=i;return rx=c,rx}var Rc={},YB;function uD(){if(YB)return Rc;YB=1;function r(e,a,i){var n=e.target,o=n.position;o[0]+=a,o[1]+=i,n.dirty()}function t(e,a,i,n){var o=e.target,s=e.zoomLimit,l=o.position,u=o.scale,v=e.zoom=e.zoom||1;if(v*=a,s){var h=s.min||0,f=s.max||1/0;v=Math.max(Math.min(f,v),h)}var c=v/e.zoom;e.zoom=v,l[0]-=(i-l[0])*(c-1),l[1]-=(n-l[1])*(c-1),u[0]*=c,u[1]*=c,o.dirty()}return Rc.updateViewOnPan=r,Rc.updateViewOnZoom=t,Rc}var ax={},ZB;function Sg(){if(ZB)return ax;ZB=1;var r={axisPointer:1,tooltip:1,brush:1};function t(e,a,i){var n=a.getComponentByElement(e.topTarget),o=n&&n.coordinateSystem;return n&&n!==i&&!r[n.mainType]&&o&&o.model!==i}return ax.onIrrelevantElement=t,ax}var ix,XB;function f$(){if(XB)return ix;XB=1;var r=ie(),t=xf(),e=uD(),a=Sg(),i=a.onIrrelevantElement,n=qe(),o=xg(),s=vf(),l=s.getUID,u=og();function v(p){var g=p.getItemStyle(),m=p.get("areaColor");return m!=null&&(g.fill=m),g}function h(p,g,m,y,_){m.off("click"),m.off("mousedown"),g.get("selectedMode")&&(m.on("mousedown",function(){p._mouseDownFlag=!0}),m.on("click",function(x){if(p._mouseDownFlag){p._mouseDownFlag=!1;for(var S=x.target;!S.__regions;)S=S.parent;if(S){var b={type:(g.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:r.map(S.__regions,function(w){return{name:w.name,from:_.uid}})};b[g.mainType+"Id"]=g.id,y.dispatchAction(b),f(g,m)}}}))}function f(p,g){g.eachChild(function(m){r.each(m.__regions,function(y){m.trigger(p.isSelected(y.name)?"emphasis":"normal")})})}function c(p,g){var m=new n.Group;this.uid=l("ec_map_draw"),this._controller=new t(p.getZr()),this._controllerHost={target:g?m:null},this.group=m,this._updateGroup=g,this._mouseDownFlag,this._mapName,this._initialized,m.add(this._regionsGroup=new n.Group),m.add(this._backgroundGroup=new n.Group)}c.prototype={constructor:c,draw:function(p,g,m,y,_){var x=p.mainType==="geo",S=p.getData&&p.getData();x&&g.eachComponent({mainType:"series",subType:"map"},function(V){!S&&V.getHostGeoModel()===p&&(S=V.getData())});var b=p.coordinateSystem;this._updateBackground(b);var w=this._regionsGroup,A=this.group,T=b.getTransformInfo(),C=!w.childAt(0)||_,M;if(C)A.transform=T.roamTransform,A.decomposeTransform(),A.dirty();else{var L=new u;L.transform=T.roamTransform,L.decomposeTransform();var D={scale:L.scale,position:L.position};M=L.scale,n.updateProps(A,D,p)}var P=T.rawScale,I=T.rawPosition;w.removeAll();var R=["itemStyle"],E=["emphasis","itemStyle"],k=["label"],B=["emphasis","label"],F=r.createHashMap();r.each(b.regions,function(V){var N=F.get(V.name)||F.set(V.name,new n.Group),O=new n.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});N.add(O);var z=p.getRegionModel(V.name)||p,G=z.getModel(R),q=z.getModel(E),H=v(G),U=v(q),W=z.getModel(k),Y=z.getModel(B),X;if(S){X=S.indexOfName(V.name);var K=S.getItemVisual(X,"color",!0);K&&(H.fill=K)}var Q=function(ye){return[ye[0]*P[0]+I[0],ye[1]*P[1]+I[1]]};r.each(V.geometries,function(ye){if(ye.type==="polygon"){for(var Me=[],J=0;J=0)&&(oe=p);var fe=new n.Text({position:Q(V.center.slice()),scale:[1/A.scale[0],1/A.scale[1]],z2:10,silent:!0});if(n.setLabelStyle(fe.style,fe.hoverStyle={},W,Y,{labelFetcher:oe,labelDataIndex:le,defaultText:V.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!C){var se=[1/M[0],1/M[1]];n.updateProps(fe,{scale:se},p)}N.add(fe)}if(S)S.setItemGraphicEl(X,N);else{var z=p.getRegionModel(V.name);O.eventData={componentType:"geo",componentIndex:p.componentIndex,geoIndex:p.componentIndex,name:V.name,region:z&&z.option||{}}}var ve=N.__regions||(N.__regions=[]);ve.push(V),N.highDownSilentOnTouch=!!p.get("selectedMode"),n.setHoverStyle(N,U),w.add(N)}),this._updateController(p,g,m),h(this,p,w,m,y),f(p,w)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&o.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(p){var g=p.map;this._mapName!==g&&r.each(o.makeGraphic(g,this.uid),function(m){this._backgroundGroup.add(m)},this),this._mapName=g},_updateController:function(p,g,m){var y=p.coordinateSystem,_=this._controller,x=this._controllerHost;x.zoomLimit=p.get("scaleLimit"),x.zoom=y.getZoom(),_.enable(p.get("roam")||!1);var S=p.mainType;function b(){var w={type:"geoRoam",componentType:S};return w[S+"Id"]=p.id,w}_.off("pan").on("pan",function(w){this._mouseDownFlag=!1,e.updateViewOnPan(x,w.dx,w.dy),m.dispatchAction(r.extend(b(),{dx:w.dx,dy:w.dy}))},this),_.off("zoom").on("zoom",function(w){if(this._mouseDownFlag=!1,e.updateViewOnZoom(x,w.scale,w.originX,w.originY),m.dispatchAction(r.extend(b(),{zoom:w.scale,originX:w.originX,originY:w.originY})),this._updateGroup){var A=this.group.scale;this._regionsGroup.traverse(function(T){T.type==="text"&&T.attr("scale",[1/A[0],1/A[1]])})}},this),_.setPointerChecker(function(w,A,T){return y.getViewRectAfterRoam().contain(A,T)&&!i(w,m,p)})}};var d=c;return ix=d,ix}var nx,KB;function ame(){if(KB)return nx;KB=1;var r=Pe(),t=ie(),e=qe(),a=f$(),i="__seriesMapHighDown",n="__seriesMapCallKey",o=r.extendChartView({type:"map",render:function(u,v,h,f){if(!(f&&f.type==="mapToggleSelect"&&f.from===this.uid)){var c=this.group;if(c.removeAll(),!u.getHostGeoModel()){if(f&&f.type==="geoRoam"&&f.componentType==="series"&&f.seriesId===u.id){var d=this._mapDraw;d&&c.add(d.group)}else if(u.needsDrawMap){var d=this._mapDraw||new a(h,!0);c.add(d.group),d.draw(u,v,h,this,f),this._mapDraw=d}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;u.get("showLegendSymbol")&&v.getComponent("legend")&&this._renderSymbols(u,v,h)}}},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(u,v,h){var f=u.originalData,c=this.group;f.each(f.mapDimension("value"),function(d,p){if(!isNaN(d)){var g=f.getItemLayout(p);if(!(!g||!g.point)){var m=g.point,y=g.offset,_=new e.Circle({style:{fill:u.getData().getVisual("color")},shape:{cx:m[0]+y*9,cy:m[1],r:3},silent:!0,z2:8+(y?0:e.Z2_EMPHASIS_LIFT+1)});if(!y){var x=u.mainSeries.getData(),S=f.getName(p),b=x.indexOfName(S),w=f.getItemModel(p),A=w.getModel("label"),T=w.getModel("emphasis.label"),C=x.getItemGraphicEl(b),M=t.retrieve2(u.getFormattedLabel(b,"normal"),S),L=t.retrieve2(u.getFormattedLabel(b,"emphasis"),M),D=C[i],P=Math.random();if(!D){D=C[i]={};var I=t.curry(s,!0),R=t.curry(s,!1);C.on("mouseover",I).on("mouseout",R).on("emphasis",I).on("normal",R)}C[n]=P,t.extend(D,{recordVersion:P,circle:_,labelModel:A,hoverLabelModel:T,emphasisText:L,normalText:M}),l(D,!1)}c.add(_)}}})}});function s(u){var v=this[i];v&&v.recordVersion===this[n]&&l(v,u)}function l(u,v){var h=u.circle,f=u.labelModel,c=u.hoverLabelModel,d=u.emphasisText,p=u.normalText;v?(h.style.extendFrom(e.setTextStyle({},c,{text:c.get("show")?d:null},{isRectText:!0,useInsideStyle:!1},!0)),h.__mapOriginalZ2=h.z2,h.z2+=e.Z2_EMPHASIS_LIFT):(e.setTextStyle(h.style,f,{text:f.get("show")?p:null,textPosition:f.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),h.dirty(!1),h.__mapOriginalZ2!=null&&(h.z2=h.__mapOriginalZ2,h.__mapOriginalZ2=null))}return nx=o,nx}var QB={},ox={},jB;function vD(){if(jB)return ox;jB=1;function r(t,e,a){var i=t.getZoom(),n=t.getCenter(),o=e.zoom,s=t.dataToPoint(n);if(e.dx!=null&&e.dy!=null){s[0]-=e.dx,s[1]-=e.dy;var n=t.pointToData(s);t.setCenter(n)}if(o!=null){if(a){var l=a.min||0,u=a.max||1/0;o=Math.max(Math.min(i*o,u),l)/i}t.scale[0]*=o,t.scale[1]*=o;var v=t.position,h=(e.originX-v[0])*(o-1),f=(e.originY-v[1])*(o-1);v[0]-=h,v[1]-=f,t.updateTransform();var n=t.pointToData(s);t.setCenter(n),t.setZoom(o*i)}return{center:t.getCenter(),zoom:t.getZoom()}}return ox.updateCenterAndZoom=r,ox}var JB;function c$(){if(JB)return QB;JB=1;var r=Pe(),t=ie(),e=vD(),a=e.updateCenterAndZoom;return r.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(i,n){var o=i.componentType||"series";n.eachComponent({mainType:o,query:i},function(s){var l=s.coordinateSystem;if(l.type==="geo"){var u=a(l,i,s.get("scaleLimit"));s.setCenter&&s.setCenter(u.center),s.setZoom&&s.setZoom(u.zoom),o==="series"&&t.each(s.seriesGroup,function(v){v.setCenter(u.center),v.setZoom(u.zoom)})}})}),QB}var sx,eV;function hD(){if(eV)return sx;eV=1;var r=ie(),t=Jt(),e=ha(),a=rr(),i=og(),n=t.applyTransform;function o(){i.call(this)}r.mixin(o,i);function s(v){this.name=v,this.zoomLimit,i.call(this),this._roamTransformable=new o,this._rawTransformable=new o,this._center,this._zoom}s.prototype={constructor:s,type:"view",dimensions:["x","y"],setBoundingRect:function(v,h,f,c){return this._rect=new a(v,h,f,c),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(v,h,f,c){this.transformTo(v,h,f,c),this._viewRect=new a(v,h,f,c)},transformTo:function(v,h,f,c){var d=this.getBoundingRect(),p=this._rawTransformable;p.transform=d.calculateTransform(new a(v,h,f,c)),p.decomposeTransform(),this._updateTransform()},setCenter:function(v){v&&(this._center=v,this._updateCenterAndZoom())},setZoom:function(v){v=v||1;var h=this.zoomLimit;h&&(h.max!=null&&(v=Math.min(h.max,v)),h.min!=null&&(v=Math.max(h.min,v))),this._zoom=v,this._updateCenterAndZoom()},getDefaultCenter:function(){var v=this.getBoundingRect(),h=v.x+v.width/2,f=v.y+v.height/2;return[h,f]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var v=this._rawTransformable.getLocalTransform(),h=this._roamTransformable,f=this.getDefaultCenter(),c=this.getCenter(),d=this.getZoom();c=t.applyTransform([],c,v),f=t.applyTransform([],f,v),h.origin=c,h.position=[f[0]-c[0],f[1]-c[1]],h.scale=[d,d],this._updateTransform()},_updateTransform:function(){var v=this._roamTransformable,h=this._rawTransformable;h.parent=v,v.updateTransform(),h.updateTransform(),e.copy(this.transform||(this.transform=[]),h.transform||e.create()),this._rawTransform=h.getLocalTransform(),this.invTransform=this.invTransform||[],e.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var v=this._roamTransformable.transform,h=this._rawTransformable;return{roamTransform:v?r.slice(v):e.create(),rawScale:r.slice(h.scale),rawPosition:r.slice(h.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var v=this.getBoundingRect().clone();return v.applyTransform(this.transform),v},dataToPoint:function(v,h,f){var c=h?this._rawTransform:this.transform;return f=f||[],c?n(f,v,c):t.copy(f,v)},pointToData:function(v){var h=this.invTransform;return h?n([],v,h):[v[0],v[1]]},convertToPixel:r.curry(l,"dataToPoint"),convertFromPixel:r.curry(l,"pointToData"),containPoint:function(v){return this.getViewRectAfterRoam().contain(v[0],v[1])}},r.mixin(s,i);function l(v,h,f,c){var d=f.seriesModel,p=d?d.coordinateSystem:null;return p===this?p[v](c):null}var u=s;return sx=u,sx}var lx,tV;function ime(){if(tV)return lx;tV=1;var r=ie(),t=rr(),e=hD(),a=xg();function i(s,l,u,v){e.call(this,s),this.map=l;var h=a.load(l,u);this._nameCoordMap=h.nameCoordMap,this._regionsMap=h.regionsMap,this._invertLongitute=v==null?!0:v,this.regions=h.regions,this._rect=h.boundingRect}i.prototype={constructor:i,type:"geo",dimensions:["lng","lat"],containCoord:function(s){for(var l=this.regions,u=0;u1?(T.width=x,T.height=x/w):(T.height=x,T.width=x*w),T.y=_[1]-T.height/2,T.x=_[0]-T.width/2}else y=f.getBoxLayoutParams(),y.aspect=w,T=i.getLayoutRect(y,{width:S,height:b});this.setViewRect(T.x,T.y,T.width,T.height),this.setCenter(f.get("center")),this.setZoom(f.get("zoom"))}function u(f,c){e.each(c.get("geoCoord"),function(d,p){f.addGeoCoord(p,d)})}var v={dimensions:a.prototype.dimensions,create:function(f,c){var d=[];f.eachComponent("geo",function(g,m){var y=g.get("map"),_=g.get("aspectScale"),x=!0,S=s.retrieveMap(y);S&&S[0]&&S[0].type==="svg"?(_==null&&(_=1),x=!1):_==null&&(_=.75);var b=new a(y+m,y,g.get("nameMap"),x);b.aspectScale=_,b.zoomLimit=g.get("scaleLimit"),d.push(b),u(b,g),g.coordinateSystem=b,b.model=g,b.resize=l,b.resize(g,c)}),f.eachSeries(function(g){var m=g.get("coordinateSystem");if(m==="geo"){var y=g.get("geoIndex")||0;g.coordinateSystem=d[y]}});var p={};return f.eachSeriesByType("map",function(g){if(!g.getHostGeoModel()){var m=g.getMapType();p[m]=p[m]||[],p[m].push(g)}}),e.each(p,function(g,m){var y=e.map(g,function(x){return x.get("nameMap")}),_=new a(m,m,e.mergeAll(y));_.zoomLimit=e.retrieve.apply(null,e.map(g,function(x){return x.get("scaleLimit")})),d.push(_),_.resize=l,_.aspectScale=g[0].get("aspectScale"),_.resize(g[0],c),e.each(g,function(x){x.coordinateSystem=_,u(_,x)})}),d},getFilledRegions:function(f,c,d){for(var p=(f||[]).slice(),g=e.createHashMap(),m=0;mu&&(u=h.height)}this.height=u+1},getNodeById:function(l){if(this.getId()===l)return this;for(var u=0,v=this.children,h=v.length;u=0&&this.hostTree.data.setItemLayout(this.dataIndex,l,u)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(l){if(!(this.dataIndex<0)){var u=this.hostTree,v=u.data.getItemModel(this.dataIndex);return v.getModel(l)}},setVisual:function(l,u){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,l,u)},getVisual:function(l,u){return this.hostTree.data.getItemVisual(this.dataIndex,l,u)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(l){for(var u=l.parentNode;u;){if(u===this)return!0;u=u.parentNode}return!1},isDescendantOf:function(l){return l!==this&&l.isAncestorOf(this)}};function n(l){this.root,this.data,this._nodes=[],this.hostModel=l}n.prototype={constructor:n,type:"tree",eachNode:function(l,u,v){this.root.eachNode(l,u,v)},getNodeByDataIndex:function(l){var u=this.data.getRawIndex(l);return this._nodes[u]},getNodeByName:function(l){return this.root.getNodeByName(l)},update:function(){for(var l=this.data,u=this._nodes,v=0,h=u.length;vf&&(f=p.depth)});var c=o.expandAndCollapse,d=c&&o.initialTreeDepth>=0?o.initialTreeDepth:f;return v.root.eachNode("preorder",function(p){var g=p.hostTree.data.getRawDataItem(p.dataIndex);p.isExpand=g&&g.collapsed!=null?!g.collapsed:p.depth<=d}),v.data},getOrient:function(){var o=this.get("orient");return o==="horizontal"?o="LR":o==="vertical"&&(o="TB"),o},setZoom:function(o){this.option.zoom=o},setCenter:function(o){this.option.center=o},formatTooltip:function(o){for(var s=this.getData().tree,l=s.root.children[0],u=s.getNodeByDataIndex(o),v=u.getValue(),h=u.name;u&&u!==l;)h=u.parentNode.name+"."+h,u=u.parentNode;return a(h+(isNaN(v)||v==null?"":" : "+v))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});return gx=n,gx}var Gn={},fV;function p$(){if(fV)return Gn;fV=1;var r=Ut();function t(d){d.hierNode={defaultAncestor:null,ancestor:d,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var p=[d],g,m;g=p.pop();)if(m=g.children,g.isExpand&&m.length)for(var y=m.length,_=y-1;_>=0;_--){var x=m[_];x.hierNode={defaultAncestor:null,ancestor:x,prelim:0,modifier:0,change:0,shift:0,i:_,thread:null},p.push(x)}}function e(d,p){var g=d.isExpand?d.children:[],m=d.parentNode.children,y=d.hierNode.i?m[d.hierNode.i-1]:null;if(g.length){s(d);var _=(g[0].hierNode.prelim+g[g.length-1].hierNode.prelim)/2;y?(d.hierNode.prelim=y.hierNode.prelim+p(d,y),d.hierNode.modifier=d.hierNode.prelim-_):d.hierNode.prelim=_}else y&&(d.hierNode.prelim=y.hierNode.prelim+p(d,y));d.parentNode.hierNode.defaultAncestor=l(d,y,d.parentNode.hierNode.defaultAncestor||m[0],p)}function a(d){var p=d.hierNode.prelim+d.parentNode.hierNode.modifier;d.setLayout({x:p},!0),d.hierNode.modifier+=d.parentNode.hierNode.modifier}function i(d){return arguments.length?d:c}function n(d,p){var g={};return d-=Math.PI/2,g.x=p*Math.cos(d),g.y=p*Math.sin(d),g}function o(d,p){return r.getLayoutRect(d.getBoxLayoutParams(),{width:p.getWidth(),height:p.getHeight()})}function s(d){for(var p=d.children,g=p.length,m=0,y=0;--g>=0;){var _=p[g];_.hierNode.prelim+=m,_.hierNode.modifier+=m,y+=_.hierNode.change,m+=_.hierNode.shift+y}}function l(d,p,g,m){if(p){for(var y=d,_=d,x=_.parentNode.children[0],S=p,b=y.hierNode.modifier,w=_.hierNode.modifier,A=x.hierNode.modifier,T=S.hierNode.modifier;S=u(S),_=v(_),S&&_;){y=u(y),x=v(x),y.hierNode.ancestor=d;var C=S.hierNode.prelim+T-_.hierNode.prelim-w+m(S,_);C>0&&(f(h(S,d,g),d,C),w+=C,b+=C),T+=S.hierNode.modifier,w+=_.hierNode.modifier,b+=y.hierNode.modifier,A+=x.hierNode.modifier}S&&!u(y)&&(y.hierNode.thread=S,y.hierNode.modifier+=T-b),_&&!v(x)&&(x.hierNode.thread=_,x.hierNode.modifier+=w-A,g=d)}return g}function u(d){var p=d.children;return p.length&&d.isExpand?p[p.length-1]:d.hierNode.thread}function v(d){var p=d.children;return p.length&&d.isExpand?p[0]:d.hierNode.thread}function h(d,p,g){return d.hierNode.ancestor.parentNode===p.parentNode?d.hierNode.ancestor:g}function f(d,p,g){var m=g/(p.hierNode.i-d.hierNode.i);p.hierNode.change-=m,p.hierNode.shift+=g,p.hierNode.modifier+=g,p.hierNode.prelim+=g,d.hierNode.change+=m}function c(d,p){return d.parentNode===p.parentNode?1:2}return Gn.init=t,Gn.firstWalk=e,Gn.secondWalk=a,Gn.separation=i,Gn.radialCoordinate=n,Gn.getViewRect=o,Gn}var mx,cV;function hme(){if(cV)return mx;cV=1;var r=ie(),t=qe(),e=gg(),a=p$(),i=a.radialCoordinate,n=Pe(),o=uf(),s=hD(),l=uD(),u=xf(),v=Sg(),h=v.onIrrelevantElement,f=It();f.__DEV__;var c=st(),d=c.parsePercent,p=t.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(w,A){var T=A.childPoints,C=T.length,M=A.parentPoint,L=T[0],D=T[C-1];if(C===1){w.moveTo(M[0],M[1]),w.lineTo(L[0],L[1]);return}var P=A.orient,I=P==="TB"||P==="BT"?0:1,R=1-I,E=d(A.forkPosition,1),k=[];k[I]=M[I],k[R]=M[R]+(D[R]-M[R])*E,w.moveTo(M[0],M[1]),w.lineTo(k[0],k[1]),w.moveTo(L[0],L[1]),k[I]=L[I],w.lineTo(k[0],k[1]),k[I]=D[I],w.lineTo(k[0],k[1]),w.lineTo(D[0],D[1]);for(var B=1;BG.x,U||(H=H-Math.PI));var Y=U?"left":"right",X=R.labelModel.get("rotate"),K=X*(Math.PI/180);O.setStyle({textPosition:R.labelModel.get("position")||Y,textRotation:X==null?-H:K,textOrigin:"center",verticalAlign:"middle"})}x(M,P,E,T,V,F,N,C,R)}function x(w,A,T,C,M,L,D,P,I){var R=I.edgeShape,E=C.__edge;if(R==="curve")A.parentNode&&A.parentNode!==T&&(E||(E=C.__edge=new t.BezierCurve({shape:b(I,M,M),style:r.defaults({opacity:0,strokeNoScale:!0},I.lineStyle)})),t.updateProps(E,{shape:b(I,L,D),style:r.defaults({opacity:1},I.lineStyle)},w));else if(R==="polyline"&&I.layout==="orthogonal"&&A!==T&&A.children&&A.children.length!==0&&A.isExpand===!0){for(var k=A.children,B=[],F=0;F=0;s--)i.push(o[s])}}return Ec.eachAfter=r,Ec.eachBefore=t,Ec}var yx,mV;function dme(){if(mV)return yx;mV=1;var r=cme(),t=r.eachAfter,e=r.eachBefore,a=p$(),i=a.init,n=a.firstWalk,o=a.secondWalk,s=a.separation,l=a.radialCoordinate,u=a.getViewRect;function v(f,c){f.eachSeriesByType("tree",function(d){h(d,c)})}function h(f,c){var d=u(f,c);f.layoutInfo=d;var p=f.get("layout"),g=0,m=0,y=null;p==="radial"?(g=2*Math.PI,m=Math.min(d.height,d.width)/2,y=s(function(I,R){return(I.parentNode===R.parentNode?1:2)/I.depth})):(g=d.width,m=d.height,y=s());var _=f.getData().tree.root,x=_.children[0];if(x){i(_),t(x,n,y),_.hierNode.modifier=-x.hierNode.prelim,e(x,o);var S=x,b=x,w=x;e(x,function(I){var R=I.getLayout().x;Rb.getLayout().x&&(b=I),I.depth>w.depth&&(w=I)});var A=S===b?1:y(S,b)/2,T=A-S.getLayout().x,C=0,M=0,L=0,D=0;if(p==="radial")C=g/(b.getLayout().x+A+T),M=m/(w.depth-1||1),e(x,function(I){L=(I.getLayout().x+T)*C,D=(I.depth-1)*M;var R=l(L,D);I.setLayout({x:R.x,y:R.y,rawX:L,rawY:D},!0)});else{var P=f.getOrient();P==="RL"||P==="LR"?(M=m/(b.getLayout().x+A+T),C=g/(w.depth-1||1),e(x,function(I){D=(I.getLayout().x+T)*M,L=P==="LR"?(I.depth-1)*C:g-(I.depth-1)*C,I.setLayout({x:L,y:D},!0)})):(P==="TB"||P==="BT")&&(C=g/(b.getLayout().x+A+T),M=m/(w.depth-1||1),e(x,function(I){L=(I.getLayout().x+T)*C,D=P==="TB"?(I.depth-1)*M:m-(I.depth-1)*M,I.setLayout({x:L,y:D},!0)}))}}}return yx=v,yx}var yV;function pme(){if(yV)return lV;yV=1;var r=Pe();vme(),hme(),fme();var t=Xs(),e=dme();return r.registerVisual(t("tree","circle")),r.registerLayout(e),lV}var _V={},wl={},xV;function Qs(){if(xV)return wl;xV=1;var r=ie();function t(n,o,s){if(n&&r.indexOf(o,n.type)>=0){var l=s.getData().tree.root,u=n.targetNode;if(typeof u=="string"&&(u=l.getNodeById(u)),u&&l.contains(u))return{node:u};var v=n.targetNodeId;if(v!=null&&(u=l.getNodeById(v)))return{node:u}}}function e(n){for(var o=[];n;)n=n.parentNode,n&&o.push(n);return o.reverse()}function a(n,o){var s=e(n);return r.indexOf(s,o)>=0}function i(n,o){for(var s=[];n;){var l=n.dataIndex;s.push({name:n.name,dataIndex:l,value:o.getRawValue(l)}),n=n.parentNode}return s.reverse(),s}return wl.retrieveTargetInfo=t,wl.getPathToRoot=e,wl.aboveViewRoot=a,wl.wrapTreePathInfo=i,wl}var _x,SV;function gme(){if(SV)return _x;SV=1;var r=ie(),t=Ir(),e=cD(),a=gr(),i=Yt(),n=i.encodeHTML,o=i.addCommas,s=Qs(),l=s.wrapTreePathInfo,u=t.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],preventUsingHoverLayer:!0,_viewRoot:null,defaultOption:{progressive:0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.32*.32,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(f,c){var d={name:f.name,children:f.data};v(d);var p=f.levels||[],g=this.designatedVisualItemStyle={},m=new a({itemStyle:g},this,c);p=f.levels=h(p,c);var y=r.map(p||[],function(S){return new a(S,m,c)},this),_=e.createTree(d,this,x);function x(S){S.wrapMethod("getItemModel",function(b,w){var A=_.getNodeByDataIndex(w),T=y[A.depth];return b.parentModel=T||m,b})}return _.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(f){var c=this.getData(),d=this.getRawValue(f),p=r.isArray(d)?o(d[0]):o(d),g=c.getName(f);return n(g+": "+p)},getDataParams:function(f){var c=t.prototype.getDataParams.apply(this,arguments),d=this.getData().tree.getNodeByDataIndex(f);return c.treePathInfo=l(d,this),c},setLayoutInfo:function(f){this.layoutInfo=this.layoutInfo||{},r.extend(this.layoutInfo,f)},mapIdToIndex:function(f){var c=this._idIndexMap;c||(c=this._idIndexMap=r.createHashMap(),this._idIndexMapCount=0);var d=c.get(f);return d==null&&c.set(f,d=this._idIndexMapCount++),d},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(f){f?this._viewRoot=f:f=this._viewRoot;var c=this.getRawData().tree.root;(!f||f!==c&&!c.contains(f))&&(this._viewRoot=c)}});function v(f){var c=0;r.each(f.children,function(p){v(p);var g=p.value;r.isArray(g)&&(g=g[0]),c+=g});var d=f.value;r.isArray(d)&&(d=d[0]),(d==null||isNaN(d))&&(d=c),d<0&&(d=0),r.isArray(f.value)?f.value[0]=d:f.value=d}function h(f,c){var d=c.get("color");if(d){f=f||[];var p;if(r.each(f,function(m){var y=new a(m),_=y.get("color");(y.get("itemStyle.color")||_&&_!=="none")&&(p=!0)}),!p){var g=f[0]||(f[0]={});g.color=d.slice()}return f}}return _x=u,_x}var xx,bV;function mme(){if(bV)return xx;bV=1;var r=qe(),t=Ut(),e=ie(),a=Qs(),i=a.wrapTreePathInfo,n=8,o=8,s=5;function l(f){this.group=new r.Group,f.add(this.group)}l.prototype={constructor:l,render:function(f,c,d,p){var g=f.getModel("breadcrumb"),m=this.group;if(m.removeAll(),!(!g.get("show")||!d)){var y=g.getModel("itemStyle"),_=y.getModel("textStyle"),x={pos:{left:g.get("left"),right:g.get("right"),top:g.get("top"),bottom:g.get("bottom")},box:{width:c.getWidth(),height:c.getHeight()},emptyItemWidth:g.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(d,x,_),this._renderContent(f,x,y,_,p),t.positionElement(m,x.pos,x.box)}},_prepare:function(f,c,d){for(var p=f;p;p=p.parentNode){var g=p.getModel().get("name"),m=d.getTextRect(g),y=Math.max(m.width+n*2,c.emptyItemWidth);c.totalWidth+=y+o,c.renderList.push({node:p,text:g,width:y})}},_renderContent:function(f,c,d,p,g){for(var m=0,y=c.emptyItemWidth,_=f.get("breadcrumb.height"),x=t.getAvailableSize(c.pos,c.box),S=c.totalWidth,b=c.renderList,w=b.length-1;w>=0;w--){var A=b[w],T=A.node,C=A.width,M=A.text;S>x.width&&(S-=C-y,C=y,M=null);var L=new r.Polygon({shape:{points:u(m,0,C,_,w===b.length-1,w===0)},style:e.defaults(d.getItemStyle(),{lineJoin:"bevel",text:M,textFill:p.getTextColor(),textFont:p.getFont()}),z:10,onclick:e.curry(g,T)});this.group.add(L),v(L,f,T),m+=C+o}},remove:function(){this.group.removeAll()}};function u(f,c,d,p,g,m){var y=[[g?f:f-s,c],[f+d,c],[f+d,c+p],[g?f:f-s,c+p]];return!m&&y.splice(2,0,[f+d+s,c+p/2]),!g&&y.push([f,c+p/2]),y}function v(f,c,d){f.eventData={componentType:"series",componentSubType:"treemap",componentIndex:c.componentIndex,seriesIndex:c.componentIndex,seriesName:c.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:d&&d.dataIndex,name:d&&d.name},treePathInfo:d&&i(d,c)}}var h=l;return xx=h,xx}var Sx={},wV;function yme(){if(wV)return Sx;wV=1;var r=ie();function t(){var e=[],a={},i;return{add:function(n,o,s,l,u){return r.isString(l)&&(u=l,l=0),a[n.id]?!1:(a[n.id]=1,e.push({el:n,target:o,time:s,delay:l,easing:u}),!0)},done:function(n){return i=n,this},start:function(){for(var n=e.length,o=0,s=e.length;om||Math.abs(I.dy)>m)){var R=this.seriesModel.getData().tree.root;if(!R)return;var E=R.getLayout();if(!E)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:E.x+I.dx,y:E.y+I.dy,width:E.width,height:E.height}})}},_onZoom:function(I){var R=I.originX,E=I.originY;if(this._state!=="animating"){var k=this.seriesModel.getData().tree.root;if(!k)return;var B=k.getLayout();if(!B)return;var F=new s(B.x,B.y,B.width,B.height),V=this.seriesModel.layoutInfo;R-=V.x,E-=V.y;var N=l.create();l.translate(N,N,[-R,-E]),l.scale(N,N,[I.scale,I.scale]),l.translate(N,N,[R,E]),F.applyTransform(N),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:F.x,y:F.y,width:F.width,height:F.height}})}},_initEvents:function(I){I.on("click",function(R){if(this._state==="ready"){var E=this.seriesModel.get("nodeClick",!0);if(E){var k=this.findTarget(R.offsetX,R.offsetY);if(k){var B=k.node;if(B.getLayout().isLeafRoot)this._rootToNode(k);else if(E==="zoomToNode")this._zoomToNode(k);else if(E==="link"){var F=B.hostTree.data.getItemModel(B.dataIndex),V=F.get("link",!0),N=F.get("target",!0)||"blank";V&&f(V,N)}}}}},this)},_renderBreadcrumb:function(I,R,E){E||(E=I.get("leafDepth",!0)!=null?{node:I.getViewRoot()}:this.findTarget(R.getWidth()/2,R.getHeight()/2),E||(E={node:I.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new n(this.group))).render(I,R,E.node,c(k,this));function k(B){this._state!=="animating"&&(i.aboveViewRoot(I.getViewRoot(),B)?this._rootToNode({node:B}):this._zoomToNode({node:B}))}},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=L(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(I){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:I.node})},_rootToNode:function(I){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:I.node})},findTarget:function(I,R){var E,k=this.seriesModel.getViewRoot();return k.eachNode({attr:"viewChildren",order:"preorder"},function(B){var F=this._storage.background[B.getRawIndex()];if(F){var V=F.transformCoordToLocal(I,R),N=F.shape;if(N.x<=V[0]&&V[0]<=N.x+N.width&&N.y<=V[1]&&V[1]<=N.y+N.height)E={node:B,offsetX:V[0],offsetY:V[1]};else return!1}},this),E}});function L(){return{nodeGroup:[],background:[],content:[]}}function D(I,R,E,k,B,F,V,N,O,z){if(!V)return;var G=V.getLayout(),q=I.getData();if(q.setItemGraphicEl(V.dataIndex,null),!G||!G.isInView)return;var H=G.width,U=G.height,W=G.borderWidth,Y=G.invisible,X=V.getRawIndex(),K=N&&N.getRawIndex(),Q=V.viewChildren,j=G.upperHeight,te=Q&&Q.length,Z=V.getModel("itemStyle"),ee=V.getModel("emphasis.itemStyle"),le=ue("nodeGroup",d);if(!le)return;if(O.add(le),le.attr("position",[G.x||0,G.y||0]),le.__tmNodeWidth=H,le.__tmNodeHeight=U,G.isAboveViewRoot)return le;var oe=V.getModel(),fe=ue("background",p,z,w);if(fe&&ve(le,fe,te&&G.upperLabelHeight),te)e.isHighDownDispatcher(le)&&e.setAsHighDownDispatcher(le,!1),fe&&(e.setAsHighDownDispatcher(fe,!0),q.setItemGraphicEl(V.dataIndex,fe));else{var se=ue("content",p,z,A);se&&ye(le,se),fe&&e.isHighDownDispatcher(fe)&&e.setAsHighDownDispatcher(fe,!1),e.setAsHighDownDispatcher(le,!0),q.setItemGraphicEl(V.dataIndex,le)}return le;function ve(ge,pe,Ce){if(pe.dataIndex=V.dataIndex,pe.seriesIndex=I.seriesIndex,pe.setShape({x:0,y:0,width:H,height:U}),Y)Me(pe);else{pe.invisible=!1;var ze=V.getVisual("borderColor",!0),Ve=ee.get("borderColor"),ke=C(Z);ke.fill=ze;var lt=T(ee);if(lt.fill=Ve,Ce){var dt=H-2*W;J(ke,lt,ze,dt,j,{x:W,y:0,width:dt,height:j})}else ke.text=lt.text=null;pe.setStyle(ke),e.setElementHoverStyle(pe,lt)}ge.add(pe)}function ye(ge,pe){pe.dataIndex=V.dataIndex,pe.seriesIndex=I.seriesIndex;var Ce=Math.max(H-2*W,0),ze=Math.max(U-2*W,0);if(pe.culling=!0,pe.setShape({x:W,y:W,width:Ce,height:ze}),Y)Me(pe);else{pe.invisible=!1;var Ve=V.getVisual("color",!0),ke=C(Z);ke.fill=Ve;var lt=T(ee);J(ke,lt,Ve,Ce,ze),pe.setStyle(ke),e.setElementHoverStyle(pe,lt)}ge.add(pe)}function Me(ge){!ge.invisible&&F.push(ge)}function J(ge,pe,Ce,ze,Ve,ke){var lt=oe.get("name"),dt=oe.getModel(ke?x:y),Dt=oe.getModel(ke?S:_),Tt=dt.getShallow("show");e.setLabelStyle(ge,pe,dt,Dt,{defaultText:Tt?lt:null,autoColor:Ce,isRectText:!0,labelFetcher:I,labelDataIndex:V.dataIndex,labelProp:ke?"upperLabel":"label"}),ne(ge,ke,G),ne(pe,ke,G),ke&&(ge.textRect=t.clone(ke)),ge.truncate=Tt&&dt.get("ellipsis")?{outerWidth:ze,outerHeight:Ve,minChar:2}:null}function ne(ge,pe,Ce){var ze=ge.text;if(!pe&&Ce.isLeafRoot&&ze!=null){var Ve=I.get("drillDownIcon",!0);ge.text=Ve?Ve+" "+ze:ze}}function ue(ge,pe,Ce,ze){var Ve=K!=null&&E[ge][K],ke=B[ge];return Ve?(E[ge][K]=null,me(ke,Ve,ge)):Y||(Ve=new pe({z:P(Ce,ze)}),Ve.__tmDepth=Ce,Ve.__tmStorageName=ge,xe(ke,Ve,ge)),R[ge][X]=Ve}function me(ge,pe,Ce){var ze=ge[X]={};ze.old=Ce==="nodeGroup"?pe.position.slice():t.extend({},pe.shape)}function xe(ge,pe,Ce){var ze=ge[X]={},Ve=V.parentNode;if(Ve&&(!k||k.direction==="drillDown")){var ke=0,lt=0,dt=B.background[Ve.getRawIndex()];!k&&dt&&dt.old&&(ke=dt.old.width,lt=dt.old.height),ze.old=Ce==="nodeGroup"?[0,lt]:{x:ke,y:lt,width:0,height:0}}ze.fadein=Ce!=="nodeGroup"}}function P(I,R){var E=I*b+R;return(E-1)/E}return bx=M,bx}var AV={},CV;function xme(){if(CV)return AV;CV=1;for(var r=Pe(),t=Qs(),e=function(){},a=["treemapZoomToNode","treemapRender","treemapMove"],i=0;i=0;L--)T[L]==null&&(delete C[A[L]],A.pop())}function h(w,A){var T=w.visual,C=[];r.isObject(T)?i(T,function(L){C.push(L)}):T!=null&&C.push(T);var M={color:1,symbol:1};!A&&C.length===1&&!M.hasOwnProperty(w.type)&&(C[1]=C[0]),_(w,C)}function f(w){return{applyVisual:function(A,T,C){A=this.mapValueToVisual(A),C("color",w(T("color"),A))},_doMap:m([0,1])}}function c(w){var A=this.option.visual;return A[Math.round(a(w,[0,1],[0,A.length-1],!0))]||{}}function d(w){return function(A,T,C){C(w,this.mapValueToVisual(A))}}function p(w){var A=this.option.visual;return A[this.option.loop&&w!==o?w%A.length:w]}function g(){return this.option.visual[0]}function m(w){return{linear:function(A){return a(A,w,this.option.visual,!0)},category:p,piecewise:function(A,T){var C=y.call(this,T);return C==null&&(C=a(A,w,this.option.visual,!0)),C},fixed:g}}function y(w){var A=this.option,T=A.pieceList;if(A.hasSpecialVisual){var C=s.findPieceIndex(w,T),M=T[C];if(M&&M.visual)return M.visual[this.type]}}function _(w,A){return w.visual=A,w.type==="color"&&(w.parsedVisual=r.map(A,function(T){return t.parse(T)})),A}var x={linear:function(w){return a(w,this.option.dataExtent,[0,1],!0)},piecewise:function(w){var A=this.option.pieceList,T=s.findPieceIndex(w,A,!0);if(T!=null)return a(T,[0,A.length-1],[0,1],!0)},category:function(w){var A=this.option.categories?this.option.categoryMap[w]:w;return A==null?o:A},fixed:r.noop};s.listVisualTypes=function(){var w=[];return r.each(l,function(A,T){w.push(T)}),w},s.addVisualHandler=function(w,A){l[w]=A},s.isValidType=function(w){return l.hasOwnProperty(w)},s.eachVisual=function(w,A,T){r.isObject(w)?r.each(w,A,T):A.call(T,w)},s.mapVisual=function(w,A,T){var C,M=r.isArray(w)?[]:r.isObject(w)?{}:(C=!0,null);return s.eachVisual(w,function(L,D){var P=A.call(T,L,D);C?M=P:M[D]=P}),M},s.retrieveVisuals=function(w){var A={},T;return w&&i(l,function(C,M){w.hasOwnProperty(M)&&(A[M]=w[M],T=!0)}),T?A:null},s.prepareVisualTypes=function(w){if(n(w)){var A=[];i(w,function(T,C){A.push(C)}),w=A}else if(r.isArray(w))w=w.slice();else return[];return w.sort(function(T,C){return C==="color"&&T!=="color"&&T.indexOf("color")===0?1:-1}),w},s.dependsOn=function(w,A){return A==="color"?!!(w&&w.indexOf(A)===0):w===A},s.findPieceIndex=function(w,A,T){for(var C,M=1/0,L=0,D=A.length;L=g.length||M===g[M.depth]){var D=c(y,S,M,L,C,m);o(M,D,g,m)}})}}}function s(d,p,g){var m=e.extend({},p),y=g.designatedVisualItemStyle;return e.each(["color","colorAlpha","colorSaturation"],function(_){y[_]=p[_];var x=d.get(_);y[_]=null,x!=null&&(m[_]=x)}),m}function l(d){var p=v(d,"color");if(p){var g=v(d,"colorAlpha"),m=v(d,"colorSaturation");return m&&(p=t.modifyHSL(p,null,null,m)),g&&(p=t.modifyAlpha(p,g)),p}}function u(d,p){return p!=null?t.modifyHSL(p,null,null,d):null}function v(d,p){var g=d[p];if(g!=null&&g!=="none")return g}function h(d,p,g,m,y,_){if(!(!_||!_.length)){var x=f(p,"color")||y.color!=null&&y.color!=="none"&&(f(p,"colorAlpha")||f(p,"colorSaturation"));if(x){var S=p.get("visualMin"),b=p.get("visualMax"),w=g.dataExtent.slice();S!=null&&Sw[1]&&(w[1]=b);var A=p.get("colorMappingBy"),T={type:x.name,dataExtent:w,visual:x.range};T.type==="color"&&(A==="index"||A==="id")?(T.mappingMethod="category",T.loop=!0):T.mappingMethod="linear";var C=new r(T);return C.__drColorMappingBy=A,C}}}function f(d,p){var g=d.get(p);return a(g)&&g.length?{name:p,range:g}:null}function c(d,p,g,m,y,_){var x=e.extend({},p);if(y){var S=y.type,b=S==="color"&&y.__drColorMappingBy,w=b==="index"?m:b==="id"?_.mapIdToIndex(g.getId()):g.getValue(d.get("visualDimension"));x[S]=y.mapValueToVisual(w)}return x}return Ax=n,Ax}var Cx,LV;function bme(){if(LV)return Cx;LV=1;var r=ie(),t=rr(),e=st(),a=e.parsePercent,i=e.MAX_SAFE_INTEGER,n=Ut(),o=Qs(),s=Math.max,l=Math.min,u=r.retrieve,v=r.each,h=["itemStyle","borderWidth"],f=["itemStyle","gapWidth"],c=["upperLabel","show"],d=["upperLabel","height"],p={seriesType:"treemap",reset:function(M,L,D,P){var I=D.getWidth(),R=D.getHeight(),E=M.option,k=n.getLayoutRect(M.getBoxLayoutParams(),{width:D.getWidth(),height:D.getHeight()}),B=E.size||[],F=a(u(k.width,B[0]),I),V=a(u(k.height,B[1]),R),N=P&&P.type,O=["treemapZoomToNode","treemapRootToNode"],z=o.retrieveTargetInfo(P,O,M),G=N==="treemapRender"||N==="treemapMove"?P.rootRect:null,q=M.getViewRoot(),H=o.getPathToRoot(q);if(N!=="treemapMove"){var U=N==="treemapZoomToNode"?w(M,z,q,F,V):G?[G.width,G.height]:[F,V],W=E.sort;W&&W!=="asc"&&W!=="desc"&&(W="desc");var Y={squareRatio:E.squareRatio,sort:W,leafDepth:E.leafDepth};q.hostTree.clearLayouts();var X={x:0,y:0,width:U[0],height:U[1],area:U[0]*U[1]};q.setLayout(X),g(q,Y,!1,0);var X=q.getLayout();v(H,function(Q,j){var te=(H[j+1]||q).getValue();Q.setLayout(r.extend({dataExtent:[te,te],borderWidth:0,upperHeight:0},X))})}var K=M.getData().tree.root;K.setLayout(A(k,G,z),!0),M.setLayoutInfo(k),T(K,new t(-k.x,-k.y,I,R),H,q,0)}};function g(M,L,D,P){var I,R;if(!M.isRemoved()){var E=M.getLayout();I=E.width,R=E.height;var z=M.getModel(),k=z.get(h),B=z.get(f)/2,F=C(z),V=Math.max(k,F),N=k-B,O=V-B,z=M.getModel();M.setLayout({borderWidth:k,upperHeight:V,upperLabelHeight:F},!0),I=s(I-2*N,0),R=s(R-N-O,0);var G=I*R,q=m(M,z,G,L,D,P);if(q.length){var H={x:N,y:O,width:I,height:R},U=l(I,R),W=1/0,Y=[];Y.area=0;for(var X=0,K=q.length;X=0;B--){var F=I[P==="asc"?E-B-1:B].getValue();F/D*Lk[1]&&(k[1]=V)})}return{sum:P,dataExtent:k}}function S(M,L,D){for(var P=0,I=1/0,R=0,E,k=M.length;RP&&(P=E));var B=M.area*M.area,F=L*L*D;return B?s(F*P/B,B/(F*I)):1/0}function b(M,L,D,P,I){var R=L===D.width?0:1,E=1-R,k=["x","y"],B=["width","height"],F=D[k[R]],V=L?M.area/L:0;(I||V>D[B[E]])&&(V=D[B[E]]);for(var N=0,O=M.length;Ni&&(F=i),R=k}F=0&&h.call(f,c[p],p)},o.eachEdge=function(h,f){for(var c=this.edges,d=c.length,p=0;p=0&&c[p].node1.dataIndex>=0&&c[p].node2.dataIndex>=0&&h.call(f,c[p],p)},o.breadthFirstTraverse=function(h,f,c,d){if(s.isInstance(f)||(f=this._nodesMap[i(f)]),!!f){for(var p=c==="out"?"outEdges":c==="in"?"inEdges":"edges",g=0;g=0&&y.node2.dataIndex>=0});for(var p=0,g=d.length;p=0&&this[h][f].setItemVisual(this.dataIndex,c,d)},getVisual:function(c,d){return this[h][f].getItemVisual(this.dataIndex,c,d)},setLayout:function(c,d){this.dataIndex>=0&&this[h][f].setItemLayout(this.dataIndex,c,d)},getLayout:function(){return this[h][f].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[h][f].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[h][f].getRawIndex(this.dataIndex)}}};t.mixin(s,u("hostGraph","data")),t.mixin(l,u("hostGraph","edgeData")),n.Node=s,n.Edge=l,a(s),a(l);var v=n;return Mx=v,Mx}var Dx,EV;function g$(){if(EV)return Dx;EV=1;var r=ie(),t=ei(),e=Tme(),a=d$(),i=Mu(),n=bi(),o=In();function s(l,u,v,h,f){for(var c=new e(h),d=0;d "+x)),m++)}var S=v.get("coordinateSystem"),b;if(S==="cartesian2d"||S==="polar")b=o(l,v);else{var w=n.get(S),A=w&&w.type!=="view"?w.dimensions||[]:[];r.indexOf(A,"value")<0&&A.concat(["value"]);var T=i(l,{coordDimensions:A});b=new t(T,v),b.initData(l)}var C=new t(["value"],v);return C.initData(g,p),f&&f(b,C),a({mainData:b,struct:c,structAttr:"graph",datas:{node:b,edge:C},datasAttr:{node:"data",edge:"edgeData"}}),c.update(),c}return Dx=s,Dx}var bv={},kV;function bg(){if(kV)return bv;kV=1;var r=ie(),t="-->",e=function(f){return f.get("autoCurveness")||null},a=function(f,c){var d=e(f),p=20,g=[];if(typeof d=="number")p=d;else if(r.isArray(d)){f.__curvenessList=d;return}c>p&&(p=c);var m=p%2?p+2:p+3;g=[];for(var y=0;y ")),_.value&&(w+=" : "+s(_.value)),w}else return c.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var p=e.map(this.option.categories||[],function(m){return m.value!=null?m:e.extend({value:0},m)}),g=new t(["value"],this);g.initData(p),this._categoriesData=g,this._categoriesModels=g.mapArray(function(m){return g.getItemModel(m,!0)})},setZoom:function(p){this.option.zoom=p},setCenter:function(p){this.option.center=p},isAnimationEnabled:function(){return c.superCall(this,"isAnimationEnabled")&&!(this.get("layout")==="force"&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{label:{show:!0}}}}),d=c;return Lx=d,Lx}var Ix,NV;function Cme(){if(NV)return Ix;NV=1;var r=qe(),t=Jt(),e=r.Line.prototype,a=r.BezierCurve.prototype;function i(o){return isNaN(+o.cpx1)||isNaN(+o.cpy1)}var n=r.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(o,s){this[i(s)?"_buildPathLine":"_buildPathCurve"](o,s)},_buildPathLine:e.buildPath,_buildPathCurve:a.buildPath,pointAt:function(o){return this[i(this.shape)?"_pointAtLine":"_pointAtCurve"](o)},_pointAtLine:e.pointAt,_pointAtCurve:a.pointAt,tangentAt:function(o){var s=this.shape,l=i(s)?[s.x2-s.x1,s.y2-s.y1]:this._tangentAtCurve(o);return t.normalize(l,l)},_tangentAtCurve:a.tangentAt});return Ix=n,Ix}var Px,zV;function dD(){if(zV)return Px;zV=1;var r=ie(),t=Jt(),e=ti(),a=Cme(),i=qe(),n=st(),o=n.round,s=["fromSymbol","toSymbol"];function l(g){return"_"+g+"Type"}function u(g,m,y){var _=m.getItemVisual(y,g);if(!(!_||_==="none")){var x=m.getItemVisual(y,"color"),S=m.getItemVisual(y,g+"Size"),b=m.getItemVisual(y,g+"Rotate");r.isArray(S)||(S=[S,S]);var w=e.createSymbol(_,-S[0]/2,-S[1]/2,S[0],S[1],x);return w.__specifiedRotation=b==null||isNaN(b)?void 0:+b*Math.PI/180||0,w.name=g,w}}function v(g){var m=new a({name:"line",subPixelOptimize:!0});return h(m.shape,g),m}function h(g,m){g.x1=m[0][0],g.y1=m[0][1],g.x2=m[1][0],g.y2=m[1][1],g.percent=1;var y=m[2];y?(g.cpx1=y[0],g.cpy1=y[1]):(g.cpx1=NaN,g.cpy1=NaN)}function f(){var g=this,m=g.childOfName("fromSymbol"),y=g.childOfName("toSymbol"),_=g.childOfName("label");if(!(!m&&!y&&_.ignore)){for(var x=1,S=this.parent;S;)S.scale&&(x/=S.scale[0]),S=S.parent;var b=g.childOfName("line");if(!(!this.__dirty&&!b.__dirty)){var w=b.shape.percent,A=b.pointAt(0),T=b.pointAt(w),C=t.sub([],T,A);if(t.normalize(C,C),m){m.attr("position",A);var M=m.__specifiedRotation;if(M==null){var L=b.tangentAt(0);m.attr("rotation",Math.PI/2-Math.atan2(L[1],L[0]))}else m.attr("rotation",M);m.attr("scale",[x*w,x*w])}if(y){y.attr("position",T);var M=y.__specifiedRotation;if(M==null){var L=b.tangentAt(1);y.attr("rotation",-Math.PI/2-Math.atan2(L[1],L[0]))}else y.attr("rotation",M);y.attr("scale",[x*w,x*w])}if(!_.ignore){_.attr("position",T);var D,P,I,R,E=_.__labelDistance,k=E[0]*x,B=E[1]*x,F=w/2,L=b.tangentAt(F),V=[L[1],-L[0]],N=b.pointAt(F);V[1]>0&&(V[0]=-V[0],V[1]=-V[1]);var O=L[0]<0?-1:1;if(_.__position!=="start"&&_.__position!=="end"){var z=-Math.atan2(L[1],L[0]);T[0].8?"left":C[0]<-.8?"right":"center",I=C[1]>.8?"top":C[1]<-.8?"bottom":"middle";break;case"start":D=[-C[0]*k+A[0],-C[1]*B+A[1]],P=C[0]>.8?"right":C[0]<-.8?"left":"center",I=C[1]>.8?"bottom":C[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":D=[k*O+A[0],A[1]+G],P=L[0]<0?"right":"left",R=[-k*O,-G];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":D=[N[0],N[1]+G],P="center",R=[0,-G];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":D=[-k*O+T[0],T[1]+G],P=L[0]>=0?"right":"left",R=[k*O,-G];break}_.attr({style:{textVerticalAlign:_.__verticalAlign||I,textAlign:_.__textAlign||P},position:D,scale:[x,x],origin:R})}}}}function c(g,m,y){i.Group.call(this),this._createLine(g,m,y)}var d=c.prototype;d.beforeUpdate=f,d._createLine=function(g,m,y){var _=g.hostModel,x=g.getItemLayout(m),S=v(x);S.shape.percent=0,i.initProps(S,{shape:{percent:1}},_,m),this.add(S);var b=new i.Text({name:"label",lineLabelOriginalOpacity:1});this.add(b),r.each(s,function(w){var A=u(w,g,m);this.add(A),this[l(w)]=g.getItemVisual(m,w)},this),this._updateCommonStl(g,m,y)},d.updateData=function(g,m,y){var _=g.hostModel,x=this.childOfName("line"),S=g.getItemLayout(m),b={shape:{}};h(b.shape,S),i.updateProps(x,b,_,m),r.each(s,function(w){var A=g.getItemVisual(m,w),T=l(w);if(this[T]!==A){this.remove(this.childOfName(w));var C=u(w,g,m);this.add(C)}this[T]=A},this),this._updateCommonStl(g,m,y)},d._updateCommonStl=function(g,m,y){var _=g.hostModel,x=this.childOfName("line"),S=y&&y.lineStyle,b=y&&y.hoverLineStyle,w=y&&y.labelModel,A=y&&y.hoverLabelModel;if(!y||g.hasItemOption){var T=g.getItemModel(m);S=T.getModel("lineStyle").getLineStyle(),b=T.getModel("emphasis.lineStyle").getLineStyle(),w=T.getModel("label"),A=T.getModel("emphasis.label")}var C=g.getItemVisual(m,"color"),M=r.retrieve3(g.getItemVisual(m,"opacity"),S.opacity,1);x.useStyle(r.defaults({strokeNoScale:!0,fill:"none",stroke:C,opacity:M},S)),x.hoverStyle=b,r.each(s,function(N){var O=this.childOfName(N);O&&(O.setColor(C),O.setStyle({opacity:M}))},this);var L=w.getShallow("show"),D=A.getShallow("show"),P=this.childOfName("label"),I,R;if((L||D)&&(I=C||"#000",R=_.getFormattedLabel(m,"normal",g.dataType),R==null)){var E=_.getRawValue(m);R=E==null?g.getName(m):isFinite(E)?o(E):E}var k=L?R:null,B=D?r.retrieve2(_.getFormattedLabel(m,"emphasis",g.dataType),R):null,F=P.style;if(k!=null||B!=null){i.setTextStyle(P.style,w,{text:k},{autoColor:I}),P.__textAlign=F.textAlign,P.__verticalAlign=F.textVerticalAlign,P.__position=w.get("position")||"middle";var V=w.get("distance");r.isArray(V)||(V=[V,V]),P.__labelDistance=V}B!=null?P.hoverStyle={text:B,textFill:A.getTextColor(!0),fontStyle:A.getShallow("fontStyle"),fontWeight:A.getShallow("fontWeight"),fontSize:A.getShallow("fontSize"),fontFamily:A.getShallow("fontFamily")}:P.hoverStyle={text:null},P.ignore=!L&&!D,i.setHoverStyle(this)},d.highlight=function(){this.trigger("emphasis")},d.downplay=function(){this.trigger("normal")},d.updateLayout=function(g,m){this.setLinePoints(g.getItemLayout(m))},d.setLinePoints=function(g){var m=this.childOfName("line");h(m.shape,g),m.dirty()},r.inherits(c,i.Group);var p=c;return Px=p,Px}var Rx,BV;function pD(){if(BV)return Rx;BV=1;var r=qe(),t=dD();function e(h){this._ctor=h||t,this.group=new r.Group}var a=e.prototype;a.isPersistent=function(){return!0},a.updateData=function(h){var f=this,c=f.group,d=f._lineData;f._lineData=h,d||c.removeAll();var p=s(h);h.diff(d).add(function(g){i(f,h,g,p)}).update(function(g,m){n(f,d,h,m,g,p)}).remove(function(g){c.remove(d.getItemGraphicEl(g))}).execute()};function i(h,f,c,d){var p=f.getItemLayout(c);if(u(p)){var g=new h._ctor(f,c,d);f.setItemGraphicEl(c,g),h.group.add(g)}}function n(h,f,c,d,p,g){var m=f.getItemGraphicEl(d);if(!u(c.getItemLayout(p))){h.group.remove(m);return}m?m.updateData(c,p,g):m=new h._ctor(c,p,g),c.setItemGraphicEl(p,m),h.group.add(m)}a.updateLayout=function(){var h=this._lineData;h&&h.eachItemGraphicEl(function(f,c){f.updateLayout(h,c)},this)},a.incrementalPrepareUpdate=function(h){this._seriesScope=s(h),this._lineData=null,this.group.removeAll()};function o(h){return h.animators&&h.animators.length>0}a.incrementalUpdate=function(h,f){function c(m){!m.isGroup&&!o(m)&&(m.incremental=m.useHoverLayer=!0)}for(var d=h.start;d=0?_=_+S:_=_-S:C>=0?_=_-S:_=_+S}return _}function h(f,c){var d=[],p=r.quadraticSubdivide,g=[[],[],[]],m=[[],[]],y=[];c/=2,f.eachEdge(function(_,x){var S=_.getLayout(),b=_.getVisual("fromSymbol"),w=_.getVisual("toSymbol");S.__original||(S.__original=[t.clone(S[0]),t.clone(S[1])],S[2]&&S.__original.push(t.clone(S[2])));var A=S.__original;if(S[2]!=null){if(t.copy(g[0],A[0]),t.copy(g[1],A[2]),t.copy(g[2],A[1]),b&&b!=="none"){var T=a(_.node1),C=v(g,A[0],T*c);p(g[0][0],g[1][0],g[2][0],C,d),g[0][0]=d[3],g[1][0]=d[4],p(g[0][1],g[1][1],g[2][1],C,d),g[0][1]=d[3],g[1][1]=d[4]}if(w&&w!=="none"){var T=a(_.node2),C=v(g,A[1],T*c);p(g[0][0],g[1][0],g[2][0],C,d),g[1][0]=d[1],g[2][0]=d[2],p(g[0][1],g[1][1],g[2][1],C,d),g[1][1]=d[1],g[2][1]=d[2]}t.copy(S[0],g[0]),t.copy(S[1],g[2]),t.copy(S[2],g[1])}else{if(t.copy(m[0],A[0]),t.copy(m[1],A[1]),t.sub(y,m[1],m[0]),t.normalize(y,y),b&&b!=="none"){var T=a(_.node1);t.scaleAndAdd(m[0],m[0],y,T*c)}if(w&&w!=="none"){var T=a(_.node2);t.scaleAndAdd(m[1],m[1],y,-T*c)}t.copy(S[0],m[0]),t.copy(S[1],m[1])}})}return Ex=h,Ex}var kx,FV;function Dme(){if(FV)return kx;FV=1;var r=Pe(),t=ie(),e=df(),a=pD(),i=xf(),n=uD(),o=Sg(),s=o.onIrrelevantElement,l=qe(),u=Mme(),v=gD(),h=v.getNodeGlobalScale,f="__focusNodeAdjacency",c="__unfocusNodeAdjacency",d=["itemStyle","opacity"],p=["lineStyle","opacity"];function g(x,S){var b=x.getVisual("opacity");return b!=null?b:x.getModel().get(S)}function m(x,S,b){var w=x.getGraphicEl(),A=g(x,S);b!=null&&(A==null&&(A=1),A*=b),w.downplay&&w.downplay(),w.traverse(function(T){if(!T.isGroup){var C=T.lineLabelOriginalOpacity;(C==null||b!=null)&&(C=A),T.setStyle("opacity",C)}})}function y(x,S){var b=g(x,S),w=x.getGraphicEl();w.traverse(function(A){!A.isGroup&&A.setStyle("opacity",b)}),w.highlight&&w.highlight()}var _=r.extendChartView({type:"graph",init:function(x,S){var b=new e,w=new a,A=this.group;this._controller=new i(S.getZr()),this._controllerHost={target:A},A.add(b.group),A.add(w.group),this._symbolDraw=b,this._lineDraw=w,this._firstRender=!0},render:function(x,S,b){var w=this,A=x.coordinateSystem;this._model=x;var T=this._symbolDraw,C=this._lineDraw,M=this.group;if(A.type==="view"){var L={position:A.position,scale:A.scale};this._firstRender?M.attr(L):l.updateProps(M,L,x)}u(x.getGraph(),h(x));var D=x.getData();T.updateData(D);var P=x.getEdgeData();C.updateData(P),this._updateNodeAndLinkScale(),this._updateController(x,S,b),clearTimeout(this._layoutTimeout);var I=x.forceLayout,R=x.get("force.layoutAnimation");I&&this._startForceLayoutIteration(I,R),D.eachItemGraphicEl(function(F,V){var N=D.getItemModel(V);F.off("drag").off("dragend");var O=N.get("draggable");O&&F.on("drag",function(){I&&(I.warmUp(),!this._layouting&&this._startForceLayoutIteration(I,R),I.setFixed(V),D.setItemLayout(V,F.position))},this).on("dragend",function(){I&&I.setUnfixed(V)},this),F.setDraggable(O&&I),F[f]&&F.off("mouseover",F[f]),F[c]&&F.off("mouseout",F[c]),N.get("focusNodeAdjacency")&&(F.on("mouseover",F[f]=function(){w._clearTimer(),b.dispatchAction({type:"focusNodeAdjacency",seriesId:x.id,dataIndex:F.dataIndex})}),F.on("mouseout",F[c]=function(){w._dispatchUnfocus(b)}))},this),D.graph.eachEdge(function(F){var V=F.getGraphicEl();V[f]&&V.off("mouseover",V[f]),V[c]&&V.off("mouseout",V[c]),F.getModel().get("focusNodeAdjacency")&&(V.on("mouseover",V[f]=function(){w._clearTimer(),b.dispatchAction({type:"focusNodeAdjacency",seriesId:x.id,edgeDataIndex:F.dataIndex})}),V.on("mouseout",V[c]=function(){w._dispatchUnfocus(b)}))});var E=x.get("layout")==="circular"&&x.get("circular.rotateLabel"),k=D.getLayout("cx"),B=D.getLayout("cy");D.eachItemGraphicEl(function(F,V){var N=D.getItemModel(V),O=N.get("label.rotate")||0,z=F.getSymbolPath();if(E){var G=D.getItemLayout(V),q=Math.atan2(G[1]-B,G[0]-k);q<0&&(q=Math.PI*2+q);var H=G[0]=o/3?1:2),v=a.y-n(l)*s*(s>=o/3?1:2);l=a.angle-Math.PI/2,e.moveTo(u,v),e.lineTo(a.x+i(l)*s,a.y+n(l)*s),e.lineTo(a.x+i(a.angle)*o,a.y+n(a.angle)*o),e.lineTo(a.x-i(l)*s,a.y-n(l)*s),e.lineTo(u,v)}});return Ux=t,Ux}var $x,o5;function Fme(){if(o5)return $x;o5=1;var r=Gme(),t=qe(),e=tn(),a=st(),i=a.parsePercent,n=a.round,o=a.linearMap;function s(f,c){var d=f.get("center"),p=c.getWidth(),g=c.getHeight(),m=Math.min(p,g),y=i(d[0],c.getWidth()),_=i(d[1],c.getHeight()),x=i(f.get("radius"),m/2);return{cx:y,cy:_,r:x}}function l(f,c){return c&&(typeof c=="string"?f=c.replace("{value}",f!=null?f:""):typeof c=="function"&&(f=c(f))),f}var u=Math.PI*2,v=e.extend({type:"gauge",render:function(f,c,d){this.group.removeAll();var p=f.get("axisLine.lineStyle.color"),g=s(f,d);this._renderMain(f,c,d,p,g)},dispose:function(){},_renderMain:function(f,c,d,p,g){for(var m=this.group,y=f.getModel("axisLine"),_=y.getModel("lineStyle"),x=f.get("clockwise"),S=-f.get("startAngle")/180*Math.PI,b=-f.get("endAngle")/180*Math.PI,w=(b-S)%u,A=S,T=_.get("width"),C=y.get("show"),M=0;C&&M=R&&(E===0?0:p[E-1][0]).4?"bottom":"middle",textAlign:O<-.4?"left":O>.4?"right":"center"},{autoColor:U}),silent:!0}))}if(M.get("show")&&N!==D){for(var W=0;W<=P;W++){var O=Math.cos(E),z=Math.sin(E),Y=new t.Line({shape:{x1:O*w+S,y1:z*w+b,x2:O*(w-R)+S,y2:z*(w-R)+b},silent:!0,style:V});V.stroke==="auto"&&Y.setStyle({stroke:p((N+W/P)/D)}),x.add(Y),E+=B}E-=B}else E+=k}},_renderPointer:function(f,c,d,p,g,m,y,_){var x=this.group,S=this._data;if(!f.get("pointer.show")){S&&S.eachItemGraphicEl(function(C){x.remove(C)});return}var b=[+f.get("min"),+f.get("max")],w=[m,y],A=f.getData(),T=A.mapDimension("value");A.diff(S).add(function(C){var M=new r({shape:{angle:m}});t.initProps(M,{shape:{angle:o(A.get(T,C),b,w,!0)}},f),x.add(M),A.setItemGraphicEl(C,M)}).update(function(C,M){var L=S.getItemGraphicEl(M);t.updateProps(L,{shape:{angle:o(A.get(T,C),b,w,!0)}},f),x.add(L),A.setItemGraphicEl(C,L)}).remove(function(C){var M=S.getItemGraphicEl(C);x.remove(M)}).execute(),A.eachItemGraphicEl(function(C,M){var L=A.getItemModel(M),D=L.getModel("pointer");C.setShape({x:g.cx,y:g.cy,width:i(D.get("width"),g.r),r:i(D.get("length"),g.r)}),C.useStyle(L.getModel("itemStyle").getItemStyle()),C.style.fill==="auto"&&C.setStyle("fill",p(o(A.get(T,M),b,[0,1],!0))),t.setHoverStyle(C,L.getModel("emphasis.itemStyle").getItemStyle())}),this._data=A},_renderTitle:function(f,c,d,p,g){var m=f.getData(),y=m.mapDimension("value"),_=f.getModel("title");if(_.get("show")){var x=_.get("offsetCenter"),S=g.cx+i(x[0],g.r),b=g.cy+i(x[1],g.r),w=+f.get("min"),A=+f.get("max"),T=f.getData().get(y,0),C=p(o(T,[w,A],[0,1],!0));this.group.add(new t.Text({silent:!0,style:t.setTextStyle({},_,{x:S,y:b,text:m.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:C,forceRich:!0})}))}},_renderDetail:function(f,c,d,p,g){var m=f.getModel("detail"),y=+f.get("min"),_=+f.get("max");if(m.get("show")){var x=m.get("offsetCenter"),S=g.cx+i(x[0],g.r),b=g.cy+i(x[1],g.r),w=i(m.get("width"),g.r),A=i(m.get("height"),g.r),T=f.getData(),C=T.get(T.mapDimension("value"),0),M=p(o(C,[y,_],[0,1],!0));this.group.add(new t.Text({silent:!0,style:t.setTextStyle({},m,{x:S,y:b,text:l(C,m.get("formatter")),textWidth:isNaN(w)?null:w,textHeight:isNaN(A)?null:A,textAlign:"center",textVerticalAlign:"middle"},{autoColor:M,forceRich:!0})}))}}}),h=v;return $x=h,$x}var s5;function Hme(){return s5||(s5=1,Vme(),Fme()),a5}var l5={},Yx,u5;function qme(){if(u5)return Yx;u5=1;var r=Pe(),t=ie(),e=Lu(),a=_t(),i=a.defaultEmphasis,n=Ln(),o=n.makeSeriesEncodeForNameBased,s=yf(),l=r.extendSeriesModel({type:"series.funnel",init:function(v){l.superApply(this,"init",arguments),this.legendVisualProvider=new s(t.bind(this.getData,this),t.bind(this.getRawData,this)),this._defaultLabelLine(v)},getInitialData:function(v,h){return e(this,{coordDimensions:["value"],encodeDefaulter:t.curry(o,this)})},_defaultLabelLine:function(v){i(v,"labelLine",["show"]);var h=v.labelLine,f=v.emphasis.labelLine;h.show=h.show&&v.label.show,f.show=f.show&&v.emphasis.label.show},getDataParams:function(v){var h=this.getData(),f=l.superCall(this,"getDataParams",v),c=h.mapDimension("value"),d=h.getSum(c);return f.percent=d?+(h.get(c,v)/d*100).toFixed(2):0,f.$vars.push("percent"),f},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),u=l;return Yx=u,Yx}var Zx,v5;function Wme(){if(v5)return Zx;v5=1;var r=qe(),t=ie(),e=tn();function a(l,u){r.Group.call(this);var v=new r.Polygon,h=new r.Polyline,f=new r.Text;this.add(v),this.add(h),this.add(f),this.highDownOnUpdate=function(c,d){d==="emphasis"?(h.ignore=h.hoverIgnore,f.ignore=f.hoverIgnore):(h.ignore=h.normalIgnore,f.ignore=f.normalIgnore)},this.updateData(l,u,!0)}var i=a.prototype,n=["itemStyle","opacity"];i.updateData=function(l,u,v){var h=this.childAt(0),f=l.hostModel,c=l.getItemModel(u),d=l.getItemLayout(u),p=l.getItemModel(u).get(n);p=p==null?1:p,h.useStyle({}),v?(h.setShape({points:d.points}),h.setStyle({opacity:0}),r.initProps(h,{style:{opacity:p}},f,u)):r.updateProps(h,{style:{opacity:p},shape:{points:d.points}},f,u);var g=c.getModel("itemStyle"),m=l.getItemVisual(u,"color");h.setStyle(t.defaults({lineJoin:"round",fill:m},g.getItemStyle(["opacity"]))),h.hoverStyle=g.getModel("emphasis").getItemStyle(),this._updateLabel(l,u),r.setHoverStyle(this)},i._updateLabel=function(l,u){var v=this.childAt(1),h=this.childAt(2),f=l.hostModel,c=l.getItemModel(u),d=l.getItemLayout(u),p=d.label,x=l.getItemVisual(u,"color");r.updateProps(v,{shape:{points:p.linePoints||p.linePoints}},f,u),r.updateProps(h,{style:{x:p.x,y:p.y}},f,u),h.attr({rotation:p.rotation,origin:[p.x,p.y],z2:10});var g=c.getModel("label"),m=c.getModel("emphasis.label"),y=c.getModel("labelLine"),_=c.getModel("emphasis.labelLine"),x=l.getItemVisual(u,"color");r.setLabelStyle(h.style,h.hoverStyle={},g,m,{labelFetcher:l.hostModel,labelDataIndex:u,defaultText:l.getName(u),autoColor:x,useInsideStyle:!!p.inside},{textAlign:p.textAlign,textVerticalAlign:p.verticalAlign}),h.ignore=h.normalIgnore=!g.get("show"),h.hoverIgnore=!m.get("show"),v.ignore=v.normalIgnore=!y.get("show"),v.hoverIgnore=!_.get("show"),v.setStyle({stroke:x}),v.setStyle(y.getModel("lineStyle").getLineStyle()),v.hoverStyle=_.getModel("lineStyle").getLineStyle()},t.inherits(a,r.Group);var o=e.extend({type:"funnel",render:function(l,u,v){var h=l.getData(),f=this._data,c=this.group;h.diff(f).add(function(d){var p=new a(h,d);h.setItemGraphicEl(d,p),c.add(p)}).update(function(d,p){var g=f.getItemGraphicEl(p);g.updateData(h,d),c.add(g),h.setItemGraphicEl(d,g)}).remove(function(d){var p=f.getItemGraphicEl(d);c.remove(p)}).execute(),this._data=h},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),s=o;return Zx=s,Zx}var Xx,h5;function Ume(){if(h5)return Xx;h5=1;var r=It();r.__DEV__;var t=Ut(),e=st(),a=e.parsePercent,i=e.linearMap;function n(u,v){return t.getLayoutRect(u.getBoxLayoutParams(),{width:v.getWidth(),height:v.getHeight()})}function o(u,v){for(var h=u.mapDimension("value"),f=u.mapArray(h,function(m){return m}),c=[],d=v==="ascending",p=0,g=u.count();pl&&(i[1-o]=i[o]+d.sign*l),i}function t(a,i){var n=a[i]-a[1-i];return{span:Math.abs(n),sign:n>0?-1:n<0?1:i?-1:1}}function e(a,i){return Math.min(i[1]!=null?i[1]:1/0,Math.max(i[0]!=null?i[0]:-1/0,a))}return jx=r,jx}var Jx,_5;function Xme(){if(_5)return Jx;_5=1;var r=ie(),t=ha(),e=Ut(),a=wi(),i=Zme(),n=qe(),o=st(),s=Iu(),l=r.each,u=Math.min,v=Math.max,h=Math.floor,f=Math.ceil,c=o.round,d=Math.PI;function p(x,S,b){this._axesMap=r.createHashMap(),this._axesLayout={},this.dimensions=x.dimensions,this._rect,this._model=x,this._init(x,S,b)}p.prototype={type:"parallel",constructor:p,_init:function(x,S,b){var w=x.dimensions,A=x.parallelAxisIndex;l(w,function(T,C){var M=A[C],L=S.getComponent("parallelAxis",M),D=this._axesMap.set(T,new i(T,a.createScaleByModel(L),[0,0],L.get("type"),M)),P=D.type==="category";D.onBand=P&&L.get("boundaryGap"),D.inverse=L.get("inverse"),L.axis=D,D.model=L,D.coordinateSystem=L.coordinateSystem=this},this)},update:function(x,S){this._updateAxesFromSeries(this._model,x)},containPoint:function(x){var S=this._makeLayoutInfo(),b=S.axisBase,w=S.layoutBase,A=S.pixelDimIndex,T=x[1-A],C=x[A];return T>=b&&T<=b+S.axisLength&&C>=w&&C<=w+S.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(x,S){S.eachSeries(function(b){if(x.contains(b,S)){var w=b.getData();l(this.dimensions,function(A){var T=this._axesMap.get(A);T.scale.unionExtentFromData(w,w.mapDimension(A)),a.niceScaleExtent(T.scale,T.model)},this)}},this)},resize:function(x,S){this._rect=e.getLayoutRect(x.getBoxLayoutParams(),{width:S.getWidth(),height:S.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var x=this._model,S=this._rect,b=["x","y"],w=["width","height"],A=x.get("layout"),T=A==="horizontal"?0:1,C=S[w[T]],M=[0,C],L=this.dimensions.length,D=g(x.get("axisExpandWidth"),M),P=g(x.get("axisExpandCount")||0,[0,L]),I=x.get("axisExpandable")&&L>3&&L>P&&P>1&&D>0&&C>0,R=x.get("axisExpandWindow"),E;if(R)E=g(R[1]-R[0],M),R[1]=R[0]+E;else{E=g(D*(P-1),M);var k=x.get("axisExpandCenter")||h(L/2);R=[D*k-E/2],R[1]=R[0]+E}var B=(C-E)/(L-P);B<3&&(B=0);var F=[h(c(R[0]/D,1))+1,f(c(R[1]/D,1))-1],V=B/D*R[0];return{layout:A,pixelDimIndex:T,layoutBase:S[b[T]],layoutLength:C,axisBase:S[b[1-T]],axisLength:S[w[1-T]],axisExpandable:I,axisExpandWidth:D,axisCollapseWidth:B,axisExpandWindow:R,axisCount:L,winInnerIndices:F,axisExpandWindow0Pos:V}},_layoutAxes:function(){var x=this._rect,S=this._axesMap,b=this.dimensions,w=this._makeLayoutInfo(),A=w.layout;S.each(function(T){var C=[0,w.axisLength],M=T.inverse?1:0;T.setExtent(C[M],C[1-M])}),l(b,function(T,C){var M=(w.axisExpandable?y:m)(C,w),L={horizontal:{x:M.position,y:w.axisLength},vertical:{x:0,y:M.position}},D={horizontal:d/2,vertical:0},P=[L[A].x+x.x,L[A].y+x.y],I=D[A],R=t.create();t.rotate(R,R,I),t.translate(R,R,P),this._axesLayout[T]={position:P,rotation:I,transform:R,axisNameAvailableWidth:M.axisNameAvailableWidth,axisLabelShow:M.axisLabelShow,nameTruncateMaxWidth:M.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(x){return this._axesMap.get(x)},dataToPoint:function(x,S){return this.axisCoordToPoint(this._axesMap.get(S).dataToCoord(x),S)},eachActiveState:function(x,S,b,w){b==null&&(b=0),w==null&&(w=x.count());var A=this._axesMap,T=this.dimensions,C=[],M=[];r.each(T,function(B){C.push(x.mapDimension(B)),M.push(A.get(B).model)});for(var L=this.hasAxisBrushed(),D=b;DA*(1-P[0])?(L="jump",M=C-A*(1-P[2])):(M=C-A*P[1])>=0&&(M=C-A*(1-P[1]))<=0&&(M=0),M*=S.axisExpandWidth/D,M?s(M,w,T,"all"):L="none";else{var A=w[1]-w[0],R=T[1]*C/A;w=[v(0,R-A/2)],w[1]=u(T[1],w[0]+A),w[0]=w[1]-A}return{axisExpandWindow:w,behavior:L}}};function g(x,S){return u(v(x,S[0]),S[1])}function m(x,S){var b=S.layoutLength/(S.axisCount-1);return{position:b*x,axisNameAvailableWidth:b,axisLabelShow:!0}}function y(x,S){var b=S.layoutLength,w=S.axisExpandWidth,A=S.axisCount,T=S.axisCollapseWidth,C=S.winInnerIndices,M,L=T,D=!1,P;return x=0;f--)i.asc(h[f])},getActiveState:function(v){var h=this.activeIntervals;if(!h.length)return"normal";if(v==null||isNaN(v))return"inactive";if(h.length===1){var f=h[0];if(f[0]<=v&&v<=f[1])return"active"}else for(var c=0,d=h.length;cc}function F(J){var ne=J.length-1;return ne<0&&(ne=0),[J[0],J[ne]]}function V(J,ne,ue,me){var xe=new a.Group;return xe.add(new a.Rect({name:"main",style:G(ue),silent:!0,draggable:!0,cursor:"move",drift:o(J,ne,xe,"nswe"),ondragend:o(k,ne,{isEnd:!0})})),s(me,function(ge){xe.add(new a.Rect({name:ge,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:o(J,ne,xe,ge),ondragend:o(k,ne,{isEnd:!0})}))}),xe}function N(J,ne,ue,me){var xe=me.brushStyle.lineWidth||0,ge=v(xe,d),pe=ue[0][0],Ce=ue[1][0],ze=pe-xe/2,Ve=Ce-xe/2,ke=ue[0][1],lt=ue[1][1],dt=ke-ge+xe/2,Dt=lt-ge+xe/2,Tt=ke-pe,Bt=lt-Ce,Vt=Tt+xe,Ke=Bt+xe;z(J,ne,"main",pe,Ce,Tt,Bt),me.transformable&&(z(J,ne,"w",ze,Ve,ge,Ke),z(J,ne,"e",dt,Ve,ge,Ke),z(J,ne,"n",ze,Ve,Vt,ge),z(J,ne,"s",ze,Dt,Vt,ge),z(J,ne,"nw",ze,Ve,ge,ge),z(J,ne,"ne",dt,Ve,ge,ge),z(J,ne,"sw",ze,Dt,ge,ge),z(J,ne,"se",dt,Dt,ge,ge))}function O(J,ne){var ue=ne.__brushOption,me=ue.transformable,xe=ne.childAt(0);xe.useStyle(G(ue)),xe.attr({silent:!me,cursor:me?"move":"default"}),s(["w","e","n","s","se","sw","ne","nw"],function(ge){var pe=ne.childOfName(ge),Ce=U(J,ge);pe&&pe.attr({silent:!me,invisible:!me,cursor:me?m[Ce]+"-resize":null})})}function z(J,ne,ue,me,xe,ge,pe){var Ce=ne.childOfName(ue);Ce&&Ce.setShape(Q(K(J,ne,[[me,xe],[me+ge,xe+pe]])))}function G(J){return t.defaults({strokeNoScale:!0},J.brushStyle)}function q(J,ne,ue,me){var xe=[u(J,ue),u(ne,me)],ge=[v(J,ue),v(ne,me)];return[[xe[0],ge[0]],[xe[1],ge[1]]]}function H(J){return a.getTransform(J.group)}function U(J,ne){if(ne.length>1){ne=ne.split("");var ue=[U(J,ne[0]),U(J,ne[1])];return(ue[0]==="e"||ue[0]==="w")&&ue.reverse(),ue.join("")}else{var me={w:"left",e:"right",n:"top",s:"bottom"},xe={left:"w",right:"e",top:"n",bottom:"s"},ue=a.transformDirection(me[ne],H(J));return xe[ue]}}function W(J,ne,ue,me,xe,ge,pe,Ce){var ze=me.__brushOption,Ve=J(ze.range),ke=X(ue,ge,pe);s(xe.split(""),function(lt){var dt=g[lt];Ve[dt[0]][dt[1]]+=ke[dt[0]]}),ze.range=ne(q(Ve[0][0],Ve[1][0],Ve[0][1],Ve[1][1])),D(ue,me),k(ue,{isEnd:!1})}function Y(J,ne,ue,me,xe){var ge=ne.__brushOption.range,pe=X(J,ue,me);s(ge,function(Ce){Ce[0]+=pe[0],Ce[1]+=pe[1]}),D(J,ne),k(J,{isEnd:!1})}function X(J,ne,ue){var me=J.group,xe=me.transformCoordToLocal(ne,ue),ge=me.transformCoordToLocal(0,0);return[xe[0]-ge[0],xe[1]-ge[1]]}function K(J,ne,ue){var me=R(J,ne);return me&&me!==!0?me.clipPath(ue,J._transform):t.clone(ue)}function Q(J){var ne=u(J[0][0],J[1][0]),ue=u(J[0][1],J[1][1]),me=v(J[0][0],J[1][0]),xe=v(J[0][1],J[1][1]);return{x:ne,y:ue,width:me-ne,height:xe-ue}}function j(J,ne,ue){if(!(!J._brushType||se(J,ne))){var me=J._zr,xe=J._covers,ge=I(J,ne,ue);if(!J._dragging)for(var pe=0;peme.getWidth()||ue<0||ue>me.getHeight()}var ve={lineX:ye(0),lineY:ye(1),rect:{createCover:function(J,ne){return V(o(W,function(ue){return ue},function(ue){return ue}),J,ne,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(J){var ne=F(J);return q(ne[1][0],ne[1][1],ne[0][0],ne[0][1])},updateCoverShape:function(J,ne,ue,me){N(J,ne,ue,me)},updateCommon:O,contain:Z},polygon:{createCover:function(J,ne){var ue=new a.Group;return ue.add(new a.Polyline({name:"main",style:G(ne),silent:!0})),ue},getCreatingRange:function(J){return J},endCreating:function(J,ne){ne.remove(ne.childAt(0)),ne.add(new a.Polygon({name:"main",draggable:!0,drift:o(Y,J,ne),ondragend:o(k,J,{isEnd:!0})}))},updateCoverShape:function(J,ne,ue,me){ne.childAt(0).setShape({points:K(J,ne,ue)})},updateCommon:O,contain:Z}};function ye(J){return{createCover:function(ne,ue){return V(o(W,function(me){var xe=[me,[0,100]];return J&&xe.reverse(),xe},function(me){return me[J]}),ne,ue,[["w","e"],["n","s"]][J])},getCreatingRange:function(ne){var ue=F(ne),me=u(ue[0][J],ue[1][J]),xe=v(ue[0][J],ue[1][J]);return[me,xe]},updateCoverShape:function(ne,ue,me,xe){var ge,pe=R(ne,ue);if(pe!==!0&&pe.getLinearBrushOtherExtent)ge=pe.getLinearBrushOtherExtent(J,ne._transform);else{var Ce=ne._zr;ge=[0,[Ce.getWidth(),Ce.getHeight()][1-J]]}var ze=[me,ge];J&&ze.reverse(),N(ne,ue,ze,xe)},updateCommon:O,contain:Z}}var Me=x;return rS=Me,rS}var wv={},M5;function S$(){if(M5)return wv;M5=1;var r=rr(),t=Sg(),e=t.onIrrelevantElement,a=qe();function i(l){return l=s(l),function(u,v){return a.clipPointsByRect(u,l)}}function n(l,u){return l=s(l),function(v){var h=u!=null?u:v,f=h?l.width:l.height,c=h?l.x:l.y;return[c,c+(f||0)]}}function o(l,u,v){return l=s(l),function(h,f,c){return l.contain(f[0],f[1])&&!e(h,u,v)}}function s(l){return r.create(l)}return wv.makeRectPanelClipPath=i,wv.makeLinearBrushOtherExtent=n,wv.makeRectIsTargetByCursor=o,wv}var aS,D5;function Jme(){if(D5)return aS;D5=1;var r=Pe(),t=ie(),e=bo(),a=mD(),i=S$(),n=qe(),o=["axisLine","axisTickLabel","axisName"],s=r.extendComponentView({type:"parallelAxis",init:function(f,c){s.superApply(this,"init",arguments),(this._brushController=new a(c.getZr())).on("brush",t.bind(this._onBrush,this))},render:function(f,c,d,p){if(!l(f,c,p)){this.axisModel=f,this.api=d,this.group.removeAll();var g=this._axisGroup;if(this._axisGroup=new n.Group,this.group.add(this._axisGroup),!!f.get("show")){var m=v(f,c),y=m.coordinateSystem,_=f.getAreaSelectStyle(),x=_.width,S=f.axis.dim,b=y.getAxisLayout(S),w=t.extend({strokeContainThreshold:x},b),A=new e(f,w);t.each(o,A.add,A),this._axisGroup.add(A.getGroup()),this._refreshBrushController(w,_,f,m,x,d);var T=p&&p.animation===!1?null:f;n.groupTransition(g,this._axisGroup,T)}}},_refreshBrushController:function(f,c,d,p,g,m){var y=d.axis.getExtent(),_=y[1]-y[0],x=Math.min(30,Math.abs(_)*.1),S=n.BoundingRect.create({x:y[0],y:-g/2,width:_,height:g});S.x-=x,S.width+=2*x,this._brushController.mount({enableGlobalPan:!0,rotation:f.rotation,position:f.position}).setPanels([{panelId:"pl",clipPath:i.makeRectPanelClipPath(S),isTargetByCursor:i.makeRectIsTargetByCursor(S,m,p),getLinearBrushOtherExtent:i.makeLinearBrushOtherExtent(S,0)}]).enableBrush({brushType:"lineX",brushStyle:c,removeOnClick:!0}).updateCovers(u(d))},_onBrush:function(f,c){var d=this.axisModel,p=d.axis,g=t.map(f,function(m){return[p.coordToData(m.range[0],!0),p.coordToData(m.range[1],!0)]});(!d.option.realtime===c.isEnd||c.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:d.id,intervals:g})},dispose:function(){this._brushController.dispose()}});function l(f,c,d){return d&&d.type==="axisAreaSelect"&&c.findComponents({mainType:"parallelAxis",query:d})[0]===f}function u(f){var c=f.axis;return t.map(f.activeIntervals,function(d){return{brushType:"lineX",panelId:"pl",range:[c.dataToCoord(d[0],!0),c.dataToCoord(d[1],!0)]}})}function v(f,c){return c.getComponent("parallel",f.get("parallelIndex"))}var h=s;return aS=h,aS}var L5;function eye(){return L5||(L5=1,x$(),jme(),Jme()),w5}var I5;function b$(){if(I5)return d5;I5=1;var r=Pe(),t=ie(),e=_o(),a=Yme();x$(),Qme(),eye();var i=5;r.extendComponentView({type:"parallel",render:function(s,l,u){this._model=s,this._api=u,this._handlers||(this._handlers={},t.each(n,function(v,h){u.getZr().on(h,this._handlers[h]=t.bind(v,this))},this)),e.createOrUpdate(this,"_throttledDispatchExpand",s.get("axisExpandRate"),"fixRate")},dispose:function(s,l){t.each(this._handlers,function(u,v){l.getZr().off(v,u)}),this._handlers=null},_throttledDispatchExpand:function(s){this._dispatchExpand(s)},_dispatchExpand:function(s){s&&this._api.dispatchAction(t.extend({type:"parallelAxisExpand"},s))}});var n={mousedown:function(s){o(this,"click")&&(this._mouseDownPoint=[s.offsetX,s.offsetY])},mouseup:function(s){var l=this._mouseDownPoint;if(o(this,"click")&&l){var u=[s.offsetX,s.offsetY],v=Math.pow(l[0]-u[0],2)+Math.pow(l[1]-u[1],2);if(v>i)return;var h=this._model.coordinateSystem.getSlidedAxisExpandWindow([s.offsetX,s.offsetY]);h.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:h.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(s){if(!(this._mouseDownPoint||!o(this,"mousemove"))){var l=this._model,u=l.coordinateSystem.getSlidedAxisExpandWindow([s.offsetX,s.offsetY]),v=u.behavior;v==="jump"&&this._throttledDispatchExpand.debounceNextCall(l.get("axisExpandDebounce")),this._throttledDispatchExpand(v==="none"?null:{axisExpandWindow:u.axisExpandWindow,animation:v==="jump"?null:!1})}}};function o(s,l){var u=s._model;return u.get("axisExpandable")&&u.get("axisExpandTriggerOn")===l}return r.registerPreprocessor(a),d5}var iS,P5;function tye(){if(P5)return iS;P5=1;var r=ie(),t=r.each,e=r.createHashMap,a=Ir(),i=In(),n=a.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(l,u){var v=this.getSource();return o(v,this),i(v,this)},getRawIndicesByActiveState:function(l){var u=this.coordinateSystem,v=this.getData(),h=[];return u.eachActiveState(v,function(f,c){l===f&&h.push(v.getRawIndex(c))}),h},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function o(l,u){if(!l.encodeDefine){var v=u.ecModel.getComponent("parallel",u.get("parallelIndex"));if(v){var h=l.encodeDefine=e();t(v.dimensions,function(f){var c=s(f);h.set(f,c)})}}}function s(l){return+l.replace("dim","")}return iS=n,iS}var nS,R5;function rye(){if(R5)return nS;R5=1;var r=qe(),t=tn(),e=.3,a=t.extend({type:"parallel",init:function(){this._dataGroup=new r.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(h,f,c,d){var p=this._dataGroup,g=h.getData(),m=this._data,y=h.coordinateSystem,_=y.dimensions,x=s(h);g.diff(m).add(S).update(b).remove(w).execute();function S(T){var C=o(g,p,T,_,y);l(C,g,T,x)}function b(T,C){var M=m.getItemGraphicEl(C),L=n(g,T,_,y);g.setItemGraphicEl(T,M);var D=d&&d.animation===!1?null:h;r.updateProps(M,{shape:{points:L}},D,T),l(M,g,T,x)}function w(T){var C=m.getItemGraphicEl(T);p.remove(C)}if(!this._initialized){this._initialized=!0;var A=i(y,h,function(){setTimeout(function(){p.removeClipPath()})});p.setClipPath(A)}this._data=g},incrementalPrepareRender:function(h,f,c){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(h,f,c){for(var d=f.getData(),p=f.coordinateSystem,g=p.dimensions,m=s(f),y=h.start;y=0&&(c[f[d].depth]=new i(f[d],this,u));if(h&&v){var p=t(h,v,this,!0,g);return p.data}function g(m,y){m.wrapMethod("getItemModel",function(_,x){return _.customizeGetParent(function(S){var b=this.parentModel,w=b.getData().getItemLayout(x).depth,A=b.levelModels[w];return A||this.parentModel}),_}),y.wrapMethod("getItemModel",function(_,x){return _.customizeGetParent(function(S){var b=this.parentModel,w=b.getGraph().getEdgeByIndex(x),A=w.node1.getLayout().depth,T=b.levelModels[A];return T||this.parentModel}),_})}},setNodePosition:function(l,u){var v=this.option.data[l];v.localX=u[0],v.localY=u[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(l,u,v){if(v==="edge"){var h=this.getDataParams(l,v),f=h.data,c=f.source+" -- "+f.target;return h.value&&(c+=" : "+h.value),a(c)}else if(v==="node"){var d=this.getGraph().getNodeByIndex(l),p=d.getLayout().value,g=this.getDataParams(l,v).data.name;if(p)var c=g+" : "+p;return a(c)}return o.superCall(this,"formatTooltip",l,u)},optionUpdated:function(){var l=this.option;l.focusNodeAdjacency===!0&&(l.focusNodeAdjacency="allEdges")},getDataParams:function(l,u){var v=o.superCall(this,"getDataParams",l,u);if(v.value==null&&u==="node"){var h=this.getGraph().getNodeByIndex(l),f=h.getLayout().value;v.value=f}return v},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}}),s=o;return sS=s,sS}var lS,z5;function oye(){if(z5)return lS;z5=1;var r=qe(),t=Pe(),e=ie(),a=["itemStyle","opacity"],i=["emphasis","itemStyle","opacity"],n=["lineStyle","opacity"],o=["emphasis","lineStyle","opacity"];function s(c,d){return c.getVisual("opacity")||c.getModel().get(d)}function l(c,d,p){var g=c.getGraphicEl(),m=s(c,d);p!=null&&(m==null&&(m=1),m*=p),g.downplay&&g.downplay(),g.traverse(function(y){y.type!=="group"&&y.setStyle("opacity",m)})}function u(c,d){var p=s(c,d),g=c.getGraphicEl();g.traverse(function(m){m.type!=="group"&&m.setStyle("opacity",p)}),g.highlight&&g.highlight()}var v=r.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(c,d){var p=d.extent;c.moveTo(d.x1,d.y1),c.bezierCurveTo(d.cpx1,d.cpy1,d.cpx2,d.cpy2,d.x2,d.y2),d.orient==="vertical"?(c.lineTo(d.x2+p,d.y2),c.bezierCurveTo(d.cpx2+p,d.cpy2,d.cpx1+p,d.cpy1,d.x1+p,d.y1)):(c.lineTo(d.x2,d.y2+p),c.bezierCurveTo(d.cpx2,d.cpy2+p,d.cpx1,d.cpy1+p,d.x1,d.y1+p)),c.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),h=t.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(c,d,p){var g=this,m=c.getGraph(),y=this.group,_=c.layoutInfo,x=_.width,S=_.height,b=c.getData(),w=c.getData("edge"),A=c.get("orient");this._model=c,y.removeAll(),y.attr("position",[_.x,_.y]),m.eachEdge(function(T){var C=new v;C.dataIndex=T.dataIndex,C.seriesIndex=c.seriesIndex,C.dataType="edge";var M=T.getModel("lineStyle"),L=M.get("curveness"),D=T.node1.getLayout(),P=T.node1.getModel(),I=P.get("localX"),R=P.get("localY"),E=T.node2.getLayout(),k=T.node2.getModel(),B=k.get("localX"),F=k.get("localY"),V=T.getLayout(),N,O,z,G,q,H,U,W;switch(C.shape.extent=Math.max(1,V.dy),C.shape.orient=A,A==="vertical"?(N=(I!=null?I*x:D.x)+V.sy,O=(R!=null?R*S:D.y)+D.dy,z=(B!=null?B*x:E.x)+V.ty,G=F!=null?F*S:E.y,q=N,H=O*(1-L)+G*L,U=z,W=O*L+G*(1-L)):(N=(I!=null?I*x:D.x)+D.dx,O=(R!=null?R*S:D.y)+V.sy,z=B!=null?B*x:E.x,G=(F!=null?F*S:E.y)+V.ty,q=N*(1-L)+z*L,H=O,U=N*L+z*(1-L),W=G),C.setShape({x1:N,y1:O,x2:z,y2:G,cpx1:q,cpy1:H,cpx2:U,cpy2:W}),C.setStyle(M.getItemStyle()),C.style.fill){case"source":C.style.fill=T.node1.getVisual("color");break;case"target":C.style.fill=T.node2.getVisual("color");break}r.setHoverStyle(C,T.getModel("emphasis.lineStyle").getItemStyle()),y.add(C),w.setItemGraphicEl(T.dataIndex,C)}),m.eachNode(function(T){var C=T.getLayout(),M=T.getModel(),L=M.get("localX"),D=M.get("localY"),P=M.getModel("label"),I=M.getModel("emphasis.label"),R=new r.Rect({shape:{x:L!=null?L*x:C.x,y:D!=null?D*S:C.y,width:C.dx,height:C.dy},style:M.getModel("itemStyle").getItemStyle()}),E=T.getModel("emphasis.itemStyle").getItemStyle();r.setLabelStyle(R.style,E,P,I,{labelFetcher:c,labelDataIndex:T.dataIndex,defaultText:T.id,isRectText:!0}),R.setStyle("fill",T.getVisual("color")),r.setHoverStyle(R,E),y.add(R),b.setItemGraphicEl(T.dataIndex,R),R.dataType="node"}),b.eachItemGraphicEl(function(T,C){var M=b.getItemModel(C);M.get("draggable")&&(T.drift=function(L,D){g._focusAdjacencyDisabled=!0,this.shape.x+=L,this.shape.y+=D,this.dirty(),p.dispatchAction({type:"dragNode",seriesId:c.id,dataIndex:b.getRawIndex(C),localX:this.shape.x/x,localY:this.shape.y/S})},T.ondragend=function(){g._focusAdjacencyDisabled=!1},T.draggable=!0,T.cursor="move"),T.highlight=function(){this.trigger("emphasis")},T.downplay=function(){this.trigger("normal")},T.focusNodeAdjHandler&&T.off("mouseover",T.focusNodeAdjHandler),T.unfocusNodeAdjHandler&&T.off("mouseout",T.unfocusNodeAdjHandler),M.get("focusNodeAdjacency")&&(T.on("mouseover",T.focusNodeAdjHandler=function(){g._focusAdjacencyDisabled||(g._clearTimer(),p.dispatchAction({type:"focusNodeAdjacency",seriesId:c.id,dataIndex:T.dataIndex}))}),T.on("mouseout",T.unfocusNodeAdjHandler=function(){g._focusAdjacencyDisabled||g._dispatchUnfocus(p)}))}),w.eachItemGraphicEl(function(T,C){var M=w.getItemModel(C);T.focusNodeAdjHandler&&T.off("mouseover",T.focusNodeAdjHandler),T.unfocusNodeAdjHandler&&T.off("mouseout",T.unfocusNodeAdjHandler),M.get("focusNodeAdjacency")&&(T.on("mouseover",T.focusNodeAdjHandler=function(){g._focusAdjacencyDisabled||(g._clearTimer(),p.dispatchAction({type:"focusNodeAdjacency",seriesId:c.id,edgeDataIndex:T.dataIndex}))}),T.on("mouseout",T.unfocusNodeAdjHandler=function(){g._focusAdjacencyDisabled||g._dispatchUnfocus(p)}))}),!this._data&&c.get("animation")&&y.setClipPath(f(y.getBoundingRect(),c,function(){y.removeClipPath()})),this._data=c.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(c){var d=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){d._unfocusDelayTimer=null,c.dispatchAction({type:"unfocusNodeAdjacency",seriesId:d._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(c,d,p,g){var m=c.getData(),y=m.graph,_=g.dataIndex,x=m.getItemModel(_),S=g.edgeDataIndex;if(!(_==null&&S==null)){var b=y.getNodeByIndex(_),w=y.getEdgeByIndex(S);if(y.eachNode(function(T){l(T,a,.1)}),y.eachEdge(function(T){l(T,n,.1)}),b){u(b,i);var A=x.get("focusNodeAdjacency");A==="outEdges"?e.each(b.outEdges,function(T){T.dataIndex<0||(u(T,o),u(T.node2,i))}):A==="inEdges"?e.each(b.inEdges,function(T){T.dataIndex<0||(u(T,o),u(T.node1,i))}):A==="allEdges"&&e.each(b.edges,function(T){T.dataIndex<0||(u(T,o),T.node1!==b&&u(T.node1,i),T.node2!==b&&u(T.node2,i))})}w&&(u(w,o),u(w.node1,i),u(w.node2,i))}},unfocusNodeAdjacency:function(c,d,p,g){var m=c.getGraph();m.eachNode(function(y){l(y,a)}),m.eachEdge(function(y){l(y,n)})}});function f(c,d,p){var g=new r.Rect({shape:{x:c.x-10,y:c.y-10,width:0,height:c.height+20}});return r.initProps(g,{shape:{width:c.width+20}},d,p),g}return lS=h,lS}var B5={},V5;function sye(){if(V5)return B5;V5=1;var r=Pe();return m$(),r.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},function(a){a.setNodePosition(t.dataIndex,[t.localX,t.localY])})}),B5}var uS,G5;function lye(){if(G5)return uS;G5=1;var r=Ut(),t=ie(),e=_t(),a=e.groupData;function i(M,L,D){M.eachSeriesByType("sankey",function(P){var I=P.get("nodeWidth"),R=P.get("nodeGap"),E=n(P,L);P.layoutInfo=E;var k=E.width,B=E.height,F=P.getGraph(),V=F.nodes,N=F.edges;s(V);var O=t.filter(V,function(H){return H.getLayout().value===0}),z=O.length!==0?0:P.get("layoutIterations"),G=P.get("orient"),q=P.get("nodeAlign");o(V,N,I,R,k,B,z,G,q)})}function n(M,L){return r.getLayoutRect(M.getBoxLayoutParams(),{width:L.getWidth(),height:L.getHeight()})}function o(M,L,D,P,I,R,E,k,B){l(M,L,D,I,R,k,B),c(M,L,R,I,P,E,k),C(M,k)}function s(M){t.each(M,function(L){var D=A(L.outEdges,w),P=A(L.inEdges,w),I=L.getValue()||0,R=Math.max(D,P,I);L.setLayout({value:R},!0)})}function l(M,L,D,P,I,R,E){for(var k=[],B=[],F=[],V=[],N=0,te=0,O=0;O=0;U&&H.depth>z&&(z=H.depth),q.setLayout({depth:U?H.depth:N},!0),R==="vertical"?q.setLayout({dy:D},!0):q.setLayout({dx:D},!0);for(var W=0;WN-1?z:N-1;E&&E!=="left"&&v(M,E,R,j);var te=R==="vertical"?(I-D)/j:(P-D)/j;f(M,te,R)}function u(M){var L=M.hostGraph.data.getRawDataItem(M.dataIndex);return L.depth!=null&&L.depth>=0}function v(M,L,D,P){if(L==="right"){for(var I=[],R=M,E=0;R.length;){for(var k=0;k0;R--)B*=.99,m(k,B,E),g(k,I,D,P,E),T(k,B,E),g(k,I,D,P,E)}function d(M,L){var D=[],P=L==="vertical"?"y":"x",I=a(M,function(R){return R.getLayout()[P]});return I.keys.sort(function(R,E){return R-E}),t.each(I.keys,function(R){D.push(I.buckets.get(R))}),D}function p(M,L,D,P,I,R){var E=1/0;t.each(M,function(k){var B=k.length,F=0;t.each(k,function(N){F+=N.getLayout().value});var V=R==="vertical"?(P-(B-1)*I)/F:(D-(B-1)*I)/F;V0&&(k=B.getLayout()[R]+F,I==="vertical"?B.setLayout({x:k},!0):B.setLayout({y:k},!0)),V=B.getLayout()[R]+B.getLayout()[O]+L;var G=I==="vertical"?P:D;if(F=V-L-G,F>0)for(k=B.getLayout()[R]-F,I==="vertical"?B.setLayout({x:k},!0):B.setLayout({y:k},!0),V=k,z=N-2;z>=0;--z)B=E[z],F=B.getLayout()[R]+B.getLayout()[O]+L-V,F>0&&(k=B.getLayout()[R]-F,I==="vertical"?B.setLayout({x:k},!0):B.setLayout({y:k},!0)),V=B.getLayout()[R]})}function m(M,L,D){t.each(M.slice().reverse(),function(P){t.each(P,function(I){if(I.outEdges.length){var R=A(I.outEdges,y,D)/A(I.outEdges,w,D);if(isNaN(R)){var E=I.outEdges.length;R=E?A(I.outEdges,_,D)/E:0}if(D==="vertical"){var k=I.getLayout().x+(R-b(I,D))*L;I.setLayout({x:k},!0)}else{var B=I.getLayout().y+(R-b(I,D))*L;I.setLayout({y:B},!0)}}})})}function y(M,L){return b(M.node2,L)*M.getValue()}function _(M,L){return b(M.node2,L)}function x(M,L){return b(M.node1,L)*M.getValue()}function S(M,L){return b(M.node1,L)}function b(M,L){return L==="vertical"?M.getLayout().x+M.getLayout().dx/2:M.getLayout().y+M.getLayout().dy/2}function w(M){return M.getValue()}function A(M,L,D){for(var P=0,I=M.length,R=-1;++Ru&&(u=h)}),t.each(s,function(v){var h=new r({type:"color",mappingMethod:"linear",dataExtent:[l,u],visual:n.get("color")}),f=h.mapValueToVisual(v.getLayout().value),c=v.getModel().get("itemStyle.color");c!=null?v.setVisual("color",c):v.setVisual("color",f)})}})}return vS=e,vS}var H5;function vye(){if(H5)return O5;H5=1;var r=Pe();nye(),oye(),sye();var t=lye(),e=uye();return r.registerLayout(t),r.registerVisual(e),O5}var q5={},hS={},W5;function w$(){if(W5)return hS;W5=1;var r=Lu(),t=ie(),e=cf(),a=e.getDimensionTypeByAxis,i=Ln(),n=i.makeSeriesEncodeForAxisCoordSys,o={_baseAxisDim:null,getInitialData:function(s,l){var u,v=l.getComponent("xAxis",this.get("xAxisIndex")),h=l.getComponent("yAxis",this.get("yAxisIndex")),f=v.get("type"),c=h.get("type"),d;f==="category"?(s.layout="horizontal",u=v.getOrdinalMeta(),d=!0):c==="category"?(s.layout="vertical",u=h.getOrdinalMeta(),d=!0):s.layout=s.layout||"horizontal";var p=["x","y"],g=s.layout==="horizontal"?0:1,m=this._baseAxisDim=p[g],y=p[1-g],_=[v,h],x=_[g].get("type"),S=_[1-g].get("type"),b=s.data;if(b&&d){var w=[];t.each(b,function(C,M){var L;C.value&&t.isArray(C.value)?(L=C.value.slice(),C.value.unshift(M)):t.isArray(C)?(L=C.slice(),C.unshift(M)):L=C,w.push(L)}),s.data=w}var A=this.defaultValueDimensions,T=[{name:m,type:a(x),ordinalMeta:u,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:y,type:a(S),dimsDef:A.slice()}];return r(this,{coordDimensions:T,dimensionsCount:A.length+1,encodeDefaulter:t.curry(n,T,this)})},getBaseAxis:function(){var s=this._baseAxisDim;return this.ecModel.getComponent(s+"Axis",this.get(s+"AxisIndex")).axis}};return hS.seriesModelMixin=o,hS}var fS,U5;function hye(){if(U5)return fS;U5=1;var r=ie(),t=Ir(),e=w$(),a=e.seriesModelMixin,i=t.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});r.mixin(i,a,!0);var n=i;return fS=n,fS}var cS,$5;function fye(){if($5)return cS;$5=1;var r=ie(),t=tn(),e=qe(),a=ur(),i=["itemStyle"],n=["emphasis","itemStyle"],o=t.extend({type:"boxplot",render:function(f,c,d){var p=f.getData(),g=this.group,m=this._data;this._data||g.removeAll();var y=f.get("layout")==="horizontal"?1:0;p.diff(m).add(function(_){if(p.hasValue(_)){var x=p.getItemLayout(_),S=l(x,p,_,y,!0);p.setItemGraphicEl(_,S),g.add(S)}}).update(function(_,x){var S=m.getItemGraphicEl(x);if(!p.hasValue(_)){g.remove(S);return}var b=p.getItemLayout(_);S?u(b,S,p,_):S=l(b,p,_,y),g.add(S),p.setItemGraphicEl(_,S)}).remove(function(_){var x=m.getItemGraphicEl(_);x&&g.remove(x)}).execute(),this._data=p},remove:function(f){var c=this.group,d=this._data;this._data=null,d&&d.eachItemGraphicEl(function(p){p&&c.remove(p)})},dispose:r.noop}),s=a.extend({type:"boxplotBoxPath",shape:{},buildPath:function(f,c){var d=c.points,p=0;for(f.moveTo(d[p][0],d[p][1]),p++;p<4;p++)f.lineTo(d[p][0],d[p][1]);for(f.closePath();p0?"P":"N",A=b.getVisual("borderColor"+w)||b.getVisual("color"+w),T=S.getModel(o).getItemStyle(l);x.useStyle(T),x.style.fill=null,x.style.stroke=A}var y=u;return mS=y,mS}var yS,J5;function yye(){if(J5)return yS;J5=1;var r=ie();function t(e){!e||!r.isArray(e.series)||r.each(e.series,function(a){r.isObject(a)&&a.type==="k"&&(a.type="candlestick")})}return yS=t,yS}var _S,eG;function _ye(){if(eG)return _S;eG=1;var r=Cu(),t=["itemStyle","borderColor"],e=["itemStyle","borderColor0"],a=["itemStyle","color"],i=["itemStyle","color0"],n={seriesType:"candlestick",plan:r(),performRawSeries:!0,reset:function(o,s){var l=o.getData();if(l.setVisual({legendSymbol:"roundRect",colorP:h(1,o),colorN:h(-1,o),borderColorP:f(1,o),borderColorN:f(-1,o)}),s.isSeriesFiltered(o))return;var u=o.pipelineContext.large;return!u&&{progress:v};function v(c,d){for(var p;(p=c.next())!=null;){var g=d.getItemModel(p),m=d.getItemLayout(p).sign;d.setItemVisual(p,{color:h(m,g),borderColor:f(m,g)})}}function h(c,d){return d.get(c>0?a:i)}function f(c,d){return d.get(c>0?t:e)}}};return _S=n,_S}var xS,tG;function xye(){if(tG)return xS;tG=1;var r=qe(),t=r.subPixelOptimize,e=Cu(),a=st(),i=a.parsePercent,n=ie(),o=n.retrieve2,s=typeof Float32Array<"u"?Float32Array:Array,l={seriesType:"candlestick",plan:e(),reset:function(h){var f=h.coordinateSystem,c=h.getData(),d=v(h,c),p=0,g=1,m=["x","y"],y=c.mapDimension(m[p]),_=c.mapDimension(m[g],!0),x=_[0],S=_[1],b=_[2],w=_[3];if(c.setLayout({candleWidth:d,isSimpleBox:d<=1.3}),y==null||_.length<4)return;return{progress:h.pipelineContext.large?T:A};function A(C,M){for(var L;(L=C.next())!=null;){var D=M.get(y,L),P=M.get(x,L),I=M.get(S,L),R=M.get(b,L),E=M.get(w,L),k=Math.min(P,I),B=Math.max(P,I),F=G(k,D),V=G(B,D),N=G(R,D),O=G(E,D),z=[];q(z,V,0),q(z,F,1),z.push(U(O),U(V),U(N),U(F)),M.setItemLayout(L,{sign:u(M,L,P,I,S),initBaseline:P>I?V[g]:F[g],ends:z,brushRect:H(R,E,D)})}function G(W,Y){var X=[];return X[p]=Y,X[g]=W,isNaN(Y)||isNaN(W)?[NaN,NaN]:f.dataToPoint(X)}function q(W,Y,X){var K=Y.slice(),Q=Y.slice();K[p]=t(K[p]+d/2,1,!1),Q[p]=t(Q[p]-d/2,1,!0),X?W.push(K,Q):W.push(Q,K)}function H(W,Y,X){var K=G(W,X),Q=G(Y,X);return K[p]-=d/2,Q[p]-=d/2,{x:K[0],y:K[1],width:d,height:Q[1]-K[1]}}function U(W){return W[p]=t(W[p],1),W}}function T(C,M){for(var L=new s(C.count*4),D=0,P,I=[],R=[],E;(E=C.next())!=null;){var k=M.get(y,E),B=M.get(x,E),F=M.get(S,E),V=M.get(b,E),N=M.get(w,E);if(isNaN(k)||isNaN(V)||isNaN(N)){L[D++]=NaN,D+=3;continue}L[D++]=u(M,E,B,F,S),I[p]=k,I[g]=V,P=f.dataToPoint(I,null,R),L[D++]=P?P[0]:NaN,L[D++]=P?P[1]:NaN,I[g]=N,P=f.dataToPoint(I,null,R),L[D++]=P?P[1]:NaN}M.setLayout("largePoints",L)}}};function u(h,f,c,d,p){var g;return c>d?g=-1:c0?h.get(p,f-1)<=d?1:-1:1,g}function v(h,f){var c=h.getBaseAxis(),d,p=c.type==="category"?c.getBandWidth():(d=c.getExtent(),Math.abs(d[1]-d[0])/f.count()),g=i(o(h.get("barMaxWidth"),p),p),m=i(o(h.get("barMinWidth"),1),p),y=h.get("barWidth");return y!=null?i(y,p):Math.max(Math.min(p/2,g),m)}return xS=l,xS}var rG;function Sye(){if(rG)return K5;rG=1;var r=Pe();gye(),mye();var t=yye(),e=_ye(),a=xye();return r.registerPreprocessor(t),r.registerVisual(e),r.registerLayout(a),K5}var aG={},SS,iG;function bye(){if(iG)return SS;iG=1;var r=In(),t=Ir(),e=t.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(a,i){return r(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});return SS=e,SS}var bS,nG;function wye(){if(nG)return bS;nG=1;var r=ie(),t=ti(),e=t.createSymbol,a=qe(),i=a.Group,n=st(),o=n.parsePercent,s=gg(),l=3;function u(d){return r.isArray(d)||(d=[+d,+d]),d}function v(d,p){var g=p.rippleEffectColor||p.color;d.eachChild(function(m){m.attr({z:p.z,zlevel:p.zlevel,style:{stroke:p.brushType==="stroke"?g:null,fill:p.brushType==="fill"?g:null}})})}function h(d,p){i.call(this);var g=new s(d,p),m=new i;this.add(g),this.add(m),m.beforeUpdate=function(){this.attr(g.getScale())},this.updateData(d,p)}var f=h.prototype;f.stopEffectAnimation=function(){this.childAt(1).removeAll()},f.startEffectAnimation=function(d){for(var p=d.symbolType,g=d.color,m=this.childAt(1),y=0;y"u"?Array:Uint32Array,v=typeof Float64Array>"u"?Array:Float64Array;function h(d){var p=d.data;p&&p[0]&&p[0][0]&&p[0][0].coord&&(d.data=o(p,function(g){var m=[g[0].coord,g[1].coord],y={coords:m};return g[0].name&&(y.fromName=g[0].name),g[1].name&&(y.toName=g[1].name),n([y,g[0],g[1]])}))}var f=t.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(d){d.data=d.data||[],h(d);var p=this._processFlatCoordsArray(d.data);this._flatCoords=p.flatCoords,this._flatCoordsOffset=p.flatCoordsOffset,p.flatCoords&&(d.data=new Float32Array(p.count)),f.superApply(this,"init",arguments)},mergeOption:function(d){if(h(d),d.data){var p=this._processFlatCoordsArray(d.data);this._flatCoords=p.flatCoords,this._flatCoordsOffset=p.flatCoordsOffset,p.flatCoords&&(d.data=new Float32Array(p.count))}f.superApply(this,"mergeOption",arguments)},appendData:function(d){var p=this._processFlatCoordsArray(d.data);p.flatCoords&&(this._flatCoords?(this._flatCoords=i(this._flatCoords,p.flatCoords),this._flatCoordsOffset=i(this._flatCoordsOffset,p.flatCoordsOffset)):(this._flatCoords=p.flatCoords,this._flatCoordsOffset=p.flatCoordsOffset),d.data=new Float32Array(p.count)),this.getRawData().appendData(d.data)},_getCoordsFromItemModel:function(d){var p=this.getData().getItemModel(d),g=p.option instanceof Array?p.option:p.getShallow("coords");return g},getLineCoordsCount:function(d){return this._flatCoordsOffset?this._flatCoordsOffset[d*2+1]:this._getCoordsFromItemModel(d).length},getLineCoords:function(d,p){if(this._flatCoordsOffset){for(var g=this._flatCoordsOffset[d*2],m=this._flatCoordsOffset[d*2+1],y=0;y "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var d=this.option.progressive;return d==null?this.option.large?1e4:this.get("progressive"):d},getProgressiveThreshold:function(){var d=this.option.progressiveThreshold;return d==null?this.option.large?2e4:this.get("progressiveThreshold"):d},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),c=f;return TS=c,TS}var AS,vG;function T$(){if(vG)return AS;vG=1;var r=qe(),t=dD(),e=ie(),a=ti(),i=a.createSymbol,n=Jt(),o=yo();function s(v,h,f){r.Group.call(this),this.add(this.createLine(v,h,f)),this._updateEffectSymbol(v,h)}var l=s.prototype;l.createLine=function(v,h,f){return new t(v,h,f)},l._updateEffectSymbol=function(v,h){var f=v.getItemModel(h),c=f.getModel("effect"),d=c.get("symbolSize"),p=c.get("symbol");e.isArray(d)||(d=[d,d]);var g=c.get("color")||v.getItemVisual(h,"color"),m=this.childAt(1);this._symbolType!==p&&(this.remove(m),m=i(p,-.5,-.5,1,1,g),m.z2=100,m.culling=!0,this.add(m)),m&&(m.setStyle("shadowColor",g),m.setStyle(c.getItemStyle(["color"])),m.attr("scale",d),m.setColor(g),m.attr("scale",d),this._symbolType=p,this._symbolScale=d,this._updateEffectAnimation(v,c,h))},l._updateEffectAnimation=function(v,h,f){var c=this.childAt(1);if(c){var d=this,p=v.getItemLayout(f),g=h.get("period")*1e3,m=h.get("loop"),y=h.get("constantSpeed"),_=e.retrieve(h.get("delay"),function(w){return w/v.count()*g/3}),x=typeof _=="function";if(c.ignore=!0,this.updateAnimationPoints(c,p),y>0&&(g=this.getLineLength(c)/y*1e3),g!==this._period||m!==this._loop){c.stopAnimation();var S=_;x&&(S=_(f)),c.__t>0&&(S=-g*c.__t),c.__t=0;var b=c.animate("",m).when(g,{__t:1}).delay(S).during(function(){d.updateSymbolPosition(c)});m||b.done(function(){d.remove(c)}),b.start()}this._period=g,this._loop=m}},l.getLineLength=function(v){return n.dist(v.__p1,v.__cp1)+n.dist(v.__cp1,v.__p2)},l.updateAnimationPoints=function(v,h){v.__p1=h[0],v.__p2=h[1],v.__cp1=h[2]||[(h[0][0]+h[1][0])/2,(h[0][1]+h[1][1])/2]},l.updateData=function(v,h,f){this.childAt(0).updateData(v,h,f),this._updateEffectSymbol(v,h)},l.updateSymbolPosition=function(v){var h=v.__p1,f=v.__p2,c=v.__cp1,d=v.__t,p=v.position,g=[p[0],p[1]],m=o.quadraticAt,y=o.quadraticDerivativeAt;p[0]=m(h[0],c[0],f[0],d),p[1]=m(h[1],c[1],f[1],d);var _=y(h[0],c[0],f[0],d),x=y(h[1],c[1],f[1],d);if(v.rotation=-Math.atan2(x,_)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(v.__lastT!==void 0&&v.__lastT=0&&!(v[c]<=l);c--);c=Math.min(c,h-2)}else{for(var c=f;cl);c++);c=Math.min(c-1,h-2)}a.lerp(s.position,u[c],u[c+1],(l-v[c])/(v[c+1]-v[c]));var p=u[c+1][0]-u[c][0],g=u[c+1][1]-u[c][1];s.rotation=-Math.atan2(g,p)-Math.PI/2,this._lastFrame=c,this._lastFramePercent=l,s.ignore=!1}},t.inherits(i,e);var o=i;return MS=o,MS}var DS,cG;function Dye(){if(cG)return DS;cG=1;var r=qe(),t=rD(),e=P9(),a=R9(),i=r.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(l,u){var v=u.segs,h=u.curveness;if(u.polyline)for(var f=0;f0){l.moveTo(v[f++],v[f++]);for(var d=1;d0){var _=(p+m)/2-(g-y)*h,x=(g+y)/2-(m-p)*h;l.quadraticCurveTo(_,x,m,y)}else l.lineTo(m,y)}},findDataIndex:function(l,u){var v=this.shape,h=v.segs,f=v.curveness;if(v.polyline)for(var c=0,d=0;d0)for(var g=h[d++],m=h[d++],y=1;y0){var S=(g+_)/2-(m-x)*f,b=(m+x)/2-(_-g)*f;if(a.containStroke(g,m,S,b,_,x))return c}else if(e.containStroke(g,m,_,x))return c;c++}return-1}});function n(){this.group=new r.Group}var o=n.prototype;o.isPersistent=function(){return!this._incremental},o.updateData=function(l){this.group.removeAll();var u=new i({rectHover:!0,cursor:"default"});u.setShape({segs:l.getLayout("linesPoints")}),this._setCommon(u,l),this.group.add(u),this._incremental=null},o.incrementalPrepareUpdate=function(l){this.group.removeAll(),this._clearIncremental(),l.count()>5e5?(this._incremental||(this._incremental=new t({silent:!0})),this.group.add(this._incremental)):this._incremental=null},o.incrementalUpdate=function(l,u){var v=new i;v.setShape({segs:u.getLayout("linesPoints")}),this._setCommon(v,u,!!this._incremental),this._incremental?this._incremental.addDisplayable(v,!0):(v.rectHover=!0,v.cursor="default",v.__startIndex=l.start,this.group.add(v))},o.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},o._setCommon=function(l,u,v){var h=u.hostModel;l.setShape({polyline:h.get("polyline"),curveness:h.get("lineStyle.curveness")}),l.useStyle(h.getModel("lineStyle").getLineStyle()),l.style.strokeNoScale=!0;var f=u.getVisual("color");f&&l.setStyle("stroke",f),l.setStyle("fill"),v||(l.seriesIndex=h.seriesIndex,l.on("mousemove",function(c){l.dataIndex=null;var d=l.findDataIndex(c.offsetX,c.offsetY);d>0&&(l.dataIndex=d+l.__startIndex)}))},o._clearIncremental=function(){var l=this._incremental;l&&l.clearDisplaybles()};var s=n;return DS=s,DS}var LS,dG;function C$(){if(dG)return LS;dG=1;var r=Cu(),t={seriesType:"lines",plan:r(),reset:function(e){var a=e.coordinateSystem,i=e.get("polyline"),n=e.pipelineContext.large;function o(s,l){var u=[];if(n){var v,h=s.end-s.start;if(i){for(var f=0,c=s.start;c0){var I=u(b)?h:f;b>0&&(b=b*D+M),A[T++]=I[P],A[T++]=I[P+1],A[T++]=I[P+2],A[T++]=I[P+3]*b*256}else T+=4}return p.putImageData(w,0,0),d},_getBrush:function(){var i=this._brushCanvas||(this._brushCanvas=r.createCanvas()),n=this.pointSize+this.blurSize,o=n*2;i.width=o,i.height=o;var s=i.getContext("2d");return s.clearRect(0,0,o,o),s.shadowOffsetX=o,s.shadowBlur=this.blurSize,s.shadowColor="#000",s.beginPath(),s.arc(-n,n,this.pointSize,0,Math.PI*2,!0),s.closePath(),s.fill(),i},_getGradient:function(i,n,o){for(var s=this._gradientPixels,l=s[o]||(s[o]=new Uint8ClampedArray(256*4)),u=[0,0,0,0],v=0,h=0;h<256;h++)n[o](h/255,!0,u),l[v++]=u[0],l[v++]=u[1],l[v++]=u[2],l[v++]=u[3];return l}};var a=e;return ES=a,ES}var kS,SG;function kye(){if(SG)return kS;SG=1;var r=It();r.__DEV__;var t=Pe(),e=qe(),a=Eye(),i=ie();function n(u,v,h){var f=u[1]-u[0];v=i.map(v,function(p){return{interval:[(p.interval[0]-u[0])/f,(p.interval[1]-u[0])/f]}});var c=v.length,d=0;return function(p){for(var g=d;g=0;g--){var m=v[g].interval;if(m[0]<=p&&p<=m[1]){d=g;break}}return g>=0&&g=v[0]&&f<=v[1]}}function s(u){var v=u.dimensions;return v[0]==="lng"&&v[1]==="lat"}var l=t.extendChartView({type:"heatmap",render:function(u,v,h){var f;v.eachComponent("visualMap",function(d){d.eachTargetSeries(function(p){p===u&&(f=d)})}),this.group.removeAll(),this._incrementalDisplayable=null;var c=u.coordinateSystem;c.type==="cartesian2d"||c.type==="calendar"?this._renderOnCartesianAndCalendar(u,h,0,u.getData().count()):s(c)&&this._renderOnGeo(c,u,f,h)},incrementalPrepareRender:function(u,v,h){this.group.removeAll()},incrementalRender:function(u,v,h,f){var c=v.coordinateSystem;c&&this._renderOnCartesianAndCalendar(v,f,u.start,u.end,!0)},_renderOnCartesianAndCalendar:function(u,v,h,f,c){var d=u.coordinateSystem,p,g;if(d.type==="cartesian2d"){var m=d.getAxis("x"),y=d.getAxis("y");p=m.getBandWidth(),g=y.getBandWidth()}for(var _=this.group,x=u.getData(),S="itemStyle",b="emphasis.itemStyle",w="label",A="emphasis.label",T=u.getModel(S).getItemStyle(["color"]),C=u.getModel(b).getItemStyle(),M=u.getModel(w),L=u.getModel(A),D=d.type,P=D==="cartesian2d"?[x.mapDimension("x"),x.mapDimension("y"),x.mapDimension("value")]:[x.mapDimension("time"),x.mapDimension("value")],I=h;I0?1:K<0?-1:0}function g(N,O){return N.toGlobalCoord(N.dataToCoord(N.scale.parse(O)))}function m(N,O,z,G,q,H,U,W,Y,X){var K=Y.valueDim,Q=Y.categoryDim,j=Math.abs(z[Q.wh]),te=N.getItemVisual(O,"symbolSize");t.isArray(te)?te=te.slice():(te==null&&(te="100%"),te=[te,te]),te[Q.index]=o(te[Q.index],j),te[K.index]=o(te[K.index],G?j:Math.abs(H)),X.symbolSize=te;var Z=X.symbolScale=[te[0]/W,te[1]/W];Z[K.index]*=(Y.isHorizontal?-1:1)*U}function y(N,O,z,G,q){var H=N.get(v)||0;H&&(f.attr({scale:O.slice(),rotation:z}),f.updateTransform(),H/=f.getLineScale(),H*=O[G.valueDim.index]),q.valueLineWidth=H}function _(N,O,z,G,q,H,U,W,Y,X,K,Q){var j=K.categoryDim,te=K.valueDim,Z=Q.pxSign,ee=Math.max(O[te.index]+W,0),le=ee;if(G){var oe=Math.abs(Y),fe=t.retrieve(N.get("symbolMargin"),"15%")+"",se=!1;fe.lastIndexOf("!")===fe.length-1&&(se=!0,fe=fe.slice(0,fe.length-1)),fe=o(fe,O[te.index]);var ve=Math.max(ee+fe*2,0),ye=se?0:fe*2,Me=s(G),J=Me?G:F((oe+ye)/ve),ne=oe-J*ee;fe=ne/2/(se?J:J-1),ve=ee+fe*2,ye=se?0:fe*2,!Me&&G!=="fixed"&&(J=X?F((Math.abs(X)+ye)/ve):0),le=J*ve-ye,Q.repeatTimes=J,Q.symbolMargin=fe}var ue=Z*(le/2),me=Q.pathPosition=[];me[j.index]=z[j.wh]/2,me[te.index]=U==="start"?ue:U==="end"?Y-ue:Y/2,H&&(me[0]+=H[0],me[1]+=H[1]);var xe=Q.bundlePosition=[];xe[j.index]=z[j.xy],xe[te.index]=z[te.xy];var ge=Q.barRectShape=t.extend({},z);ge[te.wh]=Z*Math.max(Math.abs(z[te.wh]),Math.abs(me[te.index]+ue)),ge[j.wh]=z[j.wh];var pe=Q.clipShape={};pe[j.xy]=-z[j.xy],pe[j.wh]=K.ecSize[j.wh],pe[te.xy]=0,pe[te.wh]=z[te.wh]}function x(N){var O=N.symbolPatternSize,z=i(N.symbolType,-O/2,-O/2,O,O,N.color);return z.attr({culling:!0}),z.type!=="image"&&z.setStyle({strokeNoScale:!0}),z}function S(N,O,z,G){var q=N.__pictorialBundle,H=z.symbolSize,U=z.valueLineWidth,W=z.pathPosition,Y=O.valueDim,X=z.repeatTimes||0,K=0,Q=H[O.valueDim.index]+U+z.symbolMargin*2;for(E(N,function(oe){oe.__pictorialAnimationIndex=K,oe.__pictorialRepeatTimes=X,K0:se<0)&&(ve=X-1-oe),fe[Y.index]=Q*(ve-X/2+.5)+W[Y.index],{position:fe,scale:z.symbolScale.slice(),rotation:z.rotation}}function ee(){E(N,function(oe){oe.trigger("emphasis")})}function le(){E(N,function(oe){oe.trigger("normal")})}}function b(N,O,z,G){var q=N.__pictorialBundle,H=N.__pictorialMainPath;H?k(H,null,{position:z.pathPosition.slice(),scale:z.symbolScale.slice(),rotation:z.rotation},z,G):(H=N.__pictorialMainPath=x(z),q.add(H),k(H,{position:z.pathPosition.slice(),scale:[0,0],rotation:z.rotation},{scale:z.symbolScale.slice()},z,G),H.on("mouseover",U).on("mouseout",W)),L(H,z);function U(){this.trigger("emphasis")}function W(){this.trigger("normal")}}function w(N,O,z){var G=t.extend({},O.barRectShape),q=N.__pictorialBarRect;q?k(q,null,{shape:G},O,z):(q=N.__pictorialBarRect=new e.Rect({z2:2,shape:G,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),N.add(q))}function A(N,O,z,G){if(z.symbolClip){var q=N.__pictorialClipPath,H=t.extend({},z.clipShape),U=O.valueDim,W=z.animationModel,Y=z.dataIndex;if(q)e.updateProps(q,{shape:H},W,Y);else{H[U.wh]=0,q=new e.Rect({shape:H}),N.__pictorialBundle.setClipPath(q),N.__pictorialClipPath=q;var X={};X[U.wh]=z.clipShape[U.wh],e[G?"updateProps":"initProps"](q,{shape:X},W,Y)}}}function T(N,O){var z=N.getItemModel(O);return z.getAnimationDelayParams=C,z.isAnimationEnabled=M,z}function C(N){return{index:N.__pictorialAnimationIndex,count:N.__pictorialRepeatTimes}}function M(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function L(N,O){N.off("emphasis").off("normal");var z=O.symbolScale.slice();O.hoverAnimation&&N.on("emphasis",function(){this.animateTo({scale:[z[0]*1.1,z[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:z.slice()},400,"elasticOut")})}function D(N,O,z,G){var q=new e.Group,H=new e.Group;return q.add(H),q.__pictorialBundle=H,H.attr("position",z.bundlePosition.slice()),z.symbolRepeat?S(q,O,z):b(q,O,z),w(q,z,G),A(q,O,z,G),q.__pictorialShapeStr=R(N,z),q.__pictorialSymbolMeta=z,q}function P(N,O,z){var G=z.animationModel,q=z.dataIndex,H=N.__pictorialBundle;e.updateProps(H,{position:z.bundlePosition.slice()},G,q),z.symbolRepeat?S(N,O,z,!0):b(N,O,z,!0),w(N,z,!0),A(N,O,z,!0)}function I(N,O,z,G){var q=G.__pictorialBarRect;q&&(q.style.text=null);var H=[];E(G,function(U){H.push(U)}),G.__pictorialMainPath&&H.push(G.__pictorialMainPath),G.__pictorialClipPath&&(z=null),t.each(H,function(U){e.updateProps(U,{scale:[0,0]},z,O,function(){G.parent&&G.parent.remove(G)})}),N.setItemGraphicEl(O,null)}function R(N,O){return[N.getItemVisual(O.dataIndex,"symbol")||"none",!!O.symbolRepeat,!!O.symbolClip].join(":")}function E(N,O,z){t.each(N.__pictorialBundle.children(),function(G){G!==N.__pictorialBarRect&&O.call(z,G)})}function k(N,O,z,G,q,H){O&&N.attr(O),G.symbolClip&&!q?z&&N.attr(z):z&&e[q?"updateProps":"initProps"](N,z,G.animationModel,G.dataIndex,H)}function B(N,O,z){var G=z.color,q=z.dataIndex,H=z.itemModel,U=H.getModel("itemStyle").getItemStyle(["color"]),W=H.getModel("emphasis.itemStyle").getItemStyle(),Y=H.getShallow("cursor");E(N,function(j){j.setColor(G),j.setStyle(t.defaults({fill:G,opacity:z.opacity},U)),e.setHoverStyle(j,W),Y&&(j.cursor=Y),j.z2=z.z2});var X={},K=O.valueDim.posDesc[+(z.boundingLength>0)],Q=N.__pictorialBarRect;u(Q.style,X,H,G,O.seriesModel,q,K),e.setHoverStyle(Q,X)}function F(N){var O=Math.round(N);return Math.abs(N-O)<1e-4?O:Math.ceil(N)}var V=c;return NS=V,NS}var CG;function Bye(){if(CG)return wG;CG=1;var r=Pe(),t=ie();sD(),Nye(),zye();var e=pg(),a=e.layout,i=Xs();return mf(),r.registerLayout(t.curry(a,"pictorialBar")),r.registerVisual(i("pictorialBar","roundRect")),wG}var MG={},DG={},LG={},zS,IG;function Vye(){if(IG)return zS;IG=1;var r=ie(),t=So(),e=function(i,n,o,s,l){t.call(this,i,n,o),this.type=s||"value",this.position=l||"bottom",this.orient=null};e.prototype={constructor:e,model:null,isHorizontal:function(){var i=this.position;return i==="top"||i==="bottom"},pointToData:function(i,n){return this.coordinateSystem.pointToData(i,n)[0]},toGlobalCoord:null,toLocalCoord:null},r.inherits(e,t);var a=e;return zS=a,zS}var BS,PG;function Gye(){if(PG)return BS;PG=1;var r=Vye(),t=wi(),e=Ut(),a=e.getLayoutRect,i=ie(),n=i.each;function o(l,u,v){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(l,u,v),this.model=l}o.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:o,_init:function(l,u,v){var h=this.dimension,f=new r(h,t.createScaleByModel(l),[0,0],l.get("type"),l.get("position")),c=f.type==="category";f.onBand=c&&l.get("boundaryGap"),f.inverse=l.get("inverse"),f.orient=l.get("orient"),l.axis=f,f.model=l,f.coordinateSystem=this,this._axis=f},update:function(l,u){l.eachSeries(function(v){if(v.coordinateSystem===this){var h=v.getData();n(h.mapDimension(this.dimension,!0),function(f){this._axis.scale.unionExtentFromData(h,f)},this),t.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(l,u){this._rect=a({left:l.get("left"),top:l.get("top"),right:l.get("right"),bottom:l.get("bottom"),width:l.get("width"),height:l.get("height")},{width:u.getWidth(),height:u.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var l=this._rect,u=this._axis,v=u.isHorizontal(),h=v?[0,l.width]:[0,l.height],f=u.reverse?1:0;u.setExtent(h[f],h[1-f]),this._updateAxisTransform(u,v?l.x:l.y)},_updateAxisTransform:function(l,u){var v=l.getExtent(),h=v[0]+v[1],f=l.isHorizontal();l.toGlobalCoord=f?function(c){return c+u}:function(c){return h-c+u},l.toLocalCoord=f?function(c){return c-u}:function(c){return h-c+u}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(l){var u=this.getRect(),v=this.getAxis(),h=v.orient;return h==="horizontal"?v.contain(v.toLocalCoord(l[0]))&&l[1]>=u.y&&l[1]<=u.y+u.height:v.contain(v.toLocalCoord(l[1]))&&l[0]>=u.y&&l[0]<=u.y+u.height},pointToData:function(l){var u=this.getAxis();return[u.coordToData(u.toLocalCoord(l[u.orient==="horizontal"?0:1]))]},dataToPoint:function(l){var u=this.getAxis(),v=this.getRect(),h=[],f=u.orient==="horizontal"?0:1;return l instanceof Array&&(l=l[0]),h[f]=u.toGlobalCoord(u.dataToCoord(+l)),h[1-f]=f===0?v.y+v.height/2:v.x+v.width/2,h}};var s=o;return BS=s,BS}var RG;function Fye(){if(RG)return LG;RG=1;var r=Gye(),t=bi();function e(a,i){var n=[];return a.eachComponent("singleAxis",function(o,s){var l=new r(o,a,i);l.name="single_"+s,l.resize(o,i),o.coordinateSystem=l,n.push(l)}),a.eachSeries(function(o){if(o.get("coordinateSystem")==="singleAxis"){var s=a.queryComponents({mainType:"singleAxis",index:o.get("singleAxisIndex"),id:o.get("singleAxisId")})[0];o.coordinateSystem=s&&s.coordinateSystem}}),n}return t.register("single",{create:e,dimensions:r.prototype.dimensions}),LG}var VS={},EG;function M$(){if(EG)return VS;EG=1;var r=ie();function t(e,a){a=a||{};var i=e.coordinateSystem,n=e.axis,o={},s=n.position,l=n.orient,u=i.getRect(),v=[u.x,u.x+u.width,u.y,u.y+u.height],h={horizontal:{top:v[2],bottom:v[3]},vertical:{left:v[0],right:v[1]}};o.position=[l==="vertical"?h.vertical[s]:v[0],l==="horizontal"?h.horizontal[s]:v[3]];var f={horizontal:0,vertical:1};o.rotation=Math.PI/2*f[l];var c={top:-1,bottom:1,right:1,left:-1};o.labelDirection=o.tickDirection=o.nameDirection=c[s],e.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),r.retrieve(a.labelInside,e.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var d=a.rotate;return d==null&&(d=e.get("axisLabel.rotate")),o.labelRotation=s==="top"?-d:d,o.z2=1,o}return VS.layout=t,VS}var GS,kG;function Hye(){if(kG)return GS;kG=1;var r=ie(),t=bo(),e=qe(),a=M$(),i=Ks(),n=s$(),o=n.rectCoordAxisBuildSplitArea,s=n.rectCoordAxisHandleRemove,l=["axisLine","axisTickLabel","axisName"],u=["splitArea","splitLine"],v=i.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(f,c,d,p){var g=this.group;g.removeAll();var m=this._axisGroup;this._axisGroup=new e.Group;var y=a.layout(f),_=new t(f,y);r.each(l,_.add,_),g.add(this._axisGroup),g.add(_.getGroup()),r.each(u,function(x){f.get(x+".show")&&this["_"+x](f)},this),e.groupTransition(m,this._axisGroup,f),v.superCall(this,"render",f,c,d,p)},remove:function(){s(this)},_splitLine:function(f){var c=f.axis;if(!c.scale.isBlank()){var d=f.getModel("splitLine"),p=d.getModel("lineStyle"),g=p.get("width"),m=p.get("color");m=m instanceof Array?m:[m];for(var y=f.coordinateSystem.getRect(),_=c.isHorizontal(),x=[],S=0,b=c.getTicksCoords({tickModel:d}),w=[],A=[],T=0;T=0&&C<0)&&(T=k,C=E,w=P,A.length=0),n(I,function(B){A.push({seriesIndex:M.seriesIndex,dataIndexInside:B,dataIndex:M.getData().getRawIndex(B)})}))}}),{payloadBatch:A,snapToValue:w}}function h(_,x,S,b){_[x.key]={value:S,payloadBatch:b}}function f(_,x,S,b){var w=S.payloadBatch,A=x.axis,T=A.model,C=x.axisPointerModel;if(!(!x.triggerTooltip||!w.length)){var M=x.coordSys.model,L=a.makeKey(M),D=_.map[L];D||(D=_.map[L]={coordSysId:M.id,coordSysIndex:M.componentIndex,coordSysType:M.type,coordSysMainType:M.mainType,dataByAxis:[]},_.list.push(D)),D.dataByAxis.push({axisDim:A.dim,axisIndex:T.componentIndex,axisType:T.type,axisId:T.id,value:b,valueLabelOpt:{precision:C.get("label.precision"),formatter:C.get("label.formatter")},seriesDataIndices:w.slice()})}}function c(_,x,S){var b=S.axesInfo=[];n(x,function(w,A){var T=w.axisPointerModel.option,C=_[A];C?(!w.useHandle&&(T.status="show"),T.value=C.value,T.seriesDataIndices=(C.payloadBatch||[]).slice()):!w.useHandle&&(T.status="hide"),T.status==="show"&&b.push({axisDim:w.axis.dim,axisIndex:w.axis.model.componentIndex,value:T.value})})}function d(_,x,S,b){if(y(x)||!_.list.length){b({type:"hideTip"});return}var w=((_.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};b({type:"showTip",escapeConnect:!0,x:x[0],y:x[1],tooltipOption:S.tooltipOption,position:S.position,dataIndexInside:w.dataIndexInside,dataIndex:w.dataIndex,seriesIndex:w.seriesIndex,dataByCoordSys:_.list})}function p(_,x,S){var b=S.getZr(),w="axisPointerLastHighlights",A=s(b)[w]||{},T=s(b)[w]={};n(_,function(L,D){var P=L.axisPointerModel.option;P.status==="show"&&n(P.seriesDataIndices,function(I){var R=I.seriesIndex+" | "+I.dataIndex;T[R]=I})});var C=[],M=[];r.each(A,function(L,D){!T[D]&&M.push(L)}),r.each(T,function(L,D){!A[D]&&C.push(L)}),M.length&&S.dispatchAction({type:"downplay",escapeConnect:!0,batch:M}),C.length&&S.dispatchAction({type:"highlight",escapeConnect:!0,batch:C})}function g(_,x){for(var S=0;S<(_||[]).length;S++){var b=_[S];if(x.axis.dim===b.axisDim&&x.axis.model.componentIndex===b.axisIndex)return b}}function m(_){var x=_.axis.model,S={},b=S.axisDim=_.axis.dim;return S.axisIndex=S[b+"AxisIndex"]=x.componentIndex,S.axisName=S[b+"AxisName"]=x.name,S.axisId=S[b+"AxisId"]=x.id,S}function y(_){return!_||_[0]==null||isNaN(_[0])||_[1]==null||isNaN(_[1])}return qS=l,qS}var WS,VG;function Uye(){if(VG)return WS;VG=1;var r=Pe(),t=r.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}}),e=t;return WS=e,WS}var Nc={},GG;function L$(){if(GG)return Nc;GG=1;var r=ie(),t=pr(),e=_t(),a=e.makeInner,i=a(),n=r.each;function o(c,d,p){if(!t.node){var g=d.getZr();i(g).records||(i(g).records={}),s(g,d);var m=i(g).records[c]||(i(g).records[c]={});m.handler=p}}function s(c,d){if(i(c).initialized)return;i(c).initialized=!0,p("click",r.curry(v,"click")),p("mousemove",r.curry(v,"mousemove")),p("globalout",u);function p(g,m){c.on(g,function(y){var _=h(d);n(i(c).records,function(x){x&&m(x,y,_.dispatchAction)}),l(_.pendings,d)})}}function l(c,d){var p=c.showTip.length,g=c.hideTip.length,m;p?m=c.showTip[p-1]:g&&(m=c.hideTip[g-1]),m&&(m.dispatchAction=null,d.dispatchAction(m))}function u(c,d,p){c.handler("leave",null,p)}function v(c,d,p,g){d.handler(c,p,g)}function h(c){var d={showTip:[],hideTip:[]},p=function(g){var m=d[g.type];m?m.push(g):(g.dispatchAction=p,c.dispatchAction(g))};return{dispatchAction:p,pendings:d}}function f(c,d){if(!t.node){var p=d.getZr(),g=(i(p).records||{})[c];g&&(i(p).records[c]=null)}}return Nc.register=o,Nc.unregister=f,Nc}var US,FG;function $ye(){if(FG)return US;FG=1;var r=Pe(),t=L$(),e=r.extendComponentView({type:"axisPointer",render:function(i,n,o){var s=n.getComponent("tooltip"),l=i.get("triggerOn")||s&&s.get("triggerOn")||"mousemove|click";t.register("axisPointer",o,function(u,v,h){l!=="none"&&(u==="leave"||l.indexOf(u)>=0)&&h({type:"updateAxisPointer",currTrigger:u,x:v&&v.offsetX,y:v&&v.offsetY})})},remove:function(i,n){t.unregister(n.getZr(),"axisPointer"),e.superApply(this._model,"remove",arguments)},dispose:function(i,n){t.unregister("axisPointer",n),e.superApply(this._model,"dispose",arguments)}}),a=e;return US=a,US}var $S,HG;function yD(){if(HG)return $S;HG=1;var r=ie(),t=Dn(),e=qe(),a=yg(),i=Ji(),n=_o(),o=_t(),s=o.makeInner,l=s(),u=r.clone,v=r.bind;function h(){}h.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(y,_,x,S){var b=_.get("value"),w=_.get("status");if(this._axisModel=y,this._axisPointerModel=_,this._api=x,!(!S&&this._lastValue===b&&this._lastStatus===w)){this._lastValue=b,this._lastStatus=w;var A=this._group,T=this._handle;if(!w||w==="hide"){A&&A.hide(),T&&T.hide();return}A&&A.show(),T&&T.show();var C={};this.makeElOption(C,b,y,_,x);var M=C.graphicKey;M!==this._lastGraphicKey&&this.clear(x),this._lastGraphicKey=M;var L=this._moveAnimation=this.determineAnimation(y,_);if(!A)A=this._group=new e.Group,this.createPointerEl(A,C,y,_),this.createLabelEl(A,C,y,_),x.getZr().add(A);else{var D=r.curry(f,_,L);this.updatePointerEl(A,C,D,_),this.updateLabelEl(A,C,D,_)}g(A,_,!0),this._renderHandle(b)}},remove:function(y){this.clear(y)},dispose:function(y){this.clear(y)},determineAnimation:function(y,_){var x=_.get("animation"),S=y.axis,b=S.type==="category",w=_.get("snap");if(!w&&!b)return!1;if(x==="auto"||x==null){var A=this.animationThreshold;if(b&&S.getBandWidth()>A)return!0;if(w){var T=a.getAxisInfo(y).seriesDataCount,C=S.getExtent();return Math.abs(C[0]-C[1])/T>A}return!1}return x===!0},makeElOption:function(y,_,x,S,b){},createPointerEl:function(y,_,x,S){var b=_.pointer;if(b){var w=l(y).pointerEl=new e[b.type](u(_.pointer));y.add(w)}},createLabelEl:function(y,_,x,S){if(_.label){var b=l(y).labelEl=new e.Rect(u(_.label));y.add(b),d(b,S)}},updatePointerEl:function(y,_,x){var S=l(y).pointerEl;S&&_.pointer&&(S.setStyle(_.pointer.style),x(S,{shape:_.pointer.shape}))},updateLabelEl:function(y,_,x,S){var b=l(y).labelEl;b&&(b.setStyle(_.label.style),x(b,{shape:_.label.shape,position:_.label.position}),d(b,S))},_renderHandle:function(y){if(!(this._dragging||!this.updateHandleTransform)){var _=this._axisPointerModel,x=this._api.getZr(),S=this._handle,b=_.getModel("handle"),w=_.get("status");if(!b.get("show")||!w||w==="hide"){S&&x.remove(S),this._handle=null;return}var A;this._handle||(A=!0,S=this._handle=e.createIcon(b.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(M){i.stop(M.event)},onmousedown:v(this._onHandleDragMove,this,0,0),drift:v(this._onHandleDragMove,this),ondragend:v(this._onHandleDragEnd,this)}),x.add(S)),g(S,_,!1);var T=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];S.setStyle(b.getItemStyle(null,T));var C=b.get("size");r.isArray(C)||(C=[C,C]),S.attr("scale",[C[0]/2,C[1]/2]),n.createOrUpdate(this,"_doDispatchAxisPointer",b.get("throttle")||0,"fixRate"),this._moveHandleToValue(y,A)}},_moveHandleToValue:function(y,_){f(this._axisPointerModel,!_&&this._moveAnimation,this._handle,p(this.getHandleTransform(y,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(y,_){var x=this._handle;if(x){this._dragging=!0;var S=this.updateHandleTransform(p(x),[y,_],this._axisModel,this._axisPointerModel);this._payloadInfo=S,x.stopAnimation(),x.attr(p(S)),l(x).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var y=this._handle;if(y){var _=this._payloadInfo,x=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:_.cursorPoint[0],y:_.cursorPoint[1],tooltipOption:_.tooltipOption,axesInfo:[{axisDim:x.axis.dim,axisIndex:x.componentIndex}]})}},_onHandleDragEnd:function(y){this._dragging=!1;var _=this._handle;if(_){var x=this._axisPointerModel.get("value");this._moveHandleToValue(x),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(y){this._lastValue=null,this._lastStatus=null;var _=y.getZr(),x=this._group,S=this._handle;_&&x&&(this._lastGraphicKey=null,x&&_.remove(x),S&&_.remove(S),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(y,_,x){return x=x||0,{x:y[x],y:y[1-x],width:_[x],height:_[1-x]}}},h.prototype.constructor=h;function f(y,_,x,S){c(l(x).lastProp,S)||(l(x).lastProp=S,_?e.updateProps(x,S,y):(x.stopAnimation(),x.attr(S)))}function c(y,_){if(r.isObject(y)&&r.isObject(_)){var x=!0;return r.each(_,function(S,b){x=x&&c(y[b],S)}),!!x}else return y===_}function d(y,_){y[_.get("label.show")?"show":"hide"]()}function p(y){return{position:y.position.slice(),rotation:y.rotation||0}}function g(y,_,x){var S=_.get("z"),b=_.get("zlevel");y&&y.traverse(function(w){w.type!=="group"&&(S!=null&&(w.z=S),b!=null&&(w.zlevel=b),w.silent=x)})}t.enableClassExtend(h);var m=h;return $S=m,$S}var ki={},qG;function wg(){if(qG)return ki;qG=1;var r=ie(),t=qe(),e=Da(),a=Yt(),i=ha(),n=wi(),o=bo();function s(g){var m=g.get("type"),y=g.getModel(m+"Style"),_;return m==="line"?(_=y.getLineStyle(),_.fill=null):m==="shadow"&&(_=y.getAreaStyle(),_.stroke=null),_}function l(g,m,y,_,x){var S=y.get("value"),b=v(S,m.axis,m.ecModel,y.get("seriesDataIndices"),{precision:y.get("label.precision"),formatter:y.get("label.formatter")}),w=y.getModel("label"),A=a.normalizeCssArray(w.get("padding")||0),T=w.getFont(),C=e.getBoundingRect(b,T),M=x.position,L=C.width+A[1]+A[3],D=C.height+A[0]+A[2],P=x.align;P==="right"&&(M[0]-=L),P==="center"&&(M[0]-=L/2);var I=x.verticalAlign;I==="bottom"&&(M[1]-=D),I==="middle"&&(M[1]-=D/2),u(M,L,D,_);var R=w.get("backgroundColor");(!R||R==="auto")&&(R=m.get("axisLine.lineStyle.color")),g.label={shape:{x:0,y:0,width:L,height:D,r:w.get("borderRadius")},position:M.slice(),style:{text:b,textFont:T,textFill:w.getTextColor(),textPosition:"inside",textPadding:A,fill:R,stroke:w.get("borderColor")||"transparent",lineWidth:w.get("borderWidth")||0,shadowBlur:w.get("shadowBlur"),shadowColor:w.get("shadowColor"),shadowOffsetX:w.get("shadowOffsetX"),shadowOffsetY:w.get("shadowOffsetY")},z2:10}}function u(g,m,y,_){var x=_.getWidth(),S=_.getHeight();g[0]=Math.min(g[0]+m,x)-m,g[1]=Math.min(g[1]+y,S)-y,g[0]=Math.max(g[0],0),g[1]=Math.max(g[1],0)}function v(g,m,y,_,x){g=m.scale.parse(g);var S=m.scale.getLabel(g,{precision:x.precision}),b=x.formatter;if(b){var w={value:n.getAxisRawValue(m,g),axisDimension:m.dim,axisIndex:m.index,seriesData:[]};r.each(_,function(A){var T=y.getSeriesByIndex(A.seriesIndex),C=A.dataIndexInside,M=T&&T.getDataParams(C);M&&w.seriesData.push(M)}),r.isString(b)?S=b.replace("{value}",S):r.isFunction(b)&&(S=b(w))}return S}function h(g,m,y){var _=i.create();return i.rotate(_,_,y.rotation),i.translate(_,_,y.position),t.applyTransform([g.dataToCoord(m),(y.labelOffset||0)+(y.labelDirection||1)*(y.labelMargin||0)],_)}function f(g,m,y,_,x,S){var b=o.innerTextLayout(y.rotation,0,y.labelDirection);y.labelMargin=x.get("label.margin"),l(m,_,x,S,{position:h(_.axis,g,y),align:b.textAlign,verticalAlign:b.textVerticalAlign})}function c(g,m,y){return y=y||0,{x1:g[y],y1:g[1-y],x2:m[y],y2:m[1-y]}}function d(g,m,y){return y=y||0,{x:g[y],y:g[1-y],width:m[y],height:m[1-y]}}function p(g,m,y,_,x,S){return{cx:g,cy:m,r0:y,r:_,startAngle:x,endAngle:S,clockwise:!0}}return ki.buildElStyle=s,ki.buildLabelElOption=l,ki.getValueLabel=v,ki.getTransformedPosition=h,ki.buildCartesianSingleLabelElOption=f,ki.makeLineShape=c,ki.makeRectShape=d,ki.makeSectorShape=p,ki}var YS,WG;function I$(){if(WG)return YS;WG=1;var r=yD(),t=wg(),e=o$(),a=Ks(),i=r.extend({makeElOption:function(u,v,h,f,c){var d=h.axis,p=d.grid,g=f.get("type"),m=n(p,d).getOtherAxis(d).getGlobalExtent(),y=d.toGlobalCoord(d.dataToCoord(v,!0));if(g&&g!=="none"){var _=t.buildElStyle(f),x=o[g](d,y,m);x.style=_,u.graphicKey=x.type,u.pointer=x}var S=e.layout(p.model,h);t.buildCartesianSingleLabelElOption(v,u,S,h,f,c)},getHandleTransform:function(u,v,h){var f=e.layout(v.axis.grid.model,v,{labelInside:!1});return f.labelMargin=h.get("handle.margin"),{position:t.getTransformedPosition(v.axis,u,f),rotation:f.rotation+(f.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(u,v,h,f){var c=h.axis,d=c.grid,p=c.getGlobalExtent(!0),g=n(d,c).getOtherAxis(c).getGlobalExtent(),m=c.dim==="x"?0:1,y=u.position;y[m]+=v[m],y[m]=Math.min(p[1],y[m]),y[m]=Math.max(p[0],y[m]);var _=(g[1]+g[0])/2,x=[_,_];x[m]=y[m];var S=[{verticalAlign:"middle"},{align:"center"}];return{position:y,rotation:u.rotation,cursorPoint:x,tooltipOption:S[m]}}});function n(u,v){var h={};return h[v.dim+"AxisIndex"]=v.index,u.getCartesian(h)}var o={line:function(u,v,h){var f=t.makeLineShape([v,h[0]],[v,h[1]],s(u));return{type:"Line",subPixelOptimize:!0,shape:f}},shadow:function(u,v,h){var f=Math.max(1,u.getBandWidth()),c=h[1]-h[0];return{type:"Rect",shape:t.makeRectShape([v-f/2,h[0]],[f,c],s(u))}}};function s(u){return u.dim==="x"?0:1}a.registerAxisPointerClass("CartesianAxisPointer",i);var l=i;return YS=l,YS}var UG;function Sf(){if(UG)return NG;UG=1;var r=Pe(),t=ie(),e=yg(),a=Wye();return Uye(),$ye(),I$(),r.registerPreprocessor(function(i){if(i){(!i.axisPointer||i.axisPointer.length===0)&&(i.axisPointer={});var n=i.axisPointer.link;n&&!t.isArray(n)&&(i.axisPointer.link=[n])}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,function(i,n){i.getComponent("axisPointer").coordSysAxesInfo=e.collect(i,n)}),r.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},a),NG}var ZS,$G;function Yye(){if($G)return ZS;$G=1;var r=yD(),t=wg(),e=M$(),a=Ks(),i=["x","y"],n=["width","height"],o=r.extend({makeElOption:function(h,f,c,d,p){var g=c.axis,m=g.coordinateSystem,y=u(m,1-l(g)),_=m.dataToPoint(f)[0],x=d.get("type");if(x&&x!=="none"){var S=t.buildElStyle(d),b=s[x](g,_,y);b.style=S,h.graphicKey=b.type,h.pointer=b}var w=e.layout(c);t.buildCartesianSingleLabelElOption(f,h,w,c,d,p)},getHandleTransform:function(h,f,c){var d=e.layout(f,{labelInside:!1});return d.labelMargin=c.get("handle.margin"),{position:t.getTransformedPosition(f.axis,h,d),rotation:d.rotation+(d.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(h,f,c,d){var p=c.axis,g=p.coordinateSystem,m=l(p),y=u(g,m),_=h.position;_[m]+=f[m],_[m]=Math.min(y[1],_[m]),_[m]=Math.max(y[0],_[m]);var x=u(g,1-m),S=(x[1]+x[0])/2,b=[S,S];return b[m]=_[m],{position:_,rotation:h.rotation,cursorPoint:b,tooltipOption:{verticalAlign:"middle"}}}}),s={line:function(h,f,c){var d=t.makeLineShape([f,c[0]],[f,c[1]],l(h));return{type:"Line",subPixelOptimize:!0,shape:d}},shadow:function(h,f,c){var d=h.getBandWidth(),p=c[1]-c[0];return{type:"Rect",shape:t.makeRectShape([f-d/2,c[0]],[d,p],l(h))}}};function l(h){return h.isHorizontal()?0:1}function u(h,f){var c=h.getRect();return[c[i[f]],c[i[f]]+c[n[f]]]}a.registerAxisPointerClass("SingleAxisPointer",o);var v=o;return ZS=v,ZS}var YG;function P$(){if(YG)return DG;YG=1;var r=Pe();return Fye(),Hye(),qye(),Sf(),Yye(),r.extendComponentView({type:"single"}),DG}var XS,ZG;function Zye(){if(ZG)return XS;ZG=1;var r=Ir(),t=Mu(),e=cf(),a=e.getDimensionTypeByAxis,i=ei(),n=ie(),o=_t(),s=o.groupData,l=Yt(),u=l.encodeHTML,v=yf(),h=2,f=r.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(d){f.superApply(this,"init",arguments),this.legendVisualProvider=new v(n.bind(this.getData,this),n.bind(this.getRawData,this))},fixData:function(d){var p=d.length,g={},m=s(d,function(A){return g.hasOwnProperty(A[0])||(g[A[0]]=-1),A[2]}),y=[];m.buckets.each(function(A,T){y.push({name:T,dataList:A})});for(var _=y.length,x=0;x<_;++x){for(var S=y[x].name,b=0;bv&&(v=h),l.push(h)}for(var p=0;pv&&(v=m)}return f.y0=u,f.max=v,f}return QS=e,QS}var jS,QG;function Qye(){if(QG)return jS;QG=1;var r=ie(),t=r.createHashMap;function e(a){a.eachSeriesByType("themeRiver",function(i){var n=i.getData(),o=i.getRawData(),s=i.get("color"),l=t();n.each(function(u){l.set(n.getRawIndex(u),u)}),o.each(function(u){var v=o.getName(u),h=s[(i.nameMap.get(v)-1)%s.length];o.setItemVisual(u,"color",h);var f=l.get(u);f!=null&&n.setItemVisual(f,"color",h)})})}return jS=e,jS}var jG;function jye(){if(jG)return MG;jG=1;var r=Pe();P$(),Zye(),Xye();var t=Kye(),e=Qye(),a=_f();return r.registerLayout(t),r.registerVisual(e),r.registerProcessor(a("themeRiver")),MG}var JG={},JS,e3;function Jye(){if(e3)return JS;e3=1;var r=ie(),t=Ir(),e=cD(),a=gr(),i=Qs(),n=i.wrapTreePathInfo,o=t.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(l,u){var v={name:l.name,children:l.data};s(v);var h=r.map(l.levels||[],function(d){return new a(d,this,u)},this),f=e.createTree(v,this,c);function c(d){d.wrapMethod("getItemModel",function(p,g){var m=f.getNodeByDataIndex(g),y=h[m.depth];return y&&(p.parentModel=y),p})}return f.data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(l){var u=t.prototype.getDataParams.apply(this,arguments),v=this.getData().tree.getNodeByDataIndex(l);return u.treePathInfo=n(v,this),u},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(l){l?this._viewRoot=l:l=this._viewRoot;var u=this.getRawData().tree.root;(!l||l!==u&&!u.contains(l))&&(this._viewRoot=u)}});function s(l){var u=0;r.each(l.children,function(h){s(h);var f=h.value;r.isArray(f)&&(f=f[0]),u+=f});var v=l.value;r.isArray(v)&&(v=v[0]),(v==null||isNaN(v))&&(v=u),v<0&&(v=0),r.isArray(l.value)?l.value[0]=v:l.value=v}return JS=o,JS}var eb,t3;function e0e(){if(t3)return eb;t3=1;var r=ie(),t=qe(),e={NONE:"none",ANCESTOR:"ancestor",SELF:"self"},a=2,i=4;function n(f,c,d){t.Group.call(this);var p=new t.Sector({z2:a});p.seriesIndex=c.seriesIndex;var g=new t.Text({z2:i,silent:f.getModel("label").get("silent")});this.add(p),this.add(g),this.updateData(!0,f,"normal",c,d);function m(){g.ignore=g.hoverIgnore}function y(){g.ignore=g.normalIgnore}this.on("emphasis",m).on("normal",y).on("mouseover",m).on("mouseout",y)}var o=n.prototype;o.updateData=function(f,c,d,p,g){this.node=c,c.piece=this,p=p||this._seriesModel,g=g||this._ecModel;var m=this.childAt(0);m.dataIndex=c.dataIndex;var y=c.getModel(),_=c.getLayout(),x=r.extend({},_);x.label=null;var S=l(c,p,g);h(c,p,S);var b=y.getModel("itemStyle").getItemStyle(),w;if(d==="normal")w=b;else{var A=y.getModel(d+".itemStyle").getItemStyle();w=r.merge(A,b)}w=r.defaults({lineJoin:"bevel",fill:w.fill||S},w),f?(m.setShape(x),m.shape.r=_.r0,t.updateProps(m,{shape:{r:_.r}},p,c.dataIndex),m.useStyle(w)):typeof w.fill=="object"&&w.fill.type||typeof m.style.fill=="object"&&m.style.fill.type?(t.updateProps(m,{shape:x},p),m.useStyle(w)):t.updateProps(m,{shape:x,style:w},p),this._updateLabel(p,S,d);var T=y.getShallow("cursor");if(T&&m.attr("cursor",T),f){var C=p.getShallow("highlightPolicy");this._initEvents(m,c,p,C)}this._seriesModel=p||this._seriesModel,this._ecModel=g||this._ecModel,t.setHoverStyle(this)},o.onEmphasis=function(f){var c=this;this.node.hostTree.root.eachNode(function(d){d.piece&&(c.node===d?d.piece.updateData(!1,d,"emphasis"):v(d,c.node,f)?d.piece.childAt(0).trigger("highlight"):f!==e.NONE&&d.piece.childAt(0).trigger("downplay"))})},o.onNormal=function(){this.node.hostTree.root.eachNode(function(f){f.piece&&f.piece.updateData(!1,f,"normal")})},o.onHighlight=function(){this.updateData(!1,this.node,"highlight")},o.onDownplay=function(){this.updateData(!1,this.node,"downplay")},o._updateLabel=function(f,c,d){var p=this.node.getModel(),g=p.getModel("label"),m=d==="normal"||d==="emphasis"?g:p.getModel(d+".label"),y=p.getModel("emphasis.label"),_=m.get("formatter"),x=_?d:"normal",S=r.retrieve(f.getFormattedLabel(this.node.dataIndex,x,null,null,"label"),this.node.name);V("show")===!1&&(S="");var b=this.node.getLayout(),w=m.get("minAngle");w==null&&(w=g.get("minAngle")),w=w/180*Math.PI;var A=b.endAngle-b.startAngle;w!=null&&Math.abs(A)Math.PI/2?"right":"left"):!R||R==="center"?(D=(b.r+b.r0)/2,R="center"):R==="left"?(D=b.r0+I,C>Math.PI/2&&(R="right")):R==="right"&&(D=b.r-I,C>Math.PI/2&&(R="left")),T.attr("style",{text:S,textAlign:R,textVerticalAlign:V("verticalAlign")||"middle",opacity:V("opacity")});var E=D*M+b.cx,k=D*L+b.cy;T.attr("position",[E,k]);var B=V("rotate"),F=0;B==="radial"?(F=-C,F<-Math.PI/2&&(F+=Math.PI)):B==="tangential"?(F=Math.PI/2-C,F>Math.PI/2?F-=Math.PI:F<-Math.PI/2&&(F+=Math.PI)):typeof B=="number"&&(F=B*Math.PI/180),T.attr("rotation",F);function V(N){var O=m.get(N);return O==null?g.get(N):O}},o._initEvents=function(f,c,d,p){f.off("mouseover").off("mouseout").off("emphasis").off("normal");var g=this,m=function(){g.onEmphasis(p)},y=function(){g.onNormal()},_=function(){g.onDownplay()},x=function(){g.onHighlight()};d.isAnimationEnabled()&&f.on("mouseover",m).on("mouseout",y).on("emphasis",m).on("normal",y).on("downplay",_).on("highlight",x)},r.inherits(n,t.Group);var s=n;function l(f,c,d){var p=f.getVisual("color"),g=f.getVisual("visualMeta");(!g||g.length===0)&&(p=null);var m=f.getModel("itemStyle").get("color");if(m)return m;if(p)return p;if(f.depth===0)return d.option.color[0];var y=d.option.color.length;return m=d.option.color[u(f)%y],m}function u(f){for(var c=f;c.depth>1;)c=c.parentNode;var d=f.getAncestors()[0];return r.indexOf(d.children,c)}function v(f,c,d){return d===e.NONE?!1:d===e.SELF?f===c:d===e.ANCESTOR?f===c||f.isAncestorOf(c):f===c||f.isDescendantOf(c)}function h(f,c,d){var p=c.getData();p.setItemVisual(f.dataIndex,"color",d)}return eb=s,eb}var tb,r3;function t0e(){if(r3)return tb;r3=1;var r=ie(),t=tn(),e=e0e(),a=Zs(),i=Yt(),n=i.windowOpen,o="sunburstRootToNode",s=t.extend({type:"sunburst",init:function(){},render:function(u,v,h,f){var c=this;this.seriesModel=u,this.api=h,this.ecModel=v;var d=u.getData(),p=d.tree.root,g=u.getViewRoot(),m=this.group,y=u.get("renderLabelForZeroData"),_=[];g.eachNode(function(M){_.push(M)});var x=this._oldChildren||[];if(w(_,x),C(p,g),f&&f.highlight&&f.highlight.piece){var S=u.getShallow("highlightPolicy");f.highlight.piece.onEmphasis(S)}else if(f&&f.unhighlight){var b=this.virtualPiece;!b&&p.children.length&&(b=p.children[0].piece),b&&b.onNormal()}this._initEvents(),this._oldChildren=_;function w(M,L){if(M.length===0&&L.length===0)return;new a(L,M,D,D).add(P).update(P).remove(r.curry(P,null)).execute();function D(I){return I.getId()}function P(I,R){var E=I==null?null:M[I],k=R==null?null:L[R];A(E,k)}}function A(M,L){if(!y&&M&&!M.getValue()&&(M=null),M!==p&&L!==p){if(L&&L.piece)M?(L.piece.updateData(!1,M,"normal",u,v),d.setItemGraphicEl(M.dataIndex,L.piece)):T(L);else if(M){var D=new e(M,u,v);m.add(D),d.setItemGraphicEl(M.dataIndex,D)}}}function T(M){M&&M.piece&&(m.remove(M.piece),M.piece=null)}function C(M,L){if(L.depth>0){c.virtualPiece?c.virtualPiece.updateData(!1,M,"normal",u,v):(c.virtualPiece=new e(M,u,v),m.add(c.virtualPiece)),L.piece._onclickEvent&&L.piece.off("click",L.piece._onclickEvent);var D=function(P){c._rootToNode(L.parentNode)};L.piece._onclickEvent=D,c.virtualPiece.on("click",D)}else c.virtualPiece&&(m.remove(c.virtualPiece),c.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var u=this,v=function(h){var f=!1,c=u.seriesModel.getViewRoot();c.eachNode(function(d){if(!f&&d.piece&&d.piece.childAt(0)===h.target){var p=d.getModel().get("nodeClick");if(p==="rootToNode")u._rootToNode(d);else if(p==="link"){var g=d.getModel(),m=g.get("link");if(m){var y=g.get("target",!0)||"_blank";n(m,y)}}f=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",v),this.group._onclickEvent=v},_rootToNode:function(u){u!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:o,from:this.uid,seriesId:this.seriesModel.id,targetNode:u})},containPoint:function(u,v){var h=v.getData(),f=h.getItemLayout(0);if(f){var c=u[0]-f.cx,d=u[1]-f.cy,p=Math.sqrt(c*c+d*d);return p<=f.r&&p>=f.r0}}}),l=s;return tb=l,tb}var a3={},i3;function r0e(){if(i3)return a3;i3=1;var r=Pe(),t=Qs(),e="sunburstRootToNode";r.registerAction({type:e,update:"updateView"},function(n,o){o.eachComponent({mainType:"series",subType:"sunburst",query:n},s);function s(l,u){var v=t.retrieveTargetInfo(n,[e],l);if(v){var h=l.getViewRoot();h&&(n.direction=t.aboveViewRoot(h,v.node)?"rollUp":"drillDown"),l.resetViewRoot(v.node)}}});var a="sunburstHighlight";r.registerAction({type:a,update:"updateView"},function(n,o){o.eachComponent({mainType:"series",subType:"sunburst",query:n},s);function s(l,u){var v=t.retrieveTargetInfo(n,[a],l);v&&(n.highlight=v.node)}});var i="sunburstUnhighlight";return r.registerAction({type:i,update:"updateView"},function(n,o){o.eachComponent({mainType:"series",subType:"sunburst",query:n},s);function s(l,u){n.unhighlight=!0}}),a3}var rb,n3;function a0e(){if(n3)return rb;n3=1;var r=st(),t=r.parsePercent,e=ie(),a=Math.PI/180;function i(s,l,u,v){l.eachSeriesByType(s,function(h){var f=h.get("center"),c=h.get("radius");e.isArray(c)||(c=[0,c]),e.isArray(f)||(f=[f,f]);var d=u.getWidth(),p=u.getHeight(),g=Math.min(d,p),m=t(f[0],d),y=t(f[1],p),_=t(c[0],g/2),x=t(c[1],g/2),S=-h.get("startAngle")*a,b=h.get("minAngle")*a,w=h.getData().tree.root,A=h.getViewRoot(),T=A.depth,C=h.get("sort");C!=null&&n(A,C);var M=0;e.each(A.children,function(z){!isNaN(z.getValue())&&M++});var L=A.getValue(),D=Math.PI/(L||M)*2,P=A.depth>0,I=A.height-(P?-1:1),R=(x-_)/(I||1),E=h.get("clockwise"),k=h.get("stillShowZeroSum"),B=E?1:-1,F=function(z,G){if(z){var q=G;if(z!==w){var H=z.getValue(),U=L===0&&k?D:H*D;Uo[1]&&o.reverse(),{coordSys:{type:"polar",cx:a.cx,cy:a.cy,r:o[1],r0:o[0]},api:{coord:r.bind(function(s){var l=i.dataToRadius(s[0]),u=n.dataToAngle(s[1]),v=a.coordToPoint([l,u]);return v.push(l,u*Math.PI/180),v}),size:r.bind(t,a)}}}return ob=e,ob}var sb,f3;function u0e(){if(f3)return sb;f3=1;function r(t){var e=t.getRect(),a=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:a.start,end:a.end,weeks:a.weeks,dayCount:a.allDay}},api:{coord:function(i,n){return t.dataToPoint(i,n)}}}}return sb=r,sb}var c3;function v0e(){if(c3)return s3;c3=1;var r=It();r.__DEV__;var t=ie(),e=qe(),a=oD(),i=a.getDefaultLabel,n=In(),o=pg(),s=o.getLayoutOnAxis,l=Zs(),u=Ir(),v=gr(),h=tn(),f=pf(),c=f.createClipPath,d=n0e(),p=o0e(),g=s0e(),m=l0e(),y=u0e(),_=e.CACHED_LABEL_STYLE_PROPERTIES,x=["itemStyle"],S=["emphasis","itemStyle"],b=["label"],w=["emphasis","label"],A="e\0\0",T={cartesian2d:d,geo:p,singleAxis:g,polar:m,calendar:y};u.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0,clip:!1},getInitialData:function(H,U){return n(this.getSource(),this)},getDataParams:function(H,U,W){var Y=u.prototype.getDataParams.apply(this,arguments);return W&&(Y.info=W.info),Y}}),h.extend({type:"custom",_data:null,render:function(H,U,W,Y){var X=this._data,K=H.getData(),Q=this.group,j=D(H,K,U,W);K.diff(X).add(function(Z){I(null,Z,j(Z,Y),H,Q,K)}).update(function(Z,ee){var le=X.getItemGraphicEl(ee);I(le,Z,j(Z,Y),H,Q,K)}).remove(function(Z){var ee=X.getItemGraphicEl(Z);ee&&Q.remove(ee)}).execute();var te=H.get("clip",!0)?c(H.coordinateSystem,!1,H):null;te?Q.setClipPath(te):Q.removeClipPath(),this._data=K},incrementalPrepareRender:function(H,U,W){this.group.removeAll(),this._data=null},incrementalRender:function(H,U,W,Y,X){var K=U.getData(),Q=D(U,K,W,Y);function j(ee){ee.isGroup||(ee.incremental=!0,ee.useHoverLayer=!0)}for(var te=H.start;te=0?"p":"n",O=E;I&&(c[x][V]||(c[x][V]={p:E,n:E}),O=c[x][V][N]);var z,G,q,H;if(A.dim==="radius"){var U=A.dataToRadius(F)-E,W=y.dataToAngle(V);Math.abs(U)_?_=S:(x.lastTickCount=f,x.lastAutoInterval=_),_}},r.inherits(o,e);var s=o;return vb=s,vb}var hb,S3;function p0e(){if(S3)return hb;S3=1;var r=c0e(),t=d0e(),e=function(i){this.name=i||"",this.cx=0,this.cy=0,this._radiusAxis=new r,this._angleAxis=new t,this._radiusAxis.polar=this._angleAxis.polar=this};e.prototype={type:"polar",axisPointerEnabled:!0,constructor:e,dimensions:["radius","angle"],model:null,containPoint:function(i){var n=this.pointToCoord(i);return this._radiusAxis.contain(n[0])&&this._angleAxis.contain(n[1])},containData:function(i){return this._radiusAxis.containData(i[0])&&this._angleAxis.containData(i[1])},getAxis:function(i){return this["_"+i+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(i){var n=[],o=this._angleAxis,s=this._radiusAxis;return o.scale.type===i&&n.push(o),s.scale.type===i&&n.push(s),n},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(i){var n=this._angleAxis;return i===n?this._radiusAxis:n},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(i){var n=i!=null&&i!=="auto"?this.getAxis(i):this.getBaseAxis();return{baseAxes:[n],otherAxes:[this.getOtherAxis(n)]}},dataToPoint:function(i,n){return this.coordToPoint([this._radiusAxis.dataToRadius(i[0],n),this._angleAxis.dataToAngle(i[1],n)])},pointToData:function(i,n){var o=this.pointToCoord(i);return[this._radiusAxis.radiusToData(o[0],n),this._angleAxis.angleToData(o[1],n)]},pointToCoord:function(i){var n=i[0]-this.cx,o=i[1]-this.cy,s=this.getAngleAxis(),l=s.getExtent(),u=Math.min(l[0],l[1]),v=Math.max(l[0],l[1]);s.inverse?u=v-360:v=u+360;var h=Math.sqrt(n*n+o*o);n/=h,o/=h;for(var f=Math.atan2(-o,n)/Math.PI*180,c=fv;)f+=c*360;return[h,f]},coordToPoint:function(i){var n=i[0],o=i[1]/180*Math.PI,s=Math.cos(o)*n+this.cx,l=-Math.sin(o)*n+this.cy;return[s,l]},getArea:function(){var i=this.getAngleAxis(),n=this.getRadiusAxis(),o=n.getExtent().slice();o[0]>o[1]&&o.reverse();var s=i.getExtent(),l=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:o[0],r:o[1],startAngle:-s[0]*l,endAngle:-s[1]*l,clockwise:i.inverse,contain:function(u,v){var h=u-this.cx,f=v-this.cy,c=h*h+f*f,d=this.r,p=this.r0;return c<=d*d&&c>=p*p}}}};var a=e;return hb=a,hb}var b3={},w3;function g0e(){if(w3)return b3;w3=1;var r=ie(),t=Lr(),e=mg(),a=Du(),i=t.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});r.merge(i.prototype,a);var n={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function o(s,l){return l.type||(l.data?"category":"value")}return e("angle",i,o,n.angle),e("radius",i,o,n.radius),b3}var fb,T3;function m0e(){if(T3)return fb;T3=1;var r=Pe();g0e();var t=r.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(e){var a,i=this.ecModel;return i.eachComponent(e,function(n){n.getCoordSysModel()===this&&(a=n)},this),a},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});return fb=t,fb}var A3;function _D(){if(A3)return y3;A3=1;var r=It();r.__DEV__;var t=ie(),e=p0e(),a=st(),i=a.parsePercent,n=wi(),o=n.createScaleByModel,s=n.niceScaleExtent,l=bi(),u=rn(),v=u.getStackedDimension;m0e();function h(p,g,m){var y=g.get("center"),_=m.getWidth(),x=m.getHeight();p.cx=i(y[0],_),p.cy=i(y[1],x);var S=p.getRadiusAxis(),b=Math.min(_,x)/2,w=g.get("radius");w==null?w=[0,"100%"]:t.isArray(w)||(w=[0,w]),w=[i(w[0],b),i(w[1],b)],S.inverse?S.setExtent(w[1],w[0]):S.setExtent(w[0],w[1])}function f(p,g){var m=this,y=m.getAngleAxis(),_=m.getRadiusAxis();if(y.scale.setExtent(1/0,-1/0),_.scale.setExtent(1/0,-1/0),p.eachSeries(function(b){if(b.coordinateSystem===m){var w=b.getData();t.each(w.mapDimension("radius",!0),function(A){_.scale.unionExtentFromData(w,v(w,A))}),t.each(w.mapDimension("angle",!0),function(A){y.scale.unionExtentFromData(w,v(w,A))})}}),s(y.scale,y.model),s(_.scale,_.model),y.type==="category"&&!y.onBand){var x=y.getExtent(),S=360/y.scale.count();y.inverse?x[1]+=S:x[1]-=S,y.setExtent(x[0],x[1])}}function c(p,g){if(p.type=g.get("type"),p.scale=o(g),p.onBand=g.get("boundaryGap")&&p.type==="category",p.inverse=g.get("inverse"),g.mainType==="angleAxis"){p.inverse^=g.get("clockwise");var m=g.get("startAngle");p.setExtent(m,m+(p.inverse?-360:360))}g.axis=p,p.model=g}var d={dimensions:e.prototype.dimensions,create:function(p,g){var m=[];return p.eachComponent("polar",function(y,_){var x=new e(_);x.update=f;var S=x.getRadiusAxis(),b=x.getAngleAxis(),w=y.findAxisModel("radiusAxis"),A=y.findAxisModel("angleAxis");c(S,w),c(b,A),h(x,y,g),m.push(x),y.coordinateSystem=x,x.model=y}),p.eachSeries(function(y){if(y.get("coordinateSystem")==="polar"){var _=p.queryComponents({mainType:"polar",index:y.get("polarIndex"),id:y.get("polarId")})[0];y.coordinateSystem=_.coordinateSystem}}),m}};return l.register("polar",d),y3}var C3={},cb,M3;function y0e(){if(M3)return cb;M3=1;var r=ie(),t=qe(),e=gr(),a=Ks(),i=bo(),n=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function o(v,h,f){h[1]>h[0]&&(h=h.slice().reverse());var c=v.coordToPoint([h[0],f]),d=v.coordToPoint([h[1],f]);return{x1:c[0],y1:c[1],x2:d[0],y2:d[1]}}function s(v){var h=v.getRadiusAxis();return h.inverse?0:1}function l(v){var h=v[0],f=v[v.length-1];h&&f&&Math.abs(Math.abs(h.coord-f.coord)-360)<1e-4&&v.pop()}var u=a.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(v,h){if(this.group.removeAll(),!!v.get("show")){var f=v.axis,c=f.polar,d=c.getRadiusAxis().getExtent(),p=f.getTicksCoords(),g=f.getMinorTicksCoords(),m=r.map(f.getViewLabels(),function(_){var _=r.clone(_);return _.coord=f.dataToCoord(_.tickValue),_});l(m),l(p),r.each(n,function(y){v.get(y+".show")&&(!f.scale.isBlank()||y==="axisLine")&&this["_"+y](v,c,p,g,d,m)},this)}},_axisLine:function(v,h,f,c,d){var p=v.getModel("axisLine.lineStyle"),g=s(h),m=g?0:1,y;d[m]===0?y=new t.Circle({shape:{cx:h.cx,cy:h.cy,r:d[g]},style:p.getLineStyle(),z2:1,silent:!0}):y=new t.Ring({shape:{cx:h.cx,cy:h.cy,r:d[g],r0:d[m]},style:p.getLineStyle(),z2:1,silent:!0}),y.style.fill=null,this.group.add(y)},_axisTick:function(v,h,f,c,d){var p=v.getModel("axisTick"),g=(p.get("inside")?-1:1)*p.get("length"),m=d[s(h)],y=r.map(f,function(_){return new t.Line({shape:o(h,[m,m+g],_.coord)})});this.group.add(t.mergePath(y,{style:r.defaults(p.getModel("lineStyle").getLineStyle(),{stroke:v.get("axisLine.lineStyle.color")})}))},_minorTick:function(v,h,f,c,d){if(c.length){for(var p=v.getModel("axisTick"),g=v.getModel("minorTick"),m=(p.get("inside")?-1:1)*g.get("length"),y=d[s(h)],_=[],x=0;xC?"left":"right",D=Math.abs(T[1]-M)/A<.3?"middle":T[1]>M?"top":"bottom";g&&g[w]&&g[w].textStyle&&(b=new e(g[w].textStyle,m,m.ecModel));var P=new t.Text({silent:i.isLabelSilent(v)});this.group.add(P),t.setTextStyle(P.style,b,{x:T[0],y:T[1],textFill:b.getTextColor()||v.get("axisLine.lineStyle.color"),text:x.formattedLabel,textAlign:L,textVerticalAlign:D}),_&&(P.eventData=i.makeAxisEventDataBase(v),P.eventData.targetType="axisLabel",P.eventData.value=x.rawLabel)},this)},_splitLine:function(v,h,f,c,d){var p=v.getModel("splitLine"),g=p.getModel("lineStyle"),m=g.get("color"),y=0;m=m instanceof Array?m:[m];for(var _=[],x=0;xM?"left":"right",b=Math.abs(x[1]-L)/C<.3?"middle":x[1]>L?"top":"bottom"}return{position:x,align:S,verticalAlign:b}}var u={line:function(h,f,c,d,p){return h.dim==="angle"?{type:"Line",shape:a.makeLineShape(f.coordToPoint([d[0],c]),f.coordToPoint([d[1],c]))}:{type:"Circle",shape:{cx:f.cx,cy:f.cy,r:c}}},shadow:function(h,f,c,d,p){var g=Math.max(1,h.getBandWidth()),m=Math.PI/180;return h.dim==="angle"?{type:"Sector",shape:a.makeSectorShape(f.cx,f.cy,d[0],d[1],(-c-g/2)*m,(-c+g/2)*m)}:{type:"Sector",shape:a.makeSectorShape(f.cx,f.cy,c-g/2,c+g/2,0,Math.PI*2)}}};o.registerAxisPointerClass("PolarAxisPointer",s);var v=s;return pb=v,pb}var E3;function w0e(){if(E3)return g3;E3=1;var r=Pe(),t=ie(),e=f0e();return _D(),_0e(),S0e(),Sf(),b0e(),r.registerLayout(t.curry(e,"bar")),r.extendComponentView({type:"polar"}),g3}var k3={},gb,O3;function T0e(){if(O3)return gb;O3=1;var r=ie(),t=_t(),e=Lr(),a=gr(),i=lD(),n=fD(),o=e.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(l){e.prototype.init.apply(this,arguments),t.defaultEmphasis(l,"label",["show"])},optionUpdated:function(){var l=this.option,u=this;l.regions=n.getFilledRegions(l.regions,l.map,l.nameMap),this._optionModelMap=r.reduce(l.regions||[],function(v,h){return h.name&&v.set(h.name,new a(h,u)),v},r.createHashMap()),this.updateSelectedMap(l.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(l){return this._optionModelMap.get(l)||new a(null,this,this.ecModel)},getFormattedLabel:function(l,u){u=u||"normal";var v=this.getRegionModel(l),h=v.get((u==="normal"?"":u+".")+"label.formatter"),f={name:l};if(typeof h=="function")return f.status=u,h(f);if(typeof h=="string")return h.replace("{a}",l!=null?l:"")},setZoom:function(l){this.option.zoom=l},setCenter:function(l){this.option.center=l}});r.mixin(o,i);var s=o;return gb=s,gb}var mb,N3;function A0e(){if(N3)return mb;N3=1;var r=f$(),t=Pe(),e=t.extendComponentView({type:"geo",init:function(a,i){var n=new r(i,!0);this._mapDraw=n,this.group.add(n.group)},render:function(a,i,n,o){if(!(o&&o.type==="geoToggleSelect"&&o.from===this.uid)){var s=this._mapDraw;a.get("show")?s.draw(a,i,n,this,o):this._mapDraw.group.removeAll(),this.group.silent=a.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});return mb=e,mb}var z3;function C0e(){if(z3)return k3;z3=1;var r=Pe(),t=ie();T0e(),fD(),A0e(),c$();function e(a,i){i.update="updateView",r.registerAction(i,function(n,o){var s={};return o.eachComponent({mainType:"geo",query:n},function(l){l[a](n.name);var u=l.coordinateSystem;t.each(u.regions,function(v){s[v.name]=l.isSelected(v.name)||!1})}),{selected:s,name:n.name}})}return e("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),e("select",{type:"geoSelect",event:"geoselected"}),e("unSelect",{type:"geoUnSelect",event:"geounselected"}),k3}var B3={},yb,V3;function M0e(){if(V3)return yb;V3=1;var r=ie(),t=Ut(),e=st(),a=bi(),i=864e5;function n(l,u,v){this._model=l}n.prototype={constructor:n,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(l){l=e.parseDate(l);var u=l.getFullYear(),v=l.getMonth()+1;v=v<10?"0"+v:v;var h=l.getDate();h=h<10?"0"+h:h;var f=l.getDay();return f=Math.abs((f+7-this.getFirstDayOfWeek())%7),{y:u,m:v,d:h,day:f,time:l.getTime(),formatedDate:u+"-"+v+"-"+h,date:l}},getNextNDay:function(l,u){return u=u||0,u===0?this.getDateInfo(l):(l=new Date(this.getDateInfo(l).time),l.setDate(l.getDate()+u),this.getDateInfo(l))},update:function(l,u){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var v=this._rangeInfo.weeks||1,h=["width","height"],f=this._model.get("cellSize").slice(),c=this._model.getBoxLayoutParams(),d=this._orient==="horizontal"?[v,7]:[7,v];r.each([0,1],function(y){m(f,y)&&(c[h[y]]=f[y]*d[y])});var p={width:u.getWidth(),height:u.getHeight()},g=this._rect=t.getLayoutRect(c,p);r.each([0,1],function(y){m(f,y)||(f[y]=g[h[y]]/d[y])});function m(y,_){return y[_]!=null&&y[_]!=="auto"}this._sw=f[0],this._sh=f[1]},dataToPoint:function(l,u){r.isArray(l)&&(l=l[0]),u==null&&(u=!0);var v=this.getDateInfo(l),h=this._rangeInfo,f=v.formatedDate;if(u&&!(v.time>=h.start.time&&v.timec.end.time&&l.reverse(),l},_getRangeInfo:function(l){l=[this.getDateInfo(l[0]),this.getDateInfo(l[1])];var u;l[0].time>l[1].time&&(u=!0,l.reverse());var v=Math.floor(l[1].time/i)-Math.floor(l[0].time/i)+1,h=new Date(l[0].time),f=h.getDate(),c=l[1].date.getDate();h.setDate(f+v-1);var d=h.getDate();if(d!==c)for(var p=h.getTime()-l[1].time>0?1:-1;(d=h.getDate())!==c&&(h.getTime()-l[1].time)*p>0;)v-=p,h.setDate(d-p);var g=Math.floor((v+l[0].day+6)/7),m=u?-g+1:g-1;return u&&l.reverse(),{range:[l[0].formatedDate,l[1].formatedDate],start:l[0],end:l[1],allDay:v,weeks:g,nthWeek:m,fweek:l[0].day,lweek:l[1].day}},_getDateByWeeksAndDay:function(l,u,v){var h=this._getRangeInfo(v);if(l>h.weeks||l===0&&uh.lweek)return!1;var f=(l-1)*7-h.fweek+u,c=new Date(h.start.time);return c.setDate(h.start.d+f),this.getDateInfo(c)}},n.dimensions=n.prototype.dimensions,n.getDimensionsInfo=n.prototype.getDimensionsInfo,n.create=function(l,u){var v=[];return l.eachComponent("calendar",function(h){var f=new n(h);v.push(f),h.coordinateSystem=f}),l.eachSeries(function(h){h.get("coordinateSystem")==="calendar"&&(h.coordinateSystem=v[h.get("calendarIndex")||0])}),v};function o(l,u,v,h){var f=v.calendarModel,c=v.seriesModel,d=f?f.coordinateSystem:c?c.coordinateSystem:null;return d===this?d[l](h):null}a.register("calendar",n);var s=n;return yb=s,yb}var _b,G3;function D0e(){if(G3)return _b;G3=1;var r=ie(),t=Lr(),e=Ut(),a=e.getLayoutParams,i=e.sizeCalculable,n=e.mergeLayoutParam,o=t.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(u,v,h,f){var c=a(u);o.superApply(this,"init",arguments),s(u,c)},mergeOption:function(u,v){o.superApply(this,"mergeOption",arguments),s(this.option,u)}});function s(u,v){var h=u.cellSize;r.isArray(h)?h.length===1&&(h[1]=h[0]):h=u.cellSize=[h,h];var f=r.map([0,1],function(c){return i(v,c)&&(h[c]="auto"),h[c]!=null&&h[c]!=="auto"});n(u,v,{type:"box",ignoreSize:f})}var l=o;return _b=l,_b}var xb,F3;function L0e(){if(F3)return xb;F3=1;var r=Pe(),t=ie(),e=qe(),a=Yt(),i=st(),n={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},o={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},s=r.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(l,u,v){var h=this.group;h.removeAll();var f=l.coordinateSystem,c=f.getRangeInfo(),d=f.getOrient();this._renderDayRect(l,c,h),this._renderLines(l,c,d,h),this._renderYearText(l,c,d,h),this._renderMonthText(l,d,h),this._renderWeekText(l,c,d,h)},_renderDayRect:function(l,u,v){for(var h=l.coordinateSystem,f=l.getModel("itemStyle").getItemStyle(),c=h.getCellWidth(),d=h.getCellHeight(),p=u.start.time;p<=u.end.time;p=h.getNextNDay(p,1).time){var g=h.dataToRect([p],!1).tl,m=new e.Rect({shape:{x:g[0],y:g[1],width:c,height:d},cursor:"default",style:f});v.add(m)}},_renderLines:function(l,u,v,h){var f=this,c=l.coordinateSystem,d=l.getModel("splitLine.lineStyle").getLineStyle(),p=l.get("splitLine.show"),g=d.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var m=u.start,y=0;m.time<=u.end.time;y++){x(m.formatedDate),y===0&&(m=c.getDateInfo(u.start.y+"-"+u.start.m));var _=m.date;_.setMonth(_.getMonth()+1),m=c.getDateInfo(_)}x(c.getNextNDay(u.end.time,1).formatedDate);function x(S){f._firstDayOfMonth.push(c.getDateInfo(S)),f._firstDayPoints.push(c.dataToRect([S],!1).tl);var b=f._getLinePointsOfOneWeek(l,S,v);f._tlpoints.push(b[0]),f._blpoints.push(b[b.length-1]),p&&f._drawSplitline(b,d,h)}p&&this._drawSplitline(f._getEdgesPoints(f._tlpoints,g,v),d,h),p&&this._drawSplitline(f._getEdgesPoints(f._blpoints,g,v),d,h)},_getEdgesPoints:function(l,u,v){var h=[l[0].slice(),l[l.length-1].slice()],f=v==="horizontal"?0:1;return h[0][f]=h[0][f]-u/2,h[1][f]=h[1][f]+u/2,h},_drawSplitline:function(l,u,v){var h=new e.Polyline({z2:20,shape:{points:l},style:u});v.add(h)},_getLinePointsOfOneWeek:function(l,u,v){var h=l.coordinateSystem;u=h.getDateInfo(u);for(var f=[],c=0;c<7;c++){var d=h.getNextNDay(u.time,c),p=h.dataToRect([d.time],!1);f[2*d.day]=p.tl,f[2*d.day+1]=p[v==="horizontal"?"bl":"tr"]}return f},_formatterLabel:function(l,u){return typeof l=="string"&&l?a.formatTplSimple(l,u):typeof l=="function"?l(u):u.nameMap},_yearTextPositionControl:function(l,u,v,h,f){u=u.slice();var c=["center","bottom"];h==="bottom"?(u[1]+=f,c=["center","top"]):h==="left"?u[0]-=f:h==="right"?(u[0]+=f,c=["center","top"]):u[1]-=f;var d=0;return(h==="left"||h==="right")&&(d=Math.PI/2),{rotation:d,position:u,style:{textAlign:c[0],textVerticalAlign:c[1]}}},_renderYearText:function(l,u,v,h){var f=l.getModel("yearLabel");if(f.get("show")){var c=f.get("margin"),d=f.get("position");d||(d=v!=="horizontal"?"top":"left");var p=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],g=(p[0][0]+p[1][0])/2,m=(p[0][1]+p[1][1])/2,y=v==="horizontal"?0:1,_={top:[g,p[y][1]],bottom:[g,p[1-y][1]],left:[p[1-y][0],m],right:[p[y][0],m]},x=u.start.y;+u.end.y>+u.start.y&&(x=x+"-"+u.end.y);var S=f.get("formatter"),b={start:u.start.y,end:u.end.y,nameMap:x},w=this._formatterLabel(S,b),A=new e.Text({z2:30});e.setTextStyle(A.style,f,{text:w}),A.attr(this._yearTextPositionControl(A,_[d],v,d,c)),h.add(A)}},_monthTextPositionControl:function(l,u,v,h,f){var c="left",d="top",p=l[0],g=l[1];return v==="horizontal"?(g=g+f,u&&(c="center"),h==="start"&&(d="bottom")):(p=p+f,u&&(d="middle"),h==="start"&&(c="right")),{x:p,y:g,textAlign:c,textVerticalAlign:d}},_renderMonthText:function(l,u,v){var h=l.getModel("monthLabel");if(h.get("show")){var f=h.get("nameMap"),c=h.get("margin"),d=h.get("position"),p=h.get("align"),g=[this._tlpoints,this._blpoints];t.isString(f)&&(f=n[f.toUpperCase()]||[]);var m=d==="start"?0:1,y=u==="horizontal"?0:1;c=d==="start"?-c:c;for(var _=p==="center",x=0;x=0;C--)b[C]==null?b.splice(C,1):delete b[C].$action},_flatten:function(y,_,x){e.each(y,function(S){if(S){x&&(S.parentOption=x),_.push(S);var b=S.children;S.type==="group"&&b&&this._flatten(b,_,S),delete S.children}},this)},useElOptionsToUpdate:function(){var y=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,y}});t.extendComponentView({type:"graphic",init:function(y,_){this._elMap=e.createHashMap(),this._lastGraphicModel},render:function(y,_,x){y!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=y,this._updateElements(y),this._relocate(y,x)},_updateElements:function(y){var _=y.useElOptionsToUpdate();if(_){var x=this._elMap,S=this.group;e.each(_,function(b){var w=b.$action,A=b.id,T=x.get(A),C=b.parentId,M=C!=null?x.get(C):S,L=b.style;b.type==="text"&&L&&(b.hv&&b.hv[1]&&(L.textVerticalAlign=L.textBaseline=null),!L.hasOwnProperty("textFill")&&L.fill&&(L.textFill=L.fill),!L.hasOwnProperty("textStroke")&&L.stroke&&(L.textStroke=L.stroke));var D=f(b);!w||w==="merge"?T?T.attr(D):v(A,M,D,x):w==="replace"?(h(T,x),v(A,M,D,x)):w==="remove"&&h(T,x);var P=x.get(A);P&&(P.__ecGraphicWidthOption=b.width,P.__ecGraphicHeightOption=b.height,m(P,y))})}},_relocate:function(y,_){for(var x=y.option.elements,S=this.group,b=this._elMap,w=_.getWidth(),A=_.getHeight(),T=0;T=0;T--){var C=x[T],M=b.get(C.id);if(M){var L=M.parent,P=L===S?{width:w,height:A}:{width:L.__ecGraphicWidth,height:L.__ecGraphicHeight};n.positionElement(M,C,P,null,{hv:C.hv,boundingMode:C.bounding})}}},_clear:function(){var y=this._elMap;y.each(function(_){h(_,y)}),this._elMap=e.createHashMap()},dispose:function(){this._clear()}});function v(y,_,x,S){var b=x.type,w=l.hasOwnProperty(b)?l[b]:i.getShapeClass(b),A=new w(x);_.add(A),S.set(y,A),A.__ecGraphicId=y}function h(y,_){var x=y&&y.parent;x&&(y.type==="group"&&y.traverse(function(S){h(S,_)}),_.removeKey(y.__ecGraphicId),x.remove(y))}function f(y){return y=e.extend({},y),e.each(["id","parentId","$action","hv","bounding"].concat(n.LOCATION_PARAMS),function(_){delete y[_]}),y}function c(y,_){var x;return e.each(_,function(S){y[S]!=null&&y[S]!=="auto"&&(x=!0)}),x}function d(y,_){var x=y.exist;if(_.id=y.keyInfo.id,!_.type&&x&&(_.type=x.type),_.parentId==null){var S=_.parentOption;S?_.parentId=S.id:x&&(_.parentId=x.parentId)}_.parentOption=null}function p(y,_,x){var S=e.extend({},x),b=y[_],w=x.$action||"merge";w==="merge"?b?(e.merge(b,S,!0),n.mergeLayoutParam(b,S,{ignoreSize:!0}),n.copyLayoutParams(x,b)):y[_]=S:w==="replace"?y[_]=S:w==="remove"&&b&&(y[_]=null)}function g(y,_){y&&(y.hv=_.hv=[c(_,["left","right"]),c(_,["top","bottom"])],y.type==="group"&&(y.width==null&&(y.width=_.width=0),y.height==null&&(y.height=_.height=0)))}function m(y,_,x){var S=y.eventData;!y.silent&&!y.ignore&&!S&&(S=y.eventData={componentType:"graphic",componentIndex:_.componentIndex,name:y.name}),S&&(S.info=y.info)}return q3}var U3={},zc={},$3;function wo(){if($3)return zc;$3=1;var r={};function t(a,i){r[a]=i}function e(a){return r[a]}return zc.register=t,zc.get=e,zc}var Sb,Y3;function R0e(){if(Y3)return Sb;Y3=1;var r=Pe(),t=ie(),e=wo(),a=r.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){a.superApply(this,"optionUpdated",arguments),t.each(this.option.feature,function(n,o){var s=e.get(o);s&&t.merge(n,s.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),i=a;return Sb=i,Sb}var Bc={},Z3;function R$(){if(Z3)return Bc;Z3=1;var r=Ut(),t=r.getLayoutRect,e=r.box,a=r.positionElement,i=Yt(),n=qe();function o(l,u,v){var h=u.getBoxLayoutParams(),f=u.get("padding"),c={width:v.getWidth(),height:v.getHeight()},d=t(h,c,f);e(u.get("orient"),l,u.get("itemGap"),d.width,d.height),a(l,h,c,f)}function s(f,u){var v=i.normalizeCssArray(u.get("padding")),h=u.getItemStyle(["color","opacity"]);h.fill=u.get("backgroundColor");var f=new n.Rect({shape:{x:f.x-v[3],y:f.y-v[0],width:f.width+v[1]+v[3],height:f.height+v[0]+v[2],r:u.get("borderRadius")},style:h,silent:!0,z2:-1});return f}return Bc.layout=o,Bc.makeBackground=s,Bc}var bb,X3;function E0e(){if(X3)return bb;X3=1;var r=Pe(),t=ie(),e=Da(),a=wo(),i=qe(),n=gr(),o=Zs(),s=R$(),l=r.extendComponentView({type:"toolbox",render:function(v,h,f,c){var d=this.group;if(d.removeAll(),!v.get("show"))return;var p=+v.get("itemSize"),g=v.get("feature")||{},m=this._features||(this._features={}),y=[];t.each(g,function(S,b){y.push(b)}),new o(this._featureNames||[],y).add(_).update(_).remove(t.curry(_,null)).execute(),this._featureNames=y;function _(S,b){var w=y[S],A=y[b],T=g[w],C=new n(T,v,v.ecModel),M;if(c&&c.newTitle!=null&&c.featureName===w&&(T.title=c.newTitle),w&&!A){if(u(w))M={model:C,onclick:C.option.onclick,featureName:w};else{var L=a.get(w);if(!L)return;M=new L(C,h,f)}m[w]=M}else{if(M=m[A],!M)return;M.model=C,M.ecModel=h,M.api=f}if(!w&&A){M.dispose&&M.dispose(h,f);return}if(!C.get("show")||M.unusable){M.remove&&M.remove(h,f);return}x(C,M,w),C.setIconStatus=function(D,P){var I=this.option,R=this.iconPaths;I.iconStatus=I.iconStatus||{},I.iconStatus[D]=P,R[D]&&R[D].trigger(P)},M.render&&M.render(C,h,f,c)}function x(S,b,w){var A=S.getModel("iconStyle"),T=S.getModel("emphasis.iconStyle"),C=b.getIcons?b.getIcons():S.get("icon"),M=S.get("title")||{};if(typeof C=="string"){var L=C,D=M;C={},M={},C[w]=L,M[w]=D}var P=S.iconPaths={};t.each(C,function(I,R){var E=i.createIcon(I,{},{x:-p/2,y:-p/2,width:p,height:p});E.setStyle(A.getItemStyle()),E.hoverStyle=T.getItemStyle(),E.setStyle({text:M[R],textAlign:T.get("textAlign"),textBorderRadius:T.get("textBorderRadius"),textPadding:T.get("textPadding"),textFill:null});var k=v.getModel("tooltip");k&&k.get("show")&&E.attr("tooltip",t.extend({content:M[R],formatter:k.get("formatter",!0)||function(){return M[R]},formatterParams:{componentType:"toolbox",name:R,title:M[R],$vars:["name","title"]},position:k.get("position",!0)||"bottom"},k.option)),i.setHoverStyle(E),v.get("showTitle")&&(E.__title=M[R],E.on("mouseover",function(){var B=T.getItemStyle(),F=v.get("orient")==="vertical"?v.get("right")==null?"right":"left":v.get("bottom")==null?"bottom":"top";E.setStyle({textFill:T.get("textFill")||B.fill||B.stroke||"#000",textBackgroundColor:T.get("textBackgroundColor"),textPosition:T.get("textPosition")||F})}).on("mouseout",function(){E.setStyle({textFill:null,textBackgroundColor:null})})),E.trigger(S.get("iconStatus."+R)||"normal"),d.add(E),E.on("click",t.bind(b.onclick,b,h,f,R)),P[R]=E})}s.layout(d,v,f),d.add(s.makeBackground(d.getBoundingRect(),v)),d.eachChild(function(S){var b=S.__title,w=S.hoverStyle;if(w&&b){var A=e.getBoundingRect(b,e.makeFont(w)),T=S.position[0]+d.position[0],C=S.position[1]+d.position[1]+p,M=!1;C+A.height>f.getHeight()&&(w.textPosition="top",M=!0);var L=M?-5-A.height:p+8;T+A.width/2>f.getWidth()?(w.textPosition=["100%",L],w.textAlign="right"):T-A.width/2<0&&(w.textPosition=[0,L],w.textAlign="left")}})},updateView:function(v,h,f,c){t.each(this._features,function(d){d.updateView&&d.updateView(d.model,h,f,c)})},remove:function(v,h){t.each(this._features,function(f){f.remove&&f.remove(v,h)}),this.group.removeAll()},dispose:function(v,h){t.each(this._features,function(f){f.dispose&&f.dispose(v,h)})}});function u(v){return v.indexOf("my")===0}return bb=l,bb}var wb,K3;function k0e(){if(K3)return wb;K3=1;var r=pr(),t=xo(),e=wo(),a=t.toolbox.saveAsImage;function i(s){this.model=s}i.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:a.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:a.lang.slice()},i.prototype.unusable=!r.canvasSupported;var n=i.prototype;n.onclick=function(s,l){var u=this.model,v=u.get("name")||s.get("title.0.text")||"echarts",h=l.getZr().painter.getType()==="svg",f=h?"svg":u.get("type",!0)||"png",c=l.getConnectedDataURL({type:f,backgroundColor:u.get("backgroundColor",!0)||s.get("backgroundColor")||"#fff",connectedBackgroundColor:u.get("connectedBackgroundColor"),excludeComponents:u.get("excludeComponents"),pixelRatio:u.get("pixelRatio")});if(typeof MouseEvent=="function"&&!r.browser.ie&&!r.browser.edge){var d=document.createElement("a");d.download=v+"."+f,d.target="_blank",d.href=c;var p=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});d.dispatchEvent(p)}else if(window.navigator.msSaveOrOpenBlob){for(var g=atob(c.split(",")[1]),m=g.length,y=new Uint8Array(m);m--;)y[m]=g.charCodeAt(m);var _=new Blob([y]);window.navigator.msSaveOrOpenBlob(_,v+"."+f)}else{var x=u.get("lang"),S='',b=window.open();b.document.write(S)}},e.register("saveAsImage",i);var o=i;return wb=o,wb}var Tb,Q3;function O0e(){if(Q3)return Tb;Q3=1;var r=Pe(),t=ie(),e=xo(),a=wo(),i=e.toolbox.magicType,n="__ec_magicType_stack__";function o(h){this.model=h}o.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.clone(i.title),option:{},seriesIndex:{}};var s=o.prototype;s.getIcons=function(){var h=this.model,f=h.get("icon"),c={};return t.each(h.get("type"),function(d){f[d]&&(c[d]=f[d])}),c};var l={line:function(h,f,c,d){if(h==="bar")return t.merge({id:f,type:"line",data:c.get("data"),stack:c.get("stack"),markPoint:c.get("markPoint"),markLine:c.get("markLine")},d.get("option.line")||{},!0)},bar:function(h,f,c,d){if(h==="line")return t.merge({id:f,type:"bar",data:c.get("data"),stack:c.get("stack"),markPoint:c.get("markPoint"),markLine:c.get("markLine")},d.get("option.bar")||{},!0)},stack:function(h,f,c,d){var p=c.get("stack")===n;if(h==="line"||h==="bar")return d.setIconStatus("stack",p?"normal":"emphasis"),t.merge({id:f,stack:p?"":n},d.get("option.stack")||{},!0)}},u=[["line","bar"],["stack"]];s.onclick=function(h,f,c){var d=this.model,p=d.get("seriesIndex."+c);if(l[c]){var g={series:[]},m=function(x){var S=x.subType,b=x.id,w=l[c](S,b,x,d);w&&(t.defaults(w,x.option),g.series.push(w));var A=x.coordinateSystem;if(A&&A.type==="cartesian2d"&&(c==="line"||c==="bar")){var T=A.getAxesByScale("ordinal")[0];if(T){var C=T.dim,M=C+"Axis",L=h.queryComponents({mainType:M,index:x.get(name+"Index"),id:x.get(name+"Id")})[0],D=L.componentIndex;g[M]=g[M]||[];for(var P=0;P<=D;P++)g[M][D]=g[M][D]||{};g[M][D].boundaryGap=c==="bar"}}};t.each(u,function(x){t.indexOf(x,c)>=0&&t.each(x,function(S){d.setIconStatus(S,"normal")})}),d.setIconStatus(c,"emphasis"),h.eachComponent({mainType:"series",query:p==null?null:{seriesIndex:p}},m);var y;if(c==="stack"){var _=g.series&&g.series[0]&&g.series[0].stack===n;y=_?t.merge({stack:i.title.tiled},i.title):t.clone(i.title)}f.dispatchAction({type:"changeMagicType",currentType:c,newOption:g,newTitle:y,featureName:"magicType"})}},r.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(h,f){f.mergeOption(h.newOption)}),a.register("magicType",o);var v=o;return Tb=v,Tb}var Ab,j3;function N0e(){if(j3)return Ab;j3=1;var r=Pe(),t=ie(),e=Ji(),a=xo(),i=wo(),n=a.toolbox.dataView,o=new Array(60).join("-"),s=" ";function l(S){var b={},w=[],A=[];return S.eachRawSeries(function(T){var C=T.coordinateSystem;if(C&&(C.type==="cartesian2d"||C.type==="polar")){var M=C.getBaseAxis();if(M.type==="category"){var L=M.dim+"_"+M.index;b[L]||(b[L]={categoryAxis:M,valueAxis:C.getOtherAxis(M),series:[]},A.push({axisDim:M.dim,axisIndex:M.index})),b[L].series.push(T)}else w.push(T)}else w.push(T)}),{seriesGroupByCategoryAxis:b,other:w,meta:A}}function u(S){var b=[];return t.each(S,function(w,A){var T=w.categoryAxis,C=w.valueAxis,M=C.dim,L=[" "].concat(t.map(w.series,function(k){return k.name})),D=[T.model.getCategories()];t.each(w.series,function(k){var B=k.getRawData();D.push(k.getRawData().mapArray(B.mapDimension(M),function(F){return F}))});for(var P=[L.join(s)],I=0;I=0)return!0}var d=new RegExp("["+s+"]+","g");function p(S){for(var b=S.split(/\n+/g),w=f(b.shift()).split(d),A=[],T=t.map(w,function(D){return{name:D,data:[]}}),C=0;C=0)&&P(D,M,L)})}var h=v.prototype;h.setOutputRanges=function(A,T){this.matchOutputRanges(A,T,function(C,M,L){if((C.coordRanges||(C.coordRanges=[])).push(M),!C.coordRange){C.coordRange=M;var D=m[C.brushType](0,L,M);C.__rangeOffset={offset:_[C.brushType](D.values,C.range,[1,1]),xyMinMax:D.xyMinMax}}})},h.matchOutputRanges=function(A,T,C){n(A,function(M){var L=this.findTargetInfo(M,T);L&&L!==!0&&t.each(L.coordSyses,function(D){var P=m[M.brushType](1,D,M.range);C(M,P.values,D,T)})},this)},h.setInputRanges=function(A,T){n(A,function(C){var M=this.findTargetInfo(C,T);if(C.range=C.range||[],M&&M!==!0){C.panelId=M.panelId;var L=m[C.brushType](0,M.coordSys,C.coordRange),D=C.__rangeOffset;C.range=D?_[C.brushType](L.values,D.offset,S(L.xyMinMax,D.xyMinMax)):L.values}},this)},h.makePanelOpts=function(A,T){return t.map(this._targetInfoList,function(C){var M=C.getPanelRect();return{panelId:C.panelId,defaultBrushType:T&&T(C),clipPath:i.makeRectPanelClipPath(M),isTargetByCursor:i.makeRectIsTargetByCursor(M,A,C.coordSysModel),getLinearBrushOtherExtent:i.makeLinearBrushOtherExtent(M)}})},h.controlSeries=function(A,T,C){var M=this.findTargetInfo(A,C);return M===!0||M&&o(M.coordSyses,T.coordinateSystem)>=0},h.findTargetInfo=function(A,T){for(var C=this._targetInfoList,M=c(T,A),L=0;LA[1]&&A.reverse(),A}function c(A,T){return a.parseFinder(A,T,{includeMainTypes:u})}var d={grid:function(A,T){var C=A.xAxisModels,M=A.yAxisModels,L=A.gridModels,D=t.createHashMap(),P={},I={};!C&&!M&&!L||(n(C,function(R){var E=R.axis.grid.model;D.set(E.id,E),P[E.id]=!0}),n(M,function(R){var E=R.axis.grid.model;D.set(E.id,E),I[E.id]=!0}),n(L,function(R){D.set(R.id,R),P[R.id]=!0,I[R.id]=!0}),D.each(function(R){var E=R.coordinateSystem,k=[];n(E.getCartesians(),function(B,F){(o(C,B.getAxis("x").model)>=0||o(M,B.getAxis("y").model)>=0)&&k.push(B)}),T.push({panelId:"grid--"+R.id,gridModel:R,coordSysModel:R,coordSys:k[0],coordSyses:k,getPanelRect:g.grid,xAxisDeclared:P[R.id],yAxisDeclared:I[R.id]})}))},geo:function(A,T){n(A.geoModels,function(C){var M=C.coordinateSystem;T.push({panelId:"geo--"+C.id,geoModel:C,coordSysModel:C,coordSys:M,coordSyses:[M],getPanelRect:g.geo})})}},p=[function(A,T){var C=A.xAxisModel,M=A.yAxisModel,L=A.gridModel;return!L&&C&&(L=C.axis.grid.model),!L&&M&&(L=M.axis.grid.model),L&&L===T.gridModel},function(A,T){var C=A.geoModel;return C&&C===T.geoModel}],g={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var A=this.coordSys,T=A.getBoundingRect().clone();return T.applyTransform(e.getTransform(A)),T}},m={lineX:s(y,0),lineY:s(y,1),rect:function(A,T,C){var M=T[l[A]]([C[0][0],C[1][0]]),L=T[l[A]]([C[0][1],C[1][1]]),D=[f([M[0],L[0]]),f([M[1],L[1]])];return{values:D,xyMinMax:D}},polygon:function(A,T,C){var M=[[1/0,-1/0],[1/0,-1/0]],L=t.map(C,function(D){var P=T[l[A]](D);return M[0][0]=Math.min(M[0][0],P[0]),M[1][0]=Math.min(M[1][0],P[1]),M[0][1]=Math.max(M[0][1],P[0]),M[1][1]=Math.max(M[1][1],P[1]),P});return{values:L,xyMinMax:M}}};function y(A,T,C,M){var L=C.getAxis(["x","y"][A]),D=f(t.map([0,1],function(I){return T?L.coordToData(L.toLocalCoord(M[I])):L.toGlobalCoord(L.dataToCoord(M[I]))})),P=[];return P[A]=D,P[1-A]=[NaN,NaN],{values:D,xyMinMax:P}}var _={lineX:s(x,0),lineY:s(x,1),rect:function(A,T,C){return[[A[0][0]-C[0]*T[0][0],A[0][1]-C[0]*T[0][1]],[A[1][0]-C[1]*T[1][0],A[1][1]-C[1]*T[1][1]]]},polygon:function(A,T,C){return t.map(A,function(M,L){return[M[0]-C[0]*T[L][0],M[1]-C[1]*T[L][1]]})}};function x(A,T,C,M){return[T[0]-M[A]*C[0],T[1]-M[A]*C[1]]}function S(A,T){var C=b(A),M=b(T),L=[C[0]/M[0],C[1]/M[1]];return isNaN(L[0])&&(L[0]=1),isNaN(L[1])&&(L[1]=1),L}function b(A){return A?[A[0][1]-A[0][0],A[1][1]-A[1][0]]:[NaN,NaN]}var w=v;return Cb=w,Cb}var Tl={},eF;function k$(){if(eF)return Tl;eF=1;var r=ie(),t=r.each,e="\0_ec_hist_store";function a(l,u){var v=s(l);t(u,function(h,f){for(var c=v.length-1;c>=0;c--){var d=v[c];if(d[f])break}if(c<0){var p=l.queryComponents({mainType:"dataZoom",subType:"select",id:f})[0];if(p){var g=p.getPercentRange();v[0][f]={dataZoomId:f,start:g[0],end:g[1]}}}}),v.push(u)}function i(l){var u=s(l),v=u[u.length-1];u.length>1&&u.pop();var h={};return t(v,function(f,c){for(var d=u.length-1;d>=0;d--){var f=u[d][c];if(f){h[c]=f;break}}}),h}function n(l){l[e]=null}function o(l){return s(l).length}function s(l){var u=l[e];return u||(u=l[e]=[{}]),u}return Tl.push=a,Tl.pop=i,Tl.clear=n,Tl.count=o,Tl}var tF={},rF={},aF;function xD(){if(aF)return rF;aF=1;var r=Lr();return r.registerSubTypeDefaulter("dataZoom",function(){return"slider"}),rF}var Al={},iF;function SD(){if(iF)return Al;iF=1;var r=ie(),t=Yt(),e=["x","y","z","radius","angle","single"],a=["cartesian2d","polar","singleAxis"];function i(l){return r.indexOf(a,l)>=0}function n(l,u){l=l.slice();var v=r.map(l,t.capitalFirst);u=(u||[]).slice();var h=r.map(u,t.capitalFirst);return function(f,c){r.each(l,function(d,p){for(var g={name:d,capital:v[p]},m=0;m=0}function f(d,p){var g=!1;return u(function(m){r.each(v(d,m)||[],function(y){p.records[m.name][y]&&(g=!0)})}),g}function c(d,p){p.nodes.push(d),u(function(g){r.each(v(d,g)||[],function(m){p.records[g.name][m]=!0})})}}return Al.isCoordSupported=i,Al.createNameEach=n,Al.eachAxisDim=o,Al.createLinkedNodesFinder=s,Al}var Mb,nF;function z0e(){if(nF)return Mb;nF=1;var r=ie(),t=st(),e=SD(),a=Iu(),i=r.each,n=t.asc,o=function(f,c,d,p){this._dimName=f,this._axisIndex=c,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=p,this._dataZoomModel=d};o.prototype={constructor:o,hostedBy:function(f){return this._dataZoomModel===f},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var f=[],c=this.ecModel;return c.eachSeries(function(d){if(e.isCoordSupported(d.get("coordinateSystem"))){var p=this._dimName,g=c.queryComponents({mainType:p+"Axis",index:d.get(p+"AxisIndex"),id:d.get(p+"AxisId")})[0];this._axisIndex===(g&&g.componentIndex)&&f.push(d)}},this),f},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var f=this._dimName,c=this.ecModel,d=this.getAxisModel(),p=f==="x"||f==="y",g,m;p?(m="gridIndex",g=f==="x"?"y":"x"):(m="polarIndex",g=f==="angle"?"radius":"angle");var y;return c.eachComponent(g+"Axis",function(_){(_.get(m)||0)===(d.get(m)||0)&&(y=_)}),y},getMinMaxSpan:function(){return r.clone(this._minMaxSpan)},calculateDataWindow:function(f){var c=this._dataExtent,d=this.getAxisModel(),p=d.axis.scale,g=this._dataZoomModel.getRangePropMode(),m=[0,100],y=[],_=[],x;i(["start","end"],function(w,A){var T=f[w],C=f[w+"Value"];g[A]==="percent"?(T==null&&(T=m[A]),C=p.parse(t.linearMap(T,m,c))):(x=!0,C=C==null?c[A]:p.parse(C),T=t.linearMap(C,c,m)),_[A]=C,y[A]=T}),n(_),n(y);var S=this._minMaxSpan;x?b(_,y,c,m,!1):b(y,_,m,c,!0);function b(w,A,T,C,M){var L=M?"Span":"ValueSpan";a(0,w,T,"all",S["min"+L],S["max"+L]);for(var D=0;D<2;D++)A[D]=t.linearMap(w[D],T,C,!0),M&&(A[D]=p.parse(A[D]))}return{valueWindow:_,percentWindow:y}},reset:function(f){if(f===this._dataZoomModel){var c=this.getTargetSeriesModels();this._dataExtent=s(this,this._dimName,c),v(this);var d=this.calculateDataWindow(f.settledOption);this._valueWindow=d.valueWindow,this._percentWindow=d.percentWindow,u(this)}},restore:function(f){f===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,u(this,!0))},filterData:function(f,c){if(f!==this._dataZoomModel)return;var d=this._dimName,p=this.getTargetSeriesModels(),g=f.get("filterMode"),m=this._valueWindow;if(g==="none")return;i(p,function(_){var x=_.getData(),S=x.mapDimension(d,!0);S.length&&(g==="weakFilter"?x.filterSelf(function(b){for(var w,A,T,C=0;Cm[1];if(L&&!D&&!P)return!0;L&&(T=!0),D&&(w=!0),P&&(A=!0)}return T&&w&&A}):i(S,function(b){if(g==="empty")_.setData(x=x.map(b,function(A){return y(A)?A:NaN}));else{var w={};w[b]=m,x.selectRange(w)}}),i(S,function(b){x.setApproximateExtent(m,b)}))});function y(_){return _>=m[0]&&_<=m[1]}}};function s(f,c,d){var p=[1/0,-1/0];return i(d,function(g){var m=g.getData();m&&i(m.mapDimension(c,!0),function(y){var _=m.getApproximateExtent(y);_[0]p[1]&&(p[1]=_[1])})}),p[1]0?0:NaN);var y=d.getMax(!0);return y!=null&&y!=="dataMax"&&typeof y!="function"?c[1]=y:g&&(c[1]=m>0?m-1:NaN),d.get("scale",!0)||(c[0]>0&&(c[0]=0),c[1]<0&&(c[1]=0)),c}function u(f,c){var d=f.getAxisModel(),p=f._percentWindow,g=f._valueWindow;if(p){var m=t.getPixelPrecision(g,[0,500]);m=Math.min(m,20);var y=c||p[0]===0&&p[1]===100;d.setRange(y?null:+g[0].toFixed(m),y?null:+g[1].toFixed(m))}}function v(f){var c=f._minMaxSpan={},d=f._dataZoomModel,p=f._dataExtent;i(["min","max"],function(g){var m=d.get(g+"Span"),y=d.get(g+"ValueSpan");y!=null&&(y=f.getAxisModel().axis.scale.parse(y)),y!=null?m=t.linearMap(p[0]+y,p,[0,100],!0):m!=null&&(y=t.linearMap(m,[0,100],p,!0)-p[0]),c[g+"Span"]=m,c[g+"ValueSpan"]=y})}var h=o;return Mb=h,Mb}var Db,oF;function Pu(){if(oF)return Db;oF=1;var r=It();r.__DEV__;var t=Pe(),e=ie(),a=pr(),i=_t(),n=SD(),o=z0e(),s=e.each,l=n.eachAxisDim,u=t.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(c,d,p){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var g=v(c);this.settledOption=g,this.mergeDefaultAndTheme(c,p),this.doInit(g)},mergeOption:function(c){var d=v(c);e.merge(this.option,c,!0),e.merge(this.settledOption,d,!0),this.doInit(d)},doInit:function(c){var d=this.option;a.canvasSupported||(d.realtime=!1),this._setDefaultThrottle(c),h(this,c);var p=this.settledOption;s([["start","startValue"],["end","endValue"]],function(g,m){this._rangePropMode[m]==="value"&&(d[g[0]]=p[g[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var c=this._axisProxies;this.eachTargetAxis(function(d,p,g,m){var y=this.dependentModels[d.axis][p],_=y.__dzAxisProxy||(y.__dzAxisProxy=new o(d.name,p,this,m));c[d.name+"_"+p]=_},this)},_resetTarget:function(){var c=this.option,d=this._judgeAutoMode();l(function(p){var g=p.axisIndex;c[g]=i.normalizeToArray(c[g])},this),d==="axisIndex"?this._autoSetAxisIndex():d==="orient"&&this._autoSetOrient()},_judgeAutoMode:function(){var c=this.option,d=!1;l(function(g){c[g.axisIndex]!=null&&(d=!0)},this);var p=c.orient;if(p==null&&d)return"orient";if(!d)return p==null&&(c.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var c=!0,d=this.get("orient",!0),p=this.option,g=this.dependentModels;if(c){var m=d==="vertical"?"y":"x";g[m+"Axis"].length?(p[m+"AxisIndex"]=[0],c=!1):s(g.singleAxis,function(y){c&&y.get("orient",!0)===d&&(p.singleAxisIndex=[y.componentIndex],c=!1)})}c&&l(function(y){if(c){var _=[],x=this.dependentModels[y.axis];if(x.length&&!_.length)for(var S=0,b=x.length;S0?100:20}},getFirstTargetAxisModel:function(){var c;return l(function(d){if(c==null){var p=this.get(d.axisIndex);p.length&&(c=this.dependentModels[d.axis][p[0]])}},this),c},eachTargetAxis:function(c,d){var p=this.ecModel;l(function(g){s(this.get(g.axisIndex),function(m){c.call(d,g,m,this,p)},this)},this)},getAxisProxy:function(c,d){return this._axisProxies[c+"_"+d]},getAxisModel:function(c,d){var p=this.getAxisProxy(c,d);return p&&p.getAxisModel()},setRawRange:function(c){var d=this.option,p=this.settledOption;s([["start","startValue"],["end","endValue"]],function(g){(c[g[0]]!=null||c[g[1]]!=null)&&(d[g[0]]=p[g[0]]=c[g[0]],d[g[1]]=p[g[1]]=c[g[1]])},this),h(this,c)},setCalculatedRange:function(c){var d=this.option;s(["start","startValue","end","endValue"],function(p){d[p]=c[p]})},getPercentRange:function(){var c=this.findRepresentativeAxisProxy();if(c)return c.getDataPercentWindow()},getValueRange:function(c,d){if(c==null&&d==null){var p=this.findRepresentativeAxisProxy();if(p)return p.getDataValueWindow()}else return this.getAxisProxy(c,d).getDataValueWindow()},findRepresentativeAxisProxy:function(c){if(c)return c.__dzAxisProxy;var d=this._axisProxies;for(var p in d)if(d.hasOwnProperty(p)&&d[p].hostedBy(this))return d[p];for(var p in d)if(d.hasOwnProperty(p)&&!d[p].hostedBy(this))return d[p]},getRangePropMode:function(){return this._rangePropMode.slice()}});function v(c){var d={};return s(["start","end","startValue","endValue","throttle"],function(p){c.hasOwnProperty(p)&&(d[p]=c[p])}),d}function h(c,d){var p=c._rangePropMode,g=c.get("rangeMode");s([["start","startValue"],["end","endValue"]],function(m,y){var _=d[m[0]]!=null,x=d[m[1]]!=null;_&&!x?p[y]="percent":!_&&x?p[y]="value":g?p[y]=g[y]:_&&(p[y]="percent")})}var f=u;return Db=f,Db}var Lb,sF;function Ru(){if(sF)return Lb;sF=1;var r=fg(),t=r.extend({type:"dataZoom",render:function(e,a,i,n){this.dataZoomModel=e,this.ecModel=a,this.api=i},getTargetCoordInfo:function(){var e=this.dataZoomModel,a=this.ecModel,i={};e.eachTargetAxis(function(o,s){var l=a.getComponent(o.axis,s);if(l){var u=l.getCoordSysModel();u&&n(u,l,i[u.mainType]||(i[u.mainType]=[]),u.componentIndex)}},this);function n(o,s,l,u){for(var v,h=0;h1?"emphasis":"normal")}function g(y,_,x,S,b){var w=x._isZoomActive;S&&S.type==="takeGlobalCursor"&&(w=S.key==="dataZoomSelect"?S.dataZoomSelectActive:!1),x._isZoomActive=w,y.setIconStatus("zoom",w?"emphasis":"normal");var A=new a(d(y.option),_,{include:["grid"]});x._brushController.setPanels(A.makePanelOpts(b,function(T){return T.xAxisDeclared&&!T.yAxisDeclared?"lineX":!T.xAxisDeclared&&T.yAxisDeclared?"lineY":"rect"})).enableBrush(w?{brushType:"auto",brushStyle:y.getModel("brushStyle").getItemStyle()}:!1)}s.register("dataZoom",h),r.registerPreprocessor(function(y){if(!y)return;var _=y.dataZoom||(y.dataZoom=[]);t.isArray(_)||(y.dataZoom=_=[_]);var x=y.toolbox;if(x&&(t.isArray(x)&&(x=x[0]),x&&x.feature)){var S=x.feature.dataZoom;b("xAxis",S),b("yAxis",S)}function b(A,T){if(T){var C=A+"Index",M=T[C];M!=null&&M!=="all"&&!t.isArray(M)&&(M=M===!1||M==="none"?[]:[M]),w(A,function(L,D){if(!(M!=null&&M!=="all"&&t.indexOf(M,D)===-1)){var P={type:"select",$fromToolbox:!0,filterMode:T.filterMode||"filter",id:v+A+D};P[C]=D,_.push(P)}})}}function w(A,T){var C=y[A];t.isArray(C)||(C=C?[C]:[]),u(C,T)}});var m=h;return Rb=m,Rb}var Eb,gF;function H0e(){if(gF)return Eb;gF=1;var r=Pe(),t=k$(),e=xo(),a=wo(),i=e.toolbox.restore;function n(l){this.model=l}n.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:i.title};var o=n.prototype;o.onclick=function(l,u,v){t.clear(l),u.dispatchAction({type:"restore",from:this.uid})},a.register("restore",n),r.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(l,u){u.resetOption("recreate")});var s=n;return Eb=s,Eb}var mF;function q0e(){return mF||(mF=1,R0e(),E0e(),k0e(),O0e(),N0e(),F0e(),H0e()),U3}var yF={},kb,_F;function W0e(){if(_F)return kb;_F=1;var r=Pe(),t=r.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});return kb=t,kb}var Ob,xF;function U0e(){if(xF)return Ob;xF=1;var r=ie(),t=en(),e=Ji(),a=b9(),i=pr(),n=Yt(),o=r.each,s=n.toCamelCase,l=["","-webkit-","-moz-","-o-"],u="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function v(g){var m="cubic-bezier(0.23, 1, 0.32, 1)",y="left "+g+"s "+m+",top "+g+"s "+m;return r.map(l,function(_){return _+"transition:"+y}).join(";")}function h(g){var m=[],y=g.get("fontSize"),_=g.getTextColor();_&&m.push("color:"+_),m.push("font:"+g.getFont());var x=g.get("lineHeight");x==null&&(x=Math.round(y*3/2)),y&&m.push("line-height:"+x+"px");var S=g.get("textShadowColor"),b=g.get("textShadowBlur")||0,w=g.get("textShadowOffsetX")||0,A=g.get("textShadowOffsetY")||0;return b&&m.push("text-shadow:"+w+"px "+A+"px "+b+"px "+S),o(["decoration","align"],function(T){var C=g.get(T);C&&m.push("text-"+T+":"+C)}),m.join(";")}function f(g){var m=[],y=g.get("transitionDuration"),_=g.get("backgroundColor"),x=g.getModel("textStyle"),S=g.get("padding");return y&&m.push(v(y)),_&&(i.canvasSupported?m.push("background-Color:"+_):(m.push("background-Color:#"+t.toHex(_)),m.push("filter:alpha(opacity=70)"))),o(["width","color","radius"],function(b){var w="border-"+b,A=s(w),T=g.get(A);T!=null&&m.push(w+":"+T+(b==="color"?"":"px"))}),m.push(h(x)),S!=null&&m.push("padding:"+n.normalizeCssArray(S).join("px ")+"px"),m.join(";")+";"}function c(g,m,y,_,x){var S=m&&m.painter;if(y){var b=S&&S.getViewportRoot();b&&a.transformLocalCoord(g,b,document.body,_,x)}else{g[0]=_,g[1]=x;var w=S&&S.getViewportRootOffset();w&&(g[0]+=w.offsetLeft,g[1]+=w.offsetTop)}g[2]=g[0]/m.getWidth(),g[3]=g[1]/m.getHeight()}function d(g,m,y){if(i.wxa)return null;var _=document.createElement("div");_.domBelongToZr=!0,this.el=_;var x=this._zr=m.getZr(),S=this._appendToBody=y&&y.appendToBody;this._styleCoord=[0,0,0,0],c(this._styleCoord,x,S,m.getWidth()/2,m.getHeight()/2),S?document.body.appendChild(_):g.appendChild(_),this._container=g,this._show=!1,this._hideTimeout;var b=this;_.onmouseenter=function(){b._enterable&&(clearTimeout(b._hideTimeout),b._show=!0),b._inContent=!0},_.onmousemove=function(w){if(w=w||window.event,!b._enterable){var A=x.handler,T=x.painter.getViewportRoot();e.normalizeEvent(T,w,!0),A.dispatch("mousemove",w)}},_.onmouseleave=function(){b._enterable&&b._show&&b.hideLater(b._hideDelay),b._inContent=!1}}d.prototype={constructor:d,_enterable:!0,update:function(g){var m=this._container,y=m.currentStyle||document.defaultView.getComputedStyle(m),_=m.style;_.position!=="absolute"&&y.position!=="absolute"&&(_.position="relative");var x=g.get("alwaysShowContent");x&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var g=this._styleCoord[2],m=this._styleCoord[3],y=g*this._zr.getWidth(),_=m*this._zr.getHeight();this.moveTo(y,_)},show:function(g){clearTimeout(this._hideTimeout);var m=this.el,y=this._styleCoord;m.style.cssText=u+f(g)+";left:"+y[0]+"px;top:"+y[1]+"px;"+(g.get("extraCssText")||""),m.style.display=m.innerHTML?"block":"none",m.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(g){this.el.innerHTML=g==null?"":g},setEnterable:function(g){this._enterable=g},getSize:function(){var g=this.el;return[g.clientWidth,g.clientHeight]},moveTo:function(g,m){var y=this._styleCoord;c(y,this._zr,this._appendToBody,g,m);var _=this.el.style;_.left=y[0]+"px",_.top=y[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(g){this._show&&!(this._inContent&&this._enterable)&&(g?(this._hideDelay=g,this._show=!1,this._hideTimeout=setTimeout(r.bind(this.hide,this),g)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var g=this.el.clientWidth,m=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var y=document.defaultView.getComputedStyle(this.el);y&&(g+=parseInt(y.borderLeftWidth,10)+parseInt(y.borderRightWidth,10),m+=parseInt(y.borderTopWidth,10)+parseInt(y.borderBottomWidth,10))}return{width:g,height:m}}};var p=d;return Ob=p,Ob}var Nb,SF;function $0e(){if(SF)return Nb;SF=1;var r=ie(),t=$s(),e=qe();function a(o,s,l,u){o[0]=l,o[1]=u,o[2]=o[0]/s.getWidth(),o[3]=o[1]/s.getHeight()}function i(o){var s=this._zr=o.getZr();this._styleCoord=[0,0,0,0],a(this._styleCoord,s,o.getWidth()/2,o.getHeight()/2),this._show=!1,this._hideTimeout}i.prototype={constructor:i,_enterable:!0,update:function(o){var s=o.get("alwaysShowContent");s&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var o=this._styleCoord[2],s=this._styleCoord[3],l=o*this._zr.getWidth(),u=s*this._zr.getHeight();this.moveTo(l,u)},show:function(o){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(o,s,l){this.el&&this._zr.remove(this.el);for(var u={},v=o,h="{marker",f="|}",c=v.indexOf(h);c>=0;){var d=v.indexOf(f),p=v.substr(c+h.length,d-c-h.length);p.indexOf("sub")>-1?u["marker"+p]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:s[p],textOffset:[3,0]}:u["marker"+p]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:s[p]},v=v.substr(d+1),c=v.indexOf("{marker")}var g=l.getModel("textStyle"),m=g.get("fontSize"),y=l.get("textLineHeight");y==null&&(y=Math.round(m*3/2)),this.el=new t({style:e.setTextStyle({},g,{rich:u,text:o,textBackgroundColor:l.get("backgroundColor"),textBorderRadius:l.get("borderRadius"),textFill:l.get("textStyle.color"),textPadding:l.get("padding"),textLineHeight:y}),z:l.get("z")}),this._zr.add(this.el);var _=this;this.el.on("mouseover",function(){_._enterable&&(clearTimeout(_._hideTimeout),_._show=!0),_._inContent=!0}),this.el.on("mouseout",function(){_._enterable&&_._show&&_.hideLater(_._hideDelay),_._inContent=!1})},setEnterable:function(o){this._enterable=o},getSize:function(){var o=this.el.getBoundingRect();return[o.width,o.height]},moveTo:function(o,s){if(this.el){var l=this._styleCoord;a(l,this._zr,o,s),this.el.attr("position",[l[0],l[1]])}},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(o){this._show&&!(this._inContent&&this._enterable)&&(o?(this._hideDelay=o,this._show=!1,this._hideTimeout=setTimeout(r.bind(this.hide,this),o)):this.hide())},isShow:function(){return this._show},dispose:function(){clearTimeout(this._hideTimeout),this.el&&this._zr.remove(this.el)},getOuterSize:function(){var o=this.getSize();return{width:o[0],height:o[1]}}};var n=i;return Nb=n,Nb}var zb,bF;function Y0e(){if(bF)return zb;bF=1;var r=Pe(),t=ie(),e=pr(),a=U0e(),i=$0e(),n=Yt(),o=st(),s=qe(),l=D$(),u=Ut(),v=gr(),h=L$(),f=wi(),c=wg(),d=_t(),p=d.getTooltipRenderMode,g=t.bind,m=t.each,y=o.parsePercent,_=new s.Rect({shape:{x:-1,y:-1,width:2,height:2}}),x=r.extendComponentView({type:"tooltip",init:function(M,L){if(!e.node){var D=M.getComponent("tooltip"),P=D.get("renderMode");this._renderMode=p(P);var I;this._renderMode==="html"?(I=new a(L.getDom(),L,{appendToBody:D.get("appendToBody",!0)}),this._newLine="
"):(I=new i(L),this._newLine="\n"),this._tooltipContent=I}},render:function(M,L,D){if(!e.node){this.group.removeAll(),this._tooltipModel=M,this._ecModel=L,this._api=D,this._lastDataByCoordSys=null,this._alwaysShowContent=M.get("alwaysShowContent");var P=this._tooltipContent;P.update(M),P.setEnterable(M.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var M=this._tooltipModel,L=M.get("triggerOn");h.register("itemTooltip",this._api,g(function(D,P,I){L!=="none"&&(L.indexOf(D)>=0?this._tryShow(P,I):D==="leave"&&this._hide(I))},this))},_keepShow:function(){var M=this._tooltipModel,L=this._ecModel,D=this._api;if(this._lastX!=null&&this._lastY!=null&&M.get("triggerOn")!=="none"){var P=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!D.isDisposed()&&P.manuallyShowTip(M,L,D,{x:P._lastX,y:P._lastY})})}},manuallyShowTip:function(M,L,D,P){if(!(P.from===this.uid||e.node)){var I=b(P,D);this._ticket="";var R=P.dataByCoordSys;if(P.tooltip&&P.x!=null&&P.y!=null){var E=_;E.position=[P.x,P.y],E.update(),E.tooltip=P.tooltip,this._tryShow({offsetX:P.x,offsetY:P.y,target:E},I)}else if(R)this._tryShow({offsetX:P.x,offsetY:P.y,position:P.position,dataByCoordSys:P.dataByCoordSys,tooltipOption:P.tooltipOption},I);else if(P.seriesIndex!=null){if(this._manuallyAxisShowTip(M,L,D,P))return;var k=l(P,L),B=k.point[0],F=k.point[1];B!=null&&F!=null&&this._tryShow({offsetX:B,offsetY:F,position:P.position,target:k.el},I)}else P.x!=null&&P.y!=null&&(D.dispatchAction({type:"updateAxisPointer",x:P.x,y:P.y}),this._tryShow({offsetX:P.x,offsetY:P.y,position:P.position,target:D.getZr().findHover(P.x,P.y).target},I))}},manuallyHideTip:function(M,L,D,P){var I=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&I.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,P.from!==this.uid&&this._hide(b(P,D))},_manuallyAxisShowTip:function(F,L,D,P){var I=P.seriesIndex,R=P.dataIndex,E=L.getComponent("axisPointer").coordSysAxesInfo;if(!(I==null||R==null||E==null)){var k=L.getSeriesByIndex(I);if(k){var B=k.getData(),F=S([B.getItemModel(R),k,(k.coordinateSystem||{}).model,F]);if(F.get("trigger")==="axis")return D.dispatchAction({type:"updateAxisPointer",seriesIndex:I,dataIndex:R,position:P.position}),!0}}},_tryShow:function(M,L){var D=M.target,P=this._tooltipModel;if(P){this._lastX=M.offsetX,this._lastY=M.offsetY;var I=M.dataByCoordSys;I&&I.length?this._showAxisTooltip(I,M):D&&D.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(M,D,L)):D&&D.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(M,D,L)):(this._lastDataByCoordSys=null,this._hide(L))}},_showOrMove:function(M,L){var D=M.get("showDelay");L=t.bind(L,this),clearTimeout(this._showTimout),D>0?this._showTimout=setTimeout(L,D):L()},_showAxisTooltip:function(M,L){var D=this._ecModel,P=this._tooltipModel,I=[L.offsetX,L.offsetY],R=[],E=[],k=S([L.tooltipOption,P]),B=this._renderMode,F=this._newLine,V={};m(M,function(O){m(O.dataByAxis,function(z){var G=D.getComponent(z.axisDim+"Axis",z.axisIndex),q=z.value,H=[];if(!(!G||q==null)){var U=c.getValueLabel(q,G.axis,D,z.seriesDataIndices,z.valueLabelOpt);t.each(z.seriesDataIndices,function(Y){var X=D.getSeriesByIndex(Y.seriesIndex),K=Y.dataIndexInside,Q=X&&X.getDataParams(K);if(Q.axisDim=z.axisDim,Q.axisIndex=z.axisIndex,Q.axisType=z.axisType,Q.axisId=z.axisId,Q.axisValue=f.getAxisRawValue(G.axis,q),Q.axisValueLabel=U,Q){E.push(Q);var j=X.formatTooltip(K,!0,null,B),te;if(t.isObject(j)){te=j.html;var Z=j.markers;t.merge(V,Z)}else te=j;H.push(te)}});var W=U;B!=="html"?R.push(H.join(F)):R.push((W?n.encodeHTML(W)+F:"")+H.join(F))}})},this),R.reverse(),R=R.join(this._newLine+this._newLine);var N=L.position;this._showOrMove(k,function(){this._updateContentNotChangedOnAxis(M)?this._updatePosition(k,N,I[0],I[1],this._tooltipContent,E):this._showTooltipContent(k,R,E,Math.random(),I[0],I[1],N,void 0,V)})},_showSeriesItemTooltip:function(M,L,D){var P=this._ecModel,I=L.seriesIndex,R=P.getSeriesByIndex(I),E=L.dataModel||R,k=L.dataIndex,B=L.dataType,F=E.getData(B),V=S([F.getItemModel(k),E,R&&(R.coordinateSystem||{}).model,this._tooltipModel]),N=V.get("trigger");if(!(N!=null&&N!=="item")){var O=E.getDataParams(k,B),z=E.formatTooltip(k,!1,B,this._renderMode),G,q;t.isObject(z)?(G=z.html,q=z.markers):(G=z,q=null);var H="item_"+E.name+"_"+k;this._showOrMove(V,function(){this._showTooltipContent(V,G,O,H,M.offsetX,M.offsetY,M.position,M.target,q)}),D({type:"showTip",dataIndexInside:k,dataIndex:F.getRawIndex(k),seriesIndex:I,from:this.uid})}},_showComponentItemTooltip:function(M,L,D){var P=L.tooltip;if(typeof P=="string"){var I=P;P={content:I,formatter:I}}var R=new v(P,this._tooltipModel,this._ecModel),E=R.get("content"),k=Math.random();this._showOrMove(R,function(){this._showTooltipContent(R,E,R.get("formatterParams")||{},k,M.offsetX,M.offsetY,M.position,L)}),D({type:"showTip",from:this.uid})},_showTooltipContent:function(M,L,D,P,I,R,E,k,B){if(this._ticket="",!(!M.get("showContent")||!M.get("show"))){var F=this._tooltipContent,V=M.get("formatter");E=E||M.get("position");var N=L;if(V&&typeof V=="string")N=n.formatTpl(V,D,!0);else if(typeof V=="function"){var O=g(function(z,G){z===this._ticket&&(F.setContent(G,B,M),this._updatePosition(M,E,I,R,F,D,k))},this);this._ticket=P,N=V(D,P,O)}F.setContent(N,B,M),F.show(M),this._updatePosition(M,E,I,R,F,D,k)}},_updatePosition:function(M,L,D,P,I,R,E){var k=this._api.getWidth(),B=this._api.getHeight();L=L||M.get("position");var F=I.getSize(),V=M.get("align"),N=M.get("verticalAlign"),O=E&&E.getBoundingRect().clone();if(E&&O.applyTransform(E.transform),typeof L=="function"&&(L=L([D,P],R,I.el,O,{viewSize:[k,B],contentSize:F.slice()})),t.isArray(L))D=y(L[0],k),P=y(L[1],B);else if(t.isObject(L)){L.width=F[0],L.height=F[1];var z=u.getLayoutRect(L,{width:k,height:B});D=z.x,P=z.y,V=null,N=null}else if(typeof L=="string"&&E){var G=T(L,O,F);D=G[0],P=G[1]}else{var G=w(D,P,I,k,B,V?null:20,N?null:20);D=G[0],P=G[1]}if(V&&(D-=C(V)?F[0]/2:V==="right"?F[0]:0),N&&(P-=C(N)?F[1]/2:N==="bottom"?F[1]:0),M.get("confine")){var G=A(D,P,I,k,B);D=G[0],P=G[1]}I.moveTo(D,P)},_updateContentNotChangedOnAxis:function(M){var L=this._lastDataByCoordSys,D=!!L&&L.length===M.length;return D&&m(L,function(P,I){var R=P.dataByAxis||{},E=M[I]||{},k=E.dataByAxis||[];D&=R.length===k.length,D&&m(R,function(B,F){var V=k[F]||{},N=B.seriesDataIndices||[],O=V.seriesDataIndices||[];D&=B.value===V.value&&B.axisType===V.axisType&&B.axisId===V.axisId&&N.length===O.length,D&&m(N,function(z,G){var q=O[G];D&=z.seriesIndex===q.seriesIndex&&z.dataIndex===q.dataIndex})})}),this._lastDataByCoordSys=M,!!D},_hide:function(M){this._lastDataByCoordSys=null,M({type:"hideTip",from:this.uid})},dispose:function(M,L){e.node||(this._tooltipContent.dispose(),h.unregister("itemTooltip",L))}});function S(M){for(var L=M.pop();M.length;){var D=M.pop();D&&(v.isInstance(D)&&(D=D.get("tooltip",!0)),typeof D=="string"&&(D={formatter:D}),L=new v(D,L,L.ecModel))}return L}function b(M,L){return M.dispatchAction||t.bind(L.dispatchAction,L)}function w(M,L,D,P,I,R,E){var k=D.getOuterSize(),B=k.width,F=k.height;return R!=null&&(M+B+R>P?M-=B+R:M+=R),E!=null&&(L+F+E>I?L-=F+E:L+=E),[M,L]}function A(M,L,D,P,I){var R=D.getOuterSize(),E=R.width,k=R.height;return M=Math.min(M+E,P)-E,L=Math.min(L+k,I)-k,M=Math.max(M,0),L=Math.max(L,0),[M,L]}function T(M,L,D){var P=D[0],I=D[1],R=5,E=0,k=0,B=L.width,F=L.height;switch(M){case"inside":E=L.x+B/2-P/2,k=L.y+F/2-I/2;break;case"top":E=L.x+B/2-P/2,k=L.y-I-R;break;case"bottom":E=L.x+B/2-P/2,k=L.y+F+R;break;case"left":E=L.x-P-R,k=L.y+F/2-I/2;break;case"right":E=L.x+B+R,k=L.y+F/2-I/2}return[E,k]}function C(M){return M==="center"||M==="middle"}return zb=x,zb}var wF;function Z0e(){if(wF)return yF;wF=1;var r=Pe();return Sf(),W0e(),Y0e(),r.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),r.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){}),yF}var TF={},Bb,AF;function X0e(){if(AF)return Bb;AF=1;var r=ie(),t=["rect","polygon","keep","clear"];function e(i,n){var o=i&&i.brush;if(r.isArray(o)||(o=o?[o]:[]),!!o.length){var s=[];r.each(o,function(f){var c=f.hasOwnProperty("toolbox")?f.toolbox:[];c instanceof Array&&(s=s.concat(c))});var l=i&&i.toolbox;r.isArray(l)&&(l=l[0]),l||(l={feature:{}},i.toolbox=[l]);var u=l.feature||(l.feature={}),v=u.brush||(u.brush={}),h=v.type||(v.type=[]);h.push.apply(h,s),a(h),n&&!h.length&&h.push.apply(h,t)}}function a(i){var n={};r.each(i,function(o){n[o]=1}),i.length=0,r.each(n,function(o,s){i.push(s)})}return Bb=e,Bb}var Vb={},Cl={},CF;function Tg(){if(CF)return Cl;CF=1;var r=ie(),t=js(),e=r.each;function a(l){if(l){for(var u in l)if(l.hasOwnProperty(u))return!0}}function i(l,u,v){var h={};return e(u,function(c){var d=h[c]=f();e(l[c],function(p,g){if(t.isValidType(g)){var m={type:g,visual:p};v&&v(m,c),d[g]=new t(m),g==="opacity"&&(m=r.clone(m),m.type="colorAlpha",d.__hidden.__alphaForOpacity=new t(m))}})}),h;function f(){var c=function(){};c.prototype.__hidden=c.prototype;var d=new c;return d}}function n(l,u,v){var h;r.each(v,function(f){u.hasOwnProperty(f)&&a(u[f])&&(h=!0)}),h&&r.each(v,function(f){u.hasOwnProperty(f)&&a(u[f])?l[f]=r.clone(u[f]):delete l[f]})}function o(l,u,v,h,f,c){var d={};r.each(l,function(_){var x=t.prepareVisualTypes(u[_]);d[_]=x});var p;function g(_){return v.getItemVisual(p,_)}function m(_,x){v.setItemVisual(p,_,x)}c==null?v.each(y):v.each([c],y);function y(_,x){p=c==null?_:x;var S=v.getRawDataItem(p);if(!(S&&S.visualMap===!1))for(var b=h.call(f,_),w=u[b],A=d[b],T=0,C=A.length;TS[0][1]&&(S[0][1]=T[0]),T[1]S[1][1]&&(S[1][1]=T[1])}return S&&_(S)}};function _(x){return new e(x[0][0],x[1][0],x[0][1]-x[0][0],x[1][1]-x[1][0])}return Vb.layoutCovers=h,Vb}var Fb,LF;function Q0e(){if(LF)return Fb;LF=1;var r=It();r.__DEV__;var t=Pe(),e=ie(),a=Tg(),i=gr(),n=["#ddd"],o=t.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(u,v){var h=this.option;!v&&a.replaceVisualOption(h,u,["inBrush","outOfBrush"]);var f=h.inBrush=h.inBrush||{};h.outOfBrush=h.outOfBrush||{color:n},f.hasOwnProperty("liftZ")||(f.liftZ=5)},setAreas:function(u){u&&(this.areas=e.map(u,function(v){return s(this.option,v)},this))},setBrushOption:function(u){this.brushOption=s(this.option,u),this.brushType=this.brushOption.brushType}});function s(u,v){return e.merge({brushType:u.brushType,brushMode:u.brushMode,transformable:u.transformable,brushStyle:new i(u.brushStyle).getItemStyle(),removeOnClick:u.removeOnClick,z:u.z},v,!0)}var l=o;return Fb=l,Fb}var Hb,IF;function j0e(){if(IF)return Hb;IF=1;var r=Pe(),t=ie(),e=mD(),a=O$(),i=a.layoutCovers,n=r.extendComponentView({type:"brush",init:function(s,l){this.ecModel=s,this.api=l,this.model,(this._brushController=new e(l.getZr())).on("brush",t.bind(this._onBrush,this)).mount()},render:function(s){return this.model=s,o.apply(this,arguments)},updateTransform:function(s,l){return i(l),o.apply(this,arguments)},updateView:o,dispose:function(){this._brushController.dispose()},_onBrush:function(s,l){var u=this.model.id;this.model.brushTargetManager.setOutputRanges(s,this.ecModel),(!l.isEnd||l.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:u,areas:t.clone(s),$from:u}),l.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:u,areas:t.clone(s),$from:u})}});function o(s,l,u,v){(!v||v.$from!==s.id)&&this._brushController.setPanels(s.brushTargetManager.makePanelOpts(u)).enableBrush(s.brushOption).updateCovers(s.areas.slice())}return Hb=n,Hb}var PF={},RF;function J0e(){if(RF)return PF;RF=1;var r=Pe();return r.registerAction({type:"brush",event:"brush"},function(t,e){e.eachComponent({mainType:"brush",query:t},function(a){a.setAreas(t.areas)})}),r.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),r.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){}),PF}var qb,EF;function e_e(){if(EF)return qb;EF=1;var r=ie(),t=wo(),e=xo(),a=e.toolbox.brush;function i(s,l,u){this.model=s,this.ecModel=l,this.api=u,this._brushType,this._brushMode}i.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:r.clone(a.title)};var n=i.prototype;n.render=n.updateView=function(s,l,u){var v,h,f;l.eachComponent({mainType:"brush"},function(c){v=c.brushType,h=c.brushOption.brushMode||"single",f|=c.areas.length}),this._brushType=v,this._brushMode=h,r.each(s.get("type",!0),function(c){s.setIconStatus(c,(c==="keep"?h==="multiple":c==="clear"?f:c===v)?"emphasis":"normal")})},n.getIcons=function(){var s=this.model,l=s.get("icon",!0),u={};return r.each(s.get("type",!0),function(v){l[v]&&(u[v]=l[v])}),u},n.onclick=function(s,l,u){var v=this._brushType,h=this._brushMode;u==="clear"?(l.dispatchAction({type:"axisAreaSelect",intervals:[]}),l.dispatchAction({type:"brush",command:"clear",areas:[]})):l.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:u==="keep"?v:v===u?!1:u,brushMode:u==="keep"?h==="multiple"?"single":"multiple":h}})},t.register("brush",i);var o=i;return qb=o,qb}var kF;function t_e(){if(kF)return TF;kF=1;var r=Pe(),t=X0e();return O$(),Q0e(),j0e(),J0e(),e_e(),r.registerPreprocessor(t),TF}var OF={},NF;function r_e(){if(NF)return OF;NF=1;var r=ie(),t=Pe(),e=qe(),a=Ut(),i=a.getLayoutRect,n=Yt(),o=n.windowOpen;return t.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),t.extendComponentView({type:"title",render:function(s,l,u){if(this.group.removeAll(),!!s.get("show")){var v=this.group,h=s.getModel("textStyle"),f=s.getModel("subtextStyle"),c=s.get("textAlign"),d=r.retrieve2(s.get("textBaseline"),s.get("textVerticalAlign")),p=new e.Text({style:e.setTextStyle({},h,{text:s.get("text"),textFill:h.getTextColor()},{disableBox:!0}),z2:10}),g=p.getBoundingRect(),m=s.get("subtext"),y=new e.Text({style:e.setTextStyle({},f,{text:m,textFill:f.getTextColor(),y:g.height+s.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),_=s.get("link"),x=s.get("sublink"),S=s.get("triggerEvent",!0);p.silent=!_&&!S,y.silent=!x&&!S,_&&p.on("click",function(){o(_,"_"+s.get("target"))}),x&&y.on("click",function(){o(x,"_"+s.get("subtarget"))}),p.eventData=y.eventData=S?{componentType:"title",componentIndex:s.componentIndex}:null,v.add(p),m&&v.add(y);var b=v.getBoundingRect(),w=s.getBoxLayoutParams();w.width=b.width,w.height=b.height;var A=i(w,{width:u.getWidth(),height:u.getHeight()},s.get("padding"));c||(c=s.get("left")||s.get("right"),c==="middle"&&(c="center"),c==="right"?A.x+=A.width:c==="center"&&(A.x+=A.width/2)),d||(d=s.get("top")||s.get("bottom"),d==="center"&&(d="middle"),d==="bottom"?A.y+=A.height:d==="middle"&&(A.y+=A.height/2),d=d||"top"),v.attr("position",[A.x,A.y]);var T={textAlign:c,textVerticalAlign:d};p.setStyle(T),y.setStyle(T),b=v.getBoundingRect();var C=A.margin,M=s.getItemStyle(["color","opacity"]);M.fill=s.get("backgroundColor");var L=new e.Rect({shape:{x:b.x-C[3],y:b.y-C[0],width:b.width+C[1]+C[3],height:b.height+C[0]+C[2],r:s.get("borderRadius")},style:M,subPixelOptimize:!0,silent:!0});v.add(L)}}}),OF}var zF={},Wb,BF;function a_e(){if(BF)return Wb;BF=1;var r=ie();function t(n){var o=n&&n.timeline;r.isArray(o)||(o=o?[o]:[]),r.each(o,function(s){s&&e(s)})}function e(n){var o=n.type,s={number:"value",time:"time"};if(s[o]&&(n.axisType=s[o],delete n.type),a(n),i(n,"controlPosition")){var l=n.controlStyle||(n.controlStyle={});i(l,"position")||(l.position=n.controlPosition),l.position==="none"&&!i(l,"show")&&(l.show=!1,delete l.position),delete n.controlPosition}r.each(n.data||[],function(u){r.isObject(u)&&!r.isArray(u)&&(!i(u,"value")&&i(u,"name")&&(u.value=u.name),a(u))})}function a(n){var o=n.itemStyle||(n.itemStyle={}),s=o.emphasis||(o.emphasis={}),l=n.label||n.label||{},u=l.normal||(l.normal={}),v={normal:1,emphasis:1};r.each(l,function(h,f){!v[f]&&!i(u,f)&&(u[f]=h)}),s.label&&!i(l,"emphasis")&&(l.emphasis=s.label,delete s.label)}function i(n,o){return n.hasOwnProperty(o)}return Wb=t,Wb}var VF={},GF;function i_e(){if(GF)return VF;GF=1;var r=Lr();return r.registerSubTypeDefaulter("timeline",function(){return"slider"}),VF}var FF={},HF;function n_e(){if(HF)return FF;HF=1;var r=Pe(),t=ie();return r.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(e,a){var i=a.getComponent("timeline");return i&&e.currentIndex!=null&&(i.setCurrentIndex(e.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.setPlayState(!1)),a.resetOption("timeline"),t.defaults({currentIndex:i.option.currentIndex},e)}),r.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(e,a){var i=a.getComponent("timeline");i&&e.playState!=null&&i.setPlayState(e.playState)}),FF}var Ub,qF;function o_e(){if(qF)return Ub;qF=1;var r=ie(),t=Lr(),e=ei(),a=_t(),i=t.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(o,s,l){this._data,this._names,this.mergeDefaultAndTheme(o,l),this._initData()},mergeOption:function(o){i.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(o){o==null&&(o=this.option.currentIndex);var s=this._data.count();this.option.loop?o=(o%s+s)%s:(o>=s&&(o=s-1),o<0&&(o=0)),this.option.currentIndex=o},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(o){this.option.autoPlay=!!o},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var o=this.option,s=o.data||[],l=o.axisType,u=this._names=[];if(l==="category"){var v=[];r.each(s,function(c,d){var p=a.getDataItemValue(c),g;r.isObject(c)?(g=r.clone(c),g.value=d):g=d,v.push(g),!r.isString(p)&&(p==null||isNaN(p))&&(p=""),u.push(p+"")}),s=v}var h={category:"ordinal",time:"time"}[l]||"number",f=this._data=new e([{name:"value",type:h}],this);f.initData(s,u)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),n=i;return Ub=n,Ub}var $b,WF;function s_e(){if(WF)return $b;WF=1;var r=ie(),t=o_e(),e=aD(),a=t.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});r.mixin(a,e);var i=a;return $b=i,$b}var Yb,UF;function l_e(){if(UF)return Yb;UF=1;var r=fg(),t=r.extend({type:"timeline"});return Yb=t,Yb}var Zb,$F;function u_e(){if($F)return Zb;$F=1;var r=ie(),t=So(),e=function(i,n,o,s){t.call(this,i,n,o),this.type=s||"value",this.model=null};e.prototype={constructor:e,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},r.inherits(e,t);var a=e;return Zb=a,Zb}var Xb,YF;function v_e(){if(YF)return Xb;YF=1;var r=ie(),t=rr(),e=ha(),a=qe(),i=Ut(),n=l_e(),o=u_e(),s=ti(),l=s.createSymbol,u=wi(),v=st(),h=Yt(),f=h.encodeHTML,c=r.bind,d=r.each,p=Math.PI,g=n.extend({type:"timeline.slider",init:function(S,b){this.api=b,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(S,b,w,A){if(this.model=S,this.api=w,this.ecModel=b,this.group.removeAll(),S.get("show",!0)){var T=this._layout(S,w),C=this._createGroup("mainGroup"),M=this._createGroup("labelGroup"),L=this._axis=this._createAxis(T,S);S.formatTooltip=function(D){return f(L.scale.getLabel(D))},d(["AxisLine","AxisTick","Control","CurrentPointer"],function(D){this["_render"+D](T,C,L,S)},this),this._renderAxisLabel(T,M,L,S),this._position(T,S)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(S,b){var w=S.get("label.position"),A=S.get("orient"),T=m(S,b);w==null||w==="auto"?w=A==="horizontal"?T.y+T.height/2=0||w==="+"?"left":"right"},M={horizontal:w>=0||w==="+"?"top":"bottom",vertical:"middle"},L={horizontal:0,vertical:p/2},D=A==="vertical"?T.height:T.width,P=S.getModel("controlStyle"),I=P.get("show",!0),R=I?P.get("itemSize"):0,E=I?P.get("itemGap"):0,k=R+E,B=S.get("label.rotate")||0;B=B*p/180;var F,V,N,O,z=P.get("position",!0),G=I&&P.get("showPlayBtn",!0),q=I&&P.get("showPrevBtn",!0),H=I&&P.get("showNextBtn",!0),U=0,W=D;return z==="left"||z==="bottom"?(G&&(F=[0,0],U+=k),q&&(V=[U,0],U+=k),H&&(N=[W-R,0],W-=k)):(G&&(F=[W-R,0],W-=k),q&&(V=[0,0],U+=k),H&&(N=[W-R,0],W-=k)),O=[U,W],S.get("inverse")&&O.reverse(),{viewRect:T,mainLength:D,orient:A,rotation:L[A],labelRotation:B,labelPosOpt:w,labelAlign:S.get("label.align")||C[A],labelBaseline:S.get("label.verticalAlign")||S.get("label.baseline")||M[A],playPosition:F,prevBtnPosition:V,nextBtnPosition:N,axisExtent:O,controlSize:R,controlGap:E}},_position:function(S,b){var w=this._mainGroup,A=this._labelGroup,T=S.viewRect;if(S.orient==="vertical"){var C=e.create(),M=T.x,L=T.y+T.height;e.translate(C,C,[-M,-L]),e.rotate(C,C,-p/2),e.translate(C,C,[M,L]),T=T.clone(),T.applyTransform(C)}var D=V(T),P=V(w.getBoundingRect()),I=V(A.getBoundingRect()),R=w.position,E=A.position;E[0]=R[0]=D[0][0];var k=S.labelPosOpt;if(isNaN(k)){var B=k==="+"?0:1;N(R,P,D,1,B),N(E,I,D,1,1-B)}else{var B=k>=0?0:1;N(R,P,D,1,B),E[1]=R[1]+k}w.attr("position",R),A.attr("position",E),w.rotation=A.rotation=S.rotation,F(w),F(A);function F(O){var z=O.position;O.origin=[D[0][0]-z[0],D[1][0]-z[1]]}function V(O){return[[O.x,O.x+O.width],[O.y,O.y+O.height]]}function N(O,z,G,q,H){O[q]+=G[q][H]-z[q][H]}},_createAxis:function(S,b){var w=b.getData(),A=b.get("axisType"),T=u.createScaleByModel(b,A);T.getTicks=function(){return w.mapArray(["value"],function(L){return L})};var C=w.getDataExtent("value");T.setExtent(C[0],C[1]),T.niceTicks();var M=new o("value",T,S.axisExtent,A);return M.model=b,M},_createGroup:function(S){var b=this["_"+S]=new a.Group;return this.group.add(b),b},_renderAxisLine:function(S,b,w,A){var T=w.getExtent();A.get("lineStyle.show")&&b.add(new a.Line({shape:{x1:T[0],y1:0,x2:T[1],y2:0},style:r.extend({lineCap:"round"},A.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(S,b,w,A){var T=A.getData(),C=w.scale.getTicks();d(C,function(M){var L=w.dataToCoord(M),D=T.getItemModel(M),P=D.getModel("itemStyle"),I=D.getModel("emphasis.itemStyle"),R={position:[L,0],onclick:c(this._changeTimeline,this,M)},E=_(D,P,b,R);a.setHoverStyle(E,I.getItemStyle()),D.get("tooltip")?(E.dataIndex=M,E.dataModel=A):E.dataIndex=E.dataModel=null},this)},_renderAxisLabel:function(S,b,w,A){var T=w.getLabelModel();if(T.get("show")){var C=A.getData(),M=w.getViewLabels();d(M,function(L){var D=L.tickValue,P=C.getItemModel(D),I=P.getModel("label"),R=P.getModel("emphasis.label"),E=w.dataToCoord(L.tickValue),k=new a.Text({position:[E,0],rotation:S.labelRotation-S.rotation,onclick:c(this._changeTimeline,this,D),silent:!1});a.setTextStyle(k.style,I,{text:L.formattedLabel,textAlign:S.labelAlign,textVerticalAlign:S.labelBaseline}),b.add(k),a.setHoverStyle(k,a.setTextStyle({},R))},this)}},_renderControl:function(S,b,w,A){var T=S.controlSize,C=S.rotation,M=A.getModel("controlStyle").getItemStyle(),L=A.getModel("emphasis.controlStyle").getItemStyle(),D=[0,-T/2,T,T],P=A.getPlayState(),I=A.get("inverse",!0);R(S.nextBtnPosition,"controlStyle.nextIcon",c(this._changeTimeline,this,I?"-":"+")),R(S.prevBtnPosition,"controlStyle.prevIcon",c(this._changeTimeline,this,I?"+":"-")),R(S.playPosition,"controlStyle."+(P?"stopIcon":"playIcon"),c(this._handlePlayClick,this,!P),!0);function R(E,k,B,F){if(E){var V={position:E,origin:[T/2,0],rotation:F?-C:0,rectHover:!0,style:M,onclick:B},N=y(A,k,D,V);b.add(N),a.setHoverStyle(N,L)}}},_renderCurrentPointer:function(S,b,w,A){var T=A.getData(),C=A.getCurrentIndex(),M=T.getItemModel(C).getModel("checkpointStyle"),L=this,D={onCreate:function(P){P.draggable=!0,P.drift=c(L._handlePointerDrag,L),P.ondragend=c(L._handlePointerDragend,L),x(P,C,w,A,!0)},onUpdate:function(P){x(P,C,w,A)}};this._currentPointer=_(M,M,this._mainGroup,{},this._currentPointer,D)},_handlePlayClick:function(S){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:S,from:this.uid})},_handlePointerDrag:function(S,b,w){this._clearTimer(),this._pointerChangeTimeline([w.offsetX,w.offsetY])},_handlePointerDragend:function(S){this._pointerChangeTimeline([S.offsetX,S.offsetY],!0)},_pointerChangeTimeline:function(S,b){var w=this._toAxisCoord(S)[0],A=this._axis,T=v.asc(A.getExtent().slice());w>T[1]&&(w=T[1]),w":"\n";return(m!=null||_)&&(x+=S),_&&(x+=l(_),m!=null&&(x+=" : ")),m!=null&&(x+=l(y)),x},getData:function(){return this._data},setData:function(f){this._data=f}});e.mixin(v,o);var h=v;return Kb=h,Kb}var Qb,QF;function f_e(){if(QF)return Qb;QF=1;var r=TD(),t=r.extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}});return Qb=t,Qb}var es={},jF;function AD(){if(jF)return es;jF=1;var r=ie(),t=st(),e=rn(),a=e.isDimensionStacked,i=r.indexOf;function n(g){return!(isNaN(parseFloat(g.x))&&isNaN(parseFloat(g.y)))}function o(g){return!isNaN(parseFloat(g.x))&&!isNaN(parseFloat(g.y))}function s(g,m,y,_,x,S){var b=[],w=a(m,_),A=w?m.getCalculationInfo("stackResultDimension"):_,T=p(m,A,g),C=m.indicesOfNearest(A,T)[0];b[x]=m.get(y,C),b[S]=m.get(A,C);var M=m.get(_,C),L=t.getPrecision(m.get(_,C));return L=Math.min(L,20),L>=0&&(b[S]=+b[S].toFixed(L)),[b,M]}var l=r.curry,u={min:l(s,"min"),max:l(s,"max"),average:l(s,"average")};function v(g,m){var y=g.getData(),_=g.coordinateSystem;if(m&&!o(m)&&!r.isArray(m.coord)&&_){var x=_.dimensions,S=h(m,y,_,g);if(m=r.clone(m),m.type&&u[m.type]&&S.baseAxis&&S.valueAxis){var b=i(x,S.baseAxis.dim),w=i(x,S.valueAxis.dim),A=u[m.type](y,S.baseDataDim,S.valueDataDim,b,w);m.coord=A[0],m.value=A[1]}else{for(var T=[m.xAxis!=null?m.xAxis:m.radiusAxis,m.yAxis!=null?m.yAxis:m.angleAxis],C=0;C<2;C++)u[T[C]]&&(T[C]=p(y,y.mapDimension(x[C]),T[C]));m.coord=T}}return m}function h(g,m,y,_){var x={};return g.valueIndex!=null||g.valueDim!=null?(x.valueDataDim=g.valueIndex!=null?m.getDimension(g.valueIndex):g.valueDim,x.valueAxis=y.getAxis(f(_,x.valueDataDim)),x.baseAxis=y.getOtherAxis(x.valueAxis),x.baseDataDim=m.mapDimension(x.baseAxis.dim)):(x.baseAxis=_.getBaseAxis(),x.valueAxis=y.getOtherAxis(x.baseAxis),x.baseDataDim=m.mapDimension(x.baseAxis.dim),x.valueDataDim=m.mapDimension(x.valueAxis.dim)),x}function f(g,m){var y=g.getData(),_=y.dimensions;m=y.getDimension(m);for(var x=0;x<_.length;x++){var S=y.getDimensionInfo(_[x]);if(S.name===m)return S.coordDim}}function c(g,m){return g&&g.containData&&m.coord&&!n(m)?g.containData(m.coord):!0}function d(g,m,y,_){return _<2?g.coord&&g.coord[_]:g.value}function p(g,m,y){if(y==="average"){var _=0,x=0;return g.each(m,function(S,b){isNaN(S)||(_+=S,x++)}),_/x}else return y==="median"?g.getMedian(m):g.getDataExtent(m,!0)[y==="max"?1:0]}return es.dataTransform=v,es.getAxisInfo=h,es.dataFilter=c,es.dimValueGetter=d,es.numCalculate=p,es}var jb,JF;function CD(){if(JF)return jb;JF=1;var r=Pe(),t=ie(),e=r.extendComponentView({type:"marker",init:function(){this.markerGroupMap=t.createHashMap()},render:function(a,i,n){var o=this.markerGroupMap;o.each(function(l){l.__keep=!1});var s=this.type+"Model";i.eachSeries(function(l){var u=l[s];u&&this.renderSeries(l,u,i,n)},this),o.each(function(l){!l.__keep&&this.group.remove(l.group)},this)},renderSeries:function(){}});return jb=e,jb}var Jb,eH;function c_e(){if(eH)return Jb;eH=1;var r=ie(),t=df(),e=st(),a=ei(),i=AD(),n=CD();function o(u,v,h){var f=v.coordinateSystem;u.each(function(c){var d=u.getItemModel(c),p,g=e.parsePercent(d.get("x"),h.getWidth()),m=e.parsePercent(d.get("y"),h.getHeight());if(!isNaN(g)&&!isNaN(m))p=[g,m];else if(v.getMarkerPosition)p=v.getMarkerPosition(u.getValues(u.dimensions,c));else if(f){var y=u.get(f.dimensions[0],c),_=u.get(f.dimensions[1],c);p=f.dataToPoint([y,_])}isNaN(g)||(p[0]=g),isNaN(m)||(p[1]=m),u.setItemLayout(c,p)})}var s=n.extend({type:"markPoint",updateTransform:function(u,v,h){v.eachSeries(function(f){var c=f.markPointModel;c&&(o(c.getData(),f,h),this.markerGroupMap.get(f.id).updateLayout(c))},this)},renderSeries:function(u,v,h,f){var c=u.coordinateSystem,d=u.id,p=u.getData(),g=this.markerGroupMap,m=g.get(d)||g.set(d,new t),y=l(c,u,v);v.setData(y),o(v.getData(),u,f),y.each(function(_){var x=y.getItemModel(_),S=x.getShallow("symbol"),b=x.getShallow("symbolSize"),w=x.getShallow("symbolRotate"),A=r.isFunction(S),T=r.isFunction(b),C=r.isFunction(w);if(A||T||C){var M=v.getRawValue(_),L=v.getDataParams(_);A&&(S=S(M,L)),T&&(b=b(M,L)),C&&(w=w(M,L))}y.setItemVisual(_,{symbol:S,symbolSize:b,symbolRotate:w,color:x.get("itemStyle.color")||p.getVisual("color")})}),m.updateData(y),this.group.add(m.group),y.eachItemGraphicEl(function(_){_.traverse(function(x){x.dataModel=v})}),m.__keep=!0,m.group.silent=v.get("silent")||u.get("silent")}});function l(u,v,h){var f;u?f=r.map(u&&u.dimensions,function(p){var g=v.getData().getDimensionInfo(v.getData().mapDimension(p))||{};return r.defaults({name:p},g)}):f=[{name:"value",type:"float"}];var c=new a(f,h),d=r.map(h.get("data"),r.curry(i.dataTransform,v));return u&&(d=r.filter(d,r.curry(i.dataFilter,u))),c.initData(d,null,u?i.dimValueGetter:function(p){return p.value}),c}return Jb=s,Jb}var tH;function d_e(){if(tH)return XF;tH=1;var r=Pe();return f_e(),c_e(),r.registerPreprocessor(function(t){t.markPoint=t.markPoint||{}}),XF}var rH={},ew,aH;function p_e(){if(aH)return ew;aH=1;var r=TD(),t=r.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});return ew=t,ew}var tw,iH;function g_e(){if(iH)return tw;iH=1;var r=ie(),t=ei(),e=st(),a=AD(),i=pD(),n=CD(),o=rn(),s=o.getStackedDimension,l=function(p,g,m,y){var _=p.getData(),x=y.type;if(!r.isArray(y)&&(x==="min"||x==="max"||x==="average"||x==="median"||y.xAxis!=null||y.yAxis!=null)){var S,b;if(y.yAxis!=null||y.xAxis!=null)S=g.getAxis(y.yAxis!=null?"y":"x"),b=r.retrieve(y.yAxis,y.xAxis);else{var w=a.getAxisInfo(y,_,g,p);S=w.valueAxis;var A=s(_,w.valueDataDim);b=a.numCalculate(_,A,x)}var T=S.dim==="x"?0:1,C=1-T,M=r.clone(y),L={};M.type=null,M.coord=[],L.coord=[],M.coord[C]=-1/0,L.coord[C]=1/0;var D=m.get("precision");D>=0&&typeof b=="number"&&(b=+b.toFixed(Math.min(D,20))),M.coord[T]=L.coord[T]=b,y=[M,L,{type:x,valueIndex:y.valueIndex,value:b}]}return y=[a.dataTransform(p,y[0]),a.dataTransform(p,y[1]),r.extend({},y[2])],y[2].type=y[2].type||"",r.merge(y[2],y[0]),r.merge(y[2],y[1]),y};function u(p){return!isNaN(p)&&!isFinite(p)}function v(p,g,m,y){var _=1-p,x=y.dimensions[p];return u(g[_])&&u(m[_])&&g[p]===m[p]&&y.getAxis(x).containData(g[p])}function h(p,g){if(p.type==="cartesian2d"){var m=g[0].coord,y=g[1].coord;if(m&&y&&(v(1,m,y,p)||v(0,m,y,p)))return!0}return a.dataFilter(p,g[0])&&a.dataFilter(p,g[1])}function f(p,g,m,y,_){var x=y.coordinateSystem,S=p.getItemModel(g),b,w=e.parsePercent(S.get("x"),_.getWidth()),A=e.parsePercent(S.get("y"),_.getHeight());if(!isNaN(w)&&!isNaN(A))b=[w,A];else{if(y.getMarkerPosition)b=y.getMarkerPosition(p.getValues(p.dimensions,g));else{var T=x.dimensions,C=p.get(T[0],g),M=p.get(T[1],g);b=x.dataToPoint([C,M])}if(x.type==="cartesian2d"){var L=x.getAxis("x"),D=x.getAxis("y"),T=x.dimensions;u(p.get(T[0],g))?b[0]=L.toGlobalCoord(L.getExtent()[m?0:1]):u(p.get(T[1],g))&&(b[1]=D.toGlobalCoord(D.getExtent()[m?0:1]))}isNaN(w)||(b[0]=w),isNaN(A)||(b[1]=A)}p.setItemLayout(g,b)}var c=n.extend({type:"markLine",updateTransform:function(p,g,m){g.eachSeries(function(y){var _=y.markLineModel;if(_){var x=_.getData(),S=_.__from,b=_.__to;S.each(function(w){f(S,w,!0,y,m),f(b,w,!1,y,m)}),x.each(function(w){x.setItemLayout(w,[S.getItemLayout(w),b.getItemLayout(w)])}),this.markerGroupMap.get(y.id).updateLayout()}},this)},renderSeries:function(p,g,m,y){var _=p.coordinateSystem,x=p.id,S=p.getData(),b=this.markerGroupMap,w=b.get(x)||b.set(x,new i);this.group.add(w.group);var A=d(_,p,g),T=A.from,C=A.to,M=A.line;g.__from=T,g.__to=C,g.setData(M);var L=g.get("symbol"),D=g.get("symbolSize");r.isArray(L)||(L=[L,L]),typeof D=="number"&&(D=[D,D]),A.from.each(function(I){P(T,I,!0),P(C,I,!1)}),M.each(function(I){var R=M.getItemModel(I).get("lineStyle.color");M.setItemVisual(I,{color:R||T.getItemVisual(I,"color")}),M.setItemLayout(I,[T.getItemLayout(I),C.getItemLayout(I)]),M.setItemVisual(I,{fromSymbolRotate:T.getItemVisual(I,"symbolRotate"),fromSymbolSize:T.getItemVisual(I,"symbolSize"),fromSymbol:T.getItemVisual(I,"symbol"),toSymbolRotate:C.getItemVisual(I,"symbolRotate"),toSymbolSize:C.getItemVisual(I,"symbolSize"),toSymbol:C.getItemVisual(I,"symbol")})}),w.updateData(M),A.line.eachItemGraphicEl(function(I,R){I.traverse(function(E){E.dataModel=g})});function P(I,R,E){var k=I.getItemModel(R);f(I,R,E,p,y),I.setItemVisual(R,{symbolRotate:k.get("symbolRotate"),symbolSize:k.get("symbolSize")||D[E?0:1],symbol:k.get("symbol",!0)||L[E?0:1],color:k.get("itemStyle.color")||S.getVisual("color")})}w.__keep=!0,w.group.silent=g.get("silent")||p.get("silent")}});function d(p,g,m){var y;p?y=r.map(p&&p.dimensions,function(A){var T=g.getData().getDimensionInfo(g.getData().mapDimension(A))||{};return r.defaults({name:A},T)}):y=[{name:"value",type:"float"}];var _=new t(y,m),x=new t(y,m),S=new t([],m),b=r.map(m.get("data"),r.curry(l,g,p,m));p&&(b=r.filter(b,r.curry(h,p)));var w=p?a.dimValueGetter:function(A){return A.value};return _.initData(r.map(b,function(A){return A[0]}),null,w),x.initData(r.map(b,function(A){return A[1]}),null,w),S.initData(r.map(b,function(A){return A[2]})),S.hasItemOption=!0,{from:_,to:x,line:S}}return tw=c,tw}var nH;function m_e(){if(nH)return rH;nH=1;var r=Pe();return p_e(),g_e(),r.registerPreprocessor(function(t){t.markLine=t.markLine||{}}),rH}var oH={},rw,sH;function y_e(){if(sH)return rw;sH=1;var r=TD(),t=r.extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});return rw=t,rw}var lH={},uH;function __e(){if(uH)return lH;uH=1;var r=ie(),t=en(),e=ei(),a=st(),i=qe(),n=AD(),o=CD(),s=function(d,p,g,m){var y=n.dataTransform(d,m[0]),_=n.dataTransform(d,m[1]),x=r.retrieve,S=y.coord,b=_.coord;S[0]=x(S[0],-1/0),S[1]=x(S[1],-1/0),b[0]=x(b[0],1/0),b[1]=x(b[1],1/0);var w=r.mergeAll([{},y,_]);return w.coord=[y.coord,_.coord],w.x0=y.x,w.y0=y.y,w.x1=_.x,w.y1=_.y,w};function l(d){return!isNaN(d)&&!isFinite(d)}function u(d,p,g,m){var y=1-d;return l(p[y])&&l(g[y])}function v(d,p){var g=p.coord[0],m=p.coord[1];return d.type==="cartesian2d"&&g&&m&&(u(1,g,m)||u(0,g,m))?!0:n.dataFilter(d,{coord:g,x:p.x0,y:p.y0})||n.dataFilter(d,{coord:m,x:p.x1,y:p.y1})}function h(d,p,g,m,y){var _=m.coordinateSystem,x=d.getItemModel(p),S,b=a.parsePercent(x.get(g[0]),y.getWidth()),w=a.parsePercent(x.get(g[1]),y.getHeight());if(!isNaN(b)&&!isNaN(w))S=[b,w];else{if(m.getMarkerPosition)S=m.getMarkerPosition(d.getValues(g,p));else{var A=d.get(g[0],p),T=d.get(g[1],p),C=[A,T];_.clampData&&_.clampData(C,C),S=_.dataToPoint(C,!0)}if(_.type==="cartesian2d"){var M=_.getAxis("x"),L=_.getAxis("y"),A=d.get(g[0],p),T=d.get(g[1],p);l(A)?S[0]=M.toGlobalCoord(M.getExtent()[g[0]==="x0"?0:1]):l(T)&&(S[1]=L.toGlobalCoord(L.getExtent()[g[1]==="y0"?0:1]))}isNaN(b)||(S[0]=b),isNaN(w)||(S[1]=w)}return S}var f=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];o.extend({type:"markArea",updateTransform:function(d,p,g){p.eachSeries(function(m){var y=m.markAreaModel;if(y){var _=y.getData();_.each(function(x){var S=r.map(f,function(w){return h(_,x,w,m,g)});_.setItemLayout(x,S);var b=_.getItemGraphicEl(x);b.setShape("points",S)})}},this)},renderSeries:function(d,p,g,m){var y=d.coordinateSystem,_=d.id,x=d.getData(),S=this.markerGroupMap,b=S.get(_)||S.set(_,{group:new i.Group});this.group.add(b.group),b.__keep=!0;var w=c(y,d,p);p.setData(w),w.each(function(A){var T=r.map(f,function(M){return h(w,A,M,d,m)}),C=!0;r.each(f,function(M){if(C){var L=w.get(M[0],A),D=w.get(M[1],A);(l(L)||y.getAxis("x").containData(L))&&(l(D)||y.getAxis("y").containData(D))&&(C=!1)}}),w.setItemLayout(A,{points:T,allClipped:C}),w.setItemVisual(A,{color:x.getVisual("color")})}),w.diff(b.__data).add(function(A){var T=w.getItemLayout(A);if(!T.allClipped){var C=new i.Polygon({shape:{points:T.points}});w.setItemGraphicEl(A,C),b.group.add(C)}}).update(function(A,T){var C=b.__data.getItemGraphicEl(T),M=w.getItemLayout(A);M.allClipped?C&&b.group.remove(C):(C?i.updateProps(C,{shape:{points:M.points}},p,A):C=new i.Polygon({shape:{points:M.points}}),w.setItemGraphicEl(A,C),b.group.add(C))}).remove(function(A){var T=b.__data.getItemGraphicEl(A);b.group.remove(T)}).execute(),w.eachItemGraphicEl(function(A,T){var C=w.getItemModel(T),M=C.getModel("label"),L=C.getModel("emphasis.label"),D=w.getItemVisual(T,"color");A.useStyle(r.defaults(C.getModel("itemStyle").getItemStyle(),{fill:t.modifyAlpha(D,.4),stroke:D})),A.hoverStyle=C.getModel("emphasis.itemStyle").getItemStyle(),i.setLabelStyle(A.style,A.hoverStyle,M,L,{labelFetcher:p,labelDataIndex:T,defaultText:w.getName(T)||"",isRectText:!0,autoColor:D}),i.setHoverStyle(A,{}),A.dataModel=p}),b.__data=w,b.group.silent=p.get("silent")||d.get("silent")}});function c(d,p,g){var m,y,_=["x0","y0","x1","y1"];d?(m=r.map(d&&d.dimensions,function(b){var w=p.getData(),A=w.getDimensionInfo(w.mapDimension(b))||{};return r.defaults({name:b},A)}),y=new e(r.map(_,function(b,w){return{name:b,type:m[w%2].type}}),g)):(m=[{name:"value",type:"float"}],y=new e(m,g));var x=r.map(g.get("data"),r.curry(s,p,d,g));d&&(x=r.filter(x,r.curry(v,d)));var S=d?function(b,w,A,T){return b.coord[Math.floor(T/2)][T%2]}:function(b){return b.value};return y.initData(x,null,S),y.hasItemOption=!0,y}return lH}var vH;function x_e(){if(vH)return oH;vH=1;var r=Pe();return y_e(),__e(),r.registerPreprocessor(function(t){t.markArea=t.markArea||{}}),oH}var hH={},fH={},aw,cH;function N$(){if(cH)return aw;cH=1;var r=Pe(),t=ie(),e=gr(),a=_t(),i=a.isNameSpecified,n=xo(),o=n.legend.selector,s={all:{type:"all",title:t.clone(o.all)},inverse:{type:"inverse",title:t.clone(o.inverse)}},l=r.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(v,h,f){this.mergeDefaultAndTheme(v,f),v.selected=v.selected||{},this._updateSelector(v)},mergeOption:function(v){l.superCall(this,"mergeOption",v),this._updateSelector(v)},_updateSelector:function(v){var h=v.selector;h===!0&&(h=v.selector=["all","inverse"]),t.isArray(h)&&t.each(h,function(f,c){t.isString(f)&&(f={type:f}),h[c]=t.merge(f,s[f.type])})},optionUpdated:function(){this._updateData(this.ecModel);var v=this._data;if(v[0]&&this.get("selectedMode")==="single"){for(var h=!1,f=0;f=0},getOrient:function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),u=l;return aw=u,aw}var dH={},pH;function S_e(){if(pH)return dH;pH=1;var r=Pe(),t=ie();function e(a,i,n){var o={},s=a==="toggleSelected",l;return n.eachComponent("legend",function(u){s&&l!=null?u[l?"select":"unSelect"](i.name):a==="allSelect"||a==="inverseSelect"?u[a]():(u[a](i.name),l=u.isSelected(i.name));var v=u.getData();t.each(v,function(h){var f=h.get("name");if(!(f==="\n"||f==="")){var c=u.isSelected(f);o.hasOwnProperty(f)?o[f]=o[f]&&c:o[f]=c}})}),a==="allSelect"||a==="inverseSelect"?{selected:o}:{name:i.name,selected:o}}return r.registerAction("legendToggleSelect","legendselectchanged",t.curry(e,"toggleSelected")),r.registerAction("legendAllSelect","legendselectall",t.curry(e,"allSelect")),r.registerAction("legendInverseSelect","legendinverseselect",t.curry(e,"inverseSelect")),r.registerAction("legendSelect","legendselected",t.curry(e,"select")),r.registerAction("legendUnSelect","legendunselected",t.curry(e,"unSelect")),dH}var iw,gH;function z$(){if(gH)return iw;gH=1;var r=It();r.__DEV__;var t=Pe(),e=ie(),a=ti(),i=a.createSymbol,n=qe(),o=R$(),s=o.makeBackground,l=Ut(),u=e.curry,v=e.each,h=n.Group,f=t.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new h),this._backgroundEl,this.group.add(this._selectorGroup=new h),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(m,y,_){var x=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!m.get("show",!0)){var S=m.get("align"),b=m.get("orient");(!S||S==="auto")&&(S=m.get("left")==="right"&&b==="vertical"?"right":"left");var w=m.get("selector",!0),A=m.get("selectorPosition",!0);w&&(!A||A==="auto")&&(A=b==="horizontal"?"end":"start"),this.renderInner(S,m,y,_,w,b,A);var T=m.getBoxLayoutParams(),C={width:_.getWidth(),height:_.getHeight()},M=m.get("padding"),L=l.getLayoutRect(T,C,M),D=this.layoutInner(m,S,L,x,w,A),P=l.getLayoutRect(e.defaults({width:D.width,height:D.height},T),C,M);this.group.attr("position",[P.x-D.x,P.y-D.y]),this.group.add(this._backgroundEl=s(D,m))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(m,y,_,x,S,b,w){var A=this.getContentGroup(),T=e.createHashMap(),C=y.get("selectedMode"),M=[];_.eachRawSeries(function(L){!L.get("legendHoverLink")&&M.push(L.id)}),v(y.getData(),function(L,D){var P=L.get("name");if(!this.newlineDisabled&&(P===""||P==="\n")){A.add(new h({newline:!0}));return}var I=_.getSeriesByName(P)[0];if(!T.get(P))if(I){var R=I.getData(),E=R.getVisual("color"),k=R.getVisual("borderColor");typeof E=="function"&&(E=E(I.getDataParams(0))),typeof k=="function"&&(k=k(I.getDataParams(0)));var B=R.getVisual("legendSymbol")||"roundRect",F=R.getVisual("symbol"),V=this._createItem(P,D,L,y,B,F,m,E,k,C);V.on("click",u(d,P,null,x,M)).on("mouseover",u(p,I.name,null,x,M)).on("mouseout",u(g,I.name,null,x,M)),T.set(P,!0)}else _.eachRawSeries(function(N){if(!T.get(P)&&N.legendVisualProvider){var O=N.legendVisualProvider;if(!O.containName(P))return;var z=O.indexOfName(P),G=O.getItemVisual(z,"color"),q=O.getItemVisual(z,"borderColor"),H="roundRect",U=this._createItem(P,D,L,y,H,null,m,G,q,C);U.on("click",u(d,null,P,x,M)).on("mouseover",u(p,null,P,x,M)).on("mouseout",u(g,null,P,x,M)),T.set(P,!0)}},this)},this),S&&this._createSelector(S,y,x,b,w)},_createSelector:function(m,y,_,x,S){var b=this.getSelectorGroup();v(m,function(A){w(A)});function w(A){var T=A.type,C=new n.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){_.dispatchAction({type:T==="all"?"legendAllSelect":"legendInverseSelect"})}});b.add(C);var M=y.getModel("selectorLabel"),L=y.getModel("emphasis.selectorLabel");n.setLabelStyle(C.style,C.hoverStyle={},M,L,{defaultText:A.title,isRectText:!1}),n.setHoverStyle(C)}},_createItem:function(m,y,_,x,S,b,w,A,T,C){var M=x.get("itemWidth"),L=x.get("itemHeight"),D=x.get("inactiveColor"),P=x.get("inactiveBorderColor"),I=x.get("symbolKeepAspect"),R=x.getModel("itemStyle"),E=x.isSelected(m),k=new h,B=_.getModel("textStyle"),F=_.get("icon"),V=_.getModel("tooltip"),N=V.parentModel;S=F||S;var O=i(S,0,0,M,L,E?A:D,I==null?!0:I);if(k.add(c(O,S,R,T,P,E)),!F&&b&&(b!==S||b==="none")){var z=L*.8;b==="none"&&(b="circle");var G=i(b,(M-z)/2,(L-z)/2,z,z,E?A:D,I==null?!0:I);k.add(c(G,b,R,T,P,E))}var q=w==="left"?M+5:-5,H=w,U=x.get("formatter"),W=m;typeof U=="string"&&U?W=U.replace("{name}",m!=null?m:""):typeof U=="function"&&(W=U(m)),k.add(new n.Text({style:n.setTextStyle({},B,{text:W,x:q,y:L/2,textFill:E?B.getTextColor():D,textAlign:H,textVerticalAlign:"middle"})}));var Y=new n.Rect({shape:k.getBoundingRect(),invisible:!0,tooltip:V.get("show")?e.extend({content:m,formatter:N.get("formatter",!0)||function(){return m},formatterParams:{componentType:"legend",legendIndex:x.componentIndex,name:m,$vars:["name"]}},V.option):null});return k.add(Y),k.eachChild(function(X){X.silent=!0}),Y.silent=!C,this.getContentGroup().add(k),n.setHoverStyle(k),k.__legendDataIndex=y,k},layoutInner:function(m,y,_,x,S,b){var w=this.getContentGroup(),A=this.getSelectorGroup();l.box(m.get("orient"),w,m.get("itemGap"),_.width,_.height);var T=w.getBoundingRect(),C=[-T.x,-T.y];if(S){l.box("horizontal",A,m.get("selectorItemGap",!0));var M=A.getBoundingRect(),L=[-M.x,-M.y],D=m.get("selectorButtonGap",!0),P=m.getOrient().index,I=P===0?"width":"height",R=P===0?"height":"width",E=P===0?"y":"x";b==="end"?L[P]+=T[I]+D:C[P]+=M[I]+D,L[1-P]+=T[R]/2-M[R]/2,A.attr("position",L),w.attr("position",C);var k={x:0,y:0};return k[I]=T[I]+D+M[I],k[R]=Math.max(T[R],M[R]),k[E]=Math.min(0,M[E]+L[1-P]),k}else return w.attr("position",C),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function c(m,y,_,x,S,b){var w;return y!=="line"&&y.indexOf("empty")<0?(w=_.getItemStyle(),m.style.stroke=x,b||(w.stroke=S)):w=_.getItemStyle(["borderWidth","borderColor"]),m.setStyle(w)}function d(m,y,_,x){g(m,y,_,x),_.dispatchAction({type:"legendToggleSelect",name:m!=null?m:y}),p(m,y,_,x)}function p(m,y,_,x){var S=_.getZr().storage.getDisplayList()[0];S&&S.useHoverLayer||_.dispatchAction({type:"highlight",seriesName:m,name:y,excludeSeriesId:x})}function g(m,y,_,x){var S=_.getZr().storage.getDisplayList()[0];S&&S.useHoverLayer||_.dispatchAction({type:"downplay",seriesName:m,name:y,excludeSeriesId:x})}return iw=f,iw}var nw,mH;function b_e(){if(mH)return nw;mH=1;function r(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(a){for(var i=0;ih[c],b=[-_.x,-_.y];v||(b[f]=g.position[f]);var w=[0,0],A=[-x.x,-x.y],T=r.retrieve2(u.get("pageButtonGap",!0),u.get("itemGap",!0));if(S){var C=u.get("pageButtonPosition",!0);C==="end"?A[f]+=h[c]-x[c]:w[f]+=x[c]+T}A[1-f]+=_[d]/2-x[d]/2,g.attr("position",b),m.attr("position",w),y.attr("position",A);var M={x:0,y:0};if(M[c]=S?h[c]:_[c],M[d]=Math.max(_[d],x[d]),M[p]=Math.min(0,x[p]+A[1-f]),m.__rectSize=h[c],S){var L={x:0,y:0};L[c]=Math.max(h[c]-x[c]-T,0),L[d]=M[d],m.setClipPath(new t.Rect({shape:L})),m.__rectSize=L[c]}else y.eachChild(function(P){P.attr({invisible:!0,silent:!0})});var D=this._getPageInfo(u);return D.pageIndex!=null&&t.updateProps(g,{position:D.contentPosition},S?u:!1),this._updatePageInfoView(u,D),M},_pageGo:function(u,v,h){var f=this._getPageInfo(v)[u];f!=null&&h.dispatchAction({type:"legendScroll",scrollDataIndex:f,legendId:v.id})},_updatePageInfoView:function(u,v){var h=this._controllerGroup;r.each(["pagePrev","pageNext"],function(m){var y=v[m+"DataIndex"]!=null,_=h.childOfName(m);_&&(_.setStyle("fill",y?u.get("pageIconColor",!0):u.get("pageIconInactiveColor",!0)),_.cursor=y?"pointer":"default")});var f=h.childOfName("pageText"),c=u.get("pageFormatter"),d=v.pageIndex,p=d!=null?d+1:0,g=v.pageCount;f&&c&&f.setStyle("text",r.isString(c)?c.replace("{current}",p).replace("{total}",g):c({current:p,total:g}))},_getPageInfo:function(u){var v=u.get("scrollDataIndex",!0),h=this.getContentGroup(),f=this._containerGroup.__rectSize,c=u.getOrient().index,d=n[c],p=o[c],g=this._findTargetItemIndex(v),m=h.children(),y=m[g],_=m.length,x=_?1:0,S={contentPosition:h.position.slice(),pageCount:x,pageIndex:x-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!y)return S;var b=M(y);S.contentPosition[c]=-b.s;for(var w=g+1,A=b,T=b,C=null;w<=_;++w)C=M(m[w]),(!C&&T.e>A.s+f||C&&!L(C,A.s))&&(T.i>A.i?A=T:A=C,A&&(S.pageNextDataIndex==null&&(S.pageNextDataIndex=A.i),++S.pageCount)),T=C;for(var w=g-1,A=b,T=b,C=null;w>=-1;--w)C=M(m[w]),(!C||!L(T,C.s))&&A.i=P&&D.s<=P+f}},_findTargetItemIndex:function(u){if(!this._showController)return 0;var v,h=this.getContentGroup(),f;return h.eachChild(function(c,d){var p=c.__legendDataIndex;f==null&&p!=null&&(f=d),p===u&&(v=d)}),v!=null?v:f}}),l=s;return sw=l,sw}var SH={},bH;function A_e(){if(bH)return SH;bH=1;var r=Pe();return r.registerAction("legendScroll","legendscroll",function(t,e){var a=t.scrollDataIndex;a!=null&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(i){i.setScrollDataIndex(a)})}),SH}var wH;function C_e(){return wH||(wH=1,B$(),w_e(),T_e(),A_e()),hH}var TH={},AH={},lw,CH;function M_e(){if(CH)return lw;CH=1;var r=Pu(),t=r.extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}}),e=t;return lw=e,lw}var uw,MH;function D_e(){if(MH)return uw;MH=1;var r=ie(),t=Ji(),e=qe(),a=_o(),i=Ru(),n=st(),o=Ut(),s=Iu(),l=e.Rect,u=n.linearMap,v=n.asc,h=r.bind,f=r.each,c=7,d=1,p=30,g="horizontal",m="vertical",y=5,_=["line","bar","candlestick","scatter"],x=i.extend({type:"dataZoom.slider",init:function(A,T){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=T},render:function(A,T,C,M){if(x.superApply(this,"render",arguments),a.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=A.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!M||M.type!=="dataZoom"||M.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){x.superApply(this,"remove",arguments),a.clear(this,"_dispatchZoomAction")},dispose:function(){x.superApply(this,"dispose",arguments),a.clear(this,"_dispatchZoomAction")},_buildView:function(){var A=this.group;A.removeAll(),this._resetLocation(),this._resetInterval();var T=this._displayables.barGroup=new e.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),A.add(T),this._positionGroup()},_resetLocation:function(){var A=this.dataZoomModel,T=this.api,C=this._findCoordRect(),M={width:T.getWidth(),height:T.getHeight()},L=this._orient===g?{right:M.width-C.x-C.width,top:M.height-p-c,width:C.width,height:p}:{right:c,top:C.y,width:p,height:C.height},D=o.getLayoutParams(A.option);r.each(["right","top","width","height"],function(I){D[I]==="ph"&&(D[I]=L[I])});var P=o.getLayoutRect(D,M,A.padding);this._location={x:P.x,y:P.y},this._size=[P.width,P.height],this._orient===m&&this._size.reverse()},_positionGroup:function(){var A=this.group,T=this._location,C=this._orient,M=this.dataZoomModel.getFirstTargetAxisModel(),L=M&&M.get("inverse"),D=this._displayables.barGroup,P=(this._dataShadowInfo||{}).otherAxisInverse;D.attr(C===g&&!L?{scale:P?[1,1]:[1,-1]}:C===g&&L?{scale:P?[-1,1]:[-1,-1]}:C===m&&!L?{scale:P?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:P?[-1,-1]:[-1,1],rotation:Math.PI/2});var I=A.getBoundingRect([D]);A.attr("position",[T.x-I.x,T.y-I.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var A=this.dataZoomModel,T=this._size,C=this._displayables.barGroup;C.add(new l({silent:!0,shape:{x:0,y:0,width:T[0],height:T[1]},style:{fill:A.get("backgroundColor")},z2:-40})),C.add(new l({shape:{x:0,y:0,width:T[0],height:T[1]},style:{fill:"transparent"},z2:0,onclick:r.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var A=this._dataShadowInfo=this._prepareDataShadowInfo();if(A){var T=this._size,C=A.series,M=C.getRawData(),L=C.getShadowDim?C.getShadowDim():A.otherDim;if(L!=null){var D=M.getDataExtent(L),P=(D[1]-D[0])*.3;D=[D[0]-P,D[1]+P];var I=[0,T[1]],R=[0,T[0]],E=[[T[0],0],[0,0]],k=[],B=R[1]/(M.count()-1),F=0,V=Math.round(M.count()/T[0]),N;M.each([L],function(z,G){if(V>0&&G%V){F+=B;return}var q=z==null||isNaN(z)||z==="",H=q?0:u(z,D,I,!0);q&&!N&&G?(E.push([E[E.length-1][0],0]),k.push([k[k.length-1][0],0])):!q&&N&&(E.push([F,0]),k.push([F,0])),E.push([F,H]),k.push([F,H]),F+=B,N=q});var O=this.dataZoomModel;this._displayables.barGroup.add(new e.Polygon({shape:{points:E},style:r.defaults({fill:O.get("dataBackgroundColor")},O.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new e.Polyline({shape:{points:k},style:O.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var A=this.dataZoomModel,T=A.get("showDataShadow");if(T!==!1){var C,M=this.ecModel;return A.eachTargetAxis(function(L,D){var P=A.getAxisProxy(L.name,D).getTargetSeriesModels();r.each(P,function(I){if(!C&&!(T!==!0&&r.indexOf(_,I.get("type"))<0)){var R=M.getComponent(L.axis,D).axis,E=S(L.name),k,B=I.coordinateSystem;E!=null&&B.getOtherAxis&&(k=B.getOtherAxis(R).inverse),E=I.getData().mapDimension(E),C={thisAxis:R,series:I,thisDim:L.name,otherDim:E,otherAxisInverse:k}}},this)},this),C}},_renderHandle:function(){var A=this._displayables,T=A.handles=[],C=A.handleLabels=[],M=this._displayables.barGroup,L=this._size,D=this.dataZoomModel;M.add(A.filler=new l({draggable:!0,cursor:b(this._orient),drift:h(this._onDragMove,this,"all"),ondragstart:h(this._showDataInfo,this,!0),ondragend:h(this._onDragEnd,this),onmouseover:h(this._showDataInfo,this,!0),onmouseout:h(this._showDataInfo,this,!1),style:{fill:D.get("fillerColor"),textPosition:"inside"}})),M.add(new l({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:L[0],height:L[1]},style:{stroke:D.get("dataBackgroundColor")||D.get("borderColor"),lineWidth:d,fill:"rgba(0,0,0,0)"}})),f([0,1],function(P){var I=e.createIcon(D.get("handleIcon"),{cursor:b(this._orient),draggable:!0,drift:h(this._onDragMove,this,P),ondragend:h(this._onDragEnd,this),onmouseover:h(this._showDataInfo,this,!0),onmouseout:h(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),R=I.getBoundingRect();this._handleHeight=n.parsePercent(D.get("handleSize"),this._size[1]),this._handleWidth=R.width/R.height*this._handleHeight,I.setStyle(D.getModel("handleStyle").getItemStyle());var E=D.get("handleColor");E!=null&&(I.style.fill=E),M.add(T[P]=I);var k=D.textStyleModel;this.group.add(C[P]=new e.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:k.getTextColor(),textFont:k.getFont()},z2:10}))},this)},_resetInterval:function(){var A=this._range=this.dataZoomModel.getPercentRange(),T=this._getViewExtent();this._handleEnds=[u(A[0],[0,100],T,!0),u(A[1],[0,100],T,!0)]},_updateInterval:function(A,T){var C=this.dataZoomModel,M=this._handleEnds,L=this._getViewExtent(),D=C.findRepresentativeAxisProxy().getMinMaxSpan(),P=[0,100];s(T,M,L,C.get("zoomLock")?"all":A,D.minSpan!=null?u(D.minSpan,P,L,!0):null,D.maxSpan!=null?u(D.maxSpan,P,L,!0):null);var I=this._range,R=this._range=v([u(M[0],L,P,!0),u(M[1],L,P,!0)]);return!I||I[0]!==R[0]||I[1]!==R[1]},_updateView:function(A){var T=this._displayables,C=this._handleEnds,M=v(C.slice()),L=this._size;f([0,1],function(D){var P=T.handles[D],I=this._handleHeight;P.attr({scale:[I/2,I/2],position:[C[D],L[1]/2-I/2]})},this),T.filler.setShape({x:M[0],y:0,width:M[1]-M[0],height:L[1]}),this._updateDataInfo(A)},_updateDataInfo:function(A){var T=this.dataZoomModel,C=this._displayables,M=C.handleLabels,L=this._orient,D=["",""];if(T.get("showDetail")){var P=T.findRepresentativeAxisProxy();if(P){var I=P.getAxisModel().axis,R=this._range,E=A?P.calculateDataWindow({start:R[0],end:R[1]}).valueWindow:P.getDataValueWindow();D=[this._formatLabel(E[0],I),this._formatLabel(E[1],I)]}}var k=v(this._handleEnds.slice());B.call(this,0),B.call(this,1);function B(F){var V=e.getTransform(C.handles[F].parent,this.group),N=e.transformDirection(F===0?"right":"left",V),O=this._handleWidth/2+y,z=e.applyTransform([k[F]+(F===0?-O:O),this._size[1]/2],V);M[F].setStyle({x:z[0],y:z[1],textVerticalAlign:L===g?"middle":N,textAlign:L===g?N:"center",text:D[F]})}},_formatLabel:function(A,T){var C=this.dataZoomModel,M=C.get("labelFormatter"),L=C.get("labelPrecision");(L==null||L==="auto")&&(L=T.getPixelPrecision());var D=A==null||isNaN(A)?"":T.type==="category"||T.type==="time"?T.scale.getLabel(Math.round(A)):A.toFixed(Math.min(L,20));return r.isFunction(M)?M(A,D):r.isString(M)?M.replace("{value}",D):D},_showDataInfo:function(A){A=this._dragging||A;var T=this._displayables.handleLabels;T[0].attr("invisible",!A),T[1].attr("invisible",!A)},_onDragMove:function(A,T,C,M){this._dragging=!0,t.stop(M.event);var L=this._displayables.barGroup.getLocalTransform(),D=e.applyTransform([T,C],L,!0),P=this._updateInterval(A,D[0]),I=this.dataZoomModel.get("realtime");this._updateView(!I),P&&I&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var A=this.dataZoomModel.get("realtime");!A&&this._dispatchZoomAction()},_onClickPanelClick:function(A){var T=this._size,C=this._displayables.barGroup.transformCoordToLocal(A.offsetX,A.offsetY);if(!(C[0]<0||C[0]>T[0]||C[1]<0||C[1]>T[1])){var M=this._handleEnds,L=(M[0]+M[1])/2,D=this._updateInterval("all",C[0]-L);this._updateView(),D&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var A=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:A[0],end:A[1]})},_findCoordRect:function(){var A;if(f(this.getTargetCoordInfo(),function(M){if(!A&&M.length){var L=M[0].model.coordinateSystem;A=L.getRect&&L.getRect()}}),!A){var T=this.api.getWidth(),C=this.api.getHeight();A={x:T*.2,y:C*.2,width:T*.6,height:C*.6}}return A}});function S(A){var T={x:"y",y:"x",radius:"angle",angle:"radius"};return T[A]}function b(A){return A==="vertical"?"ns-resize":"ew-resize"}var w=x;return uw=w,uw}var DH;function V$(){return DH||(DH=1,xD(),Pu(),Ru(),M_e(),D_e(),bD(),wD()),AH}var LH={},vw,IH;function L_e(){if(IH)return vw;IH=1;var r=Pu(),t=r.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});return vw=t,vw}var Tv={},PH;function I_e(){if(PH)return Tv;PH=1;var r=ie(),t=xf(),e=_o(),a="\0_ec_dataZoom_roams";function i(f,c){var d=s(f),p=c.dataZoomId,g=c.coordId;r.each(d,function(_,x){var S=_.dataZoomInfos;S[p]&&r.indexOf(c.allCoordIds,g)<0&&(delete S[p],_.count--)}),u(d);var m=d[g];m||(m=d[g]={coordId:g,dataZoomInfos:{},count:0},m.controller=l(f,m),m.dispatchAction=r.curry(v,f)),!m.dataZoomInfos[p]&&m.count++,m.dataZoomInfos[p]=c;var y=h(m.dataZoomInfos);m.controller.enable(y.controlType,y.opt),m.controller.setPointerChecker(c.containsPoint),e.createOrUpdate(m,"dispatchAction",c.dataZoomModel.get("throttle",!0),"fixRate")}function n(f,c){var d=s(f);r.each(d,function(p){p.controller.dispose();var g=p.dataZoomInfos;g[c]&&(delete g[c],p.count--)}),u(d)}function o(f){return f.type+"\0_"+f.id}function s(f){var c=f.getZr();return c[a]||(c[a]={})}function l(f,c){var d=new t(f.getZr());return r.each(["pan","zoom","scrollMove"],function(p){d.on(p,function(g){var m=[];r.each(c.dataZoomInfos,function(y){if(g.isAvailableBehavior(y.dataZoomModel.option)){var _=(y.getRange||{})[p],x=_&&_(c.controller,g);!y.dataZoomModel.get("disabled",!0)&&x&&m.push({dataZoomId:y.dataZoomId,start:x[0],end:x[1]})}}),m.length&&c.dispatchAction(m)})}),d}function u(f){r.each(f,function(c,d){c.count||(c.controller.dispose(),delete f[d])})}function v(f,c){f.dispatchAction({type:"dataZoom",batch:c})}function h(f){var c,d="type_",p={type_true:2,type_move:1,type_false:0,type_undefined:-1},g=!0;return r.each(f,function(m){var y=m.dataZoomModel,_=y.get("disabled",!0)?!1:y.get("zoomLock",!0)?"move":!0;p[d+_]>p[d+c]&&(c=_),g&=y.get("preventDefaultMouseMove",!0)}),{controlType:c,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!g}}}return Tv.register=i,Tv.unregister=n,Tv.generateCoordId=o,Tv}var hw,RH;function P_e(){if(RH)return hw;RH=1;var r=ie(),t=Ru(),e=Iu(),a=I_e(),i=r.bind,n=t.extend({type:"dataZoom.inside",init:function(v,h){this._range},render:function(v,h,f,c){n.superApply(this,"render",arguments),this._range=v.getPercentRange(),r.each(this.getTargetCoordInfo(),function(d,p){var g=r.map(d,function(m){return a.generateCoordId(m.model)});r.each(d,function(m){var y=m.model,_={};r.each(["pan","zoom","scrollMove"],function(x){_[x]=i(o[x],this,m,p)},this),a.register(f,{coordId:a.generateCoordId(y),allCoordIds:g,containsPoint:function(x,S,b){return y.coordinateSystem.containPoint([S,b])},dataZoomId:v.id,dataZoomModel:v,getRange:_})},this)},this)},dispose:function(){a.unregister(this.api,this.dataZoomModel.id),n.superApply(this,"dispose",arguments),this._range=null}}),o={zoom:function(v,h,f,c){var d=this._range,p=d.slice(),g=v.axisModels[0];if(g){var m=l[h](null,[c.originX,c.originY],g,f,v),y=(m.signal>0?m.pixelStart+m.pixelLength-m.pixel:m.pixel-m.pixelStart)/m.pixelLength*(p[1]-p[0])+p[0],_=Math.max(1/c.scale,0);p[0]=(p[0]-y)*_+y,p[1]=(p[1]-y)*_+y;var x=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(e(0,p,[0,100],0,x.minSpan,x.maxSpan),this._range=p,d[0]!==p[0]||d[1]!==p[1])return p}},pan:s(function(v,h,f,c,d,p){var g=l[c]([p.oldX,p.oldY],[p.newX,p.newY],h,d,f);return g.signal*(v[1]-v[0])*g.pixel/g.pixelLength}),scrollMove:s(function(v,h,f,c,d,p){var g=l[c]([0,0],[p.scrollDelta,p.scrollDelta],h,d,f);return g.signal*(v[1]-v[0])*p.scrollDelta})};function s(v){return function(h,f,c,d){var p=this._range,g=p.slice(),m=h.axisModels[0];if(m){var y=v(g,m,h,f,c,d);if(e(y,g,[0,100],"all"),this._range=g,p[0]!==g[0]||p[1]!==g[1])return g}}}var l={grid:function(v,h,f,c,d){var p=f.axis,g={},m=d.model.coordinateSystem.getRect();return v=v||[0,0],p.dim==="x"?(g.pixel=h[0]-v[0],g.pixelLength=m.width,g.pixelStart=m.x,g.signal=p.inverse?1:-1):(g.pixel=h[1]-v[1],g.pixelLength=m.height,g.pixelStart=m.y,g.signal=p.inverse?-1:1),g},polar:function(v,h,f,c,d){var p=f.axis,g={},m=d.model.coordinateSystem,y=m.getRadiusAxis().getExtent(),_=m.getAngleAxis().getExtent();return v=v?m.pointToCoord(v):[0,0],h=m.pointToCoord(h),f.mainType==="radiusAxis"?(g.pixel=h[0]-v[0],g.pixelLength=y[1]-y[0],g.pixelStart=y[0],g.signal=p.inverse?1:-1):(g.pixel=h[1]-v[1],g.pixelLength=_[1]-_[0],g.pixelStart=_[0],g.signal=p.inverse?-1:1),g},singleAxis:function(v,h,f,c,d){var p=f.axis,g=d.model.coordinateSystem.getRect(),m={};return v=v||[0,0],p.orient==="horizontal"?(m.pixel=h[0]-v[0],m.pixelLength=g.width,m.pixelStart=g.x,m.signal=p.inverse?1:-1):(m.pixel=h[1]-v[1],m.pixelLength=g.height,m.pixelStart=g.y,m.signal=p.inverse?-1:1),m}},u=n;return hw=u,hw}var EH;function G$(){return EH||(EH=1,xD(),Pu(),Ru(),L_e(),P_e(),bD(),wD()),LH}var kH;function R_e(){return kH||(kH=1,V$(),G$()),TH}var OH={},NH={},fw,zH;function F$(){if(zH)return fw;zH=1;var r=ie(),t=r.each;function e(i){var n=i&&i.visualMap;r.isArray(n)||(n=n?[n]:[]),t(n,function(o){if(o){a(o,"splitList")&&!a(o,"pieces")&&(o.pieces=o.splitList,delete o.splitList);var s=o.pieces;s&&r.isArray(s)&&t(s,function(l){r.isObject(l)&&(a(l,"start")&&!a(l,"min")&&(l.min=l.start),a(l,"end")&&!a(l,"max")&&(l.max=l.end))})}})}function a(i,n){return i&&i.hasOwnProperty&&i.hasOwnProperty(n)}return fw=e,fw}var BH={},VH;function H$(){if(VH)return BH;VH=1;var r=Lr();return r.registerSubTypeDefaulter("visualMap",function(t){return!t.categories&&(!(t.pieces?t.pieces.length>0:t.splitNumber>0)||t.calculable)?"continuous":"piecewise"}),BH}var GH={},FH;function q$(){if(FH)return GH;FH=1;var r=Pe(),t=ie(),e=Tg(),a=js(),i=r.PRIORITY.VISUAL.COMPONENT;r.registerVisual(i,{createOnAllSeries:!0,reset:function(o,s){var l=[];return s.eachComponent("visualMap",function(u){var v=o.pipelineContext;!u.isTargetSeries(o)||v&&v.large||l.push(e.incrementalApplyVisual(u.stateList,u.targetVisuals,t.bind(u.getValueState,u),u.getDataDimension(o.getData())))}),l}}),r.registerVisual(i,{createOnAllSeries:!0,reset:function(o,s){var l=o.getData(),u=[];s.eachComponent("visualMap",function(v){if(v.isTargetSeries(o)){var h=v.getVisualMeta(t.bind(n,null,o,v))||{stops:[],outerColors:[]},f=v.getDataDimension(l),c=l.getDimensionInfo(f);c!=null&&(h.dimension=c.index,u.push(h))}}),o.getData().setVisual("visualMeta",u)}});function n(o,s,l,u){for(var v=s.targetVisuals[u],h=a.prepareVisualTypes(v),f={color:o.getData().getVisual("color")},c=0,d=h.length;c"],t.isArray(m)&&(m=m.slice(),A=!0),T=y?m:A?[C(m[0]),C(m[1])]:C(m),t.isString(w))return w.replace("{value}",A?T[0]:T).replace("{value2}",A?T[1]:T);if(t.isFunction(w))return A?w(m[0],m[1]):w(m);if(A)return m[0]===b[0]?_[0]+" "+T[1]:m[1]===b[1]?_[1]+" "+T[0]:T[0]+" - "+T[1];return T;function C(M){return M===b[0]?"min":M===b[1]?"max":(+M).toFixed(Math.min(S,20))}},resetExtent:function(){var m=this.option,y=f([m.min,m.max]);this._dataExtent=y},getDataDimension:function(m){var y=this.option.dimension,_=m.dimensions;if(!(y==null&&!_.length)){if(y!=null)return m.getDimension(y);for(var x=m.dimensions,S=x.length-1;S>=0;S--){var b=x[S],w=m.getDimensionInfo(b);if(!w.isCalculationCoord)return b}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var m=this.ecModel,y=this.option,_={inRange:y.inRange,outOfRange:y.outOfRange},x=y.target||(y.target={}),S=y.controller||(y.controller={});t.merge(x,_),t.merge(S,_);var b=this.isCategory();w.call(this,x),w.call(this,S),A.call(this,x,"inRange","outOfRange"),T.call(this,S);function w(C){v(y.color)&&!C.inRange&&(C.inRange={color:y.color.slice().reverse()}),C.inRange=C.inRange||{color:m.get("gradientColor")},h(this.stateList,function(M){var L=C[M];if(t.isString(L)){var D=a.get(L,"active",b);D?(C[M]={},C[M][L]=D):delete C[M]}},this)}function A(C,M,L){var D=C[M],P=C[L];D&&!P&&(P=C[L]={},h(D,function(I,R){if(i.isValidType(R)){var E=a.get(R,"inactive",b);E!=null&&(P[R]=E,R==="color"&&!P.hasOwnProperty("opacity")&&!P.hasOwnProperty("colorAlpha")&&(P.opacity=[0,0]))}}))}function T(C){var M=(C.inRange||{}).symbol||(C.outOfRange||{}).symbol,L=(C.inRange||{}).symbolSize||(C.outOfRange||{}).symbolSize,D=this.get("inactiveColor");h(this.stateList,function(P){var I=this.itemSize,R=C[P];R||(R=C[P]={color:b?D:[D]}),R.symbol==null&&(R.symbol=M&&t.clone(M)||(b?"roundRect":["roundRect"])),R.symbolSize==null&&(R.symbolSize=L&&t.clone(L)||(b?I[0]:[I[0],I[0]])),R.symbol=l(R.symbol,function(B){return B==="none"||B==="square"?"roundRect":B});var E=R.symbolSize;if(E!=null){var k=-1/0;u(E,function(B){B>k&&(k=B)}),R.symbolSize=l(E,function(B){return c(B,[0,k],[0,I[0]],!0)})}},this)}},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:d,getValueState:d,getVisualMeta:d}),g=p;return dw=g,dw}var pw,WH;function E_e(){if(WH)return pw;WH=1;var r=ie(),t=U$(),e=st(),a=[20,140],i=t.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(s,l){i.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(u){u.mappingMethod="linear",u.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){i.superApply(this,"resetItemSize",arguments);var s=this.itemSize;this._orient==="horizontal"&&s.reverse(),(s[0]==null||isNaN(s[0]))&&(s[0]=a[0]),(s[1]==null||isNaN(s[1]))&&(s[1]=a[1])},_resetRange:function(){var s=this.getExtent(),l=this.option.range;!l||l.auto?(s.auto=1,this.option.range=s):r.isArray(l)&&(l[0]>l[1]&&l.reverse(),l[0]=Math.max(l[0],s[0]),l[1]=Math.min(l[1],s[1]))},completeVisualOption:function(){t.prototype.completeVisualOption.apply(this,arguments),r.each(this.stateList,function(s){var l=this.option.controller[s].symbolSize;l&&l[0]!==l[1]&&(l[0]=0)},this)},setSelected:function(s){this.option.range=s.slice(),this._resetRange()},getSelected:function(){var s=this.getExtent(),l=e.asc((this.get("range")||[]).slice());return l[0]>s[1]&&(l[0]=s[1]),l[1]>s[1]&&(l[1]=s[1]),l[0]=u[1]||s<=l[1])?"inRange":"outOfRange"},findTargetDataIndices:function(s){var l=[];return this.eachTargetSeries(function(u){var v=[],h=u.getData();h.each(this.getDataDimension(h),function(f,c){s[0]<=f&&f<=s[1]&&v.push(c)},this),l.push({seriesId:u.id,dataIndex:v})},this),l},getVisualMeta:function(s){var l=n(this,"outOfRange",this.getExtent()),u=n(this,"inRange",this.option.range.slice()),v=[];function h(y,_){v.push({value:y,color:s(y,_)})}for(var f=0,c=0,d=u.length,p=l.length;cw[1])break;C.push({color:this.getControllerVisual(D,"color",A),offset:L/T})}return C.push({color:this.getControllerVisual(w[1],"color",A),offset:1}),C},_createBarPoints:function(w,A){var T=this.visualMapModel.itemSize;return[[T[0]-A[0],w[0]],[T[0],w[0]],[T[0],w[1]],[T[0]-A[1],w[1]]]},_createBarGroup:function(w){var A=this._orient,T=this.visualMapModel.get("inverse");return new i.Group(A==="horizontal"&&!T?{scale:w==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:A==="horizontal"&&T?{scale:w==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:A==="vertical"&&!T?{scale:w==="left"?[1,-1]:[-1,-1]}:{scale:w==="left"?[1,1]:[-1,1]})},_updateHandle:function(w,A){if(this._useHandle){var T=this._shapes,C=this.visualMapModel,M=T.handleThumbs,L=T.handleLabels;v([0,1],function(D){var P=M[D];P.setStyle("fill",A.handlesColor[D]),P.position[1]=w[D];var I=i.applyTransform(T.handleLabelPoints[D],i.getTransform(P,this.group));L[D].setStyle({x:I[0],y:I[1],text:C.formatValueText(this._dataInterval[D]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?D===0?"bottom":"top":"left",T.barGroup)})},this)}},_showIndicator:function(w,A,T,C){var M=this.visualMapModel,L=M.getExtent(),D=M.itemSize,P=[0,D[1]],I=u(w,L,P,!0),R=this._shapes,E=R.indicator;if(E){E.position[1]=I,E.attr("invisible",!1),E.setShape("points",y(!!T,C,I,D[1]));var k={convertOpacityToAlpha:!0},B=this.getControllerVisual(w,"color",k);E.setStyle("fill",B);var F=i.applyTransform(R.indicatorLabelPoint,i.getTransform(E,this.group)),V=R.indicatorLabel;V.attr("invisible",!1);var N=this._applyTransform("left",R.barGroup),O=this._orient;V.setStyle({text:(T||"")+M.formatValueText(A),textVerticalAlign:O==="horizontal"?N:"middle",textAlign:O==="horizontal"?"center":N,x:F[0],y:F[1]})}},_enableHoverLinkToSeries:function(){var w=this;this._shapes.barGroup.on("mousemove",function(A){if(w._hovering=!0,!w._dragging){var T=w.visualMapModel.itemSize,C=w._applyTransform([A.offsetX,A.offsetY],w._shapes.barGroup,!0,!0);C[1]=h(f(0,C[1]),T[1]),w._doHoverLinkToSeries(C[1],0<=C[0]&&C[0]<=T[0])}}).on("mouseout",function(){w._hovering=!1,!w._dragging&&w._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var w=this.api.getZr();this.visualMapModel.option.hoverLink?(w.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),w.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(w,A){var T=this.visualMapModel,C=T.itemSize;if(T.option.hoverLink){var M=[0,C[1]],L=T.getExtent();w=h(f(M[0],w),M[1]);var D=_(T,L,M),P=[w-D,w+D],I=u(w,M,L,!0),R=[u(P[0],M,L,!0),u(P[1],M,L,!0)];P[0]M[1]&&(R[1]=1/0),A&&(R[0]===-1/0?this._showIndicator(I,R[1],"< ",D):R[1]===1/0?this._showIndicator(I,R[0],"> ",D):this._showIndicator(I,I,"≈ ",D));var E=this._hoverLinkDataIndices,k=[];(A||x(T))&&(k=this._hoverLinkDataIndices=T.findTargetDataIndices(R));var B=l.compressBatches(E,k);this._dispatchHighDown("downplay",s.makeHighDownBatch(B[0],T)),this._dispatchHighDown("highlight",s.makeHighDownBatch(B[1],T))}},_hoverLinkFromSeriesMouseOver:function(w){var A=w.target,T=this.visualMapModel;if(!(!A||A.dataIndex==null)){var C=this.ecModel.getSeriesByIndex(A.seriesIndex);if(T.isTargetSeries(C)){var M=C.getData(A.dataType),L=M.get(T.getDataDimension(M),A.dataIndex,!0);isNaN(L)||this._showIndicator(L,L)}}},_hideIndicator:function(){var w=this._shapes;w.indicator&&w.indicator.attr("invisible",!0),w.indicatorLabel&&w.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var w=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",s.makeHighDownBatch(w,this.visualMapModel)),w.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var w=this.api.getZr();w.off("mouseover",this._hoverLinkFromSeriesMouseOver),w.off("mouseout",this._hideIndicator)},_applyTransform:function(w,A,T,C){var M=i.getTransform(A,C?null:this.group);return i[r.isArray(w)?"applyTransform":"transformDirection"](w,M,T)},_dispatchHighDown:function(w,A){A&&A.length&&this.api.dispatchAction({type:w,batch:A})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function g(w,A,T,C){return new i.Polygon({shape:{points:w},draggable:!!T,cursor:A,drift:T,onmousemove:function(M){e.stop(M.event)},ondragend:C})}function m(w,A){return w===0?[[0,0],[A,0],[A,-A]]:[[0,0],[A,0],[A,A]]}function y(w,A,T,C){return w?[[0,-h(A,f(T,0))],[d,0],[0,h(A,f(C-T,0))]]:[[0,0],[5,-5],[5,5]]}function _(w,A,T){var C=c/2,M=w.get("hoverLinkDataSize");return M&&(C=u(M,A,T,!0)/2),C}function x(w){var A=w.get("hoverLinkOnHandle");return!!(A==null?w.get("realtime"):A)}function S(w){return w==="vertical"?"ns-resize":"ew-resize"}var b=p;return mw=b,mw}var ZH={},XH;function Z$(){if(XH)return ZH;XH=1;var r=Pe(),t={type:"selectDataRange",event:"dataRangeSelected",update:"update"};return r.registerAction(t,function(e,a){a.eachComponent({mainType:"visualMap",query:e},function(i){i.setSelected(e.selected)})}),ZH}var KH;function X$(){if(KH)return NH;KH=1;var r=Pe(),t=F$();return H$(),q$(),E_e(),k_e(),Z$(),r.registerPreprocessor(t),NH}var QH={},yw,jH;function O_e(){if(jH)return yw;jH=1;var r=It();r.__DEV__;var t=ie(),e=U$(),a=js(),i=W$(),n=st(),o=n.reformIntervals,s=e.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(h,f){s.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var c=this._mode=this._determineMode();l[this._mode].call(this),this._resetSelected(h,f);var d=this.option.categories;this.resetVisual(function(p,g){c==="categories"?(p.mappingMethod="category",p.categories=t.clone(d)):(p.dataExtent=this.getExtent(),p.mappingMethod="piecewise",p.pieceList=t.map(this._pieceList,function(y){var y=t.clone(y);return g!=="inRange"&&(y.visual=null),y}))})},completeVisualOption:function(){var h=this.option,f={},c=a.listVisualTypes(),d=this.isCategory();t.each(h.pieces,function(g){t.each(c,function(m){g.hasOwnProperty(m)&&(f[m]=1)})}),t.each(f,function(g,m){var y=0;t.each(this.stateList,function(_){y|=p(h,_,m)||p(h.target,_,m)},this),!y&&t.each(this.stateList,function(_){(h[_]||(h[_]={}))[m]=i.get(m,_==="inRange"?"active":"inactive",d)})},this);function p(g,m,y){return g&&g[m]&&(t.isObject(g[m])?g[m].hasOwnProperty(y):g[m]===y)}e.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(h,f){var c=this.option,d=this._pieceList,p=(f?c:h).selected||{};if(c.selected=p,t.each(d,function(m,y){var _=this.getSelectedMapKey(m);p.hasOwnProperty(_)||(p[_]=!0)},this),c.selectedMode==="single"){var g=!1;t.each(d,function(m,y){var _=this.getSelectedMapKey(m);p[_]&&(g?p[_]=!1:g=!0)},this)}},getSelectedMapKey:function(h){return this._mode==="categories"?h.value+"":h.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var h=this.option;return h.pieces&&h.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(h){this.option.selected=t.clone(h)},getValueState:function(h){var f=a.findPieceIndex(h,this._pieceList);return f!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[f])]?"inRange":"outOfRange"},findTargetDataIndices:function(h){var f=[];return this.eachTargetSeries(function(c){var d=[],p=c.getData();p.each(this.getDataDimension(p),function(g,m){var y=a.findPieceIndex(g,this._pieceList);y===h&&d.push(m)},this),f.push({seriesId:c.id,dataIndex:d})},this),f},getRepresentValue:function(h){var f;if(this.isCategory())f=h.value;else if(h.value!=null)f=h.value;else{var c=h.interval||[];f=c[0]===-1/0&&c[1]===1/0?0:(c[0]+c[1])/2}return f},getVisualMeta:function(h){if(this.isCategory())return;var f=[],c=[],d=this;function p(_,x){var S=d.getRepresentValue({interval:_});x||(x=d.getValueState(S));var b=h(S,x);_[0]===-1/0?c[0]=b:_[1]===1/0?c[1]=b:f.push({value:_[0],color:b},{value:_[1],color:b})}var g=this._pieceList.slice();if(!g.length)g.push({interval:[-1/0,1/0]});else{var m=g[0].interval[0];m!==-1/0&&g.unshift({interval:[-1/0,m]}),m=g[g.length-1].interval[1],m!==1/0&&g.push({interval:[m,1/0]})}var y=-1/0;return t.each(g,function(_){var x=_.interval;x&&(x[0]>y&&p([y,x[0]],"outOfRange"),p(x.slice()),y=x[1])},this),{stops:f,outerColors:c}}}),l={splitNumber:function(){var h=this.option,f=this._pieceList,c=Math.min(h.precision,20),d=this.getExtent(),p=h.splitNumber;p=Math.max(parseInt(p,10),1),h.splitNumber=p;for(var g=(d[1]-d[0])/p;+g.toFixed(c)!==g&&c<5;)c++;h.precision=c,g=+g.toFixed(c),h.minOpen&&f.push({interval:[-1/0,d[0]],close:[0,0]});for(var m=0,y=d[0];m","≥"][d[0]]];c.text=c.text||this.formatValueText(c.value!=null?c.value:c.interval,!1,p)},this)}};function u(h,f){var c=h.inverse;(h.orient==="vertical"?!c:c)&&f.reverse()}var v=s;return yw=v,yw}var _w,JH;function N_e(){if(JH)return _w;JH=1;var r=ie(),t=$$(),e=qe(),a=ti(),i=a.createSymbol,n=Ut(),o=Y$(),s=t.extend({type:"visualMap.piecewise",doRender:function(){var u=this.group;u.removeAll();var v=this.visualMapModel,h=v.get("textGap"),f=v.textStyleModel,c=f.getFont(),d=f.getTextColor(),p=this._getItemAlign(),g=v.itemSize,m=this._getViewData(),y=m.endsText,_=r.retrieve(v.get("showLabel",!0),!y);y&&this._renderEndsText(u,y[0],g,_,p),r.each(m.viewPieceList,x,this),y&&this._renderEndsText(u,y[1],g,_,p),n.box(v.get("orient"),u,v.get("itemGap")),this.renderBackground(u),this.positionGroup(u);function x(S){var b=S.piece,w=new e.Group;w.onclick=r.bind(this._onItemClick,this,b),this._enableHoverLink(w,S.indexInModelPieceList);var A=v.getRepresentValue(b);if(this._createItemSymbol(w,A,[0,0,g[0],g[1]]),_){var T=this.visualMapModel.getValueState(A);w.add(new e.Text({style:{x:p==="right"?-h:g[0]+h,y:g[1]/2,text:b.text,textVerticalAlign:"middle",textAlign:p,textFont:c,textFill:d,opacity:T==="outOfRange"?.5:1}}))}u.add(w)}},_enableHoverLink:function(u,v){u.on("mouseover",r.bind(h,this,"highlight")).on("mouseout",r.bind(h,this,"downplay"));function h(f){var c=this.visualMapModel;c.option.hoverLink&&this.api.dispatchAction({type:f,batch:o.makeHighDownBatch(c.findTargetDataIndices(v),c)})}},_getItemAlign:function(){var u=this.visualMapModel,v=u.option;if(v.orient==="vertical")return o.getItemAlign(u,this.api,u.itemSize);var h=v.align;return(!h||h==="auto")&&(h="left"),h},_renderEndsText:function(u,v,h,f,c){if(v){var d=new e.Group,p=this.visualMapModel.textStyleModel;d.add(new e.Text({style:{x:f?c==="right"?h[0]:0:h[0]/2,y:h[1]/2,textVerticalAlign:"middle",textAlign:f?c:"center",text:v,textFont:p.getFont(),textFill:p.getTextColor()}})),u.add(d)}},_getViewData:function(){var u=this.visualMapModel,v=r.map(u.getPieceList(),function(d,p){return{piece:d,indexInModelPieceList:p}}),h=u.get("text"),f=u.get("orient"),c=u.get("inverse");return(f==="horizontal"?c:!c)?v.reverse():h&&(h=h.slice().reverse()),{viewPieceList:v,endsText:h}},_createItemSymbol:function(u,v,h){u.add(i(this.getControllerVisual(v,"symbol"),h[0],h[1],h[2],h[3],this.getControllerVisual(v,"color")))},_onItemClick:function(u){var v=this.visualMapModel,h=v.option,f=r.clone(h.selected),c=v.getSelectedMapKey(u);h.selectedMode==="single"?(f[c]=!0,r.each(f,function(d,p){f[p]=p===c})):f[c]=!f[c],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:f})}}),l=s;return _w=l,_w}var e4;function K$(){if(e4)return QH;e4=1;var r=Pe(),t=F$();return H$(),q$(),O_e(),N_e(),Z$(),r.registerPreprocessor(t),QH}var t4;function z_e(){return t4||(t4=1,X$(),K$()),OH}var r4={},a4={},Av={},i4;function Q$(){if(i4)return Av;i4=1;var r=pr(),t="urn:schemas-microsoft-com:vml",e=typeof window>"u"?null:window,a=!1,i=e&&e.document;function n(l){return o(l)}var o;if(i&&!r.canvasSupported)try{!i.namespaces.zrvml&&i.namespaces.add("zrvml",t),o=function(l){return i.createElement("')}}catch(l){o=function(u){return i.createElement("<"+u+' xmlns="'+t+'" class="zrvml">')}}function s(){if(!(a||!i)){a=!0;var l=i.styleSheets;l.length<31?i.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):l[0].addRule(".zrvml","behavior:url(#default#VML)")}}return Av.doc=i,Av.createNode=n,Av.initVML=s,Av}var n4;function B_e(){if(n4)return a4;n4=1;var r=pr(),t=Jt(),e=t.applyTransform,a=rr(),i=en(),n=Da(),o=ug(),s=I9(),l=lf(),u=wu(),v=$s(),h=ur(),f=Au(),c=hg(),d=Q$(),p=f.CMD,g=Math.round,m=Math.sqrt,y=Math.abs,_=Math.cos,x=Math.sin,S=Math.max;if(!r.canvasSupported){var b=",",w="progid:DXImageTransform.Microsoft",A=21600,T=A/2,C=1e5,M=1e3,L=function(se){se.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",se.coordsize=A+","+A,se.coordorigin="0,0"},D=function(se){return String(se).replace(/&/g,"&").replace(/"/g,""")},P=function(se,ve,ye){return"rgb("+[se,ve,ye].join(",")+")"},I=function(se,ve){ve&&se&&ve.parentNode!==se&&se.appendChild(ve)},R=function(se,ve){ve&&se&&ve.parentNode===se&&se.removeChild(ve)},E=function(se,ve,ye){return(parseFloat(se)||0)*C+(parseFloat(ve)||0)*M+ye},k=o.parsePercent,B=function(se,ve,ye){var Me=i.parse(ve);ye=+ye,isNaN(ye)&&(ye=1),Me&&(se.color=P(Me[0],Me[1],Me[2]),se.opacity=ye*Me[3])},F=function(se){var ve=i.parse(se);return[P(ve[0],ve[1],ve[2]),ve[3]]},V=function(se,ve,ye){var Me=ve.fill;if(Me!=null)if(Me instanceof c){var J,ne=0,ue=[0,0],me=0,xe=1,ge=ye.getBoundingRect(),pe=ge.width,Ce=ge.height;if(Me.type==="linear"){J="gradient";var ze=ye.transform,Ve=[Me.x*pe,Me.y*Ce],ke=[Me.x2*pe,Me.y2*Ce];ze&&(e(Ve,Ve,ze),e(ke,ke,ze));var lt=ke[0]-Ve[0],dt=ke[1]-Ve[1];ne=Math.atan2(lt,dt)*180/Math.PI,ne<0&&(ne+=360),ne<1e-6&&(ne=0)}else{J="gradientradial";var Ve=[Me.x*pe,Me.y*Ce],ze=ye.transform,Dt=ye.scale,Tt=pe,Bt=Ce;ue=[(Ve[0]-ge.x)/Tt,(Ve[1]-ge.y)/Bt],ze&&e(Ve,Ve,ze),Tt/=Dt[0]*A,Bt/=Dt[1]*A;var Vt=S(Tt,Bt);me=0/Vt,xe=2*Me.r/Vt-me}var Ke=Me.colorStops.slice();Ke.sort(function(jt,mr){return jt.offset-mr.offset});for(var Et=Ke.length,Lt=[],Zt=[],Xt=0;Xt=2){var fa=Lt[0][0],Rr=Lt[1][0],ta=Lt[0][1]*ve.opacity,vr=Lt[1][1]*ve.opacity;se.type=J,se.method="none",se.focus="100%",se.angle=ne,se.color=fa,se.color2=Rr,se.colors=Zt.join(","),se.opacity=vr,se.opacity2=ta}J==="radial"&&(se.focusposition=ue.join(","))}else B(se,Me,ve.opacity)},N=function(se,ve){ve.lineDash&&(se.dashstyle=ve.lineDash.join(" ")),ve.stroke!=null&&!(ve.stroke instanceof c)&&B(se,ve.stroke,ve.opacity)},O=function(se,ve,ye,Me){var J=ve==="fill",ne=se.getElementsByTagName(ve)[0];ye[ve]!=null&&ye[ve]!=="none"&&(J||!J&&ye.lineWidth)?(se[J?"filled":"stroked"]="true",ye[ve]instanceof c&&R(se,ne),ne||(ne=d.createNode(ve)),J?V(ne,ye,Me):N(ne,ye),I(se,ne)):(se[J?"filled":"stroked"]="false",R(se,ne))},z=[[],[],[]],G=function(se,ve){var ye=p.M,Me=p.C,J=p.L,ne=p.A,ue=p.Q,me=[],xe,ge,pe,Ce,ze,Ve,ke=se.data,lt=se.len();for(Ce=0;Ce.01?vr&&(jt+=270/A):Math.abs(mr-Kt)<1e-4?vr&&jtXt?ce-=270/A:ce+=270/A:vr&&mrKt?re+=270/A:re-=270/A),me.push(be,g(((Xt-Pr)*Et+Vt)*A-T),b,g(((Kt-fa)*Lt+Ke)*A-T),b,g(((Xt+Pr)*Et+Vt)*A-T),b,g(((Kt+fa)*Lt+Ke)*A-T),b,g((jt*Et+Vt)*A-T),b,g((mr*Lt+Ke)*A-T),b,g((re*Et+Vt)*A-T),b,g((ce*Lt+Ke)*A-T)),ze=re,Ve=ce;break;case p.R:var Ae=z[0],De=z[1];Ae[0]=ke[Ce++],Ae[1]=ke[Ce++],De[0]=Ae[0]+ke[Ce++],De[1]=Ae[1]+ke[Ce++],ve&&(e(Ae,Ae,ve),e(De,De,ve)),Ae[0]=g(Ae[0]*A-T),De[0]=g(De[0]*A-T),Ae[1]=g(Ae[1]*A-T),De[1]=g(De[1]*A-T),me.push(" m ",Ae[0],b,Ae[1]," l ",De[0],b,Ae[1]," l ",De[0],b,De[1]," l ",Ae[0],b,De[1]);break;case p.Z:me.push(" x ")}if(xe>0){me.push(ge);for(var je=0;jeY&&(W=0,U={});var ye=X.style,Me;try{ye.font=se,Me=ye.fontFamily.split(",")[0]}catch(J){}ve={style:ye.fontStyle||H,variant:ye.fontVariant||H,weight:ye.fontWeight||H,size:parseFloat(ye.fontSize||12)|0,family:Me||"Microsoft YaHei"},U[se]=ve,W++}return ve},Q;n.$override("measureText",function(se,ve){var ye=d.doc;Q||(Q=ye.createElement("div"),Q.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",d.doc.body.appendChild(Q));try{Q.style.font=ve}catch(Me){}return Q.innerHTML="",Q.appendChild(ye.createTextNode(se)),{width:Q.offsetWidth}});for(var j=new a,te=function(se,ve,ye,Me){var J=this.style;this.__dirty&&o.normalizeTextStyle(J,!0);var ne=J.text;if(ne!=null&&(ne+=""),!!ne){if(J.rich){var ue=n.parseRichText(ne,J);ne=[];for(var me=0;me-m}function x(O,z){var G=z?O.textFill:O.fill;return G!=null&&G!==v}function S(O,z){var G=z?O.textStroke:O.stroke;return G!=null&&G!==v}function b(O,z){z&&w(O,"transform","matrix("+u.call(z,",")+")")}function w(O,z,G){(!G||G.type!=="linear"&&G.type!=="radial")&&O.setAttribute(z,G)}function A(O,z,G){O.setAttributeNS("http://www.w3.org/1999/xlink",z,G)}function T(O,z,G,q){if(x(z,G)){var H=G?z.textFill:z.fill;H=H==="transparent"?v:H,w(O,"fill",H),w(O,"fill-opacity",z.fillOpacity!=null?z.fillOpacity*z.opacity:z.opacity)}else w(O,"fill",v);if(S(z,G)){var U=G?z.textStroke:z.stroke;U=U==="transparent"?v:U,w(O,"stroke",U);var W=G?z.textStrokeWidth:z.lineWidth,Y=!G&&z.strokeNoScale?q.getLineScale():1;w(O,"stroke-width",W/Y),w(O,"paint-order",G?"stroke":"fill"),w(O,"stroke-opacity",z.strokeOpacity!=null?z.strokeOpacity:z.opacity);var X=z.lineDash;X?(w(O,"stroke-dasharray",z.lineDash.join(",")),w(O,"stroke-dashoffset",h(z.lineDashOffset||0))):w(O,"stroke-dasharray",""),z.lineCap&&w(O,"stroke-linecap",z.lineCap),z.lineJoin&&w(O,"stroke-linejoin",z.lineJoin),z.miterLimit&&w(O,"stroke-miterlimit",z.miterLimit)}else w(O,"stroke",v)}function C(O){for(var z=[],G=O.data,q=O.len(),H=0;H=p:-Z>=p),se=Z>0?Z%p:Z%p+p,ve=!1;fe?ve=!0:_(oe)?ve=!1:ve=se>=d==!!le;var ye=y(X+Q*c(te)),Me=y(K+j*f(te));fe&&(le?Z=p-1e-4:Z=-p+1e-4,ve=!0,H===9&&z.push("M",ye,Me));var J=y(X+Q*c(te+Z)),ne=y(K+j*f(te+Z));z.push("A",y(Q),y(j),h(ee*g),+ve,+le,J,ne);break;case l.Z:W="Z";break;case l.R:var J=y(G[H++]),ne=y(G[H++]),ue=y(G[H++]),me=y(G[H++]);z.push("M",J,ne,"L",J+ue,ne,"L",J+ue,ne+me,"L",J,ne+me,"L",J,ne);break}W&&z.push(W);for(var xe=0;xege){for(;me=u&&d+1>=v){for(var p=[],g=0;g=u&&w+1>=v)return t(l,x.components);c[_]=x}h++}for(;h<=f;){var y=m();if(y)return y}},pushComponent:function(n,o,s){var l=n[n.length-1];l&&l.added===o&&l.removed===s?n[n.length-1]={count:l.count+1,added:o,removed:s}:n.push({count:1,added:o,removed:s})},extractCommon:function(n,o,s,l){for(var u=o.length,v=s.length,h=n.newPos,f=h-l,c=0;h+1=0;--_)if(y[_]===m)return!0;return!1}),g):null:g[0]},f.prototype.update=function(d,p){if(d){var g=this.getDefs(!1);if(d[this._domName]&&g.contains(d[this._domName]))typeof p=="function"&&p(d);else{var m=this.add(d);m&&(d[this._domName]=m)}}},f.prototype.addDom=function(d){var p=this.getDefs(!0);p.appendChild(d)},f.prototype.removeDom=function(d){var p=this.getDefs(!1);p&&d[this._domName]&&(p.removeChild(d[this._domName]),d[this._domName]=null)},f.prototype.getDoms=function(){var d=this.getDefs(!1);if(!d)return[];var p=[];return e.each(this._tagNames,function(g){var m=d.getElementsByTagName(g);p=p.concat([].slice.call(m))}),p},f.prototype.markAllUnused=function(){var d=this.getDoms(),p=this;e.each(d,function(g){g[p._markLabel]=v})},f.prototype.markUsed=function(d){d&&(d[this._markLabel]=h)},f.prototype.removeUnused=function(){var d=this.getDefs(!1);if(d){var p=this.getDoms(),g=this;e.each(p,function(m){m[g._markLabel]!==h&&d.removeChild(m)})}},f.prototype.getSvgProxy=function(d){return d instanceof a?s:d instanceof i?l:d instanceof n?u:s},f.prototype.getTextSvgElement=function(d){return d.__textSvgEl},f.prototype.getSvgElement=function(d){return d.__svgEl};var c=f;return ww=c,ww}var Tw,c4;function H_e(){if(c4)return Tw;c4=1;var r=LD(),t=ie(),e=sf(),a=en();function i(o,s){r.call(this,o,s,["linearGradient","radialGradient"],"__gradient_in_use__")}t.inherits(i,r),i.prototype.addWithoutUpdate=function(o,s){if(s&&s.style){var l=this;t.each(["fill","stroke"],function(u){if(s.style[u]&&(s.style[u].type==="linear"||s.style[u].type==="radial")){var v=s.style[u],h=l.getDefs(!0),f;v._dom?(f=v._dom,h.contains(v._dom)||l.addDom(f)):f=l.add(v),l.markUsed(s);var c=f.getAttribute("id");o.setAttribute(u,"url(#"+c+")")}})}},i.prototype.add=function(o){var s;if(o.type==="linear")s=this.createElement("linearGradient");else if(o.type==="radial")s=this.createElement("radialGradient");else return e("Illegal gradient type."),null;return o.id=o.id||this.nextId++,s.setAttribute("id","zr"+this._zrId+"-gradient-"+o.id),this.updateDom(o,s),this.addDom(s),s},i.prototype.update=function(o){var s=this;r.prototype.update.call(this,o,function(){var l=o.type,u=o._dom.tagName;l==="linear"&&u==="linearGradient"||l==="radial"&&u==="radialGradient"?s.updateDom(o,o._dom):(s.removeDom(o),s.add(o))})},i.prototype.updateDom=function(o,s){if(o.type==="linear")s.setAttribute("x1",o.x),s.setAttribute("y1",o.y),s.setAttribute("x2",o.x2),s.setAttribute("y2",o.y2);else if(o.type==="radial")s.setAttribute("cx",o.x),s.setAttribute("cy",o.y),s.setAttribute("r",o.r);else{e("Illegal gradient type.");return}o.global?s.setAttribute("gradientUnits","userSpaceOnUse"):s.setAttribute("gradientUnits","objectBoundingBox"),s.innerHTML="";for(var l=o.colorStops,u=0,v=l.length;u-1){var c=a.parse(f)[3],d=a.toHex(f);h.setAttribute("stop-color","#"+d),h.setAttribute("stop-opacity",c)}else h.setAttribute("stop-color",l[u].color);s.appendChild(h)}o._dom=s},i.prototype.markUsed=function(o){if(o.style){var s=o.style.fill;s&&s._dom&&r.prototype.markUsed.call(this,s._dom),s=o.style.stroke,s&&s._dom&&r.prototype.markUsed.call(this,s._dom)}};var n=i;return Tw=n,Tw}var Aw,d4;function q_e(){if(d4)return Aw;d4=1;var r=LD(),t=ie(),e=ha();function a(n,o){r.call(this,n,o,"clipPath","__clippath_in_use__")}t.inherits(a,r),a.prototype.update=function(n){var o=this.getSvgElement(n);o&&this.updateDom(o,n.__clipPaths,!1);var s=this.getTextSvgElement(n);s&&this.updateDom(s,n.__clipPaths,!0),this.markUsed(n)},a.prototype.updateDom=function(n,o,s){if(o&&o.length>0){var l=this.getDefs(!0),u=o[0],v,h,f=s?"_textDom":"_dom";u[f]?(h=u[f].getAttribute("id"),v=u[f],l.contains(v)||l.appendChild(v)):(h="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,v=this.createElement("clipPath"),v.setAttribute("id",h),l.appendChild(v),u[f]=v);var c=this.getSvgProxy(u);if(u.transform&&u.parent.invTransform&&!s){var d=Array.prototype.slice.call(u.transform);e.mul(u.transform,u.parent.invTransform,u.transform),c.brush(u),u.transform=d}else c.brush(u);var p=this.getSvgElement(u);v.innerHTML="",v.appendChild(p.cloneNode()),n.setAttribute("clip-path","url(#"+h+")"),o.length>1&&this.updateDom(v,o.slice(1),s)}else n&&n.setAttribute("clip-path","none")},a.prototype.markUsed=function(n){var o=this;n.__clipPaths&&t.each(n.__clipPaths,function(s){s._dom&&r.prototype.markUsed.call(o,s._dom),s._textDom&&r.prototype.markUsed.call(o,s._textDom)})};var i=a;return Aw=i,Aw}var Cw,p4;function W_e(){if(p4)return Cw;p4=1;var r=LD(),t=ie();function e(n,o){r.call(this,n,o,["filter"],"__filter_in_use__","_shadowDom")}t.inherits(e,r),e.prototype.addWithoutUpdate=function(n,o){if(o&&a(o.style)){var s;if(o._shadowDom){s=o._shadowDom;var l=this.getDefs(!0);l.contains(o._shadowDom)||this.addDom(s)}else s=this.add(o);this.markUsed(o);var u=s.getAttribute("id");n.style.filter="url(#"+u+")"}},e.prototype.add=function(n){var o=this.createElement("filter");return n._shadowDomId=n._shadowDomId||this.nextId++,o.setAttribute("id","zr"+this._zrId+"-shadow-"+n._shadowDomId),this.updateDom(n,o),this.addDom(o),o},e.prototype.update=function(n,o){var s=o.style;if(a(s)){var l=this;r.prototype.update.call(this,o,function(){l.updateDom(o,o._shadowDom)})}else this.remove(n,o)},e.prototype.remove=function(n,o){o._shadowDomId!=null&&(this.removeDom(n),n.style.filter="")},e.prototype.updateDom=function(n,o){var s=o.getElementsByTagName("feDropShadow");s.length===0?s=this.createElement("feDropShadow"):s=s[0];var l=n.style,u=n.scale&&n.scale[0]||1,v=n.scale&&n.scale[1]||1,h,f,c,d;if(l.shadowBlur||l.shadowOffsetX||l.shadowOffsetY)h=l.shadowOffsetX||0,f=l.shadowOffsetY||0,c=l.shadowBlur,d=l.shadowColor;else if(l.textShadowBlur)h=l.textShadowOffsetX||0,f=l.textShadowOffsetY||0,c=l.textShadowBlur,d=l.textShadowColor;else{this.removeDom(o,l);return}s.setAttribute("dx",h/u),s.setAttribute("dy",f/v),s.setAttribute("flood-color",d);var p=c/2/u,g=c/2/v,m=p+" "+g;s.setAttribute("stdDeviation",m),o.setAttribute("x","-100%"),o.setAttribute("y","-100%"),o.setAttribute("width",Math.ceil(c/2*200)+"%"),o.setAttribute("height",Math.ceil(c/2*200)+"%"),o.appendChild(s),n._shadowDom=o},e.prototype.markUsed=function(n){n._shadowDom&&r.prototype.markUsed.call(this,n._shadowDom)};function a(n){return n&&(n.shadowBlur||n.shadowOffsetX||n.shadowOffsetY||n.textShadowBlur||n.textShadowOffsetX||n.textShadowOffsetY)}var i=e;return Cw=i,Cw}var Mw,g4;function U_e(){if(g4)return Mw;g4=1;var r=MD(),t=r.createElement,e=ie(),a=sf(),i=ur(),n=wu(),o=$s(),s=F_e(),l=H_e(),u=q_e(),v=W_e(),h=DD(),f=h.path,c=h.image,d=h.text;function p(C){return parseInt(C,10)}function g(C){return C instanceof i?f:C instanceof n?c:C instanceof o?d:f}function m(C,M){return M&&C&&M.parentNode!==C}function y(C,M,L){if(m(C,M)&&L){var D=L.nextSibling;D?C.insertBefore(M,D):C.appendChild(M)}}function _(C,M){if(m(C,M)){var L=C.firstChild;L?C.insertBefore(M,L):C.appendChild(M)}}function x(C,M){M&&C&&M.parentNode===C&&C.removeChild(M)}function S(C){return C.__textSvgEl}function b(C){return C.__svgEl}var w=function(C,M,L,D){this.root=C,this.storage=M,this._opts=L=e.extend({},L||{});var P=t("svg");P.setAttribute("xmlns","http://www.w3.org/2000/svg"),P.setAttribute("version","1.1"),P.setAttribute("baseProfile","full"),P.style.cssText="user-select:none;position:absolute;left:0;top:0;";var I=t("g");P.appendChild(I);var R=t("g");P.appendChild(R),this.gradientManager=new l(D,R),this.clipPathManager=new u(D,R),this.shadowManager=new v(D,R);var E=document.createElement("div");E.style.cssText="overflow:hidden;position:relative",this._svgDom=P,this._svgRoot=R,this._backgroundRoot=I,this._viewport=E,C.appendChild(E),E.appendChild(P),this.resize(L.width,L.height),this._visibleList=[]};w.prototype={constructor:w,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var C=this.getViewportRoot();if(C)return{offsetLeft:C.offsetLeft||0,offsetTop:C.offsetTop||0}},refresh:function(){var C=this.storage.getDisplayList(!0);this._paintList(C)},setBackgroundColor:function(C){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var M=t("rect");M.setAttribute("width",this.getWidth()),M.setAttribute("height",this.getHeight()),M.setAttribute("x",0),M.setAttribute("y",0),M.setAttribute("id",0),M.style.fill=C,this._backgroundRoot.appendChild(M),this._backgroundNode=M},_paintList:function(C){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var M=this._svgRoot,L=this._visibleList,D=C.length,P=[],I;for(I=0;I=0;--R)if(I[R]===P)return!0;return!1}),L}else return null;else return L[0]},resize:function(C,M){var L=this._viewport;L.style.display="none";var D=this._opts;if(C!=null&&(D.width=C),M!=null&&(D.height=M),C=this._getSize(0),M=this._getSize(1),L.style.display="",this._width!==C||this._height!==M){this._width=C,this._height=M;var P=L.style;P.width=C+"px",P.height=M+"px";var I=this._svgDom;I.setAttribute("width",C),I.setAttribute("height",M)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",C),this._backgroundNode.setAttribute("height",M))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(C){var M=this._opts,L=["width","height"][C],D=["clientWidth","clientHeight"][C],P=["paddingLeft","paddingTop"][C],I=["paddingRight","paddingBottom"][C];if(M[L]!=null&&M[L]!=="auto")return parseFloat(M[L]);var R=this.root,E=document.defaultView.getComputedStyle(R);return(R[D]||p(E[L])||p(R.style[L]))-(p(E[P])||0)-(p(E[I])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var C=encodeURIComponent(this._svgDom.outerHTML.replace(/>\n\r<"));return"data:image/svg+xml;charset=UTF-8,"+C}};function A(C){return function(){a('In SVG mode painter not support method "'+C+'"')}}e.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(C){w.prototype[C]=A(C)});var T=w;return Mw=T,Mw}var m4;function $_e(){if(m4)return l4;m4=1,DD();var r=vg(),t=r.registerPainter,e=U_e();return t("svg",e),l4}var y4;function b1e(){return y4||(y4=1,(function(r){var t=Pe();(function(){for(var a in t){if(t==null||!t.hasOwnProperty(a)||a==="default"||a==="__esModule")return;r[a]=t[a]}})();var e=t$();(function(){for(var a in e){if(e==null||!e.hasOwnProperty(a)||a==="default"||a==="__esModule")return;r[a]=e[a]}})(),U9(),Age(),Ige(),Oge(),Vge(),Xge(),ume(),pme(),wme(),Bme(),Hme(),$me(),iye(),vye(),pye(),Sye(),Aye(),Pye(),Oye(),Bye(),jye(),i0e(),v0e(),h0e(),w0e(),C0e(),P$(),b$(),I0e(),P0e(),q0e(),Z0e(),Sf(),t_e(),r_e(),h_e(),d_e(),m_e(),x_e(),C_e(),B$(),R_e(),G$(),V$(),z_e(),X$(),K$(),G_e(),$_e()})(Ky)),Ky}ot([x9]);ot([ype]);ot([pre,Ire,Gre,_ae,Iae,gie,Wie,Mne,Xne,toe,voe,ise,Lse,Gse,rle,ole,gle,wle,kle,Gle,Kle,Eue]);ot(jue);ot(Tve);ot(t8);ot(zve);ot(G8);ot(Fve);ot(Kve);ot(zhe);ot(rfe);ot(of);ot(_fe);ot(bfe);ot(Rfe);ot(Vfe);ot(Ufe);ot(Qfe);ot(sce);ot(Ace);ot(q7);ot(W7);ot(Uce);ot(X7);ot(K7);ot(Kce);ot(ude);ot(j7);ot(Bde);ot(S6);ot([x9,j7]);ot(S6);var j$=(function(){function r(t){this.value=t}return r})(),Y_e=(function(){function r(){this._len=0}return r.prototype.insert=function(t){var e=new j$(t);return this.insertEntry(e),e},r.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},r.prototype.remove=function(t){var e=t.prev,a=t.next;e?e.next=a:this.head=a,a?a.prev=e:this.tail=e,t.next=t.prev=null,this._len--},r.prototype.len=function(){return this._len},r.prototype.clear=function(){this.head=this.tail=null,this._len=0},r})(),Z_e=(function(){function r(t){this._list=new Y_e,this._maxSize=10,this._map={},this._maxSize=t}return r.prototype.put=function(t,e){var a=this._list,i=this._map,n=null;if(i[t]==null){var o=a.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=a.head;a.remove(l),delete i[l.key],n=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new j$(e),s.key=t,a.insertEntry(s),i[t]=s}return n},r.prototype.get=function(t){var e=this._map[t],a=this._list;if(e!=null)return e!==a.tail&&(a.remove(e),a.insertEntry(e)),e.value},r.prototype.clear=function(){this._list.clear(),this._map={}},r.prototype.len=function(){return this._list.len()},r})(),ih={linear:function(r){return r},quadraticIn:function(r){return r*r},quadraticOut:function(r){return r*(2-r)},quadraticInOut:function(r){return(r*=2)<1?.5*r*r:-.5*(--r*(r-2)-1)},cubicIn:function(r){return r*r*r},cubicOut:function(r){return--r*r*r+1},cubicInOut:function(r){return(r*=2)<1?.5*r*r*r:.5*((r-=2)*r*r+2)},quarticIn:function(r){return r*r*r*r},quarticOut:function(r){return 1- --r*r*r*r},quarticInOut:function(r){return(r*=2)<1?.5*r*r*r*r:-.5*((r-=2)*r*r*r-2)},quinticIn:function(r){return r*r*r*r*r},quinticOut:function(r){return--r*r*r*r*r+1},quinticInOut:function(r){return(r*=2)<1?.5*r*r*r*r*r:.5*((r-=2)*r*r*r*r+2)},sinusoidalIn:function(r){return 1-Math.cos(r*Math.PI/2)},sinusoidalOut:function(r){return Math.sin(r*Math.PI/2)},sinusoidalInOut:function(r){return .5*(1-Math.cos(Math.PI*r))},exponentialIn:function(r){return r===0?0:Math.pow(1024,r-1)},exponentialOut:function(r){return r===1?1:1-Math.pow(2,-10*r)},exponentialInOut:function(r){return r===0?0:r===1?1:(r*=2)<1?.5*Math.pow(1024,r-1):.5*(-Math.pow(2,-10*(r-1))+2)},circularIn:function(r){return 1-Math.sqrt(1-r*r)},circularOut:function(r){return Math.sqrt(1- --r*r)},circularInOut:function(r){return(r*=2)<1?-.5*(Math.sqrt(1-r*r)-1):.5*(Math.sqrt(1-(r-=2)*r)+1)},elasticIn:function(r){var t,e=.1,a=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=a/4):t=a*Math.asin(1/e)/(2*Math.PI),-(e*Math.pow(2,10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/a)))},elasticOut:function(r){var t,e=.1,a=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=a/4):t=a*Math.asin(1/e)/(2*Math.PI),e*Math.pow(2,-10*r)*Math.sin((r-t)*(2*Math.PI)/a)+1)},elasticInOut:function(r){var t,e=.1,a=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=a/4):t=a*Math.asin(1/e)/(2*Math.PI),(r*=2)<1?-.5*(e*Math.pow(2,10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/a)):e*Math.pow(2,-10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/a)*.5+1)},backIn:function(r){var t=1.70158;return r*r*((t+1)*r-t)},backOut:function(r){var t=1.70158;return--r*r*((t+1)*r+t)+1},backInOut:function(r){var t=2.5949095;return(r*=2)<1?.5*(r*r*((t+1)*r-t)):.5*((r-=2)*r*((t+1)*r+t)+2)},bounceIn:function(r){return 1-ih.bounceOut(1-r)},bounceOut:function(r){return r<1/2.75?7.5625*r*r:r<2/2.75?7.5625*(r-=1.5/2.75)*r+.75:r<2.5/2.75?7.5625*(r-=2.25/2.75)*r+.9375:7.5625*(r-=2.625/2.75)*r+.984375},bounceInOut:function(r){return r<.5?ih.bounceIn(r*2)*.5:ih.bounceOut(r*2-1)*.5+.5}};tY(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(r,t){return r["[object "+t+"]"]=!0,r},{});tY(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(r,t){return r["[object "+t+"Array]"]=!0,r},{});var J$=Array.prototype,eY=J$.slice,X_e=J$.map,_4=(function(){}).constructor,Gc=_4?_4.prototype:null,K_e="__proto__";function Q_e(){for(var r=[],t=0;t-S4&&r=0&&d<=1&&(n[c++]=d)}else{var p=h*h-4*v*f;if(Wc(p)){var g=h/v,d=-s/o+g,m=-g/2;d>=0&&d<=1&&(n[c++]=d),m>=0&&m<=1&&(n[c++]=m)}else if(p>0){var y=dd(p),_=v*s+1.5*o*(-h+y),x=v*s+1.5*o*(-h-y);_<0?_=-Hc(-_,qc):_=Hc(_,qc),x<0?x=-Hc(-x,qc):x=Hc(x,qc);var d=(-s-(_+x))/(3*o);d>=0&&d<=1&&(n[c++]=d)}else{var S=(2*v*s-3*o*h)/(2*dd(v*v*v)),b=Math.acos(S)/3,w=dd(v),A=Math.cos(b),d=(-s-2*w*A)/(3*o),m=(-s+w*(A+b4*Math.sin(b)))/(3*o),T=(-s+w*(A-b4*Math.sin(b)))/(3*o);d>=0&&d<=1&&(n[c++]=d),m>=0&&m<=1&&(n[c++]=m),T>=0&&T<=1&&(n[c++]=T)}}return c}var o1e=/cubic-bezier\(([0-9,\.e ]+)\)/;function rY(r){var t=r&&o1e.exec(r);if(t){var e=t[1].split(","),a=+Fc(e[0]),i=+Fc(e[1]),n=+Fc(e[2]),o=+Fc(e[3]);if(isNaN(a+i+n+o))return;var s=[];return function(l){return l<=0?0:l>=1?1:n1e(0,a,n,1,l,s)&&i1e(0,i,o,1,s[0])}}}var s1e=(function(){function r(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||Lw,this.ondestroy=t.ondestroy||Lw,this.onrestart=t.onrestart||Lw,t.easing&&this.setEasing(t.easing)}return r.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=e;return}var a=this._life,i=t-this._startTime-this._pausedTime,n=i/a;n<0&&(n=0),n=Math.min(n,1);var o=this.easingFunc,s=o?o(n):n;if(this.onframe(s),n===1)if(this.loop){var l=i%a;this._startTime=t-l,this._pausedTime=0,this.onrestart()}else return!0;return!1},r.prototype.pause=function(){this._paused=!0},r.prototype.resume=function(){this._paused=!1},r.prototype.setEasing=function(t){this.easing=t,this.easingFunc=Ag(t)?t:ih[t]||rY(t)},r})(),w4={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function nh(r){return r=Math.round(r),r<0?0:r>255?255:r}function T4(r){return r<0?0:r>1?1:r}function Iw(r){var t=r;return t.length&&t.charAt(t.length-1)==="%"?nh(parseFloat(t)/100*255):nh(parseInt(t,10))}function oh(r){var t=r;return t.length&&t.charAt(t.length-1)==="%"?T4(parseFloat(t)/100):T4(parseFloat(t))}function Pw(r,t,e){return e<0?e+=1:e>1&&(e-=1),e*6<1?r+(t-r)*e*6:e*2<1?t:e*3<2?r+(t-r)*(2/3-e)*6:r}function za(r,t,e,a,i){return r[0]=t,r[1]=e,r[2]=a,r[3]=i,r}function AA(r,t){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r}var aY=new Z_e(20),Uc=null;function Ml(r,t){Uc&&AA(Uc,t),Uc=aY.put(r,Uc||t.slice())}function Rw(r,t){if(r){t=t||[];var e=aY.get(r);if(e)return AA(t,e);r=r+"";var a=r.replace(/ /g,"").toLowerCase();if(a in w4)return AA(t,w4[a]),Ml(r,t),t;var i=a.length;if(a.charAt(0)==="#"){if(i===4||i===5){var n=parseInt(a.slice(1,4),16);if(!(n>=0&&n<=4095)){za(t,0,0,0,1);return}return za(t,(n&3840)>>4|(n&3840)>>8,n&240|(n&240)>>4,n&15|(n&15)<<4,i===5?parseInt(a.slice(4),16)/15:1),Ml(r,t),t}else if(i===7||i===9){var n=parseInt(a.slice(1,7),16);if(!(n>=0&&n<=16777215)){za(t,0,0,0,1);return}return za(t,(n&16711680)>>16,(n&65280)>>8,n&255,i===9?parseInt(a.slice(7),16)/255:1),Ml(r,t),t}return}var o=a.indexOf("("),s=a.indexOf(")");if(o!==-1&&s+1===i){var l=a.substr(0,o),u=a.substr(o+1,s-(o+1)).split(","),v=1;switch(l){case"rgba":if(u.length!==4)return u.length===3?za(t,+u[0],+u[1],+u[2],1):za(t,0,0,0,1);v=oh(u.pop());case"rgb":if(u.length>=3)return za(t,Iw(u[0]),Iw(u[1]),Iw(u[2]),u.length===3?v:oh(u[3])),Ml(r,t),t;za(t,0,0,0,1);return;case"hsla":if(u.length!==4){za(t,0,0,0,1);return}return u[3]=oh(u[3]),A4(u,t),Ml(r,t),t;case"hsl":if(u.length!==3){za(t,0,0,0,1);return}return A4(u,t),Ml(r,t),t;default:return}}za(t,0,0,0,1)}}function A4(r,t){var e=(parseFloat(r[0])%360+360)%360/360,a=oh(r[1]),i=oh(r[2]),n=i<=.5?i*(a+1):i+a-i*a,o=i*2-n;return t=t||[],za(t,nh(Pw(o,n,e+1/3)*255),nh(Pw(o,n,e)*255),nh(Pw(o,n,e-1/3)*255),1),r.length===4&&(t[3]=r[3]),t}var l1e=(function(){function r(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return r})(),u1e=(function(){function r(){this.browser=new l1e,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return r})(),Un=new u1e;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Un.wxa=!0,Un.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?Un.worker=!0:typeof navigator>"u"||navigator.userAgent.indexOf("Node.js?v=1773287522785")===0?(Un.node=!0,Un.svgSupported=!0):v1e(navigator.userAgent,Un);function v1e(r,t){var e=t.browser,a=r.match(/Firefox\/([\d.]+)/),i=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/.+?rv:(([\d.]+))/),n=r.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(r);a&&(e.firefox=!0,e.version=a[1]),i&&(e.ie=!0,e.version=i[1]),n&&(e.edge=!0,e.version=n[1],e.newEdge=+n[1].split(".")[0]>18),o&&(e.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!e.ie&&!e.edge,t.pointerEventsSupported="onpointerdown"in window&&(e.edge||e.ie&&+e.version>=11),t.domSupported=typeof document<"u";var s=document.documentElement.style;t.transform3dSupported=(e.ie&&"transition"in s||e.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||e.ie&&+e.version>=9}function h1e(r){return r.type==="linear"}function f1e(r){return r.type==="radial"}(function(){return Un.hasGlobalWindow&&Ag(window.btoa)?function(r){return window.btoa(unescape(encodeURIComponent(r)))}:typeof Buffer<"u"?function(r){return Buffer.from(r).toString("base64")}:function(r){return null}})();var CA=Array.prototype.slice;function hn(r,t,e){return(t-r)*e+r}function Ew(r,t,e,a){for(var i=t.length,n=0;na?t:r,n=Math.min(e,a),o=i[n-1]||{color:[0,0,0,0],offset:0},s=n;so;if(s)a.length=o;else for(var l=n;l=1},r.prototype.getAdditiveTrack=function(){return this._additiveTrack},r.prototype.addKeyframe=function(t,e,a){this._needsSort=!0;var i=this.keyframes,n=i.length,o=!1,s=M4,l=e;if(pp(e)){var u=g1e(e);s=u,(u===1&&!Dw(e[0])||u===2&&!Dw(e[0][0]))&&(o=!0)}else if(Dw(e)&&!r1e(e))s=Yc;else if(e1e(e))if(!isNaN(+e))s=Yc;else{var v=Rw(e);v&&(l=v,s=Gv)}else if(t1e(e)){var h=j_e({},l);h.colorStops=TA(e.colorStops,function(c){return{offset:c.offset,color:Rw(c.color)}}),h1e(e)?s=MA:f1e(e)&&(s=DA),l=h}n===0?this.valType=s:(s!==this.valType||s===M4)&&(o=!0),this.discrete=this.discrete||o;var f={time:t,value:l,rawValue:e,percent:0};return a&&(f.easing=a,f.easingFunc=Ag(a)?a:ih[a]||rY(a)),i.push(f),f},r.prototype.prepare=function(t,e){var a=this.keyframes;this._needsSort&&a.sort(function(p,g){return p.time-g.time});for(var i=this.valType,n=a.length,o=a[n-1],s=this.discrete,l=Zc(i),u=D4(i),v=0;v=0&&!(o[v].percent<=e);v--);v=f(v,s-2)}else{for(v=h;ve);v++);v=f(v-1,s-2)}d=o[v+1],c=o[v]}if(c&&d){this._lastFr=v,this._lastFrP=e;var g=d.percent-c.percent,m=g===0?1:f((e-c.percent)/g,1);d.easingFunc&&(m=d.easingFunc(m));var y=a?this._additiveValue:u?Mv:t[l];if((Zc(n)||u)&&!y&&(y=this._additiveValue=[]),this.discrete)t[l]=m<1?c.rawValue:d.rawValue;else if(Zc(n))n===gd?Ew(y,c[i],d[i],m):c1e(y,c[i],d[i],m);else if(D4(n)){var _=c[i],x=d[i],S=n===MA;t[l]={type:S?"linear":"radial",x:hn(_.x,x.x,m),y:hn(_.y,x.y,m),colorStops:TA(_.colorStops,function(w,A){var T=x.colorStops[A];return{offset:hn(w.offset,T.offset,m),color:pd(Ew([],w.color,T.color,m))}}),global:x.global},S?(t[l].x2=hn(_.x2,x.x2,m),t[l].y2=hn(_.y2,x.y2,m)):t[l].r=hn(_.r,x.r,m)}else if(u)Ew(y,c[i],d[i],m),a||(t[l]=pd(y));else{var b=hn(c[i],d[i],m);a?this._additiveValue=b:t[l]=b}a&&this._addToTarget(t)}}},r.prototype._addToTarget=function(t){var e=this.valType,a=this.propName,i=this._additiveValue;e===Yc?t[a]=t[a]+i:e===Gv?(Rw(t[a],Mv),$c(Mv,Mv,i,1),t[a]=pd(Mv)):e===gd?$c(t[a],t[a],i,1):e===iY&&C4(t[a],t[a],i,1)},r})(),A1e=(function(){function r(t,e,a,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i){Q_e("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=a}return r.prototype.getMaxTime=function(){return this._maxTime},r.prototype.getDelay=function(){return this._delay},r.prototype.getLoop=function(){return this._loop},r.prototype.getTarget=function(){return this._target},r.prototype.changeTarget=function(t){this._target=t},r.prototype.when=function(t,e,a){return this.whenWithKeys(t,e,x4(e),a)},r.prototype.whenWithKeys=function(t,e,a,i){for(var n=this._tracks,o=0;o0&&l.addKeyframe(0,kw(u),i),this._trackKeys.push(s)}l.addKeyframe(t,kw(e[s]),i)}return this._maxTime=Math.max(this._maxTime,t),this},r.prototype.pause=function(){this._clip.pause(),this._paused=!0},r.prototype.resume=function(){this._clip.resume(),this._paused=!1},r.prototype.isPaused=function(){return!!this._paused},r.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},r.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,a=0;a0)){this._started=1;for(var e=this,a=[],i=this._maxTime||0,n=0;n1){var s=o.pop();n.addKeyframe(s.time,t[i]),n.prepare(this._maxTime,n.getAdditiveTrack())}}}},r})(),y1e;y1e=Un.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(r){return setTimeout(r,16)};var _1e={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function C1e(r,t){if(r==="world"){var e=_1e[t.name];if(e){var a=[e[0],e[1]];t.setCenter(a)}}}function M1e(r,t,e,a,i,n,o){if(i===0)return!1;var s=i,l=0,u=r;if(o>t+s&&o>a+s||or+s&&n>e+s||n"u"&&typeof self<"u"?vt.worker=!0:!vt.hasGlobalWindow||"Deno"in window?(vt.node=!0,vt.svgSupported=!0):pY(navigator.userAgent,vt);function pY(r,t){var e=t.browser,a=r.match(/Firefox\/([\d.]+)/),i=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/.+?rv:(([\d.]+))/),n=r.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(r);a&&(e.firefox=!0,e.version=a[1]),i&&(e.ie=!0,e.version=i[1]),n&&(e.edge=!0,e.version=n[1],e.newEdge=+n[1].split(".")[0]>18),o&&(e.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!e.ie&&!e.edge,t.pointerEventsSupported="onpointerdown"in window&&(e.edge||e.ie&&+e.version>=11),t.domSupported=typeof document<"u";var s=document.documentElement.style;t.transform3dSupported=(e.ie&&"transition"in s||e.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||e.ie&&+e.version>=9}var LA=12,L4="sans-serif",oo=LA+"px "+L4,gY=20,mY=100,yY="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function _Y(r){var t={};if(typeof JSON>"u")return t;for(var e=0;e=0)s=o*e.length;else for(var l=0;l>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",a[l]+":0",i[u]+":0",a[1-l]+":auto",i[1-u]+":auto",""].join("!important;"),r.appendChild(o),e.push(o)}return e}function FY(r,t,e){for(var a=e?"invTrans":"trans",i=t[a],n=t.srcCoords,o=[],s=[],l=!0,u=0;u<4;u++){var v=r[u].getBoundingClientRect(),h=2*u,f=v.left,c=v.top;o.push(f,c),l=l&&n&&f===n[h]&&c===n[h+1],s.push(r[u].offsetLeft,r[u].offsetTop)}return l&&i?i:(t.srcCoords=o,t[a]=e?ED(s,o):ED(o,s))}function F4(r){return r.nodeName.toUpperCase()==="CANVAS"}var HY=/([&<>"'])/g,qY={"&":"&","<":"<",">":">",'"':""","'":"'"};function Zr(r){return r==null?"":(r+"").replace(HY,function(t,e){return qY[e]})}var WY=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ig=[],UY=vt.browser.firefox&&+vt.browser.version.split(".")[0]<39;function Gw(r,t,e,a){return e=e||{},a?OD(r,t,e):UY&&t.layerX!=null&&t.layerX!==t.offsetX?(e.zrX=t.layerX,e.zrY=t.layerY):t.offsetX!=null?(e.zrX=t.offsetX,e.zrY=t.offsetY):OD(r,t,e),e}function OD(r,t,e){if(vt.domSupported&&r.getBoundingClientRect){var a=t.clientX,i=t.clientY;if(F4(r)){var n=r.getBoundingClientRect();e.zrX=a-n.left,e.zrY=i-n.top;return}else if(Vw(Ig,r,a,i)){e.zrX=Ig[0],e.zrY=Ig[1];return}}e.zrX=e.zrY=0}function NA(r){return r||window.event}function Ba(r,t,e){if(t=NA(t),t.zrX!=null)return t;var a=t.type,i=a&&a.indexOf("touch")>=0;if(i){var o=a!=="touchend"?t.targetTouches[0]:t.changedTouches[0];o&&Gw(r,o,t,e)}else{Gw(r,t,t,e);var n=$Y(t);t.zrDelta=n?n/120:-(t.detail||0)/3}var s=t.button;return t.which==null&&s!==void 0&&WY.test(t.type)&&(t.which=s&1?1:s&2?3:s&4?2:0),t}function $Y(r){var t=r.wheelDelta;if(t)return t;var e=r.deltaX,a=r.deltaY;if(e==null||a==null)return t;var i=Math.abs(a!==0?a:e),n=a>0?-1:a<0?1:e>0?-1:1;return 3*i*n}function Fw(r,t,e,a){r.addEventListener(t,e,a)}function YY(r,t,e,a){r.removeEventListener(t,e,a)}var _n=function(r){r.preventDefault(),r.stopPropagation(),r.cancelBubble=!0};function ND(r){return r.which===2||r.which===3}var ZY=(function(){function r(){this._track=[]}return r.prototype.recognize=function(t,e,a){return this._doTrack(t,e,a),this._recognize(t)},r.prototype.clear=function(){return this._track.length=0,this},r.prototype._doTrack=function(t,e,a){var i=t.touches;if(i){for(var n={points:[],touches:[],target:e,event:t},o=0,s=i.length;o1&&a&&a.length>1){var n=zD(a)/zD(i);!isFinite(n)&&(n=1),t.pinchScale=n;var o=XY(a);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:r[0].target,event:t}}}}};function xa(){return[1,0,0,1,0,0]}function Vh(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function Sp(r,t){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r[4]=t[4],r[5]=t[5],r}function Wi(r,t,e){var a=t[0]*e[0]+t[2]*e[1],i=t[1]*e[0]+t[3]*e[1],n=t[0]*e[2]+t[2]*e[3],o=t[1]*e[2]+t[3]*e[3],s=t[0]*e[4]+t[2]*e[5]+t[4],l=t[1]*e[4]+t[3]*e[5]+t[5];return r[0]=a,r[1]=i,r[2]=n,r[3]=o,r[4]=s,r[5]=l,r}function yi(r,t,e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r[4]=t[4]+e[0],r[5]=t[5]+e[1],r}function co(r,t,e,a){a===void 0&&(a=[0,0]);var i=t[0],n=t[2],o=t[4],s=t[1],l=t[3],u=t[5],v=Math.sin(e),h=Math.cos(e);return r[0]=i*h+s*v,r[1]=-i*v+s*h,r[2]=n*h+l*v,r[3]=-n*v+h*l,r[4]=h*(o-a[0])+v*(u-a[1])+a[0],r[5]=h*(u-a[1])-v*(o-a[0])+a[1],r}function bp(r,t,e){var a=e[0],i=e[1];return r[0]=t[0]*a,r[1]=t[1]*i,r[2]=t[2]*a,r[3]=t[3]*i,r[4]=t[4]*a,r[5]=t[5]*i,r}function Ns(r,t){var e=t[0],a=t[2],i=t[4],n=t[1],o=t[3],s=t[5],l=e*o-n*a;return l?(l=1/l,r[0]=o*l,r[1]=-n*l,r[2]=-a*l,r[3]=e*l,r[4]=(a*s-o*i)*l,r[5]=(n*i-e*s)*l,r):null}function H4(r){var t=xa();return Sp(t,r),t}const KY=Object.freeze(Object.defineProperty({__proto__:null,clone:H4,copy:Sp,create:xa,identity:Vh,invert:Ns,mul:Wi,rotate:co,scale:bp,translate:yi},Symbol.toStringTag,{value:"Module"}));var rt=(function(){function r(t,e){this.x=t||0,this.y=e||0}return r.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},r.prototype.clone=function(){return new r(this.x,this.y)},r.prototype.set=function(t,e){return this.x=t,this.y=e,this},r.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},r.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},r.prototype.scale=function(t){this.x*=t,this.y*=t},r.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},r.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},r.prototype.dot=function(t){return this.x*t.x+this.y*t.y},r.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},r.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},r.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},r.prototype.distance=function(t){var e=this.x-t.x,a=this.y-t.y;return Math.sqrt(e*e+a*a)},r.prototype.distanceSquare=function(t){var e=this.x-t.x,a=this.y-t.y;return e*e+a*a},r.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},r.prototype.transform=function(t){if(t){var e=this.x,a=this.y;return this.x=t[0]*e+t[2]*a+t[4],this.y=t[1]*e+t[3]*a+t[5],this}},r.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},r.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},r.set=function(t,e,a){t.x=e,t.y=a},r.copy=function(t,e){t.x=e.x,t.y=e.y},r.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},r.lenSquare=function(t){return t.x*t.x+t.y*t.y},r.dot=function(t,e){return t.x*e.x+t.y*e.y},r.add=function(t,e,a){t.x=e.x+a.x,t.y=e.y+a.y},r.sub=function(t,e,a){t.x=e.x-a.x,t.y=e.y-a.y},r.scale=function(t,e,a){t.x=e.x*a,t.y=e.y*a},r.scaleAndAdd=function(t,e,a,i){t.x=e.x+a.x*i,t.y=e.y+a.y*i},r.lerp=function(t,e,a,i){var n=1-i;t.x=n*e.x+i*a.x,t.y=n*e.y+i*a.y},r})(),Af=Math.min,Cf=Math.max,Co=new rt,Mo=new rt,Do=new rt,Lo=new rt,ku=new rt,Ou=new rt,at=(function(){function r(t,e,a,i){a<0&&(t=t+a,a=-a),i<0&&(e=e+i,i=-i),this.x=t,this.y=e,this.width=a,this.height=i}return r.prototype.union=function(t){var e=Af(t.x,this.x),a=Af(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Cf(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=Cf(t.y+t.height,this.y+this.height)-a:this.height=t.height,this.x=e,this.y=a},r.prototype.applyTransform=function(t){r.applyTransform(this,this,t)},r.prototype.calculateTransform=function(t){var e=this,a=t.width/e.width,i=t.height/e.height,n=xa();return yi(n,n,[-e.x,-e.y]),bp(n,n,[a,i]),yi(n,n,[t.x,t.y]),n},r.prototype.intersect=function(t,e){if(!t)return!1;t instanceof r||(t=r.create(t));var a=this,i=a.x,n=a.x+a.width,o=a.y,s=a.y+a.height,l=t.x,u=t.x+t.width,v=t.y,h=t.y+t.height,f=!(nd&&(d=_,pd&&(d=x,m=a.x&&t<=a.x+a.width&&e>=a.y&&e<=a.y+a.height},r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height)},r.prototype.copy=function(t){r.copy(this,t)},r.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},r.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},r.prototype.isZero=function(){return this.width===0||this.height===0},r.create=function(t){return new r(t.x,t.y,t.width,t.height)},r.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},r.applyTransform=function(t,e,a){if(!a){t!==e&&r.copy(t,e);return}if(a[1]<1e-5&&a[1]>-1e-5&&a[2]<1e-5&&a[2]>-1e-5){var i=a[0],n=a[3],o=a[4],s=a[5];t.x=e.x*i+o,t.y=e.y*n+s,t.width=e.width*i,t.height=e.height*n,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}Co.x=Do.x=e.x,Co.y=Lo.y=e.y,Mo.x=Lo.x=e.x+e.width,Mo.y=Do.y=e.y+e.height,Co.transform(a),Lo.transform(a),Mo.transform(a),Do.transform(a),t.x=Af(Co.x,Mo.x,Do.x,Lo.x),t.y=Af(Co.y,Mo.y,Do.y,Lo.y);var l=Cf(Co.x,Mo.x,Do.x,Lo.x),u=Cf(Co.y,Mo.y,Do.y,Lo.y);t.width=l-t.x,t.height=u-t.y},r})(),q4="silent";function QY(r,t,e){return{type:r,event:e,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:e.zrX,offsetY:e.zrY,gestureEvent:e.gestureEvent,pinchX:e.pinchX,pinchY:e.pinchY,pinchScale:e.pinchScale,wheelDelta:e.zrDelta,zrByTouch:e.zrByTouch,which:e.which,stop:jY}}function jY(){_n(this.event)}var JY=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.handler=null,e}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t})(Xa),Nu=(function(){function r(t,e){this.x=t,this.y=e}return r})(),eZ=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Rg=new at(0,0,0,0),W4=(function(r){he(t,r);function t(e,a,i,n,o){var s=r.call(this)||this;return s._hovered=new Nu(0,0),s.storage=e,s.painter=a,s.painterRoot=n,s._pointerSize=o,i=i||new JY,s.proxy=null,s.setHandlerProxy(i),s._draggingMgr=new zY(s),s}return t.prototype.setHandlerProxy=function(e){this.proxy&&this.proxy.dispose(),e&&($(eZ,function(a){e.on&&e.on(a,this[a],this)},this),e.handler=this),this.proxy=e},t.prototype.mousemove=function(e){var a=e.zrX,i=e.zrY,n=U4(this,a,i),o=this._hovered,s=o.target;s&&!s.__zr&&(o=this.findHover(o.x,o.y),s=o.target);var l=this._hovered=n?new Nu(a,i):this.findHover(a,i),u=l.target,v=this.proxy;v.setCursor&&v.setCursor(u?u.cursor:"default"),s&&u!==s&&this.dispatchToElement(o,"mouseout",e),this.dispatchToElement(l,"mousemove",e),u&&u!==s&&this.dispatchToElement(l,"mouseover",e)},t.prototype.mouseout=function(e){var a=e.zrEventControl;a!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",e),a!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:e})},t.prototype.resize=function(){this._hovered=new Nu(0,0)},t.prototype.dispatch=function(e,a){var i=this[e];i&&i.call(this,a)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(e){var a=this.proxy;a.setCursor&&a.setCursor(e)},t.prototype.dispatchToElement=function(e,a,i){e=e||{};var n=e.target;if(!(n&&n.silent)){for(var o="on"+a,s=QY(a,e,i);n&&(n[o]&&(s.cancelBubble=!!n[o].call(n,s)),n.trigger(a,s),n=n.__hostTarget?n.__hostTarget:n.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(a,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(l){typeof l[o]=="function"&&l[o].call(l,s),l.trigger&&l.trigger(a,s)}))}},t.prototype.findHover=function(e,a,i){var n=this.storage.getDisplayList(),o=new Nu(e,a);if(BD(n,o,e,a,i),this._pointerSize&&!o.target){for(var s=[],l=this._pointerSize,u=l/2,v=new at(e-u,a-u,l,l),h=n.length-1;h>=0;h--){var f=n[h];f!==i&&!f.ignore&&!f.ignoreCoarsePointer&&(!f.parent||!f.parent.ignoreCoarsePointer)&&(Rg.copy(f.getBoundingRect()),f.transform&&Rg.applyTransform(f.transform),Rg.intersect(v)&&s.push(f))}if(s.length)for(var c=4,d=Math.PI/12,p=Math.PI*2,g=0;g4)return;this._downPoint=null}this.dispatchToElement(n,r,t)}});function tZ(r,t,e){if(r[r.rectHover?"rectContain":"contain"](t,e)){for(var a=r,i=void 0,n=!1;a;){if(a.ignoreClip&&(n=!0),!n){var o=a.getClipPath();if(o&&!o.contain(t,e))return!1}a.silent&&(i=!0);var s=a.__hostTarget;a=s||a.parent}return i?q4:!0}return!1}function BD(r,t,e,a,i){for(var n=r.length-1;n>=0;n--){var o=r[n],s=void 0;if(o!==i&&!o.ignore&&(s=tZ(o,e,a))&&(!t.topTarget&&(t.topTarget=o),s!==q4)){t.target=o;break}}}function U4(r,t,e){var a=r.painter;return t<0||t>a.getWidth()||e<0||e>a.getHeight()}var $4=32,zu=7;function rZ(r){for(var t=0;r>=$4;)t|=r&1,r>>=1;return r+t}function VD(r,t,e,a){var i=t+1;if(i===e)return 1;if(a(r[i++],r[t])<0){for(;i=0;)i++;return i-t}function aZ(r,t,e){for(e--;t>>1,i(n,r[l])<0?s=l:o=l+1;var u=a-o;switch(u){case 3:r[o+3]=r[o+2];case 2:r[o+2]=r[o+1];case 1:r[o+1]=r[o];break;default:for(;u>0;)r[o+u]=r[o+u-1],u--}r[o]=n}}function Eg(r,t,e,a,i,n){var o=0,s=0,l=1;if(n(r,t[e+i])>0){for(s=a-i;l0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}else{for(s=i+1;ls&&(l=s);var u=o;o=i-l,l=i-u}for(o++;o>>1);n(r,t[e+v])>0?o=v+1:l=v}return l}function kg(r,t,e,a,i,n){var o=0,s=0,l=1;if(n(r,t[e+i])<0){for(s=i+1;ls&&(l=s);var u=o;o=i-l,l=i-u}else{for(s=a-i;l=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}for(o++;o>>1);n(r,t[e+v])<0?l=v:o=v+1}return l}function iZ(r,t){var e=zu,a,i,n=0,o=[];a=[],i=[];function s(c,d){a[n]=c,i[n]=d,n+=1}function l(){for(;n>1;){var c=n-2;if(c>=1&&i[c-1]<=i[c]+i[c+1]||c>=2&&i[c-2]<=i[c]+i[c-1])i[c-1]i[c+1])break;v(c)}}function u(){for(;n>1;){var c=n-2;c>0&&i[c-1]=zu||w>=zu);if(A)break;S<0&&(S=0),S+=2}if(e=S,e<1&&(e=1),d===1){for(m=0;m=0;m--)r[b+m]=r[S+m];r[x]=o[_];return}for(var w=e;;){var A=0,T=0,C=!1;do if(t(o[_],r[y])<0){if(r[x--]=r[y--],A++,T=0,--d===0){C=!0;break}}else if(r[x--]=o[_--],T++,A=0,--g===1){C=!0;break}while((A|T)=0;m--)r[b+m]=r[S+m];if(d===0){C=!0;break}}if(r[x--]=o[_--],--g===1){C=!0;break}if(T=g-Eg(r[y],o,0,g,g-1,t),T!==0){for(x-=T,_-=T,g-=T,b=x+1,S=_+1,m=0;m=zu||T>=zu);if(C)break;w<0&&(w=0),w+=2}if(e=w,e<1&&(e=1),g===1){for(x-=d,y-=d,b=x+1,S=y+1,m=d-1;m>=0;m--)r[b+m]=r[S+m];r[x]=o[_]}else{if(g===0)throw new Error;for(S=x-(g-1),m=0;ms&&(l=s),GD(r,e,e+l,e+n,t),n=l}o.pushRun(e,n),o.mergeRuns(),i-=n,e+=n}while(i!==0);o.forceMergeRuns()}}var ba=1,Dv=2,Dl=4,FD=!1;function Og(){FD||(FD=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function HD(r,t){return r.zlevel===t.zlevel?r.z===t.z?r.z2-t.z2:r.z-t.z:r.zlevel-t.zlevel}var nZ=(function(){function r(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=HD}return r.prototype.traverse=function(t,e){for(var a=0;a0&&(v.__clipPaths=[]),isNaN(v.z)&&(Og(),v.z=0),isNaN(v.z2)&&(Og(),v.z2=0),isNaN(v.zlevel)&&(Og(),v.zlevel=0),this._displayList[this._displayListLen++]=v}var h=t.getDecalElement&&t.getDecalElement();h&&this._updateAndAddDisplayable(h,e,a);var f=t.getTextGuideLine();f&&this._updateAndAddDisplayable(f,e,a);var c=t.getTextContent();c&&this._updateAndAddDisplayable(c,e,a)}},r.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},r.prototype.delRoot=function(t){if(t instanceof Array){for(var e=0,a=t.length;e=0&&this._roots.splice(i,1)},r.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},r.prototype.getRoots=function(){return this._roots},r.prototype.dispose=function(){this._displayList=null,this._roots=null},r})(),xd;xd=vt.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(r){return setTimeout(r,16)};var Wv={linear:function(r){return r},quadraticIn:function(r){return r*r},quadraticOut:function(r){return r*(2-r)},quadraticInOut:function(r){return(r*=2)<1?.5*r*r:-.5*(--r*(r-2)-1)},cubicIn:function(r){return r*r*r},cubicOut:function(r){return--r*r*r+1},cubicInOut:function(r){return(r*=2)<1?.5*r*r*r:.5*((r-=2)*r*r+2)},quarticIn:function(r){return r*r*r*r},quarticOut:function(r){return 1- --r*r*r*r},quarticInOut:function(r){return(r*=2)<1?.5*r*r*r*r:-.5*((r-=2)*r*r*r-2)},quinticIn:function(r){return r*r*r*r*r},quinticOut:function(r){return--r*r*r*r*r+1},quinticInOut:function(r){return(r*=2)<1?.5*r*r*r*r*r:.5*((r-=2)*r*r*r*r+2)},sinusoidalIn:function(r){return 1-Math.cos(r*Math.PI/2)},sinusoidalOut:function(r){return Math.sin(r*Math.PI/2)},sinusoidalInOut:function(r){return .5*(1-Math.cos(Math.PI*r))},exponentialIn:function(r){return r===0?0:Math.pow(1024,r-1)},exponentialOut:function(r){return r===1?1:1-Math.pow(2,-10*r)},exponentialInOut:function(r){return r===0?0:r===1?1:(r*=2)<1?.5*Math.pow(1024,r-1):.5*(-Math.pow(2,-10*(r-1))+2)},circularIn:function(r){return 1-Math.sqrt(1-r*r)},circularOut:function(r){return Math.sqrt(1- --r*r)},circularInOut:function(r){return(r*=2)<1?-.5*(Math.sqrt(1-r*r)-1):.5*(Math.sqrt(1-(r-=2)*r)+1)},elasticIn:function(r){var t,e=.1,a=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=a/4):t=a*Math.asin(1/e)/(2*Math.PI),-(e*Math.pow(2,10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/a)))},elasticOut:function(r){var t,e=.1,a=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=a/4):t=a*Math.asin(1/e)/(2*Math.PI),e*Math.pow(2,-10*r)*Math.sin((r-t)*(2*Math.PI)/a)+1)},elasticInOut:function(r){var t,e=.1,a=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=a/4):t=a*Math.asin(1/e)/(2*Math.PI),(r*=2)<1?-.5*(e*Math.pow(2,10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/a)):e*Math.pow(2,-10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/a)*.5+1)},backIn:function(r){var t=1.70158;return r*r*((t+1)*r-t)},backOut:function(r){var t=1.70158;return--r*r*((t+1)*r+t)+1},backInOut:function(r){var t=2.5949095;return(r*=2)<1?.5*(r*r*((t+1)*r-t)):.5*((r-=2)*r*((t+1)*r+t)+2)},bounceIn:function(r){return 1-Wv.bounceOut(1-r)},bounceOut:function(r){return r<1/2.75?7.5625*r*r:r<2/2.75?7.5625*(r-=1.5/2.75)*r+.75:r<2.5/2.75?7.5625*(r-=2.25/2.75)*r+.9375:7.5625*(r-=2.625/2.75)*r+.984375},bounceInOut:function(r){return r<.5?Wv.bounceIn(r*2)*.5:Wv.bounceOut(r*2-1)*.5+.5}},Mf=Math.pow,eo=Math.sqrt,Sd=1e-8,Y4=1e-4,qD=eo(3),Df=1/3,Bi=fo(),Ha=fo(),Bl=fo();function Yn(r){return r>-Sd&&rSd||r<-Sd}function br(r,t,e,a,i){var n=1-i;return n*n*(n*r+3*i*t)+i*i*(i*a+3*n*e)}function WD(r,t,e,a,i){var n=1-i;return 3*(((t-r)*n+2*(e-t)*i)*n+(a-e)*i*i)}function bd(r,t,e,a,i,n){var o=a+3*(t-e)-r,s=3*(e-t*2+r),l=3*(t-r),u=r-i,v=s*s-3*o*l,h=s*l-9*o*u,f=l*l-3*s*u,c=0;if(Yn(v)&&Yn(h))if(Yn(s))n[0]=0;else{var d=-l/s;d>=0&&d<=1&&(n[c++]=d)}else{var p=h*h-4*v*f;if(Yn(p)){var g=h/v,d=-s/o+g,m=-g/2;d>=0&&d<=1&&(n[c++]=d),m>=0&&m<=1&&(n[c++]=m)}else if(p>0){var y=eo(p),_=v*s+1.5*o*(-h+y),x=v*s+1.5*o*(-h-y);_<0?_=-Mf(-_,Df):_=Mf(_,Df),x<0?x=-Mf(-x,Df):x=Mf(x,Df);var d=(-s-(_+x))/(3*o);d>=0&&d<=1&&(n[c++]=d)}else{var S=(2*v*s-3*o*h)/(2*eo(v*v*v)),b=Math.acos(S)/3,w=eo(v),A=Math.cos(b),d=(-s-2*w*A)/(3*o),m=(-s+w*(A+qD*Math.sin(b)))/(3*o),T=(-s+w*(A-qD*Math.sin(b)))/(3*o);d>=0&&d<=1&&(n[c++]=d),m>=0&&m<=1&&(n[c++]=m),T>=0&&T<=1&&(n[c++]=T)}}return c}function X4(r,t,e,a,i){var n=6*e-12*t+6*r,o=9*t+3*a-3*r-9*e,s=3*t-3*r,l=0;if(Yn(o)){if(Z4(n)){var u=-s/n;u>=0&&u<=1&&(i[l++]=u)}}else{var v=n*n-4*o*s;if(Yn(v))i[0]=-n/(2*o);else if(v>0){var h=eo(v),u=(-n+h)/(2*o),f=(-n-h)/(2*o);u>=0&&u<=1&&(i[l++]=u),f>=0&&f<=1&&(i[l++]=f)}}return l}function so(r,t,e,a,i,n){var o=(t-r)*i+r,s=(e-t)*i+t,l=(a-e)*i+e,u=(s-o)*i+o,v=(l-s)*i+s,h=(v-u)*i+u;n[0]=r,n[1]=o,n[2]=u,n[3]=h,n[4]=h,n[5]=v,n[6]=l,n[7]=a}function K4(r,t,e,a,i,n,o,s,l,u,v){var h,f=.005,c=1/0,d,p,g,m;Bi[0]=l,Bi[1]=u;for(var y=0;y<1;y+=.05)Ha[0]=br(r,e,i,o,y),Ha[1]=br(t,a,n,s,y),g=Jn(Bi,Ha),g=0&&g=0&&u<=1&&(i[l++]=u)}}else{var v=o*o-4*n*s;if(Yn(v)){var u=-o/(2*n);u>=0&&u<=1&&(i[l++]=u)}else if(v>0){var h=eo(v),u=(-o+h)/(2*n),f=(-o-h)/(2*n);u>=0&&u<=1&&(i[l++]=u),f>=0&&f<=1&&(i[l++]=f)}}return l}function Q4(r,t,e){var a=r+e-2*t;return a===0?.5:(r-t)/a}function uh(r,t,e,a,i){var n=(t-r)*a+r,o=(e-t)*a+t,s=(o-n)*a+n;i[0]=r,i[1]=n,i[2]=s,i[3]=s,i[4]=o,i[5]=e}function j4(r,t,e,a,i,n,o,s,l){var u,v=.005,h=1/0;Bi[0]=o,Bi[1]=s;for(var f=0;f<1;f+=.05){Ha[0]=kr(r,e,i,f),Ha[1]=kr(t,a,n,f);var c=Jn(Bi,Ha);c=0&&c=1?1:bd(0,a,n,1,l,s)&&br(0,i,o,1,s[0])}}}var vZ=(function(){function r(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||ir,this.ondestroy=t.ondestroy||ir,this.onrestart=t.onrestart||ir,t.easing&&this.setEasing(t.easing)}return r.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=e;return}var a=this._life,i=t-this._startTime-this._pausedTime,n=i/a;n<0&&(n=0),n=Math.min(n,1);var o=this.easingFunc,s=o?o(n):n;if(this.onframe(s),n===1)if(this.loop){var l=i%a;this._startTime=t-l,this._pausedTime=0,this.onrestart()}else return!0;return!1},r.prototype.pause=function(){this._paused=!0},r.prototype.resume=function(){this._paused=!1},r.prototype.setEasing=function(t){this.easing=t,this.easingFunc=He(t)?t:Wv[t]||zA(t)},r})(),J4=(function(){function r(t){this.value=t}return r})(),hZ=(function(){function r(){this._len=0}return r.prototype.insert=function(t){var e=new J4(t);return this.insertEntry(e),e},r.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},r.prototype.remove=function(t){var e=t.prev,a=t.next;e?e.next=a:this.head=a,a?a.prev=e:this.tail=e,t.next=t.prev=null,this._len--},r.prototype.len=function(){return this._len},r.prototype.clear=function(){this.head=this.tail=null,this._len=0},r})(),Gh=(function(){function r(t){this._list=new hZ,this._maxSize=10,this._map={},this._maxSize=t}return r.prototype.put=function(t,e){var a=this._list,i=this._map,n=null;if(i[t]==null){var o=a.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=a.head;a.remove(l),delete i[l.key],n=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new J4(e),s.key=t,a.insertEntry(s),i[t]=s}return n},r.prototype.get=function(t){var e=this._map[t],a=this._list;if(e!=null)return e!==a.tail&&(a.remove(e),a.insertEntry(e)),e.value},r.prototype.clear=function(){this._list.clear(),this._map={}},r.prototype.len=function(){return this._list.len()},r})(),UD={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function di(r){return r=Math.round(r),r<0?0:r>255?255:r}function fZ(r){return r=Math.round(r),r<0?0:r>360?360:r}function vh(r){return r<0?0:r>1?1:r}function Ng(r){var t=r;return t.length&&t.charAt(t.length-1)==="%"?di(parseFloat(t)/100*255):di(parseInt(t,10))}function _s(r){var t=r;return t.length&&t.charAt(t.length-1)==="%"?vh(parseFloat(t)/100):vh(parseFloat(t))}function zg(r,t,e){return e<0?e+=1:e>1&&(e-=1),e*6<1?r+(t-r)*e*6:e*2<1?t:e*3<2?r+(t-r)*(2/3-e)*6:r}function Zn(r,t,e){return r+(t-r)*e}function Na(r,t,e,a,i){return r[0]=t,r[1]=e,r[2]=a,r[3]=i,r}function qw(r,t){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r}var eq=new Gh(20),Lf=null;function tl(r,t){Lf&&qw(Lf,t),Lf=eq.put(r,Lf||t.slice())}function sa(r,t){if(r){t=t||[];var e=eq.get(r);if(e)return qw(t,e);r=r+"";var a=r.replace(/ /g,"").toLowerCase();if(a in UD)return qw(t,UD[a]),tl(r,t),t;var i=a.length;if(a.charAt(0)==="#"){if(i===4||i===5){var n=parseInt(a.slice(1,4),16);if(!(n>=0&&n<=4095)){Na(t,0,0,0,1);return}return Na(t,(n&3840)>>4|(n&3840)>>8,n&240|(n&240)>>4,n&15|(n&15)<<4,i===5?parseInt(a.slice(4),16)/15:1),tl(r,t),t}else if(i===7||i===9){var n=parseInt(a.slice(1,7),16);if(!(n>=0&&n<=16777215)){Na(t,0,0,0,1);return}return Na(t,(n&16711680)>>16,(n&65280)>>8,n&255,i===9?parseInt(a.slice(7),16)/255:1),tl(r,t),t}return}var o=a.indexOf("("),s=a.indexOf(")");if(o!==-1&&s+1===i){var l=a.substr(0,o),u=a.substr(o+1,s-(o+1)).split(","),v=1;switch(l){case"rgba":if(u.length!==4)return u.length===3?Na(t,+u[0],+u[1],+u[2],1):Na(t,0,0,0,1);v=_s(u.pop());case"rgb":if(u.length>=3)return Na(t,Ng(u[0]),Ng(u[1]),Ng(u[2]),u.length===3?v:_s(u[3])),tl(r,t),t;Na(t,0,0,0,1);return;case"hsla":if(u.length!==4){Na(t,0,0,0,1);return}return u[3]=_s(u[3]),Ww(u,t),tl(r,t),t;case"hsl":if(u.length!==3){Na(t,0,0,0,1);return}return Ww(u,t),tl(r,t),t;default:return}}Na(t,0,0,0,1)}}function Ww(r,t){var e=(parseFloat(r[0])%360+360)%360/360,a=_s(r[1]),i=_s(r[2]),n=i<=.5?i*(a+1):i+a-i*a,o=i*2-n;return t=t||[],Na(t,di(zg(o,n,e+1/3)*255),di(zg(o,n,e)*255),di(zg(o,n,e-1/3)*255),1),r.length===4&&(t[3]=r[3]),t}function cZ(r){if(r){var t=r[0]/255,e=r[1]/255,a=r[2]/255,i=Math.min(t,e,a),n=Math.max(t,e,a),o=n-i,s=(n+i)/2,l,u;if(o===0)l=0,u=0;else{s<.5?u=o/(n+i):u=o/(2-n-i);var v=((n-t)/6+o/2)/o,h=((n-e)/6+o/2)/o,f=((n-a)/6+o/2)/o;t===n?l=f-h:e===n?l=1/3+v-f:a===n&&(l=2/3+h-v),l<0&&(l+=1),l>1&&(l-=1)}var c=[l*360,u,s];return r[3]!=null&&c.push(r[3]),c}}function wd(r,t){var e=sa(r);if(e){for(var a=0;a<3;a++)t<0?e[a]=e[a]*(1-t)|0:e[a]=(255-e[a])*t+e[a]|0,e[a]>255?e[a]=255:e[a]<0&&(e[a]=0);return pi(e,e.length===4?"rgba":"rgb")}}function dZ(r){var t=sa(r);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)}function Uv(r,t,e){if(!(!(t&&t.length)||!(r>=0&&r<=1))){e=e||[];var a=r*(t.length-1),i=Math.floor(a),n=Math.ceil(a),o=t[i],s=t[n],l=a-i;return e[0]=di(Zn(o[0],s[0],l)),e[1]=di(Zn(o[1],s[1],l)),e[2]=di(Zn(o[2],s[2],l)),e[3]=vh(Zn(o[3],s[3],l)),e}}var pZ=Uv;function BA(r,t,e){if(!(!(t&&t.length)||!(r>=0&&r<=1))){var a=r*(t.length-1),i=Math.floor(a),n=Math.ceil(a),o=sa(t[i]),s=sa(t[n]),l=a-i,u=pi([di(Zn(o[0],s[0],l)),di(Zn(o[1],s[1],l)),di(Zn(o[2],s[2],l)),vh(Zn(o[3],s[3],l))],"rgba");return e?{color:u,leftIndex:i,rightIndex:n,value:a}:u}}var gZ=BA;function Vl(r,t,e,a){var i=sa(r);if(r)return i=cZ(i),t!=null&&(i[0]=fZ(t)),e!=null&&(i[1]=_s(e)),a!=null&&(i[2]=_s(a)),pi(Ww(i),"rgba")}function hh(r,t){var e=sa(r);if(e&&t!=null)return e[3]=vh(t),pi(e,"rgba")}function pi(r,t){if(!(!r||!r.length)){var e=r[0]+","+r[1]+","+r[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(e+=","+r[3]),t+"("+e+")"}}function fh(r,t){var e=sa(r);return e?(.299*e[0]+.587*e[1]+.114*e[2])*e[3]/255+(1-e[3])*t:0}function mZ(){return pi([Math.round(Math.random()*255),Math.round(Math.random()*255),Math.round(Math.random()*255)],"rgb")}var $D=new Gh(100);function Td(r){if(Re(r)){var t=$D.get(r);return t||(t=wd(r,-.1),$D.put(r,t)),t}else if(zh(r)){var e=_e({},r);return e.colorStops=we(r.colorStops,function(a){return{offset:a.offset,color:wd(a.color,-.1)}}),e}return r}const yZ=Object.freeze(Object.defineProperty({__proto__:null,fastLerp:Uv,fastMapToColor:pZ,lerp:BA,lift:wd,liftColor:Td,lum:fh,mapToColor:gZ,modifyAlpha:hh,modifyHSL:Vl,parse:sa,random:mZ,stringify:pi,toHex:dZ},Symbol.toStringTag,{value:"Module"}));var Ad=Math.round;function ch(r){var t;if(!r||r==="transparent")r="none";else if(typeof r=="string"&&r.indexOf("rgba")>-1){var e=sa(r);e&&(r="rgb("+e[0]+","+e[1]+","+e[2]+")",t=e[3])}return{color:r,opacity:t==null?1:t}}var YD=1e-4;function Xn(r){return r-YD}function If(r){return Ad(r*1e3)/1e3}function Uw(r){return Ad(r*1e4)/1e4}function _Z(r){return"matrix("+If(r[0])+","+If(r[1])+","+If(r[2])+","+If(r[3])+","+Uw(r[4])+","+Uw(r[5])+")"}var xZ={left:"start",right:"end",center:"middle",middle:"middle"};function SZ(r,t,e){return e==="top"?r+=t/2:e==="bottom"&&(r-=t/2),r}function bZ(r){return r&&(r.shadowBlur||r.shadowOffsetX||r.shadowOffsetY)}function wZ(r){var t=r.style,e=r.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),e[0],e[1]].join(",")}function tq(r){return r&&!!r.image}function TZ(r){return r&&!!r.svgElement}function VA(r){return tq(r)||TZ(r)}function rq(r){return r.type==="linear"}function aq(r){return r.type==="radial"}function iq(r){return r&&(r.type==="linear"||r.type==="radial")}function wp(r){return"url(#"+r+")"}function nq(r){var t=r.getGlobalScale(),e=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(e)/Math.log(10)),1)}function oq(r){var t=r.x||0,e=r.y||0,a=(r.rotation||0)*Fv,i=Je(r.scaleX,1),n=Je(r.scaleY,1),o=r.skewX||0,s=r.skewY||0,l=[];return(t||e)&&l.push("translate("+t+"px,"+e+"px)"),a&&l.push("rotate("+a+")"),(i!==1||n!==1)&&l.push("scale("+i+","+n+")"),(o||s)&&l.push("skew("+Ad(o*Fv)+"deg, "+Ad(s*Fv)+"deg)"),l.join(" ")}var AZ=(function(){return vt.hasGlobalWindow&&He(window.btoa)?function(r){return window.btoa(unescape(encodeURIComponent(r)))}:typeof Buffer<"u"?function(r){return Buffer.from(r).toString("base64")}:function(r){return null}})(),$w=Array.prototype.slice;function un(r,t,e){return(t-r)*e+r}function Bg(r,t,e,a){for(var i=t.length,n=0;na?t:r,n=Math.min(e,a),o=i[n-1]||{color:[0,0,0,0],offset:0},s=n;so;if(s)a.length=o;else for(var l=n;l=1},r.prototype.getAdditiveTrack=function(){return this._additiveTrack},r.prototype.addKeyframe=function(t,e,a){this._needsSort=!0;var i=this.keyframes,n=i.length,o=!1,s=XD,l=e;if(Br(e)){var u=LZ(e);s=u,(u===1&&!bt(e[0])||u===2&&!bt(e[0][0]))&&(o=!0)}else if(bt(e)&&!Ul(e))s=Rf;else if(Re(e))if(!isNaN(+e))s=Rf;else{var v=sa(e);v&&(l=v,s=Lv)}else if(zh(e)){var h=_e({},l);h.colorStops=we(e.colorStops,function(c){return{offset:c.offset,color:sa(c.color)}}),rq(e)?s=Yw:aq(e)&&(s=Zw),l=h}n===0?this.valType=s:(s!==this.valType||s===XD)&&(o=!0),this.discrete=this.discrete||o;var f={time:t,value:l,rawValue:e,percent:0};return a&&(f.easing=a,f.easingFunc=He(a)?a:Wv[a]||zA(a)),i.push(f),f},r.prototype.prepare=function(t,e){var a=this.keyframes;this._needsSort&&a.sort(function(p,g){return p.time-g.time});for(var i=this.valType,n=a.length,o=a[n-1],s=this.discrete,l=Ef(i),u=KD(i),v=0;v=0&&!(o[v].percent<=e);v--);v=f(v,s-2)}else{for(v=h;ve);v++);v=f(v-1,s-2)}d=o[v+1],c=o[v]}if(c&&d){this._lastFr=v,this._lastFrP=e;var g=d.percent-c.percent,m=g===0?1:f((e-c.percent)/g,1);d.easingFunc&&(m=d.easingFunc(m));var y=a?this._additiveValue:u?Bu:t[l];if((Ef(n)||u)&&!y&&(y=this._additiveValue=[]),this.discrete)t[l]=m<1?c.rawValue:d.rawValue;else if(Ef(n))n===Qc?Bg(y,c[i],d[i],m):CZ(y,c[i],d[i],m);else if(KD(n)){var _=c[i],x=d[i],S=n===Yw;t[l]={type:S?"linear":"radial",x:un(_.x,x.x,m),y:un(_.y,x.y,m),colorStops:we(_.colorStops,function(w,A){var T=x.colorStops[A];return{offset:un(w.offset,T.offset,m),color:Kc(Bg([],w.color,T.color,m))}}),global:x.global},S?(t[l].x2=un(_.x2,x.x2,m),t[l].y2=un(_.y2,x.y2,m)):t[l].r=un(_.r,x.r,m)}else if(u)Bg(y,c[i],d[i],m),a||(t[l]=Kc(y));else{var b=un(c[i],d[i],m);a?this._additiveValue=b:t[l]=b}a&&this._addToTarget(t)}}},r.prototype._addToTarget=function(t){var e=this.valType,a=this.propName,i=this._additiveValue;e===Rf?t[a]=t[a]+i:e===Lv?(sa(t[a],Bu),Pf(Bu,Bu,i,1),t[a]=Kc(Bu)):e===Qc?Pf(t[a],t[a],i,1):e===sq&&ZD(t[a],t[a],i,1)},r})(),GA=(function(){function r(t,e,a,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i){mp("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=a}return r.prototype.getMaxTime=function(){return this._maxTime},r.prototype.getDelay=function(){return this._delay},r.prototype.getLoop=function(){return this._loop},r.prototype.getTarget=function(){return this._target},r.prototype.changeTarget=function(t){this._target=t},r.prototype.when=function(t,e,a){return this.whenWithKeys(t,e,ft(e),a)},r.prototype.whenWithKeys=function(t,e,a,i){for(var n=this._tracks,o=0;o0&&l.addKeyframe(0,$v(u),i),this._trackKeys.push(s)}l.addKeyframe(t,$v(e[s]),i)}return this._maxTime=Math.max(this._maxTime,t),this},r.prototype.pause=function(){this._clip.pause(),this._paused=!0},r.prototype.resume=function(){this._clip.resume(),this._paused=!1},r.prototype.isPaused=function(){return!!this._paused},r.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},r.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,a=0;a0)){this._started=1;for(var e=this,a=[],i=this._maxTime||0,n=0;n1){var s=o.pop();n.addKeyframe(s.time,t[i]),n.prepare(this._maxTime,n.getAdditiveTrack())}}}},r})();function El(){return new Date().getTime()}var PZ=(function(r){he(t,r);function t(e){var a=r.call(this)||this;return a._running=!1,a._time=0,a._pausedTime=0,a._pauseStart=0,a._paused=!1,e=e||{},a.stage=e.stage||{},a}return t.prototype.addClip=function(e){e.animation&&this.removeClip(e),this._head?(this._tail.next=e,e.prev=this._tail,e.next=null,this._tail=e):this._head=this._tail=e,e.animation=this},t.prototype.addAnimator=function(e){e.animation=this;var a=e.getClip();a&&this.addClip(a)},t.prototype.removeClip=function(e){if(e.animation){var a=e.prev,i=e.next;a?a.next=i:this._head=i,i?i.prev=a:this._tail=a,e.next=e.prev=e.animation=null}},t.prototype.removeAnimator=function(e){var a=e.getClip();a&&this.removeClip(a),e.animation=null},t.prototype.update=function(e){for(var a=El()-this._pausedTime,i=a-this._time,n=this._head;n;){var o=n.next,s=n.step(a,i);s&&(n.ondestroy(),this.removeClip(n)),n=o}this._time=a,e||(this.trigger("frame",i),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var e=this;this._running=!0;function a(){e._running&&(xd(a),!e._paused&&e.update())}xd(a)},t.prototype.start=function(){this._running||(this._time=El(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=El(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=El()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var e=this._head;e;){var a=e.next;e.prev=e.next=e.animation=null,e=a}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(e,a){a=a||{},this.start();var i=new GA(e,a.loop);return this.addAnimator(i),i},t})(Xa),RZ=300,Vg=vt.domSupported,Gg=(function(){var r=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],e={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},a=we(r,function(i){var n=i.replace("mouse","pointer");return e.hasOwnProperty(n)?n:i});return{mouse:r,touch:t,pointer:a}})(),QD={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},jD=!1;function Xw(r){var t=r.pointerType;return t==="pen"||t==="touch"}function EZ(r){r.touching=!0,r.touchTimer!=null&&(clearTimeout(r.touchTimer),r.touchTimer=null),r.touchTimer=setTimeout(function(){r.touching=!1,r.touchTimer=null},700)}function Fg(r){r&&(r.zrByTouch=!0)}function kZ(r,t){return Ba(r.dom,new OZ(r,t),!0)}function lq(r,t){for(var e=t,a=!1;e&&e.nodeType!==9&&!(a=e.domBelongToZr||e!==t&&e===r.painterRoot);)e=e.parentNode;return a}var OZ=(function(){function r(t,e){this.stopPropagation=ir,this.stopImmediatePropagation=ir,this.preventDefault=ir,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return r})(),li={mousedown:function(r){r=Ba(this.dom,r),this.__mayPointerCapture=[r.zrX,r.zrY],this.trigger("mousedown",r)},mousemove:function(r){r=Ba(this.dom,r);var t=this.__mayPointerCapture;t&&(r.zrX!==t[0]||r.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",r)},mouseup:function(r){r=Ba(this.dom,r),this.__togglePointerCapture(!1),this.trigger("mouseup",r)},mouseout:function(r){r=Ba(this.dom,r);var t=r.toElement||r.relatedTarget;lq(this,t)||(this.__pointerCapturing&&(r.zrEventControl="no_globalout"),this.trigger("mouseout",r))},wheel:function(r){jD=!0,r=Ba(this.dom,r),this.trigger("mousewheel",r)},mousewheel:function(r){jD||(r=Ba(this.dom,r),this.trigger("mousewheel",r))},touchstart:function(r){r=Ba(this.dom,r),Fg(r),this.__lastTouchMoment=new Date,this.handler.processGesture(r,"start"),li.mousemove.call(this,r),li.mousedown.call(this,r)},touchmove:function(r){r=Ba(this.dom,r),Fg(r),this.handler.processGesture(r,"change"),li.mousemove.call(this,r)},touchend:function(r){r=Ba(this.dom,r),Fg(r),this.handler.processGesture(r,"end"),li.mouseup.call(this,r),+new Date-+this.__lastTouchMomenttL||r<-tL}var Po=[],rl=[],qg=xa(),Wg=Math.abs,pn=(function(){function r(){}return r.prototype.getLocalTransform=function(t){return r.getLocalTransform(this,t)},r.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},r.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},r.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},r.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},r.prototype.needLocalTransform=function(){return Io(this.rotation)||Io(this.x)||Io(this.y)||Io(this.scaleX-1)||Io(this.scaleY-1)||Io(this.skewX)||Io(this.skewY)},r.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),a=this.transform;if(!(e||t)){a&&(eL(a),this.invTransform=null);return}a=a||xa(),e?this.getLocalTransform(a):eL(a),t&&(e?Wi(a,t,a):Sp(a,t)),this.transform=a,this._resolveGlobalScaleRatio(a)},r.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(e!=null&&e!==1){this.getGlobalScale(Po);var a=Po[0]<0?-1:1,i=Po[1]<0?-1:1,n=((Po[0]-a)*e+a)/Po[0]||0,o=((Po[1]-i)*e+i)/Po[1]||0;t[0]*=n,t[1]*=n,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||xa(),Ns(this.invTransform,t)},r.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},r.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],a=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),n=Math.PI/2+i-Math.atan2(t[3],t[2]);a=Math.sqrt(a)*Math.cos(n),e=Math.sqrt(e),this.skewX=n,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=a,this.originX=0,this.originY=0}},r.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||xa(),Wi(rl,t.invTransform,e),e=rl);var a=this.originX,i=this.originY;(a||i)&&(qg[4]=a,qg[5]=i,Wi(rl,e,qg),rl[4]-=a,rl[5]-=i,e=rl),this.setLocalTransform(e)}},r.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},r.prototype.transformCoordToLocal=function(t,e){var a=[t,e],i=this.invTransform;return i&&Or(a,a,i),a},r.prototype.transformCoordToGlobal=function(t,e){var a=[t,e],i=this.transform;return i&&Or(a,a,i),a},r.prototype.getLineScale=function(){var t=this.transform;return t&&Wg(t[0]-1)>1e-10&&Wg(t[3]-1)>1e-10?Math.sqrt(Wg(t[0]*t[3]-t[2]*t[1])):1},r.prototype.copyTransform=function(t){vq(this,t)},r.getLocalTransform=function(t,e){e=e||[];var a=t.originX||0,i=t.originY||0,n=t.scaleX,o=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,v=t.x,h=t.y,f=t.skewX?Math.tan(t.skewX):0,c=t.skewY?Math.tan(-t.skewY):0;if(a||i||s||l){var d=a+s,p=i+l;e[4]=-d*n-f*p*o,e[5]=-p*o-c*d*n}else e[4]=e[5]=0;return e[0]=n,e[3]=o,e[1]=c*n,e[2]=f*o,u&&co(e,e,u),e[4]+=a+v,e[5]+=i+h,e},r.initDefaultProps=(function(){var t=r.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0})(),r})(),$i=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function vq(r,t){for(var e=0;e<$i.length;e++){var a=$i[e];r[a]=t[a]}}var rL={};function Ca(r,t){t=t||oo;var e=rL[t];e||(e=rL[t]=new Gh(500));var a=e.get(r);return a==null&&(a=mi.measureText(r,t).width,e.put(r,a)),a}function aL(r,t,e,a){var i=Ca(r,t),n=Tp(t),o=Iv(0,i,e),s=Ll(0,n,a),l=new at(o,s,i,n);return l}function Fh(r,t,e,a){var i=((r||"")+"").split("\n"),n=i.length;if(n===1)return aL(i[0],t,e,a);for(var o=new at(0,0,0,0),s=0;s=0?parseFloat(r)/100*t:parseFloat(r):r}function Md(r,t,e){var a=t.position||"inside",i=t.distance!=null?t.distance:5,n=e.height,o=e.width,s=n/2,l=e.x,u=e.y,v="left",h="top";if(a instanceof Array)l+=_i(a[0],e.width),u+=_i(a[1],e.height),v=null,h=null;else switch(a){case"left":l-=i,u+=s,v="right",h="middle";break;case"right":l+=i+o,u+=s,h="middle";break;case"top":l+=o/2,u-=i,v="center",h="bottom";break;case"bottom":l+=o/2,u+=n+i,v="center";break;case"inside":l+=o/2,u+=s,v="center",h="middle";break;case"insideLeft":l+=i,u+=s,h="middle";break;case"insideRight":l+=o-i,u+=s,v="right",h="middle";break;case"insideTop":l+=o/2,u+=i,v="center";break;case"insideBottom":l+=o/2,u+=n-i,v="center",h="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=o-i,u+=i,v="right";break;case"insideBottomLeft":l+=i,u+=n-i,h="bottom";break;case"insideBottomRight":l+=o-i,u+=n-i,v="right",h="bottom";break}return r=r||{},r.x=l,r.y=u,r.align=v,r.verticalAlign=h,r}var Ug="__zr_normal__",$g=$i.concat(["ignore"]),GZ=Ya($i,function(r,t){return r[t]=!0,r},{ignore:!1}),al={},FZ=new at(0,0,0,0),Ap=(function(){function r(t){this.id=RA(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return r.prototype._init=function(t){this.attr(t)},r.prototype.drift=function(t,e,a){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},r.prototype.beforeUpdate=function(){},r.prototype.afterUpdate=function(){},r.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},r.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var a=this.textConfig,i=a.local,n=e.innerTransformable,o=void 0,s=void 0,l=!1;n.parent=i?this:null;var u=!1;if(n.copyTransform(e),a.position!=null){var v=FZ;a.layoutRect?v.copy(a.layoutRect):v.copy(this.getBoundingRect()),i||v.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(al,a,v):Md(al,a,v),n.x=al.x,n.y=al.y,o=al.align,s=al.verticalAlign;var h=a.origin;if(h&&a.rotation!=null){var f=void 0,c=void 0;h==="center"?(f=v.width*.5,c=v.height*.5):(f=_i(h[0],v.width),c=_i(h[1],v.height)),u=!0,n.originX=-n.x+f+(i?0:v.x),n.originY=-n.y+c+(i?0:v.y)}}a.rotation!=null&&(n.rotation=a.rotation);var d=a.offset;d&&(n.x+=d[0],n.y+=d[1],u||(n.originX=-d[0],n.originY=-d[1]));var p=a.inside==null?typeof a.position=="string"&&a.position.indexOf("inside")>=0:a.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,y=void 0,_=void 0;p&&this.canBeInsideText()?(m=a.insideFill,y=a.insideStroke,(m==null||m==="auto")&&(m=this.getInsideTextFill()),(y==null||y==="auto")&&(y=this.getInsideTextStroke(m),_=!0)):(m=a.outsideFill,y=a.outsideStroke,(m==null||m==="auto")&&(m=this.getOutsideFill()),(y==null||y==="auto")&&(y=this.getOutsideStroke(m),_=!0)),m=m||"#000",(m!==g.fill||y!==g.stroke||_!==g.autoStroke||o!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=m,g.stroke=y,g.autoStroke=_,g.align=o,g.verticalAlign=s,e.setDefaultTextStyle(g)),e.__dirty|=ba,l&&e.dirtyStyle(!0)}},r.prototype.canBeInsideText=function(){return!0},r.prototype.getInsideTextFill=function(){return"#fff"},r.prototype.getInsideTextStroke=function(t){return"#000"},r.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Jw:jw},r.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),a=typeof e=="string"&&sa(e);a||(a=[255,255,255,1]);for(var i=a[3],n=this.__zr.isDarkMode(),o=0;o<3;o++)a[o]=a[o]*i+(n?0:255)*(1-i);return a[3]=1,pi(a,"rgba")},r.prototype.traverse=function(t,e){},r.prototype.attrKV=function(t,e){t==="textConfig"?this.setTextConfig(e):t==="textContent"?this.setTextContent(e):t==="clipPath"?this.setClipPath(e):t==="extra"?(this.extra=this.extra||{},_e(this.extra,e)):this[t]=e},r.prototype.hide=function(){this.ignore=!0,this.markRedraw()},r.prototype.show=function(){this.ignore=!1,this.markRedraw()},r.prototype.attr=function(t,e){if(typeof t=="string")this.attrKV(t,e);else if($e(t))for(var a=t,i=ft(a),n=0;n0},r.prototype.getState=function(t){return this.states[t]},r.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},r.prototype.clearStates=function(t){this.useState(Ug,!1,t)},r.prototype.useState=function(t,e,a,i){var n=t===Ug,o=this.hasState();if(!(!o&&n)){var s=this.currentStates,l=this.stateTransition;if(!(nt(s,t)>=0&&(e||s.length===1))){var u;if(this.stateProxy&&!n&&(u=this.stateProxy(t)),u||(u=this.states&&this.states[t]),!u&&!n){mp("State "+t+" not exists.");return}n||this.saveCurrentToNormalState(u);var v=!!(u&&u.hoverLayer||i);v&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,u,this._normalState,e,!a&&!this.__inHover&&l&&l.duration>0,l);var h=this._textContent,f=this._textGuide;return h&&h.useState(t,e,a,v),f&&f.useState(t,e,a,v),n?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!v&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~ba),u}}},r.prototype.useStates=function(t,e,a){if(!t.length)this.clearStates();else{var i=[],n=this.currentStates,o=t.length,s=o===n.length;if(s){for(var l=0;l0,d);var p=this._textContent,g=this._textGuide;p&&p.useStates(t,e,f),g&&g.useStates(t,e,f),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~ba)}},r.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},r.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var a=this.currentStates.slice();a.splice(e,1),this.useStates(a)}},r.prototype.replaceState=function(t,e,a){var i=this.currentStates.slice(),n=nt(i,t),o=nt(i,e)>=0;n>=0?o?i.splice(n,1):i[n]=e:a&&!o&&i.push(e),this.useStates(i)},r.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},r.prototype._mergeStates=function(t){for(var e={},a,i=0;i=0&&n.splice(o,1)}),this.animators.push(t),a&&a.animation.addAnimator(t),a&&a.wakeUp()},r.prototype.updateDuringAnimation=function(t){this.markRedraw()},r.prototype.stopAnimation=function(t,e){for(var a=this.animators,i=a.length,n=[],o=0;o0&&e.during&&n[0].during(function(d,p){e.during(p)});for(var f=0;f0||i.force&&!o.length){var A=void 0,T=void 0,C=void 0;if(s){T={},f&&(A={});for(var x=0;x<_;x++){var m=p[x];T[m]=e[m],f?A[m]=a[m]:e[m]=a[m]}}else if(f){C={};for(var x=0;x<_;x++){var m=p[x];C[m]=$v(e[m]),qZ(e,a,m)}}var S=new GA(e,!1,!1,h?Ct(d,function(L){return L.targetName===t}):null);S.targetName=t,i.scope&&(S.scope=i.scope),f&&A&&S.whenWithKeys(0,A,p),C&&S.whenWithKeys(0,C,p),S.whenWithKeys(u==null?500:u,s?T:a,p).delay(v||0),r.addAnimator(S,t),o.push(S)}}var Ze=(function(r){he(t,r);function t(e){var a=r.call(this)||this;return a.isGroup=!0,a._children=[],a.attr(e),a}return t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(e){return this._children[e]},t.prototype.childOfName=function(e){for(var a=this._children,i=0;i=0&&(i.splice(n,0,e),this._doAdd(e))}return this},t.prototype.replace=function(e,a){var i=nt(this._children,e);return i>=0&&this.replaceAt(a,i),this},t.prototype.replaceAt=function(e,a){var i=this._children,n=i[a];if(e&&e!==this&&e.parent!==this&&e!==n){i[a]=e,n.parent=null;var o=this.__zr;o&&n.removeSelfFromZr(o),this._doAdd(e)}return this},t.prototype._doAdd=function(e){e.parent&&e.parent.remove(e),e.parent=this;var a=this.__zr;a&&a!==e.__zr&&e.addSelfToZr(a),a&&a.refresh()},t.prototype.remove=function(e){var a=this.__zr,i=this._children,n=nt(i,e);return n<0?this:(i.splice(n,1),e.parent=null,a&&e.removeSelfFromZr(a),a&&a.refresh(),this)},t.prototype.removeAll=function(){for(var e=this._children,a=this.__zr,i=0;i0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},r.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},r.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},r.prototype.refreshHover=function(){this._needsRefreshHover=!0},r.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},r.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},r.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},r.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},r.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},r.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},r.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},r.prototype.on=function(t,e,a){return this._disposed||this.handler.on(t,e,a),this},r.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},r.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},r.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e0){if(r<=i)return o;if(r>=n)return s}else{if(r>=i)return o;if(r<=n)return s}else{if(r===i)return o;if(r===n)return s}return(r-i)/l*u+o}function Ie(r,t){switch(r){case"center":case"middle":r="50%";break;case"left":case"top":r="0%";break;case"right":case"bottom":r="100%";break}return Re(r)?eX(r).match(/%$/)?parseFloat(r)/100*t:parseFloat(r):r==null?NaN:+r}function ar(r,t,e){return t==null&&(t=10),t=Math.min(Math.max(0,t),pq),r=(+r).toFixed(t),e?r:+r}function Ta(r){return r.sort(function(t,e){return t-e}),r}function hi(r){if(r=+r,isNaN(r))return 0;if(r>1e-14){for(var t=1,e=0;e<15;e++,t*=10)if(Math.round(r*t)/t===r)return e}return gq(r)}function gq(r){var t=r.toString().toLowerCase(),e=t.indexOf("e"),a=e>0?+t.slice(e+1):0,i=e>0?e:t.length,n=t.indexOf("."),o=n<0?0:i-1-n;return Math.max(0,o-a)}function FA(r,t){var e=Math.log,a=Math.LN10,i=Math.floor(e(r[1]-r[0])/a),n=Math.round(e(Math.abs(t[1]-t[0]))/a),o=Math.min(Math.max(-i+n,0),20);return isFinite(o)?o:20}function tX(r,t,e){if(!r[t])return 0;var a=mq(r,e);return a[t]||0}function mq(r,t){var e=Ya(r,function(c,d){return c+(isNaN(d)?0:d)},0);if(e===0)return[];for(var a=Math.pow(10,t),i=we(r,function(c){return(isNaN(c)?0:c)/e*a*100}),n=a*100,o=we(i,function(c){return Math.floor(c)}),s=Ya(o,function(c,d){return c+d},0),l=we(i,function(c,d){return c-o[d]});su&&(u=l[h],v=h);++o[v],l[v]=0,++s}return we(o,function(c){return c/a})}function rX(r,t){var e=Math.max(hi(r),hi(t)),a=r+t;return e>pq?a:ar(a,e)}var rT=9007199254740991;function HA(r){var t=Math.PI*2;return(r%t+t)%t}function Yl(r){return r>-iL&&r=10&&t++,t}function qA(r,t){var e=Cp(r),a=Math.pow(10,e),i=r/a,n;return t?i<1.5?n=1:i<2.5?n=2:i<4?n=3:i<7?n=5:n=10:i<1?n=1:i<2?n=2:i<3?n=3:i<5?n=5:n=10,r=n*a,e>=-20?+r.toFixed(e<0?-e:0):r}function ed(r,t){var e=(r.length-1)*t+1,a=Math.floor(e),i=+r[a-1],n=e-a;return n?i+n*(r[a]-i):i}function aT(r){r.sort(function(l,u){return s(l,u,0)?-1:1});for(var t=-1/0,e=1,a=0;a=0||n&&nt(n,l)<0)){var u=a.getShallow(l,t);u!=null&&(o[r[s][0]]=u)}}return o}}var MX=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],DX=Ls(MX),LX=(function(){function r(){}return r.prototype.getAreaStyle=function(t,e){return DX(this,t,e)},r})(),nT=new Gh(50);function IX(r){if(typeof r=="string"){var t=nT.get(r);return t&&t.image}else return r}function ZA(r,t,e,a,i){if(r)if(typeof r=="string"){if(t&&t.__zrImageSrc===r||!e)return t;var n=nT.get(r),o={hostEl:e,cb:a,cbPayload:i};return n?(t=n.image,!Dp(t)&&n.pending.push(o)):(t=mi.loadImage(r,lL,lL),t.__zrImageSrc=r,nT.put(r,t.__cachedImgObj={image:t,pending:[o]})),t}else return r;else return t}function lL(){var r=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t=o;l++)s-=o;var u=Ca(e,t);return u>s&&(e="",u=0),s=r-u,i.ellipsis=e,i.ellipsisWidth=u,i.contentWidth=s,i.containerWidth=r,i}function Pq(r,t,e){var a=e.containerWidth,i=e.font,n=e.contentWidth;if(!a){r.textLine="",r.isTruncated=!1;return}var o=Ca(t,i);if(o<=a){r.textLine=t,r.isTruncated=!1;return}for(var s=0;;s++){if(o<=n||s>=e.maxIterations){t+=e.ellipsis;break}var l=s===0?RX(t,n,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*n/o):0;t=t.substr(0,l),o=Ca(t,i)}t===""&&(t=e.placeholder),r.textLine=t,r.isTruncated=!0}function RX(r,t,e,a){for(var i=0,n=0,o=r.length;nd&&u){var p=Math.floor(d/s);v=v||f.length>p,f=f.slice(0,p)}if(r&&n&&h!=null)for(var g=Iq(h,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),m={},y=0;ys&&Kg(e,r.substring(s,u),t,o),Kg(e,l[2],t,o,l[1]),s=Xg.lastIndex}si){var D=e.lines.length;b>0?(_.tokens=_.tokens.slice(0,b),m(_,S,x),e.lines=e.lines.slice(0,y+1)):e.lines=e.lines.slice(0,y),e.isTruncated=e.isTruncated||e.lines.length0&&d+a.accumWidth>a.width&&(v=t.split("\n"),u=!0),a.accumWidth=d}else{var p=Rq(t,l,a.width,a.breakAll,a.accumWidth);a.accumWidth=p.accumWidth+c,h=p.linesWidths,v=p.lines}}else v=t.split("\n");for(var g=0;g=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var BX=Ya(",&?/;] ".split(""),function(r,t){return r[t]=!0,r},{});function VX(r){return zX(r)?!!BX[r]:!0}function Rq(r,t,e,a,i){for(var n=[],o=[],s="",l="",u=0,v=0,h=0;he:i+v+c>e){v?(s||l)&&(d?(s||(s=l,l="",u=0,v=u),n.push(s),o.push(v-u),l+=f,u+=c,s="",v=u):(l&&(s+=l,l="",u=0),n.push(s),o.push(v),s=f,v=c)):d?(n.push(l),o.push(u),l=f,u=c):(n.push(f),o.push(c));continue}v+=c,d?(l+=f,u+=c):(l&&(s+=l,l="",u=0),s+=f)}return!n.length&&!s&&(s=r,l="",u=0),l&&(s+=l),s&&(n.push(s),o.push(v)),n.length===1&&(v+=i),{accumWidth:v,lines:n,linesWidths:o}}var oT="__zr_style_"+Math.round(Math.random()*10),xs={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Lp={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};xs[oT]=!0;var vL=["z","z2","invisible"],GX=["invisible"],Za=(function(r){he(t,r);function t(e){return r.call(this,e)||this}return t.prototype._init=function(e){for(var a=ft(e),i=0;i1e-4){s[0]=r-e,s[1]=t-a,l[0]=r+e,l[1]=t+a;return}if(kf[0]=em(i)*e+r,kf[1]=Jg(i)*a+t,Of[0]=em(n)*e+r,Of[1]=Jg(n)*a+t,u(s,kf,Of),v(l,kf,Of),i=i%Eo,i<0&&(i=i+Eo),n=n%Eo,n<0&&(n=n+Eo),i>n&&!o?n+=Eo:ii&&(Nf[0]=em(c)*e+r,Nf[1]=Jg(c)*a+t,u(s,Nf,s),v(l,Nf,l))}var Ft={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},ko=[],Oo=[],Ci=[],Pn=[],Mi=[],Di=[],tm=Math.min,rm=Math.max,No=Math.cos,zo=Math.sin,nn=Math.abs,sT=Math.PI,Fn=sT*2,am=typeof Float32Array<"u",Vu=[];function im(r){var t=Math.round(r/sT*1e8)/1e8;return t%2*sT}function XA(r,t){var e=im(r[0]);e<0&&(e+=Fn);var a=e-r[0],i=r[1];i+=a,!t&&i-e>=Fn?i=e+Fn:t&&e-i>=Fn?i=e-Fn:!t&&e>i?i=e+(Fn-im(e-i)):t&&e0&&(this._ux=nn(a/Cd/t)||0,this._uy=nn(a/Cd/e)||0)},r.prototype.setDPR=function(t){this.dpr=t},r.prototype.setContext=function(t){this._ctx=t},r.prototype.getContext=function(){return this._ctx},r.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},r.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},r.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(Ft.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},r.prototype.lineTo=function(t,e){var a=nn(t-this._xi),i=nn(e-this._yi),n=a>this._ux||i>this._uy;if(this.addData(Ft.L,t,e),this._ctx&&n&&this._ctx.lineTo(t,e),n)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=a*a+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},r.prototype.bezierCurveTo=function(t,e,a,i,n,o){return this._drawPendingPt(),this.addData(Ft.C,t,e,a,i,n,o),this._ctx&&this._ctx.bezierCurveTo(t,e,a,i,n,o),this._xi=n,this._yi=o,this},r.prototype.quadraticCurveTo=function(t,e,a,i){return this._drawPendingPt(),this.addData(Ft.Q,t,e,a,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,a,i),this._xi=a,this._yi=i,this},r.prototype.arc=function(t,e,a,i,n,o){this._drawPendingPt(),Vu[0]=i,Vu[1]=n,XA(Vu,o),i=Vu[0],n=Vu[1];var s=n-i;return this.addData(Ft.A,t,e,a,a,i,s,0,o?0:1),this._ctx&&this._ctx.arc(t,e,a,i,n,o),this._xi=No(n)*a+t,this._yi=zo(n)*a+e,this},r.prototype.arcTo=function(t,e,a,i,n){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,a,i,n),this},r.prototype.rect=function(t,e,a,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,a,i),this.addData(Ft.R,t,e,a,i),this},r.prototype.closePath=function(){this._drawPendingPt(),this.addData(Ft.Z);var t=this._ctx,e=this._x0,a=this._y0;return t&&t.closePath(),this._xi=e,this._yi=a,this},r.prototype.fill=function(t){t&&t.fill(),this.toStatic()},r.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},r.prototype.len=function(){return this._len},r.prototype.setData=function(t){var e=t.length;!(this.data&&this.data.length===e)&&am&&(this.data=new Float32Array(e));for(var a=0;av.length&&(this._expandData(),v=this.data);for(var h=0;h0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},r.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e11&&(this.data=new Float32Array(t)))}},r.prototype.getBoundingRect=function(){Ci[0]=Ci[1]=Mi[0]=Mi[1]=Number.MAX_VALUE,Pn[0]=Pn[1]=Di[0]=Di[1]=-Number.MAX_VALUE;var t=this.data,e=0,a=0,i=0,n=0,o;for(o=0;oa||nn(_)>i||f===e-1)&&(p=Math.sqrt(y*y+_*_),n=g,o=m);break}case Ft.C:{var x=t[f++],S=t[f++],g=t[f++],m=t[f++],b=t[f++],w=t[f++];p=oZ(n,o,x,S,g,m,b,w,10),n=b,o=w;break}case Ft.Q:{var x=t[f++],S=t[f++],g=t[f++],m=t[f++];p=lZ(n,o,x,S,g,m,10),n=g,o=m;break}case Ft.A:var A=t[f++],T=t[f++],C=t[f++],M=t[f++],L=t[f++],D=t[f++],P=D+L;f+=1,d&&(s=No(L)*C+A,l=zo(L)*M+T),p=rm(C,M)*tm(Fn,Math.abs(D)),n=No(P)*C+A,o=zo(P)*M+T;break;case Ft.R:{s=n=t[f++],l=o=t[f++];var I=t[f++],R=t[f++];p=I*2+R*2;break}case Ft.Z:{var y=s-n,_=l-o;p=Math.sqrt(y*y+_*_),n=s,o=l;break}}p>=0&&(u[h++]=p,v+=p)}return this._pathLen=v,v},r.prototype.rebuildPath=function(t,e){var a=this.data,i=this._ux,n=this._uy,o=this._len,s,l,u,v,h,f,c=e<1,d,p,g=0,m=0,y,_=0,x,S;if(!(c&&(this._pathSegLen||this._calculateLength(),d=this._pathSegLen,p=this._pathLen,y=e*p,!y)))e:for(var b=0;b0&&(t.lineTo(x,S),_=0),w){case Ft.M:s=u=a[b++],l=v=a[b++],t.moveTo(u,v);break;case Ft.L:{h=a[b++],f=a[b++];var T=nn(h-u),C=nn(f-v);if(T>i||C>n){if(c){var M=d[m++];if(g+M>y){var L=(y-g)/M;t.lineTo(u*(1-L)+h*L,v*(1-L)+f*L);break e}g+=M}t.lineTo(h,f),u=h,v=f,_=0}else{var D=T*T+C*C;D>_&&(x=h,S=f,_=D)}break}case Ft.C:{var P=a[b++],I=a[b++],R=a[b++],E=a[b++],k=a[b++],B=a[b++];if(c){var M=d[m++];if(g+M>y){var L=(y-g)/M;so(u,P,R,k,L,ko),so(v,I,E,B,L,Oo),t.bezierCurveTo(ko[1],Oo[1],ko[2],Oo[2],ko[3],Oo[3]);break e}g+=M}t.bezierCurveTo(P,I,R,E,k,B),u=k,v=B;break}case Ft.Q:{var P=a[b++],I=a[b++],R=a[b++],E=a[b++];if(c){var M=d[m++];if(g+M>y){var L=(y-g)/M;uh(u,P,R,L,ko),uh(v,I,E,L,Oo),t.quadraticCurveTo(ko[1],Oo[1],ko[2],Oo[2]);break e}g+=M}t.quadraticCurveTo(P,I,R,E),u=R,v=E;break}case Ft.A:var F=a[b++],V=a[b++],N=a[b++],O=a[b++],z=a[b++],G=a[b++],q=a[b++],H=!a[b++],U=N>O?N:O,W=nn(N-O)>.001,Y=z+G,X=!1;if(c){var M=d[m++];g+M>y&&(Y=z+G*(y-g)/M,X=!0),g+=M}if(W&&t.ellipse?t.ellipse(F,V,N,O,q,z,Y,H):t.arc(F,V,U,z,Y,H),X)break e;A&&(s=No(z)*N+F,l=zo(z)*O+V),u=No(Y)*N+F,v=zo(Y)*O+V;break;case Ft.R:s=u=a[b],l=v=a[b+1],h=a[b++],f=a[b++];var K=a[b++],Q=a[b++];if(c){var M=d[m++];if(g+M>y){var j=y-g;t.moveTo(h,f),t.lineTo(h+tm(j,K),f),j-=K,j>0&&t.lineTo(h+K,f+tm(j,Q)),j-=Q,j>0&&t.lineTo(h+rm(K-j,0),f+Q),j-=K,j>0&&t.lineTo(h,f+rm(Q-j,0));break e}g+=M}t.rect(h,f,K,Q);break;case Ft.Z:if(c){var M=d[m++];if(g+M>y){var L=(y-g)/M;t.lineTo(u*(1-L)+s*L,v*(1-L)+l*L);break e}g+=M}t.closePath(),u=s,v=l}}},r.prototype.clone=function(){var t=new r,e=this.data;return t.data=e.slice?e.slice():Array.prototype.slice.call(e),t._len=this._len,t},r.CMD=Ft,r.initDefaultProps=(function(){var t=r.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0})(),r})();function qn(r,t,e,a,i,n,o){if(i===0)return!1;var s=i,l=0,u=r;if(o>t+s&&o>a+s||or+s&&n>e+s||nt+h&&v>a+h&&v>n+h&&v>s+h||vr+h&&u>e+h&&u>i+h&&u>o+h||ut+u&&l>a+u&&l>n+u||lr+u&&s>e+u&&s>i+u||se||v+ui&&(i+=Gu);var f=Math.atan2(l,s);return f<0&&(f+=Gu),f>=a&&f<=i||f+Gu>=a&&f+Gu<=i}function vn(r,t,e,a,i,n){if(n>t&&n>a||ni?s:0}var Rn=Zi.CMD,Bo=Math.PI*2,YX=1e-4;function ZX(r,t){return Math.abs(r-t)t&&u>a&&u>n&&u>s||u1&&XX(),c=br(t,a,n,s,Ga[0]),f>1&&(d=br(t,a,n,s,Ga[1]))),f===2?gt&&s>a&&s>n||s=0&&u<=1){for(var v=0,h=kr(t,a,n,u),f=0;fe||s<-e)return 0;var l=Math.sqrt(e*e-s*s);ia[0]=-l,ia[1]=l;var u=Math.abs(a-i);if(u<1e-4)return 0;if(u>=Bo-1e-4){a=0,i=Bo;var v=n?1:-1;return o>=ia[0]+r&&o<=ia[1]+r?v:0}if(a>i){var h=a;a=i,i=h}a<0&&(a+=Bo,i+=Bo);for(var f=0,c=0;c<2;c++){var d=ia[c];if(d+r>o){var p=Math.atan2(s,d),v=n?1:-1;p<0&&(p=Bo+p),(p>=a&&p<=i||p+Bo>=a&&p+Bo<=i)&&(p>Math.PI/2&&p1&&(e||(s+=vn(l,u,v,h,a,i))),g&&(l=n[d],u=n[d+1],v=l,h=u),p){case Rn.M:v=n[d++],h=n[d++],l=v,u=h;break;case Rn.L:if(e){if(qn(l,u,n[d],n[d+1],t,a,i))return!0}else s+=vn(l,u,n[d],n[d+1],a,i)||0;l=n[d++],u=n[d++];break;case Rn.C:if(e){if(UX(l,u,n[d++],n[d++],n[d++],n[d++],n[d],n[d+1],t,a,i))return!0}else s+=KX(l,u,n[d++],n[d++],n[d++],n[d++],n[d],n[d+1],a,i)||0;l=n[d++],u=n[d++];break;case Rn.Q:if(e){if(Eq(l,u,n[d++],n[d++],n[d],n[d+1],t,a,i))return!0}else s+=QX(l,u,n[d++],n[d++],n[d],n[d+1],a,i)||0;l=n[d++],u=n[d++];break;case Rn.A:var m=n[d++],y=n[d++],_=n[d++],x=n[d++],S=n[d++],b=n[d++];d+=1;var w=!!(1-n[d++]);f=Math.cos(S)*_+m,c=Math.sin(S)*x+y,g?(v=f,h=c):s+=vn(l,u,f,c,a,i);var A=(a-m)*x/_+m;if(e){if($X(m,y,x,S,S+b,w,t,A,i))return!0}else s+=jX(m,y,x,S,S+b,w,A,i);l=Math.cos(S+b)*_+m,u=Math.sin(S+b)*x+y;break;case Rn.R:v=l=n[d++],h=u=n[d++];var T=n[d++],C=n[d++];if(f=v+T,c=h+C,e){if(qn(v,h,f,h,t,a,i)||qn(f,h,f,c,t,a,i)||qn(f,c,v,c,t,a,i)||qn(v,c,v,h,t,a,i))return!0}else s+=vn(f,h,f,c,a,i),s+=vn(v,c,v,h,a,i);break;case Rn.Z:if(e){if(qn(l,u,v,h,t,a,i))return!0}else s+=vn(l,u,v,h,a,i);l=v,u=h;break}}return!e&&!ZX(u,h)&&(s+=vn(l,u,v,h,a,i)||0),s!==0}function JX(r,t,e){return kq(r,0,!1,t,e)}function eK(r,t,e,a){return kq(r,t,!0,e,a)}var Dd=Ue({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},xs),tK={style:Ue({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Lp.style)},nm=$i.concat(["invisible","culling","z","z2","zlevel","parent"]),ht=(function(r){he(t,r);function t(e){return r.call(this,e)||this}return t.prototype.update=function(){var e=this;r.prototype.update.call(this);var a=this.style;if(a.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(l){e.buildPath(l,e.shape)}),i.silent=!0;var n=i.style;for(var o in a)n[o]!==a[o]&&(n[o]=a[o]);n.fill=a.fill?a.decal:null,n.decal=null,n.shadowColor=null,a.strokeFirst&&(n.stroke=null);for(var s=0;s.5?jw:a>.2?VZ:Jw}else if(e)return Jw}return jw},t.prototype.getInsideTextStroke=function(e){var a=this.style.fill;if(Re(a)){var i=this.__zr,n=!!(i&&i.isDarkMode()),o=fh(e,0)0))},t.prototype.hasFill=function(){var e=this.style,a=e.fill;return a!=null&&a!=="none"},t.prototype.getBoundingRect=function(){var e=this._rect,a=this.style,i=!e;if(i){var n=!1;this.path||(n=!0,this.createPathProxy());var o=this.path;(n||this.__dirty&Dl)&&(o.beginPath(),this.buildPath(o,this.shape,!1),this.pathUpdated()),e=o.getBoundingRect()}if(this._rect=e,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=e.clone());if(this.__dirty||i){s.copy(e);var l=a.strokeNoScale?this.getLineScale():1,u=a.lineWidth;if(!this.hasFill()){var v=this.strokeContainThreshold;u=Math.max(u,v==null?4:v)}l>1e-10&&(s.width+=u/l,s.height+=u/l,s.x-=u/l/2,s.y-=u/l/2)}return s}return e},t.prototype.contain=function(e,a){var i=this.transformCoordToLocal(e,a),n=this.getBoundingRect(),o=this.style;if(e=i[0],a=i[1],n.contain(e,a)){var s=this.path;if(this.hasStroke()){var l=o.lineWidth,u=o.strokeNoScale?this.getLineScale():1;if(u>1e-10&&(this.hasFill()||(l=Math.max(l,this.strokeContainThreshold)),eK(s,l/u,e,a)))return!0}if(this.hasFill())return JX(s,e,a)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=Dl,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(e){return this.animate("shape",e)},t.prototype.updateDuringAnimation=function(e){e==="style"?this.dirtyStyle():e==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(e,a){e==="shape"?this.setShape(a):r.prototype.attrKV.call(this,e,a)},t.prototype.setShape=function(e,a){var i=this.shape;return i||(i=this.shape={}),typeof e=="string"?i[e]=a:_e(i,e),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&Dl)},t.prototype.createStyle=function(e){return Bh(Dd,e)},t.prototype._innerSaveToNormal=function(e){r.prototype._innerSaveToNormal.call(this,e);var a=this._normalState;e.shape&&!a.shape&&(a.shape=_e({},this.shape))},t.prototype._applyStateObj=function(e,a,i,n,o,s){r.prototype._applyStateObj.call(this,e,a,i,n,o,s);var l=!(a&&n),u;if(a&&a.shape?o?n?u=a.shape:(u=_e({},i.shape),_e(u,a.shape)):(u=_e({},n?this.shape:i.shape),_e(u,a.shape)):l&&(u=i.shape),u)if(o){this.shape=_e({},this.shape);for(var v={},h=ft(u),f=0;f0},t.prototype.hasFill=function(){var e=this.style,a=e.fill;return a!=null&&a!=="none"},t.prototype.createStyle=function(e){return Bh(rK,e)},t.prototype.setBoundingRect=function(e){this._rect=e},t.prototype.getBoundingRect=function(){var e=this.style;if(!this._rect){var a=e.text;a!=null?a+="":a="";var i=Fh(a,e.font,e.textAlign,e.textBaseline);if(i.x+=e.x||0,i.y+=e.y||0,this.hasStroke()){var n=e.lineWidth;i.x-=n/2,i.y-=n/2,i.width+=n,i.height+=n}this._rect=i}return this._rect},t.initDefaultProps=(function(){var e=t.prototype;e.dirtyRectTolerance=10})(),t})(Za);Zl.prototype.type="tspan";var aK=Ue({x:0,y:0},xs),iK={style:Ue({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Lp.style)};function nK(r){return!!(r&&typeof r!="string"&&r.width&&r.height)}var Dr=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.createStyle=function(e){return Bh(aK,e)},t.prototype._getSize=function(e){var a=this.style,i=a[e];if(i!=null)return i;var n=nK(a.image)?a.image:this.__image;if(!n)return 0;var o=e==="width"?"height":"width",s=a[o];return s==null?n[e]:n[e]/n[o]*s},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return iK},t.prototype.getBoundingRect=function(){var e=this.style;return this._rect||(this._rect=new at(e.x||0,e.y||0,this.getWidth(),this.getHeight())),this._rect},t})(Za);Dr.prototype.type="image";function oK(r,t){var e=t.x,a=t.y,i=t.width,n=t.height,o=t.r,s,l,u,v;i<0&&(e=e+i,i=-i),n<0&&(a=a+n,n=-n),typeof o=="number"?s=l=u=v=o:o instanceof Array?o.length===1?s=l=u=v=o[0]:o.length===2?(s=u=o[0],l=v=o[1]):o.length===3?(s=o[0],l=v=o[1],u=o[2]):(s=o[0],l=o[1],u=o[2],v=o[3]):s=l=u=v=0;var h;s+l>i&&(h=s+l,s*=i/h,l*=i/h),u+v>i&&(h=u+v,u*=i/h,v*=i/h),l+u>n&&(h=l+u,l*=n/h,u*=n/h),s+v>n&&(h=s+v,s*=n/h,v*=n/h),r.moveTo(e+s,a),r.lineTo(e+i-l,a),l!==0&&r.arc(e+i-l,a+l,l,-Math.PI/2,0),r.lineTo(e+i,a+n-u),u!==0&&r.arc(e+i-u,a+n-u,u,0,Math.PI/2),r.lineTo(e+v,a+n),v!==0&&r.arc(e+v,a+n-v,v,Math.PI/2,Math.PI),r.lineTo(e,a+s),s!==0&&r.arc(e+s,a+s,s,Math.PI,Math.PI*1.5)}var kl=Math.round;function Oq(r,t,e){if(t){var a=t.x1,i=t.x2,n=t.y1,o=t.y2;r.x1=a,r.x2=i,r.y1=n,r.y2=o;var s=e&&e.lineWidth;return s&&(kl(a*2)===kl(i*2)&&(r.x1=r.x2=fs(a,s,!0)),kl(n*2)===kl(o*2)&&(r.y1=r.y2=fs(n,s,!0))),r}}function Nq(r,t,e){if(t){var a=t.x,i=t.y,n=t.width,o=t.height;r.x=a,r.y=i,r.width=n,r.height=o;var s=e&&e.lineWidth;return s&&(r.x=fs(a,s,!0),r.y=fs(i,s,!0),r.width=Math.max(fs(a+n,s,!1)-r.x,n===0?0:1),r.height=Math.max(fs(i+o,s,!1)-r.y,o===0?0:1)),r}}function fs(r,t,e){if(!t)return r;var a=kl(r*2);return(a+kl(t))%2===0?a/2:(a+(e?1:-1))/2}var sK=(function(){function r(){this.x=0,this.y=0,this.width=0,this.height=0}return r})(),lK={},gt=(function(r){he(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new sK},t.prototype.buildPath=function(e,a){var i,n,o,s;if(this.subPixelOptimize){var l=Nq(lK,a,this.style);i=l.x,n=l.y,o=l.width,s=l.height,l.r=a.r,a=l}else i=a.x,n=a.y,o=a.width,s=a.height;a.r?oK(e,a):e.rect(i,n,o,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t})(ht);gt.prototype.type="rect";var pL={fill:"#000"},gL=2,uK={style:Ue({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Lp.style)},pt=(function(r){he(t,r);function t(e){var a=r.call(this)||this;return a.type="text",a._children=[],a._defaultStyle=pL,a.attr(e),a}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){r.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e0,L=e.width!=null&&(e.overflow==="truncate"||e.overflow==="break"||e.overflow==="breakAll"),D=o.calculatedLineHeight,P=0;P=0&&(P=b[D],P.align==="right");)this._placeToken(P,e,A,m,L,"right",_),T-=P.width,L-=P.width,D--;for(M+=(n-(M-g)-(y-L)-T)/2;C<=D;)P=b[C],this._placeToken(P,e,A,m,M+P.width/2,"center",_),M+=P.width,C++;m+=A}},t.prototype._placeToken=function(e,a,i,n,o,s,l){var u=a.rich[e.styleName]||{};u.text=e.text;var v=e.verticalAlign,h=n+i/2;v==="top"?h=n+e.height/2:v==="bottom"&&(h=n+i-e.height/2);var f=!e.isLineHolder&&om(u);f&&this._renderBackground(u,a,s==="right"?o-e.width:s==="center"?o-e.width/2:o,h-e.height/2,e.width,e.height);var c=!!u.backgroundColor,d=e.textPadding;d&&(o=bL(o,s,d),h-=e.height/2-d[0]-e.innerHeight/2);var p=this._getOrCreateChild(Zl),g=p.createStyle();p.useStyle(g);var m=this._defaultStyle,y=!1,_=0,x=SL("fill"in u?u.fill:"fill"in a?a.fill:(y=!0,m.fill)),S=xL("stroke"in u?u.stroke:"stroke"in a?a.stroke:!c&&!l&&(!m.autoStroke||y)?(_=gL,m.stroke):null),b=u.textShadowBlur>0||a.textShadowBlur>0;g.text=e.text,g.x=o,g.y=h,b&&(g.shadowBlur=u.textShadowBlur||a.textShadowBlur||0,g.shadowColor=u.textShadowColor||a.textShadowColor||"transparent",g.shadowOffsetX=u.textShadowOffsetX||a.textShadowOffsetX||0,g.shadowOffsetY=u.textShadowOffsetY||a.textShadowOffsetY||0),g.textAlign=s,g.textBaseline="middle",g.font=e.font||oo,g.opacity=ci(u.opacity,a.opacity,1),yL(g,u),S&&(g.lineWidth=ci(u.lineWidth,a.lineWidth,_),g.lineDash=Je(u.lineDash,a.lineDash),g.lineDashOffset=a.lineDashOffset||0,g.stroke=S),x&&(g.fill=x);var w=e.contentWidth,A=e.contentHeight;p.setBoundingRect(new at(Iv(g.x,w,g.textAlign),Ll(g.y,A,g.textBaseline),w,A))},t.prototype._renderBackground=function(e,a,i,n,o,s){var l=e.backgroundColor,u=e.borderWidth,v=e.borderColor,h=l&&l.image,f=l&&!h,c=e.borderRadius,d=this,p,g;if(f||e.lineHeight||u&&v){p=this._getOrCreateChild(gt),p.useStyle(p.createStyle()),p.style.fill=null;var m=p.shape;m.x=i,m.y=n,m.width=o,m.height=s,m.r=c,p.dirtyShape()}if(f){var y=p.style;y.fill=l||null,y.fillOpacity=Je(e.fillOpacity,1)}else if(h){g=this._getOrCreateChild(Dr),g.onload=function(){d.dirtyStyle()};var _=g.style;_.image=l.image,_.x=i,_.y=n,_.width=o,_.height=s}if(u&&v){var y=p.style;y.lineWidth=u,y.stroke=v,y.strokeOpacity=Je(e.strokeOpacity,1),y.lineDash=e.borderDash,y.lineDashOffset=e.borderDashOffset||0,p.strokeContainThreshold=0,p.hasFill()&&p.hasStroke()&&(y.strokeFirst=!0,y.lineWidth*=2)}var x=(p||g).style;x.shadowBlur=e.shadowBlur||0,x.shadowColor=e.shadowColor||"transparent",x.shadowOffsetX=e.shadowOffsetX||0,x.shadowOffsetY=e.shadowOffsetY||0,x.opacity=ci(e.opacity,a.opacity,1)},t.makeFont=function(e){var a="";return Bq(e)&&(a=[e.fontStyle,e.fontWeight,zq(e.fontSize),e.fontFamily||"sans-serif"].join(" ")),a&&Ua(a)||e.textFont||e.font},t})(Za),vK={left:!0,right:1,center:1},hK={top:1,bottom:1,middle:1},mL=["fontStyle","fontWeight","fontSize","fontFamily"];function zq(r){return typeof r=="string"&&(r.indexOf("px")!==-1||r.indexOf("rem")!==-1||r.indexOf("em")!==-1)?r:isNaN(+r)?LA+"px":r+"px"}function yL(r,t){for(var e=0;e=0,n=!1;if(r instanceof ht){var o=Vq(r),s=i&&o.selectFill||o.normalFill,l=i&&o.selectStroke||o.normalStroke;if(il(s)||il(l)){a=a||{};var u=a.style||{};u.fill==="inherit"?(n=!0,a=_e({},a),u=_e({},u),u.fill=s):!il(u.fill)&&il(s)?(n=!0,a=_e({},a),u=_e({},u),u.fill=Td(s)):!il(u.stroke)&&il(l)&&(n||(a=_e({},a),u=_e({},u)),u.stroke=Td(l)),a.style=u}}if(a&&a.z2==null){n||(a=_e({},a));var v=r.z2EmphasisLift;a.z2=r.z2+(v!=null?v:nu)}return a}function yK(r,t,e){if(e&&e.z2==null){e=_e({},e);var a=r.z2SelectLift;e.z2=r.z2+(a!=null?a:cK)}return e}function _K(r,t,e){var a=nt(r.currentStates,t)>=0,i=r.style.opacity,n=a?null:gK(r,["opacity"],t,{opacity:1});e=e||{};var o=e.style||{};return o.opacity==null&&(e=_e({},e),o=_e({opacity:a?i:n.opacity*.1},o),e.style=o),e}function sm(r,t){var e=this.states[r];if(this.style){if(r==="emphasis")return mK(this,r,t,e);if(r==="blur")return _K(this,r,e);if(r==="select")return yK(this,r,e)}return e}function Is(r){r.stateProxy=sm;var t=r.getTextContent(),e=r.getTextGuideLine();t&&(t.stateProxy=sm),e&&(e.stateProxy=sm)}function ML(r,t){!$q(r,t)&&!r.__highByOuter&&Mn(r,Gq)}function DL(r,t){!$q(r,t)&&!r.__highByOuter&&Mn(r,Fq)}function xn(r,t){r.__highByOuter|=1<<(t||0),Mn(r,Gq)}function Sn(r,t){!(r.__highByOuter&=~(1<<(t||0)))&&Mn(r,Fq)}function qq(r){Mn(r,jA)}function JA(r){Mn(r,Hq)}function Wq(r){Mn(r,dK)}function Uq(r){Mn(r,pK)}function $q(r,t){return r.__highDownSilentOnTouch&&t.zrByTouch}function Yq(r){var t=r.getModel(),e=[],a=[];t.eachComponent(function(i,n){var o=KA(n),s=i==="series",l=s?r.getViewOfSeriesModel(n):r.getViewOfComponentModel(n);!s&&a.push(l),o.isBlured&&(l.group.traverse(function(u){Hq(u)}),s&&e.push(n)),o.isBlured=!1}),$(a,function(i){i&&i.toggleBlurSeries&&i.toggleBlurSeries(e,!1,t)})}function uT(r,t,e,a){var i=a.getModel();e=e||"coordinateSystem";function n(u,v){for(var h=0;h0){var s={dataIndex:o,seriesIndex:e.seriesIndex};n!=null&&(s.dataType=n),t.push(s)}})}),t}function to(r,t,e){cs(r,!0),Mn(r,Is),hT(r,t,e)}function AK(r){cs(r,!1)}function tr(r,t,e,a){a?AK(r):to(r,t,e)}function hT(r,t,e){var a=Xe(r);t!=null?(a.focus=t,a.blurScope=e):a.focus&&(a.focus=null)}var IL=["emphasis","blur","select"],CK={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Vr(r,t,e,a){e=e||"itemStyle";for(var i=0;i1&&(o*=lm(d),s*=lm(d));var p=(i===n?-1:1)*lm((o*o*(s*s)-o*o*(c*c)-s*s*(f*f))/(o*o*(c*c)+s*s*(f*f)))||0,g=p*o*c/s,m=p*-s*f/o,y=(r+e)/2+Bf(h)*g-zf(h)*m,_=(t+a)/2+zf(h)*g+Bf(h)*m,x=kL([1,0],[(f-g)/o,(c-m)/s]),S=[(f-g)/o,(c-m)/s],b=[(-1*f-g)/o,(-1*c-m)/s],w=kL(S,b);if(cT(S,b)<=-1&&(w=Fu),cT(S,b)>=1&&(w=0),w<0){var A=Math.round(w/Fu*1e6)/1e6;w=Fu*2+A%2*Fu}v.addData(u,y,_,o,s,x,w,h,n)}var RK=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,EK=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function kK(r){var t=new Zi;if(!r)return t;var e=0,a=0,i=e,n=a,o,s=Zi.CMD,l=r.match(RK);if(!l)return t;for(var u=0;uP*P+I*I&&(A=C,T=M),{cx:A,cy:T,x0:-v,y0:-h,x1:A*(i/S-1),y1:T*(i/S-1)}}function FK(r){var t;if(Se(r)){var e=r.length;if(!e)return r;e===1?t=[r[0],r[0],0,0]:e===2?t=[r[0],r[0],r[1],r[1]]:e===3?t=r.concat(r[2]):t=r}else t=[r,r,r,r];return t}function HK(r,t){var e,a=Pv(t.r,0),i=Pv(t.r0||0,0),n=a>0,o=i>0;if(!(!n&&!o)){if(n||(a=i,i=0),i>a){var s=a;a=i,i=s}var l=t.startAngle,u=t.endAngle;if(!(isNaN(l)||isNaN(u))){var v=t.cx,h=t.cy,f=!!t.clockwise,c=NL(u-l),d=c>um&&c%um;if(d>si&&(c=d),!(a>si))r.moveTo(v,h);else if(c>um-si)r.moveTo(v+a*ol(l),h+a*Vo(l)),r.arc(v,h,a,l,u,!f),i>si&&(r.moveTo(v+i*ol(u),h+i*Vo(u)),r.arc(v,h,i,u,l,f));else{var p=void 0,g=void 0,m=void 0,y=void 0,_=void 0,x=void 0,S=void 0,b=void 0,w=void 0,A=void 0,T=void 0,C=void 0,M=void 0,L=void 0,D=void 0,P=void 0,I=a*ol(l),R=a*Vo(l),E=i*ol(u),k=i*Vo(u),B=c>si;if(B){var F=t.cornerRadius;F&&(e=FK(F),p=e[0],g=e[1],m=e[2],y=e[3]);var V=NL(a-i)/2;if(_=Li(V,m),x=Li(V,y),S=Li(V,p),b=Li(V,g),T=w=Pv(_,x),C=A=Pv(S,b),(w>si||A>si)&&(M=a*ol(u),L=a*Vo(u),D=i*ol(l),P=i*Vo(l),csi){var W=Li(m,T),Y=Li(y,T),X=Vf(D,P,I,R,a,W,f),K=Vf(M,L,E,k,a,Y,f);r.moveTo(v+X.cx+X.x0,h+X.cy+X.y0),T0&&r.arc(v+X.cx,h+X.cy,W,Hr(X.y0,X.x0),Hr(X.y1,X.x1),!f),r.arc(v,h,a,Hr(X.cy+X.y1,X.cx+X.x1),Hr(K.cy+K.y1,K.cx+K.x1),!f),Y>0&&r.arc(v+K.cx,h+K.cy,Y,Hr(K.y1,K.x1),Hr(K.y0,K.x0),!f))}else r.moveTo(v+I,h+R),r.arc(v,h,a,l,u,!f);if(!(i>si)||!B)r.lineTo(v+E,h+k);else if(C>si){var W=Li(p,C),Y=Li(g,C),X=Vf(E,k,M,L,i,-Y,f),K=Vf(I,R,D,P,i,-W,f);r.lineTo(v+X.cx+X.x0,h+X.cy+X.y0),C0&&r.arc(v+X.cx,h+X.cy,Y,Hr(X.y0,X.x0),Hr(X.y1,X.x1),!f),r.arc(v,h,i,Hr(X.cy+X.y1,X.cx+X.x1),Hr(K.cy+K.y1,K.cx+K.x1),f),W>0&&r.arc(v+K.cx,h+K.cy,W,Hr(K.y1,K.x1),Hr(K.y0,K.x0),!f))}else r.lineTo(v+E,h+k),r.arc(v,h,i,u,l,f)}r.closePath()}}}var qK=(function(){function r(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return r})(),Qr=(function(r){he(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new qK},t.prototype.buildPath=function(e,a){HK(e,a)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t})(ht);Qr.prototype.type="sector";var WK=(function(){function r(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return r})(),ou=(function(r){he(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new WK},t.prototype.buildPath=function(e,a){var i=a.cx,n=a.cy,o=Math.PI*2;e.moveTo(i+a.r,n),e.arc(i,n,a.r,0,o,!1),e.moveTo(i+a.r0,n),e.arc(i,n,a.r0,0,o,!0)},t})(ht);ou.prototype.type="ring";function UK(r,t,e,a){var i=[],n=[],o=[],s=[],l,u,v,h;if(a){v=[1/0,1/0],h=[-1/0,-1/0];for(var f=0,c=r.length;f=2){if(a){var n=UK(i,a,e,t.smoothConstraint);r.moveTo(i[0][0],i[0][1]);for(var o=i.length,s=0;s<(e?o:o-1);s++){var l=n[s*2],u=n[s*2+1],v=i[(s+1)%o];r.bezierCurveTo(l[0],l[1],u[0],u[1],v[0],v[1])}}else{r.moveTo(i[0][0],i[0][1]);for(var s=1,h=i.length;sFo[1]){if(s=!1,n)return s;var v=Math.abs(Fo[0]-Go[1]),h=Math.abs(Go[0]-Fo[1]);Math.min(v,h)>i.len()&&(v0){var h=v.duration,f=v.delay,c=v.easing,d={duration:h,delay:f||0,easing:c,done:n,force:!!n||!!o,setToFinal:!u,scope:r,during:o};s?t.animateFrom(e,d):t.animateTo(e,d)}else t.stopAnimation(),!s&&t.attr(e),o&&o(1),n&&n()}function wt(r,t,e,a,i,n){aC("update",r,t,e,a,i,n)}function $t(r,t,e,a,i,n){aC("enter",r,t,e,a,i,n)}function Gl(r){if(!r.__zr)return!0;for(var t=0;tMath.abs(n[1])?n[0]>0?"right":"left":n[1]>0?"bottom":"top"}function VL(r){return!r.isGroup}function rQ(r){return r.shape!=null}function Yh(r,t,e){if(!r||!t)return;function a(o){var s={};return o.traverse(function(l){VL(l)&&l.anid&&(s[l.anid]=l)}),s}function i(o){var s={x:o.x,y:o.y,rotation:o.rotation};return rQ(o)&&(s.shape=_e({},o.shape)),s}var n=a(r);t.traverse(function(o){if(VL(o)&&o.anid){var s=n[o.anid];if(s){var l=i(o);o.attr(i(s)),wt(o,l,e,Xe(o).dataIndex)}}})}function oC(r,t){return we(r,function(e){var a=e[0];a=Pd(a,t.x),a=Rd(a,t.x+t.width);var i=e[1];return i=Pd(i,t.y),i=Rd(i,t.y+t.height),[a,i]})}function sW(r,t){var e=Pd(r.x,t.x),a=Rd(r.x+r.width,t.x+t.width),i=Pd(r.y,t.y),n=Rd(r.y+r.height,t.y+t.height);if(a>=e&&n>=i)return{x:e,y:i,width:a-e,height:n-i}}function vu(r,t,e){var a=_e({rectHover:!0},t),i=a.style={strokeNoScale:!0};if(e=e||{x:-1,y:-1,width:2,height:2},r)return r.indexOf("image://")===0?(i.image=r.slice(8),Ue(i,e),new Dr(a)):$h(r.replace("path://",""),a,e,"center")}function Rv(r,t,e,a,i){for(var n=0,o=i[i.length-1];n1)return!1;var g=vm(c,d,v,h)/f;return!(g<0||g>1)}function vm(r,t,e,a){return r*a-e*t}function aQ(r){return r<=1e-6&&r>=-1e-6}function zs(r){var t=r.itemTooltipOption,e=r.componentModel,a=r.itemName,i=Re(t)?{formatter:t}:t,n=e.mainType,o=e.componentIndex,s={componentType:n,name:a,$vars:["name"]};s[n+"Index"]=o;var l=r.formatterParamsExtra;l&&$(ft(l),function(v){Be(s,v)||(s[v]=l[v],s.$vars.push(v))});var u=Xe(r.el);u.componentMainType=n,u.componentIndex=o,u.tooltipConfig={name:a,option:Ue({content:a,encodeHTMLContent:!0,formatterParams:s},i)}}function GL(r,t){var e;r.isGroup&&(e=t(r)),e||r.traverse(t)}function po(r,t){if(r)if(Se(r))for(var e=0;e=0&&s.push(l)}),s}}function go(r,t){return tt(tt({},r,!0),t,!0)}const pQ={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},gQ={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var kd="ZH",lC="EN",Fl=lC,id={},uC={},dW=vt.domSupported?(function(){var r=(document.documentElement.lang||navigator.language||navigator.browserLanguage||Fl).toUpperCase();return r.indexOf(kd)>-1?kd:Fl})():Fl;function vC(r,t){r=r.toUpperCase(),uC[r]=new Mt(t),id[r]=t}function mQ(r){if(Re(r)){var t=id[r.toUpperCase()]||{};return r===kd||r===lC?Ye(t):tt(Ye(t),Ye(id[Fl]),!1)}else return tt(Ye(r),Ye(id[Fl]),!1)}function gT(r){return uC[r]}function yQ(){return uC[Fl]}vC(lC,pQ);vC(kd,gQ);var hC=1e3,fC=hC*60,jv=fC*60,Wa=jv*24,UL=Wa*365,Ev={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},Hf="{yyyy}-{MM}-{dd}",$L={year:"{yyyy}",month:"{yyyy}-{MM}",day:Hf,hour:Hf+" "+Ev.hour,minute:Hf+" "+Ev.minute,second:Hf+" "+Ev.second,millisecond:Ev.none},cm=["year","month","day","hour","minute","second","millisecond"],pW=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function na(r,t){return r+="","0000".substr(0,t-r.length)+r}function Hl(r){switch(r){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return r}}function _Q(r){return r===Hl(r)}function xQ(r){switch(r){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function Zh(r,t,e,a){var i=Ma(r),n=i[cC(e)](),o=i[ql(e)]()+1,s=Math.floor((o-1)/3)+1,l=i[zp(e)](),u=i["get"+(e?"UTC":"")+"Day"](),v=i[yh(e)](),h=(v-1)%12+1,f=i[Bp(e)](),c=i[Vp(e)](),d=i[Gp(e)](),p=v>=12?"pm":"am",g=p.toUpperCase(),m=a instanceof Mt?a:gT(a||dW)||yQ(),y=m.getModel("time"),_=y.get("month"),x=y.get("monthAbbr"),S=y.get("dayOfWeek"),b=y.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,p+"").replace(/{A}/g,g+"").replace(/{yyyy}/g,n+"").replace(/{yy}/g,na(n%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,_[o-1]).replace(/{MMM}/g,x[o-1]).replace(/{MM}/g,na(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,na(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,S[u]).replace(/{ee}/g,b[u]).replace(/{e}/g,u+"").replace(/{HH}/g,na(v,2)).replace(/{H}/g,v+"").replace(/{hh}/g,na(h+"",2)).replace(/{h}/g,h+"").replace(/{mm}/g,na(f,2)).replace(/{m}/g,f+"").replace(/{ss}/g,na(c,2)).replace(/{s}/g,c+"").replace(/{SSS}/g,na(d,3)).replace(/{S}/g,d+"")}function SQ(r,t,e,a,i){var n=null;if(Re(e))n=e;else if(He(e))n=e(r.value,t,{level:r.level});else{var o=_e({},Ev);if(r.level>0)for(var s=0;s=0;--s)if(l[u]){n=l[u];break}n=n||o.none}if(Se(n)){var h=r.level==null?0:r.level>=0?r.level:n.length+r.level;h=Math.min(h,n.length-1),n=n[h]}}return Zh(new Date(r.value),n,i,a)}function gW(r,t){var e=Ma(r),a=e[ql(t)]()+1,i=e[zp(t)](),n=e[yh(t)](),o=e[Bp(t)](),s=e[Vp(t)](),l=e[Gp(t)](),u=l===0,v=u&&s===0,h=v&&o===0,f=h&&n===0,c=f&&i===1,d=c&&a===1;return d?"year":c?"month":f?"day":h?"hour":v?"minute":u?"second":"millisecond"}function YL(r,t,e){var a=bt(r)?Ma(r):r;switch(t=t||gW(r,e),t){case"year":return a[cC(e)]();case"half-year":return a[ql(e)]()>=6?1:0;case"quarter":return Math.floor((a[ql(e)]()+1)/4);case"month":return a[ql(e)]();case"day":return a[zp(e)]();case"half-day":return a[yh(e)]()/24;case"hour":return a[yh(e)]();case"minute":return a[Bp(e)]();case"second":return a[Vp(e)]();case"millisecond":return a[Gp(e)]()}}function cC(r){return r?"getUTCFullYear":"getFullYear"}function ql(r){return r?"getUTCMonth":"getMonth"}function zp(r){return r?"getUTCDate":"getDate"}function yh(r){return r?"getUTCHours":"getHours"}function Bp(r){return r?"getUTCMinutes":"getMinutes"}function Vp(r){return r?"getUTCSeconds":"getSeconds"}function Gp(r){return r?"getUTCMilliseconds":"getMilliseconds"}function bQ(r){return r?"setUTCFullYear":"setFullYear"}function mW(r){return r?"setUTCMonth":"setMonth"}function yW(r){return r?"setUTCDate":"setDate"}function _W(r){return r?"setUTCHours":"setHours"}function xW(r){return r?"setUTCMinutes":"setMinutes"}function SW(r){return r?"setUTCSeconds":"setSeconds"}function bW(r){return r?"setUTCMilliseconds":"setMilliseconds"}function wQ(r,t,e,a,i,n,o,s){var l=new pt({style:{text:r,font:t,align:e,verticalAlign:a,padding:i,rich:n,overflow:o?"truncate":null,lineHeight:s}});return l.getBoundingRect()}function dC(r){if(!WA(r))return Re(r)?r:"-";var t=(r+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function pC(r,t){return r=(r||"").toLowerCase().replace(/-(.)/g,function(e,a){return a.toUpperCase()}),t&&r&&(r=r.charAt(0).toUpperCase()+r.slice(1)),r}var Vs=xp;function mT(r,t,e){var a="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function i(v){return v&&Ua(v)?v:"-"}function n(v){return!!(v!=null&&!isNaN(v)&&isFinite(v))}var o=t==="time",s=r instanceof Date;if(o||s){var l=o?Ma(r):r;if(isNaN(+l)){if(s)return"-"}else return Zh(l,a,e)}if(t==="ordinal")return md(r)?i(r):bt(r)&&n(r)?r+"":"-";var u=Yi(r);return n(u)?dC(u):md(r)?i(r):typeof r=="boolean"?r+"":"-"}var ZL=["a","b","c","d","e","f","g"],dm=function(r,t){return"{"+r+(t==null?"":t)+"}"};function gC(r,t,e){Se(t)||(t=[t]);var a=t.length;if(!a)return"";for(var i=t[0].$vars||[],n=0;n':'';var o=e.markerId||"markerX";return{renderMode:n,content:"{"+o+"|} ",style:i==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:a}:{width:10,height:10,borderRadius:5,backgroundColor:a}}}function AQ(r,t,e){(r==="week"||r==="month"||r==="quarter"||r==="half-year"||r==="year")&&(r="MM-dd\nyyyy");var a=Ma(t),i=e?"getUTC":"get",n=a[i+"FullYear"](),o=a[i+"Month"]()+1,s=a[i+"Date"](),l=a[i+"Hours"](),u=a[i+"Minutes"](),v=a[i+"Seconds"](),h=a[i+"Milliseconds"]();return r=r.replace("MM",na(o,2)).replace("M",o).replace("yyyy",n).replace("yy",na(n%100+"",2)).replace("dd",na(s,2)).replace("d",s).replace("hh",na(l,2)).replace("h",l).replace("mm",na(u,2)).replace("m",u).replace("ss",na(v,2)).replace("s",v).replace("SSS",na(h,3)),r}function CQ(r){return r&&r.charAt(0).toUpperCase()+r.substr(1)}function Ps(r,t){return t=t||"transparent",Re(r)?r:$e(r)&&r.colorStops&&(r.colorStops[0]||{}).color||t}function Od(r,t){if(t==="_blank"||t==="blank"){var e=window.open();e.opener=null,e.location.href=r}else window.open(r,t)}var nd=$,TW=["left","right","top","bottom","width","height"],ds=[["width","left","right"],["height","top","bottom"]];function mC(r,t,e,a,i){var n=0,o=0;a==null&&(a=1/0),i==null&&(i=1/0);var s=0;t.eachChild(function(l,u){var v=l.getBoundingRect(),h=t.childAt(u+1),f=h&&h.getBoundingRect(),c,d;if(r==="horizontal"){var p=v.width+(f?-f.x+v.x:0);c=n+p,c>a||l.newline?(n=0,c=p,o+=s+e,s=v.height):s=Math.max(s,v.height)}else{var g=v.height+(f?-f.y+v.y:0);d=o+g,d>i||l.newline?(n+=s+e,o=0,d=g,s=v.width):s=Math.max(s,v.width)}l.newline||(l.x=n,l.y=o,l.markRedraw(),r==="horizontal"?n=c+e:o=d+e)})}var bs=mC;et(mC,"vertical");et(mC,"horizontal");function MQ(r,t,e){var a=t.width,i=t.height,n=Ie(r.left,a),o=Ie(r.top,i),s=Ie(r.right,a),l=Ie(r.bottom,i);return(isNaN(n)||isNaN(parseFloat(r.left)))&&(n=0),(isNaN(s)||isNaN(parseFloat(r.right)))&&(s=a),(isNaN(o)||isNaN(parseFloat(r.top)))&&(o=0),(isNaN(l)||isNaN(parseFloat(r.bottom)))&&(l=i),e=Vs(e||0),{width:Math.max(s-n-e[1]-e[3],0),height:Math.max(l-o-e[0]-e[2],0)}}function dr(r,t,e){e=Vs(e||0);var a=t.width,i=t.height,n=Ie(r.left,a),o=Ie(r.top,i),s=Ie(r.right,a),l=Ie(r.bottom,i),u=Ie(r.width,a),v=Ie(r.height,i),h=e[2]+e[0],f=e[1]+e[3],c=r.aspect;switch(isNaN(u)&&(u=a-s-f-n),isNaN(v)&&(v=i-l-h-o),c!=null&&(isNaN(u)&&isNaN(v)&&(c>a/i?u=a*.8:v=i*.8),isNaN(u)&&(u=c*v),isNaN(v)&&(v=u/c)),isNaN(n)&&(n=a-s-u-f),isNaN(o)&&(o=i-l-v-h),r.left||r.right){case"center":n=a/2-u/2-e[3];break;case"right":n=a-u-f;break}switch(r.top||r.bottom){case"middle":case"center":o=i/2-v/2-e[0];break;case"bottom":o=i-v-h;break}n=n||0,o=o||0,isNaN(u)&&(u=a-f-n-(s||0)),isNaN(v)&&(v=i-h-o-(l||0));var d=new at(n+e[3],o+e[0],u,v);return d.margin=e,d}function Fp(r,t,e,a,i,n){var o=!i||!i.hv||i.hv[0],s=!i||!i.hv||i.hv[1],l=i&&i.boundingMode||"all";if(n=n||r,n.x=r.x,n.y=r.y,!o&&!s)return!1;var u;if(l==="raw")u=r.type==="group"?new at(0,0,+t.width||0,+t.height||0):r.getBoundingRect();else if(u=r.getBoundingRect(),r.needLocalTransform()){var v=r.getLocalTransform();u=u.clone(),u.applyTransform(v)}var h=dr(Ue({width:u.width,height:u.height},t),e,a),f=o?h.x-u.x:0,c=s?h.y-u.y:0;return l==="raw"?(n.x=f,n.y=c):(n.x+=f,n.y+=c),n===r&&r.markRedraw(),!0}function DQ(r,t){return r[ds[t][0]]!=null||r[ds[t][1]]!=null&&r[ds[t][2]]!=null}function _h(r){var t=r.layoutMode||r.constructor.layoutMode;return $e(t)?t:t?{type:t}:null}function uo(r,t,e){var a=e&&e.ignoreSize;!Se(a)&&(a=[a,a]);var i=o(ds[0],0),n=o(ds[1],1);u(ds[0],r,i),u(ds[1],r,n);function o(v,h){var f={},c=0,d={},p=0,g=2;if(nd(v,function(_){d[_]=r[_]}),nd(v,function(_){s(t,_)&&(f[_]=d[_]=t[_]),l(f,_)&&c++,l(d,_)&&p++}),a[h])return l(t,v[1])?d[v[2]]=null:l(t,v[2])&&(d[v[1]]=null),d;if(p===g||!c)return d;if(c>=g)return f;for(var m=0;m=0;l--)s=tt(s,i[l],!0);a.defaultOption=s}return a.defaultOption},t.prototype.getReferringComponents=function(e,a){var i=e+"Index",n=e+"Id";return Hh(this.ecModel,e,{index:this.get(i,!0),id:this.get(n,!0)},a)},t.prototype.getBoxLayoutParams=function(){var e=this;return{left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(e){this.option.zlevel=e},t.protoInitialize=(function(){var e=t.prototype;e.type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0})(),t})(Mt);Dq(ut,Mt);Mp(ut);cQ(ut);dQ(ut,IQ);function IQ(r){var t=[];return $(ut.getClassesByMainType(r),function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])}),t=we(t,function(e){return Gi(e).main}),r!=="dataset"&&nt(t,"dataset")<=0&&t.unshift("dataset"),t}var CW="";typeof navigator<"u"&&(CW=navigator.platform||"");var sl="rgba(0, 0, 0, 0.2)";const PQ={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:sl,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:sl,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:sl,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:sl,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:sl,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:sl,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:CW.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var MW=Ge(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Qa="original",Jr="arrayRows",ja="objectRows",Ki="keyedColumns",ao="typedArray",DW="unknown",Ui="column",du="row",zr={Must:1,Might:2,Not:3},LW=yt();function RQ(r){LW(r).datasetMap=Ge()}function IW(r,t,e){var a={},i=_C(t);if(!i||!r)return a;var n=[],o=[],s=t.ecModel,l=LW(s).datasetMap,u=i.uid+"_"+e.seriesLayoutBy,v,h;r=r.slice(),$(r,function(p,g){var m=$e(p)?p:r[g]={name:p};m.type==="ordinal"&&v==null&&(v=g,h=d(m)),a[m.name]=[]});var f=l.get(u)||l.set(u,{categoryWayDim:h,valueWayDim:0});$(r,function(p,g){var m=p.name,y=d(p);if(v==null){var _=f.valueWayDim;c(a[m],_,y),c(o,_,y),f.valueWayDim+=y}else if(v===g)c(a[m],0,y),c(n,0,y);else{var _=f.categoryWayDim;c(a[m],_,y),c(o,_,y),f.categoryWayDim+=y}});function c(p,g,m){for(var y=0;yt)return r[a];return r[e-1]}function EW(r,t,e,a,i,n,o){n=n||r;var s=t(n),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var v=o==null||!a?e:zQ(a,o);if(v=v||e,!(!v||!v.length)){var h=v[l];return i&&(u[i]=h),s.paletteIdx=(l+1)%v.length,h}}function BQ(r,t){t(r).paletteIdx=0,t(r).paletteNameMap={}}var qf,Hu,KL,QL="\0_ec_inner",VQ=1,SC=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.init=function(e,a,i,n,o,s){n=n||{},this.option=null,this._theme=new Mt(n),this._locale=new Mt(o),this._optionManager=s},t.prototype.setOption=function(e,a,i){var n=eI(a);this._optionManager.setOption(e,i,n),this._resetOption(null,n)},t.prototype.resetOption=function(e,a){return this._resetOption(e,eI(a))},t.prototype._resetOption=function(e,a){var i=!1,n=this._optionManager;if(!e||e==="recreate"){var o=n.mountOption(e==="recreate");!this.option||e==="recreate"?KL(this,o):(this.restoreData(),this._mergeOption(o,a)),i=!0}if((e==="timeline"||e==="media")&&this.restoreData(),!e||e==="recreate"||e==="timeline"){var s=n.getTimelineOption(this);s&&(i=!0,this._mergeOption(s,a))}if(!e||e==="recreate"||e==="media"){var l=n.getMediaOption(this);l.length&&$(l,function(u){i=!0,this._mergeOption(u,a)},this)}return i},t.prototype.mergeOption=function(e){this._mergeOption(e,null)},t.prototype._mergeOption=function(e,a){var i=this.option,n=this._componentsMap,o=this._componentsCount,s=[],l=Ge(),u=a&&a.replaceMergeMainTypeMap;RQ(this),$(e,function(h,f){h!=null&&(ut.hasClass(f)?f&&(s.push(f),l.set(f,!0)):i[f]=i[f]==null?Ye(h):tt(i[f],h,!0))}),u&&u.each(function(h,f){ut.hasClass(f)&&!l.get(f)&&(s.push(f),l.set(f,!0))}),ut.topologicalTravel(s,ut.getAllClassMainTypes(),v,this);function v(h){var f=OQ(this,h,Nt(e[h])),c=n.get(h),d=c?u&&u.get(h)?"replaceMerge":"normalMerge":"replaceAll",p=wq(c,f,d);fX(p,h,ut),i[h]=null,n.set(h,null),o.set(h,0);var g=[],m=[],y=0,_;$(p,function(x,S){var b=x.existing,w=x.newOption;if(!w)b&&(b.mergeOption({},this),b.optionUpdated({},!1));else{var A=h==="series",T=ut.getClass(h,x.keyInfo.subType,!A);if(!T)return;if(h==="tooltip"){if(_)return;_=!0}if(b&&b.constructor===T)b.name=x.keyInfo.name,b.mergeOption(w,this),b.optionUpdated(w,!1);else{var C=_e({componentIndex:S},x.keyInfo);b=new T(w,this,this,C),_e(b,C),x.brandNew&&(b.__requireNewView=!0),b.init(w,this,this),b.optionUpdated(null,!0)}}b?(g.push(b.option),m.push(b),y++):(g.push(void 0),m.push(void 0))},this),i[h]=g,n.set(h,m),o.set(h,y),h==="series"&&qf(this)}this._seriesIndices||qf(this)},t.prototype.getOption=function(){var e=Ye(this.option);return $(e,function(a,i){if(ut.hasClass(i)){for(var n=Nt(a),o=n.length,s=!1,l=o-1;l>=0;l--)n[l]&&!dh(n[l])?s=!0:(n[l]=null,!s&&o--);n.length=o,e[i]=n}}),delete e[QL],e},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(e){this._payload=e},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(e,a){var i=this._componentsMap.get(e);if(i){var n=i[a||0];if(n)return n;if(a==null){for(var o=0;o=t:e==="max"?r<=t:r===t}function ZQ(r,t){return r.join(",")===t.join(",")}var ri=$,xh=$e,tI=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function gm(r){var t=r&&r.itemStyle;if(t)for(var e=0,a=tI.length;e=0;g--){var m=r[g];if(s||(d=m.data.rawIndexOf(m.stackedByDimension,c)),d>=0){var y=m.data.getByRawIndex(m.stackResultDimension,d);if(l==="all"||l==="positive"&&y>0||l==="negative"&&y<0||l==="samesign"&&f>=0&&y>0||l==="samesign"&&f<=0&&y<0){f=rX(f,y),p=y;break}}}return a[0]=f,a[1]=p,a})})}var Hp=(function(){function r(t){this.data=t.data||(t.sourceFormat===Ki?{}:[]),this.sourceFormat=t.sourceFormat||DW,this.seriesLayoutBy=t.seriesLayoutBy||Ui,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var a=0;ap&&(p=_)}c[0]=d,c[1]=p}},i=function(){return this._data?this._data.length/this._dimSize:0};lI=(t={},t[Jr+"_"+Ui]={pure:!0,appendData:n},t[Jr+"_"+du]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[ja]={pure:!0,appendData:n},t[Ki]={pure:!0,appendData:function(o){var s=this._data;$(o,function(l,u){for(var v=s[u]||(s[u]=[]),h=0;h<(l||[]).length;h++)v.push(l[h])})}},t[Qa]={appendData:n},t[ao]={persistent:!1,pure:!0,appendData:function(o){this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},t);function n(o){for(var s=0;s=0&&(p=o.interpolatedValue[g])}return p!=null?p+"":""})}},r.prototype.getRawValue=function(t,e){return Kl(this.getData(e),t)},r.prototype.formatTooltip=function(t,e,a){},r})();function fI(r){var t,e;return $e(r)?r.type&&(e=r):t=r,{text:t,frag:e}}function Jv(r){return new hj(r)}var hj=(function(){function r(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return r.prototype.perform=function(t){var e=this._upstream,a=t&&t.skip;if(this._dirty&&e){var i=this.context;i.data=i.outputData=e.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var n;this._plan&&!a&&(n=this._plan(this.context));var o=v(this._modBy),s=this._modDataCount||0,l=v(t&&t.modBy),u=t&&t.modDataCount||0;(o!==l||s!==u)&&(n="reset");function v(y){return!(y>=1)&&(y=1),y}var h;(this._dirty||n==="reset")&&(this._dirty=!1,h=this._doReset(a)),this._modBy=l,this._modDataCount=u;var f=t&&t.step;if(e?this._dueEnd=e._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var c=this._dueIndex,d=Math.min(f!=null?this._dueIndex+f:1/0,this._dueEnd);if(!a&&(h||c1&&a>0?s:o}};return n;function o(){return t=r?null:lt},gte:function(r,t){return r>=t}},cj=(function(){function r(t,e){if(!bt(e)){var a="";Rt(a)}this._opFn=WW[t],this._rvalFloat=Yi(e)}return r.prototype.evaluate=function(t){return bt(t)?this._opFn(t,this._rvalFloat):this._opFn(Yi(t),this._rvalFloat)},r})(),UW=(function(){function r(t,e){var a=t==="desc";this._resultLT=a?1:-1,e==null&&(e=a?"min":"max"),this._incomparable=e==="min"?-1/0:1/0}return r.prototype.evaluate=function(t,e){var a=bt(t)?t:Yi(t),i=bt(e)?e:Yi(e),n=isNaN(a),o=isNaN(i);if(n&&(a=this._incomparable),o&&(i=this._incomparable),n&&o){var s=Re(t),l=Re(e);s&&(a=l?t:0),l&&(i=s?e:0)}return ai?-this._resultLT:0},r})(),dj=(function(){function r(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=Yi(e)}return r.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var a=typeof t;a!==this._rvalTypeof&&(a==="number"||this._rvalTypeof==="number")&&(e=Yi(t)===this._rvalFloat)}return this._isEQ?e:!e},r})();function pj(r,t){return r==="eq"||r==="ne"?new dj(r==="eq",t):Be(WW,r)?new cj(r,t):null}var gj=(function(){function r(){}return r.prototype.getRawData=function(){throw new Error("not supported")},r.prototype.getRawDataItem=function(t){throw new Error("not supported")},r.prototype.cloneRawData=function(){},r.prototype.getDimensionInfo=function(t){},r.prototype.cloneAllDimensionInfo=function(){},r.prototype.count=function(){},r.prototype.retrieveValue=function(t,e){},r.prototype.retrieveValueFromItem=function(t,e){},r.prototype.convertValue=function(t,e){return io(t,e)},r})();function mj(r,t){var e=new gj,a=r.data,i=e.sourceFormat=r.sourceFormat,n=r.startIndex,o="";r.seriesLayoutBy!==Ui&&Rt(o);var s=[],l={},u=r.dimensionsDefine;if(u)$(u,function(p,g){var m=p.name,y={index:g,name:m,displayName:p.displayName};if(s.push(y),m!=null){var _="";Be(l,m)&&Rt(_),l[m]=y}});else for(var v=0;v65535?Aj:Cj}function ul(){return[1/0,-1/0]}function Mj(r){var t=r.constructor;return t===Array?r.slice():new t(r)}function pI(r,t,e,a,i){var n=ZW[e||"float"];if(i){var o=r[t],s=o&&o.length;if(s!==a){for(var l=new n(a),u=0;ug[1]&&(g[1]=p)}return this._rawCount=this._count=l,{start:s,end:l}},r.prototype._initDataFromProvider=function(t,e,a){for(var i=this._provider,n=this._chunks,o=this._dimensions,s=o.length,l=this._rawExtent,u=we(o,function(y){return y.property}),v=0;vm[1]&&(m[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},r.prototype.count=function(){return this._count},r.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,a=e[t];if(a!=null&&at)n=o-1;else return o}return-1},r.prototype.indicesOfNearest=function(t,e,a){var i=this._chunks,n=i[t],o=[];if(!n)return o;a==null&&(a=1/0);for(var s=1/0,l=-1,u=0,v=0,h=this.count();v=0&&l<0)&&(s=d,l=c,u=0),c===l&&(o[u++]=v))}return o.length=u,o},r.prototype.getIndices=function(){var t,e=this._indices;if(e){var a=e.constructor,i=this._count;if(a===Array){t=new a(i);for(var n=0;n=h&&y<=f||isNaN(y))&&(l[u++]=p),p++}d=!0}else if(n===2){for(var g=c[i[0]],_=c[i[1]],x=t[i[1]][0],S=t[i[1]][1],m=0;m=h&&y<=f||isNaN(y))&&(b>=x&&b<=S||isNaN(b))&&(l[u++]=p),p++}d=!0}}if(!d)if(n===1)for(var m=0;m=h&&y<=f||isNaN(y))&&(l[u++]=w)}else for(var m=0;mt[C][1])&&(A=!1)}A&&(l[u++]=e.getRawIndex(m))}return um[1]&&(m[1]=g)}}}},r.prototype.lttbDownSample=function(t,e){var a=this.clone([t],!0),i=a._chunks,n=i[t],o=this.count(),s=0,l=Math.floor(1/e),u=this.getRawIndex(0),v,h,f,c=new(ll(this._rawCount))(Math.min((Math.ceil(o/l)+2)*2,o));c[s++]=u;for(var d=1;dv&&(v=h,f=x)}M>0&&Ms&&(p=s-v);for(var g=0;gd&&(d=y,c=v+g)}var _=this.getRawIndex(h),x=this.getRawIndex(c);hv-d&&(l=v-d,s.length=l);for(var p=0;ph[1]&&(h[1]=m),f[c++]=y}return n._count=c,n._indices=f,n._updateGetRawIdx(),n},r.prototype.each=function(t,e){if(this._count)for(var a=t.length,i=this._chunks,n=0,o=this.count();nl&&(l=h)}return o=[s,l],this._extent[t]=o,o},r.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var a=[],i=this._chunks,n=0;n=0?this._indices[t]:-1},r.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},r.internalField=(function(){function t(e,a,i,n){return io(e[n],this._dimensions[n])}_m={arrayRows:t,objectRows:function(e,a,i,n){return io(e[a],this._dimensions[n])},keyedColumns:t,original:function(e,a,i,n){var o=e&&(e.value==null?e:e.value);return io(o instanceof Array?o[n]:o,this._dimensions[n])},typedArray:function(e,a,i,n){return e[n]}}})(),r})(),XW=(function(){function r(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return r.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},r.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},r.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},r.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},r.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,e=this._getUpstreamSourceManagers(),a=!!e.length,i,n;if(Wf(t)){var o=t,s=void 0,l=void 0,u=void 0;if(a){var v=e[0];v.prepareSource(),u=v.getSource(),s=u.data,l=u.sourceFormat,n=[v._getVersionSign()]}else s=o.get("data",!0),l=ua(s)?ao:Qa,n=[];var h=this._getSourceMetaRawOption()||{},f=u&&u.metaRawOption||{},c=Je(h.seriesLayoutBy,f.seriesLayoutBy)||null,d=Je(h.sourceHeader,f.sourceHeader),p=Je(h.dimensions,f.dimensions),g=c!==f.seriesLayoutBy||!!d!=!!f.sourceHeader||p;i=g?[xT(s,{seriesLayoutBy:c,sourceHeader:d,dimensions:p},l)]:[]}else{var m=t;if(a){var y=this._applyTransform(e);i=y.sourceList,n=y.upstreamSignList}else{var _=m.get("source",!0);i=[xT(_,this._getSourceMetaRawOption(),null)],n=[]}}this._setLocalSource(i,n)},r.prototype._applyTransform=function(t){var e=this._sourceHost,a=e.get("transform",!0),i=e.get("fromTransformResult",!0);if(i!=null){var n="";t.length!==1&&mI(n)}var o,s=[],l=[];return $(t,function(u){u.prepareSource();var v=u.getSource(i||0),h="";i!=null&&!v&&mI(h),s.push(v),l.push(u._getVersionSign())}),a?o=wj(a,s,{datasetIndex:e.componentIndex}):i!=null&&(o=[ij(s[0])]),{sourceList:o,upstreamSignList:l}},r.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e1||e>0&&!r.noHeader;return $(r.blocks,function(i){var n=JW(i);n>=t&&(t=n+ +(a&&(!n||bT(i)&&!i.noHeader)))}),t}return 0}function Pj(r,t,e,a){var i=t.noHeader,n=Ej(JW(t)),o=[],s=t.blocks||[];Kr(!s||Se(s)),s=s||[];var l=r.orderMode;if(t.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Be(u,l)){var v=new UW(u[l],null);s.sort(function(p,g){return v.evaluate(p.sortParam,g.sortParam)})}else l==="seriesDesc"&&s.reverse()}$(s,function(p,g){var m=t.valueFormatter,y=jW(p)(m?_e(_e({},r),{valueFormatter:m}):r,p,g>0?n.html:0,a);y!=null&&o.push(y)});var h=r.renderMode==="richText"?o.join(n.richText):wT(a,o.join(""),i?e:n.html);if(i)return h;var f=mT(t.header,"ordinal",r.useUTC),c=QW(a,r.renderMode).nameStyle,d=KW(a);return r.renderMode==="richText"?eU(r,f,c)+n.richText+h:wT(a,'
'+Zr(f)+"
"+h,e)}function Rj(r,t,e,a){var i=r.renderMode,n=t.noName,o=t.noValue,s=!t.markerType,l=t.name,u=r.useUTC,v=t.valueFormatter||r.valueFormatter||function(x){return x=Se(x)?x:[x],we(x,function(S,b){return mT(S,Se(c)?c[b]:c,u)})};if(!(n&&o)){var h=s?"":r.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),f=n?"":mT(l,"ordinal",u),c=t.valueType,d=o?[]:v(t.value,t.dataIndex),p=!s||!n,g=!s&&n,m=QW(a,i),y=m.nameStyle,_=m.valueStyle;return i==="richText"?(s?"":h)+(n?"":eU(r,f,y))+(o?"":Nj(r,d,p,g,_)):wT(a,(s?"":h)+(n?"":kj(f,!s,y))+(o?"":Oj(d,p,g,_)),e)}}function yI(r,t,e,a,i,n){if(r){var o=jW(r),s={useUTC:i,renderMode:e,orderMode:a,markupStyleCreator:t,valueFormatter:r.valueFormatter};return o(s,r,0,n)}}function Ej(r){return{html:Lj[r],richText:Ij[r]}}function wT(r,t,e){var a='
',i="margin: "+e+"px 0 0",n=KW(r);return'
'+t+a+"
"}function kj(r,t,e){var a=t?"margin-left:2px":"";return''+Zr(r)+""}function Oj(r,t,e,a){var i=e?"10px":"20px",n=t?"float:right;margin-left:"+i:"";return r=Se(r)?r:[r],''+we(r,function(o){return Zr(o)}).join("  ")+""}function eU(r,t,e){return r.markupStyleCreator.wrapRichTextStyle(t,e)}function Nj(r,t,e,a,i){var n=[i],o=a?10:20;return e&&n.push({padding:[0,0,0,o],align:"right"}),r.markupStyleCreator.wrapRichTextStyle(Se(t)?t.join(" "):t,n)}function tU(r,t){var e=r.getData().getItemVisual(t,"style"),a=e[r.visualDrawType];return Ps(a)}function rU(r,t){var e=r.get("padding");return e!=null?e:t==="richText"?[8,10]:10}var xm=(function(){function r(){this.richTextStyles={},this._nextStyleNameId=_q()}return r.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},r.prototype.makeTooltipMarker=function(t,e,a){var i=a==="richText"?this._generateStyleName():null,n=wW({color:e,type:t,renderMode:a,markerId:i});return Re(n)?n:(this.richTextStyles[i]=n.style,n.content)},r.prototype.wrapRichTextStyle=function(t,e){var a={};Se(e)?$(e,function(n){return _e(a,n)}):_e(a,e);var i=this._generateStyleName();return this.richTextStyles[i]=a,"{"+i+"|"+t+"}"},r})();function aU(r){var t=r.series,e=r.dataIndex,a=r.multipleSeries,i=t.getData(),n=i.mapDimensionsAll("defaultedTooltip"),o=n.length,s=t.getRawValue(e),l=Se(s),u=tU(t,e),v,h,f,c;if(o>1||l&&!o){var d=zj(s,t,e,n,u);v=d.inlineValues,h=d.inlineValueTypes,f=d.blocks,c=d.inlineValues[0]}else if(o){var p=i.getDimensionInfo(n[0]);c=v=Kl(i,e,n[0]),h=p.type}else c=v=l?s[0]:s;var g=UA(t),m=g&&t.name||"",y=i.getName(e),_=a?m:y;return Mr("section",{header:m,noHeader:a||!g,sortParam:c,blocks:[Mr("nameValue",{markerType:"item",markerColor:u,name:_,noName:!Ua(_),value:v,valueType:h,dataIndex:e})].concat(f||[])})}function zj(r,t,e,a,i){var n=t.getData(),o=Ya(r,function(h,f,c){var d=n.getDimensionInfo(c);return h=h||d&&d.tooltip!==!1&&d.displayName!=null},!1),s=[],l=[],u=[];a.length?$(a,function(h){v(Kl(n,e,h),h)}):$(r,v);function v(h,f){var c=n.getDimensionInfo(f);!c||c.otherDims.tooltip===!1||(o?u.push(Mr("nameValue",{markerType:"subItem",markerColor:i,name:c.displayName,value:h,valueType:c.type})):(s.push(h),l.push(c.type)))}return{inlineValues:s,inlineValueTypes:l,blocks:u}}var En=yt();function Uf(r,t){return r.getName(t)||r.getId(t)}var od="__universalTransitionEnabled",zt=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return t.prototype.init=function(e,a,i){this.seriesIndex=this.componentIndex,this.dataTask=Jv({count:Vj,reset:Gj}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,i);var n=En(this).sourceManager=new XW(this);n.prepareSource();var o=this.getInitialData(e,i);xI(o,this),this.dataTask.context.data=o,En(this).dataBeforeProcessed=o,_I(this),this._initSelectedMapFromData(o)},t.prototype.mergeDefaultAndTheme=function(e,a){var i=_h(this),n=i?cu(e):{},o=this.subType;ut.hasClass(o)&&(o+="Series"),tt(e,a.getTheme().get(this.subType)),tt(e,this.getDefaultOption()),Ms(e,"label",["show"]),this.fillDataTextStyle(e.data),i&&uo(e,n,i)},t.prototype.mergeOption=function(e,a){e=tt(this.option,e,!0),this.fillDataTextStyle(e.data);var i=_h(this);i&&uo(this.option,e,i);var n=En(this).sourceManager;n.dirty(),n.prepareSource();var o=this.getInitialData(e,a);xI(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,En(this).dataBeforeProcessed=o,_I(this),this._initSelectedMapFromData(o)},t.prototype.fillDataTextStyle=function(e){if(e&&!ua(e))for(var a=["show"],i=0;ithis.getShallow("animationThreshold")&&(a=!1),!!a},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(e,a,i){var n=this.ecModel,o=xC.prototype.getColorFromPalette.call(this,e,a,i);return o||(o=n.getColorFromPalette(e,a,i)),o},t.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(e,a){this._innerSelect(this.getData(a),e)},t.prototype.unselect=function(e,a){var i=this.option.selectedMap;if(i){var n=this.option.selectedMode,o=this.getData(a);if(n==="series"||i==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var s=0;s=0&&i.push(o)}return i},t.prototype.isSelected=function(e,a){var i=this.option.selectedMap;if(!i)return!1;var n=this.getData(a);return(i==="all"||i[Uf(n,e)])&&!n.getItemModel(e).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[od])return!0;var e=this.option.universalTransition;return e?e===!0?!0:e&&e.enabled:!1},t.prototype._innerSelect=function(e,a){var i,n,o=this.option,s=o.selectedMode,l=a.length;if(!(!s||!l)){if(s==="series")o.selectedMap="all";else if(s==="multiple"){$e(o.selectedMap)||(o.selectedMap={});for(var u=o.selectedMap,v=0;v0&&this._innerSelect(e,a)}},t.registerClass=function(e){return ut.registerClass(e)},t.protoInitialize=(function(){var e=t.prototype;e.type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"})(),t})(ut);nr(zt,qp);nr(zt,xC);Dq(zt,ut);function _I(r){var t=r.name;UA(r)||(r.name=Bj(r)||t)}function Bj(r){var t=r.getRawData(),e=t.mapDimensionsAll("seriesName"),a=[];return $(e,function(i){var n=t.getDimensionInfo(i);n.displayName&&a.push(n.displayName)}),a.join(" ")}function Vj(r){return r.model.getRawData().count()}function Gj(r){var t=r.model;return t.setData(t.getRawData().cloneShallow()),Fj}function Fj(r,t){t.outputData&&r.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function xI(r,t){$($l(r.CHANGABLE_METHODS,r.DOWNSAMPLE_METHODS),function(e){r.wrapMethod(e,et(Hj,t))})}function Hj(r,t){var e=TT(r);return e&&e.setOutputEnd((t||this).count()),t}function TT(r){var t=(r.ecModel||{}).scheduler,e=t&&t.getPipeline(r.uid);if(e){var a=e.currentTask;if(a){var i=a.agentStubMap;i&&(a=i.get(r.uid))}return a}}var Wt=(function(){function r(){this.group=new Ze,this.uid=fu("viewComponent")}return r.prototype.init=function(t,e){},r.prototype.render=function(t,e,a,i){},r.prototype.dispose=function(t,e){},r.prototype.updateView=function(t,e,a,i){},r.prototype.updateLayout=function(t,e,a,i){},r.prototype.updateVisual=function(t,e,a,i){},r.prototype.toggleBlurSeries=function(t,e,a){},r.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},r})();YA(Wt);Mp(Wt);function gu(){var r=yt();return function(t){var e=r(t),a=t.pipelineContext,i=!!e.large,n=!!e.progressiveRender,o=e.large=!!(a&&a.large),s=e.progressiveRender=!!(a&&a.progressiveRender);return(i!==o||n!==s)&&"reset"}}var iU=yt(),qj=gu(),kt=(function(){function r(){this.group=new Ze,this.uid=fu("viewChart"),this.renderTask=Jv({plan:Wj,reset:Uj}),this.renderTask.context={view:this}}return r.prototype.init=function(t,e){},r.prototype.render=function(t,e,a,i){},r.prototype.highlight=function(t,e,a,i){var n=t.getData(i&&i.dataType);n&&bI(n,i,"emphasis")},r.prototype.downplay=function(t,e,a,i){var n=t.getData(i&&i.dataType);n&&bI(n,i,"normal")},r.prototype.remove=function(t,e){this.group.removeAll()},r.prototype.dispose=function(t,e){},r.prototype.updateView=function(t,e,a,i){this.render(t,e,a,i)},r.prototype.updateLayout=function(t,e,a,i){this.render(t,e,a,i)},r.prototype.updateVisual=function(t,e,a,i){this.render(t,e,a,i)},r.prototype.eachRendered=function(t){po(this.group,t)},r.markUpdateMethod=function(t,e){iU(t).updateMethod=e},r.protoInitialize=(function(){var t=r.prototype;t.type="chart"})(),r})();function SI(r,t,e){r&&gh(r)&&(t==="emphasis"?xn:Sn)(r,e)}function bI(r,t,e){var a=Ds(r,t),i=t&&t.highlightKey!=null?DK(t.highlightKey):null;a!=null?$(Nt(a),function(n){SI(r.getItemGraphicEl(n),e,i)}):r.eachItemGraphicEl(function(n){SI(n,e,i)})}YA(kt);Mp(kt);function Wj(r){return qj(r.model)}function Uj(r){var t=r.model,e=r.ecModel,a=r.api,i=r.payload,n=t.pipelineContext.progressiveRender,o=r.view,s=i&&iU(i).updateMethod,l=n?"incrementalPrepareRender":s&&o[s]?s:"render";return l!=="render"&&o[l](t,e,a,i),$j[l]}var $j={incrementalPrepareRender:{progress:function(r,t){t.view.incrementalRender(r,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(r,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},Nd="\0__throttleOriginMethod",wI="\0__throttleRate",TI="\0__throttleType";function Up(r,t,e){var a,i=0,n=0,o=null,s,l,u,v;t=t||0;function h(){n=new Date().getTime(),o=null,r.apply(l,u||[])}var f=function(){for(var c=[],d=0;d=0?h():o=setTimeout(h,-s),i=a};return f.clear=function(){o&&(clearTimeout(o),o=null)},f.debounceNextCall=function(c){v=c},f}function mu(r,t,e,a){var i=r[t];if(i){var n=i[Nd]||i,o=i[TI],s=i[wI];if(s!==e||o!==a){if(e==null||!a)return r[t]=n;i=r[t]=Up(n,e,a==="debounce"),i[Nd]=n,i[TI]=a,i[wI]=e}return i}}function Sh(r,t){var e=r[t];e&&e[Nd]&&(e.clear&&e.clear(),r[t]=e[Nd])}var AI=yt(),CI={itemStyle:Ls(cW,!0),lineStyle:Ls(fW,!0)},Yj={lineStyle:"stroke",itemStyle:"fill"};function nU(r,t){var e=r.visualStyleMapper||CI[t];return e||(console.warn("Unknown style type '"+t+"'."),CI.itemStyle)}function oU(r,t){var e=r.visualDrawType||Yj[t];return e||(console.warn("Unknown style type '"+t+"'."),"fill")}var Zj={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,t){var e=r.getData(),a=r.visualStyleAccessPath||"itemStyle",i=r.getModel(a),n=nU(r,a),o=n(i),s=i.getShallow("decal");s&&(e.setVisual("decal",s),s.dirty=!0);var l=oU(r,a),u=o[l],v=He(u)?u:null,h=o.fill==="auto"||o.stroke==="auto";if(!o[l]||v||h){var f=r.getColorFromPalette(r.name,null,t.getSeriesCount());o[l]||(o[l]=f,e.setVisual("colorFromPalette",!0)),o.fill=o.fill==="auto"||He(o.fill)?f:o.fill,o.stroke=o.stroke==="auto"||He(o.stroke)?f:o.stroke}if(e.setVisual("style",o),e.setVisual("drawType",l),!t.isSeriesFiltered(r)&&v)return e.setVisual("colorFromPalette",!1),{dataEach:function(c,d){var p=r.getDataParams(d),g=_e({},o);g[l]=v(p),c.setItemVisual(d,"style",g)}}}},Wu=new Mt,Xj={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,t){if(!(r.ignoreStyleOnData||t.isSeriesFiltered(r))){var e=r.getData(),a=r.visualStyleAccessPath||"itemStyle",i=nU(r,a),n=e.getVisual("drawType");return{dataEach:e.hasItemOption?function(o,s){var l=o.getRawDataItem(s);if(l&&l[a]){Wu.option=l[a];var u=i(Wu),v=o.ensureUniqueItemVisual(s,"style");_e(v,u),Wu.option.decal&&(o.setItemVisual(s,"decal",Wu.option.decal),Wu.option.decal.dirty=!0),n in u&&o.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},Kj={performRawSeries:!0,overallReset:function(r){var t=Ge();r.eachSeries(function(e){var a=e.getColorBy();if(!e.isColorBySeries()){var i=e.type+"-"+a,n=t.get(i);n||(n={},t.set(i,n)),AI(e).scope=n}}),r.eachSeries(function(e){if(!(e.isColorBySeries()||r.isSeriesFiltered(e))){var a=e.getRawData(),i={},n=e.getData(),o=AI(e).scope,s=e.visualStyleAccessPath||"itemStyle",l=oU(e,s);n.each(function(u){var v=n.getRawIndex(u);i[v]=u}),a.each(function(u){var v=i[u],h=n.getItemVisual(v,"colorFromPalette");if(h){var f=n.ensureUniqueItemVisual(v,"style"),c=a.getName(u)||u+"",d=a.count();f[l]=e.getColorFromPalette(c,o,d)}})}})}},$f=Math.PI;function Qj(r,t){t=t||{},Ue(t,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var e=new Ze,a=new gt({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});e.add(a);var i=new pt({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),n=new gt({style:{fill:"none"},textContent:i,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});e.add(n);var o;return t.showSpinner&&(o=new Uh({shape:{startAngle:-$f/2,endAngle:-$f/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),o.animateShape(!0).when(1e3,{endAngle:$f*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:$f*3/2}).delay(300).start("circularInOut"),e.add(o)),e.resize=function(){var s=i.getBoundingRect().width,l=t.showSpinner?t.spinnerRadius:0,u=(r.getWidth()-l*2-(t.showSpinner&&s?10:0)-s)/2-(t.showSpinner&&s?0:5+s/2)+(t.showSpinner?0:s/2)+(s?0:l),v=r.getHeight()/2;t.showSpinner&&o.setShape({cx:u,cy:v}),n.setShape({x:u-l,y:v-l,width:l*2,height:l*2}),a.setShape({x:0,y:0,width:r.getWidth(),height:r.getHeight()})},e.resize(),e}var sU=(function(){function r(t,e,a,i){this._stageTaskMap=Ge(),this.ecInstance=t,this.api=e,a=this._dataProcessorHandlers=a.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=a.concat(i)}return r.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(a){var i=a.overallTask;i&&i.dirty()})},r.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var a=this._pipelineMap.get(t.__pipeline.id),i=a.context,n=!e&&a.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>a.blockIndex,o=n?a.step:null,s=i&&i.modDataCount,l=s!=null?Math.ceil(s/o):null;return{step:o,modBy:l,modDataCount:s}}},r.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},r.prototype.updateStreamModes=function(t,e){var a=this._pipelineMap.get(t.uid),i=t.getData(),n=i.count(),o=a.progressiveEnabled&&e.incrementalPrepareRender&&n>=a.threshold,s=t.get("large")&&n>=t.get("largeThreshold"),l=t.get("progressiveChunkMode")==="mod"?n:null;t.pipelineContext=a.context={progressiveRender:o,modDataCount:l,large:s}},r.prototype.restorePipelines=function(t){var e=this,a=e._pipelineMap=Ge();t.eachSeries(function(i){var n=i.getProgressive(),o=i.uid;a.set(o,{id:o,head:null,tail:null,threshold:i.getProgressiveThreshold(),progressiveEnabled:n&&!(i.preventIncremental&&i.preventIncremental()),blockIndex:-1,step:Math.round(n||700),count:0}),e._pipe(i,i.dataTask)})},r.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),a=this.api;$(this._allHandlers,function(i){var n=t.get(i.uid)||t.set(i.uid,{}),o="";Kr(!(i.reset&&i.overallReset),o),i.reset&&this._createSeriesStageTask(i,n,e,a),i.overallReset&&this._createOverallStageTask(i,n,e,a)},this)},r.prototype.prepareView=function(t,e,a,i){var n=t.renderTask,o=n.context;o.model=e,o.ecModel=a,o.api=i,n.__block=!t.incrementalPrepareRender,this._pipe(e,n)},r.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},r.prototype.performVisualTasks=function(t,e,a){this._performStageTasks(this._visualHandlers,t,e,a)},r.prototype._performStageTasks=function(t,e,a,i){i=i||{};var n=!1,o=this;$(t,function(l,u){if(!(i.visualType&&i.visualType!==l.visualType)){var v=o._stageTaskMap.get(l.uid),h=v.seriesTaskMap,f=v.overallTask;if(f){var c,d=f.agentStubMap;d.each(function(g){s(i,g)&&(g.dirty(),c=!0)}),c&&f.dirty(),o.updatePayload(f,a);var p=o.getPerformArgs(f,i.block);d.each(function(g){g.perform(p)}),f.perform(p)&&(n=!0)}else h&&h.each(function(g,m){s(i,g)&&g.dirty();var y=o.getPerformArgs(g,i.block);y.skip=!l.performRawSeries&&e.isSeriesFiltered(g.context.model),o.updatePayload(g,a),g.perform(y)&&(n=!0)})}});function s(l,u){return l.setDirty&&(!l.dirtyMap||l.dirtyMap.get(u.__pipeline.id))}this.unfinished=n||this.unfinished},r.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(a){e=a.dataTask.perform()||e}),this.unfinished=e||this.unfinished},r.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},r.prototype.updatePayload=function(t,e){e!=="remain"&&(t.context.payload=e)},r.prototype._createSeriesStageTask=function(t,e,a,i){var n=this,o=e.seriesTaskMap,s=e.seriesTaskMap=Ge(),l=t.seriesType,u=t.getTargetSeries;t.createOnAllSeries?a.eachRawSeries(v):l?a.eachRawSeriesByType(l,v):u&&u(a,i).each(v);function v(h){var f=h.uid,c=s.set(f,o&&o.get(f)||Jv({plan:rJ,reset:aJ,count:nJ}));c.context={model:h,ecModel:a,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:n},n._pipe(h,c)}},r.prototype._createOverallStageTask=function(t,e,a,i){var n=this,o=e.overallTask=e.overallTask||Jv({reset:jj});o.context={ecModel:a,api:i,overallReset:t.overallReset,scheduler:n};var s=o.agentStubMap,l=o.agentStubMap=Ge(),u=t.seriesType,v=t.getTargetSeries,h=!0,f=!1,c="";Kr(!t.createOnAllSeries,c),u?a.eachRawSeriesByType(u,d):v?v(a,i).each(d):(h=!1,$(a.getSeries(),d));function d(p){var g=p.uid,m=l.set(g,s&&s.get(g)||(f=!0,Jv({reset:Jj,onDirty:tJ})));m.context={model:p,overallProgress:h},m.agent=o,m.__block=h,n._pipe(p,m)}f&&o.dirty()},r.prototype._pipe=function(t,e){var a=t.uid,i=this._pipelineMap.get(a);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},r.wrapStageHandler=function(t,e){return He(t)&&(t={overallReset:t,seriesType:oJ(t)}),t.uid=fu("stageHandler"),e&&(t.visualType=e),t},r})();function jj(r){r.overallReset(r.ecModel,r.api,r.payload)}function Jj(r){return r.overallProgress&&eJ}function eJ(){this.agent.dirty(),this.getDownstream().dirty()}function tJ(){this.agent&&this.agent.dirty()}function rJ(r){return r.plan?r.plan(r.model,r.ecModel,r.api,r.payload):null}function aJ(r){r.useClearVisual&&r.data.clearAllVisual();var t=r.resetDefines=Nt(r.reset(r.model,r.ecModel,r.api,r.payload));return t.length>1?we(t,function(e,a){return lU(a)}):iJ}var iJ=lU(0);function lU(r){return function(t,e){var a=e.data,i=e.resetDefines[r];if(i&&i.dataEach)for(var n=t.start;n0&&c===u.length-f.length){var d=u.slice(0,c);d!=="data"&&(e.mainType=d,e[f.toLowerCase()]=l,v=!0)}}s.hasOwnProperty(u)&&(a[u]=l,v=!0),v||(i[u]=l)})}return{cptQuery:e,dataQuery:a,otherQuery:i}},r.prototype.filter=function(t,e){var a=this.eventInfo;if(!a)return!0;var i=a.targetEl,n=a.packedEvent,o=a.model,s=a.view;if(!o||!s)return!0;var l=e.cptQuery,u=e.dataQuery;return v(l,o,"mainType")&&v(l,o,"subType")&&v(l,o,"index","componentIndex")&&v(l,o,"name")&&v(l,o,"id")&&v(u,n,"name")&&v(u,n,"dataIndex")&&v(u,n,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,i,n));function v(h,f,c,d){return h[c]==null||f[d||c]===h[c]}},r.prototype.afterTrigger=function(){this.eventInfo=null},r})(),AT=["symbol","symbolSize","symbolRotate","symbolOffset"],II=AT.concat(["symbolKeepAspect"]),uJ={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,t){var e=r.getData();if(r.legendIcon&&e.setVisual("legendIcon",r.legendIcon),!r.hasSymbolVisual)return;for(var a={},i={},n=!1,o=0;o=0&&gs(l)?l:.5;var u=r.createRadialGradient(o,s,0,o,s,l);return u}function CT(r,t,e){for(var a=t.type==="radial"?TJ(r,t,e):wJ(r,t,e),i=t.colorStops,n=0;n0)?null:r==="dashed"?[4*t,2*t]:r==="dotted"?[t]:bt(r)?[r]:Se(r)?r:null}function MC(r){var t=r.style,e=t.lineDash&&t.lineWidth>0&&CJ(t.lineDash,t.lineWidth),a=t.lineDashOffset;if(e){var i=t.strokeNoScale&&r.getLineScale?r.getLineScale():1;i&&i!==1&&(e=we(e,function(n){return n/i}),a/=i)}return[e,a]}var MJ=new Zi(!0);function Vd(r){var t=r.stroke;return!(t==null||t==="none"||!(r.lineWidth>0))}function PI(r){return typeof r=="string"&&r!=="none"}function Gd(r){var t=r.fill;return t!=null&&t!=="none"}function RI(r,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var e=r.globalAlpha;r.globalAlpha=t.fillOpacity*t.opacity,r.fill(),r.globalAlpha=e}else r.fill()}function EI(r,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var e=r.globalAlpha;r.globalAlpha=t.strokeOpacity*t.opacity,r.stroke(),r.globalAlpha=e}else r.stroke()}function MT(r,t,e){var a=ZA(t.image,t.__image,e);if(Dp(a)){var i=r.createPattern(a,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&i&&i.setTransform){var n=new DOMMatrix;n.translateSelf(t.x||0,t.y||0),n.rotateSelf(0,0,(t.rotation||0)*Fv),n.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(n)}return i}}function DJ(r,t,e,a){var i,n=Vd(e),o=Gd(e),s=e.strokePercent,l=s<1,u=!t.path;(!t.silent||l)&&u&&t.createPathProxy();var v=t.path||MJ,h=t.__dirty;if(!a){var f=e.fill,c=e.stroke,d=o&&!!f.colorStops,p=n&&!!c.colorStops,g=o&&!!f.image,m=n&&!!c.image,y=void 0,_=void 0,x=void 0,S=void 0,b=void 0;(d||p)&&(b=t.getBoundingRect()),d&&(y=h?CT(r,f,b):t.__canvasFillGradient,t.__canvasFillGradient=y),p&&(_=h?CT(r,c,b):t.__canvasStrokeGradient,t.__canvasStrokeGradient=_),g&&(x=h||!t.__canvasFillPattern?MT(r,f,t):t.__canvasFillPattern,t.__canvasFillPattern=x),m&&(S=h||!t.__canvasStrokePattern?MT(r,c,t):t.__canvasStrokePattern,t.__canvasStrokePattern=x),d?r.fillStyle=y:g&&(x?r.fillStyle=x:o=!1),p?r.strokeStyle=_:m&&(S?r.strokeStyle=S:n=!1)}var w=t.getGlobalScale();v.setScale(w[0],w[1],t.segmentIgnoreThreshold);var A,T;r.setLineDash&&e.lineDash&&(i=MC(t),A=i[0],T=i[1]);var C=!0;(u||h&Dl)&&(v.setDPR(r.dpr),l?v.setContext(null):(v.setContext(r),C=!1),v.reset(),t.buildPath(v,t.shape,a),v.toStatic(),t.pathUpdated()),C&&v.rebuildPath(r,l?s:1),A&&(r.setLineDash(A),r.lineDashOffset=T),a||(e.strokeFirst?(n&&EI(r,e),o&&RI(r,e)):(o&&RI(r,e),n&&EI(r,e))),A&&r.setLineDash([])}function LJ(r,t,e){var a=t.__image=ZA(e.image,t.__image,t,t.onload);if(!(!a||!Dp(a))){var i=e.x||0,n=e.y||0,o=t.getWidth(),s=t.getHeight(),l=a.width/a.height;if(o==null&&s!=null?o=s*l:s==null&&o!=null?s=o/l:o==null&&s==null&&(o=a.width,s=a.height),e.sWidth&&e.sHeight){var u=e.sx||0,v=e.sy||0;r.drawImage(a,u,v,e.sWidth,e.sHeight,i,n,o,s)}else if(e.sx&&e.sy){var u=e.sx,v=e.sy,h=o-u,f=s-v;r.drawImage(a,u,v,h,f,i,n,o,s)}else r.drawImage(a,i,n,o,s)}}function IJ(r,t,e){var a,i=e.text;if(i!=null&&(i+=""),i){r.font=e.font||oo,r.textAlign=e.textAlign,r.textBaseline=e.textBaseline;var n=void 0,o=void 0;r.setLineDash&&e.lineDash&&(a=MC(t),n=a[0],o=a[1]),n&&(r.setLineDash(n),r.lineDashOffset=o),e.strokeFirst?(Vd(e)&&r.strokeText(i,e.x,e.y),Gd(e)&&r.fillText(i,e.x,e.y)):(Gd(e)&&r.fillText(i,e.x,e.y),Vd(e)&&r.strokeText(i,e.x,e.y)),n&&r.setLineDash([])}}var kI=["shadowBlur","shadowOffsetX","shadowOffsetY"],OI=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function dU(r,t,e,a,i){var n=!1;if(!a&&(e=e||{},t===e))return!1;if(a||t.opacity!==e.opacity){_a(r,i),n=!0;var o=Math.max(Math.min(t.opacity,1),0);r.globalAlpha=isNaN(o)?xs.opacity:o}(a||t.blend!==e.blend)&&(n||(_a(r,i),n=!0),r.globalCompositeOperation=t.blend||xs.blend);for(var s=0;s0&&e.unfinished);e.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(e,a,i){if(!this[qr]){if(this._disposed){this.id;return}var n,o,s;if($e(a)&&(i=a.lazyUpdate,n=a.silent,o=a.replaceMerge,s=a.transition,a=a.notMerge),this[qr]=!0,!this._model||a){var l=new WQ(this._api),u=this._theme,v=this._model=new SC;v.scheduler=this._scheduler,v.ssr=this._ssr,v.init(null,null,null,u,this._locale,l)}this._model.setOption(e,{replaceMerge:o},LT);var h={seriesTransition:s,optionChanged:!0};if(i)this[da]={silent:n,updateParams:h},this[qr]=!1,this.getZr().wakeUp();else{try{hl(this),kn.update.call(this,null,h)}catch(f){throw this[da]=null,this[qr]=!1,f}this._ssr||this._zr.flush(),this[da]=null,this[qr]=!1,Uu.call(this,n),$u.call(this,n)}}},t.prototype.setTheme=function(){},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||vt.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},t.prototype.renderToCanvas=function(e){e=e||{};var a=this._zr.painter;return a.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(e){e=e||{};var a=this._zr.painter;return a.renderToString({useViewBox:e.useViewBox})},t.prototype.getSvgDataURL=function(){if(vt.svgSupported){var e=this._zr,a=e.storage.getDisplayList();return $(a,function(i){i.stopAnimation(null,!0)}),e.painter.toDataURL()}},t.prototype.getDataURL=function(e){if(this._disposed){this.id;return}e=e||{};var a=e.excludeComponents,i=this._model,n=[],o=this;$(a,function(l){i.eachComponent({mainType:l},function(u){var v=o._componentsMap[u.__viewId];v.group.ignore||(n.push(v),v.group.ignore=!0)})});var s=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return $(n,function(l){l.group.ignore=!1}),s},t.prototype.getConnectedDataURL=function(e){if(this._disposed){this.id;return}var a=e.type==="svg",i=this.group,n=Math.min,o=Math.max,s=1/0;if(Wd[i]){var l=s,u=s,v=-s,h=-s,f=[],c=e&&e.pixelRatio||this.getDevicePixelRatio();$(ws,function(_,x){if(_.group===i){var S=a?_.getZr().painter.getSvgDom().innerHTML:_.renderToCanvas(Ye(e)),b=_.getDom().getBoundingClientRect();l=n(b.left,l),u=n(b.top,u),v=o(b.right,v),h=o(b.bottom,h),f.push({dom:S,left:b.left,top:b.top})}}),l*=c,u*=c,v*=c,h*=c;var d=v-l,p=h-u,g=mi.createCanvas(),m=eT(g,{renderer:a?"svg":"canvas"});if(m.resize({width:d,height:p}),a){var y="";return $(f,function(_){var x=_.left-l,S=_.top-u;y+=''+_.dom+""}),m.painter.getSvgRoot().innerHTML=y,e.connectedBackgroundColor&&m.painter.setBackgroundColor(e.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}else return e.connectedBackgroundColor&&m.add(new gt({shape:{x:0,y:0,width:d,height:p},style:{fill:e.connectedBackgroundColor}})),$(f,function(_){var x=new Dr({style:{x:_.left*c-l,y:_.top*c-u,image:_.dom}});m.add(x)}),m.refreshImmediately(),g.toDataURL("image/"+(e&&e.type||"png"))}else return this.getDataURL(e)},t.prototype.convertToPixel=function(e,a){return Am(this,"convertToPixel",e,a)},t.prototype.convertFromPixel=function(e,a){return Am(this,"convertFromPixel",e,a)},t.prototype.containPixel=function(e,a){if(this._disposed){this.id;return}var i=this._model,n,o=Zv(i,e);return $(o,function(s,l){l.indexOf("Models")>=0&&$(s,function(u){var v=u.coordinateSystem;if(v&&v.containPoint)n=n||!!v.containPoint(a);else if(l==="seriesModels"){var h=this._chartsMap[u.__viewId];h&&h.containPoint&&(n=n||h.containPoint(a,u))}},this)},this),!!n},t.prototype.getVisual=function(e,a){var i=this._model,n=Zv(i,e,{defaultMainType:"series"}),o=n.seriesModel,s=o.getData(),l=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?s.indexOfRawIndex(n.dataIndex):null;return l!=null?CC(s,l,a):Xh(s,a)},t.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},t.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},t.prototype._initEvents=function(){var e=this;$(tee,function(a){var i=function(n){var o=e.getModel(),s=n.target,l,u=a==="globalout";if(u?l={}:s&&ps(s,function(d){var p=Xe(d);if(p&&p.dataIndex!=null){var g=p.dataModel||o.getSeriesByIndex(p.seriesIndex);return l=g&&g.getDataParams(p.dataIndex,p.dataType,s)||{},!0}else if(p.eventData)return l=_e({},p.eventData),!0},!0),l){var v=l.componentType,h=l.componentIndex;(v==="markLine"||v==="markPoint"||v==="markArea")&&(v="series",h=l.seriesIndex);var f=v&&h!=null&&o.getComponent(v,h),c=f&&e[f.mainType==="series"?"_chartsMap":"_componentsMap"][f.__viewId];l.event=n,l.type=a,e._$eventProcessor.eventInfo={targetEl:s,packedEvent:l,model:f,view:c},e.trigger(a,l)}};i.zrEventfulCallAtLast=!0,e._zr.on(a,i,e)}),$(eh,function(a,i){e._messageCenter.on(i,function(n){this.trigger(i,n)},e)}),$(["selectchanged"],function(a){e._messageCenter.on(a,function(i){this.trigger(a,i)},e)}),hJ(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var e=this.getDom();e&&Aq(this.getDom(),PC,"");var a=this,i=a._api,n=a._model;$(a._componentsViews,function(o){o.dispose(n,i)}),$(a._chartsViews,function(o){o.dispose(n,i)}),a._zr.dispose(),a._dom=a._model=a._chartsMap=a._componentsMap=a._chartsViews=a._componentsViews=a._scheduler=a._api=a._zr=a._throttledZrFlush=a._theme=a._coordSysMgr=a._messageCenter=null,delete ws[a.id]},t.prototype.resize=function(e){if(!this[qr]){if(this._disposed){this.id;return}this._zr.resize(e);var a=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!a){var i=a.resetOption("media"),n=e&&e.silent;this[da]&&(n==null&&(n=this[da].silent),i=!0,this[da]=null),this[qr]=!0;try{i&&hl(this),kn.update.call(this,{type:"resize",animation:_e({duration:0},e&&e.animation)})}catch(o){throw this[qr]=!1,o}this[qr]=!1,Uu.call(this,n),$u.call(this,n)}}},t.prototype.showLoading=function(e,a){if(this._disposed){this.id;return}if($e(e)&&(a=e,e=""),e=e||"default",this.hideLoading(),!!IT[e]){var i=IT[e](this._api,a),n=this._zr;this._loadingFX=i,n.add(i)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(e){var a=_e({},e);return a.type=eh[e.type],a},t.prototype.dispatchAction=function(e,a){if(this._disposed){this.id;return}if($e(a)||(a={silent:!!a}),!!Hd[e.type]&&this._model){if(this[qr]){this._pendingActions.push(e);return}var i=a.silent;Mm.call(this,e,i);var n=a.flush;n?this._zr.flush():n!==!1&&vt.browser.weChat&&this._throttledZrFlush(),Uu.call(this,i),$u.call(this,i)}},t.prototype.updateLabelLayout=function(){ui.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed){this.id;return}var a=e.seriesIndex,i=this.getModel(),n=i.getSeriesByIndex(a);n.appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=(function(){hl=function(h){var f=h._scheduler;f.restorePipelines(h._model),f.prepareStageTasks(),Tm(h,!0),Tm(h,!1),f.plan()},Tm=function(h,f){for(var c=h._model,d=h._scheduler,p=f?h._componentsViews:h._chartsViews,g=f?h._componentsMap:h._chartsMap,m=h._zr,y=h._api,_=0;_f.get("hoverLayerThreshold")&&!vt.node&&!vt.worker&&f.eachSeries(function(g){if(!g.preventUsingHoverLayer){var m=h._chartsMap[g.__viewId];m.__alive&&m.eachRendered(function(y){y.states.emphasis&&(y.states.emphasis.hoverLayer=!0)})}})}function o(h,f){var c=h.get("blendMode")||null;f.eachRendered(function(d){d.isGroup||(d.style.blend=c)})}function s(h,f){if(!h.preventAutoZ){var c=h.get("z")||0,d=h.get("zlevel")||0;f.eachRendered(function(p){return l(p,c,d,-1/0),!0})}}function l(h,f,c,d){var p=h.getTextContent(),g=h.getTextGuideLine(),m=h.isGroup;if(m)for(var y=h.childrenRef(),_=0;_0?{duration:p,delay:c.get("delay"),easing:c.get("easing")}:null;f.eachRendered(function(m){if(m.states&&m.states.emphasis){if(Gl(m))return;if(m instanceof ht&&LK(m),m.__dirty){var y=m.prevStates;y&&m.useStates(y)}if(d){m.stateTransition=g;var _=m.getTextContent(),x=m.getTextGuideLine();_&&(_.stateTransition=g),x&&(x.stateTransition=g)}m.__dirty&&i(m)}})}ZI=function(h){return new((function(f){he(c,f);function c(){return f!==null&&f.apply(this,arguments)||this}return c.prototype.getCoordinateSystems=function(){return h._coordSysMgr.getCoordinateSystems()},c.prototype.getComponentByElement=function(d){for(;d;){var p=d.__ecComponentInfo;if(p!=null)return h._model.getComponent(p.mainType,p.index);d=d.parent}},c.prototype.enterEmphasis=function(d,p){xn(d,p),Pa(h)},c.prototype.leaveEmphasis=function(d,p){Sn(d,p),Pa(h)},c.prototype.enterBlur=function(d){qq(d),Pa(h)},c.prototype.leaveBlur=function(d){JA(d),Pa(h)},c.prototype.enterSelect=function(d){Wq(d),Pa(h)},c.prototype.leaveSelect=function(d){Uq(d),Pa(h)},c.prototype.getModel=function(){return h.getModel()},c.prototype.getViewOfComponentModel=function(d){return h.getViewOfComponentModel(d)},c.prototype.getViewOfSeriesModel=function(d){return h.getViewOfSeriesModel(d)},c})(kW))(h)},IU=function(h){function f(c,d){for(var p=0;p=0)){KI.push(e);var n=sU.wrapStageHandler(e,i);n.__prio=t,n.__raw=e,r.push(n)}}function zC(r,t){IT[r]=t}function vee(r){I4({createCanvas:r})}function zU(r,t,e){var a=xU("registerMap");a&&a(r,t,e)}function hee(r){var t=xU("getMap");return t&&t(r)}var BU=bj;mo(LC,Zj);mo($p,Xj);mo($p,Kj);mo(LC,uJ);mo($p,vJ);mo(wU,BJ);kC(NW);OC(WJ,rj);zC("default",Qj);Si({type:Ss,event:Ss,update:Ss},ir);Si({type:td,event:td,update:td},ir);Si({type:Xv,event:Xv,update:Xv},ir);Si({type:rd,event:rd,update:rd},ir);Si({type:Kv,event:Kv,update:Kv},ir);EC("light",sJ);EC("dark",hU);var fee={};function Yu(r){return r==null?0:r.length||1}function QI(r){return r}var bn=(function(){function r(t,e,a,i,n,o){this._old=t,this._new=e,this._oldKeyGetter=a||QI,this._newKeyGetter=i||QI,this.context=n,this._diffModeMultiple=o==="multiple"}return r.prototype.add=function(t){return this._add=t,this},r.prototype.update=function(t){return this._update=t,this},r.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},r.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},r.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},r.prototype.remove=function(t){return this._remove=t,this},r.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},r.prototype._executeOneToOne=function(){var t=this._old,e=this._new,a={},i=new Array(t.length),n=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,a,n,"_newKeyGetter");for(var o=0;o1){var v=l.shift();l.length===1&&(a[s]=l[0]),this._update&&this._update(v,o)}else u===1?(a[s]=null,this._update&&this._update(l,o)):this._remove&&this._remove(o)}this._performRestAdd(n,a)},r.prototype._executeMultiple=function(){var t=this._old,e=this._new,a={},i={},n=[],o=[];this._initIndexMap(t,a,n,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var s=0;s1&&f===1)this._updateManyToOne&&this._updateManyToOne(v,u),i[l]=null;else if(h===1&&f>1)this._updateOneToMany&&this._updateOneToMany(v,u),i[l]=null;else if(h===1&&f===1)this._update&&this._update(v,u),i[l]=null;else if(h>1&&f>1)this._updateManyToMany&&this._updateManyToMany(v,u),i[l]=null;else if(h>1)for(var c=0;c1)for(var s=0;s30}var Zu=$e,On=we,yee=typeof Int32Array>"u"?Array:Int32Array,_ee="e\0\0",jI=-1,xee=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],See=["_approximateExtent"],JI,Qf,Xu,Ku,Im,Qu,Pm,Xr=(function(){function r(t,e){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var a,i=!1;GU(t)?(a=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,a=t),a=a||["x","y"];for(var n={},o=[],s={},l=!1,u={},v=0;v=e)){var a=this._store,i=a.getProvider();this._updateOrdinalMeta();var n=this._nameList,o=this._idList,s=i.getSource().sourceFormat,l=s===Qa;if(l&&!i.pure)for(var u=[],v=t;v0},r.prototype.ensureUniqueItemVisual=function(t,e){var a=this._itemVisuals,i=a[t];i||(i=a[t]={});var n=i[e];return n==null&&(n=this.getVisual(e),Se(n)?n=n.slice():Zu(n)&&(n=_e({},n)),i[e]=n),n},r.prototype.setItemVisual=function(t,e,a){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,Zu(e)?_e(i,e):i[e]=a},r.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},r.prototype.setLayout=function(t,e){Zu(t)?_e(this._layout,t):this._layout[t]=e},r.prototype.getLayout=function(t){return this._layout[t]},r.prototype.getItemLayout=function(t){return this._itemLayouts[t]},r.prototype.setItemLayout=function(t,e,a){this._itemLayouts[t]=a?_e(this._itemLayouts[t]||{},e):e},r.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},r.prototype.setItemGraphicEl=function(t,e){var a=this.hostModel&&this.hostModel.seriesIndex;lT(a,this.dataType,t,e),this._graphicEls[t]=e},r.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},r.prototype.eachItemGraphicEl=function(t,e){$(this._graphicEls,function(a,i){a&&t&&t.call(e,a,i)})},r.prototype.cloneShallow=function(t){return t||(t=new r(this._schema?this._schema:On(this.dimensions,this._getDimInfo,this),this.hostModel)),Im(t,this),t._store=this._store,t},r.prototype.wrapMethod=function(t,e){var a=this[t];He(a)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var i=a.apply(this,arguments);return e.apply(this,[i].concat(_p(arguments)))})},r.internalField=(function(){JI=function(t){var e=t._invertedIndicesMap;$(e,function(a,i){var n=t._dimInfos[i],o=n.ordinalMeta,s=t._store;if(o){a=e[i]=new yee(o.categories.length);for(var l=0;l1&&(l+="__ec__"+v),i[e]=l}}})(),r})();function bee(r,t){return _u(r,t).dimensions}function _u(r,t){bC(r)||(r=wC(r)),t=t||{};var e=t.coordDimensions||[],a=t.dimensionsDefine||r.dimensionsDefine||[],i=Ge(),n=[],o=Tee(r,e,a,t.dimensionsCount),s=t.canOmitUnusedDimensions&&qU(o),l=a===r.dimensionsDefine,u=l?HU(r):FU(a),v=t.encodeDefine;!v&&t.encodeDefaulter&&(v=t.encodeDefaulter(r,o));for(var h=Ge(v),f=new YW(o),c=0;c0&&(a.name=i+(n-1)),n++,t.set(i,n)}}function Tee(r,t,e,a){var i=Math.max(r.dimensionsDetectedCount||1,t.length,e.length,a||0);return $(t,function(n){var o;$e(n)&&(o=n.dimsDef)&&(i=Math.max(i,o.length))}),i}function Aee(r,t,e){if(e||t.hasKey(r)){for(var a=0;t.hasKey(r+a);)a++;r+=a}return t.set(r,!0),r}var Cee=(function(){function r(t){this.coordSysDims=[],this.axisMap=Ge(),this.categoryAxisMap=Ge(),this.coordSysName=t}return r})();function Mee(r){var t=r.get("coordinateSystem"),e=new Cee(t),a=Dee[t];if(a)return a(r,e,e.axisMap,e.categoryAxisMap),e}var Dee={cartesian2d:function(r,t,e,a){var i=r.getReferringComponents("xAxis",cr).models[0],n=r.getReferringComponents("yAxis",cr).models[0];t.coordSysDims=["x","y"],e.set("x",i),e.set("y",n),fl(i)&&(a.set("x",i),t.firstCategoryDimIndex=0),fl(n)&&(a.set("y",n),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(r,t,e,a){var i=r.getReferringComponents("singleAxis",cr).models[0];t.coordSysDims=["single"],e.set("single",i),fl(i)&&(a.set("single",i),t.firstCategoryDimIndex=0)},polar:function(r,t,e,a){var i=r.getReferringComponents("polar",cr).models[0],n=i.findAxisModel("radiusAxis"),o=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],e.set("radius",n),e.set("angle",o),fl(n)&&(a.set("radius",n),t.firstCategoryDimIndex=0),fl(o)&&(a.set("angle",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(r,t,e,a){t.coordSysDims=["lng","lat"]},parallel:function(r,t,e,a){var i=r.ecModel,n=i.getComponent("parallel",r.get("parallelIndex")),o=t.coordSysDims=n.dimensions.slice();$(n.parallelAxisIndex,function(s,l){var u=i.getComponent("parallelAxis",s),v=o[l];e.set(v,u),fl(u)&&(a.set(v,u),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=l))})}};function fl(r){return r.get("type")==="category"}function WU(r,t,e){e=e||{};var a=e.byIndex,i=e.stackedCoordDimension,n,o,s;Lee(t)?n=t:(o=t.schema,n=o.dimensions,s=t.store);var l=!!(r&&r.get("stack")),u,v,h,f;if($(n,function(y,_){Re(y)&&(n[_]=y={name:y}),l&&!y.isExtraCoord&&(!a&&!u&&y.ordinalMeta&&(u=y),!v&&y.type!=="ordinal"&&y.type!=="time"&&(!i||i===y.coordDim)&&(v=y))}),v&&!a&&!u&&(a=!0),v){h="__\0ecstackresult_"+r.id,f="__\0ecstackedover_"+r.id,u&&(u.createInvertedIndices=!0);var c=v.coordDim,d=v.type,p=0;$(n,function(y){y.coordDim===c&&p++});var g={name:h,coordDim:c,coordDimIndex:p,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:n.length},m={name:f,coordDim:f,coordDimIndex:p+1,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:n.length+1};o?(s&&(g.storeDimIndex=s.ensureCalculationDimension(f,d),m.storeDimIndex=s.ensureCalculationDimension(h,d)),o.appendCalculationDimension(g),o.appendCalculationDimension(m)):(n.push(g),n.push(m))}return{stackedDimension:v&&v.name,stackedByDimension:u&&u.name,isStackedByIndex:a,stackedOverDimension:f,stackResultDimension:h}}function Lee(r){return!GU(r.schema)}function wn(r,t){return!!t&&t===r.getCalculationInfo("stackedDimension")}function BC(r,t){return wn(r,t)?r.getCalculationInfo("stackResultDimension"):t}function Iee(r,t){var e=r.get("coordinateSystem"),a=pu.get(e),i;return t&&t.coordSysDims&&(i=we(t.coordSysDims,function(n){var o={name:n},s=t.axisMap.get(n);if(s){var l=s.get("type");o.type=Ud(l)}return o})),i||(i=a&&(a.getDimensionsInfo?a.getDimensionsInfo():a.dimensions.slice())||["x","y"]),i}function Pee(r,t,e){var a,i;return e&&$(r,function(n,o){var s=n.coordDim,l=e.categoryAxisMap.get(s);l&&(a==null&&(a=o),n.ordinalMeta=l.getOrdinalMeta(),t&&(n.createInvertedIndices=!0)),n.otherDims.itemName!=null&&(i=!0)}),!i&&a!=null&&(r[a].otherDims.itemName=0),a}function Qi(r,t,e){e=e||{};var a=t.getSourceManager(),i,n=!1;r?(n=!0,i=wC(r)):(i=a.getSource(),n=i.sourceFormat===Qa);var o=Mee(t),s=Iee(t,o),l=e.useEncodeDefaulter,u=He(l)?l:l?et(IW,s,t):null,v={coordDimensions:s,generateCoord:e.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!n},h=_u(i,v),f=Pee(h.dimensions,e.createInvertedIndices,o),c=n?null:a.getSharedDataStore(h),d=WU(t,{schema:h,store:c}),p=new Xr(h,t);p.setCalculationInfo(d);var g=f!=null&&Ree(i)?function(m,y,_,x){return x===f?_:this.defaultDimValueGetter(m,y,_,x)}:null;return p.hasItemOption=!1,p.initData(n?i:c,null,g),p}function Ree(r){if(r.sourceFormat===Qa){var t=Eee(r.data||[]);return!Se(iu(t))}}function Eee(r){for(var t=0;te[1]&&(e[1]=t[1])},r.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.setExtent=function(t,e){var a=this._extent;isNaN(t)||(a[0]=t),isNaN(e)||(a[1]=e)},r.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},r.prototype.isBlank=function(){return this._isBlank},r.prototype.setBlank=function(t){this._isBlank=t},r})();Mp(ji);var kee=0,PT=(function(){function r(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++kee}return r.createByAxisModel=function(t){var e=t.option,a=e.data,i=a&&we(a,Oee);return new r({categories:i,needCollect:!i,deduplication:e.dedplication!==!1})},r.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},r.prototype.parseAndCollect=function(t){var e,a=this._needCollect;if(!Re(t)&&!a)return t;if(a&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return e=i.get(t),e==null&&(a?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},r.prototype._getOrCreateMap=function(){return this._map||(this._map=Ge(this.categories))},r})();function Oee(r){return $e(r)&&r.value!=null?r.value:r+""}function RT(r){return r.type==="interval"||r.type==="log"}function Nee(r,t,e,a){var i={},n=r[1]-r[0],o=i.interval=qA(n/t,!0);e!=null&&oa&&(o=i.interval=a);var s=i.intervalPrecision=UU(o),l=i.niceTickExtent=[ar(Math.ceil(r[0]/o)*o,s),ar(Math.floor(r[1]/o)*o,s)];return zee(l,r),i}function Rm(r){var t=Math.pow(10,Cp(r)),e=r/t;return e?e===2?e=3:e===3?e=5:e*=2:e=1,ar(e*t)}function UU(r){return hi(r)+2}function e2(r,t,e){r[t]=Math.max(Math.min(r[t],e[1]),e[0])}function zee(r,t){!isFinite(r[0])&&(r[0]=t[0]),!isFinite(r[1])&&(r[1]=t[1]),e2(r,0,t),e2(r,1,t),r[0]>r[1]&&(r[0]=r[1])}function Zp(r,t){return r>=t[0]&&r<=t[1]}function Xp(r,t){return t[1]===t[0]?.5:(r-t[0])/(t[1]-t[0])}function Kp(r,t){return r*(t[1]-t[0])+t[0]}var Qp=(function(r){he(t,r);function t(e){var a=r.call(this,e)||this;a.type="ordinal";var i=a.getSetting("ordinalMeta");return i||(i=new PT({})),Se(i)&&(i=new PT({categories:we(i,function(n){return $e(n)?n.value:n})})),a._ordinalMeta=i,a._extent=a.getSetting("extent")||[0,i.categories.length-1],a}return t.prototype.parse=function(e){return e==null?NaN:Re(e)?this._ordinalMeta.getOrdinal(e):Math.round(e)},t.prototype.contain=function(e){return e=this.parse(e),Zp(e,this._extent)&&this._ordinalMeta.categories[e]!=null},t.prototype.normalize=function(e){return e=this._getTickNumber(this.parse(e)),Xp(e,this._extent)},t.prototype.scale=function(e){return e=Math.round(Kp(e,this._extent)),this.getRawOrdinalNumber(e)},t.prototype.getTicks=function(){for(var e=[],a=this._extent,i=a[0];i<=a[1];)e.push({value:i}),i++;return e},t.prototype.getMinorTicks=function(e){},t.prototype.setSortInfo=function(e){if(e==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var a=e.ordinalNumbers,i=this._ordinalNumbersByTick=[],n=this._ticksByOrdinalNumber=[],o=0,s=this._ordinalMeta.categories.length,l=Math.min(s,a.length);o=0&&e=0&&e=e},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t})(ji);ji.registerClass(Qp);var Uo=ar,Tn=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return Zp(e,this._extent)},t.prototype.normalize=function(e){return Xp(e,this._extent)},t.prototype.scale=function(e){return Kp(e,this._extent)},t.prototype.setExtent=function(e,a){var i=this._extent;isNaN(e)||(i[0]=parseFloat(e)),isNaN(a)||(i[1]=parseFloat(a))},t.prototype.unionExtent=function(e){var a=this._extent;e[0]a[1]&&(a[1]=e[1]),this.setExtent(a[0],a[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=UU(e)},t.prototype.getTicks=function(e){var a=this._interval,i=this._extent,n=this._niceExtent,o=this._intervalPrecision,s=[];if(!a)return s;var l=1e4;i[0]l)return[];var v=s.length?s[s.length-1].value:n[1];return i[1]>v&&(e?s.push({value:Uo(v+a,o)}):s.push({value:i[1]})),s},t.prototype.getMinorTicks=function(e){for(var a=this.getTicks(!0),i=[],n=this.getExtent(),o=1;on[0]&&c0&&(n=n===null?s:Math.min(n,s))}e[a]=n}}return e}function XU(r){var t=Gee(r),e=[];return $(r,function(a){var i=a.coordinateSystem,n=i.getBaseAxis(),o=n.getExtent(),s;if(n.type==="category")s=n.getBandWidth();else if(n.type==="value"||n.type==="time"){var l=n.dim+"_"+n.index,u=t[l],v=Math.abs(o[1]-o[0]),h=n.scale.getExtent(),f=Math.abs(h[1]-h[0]);s=u?v/f*u:v}else{var c=a.getData();s=Math.abs(o[1]-o[0])/c.count()}var d=Ie(a.get("barWidth"),s),p=Ie(a.get("barMaxWidth"),s),g=Ie(a.get("barMinWidth")||(e6(a)?.5:1),s),m=a.get("barGap"),y=a.get("barCategoryGap");e.push({bandWidth:s,barWidth:d,barMaxWidth:p,barMinWidth:g,barGap:m,barCategoryGap:y,axisKey:VC(n),stackId:YU(a)})}),KU(e)}function KU(r){var t={};$(r,function(a,i){var n=a.axisKey,o=a.bandWidth,s=t[n]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},l=s.stacks;t[n]=s;var u=a.stackId;l[u]||s.autoWidthCount++,l[u]=l[u]||{width:0,maxWidth:0};var v=a.barWidth;v&&!l[u].width&&(l[u].width=v,v=Math.min(s.remainedWidth,v),s.remainedWidth-=v);var h=a.barMaxWidth;h&&(l[u].maxWidth=h);var f=a.barMinWidth;f&&(l[u].minWidth=f);var c=a.barGap;c!=null&&(s.gap=c);var d=a.barCategoryGap;d!=null&&(s.categoryGap=d)});var e={};return $(t,function(a,i){e[i]={};var n=a.stacks,o=a.bandWidth,s=a.categoryGap;if(s==null){var l=ft(n).length;s=Math.max(35-l*4,15)+"%"}var u=Ie(s,o),v=Ie(a.gap,1),h=a.remainedWidth,f=a.autoWidthCount,c=(h-u)/(f+(f-1)*v);c=Math.max(c,0),$(n,function(m){var y=m.maxWidth,_=m.minWidth;if(m.width){var x=m.width;y&&(x=Math.min(x,y)),_&&(x=Math.max(x,_)),m.width=x,h-=x+v*x,f--}else{var x=c;y&&yx&&(x=_),x!==c&&(m.width=x,h-=x+v*x,f--)}}),c=(h-u)/(f+(f-1)*v),c=Math.max(c,0);var d=0,p;$(n,function(m,y){m.width||(m.width=c),p=m,d+=m.width*(1+v)}),p&&(d-=p.width*v);var g=-d/2;$(n,function(m,y){e[i][y]=e[i][y]||{bandWidth:o,offset:g,width:m.width},g+=m.width*(1+v)})}),e}function Fee(r,t,e){if(r&&t){var a=r[VC(t)];return a}}function QU(r,t){var e=ZU(r,t),a=XU(e);$(e,function(i){var n=i.getData(),o=i.coordinateSystem,s=o.getBaseAxis(),l=YU(i),u=a[VC(s)][l],v=u.offset,h=u.width;n.setLayout({bandWidth:u.bandWidth,offset:v,size:h})})}function jU(r){return{seriesType:r,plan:gu(),reset:function(t){if(JU(t)){var e=t.getData(),a=t.coordinateSystem,i=a.getBaseAxis(),n=a.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(n.dim)),s=e.getDimensionIndex(e.mapDimension(i.dim)),l=t.get("showBackground",!0),u=e.mapDimension(n.dim),v=e.getCalculationInfo("stackResultDimension"),h=wn(e,u)&&!!e.getCalculationInfo("stackedOnSeries"),f=n.isHorizontal(),c=Hee(i,n),d=e6(t),p=t.get("barMinHeight")||0,g=v&&e.getDimensionIndex(v),m=e.getLayout("size"),y=e.getLayout("offset");return{progress:function(_,x){for(var S=_.count,b=d&&Fi(S*3),w=d&&l&&Fi(S*3),A=d&&Fi(S),T=a.master.getRect(),C=f?T.width:T.height,M,L=x.getStore(),D=0;(M=_.next())!=null;){var P=L.get(h?g:o,M),I=L.get(s,M),R=c,E=void 0;h&&(E=+P-L.get(o,M));var k=void 0,B=void 0,F=void 0,V=void 0;if(f){var N=a.dataToPoint([P,I]);if(h){var O=a.dataToPoint([E,I]);R=O[0]}k=R,B=N[1]+y,F=N[0]-R,V=m,Math.abs(F)0?e:1:e))}var qee=function(r,t,e,a){for(;e>>1;r[i][1]i&&(this._approxInterval=i);var s=jf.length,l=Math.min(qee(jf,this._approxInterval,0,s),s-1);this._interval=jf[l][1],this._minLevelUnit=jf[Math.max(l-1,0)][0]},t.prototype.parse=function(e){return bt(e)?e:+Ma(e)},t.prototype.contain=function(e){return Zp(this.parse(e),this._extent)},t.prototype.normalize=function(e){return Xp(this.parse(e),this._extent)},t.prototype.scale=function(e){return Kp(e,this._extent)},t.type="time",t})(Tn),jf=[["second",hC],["minute",fC],["hour",jv],["quarter-day",jv*6],["half-day",jv*12],["day",Wa*1.2],["half-week",Wa*3.5],["week",Wa*7],["month",Wa*31],["quarter",Wa*95],["half-year",UL/2],["year",UL]];function Wee(r,t,e,a){var i=Ma(t),n=Ma(e),o=function(d){return YL(i,d,a)===YL(n,d,a)},s=function(){return o("year")},l=function(){return s()&&o("month")},u=function(){return l()&&o("day")},v=function(){return u()&&o("hour")},h=function(){return v()&&o("minute")},f=function(){return h()&&o("second")},c=function(){return f()&&o("millisecond")};switch(r){case"year":return s();case"month":return l();case"day":return u();case"hour":return v();case"minute":return h();case"second":return f();case"millisecond":return c()}}function Uee(r,t){return r/=Wa,r>16?16:r>7.5?7:r>3.5?4:r>1.5?2:1}function $ee(r){var t=30*Wa;return r/=t,r>6?6:r>3?3:r>2?2:1}function Yee(r){return r/=jv,r>12?12:r>6?6:r>3.5?4:r>2?2:1}function t2(r,t){return r/=t?fC:hC,r>30?30:r>20?20:r>15?15:r>10?10:r>5?5:r>2?2:1}function Zee(r){return qA(r,!0)}function Xee(r,t,e){var a=new Date(r);switch(Hl(t)){case"year":case"month":a[mW(e)](0);case"day":a[yW(e)](1);case"hour":a[_W(e)](0);case"minute":a[xW(e)](0);case"second":a[SW(e)](0),a[bW(e)](0)}return a.getTime()}function Kee(r,t,e,a){var i=1e4,n=pW,o=0;function s(C,M,L,D,P,I,R){for(var E=new Date(M),k=M,B=E[D]();k1&&I===0&&L.unshift({value:L[0].value-k})}}for(var I=0;I=a[0]&&y<=a[1]&&h++)}var _=(a[1]-a[0])/t;if(h>_*1.5&&f>_/1.5||(u.push(g),h>_||r===n[c]))break}v=[]}}}for(var x=Ct(we(u,function(C){return Ct(C,function(M){return M.value>=a[0]&&M.value<=a[1]&&!M.notAdd})}),function(C){return C.length>0}),S=[],b=x.length-1,c=0;c0;)n*=10;var s=[ar(Jee(a[0]/n)*n),ar(jee(a[1]/n)*n)];this._interval=n,this._niceExtent=s}},t.prototype.calcNiceExtent=function(e){th.calcNiceExtent.call(this,e),this._fixMin=e.fixMin,this._fixMax=e.fixMax},t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return e=ai(e)/ai(this.base),Zp(e,this._extent)},t.prototype.normalize=function(e){return e=ai(e)/ai(this.base),Xp(e,this._extent)},t.prototype.scale=function(e){return e=Kp(e,this._extent),Jf(this.base,e)},t.type="log",t})(ji),t6=FC.prototype;t6.getMinorTicks=th.getMinorTicks;t6.getLabel=th.getLabel;function ec(r,t){return Qee(r,hi(t))}ji.registerClass(FC);var ete=(function(){function r(t,e,a){this._prepareParams(t,e,a)}return r.prototype._prepareParams=function(t,e,a){a[1]0&&l>0&&!u&&(s=0),s<0&&l<0&&!v&&(l=0));var f=this._determinedMin,c=this._determinedMax;return f!=null&&(s=f,u=!0),c!=null&&(l=c,v=!0),{min:s,max:l,minFixed:u,maxFixed:v,isBlank:h}},r.prototype.modifyDataMinMax=function(t,e){this[rte[t]]=e},r.prototype.setDeterminedMinMax=function(t,e){var a=tte[t];this[a]=e},r.prototype.freeze=function(){this.frozen=!0},r})(),tte={min:"_determinedMin",max:"_determinedMax"},rte={min:"_dataMin",max:"_dataMax"};function r6(r,t,e){var a=r.rawExtentInfo;return a||(a=new ete(r,t,e),r.rawExtentInfo=a,a)}function tc(r,t){return t==null?null:Ul(t)?NaN:r.parse(t)}function a6(r,t){var e=r.type,a=r6(r,t,r.getExtent()).calculate();r.setBlank(a.isBlank);var i=a.min,n=a.max,o=t.ecModel;if(o&&e==="time"){var s=ZU("bar",o),l=!1;if($(s,function(h){l=l||h.getBaseAxis()===t.axis}),l){var u=XU(s),v=ate(i,n,t,u);i=v.min,n=v.max}}return{extent:[i,n],fixMin:a.minFixed,fixMax:a.maxFixed}}function ate(r,t,e,a){var i=e.axis.getExtent(),n=Math.abs(i[1]-i[0]),o=Fee(a,e.axis);if(o===void 0)return{min:r,max:t};var s=1/0;$(o,function(c){s=Math.min(c.offset,s)});var l=-1/0;$(o,function(c){l=Math.max(c.offset+c.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,v=t-r,h=1-(s+l)/n,f=v/h-v;return t+=f*(l/u),r-=f*(s/u),{min:r,max:t}}function Rs(r,t){var e=t,a=a6(r,e),i=a.extent,n=e.get("splitNumber");r instanceof FC&&(r.base=e.get("logBase"));var o=r.type,s=e.get("interval"),l=o==="interval"||o==="time";r.setExtent(i[0],i[1]),r.calcNiceExtent({splitNumber:n,fixMin:a.fixMin,fixMax:a.fixMax,minInterval:l?e.get("minInterval"):null,maxInterval:l?e.get("maxInterval"):null}),s!=null&&r.setInterval&&r.setInterval(s)}function Kh(r,t){if(t=t||r.get("type"),t)switch(t){case"category":return new Qp({ordinalMeta:r.getOrdinalMeta?r.getOrdinalMeta():r.getCategories(),extent:[1/0,-1/0]});case"time":return new GC({locale:r.ecModel.getLocaleModel(),useUTC:r.ecModel.get("useUTC")});default:return new(ji.getClass(t)||Tn)}}function ite(r){var t=r.scale.getExtent(),e=t[0],a=t[1];return!(e>0&&a>0||e<0&&a<0)}function xu(r){var t=r.getLabelModel().get("formatter"),e=r.type==="category"?r.scale.getExtent()[0]:null;return r.scale.type==="time"?(function(a){return function(i,n){return r.scale.getFormattedLabel(i,n,a)}})(t):Re(t)?(function(a){return function(i){var n=r.scale.getLabel(i),o=a.replace("{value}",n!=null?n:"");return o}})(t):He(t)?(function(a){return function(i,n){return e!=null&&(n=i.value-e),a(HC(r,i),n,i.level!=null?{level:i.level}:null)}})(t):function(a){return r.scale.getLabel(a)}}function HC(r,t){return r.type==="category"?r.scale.getLabel(t):t.value}function nte(r){var t=r.model,e=r.scale;if(!(!t.get(["axisLabel","show"])||e.isBlank())){var a,i,n=e.getExtent();e instanceof Qp?i=e.count():(a=e.getTicks(),i=a.length);var o=r.getLabelModel(),s=xu(r),l,u=1;i>40&&(u=Math.ceil(i/40));for(var v=0;vr[1]&&(r[1]=i[1])})}var Su=(function(){function r(){}return r.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},r.prototype.getCoordSysModel=function(){},r})();function lte(r){return Qi(null,r)}var ute={isDimensionStacked:wn,enableDataStack:WU,getStackedDimension:BC};function vte(r,t){var e=t;t instanceof Mt||(e=new Mt(t));var a=Kh(e);return a.setExtent(r[0],r[1]),Rs(a,e),a}function hte(r){nr(r,Su)}function fte(r,t){return t=t||{},Ht(r,null,null,t.state!=="normal")}const cte=Object.freeze(Object.defineProperty({__proto__:null,createDimensions:bee,createList:lte,createScale:vte,createSymbol:lr,createTextStyle:fte,dataStack:ute,enableHoverEmphasis:to,getECData:Xe,getLayoutRect:dr,mixinAxisModelCommonMethods:hte},Symbol.toStringTag,{value:"Module"}));var a2=[],dte={registerPreprocessor:kC,registerProcessor:OC,registerPostInit:EU,registerPostUpdate:kU,registerUpdateLifecycle:Yp,registerAction:Si,registerCoordinateSystem:OU,registerLayout:NU,registerVisual:mo,registerTransform:BU,registerLoading:zC,registerMap:zU,registerImpl:VJ,PRIORITY:TU,ComponentModel:ut,ComponentView:Wt,SeriesModel:zt,ChartView:kt,registerComponentModel:function(r){ut.registerClass(r)},registerComponentView:function(r){Wt.registerClass(r)},registerSeriesModel:function(r){zt.registerClass(r)},registerChartView:function(r){kt.registerClass(r)},registerSubTypeDefaulter:function(r,t){ut.registerSubTypeDefaulter(r,t)},registerPainter:function(r,t){fq(r,t)}};function ot(r){if(Se(r)){$(r,function(t){ot(t)});return}nt(a2,r)>=0||(a2.push(r),He(r)&&(r={install:r}),r.install(dte))}var pte=1e-8;function i2(r,t){return Math.abs(r-t)i&&(a=o,i=l)}if(a)return mte(a.exterior);var u=this.getBoundingRect();return[u.x+u.width/2,u.y+u.height/2]},t.prototype.getBoundingRect=function(e){var a=this._rect;if(a&&!e)return a;var i=[1/0,1/0],n=[-1/0,-1/0],o=this.geometries;return $(o,function(s){s.type==="polygon"?n2(s.exterior,i,n,e):$(s.points,function(l){n2(l,i,n,e)})}),isFinite(i[0])&&isFinite(i[1])&&isFinite(n[0])&&isFinite(n[1])||(i[0]=i[1]=n[0]=n[1]=0),a=new at(i[0],i[1],n[0]-i[0],n[1]-i[1]),e||(this._rect=a),a},t.prototype.contain=function(e){var a=this.getBoundingRect(),i=this.geometries;if(!a.contain(e[0],e[1]))return!1;e:for(var n=0,o=i.length;n>1^-(s&1),l=l>>1^-(l&1),s+=i,l+=n,i=s,n=l,a.push([s/e,l/e])}return a}function kT(r,t){return r=_te(r),we(Ct(r.features,function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0}),function(e){var a=e.properties,i=e.geometry,n=[];switch(i.type){case"Polygon":var o=i.coordinates;n.push(new o2(o[0],o.slice(1)));break;case"MultiPolygon":$(i.coordinates,function(l){l[0]&&n.push(new o2(l[0],l.slice(1)))});break;case"LineString":n.push(new s2([i.coordinates]));break;case"MultiLineString":n.push(new s2(i.coordinates))}var s=new o6(a[t||"name"],n,a.cp);return s.properties=a,s})}const xte=Object.freeze(Object.defineProperty({__proto__:null,MAX_SAFE_INTEGER:rT,asc:Ta,getPercentWithPrecision:tX,getPixelPrecision:FA,getPrecision:hi,getPrecisionSafe:gq,isNumeric:WA,isRadianAroundZero:Yl,linearMap:Pt,nice:qA,numericToNumber:Yi,parseDate:Ma,quantile:ed,quantity:yq,quantityExponent:Cp,reformIntervals:aT,remRadian:HA,round:ar},Symbol.toStringTag,{value:"Module"})),Ste=Object.freeze(Object.defineProperty({__proto__:null,format:Zh,parse:Ma},Symbol.toStringTag,{value:"Module"})),bte=Object.freeze(Object.defineProperty({__proto__:null,Arc:Uh,BezierCurve:su,BoundingRect:at,Circle:Xi,CompoundPath:Ep,Ellipse:Wh,Group:Ze,Image:Dr,IncrementalDisplayable:rW,Line:xr,LinearGradient:lu,Polygon:jr,Polyline:ea,RadialGradient:rC,Rect:gt,Ring:ou,Sector:Qr,Text:pt,clipPointsByRect:oC,clipRectByRect:sW,createIcon:vu,extendPath:nW,extendShape:iW,getShapeClass:kp,getTransform:ro,initProps:$t,makeImage:iC,makePath:$h,mergePath:wa,registerShape:Ka,resizePath:nC,updateProps:wt},Symbol.toStringTag,{value:"Module"})),wte=Object.freeze(Object.defineProperty({__proto__:null,addCommas:dC,capitalFirst:CQ,encodeHTML:Zr,formatTime:AQ,formatTpl:gC,getTextRect:wQ,getTooltipMarker:wW,normalizeCssArray:Vs,toCamelCase:pC,truncateText:PX},Symbol.toStringTag,{value:"Module"})),Tte=Object.freeze(Object.defineProperty({__proto__:null,bind:Ne,clone:Ye,curry:et,defaults:Ue,each:$,extend:_e,filter:Ct,indexOf:nt,inherits:EA,isArray:Se,isFunction:He,isObject:$e,isString:Re,map:we,merge:tt,reduce:Ya},Symbol.toStringTag,{value:"Module"}));var Th=yt();function l6(r,t){var e=we(t,function(a){return r.scale.parse(a)});return r.type==="time"&&e.length>0&&(e.sort(),e.unshift(e[0]),e.push(e[e.length-1])),e}function Ate(r){var t=r.getLabelModel().get("customValues");if(t){var e=xu(r),a=r.scale.getExtent(),i=l6(r,t),n=Ct(i,function(o){return o>=a[0]&&o<=a[1]});return{labels:we(n,function(o){var s={value:o};return{formattedLabel:e(s),rawLabel:r.scale.getLabel(s),tickValue:o}})}}return r.type==="category"?Mte(r):Lte(r)}function Cte(r,t){var e=r.getTickModel().get("customValues");if(e){var a=r.scale.getExtent(),i=l6(r,e);return{ticks:Ct(i,function(n){return n>=a[0]&&n<=a[1]})}}return r.type==="category"?Dte(r,t):{ticks:we(r.scale.getTicks(),function(n){return n.value})}}function Mte(r){var t=r.getLabelModel(),e=u6(r,t);return!t.get("show")||r.scale.isBlank()?{labels:[],labelCategoryInterval:e.labelCategoryInterval}:e}function u6(r,t){var e=v6(r,"labels"),a=qC(t),i=h6(e,a);if(i)return i;var n,o;return He(a)?n=d6(r,a):(o=a==="auto"?Ite(r):a,n=c6(r,o)),f6(e,a,{labels:n,labelCategoryInterval:o})}function Dte(r,t){var e=v6(r,"ticks"),a=qC(t),i=h6(e,a);if(i)return i;var n,o;if((!t.get("show")||r.scale.isBlank())&&(n=[]),He(a))n=d6(r,a,!0);else if(a==="auto"){var s=u6(r,r.getLabelModel());o=s.labelCategoryInterval,n=we(s.labels,function(l){return l.tickValue})}else o=a,n=c6(r,o,!0);return f6(e,a,{ticks:n,tickCategoryInterval:o})}function Lte(r){var t=r.scale.getTicks(),e=xu(r);return{labels:we(t,function(a,i){return{level:a.level,formattedLabel:e(a,i),rawLabel:r.scale.getLabel(a),tickValue:a.value}})}}function v6(r,t){return Th(r)[t]||(Th(r)[t]=[])}function h6(r,t){for(var e=0;e40&&(s=Math.max(1,Math.floor(o/40)));for(var l=n[0],u=r.dataToCoord(l+1)-r.dataToCoord(l),v=Math.abs(u*Math.cos(a)),h=Math.abs(u*Math.sin(a)),f=0,c=0;l<=n[1];l+=s){var d=0,p=0,g=Fh(e({value:l}),t.font,"center","top");d=g.width*1.3,p=g.height*1.3,f=Math.max(f,d,7),c=Math.max(c,p,7)}var m=f/v,y=c/h;isNaN(m)&&(m=1/0),isNaN(y)&&(y=1/0);var _=Math.max(0,Math.floor(Math.min(m,y))),x=Th(r.model),S=r.getExtent(),b=x.lastAutoInterval,w=x.lastTickCount;return b!=null&&w!=null&&Math.abs(b-_)<=1&&Math.abs(w-o)<=1&&b>_&&x.axisExtent0===S[0]&&x.axisExtent1===S[1]?_=b:(x.lastTickCount=o,x.lastAutoInterval=_,x.axisExtent0=S[0],x.axisExtent1=S[1]),_}function Rte(r){var t=r.getLabelModel();return{axisRotate:r.getRotate?r.getRotate():r.isHorizontal&&!r.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function c6(r,t,e){var a=xu(r),i=r.scale,n=i.getExtent(),o=r.getLabelModel(),s=[],l=Math.max((t||0)+1,1),u=n[0],v=i.count();u!==0&&l>1&&v/l>2&&(u=Math.round(Math.ceil(u/l)*l));var h=i6(r),f=o.get("showMinLabel")||h,c=o.get("showMaxLabel")||h;f&&u!==n[0]&&p(n[0]);for(var d=u;d<=n[1];d+=l)p(d);c&&d-l!==n[1]&&p(n[1]);function p(g){var m={value:g};s.push(e?g:{formattedLabel:a(m),rawLabel:i.getLabel(m),tickValue:g})}return s}function d6(r,t,e){var a=r.scale,i=xu(r),n=[];return $(a.getTicks(),function(o){var s=a.getLabel(o),l=o.value;t(o.value,s)&&n.push(e?l:{formattedLabel:i(o),rawLabel:s,tickValue:l})}),n}var l2=[0,1],Ja=(function(){function r(t,e,a){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=a||[0,0]}return r.prototype.contain=function(t){var e=this._extent,a=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=a&&t<=i},r.prototype.containData=function(t){return this.scale.contain(t)},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.getPixelPrecision=function(t){return FA(t||this.scale.getExtent(),this._extent)},r.prototype.setExtent=function(t,e){var a=this._extent;a[0]=t,a[1]=e},r.prototype.dataToCoord=function(t,e){var a=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&i.type==="ordinal"&&(a=a.slice(),u2(a,i.count())),Pt(t,l2,a,e)},r.prototype.coordToData=function(t,e){var a=this._extent,i=this.scale;this.onBand&&i.type==="ordinal"&&(a=a.slice(),u2(a,i.count()));var n=Pt(t,a,l2,e);return this.scale.scale(n)},r.prototype.pointToData=function(t,e){},r.prototype.getTicksCoords=function(t){t=t||{};var e=t.tickModel||this.getTickModel(),a=Cte(this,e),i=a.ticks,n=we(i,function(s){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this),o=e.get("alignWithLabel");return Ete(this,n,o,t.clamp),n},r.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var a=this.scale.getMinorTicks(e),i=we(a,function(n){return we(n,function(o){return{coord:this.dataToCoord(o),tickValue:o}},this)},this);return i},r.prototype.getViewLabels=function(){return Ate(this).labels},r.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},r.prototype.getTickModel=function(){return this.model.getModel("axisTick")},r.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),a=e[1]-e[0]+(this.onBand?1:0);a===0&&(a=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/a},r.prototype.calculateCategoryInterval=function(){return Pte(this)},r})();function u2(r,t){var e=r[1]-r[0],a=t,i=e/a/2;r[0]+=i,r[1]-=i}function Ete(r,t,e,a){var i=t.length;if(!r.onBand||e||!i)return;var n=r.getExtent(),o,s;if(i===1)t[0].coord=n[0],o=t[1]={coord:n[1],tickValue:t[0].tickValue};else{var l=t[i-1].tickValue-t[0].tickValue,u=(t[i-1].coord-t[0].coord)/l;$(t,function(c){c.coord-=u/2});var v=r.scale.getExtent();s=1+v[1]-t[i-1].tickValue,o={coord:t[i-1].coord+u*s,tickValue:v[1]+1},t.push(o)}var h=n[0]>n[1];f(t[0].coord,n[0])&&(a?t[0].coord=n[0]:t.shift()),a&&f(n[0],t[0].coord)&&t.unshift({coord:n[0]}),f(n[1],o.coord)&&(a?o.coord=n[1]:t.pop()),a&&f(o.coord,n[1])&&t.push({coord:n[1]});function f(c,d){return c=ar(c),d=ar(d),h?c>d:ci&&(i+=ju);var c=Math.atan2(s,o);if(c<0&&(c+=ju),c>=a&&c<=i||c+ju>=a&&c+ju<=i)return l[0]=v,l[1]=h,u-e;var d=e*Math.cos(a)+r,p=e*Math.sin(a)+t,g=e*Math.cos(i)+r,m=e*Math.sin(i)+t,y=(d-o)*(d-o)+(p-s)*(p-s),_=(g-o)*(g-o)+(m-s)*(m-s);return y<_?(l[0]=d,l[1]=p,Math.sqrt(y)):(l[0]=g,l[1]=m,Math.sqrt(_))}function Yd(r,t,e,a,i,n,o,s){var l=i-r,u=n-t,v=e-r,h=a-t,f=Math.sqrt(v*v+h*h);v/=f,h/=f;var c=l*v+u*h,d=c/f;s&&(d=Math.min(Math.max(d,0),1)),d*=f;var p=o[0]=r+d*v,g=o[1]=t+d*h;return Math.sqrt((p-i)*(p-i)+(g-n)*(g-n))}function p6(r,t,e,a,i,n,o){e<0&&(r=r+e,e=-e),a<0&&(t=t+a,a=-a);var s=r+e,l=t+a,u=o[0]=Math.min(Math.max(i,r),s),v=o[1]=Math.min(Math.max(n,t),l);return Math.sqrt((u-i)*(u-i)+(v-n)*(v-n))}var vi=[];function Fte(r,t,e){var a=p6(t.x,t.y,t.width,t.height,r.x,r.y,vi);return e.set(vi[0],vi[1]),a}function Hte(r,t,e){for(var a=0,i=0,n=0,o=0,s,l,u=1/0,v=t.data,h=r.x,f=r.y,c=0;c0){t=t/180*Math.PI,fi.fromArray(r[0]),qt.fromArray(r[1]),sr.fromArray(r[2]),rt.sub(Hi,fi,qt),rt.sub(Vi,sr,qt);var e=Hi.len(),a=Vi.len();if(!(e<.001||a<.001)){Hi.scale(1/e),Vi.scale(1/a);var i=Hi.dot(Vi),n=Math.cos(t);if(n1&&rt.copy(oa,sr),oa.toArray(r[1])}}}}function qte(r,t,e){if(e<=180&&e>0){e=e/180*Math.PI,fi.fromArray(r[0]),qt.fromArray(r[1]),sr.fromArray(r[2]),rt.sub(Hi,qt,fi),rt.sub(Vi,sr,qt);var a=Hi.len(),i=Vi.len();if(!(a<.001||i<.001)){Hi.scale(1/a),Vi.scale(1/i);var n=Hi.dot(t),o=Math.cos(e);if(n=l)rt.copy(oa,sr);else{oa.scaleAndAdd(Vi,s/Math.tan(Math.PI/2-v));var h=sr.x!==qt.x?(oa.x-qt.x)/(sr.x-qt.x):(oa.y-qt.y)/(sr.y-qt.y);if(isNaN(h))return;h<0?rt.copy(oa,qt):h>1&&rt.copy(oa,sr)}oa.toArray(r[1])}}}}function Om(r,t,e,a){var i=e==="normal",n=i?r:r.ensureState(e);n.ignore=t;var o=a.get("smooth");o&&o===!0&&(o=.3),n.shape=n.shape||{},o>0&&(n.shape.smooth=o);var s=a.getModel("lineStyle").getLineStyle();i?r.useStyle(s):n.style=s}function Wte(r,t){var e=t.smooth,a=t.points;if(a)if(r.moveTo(a[0][0],a[0][1]),e>0&&a.length>=3){var i=fn(a[0],a[1]),n=fn(a[1],a[2]);if(!i||!n){r.lineTo(a[1][0],a[1][1]),r.lineTo(a[2][0],a[2][1]);return}var o=Math.min(i,n)*e,s=qv([],a[1],a[0],o/i),l=qv([],a[1],a[2],o/n),u=qv([],s,l,.5);r.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),r.bezierCurveTo(l[0],l[1],l[0],l[1],a[2][0],a[2][1])}else for(var v=1;v0){_(T*A,0,o);var C=T+b;C<0&&x(-C*A,1)}else x(-b*A,1)}}function _(b,w,A){b!==0&&(u=!0);for(var T=w;T0)for(var C=0;C0;C--){var P=A[C-1]*D;_(-P,C,o)}}}function S(b){var w=b<0?-1:1;b=Math.abs(b);for(var A=Math.ceil(b/(o-1)),T=0;T0?_(A,0,T+1):_(-A,o-T-1,o),b-=A,b<=0)return}return u}function Ute(r,t,e,a){return y6(r,"x","width",t,e)}function _6(r,t,e,a){return y6(r,"y","height",t,e)}function x6(r){var t=[];r.sort(function(p,g){return g.priority-p.priority});var e=new at(0,0,0,0);function a(p){if(!p.ignore){var g=p.ensureState("emphasis");g.ignore==null&&(g.ignore=!1)}p.ignore=!0}for(var i=0;i=0&&a.attr(n.oldLayoutSelect),nt(f,"emphasis")>=0&&a.attr(n.oldLayoutEmphasis)),wt(a,u,e,l)}else if(a.attr(u),!hu(a).valueAnimation){var h=Je(a.style.opacity,1);a.style.opacity=0,$t(a,{style:{opacity:h}},e,l)}if(n.oldLayout=u,a.states.select){var c=n.oldLayoutSelect={};rc(c,u,ac),rc(c,a.states.select,ac)}if(a.states.emphasis){var d=n.oldLayoutEmphasis={};rc(d,u,ac),rc(d,a.states.emphasis,ac)}hW(a,l,v,e,e)}if(i&&!i.ignore&&!i.invisible){var n=Zte(i),o=n.oldLayout,p={points:i.shape.points};o?(i.attr({shape:o}),wt(i,{shape:p},e)):(i.setShape(p),i.style.strokePercent=0,$t(i,{style:{strokePercent:1}},e)),n.oldLayout=p}},r})(),zm=yt();function S6(r){r.registerUpdateLifecycle("series:beforeupdate",function(t,e,a){var i=zm(e).labelManager;i||(i=zm(e).labelManager=new Xte),i.clearLabels()}),r.registerUpdateLifecycle("series:layoutlabels",function(t,e,a){var i=zm(e).labelManager;a.updatedSeries.forEach(function(n){i.addLabelsOfSeries(e.getViewOfSeriesModel(n))}),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()})}const S1e=Object.freeze(Object.defineProperty({__proto__:null,Axis:Ja,ChartView:kt,ComponentModel:ut,ComponentView:Wt,List:Xr,Model:Mt,PRIORITY:TU,SeriesModel:zt,color:yZ,connect:nee,dataTool:fee,dependencies:FJ,disConnect:oee,disconnect:RU,dispose:see,env:vt,extendChartView:zte,extendComponentModel:kte,extendComponentView:Ote,extendSeriesModel:Nte,format:wte,getCoordinateSystemDimensions:uee,getInstanceByDom:RC,getInstanceById:lee,getMap:hee,graphic:bte,helper:cte,init:iee,innerDrawElementOnCanvas:DC,matrix:KY,number:xte,parseGeoJSON:kT,parseGeoJson:kT,registerAction:Si,registerCoordinateSystem:OU,registerLayout:NU,registerLoading:zC,registerLocale:vC,registerMap:zU,registerPostInit:EU,registerPostUpdate:kU,registerPreprocessor:kC,registerProcessor:OC,registerTheme:EC,registerTransform:BU,registerUpdateLifecycle:Yp,registerVisual:mo,setCanvasCreator:vee,setPlatformAPI:I4,throttle:Up,time:Ste,use:ot,util:Tte,vector:NY,version:GJ,zrUtil:LY,zrender:JZ},Symbol.toStringTag,{value:"Module"}));var Kte=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return t.prototype.getInitialData=function(e){return Qi(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(e){var a=new Ze,i=lr("line",0,e.itemHeight/2,e.itemWidth,0,e.lineStyle.stroke,!1);a.add(i),i.setStyle(e.lineStyle);var n=this.getData().getVisual("symbol"),o=this.getData().getVisual("symbolRotate"),s=n==="none"?"circle":n,l=e.itemHeight*.8,u=lr(s,(e.itemWidth-l)/2,(e.itemHeight-l)/2,l,l,e.itemStyle.fill);a.add(u),u.setStyle(e.itemStyle);var v=e.iconRotate==="inherit"?o:e.iconRotate||0;return u.rotation=v*Math.PI/180,u.setOrigin([e.itemWidth/2,e.itemHeight/2]),s.indexOf("empty")>-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),a},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t})(zt);function jl(r,t){var e=r.mapDimensionsAll("defaultedLabel"),a=e.length;if(a===1){var i=Kl(r,t,e[0]);return i!=null?i+"":null}else if(a){for(var n=[],o=0;o=0&&a.push(t[n])}return a.join(" ")}var Qh=(function(r){he(t,r);function t(e,a,i,n){var o=r.call(this)||this;return o.updateData(e,a,i,n),o}return t.prototype._createSymbol=function(e,a,i,n,o){this.removeAll();var s=lr(e,-1,-1,2,2,null,o);s.attr({z2:100,culling:!0,scaleX:n[0]/2,scaleY:n[1]/2}),s.drift=Qte,this._symbolType=e,this.add(s)},t.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){xn(this.childAt(0))},t.prototype.downplay=function(){Sn(this.childAt(0))},t.prototype.setZ=function(e,a){var i=this.childAt(0);i.zlevel=e,i.z=a},t.prototype.setDraggable=function(e,a){var i=this.childAt(0);i.draggable=e,i.cursor=!a&&e?"move":i.cursor},t.prototype.updateData=function(e,a,i,n){this.silent=!1;var o=e.getItemVisual(a,"symbol")||"circle",s=e.hostModel,l=t.getSymbolSize(e,a),u=o!==this._symbolType,v=n&&n.disableAnimation;if(u){var h=e.getItemVisual(a,"symbolKeepAspect");this._createSymbol(o,e,a,l,h)}else{var f=this.childAt(0);f.silent=!1;var c={scaleX:l[0]/2,scaleY:l[1]/2};v?f.attr(c):wt(f,c,s,a),xi(f)}if(this._updateCommon(e,a,l,i,n),u){var f=this.childAt(0);if(!v){var c={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:f.style.opacity}};f.scaleX=f.scaleY=0,f.style.opacity=0,$t(f,c,s,a)}}v&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(e,a,i,n,o){var s=this.childAt(0),l=e.hostModel,u,v,h,f,c,d,p,g,m;if(n&&(u=n.emphasisItemStyle,v=n.blurItemStyle,h=n.selectItemStyle,f=n.focus,c=n.blurScope,p=n.labelStatesModels,g=n.hoverScale,m=n.cursorStyle,d=n.emphasisDisabled),!n||e.hasItemOption){var y=n&&n.itemModel?n.itemModel:e.getItemModel(a),_=y.getModel("emphasis");u=_.getModel("itemStyle").getItemStyle(),h=y.getModel(["select","itemStyle"]).getItemStyle(),v=y.getModel(["blur","itemStyle"]).getItemStyle(),f=_.get("focus"),c=_.get("blurScope"),d=_.get("disabled"),p=Cr(y),g=_.getShallow("scale"),m=y.getShallow("cursor")}var x=e.getItemVisual(a,"symbolRotate");s.attr("rotation",(x||0)*Math.PI/180||0);var S=Gs(e.getItemVisual(a,"symbolOffset"),i);S&&(s.x=S[0],s.y=S[1]),m&&s.attr("cursor",m);var b=e.getItemVisual(a,"style"),w=b.fill;if(s instanceof Dr){var A=s.style;s.useStyle(_e({image:A.image,x:A.x,y:A.y,width:A.width,height:A.height},b))}else s.__isEmptyBrush?s.useStyle(_e({},b)):s.useStyle(b),s.style.decal=null,s.setColor(w,o&&o.symbolInnerColor),s.style.strokeNoScale=!0;var T=e.getItemVisual(a,"liftZ"),C=this._z2;T!=null?C==null&&(this._z2=s.z2,s.z2+=T):C!=null&&(s.z2=C,this._z2=null);var M=o&&o.useNameLabel;Gr(s,p,{labelFetcher:l,labelDataIndex:a,defaultText:L,inheritColor:w,defaultOpacity:b.opacity});function L(I){return M?e.getName(I):jl(e,I)}this._sizeX=i[0]/2,this._sizeY=i[1]/2;var D=s.ensureState("emphasis");D.style=u,s.ensureState("select").style=h,s.ensureState("blur").style=v;var P=g==null||g===!0?Math.max(1.1,3/this._sizeY):isFinite(g)&&g>0?+g:1;D.scaleX=this._sizeX*P,D.scaleY=this._sizeY*P,this.setSymbolScale(1),tr(this,f,c,d)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,a,i){var n=this.childAt(0),o=Xe(this).dataIndex,s=i&&i.animation;if(this.silent=n.silent=!0,i&&i.fadeLabel){var l=n.getTextContent();l&&lo(l,{style:{opacity:0}},a,{dataIndex:o,removeOpt:s,cb:function(){n.removeTextContent()}})}else n.removeTextContent();lo(n,{style:{opacity:0},scaleX:0,scaleY:0},a,{dataIndex:o,cb:e,removeOpt:s})},t.getSymbolSize=function(e,a){return yu(e.getItemVisual(a,"symbolSize"))},t})(Ze);function Qte(r,t){this.parent.drift(r,t)}function Bm(r,t,e,a){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(a.isIgnore&&a.isIgnore(e))&&!(a.clipShape&&!a.clipShape.contain(t[0],t[1]))&&r.getItemVisual(e,"symbol")!=="none"}function f2(r){return r!=null&&!$e(r)&&(r={isIgnore:r}),r||{}}function c2(r){var t=r.hostModel,e=t.getModel("emphasis");return{emphasisItemStyle:e.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:e.get("focus"),blurScope:e.get("blurScope"),emphasisDisabled:e.get("disabled"),hoverScale:e.get("scale"),labelStatesModels:Cr(t),cursorStyle:t.get("cursor")}}var jh=(function(){function r(t){this.group=new Ze,this._SymbolCtor=t||Qh}return r.prototype.updateData=function(t,e){this._progressiveEls=null,e=f2(e);var a=this.group,i=t.hostModel,n=this._data,o=this._SymbolCtor,s=e.disableAnimation,l=c2(t),u={disableAnimation:s},v=e.getSymbolPoint||function(h){return t.getItemLayout(h)};n||a.removeAll(),t.diff(n).add(function(h){var f=v(h);if(Bm(t,f,h,e)){var c=new o(t,h,l,u);c.setPosition(f),t.setItemGraphicEl(h,c),a.add(c)}}).update(function(h,f){var c=n.getItemGraphicEl(f),d=v(h);if(!Bm(t,d,h,e)){a.remove(c);return}var p=t.getItemVisual(h,"symbol")||"circle",g=c&&c.getSymbolType&&c.getSymbolType();if(!c||g&&g!==p)a.remove(c),c=new o(t,h,l,u),c.setPosition(d);else{c.updateData(t,h,l,u);var m={x:d[0],y:d[1]};s?c.attr(m):wt(c,m,i)}a.add(c),t.setItemGraphicEl(h,c)}).remove(function(h){var f=n.getItemGraphicEl(h);f&&f.fadeOut(function(){a.remove(f)},i)}).execute(),this._getSymbolPoint=v,this._data=t},r.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl(function(a,i){var n=t._getSymbolPoint(i);a.setPosition(n),a.markRedraw()})},r.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=c2(t),this._data=null,this.group.removeAll()},r.prototype.incrementalUpdate=function(t,e,a){this._progressiveEls=[],a=f2(a);function i(l){l.isGroup||(l.incremental=!0,l.ensureState("emphasis").hoverLayer=!0)}for(var n=t.start;n0?e=a[0]:a[1]<0&&(e=a[1]),e}function T6(r,t,e,a){var i=NaN;r.stacked&&(i=e.get(e.getCalculationInfo("stackedOverDimension"),a)),isNaN(i)&&(i=r.valueStart);var n=r.baseDataOffset,o=[];return o[n]=e.get(r.baseDim,a),o[1-n]=i,t.dataToPoint(o)}function Jte(r,t){var e=[];return t.diff(r).add(function(a){e.push({cmd:"+",idx:a})}).update(function(a,i){e.push({cmd:"=",idx:i,idx1:a})}).remove(function(a){e.push({cmd:"-",idx:a})}).execute(),e}function ere(r,t,e,a,i,n,o,s){for(var l=Jte(r,t),u=[],v=[],h=[],f=[],c=[],d=[],p=[],g=w6(i,t,o),m=r.getLayout("points")||[],y=t.getLayout("points")||[],_=0;_=i||p<0)break;if(Ts(m,y)){if(l){p+=n;continue}break}if(p===e)r[n>0?"moveTo":"lineTo"](m,y),h=m,f=y;else{var _=m-u,x=y-v;if(_*_+x*x<.5){p+=n;continue}if(o>0){for(var S=p+n,b=t[S*2],w=t[S*2+1];b===m&&w===y&&g=a||Ts(b,w))c=m,d=y;else{C=b-u,M=w-v;var P=m-u,I=b-m,R=y-v,E=w-y,k=void 0,B=void 0;if(s==="x"){k=Math.abs(P),B=Math.abs(I);var F=C>0?1:-1;c=m-F*k*o,d=y,L=m+F*B*o,D=y}else if(s==="y"){k=Math.abs(R),B=Math.abs(E);var V=M>0?1:-1;c=m,d=y-V*k*o,L=m,D=y+V*B*o}else k=Math.sqrt(P*P+R*R),B=Math.sqrt(I*I+E*E),T=B/(B+k),c=m-C*o*(1-T),d=y-M*o*(1-T),L=m+C*o*T,D=y+M*o*T,L=Nn(L,zn(b,m)),D=Nn(D,zn(w,y)),L=zn(L,Nn(b,m)),D=zn(D,Nn(w,y)),C=L-m,M=D-y,c=m-C*k/B,d=y-M*k/B,c=Nn(c,zn(u,m)),d=Nn(d,zn(v,y)),c=zn(c,Nn(u,m)),d=zn(d,Nn(v,y)),C=m-c,M=y-d,L=m+C*B/k,D=y+M*B/k}r.bezierCurveTo(h,f,c,d,m,y),h=L,f=D}else r.lineTo(m,y)}u=m,v=y,p+=n}return g}var A6=(function(){function r(){this.smooth=0,this.smoothConstraint=!0}return r})(),tre=(function(r){he(t,r);function t(e){var a=r.call(this,e)||this;return a.type="ec-polyline",a}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new A6},t.prototype.buildPath=function(e,a){var i=a.points,n=0,o=i.length/2;if(a.connectNulls){for(;o>0&&Ts(i[o*2-2],i[o*2-1]);o--);for(;n=0){var x=u?(d-l)*_+l:(c-s)*_+s;return u?[e,x]:[x,e]}s=c,l=d;break;case o.C:c=n[h++],d=n[h++],p=n[h++],g=n[h++],m=n[h++],y=n[h++];var S=u?bd(s,c,p,m,e,v):bd(l,d,g,y,e,v);if(S>0)for(var b=0;b=0){var x=u?br(l,d,g,y,w):br(s,c,p,m,w);return u?[e,x]:[x,e]}}s=m,l=y;break}}},t})(ht),rre=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t})(A6),C6=(function(r){he(t,r);function t(e){var a=r.call(this,e)||this;return a.type="ec-polygon",a}return t.prototype.getDefaultShape=function(){return new rre},t.prototype.buildPath=function(e,a){var i=a.points,n=a.stackedOnPoints,o=0,s=i.length/2,l=a.smoothMonotone;if(a.connectNulls){for(;s>0&&Ts(i[s*2-2],i[s*2-1]);s--);for(;ot){n?e.push(o(n,l,t)):i&&e.push(o(i,l,0),o(i,l,t));break}else i&&(e.push(o(i,l,0)),i=null),e.push(l),n=l}return e}function nre(r,t,e){var a=r.getVisual("visualMeta");if(!(!a||!a.length||!r.count())&&t.type==="cartesian2d"){for(var i,n,o=a.length-1;o>=0;o--){var s=r.getDimensionInfo(a[o].dimension);if(i=s&&s.coordDim,i==="x"||i==="y"){n=a[o];break}}if(n){var l=t.getAxis(i),u=we(n.stops,function(_){return{coord:l.toGlobalCoord(l.dataToCoord(_.value)),color:_.color}}),v=u.length,h=n.outerColors.slice();v&&u[0].coord>u[v-1].coord&&(u.reverse(),h.reverse());var f=ire(u,i==="x"?e.getWidth():e.getHeight()),c=f.length;if(!c&&v)return u[0].coord<0?h[1]?h[1]:u[v-1].color:h[0]?h[0]:u[0].color;var d=10,p=f[0].coord-d,g=f[c-1].coord+d,m=g-p;if(m<.001)return"transparent";$(f,function(_){_.offset=(_.coord-p)/m}),f.push({offset:c?f[c-1].offset:.5,color:h[1]||"transparent"}),f.unshift({offset:c?f[0].offset:.5,color:h[0]||"transparent"});var y=new lu(0,0,0,0,f,!0);return y[i]=p,y[i+"2"]=g,y}}}function ore(r,t,e){var a=r.get("showAllSymbol"),i=a==="auto";if(!(a&&!i)){var n=e.getAxesByScale("ordinal")[0];if(n&&!(i&&sre(n,t))){var o=t.mapDimension(n.dim),s={};return $(n.getViewLabels(),function(l){var u=n.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(t.get(o,l))}}}}function sre(r,t){var e=r.getExtent(),a=Math.abs(e[1]-e[0])/r.scale.count();isNaN(a)&&(a=0);for(var i=t.count(),n=Math.max(1,Math.round(i/5)),o=0;oa)return!1;return!0}function lre(r,t){return isNaN(r)||isNaN(t)}function ure(r){for(var t=r.length/2;t>0&&lre(r[t*2-2],r[t*2-1]);t--);return t-1}function y2(r,t){return[r[t*2],r[t*2+1]]}function vre(r,t,e){for(var a=r.length/2,i=e==="x"?0:1,n,o,s=0,l=-1,u=0;u=t||n>=t&&o<=t){l=u;break}s=u,n=o}return{range:[s,l],t:(t-n)/(o-n)}}function L6(r){if(r.get(["endLabel","show"]))return!0;for(var t=0;t0&&e.get(["emphasis","lineStyle","width"])==="bolder"){var B=d.getState("emphasis").style;B.lineWidth=+d.style.lineWidth+1}Xe(d).seriesIndex=e.seriesIndex,tr(d,R,E,k);var F=m2(e.get("smooth")),V=e.get("smoothMonotone");if(d.setShape({smooth:F,smoothMonotone:V,connectNulls:w}),p){var N=s.getCalculationInfo("stackedOnSeries"),O=0;p.useStyle(Ue(u.getAreaStyle(),{fill:L,opacity:.7,lineJoin:"bevel",decal:s.getVisual("style").decal})),N&&(O=m2(N.get("smooth"))),p.setShape({smooth:F,stackedOnSmooth:O,smoothMonotone:V,connectNulls:w}),Vr(p,e,"areaStyle"),Xe(p).seriesIndex=e.seriesIndex,tr(p,R,E,k)}var z=this._changePolyState;s.eachItemGraphicEl(function(G){G&&(G.onHoverStateChange=z)}),this._polyline.onHoverStateChange=z,this._data=s,this._coordSys=n,this._stackedOnPoints=S,this._points=v,this._step=C,this._valueOrigin=_,e.get("triggerLineEvent")&&(this.packEventData(e,d),p&&this.packEventData(e,p))},t.prototype.packEventData=function(e,a){Xe(a).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},t.prototype.highlight=function(e,a,i,n){var o=e.getData(),s=Ds(o,n);if(this._changePolyState("emphasis"),!(s instanceof Array)&&s!=null&&s>=0){var l=o.getLayout("points"),u=o.getItemGraphicEl(s);if(!u){var v=l[s*2],h=l[s*2+1];if(isNaN(v)||isNaN(h)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(v,h))return;var f=e.get("zlevel")||0,c=e.get("z")||0;u=new Qh(o,s),u.x=v,u.y=h,u.setZ(f,c);var d=u.getSymbolPath().getTextContent();d&&(d.zlevel=f,d.z=c,d.z2=this._polyline.z2+1),u.__temp=!0,o.setItemGraphicEl(s,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else kt.prototype.highlight.call(this,e,a,i,n)},t.prototype.downplay=function(e,a,i,n){var o=e.getData(),s=Ds(o,n);if(this._changePolyState("normal"),s!=null&&s>=0){var l=o.getItemGraphicEl(s);l&&(l.__temp?(o.setItemGraphicEl(s,null),this.group.remove(l)):l.downplay())}else kt.prototype.downplay.call(this,e,a,i,n)},t.prototype._changePolyState=function(e){var a=this._polygon;Ld(this._polyline,e),a&&Ld(a,e)},t.prototype._newPolyline=function(e){var a=this._polyline;return a&&this._lineGroup.remove(a),a=new tre({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(a),this._polyline=a,a},t.prototype._newPolygon=function(e,a){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new C6({shape:{points:e,stackedOnPoints:a},segmentIgnoreThreshold:2}),this._lineGroup.add(i),this._polygon=i,i},t.prototype._initSymbolLabelAnimation=function(e,a,i){var n,o,s=a.getBaseAxis(),l=s.inverse;a.type==="cartesian2d"?(n=s.isHorizontal(),o=!1):a.type==="polar"&&(n=s.dim==="angle",o=!0);var u=e.hostModel,v=u.get("animationDuration");He(v)&&(v=v(null));var h=u.get("animationDelay")||0,f=He(h)?h(null):h;e.eachItemGraphicEl(function(c,d){var p=c;if(p){var g=[c.x,c.y],m=void 0,y=void 0,_=void 0;if(i)if(o){var x=i,S=a.pointToCoord(g);n?(m=x.startAngle,y=x.endAngle,_=-S[1]/180*Math.PI):(m=x.r0,y=x.r,_=S[0])}else{var b=i;n?(m=b.x,y=b.x+b.width,_=c.x):(m=b.y+b.height,y=b.y,_=c.y)}var w=y===m?0:(_-m)/(y-m);l&&(w=1-w);var A=He(h)?h(d):v*w+f,T=p.getSymbolPath(),C=T.getTextContent();p.attr({scaleX:0,scaleY:0}),p.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:A}),C&&C.animateFrom({style:{opacity:0}},{duration:300,delay:A}),T.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(e,a,i){var n=e.getModel("endLabel");if(L6(e)){var o=e.getData(),s=this._polyline,l=o.getLayout("points");if(!l){s.removeTextContent(),this._endLabel=null;return}var u=this._endLabel;u||(u=this._endLabel=new pt({z2:200}),u.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var v=ure(l);v>=0&&(Gr(s,Cr(e,"endLabel"),{inheritColor:i,labelFetcher:e,labelDataIndex:v,defaultText:function(h,f,c){return c!=null?b6(o,c):jl(o,h)},enableTextSetter:!0},hre(n,a)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,a,i,n,o,s,l){var u=this._endLabel,v=this._polyline;if(u){e<1&&n.originalX==null&&(n.originalX=u.x,n.originalY=u.y);var h=i.getLayout("points"),f=i.hostModel,c=f.get("connectNulls"),d=s.get("precision"),p=s.get("distance")||0,g=l.getBaseAxis(),m=g.isHorizontal(),y=g.inverse,_=a.shape,x=y?m?_.x:_.y+_.height:m?_.x+_.width:_.y,S=(m?p:0)*(y?-1:1),b=(m?0:-p)*(y?-1:1),w=m?"x":"y",A=vre(h,x,w),T=A.range,C=T[1]-T[0],M=void 0;if(C>=1){if(C>1&&!c){var L=y2(h,T[0]);u.attr({x:L[0]+S,y:L[1]+b}),o&&(M=f.getRawValue(T[0]))}else{var L=v.getPointOn(x,w);L&&u.attr({x:L[0]+S,y:L[1]+b});var D=f.getRawValue(T[0]),P=f.getRawValue(T[1]);o&&(M=Cq(i,d,D,P,A.t))}n.lastFrameIndex=T[0]}else{var I=e===1||n.lastFrameIndex>0?T[0]:0,L=y2(h,I);o&&(M=f.getRawValue(I)),u.attr({x:L[0]+S,y:L[1]+b})}if(o){var R=hu(u);typeof R.setLabelText=="function"&&R.setLabelText(M)}}},t.prototype._doUpdateAnimation=function(e,a,i,n,o,s,l){var u=this._polyline,v=this._polygon,h=e.hostModel,f=ere(this._data,e,this._stackedOnPoints,a,this._coordSys,i,this._valueOrigin),c=f.current,d=f.stackedOnCurrent,p=f.next,g=f.stackedOnNext;if(o&&(d=Bn(f.stackedOnCurrent,f.current,i,o,l),c=Bn(f.current,null,i,o,l),g=Bn(f.stackedOnNext,f.next,i,o,l),p=Bn(f.next,null,i,o,l)),g2(c,p)>3e3||v&&g2(d,g)>3e3){u.stopAnimation(),u.setShape({points:p}),v&&(v.stopAnimation(),v.setShape({points:p,stackedOnPoints:g}));return}u.shape.__points=f.current,u.shape.points=c;var m={shape:{points:p}};f.current!==c&&(m.shape.__points=f.next),u.stopAnimation(),wt(u,m,h),v&&(v.setShape({points:c,stackedOnPoints:d}),v.stopAnimation(),wt(v,{shape:{stackedOnPoints:g}},h),u.shape.points!==v.shape.points&&(v.shape.points=u.shape.points));for(var y=[],_=f.status,x=0;x<_.length;x++){var S=_[x].cmd;if(S==="="){var b=e.getItemGraphicEl(_[x].idx1);b&&y.push({el:b,ptIdx:x})}}u.animators&&u.animators.length&&u.animators[0].during(function(){v&&v.dirtyShape();for(var w=u.shape.__points,A=0;At&&(t=r[e]);return isFinite(t)?t:NaN},min:function(r){for(var t=1/0,e=0;e10&&o.type==="cartesian2d"&&n){var l=o.getBaseAxis(),u=o.getOtherAxis(l),v=l.getExtent(),h=a.getDevicePixelRatio(),f=Math.abs(v[1]-v[0])*(h||1),c=Math.round(s/f);if(isFinite(c)&&c>1){n==="lttb"?t.setData(i.lttbDownSample(i.mapDimension(u.dim),1/c)):n==="minmax"&&t.setData(i.minmaxDownSample(i.mapDimension(u.dim),1/c));var d=void 0;Re(n)?d=cre[n]:He(n)&&(d=n),d&&t.setData(i.downSample(i.mapDimension(u.dim),1/c,d,dre))}}}}}function pre(r){r.registerChartView(fre),r.registerSeriesModel(Kte),r.registerLayout(ef("line",!0)),r.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),a=t.getModel("lineStyle").getLineStyle();a&&!a.stroke&&(a.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",a)}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,I6("line"))}var Ah=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(e,a){return Qi(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(e,a,i){var n=this.coordinateSystem;if(n&&n.clampData){var o=n.clampData(e),s=n.dataToPoint(o);if(i)$(n.getAxes(),function(f,c){if(f.type==="category"&&a!=null){var d=f.getTicksCoords(),p=f.getTickModel().get("alignWithLabel"),g=o[c],m=a[c]==="x1"||a[c]==="y1";if(m&&!p&&(g+=1),d.length<2)return;if(d.length===2){s[c]=f.toGlobalCoord(f.getExtent()[m?1:0]);return}for(var y=void 0,_=void 0,x=1,S=0;Sg){_=(b+y)/2;break}S===1&&(x=w-d[0].tickValue)}_==null&&(y?y&&(_=d[d.length-1].coord):_=d[0].coord),s[c]=f.toGlobalCoord(_)}});else{var l=this.getData(),u=l.getLayout("offset"),v=l.getLayout("size"),h=n.getBaseAxis().isHorizontal()?0:1;s[h]+=u+v/2}return s}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t})(zt);zt.registerClass(Ah);var gre=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(){return Qi(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},t.prototype.getProgressiveThreshold=function(){var e=this.get("progressiveThreshold"),a=this.get("largeThreshold");return a>e&&(e=a),e},t.prototype.brushSelector=function(e,a,i){return i.rect(a.getItemLayout(e))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=go(Ah.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t})(Ah),mre=(function(){function r(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return r})(),Xd=(function(r){he(t,r);function t(e){var a=r.call(this,e)||this;return a.type="sausage",a}return t.prototype.getDefaultShape=function(){return new mre},t.prototype.buildPath=function(e,a){var i=a.cx,n=a.cy,o=Math.max(a.r0||0,0),s=Math.max(a.r,0),l=(s-o)*.5,u=o+l,v=a.startAngle,h=a.endAngle,f=a.clockwise,c=Math.PI*2,d=f?h-vMath.PI/2&&vs)return!0;s=h}return!1},t.prototype._isOrderDifferentInView=function(e,a){for(var i=a.scale,n=i.getExtent(),o=Math.max(0,n[0]),s=Math.min(n[1],i.getOrdinalMeta().categories.length-1);o<=s;++o)if(e.ordinalNumbers[o]!==i.getRawOrdinalNumber(o))return!0},t.prototype._updateSortWithinSameData=function(e,a,i,n){if(this._isOrderChangedWithinSameData(e,a,i)){var o=this._dataSort(e,i,a);this._isOrderDifferentInView(o,i)&&(this._removeOnRenderedListener(n),n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",axisId:i.index,sortInfo:o}))}},t.prototype._dispatchInitSort=function(e,a,i){var n=a.baseAxis,o=this._dataSort(e,n,function(s){return e.get(e.mapDimension(a.otherAxis.dim),s)});i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",isInitSort:!0,axisId:n.index,sortInfo:o})},t.prototype.remove=function(e,a){this._clear(this._model),this._removeOnRenderedListener(a)},t.prototype.dispose=function(e,a){this._removeOnRenderedListener(a)},t.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(e){var a=this.group,i=this._data;e&&e.isAnimationEnabled()&&i&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],i.eachItemGraphicEl(function(n){mh(n,e,Xe(n).dataIndex)})):a.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t})(kt),_2={cartesian2d:function(r,t){var e=t.width<0?-1:1,a=t.height<0?-1:1;e<0&&(t.x+=t.width,t.width=-t.width),a<0&&(t.y+=t.height,t.height=-t.height);var i=r.x+r.width,n=r.y+r.height,o=Gm(t.x,r.x),s=Fm(t.x+t.width,i),l=Gm(t.y,r.y),u=Fm(t.y+t.height,n),v=si?s:o,t.y=h&&l>n?u:l,t.width=v?0:s-o,t.height=h?0:u-l,e<0&&(t.x+=t.width,t.width=-t.width),a<0&&(t.y+=t.height,t.height=-t.height),v||h},polar:function(r,t){var e=t.r0<=t.r?1:-1;if(e<0){var a=t.r;t.r=t.r0,t.r0=a}var i=Fm(t.r,r.r),n=Gm(t.r0,r.r0);t.r=i,t.r0=n;var o=i-n<0;if(e<0){var a=t.r;t.r=t.r0,t.r0=a}return o}},x2={cartesian2d:function(r,t,e,a,i,n,o,s,l){var u=new gt({shape:_e({},a),z2:1});if(u.__dataIndex=e,u.name="item",n){var v=u.shape,h=i?"height":"width";v[h]=0}return u},polar:function(r,t,e,a,i,n,o,s,l){var u=!i&&l?Xd:Qr,v=new u({shape:a,z2:1});v.name="item";var h=P6(i);if(v.calculateTextPosition=yre(h,{isRoundCap:u===Xd}),n){var f=v.shape,c=i?"r":"endAngle",d={};f[c]=i?a.r0:a.startAngle,d[c]=a[c],(s?wt:$t)(v,{shape:d},n)}return v}};function bre(r,t){var e=r.get("realtimeSort",!0),a=t.getBaseAxis();if(e&&a.type==="category"&&t.type==="cartesian2d")return{baseAxis:a,otherAxis:t.getOtherAxis(a)}}function S2(r,t,e,a,i,n,o,s){var l,u;n?(u={x:a.x,width:a.width},l={y:a.y,height:a.height}):(u={y:a.y,height:a.height},l={x:a.x,width:a.width}),s||(o?wt:$t)(e,{shape:l},t,i,null);var v=t?r.baseAxis.model:null;(o?wt:$t)(e,{shape:u},v,i)}function b2(r,t){for(var e=0;e0?1:-1,o=a.height>0?1:-1;return{x:a.x+n*i/2,y:a.y+o*i/2,width:a.width-n*i,height:a.height-o*i}},polar:function(r,t,e){var a=r.getItemLayout(t);return{cx:a.cx,cy:a.cy,r0:a.r0,r:a.r,startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}}};function Are(r){return r.startAngle!=null&&r.endAngle!=null&&r.startAngle===r.endAngle}function P6(r){return(function(t){var e=t?"Arc":"Angle";return function(a){switch(a){case"start":case"insideStart":case"end":case"insideEnd":return a+e;default:return a}}})(r)}function T2(r,t,e,a,i,n,o,s){var l=t.getItemVisual(e,"style");if(s){if(!n.get("roundCap")){var v=r.shape,h=ys(a.getModel("itemStyle"),v,!0);_e(v,h),r.setShape(v)}}else{var u=a.get(["itemStyle","borderRadius"])||0;r.setShape("r",u)}r.useStyle(l);var f=a.getShallow("cursor");f&&r.attr("cursor",f);var c=s?o?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":o?i.height>=0?"bottom":"top":i.width>=0?"right":"left",d=Cr(a);Gr(r,d,{labelFetcher:n,labelDataIndex:e,defaultText:jl(n.getData(),e),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:c});var p=r.getTextContent();if(s&&p){var g=a.get(["label","position"]);r.textConfig.inside=g==="middle"?!0:null,_re(r,g==="outside"?c:g,P6(o),a.get(["label","rotate"]))}vW(p,d,n.getRawValue(e),function(y){return b6(t,y)});var m=a.getModel(["emphasis"]);tr(r,m.get("focus"),m.get("blurScope"),m.get("disabled")),Vr(r,a),Are(i)&&(r.style.fill="none",r.style.stroke="none",$(r.states,function(y){y.style&&(y.style.fill=y.style.stroke="none")}))}function Cre(r,t){var e=r.get(["itemStyle","borderColor"]);if(!e||e==="none")return 0;var a=r.get(["itemStyle","borderWidth"])||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),n=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(a,i,n)}var Mre=(function(){function r(){}return r})(),A2=(function(r){he(t,r);function t(e){var a=r.call(this,e)||this;return a.type="largeBar",a}return t.prototype.getDefaultShape=function(){return new Mre},t.prototype.buildPath=function(e,a){for(var i=a.points,n=this.baseDimIdx,o=1-this.baseDimIdx,s=[],l=[],u=this.barWidth,v=0;v=0?e:null},30,!1);function Dre(r,t,e){for(var a=r.baseDimIdx,i=1-a,n=r.shape.points,o=r.largeDataIndices,s=[],l=[],u=r.barWidth,v=0,h=n.length/3;v=s[0]&&t<=s[0]+l[0]&&e>=s[1]&&e<=s[1]+l[1])return o[v]}return-1}function R6(r,t,e){if(Fs(e,"cartesian2d")){var a=t,i=e.getArea();return{x:r?a.x:i.x,y:r?i.y:a.y,width:r?a.width:i.width,height:r?i.height:a.height}}else{var i=e.getArea(),n=t;return{cx:i.cx,cy:i.cy,r0:r?i.r0:n.r0,r:r?i.r:n.r,startAngle:r?n.startAngle:0,endAngle:r?n.endAngle:Math.PI*2}}}function Lre(r,t,e){var a=r.type==="polar"?Qr:gt;return new a({shape:R6(t,e,r),silent:!0,z2:0})}function Ire(r){r.registerChartView(Sre),r.registerSeriesModel(gre),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,et(QU,"bar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,jU("bar")),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,I6("bar")),r.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,e){var a=t.componentType||"series";e.eachComponent({mainType:a,query:t},function(i){t.sortInfo&&i.axis.setCategorySortInfo(t.sortInfo)})})}var D2=Math.PI*2,sc=Math.PI/180;function E6(r,t){return dr(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function k6(r,t){var e=E6(r,t),a=r.get("center"),i=r.get("radius");Se(i)||(i=[0,i]);var n=Ie(e.width,t.getWidth()),o=Ie(e.height,t.getHeight()),s=Math.min(n,o),l=Ie(i[0],s/2),u=Ie(i[1],s/2),v,h,f=r.coordinateSystem;if(f){var c=f.dataToPoint(a);v=c[0]||0,h=c[1]||0}else Se(a)||(a=[a,a]),v=Ie(a[0],n)+e.x,h=Ie(a[1],o)+e.y;return{cx:v,cy:h,r0:l,r:u}}function Pre(r,t,e){t.eachSeriesByType(r,function(a){var i=a.getData(),n=i.mapDimension("value"),o=E6(a,e),s=k6(a,e),l=s.cx,u=s.cy,v=s.r,h=s.r0,f=-a.get("startAngle")*sc,c=a.get("endAngle"),d=a.get("padAngle")*sc;c=c==="auto"?f-D2:-c*sc;var p=a.get("minAngle")*sc,g=p+d,m=0;i.each(n,function(E){!isNaN(E)&&m++});var y=i.getSum(n),_=Math.PI/(y||m)*2,x=a.get("clockwise"),S=a.get("roseType"),b=a.get("stillShowZeroSum"),w=i.getDataExtent(n);w[0]=0;var A=x?1:-1,T=[f,c],C=A*d/2;XA(T,!x),f=T[0],c=T[1];var M=O6(a);M.startAngle=f,M.endAngle=c,M.clockwise=x;var L=Math.abs(c-f),D=L,P=0,I=f;if(i.setLayout({viewRect:o,r:v}),i.each(n,function(E,k){var B;if(isNaN(E)){i.setItemLayout(k,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:x,cx:l,cy:u,r0:h,r:S?NaN:v});return}S!=="area"?B=y===0&&b?_:E*_:B=L/m,BB?(V=I+A*B/2,N=V):(V=I+C,N=F-C),i.setItemLayout(k,{angle:B,startAngle:V,endAngle:N,clockwise:x,cx:l,cy:u,r0:h,r:S?Pt(E,w,[h,v]):v}),I=F}),De?m:g,S=Math.abs(_.label.y-e);if(S>=x.maxY){var b=_.label.x-t-_.len2*i,w=a+_.len,A=Math.abs(b)r.unconstrainedWidth?null:c:null;a.setStyle("width",d)}var p=a.getBoundingRect();n.width=p.width;var g=(a.style.margin||0)+2.1;n.height=p.height+g,n.y-=(n.height-h)/2}}}function Hm(r){return r.position==="center"}function kre(r){var t=r.getData(),e=[],a,i,n=!1,o=(r.get("minShowLabelAngle")||0)*Rre,s=t.getLayout("viewRect"),l=t.getLayout("r"),u=s.width,v=s.x,h=s.y,f=s.height;function c(b){b.ignore=!0}function d(b){if(!b.ignore)return!0;for(var w in b.states)if(b.states[w].ignore===!1)return!0;return!1}t.each(function(b){var w=t.getItemGraphicEl(b),A=w.shape,T=w.getTextContent(),C=w.getTextGuideLine(),M=t.getItemModel(b),L=M.getModel("label"),D=L.get("position")||M.get(["emphasis","label","position"]),P=L.get("distanceToLabelLine"),I=L.get("alignTo"),R=Ie(L.get("edgeDistance"),u),E=L.get("bleedMargin"),k=M.getModel("labelLine"),B=k.get("length");B=Ie(B,u);var F=k.get("length2");if(F=Ie(F,u),Math.abs(A.endAngle-A.startAngle)0?"right":"left":N>0?"left":"right"}var te=Math.PI,Z=0,ee=L.get("rotate");if(bt(ee))Z=ee*(te/180);else if(D==="center")Z=0;else if(ee==="radial"||ee===!0){var le=N<0?-V+te:-V;Z=le}else if(ee==="tangential"&&D!=="outside"&&D!=="outer"){var oe=Math.atan2(N,O);oe<0&&(oe=te*2+oe);var fe=O>0;fe&&(oe=te+oe),Z=oe-te}if(n=!!Z,T.x=z,T.y=G,T.rotation=Z,T.setStyle({verticalAlign:"middle"}),U){T.setStyle({align:H});var ye=T.states.select;ye&&(ye.x+=T.x,ye.y+=T.y)}else{var se=T.getBoundingRect().clone();se.applyTransform(T.getComputedTransform());var ve=(T.style.margin||0)+2.1;se.y-=ve/2,se.height+=ve,e.push({label:T,labelLine:C,position:D,len:B,len2:F,minTurnAngle:k.get("minTurnAngle"),maxSurfaceAngle:k.get("maxSurfaceAngle"),surfaceNormal:new rt(N,O),linePoints:q,textAlign:H,labelDistance:P,labelAlignTo:I,edgeDistance:R,bleedMargin:E,rect:se,unconstrainedWidth:se.width,labelStyleWidth:T.style.width})}w.setTextConfig({inside:U})}}),!n&&r.get("avoidLabelOverlap")&&Ere(e,a,i,l,u,f,v,h);for(var p=0;p0){for(var v=o.getItemLayout(0),h=1;isNaN(v&&v.startAngle)&&h=n.r0}},t.type="pie",t})(kt);function bu(r,t,e){t=Se(t)&&{coordDimensions:t}||_e({encodeDefine:r.getEncode()},t);var a=r.getSource(),i=_u(a,t).dimensions,n=new Xr(i,r);return n.initData(a,e),n}var rf=(function(){function r(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return r.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},r.prototype.containName=function(t){var e=this._getRawData();return e.indexOfName(t)>=0},r.prototype.indexOfName=function(t){var e=this._getDataWithEncodedVisual();return e.indexOfName(t)},r.prototype.getItemVisual=function(t,e){var a=this._getDataWithEncodedVisual();return a.getItemVisual(t,e)},r})(),zre=yt(),Bre=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.init=function(e){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new rf(Ne(this.getData,this),Ne(this.getRawData,this)),this._defaultLabelLine(e)},t.prototype.mergeOption=function(){r.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return bu(this,{coordDimensions:["value"],encodeDefaulter:et(yC,this)})},t.prototype.getDataParams=function(e){var a=this.getData(),i=zre(a),n=i.seats;if(!n){var o=[];a.each(a.mapDimension("value"),function(l){o.push(l)}),n=i.seats=mq(o,a.hostModel.get("percentPrecision"))}var s=r.prototype.getDataParams.call(this,e);return s.percent=n[e]||0,s.$vars.push("percent"),s},t.prototype._defaultLabelLine=function(e){Ms(e,"labelLine",["show"]);var a=e.labelLine,i=e.emphasis.labelLine;a.show=a.show&&e.label.show,i.show=i.show&&e.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t})(zt);function Vre(r){return{seriesType:r,reset:function(t,e){var a=t.getData();a.filterSelf(function(i){var n=a.mapDimension("value"),o=a.get(n,i);return!(bt(o)&&!isNaN(o)&&o<0)})}}}function Gre(r){r.registerChartView(Nre),r.registerSeriesModel(Bre),cU("pie",r.registerAction),r.registerLayout(et(Pre,"pie")),r.registerProcessor(tf("pie")),r.registerProcessor(Vre("pie"))}var Fre=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return t.prototype.getInitialData=function(e,a){return Qi(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var e=this.option.progressive;return e==null?this.option.large?5e3:this.get("progressive"):e},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return e==null?this.option.large?1e4:this.get("progressiveThreshold"):e},t.prototype.brushSelector=function(e,a,i){return i.point(a.getItemLayout(e))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},t})(zt),z6=4,Hre=(function(){function r(){}return r})(),qre=(function(r){he(t,r);function t(e){var a=r.call(this,e)||this;return a._off=0,a.hoverDataIdx=-1,a}return t.prototype.getDefaultShape=function(){return new Hre},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(e,a){var i=a.points,n=a.size,o=this.symbolProxy,s=o.shape,l=e.getContext?e.getContext():e,u=l&&n[0]=0;u--){var v=u*2,h=n[v]-s/2,f=n[v+1]-l/2;if(e>=h&&a>=f&&e<=h+s&&a<=f+l)return u}return-1},t.prototype.contain=function(e,a){var i=this.transformCoordToLocal(e,a),n=this.getBoundingRect();if(e=i[0],a=i[1],n.contain(e,a)){var o=this.hoverDataIdx=this.findDataIndex(e,a);return o>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var a=this.shape,i=a.points,n=a.size,o=n[0],s=n[1],l=1/0,u=1/0,v=-1/0,h=-1/0,f=0;f=0&&(u.dataIndex=h+(t.startIndex||0))})},r.prototype.remove=function(){this._clear()},r.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},r})(),Ure=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,a,i){var n=e.getData(),o=this._updateSymbolDraw(n,e);o.updateData(n,{clipShape:this._getClipShape(e)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(e,a,i){var n=e.getData(),o=this._updateSymbolDraw(n,e);o.incrementalPrepareUpdate(n),this._finished=!1},t.prototype.incrementalRender=function(e,a,i){this._symbolDraw.incrementalUpdate(e,a.getData(),{clipShape:this._getClipShape(a)}),this._finished=e.end===a.getData().count()},t.prototype.updateTransform=function(e,a,i){var n=e.getData();if(this.group.dirty(),!this._finished||n.count()>1e4)return{update:!0};var o=ef("").reset(e,a,i);o.progress&&o.progress({start:0,end:n.count(),count:n.count()},n),this._symbolDraw.updateLayout(n)},t.prototype.eachRendered=function(e){this._symbolDraw&&this._symbolDraw.eachRendered(e)},t.prototype._getClipShape=function(e){if(e.get("clip",!0)){var a=e.coordinateSystem;return a&&a.getArea&&a.getArea(.1)}},t.prototype._updateSymbolDraw=function(e,a){var i=this._symbolDraw,n=a.pipelineContext,o=n.large;return(!i||o!==this._isLargeDraw)&&(i&&i.remove(),i=this._symbolDraw=o?new Wre:new jh,this._isLargeDraw=o,this.group.removeAll()),this.group.add(i.group),i},t.prototype.remove=function(e,a){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t})(kt),$re=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},t})(ut),NT=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",cr).models[0]},t.type="cartesian2dAxis",t})(ut);nr(NT,Su);var B6={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},Yre=tt({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},B6),$C=tt({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},B6),Zre=tt({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},$C),Xre=Ue({logBase:10},$C);const V6={category:Yre,value:$C,time:Zre,log:Xre};var Kre={value:1,category:1,time:1,log:1};function Jl(r,t,e,a){$(Kre,function(i,n){var o=tt(tt({},V6[n],!0),a,!0),s=(function(l){he(u,l);function u(){var v=l!==null&&l.apply(this,arguments)||this;return v.type=t+"Axis."+n,v}return u.prototype.mergeDefaultAndTheme=function(v,h){var f=_h(this),c=f?cu(v):{},d=h.getTheme();tt(v,d.get(n+"Axis")),tt(v,this.getDefaultOption()),v.type=I2(v),f&&uo(v,c,f)},u.prototype.optionUpdated=function(){var v=this.option;v.type==="category"&&(this.__ordinalMeta=PT.createByAxisModel(this))},u.prototype.getCategories=function(v){var h=this.option;if(h.type==="category")return v?h.data:this.__ordinalMeta.categories},u.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},u.type=t+"Axis."+n,u.defaultOption=o,u})(e);r.registerComponentModel(s)}),r.registerSubTypeDefaulter(t+"Axis",I2)}function I2(r){return r.type||(r.data?"category":"value")}var Qre=(function(){function r(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return r.prototype.getAxis=function(t){return this._axes[t]},r.prototype.getAxes=function(){return we(this._dimList,function(t){return this._axes[t]},this)},r.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),Ct(this.getAxes(),function(e){return e.scale.type===t})},r.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},r})(),zT=["x","y"];function P2(r){return r.type==="interval"||r.type==="time"}var jre=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=zT,e}return t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e=this.getAxis("x").scale,a=this.getAxis("y").scale;if(!(!P2(e)||!P2(a))){var i=e.getExtent(),n=a.getExtent(),o=this.dataToPoint([i[0],n[0]]),s=this.dataToPoint([i[1],n[1]]),l=i[1]-i[0],u=n[1]-n[0];if(!(!l||!u)){var v=(s[0]-o[0])/l,h=(s[1]-o[1])/u,f=o[0]-i[0]*v,c=o[1]-n[0]*h,d=this._transform=[v,0,0,h,f,c];this._invTransform=Ns([],d)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(e){var a=this.getAxis("x"),i=this.getAxis("y");return a.contain(a.toLocalCoord(e[0]))&&i.contain(i.toLocalCoord(e[1]))},t.prototype.containData=function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},t.prototype.containZone=function(e,a){var i=this.dataToPoint(e),n=this.dataToPoint(a),o=this.getArea(),s=new at(i[0],i[1],n[0]-i[0],n[1]-i[1]);return o.intersect(s)},t.prototype.dataToPoint=function(e,a,i){i=i||[];var n=e[0],o=e[1];if(this._transform&&n!=null&&isFinite(n)&&o!=null&&isFinite(o))return Or(i,e,this._transform);var s=this.getAxis("x"),l=this.getAxis("y");return i[0]=s.toGlobalCoord(s.dataToCoord(n,a)),i[1]=l.toGlobalCoord(l.dataToCoord(o,a)),i},t.prototype.clampData=function(e,a){var i=this.getAxis("x").scale,n=this.getAxis("y").scale,o=i.getExtent(),s=n.getExtent(),l=i.parse(e[0]),u=n.parse(e[1]);return a=a||[],a[0]=Math.min(Math.max(Math.min(o[0],o[1]),l),Math.max(o[0],o[1])),a[1]=Math.min(Math.max(Math.min(s[0],s[1]),u),Math.max(s[0],s[1])),a},t.prototype.pointToData=function(e,a){var i=[];if(this._invTransform)return Or(i,e,this._invTransform);var n=this.getAxis("x"),o=this.getAxis("y");return i[0]=n.coordToData(n.toLocalCoord(e[0]),a),i[1]=o.coordToData(o.toLocalCoord(e[1]),a),i},t.prototype.getOtherAxis=function(e){return this.getAxis(e.dim==="x"?"y":"x")},t.prototype.getArea=function(e){e=e||0;var a=this.getAxis("x").getGlobalExtent(),i=this.getAxis("y").getGlobalExtent(),n=Math.min(a[0],a[1])-e,o=Math.min(i[0],i[1])-e,s=Math.max(a[0],a[1])-n+e,l=Math.max(i[0],i[1])-o+e;return new at(n,o,s,l)},t})(Qre),Jre=(function(r){he(t,r);function t(e,a,i,n,o){var s=r.call(this,e,a,i)||this;return s.index=0,s.type=n||"value",s.position=o||"bottom",s}return t.prototype.isHorizontal=function(){var e=this.position;return e==="top"||e==="bottom"},t.prototype.getGlobalExtent=function(e){var a=this.getExtent();return a[0]=this.toGlobalCoord(a[0]),a[1]=this.toGlobalCoord(a[1]),e&&a[0]>a[1]&&a.reverse(),a},t.prototype.pointToData=function(e,a){return this.coordToData(this.toLocalCoord(e[this.dim==="x"?0:1]),a)},t.prototype.setCategorySortInfo=function(e){if(this.type!=="category")return!1;this.model.option.categorySortInfo=e,this.scale.setSortInfo(e)},t})(Ja);function BT(r,t,e){e=e||{};var a=r.coordinateSystem,i=t.axis,n={},o=i.getAxesOnZeroOf()[0],s=i.position,l=o?"onZero":s,u=i.dim,v=a.getRect(),h=[v.x,v.x+v.width,v.y,v.y+v.height],f={left:0,right:1,top:0,bottom:1,onZero:2},c=t.get("offset")||0,d=u==="x"?[h[2]-c,h[3]+c]:[h[0]-c,h[1]+c];if(o){var p=o.toGlobalCoord(o.dataToCoord(0));d[f.onZero]=Math.max(Math.min(p,d[1]),d[0])}n.position=[u==="y"?d[f[l]]:h[0],u==="x"?d[f[l]]:h[3]],n.rotation=Math.PI/2*(u==="x"?0:1);var g={top:-1,bottom:1,left:-1,right:1};n.labelDirection=n.tickDirection=n.nameDirection=g[s],n.labelOffset=o?d[f[s]]-d[f.onZero]:0,t.get(["axisTick","inside"])&&(n.tickDirection=-n.tickDirection),wr(e.labelInside,t.get(["axisLabel","inside"]))&&(n.labelDirection=-n.labelDirection);var m=t.get(["axisLabel","rotate"]);return n.labelRotate=l==="top"?-m:m,n.z2=1,n}function R2(r){return r.get("coordinateSystem")==="cartesian2d"}function E2(r){var t={xAxisModel:null,yAxisModel:null};return $(t,function(e,a){var i=a.replace(/Model$/,""),n=r.getReferringComponents(i,cr).models[0];t[a]=n}),t}var qm=Math.log;function G6(r,t,e){var a=Tn.prototype,i=a.getTicks.call(e),n=a.getTicks.call(e,!0),o=i.length-1,s=a.getInterval.call(e),l=a6(r,t),u=l.extent,v=l.fixMin,h=l.fixMax;if(r.type==="log"){var f=qm(r.base);u=[qm(u[0])/f,qm(u[1])/f]}r.setExtent(u[0],u[1]),r.calcNiceExtent({splitNumber:o,fixMin:v,fixMax:h});var c=a.getExtent.call(r);v&&(u[0]=c[0]),h&&(u[1]=c[1]);var d=a.getInterval.call(r),p=u[0],g=u[1];if(v&&h)d=(g-p)/o;else if(v)for(g=u[0]+d*o;gu[0]&&isFinite(p)&&isFinite(u[0]);)d=Rm(d),p=u[1]-d*o;else{var m=r.getTicks().length-1;m>o&&(d=Rm(d));var y=d*o;g=Math.ceil(u[1]/d)*d,p=ar(g-y),p<0&&u[0]>=0?(p=0,g=ar(y)):g>0&&u[1]<=0&&(g=0,p=-ar(y))}var _=(i[0].value-n[0].value)/s,x=(i[o].value-n[o].value)/s;a.setExtent.call(r,p+d*_,g+d*x),a.setInterval.call(r,d),(_||x)&&a.setNiceExtent.call(r,p+d,g-d)}var eae=(function(){function r(t,e,a){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=zT,this._initCartesian(t,e,a),this.model=t}return r.prototype.getRect=function(){return this._rect},r.prototype.update=function(t,e){var a=this._axesMap;this._updateScale(t,this.model);function i(o){var s,l=ft(o),u=l.length;if(u){for(var v=[],h=u-1;h>=0;h--){var f=+l[h],c=o[f],d=c.model,p=c.scale;RT(p)&&d.get("alignTicks")&&d.get("interval")==null?v.push(c):(Rs(p,d),RT(p)&&(s=c))}v.length&&(s||(s=v.pop(),Rs(s.scale,s.model)),$(v,function(g){G6(g.scale,g.model,s.scale)}))}}i(a.x),i(a.y);var n={};$(a.x,function(o){k2(a,"y",o,n)}),$(a.y,function(o){k2(a,"x",o,n)}),this.resize(this.model,e)},r.prototype.resize=function(t,e,a){var i=t.getBoxLayoutParams(),n=!a&&t.get("containLabel"),o=dr(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var s=this._axesList;l(),n&&($(s,function(u){if(!u.model.get(["axisLabel","inside"])){var v=nte(u);if(v){var h=u.isHorizontal()?"height":"width",f=u.model.get(["axisLabel","margin"]);o[h]-=v[h]+f,u.position==="top"?o.y+=v.height+f:u.position==="left"&&(o.x+=v.width+f)}}}),l()),$(this._coordsList,function(u){u.calcAffineTransform()});function l(){$(s,function(u){var v=u.isHorizontal(),h=v?[0,o.width]:[0,o.height],f=u.inverse?1:0;u.setExtent(h[f],h[1-f]),tae(u,v?o.x:o.y)})}},r.prototype.getAxis=function(t,e){var a=this._axesMap[t];if(a!=null)return a[e||0]},r.prototype.getAxes=function(){return this._axesList.slice()},r.prototype.getCartesian=function(t,e){if(t!=null&&e!=null){var a="x"+t+"y"+e;return this._coordsMap[a]}$e(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,n=this._coordsList;i0?"top":"bottom",n="center"):Yl(i-Kn)?(o=a>0?"bottom":"top",n="center"):(o="middle",i>0&&i0?"right":"left":n=a>0?"left":"right"),{rotation:i,textAlign:n,textVerticalAlign:o}},r.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},r.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},r})(),N2={axisLine:function(r,t,e,a){var i=t.get(["axisLine","show"]);if(i==="auto"&&r.handleAutoShown&&(i=r.handleAutoShown("axisLine")),!!i){var n=t.axis.getExtent(),o=a.transform,s=[n[0],0],l=[n[1],0],u=s[0]>l[0];o&&(Or(s,s,o),Or(l,l,o));var v=_e({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),h=new xr({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:v,strokeContainThreshold:r.strokeContainThreshold||5,silent:!0,z2:1});Xl(h.shape,h.style.lineWidth),h.anid="line",e.add(h);var f=t.get(["axisLine","symbol"]);if(f!=null){var c=t.get(["axisLine","symbolSize"]);Re(f)&&(f=[f,f]),(Re(c)||bt(c))&&(c=[c,c]);var d=Gs(t.get(["axisLine","symbolOffset"])||0,c),p=c[0],g=c[1];$([{rotate:r.rotation+Math.PI/2,offset:d[0],r:0},{rotate:r.rotation-Math.PI/2,offset:d[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],function(m,y){if(f[y]!=="none"&&f[y]!=null){var _=lr(f[y],-p/2,-g/2,p,g,v.stroke,!0),x=m.r+m.offset,S=u?l:s;_.attr({rotation:m.rotate,x:S[0]+x*Math.cos(r.rotation),y:S[1]-x*Math.sin(r.rotation),silent:!0,z2:11}),e.add(_)}})}}},axisTickLabel:function(r,t,e,a){var i=iae(e,a,t,r),n=oae(e,a,t,r);if(aae(t,n,i),nae(e,a,t,r.tickDirection),t.get(["axisLabel","hideOverlap"])){var o=m6(we(n,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));x6(o)}},axisName:function(r,t,e,a){var i=wr(r.axisName,t.get("name"));if(i){var n=t.get("nameLocation"),o=r.nameDirection,s=t.getModel("nameTextStyle"),l=t.get("nameGap")||0,u=t.axis.getExtent(),v=u[0]>u[1]?-1:1,h=[n==="start"?u[0]-v*l:n==="end"?u[1]+v*l:(u[0]+u[1])/2,B2(n)?r.labelOffset+o*l:0],f,c=t.get("nameRotate");c!=null&&(c=c*Kn/180);var d;B2(n)?f=la.innerTextLayout(r.rotation,c!=null?c:r.rotation,o):(f=rae(r.rotation,n,c||0,u),d=r.axisNameAvailableWidth,d!=null&&(d=Math.abs(d/Math.sin(f.rotation)),!isFinite(d)&&(d=null)));var p=s.getFont(),g=t.get("nameTruncate",!0)||{},m=g.ellipsis,y=wr(r.nameTruncateMaxWidth,g.maxWidth,d),_=new pt({x:h[0],y:h[1],rotation:f.rotation,silent:la.isLabelSilent(t),style:Ht(s,{text:i,font:p,overflow:"truncate",width:y,ellipsis:m,fill:s.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:s.get("align")||f.textAlign,verticalAlign:s.get("verticalAlign")||f.textVerticalAlign}),z2:1});if(zs({el:_,componentModel:t,itemName:i}),_.__fullText=i,_.anid="name",t.get("triggerEvent")){var x=la.makeAxisEventDataBase(t);x.targetType="axisName",x.name=i,Xe(_).eventData=x}a.add(_),_.updateTransform(),e.add(_),_.decomposeTransform()}}};function rae(r,t,e,a){var i=HA(e-r),n,o,s=a[0]>a[1],l=t==="start"&&!s||t!=="start"&&s;return Yl(i-Kn/2)?(o=l?"bottom":"top",n="center"):Yl(i-Kn*1.5)?(o=l?"top":"bottom",n="center"):(o="middle",iKn/2?n=l?"left":"right":n=l?"right":"left"),{rotation:i,textAlign:n,textVerticalAlign:o}}function aae(r,t,e){if(!i6(r.axis)){var a=r.get(["axisLabel","showMinLabel"]),i=r.get(["axisLabel","showMaxLabel"]);t=t||[],e=e||[];var n=t[0],o=t[1],s=t[t.length-1],l=t[t.length-2],u=e[0],v=e[1],h=e[e.length-1],f=e[e.length-2];a===!1?(Ra(n),Ra(u)):z2(n,o)&&(a?(Ra(o),Ra(v)):(Ra(n),Ra(u))),i===!1?(Ra(s),Ra(h)):z2(l,s)&&(i?(Ra(l),Ra(f)):(Ra(s),Ra(h)))}}function Ra(r){r&&(r.ignore=!0)}function z2(r,t){var e=r&&r.getBoundingRect().clone(),a=t&&t.getBoundingRect().clone();if(!(!e||!a)){var i=Vh([]);return co(i,i,-r.rotation),e.applyTransform(Wi([],i,r.getLocalTransform())),a.applyTransform(Wi([],i,t.getLocalTransform())),e.intersect(a)}}function B2(r){return r==="middle"||r==="center"}function F6(r,t,e,a,i){for(var n=[],o=[],s=[],l=0;l=0||r===t}function fae(r){var t=YC(r);if(t){var e=t.axisPointerModel,a=t.axis.scale,i=e.option,n=e.get("status"),o=e.get("value");o!=null&&(o=a.parse(o));var s=VT(e);n==null&&(i.status=s?"show":"hide");var l=a.getExtent().slice();l[0]>l[1]&&l.reverse(),(o==null||o>l[1])&&(o=l[1]),o0&&!d.min?d.min=0:d.min!=null&&d.min<0&&!d.max&&(d.max=0);var p=l;d.color!=null&&(p=Ue({color:d.color},l));var g=tt(Ye(d),{boundaryGap:e,splitNumber:a,scale:i,axisLine:n,axisTick:o,axisLabel:s,name:d.text,showName:u,nameLocation:"end",nameGap:h,nameTextStyle:p,triggerEvent:f},!1);if(Re(v)){var m=g.name;g.name=v.replace("{value}",m!=null?m:"")}else He(v)&&(g.name=v(g.name,g));var y=new Mt(g,null,this.ecModel);return nr(y,Su.prototype),y.mainType="radar",y.componentIndex=this.componentIndex,y},this);this._indicatorModels=c},t.prototype.getIndicatorModels=function(){return this._indicatorModels},t.type="radar",t.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:tt({lineStyle:{color:"#bbb"}},Ju.axisLine),axisLabel:lc(Ju.axisLabel,!1),axisTick:lc(Ju.axisTick,!1),splitLine:lc(Ju.splitLine,!0),splitArea:lc(Ju.splitArea,!0),indicator:[]},t})(ut),Aae=["axisLine","axisTickLabel","axisName"],Cae=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,a,i){var n=this.group;n.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},t.prototype._buildAxes=function(e){var a=e.coordinateSystem,i=a.getIndicatorAxes(),n=we(i,function(o){var s=o.model.get("showName")?o.name:"",l=new la(o.model,{axisName:s,position:[a.cx,a.cy],rotation:o.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return l});$(n,function(o){$(Aae,o.add,o),this.group.add(o.getGroup())},this)},t.prototype._buildSplitLineAndArea=function(e){var a=e.coordinateSystem,i=a.getIndicatorAxes();if(!i.length)return;var n=e.get("shape"),o=e.getModel("splitLine"),s=e.getModel("splitArea"),l=o.getModel("lineStyle"),u=s.getModel("areaStyle"),v=o.get("show"),h=s.get("show"),f=l.get("color"),c=u.get("color"),d=Se(f)?f:[f],p=Se(c)?c:[c],g=[],m=[];function y(I,R,E){var k=E%R.length;return I[k]=I[k]||[],k}if(n==="circle")for(var _=i[0].getTicksCoords(),x=a.cx,S=a.cy,b=0;b<_.length;b++){if(v){var w=y(g,d,b);g[w].push(new Xi({shape:{cx:x,cy:S,r:_[b].coord}}))}if(h&&b<_.length-1){var w=y(m,p,b);m[w].push(new ou({shape:{cx:x,cy:S,r0:_[b].coord,r:_[b+1].coord}}))}}else for(var A,T=we(i,function(I,R){var E=I.getTicksCoords();return A=A==null?E.length-1:Math.min(E.length-1,A),we(E,function(k){return a.coordToPoint(k.coord,R)})}),C=[],b=0;b<=A;b++){for(var M=[],L=0;L3?1.4:o>1?1.2:1.1,v=n>0?u:1/u;$m(this,"zoom","zoomOnMouseWheel",e,{scale:v,originX:s,originY:l,isAvailableBehavior:null})}if(i){var h=Math.abs(n),f=(n>0?1:-1)*(h>3?.4:h>1?.15:.05);$m(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:f,originX:s,originY:l,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(e){if(!W2(this._zr,"globalPan")){var a=e.pinchScale>1?1.1:1/1.1;$m(this,"zoom",null,e,{scale:a,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})}},t})(Xa);function $m(r,t,e,a,i){r.pointerChecker&&r.pointerChecker(a,i.originX,i.originY)&&(_n(a.event),Y6(r,t,e,a,i))}function Y6(r,t,e,a,i){i.isAvailableBehavior=Ne(ld,null,e,a),r.trigger(t,i)}function ld(r,t,e){var a=e[r];return!r||a&&(!Re(a)||t.event[a+"Key"])}function XC(r,t,e){var a=r.target;a.x+=t,a.y+=e,a.dirty()}function KC(r,t,e,a){var i=r.target,n=r.zoomLimit,o=r.zoom=r.zoom||1;if(o*=t,n){var s=n.min||0,l=n.max||1/0;o=Math.max(Math.min(l,o),s)}var u=o/r.zoom;r.zoom=o,i.x-=(e-i.x)*(u-1),i.y-=(a-i.y)*(u-1),i.scaleX*=u,i.scaleY*=u,i.dirty()}var Eae={axisPointer:1,tooltip:1,brush:1};function jp(r,t,e){var a=t.getComponentByElement(r.topTarget),i=a&&a.coordinateSystem;return a&&a!==e&&!Eae.hasOwnProperty(a.mainType)&&i&&i.model!==e}function Z6(r){if(Re(r)){var t=new DOMParser;r=t.parseFromString(r,"text/xml")}var e=r;for(e.nodeType===9&&(e=e.firstChild);e.nodeName.toLowerCase()!=="svg"||e.nodeType!==1;)e=e.nextSibling;return e}var Ym,Kd={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},U2=ft(Kd),Qd={"alignment-baseline":"textBaseline","stop-color":"stopColor"},$2=ft(Qd),kae=(function(){function r(){this._defs={},this._root=null}return r.prototype.parse=function(t,e){e=e||{};var a=Z6(t);this._defsUsePending=[];var i=new Ze;this._root=i;var n=[],o=a.getAttribute("viewBox")||"",s=parseFloat(a.getAttribute("width")||e.width),l=parseFloat(a.getAttribute("height")||e.height);isNaN(s)&&(s=null),isNaN(l)&&(l=null),Sa(a,i,null,!0,!1);for(var u=a.firstChild;u;)this._parseNode(u,i,n,null,!1,!1),u=u.nextSibling;zae(this._defs,this._defsUsePending),this._defsUsePending=[];var v,h;if(o){var f=Jp(o);f.length>=4&&(v={x:parseFloat(f[0]||0),y:parseFloat(f[1]||0),width:parseFloat(f[2]),height:parseFloat(f[3])})}if(v&&s!=null&&l!=null&&(h=K6(v,{x:0,y:0,width:s,height:l}),!e.ignoreViewBox)){var c=i;i=new Ze,i.add(c),c.scaleX=c.scaleY=h.scale,c.x=h.x,c.y=h.y}return!e.ignoreRootClip&&s!=null&&l!=null&&i.setClipPath(new gt({shape:{x:0,y:0,width:s,height:l}})),{root:i,width:s,height:l,viewBoxRect:v,viewBoxTransform:h,named:n}},r.prototype._parseNode=function(t,e,a,i,n,o){var s=t.nodeName.toLowerCase(),l,u=i;if(s==="defs"&&(n=!0),s==="text"&&(o=!0),s==="defs"||s==="switch")l=e;else{if(!n){var v=Ym[s];if(v&&Be(Ym,s)){l=v.call(this,t,e);var h=t.getAttribute("name");if(h){var f={name:h,namedFrom:null,svgNodeTagLower:s,el:l};a.push(f),s==="g"&&(u=f)}else i&&a.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:l});e.add(l)}}var c=Y2[s];if(c&&Be(Y2,s)){var d=c.call(this,t),p=t.getAttribute("id");p&&(this._defs[p]=d)}}if(l&&l.isGroup)for(var g=t.firstChild;g;)g.nodeType===1?this._parseNode(g,l,a,u,n,o):g.nodeType===3&&o&&this._parseText(g,l),g=g.nextSibling},r.prototype._parseText=function(t,e){var a=new Zl({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});Ea(e,a),Sa(t,a,this._defsUsePending,!1,!1),Oae(a,e);var i=a.style,n=i.fontSize;n&&n<9&&(i.fontSize=9,a.scaleX*=n/9,a.scaleY*=n/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;var s=a.getBoundingRect();return this._textX+=s.width,e.add(a),a},r.internalField=(function(){Ym={g:function(t,e){var a=new Ze;return Ea(e,a),Sa(t,a,this._defsUsePending,!1,!1),a},rect:function(t,e){var a=new gt;return Ea(e,a),Sa(t,a,this._defsUsePending,!1,!1),a.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),a.silent=!0,a},circle:function(t,e){var a=new Xi;return Ea(e,a),Sa(t,a,this._defsUsePending,!1,!1),a.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),a.silent=!0,a},line:function(t,e){var a=new xr;return Ea(e,a),Sa(t,a,this._defsUsePending,!1,!1),a.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),a.silent=!0,a},ellipse:function(t,e){var a=new Wh;return Ea(e,a),Sa(t,a,this._defsUsePending,!1,!1),a.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),a.silent=!0,a},polygon:function(t,e){var a=t.getAttribute("points"),i;a&&(i=K2(a));var n=new jr({shape:{points:i||[]},silent:!0});return Ea(e,n),Sa(t,n,this._defsUsePending,!1,!1),n},polyline:function(t,e){var a=t.getAttribute("points"),i;a&&(i=K2(a));var n=new ea({shape:{points:i||[]},silent:!0});return Ea(e,n),Sa(t,n,this._defsUsePending,!1,!1),n},image:function(t,e){var a=new Dr;return Ea(e,a),Sa(t,a,this._defsUsePending,!1,!1),a.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),a.silent=!0,a},text:function(t,e){var a=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",n=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(a)+parseFloat(n),this._textY=parseFloat(i)+parseFloat(o);var s=new Ze;return Ea(e,s),Sa(t,s,this._defsUsePending,!1,!0),s},tspan:function(t,e){var a=t.getAttribute("x"),i=t.getAttribute("y");a!=null&&(this._textX=parseFloat(a)),i!=null&&(this._textY=parseFloat(i));var n=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",s=new Ze;return Ea(e,s),Sa(t,s,this._defsUsePending,!1,!0),this._textX+=parseFloat(n),this._textY+=parseFloat(o),s},path:function(t,e){var a=t.getAttribute("d")||"",i=jq(a);return Ea(e,i),Sa(t,i,this._defsUsePending,!1,!1),i.silent=!0,i}}})(),r})(),Y2={lineargradient:function(r){var t=parseInt(r.getAttribute("x1")||"0",10),e=parseInt(r.getAttribute("y1")||"0",10),a=parseInt(r.getAttribute("x2")||"10",10),i=parseInt(r.getAttribute("y2")||"0",10),n=new lu(t,e,a,i);return Z2(r,n),X2(r,n),n},radialgradient:function(r){var t=parseInt(r.getAttribute("cx")||"0",10),e=parseInt(r.getAttribute("cy")||"0",10),a=parseInt(r.getAttribute("r")||"0",10),i=new rC(t,e,a);return Z2(r,i),X2(r,i),i}};function Z2(r,t){var e=r.getAttribute("gradientUnits");e==="userSpaceOnUse"&&(t.global=!0)}function X2(r,t){for(var e=r.firstChild;e;){if(e.nodeType===1&&e.nodeName.toLocaleLowerCase()==="stop"){var a=e.getAttribute("offset"),i=void 0;a&&a.indexOf("%")>0?i=parseInt(a,10)/100:a?i=parseFloat(a):i=0;var n={};X6(e,n,n);var o=n.stopColor||e.getAttribute("stop-color")||"#000000";t.colorStops.push({offset:i,color:o})}e=e.nextSibling}}function Ea(r,t){r&&r.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),Ue(t.__inheritedStyle,r.__inheritedStyle))}function K2(r){for(var t=Jp(r),e=[],a=0;a0;n-=2){var o=a[n],s=a[n-1],l=Jp(o);switch(i=i||xa(),s){case"translate":yi(i,i,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":bp(i,i,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":co(i,i,-parseFloat(l[0])*Zm,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":var u=Math.tan(parseFloat(l[0])*Zm);Wi(i,[1,0,u,1,0,0],i);break;case"skewY":var v=Math.tan(parseFloat(l[0])*Zm);Wi(i,[1,v,0,1,0,0],i);break;case"matrix":i[0]=parseFloat(l[0]),i[1]=parseFloat(l[1]),i[2]=parseFloat(l[2]),i[3]=parseFloat(l[3]),i[4]=parseFloat(l[4]),i[5]=parseFloat(l[5]);break}}t.setLocalTransform(i)}}var j2=/([^\s:;]+)\s*:\s*([^:;]+)/g;function X6(r,t,e){var a=r.getAttribute("style");if(a){j2.lastIndex=0;for(var i;(i=j2.exec(a))!=null;){var n=i[1],o=Be(Kd,n)?Kd[n]:null;o&&(t[o]=i[2]);var s=Be(Qd,n)?Qd[n]:null;s&&(e[s]=i[2])}}}function Fae(r,t,e){for(var a=0;a0,g={api:a,geo:l,mapOrGeoModel:t,data:s,isVisualEncodedByVisualMap:p,isGeo:o,transformInfoRaw:f};l.resourceType==="geoJSON"?this._buildGeoJSON(g):l.resourceType==="geoSVG"&&this._buildSVG(g),this._updateController(t,e,a),this._updateMapSelectHandler(t,u,a,i)},r.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=Ge(),a=Ge(),i=this._regionsGroup,n=t.transformInfoRaw,o=t.mapOrGeoModel,s=t.data,l=t.geo.projection,u=l&&l.stream;function v(c,d){return d&&(c=d(c)),c&&[c[0]*n.scaleX+n.x,c[1]*n.scaleY+n.y]}function h(c){for(var d=[],p=!u&&l&&l.project,g=0;g=0)&&(f=i);var c=o?{normal:{align:"center",verticalAlign:"middle"}}:null;Gr(t,Cr(a),{labelFetcher:f,labelDataIndex:h,defaultText:e},c);var d=t.getTextContent();if(d&&(Q6(d).ignore=d.ignore,t.textConfig&&o)){var p=t.getBoundingRect().clone();t.textConfig.layoutRect=p,t.textConfig.position=[(o[0]-p.x)/p.width*100+"%",(o[1]-p.y)/p.height*100+"%"]}t.disableLabelAnimation=!0}else t.removeTextContent(),t.removeTextConfig(),t.disableLabelAnimation=null}function aP(r,t,e,a,i,n){r.data?r.data.setItemGraphicEl(n,t):Xe(t).eventData={componentType:"geo",componentIndex:i.componentIndex,geoIndex:i.componentIndex,name:e,region:a&&a.option||{}}}function iP(r,t,e,a,i){r.data||zs({el:t,componentModel:i,itemName:e,itemTooltipOption:a.get("tooltip")})}function nP(r,t,e,a,i){t.highDownSilentOnTouch=!!i.get("selectedMode");var n=a.getModel("emphasis"),o=n.get("focus");return tr(t,o,n.get("blurScope"),n.get("disabled")),r.isGeo&&MK(t,i,e),o}function oP(r,t,e){var a=[],i;function n(){i=[]}function o(){i.length&&(a.push(i),i=[])}var s=t({polygonStart:n,polygonEnd:o,lineStart:n,lineEnd:o,point:function(l,u){isFinite(l)&&isFinite(u)&&i.push([l,u])},sphere:function(){}});return!e&&s.polygonStart(),$(r,function(l){s.lineStart();for(var u=0;u-1&&(i.style.stroke=i.style.fill,i.style.fill="#fff",i.style.lineWidth=2),i},t.type="series.map",t.dependencies=["geo"],t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},t})(zt);function sie(r,t){var e={};return $(r,function(a){a.each(a.mapDimension("value"),function(i,n){var o="ec-"+a.getName(n);e[o]=e[o]||[],isNaN(i)||e[o].push(i)})}),r[0].map(r[0].mapDimension("value"),function(a,i){for(var n="ec-"+r[0].getName(i),o=0,s=1/0,l=-1/0,u=e[n].length,v=0;v1?(x.width=_,x.height=_/g):(x.height=_,x.width=_*g),x.y=y[1]-x.height/2,x.x=y[0]-x.width/2;else{var S=r.getBoxLayoutParams();S.aspect=g,x=dr(S,{width:d,height:p})}this.setViewRect(x.x,x.y,x.width,x.height),this.setCenter(r.get("center"),t),this.setZoom(r.get("zoom"))}function hie(r,t){$(t.get("geoCoord"),function(e,a){r.addGeoCoord(a,e)})}var fie=(function(){function r(){this.dimensions=J6}return r.prototype.create=function(t,e){var a=[];function i(o){return{nameProperty:o.get("nameProperty"),aspectScale:o.get("aspectScale"),projection:o.get("projection")}}t.eachComponent("geo",function(o,s){var l=o.get("map"),u=new HT(l+s,l,_e({nameMap:o.get("nameMap")},i(o)));u.zoomLimit=o.get("scaleLimit"),a.push(u),o.coordinateSystem=u,u.model=o,u.resize=vP,u.resize(o,e)}),t.eachSeries(function(o){var s=o.get("coordinateSystem");if(s==="geo"){var l=o.get("geoIndex")||0;o.coordinateSystem=a[l]}});var n={};return t.eachSeriesByType("map",function(o){if(!o.getHostGeoModel()){var s=o.getMapType();n[s]=n[s]||[],n[s].push(o)}}),$(n,function(o,s){var l=we(o,function(v){return v.get("nameMap")}),u=new HT(s,s,_e({nameMap:yp(l)},i(o[0])));u.zoomLimit=wr.apply(null,we(o,function(v){return v.get("scaleLimit")})),a.push(u),u.resize=vP,u.resize(o[0],e),$(o,function(v){v.coordinateSystem=u,hie(u,v)})}),a},r.prototype.getFilledRegions=function(t,e,a,i){for(var n=(t||[]).slice(),o=Ge(),s=0;s=0;o--){var s=i[o];s.hierNode={defaultAncestor:null,ancestor:s,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},e.push(s)}}function yie(r,t){var e=r.isExpand?r.children:[],a=r.parentNode.children,i=r.hierNode.i?a[r.hierNode.i-1]:null;if(e.length){Sie(r);var n=(e[0].hierNode.prelim+e[e.length-1].hierNode.prelim)/2;i?(r.hierNode.prelim=i.hierNode.prelim+t(r,i),r.hierNode.modifier=r.hierNode.prelim-n):r.hierNode.prelim=n}else i&&(r.hierNode.prelim=i.hierNode.prelim+t(r,i));r.parentNode.hierNode.defaultAncestor=bie(r,i,r.parentNode.hierNode.defaultAncestor||a[0],t)}function _ie(r){var t=r.hierNode.prelim+r.parentNode.hierNode.modifier;r.setLayout({x:t},!0),r.hierNode.modifier+=r.parentNode.hierNode.modifier}function fP(r){return arguments.length?r:Aie}function Ov(r,t){return r-=Math.PI/2,{x:t*Math.cos(r),y:t*Math.sin(r)}}function xie(r,t){return dr(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function Sie(r){for(var t=r.children,e=t.length,a=0,i=0;--e>=0;){var n=t[e];n.hierNode.prelim+=a,n.hierNode.modifier+=a,i+=n.hierNode.change,a+=n.hierNode.shift+i}}function bie(r,t,e,a){if(t){for(var i=r,n=r,o=n.parentNode.children[0],s=t,l=i.hierNode.modifier,u=n.hierNode.modifier,v=o.hierNode.modifier,h=s.hierNode.modifier;s=Xm(s),n=Km(n),s&&n;){i=Xm(i),o=Km(o),i.hierNode.ancestor=r;var f=s.hierNode.prelim+h-n.hierNode.prelim-u+a(s,n);f>0&&(Tie(wie(s,r,e),r,f),u+=f,l+=f),h+=s.hierNode.modifier,u+=n.hierNode.modifier,l+=i.hierNode.modifier,v+=o.hierNode.modifier}s&&!Xm(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=h-l),n&&!Km(o)&&(o.hierNode.thread=n,o.hierNode.modifier+=u-v,e=r)}return e}function Xm(r){var t=r.children;return t.length&&r.isExpand?t[t.length-1]:r.hierNode.thread}function Km(r){var t=r.children;return t.length&&r.isExpand?t[0]:r.hierNode.thread}function wie(r,t,e){return r.hierNode.ancestor.parentNode===t.parentNode?r.hierNode.ancestor:e}function Tie(r,t,e){var a=e/(t.hierNode.i-r.hierNode.i);t.hierNode.change-=a,t.hierNode.shift+=e,t.hierNode.modifier+=e,t.hierNode.prelim+=e,r.hierNode.change+=a}function Aie(r,t){return r.parentNode===t.parentNode?1:2}var Cie=(function(){function r(){this.parentPoint=[],this.childPoints=[]}return r})(),Mie=(function(r){he(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Cie},t.prototype.buildPath=function(e,a){var i=a.childPoints,n=i.length,o=a.parentPoint,s=i[0],l=i[n-1];if(n===1){e.moveTo(o[0],o[1]),e.lineTo(s[0],s[1]);return}var u=a.orient,v=u==="TB"||u==="BT"?0:1,h=1-v,f=Ie(a.forkPosition,1),c=[];c[v]=o[v],c[h]=o[h]+(l[h]-o[h])*f,e.moveTo(o[0],o[1]),e.lineTo(c[0],c[1]),e.moveTo(s[0],s[1]),c[v]=s[v],e.lineTo(c[0],c[1]),c[v]=l[v],e.lineTo(c[0],c[1]),e.lineTo(l[0],l[1]);for(var d=1;dy.x,S||(x=x-Math.PI));var w=S?"left":"right",A=s.getModel("label"),T=A.get("rotate"),C=T*(Math.PI/180),M=g.getTextContent();M&&(g.setTextConfig({position:A.get("position")||w,rotation:T==null?-x:C,origin:"center"}),M.setStyle("verticalAlign","middle"))}var L=s.get(["emphasis","focus"]),D=L==="relative"?$l(o.getAncestorsIndices(),o.getDescendantIndices()):L==="ancestor"?o.getAncestorsIndices():L==="descendant"?o.getDescendantIndices():null;D&&(Xe(e).focus=D),Lie(i,o,v,e,d,c,p,a),e.__edge&&(e.onHoverStateChange=function(P){if(P!=="blur"){var I=o.parentNode&&r.getItemGraphicEl(o.parentNode.dataIndex);I&&I.hoverState===qh||Ld(e.__edge,P)}})}function Lie(r,t,e,a,i,n,o,s){var l=t.getModel(),u=r.get("edgeShape"),v=r.get("layout"),h=r.getOrient(),f=r.get(["lineStyle","curveness"]),c=r.get("edgeForkPosition"),d=l.getModel("lineStyle").getLineStyle(),p=a.__edge;if(u==="curve")t.parentNode&&t.parentNode!==e&&(p||(p=a.__edge=new su({shape:qT(v,h,f,i,i)})),wt(p,{shape:qT(v,h,f,n,o)},r));else if(u==="polyline"&&v==="orthogonal"&&t!==e&&t.children&&t.children.length!==0&&t.isExpand===!0){for(var g=t.children,m=[],y=0;ye&&(e=i.height)}this.height=e+1},r.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,a=this.children,i=a.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},r.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},r.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostTree,a=e.data.getItemModel(this.dataIndex);return a.getModel(t)}},r.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},r.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},r.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},r.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},r.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},r.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e=0){var a=e.getData().tree.root,i=r.targetNode;if(Re(i)&&(i=a.getNodeById(i)),i&&a.contains(i))return{node:i};var n=r.targetNodeId;if(n!=null&&(i=a.getNodeById(n)))return{node:i}}}function n8(r){for(var t=[];r;)r=r.parentNode,r&&t.push(r);return t.reverse()}function tM(r,t){var e=n8(r);return nt(e,t)>=0}function eg(r,t){for(var e=[];r;){var a=r.dataIndex;e.push({name:r.name,dataIndex:a,value:t.getRawValue(a)}),r=r.parentNode}return e.reverse(),e}var Bie=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return t.prototype.getInitialData=function(e){var a={name:e.name,children:e.data},i=e.leaves||{},n=new Mt(i,this,this.ecModel),o=eM.createTree(a,this,s);function s(h){h.wrapMethod("getItemModel",function(f,c){var d=o.getNodeByDataIndex(c);return d&&d.children.length&&d.isExpand||(f.parentModel=n),f})}var l=0;o.eachNode("preorder",function(h){h.depth>l&&(l=h.depth)});var u=e.expandAndCollapse,v=u&&e.initialTreeDepth>=0?e.initialTreeDepth:l;return o.root.eachNode("preorder",function(h){var f=h.hostTree.data.getRawDataItem(h.dataIndex);h.isExpand=f&&f.collapsed!=null?!f.collapsed:h.depth<=v}),o.data},t.prototype.getOrient=function(){var e=this.get("orient");return e==="horizontal"?e="LR":e==="vertical"&&(e="TB"),e},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.formatTooltip=function(e,a,i){for(var n=this.getData().tree,o=n.root.children[0],s=n.getNodeByDataIndex(e),l=s.getValue(),u=s.name;s&&s!==o;)u=s.parentNode.name+"."+u,s=s.parentNode;return Mr("nameValue",{name:u,value:l,noValue:isNaN(l)||l==null})},t.prototype.getDataParams=function(e){var a=r.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return a.treeAncestors=eg(i,this),a.collapsed=!i.isExpand,a},t.type="series.tree",t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},t})(zt);function Vie(r,t,e){for(var a=[r],i=[],n;n=a.pop();)if(i.push(n),n.isExpand){var o=n.children;if(o.length)for(var s=0;s=0;n--)e.push(i[n])}}function Gie(r,t){r.eachSeriesByType("tree",function(e){Fie(e,t)})}function Fie(r,t){var e=xie(r,t);r.layoutInfo=e;var a=r.get("layout"),i=0,n=0,o=null;a==="radial"?(i=2*Math.PI,n=Math.min(e.height,e.width)/2,o=fP(function(_,x){return(_.parentNode===x.parentNode?1:2)/_.depth})):(i=e.width,n=e.height,o=fP());var s=r.getData().tree.root,l=s.children[0];if(l){mie(s),Vie(l,yie,o),s.hierNode.modifier=-l.hierNode.prelim,tv(l,_ie);var u=l,v=l,h=l;tv(l,function(_){var x=_.getLayout().x;xv.getLayout().x&&(v=_),_.depth>h.depth&&(h=_)});var f=u===v?1:o(u,v)/2,c=f-u.getLayout().x,d=0,p=0,g=0,m=0;if(a==="radial")d=i/(v.getLayout().x+f+c),p=n/(h.depth-1||1),tv(l,function(_){g=(_.getLayout().x+c)*d,m=(_.depth-1)*p;var x=Ov(g,m);_.setLayout({x:x.x,y:x.y,rawX:g,rawY:m},!0)});else{var y=r.getOrient();y==="RL"||y==="LR"?(p=n/(v.getLayout().x+f+c),d=i/(h.depth-1||1),tv(l,function(_){m=(_.getLayout().x+c)*p,g=y==="LR"?(_.depth-1)*d:i-(_.depth-1)*d,_.setLayout({x:g,y:m},!0)})):(y==="TB"||y==="BT")&&(d=i/(v.getLayout().x+f+c),p=n/(h.depth-1||1),tv(l,function(_){g=(_.getLayout().x+c)*d,m=y==="TB"?(_.depth-1)*p:n-(_.depth-1)*p,_.setLayout({x:g,y:m},!0)}))}}}function Hie(r){r.eachSeriesByType("tree",function(t){var e=t.getData(),a=e.tree;a.eachNode(function(i){var n=i.getModel(),o=n.getModel("itemStyle").getItemStyle(),s=e.ensureUniqueItemVisual(i.dataIndex,"style");_e(s,o)})})}function qie(r){r.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},function(a){var i=t.dataIndex,n=a.getData().tree,o=n.getNodeByDataIndex(i);o.isExpand=!o.isExpand})}),r.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(t,e,a){e.eachComponent({mainType:"series",subType:"tree",query:t},function(i){var n=i.coordinateSystem,o=jC(n,t,void 0,a);i.setCenter&&i.setCenter(o.center),i.setZoom&&i.setZoom(o.zoom)})})}function Wie(r){r.registerChartView(Die),r.registerSeriesModel(Bie),r.registerLayout(Gie),r.registerVisual(Hie),qie(r)}var mP=["treemapZoomToNode","treemapRender","treemapMove"];function Uie(r){for(var t=0;t1;)n=n.parentNode;var o=_T(r.ecModel,n.name||n.dataIndex+"",a);i.setVisual("decal",o)})}var $ie=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.preventUsingHoverLayer=!0,e}return t.prototype.getInitialData=function(e,a){var i={name:e.name,children:e.data};s8(i);var n=e.levels||[],o=this.designatedVisualItemStyle={},s=new Mt({itemStyle:o},this,a);n=e.levels=Yie(n,a);var l=we(n||[],function(h){return new Mt(h,s,a)},this),u=eM.createTree(i,this,v);function v(h){h.wrapMethod("getItemModel",function(f,c){var d=u.getNodeByDataIndex(c),p=d?l[d.depth]:null;return f.parentModel=p||s,f})}return u.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.formatTooltip=function(e,a,i){var n=this.getData(),o=this.getRawValue(e),s=n.getName(e);return Mr("nameValue",{name:s,value:o})},t.prototype.getDataParams=function(e){var a=r.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return a.treeAncestors=eg(i,this),a.treePathInfo=a.treeAncestors,a},t.prototype.setLayoutInfo=function(e){this.layoutInfo=this.layoutInfo||{},_e(this.layoutInfo,e)},t.prototype.mapIdToIndex=function(e){var a=this._idIndexMap;a||(a=this._idIndexMap=Ge(),this._idIndexMapCount=0);var i=a.get(e);return i==null&&a.set(e,i=this._idIndexMapCount++),i},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var a=this.getRawData().tree.root;(!e||e!==a&&!a.contains(e))&&(this._viewRoot=a)},t.prototype.enableAriaDecal=function(){o8(this)},t.type="series.treemap",t.layoutMode="box",t.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.32*.32,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},t})(zt);function s8(r){var t=0;$(r.children,function(a){s8(a);var i=a.value;Se(i)&&(i=i[0]),t+=i});var e=r.value;Se(e)&&(e=e[0]),(e==null||isNaN(e))&&(e=t),e<0&&(e=0),Se(r.value)?r.value[0]=e:r.value=e}function Yie(r,t){var e=Nt(t.get("color")),a=Nt(t.get(["aria","decal","decals"]));if(e){r=r||[];var i,n;$(r,function(s){var l=new Mt(s),u=l.get("color"),v=l.get("decal");(l.get(["itemStyle","color"])||u&&u!=="none")&&(i=!0),(l.get(["itemStyle","decal"])||v&&v!=="none")&&(n=!0)});var o=r[0]||(r[0]={});return i||(o.color=e.slice()),!n&&a&&(o.decal=a.slice()),r}}var Zie=8,yP=8,Qm=5,Xie=(function(){function r(t){this.group=new Ze,t.add(this.group)}return r.prototype.render=function(t,e,a,i){var n=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),!(!n.get("show")||!a)){var s=n.getModel("itemStyle"),l=n.getModel("emphasis"),u=s.getModel("textStyle"),v=l.getModel(["itemStyle","textStyle"]),h={pos:{left:n.get("left"),right:n.get("right"),top:n.get("top"),bottom:n.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:n.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(a,h,u),this._renderContent(t,h,s,l,u,v,i),Fp(o,h.pos,h.box)}},r.prototype._prepare=function(t,e,a){for(var i=t;i;i=i.parentNode){var n=_r(i.getModel().get("name"),""),o=a.getTextRect(n),s=Math.max(o.width+Zie*2,e.emptyItemWidth);e.totalWidth+=s+yP,e.renderList.push({node:i,text:n,width:s})}},r.prototype._renderContent=function(t,e,a,i,n,o,s){for(var l=0,u=e.emptyItemWidth,v=t.get(["breadcrumb","height"]),h=MQ(e.pos,e.box),f=e.totalWidth,c=e.renderList,d=i.getModel("itemStyle").getItemStyle(),p=c.length-1;p>=0;p--){var g=c[p],m=g.node,y=g.width,_=g.text;f>h.width&&(f-=y-u,y=u,_=null);var x=new jr({shape:{points:Kie(l,0,y,v,p===c.length-1,p===0)},style:Ue(a.getItemStyle(),{lineJoin:"bevel"}),textContent:new pt({style:Ht(n,{text:_})}),textConfig:{position:"inside"},z2:nu*1e4,onclick:et(s,m)});x.disableLabelAnimation=!0,x.getTextContent().ensureState("emphasis").style=Ht(o,{text:_}),x.ensureState("emphasis").style=d,tr(x,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(x),Qie(x,t,m),l+=y+yP}},r.prototype.remove=function(){this.group.removeAll()},r})();function Kie(r,t,e,a,i,n){var o=[[i?r:r-Qm,t],[r+e,t],[r+e,t+a],[i?r:r-Qm,t+a]];return!n&&o.splice(2,0,[r+e+Qm,t+a/2]),!i&&o.push([r,t+a/2]),o}function Qie(r,t,e){Xe(r).eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:e&&e.dataIndex,name:e&&e.name},treePathInfo:e&&eg(e,t)}}var jie=(function(){function r(){this._storage=[],this._elExistsMap={}}return r.prototype.add=function(t,e,a,i,n){return this._elExistsMap[t.id]?!1:(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:a,delay:i,easing:n}),!0)},r.prototype.finished=function(t){return this._finishedCallback=t,this},r.prototype.start=function(){for(var t=this,e=this._storage.length,a=function(){e--,e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,n=this._storage.length;ixP||Math.abs(e.dy)>xP)){var a=this.seriesModel.getData().tree.root;if(!a)return;var i=a.getLayout();if(!i)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x+e.dx,y:i.y+e.dy,width:i.width,height:i.height}})}},t.prototype._onZoom=function(e){var a=e.originX,i=e.originY,n=e.scale;if(this._state!=="animating"){var o=this.seriesModel.getData().tree.root;if(!o)return;var s=o.getLayout();if(!s)return;var l=new at(s.x,s.y,s.width,s.height),u=null,v=this._controllerHost;u=v.zoomLimit;var h=v.zoom=v.zoom||1;if(h*=n,u){var f=u.min||0,c=u.max||1/0;h=Math.max(Math.min(c,h),f)}var d=h/v.zoom;v.zoom=h;var p=this.seriesModel.layoutInfo;a-=p.x,i-=p.y;var g=xa();yi(g,g,[-a,-i]),bp(g,g,[d,d]),yi(g,g,[a,i]),l.applyTransform(g),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:l.x,y:l.y,width:l.width,height:l.height}})}},t.prototype._initEvents=function(e){var a=this;e.on("click",function(i){if(a._state==="ready"){var n=a.seriesModel.get("nodeClick",!0);if(n){var o=a.findTarget(i.offsetX,i.offsetY);if(o){var s=o.node;if(s.getLayout().isLeafRoot)a._rootToNode(o);else if(n==="zoomToNode")a._zoomToNode(o);else if(n==="link"){var l=s.hostTree.data.getItemModel(s.dataIndex),u=l.get("link",!0),v=l.get("target",!0)||"blank";u&&Od(u,v)}}}}},this)},t.prototype._renderBreadcrumb=function(e,a,i){var n=this;i||(i=e.get("leafDepth",!0)!=null?{node:e.getViewRoot()}:this.findTarget(a.getWidth()/2,a.getHeight()/2),i||(i={node:e.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new Xie(this.group))).render(e,a,i.node,function(o){n._state!=="animating"&&(tM(e.getViewRoot(),o)?n._rootToNode({node:o}):n._zoomToNode({node:o}))})},t.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=rv(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},t.prototype.dispose=function(){this._clearController()},t.prototype._zoomToNode=function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype._rootToNode=function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype.findTarget=function(e,a){var i,n=this.seriesModel.getViewRoot();return n.eachNode({attr:"viewChildren",order:"preorder"},function(o){var s=this._storage.background[o.getRawIndex()];if(s){var l=s.transformCoordToLocal(e,a),u=s.shape;if(u.x<=l[0]&&l[0]<=u.x+u.width&&u.y<=l[1]&&l[1]<=u.y+u.height)i={node:o,offsetX:l[0],offsetY:l[1]};else return!1}},this),i},t.type="treemap",t})(kt);function rv(){return{nodeGroup:[],background:[],content:[]}}function ine(r,t,e,a,i,n,o,s,l,u){if(!o)return;var v=o.getLayout(),h=r.getData(),f=o.getModel();if(h.setItemGraphicEl(o.dataIndex,null),!v||!v.isInView)return;var c=v.width,d=v.height,p=v.borderWidth,g=v.invisible,m=o.getRawIndex(),y=s&&s.getRawIndex(),_=o.viewChildren,x=v.upperHeight,S=_&&_.length,b=f.getModel("itemStyle"),w=f.getModel(["emphasis","itemStyle"]),A=f.getModel(["blur","itemStyle"]),T=f.getModel(["select","itemStyle"]),C=b.get("borderRadius")||0,M=G("nodeGroup",WT);if(!M)return;if(l.add(M),M.x=v.x||0,M.y=v.y||0,M.markRedraw(),jd(M).nodeWidth=c,jd(M).nodeHeight=d,v.isAboveViewRoot)return M;var L=G("background",_P,u,tne);L&&F(M,L,S&&v.upperLabelHeight);var D=f.getModel("emphasis"),P=D.get("focus"),I=D.get("blurScope"),R=D.get("disabled"),E=P==="ancestor"?o.getAncestorsIndices():P==="descendant"?o.getDescendantIndices():P;if(S)gh(M)&&cs(M,!1),L&&(cs(L,!R),h.setItemGraphicEl(o.dataIndex,L),hT(L,E,I));else{var k=G("content",_P,u,rne);k&&V(M,k),L.disableMorphing=!0,L&&gh(L)&&cs(L,!1),cs(M,!R),h.setItemGraphicEl(o.dataIndex,M);var B=f.getShallow("cursor");B&&k.attr("cursor",B),hT(M,E,I)}return M;function F(U,W,Y){var X=Xe(W);if(X.dataIndex=o.dataIndex,X.seriesIndex=r.seriesIndex,W.setShape({x:0,y:0,width:c,height:d,r:C}),g)N(W);else{W.invisible=!1;var K=o.getVisual("style"),Q=K.stroke,j=wP(b);j.fill=Q;var te=rs(w);te.fill=w.get("borderColor");var Z=rs(A);Z.fill=A.get("borderColor");var ee=rs(T);if(ee.fill=T.get("borderColor"),Y){var le=c-2*p;O(W,Q,K.opacity,{x:p,y:0,width:le,height:x})}else W.removeTextContent();W.setStyle(j),W.ensureState("emphasis").style=te,W.ensureState("blur").style=Z,W.ensureState("select").style=ee,Is(W)}U.add(W)}function V(U,W){var Y=Xe(W);Y.dataIndex=o.dataIndex,Y.seriesIndex=r.seriesIndex;var X=Math.max(c-2*p,0),K=Math.max(d-2*p,0);if(W.culling=!0,W.setShape({x:p,y:p,width:X,height:K,r:C}),g)N(W);else{W.invisible=!1;var Q=o.getVisual("style"),j=Q.fill,te=wP(b);te.fill=j,te.decal=Q.decal;var Z=rs(w),ee=rs(A),le=rs(T);O(W,j,Q.opacity,null),W.setStyle(te),W.ensureState("emphasis").style=Z,W.ensureState("blur").style=ee,W.ensureState("select").style=le,Is(W)}U.add(W)}function N(U){!U.invisible&&n.push(U)}function O(U,W,Y,X){var K=f.getModel(X?bP:SP),Q=_r(f.get("name"),null),j=K.getShallow("show");Gr(U,Cr(f,X?bP:SP),{defaultText:j?Q:null,inheritColor:W,defaultOpacity:Y,labelFetcher:r,labelDataIndex:o.dataIndex});var te=U.getTextContent();if(te){var Z=te.style,ee=xp(Z.padding||0);X&&(U.setTextConfig({layoutRect:X}),te.disableLabelLayout=!0),te.beforeUpdate=function(){var oe=Math.max((X?X.width:U.shape.width)-ee[1]-ee[3],0),fe=Math.max((X?X.height:U.shape.height)-ee[0]-ee[2],0);(Z.width!==oe||Z.height!==fe)&&te.setStyle({width:oe,height:fe})},Z.truncateMinChar=2,Z.lineOverflow="truncate",z(Z,X,v);var le=te.getState("emphasis");z(le?le.style:null,X,v)}}function z(U,W,Y){var X=U?U.text:null;if(!W&&Y.isLeafRoot&&X!=null){var K=r.get("drillDownIcon",!0);U.text=K?K+" "+X:X}}function G(U,W,Y,X){var K=y!=null&&e[U][y],Q=i[U];return K?(e[U][y]=null,q(Q,K)):g||(K=new W,K instanceof Za&&(K.z2=nne(Y,X)),H(Q,K)),t[U][m]=K}function q(U,W){var Y=U[m]={};W instanceof WT?(Y.oldX=W.x,Y.oldY=W.y):Y.oldShape=_e({},W.shape)}function H(U,W){var Y=U[m]={},X=o.parentNode,K=W instanceof Ze;if(X&&(!a||a.direction==="drillDown")){var Q=0,j=0,te=i.background[X.getRawIndex()];!a&&te&&te.oldShape&&(Q=te.oldShape.width,j=te.oldShape.height),K?(Y.oldX=0,Y.oldY=j):Y.oldShape={x:Q,y:j,width:0,height:0}}Y.fadein=!K}}function nne(r,t){return r*ene+t}var Dh=$,one=$e,Jd=-1,Ar=(function(){function r(t){var e=t.mappingMethod,a=t.type,i=this.option=Ye(t);this.type=a,this.mappingMethod=e,this._normalizeData=une[e];var n=r.visualHandlers[a];this.applyVisual=n.applyVisual,this.getColorMapper=n.getColorMapper,this._normalizedToVisual=n._normalizedToVisual[e],e==="piecewise"?(jm(i),sne(i)):e==="category"?i.categories?lne(i):jm(i,!0):(Kr(e!=="linear"||i.dataExtent),jm(i))}return r.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},r.prototype.getNormalizer=function(){return Ne(this._normalizeData,this)},r.listVisualTypes=function(){return ft(r.visualHandlers)},r.isValidType=function(t){return r.visualHandlers.hasOwnProperty(t)},r.eachVisual=function(t,e,a){$e(t)?$(t,e,a):e.call(a,t)},r.mapVisual=function(t,e,a){var i,n=Se(t)?[]:$e(t)?{}:(i=!0,null);return r.eachVisual(t,function(o,s){var l=e.call(a,o,s);i?n=l:n[s]=l}),n},r.retrieveVisuals=function(t){var e={},a;return t&&Dh(r.visualHandlers,function(i,n){t.hasOwnProperty(n)&&(e[n]=t[n],a=!0)}),a?e:null},r.prepareVisualTypes=function(t){if(Se(t))t=t.slice();else if(one(t)){var e=[];Dh(t,function(a,i){e.push(i)}),t=e}else return[];return t.sort(function(a,i){return i==="color"&&a!=="color"&&a.indexOf("color")===0?1:-1}),t},r.dependsOn=function(t,e){return e==="color"?!!(t&&t.indexOf(e)===0):t===e},r.findPieceIndex=function(t,e,a){for(var i,n=1/0,o=0,s=e.length;o=0;n--)a[n]==null&&(delete e[t[n]],t.pop())}function jm(r,t){var e=r.visual,a=[];$e(e)?Dh(e,function(n){a.push(n)}):e!=null&&a.push(e);var i={color:1,symbol:1};!t&&a.length===1&&!i.hasOwnProperty(r.type)&&(a[1]=a[0]),l8(r,a)}function vc(r){return{applyVisual:function(t,e,a){var i=this.mapValueToVisual(t);a("color",r(e("color"),i))},_normalizedToVisual:UT([0,1])}}function TP(r){var t=this.option.visual;return t[Math.round(Pt(r,[0,1],[0,t.length-1],!0))]||{}}function av(r){return function(t,e,a){a(r,this.mapValueToVisual(t))}}function Nv(r){var t=this.option.visual;return t[this.option.loop&&r!==Jd?r%t.length:r]}function as(){return this.option.visual[0]}function UT(r){return{linear:function(t){return Pt(t,r,this.option.visual,!0)},category:Nv,piecewise:function(t,e){var a=$T.call(this,e);return a==null&&(a=Pt(t,r,this.option.visual,!0)),a},fixed:as}}function $T(r){var t=this.option,e=t.pieceList;if(t.hasSpecialVisual){var a=Ar.findPieceIndex(r,e),i=e[a];if(i&&i.visual)return i.visual[this.type]}}function l8(r,t){return r.visual=t,r.type==="color"&&(r.parsedVisual=we(t,function(e){var a=sa(e);return a||[0,0,0,1]})),t}var une={linear:function(r){return Pt(r,this.option.dataExtent,[0,1],!0)},piecewise:function(r){var t=this.option.pieceList,e=Ar.findPieceIndex(r,t,!0);if(e!=null)return Pt(e,[0,t.length-1],[0,1],!0)},category:function(r){var t=this.option.categories?this.option.categoryMap[r]:r;return t==null?Jd:t},fixed:ir};function hc(r,t,e){return r?t<=e:t=e.length||p===e[p.depth]){var m=pne(i,l,p,g,d,a);v8(p,m,e,a)}})}}}function fne(r,t,e){var a=_e({},t),i=e.designatedVisualItemStyle;return $(["color","colorAlpha","colorSaturation"],function(n){i[n]=t[n];var o=r.get(n);i[n]=null,o!=null&&(a[n]=o)}),a}function AP(r){var t=Jm(r,"color");if(t){var e=Jm(r,"colorAlpha"),a=Jm(r,"colorSaturation");return a&&(t=Vl(t,null,null,a)),e&&(t=hh(t,e)),t}}function cne(r,t){return t!=null?Vl(t,null,null,r):null}function Jm(r,t){var e=r[t];if(e!=null&&e!=="none")return e}function dne(r,t,e,a,i,n){if(!(!n||!n.length)){var o=ey(t,"color")||i.color!=null&&i.color!=="none"&&(ey(t,"colorAlpha")||ey(t,"colorSaturation"));if(o){var s=t.get("visualMin"),l=t.get("visualMax"),u=e.dataExtent.slice();s!=null&&su[1]&&(u[1]=l);var v=t.get("colorMappingBy"),h={type:o.name,dataExtent:u,visual:o.range};h.type==="color"&&(v==="index"||v==="id")?(h.mappingMethod="category",h.loop=!0):h.mappingMethod="linear";var f=new Ar(h);return u8(f).drColorMappingBy=v,f}}}function ey(r,t){var e=r.get(t);return Se(e)&&e.length?{name:t,range:e}:null}function pne(r,t,e,a,i,n){var o=_e({},t);if(i){var s=i.type,l=s==="color"&&u8(i).drColorMappingBy,u=l==="index"?a:l==="id"?n.mapIdToIndex(e.getId()):e.getValue(r.get("visualDimension"));o[s]=i.mapValueToVisual(u)}return o}var Lh=Math.max,ep=Math.min,CP=wr,rM=$,h8=["itemStyle","borderWidth"],gne=["itemStyle","gapWidth"],mne=["upperLabel","show"],yne=["upperLabel","height"];const _ne={seriesType:"treemap",reset:function(r,t,e,a){var i=e.getWidth(),n=e.getHeight(),o=r.option,s=dr(r.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),l=o.size||[],u=Ie(CP(s.width,l[0]),i),v=Ie(CP(s.height,l[1]),n),h=a&&a.type,f=["treemapZoomToNode","treemapRootToNode"],c=Mh(a,f,r),d=h==="treemapRender"||h==="treemapMove"?a.rootRect:null,p=r.getViewRoot(),g=n8(p);if(h!=="treemapMove"){var m=h==="treemapZoomToNode"?Ane(r,c,p,u,v):d?[d.width,d.height]:[u,v],y=o.sort;y&&y!=="asc"&&y!=="desc"&&(y="desc");var _={squareRatio:o.squareRatio,sort:y,leafDepth:o.leafDepth};p.hostTree.clearLayouts();var x={x:0,y:0,width:m[0],height:m[1],area:m[0]*m[1]};p.setLayout(x),f8(p,_,!1,0),x=p.getLayout(),rM(g,function(b,w){var A=(g[w+1]||p).getValue();b.setLayout(_e({dataExtent:[A,A],borderWidth:0,upperHeight:0},x))})}var S=r.getData().tree.root;S.setLayout(Cne(s,d,c),!0),r.setLayoutInfo(s),c8(S,new at(-s.x,-s.y,i,n),g,p,0)}};function f8(r,t,e,a){var i,n;if(!r.isRemoved()){var o=r.getLayout();i=o.width,n=o.height;var s=r.getModel(),l=s.get(h8),u=s.get(gne)/2,v=d8(s),h=Math.max(l,v),f=l-u,c=h-u;r.setLayout({borderWidth:l,upperHeight:h,upperLabelHeight:v},!0),i=Lh(i-2*f,0),n=Lh(n-f-c,0);var d=i*n,p=xne(r,s,d,t,e,a);if(p.length){var g={x:f,y:c,width:i,height:n},m=ep(i,n),y=1/0,_=[];_.area=0;for(var x=0,S=p.length;x=0;l--){var u=i[a==="asc"?o-l-1:l].getValue();u/e*ts[1]&&(s[1]=u)})),{sum:a,dataExtent:s}}function Tne(r,t,e){for(var a=0,i=1/0,n=0,o=void 0,s=r.length;na&&(a=o));var l=r.area*r.area,u=t*t*e;return l?Lh(u*a/l,l/(u*i)):1/0}function MP(r,t,e,a,i){var n=t===e.width?0:1,o=1-n,s=["x","y"],l=["width","height"],u=e[s[n]],v=t?r.area/t:0;(i||v>e[l[o]])&&(v=e[l[o]]);for(var h=0,f=r.length;hrT&&(u=rT),n=s}ua&&(a=t);var n=a%2?a+2:a+3;i=[];for(var o=0;o0&&(S[0]=-S[0],S[1]=-S[1]);var w=x[0]<0?-1:1;if(n.__position!=="start"&&n.__position!=="end"){var A=-Math.atan2(x[1],x[0]);h[0].8?"left":f[0]<-.8?"right":"center",p=f[1]>.8?"top":f[1]<-.8?"bottom":"middle";break;case"start":n.x=-f[0]*m+v[0],n.y=-f[1]*y+v[1],d=f[0]>.8?"right":f[0]<-.8?"left":"center",p=f[1]>.8?"bottom":f[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":n.x=m*w+v[0],n.y=v[1]+T,d=x[0]<0?"right":"left",n.originX=-m*w,n.originY=-T;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":n.x=b[0],n.y=b[1]+T,d="center",n.originY=-T;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":n.x=-m*w+h[0],n.y=h[1]+T,d=x[0]>=0?"right":"left",n.originX=m*w,n.originY=-T;break}n.scaleX=n.scaleY=o,n.setStyle({verticalAlign:n.__verticalAlign||p,align:n.__align||d})}},t})(Ze),sM=(function(){function r(t){this.group=new Ze,this._LineCtor=t||oM}return r.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var a=this,i=a.group,n=a._lineData;a._lineData=t,n||i.removeAll();var o=EP(t);t.diff(n).add(function(s){e._doAdd(t,s,o)}).update(function(s,l){e._doUpdate(n,t,l,s,o)}).remove(function(s){i.remove(n.getItemGraphicEl(s))}).execute()},r.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(e,a){e.updateLayout(t,a)},this)},r.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=EP(t),this._lineData=null,this.group.removeAll()},r.prototype.incrementalUpdate=function(t,e){this._progressiveEls=[];function a(s){!s.isGroup&&!Wne(s)&&(s.incremental=!0,s.ensureState("emphasis").hoverLayer=!0)}for(var i=t.start;i0}function EP(r){var t=r.hostModel,e=t.getModel("emphasis");return{lineStyle:t.getModel("lineStyle").getLineStyle(),emphasisLineStyle:e.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:t.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:t.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:e.get("disabled"),blurScope:e.get("blurScope"),focus:e.get("focus"),labelStatesModels:Cr(t)}}function kP(r){return isNaN(r[0])||isNaN(r[1])}function ny(r){return r&&!kP(r[0])&&!kP(r[1])}var oy=[],sy=[],ly=[],pl=kr,uy=Jn,OP=Math.abs;function NP(r,t,e){for(var a=r[0],i=r[1],n=r[2],o=1/0,s,l=e*e,u=.1,v=.1;v<=.9;v+=.1){oy[0]=pl(a[0],i[0],n[0],v),oy[1]=pl(a[1],i[1],n[1],v);var h=OP(uy(oy,t)-l);h=0?s=s+u:s=s-u:d>=0?s=s-u:s=s+u}return s}function vy(r,t){var e=[],a=uh,i=[[],[],[]],n=[[],[]],o=[];t/=2,r.eachEdge(function(s,l){var u=s.getLayout(),v=s.getVisual("fromSymbol"),h=s.getVisual("toSymbol");u.__original||(u.__original=[qi(u[0]),qi(u[1])],u[2]&&u.__original.push(qi(u[2])));var f=u.__original;if(u[2]!=null){if($r(i[0],f[0]),$r(i[1],f[2]),$r(i[2],f[1]),v&&v!=="none"){var c=Bv(s.node1),d=NP(i,f[0],c*t);a(i[0][0],i[1][0],i[2][0],d,e),i[0][0]=e[3],i[1][0]=e[4],a(i[0][1],i[1][1],i[2][1],d,e),i[0][1]=e[3],i[1][1]=e[4]}if(h&&h!=="none"){var c=Bv(s.node2),d=NP(i,f[1],c*t);a(i[0][0],i[1][0],i[2][0],d,e),i[1][0]=e[1],i[2][0]=e[2],a(i[0][1],i[1][1],i[2][1],d,e),i[1][1]=e[1],i[2][1]=e[2]}$r(u[0],i[0]),$r(u[1],i[2]),$r(u[2],i[1])}else{if($r(n[0],f[0]),$r(n[1],f[1]),$n(o,n[1],n[0]),Os(o,o),v&&v!=="none"){var c=Bv(s.node1);yd(n[0],n[0],o,c*t)}if(h&&h!=="none"){var c=Bv(s.node2);yd(n[1],n[1],o,-c*t)}$r(u[0],n[0]),$r(u[1],n[1])}})}function zP(r){return r.type==="view"}var Une=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,a){var i=new jh,n=new sM,o=this.group;this._controller=new af(a.getZr()),this._controllerHost={target:o},o.add(i.group),o.add(n.group),this._symbolDraw=i,this._lineDraw=n,this._firstRender=!0},t.prototype.render=function(e,a,i){var n=this,o=e.coordinateSystem;this._model=e;var s=this._symbolDraw,l=this._lineDraw,u=this.group;if(zP(o)){var v={x:o.x,y:o.y,scaleX:o.scaleX,scaleY:o.scaleY};this._firstRender?u.attr(v):wt(u,v,e)}vy(e.getGraph(),zv(e));var h=e.getData();s.updateData(h);var f=e.getEdgeData();l.updateData(f),this._updateNodeAndLinkScale(),this._updateController(e,a,i),clearTimeout(this._layoutTimeout);var c=e.forceLayout,d=e.get(["force","layoutAnimation"]);c&&this._startForceLayoutIteration(c,d);var p=e.get("layout");h.graph.eachNode(function(_){var x=_.dataIndex,S=_.getGraphicEl(),b=_.getModel();if(S){S.off("drag").off("dragend");var w=b.get("draggable");w&&S.on("drag",function(T){switch(p){case"force":c.warmUp(),!n._layouting&&n._startForceLayoutIteration(c,d),c.setFixed(x),h.setItemLayout(x,[S.x,S.y]);break;case"circular":h.setItemLayout(x,[S.x,S.y]),_.setLayout({fixed:!0},!0),nM(e,"symbolSize",_,[T.offsetX,T.offsetY]),n.updateLayout(e);break;default:h.setItemLayout(x,[S.x,S.y]),iM(e.getGraph(),e),n.updateLayout(e);break}}).on("dragend",function(){c&&c.setUnfixed(x)}),S.setDraggable(w,!!b.get("cursor"));var A=b.get(["emphasis","focus"]);A==="adjacency"&&(Xe(S).focus=_.getAdjacentDataIndices())}}),h.graph.eachEdge(function(_){var x=_.getGraphicEl(),S=_.getModel().get(["emphasis","focus"]);x&&S==="adjacency"&&(Xe(x).focus={edge:[_.dataIndex],node:[_.node1.dataIndex,_.node2.dataIndex]})});var g=e.get("layout")==="circular"&&e.get(["circular","rotateLabel"]),m=h.getLayout("cx"),y=h.getLayout("cy");h.graph.eachNode(function(_){y8(_,g,m,y)}),this._firstRender=!1},t.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype._startForceLayoutIteration=function(e,a){var i=this;(function n(){e.step(function(o){i.updateLayout(i._model),(i._layouting=!o)&&(a?i._layoutTimeout=setTimeout(n,16):n())})})()},t.prototype._updateController=function(e,a,i){var n=this,o=this._controller,s=this._controllerHost,l=this.group;if(o.setPointerChecker(function(u,v,h){var f=l.getBoundingRect();return f.applyTransform(l.transform),f.contain(v,h)&&!jp(u,i,e)}),!zP(e.coordinateSystem)){o.disable();return}o.enable(e.get("roam")),s.zoomLimit=e.get("scaleLimit"),s.zoom=e.coordinateSystem.getZoom(),o.off("pan").off("zoom").on("pan",function(u){XC(s,u.dx,u.dy),i.dispatchAction({seriesId:e.id,type:"graphRoam",dx:u.dx,dy:u.dy})}).on("zoom",function(u){KC(s,u.scale,u.originX,u.originY),i.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:u.scale,originX:u.originX,originY:u.originY}),n._updateNodeAndLinkScale(),vy(e.getGraph(),zv(e)),n._lineDraw.updateLayout(),i.updateLabelLayout()})},t.prototype._updateNodeAndLinkScale=function(){var e=this._model,a=e.getData(),i=zv(e);a.eachItemGraphicEl(function(n,o){n&&n.setSymbolScale(i)})},t.prototype.updateLayout=function(e){vy(e.getGraph(),zv(e)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},t.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},t.type="graph",t})(kt);function gl(r){return"_EC_"+r}var $ne=(function(){function r(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return r.prototype.isDirected=function(){return this._directed},r.prototype.addNode=function(t,e){t=t==null?""+e:""+t;var a=this._nodesMap;if(!a[gl(t)]){var i=new is(t,e);return i.hostGraph=this,this.nodes.push(i),a[gl(t)]=i,i}},r.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},r.prototype.getNodeById=function(t){return this._nodesMap[gl(t)]},r.prototype.addEdge=function(t,e,a){var i=this._nodesMap,n=this._edgesMap;if(bt(t)&&(t=this.nodes[t]),bt(e)&&(e=this.nodes[e]),t instanceof is||(t=i[gl(t)]),e instanceof is||(e=i[gl(e)]),!(!t||!e)){var o=t.id+"-"+e.id,s=new x8(t,e,a);return s.hostGraph=this,this._directed&&(t.outEdges.push(s),e.inEdges.push(s)),t.edges.push(s),t!==e&&e.edges.push(s),this.edges.push(s),n[o]=s,s}},r.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},r.prototype.getEdge=function(t,e){t instanceof is&&(t=t.id),e instanceof is&&(e=e.id);var a=this._edgesMap;return this._directed?a[t+"-"+e]:a[t+"-"+e]||a[e+"-"+t]},r.prototype.eachNode=function(t,e){for(var a=this.nodes,i=a.length,n=0;n=0&&t.call(e,a[n],n)},r.prototype.eachEdge=function(t,e){for(var a=this.edges,i=a.length,n=0;n=0&&a[n].node1.dataIndex>=0&&a[n].node2.dataIndex>=0&&t.call(e,a[n],n)},r.prototype.breadthFirstTraverse=function(t,e,a,i){if(e instanceof is||(e=this._nodesMap[gl(e)]),!!e){for(var n=a==="out"?"outEdges":a==="in"?"inEdges":"edges",o=0;o=0&&l.node2.dataIndex>=0});for(var n=0,o=i.length;n=0&&this[r][t].setItemVisual(this.dataIndex,e,a)},getVisual:function(e){return this[r][t].getItemVisual(this.dataIndex,e)},setLayout:function(e,a){this.dataIndex>=0&&this[r][t].setItemLayout(this.dataIndex,e,a)},getLayout:function(){return this[r][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[r][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[r][t].getRawIndex(this.dataIndex)}}}nr(is,S8("hostGraph","data"));nr(x8,S8("hostGraph","edgeData"));function b8(r,t,e,a,i){for(var n=new $ne(a),o=0;o "+f)),u++)}var c=e.get("coordinateSystem"),d;if(c==="cartesian2d"||c==="polar")d=Qi(r,e);else{var p=pu.get(c),g=p?p.dimensions||[]:[];nt(g,"value")<0&&g.concat(["value"]);var m=_u(r,{coordDimensions:g,encodeDefine:e.getEncode()}).dimensions;d=new Xr(m,e),d.initData(r)}var y=new Xr(["value"],e);return y.initData(l,s),i&&i(d,y),a8({mainData:d,struct:n,structAttr:"graph",datas:{node:d,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),n.update(),n}var Yne=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return t.prototype.init=function(e){r.prototype.init.apply(this,arguments);var a=this;function i(){return a._categoriesData}this.legendVisualProvider=new rf(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},t.prototype.mergeOption=function(e){r.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},t.prototype.mergeDefaultAndTheme=function(e){r.prototype.mergeDefaultAndTheme.apply(this,arguments),Ms(e,"edgeLabel",["show"])},t.prototype.getInitialData=function(e,a){var i=e.edges||e.links||[],n=e.data||e.nodes||[],o=this;if(n&&i){Ene(this);var s=b8(n,i,this,!0,l);return $(s.edges,function(u){kne(u.node1,u.node2,this,u.dataIndex)},this),s.data}function l(u,v){u.wrapMethod("getItemModel",function(d){var p=o._categoriesModels,g=d.getShallow("category"),m=p[g];return m&&(m.parentModel=d.parentModel,d.parentModel=m),d});var h=Mt.prototype.getModel;function f(d,p){var g=h.call(this,d,p);return g.resolveParentPath=c,g}v.wrapMethod("getItemModel",function(d){return d.resolveParentPath=c,d.getModel=f,d});function c(d){if(d&&(d[0]==="label"||d[1]==="label")){var p=d.slice();return d[0]==="label"?p[0]="edgeLabel":d[1]==="label"&&(p[1]="edgeLabel"),p}return d}}},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.getCategoriesData=function(){return this._categoriesData},t.prototype.formatTooltip=function(e,a,i){if(i==="edge"){var n=this.getData(),o=this.getDataParams(e,i),s=n.graph.getEdgeByIndex(e),l=n.getName(s.node1.dataIndex),u=n.getName(s.node2.dataIndex),v=[];return l!=null&&v.push(l),u!=null&&v.push(u),Mr("nameValue",{name:v.join(" > "),value:o.value,noValue:o.value==null})}var h=aU({series:this,dataIndex:e,multipleSeries:a});return h},t.prototype._updateCategoriesData=function(){var e=we(this.option.categories||[],function(i){return i.value!=null?i:_e({value:0},i)}),a=new Xr(["value"],this);a.initData(e),this._categoriesData=a,this._categoriesModels=a.mapArray(function(i){return a.getItemModel(i)})},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.isAnimationEnabled=function(){return r.prototype.isAnimationEnabled.call(this)&&!(this.get("layout")==="force"&&this.get(["force","layoutAnimation"]))},t.type="series.graph",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t})(zt),Zne={type:"graphRoam",event:"graphRoam",update:"none"};function Xne(r){r.registerChartView(Une),r.registerSeriesModel(Yne),r.registerProcessor(Dne),r.registerVisual(Lne),r.registerVisual(Ine),r.registerLayout(One),r.registerLayout(r.PRIORITY.VISUAL.POST_CHART_LAYOUT,zne),r.registerLayout(Vne),r.registerCoordinateSystem("graphView",{dimensions:nf.dimensions,create:Fne}),r.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},ir),r.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},ir),r.registerAction(Zne,function(t,e,a){e.eachComponent({mainType:"series",query:t},function(i){var n=i.coordinateSystem,o=jC(n,t,void 0,a);i.setCenter&&i.setCenter(o.center),i.setZoom&&i.setZoom(o.zoom)})})}var Kne=(function(){function r(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return r})(),Qne=(function(r){he(t,r);function t(e){var a=r.call(this,e)||this;return a.type="pointer",a}return t.prototype.getDefaultShape=function(){return new Kne},t.prototype.buildPath=function(e,a){var i=Math.cos,n=Math.sin,o=a.r,s=a.width,l=a.angle,u=a.x-i(l)*s*(s>=o/3?1:2),v=a.y-n(l)*s*(s>=o/3?1:2);l=a.angle-Math.PI/2,e.moveTo(u,v),e.lineTo(a.x+i(l)*s,a.y+n(l)*s),e.lineTo(a.x+i(a.angle)*o,a.y+n(a.angle)*o),e.lineTo(a.x-i(l)*s,a.y-n(l)*s),e.lineTo(u,v)},t})(ht);function jne(r,t){var e=r.get("center"),a=t.getWidth(),i=t.getHeight(),n=Math.min(a,i),o=Ie(e[0],t.getWidth()),s=Ie(e[1],t.getHeight()),l=Ie(r.get("radius"),n/2);return{cx:o,cy:s,r:l}}function cc(r,t){var e=r==null?"":r+"";return t&&(Re(t)?e=t.replace("{value}",e):He(t)&&(e=t(r))),e}var Jne=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,a,i){this.group.removeAll();var n=e.get(["axisLine","lineStyle","color"]),o=jne(e,i);this._renderMain(e,a,i,n,o),this._data=e.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(e,a,i,n,o){var s=this.group,l=e.get("clockwise"),u=-e.get("startAngle")/180*Math.PI,v=-e.get("endAngle")/180*Math.PI,h=e.getModel("axisLine"),f=h.get("roundCap"),c=f?Xd:Qr,d=h.get("show"),p=h.getModel("lineStyle"),g=p.get("width"),m=[u,v];XA(m,!l),u=m[0],v=m[1];for(var y=v-u,_=u,x=[],S=0;d&&S=T&&(C===0?0:n[C-1][0])Math.PI/2&&(z+=Math.PI)):O==="tangential"?z=-A-Math.PI/2:bt(O)&&(z=O*Math.PI/180),z===0?h.add(new pt({style:Ht(_,{text:B,x:V,y:N,verticalAlign:I<-.8?"top":I>.8?"bottom":"middle",align:P<-.4?"left":P>.4?"right":"center"},{inheritColor:F}),silent:!0})):h.add(new pt({style:Ht(_,{text:B,x:V,y:N,verticalAlign:"middle",align:"center"},{inheritColor:F}),silent:!0,originX:V,originY:N,rotation:z}))}if(y.get("show")&&R!==x){var E=y.get("distance");E=E?E+v:v;for(var G=0;G<=S;G++){P=Math.cos(A),I=Math.sin(A);var q=new xr({shape:{x1:P*(d-E)+f,y1:I*(d-E)+c,x2:P*(d-w-E)+f,y2:I*(d-w-E)+c},silent:!0,style:L});L.stroke==="auto"&&q.setStyle({stroke:n((R+G/S)/x)}),h.add(q),A+=C}A-=C}else A+=T}},t.prototype._renderPointer=function(e,a,i,n,o,s,l,u,v){var h=this.group,f=this._data,c=this._progressEls,d=[],p=e.get(["pointer","show"]),g=e.getModel("progress"),m=g.get("show"),y=e.getData(),_=y.mapDimension("value"),x=+e.get("min"),S=+e.get("max"),b=[x,S],w=[s,l];function A(C,M){var L=y.getItemModel(C),D=L.getModel("pointer"),P=Ie(D.get("width"),o.r),I=Ie(D.get("length"),o.r),R=e.get(["pointer","icon"]),E=D.get("offsetCenter"),k=Ie(E[0],o.r),B=Ie(E[1],o.r),F=D.get("keepAspect"),V;return R?V=lr(R,k-P/2,B-I,P,I,null,F):V=new Qne({shape:{angle:-Math.PI/2,width:P,r:I,x:k,y:B}}),V.rotation=-(M+Math.PI/2),V.x=o.cx,V.y=o.cy,V}function T(C,M){var L=g.get("roundCap"),D=L?Xd:Qr,P=g.get("overlap"),I=P?g.get("width"):v/y.count(),R=P?o.r-I:o.r-(C+1)*I,E=P?o.r:o.r-C*I,k=new D({shape:{startAngle:s,endAngle:M,cx:o.cx,cy:o.cy,clockwise:u,r0:R,r:E}});return P&&(k.z2=Pt(y.get(_,C),[x,S],[100,0],!0)),k}(m||p)&&(y.diff(f).add(function(C){var M=y.get(_,C);if(p){var L=A(C,s);$t(L,{rotation:-((isNaN(+M)?w[0]:Pt(M,b,w,!0))+Math.PI/2)},e),h.add(L),y.setItemGraphicEl(C,L)}if(m){var D=T(C,s),P=g.get("clip");$t(D,{shape:{endAngle:Pt(M,b,w,P)}},e),h.add(D),lT(e.seriesIndex,y.dataType,C,D),d[C]=D}}).update(function(C,M){var L=y.get(_,C);if(p){var D=f.getItemGraphicEl(M),P=D?D.rotation:s,I=A(C,P);I.rotation=P,wt(I,{rotation:-((isNaN(+L)?w[0]:Pt(L,b,w,!0))+Math.PI/2)},e),h.add(I),y.setItemGraphicEl(C,I)}if(m){var R=c[M],E=R?R.shape.endAngle:s,k=T(C,E),B=g.get("clip");wt(k,{shape:{endAngle:Pt(L,b,w,B)}},e),h.add(k),lT(e.seriesIndex,y.dataType,C,k),d[C]=k}}).execute(),y.each(function(C){var M=y.getItemModel(C),L=M.getModel("emphasis"),D=L.get("focus"),P=L.get("blurScope"),I=L.get("disabled");if(p){var R=y.getItemGraphicEl(C),E=y.getItemVisual(C,"style"),k=E.fill;if(R instanceof Dr){var B=R.style;R.useStyle(_e({image:B.image,x:B.x,y:B.y,width:B.width,height:B.height},E))}else R.useStyle(E),R.type!=="pointer"&&R.setColor(k);R.setStyle(M.getModel(["pointer","itemStyle"]).getItemStyle()),R.style.fill==="auto"&&R.setStyle("fill",n(Pt(y.get(_,C),b,[0,1],!0))),R.z2EmphasisLift=0,Vr(R,M),tr(R,D,P,I)}if(m){var F=d[C];F.useStyle(y.getItemVisual(C,"style")),F.setStyle(M.getModel(["progress","itemStyle"]).getItemStyle()),F.z2EmphasisLift=0,Vr(F,M),tr(F,D,P,I)}}),this._progressEls=d)},t.prototype._renderAnchor=function(e,a){var i=e.getModel("anchor"),n=i.get("show");if(n){var o=i.get("size"),s=i.get("icon"),l=i.get("offsetCenter"),u=i.get("keepAspect"),v=lr(s,a.cx-o/2+Ie(l[0],a.r),a.cy-o/2+Ie(l[1],a.r),o,o,null,u);v.z2=i.get("showAbove")?1:0,v.setStyle(i.getModel("itemStyle").getItemStyle()),this.group.add(v)}},t.prototype._renderTitleAndDetail=function(e,a,i,n,o){var s=this,l=e.getData(),u=l.mapDimension("value"),v=+e.get("min"),h=+e.get("max"),f=new Ze,c=[],d=[],p=e.isAnimationEnabled(),g=e.get(["pointer","showAbove"]);l.diff(this._data).add(function(m){c[m]=new pt({silent:!0}),d[m]=new pt({silent:!0})}).update(function(m,y){c[m]=s._titleEls[y],d[m]=s._detailEls[y]}).execute(),l.each(function(m){var y=l.getItemModel(m),_=l.get(u,m),x=new Ze,S=n(Pt(_,[v,h],[0,1],!0)),b=y.getModel("title");if(b.get("show")){var w=b.get("offsetCenter"),A=o.cx+Ie(w[0],o.r),T=o.cy+Ie(w[1],o.r),C=c[m];C.attr({z2:g?0:2,style:Ht(b,{x:A,y:T,text:l.getName(m),align:"center",verticalAlign:"middle"},{inheritColor:S})}),x.add(C)}var M=y.getModel("detail");if(M.get("show")){var L=M.get("offsetCenter"),D=o.cx+Ie(L[0],o.r),P=o.cy+Ie(L[1],o.r),I=Ie(M.get("width"),o.r),R=Ie(M.get("height"),o.r),E=e.get(["progress","show"])?l.getItemVisual(m,"style").fill:S,C=d[m],k=M.get("formatter");C.attr({z2:g?0:2,style:Ht(M,{x:D,y:P,text:cc(_,k),width:isNaN(I)?null:I,height:isNaN(R)?null:R,align:"center",verticalAlign:"middle"},{inheritColor:E})}),vW(C,{normal:M},_,function(F){return cc(F,k)}),p&&hW(C,m,l,e,{getFormattedLabel:function(F,V,N,O,z,G){return cc(G?G.interpolatedValue:_,k)}}),x.add(C)}f.add(x)}),this.group.add(f),this._titleEls=c,this._detailEls=d},t.type="gauge",t})(kt),eoe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.visualStyleAccessPath="itemStyle",e}return t.prototype.getInitialData=function(e,a){return bu(this,["value"])},t.type="series.gauge",t.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},t})(zt);function toe(r){r.registerChartView(Jne),r.registerSeriesModel(eoe)}var roe=["itemStyle","opacity"],aoe=(function(r){he(t,r);function t(e,a){var i=r.call(this)||this,n=i,o=new ea,s=new pt;return n.setTextContent(s),i.setTextGuideLine(o),i.updateData(e,a,!0),i}return t.prototype.updateData=function(e,a,i){var n=this,o=e.hostModel,s=e.getItemModel(a),l=e.getItemLayout(a),u=s.getModel("emphasis"),v=s.get(roe);v=v==null?1:v,i||xi(n),n.useStyle(e.getItemVisual(a,"style")),n.style.lineJoin="round",i?(n.setShape({points:l.points}),n.style.opacity=0,$t(n,{style:{opacity:v}},o,a)):wt(n,{style:{opacity:v},shape:{points:l.points}},o,a),Vr(n,s),this._updateLabel(e,a),tr(this,u.get("focus"),u.get("blurScope"),u.get("disabled"))},t.prototype._updateLabel=function(e,a){var i=this,n=this.getTextGuideLine(),o=i.getTextContent(),s=e.hostModel,l=e.getItemModel(a),u=e.getItemLayout(a),v=u.label,h=e.getItemVisual(a,"style"),f=h.fill;Gr(o,Cr(l),{labelFetcher:e.hostModel,labelDataIndex:a,defaultOpacity:h.opacity,defaultText:e.getName(a)},{normal:{align:v.textAlign,verticalAlign:v.verticalAlign}}),i.setTextConfig({local:!0,inside:!!v.inside,insideStroke:f,outsideFill:f});var c=v.linePoints;n.setShape({points:c}),i.textGuideLineConfig={anchor:c?new rt(c[0][0],c[0][1]):null},wt(o,{style:{x:v.x,y:v.y}},s,a),o.attr({rotation:v.rotation,originX:v.x,originY:v.y,z2:10}),WC(i,UC(l),{stroke:f})},t})(jr),ioe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.ignoreLabelLineUpdate=!0,e}return t.prototype.render=function(e,a,i){var n=e.getData(),o=this._data,s=this.group;n.diff(o).add(function(l){var u=new aoe(n,l);n.setItemGraphicEl(l,u),s.add(u)}).update(function(l,u){var v=o.getItemGraphicEl(u);v.updateData(n,l),s.add(v),n.setItemGraphicEl(l,v)}).remove(function(l){var u=o.getItemGraphicEl(l);mh(u,e,l)}).execute(),this._data=n},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.prototype.dispose=function(){},t.type="funnel",t})(kt),noe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new rf(Ne(this.getData,this),Ne(this.getRawData,this)),this._defaultLabelLine(e)},t.prototype.getInitialData=function(e,a){return bu(this,{coordDimensions:["value"],encodeDefaulter:et(yC,this)})},t.prototype._defaultLabelLine=function(e){Ms(e,"labelLine",["show"]);var a=e.labelLine,i=e.emphasis.labelLine;a.show=a.show&&e.label.show,i.show=i.show&&e.emphasis.label.show},t.prototype.getDataParams=function(e){var a=this.getData(),i=r.prototype.getDataParams.call(this,e),n=a.mapDimension("value"),o=a.getSum(n);return i.percent=o?+(a.get(n,e)/o*100).toFixed(2):0,i.$vars.push("percent"),i},t.type="series.funnel",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t})(zt);function ooe(r,t){return dr(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function soe(r,t){for(var e=r.mapDimension("value"),a=r.mapArray(e,function(l){return l}),i=[],n=t==="ascending",o=0,s=r.count();owoe)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([r.offsetX,r.offsetY]);i.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(r){if(!(this._mouseDownPoint||!fy(this,"mousemove"))){var t=this._model,e=t.coordinateSystem.getSlidedAxisExpandWindow([r.offsetX,r.offsetY]),a=e.behavior;a==="jump"&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand(a==="none"?null:{axisExpandWindow:e.axisExpandWindow,animation:a==="jump"?null:{duration:0}})}}};function fy(r,t){var e=r._model;return e.get("axisExpandable")&&e.get("axisExpandTriggerOn")===t}var Coe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(){r.prototype.init.apply(this,arguments),this.mergeOption({})},t.prototype.mergeOption=function(e){var a=this.option;e&&tt(a,e,!0),this._initDimensions()},t.prototype.contains=function(e,a){var i=e.get("parallelIndex");return i!=null&&a.getComponent("parallel",i)===this},t.prototype.setAxisExpand=function(e){$(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(a){e.hasOwnProperty(a)&&(this.option[a]=e[a])},this)},t.prototype._initDimensions=function(){var e=this.dimensions=[],a=this.parallelAxisIndex=[],i=Ct(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(n){return(n.get("parallelIndex")||0)===this.componentIndex},this);$(i,function(n){e.push("dim"+n.get("dim")),a.push(n.componentIndex)})},t.type="parallel",t.dependencies=["parallelAxis"],t.layoutMode="box",t.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},t})(ut),Moe=(function(r){he(t,r);function t(e,a,i,n,o){var s=r.call(this,e,a,i)||this;return s.type=n||"value",s.axisIndex=o,s}return t.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"},t})(Ja);function qs(r,t,e,a,i,n){r=r||0;var o=e[1]-e[0];if(i!=null&&(i=ml(i,[0,o])),n!=null&&(n=Math.max(n,i!=null?i:0)),a==="all"){var s=Math.abs(t[1]-t[0]);s=ml(s,[0,o]),i=n=ml(s,[i,n]),a=0}t[0]=ml(t[0],e),t[1]=ml(t[1],e);var l=cy(t,a);t[a]+=r;var u=i||0,v=e.slice();l.sign<0?v[0]+=u:v[1]-=u,t[a]=ml(t[a],v);var h;return h=cy(t,a),i!=null&&(h.sign!==l.sign||h.spann&&(t[1-a]=t[a]+h.sign*n),t}function cy(r,t){var e=r[t]-r[1-t];return{span:Math.abs(e),sign:e>0?-1:e<0?1:t?-1:1}}function ml(r,t){return Math.min(t[1]!=null?t[1]:1/0,Math.max(t[0]!=null?t[0]:-1/0,r))}var dy=$,T8=Math.min,A8=Math.max,GP=Math.floor,Doe=Math.ceil,FP=ar,Loe=Math.PI,Ioe=(function(){function r(t,e,a){this.type="parallel",this._axesMap=Ge(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,a)}return r.prototype._init=function(t,e,a){var i=t.dimensions,n=t.parallelAxisIndex;dy(i,function(o,s){var l=n[s],u=e.getComponent("parallelAxis",l),v=this._axesMap.set(o,new Moe(o,Kh(u),[0,0],u.get("type"),l)),h=v.type==="category";v.onBand=h&&u.get("boundaryGap"),v.inverse=u.get("inverse"),u.axis=v,v.model=u,v.coordinateSystem=u.coordinateSystem=this},this)},r.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},r.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),a=e.axisBase,i=e.layoutBase,n=e.pixelDimIndex,o=t[1-n],s=t[n];return o>=a&&o<=a+e.axisLength&&s>=i&&s<=i+e.layoutLength},r.prototype.getModel=function(){return this._model},r.prototype._updateAxesFromSeries=function(t,e){e.eachSeries(function(a){if(t.contains(a,e)){var i=a.getData();dy(this.dimensions,function(n){var o=this._axesMap.get(n);o.scale.unionExtentFromData(i,i.mapDimension(n)),Rs(o.scale,o.model)},this)}},this)},r.prototype.resize=function(t,e){this._rect=dr(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},r.prototype.getRect=function(){return this._rect},r.prototype._makeLayoutInfo=function(){var t=this._model,e=this._rect,a=["x","y"],i=["width","height"],n=t.get("layout"),o=n==="horizontal"?0:1,s=e[i[o]],l=[0,s],u=this.dimensions.length,v=dc(t.get("axisExpandWidth"),l),h=dc(t.get("axisExpandCount")||0,[0,u]),f=t.get("axisExpandable")&&u>3&&u>h&&h>1&&v>0&&s>0,c=t.get("axisExpandWindow"),d;if(c)d=dc(c[1]-c[0],l),c[1]=c[0]+d;else{d=dc(v*(h-1),l);var p=t.get("axisExpandCenter")||GP(u/2);c=[v*p-d/2],c[1]=c[0]+d}var g=(s-d)/(u-h);g<3&&(g=0);var m=[GP(FP(c[0]/v,1))+1,Doe(FP(c[1]/v,1))-1],y=g/v*c[0];return{layout:n,pixelDimIndex:o,layoutBase:e[a[o]],layoutLength:s,axisBase:e[a[1-o]],axisLength:e[i[1-o]],axisExpandable:f,axisExpandWidth:v,axisCollapseWidth:g,axisExpandWindow:c,axisCount:u,winInnerIndices:m,axisExpandWindow0Pos:y}},r.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,a=this.dimensions,i=this._makeLayoutInfo(),n=i.layout;e.each(function(o){var s=[0,i.axisLength],l=o.inverse?1:0;o.setExtent(s[l],s[1-l])}),dy(a,function(o,s){var l=(i.axisExpandable?Roe:Poe)(s,i),u={horizontal:{x:l.position,y:i.axisLength},vertical:{x:0,y:l.position}},v={horizontal:Loe/2,vertical:0},h=[u[n].x+t.x,u[n].y+t.y],f=v[n],c=xa();co(c,c,f),yi(c,c,h),this._axesLayout[o]={position:h,rotation:f,transform:c,axisNameAvailableWidth:l.axisNameAvailableWidth,axisLabelShow:l.axisLabelShow,nameTruncateMaxWidth:l.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},r.prototype.getAxis=function(t){return this._axesMap.get(t)},r.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},r.prototype.eachActiveState=function(t,e,a,i){a==null&&(a=0),i==null&&(i=t.count());var n=this._axesMap,o=this.dimensions,s=[],l=[];$(o,function(g){s.push(t.mapDimension(g)),l.push(n.get(g).model)});for(var u=this.hasAxisBrushed(),v=a;vn*(1-h[0])?(u="jump",l=s-n*(1-h[2])):(l=s-n*h[1])>=0&&(l=s-n*(1-h[1]))<=0&&(l=0),l*=e.axisExpandWidth/v,l?qs(l,i,o,"all"):u="none";else{var c=i[1]-i[0],d=o[1]*s/c;i=[A8(0,d-c/2)],i[1]=T8(o[1],i[0]+c),i[0]=i[1]-c}return{axisExpandWindow:i,behavior:u}},r})();function dc(r,t){return T8(A8(r,t[0]),t[1])}function Poe(r,t){var e=t.layoutLength/(t.axisCount-1);return{position:e*r,axisNameAvailableWidth:e,axisLabelShow:!0}}function Roe(r,t){var e=t.layoutLength,a=t.axisExpandWidth,i=t.axisCount,n=t.axisCollapseWidth,o=t.winInnerIndices,s,l=n,u=!1,v;return r=0;i--)Ta(a[i])},t.prototype.getActiveState=function(e){var a=this.activeIntervals;if(!a.length)return"normal";if(e==null||isNaN(+e))return"inactive";if(a.length===1){var i=a[0];if(i[0]<=e&&e<=i[1])return"active"}else for(var n=0,o=a.length;nzoe}function P8(r){var t=r.length-1;return t<0&&(t=0),[r[0],r[t]]}function R8(r,t,e,a){var i=new Ze;return i.add(new gt({name:"main",style:fM(e),silent:!0,draggable:!0,cursor:"move",drift:et(WP,r,t,i,["n","s","w","e"]),ondragend:et(ks,t,{isEnd:!0})})),$(a,function(n){i.add(new gt({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:et(WP,r,t,i,n),ondragend:et(ks,t,{isEnd:!0})}))}),i}function E8(r,t,e,a){var i=a.brushStyle.lineWidth||0,n=eu(i,Boe),o=e[0][0],s=e[1][0],l=o-i/2,u=s-i/2,v=e[0][1],h=e[1][1],f=v-n+i/2,c=h-n+i/2,d=v-o,p=h-s,g=d+i,m=p+i;sn(r,t,"main",o,s,d,p),a.transformable&&(sn(r,t,"w",l,u,n,m),sn(r,t,"e",f,u,n,m),sn(r,t,"n",l,u,g,n),sn(r,t,"s",l,c,g,n),sn(r,t,"nw",l,u,n,n),sn(r,t,"ne",f,u,n,n),sn(r,t,"sw",l,c,n,n),sn(r,t,"se",f,c,n,n))}function jT(r,t){var e=t.__brushOption,a=e.transformable,i=t.childAt(0);i.useStyle(fM(e)),i.attr({silent:!a,cursor:a?"move":"default"}),$([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(n){var o=t.childOfName(n.join("")),s=n.length===1?JT(r,n[0]):Woe(r,n);o&&o.attr({silent:!a,invisible:!a,cursor:a?Goe[s]+"-resize":null})})}function sn(r,t,e,a,i,n,o){var s=t.childOfName(e);s&&s.setShape($oe(cM(r,t,[[a,i],[a+n,i+o]])))}function fM(r){return Ue({strokeNoScale:!0},r.brushStyle)}function k8(r,t,e,a){var i=[Ph(r,e),Ph(t,a)],n=[eu(r,e),eu(t,a)];return[[i[0],n[0]],[i[1],n[1]]]}function qoe(r){return ro(r.group)}function JT(r,t){var e={w:"left",e:"right",n:"top",s:"bottom"},a={left:"w",right:"e",top:"n",bottom:"s"},i=Op(e[t],qoe(r));return a[i]}function Woe(r,t){var e=[JT(r,t[0]),JT(r,t[1])];return(e[0]==="e"||e[0]==="w")&&e.reverse(),e.join("")}function WP(r,t,e,a,i,n){var o=e.__brushOption,s=r.toRectRange(o.range),l=O8(t,i,n);$(a,function(u){var v=Voe[u];s[v[0]][v[1]]+=l[v[0]]}),o.range=r.fromRectRange(k8(s[0][0],s[1][0],s[0][1],s[1][1])),uM(t,e),ks(t,{isEnd:!1})}function Uoe(r,t,e,a){var i=t.__brushOption.range,n=O8(r,e,a);$(i,function(o){o[0]+=n[0],o[1]+=n[1]}),uM(r,t),ks(r,{isEnd:!1})}function O8(r,t,e){var a=r.group,i=a.transformCoordToLocal(t,e),n=a.transformCoordToLocal(0,0);return[i[0]-n[0],i[1]-n[1]]}function cM(r,t,e){var a=I8(r,t);return a&&a!==Es?a.clipPath(e,r._transform):Ye(e)}function $oe(r){var t=Ph(r[0][0],r[1][0]),e=Ph(r[0][1],r[1][1]),a=eu(r[0][0],r[1][0]),i=eu(r[0][1],r[1][1]);return{x:t,y:e,width:a-t,height:i-e}}function Yoe(r,t,e){if(!(!r._brushType||Xoe(r,t.offsetX,t.offsetY))){var a=r._zr,i=r._covers,n=hM(r,t,e);if(!r._dragging)for(var o=0;oa.getWidth()||e<0||e>a.getHeight()}var rg={lineX:YP(0),lineY:YP(1),rect:{createCover:function(r,t){function e(a){return a}return R8({toRectRange:e,fromRectRange:e},r,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(r){var t=P8(r);return k8(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(r,t,e,a){E8(r,t,e,a)},updateCommon:jT,contain:tA},polygon:{createCover:function(r,t){var e=new Ze;return e.add(new ea({name:"main",style:fM(t),silent:!0})),e},getCreatingRange:function(r){return r},endCreating:function(r,t){t.remove(t.childAt(0)),t.add(new jr({name:"main",draggable:!0,drift:et(Uoe,r,t),ondragend:et(ks,r,{isEnd:!0})}))},updateCoverShape:function(r,t,e,a){t.childAt(0).setShape({points:cM(r,t,e)})},updateCommon:jT,contain:tA}};function YP(r){return{createCover:function(t,e){return R8({toRectRange:function(a){var i=[a,[0,100]];return r&&i.reverse(),i},fromRectRange:function(a){return a[r]}},t,e,[[["w"],["e"]],[["n"],["s"]]][r])},getCreatingRange:function(t){var e=P8(t),a=Ph(e[0][r],e[1][r]),i=eu(e[0][r],e[1][r]);return[a,i]},updateCoverShape:function(t,e,a,i){var n,o=I8(t,e);if(o!==Es&&o.getLinearBrushOtherExtent)n=o.getLinearBrushOtherExtent(r);else{var s=t._zr;n=[0,[s.getWidth(),s.getHeight()][1-r]]}var l=[a,n];r&&l.reverse(),E8(t,e,l,i)},updateCommon:jT,contain:tA}}function z8(r){return r=dM(r),function(t){return oC(t,r)}}function B8(r,t){return r=dM(r),function(e){var a=t!=null?t:e,i=a?r.width:r.height,n=a?r.x:r.y;return[n,n+(i||0)]}}function V8(r,t,e){var a=dM(r);return function(i,n){return a.contain(n[0],n[1])&&!jp(i,t,e)}}function dM(r){return at.create(r)}var Koe=["axisLine","axisTickLabel","axisName"],Qoe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,a){r.prototype.init.apply(this,arguments),(this._brushController=new lM(a.getZr())).on("brush",Ne(this._onBrush,this))},t.prototype.render=function(e,a,i,n){if(!joe(e,a,n)){this.axisModel=e,this.api=i,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new Ze,this.group.add(this._axisGroup),!!e.get("show")){var s=ese(e,a),l=s.coordinateSystem,u=e.getAreaSelectStyle(),v=u.width,h=e.axis.dim,f=l.getAxisLayout(h),c=_e({strokeContainThreshold:v},f),d=new la(e,c);$(Koe,d.add,d),this._axisGroup.add(d.getGroup()),this._refreshBrushController(c,u,e,s,v,i),Yh(o,this._axisGroup,e)}}},t.prototype._refreshBrushController=function(e,a,i,n,o,s){var l=i.axis.getExtent(),u=l[1]-l[0],v=Math.min(30,Math.abs(u)*.1),h=at.create({x:l[0],y:-o/2,width:u,height:o});h.x-=v,h.width+=2*v,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,x:e.position[0],y:e.position[1]}).setPanels([{panelId:"pl",clipPath:z8(h),isTargetByCursor:V8(h,s,n),getLinearBrushOtherExtent:B8(h,0)}]).enableBrush({brushType:"lineX",brushStyle:a,removeOnClick:!0}).updateCovers(Joe(i))},t.prototype._onBrush=function(e){var a=e.areas,i=this.axisModel,n=i.axis,o=we(a,function(s){return[n.coordToData(s.range[0],!0),n.coordToData(s.range[1],!0)]});(!i.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:i.id,intervals:o})},t.prototype.dispose=function(){this._brushController.dispose()},t.type="parallelAxis",t})(Wt);function joe(r,t,e){return e&&e.type==="axisAreaSelect"&&t.findComponents({mainType:"parallelAxis",query:e})[0]===r}function Joe(r){var t=r.axis;return we(r.activeIntervals,function(e){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}})}function ese(r,t){return t.getComponent("parallel",r.get("parallelIndex"))}var tse={type:"axisAreaSelect",event:"axisAreaSelected"};function rse(r){r.registerAction(tse,function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},function(a){a.axis.model.setActiveIntervals(t.intervals)})}),r.registerAction("parallelAxisExpand",function(t,e){e.eachComponent({mainType:"parallel",query:t},function(a){a.setAxisExpand(t)})})}var ase={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function G8(r){r.registerComponentView(Toe),r.registerComponentModel(Coe),r.registerCoordinateSystem("parallel",koe),r.registerPreprocessor(xoe),r.registerComponentModel(KT),r.registerComponentView(Qoe),Jl(r,"parallel",KT,ase),rse(r)}function ise(r){ot(G8),r.registerChartView(foe),r.registerSeriesModel(poe),r.registerVisual(r.PRIORITY.VISUAL.BRUSH,_oe)}var nse=(function(){function r(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return r})(),ose=(function(r){he(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new nse},t.prototype.buildPath=function(e,a){var i=a.extent;e.moveTo(a.x1,a.y1),e.bezierCurveTo(a.cpx1,a.cpy1,a.cpx2,a.cpy2,a.x2,a.y2),a.orient==="vertical"?(e.lineTo(a.x2+i,a.y2),e.bezierCurveTo(a.cpx2+i,a.cpy2,a.cpx1+i,a.cpy1,a.x1+i,a.y1)):(e.lineTo(a.x2,a.y2+i),e.bezierCurveTo(a.cpx2,a.cpy2+i,a.cpx1,a.cpy1+i,a.x1,a.y1+i)),e.closePath()},t.prototype.highlight=function(){xn(this)},t.prototype.downplay=function(){Sn(this)},t})(ht),sse=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._focusAdjacencyDisabled=!1,e}return t.prototype.render=function(e,a,i){var n=this,o=e.getGraph(),s=this.group,l=e.layoutInfo,u=l.width,v=l.height,h=e.getData(),f=e.getData("edge"),c=e.get("orient");this._model=e,s.removeAll(),s.x=l.x,s.y=l.y,o.eachEdge(function(d){var p=new ose,g=Xe(p);g.dataIndex=d.dataIndex,g.seriesIndex=e.seriesIndex,g.dataType="edge";var m=d.getModel(),y=m.getModel("lineStyle"),_=y.get("curveness"),x=d.node1.getLayout(),S=d.node1.getModel(),b=S.get("localX"),w=S.get("localY"),A=d.node2.getLayout(),T=d.node2.getModel(),C=T.get("localX"),M=T.get("localY"),L=d.getLayout(),D,P,I,R,E,k,B,F;p.shape.extent=Math.max(1,L.dy),p.shape.orient=c,c==="vertical"?(D=(b!=null?b*u:x.x)+L.sy,P=(w!=null?w*v:x.y)+x.dy,I=(C!=null?C*u:A.x)+L.ty,R=M!=null?M*v:A.y,E=D,k=P*(1-_)+R*_,B=I,F=P*_+R*(1-_)):(D=(b!=null?b*u:x.x)+x.dx,P=(w!=null?w*v:x.y)+L.sy,I=C!=null?C*u:A.x,R=(M!=null?M*v:A.y)+L.ty,E=D*(1-_)+I*_,k=P,B=D*_+I*(1-_),F=R),p.setShape({x1:D,y1:P,x2:I,y2:R,cpx1:E,cpy1:k,cpx2:B,cpy2:F}),p.useStyle(y.getItemStyle()),ZP(p.style,c,d);var V=""+m.get("value"),N=Cr(m,"edgeLabel");Gr(p,N,{labelFetcher:{getFormattedLabel:function(G,q,H,U,W,Y){return e.getFormattedLabel(G,q,"edge",U,ci(W,N.normal&&N.normal.get("formatter"),V),Y)}},labelDataIndex:d.dataIndex,defaultText:V}),p.setTextConfig({position:"inside"});var O=m.getModel("emphasis");Vr(p,m,"lineStyle",function(G){var q=G.getItemStyle();return ZP(q,c,d),q}),s.add(p),f.setItemGraphicEl(d.dataIndex,p);var z=O.get("focus");tr(p,z==="adjacency"?d.getAdjacentDataIndices():z==="trajectory"?d.getTrajectoryDataIndices():z,O.get("blurScope"),O.get("disabled"))}),o.eachNode(function(d){var p=d.getLayout(),g=d.getModel(),m=g.get("localX"),y=g.get("localY"),_=g.getModel("emphasis"),x=g.get(["itemStyle","borderRadius"])||0,S=new gt({shape:{x:m!=null?m*u:p.x,y:y!=null?y*v:p.y,width:p.dx,height:p.dy,r:x},style:g.getModel("itemStyle").getItemStyle(),z2:10});Gr(S,Cr(g),{labelFetcher:{getFormattedLabel:function(w,A){return e.getFormattedLabel(w,A,"node")}},labelDataIndex:d.dataIndex,defaultText:d.id}),S.disableLabelAnimation=!0,S.setStyle("fill",d.getVisual("color")),S.setStyle("decal",d.getVisual("style").decal),Vr(S,g),s.add(S),h.setItemGraphicEl(d.dataIndex,S),Xe(S).dataType="node";var b=_.get("focus");tr(S,b==="adjacency"?d.getAdjacentDataIndices():b==="trajectory"?d.getTrajectoryDataIndices():b,_.get("blurScope"),_.get("disabled"))}),h.eachItemGraphicEl(function(d,p){var g=h.getItemModel(p);g.get("draggable")&&(d.drift=function(m,y){n._focusAdjacencyDisabled=!0,this.shape.x+=m,this.shape.y+=y,this.dirty(),i.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:h.getRawIndex(p),localX:this.shape.x/u,localY:this.shape.y/v})},d.ondragend=function(){n._focusAdjacencyDisabled=!1},d.draggable=!0,d.cursor="move")}),!this._data&&e.isAnimationEnabled()&&s.setClipPath(lse(s.getBoundingRect(),e,function(){s.removeClipPath()})),this._data=e.getData()},t.prototype.dispose=function(){},t.type="sankey",t})(kt);function ZP(r,t,e){switch(r.fill){case"source":r.fill=e.node1.getVisual("color"),r.decal=e.node1.getVisual("style").decal;break;case"target":r.fill=e.node2.getVisual("color"),r.decal=e.node2.getVisual("style").decal;break;case"gradient":var a=e.node1.getVisual("color"),i=e.node2.getVisual("color");Re(a)&&Re(i)&&(r.fill=new lu(0,0,+(t==="horizontal"),+(t==="vertical"),[{color:a,offset:0},{color:i,offset:1}]))}}function lse(r,t,e){var a=new gt({shape:{x:r.x-10,y:r.y-10,width:0,height:r.height+20}});return $t(a,{shape:{width:r.width+20}},t,e),a}var use=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(e,a){var i=e.edges||e.links||[],n=e.data||e.nodes||[],o=e.levels||[];this.levelModels=[];for(var s=this.levelModels,l=0;l=0&&(s[o[l].depth]=new Mt(o[l],this,a));var u=b8(n,i,this,!0,v);return u.data;function v(h,f){h.wrapMethod("getItemModel",function(c,d){var p=c.parentModel,g=p.getData().getItemLayout(d);if(g){var m=g.depth,y=p.levelModels[m];y&&(c.parentModel=y)}return c}),f.wrapMethod("getItemModel",function(c,d){var p=c.parentModel,g=p.getGraph().getEdgeByIndex(d),m=g.node1.getLayout();if(m){var y=m.depth,_=p.levelModels[y];_&&(c.parentModel=_)}return c})}},t.prototype.setNodePosition=function(e,a){var i=this.option.data||this.option.nodes,n=i[e];n.localX=a[0],n.localY=a[1]},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.formatTooltip=function(e,a,i){function n(c){return isNaN(c)||c==null}if(i==="edge"){var o=this.getDataParams(e,i),s=o.data,l=o.value,u=s.source+" -- "+s.target;return Mr("nameValue",{name:u,value:l,noValue:n(l)})}else{var v=this.getGraph().getNodeByIndex(e),h=v.getLayout().value,f=this.getDataParams(e,i).data.name;return Mr("nameValue",{name:f!=null?f+"":null,value:h,noValue:n(h)})}},t.prototype.optionUpdated=function(){},t.prototype.getDataParams=function(e,a){var i=r.prototype.getDataParams.call(this,e,a);if(i.value==null&&a==="node"){var n=this.getGraph().getNodeByIndex(e),o=n.getLayout().value;i.value=o}return i},t.type="series.sankey",t.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},t})(zt);function vse(r,t){r.eachSeriesByType("sankey",function(e){var a=e.get("nodeWidth"),i=e.get("nodeGap"),n=hse(e,t);e.layoutInfo=n;var o=n.width,s=n.height,l=e.getGraph(),u=l.nodes,v=l.edges;cse(u);var h=Ct(u,function(p){return p.getLayout().value===0}),f=h.length!==0?0:e.get("layoutIterations"),c=e.get("orient"),d=e.get("nodeAlign");fse(u,v,a,i,o,s,f,c,d)})}function hse(r,t){return dr(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function fse(r,t,e,a,i,n,o,s,l){dse(r,t,e,i,n,s,l),yse(r,t,n,i,a,o,s),Mse(r,s)}function cse(r){$(r,function(t){var e=no(t.outEdges,tp),a=no(t.inEdges,tp),i=t.getValue()||0,n=Math.max(e,a,i);t.setLayout({value:n},!0)})}function dse(r,t,e,a,i,n,o){for(var s=[],l=[],u=[],v=[],h=0,f=0;f=0;m&&g.depth>c&&(c=g.depth),p.setLayout({depth:m?g.depth:h},!0),n==="vertical"?p.setLayout({dy:e},!0):p.setLayout({dx:e},!0);for(var y=0;yh-1?c:h-1;o&&o!=="left"&&pse(r,o,n,w);var A=n==="vertical"?(i-e)/w:(a-e)/w;mse(r,A,n)}function F8(r){var t=r.hostGraph.data.getRawDataItem(r.dataIndex);return t.depth!=null&&t.depth>=0}function pse(r,t,e,a){if(t==="right"){for(var i=[],n=r,o=0;n.length;){for(var s=0;s0;n--)l*=.99,Sse(s,l,o),py(s,i,e,a,o),Cse(s,l,o),py(s,i,e,a,o)}function _se(r,t){var e=[],a=t==="vertical"?"y":"x",i=iT(r,function(n){return n.getLayout()[a]});return i.keys.sort(function(n,o){return n-o}),$(i.keys,function(n){e.push(i.buckets.get(n))}),e}function xse(r,t,e,a,i,n){var o=1/0;$(r,function(s){var l=s.length,u=0;$(s,function(h){u+=h.getLayout().value});var v=n==="vertical"?(a-(l-1)*i)/u:(e-(l-1)*i)/u;v0&&(s=l.getLayout()[n]+u,i==="vertical"?l.setLayout({x:s},!0):l.setLayout({y:s},!0)),v=l.getLayout()[n]+l.getLayout()[f]+t;var d=i==="vertical"?a:e;if(u=v-t-d,u>0){s=l.getLayout()[n]-u,i==="vertical"?l.setLayout({x:s},!0):l.setLayout({y:s},!0),v=s;for(var c=h-2;c>=0;--c)l=o[c],u=l.getLayout()[n]+l.getLayout()[f]+t-v,u>0&&(s=l.getLayout()[n]-u,i==="vertical"?l.setLayout({x:s},!0):l.setLayout({y:s},!0)),v=l.getLayout()[n]}})}function Sse(r,t,e){$(r.slice().reverse(),function(a){$(a,function(i){if(i.outEdges.length){var n=no(i.outEdges,bse,e)/no(i.outEdges,tp);if(isNaN(n)){var o=i.outEdges.length;n=o?no(i.outEdges,wse,e)/o:0}if(e==="vertical"){var s=i.getLayout().x+(n-vo(i,e))*t;i.setLayout({x:s},!0)}else{var l=i.getLayout().y+(n-vo(i,e))*t;i.setLayout({y:l},!0)}}})})}function bse(r,t){return vo(r.node2,t)*r.getValue()}function wse(r,t){return vo(r.node2,t)}function Tse(r,t){return vo(r.node1,t)*r.getValue()}function Ase(r,t){return vo(r.node1,t)}function vo(r,t){return t==="vertical"?r.getLayout().x+r.getLayout().dx/2:r.getLayout().y+r.getLayout().dy/2}function tp(r){return r.getValue()}function no(r,t,e){for(var a=0,i=r.length,n=-1;++no&&(o=l)}),$(a,function(s){var l=new Ar({type:"color",mappingMethod:"linear",dataExtent:[n,o],visual:t.get("color")}),u=l.mapValueToVisual(s.getLayout().value),v=s.getModel().get(["itemStyle","color"]);v!=null?(s.setVisual("color",v),s.setVisual("style",{fill:v})):(s.setVisual("color",u),s.setVisual("style",{fill:u}))})}i.length&&$(i,function(s){var l=s.getModel().get("lineStyle");s.setVisual("style",l)})})}function Lse(r){r.registerChartView(sse),r.registerSeriesModel(use),r.registerLayout(vse),r.registerVisual(Dse),r.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},function(a){a.setNodePosition(t.dataIndex,[t.localX,t.localY])})})}var H8=(function(){function r(){}return r.prototype._hasEncodeRule=function(t){var e=this.getEncode();return e&&e.get(t)!=null},r.prototype.getInitialData=function(t,e){var a,i=e.getComponent("xAxis",this.get("xAxisIndex")),n=e.getComponent("yAxis",this.get("yAxisIndex")),o=i.get("type"),s=n.get("type"),l;o==="category"?(t.layout="horizontal",a=i.getOrdinalMeta(),l=!this._hasEncodeRule("x")):s==="category"?(t.layout="vertical",a=n.getOrdinalMeta(),l=!this._hasEncodeRule("y")):t.layout=t.layout||"horizontal";var u=["x","y"],v=t.layout==="horizontal"?0:1,h=this._baseAxisDim=u[v],f=u[1-v],c=[i,n],d=c[v].get("type"),p=c[1-v].get("type"),g=t.data;if(g&&l){var m=[];$(g,function(x,S){var b;Se(x)?(b=x.slice(),x.unshift(S)):Se(x.value)?(b=_e({},x),b.value=b.value.slice(),x.value.unshift(S)):b=x,m.push(b)}),t.data=m}var y=this.defaultValueDimensions,_=[{name:h,type:Ud(d),ordinalMeta:a,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:f,type:Ud(p),dimsDef:y.slice()}];return bu(this,{coordDimensions:_,dimensionsCount:y.length+1,encodeDefaulter:et(IW,_,this)})},r.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},r})(),q8=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],e.visualDrawType="stroke",e}return t.type="series.boxplot",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},t})(zt);nr(q8,H8,!0);var Ise=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,a,i){var n=e.getData(),o=this.group,s=this._data;this._data||o.removeAll();var l=e.get("layout")==="horizontal"?1:0;n.diff(s).add(function(u){if(n.hasValue(u)){var v=n.getItemLayout(u),h=XP(v,n,u,l,!0);n.setItemGraphicEl(u,h),o.add(h)}}).update(function(u,v){var h=s.getItemGraphicEl(v);if(!n.hasValue(u)){o.remove(h);return}var f=n.getItemLayout(u);h?(xi(h),W8(f,h,n,u)):h=XP(f,n,u,l),o.add(h),n.setItemGraphicEl(u,h)}).remove(function(u){var v=s.getItemGraphicEl(u);v&&o.remove(v)}).execute(),this._data=n},t.prototype.remove=function(e){var a=this.group,i=this._data;this._data=null,i&&i.eachItemGraphicEl(function(n){n&&a.remove(n)})},t.type="boxplot",t})(kt),Pse=(function(){function r(){}return r})(),Rse=(function(r){he(t,r);function t(e){var a=r.call(this,e)||this;return a.type="boxplotBoxPath",a}return t.prototype.getDefaultShape=function(){return new Pse},t.prototype.buildPath=function(e,a){var i=a.points,n=0;for(e.moveTo(i[n][0],i[n][1]),n++;n<4;n++)e.lineTo(i[n][0],i[n][1]);for(e.closePath();np){var x=[m,_];a.push(x)}}}return{boxData:e,outliers:a}}var Vse={type:"echarts:boxplot",transform:function(t){var e=t.upstream;if(e.sourceFormat!==Jr){var a="";Rt(a)}var i=Bse(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:i.boxData},{data:i.outliers}]}};function Gse(r){r.registerSeriesModel(q8),r.registerChartView(Ise),r.registerLayout(kse),r.registerTransform(Vse)}var Fse=["itemStyle","borderColor"],Hse=["itemStyle","borderColor0"],qse=["itemStyle","borderColorDoji"],Wse=["itemStyle","color"],Use=["itemStyle","color0"];function pM(r,t){return t.get(r>0?Wse:Use)}function gM(r,t){return t.get(r===0?qse:r>0?Fse:Hse)}var $se={seriesType:"candlestick",plan:gu(),performRawSeries:!0,reset:function(r,t){if(!t.isSeriesFiltered(r)){var e=r.pipelineContext.large;return!e&&{progress:function(a,i){for(var n;(n=a.next())!=null;){var o=i.getItemModel(n),s=i.getItemLayout(n).sign,l=o.getItemStyle();l.fill=pM(s,o),l.stroke=gM(s,o)||l.fill;var u=i.ensureUniqueItemVisual(n,"style");_e(u,l)}}}}}},Yse=["color","borderColor"],Zse=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,a,i){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},t.prototype.incrementalPrepareRender=function(e,a,i){this._clear(),this._updateDrawMode(e)},t.prototype.incrementalRender=function(e,a,i,n){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(e,a):this._incrementalRenderNormal(e,a)},t.prototype.eachRendered=function(e){po(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var a=e.pipelineContext.large;(this._isLargeDraw==null||a!==this._isLargeDraw)&&(this._isLargeDraw=a,this._clear())},t.prototype._renderNormal=function(e){var a=e.getData(),i=this._data,n=this.group,o=a.getLayout("isSimpleBox"),s=e.get("clip",!0),l=e.coordinateSystem,u=l.getArea&&l.getArea();this._data||n.removeAll(),a.diff(i).add(function(v){if(a.hasValue(v)){var h=a.getItemLayout(v);if(s&&KP(u,h))return;var f=gy(h,v,!0);$t(f,{shape:{points:h.ends}},e,v),my(f,a,v,o),n.add(f),a.setItemGraphicEl(v,f)}}).update(function(v,h){var f=i.getItemGraphicEl(h);if(!a.hasValue(v)){n.remove(f);return}var c=a.getItemLayout(v);if(s&&KP(u,c)){n.remove(f);return}f?(wt(f,{shape:{points:c.ends}},e,v),xi(f)):f=gy(c),my(f,a,v,o),n.add(f),a.setItemGraphicEl(v,f)}).remove(function(v){var h=i.getItemGraphicEl(v);h&&n.remove(h)}).execute(),this._data=a},t.prototype._renderLarge=function(e){this._clear(),QP(e,this.group);var a=e.get("clip",!0)?Jh(e.coordinateSystem,!1,e):null;a?this.group.setClipPath(a):this.group.removeClipPath()},t.prototype._incrementalRenderNormal=function(e,a){for(var i=a.getData(),n=i.getLayout("isSimpleBox"),o;(o=e.next())!=null;){var s=i.getItemLayout(o),l=gy(s);my(l,i,o,n),l.incremental=!0,this.group.add(l),this._progressiveEls.push(l)}},t.prototype._incrementalRenderLarge=function(e,a){QP(a,this.group,this._progressiveEls,!0)},t.prototype.remove=function(e){this._clear()},t.prototype._clear=function(){this.group.removeAll(),this._data=null},t.type="candlestick",t})(kt),Xse=(function(){function r(){}return r})(),Kse=(function(r){he(t,r);function t(e){var a=r.call(this,e)||this;return a.type="normalCandlestickBox",a}return t.prototype.getDefaultShape=function(){return new Xse},t.prototype.buildPath=function(e,a){var i=a.points;this.__simpleBox?(e.moveTo(i[4][0],i[4][1]),e.lineTo(i[6][0],i[6][1])):(e.moveTo(i[0][0],i[0][1]),e.lineTo(i[1][0],i[1][1]),e.lineTo(i[2][0],i[2][1]),e.lineTo(i[3][0],i[3][1]),e.closePath(),e.moveTo(i[4][0],i[4][1]),e.lineTo(i[5][0],i[5][1]),e.moveTo(i[6][0],i[6][1]),e.lineTo(i[7][0],i[7][1]))},t})(ht);function gy(r,t,e){var a=r.ends;return new Kse({shape:{points:e?Qse(a,r):a},z2:100})}function KP(r,t){for(var e=!0,a=0;aS?M[n]:C[n],ends:P,brushRect:B(b,w,_)})}function E(V,N){var O=[];return O[i]=N,O[n]=V,isNaN(N)||isNaN(V)?[NaN,NaN]:t.dataToPoint(O)}function k(V,N,O){var z=N.slice(),G=N.slice();z[i]=ad(z[i]+a/2,1,!1),G[i]=ad(G[i]-a/2,1,!0),O?V.push(z,G):V.push(G,z)}function B(V,N,O){var z=E(V,O),G=E(N,O);return z[i]-=a/2,G[i]-=a/2,{x:z[0],y:z[1],width:a,height:G[1]-z[1]}}function F(V){return V[i]=ad(V[i],1),V}}function d(p,g){for(var m=Fi(p.count*4),y=0,_,x=[],S=[],b,w=g.getStore(),A=!!r.get(["itemStyle","borderColorDoji"]);(b=p.next())!=null;){var T=w.get(s,b),C=w.get(u,b),M=w.get(v,b),L=w.get(h,b),D=w.get(f,b);if(isNaN(T)||isNaN(L)||isNaN(D)){m[y++]=NaN,y+=3;continue}m[y++]=jP(w,b,C,M,v,A),x[i]=T,x[n]=L,_=t.dataToPoint(x,null,S),m[y++]=_?_[0]:NaN,m[y++]=_?_[1]:NaN,x[n]=D,_=t.dataToPoint(x,null,S),m[y++]=_?_[1]:NaN}g.setLayout("largePoints",m)}}};function jP(r,t,e,a,i,n){var o;return e>a?o=-1:e0?r.get(i,t-1)<=a?1:-1:1,o}function tle(r,t){var e=r.getBaseAxis(),a,i=e.type==="category"?e.getBandWidth():(a=e.getExtent(),Math.abs(a[1]-a[0])/t.count()),n=Ie(Je(r.get("barMaxWidth"),i),i),o=Ie(Je(r.get("barMinWidth"),1),i),s=r.get("barWidth");return s!=null?Ie(s,i):Math.max(Math.min(i/2,n),o)}function rle(r){r.registerChartView(Zse),r.registerSeriesModel(U8),r.registerPreprocessor(Jse),r.registerVisual($se),r.registerLayout(ele)}function JP(r,t){var e=t.rippleEffectColor||t.color;r.eachChild(function(a){a.attr({z:t.z,zlevel:t.zlevel,style:{stroke:t.brushType==="stroke"?e:null,fill:t.brushType==="fill"?e:null}})})}var ale=(function(r){he(t,r);function t(e,a){var i=r.call(this)||this,n=new Qh(e,a),o=new Ze;return i.add(n),i.add(o),i.updateData(e,a),i}return t.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},t.prototype.startEffectAnimation=function(e){for(var a=e.symbolType,i=e.color,n=e.rippleNumber,o=this.childAt(1),s=0;s0&&(s=this._getLineLength(n)/v*1e3),s!==this._period||l!==this._loop||u!==this._roundTrip){n.stopAnimation();var f=void 0;He(h)?f=h(i):f=h,n.__t>0&&(f=-s*n.__t),this._animateSymbol(n,s,f,l,u)}this._period=s,this._loop=l,this._roundTrip=u}},t.prototype._animateSymbol=function(e,a,i,n,o){if(a>0){e.__t=0;var s=this,l=e.animate("",n).when(o?a*2:a,{__t:o?2:1}).delay(i).during(function(){s._updateSymbolPosition(e)});n||l.done(function(){s.remove(e)}),l.start()}},t.prototype._getLineLength=function(e){return fn(e.__p1,e.__cp1)+fn(e.__cp1,e.__p2)},t.prototype._updateAnimationPoints=function(e,a){e.__p1=a[0],e.__p2=a[1],e.__cp1=a[2]||[(a[0][0]+a[1][0])/2,(a[0][1]+a[1][1])/2]},t.prototype.updateData=function(e,a,i){this.childAt(0).updateData(e,a,i),this._updateEffectSymbol(e,a)},t.prototype._updateSymbolPosition=function(e){var a=e.__p1,i=e.__p2,n=e.__cp1,o=e.__t<1?e.__t:2-e.__t,s=[e.x,e.y],l=s.slice(),u=kr,v=Hw;s[0]=u(a[0],n[0],i[0],o),s[1]=u(a[1],n[1],i[1],o);var h=e.__t<1?v(a[0],n[0],i[0],o):v(i[0],n[0],a[0],1-o),f=e.__t<1?v(a[1],n[1],i[1],o):v(i[1],n[1],a[1],1-o);e.rotation=-Math.atan2(f,h)-Math.PI/2,(this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")&&(e.__lastT!==void 0&&e.__lastT=0&&!(n[l]<=a);l--);l=Math.min(l,o-2)}else{for(l=s;la);l++);l=Math.min(l-1,o-2)}var v=(a-n[l])/(n[l+1]-n[l]),h=i[l],f=i[l+1];e.x=h[0]*(1-v)+v*f[0],e.y=h[1]*(1-v)+v*f[1];var c=e.__t<1?f[0]-h[0]:h[0]-f[0],d=e.__t<1?f[1]-h[1]:h[1]-f[1];e.rotation=-Math.atan2(d,c)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=a,e.ignore=!1}},t})($8),lle=(function(){function r(){this.polyline=!1,this.curveness=0,this.segs=[]}return r})(),ule=(function(r){he(t,r);function t(e){var a=r.call(this,e)||this;return a._off=0,a.hoverDataIdx=-1,a}return t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new lle},t.prototype.buildPath=function(e,a){var i=a.segs,n=a.curveness,o;if(a.polyline)for(o=this._off;o0){e.moveTo(i[o++],i[o++]);for(var l=1;l0){var c=(u+h)/2-(v-f)*n,d=(v+f)/2-(h-u)*n;e.quadraticCurveTo(c,d,h,f)}else e.lineTo(h,f)}this.incremental&&(this._off=o,this.notClear=!0)},t.prototype.findDataIndex=function(e,a){var i=this.shape,n=i.segs,o=i.curveness,s=this.style.lineWidth;if(i.polyline)for(var l=0,u=0;u0)for(var h=n[u++],f=n[u++],c=1;c0){var g=(h+d)/2-(f-p)*o,m=(f+p)/2-(d-h)*o;if(Eq(h,f,g,m,d,p,s,e,a))return l}else if(qn(h,f,d,p,s,e,a))return l;l++}return-1},t.prototype.contain=function(e,a){var i=this.transformCoordToLocal(e,a),n=this.getBoundingRect();if(e=i[0],a=i[1],n.contain(e,a)){var o=this.hoverDataIdx=this.findDataIndex(e,a);return o>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var a=this.shape,i=a.segs,n=1/0,o=1/0,s=-1/0,l=-1/0,u=0;u0&&(o.dataIndex=l+t.__startIndex)})},r.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},r})(),Z8={seriesType:"lines",plan:gu(),reset:function(r){var t=r.coordinateSystem;if(t){var e=r.get("polyline"),a=r.pipelineContext.large;return{progress:function(i,n){var o=[];if(a){var s=void 0,l=i.end-i.start;if(e){for(var u=0,v=i.start;v0&&(v||u.configLayer(s,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(l/10+.9,1),0)})),o.updateData(n);var h=e.get("clip",!0)&&Jh(e.coordinateSystem,!1,e);h?this.group.setClipPath(h):this.group.removeClipPath(),this._lastZlevel=s,this._finished=!0},t.prototype.incrementalPrepareRender=function(e,a,i){var n=e.getData(),o=this._updateLineDraw(n,e);o.incrementalPrepareUpdate(n),this._clearLayer(i),this._finished=!1},t.prototype.incrementalRender=function(e,a,i){this._lineDraw.incrementalUpdate(e,a.getData()),this._finished=e.end===a.getData().count()},t.prototype.eachRendered=function(e){this._lineDraw&&this._lineDraw.eachRendered(e)},t.prototype.updateTransform=function(e,a,i){var n=e.getData(),o=e.pipelineContext;if(!this._finished||o.large||o.progressiveRender)return{update:!0};var s=Z8.reset(e,a,i);s.progress&&s.progress({start:0,end:n.count(),count:n.count()},n),this._lineDraw.updateLayout(),this._clearLayer(i)},t.prototype._updateLineDraw=function(e,a){var i=this._lineDraw,n=this._showEffect(a),o=!!a.get("polyline"),s=a.pipelineContext,l=s.large;return(!i||n!==this._hasEffet||o!==this._isPolyline||l!==this._isLargeDraw)&&(i&&i.remove(),i=this._lineDraw=l?new vle:new sM(o?n?sle:Y8:n?$8:oM),this._hasEffet=n,this._isPolyline=o,this._isLargeDraw=l),this.group.add(i.group),i},t.prototype._showEffect=function(e){return!!e.get(["effect","show"])},t.prototype._clearLayer=function(e){var a=e.getZr(),i=a.painter.getType()==="svg";!i&&this._lastZlevel!=null&&a.painter.getLayer(this._lastZlevel).clear(!0)},t.prototype.remove=function(e,a){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(a)},t.prototype.dispose=function(e,a){this.remove(e,a)},t.type="lines",t})(kt),fle=typeof Uint32Array>"u"?Array:Uint32Array,cle=typeof Float64Array>"u"?Array:Float64Array;function eR(r){var t=r.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(r.data=we(t,function(e){var a=[e[0].coord,e[1].coord],i={coords:a};return e[0].name&&(i.fromName=e[0].name),e[1].name&&(i.toName=e[1].name),yp([i,e[0],e[1]])}))}var dle=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.visualStyleAccessPath="lineStyle",e.visualDrawType="stroke",e}return t.prototype.init=function(e){e.data=e.data||[],eR(e);var a=this._processFlatCoordsArray(e.data);this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset,a.flatCoords&&(e.data=new Float32Array(a.count)),r.prototype.init.apply(this,arguments)},t.prototype.mergeOption=function(e){if(eR(e),e.data){var a=this._processFlatCoordsArray(e.data);this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset,a.flatCoords&&(e.data=new Float32Array(a.count))}r.prototype.mergeOption.apply(this,arguments)},t.prototype.appendData=function(e){var a=this._processFlatCoordsArray(e.data);a.flatCoords&&(this._flatCoords?(this._flatCoords=$l(this._flatCoords,a.flatCoords),this._flatCoordsOffset=$l(this._flatCoordsOffset,a.flatCoordsOffset)):(this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset),e.data=new Float32Array(a.count)),this.getRawData().appendData(e.data)},t.prototype._getCoordsFromItemModel=function(e){var a=this.getData().getItemModel(e),i=a.option instanceof Array?a.option:a.getShallow("coords");return i},t.prototype.getLineCoordsCount=function(e){return this._flatCoordsOffset?this._flatCoordsOffset[e*2+1]:this._getCoordsFromItemModel(e).length},t.prototype.getLineCoords=function(e,a){if(this._flatCoordsOffset){for(var i=this._flatCoordsOffset[e*2],n=this._flatCoordsOffset[e*2+1],o=0;o ")})},t.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},t.prototype.getProgressive=function(){var e=this.option.progressive;return e==null?this.option.large?1e4:this.get("progressive"):e},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return e==null?this.option.large?2e4:this.get("progressiveThreshold"):e},t.prototype.getZLevelKey=function(){var e=this.getModel("effect"),a=e.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:e.get("show")&&a>0?a+"":""},t.type="series.lines",t.dependencies=["grid","polar","geo","calendar"],t.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},t})(zt);function pc(r){return r instanceof Array||(r=[r,r]),r}var ple={seriesType:"lines",reset:function(r){var t=pc(r.get("symbol")),e=pc(r.get("symbolSize")),a=r.getData();a.setVisual("fromSymbol",t&&t[0]),a.setVisual("toSymbol",t&&t[1]),a.setVisual("fromSymbolSize",e&&e[0]),a.setVisual("toSymbolSize",e&&e[1]);function i(n,o){var s=n.getItemModel(o),l=pc(s.getShallow("symbol",!0)),u=pc(s.getShallow("symbolSize",!0));l[0]&&n.setItemVisual(o,"fromSymbol",l[0]),l[1]&&n.setItemVisual(o,"toSymbol",l[1]),u[0]&&n.setItemVisual(o,"fromSymbolSize",u[0]),u[1]&&n.setItemVisual(o,"toSymbolSize",u[1])}return{dataEach:a.hasItemOption?i:null}}};function gle(r){r.registerChartView(hle),r.registerSeriesModel(dle),r.registerLayout(Z8),r.registerVisual(ple)}var mle=256,yle=(function(){function r(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=mi.createCanvas();this.canvas=t}return r.prototype.update=function(t,e,a,i,n,o){var s=this._getBrush(),l=this._getGradient(n,"inRange"),u=this._getGradient(n,"outOfRange"),v=this.pointSize+this.blurSize,h=this.canvas,f=h.getContext("2d"),c=t.length;h.width=e,h.height=a;for(var d=0;d0){var L=o(_)?l:u;_>0&&(_=_*C+A),S[b++]=L[M],S[b++]=L[M+1],S[b++]=L[M+2],S[b++]=L[M+3]*_*256}else b+=4}return f.putImageData(x,0,0),h},r.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=mi.createCanvas()),e=this.pointSize+this.blurSize,a=e*2;t.width=a,t.height=a;var i=t.getContext("2d");return i.clearRect(0,0,a,a),i.shadowOffsetX=a,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,Math.PI*2,!0),i.closePath(),i.fill(),t},r.prototype._getGradient=function(t,e){for(var a=this._gradientPixels,i=a[e]||(a[e]=new Uint8ClampedArray(256*4)),n=[0,0,0,0],o=0,s=0;s<256;s++)t[e](s/255,!0,n),i[o++]=n[0],i[o++]=n[1],i[o++]=n[2],i[o++]=n[3];return i},r})();function _le(r,t,e){var a=r[1]-r[0];t=we(t,function(o){return{interval:[(o.interval[0]-r[0])/a,(o.interval[1]-r[0])/a]}});var i=t.length,n=0;return function(o){var s;for(s=n;s=0;s--){var l=t[s].interval;if(l[0]<=o&&o<=l[1]){n=s;break}}return s>=0&&s=t[0]&&a<=t[1]}}function tR(r){var t=r.dimensions;return t[0]==="lng"&&t[1]==="lat"}var Sle=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,a,i){var n;a.eachComponent("visualMap",function(s){s.eachTargetSeries(function(l){l===e&&(n=s)})}),this._progressiveEls=null,this.group.removeAll();var o=e.coordinateSystem;o.type==="cartesian2d"||o.type==="calendar"?this._renderOnCartesianAndCalendar(e,i,0,e.getData().count()):tR(o)&&this._renderOnGeo(o,e,n,i)},t.prototype.incrementalPrepareRender=function(e,a,i){this.group.removeAll()},t.prototype.incrementalRender=function(e,a,i,n){var o=a.coordinateSystem;o&&(tR(o)?this.render(a,i,n):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(a,n,e.start,e.end,!0)))},t.prototype.eachRendered=function(e){po(this._progressiveEls||this.group,e)},t.prototype._renderOnCartesianAndCalendar=function(e,a,i,n,o){var s=e.coordinateSystem,l=Fs(s,"cartesian2d"),u,v,h,f;if(l){var c=s.getAxis("x"),d=s.getAxis("y");u=c.getBandWidth()+.5,v=d.getBandWidth()+.5,h=c.scale.getExtent(),f=d.scale.getExtent()}for(var p=this.group,g=e.getData(),m=e.getModel(["emphasis","itemStyle"]).getItemStyle(),y=e.getModel(["blur","itemStyle"]).getItemStyle(),_=e.getModel(["select","itemStyle"]).getItemStyle(),x=e.get(["itemStyle","borderRadius"]),S=Cr(e),b=e.getModel("emphasis"),w=b.get("focus"),A=b.get("blurScope"),T=b.get("disabled"),C=l?[g.mapDimension("x"),g.mapDimension("y"),g.mapDimension("value")]:[g.mapDimension("time"),g.mapDimension("value")],M=i;Mh[1]||If[1])continue;var R=s.dataToPoint([P,I]);L=new gt({shape:{x:R[0]-u/2,y:R[1]-v/2,width:u,height:v},style:D})}else{if(isNaN(g.get(C[1],M)))continue;L=new gt({z2:1,shape:s.dataToRect([g.get(C[0],M)]).contentShape,style:D})}if(g.hasItemOption){var E=g.getItemModel(M),k=E.getModel("emphasis");m=k.getModel("itemStyle").getItemStyle(),y=E.getModel(["blur","itemStyle"]).getItemStyle(),_=E.getModel(["select","itemStyle"]).getItemStyle(),x=E.get(["itemStyle","borderRadius"]),w=k.get("focus"),A=k.get("blurScope"),T=k.get("disabled"),S=Cr(E)}L.shape.r=x;var B=e.getRawValue(M),F="-";B&&B[2]!=null&&(F=B[2]+""),Gr(L,S,{labelFetcher:e,labelDataIndex:M,defaultOpacity:D.opacity,defaultText:F}),L.ensureState("emphasis").style=m,L.ensureState("blur").style=y,L.ensureState("select").style=_,tr(L,w,A,T),L.incremental=o,o&&(L.states.emphasis.hoverLayer=!0),p.add(L),g.setItemGraphicEl(M,L),this._progressiveEls&&this._progressiveEls.push(L)}},t.prototype._renderOnGeo=function(e,a,i,n){var o=i.targetVisuals.inRange,s=i.targetVisuals.outOfRange,l=a.getData(),u=this._hmLayer||this._hmLayer||new yle;u.blurSize=a.get("blurSize"),u.pointSize=a.get("pointSize"),u.minOpacity=a.get("minOpacity"),u.maxOpacity=a.get("maxOpacity");var v=e.getViewRect().clone(),h=e.getRoamTransform();v.applyTransform(h);var f=Math.max(v.x,0),c=Math.max(v.y,0),d=Math.min(v.width+v.x,n.getWidth()),p=Math.min(v.height+v.y,n.getHeight()),g=d-f,m=p-c,y=[l.mapDimension("lng"),l.mapDimension("lat"),l.mapDimension("value")],_=l.mapArray(y,function(w,A,T){var C=e.dataToPoint([w,A]);return C[0]-=f,C[1]-=c,C.push(T),C}),x=i.getExtent(),S=i.type==="visualMap.continuous"?xle(x,i.option.range):_le(x,i.getPieceList(),i.option.selected);u.update(_,g,m,o.color.getNormalizer(),{inRange:o.color.getColorMapper(),outOfRange:s.color.getColorMapper()},S);var b=new Dr({style:{width:g,height:m,x:f,y:c,image:u.canvas},silent:!0});this.group.add(b)},t.type="heatmap",t})(kt),ble=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(e,a){return Qi(null,this,{generateCoord:"value"})},t.prototype.preventIncremental=function(){var e=pu.get(this.get("coordinateSystem"));if(e&&e.dimensions)return e.dimensions[0]==="lng"&&e.dimensions[1]==="lat"},t.type="series.heatmap",t.dependencies=["grid","geo","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},t})(zt);function wle(r){r.registerChartView(Sle),r.registerSeriesModel(ble)}var Tle=["itemStyle","borderWidth"],rR=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],xy=new Xi,Ale=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,a,i){var n=this.group,o=e.getData(),s=this._data,l=e.coordinateSystem,u=l.getBaseAxis(),v=u.isHorizontal(),h=l.master.getRect(),f={ecSize:{width:i.getWidth(),height:i.getHeight()},seriesModel:e,coordSys:l,coordSysExtent:[[h.x,h.x+h.width],[h.y,h.y+h.height]],isHorizontal:v,valueDim:rR[+v],categoryDim:rR[1-+v]};o.diff(s).add(function(d){if(o.hasValue(d)){var p=iR(o,d),g=aR(o,d,p,f),m=nR(o,f,g);o.setItemGraphicEl(d,m),n.add(m),sR(m,f,g)}}).update(function(d,p){var g=s.getItemGraphicEl(p);if(!o.hasValue(d)){n.remove(g);return}var m=iR(o,d),y=aR(o,d,m,f),_=e7(o,y);g&&_!==g.__pictorialShapeStr&&(n.remove(g),o.setItemGraphicEl(d,null),g=null),g?Rle(g,f,y):g=nR(o,f,y,!0),o.setItemGraphicEl(d,g),g.__pictorialSymbolMeta=y,n.add(g),sR(g,f,y)}).remove(function(d){var p=s.getItemGraphicEl(d);p&&oR(s,d,p.__pictorialSymbolMeta.animationModel,p)}).execute();var c=e.get("clip",!0)?Jh(e.coordinateSystem,!1,e):null;return c?n.setClipPath(c):n.removeClipPath(),this._data=o,this.group},t.prototype.remove=function(e,a){var i=this.group,n=this._data;e.get("animation")?n&&n.eachItemGraphicEl(function(o){oR(n,Xe(o).dataIndex,e,o)}):i.removeAll()},t.type="pictorialBar",t})(kt);function aR(r,t,e,a){var i=r.getItemLayout(t),n=e.get("symbolRepeat"),o=e.get("symbolClip"),s=e.get("symbolPosition")||"start",l=e.get("symbolRotate"),u=(l||0)*Math.PI/180||0,v=e.get("symbolPatternSize")||2,h=e.isAnimationEnabled(),f={dataIndex:t,layout:i,itemModel:e,symbolType:r.getItemVisual(t,"symbol")||"circle",style:r.getItemVisual(t,"style"),symbolClip:o,symbolRepeat:n,symbolRepeatDirection:e.get("symbolRepeatDirection"),symbolPatternSize:v,rotation:u,animationModel:h?e:null,hoverScale:h&&e.get(["emphasis","scale"]),z2:e.getShallow("z",!0)||0};Cle(e,n,i,a,f),Mle(r,t,i,n,o,f.boundingLength,f.pxSign,v,a,f),Dle(e,f.symbolScale,u,a,f);var c=f.symbolSize,d=Gs(e.get("symbolOffset"),c);return Lle(e,c,i,n,o,d,s,f.valueLineWidth,f.boundingLength,f.repeatCutLength,a,f),f}function Cle(r,t,e,a,i){var n=a.valueDim,o=r.get("symbolBoundingData"),s=a.coordSys.getOtherAxis(a.coordSys.getBaseAxis()),l=s.toGlobalCoord(s.dataToCoord(0)),u=1-+(e[n.wh]<=0),v;if(Se(o)){var h=[Sy(s,o[0])-l,Sy(s,o[1])-l];h[1]=0?1:-1:v>0?1:-1}function Sy(r,t){return r.toGlobalCoord(r.dataToCoord(r.scale.parse(t)))}function Mle(r,t,e,a,i,n,o,s,l,u){var v=l.valueDim,h=l.categoryDim,f=Math.abs(e[h.wh]),c=r.getItemVisual(t,"symbolSize"),d;Se(c)?d=c.slice():c==null?d=["100%","100%"]:d=[c,c],d[h.index]=Ie(d[h.index],f),d[v.index]=Ie(d[v.index],a?f:Math.abs(n)),u.symbolSize=d;var p=u.symbolScale=[d[0]/s,d[1]/s];p[v.index]*=(l.isHorizontal?-1:1)*o}function Dle(r,t,e,a,i){var n=r.get(Tle)||0;n&&(xy.attr({scaleX:t[0],scaleY:t[1],rotation:e}),xy.updateTransform(),n/=xy.getLineScale(),n*=t[a.valueDim.index]),i.valueLineWidth=n||0}function Lle(r,t,e,a,i,n,o,s,l,u,v,h){var f=v.categoryDim,c=v.valueDim,d=h.pxSign,p=Math.max(t[c.index]+s,0),g=p;if(a){var m=Math.abs(l),y=wr(r.get("symbolMargin"),"15%")+"",_=!1;y.lastIndexOf("!")===y.length-1&&(_=!0,y=y.slice(0,y.length-1));var x=Ie(y,t[c.index]),S=Math.max(p+x*2,0),b=_?0:x*2,w=WA(a),A=w?a:lR((m+b)/S),T=m-A*p;x=T/2/(_?A:Math.max(A-1,1)),S=p+x*2,b=_?0:x*2,!w&&a!=="fixed"&&(A=u?lR((Math.abs(u)+b)/S):0),g=A*S-b,h.repeatTimes=A,h.symbolMargin=x}var C=d*(g/2),M=h.pathPosition=[];M[f.index]=e[f.wh]/2,M[c.index]=o==="start"?C:o==="end"?l-C:l/2,n&&(M[0]+=n[0],M[1]+=n[1]);var L=h.bundlePosition=[];L[f.index]=e[f.xy],L[c.index]=e[c.xy];var D=h.barRectShape=_e({},e);D[c.wh]=d*Math.max(Math.abs(e[c.wh]),Math.abs(M[c.index]+C)),D[f.wh]=e[f.wh];var P=h.clipShape={};P[f.xy]=-e[f.xy],P[f.wh]=v.ecSize[f.wh],P[c.xy]=0,P[c.wh]=e[c.wh]}function X8(r){var t=r.symbolPatternSize,e=lr(r.symbolType,-t/2,-t/2,t,t);return e.attr({culling:!0}),e.type!=="image"&&e.setStyle({strokeNoScale:!0}),e}function K8(r,t,e,a){var i=r.__pictorialBundle,n=e.symbolSize,o=e.valueLineWidth,s=e.pathPosition,l=t.valueDim,u=e.repeatTimes||0,v=0,h=n[t.valueDim.index]+o+e.symbolMargin*2;for(mM(r,function(p){p.__pictorialAnimationIndex=v,p.__pictorialRepeatTimes=u,v0:m<0)&&(y=u-1-p),g[l.index]=h*(y-u/2+.5)+s[l.index],{x:g[0],y:g[1],scaleX:e.symbolScale[0],scaleY:e.symbolScale[1],rotation:e.rotation}}}function Q8(r,t,e,a){var i=r.__pictorialBundle,n=r.__pictorialMainPath;n?Wl(n,null,{x:e.pathPosition[0],y:e.pathPosition[1],scaleX:e.symbolScale[0],scaleY:e.symbolScale[1],rotation:e.rotation},e,a):(n=r.__pictorialMainPath=X8(e),i.add(n),Wl(n,{x:e.pathPosition[0],y:e.pathPosition[1],scaleX:0,scaleY:0,rotation:e.rotation},{scaleX:e.symbolScale[0],scaleY:e.symbolScale[1]},e,a))}function j8(r,t,e){var a=_e({},t.barRectShape),i=r.__pictorialBarRect;i?Wl(i,null,{shape:a},t,e):(i=r.__pictorialBarRect=new gt({z2:2,shape:a,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),i.disableMorphing=!0,r.add(i))}function J8(r,t,e,a){if(e.symbolClip){var i=r.__pictorialClipPath,n=_e({},e.clipShape),o=t.valueDim,s=e.animationModel,l=e.dataIndex;if(i)wt(i,{shape:n},s,l);else{n[o.wh]=0,i=new gt({shape:n}),r.__pictorialBundle.setClipPath(i),r.__pictorialClipPath=i;var u={};u[o.wh]=e.clipShape[o.wh],Bs[a?"updateProps":"initProps"](i,{shape:u},s,l)}}}function iR(r,t){var e=r.getItemModel(t);return e.getAnimationDelayParams=Ile,e.isAnimationEnabled=Ple,e}function Ile(r){return{index:r.__pictorialAnimationIndex,count:r.__pictorialRepeatTimes}}function Ple(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function nR(r,t,e,a){var i=new Ze,n=new Ze;return i.add(n),i.__pictorialBundle=n,n.x=e.bundlePosition[0],n.y=e.bundlePosition[1],e.symbolRepeat?K8(i,t,e):Q8(i,t,e),j8(i,e,a),J8(i,t,e,a),i.__pictorialShapeStr=e7(r,e),i.__pictorialSymbolMeta=e,i}function Rle(r,t,e){var a=e.animationModel,i=e.dataIndex,n=r.__pictorialBundle;wt(n,{x:e.bundlePosition[0],y:e.bundlePosition[1]},a,i),e.symbolRepeat?K8(r,t,e,!0):Q8(r,t,e,!0),j8(r,e,!0),J8(r,t,e,!0)}function oR(r,t,e,a){var i=a.__pictorialBarRect;i&&i.removeTextContent();var n=[];mM(a,function(o){n.push(o)}),a.__pictorialMainPath&&n.push(a.__pictorialMainPath),a.__pictorialClipPath&&(e=null),$(n,function(o){lo(o,{scaleX:0,scaleY:0},e,t,function(){a.parent&&a.parent.remove(a)})}),r.setItemGraphicEl(t,null)}function e7(r,t){return[r.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function mM(r,t,e){$(r.__pictorialBundle.children(),function(a){a!==r.__pictorialBarRect&&t.call(e,a)})}function Wl(r,t,e,a,i,n){t&&r.attr(t),a.symbolClip&&!i?e&&r.attr(e):e&&Bs[i?"updateProps":"initProps"](r,e,a.animationModel,a.dataIndex,n)}function sR(r,t,e){var a=e.dataIndex,i=e.itemModel,n=i.getModel("emphasis"),o=n.getModel("itemStyle").getItemStyle(),s=i.getModel(["blur","itemStyle"]).getItemStyle(),l=i.getModel(["select","itemStyle"]).getItemStyle(),u=i.getShallow("cursor"),v=n.get("focus"),h=n.get("blurScope"),f=n.get("scale");mM(r,function(p){if(p instanceof Dr){var g=p.style;p.useStyle(_e({image:g.image,x:g.x,y:g.y,width:g.width,height:g.height},e.style))}else p.useStyle(e.style);var m=p.ensureState("emphasis");m.style=o,f&&(m.scaleX=p.scaleX*1.1,m.scaleY=p.scaleY*1.1),p.ensureState("blur").style=s,p.ensureState("select").style=l,u&&(p.cursor=u),p.z2=e.z2});var c=t.valueDim.posDesc[+(e.boundingLength>0)],d=r.__pictorialBarRect;d.ignoreClip=!0,Gr(d,Cr(i),{labelFetcher:t.seriesModel,labelDataIndex:a,defaultText:jl(t.seriesModel.getData(),a),inheritColor:e.style.fill,defaultOpacity:e.style.opacity,defaultOutsidePosition:c}),tr(r,v,h,n.get("disabled"))}function lR(r){var t=Math.round(r);return Math.abs(r-t)<1e-4?t:Math.ceil(r)}var Ele=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e.defaultSymbol="roundRect",e}return t.prototype.getInitialData=function(e){return e.stack=null,r.prototype.getInitialData.apply(this,arguments)},t.type="series.pictorialBar",t.dependencies=["grid"],t.defaultOption=go(Ah.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),t})(Ah);function kle(r){r.registerChartView(Ale),r.registerSeriesModel(Ele),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,et(QU,"pictorialBar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,jU("pictorialBar"))}var Ole=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._layers=[],e}return t.prototype.render=function(e,a,i){var n=e.getData(),o=this,s=this.group,l=e.getLayerSeries(),u=n.getLayout("layoutInfo"),v=u.rect,h=u.boundaryGap;s.x=0,s.y=v.y+h[0];function f(g){return g.name}var c=new bn(this._layersSeries||[],l,f,f),d=[];c.add(Ne(p,this,"add")).update(Ne(p,this,"update")).remove(Ne(p,this,"remove")).execute();function p(g,m,y){var _=o._layers;if(g==="remove"){s.remove(_[m]);return}for(var x=[],S=[],b,w=l[m].indices,A=0;An&&(n=s),a.push(s)}for(var u=0;un&&(n=h)}return{y0:i,max:n}}function Gle(r){r.registerChartView(Ole),r.registerSeriesModel(zle),r.registerLayout(Ble),r.registerProcessor(tf("themeRiver"))}var Fle=2,Hle=4,vR=(function(r){he(t,r);function t(e,a,i,n){var o=r.call(this)||this;o.z2=Fle,o.textConfig={inside:!0},Xe(o).seriesIndex=a.seriesIndex;var s=new pt({z2:Hle,silent:e.getModel().get(["label","silent"])});return o.setTextContent(s),o.updateData(!0,e,a,i,n),o}return t.prototype.updateData=function(e,a,i,n,o){this.node=a,a.piece=this,i=i||this._seriesModel,n=n||this._ecModel;var s=this;Xe(s).dataIndex=a.dataIndex;var l=a.getModel(),u=l.getModel("emphasis"),v=a.getLayout(),h=_e({},v);h.label=null;var f=a.getVisual("style");f.lineJoin="bevel";var c=a.getVisual("decal");c&&(f.decal=Ql(c,o));var d=ys(l.getModel("itemStyle"),h,!0);_e(h,d),$(va,function(y){var _=s.ensureState(y),x=l.getModel([y,"itemStyle"]);_.style=x.getItemStyle();var S=ys(x,h);S&&(_.shape=S)}),e?(s.setShape(h),s.shape.r=v.r0,$t(s,{shape:{r:v.r}},i,a.dataIndex)):(wt(s,{shape:h},i),xi(s)),s.useStyle(f),this._updateLabel(i);var p=l.getShallow("cursor");p&&s.attr("cursor",p),this._seriesModel=i||this._seriesModel,this._ecModel=n||this._ecModel;var g=u.get("focus"),m=g==="relative"?$l(a.getAncestorsIndices(),a.getDescendantIndices()):g==="ancestor"?a.getAncestorsIndices():g==="descendant"?a.getDescendantIndices():g;tr(this,m,u.get("blurScope"),u.get("disabled"))},t.prototype._updateLabel=function(e){var a=this,i=this.node.getModel(),n=i.getModel("label"),o=this.node.getLayout(),s=o.endAngle-o.startAngle,l=(o.startAngle+o.endAngle)/2,u=Math.cos(l),v=Math.sin(l),h=this,f=h.getTextContent(),c=this.node.dataIndex,d=n.get("minAngle")/180*Math.PI,p=n.get("show")&&!(d!=null&&Math.abs(s)P&&!Yl(R-P)&&R0?(o.virtualPiece?o.virtualPiece.updateData(!1,y,e,a,i):(o.virtualPiece=new vR(y,e,a,i),v.add(o.virtualPiece)),_.piece.off("click"),o.virtualPiece.on("click",function(x){o._rootToNode(_.parentNode)})):o.virtualPiece&&(v.remove(o.virtualPiece),o.virtualPiece=null)}},t.prototype._initEvents=function(){var e=this;this.group.off("click"),this.group.on("click",function(a){var i=!1,n=e.seriesModel.getViewRoot();n.eachNode(function(o){if(!i&&o.piece&&o.piece===a.target){var s=o.getModel().get("nodeClick");if(s==="rootToNode")e._rootToNode(o);else if(s==="link"){var l=o.getModel(),u=l.get("link");if(u){var v=l.get("target",!0)||"_blank";Od(u,v)}}i=!0}})})},t.prototype._rootToNode=function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:rA,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},t.prototype.containPoint=function(e,a){var i=a.getData(),n=i.getItemLayout(0);if(n){var o=e[0]-n.cx,s=e[1]-n.cy,l=Math.sqrt(o*o+s*s);return l<=n.r&&l>=n.r0}},t.type="sunburst",t})(kt),$le=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.ignoreStyleOnData=!0,e}return t.prototype.getInitialData=function(e,a){var i={name:e.name,children:e.data};t7(i);var n=this._levelModels=we(e.levels||[],function(l){return new Mt(l,this,a)},this),o=eM.createTree(i,this,s);function s(l){l.wrapMethod("getItemModel",function(u,v){var h=o.getNodeByDataIndex(v),f=n[h.depth];return f&&(u.parentModel=f),u})}return o.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.getDataParams=function(e){var a=r.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return a.treePathInfo=eg(i,this),a},t.prototype.getLevelModel=function(e){return this._levelModels&&this._levelModels[e.depth]},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var a=this.getRawData().tree.root;(!e||e!==a&&!a.contains(e))&&(this._viewRoot=a)},t.prototype.enableAriaDecal=function(){o8(this)},t.type="series.sunburst",t.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},t})(zt);function t7(r){var t=0;$(r.children,function(a){t7(a);var i=a.value;Se(i)&&(i=i[0]),t+=i});var e=r.value;Se(e)&&(e=e[0]),(e==null||isNaN(e))&&(e=t),e<0&&(e=0),Se(r.value)?r.value[0]=e:r.value=e}var fR=Math.PI/180;function Yle(r,t,e){t.eachSeriesByType(r,function(a){var i=a.get("center"),n=a.get("radius");Se(n)||(n=[0,n]),Se(i)||(i=[i,i]);var o=e.getWidth(),s=e.getHeight(),l=Math.min(o,s),u=Ie(i[0],o),v=Ie(i[1],s),h=Ie(n[0],l/2),f=Ie(n[1],l/2),c=-a.get("startAngle")*fR,d=a.get("minAngle")*fR,p=a.getData().tree.root,g=a.getViewRoot(),m=g.depth,y=a.get("sort");y!=null&&r7(g,y);var _=0;$(g.children,function(R){!isNaN(R.getValue())&&_++});var x=g.getValue(),S=Math.PI/(x||_)*2,b=g.depth>0,w=g.height-(b?-1:1),A=(f-h)/(w||1),T=a.get("clockwise"),C=a.get("stillShowZeroSum"),M=T?1:-1,L=function(R,E){if(R){var k=E;if(R!==p){var B=R.getValue(),F=x===0&&C?S:B*S;F1;)o=o.parentNode;var s=i.getColorFromPalette(o.name||o.dataIndex+"",t);return a.depth>1&&Re(s)&&(s=wd(s,(a.depth-1)/(n-1)*.5)),s}r.eachSeriesByType("sunburst",function(a){var i=a.getData(),n=i.tree;n.eachNode(function(o){var s=o.getModel(),l=s.getModel("itemStyle").getItemStyle();l.fill||(l.fill=e(o,a,n.root.height));var u=i.ensureUniqueItemVisual(o.dataIndex,"style");_e(u,l)})})}function Kle(r){r.registerChartView(Ule),r.registerSeriesModel($le),r.registerLayout(et(Yle,"sunburst")),r.registerProcessor(et(tf,"sunburst")),r.registerVisual(Xle),Wle(r)}var cR={color:"fill",borderColor:"stroke"},Qle={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},mn=yt(),jle=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},t.prototype.getInitialData=function(e,a){return Qi(null,this)},t.prototype.getDataParams=function(e,a,i){var n=r.prototype.getDataParams.call(this,e,a);return i&&(n.info=mn(i).info),n},t.type="series.custom",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},t})(zt);function Jle(r,t){return t=t||[0,0],we(["x","y"],function(e,a){var i=this.getAxis(e),n=t[a],o=r[a]/2;return i.type==="category"?i.getBandWidth():Math.abs(i.dataToCoord(n-o)-i.dataToCoord(n+o))},this)}function eue(r){var t=r.master.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(e){return r.dataToPoint(e)},size:Ne(Jle,r)}}}function tue(r,t){return t=t||[0,0],we([0,1],function(e){var a=t[e],i=r[e]/2,n=[],o=[];return n[e]=a-i,o[e]=a+i,n[1-e]=o[1-e]=t[1-e],Math.abs(this.dataToPoint(n)[e]-this.dataToPoint(o)[e])},this)}function rue(r){var t=r.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:r.getZoom()},api:{coord:function(e){return r.dataToPoint(e)},size:Ne(tue,r)}}}function aue(r,t){var e=this.getAxis(),a=t instanceof Array?t[0]:t,i=(r instanceof Array?r[0]:r)/2;return e.type==="category"?e.getBandWidth():Math.abs(e.dataToCoord(a-i)-e.dataToCoord(a+i))}function iue(r){var t=r.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(e){return r.dataToPoint(e)},size:Ne(aue,r)}}}function nue(r,t){return t=t||[0,0],we(["Radius","Angle"],function(e,a){var i="get"+e+"Axis",n=this[i](),o=t[a],s=r[a]/2,l=n.type==="category"?n.getBandWidth():Math.abs(n.dataToCoord(o-s)-n.dataToCoord(o+s));return e==="Angle"&&(l=l*Math.PI/180),l},this)}function oue(r){var t=r.getRadiusAxis(),e=r.getAngleAxis(),a=t.getExtent();return a[0]>a[1]&&a.reverse(),{coordSys:{type:"polar",cx:r.cx,cy:r.cy,r:a[1],r0:a[0]},api:{coord:function(i){var n=t.dataToRadius(i[0]),o=e.dataToAngle(i[1]),s=r.coordToPoint([n,o]);return s.push(n,o*Math.PI/180),s},size:Ne(nue,r)}}}function sue(r){var t=r.getRect(),e=r.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:r.getCellWidth(),cellHeight:r.getCellHeight(),rangeInfo:{start:e.start,end:e.end,weeks:e.weeks,dayCount:e.allDay}},api:{coord:function(a,i){return r.dataToPoint(a,i)}}}}function a7(r,t,e,a){return r&&(r.legacy||r.legacy!==!1&&!e&&!a&&t!=="tspan"&&(t==="text"||Be(r,"text")))}function i7(r,t,e){var a=r,i,n,o;if(t==="text")o=a;else{o={},Be(a,"text")&&(o.text=a.text),Be(a,"rich")&&(o.rich=a.rich),Be(a,"textFill")&&(o.fill=a.textFill),Be(a,"textStroke")&&(o.stroke=a.textStroke),Be(a,"fontFamily")&&(o.fontFamily=a.fontFamily),Be(a,"fontSize")&&(o.fontSize=a.fontSize),Be(a,"fontStyle")&&(o.fontStyle=a.fontStyle),Be(a,"fontWeight")&&(o.fontWeight=a.fontWeight),n={type:"text",style:o,silent:!0},i={};var s=Be(a,"textPosition");e?i.position=s?a.textPosition:"inside":s&&(i.position=a.textPosition),Be(a,"textPosition")&&(i.position=a.textPosition),Be(a,"textOffset")&&(i.offset=a.textOffset),Be(a,"textRotation")&&(i.rotation=a.textRotation),Be(a,"textDistance")&&(i.distance=a.textDistance)}return dR(o,r),$(o.rich,function(l){dR(l,l)}),{textConfig:i,textContent:n}}function dR(r,t){t&&(t.font=t.textFont||t.font,Be(t,"textStrokeWidth")&&(r.lineWidth=t.textStrokeWidth),Be(t,"textAlign")&&(r.align=t.textAlign),Be(t,"textVerticalAlign")&&(r.verticalAlign=t.textVerticalAlign),Be(t,"textLineHeight")&&(r.lineHeight=t.textLineHeight),Be(t,"textWidth")&&(r.width=t.textWidth),Be(t,"textHeight")&&(r.height=t.textHeight),Be(t,"textBackgroundColor")&&(r.backgroundColor=t.textBackgroundColor),Be(t,"textPadding")&&(r.padding=t.textPadding),Be(t,"textBorderColor")&&(r.borderColor=t.textBorderColor),Be(t,"textBorderWidth")&&(r.borderWidth=t.textBorderWidth),Be(t,"textBorderRadius")&&(r.borderRadius=t.textBorderRadius),Be(t,"textBoxShadowColor")&&(r.shadowColor=t.textBoxShadowColor),Be(t,"textBoxShadowBlur")&&(r.shadowBlur=t.textBoxShadowBlur),Be(t,"textBoxShadowOffsetX")&&(r.shadowOffsetX=t.textBoxShadowOffsetX),Be(t,"textBoxShadowOffsetY")&&(r.shadowOffsetY=t.textBoxShadowOffsetY))}function pR(r,t,e){var a=r;a.textPosition=a.textPosition||e.position||"inside",e.offset!=null&&(a.textOffset=e.offset),e.rotation!=null&&(a.textRotation=e.rotation),e.distance!=null&&(a.textDistance=e.distance);var i=a.textPosition.indexOf("inside")>=0,n=r.fill||"#000";gR(a,t);var o=a.textFill==null;return i?o&&(a.textFill=e.insideFill||"#fff",!a.textStroke&&e.insideStroke&&(a.textStroke=e.insideStroke),!a.textStroke&&(a.textStroke=n),a.textStrokeWidth==null&&(a.textStrokeWidth=2)):(o&&(a.textFill=r.fill||e.outsideFill||"#000"),!a.textStroke&&e.outsideStroke&&(a.textStroke=e.outsideStroke)),a.text=t.text,a.rich=t.rich,$(t.rich,function(s){gR(s,s)}),a}function gR(r,t){t&&(Be(t,"fill")&&(r.textFill=t.fill),Be(t,"stroke")&&(r.textStroke=t.fill),Be(t,"lineWidth")&&(r.textStrokeWidth=t.lineWidth),Be(t,"font")&&(r.font=t.font),Be(t,"fontStyle")&&(r.fontStyle=t.fontStyle),Be(t,"fontWeight")&&(r.fontWeight=t.fontWeight),Be(t,"fontSize")&&(r.fontSize=t.fontSize),Be(t,"fontFamily")&&(r.fontFamily=t.fontFamily),Be(t,"align")&&(r.textAlign=t.align),Be(t,"verticalAlign")&&(r.textVerticalAlign=t.verticalAlign),Be(t,"lineHeight")&&(r.textLineHeight=t.lineHeight),Be(t,"width")&&(r.textWidth=t.width),Be(t,"height")&&(r.textHeight=t.height),Be(t,"backgroundColor")&&(r.textBackgroundColor=t.backgroundColor),Be(t,"padding")&&(r.textPadding=t.padding),Be(t,"borderColor")&&(r.textBorderColor=t.borderColor),Be(t,"borderWidth")&&(r.textBorderWidth=t.borderWidth),Be(t,"borderRadius")&&(r.textBorderRadius=t.borderRadius),Be(t,"shadowColor")&&(r.textBoxShadowColor=t.shadowColor),Be(t,"shadowBlur")&&(r.textBoxShadowBlur=t.shadowBlur),Be(t,"shadowOffsetX")&&(r.textBoxShadowOffsetX=t.shadowOffsetX),Be(t,"shadowOffsetY")&&(r.textBoxShadowOffsetY=t.shadowOffsetY),Be(t,"textShadowColor")&&(r.textShadowColor=t.textShadowColor),Be(t,"textShadowBlur")&&(r.textShadowBlur=t.textShadowBlur),Be(t,"textShadowOffsetX")&&(r.textShadowOffsetX=t.textShadowOffsetX),Be(t,"textShadowOffsetY")&&(r.textShadowOffsetY=t.textShadowOffsetY))}var n7={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},mR=ft(n7);Ya($i,function(r,t){return r[t]=1,r},{});$i.join(", ");var rp=["","style","shape","extra"],tu=yt();function yM(r,t,e,a,i){var n=r+"Animation",o=uu(r,a,i)||{},s=tu(t).userDuring;return o.duration>0&&(o.during=s?Ne(fue,{el:t,userDuring:s}):null,o.setToFinal=!0,o.scope=r),_e(o,e[n]),o}function ud(r,t,e,a){a=a||{};var i=a.dataIndex,n=a.isInit,o=a.clearStyle,s=e.isAnimationEnabled(),l=tu(r),u=t.style;l.userDuring=t.during;var v={},h={};if(due(r,t,h),_R("shape",t,h),_R("extra",t,h),!n&&s&&(cue(r,t,v),yR("shape",r,t,v),yR("extra",r,t,v),pue(r,t,u,v)),h.style=u,lue(r,h,o),vue(r,t),s)if(n){var f={};$(rp,function(d){var p=d?t[d]:t;p&&p.enterFrom&&(d&&(f[d]=f[d]||{}),_e(d?f[d]:f,p.enterFrom))});var c=yM("enter",r,t,e,i);c.duration>0&&r.animateFrom(f,c)}else uue(r,t,i||0,e,v);o7(r,t),u?r.dirty():r.markRedraw()}function o7(r,t){for(var e=tu(r).leaveToProps,a=0;a0&&r.animateFrom(i,n)}}function vue(r,t){Be(t,"silent")&&(r.silent=t.silent),Be(t,"ignore")&&(r.ignore=t.ignore),r instanceof Za&&Be(t,"invisible")&&(r.invisible=t.invisible),r instanceof ht&&Be(t,"autoBatch")&&(r.autoBatch=t.autoBatch)}var Oi={},hue={setTransform:function(r,t){return Oi.el[r]=t,this},getTransform:function(r){return Oi.el[r]},setShape:function(r,t){var e=Oi.el,a=e.shape||(e.shape={});return a[r]=t,e.dirtyShape&&e.dirtyShape(),this},getShape:function(r){var t=Oi.el.shape;if(t)return t[r]},setStyle:function(r,t){var e=Oi.el,a=e.style;return a&&(a[r]=t,e.dirtyStyle&&e.dirtyStyle()),this},getStyle:function(r){var t=Oi.el.style;if(t)return t[r]},setExtra:function(r,t){var e=Oi.el.extra||(Oi.el.extra={});return e[r]=t,this},getExtra:function(r){var t=Oi.el.extra;if(t)return t[r]}};function fue(){var r=this,t=r.el;if(t){var e=tu(t).userDuring,a=r.userDuring;if(e!==a){r.el=r.userDuring=null;return}Oi.el=t,a(hue)}}function yR(r,t,e,a){var i=e[r];if(i){var n=t[r],o;if(n){var s=e.transition,l=i.transition;if(l)if(!o&&(o=a[r]={}),As(l))_e(o,n);else for(var u=Nt(l),v=0;v=0){!o&&(o=a[r]={});for(var c=ft(n),v=0;v=0)){var f=r.getAnimationStyleProps(),c=f?f.style:null;if(c){!n&&(n=a.style={});for(var d=ft(e),u=0;u=0?t.getStore().get(E,I):void 0}var k=t.get(R.name,I),B=R&&R.ordinalMeta;return B?B.categories[k]:k}function b(P,I){I==null&&(I=u);var R=t.getItemVisual(I,"style"),E=R&&R.fill,k=R&&R.opacity,B=y(I,Qn).getItemStyle();E!=null&&(B.fill=E),k!=null&&(B.opacity=k);var F={inheritColor:Re(E)?E:"#000"},V=_(I,Qn),N=Ht(V,null,F,!1,!0);N.text=V.getShallow("show")?Je(r.getFormattedLabel(I,Qn),jl(t,I)):null;var O=Ed(V,F,!1);return T(P,B),B=pR(B,N,O),P&&A(B,P),B.legacy=!0,B}function w(P,I){I==null&&(I=u);var R=y(I,yn).getItemStyle(),E=_(I,yn),k=Ht(E,null,null,!0,!0);k.text=E.getShallow("show")?ci(r.getFormattedLabel(I,yn),r.getFormattedLabel(I,Qn),jl(t,I)):null;var B=Ed(E,null,!0);return T(P,R),R=pR(R,k,B),P&&A(R,P),R.legacy=!0,R}function A(P,I){for(var R in I)Be(I,R)&&(P[R]=I[R])}function T(P,I){P&&(P.textFill&&(I.textFill=P.textFill),P.textPosition&&(I.textPosition=P.textPosition))}function C(P,I){if(I==null&&(I=u),Be(cR,P)){var R=t.getItemVisual(I,"style");return R?R[cR[P]]:null}if(Be(Qle,P))return t.getItemVisual(I,P)}function M(P){if(n.type==="cartesian2d"){var I=n.getBaseAxis();return Vee(Ue({axis:I},P))}}function L(){return e.getCurrentSeriesIndices()}function D(P){return sC(P,e)}}function Aue(r){var t={};return $(r.dimensions,function(e){var a=r.getDimensionInfo(e);if(!a.isExtraCoord){var i=a.coordDim,n=t[i]=t[i]||[];n[a.coordDimIndex]=r.getDimensionIndex(e)}}),t}function Ay(r,t,e,a,i,n,o){if(!a){n.remove(t);return}var s=wM(r,t,e,a,i,n);return s&&o.setItemGraphicEl(e,s),s&&tr(s,a.focus,a.blurScope,a.emphasisDisabled),s}function wM(r,t,e,a,i,n){var o=-1,s=t;t&&v7(t,a,i)&&(o=nt(n.childrenRef(),t),t=null);var l=!t,u=t;u?u.clearStates():(u=SM(a),s&&Sue(s,u)),a.morph===!1?u.disableMorphing=!0:u.disableMorphing&&(u.disableMorphing=!1),ka.normal.cfg=ka.normal.conOpt=ka.emphasis.cfg=ka.emphasis.conOpt=ka.blur.cfg=ka.blur.conOpt=ka.select.cfg=ka.select.conOpt=null,ka.isLegacy=!1,Mue(u,e,a,i,l,ka),Cue(u,e,a,i,l),bM(r,u,e,a,ka,i,l),Be(a,"info")&&(mn(u).info=a.info);for(var v=0;v=0?n.replaceAt(u,o):n.add(u),u}function v7(r,t,e){var a=mn(r),i=t.type,n=t.shape,o=t.style;return e.isUniversalTransitionEnabled()||i!=null&&i!==a.customGraphicType||i==="path"&&Rue(n)&&h7(n)!==a.customPathData||i==="image"&&Be(o,"image")&&o.image!==a.customImagePath}function Cue(r,t,e,a,i){var n=e.clipPath;if(n===!1)r&&r.getClipPath()&&r.removeClipPath();else if(n){var o=r.getClipPath();o&&v7(o,n,a)&&(o=null),o||(o=SM(n),r.setClipPath(o)),bM(null,o,t,n,null,a,i)}}function Mue(r,t,e,a,i,n){if(!r.isGroup){SR(e,null,n),SR(e,yn,n);var o=n.normal.conOpt,s=n.emphasis.conOpt,l=n.blur.conOpt,u=n.select.conOpt;if(o!=null||s!=null||u!=null||l!=null){var v=r.getTextContent();if(o===!1)v&&r.removeTextContent();else{o=n.normal.conOpt=o||{type:"text"},v?v.clearStates():(v=SM(o),r.setTextContent(v)),bM(null,v,t,o,null,a,i);for(var h=o&&o.style,f=0;f=v;c--){var d=t.childAt(c);Lue(t,d,i)}}}function Lue(r,t,e){t&&ag(t,mn(r).option,e)}function Iue(r){new bn(r.oldChildren,r.newChildren,bR,bR,r).add(wR).update(wR).remove(Pue).execute()}function bR(r,t){var e=r&&r.name;return e!=null?e:_ue+t}function wR(r,t){var e=this.context,a=r!=null?e.newChildren[r]:null,i=t!=null?e.oldChildren[t]:null;wM(e.api,i,e.dataIndex,a,e.seriesModel,e.group)}function Pue(r){var t=this.context,e=t.oldChildren[r];e&&ag(e,mn(e).option,t.seriesModel)}function h7(r){return r&&(r.pathData||r.d)}function Rue(r){return r&&(Be(r,"pathData")||Be(r,"d"))}function Eue(r){r.registerChartView(bue),r.registerSeriesModel(jle)}var ls=yt(),TR=Ye,Cy=Ne,AM=(function(){function r(){this._dragging=!1,this.animationThreshold=15}return r.prototype.render=function(t,e,a,i){var n=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=a,!(!i&&this._lastValue===n&&this._lastStatus===o)){this._lastValue=n,this._lastStatus=o;var s=this._group,l=this._handle;if(!o||o==="hide"){s&&s.hide(),l&&l.hide();return}s&&s.show(),l&&l.show();var u={};this.makeElOption(u,n,t,e,a);var v=u.graphicKey;v!==this._lastGraphicKey&&this.clear(a),this._lastGraphicKey=v;var h=this._moveAnimation=this.determineAnimation(t,e);if(!s)s=this._group=new Ze,this.createPointerEl(s,u,t,e),this.createLabelEl(s,u,t,e),a.getZr().add(s);else{var f=et(AR,e,h);this.updatePointerEl(s,u,f),this.updateLabelEl(s,u,f,e)}MR(s,e,!0),this._renderHandle(n)}},r.prototype.remove=function(t){this.clear(t)},r.prototype.dispose=function(t){this.clear(t)},r.prototype.determineAnimation=function(t,e){var a=e.get("animation"),i=t.axis,n=i.type==="category",o=e.get("snap");if(!o&&!n)return!1;if(a==="auto"||a==null){var s=this.animationThreshold;if(n&&i.getBandWidth()>s)return!0;if(o){var l=YC(t).seriesDataCount,u=i.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return a===!0},r.prototype.makeElOption=function(t,e,a,i,n){},r.prototype.createPointerEl=function(t,e,a,i){var n=e.pointer;if(n){var o=ls(t).pointerEl=new Bs[n.type](TR(e.pointer));t.add(o)}},r.prototype.createLabelEl=function(t,e,a,i){if(e.label){var n=ls(t).labelEl=new pt(TR(e.label));t.add(n),CR(n,i)}},r.prototype.updatePointerEl=function(t,e,a){var i=ls(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),a(i,{shape:e.pointer.shape}))},r.prototype.updateLabelEl=function(t,e,a,i){var n=ls(t).labelEl;n&&(n.setStyle(e.label.style),a(n,{x:e.label.x,y:e.label.y}),CR(n,i))},r.prototype._renderHandle=function(t){if(!(this._dragging||!this.updateHandleTransform)){var e=this._axisPointerModel,a=this._api.getZr(),i=this._handle,n=e.getModel("handle"),o=e.get("status");if(!n.get("show")||!o||o==="hide"){i&&a.remove(i),this._handle=null;return}var s;this._handle||(s=!0,i=this._handle=vu(n.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(u){_n(u.event)},onmousedown:Cy(this._onHandleDragMove,this,0,0),drift:Cy(this._onHandleDragMove,this),ondragend:Cy(this._onHandleDragEnd,this)}),a.add(i)),MR(i,e,!1),i.setStyle(n.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=n.get("size");Se(l)||(l=[l,l]),i.scaleX=l[0]/2,i.scaleY=l[1]/2,mu(this,"_doDispatchAxisPointer",n.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,s)}},r.prototype._moveHandleToValue=function(t,e){AR(this._axisPointerModel,!e&&this._moveAnimation,this._handle,My(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},r.prototype._onHandleDragMove=function(t,e){var a=this._handle;if(a){this._dragging=!0;var i=this.updateHandleTransform(My(a),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,a.stopAnimation(),a.attr(My(i)),ls(a).lastProp=null,this._doDispatchAxisPointer()}},r.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var e=this._payloadInfo,a=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:a.axis.dim,axisIndex:a.componentIndex}]})}},r.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},r.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),a=this._group,i=this._handle;e&&a&&(this._lastGraphicKey=null,a&&e.remove(a),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),Sh(this,"_doDispatchAxisPointer")},r.prototype.doClear=function(){},r.prototype.buildLabel=function(t,e,a){return a=a||0,{x:t[a],y:t[1-a],width:e[a],height:e[1-a]}},r})();function AR(r,t,e,a){f7(ls(e).lastProp,a)||(ls(e).lastProp=a,t?wt(e,a,r):(e.stopAnimation(),e.attr(a)))}function f7(r,t){if($e(r)&&$e(t)){var e=!0;return $(t,function(a,i){e=e&&f7(r[i],a)}),!!e}else return r===t}function CR(r,t){r[t.get(["label","show"])?"show":"hide"]()}function My(r){return{x:r.x||0,y:r.y||0,rotation:r.rotation||0}}function MR(r,t,e){var a=t.get("z"),i=t.get("zlevel");r&&r.traverse(function(n){n.type!=="group"&&(a!=null&&(n.z=a),i!=null&&(n.zlevel=i),n.silent=e)})}function CM(r){var t=r.get("type"),e=r.getModel(t+"Style"),a;return t==="line"?(a=e.getLineStyle(),a.fill=null):t==="shadow"&&(a=e.getAreaStyle(),a.stroke=null),a}function c7(r,t,e,a,i){var n=e.get("value"),o=d7(n,t.axis,t.ecModel,e.get("seriesDataIndices"),{precision:e.get(["label","precision"]),formatter:e.get(["label","formatter"])}),s=e.getModel("label"),l=Vs(s.get("padding")||0),u=s.getFont(),v=Fh(o,u),h=i.position,f=v.width+l[1]+l[3],c=v.height+l[0]+l[2],d=i.align;d==="right"&&(h[0]-=f),d==="center"&&(h[0]-=f/2);var p=i.verticalAlign;p==="bottom"&&(h[1]-=c),p==="middle"&&(h[1]-=c/2),kue(h,f,c,a);var g=s.get("backgroundColor");(!g||g==="auto")&&(g=t.get(["axisLine","lineStyle","color"])),r.label={x:h[0],y:h[1],style:Ht(s,{text:o,font:u,fill:s.getTextColor(),padding:l,backgroundColor:g}),z2:10}}function kue(r,t,e,a){var i=a.getWidth(),n=a.getHeight();r[0]=Math.min(r[0]+t,i)-t,r[1]=Math.min(r[1]+e,n)-e,r[0]=Math.max(r[0],0),r[1]=Math.max(r[1],0)}function d7(r,t,e,a,i){r=t.scale.parse(r);var n=t.scale.getLabel({value:r},{precision:i.precision}),o=i.formatter;if(o){var s={value:HC(t,{value:r}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};$(a,function(l){var u=e.getSeriesByIndex(l.seriesIndex),v=l.dataIndexInside,h=u&&u.getDataParams(v);h&&s.seriesData.push(h)}),Re(o)?n=o.replace("{value}",n):He(o)&&(n=o(s))}return n}function MM(r,t,e){var a=xa();return co(a,a,e.rotation),yi(a,a,e.position),gi([r.dataToCoord(t),(e.labelOffset||0)+(e.labelDirection||1)*(e.labelMargin||0)],a)}function p7(r,t,e,a,i,n){var o=la.innerTextLayout(e.rotation,0,e.labelDirection);e.labelMargin=i.get(["label","margin"]),c7(t,a,i,n,{position:MM(a.axis,r,e),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function DM(r,t,e){return e=e||0,{x1:r[e],y1:r[1-e],x2:t[e],y2:t[1-e]}}function g7(r,t,e){return e=e||0,{x:r[e],y:r[1-e],width:t[e],height:t[1-e]}}function DR(r,t,e,a,i,n){return{cx:r,cy:t,r0:e,r:a,startAngle:i,endAngle:n,clockwise:!0}}var Oue=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.makeElOption=function(e,a,i,n,o){var s=i.axis,l=s.grid,u=n.get("type"),v=LR(l,s).getOtherAxis(s).getGlobalExtent(),h=s.toGlobalCoord(s.dataToCoord(a,!0));if(u&&u!=="none"){var f=CM(n),c=Nue[u](s,h,v);c.style=f,e.graphicKey=c.type,e.pointer=c}var d=BT(l.model,i);p7(a,e,d,i,n,o)},t.prototype.getHandleTransform=function(e,a,i){var n=BT(a.axis.grid.model,a,{labelInside:!1});n.labelMargin=i.get(["handle","margin"]);var o=MM(a.axis,e,n);return{x:o[0],y:o[1],rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,a,i,n){var o=i.axis,s=o.grid,l=o.getGlobalExtent(!0),u=LR(s,o).getOtherAxis(o).getGlobalExtent(),v=o.dim==="x"?0:1,h=[e.x,e.y];h[v]+=a[v],h[v]=Math.min(l[1],h[v]),h[v]=Math.max(l[0],h[v]);var f=(u[1]+u[0])/2,c=[f,f];c[v]=h[v];var d=[{verticalAlign:"middle"},{align:"center"}];return{x:h[0],y:h[1],rotation:e.rotation,cursorPoint:c,tooltipOption:d[v]}},t})(AM);function LR(r,t){var e={};return e[t.dim+"AxisIndex"]=t.index,r.getCartesian(e)}var Nue={line:function(r,t,e){var a=DM([t,e[0]],[t,e[1]],IR(r));return{type:"Line",subPixelOptimize:!0,shape:a}},shadow:function(r,t,e){var a=Math.max(1,r.getBandWidth()),i=e[1]-e[0];return{type:"Rect",shape:g7([t-a/2,e[0]],[a,i],IR(r))}}};function IR(r){return r.dim==="x"?0:1}var zue=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},t})(ut),gn=yt(),Bue=$;function m7(r,t,e){if(!vt.node){var a=t.getZr();gn(a).records||(gn(a).records={}),Vue(a,t);var i=gn(a).records[r]||(gn(a).records[r]={});i.handler=e}}function Vue(r,t){if(gn(r).initialized)return;gn(r).initialized=!0,e("click",et(PR,"click")),e("mousemove",et(PR,"mousemove")),e("globalout",Fue);function e(a,i){r.on(a,function(n){var o=Hue(t);Bue(gn(r).records,function(s){s&&i(s,n,o.dispatchAction)}),Gue(o.pendings,t)})}}function Gue(r,t){var e=r.showTip.length,a=r.hideTip.length,i;e?i=r.showTip[e-1]:a&&(i=r.hideTip[a-1]),i&&(i.dispatchAction=null,t.dispatchAction(i))}function Fue(r,t,e){r.handler("leave",null,e)}function PR(r,t,e,a){t.handler(r,e,a)}function Hue(r){var t={showTip:[],hideTip:[]},e=function(a){var i=t[a.type];i?i.push(a):(a.dispatchAction=e,r.dispatchAction(a))};return{dispatchAction:e,pendings:t}}function nA(r,t){if(!vt.node){var e=t.getZr(),a=(gn(e).records||{})[r];a&&(gn(e).records[r]=null)}}var que=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,a,i){var n=a.getComponent("tooltip"),o=e.get("triggerOn")||n&&n.get("triggerOn")||"mousemove|click";m7("axisPointer",i,function(s,l,u){o!=="none"&&(s==="leave"||o.indexOf(s)>=0)&&u({type:"updateAxisPointer",currTrigger:s,x:l&&l.offsetX,y:l&&l.offsetY})})},t.prototype.remove=function(e,a){nA("axisPointer",a)},t.prototype.dispose=function(e,a){nA("axisPointer",a)},t.type="axisPointer",t})(Wt);function y7(r,t){var e=[],a=r.seriesIndex,i;if(a==null||!(i=t.getSeriesByIndex(a)))return{point:[]};var n=i.getData(),o=Ds(n,r);if(o==null||o<0||Se(o))return{point:[]};var s=n.getItemGraphicEl(o),l=i.coordinateSystem;if(i.getTooltipPosition)e=i.getTooltipPosition(o)||[];else if(l&&l.dataToPoint)if(r.isStacked){var u=l.getBaseAxis(),v=l.getOtherAxis(u),h=v.dim,f=u.dim,c=h==="x"||h==="radius"?1:0,d=n.mapDimension(f),p=[];p[c]=n.get(d,o),p[1-c]=n.get(n.getCalculationInfo("stackResultDimension"),o),e=l.dataToPoint(p)||[]}else e=l.dataToPoint(n.getValues(we(l.dimensions,function(m){return n.mapDimension(m)}),o))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),e=[g.x+g.width/2,g.y+g.height/2]}return{point:e,el:s}}var RR=yt();function Wue(r,t,e){var a=r.currTrigger,i=[r.x,r.y],n=r,o=r.dispatchAction||Ne(e.dispatchAction,e),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){vd(i)&&(i=y7({seriesIndex:n.seriesIndex,dataIndex:n.dataIndex},t).point);var l=vd(i),u=n.axesInfo,v=s.axesInfo,h=a==="leave"||vd(i),f={},c={},d={list:[],map:{}},p={showPointer:et($ue,c),showTooltip:et(Yue,d)};$(s.coordSysMap,function(m,y){var _=l||m.containPoint(i);$(s.coordSysAxesInfo[y],function(x,S){var b=x.axis,w=Que(u,x);if(!h&&_&&(!u||w)){var A=w&&w.value;A==null&&!l&&(A=b.pointToData(i)),A!=null&&ER(x,A,p,!1,f)}})});var g={};return $(v,function(m,y){var _=m.linkGroup;_&&!c[y]&&$(_.axesInfo,function(x,S){var b=c[S];if(x!==m&&b){var w=b.value;_.mapper&&(w=m.axis.scale.parse(_.mapper(w,kR(x),kR(m)))),g[m.key]=w}})}),$(g,function(m,y){ER(v[y],m,p,!0,f)}),Zue(c,v,f),Xue(d,i,r,o),Kue(v,o,e),f}}function ER(r,t,e,a,i){var n=r.axis;if(!(n.scale.isBlank()||!n.containData(t))){if(!r.involveSeries){e.showPointer(r,t);return}var o=Uue(t,r),s=o.payloadBatch,l=o.snapToValue;s[0]&&i.seriesIndex==null&&_e(i,s[0]),!a&&r.snap&&n.containData(l)&&l!=null&&(t=l),e.showPointer(r,t,s),e.showTooltip(r,o,l)}}function Uue(r,t){var e=t.axis,a=e.dim,i=r,n=[],o=Number.MAX_VALUE,s=-1;return $(t.seriesModels,function(l,u){var v=l.getData().mapDimensionsAll(a),h,f;if(l.getAxisTooltipData){var c=l.getAxisTooltipData(v,r,e);f=c.dataIndices,h=c.nestestValue}else{if(f=l.getData().indicesOfNearest(v[0],r,e.type==="category"?.5:null),!f.length)return;h=l.getData().get(v[0],f[0])}if(!(h==null||!isFinite(h))){var d=r-h,p=Math.abs(d);p<=o&&((p=0&&s<0)&&(o=p,s=d,i=h,n.length=0),$(f,function(g){n.push({seriesIndex:l.seriesIndex,dataIndexInside:g,dataIndex:l.getData().getRawIndex(g)})}))}}),{payloadBatch:n,snapToValue:i}}function $ue(r,t,e,a){r[t.key]={value:e,payloadBatch:a}}function Yue(r,t,e,a){var i=e.payloadBatch,n=t.axis,o=n.model,s=t.axisPointerModel;if(!(!t.triggerTooltip||!i.length)){var l=t.coordSys.model,u=Ch(l),v=r.map[u];v||(v=r.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},r.list.push(v)),v.dataByAxis.push({axisDim:n.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:a,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function Zue(r,t,e){var a=e.axesInfo=[];$(t,function(i,n){var o=i.axisPointerModel.option,s=r[n];s?(!i.useHandle&&(o.status="show"),o.value=s.value,o.seriesDataIndices=(s.payloadBatch||[]).slice()):!i.useHandle&&(o.status="hide"),o.status==="show"&&a.push({axisDim:i.axis.dim,axisIndex:i.axis.model.componentIndex,value:o.value})})}function Xue(r,t,e,a){if(vd(t)||!r.list.length){a({type:"hideTip"});return}var i=((r.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};a({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:e.tooltipOption,position:e.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:r.list})}function Kue(r,t,e){var a=e.getZr(),i="axisPointerLastHighlights",n=RR(a)[i]||{},o=RR(a)[i]={};$(r,function(u,v){var h=u.axisPointerModel.option;h.status==="show"&&u.triggerEmphasis&&$(h.seriesDataIndices,function(f){var c=f.seriesIndex+" | "+f.dataIndex;o[c]=f})});var s=[],l=[];$(n,function(u,v){!o[v]&&l.push(u)}),$(o,function(u,v){!n[v]&&s.push(u)}),l.length&&e.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&e.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function Que(r,t){for(var e=0;e<(r||[]).length;e++){var a=r[e];if(t.axis.dim===a.axisDim&&t.axis.model.componentIndex===a.axisIndex)return a}}function kR(r){var t=r.axis.model,e={},a=e.axisDim=r.axis.dim;return e.axisIndex=e[a+"AxisIndex"]=t.componentIndex,e.axisName=e[a+"AxisName"]=t.name,e.axisId=e[a+"AxisId"]=t.id,e}function vd(r){return!r||r[0]==null||isNaN(r[0])||r[1]==null||isNaN(r[1])}function of(r){Hs.registerAxisPointerClass("CartesianAxisPointer",Oue),r.registerComponentModel(zue),r.registerComponentView(que),r.registerPreprocessor(function(t){if(t){(!t.axisPointer||t.axisPointer.length===0)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!Se(e)&&(t.axisPointer.link=[e])}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=sae(t,e)}),r.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},Wue)}function jue(r){ot($6),ot(of)}var Jue=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.makeElOption=function(e,a,i,n,o){var s=i.axis;s.dim==="angle"&&(this.animationThreshold=Math.PI/18);var l=s.polar,u=l.getOtherAxis(s),v=u.getExtent(),h=s.dataToCoord(a),f=n.get("type");if(f&&f!=="none"){var c=CM(n),d=tve[f](s,l,h,v);d.style=c,e.graphicKey=d.type,e.pointer=d}var p=n.get(["label","margin"]),g=eve(a,i,n,l,p);c7(e,i,n,o,g)},t})(AM);function eve(r,t,e,a,i){var n=t.axis,o=n.dataToCoord(r),s=a.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l=a.getRadiusAxis().getExtent(),u,v,h;if(n.dim==="radius"){var f=xa();co(f,f,s),yi(f,f,[a.cx,a.cy]),u=gi([o,-i],f);var c=t.getModel("axisLabel").get("rotate")||0,d=la.innerTextLayout(s,c*Math.PI/180,-1);v=d.textAlign,h=d.textVerticalAlign}else{var p=l[1];u=a.coordToPoint([p+i,o]);var g=a.cx,m=a.cy;v=Math.abs(u[0]-g)/p<.3?"center":u[0]>g?"left":"right",h=Math.abs(u[1]-m)/p<.3?"middle":u[1]>m?"top":"bottom"}return{position:u,align:v,verticalAlign:h}}var tve={line:function(r,t,e,a){return r.dim==="angle"?{type:"Line",shape:DM(t.coordToPoint([a[0],e]),t.coordToPoint([a[1],e]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:e}}},shadow:function(r,t,e,a){var i=Math.max(1,r.getBandWidth()),n=Math.PI/180;return r.dim==="angle"?{type:"Sector",shape:DR(t.cx,t.cy,a[0],a[1],(-e-i/2)*n,(-e+i/2)*n)}:{type:"Sector",shape:DR(t.cx,t.cy,e-i/2,e+i/2,0,Math.PI*2)}}},rve=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.findAxisModel=function(e){var a,i=this.ecModel;return i.eachComponent(e,function(n){n.getCoordSysModel()===this&&(a=n)},this),a},t.type="polar",t.dependencies=["radiusAxis","angleAxis"],t.defaultOption={z:0,center:["50%","50%"],radius:"80%"},t})(ut),LM=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",cr).models[0]},t.type="polarAxis",t})(ut);nr(LM,Su);var ave=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="angleAxis",t})(LM),ive=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="radiusAxis",t})(LM),IM=(function(r){he(t,r);function t(e,a){return r.call(this,"radius",e,a)||this}return t.prototype.pointToData=function(e,a){return this.polar.pointToData(e,a)[this.dim==="radius"?0:1]},t})(Ja);IM.prototype.dataToRadius=Ja.prototype.dataToCoord;IM.prototype.radiusToData=Ja.prototype.coordToData;var nve=yt(),PM=(function(r){he(t,r);function t(e,a){return r.call(this,"angle",e,a||[0,360])||this}return t.prototype.pointToData=function(e,a){return this.polar.pointToData(e,a)[this.dim==="radius"?0:1]},t.prototype.calculateCategoryInterval=function(){var e=this,a=e.getLabelModel(),i=e.scale,n=i.getExtent(),o=i.count();if(n[1]-n[0]<1)return 0;var s=n[0],l=e.dataToCoord(s+1)-e.dataToCoord(s),u=Math.abs(l),v=Fh(s==null?"":s+"",a.getFont(),"center","top"),h=Math.max(v.height,7),f=h/u;isNaN(f)&&(f=1/0);var c=Math.max(0,Math.floor(f)),d=nve(e.model),p=d.lastAutoInterval,g=d.lastTickCount;return p!=null&&g!=null&&Math.abs(p-c)<=1&&Math.abs(g-o)<=1&&p>c?c=p:(d.lastTickCount=o,d.lastAutoInterval=c),c},t})(Ja);PM.prototype.dataToAngle=Ja.prototype.dataToCoord;PM.prototype.angleToData=Ja.prototype.coordToData;var _7=["radius","angle"],ove=(function(){function r(t){this.dimensions=_7,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new IM,this._angleAxis=new PM,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return r.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},r.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},r.prototype.getAxis=function(t){var e="_"+t+"Axis";return this[e]},r.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},r.prototype.getAxesByScale=function(t){var e=[],a=this._angleAxis,i=this._radiusAxis;return a.scale.type===t&&e.push(a),i.scale.type===t&&e.push(i),e},r.prototype.getAngleAxis=function(){return this._angleAxis},r.prototype.getRadiusAxis=function(){return this._radiusAxis},r.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},r.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},r.prototype.getTooltipAxes=function(t){var e=t!=null&&t!=="auto"?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},r.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},r.prototype.pointToData=function(t,e){var a=this.pointToCoord(t);return[this._radiusAxis.radiusToData(a[0],e),this._angleAxis.angleToData(a[1],e)]},r.prototype.pointToCoord=function(t){var e=t[0]-this.cx,a=t[1]-this.cy,i=this.getAngleAxis(),n=i.getExtent(),o=Math.min(n[0],n[1]),s=Math.max(n[0],n[1]);i.inverse?o=s-360:s=o+360;var l=Math.sqrt(e*e+a*a);e/=l,a/=l;for(var u=Math.atan2(-a,e)/Math.PI*180,v=us;)u+=v*360;return[l,u]},r.prototype.coordToPoint=function(t){var e=t[0],a=t[1]/180*Math.PI,i=Math.cos(a)*e+this.cx,n=-Math.sin(a)*e+this.cy;return[i,n]},r.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis(),a=e.getExtent().slice();a[0]>a[1]&&a.reverse();var i=t.getExtent(),n=Math.PI/180,o=1e-4;return{cx:this.cx,cy:this.cy,r0:a[0],r:a[1],startAngle:-i[0]*n,endAngle:-i[1]*n,clockwise:t.inverse,contain:function(s,l){var u=s-this.cx,v=l-this.cy,h=u*u+v*v,f=this.r,c=this.r0;return f!==c&&h-o<=f*f&&h+o>=c*c}}},r.prototype.convertToPixel=function(t,e,a){var i=OR(e);return i===this?this.dataToPoint(a):null},r.prototype.convertFromPixel=function(t,e,a){var i=OR(e);return i===this?this.pointToData(a):null},r})();function OR(r){var t=r.seriesModel,e=r.polarModel;return e&&e.coordinateSystem||t&&t.coordinateSystem}function sve(r,t,e){var a=t.get("center"),i=e.getWidth(),n=e.getHeight();r.cx=Ie(a[0],i),r.cy=Ie(a[1],n);var o=r.getRadiusAxis(),s=Math.min(i,n)/2,l=t.get("radius");l==null?l=[0,"100%"]:Se(l)||(l=[0,l]);var u=[Ie(l[0],s),Ie(l[1],s)];o.inverse?o.setExtent(u[1],u[0]):o.setExtent(u[0],u[1])}function lve(r,t){var e=this,a=e.getAngleAxis(),i=e.getRadiusAxis();if(a.scale.setExtent(1/0,-1/0),i.scale.setExtent(1/0,-1/0),r.eachSeries(function(s){if(s.coordinateSystem===e){var l=s.getData();$($d(l,"radius"),function(u){i.scale.unionExtentFromData(l,u)}),$($d(l,"angle"),function(u){a.scale.unionExtentFromData(l,u)})}}),Rs(a.scale,a.model),Rs(i.scale,i.model),a.type==="category"&&!a.onBand){var n=a.getExtent(),o=360/a.scale.count();a.inverse?n[1]+=o:n[1]-=o,a.setExtent(n[0],n[1])}}function uve(r){return r.mainType==="angleAxis"}function NR(r,t){var e;if(r.type=t.get("type"),r.scale=Kh(t),r.onBand=t.get("boundaryGap")&&r.type==="category",r.inverse=t.get("inverse"),uve(t)){r.inverse=r.inverse!==t.get("clockwise");var a=t.get("startAngle"),i=(e=t.get("endAngle"))!==null&&e!==void 0?e:a+(r.inverse?-360:360);r.setExtent(a,i)}t.axis=r,r.model=t}var vve={dimensions:_7,create:function(r,t){var e=[];return r.eachComponent("polar",function(a,i){var n=new ove(i+"");n.update=lve;var o=n.getRadiusAxis(),s=n.getAngleAxis(),l=a.findAxisModel("radiusAxis"),u=a.findAxisModel("angleAxis");NR(o,l),NR(s,u),sve(n,a,t),e.push(n),a.coordinateSystem=n,n.model=a}),r.eachSeries(function(a){if(a.get("coordinateSystem")==="polar"){var i=a.getReferringComponents("polar",cr).models[0];a.coordinateSystem=i.coordinateSystem}}),e}},hve=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function gc(r,t,e){t[1]>t[0]&&(t=t.slice().reverse());var a=r.coordToPoint([t[0],e]),i=r.coordToPoint([t[1],e]);return{x1:a[0],y1:a[1],x2:i[0],y2:i[1]}}function mc(r){var t=r.getRadiusAxis();return t.inverse?0:1}function zR(r){var t=r[0],e=r[r.length-1];t&&e&&Math.abs(Math.abs(t.coord-e.coord)-360)<1e-4&&r.pop()}var fve=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.axisPointerClass="PolarAxisPointer",e}return t.prototype.render=function(e,a){if(this.group.removeAll(),!!e.get("show")){var i=e.axis,n=i.polar,o=n.getRadiusAxis().getExtent(),s=i.getTicksCoords(),l=i.getMinorTicksCoords(),u=we(i.getViewLabels(),function(v){v=Ye(v);var h=i.scale,f=h.type==="ordinal"?h.getRawOrdinalNumber(v.tickValue):v.tickValue;return v.coord=i.dataToCoord(f),v});zR(u),zR(s),$(hve,function(v){e.get([v,"show"])&&(!i.scale.isBlank()||v==="axisLine")&&cve[v](this.group,e,n,s,l,o,u)},this)}},t.type="angleAxis",t})(Hs),cve={axisLine:function(r,t,e,a,i,n){var o=t.getModel(["axisLine","lineStyle"]),s=e.getAngleAxis(),l=Math.PI/180,u=s.getExtent(),v=mc(e),h=v?0:1,f,c=Math.abs(u[1]-u[0])===360?"Circle":"Arc";n[h]===0?f=new Bs[c]({shape:{cx:e.cx,cy:e.cy,r:n[v],startAngle:-u[0]*l,endAngle:-u[1]*l,clockwise:s.inverse},style:o.getLineStyle(),z2:1,silent:!0}):f=new ou({shape:{cx:e.cx,cy:e.cy,r:n[v],r0:n[h]},style:o.getLineStyle(),z2:1,silent:!0}),f.style.fill=null,r.add(f)},axisTick:function(r,t,e,a,i,n){var o=t.getModel("axisTick"),s=(o.get("inside")?-1:1)*o.get("length"),l=n[mc(e)],u=we(a,function(v){return new xr({shape:gc(e,[l,l+s],v.coord)})});r.add(wa(u,{style:Ue(o.getModel("lineStyle").getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])})}))},minorTick:function(r,t,e,a,i,n){if(i.length){for(var o=t.getModel("axisTick"),s=t.getModel("minorTick"),l=(o.get("inside")?-1:1)*s.get("length"),u=n[mc(e)],v=[],h=0;hm?"left":"right",x=Math.abs(g[1]-y)/p<.3?"middle":g[1]>y?"top":"bottom";if(s&&s[d]){var S=s[d];$e(S)&&S.textStyle&&(c=new Mt(S.textStyle,l,l.ecModel))}var b=new pt({silent:la.isLabelSilent(t),style:Ht(c,{x:g[0],y:g[1],fill:c.getTextColor()||t.get(["axisLine","lineStyle","color"]),text:h.formattedLabel,align:_,verticalAlign:x})});if(r.add(b),v){var w=la.makeAxisEventDataBase(t);w.targetType="axisLabel",w.value=h.rawLabel,Xe(b).eventData=w}},this)},splitLine:function(r,t,e,a,i,n){var o=t.getModel("splitLine"),s=o.getModel("lineStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var v=[],h=0;h=0?"p":"n",I=T;S&&(a[v][D]||(a[v][D]={p:T,n:T}),I=a[v][D][P]);var R=void 0,E=void 0,k=void 0,B=void 0;if(d.dim==="radius"){var F=d.dataToCoord(L)-T,V=l.dataToCoord(D);Math.abs(F)=B})}}})}function xve(r){var t={};$(r,function(a,i){var n=a.getData(),o=a.coordinateSystem,s=o.getBaseAxis(),l=S7(o,s),u=s.getExtent(),v=s.type==="category"?s.getBandWidth():Math.abs(u[1]-u[0])/n.count(),h=t[l]||{bandWidth:v,remainedWidth:v,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},f=h.stacks;t[l]=h;var c=x7(a);f[c]||h.autoWidthCount++,f[c]=f[c]||{width:0,maxWidth:0};var d=Ie(a.get("barWidth"),v),p=Ie(a.get("barMaxWidth"),v),g=a.get("barGap"),m=a.get("barCategoryGap");d&&!f[c].width&&(d=Math.min(h.remainedWidth,d),f[c].width=d,h.remainedWidth-=d),p&&(f[c].maxWidth=p),g!=null&&(h.gap=g),m!=null&&(h.categoryGap=m)});var e={};return $(t,function(a,i){e[i]={};var n=a.stacks,o=a.bandWidth,s=Ie(a.categoryGap,o),l=Ie(a.gap,1),u=a.remainedWidth,v=a.autoWidthCount,h=(u-s)/(v+(v-1)*l);h=Math.max(h,0),$(n,function(p,g){var m=p.maxWidth;m&&m=e.y&&t[1]<=e.y+e.height:a.contain(a.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},r.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t[e.orient==="horizontal"?0:1]))]},r.prototype.dataToPoint=function(t){var e=this.getAxis(),a=this.getRect(),i=[],n=e.orient==="horizontal"?0:1;return t instanceof Array&&(t=t[0]),i[n]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-n]=n===0?a.y+a.height/2:a.x+a.width/2,i},r.prototype.convertToPixel=function(t,e,a){var i=BR(e);return i===this?this.dataToPoint(a):null},r.prototype.convertFromPixel=function(t,e,a){var i=BR(e);return i===this?this.pointToData(a):null},r})();function BR(r){var t=r.seriesModel,e=r.singleAxisModel;return e&&e.coordinateSystem||t&&t.coordinateSystem}function Pve(r,t){var e=[];return r.eachComponent("singleAxis",function(a,i){var n=new Ive(a,r,t);n.name="single_"+i,n.resize(a,t),a.coordinateSystem=n,e.push(n)}),r.eachSeries(function(a){if(a.get("coordinateSystem")==="singleAxis"){var i=a.getReferringComponents("singleAxis",cr).models[0];a.coordinateSystem=i&&i.coordinateSystem}}),e}var Rve={create:Pve,dimensions:b7},VR=["x","y"],Eve=["width","height"],kve=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.makeElOption=function(e,a,i,n,o){var s=i.axis,l=s.coordinateSystem,u=Dy(l,1-np(s)),v=l.dataToPoint(a)[0],h=n.get("type");if(h&&h!=="none"){var f=CM(n),c=Ove[h](s,v,u);c.style=f,e.graphicKey=c.type,e.pointer=c}var d=oA(i);p7(a,e,d,i,n,o)},t.prototype.getHandleTransform=function(e,a,i){var n=oA(a,{labelInside:!1});n.labelMargin=i.get(["handle","margin"]);var o=MM(a.axis,e,n);return{x:o[0],y:o[1],rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,a,i,n){var o=i.axis,s=o.coordinateSystem,l=np(o),u=Dy(s,l),v=[e.x,e.y];v[l]+=a[l],v[l]=Math.min(u[1],v[l]),v[l]=Math.max(u[0],v[l]);var h=Dy(s,1-l),f=(h[1]+h[0])/2,c=[f,f];return c[l]=v[l],{x:v[0],y:v[1],rotation:e.rotation,cursorPoint:c,tooltipOption:{verticalAlign:"middle"}}},t})(AM),Ove={line:function(r,t,e){var a=DM([t,e[0]],[t,e[1]],np(r));return{type:"Line",subPixelOptimize:!0,shape:a}},shadow:function(r,t,e){var a=r.getBandWidth(),i=e[1]-e[0];return{type:"Rect",shape:g7([t-a/2,e[0]],[a,i],np(r))}}};function np(r){return r.isHorizontal()?0:1}function Dy(r,t){var e=r.getRect();return[e[VR[t]],e[VR[t]]+e[Eve[t]]]}var Nve=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="single",t})(Wt);function zve(r){ot(of),Hs.registerAxisPointerClass("SingleAxisPointer",kve),r.registerComponentView(Nve),r.registerComponentView(Mve),r.registerComponentModel(hd),Jl(r,"single",hd,hd.defaultOption),r.registerCoordinateSystem("single",Rve)}var Bve=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,a,i){var n=cu(e);r.prototype.init.apply(this,arguments),GR(e,n)},t.prototype.mergeOption=function(e){r.prototype.mergeOption.apply(this,arguments),GR(this.option,e)},t.prototype.getCellSize=function(){return this.option.cellSize},t.type="calendar",t.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},t})(ut);function GR(r,t){var e=r.cellSize,a;Se(e)?a=e:a=r.cellSize=[e,e],a.length===1&&(a[1]=a[0]);var i=we([0,1],function(n){return DQ(t,n)&&(a[n]="auto"),a[n]!=null&&a[n]!=="auto"});uo(r,t,{type:"box",ignoreSize:i})}var Vve=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,a,i){var n=this.group;n.removeAll();var o=e.coordinateSystem,s=o.getRangeInfo(),l=o.getOrient(),u=a.getLocaleModel();this._renderDayRect(e,s,n),this._renderLines(e,s,l,n),this._renderYearText(e,s,l,n),this._renderMonthText(e,u,l,n),this._renderWeekText(e,u,s,l,n)},t.prototype._renderDayRect=function(e,a,i){for(var n=e.coordinateSystem,o=e.getModel("itemStyle").getItemStyle(),s=n.getCellWidth(),l=n.getCellHeight(),u=a.start.time;u<=a.end.time;u=n.getNextNDay(u,1).time){var v=n.dataToRect([u],!1).tl,h=new gt({shape:{x:v[0],y:v[1],width:s,height:l},cursor:"default",style:o});i.add(h)}},t.prototype._renderLines=function(e,a,i,n){var o=this,s=e.coordinateSystem,l=e.getModel(["splitLine","lineStyle"]).getLineStyle(),u=e.get(["splitLine","show"]),v=l.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var h=a.start,f=0;h.time<=a.end.time;f++){d(h.formatedDate),f===0&&(h=s.getDateInfo(a.start.y+"-"+a.start.m));var c=h.date;c.setMonth(c.getMonth()+1),h=s.getDateInfo(c)}d(s.getNextNDay(a.end.time,1).formatedDate);function d(p){o._firstDayOfMonth.push(s.getDateInfo(p)),o._firstDayPoints.push(s.dataToRect([p],!1).tl);var g=o._getLinePointsOfOneWeek(e,p,i);o._tlpoints.push(g[0]),o._blpoints.push(g[g.length-1]),u&&o._drawSplitline(g,l,n)}u&&this._drawSplitline(o._getEdgesPoints(o._tlpoints,v,i),l,n),u&&this._drawSplitline(o._getEdgesPoints(o._blpoints,v,i),l,n)},t.prototype._getEdgesPoints=function(e,a,i){var n=[e[0].slice(),e[e.length-1].slice()],o=i==="horizontal"?0:1;return n[0][o]=n[0][o]-a/2,n[1][o]=n[1][o]+a/2,n},t.prototype._drawSplitline=function(e,a,i){var n=new ea({z2:20,shape:{points:e},style:a});i.add(n)},t.prototype._getLinePointsOfOneWeek=function(e,a,i){for(var n=e.coordinateSystem,o=n.getDateInfo(a),s=[],l=0;l<7;l++){var u=n.getNextNDay(o.time,l),v=n.dataToRect([u.time],!1);s[2*u.day]=v.tl,s[2*u.day+1]=v[i==="horizontal"?"bl":"tr"]}return s},t.prototype._formatterLabel=function(e,a){return Re(e)&&e?TQ(e,a):He(e)?e(a):a.nameMap},t.prototype._yearTextPositionControl=function(e,a,i,n,o){var s=a[0],l=a[1],u=["center","bottom"];n==="bottom"?(l+=o,u=["center","top"]):n==="left"?s-=o:n==="right"?(s+=o,u=["center","top"]):l-=o;var v=0;return(n==="left"||n==="right")&&(v=Math.PI/2),{rotation:v,x:s,y:l,style:{align:u[0],verticalAlign:u[1]}}},t.prototype._renderYearText=function(e,a,i,n){var o=e.getModel("yearLabel");if(o.get("show")){var s=o.get("margin"),l=o.get("position");l||(l=i!=="horizontal"?"top":"left");var u=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],v=(u[0][0]+u[1][0])/2,h=(u[0][1]+u[1][1])/2,f=i==="horizontal"?0:1,c={top:[v,u[f][1]],bottom:[v,u[1-f][1]],left:[u[1-f][0],h],right:[u[f][0],h]},d=a.start.y;+a.end.y>+a.start.y&&(d=d+"-"+a.end.y);var p=o.get("formatter"),g={start:a.start.y,end:a.end.y,nameMap:d},m=this._formatterLabel(p,g),y=new pt({z2:30,style:Ht(o,{text:m}),silent:o.get("silent")});y.attr(this._yearTextPositionControl(y,c[l],i,l,s)),n.add(y)}},t.prototype._monthTextPositionControl=function(e,a,i,n,o){var s="left",l="top",u=e[0],v=e[1];return i==="horizontal"?(v=v+o,a&&(s="center"),n==="start"&&(l="bottom")):(u=u+o,a&&(l="middle"),n==="start"&&(s="right")),{x:u,y:v,align:s,verticalAlign:l}},t.prototype._renderMonthText=function(e,a,i,n){var o=e.getModel("monthLabel");if(o.get("show")){var s=o.get("nameMap"),l=o.get("margin"),u=o.get("position"),v=o.get("align"),h=[this._tlpoints,this._blpoints];(!s||Re(s))&&(s&&(a=gT(s)||a),s=a.get(["time","monthAbbr"])||[]);var f=u==="start"?0:1,c=i==="horizontal"?0:1;l=u==="start"?-l:l;for(var d=v==="center",p=o.get("silent"),g=0;g=i.start.time&&a.times.end.time&&e.reverse(),e},r.prototype._getRangeInfo=function(t){var e=[this.getDateInfo(t[0]),this.getDateInfo(t[1])],a;e[0].time>e[1].time&&(a=!0,e.reverse());var i=Math.floor(e[1].time/Ly)-Math.floor(e[0].time/Ly)+1,n=new Date(e[0].time),o=n.getDate(),s=e[1].date.getDate();n.setDate(o+i-1);var l=n.getDate();if(l!==s)for(var u=n.getTime()-e[1].time>0?1:-1;(l=n.getDate())!==s&&(n.getTime()-e[1].time)*u>0;)i-=u,n.setDate(l-u);var v=Math.floor((i+e[0].day+6)/7),h=a?-v+1:v-1;return a&&e.reverse(),{range:[e[0].formatedDate,e[1].formatedDate],start:e[0],end:e[1],allDay:i,weeks:v,nthWeek:h,fweek:e[0].day,lweek:e[1].day}},r.prototype._getDateByWeeksAndDay=function(t,e,a){var i=this._getRangeInfo(a);if(t>i.weeks||t===0&&ei.lweek)return null;var n=(t-1)*7-i.fweek+e,o=new Date(i.start.time);return o.setDate(+i.start.d+n),this.getDateInfo(o)},r.create=function(t,e){var a=[];return t.eachComponent("calendar",function(i){var n=new r(i);a.push(n),i.coordinateSystem=n}),t.eachSeries(function(i){i.get("coordinateSystem")==="calendar"&&(i.coordinateSystem=a[i.get("calendarIndex")||0])}),a},r.dimensions=["time","value"],r})();function FR(r){var t=r.calendarModel,e=r.seriesModel,a=t?t.coordinateSystem:e?e.coordinateSystem:null;return a}function Fve(r){r.registerComponentModel(Bve),r.registerComponentView(Vve),r.registerCoordinateSystem("calendar",Gve)}function Hve(r,t){var e=r.existing;if(t.id=r.keyInfo.id,!t.type&&e&&(t.type=e.type),t.parentId==null){var a=t.parentOption;a?t.parentId=a.id:e&&(t.parentId=e.parentId)}t.parentOption=null}function HR(r,t){var e;return $(t,function(a){r[a]!=null&&r[a]!=="auto"&&(e=!0)}),e}function qve(r,t,e){var a=_e({},e),i=r[t],n=e.$action||"merge";n==="merge"?i?(tt(i,a,!0),uo(i,a,{ignoreSize:!0}),AW(e,i),yc(e,i),yc(e,i,"shape"),yc(e,i,"style"),yc(e,i,"extra"),e.clipPath=i.clipPath):r[t]=a:n==="replace"?r[t]=a:n==="remove"&&i&&(r[t]=null)}var w7=["transition","enterFrom","leaveTo"],Wve=w7.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function yc(r,t,e){if(e&&(!r[e]&&t[e]&&(r[e]={}),r=r[e],t=t[e]),!(!r||!t))for(var a=e?w7:Wve,i=0;i=0;v--){var h=i[v],f=_r(h.id,null),c=f!=null?o.get(f):null;if(c){var d=c.parent,m=Fa(d),y=d===n?{width:s,height:l}:{width:m.width,height:m.height},_={},x=Fp(c,h,y,null,{hv:h.hv,boundingMode:h.bounding},_);if(!Fa(c).isNew&&x){for(var S=h.transition,b={},w=0;w=0)?b[A]=T:c[A]=T}wt(c,b,e,0)}else c.attr(_)}}},t.prototype._clear=function(){var e=this,a=this._elMap;a.each(function(i){fd(i,Fa(i).option,a,e._lastGraphicModel)}),this._elMap=Ge()},t.prototype.dispose=function(){this._clear()},t.type="graphic",t})(Wt);function sA(r){var t=Be(qR,r)?qR[r]:kp(r),e=new t({});return Fa(e).type=r,e}function WR(r,t,e,a){var i=sA(e);return t.add(i),a.set(r,i),Fa(i).id=r,Fa(i).isNew=!0,i}function fd(r,t,e,a){var i=r&&r.parent;i&&(r.type==="group"&&r.traverse(function(n){fd(n,t,e,a)}),ag(r,t,a),e.removeKey(Fa(r).id))}function UR(r,t,e,a){r.isGroup||$([["cursor",Za.prototype.cursor],["zlevel",a||0],["z",e||0],["z2",0]],function(i){var n=i[0];Be(t,n)?r[n]=Je(t[n],i[1]):r[n]==null&&(r[n]=i[1])}),$(ft(t),function(i){if(i.indexOf("on")===0){var n=t[i];r[i]=He(n)?n:null}}),Be(t,"draggable")&&(r.draggable=t.draggable),t.name!=null&&(r.name=t.name),t.id!=null&&(r.id=t.id)}function Zve(r){return r=_e({},r),$(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(TW),function(t){delete r[t]}),r}function Xve(r,t,e){var a=Xe(r).eventData;!r.silent&&!r.ignore&&!a&&(a=Xe(r).eventData={componentType:"graphic",componentIndex:t.componentIndex,name:r.name}),a&&(a.info=e.info)}function Kve(r){r.registerComponentModel($ve),r.registerComponentView(Yve),r.registerPreprocessor(function(t){var e=t.graphic;Se(e)?!e[0]||!e[0].elements?t.graphic=[{elements:e}]:t.graphic=[t.graphic[0]]:e&&!e.elements&&(t.graphic=[{elements:[e]}])})}var $R=["x","y","radius","angle","single"],Qve=["cartesian2d","polar","singleAxis"];function jve(r){var t=r.get("coordinateSystem");return nt(Qve,t)>=0}function jn(r){return r+"Axis"}function Jve(r,t){var e=Ge(),a=[],i=Ge();r.eachComponent({mainType:"dataZoom",query:t},function(v){i.get(v.uid)||s(v)});var n;do n=!1,r.eachComponent("dataZoom",o);while(n);function o(v){!i.get(v.uid)&&l(v)&&(s(v),n=!0)}function s(v){i.set(v.uid,!0),a.push(v),u(v)}function l(v){var h=!1;return v.eachTargetAxis(function(f,c){var d=e.get(f);d&&d[c]&&(h=!0)}),h}function u(v){v.eachTargetAxis(function(h,f){(e.get(h)||e.set(h,[]))[f]=!0})}return a}function T7(r){var t=r.ecModel,e={infoList:[],infoMap:Ge()};return r.eachTargetAxis(function(a,i){var n=t.getComponent(jn(a),i);if(n){var o=n.getCoordSysModel();if(o){var s=o.uid,l=e.infoMap.get(s);l||(l={model:o,axisModels:[]},e.infoList.push(l),e.infoMap.set(s,l)),l.axisModels.push(n)}}}),e}var Iy=(function(){function r(){this.indexList=[],this.indexMap=[]}return r.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},r})(),Rh=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._autoThrottle=!0,e._noTarget=!0,e._rangePropMode=["percent","percent"],e}return t.prototype.init=function(e,a,i){var n=YR(e);this.settledOption=n,this.mergeDefaultAndTheme(e,i),this._doInit(n)},t.prototype.mergeOption=function(e){var a=YR(e);tt(this.option,e,!0),tt(this.settledOption,a,!0),this._doInit(a)},t.prototype._doInit=function(e){var a=this.option;this._setDefaultThrottle(e),this._updateRangeUse(e);var i=this.settledOption;$([["start","startValue"],["end","endValue"]],function(n,o){this._rangePropMode[o]==="value"&&(a[n[0]]=i[n[0]]=null)},this),this._resetTarget()},t.prototype._resetTarget=function(){var e=this.get("orient",!0),a=this._targetAxisInfoMap=Ge(),i=this._fillSpecifiedTargetAxis(a);i?this._orient=e||this._makeAutoOrientByTargetAxis():(this._orient=e||"horizontal",this._fillAutoTargetAxisByOrient(a,this._orient)),this._noTarget=!0,a.each(function(n){n.indexList.length&&(this._noTarget=!1)},this)},t.prototype._fillSpecifiedTargetAxis=function(e){var a=!1;return $($R,function(i){var n=this.getReferringComponents(jn(i),gX);if(n.specified){a=!0;var o=new Iy;$(n.models,function(s){o.add(s.componentIndex)}),e.set(i,o)}},this),a},t.prototype._fillAutoTargetAxisByOrient=function(e,a){var i=this.ecModel,n=!0;if(n){var o=a==="vertical"?"y":"x",s=i.findComponents({mainType:o+"Axis"});l(s,o)}if(n){var s=i.findComponents({mainType:"singleAxis",filter:function(v){return v.get("orient",!0)===a}});l(s,"single")}function l(u,v){var h=u[0];if(h){var f=new Iy;if(f.add(h.componentIndex),e.set(v,f),n=!1,v==="x"||v==="y"){var c=h.getReferringComponents("grid",cr).models[0];c&&$(u,function(d){h.componentIndex!==d.componentIndex&&c===d.getReferringComponents("grid",cr).models[0]&&f.add(d.componentIndex)})}}}n&&$($R,function(u){if(n){var v=i.findComponents({mainType:jn(u),filter:function(f){return f.get("type",!0)==="category"}});if(v[0]){var h=new Iy;h.add(v[0].componentIndex),e.set(u,h),n=!1}}},this)},t.prototype._makeAutoOrientByTargetAxis=function(){var e;return this.eachTargetAxis(function(a){!e&&(e=a)},this),e==="y"?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var a=this.ecModel.option;this.option.throttle=a.animation&&a.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(e){var a=this._rangePropMode,i=this.get("rangeMode");$([["start","startValue"],["end","endValue"]],function(n,o){var s=e[n[0]]!=null,l=e[n[1]]!=null;s&&!l?a[o]="percent":!s&&l?a[o]="value":i?a[o]=i[o]:s&&(a[o]="percent")})},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis(function(a,i){e==null&&(e=this.ecModel.getComponent(jn(a),i))},this),e},t.prototype.eachTargetAxis=function(e,a){this._targetAxisInfoMap.each(function(i,n){$(i.indexList,function(o){e.call(a,n,o)})})},t.prototype.getAxisProxy=function(e,a){var i=this.getAxisModel(e,a);if(i)return i.__dzAxisProxy},t.prototype.getAxisModel=function(e,a){var i=this._targetAxisInfoMap.get(e);if(i&&i.indexMap[a])return this.ecModel.getComponent(jn(e),a)},t.prototype.setRawRange=function(e){var a=this.option,i=this.settledOption;$([["start","startValue"],["end","endValue"]],function(n){(e[n[0]]!=null||e[n[1]]!=null)&&(a[n[0]]=i[n[0]]=e[n[0]],a[n[1]]=i[n[1]]=e[n[1]])},this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var a=this.option;$(["start","startValue","end","endValue"],function(i){a[i]=e[i]})},t.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},t.prototype.getValueRange=function(e,a){if(e==null&&a==null){var i=this.findRepresentativeAxisProxy();if(i)return i.getDataValueWindow()}else return this.getAxisProxy(e,a).getDataValueWindow()},t.prototype.findRepresentativeAxisProxy=function(e){if(e)return e.__dzAxisProxy;for(var a,i=this._targetAxisInfoMap.keys(),n=0;no[1];if(_&&!x&&!S)return!0;_&&(g=!0),x&&(d=!0),S&&(p=!0)}return g&&d&&p})}else Il(v,function(c){if(n==="empty")l.setData(u=u.map(c,function(p){return s(p)?p:NaN}));else{var d={};d[c]=o,u.selectRange(d)}});Il(v,function(c){u.setApproximateExtent(o,c)})}});function s(l){return l>=o[0]&&l<=o[1]}},r.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,a=this._dataExtent;Il(["min","max"],function(i){var n=e.get(i+"Span"),o=e.get(i+"ValueSpan");o!=null&&(o=this.getAxisModel().axis.scale.parse(o)),o!=null?n=Pt(a[0]+o,a,[0,100],!0):n!=null&&(o=Pt(n,[0,100],a,!0)-a[0]),t[i+"Span"]=n,t[i+"ValueSpan"]=o},this)},r.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,a=this._valueWindow;if(e){var i=FA(a,[0,500]);i=Math.min(i,20);var n=t.axis.scale.rawExtentInfo;e[0]!==0&&n.setDeterminedMinMax("min",+a[0].toFixed(i)),e[1]!==100&&n.setDeterminedMinMax("max",+a[1].toFixed(i)),n.freeze()}},r})();function ahe(r,t,e){var a=[1/0,-1/0];Il(e,function(o){ste(a,o.getData(),t)});var i=r.getAxisModel(),n=r6(i.axis.scale,i,a).calculate();return[n.min,n.max]}var ihe={getTargetSeries:function(r){function t(i){r.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(o,s){var l=r.getComponent(jn(o),s);i(o,s,l,n)})})}t(function(i,n,o,s){o.__dzAxisProxy=null});var e=[];t(function(i,n,o,s){o.__dzAxisProxy||(o.__dzAxisProxy=new rhe(i,n,s,r),e.push(o.__dzAxisProxy))});var a=Ge();return $(e,function(i){$(i.getTargetSeriesModels(),function(n){a.set(n.uid,n)})}),a},overallReset:function(r,t){r.eachComponent("dataZoom",function(e){e.eachTargetAxis(function(a,i){e.getAxisProxy(a,i).reset(e)}),e.eachTargetAxis(function(a,i){e.getAxisProxy(a,i).filterData(e,t)})}),r.eachComponent("dataZoom",function(e){var a=e.findRepresentativeAxisProxy();if(a){var i=a.getDataPercentWindow(),n=a.getDataValueWindow();e.setCalculatedRange({start:i[0],end:i[1],startValue:n[0],endValue:n[1]})}})}};function nhe(r){r.registerAction("dataZoom",function(t,e){var a=Jve(e,t);$(a,function(i){i.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}var XR=!1;function EM(r){XR||(XR=!0,r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,ihe),nhe(r),r.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function ohe(r){r.registerComponentModel(ehe),r.registerComponentView(the),EM(r)}var qa=(function(){function r(){}return r})(),A7={};function Pl(r,t){A7[r]=t}function C7(r){return A7[r]}var she=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.optionUpdated=function(){r.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;$(this.option.feature,function(a,i){var n=C7(i);n&&(n.getDefaultOption&&(n.defaultOption=n.getDefaultOption(e)),tt(a,n.defaultOption))})},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},t})(ut);function lhe(r,t,e){var a=t.getBoxLayoutParams(),i=t.get("padding"),n={width:e.getWidth(),height:e.getHeight()},o=dr(a,n,i);bs(t.get("orient"),r,t.get("itemGap"),o.width,o.height),Fp(r,a,n,i)}function M7(r,t){var e=Vs(t.get("padding")),a=t.getItemStyle(["color","opacity"]);return a.fill=t.get("backgroundColor"),r=new gt({shape:{x:r.x-e[3],y:r.y-e[0],width:r.width+e[1]+e[3],height:r.height+e[0]+e[2],r:t.get("borderRadius")},style:a,silent:!0,z2:-1}),r}var uhe=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.render=function(e,a,i,n){var o=this.group;if(o.removeAll(),!e.get("show"))return;var s=+e.get("itemSize"),l=e.get("orient")==="vertical",u=e.get("feature")||{},v=this._features||(this._features={}),h=[];$(u,function(d,p){h.push(p)}),new bn(this._featureNames||[],h).add(f).update(f).remove(et(f,null)).execute(),this._featureNames=h;function f(d,p){var g=h[d],m=h[p],y=u[g],_=new Mt(y,e,e.ecModel),x;if(n&&n.newTitle!=null&&n.featureName===g&&(y.title=n.newTitle),g&&!m){if(vhe(g))x={onclick:_.option.onclick,featureName:g};else{var S=C7(g);if(!S)return;x=new S}v[g]=x}else if(x=v[m],!x)return;x.uid=fu("toolbox-feature"),x.model=_,x.ecModel=a,x.api=i;var b=x instanceof qa;if(!g&&m){b&&x.dispose&&x.dispose(a,i);return}if(!_.get("show")||b&&x.unusable){b&&x.remove&&x.remove(a,i);return}c(_,x,g),_.setIconStatus=function(w,A){var T=this.option,C=this.iconPaths;T.iconStatus=T.iconStatus||{},T.iconStatus[w]=A,C[w]&&(A==="emphasis"?xn:Sn)(C[w])},x instanceof qa&&x.render&&x.render(_,a,i,n)}function c(d,p,g){var m=d.getModel("iconStyle"),y=d.getModel(["emphasis","iconStyle"]),_=p instanceof qa&&p.getIcons?p.getIcons():d.get("icon"),x=d.get("title")||{},S,b;Re(_)?(S={},S[g]=_):S=_,Re(x)?(b={},b[g]=x):b=x;var w=d.iconPaths={};$(S,function(A,T){var C=vu(A,{},{x:-s/2,y:-s/2,width:s,height:s});C.setStyle(m.getItemStyle());var M=C.ensureState("emphasis");M.style=y.getItemStyle();var L=new pt({style:{text:b[T],align:y.get("textAlign"),borderRadius:y.get("textBorderRadius"),padding:y.get("textPadding"),fill:null,font:sC({fontStyle:y.get("textFontStyle"),fontFamily:y.get("textFontFamily"),fontSize:y.get("textFontSize"),fontWeight:y.get("textFontWeight")},a)},ignore:!0});C.setTextContent(L),zs({el:C,componentModel:e,itemName:T,formatterParamsExtra:{title:b[T]}}),C.__title=b[T],C.on("mouseover",function(){var D=y.getItemStyle(),P=l?e.get("right")==null&&e.get("left")!=="right"?"right":"left":e.get("bottom")==null&&e.get("top")!=="bottom"?"bottom":"top";L.setStyle({fill:y.get("textFill")||D.fill||D.stroke||"#000",backgroundColor:y.get("textBackgroundColor")}),C.setTextConfig({position:y.get("textPosition")||P}),L.ignore=!e.get("showTitle"),i.enterEmphasis(this)}).on("mouseout",function(){d.get(["iconStatus",T])!=="emphasis"&&i.leaveEmphasis(this),L.hide()}),(d.get(["iconStatus",T])==="emphasis"?xn:Sn)(C),o.add(C),C.on("click",Ne(p.onclick,p,a,i,T)),w[T]=C})}lhe(o,e,i),o.add(M7(o.getBoundingRect(),e)),l||o.eachChild(function(d){var p=d.__title,g=d.ensureState("emphasis"),m=g.textConfig||(g.textConfig={}),y=d.getTextContent(),_=y&&y.ensureState("emphasis");if(_&&!He(_)&&p){var x=_.style||(_.style={}),S=Fh(p,pt.makeFont(x)),b=d.x+o.x,w=d.y+o.y+s,A=!1;w+S.height>i.getHeight()&&(m.position="top",A=!0);var T=A?-5-S.height:s+10;b+S.width/2>i.getWidth()?(m.position=["100%",T],x.align="right"):b-S.width/2<0&&(m.position=[0,T],x.align="left")}})},t.prototype.updateView=function(e,a,i,n){$(this._features,function(o){o instanceof qa&&o.updateView&&o.updateView(o.model,a,i,n)})},t.prototype.remove=function(e,a){$(this._features,function(i){i instanceof qa&&i.remove&&i.remove(e,a)}),this.group.removeAll()},t.prototype.dispose=function(e,a){$(this._features,function(i){i instanceof qa&&i.dispose&&i.dispose(e,a)})},t.type="toolbox",t})(Wt);function vhe(r){return r.indexOf("my")===0}var hhe=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.onclick=function(e,a){var i=this.model,n=i.get("name")||e.get("title.0.text")||"echarts",o=a.getZr().painter.getType()==="svg",s=o?"svg":i.get("type",!0)||"png",l=a.getConnectedDataURL({type:s,backgroundColor:i.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")}),u=vt.browser;if(typeof MouseEvent=="function"&&(u.newEdge||!u.ie&&!u.edge)){var v=document.createElement("a");v.download=n+"."+s,v.target="_blank",v.href=l;var h=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});v.dispatchEvent(h)}else if(window.navigator.msSaveOrOpenBlob||o){var f=l.split(","),c=f[0].indexOf("base64")>-1,d=o?decodeURIComponent(f[1]):f[1];c&&(d=window.atob(d));var p=n+"."+s;if(window.navigator.msSaveOrOpenBlob){for(var g=d.length,m=new Uint8Array(g);g--;)m[g]=d.charCodeAt(g);var y=new Blob([m]);window.navigator.msSaveOrOpenBlob(y,p)}else{var _=document.createElement("iframe");document.body.appendChild(_);var x=_.contentWindow,S=x.document;S.open("image/svg+xml","replace"),S.write(d),S.close(),x.focus(),S.execCommand("SaveAs",!0,p),document.body.removeChild(_)}}else{var b=i.get("lang"),w='',A=window.open();A.document.write(w),A.document.title=n}},t.getDefaultOption=function(e){var a={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:e.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:e.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return a},t})(qa),KR="__ec_magicType_stack__",fhe=[["line","bar"],["stack"]],che=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.getIcons=function(){var e=this.model,a=e.get("icon"),i={};return $(e.get("type"),function(n){a[n]&&(i[n]=a[n])}),i},t.getDefaultOption=function(e){var a={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:e.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return a},t.prototype.onclick=function(e,a,i){var n=this.model,o=n.get(["seriesIndex",i]);if(QR[i]){var s={series:[]},l=function(h){var f=h.subType,c=h.id,d=QR[i](f,c,h,n);d&&(Ue(d,h.option),s.series.push(d));var p=h.coordinateSystem;if(p&&p.type==="cartesian2d"&&(i==="line"||i==="bar")){var g=p.getAxesByScale("ordinal")[0];if(g){var m=g.dim,y=m+"Axis",_=h.getReferringComponents(y,cr).models[0],x=_.componentIndex;s[y]=s[y]||[];for(var S=0;S<=x;S++)s[y][x]=s[y][x]||{};s[y][x].boundaryGap=i==="bar"}}};$(fhe,function(h){nt(h,i)>=0&&$(h,function(f){n.setIconStatus(f,"normal")})}),n.setIconStatus(i,"emphasis"),e.eachComponent({mainType:"series",query:o==null?null:{seriesIndex:o}},l);var u,v=i;i==="stack"&&(u=tt({stack:n.option.title.tiled,tiled:n.option.title.stack},n.option.title),n.get(["iconStatus",i])!=="emphasis"&&(v="tiled")),a.dispatchAction({type:"changeMagicType",currentType:v,newOption:s,newTitle:u,featureName:"magicType"})}},t})(qa),QR={line:function(r,t,e,a){if(r==="bar")return tt({id:t,type:"line",data:e.get("data"),stack:e.get("stack"),markPoint:e.get("markPoint"),markLine:e.get("markLine")},a.get(["option","line"])||{},!0)},bar:function(r,t,e,a){if(r==="line")return tt({id:t,type:"bar",data:e.get("data"),stack:e.get("stack"),markPoint:e.get("markPoint"),markLine:e.get("markLine")},a.get(["option","bar"])||{},!0)},stack:function(r,t,e,a){var i=e.get("stack")===KR;if(r==="line"||r==="bar")return a.setIconStatus("stack",i?"normal":"emphasis"),tt({id:t,stack:i?"":KR},a.get(["option","stack"])||{},!0)}};Si({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(r,t){t.mergeOption(r.newOption)});var ig=new Array(60).join("-"),ru=" ";function dhe(r){var t={},e=[],a=[];return r.eachRawSeries(function(i){var n=i.coordinateSystem;if(n&&(n.type==="cartesian2d"||n.type==="polar")){var o=n.getBaseAxis();if(o.type==="category"){var s=o.dim+"_"+o.index;t[s]||(t[s]={categoryAxis:o,valueAxis:n.getOtherAxis(o),series:[]},a.push({axisDim:o.dim,axisIndex:o.index})),t[s].series.push(i)}else e.push(i)}else e.push(i)}),{seriesGroupByCategoryAxis:t,other:e,meta:a}}function phe(r){var t=[];return $(r,function(e,a){var i=e.categoryAxis,n=e.valueAxis,o=n.dim,s=[" "].concat(we(e.series,function(c){return c.name})),l=[i.model.getCategories()];$(e.series,function(c){var d=c.getRawData();l.push(c.getRawData().mapArray(d.mapDimension(o),function(p){return p}))});for(var u=[s.join(ru)],v=0;v=0)return!0}var lA=new RegExp("["+ru+"]+","g");function _he(r){for(var t=r.split(/\n+/g),e=op(t.shift()).split(lA),a=[],i=we(e,function(l){return{name:l,data:[]}}),n=0;n=0;n--){var o=e[n];if(o[i])break}if(n<0){var s=r.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(s){var l=s.getPercentRange();e[0][i]={dataZoomId:i,start:l[0],end:l[1]}}}}),e.push(t)}function Ahe(r){var t=kM(r),e=t[t.length-1];t.length>1&&t.pop();var a={};return D7(e,function(i,n){for(var o=t.length-1;o>=0;o--)if(i=t[o][n],i){a[n]=i;break}}),a}function Che(r){L7(r).snapshots=null}function Mhe(r){return kM(r).length}function kM(r){var t=L7(r);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var Dhe=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.onclick=function(e,a){Che(e),a.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(e){var a={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:e.getLocaleModel().get(["toolbox","restore","title"])};return a},t})(qa);Si({type:"restore",event:"restore",update:"prepareAndUpdate"},function(r,t){t.resetOption("recreate")});var Lhe=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],OM=(function(){function r(t,e,a){var i=this;this._targetInfoList=[];var n=jR(e,t);$(Ihe,function(o,s){(!a||!a.include||nt(a.include,s)>=0)&&o(n,i._targetInfoList)})}return r.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,function(a,i,n){if((a.coordRanges||(a.coordRanges=[])).push(i),!a.coordRange){a.coordRange=i;var o=Py[a.brushType](0,n,i);a.__rangeOffset={offset:rE[a.brushType](o.values,a.range,[1,1]),xyMinMax:o.xyMinMax}}}),t},r.prototype.matchOutputRanges=function(t,e,a){$(t,function(i){var n=this.findTargetInfo(i,e);n&&n!==!0&&$(n.coordSyses,function(o){var s=Py[i.brushType](1,o,i.range,!0);a(i,s.values,o,e)})},this)},r.prototype.setInputRanges=function(t,e){$(t,function(a){var i=this.findTargetInfo(a,e);if(a.range=a.range||[],i&&i!==!0){a.panelId=i.panelId;var n=Py[a.brushType](0,i.coordSys,a.coordRange),o=a.__rangeOffset;a.range=o?rE[a.brushType](n.values,o.offset,Phe(n.xyMinMax,o.xyMinMax)):n.values}},this)},r.prototype.makePanelOpts=function(t,e){return we(this._targetInfoList,function(a){var i=a.getPanelRect();return{panelId:a.panelId,defaultBrushType:e?e(a):null,clipPath:z8(i),isTargetByCursor:V8(i,t,a.coordSysModel),getLinearBrushOtherExtent:B8(i)}})},r.prototype.controlSeries=function(t,e,a){var i=this.findTargetInfo(t,a);return i===!0||i&&nt(i.coordSyses,e.coordinateSystem)>=0},r.prototype.findTargetInfo=function(t,e){for(var a=this._targetInfoList,i=jR(e,t),n=0;nr[1]&&r.reverse(),r}function jR(r,t){return Zv(r,t,{includeMainTypes:Lhe})}var Ihe={grid:function(r,t){var e=r.xAxisModels,a=r.yAxisModels,i=r.gridModels,n=Ge(),o={},s={};!e&&!a&&!i||($(e,function(l){var u=l.axis.grid.model;n.set(u.id,u),o[u.id]=!0}),$(a,function(l){var u=l.axis.grid.model;n.set(u.id,u),s[u.id]=!0}),$(i,function(l){n.set(l.id,l),o[l.id]=!0,s[l.id]=!0}),n.each(function(l){var u=l.coordinateSystem,v=[];$(u.getCartesians(),function(h,f){(nt(e,h.getAxis("x").model)>=0||nt(a,h.getAxis("y").model)>=0)&&v.push(h)}),t.push({panelId:"grid--"+l.id,gridModel:l,coordSysModel:l,coordSys:v[0],coordSyses:v,getPanelRect:eE.grid,xAxisDeclared:o[l.id],yAxisDeclared:s[l.id]})}))},geo:function(r,t){$(r.geoModels,function(e){var a=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:a,coordSyses:[a],getPanelRect:eE.geo})})}},JR=[function(r,t){var e=r.xAxisModel,a=r.yAxisModel,i=r.gridModel;return!i&&e&&(i=e.axis.grid.model),!i&&a&&(i=a.axis.grid.model),i&&i===t.gridModel},function(r,t){var e=r.geoModel;return e&&e===t.geoModel}],eE={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var r=this.coordSys,t=r.getBoundingRect().clone();return t.applyTransform(ro(r)),t}},Py={lineX:et(tE,0),lineY:et(tE,1),rect:function(r,t,e,a){var i=r?t.pointToData([e[0][0],e[1][0]],a):t.dataToPoint([e[0][0],e[1][0]],a),n=r?t.pointToData([e[0][1],e[1][1]],a):t.dataToPoint([e[0][1],e[1][1]],a),o=[uA([i[0],n[0]]),uA([i[1],n[1]])];return{values:o,xyMinMax:o}},polygon:function(r,t,e,a){var i=[[1/0,-1/0],[1/0,-1/0]],n=we(e,function(o){var s=r?t.pointToData(o,a):t.dataToPoint(o,a);return i[0][0]=Math.min(i[0][0],s[0]),i[1][0]=Math.min(i[1][0],s[1]),i[0][1]=Math.max(i[0][1],s[0]),i[1][1]=Math.max(i[1][1],s[1]),s});return{values:n,xyMinMax:i}}};function tE(r,t,e,a){var i=e.getAxis(["x","y"][r]),n=uA(we([0,1],function(s){return t?i.coordToData(i.toLocalCoord(a[s]),!0):i.toGlobalCoord(i.dataToCoord(a[s]))})),o=[];return o[r]=n,o[1-r]=[NaN,NaN],{values:n,xyMinMax:o}}var rE={lineX:et(aE,0),lineY:et(aE,1),rect:function(r,t,e){return[[r[0][0]-e[0]*t[0][0],r[0][1]-e[0]*t[0][1]],[r[1][0]-e[1]*t[1][0],r[1][1]-e[1]*t[1][1]]]},polygon:function(r,t,e){return we(r,function(a,i){return[a[0]-e[0]*t[i][0],a[1]-e[1]*t[i][1]]})}};function aE(r,t,e,a){return[t[0]-a[r]*e[0],t[1]-a[r]*e[1]]}function Phe(r,t){var e=iE(r),a=iE(t),i=[e[0]/a[0],e[1]/a[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function iE(r){return r?[r[0][1]-r[0][0],r[1][1]-r[1][0]]:[NaN,NaN]}var vA=$,Rhe=hX("toolbox-dataZoom_"),Ehe=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.render=function(e,a,i,n){this._brushController||(this._brushController=new lM(i.getZr()),this._brushController.on("brush",Ne(this._onBrush,this)).mount()),Nhe(e,a,this,n,i),Ohe(e,a)},t.prototype.onclick=function(e,a,i){khe[i].call(this)},t.prototype.remove=function(e,a){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(e,a){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(e){var a=e.areas;if(!e.isEnd||!a.length)return;var i={},n=this.ecModel;this._brushController.updateCovers([]);var o=new OM(NM(this.model),n,{include:["grid"]});o.matchOutputRanges(a,n,function(u,v,h){if(h.type==="cartesian2d"){var f=u.brushType;f==="rect"?(s("x",h,v[0]),s("y",h,v[1])):s({lineX:"x",lineY:"y"}[f],h,v)}}),The(n,i),this._dispatchZoomAction(i);function s(u,v,h){var f=v.getAxis(u),c=f.model,d=l(u,c,n),p=d.findRepresentativeAxisProxy(c).getMinMaxSpan();(p.minValueSpan!=null||p.maxValueSpan!=null)&&(h=qs(0,h.slice(),f.scale.getExtent(),0,p.minValueSpan,p.maxValueSpan)),d&&(i[d.id]={dataZoomId:d.id,startValue:h[0],endValue:h[1]})}function l(u,v,h){var f;return h.eachComponent({mainType:"dataZoom",subType:"select"},function(c){var d=c.getAxisModel(u,v.componentIndex);d&&(f=c)}),f}},t.prototype._dispatchZoomAction=function(e){var a=[];vA(e,function(i,n){a.push(Ye(i))}),a.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:a})},t.getDefaultOption=function(e){var a={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:e.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return a},t})(qa),khe={zoom:function(){var r=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:r})},back:function(){this._dispatchZoomAction(Ahe(this.ecModel))}};function NM(r){var t={xAxisIndex:r.get("xAxisIndex",!0),yAxisIndex:r.get("yAxisIndex",!0),xAxisId:r.get("xAxisId",!0),yAxisId:r.get("yAxisId",!0)};return t.xAxisIndex==null&&t.xAxisId==null&&(t.xAxisIndex="all"),t.yAxisIndex==null&&t.yAxisId==null&&(t.yAxisIndex="all"),t}function Ohe(r,t){r.setIconStatus("back",Mhe(t)>1?"emphasis":"normal")}function Nhe(r,t,e,a,i){var n=e._isZoomActive;a&&a.type==="takeGlobalCursor"&&(n=a.key==="dataZoomSelect"?a.dataZoomSelectActive:!1),e._isZoomActive=n,r.setIconStatus("zoom",n?"emphasis":"normal");var o=new OM(NM(r),t,{include:["grid"]}),s=o.makePanelOpts(i,function(l){return l.xAxisDeclared&&!l.yAxisDeclared?"lineX":!l.xAxisDeclared&&l.yAxisDeclared?"lineY":"rect"});e._brushController.setPanels(s).enableBrush(n&&s.length?{brushType:"auto",brushStyle:r.getModel("brushStyle").getItemStyle()}:!1)}kQ("dataZoom",function(r){var t=r.getComponent("toolbox",0),e=["feature","dataZoom"];if(!t||t.get(e)==null)return;var a=t.getModel(e),i=[],n=NM(a),o=Zv(r,n);vA(o.xAxisModels,function(l){return s(l,"xAxis","xAxisIndex")}),vA(o.yAxisModels,function(l){return s(l,"yAxis","yAxisIndex")});function s(l,u,v){var h=l.componentIndex,f={type:"select",$fromToolbox:!0,filterMode:a.get("filterMode",!0)||"filter",id:Rhe+u+h};f[v]=h,i.push(f)}return i});function zhe(r){r.registerComponentModel(she),r.registerComponentView(uhe),Pl("saveAsImage",hhe),Pl("magicType",che),Pl("dataView",bhe),Pl("dataZoom",Ehe),Pl("restore",Dhe),ot(ohe)}var Bhe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="tooltip",t.dependencies=["axisPointer"],t.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},t})(ut);function I7(r){var t=r.get("confine");return t!=null?!!t:r.get("renderMode")==="richText"}function P7(r){if(vt.domSupported){for(var t=document.documentElement.style,e=0,a=r.length;e-1?(s+="top:50%",l+="translateY(-50%) rotate("+(u=n==="left"?-225:-45)+"deg)"):(s+="left:50%",l+="translateX(-50%) rotate("+(u=n==="top"?225:45)+"deg)");var v=u*Math.PI/180,h=o+i,f=h*Math.abs(Math.cos(v))+h*Math.abs(Math.sin(v)),c=Math.round(((f-Math.SQRT2*i)/2+Math.SQRT2*i-(f-h)/2)*100)/100;s+=";"+n+":-"+c+"px";var d=t+" solid "+i+"px;",p=["position:absolute;width:"+o+"px;height:"+o+"px;z-index:-1;",s+";"+l+";","border-bottom:"+d,"border-right:"+d,"background-color:"+a+";"];return'
'}function Uhe(r,t){var e="cubic-bezier(0.23,1,0.32,1)",a=" "+r/2+"s "+e,i="opacity"+a+",visibility"+a;return t||(a=" "+r+"s "+e,i+=vt.transformSupported?","+zM+a:",left"+a+",top"+a),Fhe+":"+i}function nE(r,t,e){var a=r.toFixed(0)+"px",i=t.toFixed(0)+"px";if(!vt.transformSupported)return e?"top:"+i+";left:"+a+";":[["top",i],["left",a]];var n=vt.transform3dSupported,o="translate"+(n?"3d":"")+"("+a+","+i+(n?",0":"")+")";return e?"top:0;left:0;"+zM+":"+o+";":[["top",0],["left",0],[R7,o]]}function $he(r){var t=[],e=r.get("fontSize"),a=r.getTextColor();a&&t.push("color:"+a),t.push("font:"+r.getFont());var i=Je(r.get("lineHeight"),Math.round(e*3/2));e&&t.push("line-height:"+i+"px");var n=r.get("textShadowColor"),o=r.get("textShadowBlur")||0,s=r.get("textShadowOffsetX")||0,l=r.get("textShadowOffsetY")||0;return n&&o&&t.push("text-shadow:"+s+"px "+l+"px "+o+"px "+n),$(["decoration","align"],function(u){var v=r.get(u);v&&t.push("text-"+u+":"+v)}),t.join(";")}function Yhe(r,t,e){var a=[],i=r.get("transitionDuration"),n=r.get("backgroundColor"),o=r.get("shadowBlur"),s=r.get("shadowColor"),l=r.get("shadowOffsetX"),u=r.get("shadowOffsetY"),v=r.getModel("textStyle"),h=rU(r,"html"),f=l+"px "+u+"px "+o+"px "+s;return a.push("box-shadow:"+f),t&&i&&a.push(Uhe(i,e)),n&&a.push("background-color:"+n),$(["width","color","radius"],function(c){var d="border-"+c,p=pC(d),g=r.get(p);g!=null&&a.push(d+":"+g+(c==="color"?"":"px"))}),a.push($he(v)),h!=null&&a.push("padding:"+Vs(h).join("px ")+"px"),a.join(";")+";"}function oE(r,t,e,a,i){var n=t&&t.painter;if(e){var o=n&&n.getViewportRoot();o&&VY(r,o,e,a,i)}else{r[0]=a,r[1]=i;var s=n&&n.getViewportRootOffset();s&&(r[0]+=s.offsetLeft,r[1]+=s.offsetTop)}r[2]=r[0]/t.getWidth(),r[3]=r[1]/t.getHeight()}var Zhe=(function(){function r(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,vt.wxa)return null;var a=document.createElement("div");a.domBelongToZr=!0,this.el=a;var i=this._zr=t.getZr(),n=e.appendTo,o=n&&(Re(n)?document.querySelector(n):Cs(n)?n:He(n)&&n(t.getDom()));oE(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(a),this._api=t,this._container=o;var s=this;a.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},a.onmousemove=function(l){if(l=l||window.event,!s._enterable){var u=i.handler,v=i.painter.getViewportRoot();Ba(v,l,!0),u.dispatch("mousemove",l)}},a.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return r.prototype.update=function(t){if(!this._container){var e=this._api.getDom(),a=Ghe(e,"position"),i=e.style;i.position!=="absolute"&&a!=="absolute"&&(i.position="relative")}var n=t.get("alwaysShowContent");n&&this._moveIfResized(),this._alwaysShowContent=n,this.el.className=t.get("className")||""},r.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var a=this.el,i=a.style,n=this._styleCoord;a.innerHTML?i.cssText=Hhe+Yhe(t,!this._firstShow,this._longHide)+nE(n[0],n[1],!0)+("border-color:"+Ps(e)+";")+(t.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},r.prototype.setContent=function(t,e,a,i,n){var o=this.el;if(t==null){o.innerHTML="";return}var s="";if(Re(n)&&a.get("trigger")==="item"&&!I7(a)&&(s=Whe(a,i,n)),Re(t))o.innerHTML=t+s;else if(t){o.innerHTML="",Se(t)||(t=[t]);for(var l=0;l=0?this._tryShow(n,o):i==="leave"&&this._hide(o))},this))},t.prototype._keepShow=function(){var e=this._tooltipModel,a=this._ecModel,i=this._api,n=e.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&n!=="none"&&n!=="click"){var o=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!i.isDisposed()&&o.manuallyShowTip(e,a,i,{x:o._lastX,y:o._lastY,dataByCoordSys:o._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(e,a,i,n){if(!(n.from===this.uid||vt.node||!i.getDom())){var o=uE(n,i);this._ticket="";var s=n.dataByCoordSys,l=tfe(n,a,i);if(l){var u=l.el.getBoundingRect().clone();u.applyTransform(l.el.transform),this._tryShow({offsetX:u.x+u.width/2,offsetY:u.y+u.height/2,target:l.el,position:n.position,positionDefault:"bottom"},o)}else if(n.tooltip&&n.x!=null&&n.y!=null){var v=Khe;v.x=n.x,v.y=n.y,v.update(),Xe(v).tooltipConfig={name:null,option:n.tooltip},this._tryShow({offsetX:n.x,offsetY:n.y,target:v},o)}else if(s)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,dataByCoordSys:s,tooltipOption:n.tooltipOption},o);else if(n.seriesIndex!=null){if(this._manuallyAxisShowTip(e,a,i,n))return;var h=y7(n,a),f=h.point[0],c=h.point[1];f!=null&&c!=null&&this._tryShow({offsetX:f,offsetY:c,target:h.el,position:n.position,positionDefault:"bottom"},o)}else n.x!=null&&n.y!=null&&(i.dispatchAction({type:"updateAxisPointer",x:n.x,y:n.y}),this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,target:i.getZr().findHover(n.x,n.y).target},o))}},t.prototype.manuallyHideTip=function(e,a,i,n){var o=this._tooltipContent;this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,n.from!==this.uid&&this._hide(uE(n,i))},t.prototype._manuallyAxisShowTip=function(e,a,i,n){var o=n.seriesIndex,s=n.dataIndex,l=a.getComponent("axisPointer").coordSysAxesInfo;if(!(o==null||s==null||l==null)){var u=a.getSeriesByIndex(o);if(u){var v=u.getData(),h=iv([v.getItemModel(s),u,(u.coordinateSystem||{}).model],this._tooltipModel);if(h.get("trigger")==="axis")return i.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:s,position:n.position}),!0}}},t.prototype._tryShow=function(e,a){var i=e.target,n=this._tooltipModel;if(n){this._lastX=e.offsetX,this._lastY=e.offsetY;var o=e.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,e);else if(i){var s=Xe(i);if(s.ssrType==="legend")return;this._lastDataByCoordSys=null;var l,u;ps(i,function(v){if(Xe(v).dataIndex!=null)return l=v,!0;if(Xe(v).tooltipConfig!=null)return u=v,!0},!0),l?this._showSeriesItemTooltip(e,l,a):u?this._showComponentItemTooltip(e,u,a):this._hide(a)}else this._lastDataByCoordSys=null,this._hide(a)}},t.prototype._showOrMove=function(e,a){var i=e.get("showDelay");a=Ne(a,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(a,i):a()},t.prototype._showAxisTooltip=function(e,a){var i=this._ecModel,n=this._tooltipModel,o=[a.offsetX,a.offsetY],s=iv([a.tooltipOption],n),l=this._renderMode,u=[],v=Mr("section",{blocks:[],noHeader:!0}),h=[],f=new xm;$(e,function(y){$(y.dataByAxis,function(_){var x=i.getComponent(_.axisDim+"Axis",_.axisIndex),S=_.value;if(!(!x||S==null)){var b=d7(S,x.axis,i,_.seriesDataIndices,_.valueLabelOpt),w=Mr("section",{header:b,noHeader:!Ua(b),sortBlocks:!0,blocks:[]});v.blocks.push(w),$(_.seriesDataIndices,function(A){var T=i.getSeriesByIndex(A.seriesIndex),C=A.dataIndexInside,M=T.getDataParams(C);if(!(M.dataIndex<0)){M.axisDim=_.axisDim,M.axisIndex=_.axisIndex,M.axisType=_.axisType,M.axisId=_.axisId,M.axisValue=HC(x.axis,{value:S}),M.axisValueLabel=b,M.marker=f.makeTooltipMarker("item",Ps(M.color),l);var L=fI(T.formatTooltip(C,!0,null)),D=L.frag;if(D){var P=iv([T],n).get("valueFormatter");w.blocks.push(P?_e({valueFormatter:P},D):D)}L.text&&h.push(L.text),u.push(M)}})}})}),v.blocks.reverse(),h.reverse();var c=a.position,d=s.get("order"),p=yI(v,f,l,d,i.get("useUTC"),s.get("textStyle"));p&&h.unshift(p);var g=l==="richText"?"\n\n":"
",m=h.join(g);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(e,u)?this._updatePosition(s,c,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,m,u,Math.random()+"",o[0],o[1],c,null,f)})},t.prototype._showSeriesItemTooltip=function(e,a,i){var n=this._ecModel,o=Xe(a),s=o.seriesIndex,l=n.getSeriesByIndex(s),u=o.dataModel||l,v=o.dataIndex,h=o.dataType,f=u.getData(h),c=this._renderMode,d=e.positionDefault,p=iv([f.getItemModel(v),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),g=p.get("trigger");if(!(g!=null&&g!=="item")){var m=u.getDataParams(v,h),y=new xm;m.marker=y.makeTooltipMarker("item",Ps(m.color),c);var _=fI(u.formatTooltip(v,!1,h)),x=p.get("order"),S=p.get("valueFormatter"),b=_.frag,w=b?yI(S?_e({valueFormatter:S},b):b,y,c,x,n.get("useUTC"),p.get("textStyle")):_.text,A="item_"+u.name+"_"+v;this._showOrMove(p,function(){this._showTooltipContent(p,w,m,A,e.offsetX,e.offsetY,e.position,e.target,y)}),i({type:"showTip",dataIndexInside:v,dataIndex:f.getRawIndex(v),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,a,i){var n=this._renderMode==="html",o=Xe(a),s=o.tooltipConfig,l=s.option||{},u=l.encodeHTMLContent;if(Re(l)){var v=l;l={content:v,formatter:v},u=!0}u&&n&&l.content&&(l=Ye(l),l.content=Zr(l.content));var h=[l],f=this._ecModel.getComponent(o.componentMainType,o.componentIndex);f&&h.push(f),h.push({formatter:l.content});var c=e.positionDefault,d=iv(h,this._tooltipModel,c?{position:c}:null),p=d.get("content"),g=Math.random()+"",m=new xm;this._showOrMove(d,function(){var y=Ye(d.get("formatterParams")||{});this._showTooltipContent(d,p,y,g,e.offsetX,e.offsetY,e.position,a,m)}),i({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(e,a,i,n,o,s,l,u,v){if(this._ticket="",!(!e.get("showContent")||!e.get("show"))){var h=this._tooltipContent;h.setEnterable(e.get("enterable"));var f=e.get("formatter");l=l||e.get("position");var c=a,d=this._getNearestPoint([o,s],i,e.get("trigger"),e.get("borderColor")),p=d.color;if(f)if(Re(f)){var g=e.ecModel.get("useUTC"),m=Se(i)?i[0]:i,y=m&&m.axisType&&m.axisType.indexOf("time")>=0;c=f,y&&(c=Zh(m.axisValue,c,g)),c=gC(c,i,!0)}else if(He(f)){var _=Ne(function(x,S){x===this._ticket&&(h.setContent(S,v,e,p,l),this._updatePosition(e,l,o,s,h,i,u))},this);this._ticket=n,c=f(i,n,_)}else c=f;h.setContent(c,v,e,p,l),h.show(e,p),this._updatePosition(e,l,o,s,h,i,u)}},t.prototype._getNearestPoint=function(e,a,i,n){if(i==="axis"||Se(a))return{color:n||(this._renderMode==="html"?"#fff":"none")};if(!Se(a))return{color:n||a.color||a.borderColor}},t.prototype._updatePosition=function(e,a,i,n,o,s,l){var u=this._api.getWidth(),v=this._api.getHeight();a=a||e.get("position");var h=o.getSize(),f=e.get("align"),c=e.get("verticalAlign"),d=l&&l.getBoundingRect().clone();if(l&&d.applyTransform(l.transform),He(a)&&(a=a([i,n],s,o.el,d,{viewSize:[u,v],contentSize:h.slice()})),Se(a))i=Ie(a[0],u),n=Ie(a[1],v);else if($e(a)){var p=a;p.width=h[0],p.height=h[1];var g=dr(p,{width:u,height:v});i=g.x,n=g.y,f=null,c=null}else if(Re(a)&&l){var m=efe(a,d,h,e.get("borderWidth"));i=m[0],n=m[1]}else{var m=jhe(i,n,o,u,v,f?null:20,c?null:20);i=m[0],n=m[1]}if(f&&(i-=vE(f)?h[0]/2:f==="right"?h[0]:0),c&&(n-=vE(c)?h[1]/2:c==="bottom"?h[1]:0),I7(e)){var m=Jhe(i,n,o,u,v);i=m[0],n=m[1]}o.moveTo(i,n)},t.prototype._updateContentNotChangedOnAxis=function(e,a){var i=this._lastDataByCoordSys,n=this._cbParamsList,o=!!i&&i.length===e.length;return o&&$(i,function(s,l){var u=s.dataByAxis||[],v=e[l]||{},h=v.dataByAxis||[];o=o&&u.length===h.length,o&&$(u,function(f,c){var d=h[c]||{},p=f.seriesDataIndices||[],g=d.seriesDataIndices||[];o=o&&f.value===d.value&&f.axisType===d.axisType&&f.axisId===d.axisId&&p.length===g.length,o&&$(p,function(m,y){var _=g[y];o=o&&m.seriesIndex===_.seriesIndex&&m.dataIndex===_.dataIndex}),n&&$(f.seriesDataIndices,function(m){var y=m.seriesIndex,_=a[y],x=n[y];_&&x&&x.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=e,this._cbParamsList=a,!!o},t.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},t.prototype.dispose=function(e,a){vt.node||!a.getDom()||(Sh(this,"_updatePosition"),this._tooltipContent.dispose(),nA("itemTooltip",a))},t.type="tooltip",t})(Wt);function iv(r,t,e){var a=t.ecModel,i;e?(i=new Mt(e,a,a),i=new Mt(t.option,i,a)):i=t;for(var n=r.length-1;n>=0;n--){var o=r[n];o&&(o instanceof Mt&&(o=o.get("tooltip",!0)),Re(o)&&(o={formatter:o}),o&&(i=new Mt(o,i,a)))}return i}function uE(r,t){return r.dispatchAction||Ne(t.dispatchAction,t)}function jhe(r,t,e,a,i,n,o){var s=e.getSize(),l=s[0],u=s[1];return n!=null&&(r+l+n+2>a?r-=l+n:r+=n),o!=null&&(t+u+o>i?t-=u+o:t+=o),[r,t]}function Jhe(r,t,e,a,i){var n=e.getSize(),o=n[0],s=n[1];return r=Math.min(r+o,a)-o,t=Math.min(t+s,i)-s,r=Math.max(r,0),t=Math.max(t,0),[r,t]}function efe(r,t,e,a){var i=e[0],n=e[1],o=Math.ceil(Math.SQRT2*a)+8,s=0,l=0,u=t.width,v=t.height;switch(r){case"inside":s=t.x+u/2-i/2,l=t.y+v/2-n/2;break;case"top":s=t.x+u/2-i/2,l=t.y-n-o;break;case"bottom":s=t.x+u/2-i/2,l=t.y+v+o;break;case"left":s=t.x-i-o,l=t.y+v/2-n/2;break;case"right":s=t.x+u+o,l=t.y+v/2-n/2}return[s,l]}function vE(r){return r==="center"||r==="middle"}function tfe(r,t,e){var a=$A(r).queryOptionMap,i=a.keys()[0];if(!(!i||i==="series")){var n=Hh(t,i,a.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),o=n.models[0];if(o){var s=e.getViewOfComponentModel(o),l;if(s.group.traverse(function(u){var v=Xe(u).tooltipConfig;if(v&&v.name===r.name)return l=u,!0}),l)return{componentMainType:i,componentIndex:o.componentIndex,el:l}}}}function rfe(r){ot(of),r.registerComponentModel(Bhe),r.registerComponentView(Qhe),r.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},ir),r.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},ir)}var afe=["rect","polygon","keep","clear"];function ife(r,t){var e=Nt(r?r.brush:[]);if(e.length){var a=[];$(e,function(l){var u=l.hasOwnProperty("toolbox")?l.toolbox:[];u instanceof Array&&(a=a.concat(u))});var i=r&&r.toolbox;Se(i)&&(i=i[0]),i||(i={feature:{}},r.toolbox=[i]);var n=i.feature||(i.feature={}),o=n.brush||(n.brush={}),s=o.type||(o.type=[]);s.push.apply(s,a),nfe(s),t&&!s.length&&s.push.apply(s,afe)}}function nfe(r){var t={};$(r,function(e){t[e]=1}),r.length=0,$(t,function(e,a){r.push(a)})}var hE=$;function fE(r){if(r){for(var t in r)if(r.hasOwnProperty(t))return!0}}function hA(r,t,e){var a={};return hE(t,function(n){var o=a[n]=i();hE(r[n],function(s,l){if(Ar.isValidType(l)){var u={type:l,visual:s};e&&e(u,n),o[l]=new Ar(u),l==="opacity"&&(u=Ye(u),u.type="colorAlpha",o.__hidden.__alphaForOpacity=new Ar(u))}})}),a;function i(){var n=function(){};n.prototype.__hidden=n.prototype;var o=new n;return o}}function k7(r,t,e){var a;$(e,function(i){t.hasOwnProperty(i)&&fE(t[i])&&(a=!0)}),a&&$(e,function(i){t.hasOwnProperty(i)&&fE(t[i])?r[i]=Ye(t[i]):delete r[i]})}function ofe(r,t,e,a,i,n){var o={};$(r,function(h){var f=Ar.prepareVisualTypes(t[h]);o[h]=f});var s;function l(h){return CC(e,s,h)}function u(h,f){fU(e,s,h,f)}e.each(v);function v(h,f){s=h;var c=e.getRawDataItem(s);if(!(c&&c.visualMap===!1))for(var d=a.call(i,h),p=t[d],g=o[d],m=0,y=g.length;mt[0][1]&&(t[0][1]=n[0]),n[1]t[1][1]&&(t[1][1]=n[1])}return t&&mE(t)}};function mE(r){return new at(r[0][0],r[1][0],r[0][1]-r[0][0],r[1][1]-r[1][0])}var dfe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,a){this.ecModel=e,this.api=a,this.model,(this._brushController=new lM(a.getZr())).on("brush",Ne(this._onBrush,this)).mount()},t.prototype.render=function(e,a,i,n){this.model=e,this._updateController(e,a,i,n)},t.prototype.updateTransform=function(e,a,i,n){O7(a),this._updateController(e,a,i,n)},t.prototype.updateVisual=function(e,a,i,n){this.updateTransform(e,a,i,n)},t.prototype.updateView=function(e,a,i,n){this._updateController(e,a,i,n)},t.prototype._updateController=function(e,a,i,n){(!n||n.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(i)).enableBrush(e.brushOption).updateCovers(e.areas.slice())},t.prototype.dispose=function(){this._brushController.dispose()},t.prototype._onBrush=function(e){var a=this.model.id,i=this.model.brushTargetManager.setOutputRanges(e.areas,this.ecModel);(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:a,areas:Ye(i),$from:a}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:a,areas:Ye(i),$from:a})},t.type="brush",t})(Wt),pfe="#ddd",gfe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.areas=[],e.brushOption={},e}return t.prototype.optionUpdated=function(e,a){var i=this.option;!a&&k7(i,e,["inBrush","outOfBrush"]);var n=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:pfe},n.hasOwnProperty("liftZ")||(n.liftZ=5)},t.prototype.setAreas=function(e){e&&(this.areas=we(e,function(a){return yE(this.option,a)},this))},t.prototype.setBrushOption=function(e){this.brushOption=yE(this.option,e),this.brushType=this.brushOption.brushType},t.type="brush",t.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],t.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},t})(ut);function yE(r,t){return tt({brushType:r.brushType,brushMode:r.brushMode,transformable:r.transformable,brushStyle:new Mt(r.brushStyle).getItemStyle(),removeOnClick:r.removeOnClick,z:r.z},t,!0)}var mfe=["rect","polygon","lineX","lineY","keep","clear"],yfe=(function(r){he(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.render=function(e,a,i){var n,o,s;a.eachComponent({mainType:"brush"},function(l){n=l.brushType,o=l.brushOption.brushMode||"single",s=s||!!l.areas.length}),this._brushType=n,this._brushMode=o,$(e.get("type",!0),function(l){e.setIconStatus(l,(l==="keep"?o==="multiple":l==="clear"?s:l===n)?"emphasis":"normal")})},t.prototype.updateView=function(e,a,i){this.render(e,a,i)},t.prototype.getIcons=function(){var e=this.model,a=e.get("icon",!0),i={};return $(e.get("type",!0),function(n){a[n]&&(i[n]=a[n])}),i},t.prototype.onclick=function(e,a,i){var n=this._brushType,o=this._brushMode;i==="clear"?(a.dispatchAction({type:"axisAreaSelect",intervals:[]}),a.dispatchAction({type:"brush",command:"clear",areas:[]})):a.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:i==="keep"?n:n===i?!1:i,brushMode:i==="keep"?o==="multiple"?"single":"multiple":o}})},t.getDefaultOption=function(e){var a={show:!0,type:mfe.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:e.getLocaleModel().get(["toolbox","brush","title"])};return a},t})(qa);function _fe(r){r.registerComponentView(dfe),r.registerComponentModel(gfe),r.registerPreprocessor(ife),r.registerVisual(r.PRIORITY.VISUAL.BRUSH,ufe),r.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(t,e){e.eachComponent({mainType:"brush",query:t},function(a){a.setAreas(t.areas)})}),r.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},ir),r.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},ir),Pl("brush",yfe)}var xfe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.layoutMode={type:"box",ignoreSize:!0},e}return t.type="title",t.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},t})(ut),Sfe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,a,i){if(this.group.removeAll(),!!e.get("show")){var n=this.group,o=e.getModel("textStyle"),s=e.getModel("subtextStyle"),l=e.get("textAlign"),u=Je(e.get("textBaseline"),e.get("textVerticalAlign")),v=new pt({style:Ht(o,{text:e.get("text"),fill:o.getTextColor()},{disableBox:!0}),z2:10}),h=v.getBoundingRect(),f=e.get("subtext"),c=new pt({style:Ht(s,{text:f,fill:s.getTextColor(),y:h.height+e.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),d=e.get("link"),p=e.get("sublink"),g=e.get("triggerEvent",!0);v.silent=!d&&!g,c.silent=!p&&!g,d&&v.on("click",function(){Od(d,"_"+e.get("target"))}),p&&c.on("click",function(){Od(p,"_"+e.get("subtarget"))}),Xe(v).eventData=Xe(c).eventData=g?{componentType:"title",componentIndex:e.componentIndex}:null,n.add(v),f&&n.add(c);var m=n.getBoundingRect(),y=e.getBoxLayoutParams();y.width=m.width,y.height=m.height;var _=dr(y,{width:i.getWidth(),height:i.getHeight()},e.get("padding"));l||(l=e.get("left")||e.get("right"),l==="middle"&&(l="center"),l==="right"?_.x+=_.width:l==="center"&&(_.x+=_.width/2)),u||(u=e.get("top")||e.get("bottom"),u==="center"&&(u="middle"),u==="bottom"?_.y+=_.height:u==="middle"&&(_.y+=_.height/2),u=u||"top"),n.x=_.x,n.y=_.y,n.markRedraw();var x={align:l,verticalAlign:u};v.setStyle(x),c.setStyle(x),m=n.getBoundingRect();var S=_.margin,b=e.getItemStyle(["color","opacity"]);b.fill=e.get("backgroundColor");var w=new gt({shape:{x:m.x-S[3],y:m.y-S[0],width:m.width+S[1]+S[3],height:m.height+S[0]+S[2],r:e.get("borderRadius")},style:b,subPixelOptimize:!0,silent:!0});n.add(w)}},t.type="title",t})(Wt);function bfe(r){r.registerComponentModel(xfe),r.registerComponentView(Sfe)}var _E=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.layoutMode="box",e}return t.prototype.init=function(e,a,i){this.mergeDefaultAndTheme(e,i),this._initData()},t.prototype.mergeOption=function(e){r.prototype.mergeOption.apply(this,arguments),this._initData()},t.prototype.setCurrentIndex=function(e){e==null&&(e=this.option.currentIndex);var a=this._data.count();this.option.loop?e=(e%a+a)%a:(e>=a&&(e=a-1),e<0&&(e=0)),this.option.currentIndex=e},t.prototype.getCurrentIndex=function(){return this.option.currentIndex},t.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},t.prototype.setPlayState=function(e){this.option.autoPlay=!!e},t.prototype.getPlayState=function(){return!!this.option.autoPlay},t.prototype._initData=function(){var e=this.option,a=e.data||[],i=e.axisType,n=this._names=[],o;i==="category"?(o=[],$(a,function(u,v){var h=_r(iu(u),""),f;$e(u)?(f=Ye(u),f.value=v):f=v,o.push(f),n.push(h)})):o=a;var s={category:"ordinal",time:"time",value:"number"}[i]||"number",l=this._data=new Xr([{name:"value",type:s}],this);l.initData(o,n)},t.prototype.getData=function(){return this._data},t.prototype.getCategories=function(){if(this.get("axisType")==="category")return this._names.slice()},t.type="timeline",t.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},t})(ut),N7=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="timeline.slider",t.defaultOption=go(_E.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),t})(_E);nr(N7,qp.prototype);var wfe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="timeline",t})(Wt),Tfe=(function(r){he(t,r);function t(e,a,i,n){var o=r.call(this,e,a,i)||this;return o.type=n||"value",o}return t.prototype.getLabelModel=function(){return this.model.getModel("label")},t.prototype.isHorizontal=function(){return this.model.get("orient")==="horizontal"},t})(Ja),Ey=Math.PI,xE=yt(),Afe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,a){this.api=a},t.prototype.render=function(e,a,i){if(this.model=e,this.api=i,this.ecModel=a,this.group.removeAll(),e.get("show",!0)){var n=this._layout(e,i),o=this._createGroup("_mainGroup"),s=this._createGroup("_labelGroup"),l=this._axis=this._createAxis(n,e);e.formatTooltip=function(u){var v=l.scale.getLabel({value:u});return Mr("nameValue",{noName:!0,value:v})},$(["AxisLine","AxisTick","Control","CurrentPointer"],function(u){this["_render"+u](n,o,l,e)},this),this._renderAxisLabel(n,s,l,e),this._position(n,e)}this._doPlayStop(),this._updateTicksStatus()},t.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},t.prototype.dispose=function(){this._clearTimer()},t.prototype._layout=function(e,a){var i=e.get(["label","position"]),n=e.get("orient"),o=Mfe(e,a),s;i==null||i==="auto"?s=n==="horizontal"?o.y+o.height/2=0||s==="+"?"left":"right"},u={horizontal:s>=0||s==="+"?"top":"bottom",vertical:"middle"},v={horizontal:0,vertical:Ey/2},h=n==="vertical"?o.height:o.width,f=e.getModel("controlStyle"),c=f.get("show",!0),d=c?f.get("itemSize"):0,p=c?f.get("itemGap"):0,g=d+p,m=e.get(["label","rotate"])||0;m=m*Ey/180;var y,_,x,S=f.get("position",!0),b=c&&f.get("showPlayBtn",!0),w=c&&f.get("showPrevBtn",!0),A=c&&f.get("showNextBtn",!0),T=0,C=h;S==="left"||S==="bottom"?(b&&(y=[0,0],T+=g),w&&(_=[T,0],T+=g),A&&(x=[C-d,0],C-=g)):(b&&(y=[C-d,0],C-=g),w&&(_=[0,0],T+=g),A&&(x=[C-d,0],C-=g));var M=[T,C];return e.get("inverse")&&M.reverse(),{viewRect:o,mainLength:h,orient:n,rotation:v[n],labelRotation:m,labelPosOpt:s,labelAlign:e.get(["label","align"])||l[n],labelBaseline:e.get(["label","verticalAlign"])||e.get(["label","baseline"])||u[n],playPosition:y,prevBtnPosition:_,nextBtnPosition:x,axisExtent:M,controlSize:d,controlGap:p}},t.prototype._position=function(e,a){var i=this._mainGroup,n=this._labelGroup,o=e.viewRect;if(e.orient==="vertical"){var s=xa(),l=o.x,u=o.y+o.height;yi(s,s,[-l,-u]),co(s,s,-Ey/2),yi(s,s,[l,u]),o=o.clone(),o.applyTransform(s)}var v=y(o),h=y(i.getBoundingRect()),f=y(n.getBoundingRect()),c=[i.x,i.y],d=[n.x,n.y];d[0]=c[0]=v[0][0];var p=e.labelPosOpt;if(p==null||Re(p)){var g=p==="+"?0:1;_(c,h,v,1,g),_(d,f,v,1,1-g)}else{var g=p>=0?0:1;_(c,h,v,1,g),d[1]=c[1]+p}i.setPosition(c),n.setPosition(d),i.rotation=n.rotation=e.rotation,m(i),m(n);function m(x){x.originX=v[0][0]-x.x,x.originY=v[1][0]-x.y}function y(x){return[[x.x,x.x+x.width],[x.y,x.y+x.height]]}function _(x,S,b,w,A){x[w]+=b[w][A]-S[w][A]}},t.prototype._createAxis=function(e,a){var i=a.getData(),n=a.get("axisType"),o=Cfe(a,n);o.getTicks=function(){return i.mapArray(["value"],function(u){return{value:u}})};var s=i.getDataExtent("value");o.setExtent(s[0],s[1]),o.calcNiceTicks();var l=new Tfe("value",o,e.axisExtent,n);return l.model=a,l},t.prototype._createGroup=function(e){var a=this[e]=new Ze;return this.group.add(a),a},t.prototype._renderAxisLine=function(e,a,i,n){var o=i.getExtent();if(n.get(["lineStyle","show"])){var s=new xr({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:_e({lineCap:"round"},n.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});a.add(s);var l=this._progressLine=new xr({shape:{x1:o[0],x2:this._currentPointer?this._currentPointer.x:o[0],y1:0,y2:0},style:Ue({lineCap:"round",lineWidth:s.style.lineWidth},n.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});a.add(l)}},t.prototype._renderAxisTick=function(e,a,i,n){var o=this,s=n.getData(),l=i.scale.getTicks();this._tickSymbols=[],$(l,function(u){var v=i.dataToCoord(u.value),h=s.getItemModel(u.value),f=h.getModel("itemStyle"),c=h.getModel(["emphasis","itemStyle"]),d=h.getModel(["progress","itemStyle"]),p={x:v,y:0,onclick:Ne(o._changeTimeline,o,u.value)},g=SE(h,f,a,p);g.ensureState("emphasis").style=c.getItemStyle(),g.ensureState("progress").style=d.getItemStyle(),to(g);var m=Xe(g);h.get("tooltip")?(m.dataIndex=u.value,m.dataModel=n):m.dataIndex=m.dataModel=null,o._tickSymbols.push(g)})},t.prototype._renderAxisLabel=function(e,a,i,n){var o=this,s=i.getLabelModel();if(s.get("show")){var l=n.getData(),u=i.getViewLabels();this._tickLabels=[],$(u,function(v){var h=v.tickValue,f=l.getItemModel(h),c=f.getModel("label"),d=f.getModel(["emphasis","label"]),p=f.getModel(["progress","label"]),g=i.dataToCoord(v.tickValue),m=new pt({x:g,y:0,rotation:e.labelRotation-e.rotation,onclick:Ne(o._changeTimeline,o,h),silent:!1,style:Ht(c,{text:v.formattedLabel,align:e.labelAlign,verticalAlign:e.labelBaseline})});m.ensureState("emphasis").style=Ht(d),m.ensureState("progress").style=Ht(p),a.add(m),to(m),xE(m).dataIndex=h,o._tickLabels.push(m)})}},t.prototype._renderControl=function(e,a,i,n){var o=e.controlSize,s=e.rotation,l=n.getModel("controlStyle").getItemStyle(),u=n.getModel(["emphasis","controlStyle"]).getItemStyle(),v=n.getPlayState(),h=n.get("inverse",!0);f(e.nextBtnPosition,"next",Ne(this._changeTimeline,this,h?"-":"+")),f(e.prevBtnPosition,"prev",Ne(this._changeTimeline,this,h?"+":"-")),f(e.playPosition,v?"stop":"play",Ne(this._handlePlayClick,this,!v),!0);function f(c,d,p,g){if(c){var m=_i(Je(n.get(["controlStyle",d+"BtnSize"]),o),o),y=[0,-m/2,m,m],_=Dfe(n,d+"Icon",y,{x:c[0],y:c[1],originX:o/2,originY:0,rotation:g?-s:0,rectHover:!0,style:l,onclick:p});_.ensureState("emphasis").style=u,a.add(_),to(_)}}},t.prototype._renderCurrentPointer=function(e,a,i,n){var o=n.getData(),s=n.getCurrentIndex(),l=o.getItemModel(s).getModel("checkpointStyle"),u=this,v={onCreate:function(h){h.draggable=!0,h.drift=Ne(u._handlePointerDrag,u),h.ondragend=Ne(u._handlePointerDragend,u),bE(h,u._progressLine,s,i,n,!0)},onUpdate:function(h){bE(h,u._progressLine,s,i,n)}};this._currentPointer=SE(l,l,this._mainGroup,{},this._currentPointer,v)},t.prototype._handlePlayClick=function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},t.prototype._handlePointerDrag=function(e,a,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},t.prototype._handlePointerDragend=function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},t.prototype._pointerChangeTimeline=function(e,a){var i=this._toAxisCoord(e)[0],n=this._axis,o=Ta(n.getExtent().slice());i>o[1]&&(i=o[1]),i=0&&(o[n]=+o[n].toFixed(f)),[o,h]}var ky={min:et(Sc,"min"),max:et(Sc,"max"),average:et(Sc,"average"),median:et(Sc,"median")};function Eh(r,t){if(t){var e=r.getData(),a=r.coordinateSystem,i=a&&a.dimensions;if(!kfe(t)&&!Se(t.coord)&&Se(i)){var n=z7(t,e,a,r);if(t=Ye(t),t.type&&ky[t.type]&&n.baseAxis&&n.valueAxis){var o=nt(i,n.baseAxis.dim),s=nt(i,n.valueAxis.dim),l=ky[t.type](e,n.baseDataDim,n.valueDataDim,o,s);t.coord=l[0],t.value=l[1]}else t.coord=[t.xAxis!=null?t.xAxis:t.radiusAxis,t.yAxis!=null?t.yAxis:t.angleAxis]}if(t.coord==null||!Se(i))t.coord=[];else for(var u=t.coord,v=0;v<2;v++)ky[u[v]]&&(u[v]=VM(e,e.mapDimension(i[v]),u[v]));return t}}function z7(r,t,e,a){var i={};return r.valueIndex!=null||r.valueDim!=null?(i.valueDataDim=r.valueIndex!=null?t.getDimension(r.valueIndex):r.valueDim,i.valueAxis=e.getAxis(Ofe(a,i.valueDataDim)),i.baseAxis=e.getOtherAxis(i.valueAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim)):(i.baseAxis=a.getBaseAxis(),i.valueAxis=e.getOtherAxis(i.baseAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim),i.valueDataDim=t.mapDimension(i.valueAxis.dim)),i}function Ofe(r,t){var e=r.getData().getDimensionInfo(t);return e&&e.coordDim}function kh(r,t){return r&&r.containData&&t.coord&&!cA(t)?r.containData(t.coord):!0}function Nfe(r,t,e){return r&&r.containZone&&t.coord&&e.coord&&!cA(t)&&!cA(e)?r.containZone(t.coord,e.coord):!0}function B7(r,t){return r?function(e,a,i,n){var o=n<2?e.coord&&e.coord[n]:e.value;return io(o,t[n])}:function(e,a,i,n){return io(e.value,t[n])}}function VM(r,t,e){if(e==="average"){var a=0,i=0;return r.each(t,function(n,o){isNaN(n)||(a+=n,i++)}),a/i}else return e==="median"?r.getMedian(t):r.getDataExtent(t)[e==="max"?1:0]}var Oy=yt(),GM=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(){this.markerGroupMap=Ge()},t.prototype.render=function(e,a,i){var n=this,o=this.markerGroupMap;o.each(function(s){Oy(s).keep=!1}),a.eachSeries(function(s){var l=Cn.getMarkerModelFromSeries(s,n.type);l&&n.renderSeries(s,l,a,i)}),o.each(function(s){!Oy(s).keep&&n.group.remove(s.group)})},t.prototype.markKeep=function(e){Oy(e).keep=!0},t.prototype.toggleBlurSeries=function(e,a){var i=this;$(e,function(n){var o=Cn.getMarkerModelFromSeries(n,i.type);if(o){var s=o.getData();s.eachItemGraphicEl(function(l){l&&(a?qq(l):JA(l))})}})},t.type="marker",t})(Wt);function TE(r,t,e){var a=t.coordinateSystem;r.each(function(i){var n=r.getItemModel(i),o,s=Ie(n.get("x"),e.getWidth()),l=Ie(n.get("y"),e.getHeight());if(!isNaN(s)&&!isNaN(l))o=[s,l];else if(t.getMarkerPosition)o=t.getMarkerPosition(r.getValues(r.dimensions,i));else if(a){var u=r.get(a.dimensions[0],i),v=r.get(a.dimensions[1],i);o=a.dataToPoint([u,v])}isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),r.setItemLayout(i,o)})}var zfe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.updateTransform=function(e,a,i){a.eachSeries(function(n){var o=Cn.getMarkerModelFromSeries(n,"markPoint");o&&(TE(o.getData(),n,i),this.markerGroupMap.get(n.id).updateLayout())},this)},t.prototype.renderSeries=function(e,a,i,n){var o=e.coordinateSystem,s=e.id,l=e.getData(),u=this.markerGroupMap,v=u.get(s)||u.set(s,new jh),h=Bfe(o,e,a);a.setData(h),TE(a.getData(),e,n),h.each(function(f){var c=h.getItemModel(f),d=c.getShallow("symbol"),p=c.getShallow("symbolSize"),g=c.getShallow("symbolRotate"),m=c.getShallow("symbolOffset"),y=c.getShallow("symbolKeepAspect");if(He(d)||He(p)||He(g)||He(m)){var _=a.getRawValue(f),x=a.getDataParams(f);He(d)&&(d=d(_,x)),He(p)&&(p=p(_,x)),He(g)&&(g=g(_,x)),He(m)&&(m=m(_,x))}var S=c.getModel("itemStyle").getItemStyle(),b=Xh(l,"color");S.fill||(S.fill=b),h.setItemVisual(f,{symbol:d,symbolSize:p,symbolRotate:g,symbolOffset:m,symbolKeepAspect:y,style:S})}),v.updateData(h),this.group.add(v.group),h.eachItemGraphicEl(function(f){f.traverse(function(c){Xe(c).dataModel=a})}),this.markKeep(v),v.group.silent=a.get("silent")||e.get("silent")},t.type="markPoint",t})(GM);function Bfe(r,t,e){var a;r?a=we(r&&r.dimensions,function(s){var l=t.getData().getDimensionInfo(t.getData().mapDimension(s))||{};return _e(_e({},l),{name:s,ordinalMeta:null})}):a=[{name:"value",type:"float"}];var i=new Xr(a,e),n=we(e.get("data"),et(Eh,t));r&&(n=Ct(n,et(kh,r)));var o=B7(!!r,a);return i.initData(n,null,o),i}function Vfe(r){r.registerComponentModel(Efe),r.registerComponentView(zfe),r.registerPreprocessor(function(t){BM(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})})}var Gfe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.createMarkerModelFromSeries=function(e,a,i){return new t(e,a,i)},t.type="markLine",t.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},t})(Cn),bc=yt(),Ffe=function(r,t,e,a){var i=r.getData(),n;if(Se(a))n=a;else{var o=a.type;if(o==="min"||o==="max"||o==="average"||o==="median"||a.xAxis!=null||a.yAxis!=null){var s=void 0,l=void 0;if(a.yAxis!=null||a.xAxis!=null)s=t.getAxis(a.yAxis!=null?"y":"x"),l=wr(a.yAxis,a.xAxis);else{var u=z7(a,i,t,r);s=u.valueAxis;var v=BC(i,u.valueDataDim);l=VM(i,v,o)}var h=s.dim==="x"?0:1,f=1-h,c=Ye(a),d={coord:[]};c.type=null,c.coord=[],c.coord[f]=-1/0,d.coord[f]=1/0;var p=e.get("precision");p>=0&&bt(l)&&(l=+l.toFixed(Math.min(p,20))),c.coord[h]=d.coord[h]=l,n=[c,d,{type:o,valueIndex:a.valueIndex,value:l}]}else n=[]}var g=[Eh(r,n[0]),Eh(r,n[1]),_e({},n[2])];return g[2].type=g[2].type||null,tt(g[2],g[0]),tt(g[2],g[1]),g};function sp(r){return!isNaN(r)&&!isFinite(r)}function AE(r,t,e,a){var i=1-r,n=a.dimensions[r];return sp(t[i])&&sp(e[i])&&t[r]===e[r]&&a.getAxis(n).containData(t[r])}function Hfe(r,t){if(r.type==="cartesian2d"){var e=t[0].coord,a=t[1].coord;if(e&&a&&(AE(1,e,a,r)||AE(0,e,a,r)))return!0}return kh(r,t[0])&&kh(r,t[1])}function Ny(r,t,e,a,i){var n=a.coordinateSystem,o=r.getItemModel(t),s,l=Ie(o.get("x"),i.getWidth()),u=Ie(o.get("y"),i.getHeight());if(!isNaN(l)&&!isNaN(u))s=[l,u];else{if(a.getMarkerPosition)s=a.getMarkerPosition(r.getValues(r.dimensions,t));else{var v=n.dimensions,h=r.get(v[0],t),f=r.get(v[1],t);s=n.dataToPoint([h,f])}if(Fs(n,"cartesian2d")){var c=n.getAxis("x"),d=n.getAxis("y"),v=n.dimensions;sp(r.get(v[0],t))?s[0]=c.toGlobalCoord(c.getExtent()[e?0:1]):sp(r.get(v[1],t))&&(s[1]=d.toGlobalCoord(d.getExtent()[e?0:1]))}isNaN(l)||(s[0]=l),isNaN(u)||(s[1]=u)}r.setItemLayout(t,s)}var qfe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.updateTransform=function(e,a,i){a.eachSeries(function(n){var o=Cn.getMarkerModelFromSeries(n,"markLine");if(o){var s=o.getData(),l=bc(o).from,u=bc(o).to;l.each(function(v){Ny(l,v,!0,n,i),Ny(u,v,!1,n,i)}),s.each(function(v){s.setItemLayout(v,[l.getItemLayout(v),u.getItemLayout(v)])}),this.markerGroupMap.get(n.id).updateLayout()}},this)},t.prototype.renderSeries=function(e,a,i,n){var o=e.coordinateSystem,s=e.id,l=e.getData(),u=this.markerGroupMap,v=u.get(s)||u.set(s,new sM);this.group.add(v.group);var h=Wfe(o,e,a),f=h.from,c=h.to,d=h.line;bc(a).from=f,bc(a).to=c,a.setData(d);var p=a.get("symbol"),g=a.get("symbolSize"),m=a.get("symbolRotate"),y=a.get("symbolOffset");Se(p)||(p=[p,p]),Se(g)||(g=[g,g]),Se(m)||(m=[m,m]),Se(y)||(y=[y,y]),h.from.each(function(x){_(f,x,!0),_(c,x,!1)}),d.each(function(x){var S=d.getItemModel(x).getModel("lineStyle").getLineStyle();d.setItemLayout(x,[f.getItemLayout(x),c.getItemLayout(x)]),S.stroke==null&&(S.stroke=f.getItemVisual(x,"style").fill),d.setItemVisual(x,{fromSymbolKeepAspect:f.getItemVisual(x,"symbolKeepAspect"),fromSymbolOffset:f.getItemVisual(x,"symbolOffset"),fromSymbolRotate:f.getItemVisual(x,"symbolRotate"),fromSymbolSize:f.getItemVisual(x,"symbolSize"),fromSymbol:f.getItemVisual(x,"symbol"),toSymbolKeepAspect:c.getItemVisual(x,"symbolKeepAspect"),toSymbolOffset:c.getItemVisual(x,"symbolOffset"),toSymbolRotate:c.getItemVisual(x,"symbolRotate"),toSymbolSize:c.getItemVisual(x,"symbolSize"),toSymbol:c.getItemVisual(x,"symbol"),style:S})}),v.updateData(d),h.line.eachItemGraphicEl(function(x){Xe(x).dataModel=a,x.traverse(function(S){Xe(S).dataModel=a})});function _(x,S,b){var w=x.getItemModel(S);Ny(x,S,b,e,n);var A=w.getModel("itemStyle").getItemStyle();A.fill==null&&(A.fill=Xh(l,"color")),x.setItemVisual(S,{symbolKeepAspect:w.get("symbolKeepAspect"),symbolOffset:Je(w.get("symbolOffset",!0),y[b?0:1]),symbolRotate:Je(w.get("symbolRotate",!0),m[b?0:1]),symbolSize:Je(w.get("symbolSize"),g[b?0:1]),symbol:Je(w.get("symbol",!0),p[b?0:1]),style:A})}this.markKeep(v),v.group.silent=a.get("silent")||e.get("silent")},t.type="markLine",t})(GM);function Wfe(r,t,e){var a;r?a=we(r&&r.dimensions,function(u){var v=t.getData().getDimensionInfo(t.getData().mapDimension(u))||{};return _e(_e({},v),{name:u,ordinalMeta:null})}):a=[{name:"value",type:"float"}];var i=new Xr(a,e),n=new Xr(a,e),o=new Xr([],e),s=we(e.get("data"),et(Ffe,t,r,e));r&&(s=Ct(s,et(Hfe,r)));var l=B7(!!r,a);return i.initData(we(s,function(u){return u[0]}),null,l),n.initData(we(s,function(u){return u[1]}),null,l),o.initData(we(s,function(u){return u[2]})),o.hasItemOption=!0,{from:i,to:n,line:o}}function Ufe(r){r.registerComponentModel(Gfe),r.registerComponentView(qfe),r.registerPreprocessor(function(t){BM(t.series,"markLine")&&(t.markLine=t.markLine||{})})}var $fe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.createMarkerModelFromSeries=function(e,a,i){return new t(e,a,i)},t.type="markArea",t.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},t})(Cn),wc=yt(),Yfe=function(r,t,e,a){var i=a[0],n=a[1];if(!(!i||!n)){var o=Eh(r,i),s=Eh(r,n),l=o.coord,u=s.coord;l[0]=wr(l[0],-1/0),l[1]=wr(l[1],-1/0),u[0]=wr(u[0],1/0),u[1]=wr(u[1],1/0);var v=yp([{},o,s]);return v.coord=[o.coord,s.coord],v.x0=o.x,v.y0=o.y,v.x1=s.x,v.y1=s.y,v}};function lp(r){return!isNaN(r)&&!isFinite(r)}function CE(r,t,e,a){var i=1-r;return lp(t[i])&&lp(e[i])}function Zfe(r,t){var e=t.coord[0],a=t.coord[1],i={coord:e,x:t.x0,y:t.y0},n={coord:a,x:t.x1,y:t.y1};return Fs(r,"cartesian2d")?e&&a&&(CE(1,e,a)||CE(0,e,a))?!0:Nfe(r,i,n):kh(r,i)||kh(r,n)}function ME(r,t,e,a,i){var n=a.coordinateSystem,o=r.getItemModel(t),s,l=Ie(o.get(e[0]),i.getWidth()),u=Ie(o.get(e[1]),i.getHeight());if(!isNaN(l)&&!isNaN(u))s=[l,u];else{if(a.getMarkerPosition){var v=r.getValues(["x0","y0"],t),h=r.getValues(["x1","y1"],t),f=n.clampData(v),c=n.clampData(h),d=[];e[0]==="x0"?d[0]=f[0]>c[0]?h[0]:v[0]:d[0]=f[0]>c[0]?v[0]:h[0],e[1]==="y0"?d[1]=f[1]>c[1]?h[1]:v[1]:d[1]=f[1]>c[1]?v[1]:h[1],s=a.getMarkerPosition(d,e,!0)}else{var p=r.get(e[0],t),g=r.get(e[1],t),m=[p,g];n.clampData&&n.clampData(m,m),s=n.dataToPoint(m,!0)}if(Fs(n,"cartesian2d")){var y=n.getAxis("x"),_=n.getAxis("y"),p=r.get(e[0],t),g=r.get(e[1],t);lp(p)?s[0]=y.toGlobalCoord(y.getExtent()[e[0]==="x0"?0:1]):lp(g)&&(s[1]=_.toGlobalCoord(_.getExtent()[e[1]==="y0"?0:1]))}isNaN(l)||(s[0]=l),isNaN(u)||(s[1]=u)}return s}var DE=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],Xfe=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.updateTransform=function(e,a,i){a.eachSeries(function(n){var o=Cn.getMarkerModelFromSeries(n,"markArea");if(o){var s=o.getData();s.each(function(l){var u=we(DE,function(h){return ME(s,l,h,n,i)});s.setItemLayout(l,u);var v=s.getItemGraphicEl(l);v.setShape("points",u)})}},this)},t.prototype.renderSeries=function(e,a,i,n){var o=e.coordinateSystem,s=e.id,l=e.getData(),u=this.markerGroupMap,v=u.get(s)||u.set(s,{group:new Ze});this.group.add(v.group),this.markKeep(v);var h=Kfe(o,e,a);a.setData(h),h.each(function(f){var c=we(DE,function(A){return ME(h,f,A,e,n)}),d=o.getAxis("x").scale,p=o.getAxis("y").scale,g=d.getExtent(),m=p.getExtent(),y=[d.parse(h.get("x0",f)),d.parse(h.get("x1",f))],_=[p.parse(h.get("y0",f)),p.parse(h.get("y1",f))];Ta(y),Ta(_);var x=!(g[0]>y[1]||g[1]_[1]||m[1]<_[0]),S=!x;h.setItemLayout(f,{points:c,allClipped:S});var b=h.getItemModel(f).getModel("itemStyle").getItemStyle(),w=Xh(l,"color");b.fill||(b.fill=w,Re(b.fill)&&(b.fill=hh(b.fill,.4))),b.stroke||(b.stroke=w),h.setItemVisual(f,"style",b)}),h.diff(wc(v).data).add(function(f){var c=h.getItemLayout(f);if(!c.allClipped){var d=new jr({shape:{points:c.points}});h.setItemGraphicEl(f,d),v.group.add(d)}}).update(function(f,c){var d=wc(v).data.getItemGraphicEl(c),p=h.getItemLayout(f);p.allClipped?d&&v.group.remove(d):(d?wt(d,{shape:{points:p.points}},a,f):d=new jr({shape:{points:p.points}}),h.setItemGraphicEl(f,d),v.group.add(d))}).remove(function(f){var c=wc(v).data.getItemGraphicEl(f);v.group.remove(c)}).execute(),h.eachItemGraphicEl(function(f,c){var d=h.getItemModel(c),p=h.getItemVisual(c,"style");f.useStyle(h.getItemVisual(c,"style")),Gr(f,Cr(d),{labelFetcher:a,labelDataIndex:c,defaultText:h.getName(c)||"",inheritColor:Re(p.fill)?hh(p.fill,1):"#000"}),Vr(f,d),tr(f,null,null,d.get(["emphasis","disabled"])),Xe(f).dataModel=a}),wc(v).data=h,v.group.silent=a.get("silent")||e.get("silent")},t.type="markArea",t})(GM);function Kfe(r,t,e){var a,i,n=["x0","y0","x1","y1"];if(r){var o=we(r&&r.dimensions,function(u){var v=t.getData(),h=v.getDimensionInfo(v.mapDimension(u))||{};return _e(_e({},h),{name:u,ordinalMeta:null})});i=we(n,function(u,v){return{name:u,type:o[v%2].type}}),a=new Xr(i,e)}else i=[{name:"value",type:"float"}],a=new Xr(i,e);var s=we(e.get("data"),et(Yfe,t,r,e));r&&(s=Ct(s,et(Zfe,r)));var l=r?function(u,v,h,f){var c=u.coord[Math.floor(f/2)][f%2];return io(c,i[f])}:function(u,v,h,f){return io(u.value,i[f])};return a.initData(s,null,l),a.hasItemOption=!0,a}function Qfe(r){r.registerComponentModel($fe),r.registerComponentView(Xfe),r.registerPreprocessor(function(t){BM(t.series,"markArea")&&(t.markArea=t.markArea||{})})}var jfe=function(r,t){if(t==="all")return{type:"all",title:r.getLocaleModel().get(["legend","selector","all"])};if(t==="inverse")return{type:"inverse",title:r.getLocaleModel().get(["legend","selector","inverse"])}},dA=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.layoutMode={type:"box",ignoreSize:!0},e}return t.prototype.init=function(e,a,i){this.mergeDefaultAndTheme(e,i),e.selected=e.selected||{},this._updateSelector(e)},t.prototype.mergeOption=function(e,a){r.prototype.mergeOption.call(this,e,a),this._updateSelector(e)},t.prototype._updateSelector=function(e){var a=e.selector,i=this.ecModel;a===!0&&(a=e.selector=["all","inverse"]),Se(a)&&$(a,function(n,o){Re(n)&&(n={type:n}),a[o]=tt(n,jfe(i,n.type))})},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&this.get("selectedMode")==="single"){for(var a=!1,i=0;i=0},t.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},t})(ut),yl=et,pA=$,Tc=Ze,V7=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.newlineDisabled=!1,e}return t.prototype.init=function(){this.group.add(this._contentGroup=new Tc),this.group.add(this._selectorGroup=new Tc),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,a,i){var n=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!e.get("show",!0)){var o=e.get("align"),s=e.get("orient");(!o||o==="auto")&&(o=e.get("left")==="right"&&s==="vertical"?"right":"left");var l=e.get("selector",!0),u=e.get("selectorPosition",!0);l&&(!u||u==="auto")&&(u=s==="horizontal"?"end":"start"),this.renderInner(o,e,a,i,l,s,u);var v=e.getBoxLayoutParams(),h={width:i.getWidth(),height:i.getHeight()},f=e.get("padding"),c=dr(v,h,f),d=this.layoutInner(e,o,c,n,l,u),p=dr(Ue({width:d.width,height:d.height},v),h,f);this.group.x=p.x-d.x,this.group.y=p.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=M7(d,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,a,i,n,o,s,l){var u=this.getContentGroup(),v=Ge(),h=a.get("selectedMode"),f=[];i.eachRawSeries(function(c){!c.get("legendHoverLink")&&f.push(c.id)}),pA(a.getData(),function(c,d){var p=c.get("name");if(!this.newlineDisabled&&(p===""||p==="\n")){var g=new Tc;g.newline=!0,u.add(g);return}var m=i.getSeriesByName(p)[0];if(!v.get(p))if(m){var y=m.getData(),_=y.getVisual("legendLineStyle")||{},x=y.getVisual("legendIcon"),S=y.getVisual("style"),b=this._createItem(m,p,d,c,a,e,_,S,x,h,n);b.on("click",yl(LE,p,null,n,f)).on("mouseover",yl(gA,m.name,null,n,f)).on("mouseout",yl(mA,m.name,null,n,f)),i.ssr&&b.eachChild(function(w){var A=Xe(w);A.seriesIndex=m.seriesIndex,A.dataIndex=d,A.ssrType="legend"}),v.set(p,!0)}else i.eachRawSeries(function(w){if(!v.get(p)&&w.legendVisualProvider){var A=w.legendVisualProvider;if(!A.containName(p))return;var T=A.indexOfName(p),C=A.getItemVisual(T,"style"),M=A.getItemVisual(T,"legendIcon"),L=sa(C.fill);L&&L[3]===0&&(L[3]=.2,C=_e(_e({},C),{fill:pi(L,"rgba")}));var D=this._createItem(w,p,d,c,a,e,{},C,M,h,n);D.on("click",yl(LE,null,p,n,f)).on("mouseover",yl(gA,null,p,n,f)).on("mouseout",yl(mA,null,p,n,f)),i.ssr&&D.eachChild(function(P){var I=Xe(P);I.seriesIndex=w.seriesIndex,I.dataIndex=d,I.ssrType="legend"}),v.set(p,!0)}},this)},this),o&&this._createSelector(o,a,n,s,l)},t.prototype._createSelector=function(e,a,i,n,o){var s=this.getSelectorGroup();pA(e,function(u){var v=u.type,h=new pt({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:v==="all"?"legendAllSelect":"legendInverseSelect",legendId:a.id})}});s.add(h);var f=a.getModel("selectorLabel"),c=a.getModel(["emphasis","selectorLabel"]);Gr(h,{normal:f,emphasis:c},{defaultText:u.title}),to(h)})},t.prototype._createItem=function(e,a,i,n,o,s,l,u,v,h,f){var c=e.visualDrawType,d=o.get("itemWidth"),p=o.get("itemHeight"),g=o.isSelected(a),m=n.get("symbolRotate"),y=n.get("symbolKeepAspect"),_=n.get("icon");v=_||v||"roundRect";var x=Jfe(v,n,l,u,c,g,f),S=new Tc,b=n.getModel("textStyle");if(He(e.getLegendIcon)&&(!_||_==="inherit"))S.add(e.getLegendIcon({itemWidth:d,itemHeight:p,icon:v,iconRotate:m,itemStyle:x.itemStyle,lineStyle:x.lineStyle,symbolKeepAspect:y}));else{var w=_==="inherit"&&e.getData().getVisual("symbol")?m==="inherit"?e.getData().getVisual("symbolRotate"):m:0;S.add(ece({itemWidth:d,itemHeight:p,icon:v,iconRotate:w,itemStyle:x.itemStyle,symbolKeepAspect:y}))}var A=s==="left"?d+5:-5,T=s,C=o.get("formatter"),M=a;Re(C)&&C?M=C.replace("{name}",a!=null?a:""):He(C)&&(M=C(a));var L=g?b.getTextColor():n.get("inactiveColor");S.add(new pt({style:Ht(b,{text:M,x:A,y:p/2,fill:L,align:T,verticalAlign:"middle"},{inheritColor:L})}));var D=new gt({shape:S.getBoundingRect(),style:{fill:"transparent"}}),P=n.getModel("tooltip");return P.get("show")&&zs({el:D,componentModel:o,itemName:a,itemTooltipOption:P.option}),S.add(D),S.eachChild(function(I){I.silent=!0}),D.silent=!h,this.getContentGroup().add(S),to(S),S.__legendDataIndex=i,S},t.prototype.layoutInner=function(e,a,i,n,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();bs(e.get("orient"),l,e.get("itemGap"),i.width,i.height);var v=l.getBoundingRect(),h=[-v.x,-v.y];if(u.markRedraw(),l.markRedraw(),o){bs("horizontal",u,e.get("selectorItemGap",!0));var f=u.getBoundingRect(),c=[-f.x,-f.y],d=e.get("selectorButtonGap",!0),p=e.getOrient().index,g=p===0?"width":"height",m=p===0?"height":"width",y=p===0?"y":"x";s==="end"?c[p]+=v[g]+d:h[p]+=f[g]+d,c[1-p]+=v[m]/2-f[m]/2,u.x=c[0],u.y=c[1],l.x=h[0],l.y=h[1];var _={x:0,y:0};return _[g]=v[g]+d+f[g],_[m]=Math.max(v[m],f[m]),_[y]=Math.min(0,f[y]+c[1-p]),_}else return l.x=h[0],l.y=h[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t})(Wt);function Jfe(r,t,e,a,i,n,o){function s(g,m){g.lineWidth==="auto"&&(g.lineWidth=m.lineWidth>0?2:0),pA(g,function(y,_){g[_]==="inherit"&&(g[_]=m[_])})}var l=t.getModel("itemStyle"),u=l.getItemStyle(),v=r.lastIndexOf("empty",0)===0?"fill":"stroke",h=l.getShallow("decal");u.decal=!h||h==="inherit"?a.decal:Ql(h,o),u.fill==="inherit"&&(u.fill=a[i]),u.stroke==="inherit"&&(u.stroke=a[v]),u.opacity==="inherit"&&(u.opacity=(i==="fill"?a:e).opacity),s(u,a);var f=t.getModel("lineStyle"),c=f.getLineStyle();if(s(c,e),u.fill==="auto"&&(u.fill=a.fill),u.stroke==="auto"&&(u.stroke=a.fill),c.stroke==="auto"&&(c.stroke=a.fill),!n){var d=t.get("inactiveBorderWidth"),p=u[v];u.lineWidth=d==="auto"?a.lineWidth>0&&p?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),c.stroke=f.get("inactiveColor"),c.lineWidth=f.get("inactiveWidth")}return{itemStyle:u,lineStyle:c}}function ece(r){var t=r.icon||"roundRect",e=lr(t,0,0,r.itemWidth,r.itemHeight,r.itemStyle.fill,r.symbolKeepAspect);return e.setStyle(r.itemStyle),e.rotation=(r.iconRotate||0)*Math.PI/180,e.setOrigin([r.itemWidth/2,r.itemHeight/2]),t.indexOf("empty")>-1&&(e.style.stroke=e.style.fill,e.style.fill="#fff",e.style.lineWidth=2),e}function LE(r,t,e,a){mA(r,t,e,a),e.dispatchAction({type:"legendToggleSelect",name:r!=null?r:t}),gA(r,t,e,a)}function G7(r){for(var t=r.getZr().storage.getDisplayList(),e,a=0,i=t.length;ai[o],g=[-c.x,-c.y];a||(g[n]=v[u]);var m=[0,0],y=[-d.x,-d.y],_=Je(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(p){var x=e.get("pageButtonPosition",!0);x==="end"?y[n]+=i[o]-d[o]:m[n]+=d[o]+_}y[1-n]+=c[s]/2-d[s]/2,v.setPosition(g),h.setPosition(m),f.setPosition(y);var S={x:0,y:0};if(S[o]=p?i[o]:c[o],S[s]=Math.max(c[s],d[s]),S[l]=Math.min(0,d[l]+y[1-n]),h.__rectSize=i[o],p){var b={x:0,y:0};b[o]=Math.max(i[o]-d[o]-_,0),b[s]=S[s],h.setClipPath(new gt({shape:b})),h.__rectSize=b[o]}else f.eachChild(function(A){A.attr({invisible:!0,silent:!0})});var w=this._getPageInfo(e);return w.pageIndex!=null&&wt(v,{x:w.contentPosition[0],y:w.contentPosition[1]},p?e:null),this._updatePageInfoView(e,w),S},t.prototype._pageGo=function(e,a,i){var n=this._getPageInfo(a)[e];n!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:a.id})},t.prototype._updatePageInfoView=function(e,a){var i=this._controllerGroup;$(["pagePrev","pageNext"],function(v){var h=v+"DataIndex",f=a[h]!=null,c=i.childOfName(v);c&&(c.setStyle("fill",f?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),c.cursor=f?"pointer":"default")});var n=i.childOfName("pageText"),o=e.get("pageFormatter"),s=a.pageIndex,l=s!=null?s+1:0,u=a.pageCount;n&&o&&n.setStyle("text",Re(o)?o.replace("{current}",l==null?"":l+"").replace("{total}",u==null?"":u+""):o({current:l,total:u}))},t.prototype._getPageInfo=function(e){var a=e.get("scrollDataIndex",!0),i=this.getContentGroup(),n=this._containerGroup.__rectSize,o=e.getOrient().index,s=zy[o],l=By[o],u=this._findTargetItemIndex(a),v=i.children(),h=v[u],f=v.length,c=f?1:0,d={contentPosition:[i.x,i.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return d;var p=x(h);d.contentPosition[o]=-p.s;for(var g=u+1,m=p,y=p,_=null;g<=f;++g)_=x(v[g]),(!_&&y.e>m.s+n||_&&!S(_,m.s))&&(y.i>m.i?m=y:m=_,m&&(d.pageNextDataIndex==null&&(d.pageNextDataIndex=m.i),++d.pageCount)),y=_;for(var g=u-1,m=p,y=p,_=null;g>=-1;--g)_=x(v[g]),(!_||!S(y,_.s))&&m.i=w&&b.s<=w+n}},t.prototype._findTargetItemIndex=function(e){if(!this._showController)return 0;var a,i=this.getContentGroup(),n;return i.eachChild(function(o,s){var l=o.__legendDataIndex;n==null&&l!=null&&(n=s),l===e&&(a=s)}),a!=null?a:n},t.type="legend.scroll",t})(V7);function nce(r){r.registerAction("legendScroll","legendscroll",function(t,e){var a=t.scrollDataIndex;a!=null&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(i){i.setScrollDataIndex(a)})})}function oce(r){ot(F7),r.registerComponentModel(ace),r.registerComponentView(ice),nce(r)}function sce(r){ot(F7),ot(oce)}var lce=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="dataZoom.inside",t.defaultOption=go(Rh.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t})(Rh),FM=yt();function uce(r,t,e){FM(r).coordSysRecordMap.each(function(a){var i=a.dataZoomInfoMap.get(t.uid);i&&(i.getRange=e)})}function vce(r,t){for(var e=FM(r).coordSysRecordMap,a=e.keys(),i=0;ia[e+t]&&(t=s),i=i&&o.get("preventDefaultMouseMove",!0)}),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}function pce(r){r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,function(t,e){var a=FM(e),i=a.coordSysRecordMap||(a.coordSysRecordMap=Ge());i.each(function(n){n.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(n){var o=T7(n);$(o.infoList,function(s){var l=s.model.uid,u=i.get(l)||i.set(l,hce(e,s.model)),v=u.dataZoomInfoMap||(u.dataZoomInfoMap=Ge());v.set(n.uid,{dzReferCoordSysInfo:s,model:n,getRange:null})})}),i.each(function(n){var o=n.controller,s,l=n.dataZoomInfoMap;if(l){var u=l.keys()[0];u!=null&&(s=l.get(u))}if(!s){H7(i,n);return}var v=dce(l);o.enable(v.controlType,v.opt),o.setPointerChecker(n.containsPoint),mu(n,"dispatchAction",s.model.get("throttle",!0),"fixRate")})})}var gce=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return t.prototype.render=function(e,a,i){if(r.prototype.render.apply(this,arguments),e.noTarget()){this._clear();return}this.range=e.getPercentRange(),uce(i,e,{pan:Ne(Vy.pan,this),zoom:Ne(Vy.zoom,this),scrollMove:Ne(Vy.scrollMove,this)})},t.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){vce(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t})(RM),Vy={zoom:function(r,t,e,a){var i=this.range,n=i.slice(),o=r.axisModels[0];if(o){var s=Gy[t](null,[a.originX,a.originY],o,e,r),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(n[1]-n[0])+n[0],u=Math.max(1/a.scale,0);n[0]=(n[0]-l)*u+l,n[1]=(n[1]-l)*u+l;var v=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(qs(0,n,[0,100],0,v.minSpan,v.maxSpan),this.range=n,i[0]!==n[0]||i[1]!==n[1])return n}},pan:EE(function(r,t,e,a,i,n){var o=Gy[a]([n.oldX,n.oldY],[n.newX,n.newY],t,i,e);return o.signal*(r[1]-r[0])*o.pixel/o.pixelLength}),scrollMove:EE(function(r,t,e,a,i,n){var o=Gy[a]([0,0],[n.scrollDelta,n.scrollDelta],t,i,e);return o.signal*(r[1]-r[0])*n.scrollDelta})};function EE(r){return function(t,e,a,i){var n=this.range,o=n.slice(),s=t.axisModels[0];if(s){var l=r(o,s,t,e,a,i);if(qs(l,o,[0,100],"all"),this.range=o,n[0]!==o[0]||n[1]!==o[1])return o}}}var Gy={grid:function(r,t,e,a,i){var n=e.axis,o={},s=i.model.coordinateSystem.getRect();return r=r||[0,0],n.dim==="x"?(o.pixel=t[0]-r[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=n.inverse?1:-1):(o.pixel=t[1]-r[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=n.inverse?-1:1),o},polar:function(r,t,e,a,i){var n=e.axis,o={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return r=r?s.pointToCoord(r):[0,0],t=s.pointToCoord(t),e.mainType==="radiusAxis"?(o.pixel=t[0]-r[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=n.inverse?1:-1):(o.pixel=t[1]-r[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=n.inverse?-1:1),o},singleAxis:function(r,t,e,a,i){var n=e.axis,o=i.model.coordinateSystem.getRect(),s={};return r=r||[0,0],n.orient==="horizontal"?(s.pixel=t[0]-r[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=n.inverse?1:-1):(s.pixel=t[1]-r[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=n.inverse?-1:1),s}};function q7(r){EM(r),r.registerComponentModel(lce),r.registerComponentView(gce),pce(r)}var mce=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=go(Rh.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),t})(Rh),sv=gt,kE=7,yce=1,Fy=30,_ce=7,lv="horizontal",OE="vertical",xce=5,Sce=["line","bar","candlestick","scatter"],bce={easing:"cubicOut",duration:100,delay:0},wce=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._displayables={},e}return t.prototype.init=function(e,a){this.api=a,this._onBrush=Ne(this._onBrush,this),this._onBrushEnd=Ne(this._onBrushEnd,this)},t.prototype.render=function(e,a,i,n){if(r.prototype.render.apply(this,arguments),mu(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),e.get("show")===!1){this.group.removeAll();return}if(e.noTarget()){this._clear(),this.group.removeAll();return}(!n||n.type!=="dataZoom"||n.from!==this.uid)&&this._buildView(),this._updateView()},t.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){Sh(this,"_dispatchZoomAction");var e=this.api.getZr();e.off("mousemove",this._onBrush),e.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var e=this.group;e.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var a=this._displayables.sliderGroup=new Ze;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(a),this._positionGroup()},t.prototype._resetLocation=function(){var e=this.dataZoomModel,a=this.api,i=e.get("brushSelect"),n=i?_ce:0,o=this._findCoordRect(),s={width:a.getWidth(),height:a.getHeight()},l=this._orient===lv?{right:s.width-o.x-o.width,top:s.height-Fy-kE-n,width:o.width,height:Fy}:{right:kE,top:o.y,width:Fy,height:o.height},u=cu(e.option);$(["right","top","width","height"],function(h){u[h]==="ph"&&(u[h]=l[h])});var v=dr(u,s);this._location={x:v.x,y:v.y},this._size=[v.width,v.height],this._orient===OE&&this._size.reverse()},t.prototype._positionGroup=function(){var e=this.group,a=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),o=n&&n.get("inverse"),s=this._displayables.sliderGroup,l=(this._dataShadowInfo||{}).otherAxisInverse;s.attr(i===lv&&!o?{scaleY:l?1:-1,scaleX:1}:i===lv&&o?{scaleY:l?1:-1,scaleX:-1}:i===OE&&!o?{scaleY:l?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:l?-1:1,scaleX:-1,rotation:Math.PI/2});var u=e.getBoundingRect([s]);e.x=a.x-u.x,e.y=a.y-u.y,e.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var e=this.dataZoomModel,a=this._size,i=this._displayables.sliderGroup,n=e.get("brushSelect");i.add(new sv({silent:!0,shape:{x:0,y:0,width:a[0],height:a[1]},style:{fill:e.get("backgroundColor")},z2:-40}));var o=new sv({shape:{x:0,y:0,width:a[0],height:a[1]},style:{fill:"transparent"},z2:0,onclick:Ne(this._onClickPanel,this)}),s=this.api.getZr();n?(o.on("mousedown",this._onBrushStart,this),o.cursor="crosshair",s.on("mousemove",this._onBrush),s.on("mouseup",this._onBrushEnd)):(s.off("mousemove",this._onBrush),s.off("mouseup",this._onBrushEnd)),i.add(o)},t.prototype._renderDataShadow=function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!e)return;var a=this._size,i=this._shadowSize||[],n=e.series,o=n.getRawData(),s=n.getShadowDim&&n.getShadowDim(),l=s&&o.getDimensionInfo(s)?n.getShadowDim():e.otherDim;if(l==null)return;var u=this._shadowPolygonPts,v=this._shadowPolylinePts;if(o!==this._shadowData||l!==this._shadowDim||a[0]!==i[0]||a[1]!==i[1]){var h=o.getDataExtent(l),f=(h[1]-h[0])*.3;h=[h[0]-f,h[1]+f];var c=[0,a[1]],d=[0,a[0]],p=[[a[0],0],[0,0]],g=[],m=d[1]/(o.count()-1),y=0,_=Math.round(o.count()/a[0]),x;o.each([l],function(T,C){if(_>0&&C%_){y+=m;return}var M=T==null||isNaN(T)||T==="",L=M?0:Pt(T,h,c,!0);M&&!x&&C?(p.push([p[p.length-1][0],0]),g.push([g[g.length-1][0],0])):!M&&x&&(p.push([y,0]),g.push([y,0])),p.push([y,L]),g.push([y,L]),y+=m,x=M}),u=this._shadowPolygonPts=p,v=this._shadowPolylinePts=g}this._shadowData=o,this._shadowDim=l,this._shadowSize=[a[0],a[1]];var S=this.dataZoomModel;function b(T){var C=S.getModel(T?"selectedDataBackground":"dataBackground"),M=new Ze,L=new jr({shape:{points:u},segmentIgnoreThreshold:1,style:C.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),D=new ea({shape:{points:v},segmentIgnoreThreshold:1,style:C.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return M.add(L),M.add(D),M}for(var w=0;w<3;w++){var A=b(w===1);this._displayables.sliderGroup.add(A),this._displayables.dataShadowSegs.push(A)}},t.prototype._prepareDataShadowInfo=function(){var e=this.dataZoomModel,a=e.get("showDataShadow");if(a!==!1){var i,n=this.ecModel;return e.eachTargetAxis(function(o,s){var l=e.getAxisProxy(o,s).getTargetSeriesModels();$(l,function(u){if(!i&&!(a!==!0&&nt(Sce,u.get("type"))<0)){var v=n.getComponent(jn(o),s).axis,h=Tce(o),f,c=u.coordinateSystem;h!=null&&c.getOtherAxis&&(f=c.getOtherAxis(v).inverse),h=u.getData().mapDimension(h),i={thisAxis:v,series:u,thisDim:o,otherDim:h,otherAxisInverse:f}}},this)},this),i}},t.prototype._renderHandle=function(){var e=this.group,a=this._displayables,i=a.handles=[null,null],n=a.handleLabels=[null,null],o=this._displayables.sliderGroup,s=this._size,l=this.dataZoomModel,u=this.api,v=l.get("borderRadius")||0,h=l.get("brushSelect"),f=a.filler=new sv({silent:h,style:{fill:l.get("fillerColor")},textConfig:{position:"inside"}});o.add(f),o.add(new sv({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:s[0],height:s[1],r:v},style:{stroke:l.get("dataBackgroundColor")||l.get("borderColor"),lineWidth:yce,fill:"rgba(0,0,0,0)"}})),$([0,1],function(_){var x=l.get("handleIcon");!Bd[x]&&x.indexOf("path://")<0&&x.indexOf("image://")<0&&(x="path://"+x);var S=lr(x,-1,0,2,2,null,!0);S.attr({cursor:NE(this._orient),draggable:!0,drift:Ne(this._onDragMove,this,_),ondragend:Ne(this._onDragEnd,this),onmouseover:Ne(this._showDataInfo,this,!0),onmouseout:Ne(this._showDataInfo,this,!1),z2:5});var b=S.getBoundingRect(),w=l.get("handleSize");this._handleHeight=Ie(w,this._size[1]),this._handleWidth=b.width/b.height*this._handleHeight,S.setStyle(l.getModel("handleStyle").getItemStyle()),S.style.strokeNoScale=!0,S.rectHover=!0,S.ensureState("emphasis").style=l.getModel(["emphasis","handleStyle"]).getItemStyle(),to(S);var A=l.get("handleColor");A!=null&&(S.style.fill=A),o.add(i[_]=S);var T=l.getModel("textStyle"),C=l.get("handleLabel")||{},M=C.show||!1;e.add(n[_]=new pt({silent:!0,invisible:!M,style:Ht(T,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:T.getTextColor(),font:T.getFont()}),z2:10}))},this);var c=f;if(h){var d=Ie(l.get("moveHandleSize"),s[1]),p=a.moveHandle=new gt({style:l.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:s[1]-.5,height:d}}),g=d*.8,m=a.moveHandleIcon=lr(l.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);m.silent=!0,m.y=s[1]+d/2-.5,p.ensureState("emphasis").style=l.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(s[1]/2,Math.max(d,10));c=a.moveZone=new gt({invisible:!0,shape:{y:s[1]-y,height:d+y}}),c.on("mouseover",function(){u.enterEmphasis(p)}).on("mouseout",function(){u.leaveEmphasis(p)}),o.add(p),o.add(m),o.add(c)}c.attr({draggable:!0,cursor:NE(this._orient),drift:Ne(this._onDragMove,this,"all"),ondragstart:Ne(this._showDataInfo,this,!0),ondragend:Ne(this._onDragEnd,this),onmouseover:Ne(this._showDataInfo,this,!0),onmouseout:Ne(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var e=this._range=this.dataZoomModel.getPercentRange(),a=this._getViewExtent();this._handleEnds=[Pt(e[0],[0,100],a,!0),Pt(e[1],[0,100],a,!0)]},t.prototype._updateInterval=function(e,a){var i=this.dataZoomModel,n=this._handleEnds,o=this._getViewExtent(),s=i.findRepresentativeAxisProxy().getMinMaxSpan(),l=[0,100];qs(a,n,o,i.get("zoomLock")?"all":e,s.minSpan!=null?Pt(s.minSpan,l,o,!0):null,s.maxSpan!=null?Pt(s.maxSpan,l,o,!0):null);var u=this._range,v=this._range=Ta([Pt(n[0],o,l,!0),Pt(n[1],o,l,!0)]);return!u||u[0]!==v[0]||u[1]!==v[1]},t.prototype._updateView=function(e){var a=this._displayables,i=this._handleEnds,n=Ta(i.slice()),o=this._size;$([0,1],function(c){var d=a.handles[c],p=this._handleHeight;d.attr({scaleX:p/2,scaleY:p/2,x:i[c]+(c?-1:1),y:o[1]/2-p/2})},this),a.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:o[1]});var s={x:n[0],width:n[1]-n[0]};a.moveHandle&&(a.moveHandle.setShape(s),a.moveZone.setShape(s),a.moveZone.getBoundingRect(),a.moveHandleIcon&&a.moveHandleIcon.attr("x",s.x+s.width/2));for(var l=a.dataShadowSegs,u=[0,n[0],n[1],o[0]],v=0;va[0]||i[1]<0||i[1]>a[1])){var n=this._handleEnds,o=(n[0]+n[1])/2,s=this._updateInterval("all",i[0]-o);this._updateView(),s&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(e){var a=e.offsetX,i=e.offsetY;this._brushStart=new rt(a,i),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(e){if(this._brushing){var a=this._displayables.brushRect;if(this._brushing=!1,!!a){a.attr("ignore",!0);var i=a.shape,n=+new Date;if(!(n-this._brushStartTime<200&&Math.abs(i.width)<5)){var o=this._getViewExtent(),s=[0,100];this._range=Ta([Pt(i.x,o,s,!0),Pt(i.x+i.width,o,s,!0)]),this._handleEnds=[i.x,i.x+i.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(e){this._brushing&&(_n(e.event),this._updateBrushRect(e.offsetX,e.offsetY))},t.prototype._updateBrushRect=function(e,a){var i=this._displayables,n=this.dataZoomModel,o=i.brushRect;o||(o=i.brushRect=new sv({silent:!0,style:n.getModel("brushStyle").getItemStyle()}),i.sliderGroup.add(o)),o.attr("ignore",!1);var s=this._brushStart,l=this._displayables.sliderGroup,u=l.transformCoordToLocal(e,a),v=l.transformCoordToLocal(s.x,s.y),h=this._size;u[0]=Math.max(Math.min(h[0],u[0]),0),o.setShape({x:v[0],y:0,width:u[0]-v[0],height:h[1]})},t.prototype._dispatchZoomAction=function(e){var a=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:e?bce:null,start:a[0],end:a[1]})},t.prototype._findCoordRect=function(){var e,a=T7(this.dataZoomModel).infoList;if(!e&&a.length){var i=a[0].model.coordinateSystem;e=i.getRect&&i.getRect()}if(!e){var n=this.api.getWidth(),o=this.api.getHeight();e={x:n*.2,y:o*.2,width:n*.6,height:o*.6}}return e},t.type="dataZoom.slider",t})(RM);function Tce(r){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[r]}function NE(r){return r==="vertical"?"ns-resize":"ew-resize"}function W7(r){r.registerComponentModel(mce),r.registerComponentView(wce),EM(r)}function Ace(r){ot(q7),ot(W7)}var U7={get:function(r,t,e){var a=Ye((Cce[r]||{})[t]);return e&&Se(a)?a[a.length-1]:a}},Cce={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},zE=Ar.mapVisual,Mce=Ar.eachVisual,Dce=Se,BE=$,Lce=Ta,Ice=Pt,up=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.stateList=["inRange","outOfRange"],e.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],e.layoutMode={type:"box",ignoreSize:!0},e.dataBound=[-1/0,1/0],e.targetVisuals={},e.controllerVisuals={},e}return t.prototype.init=function(e,a,i){this.mergeDefaultAndTheme(e,i)},t.prototype.optionUpdated=function(e,a){var i=this.option;!a&&k7(i,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(e){var a=this.stateList;e=Ne(e,this),this.controllerVisuals=hA(this.option.controller,a,e),this.targetVisuals=hA(this.option.target,a,e)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var e=this.option.seriesIndex,a=[];return e==null||e==="all"?this.ecModel.eachSeries(function(i,n){a.push(n)}):a=Nt(e),a},t.prototype.eachTargetSeries=function(e,a){$(this.getTargetSeriesIndices(),function(i){var n=this.ecModel.getSeriesByIndex(i);n&&e.call(a,n)},this)},t.prototype.isTargetSeries=function(e){var a=!1;return this.eachTargetSeries(function(i){i===e&&(a=!0)}),a},t.prototype.formatValueText=function(e,a,i){var n=this.option,o=n.precision,s=this.dataBound,l=n.formatter,u;i=i||["<",">"],Se(e)&&(e=e.slice(),u=!0);var v=a?e:u?[h(e[0]),h(e[1])]:h(e);if(Re(l))return l.replace("{value}",u?v[0]:v).replace("{value2}",u?v[1]:v);if(He(l))return u?l(e[0],e[1]):l(e);if(u)return e[0]===s[0]?i[0]+" "+v[1]:e[1]===s[1]?i[1]+" "+v[0]:v[0]+" - "+v[1];return v;function h(f){return f===s[0]?"min":f===s[1]?"max":(+f).toFixed(Math.min(o,20))}},t.prototype.resetExtent=function(){var e=this.option,a=Lce([e.min,e.max]);this._dataExtent=a},t.prototype.getDataDimensionIndex=function(e){var a=this.option.dimension;if(a!=null)return e.getDimensionIndex(a);for(var i=e.dimensions,n=i.length-1;n>=0;n--){var o=i[n],s=e.getDimensionInfo(o);if(!s.isCalculationCoord)return s.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var e=this.ecModel,a=this.option,i={inRange:a.inRange,outOfRange:a.outOfRange},n=a.target||(a.target={}),o=a.controller||(a.controller={});tt(n,i),tt(o,i);var s=this.isCategory();l.call(this,n),l.call(this,o),u.call(this,n,"inRange","outOfRange"),v.call(this,o);function l(h){Dce(a.color)&&!h.inRange&&(h.inRange={color:a.color.slice().reverse()}),h.inRange=h.inRange||{color:e.get("gradientColor")}}function u(h,f,c){var d=h[f],p=h[c];d&&!p&&(p=h[c]={},BE(d,function(g,m){if(Ar.isValidType(m)){var y=U7.get(m,"inactive",s);y!=null&&(p[m]=y,m==="color"&&!p.hasOwnProperty("opacity")&&!p.hasOwnProperty("colorAlpha")&&(p.opacity=[0,0]))}}))}function v(h){var f=(h.inRange||{}).symbol||(h.outOfRange||{}).symbol,c=(h.inRange||{}).symbolSize||(h.outOfRange||{}).symbolSize,d=this.get("inactiveColor"),p=this.getItemSymbol(),g=p||"roundRect";BE(this.stateList,function(m){var y=this.itemSize,_=h[m];_||(_=h[m]={color:s?d:[d]}),_.symbol==null&&(_.symbol=f&&Ye(f)||(s?g:[g])),_.symbolSize==null&&(_.symbolSize=c&&Ye(c)||(s?y[0]:[y[0],y[0]])),_.symbol=zE(_.symbol,function(b){return b==="none"?g:b});var x=_.symbolSize;if(x!=null){var S=-1/0;Mce(x,function(b){b>S&&(S=b)}),_.symbolSize=zE(x,function(b){return Ice(b,[0,S],[0,y[0]],!0)})}},this)}},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(e){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(e){return null},t.prototype.getVisualMeta=function(e){return null},t.type="visualMap",t.dependencies=["series"],t.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},t})(ut),VE=[20,140],Pce=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.optionUpdated=function(e,a){r.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(i){i.mappingMethod="linear",i.dataExtent=this.getExtent()}),this._resetRange()},t.prototype.resetItemSize=function(){r.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(e[0]==null||isNaN(e[0]))&&(e[0]=VE[0]),(e[1]==null||isNaN(e[1]))&&(e[1]=VE[1])},t.prototype._resetRange=function(){var e=this.getExtent(),a=this.option.range;!a||a.auto?(e.auto=1,this.option.range=e):Se(a)&&(a[0]>a[1]&&a.reverse(),a[0]=Math.max(a[0],e[0]),a[1]=Math.min(a[1],e[1]))},t.prototype.completeVisualOption=function(){r.prototype.completeVisualOption.apply(this,arguments),$(this.stateList,function(e){var a=this.option.controller[e].symbolSize;a&&a[0]!==a[1]&&(a[0]=a[1]/3)},this)},t.prototype.setSelected=function(e){this.option.range=e.slice(),this._resetRange()},t.prototype.getSelected=function(){var e=this.getExtent(),a=Ta((this.get("range")||[]).slice());return a[0]>e[1]&&(a[0]=e[1]),a[1]>e[1]&&(a[1]=e[1]),a[0]=i[1]||e<=a[1])?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var a=[];return this.eachTargetSeries(function(i){var n=[],o=i.getData();o.each(this.getDataDimensionIndex(o),function(s,l){e[0]<=s&&s<=e[1]&&n.push(l)},this),a.push({seriesId:i.id,dataIndex:n})},this),a},t.prototype.getVisualMeta=function(e){var a=GE(this,"outOfRange",this.getExtent()),i=GE(this,"inRange",this.option.range.slice()),n=[];function o(c,d){n.push({value:c,color:e(c,d)})}for(var s=0,l=0,u=i.length,v=a.length;le[1])break;n.push({color:this.getControllerVisual(l,"color",a),offset:s/i})}return n.push({color:this.getControllerVisual(e[1],"color",a),offset:1}),n},t.prototype._createBarPoints=function(e,a){var i=this.visualMapModel.itemSize;return[[i[0]-a[0],e[0]],[i[0],e[0]],[i[0],e[1]],[i[0]-a[1],e[1]]]},t.prototype._createBarGroup=function(e){var a=this._orient,i=this.visualMapModel.get("inverse");return new Ze(a==="horizontal"&&!i?{scaleX:e==="bottom"?1:-1,rotation:Math.PI/2}:a==="horizontal"&&i?{scaleX:e==="bottom"?-1:1,rotation:-Math.PI/2}:a==="vertical"&&!i?{scaleX:e==="left"?1:-1,scaleY:-1}:{scaleX:e==="left"?1:-1})},t.prototype._updateHandle=function(e,a){if(this._useHandle){var i=this._shapes,n=this.visualMapModel,o=i.handleThumbs,s=i.handleLabels,l=n.itemSize,u=n.getExtent(),v=this._applyTransform("left",i.mainGroup);Rce([0,1],function(h){var f=o[h];f.setStyle("fill",a.handlesColor[h]),f.y=e[h];var c=Ni(e[h],[0,l[1]],u,!0),d=this.getControllerVisual(c,"symbolSize");f.scaleX=f.scaleY=d/l[0],f.x=l[0]-d/2;var p=gi(i.handleLabelPoints[h],ro(f,this.group));if(this._orient==="horizontal"){var g=v==="left"||v==="top"?(l[0]-d)/2:(l[0]-d)/-2;p[1]+=g}s[h].setStyle({x:p[0],y:p[1],text:n.formatValueText(this._dataInterval[h]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",i.mainGroup):"center"})},this)}},t.prototype._showIndicator=function(e,a,i,n){var o=this.visualMapModel,s=o.getExtent(),l=o.itemSize,u=[0,l[1]],v=this._shapes,h=v.indicator;if(h){h.attr("invisible",!1);var f={convertOpacityToAlpha:!0},c=this.getControllerVisual(e,"color",f),d=this.getControllerVisual(e,"symbolSize"),p=Ni(e,s,u,!0),g=l[0]-d/2,m={x:h.x,y:h.y};h.y=p,h.x=g;var y=gi(v.indicatorLabelPoint,ro(h,this.group)),_=v.indicatorLabel;_.attr("invisible",!1);var x=this._applyTransform("left",v.mainGroup),S=this._orient,b=S==="horizontal";_.setStyle({text:(i||"")+o.formatValueText(a),verticalAlign:b?x:"middle",align:b?"center":x});var w={x:g,y:p,style:{fill:c}},A={style:{x:y[0],y:y[1]}};if(o.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var T={duration:100,easing:"cubicInOut",additive:!0};h.x=m.x,h.y=m.y,h.animateTo(w,T),_.animateTo(A,T)}else h.attr(w),_.attr(A);this._firstShowIndicator=!1;var C=this._shapes.handleLabels;if(C)for(var M=0;Mo[1]&&(h[1]=1/0),a&&(h[0]===-1/0?this._showIndicator(v,h[1],"< ",l):h[1]===1/0?this._showIndicator(v,h[0],"> ",l):this._showIndicator(v,v,"≈ ",l));var f=this._hoverLinkDataIndices,c=[];(a||WE(i))&&(c=this._hoverLinkDataIndices=i.findTargetDataIndices(h));var d=dX(f,c);this._dispatchHighDown("downplay",cd(d[0],i)),this._dispatchHighDown("highlight",cd(d[1],i))}},t.prototype._hoverLinkFromSeriesMouseOver=function(e){var a;if(ps(e.target,function(l){var u=Xe(l);if(u.dataIndex!=null)return a=u,!0},!0),!!a){var i=this.ecModel.getSeriesByIndex(a.seriesIndex),n=this.visualMapModel;if(n.isTargetSeries(i)){var o=i.getData(a.dataType),s=o.getStore().get(n.getDataDimensionIndex(o),a.dataIndex);isNaN(s)||this._showIndicator(s,s)}}},t.prototype._hideIndicator=function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0);var a=this._shapes.handleLabels;if(a)for(var i=0;i=0&&(n.dimension=o,a.push(n))}}),r.getData().setVisual("visualMeta",a)}}];function Gce(r,t,e,a){for(var i=t.targetVisuals[a],n=Ar.prepareVisualTypes(i),o={color:Xh(r.getData(),"color")},s=0,l=n.length;s0:t.splitNumber>0)||t.calculable)?"continuous":"piecewise"}),r.registerAction(zce,Bce),$(Vce,function(t){r.registerVisual(r.PRIORITY.VISUAL.COMPONENT,t)}),r.registerPreprocessor(Fce))}function X7(r){r.registerComponentModel(Pce),r.registerComponentView(Oce),Z7(r)}var Hce=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._pieceList=[],e}return t.prototype.optionUpdated=function(e,a){r.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],qce[this._mode].call(this,this._pieceList),this._resetSelected(e,a);var n=this.option.categories;this.resetVisual(function(o,s){i==="categories"?(o.mappingMethod="category",o.categories=Ye(n)):(o.dataExtent=this.getExtent(),o.mappingMethod="piecewise",o.pieceList=we(this._pieceList,function(l){return l=Ye(l),s!=="inRange"&&(l.visual=null),l}))})},t.prototype.completeVisualOption=function(){var e=this.option,a={},i=Ar.listVisualTypes(),n=this.isCategory();$(e.pieces,function(s){$(i,function(l){s.hasOwnProperty(l)&&(a[l]=1)})}),$(a,function(s,l){var u=!1;$(this.stateList,function(v){u=u||o(e,v,l)||o(e.target,v,l)},this),!u&&$(this.stateList,function(v){(e[v]||(e[v]={}))[l]=U7.get(l,v==="inRange"?"active":"inactive",n)})},this);function o(s,l,u){return s&&s[l]&&s[l].hasOwnProperty(u)}r.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(e,a){var i=this.option,n=this._pieceList,o=(a?i:e).selected||{};if(i.selected=o,$(n,function(l,u){var v=this.getSelectedMapKey(l);o.hasOwnProperty(v)||(o[v]=!0)},this),i.selectedMode==="single"){var s=!1;$(n,function(l,u){var v=this.getSelectedMapKey(l);o[v]&&(s?o[v]=!1:s=!0)},this)}},t.prototype.getItemSymbol=function(){return this.get("itemSymbol")},t.prototype.getSelectedMapKey=function(e){return this._mode==="categories"?e.value+"":e.index+""},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},t.prototype.setSelected=function(e){this.option.selected=Ye(e)},t.prototype.getValueState=function(e){var a=Ar.findPieceIndex(e,this._pieceList);return a!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[a])]?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var a=[],i=this._pieceList;return this.eachTargetSeries(function(n){var o=[],s=n.getData();s.each(this.getDataDimensionIndex(s),function(l,u){var v=Ar.findPieceIndex(l,i);v===e&&o.push(u)},this),a.push({seriesId:n.id,dataIndex:o})},this),a},t.prototype.getRepresentValue=function(e){var a;if(this.isCategory())a=e.value;else if(e.value!=null)a=e.value;else{var i=e.interval||[];a=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return a},t.prototype.getVisualMeta=function(e){if(this.isCategory())return;var a=[],i=["",""],n=this;function o(v,h){var f=n.getRepresentValue({interval:v});h||(h=n.getValueState(f));var c=e(f,h);v[0]===-1/0?i[0]=c:v[1]===1/0?i[1]=c:a.push({value:v[0],color:c},{value:v[1],color:c})}var s=this._pieceList.slice();if(!s.length)s.push({interval:[-1/0,1/0]});else{var l=s[0].interval[0];l!==-1/0&&s.unshift({interval:[-1/0,l]}),l=s[s.length-1].interval[1],l!==1/0&&s.push({interval:[l,1/0]})}var u=-1/0;return $(s,function(v){var h=v.interval;h&&(h[0]>u&&o([u,h[0]],"outOfRange"),o(h.slice()),u=h[1])},this),{stops:a,outerColors:i}},t.type="visualMap.piecewise",t.defaultOption=go(up.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),t})(up),qce={splitNumber:function(r){var t=this.option,e=Math.min(t.precision,20),a=this.getExtent(),i=t.splitNumber;i=Math.max(parseInt(i,10),1),t.splitNumber=i;for(var n=(a[1]-a[0])/i;+n.toFixed(e)!==n&&e<5;)e++;t.precision=e,n=+n.toFixed(e),t.minOpen&&r.push({interval:[-1/0,a[0]],close:[0,0]});for(var o=0,s=a[0];o","≥"][a[0]]];e.text=e.text||this.formatValueText(e.value!=null?e.value:e.interval,!1,i)},this)}};function ZE(r,t){var e=r.inverse;(r.orient==="vertical"?!e:e)&&t.reverse()}var Wce=(function(r){he(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.doRender=function(){var e=this.group;e.removeAll();var a=this.visualMapModel,i=a.get("textGap"),n=a.textStyleModel,o=n.getFont(),s=n.getTextColor(),l=this._getItemAlign(),u=a.itemSize,v=this._getViewData(),h=v.endsText,f=wr(a.get("showLabel",!0),!h),c=!a.get("selectedMode");h&&this._renderEndsText(e,h[0],u,f,l),$(v.viewPieceList,function(d){var p=d.piece,g=new Ze;g.onclick=Ne(this._onItemClick,this,p),this._enableHoverLink(g,d.indexInModelPieceList);var m=a.getRepresentValue(p);if(this._createItemSymbol(g,m,[0,0,u[0],u[1]],c),f){var y=this.visualMapModel.getValueState(m);g.add(new pt({style:{x:l==="right"?-i:u[0]+i,y:u[1]/2,text:p.text,verticalAlign:"middle",align:l,font:o,fill:s,opacity:y==="outOfRange"?.5:1},silent:c}))}e.add(g)},this),h&&this._renderEndsText(e,h[1],u,f,l),bs(a.get("orient"),e,a.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},t.prototype._enableHoverLink=function(e,a){var i=this;e.on("mouseover",function(){return n("highlight")}).on("mouseout",function(){return n("downplay")});var n=function(o){var s=i.visualMapModel;s.option.hoverLink&&i.api.dispatchAction({type:o,batch:cd(s.findTargetDataIndices(a),s)})}},t.prototype._getItemAlign=function(){var e=this.visualMapModel,a=e.option;if(a.orient==="vertical")return Y7(e,this.api,e.itemSize);var i=a.align;return(!i||i==="auto")&&(i="left"),i},t.prototype._renderEndsText=function(e,a,i,n,o){if(a){var s=new Ze,l=this.visualMapModel.textStyleModel;s.add(new pt({style:Ht(l,{x:n?o==="right"?i[0]:0:i[0]/2,y:i[1]/2,verticalAlign:"middle",align:n?o:"center",text:a})})),e.add(s)}},t.prototype._getViewData=function(){var e=this.visualMapModel,a=we(e.getPieceList(),function(s,l){return{piece:s,indexInModelPieceList:l}}),i=e.get("text"),n=e.get("orient"),o=e.get("inverse");return(n==="horizontal"?o:!o)?a.reverse():i&&(i=i.slice().reverse()),{viewPieceList:a,endsText:i}},t.prototype._createItemSymbol=function(e,a,i,n){var o=lr(this.getControllerVisual(a,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(a,"color"));o.silent=n,e.add(o)},t.prototype._onItemClick=function(e){var a=this.visualMapModel,i=a.option,n=i.selectedMode;if(n){var o=Ye(i.selected),s=a.getSelectedMapKey(e);n==="single"||n===!0?(o[s]=!0,$(o,function(l,u){o[u]=u===s})):o[s]=!o[s],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:o})}},t.type="visualMap.piecewise",t})($7);function K7(r){r.registerComponentModel(Hce),r.registerComponentView(Wce),Z7(r)}function Uce(r){ot(X7),ot(K7)}var $ce={label:{enabled:!0},decal:{show:!1}},XE=yt(),Yce={};function Zce(r,t){var e=r.getModel("aria");if(!e.get("enabled"))return;var a=Ye($ce);tt(a.label,r.getLocaleModel().get("aria"),!1),tt(e.option,a,!1),i(),n();function i(){var u=e.getModel("decal"),v=u.get("show");if(v){var h=Ge();r.eachSeries(function(f){if(!f.isColorBySeries()){var c=h.get(f.type);c||(c={},h.set(f.type,c)),XE(f).scope=c}}),r.eachRawSeries(function(f){if(r.isSeriesFiltered(f))return;if(He(f.enableAriaDecal)){f.enableAriaDecal();return}var c=f.getData();if(f.isColorBySeries()){var y=_T(f.ecModel,f.name,Yce,r.getSeriesCount()),_=c.getVisual("decal");c.setVisual("decal",x(_,y))}else{var d=f.getRawData(),p={},g=XE(f).scope;c.each(function(S){var b=c.getRawIndex(S);p[b]=S});var m=d.count();d.each(function(S){var b=p[S],w=d.getName(S)||S+"",A=_T(f.ecModel,w,g,m),T=c.getItemVisual(b,"decal");c.setItemVisual(b,"decal",x(T,A))})}function x(S,b){var w=S?_e(_e({},b),S):b;return w.dirty=!0,w}})}}function n(){var u=t.getZr().dom;if(u){var v=r.getLocaleModel().get("aria"),h=e.getModel("label");if(h.option=Ue(h.option,v),!!h.get("enabled")){if(u.setAttribute("role","img"),h.get("description")){u.setAttribute("aria-label",h.get("description"));return}var f=r.getSeriesCount(),c=h.get(["data","maxCount"])||10,d=h.get(["series","maxCount"])||10,p=Math.min(f,d),g;if(!(f<1)){var m=s();if(m){var y=h.get(["general","withTitle"]);g=o(y,{title:m})}else g=h.get(["general","withoutTitle"]);var _=[],x=f>1?h.get(["series","multiple","prefix"]):h.get(["series","single","prefix"]);g+=o(x,{seriesCount:f}),r.eachSeries(function(A,T){if(T1?h.get(["series","multiple",L]):h.get(["series","single",L]),C=o(C,{seriesId:A.seriesIndex,seriesName:A.get("name"),seriesType:l(A.subType)});var D=A.getData();if(D.count()>c){var P=h.get(["data","partialData"]);C+=o(P,{displayCnt:c})}else C+=h.get(["data","allData"]);for(var I=h.get(["data","separator","middle"]),R=h.get(["data","separator","end"]),E=h.get(["data","excludeDimensionId"]),k=[],B=0;B":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},Qce=(function(){function r(t){var e=this._condVal=Re(t)?new RegExp(t):O4(t)?t:null;if(e==null){var a="";Rt(a)}}return r.prototype.evaluate=function(t){var e=typeof t;return Re(e)?this._condVal.test(t):bt(e)?this._condVal.test(t+""):!1},r})(),jce=(function(){function r(){}return r.prototype.evaluate=function(){return this.value},r})(),Jce=(function(){function r(){}return r.prototype.evaluate=function(){for(var t=this.children,e=0;e2&&a.push(i),i=[D,P]}function v(D,P,I,R){Nl(D,I)&&Nl(P,R)||i.push(D,P,I,R,I,R)}function h(D,P,I,R,E,k){var B=Math.abs(P-D),F=Math.tan(B/4)*4/3,V=PA:M2&&a.push(i),a}function _A(r,t,e,a,i,n,o,s,l,u){if(Nl(r,e)&&Nl(t,a)&&Nl(i,o)&&Nl(n,s)){l.push(o,s);return}var v=2/u,h=v*v,f=o-r,c=s-t,d=Math.sqrt(f*f+c*c);f/=d,c/=d;var p=e-r,g=a-t,m=i-o,y=n-s,_=p*p+g*g,x=m*m+y*y;if(_=0&&A=0){l.push(o,s);return}var T=[],C=[];so(r,e,i,o,.5,T),so(t,a,n,s,.5,C),_A(T[0],C[0],T[1],C[1],T[2],C[2],T[3],C[3],l,u),_A(T[4],C[4],T[5],C[5],T[6],C[6],T[7],C[7],l,u)}function fde(r,t){var e=yA(r),a=[];t=t||1;for(var i=0;i0)for(var u=0;uMath.abs(u),h=J7([l,u],v?0:1,t),f=(v?s:u)/h.length,c=0;ci,o=J7([a,i],n?0:1,t),s=n?"width":"height",l=n?"height":"width",u=n?"x":"y",v=n?"y":"x",h=r[s]/o.length,f=0;f1?null:new rt(p*l+r,p*u+t)}function pde(r,t,e){var a=new rt;rt.sub(a,e,t),a.normalize();var i=new rt;rt.sub(i,r,t);var n=i.dot(a);return n}function xl(r,t){var e=r[r.length-1];e&&e[0]===t[0]&&e[1]===t[1]||r.push(t)}function gde(r,t,e){for(var a=r.length,i=[],n=0;no?(u.x=v.x=s+n/2,u.y=l,v.y=l+o):(u.y=v.y=l+o/2,u.x=s,v.x=s+n),gde(t,u,v)}function vp(r,t,e,a){if(e===1)a.push(t);else{var i=Math.floor(e/2),n=r(t);vp(r,n[0],i,a),vp(r,n[1],e-i,a)}return a}function mde(r,t){for(var e=[],a=0;a0;u/=2){var v=0,h=0;(r&u)>0&&(v=1),(t&u)>0&&(h=1),s+=u*u*(3*v^h),h===0&&(v===1&&(r=u-1-r,t=u-1-t),l=r,r=t,t=l)}return s}function cp(r){var t=1/0,e=1/0,a=-1/0,i=-1/0,n=we(r,function(s){var l=s.getBoundingRect(),u=s.getComputedTransform(),v=l.x+l.width/2+(u?u[4]:0),h=l.y+l.height/2+(u?u[5]:0);return t=Math.min(v,t),e=Math.min(h,e),a=Math.max(v,a),i=Math.max(h,i),[v,h]}),o=we(n,function(s,l){return{cp:s,z:Cde(s[0],s[1],t,e,a,i),path:r[l]}});return o.sort(function(s,l){return s.z-l.z}).map(function(s){return s.path})}function r9(r){return xde(r.path,r.count)}function xA(){return{fromIndividuals:[],toIndividuals:[],count:0}}function Mde(r,t,e){var a=[];function i(S){for(var b=0;b=0;i--)if(!e[i].many.length){var l=e[s].many;if(l.length<=1)if(s)s=0;else return e;var n=l.length,u=Math.ceil(n/2);e[i].many=l.slice(u,n),e[s].many=l.slice(0,u),s++}return e}var Lde={clone:function(r){for(var t=[],e=1-Math.pow(1-r.path.style.opacity,1/r.count),a=0;a0))return;var s=a.getModel("universalTransition").get("delay"),l=Object.assign({setToFinal:!0},o),u,v;ik(r)&&(u=r,v=t),ik(t)&&(u=t,v=r);function h(m,y,_,x,S){var b=m.many,w=m.one;if(b.length===1&&!S){var A=y?b[0]:w,T=y?w:b[0];if(hp(A))h({many:[A],one:T},!0,_,x,!0);else{var C=s?Ue({delay:s(_,x)},l):l;qM(A,T,C),n(A,T,A,T,C)}}else for(var M=Ue({dividePath:Lde[e],individualDelay:s&&function(E,k,B,F){return s(E+_,x)}},l),L=y?Mde(b,w,M):Dde(w,b,M),D=L.fromIndividuals,P=L.toIndividuals,I=D.length,R=0;Rt.length,c=u?nk(v,u):nk(f?t:r,[f?r:t]),d=0,p=0;pa9))for(var n=a.getIndices(),o=0;o0&&b.group.traverse(function(A){A instanceof ht&&!A.animators.length&&A.animateFrom({style:{opacity:0}},w)})})}function vk(r){var t=r.getModel("universalTransition").get("seriesKey");return t||r.id}function hk(r){return Se(r)?r.sort().join(","):r}function Wn(r){if(r.hostModel)return r.hostModel.getModel("universalTransition").get("divideShape")}function Nde(r,t){var e=Ge(),a=Ge(),i=Ge();return $(r.oldSeries,function(n,o){var s=r.oldDataGroupIds[o],l=r.oldData[o],u=vk(n),v=hk(u);a.set(v,{dataGroupId:s,data:l}),Se(u)&&$(u,function(h){i.set(h,{key:v,dataGroupId:s,data:l})})}),$(t.updatedSeries,function(n){if(n.isUniversalTransitionEnabled()&&n.isAnimationEnabled()){var o=n.get("dataGroupId"),s=n.getData(),l=vk(n),u=hk(l),v=a.get(u);if(v)e.set(u,{oldSeries:[{dataGroupId:v.dataGroupId,divide:Wn(v.data),data:v.data}],newSeries:[{dataGroupId:o,divide:Wn(s),data:s}]});else if(Se(l)){var h=[];$(l,function(d){var p=a.get(d);p.data&&h.push({dataGroupId:p.dataGroupId,divide:Wn(p.data),data:p.data})}),h.length&&e.set(u,{oldSeries:h,newSeries:[{dataGroupId:o,data:s,divide:Wn(s)}]})}else{var f=i.get(l);if(f){var c=e.get(f.key);c||(c={oldSeries:[{dataGroupId:f.dataGroupId,data:f.data,divide:Wn(f.data)}],newSeries:[]},e.set(f.key,c)),c.newSeries.push({dataGroupId:o,data:s,divide:Wn(s)})}}}}),e}function fk(r,t){for(var e=0;e=0&&i.push({dataGroupId:t.oldDataGroupIds[s],data:t.oldData[s],divide:Wn(t.oldData[s]),groupIdDim:o.dimension})}),$(Nt(r.to),function(o){var s=fk(e.updatedSeries,o);if(s>=0){var l=e.updatedSeries[s].getData();n.push({dataGroupId:t.oldDataGroupIds[s],data:l,divide:Wn(l),groupIdDim:o.dimension})}}),i.length>0&&n.length>0&&i9(i,n,a)}function Bde(r){r.registerUpdateLifecycle("series:beforeupdate",function(t,e,a){$(Nt(a.seriesTransition),function(i){$(Nt(i.to),function(n){for(var o=a.updatedSeries,s=0;s=Zo:-u>=Zo),c=u>0?u%Zo:u%Zo+Zo,d=!1;f?d=!0:Xn(h)?d=!1:d=c>=n9==!!v;var p=t+a*Yy(o),g=e+i*$y(o);this._start&&this._add("M",p,g);var m=Math.round(n*Vde);if(f){var y=1/this._p,_=(v?1:-1)*(Zo-y);this._add("A",a,i,m,1,+v,t+a*Yy(o+_),e+i*$y(o+_)),y>.01&&this._add("A",a,i,m,0,+v,p,g)}else{var x=t+a*Yy(s),S=e+i*$y(s);this._add("A",a,i,m,+d,+v,x,S)}},r.prototype.rect=function(t,e,a,i){this._add("M",t,e),this._add("l",a,0),this._add("l",0,i),this._add("l",-a,0),this._add("Z")},r.prototype.closePath=function(){this._d.length>0&&this._add("Z")},r.prototype._add=function(t,e,a,i,n,o,s,l,u){for(var v=[],h=this._p,f=1;f"}function Zde(r){return""}function UM(r,t){t=t||{};var e=t.newline?"\n":"";function a(i){var n=i.children,o=i.tag,s=i.attrs,l=i.text;return Yde(o,s)+(o!=="style"?Zr(l):l||"")+(n?""+e+we(n,function(u){return a(u)}).join(e)+e:"")+Zde(o)}return a(r)}function Xde(r,t,e){e=e||{};var a=e.newline?"\n":"",i=" {"+a,n=a+"}",o=we(ft(r),function(l){return l+i+we(ft(r[l]),function(u){return u+":"+r[l][u]+";"}).join(a)+n}).join(a),s=we(ft(t),function(l){return"@keyframes "+l+i+we(ft(t[l]),function(u){return u+i+we(ft(t[l][u]),function(v){var h=t[l][u][v];return v==="d"&&(h='path("'+h+'")'),v+":"+h+";"}).join(a)+n}).join(a)+n}).join(a);return!o&&!s?"":[""].join(a)}function bA(r){return{zrId:r,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function dk(r,t,e,a){return Tr("svg","root",{width:r,height:t,xmlns:s9,"xmlns:xlink":l9,version:"1.1",baseProfile:"full",viewBox:a?"0 0 "+r+" "+t:!1},e)}var Kde=0;function v9(){return Kde++}var pk={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},os="transform-origin";function Qde(r,t,e){var a=_e({},r.shape);_e(a,t),r.buildPath(e,a);var i=new o9;return i.reset(nq(r)),e.rebuildPath(i,1),i.generateStr(),i.getStr()}function jde(r,t){var e=t.originX,a=t.originY;(e||a)&&(r[os]=e+"px "+a+"px")}var Jde={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function h9(r,t){var e=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[e]=r,e}function epe(r,t,e){var a=r.shape.paths,i={},n,o;if($(a,function(l){var u=bA(e.zrId);u.animation=!0,ng(l,{},u,!0);var v=u.cssAnims,h=u.cssNodes,f=ft(v),c=f.length;if(c){o=f[c-1];var d=v[o];for(var p in d){var g=d[p];i[p]=i[p]||{d:""},i[p].d+=g.d||""}for(var m in h){var y=h[m].animation;y.indexOf(o)>=0&&(n=y)}}}),!!n){t.d=!1;var s=h9(i,e);return n.replace(o,s)}}function gk(r){return Re(r)?pk[r]?"cubic-bezier("+pk[r]+")":zA(r)?r:"":""}function ng(r,t,e,a){var i=r.animators,n=i.length,o=[];if(r instanceof Ep){var s=epe(r,t,e);if(s)o.push(s);else if(!n)return}else if(!n)return;for(var l={},u=0;u0}).length){var H=h9(w,e);return H+" "+y[0]+" both"}}for(var g in l){var s=p(l[g]);s&&o.push(s)}if(o.length){var m=e.zrId+"-cls-"+v9();e.cssNodes["."+m]={animation:o.join(",")},t.class=m}}function tpe(r,t,e){if(!r.ignore)if(r.isSilent()){var a={"pointer-events":"none"};mk(a,t,e)}else{var i=r.states.emphasis&&r.states.emphasis.style?r.states.emphasis.style:{},n=i.fill;if(!n){var o=r.style&&r.style.fill,s=r.states.select&&r.states.select.style&&r.states.select.style.fill,l=r.currentStates.indexOf("select")>=0&&s||o;l&&(n=Td(l))}var u=i.lineWidth;if(u){var v=!i.strokeNoScale&&r.transform?r.transform[0]:1;u=u/v}var a={cursor:"pointer"};n&&(a.fill=n),i.stroke&&(a.stroke=i.stroke),u&&(a["stroke-width"]=u),mk(a,t,e)}}function mk(r,t,e,a){var i=JSON.stringify(r),n=e.cssStyleCache[i];n||(n=e.zrId+"-cls-"+v9(),e.cssStyleCache[i]=n,e.cssNodes["."+n+":hover"]=r),t.class=t.class?t.class+" "+n:n}var Oh=Math.round;function f9(r){return r&&Re(r.src)}function c9(r){return r&&He(r.toDataURL)}function $M(r,t,e,a){Wde(function(i,n){var o=i==="fill"||i==="stroke";o&&iq(n)?p9(t,r,i,a):o&&VA(n)?g9(e,r,i,a):r[i]=n,o&&a.ssr&&n==="none"&&(r["pointer-events"]="visible")},t,e,!1),lpe(e,r,a)}function YM(r,t){var e=cq(t);e&&(e.each(function(a,i){a!=null&&(r[(ck+i).toLowerCase()]=a+"")}),t.isSilent()&&(r[ck+"silent"]="true"))}function yk(r){return Xn(r[0]-1)&&Xn(r[1])&&Xn(r[2])&&Xn(r[3]-1)}function rpe(r){return Xn(r[4])&&Xn(r[5])}function ZM(r,t,e){if(t&&!(rpe(t)&&yk(t))){var a=1e4;r.transform=yk(t)?"translate("+Oh(t[4]*a)/a+" "+Oh(t[5]*a)/a+")":_Z(t)}}function _k(r,t,e){for(var a=r.points,i=[],n=0;n"u"){var g="Image width/height must been given explictly in svg-ssr renderer.";Kr(f,g),Kr(c,g)}else if(f==null||c==null){var m=function(C,M){if(C){var L=C.elm,D=f||M.width,P=c||M.height;C.tag==="pattern"&&(u?(P=1,D/=n.width):v&&(D=1,P/=n.height)),C.attrs.width=D,C.attrs.height=P,L&&(L.setAttribute("width",D),L.setAttribute("height",P))}},y=ZA(d,null,r,function(C){l||m(b,C),m(h,C)});y&&y.width&&y.height&&(f=f||y.width,c=c||y.height)}h=Tr("image","img",{href:d,width:f,height:c}),o.width=f,o.height=c}else i.svgElement&&(h=Ye(i.svgElement),o.width=i.svgWidth,o.height=i.svgHeight);if(h){var _,x;l?_=x=1:u?(x=1,_=o.width/n.width):v?(_=1,x=o.height/n.height):o.patternUnits="userSpaceOnUse",_!=null&&!isNaN(_)&&(o.width=_),x!=null&&!isNaN(x)&&(o.height=x);var S=oq(i);S&&(o.patternTransform=S);var b=Tr("pattern","",o,[h]),w=UM(b),A=a.patternCache,T=A[w];T||(T=a.zrId+"-p"+a.patternIdx++,A[w]=T,o.id=T,b=a.defs[T]=Tr("pattern",T,o,[h])),t[e]=wp(T)}}function upe(r,t,e){var a=e.clipPathCache,i=e.defs,n=a[r.id];if(!n){n=e.zrId+"-c"+e.clipPathIdx++;var o={id:n};a[r.id]=n,i[n]=Tr("clipPath",n,o,[d9(r,e)])}t["clip-path"]=wp(n)}function bk(r){return document.createTextNode(r)}function vs(r,t,e){r.insertBefore(t,e)}function wk(r,t){r.removeChild(t)}function Tk(r,t){r.appendChild(t)}function m9(r){return r.parentNode}function y9(r){return r.nextSibling}function Zy(r,t){r.textContent=t}var Ak=58,vpe=120,hpe=Tr("","");function wA(r){return r===void 0}function zi(r){return r!==void 0}function fpe(r,t,e){for(var a={},i=t;i<=e;++i){var n=r[i].key;n!==void 0&&(a[n]=i)}return a}function Vv(r,t){var e=r.key===t.key,a=r.tag===t.tag;return a&&e}function Nh(r){var t,e=r.children,a=r.tag;if(zi(a)){var i=r.elm=u9(a);if(XM(hpe,r),Se(e))for(t=0;tn?(d=e[l+1]==null?null:e[l+1].elm,_9(r,d,e,i,l)):dp(r,t,a,n))}function Rl(r,t){var e=t.elm=r.elm,a=r.children,i=t.children;r!==t&&(XM(r,t),wA(t.text)?zi(a)&&zi(i)?a!==i&&cpe(e,a,i):zi(i)?(zi(r.text)&&Zy(e,""),_9(e,null,i,0,i.length-1)):zi(a)?dp(e,a,0,a.length-1):zi(r.text)&&Zy(e,""):r.text!==t.text&&(zi(a)&&dp(e,a,0,a.length-1),Zy(e,t.text)))}function dpe(r,t){if(Vv(r,t))Rl(r,t);else{var e=r.elm,a=m9(e);Nh(t),a!==null&&(vs(a,t.elm,y9(e)),dp(a,[r],0,0))}return t}var ppe=0,gpe=(function(){function r(t,e,a){if(this.type="svg",this.refreshHover=Ck(),this.configLayer=Ck(),this.storage=e,this._opts=a=_e({},a),this.root=t,this._id="zr"+ppe++,this._oldVNode=dk(a.width,a.height),t&&!a.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var n=this._svgDom=this._oldVNode.elm=u9("svg");XM(null,this._oldVNode),i.appendChild(n),t.appendChild(i)}this.resize(a.width,a.height)}return r.prototype.getType=function(){return this.type},r.prototype.getViewportRoot=function(){return this._viewport},r.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},r.prototype.getSvgDom=function(){return this._svgDom},r.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",dpe(this._oldVNode,t),this._oldVNode=t}},r.prototype.renderOneToVNode=function(t){return Sk(t,bA(this._id))},r.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),a=this._width,i=this._height,n=bA(this._id);n.animation=t.animation,n.willUpdate=t.willUpdate,n.compress=t.compress,n.emphasis=t.emphasis,n.ssr=this._opts.ssr;var o=[],s=this._bgVNode=mpe(a,i,this._backgroundColor,n);s&&o.push(s);var l=t.compress?null:this._mainVNode=Tr("g","main",{},[]);this._paintList(e,n,l?l.children:o),l&&o.push(l);var u=we(ft(n.defs),function(f){return n.defs[f]});if(u.length&&o.push(Tr("defs","defs",{},u)),t.animation){var v=Xde(n.cssNodes,n.cssAnims,{newline:!0});if(v){var h=Tr("style","stl",{},[],v);o.push(h)}}return dk(a,i,o,t.useViewBox)},r.prototype.renderToString=function(t){return t=t||{},UM(this.renderToVNode({animation:Je(t.cssAnimation,!0),emphasis:Je(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:Je(t.useViewBox,!0)}),{newline:!0})},r.prototype.setBackgroundColor=function(t){this._backgroundColor=t},r.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},r.prototype._paintList=function(t,e,a){for(var i=t.length,n=[],o=0,s,l,u=0,v=0;v=0&&!(f&&l&&f[p]===l[p]);p--);for(var g=d-1;g>p;g--)o--,s=n[o-1];for(var m=p+1;m=s)}}for(var h=this.__startIndex;h15)break}}P.prevElClipPaths&&m.restore()};if(y)if(y.length===0)A=g.__endIndex;else for(var C=c.dpr,M=0;M0&&t>i[0]){for(l=0;lt);l++);s=a[i[l]]}if(i.splice(l+1,0,t),a[t]=e,!e.virtual)if(s){var u=s.dom;u.nextSibling?o.insertBefore(e.dom,u.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}},r.prototype.eachLayer=function(t,e){for(var a=this._zlevelList,i=0;i0?Ac:0),this._needsManuallyCompositing),v.__builtin__||mp("ZLevel "+u+" has been used by unkown layer "+v.id),v!==n&&(v.__used=!0,v.__startIndex!==l&&(v.__dirty=!0),v.__startIndex=l,v.incremental?v.__drawIndex=-1:v.__drawIndex=l,e(l),n=v),i.__dirty&ba&&!i.__inHover&&(v.__dirty=!0,v.incremental&&v.__drawIndex<0&&(v.__drawIndex=l))}e(l),this.eachBuiltinLayer(function(h,f){!h.__used&&h.getElementCount()>0&&(h.__dirty=!0,h.__startIndex=h.__endIndex=h.__drawIndex=0),h.__dirty&&h.__drawIndex<0&&(h.__drawIndex=h.__startIndex)})},r.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},r.prototype._clearLayer=function(t){t.clear()},r.prototype.setBackgroundColor=function(t){this._backgroundColor=t,$(this._layers,function(e){e.setUnpainted()})},r.prototype.configLayer=function(t,e){if(e){var a=this._layerConfig;a[t]?tt(a[t],e,!0):a[t]=e;for(var i=0;i"u"&&(r=!0);var t=r;return jy.__DEV__=t,jy}var Ko={},Jy,Ik;function S9(){if(Ik)return Jy;Ik=1;var r=2311;function t(){return r++}return Jy=t,Jy}var e0,Pk;function pr(){if(Pk)return e0;Pk=1;var r={};typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?r={browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:typeof document>"u"&&typeof self<"u"?r={browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:typeof navigator>"u"?r={browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:r=e(navigator.userAgent);var t=r;function e(a){var i={},n={},o=a.match(/Firefox\/([\d.]+)/),s=a.match(/MSIE\s([\d.]+)/)||a.match(/Trident\/.+?rv:(([\d.]+))/),l=a.match(/Edge\/([\d.]+)/),u=/micromessenger/i.test(a);return o&&(n.firefox=!0,n.version=o[1]),s&&(n.ie=!0,n.version=s[1]),l&&(n.edge=!0,n.version=l[1]),u&&(n.weChat=!0),{browser:n,os:i,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:typeof SVGRect<"u",touchEventsSupported:"ontouchstart"in window&&!n.ie&&!n.edge,pointerEventsSupported:"onpointerdown"in window&&(n.edge||n.ie&&n.version>=11),domSupported:typeof document<"u"}}return e0=t,e0}var St={},Rk;function ie(){if(Rk)return St;Rk=1;var r={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},t={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},e=Object.prototype.toString,a=Array.prototype,i=a.forEach,n=a.filter,o=a.slice,s=a.map,l=a.reduce,u={};function v(Z,ee){Z==="createCanvas"&&(m=null),u[Z]=ee}function h(Z){if(Z==null||typeof Z!="object")return Z;var ee=Z,le=e.call(Z);if(le==="[object Array]"){if(!X(Z)){ee=[];for(var oe=0,fe=Z.length;oe"u"?Array:Float32Array;function t(C,M){var L=new r(2);return C==null&&(C=0),M==null&&(M=0),L[0]=C,L[1]=M,L}function e(C,M){return C[0]=M[0],C[1]=M[1],C}function a(C){var M=new r(2);return M[0]=C[0],M[1]=C[1],M}function i(C,M,L){return C[0]=M,C[1]=L,C}function n(C,M,L){return C[0]=M[0]+L[0],C[1]=M[1]+L[1],C}function o(C,M,L,D){return C[0]=M[0]+L[0]*D,C[1]=M[1]+L[1]*D,C}function s(C,M,L){return C[0]=M[0]-L[0],C[1]=M[1]-L[1],C}function l(C){return Math.sqrt(v(C))}var u=l;function v(C){return C[0]*C[0]+C[1]*C[1]}var h=v;function f(C,M,L){return C[0]=M[0]*L[0],C[1]=M[1]*L[1],C}function c(C,M,L){return C[0]=M[0]/L[0],C[1]=M[1]/L[1],C}function d(C,M){return C[0]*M[0]+C[1]*M[1]}function p(C,M,L){return C[0]=M[0]*L,C[1]=M[1]*L,C}function g(C,M){var L=l(M);return L===0?(C[0]=0,C[1]=0):(C[0]=M[0]/L,C[1]=M[1]/L),C}function m(C,M){return Math.sqrt((C[0]-M[0])*(C[0]-M[0])+(C[1]-M[1])*(C[1]-M[1]))}var y=m;function _(C,M){return(C[0]-M[0])*(C[0]-M[0])+(C[1]-M[1])*(C[1]-M[1])}var x=_;function S(C,M){return C[0]=-M[0],C[1]=-M[1],C}function b(C,M,L,D){return C[0]=M[0]+D*(L[0]-M[0]),C[1]=M[1]+D*(L[1]-M[1]),C}function w(C,M,L){var D=M[0],P=M[1];return C[0]=L[0]*D+L[2]*P+L[4],C[1]=L[1]*D+L[3]*P+L[5],C}function A(C,M,L){return C[0]=Math.min(M[0],L[0]),C[1]=Math.min(M[1],L[1]),C}function T(C,M,L){return C[0]=Math.max(M[0],L[0]),C[1]=Math.max(M[1],L[1]),C}return Qt.create=t,Qt.copy=e,Qt.clone=a,Qt.set=i,Qt.add=n,Qt.scaleAndAdd=o,Qt.sub=s,Qt.len=l,Qt.length=u,Qt.lenSquare=v,Qt.lengthSquare=h,Qt.mul=f,Qt.div=c,Qt.dot=d,Qt.scale=p,Qt.normalize=g,Qt.distance=m,Qt.dist=y,Qt.distanceSquare=_,Qt.distSquare=x,Qt.negate=S,Qt.lerp=b,Qt.applyTransform=w,Qt.min=A,Qt.max=T,Qt}var t0,kk;function wpe(){if(kk)return t0;kk=1;function r(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}r.prototype={constructor:r,_dragStart:function(a){for(var i=a.target;i&&!i.draggable;)i=i.parent;i&&(this._draggingTarget=i,i.dragging=!0,this._x=a.offsetX,this._y=a.offsetY,this.dispatchToElement(t(i,a),"dragstart",a.event))},_drag:function(a){var i=this._draggingTarget;if(i){var n=a.offsetX,o=a.offsetY,s=n-this._x,l=o-this._y;this._x=n,this._y=o,i.drift(s,l,a),this.dispatchToElement(t(i,a),"drag",a.event);var u=this.findHover(n,o,i).target,v=this._dropTarget;this._dropTarget=u,i!==u&&(v&&u!==v&&this.dispatchToElement(t(v,a),"dragleave",a.event),u&&u!==v&&this.dispatchToElement(t(u,a),"dragenter",a.event))}},_dragEnd:function(a){var i=this._draggingTarget;i&&(i.dragging=!1),this.dispatchToElement(t(i,a),"dragend",a.event),this._dropTarget&&this.dispatchToElement(t(this._dropTarget,a),"drop",a.event),this._draggingTarget=null,this._dropTarget=null}};function t(a,i){return{target:a,topTarget:i&&i.topTarget}}var e=r;return t0=e,t0}var r0,Ok;function Ws(){if(Ok)return r0;Ok=1;var r=Array.prototype.slice,t=function(n){this._$handlers={},this._$eventProcessor=n};t.prototype={constructor:t,one:function(n,o,s,l){return a(this,n,o,s,l,!0)},on:function(n,o,s,l){return a(this,n,o,s,l,!1)},isSilent:function(n){var o=this._$handlers;return!o[n]||!o[n].length},off:function(n,o){var s=this._$handlers;if(!n)return this._$handlers={},this;if(o){if(s[n]){for(var l=[],u=0,v=s[n].length;u3&&(l=r.call(l,1));for(var v=o.length,h=0;h4&&(l=r.call(l,1,l.length-1));for(var v=l[l.length-1],h=o.length,f=0;f>1)%2;m.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",c[y]+":0",d[_]+":0",c[1-y]+":auto",d[1-_]+":auto",""].join("!important;"),v.appendChild(g),f.push(g)}return f}function l(v,h,f){for(var c=f?"invTrans":"trans",d=h[c],p=h.srcCoords,g=!0,m=[],y=[],_=0;_<4;_++){var x=v[_].getBoundingClientRect(),S=2*_,b=x.left,w=x.top;m.push(b,w),g=g&&p&&b===p[S]&&w===p[S+1],y.push(v[_].offsetLeft,v[_].offsetTop)}return g&&d?d:(h.srcCoords=m,h[c]=f?e(y,m):e(m,y))}function u(v){return v.nodeName.toUpperCase()==="CANVAS"}return uv.transformLocalCoord=n,uv.transformCoordWithViewport=o,uv.isCanvasEl=u,uv}var Bk;function Ji(){if(Bk)return ii;Bk=1;var r=Ws();ii.Dispatcher=r;var t=pr(),e=b9(),a=e.isCanvasEl,i=e.transformCoordWithViewport,n=typeof window<"u"&&!!window.addEventListener,o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,s=[];function l(m,y,_,x){return _=_||{},x||!t.canvasSupported?u(m,y,_):t.browser.firefox&&y.layerX!=null&&y.layerX!==y.offsetX?(_.zrX=y.layerX,_.zrY=y.layerY):y.offsetX!=null?(_.zrX=y.offsetX,_.zrY=y.offsetY):u(m,y,_),_}function u(m,y,_){if(t.domSupported&&m.getBoundingClientRect){var x=y.clientX,S=y.clientY;if(a(m)){var b=m.getBoundingClientRect();_.zrX=x-b.left,_.zrY=S-b.top;return}else if(i(s,m,x,S)){_.zrX=s[0],_.zrY=s[1];return}}_.zrX=_.zrY=0}function v(m){return m||window.event}function h(m,y,_){if(y=v(y),y.zrX!=null)return y;var x=y.type,S=x&&x.indexOf("touch")>=0;if(!S)l(m,y,y,_),y.zrDelta=y.wheelDelta?y.wheelDelta/120:-(y.detail||0)/3;else{var b=x!=="touchend"?y.targetTouches[0]:y.changedTouches[0];b&&l(m,b,y,_)}var w=y.button;return y.which==null&&w!==void 0&&o.test(y.type)&&(y.which=w&1?1:w&2?3:w&4?2:0),y}function f(m,y,_,x){n?m.addEventListener(y,_,x):m.attachEvent("on"+y,_)}function c(m,y,_,x){n?m.removeEventListener(y,_,x):m.detachEvent("on"+y,_)}var d=n?function(m){m.preventDefault(),m.stopPropagation(),m.cancelBubble=!0}:function(m){m.returnValue=!1,m.cancelBubble=!0};function p(m){return m.which===2||m.which===3}function g(m){return m.which>1}return ii.clientToLocal=l,ii.getNativeEvent=v,ii.normalizeEvent=h,ii.addEventListener=f,ii.removeEventListener=c,ii.stop=d,ii.isMiddleOrRightButtonOnMouseUpDown=p,ii.notLeftMouse=g,ii}var i0,Vk;function Ape(){if(Vk)return i0;Vk=1;var r=Ji(),t=function(){this._track=[]};t.prototype={constructor:t,recognize:function(o,s,l){return this._doTrack(o,s,l),this._recognize(o)},clear:function(){return this._track.length=0,this},_doTrack:function(o,s,l){var u=o.touches;if(u){for(var v={points:[],touches:[],target:s,event:o},h=0,f=u.length;h1&&u&&u.length>1){var h=e(u)/e(v);!isFinite(h)&&(h=1),s.pinchScale=h;var f=a(u);return s.pinchX=f[0],s.pinchY=f[1],{type:"pinch",target:o[0].target,event:s}}}}},n=t;return i0=n,i0}var n0,Gk;function Cpe(){if(Gk)return n0;Gk=1;var r=ie(),t=Jt(),e=wpe(),a=Ws(),i=Ji(),n=Ape(),o="silent";function s(p,g,m){return{type:p,event:m,target:g.target,topTarget:g.topTarget,cancelBubble:!1,offsetX:m.zrX,offsetY:m.zrY,gestureEvent:m.gestureEvent,pinchX:m.pinchX,pinchY:m.pinchY,pinchScale:m.pinchScale,wheelDelta:m.zrDelta,zrByTouch:m.zrByTouch,which:m.which,stop:l}}function l(){i.stop(this.event)}function u(){}u.prototype.dispose=function(){};var v=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],h=function(p,g,m,y){a.call(this),this.storage=p,this.painter=g,this.painterRoot=y,m=m||new u,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,e.call(this),this.setHandlerProxy(m)};h.prototype={constructor:h,setHandlerProxy:function(p){this.proxy&&this.proxy.dispose(),p&&(r.each(v,function(g){p.on&&p.on(g,this[g],this)},this),p.handler=this),this.proxy=p},mousemove:function(p){var g=p.zrX,m=p.zrY,y=c(this,g,m),_=this._hovered,x=_.target;x&&!x.__zr&&(_=this.findHover(_.x,_.y),x=_.target);var S=this._hovered=y?{x:g,y:m}:this.findHover(g,m),b=S.target,w=this.proxy;w.setCursor&&w.setCursor(b?b.cursor:"default"),x&&b!==x&&this.dispatchToElement(_,"mouseout",p),this.dispatchToElement(S,"mousemove",p),b&&b!==x&&this.dispatchToElement(S,"mouseover",p)},mouseout:function(p){var g=p.zrEventControl,m=p.zrIsToLocalDOM;g!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",p),g!=="no_globalout"&&!m&&this.trigger("globalout",{type:"globalout",event:p})},resize:function(p){this._hovered={}},dispatch:function(p,g){var m=this[p];m&&m.call(this,g)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(p){var g=this.proxy;g.setCursor&&g.setCursor(p)},dispatchToElement:function(p,g,m){p=p||{};var y=p.target;if(!(y&&y.silent)){for(var _="on"+g,x=s(g,p,m);y&&(y[_]&&(x.cancelBubble=y[_].call(y,x)),y.trigger(g,x),y=y.parent,!x.cancelBubble););x.cancelBubble||(this.trigger(g,x),this.painter&&this.painter.eachOtherLayer(function(S){typeof S[_]=="function"&&S[_].call(S,x),S.trigger&&S.trigger(g,x)}))}},findHover:function(p,g,m){for(var y=this.storage.getDisplayList(),_={x:p,y:g},x=y.length-1;x>=0;x--){var S;if(y[x]!==m&&!y[x].ignore&&(S=f(y[x],p,g))&&(!_.topTarget&&(_.topTarget=y[x]),S!==o)){_.target=y[x];break}}return _},processGesture:function(p,g){this._gestureMgr||(this._gestureMgr=new n);var m=this._gestureMgr;g==="start"&&m.clear();var y=m.recognize(p,this.findHover(p.zrX,p.zrY,null).target,this.proxy.dom);if(g==="end"&&m.clear(),y){var _=y.type;p.gestureEvent=_,this.dispatchToElement({target:y.target},_,y.event)}}},r.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(p){h.prototype[p]=function(g){var m=g.zrX,y=g.zrY,_=c(this,m,y),x,S;if((p!=="mouseup"||!_)&&(x=this.findHover(m,y),S=x.target),p==="mousedown")this._downEl=S,this._downPoint=[g.zrX,g.zrY],this._upEl=S;else if(p==="mouseup")this._upEl=S;else if(p==="click"){if(this._downEl!==this._upEl||!this._downPoint||t.dist(this._downPoint,[g.zrX,g.zrY])>4)return;this._downPoint=null}this.dispatchToElement(x,p,g)}});function f(p,g,m){if(p[p.rectHover?"rectContain":"contain"](g,m)){for(var y=p,_;y;){if(y.clipPath&&!y.clipPath.contain(g,m))return!1;y.silent&&(_=!0),y=y.parent}return _?o:!0}return!1}function c(p,g,m){var y=p.painter;return g<0||g>y.getWidth()||m<0||m>y.getHeight()}r.mixin(h,a),r.mixin(h,e);var d=h;return n0=d,n0}var ni={},Fk;function ha(){if(Fk)return ni;Fk=1;var r=typeof Float32Array>"u"?Array:Float32Array;function t(){var v=new r(6);return e(v),v}function e(v){return v[0]=1,v[1]=0,v[2]=0,v[3]=1,v[4]=0,v[5]=0,v}function a(v,h){return v[0]=h[0],v[1]=h[1],v[2]=h[2],v[3]=h[3],v[4]=h[4],v[5]=h[5],v}function i(v,h,f){var c=h[0]*f[0]+h[2]*f[1],d=h[1]*f[0]+h[3]*f[1],p=h[0]*f[2]+h[2]*f[3],g=h[1]*f[2]+h[3]*f[3],m=h[0]*f[4]+h[2]*f[5]+h[4],y=h[1]*f[4]+h[3]*f[5]+h[5];return v[0]=c,v[1]=d,v[2]=p,v[3]=g,v[4]=m,v[5]=y,v}function n(v,h,f){return v[0]=h[0],v[1]=h[1],v[2]=h[2],v[3]=h[3],v[4]=h[4]+f[0],v[5]=h[5]+f[1],v}function o(v,h,f){var c=h[0],d=h[2],p=h[4],g=h[1],m=h[3],y=h[5],_=Math.sin(f),x=Math.cos(f);return v[0]=c*x+g*_,v[1]=-c*_+g*x,v[2]=d*x+m*_,v[3]=-d*_+x*m,v[4]=x*p+_*y,v[5]=x*y-_*p,v}function s(v,h,f){var c=f[0],d=f[1];return v[0]=h[0]*c,v[1]=h[1]*d,v[2]=h[2]*c,v[3]=h[3]*d,v[4]=h[4]*c,v[5]=h[5]*d,v}function l(v,h){var f=h[0],c=h[2],d=h[4],p=h[1],g=h[3],m=h[5],y=f*g-p*c;return y?(y=1/y,v[0]=g*y,v[1]=-p*y,v[2]=-c*y,v[3]=f*y,v[4]=(c*m-g*d)*y,v[5]=(p*d-f*m)*y,v):null}function u(v){var h=t();return a(h,v),h}return ni.create=t,ni.identity=e,ni.copy=a,ni.mul=i,ni.translate=n,ni.rotate=o,ni.scale=s,ni.invert=l,ni.clone=u,ni}var o0,Hk;function og(){if(Hk)return o0;Hk=1;var r=ha(),t=Jt(),e=r.identity,a=5e-5;function i(h){return h>a||h<-a}var n=function(h){h=h||{},h.position||(this.position=[0,0]),h.rotation==null&&(this.rotation=0),h.scale||(this.scale=[1,1]),this.origin=this.origin||null},o=n.prototype;o.transform=null,o.needLocalTransform=function(){return i(this.rotation)||i(this.position[0])||i(this.position[1])||i(this.scale[0]-1)||i(this.scale[1]-1)};var s=[];o.updateTransform=function(){var h=this.parent,f=h&&h.transform,c=this.needLocalTransform(),d=this.transform;if(!(c||f)){d&&e(d);return}d=d||r.create(),c?this.getLocalTransform(d):e(d),f&&(c?r.mul(d,h.transform,d):r.copy(d,h.transform)),this.transform=d;var p=this.globalScaleRatio;if(p!=null&&p!==1){this.getGlobalScale(s);var g=s[0]<0?-1:1,m=s[1]<0?-1:1,y=((s[0]-g)*p+g)/s[0]||0,_=((s[1]-m)*p+m)/s[1]||0;d[0]*=y,d[1]*=y,d[2]*=_,d[3]*=_}this.invTransform=this.invTransform||r.create(),r.invert(this.invTransform,d)},o.getLocalTransform=function(h){return n.getLocalTransform(this,h)},o.setTransform=function(h){var f=this.transform,c=h.dpr||1;f?h.setTransform(c*f[0],c*f[1],c*f[2],c*f[3],c*f[4],c*f[5]):h.setTransform(c,0,0,c,0,0)},o.restoreTransform=function(h){var f=h.dpr||1;h.setTransform(f,0,0,f,0,0)};var l=[],u=r.create();o.setLocalTransform=function(h){if(h){var f=h[0]*h[0]+h[1]*h[1],c=h[2]*h[2]+h[3]*h[3],d=this.position,p=this.scale;i(f-1)&&(f=Math.sqrt(f)),i(c-1)&&(c=Math.sqrt(c)),h[0]<0&&(f=-f),h[3]<0&&(c=-c),d[0]=h[4],d[1]=h[5],p[0]=f,p[1]=c,this.rotation=Math.atan2(-h[1]/c,h[0]/f)}},o.decomposeTransform=function(){if(this.transform){var h=this.parent,f=this.transform;h&&h.transform&&(r.mul(l,h.invTransform,f),f=l);var c=this.origin;c&&(c[0]||c[1])&&(u[4]=c[0],u[5]=c[1],r.mul(l,f,u),l[4]-=c[0],l[5]-=c[1],f=l),this.setLocalTransform(f)}},o.getGlobalScale=function(h){var f=this.transform;return h=h||[],f?(h[0]=Math.sqrt(f[0]*f[0]+f[1]*f[1]),h[1]=Math.sqrt(f[2]*f[2]+f[3]*f[3]),f[0]<0&&(h[0]=-h[0]),f[3]<0&&(h[1]=-h[1]),h):(h[0]=1,h[1]=1,h)},o.transformCoordToLocal=function(h,f){var c=[h,f],d=this.invTransform;return d&&t.applyTransform(c,c,d),c},o.transformCoordToGlobal=function(h,f){var c=[h,f],d=this.transform;return d&&t.applyTransform(c,c,d),c},n.getLocalTransform=function(h,f){f=f||[],e(f);var c=h.origin,d=h.scale||[1,1],p=h.rotation||0,g=h.position||[0,0];return c&&(f[4]-=c[0],f[5]-=c[1]),r.scale(f,f,d),p&&r.rotate(f,f,p),c&&(f[4]+=c[0],f[5]+=c[1]),f[4]+=g[0],f[5]+=g[1],f};var v=n;return o0=v,o0}var s0,qk;function Mpe(){if(qk)return s0;qk=1;var r={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return .5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return e===0?0:Math.pow(1024,e-1)},exponentialOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var a,i=.1,n=.4;return e===0?0:e===1?1:(!i||i<1?(i=1,a=n/4):a=n*Math.asin(1/i)/(2*Math.PI),-(i*Math.pow(2,10*(e-=1))*Math.sin((e-a)*(2*Math.PI)/n)))},elasticOut:function(e){var a,i=.1,n=.4;return e===0?0:e===1?1:(!i||i<1?(i=1,a=n/4):a=n*Math.asin(1/i)/(2*Math.PI),i*Math.pow(2,-10*e)*Math.sin((e-a)*(2*Math.PI)/n)+1)},elasticInOut:function(e){var a,i=.1,n=.4;return e===0?0:e===1?1:(!i||i<1?(i=1,a=n/4):a=n*Math.asin(1/i)/(2*Math.PI),(e*=2)<1?-.5*(i*Math.pow(2,10*(e-=1))*Math.sin((e-a)*(2*Math.PI)/n)):i*Math.pow(2,-10*(e-=1))*Math.sin((e-a)*(2*Math.PI)/n)*.5+1)},backIn:function(e){var a=1.70158;return e*e*((a+1)*e-a)},backOut:function(e){var a=1.70158;return--e*e*((a+1)*e+a)+1},backInOut:function(e){var a=2.5949095;return(e*=2)<1?.5*(e*e*((a+1)*e-a)):.5*((e-=2)*e*((a+1)*e+a)+2)},bounceIn:function(e){return 1-r.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?r.bounceIn(e*2)*.5:r.bounceOut(e*2-1)*.5+.5}},t=r;return s0=t,s0}var l0,Wk;function Dpe(){if(Wk)return l0;Wk=1;var r=Mpe();function t(a){this._target=a.target,this._life=a.life||1e3,this._delay=a.delay||0,this._initialized=!1,this.loop=a.loop==null?!1:a.loop,this.gap=a.gap||0,this.easing=a.easing||"Linear",this.onframe=a.onframe,this.ondestroy=a.ondestroy,this.onrestart=a.onrestart,this._pausedTime=0,this._paused=!1}t.prototype={constructor:t,step:function(a,i){if(this._initialized||(this._startTime=a+this._delay,this._initialized=!0),this._paused){this._pausedTime+=i;return}var n=(a-this._startTime-this._pausedTime)/this._life;if(!(n<0)){n=Math.min(n,1);var o=this.easing,s=typeof o=="string"?r[o]:o,l=typeof s=="function"?s(n):n;return this.fire("frame",l),n===1?this.loop?(this.restart(a),"restart"):(this._needsRemove=!0,"destroy"):null}},restart:function(a){var i=(a-this._startTime-this._pausedTime)%this._life;this._startTime=a-i+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(a,i){a="on"+a,this[a]&&this[a](this._target,i)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var e=t;return l0=e,l0}var Oa={},u0,Uk;function w9(){if(Uk)return u0;Uk=1;var r=function(){this.head=null,this.tail=null,this._len=0},t=r.prototype;t.insert=function(o){var s=new e(o);return this.insertEntry(s),s},t.insertEntry=function(o){this.head?(this.tail.next=o,o.prev=this.tail,o.next=null,this.tail=o):this.head=this.tail=o,this._len++},t.remove=function(o){var s=o.prev,l=o.next;s?s.next=l:this.head=l,l?l.prev=s:this.tail=s,o.next=o.prev=null,this._len--},t.len=function(){return this._len},t.clear=function(){this.head=this.tail=null,this._len=0};var e=function(o){this.value=o,this.next,this.prev},a=function(o){this._list=new r,this._map={},this._maxSize=o||10,this._lastRemovedEntry=null},i=a.prototype;i.put=function(o,s){var l=this._list,u=this._map,v=null;if(u[o]==null){var h=l.len(),f=this._lastRemovedEntry;if(h>=this._maxSize&&h>0){var c=l.head;l.remove(c),delete u[c.key],v=c.value,this._lastRemovedEntry=c}f?f.value=s:f=new e(s),f.key=o,l.insertEntry(f),u[o]=f}return v},i.get=function(o){var s=this._map[o],l=this._list;if(s!=null)return s!==l.tail&&(l.remove(s),l.insertEntry(s)),s.value},i.clear=function(){this._list.clear(),this._map={}};var n=a;return u0=n,u0}var $k;function en(){if($k)return Oa;$k=1;var r=w9(),t={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function e(C){return C=Math.round(C),C<0?0:C>255?255:C}function a(C){return C=Math.round(C),C<0?0:C>360?360:C}function i(C){return C<0?0:C>1?1:C}function n(C){return C.length&&C.charAt(C.length-1)==="%"?e(parseFloat(C)/100*255):e(parseInt(C,10))}function o(C){return C.length&&C.charAt(C.length-1)==="%"?i(parseFloat(C)/100):i(parseFloat(C))}function s(C,M,L){return L<0?L+=1:L>1&&(L-=1),L*6<1?C+(M-C)*L*6:L*2<1?M:L*3<2?C+(M-C)*(2/3-L)*6:C}function l(C,M,L){return C+(M-C)*L}function u(C,M,L,D,P){return C[0]=M,C[1]=L,C[2]=D,C[3]=P,C}function v(C,M){return C[0]=M[0],C[1]=M[1],C[2]=M[2],C[3]=M[3],C}var h=new r(20),f=null;function c(C,M){f&&v(f,M),f=h.put(C,f||M.slice())}function d(C,M){if(C){M=M||[];var L=h.get(C);if(L)return v(M,L);C=C+"";var D=C.replace(/ /g,"").toLowerCase();if(D in t)return v(M,t[D]),c(C,M),M;if(D.charAt(0)==="#"){if(D.length===4){var P=parseInt(D.substr(1),16);if(!(P>=0&&P<=4095)){u(M,0,0,0,1);return}return u(M,(P&3840)>>4|(P&3840)>>8,P&240|(P&240)>>4,P&15|(P&15)<<4,1),c(C,M),M}else if(D.length===7){var P=parseInt(D.substr(1),16);if(!(P>=0&&P<=16777215)){u(M,0,0,0,1);return}return u(M,(P&16711680)>>16,(P&65280)>>8,P&255,1),c(C,M),M}return}var I=D.indexOf("("),R=D.indexOf(")");if(I!==-1&&R+1===D.length){var E=D.substr(0,I),k=D.substr(I+1,R-(I+1)).split(","),B=1;switch(E){case"rgba":if(k.length!==4){u(M,0,0,0,1);return}B=o(k.pop());case"rgb":if(k.length!==3){u(M,0,0,0,1);return}return u(M,n(k[0]),n(k[1]),n(k[2]),B),c(C,M),M;case"hsla":if(k.length!==4){u(M,0,0,0,1);return}return k[3]=o(k[3]),p(k,M),c(C,M),M;case"hsl":if(k.length!==3){u(M,0,0,0,1);return}return p(k,M),c(C,M),M;default:return}}u(M,0,0,0,1)}}function p(C,M){var L=(parseFloat(C[0])%360+360)%360/360,D=o(C[1]),P=o(C[2]),I=P<=.5?P*(D+1):P+D-P*D,R=P*2-I;return M=M||[],u(M,e(s(R,I,L+1/3)*255),e(s(R,I,L)*255),e(s(R,I,L-1/3)*255),1),C.length===4&&(M[3]=C[3]),M}function g(C){if(C){var M=C[0]/255,L=C[1]/255,D=C[2]/255,P=Math.min(M,L,D),I=Math.max(M,L,D),R=I-P,E=(I+P)/2,k,B;if(R===0)k=0,B=0;else{E<.5?B=R/(I+P):B=R/(2-I-P);var F=((I-M)/6+R/2)/R,V=((I-L)/6+R/2)/R,N=((I-D)/6+R/2)/R;M===I?k=N-V:L===I?k=1/3+F-N:D===I&&(k=2/3+V-F),k<0&&(k+=1),k>1&&(k-=1)}var O=[k*360,B,E];return C[3]!=null&&O.push(C[3]),O}}function m(C,M){var L=d(C);if(L){for(var D=0;D<3;D++)M<0?L[D]=L[D]*(1-M)|0:L[D]=(255-L[D])*M+L[D]|0,L[D]>255?L[D]=255:C[D]<0&&(L[D]=0);return T(L,L.length===4?"rgba":"rgb")}}function y(C){var M=d(C);if(M)return((1<<24)+(M[0]<<16)+(M[1]<<8)+ +M[2]).toString(16).slice(1)}function _(C,M,L){if(!(!(M&&M.length)||!(C>=0&&C<=1))){L=L||[];var D=C*(M.length-1),P=Math.floor(D),I=Math.ceil(D),R=M[P],E=M[I],k=D-P;return L[0]=e(l(R[0],E[0],k)),L[1]=e(l(R[1],E[1],k)),L[2]=e(l(R[2],E[2],k)),L[3]=i(l(R[3],E[3],k)),L}}var x=_;function S(C,M,L){if(!(!(M&&M.length)||!(C>=0&&C<=1))){var D=C*(M.length-1),P=Math.floor(D),I=Math.ceil(D),R=d(M[P]),E=d(M[I]),k=D-P,B=T([e(l(R[0],E[0],k)),e(l(R[1],E[1],k)),e(l(R[2],E[2],k)),i(l(R[3],E[3],k))],"rgba");return L?{color:B,leftIndex:P,rightIndex:I,value:D}:B}}var b=S;function w(C,M,L,D){if(C=d(C),C)return C=g(C),M!=null&&(C[0]=a(M)),L!=null&&(C[1]=o(L)),D!=null&&(C[2]=o(D)),T(p(C),"rgba")}function A(C,M){if(C=d(C),C&&M!=null)return C[3]=i(M),T(C,"rgba")}function T(C,M){if(!(!C||!C.length)){var L=C[0]+","+C[1]+","+C[2];return(M==="rgba"||M==="hsva"||M==="hsla")&&(L+=","+C[3]),M+"("+L+")"}}return Oa.parse=d,Oa.lift=m,Oa.toHex=y,Oa.fastLerp=_,Oa.fastMapToColor=x,Oa.lerp=S,Oa.mapToColor=b,Oa.modifyHSL=w,Oa.modifyAlpha=A,Oa.stringify=T,Oa}var v0,Yk;function T9(){if(Yk)return v0;Yk=1;var r=Dpe(),t=en(),e=ie(),a=e.isArrayLike,i=Array.prototype.slice;function n(x,S){return x[S]}function o(x,S,b){x[S]=b}function s(x,S,b){return(S-x)*b+x}function l(x,S,b){return b>.5?S:x}function u(x,S,b,w,A){var T=x.length;if(A===1)for(var C=0;CA;if(T)x.length=A;else for(var C=w;C=0&&!(F[se]<=fe);se--);se=Math.min(se,D-2)}else{for(se=U;sefe);se++);se=Math.min(se-1,D-2)}U=se,W=fe;var ve=F[se+1]-F[se];if(ve!==0)if(X=(fe-F[se])/ve,L)if(Q=V[se],K=V[se===0?se:se-1],j=V[se>D-2?D-1:se+1],te=V[se>D-3?D-1:se+2],I)f(K,Q,j,te,X,X*X,X*X*X,C(oe,A),k);else{var ye;if(R)ye=f(K,Q,j,te,X,X*X,X*X*X,Z,1),ye=p(Z);else{if(E)return l(Q,j,X);ye=c(K,Q,j,te,X,X*X,X*X*X)}M(oe,A,ye)}else if(I)u(V[se],V[se+1],X,C(oe,A),k);else{var ye;if(R)u(V[se],V[se+1],X,Z,1),ye=p(Z);else{if(E)return l(V[se],V[se+1],X);ye=s(V[se],V[se+1],X)}M(oe,A,ye)}},le=new r({target:x._target,life:B,loop:x._loop,delay:x._delay,onframe:ee,ondestroy:b});return S&&S!=="spline"&&(le.easing=S),le}}}var y=function(x,S,b,w){this._tracks={},this._target=x,this._loop=S||!1,this._getter=b||n,this._setter=w||o,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};y.prototype={when:function(x,S){var b=this._tracks;for(var w in S)if(S.hasOwnProperty(w)){if(!b[w]){b[w]=[];var A=this._getter(this._target,w);if(A==null)continue;x!==0&&b[w].push({time:0,value:d(A)})}b[w].push({time:x,value:S[w]})}return this},during:function(x){return this._onframeList.push(x),this},pause:function(){for(var x=0;x0&&c.animate(d,!1).when(m==null?500:m,x).delay(y||0)}function h(c,d,p,g){if(!d)c.attr(p,g);else{var m={};m[d]={},m[d][p]=g,c.attr(m)}}var f=l;return f0=f,f0}var c0,Qk;function A9(){if(Qk)return c0;Qk=1;var r=S9(),t=Ws(),e=og(),a=Lpe(),i=ie(),n=function(s){e.call(this,s),t.call(this,s),a.call(this,s),this.id=s.id||r()};n.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(s,l){switch(this.draggable){case"horizontal":l=0;break;case"vertical":s=0;break}var u=this.transform;u||(u=this.transform=[1,0,0,1,0,0]),u[4]+=s,u[5]+=l,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(s,l){},attrKV:function(s,l){if(s==="position"||s==="scale"||s==="origin"){if(l){var u=this[s];u||(u=this[s]=[]),u[0]=l[0],u[1]=l[1]}}else this[s]=l},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(s,l){if(typeof s=="string")this.attrKV(s,l);else if(i.isObject(s))for(var u in s)s.hasOwnProperty(u)&&this.attrKV(u,s[u]);return this.dirty(!1),this},setClipPath:function(s){var l=this.__zr;l&&s.addSelfToZr(l),this.clipPath&&this.clipPath!==s&&this.removeClipPath(),this.clipPath=s,s.__zr=l,s.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var s=this.clipPath;s&&(s.__zr&&s.removeSelfFromZr(s.__zr),s.__zr=null,s.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(s){this.__zr=s;var l=this.animators;if(l)for(var u=0;u=u.x&&s<=u.x+u.width&&l>=u.y&&l<=u.y+u.height},clone:function(){return new n(this.x,this.y,this.width,this.height)},copy:function(s){this.x=s.x,this.y=s.y,this.width=s.width,this.height=s.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},n.create=function(s){return new n(s.x,s.y,s.width,s.height)};var o=n;return d0=o,d0}var p0,Jk;function Us(){if(Jk)return p0;Jk=1;var r=ie(),t=A9(),e=rr(),a=function(n){n=n||{},t.call(this,n);for(var o in n)n.hasOwnProperty(o)&&(this[o]=n[o]);this._children=[],this.__storage=null,this.__dirty=!0};a.prototype={constructor:a,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(n){return this._children[n]},childOfName:function(n){for(var o=this._children,s=0;s=0&&(s.splice(l,0,n),this._doAdd(n))}return this},_doAdd:function(n){n.parent&&n.parent.remove(n),n.parent=this;var o=this.__storage,s=this.__zr;o&&o!==n.__storage&&(o.addToStorage(n),n instanceof a&&n.addChildrenToStorage(o)),s&&s.refresh()},remove:function(n){var o=this.__zr,s=this.__storage,l=this._children,u=r.indexOf(l,n);return u<0?this:(l.splice(u,1),n.parent=null,s&&(s.delFromStorage(n),n instanceof a&&n.delChildrenFromStorage(s)),o&&o.refresh(),this)},removeAll:function(){var n=this._children,o=this.__storage,s,l;for(l=0;l=r;)h|=v&1,v>>=1;return v+h}function a(v,h,f,c){var d=h+1;if(d===f)return 1;if(c(v[d++],v[h])<0){for(;d=0;)d++;return d-h}function i(v,h,f){for(f--;h>>1,d(p,v[y])<0?m=y:g=y+1;var _=c-g;switch(_){case 3:v[g+3]=v[g+2];case 2:v[g+2]=v[g+1];case 1:v[g+1]=v[g];break;default:for(;_>0;)v[g+_]=v[g+_-1],_--}v[g]=p}}function o(v,h,f,c,d,p){var g=0,m=0,y=1;if(p(v,h[f+d])>0){for(m=c-d;y0;)g=y,y=(y<<1)+1,y<=0&&(y=m);y>m&&(y=m),g+=d,y+=d}else{for(m=d+1;ym&&(y=m);var _=g;g=d-y,y=d-_}for(g++;g>>1);p(v,h[f+x])>0?g=x+1:y=x}return y}function s(v,h,f,c,d,p){var g=0,m=0,y=1;if(p(v,h[f+d])<0){for(m=d+1;ym&&(y=m);var _=g;g=d-y,y=d-_}else{for(m=c-d;y=0;)g=y,y=(y<<1)+1,y<=0&&(y=m);y>m&&(y=m),g+=d,y+=d}for(g++;g>>1);p(v,h[f+x])<0?y=x:g=x+1}return y}function l(v,h){var f=t,c,d,p=0;v.length;var g=[];c=[],d=[];function m(w,A){c[p]=w,d[p]=A,p+=1}function y(){for(;p>1;){var w=p-2;if(w>=1&&d[w-1]<=d[w]+d[w+1]||w>=2&&d[w-2]<=d[w]+d[w-1])d[w-1]d[w+1])break;x(w)}}function _(){for(;p>1;){var w=p-2;w>0&&d[w-1]=t||E>=t);if(k)break;I<0&&(I=0),I+=2}if(f=I,f<1&&(f=1),A===1){for(M=0;M=0;M--)v[R+M]=v[I+M];v[P]=g[D];return}for(var E=f;;){var k=0,B=0,F=!1;do if(h(g[D],v[L])<0){if(v[P--]=v[L--],k++,B=0,--A===0){F=!0;break}}else if(v[P--]=g[D--],B++,k=0,--C===1){F=!0;break}while((k|B)=0;M--)v[R+M]=v[I+M];if(A===0){F=!0;break}}if(v[P--]=g[D--],--C===1){F=!0;break}if(B=C-o(v[L],g,0,C,C-1,h),B!==0){for(P-=B,D-=B,C-=B,R=P+1,I=D+1,M=0;M=t||B>=t);if(F)break;E<0&&(E=0),E+=2}if(f=E,f<1&&(f=1),C===1){for(P-=A,L-=A,R=P+1,I=L+1,M=A-1;M>=0;M--)v[R+M]=v[I+M];v[P]=g[D]}else{if(C===0)throw new Error;for(I=P-(C-1),M=0;Mm&&(y=m),n(v,f,f+y,f+p,h),p=y}g.pushRun(f,p),g.mergeRuns(),d-=p,f+=p}while(d!==0);g.forceMergeRuns()}}return g0=u,g0}var m0,tO;function Ipe(){if(tO)return m0;tO=1;var r=ie(),t=pr(),e=Us(),a=KM();function i(s,l){return s.zlevel===l.zlevel?s.z===l.z?s.z2-l.z2:s.z-l.z:s.zlevel-l.zlevel}var n=function(){this._roots=[],this._displayList=[],this._displayListLen=0};n.prototype={constructor:n,traverse:function(s,l){for(var u=0;u=0&&(this.delFromStorage(s),this._roots.splice(h,1),s instanceof e&&s.delChildrenFromStorage(this))},addToStorage:function(s){return s&&(s.__storage=this,s.dirty(!1)),this},delFromStorage:function(s){return s&&(s.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:i};var o=n;return m0=o,m0}var y0,rO;function C9(){if(rO)return y0;rO=1;var r={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function t(e,a,i){return r.hasOwnProperty(a)?i*=e.dpr:i}return y0=t,y0}var Mc={},aO;function lg(){if(aO)return Mc;aO=1;var r={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},t=9;return Mc.ContextCachedBy=r,Mc.WILL_BE_RESTORED=t,Mc}var _0,iO;function QM(){if(iO)return _0;iO=1;var r=C9(),t=lg(),e=t.ContextCachedBy,a=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],i=function(h){this.extendFrom(h,!1)};function n(h,f,c){var d=f.x==null?0:f.x,p=f.x2==null?1:f.x2,g=f.y==null?0:f.y,m=f.y2==null?0:f.y2;f.global||(d=d*c.width+c.x,p=p*c.width+c.x,g=g*c.height+c.y,m=m*c.height+c.y),d=isNaN(d)?0:d,p=isNaN(p)?1:p,g=isNaN(g)?0:g,m=isNaN(m)?0:m;var y=h.createLinearGradient(d,g,p,m);return y}function o(h,f,c){var d=c.width,p=c.height,g=Math.min(d,p),m=f.x==null?.5:f.x,y=f.y==null?.5:f.y,_=f.r==null?.5:f.r;f.global||(m=m*d+c.x,y=y*p+c.y,_=_*g);var x=h.createRadialGradient(m,y,0,m,y,_);return x}i.prototype={constructor:i,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(h,f,c){var d=this,p=c&&c.style,g=!p||h.__attrCachedBy!==e.STYLE_BIND;h.__attrCachedBy=e.STYLE_BIND;for(var m=0;m0},extendFrom:function(h,f){if(h)for(var c in h)h.hasOwnProperty(c)&&(f===!0||(f===!1?!this.hasOwnProperty(c):h[c]!=null))&&(this[c]=h[c])},set:function(h,f){typeof h=="string"?this[h]=f:this.extendFrom(h,!0)},clone:function(){var h=new this.constructor;return h.extendFrom(this,!0),h},getGradient:function(h,f,c){for(var d=f.type==="radial"?o:n,p=d(h,f,c),g=f.colorStops,m=0;mv&&(u=0,l={}),u++,l[B]=V,V}function g(E,k,B,F,V,N,O,z){return O?y(E,k,B,F,V,N,O,z):m(E,k,B,F,V,N,z)}function m(E,k,B,F,V,N,O){var z=D(E,k,V,N,O),G=p(E,k);V&&(G+=V[1]+V[3]);var q=z.outerHeight,H=_(0,G,B),U=x(0,q,F),W=new r(H,U,G,q);return W.lineHeight=z.lineHeight,W}function y(E,k,B,F,V,N,O,z){var G=P(E,{rich:O,truncate:z,font:k,textAlign:B,textPadding:V,textLineHeight:N}),q=G.outerWidth,H=G.outerHeight,U=_(0,q,B),W=x(0,H,F);return new r(U,W,q,H)}function _(E,k,B){return B==="right"?E-=k:B==="center"&&(E-=k/2),E}function x(E,k,B){return B==="middle"?E-=k/2:B==="bottom"&&(E-=k),E}function S(E,k,B){var F=k.textPosition,V=k.textDistance,N=B.x,O=B.y;V=V||0;var z=B.height,G=B.width,q=z/2,H="left",U="top";switch(F){case"left":N-=V,O+=q,H="right",U="middle";break;case"right":N+=V+G,O+=q,U="middle";break;case"top":N+=G/2,O-=V,H="center",U="bottom";break;case"bottom":N+=G/2,O+=z+V,H="center";break;case"inside":N+=G/2,O+=q,H="center",U="middle";break;case"insideLeft":N+=V,O+=q,U="middle";break;case"insideRight":N+=G-V,O+=q,H="right",U="middle";break;case"insideTop":N+=G/2,O+=V,H="center";break;case"insideBottom":N+=G/2,O+=z-V,H="center",U="bottom";break;case"insideTopLeft":N+=V,O+=V;break;case"insideTopRight":N+=G-V,O+=V,H="right";break;case"insideBottomLeft":N+=V,O+=z-V,U="bottom";break;case"insideBottomRight":N+=G-V,O+=z-V,H="right",U="bottom";break}return E=E||{},E.x=N,E.y=O,E.textAlign=H,E.textVerticalAlign=U,E}function b(E,k,B){var F={textPosition:E,textDistance:B};return S({},F,k)}function w(E,k,B,F,V){if(!k)return"";var N=(E+"").split("\n");V=A(k,B,F,V);for(var O=0,z=N.length;O=O;G++)z-=O;var q=p(V,k);return q>z&&(V="",q=0),z=E-q,F.ellipsis=V,F.ellipsisWidth=q,F.contentWidth=z,F.containerWidth=E,F}function T(E,k){var B=k.containerWidth,F=k.font,V=k.contentWidth;if(!B)return"";var N=p(E,F);if(N<=B)return E;for(var O=0;;O++){if(N<=V||O>=k.maxIterations){E+=k.ellipsis;break}var z=O===0?C(E,V,k.ascCharWidth,k.cnCharWidth):N>0?Math.floor(E.length*V/N):0;E=E.substr(0,z),N=p(E,F)}return E===""&&(E=k.placeholder),E}function C(E,k,B,F){for(var V=0,N=0,O=E.length;NH)E="",O=[];else if(U!=null)for(var W=A(U-(B?B[1]+B[3]:0),k,V.ellipsis,{minChar:V.minChar,placeholder:V.placeholder}),Y=0,X=O.length;YF&&I(B,E.substring(F,N)),I(B,V[2],V[1]),F=h.lastIndex}FY)return{lines:[],width:0,height:0};Z.textWidth=p(Z.text,oe);var se=ee.textWidth,ve=se==null||se==="auto";if(typeof se=="string"&&se.charAt(se.length-1)==="%")Z.percentWidth=se,q.push(Z),se=0;else{if(ve){se=Z.textWidth;var ye=ee.textBackgroundColor,Me=ye&&ye.image;Me&&(Me=t.findExistImage(Me),t.isImageReady(Me)&&(se=Math.max(se,Me.width*fe/Me.height)))}var J=le?le[1]+le[3]:0;se+=J;var ne=W!=null?W-j:null;ne!=null&&nen&&(f=l+u,l*=n/f,u*=n/f),v+h>n&&(f=v+h,v*=n/f,h*=n/f),u+v>o&&(f=u+v,u*=o/f,v*=o/f),l+h>o&&(f=l+h,l*=o/f,h*=o/f),t.moveTo(a+l,i),t.lineTo(a+n-u,i),u!==0&&t.arc(a+n-u,i+u,u,-Math.PI/2,0),t.lineTo(a+n,i+o-v),v!==0&&t.arc(a+n-v,i+o-v,v,0,Math.PI/2),t.lineTo(a+h,i+o),h!==0&&t.arc(a+h,i+o-h,h,Math.PI/2,Math.PI),t.lineTo(a,i+l),l!==0&&t.arc(a+l,i+l,l,Math.PI,Math.PI*1.5)}return w0.buildPath=r,w0}var hO;function ug(){if(hO)return ln;hO=1;var r=ie(),t=r.retrieve2,e=r.retrieve3,a=r.each,i=r.normalizeCssArray,n=r.isString,o=r.isObject,s=Da(),l=L9(),u=jM(),v=C9(),h=lg(),f=h.ContextCachedBy,c=h.WILL_BE_RESTORED,d=s.DEFAULT_FONT,p={left:1,right:1,center:1},g={top:1,bottom:1,middle:1},m=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],y={},_={};function x(N){return S(N),a(N.rich,S),N}function S(N){if(N){N.font=s.makeFont(N);var O=N.textAlign;O==="middle"&&(O="center"),N.textAlign=O==null||p[O]?O:"left";var z=N.textVerticalAlign||N.textBaseline;z==="center"&&(z="middle"),N.textVerticalAlign=z==null||g[z]?z:"top";var G=N.textPadding;G&&(N.textPadding=i(N.textPadding))}}function b(N,O,z,G,q,H){G.rich?A(N,O,z,G,q,H):w(N,O,z,G,q,H)}function w(N,O,z,G,q,H){var U=L(G),W,Y=!1,X=O.__attrCachedBy===f.PLAIN_TEXT;H!==c?(H&&(W=H.style,Y=!U&&X&&W),O.__attrCachedBy=U?f.NONE:f.PLAIN_TEXT):X&&(O.__attrCachedBy=f.NONE);var K=G.font||d;(!Y||K!==(W.font||d))&&(O.font=K);var Q=N.__computedFont;N.__styleFont!==K&&(N.__styleFont=K,Q=N.__computedFont=O.font);var j=G.textPadding,te=G.textLineHeight,Z=N.__textCotentBlock;(!Z||N.__dirtyText)&&(Z=N.__textCotentBlock=s.parsePlainText(z,Q,j,te,G.truncate));var ee=Z.outerHeight,le=Z.lines,oe=Z.lineHeight,fe=I(_,N,G,q),se=fe.baseX,ve=fe.baseY,ye=fe.textAlign||"left",Me=fe.textVerticalAlign;C(O,G,q,se,ve);var J=s.adjustTextY(ve,ee,Me),ne=se,ue=J;if(U||j){var me=s.getWidth(z,Q),xe=me;j&&(xe+=j[1]+j[3]);var ge=s.adjustTextX(se,xe,ye);U&&D(N,O,G,ge,J,xe,ee),j&&(ne=F(se,ye,j),ue+=j[0])}O.textAlign=ye,O.textBaseline="middle",O.globalAlpha=G.opacity||1;for(var pe=0;pe=0&&(pe=ye[ge],pe.textAlign==="right");)M(N,O,pe,G,J,oe,xe,"right"),ne-=pe.width,xe-=pe.width,ge--;for(me+=(H-(me-le)-(fe-xe)-ne)/2;ue<=ge;)pe=ye[ue],M(N,O,pe,G,J,oe,me+pe.width/2,"center"),me+=pe.width,ue++;oe+=J}}function C(N,O,z,G,q){if(z&&O.textRotation){var H=O.textOrigin;H==="center"?(G=z.width/2+z.x,q=z.height/2+z.y):H&&(G=H[0]+z.x,q=H[1]+z.y),N.translate(G,q),N.rotate(-O.textRotation),N.translate(-G,-q)}}function M(N,O,z,G,q,H,U,W){var Y=G.rich[z.styleName]||{};Y.text=z.text;var X=z.textVerticalAlign,K=H+q/2;X==="top"?K=H+z.height/2:X==="bottom"&&(K=H+q-z.height/2),!z.isLineHolder&&L(Y)&&D(N,O,Y,W==="right"?U-z.width:W==="center"?U-z.width/2:U,K-z.height/2,z.width,z.height);var Q=z.textPadding;Q&&(U=F(U,W,Q),K-=z.height/2-Q[2]-z.textHeight/2),R(O,"shadowBlur",e(Y.textShadowBlur,G.textShadowBlur,0)),R(O,"shadowColor",Y.textShadowColor||G.textShadowColor||"transparent"),R(O,"shadowOffsetX",e(Y.textShadowOffsetX,G.textShadowOffsetX,0)),R(O,"shadowOffsetY",e(Y.textShadowOffsetY,G.textShadowOffsetY,0)),R(O,"textAlign",W),R(O,"textBaseline","middle"),R(O,"font",z.font||d);var j=E(Y.textStroke||G.textStroke,Z),te=k(Y.textFill||G.textFill),Z=t(Y.textStrokeWidth,G.textStrokeWidth);j&&(R(O,"lineWidth",Z),R(O,"strokeStyle",j),O.strokeText(z.text,U,K)),te&&(R(O,"fillStyle",te),O.fillText(z.text,U,K))}function L(N){return!!(N.textBackgroundColor||N.textBorderWidth&&N.textBorderColor)}function D(N,O,z,G,q,H,U){var W=z.textBackgroundColor,Y=z.textBorderWidth,X=z.textBorderColor,K=n(W);if(R(O,"shadowBlur",z.textBoxShadowBlur||0),R(O,"shadowColor",z.textBoxShadowColor||"transparent"),R(O,"shadowOffsetX",z.textBoxShadowOffsetX||0),R(O,"shadowOffsetY",z.textBoxShadowOffsetY||0),K||Y&&X){O.beginPath();var Q=z.textBorderRadius;Q?l.buildPath(O,{x:G,y:q,width:H,height:U,r:Q}):O.rect(G,q,H,U),O.closePath()}if(K)if(R(O,"fillStyle",W),z.fillOpacity!=null){var j=O.globalAlpha;O.globalAlpha=z.fillOpacity*z.opacity,O.fill(),O.globalAlpha=j}else O.fill();else if(o(W)){var te=W.image;te=u.createOrUpdateImage(te,null,N,P,W),te&&u.isImageReady(te)&&O.drawImage(te,G,q,H,U)}if(Y&&X)if(R(O,"lineWidth",Y),R(O,"strokeStyle",X),z.strokeOpacity!=null){var j=O.globalAlpha;O.globalAlpha=z.strokeOpacity*z.opacity,O.stroke(),O.globalAlpha=j}else O.stroke()}function P(N,O){O.image=N}function I(N,O,z,G){var q=z.x||0,H=z.y||0,U=z.textAlign,W=z.textVerticalAlign;if(G){var Y=z.textPosition;if(Y instanceof Array)q=G.x+B(Y[0],G.width),H=G.y+B(Y[1],G.height);else{var X=O&&O.calculateTextPosition?O.calculateTextPosition(y,z,G):s.calculateTextPosition(y,z,G);q=X.x,H=X.y,U=U||X.textAlign,W=W||X.textVerticalAlign}var K=z.textOffset;K&&(q+=K[0],H+=K[1])}return N=N||{},N.baseX=q,N.baseY=H,N.textAlign=U,N.textVerticalAlign=W,N}function R(N,O,z){return N[O]=v(N,O,z),N[O]}function E(N,O){return N==null||O<=0||N==="transparent"||N==="none"?null:N.image||N.colorStops?"#000":N}function k(N){return N==null||N==="none"?null:N.image||N.colorStops?"#000":N}function B(N,O){return typeof N=="string"?N.lastIndexOf("%")>=0?parseFloat(N)/100*O:parseFloat(N):N}function F(N,O,z){return O==="right"?N-z[1]:O==="center"?N+z[3]/2-z[1]/2:N+z[3]}function V(N,O){return N!=null&&(N||O.textBackgroundColor||O.textBorderWidth&&O.textBorderColor||O.textPadding)}return ln.normalizeTextStyle=x,ln.renderText=b,ln.getBoxPosition=I,ln.getStroke=E,ln.getFill=k,ln.parsePercent=B,ln.needDrawText=V,ln}var T0,fO;function I9(){if(fO)return T0;fO=1;var r=ug(),t=rr(),e=lg(),a=e.WILL_BE_RESTORED,i=new t,n=function(){};n.prototype={constructor:n,drawRectText:function(s,l){var u=this.style;l=u.textRect||l,this.__dirty&&r.normalizeTextStyle(u,!0);var v=u.text;if(v!=null&&(v+=""),!!r.needDrawText(v,u)){s.save();var h=this.transform;u.transformText?this.setTransform(s):h&&(i.copy(l),i.applyTransform(h),l=i),r.renderText(this,s,v,u,l,a),s.restore()}}};var o=n;return T0=o,T0}var A0,cO;function lf(){if(cO)return A0;cO=1;var r=ie(),t=QM(),e=A9(),a=I9();function i(o){o=o||{},e.call(this,o);for(var s in o)o.hasOwnProperty(s)&&s!=="style"&&(this[s]=o[s]);this.style=new t(o.style,this),this._rect=null,this.__clipPaths=null}i.prototype={constructor:i,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(o){},afterBrush:function(o){},brush:function(o,s){},getBoundingRect:function(){},contain:function(o,s){return this.rectContain(o,s)},traverse:function(o,s){o.call(s,this)},rectContain:function(o,s){var l=this.transformCoordToLocal(o,s),u=this.getBoundingRect();return u.contain(l[0],l[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(o){return this.animate("style",o)},attrKV:function(o,s){o!=="style"?e.prototype.attrKV.call(this,o,s):this.style.set(s)},setStyle:function(o,s){return this.style.set(o,s),this.dirty(!1),this},useStyle:function(o){return this.style=new t(o,this),this.dirty(!1),this},calculateTextPosition:null},r.inherits(i,e),r.mixin(i,a);var n=i;return A0=n,A0}var C0,dO;function wu(){if(dO)return C0;dO=1;var r=lf(),t=rr(),e=ie(),a=jM();function i(o){r.call(this,o)}i.prototype={constructor:i,type:"image",brush:function(o,s){var l=this.style,u=l.image;l.bind(o,this,s);var v=this._image=a.createOrUpdateImage(u,this._image,this,this.onload);if(!(!v||!a.isImageReady(v))){var h=l.x||0,f=l.y||0,c=l.width,d=l.height,p=v.width/v.height;if(c==null&&d!=null?c=d*p:d==null&&c!=null?d=c/p:c==null&&d==null&&(c=v.width,d=v.height),this.setTransform(o),l.sWidth&&l.sHeight){var g=l.sx||0,m=l.sy||0;o.drawImage(v,g,m,l.sWidth,l.sHeight,h,f,c,d)}else if(l.sx&&l.sy){var g=l.sx,m=l.sy,y=c-g,_=d-m;o.drawImage(v,g,m,y,_,h,f,c,d)}else o.drawImage(v,h,f,c,d);l.text!=null&&(this.restoreTransform(o),this.drawRectText(o,this.getBoundingRect()))}},getBoundingRect:function(){var o=this.style;return this._rect||(this._rect=new t(o.x||0,o.y||0,o.width||0,o.height||0)),this._rect}},e.inherits(i,r);var n=i;return C0=n,C0}var M0,pO;function Rpe(){if(pO)return M0;pO=1;var r=sg(),t=r.devicePixelRatio,e=ie(),a=sf(),i=rr(),n=KM(),o=Ppe(),s=D9(),l=wu(),u=pr(),v=1e5,h=314159,f=.01,c=.001;function d(A){return parseInt(A,10)}function p(A){return A?A.__builtin__?!0:!(typeof A.resize!="function"||typeof A.refresh!="function"):!1}var g=new i(0,0,0,0),m=new i(0,0,0,0);function y(A,T,C){return g.copy(A.getBoundingRect()),A.transform&&g.applyTransform(A.transform),m.width=T,m.height=C,!g.intersect(m)}function _(A,T){if(A===T)return!1;if(!A||!T||A.length!==T.length)return!0;for(var C=0;C=0&&C.splice(M,1),A.__hoverMir=null},clearHover:function(A){for(var T=this._hoverElements,C=0;C15)break}}D.__drawIndex=O,D.__drawIndex0&&A>M[0]){for(P=0;PA);P++);D=C[M[P]]}if(M.splice(P+1,0,A),C[A]=T,!T.virtual)if(D){var R=D.dom;R.nextSibling?I.insertBefore(T.dom,R.nextSibling):I.appendChild(T.dom)}else I.firstChild?I.insertBefore(T.dom,I.firstChild):I.appendChild(T.dom)},eachLayer:function(A,T){var C=this._zlevelList,M,L;for(L=0;L0?f:0),this._needsManuallyCompositing),R.__builtin__||a("ZLevel "+I+" has been used by unkown layer "+R.id),R!==L&&(R.__used=!0,R.__startIndex!==C&&(R.__dirty=!0),R.__startIndex=C,R.incremental?R.__drawIndex=-1:R.__drawIndex=C,T(C),L=R),M.__dirty&&(R.__dirty=!0,R.incremental&&R.__drawIndex<0&&(R.__drawIndex=C))}T(C),this.eachBuiltinLayer(function(E,k){!E.__used&&E.getElementCount()>0&&(E.__dirty=!0,E.__startIndex=E.__endIndex=E.__drawIndex=0),E.__dirty&&E.__drawIndex<0&&(E.__drawIndex=E.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(A){A.clear()},setBackgroundColor:function(A){this._backgroundColor=A},configLayer:function(A,T){if(T){var C=this._layerConfig;C[A]?e.merge(C[A],T,!0):C[A]=T;for(var M=0;M=0&&this._clips.splice(l,1)},removeAnimator:function(s){for(var l=s.getClips(),u=0;u=M.length&&M.push({option:L})}}),M}function f(T){var C=r.createHashMap();e(T,function(M,L){var D=M.exist;D&&C.set(D.id,M)}),e(T,function(M,L){var D=M.option;r.assert(!D||D.id==null||!C.get(D.id)||C.get(D.id)===M,"id duplicates: "+(D&&D.id)),D&&D.id!=null&&C.set(D.id,M),!M.keyInfo&&(M.keyInfo={})}),e(T,function(M,L){var D=M.exist,P=M.option,I=M.keyInfo;if(a(P)){if(I.name=P.name!=null?P.name+"":D?D.name:n+L,D)I.id=D.id;else if(P.id!=null)I.id=P.id+"";else{var R=0;do I.id="\0"+I.name+"\0"+R++;while(C.get(I.id))}C.set(I.id,M)}})}function c(T){var C=T.name;return!!(C&&C.indexOf(n))}function d(T){return a(T)&&T.id&&(T.id+"").indexOf("\0_ec_\0")===0}function p(T,C){var M={},L={};return D(T||[],M),D(C||[],L,M),[P(M),P(L)];function D(I,R,E){for(var k=0,B=I.length;k=0||o&&r.indexOf(o,u)<0)){var v=i.getShallow(u);v!=null&&(s[e[l][0]]=v)}}return s}}return I0=t,I0}var P0,bO;function Ope(){if(bO)return P0;bO=1;var r=Tu(),t=r([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),e={getLineStyle:function(a){var i=t(this,a);return i.lineDash=this.getLineDash(i.lineWidth),i},getLineDash:function(a){a==null&&(a=1);var i=this.get("type"),n=Math.max(a,2),o=a*4;return i==="solid"||i==null?!1:i==="dashed"?[o,o]:[n,n]}};return P0=e,P0}var R0,wO;function Npe(){if(wO)return R0;wO=1;var r=Tu(),t=r([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),e={getAreaStyle:function(a,i){return t(this,a,i)}};return R0=e,R0}var it={},hv={},pa={},TO;function yo(){if(TO)return pa;TO=1;var r=Jt(),t=r.create,e=r.distSquare,a=Math.pow,i=Math.sqrt,n=1e-8,o=1e-4,s=i(3),l=1/3,u=t(),v=t(),h=t();function f(C){return C>-n&&Cn||C<-n}function d(C,M,L,D,P){var I=1-P;return I*I*(I*C+3*P*M)+P*P*(P*D+3*I*L)}function p(C,M,L,D,P){var I=1-P;return 3*(((M-C)*I+2*(L-M)*P)*I+(D-L)*P*P)}function g(C,M,L,D,P,I){var R=D+3*(M-L)-C,E=3*(L-M*2+C),k=3*(M-C),B=C-P,F=E*E-3*R*k,V=E*k-9*R*B,N=k*k-3*E*B,O=0;if(f(F)&&f(V))if(f(E))I[0]=0;else{var z=-k/E;z>=0&&z<=1&&(I[O++]=z)}else{var G=V*V-4*F*N;if(f(G)){var q=V/F,z=-E/R+q,H=-q/2;z>=0&&z<=1&&(I[O++]=z),H>=0&&H<=1&&(I[O++]=H)}else if(G>0){var U=i(G),W=F*E+1.5*R*(-V+U),Y=F*E+1.5*R*(-V-U);W<0?W=-a(-W,l):W=a(W,l),Y<0?Y=-a(-Y,l):Y=a(Y,l);var z=(-E-(W+Y))/(3*R);z>=0&&z<=1&&(I[O++]=z)}else{var X=(2*F*E-3*R*V)/(2*i(F*F*F)),K=Math.acos(X)/3,Q=i(F),j=Math.cos(K),z=(-E-2*Q*j)/(3*R),H=(-E+Q*(j+s*Math.sin(K)))/(3*R),te=(-E+Q*(j-s*Math.sin(K)))/(3*R);z>=0&&z<=1&&(I[O++]=z),H>=0&&H<=1&&(I[O++]=H),te>=0&&te<=1&&(I[O++]=te)}}return O}function m(C,M,L,D,P){var I=6*L-12*M+6*C,R=9*M+3*D-3*C-9*L,E=3*M-3*C,k=0;if(f(R)){if(c(I)){var B=-E/I;B>=0&&B<=1&&(P[k++]=B)}}else{var F=I*I-4*R*E;if(f(F))P[0]=-I/(2*R);else if(F>0){var V=i(F),B=(-I+V)/(2*R),N=(-I-V)/(2*R);B>=0&&B<=1&&(P[k++]=B),N>=0&&N<=1&&(P[k++]=N)}}return k}function y(C,M,L,D,P,I){var R=(M-C)*P+C,E=(L-M)*P+M,k=(D-L)*P+L,B=(E-R)*P+R,F=(k-E)*P+E,V=(F-B)*P+B;I[0]=C,I[1]=R,I[2]=B,I[3]=V,I[4]=V,I[5]=F,I[6]=k,I[7]=D}function _(C,M,L,D,P,I,R,E,k,B,F){var V,N=.005,O=1/0,z,G,q,H;u[0]=k,u[1]=B;for(var U=0;U<1;U+=.05)v[0]=d(C,L,P,R,U),v[1]=d(M,D,I,E,U),q=e(u,v),q=0&&q=0&&B<=1&&(P[k++]=B)}}else{var F=R*R-4*I*E;if(f(F)){var B=-R/(2*I);B>=0&&B<=1&&(P[k++]=B)}else if(F>0){var V=i(F),B=(-R+V)/(2*I),N=(-R-V)/(2*I);B>=0&&B<=1&&(P[k++]=B),N>=0&&N<=1&&(P[k++]=N)}}return k}function w(C,M,L){var D=C+L-2*M;return D===0?.5:(C-M)/D}function A(C,M,L,D,P){var I=(M-C)*D+C,R=(L-M)*D+M,E=(R-I)*D+I;P[0]=C,P[1]=I,P[2]=E,P[3]=E,P[4]=R,P[5]=L}function T(C,M,L,D,P,I,R,E,k){var B,F=.005,V=1/0;u[0]=R,u[1]=E;for(var N=0;N<1;N+=.05){v[0]=x(C,L,P,N),v[1]=x(M,D,I,N);var O=e(u,v);O=0&&O1e-4){A[0]=m-_,A[1]=y-x,T[0]=m+_,T[1]=y+x;return}if(s[0]=n(S)*_+m,s[1]=i(S)*x+y,l[0]=n(b)*_+m,l[1]=i(b)*x+y,C(A,s,l),M(T,s,l),S=S%o,S<0&&(S=S+o),b=b%o,b<0&&(b=b+o),S>b&&!w?b+=o:SS&&(u[0]=n(P)*_+m,u[1]=i(P)*x+y,C(A,u,A),M(T,u,T))}return jo.fromPoints=v,jo.fromLine=h,jo.fromCubic=d,jo.fromQuadratic=p,jo.fromArc=g,jo}var E0,CO;function Au(){if(CO)return E0;CO=1;var r=yo(),t=Jt(),e=uf(),a=rr(),i=sg(),n=i.devicePixelRatio,o={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},s=[],l=[],u=[],v=[],h=Math.min,f=Math.max,c=Math.cos,d=Math.sin,p=Math.sqrt,g=Math.abs,m=typeof Float32Array<"u",y=function(x){this._saveData=!x,this._saveData&&(this.data=[]),this._ctx=null};y.prototype={constructor:y,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(x,S,b){b=b||0,this._ux=g(b/n/x)||0,this._uy=g(b/n/S)||0},getContext:function(){return this._ctx},beginPath:function(x){return this._ctx=x,x&&x.beginPath(),x&&(this.dpr=x.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(x,S){return this.addData(o.M,x,S),this._ctx&&this._ctx.moveTo(x,S),this._x0=x,this._y0=S,this._xi=x,this._yi=S,this},lineTo:function(x,S){var b=g(x-this._xi)>this._ux||g(S-this._yi)>this._uy||this._len<5;return this.addData(o.L,x,S),this._ctx&&b&&(this._needsDash()?this._dashedLineTo(x,S):this._ctx.lineTo(x,S)),b&&(this._xi=x,this._yi=S),this},bezierCurveTo:function(x,S,b,w,A,T){return this.addData(o.C,x,S,b,w,A,T),this._ctx&&(this._needsDash()?this._dashedBezierTo(x,S,b,w,A,T):this._ctx.bezierCurveTo(x,S,b,w,A,T)),this._xi=A,this._yi=T,this},quadraticCurveTo:function(x,S,b,w){return this.addData(o.Q,x,S,b,w),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(x,S,b,w):this._ctx.quadraticCurveTo(x,S,b,w)),this._xi=b,this._yi=w,this},arc:function(x,S,b,w,A,T){return this.addData(o.A,x,S,b,b,w,A-w,0,T?0:1),this._ctx&&this._ctx.arc(x,S,b,w,A,T),this._xi=c(A)*b+x,this._yi=d(A)*b+S,this},arcTo:function(x,S,b,w,A){return this._ctx&&this._ctx.arcTo(x,S,b,w,A),this},rect:function(x,S,b,w){return this._ctx&&this._ctx.rect(x,S,b,w),this.addData(o.R,x,S,b,w),this},closePath:function(){this.addData(o.Z);var x=this._ctx,S=this._x0,b=this._y0;return x&&(this._needsDash()&&this._dashedLineTo(S,b),x.closePath()),this._xi=S,this._yi=b,this},fill:function(x){x&&x.fill(),this.toStatic()},stroke:function(x){x&&x.stroke(),this.toStatic()},setLineDash:function(x){if(x instanceof Array){this._lineDash=x,this._dashIdx=0;for(var S=0,b=0;bS.length&&(this._expandData(),S=this.data);for(var b=0;b0&&I<=x||L<0&&I>=x||L===0&&(D>0&&R<=S||D<0&&R>=S);)B=this._dashIdx,E=A[B],I+=L*E,R+=D*E,this._dashIdx=(B+1)%k,!(L>0&&IC||D>0&&RM)&&T[B%2?"moveTo":"lineTo"](L>=0?h(I,x):f(I,x),D>=0?h(R,S):f(R,S));L=I-x,D=R-S,this._dashOffset=-p(L*L+D*D)},_dashedBezierTo:function(x,S,b,w,A,T){var C=this._dashSum,M=this._dashOffset,L=this._lineDash,D=this._ctx,P=this._xi,I=this._yi,R,E,k,B=r.cubicAt,F=0,V=this._dashIdx,N=L.length,O,z,G=0;for(M<0&&(M=C+M),M%=C,R=0;R<1;R+=.1)E=B(P,x,b,A,R+.1)-B(P,x,b,A,R),k=B(I,S,w,T,R+.1)-B(I,S,w,T,R),F+=p(E*E+k*k);for(;VM));V++);for(R=(G-M)/F;R<=1;)O=B(P,x,b,A,R),z=B(I,S,w,T,R),V%2?D.moveTo(O,z):D.lineTo(O,z),R+=L[V]/F,V=(V+1)%N;V%2!==0&&D.lineTo(A,T),E=A-O,k=T-z,this._dashOffset=-p(E*E+k*k)},_dashedQuadraticTo:function(x,S,b,w){var A=b,T=w;b=(b+2*x)/3,w=(w+2*S)/3,x=(this._xi+2*x)/3,S=(this._yi+2*S)/3,this._dashedBezierTo(x,S,b,w,A,T)},toStatic:function(){var x=this.data;x instanceof Array&&(x.length=this._len,m&&(this.data=new Float32Array(x)))},getBoundingRect:function(){s[0]=s[1]=u[0]=u[1]=Number.MAX_VALUE,l[0]=l[1]=v[0]=v[1]=-Number.MAX_VALUE;for(var x=this.data,S=0,b=0,w=0,A=0,T=0;TL||g(M-T)>D||I===P-1)&&(x.lineTo(C,M),A=C,T=M);break;case o.C:x.bezierCurveTo(S[I++],S[I++],S[I++],S[I++],S[I++],S[I++]),A=S[I-2],T=S[I-1];break;case o.Q:x.quadraticCurveTo(S[I++],S[I++],S[I++],S[I++]),A=S[I-2],T=S[I-1];break;case o.A:var E=S[I++],k=S[I++],B=S[I++],F=S[I++],V=S[I++],N=S[I++],O=S[I++],z=S[I++],G=B>F?B:F,q=B>F?1:B/F,H=B>F?F/B:1,U=Math.abs(B-F)>.001,W=V+N;U?(x.translate(E,k),x.rotate(O),x.scale(q,H),x.arc(0,0,G,V,W,1-z),x.scale(1/q,1/H),x.rotate(-O),x.translate(-E,-k)):x.arc(E,k,G,V,W,1-z),I===1&&(b=c(V)*B+E,w=d(V)*F+k),A=c(W)*B+E,T=d(W)*F+k;break;case o.R:b=A=S[I],w=T=S[I+1],x.rect(S[I++],S[I++],S[I++],S[I++]);break;case o.Z:x.closePath(),A=b,T=w}}}},y.CMD=o;var _=y;return E0=_,E0}var Dc={},k0={},MO;function P9(){if(MO)return k0;MO=1;function r(t,e,a,i,n,o,s){if(n===0)return!1;var l=n,u=0,v=t;if(s>e+l&&s>i+l||st+l&&o>a+l||oa+c&&f>n+c&&f>s+c&&f>u+c||fe+c&&h>i+c&&h>o+c&&h>l+c||hi+f&&h>o+f&&h>l+f||ha+f&&v>n+f&&v>s+f||vo||d+cl&&(l+=e);var g=Math.atan2(f,h);return g<0&&(g+=e),g>=s&&g<=l||g+e>=s&&g+e<=l}return z0.containStroke=a,z0}var V0,RO;function k9(){if(RO)return V0;RO=1;function r(t,e,a,i,n,o){if(o>e&&o>i||on?s:0}return V0=r,V0}var EO;function Vpe(){if(EO)return Dc;EO=1;var r=Au(),t=P9(),e=zpe(),a=R9(),i=Bpe(),n=E9(),o=n.normalizeRadian,s=yo(),l=k9(),u=r.CMD,v=Math.PI*2,h=1e-4;function f(b,w){return Math.abs(b-w)w&&I>T&&I>M&&I>D||I1&&p(),B=s.cubicAt(w,T,M,D,d[0]),k>1&&(F=s.cubicAt(w,T,M,D,d[1]))),k===2?Nw&&D>T&&D>M||D=0&&I<=1){for(var R=0,E=s.quadraticAt(w,T,M,I),k=0;kA||D<-A)return 0;var P=Math.sqrt(A*A-D*D);c[0]=-P,c[1]=P;var I=Math.abs(T-C);if(I<1e-4)return 0;if(I%v<1e-4){T=0,C=v;var R=M?1:-1;return L>=c[0]+b&&L<=c[1]+b?R:0}if(M){var P=T;T=o(C),C=o(P)}else T=o(T),C=o(C);T>C&&(C+=v);for(var E=0,k=0;k<2;k++){var B=c[k];if(B+b>L){var F=Math.atan2(D,B),R=M?1:-1;F<0&&(F=v+F),(F>=T&&F<=C||F+v>=T&&F+v<=C)&&(F>Math.PI/2&&F1&&(A||(M+=l(L,D,P,I,T,C))),R===1&&(L=b[R],D=b[R+1],P=L,I=D),E){case u.M:P=b[R++],I=b[R++],L=P,D=I;break;case u.L:if(A){if(t.containStroke(L,D,b[R],b[R+1],w,T,C))return!0}else M+=l(L,D,b[R],b[R+1],T,C)||0;L=b[R++],D=b[R++];break;case u.C:if(A){if(e.containStroke(L,D,b[R++],b[R++],b[R++],b[R++],b[R],b[R+1],w,T,C))return!0}else M+=g(L,D,b[R++],b[R++],b[R++],b[R++],b[R],b[R+1],T,C)||0;L=b[R++],D=b[R++];break;case u.Q:if(A){if(a.containStroke(L,D,b[R++],b[R++],b[R],b[R+1],w,T,C))return!0}else M+=m(L,D,b[R++],b[R++],b[R],b[R+1],T,C)||0;L=b[R++],D=b[R++];break;case u.A:var k=b[R++],B=b[R++],F=b[R++],V=b[R++],N=b[R++],O=b[R++];R+=1;var z=1-b[R++],U=Math.cos(N)*F+k,W=Math.sin(N)*V+B;R>1?M+=l(L,D,U,W,T,C):(P=U,I=W);var G=(T-k)*V/F+k;if(A){if(i.containStroke(k,B,V,N,N+O,z,w,G,C))return!0}else M+=y(k,B,V,N,N+O,z,G,C);L=Math.cos(N+O)*F+k,D=Math.sin(N+O)*V+B;break;case u.R:P=L=b[R++],I=D=b[R++];var q=b[R++],H=b[R++],U=P+q,W=I+H;if(A){if(t.containStroke(P,I,U,I,w,T,C)||t.containStroke(U,I,U,W,w,T,C)||t.containStroke(U,W,P,W,w,T,C)||t.containStroke(P,W,P,I,w,T,C))return!0}else M+=l(U,I,U,W,T,C),M+=l(P,W,P,I,T,C);break;case u.Z:if(A){if(t.containStroke(L,D,P,I,w,T,C))return!0}else M+=l(L,D,P,I,T,C);L=P,D=I;break}}return!A&&!f(D,I)&&(M+=l(L,D,P,I,T,C)||0),M!==0}function x(b,w,A){return _(b,0,!1,w,A)}function S(b,w,A,T){return _(b,w,!0,A,T)}return Dc.contain=x,Dc.containStroke=S,Dc}var G0,kO;function ur(){if(kO)return G0;kO=1;var r=lf(),t=ie(),e=Au(),a=Vpe(),i=M9(),n=i.prototype.getCanvasPattern,o=Math.abs,s=new e(!0);function l(v){r.call(this,v),this.path=null}l.prototype={constructor:l,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(v,h){var f=this.style,c=this.path||s,d=f.hasStroke(),p=f.hasFill(),g=f.fill,m=f.stroke,y=p&&!!g.colorStops,_=d&&!!m.colorStops,x=p&&!!g.image,S=d&&!!m.image;if(f.bind(v,this,h),this.setTransform(v),this.__dirty){var b;y&&(b=b||this.getBoundingRect(),this._fillGradient=f.getGradient(v,g,b)),_&&(b=b||this.getBoundingRect(),this._strokeGradient=f.getGradient(v,m,b))}y?v.fillStyle=this._fillGradient:x&&(v.fillStyle=n.call(g,v)),_?v.strokeStyle=this._strokeGradient:S&&(v.strokeStyle=n.call(m,v));var w=f.lineDash,A=f.lineDashOffset,T=!!v.setLineDash,C=this.getGlobalScale();if(c.setScale(C[0],C[1],this.segmentIgnoreThreshold),this.__dirtyPath||w&&!T&&d?(c.beginPath(v),w&&!T&&(c.setLineDash(w),c.setLineDashOffset(A)),this.buildPath(c,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(v.beginPath(),this.path.rebuildPath(v)),p)if(f.fillOpacity!=null){var M=v.globalAlpha;v.globalAlpha=f.fillOpacity*f.opacity,c.fill(v),v.globalAlpha=M}else c.fill(v);if(w&&T&&(v.setLineDash(w),v.lineDashOffset=A),d)if(f.strokeOpacity!=null){var M=v.globalAlpha;v.globalAlpha=f.strokeOpacity*f.opacity,c.stroke(v),v.globalAlpha=M}else c.stroke(v);w&&T&&v.setLineDash([]),f.text!=null&&(this.restoreTransform(v),this.drawRectText(v,this.getBoundingRect()))},buildPath:function(v,h,f){},createPathProxy:function(){this.path=new e},getBoundingRect:function(){var v=this._rect,h=this.style,f=!v;if(f){var c=this.path;c||(c=this.path=new e),this.__dirtyPath&&(c.beginPath(),this.buildPath(c,this.shape,!1)),v=c.getBoundingRect()}if(this._rect=v,h.hasStroke()){var d=this._rectWithStroke||(this._rectWithStroke=v.clone());if(this.__dirty||f){d.copy(v);var p=h.lineWidth,g=h.strokeNoScale?this.getLineScale():1;h.hasFill()||(p=Math.max(p,this.strokeContainThreshold||4)),g>1e-10&&(d.width+=p/g,d.height+=p/g,d.x-=p/g/2,d.y-=p/g/2)}return d}return v},contain:function(v,h){var f=this.transformCoordToLocal(v,h),c=this.getBoundingRect(),d=this.style;if(v=f[0],h=f[1],c.contain(v,h)){var p=this.path.data;if(d.hasStroke()){var g=d.lineWidth,m=d.strokeNoScale?this.getLineScale():1;if(m>1e-10&&(d.hasFill()||(g=Math.max(g,this.strokeContainThreshold)),a.containStroke(p,g/m,v,h)))return!0}if(d.hasFill())return a.contain(p,v,h)}return!1},dirty:function(v){v==null&&(v=!0),v&&(this.__dirtyPath=v,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(v){return this.animate("shape",v)},attrKV:function(v,h){v==="shape"?(this.setShape(h),this.__dirtyPath=!0,this._rect=null):r.prototype.attrKV.call(this,v,h)},setShape:function(v,h){var f=this.shape;if(f){if(t.isObject(v))for(var c in v)v.hasOwnProperty(c)&&(f[c]=v[c]);else f[v]=h;this.dirty(!0)}return this},getLineScale:function(){var v=this.transform;return v&&o(v[0]-1)>1e-10&&o(v[3]-1)>1e-10?Math.sqrt(o(v[0]*v[3]-v[2]*v[1])):1}},l.extend=function(v){var h=function(c){l.call(this,c),v.style&&this.style.extendFrom(v.style,!1);var d=v.shape;if(d){this.shape=this.shape||{};var p=this.shape;for(var g in d)!p.hasOwnProperty(g)&&d.hasOwnProperty(g)&&(p[g]=d[g])}v.init&&v.init.call(this,c)};t.inherits(h,l);for(var f in v)f!=="style"&&f!=="shape"&&(h.prototype[f]=v[f]);return h},t.inherits(l,r);var u=l;return G0=u,G0}var F0,OO;function Gpe(){if(OO)return F0;OO=1;var r=Au(),t=Jt(),e=t.applyTransform,a=r.CMD,i=[[],[],[]],n=Math.sqrt,o=Math.atan2;function s(l,u){var v=l.data,h,f,c,d,p,g,m=a.M,y=a.C,_=a.L,x=a.R,S=a.A,b=a.Q;for(c=0,d=0;c1&&(A*=a(R),T*=a(R));var E=(b===w?-1:1)*a((A*A*(T*T)-A*A*(I*I)-T*T*(P*P))/(A*A*(I*I)+T*T*(P*P)))||0,k=E*A*I/T,B=E*-T*P/A,F=(y+x)/2+n(D)*k-i(D)*B,V=(_+S)/2+i(D)*k+n(D)*B,N=u([1,0],[(P-k)/A,(I-B)/T]),O=[(P-k)/A,(I-B)/T],z=[(-1*P-k)/A,(-1*I-B)/T],G=u(O,z);l(O,z)<=-1&&(G=o),l(O,z)>=1&&(G=0),w===0&&G>0&&(G=G-2*o),w===1&&G<0&&(G=G+2*o),L.addData(M,F,V,A,T,N,G,D,w)}var h=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,f=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function c(y){if(!y)return new t;for(var _=0,x=0,S=_,b=x,w,A=new t,T=t.CMD,C=y.match(h),M=0;M=11?function(){var i=this.__clipPaths,n=this.style,o;if(i)for(var s=0;so-2?o-1:f+1],m=i[f>o-3?o-1:f+2]);var y=c*c,_=c*y;s.push([e(d[0],p[0],g[0],m[0],c,y,_),e(d[1],p[1],g[1],m[1],c,y,_)])}return s}return Z0=a,Z0}var X0,qO;function Wpe(){if(qO)return X0;qO=1;var r=Jt(),t=r.min,e=r.max,a=r.scale,i=r.distance,n=r.add,o=r.clone,s=r.sub;function l(u,v,h,f){var c=[],d=[],p=[],g=[],m,y,_,x;if(f){_=[1/0,1/0],x=[-1/0,-1/0];for(var S=0,b=u.length;S=2){if(s&&s!=="spline"){var l=t(o,s,n,i.smoothConstraint);a.moveTo(o[0][0],o[0][1]);for(var u=o.length,v=0;v<(n?u:u-1);v++){var h=l[v*2],f=l[v*2+1],c=o[(v+1)%u];a.bezierCurveTo(h[0],h[1],f[0],f[1],c[0],c[1])}}else{s==="spline"&&(o=r(o,n)),a.moveTo(o[0][0],o[0][1]);for(var v=1,d=o.length;v=0),Ot=!At&&De!=null;(At||Ot)&&(Ae={textFill:re.textFill,textStroke:re.textStroke,textStrokeWidth:re.textStrokeWidth}),At&&(re.textFill="#fff",re.textStroke==null&&(re.textStroke=De,re.textStrokeWidth==null&&(re.textStrokeWidth=2))),Ot&&(re.textFill=De)}re.insideRollback=Ae}function Tt(re){var ce=re.insideRollback;ce&&(re.textFill=ce.textFill,re.textStroke=ce.textStroke,re.textStrokeWidth=ce.textStrokeWidth,re.insideRollback=null)}function Bt(re,ce){var be=ce&&ce.getModel("textStyle");return r.trim([re.fontStyle||be&&be.getShallow("fontStyle")||"",re.fontWeight||be&&be.getShallow("fontWeight")||"",(re.fontSize||be&&be.getShallow("fontSize")||12)+"px",re.fontFamily||be&&be.getShallow("fontFamily")||"sans-serif"].join(" "))}function Vt(re,ce,be,Ae,De,je){typeof De=="function"&&(je=De,De=null);var Gt=Ae&&Ae.isAnimationEnabled();if(Gt){var At=re?"Update":"",Ot=Ae.getShallow("animationDuration"+At),hr=Ae.getShallow("animationEasing"+At),Nr=Ae.getShallow("animationDelay"+At);typeof Nr=="function"&&(Nr=Nr(De,Ae.getAnimationDelayParams?Ae.getAnimationDelayParams(ce,De):null)),typeof Ot=="function"&&(Ot=Ot(De)),Ot>0?ce.animateTo(be,Ot,Nr||0,hr,je,!!je):(ce.stopAnimation(),ce.attr(be),je&&je())}else ce.stopAnimation(),ce.attr(be),je&&je()}function Ke(re,ce,be,Ae,De){Vt(!0,re,ce,be,Ae,De)}function Et(re,ce,be,Ae,De){Vt(!1,re,ce,be,Ae,De)}function Lt(re,ce){for(var be=a.identity([]);re&&re!==ce;)a.mul(be,re.getLocalTransform(),be),re=re.parent;return be}function Zt(re,ce,be){return ce&&!r.isArrayLike(ce)&&(ce=o.getLocalTransform(ce)),be&&(ce=a.invert([],ce)),i.applyTransform([],re,ce)}function Xt(re,ce,be){var Ae=ce[4]===0||ce[5]===0||ce[0]===0?1:Math.abs(2*ce[4]/ce[0]),De=ce[4]===0||ce[5]===0||ce[2]===0?1:Math.abs(2*ce[4]/ce[2]),je=[re==="left"?-Ae:re==="right"?Ae:0,re==="top"?-De:re==="bottom"?De:0];return je=Zt(je,ce,be),Math.abs(je[0])>Math.abs(je[1])?je[0]>0?"right":"left":je[1]>0?"bottom":"top"}function Kt(re,ce,be,Ae){if(!re||!ce)return;function De(At){var Ot={};return At.traverse(function(hr){!hr.isGroup&&hr.anid&&(Ot[hr.anid]=hr)}),Ot}function je(At){var Ot={position:i.clone(At.position),rotation:At.rotation};return At.shape&&(Ot.shape=r.extend({},At.shape)),Ot}var Gt=De(re);ce.traverse(function(At){if(!At.isGroup&&At.anid){var Ot=Gt[At.anid];if(Ot){var hr=je(At);At.attr(je(Ot)),Ke(At,hr,be,At.dataIndex)}}})}function Pr(re,ce){return r.map(re,function(be){var Ae=be[0];Ae=T(Ae,ce.x),Ae=C(Ae,ce.x+ce.width);var De=be[1];return De=T(De,ce.y),De=C(De,ce.y+ce.height),[Ae,De]})}function fa(re,ce){var be=T(re.x,ce.x),Ae=C(re.x+re.width,ce.x+ce.width),De=T(re.y,ce.y),je=C(re.y+re.height,ce.y+ce.height);if(Ae>=be&&je>=De)return{x:be,y:De,width:Ae-be,height:je-De}}function Rr(re,ce,be){ce=r.extend({rectHover:!0},ce);var Ae=ce.style={strokeNoScale:!0};if(be=be||{x:-1,y:-1,width:2,height:2},re)return re.indexOf("image://")===0?(Ae.image=re.slice(8),r.defaults(Ae,be),new s(ce)):O(re.replace("path://",""),ce,be,"center")}function ta(re,ce,be,Ae,De){for(var je=0,Gt=De[De.length-1];je1)return!1;var Eu=jt(Ai,To,Nr,an)/Ti;return!(Eu<0||Eu>1)}function jt(re,ce,be,Ae){return re*Ae-be*ce}function mr(re){return re<=1e-6&&re>=-1e-6}return V("circle",v),V("sector",h),V("ring",f),V("polygon",c),V("polyline",d),V("rect",p),V("line",g),V("bezierCurve",m),V("arc",y),it.Z2_EMPHASIS_LIFT=L,it.CACHED_LABEL_STYLE_PROPERTIES=D,it.extendShape=B,it.extendPath=F,it.registerShape=V,it.getShapeClass=N,it.makePath=O,it.makeImage=z,it.mergePath=q,it.resizePath=H,it.subPixelOptimizeLine=U,it.subPixelOptimizeRect=W,it.subPixelOptimize=Y,it.setElementHoverStyle=fe,it.setHoverStyle=ne,it.setAsHighDownDispatcher=ue,it.isHighDownDispatcher=me,it.getHighlightDigit=xe,it.setLabelStyle=ge,it.modifyLabelStyle=pe,it.setTextStyle=Ce,it.setText=ze,it.getFont=Bt,it.updateProps=Ke,it.initProps=Et,it.getTransform=Lt,it.applyTransform=Zt,it.transformDirection=Xt,it.groupTransition=Kt,it.clipPointsByRect=Pr,it.clipRectByRect=fa,it.createIcon=Rr,it.linePolygonIntersect=ta,it.lineLineIntersect=vr,it}var s_,iN;function Xpe(){if(iN)return s_;iN=1;var r=Da(),t=qe(),e=["textStyle","color"],a={getTextColor:function(i){var n=this.ecModel;return this.getShallow("color")||(!i&&n?n.get(e):null)},getFont:function(){return t.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(i){return r.getBoundingRect(i,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};return s_=a,s_}var l_,nN;function Kpe(){if(nN)return l_;nN=1;var r=Tu(),t=r([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),e={getItemStyle:function(a,i){var n=t(this,a,i),o=this.getBorderLineDash();return o&&(n.lineDash=o),n},getBorderLineDash:function(){var a=this.get("borderType");return a==="solid"||a==null?null:a==="dashed"?[5,5]:[1,1]}};return l_=e,l_}var u_,oN;function gr(){if(oN)return u_;oN=1;var r=ie(),t=pr(),e=_t(),a=e.makeInner,i=Dn(),n=i.enableClassExtend,o=i.enableClassCheck,s=Ope(),l=Npe(),u=Xpe(),v=Kpe(),h=r.mixin,f=a();function c(m,y,_){this.parentModel=y,this.ecModel=_,this.option=m}c.prototype={constructor:c,init:null,mergeOption:function(m){r.merge(this.option,m,!0)},get:function(m,y){return m==null?this.option:d(this.option,this.parsePath(m),!y&&p(this,m))},getShallow:function(m,y){var _=this.option,x=_==null?_:_[m],S=!y&&p(this,m);return x==null&&S&&(x=S.getShallow(m)),x},getModel:function(m,y){var _=m==null?this.option:d(this.option,m=this.parsePath(m)),x;return y=y||(x=p(this,m))&&x.getModel(m),new c(_,y,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var m=this.constructor;return new m(r.clone(this.option))},setReadOnly:function(m){},parsePath:function(m){return typeof m=="string"&&(m=m.split(".")),m},customizeGetParent:function(m){f(this).getParent=m},isAnimationEnabled:function(){if(!t.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function d(m,y,_){for(var x=0;x=0&&d.push(p)}),d}}return cv.getUID=i,cv.enableSubTypeDefaulter=n,cv.enableTopologicalTravel=o,cv}var ga={},yr={},lN;function st(){if(lN)return yr;lN=1;var r=ie(),t=1e-4;function e(b){return b.replace(/^\s+|\s+$/g,"")}function a(b,w,A,T){var C=w[1]-w[0],M=A[1]-A[0];if(C===0)return M===0?A[0]:(A[0]+A[1])/2;if(T)if(C>0){if(b<=w[0])return A[0];if(b>=w[1])return A[1]}else{if(b>=w[0])return A[0];if(b<=w[1])return A[1]}else{if(b===w[0])return A[0];if(b===w[1])return A[1]}return(b-w[0])/C*M+A[0]}function i(b,w){switch(b){case"center":case"middle":b="50%";break;case"left":case"top":b="0%";break;case"right":case"bottom":b="100%";break}return typeof b=="string"?e(b).match(/%$/)?parseFloat(b)/100*w:parseFloat(b):b==null?NaN:+b}function n(b,w,A){return w==null&&(w=10),w=Math.min(Math.max(0,w),20),b=(+b).toFixed(w),A?b:+b}function o(b){return b.sort(function(w,A){return w-A}),b}function s(b){if(b=+b,isNaN(b))return 0;for(var w=1,A=0;Math.round(b*w)/w!==b;)w*=10,A++;return A}function l(b){var w=b.toString(),A=w.indexOf("e");if(A>0){var T=+w.slice(A+1);return T<0?-T:0}else{var C=w.indexOf(".");return C<0?0:w.length-1-C}}function u(b,w){var A=Math.log,T=Math.LN10,C=Math.floor(A(b[1]-b[0])/T),M=Math.round(A(Math.abs(w[1]-w[0]))/T),L=Math.min(Math.max(-C+M,0),20);return isFinite(L)?L:20}function v(b,w,A){if(!b[w])return 0;var T=r.reduce(b,function(F,V){return F+(isNaN(V)?0:V)},0);if(T===0)return 0;for(var C=Math.pow(10,A),M=r.map(b,function(F){return(isNaN(F)?0:F)/T*C*100}),L=C*100,D=r.map(M,function(F){return Math.floor(F)}),P=r.reduce(D,function(F,V){return F+V},0),I=r.map(M,function(F,V){return F-D[V]});PR&&(R=I[k],E=k);++D[E],I[E]=0,++P}return D[w]/C}var h=9007199254740991;function f(b){var w=Math.PI*2;return(b%w+w)%w}function c(b){return b>-t&&b=10&&w++,w}function y(b,w){var A=m(b),T=Math.pow(10,A),C=b/T,M;return w?C<1.5?M=1:C<2.5?M=2:C<4?M=3:C<7?M=5:M=10:C<1?M=1:C<2?M=2:C<3?M=3:C<5?M=5:M=10,b=M*T,A>=-20?+b.toFixed(A<0?-A:0):b}function _(b,w){var A=(b.length-1)*w+1,T=Math.floor(A),C=+b[T-1],M=A-T;return M?C+M*(b[T]-C):C}function x(b){b.sort(function(P,I){return D(P,I,0)?-1:1});for(var w=-1/0,A=1,T=0;T=0}return yr.linearMap=a,yr.parsePercent=i,yr.round=n,yr.asc=o,yr.getPrecision=s,yr.getPrecisionSafe=l,yr.getPixelPrecision=u,yr.getPercentWithPrecision=v,yr.MAX_SAFE_INTEGER=h,yr.remRadian=f,yr.isRadianAroundZero=c,yr.parseDate=p,yr.quantity=g,yr.quantityExponent=m,yr.nice=y,yr.quantile=_,yr.reformIntervals=x,yr.isNumeric=S,yr}var aa={},uN;function Yt(){if(uN)return aa;uN=1;var r=ie(),t=Da(),e=st();function a(S){return isNaN(S)?"-":(S=(S+"").split("."),S[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(S.length>1?"."+S[1]:""))}function i(S,b){return S=(S||"").toLowerCase().replace(/-(.)/g,function(w,A){return A.toUpperCase()}),b&&S&&(S=S.charAt(0).toUpperCase()+S.slice(1)),S}var n=r.normalizeCssArray,o=/([&<>"'])/g,s={"&":"&","<":"<",">":">",'"':""","'":"'"};function l(S){return S==null?"":(S+"").replace(o,function(b,w){return s[w]})}var u=["a","b","c","d","e","f","g"],v=function(S,b){return"{"+S+(b==null?"":b)+"}"};function h(S,b,w){r.isArray(b)||(b=[b]);var A=b.length;if(!A)return"";for(var T=b[0].$vars||[],C=0;C':'':{renderMode:C,content:"{marker"+M+"|} ",style:{color:w}}:""}function d(S,b){return S+="","0000".substr(0,b-S.length)+S}function p(S,b,w){(S==="week"||S==="month"||S==="quarter"||S==="half-year"||S==="year")&&(S="MM-dd\nyyyy");var A=e.parseDate(b),T=w?"UTC":"",C=A["get"+T+"FullYear"](),M=A["get"+T+"Month"]()+1,L=A["get"+T+"Date"](),D=A["get"+T+"Hours"](),P=A["get"+T+"Minutes"](),I=A["get"+T+"Seconds"](),R=A["get"+T+"Milliseconds"]();return S=S.replace("MM",d(M,2)).replace("M",M).replace("yyyy",C).replace("yy",C%100).replace("dd",d(L,2)).replace("d",L).replace("hh",d(D,2)).replace("h",D).replace("mm",d(P,2)).replace("m",P).replace("ss",d(I,2)).replace("s",I).replace("SSS",d(R,3)),S}function g(S){return S&&S.charAt(0).toUpperCase()+S.substr(1)}var m=t.truncateText;function y(S){return t.getBoundingRect(S.text,S.font,S.textAlign,S.textVerticalAlign,S.textPadding,S.textLineHeight,S.rich,S.truncate)}function _(S,b,w,A,T,C,M,L){return t.getBoundingRect(S,b,w,A,T,L,C,M)}function x(S,b){if(b==="_blank"||b==="blank"){var w=window.open();w.opener=null,w.location=S}else window.open(S,b)}return aa.addCommas=a,aa.toCamelCase=i,aa.normalizeCssArray=n,aa.encodeHTML=l,aa.formatTpl=h,aa.formatTplSimple=f,aa.getTooltipMarker=c,aa.formatTime=p,aa.capitalFirst=g,aa.truncateText=m,aa.getTextBoundingRect=y,aa.getTextRect=_,aa.windowOpen=x,aa}var vN;function Ut(){if(vN)return ga;vN=1;var r=ie(),t=rr(),e=st(),a=e.parsePercent,i=Yt(),n=r.each,o=["left","right","top","bottom","width","height"],s=[["width","left","right"],["height","top","bottom"]];function l(_,x,S,b,w){var A=0,T=0;b==null&&(b=1/0),w==null&&(w=1/0);var C=0;x.eachChild(function(M,L){var D=M.position,P=M.getBoundingRect(),I=x.childAt(L+1),R=I&&I.getBoundingRect(),E,k;if(_==="horizontal"){var B=P.width+(R?-R.x+P.x:0);E=A+B,E>b||M.newline?(A=0,E=B,T+=C+S,C=P.height):C=Math.max(C,P.height)}else{var F=P.height+(R?-R.y+P.y:0);k=T+F,k>w||M.newline?(A+=C+S,T=0,k=F,C=P.width):C=Math.max(C,P.width)}M.newline||(D[0]=A,D[1]=T,_==="horizontal"?A=E+S:T=k+S)})}var u=l,v=r.curry(l,"vertical"),h=r.curry(l,"horizontal");function f(_,x,S){var b=x.width,w=x.height,A=a(_.x,b),T=a(_.y,w),C=a(_.x2,b),M=a(_.y2,w);return(isNaN(A)||isNaN(parseFloat(_.x)))&&(A=0),(isNaN(C)||isNaN(parseFloat(_.x2)))&&(C=b),(isNaN(T)||isNaN(parseFloat(_.y)))&&(T=0),(isNaN(M)||isNaN(parseFloat(_.y2)))&&(M=w),S=i.normalizeCssArray(S||0),{width:Math.max(C-A-S[1]-S[3],0),height:Math.max(M-T-S[0]-S[2],0)}}function c(_,x,S){S=i.normalizeCssArray(S||0);var b=x.width,w=x.height,A=a(_.left,b),T=a(_.top,w),C=a(_.right,b),M=a(_.bottom,w),L=a(_.width,b),D=a(_.height,w),P=S[2]+S[0],I=S[1]+S[3],R=_.aspect;switch(isNaN(L)&&(L=b-C-I-A),isNaN(D)&&(D=w-M-P-T),R!=null&&(isNaN(L)&&isNaN(D)&&(R>b/w?L=b*.8:D=w*.8),isNaN(L)&&(L=R*D),isNaN(D)&&(D=L/R)),isNaN(A)&&(A=b-C-L-I),isNaN(T)&&(T=w-M-D-P),_.left||_.right){case"center":A=b/2-L/2-S[3];break;case"right":A=b-L-I;break}switch(_.top||_.bottom){case"middle":case"center":T=w/2-D/2-S[0];break;case"bottom":T=w-D-P;break}A=A||0,T=T||0,isNaN(L)&&(L=b-I-A-(C||0)),isNaN(D)&&(D=w-P-T-(M||0));var E=new t(A+S[3],T+S[0],L,D);return E.margin=S,E}function d(_,x,S,b,w){var A=!w||!w.hv||w.hv[0],T=!w||!w.hv||w.hv[1],C=w&&w.boundingMode||"all";if(!(!A&&!T)){var M;if(C==="raw")M=_.type==="group"?new t(0,0,+x.width||0,+x.height||0):_.getBoundingRect();else if(M=_.getBoundingRect(),_.needLocalTransform()){var L=_.getLocalTransform();M=M.clone(),M.applyTransform(L)}x=c(r.defaults({width:M.width,height:M.height},x),S,b);var D=_.position,P=A?x.x-M.x:0,I=T?x.y-M.y:0;_.attr("position",C==="raw"?[P,I]:[D[0]+P,D[1]+I])}}function p(_,x){return _[s[x][0]]!=null||_[s[x][1]]!=null&&_[s[x][2]]!=null}function g(_,x,S){!r.isObject(S)&&(S={});var b=S.ignoreSize;!r.isArray(b)&&(b=[b,b]);var w=T(s[0],0),A=T(s[1],1);L(s[0],_,w),L(s[1],_,A);function T(D,P){var I={},R=0,E={},k=0,B=2;if(n(D,function(N){E[N]=_[N]}),n(D,function(N){C(x,N)&&(I[N]=E[N]=x[N]),M(I,N)&&R++,M(E,N)&&k++}),b[P])return M(x,D[1])?E[D[2]]=null:M(x,D[2])&&(E[D[1]]=null),E;if(k===B||!R)return E;if(R>=B)return I;for(var F=0;F=0;_--)y=r.merge(y,p[_],!0);d.defaultOption=y}return d.defaultOption},getReferringComponents:function(d){return this.ecModel.queryComponents({mainType:d,index:this.get(d+"Index",!0),id:this.get(d+"Id",!0)})}});i(h,{registerWhenExtend:!0}),e.enableSubTypeDefaulter(h),e.enableTopologicalTravel(h,f);function f(d){var p=[];return r.each(h.getClassesByMainType(d),function(g){p=p.concat(g.prototype.dependencies||[])}),p=r.map(p,function(g){return n(g).main}),d!=="dataset"&&r.indexOf(p,"dataset")<=0&&p.unshift("dataset"),p}r.mixin(h,u);var c=h;return h_=c,h_}var f_,cN;function jpe(){if(cN)return f_;cN=1;var r="";typeof navigator<"u"&&(r=navigator.platform||"");var t={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:r.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};return f_=t,f_}var c_,dN;function H9(){if(dN)return c_;dN=1;var r=_t(),t=r.makeInner,e=r.normalizeToArray,a=t();function i(o,s){for(var l=o.length,u=0;us)return o[u];return o[l-1]}var n={clearColorPalette:function(){a(this).colorIdx=0,a(this).colorNameMap={}},getColorFromPalette:function(o,s,l){s=s||this;var u=a(s),v=u.colorIdx||0,h=u.colorNameMap=u.colorNameMap||{};if(h.hasOwnProperty(o))return h[o];var f=e(this.get("color",!0)),c=this.get("colorLayer",!0),d=l==null||!c?f:i(c,l);if(d=d||f,!(!d||!d.length)){var p=d[v];return o&&(h[o]=p),u.colorIdx=(v+1)%d.length,p}}};return c_=n,c_}var Pi={},Ri={},pN;function hf(){if(pN)return Ri;pN=1;var r="original",t="arrayRows",e="objectRows",a="keyedColumns",i="unknown",n="typedArray",o="column",s="row";return Ri.SOURCE_FORMAT_ORIGINAL=r,Ri.SOURCE_FORMAT_ARRAY_ROWS=t,Ri.SOURCE_FORMAT_OBJECT_ROWS=e,Ri.SOURCE_FORMAT_KEYED_COLUMNS=a,Ri.SOURCE_FORMAT_UNKNOWN=i,Ri.SOURCE_FORMAT_TYPED_ARRAY=n,Ri.SERIES_LAYOUT_BY_COLUMN=o,Ri.SERIES_LAYOUT_BY_ROW=s,Ri}var d_,gN;function ff(){if(gN)return d_;gN=1;var r=ie(),t=r.createHashMap,e=r.isTypedArray,a=Dn(),i=a.enableClassCheck,n=hf(),o=n.SOURCE_FORMAT_ORIGINAL,s=n.SERIES_LAYOUT_BY_COLUMN,l=n.SOURCE_FORMAT_UNKNOWN,u=n.SOURCE_FORMAT_TYPED_ARRAY,v=n.SOURCE_FORMAT_KEYED_COLUMNS;function h(c){this.fromDataset=c.fromDataset,this.data=c.data||(c.sourceFormat===v?{}:[]),this.sourceFormat=c.sourceFormat||l,this.seriesLayoutBy=c.seriesLayoutBy||s,this.dimensionsDefine=c.dimensionsDefine,this.encodeDefine=c.encodeDefine&&t(c.encodeDefine),this.startIndex=c.startIndex||0,this.dimensionsDetectCount=c.dimensionsDetectCount}h.seriesDataToSource=function(c){return new h({data:c,sourceFormat:e(c)?u:o,fromDataset:!1})},i(h);var f=h;return d_=f,d_}var mN;function Ln(){if(mN)return Pi;mN=1;var r=It();r.__DEV__;var t=_t(),e=t.makeInner,a=t.getDataItemValue,i=ie(),n=i.createHashMap,o=i.each,s=i.map,l=i.isArray,u=i.isString,v=i.isObject,h=i.isTypedArray,f=i.isArrayLike,c=i.extend;i.assert;var d=ff(),p=hf(),g=p.SOURCE_FORMAT_ORIGINAL,m=p.SOURCE_FORMAT_ARRAY_ROWS,y=p.SOURCE_FORMAT_OBJECT_ROWS,_=p.SOURCE_FORMAT_KEYED_COLUMNS,x=p.SOURCE_FORMAT_UNKNOWN,S=p.SOURCE_FORMAT_TYPED_ARRAY,b=p.SERIES_LAYOUT_BY_ROW,w={Must:1,Might:2,Not:3},A=e();function T(N){var O=N.option.source,z=x;if(h(O))z=S;else if(l(O)){O.length===0&&(z=m);for(var G=0,q=O.length;G=0;B--)p.isIdInner(E[B])&&E.splice(B,1);R[k]=E}}),delete R[b],R},getTheme:function(){return this._theme},getComponent:function(R,E){var k=this._componentsMap.get(R);if(k)return k[E||0]},queryComponents:function(R){var E=R.mainType;if(!E)return[];var k=R.index,B=R.id,F=R.name,V=this._componentsMap.get(E);if(!V||!V.length)return[];var N;if(k!=null)n(k)||(k=[k]),N=a(i(k,function(G){return V[G]}),function(G){return!!G});else if(B!=null){var O=n(B);N=a(V,function(G){return O&&o(B,G.id)>=0||!O&&G.id===B})}else if(F!=null){var z=n(F);N=a(V,function(G){return z&&o(F,G.name)>=0||!z&&G.name===F})}else N=V.slice();return P(N,R)},findComponents:function(R){var E=R.query,k=R.mainType,B=V(E),F=B?this.queryComponents(B):this._componentsMap.get(k);return N(P(F,R));function V(O){var z=k+"Index",G=k+"Id",q=k+"Name";return O&&(O[z]!=null||O[G]!=null||O[q]!=null)?{mainType:k,index:O[z],id:O[G],name:O[q]}:null}function N(O){return R.filter?a(O,R.filter):O}},eachComponent:function(R,E,k){var B=this._componentsMap;if(typeof R=="function")k=E,E=R,B.each(function(V,N){e(V,function(O,z){E.call(k,N,O,z)})});else if(l(R))e(B.get(R),E,k);else if(s(R)){var F=this.findComponents(R);e(F,E,k)}},getSeriesByName:function(R){var E=this._componentsMap.get("series");return a(E,function(k){return k.name===R})},getSeriesByIndex:function(R){return this._componentsMap.get("series")[R]},getSeriesByType:function(R){var E=this._componentsMap.get("series");return a(E,function(k){return k.subType===R})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(R,E){e(this._seriesIndices,function(k){var B=this._componentsMap.get("series")[k];R.call(E,B,k)},this)},eachRawSeries:function(R,E){e(this._componentsMap.get("series"),R,E)},eachSeriesByType:function(R,E,k){e(this._seriesIndices,function(B){var F=this._componentsMap.get("series")[B];F.subType===R&&E.call(k,F,B)},this)},eachRawSeriesByType:function(R,E,k){return e(this.getSeriesByType(R),E,k)},isSeriesFiltered:function(R){return this._seriesIndicesMap.get(R.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(R,E){var k=a(this._componentsMap.get("series"),R,E);D(this,k)},restoreData:function(R){var E=this._componentsMap;D(this,E.get("series"));var k=[];E.each(function(B,F){k.push(F)}),m.topologicalTravel(k,m.getAllClassMainTypes(),function(B,F){e(E.get(B),function(V){(B!=="series"||!A(V,R))&&V.restoreData()})})}});function A(R,E){if(E){var k=E.seiresIndex,B=E.seriesId,F=E.seriesName;return k!=null&&R.componentIndex!==k||B!=null&&R.id!==B||F!=null&&R.name!==F}}function T(R,E){var k=R.color&&!R.colorLayer;e(E,function(B,F){F==="colorLayer"&&k||m.hasClass(F)||(typeof B=="object"?R[F]=R[F]?f(R[F],B,!1):h(B):R[F]==null&&(R[F]=B))})}function C(R){R=R,this.option={},this.option[b]=1,this._componentsMap=u({series:[]}),this._seriesIndices,this._seriesIndicesMap,T(R,this._theme.option),f(R,y,!1),this.mergeOption(R)}function M(R,E){n(E)||(E=E?[E]:[]);var k={};return e(E,function(B){k[B]=(R.get(B)||[]).slice()}),k}function L(R,E,k){var B=E.type?E.type:k?k.subType:m.determineSubType(R,E);return B}function D(R,E){R._seriesIndicesMap=u(R._seriesIndices=i(E,function(k){return k.componentIndex})||[])}function P(R,E){return E.hasOwnProperty("subType")?a(R,function(k){return k.subType===E.subType}):R}d(w,_);var I=w;return p_=I,p_}var g_,_N;function W9(){if(_N)return g_;_N=1;var r=ie(),t=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function e(i){r.each(t,function(n){this[n]=r.bind(i[n],i)},this)}var a=e;return g_=a,g_}var m_,xN;function bi(){if(xN)return m_;xN=1;var r=ie(),t={};function e(){this._coordinateSystems=[]}e.prototype={constructor:e,create:function(i,n){var o=[];r.each(t,function(s,l){var u=s.create(i,n);o=o.concat(u||[])}),this._coordinateSystems=o},update:function(i,n){r.each(this._coordinateSystems,function(o){o.update&&o.update(i,n)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},e.register=function(i,n){t[i]=n},e.get=function(i){return t[i]};var a=e;return m_=a,m_}var y_,SN;function Jpe(){if(SN)return y_;SN=1;var r=ie(),t=_t(),e=Lr(),a=r.each,i=r.clone,n=r.map,o=r.merge,s=/^(min|max)?(.+)$/;function l(p){this._api=p,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}l.prototype={constructor:l,setOption:function(p,g){p&&r.each(t.normalizeToArray(p.series),function(_){_&&_.data&&r.isTypedArray(_.data)&&r.setAsPrimitive(_.data)}),p=i(p);var m=this._optionBackup,y=u.call(this,p,g,!m);this._newBaseOption=y.baseOption,m?(c(m.baseOption,y.baseOption),y.timelineOptions.length&&(m.timelineOptions=y.timelineOptions),y.mediaList.length&&(m.mediaList=y.mediaList),y.mediaDefault&&(m.mediaDefault=y.mediaDefault)):this._optionBackup=y},mountOption:function(p){var g=this._optionBackup;return this._timelineOptions=n(g.timelineOptions,i),this._mediaList=n(g.mediaList,i),this._mediaDefault=i(g.mediaDefault),this._currentMediaIndices=[],i(p?g.baseOption:this._newBaseOption)},getTimelineOption:function(p){var g,m=this._timelineOptions;if(m.length){var y=p.getComponent("timeline");y&&(g=i(m[y.getCurrentIndex()],!0))}return g},getMediaOption:function(p){var g=this._api.getWidth(),m=this._api.getHeight(),y=this._mediaList,_=this._mediaDefault,x=[],S=[];if(!y.length&&!_)return S;for(var b=0,w=y.length;b=g:m==="max"?p<=g:p===g}function f(p,g){return p.join(",")===g.join(",")}function c(p,g){g=g||{},a(g,function(m,y){if(m!=null){var _=p[y];if(!e.hasClass(y))p[y]=o(_,m,!0);else{m=t.normalizeToArray(m),_=t.normalizeToArray(_);var x=t.mappingToExists(_,m);p[y]=n(x,function(S){return S.option&&S.exist?o(S.exist,S.option,!0):S.exist||S.option})}}})}var d=l;return y_=d,y_}var __,bN;function ege(){if(bN)return __;bN=1;var r=ie(),t=_t(),e=r.each,a=r.isObject,i=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function n(d){var p=d&&d.itemStyle;if(p)for(var g=0,m=i.length;g=0;S--){var b=n[S];if(f||(_=b.data.rawIndexOf(b.stackedByDimension,y)),_>=0){var w=b.data.getByRawIndex(b.stackResultDimension,_);if(m>=0&&w>0||m<=0&&w<0){m+=w,x=w;break}}}return l[0]=m,l[1]=x,l});h.hostModel.setData(c),o.data=c})}return S_=a,S_}var bl={},AN;function Ys(){if(AN)return bl;AN=1;var r=It();r.__DEV__;var t=ie();t.isTypedArray;var e=t.extend;t.assert;var a=t.each,i=t.isObject,n=_t(),o=n.getDataItemValue,s=n.isDataItemOption,l=st(),u=l.parseDate,v=ff(),h=hf(),f=h.SOURCE_FORMAT_TYPED_ARRAY,c=h.SOURCE_FORMAT_ARRAY_ROWS,d=h.SOURCE_FORMAT_ORIGINAL,p=h.SOURCE_FORMAT_OBJECT_ROWS;function g(D,P){v.isInstance(D)||(D=v.seriesDataToSource(D)),this._source=D;var I=this._data=D.data,R=D.sourceFormat;R===f&&(this._offset=0,this._dimSize=P,this._data=I);var E=y[R===c?R+"_"+D.seriesLayoutBy:R];e(this,E)}var m=g.prototype;m.pure=!1,m.persistent=!0,m.getSource=function(){return this._source};var y={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(D){return this._data[D+this._source.startIndex]},appendData:S},arrayRows_row:{pure:!0,count:function(){var D=this._data[0];return D?Math.max(0,D.length-this._source.startIndex):0},getItem:function(D){D+=this._source.startIndex;for(var P=[],I=this._data,R=0;R=1)&&(C=1),C}var _;(this._dirty||c==="reset")&&(this._dirty=!1,_=l(this,h)),this._modBy=g,this._modDataCount=m;var x=u&&u.step;if(v?this._dueEnd=v._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var S=this._dueIndex,b=Math.min(x!=null?this._dueIndex+x:1/0,this._dueEnd);if(!h&&(_||S1&&f>0?g:p}};return d;function p(){return v=u?null:m":"\n",O=F==="richText",z={},G=0;function q(ve){var ye=t.reduce(ve,function(me,xe,ge){var pe=U.getDimensionInfo(ge);return me|=pe&&pe.tooltip!==!1&&pe.displayName!=null},0),Me=[];W.length?t.each(W,function(me){J(S(U,E,me),me)}):t.each(ve,J);function J(me,xe){var ge=U.getDimensionInfo(xe);if(!(!ge||ge.otherDims.tooltip===!1)){var pe=ge.type,Ce="sub"+V.seriesIndex+"at"+G,ze=s({color:Q,type:"subItem",renderMode:F,markerId:Ce}),Ve=typeof ze=="string"?ze:ze.content,ke=(ye?Ve+n(ge.displayName||"-")+": ":"")+n(pe==="ordinal"?me+"":pe==="time"?k?"":i("yyyy/MM/dd hh:mm:ss",me):o(me));ke&&Me.push(ke),O&&(z[Ce]=Q,++G)}}var ne=ye?O?"\n":"
":"",ue=ne+Me.join(ne||", ");return{renderMode:F,content:ue,style:z}}function H(ve){return{renderMode:F,content:n(o(ve)),style:z}}var U=this.getData(),W=U.mapDimension("defaultedTooltip",!0),Y=W.length,X=this.getRawValue(E),K=t.isArray(X),Q=U.getItemVisual(E,"color");t.isObject(Q)&&Q.colorStops&&(Q=(Q.colorStops[0]||{}).color),Q=Q||"transparent";var j=Y>1||K&&!Y?q(X):H(Y?S(U,E,W[0]):K?X[0]:X),te=j.content,Z=V.seriesIndex+"at"+G,ee=s({color:Q,type:"item",renderMode:F,markerId:Z});z[Z]=Q,++G;var le=U.getName(E),oe=this.name;l.isNameSpecified(this)||(oe=""),oe=oe?n(oe)+(k?": ":N):"";var fe=typeof ee=="string"?ee:ee.content,se=k?fe+oe+te:oe+fe+(le?n(le)+": "+te:te);return{html:se,markers:z}},isAnimationEnabled:function(){if(e.node)return!1;var E=this.getShallow("animation");return E&&this.getData().count()>this.getShallow("animationThreshold")&&(E=!1),E},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(E,k,B){var F=this.ecModel,V=v.getColorFromPalette.call(this,E,k,B);return V||(V=F.getColorFromPalette(E,k,B)),V},coordDimToDataDim:function(E){return this.getRawData().mapDimension(E,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});t.mixin(w,h),t.mixin(w,v);function A(E){var k=E.name;l.isNameSpecified(E)||(E.name=T(E)||k)}function T(E){var k=E.getRawData(),B=k.mapDimension("seriesName",!0),F=[];return t.each(B,function(V){var N=k.getDimensionInfo(V);N.displayName&&F.push(N.displayName)}),F.join(" ")}function C(E){return E.model.getRawData().count()}function M(E){var k=E.model;return k.setData(k.getRawData().cloneShallow()),L}function L(E,k){k.outputData&&E.end>k.outputData.count()&&k.model.getRawData().cloneShallow(k.outputData)}function D(E,k){t.each(E.CHANGABLE_METHODS,function(B){E.wrapMethod(B,t.curry(P,k))})}function P(E){var k=I(E);k&&k.setOutputEnd(this.count())}function I(E){var k=(E.ecModel||{}).scheduler,B=k&&k.getPipeline(E.uid);if(B){var F=B.currentTask;if(F){var V=F.agentStubMap;V&&(F=V.get(E.uid))}return F}}var R=w;return T_=R,T_}var A_,LN;function fg(){if(LN)return A_;LN=1;var r=Us(),t=vf(),e=Dn(),a=function(){this.group=new r,this.uid=t.getUID("viewComponent")};a.prototype={constructor:a,init:function(o,s){},render:function(o,s,l,u){},dispose:function(){},filterForExposedEvent:null};var i=a.prototype;i.updateView=i.updateLayout=i.updateVisual=function(o,s,l,u){},e.enableClassExtend(a),e.enableClassManagement(a,{registerWhenExtend:!0});var n=a;return A_=n,A_}var C_,IN;function Cu(){if(IN)return C_;IN=1;var r=_t(),t=r.makeInner;function e(){var a=t();return function(i){var n=a(i),o=i.pipelineContext,s=n.large,l=n.progressiveRender,u=n.large=o&&o.large,v=n.progressiveRender=o&&o.progressiveRender;return!!(s^u||l^v)&&"reset"}}return C_=e,C_}var M_,PN;function tn(){if(PN)return M_;PN=1;var r=ie(),t=r.each,e=Us(),a=vf(),i=Dn(),n=_t(),o=qe(),s=iD(),l=s.createTask,u=Cu(),v=n.makeInner(),h=u();function f(){this.group=new e,this.uid=a.getUID("viewChart"),this.renderTask=l({plan:g,reset:m}),this.renderTask.context={view:this}}f.prototype={type:"chart",init:function(x,S){},render:function(x,S,b,w){},highlight:function(x,S,b,w){p(x.getData(),w,"emphasis")},downplay:function(x,S,b,w){p(x.getData(),w,"normal")},remove:function(x,S){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var c=f.prototype;c.updateView=c.updateLayout=c.updateVisual=function(x,S,b,w){this.render(x,S,b,w)};function d(x,S,b){if(x&&(x.trigger(S,b),x.isGroup&&!o.isHighDownDispatcher(x)))for(var w=0,A=x.childCount();w=0?m():f=setTimeout(m,-c),v=u};return y.clear=function(){f&&(clearTimeout(f),f=null)},y.debounceNextCall=function(_){g=_},y}function i(o,s,l,u){var v=o[s];if(v){var h=v[r]||v,f=v[e],c=v[t];if(c!==l||f!==u){if(l==null||!u)return o[s]=h;v=o[s]=a(h,l,u==="debounce"),v[r]=h,v[e]=u,v[t]=l}return v}}function n(o,s){var l=o[s];l&&l[r]&&(o[s]=l[r])}return dv.throttle=a,dv.createOrUpdate=i,dv.clear=n,dv}var D_,EN;function age(){if(EN)return D_;EN=1;var r=hg(),t=ie(),e=t.isFunction,a={createOnAllSeries:!0,performRawSeries:!0,reset:function(i,n){var o=i.getData(),s=(i.visualColorAccessPath||"itemStyle.color").split("."),l=i.get(s),u=e(l)&&!(l instanceof r)?l:null;(!l||u)&&(l=i.getColorFromPalette(i.name,null,n.getSeriesCount())),o.setVisual("color",l);var v=(i.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),h=i.get(v);if(o.setVisual("borderColor",h),!n.isSeriesFiltered(i)){u&&o.each(function(c){o.setItemVisual(c,"color",u(i.getDataParams(c)))});var f=function(c,d){var p=c.getItemModel(d),g=p.get(s,!0),m=p.get(v,!0);g!=null&&c.setItemVisual(d,"color",g),m!=null&&c.setItemVisual(d,"borderColor",m)};return{dataEach:o.hasItemOption?f:null}}}};return D_=a,D_}var L_,kN;function xo(){if(kN)return L_;kN=1;var r={legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};return L_=r,L_}var I_,ON;function ige(){if(ON)return I_;ON=1;var r=ie(),t=xo(),e=Ys(),a=e.retrieveRawValue;function i(n,o){var s=o.getModel("aria");if(s.get("show")){if(s.get("description")){n.setAttribute("aria-label",s.get("description"));return}}else return;var l=0;o.eachSeries(function(x,S){++l},this);var u=s.get("data.maxCount")||10,v=s.get("series.maxCount")||10,h=Math.min(l,v),f;if(l<1)return;var c=y();c?f=g(m("general.withTitle"),{title:c}):f=m("general.withoutTitle");var d=[],p=l>1?"series.multiple.prefix":"series.single.prefix";f+=g(m(p),{seriesCount:l}),o.eachSeries(function(x,S){if(S1?"multiple":"single")+".";b=m(w?A+"withName":A+"withoutName"),b=g(b,{seriesId:x.seriesIndex,seriesName:x.get("name"),seriesType:_(x.subType)});var T=x.getData();window.data=T,T.count()>u?b+=g(m("data.partialData"),{displayCnt:u}):b+=m("data.allData");for(var C=[],M=0;MN.blockIndex,G=z?N.step:null,q=O&&O.modDataCount,H=q!=null?Math.ceil(q/G):null;return{step:G,modBy:H,modDataCount:q}}},p.getPipeline=function(F){return this._pipelineMap.get(F)},p.updateStreamModes=function(F,V){var N=this._pipelineMap.get(F.uid),O=F.getData(),z=O.count(),G=N.progressiveEnabled&&V.incrementalPrepareRender&&z>=N.threshold,q=F.get("large")&&z>=F.get("largeThreshold"),H=F.get("progressiveChunkMode")==="mod"?z:null;F.pipelineContext=N.context={progressiveRender:G,modDataCount:H,large:q}},p.restorePipelines=function(F){var V=this,N=V._pipelineMap=i();F.eachSeries(function(O){var z=O.getProgressive(),G=O.uid;N.set(G,{id:G,head:null,tail:null,threshold:O.getProgressiveThreshold(),progressiveEnabled:z&&!(O.preventIncremental&&O.preventIncremental()),blockIndex:-1,step:Math.round(z||700),count:0}),D(V,O,O.dataTask)})},p.prepareStageTasks=function(){var F=this._stageTaskMap,V=this.ecInstance.getModel(),N=this.api;t(this._allHandlers,function(O){var z=F.get(O.uid)||F.set(O.uid,[]);O.reset&&y(this,O,z,V,N),O.overallReset&&_(this,O,z,V,N)},this)},p.prepareView=function(F,V,N,O){var z=F.renderTask,G=z.context;G.model=V,G.ecModel=N,G.api=O,z.__block=!F.incrementalPrepareRender,D(this,V,z)},p.performDataProcessorTasks=function(F,V){g(this,this._dataProcessorHandlers,F,V,{block:!0})},p.performVisualTasks=function(F,V,N){g(this,this._visualHandlers,F,V,N)};function g(F,V,N,O,z){z=z||{};var G;t(V,function(H,U){if(!(z.visualType&&z.visualType!==H.visualType)){var W=F._stageTaskMap.get(H.uid),Y=W.seriesTaskMap,X=W.overallTask;if(X){var K,Q=X.agentStubMap;Q.each(function(te){q(z,te)&&(te.dirty(),K=!0)}),K&&X.dirty(),m(X,O);var j=F.getPerformArgs(X,z.block);Q.each(function(te){te.perform(j)}),G|=X.perform(j)}else Y&&Y.each(function(te,Z){q(z,te)&&te.dirty();var ee=F.getPerformArgs(te,z.block);ee.skip=!H.performRawSeries&&N.isSeriesFiltered(te.context.model),m(te,O),G|=te.perform(ee)})}});function q(H,U){return H.setDirty&&(!H.dirtyMap||H.dirtyMap.get(U.__pipeline.id))}F.unfinished|=G}p.performSeriesTasks=function(F){var V;F.eachSeries(function(N){V|=N.dataTask.perform()}),this.unfinished|=V},p.plan=function(){this._pipelineMap.each(function(F){var V=F.tail;do{if(V.__block){F.blockIndex=V.__idxInPipeline;break}V=V.getUpstream()}while(V)})};var m=p.updatePayload=function(F,V){V!=="remain"&&(F.context.payload=V)};function y(F,V,N,O,z){var G=N.seriesTaskMap||(N.seriesTaskMap=i()),q=V.seriesType,H=V.getTargetSeries;V.createOnAllSeries?O.eachRawSeries(U):q?O.eachRawSeriesByType(q,U):H&&H(O,z).each(U);function U(Y){var X=Y.uid,K=G.get(X)||G.set(X,s({plan:A,reset:T,count:L}));K.context={model:Y,ecModel:O,api:z,useClearVisual:V.isVisual&&!V.isLayout,plan:V.plan,reset:V.reset,scheduler:F},D(F,Y,K)}var W=F._pipelineMap;G.each(function(Y,X){W.get(X)||(Y.dispose(),G.removeKey(X))})}function _(F,V,N,O,z){var G=N.overallTask=N.overallTask||s({reset:x});G.context={ecModel:O,api:z,overallReset:V.overallReset,scheduler:F};var q=G.agentStubMap=G.agentStubMap||i(),H=V.seriesType,U=V.getTargetSeries,W=!0,Y=V.modifyOutputEnd;H?O.eachRawSeriesByType(H,X):U?U(O,z).each(X):(W=!1,t(O.getSeries(),X));function X(Q){var j=Q.uid,te=q.get(j);te||(te=q.set(j,s({reset:S,onDirty:w})),G.dirty()),te.context={model:Q,overallProgress:W,modifyOutputEnd:Y},te.agent=G,te.__block=W,D(F,Q,te)}var K=F._pipelineMap;q.each(function(Q,j){K.get(j)||(Q.dispose(),G.dirty(),q.removeKey(j))})}function x(F){F.overallReset(F.ecModel,F.api,F.payload)}function S(F,V){return F.overallProgress&&b}function b(){this.agent.dirty(),this.getDownstream().dirty()}function w(){this.agent&&this.agent.dirty()}function A(F){return F.plan&&F.plan(F.model,F.ecModel,F.api,F.payload)}function T(F){F.useClearVisual&&F.data.clearAllVisual();var V=F.resetDefines=c(F.reset(F.model,F.ecModel,F.api,F.payload));return V.length>1?e(V,function(N,O){return M(O)}):C}var C=M(0);function M(F){return function(V,N){var O=N.data,z=N.resetDefines[F];if(z&&z.dataEach)for(var G=V.start;G=4&&(X={x:parseFloat(Q[0]||0),y:parseFloat(Q[1]||0),width:parseFloat(Q[2]),height:parseFloat(Q[3])})}if(X&&U!=null&&W!=null&&(K=V(X,U,W),!z.ignoreViewBox)){var j=q;q=new r,q.add(j),j.scale=K.scale.slice(),j.position=K.position.slice()}return!z.ignoreRootClip&&U!=null&&W!=null&&q.setClipPath(new i({shape:{x:0,y:0,width:U,height:W}})),{root:q,width:U,height:W,viewBoxRect:X,viewBoxTransform:K}},w.prototype._parseNode=function(O,z){var G=O.nodeName.toLowerCase();G==="defs"?this._isDefine=!0:G==="text"&&(this._isText=!0);var q;if(this._isDefine){var H=T[G];if(H){var U=H.call(this,O),W=O.getAttribute("id");W&&(this._defs[W]=U)}}else{var H=A[G];H&&(q=H.call(this,O,z),z.add(q))}for(var Y=O.firstChild;Y;)Y.nodeType===1&&this._parseNode(Y,q),Y.nodeType===3&&this._isText&&this._parseText(Y,q),Y=Y.nextSibling;G==="defs"?this._isDefine=!1:G==="text"&&(this._isText=!1)},w.prototype._parseText=function(O,z){if(O.nodeType===1){var G=O.getAttribute("dx")||0,q=O.getAttribute("dy")||0;this._textX+=parseFloat(G),this._textY+=parseFloat(q)}var H=new e({style:{text:O.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});M(z,H),P(O,H,this._defs);var U=H.style.fontSize;U&&U<9&&(H.style.fontSize=9,H.scale=H.scale||[1,1],H.scale[0]*=U/9,H.scale[1]*=U/9);var W=H.getBoundingRect();return this._textX+=W.width,z.add(H),H};var A={g:function(O,z){var G=new r;return M(z,G),P(O,G,this._defs),G},rect:function(O,z){var G=new i;return M(z,G),P(O,G,this._defs),G.setShape({x:parseFloat(O.getAttribute("x")||0),y:parseFloat(O.getAttribute("y")||0),width:parseFloat(O.getAttribute("width")||0),height:parseFloat(O.getAttribute("height")||0)}),G},circle:function(O,z){var G=new a;return M(z,G),P(O,G,this._defs),G.setShape({cx:parseFloat(O.getAttribute("cx")||0),cy:parseFloat(O.getAttribute("cy")||0),r:parseFloat(O.getAttribute("r")||0)}),G},line:function(O,z){var G=new o;return M(z,G),P(O,G,this._defs),G.setShape({x1:parseFloat(O.getAttribute("x1")||0),y1:parseFloat(O.getAttribute("y1")||0),x2:parseFloat(O.getAttribute("x2")||0),y2:parseFloat(O.getAttribute("y2")||0)}),G},ellipse:function(O,z){var G=new n;return M(z,G),P(O,G,this._defs),G.setShape({cx:parseFloat(O.getAttribute("cx")||0),cy:parseFloat(O.getAttribute("cy")||0),rx:parseFloat(O.getAttribute("rx")||0),ry:parseFloat(O.getAttribute("ry")||0)}),G},polygon:function(O,z){var G=O.getAttribute("points");G&&(G=L(G));var q=new l({shape:{points:G||[]}});return M(z,q),P(O,q,this._defs),q},polyline:function(O,z){var G=new s;M(z,G),P(O,G,this._defs);var q=O.getAttribute("points");q&&(q=L(q));var H=new u({shape:{points:q||[]}});return H},image:function(O,z){var G=new t;return M(z,G),P(O,G,this._defs),G.setStyle({image:O.getAttribute("xlink:href"),x:O.getAttribute("x"),y:O.getAttribute("y"),width:O.getAttribute("width"),height:O.getAttribute("height")}),G},text:function(O,z){var G=O.getAttribute("x")||0,q=O.getAttribute("y")||0,H=O.getAttribute("dx")||0,U=O.getAttribute("dy")||0;this._textX=parseFloat(G)+parseFloat(H),this._textY=parseFloat(q)+parseFloat(U);var W=new r;return M(z,W),P(O,W,this._defs),W},tspan:function(O,z){var G=O.getAttribute("x"),q=O.getAttribute("y");G!=null&&(this._textX=parseFloat(G)),q!=null&&(this._textY=parseFloat(q));var H=O.getAttribute("dx")||0,U=O.getAttribute("dy")||0,W=new r;return M(z,W),P(O,W,this._defs),this._textX+=H,this._textY+=U,W},path:function(O,z){var G=O.getAttribute("d")||"",q=d(G);return M(z,q),P(O,q,this._defs),q}},T={lineargradient:function(O){var z=parseInt(O.getAttribute("x1")||0,10),G=parseInt(O.getAttribute("y1")||0,10),q=parseInt(O.getAttribute("x2")||10,10),H=parseInt(O.getAttribute("y2")||0,10),U=new v(z,G,q,H);return C(O,U),U},radialgradient:function(O){}};function C(O,z){for(var G=O.firstChild;G;){if(G.nodeType===1){var q=G.getAttribute("offset");q.indexOf("%")>0?q=parseInt(q,10)/100:q?q=parseFloat(q):q=0;var H=G.getAttribute("stop-color")||"#000000";z.addColorStop(q,H)}G=G.nextSibling}}function M(O,z){O&&O.__inheritedStyle&&(z.__inheritedStyle||(z.__inheritedStyle={}),y(z.__inheritedStyle,O.__inheritedStyle))}function L(O){for(var z=_(O).split(S),G=[],q=0;q0;U-=2){var W=H[U],Y=H[U-1];switch(q=q||f.create(),Y){case"translate":W=_(W).split(S),f.translate(q,q,[parseFloat(W[0]),parseFloat(W[1]||0)]);break;case"scale":W=_(W).split(S),f.scale(q,q,[parseFloat(W[0]),parseFloat(W[1]||W[0])]);break;case"rotate":W=_(W).split(S),f.rotate(q,q,parseFloat(W[0]));break;case"skew":W=_(W).split(S),console.warn("Skew transform is not supported yet");break;case"matrix":var W=_(W).split(S);q[0]=parseFloat(W[0]),q[1]=parseFloat(W[1]),q[2]=parseFloat(W[2]),q[3]=parseFloat(W[3]),q[4]=parseFloat(W[4]),q[5]=parseFloat(W[5]);break}}z.setLocalTransform(q)}}var B=/([^\s:;]+)\s*:\s*([^:;]+)/g;function F(O){var z=O.getAttribute("style"),G={};if(!z)return G;var q={};B.lastIndex=0;for(var H;(H=B.exec(z))!=null;)q[H[1]]=H[2];for(var U in D)D.hasOwnProperty(U)&&q[U]!=null&&(G[D[U]]=q[U]);return G}function V(O,z,G){var q=z/O.width,H=G/O.height,U=Math.min(q,H),W=[U,U],Y=[-(O.x+O.width/2)*U+z/2,-(O.y+O.height/2)*U+G/2];return{scale:W,position:Y}}function N(O,z){var G=new w;return G.parse(O,z)}return pv.parseXML=b,pv.makeViewBoxTransform=V,pv.parseSVG=N,pv}var N_,WN;function nD(){if(WN)return N_;WN=1;var r=It();r.__DEV__;var t=ie(),e=t.createHashMap,a=t.isString,i=t.isArray,n=t.each;t.assert;var o=$9(),s=o.parseXML,l=e(),u={registerMap:function(h,f,c){var d;return i(f)?d=f:f.svg?d=[{type:"svg",source:f.svg,specialAreas:f.specialAreas}]:(f.geoJson&&!f.features&&(c=f.specialAreas,f=f.geoJson),d=[{type:"geoJSON",source:f,specialAreas:c}]),n(d,function(p){var g=p.type;g==="geoJson"&&(g=p.type="geoJSON");var m=v[g];m(p)}),l.set(h,d)},retrieveMap:function(h){return l.get(h)}},v={geoJSON:function(h){var f=h.source;h.geoJSON=a(f)?typeof JSON<"u"&&JSON.parse?JSON.parse(f):new Function("return ("+f+");")():f},svg:function(h){h.svgXML=s(h.source)}};return N_=u,N_}var Er={},Ei={},z_,UN;function Zs(){if(UN)return z_;UN=1;function r(i){return i}function t(i,n,o,s,l){this._old=i,this._new=n,this._oldKeyGetter=o||r,this._newKeyGetter=s||r,this.context=l}t.prototype={constructor:t,add:function(i){return this._add=i,this},update:function(i){return this._update=i,this},remove:function(i){return this._remove=i,this},execute:function(){var i=this._old,n=this._new,o={},s={},l=[],u=[],v;for(e(i,o,l,"_oldKeyGetter",this),e(n,s,u,"_newKeyGetter",this),v=0;v65535?g:y}function x(N){var O=N.constructor;return O===Array?N.slice():new O(N)}var S=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],b=["_extent","_approximateExtent","_rawExtent"];function w(N,O){t.each(S.concat(O.__wrappedMethods||[]),function(z){O.hasOwnProperty(z)&&(N[z]=O[z])}),N.__wrappedMethods=O.__wrappedMethods,t.each(b,function(z){N[z]=t.clone(O[z])}),N._calculationInfo=t.extend(O._calculationInfo)}var A=function(N,O){N=N||["x","y"];for(var z={},G=[],q={},H=0;Hse[1]&&(se[1]=fe)}O&&(this._nameList[te]=O[Z])}this._rawCount=this._count=Y,this._extent={},M(this)},T._initDataFromProvider=function(N,O){if(!(N>=O)){for(var z=this._chunkSize,G=this._rawData,q=this._storage,H=this.dimensions,U=H.length,W=this._dimensionInfos,Y=this._nameList,X=this._idList,K=this._rawExtent,Q=this._nameRepeatCount={},j,te=this._chunkCount,Z=0;Zne[1]&&(ne[1]=J)}if(!G.pure){var ue=Y[fe];if(oe&&ue==null){if(oe.name!=null)Y[fe]=ue=oe.name;else if(j!=null){var me=H[j],xe=q[me][se];if(xe){ue=xe[ve];var ge=W[me].ordinalMeta;ge&&ge.categories.length&&(ue=ge.categories[ue])}}}var pe=oe==null?null:oe.id;pe==null&&ue!=null&&(Q[ue]=Q[ue]||0,pe=ue,Q[ue]>0&&(pe+="__ec__"+Q[ue]),Q[ue]++),pe!=null&&(X[fe]=pe)}}!G.persistent&&G.clean&&G.clean(),this._rawCount=this._count=O,this._extent={},M(this)}};function C(N,O,z,G,q){var H=p[O.type],U=G-1,W=O.name,Y=N[W][U];if(Y&&Y.length=0&&O=0&&OW&&(W=X)}return H=[U,W],this._extent[N]=H,H},T.getApproximateExtent=function(N){return N=this.getDimension(N),this._approximateExtent[N]||this.getDataExtent(N)},T.setApproximateExtent=function(N,O){O=this.getDimension(O),this._approximateExtent[O]=N.slice()},T.getCalculationInfo=function(N){return this._calculationInfo[N]},T.setCalculationInfo=function(N,O){h(N)?t.extend(this._calculationInfo,N):this._calculationInfo[N]=O},T.getSum=function(N){var O=this._storage[N],z=0;if(O)for(var G=0,q=this.count();G=this._rawCount||N<0)return-1;if(!this._indices)return N;var O=this._indices,z=O[N];if(z!=null&&zN)q=H-1;else return H}return-1},T.indicesOfNearest=function(N,O,z){var G=this._storage,q=G[N],H=[];if(!q)return H;z==null&&(z=1/0);for(var U=1/0,W=-1,Y=0,X=0,K=this.count();X=0&&W<0)&&(U=j,W=Q,Y=0),Q===W&&(H[Y++]=X))}return H.length=Y,H},T.getRawIndex=D;function D(N){return N}function P(N){return N=0?this._indices[N]:-1}T.getRawDataItem=function(N){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(N));for(var O=[],z=0;z=X&&fe<=K||isNaN(fe))&&(U[W++]=j),j++}Q=!0}else if(G===2){for(var te=this._storage[Y],se=this._storage[O[1]],ve=N[O[1]][0],ye=N[O[1]][1],Z=0;Z=X&&fe<=K||isNaN(fe))&&(J>=ve&&J<=ye||isNaN(J))&&(U[W++]=j),j++}Q=!0}}if(!Q)if(G===1)for(var oe=0;oe=X&&fe<=K||isNaN(fe))&&(U[W++]=ne)}else for(var oe=0;oeN[me][1])&&(ue=!1)}ue&&(U[W++]=this.getRawIndex(oe))}return W=0?(q[W]=k(H[W]),G._rawExtent[W]=B(),G._extent[W]=null):q[W]=H[W])}return G}function k(N){for(var O=new Array(N.length),z=0;zye[1]&&(ye[1]=ve)}}}return q},T.downSample=function(N,O,z,G){for(var q=E(this,[N]),H=q._storage,U=[],W=Math.floor(1/O),Y=H[N],X=this.count(),K=this._chunkSize,Q=q._rawExtent[N],j=new(_(this))(X),te=0,Z=0;ZX-Z&&(W=X-Z,U.length=W);for(var ee=0;eeQ[1]&&(Q[1]=se),j[te++]=ve}return q._count=te,q._indices=j,q.getRawIndex=P,q},T.getItemModel=function(N){var O=this.hostModel;return new e(this.getRawDataItem(N),O,O&&O.ecModel)},T.diff=function(N){var O=this;return new a(N?N.getIndices():[],this.getIndices(),function(z){return I(N,z)},function(z){return I(O,z)})},T.getVisual=function(N){var O=this._visual;return O&&O[N]},T.setVisual=function(N,O){if(h(N)){for(var z in N)N.hasOwnProperty(z)&&this.setVisual(z,N[z]);return}this._visual=this._visual||{},this._visual[N]=O},T.setLayout=function(N,O){if(h(N)){for(var z in N)N.hasOwnProperty(z)&&this.setLayout(z,N[z]);return}this._layout[N]=O},T.getLayout=function(N){return this._layout[N]},T.getItemLayout=function(N){return this._itemLayouts[N]},T.setItemLayout=function(N,O,z){this._itemLayouts[N]=z?t.extend(this._itemLayouts[N]||{},O):O},T.clearItemLayouts=function(){this._itemLayouts.length=0},T.getItemVisual=function(N,O,z){var G=this._itemVisuals[N],q=G&&G[O];return q==null&&!z?this.getVisual(O):q},T.setItemVisual=function(N,O,z){var G=this._itemVisuals[N]||{},q=this.hasItemVisual;if(this._itemVisuals[N]=G,h(O)){for(var H in O)O.hasOwnProperty(H)&&(G[H]=O[H],q[H]=!0);return}G[O]=z,q[O]=!0},T.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var F=function(N){N.seriesIndex=this.seriesIndex,N.dataIndex=this.dataIndex,N.dataType=this.dataType};T.setItemGraphicEl=function(N,O){var z=this.hostModel;O&&(O.dataIndex=N,O.dataType=this.dataType,O.seriesIndex=z&&z.seriesIndex,O.type==="group"&&O.traverse(F,O)),this._graphicEls[N]=O},T.getItemGraphicEl=function(N){return this._graphicEls[N]},T.eachItemGraphicEl=function(N,O){t.each(this._graphicEls,function(z,G){z&&N&&N.call(O,z,G)})},T.cloneShallow=function(N){if(!N){var O=t.map(this.dimensions,this.getDimensionInfo,this);N=new A(O,this.hostModel)}if(N._storage=this._storage,w(N,this),this._indices){var z=this._indices.constructor;N._indices=new z(this._indices)}else N._indices=null;return N.getRawIndex=N._indices?P:D,N},T.wrapMethod=function(N,O){var z=this[N];typeof z=="function"&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(N),this[N]=function(){var G=z.apply(this,arguments);return O.apply(this,[G].concat(t.slice(arguments)))})},T.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],T.CHANGABLE_METHODS=["filterSelf","selectRange"];var V=A;return V_=V,V_}var G_,XN;function Z9(){if(XN)return G_;XN=1;var r=ie(),t=r.createHashMap,e=r.each,a=r.isString,i=r.defaults,n=r.extend,o=r.isObject,s=r.clone,l=_t(),u=l.normalizeToArray,v=Ln(),h=v.guessOrdinal,f=v.BE_ORDINAL,c=ff(),d=cf(),p=d.OTHER_DIMENSIONS,g=Y9();function m(S,b,w){c.isInstance(b)||(b=c.seriesDataToSource(b)),w=w||{},S=(S||[]).slice();for(var A=(w.dimsDef||[]).slice(),T=t(),C=t(),M=[],L=y(b,S,A,w.dimCount),D=0;D=i[0]&&a<=i[1]},t.prototype.normalize=function(a){var i=this._extent;return i[1]===i[0]?.5:(a-i[0])/(i[1]-i[0])},t.prototype.scale=function(a){var i=this._extent;return a*(i[1]-i[0])+i[0]},t.prototype.unionExtent=function(a){var i=this._extent;a[0]i[1]&&(i[1]=a[1])},t.prototype.unionExtentFromData=function(a,i){this.unionExtent(a.getApproximateExtent(i))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(a,i){var n=this._extent;isNaN(a)||(n[0]=a),isNaN(i)||(n[1]=i)},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(a){this._isBlank=a},t.prototype.getLabel=null,r.enableClassExtend(t),r.enableClassManagement(t,{registerWhenExtend:!0});var e=t;return W_=e,W_}var U_,tz;function X9(){if(tz)return U_;tz=1;var r=ie(),t=r.createHashMap,e=r.isObject,a=r.map;function i(u){this.categories=u.categories||[],this._needCollect=u.needCollect,this._deduplication=u.deduplication,this._map}i.createByAxisModel=function(u){var v=u.option,h=v.data,f=h&&a(h,s);return new i({categories:f,needCollect:!f,deduplication:v.dedplication!==!1})};var n=i.prototype;n.getOrdinal=function(u){return o(this).get(u)},n.parseAndCollect=function(u){var v,h=this._needCollect;if(typeof u!="string"&&!h)return u;if(h&&!this._deduplication)return v=this.categories.length,this.categories[v]=u,v;var f=o(this);return v=f.get(u),v==null&&(h?(v=this.categories.length,this.categories[v]=u,f.set(u,v)):v=NaN),v};function o(u){return u._map||(u._map=t(u.categories))}function s(u){return e(u)&&u.value!=null?u.value:u+""}var l=i;return U_=l,U_}var $_,rz;function hge(){if(rz)return $_;rz=1;var r=ie(),t=cg(),e=X9(),a=t.prototype,i=t.extend({type:"ordinal",init:function(o,s){(!o||r.isArray(o))&&(o=new e({categories:o})),this._ordinalMeta=o,this._extent=s||[0,o.categories.length-1]},parse:function(o){return typeof o=="string"?this._ordinalMeta.getOrdinal(o):Math.round(o)},contain:function(o){return o=this.parse(o),a.contain.call(this,o)&&this._ordinalMeta.categories[o]!=null},normalize:function(o){return a.normalize.call(this,this.parse(o))},scale:function(o){return Math.round(a.scale.call(this,o))},getTicks:function(){for(var o=[],s=this._extent,l=s[0];l<=s[1];)o.push(l),l++;return o},getLabel:function(o){if(!this.isBlank())return this._ordinalMeta.categories[o]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(o,s){this.unionExtent(o.getApproximateExtent(s))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:r.noop,niceExtent:r.noop});i.create=function(){return new i};var n=i;return $_=n,$_}var yv={},az;function K9(){if(az)return yv;az=1;var r=st(),t=r.round;function e(o,s,l,u){var v={},h=o[1]-o[0],f=v.interval=r.nice(h/s,!0);l!=null&&fu&&(f=v.interval=u);var c=v.intervalPrecision=a(f),d=v.niceTickExtent=[t(Math.ceil(o[0]/f)*f,c),t(Math.floor(o[1]/f)*f,c)];return n(d,o),v}function a(o){return r.getPrecisionSafe(o)+2}function i(o,s,l){o[s]=Math.max(Math.min(o[s],l[1]),l[0])}function n(o,s){!isFinite(o[0])&&(o[0]=s[0]),!isFinite(o[1])&&(o[1]=s[1]),i(o,0,s),i(o,1,s),o[0]>o[1]&&(o[0]=o[1])}return yv.intervalScaleNiceTicks=e,yv.getIntervalPrecision=a,yv.fixExtent=n,yv}var Y_,iz;function dg(){if(iz)return Y_;iz=1;var r=st(),t=Yt(),e=cg(),a=K9(),i=r.round,n=e.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(s,l){var u=this._extent;isNaN(s)||(u[0]=parseFloat(s)),isNaN(l)||(u[1]=parseFloat(l))},unionExtent:function(s){var l=this._extent;s[0]l[1]&&(l[1]=s[1]),n.prototype.setExtent.call(this,l[0],l[1])},getInterval:function(){return this._interval},setInterval:function(s){this._interval=s,this._niceExtent=this._extent.slice(),this._intervalPrecision=a.getIntervalPrecision(s)},getTicks:function(s){var l=this._interval,u=this._extent,v=this._niceExtent,h=this._intervalPrecision,f=[];if(!l)return f;var c=1e4;u[0]c)return[];var p=f.length?f[f.length-1]:v[1];return u[1]>p&&(s?f.push(i(p+l,h)):f.push(u[1])),f},getMinorTicks:function(s){for(var l=this.getTicks(!0),u=[],v=this.getExtent(),h=1;hv[0]&&y0&&(M=M===null?D:Math.min(M,D))}A[T]=M}}return A}function d(b){var w=c(b),A=[];return r.each(b,function(T){var C=T.coordinateSystem,M=C.getBaseAxis(),L=M.getExtent(),D;if(M.type==="category")D=M.getBandWidth();else if(M.type==="value"||M.type==="time"){var P=M.dim+"_"+M.index,I=w[P],R=Math.abs(L[1]-L[0]),E=M.scale.getExtent(),k=Math.abs(E[1]-E[0]);D=I?R/k*I:R}else{var B=T.getData();D=Math.abs(L[1]-L[0])/B.count()}var F=e(T.get("barWidth"),D),V=e(T.get("barMaxWidth"),D),N=e(T.get("barMinWidth")||1,D),O=T.get("barGap"),z=T.get("barCategoryGap");A.push({bandWidth:D,barWidth:F,barMaxWidth:V,barMinWidth:N,barGap:O,barCategoryGap:z,axisKey:v(M),stackId:u(T)})}),p(A)}function p(b){var w={};r.each(b,function(T,C){var M=T.axisKey,L=T.bandWidth,D=w[M]||{bandWidth:L,remainedWidth:L,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},P=D.stacks;w[M]=D;var I=T.stackId;P[I]||D.autoWidthCount++,P[I]=P[I]||{width:0,maxWidth:0};var R=T.barWidth;R&&!P[I].width&&(P[I].width=R,R=Math.min(D.remainedWidth,R),D.remainedWidth-=R);var E=T.barMaxWidth;E&&(P[I].maxWidth=E);var k=T.barMinWidth;k&&(P[I].minWidth=k);var B=T.barGap;B!=null&&(D.gap=B);var F=T.barCategoryGap;F!=null&&(D.categoryGap=F)});var A={};return r.each(w,function(T,C){A[C]={};var M=T.stacks,L=T.bandWidth,D=e(T.categoryGap,L),P=e(T.gap,1),I=T.remainedWidth,R=T.autoWidthCount,E=(I-D)/(R+(R-1)*P);E=Math.max(E,0),r.each(M,function(V){var N=V.maxWidth,O=V.minWidth;if(V.width){var z=V.width;N&&(z=Math.min(z,N)),O&&(z=Math.max(z,O)),V.width=z,I-=z+P*z,R--}else{var z=E;N&&Nz&&(z=O),z!==E&&(V.width=z,I-=z+P*z,R--)}}),E=(I-D)/(R+(R-1)*P),E=Math.max(E,0);var k=0,B;r.each(M,function(V,N){V.width||(V.width=E),B=V,k+=V.width*(1+P)}),B&&(k-=B.width*P);var F=-k/2;r.each(M,function(V,N){A[C][N]=A[C][N]||{bandWidth:L,offset:F,width:V.width},F+=V.width*(1+P)})}),A}function g(b,w,A){if(b&&w){var T=b[v(w)];return T!=null&&A!=null&&(T=T[u(A)]),T}}function m(b,w){var A=f(b,w),T=d(A),C={};r.each(A,function(M){var L=M.getData(),D=M.coordinateSystem,P=D.getBaseAxis(),I=u(M),R=T[v(P)][I],E=R.offset,k=R.width,B=D.getOtherAxis(P),F=M.get("barMinHeight")||0;C[I]=C[I]||[],L.setLayout({bandWidth:R.bandWidth,offset:E,size:k});for(var V=L.mapDimension(B.dim),N=L.mapDimension(P.dim),O=i(L,V),z=B.isHorizontal(),G=S(P,B),q=0,H=L.count();q=0?"p":"n",X=G;O&&(C[I][W]||(C[I][W]={p:G,n:G}),X=C[I][W][Y]);var K,Q,j,te;if(z){var Z=D.dataToPoint([U,W]);K=X,Q=Z[1]+E,j=Z[0]-G,te=k,Math.abs(j)s||(R=s),{progress:E};function E(k,B){for(var F=k.count,V=new l(F*2),N=new l(F*2),O=new l(F),z,G=[],q=[],H=0,U=0;(z=k.next())!=null;)q[I]=B.get(L,z),q[1-I]=B.get(D,z),G=A.dataToPoint(q,null,G),N[H]=P?T.x+T.width:G[0],V[H++]=G[0],N[H]=P?G[1]:T.y+T.height,V[H++]=G[1],O[U++]=z;B.setLayout({largePoints:V,largeDataIndices:O,largeBackgroundPoints:N,barWidth:R,valueAxisStart:S(C,M),backgroundStart:P?T.x:T.y,valueAxisHorizontal:P})}}};function _(b){return b.coordinateSystem&&b.coordinateSystem.type==="cartesian2d"}function x(b){return b.pipelineContext&&b.pipelineContext.large}function S(b,w,A){return w.toGlobalCoord(w.dataToCoord(w.type==="log"?1:0))}return Vn.getLayoutOnAxis=h,Vn.prepareLayoutBarSeries=f,Vn.makeColumnLayout=d,Vn.retrieveColumnLayout=g,Vn.layout=m,Vn.largeLayout=y,Vn}var Z_,oz;function fge(){if(oz)return Z_;oz=1;var r=ie(),t=st(),e=Yt(),a=K9(),i=dg(),n=i.prototype,o=Math.ceil,s=Math.floor,l=1e3,u=l*60,v=u*60,h=v*24,f=function(g,m,y,_){for(;y<_;){var x=y+_>>>1;g[x][1]y&&(S=y);var b=d.length,w=f(d,S,0,b),A=d[Math.min(w,b-1)],T=A[1];if(A[0]==="year"){var C=x/T,M=t.nice(C/g,!0);T*=M}var L=this.getSetting("useUTC")?0:new Date(+_[0]||+_[1]).getTimezoneOffset()*60*1e3,D=[Math.round(o((_[0]-L)/T)*T+L),Math.round(s((_[1]-L)/T)*T+L)];a.fixExtent(D,_),this._stepLvl=A,this._interval=T,this._niceExtent=D},parse:function(g){return+t.parseDate(g)}});r.each(["contain","normalize"],function(g){c.prototype[g]=function(m){return n[g].call(this,this.parse(m))}});var d=[["hh:mm:ss",l],["hh:mm:ss",l*5],["hh:mm:ss",l*10],["hh:mm:ss",l*15],["hh:mm:ss",l*30],["hh:mm\nMM-dd",u],["hh:mm\nMM-dd",u*5],["hh:mm\nMM-dd",u*10],["hh:mm\nMM-dd",u*15],["hh:mm\nMM-dd",u*30],["hh:mm\nMM-dd",v],["hh:mm\nMM-dd",v*2],["hh:mm\nMM-dd",v*6],["hh:mm\nMM-dd",v*12],["MM-dd\nyyyy",h],["MM-dd\nyyyy",h*2],["MM-dd\nyyyy",h*3],["MM-dd\nyyyy",h*4],["MM-dd\nyyyy",h*5],["MM-dd\nyyyy",h*6],["week",h*7],["MM-dd\nyyyy",h*10],["week",h*14],["week",h*21],["month",h*31],["week",h*42],["month",h*62],["week",h*70],["quarter",h*95],["month",h*31*4],["month",h*31*5],["half-year",h*380/2],["month",h*31*8],["month",h*31*10],["year",h*380]];c.create=function(g){return new c({useUTC:g.ecModel.get("useUTC")})};var p=c;return Z_=p,Z_}var X_,sz;function Q9(){if(sz)return X_;sz=1;var r=ie(),t=cg(),e=st(),a=dg(),i=t.prototype,n=a.prototype,o=e.getPrecisionSafe,s=e.round,l=Math.floor,u=Math.ceil,v=Math.pow,h=Math.log,f=t.extend({type:"log",base:10,$constructor:function(){t.apply(this,arguments),this._originalScale=new a},getTicks:function(p){var g=this._originalScale,m=this._extent,y=g.getExtent();return r.map(n.getTicks.call(this,p),function(_){var x=e.round(v(this.base,_));return x=_===m[0]&&g.__fixMin?c(x,y[0]):x,x=_===m[1]&&g.__fixMax?c(x,y[1]):x,x},this)},getMinorTicks:n.getMinorTicks,getLabel:n.getLabel,scale:function(p){return p=i.scale.call(this,p),v(this.base,p)},setExtent:function(p,g){var m=this.base;p=h(p)/h(m),g=h(g)/h(m),n.setExtent.call(this,p,g)},getExtent:function(){var p=this.base,g=i.getExtent.call(this);g[0]=v(p,g[0]),g[1]=v(p,g[1]);var m=this._originalScale,y=m.getExtent();return m.__fixMin&&(g[0]=c(g[0],y[0])),m.__fixMax&&(g[1]=c(g[1],y[1])),g},unionExtent:function(p){this._originalScale.unionExtent(p);var g=this.base;p[0]=h(p[0])/h(g),p[1]=h(p[1])/h(g),i.unionExtent.call(this,p)},unionExtentFromData:function(p,g){this.unionExtent(p.getApproximateExtent(g))},niceTicks:function(p){p=p||10;var g=this._extent,m=g[1]-g[0];if(!(m===1/0||m<=0)){var y=e.quantity(m),_=p/m*y;for(_<=.5&&(y*=10);!isNaN(y)&&Math.abs(y)<1&&Math.abs(y)>0;)y*=10;var x=[e.round(u(g[0]/y)*y),e.round(l(g[1]/y)*y)];this._interval=y,this._niceExtent=x}},niceExtent:function(p){n.niceExtent.call(this,p);var g=this._originalScale;g.__fixMin=p.fixMin,g.__fixMax=p.fixMax}});r.each(["contain","normalize"],function(p){f.prototype[p]=function(g){return g=h(g)/h(this.base),i[p].call(this,g)}}),f.create=function(){return new f};function c(p,g){return s(p,o(g))}var d=f;return X_=d,X_}var lz;function wi(){if(lz)return oi;lz=1;var r=It();r.__DEV__;var t=ie(),e=hge(),a=dg(),i=cg(),n=st(),o=pg(),s=o.prepareLayoutBarSeries,l=o.makeColumnLayout,u=o.retrieveColumnLayout,v=rr();fge(),Q9();function h(b,w){var A=b.type,T=w.getMin(),C=w.getMax(),M=b.getExtent(),L,D,P;A==="ordinal"?L=w.getCategories().length:(D=w.get("boundaryGap"),t.isArray(D)||(D=[D||0,D||0]),typeof D[0]=="boolean"&&(D=[0,0]),D[0]=n.parsePercent(D[0],1),D[1]=n.parsePercent(D[1],1),P=M[1]-M[0]||Math.abs(M[0])),T==="dataMin"?T=M[0]:typeof T=="function"&&(T=T({min:M[0],max:M[1]})),C==="dataMax"?C=M[1]:typeof C=="function"&&(C=C({min:M[0],max:M[1]}));var I=T!=null,R=C!=null;T==null&&(T=A==="ordinal"?L?0:NaN:M[0]-D[0]*P),C==null&&(C=A==="ordinal"?L?L-1:NaN:M[1]+D[1]*P),(T==null||!isFinite(T))&&(T=NaN),(C==null||!isFinite(C))&&(C=NaN),b.setBlank(t.eqNaN(T)||t.eqNaN(C)||A==="ordinal"&&!b.getOrdinalMeta().categories.length),w.getNeedCrossZero()&&(T>0&&C>0&&!I&&(T=0),T<0&&C<0&&!R&&(C=0));var E=w.ecModel;if(E&&A==="time"){var k=s("bar",E),B;if(t.each(k,function(N){B|=N.getBaseAxis()===w.axis}),B){var F=l(k),V=f(T,C,w,F);T=V.min,C=V.max}}return{extent:[T,C],fixMin:I,fixMax:R}}function f(b,w,A,T){var C=A.axis.getExtent(),M=C[1]-C[0],L=u(T,A.axis);if(L===void 0)return{min:b,max:w};var D=1/0;t.each(L,function(B){D=Math.min(B.offset,D)});var P=-1/0;t.each(L,function(B){P=Math.max(B.offset+B.width,P)}),D=Math.abs(D),P=Math.abs(P);var I=D+P,R=w-b,E=1-(D+P)/M,k=R/E-R;return w+=k*(P/I),b-=k*(D/I),{min:b,max:w}}function c(b,w){var A=h(b,w),T=A.extent,C=w.get("splitNumber");b.type==="log"&&(b.base=w.get("logBase"));var M=b.type;b.setExtent(T[0],T[1]),b.niceExtent({splitNumber:C,fixMin:A.fixMin,fixMax:A.fixMax,minInterval:M==="interval"||M==="time"?w.get("minInterval"):null,maxInterval:M==="interval"||M==="time"?w.get("maxInterval"):null});var L=w.get("interval");L!=null&&b.setInterval&&b.setInterval(L)}function d(b,w){if(w=w||b.get("type"),w)switch(w){case"category":return new e(b.getOrdinalMeta?b.getOrdinalMeta():b.getCategories(),[1/0,-1/0]);case"value":return new a;default:return(i.getClass(w)||a).create(b)}}function p(b){var w=b.scale.getExtent(),A=w[0],T=w[1];return!(A>0&&T>0||A<0&&T<0)}function g(b){var w=b.getLabelModel().get("formatter"),A=b.type==="category"?b.scale.getExtent()[0]:null;return typeof w=="string"?(w=(function(T){return function(C){return C=b.scale.getLabel(C),T.replace("{value}",C!=null?C:"")}})(w),w):typeof w=="function"?function(T,C){return A!=null&&(C=T-A),w(m(b,T),C)}:function(T){return b.scale.getLabel(T)}}function m(b,w){return b.type==="category"?b.scale.getLabel(w):w}function y(b){var w=b.model,A=b.scale;if(!(!w.get("axisLabel.show")||A.isBlank())){var T=b.type==="category",C,M,L=A.getExtent();T?M=A.count():(C=A.getTicks(),M=C.length);var D=b.getLabelModel(),P=g(b),I,R=1;M>40&&(R=Math.ceil(M/40));for(var E=0;E>1^-(f&1),c=c>>1^-(c&1),f+=u,c+=v,u=f,v=c,l.push([f/s,c/s])}return l}function i(n,o){return e(n),r.map(r.filter(n.features,function(s){return s.geometry&&s.properties&&s.geometry.coordinates.length>0}),function(s){var l=s.properties,u=s.geometry,v=u.coordinates,h=[];u.type==="Polygon"&&h.push({type:"polygon",exterior:v[0],interiors:v.slice(1)}),u.type==="MultiPolygon"&&r.each(v,function(c){c[0]&&h.push({type:"polygon",exterior:c[0],interiors:c.slice(1)})});var f=new t(l[o||"name"],h,l.cp);return f.properties=l,f})}return e1=i,e1}var _v={},pz;function dge(){if(pz)return _v;pz=1;var r=ie(),t=Da(),e=_t(),a=e.makeInner,i=wi(),n=i.makeLabelFormatter,o=i.getOptionCategoryInterval,s=i.shouldShowAllLabels,l=a();function u(w){return w.type==="category"?h(w):d(w)}function v(w,A){return w.type==="category"?c(w,A):{ticks:w.scale.getTicks()}}function h(w){var A=w.getLabelModel(),T=f(w,A);return!A.get("show")||w.scale.isBlank()?{labels:[],labelCategoryInterval:T.labelCategoryInterval}:T}function f(w,A){var T=p(w,"labels"),C=o(A),M=g(T,C);if(M)return M;var L,D;return r.isFunction(C)?L=b(w,C):(D=C==="auto"?y(w):C,L=S(w,D)),m(T,C,{labels:L,labelCategoryInterval:D})}function c(w,A){var T=p(w,"ticks"),C=o(A),M=g(T,C);if(M)return M;var L,D;if((!A.get("show")||w.scale.isBlank())&&(L=[]),r.isFunction(C))L=b(w,C,!0);else if(C==="auto"){var P=f(w,w.getLabelModel());D=P.labelCategoryInterval,L=r.map(P.labels,function(I){return I.tickValue})}else D=C,L=S(w,D,!0);return m(T,C,{ticks:L,tickCategoryInterval:D})}function d(w){var A=w.scale.getTicks(),T=n(w);return{labels:r.map(A,function(C,M){return{formattedLabel:T(C,M),rawLabel:w.scale.getLabel(C),tickValue:C}})}}function p(w,A){return l(w)[A]||(l(w)[A]=[])}function g(w,A){for(var T=0;T40&&(P=Math.max(1,Math.floor(D/40)));for(var I=L[0],R=w.dataToCoord(I+1)-w.dataToCoord(I),E=Math.abs(R*Math.cos(C)),k=Math.abs(R*Math.sin(C)),B=0,F=0;I<=L[1];I+=P){var V=0,N=0,O=t.getBoundingRect(T(I),A.font,"center","top");V=O.width*1.3,N=O.height*1.3,B=Math.max(B,V,7),F=Math.max(F,N,7)}var z=B/E,G=F/k;isNaN(z)&&(z=1/0),isNaN(G)&&(G=1/0);var q=Math.max(0,Math.floor(Math.min(z,G))),H=l(w.model),U=w.getExtent(),W=H.lastAutoInterval,Y=H.lastTickCount;return W!=null&&Y!=null&&Math.abs(W-q)<=1&&Math.abs(Y-D)<=1&&W>q&&H.axisExtend0===U[0]&&H.axisExtend1===U[1]?q=W:(H.lastTickCount=D,H.lastAutoInterval=q,H.axisExtend0=U[0],H.axisExtend1=U[1]),q}function x(w){var A=w.getLabelModel();return{axisRotate:w.getRotate?w.getRotate():w.isHorizontal&&!w.isHorizontal()?90:0,labelRotate:A.get("rotate")||0,font:A.getFont()}}function S(w,A,T){var C=n(w),M=w.scale,L=M.getExtent(),D=w.getLabelModel(),P=[],I=Math.max((A||0)+1,1),R=L[0],E=M.count();R!==0&&I>1&&E/I>2&&(R=Math.round(Math.ceil(R/I)*I));var k=s(w),B=D.get("showMinLabel")||k,F=D.get("showMaxLabel")||k;B&&R!==L[0]&&N(L[0]);for(var V=R;V<=L[1];V+=I)N(V);F&&V-I!==L[1]&&N(L[1]);function N(O){P.push(T?O:{formattedLabel:C(O),rawLabel:M.getLabel(O),tickValue:O})}return P}function b(w,A,T){var C=w.scale,M=n(w),L=[];return r.each(C.getTicks(),function(D){var P=C.getLabel(D);A(D,P)&&L.push(T?D:{formattedLabel:M(D),rawLabel:P,tickValue:D})}),L}return _v.createAxisLabels=u,_v.createAxisTicks=v,_v.calculateCategoryInterval=_,_v}var t1,gz;function So(){if(gz)return t1;gz=1;var r=ie(),t=r.each,e=r.map,a=st(),i=a.linearMap,n=a.getPixelPrecision,o=a.round,s=dge(),l=s.createAxisTicks,u=s.createAxisLabels,v=s.calculateCategoryInterval,h=[0,1],f=function(g,m,y){this.dim=g,this.scale=m,this._extent=y||[0,0],this.inverse=!1,this.onBand=!1};f.prototype={constructor:f,contain:function(g){var m=this._extent,y=Math.min(m[0],m[1]),_=Math.max(m[0],m[1]);return g>=y&&g<=_},containData:function(g){return this.scale.contain(g)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(g){return n(g||this.scale.getExtent(),this._extent)},setExtent:function(g,m){var y=this._extent;y[0]=g,y[1]=m},dataToCoord:function(g,m){var y=this._extent,_=this.scale;return g=_.normalize(g),this.onBand&&_.type==="ordinal"&&(y=y.slice(),c(y,_.count())),i(g,h,y,m)},coordToData:function(g,m){var y=this._extent,_=this.scale;this.onBand&&_.type==="ordinal"&&(y=y.slice(),c(y,_.count()));var x=i(g,y,h,m);return this.scale.scale(x)},pointToData:function(g,m){},getTicksCoords:function(g){g=g||{};var m=g.tickModel||this.getTickModel(),y=l(this,m),_=y.ticks,x=e(_,function(b){return{coord:this.dataToCoord(b),tickValue:b}},this),S=m.get("alignWithLabel");return d(this,x,S,g.clamp),x},getMinorTicksCoords:function(){if(this.scale.type==="ordinal")return[];var g=this.model.getModel("minorTick"),m=g.get("splitNumber");m>0&&m<100||(m=5);var y=this.scale.getMinorTicks(m),_=e(y,function(x){return e(x,function(S){return{coord:this.dataToCoord(S),tickValue:S}},this)},this);return _},getViewLabels:function(){return u(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var g=this._extent,m=this.scale.getExtent(),y=m[1]-m[0]+(this.onBand?1:0);y===0&&(y=1);var _=Math.abs(g[1]-g[0]);return Math.abs(_)/y},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return v(this)}};function c(g,m){var y=g[1]-g[0],_=m,x=y/_/2;g[0]+=x,g[1]-=x}function d(g,m,y,_){var x=m.length;if(!g.onBand||y||!x)return;var S=g.getExtent(),b,w;if(x===1)m[0].coord=S[0],b=m[1]={coord:S[0]};else{var A=m[x-1].tickValue-m[0].tickValue,T=(m[x-1].coord-m[0].coord)/A;t(m,function(D){D.coord-=T/2});var C=g.scale.getExtent();w=1+C[1]-m[x-1].tickValue,b={coord:m[x-1].coord+T*w},m.push(b)}var M=S[0]>S[1];L(m[0].coord,S[0])&&(_?m[0].coord=S[0]:m.shift()),_&&L(S[0],m[0].coord)&&m.unshift({coord:S[0]}),L(S[1],b.coord)&&(_?b.coord=S[1]:m.pop()),_&&L(b.coord,S[1])&&m.push({coord:S[1]});function L(D,P){return D=o(D),P=o(P),M?D>P:D0&&ae.unfinished);ae.unfinished||this._zr.flush()}}},oe.getDom=function(){return this._dom},oe.getZr=function(){return this._zr},oe.setOption=function(ae,de,Te){if(this._disposed){this.id;return}var Le;if(R(de)&&(Te=de.lazyUpdate,Le=de.silent,de=de.notMerge),this[Q]=!0,!this._model||de){var Ee=new h(this._api),Oe=this._theme,Fe=this._model=new l;Fe.scheduler=this._scheduler,Fe.init(null,null,Oe,Ee)}this._model.setOption(ae,Zt),Te?(this[j]={silent:Le},this[Q]=!1):(ve(this),se.update.call(this),this._zr.flush(),this[j]=!1,this[Q]=!1,ne.call(this,Le),ue.call(this,Le))},oe.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},oe.getModel=function(){return this._model},oe.getOption=function(){return this._model&&this._model.getOption()},oe.getWidth=function(){return this._zr.getWidth()},oe.getHeight=function(){return this._zr.getHeight()},oe.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},oe.getRenderedCanvas=function(ae){if(n.canvasSupported){ae=ae||{},ae.pixelRatio=ae.pixelRatio||1,ae.backgroundColor=ae.backgroundColor||this._model.get("backgroundColor");var de=this._zr;return de.painter.getRenderedCanvas(ae)}},oe.getSvgDataURL=function(){if(n.svgSupported){var ae=this._zr,de=ae.storage.getDisplayList();return a.each(de,function(Te){Te.stopAnimation(!0)}),ae.painter.toDataURL()}},oe.getDataURL=function(ae){if(this._disposed){this.id;return}ae=ae||{};var de=ae.excludeComponents,Te=this._model,Le=[],Ee=this;P(de,function(Fe){Te.eachComponent({mainType:Fe},function(Qe){var We=Ee._componentsMap[Qe.__viewId];We.group.ignore||(Le.push(We),We.group.ignore=!0)})});var Oe=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(ae).toDataURL("image/"+(ae&&ae.type||"png"));return P(Le,function(Fe){Fe.group.ignore=!1}),Oe},oe.getConnectedDataURL=function(ae){if(this._disposed){this.id;return}if(n.canvasSupported){var de=ae.type==="svg",Te=this.group,Le=Math.min,Ee=Math.max,Oe=1/0;if(ta[Te]){var Fe=Oe,Qe=Oe,We=-Oe,ct=-Oe,mt=[],xt=ae&&ae.pixelRatio||1;a.each(Rr,function(Ia,wf){if(Ia.group===Te){var Dg=de?Ia.getZr().painter.getSvgDom().innerHTML:Ia.getRenderedCanvas(a.clone(ae)),Js=Ia.getDom().getBoundingClientRect();Fe=Le(Js.left,Fe),Qe=Le(Js.top,Qe),We=Ee(Js.right,We),ct=Ee(Js.bottom,ct),mt.push({dom:Dg,left:Js.left,top:Js.top})}}),Fe*=xt,Qe*=xt,We*=xt,ct*=xt;var or=We-Fe,er=ct-Qe,Fr=a.createCanvas(),La=e.init(Fr,{renderer:de?"svg":"canvas"});if(La.resize({width:or,height:er}),de){var bf="";return P(mt,function(Ia){var wf=Ia.left-Fe,Dg=Ia.top-Qe;bf+=''+Ia.dom+""}),La.painter.getSvgRoot().innerHTML=bf,ae.connectedBackgroundColor&&La.painter.setBackgroundColor(ae.connectedBackgroundColor),La.refreshImmediately(),La.painter.toDataURL()}else return ae.connectedBackgroundColor&&La.add(new y.Rect({shape:{x:0,y:0,width:or,height:er},style:{fill:ae.connectedBackgroundColor}})),P(mt,function(Ia){var wf=new y.Image({style:{x:Ia.left*xt-Fe,y:Ia.top*xt-Qe,image:Ia.dom}});La.add(wf)}),La.refreshImmediately(),Fr.toDataURL("image/"+(ae&&ae.type||"png"))}else return this.getDataURL(ae)}},oe.convertToPixel=a.curry(fe,"convertToPixel"),oe.convertFromPixel=a.curry(fe,"convertFromPixel");function fe(ae,de,Te){if(this._disposed){this.id;return}var Le=this._model,Ee=this._coordSysMgr.getCoordinateSystems(),Oe;de=_.parseFinder(Le,de);for(var Fe=0;Fe=0&&a.each(Ee,function(Fe){var Qe=Fe.coordinateSystem;if(Qe&&Qe.containPoint)Le|=!!Qe.containPoint(de);else if(Oe==="seriesModels"){var We=this._chartsMap[Fe.__viewId];We&&We.containPoint&&(Le|=We.containPoint(de,Fe))}},this)},this),!!Le},oe.getVisual=function(ae,de){var Te=this._model;ae=_.parseFinder(Te,ae,{defaultMainType:"series"});var Le=ae.seriesModel,Ee=Le.getData(),Oe=ae.hasOwnProperty("dataIndexInside")?ae.dataIndexInside:ae.hasOwnProperty("dataIndex")?Ee.indexOfRawIndex(ae.dataIndex):null;return Oe!=null?Ee.getItemVisual(Oe,de):Ee.getVisual(de)},oe.getViewOfComponentModel=function(ae){return this._componentsMap[ae.__viewId]},oe.getViewOfSeriesModel=function(ae){return this._chartsMap[ae.__viewId]};var se={prepareAndUpdate:function(ae){ve(this),se.update.call(this,ae)},update:function(ae){var de=this._model,Te=this._api,Le=this._zr,Ee=this._coordSysMgr,Oe=this._scheduler;if(de){Oe.restoreData(de,ae),Oe.performSeriesTasks(de),Ee.create(de,Te),Oe.performDataProcessorTasks(de,ae),Me(this,de),Ee.update(de,Te),ge(de),Oe.performVisualTasks(de,ae),pe(this,de,Te,ae);var Fe=de.get("backgroundColor")||"transparent";if(n.canvasSupported)Le.setBackgroundColor(Fe);else{var Qe=i.parse(Fe);Fe=i.stringify(Qe,"rgb"),Qe[3]===0&&(Fe="transparent")}Ve(de,Te)}},updateTransform:function(ae){var de=this._model,Te=this,Le=this._api;if(de){var Ee=[];de.eachComponent(function(Fe,Qe){var We=Te.getViewOfComponentModel(Qe);if(We&&We.__alive)if(We.updateTransform){var ct=We.updateTransform(Qe,de,Le,ae);ct&&ct.update&&Ee.push(We)}else Ee.push(We)});var Oe=a.createHashMap();de.eachSeries(function(Fe){var Qe=Te._chartsMap[Fe.__viewId];if(Qe.updateTransform){var We=Qe.updateTransform(Fe,de,Le,ae);We&&We.update&&Oe.set(Fe.uid,1)}else Oe.set(Fe.uid,1)}),ge(de),this._scheduler.performVisualTasks(de,ae,{setDirty:!0,dirtyMap:Oe}),ze(Te,de,Le,ae,Oe),Ve(de,this._api)}},updateView:function(ae){var de=this._model;de&&(m.markUpdateMethod(ae,"updateView"),ge(de),this._scheduler.performVisualTasks(de,ae,{setDirty:!0}),pe(this,this._model,this._api,ae),Ve(de,this._api))},updateVisual:function(ae){se.update.call(this,ae)},updateLayout:function(ae){se.update.call(this,ae)}};function ve(ae){var de=ae._model,Te=ae._scheduler;Te.restorePipelines(de),Te.prepareStageTasks(),xe(ae,"component",de,Te),xe(ae,"chart",de,Te),Te.plan()}function ye(ae,de,Te,Le,Ee){var Oe=ae._model;if(!Le){P(ae._componentsViews.concat(ae._chartsViews),ct);return}var Fe={};Fe[Le+"Id"]=Te[Le+"Id"],Fe[Le+"Index"]=Te[Le+"Index"],Fe[Le+"Name"]=Te[Le+"Name"];var Qe={mainType:Le,query:Fe};Ee&&(Qe.subType=Ee);var We=Te.excludeSeriesId;We!=null&&(We=a.createHashMap(_.normalizeToArray(We))),Oe&&Oe.eachComponent(Qe,function(mt){(!We||We.get(mt.id)==null)&&ct(ae[Le==="series"?"_chartsMap":"_componentsMap"][mt.__viewId])},ae);function ct(mt){mt&&mt.__alive&&mt[de]&&mt[de](mt.__model,Oe,ae._api,Te)}}oe.resize=function(ae){if(this._disposed){this.id;return}this._zr.resize(ae);var de=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!de){var Te=de.resetOption("media"),Le=ae&&ae.silent;this[Q]=!0,Te&&ve(this),se.update.call(this),this[Q]=!1,ne.call(this,Le),ue.call(this,Le)}};function Me(ae,de){var Te=ae._chartsMap,Le=ae._scheduler;de.eachSeries(function(Ee){Le.updateStreamModes(Ee,Te[Ee.__viewId])})}oe.showLoading=function(ae,de){if(this._disposed){this.id;return}if(R(ae)&&(de=ae,ae=""),ae=ae||"default",this.hideLoading(),!!fa[ae]){var Te=fa[ae](this._api,de),Le=this._zr;this._loadingFX=Te,Le.add(Te)}},oe.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},oe.makeActionFromEvent=function(ae){var de=a.extend({},ae);return de.type=Et[ae.type],de},oe.dispatchAction=function(ae,de){if(this._disposed){this.id;return}if(R(de)||(de={silent:!!de}),!!Ke[ae.type]&&this._model){if(this[Q]){this._pendingActions.push(ae);return}J.call(this,ae,de.silent),de.flush?this._zr.flush(!0):de.flush!==!1&&n.browser.weChat&&this._throttledZrFlush(),ne.call(this,de.silent),ue.call(this,de.silent)}};function J(ae,de){var Te=ae.type,Le=ae.escapeConnect,Ee=Ke[Te],Oe=Ee.actionInfo,Fe=(Oe.update||"update").split(":"),Qe=Fe.pop();Fe=Fe[0]!=null&&E(Fe[0]),this[Q]=!0;var We=[ae],ct=!1;ae.batch&&(ct=!0,We=a.map(ae.batch,function(er){return er=a.defaults(a.extend({},er),ae),er.batch=null,er}));var mt=[],xt,or=Te==="highlight"||Te==="downplay";P(We,function(er){xt=Ee.action(er,this._model,this._api),xt=xt||a.extend({},er),xt.type=Oe.event||xt.type,mt.push(xt),or?ye(this,Qe,er,"series"):Fe&&ye(this,Qe,er,Fe.main,Fe.sub)},this),Qe!=="none"&&!or&&!Fe&&(this[j]?(ve(this),se.update.call(this,ae),this[j]=!1):se[Qe].call(this,ae)),ct?xt={type:Oe.event||Te,escapeConnect:Le,batch:mt}:xt=mt[0],this[Q]=!1,!de&&this._messageCenter.trigger(xt.type,xt)}function ne(ae){for(var de=this._pendingActions;de.length;){var Te=de.shift();J.call(this,Te,ae)}}function ue(ae){!ae&&this.trigger("updated")}function me(ae,de){ae.on("rendered",function(){de.trigger("rendered"),ae.animation.isFinished()&&!de[j]&&!de._scheduler.unfinished&&!de._pendingActions.length&&de.trigger("finished")})}oe.appendData=function(ae){if(this._disposed){this.id;return}var de=ae.seriesIndex,Te=this.getModel(),Le=Te.getSeriesByIndex(de);Le.appendData(ae),this._scheduler.unfinished=!0},oe.on=Z("on",!1),oe.off=Z("off",!1),oe.one=Z("one",!1);function xe(ae,de,Te,Le){for(var Ee=de==="component",Oe=Ee?ae._componentsViews:ae._chartsViews,Fe=Ee?ae._componentsMap:ae._chartsMap,Qe=ae._zr,We=ae._api,ct=0;ctde.get("hoverLayerThreshold")&&!n.node&&de.eachSeries(function(Oe){if(!Oe.preventUsingHoverLayer){var Fe=ae._chartsMap[Oe.__viewId];Fe.__alive&&Fe.group.traverse(function(Qe){Qe.useHoverLayer=!0})}})}function Dt(ae,de){var Te=ae.get("blendMode")||null;de.group.traverse(function(Le){Le.isGroup||Le.style.blend!==Te&&Le.setStyle("blend",Te),Le.eachPendingDisplayable&&Le.eachPendingDisplayable(function(Ee){Ee.setStyle("blend",Te)})})}function Tt(ae,de){var Te=ae.get("z"),Le=ae.get("zlevel");de.group.traverse(function(Ee){Ee.type!=="group"&&(Te!=null&&(Ee.z=Te),Le!=null&&(Ee.zlevel=Le))})}function Bt(ae){var de=ae._coordSysMgr;return a.extend(new u(ae),{getCoordinateSystems:a.bind(de.getCoordinateSystems,de),getComponentByElement:function(Te){for(;Te;){var Le=Te.__ecComponentInfo;if(Le!=null)return ae._model.getComponent(Le.mainType,Le.index);Te=Te.parent}}})}function Vt(){this.eventInfo}Vt.prototype={constructor:Vt,normalizeQuery:function(ae){var de={},Te={},Le={};if(a.isString(ae)){var Ee=E(ae);de.mainType=Ee.main||null,de.subType=Ee.sub||null}else{var Oe=["Index","Name","Id"],Fe={name:1,dataIndex:1,dataType:1};a.each(ae,function(Qe,We){for(var ct=!1,mt=0;mt0&&or===We.length-xt.length){var er=We.slice(0,or);er!=="data"&&(de.mainType=er,de[xt.toLowerCase()]=Qe,ct=!0)}}Fe.hasOwnProperty(We)&&(Te[We]=Qe,ct=!0),ct||(Le[We]=Qe)})}return{cptQuery:de,dataQuery:Te,otherQuery:Le}},filter:function(ae,de,Te){var Le=this.eventInfo;if(!Le)return!0;var Ee=Le.targetEl,Oe=Le.packedEvent,Fe=Le.model,Qe=Le.view;if(!Fe||!Qe)return!0;var We=de.cptQuery,ct=de.dataQuery;return mt(We,Fe,"mainType")&&mt(We,Fe,"subType")&&mt(We,Fe,"index","componentIndex")&&mt(We,Fe,"name")&&mt(We,Fe,"id")&&mt(ct,Oe,"name")&&mt(ct,Oe,"dataIndex")&&mt(ct,Oe,"dataType")&&(!Qe.filterForExposedEvent||Qe.filterForExposedEvent(ae,de.otherQuery,Ee,Oe));function mt(xt,or,er,Fr){return xt[er]==null||or[Fr||er]===xt[er]}},afterTrigger:function(){this.eventInfo=null}};var Ke={},Et={},Lt=[],Zt=[],Xt=[],Kt=[],Pr={},fa={},Rr={},ta={},vr=new Date-0,jt=new Date-0,mr="_echarts_instance_";function re(ae){var de=0,Te=1,Le=2,Ee="__connectUpdateStatus";function Oe(Fe,Qe){for(var We=0;We0?u=v[0]:v[1]<0&&(u=v[1]),u}function o(s,l,u,v){var h=NaN;s.stacked&&(h=u.get(u.getCalculationInfo("stackedOverDimension"),v)),isNaN(h)&&(h=s.valueStart);var f=s.baseDataOffset,c=[];return c[f]=u.get(s.baseDim,v),c[1-f]=h,l.dataToPoint(c)}return Lc.prepareDataCoordInfo=i,Lc.getStackedOnPoint=o,Lc}var o1,Az;function gge(){if(Az)return o1;Az=1;var r=r$(),t=r.prepareDataCoordInfo,e=r.getStackedOnPoint;function a(n,o){var s=[];return o.diff(n).add(function(l){s.push({cmd:"+",idx:l})}).update(function(l,u){s.push({cmd:"=",idx:u,idx1:l})}).remove(function(l){s.push({cmd:"-",idx:l})}).execute(),s}function i(n,o,s,l,u,v,h,f){for(var c=a(n,o),d=[],p=[],g=[],m=[],y=[],_=[],x=[],S=t(u,o,h),b=t(v,n,f),w=0;w=S||D<0)break;if(v(I)){if(M){D+=b;continue}break}if(D===_)m[b>0?"moveTo":"lineTo"](I[0],I[1]);else if(T>0){var R=y[L],E=C==="y"?1:0,k=(I[E]-R[E])*T;o(l,R),l[E]=R[E]+k,o(u,I),u[E]=I[E]-k,m.bezierCurveTo(l[0],l[1],u[0],u[1],I[0],I[1])}else m.lineTo(I[0],I[1]);L=D,D+=b}return P}function c(m,y,_,x,S,b,w,A,T,C,M){for(var L=0,D=_,P=0;P=S||D<0)break;if(v(I)){if(M){D+=b;continue}break}if(D===_)m[b>0?"moveTo":"lineTo"](I[0],I[1]),o(l,I);else if(T>0){var R=D+b,B=y[R];if(M)for(;B&&v(y[R]);)R+=b,B=y[R];var E=.5,k=y[L],B=y[R];if(!B||v(B))o(u,I);else{v(B)&&!M&&(B=I),t.sub(s,B,k);var F,V;if(C==="x"||C==="y"){var N=C==="x"?0:1;F=Math.abs(I[N]-k[N]),V=Math.abs(I[N]-B[N])}else F=t.dist(I,k),V=t.dist(I,B);E=V/(V+F),n(u,I,s,-T*(1-E))}a(l,l,A),i(l,l,w),a(u,u,A),i(u,u,w),m.bezierCurveTo(l[0],l[1],u[0],u[1],I[0],I[1]),n(l,I,s,T*E)}else m.lineTo(I[0],I[1]);L=D,D+=b}return P}function d(m,y){var _=[1/0,1/0],x=[-1/0,-1/0];if(y)for(var S=0;Sx[0]&&(x[0]=b[0]),b[1]>x[1]&&(x[1]=b[1])}return{min:y?_:x,max:y?x:_}}var p=r.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:e(r.prototype.brush),buildPath:function(m,y){var _=y.points,x=0,S=_.length,b=d(_,y.smoothConstraint);if(y.connectNulls){for(;S>0&&v(_[S-1]);S--);for(;x0&&v(_[b-1]);b--);for(;S=0;k--){var B=I[k].dimension,F=D.dimensions[B],V=D.getDimensionInfo(F);if(R=V&&V.coordDim,R==="x"||R==="y"){E=I[k];break}}if(E){var N=P.getAxis(R),O=t.map(E.stops,function(X){return{coord:N.toGlobalCoord(N.dataToCoord(X.value)),color:X.color}}),z=O.length,G=E.outerColors.slice();z&&O[0].coord>O[z-1].coord&&(O.reverse(),G.reverse());var q=10,H=O[0].coord-q,U=O[z-1].coord+q,W=U-H;if(W<.001)return"transparent";t.each(O,function(X){X.offset=(X.coord-H)/W}),O.push({offset:z?O[z-1].offset:.5,color:G[1]||"transparent"}),O.unshift({offset:z?O[0].offset:.5,color:G[0]||"transparent"});var Y=new s.LinearGradient(0,0,0,0,O,!0);return Y[R]=H,Y[R+"2"]=U,Y}}}function T(D,P,I){var R=D.get("showAllSymbol"),E=R==="auto";if(!(R&&!E)){var k=I.getAxesByScale("ordinal")[0];if(k&&!(E&&C(k,P))){var B=P.mapDimension(k.dim),F={};return t.each(k.getViewLabels(),function(V){F[V.tickValue]=1}),function(V){return!F.hasOwnProperty(P.get(B,V))}}}}function C(D,P){var I=D.getExtent(),R=Math.abs(I[1]-I[0])/D.scale.count();isNaN(R)&&(R=0);for(var E=P.count(),k=Math.max(1,Math.round(E/5)),B=0;BR)return!1;return!0}function M(D,P,I){if(D.type==="cartesian2d"){var R=D.getBaseAxis().isHorizontal(),E=m(D,P,I);if(!I.get("clip",!0)){var k=E.shape,B=Math.max(k.width,k.height);R?(k.y-=B,k.height+=B*2):(k.x-=B,k.width+=B*2)}return E}else return y(D,P,I)}var L=f.extend({type:"line",init:function(){var D=new s.Group,P=new i;this.group.add(P.group),this._symbolDraw=P,this._lineGroup=D},render:function(D,P,I){var R=D.coordinateSystem,E=this.group,k=D.getData(),B=D.getModel("lineStyle"),F=D.getModel("areaStyle"),V=k.mapArray(k.getItemLayout),N=R.type==="polar",O=this._coordSys,z=this._symbolDraw,G=this._polyline,q=this._polygon,H=this._lineGroup,U=D.get("animation"),W=!F.isEmpty(),Y=F.get("origin"),X=d(R,k,Y),K=b(R,k,X),Q=D.get("showSymbol"),j=Q&&!N&&T(D,k,R),te=this._data;te&&te.eachItemGraphicEl(function(ve,ye){ve.__temp&&(E.remove(ve),te.setItemGraphicEl(ye,null))}),Q||z.remove(),E.add(H);var Z=!N&&D.get("step"),ee;R&&R.getArea&&D.get("clip",!0)&&(ee=R.getArea(),ee.width!=null?(ee.x-=.1,ee.y-=.1,ee.width+=.2,ee.height+=.2):ee.r0&&(ee.r0-=.5,ee.r1+=.5)),this._clipShapeForSymbol=ee,G&&O.type===R.type&&Z===this._step?(W&&!q?q=this._newPolygon(V,K,R,U):q&&!W&&(H.remove(q),q=this._polygon=null),H.setClipPath(M(R,!1,D)),Q&&z.updateData(k,{isIgnore:j,clipShape:ee}),k.eachItemGraphicEl(function(ve){ve.stopAnimation(!0)}),(!_(this._stackedOnPoints,K)||!_(this._points,V))&&(U?this._updateAnimation(k,K,R,I,Z,Y):(Z&&(V=w(V,R,Z),K=w(K,R,Z)),G.setShape({points:V}),q&&q.setShape({points:V,stackedOnPoints:K})))):(Q&&z.updateData(k,{isIgnore:j,clipShape:ee}),Z&&(V=w(V,R,Z),K=w(K,R,Z)),G=this._newPolyline(V,R,U),W&&(q=this._newPolygon(V,K,R,U)),H.setClipPath(M(R,!0,D)));var le=A(k,R)||k.getVisual("color");G.useStyle(t.defaults(B.getLineStyle(),{fill:"none",stroke:le,lineJoin:"bevel"}));var oe=D.get("smooth");if(oe=S(D.get("smooth")),G.setShape({smooth:oe,smoothMonotone:D.get("smoothMonotone"),connectNulls:D.get("connectNulls")}),q){var fe=k.getCalculationInfo("stackedOnSeries"),se=0;q.useStyle(t.defaults(F.getAreaStyle(),{fill:le,opacity:.7,lineJoin:"bevel"})),fe&&(se=S(fe.get("smooth"))),q.setShape({smooth:oe,stackedOnSmooth:se,smoothMonotone:D.get("smoothMonotone"),connectNulls:D.get("connectNulls")})}this._data=k,this._coordSys=R,this._stackedOnPoints=K,this._points=V,this._step=Z,this._valueOrigin=Y},dispose:function(){},highlight:function(D,P,I,R){var E=D.getData(),k=l.queryDataIndex(E,R);if(!(k instanceof Array)&&k!=null&&k>=0){var B=E.getItemGraphicEl(k);if(!B){var F=E.getItemLayout(k);if(!F||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(F[0],F[1]))return;B=new n(E,k),B.position=F,B.setZ(D.get("zlevel"),D.get("z")),B.ignore=isNaN(F[0])||isNaN(F[1]),B.__temp=!0,E.setItemGraphicEl(k,B),B.stopSymbolAnimation(!0),this.group.add(B)}B.highlight()}else f.prototype.highlight.call(this,D,P,I,R)},downplay:function(D,P,I,R){var E=D.getData(),k=l.queryDataIndex(E,R);if(k!=null&&k>=0){var B=E.getItemGraphicEl(k);B&&(B.__temp?(E.setItemGraphicEl(k,null),this.group.remove(B)):B.downplay())}else f.prototype.downplay.call(this,D,P,I,R)},_newPolyline:function(D){var P=this._polyline;return P&&this._lineGroup.remove(P),P=new v({shape:{points:D},silent:!0,z2:10}),this._lineGroup.add(P),this._polyline=P,P},_newPolygon:function(D,P){var I=this._polygon;return I&&this._lineGroup.remove(I),I=new h({shape:{points:D,stackedOnPoints:P},silent:!0}),this._lineGroup.add(I),this._polygon=I,I},_updateAnimation:function(D,P,I,R,E,k){var B=this._polyline,F=this._polygon,V=D.hostModel,N=o(this._data,D,this._stackedOnPoints,P,this._coordSys,I,this._valueOrigin,k),O=N.current,z=N.stackedOnCurrent,G=N.next,q=N.stackedOnNext;if(E&&(O=w(N.current,I,E),z=w(N.stackedOnCurrent,I,E),G=w(N.next,I,E),q=w(N.stackedOnNext,I,E)),x(O,G)>3e3||F&&x(z,q)>3e3){B.setShape({points:G}),F&&F.setShape({points:G,stackedOnPoints:q});return}B.shape.__points=N.current,B.shape.points=O,s.updateProps(B,{shape:{points:G}},V),F&&(F.setShape({points:O,stackedOnPoints:z}),s.updateProps(F,{shape:{points:G,stackedOnPoints:q}},V));for(var H=[],U=N.status,W=0;Wi&&(i=a[n]);return isFinite(i)?i:NaN},min:function(a){for(var i=1/0,n=0;n1){var p;typeof l=="string"?p=r[l]:typeof l=="function"&&(p=l),p&&i.setData(s.downSample(s.mapDimension(h.dim),1/d,p,t))}}}}}return v1=e,v1}var Rz={},h1,Ez;function _ge(){if(Ez)return h1;Ez=1;var r=ie();function t(i){return this._axes[i]}var e=function(i){this._axes={},this._dimList=[],this.name=i||""};e.prototype={constructor:e,type:"cartesian",getAxis:function(i){return this._axes[i]},getAxes:function(){return r.map(this._dimList,t,this)},getAxesByScale:function(i){return i=i.toLowerCase(),r.filter(this.getAxes(),function(n){return n.scale.type===i})},addAxis:function(i){var n=i.dim;this._axes[n]=i,this._dimList.push(n)},dataToCoord:function(i){return this._dataCoordConvert(i,"dataToCoord")},coordToData:function(i){return this._dataCoordConvert(i,"coordToData")},_dataCoordConvert:function(i,n){for(var o=this._dimList,s=i instanceof Array?[]:{},l=0;ln[1]&&n.reverse(),n},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(i,n){return this.coordToData(this.toLocalCoord(i[this.dim==="x"?0:1]),n)},toLocalCoord:null,toGlobalCoord:null},r.inherits(e,t);var a=e;return c1=a,c1}var d1,Nz;function i$(){if(Nz)return d1;Nz=1;var r=ie(),t={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},e={};e.categoryAxis=r.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},t),e.valueAxis=r.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},t),e.timeAxis=r.defaults({scale:!0,min:"dataMin",max:"dataMax"},e.valueAxis),e.logAxis=r.defaults({scale:!0,logBase:10},e.valueAxis);var a=e;return d1=a,d1}var p1,zz;function mg(){if(zz)return p1;zz=1;var r=ie(),t=i$(),e=Lr(),a=Ut(),i=a.getLayoutParams,n=a.mergeLayoutParam,o=X9(),s=["value","category","time","log"];function l(u,v,h,f){r.each(s,function(c){v.extend({type:u+"Axis."+c,mergeDefaultAndTheme:function(d,p){var g=this.layoutMode,m=g?i(d):{},y=p.getTheme();r.merge(d,y.get(c+"Axis")),r.merge(d,this.getDefaultOption()),d.type=h(u,d),g&&n(d,m,g)},optionUpdated:function(){var d=this.option;d.type==="category"&&(this.__ordinalMeta=o.createByAxisModel(this))},getCategories:function(d){var p=this.option;if(p.type==="category")return d?p.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:r.mergeAll([{},t[c+"Axis"],f],!0)})}),e.registerSubTypeDefaulter(u+"Axis",r.curry(h,u))}return p1=l,p1}var g1,Bz;function n$(){if(Bz)return g1;Bz=1;var r=ie(),t=Lr(),e=mg(),a=Du(),i=t.extend({type:"cartesian2dAxis",axis:null,init:function(){i.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){i.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){i.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function n(l,u){return u.type||(u.data?"category":"value")}r.merge(i.prototype,a);var o={offset:0};e("x",i,n,o),e("y",i,n,o);var s=i;return g1=s,g1}var m1,Vz;function bge(){if(Vz)return m1;Vz=1,n$();var r=Lr(),t=r.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});return m1=t,m1}var y1,Gz;function sD(){if(Gz)return y1;Gz=1;var r=It();r.__DEV__;var t=ie(),e=t.isObject,a=t.each,i=t.map,n=t.indexOf;t.retrieve;var o=Ut(),s=o.getLayoutRect,l=wi(),u=l.createScaleByModel,v=l.ifAxisCrossZero,h=l.niceScaleExtent,f=l.estimateLabelUnionRect,c=xge(),d=Sge(),p=bi(),g=rn(),m=g.getStackedDimension;bge();function y(L,D,P){return L.getCoordSysModel()===D}function _(L,D,P){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(L,D,P),this.model=L}var x=_.prototype;x.type="grid",x.axisPointerEnabled=!0,x.getRect=function(){return this._rect},x.update=function(L,D){var P=this._axesMap;this._updateScale(L,this.model),a(P.x,function(R){h(R.scale,R.model)}),a(P.y,function(R){h(R.scale,R.model)});var I={};a(P.x,function(R){S(P,"y",R,I)}),a(P.y,function(R){S(P,"x",R,I)}),this.resize(this.model,D)};function S(L,D,P,I){P.getAxesOnZeroOf=function(){return E?[E]:[]};var R=L[D],E,k=P.model,B=k.get("axisLine.onZero"),F=k.get("axisLine.onZeroAxisIndex");if(!B)return;if(F!=null)b(R[F])&&(E=R[F]);else for(var V in R)if(R.hasOwnProperty(V)&&b(R[V])&&!I[N(R[V])]){E=R[V];break}E&&(I[N(E)]=!0);function N(O){return O.dim+"_"+O.index}}function b(L){return L&&L.type!=="category"&&L.type!=="time"&&v(L)}x.resize=function(L,D,P){var I=s(L.getBoxLayoutParams(),{width:D.getWidth(),height:D.getHeight()});this._rect=I;var R=this._axesList;E(),!P&&L.get("containLabel")&&(a(R,function(k){if(!k.model.get("axisLabel.inside")){var B=f(k);if(B){var F=k.isHorizontal()?"height":"width",V=k.model.get("axisLabel.margin");I[F]-=B[F]+V,k.position==="top"?I.y+=B.height+V:k.position==="left"&&(I.x+=B.width+V)}}}),E());function E(){a(R,function(k){var B=k.isHorizontal(),F=B?[0,I.width]:[0,I.height],V=k.inverse?1:0;k.setExtent(F[V],F[1-V]),w(k,B?I.x:I.y)})}},x.getAxis=function(L,D){var P=this._axesMap[L];if(P!=null){if(D==null){for(var I in P)if(P.hasOwnProperty(I))return P[I]}return P[D]}},x.getAxes=function(){return this._axesList.slice()},x.getCartesian=function(L,D){if(L!=null&&D!=null){var P="x"+L+"y"+D;return this._coordsMap[P]}e(L)&&(D=L.yAxisIndex,L=L.xAxisIndex);for(var I=0,R=this._coordsList;IG[1]?-1:1,H=[V==="start"?G[0]-q*z:V==="end"?G[1]+q*z:(G[0]+G[1])/2,L(V)?k.labelOffset+N*z:0],U,W=B.get("nameRotate");W!=null&&(W=W*y/180);var Y;L(V)?U=b(k.rotation,W!=null?W:k.rotation,N):(U=w(k,V,W||0,G),Y=k.axisNameAvailableWidth,Y!=null&&(Y=Math.abs(Y/Math.sin(U.rotation)),!isFinite(Y)&&(Y=null)));var X=O.getFont(),K=B.get("nameTruncate",!0)||{},Q=K.ellipsis,j=t(k.nameTruncateMaxWidth,K.maxWidth,Y),te=Q!=null&&j!=null?n.truncateText(F,j,X,Q,{minChar:2,placeholder:K.placeholder}):F,Z=B.get("tooltip",!0),ee=B.mainType,le={componentType:ee,name:F,$vars:["name"]};le[ee+"Index"]=B.componentIndex;var oe=new o.Text({anid:"name",__fullText:F,__truncatedText:te,position:H,rotation:U.rotation,silent:A(B),z2:1,tooltip:Z&&Z.show?a({content:F,formatter:function(){return F},formatterParams:le},Z):null});o.setTextStyle(oe.style,O,{text:te,textFont:X,textFill:O.getTextColor()||B.get("axisLine.lineStyle.color"),textAlign:O.get("align")||U.textAlign,textVerticalAlign:O.get("verticalAlign")||U.textVerticalAlign}),B.get("triggerEvent")&&(oe.eventData=S(B),oe.eventData.targetType="axisName",oe.eventData.name=F),this._dumbGroup.add(oe),oe.updateTransform(),this.group.add(oe),oe.decomposeTransform()}}},S=_.makeAxisEventDataBase=function(k){var B={componentType:k.mainType,componentIndex:k.componentIndex};return B[k.mainType+"Index"]=k.componentIndex,B},b=_.innerTextLayout=function(k,B,F){var V=v(B-k),N,O;return u(V)?(O=F>0?"top":"bottom",N="center"):u(V-y)?(O=F>0?"bottom":"top",N="center"):(O="middle",V>0&&V0?"right":"left":N=F>0?"left":"right"),{rotation:V,textAlign:N,textVerticalAlign:O}};function w(k,B,F,V){var N=v(F-k.rotation),O,z,G=V[0]>V[1],q=B==="start"&&!G||B!=="start"&&G;return u(N-y/2)?(z=q?"bottom":"top",O="center"):u(N-y*1.5)?(z=q?"top":"bottom",O="center"):(z="middle",Ny/2?O=q?"left":"right":O=q?"right":"left"),{rotation:N,textAlign:O,textVerticalAlign:z}}var A=_.isLabelSilent=function(k){var B=k.get("tooltip");return k.get("silent")||!(k.get("triggerEvent")||B&&B.show)};function T(k,B,F){if(!m(k.axis)){var V=k.get("axisLabel.showMinLabel"),N=k.get("axisLabel.showMaxLabel");B=B||[],F=F||[];var O=B[0],z=B[1],G=B[B.length-1],q=B[B.length-2],H=F[0],U=F[1],W=F[F.length-1],Y=F[F.length-2];V===!1?(C(O),C(H)):M(O,z)&&(V?(C(z),C(U)):(C(O),C(H))),N===!1?(C(G),C(W)):M(q,G)&&(N?(C(q),C(Y)):(C(G),C(W)))}}function C(k){k&&(k.ignore=!0)}function M(k,B,F){var V=k&&k.getBoundingRect().clone(),N=B&&B.getBoundingRect().clone();if(!(!V||!N)){var O=c.identity([]);return c.rotate(O,O,-k.rotation),V.applyTransform(c.mul([],O,k.getLocalTransform())),N.applyTransform(c.mul([],O,B.getLocalTransform())),V.intersect(N)}}function L(k){return k==="middle"||k==="center"}function D(k,B,F,V,N){for(var O=[],z=[],G=[],q=0;q=0||p===g}function v(p){var g=h(p);if(g){var m=g.axisPointerModel,y=g.axis.scale,_=m.option,x=m.get("status"),S=m.get("value");S!=null&&(S=y.parse(S));var b=c(m);x==null&&(_.status=b?"show":"hide");var w=y.getExtent().slice();w[0]>w[1]&&w.reverse(),(S==null||S>w[1])&&(S=w[1]),Se&&(e=a),e},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});return w1=t,w1}var T1={},tB;function u$(){if(tB)return T1;tB=1;var r=qe(),t=oD(),e=t.getDefaultLabel;function a(n,o,s,l,u,v,h){var f=s.getModel("label"),c=s.getModel("emphasis.label");r.setLabelStyle(n,o,f,c,{labelFetcher:u,labelDataIndex:v,defaultText:e(u.getData(),v),isRectText:!0,autoColor:l}),i(n),i(o)}function i(n,o){n.textPosition==="outside"&&(n.textPosition=o)}return T1.setLabel=a,T1}var A1,rB;function Mge(){if(rB)return A1;rB=1;var r=Tu(),t=r([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),e={getBarItemStyle:function(a){var i=t(this,a);if(this.getBorderLineDash){var n=this.getBorderLineDash();n&&(i.lineDash=n)}return i}};return A1=e,A1}var C1,aB;function Dge(){if(aB)return C1;aB=1;var r=qe(),t=r.extendShape,e=t({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},buildPath:function(a,i){var n=i.cx,o=i.cy,s=Math.max(i.r0||0,0),l=Math.max(i.r,0),u=(l-s)*.5,v=s+u,h=i.startAngle,f=i.endAngle,c=i.clockwise,d=Math.cos(h),p=Math.sin(h),g=Math.cos(f),m=Math.sin(f),y=c?f-h0?1:-1,H=z.height>0?1:-1;return{x:z.x+q*G/2,y:z.y+H*G/2,width:z.width-q*G,height:z.height-H*G}},polar:function(V,N,O){var z=V.getItemLayout(N);return{cx:z.cx,cy:z.cy,r0:z.r0,r:z.r,startAngle:z.startAngle,endAngle:z.endAngle}}};function C(V){return V.startAngle!=null&&V.endAngle!=null&&V.startAngle===V.endAngle}function M(V,N,O,z,G,q,H,U){var W=N.getItemVisual(O,"color"),Y=N.getItemVisual(O,"opacity"),X=N.getVisual("borderColor"),K=z.getModel("itemStyle"),Q=z.getModel("emphasis.itemStyle").getBarItemStyle();U||V.setShape("r",K.get("barBorderRadius")||0),V.useStyle(e.defaults({stroke:C(G)?"none":X,fill:C(G)?"none":W,opacity:Y},K.getBarItemStyle()));var j=z.getShallow("cursor");j&&V.attr("cursor",j);var te=H?G.height>0?"bottom":"top":G.width>0?"left":"right";U||n(V.style,Q,z,W,q,O,te),C(G)&&(Q.fill=Q.stroke="none"),a.setHoverStyle(V,Q)}function L(V,N){var O=V.get(p)||0,z=isNaN(N.width)?Number.MAX_VALUE:Math.abs(N.width),G=isNaN(N.height)?Number.MAX_VALUE:Math.abs(N.height);return Math.min(O,z,G)}var D=l.extend({type:"largeBar",shape:{points:[]},buildPath:function(V,N){for(var O=N.points,z=this.__startPoint,G=this.__baseDimIdx,q=0;q=0?O:null},30,!1);function R(V,N,O){var z=V.__baseDimIdx,G=1-z,q=V.shape.points,H=V.__largeDataIndices,U=Math.abs(V.__barWidth/2),W=V.__startPoint[G];g[0]=N,g[1]=O;for(var Y=g[z],X=g[1-z],K=Y-U,Q=Y+U,j=0,te=q.length/2;j=K&&ee<=Q&&(W<=le?X>=W&&X<=le:X>=le&&X<=W))return H[j]}return-1}function E(V,N,O){var z=O.getVisual("borderColor")||O.getVisual("color"),G=N.getModel("itemStyle").getItemStyle(["color","borderColor"]);V.useStyle(G),V.style.fill=null,V.style.stroke=z,V.style.lineWidth=O.getLayout("barWidth")}function k(V,N,O){var z=N.get("borderColor")||N.get("color"),G=N.getItemStyle(["color","borderColor"]);V.useStyle(G),V.style.fill=null,V.style.stroke=z,V.style.lineWidth=O.getLayout("barWidth")}function B(V,N,O){var z,G=O.type==="polar";return G?z=O.getArea():z=O.grid.getRect(),G?{cx:z.cx,cy:z.cy,r0:V?z.r0:N.r0,r:V?z.r:N.r,startAngle:V?N.startAngle:0,endAngle:V?N.endAngle:Math.PI*2}:{x:V?N.x:z.x,y:V?z.y:N.y,width:V?N.width:z.width,height:V?z.height:N.height}}function F(V,N,O){var z=V.type==="polar"?a.Sector:a.Rect;return new z({shape:B(N,O,V),silent:!0,z2:0})}return M1=y,M1}var nB;function Ige(){if(nB)return jz;nB=1;var r=Pe(),t=ie(),e=pg(),a=e.layout,i=e.largeLayout;return sD(),Cge(),Lge(),mf(),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,t.curry(a,"bar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,i),r.registerVisual({seriesType:"bar",reset:function(n){n.getData().setVisual("legendSymbol","roundRect")}}),jz}var oB={},D1,sB;function Lu(){if(sB)return D1;sB=1;var r=Mu(),t=ei(),e=ie(),a=e.extend,i=e.isArray;function n(o,s,l){s=i(s)&&{coordDimensions:s}||a({},s);var u=o.getSource(),v=r(u,s),h=new t(v,o);return h.initData(u,l),h}return D1=n,D1}var L1,lB;function lD(){if(lB)return L1;lB=1;var r=ie(),t={updateSelectedMap:function(e){this._targetList=r.isArray(e)?e.slice():[],this._selectTargetMap=r.reduce(e||[],function(a,i){return a.set(i.name,i),a},r.createHashMap())},select:function(e,a){var i=a!=null?this._targetList[a]:this._selectTargetMap.get(e),n=this.get("selectedMode");n==="single"&&this._selectTargetMap.each(function(o){o.selected=!1}),i&&(i.selected=!0)},unSelect:function(e,a){var i=a!=null?this._targetList[a]:this._selectTargetMap.get(e);i&&(i.selected=!1)},toggleSelected:function(e,a){var i=a!=null?this._targetList[a]:this._selectTargetMap.get(e);if(i!=null)return this[i.selected?"unSelect":"select"](e,a),i.selected},isSelected:function(e,a){var i=a!=null?this._targetList[a]:this._selectTargetMap.get(e);return i&&i.selected}};return L1=t,L1}var I1,uB;function yf(){if(uB)return I1;uB=1;function r(e,a){this.getAllNames=function(){var i=a();return i.mapArray(i.getName)},this.containName=function(i){var n=a();return n.indexOfName(i)>=0},this.indexOfName=function(i){var n=e();return n.indexOfName(i)},this.getItemVisual=function(i,n){var o=e();return o.getItemVisual(i,n)}}var t=r;return I1=t,I1}var P1,vB;function Pge(){if(vB)return P1;vB=1;var r=Pe(),t=Lu(),e=ie(),a=_t(),i=st(),n=i.getPercentWithPrecision,o=lD(),s=Ys(),l=s.retrieveRawAttr,u=Ln(),v=u.makeSeriesEncodeForNameBased,h=yf(),f=r.extendSeriesModel({type:"series.pie",init:function(d){f.superApply(this,"init",arguments),this.legendVisualProvider=new h(e.bind(this.getData,this),e.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(d)},mergeOption:function(d){f.superCall(this,"mergeOption",d),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(d,p){return t(this,{coordDimensions:["value"],encodeDefaulter:e.curry(v,this)})},_createSelectableList:function(){for(var d=this.getRawData(),p=d.mapDimension("value"),g=[],m=0,y=d.count();m0&&(m?y!=="scale":_!=="transition")){for(var b=c.getItemLayout(0),w=1;isNaN(b.startAngle)&&w=f.r0}}}),l=s;return R1=l,R1}var E1,fB;function v$(){if(fB)return E1;fB=1;var r=Pe(),t=ie();function e(a,i){t.each(i,function(n){n.update="updateView",r.registerAction(n,function(o,s){var l={};return s.eachComponent({mainType:"series",subType:a,query:o},function(u){u[n.method]&&u[n.method](o.name,o.dataIndex);var v=u.getData();v.each(function(h){var f=v.getName(h);l[f]=u.isSelected(f)||!1})}),{name:o.name,selected:l,seriesId:o.seriesId}})})}return E1=e,E1}var k1,cB;function _g(){if(cB)return k1;cB=1;var r=ie(),t=r.createHashMap;function e(a){return{getTargetSeries:function(i){var n={},o=t();return i.eachSeriesByType(a,function(s){s.__paletteScope=n,o.set(s.uid,s)}),o},reset:function(i,n){var o=i.getRawData(),s={},l=i.getData();l.each(function(u){var v=l.getRawIndex(u);s[v]=u}),o.each(function(u){var v=s[u],h=v!=null&&l.getItemVisual(v,"color",!0),f=v!=null&&l.getItemVisual(v,"borderColor",!0),c;if((!h||!f)&&(c=o.getItemModel(u)),!h){var d=c.get("itemStyle.color")||i.getColorFromPalette(o.getName(u)||u+"",i.__paletteScope,o.count());v!=null&&l.setItemVisual(v,"color",d)}if(!f){var p=c.get("itemStyle.borderColor");v!=null&&l.setItemVisual(v,"borderColor",p)}})}}}return k1=e,k1}var O1,dB;function Ege(){if(dB)return O1;dB=1;var r=Da(),t=st(),e=t.parsePercent,a=Math.PI/180;function i(l,u,v,h,f,c,d,p,g,m){l.sort(function(L,D){return L.y-D.y});function y(L,D,P,I){for(var R=L;Rg+d);R++)if(l[R].y+=P,R>L&&R+1l[R].y+l[R].height){_(R,P/2);return}_(D-1,P/2)}function _(L,D){for(var P=L;P>=0&&!(l[P].y-D0&&l[P].y>l[P-1].y+l[P-1].height));P--);}function x(L,D,P,I,R,E){for(var k=(E>0,D?Number.MAX_VALUE:0),B=0,F=L.length;B=k&&(z=k-10),!D&&z<=k&&(z=k+10),L[B].x=P+z*E,k=z}}for(var S=0,b,w=l.length,A=[],T=[],C=0;C=v?T.push(l[C]):A.push(l[C]);x(A,!1,u,v,h,f),x(T,!0,u,v,h,f)}function n(l,u,v,h,f,c,d,p){for(var g=[],m=[],y=Number.MAX_VALUE,_=-Number.MAX_VALUE,x=0;x0?"right":"left":k>0?"left":"right"}var Q,j=w.get("rotate");typeof j=="number"?Q=j*(Math.PI/180):Q=j?k<0?-E+Math.PI:-E:0,y=!!Q,S.label={x:F,y:V,position:A,height:G.height,len:I,len2:R,linePoints:N,textAlign:O,verticalAlign:"middle",rotation:Q,inside:q,labelDistance:T,labelAlignTo:C,labelMargin:M,bleedMargin:L,textRect:G,text:z,font:D},q||p.push(S.label)}}),!y&&l.get("avoidLabelOverlap")&&n(p,g,m,u,v,h,f,c)}return O1=s,O1}var N1,pB;function kge(){if(pB)return N1;pB=1;var r=st(),t=r.parsePercent,e=r.linearMap,a=Ut(),i=Ege(),n=ie(),o=Math.PI*2,s=Math.PI/180;function l(v,h){return a.getLayoutRect(v.getBoxLayoutParams(),{width:h.getWidth(),height:h.getHeight()})}function u(v,h,f,c){h.eachSeriesByType(v,function(d){var p=d.getData(),g=p.mapDimension("value"),m=l(d,f),y=d.get("center"),_=d.get("radius");n.isArray(_)||(_=[0,_]),n.isArray(y)||(y=[y,y]);var x=t(m.width,f.getWidth()),S=t(m.height,f.getHeight()),b=Math.min(x,S),w=t(y[0],x)+m.x,A=t(y[1],S)+m.y,T=t(_[0],b/2),C=t(_[1],b/2),M=-d.get("startAngle")*s,L=d.get("minAngle")*s,D=0;p.each(g,function(G){!isNaN(G)&&D++});var P=p.getSum(g),I=Math.PI/(P||D)*2,R=d.get("clockwise"),E=d.get("roseType"),k=d.get("stillShowZeroSum"),B=p.getDataExtent(g);B[0]=0;var F=o,V=0,N=M,O=R?1:-1;if(p.each(g,function(G,q){var H;if(isNaN(G)){p.setItemLayout(q,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:R,cx:w,cy:A,r0:T,r:E?NaN:C,viewRect:m});return}E!=="area"?H=P===0&&k?I:G*I:H=o/D,H=0;g--){var m=g*2,y=f[m]-d/2,_=f[m+1]-p/2;if(u>=y&&v>=_&&u<=y+d&&v<=_+p)return g}return-1}});function o(){this.group=new r.Group}var s=o.prototype;s.isPersistent=function(){return!this._incremental},s.updateData=function(u,v){this.group.removeAll();var h=new n({rectHover:!0,cursor:"default"});h.setShape({points:u.getLayout("symbolPoints")}),this._setCommon(h,u,!1,v),this.group.add(h),this._incremental=null},s.updateLayout=function(u){if(!this._incremental){var v=u.getLayout("symbolPoints");this.group.eachChild(function(h){if(h.startIndex!=null){var f=(h.endIndex-h.startIndex)*2,c=h.startIndex*4*2;v=new Float32Array(v.buffer,c,f)}h.setShape("points",v)})}},s.incrementalPrepareUpdate=function(u){this.group.removeAll(),this._clearIncremental(),u.count()>2e6?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},s.incrementalUpdate=function(u,v,h){var f;this._incremental?(f=new n,this._incremental.addDisplayable(f,!0)):(f=new n({rectHover:!0,cursor:"default",startIndex:u.start,endIndex:u.end}),f.incremental=!0,this.group.add(f)),f.setShape({points:v.getLayout("symbolPoints")}),this._setCommon(f,v,!!this._incremental,h)},s._setCommon=function(u,v,h,f){var c=v.hostModel;f=f||{};var d=v.getVisual("symbolSize");u.setShape("size",d instanceof Array?d:[d,d]),u.softClipShape=f.clipShape||null,u.symbolProxy=e(v.getVisual("symbol"),0,0,0,0),u.setColor=u.symbolProxy.setColor;var p=u.shape.size[0]=0&&(u.dataIndex=y+(u.startIndex||0))}))},s.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},s._clearIncremental=function(){var u=this._incremental;u&&u.clearDisplaybles()};var l=o;return V1=l,V1}var bB;function Bge(){if(bB)return xB;bB=1;var r=Pe(),t=df(),e=zge(),a=gf();return r.extendChartView({type:"scatter",render:function(i,n,o){var s=i.getData(),l=this._updateSymbolDraw(s,i);l.updateData(s,{clipShape:this._getClipShape(i)}),this._finished=!0},incrementalPrepareRender:function(i,n,o){var s=i.getData(),l=this._updateSymbolDraw(s,i);l.incrementalPrepareUpdate(s),this._finished=!1},incrementalRender:function(i,n,o){this._symbolDraw.incrementalUpdate(i,n.getData(),{clipShape:this._getClipShape(n)}),this._finished=i.end===n.getData().count()},updateTransform:function(i,n,o){var s=i.getData();if(this.group.dirty(),!this._finished||s.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var l=a().reset(i);l.progress&&l.progress({start:0,end:s.count()},s),this._symbolDraw.updateLayout(s)},_getClipShape:function(i){var n=i.coordinateSystem,o=n&&n.getArea&&n.getArea();return i.get("clip",!0)?o:null},_updateSymbolDraw:function(i,n){var o=this._symbolDraw,s=n.pipelineContext,l=s.large;return(!o||l!==this._isLargeDraw)&&(o&&o.remove(),o=this._symbolDraw=l?new e:new t,this._isLargeDraw=l,this.group.removeAll()),this.group.add(o.group),o},remove:function(i,n){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}}),xB}var wB;function Vge(){if(wB)return yB;wB=1;var r=Pe();Nge(),Bge();var t=Xs(),e=gf();return mf(),r.registerVisual(t("scatter","circle")),r.registerLayout(e("scatter")),yB}var TB={},AB={},G1,CB;function Gge(){if(CB)return G1;CB=1;var r=ie(),t=So();function e(i,n,o){t.call(this,i,n,o),this.type="value",this.angle=0,this.name="",this.model}r.inherits(e,t);var a=e;return G1=a,G1}var F1,MB;function Fge(){if(MB)return F1;MB=1;var r=ie(),t=Gge(),e=dg(),a=st(),i=wi(),n=i.getScaleExtent,o=i.niceScaleExtent,s=bi(),l=Q9();function u(h,f,c){this._model=h,this.dimensions=[],this._indicatorAxes=r.map(h.getIndicatorModels(),function(d,p){var g="indicator_"+p,m=new t(g,d.get("axisType")==="log"?new l:new e);return m.name=d.get("name"),m.model=d,d.axis=m,this.dimensions.push(g),m},this),this.resize(h,c),this.cx,this.cy,this.r,this.r0,this.startAngle}u.prototype.getIndicatorAxes=function(){return this._indicatorAxes},u.prototype.dataToPoint=function(h,f){var c=this._indicatorAxes[f];return this.coordToPoint(c.dataToCoord(h),f)},u.prototype.coordToPoint=function(h,f){var c=this._indicatorAxes[f],d=c.angle,p=this.cx+h*Math.cos(d),g=this.cy-h*Math.sin(d);return[p,g]},u.prototype.pointToData=function(h){var f=h[0]-this.cx,c=h[1]-this.cy,d=Math.sqrt(f*f+c*c);f/=d,c/=d;for(var p=Math.atan2(-c,f),g=1/0,m,y=-1,_=0;__[0]&&isFinite(C)&&isFinite(_[0]))}else{var M=S.getTicks().length-1;M>p&&(A=g(A));var T=Math.ceil(_[1]/A)*A,C=a.round(T-A*p);S.setExtent(C,T),S.setInterval(A)}})},u.dimensions=[],u.create=function(h,f){var c=[];return h.eachComponent("radar",function(d){var p=new u(d,h,f);c.push(p),d.coordinateSystem=p}),h.eachSeriesByType("radar",function(d){d.get("coordinateSystem")==="radar"&&(d.coordinateSystem=c[d.get("radarIndex")||0])}),c},s.register("radar",u);var v=u;return F1=v,F1}var H1,DB;function Hge(){if(DB)return H1;DB=1;var r=Pe(),t=ie(),e=i$(),a=gr(),i=Du(),n=e.valueAxis;function o(u,v){return t.defaults({show:v},u)}var s=r.extendComponentModel({type:"radar",optionUpdated:function(){var u=this.get("boundaryGap"),v=this.get("splitNumber"),h=this.get("scale"),f=this.get("axisLine"),c=this.get("axisTick"),d=this.get("axisType"),p=this.get("axisLabel"),g=this.get("name"),m=this.get("name.show"),y=this.get("name.formatter"),_=this.get("nameGap"),x=this.get("triggerEvent"),S=t.map(this.get("indicator")||[],function(b){b.max!=null&&b.max>0&&!b.min?b.min=0:b.min!=null&&b.min<0&&!b.max&&(b.max=0);var w=g;if(b.color!=null&&(w=t.defaults({color:b.color},g)),b=t.merge(t.clone(b),{boundaryGap:u,splitNumber:v,scale:h,axisLine:f,axisTick:c,axisType:d,axisLabel:p,name:b.text,nameLocation:"end",nameGap:_,nameTextStyle:w,triggerEvent:x},!1),m||(b.name=""),typeof y=="string"){var A=b.name;b.name=y.replace("{value}",A!=null?A:"")}else typeof y=="function"&&(b.name=y(b.name,b));var T=t.extend(new a(b,null,this.ecModel),i);return T.mainType="radar",T.componentIndex=this.componentIndex,T},this);this.getIndicatorModels=function(){return S}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:t.merge({lineStyle:{color:"#bbb"}},n.axisLine),axisLabel:o(n.axisLabel,!1),axisTick:o(n.axisTick,!1),axisType:"interval",splitLine:o(n.splitLine,!0),splitArea:o(n.splitArea,!0),indicator:[]}}),l=s;return H1=l,H1}var q1,LB;function qge(){if(LB)return q1;LB=1;var r=It();r.__DEV__;var t=Pe(),e=ie(),a=bo(),i=qe(),n=["axisLine","axisTickLabel","axisName"],o=t.extendComponentView({type:"radar",render:function(s,l,u){var v=this.group;v.removeAll(),this._buildAxes(s),this._buildSplitLineAndArea(s)},_buildAxes:function(s){var l=s.coordinateSystem,u=l.getIndicatorAxes(),v=e.map(u,function(h){var f=new a(h.model,{position:[l.cx,l.cy],rotation:h.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return f});e.each(v,function(h){e.each(n,h.add,h),this.group.add(h.getGroup())},this)},_buildSplitLineAndArea:function(s){var l=s.coordinateSystem,u=l.getIndicatorAxes();if(!u.length)return;var v=s.get("shape"),h=s.getModel("splitLine"),f=s.getModel("splitArea"),c=h.getModel("lineStyle"),d=f.getModel("areaStyle"),p=h.get("show"),g=f.get("show"),m=c.get("color"),y=d.get("color");m=e.isArray(m)?m:[m],y=e.isArray(y)?y:[y];var _=[],x=[];function S(k,B,F){var V=F%B.length;return k[V]=k[V]||[],V}if(v==="circle")for(var b=u[0].getTicksCoords(),w=l.cx,A=l.cy,T=0;T":"\n";return i(p===""?this.name:p)+g+e.map(d,function(m,y){var _=f.get(f.mapDimension(m.dim),l);return i(m.name+" : "+_)}).join(g)},getTooltipPosition:function(l){if(l!=null){for(var u=this.getData(),v=this.coordinateSystem,h=u.getValues(e.map(v.dimensions,function(p){return u.mapDimension(p)}),l,!0),f=0,c=h.length;f":"\n";return b.join(", ")+C+i(x+" : "+_)},getTooltipPosition:function(d){if(d!=null){var p=this.getData().getName(d),g=this.coordinateSystem,m=g.getRegion(p);return m&&g.dataToPoint(m.center)}},setZoom:function(d){this.option.zoom=d},setCenter:function(d){this.option.center=d},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});r.mixin(f,o);var c=f;return tx=c,tx}var Sv={},UB;function h$(){if(UB)return Sv;UB=1;var r=Pe(),t="\0_ec_interaction_mutex";function e(o,s,l){var u=n(o);u[s]=l}function a(o,s,l){var u=n(o),v=u[s];v===l&&(u[s]=null)}function i(o,s){return!!n(o)[s]}function n(o){return o[t]||(o[t]={})}return r.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),Sv.take=e,Sv.release=a,Sv.isTaken=i,Sv}var rx,$B;function xf(){if($B)return rx;$B=1;var r=ie(),t=Ws(),e=Ji(),a=h$();function i(d){this.pointerChecker,this._zr=d,this._opt={};var p=r.bind,g=p(n,this),m=p(o,this),y=p(s,this),_=p(l,this),x=p(u,this);t.call(this),this.setPointerChecker=function(S){this.pointerChecker=S},this.enable=function(S,b){this.disable(),this._opt=r.defaults(r.clone(b)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),S==null&&(S=!0),(S===!0||S==="move"||S==="pan")&&(d.on("mousedown",g),d.on("mousemove",m),d.on("mouseup",y)),(S===!0||S==="scale"||S==="zoom")&&(d.on("mousewheel",_),d.on("pinch",x))},this.disable=function(){d.off("mousedown",g),d.off("mousemove",m),d.off("mouseup",y),d.off("mousewheel",_),d.off("pinch",x)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}r.mixin(i,t);function n(d){if(!(e.isMiddleOrRightButtonOnMouseUpDown(d)||d.target&&d.target.draggable)){var p=d.offsetX,g=d.offsetY;this.pointerChecker&&this.pointerChecker(d,p,g)&&(this._x=p,this._y=g,this._dragging=!0)}}function o(d){if(!(!this._dragging||!f("moveOnMouseMove",d,this._opt)||d.gestureEvent==="pinch"||a.isTaken(this._zr,"globalPan"))){var p=d.offsetX,g=d.offsetY,m=this._x,y=this._y,_=p-m,x=g-y;this._x=p,this._y=g,this._opt.preventDefaultMouseMove&&e.stop(d.event),h(this,"pan","moveOnMouseMove",d,{dx:_,dy:x,oldX:m,oldY:y,newX:p,newY:g})}}function s(d){e.isMiddleOrRightButtonOnMouseUpDown(d)||(this._dragging=!1)}function l(d){var p=f("zoomOnMouseWheel",d,this._opt),g=f("moveOnMouseWheel",d,this._opt),m=d.wheelDelta,y=Math.abs(m),_=d.offsetX,x=d.offsetY;if(!(m===0||!p&&!g)){if(p){var S=y>3?1.4:y>1?1.2:1.1,b=m>0?S:1/S;v(this,"zoom","zoomOnMouseWheel",d,{scale:b,originX:_,originY:x})}if(g){var w=Math.abs(m),A=(m>0?1:-1)*(w>3?.4:w>1?.15:.05);v(this,"scrollMove","moveOnMouseWheel",d,{scrollDelta:A,originX:_,originY:x})}}}function u(d){if(!a.isTaken(this._zr,"globalPan")){var p=d.pinchScale>1?1.1:1/1.1;v(this,"zoom",null,d,{scale:p,originX:d.pinchX,originY:d.pinchY})}}function v(d,p,g,m,y){d.pointerChecker&&d.pointerChecker(m,y.originX,y.originY)&&(e.stop(m.event),h(d,p,g,m,y))}function h(d,p,g,m,y){y.isAvailableBehavior=r.bind(f,null,g,m),d.trigger(p,y)}function f(d,p,g){var m=g[d];return!d||m&&(!r.isString(m)||p.event[m+"Key"])}var c=i;return rx=c,rx}var Rc={},YB;function uD(){if(YB)return Rc;YB=1;function r(e,a,i){var n=e.target,o=n.position;o[0]+=a,o[1]+=i,n.dirty()}function t(e,a,i,n){var o=e.target,s=e.zoomLimit,l=o.position,u=o.scale,v=e.zoom=e.zoom||1;if(v*=a,s){var h=s.min||0,f=s.max||1/0;v=Math.max(Math.min(f,v),h)}var c=v/e.zoom;e.zoom=v,l[0]-=(i-l[0])*(c-1),l[1]-=(n-l[1])*(c-1),u[0]*=c,u[1]*=c,o.dirty()}return Rc.updateViewOnPan=r,Rc.updateViewOnZoom=t,Rc}var ax={},ZB;function Sg(){if(ZB)return ax;ZB=1;var r={axisPointer:1,tooltip:1,brush:1};function t(e,a,i){var n=a.getComponentByElement(e.topTarget),o=n&&n.coordinateSystem;return n&&n!==i&&!r[n.mainType]&&o&&o.model!==i}return ax.onIrrelevantElement=t,ax}var ix,XB;function f$(){if(XB)return ix;XB=1;var r=ie(),t=xf(),e=uD(),a=Sg(),i=a.onIrrelevantElement,n=qe(),o=xg(),s=vf(),l=s.getUID,u=og();function v(p){var g=p.getItemStyle(),m=p.get("areaColor");return m!=null&&(g.fill=m),g}function h(p,g,m,y,_){m.off("click"),m.off("mousedown"),g.get("selectedMode")&&(m.on("mousedown",function(){p._mouseDownFlag=!0}),m.on("click",function(x){if(p._mouseDownFlag){p._mouseDownFlag=!1;for(var S=x.target;!S.__regions;)S=S.parent;if(S){var b={type:(g.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:r.map(S.__regions,function(w){return{name:w.name,from:_.uid}})};b[g.mainType+"Id"]=g.id,y.dispatchAction(b),f(g,m)}}}))}function f(p,g){g.eachChild(function(m){r.each(m.__regions,function(y){m.trigger(p.isSelected(y.name)?"emphasis":"normal")})})}function c(p,g){var m=new n.Group;this.uid=l("ec_map_draw"),this._controller=new t(p.getZr()),this._controllerHost={target:g?m:null},this.group=m,this._updateGroup=g,this._mouseDownFlag,this._mapName,this._initialized,m.add(this._regionsGroup=new n.Group),m.add(this._backgroundGroup=new n.Group)}c.prototype={constructor:c,draw:function(p,g,m,y,_){var x=p.mainType==="geo",S=p.getData&&p.getData();x&&g.eachComponent({mainType:"series",subType:"map"},function(V){!S&&V.getHostGeoModel()===p&&(S=V.getData())});var b=p.coordinateSystem;this._updateBackground(b);var w=this._regionsGroup,A=this.group,T=b.getTransformInfo(),C=!w.childAt(0)||_,M;if(C)A.transform=T.roamTransform,A.decomposeTransform(),A.dirty();else{var L=new u;L.transform=T.roamTransform,L.decomposeTransform();var D={scale:L.scale,position:L.position};M=L.scale,n.updateProps(A,D,p)}var P=T.rawScale,I=T.rawPosition;w.removeAll();var R=["itemStyle"],E=["emphasis","itemStyle"],k=["label"],B=["emphasis","label"],F=r.createHashMap();r.each(b.regions,function(V){var N=F.get(V.name)||F.set(V.name,new n.Group),O=new n.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});N.add(O);var z=p.getRegionModel(V.name)||p,G=z.getModel(R),q=z.getModel(E),H=v(G),U=v(q),W=z.getModel(k),Y=z.getModel(B),X;if(S){X=S.indexOfName(V.name);var K=S.getItemVisual(X,"color",!0);K&&(H.fill=K)}var Q=function(ye){return[ye[0]*P[0]+I[0],ye[1]*P[1]+I[1]]};r.each(V.geometries,function(ye){if(ye.type==="polygon"){for(var Me=[],J=0;J=0)&&(oe=p);var fe=new n.Text({position:Q(V.center.slice()),scale:[1/A.scale[0],1/A.scale[1]],z2:10,silent:!0});if(n.setLabelStyle(fe.style,fe.hoverStyle={},W,Y,{labelFetcher:oe,labelDataIndex:le,defaultText:V.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!C){var se=[1/M[0],1/M[1]];n.updateProps(fe,{scale:se},p)}N.add(fe)}if(S)S.setItemGraphicEl(X,N);else{var z=p.getRegionModel(V.name);O.eventData={componentType:"geo",componentIndex:p.componentIndex,geoIndex:p.componentIndex,name:V.name,region:z&&z.option||{}}}var ve=N.__regions||(N.__regions=[]);ve.push(V),N.highDownSilentOnTouch=!!p.get("selectedMode"),n.setHoverStyle(N,U),w.add(N)}),this._updateController(p,g,m),h(this,p,w,m,y),f(p,w)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&o.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(p){var g=p.map;this._mapName!==g&&r.each(o.makeGraphic(g,this.uid),function(m){this._backgroundGroup.add(m)},this),this._mapName=g},_updateController:function(p,g,m){var y=p.coordinateSystem,_=this._controller,x=this._controllerHost;x.zoomLimit=p.get("scaleLimit"),x.zoom=y.getZoom(),_.enable(p.get("roam")||!1);var S=p.mainType;function b(){var w={type:"geoRoam",componentType:S};return w[S+"Id"]=p.id,w}_.off("pan").on("pan",function(w){this._mouseDownFlag=!1,e.updateViewOnPan(x,w.dx,w.dy),m.dispatchAction(r.extend(b(),{dx:w.dx,dy:w.dy}))},this),_.off("zoom").on("zoom",function(w){if(this._mouseDownFlag=!1,e.updateViewOnZoom(x,w.scale,w.originX,w.originY),m.dispatchAction(r.extend(b(),{zoom:w.scale,originX:w.originX,originY:w.originY})),this._updateGroup){var A=this.group.scale;this._regionsGroup.traverse(function(T){T.type==="text"&&T.attr("scale",[1/A[0],1/A[1]])})}},this),_.setPointerChecker(function(w,A,T){return y.getViewRectAfterRoam().contain(A,T)&&!i(w,m,p)})}};var d=c;return ix=d,ix}var nx,KB;function ame(){if(KB)return nx;KB=1;var r=Pe(),t=ie(),e=qe(),a=f$(),i="__seriesMapHighDown",n="__seriesMapCallKey",o=r.extendChartView({type:"map",render:function(u,v,h,f){if(!(f&&f.type==="mapToggleSelect"&&f.from===this.uid)){var c=this.group;if(c.removeAll(),!u.getHostGeoModel()){if(f&&f.type==="geoRoam"&&f.componentType==="series"&&f.seriesId===u.id){var d=this._mapDraw;d&&c.add(d.group)}else if(u.needsDrawMap){var d=this._mapDraw||new a(h,!0);c.add(d.group),d.draw(u,v,h,this,f),this._mapDraw=d}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;u.get("showLegendSymbol")&&v.getComponent("legend")&&this._renderSymbols(u,v,h)}}},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(u,v,h){var f=u.originalData,c=this.group;f.each(f.mapDimension("value"),function(d,p){if(!isNaN(d)){var g=f.getItemLayout(p);if(!(!g||!g.point)){var m=g.point,y=g.offset,_=new e.Circle({style:{fill:u.getData().getVisual("color")},shape:{cx:m[0]+y*9,cy:m[1],r:3},silent:!0,z2:8+(y?0:e.Z2_EMPHASIS_LIFT+1)});if(!y){var x=u.mainSeries.getData(),S=f.getName(p),b=x.indexOfName(S),w=f.getItemModel(p),A=w.getModel("label"),T=w.getModel("emphasis.label"),C=x.getItemGraphicEl(b),M=t.retrieve2(u.getFormattedLabel(b,"normal"),S),L=t.retrieve2(u.getFormattedLabel(b,"emphasis"),M),D=C[i],P=Math.random();if(!D){D=C[i]={};var I=t.curry(s,!0),R=t.curry(s,!1);C.on("mouseover",I).on("mouseout",R).on("emphasis",I).on("normal",R)}C[n]=P,t.extend(D,{recordVersion:P,circle:_,labelModel:A,hoverLabelModel:T,emphasisText:L,normalText:M}),l(D,!1)}c.add(_)}}})}});function s(u){var v=this[i];v&&v.recordVersion===this[n]&&l(v,u)}function l(u,v){var h=u.circle,f=u.labelModel,c=u.hoverLabelModel,d=u.emphasisText,p=u.normalText;v?(h.style.extendFrom(e.setTextStyle({},c,{text:c.get("show")?d:null},{isRectText:!0,useInsideStyle:!1},!0)),h.__mapOriginalZ2=h.z2,h.z2+=e.Z2_EMPHASIS_LIFT):(e.setTextStyle(h.style,f,{text:f.get("show")?p:null,textPosition:f.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),h.dirty(!1),h.__mapOriginalZ2!=null&&(h.z2=h.__mapOriginalZ2,h.__mapOriginalZ2=null))}return nx=o,nx}var QB={},ox={},jB;function vD(){if(jB)return ox;jB=1;function r(t,e,a){var i=t.getZoom(),n=t.getCenter(),o=e.zoom,s=t.dataToPoint(n);if(e.dx!=null&&e.dy!=null){s[0]-=e.dx,s[1]-=e.dy;var n=t.pointToData(s);t.setCenter(n)}if(o!=null){if(a){var l=a.min||0,u=a.max||1/0;o=Math.max(Math.min(i*o,u),l)/i}t.scale[0]*=o,t.scale[1]*=o;var v=t.position,h=(e.originX-v[0])*(o-1),f=(e.originY-v[1])*(o-1);v[0]-=h,v[1]-=f,t.updateTransform();var n=t.pointToData(s);t.setCenter(n),t.setZoom(o*i)}return{center:t.getCenter(),zoom:t.getZoom()}}return ox.updateCenterAndZoom=r,ox}var JB;function c$(){if(JB)return QB;JB=1;var r=Pe(),t=ie(),e=vD(),a=e.updateCenterAndZoom;return r.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(i,n){var o=i.componentType||"series";n.eachComponent({mainType:o,query:i},function(s){var l=s.coordinateSystem;if(l.type==="geo"){var u=a(l,i,s.get("scaleLimit"));s.setCenter&&s.setCenter(u.center),s.setZoom&&s.setZoom(u.zoom),o==="series"&&t.each(s.seriesGroup,function(v){v.setCenter(u.center),v.setZoom(u.zoom)})}})}),QB}var sx,eV;function hD(){if(eV)return sx;eV=1;var r=ie(),t=Jt(),e=ha(),a=rr(),i=og(),n=t.applyTransform;function o(){i.call(this)}r.mixin(o,i);function s(v){this.name=v,this.zoomLimit,i.call(this),this._roamTransformable=new o,this._rawTransformable=new o,this._center,this._zoom}s.prototype={constructor:s,type:"view",dimensions:["x","y"],setBoundingRect:function(v,h,f,c){return this._rect=new a(v,h,f,c),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(v,h,f,c){this.transformTo(v,h,f,c),this._viewRect=new a(v,h,f,c)},transformTo:function(v,h,f,c){var d=this.getBoundingRect(),p=this._rawTransformable;p.transform=d.calculateTransform(new a(v,h,f,c)),p.decomposeTransform(),this._updateTransform()},setCenter:function(v){v&&(this._center=v,this._updateCenterAndZoom())},setZoom:function(v){v=v||1;var h=this.zoomLimit;h&&(h.max!=null&&(v=Math.min(h.max,v)),h.min!=null&&(v=Math.max(h.min,v))),this._zoom=v,this._updateCenterAndZoom()},getDefaultCenter:function(){var v=this.getBoundingRect(),h=v.x+v.width/2,f=v.y+v.height/2;return[h,f]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var v=this._rawTransformable.getLocalTransform(),h=this._roamTransformable,f=this.getDefaultCenter(),c=this.getCenter(),d=this.getZoom();c=t.applyTransform([],c,v),f=t.applyTransform([],f,v),h.origin=c,h.position=[f[0]-c[0],f[1]-c[1]],h.scale=[d,d],this._updateTransform()},_updateTransform:function(){var v=this._roamTransformable,h=this._rawTransformable;h.parent=v,v.updateTransform(),h.updateTransform(),e.copy(this.transform||(this.transform=[]),h.transform||e.create()),this._rawTransform=h.getLocalTransform(),this.invTransform=this.invTransform||[],e.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var v=this._roamTransformable.transform,h=this._rawTransformable;return{roamTransform:v?r.slice(v):e.create(),rawScale:r.slice(h.scale),rawPosition:r.slice(h.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var v=this.getBoundingRect().clone();return v.applyTransform(this.transform),v},dataToPoint:function(v,h,f){var c=h?this._rawTransform:this.transform;return f=f||[],c?n(f,v,c):t.copy(f,v)},pointToData:function(v){var h=this.invTransform;return h?n([],v,h):[v[0],v[1]]},convertToPixel:r.curry(l,"dataToPoint"),convertFromPixel:r.curry(l,"pointToData"),containPoint:function(v){return this.getViewRectAfterRoam().contain(v[0],v[1])}},r.mixin(s,i);function l(v,h,f,c){var d=f.seriesModel,p=d?d.coordinateSystem:null;return p===this?p[v](c):null}var u=s;return sx=u,sx}var lx,tV;function ime(){if(tV)return lx;tV=1;var r=ie(),t=rr(),e=hD(),a=xg();function i(s,l,u,v){e.call(this,s),this.map=l;var h=a.load(l,u);this._nameCoordMap=h.nameCoordMap,this._regionsMap=h.regionsMap,this._invertLongitute=v==null?!0:v,this.regions=h.regions,this._rect=h.boundingRect}i.prototype={constructor:i,type:"geo",dimensions:["lng","lat"],containCoord:function(s){for(var l=this.regions,u=0;u1?(T.width=x,T.height=x/w):(T.height=x,T.width=x*w),T.y=_[1]-T.height/2,T.x=_[0]-T.width/2}else y=f.getBoxLayoutParams(),y.aspect=w,T=i.getLayoutRect(y,{width:S,height:b});this.setViewRect(T.x,T.y,T.width,T.height),this.setCenter(f.get("center")),this.setZoom(f.get("zoom"))}function u(f,c){e.each(c.get("geoCoord"),function(d,p){f.addGeoCoord(p,d)})}var v={dimensions:a.prototype.dimensions,create:function(f,c){var d=[];f.eachComponent("geo",function(g,m){var y=g.get("map"),_=g.get("aspectScale"),x=!0,S=s.retrieveMap(y);S&&S[0]&&S[0].type==="svg"?(_==null&&(_=1),x=!1):_==null&&(_=.75);var b=new a(y+m,y,g.get("nameMap"),x);b.aspectScale=_,b.zoomLimit=g.get("scaleLimit"),d.push(b),u(b,g),g.coordinateSystem=b,b.model=g,b.resize=l,b.resize(g,c)}),f.eachSeries(function(g){var m=g.get("coordinateSystem");if(m==="geo"){var y=g.get("geoIndex")||0;g.coordinateSystem=d[y]}});var p={};return f.eachSeriesByType("map",function(g){if(!g.getHostGeoModel()){var m=g.getMapType();p[m]=p[m]||[],p[m].push(g)}}),e.each(p,function(g,m){var y=e.map(g,function(x){return x.get("nameMap")}),_=new a(m,m,e.mergeAll(y));_.zoomLimit=e.retrieve.apply(null,e.map(g,function(x){return x.get("scaleLimit")})),d.push(_),_.resize=l,_.aspectScale=g[0].get("aspectScale"),_.resize(g[0],c),e.each(g,function(x){x.coordinateSystem=_,u(_,x)})}),d},getFilledRegions:function(f,c,d){for(var p=(f||[]).slice(),g=e.createHashMap(),m=0;mu&&(u=h.height)}this.height=u+1},getNodeById:function(l){if(this.getId()===l)return this;for(var u=0,v=this.children,h=v.length;u=0&&this.hostTree.data.setItemLayout(this.dataIndex,l,u)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(l){if(!(this.dataIndex<0)){var u=this.hostTree,v=u.data.getItemModel(this.dataIndex);return v.getModel(l)}},setVisual:function(l,u){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,l,u)},getVisual:function(l,u){return this.hostTree.data.getItemVisual(this.dataIndex,l,u)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(l){for(var u=l.parentNode;u;){if(u===this)return!0;u=u.parentNode}return!1},isDescendantOf:function(l){return l!==this&&l.isAncestorOf(this)}};function n(l){this.root,this.data,this._nodes=[],this.hostModel=l}n.prototype={constructor:n,type:"tree",eachNode:function(l,u,v){this.root.eachNode(l,u,v)},getNodeByDataIndex:function(l){var u=this.data.getRawIndex(l);return this._nodes[u]},getNodeByName:function(l){return this.root.getNodeByName(l)},update:function(){for(var l=this.data,u=this._nodes,v=0,h=u.length;vf&&(f=p.depth)});var c=o.expandAndCollapse,d=c&&o.initialTreeDepth>=0?o.initialTreeDepth:f;return v.root.eachNode("preorder",function(p){var g=p.hostTree.data.getRawDataItem(p.dataIndex);p.isExpand=g&&g.collapsed!=null?!g.collapsed:p.depth<=d}),v.data},getOrient:function(){var o=this.get("orient");return o==="horizontal"?o="LR":o==="vertical"&&(o="TB"),o},setZoom:function(o){this.option.zoom=o},setCenter:function(o){this.option.center=o},formatTooltip:function(o){for(var s=this.getData().tree,l=s.root.children[0],u=s.getNodeByDataIndex(o),v=u.getValue(),h=u.name;u&&u!==l;)h=u.parentNode.name+"."+h,u=u.parentNode;return a(h+(isNaN(v)||v==null?"":" : "+v))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});return gx=n,gx}var Gn={},fV;function p$(){if(fV)return Gn;fV=1;var r=Ut();function t(d){d.hierNode={defaultAncestor:null,ancestor:d,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var p=[d],g,m;g=p.pop();)if(m=g.children,g.isExpand&&m.length)for(var y=m.length,_=y-1;_>=0;_--){var x=m[_];x.hierNode={defaultAncestor:null,ancestor:x,prelim:0,modifier:0,change:0,shift:0,i:_,thread:null},p.push(x)}}function e(d,p){var g=d.isExpand?d.children:[],m=d.parentNode.children,y=d.hierNode.i?m[d.hierNode.i-1]:null;if(g.length){s(d);var _=(g[0].hierNode.prelim+g[g.length-1].hierNode.prelim)/2;y?(d.hierNode.prelim=y.hierNode.prelim+p(d,y),d.hierNode.modifier=d.hierNode.prelim-_):d.hierNode.prelim=_}else y&&(d.hierNode.prelim=y.hierNode.prelim+p(d,y));d.parentNode.hierNode.defaultAncestor=l(d,y,d.parentNode.hierNode.defaultAncestor||m[0],p)}function a(d){var p=d.hierNode.prelim+d.parentNode.hierNode.modifier;d.setLayout({x:p},!0),d.hierNode.modifier+=d.parentNode.hierNode.modifier}function i(d){return arguments.length?d:c}function n(d,p){var g={};return d-=Math.PI/2,g.x=p*Math.cos(d),g.y=p*Math.sin(d),g}function o(d,p){return r.getLayoutRect(d.getBoxLayoutParams(),{width:p.getWidth(),height:p.getHeight()})}function s(d){for(var p=d.children,g=p.length,m=0,y=0;--g>=0;){var _=p[g];_.hierNode.prelim+=m,_.hierNode.modifier+=m,y+=_.hierNode.change,m+=_.hierNode.shift+y}}function l(d,p,g,m){if(p){for(var y=d,_=d,x=_.parentNode.children[0],S=p,b=y.hierNode.modifier,w=_.hierNode.modifier,A=x.hierNode.modifier,T=S.hierNode.modifier;S=u(S),_=v(_),S&&_;){y=u(y),x=v(x),y.hierNode.ancestor=d;var C=S.hierNode.prelim+T-_.hierNode.prelim-w+m(S,_);C>0&&(f(h(S,d,g),d,C),w+=C,b+=C),T+=S.hierNode.modifier,w+=_.hierNode.modifier,b+=y.hierNode.modifier,A+=x.hierNode.modifier}S&&!u(y)&&(y.hierNode.thread=S,y.hierNode.modifier+=T-b),_&&!v(x)&&(x.hierNode.thread=_,x.hierNode.modifier+=w-A,g=d)}return g}function u(d){var p=d.children;return p.length&&d.isExpand?p[p.length-1]:d.hierNode.thread}function v(d){var p=d.children;return p.length&&d.isExpand?p[0]:d.hierNode.thread}function h(d,p,g){return d.hierNode.ancestor.parentNode===p.parentNode?d.hierNode.ancestor:g}function f(d,p,g){var m=g/(p.hierNode.i-d.hierNode.i);p.hierNode.change-=m,p.hierNode.shift+=g,p.hierNode.modifier+=g,p.hierNode.prelim+=g,d.hierNode.change+=m}function c(d,p){return d.parentNode===p.parentNode?1:2}return Gn.init=t,Gn.firstWalk=e,Gn.secondWalk=a,Gn.separation=i,Gn.radialCoordinate=n,Gn.getViewRect=o,Gn}var mx,cV;function hme(){if(cV)return mx;cV=1;var r=ie(),t=qe(),e=gg(),a=p$(),i=a.radialCoordinate,n=Pe(),o=uf(),s=hD(),l=uD(),u=xf(),v=Sg(),h=v.onIrrelevantElement,f=It();f.__DEV__;var c=st(),d=c.parsePercent,p=t.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(w,A){var T=A.childPoints,C=T.length,M=A.parentPoint,L=T[0],D=T[C-1];if(C===1){w.moveTo(M[0],M[1]),w.lineTo(L[0],L[1]);return}var P=A.orient,I=P==="TB"||P==="BT"?0:1,R=1-I,E=d(A.forkPosition,1),k=[];k[I]=M[I],k[R]=M[R]+(D[R]-M[R])*E,w.moveTo(M[0],M[1]),w.lineTo(k[0],k[1]),w.moveTo(L[0],L[1]),k[I]=L[I],w.lineTo(k[0],k[1]),k[I]=D[I],w.lineTo(k[0],k[1]),w.lineTo(D[0],D[1]);for(var B=1;BG.x,U||(H=H-Math.PI));var Y=U?"left":"right",X=R.labelModel.get("rotate"),K=X*(Math.PI/180);O.setStyle({textPosition:R.labelModel.get("position")||Y,textRotation:X==null?-H:K,textOrigin:"center",verticalAlign:"middle"})}x(M,P,E,T,V,F,N,C,R)}function x(w,A,T,C,M,L,D,P,I){var R=I.edgeShape,E=C.__edge;if(R==="curve")A.parentNode&&A.parentNode!==T&&(E||(E=C.__edge=new t.BezierCurve({shape:b(I,M,M),style:r.defaults({opacity:0,strokeNoScale:!0},I.lineStyle)})),t.updateProps(E,{shape:b(I,L,D),style:r.defaults({opacity:1},I.lineStyle)},w));else if(R==="polyline"&&I.layout==="orthogonal"&&A!==T&&A.children&&A.children.length!==0&&A.isExpand===!0){for(var k=A.children,B=[],F=0;F=0;s--)i.push(o[s])}}return Ec.eachAfter=r,Ec.eachBefore=t,Ec}var yx,mV;function dme(){if(mV)return yx;mV=1;var r=cme(),t=r.eachAfter,e=r.eachBefore,a=p$(),i=a.init,n=a.firstWalk,o=a.secondWalk,s=a.separation,l=a.radialCoordinate,u=a.getViewRect;function v(f,c){f.eachSeriesByType("tree",function(d){h(d,c)})}function h(f,c){var d=u(f,c);f.layoutInfo=d;var p=f.get("layout"),g=0,m=0,y=null;p==="radial"?(g=2*Math.PI,m=Math.min(d.height,d.width)/2,y=s(function(I,R){return(I.parentNode===R.parentNode?1:2)/I.depth})):(g=d.width,m=d.height,y=s());var _=f.getData().tree.root,x=_.children[0];if(x){i(_),t(x,n,y),_.hierNode.modifier=-x.hierNode.prelim,e(x,o);var S=x,b=x,w=x;e(x,function(I){var R=I.getLayout().x;Rb.getLayout().x&&(b=I),I.depth>w.depth&&(w=I)});var A=S===b?1:y(S,b)/2,T=A-S.getLayout().x,C=0,M=0,L=0,D=0;if(p==="radial")C=g/(b.getLayout().x+A+T),M=m/(w.depth-1||1),e(x,function(I){L=(I.getLayout().x+T)*C,D=(I.depth-1)*M;var R=l(L,D);I.setLayout({x:R.x,y:R.y,rawX:L,rawY:D},!0)});else{var P=f.getOrient();P==="RL"||P==="LR"?(M=m/(b.getLayout().x+A+T),C=g/(w.depth-1||1),e(x,function(I){D=(I.getLayout().x+T)*M,L=P==="LR"?(I.depth-1)*C:g-(I.depth-1)*C,I.setLayout({x:L,y:D},!0)})):(P==="TB"||P==="BT")&&(C=g/(b.getLayout().x+A+T),M=m/(w.depth-1||1),e(x,function(I){L=(I.getLayout().x+T)*C,D=P==="TB"?(I.depth-1)*M:m-(I.depth-1)*M,I.setLayout({x:L,y:D},!0)}))}}}return yx=v,yx}var yV;function pme(){if(yV)return lV;yV=1;var r=Pe();vme(),hme(),fme();var t=Xs(),e=dme();return r.registerVisual(t("tree","circle")),r.registerLayout(e),lV}var _V={},wl={},xV;function Qs(){if(xV)return wl;xV=1;var r=ie();function t(n,o,s){if(n&&r.indexOf(o,n.type)>=0){var l=s.getData().tree.root,u=n.targetNode;if(typeof u=="string"&&(u=l.getNodeById(u)),u&&l.contains(u))return{node:u};var v=n.targetNodeId;if(v!=null&&(u=l.getNodeById(v)))return{node:u}}}function e(n){for(var o=[];n;)n=n.parentNode,n&&o.push(n);return o.reverse()}function a(n,o){var s=e(n);return r.indexOf(s,o)>=0}function i(n,o){for(var s=[];n;){var l=n.dataIndex;s.push({name:n.name,dataIndex:l,value:o.getRawValue(l)}),n=n.parentNode}return s.reverse(),s}return wl.retrieveTargetInfo=t,wl.getPathToRoot=e,wl.aboveViewRoot=a,wl.wrapTreePathInfo=i,wl}var _x,SV;function gme(){if(SV)return _x;SV=1;var r=ie(),t=Ir(),e=cD(),a=gr(),i=Yt(),n=i.encodeHTML,o=i.addCommas,s=Qs(),l=s.wrapTreePathInfo,u=t.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],preventUsingHoverLayer:!0,_viewRoot:null,defaultOption:{progressive:0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.32*.32,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(f,c){var d={name:f.name,children:f.data};v(d);var p=f.levels||[],g=this.designatedVisualItemStyle={},m=new a({itemStyle:g},this,c);p=f.levels=h(p,c);var y=r.map(p||[],function(S){return new a(S,m,c)},this),_=e.createTree(d,this,x);function x(S){S.wrapMethod("getItemModel",function(b,w){var A=_.getNodeByDataIndex(w),T=y[A.depth];return b.parentModel=T||m,b})}return _.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(f){var c=this.getData(),d=this.getRawValue(f),p=r.isArray(d)?o(d[0]):o(d),g=c.getName(f);return n(g+": "+p)},getDataParams:function(f){var c=t.prototype.getDataParams.apply(this,arguments),d=this.getData().tree.getNodeByDataIndex(f);return c.treePathInfo=l(d,this),c},setLayoutInfo:function(f){this.layoutInfo=this.layoutInfo||{},r.extend(this.layoutInfo,f)},mapIdToIndex:function(f){var c=this._idIndexMap;c||(c=this._idIndexMap=r.createHashMap(),this._idIndexMapCount=0);var d=c.get(f);return d==null&&c.set(f,d=this._idIndexMapCount++),d},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(f){f?this._viewRoot=f:f=this._viewRoot;var c=this.getRawData().tree.root;(!f||f!==c&&!c.contains(f))&&(this._viewRoot=c)}});function v(f){var c=0;r.each(f.children,function(p){v(p);var g=p.value;r.isArray(g)&&(g=g[0]),c+=g});var d=f.value;r.isArray(d)&&(d=d[0]),(d==null||isNaN(d))&&(d=c),d<0&&(d=0),r.isArray(f.value)?f.value[0]=d:f.value=d}function h(f,c){var d=c.get("color");if(d){f=f||[];var p;if(r.each(f,function(m){var y=new a(m),_=y.get("color");(y.get("itemStyle.color")||_&&_!=="none")&&(p=!0)}),!p){var g=f[0]||(f[0]={});g.color=d.slice()}return f}}return _x=u,_x}var xx,bV;function mme(){if(bV)return xx;bV=1;var r=qe(),t=Ut(),e=ie(),a=Qs(),i=a.wrapTreePathInfo,n=8,o=8,s=5;function l(f){this.group=new r.Group,f.add(this.group)}l.prototype={constructor:l,render:function(f,c,d,p){var g=f.getModel("breadcrumb"),m=this.group;if(m.removeAll(),!(!g.get("show")||!d)){var y=g.getModel("itemStyle"),_=y.getModel("textStyle"),x={pos:{left:g.get("left"),right:g.get("right"),top:g.get("top"),bottom:g.get("bottom")},box:{width:c.getWidth(),height:c.getHeight()},emptyItemWidth:g.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(d,x,_),this._renderContent(f,x,y,_,p),t.positionElement(m,x.pos,x.box)}},_prepare:function(f,c,d){for(var p=f;p;p=p.parentNode){var g=p.getModel().get("name"),m=d.getTextRect(g),y=Math.max(m.width+n*2,c.emptyItemWidth);c.totalWidth+=y+o,c.renderList.push({node:p,text:g,width:y})}},_renderContent:function(f,c,d,p,g){for(var m=0,y=c.emptyItemWidth,_=f.get("breadcrumb.height"),x=t.getAvailableSize(c.pos,c.box),S=c.totalWidth,b=c.renderList,w=b.length-1;w>=0;w--){var A=b[w],T=A.node,C=A.width,M=A.text;S>x.width&&(S-=C-y,C=y,M=null);var L=new r.Polygon({shape:{points:u(m,0,C,_,w===b.length-1,w===0)},style:e.defaults(d.getItemStyle(),{lineJoin:"bevel",text:M,textFill:p.getTextColor(),textFont:p.getFont()}),z:10,onclick:e.curry(g,T)});this.group.add(L),v(L,f,T),m+=C+o}},remove:function(){this.group.removeAll()}};function u(f,c,d,p,g,m){var y=[[g?f:f-s,c],[f+d,c],[f+d,c+p],[g?f:f-s,c+p]];return!m&&y.splice(2,0,[f+d+s,c+p/2]),!g&&y.push([f,c+p/2]),y}function v(f,c,d){f.eventData={componentType:"series",componentSubType:"treemap",componentIndex:c.componentIndex,seriesIndex:c.componentIndex,seriesName:c.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:d&&d.dataIndex,name:d&&d.name},treePathInfo:d&&i(d,c)}}var h=l;return xx=h,xx}var Sx={},wV;function yme(){if(wV)return Sx;wV=1;var r=ie();function t(){var e=[],a={},i;return{add:function(n,o,s,l,u){return r.isString(l)&&(u=l,l=0),a[n.id]?!1:(a[n.id]=1,e.push({el:n,target:o,time:s,delay:l,easing:u}),!0)},done:function(n){return i=n,this},start:function(){for(var n=e.length,o=0,s=e.length;om||Math.abs(I.dy)>m)){var R=this.seriesModel.getData().tree.root;if(!R)return;var E=R.getLayout();if(!E)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:E.x+I.dx,y:E.y+I.dy,width:E.width,height:E.height}})}},_onZoom:function(I){var R=I.originX,E=I.originY;if(this._state!=="animating"){var k=this.seriesModel.getData().tree.root;if(!k)return;var B=k.getLayout();if(!B)return;var F=new s(B.x,B.y,B.width,B.height),V=this.seriesModel.layoutInfo;R-=V.x,E-=V.y;var N=l.create();l.translate(N,N,[-R,-E]),l.scale(N,N,[I.scale,I.scale]),l.translate(N,N,[R,E]),F.applyTransform(N),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:F.x,y:F.y,width:F.width,height:F.height}})}},_initEvents:function(I){I.on("click",function(R){if(this._state==="ready"){var E=this.seriesModel.get("nodeClick",!0);if(E){var k=this.findTarget(R.offsetX,R.offsetY);if(k){var B=k.node;if(B.getLayout().isLeafRoot)this._rootToNode(k);else if(E==="zoomToNode")this._zoomToNode(k);else if(E==="link"){var F=B.hostTree.data.getItemModel(B.dataIndex),V=F.get("link",!0),N=F.get("target",!0)||"blank";V&&f(V,N)}}}}},this)},_renderBreadcrumb:function(I,R,E){E||(E=I.get("leafDepth",!0)!=null?{node:I.getViewRoot()}:this.findTarget(R.getWidth()/2,R.getHeight()/2),E||(E={node:I.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new n(this.group))).render(I,R,E.node,c(k,this));function k(B){this._state!=="animating"&&(i.aboveViewRoot(I.getViewRoot(),B)?this._rootToNode({node:B}):this._zoomToNode({node:B}))}},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=L(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(I){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:I.node})},_rootToNode:function(I){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:I.node})},findTarget:function(I,R){var E,k=this.seriesModel.getViewRoot();return k.eachNode({attr:"viewChildren",order:"preorder"},function(B){var F=this._storage.background[B.getRawIndex()];if(F){var V=F.transformCoordToLocal(I,R),N=F.shape;if(N.x<=V[0]&&V[0]<=N.x+N.width&&N.y<=V[1]&&V[1]<=N.y+N.height)E={node:B,offsetX:V[0],offsetY:V[1]};else return!1}},this),E}});function L(){return{nodeGroup:[],background:[],content:[]}}function D(I,R,E,k,B,F,V,N,O,z){if(!V)return;var G=V.getLayout(),q=I.getData();if(q.setItemGraphicEl(V.dataIndex,null),!G||!G.isInView)return;var H=G.width,U=G.height,W=G.borderWidth,Y=G.invisible,X=V.getRawIndex(),K=N&&N.getRawIndex(),Q=V.viewChildren,j=G.upperHeight,te=Q&&Q.length,Z=V.getModel("itemStyle"),ee=V.getModel("emphasis.itemStyle"),le=ue("nodeGroup",d);if(!le)return;if(O.add(le),le.attr("position",[G.x||0,G.y||0]),le.__tmNodeWidth=H,le.__tmNodeHeight=U,G.isAboveViewRoot)return le;var oe=V.getModel(),fe=ue("background",p,z,w);if(fe&&ve(le,fe,te&&G.upperLabelHeight),te)e.isHighDownDispatcher(le)&&e.setAsHighDownDispatcher(le,!1),fe&&(e.setAsHighDownDispatcher(fe,!0),q.setItemGraphicEl(V.dataIndex,fe));else{var se=ue("content",p,z,A);se&&ye(le,se),fe&&e.isHighDownDispatcher(fe)&&e.setAsHighDownDispatcher(fe,!1),e.setAsHighDownDispatcher(le,!0),q.setItemGraphicEl(V.dataIndex,le)}return le;function ve(ge,pe,Ce){if(pe.dataIndex=V.dataIndex,pe.seriesIndex=I.seriesIndex,pe.setShape({x:0,y:0,width:H,height:U}),Y)Me(pe);else{pe.invisible=!1;var ze=V.getVisual("borderColor",!0),Ve=ee.get("borderColor"),ke=C(Z);ke.fill=ze;var lt=T(ee);if(lt.fill=Ve,Ce){var dt=H-2*W;J(ke,lt,ze,dt,j,{x:W,y:0,width:dt,height:j})}else ke.text=lt.text=null;pe.setStyle(ke),e.setElementHoverStyle(pe,lt)}ge.add(pe)}function ye(ge,pe){pe.dataIndex=V.dataIndex,pe.seriesIndex=I.seriesIndex;var Ce=Math.max(H-2*W,0),ze=Math.max(U-2*W,0);if(pe.culling=!0,pe.setShape({x:W,y:W,width:Ce,height:ze}),Y)Me(pe);else{pe.invisible=!1;var Ve=V.getVisual("color",!0),ke=C(Z);ke.fill=Ve;var lt=T(ee);J(ke,lt,Ve,Ce,ze),pe.setStyle(ke),e.setElementHoverStyle(pe,lt)}ge.add(pe)}function Me(ge){!ge.invisible&&F.push(ge)}function J(ge,pe,Ce,ze,Ve,ke){var lt=oe.get("name"),dt=oe.getModel(ke?x:y),Dt=oe.getModel(ke?S:_),Tt=dt.getShallow("show");e.setLabelStyle(ge,pe,dt,Dt,{defaultText:Tt?lt:null,autoColor:Ce,isRectText:!0,labelFetcher:I,labelDataIndex:V.dataIndex,labelProp:ke?"upperLabel":"label"}),ne(ge,ke,G),ne(pe,ke,G),ke&&(ge.textRect=t.clone(ke)),ge.truncate=Tt&&dt.get("ellipsis")?{outerWidth:ze,outerHeight:Ve,minChar:2}:null}function ne(ge,pe,Ce){var ze=ge.text;if(!pe&&Ce.isLeafRoot&&ze!=null){var Ve=I.get("drillDownIcon",!0);ge.text=Ve?Ve+" "+ze:ze}}function ue(ge,pe,Ce,ze){var Ve=K!=null&&E[ge][K],ke=B[ge];return Ve?(E[ge][K]=null,me(ke,Ve,ge)):Y||(Ve=new pe({z:P(Ce,ze)}),Ve.__tmDepth=Ce,Ve.__tmStorageName=ge,xe(ke,Ve,ge)),R[ge][X]=Ve}function me(ge,pe,Ce){var ze=ge[X]={};ze.old=Ce==="nodeGroup"?pe.position.slice():t.extend({},pe.shape)}function xe(ge,pe,Ce){var ze=ge[X]={},Ve=V.parentNode;if(Ve&&(!k||k.direction==="drillDown")){var ke=0,lt=0,dt=B.background[Ve.getRawIndex()];!k&&dt&&dt.old&&(ke=dt.old.width,lt=dt.old.height),ze.old=Ce==="nodeGroup"?[0,lt]:{x:ke,y:lt,width:0,height:0}}ze.fadein=Ce!=="nodeGroup"}}function P(I,R){var E=I*b+R;return(E-1)/E}return bx=M,bx}var AV={},CV;function xme(){if(CV)return AV;CV=1;for(var r=Pe(),t=Qs(),e=function(){},a=["treemapZoomToNode","treemapRender","treemapMove"],i=0;i=0;L--)T[L]==null&&(delete C[A[L]],A.pop())}function h(w,A){var T=w.visual,C=[];r.isObject(T)?i(T,function(L){C.push(L)}):T!=null&&C.push(T);var M={color:1,symbol:1};!A&&C.length===1&&!M.hasOwnProperty(w.type)&&(C[1]=C[0]),_(w,C)}function f(w){return{applyVisual:function(A,T,C){A=this.mapValueToVisual(A),C("color",w(T("color"),A))},_doMap:m([0,1])}}function c(w){var A=this.option.visual;return A[Math.round(a(w,[0,1],[0,A.length-1],!0))]||{}}function d(w){return function(A,T,C){C(w,this.mapValueToVisual(A))}}function p(w){var A=this.option.visual;return A[this.option.loop&&w!==o?w%A.length:w]}function g(){return this.option.visual[0]}function m(w){return{linear:function(A){return a(A,w,this.option.visual,!0)},category:p,piecewise:function(A,T){var C=y.call(this,T);return C==null&&(C=a(A,w,this.option.visual,!0)),C},fixed:g}}function y(w){var A=this.option,T=A.pieceList;if(A.hasSpecialVisual){var C=s.findPieceIndex(w,T),M=T[C];if(M&&M.visual)return M.visual[this.type]}}function _(w,A){return w.visual=A,w.type==="color"&&(w.parsedVisual=r.map(A,function(T){return t.parse(T)})),A}var x={linear:function(w){return a(w,this.option.dataExtent,[0,1],!0)},piecewise:function(w){var A=this.option.pieceList,T=s.findPieceIndex(w,A,!0);if(T!=null)return a(T,[0,A.length-1],[0,1],!0)},category:function(w){var A=this.option.categories?this.option.categoryMap[w]:w;return A==null?o:A},fixed:r.noop};s.listVisualTypes=function(){var w=[];return r.each(l,function(A,T){w.push(T)}),w},s.addVisualHandler=function(w,A){l[w]=A},s.isValidType=function(w){return l.hasOwnProperty(w)},s.eachVisual=function(w,A,T){r.isObject(w)?r.each(w,A,T):A.call(T,w)},s.mapVisual=function(w,A,T){var C,M=r.isArray(w)?[]:r.isObject(w)?{}:(C=!0,null);return s.eachVisual(w,function(L,D){var P=A.call(T,L,D);C?M=P:M[D]=P}),M},s.retrieveVisuals=function(w){var A={},T;return w&&i(l,function(C,M){w.hasOwnProperty(M)&&(A[M]=w[M],T=!0)}),T?A:null},s.prepareVisualTypes=function(w){if(n(w)){var A=[];i(w,function(T,C){A.push(C)}),w=A}else if(r.isArray(w))w=w.slice();else return[];return w.sort(function(T,C){return C==="color"&&T!=="color"&&T.indexOf("color")===0?1:-1}),w},s.dependsOn=function(w,A){return A==="color"?!!(w&&w.indexOf(A)===0):w===A},s.findPieceIndex=function(w,A,T){for(var C,M=1/0,L=0,D=A.length;L=g.length||M===g[M.depth]){var D=c(y,S,M,L,C,m);o(M,D,g,m)}})}}}function s(d,p,g){var m=e.extend({},p),y=g.designatedVisualItemStyle;return e.each(["color","colorAlpha","colorSaturation"],function(_){y[_]=p[_];var x=d.get(_);y[_]=null,x!=null&&(m[_]=x)}),m}function l(d){var p=v(d,"color");if(p){var g=v(d,"colorAlpha"),m=v(d,"colorSaturation");return m&&(p=t.modifyHSL(p,null,null,m)),g&&(p=t.modifyAlpha(p,g)),p}}function u(d,p){return p!=null?t.modifyHSL(p,null,null,d):null}function v(d,p){var g=d[p];if(g!=null&&g!=="none")return g}function h(d,p,g,m,y,_){if(!(!_||!_.length)){var x=f(p,"color")||y.color!=null&&y.color!=="none"&&(f(p,"colorAlpha")||f(p,"colorSaturation"));if(x){var S=p.get("visualMin"),b=p.get("visualMax"),w=g.dataExtent.slice();S!=null&&Sw[1]&&(w[1]=b);var A=p.get("colorMappingBy"),T={type:x.name,dataExtent:w,visual:x.range};T.type==="color"&&(A==="index"||A==="id")?(T.mappingMethod="category",T.loop=!0):T.mappingMethod="linear";var C=new r(T);return C.__drColorMappingBy=A,C}}}function f(d,p){var g=d.get(p);return a(g)&&g.length?{name:p,range:g}:null}function c(d,p,g,m,y,_){var x=e.extend({},p);if(y){var S=y.type,b=S==="color"&&y.__drColorMappingBy,w=b==="index"?m:b==="id"?_.mapIdToIndex(g.getId()):g.getValue(d.get("visualDimension"));x[S]=y.mapValueToVisual(w)}return x}return Ax=n,Ax}var Cx,LV;function bme(){if(LV)return Cx;LV=1;var r=ie(),t=rr(),e=st(),a=e.parsePercent,i=e.MAX_SAFE_INTEGER,n=Ut(),o=Qs(),s=Math.max,l=Math.min,u=r.retrieve,v=r.each,h=["itemStyle","borderWidth"],f=["itemStyle","gapWidth"],c=["upperLabel","show"],d=["upperLabel","height"],p={seriesType:"treemap",reset:function(M,L,D,P){var I=D.getWidth(),R=D.getHeight(),E=M.option,k=n.getLayoutRect(M.getBoxLayoutParams(),{width:D.getWidth(),height:D.getHeight()}),B=E.size||[],F=a(u(k.width,B[0]),I),V=a(u(k.height,B[1]),R),N=P&&P.type,O=["treemapZoomToNode","treemapRootToNode"],z=o.retrieveTargetInfo(P,O,M),G=N==="treemapRender"||N==="treemapMove"?P.rootRect:null,q=M.getViewRoot(),H=o.getPathToRoot(q);if(N!=="treemapMove"){var U=N==="treemapZoomToNode"?w(M,z,q,F,V):G?[G.width,G.height]:[F,V],W=E.sort;W&&W!=="asc"&&W!=="desc"&&(W="desc");var Y={squareRatio:E.squareRatio,sort:W,leafDepth:E.leafDepth};q.hostTree.clearLayouts();var X={x:0,y:0,width:U[0],height:U[1],area:U[0]*U[1]};q.setLayout(X),g(q,Y,!1,0);var X=q.getLayout();v(H,function(Q,j){var te=(H[j+1]||q).getValue();Q.setLayout(r.extend({dataExtent:[te,te],borderWidth:0,upperHeight:0},X))})}var K=M.getData().tree.root;K.setLayout(A(k,G,z),!0),M.setLayoutInfo(k),T(K,new t(-k.x,-k.y,I,R),H,q,0)}};function g(M,L,D,P){var I,R;if(!M.isRemoved()){var E=M.getLayout();I=E.width,R=E.height;var z=M.getModel(),k=z.get(h),B=z.get(f)/2,F=C(z),V=Math.max(k,F),N=k-B,O=V-B,z=M.getModel();M.setLayout({borderWidth:k,upperHeight:V,upperLabelHeight:F},!0),I=s(I-2*N,0),R=s(R-N-O,0);var G=I*R,q=m(M,z,G,L,D,P);if(q.length){var H={x:N,y:O,width:I,height:R},U=l(I,R),W=1/0,Y=[];Y.area=0;for(var X=0,K=q.length;X=0;B--){var F=I[P==="asc"?E-B-1:B].getValue();F/D*Lk[1]&&(k[1]=V)})}return{sum:P,dataExtent:k}}function S(M,L,D){for(var P=0,I=1/0,R=0,E,k=M.length;RP&&(P=E));var B=M.area*M.area,F=L*L*D;return B?s(F*P/B,B/(F*I)):1/0}function b(M,L,D,P,I){var R=L===D.width?0:1,E=1-R,k=["x","y"],B=["width","height"],F=D[k[R]],V=L?M.area/L:0;(I||V>D[B[E]])&&(V=D[B[E]]);for(var N=0,O=M.length;Ni&&(F=i),R=k}F=0&&h.call(f,c[p],p)},o.eachEdge=function(h,f){for(var c=this.edges,d=c.length,p=0;p=0&&c[p].node1.dataIndex>=0&&c[p].node2.dataIndex>=0&&h.call(f,c[p],p)},o.breadthFirstTraverse=function(h,f,c,d){if(s.isInstance(f)||(f=this._nodesMap[i(f)]),!!f){for(var p=c==="out"?"outEdges":c==="in"?"inEdges":"edges",g=0;g=0&&y.node2.dataIndex>=0});for(var p=0,g=d.length;p=0&&this[h][f].setItemVisual(this.dataIndex,c,d)},getVisual:function(c,d){return this[h][f].getItemVisual(this.dataIndex,c,d)},setLayout:function(c,d){this.dataIndex>=0&&this[h][f].setItemLayout(this.dataIndex,c,d)},getLayout:function(){return this[h][f].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[h][f].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[h][f].getRawIndex(this.dataIndex)}}};t.mixin(s,u("hostGraph","data")),t.mixin(l,u("hostGraph","edgeData")),n.Node=s,n.Edge=l,a(s),a(l);var v=n;return Mx=v,Mx}var Dx,EV;function g$(){if(EV)return Dx;EV=1;var r=ie(),t=ei(),e=Tme(),a=d$(),i=Mu(),n=bi(),o=In();function s(l,u,v,h,f){for(var c=new e(h),d=0;d "+x)),m++)}var S=v.get("coordinateSystem"),b;if(S==="cartesian2d"||S==="polar")b=o(l,v);else{var w=n.get(S),A=w&&w.type!=="view"?w.dimensions||[]:[];r.indexOf(A,"value")<0&&A.concat(["value"]);var T=i(l,{coordDimensions:A});b=new t(T,v),b.initData(l)}var C=new t(["value"],v);return C.initData(g,p),f&&f(b,C),a({mainData:b,struct:c,structAttr:"graph",datas:{node:b,edge:C},datasAttr:{node:"data",edge:"edgeData"}}),c.update(),c}return Dx=s,Dx}var bv={},kV;function bg(){if(kV)return bv;kV=1;var r=ie(),t="-->",e=function(f){return f.get("autoCurveness")||null},a=function(f,c){var d=e(f),p=20,g=[];if(typeof d=="number")p=d;else if(r.isArray(d)){f.__curvenessList=d;return}c>p&&(p=c);var m=p%2?p+2:p+3;g=[];for(var y=0;y ")),_.value&&(w+=" : "+s(_.value)),w}else return c.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var p=e.map(this.option.categories||[],function(m){return m.value!=null?m:e.extend({value:0},m)}),g=new t(["value"],this);g.initData(p),this._categoriesData=g,this._categoriesModels=g.mapArray(function(m){return g.getItemModel(m,!0)})},setZoom:function(p){this.option.zoom=p},setCenter:function(p){this.option.center=p},isAnimationEnabled:function(){return c.superCall(this,"isAnimationEnabled")&&!(this.get("layout")==="force"&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{label:{show:!0}}}}),d=c;return Lx=d,Lx}var Ix,NV;function Cme(){if(NV)return Ix;NV=1;var r=qe(),t=Jt(),e=r.Line.prototype,a=r.BezierCurve.prototype;function i(o){return isNaN(+o.cpx1)||isNaN(+o.cpy1)}var n=r.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(o,s){this[i(s)?"_buildPathLine":"_buildPathCurve"](o,s)},_buildPathLine:e.buildPath,_buildPathCurve:a.buildPath,pointAt:function(o){return this[i(this.shape)?"_pointAtLine":"_pointAtCurve"](o)},_pointAtLine:e.pointAt,_pointAtCurve:a.pointAt,tangentAt:function(o){var s=this.shape,l=i(s)?[s.x2-s.x1,s.y2-s.y1]:this._tangentAtCurve(o);return t.normalize(l,l)},_tangentAtCurve:a.tangentAt});return Ix=n,Ix}var Px,zV;function dD(){if(zV)return Px;zV=1;var r=ie(),t=Jt(),e=ti(),a=Cme(),i=qe(),n=st(),o=n.round,s=["fromSymbol","toSymbol"];function l(g){return"_"+g+"Type"}function u(g,m,y){var _=m.getItemVisual(y,g);if(!(!_||_==="none")){var x=m.getItemVisual(y,"color"),S=m.getItemVisual(y,g+"Size"),b=m.getItemVisual(y,g+"Rotate");r.isArray(S)||(S=[S,S]);var w=e.createSymbol(_,-S[0]/2,-S[1]/2,S[0],S[1],x);return w.__specifiedRotation=b==null||isNaN(b)?void 0:+b*Math.PI/180||0,w.name=g,w}}function v(g){var m=new a({name:"line",subPixelOptimize:!0});return h(m.shape,g),m}function h(g,m){g.x1=m[0][0],g.y1=m[0][1],g.x2=m[1][0],g.y2=m[1][1],g.percent=1;var y=m[2];y?(g.cpx1=y[0],g.cpy1=y[1]):(g.cpx1=NaN,g.cpy1=NaN)}function f(){var g=this,m=g.childOfName("fromSymbol"),y=g.childOfName("toSymbol"),_=g.childOfName("label");if(!(!m&&!y&&_.ignore)){for(var x=1,S=this.parent;S;)S.scale&&(x/=S.scale[0]),S=S.parent;var b=g.childOfName("line");if(!(!this.__dirty&&!b.__dirty)){var w=b.shape.percent,A=b.pointAt(0),T=b.pointAt(w),C=t.sub([],T,A);if(t.normalize(C,C),m){m.attr("position",A);var M=m.__specifiedRotation;if(M==null){var L=b.tangentAt(0);m.attr("rotation",Math.PI/2-Math.atan2(L[1],L[0]))}else m.attr("rotation",M);m.attr("scale",[x*w,x*w])}if(y){y.attr("position",T);var M=y.__specifiedRotation;if(M==null){var L=b.tangentAt(1);y.attr("rotation",-Math.PI/2-Math.atan2(L[1],L[0]))}else y.attr("rotation",M);y.attr("scale",[x*w,x*w])}if(!_.ignore){_.attr("position",T);var D,P,I,R,E=_.__labelDistance,k=E[0]*x,B=E[1]*x,F=w/2,L=b.tangentAt(F),V=[L[1],-L[0]],N=b.pointAt(F);V[1]>0&&(V[0]=-V[0],V[1]=-V[1]);var O=L[0]<0?-1:1;if(_.__position!=="start"&&_.__position!=="end"){var z=-Math.atan2(L[1],L[0]);T[0].8?"left":C[0]<-.8?"right":"center",I=C[1]>.8?"top":C[1]<-.8?"bottom":"middle";break;case"start":D=[-C[0]*k+A[0],-C[1]*B+A[1]],P=C[0]>.8?"right":C[0]<-.8?"left":"center",I=C[1]>.8?"bottom":C[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":D=[k*O+A[0],A[1]+G],P=L[0]<0?"right":"left",R=[-k*O,-G];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":D=[N[0],N[1]+G],P="center",R=[0,-G];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":D=[-k*O+T[0],T[1]+G],P=L[0]>=0?"right":"left",R=[k*O,-G];break}_.attr({style:{textVerticalAlign:_.__verticalAlign||I,textAlign:_.__textAlign||P},position:D,scale:[x,x],origin:R})}}}}function c(g,m,y){i.Group.call(this),this._createLine(g,m,y)}var d=c.prototype;d.beforeUpdate=f,d._createLine=function(g,m,y){var _=g.hostModel,x=g.getItemLayout(m),S=v(x);S.shape.percent=0,i.initProps(S,{shape:{percent:1}},_,m),this.add(S);var b=new i.Text({name:"label",lineLabelOriginalOpacity:1});this.add(b),r.each(s,function(w){var A=u(w,g,m);this.add(A),this[l(w)]=g.getItemVisual(m,w)},this),this._updateCommonStl(g,m,y)},d.updateData=function(g,m,y){var _=g.hostModel,x=this.childOfName("line"),S=g.getItemLayout(m),b={shape:{}};h(b.shape,S),i.updateProps(x,b,_,m),r.each(s,function(w){var A=g.getItemVisual(m,w),T=l(w);if(this[T]!==A){this.remove(this.childOfName(w));var C=u(w,g,m);this.add(C)}this[T]=A},this),this._updateCommonStl(g,m,y)},d._updateCommonStl=function(g,m,y){var _=g.hostModel,x=this.childOfName("line"),S=y&&y.lineStyle,b=y&&y.hoverLineStyle,w=y&&y.labelModel,A=y&&y.hoverLabelModel;if(!y||g.hasItemOption){var T=g.getItemModel(m);S=T.getModel("lineStyle").getLineStyle(),b=T.getModel("emphasis.lineStyle").getLineStyle(),w=T.getModel("label"),A=T.getModel("emphasis.label")}var C=g.getItemVisual(m,"color"),M=r.retrieve3(g.getItemVisual(m,"opacity"),S.opacity,1);x.useStyle(r.defaults({strokeNoScale:!0,fill:"none",stroke:C,opacity:M},S)),x.hoverStyle=b,r.each(s,function(N){var O=this.childOfName(N);O&&(O.setColor(C),O.setStyle({opacity:M}))},this);var L=w.getShallow("show"),D=A.getShallow("show"),P=this.childOfName("label"),I,R;if((L||D)&&(I=C||"#000",R=_.getFormattedLabel(m,"normal",g.dataType),R==null)){var E=_.getRawValue(m);R=E==null?g.getName(m):isFinite(E)?o(E):E}var k=L?R:null,B=D?r.retrieve2(_.getFormattedLabel(m,"emphasis",g.dataType),R):null,F=P.style;if(k!=null||B!=null){i.setTextStyle(P.style,w,{text:k},{autoColor:I}),P.__textAlign=F.textAlign,P.__verticalAlign=F.textVerticalAlign,P.__position=w.get("position")||"middle";var V=w.get("distance");r.isArray(V)||(V=[V,V]),P.__labelDistance=V}B!=null?P.hoverStyle={text:B,textFill:A.getTextColor(!0),fontStyle:A.getShallow("fontStyle"),fontWeight:A.getShallow("fontWeight"),fontSize:A.getShallow("fontSize"),fontFamily:A.getShallow("fontFamily")}:P.hoverStyle={text:null},P.ignore=!L&&!D,i.setHoverStyle(this)},d.highlight=function(){this.trigger("emphasis")},d.downplay=function(){this.trigger("normal")},d.updateLayout=function(g,m){this.setLinePoints(g.getItemLayout(m))},d.setLinePoints=function(g){var m=this.childOfName("line");h(m.shape,g),m.dirty()},r.inherits(c,i.Group);var p=c;return Px=p,Px}var Rx,BV;function pD(){if(BV)return Rx;BV=1;var r=qe(),t=dD();function e(h){this._ctor=h||t,this.group=new r.Group}var a=e.prototype;a.isPersistent=function(){return!0},a.updateData=function(h){var f=this,c=f.group,d=f._lineData;f._lineData=h,d||c.removeAll();var p=s(h);h.diff(d).add(function(g){i(f,h,g,p)}).update(function(g,m){n(f,d,h,m,g,p)}).remove(function(g){c.remove(d.getItemGraphicEl(g))}).execute()};function i(h,f,c,d){var p=f.getItemLayout(c);if(u(p)){var g=new h._ctor(f,c,d);f.setItemGraphicEl(c,g),h.group.add(g)}}function n(h,f,c,d,p,g){var m=f.getItemGraphicEl(d);if(!u(c.getItemLayout(p))){h.group.remove(m);return}m?m.updateData(c,p,g):m=new h._ctor(c,p,g),c.setItemGraphicEl(p,m),h.group.add(m)}a.updateLayout=function(){var h=this._lineData;h&&h.eachItemGraphicEl(function(f,c){f.updateLayout(h,c)},this)},a.incrementalPrepareUpdate=function(h){this._seriesScope=s(h),this._lineData=null,this.group.removeAll()};function o(h){return h.animators&&h.animators.length>0}a.incrementalUpdate=function(h,f){function c(m){!m.isGroup&&!o(m)&&(m.incremental=m.useHoverLayer=!0)}for(var d=h.start;d=0?_=_+S:_=_-S:C>=0?_=_-S:_=_+S}return _}function h(f,c){var d=[],p=r.quadraticSubdivide,g=[[],[],[]],m=[[],[]],y=[];c/=2,f.eachEdge(function(_,x){var S=_.getLayout(),b=_.getVisual("fromSymbol"),w=_.getVisual("toSymbol");S.__original||(S.__original=[t.clone(S[0]),t.clone(S[1])],S[2]&&S.__original.push(t.clone(S[2])));var A=S.__original;if(S[2]!=null){if(t.copy(g[0],A[0]),t.copy(g[1],A[2]),t.copy(g[2],A[1]),b&&b!=="none"){var T=a(_.node1),C=v(g,A[0],T*c);p(g[0][0],g[1][0],g[2][0],C,d),g[0][0]=d[3],g[1][0]=d[4],p(g[0][1],g[1][1],g[2][1],C,d),g[0][1]=d[3],g[1][1]=d[4]}if(w&&w!=="none"){var T=a(_.node2),C=v(g,A[1],T*c);p(g[0][0],g[1][0],g[2][0],C,d),g[1][0]=d[1],g[2][0]=d[2],p(g[0][1],g[1][1],g[2][1],C,d),g[1][1]=d[1],g[2][1]=d[2]}t.copy(S[0],g[0]),t.copy(S[1],g[2]),t.copy(S[2],g[1])}else{if(t.copy(m[0],A[0]),t.copy(m[1],A[1]),t.sub(y,m[1],m[0]),t.normalize(y,y),b&&b!=="none"){var T=a(_.node1);t.scaleAndAdd(m[0],m[0],y,T*c)}if(w&&w!=="none"){var T=a(_.node2);t.scaleAndAdd(m[1],m[1],y,-T*c)}t.copy(S[0],m[0]),t.copy(S[1],m[1])}})}return Ex=h,Ex}var kx,FV;function Dme(){if(FV)return kx;FV=1;var r=Pe(),t=ie(),e=df(),a=pD(),i=xf(),n=uD(),o=Sg(),s=o.onIrrelevantElement,l=qe(),u=Mme(),v=gD(),h=v.getNodeGlobalScale,f="__focusNodeAdjacency",c="__unfocusNodeAdjacency",d=["itemStyle","opacity"],p=["lineStyle","opacity"];function g(x,S){var b=x.getVisual("opacity");return b!=null?b:x.getModel().get(S)}function m(x,S,b){var w=x.getGraphicEl(),A=g(x,S);b!=null&&(A==null&&(A=1),A*=b),w.downplay&&w.downplay(),w.traverse(function(T){if(!T.isGroup){var C=T.lineLabelOriginalOpacity;(C==null||b!=null)&&(C=A),T.setStyle("opacity",C)}})}function y(x,S){var b=g(x,S),w=x.getGraphicEl();w.traverse(function(A){!A.isGroup&&A.setStyle("opacity",b)}),w.highlight&&w.highlight()}var _=r.extendChartView({type:"graph",init:function(x,S){var b=new e,w=new a,A=this.group;this._controller=new i(S.getZr()),this._controllerHost={target:A},A.add(b.group),A.add(w.group),this._symbolDraw=b,this._lineDraw=w,this._firstRender=!0},render:function(x,S,b){var w=this,A=x.coordinateSystem;this._model=x;var T=this._symbolDraw,C=this._lineDraw,M=this.group;if(A.type==="view"){var L={position:A.position,scale:A.scale};this._firstRender?M.attr(L):l.updateProps(M,L,x)}u(x.getGraph(),h(x));var D=x.getData();T.updateData(D);var P=x.getEdgeData();C.updateData(P),this._updateNodeAndLinkScale(),this._updateController(x,S,b),clearTimeout(this._layoutTimeout);var I=x.forceLayout,R=x.get("force.layoutAnimation");I&&this._startForceLayoutIteration(I,R),D.eachItemGraphicEl(function(F,V){var N=D.getItemModel(V);F.off("drag").off("dragend");var O=N.get("draggable");O&&F.on("drag",function(){I&&(I.warmUp(),!this._layouting&&this._startForceLayoutIteration(I,R),I.setFixed(V),D.setItemLayout(V,F.position))},this).on("dragend",function(){I&&I.setUnfixed(V)},this),F.setDraggable(O&&I),F[f]&&F.off("mouseover",F[f]),F[c]&&F.off("mouseout",F[c]),N.get("focusNodeAdjacency")&&(F.on("mouseover",F[f]=function(){w._clearTimer(),b.dispatchAction({type:"focusNodeAdjacency",seriesId:x.id,dataIndex:F.dataIndex})}),F.on("mouseout",F[c]=function(){w._dispatchUnfocus(b)}))},this),D.graph.eachEdge(function(F){var V=F.getGraphicEl();V[f]&&V.off("mouseover",V[f]),V[c]&&V.off("mouseout",V[c]),F.getModel().get("focusNodeAdjacency")&&(V.on("mouseover",V[f]=function(){w._clearTimer(),b.dispatchAction({type:"focusNodeAdjacency",seriesId:x.id,edgeDataIndex:F.dataIndex})}),V.on("mouseout",V[c]=function(){w._dispatchUnfocus(b)}))});var E=x.get("layout")==="circular"&&x.get("circular.rotateLabel"),k=D.getLayout("cx"),B=D.getLayout("cy");D.eachItemGraphicEl(function(F,V){var N=D.getItemModel(V),O=N.get("label.rotate")||0,z=F.getSymbolPath();if(E){var G=D.getItemLayout(V),q=Math.atan2(G[1]-B,G[0]-k);q<0&&(q=Math.PI*2+q);var H=G[0]=o/3?1:2),v=a.y-n(l)*s*(s>=o/3?1:2);l=a.angle-Math.PI/2,e.moveTo(u,v),e.lineTo(a.x+i(l)*s,a.y+n(l)*s),e.lineTo(a.x+i(a.angle)*o,a.y+n(a.angle)*o),e.lineTo(a.x-i(l)*s,a.y-n(l)*s),e.lineTo(u,v)}});return Ux=t,Ux}var $x,o5;function Fme(){if(o5)return $x;o5=1;var r=Gme(),t=qe(),e=tn(),a=st(),i=a.parsePercent,n=a.round,o=a.linearMap;function s(f,c){var d=f.get("center"),p=c.getWidth(),g=c.getHeight(),m=Math.min(p,g),y=i(d[0],c.getWidth()),_=i(d[1],c.getHeight()),x=i(f.get("radius"),m/2);return{cx:y,cy:_,r:x}}function l(f,c){return c&&(typeof c=="string"?f=c.replace("{value}",f!=null?f:""):typeof c=="function"&&(f=c(f))),f}var u=Math.PI*2,v=e.extend({type:"gauge",render:function(f,c,d){this.group.removeAll();var p=f.get("axisLine.lineStyle.color"),g=s(f,d);this._renderMain(f,c,d,p,g)},dispose:function(){},_renderMain:function(f,c,d,p,g){for(var m=this.group,y=f.getModel("axisLine"),_=y.getModel("lineStyle"),x=f.get("clockwise"),S=-f.get("startAngle")/180*Math.PI,b=-f.get("endAngle")/180*Math.PI,w=(b-S)%u,A=S,T=_.get("width"),C=y.get("show"),M=0;C&&M=R&&(E===0?0:p[E-1][0]).4?"bottom":"middle",textAlign:O<-.4?"left":O>.4?"right":"center"},{autoColor:U}),silent:!0}))}if(M.get("show")&&N!==D){for(var W=0;W<=P;W++){var O=Math.cos(E),z=Math.sin(E),Y=new t.Line({shape:{x1:O*w+S,y1:z*w+b,x2:O*(w-R)+S,y2:z*(w-R)+b},silent:!0,style:V});V.stroke==="auto"&&Y.setStyle({stroke:p((N+W/P)/D)}),x.add(Y),E+=B}E-=B}else E+=k}},_renderPointer:function(f,c,d,p,g,m,y,_){var x=this.group,S=this._data;if(!f.get("pointer.show")){S&&S.eachItemGraphicEl(function(C){x.remove(C)});return}var b=[+f.get("min"),+f.get("max")],w=[m,y],A=f.getData(),T=A.mapDimension("value");A.diff(S).add(function(C){var M=new r({shape:{angle:m}});t.initProps(M,{shape:{angle:o(A.get(T,C),b,w,!0)}},f),x.add(M),A.setItemGraphicEl(C,M)}).update(function(C,M){var L=S.getItemGraphicEl(M);t.updateProps(L,{shape:{angle:o(A.get(T,C),b,w,!0)}},f),x.add(L),A.setItemGraphicEl(C,L)}).remove(function(C){var M=S.getItemGraphicEl(C);x.remove(M)}).execute(),A.eachItemGraphicEl(function(C,M){var L=A.getItemModel(M),D=L.getModel("pointer");C.setShape({x:g.cx,y:g.cy,width:i(D.get("width"),g.r),r:i(D.get("length"),g.r)}),C.useStyle(L.getModel("itemStyle").getItemStyle()),C.style.fill==="auto"&&C.setStyle("fill",p(o(A.get(T,M),b,[0,1],!0))),t.setHoverStyle(C,L.getModel("emphasis.itemStyle").getItemStyle())}),this._data=A},_renderTitle:function(f,c,d,p,g){var m=f.getData(),y=m.mapDimension("value"),_=f.getModel("title");if(_.get("show")){var x=_.get("offsetCenter"),S=g.cx+i(x[0],g.r),b=g.cy+i(x[1],g.r),w=+f.get("min"),A=+f.get("max"),T=f.getData().get(y,0),C=p(o(T,[w,A],[0,1],!0));this.group.add(new t.Text({silent:!0,style:t.setTextStyle({},_,{x:S,y:b,text:m.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:C,forceRich:!0})}))}},_renderDetail:function(f,c,d,p,g){var m=f.getModel("detail"),y=+f.get("min"),_=+f.get("max");if(m.get("show")){var x=m.get("offsetCenter"),S=g.cx+i(x[0],g.r),b=g.cy+i(x[1],g.r),w=i(m.get("width"),g.r),A=i(m.get("height"),g.r),T=f.getData(),C=T.get(T.mapDimension("value"),0),M=p(o(C,[y,_],[0,1],!0));this.group.add(new t.Text({silent:!0,style:t.setTextStyle({},m,{x:S,y:b,text:l(C,m.get("formatter")),textWidth:isNaN(w)?null:w,textHeight:isNaN(A)?null:A,textAlign:"center",textVerticalAlign:"middle"},{autoColor:M,forceRich:!0})}))}}}),h=v;return $x=h,$x}var s5;function Hme(){return s5||(s5=1,Vme(),Fme()),a5}var l5={},Yx,u5;function qme(){if(u5)return Yx;u5=1;var r=Pe(),t=ie(),e=Lu(),a=_t(),i=a.defaultEmphasis,n=Ln(),o=n.makeSeriesEncodeForNameBased,s=yf(),l=r.extendSeriesModel({type:"series.funnel",init:function(v){l.superApply(this,"init",arguments),this.legendVisualProvider=new s(t.bind(this.getData,this),t.bind(this.getRawData,this)),this._defaultLabelLine(v)},getInitialData:function(v,h){return e(this,{coordDimensions:["value"],encodeDefaulter:t.curry(o,this)})},_defaultLabelLine:function(v){i(v,"labelLine",["show"]);var h=v.labelLine,f=v.emphasis.labelLine;h.show=h.show&&v.label.show,f.show=f.show&&v.emphasis.label.show},getDataParams:function(v){var h=this.getData(),f=l.superCall(this,"getDataParams",v),c=h.mapDimension("value"),d=h.getSum(c);return f.percent=d?+(h.get(c,v)/d*100).toFixed(2):0,f.$vars.push("percent"),f},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),u=l;return Yx=u,Yx}var Zx,v5;function Wme(){if(v5)return Zx;v5=1;var r=qe(),t=ie(),e=tn();function a(l,u){r.Group.call(this);var v=new r.Polygon,h=new r.Polyline,f=new r.Text;this.add(v),this.add(h),this.add(f),this.highDownOnUpdate=function(c,d){d==="emphasis"?(h.ignore=h.hoverIgnore,f.ignore=f.hoverIgnore):(h.ignore=h.normalIgnore,f.ignore=f.normalIgnore)},this.updateData(l,u,!0)}var i=a.prototype,n=["itemStyle","opacity"];i.updateData=function(l,u,v){var h=this.childAt(0),f=l.hostModel,c=l.getItemModel(u),d=l.getItemLayout(u),p=l.getItemModel(u).get(n);p=p==null?1:p,h.useStyle({}),v?(h.setShape({points:d.points}),h.setStyle({opacity:0}),r.initProps(h,{style:{opacity:p}},f,u)):r.updateProps(h,{style:{opacity:p},shape:{points:d.points}},f,u);var g=c.getModel("itemStyle"),m=l.getItemVisual(u,"color");h.setStyle(t.defaults({lineJoin:"round",fill:m},g.getItemStyle(["opacity"]))),h.hoverStyle=g.getModel("emphasis").getItemStyle(),this._updateLabel(l,u),r.setHoverStyle(this)},i._updateLabel=function(l,u){var v=this.childAt(1),h=this.childAt(2),f=l.hostModel,c=l.getItemModel(u),d=l.getItemLayout(u),p=d.label,x=l.getItemVisual(u,"color");r.updateProps(v,{shape:{points:p.linePoints||p.linePoints}},f,u),r.updateProps(h,{style:{x:p.x,y:p.y}},f,u),h.attr({rotation:p.rotation,origin:[p.x,p.y],z2:10});var g=c.getModel("label"),m=c.getModel("emphasis.label"),y=c.getModel("labelLine"),_=c.getModel("emphasis.labelLine"),x=l.getItemVisual(u,"color");r.setLabelStyle(h.style,h.hoverStyle={},g,m,{labelFetcher:l.hostModel,labelDataIndex:u,defaultText:l.getName(u),autoColor:x,useInsideStyle:!!p.inside},{textAlign:p.textAlign,textVerticalAlign:p.verticalAlign}),h.ignore=h.normalIgnore=!g.get("show"),h.hoverIgnore=!m.get("show"),v.ignore=v.normalIgnore=!y.get("show"),v.hoverIgnore=!_.get("show"),v.setStyle({stroke:x}),v.setStyle(y.getModel("lineStyle").getLineStyle()),v.hoverStyle=_.getModel("lineStyle").getLineStyle()},t.inherits(a,r.Group);var o=e.extend({type:"funnel",render:function(l,u,v){var h=l.getData(),f=this._data,c=this.group;h.diff(f).add(function(d){var p=new a(h,d);h.setItemGraphicEl(d,p),c.add(p)}).update(function(d,p){var g=f.getItemGraphicEl(p);g.updateData(h,d),c.add(g),h.setItemGraphicEl(d,g)}).remove(function(d){var p=f.getItemGraphicEl(d);c.remove(p)}).execute(),this._data=h},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),s=o;return Zx=s,Zx}var Xx,h5;function Ume(){if(h5)return Xx;h5=1;var r=It();r.__DEV__;var t=Ut(),e=st(),a=e.parsePercent,i=e.linearMap;function n(u,v){return t.getLayoutRect(u.getBoxLayoutParams(),{width:v.getWidth(),height:v.getHeight()})}function o(u,v){for(var h=u.mapDimension("value"),f=u.mapArray(h,function(m){return m}),c=[],d=v==="ascending",p=0,g=u.count();pl&&(i[1-o]=i[o]+d.sign*l),i}function t(a,i){var n=a[i]-a[1-i];return{span:Math.abs(n),sign:n>0?-1:n<0?1:i?-1:1}}function e(a,i){return Math.min(i[1]!=null?i[1]:1/0,Math.max(i[0]!=null?i[0]:-1/0,a))}return jx=r,jx}var Jx,_5;function Xme(){if(_5)return Jx;_5=1;var r=ie(),t=ha(),e=Ut(),a=wi(),i=Zme(),n=qe(),o=st(),s=Iu(),l=r.each,u=Math.min,v=Math.max,h=Math.floor,f=Math.ceil,c=o.round,d=Math.PI;function p(x,S,b){this._axesMap=r.createHashMap(),this._axesLayout={},this.dimensions=x.dimensions,this._rect,this._model=x,this._init(x,S,b)}p.prototype={type:"parallel",constructor:p,_init:function(x,S,b){var w=x.dimensions,A=x.parallelAxisIndex;l(w,function(T,C){var M=A[C],L=S.getComponent("parallelAxis",M),D=this._axesMap.set(T,new i(T,a.createScaleByModel(L),[0,0],L.get("type"),M)),P=D.type==="category";D.onBand=P&&L.get("boundaryGap"),D.inverse=L.get("inverse"),L.axis=D,D.model=L,D.coordinateSystem=L.coordinateSystem=this},this)},update:function(x,S){this._updateAxesFromSeries(this._model,x)},containPoint:function(x){var S=this._makeLayoutInfo(),b=S.axisBase,w=S.layoutBase,A=S.pixelDimIndex,T=x[1-A],C=x[A];return T>=b&&T<=b+S.axisLength&&C>=w&&C<=w+S.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(x,S){S.eachSeries(function(b){if(x.contains(b,S)){var w=b.getData();l(this.dimensions,function(A){var T=this._axesMap.get(A);T.scale.unionExtentFromData(w,w.mapDimension(A)),a.niceScaleExtent(T.scale,T.model)},this)}},this)},resize:function(x,S){this._rect=e.getLayoutRect(x.getBoxLayoutParams(),{width:S.getWidth(),height:S.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var x=this._model,S=this._rect,b=["x","y"],w=["width","height"],A=x.get("layout"),T=A==="horizontal"?0:1,C=S[w[T]],M=[0,C],L=this.dimensions.length,D=g(x.get("axisExpandWidth"),M),P=g(x.get("axisExpandCount")||0,[0,L]),I=x.get("axisExpandable")&&L>3&&L>P&&P>1&&D>0&&C>0,R=x.get("axisExpandWindow"),E;if(R)E=g(R[1]-R[0],M),R[1]=R[0]+E;else{E=g(D*(P-1),M);var k=x.get("axisExpandCenter")||h(L/2);R=[D*k-E/2],R[1]=R[0]+E}var B=(C-E)/(L-P);B<3&&(B=0);var F=[h(c(R[0]/D,1))+1,f(c(R[1]/D,1))-1],V=B/D*R[0];return{layout:A,pixelDimIndex:T,layoutBase:S[b[T]],layoutLength:C,axisBase:S[b[1-T]],axisLength:S[w[1-T]],axisExpandable:I,axisExpandWidth:D,axisCollapseWidth:B,axisExpandWindow:R,axisCount:L,winInnerIndices:F,axisExpandWindow0Pos:V}},_layoutAxes:function(){var x=this._rect,S=this._axesMap,b=this.dimensions,w=this._makeLayoutInfo(),A=w.layout;S.each(function(T){var C=[0,w.axisLength],M=T.inverse?1:0;T.setExtent(C[M],C[1-M])}),l(b,function(T,C){var M=(w.axisExpandable?y:m)(C,w),L={horizontal:{x:M.position,y:w.axisLength},vertical:{x:0,y:M.position}},D={horizontal:d/2,vertical:0},P=[L[A].x+x.x,L[A].y+x.y],I=D[A],R=t.create();t.rotate(R,R,I),t.translate(R,R,P),this._axesLayout[T]={position:P,rotation:I,transform:R,axisNameAvailableWidth:M.axisNameAvailableWidth,axisLabelShow:M.axisLabelShow,nameTruncateMaxWidth:M.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(x){return this._axesMap.get(x)},dataToPoint:function(x,S){return this.axisCoordToPoint(this._axesMap.get(S).dataToCoord(x),S)},eachActiveState:function(x,S,b,w){b==null&&(b=0),w==null&&(w=x.count());var A=this._axesMap,T=this.dimensions,C=[],M=[];r.each(T,function(B){C.push(x.mapDimension(B)),M.push(A.get(B).model)});for(var L=this.hasAxisBrushed(),D=b;DA*(1-P[0])?(L="jump",M=C-A*(1-P[2])):(M=C-A*P[1])>=0&&(M=C-A*(1-P[1]))<=0&&(M=0),M*=S.axisExpandWidth/D,M?s(M,w,T,"all"):L="none";else{var A=w[1]-w[0],R=T[1]*C/A;w=[v(0,R-A/2)],w[1]=u(T[1],w[0]+A),w[0]=w[1]-A}return{axisExpandWindow:w,behavior:L}}};function g(x,S){return u(v(x,S[0]),S[1])}function m(x,S){var b=S.layoutLength/(S.axisCount-1);return{position:b*x,axisNameAvailableWidth:b,axisLabelShow:!0}}function y(x,S){var b=S.layoutLength,w=S.axisExpandWidth,A=S.axisCount,T=S.axisCollapseWidth,C=S.winInnerIndices,M,L=T,D=!1,P;return x=0;f--)i.asc(h[f])},getActiveState:function(v){var h=this.activeIntervals;if(!h.length)return"normal";if(v==null||isNaN(v))return"inactive";if(h.length===1){var f=h[0];if(f[0]<=v&&v<=f[1])return"active"}else for(var c=0,d=h.length;cc}function F(J){var ne=J.length-1;return ne<0&&(ne=0),[J[0],J[ne]]}function V(J,ne,ue,me){var xe=new a.Group;return xe.add(new a.Rect({name:"main",style:G(ue),silent:!0,draggable:!0,cursor:"move",drift:o(J,ne,xe,"nswe"),ondragend:o(k,ne,{isEnd:!0})})),s(me,function(ge){xe.add(new a.Rect({name:ge,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:o(J,ne,xe,ge),ondragend:o(k,ne,{isEnd:!0})}))}),xe}function N(J,ne,ue,me){var xe=me.brushStyle.lineWidth||0,ge=v(xe,d),pe=ue[0][0],Ce=ue[1][0],ze=pe-xe/2,Ve=Ce-xe/2,ke=ue[0][1],lt=ue[1][1],dt=ke-ge+xe/2,Dt=lt-ge+xe/2,Tt=ke-pe,Bt=lt-Ce,Vt=Tt+xe,Ke=Bt+xe;z(J,ne,"main",pe,Ce,Tt,Bt),me.transformable&&(z(J,ne,"w",ze,Ve,ge,Ke),z(J,ne,"e",dt,Ve,ge,Ke),z(J,ne,"n",ze,Ve,Vt,ge),z(J,ne,"s",ze,Dt,Vt,ge),z(J,ne,"nw",ze,Ve,ge,ge),z(J,ne,"ne",dt,Ve,ge,ge),z(J,ne,"sw",ze,Dt,ge,ge),z(J,ne,"se",dt,Dt,ge,ge))}function O(J,ne){var ue=ne.__brushOption,me=ue.transformable,xe=ne.childAt(0);xe.useStyle(G(ue)),xe.attr({silent:!me,cursor:me?"move":"default"}),s(["w","e","n","s","se","sw","ne","nw"],function(ge){var pe=ne.childOfName(ge),Ce=U(J,ge);pe&&pe.attr({silent:!me,invisible:!me,cursor:me?m[Ce]+"-resize":null})})}function z(J,ne,ue,me,xe,ge,pe){var Ce=ne.childOfName(ue);Ce&&Ce.setShape(Q(K(J,ne,[[me,xe],[me+ge,xe+pe]])))}function G(J){return t.defaults({strokeNoScale:!0},J.brushStyle)}function q(J,ne,ue,me){var xe=[u(J,ue),u(ne,me)],ge=[v(J,ue),v(ne,me)];return[[xe[0],ge[0]],[xe[1],ge[1]]]}function H(J){return a.getTransform(J.group)}function U(J,ne){if(ne.length>1){ne=ne.split("");var ue=[U(J,ne[0]),U(J,ne[1])];return(ue[0]==="e"||ue[0]==="w")&&ue.reverse(),ue.join("")}else{var me={w:"left",e:"right",n:"top",s:"bottom"},xe={left:"w",right:"e",top:"n",bottom:"s"},ue=a.transformDirection(me[ne],H(J));return xe[ue]}}function W(J,ne,ue,me,xe,ge,pe,Ce){var ze=me.__brushOption,Ve=J(ze.range),ke=X(ue,ge,pe);s(xe.split(""),function(lt){var dt=g[lt];Ve[dt[0]][dt[1]]+=ke[dt[0]]}),ze.range=ne(q(Ve[0][0],Ve[1][0],Ve[0][1],Ve[1][1])),D(ue,me),k(ue,{isEnd:!1})}function Y(J,ne,ue,me,xe){var ge=ne.__brushOption.range,pe=X(J,ue,me);s(ge,function(Ce){Ce[0]+=pe[0],Ce[1]+=pe[1]}),D(J,ne),k(J,{isEnd:!1})}function X(J,ne,ue){var me=J.group,xe=me.transformCoordToLocal(ne,ue),ge=me.transformCoordToLocal(0,0);return[xe[0]-ge[0],xe[1]-ge[1]]}function K(J,ne,ue){var me=R(J,ne);return me&&me!==!0?me.clipPath(ue,J._transform):t.clone(ue)}function Q(J){var ne=u(J[0][0],J[1][0]),ue=u(J[0][1],J[1][1]),me=v(J[0][0],J[1][0]),xe=v(J[0][1],J[1][1]);return{x:ne,y:ue,width:me-ne,height:xe-ue}}function j(J,ne,ue){if(!(!J._brushType||se(J,ne))){var me=J._zr,xe=J._covers,ge=I(J,ne,ue);if(!J._dragging)for(var pe=0;peme.getWidth()||ue<0||ue>me.getHeight()}var ve={lineX:ye(0),lineY:ye(1),rect:{createCover:function(J,ne){return V(o(W,function(ue){return ue},function(ue){return ue}),J,ne,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(J){var ne=F(J);return q(ne[1][0],ne[1][1],ne[0][0],ne[0][1])},updateCoverShape:function(J,ne,ue,me){N(J,ne,ue,me)},updateCommon:O,contain:Z},polygon:{createCover:function(J,ne){var ue=new a.Group;return ue.add(new a.Polyline({name:"main",style:G(ne),silent:!0})),ue},getCreatingRange:function(J){return J},endCreating:function(J,ne){ne.remove(ne.childAt(0)),ne.add(new a.Polygon({name:"main",draggable:!0,drift:o(Y,J,ne),ondragend:o(k,J,{isEnd:!0})}))},updateCoverShape:function(J,ne,ue,me){ne.childAt(0).setShape({points:K(J,ne,ue)})},updateCommon:O,contain:Z}};function ye(J){return{createCover:function(ne,ue){return V(o(W,function(me){var xe=[me,[0,100]];return J&&xe.reverse(),xe},function(me){return me[J]}),ne,ue,[["w","e"],["n","s"]][J])},getCreatingRange:function(ne){var ue=F(ne),me=u(ue[0][J],ue[1][J]),xe=v(ue[0][J],ue[1][J]);return[me,xe]},updateCoverShape:function(ne,ue,me,xe){var ge,pe=R(ne,ue);if(pe!==!0&&pe.getLinearBrushOtherExtent)ge=pe.getLinearBrushOtherExtent(J,ne._transform);else{var Ce=ne._zr;ge=[0,[Ce.getWidth(),Ce.getHeight()][1-J]]}var ze=[me,ge];J&&ze.reverse(),N(ne,ue,ze,xe)},updateCommon:O,contain:Z}}var Me=x;return rS=Me,rS}var wv={},M5;function S$(){if(M5)return wv;M5=1;var r=rr(),t=Sg(),e=t.onIrrelevantElement,a=qe();function i(l){return l=s(l),function(u,v){return a.clipPointsByRect(u,l)}}function n(l,u){return l=s(l),function(v){var h=u!=null?u:v,f=h?l.width:l.height,c=h?l.x:l.y;return[c,c+(f||0)]}}function o(l,u,v){return l=s(l),function(h,f,c){return l.contain(f[0],f[1])&&!e(h,u,v)}}function s(l){return r.create(l)}return wv.makeRectPanelClipPath=i,wv.makeLinearBrushOtherExtent=n,wv.makeRectIsTargetByCursor=o,wv}var aS,D5;function Jme(){if(D5)return aS;D5=1;var r=Pe(),t=ie(),e=bo(),a=mD(),i=S$(),n=qe(),o=["axisLine","axisTickLabel","axisName"],s=r.extendComponentView({type:"parallelAxis",init:function(f,c){s.superApply(this,"init",arguments),(this._brushController=new a(c.getZr())).on("brush",t.bind(this._onBrush,this))},render:function(f,c,d,p){if(!l(f,c,p)){this.axisModel=f,this.api=d,this.group.removeAll();var g=this._axisGroup;if(this._axisGroup=new n.Group,this.group.add(this._axisGroup),!!f.get("show")){var m=v(f,c),y=m.coordinateSystem,_=f.getAreaSelectStyle(),x=_.width,S=f.axis.dim,b=y.getAxisLayout(S),w=t.extend({strokeContainThreshold:x},b),A=new e(f,w);t.each(o,A.add,A),this._axisGroup.add(A.getGroup()),this._refreshBrushController(w,_,f,m,x,d);var T=p&&p.animation===!1?null:f;n.groupTransition(g,this._axisGroup,T)}}},_refreshBrushController:function(f,c,d,p,g,m){var y=d.axis.getExtent(),_=y[1]-y[0],x=Math.min(30,Math.abs(_)*.1),S=n.BoundingRect.create({x:y[0],y:-g/2,width:_,height:g});S.x-=x,S.width+=2*x,this._brushController.mount({enableGlobalPan:!0,rotation:f.rotation,position:f.position}).setPanels([{panelId:"pl",clipPath:i.makeRectPanelClipPath(S),isTargetByCursor:i.makeRectIsTargetByCursor(S,m,p),getLinearBrushOtherExtent:i.makeLinearBrushOtherExtent(S,0)}]).enableBrush({brushType:"lineX",brushStyle:c,removeOnClick:!0}).updateCovers(u(d))},_onBrush:function(f,c){var d=this.axisModel,p=d.axis,g=t.map(f,function(m){return[p.coordToData(m.range[0],!0),p.coordToData(m.range[1],!0)]});(!d.option.realtime===c.isEnd||c.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:d.id,intervals:g})},dispose:function(){this._brushController.dispose()}});function l(f,c,d){return d&&d.type==="axisAreaSelect"&&c.findComponents({mainType:"parallelAxis",query:d})[0]===f}function u(f){var c=f.axis;return t.map(f.activeIntervals,function(d){return{brushType:"lineX",panelId:"pl",range:[c.dataToCoord(d[0],!0),c.dataToCoord(d[1],!0)]}})}function v(f,c){return c.getComponent("parallel",f.get("parallelIndex"))}var h=s;return aS=h,aS}var L5;function eye(){return L5||(L5=1,x$(),jme(),Jme()),w5}var I5;function b$(){if(I5)return d5;I5=1;var r=Pe(),t=ie(),e=_o(),a=Yme();x$(),Qme(),eye();var i=5;r.extendComponentView({type:"parallel",render:function(s,l,u){this._model=s,this._api=u,this._handlers||(this._handlers={},t.each(n,function(v,h){u.getZr().on(h,this._handlers[h]=t.bind(v,this))},this)),e.createOrUpdate(this,"_throttledDispatchExpand",s.get("axisExpandRate"),"fixRate")},dispose:function(s,l){t.each(this._handlers,function(u,v){l.getZr().off(v,u)}),this._handlers=null},_throttledDispatchExpand:function(s){this._dispatchExpand(s)},_dispatchExpand:function(s){s&&this._api.dispatchAction(t.extend({type:"parallelAxisExpand"},s))}});var n={mousedown:function(s){o(this,"click")&&(this._mouseDownPoint=[s.offsetX,s.offsetY])},mouseup:function(s){var l=this._mouseDownPoint;if(o(this,"click")&&l){var u=[s.offsetX,s.offsetY],v=Math.pow(l[0]-u[0],2)+Math.pow(l[1]-u[1],2);if(v>i)return;var h=this._model.coordinateSystem.getSlidedAxisExpandWindow([s.offsetX,s.offsetY]);h.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:h.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(s){if(!(this._mouseDownPoint||!o(this,"mousemove"))){var l=this._model,u=l.coordinateSystem.getSlidedAxisExpandWindow([s.offsetX,s.offsetY]),v=u.behavior;v==="jump"&&this._throttledDispatchExpand.debounceNextCall(l.get("axisExpandDebounce")),this._throttledDispatchExpand(v==="none"?null:{axisExpandWindow:u.axisExpandWindow,animation:v==="jump"?null:!1})}}};function o(s,l){var u=s._model;return u.get("axisExpandable")&&u.get("axisExpandTriggerOn")===l}return r.registerPreprocessor(a),d5}var iS,P5;function tye(){if(P5)return iS;P5=1;var r=ie(),t=r.each,e=r.createHashMap,a=Ir(),i=In(),n=a.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(l,u){var v=this.getSource();return o(v,this),i(v,this)},getRawIndicesByActiveState:function(l){var u=this.coordinateSystem,v=this.getData(),h=[];return u.eachActiveState(v,function(f,c){l===f&&h.push(v.getRawIndex(c))}),h},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function o(l,u){if(!l.encodeDefine){var v=u.ecModel.getComponent("parallel",u.get("parallelIndex"));if(v){var h=l.encodeDefine=e();t(v.dimensions,function(f){var c=s(f);h.set(f,c)})}}}function s(l){return+l.replace("dim","")}return iS=n,iS}var nS,R5;function rye(){if(R5)return nS;R5=1;var r=qe(),t=tn(),e=.3,a=t.extend({type:"parallel",init:function(){this._dataGroup=new r.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(h,f,c,d){var p=this._dataGroup,g=h.getData(),m=this._data,y=h.coordinateSystem,_=y.dimensions,x=s(h);g.diff(m).add(S).update(b).remove(w).execute();function S(T){var C=o(g,p,T,_,y);l(C,g,T,x)}function b(T,C){var M=m.getItemGraphicEl(C),L=n(g,T,_,y);g.setItemGraphicEl(T,M);var D=d&&d.animation===!1?null:h;r.updateProps(M,{shape:{points:L}},D,T),l(M,g,T,x)}function w(T){var C=m.getItemGraphicEl(T);p.remove(C)}if(!this._initialized){this._initialized=!0;var A=i(y,h,function(){setTimeout(function(){p.removeClipPath()})});p.setClipPath(A)}this._data=g},incrementalPrepareRender:function(h,f,c){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(h,f,c){for(var d=f.getData(),p=f.coordinateSystem,g=p.dimensions,m=s(f),y=h.start;y=0&&(c[f[d].depth]=new i(f[d],this,u));if(h&&v){var p=t(h,v,this,!0,g);return p.data}function g(m,y){m.wrapMethod("getItemModel",function(_,x){return _.customizeGetParent(function(S){var b=this.parentModel,w=b.getData().getItemLayout(x).depth,A=b.levelModels[w];return A||this.parentModel}),_}),y.wrapMethod("getItemModel",function(_,x){return _.customizeGetParent(function(S){var b=this.parentModel,w=b.getGraph().getEdgeByIndex(x),A=w.node1.getLayout().depth,T=b.levelModels[A];return T||this.parentModel}),_})}},setNodePosition:function(l,u){var v=this.option.data[l];v.localX=u[0],v.localY=u[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(l,u,v){if(v==="edge"){var h=this.getDataParams(l,v),f=h.data,c=f.source+" -- "+f.target;return h.value&&(c+=" : "+h.value),a(c)}else if(v==="node"){var d=this.getGraph().getNodeByIndex(l),p=d.getLayout().value,g=this.getDataParams(l,v).data.name;if(p)var c=g+" : "+p;return a(c)}return o.superCall(this,"formatTooltip",l,u)},optionUpdated:function(){var l=this.option;l.focusNodeAdjacency===!0&&(l.focusNodeAdjacency="allEdges")},getDataParams:function(l,u){var v=o.superCall(this,"getDataParams",l,u);if(v.value==null&&u==="node"){var h=this.getGraph().getNodeByIndex(l),f=h.getLayout().value;v.value=f}return v},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}}),s=o;return sS=s,sS}var lS,z5;function oye(){if(z5)return lS;z5=1;var r=qe(),t=Pe(),e=ie(),a=["itemStyle","opacity"],i=["emphasis","itemStyle","opacity"],n=["lineStyle","opacity"],o=["emphasis","lineStyle","opacity"];function s(c,d){return c.getVisual("opacity")||c.getModel().get(d)}function l(c,d,p){var g=c.getGraphicEl(),m=s(c,d);p!=null&&(m==null&&(m=1),m*=p),g.downplay&&g.downplay(),g.traverse(function(y){y.type!=="group"&&y.setStyle("opacity",m)})}function u(c,d){var p=s(c,d),g=c.getGraphicEl();g.traverse(function(m){m.type!=="group"&&m.setStyle("opacity",p)}),g.highlight&&g.highlight()}var v=r.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(c,d){var p=d.extent;c.moveTo(d.x1,d.y1),c.bezierCurveTo(d.cpx1,d.cpy1,d.cpx2,d.cpy2,d.x2,d.y2),d.orient==="vertical"?(c.lineTo(d.x2+p,d.y2),c.bezierCurveTo(d.cpx2+p,d.cpy2,d.cpx1+p,d.cpy1,d.x1+p,d.y1)):(c.lineTo(d.x2,d.y2+p),c.bezierCurveTo(d.cpx2,d.cpy2+p,d.cpx1,d.cpy1+p,d.x1,d.y1+p)),c.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),h=t.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(c,d,p){var g=this,m=c.getGraph(),y=this.group,_=c.layoutInfo,x=_.width,S=_.height,b=c.getData(),w=c.getData("edge"),A=c.get("orient");this._model=c,y.removeAll(),y.attr("position",[_.x,_.y]),m.eachEdge(function(T){var C=new v;C.dataIndex=T.dataIndex,C.seriesIndex=c.seriesIndex,C.dataType="edge";var M=T.getModel("lineStyle"),L=M.get("curveness"),D=T.node1.getLayout(),P=T.node1.getModel(),I=P.get("localX"),R=P.get("localY"),E=T.node2.getLayout(),k=T.node2.getModel(),B=k.get("localX"),F=k.get("localY"),V=T.getLayout(),N,O,z,G,q,H,U,W;switch(C.shape.extent=Math.max(1,V.dy),C.shape.orient=A,A==="vertical"?(N=(I!=null?I*x:D.x)+V.sy,O=(R!=null?R*S:D.y)+D.dy,z=(B!=null?B*x:E.x)+V.ty,G=F!=null?F*S:E.y,q=N,H=O*(1-L)+G*L,U=z,W=O*L+G*(1-L)):(N=(I!=null?I*x:D.x)+D.dx,O=(R!=null?R*S:D.y)+V.sy,z=B!=null?B*x:E.x,G=(F!=null?F*S:E.y)+V.ty,q=N*(1-L)+z*L,H=O,U=N*L+z*(1-L),W=G),C.setShape({x1:N,y1:O,x2:z,y2:G,cpx1:q,cpy1:H,cpx2:U,cpy2:W}),C.setStyle(M.getItemStyle()),C.style.fill){case"source":C.style.fill=T.node1.getVisual("color");break;case"target":C.style.fill=T.node2.getVisual("color");break}r.setHoverStyle(C,T.getModel("emphasis.lineStyle").getItemStyle()),y.add(C),w.setItemGraphicEl(T.dataIndex,C)}),m.eachNode(function(T){var C=T.getLayout(),M=T.getModel(),L=M.get("localX"),D=M.get("localY"),P=M.getModel("label"),I=M.getModel("emphasis.label"),R=new r.Rect({shape:{x:L!=null?L*x:C.x,y:D!=null?D*S:C.y,width:C.dx,height:C.dy},style:M.getModel("itemStyle").getItemStyle()}),E=T.getModel("emphasis.itemStyle").getItemStyle();r.setLabelStyle(R.style,E,P,I,{labelFetcher:c,labelDataIndex:T.dataIndex,defaultText:T.id,isRectText:!0}),R.setStyle("fill",T.getVisual("color")),r.setHoverStyle(R,E),y.add(R),b.setItemGraphicEl(T.dataIndex,R),R.dataType="node"}),b.eachItemGraphicEl(function(T,C){var M=b.getItemModel(C);M.get("draggable")&&(T.drift=function(L,D){g._focusAdjacencyDisabled=!0,this.shape.x+=L,this.shape.y+=D,this.dirty(),p.dispatchAction({type:"dragNode",seriesId:c.id,dataIndex:b.getRawIndex(C),localX:this.shape.x/x,localY:this.shape.y/S})},T.ondragend=function(){g._focusAdjacencyDisabled=!1},T.draggable=!0,T.cursor="move"),T.highlight=function(){this.trigger("emphasis")},T.downplay=function(){this.trigger("normal")},T.focusNodeAdjHandler&&T.off("mouseover",T.focusNodeAdjHandler),T.unfocusNodeAdjHandler&&T.off("mouseout",T.unfocusNodeAdjHandler),M.get("focusNodeAdjacency")&&(T.on("mouseover",T.focusNodeAdjHandler=function(){g._focusAdjacencyDisabled||(g._clearTimer(),p.dispatchAction({type:"focusNodeAdjacency",seriesId:c.id,dataIndex:T.dataIndex}))}),T.on("mouseout",T.unfocusNodeAdjHandler=function(){g._focusAdjacencyDisabled||g._dispatchUnfocus(p)}))}),w.eachItemGraphicEl(function(T,C){var M=w.getItemModel(C);T.focusNodeAdjHandler&&T.off("mouseover",T.focusNodeAdjHandler),T.unfocusNodeAdjHandler&&T.off("mouseout",T.unfocusNodeAdjHandler),M.get("focusNodeAdjacency")&&(T.on("mouseover",T.focusNodeAdjHandler=function(){g._focusAdjacencyDisabled||(g._clearTimer(),p.dispatchAction({type:"focusNodeAdjacency",seriesId:c.id,edgeDataIndex:T.dataIndex}))}),T.on("mouseout",T.unfocusNodeAdjHandler=function(){g._focusAdjacencyDisabled||g._dispatchUnfocus(p)}))}),!this._data&&c.get("animation")&&y.setClipPath(f(y.getBoundingRect(),c,function(){y.removeClipPath()})),this._data=c.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(c){var d=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){d._unfocusDelayTimer=null,c.dispatchAction({type:"unfocusNodeAdjacency",seriesId:d._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(c,d,p,g){var m=c.getData(),y=m.graph,_=g.dataIndex,x=m.getItemModel(_),S=g.edgeDataIndex;if(!(_==null&&S==null)){var b=y.getNodeByIndex(_),w=y.getEdgeByIndex(S);if(y.eachNode(function(T){l(T,a,.1)}),y.eachEdge(function(T){l(T,n,.1)}),b){u(b,i);var A=x.get("focusNodeAdjacency");A==="outEdges"?e.each(b.outEdges,function(T){T.dataIndex<0||(u(T,o),u(T.node2,i))}):A==="inEdges"?e.each(b.inEdges,function(T){T.dataIndex<0||(u(T,o),u(T.node1,i))}):A==="allEdges"&&e.each(b.edges,function(T){T.dataIndex<0||(u(T,o),T.node1!==b&&u(T.node1,i),T.node2!==b&&u(T.node2,i))})}w&&(u(w,o),u(w.node1,i),u(w.node2,i))}},unfocusNodeAdjacency:function(c,d,p,g){var m=c.getGraph();m.eachNode(function(y){l(y,a)}),m.eachEdge(function(y){l(y,n)})}});function f(c,d,p){var g=new r.Rect({shape:{x:c.x-10,y:c.y-10,width:0,height:c.height+20}});return r.initProps(g,{shape:{width:c.width+20}},d,p),g}return lS=h,lS}var B5={},V5;function sye(){if(V5)return B5;V5=1;var r=Pe();return m$(),r.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},function(a){a.setNodePosition(t.dataIndex,[t.localX,t.localY])})}),B5}var uS,G5;function lye(){if(G5)return uS;G5=1;var r=Ut(),t=ie(),e=_t(),a=e.groupData;function i(M,L,D){M.eachSeriesByType("sankey",function(P){var I=P.get("nodeWidth"),R=P.get("nodeGap"),E=n(P,L);P.layoutInfo=E;var k=E.width,B=E.height,F=P.getGraph(),V=F.nodes,N=F.edges;s(V);var O=t.filter(V,function(H){return H.getLayout().value===0}),z=O.length!==0?0:P.get("layoutIterations"),G=P.get("orient"),q=P.get("nodeAlign");o(V,N,I,R,k,B,z,G,q)})}function n(M,L){return r.getLayoutRect(M.getBoxLayoutParams(),{width:L.getWidth(),height:L.getHeight()})}function o(M,L,D,P,I,R,E,k,B){l(M,L,D,I,R,k,B),c(M,L,R,I,P,E,k),C(M,k)}function s(M){t.each(M,function(L){var D=A(L.outEdges,w),P=A(L.inEdges,w),I=L.getValue()||0,R=Math.max(D,P,I);L.setLayout({value:R},!0)})}function l(M,L,D,P,I,R,E){for(var k=[],B=[],F=[],V=[],N=0,te=0,O=0;O=0;U&&H.depth>z&&(z=H.depth),q.setLayout({depth:U?H.depth:N},!0),R==="vertical"?q.setLayout({dy:D},!0):q.setLayout({dx:D},!0);for(var W=0;WN-1?z:N-1;E&&E!=="left"&&v(M,E,R,j);var te=R==="vertical"?(I-D)/j:(P-D)/j;f(M,te,R)}function u(M){var L=M.hostGraph.data.getRawDataItem(M.dataIndex);return L.depth!=null&&L.depth>=0}function v(M,L,D,P){if(L==="right"){for(var I=[],R=M,E=0;R.length;){for(var k=0;k0;R--)B*=.99,m(k,B,E),g(k,I,D,P,E),T(k,B,E),g(k,I,D,P,E)}function d(M,L){var D=[],P=L==="vertical"?"y":"x",I=a(M,function(R){return R.getLayout()[P]});return I.keys.sort(function(R,E){return R-E}),t.each(I.keys,function(R){D.push(I.buckets.get(R))}),D}function p(M,L,D,P,I,R){var E=1/0;t.each(M,function(k){var B=k.length,F=0;t.each(k,function(N){F+=N.getLayout().value});var V=R==="vertical"?(P-(B-1)*I)/F:(D-(B-1)*I)/F;V0&&(k=B.getLayout()[R]+F,I==="vertical"?B.setLayout({x:k},!0):B.setLayout({y:k},!0)),V=B.getLayout()[R]+B.getLayout()[O]+L;var G=I==="vertical"?P:D;if(F=V-L-G,F>0)for(k=B.getLayout()[R]-F,I==="vertical"?B.setLayout({x:k},!0):B.setLayout({y:k},!0),V=k,z=N-2;z>=0;--z)B=E[z],F=B.getLayout()[R]+B.getLayout()[O]+L-V,F>0&&(k=B.getLayout()[R]-F,I==="vertical"?B.setLayout({x:k},!0):B.setLayout({y:k},!0)),V=B.getLayout()[R]})}function m(M,L,D){t.each(M.slice().reverse(),function(P){t.each(P,function(I){if(I.outEdges.length){var R=A(I.outEdges,y,D)/A(I.outEdges,w,D);if(isNaN(R)){var E=I.outEdges.length;R=E?A(I.outEdges,_,D)/E:0}if(D==="vertical"){var k=I.getLayout().x+(R-b(I,D))*L;I.setLayout({x:k},!0)}else{var B=I.getLayout().y+(R-b(I,D))*L;I.setLayout({y:B},!0)}}})})}function y(M,L){return b(M.node2,L)*M.getValue()}function _(M,L){return b(M.node2,L)}function x(M,L){return b(M.node1,L)*M.getValue()}function S(M,L){return b(M.node1,L)}function b(M,L){return L==="vertical"?M.getLayout().x+M.getLayout().dx/2:M.getLayout().y+M.getLayout().dy/2}function w(M){return M.getValue()}function A(M,L,D){for(var P=0,I=M.length,R=-1;++Ru&&(u=h)}),t.each(s,function(v){var h=new r({type:"color",mappingMethod:"linear",dataExtent:[l,u],visual:n.get("color")}),f=h.mapValueToVisual(v.getLayout().value),c=v.getModel().get("itemStyle.color");c!=null?v.setVisual("color",c):v.setVisual("color",f)})}})}return vS=e,vS}var H5;function vye(){if(H5)return O5;H5=1;var r=Pe();nye(),oye(),sye();var t=lye(),e=uye();return r.registerLayout(t),r.registerVisual(e),O5}var q5={},hS={},W5;function w$(){if(W5)return hS;W5=1;var r=Lu(),t=ie(),e=cf(),a=e.getDimensionTypeByAxis,i=Ln(),n=i.makeSeriesEncodeForAxisCoordSys,o={_baseAxisDim:null,getInitialData:function(s,l){var u,v=l.getComponent("xAxis",this.get("xAxisIndex")),h=l.getComponent("yAxis",this.get("yAxisIndex")),f=v.get("type"),c=h.get("type"),d;f==="category"?(s.layout="horizontal",u=v.getOrdinalMeta(),d=!0):c==="category"?(s.layout="vertical",u=h.getOrdinalMeta(),d=!0):s.layout=s.layout||"horizontal";var p=["x","y"],g=s.layout==="horizontal"?0:1,m=this._baseAxisDim=p[g],y=p[1-g],_=[v,h],x=_[g].get("type"),S=_[1-g].get("type"),b=s.data;if(b&&d){var w=[];t.each(b,function(C,M){var L;C.value&&t.isArray(C.value)?(L=C.value.slice(),C.value.unshift(M)):t.isArray(C)?(L=C.slice(),C.unshift(M)):L=C,w.push(L)}),s.data=w}var A=this.defaultValueDimensions,T=[{name:m,type:a(x),ordinalMeta:u,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:y,type:a(S),dimsDef:A.slice()}];return r(this,{coordDimensions:T,dimensionsCount:A.length+1,encodeDefaulter:t.curry(n,T,this)})},getBaseAxis:function(){var s=this._baseAxisDim;return this.ecModel.getComponent(s+"Axis",this.get(s+"AxisIndex")).axis}};return hS.seriesModelMixin=o,hS}var fS,U5;function hye(){if(U5)return fS;U5=1;var r=ie(),t=Ir(),e=w$(),a=e.seriesModelMixin,i=t.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});r.mixin(i,a,!0);var n=i;return fS=n,fS}var cS,$5;function fye(){if($5)return cS;$5=1;var r=ie(),t=tn(),e=qe(),a=ur(),i=["itemStyle"],n=["emphasis","itemStyle"],o=t.extend({type:"boxplot",render:function(f,c,d){var p=f.getData(),g=this.group,m=this._data;this._data||g.removeAll();var y=f.get("layout")==="horizontal"?1:0;p.diff(m).add(function(_){if(p.hasValue(_)){var x=p.getItemLayout(_),S=l(x,p,_,y,!0);p.setItemGraphicEl(_,S),g.add(S)}}).update(function(_,x){var S=m.getItemGraphicEl(x);if(!p.hasValue(_)){g.remove(S);return}var b=p.getItemLayout(_);S?u(b,S,p,_):S=l(b,p,_,y),g.add(S),p.setItemGraphicEl(_,S)}).remove(function(_){var x=m.getItemGraphicEl(_);x&&g.remove(x)}).execute(),this._data=p},remove:function(f){var c=this.group,d=this._data;this._data=null,d&&d.eachItemGraphicEl(function(p){p&&c.remove(p)})},dispose:r.noop}),s=a.extend({type:"boxplotBoxPath",shape:{},buildPath:function(f,c){var d=c.points,p=0;for(f.moveTo(d[p][0],d[p][1]),p++;p<4;p++)f.lineTo(d[p][0],d[p][1]);for(f.closePath();p0?"P":"N",A=b.getVisual("borderColor"+w)||b.getVisual("color"+w),T=S.getModel(o).getItemStyle(l);x.useStyle(T),x.style.fill=null,x.style.stroke=A}var y=u;return mS=y,mS}var yS,J5;function yye(){if(J5)return yS;J5=1;var r=ie();function t(e){!e||!r.isArray(e.series)||r.each(e.series,function(a){r.isObject(a)&&a.type==="k"&&(a.type="candlestick")})}return yS=t,yS}var _S,eG;function _ye(){if(eG)return _S;eG=1;var r=Cu(),t=["itemStyle","borderColor"],e=["itemStyle","borderColor0"],a=["itemStyle","color"],i=["itemStyle","color0"],n={seriesType:"candlestick",plan:r(),performRawSeries:!0,reset:function(o,s){var l=o.getData();if(l.setVisual({legendSymbol:"roundRect",colorP:h(1,o),colorN:h(-1,o),borderColorP:f(1,o),borderColorN:f(-1,o)}),s.isSeriesFiltered(o))return;var u=o.pipelineContext.large;return!u&&{progress:v};function v(c,d){for(var p;(p=c.next())!=null;){var g=d.getItemModel(p),m=d.getItemLayout(p).sign;d.setItemVisual(p,{color:h(m,g),borderColor:f(m,g)})}}function h(c,d){return d.get(c>0?a:i)}function f(c,d){return d.get(c>0?t:e)}}};return _S=n,_S}var xS,tG;function xye(){if(tG)return xS;tG=1;var r=qe(),t=r.subPixelOptimize,e=Cu(),a=st(),i=a.parsePercent,n=ie(),o=n.retrieve2,s=typeof Float32Array<"u"?Float32Array:Array,l={seriesType:"candlestick",plan:e(),reset:function(h){var f=h.coordinateSystem,c=h.getData(),d=v(h,c),p=0,g=1,m=["x","y"],y=c.mapDimension(m[p]),_=c.mapDimension(m[g],!0),x=_[0],S=_[1],b=_[2],w=_[3];if(c.setLayout({candleWidth:d,isSimpleBox:d<=1.3}),y==null||_.length<4)return;return{progress:h.pipelineContext.large?T:A};function A(C,M){for(var L;(L=C.next())!=null;){var D=M.get(y,L),P=M.get(x,L),I=M.get(S,L),R=M.get(b,L),E=M.get(w,L),k=Math.min(P,I),B=Math.max(P,I),F=G(k,D),V=G(B,D),N=G(R,D),O=G(E,D),z=[];q(z,V,0),q(z,F,1),z.push(U(O),U(V),U(N),U(F)),M.setItemLayout(L,{sign:u(M,L,P,I,S),initBaseline:P>I?V[g]:F[g],ends:z,brushRect:H(R,E,D)})}function G(W,Y){var X=[];return X[p]=Y,X[g]=W,isNaN(Y)||isNaN(W)?[NaN,NaN]:f.dataToPoint(X)}function q(W,Y,X){var K=Y.slice(),Q=Y.slice();K[p]=t(K[p]+d/2,1,!1),Q[p]=t(Q[p]-d/2,1,!0),X?W.push(K,Q):W.push(Q,K)}function H(W,Y,X){var K=G(W,X),Q=G(Y,X);return K[p]-=d/2,Q[p]-=d/2,{x:K[0],y:K[1],width:d,height:Q[1]-K[1]}}function U(W){return W[p]=t(W[p],1),W}}function T(C,M){for(var L=new s(C.count*4),D=0,P,I=[],R=[],E;(E=C.next())!=null;){var k=M.get(y,E),B=M.get(x,E),F=M.get(S,E),V=M.get(b,E),N=M.get(w,E);if(isNaN(k)||isNaN(V)||isNaN(N)){L[D++]=NaN,D+=3;continue}L[D++]=u(M,E,B,F,S),I[p]=k,I[g]=V,P=f.dataToPoint(I,null,R),L[D++]=P?P[0]:NaN,L[D++]=P?P[1]:NaN,I[g]=N,P=f.dataToPoint(I,null,R),L[D++]=P?P[1]:NaN}M.setLayout("largePoints",L)}}};function u(h,f,c,d,p){var g;return c>d?g=-1:c0?h.get(p,f-1)<=d?1:-1:1,g}function v(h,f){var c=h.getBaseAxis(),d,p=c.type==="category"?c.getBandWidth():(d=c.getExtent(),Math.abs(d[1]-d[0])/f.count()),g=i(o(h.get("barMaxWidth"),p),p),m=i(o(h.get("barMinWidth"),1),p),y=h.get("barWidth");return y!=null?i(y,p):Math.max(Math.min(p/2,g),m)}return xS=l,xS}var rG;function Sye(){if(rG)return K5;rG=1;var r=Pe();gye(),mye();var t=yye(),e=_ye(),a=xye();return r.registerPreprocessor(t),r.registerVisual(e),r.registerLayout(a),K5}var aG={},SS,iG;function bye(){if(iG)return SS;iG=1;var r=In(),t=Ir(),e=t.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(a,i){return r(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});return SS=e,SS}var bS,nG;function wye(){if(nG)return bS;nG=1;var r=ie(),t=ti(),e=t.createSymbol,a=qe(),i=a.Group,n=st(),o=n.parsePercent,s=gg(),l=3;function u(d){return r.isArray(d)||(d=[+d,+d]),d}function v(d,p){var g=p.rippleEffectColor||p.color;d.eachChild(function(m){m.attr({z:p.z,zlevel:p.zlevel,style:{stroke:p.brushType==="stroke"?g:null,fill:p.brushType==="fill"?g:null}})})}function h(d,p){i.call(this);var g=new s(d,p),m=new i;this.add(g),this.add(m),m.beforeUpdate=function(){this.attr(g.getScale())},this.updateData(d,p)}var f=h.prototype;f.stopEffectAnimation=function(){this.childAt(1).removeAll()},f.startEffectAnimation=function(d){for(var p=d.symbolType,g=d.color,m=this.childAt(1),y=0;y"u"?Array:Uint32Array,v=typeof Float64Array>"u"?Array:Float64Array;function h(d){var p=d.data;p&&p[0]&&p[0][0]&&p[0][0].coord&&(d.data=o(p,function(g){var m=[g[0].coord,g[1].coord],y={coords:m};return g[0].name&&(y.fromName=g[0].name),g[1].name&&(y.toName=g[1].name),n([y,g[0],g[1]])}))}var f=t.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(d){d.data=d.data||[],h(d);var p=this._processFlatCoordsArray(d.data);this._flatCoords=p.flatCoords,this._flatCoordsOffset=p.flatCoordsOffset,p.flatCoords&&(d.data=new Float32Array(p.count)),f.superApply(this,"init",arguments)},mergeOption:function(d){if(h(d),d.data){var p=this._processFlatCoordsArray(d.data);this._flatCoords=p.flatCoords,this._flatCoordsOffset=p.flatCoordsOffset,p.flatCoords&&(d.data=new Float32Array(p.count))}f.superApply(this,"mergeOption",arguments)},appendData:function(d){var p=this._processFlatCoordsArray(d.data);p.flatCoords&&(this._flatCoords?(this._flatCoords=i(this._flatCoords,p.flatCoords),this._flatCoordsOffset=i(this._flatCoordsOffset,p.flatCoordsOffset)):(this._flatCoords=p.flatCoords,this._flatCoordsOffset=p.flatCoordsOffset),d.data=new Float32Array(p.count)),this.getRawData().appendData(d.data)},_getCoordsFromItemModel:function(d){var p=this.getData().getItemModel(d),g=p.option instanceof Array?p.option:p.getShallow("coords");return g},getLineCoordsCount:function(d){return this._flatCoordsOffset?this._flatCoordsOffset[d*2+1]:this._getCoordsFromItemModel(d).length},getLineCoords:function(d,p){if(this._flatCoordsOffset){for(var g=this._flatCoordsOffset[d*2],m=this._flatCoordsOffset[d*2+1],y=0;y "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var d=this.option.progressive;return d==null?this.option.large?1e4:this.get("progressive"):d},getProgressiveThreshold:function(){var d=this.option.progressiveThreshold;return d==null?this.option.large?2e4:this.get("progressiveThreshold"):d},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),c=f;return TS=c,TS}var AS,vG;function T$(){if(vG)return AS;vG=1;var r=qe(),t=dD(),e=ie(),a=ti(),i=a.createSymbol,n=Jt(),o=yo();function s(v,h,f){r.Group.call(this),this.add(this.createLine(v,h,f)),this._updateEffectSymbol(v,h)}var l=s.prototype;l.createLine=function(v,h,f){return new t(v,h,f)},l._updateEffectSymbol=function(v,h){var f=v.getItemModel(h),c=f.getModel("effect"),d=c.get("symbolSize"),p=c.get("symbol");e.isArray(d)||(d=[d,d]);var g=c.get("color")||v.getItemVisual(h,"color"),m=this.childAt(1);this._symbolType!==p&&(this.remove(m),m=i(p,-.5,-.5,1,1,g),m.z2=100,m.culling=!0,this.add(m)),m&&(m.setStyle("shadowColor",g),m.setStyle(c.getItemStyle(["color"])),m.attr("scale",d),m.setColor(g),m.attr("scale",d),this._symbolType=p,this._symbolScale=d,this._updateEffectAnimation(v,c,h))},l._updateEffectAnimation=function(v,h,f){var c=this.childAt(1);if(c){var d=this,p=v.getItemLayout(f),g=h.get("period")*1e3,m=h.get("loop"),y=h.get("constantSpeed"),_=e.retrieve(h.get("delay"),function(w){return w/v.count()*g/3}),x=typeof _=="function";if(c.ignore=!0,this.updateAnimationPoints(c,p),y>0&&(g=this.getLineLength(c)/y*1e3),g!==this._period||m!==this._loop){c.stopAnimation();var S=_;x&&(S=_(f)),c.__t>0&&(S=-g*c.__t),c.__t=0;var b=c.animate("",m).when(g,{__t:1}).delay(S).during(function(){d.updateSymbolPosition(c)});m||b.done(function(){d.remove(c)}),b.start()}this._period=g,this._loop=m}},l.getLineLength=function(v){return n.dist(v.__p1,v.__cp1)+n.dist(v.__cp1,v.__p2)},l.updateAnimationPoints=function(v,h){v.__p1=h[0],v.__p2=h[1],v.__cp1=h[2]||[(h[0][0]+h[1][0])/2,(h[0][1]+h[1][1])/2]},l.updateData=function(v,h,f){this.childAt(0).updateData(v,h,f),this._updateEffectSymbol(v,h)},l.updateSymbolPosition=function(v){var h=v.__p1,f=v.__p2,c=v.__cp1,d=v.__t,p=v.position,g=[p[0],p[1]],m=o.quadraticAt,y=o.quadraticDerivativeAt;p[0]=m(h[0],c[0],f[0],d),p[1]=m(h[1],c[1],f[1],d);var _=y(h[0],c[0],f[0],d),x=y(h[1],c[1],f[1],d);if(v.rotation=-Math.atan2(x,_)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(v.__lastT!==void 0&&v.__lastT=0&&!(v[c]<=l);c--);c=Math.min(c,h-2)}else{for(var c=f;cl);c++);c=Math.min(c-1,h-2)}a.lerp(s.position,u[c],u[c+1],(l-v[c])/(v[c+1]-v[c]));var p=u[c+1][0]-u[c][0],g=u[c+1][1]-u[c][1];s.rotation=-Math.atan2(g,p)-Math.PI/2,this._lastFrame=c,this._lastFramePercent=l,s.ignore=!1}},t.inherits(i,e);var o=i;return MS=o,MS}var DS,cG;function Dye(){if(cG)return DS;cG=1;var r=qe(),t=rD(),e=P9(),a=R9(),i=r.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(l,u){var v=u.segs,h=u.curveness;if(u.polyline)for(var f=0;f0){l.moveTo(v[f++],v[f++]);for(var d=1;d0){var _=(p+m)/2-(g-y)*h,x=(g+y)/2-(m-p)*h;l.quadraticCurveTo(_,x,m,y)}else l.lineTo(m,y)}},findDataIndex:function(l,u){var v=this.shape,h=v.segs,f=v.curveness;if(v.polyline)for(var c=0,d=0;d0)for(var g=h[d++],m=h[d++],y=1;y0){var S=(g+_)/2-(m-x)*f,b=(m+x)/2-(_-g)*f;if(a.containStroke(g,m,S,b,_,x))return c}else if(e.containStroke(g,m,_,x))return c;c++}return-1}});function n(){this.group=new r.Group}var o=n.prototype;o.isPersistent=function(){return!this._incremental},o.updateData=function(l){this.group.removeAll();var u=new i({rectHover:!0,cursor:"default"});u.setShape({segs:l.getLayout("linesPoints")}),this._setCommon(u,l),this.group.add(u),this._incremental=null},o.incrementalPrepareUpdate=function(l){this.group.removeAll(),this._clearIncremental(),l.count()>5e5?(this._incremental||(this._incremental=new t({silent:!0})),this.group.add(this._incremental)):this._incremental=null},o.incrementalUpdate=function(l,u){var v=new i;v.setShape({segs:u.getLayout("linesPoints")}),this._setCommon(v,u,!!this._incremental),this._incremental?this._incremental.addDisplayable(v,!0):(v.rectHover=!0,v.cursor="default",v.__startIndex=l.start,this.group.add(v))},o.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},o._setCommon=function(l,u,v){var h=u.hostModel;l.setShape({polyline:h.get("polyline"),curveness:h.get("lineStyle.curveness")}),l.useStyle(h.getModel("lineStyle").getLineStyle()),l.style.strokeNoScale=!0;var f=u.getVisual("color");f&&l.setStyle("stroke",f),l.setStyle("fill"),v||(l.seriesIndex=h.seriesIndex,l.on("mousemove",function(c){l.dataIndex=null;var d=l.findDataIndex(c.offsetX,c.offsetY);d>0&&(l.dataIndex=d+l.__startIndex)}))},o._clearIncremental=function(){var l=this._incremental;l&&l.clearDisplaybles()};var s=n;return DS=s,DS}var LS,dG;function C$(){if(dG)return LS;dG=1;var r=Cu(),t={seriesType:"lines",plan:r(),reset:function(e){var a=e.coordinateSystem,i=e.get("polyline"),n=e.pipelineContext.large;function o(s,l){var u=[];if(n){var v,h=s.end-s.start;if(i){for(var f=0,c=s.start;c0){var I=u(b)?h:f;b>0&&(b=b*D+M),A[T++]=I[P],A[T++]=I[P+1],A[T++]=I[P+2],A[T++]=I[P+3]*b*256}else T+=4}return p.putImageData(w,0,0),d},_getBrush:function(){var i=this._brushCanvas||(this._brushCanvas=r.createCanvas()),n=this.pointSize+this.blurSize,o=n*2;i.width=o,i.height=o;var s=i.getContext("2d");return s.clearRect(0,0,o,o),s.shadowOffsetX=o,s.shadowBlur=this.blurSize,s.shadowColor="#000",s.beginPath(),s.arc(-n,n,this.pointSize,0,Math.PI*2,!0),s.closePath(),s.fill(),i},_getGradient:function(i,n,o){for(var s=this._gradientPixels,l=s[o]||(s[o]=new Uint8ClampedArray(256*4)),u=[0,0,0,0],v=0,h=0;h<256;h++)n[o](h/255,!0,u),l[v++]=u[0],l[v++]=u[1],l[v++]=u[2],l[v++]=u[3];return l}};var a=e;return ES=a,ES}var kS,SG;function kye(){if(SG)return kS;SG=1;var r=It();r.__DEV__;var t=Pe(),e=qe(),a=Eye(),i=ie();function n(u,v,h){var f=u[1]-u[0];v=i.map(v,function(p){return{interval:[(p.interval[0]-u[0])/f,(p.interval[1]-u[0])/f]}});var c=v.length,d=0;return function(p){for(var g=d;g=0;g--){var m=v[g].interval;if(m[0]<=p&&p<=m[1]){d=g;break}}return g>=0&&g=v[0]&&f<=v[1]}}function s(u){var v=u.dimensions;return v[0]==="lng"&&v[1]==="lat"}var l=t.extendChartView({type:"heatmap",render:function(u,v,h){var f;v.eachComponent("visualMap",function(d){d.eachTargetSeries(function(p){p===u&&(f=d)})}),this.group.removeAll(),this._incrementalDisplayable=null;var c=u.coordinateSystem;c.type==="cartesian2d"||c.type==="calendar"?this._renderOnCartesianAndCalendar(u,h,0,u.getData().count()):s(c)&&this._renderOnGeo(c,u,f,h)},incrementalPrepareRender:function(u,v,h){this.group.removeAll()},incrementalRender:function(u,v,h,f){var c=v.coordinateSystem;c&&this._renderOnCartesianAndCalendar(v,f,u.start,u.end,!0)},_renderOnCartesianAndCalendar:function(u,v,h,f,c){var d=u.coordinateSystem,p,g;if(d.type==="cartesian2d"){var m=d.getAxis("x"),y=d.getAxis("y");p=m.getBandWidth(),g=y.getBandWidth()}for(var _=this.group,x=u.getData(),S="itemStyle",b="emphasis.itemStyle",w="label",A="emphasis.label",T=u.getModel(S).getItemStyle(["color"]),C=u.getModel(b).getItemStyle(),M=u.getModel(w),L=u.getModel(A),D=d.type,P=D==="cartesian2d"?[x.mapDimension("x"),x.mapDimension("y"),x.mapDimension("value")]:[x.mapDimension("time"),x.mapDimension("value")],I=h;I0?1:K<0?-1:0}function g(N,O){return N.toGlobalCoord(N.dataToCoord(N.scale.parse(O)))}function m(N,O,z,G,q,H,U,W,Y,X){var K=Y.valueDim,Q=Y.categoryDim,j=Math.abs(z[Q.wh]),te=N.getItemVisual(O,"symbolSize");t.isArray(te)?te=te.slice():(te==null&&(te="100%"),te=[te,te]),te[Q.index]=o(te[Q.index],j),te[K.index]=o(te[K.index],G?j:Math.abs(H)),X.symbolSize=te;var Z=X.symbolScale=[te[0]/W,te[1]/W];Z[K.index]*=(Y.isHorizontal?-1:1)*U}function y(N,O,z,G,q){var H=N.get(v)||0;H&&(f.attr({scale:O.slice(),rotation:z}),f.updateTransform(),H/=f.getLineScale(),H*=O[G.valueDim.index]),q.valueLineWidth=H}function _(N,O,z,G,q,H,U,W,Y,X,K,Q){var j=K.categoryDim,te=K.valueDim,Z=Q.pxSign,ee=Math.max(O[te.index]+W,0),le=ee;if(G){var oe=Math.abs(Y),fe=t.retrieve(N.get("symbolMargin"),"15%")+"",se=!1;fe.lastIndexOf("!")===fe.length-1&&(se=!0,fe=fe.slice(0,fe.length-1)),fe=o(fe,O[te.index]);var ve=Math.max(ee+fe*2,0),ye=se?0:fe*2,Me=s(G),J=Me?G:F((oe+ye)/ve),ne=oe-J*ee;fe=ne/2/(se?J:J-1),ve=ee+fe*2,ye=se?0:fe*2,!Me&&G!=="fixed"&&(J=X?F((Math.abs(X)+ye)/ve):0),le=J*ve-ye,Q.repeatTimes=J,Q.symbolMargin=fe}var ue=Z*(le/2),me=Q.pathPosition=[];me[j.index]=z[j.wh]/2,me[te.index]=U==="start"?ue:U==="end"?Y-ue:Y/2,H&&(me[0]+=H[0],me[1]+=H[1]);var xe=Q.bundlePosition=[];xe[j.index]=z[j.xy],xe[te.index]=z[te.xy];var ge=Q.barRectShape=t.extend({},z);ge[te.wh]=Z*Math.max(Math.abs(z[te.wh]),Math.abs(me[te.index]+ue)),ge[j.wh]=z[j.wh];var pe=Q.clipShape={};pe[j.xy]=-z[j.xy],pe[j.wh]=K.ecSize[j.wh],pe[te.xy]=0,pe[te.wh]=z[te.wh]}function x(N){var O=N.symbolPatternSize,z=i(N.symbolType,-O/2,-O/2,O,O,N.color);return z.attr({culling:!0}),z.type!=="image"&&z.setStyle({strokeNoScale:!0}),z}function S(N,O,z,G){var q=N.__pictorialBundle,H=z.symbolSize,U=z.valueLineWidth,W=z.pathPosition,Y=O.valueDim,X=z.repeatTimes||0,K=0,Q=H[O.valueDim.index]+U+z.symbolMargin*2;for(E(N,function(oe){oe.__pictorialAnimationIndex=K,oe.__pictorialRepeatTimes=X,K0:se<0)&&(ve=X-1-oe),fe[Y.index]=Q*(ve-X/2+.5)+W[Y.index],{position:fe,scale:z.symbolScale.slice(),rotation:z.rotation}}function ee(){E(N,function(oe){oe.trigger("emphasis")})}function le(){E(N,function(oe){oe.trigger("normal")})}}function b(N,O,z,G){var q=N.__pictorialBundle,H=N.__pictorialMainPath;H?k(H,null,{position:z.pathPosition.slice(),scale:z.symbolScale.slice(),rotation:z.rotation},z,G):(H=N.__pictorialMainPath=x(z),q.add(H),k(H,{position:z.pathPosition.slice(),scale:[0,0],rotation:z.rotation},{scale:z.symbolScale.slice()},z,G),H.on("mouseover",U).on("mouseout",W)),L(H,z);function U(){this.trigger("emphasis")}function W(){this.trigger("normal")}}function w(N,O,z){var G=t.extend({},O.barRectShape),q=N.__pictorialBarRect;q?k(q,null,{shape:G},O,z):(q=N.__pictorialBarRect=new e.Rect({z2:2,shape:G,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),N.add(q))}function A(N,O,z,G){if(z.symbolClip){var q=N.__pictorialClipPath,H=t.extend({},z.clipShape),U=O.valueDim,W=z.animationModel,Y=z.dataIndex;if(q)e.updateProps(q,{shape:H},W,Y);else{H[U.wh]=0,q=new e.Rect({shape:H}),N.__pictorialBundle.setClipPath(q),N.__pictorialClipPath=q;var X={};X[U.wh]=z.clipShape[U.wh],e[G?"updateProps":"initProps"](q,{shape:X},W,Y)}}}function T(N,O){var z=N.getItemModel(O);return z.getAnimationDelayParams=C,z.isAnimationEnabled=M,z}function C(N){return{index:N.__pictorialAnimationIndex,count:N.__pictorialRepeatTimes}}function M(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function L(N,O){N.off("emphasis").off("normal");var z=O.symbolScale.slice();O.hoverAnimation&&N.on("emphasis",function(){this.animateTo({scale:[z[0]*1.1,z[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:z.slice()},400,"elasticOut")})}function D(N,O,z,G){var q=new e.Group,H=new e.Group;return q.add(H),q.__pictorialBundle=H,H.attr("position",z.bundlePosition.slice()),z.symbolRepeat?S(q,O,z):b(q,O,z),w(q,z,G),A(q,O,z,G),q.__pictorialShapeStr=R(N,z),q.__pictorialSymbolMeta=z,q}function P(N,O,z){var G=z.animationModel,q=z.dataIndex,H=N.__pictorialBundle;e.updateProps(H,{position:z.bundlePosition.slice()},G,q),z.symbolRepeat?S(N,O,z,!0):b(N,O,z,!0),w(N,z,!0),A(N,O,z,!0)}function I(N,O,z,G){var q=G.__pictorialBarRect;q&&(q.style.text=null);var H=[];E(G,function(U){H.push(U)}),G.__pictorialMainPath&&H.push(G.__pictorialMainPath),G.__pictorialClipPath&&(z=null),t.each(H,function(U){e.updateProps(U,{scale:[0,0]},z,O,function(){G.parent&&G.parent.remove(G)})}),N.setItemGraphicEl(O,null)}function R(N,O){return[N.getItemVisual(O.dataIndex,"symbol")||"none",!!O.symbolRepeat,!!O.symbolClip].join(":")}function E(N,O,z){t.each(N.__pictorialBundle.children(),function(G){G!==N.__pictorialBarRect&&O.call(z,G)})}function k(N,O,z,G,q,H){O&&N.attr(O),G.symbolClip&&!q?z&&N.attr(z):z&&e[q?"updateProps":"initProps"](N,z,G.animationModel,G.dataIndex,H)}function B(N,O,z){var G=z.color,q=z.dataIndex,H=z.itemModel,U=H.getModel("itemStyle").getItemStyle(["color"]),W=H.getModel("emphasis.itemStyle").getItemStyle(),Y=H.getShallow("cursor");E(N,function(j){j.setColor(G),j.setStyle(t.defaults({fill:G,opacity:z.opacity},U)),e.setHoverStyle(j,W),Y&&(j.cursor=Y),j.z2=z.z2});var X={},K=O.valueDim.posDesc[+(z.boundingLength>0)],Q=N.__pictorialBarRect;u(Q.style,X,H,G,O.seriesModel,q,K),e.setHoverStyle(Q,X)}function F(N){var O=Math.round(N);return Math.abs(N-O)<1e-4?O:Math.ceil(N)}var V=c;return NS=V,NS}var CG;function Bye(){if(CG)return wG;CG=1;var r=Pe(),t=ie();sD(),Nye(),zye();var e=pg(),a=e.layout,i=Xs();return mf(),r.registerLayout(t.curry(a,"pictorialBar")),r.registerVisual(i("pictorialBar","roundRect")),wG}var MG={},DG={},LG={},zS,IG;function Vye(){if(IG)return zS;IG=1;var r=ie(),t=So(),e=function(i,n,o,s,l){t.call(this,i,n,o),this.type=s||"value",this.position=l||"bottom",this.orient=null};e.prototype={constructor:e,model:null,isHorizontal:function(){var i=this.position;return i==="top"||i==="bottom"},pointToData:function(i,n){return this.coordinateSystem.pointToData(i,n)[0]},toGlobalCoord:null,toLocalCoord:null},r.inherits(e,t);var a=e;return zS=a,zS}var BS,PG;function Gye(){if(PG)return BS;PG=1;var r=Vye(),t=wi(),e=Ut(),a=e.getLayoutRect,i=ie(),n=i.each;function o(l,u,v){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(l,u,v),this.model=l}o.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:o,_init:function(l,u,v){var h=this.dimension,f=new r(h,t.createScaleByModel(l),[0,0],l.get("type"),l.get("position")),c=f.type==="category";f.onBand=c&&l.get("boundaryGap"),f.inverse=l.get("inverse"),f.orient=l.get("orient"),l.axis=f,f.model=l,f.coordinateSystem=this,this._axis=f},update:function(l,u){l.eachSeries(function(v){if(v.coordinateSystem===this){var h=v.getData();n(h.mapDimension(this.dimension,!0),function(f){this._axis.scale.unionExtentFromData(h,f)},this),t.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(l,u){this._rect=a({left:l.get("left"),top:l.get("top"),right:l.get("right"),bottom:l.get("bottom"),width:l.get("width"),height:l.get("height")},{width:u.getWidth(),height:u.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var l=this._rect,u=this._axis,v=u.isHorizontal(),h=v?[0,l.width]:[0,l.height],f=u.reverse?1:0;u.setExtent(h[f],h[1-f]),this._updateAxisTransform(u,v?l.x:l.y)},_updateAxisTransform:function(l,u){var v=l.getExtent(),h=v[0]+v[1],f=l.isHorizontal();l.toGlobalCoord=f?function(c){return c+u}:function(c){return h-c+u},l.toLocalCoord=f?function(c){return c-u}:function(c){return h-c+u}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(l){var u=this.getRect(),v=this.getAxis(),h=v.orient;return h==="horizontal"?v.contain(v.toLocalCoord(l[0]))&&l[1]>=u.y&&l[1]<=u.y+u.height:v.contain(v.toLocalCoord(l[1]))&&l[0]>=u.y&&l[0]<=u.y+u.height},pointToData:function(l){var u=this.getAxis();return[u.coordToData(u.toLocalCoord(l[u.orient==="horizontal"?0:1]))]},dataToPoint:function(l){var u=this.getAxis(),v=this.getRect(),h=[],f=u.orient==="horizontal"?0:1;return l instanceof Array&&(l=l[0]),h[f]=u.toGlobalCoord(u.dataToCoord(+l)),h[1-f]=f===0?v.y+v.height/2:v.x+v.width/2,h}};var s=o;return BS=s,BS}var RG;function Fye(){if(RG)return LG;RG=1;var r=Gye(),t=bi();function e(a,i){var n=[];return a.eachComponent("singleAxis",function(o,s){var l=new r(o,a,i);l.name="single_"+s,l.resize(o,i),o.coordinateSystem=l,n.push(l)}),a.eachSeries(function(o){if(o.get("coordinateSystem")==="singleAxis"){var s=a.queryComponents({mainType:"singleAxis",index:o.get("singleAxisIndex"),id:o.get("singleAxisId")})[0];o.coordinateSystem=s&&s.coordinateSystem}}),n}return t.register("single",{create:e,dimensions:r.prototype.dimensions}),LG}var VS={},EG;function M$(){if(EG)return VS;EG=1;var r=ie();function t(e,a){a=a||{};var i=e.coordinateSystem,n=e.axis,o={},s=n.position,l=n.orient,u=i.getRect(),v=[u.x,u.x+u.width,u.y,u.y+u.height],h={horizontal:{top:v[2],bottom:v[3]},vertical:{left:v[0],right:v[1]}};o.position=[l==="vertical"?h.vertical[s]:v[0],l==="horizontal"?h.horizontal[s]:v[3]];var f={horizontal:0,vertical:1};o.rotation=Math.PI/2*f[l];var c={top:-1,bottom:1,right:1,left:-1};o.labelDirection=o.tickDirection=o.nameDirection=c[s],e.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),r.retrieve(a.labelInside,e.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var d=a.rotate;return d==null&&(d=e.get("axisLabel.rotate")),o.labelRotation=s==="top"?-d:d,o.z2=1,o}return VS.layout=t,VS}var GS,kG;function Hye(){if(kG)return GS;kG=1;var r=ie(),t=bo(),e=qe(),a=M$(),i=Ks(),n=s$(),o=n.rectCoordAxisBuildSplitArea,s=n.rectCoordAxisHandleRemove,l=["axisLine","axisTickLabel","axisName"],u=["splitArea","splitLine"],v=i.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(f,c,d,p){var g=this.group;g.removeAll();var m=this._axisGroup;this._axisGroup=new e.Group;var y=a.layout(f),_=new t(f,y);r.each(l,_.add,_),g.add(this._axisGroup),g.add(_.getGroup()),r.each(u,function(x){f.get(x+".show")&&this["_"+x](f)},this),e.groupTransition(m,this._axisGroup,f),v.superCall(this,"render",f,c,d,p)},remove:function(){s(this)},_splitLine:function(f){var c=f.axis;if(!c.scale.isBlank()){var d=f.getModel("splitLine"),p=d.getModel("lineStyle"),g=p.get("width"),m=p.get("color");m=m instanceof Array?m:[m];for(var y=f.coordinateSystem.getRect(),_=c.isHorizontal(),x=[],S=0,b=c.getTicksCoords({tickModel:d}),w=[],A=[],T=0;T=0&&C<0)&&(T=k,C=E,w=P,A.length=0),n(I,function(B){A.push({seriesIndex:M.seriesIndex,dataIndexInside:B,dataIndex:M.getData().getRawIndex(B)})}))}}),{payloadBatch:A,snapToValue:w}}function h(_,x,S,b){_[x.key]={value:S,payloadBatch:b}}function f(_,x,S,b){var w=S.payloadBatch,A=x.axis,T=A.model,C=x.axisPointerModel;if(!(!x.triggerTooltip||!w.length)){var M=x.coordSys.model,L=a.makeKey(M),D=_.map[L];D||(D=_.map[L]={coordSysId:M.id,coordSysIndex:M.componentIndex,coordSysType:M.type,coordSysMainType:M.mainType,dataByAxis:[]},_.list.push(D)),D.dataByAxis.push({axisDim:A.dim,axisIndex:T.componentIndex,axisType:T.type,axisId:T.id,value:b,valueLabelOpt:{precision:C.get("label.precision"),formatter:C.get("label.formatter")},seriesDataIndices:w.slice()})}}function c(_,x,S){var b=S.axesInfo=[];n(x,function(w,A){var T=w.axisPointerModel.option,C=_[A];C?(!w.useHandle&&(T.status="show"),T.value=C.value,T.seriesDataIndices=(C.payloadBatch||[]).slice()):!w.useHandle&&(T.status="hide"),T.status==="show"&&b.push({axisDim:w.axis.dim,axisIndex:w.axis.model.componentIndex,value:T.value})})}function d(_,x,S,b){if(y(x)||!_.list.length){b({type:"hideTip"});return}var w=((_.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};b({type:"showTip",escapeConnect:!0,x:x[0],y:x[1],tooltipOption:S.tooltipOption,position:S.position,dataIndexInside:w.dataIndexInside,dataIndex:w.dataIndex,seriesIndex:w.seriesIndex,dataByCoordSys:_.list})}function p(_,x,S){var b=S.getZr(),w="axisPointerLastHighlights",A=s(b)[w]||{},T=s(b)[w]={};n(_,function(L,D){var P=L.axisPointerModel.option;P.status==="show"&&n(P.seriesDataIndices,function(I){var R=I.seriesIndex+" | "+I.dataIndex;T[R]=I})});var C=[],M=[];r.each(A,function(L,D){!T[D]&&M.push(L)}),r.each(T,function(L,D){!A[D]&&C.push(L)}),M.length&&S.dispatchAction({type:"downplay",escapeConnect:!0,batch:M}),C.length&&S.dispatchAction({type:"highlight",escapeConnect:!0,batch:C})}function g(_,x){for(var S=0;S<(_||[]).length;S++){var b=_[S];if(x.axis.dim===b.axisDim&&x.axis.model.componentIndex===b.axisIndex)return b}}function m(_){var x=_.axis.model,S={},b=S.axisDim=_.axis.dim;return S.axisIndex=S[b+"AxisIndex"]=x.componentIndex,S.axisName=S[b+"AxisName"]=x.name,S.axisId=S[b+"AxisId"]=x.id,S}function y(_){return!_||_[0]==null||isNaN(_[0])||_[1]==null||isNaN(_[1])}return qS=l,qS}var WS,VG;function Uye(){if(VG)return WS;VG=1;var r=Pe(),t=r.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}}),e=t;return WS=e,WS}var Nc={},GG;function L$(){if(GG)return Nc;GG=1;var r=ie(),t=pr(),e=_t(),a=e.makeInner,i=a(),n=r.each;function o(c,d,p){if(!t.node){var g=d.getZr();i(g).records||(i(g).records={}),s(g,d);var m=i(g).records[c]||(i(g).records[c]={});m.handler=p}}function s(c,d){if(i(c).initialized)return;i(c).initialized=!0,p("click",r.curry(v,"click")),p("mousemove",r.curry(v,"mousemove")),p("globalout",u);function p(g,m){c.on(g,function(y){var _=h(d);n(i(c).records,function(x){x&&m(x,y,_.dispatchAction)}),l(_.pendings,d)})}}function l(c,d){var p=c.showTip.length,g=c.hideTip.length,m;p?m=c.showTip[p-1]:g&&(m=c.hideTip[g-1]),m&&(m.dispatchAction=null,d.dispatchAction(m))}function u(c,d,p){c.handler("leave",null,p)}function v(c,d,p,g){d.handler(c,p,g)}function h(c){var d={showTip:[],hideTip:[]},p=function(g){var m=d[g.type];m?m.push(g):(g.dispatchAction=p,c.dispatchAction(g))};return{dispatchAction:p,pendings:d}}function f(c,d){if(!t.node){var p=d.getZr(),g=(i(p).records||{})[c];g&&(i(p).records[c]=null)}}return Nc.register=o,Nc.unregister=f,Nc}var US,FG;function $ye(){if(FG)return US;FG=1;var r=Pe(),t=L$(),e=r.extendComponentView({type:"axisPointer",render:function(i,n,o){var s=n.getComponent("tooltip"),l=i.get("triggerOn")||s&&s.get("triggerOn")||"mousemove|click";t.register("axisPointer",o,function(u,v,h){l!=="none"&&(u==="leave"||l.indexOf(u)>=0)&&h({type:"updateAxisPointer",currTrigger:u,x:v&&v.offsetX,y:v&&v.offsetY})})},remove:function(i,n){t.unregister(n.getZr(),"axisPointer"),e.superApply(this._model,"remove",arguments)},dispose:function(i,n){t.unregister("axisPointer",n),e.superApply(this._model,"dispose",arguments)}}),a=e;return US=a,US}var $S,HG;function yD(){if(HG)return $S;HG=1;var r=ie(),t=Dn(),e=qe(),a=yg(),i=Ji(),n=_o(),o=_t(),s=o.makeInner,l=s(),u=r.clone,v=r.bind;function h(){}h.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(y,_,x,S){var b=_.get("value"),w=_.get("status");if(this._axisModel=y,this._axisPointerModel=_,this._api=x,!(!S&&this._lastValue===b&&this._lastStatus===w)){this._lastValue=b,this._lastStatus=w;var A=this._group,T=this._handle;if(!w||w==="hide"){A&&A.hide(),T&&T.hide();return}A&&A.show(),T&&T.show();var C={};this.makeElOption(C,b,y,_,x);var M=C.graphicKey;M!==this._lastGraphicKey&&this.clear(x),this._lastGraphicKey=M;var L=this._moveAnimation=this.determineAnimation(y,_);if(!A)A=this._group=new e.Group,this.createPointerEl(A,C,y,_),this.createLabelEl(A,C,y,_),x.getZr().add(A);else{var D=r.curry(f,_,L);this.updatePointerEl(A,C,D,_),this.updateLabelEl(A,C,D,_)}g(A,_,!0),this._renderHandle(b)}},remove:function(y){this.clear(y)},dispose:function(y){this.clear(y)},determineAnimation:function(y,_){var x=_.get("animation"),S=y.axis,b=S.type==="category",w=_.get("snap");if(!w&&!b)return!1;if(x==="auto"||x==null){var A=this.animationThreshold;if(b&&S.getBandWidth()>A)return!0;if(w){var T=a.getAxisInfo(y).seriesDataCount,C=S.getExtent();return Math.abs(C[0]-C[1])/T>A}return!1}return x===!0},makeElOption:function(y,_,x,S,b){},createPointerEl:function(y,_,x,S){var b=_.pointer;if(b){var w=l(y).pointerEl=new e[b.type](u(_.pointer));y.add(w)}},createLabelEl:function(y,_,x,S){if(_.label){var b=l(y).labelEl=new e.Rect(u(_.label));y.add(b),d(b,S)}},updatePointerEl:function(y,_,x){var S=l(y).pointerEl;S&&_.pointer&&(S.setStyle(_.pointer.style),x(S,{shape:_.pointer.shape}))},updateLabelEl:function(y,_,x,S){var b=l(y).labelEl;b&&(b.setStyle(_.label.style),x(b,{shape:_.label.shape,position:_.label.position}),d(b,S))},_renderHandle:function(y){if(!(this._dragging||!this.updateHandleTransform)){var _=this._axisPointerModel,x=this._api.getZr(),S=this._handle,b=_.getModel("handle"),w=_.get("status");if(!b.get("show")||!w||w==="hide"){S&&x.remove(S),this._handle=null;return}var A;this._handle||(A=!0,S=this._handle=e.createIcon(b.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(M){i.stop(M.event)},onmousedown:v(this._onHandleDragMove,this,0,0),drift:v(this._onHandleDragMove,this),ondragend:v(this._onHandleDragEnd,this)}),x.add(S)),g(S,_,!1);var T=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];S.setStyle(b.getItemStyle(null,T));var C=b.get("size");r.isArray(C)||(C=[C,C]),S.attr("scale",[C[0]/2,C[1]/2]),n.createOrUpdate(this,"_doDispatchAxisPointer",b.get("throttle")||0,"fixRate"),this._moveHandleToValue(y,A)}},_moveHandleToValue:function(y,_){f(this._axisPointerModel,!_&&this._moveAnimation,this._handle,p(this.getHandleTransform(y,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(y,_){var x=this._handle;if(x){this._dragging=!0;var S=this.updateHandleTransform(p(x),[y,_],this._axisModel,this._axisPointerModel);this._payloadInfo=S,x.stopAnimation(),x.attr(p(S)),l(x).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var y=this._handle;if(y){var _=this._payloadInfo,x=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:_.cursorPoint[0],y:_.cursorPoint[1],tooltipOption:_.tooltipOption,axesInfo:[{axisDim:x.axis.dim,axisIndex:x.componentIndex}]})}},_onHandleDragEnd:function(y){this._dragging=!1;var _=this._handle;if(_){var x=this._axisPointerModel.get("value");this._moveHandleToValue(x),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(y){this._lastValue=null,this._lastStatus=null;var _=y.getZr(),x=this._group,S=this._handle;_&&x&&(this._lastGraphicKey=null,x&&_.remove(x),S&&_.remove(S),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(y,_,x){return x=x||0,{x:y[x],y:y[1-x],width:_[x],height:_[1-x]}}},h.prototype.constructor=h;function f(y,_,x,S){c(l(x).lastProp,S)||(l(x).lastProp=S,_?e.updateProps(x,S,y):(x.stopAnimation(),x.attr(S)))}function c(y,_){if(r.isObject(y)&&r.isObject(_)){var x=!0;return r.each(_,function(S,b){x=x&&c(y[b],S)}),!!x}else return y===_}function d(y,_){y[_.get("label.show")?"show":"hide"]()}function p(y){return{position:y.position.slice(),rotation:y.rotation||0}}function g(y,_,x){var S=_.get("z"),b=_.get("zlevel");y&&y.traverse(function(w){w.type!=="group"&&(S!=null&&(w.z=S),b!=null&&(w.zlevel=b),w.silent=x)})}t.enableClassExtend(h);var m=h;return $S=m,$S}var ki={},qG;function wg(){if(qG)return ki;qG=1;var r=ie(),t=qe(),e=Da(),a=Yt(),i=ha(),n=wi(),o=bo();function s(g){var m=g.get("type"),y=g.getModel(m+"Style"),_;return m==="line"?(_=y.getLineStyle(),_.fill=null):m==="shadow"&&(_=y.getAreaStyle(),_.stroke=null),_}function l(g,m,y,_,x){var S=y.get("value"),b=v(S,m.axis,m.ecModel,y.get("seriesDataIndices"),{precision:y.get("label.precision"),formatter:y.get("label.formatter")}),w=y.getModel("label"),A=a.normalizeCssArray(w.get("padding")||0),T=w.getFont(),C=e.getBoundingRect(b,T),M=x.position,L=C.width+A[1]+A[3],D=C.height+A[0]+A[2],P=x.align;P==="right"&&(M[0]-=L),P==="center"&&(M[0]-=L/2);var I=x.verticalAlign;I==="bottom"&&(M[1]-=D),I==="middle"&&(M[1]-=D/2),u(M,L,D,_);var R=w.get("backgroundColor");(!R||R==="auto")&&(R=m.get("axisLine.lineStyle.color")),g.label={shape:{x:0,y:0,width:L,height:D,r:w.get("borderRadius")},position:M.slice(),style:{text:b,textFont:T,textFill:w.getTextColor(),textPosition:"inside",textPadding:A,fill:R,stroke:w.get("borderColor")||"transparent",lineWidth:w.get("borderWidth")||0,shadowBlur:w.get("shadowBlur"),shadowColor:w.get("shadowColor"),shadowOffsetX:w.get("shadowOffsetX"),shadowOffsetY:w.get("shadowOffsetY")},z2:10}}function u(g,m,y,_){var x=_.getWidth(),S=_.getHeight();g[0]=Math.min(g[0]+m,x)-m,g[1]=Math.min(g[1]+y,S)-y,g[0]=Math.max(g[0],0),g[1]=Math.max(g[1],0)}function v(g,m,y,_,x){g=m.scale.parse(g);var S=m.scale.getLabel(g,{precision:x.precision}),b=x.formatter;if(b){var w={value:n.getAxisRawValue(m,g),axisDimension:m.dim,axisIndex:m.index,seriesData:[]};r.each(_,function(A){var T=y.getSeriesByIndex(A.seriesIndex),C=A.dataIndexInside,M=T&&T.getDataParams(C);M&&w.seriesData.push(M)}),r.isString(b)?S=b.replace("{value}",S):r.isFunction(b)&&(S=b(w))}return S}function h(g,m,y){var _=i.create();return i.rotate(_,_,y.rotation),i.translate(_,_,y.position),t.applyTransform([g.dataToCoord(m),(y.labelOffset||0)+(y.labelDirection||1)*(y.labelMargin||0)],_)}function f(g,m,y,_,x,S){var b=o.innerTextLayout(y.rotation,0,y.labelDirection);y.labelMargin=x.get("label.margin"),l(m,_,x,S,{position:h(_.axis,g,y),align:b.textAlign,verticalAlign:b.textVerticalAlign})}function c(g,m,y){return y=y||0,{x1:g[y],y1:g[1-y],x2:m[y],y2:m[1-y]}}function d(g,m,y){return y=y||0,{x:g[y],y:g[1-y],width:m[y],height:m[1-y]}}function p(g,m,y,_,x,S){return{cx:g,cy:m,r0:y,r:_,startAngle:x,endAngle:S,clockwise:!0}}return ki.buildElStyle=s,ki.buildLabelElOption=l,ki.getValueLabel=v,ki.getTransformedPosition=h,ki.buildCartesianSingleLabelElOption=f,ki.makeLineShape=c,ki.makeRectShape=d,ki.makeSectorShape=p,ki}var YS,WG;function I$(){if(WG)return YS;WG=1;var r=yD(),t=wg(),e=o$(),a=Ks(),i=r.extend({makeElOption:function(u,v,h,f,c){var d=h.axis,p=d.grid,g=f.get("type"),m=n(p,d).getOtherAxis(d).getGlobalExtent(),y=d.toGlobalCoord(d.dataToCoord(v,!0));if(g&&g!=="none"){var _=t.buildElStyle(f),x=o[g](d,y,m);x.style=_,u.graphicKey=x.type,u.pointer=x}var S=e.layout(p.model,h);t.buildCartesianSingleLabelElOption(v,u,S,h,f,c)},getHandleTransform:function(u,v,h){var f=e.layout(v.axis.grid.model,v,{labelInside:!1});return f.labelMargin=h.get("handle.margin"),{position:t.getTransformedPosition(v.axis,u,f),rotation:f.rotation+(f.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(u,v,h,f){var c=h.axis,d=c.grid,p=c.getGlobalExtent(!0),g=n(d,c).getOtherAxis(c).getGlobalExtent(),m=c.dim==="x"?0:1,y=u.position;y[m]+=v[m],y[m]=Math.min(p[1],y[m]),y[m]=Math.max(p[0],y[m]);var _=(g[1]+g[0])/2,x=[_,_];x[m]=y[m];var S=[{verticalAlign:"middle"},{align:"center"}];return{position:y,rotation:u.rotation,cursorPoint:x,tooltipOption:S[m]}}});function n(u,v){var h={};return h[v.dim+"AxisIndex"]=v.index,u.getCartesian(h)}var o={line:function(u,v,h){var f=t.makeLineShape([v,h[0]],[v,h[1]],s(u));return{type:"Line",subPixelOptimize:!0,shape:f}},shadow:function(u,v,h){var f=Math.max(1,u.getBandWidth()),c=h[1]-h[0];return{type:"Rect",shape:t.makeRectShape([v-f/2,h[0]],[f,c],s(u))}}};function s(u){return u.dim==="x"?0:1}a.registerAxisPointerClass("CartesianAxisPointer",i);var l=i;return YS=l,YS}var UG;function Sf(){if(UG)return NG;UG=1;var r=Pe(),t=ie(),e=yg(),a=Wye();return Uye(),$ye(),I$(),r.registerPreprocessor(function(i){if(i){(!i.axisPointer||i.axisPointer.length===0)&&(i.axisPointer={});var n=i.axisPointer.link;n&&!t.isArray(n)&&(i.axisPointer.link=[n])}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,function(i,n){i.getComponent("axisPointer").coordSysAxesInfo=e.collect(i,n)}),r.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},a),NG}var ZS,$G;function Yye(){if($G)return ZS;$G=1;var r=yD(),t=wg(),e=M$(),a=Ks(),i=["x","y"],n=["width","height"],o=r.extend({makeElOption:function(h,f,c,d,p){var g=c.axis,m=g.coordinateSystem,y=u(m,1-l(g)),_=m.dataToPoint(f)[0],x=d.get("type");if(x&&x!=="none"){var S=t.buildElStyle(d),b=s[x](g,_,y);b.style=S,h.graphicKey=b.type,h.pointer=b}var w=e.layout(c);t.buildCartesianSingleLabelElOption(f,h,w,c,d,p)},getHandleTransform:function(h,f,c){var d=e.layout(f,{labelInside:!1});return d.labelMargin=c.get("handle.margin"),{position:t.getTransformedPosition(f.axis,h,d),rotation:d.rotation+(d.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(h,f,c,d){var p=c.axis,g=p.coordinateSystem,m=l(p),y=u(g,m),_=h.position;_[m]+=f[m],_[m]=Math.min(y[1],_[m]),_[m]=Math.max(y[0],_[m]);var x=u(g,1-m),S=(x[1]+x[0])/2,b=[S,S];return b[m]=_[m],{position:_,rotation:h.rotation,cursorPoint:b,tooltipOption:{verticalAlign:"middle"}}}}),s={line:function(h,f,c){var d=t.makeLineShape([f,c[0]],[f,c[1]],l(h));return{type:"Line",subPixelOptimize:!0,shape:d}},shadow:function(h,f,c){var d=h.getBandWidth(),p=c[1]-c[0];return{type:"Rect",shape:t.makeRectShape([f-d/2,c[0]],[d,p],l(h))}}};function l(h){return h.isHorizontal()?0:1}function u(h,f){var c=h.getRect();return[c[i[f]],c[i[f]]+c[n[f]]]}a.registerAxisPointerClass("SingleAxisPointer",o);var v=o;return ZS=v,ZS}var YG;function P$(){if(YG)return DG;YG=1;var r=Pe();return Fye(),Hye(),qye(),Sf(),Yye(),r.extendComponentView({type:"single"}),DG}var XS,ZG;function Zye(){if(ZG)return XS;ZG=1;var r=Ir(),t=Mu(),e=cf(),a=e.getDimensionTypeByAxis,i=ei(),n=ie(),o=_t(),s=o.groupData,l=Yt(),u=l.encodeHTML,v=yf(),h=2,f=r.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(d){f.superApply(this,"init",arguments),this.legendVisualProvider=new v(n.bind(this.getData,this),n.bind(this.getRawData,this))},fixData:function(d){var p=d.length,g={},m=s(d,function(A){return g.hasOwnProperty(A[0])||(g[A[0]]=-1),A[2]}),y=[];m.buckets.each(function(A,T){y.push({name:T,dataList:A})});for(var _=y.length,x=0;x<_;++x){for(var S=y[x].name,b=0;bv&&(v=h),l.push(h)}for(var p=0;pv&&(v=m)}return f.y0=u,f.max=v,f}return QS=e,QS}var jS,QG;function Qye(){if(QG)return jS;QG=1;var r=ie(),t=r.createHashMap;function e(a){a.eachSeriesByType("themeRiver",function(i){var n=i.getData(),o=i.getRawData(),s=i.get("color"),l=t();n.each(function(u){l.set(n.getRawIndex(u),u)}),o.each(function(u){var v=o.getName(u),h=s[(i.nameMap.get(v)-1)%s.length];o.setItemVisual(u,"color",h);var f=l.get(u);f!=null&&n.setItemVisual(f,"color",h)})})}return jS=e,jS}var jG;function jye(){if(jG)return MG;jG=1;var r=Pe();P$(),Zye(),Xye();var t=Kye(),e=Qye(),a=_f();return r.registerLayout(t),r.registerVisual(e),r.registerProcessor(a("themeRiver")),MG}var JG={},JS,e3;function Jye(){if(e3)return JS;e3=1;var r=ie(),t=Ir(),e=cD(),a=gr(),i=Qs(),n=i.wrapTreePathInfo,o=t.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(l,u){var v={name:l.name,children:l.data};s(v);var h=r.map(l.levels||[],function(d){return new a(d,this,u)},this),f=e.createTree(v,this,c);function c(d){d.wrapMethod("getItemModel",function(p,g){var m=f.getNodeByDataIndex(g),y=h[m.depth];return y&&(p.parentModel=y),p})}return f.data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(l){var u=t.prototype.getDataParams.apply(this,arguments),v=this.getData().tree.getNodeByDataIndex(l);return u.treePathInfo=n(v,this),u},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(l){l?this._viewRoot=l:l=this._viewRoot;var u=this.getRawData().tree.root;(!l||l!==u&&!u.contains(l))&&(this._viewRoot=u)}});function s(l){var u=0;r.each(l.children,function(h){s(h);var f=h.value;r.isArray(f)&&(f=f[0]),u+=f});var v=l.value;r.isArray(v)&&(v=v[0]),(v==null||isNaN(v))&&(v=u),v<0&&(v=0),r.isArray(l.value)?l.value[0]=v:l.value=v}return JS=o,JS}var eb,t3;function e0e(){if(t3)return eb;t3=1;var r=ie(),t=qe(),e={NONE:"none",ANCESTOR:"ancestor",SELF:"self"},a=2,i=4;function n(f,c,d){t.Group.call(this);var p=new t.Sector({z2:a});p.seriesIndex=c.seriesIndex;var g=new t.Text({z2:i,silent:f.getModel("label").get("silent")});this.add(p),this.add(g),this.updateData(!0,f,"normal",c,d);function m(){g.ignore=g.hoverIgnore}function y(){g.ignore=g.normalIgnore}this.on("emphasis",m).on("normal",y).on("mouseover",m).on("mouseout",y)}var o=n.prototype;o.updateData=function(f,c,d,p,g){this.node=c,c.piece=this,p=p||this._seriesModel,g=g||this._ecModel;var m=this.childAt(0);m.dataIndex=c.dataIndex;var y=c.getModel(),_=c.getLayout(),x=r.extend({},_);x.label=null;var S=l(c,p,g);h(c,p,S);var b=y.getModel("itemStyle").getItemStyle(),w;if(d==="normal")w=b;else{var A=y.getModel(d+".itemStyle").getItemStyle();w=r.merge(A,b)}w=r.defaults({lineJoin:"bevel",fill:w.fill||S},w),f?(m.setShape(x),m.shape.r=_.r0,t.updateProps(m,{shape:{r:_.r}},p,c.dataIndex),m.useStyle(w)):typeof w.fill=="object"&&w.fill.type||typeof m.style.fill=="object"&&m.style.fill.type?(t.updateProps(m,{shape:x},p),m.useStyle(w)):t.updateProps(m,{shape:x,style:w},p),this._updateLabel(p,S,d);var T=y.getShallow("cursor");if(T&&m.attr("cursor",T),f){var C=p.getShallow("highlightPolicy");this._initEvents(m,c,p,C)}this._seriesModel=p||this._seriesModel,this._ecModel=g||this._ecModel,t.setHoverStyle(this)},o.onEmphasis=function(f){var c=this;this.node.hostTree.root.eachNode(function(d){d.piece&&(c.node===d?d.piece.updateData(!1,d,"emphasis"):v(d,c.node,f)?d.piece.childAt(0).trigger("highlight"):f!==e.NONE&&d.piece.childAt(0).trigger("downplay"))})},o.onNormal=function(){this.node.hostTree.root.eachNode(function(f){f.piece&&f.piece.updateData(!1,f,"normal")})},o.onHighlight=function(){this.updateData(!1,this.node,"highlight")},o.onDownplay=function(){this.updateData(!1,this.node,"downplay")},o._updateLabel=function(f,c,d){var p=this.node.getModel(),g=p.getModel("label"),m=d==="normal"||d==="emphasis"?g:p.getModel(d+".label"),y=p.getModel("emphasis.label"),_=m.get("formatter"),x=_?d:"normal",S=r.retrieve(f.getFormattedLabel(this.node.dataIndex,x,null,null,"label"),this.node.name);V("show")===!1&&(S="");var b=this.node.getLayout(),w=m.get("minAngle");w==null&&(w=g.get("minAngle")),w=w/180*Math.PI;var A=b.endAngle-b.startAngle;w!=null&&Math.abs(A)Math.PI/2?"right":"left"):!R||R==="center"?(D=(b.r+b.r0)/2,R="center"):R==="left"?(D=b.r0+I,C>Math.PI/2&&(R="right")):R==="right"&&(D=b.r-I,C>Math.PI/2&&(R="left")),T.attr("style",{text:S,textAlign:R,textVerticalAlign:V("verticalAlign")||"middle",opacity:V("opacity")});var E=D*M+b.cx,k=D*L+b.cy;T.attr("position",[E,k]);var B=V("rotate"),F=0;B==="radial"?(F=-C,F<-Math.PI/2&&(F+=Math.PI)):B==="tangential"?(F=Math.PI/2-C,F>Math.PI/2?F-=Math.PI:F<-Math.PI/2&&(F+=Math.PI)):typeof B=="number"&&(F=B*Math.PI/180),T.attr("rotation",F);function V(N){var O=m.get(N);return O==null?g.get(N):O}},o._initEvents=function(f,c,d,p){f.off("mouseover").off("mouseout").off("emphasis").off("normal");var g=this,m=function(){g.onEmphasis(p)},y=function(){g.onNormal()},_=function(){g.onDownplay()},x=function(){g.onHighlight()};d.isAnimationEnabled()&&f.on("mouseover",m).on("mouseout",y).on("emphasis",m).on("normal",y).on("downplay",_).on("highlight",x)},r.inherits(n,t.Group);var s=n;function l(f,c,d){var p=f.getVisual("color"),g=f.getVisual("visualMeta");(!g||g.length===0)&&(p=null);var m=f.getModel("itemStyle").get("color");if(m)return m;if(p)return p;if(f.depth===0)return d.option.color[0];var y=d.option.color.length;return m=d.option.color[u(f)%y],m}function u(f){for(var c=f;c.depth>1;)c=c.parentNode;var d=f.getAncestors()[0];return r.indexOf(d.children,c)}function v(f,c,d){return d===e.NONE?!1:d===e.SELF?f===c:d===e.ANCESTOR?f===c||f.isAncestorOf(c):f===c||f.isDescendantOf(c)}function h(f,c,d){var p=c.getData();p.setItemVisual(f.dataIndex,"color",d)}return eb=s,eb}var tb,r3;function t0e(){if(r3)return tb;r3=1;var r=ie(),t=tn(),e=e0e(),a=Zs(),i=Yt(),n=i.windowOpen,o="sunburstRootToNode",s=t.extend({type:"sunburst",init:function(){},render:function(u,v,h,f){var c=this;this.seriesModel=u,this.api=h,this.ecModel=v;var d=u.getData(),p=d.tree.root,g=u.getViewRoot(),m=this.group,y=u.get("renderLabelForZeroData"),_=[];g.eachNode(function(M){_.push(M)});var x=this._oldChildren||[];if(w(_,x),C(p,g),f&&f.highlight&&f.highlight.piece){var S=u.getShallow("highlightPolicy");f.highlight.piece.onEmphasis(S)}else if(f&&f.unhighlight){var b=this.virtualPiece;!b&&p.children.length&&(b=p.children[0].piece),b&&b.onNormal()}this._initEvents(),this._oldChildren=_;function w(M,L){if(M.length===0&&L.length===0)return;new a(L,M,D,D).add(P).update(P).remove(r.curry(P,null)).execute();function D(I){return I.getId()}function P(I,R){var E=I==null?null:M[I],k=R==null?null:L[R];A(E,k)}}function A(M,L){if(!y&&M&&!M.getValue()&&(M=null),M!==p&&L!==p){if(L&&L.piece)M?(L.piece.updateData(!1,M,"normal",u,v),d.setItemGraphicEl(M.dataIndex,L.piece)):T(L);else if(M){var D=new e(M,u,v);m.add(D),d.setItemGraphicEl(M.dataIndex,D)}}}function T(M){M&&M.piece&&(m.remove(M.piece),M.piece=null)}function C(M,L){if(L.depth>0){c.virtualPiece?c.virtualPiece.updateData(!1,M,"normal",u,v):(c.virtualPiece=new e(M,u,v),m.add(c.virtualPiece)),L.piece._onclickEvent&&L.piece.off("click",L.piece._onclickEvent);var D=function(P){c._rootToNode(L.parentNode)};L.piece._onclickEvent=D,c.virtualPiece.on("click",D)}else c.virtualPiece&&(m.remove(c.virtualPiece),c.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var u=this,v=function(h){var f=!1,c=u.seriesModel.getViewRoot();c.eachNode(function(d){if(!f&&d.piece&&d.piece.childAt(0)===h.target){var p=d.getModel().get("nodeClick");if(p==="rootToNode")u._rootToNode(d);else if(p==="link"){var g=d.getModel(),m=g.get("link");if(m){var y=g.get("target",!0)||"_blank";n(m,y)}}f=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",v),this.group._onclickEvent=v},_rootToNode:function(u){u!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:o,from:this.uid,seriesId:this.seriesModel.id,targetNode:u})},containPoint:function(u,v){var h=v.getData(),f=h.getItemLayout(0);if(f){var c=u[0]-f.cx,d=u[1]-f.cy,p=Math.sqrt(c*c+d*d);return p<=f.r&&p>=f.r0}}}),l=s;return tb=l,tb}var a3={},i3;function r0e(){if(i3)return a3;i3=1;var r=Pe(),t=Qs(),e="sunburstRootToNode";r.registerAction({type:e,update:"updateView"},function(n,o){o.eachComponent({mainType:"series",subType:"sunburst",query:n},s);function s(l,u){var v=t.retrieveTargetInfo(n,[e],l);if(v){var h=l.getViewRoot();h&&(n.direction=t.aboveViewRoot(h,v.node)?"rollUp":"drillDown"),l.resetViewRoot(v.node)}}});var a="sunburstHighlight";r.registerAction({type:a,update:"updateView"},function(n,o){o.eachComponent({mainType:"series",subType:"sunburst",query:n},s);function s(l,u){var v=t.retrieveTargetInfo(n,[a],l);v&&(n.highlight=v.node)}});var i="sunburstUnhighlight";return r.registerAction({type:i,update:"updateView"},function(n,o){o.eachComponent({mainType:"series",subType:"sunburst",query:n},s);function s(l,u){n.unhighlight=!0}}),a3}var rb,n3;function a0e(){if(n3)return rb;n3=1;var r=st(),t=r.parsePercent,e=ie(),a=Math.PI/180;function i(s,l,u,v){l.eachSeriesByType(s,function(h){var f=h.get("center"),c=h.get("radius");e.isArray(c)||(c=[0,c]),e.isArray(f)||(f=[f,f]);var d=u.getWidth(),p=u.getHeight(),g=Math.min(d,p),m=t(f[0],d),y=t(f[1],p),_=t(c[0],g/2),x=t(c[1],g/2),S=-h.get("startAngle")*a,b=h.get("minAngle")*a,w=h.getData().tree.root,A=h.getViewRoot(),T=A.depth,C=h.get("sort");C!=null&&n(A,C);var M=0;e.each(A.children,function(z){!isNaN(z.getValue())&&M++});var L=A.getValue(),D=Math.PI/(L||M)*2,P=A.depth>0,I=A.height-(P?-1:1),R=(x-_)/(I||1),E=h.get("clockwise"),k=h.get("stillShowZeroSum"),B=E?1:-1,F=function(z,G){if(z){var q=G;if(z!==w){var H=z.getValue(),U=L===0&&k?D:H*D;Uo[1]&&o.reverse(),{coordSys:{type:"polar",cx:a.cx,cy:a.cy,r:o[1],r0:o[0]},api:{coord:r.bind(function(s){var l=i.dataToRadius(s[0]),u=n.dataToAngle(s[1]),v=a.coordToPoint([l,u]);return v.push(l,u*Math.PI/180),v}),size:r.bind(t,a)}}}return ob=e,ob}var sb,f3;function u0e(){if(f3)return sb;f3=1;function r(t){var e=t.getRect(),a=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:a.start,end:a.end,weeks:a.weeks,dayCount:a.allDay}},api:{coord:function(i,n){return t.dataToPoint(i,n)}}}}return sb=r,sb}var c3;function v0e(){if(c3)return s3;c3=1;var r=It();r.__DEV__;var t=ie(),e=qe(),a=oD(),i=a.getDefaultLabel,n=In(),o=pg(),s=o.getLayoutOnAxis,l=Zs(),u=Ir(),v=gr(),h=tn(),f=pf(),c=f.createClipPath,d=n0e(),p=o0e(),g=s0e(),m=l0e(),y=u0e(),_=e.CACHED_LABEL_STYLE_PROPERTIES,x=["itemStyle"],S=["emphasis","itemStyle"],b=["label"],w=["emphasis","label"],A="e\0\0",T={cartesian2d:d,geo:p,singleAxis:g,polar:m,calendar:y};u.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0,clip:!1},getInitialData:function(H,U){return n(this.getSource(),this)},getDataParams:function(H,U,W){var Y=u.prototype.getDataParams.apply(this,arguments);return W&&(Y.info=W.info),Y}}),h.extend({type:"custom",_data:null,render:function(H,U,W,Y){var X=this._data,K=H.getData(),Q=this.group,j=D(H,K,U,W);K.diff(X).add(function(Z){I(null,Z,j(Z,Y),H,Q,K)}).update(function(Z,ee){var le=X.getItemGraphicEl(ee);I(le,Z,j(Z,Y),H,Q,K)}).remove(function(Z){var ee=X.getItemGraphicEl(Z);ee&&Q.remove(ee)}).execute();var te=H.get("clip",!0)?c(H.coordinateSystem,!1,H):null;te?Q.setClipPath(te):Q.removeClipPath(),this._data=K},incrementalPrepareRender:function(H,U,W){this.group.removeAll(),this._data=null},incrementalRender:function(H,U,W,Y,X){var K=U.getData(),Q=D(U,K,W,Y);function j(ee){ee.isGroup||(ee.incremental=!0,ee.useHoverLayer=!0)}for(var te=H.start;te=0?"p":"n",O=E;I&&(c[x][V]||(c[x][V]={p:E,n:E}),O=c[x][V][N]);var z,G,q,H;if(A.dim==="radius"){var U=A.dataToRadius(F)-E,W=y.dataToAngle(V);Math.abs(U)_?_=S:(x.lastTickCount=f,x.lastAutoInterval=_),_}},r.inherits(o,e);var s=o;return vb=s,vb}var hb,S3;function p0e(){if(S3)return hb;S3=1;var r=c0e(),t=d0e(),e=function(i){this.name=i||"",this.cx=0,this.cy=0,this._radiusAxis=new r,this._angleAxis=new t,this._radiusAxis.polar=this._angleAxis.polar=this};e.prototype={type:"polar",axisPointerEnabled:!0,constructor:e,dimensions:["radius","angle"],model:null,containPoint:function(i){var n=this.pointToCoord(i);return this._radiusAxis.contain(n[0])&&this._angleAxis.contain(n[1])},containData:function(i){return this._radiusAxis.containData(i[0])&&this._angleAxis.containData(i[1])},getAxis:function(i){return this["_"+i+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(i){var n=[],o=this._angleAxis,s=this._radiusAxis;return o.scale.type===i&&n.push(o),s.scale.type===i&&n.push(s),n},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(i){var n=this._angleAxis;return i===n?this._radiusAxis:n},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(i){var n=i!=null&&i!=="auto"?this.getAxis(i):this.getBaseAxis();return{baseAxes:[n],otherAxes:[this.getOtherAxis(n)]}},dataToPoint:function(i,n){return this.coordToPoint([this._radiusAxis.dataToRadius(i[0],n),this._angleAxis.dataToAngle(i[1],n)])},pointToData:function(i,n){var o=this.pointToCoord(i);return[this._radiusAxis.radiusToData(o[0],n),this._angleAxis.angleToData(o[1],n)]},pointToCoord:function(i){var n=i[0]-this.cx,o=i[1]-this.cy,s=this.getAngleAxis(),l=s.getExtent(),u=Math.min(l[0],l[1]),v=Math.max(l[0],l[1]);s.inverse?u=v-360:v=u+360;var h=Math.sqrt(n*n+o*o);n/=h,o/=h;for(var f=Math.atan2(-o,n)/Math.PI*180,c=fv;)f+=c*360;return[h,f]},coordToPoint:function(i){var n=i[0],o=i[1]/180*Math.PI,s=Math.cos(o)*n+this.cx,l=-Math.sin(o)*n+this.cy;return[s,l]},getArea:function(){var i=this.getAngleAxis(),n=this.getRadiusAxis(),o=n.getExtent().slice();o[0]>o[1]&&o.reverse();var s=i.getExtent(),l=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:o[0],r:o[1],startAngle:-s[0]*l,endAngle:-s[1]*l,clockwise:i.inverse,contain:function(u,v){var h=u-this.cx,f=v-this.cy,c=h*h+f*f,d=this.r,p=this.r0;return c<=d*d&&c>=p*p}}}};var a=e;return hb=a,hb}var b3={},w3;function g0e(){if(w3)return b3;w3=1;var r=ie(),t=Lr(),e=mg(),a=Du(),i=t.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});r.merge(i.prototype,a);var n={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function o(s,l){return l.type||(l.data?"category":"value")}return e("angle",i,o,n.angle),e("radius",i,o,n.radius),b3}var fb,T3;function m0e(){if(T3)return fb;T3=1;var r=Pe();g0e();var t=r.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(e){var a,i=this.ecModel;return i.eachComponent(e,function(n){n.getCoordSysModel()===this&&(a=n)},this),a},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});return fb=t,fb}var A3;function _D(){if(A3)return y3;A3=1;var r=It();r.__DEV__;var t=ie(),e=p0e(),a=st(),i=a.parsePercent,n=wi(),o=n.createScaleByModel,s=n.niceScaleExtent,l=bi(),u=rn(),v=u.getStackedDimension;m0e();function h(p,g,m){var y=g.get("center"),_=m.getWidth(),x=m.getHeight();p.cx=i(y[0],_),p.cy=i(y[1],x);var S=p.getRadiusAxis(),b=Math.min(_,x)/2,w=g.get("radius");w==null?w=[0,"100%"]:t.isArray(w)||(w=[0,w]),w=[i(w[0],b),i(w[1],b)],S.inverse?S.setExtent(w[1],w[0]):S.setExtent(w[0],w[1])}function f(p,g){var m=this,y=m.getAngleAxis(),_=m.getRadiusAxis();if(y.scale.setExtent(1/0,-1/0),_.scale.setExtent(1/0,-1/0),p.eachSeries(function(b){if(b.coordinateSystem===m){var w=b.getData();t.each(w.mapDimension("radius",!0),function(A){_.scale.unionExtentFromData(w,v(w,A))}),t.each(w.mapDimension("angle",!0),function(A){y.scale.unionExtentFromData(w,v(w,A))})}}),s(y.scale,y.model),s(_.scale,_.model),y.type==="category"&&!y.onBand){var x=y.getExtent(),S=360/y.scale.count();y.inverse?x[1]+=S:x[1]-=S,y.setExtent(x[0],x[1])}}function c(p,g){if(p.type=g.get("type"),p.scale=o(g),p.onBand=g.get("boundaryGap")&&p.type==="category",p.inverse=g.get("inverse"),g.mainType==="angleAxis"){p.inverse^=g.get("clockwise");var m=g.get("startAngle");p.setExtent(m,m+(p.inverse?-360:360))}g.axis=p,p.model=g}var d={dimensions:e.prototype.dimensions,create:function(p,g){var m=[];return p.eachComponent("polar",function(y,_){var x=new e(_);x.update=f;var S=x.getRadiusAxis(),b=x.getAngleAxis(),w=y.findAxisModel("radiusAxis"),A=y.findAxisModel("angleAxis");c(S,w),c(b,A),h(x,y,g),m.push(x),y.coordinateSystem=x,x.model=y}),p.eachSeries(function(y){if(y.get("coordinateSystem")==="polar"){var _=p.queryComponents({mainType:"polar",index:y.get("polarIndex"),id:y.get("polarId")})[0];y.coordinateSystem=_.coordinateSystem}}),m}};return l.register("polar",d),y3}var C3={},cb,M3;function y0e(){if(M3)return cb;M3=1;var r=ie(),t=qe(),e=gr(),a=Ks(),i=bo(),n=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function o(v,h,f){h[1]>h[0]&&(h=h.slice().reverse());var c=v.coordToPoint([h[0],f]),d=v.coordToPoint([h[1],f]);return{x1:c[0],y1:c[1],x2:d[0],y2:d[1]}}function s(v){var h=v.getRadiusAxis();return h.inverse?0:1}function l(v){var h=v[0],f=v[v.length-1];h&&f&&Math.abs(Math.abs(h.coord-f.coord)-360)<1e-4&&v.pop()}var u=a.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(v,h){if(this.group.removeAll(),!!v.get("show")){var f=v.axis,c=f.polar,d=c.getRadiusAxis().getExtent(),p=f.getTicksCoords(),g=f.getMinorTicksCoords(),m=r.map(f.getViewLabels(),function(_){var _=r.clone(_);return _.coord=f.dataToCoord(_.tickValue),_});l(m),l(p),r.each(n,function(y){v.get(y+".show")&&(!f.scale.isBlank()||y==="axisLine")&&this["_"+y](v,c,p,g,d,m)},this)}},_axisLine:function(v,h,f,c,d){var p=v.getModel("axisLine.lineStyle"),g=s(h),m=g?0:1,y;d[m]===0?y=new t.Circle({shape:{cx:h.cx,cy:h.cy,r:d[g]},style:p.getLineStyle(),z2:1,silent:!0}):y=new t.Ring({shape:{cx:h.cx,cy:h.cy,r:d[g],r0:d[m]},style:p.getLineStyle(),z2:1,silent:!0}),y.style.fill=null,this.group.add(y)},_axisTick:function(v,h,f,c,d){var p=v.getModel("axisTick"),g=(p.get("inside")?-1:1)*p.get("length"),m=d[s(h)],y=r.map(f,function(_){return new t.Line({shape:o(h,[m,m+g],_.coord)})});this.group.add(t.mergePath(y,{style:r.defaults(p.getModel("lineStyle").getLineStyle(),{stroke:v.get("axisLine.lineStyle.color")})}))},_minorTick:function(v,h,f,c,d){if(c.length){for(var p=v.getModel("axisTick"),g=v.getModel("minorTick"),m=(p.get("inside")?-1:1)*g.get("length"),y=d[s(h)],_=[],x=0;xC?"left":"right",D=Math.abs(T[1]-M)/A<.3?"middle":T[1]>M?"top":"bottom";g&&g[w]&&g[w].textStyle&&(b=new e(g[w].textStyle,m,m.ecModel));var P=new t.Text({silent:i.isLabelSilent(v)});this.group.add(P),t.setTextStyle(P.style,b,{x:T[0],y:T[1],textFill:b.getTextColor()||v.get("axisLine.lineStyle.color"),text:x.formattedLabel,textAlign:L,textVerticalAlign:D}),_&&(P.eventData=i.makeAxisEventDataBase(v),P.eventData.targetType="axisLabel",P.eventData.value=x.rawLabel)},this)},_splitLine:function(v,h,f,c,d){var p=v.getModel("splitLine"),g=p.getModel("lineStyle"),m=g.get("color"),y=0;m=m instanceof Array?m:[m];for(var _=[],x=0;xM?"left":"right",b=Math.abs(x[1]-L)/C<.3?"middle":x[1]>L?"top":"bottom"}return{position:x,align:S,verticalAlign:b}}var u={line:function(h,f,c,d,p){return h.dim==="angle"?{type:"Line",shape:a.makeLineShape(f.coordToPoint([d[0],c]),f.coordToPoint([d[1],c]))}:{type:"Circle",shape:{cx:f.cx,cy:f.cy,r:c}}},shadow:function(h,f,c,d,p){var g=Math.max(1,h.getBandWidth()),m=Math.PI/180;return h.dim==="angle"?{type:"Sector",shape:a.makeSectorShape(f.cx,f.cy,d[0],d[1],(-c-g/2)*m,(-c+g/2)*m)}:{type:"Sector",shape:a.makeSectorShape(f.cx,f.cy,c-g/2,c+g/2,0,Math.PI*2)}}};o.registerAxisPointerClass("PolarAxisPointer",s);var v=s;return pb=v,pb}var E3;function w0e(){if(E3)return g3;E3=1;var r=Pe(),t=ie(),e=f0e();return _D(),_0e(),S0e(),Sf(),b0e(),r.registerLayout(t.curry(e,"bar")),r.extendComponentView({type:"polar"}),g3}var k3={},gb,O3;function T0e(){if(O3)return gb;O3=1;var r=ie(),t=_t(),e=Lr(),a=gr(),i=lD(),n=fD(),o=e.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(l){e.prototype.init.apply(this,arguments),t.defaultEmphasis(l,"label",["show"])},optionUpdated:function(){var l=this.option,u=this;l.regions=n.getFilledRegions(l.regions,l.map,l.nameMap),this._optionModelMap=r.reduce(l.regions||[],function(v,h){return h.name&&v.set(h.name,new a(h,u)),v},r.createHashMap()),this.updateSelectedMap(l.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(l){return this._optionModelMap.get(l)||new a(null,this,this.ecModel)},getFormattedLabel:function(l,u){u=u||"normal";var v=this.getRegionModel(l),h=v.get((u==="normal"?"":u+".")+"label.formatter"),f={name:l};if(typeof h=="function")return f.status=u,h(f);if(typeof h=="string")return h.replace("{a}",l!=null?l:"")},setZoom:function(l){this.option.zoom=l},setCenter:function(l){this.option.center=l}});r.mixin(o,i);var s=o;return gb=s,gb}var mb,N3;function A0e(){if(N3)return mb;N3=1;var r=f$(),t=Pe(),e=t.extendComponentView({type:"geo",init:function(a,i){var n=new r(i,!0);this._mapDraw=n,this.group.add(n.group)},render:function(a,i,n,o){if(!(o&&o.type==="geoToggleSelect"&&o.from===this.uid)){var s=this._mapDraw;a.get("show")?s.draw(a,i,n,this,o):this._mapDraw.group.removeAll(),this.group.silent=a.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});return mb=e,mb}var z3;function C0e(){if(z3)return k3;z3=1;var r=Pe(),t=ie();T0e(),fD(),A0e(),c$();function e(a,i){i.update="updateView",r.registerAction(i,function(n,o){var s={};return o.eachComponent({mainType:"geo",query:n},function(l){l[a](n.name);var u=l.coordinateSystem;t.each(u.regions,function(v){s[v.name]=l.isSelected(v.name)||!1})}),{selected:s,name:n.name}})}return e("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),e("select",{type:"geoSelect",event:"geoselected"}),e("unSelect",{type:"geoUnSelect",event:"geounselected"}),k3}var B3={},yb,V3;function M0e(){if(V3)return yb;V3=1;var r=ie(),t=Ut(),e=st(),a=bi(),i=864e5;function n(l,u,v){this._model=l}n.prototype={constructor:n,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(l){l=e.parseDate(l);var u=l.getFullYear(),v=l.getMonth()+1;v=v<10?"0"+v:v;var h=l.getDate();h=h<10?"0"+h:h;var f=l.getDay();return f=Math.abs((f+7-this.getFirstDayOfWeek())%7),{y:u,m:v,d:h,day:f,time:l.getTime(),formatedDate:u+"-"+v+"-"+h,date:l}},getNextNDay:function(l,u){return u=u||0,u===0?this.getDateInfo(l):(l=new Date(this.getDateInfo(l).time),l.setDate(l.getDate()+u),this.getDateInfo(l))},update:function(l,u){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var v=this._rangeInfo.weeks||1,h=["width","height"],f=this._model.get("cellSize").slice(),c=this._model.getBoxLayoutParams(),d=this._orient==="horizontal"?[v,7]:[7,v];r.each([0,1],function(y){m(f,y)&&(c[h[y]]=f[y]*d[y])});var p={width:u.getWidth(),height:u.getHeight()},g=this._rect=t.getLayoutRect(c,p);r.each([0,1],function(y){m(f,y)||(f[y]=g[h[y]]/d[y])});function m(y,_){return y[_]!=null&&y[_]!=="auto"}this._sw=f[0],this._sh=f[1]},dataToPoint:function(l,u){r.isArray(l)&&(l=l[0]),u==null&&(u=!0);var v=this.getDateInfo(l),h=this._rangeInfo,f=v.formatedDate;if(u&&!(v.time>=h.start.time&&v.timec.end.time&&l.reverse(),l},_getRangeInfo:function(l){l=[this.getDateInfo(l[0]),this.getDateInfo(l[1])];var u;l[0].time>l[1].time&&(u=!0,l.reverse());var v=Math.floor(l[1].time/i)-Math.floor(l[0].time/i)+1,h=new Date(l[0].time),f=h.getDate(),c=l[1].date.getDate();h.setDate(f+v-1);var d=h.getDate();if(d!==c)for(var p=h.getTime()-l[1].time>0?1:-1;(d=h.getDate())!==c&&(h.getTime()-l[1].time)*p>0;)v-=p,h.setDate(d-p);var g=Math.floor((v+l[0].day+6)/7),m=u?-g+1:g-1;return u&&l.reverse(),{range:[l[0].formatedDate,l[1].formatedDate],start:l[0],end:l[1],allDay:v,weeks:g,nthWeek:m,fweek:l[0].day,lweek:l[1].day}},_getDateByWeeksAndDay:function(l,u,v){var h=this._getRangeInfo(v);if(l>h.weeks||l===0&&uh.lweek)return!1;var f=(l-1)*7-h.fweek+u,c=new Date(h.start.time);return c.setDate(h.start.d+f),this.getDateInfo(c)}},n.dimensions=n.prototype.dimensions,n.getDimensionsInfo=n.prototype.getDimensionsInfo,n.create=function(l,u){var v=[];return l.eachComponent("calendar",function(h){var f=new n(h);v.push(f),h.coordinateSystem=f}),l.eachSeries(function(h){h.get("coordinateSystem")==="calendar"&&(h.coordinateSystem=v[h.get("calendarIndex")||0])}),v};function o(l,u,v,h){var f=v.calendarModel,c=v.seriesModel,d=f?f.coordinateSystem:c?c.coordinateSystem:null;return d===this?d[l](h):null}a.register("calendar",n);var s=n;return yb=s,yb}var _b,G3;function D0e(){if(G3)return _b;G3=1;var r=ie(),t=Lr(),e=Ut(),a=e.getLayoutParams,i=e.sizeCalculable,n=e.mergeLayoutParam,o=t.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(u,v,h,f){var c=a(u);o.superApply(this,"init",arguments),s(u,c)},mergeOption:function(u,v){o.superApply(this,"mergeOption",arguments),s(this.option,u)}});function s(u,v){var h=u.cellSize;r.isArray(h)?h.length===1&&(h[1]=h[0]):h=u.cellSize=[h,h];var f=r.map([0,1],function(c){return i(v,c)&&(h[c]="auto"),h[c]!=null&&h[c]!=="auto"});n(u,v,{type:"box",ignoreSize:f})}var l=o;return _b=l,_b}var xb,F3;function L0e(){if(F3)return xb;F3=1;var r=Pe(),t=ie(),e=qe(),a=Yt(),i=st(),n={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},o={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},s=r.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(l,u,v){var h=this.group;h.removeAll();var f=l.coordinateSystem,c=f.getRangeInfo(),d=f.getOrient();this._renderDayRect(l,c,h),this._renderLines(l,c,d,h),this._renderYearText(l,c,d,h),this._renderMonthText(l,d,h),this._renderWeekText(l,c,d,h)},_renderDayRect:function(l,u,v){for(var h=l.coordinateSystem,f=l.getModel("itemStyle").getItemStyle(),c=h.getCellWidth(),d=h.getCellHeight(),p=u.start.time;p<=u.end.time;p=h.getNextNDay(p,1).time){var g=h.dataToRect([p],!1).tl,m=new e.Rect({shape:{x:g[0],y:g[1],width:c,height:d},cursor:"default",style:f});v.add(m)}},_renderLines:function(l,u,v,h){var f=this,c=l.coordinateSystem,d=l.getModel("splitLine.lineStyle").getLineStyle(),p=l.get("splitLine.show"),g=d.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var m=u.start,y=0;m.time<=u.end.time;y++){x(m.formatedDate),y===0&&(m=c.getDateInfo(u.start.y+"-"+u.start.m));var _=m.date;_.setMonth(_.getMonth()+1),m=c.getDateInfo(_)}x(c.getNextNDay(u.end.time,1).formatedDate);function x(S){f._firstDayOfMonth.push(c.getDateInfo(S)),f._firstDayPoints.push(c.dataToRect([S],!1).tl);var b=f._getLinePointsOfOneWeek(l,S,v);f._tlpoints.push(b[0]),f._blpoints.push(b[b.length-1]),p&&f._drawSplitline(b,d,h)}p&&this._drawSplitline(f._getEdgesPoints(f._tlpoints,g,v),d,h),p&&this._drawSplitline(f._getEdgesPoints(f._blpoints,g,v),d,h)},_getEdgesPoints:function(l,u,v){var h=[l[0].slice(),l[l.length-1].slice()],f=v==="horizontal"?0:1;return h[0][f]=h[0][f]-u/2,h[1][f]=h[1][f]+u/2,h},_drawSplitline:function(l,u,v){var h=new e.Polyline({z2:20,shape:{points:l},style:u});v.add(h)},_getLinePointsOfOneWeek:function(l,u,v){var h=l.coordinateSystem;u=h.getDateInfo(u);for(var f=[],c=0;c<7;c++){var d=h.getNextNDay(u.time,c),p=h.dataToRect([d.time],!1);f[2*d.day]=p.tl,f[2*d.day+1]=p[v==="horizontal"?"bl":"tr"]}return f},_formatterLabel:function(l,u){return typeof l=="string"&&l?a.formatTplSimple(l,u):typeof l=="function"?l(u):u.nameMap},_yearTextPositionControl:function(l,u,v,h,f){u=u.slice();var c=["center","bottom"];h==="bottom"?(u[1]+=f,c=["center","top"]):h==="left"?u[0]-=f:h==="right"?(u[0]+=f,c=["center","top"]):u[1]-=f;var d=0;return(h==="left"||h==="right")&&(d=Math.PI/2),{rotation:d,position:u,style:{textAlign:c[0],textVerticalAlign:c[1]}}},_renderYearText:function(l,u,v,h){var f=l.getModel("yearLabel");if(f.get("show")){var c=f.get("margin"),d=f.get("position");d||(d=v!=="horizontal"?"top":"left");var p=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],g=(p[0][0]+p[1][0])/2,m=(p[0][1]+p[1][1])/2,y=v==="horizontal"?0:1,_={top:[g,p[y][1]],bottom:[g,p[1-y][1]],left:[p[1-y][0],m],right:[p[y][0],m]},x=u.start.y;+u.end.y>+u.start.y&&(x=x+"-"+u.end.y);var S=f.get("formatter"),b={start:u.start.y,end:u.end.y,nameMap:x},w=this._formatterLabel(S,b),A=new e.Text({z2:30});e.setTextStyle(A.style,f,{text:w}),A.attr(this._yearTextPositionControl(A,_[d],v,d,c)),h.add(A)}},_monthTextPositionControl:function(l,u,v,h,f){var c="left",d="top",p=l[0],g=l[1];return v==="horizontal"?(g=g+f,u&&(c="center"),h==="start"&&(d="bottom")):(p=p+f,u&&(d="middle"),h==="start"&&(c="right")),{x:p,y:g,textAlign:c,textVerticalAlign:d}},_renderMonthText:function(l,u,v){var h=l.getModel("monthLabel");if(h.get("show")){var f=h.get("nameMap"),c=h.get("margin"),d=h.get("position"),p=h.get("align"),g=[this._tlpoints,this._blpoints];t.isString(f)&&(f=n[f.toUpperCase()]||[]);var m=d==="start"?0:1,y=u==="horizontal"?0:1;c=d==="start"?-c:c;for(var _=p==="center",x=0;x=0;C--)b[C]==null?b.splice(C,1):delete b[C].$action},_flatten:function(y,_,x){e.each(y,function(S){if(S){x&&(S.parentOption=x),_.push(S);var b=S.children;S.type==="group"&&b&&this._flatten(b,_,S),delete S.children}},this)},useElOptionsToUpdate:function(){var y=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,y}});t.extendComponentView({type:"graphic",init:function(y,_){this._elMap=e.createHashMap(),this._lastGraphicModel},render:function(y,_,x){y!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=y,this._updateElements(y),this._relocate(y,x)},_updateElements:function(y){var _=y.useElOptionsToUpdate();if(_){var x=this._elMap,S=this.group;e.each(_,function(b){var w=b.$action,A=b.id,T=x.get(A),C=b.parentId,M=C!=null?x.get(C):S,L=b.style;b.type==="text"&&L&&(b.hv&&b.hv[1]&&(L.textVerticalAlign=L.textBaseline=null),!L.hasOwnProperty("textFill")&&L.fill&&(L.textFill=L.fill),!L.hasOwnProperty("textStroke")&&L.stroke&&(L.textStroke=L.stroke));var D=f(b);!w||w==="merge"?T?T.attr(D):v(A,M,D,x):w==="replace"?(h(T,x),v(A,M,D,x)):w==="remove"&&h(T,x);var P=x.get(A);P&&(P.__ecGraphicWidthOption=b.width,P.__ecGraphicHeightOption=b.height,m(P,y))})}},_relocate:function(y,_){for(var x=y.option.elements,S=this.group,b=this._elMap,w=_.getWidth(),A=_.getHeight(),T=0;T=0;T--){var C=x[T],M=b.get(C.id);if(M){var L=M.parent,P=L===S?{width:w,height:A}:{width:L.__ecGraphicWidth,height:L.__ecGraphicHeight};n.positionElement(M,C,P,null,{hv:C.hv,boundingMode:C.bounding})}}},_clear:function(){var y=this._elMap;y.each(function(_){h(_,y)}),this._elMap=e.createHashMap()},dispose:function(){this._clear()}});function v(y,_,x,S){var b=x.type,w=l.hasOwnProperty(b)?l[b]:i.getShapeClass(b),A=new w(x);_.add(A),S.set(y,A),A.__ecGraphicId=y}function h(y,_){var x=y&&y.parent;x&&(y.type==="group"&&y.traverse(function(S){h(S,_)}),_.removeKey(y.__ecGraphicId),x.remove(y))}function f(y){return y=e.extend({},y),e.each(["id","parentId","$action","hv","bounding"].concat(n.LOCATION_PARAMS),function(_){delete y[_]}),y}function c(y,_){var x;return e.each(_,function(S){y[S]!=null&&y[S]!=="auto"&&(x=!0)}),x}function d(y,_){var x=y.exist;if(_.id=y.keyInfo.id,!_.type&&x&&(_.type=x.type),_.parentId==null){var S=_.parentOption;S?_.parentId=S.id:x&&(_.parentId=x.parentId)}_.parentOption=null}function p(y,_,x){var S=e.extend({},x),b=y[_],w=x.$action||"merge";w==="merge"?b?(e.merge(b,S,!0),n.mergeLayoutParam(b,S,{ignoreSize:!0}),n.copyLayoutParams(x,b)):y[_]=S:w==="replace"?y[_]=S:w==="remove"&&b&&(y[_]=null)}function g(y,_){y&&(y.hv=_.hv=[c(_,["left","right"]),c(_,["top","bottom"])],y.type==="group"&&(y.width==null&&(y.width=_.width=0),y.height==null&&(y.height=_.height=0)))}function m(y,_,x){var S=y.eventData;!y.silent&&!y.ignore&&!S&&(S=y.eventData={componentType:"graphic",componentIndex:_.componentIndex,name:y.name}),S&&(S.info=y.info)}return q3}var U3={},zc={},$3;function wo(){if($3)return zc;$3=1;var r={};function t(a,i){r[a]=i}function e(a){return r[a]}return zc.register=t,zc.get=e,zc}var Sb,Y3;function R0e(){if(Y3)return Sb;Y3=1;var r=Pe(),t=ie(),e=wo(),a=r.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){a.superApply(this,"optionUpdated",arguments),t.each(this.option.feature,function(n,o){var s=e.get(o);s&&t.merge(n,s.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),i=a;return Sb=i,Sb}var Bc={},Z3;function R$(){if(Z3)return Bc;Z3=1;var r=Ut(),t=r.getLayoutRect,e=r.box,a=r.positionElement,i=Yt(),n=qe();function o(l,u,v){var h=u.getBoxLayoutParams(),f=u.get("padding"),c={width:v.getWidth(),height:v.getHeight()},d=t(h,c,f);e(u.get("orient"),l,u.get("itemGap"),d.width,d.height),a(l,h,c,f)}function s(f,u){var v=i.normalizeCssArray(u.get("padding")),h=u.getItemStyle(["color","opacity"]);h.fill=u.get("backgroundColor");var f=new n.Rect({shape:{x:f.x-v[3],y:f.y-v[0],width:f.width+v[1]+v[3],height:f.height+v[0]+v[2],r:u.get("borderRadius")},style:h,silent:!0,z2:-1});return f}return Bc.layout=o,Bc.makeBackground=s,Bc}var bb,X3;function E0e(){if(X3)return bb;X3=1;var r=Pe(),t=ie(),e=Da(),a=wo(),i=qe(),n=gr(),o=Zs(),s=R$(),l=r.extendComponentView({type:"toolbox",render:function(v,h,f,c){var d=this.group;if(d.removeAll(),!v.get("show"))return;var p=+v.get("itemSize"),g=v.get("feature")||{},m=this._features||(this._features={}),y=[];t.each(g,function(S,b){y.push(b)}),new o(this._featureNames||[],y).add(_).update(_).remove(t.curry(_,null)).execute(),this._featureNames=y;function _(S,b){var w=y[S],A=y[b],T=g[w],C=new n(T,v,v.ecModel),M;if(c&&c.newTitle!=null&&c.featureName===w&&(T.title=c.newTitle),w&&!A){if(u(w))M={model:C,onclick:C.option.onclick,featureName:w};else{var L=a.get(w);if(!L)return;M=new L(C,h,f)}m[w]=M}else{if(M=m[A],!M)return;M.model=C,M.ecModel=h,M.api=f}if(!w&&A){M.dispose&&M.dispose(h,f);return}if(!C.get("show")||M.unusable){M.remove&&M.remove(h,f);return}x(C,M,w),C.setIconStatus=function(D,P){var I=this.option,R=this.iconPaths;I.iconStatus=I.iconStatus||{},I.iconStatus[D]=P,R[D]&&R[D].trigger(P)},M.render&&M.render(C,h,f,c)}function x(S,b,w){var A=S.getModel("iconStyle"),T=S.getModel("emphasis.iconStyle"),C=b.getIcons?b.getIcons():S.get("icon"),M=S.get("title")||{};if(typeof C=="string"){var L=C,D=M;C={},M={},C[w]=L,M[w]=D}var P=S.iconPaths={};t.each(C,function(I,R){var E=i.createIcon(I,{},{x:-p/2,y:-p/2,width:p,height:p});E.setStyle(A.getItemStyle()),E.hoverStyle=T.getItemStyle(),E.setStyle({text:M[R],textAlign:T.get("textAlign"),textBorderRadius:T.get("textBorderRadius"),textPadding:T.get("textPadding"),textFill:null});var k=v.getModel("tooltip");k&&k.get("show")&&E.attr("tooltip",t.extend({content:M[R],formatter:k.get("formatter",!0)||function(){return M[R]},formatterParams:{componentType:"toolbox",name:R,title:M[R],$vars:["name","title"]},position:k.get("position",!0)||"bottom"},k.option)),i.setHoverStyle(E),v.get("showTitle")&&(E.__title=M[R],E.on("mouseover",function(){var B=T.getItemStyle(),F=v.get("orient")==="vertical"?v.get("right")==null?"right":"left":v.get("bottom")==null?"bottom":"top";E.setStyle({textFill:T.get("textFill")||B.fill||B.stroke||"#000",textBackgroundColor:T.get("textBackgroundColor"),textPosition:T.get("textPosition")||F})}).on("mouseout",function(){E.setStyle({textFill:null,textBackgroundColor:null})})),E.trigger(S.get("iconStatus."+R)||"normal"),d.add(E),E.on("click",t.bind(b.onclick,b,h,f,R)),P[R]=E})}s.layout(d,v,f),d.add(s.makeBackground(d.getBoundingRect(),v)),d.eachChild(function(S){var b=S.__title,w=S.hoverStyle;if(w&&b){var A=e.getBoundingRect(b,e.makeFont(w)),T=S.position[0]+d.position[0],C=S.position[1]+d.position[1]+p,M=!1;C+A.height>f.getHeight()&&(w.textPosition="top",M=!0);var L=M?-5-A.height:p+8;T+A.width/2>f.getWidth()?(w.textPosition=["100%",L],w.textAlign="right"):T-A.width/2<0&&(w.textPosition=[0,L],w.textAlign="left")}})},updateView:function(v,h,f,c){t.each(this._features,function(d){d.updateView&&d.updateView(d.model,h,f,c)})},remove:function(v,h){t.each(this._features,function(f){f.remove&&f.remove(v,h)}),this.group.removeAll()},dispose:function(v,h){t.each(this._features,function(f){f.dispose&&f.dispose(v,h)})}});function u(v){return v.indexOf("my")===0}return bb=l,bb}var wb,K3;function k0e(){if(K3)return wb;K3=1;var r=pr(),t=xo(),e=wo(),a=t.toolbox.saveAsImage;function i(s){this.model=s}i.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:a.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:a.lang.slice()},i.prototype.unusable=!r.canvasSupported;var n=i.prototype;n.onclick=function(s,l){var u=this.model,v=u.get("name")||s.get("title.0.text")||"echarts",h=l.getZr().painter.getType()==="svg",f=h?"svg":u.get("type",!0)||"png",c=l.getConnectedDataURL({type:f,backgroundColor:u.get("backgroundColor",!0)||s.get("backgroundColor")||"#fff",connectedBackgroundColor:u.get("connectedBackgroundColor"),excludeComponents:u.get("excludeComponents"),pixelRatio:u.get("pixelRatio")});if(typeof MouseEvent=="function"&&!r.browser.ie&&!r.browser.edge){var d=document.createElement("a");d.download=v+"."+f,d.target="_blank",d.href=c;var p=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});d.dispatchEvent(p)}else if(window.navigator.msSaveOrOpenBlob){for(var g=atob(c.split(",")[1]),m=g.length,y=new Uint8Array(m);m--;)y[m]=g.charCodeAt(m);var _=new Blob([y]);window.navigator.msSaveOrOpenBlob(_,v+"."+f)}else{var x=u.get("lang"),S='',b=window.open();b.document.write(S)}},e.register("saveAsImage",i);var o=i;return wb=o,wb}var Tb,Q3;function O0e(){if(Q3)return Tb;Q3=1;var r=Pe(),t=ie(),e=xo(),a=wo(),i=e.toolbox.magicType,n="__ec_magicType_stack__";function o(h){this.model=h}o.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.clone(i.title),option:{},seriesIndex:{}};var s=o.prototype;s.getIcons=function(){var h=this.model,f=h.get("icon"),c={};return t.each(h.get("type"),function(d){f[d]&&(c[d]=f[d])}),c};var l={line:function(h,f,c,d){if(h==="bar")return t.merge({id:f,type:"line",data:c.get("data"),stack:c.get("stack"),markPoint:c.get("markPoint"),markLine:c.get("markLine")},d.get("option.line")||{},!0)},bar:function(h,f,c,d){if(h==="line")return t.merge({id:f,type:"bar",data:c.get("data"),stack:c.get("stack"),markPoint:c.get("markPoint"),markLine:c.get("markLine")},d.get("option.bar")||{},!0)},stack:function(h,f,c,d){var p=c.get("stack")===n;if(h==="line"||h==="bar")return d.setIconStatus("stack",p?"normal":"emphasis"),t.merge({id:f,stack:p?"":n},d.get("option.stack")||{},!0)}},u=[["line","bar"],["stack"]];s.onclick=function(h,f,c){var d=this.model,p=d.get("seriesIndex."+c);if(l[c]){var g={series:[]},m=function(x){var S=x.subType,b=x.id,w=l[c](S,b,x,d);w&&(t.defaults(w,x.option),g.series.push(w));var A=x.coordinateSystem;if(A&&A.type==="cartesian2d"&&(c==="line"||c==="bar")){var T=A.getAxesByScale("ordinal")[0];if(T){var C=T.dim,M=C+"Axis",L=h.queryComponents({mainType:M,index:x.get(name+"Index"),id:x.get(name+"Id")})[0],D=L.componentIndex;g[M]=g[M]||[];for(var P=0;P<=D;P++)g[M][D]=g[M][D]||{};g[M][D].boundaryGap=c==="bar"}}};t.each(u,function(x){t.indexOf(x,c)>=0&&t.each(x,function(S){d.setIconStatus(S,"normal")})}),d.setIconStatus(c,"emphasis"),h.eachComponent({mainType:"series",query:p==null?null:{seriesIndex:p}},m);var y;if(c==="stack"){var _=g.series&&g.series[0]&&g.series[0].stack===n;y=_?t.merge({stack:i.title.tiled},i.title):t.clone(i.title)}f.dispatchAction({type:"changeMagicType",currentType:c,newOption:g,newTitle:y,featureName:"magicType"})}},r.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(h,f){f.mergeOption(h.newOption)}),a.register("magicType",o);var v=o;return Tb=v,Tb}var Ab,j3;function N0e(){if(j3)return Ab;j3=1;var r=Pe(),t=ie(),e=Ji(),a=xo(),i=wo(),n=a.toolbox.dataView,o=new Array(60).join("-"),s=" ";function l(S){var b={},w=[],A=[];return S.eachRawSeries(function(T){var C=T.coordinateSystem;if(C&&(C.type==="cartesian2d"||C.type==="polar")){var M=C.getBaseAxis();if(M.type==="category"){var L=M.dim+"_"+M.index;b[L]||(b[L]={categoryAxis:M,valueAxis:C.getOtherAxis(M),series:[]},A.push({axisDim:M.dim,axisIndex:M.index})),b[L].series.push(T)}else w.push(T)}else w.push(T)}),{seriesGroupByCategoryAxis:b,other:w,meta:A}}function u(S){var b=[];return t.each(S,function(w,A){var T=w.categoryAxis,C=w.valueAxis,M=C.dim,L=[" "].concat(t.map(w.series,function(k){return k.name})),D=[T.model.getCategories()];t.each(w.series,function(k){var B=k.getRawData();D.push(k.getRawData().mapArray(B.mapDimension(M),function(F){return F}))});for(var P=[L.join(s)],I=0;I=0)return!0}var d=new RegExp("["+s+"]+","g");function p(S){for(var b=S.split(/\n+/g),w=f(b.shift()).split(d),A=[],T=t.map(w,function(D){return{name:D,data:[]}}),C=0;C=0)&&P(D,M,L)})}var h=v.prototype;h.setOutputRanges=function(A,T){this.matchOutputRanges(A,T,function(C,M,L){if((C.coordRanges||(C.coordRanges=[])).push(M),!C.coordRange){C.coordRange=M;var D=m[C.brushType](0,L,M);C.__rangeOffset={offset:_[C.brushType](D.values,C.range,[1,1]),xyMinMax:D.xyMinMax}}})},h.matchOutputRanges=function(A,T,C){n(A,function(M){var L=this.findTargetInfo(M,T);L&&L!==!0&&t.each(L.coordSyses,function(D){var P=m[M.brushType](1,D,M.range);C(M,P.values,D,T)})},this)},h.setInputRanges=function(A,T){n(A,function(C){var M=this.findTargetInfo(C,T);if(C.range=C.range||[],M&&M!==!0){C.panelId=M.panelId;var L=m[C.brushType](0,M.coordSys,C.coordRange),D=C.__rangeOffset;C.range=D?_[C.brushType](L.values,D.offset,S(L.xyMinMax,D.xyMinMax)):L.values}},this)},h.makePanelOpts=function(A,T){return t.map(this._targetInfoList,function(C){var M=C.getPanelRect();return{panelId:C.panelId,defaultBrushType:T&&T(C),clipPath:i.makeRectPanelClipPath(M),isTargetByCursor:i.makeRectIsTargetByCursor(M,A,C.coordSysModel),getLinearBrushOtherExtent:i.makeLinearBrushOtherExtent(M)}})},h.controlSeries=function(A,T,C){var M=this.findTargetInfo(A,C);return M===!0||M&&o(M.coordSyses,T.coordinateSystem)>=0},h.findTargetInfo=function(A,T){for(var C=this._targetInfoList,M=c(T,A),L=0;LA[1]&&A.reverse(),A}function c(A,T){return a.parseFinder(A,T,{includeMainTypes:u})}var d={grid:function(A,T){var C=A.xAxisModels,M=A.yAxisModels,L=A.gridModels,D=t.createHashMap(),P={},I={};!C&&!M&&!L||(n(C,function(R){var E=R.axis.grid.model;D.set(E.id,E),P[E.id]=!0}),n(M,function(R){var E=R.axis.grid.model;D.set(E.id,E),I[E.id]=!0}),n(L,function(R){D.set(R.id,R),P[R.id]=!0,I[R.id]=!0}),D.each(function(R){var E=R.coordinateSystem,k=[];n(E.getCartesians(),function(B,F){(o(C,B.getAxis("x").model)>=0||o(M,B.getAxis("y").model)>=0)&&k.push(B)}),T.push({panelId:"grid--"+R.id,gridModel:R,coordSysModel:R,coordSys:k[0],coordSyses:k,getPanelRect:g.grid,xAxisDeclared:P[R.id],yAxisDeclared:I[R.id]})}))},geo:function(A,T){n(A.geoModels,function(C){var M=C.coordinateSystem;T.push({panelId:"geo--"+C.id,geoModel:C,coordSysModel:C,coordSys:M,coordSyses:[M],getPanelRect:g.geo})})}},p=[function(A,T){var C=A.xAxisModel,M=A.yAxisModel,L=A.gridModel;return!L&&C&&(L=C.axis.grid.model),!L&&M&&(L=M.axis.grid.model),L&&L===T.gridModel},function(A,T){var C=A.geoModel;return C&&C===T.geoModel}],g={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var A=this.coordSys,T=A.getBoundingRect().clone();return T.applyTransform(e.getTransform(A)),T}},m={lineX:s(y,0),lineY:s(y,1),rect:function(A,T,C){var M=T[l[A]]([C[0][0],C[1][0]]),L=T[l[A]]([C[0][1],C[1][1]]),D=[f([M[0],L[0]]),f([M[1],L[1]])];return{values:D,xyMinMax:D}},polygon:function(A,T,C){var M=[[1/0,-1/0],[1/0,-1/0]],L=t.map(C,function(D){var P=T[l[A]](D);return M[0][0]=Math.min(M[0][0],P[0]),M[1][0]=Math.min(M[1][0],P[1]),M[0][1]=Math.max(M[0][1],P[0]),M[1][1]=Math.max(M[1][1],P[1]),P});return{values:L,xyMinMax:M}}};function y(A,T,C,M){var L=C.getAxis(["x","y"][A]),D=f(t.map([0,1],function(I){return T?L.coordToData(L.toLocalCoord(M[I])):L.toGlobalCoord(L.dataToCoord(M[I]))})),P=[];return P[A]=D,P[1-A]=[NaN,NaN],{values:D,xyMinMax:P}}var _={lineX:s(x,0),lineY:s(x,1),rect:function(A,T,C){return[[A[0][0]-C[0]*T[0][0],A[0][1]-C[0]*T[0][1]],[A[1][0]-C[1]*T[1][0],A[1][1]-C[1]*T[1][1]]]},polygon:function(A,T,C){return t.map(A,function(M,L){return[M[0]-C[0]*T[L][0],M[1]-C[1]*T[L][1]]})}};function x(A,T,C,M){return[T[0]-M[A]*C[0],T[1]-M[A]*C[1]]}function S(A,T){var C=b(A),M=b(T),L=[C[0]/M[0],C[1]/M[1]];return isNaN(L[0])&&(L[0]=1),isNaN(L[1])&&(L[1]=1),L}function b(A){return A?[A[0][1]-A[0][0],A[1][1]-A[1][0]]:[NaN,NaN]}var w=v;return Cb=w,Cb}var Tl={},eF;function k$(){if(eF)return Tl;eF=1;var r=ie(),t=r.each,e="\0_ec_hist_store";function a(l,u){var v=s(l);t(u,function(h,f){for(var c=v.length-1;c>=0;c--){var d=v[c];if(d[f])break}if(c<0){var p=l.queryComponents({mainType:"dataZoom",subType:"select",id:f})[0];if(p){var g=p.getPercentRange();v[0][f]={dataZoomId:f,start:g[0],end:g[1]}}}}),v.push(u)}function i(l){var u=s(l),v=u[u.length-1];u.length>1&&u.pop();var h={};return t(v,function(f,c){for(var d=u.length-1;d>=0;d--){var f=u[d][c];if(f){h[c]=f;break}}}),h}function n(l){l[e]=null}function o(l){return s(l).length}function s(l){var u=l[e];return u||(u=l[e]=[{}]),u}return Tl.push=a,Tl.pop=i,Tl.clear=n,Tl.count=o,Tl}var tF={},rF={},aF;function xD(){if(aF)return rF;aF=1;var r=Lr();return r.registerSubTypeDefaulter("dataZoom",function(){return"slider"}),rF}var Al={},iF;function SD(){if(iF)return Al;iF=1;var r=ie(),t=Yt(),e=["x","y","z","radius","angle","single"],a=["cartesian2d","polar","singleAxis"];function i(l){return r.indexOf(a,l)>=0}function n(l,u){l=l.slice();var v=r.map(l,t.capitalFirst);u=(u||[]).slice();var h=r.map(u,t.capitalFirst);return function(f,c){r.each(l,function(d,p){for(var g={name:d,capital:v[p]},m=0;m=0}function f(d,p){var g=!1;return u(function(m){r.each(v(d,m)||[],function(y){p.records[m.name][y]&&(g=!0)})}),g}function c(d,p){p.nodes.push(d),u(function(g){r.each(v(d,g)||[],function(m){p.records[g.name][m]=!0})})}}return Al.isCoordSupported=i,Al.createNameEach=n,Al.eachAxisDim=o,Al.createLinkedNodesFinder=s,Al}var Mb,nF;function z0e(){if(nF)return Mb;nF=1;var r=ie(),t=st(),e=SD(),a=Iu(),i=r.each,n=t.asc,o=function(f,c,d,p){this._dimName=f,this._axisIndex=c,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=p,this._dataZoomModel=d};o.prototype={constructor:o,hostedBy:function(f){return this._dataZoomModel===f},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var f=[],c=this.ecModel;return c.eachSeries(function(d){if(e.isCoordSupported(d.get("coordinateSystem"))){var p=this._dimName,g=c.queryComponents({mainType:p+"Axis",index:d.get(p+"AxisIndex"),id:d.get(p+"AxisId")})[0];this._axisIndex===(g&&g.componentIndex)&&f.push(d)}},this),f},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var f=this._dimName,c=this.ecModel,d=this.getAxisModel(),p=f==="x"||f==="y",g,m;p?(m="gridIndex",g=f==="x"?"y":"x"):(m="polarIndex",g=f==="angle"?"radius":"angle");var y;return c.eachComponent(g+"Axis",function(_){(_.get(m)||0)===(d.get(m)||0)&&(y=_)}),y},getMinMaxSpan:function(){return r.clone(this._minMaxSpan)},calculateDataWindow:function(f){var c=this._dataExtent,d=this.getAxisModel(),p=d.axis.scale,g=this._dataZoomModel.getRangePropMode(),m=[0,100],y=[],_=[],x;i(["start","end"],function(w,A){var T=f[w],C=f[w+"Value"];g[A]==="percent"?(T==null&&(T=m[A]),C=p.parse(t.linearMap(T,m,c))):(x=!0,C=C==null?c[A]:p.parse(C),T=t.linearMap(C,c,m)),_[A]=C,y[A]=T}),n(_),n(y);var S=this._minMaxSpan;x?b(_,y,c,m,!1):b(y,_,m,c,!0);function b(w,A,T,C,M){var L=M?"Span":"ValueSpan";a(0,w,T,"all",S["min"+L],S["max"+L]);for(var D=0;D<2;D++)A[D]=t.linearMap(w[D],T,C,!0),M&&(A[D]=p.parse(A[D]))}return{valueWindow:_,percentWindow:y}},reset:function(f){if(f===this._dataZoomModel){var c=this.getTargetSeriesModels();this._dataExtent=s(this,this._dimName,c),v(this);var d=this.calculateDataWindow(f.settledOption);this._valueWindow=d.valueWindow,this._percentWindow=d.percentWindow,u(this)}},restore:function(f){f===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,u(this,!0))},filterData:function(f,c){if(f!==this._dataZoomModel)return;var d=this._dimName,p=this.getTargetSeriesModels(),g=f.get("filterMode"),m=this._valueWindow;if(g==="none")return;i(p,function(_){var x=_.getData(),S=x.mapDimension(d,!0);S.length&&(g==="weakFilter"?x.filterSelf(function(b){for(var w,A,T,C=0;Cm[1];if(L&&!D&&!P)return!0;L&&(T=!0),D&&(w=!0),P&&(A=!0)}return T&&w&&A}):i(S,function(b){if(g==="empty")_.setData(x=x.map(b,function(A){return y(A)?A:NaN}));else{var w={};w[b]=m,x.selectRange(w)}}),i(S,function(b){x.setApproximateExtent(m,b)}))});function y(_){return _>=m[0]&&_<=m[1]}}};function s(f,c,d){var p=[1/0,-1/0];return i(d,function(g){var m=g.getData();m&&i(m.mapDimension(c,!0),function(y){var _=m.getApproximateExtent(y);_[0]p[1]&&(p[1]=_[1])})}),p[1]0?0:NaN);var y=d.getMax(!0);return y!=null&&y!=="dataMax"&&typeof y!="function"?c[1]=y:g&&(c[1]=m>0?m-1:NaN),d.get("scale",!0)||(c[0]>0&&(c[0]=0),c[1]<0&&(c[1]=0)),c}function u(f,c){var d=f.getAxisModel(),p=f._percentWindow,g=f._valueWindow;if(p){var m=t.getPixelPrecision(g,[0,500]);m=Math.min(m,20);var y=c||p[0]===0&&p[1]===100;d.setRange(y?null:+g[0].toFixed(m),y?null:+g[1].toFixed(m))}}function v(f){var c=f._minMaxSpan={},d=f._dataZoomModel,p=f._dataExtent;i(["min","max"],function(g){var m=d.get(g+"Span"),y=d.get(g+"ValueSpan");y!=null&&(y=f.getAxisModel().axis.scale.parse(y)),y!=null?m=t.linearMap(p[0]+y,p,[0,100],!0):m!=null&&(y=t.linearMap(m,[0,100],p,!0)-p[0]),c[g+"Span"]=m,c[g+"ValueSpan"]=y})}var h=o;return Mb=h,Mb}var Db,oF;function Pu(){if(oF)return Db;oF=1;var r=It();r.__DEV__;var t=Pe(),e=ie(),a=pr(),i=_t(),n=SD(),o=z0e(),s=e.each,l=n.eachAxisDim,u=t.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(c,d,p){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var g=v(c);this.settledOption=g,this.mergeDefaultAndTheme(c,p),this.doInit(g)},mergeOption:function(c){var d=v(c);e.merge(this.option,c,!0),e.merge(this.settledOption,d,!0),this.doInit(d)},doInit:function(c){var d=this.option;a.canvasSupported||(d.realtime=!1),this._setDefaultThrottle(c),h(this,c);var p=this.settledOption;s([["start","startValue"],["end","endValue"]],function(g,m){this._rangePropMode[m]==="value"&&(d[g[0]]=p[g[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var c=this._axisProxies;this.eachTargetAxis(function(d,p,g,m){var y=this.dependentModels[d.axis][p],_=y.__dzAxisProxy||(y.__dzAxisProxy=new o(d.name,p,this,m));c[d.name+"_"+p]=_},this)},_resetTarget:function(){var c=this.option,d=this._judgeAutoMode();l(function(p){var g=p.axisIndex;c[g]=i.normalizeToArray(c[g])},this),d==="axisIndex"?this._autoSetAxisIndex():d==="orient"&&this._autoSetOrient()},_judgeAutoMode:function(){var c=this.option,d=!1;l(function(g){c[g.axisIndex]!=null&&(d=!0)},this);var p=c.orient;if(p==null&&d)return"orient";if(!d)return p==null&&(c.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var c=!0,d=this.get("orient",!0),p=this.option,g=this.dependentModels;if(c){var m=d==="vertical"?"y":"x";g[m+"Axis"].length?(p[m+"AxisIndex"]=[0],c=!1):s(g.singleAxis,function(y){c&&y.get("orient",!0)===d&&(p.singleAxisIndex=[y.componentIndex],c=!1)})}c&&l(function(y){if(c){var _=[],x=this.dependentModels[y.axis];if(x.length&&!_.length)for(var S=0,b=x.length;S0?100:20}},getFirstTargetAxisModel:function(){var c;return l(function(d){if(c==null){var p=this.get(d.axisIndex);p.length&&(c=this.dependentModels[d.axis][p[0]])}},this),c},eachTargetAxis:function(c,d){var p=this.ecModel;l(function(g){s(this.get(g.axisIndex),function(m){c.call(d,g,m,this,p)},this)},this)},getAxisProxy:function(c,d){return this._axisProxies[c+"_"+d]},getAxisModel:function(c,d){var p=this.getAxisProxy(c,d);return p&&p.getAxisModel()},setRawRange:function(c){var d=this.option,p=this.settledOption;s([["start","startValue"],["end","endValue"]],function(g){(c[g[0]]!=null||c[g[1]]!=null)&&(d[g[0]]=p[g[0]]=c[g[0]],d[g[1]]=p[g[1]]=c[g[1]])},this),h(this,c)},setCalculatedRange:function(c){var d=this.option;s(["start","startValue","end","endValue"],function(p){d[p]=c[p]})},getPercentRange:function(){var c=this.findRepresentativeAxisProxy();if(c)return c.getDataPercentWindow()},getValueRange:function(c,d){if(c==null&&d==null){var p=this.findRepresentativeAxisProxy();if(p)return p.getDataValueWindow()}else return this.getAxisProxy(c,d).getDataValueWindow()},findRepresentativeAxisProxy:function(c){if(c)return c.__dzAxisProxy;var d=this._axisProxies;for(var p in d)if(d.hasOwnProperty(p)&&d[p].hostedBy(this))return d[p];for(var p in d)if(d.hasOwnProperty(p)&&!d[p].hostedBy(this))return d[p]},getRangePropMode:function(){return this._rangePropMode.slice()}});function v(c){var d={};return s(["start","end","startValue","endValue","throttle"],function(p){c.hasOwnProperty(p)&&(d[p]=c[p])}),d}function h(c,d){var p=c._rangePropMode,g=c.get("rangeMode");s([["start","startValue"],["end","endValue"]],function(m,y){var _=d[m[0]]!=null,x=d[m[1]]!=null;_&&!x?p[y]="percent":!_&&x?p[y]="value":g?p[y]=g[y]:_&&(p[y]="percent")})}var f=u;return Db=f,Db}var Lb,sF;function Ru(){if(sF)return Lb;sF=1;var r=fg(),t=r.extend({type:"dataZoom",render:function(e,a,i,n){this.dataZoomModel=e,this.ecModel=a,this.api=i},getTargetCoordInfo:function(){var e=this.dataZoomModel,a=this.ecModel,i={};e.eachTargetAxis(function(o,s){var l=a.getComponent(o.axis,s);if(l){var u=l.getCoordSysModel();u&&n(u,l,i[u.mainType]||(i[u.mainType]=[]),u.componentIndex)}},this);function n(o,s,l,u){for(var v,h=0;h1?"emphasis":"normal")}function g(y,_,x,S,b){var w=x._isZoomActive;S&&S.type==="takeGlobalCursor"&&(w=S.key==="dataZoomSelect"?S.dataZoomSelectActive:!1),x._isZoomActive=w,y.setIconStatus("zoom",w?"emphasis":"normal");var A=new a(d(y.option),_,{include:["grid"]});x._brushController.setPanels(A.makePanelOpts(b,function(T){return T.xAxisDeclared&&!T.yAxisDeclared?"lineX":!T.xAxisDeclared&&T.yAxisDeclared?"lineY":"rect"})).enableBrush(w?{brushType:"auto",brushStyle:y.getModel("brushStyle").getItemStyle()}:!1)}s.register("dataZoom",h),r.registerPreprocessor(function(y){if(!y)return;var _=y.dataZoom||(y.dataZoom=[]);t.isArray(_)||(y.dataZoom=_=[_]);var x=y.toolbox;if(x&&(t.isArray(x)&&(x=x[0]),x&&x.feature)){var S=x.feature.dataZoom;b("xAxis",S),b("yAxis",S)}function b(A,T){if(T){var C=A+"Index",M=T[C];M!=null&&M!=="all"&&!t.isArray(M)&&(M=M===!1||M==="none"?[]:[M]),w(A,function(L,D){if(!(M!=null&&M!=="all"&&t.indexOf(M,D)===-1)){var P={type:"select",$fromToolbox:!0,filterMode:T.filterMode||"filter",id:v+A+D};P[C]=D,_.push(P)}})}}function w(A,T){var C=y[A];t.isArray(C)||(C=C?[C]:[]),u(C,T)}});var m=h;return Rb=m,Rb}var Eb,gF;function H0e(){if(gF)return Eb;gF=1;var r=Pe(),t=k$(),e=xo(),a=wo(),i=e.toolbox.restore;function n(l){this.model=l}n.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:i.title};var o=n.prototype;o.onclick=function(l,u,v){t.clear(l),u.dispatchAction({type:"restore",from:this.uid})},a.register("restore",n),r.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(l,u){u.resetOption("recreate")});var s=n;return Eb=s,Eb}var mF;function q0e(){return mF||(mF=1,R0e(),E0e(),k0e(),O0e(),N0e(),F0e(),H0e()),U3}var yF={},kb,_F;function W0e(){if(_F)return kb;_F=1;var r=Pe(),t=r.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});return kb=t,kb}var Ob,xF;function U0e(){if(xF)return Ob;xF=1;var r=ie(),t=en(),e=Ji(),a=b9(),i=pr(),n=Yt(),o=r.each,s=n.toCamelCase,l=["","-webkit-","-moz-","-o-"],u="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function v(g){var m="cubic-bezier(0.23, 1, 0.32, 1)",y="left "+g+"s "+m+",top "+g+"s "+m;return r.map(l,function(_){return _+"transition:"+y}).join(";")}function h(g){var m=[],y=g.get("fontSize"),_=g.getTextColor();_&&m.push("color:"+_),m.push("font:"+g.getFont());var x=g.get("lineHeight");x==null&&(x=Math.round(y*3/2)),y&&m.push("line-height:"+x+"px");var S=g.get("textShadowColor"),b=g.get("textShadowBlur")||0,w=g.get("textShadowOffsetX")||0,A=g.get("textShadowOffsetY")||0;return b&&m.push("text-shadow:"+w+"px "+A+"px "+b+"px "+S),o(["decoration","align"],function(T){var C=g.get(T);C&&m.push("text-"+T+":"+C)}),m.join(";")}function f(g){var m=[],y=g.get("transitionDuration"),_=g.get("backgroundColor"),x=g.getModel("textStyle"),S=g.get("padding");return y&&m.push(v(y)),_&&(i.canvasSupported?m.push("background-Color:"+_):(m.push("background-Color:#"+t.toHex(_)),m.push("filter:alpha(opacity=70)"))),o(["width","color","radius"],function(b){var w="border-"+b,A=s(w),T=g.get(A);T!=null&&m.push(w+":"+T+(b==="color"?"":"px"))}),m.push(h(x)),S!=null&&m.push("padding:"+n.normalizeCssArray(S).join("px ")+"px"),m.join(";")+";"}function c(g,m,y,_,x){var S=m&&m.painter;if(y){var b=S&&S.getViewportRoot();b&&a.transformLocalCoord(g,b,document.body,_,x)}else{g[0]=_,g[1]=x;var w=S&&S.getViewportRootOffset();w&&(g[0]+=w.offsetLeft,g[1]+=w.offsetTop)}g[2]=g[0]/m.getWidth(),g[3]=g[1]/m.getHeight()}function d(g,m,y){if(i.wxa)return null;var _=document.createElement("div");_.domBelongToZr=!0,this.el=_;var x=this._zr=m.getZr(),S=this._appendToBody=y&&y.appendToBody;this._styleCoord=[0,0,0,0],c(this._styleCoord,x,S,m.getWidth()/2,m.getHeight()/2),S?document.body.appendChild(_):g.appendChild(_),this._container=g,this._show=!1,this._hideTimeout;var b=this;_.onmouseenter=function(){b._enterable&&(clearTimeout(b._hideTimeout),b._show=!0),b._inContent=!0},_.onmousemove=function(w){if(w=w||window.event,!b._enterable){var A=x.handler,T=x.painter.getViewportRoot();e.normalizeEvent(T,w,!0),A.dispatch("mousemove",w)}},_.onmouseleave=function(){b._enterable&&b._show&&b.hideLater(b._hideDelay),b._inContent=!1}}d.prototype={constructor:d,_enterable:!0,update:function(g){var m=this._container,y=m.currentStyle||document.defaultView.getComputedStyle(m),_=m.style;_.position!=="absolute"&&y.position!=="absolute"&&(_.position="relative");var x=g.get("alwaysShowContent");x&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var g=this._styleCoord[2],m=this._styleCoord[3],y=g*this._zr.getWidth(),_=m*this._zr.getHeight();this.moveTo(y,_)},show:function(g){clearTimeout(this._hideTimeout);var m=this.el,y=this._styleCoord;m.style.cssText=u+f(g)+";left:"+y[0]+"px;top:"+y[1]+"px;"+(g.get("extraCssText")||""),m.style.display=m.innerHTML?"block":"none",m.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(g){this.el.innerHTML=g==null?"":g},setEnterable:function(g){this._enterable=g},getSize:function(){var g=this.el;return[g.clientWidth,g.clientHeight]},moveTo:function(g,m){var y=this._styleCoord;c(y,this._zr,this._appendToBody,g,m);var _=this.el.style;_.left=y[0]+"px",_.top=y[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(g){this._show&&!(this._inContent&&this._enterable)&&(g?(this._hideDelay=g,this._show=!1,this._hideTimeout=setTimeout(r.bind(this.hide,this),g)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var g=this.el.clientWidth,m=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var y=document.defaultView.getComputedStyle(this.el);y&&(g+=parseInt(y.borderLeftWidth,10)+parseInt(y.borderRightWidth,10),m+=parseInt(y.borderTopWidth,10)+parseInt(y.borderBottomWidth,10))}return{width:g,height:m}}};var p=d;return Ob=p,Ob}var Nb,SF;function $0e(){if(SF)return Nb;SF=1;var r=ie(),t=$s(),e=qe();function a(o,s,l,u){o[0]=l,o[1]=u,o[2]=o[0]/s.getWidth(),o[3]=o[1]/s.getHeight()}function i(o){var s=this._zr=o.getZr();this._styleCoord=[0,0,0,0],a(this._styleCoord,s,o.getWidth()/2,o.getHeight()/2),this._show=!1,this._hideTimeout}i.prototype={constructor:i,_enterable:!0,update:function(o){var s=o.get("alwaysShowContent");s&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var o=this._styleCoord[2],s=this._styleCoord[3],l=o*this._zr.getWidth(),u=s*this._zr.getHeight();this.moveTo(l,u)},show:function(o){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(o,s,l){this.el&&this._zr.remove(this.el);for(var u={},v=o,h="{marker",f="|}",c=v.indexOf(h);c>=0;){var d=v.indexOf(f),p=v.substr(c+h.length,d-c-h.length);p.indexOf("sub")>-1?u["marker"+p]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:s[p],textOffset:[3,0]}:u["marker"+p]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:s[p]},v=v.substr(d+1),c=v.indexOf("{marker")}var g=l.getModel("textStyle"),m=g.get("fontSize"),y=l.get("textLineHeight");y==null&&(y=Math.round(m*3/2)),this.el=new t({style:e.setTextStyle({},g,{rich:u,text:o,textBackgroundColor:l.get("backgroundColor"),textBorderRadius:l.get("borderRadius"),textFill:l.get("textStyle.color"),textPadding:l.get("padding"),textLineHeight:y}),z:l.get("z")}),this._zr.add(this.el);var _=this;this.el.on("mouseover",function(){_._enterable&&(clearTimeout(_._hideTimeout),_._show=!0),_._inContent=!0}),this.el.on("mouseout",function(){_._enterable&&_._show&&_.hideLater(_._hideDelay),_._inContent=!1})},setEnterable:function(o){this._enterable=o},getSize:function(){var o=this.el.getBoundingRect();return[o.width,o.height]},moveTo:function(o,s){if(this.el){var l=this._styleCoord;a(l,this._zr,o,s),this.el.attr("position",[l[0],l[1]])}},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(o){this._show&&!(this._inContent&&this._enterable)&&(o?(this._hideDelay=o,this._show=!1,this._hideTimeout=setTimeout(r.bind(this.hide,this),o)):this.hide())},isShow:function(){return this._show},dispose:function(){clearTimeout(this._hideTimeout),this.el&&this._zr.remove(this.el)},getOuterSize:function(){var o=this.getSize();return{width:o[0],height:o[1]}}};var n=i;return Nb=n,Nb}var zb,bF;function Y0e(){if(bF)return zb;bF=1;var r=Pe(),t=ie(),e=pr(),a=U0e(),i=$0e(),n=Yt(),o=st(),s=qe(),l=D$(),u=Ut(),v=gr(),h=L$(),f=wi(),c=wg(),d=_t(),p=d.getTooltipRenderMode,g=t.bind,m=t.each,y=o.parsePercent,_=new s.Rect({shape:{x:-1,y:-1,width:2,height:2}}),x=r.extendComponentView({type:"tooltip",init:function(M,L){if(!e.node){var D=M.getComponent("tooltip"),P=D.get("renderMode");this._renderMode=p(P);var I;this._renderMode==="html"?(I=new a(L.getDom(),L,{appendToBody:D.get("appendToBody",!0)}),this._newLine="
"):(I=new i(L),this._newLine="\n"),this._tooltipContent=I}},render:function(M,L,D){if(!e.node){this.group.removeAll(),this._tooltipModel=M,this._ecModel=L,this._api=D,this._lastDataByCoordSys=null,this._alwaysShowContent=M.get("alwaysShowContent");var P=this._tooltipContent;P.update(M),P.setEnterable(M.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var M=this._tooltipModel,L=M.get("triggerOn");h.register("itemTooltip",this._api,g(function(D,P,I){L!=="none"&&(L.indexOf(D)>=0?this._tryShow(P,I):D==="leave"&&this._hide(I))},this))},_keepShow:function(){var M=this._tooltipModel,L=this._ecModel,D=this._api;if(this._lastX!=null&&this._lastY!=null&&M.get("triggerOn")!=="none"){var P=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!D.isDisposed()&&P.manuallyShowTip(M,L,D,{x:P._lastX,y:P._lastY})})}},manuallyShowTip:function(M,L,D,P){if(!(P.from===this.uid||e.node)){var I=b(P,D);this._ticket="";var R=P.dataByCoordSys;if(P.tooltip&&P.x!=null&&P.y!=null){var E=_;E.position=[P.x,P.y],E.update(),E.tooltip=P.tooltip,this._tryShow({offsetX:P.x,offsetY:P.y,target:E},I)}else if(R)this._tryShow({offsetX:P.x,offsetY:P.y,position:P.position,dataByCoordSys:P.dataByCoordSys,tooltipOption:P.tooltipOption},I);else if(P.seriesIndex!=null){if(this._manuallyAxisShowTip(M,L,D,P))return;var k=l(P,L),B=k.point[0],F=k.point[1];B!=null&&F!=null&&this._tryShow({offsetX:B,offsetY:F,position:P.position,target:k.el},I)}else P.x!=null&&P.y!=null&&(D.dispatchAction({type:"updateAxisPointer",x:P.x,y:P.y}),this._tryShow({offsetX:P.x,offsetY:P.y,position:P.position,target:D.getZr().findHover(P.x,P.y).target},I))}},manuallyHideTip:function(M,L,D,P){var I=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&I.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,P.from!==this.uid&&this._hide(b(P,D))},_manuallyAxisShowTip:function(F,L,D,P){var I=P.seriesIndex,R=P.dataIndex,E=L.getComponent("axisPointer").coordSysAxesInfo;if(!(I==null||R==null||E==null)){var k=L.getSeriesByIndex(I);if(k){var B=k.getData(),F=S([B.getItemModel(R),k,(k.coordinateSystem||{}).model,F]);if(F.get("trigger")==="axis")return D.dispatchAction({type:"updateAxisPointer",seriesIndex:I,dataIndex:R,position:P.position}),!0}}},_tryShow:function(M,L){var D=M.target,P=this._tooltipModel;if(P){this._lastX=M.offsetX,this._lastY=M.offsetY;var I=M.dataByCoordSys;I&&I.length?this._showAxisTooltip(I,M):D&&D.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(M,D,L)):D&&D.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(M,D,L)):(this._lastDataByCoordSys=null,this._hide(L))}},_showOrMove:function(M,L){var D=M.get("showDelay");L=t.bind(L,this),clearTimeout(this._showTimout),D>0?this._showTimout=setTimeout(L,D):L()},_showAxisTooltip:function(M,L){var D=this._ecModel,P=this._tooltipModel,I=[L.offsetX,L.offsetY],R=[],E=[],k=S([L.tooltipOption,P]),B=this._renderMode,F=this._newLine,V={};m(M,function(O){m(O.dataByAxis,function(z){var G=D.getComponent(z.axisDim+"Axis",z.axisIndex),q=z.value,H=[];if(!(!G||q==null)){var U=c.getValueLabel(q,G.axis,D,z.seriesDataIndices,z.valueLabelOpt);t.each(z.seriesDataIndices,function(Y){var X=D.getSeriesByIndex(Y.seriesIndex),K=Y.dataIndexInside,Q=X&&X.getDataParams(K);if(Q.axisDim=z.axisDim,Q.axisIndex=z.axisIndex,Q.axisType=z.axisType,Q.axisId=z.axisId,Q.axisValue=f.getAxisRawValue(G.axis,q),Q.axisValueLabel=U,Q){E.push(Q);var j=X.formatTooltip(K,!0,null,B),te;if(t.isObject(j)){te=j.html;var Z=j.markers;t.merge(V,Z)}else te=j;H.push(te)}});var W=U;B!=="html"?R.push(H.join(F)):R.push((W?n.encodeHTML(W)+F:"")+H.join(F))}})},this),R.reverse(),R=R.join(this._newLine+this._newLine);var N=L.position;this._showOrMove(k,function(){this._updateContentNotChangedOnAxis(M)?this._updatePosition(k,N,I[0],I[1],this._tooltipContent,E):this._showTooltipContent(k,R,E,Math.random(),I[0],I[1],N,void 0,V)})},_showSeriesItemTooltip:function(M,L,D){var P=this._ecModel,I=L.seriesIndex,R=P.getSeriesByIndex(I),E=L.dataModel||R,k=L.dataIndex,B=L.dataType,F=E.getData(B),V=S([F.getItemModel(k),E,R&&(R.coordinateSystem||{}).model,this._tooltipModel]),N=V.get("trigger");if(!(N!=null&&N!=="item")){var O=E.getDataParams(k,B),z=E.formatTooltip(k,!1,B,this._renderMode),G,q;t.isObject(z)?(G=z.html,q=z.markers):(G=z,q=null);var H="item_"+E.name+"_"+k;this._showOrMove(V,function(){this._showTooltipContent(V,G,O,H,M.offsetX,M.offsetY,M.position,M.target,q)}),D({type:"showTip",dataIndexInside:k,dataIndex:F.getRawIndex(k),seriesIndex:I,from:this.uid})}},_showComponentItemTooltip:function(M,L,D){var P=L.tooltip;if(typeof P=="string"){var I=P;P={content:I,formatter:I}}var R=new v(P,this._tooltipModel,this._ecModel),E=R.get("content"),k=Math.random();this._showOrMove(R,function(){this._showTooltipContent(R,E,R.get("formatterParams")||{},k,M.offsetX,M.offsetY,M.position,L)}),D({type:"showTip",from:this.uid})},_showTooltipContent:function(M,L,D,P,I,R,E,k,B){if(this._ticket="",!(!M.get("showContent")||!M.get("show"))){var F=this._tooltipContent,V=M.get("formatter");E=E||M.get("position");var N=L;if(V&&typeof V=="string")N=n.formatTpl(V,D,!0);else if(typeof V=="function"){var O=g(function(z,G){z===this._ticket&&(F.setContent(G,B,M),this._updatePosition(M,E,I,R,F,D,k))},this);this._ticket=P,N=V(D,P,O)}F.setContent(N,B,M),F.show(M),this._updatePosition(M,E,I,R,F,D,k)}},_updatePosition:function(M,L,D,P,I,R,E){var k=this._api.getWidth(),B=this._api.getHeight();L=L||M.get("position");var F=I.getSize(),V=M.get("align"),N=M.get("verticalAlign"),O=E&&E.getBoundingRect().clone();if(E&&O.applyTransform(E.transform),typeof L=="function"&&(L=L([D,P],R,I.el,O,{viewSize:[k,B],contentSize:F.slice()})),t.isArray(L))D=y(L[0],k),P=y(L[1],B);else if(t.isObject(L)){L.width=F[0],L.height=F[1];var z=u.getLayoutRect(L,{width:k,height:B});D=z.x,P=z.y,V=null,N=null}else if(typeof L=="string"&&E){var G=T(L,O,F);D=G[0],P=G[1]}else{var G=w(D,P,I,k,B,V?null:20,N?null:20);D=G[0],P=G[1]}if(V&&(D-=C(V)?F[0]/2:V==="right"?F[0]:0),N&&(P-=C(N)?F[1]/2:N==="bottom"?F[1]:0),M.get("confine")){var G=A(D,P,I,k,B);D=G[0],P=G[1]}I.moveTo(D,P)},_updateContentNotChangedOnAxis:function(M){var L=this._lastDataByCoordSys,D=!!L&&L.length===M.length;return D&&m(L,function(P,I){var R=P.dataByAxis||{},E=M[I]||{},k=E.dataByAxis||[];D&=R.length===k.length,D&&m(R,function(B,F){var V=k[F]||{},N=B.seriesDataIndices||[],O=V.seriesDataIndices||[];D&=B.value===V.value&&B.axisType===V.axisType&&B.axisId===V.axisId&&N.length===O.length,D&&m(N,function(z,G){var q=O[G];D&=z.seriesIndex===q.seriesIndex&&z.dataIndex===q.dataIndex})})}),this._lastDataByCoordSys=M,!!D},_hide:function(M){this._lastDataByCoordSys=null,M({type:"hideTip",from:this.uid})},dispose:function(M,L){e.node||(this._tooltipContent.dispose(),h.unregister("itemTooltip",L))}});function S(M){for(var L=M.pop();M.length;){var D=M.pop();D&&(v.isInstance(D)&&(D=D.get("tooltip",!0)),typeof D=="string"&&(D={formatter:D}),L=new v(D,L,L.ecModel))}return L}function b(M,L){return M.dispatchAction||t.bind(L.dispatchAction,L)}function w(M,L,D,P,I,R,E){var k=D.getOuterSize(),B=k.width,F=k.height;return R!=null&&(M+B+R>P?M-=B+R:M+=R),E!=null&&(L+F+E>I?L-=F+E:L+=E),[M,L]}function A(M,L,D,P,I){var R=D.getOuterSize(),E=R.width,k=R.height;return M=Math.min(M+E,P)-E,L=Math.min(L+k,I)-k,M=Math.max(M,0),L=Math.max(L,0),[M,L]}function T(M,L,D){var P=D[0],I=D[1],R=5,E=0,k=0,B=L.width,F=L.height;switch(M){case"inside":E=L.x+B/2-P/2,k=L.y+F/2-I/2;break;case"top":E=L.x+B/2-P/2,k=L.y-I-R;break;case"bottom":E=L.x+B/2-P/2,k=L.y+F+R;break;case"left":E=L.x-P-R,k=L.y+F/2-I/2;break;case"right":E=L.x+B+R,k=L.y+F/2-I/2}return[E,k]}function C(M){return M==="center"||M==="middle"}return zb=x,zb}var wF;function Z0e(){if(wF)return yF;wF=1;var r=Pe();return Sf(),W0e(),Y0e(),r.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),r.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){}),yF}var TF={},Bb,AF;function X0e(){if(AF)return Bb;AF=1;var r=ie(),t=["rect","polygon","keep","clear"];function e(i,n){var o=i&&i.brush;if(r.isArray(o)||(o=o?[o]:[]),!!o.length){var s=[];r.each(o,function(f){var c=f.hasOwnProperty("toolbox")?f.toolbox:[];c instanceof Array&&(s=s.concat(c))});var l=i&&i.toolbox;r.isArray(l)&&(l=l[0]),l||(l={feature:{}},i.toolbox=[l]);var u=l.feature||(l.feature={}),v=u.brush||(u.brush={}),h=v.type||(v.type=[]);h.push.apply(h,s),a(h),n&&!h.length&&h.push.apply(h,t)}}function a(i){var n={};r.each(i,function(o){n[o]=1}),i.length=0,r.each(n,function(o,s){i.push(s)})}return Bb=e,Bb}var Vb={},Cl={},CF;function Tg(){if(CF)return Cl;CF=1;var r=ie(),t=js(),e=r.each;function a(l){if(l){for(var u in l)if(l.hasOwnProperty(u))return!0}}function i(l,u,v){var h={};return e(u,function(c){var d=h[c]=f();e(l[c],function(p,g){if(t.isValidType(g)){var m={type:g,visual:p};v&&v(m,c),d[g]=new t(m),g==="opacity"&&(m=r.clone(m),m.type="colorAlpha",d.__hidden.__alphaForOpacity=new t(m))}})}),h;function f(){var c=function(){};c.prototype.__hidden=c.prototype;var d=new c;return d}}function n(l,u,v){var h;r.each(v,function(f){u.hasOwnProperty(f)&&a(u[f])&&(h=!0)}),h&&r.each(v,function(f){u.hasOwnProperty(f)&&a(u[f])?l[f]=r.clone(u[f]):delete l[f]})}function o(l,u,v,h,f,c){var d={};r.each(l,function(_){var x=t.prepareVisualTypes(u[_]);d[_]=x});var p;function g(_){return v.getItemVisual(p,_)}function m(_,x){v.setItemVisual(p,_,x)}c==null?v.each(y):v.each([c],y);function y(_,x){p=c==null?_:x;var S=v.getRawDataItem(p);if(!(S&&S.visualMap===!1))for(var b=h.call(f,_),w=u[b],A=d[b],T=0,C=A.length;TS[0][1]&&(S[0][1]=T[0]),T[1]S[1][1]&&(S[1][1]=T[1])}return S&&_(S)}};function _(x){return new e(x[0][0],x[1][0],x[0][1]-x[0][0],x[1][1]-x[1][0])}return Vb.layoutCovers=h,Vb}var Fb,LF;function Q0e(){if(LF)return Fb;LF=1;var r=It();r.__DEV__;var t=Pe(),e=ie(),a=Tg(),i=gr(),n=["#ddd"],o=t.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(u,v){var h=this.option;!v&&a.replaceVisualOption(h,u,["inBrush","outOfBrush"]);var f=h.inBrush=h.inBrush||{};h.outOfBrush=h.outOfBrush||{color:n},f.hasOwnProperty("liftZ")||(f.liftZ=5)},setAreas:function(u){u&&(this.areas=e.map(u,function(v){return s(this.option,v)},this))},setBrushOption:function(u){this.brushOption=s(this.option,u),this.brushType=this.brushOption.brushType}});function s(u,v){return e.merge({brushType:u.brushType,brushMode:u.brushMode,transformable:u.transformable,brushStyle:new i(u.brushStyle).getItemStyle(),removeOnClick:u.removeOnClick,z:u.z},v,!0)}var l=o;return Fb=l,Fb}var Hb,IF;function j0e(){if(IF)return Hb;IF=1;var r=Pe(),t=ie(),e=mD(),a=O$(),i=a.layoutCovers,n=r.extendComponentView({type:"brush",init:function(s,l){this.ecModel=s,this.api=l,this.model,(this._brushController=new e(l.getZr())).on("brush",t.bind(this._onBrush,this)).mount()},render:function(s){return this.model=s,o.apply(this,arguments)},updateTransform:function(s,l){return i(l),o.apply(this,arguments)},updateView:o,dispose:function(){this._brushController.dispose()},_onBrush:function(s,l){var u=this.model.id;this.model.brushTargetManager.setOutputRanges(s,this.ecModel),(!l.isEnd||l.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:u,areas:t.clone(s),$from:u}),l.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:u,areas:t.clone(s),$from:u})}});function o(s,l,u,v){(!v||v.$from!==s.id)&&this._brushController.setPanels(s.brushTargetManager.makePanelOpts(u)).enableBrush(s.brushOption).updateCovers(s.areas.slice())}return Hb=n,Hb}var PF={},RF;function J0e(){if(RF)return PF;RF=1;var r=Pe();return r.registerAction({type:"brush",event:"brush"},function(t,e){e.eachComponent({mainType:"brush",query:t},function(a){a.setAreas(t.areas)})}),r.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),r.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){}),PF}var qb,EF;function e_e(){if(EF)return qb;EF=1;var r=ie(),t=wo(),e=xo(),a=e.toolbox.brush;function i(s,l,u){this.model=s,this.ecModel=l,this.api=u,this._brushType,this._brushMode}i.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:r.clone(a.title)};var n=i.prototype;n.render=n.updateView=function(s,l,u){var v,h,f;l.eachComponent({mainType:"brush"},function(c){v=c.brushType,h=c.brushOption.brushMode||"single",f|=c.areas.length}),this._brushType=v,this._brushMode=h,r.each(s.get("type",!0),function(c){s.setIconStatus(c,(c==="keep"?h==="multiple":c==="clear"?f:c===v)?"emphasis":"normal")})},n.getIcons=function(){var s=this.model,l=s.get("icon",!0),u={};return r.each(s.get("type",!0),function(v){l[v]&&(u[v]=l[v])}),u},n.onclick=function(s,l,u){var v=this._brushType,h=this._brushMode;u==="clear"?(l.dispatchAction({type:"axisAreaSelect",intervals:[]}),l.dispatchAction({type:"brush",command:"clear",areas:[]})):l.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:u==="keep"?v:v===u?!1:u,brushMode:u==="keep"?h==="multiple"?"single":"multiple":h}})},t.register("brush",i);var o=i;return qb=o,qb}var kF;function t_e(){if(kF)return TF;kF=1;var r=Pe(),t=X0e();return O$(),Q0e(),j0e(),J0e(),e_e(),r.registerPreprocessor(t),TF}var OF={},NF;function r_e(){if(NF)return OF;NF=1;var r=ie(),t=Pe(),e=qe(),a=Ut(),i=a.getLayoutRect,n=Yt(),o=n.windowOpen;return t.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),t.extendComponentView({type:"title",render:function(s,l,u){if(this.group.removeAll(),!!s.get("show")){var v=this.group,h=s.getModel("textStyle"),f=s.getModel("subtextStyle"),c=s.get("textAlign"),d=r.retrieve2(s.get("textBaseline"),s.get("textVerticalAlign")),p=new e.Text({style:e.setTextStyle({},h,{text:s.get("text"),textFill:h.getTextColor()},{disableBox:!0}),z2:10}),g=p.getBoundingRect(),m=s.get("subtext"),y=new e.Text({style:e.setTextStyle({},f,{text:m,textFill:f.getTextColor(),y:g.height+s.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),_=s.get("link"),x=s.get("sublink"),S=s.get("triggerEvent",!0);p.silent=!_&&!S,y.silent=!x&&!S,_&&p.on("click",function(){o(_,"_"+s.get("target"))}),x&&y.on("click",function(){o(x,"_"+s.get("subtarget"))}),p.eventData=y.eventData=S?{componentType:"title",componentIndex:s.componentIndex}:null,v.add(p),m&&v.add(y);var b=v.getBoundingRect(),w=s.getBoxLayoutParams();w.width=b.width,w.height=b.height;var A=i(w,{width:u.getWidth(),height:u.getHeight()},s.get("padding"));c||(c=s.get("left")||s.get("right"),c==="middle"&&(c="center"),c==="right"?A.x+=A.width:c==="center"&&(A.x+=A.width/2)),d||(d=s.get("top")||s.get("bottom"),d==="center"&&(d="middle"),d==="bottom"?A.y+=A.height:d==="middle"&&(A.y+=A.height/2),d=d||"top"),v.attr("position",[A.x,A.y]);var T={textAlign:c,textVerticalAlign:d};p.setStyle(T),y.setStyle(T),b=v.getBoundingRect();var C=A.margin,M=s.getItemStyle(["color","opacity"]);M.fill=s.get("backgroundColor");var L=new e.Rect({shape:{x:b.x-C[3],y:b.y-C[0],width:b.width+C[1]+C[3],height:b.height+C[0]+C[2],r:s.get("borderRadius")},style:M,subPixelOptimize:!0,silent:!0});v.add(L)}}}),OF}var zF={},Wb,BF;function a_e(){if(BF)return Wb;BF=1;var r=ie();function t(n){var o=n&&n.timeline;r.isArray(o)||(o=o?[o]:[]),r.each(o,function(s){s&&e(s)})}function e(n){var o=n.type,s={number:"value",time:"time"};if(s[o]&&(n.axisType=s[o],delete n.type),a(n),i(n,"controlPosition")){var l=n.controlStyle||(n.controlStyle={});i(l,"position")||(l.position=n.controlPosition),l.position==="none"&&!i(l,"show")&&(l.show=!1,delete l.position),delete n.controlPosition}r.each(n.data||[],function(u){r.isObject(u)&&!r.isArray(u)&&(!i(u,"value")&&i(u,"name")&&(u.value=u.name),a(u))})}function a(n){var o=n.itemStyle||(n.itemStyle={}),s=o.emphasis||(o.emphasis={}),l=n.label||n.label||{},u=l.normal||(l.normal={}),v={normal:1,emphasis:1};r.each(l,function(h,f){!v[f]&&!i(u,f)&&(u[f]=h)}),s.label&&!i(l,"emphasis")&&(l.emphasis=s.label,delete s.label)}function i(n,o){return n.hasOwnProperty(o)}return Wb=t,Wb}var VF={},GF;function i_e(){if(GF)return VF;GF=1;var r=Lr();return r.registerSubTypeDefaulter("timeline",function(){return"slider"}),VF}var FF={},HF;function n_e(){if(HF)return FF;HF=1;var r=Pe(),t=ie();return r.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(e,a){var i=a.getComponent("timeline");return i&&e.currentIndex!=null&&(i.setCurrentIndex(e.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.setPlayState(!1)),a.resetOption("timeline"),t.defaults({currentIndex:i.option.currentIndex},e)}),r.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(e,a){var i=a.getComponent("timeline");i&&e.playState!=null&&i.setPlayState(e.playState)}),FF}var Ub,qF;function o_e(){if(qF)return Ub;qF=1;var r=ie(),t=Lr(),e=ei(),a=_t(),i=t.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(o,s,l){this._data,this._names,this.mergeDefaultAndTheme(o,l),this._initData()},mergeOption:function(o){i.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(o){o==null&&(o=this.option.currentIndex);var s=this._data.count();this.option.loop?o=(o%s+s)%s:(o>=s&&(o=s-1),o<0&&(o=0)),this.option.currentIndex=o},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(o){this.option.autoPlay=!!o},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var o=this.option,s=o.data||[],l=o.axisType,u=this._names=[];if(l==="category"){var v=[];r.each(s,function(c,d){var p=a.getDataItemValue(c),g;r.isObject(c)?(g=r.clone(c),g.value=d):g=d,v.push(g),!r.isString(p)&&(p==null||isNaN(p))&&(p=""),u.push(p+"")}),s=v}var h={category:"ordinal",time:"time"}[l]||"number",f=this._data=new e([{name:"value",type:h}],this);f.initData(s,u)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),n=i;return Ub=n,Ub}var $b,WF;function s_e(){if(WF)return $b;WF=1;var r=ie(),t=o_e(),e=aD(),a=t.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});r.mixin(a,e);var i=a;return $b=i,$b}var Yb,UF;function l_e(){if(UF)return Yb;UF=1;var r=fg(),t=r.extend({type:"timeline"});return Yb=t,Yb}var Zb,$F;function u_e(){if($F)return Zb;$F=1;var r=ie(),t=So(),e=function(i,n,o,s){t.call(this,i,n,o),this.type=s||"value",this.model=null};e.prototype={constructor:e,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},r.inherits(e,t);var a=e;return Zb=a,Zb}var Xb,YF;function v_e(){if(YF)return Xb;YF=1;var r=ie(),t=rr(),e=ha(),a=qe(),i=Ut(),n=l_e(),o=u_e(),s=ti(),l=s.createSymbol,u=wi(),v=st(),h=Yt(),f=h.encodeHTML,c=r.bind,d=r.each,p=Math.PI,g=n.extend({type:"timeline.slider",init:function(S,b){this.api=b,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(S,b,w,A){if(this.model=S,this.api=w,this.ecModel=b,this.group.removeAll(),S.get("show",!0)){var T=this._layout(S,w),C=this._createGroup("mainGroup"),M=this._createGroup("labelGroup"),L=this._axis=this._createAxis(T,S);S.formatTooltip=function(D){return f(L.scale.getLabel(D))},d(["AxisLine","AxisTick","Control","CurrentPointer"],function(D){this["_render"+D](T,C,L,S)},this),this._renderAxisLabel(T,M,L,S),this._position(T,S)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(S,b){var w=S.get("label.position"),A=S.get("orient"),T=m(S,b);w==null||w==="auto"?w=A==="horizontal"?T.y+T.height/2=0||w==="+"?"left":"right"},M={horizontal:w>=0||w==="+"?"top":"bottom",vertical:"middle"},L={horizontal:0,vertical:p/2},D=A==="vertical"?T.height:T.width,P=S.getModel("controlStyle"),I=P.get("show",!0),R=I?P.get("itemSize"):0,E=I?P.get("itemGap"):0,k=R+E,B=S.get("label.rotate")||0;B=B*p/180;var F,V,N,O,z=P.get("position",!0),G=I&&P.get("showPlayBtn",!0),q=I&&P.get("showPrevBtn",!0),H=I&&P.get("showNextBtn",!0),U=0,W=D;return z==="left"||z==="bottom"?(G&&(F=[0,0],U+=k),q&&(V=[U,0],U+=k),H&&(N=[W-R,0],W-=k)):(G&&(F=[W-R,0],W-=k),q&&(V=[0,0],U+=k),H&&(N=[W-R,0],W-=k)),O=[U,W],S.get("inverse")&&O.reverse(),{viewRect:T,mainLength:D,orient:A,rotation:L[A],labelRotation:B,labelPosOpt:w,labelAlign:S.get("label.align")||C[A],labelBaseline:S.get("label.verticalAlign")||S.get("label.baseline")||M[A],playPosition:F,prevBtnPosition:V,nextBtnPosition:N,axisExtent:O,controlSize:R,controlGap:E}},_position:function(S,b){var w=this._mainGroup,A=this._labelGroup,T=S.viewRect;if(S.orient==="vertical"){var C=e.create(),M=T.x,L=T.y+T.height;e.translate(C,C,[-M,-L]),e.rotate(C,C,-p/2),e.translate(C,C,[M,L]),T=T.clone(),T.applyTransform(C)}var D=V(T),P=V(w.getBoundingRect()),I=V(A.getBoundingRect()),R=w.position,E=A.position;E[0]=R[0]=D[0][0];var k=S.labelPosOpt;if(isNaN(k)){var B=k==="+"?0:1;N(R,P,D,1,B),N(E,I,D,1,1-B)}else{var B=k>=0?0:1;N(R,P,D,1,B),E[1]=R[1]+k}w.attr("position",R),A.attr("position",E),w.rotation=A.rotation=S.rotation,F(w),F(A);function F(O){var z=O.position;O.origin=[D[0][0]-z[0],D[1][0]-z[1]]}function V(O){return[[O.x,O.x+O.width],[O.y,O.y+O.height]]}function N(O,z,G,q,H){O[q]+=G[q][H]-z[q][H]}},_createAxis:function(S,b){var w=b.getData(),A=b.get("axisType"),T=u.createScaleByModel(b,A);T.getTicks=function(){return w.mapArray(["value"],function(L){return L})};var C=w.getDataExtent("value");T.setExtent(C[0],C[1]),T.niceTicks();var M=new o("value",T,S.axisExtent,A);return M.model=b,M},_createGroup:function(S){var b=this["_"+S]=new a.Group;return this.group.add(b),b},_renderAxisLine:function(S,b,w,A){var T=w.getExtent();A.get("lineStyle.show")&&b.add(new a.Line({shape:{x1:T[0],y1:0,x2:T[1],y2:0},style:r.extend({lineCap:"round"},A.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(S,b,w,A){var T=A.getData(),C=w.scale.getTicks();d(C,function(M){var L=w.dataToCoord(M),D=T.getItemModel(M),P=D.getModel("itemStyle"),I=D.getModel("emphasis.itemStyle"),R={position:[L,0],onclick:c(this._changeTimeline,this,M)},E=_(D,P,b,R);a.setHoverStyle(E,I.getItemStyle()),D.get("tooltip")?(E.dataIndex=M,E.dataModel=A):E.dataIndex=E.dataModel=null},this)},_renderAxisLabel:function(S,b,w,A){var T=w.getLabelModel();if(T.get("show")){var C=A.getData(),M=w.getViewLabels();d(M,function(L){var D=L.tickValue,P=C.getItemModel(D),I=P.getModel("label"),R=P.getModel("emphasis.label"),E=w.dataToCoord(L.tickValue),k=new a.Text({position:[E,0],rotation:S.labelRotation-S.rotation,onclick:c(this._changeTimeline,this,D),silent:!1});a.setTextStyle(k.style,I,{text:L.formattedLabel,textAlign:S.labelAlign,textVerticalAlign:S.labelBaseline}),b.add(k),a.setHoverStyle(k,a.setTextStyle({},R))},this)}},_renderControl:function(S,b,w,A){var T=S.controlSize,C=S.rotation,M=A.getModel("controlStyle").getItemStyle(),L=A.getModel("emphasis.controlStyle").getItemStyle(),D=[0,-T/2,T,T],P=A.getPlayState(),I=A.get("inverse",!0);R(S.nextBtnPosition,"controlStyle.nextIcon",c(this._changeTimeline,this,I?"-":"+")),R(S.prevBtnPosition,"controlStyle.prevIcon",c(this._changeTimeline,this,I?"+":"-")),R(S.playPosition,"controlStyle."+(P?"stopIcon":"playIcon"),c(this._handlePlayClick,this,!P),!0);function R(E,k,B,F){if(E){var V={position:E,origin:[T/2,0],rotation:F?-C:0,rectHover:!0,style:M,onclick:B},N=y(A,k,D,V);b.add(N),a.setHoverStyle(N,L)}}},_renderCurrentPointer:function(S,b,w,A){var T=A.getData(),C=A.getCurrentIndex(),M=T.getItemModel(C).getModel("checkpointStyle"),L=this,D={onCreate:function(P){P.draggable=!0,P.drift=c(L._handlePointerDrag,L),P.ondragend=c(L._handlePointerDragend,L),x(P,C,w,A,!0)},onUpdate:function(P){x(P,C,w,A)}};this._currentPointer=_(M,M,this._mainGroup,{},this._currentPointer,D)},_handlePlayClick:function(S){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:S,from:this.uid})},_handlePointerDrag:function(S,b,w){this._clearTimer(),this._pointerChangeTimeline([w.offsetX,w.offsetY])},_handlePointerDragend:function(S){this._pointerChangeTimeline([S.offsetX,S.offsetY],!0)},_pointerChangeTimeline:function(S,b){var w=this._toAxisCoord(S)[0],A=this._axis,T=v.asc(A.getExtent().slice());w>T[1]&&(w=T[1]),w":"\n";return(m!=null||_)&&(x+=S),_&&(x+=l(_),m!=null&&(x+=" : ")),m!=null&&(x+=l(y)),x},getData:function(){return this._data},setData:function(f){this._data=f}});e.mixin(v,o);var h=v;return Kb=h,Kb}var Qb,QF;function f_e(){if(QF)return Qb;QF=1;var r=TD(),t=r.extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}});return Qb=t,Qb}var es={},jF;function AD(){if(jF)return es;jF=1;var r=ie(),t=st(),e=rn(),a=e.isDimensionStacked,i=r.indexOf;function n(g){return!(isNaN(parseFloat(g.x))&&isNaN(parseFloat(g.y)))}function o(g){return!isNaN(parseFloat(g.x))&&!isNaN(parseFloat(g.y))}function s(g,m,y,_,x,S){var b=[],w=a(m,_),A=w?m.getCalculationInfo("stackResultDimension"):_,T=p(m,A,g),C=m.indicesOfNearest(A,T)[0];b[x]=m.get(y,C),b[S]=m.get(A,C);var M=m.get(_,C),L=t.getPrecision(m.get(_,C));return L=Math.min(L,20),L>=0&&(b[S]=+b[S].toFixed(L)),[b,M]}var l=r.curry,u={min:l(s,"min"),max:l(s,"max"),average:l(s,"average")};function v(g,m){var y=g.getData(),_=g.coordinateSystem;if(m&&!o(m)&&!r.isArray(m.coord)&&_){var x=_.dimensions,S=h(m,y,_,g);if(m=r.clone(m),m.type&&u[m.type]&&S.baseAxis&&S.valueAxis){var b=i(x,S.baseAxis.dim),w=i(x,S.valueAxis.dim),A=u[m.type](y,S.baseDataDim,S.valueDataDim,b,w);m.coord=A[0],m.value=A[1]}else{for(var T=[m.xAxis!=null?m.xAxis:m.radiusAxis,m.yAxis!=null?m.yAxis:m.angleAxis],C=0;C<2;C++)u[T[C]]&&(T[C]=p(y,y.mapDimension(x[C]),T[C]));m.coord=T}}return m}function h(g,m,y,_){var x={};return g.valueIndex!=null||g.valueDim!=null?(x.valueDataDim=g.valueIndex!=null?m.getDimension(g.valueIndex):g.valueDim,x.valueAxis=y.getAxis(f(_,x.valueDataDim)),x.baseAxis=y.getOtherAxis(x.valueAxis),x.baseDataDim=m.mapDimension(x.baseAxis.dim)):(x.baseAxis=_.getBaseAxis(),x.valueAxis=y.getOtherAxis(x.baseAxis),x.baseDataDim=m.mapDimension(x.baseAxis.dim),x.valueDataDim=m.mapDimension(x.valueAxis.dim)),x}function f(g,m){var y=g.getData(),_=y.dimensions;m=y.getDimension(m);for(var x=0;x<_.length;x++){var S=y.getDimensionInfo(_[x]);if(S.name===m)return S.coordDim}}function c(g,m){return g&&g.containData&&m.coord&&!n(m)?g.containData(m.coord):!0}function d(g,m,y,_){return _<2?g.coord&&g.coord[_]:g.value}function p(g,m,y){if(y==="average"){var _=0,x=0;return g.each(m,function(S,b){isNaN(S)||(_+=S,x++)}),_/x}else return y==="median"?g.getMedian(m):g.getDataExtent(m,!0)[y==="max"?1:0]}return es.dataTransform=v,es.getAxisInfo=h,es.dataFilter=c,es.dimValueGetter=d,es.numCalculate=p,es}var jb,JF;function CD(){if(JF)return jb;JF=1;var r=Pe(),t=ie(),e=r.extendComponentView({type:"marker",init:function(){this.markerGroupMap=t.createHashMap()},render:function(a,i,n){var o=this.markerGroupMap;o.each(function(l){l.__keep=!1});var s=this.type+"Model";i.eachSeries(function(l){var u=l[s];u&&this.renderSeries(l,u,i,n)},this),o.each(function(l){!l.__keep&&this.group.remove(l.group)},this)},renderSeries:function(){}});return jb=e,jb}var Jb,eH;function c_e(){if(eH)return Jb;eH=1;var r=ie(),t=df(),e=st(),a=ei(),i=AD(),n=CD();function o(u,v,h){var f=v.coordinateSystem;u.each(function(c){var d=u.getItemModel(c),p,g=e.parsePercent(d.get("x"),h.getWidth()),m=e.parsePercent(d.get("y"),h.getHeight());if(!isNaN(g)&&!isNaN(m))p=[g,m];else if(v.getMarkerPosition)p=v.getMarkerPosition(u.getValues(u.dimensions,c));else if(f){var y=u.get(f.dimensions[0],c),_=u.get(f.dimensions[1],c);p=f.dataToPoint([y,_])}isNaN(g)||(p[0]=g),isNaN(m)||(p[1]=m),u.setItemLayout(c,p)})}var s=n.extend({type:"markPoint",updateTransform:function(u,v,h){v.eachSeries(function(f){var c=f.markPointModel;c&&(o(c.getData(),f,h),this.markerGroupMap.get(f.id).updateLayout(c))},this)},renderSeries:function(u,v,h,f){var c=u.coordinateSystem,d=u.id,p=u.getData(),g=this.markerGroupMap,m=g.get(d)||g.set(d,new t),y=l(c,u,v);v.setData(y),o(v.getData(),u,f),y.each(function(_){var x=y.getItemModel(_),S=x.getShallow("symbol"),b=x.getShallow("symbolSize"),w=x.getShallow("symbolRotate"),A=r.isFunction(S),T=r.isFunction(b),C=r.isFunction(w);if(A||T||C){var M=v.getRawValue(_),L=v.getDataParams(_);A&&(S=S(M,L)),T&&(b=b(M,L)),C&&(w=w(M,L))}y.setItemVisual(_,{symbol:S,symbolSize:b,symbolRotate:w,color:x.get("itemStyle.color")||p.getVisual("color")})}),m.updateData(y),this.group.add(m.group),y.eachItemGraphicEl(function(_){_.traverse(function(x){x.dataModel=v})}),m.__keep=!0,m.group.silent=v.get("silent")||u.get("silent")}});function l(u,v,h){var f;u?f=r.map(u&&u.dimensions,function(p){var g=v.getData().getDimensionInfo(v.getData().mapDimension(p))||{};return r.defaults({name:p},g)}):f=[{name:"value",type:"float"}];var c=new a(f,h),d=r.map(h.get("data"),r.curry(i.dataTransform,v));return u&&(d=r.filter(d,r.curry(i.dataFilter,u))),c.initData(d,null,u?i.dimValueGetter:function(p){return p.value}),c}return Jb=s,Jb}var tH;function d_e(){if(tH)return XF;tH=1;var r=Pe();return f_e(),c_e(),r.registerPreprocessor(function(t){t.markPoint=t.markPoint||{}}),XF}var rH={},ew,aH;function p_e(){if(aH)return ew;aH=1;var r=TD(),t=r.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});return ew=t,ew}var tw,iH;function g_e(){if(iH)return tw;iH=1;var r=ie(),t=ei(),e=st(),a=AD(),i=pD(),n=CD(),o=rn(),s=o.getStackedDimension,l=function(p,g,m,y){var _=p.getData(),x=y.type;if(!r.isArray(y)&&(x==="min"||x==="max"||x==="average"||x==="median"||y.xAxis!=null||y.yAxis!=null)){var S,b;if(y.yAxis!=null||y.xAxis!=null)S=g.getAxis(y.yAxis!=null?"y":"x"),b=r.retrieve(y.yAxis,y.xAxis);else{var w=a.getAxisInfo(y,_,g,p);S=w.valueAxis;var A=s(_,w.valueDataDim);b=a.numCalculate(_,A,x)}var T=S.dim==="x"?0:1,C=1-T,M=r.clone(y),L={};M.type=null,M.coord=[],L.coord=[],M.coord[C]=-1/0,L.coord[C]=1/0;var D=m.get("precision");D>=0&&typeof b=="number"&&(b=+b.toFixed(Math.min(D,20))),M.coord[T]=L.coord[T]=b,y=[M,L,{type:x,valueIndex:y.valueIndex,value:b}]}return y=[a.dataTransform(p,y[0]),a.dataTransform(p,y[1]),r.extend({},y[2])],y[2].type=y[2].type||"",r.merge(y[2],y[0]),r.merge(y[2],y[1]),y};function u(p){return!isNaN(p)&&!isFinite(p)}function v(p,g,m,y){var _=1-p,x=y.dimensions[p];return u(g[_])&&u(m[_])&&g[p]===m[p]&&y.getAxis(x).containData(g[p])}function h(p,g){if(p.type==="cartesian2d"){var m=g[0].coord,y=g[1].coord;if(m&&y&&(v(1,m,y,p)||v(0,m,y,p)))return!0}return a.dataFilter(p,g[0])&&a.dataFilter(p,g[1])}function f(p,g,m,y,_){var x=y.coordinateSystem,S=p.getItemModel(g),b,w=e.parsePercent(S.get("x"),_.getWidth()),A=e.parsePercent(S.get("y"),_.getHeight());if(!isNaN(w)&&!isNaN(A))b=[w,A];else{if(y.getMarkerPosition)b=y.getMarkerPosition(p.getValues(p.dimensions,g));else{var T=x.dimensions,C=p.get(T[0],g),M=p.get(T[1],g);b=x.dataToPoint([C,M])}if(x.type==="cartesian2d"){var L=x.getAxis("x"),D=x.getAxis("y"),T=x.dimensions;u(p.get(T[0],g))?b[0]=L.toGlobalCoord(L.getExtent()[m?0:1]):u(p.get(T[1],g))&&(b[1]=D.toGlobalCoord(D.getExtent()[m?0:1]))}isNaN(w)||(b[0]=w),isNaN(A)||(b[1]=A)}p.setItemLayout(g,b)}var c=n.extend({type:"markLine",updateTransform:function(p,g,m){g.eachSeries(function(y){var _=y.markLineModel;if(_){var x=_.getData(),S=_.__from,b=_.__to;S.each(function(w){f(S,w,!0,y,m),f(b,w,!1,y,m)}),x.each(function(w){x.setItemLayout(w,[S.getItemLayout(w),b.getItemLayout(w)])}),this.markerGroupMap.get(y.id).updateLayout()}},this)},renderSeries:function(p,g,m,y){var _=p.coordinateSystem,x=p.id,S=p.getData(),b=this.markerGroupMap,w=b.get(x)||b.set(x,new i);this.group.add(w.group);var A=d(_,p,g),T=A.from,C=A.to,M=A.line;g.__from=T,g.__to=C,g.setData(M);var L=g.get("symbol"),D=g.get("symbolSize");r.isArray(L)||(L=[L,L]),typeof D=="number"&&(D=[D,D]),A.from.each(function(I){P(T,I,!0),P(C,I,!1)}),M.each(function(I){var R=M.getItemModel(I).get("lineStyle.color");M.setItemVisual(I,{color:R||T.getItemVisual(I,"color")}),M.setItemLayout(I,[T.getItemLayout(I),C.getItemLayout(I)]),M.setItemVisual(I,{fromSymbolRotate:T.getItemVisual(I,"symbolRotate"),fromSymbolSize:T.getItemVisual(I,"symbolSize"),fromSymbol:T.getItemVisual(I,"symbol"),toSymbolRotate:C.getItemVisual(I,"symbolRotate"),toSymbolSize:C.getItemVisual(I,"symbolSize"),toSymbol:C.getItemVisual(I,"symbol")})}),w.updateData(M),A.line.eachItemGraphicEl(function(I,R){I.traverse(function(E){E.dataModel=g})});function P(I,R,E){var k=I.getItemModel(R);f(I,R,E,p,y),I.setItemVisual(R,{symbolRotate:k.get("symbolRotate"),symbolSize:k.get("symbolSize")||D[E?0:1],symbol:k.get("symbol",!0)||L[E?0:1],color:k.get("itemStyle.color")||S.getVisual("color")})}w.__keep=!0,w.group.silent=g.get("silent")||p.get("silent")}});function d(p,g,m){var y;p?y=r.map(p&&p.dimensions,function(A){var T=g.getData().getDimensionInfo(g.getData().mapDimension(A))||{};return r.defaults({name:A},T)}):y=[{name:"value",type:"float"}];var _=new t(y,m),x=new t(y,m),S=new t([],m),b=r.map(m.get("data"),r.curry(l,g,p,m));p&&(b=r.filter(b,r.curry(h,p)));var w=p?a.dimValueGetter:function(A){return A.value};return _.initData(r.map(b,function(A){return A[0]}),null,w),x.initData(r.map(b,function(A){return A[1]}),null,w),S.initData(r.map(b,function(A){return A[2]})),S.hasItemOption=!0,{from:_,to:x,line:S}}return tw=c,tw}var nH;function m_e(){if(nH)return rH;nH=1;var r=Pe();return p_e(),g_e(),r.registerPreprocessor(function(t){t.markLine=t.markLine||{}}),rH}var oH={},rw,sH;function y_e(){if(sH)return rw;sH=1;var r=TD(),t=r.extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});return rw=t,rw}var lH={},uH;function __e(){if(uH)return lH;uH=1;var r=ie(),t=en(),e=ei(),a=st(),i=qe(),n=AD(),o=CD(),s=function(d,p,g,m){var y=n.dataTransform(d,m[0]),_=n.dataTransform(d,m[1]),x=r.retrieve,S=y.coord,b=_.coord;S[0]=x(S[0],-1/0),S[1]=x(S[1],-1/0),b[0]=x(b[0],1/0),b[1]=x(b[1],1/0);var w=r.mergeAll([{},y,_]);return w.coord=[y.coord,_.coord],w.x0=y.x,w.y0=y.y,w.x1=_.x,w.y1=_.y,w};function l(d){return!isNaN(d)&&!isFinite(d)}function u(d,p,g,m){var y=1-d;return l(p[y])&&l(g[y])}function v(d,p){var g=p.coord[0],m=p.coord[1];return d.type==="cartesian2d"&&g&&m&&(u(1,g,m)||u(0,g,m))?!0:n.dataFilter(d,{coord:g,x:p.x0,y:p.y0})||n.dataFilter(d,{coord:m,x:p.x1,y:p.y1})}function h(d,p,g,m,y){var _=m.coordinateSystem,x=d.getItemModel(p),S,b=a.parsePercent(x.get(g[0]),y.getWidth()),w=a.parsePercent(x.get(g[1]),y.getHeight());if(!isNaN(b)&&!isNaN(w))S=[b,w];else{if(m.getMarkerPosition)S=m.getMarkerPosition(d.getValues(g,p));else{var A=d.get(g[0],p),T=d.get(g[1],p),C=[A,T];_.clampData&&_.clampData(C,C),S=_.dataToPoint(C,!0)}if(_.type==="cartesian2d"){var M=_.getAxis("x"),L=_.getAxis("y"),A=d.get(g[0],p),T=d.get(g[1],p);l(A)?S[0]=M.toGlobalCoord(M.getExtent()[g[0]==="x0"?0:1]):l(T)&&(S[1]=L.toGlobalCoord(L.getExtent()[g[1]==="y0"?0:1]))}isNaN(b)||(S[0]=b),isNaN(w)||(S[1]=w)}return S}var f=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];o.extend({type:"markArea",updateTransform:function(d,p,g){p.eachSeries(function(m){var y=m.markAreaModel;if(y){var _=y.getData();_.each(function(x){var S=r.map(f,function(w){return h(_,x,w,m,g)});_.setItemLayout(x,S);var b=_.getItemGraphicEl(x);b.setShape("points",S)})}},this)},renderSeries:function(d,p,g,m){var y=d.coordinateSystem,_=d.id,x=d.getData(),S=this.markerGroupMap,b=S.get(_)||S.set(_,{group:new i.Group});this.group.add(b.group),b.__keep=!0;var w=c(y,d,p);p.setData(w),w.each(function(A){var T=r.map(f,function(M){return h(w,A,M,d,m)}),C=!0;r.each(f,function(M){if(C){var L=w.get(M[0],A),D=w.get(M[1],A);(l(L)||y.getAxis("x").containData(L))&&(l(D)||y.getAxis("y").containData(D))&&(C=!1)}}),w.setItemLayout(A,{points:T,allClipped:C}),w.setItemVisual(A,{color:x.getVisual("color")})}),w.diff(b.__data).add(function(A){var T=w.getItemLayout(A);if(!T.allClipped){var C=new i.Polygon({shape:{points:T.points}});w.setItemGraphicEl(A,C),b.group.add(C)}}).update(function(A,T){var C=b.__data.getItemGraphicEl(T),M=w.getItemLayout(A);M.allClipped?C&&b.group.remove(C):(C?i.updateProps(C,{shape:{points:M.points}},p,A):C=new i.Polygon({shape:{points:M.points}}),w.setItemGraphicEl(A,C),b.group.add(C))}).remove(function(A){var T=b.__data.getItemGraphicEl(A);b.group.remove(T)}).execute(),w.eachItemGraphicEl(function(A,T){var C=w.getItemModel(T),M=C.getModel("label"),L=C.getModel("emphasis.label"),D=w.getItemVisual(T,"color");A.useStyle(r.defaults(C.getModel("itemStyle").getItemStyle(),{fill:t.modifyAlpha(D,.4),stroke:D})),A.hoverStyle=C.getModel("emphasis.itemStyle").getItemStyle(),i.setLabelStyle(A.style,A.hoverStyle,M,L,{labelFetcher:p,labelDataIndex:T,defaultText:w.getName(T)||"",isRectText:!0,autoColor:D}),i.setHoverStyle(A,{}),A.dataModel=p}),b.__data=w,b.group.silent=p.get("silent")||d.get("silent")}});function c(d,p,g){var m,y,_=["x0","y0","x1","y1"];d?(m=r.map(d&&d.dimensions,function(b){var w=p.getData(),A=w.getDimensionInfo(w.mapDimension(b))||{};return r.defaults({name:b},A)}),y=new e(r.map(_,function(b,w){return{name:b,type:m[w%2].type}}),g)):(m=[{name:"value",type:"float"}],y=new e(m,g));var x=r.map(g.get("data"),r.curry(s,p,d,g));d&&(x=r.filter(x,r.curry(v,d)));var S=d?function(b,w,A,T){return b.coord[Math.floor(T/2)][T%2]}:function(b){return b.value};return y.initData(x,null,S),y.hasItemOption=!0,y}return lH}var vH;function x_e(){if(vH)return oH;vH=1;var r=Pe();return y_e(),__e(),r.registerPreprocessor(function(t){t.markArea=t.markArea||{}}),oH}var hH={},fH={},aw,cH;function N$(){if(cH)return aw;cH=1;var r=Pe(),t=ie(),e=gr(),a=_t(),i=a.isNameSpecified,n=xo(),o=n.legend.selector,s={all:{type:"all",title:t.clone(o.all)},inverse:{type:"inverse",title:t.clone(o.inverse)}},l=r.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(v,h,f){this.mergeDefaultAndTheme(v,f),v.selected=v.selected||{},this._updateSelector(v)},mergeOption:function(v){l.superCall(this,"mergeOption",v),this._updateSelector(v)},_updateSelector:function(v){var h=v.selector;h===!0&&(h=v.selector=["all","inverse"]),t.isArray(h)&&t.each(h,function(f,c){t.isString(f)&&(f={type:f}),h[c]=t.merge(f,s[f.type])})},optionUpdated:function(){this._updateData(this.ecModel);var v=this._data;if(v[0]&&this.get("selectedMode")==="single"){for(var h=!1,f=0;f=0},getOrient:function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),u=l;return aw=u,aw}var dH={},pH;function S_e(){if(pH)return dH;pH=1;var r=Pe(),t=ie();function e(a,i,n){var o={},s=a==="toggleSelected",l;return n.eachComponent("legend",function(u){s&&l!=null?u[l?"select":"unSelect"](i.name):a==="allSelect"||a==="inverseSelect"?u[a]():(u[a](i.name),l=u.isSelected(i.name));var v=u.getData();t.each(v,function(h){var f=h.get("name");if(!(f==="\n"||f==="")){var c=u.isSelected(f);o.hasOwnProperty(f)?o[f]=o[f]&&c:o[f]=c}})}),a==="allSelect"||a==="inverseSelect"?{selected:o}:{name:i.name,selected:o}}return r.registerAction("legendToggleSelect","legendselectchanged",t.curry(e,"toggleSelected")),r.registerAction("legendAllSelect","legendselectall",t.curry(e,"allSelect")),r.registerAction("legendInverseSelect","legendinverseselect",t.curry(e,"inverseSelect")),r.registerAction("legendSelect","legendselected",t.curry(e,"select")),r.registerAction("legendUnSelect","legendunselected",t.curry(e,"unSelect")),dH}var iw,gH;function z$(){if(gH)return iw;gH=1;var r=It();r.__DEV__;var t=Pe(),e=ie(),a=ti(),i=a.createSymbol,n=qe(),o=R$(),s=o.makeBackground,l=Ut(),u=e.curry,v=e.each,h=n.Group,f=t.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new h),this._backgroundEl,this.group.add(this._selectorGroup=new h),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(m,y,_){var x=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!m.get("show",!0)){var S=m.get("align"),b=m.get("orient");(!S||S==="auto")&&(S=m.get("left")==="right"&&b==="vertical"?"right":"left");var w=m.get("selector",!0),A=m.get("selectorPosition",!0);w&&(!A||A==="auto")&&(A=b==="horizontal"?"end":"start"),this.renderInner(S,m,y,_,w,b,A);var T=m.getBoxLayoutParams(),C={width:_.getWidth(),height:_.getHeight()},M=m.get("padding"),L=l.getLayoutRect(T,C,M),D=this.layoutInner(m,S,L,x,w,A),P=l.getLayoutRect(e.defaults({width:D.width,height:D.height},T),C,M);this.group.attr("position",[P.x-D.x,P.y-D.y]),this.group.add(this._backgroundEl=s(D,m))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(m,y,_,x,S,b,w){var A=this.getContentGroup(),T=e.createHashMap(),C=y.get("selectedMode"),M=[];_.eachRawSeries(function(L){!L.get("legendHoverLink")&&M.push(L.id)}),v(y.getData(),function(L,D){var P=L.get("name");if(!this.newlineDisabled&&(P===""||P==="\n")){A.add(new h({newline:!0}));return}var I=_.getSeriesByName(P)[0];if(!T.get(P))if(I){var R=I.getData(),E=R.getVisual("color"),k=R.getVisual("borderColor");typeof E=="function"&&(E=E(I.getDataParams(0))),typeof k=="function"&&(k=k(I.getDataParams(0)));var B=R.getVisual("legendSymbol")||"roundRect",F=R.getVisual("symbol"),V=this._createItem(P,D,L,y,B,F,m,E,k,C);V.on("click",u(d,P,null,x,M)).on("mouseover",u(p,I.name,null,x,M)).on("mouseout",u(g,I.name,null,x,M)),T.set(P,!0)}else _.eachRawSeries(function(N){if(!T.get(P)&&N.legendVisualProvider){var O=N.legendVisualProvider;if(!O.containName(P))return;var z=O.indexOfName(P),G=O.getItemVisual(z,"color"),q=O.getItemVisual(z,"borderColor"),H="roundRect",U=this._createItem(P,D,L,y,H,null,m,G,q,C);U.on("click",u(d,null,P,x,M)).on("mouseover",u(p,null,P,x,M)).on("mouseout",u(g,null,P,x,M)),T.set(P,!0)}},this)},this),S&&this._createSelector(S,y,x,b,w)},_createSelector:function(m,y,_,x,S){var b=this.getSelectorGroup();v(m,function(A){w(A)});function w(A){var T=A.type,C=new n.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){_.dispatchAction({type:T==="all"?"legendAllSelect":"legendInverseSelect"})}});b.add(C);var M=y.getModel("selectorLabel"),L=y.getModel("emphasis.selectorLabel");n.setLabelStyle(C.style,C.hoverStyle={},M,L,{defaultText:A.title,isRectText:!1}),n.setHoverStyle(C)}},_createItem:function(m,y,_,x,S,b,w,A,T,C){var M=x.get("itemWidth"),L=x.get("itemHeight"),D=x.get("inactiveColor"),P=x.get("inactiveBorderColor"),I=x.get("symbolKeepAspect"),R=x.getModel("itemStyle"),E=x.isSelected(m),k=new h,B=_.getModel("textStyle"),F=_.get("icon"),V=_.getModel("tooltip"),N=V.parentModel;S=F||S;var O=i(S,0,0,M,L,E?A:D,I==null?!0:I);if(k.add(c(O,S,R,T,P,E)),!F&&b&&(b!==S||b==="none")){var z=L*.8;b==="none"&&(b="circle");var G=i(b,(M-z)/2,(L-z)/2,z,z,E?A:D,I==null?!0:I);k.add(c(G,b,R,T,P,E))}var q=w==="left"?M+5:-5,H=w,U=x.get("formatter"),W=m;typeof U=="string"&&U?W=U.replace("{name}",m!=null?m:""):typeof U=="function"&&(W=U(m)),k.add(new n.Text({style:n.setTextStyle({},B,{text:W,x:q,y:L/2,textFill:E?B.getTextColor():D,textAlign:H,textVerticalAlign:"middle"})}));var Y=new n.Rect({shape:k.getBoundingRect(),invisible:!0,tooltip:V.get("show")?e.extend({content:m,formatter:N.get("formatter",!0)||function(){return m},formatterParams:{componentType:"legend",legendIndex:x.componentIndex,name:m,$vars:["name"]}},V.option):null});return k.add(Y),k.eachChild(function(X){X.silent=!0}),Y.silent=!C,this.getContentGroup().add(k),n.setHoverStyle(k),k.__legendDataIndex=y,k},layoutInner:function(m,y,_,x,S,b){var w=this.getContentGroup(),A=this.getSelectorGroup();l.box(m.get("orient"),w,m.get("itemGap"),_.width,_.height);var T=w.getBoundingRect(),C=[-T.x,-T.y];if(S){l.box("horizontal",A,m.get("selectorItemGap",!0));var M=A.getBoundingRect(),L=[-M.x,-M.y],D=m.get("selectorButtonGap",!0),P=m.getOrient().index,I=P===0?"width":"height",R=P===0?"height":"width",E=P===0?"y":"x";b==="end"?L[P]+=T[I]+D:C[P]+=M[I]+D,L[1-P]+=T[R]/2-M[R]/2,A.attr("position",L),w.attr("position",C);var k={x:0,y:0};return k[I]=T[I]+D+M[I],k[R]=Math.max(T[R],M[R]),k[E]=Math.min(0,M[E]+L[1-P]),k}else return w.attr("position",C),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function c(m,y,_,x,S,b){var w;return y!=="line"&&y.indexOf("empty")<0?(w=_.getItemStyle(),m.style.stroke=x,b||(w.stroke=S)):w=_.getItemStyle(["borderWidth","borderColor"]),m.setStyle(w)}function d(m,y,_,x){g(m,y,_,x),_.dispatchAction({type:"legendToggleSelect",name:m!=null?m:y}),p(m,y,_,x)}function p(m,y,_,x){var S=_.getZr().storage.getDisplayList()[0];S&&S.useHoverLayer||_.dispatchAction({type:"highlight",seriesName:m,name:y,excludeSeriesId:x})}function g(m,y,_,x){var S=_.getZr().storage.getDisplayList()[0];S&&S.useHoverLayer||_.dispatchAction({type:"downplay",seriesName:m,name:y,excludeSeriesId:x})}return iw=f,iw}var nw,mH;function b_e(){if(mH)return nw;mH=1;function r(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(a){for(var i=0;ih[c],b=[-_.x,-_.y];v||(b[f]=g.position[f]);var w=[0,0],A=[-x.x,-x.y],T=r.retrieve2(u.get("pageButtonGap",!0),u.get("itemGap",!0));if(S){var C=u.get("pageButtonPosition",!0);C==="end"?A[f]+=h[c]-x[c]:w[f]+=x[c]+T}A[1-f]+=_[d]/2-x[d]/2,g.attr("position",b),m.attr("position",w),y.attr("position",A);var M={x:0,y:0};if(M[c]=S?h[c]:_[c],M[d]=Math.max(_[d],x[d]),M[p]=Math.min(0,x[p]+A[1-f]),m.__rectSize=h[c],S){var L={x:0,y:0};L[c]=Math.max(h[c]-x[c]-T,0),L[d]=M[d],m.setClipPath(new t.Rect({shape:L})),m.__rectSize=L[c]}else y.eachChild(function(P){P.attr({invisible:!0,silent:!0})});var D=this._getPageInfo(u);return D.pageIndex!=null&&t.updateProps(g,{position:D.contentPosition},S?u:!1),this._updatePageInfoView(u,D),M},_pageGo:function(u,v,h){var f=this._getPageInfo(v)[u];f!=null&&h.dispatchAction({type:"legendScroll",scrollDataIndex:f,legendId:v.id})},_updatePageInfoView:function(u,v){var h=this._controllerGroup;r.each(["pagePrev","pageNext"],function(m){var y=v[m+"DataIndex"]!=null,_=h.childOfName(m);_&&(_.setStyle("fill",y?u.get("pageIconColor",!0):u.get("pageIconInactiveColor",!0)),_.cursor=y?"pointer":"default")});var f=h.childOfName("pageText"),c=u.get("pageFormatter"),d=v.pageIndex,p=d!=null?d+1:0,g=v.pageCount;f&&c&&f.setStyle("text",r.isString(c)?c.replace("{current}",p).replace("{total}",g):c({current:p,total:g}))},_getPageInfo:function(u){var v=u.get("scrollDataIndex",!0),h=this.getContentGroup(),f=this._containerGroup.__rectSize,c=u.getOrient().index,d=n[c],p=o[c],g=this._findTargetItemIndex(v),m=h.children(),y=m[g],_=m.length,x=_?1:0,S={contentPosition:h.position.slice(),pageCount:x,pageIndex:x-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!y)return S;var b=M(y);S.contentPosition[c]=-b.s;for(var w=g+1,A=b,T=b,C=null;w<=_;++w)C=M(m[w]),(!C&&T.e>A.s+f||C&&!L(C,A.s))&&(T.i>A.i?A=T:A=C,A&&(S.pageNextDataIndex==null&&(S.pageNextDataIndex=A.i),++S.pageCount)),T=C;for(var w=g-1,A=b,T=b,C=null;w>=-1;--w)C=M(m[w]),(!C||!L(T,C.s))&&A.i=P&&D.s<=P+f}},_findTargetItemIndex:function(u){if(!this._showController)return 0;var v,h=this.getContentGroup(),f;return h.eachChild(function(c,d){var p=c.__legendDataIndex;f==null&&p!=null&&(f=d),p===u&&(v=d)}),v!=null?v:f}}),l=s;return sw=l,sw}var SH={},bH;function A_e(){if(bH)return SH;bH=1;var r=Pe();return r.registerAction("legendScroll","legendscroll",function(t,e){var a=t.scrollDataIndex;a!=null&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(i){i.setScrollDataIndex(a)})}),SH}var wH;function C_e(){return wH||(wH=1,B$(),w_e(),T_e(),A_e()),hH}var TH={},AH={},lw,CH;function M_e(){if(CH)return lw;CH=1;var r=Pu(),t=r.extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}}),e=t;return lw=e,lw}var uw,MH;function D_e(){if(MH)return uw;MH=1;var r=ie(),t=Ji(),e=qe(),a=_o(),i=Ru(),n=st(),o=Ut(),s=Iu(),l=e.Rect,u=n.linearMap,v=n.asc,h=r.bind,f=r.each,c=7,d=1,p=30,g="horizontal",m="vertical",y=5,_=["line","bar","candlestick","scatter"],x=i.extend({type:"dataZoom.slider",init:function(A,T){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=T},render:function(A,T,C,M){if(x.superApply(this,"render",arguments),a.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=A.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!M||M.type!=="dataZoom"||M.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){x.superApply(this,"remove",arguments),a.clear(this,"_dispatchZoomAction")},dispose:function(){x.superApply(this,"dispose",arguments),a.clear(this,"_dispatchZoomAction")},_buildView:function(){var A=this.group;A.removeAll(),this._resetLocation(),this._resetInterval();var T=this._displayables.barGroup=new e.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),A.add(T),this._positionGroup()},_resetLocation:function(){var A=this.dataZoomModel,T=this.api,C=this._findCoordRect(),M={width:T.getWidth(),height:T.getHeight()},L=this._orient===g?{right:M.width-C.x-C.width,top:M.height-p-c,width:C.width,height:p}:{right:c,top:C.y,width:p,height:C.height},D=o.getLayoutParams(A.option);r.each(["right","top","width","height"],function(I){D[I]==="ph"&&(D[I]=L[I])});var P=o.getLayoutRect(D,M,A.padding);this._location={x:P.x,y:P.y},this._size=[P.width,P.height],this._orient===m&&this._size.reverse()},_positionGroup:function(){var A=this.group,T=this._location,C=this._orient,M=this.dataZoomModel.getFirstTargetAxisModel(),L=M&&M.get("inverse"),D=this._displayables.barGroup,P=(this._dataShadowInfo||{}).otherAxisInverse;D.attr(C===g&&!L?{scale:P?[1,1]:[1,-1]}:C===g&&L?{scale:P?[-1,1]:[-1,-1]}:C===m&&!L?{scale:P?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:P?[-1,-1]:[-1,1],rotation:Math.PI/2});var I=A.getBoundingRect([D]);A.attr("position",[T.x-I.x,T.y-I.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var A=this.dataZoomModel,T=this._size,C=this._displayables.barGroup;C.add(new l({silent:!0,shape:{x:0,y:0,width:T[0],height:T[1]},style:{fill:A.get("backgroundColor")},z2:-40})),C.add(new l({shape:{x:0,y:0,width:T[0],height:T[1]},style:{fill:"transparent"},z2:0,onclick:r.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var A=this._dataShadowInfo=this._prepareDataShadowInfo();if(A){var T=this._size,C=A.series,M=C.getRawData(),L=C.getShadowDim?C.getShadowDim():A.otherDim;if(L!=null){var D=M.getDataExtent(L),P=(D[1]-D[0])*.3;D=[D[0]-P,D[1]+P];var I=[0,T[1]],R=[0,T[0]],E=[[T[0],0],[0,0]],k=[],B=R[1]/(M.count()-1),F=0,V=Math.round(M.count()/T[0]),N;M.each([L],function(z,G){if(V>0&&G%V){F+=B;return}var q=z==null||isNaN(z)||z==="",H=q?0:u(z,D,I,!0);q&&!N&&G?(E.push([E[E.length-1][0],0]),k.push([k[k.length-1][0],0])):!q&&N&&(E.push([F,0]),k.push([F,0])),E.push([F,H]),k.push([F,H]),F+=B,N=q});var O=this.dataZoomModel;this._displayables.barGroup.add(new e.Polygon({shape:{points:E},style:r.defaults({fill:O.get("dataBackgroundColor")},O.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new e.Polyline({shape:{points:k},style:O.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var A=this.dataZoomModel,T=A.get("showDataShadow");if(T!==!1){var C,M=this.ecModel;return A.eachTargetAxis(function(L,D){var P=A.getAxisProxy(L.name,D).getTargetSeriesModels();r.each(P,function(I){if(!C&&!(T!==!0&&r.indexOf(_,I.get("type"))<0)){var R=M.getComponent(L.axis,D).axis,E=S(L.name),k,B=I.coordinateSystem;E!=null&&B.getOtherAxis&&(k=B.getOtherAxis(R).inverse),E=I.getData().mapDimension(E),C={thisAxis:R,series:I,thisDim:L.name,otherDim:E,otherAxisInverse:k}}},this)},this),C}},_renderHandle:function(){var A=this._displayables,T=A.handles=[],C=A.handleLabels=[],M=this._displayables.barGroup,L=this._size,D=this.dataZoomModel;M.add(A.filler=new l({draggable:!0,cursor:b(this._orient),drift:h(this._onDragMove,this,"all"),ondragstart:h(this._showDataInfo,this,!0),ondragend:h(this._onDragEnd,this),onmouseover:h(this._showDataInfo,this,!0),onmouseout:h(this._showDataInfo,this,!1),style:{fill:D.get("fillerColor"),textPosition:"inside"}})),M.add(new l({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:L[0],height:L[1]},style:{stroke:D.get("dataBackgroundColor")||D.get("borderColor"),lineWidth:d,fill:"rgba(0,0,0,0)"}})),f([0,1],function(P){var I=e.createIcon(D.get("handleIcon"),{cursor:b(this._orient),draggable:!0,drift:h(this._onDragMove,this,P),ondragend:h(this._onDragEnd,this),onmouseover:h(this._showDataInfo,this,!0),onmouseout:h(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),R=I.getBoundingRect();this._handleHeight=n.parsePercent(D.get("handleSize"),this._size[1]),this._handleWidth=R.width/R.height*this._handleHeight,I.setStyle(D.getModel("handleStyle").getItemStyle());var E=D.get("handleColor");E!=null&&(I.style.fill=E),M.add(T[P]=I);var k=D.textStyleModel;this.group.add(C[P]=new e.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:k.getTextColor(),textFont:k.getFont()},z2:10}))},this)},_resetInterval:function(){var A=this._range=this.dataZoomModel.getPercentRange(),T=this._getViewExtent();this._handleEnds=[u(A[0],[0,100],T,!0),u(A[1],[0,100],T,!0)]},_updateInterval:function(A,T){var C=this.dataZoomModel,M=this._handleEnds,L=this._getViewExtent(),D=C.findRepresentativeAxisProxy().getMinMaxSpan(),P=[0,100];s(T,M,L,C.get("zoomLock")?"all":A,D.minSpan!=null?u(D.minSpan,P,L,!0):null,D.maxSpan!=null?u(D.maxSpan,P,L,!0):null);var I=this._range,R=this._range=v([u(M[0],L,P,!0),u(M[1],L,P,!0)]);return!I||I[0]!==R[0]||I[1]!==R[1]},_updateView:function(A){var T=this._displayables,C=this._handleEnds,M=v(C.slice()),L=this._size;f([0,1],function(D){var P=T.handles[D],I=this._handleHeight;P.attr({scale:[I/2,I/2],position:[C[D],L[1]/2-I/2]})},this),T.filler.setShape({x:M[0],y:0,width:M[1]-M[0],height:L[1]}),this._updateDataInfo(A)},_updateDataInfo:function(A){var T=this.dataZoomModel,C=this._displayables,M=C.handleLabels,L=this._orient,D=["",""];if(T.get("showDetail")){var P=T.findRepresentativeAxisProxy();if(P){var I=P.getAxisModel().axis,R=this._range,E=A?P.calculateDataWindow({start:R[0],end:R[1]}).valueWindow:P.getDataValueWindow();D=[this._formatLabel(E[0],I),this._formatLabel(E[1],I)]}}var k=v(this._handleEnds.slice());B.call(this,0),B.call(this,1);function B(F){var V=e.getTransform(C.handles[F].parent,this.group),N=e.transformDirection(F===0?"right":"left",V),O=this._handleWidth/2+y,z=e.applyTransform([k[F]+(F===0?-O:O),this._size[1]/2],V);M[F].setStyle({x:z[0],y:z[1],textVerticalAlign:L===g?"middle":N,textAlign:L===g?N:"center",text:D[F]})}},_formatLabel:function(A,T){var C=this.dataZoomModel,M=C.get("labelFormatter"),L=C.get("labelPrecision");(L==null||L==="auto")&&(L=T.getPixelPrecision());var D=A==null||isNaN(A)?"":T.type==="category"||T.type==="time"?T.scale.getLabel(Math.round(A)):A.toFixed(Math.min(L,20));return r.isFunction(M)?M(A,D):r.isString(M)?M.replace("{value}",D):D},_showDataInfo:function(A){A=this._dragging||A;var T=this._displayables.handleLabels;T[0].attr("invisible",!A),T[1].attr("invisible",!A)},_onDragMove:function(A,T,C,M){this._dragging=!0,t.stop(M.event);var L=this._displayables.barGroup.getLocalTransform(),D=e.applyTransform([T,C],L,!0),P=this._updateInterval(A,D[0]),I=this.dataZoomModel.get("realtime");this._updateView(!I),P&&I&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var A=this.dataZoomModel.get("realtime");!A&&this._dispatchZoomAction()},_onClickPanelClick:function(A){var T=this._size,C=this._displayables.barGroup.transformCoordToLocal(A.offsetX,A.offsetY);if(!(C[0]<0||C[0]>T[0]||C[1]<0||C[1]>T[1])){var M=this._handleEnds,L=(M[0]+M[1])/2,D=this._updateInterval("all",C[0]-L);this._updateView(),D&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var A=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:A[0],end:A[1]})},_findCoordRect:function(){var A;if(f(this.getTargetCoordInfo(),function(M){if(!A&&M.length){var L=M[0].model.coordinateSystem;A=L.getRect&&L.getRect()}}),!A){var T=this.api.getWidth(),C=this.api.getHeight();A={x:T*.2,y:C*.2,width:T*.6,height:C*.6}}return A}});function S(A){var T={x:"y",y:"x",radius:"angle",angle:"radius"};return T[A]}function b(A){return A==="vertical"?"ns-resize":"ew-resize"}var w=x;return uw=w,uw}var DH;function V$(){return DH||(DH=1,xD(),Pu(),Ru(),M_e(),D_e(),bD(),wD()),AH}var LH={},vw,IH;function L_e(){if(IH)return vw;IH=1;var r=Pu(),t=r.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});return vw=t,vw}var Tv={},PH;function I_e(){if(PH)return Tv;PH=1;var r=ie(),t=xf(),e=_o(),a="\0_ec_dataZoom_roams";function i(f,c){var d=s(f),p=c.dataZoomId,g=c.coordId;r.each(d,function(_,x){var S=_.dataZoomInfos;S[p]&&r.indexOf(c.allCoordIds,g)<0&&(delete S[p],_.count--)}),u(d);var m=d[g];m||(m=d[g]={coordId:g,dataZoomInfos:{},count:0},m.controller=l(f,m),m.dispatchAction=r.curry(v,f)),!m.dataZoomInfos[p]&&m.count++,m.dataZoomInfos[p]=c;var y=h(m.dataZoomInfos);m.controller.enable(y.controlType,y.opt),m.controller.setPointerChecker(c.containsPoint),e.createOrUpdate(m,"dispatchAction",c.dataZoomModel.get("throttle",!0),"fixRate")}function n(f,c){var d=s(f);r.each(d,function(p){p.controller.dispose();var g=p.dataZoomInfos;g[c]&&(delete g[c],p.count--)}),u(d)}function o(f){return f.type+"\0_"+f.id}function s(f){var c=f.getZr();return c[a]||(c[a]={})}function l(f,c){var d=new t(f.getZr());return r.each(["pan","zoom","scrollMove"],function(p){d.on(p,function(g){var m=[];r.each(c.dataZoomInfos,function(y){if(g.isAvailableBehavior(y.dataZoomModel.option)){var _=(y.getRange||{})[p],x=_&&_(c.controller,g);!y.dataZoomModel.get("disabled",!0)&&x&&m.push({dataZoomId:y.dataZoomId,start:x[0],end:x[1]})}}),m.length&&c.dispatchAction(m)})}),d}function u(f){r.each(f,function(c,d){c.count||(c.controller.dispose(),delete f[d])})}function v(f,c){f.dispatchAction({type:"dataZoom",batch:c})}function h(f){var c,d="type_",p={type_true:2,type_move:1,type_false:0,type_undefined:-1},g=!0;return r.each(f,function(m){var y=m.dataZoomModel,_=y.get("disabled",!0)?!1:y.get("zoomLock",!0)?"move":!0;p[d+_]>p[d+c]&&(c=_),g&=y.get("preventDefaultMouseMove",!0)}),{controlType:c,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!g}}}return Tv.register=i,Tv.unregister=n,Tv.generateCoordId=o,Tv}var hw,RH;function P_e(){if(RH)return hw;RH=1;var r=ie(),t=Ru(),e=Iu(),a=I_e(),i=r.bind,n=t.extend({type:"dataZoom.inside",init:function(v,h){this._range},render:function(v,h,f,c){n.superApply(this,"render",arguments),this._range=v.getPercentRange(),r.each(this.getTargetCoordInfo(),function(d,p){var g=r.map(d,function(m){return a.generateCoordId(m.model)});r.each(d,function(m){var y=m.model,_={};r.each(["pan","zoom","scrollMove"],function(x){_[x]=i(o[x],this,m,p)},this),a.register(f,{coordId:a.generateCoordId(y),allCoordIds:g,containsPoint:function(x,S,b){return y.coordinateSystem.containPoint([S,b])},dataZoomId:v.id,dataZoomModel:v,getRange:_})},this)},this)},dispose:function(){a.unregister(this.api,this.dataZoomModel.id),n.superApply(this,"dispose",arguments),this._range=null}}),o={zoom:function(v,h,f,c){var d=this._range,p=d.slice(),g=v.axisModels[0];if(g){var m=l[h](null,[c.originX,c.originY],g,f,v),y=(m.signal>0?m.pixelStart+m.pixelLength-m.pixel:m.pixel-m.pixelStart)/m.pixelLength*(p[1]-p[0])+p[0],_=Math.max(1/c.scale,0);p[0]=(p[0]-y)*_+y,p[1]=(p[1]-y)*_+y;var x=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(e(0,p,[0,100],0,x.minSpan,x.maxSpan),this._range=p,d[0]!==p[0]||d[1]!==p[1])return p}},pan:s(function(v,h,f,c,d,p){var g=l[c]([p.oldX,p.oldY],[p.newX,p.newY],h,d,f);return g.signal*(v[1]-v[0])*g.pixel/g.pixelLength}),scrollMove:s(function(v,h,f,c,d,p){var g=l[c]([0,0],[p.scrollDelta,p.scrollDelta],h,d,f);return g.signal*(v[1]-v[0])*p.scrollDelta})};function s(v){return function(h,f,c,d){var p=this._range,g=p.slice(),m=h.axisModels[0];if(m){var y=v(g,m,h,f,c,d);if(e(y,g,[0,100],"all"),this._range=g,p[0]!==g[0]||p[1]!==g[1])return g}}}var l={grid:function(v,h,f,c,d){var p=f.axis,g={},m=d.model.coordinateSystem.getRect();return v=v||[0,0],p.dim==="x"?(g.pixel=h[0]-v[0],g.pixelLength=m.width,g.pixelStart=m.x,g.signal=p.inverse?1:-1):(g.pixel=h[1]-v[1],g.pixelLength=m.height,g.pixelStart=m.y,g.signal=p.inverse?-1:1),g},polar:function(v,h,f,c,d){var p=f.axis,g={},m=d.model.coordinateSystem,y=m.getRadiusAxis().getExtent(),_=m.getAngleAxis().getExtent();return v=v?m.pointToCoord(v):[0,0],h=m.pointToCoord(h),f.mainType==="radiusAxis"?(g.pixel=h[0]-v[0],g.pixelLength=y[1]-y[0],g.pixelStart=y[0],g.signal=p.inverse?1:-1):(g.pixel=h[1]-v[1],g.pixelLength=_[1]-_[0],g.pixelStart=_[0],g.signal=p.inverse?-1:1),g},singleAxis:function(v,h,f,c,d){var p=f.axis,g=d.model.coordinateSystem.getRect(),m={};return v=v||[0,0],p.orient==="horizontal"?(m.pixel=h[0]-v[0],m.pixelLength=g.width,m.pixelStart=g.x,m.signal=p.inverse?1:-1):(m.pixel=h[1]-v[1],m.pixelLength=g.height,m.pixelStart=g.y,m.signal=p.inverse?-1:1),m}},u=n;return hw=u,hw}var EH;function G$(){return EH||(EH=1,xD(),Pu(),Ru(),L_e(),P_e(),bD(),wD()),LH}var kH;function R_e(){return kH||(kH=1,V$(),G$()),TH}var OH={},NH={},fw,zH;function F$(){if(zH)return fw;zH=1;var r=ie(),t=r.each;function e(i){var n=i&&i.visualMap;r.isArray(n)||(n=n?[n]:[]),t(n,function(o){if(o){a(o,"splitList")&&!a(o,"pieces")&&(o.pieces=o.splitList,delete o.splitList);var s=o.pieces;s&&r.isArray(s)&&t(s,function(l){r.isObject(l)&&(a(l,"start")&&!a(l,"min")&&(l.min=l.start),a(l,"end")&&!a(l,"max")&&(l.max=l.end))})}})}function a(i,n){return i&&i.hasOwnProperty&&i.hasOwnProperty(n)}return fw=e,fw}var BH={},VH;function H$(){if(VH)return BH;VH=1;var r=Lr();return r.registerSubTypeDefaulter("visualMap",function(t){return!t.categories&&(!(t.pieces?t.pieces.length>0:t.splitNumber>0)||t.calculable)?"continuous":"piecewise"}),BH}var GH={},FH;function q$(){if(FH)return GH;FH=1;var r=Pe(),t=ie(),e=Tg(),a=js(),i=r.PRIORITY.VISUAL.COMPONENT;r.registerVisual(i,{createOnAllSeries:!0,reset:function(o,s){var l=[];return s.eachComponent("visualMap",function(u){var v=o.pipelineContext;!u.isTargetSeries(o)||v&&v.large||l.push(e.incrementalApplyVisual(u.stateList,u.targetVisuals,t.bind(u.getValueState,u),u.getDataDimension(o.getData())))}),l}}),r.registerVisual(i,{createOnAllSeries:!0,reset:function(o,s){var l=o.getData(),u=[];s.eachComponent("visualMap",function(v){if(v.isTargetSeries(o)){var h=v.getVisualMeta(t.bind(n,null,o,v))||{stops:[],outerColors:[]},f=v.getDataDimension(l),c=l.getDimensionInfo(f);c!=null&&(h.dimension=c.index,u.push(h))}}),o.getData().setVisual("visualMeta",u)}});function n(o,s,l,u){for(var v=s.targetVisuals[u],h=a.prepareVisualTypes(v),f={color:o.getData().getVisual("color")},c=0,d=h.length;c"],t.isArray(m)&&(m=m.slice(),A=!0),T=y?m:A?[C(m[0]),C(m[1])]:C(m),t.isString(w))return w.replace("{value}",A?T[0]:T).replace("{value2}",A?T[1]:T);if(t.isFunction(w))return A?w(m[0],m[1]):w(m);if(A)return m[0]===b[0]?_[0]+" "+T[1]:m[1]===b[1]?_[1]+" "+T[0]:T[0]+" - "+T[1];return T;function C(M){return M===b[0]?"min":M===b[1]?"max":(+M).toFixed(Math.min(S,20))}},resetExtent:function(){var m=this.option,y=f([m.min,m.max]);this._dataExtent=y},getDataDimension:function(m){var y=this.option.dimension,_=m.dimensions;if(!(y==null&&!_.length)){if(y!=null)return m.getDimension(y);for(var x=m.dimensions,S=x.length-1;S>=0;S--){var b=x[S],w=m.getDimensionInfo(b);if(!w.isCalculationCoord)return b}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var m=this.ecModel,y=this.option,_={inRange:y.inRange,outOfRange:y.outOfRange},x=y.target||(y.target={}),S=y.controller||(y.controller={});t.merge(x,_),t.merge(S,_);var b=this.isCategory();w.call(this,x),w.call(this,S),A.call(this,x,"inRange","outOfRange"),T.call(this,S);function w(C){v(y.color)&&!C.inRange&&(C.inRange={color:y.color.slice().reverse()}),C.inRange=C.inRange||{color:m.get("gradientColor")},h(this.stateList,function(M){var L=C[M];if(t.isString(L)){var D=a.get(L,"active",b);D?(C[M]={},C[M][L]=D):delete C[M]}},this)}function A(C,M,L){var D=C[M],P=C[L];D&&!P&&(P=C[L]={},h(D,function(I,R){if(i.isValidType(R)){var E=a.get(R,"inactive",b);E!=null&&(P[R]=E,R==="color"&&!P.hasOwnProperty("opacity")&&!P.hasOwnProperty("colorAlpha")&&(P.opacity=[0,0]))}}))}function T(C){var M=(C.inRange||{}).symbol||(C.outOfRange||{}).symbol,L=(C.inRange||{}).symbolSize||(C.outOfRange||{}).symbolSize,D=this.get("inactiveColor");h(this.stateList,function(P){var I=this.itemSize,R=C[P];R||(R=C[P]={color:b?D:[D]}),R.symbol==null&&(R.symbol=M&&t.clone(M)||(b?"roundRect":["roundRect"])),R.symbolSize==null&&(R.symbolSize=L&&t.clone(L)||(b?I[0]:[I[0],I[0]])),R.symbol=l(R.symbol,function(B){return B==="none"||B==="square"?"roundRect":B});var E=R.symbolSize;if(E!=null){var k=-1/0;u(E,function(B){B>k&&(k=B)}),R.symbolSize=l(E,function(B){return c(B,[0,k],[0,I[0]],!0)})}},this)}},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:d,getValueState:d,getVisualMeta:d}),g=p;return dw=g,dw}var pw,WH;function E_e(){if(WH)return pw;WH=1;var r=ie(),t=U$(),e=st(),a=[20,140],i=t.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(s,l){i.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(u){u.mappingMethod="linear",u.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){i.superApply(this,"resetItemSize",arguments);var s=this.itemSize;this._orient==="horizontal"&&s.reverse(),(s[0]==null||isNaN(s[0]))&&(s[0]=a[0]),(s[1]==null||isNaN(s[1]))&&(s[1]=a[1])},_resetRange:function(){var s=this.getExtent(),l=this.option.range;!l||l.auto?(s.auto=1,this.option.range=s):r.isArray(l)&&(l[0]>l[1]&&l.reverse(),l[0]=Math.max(l[0],s[0]),l[1]=Math.min(l[1],s[1]))},completeVisualOption:function(){t.prototype.completeVisualOption.apply(this,arguments),r.each(this.stateList,function(s){var l=this.option.controller[s].symbolSize;l&&l[0]!==l[1]&&(l[0]=0)},this)},setSelected:function(s){this.option.range=s.slice(),this._resetRange()},getSelected:function(){var s=this.getExtent(),l=e.asc((this.get("range")||[]).slice());return l[0]>s[1]&&(l[0]=s[1]),l[1]>s[1]&&(l[1]=s[1]),l[0]=u[1]||s<=l[1])?"inRange":"outOfRange"},findTargetDataIndices:function(s){var l=[];return this.eachTargetSeries(function(u){var v=[],h=u.getData();h.each(this.getDataDimension(h),function(f,c){s[0]<=f&&f<=s[1]&&v.push(c)},this),l.push({seriesId:u.id,dataIndex:v})},this),l},getVisualMeta:function(s){var l=n(this,"outOfRange",this.getExtent()),u=n(this,"inRange",this.option.range.slice()),v=[];function h(y,_){v.push({value:y,color:s(y,_)})}for(var f=0,c=0,d=u.length,p=l.length;cw[1])break;C.push({color:this.getControllerVisual(D,"color",A),offset:L/T})}return C.push({color:this.getControllerVisual(w[1],"color",A),offset:1}),C},_createBarPoints:function(w,A){var T=this.visualMapModel.itemSize;return[[T[0]-A[0],w[0]],[T[0],w[0]],[T[0],w[1]],[T[0]-A[1],w[1]]]},_createBarGroup:function(w){var A=this._orient,T=this.visualMapModel.get("inverse");return new i.Group(A==="horizontal"&&!T?{scale:w==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:A==="horizontal"&&T?{scale:w==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:A==="vertical"&&!T?{scale:w==="left"?[1,-1]:[-1,-1]}:{scale:w==="left"?[1,1]:[-1,1]})},_updateHandle:function(w,A){if(this._useHandle){var T=this._shapes,C=this.visualMapModel,M=T.handleThumbs,L=T.handleLabels;v([0,1],function(D){var P=M[D];P.setStyle("fill",A.handlesColor[D]),P.position[1]=w[D];var I=i.applyTransform(T.handleLabelPoints[D],i.getTransform(P,this.group));L[D].setStyle({x:I[0],y:I[1],text:C.formatValueText(this._dataInterval[D]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?D===0?"bottom":"top":"left",T.barGroup)})},this)}},_showIndicator:function(w,A,T,C){var M=this.visualMapModel,L=M.getExtent(),D=M.itemSize,P=[0,D[1]],I=u(w,L,P,!0),R=this._shapes,E=R.indicator;if(E){E.position[1]=I,E.attr("invisible",!1),E.setShape("points",y(!!T,C,I,D[1]));var k={convertOpacityToAlpha:!0},B=this.getControllerVisual(w,"color",k);E.setStyle("fill",B);var F=i.applyTransform(R.indicatorLabelPoint,i.getTransform(E,this.group)),V=R.indicatorLabel;V.attr("invisible",!1);var N=this._applyTransform("left",R.barGroup),O=this._orient;V.setStyle({text:(T||"")+M.formatValueText(A),textVerticalAlign:O==="horizontal"?N:"middle",textAlign:O==="horizontal"?"center":N,x:F[0],y:F[1]})}},_enableHoverLinkToSeries:function(){var w=this;this._shapes.barGroup.on("mousemove",function(A){if(w._hovering=!0,!w._dragging){var T=w.visualMapModel.itemSize,C=w._applyTransform([A.offsetX,A.offsetY],w._shapes.barGroup,!0,!0);C[1]=h(f(0,C[1]),T[1]),w._doHoverLinkToSeries(C[1],0<=C[0]&&C[0]<=T[0])}}).on("mouseout",function(){w._hovering=!1,!w._dragging&&w._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var w=this.api.getZr();this.visualMapModel.option.hoverLink?(w.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),w.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(w,A){var T=this.visualMapModel,C=T.itemSize;if(T.option.hoverLink){var M=[0,C[1]],L=T.getExtent();w=h(f(M[0],w),M[1]);var D=_(T,L,M),P=[w-D,w+D],I=u(w,M,L,!0),R=[u(P[0],M,L,!0),u(P[1],M,L,!0)];P[0]M[1]&&(R[1]=1/0),A&&(R[0]===-1/0?this._showIndicator(I,R[1],"< ",D):R[1]===1/0?this._showIndicator(I,R[0],"> ",D):this._showIndicator(I,I,"≈ ",D));var E=this._hoverLinkDataIndices,k=[];(A||x(T))&&(k=this._hoverLinkDataIndices=T.findTargetDataIndices(R));var B=l.compressBatches(E,k);this._dispatchHighDown("downplay",s.makeHighDownBatch(B[0],T)),this._dispatchHighDown("highlight",s.makeHighDownBatch(B[1],T))}},_hoverLinkFromSeriesMouseOver:function(w){var A=w.target,T=this.visualMapModel;if(!(!A||A.dataIndex==null)){var C=this.ecModel.getSeriesByIndex(A.seriesIndex);if(T.isTargetSeries(C)){var M=C.getData(A.dataType),L=M.get(T.getDataDimension(M),A.dataIndex,!0);isNaN(L)||this._showIndicator(L,L)}}},_hideIndicator:function(){var w=this._shapes;w.indicator&&w.indicator.attr("invisible",!0),w.indicatorLabel&&w.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var w=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",s.makeHighDownBatch(w,this.visualMapModel)),w.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var w=this.api.getZr();w.off("mouseover",this._hoverLinkFromSeriesMouseOver),w.off("mouseout",this._hideIndicator)},_applyTransform:function(w,A,T,C){var M=i.getTransform(A,C?null:this.group);return i[r.isArray(w)?"applyTransform":"transformDirection"](w,M,T)},_dispatchHighDown:function(w,A){A&&A.length&&this.api.dispatchAction({type:w,batch:A})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function g(w,A,T,C){return new i.Polygon({shape:{points:w},draggable:!!T,cursor:A,drift:T,onmousemove:function(M){e.stop(M.event)},ondragend:C})}function m(w,A){return w===0?[[0,0],[A,0],[A,-A]]:[[0,0],[A,0],[A,A]]}function y(w,A,T,C){return w?[[0,-h(A,f(T,0))],[d,0],[0,h(A,f(C-T,0))]]:[[0,0],[5,-5],[5,5]]}function _(w,A,T){var C=c/2,M=w.get("hoverLinkDataSize");return M&&(C=u(M,A,T,!0)/2),C}function x(w){var A=w.get("hoverLinkOnHandle");return!!(A==null?w.get("realtime"):A)}function S(w){return w==="vertical"?"ns-resize":"ew-resize"}var b=p;return mw=b,mw}var ZH={},XH;function Z$(){if(XH)return ZH;XH=1;var r=Pe(),t={type:"selectDataRange",event:"dataRangeSelected",update:"update"};return r.registerAction(t,function(e,a){a.eachComponent({mainType:"visualMap",query:e},function(i){i.setSelected(e.selected)})}),ZH}var KH;function X$(){if(KH)return NH;KH=1;var r=Pe(),t=F$();return H$(),q$(),E_e(),k_e(),Z$(),r.registerPreprocessor(t),NH}var QH={},yw,jH;function O_e(){if(jH)return yw;jH=1;var r=It();r.__DEV__;var t=ie(),e=U$(),a=js(),i=W$(),n=st(),o=n.reformIntervals,s=e.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(h,f){s.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var c=this._mode=this._determineMode();l[this._mode].call(this),this._resetSelected(h,f);var d=this.option.categories;this.resetVisual(function(p,g){c==="categories"?(p.mappingMethod="category",p.categories=t.clone(d)):(p.dataExtent=this.getExtent(),p.mappingMethod="piecewise",p.pieceList=t.map(this._pieceList,function(y){var y=t.clone(y);return g!=="inRange"&&(y.visual=null),y}))})},completeVisualOption:function(){var h=this.option,f={},c=a.listVisualTypes(),d=this.isCategory();t.each(h.pieces,function(g){t.each(c,function(m){g.hasOwnProperty(m)&&(f[m]=1)})}),t.each(f,function(g,m){var y=0;t.each(this.stateList,function(_){y|=p(h,_,m)||p(h.target,_,m)},this),!y&&t.each(this.stateList,function(_){(h[_]||(h[_]={}))[m]=i.get(m,_==="inRange"?"active":"inactive",d)})},this);function p(g,m,y){return g&&g[m]&&(t.isObject(g[m])?g[m].hasOwnProperty(y):g[m]===y)}e.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(h,f){var c=this.option,d=this._pieceList,p=(f?c:h).selected||{};if(c.selected=p,t.each(d,function(m,y){var _=this.getSelectedMapKey(m);p.hasOwnProperty(_)||(p[_]=!0)},this),c.selectedMode==="single"){var g=!1;t.each(d,function(m,y){var _=this.getSelectedMapKey(m);p[_]&&(g?p[_]=!1:g=!0)},this)}},getSelectedMapKey:function(h){return this._mode==="categories"?h.value+"":h.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var h=this.option;return h.pieces&&h.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(h){this.option.selected=t.clone(h)},getValueState:function(h){var f=a.findPieceIndex(h,this._pieceList);return f!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[f])]?"inRange":"outOfRange"},findTargetDataIndices:function(h){var f=[];return this.eachTargetSeries(function(c){var d=[],p=c.getData();p.each(this.getDataDimension(p),function(g,m){var y=a.findPieceIndex(g,this._pieceList);y===h&&d.push(m)},this),f.push({seriesId:c.id,dataIndex:d})},this),f},getRepresentValue:function(h){var f;if(this.isCategory())f=h.value;else if(h.value!=null)f=h.value;else{var c=h.interval||[];f=c[0]===-1/0&&c[1]===1/0?0:(c[0]+c[1])/2}return f},getVisualMeta:function(h){if(this.isCategory())return;var f=[],c=[],d=this;function p(_,x){var S=d.getRepresentValue({interval:_});x||(x=d.getValueState(S));var b=h(S,x);_[0]===-1/0?c[0]=b:_[1]===1/0?c[1]=b:f.push({value:_[0],color:b},{value:_[1],color:b})}var g=this._pieceList.slice();if(!g.length)g.push({interval:[-1/0,1/0]});else{var m=g[0].interval[0];m!==-1/0&&g.unshift({interval:[-1/0,m]}),m=g[g.length-1].interval[1],m!==1/0&&g.push({interval:[m,1/0]})}var y=-1/0;return t.each(g,function(_){var x=_.interval;x&&(x[0]>y&&p([y,x[0]],"outOfRange"),p(x.slice()),y=x[1])},this),{stops:f,outerColors:c}}}),l={splitNumber:function(){var h=this.option,f=this._pieceList,c=Math.min(h.precision,20),d=this.getExtent(),p=h.splitNumber;p=Math.max(parseInt(p,10),1),h.splitNumber=p;for(var g=(d[1]-d[0])/p;+g.toFixed(c)!==g&&c<5;)c++;h.precision=c,g=+g.toFixed(c),h.minOpen&&f.push({interval:[-1/0,d[0]],close:[0,0]});for(var m=0,y=d[0];m","≥"][d[0]]];c.text=c.text||this.formatValueText(c.value!=null?c.value:c.interval,!1,p)},this)}};function u(h,f){var c=h.inverse;(h.orient==="vertical"?!c:c)&&f.reverse()}var v=s;return yw=v,yw}var _w,JH;function N_e(){if(JH)return _w;JH=1;var r=ie(),t=$$(),e=qe(),a=ti(),i=a.createSymbol,n=Ut(),o=Y$(),s=t.extend({type:"visualMap.piecewise",doRender:function(){var u=this.group;u.removeAll();var v=this.visualMapModel,h=v.get("textGap"),f=v.textStyleModel,c=f.getFont(),d=f.getTextColor(),p=this._getItemAlign(),g=v.itemSize,m=this._getViewData(),y=m.endsText,_=r.retrieve(v.get("showLabel",!0),!y);y&&this._renderEndsText(u,y[0],g,_,p),r.each(m.viewPieceList,x,this),y&&this._renderEndsText(u,y[1],g,_,p),n.box(v.get("orient"),u,v.get("itemGap")),this.renderBackground(u),this.positionGroup(u);function x(S){var b=S.piece,w=new e.Group;w.onclick=r.bind(this._onItemClick,this,b),this._enableHoverLink(w,S.indexInModelPieceList);var A=v.getRepresentValue(b);if(this._createItemSymbol(w,A,[0,0,g[0],g[1]]),_){var T=this.visualMapModel.getValueState(A);w.add(new e.Text({style:{x:p==="right"?-h:g[0]+h,y:g[1]/2,text:b.text,textVerticalAlign:"middle",textAlign:p,textFont:c,textFill:d,opacity:T==="outOfRange"?.5:1}}))}u.add(w)}},_enableHoverLink:function(u,v){u.on("mouseover",r.bind(h,this,"highlight")).on("mouseout",r.bind(h,this,"downplay"));function h(f){var c=this.visualMapModel;c.option.hoverLink&&this.api.dispatchAction({type:f,batch:o.makeHighDownBatch(c.findTargetDataIndices(v),c)})}},_getItemAlign:function(){var u=this.visualMapModel,v=u.option;if(v.orient==="vertical")return o.getItemAlign(u,this.api,u.itemSize);var h=v.align;return(!h||h==="auto")&&(h="left"),h},_renderEndsText:function(u,v,h,f,c){if(v){var d=new e.Group,p=this.visualMapModel.textStyleModel;d.add(new e.Text({style:{x:f?c==="right"?h[0]:0:h[0]/2,y:h[1]/2,textVerticalAlign:"middle",textAlign:f?c:"center",text:v,textFont:p.getFont(),textFill:p.getTextColor()}})),u.add(d)}},_getViewData:function(){var u=this.visualMapModel,v=r.map(u.getPieceList(),function(d,p){return{piece:d,indexInModelPieceList:p}}),h=u.get("text"),f=u.get("orient"),c=u.get("inverse");return(f==="horizontal"?c:!c)?v.reverse():h&&(h=h.slice().reverse()),{viewPieceList:v,endsText:h}},_createItemSymbol:function(u,v,h){u.add(i(this.getControllerVisual(v,"symbol"),h[0],h[1],h[2],h[3],this.getControllerVisual(v,"color")))},_onItemClick:function(u){var v=this.visualMapModel,h=v.option,f=r.clone(h.selected),c=v.getSelectedMapKey(u);h.selectedMode==="single"?(f[c]=!0,r.each(f,function(d,p){f[p]=p===c})):f[c]=!f[c],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:f})}}),l=s;return _w=l,_w}var e4;function K$(){if(e4)return QH;e4=1;var r=Pe(),t=F$();return H$(),q$(),O_e(),N_e(),Z$(),r.registerPreprocessor(t),QH}var t4;function z_e(){return t4||(t4=1,X$(),K$()),OH}var r4={},a4={},Av={},i4;function Q$(){if(i4)return Av;i4=1;var r=pr(),t="urn:schemas-microsoft-com:vml",e=typeof window>"u"?null:window,a=!1,i=e&&e.document;function n(l){return o(l)}var o;if(i&&!r.canvasSupported)try{!i.namespaces.zrvml&&i.namespaces.add("zrvml",t),o=function(l){return i.createElement("')}}catch(l){o=function(u){return i.createElement("<"+u+' xmlns="'+t+'" class="zrvml">')}}function s(){if(!(a||!i)){a=!0;var l=i.styleSheets;l.length<31?i.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):l[0].addRule(".zrvml","behavior:url(#default#VML)")}}return Av.doc=i,Av.createNode=n,Av.initVML=s,Av}var n4;function B_e(){if(n4)return a4;n4=1;var r=pr(),t=Jt(),e=t.applyTransform,a=rr(),i=en(),n=Da(),o=ug(),s=I9(),l=lf(),u=wu(),v=$s(),h=ur(),f=Au(),c=hg(),d=Q$(),p=f.CMD,g=Math.round,m=Math.sqrt,y=Math.abs,_=Math.cos,x=Math.sin,S=Math.max;if(!r.canvasSupported){var b=",",w="progid:DXImageTransform.Microsoft",A=21600,T=A/2,C=1e5,M=1e3,L=function(se){se.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",se.coordsize=A+","+A,se.coordorigin="0,0"},D=function(se){return String(se).replace(/&/g,"&").replace(/"/g,""")},P=function(se,ve,ye){return"rgb("+[se,ve,ye].join(",")+")"},I=function(se,ve){ve&&se&&ve.parentNode!==se&&se.appendChild(ve)},R=function(se,ve){ve&&se&&ve.parentNode===se&&se.removeChild(ve)},E=function(se,ve,ye){return(parseFloat(se)||0)*C+(parseFloat(ve)||0)*M+ye},k=o.parsePercent,B=function(se,ve,ye){var Me=i.parse(ve);ye=+ye,isNaN(ye)&&(ye=1),Me&&(se.color=P(Me[0],Me[1],Me[2]),se.opacity=ye*Me[3])},F=function(se){var ve=i.parse(se);return[P(ve[0],ve[1],ve[2]),ve[3]]},V=function(se,ve,ye){var Me=ve.fill;if(Me!=null)if(Me instanceof c){var J,ne=0,ue=[0,0],me=0,xe=1,ge=ye.getBoundingRect(),pe=ge.width,Ce=ge.height;if(Me.type==="linear"){J="gradient";var ze=ye.transform,Ve=[Me.x*pe,Me.y*Ce],ke=[Me.x2*pe,Me.y2*Ce];ze&&(e(Ve,Ve,ze),e(ke,ke,ze));var lt=ke[0]-Ve[0],dt=ke[1]-Ve[1];ne=Math.atan2(lt,dt)*180/Math.PI,ne<0&&(ne+=360),ne<1e-6&&(ne=0)}else{J="gradientradial";var Ve=[Me.x*pe,Me.y*Ce],ze=ye.transform,Dt=ye.scale,Tt=pe,Bt=Ce;ue=[(Ve[0]-ge.x)/Tt,(Ve[1]-ge.y)/Bt],ze&&e(Ve,Ve,ze),Tt/=Dt[0]*A,Bt/=Dt[1]*A;var Vt=S(Tt,Bt);me=0/Vt,xe=2*Me.r/Vt-me}var Ke=Me.colorStops.slice();Ke.sort(function(jt,mr){return jt.offset-mr.offset});for(var Et=Ke.length,Lt=[],Zt=[],Xt=0;Xt=2){var fa=Lt[0][0],Rr=Lt[1][0],ta=Lt[0][1]*ve.opacity,vr=Lt[1][1]*ve.opacity;se.type=J,se.method="none",se.focus="100%",se.angle=ne,se.color=fa,se.color2=Rr,se.colors=Zt.join(","),se.opacity=vr,se.opacity2=ta}J==="radial"&&(se.focusposition=ue.join(","))}else B(se,Me,ve.opacity)},N=function(se,ve){ve.lineDash&&(se.dashstyle=ve.lineDash.join(" ")),ve.stroke!=null&&!(ve.stroke instanceof c)&&B(se,ve.stroke,ve.opacity)},O=function(se,ve,ye,Me){var J=ve==="fill",ne=se.getElementsByTagName(ve)[0];ye[ve]!=null&&ye[ve]!=="none"&&(J||!J&&ye.lineWidth)?(se[J?"filled":"stroked"]="true",ye[ve]instanceof c&&R(se,ne),ne||(ne=d.createNode(ve)),J?V(ne,ye,Me):N(ne,ye),I(se,ne)):(se[J?"filled":"stroked"]="false",R(se,ne))},z=[[],[],[]],G=function(se,ve){var ye=p.M,Me=p.C,J=p.L,ne=p.A,ue=p.Q,me=[],xe,ge,pe,Ce,ze,Ve,ke=se.data,lt=se.len();for(Ce=0;Ce.01?vr&&(jt+=270/A):Math.abs(mr-Kt)<1e-4?vr&&jtXt?ce-=270/A:ce+=270/A:vr&&mrKt?re+=270/A:re-=270/A),me.push(be,g(((Xt-Pr)*Et+Vt)*A-T),b,g(((Kt-fa)*Lt+Ke)*A-T),b,g(((Xt+Pr)*Et+Vt)*A-T),b,g(((Kt+fa)*Lt+Ke)*A-T),b,g((jt*Et+Vt)*A-T),b,g((mr*Lt+Ke)*A-T),b,g((re*Et+Vt)*A-T),b,g((ce*Lt+Ke)*A-T)),ze=re,Ve=ce;break;case p.R:var Ae=z[0],De=z[1];Ae[0]=ke[Ce++],Ae[1]=ke[Ce++],De[0]=Ae[0]+ke[Ce++],De[1]=Ae[1]+ke[Ce++],ve&&(e(Ae,Ae,ve),e(De,De,ve)),Ae[0]=g(Ae[0]*A-T),De[0]=g(De[0]*A-T),Ae[1]=g(Ae[1]*A-T),De[1]=g(De[1]*A-T),me.push(" m ",Ae[0],b,Ae[1]," l ",De[0],b,Ae[1]," l ",De[0],b,De[1]," l ",Ae[0],b,De[1]);break;case p.Z:me.push(" x ")}if(xe>0){me.push(ge);for(var je=0;jeY&&(W=0,U={});var ye=X.style,Me;try{ye.font=se,Me=ye.fontFamily.split(",")[0]}catch(J){}ve={style:ye.fontStyle||H,variant:ye.fontVariant||H,weight:ye.fontWeight||H,size:parseFloat(ye.fontSize||12)|0,family:Me||"Microsoft YaHei"},U[se]=ve,W++}return ve},Q;n.$override("measureText",function(se,ve){var ye=d.doc;Q||(Q=ye.createElement("div"),Q.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",d.doc.body.appendChild(Q));try{Q.style.font=ve}catch(Me){}return Q.innerHTML="",Q.appendChild(ye.createTextNode(se)),{width:Q.offsetWidth}});for(var j=new a,te=function(se,ve,ye,Me){var J=this.style;this.__dirty&&o.normalizeTextStyle(J,!0);var ne=J.text;if(ne!=null&&(ne+=""),!!ne){if(J.rich){var ue=n.parseRichText(ne,J);ne=[];for(var me=0;me-m}function x(O,z){var G=z?O.textFill:O.fill;return G!=null&&G!==v}function S(O,z){var G=z?O.textStroke:O.stroke;return G!=null&&G!==v}function b(O,z){z&&w(O,"transform","matrix("+u.call(z,",")+")")}function w(O,z,G){(!G||G.type!=="linear"&&G.type!=="radial")&&O.setAttribute(z,G)}function A(O,z,G){O.setAttributeNS("http://www.w3.org/1999/xlink",z,G)}function T(O,z,G,q){if(x(z,G)){var H=G?z.textFill:z.fill;H=H==="transparent"?v:H,w(O,"fill",H),w(O,"fill-opacity",z.fillOpacity!=null?z.fillOpacity*z.opacity:z.opacity)}else w(O,"fill",v);if(S(z,G)){var U=G?z.textStroke:z.stroke;U=U==="transparent"?v:U,w(O,"stroke",U);var W=G?z.textStrokeWidth:z.lineWidth,Y=!G&&z.strokeNoScale?q.getLineScale():1;w(O,"stroke-width",W/Y),w(O,"paint-order",G?"stroke":"fill"),w(O,"stroke-opacity",z.strokeOpacity!=null?z.strokeOpacity:z.opacity);var X=z.lineDash;X?(w(O,"stroke-dasharray",z.lineDash.join(",")),w(O,"stroke-dashoffset",h(z.lineDashOffset||0))):w(O,"stroke-dasharray",""),z.lineCap&&w(O,"stroke-linecap",z.lineCap),z.lineJoin&&w(O,"stroke-linejoin",z.lineJoin),z.miterLimit&&w(O,"stroke-miterlimit",z.miterLimit)}else w(O,"stroke",v)}function C(O){for(var z=[],G=O.data,q=O.len(),H=0;H=p:-Z>=p),se=Z>0?Z%p:Z%p+p,ve=!1;fe?ve=!0:_(oe)?ve=!1:ve=se>=d==!!le;var ye=y(X+Q*c(te)),Me=y(K+j*f(te));fe&&(le?Z=p-1e-4:Z=-p+1e-4,ve=!0,H===9&&z.push("M",ye,Me));var J=y(X+Q*c(te+Z)),ne=y(K+j*f(te+Z));z.push("A",y(Q),y(j),h(ee*g),+ve,+le,J,ne);break;case l.Z:W="Z";break;case l.R:var J=y(G[H++]),ne=y(G[H++]),ue=y(G[H++]),me=y(G[H++]);z.push("M",J,ne,"L",J+ue,ne,"L",J+ue,ne+me,"L",J,ne+me,"L",J,ne);break}W&&z.push(W);for(var xe=0;xege){for(;me=u&&d+1>=v){for(var p=[],g=0;g=u&&w+1>=v)return t(l,x.components);c[_]=x}h++}for(;h<=f;){var y=m();if(y)return y}},pushComponent:function(n,o,s){var l=n[n.length-1];l&&l.added===o&&l.removed===s?n[n.length-1]={count:l.count+1,added:o,removed:s}:n.push({count:1,added:o,removed:s})},extractCommon:function(n,o,s,l){for(var u=o.length,v=s.length,h=n.newPos,f=h-l,c=0;h+1=0;--_)if(y[_]===m)return!0;return!1}),g):null:g[0]},f.prototype.update=function(d,p){if(d){var g=this.getDefs(!1);if(d[this._domName]&&g.contains(d[this._domName]))typeof p=="function"&&p(d);else{var m=this.add(d);m&&(d[this._domName]=m)}}},f.prototype.addDom=function(d){var p=this.getDefs(!0);p.appendChild(d)},f.prototype.removeDom=function(d){var p=this.getDefs(!1);p&&d[this._domName]&&(p.removeChild(d[this._domName]),d[this._domName]=null)},f.prototype.getDoms=function(){var d=this.getDefs(!1);if(!d)return[];var p=[];return e.each(this._tagNames,function(g){var m=d.getElementsByTagName(g);p=p.concat([].slice.call(m))}),p},f.prototype.markAllUnused=function(){var d=this.getDoms(),p=this;e.each(d,function(g){g[p._markLabel]=v})},f.prototype.markUsed=function(d){d&&(d[this._markLabel]=h)},f.prototype.removeUnused=function(){var d=this.getDefs(!1);if(d){var p=this.getDoms(),g=this;e.each(p,function(m){m[g._markLabel]!==h&&d.removeChild(m)})}},f.prototype.getSvgProxy=function(d){return d instanceof a?s:d instanceof i?l:d instanceof n?u:s},f.prototype.getTextSvgElement=function(d){return d.__textSvgEl},f.prototype.getSvgElement=function(d){return d.__svgEl};var c=f;return ww=c,ww}var Tw,c4;function H_e(){if(c4)return Tw;c4=1;var r=LD(),t=ie(),e=sf(),a=en();function i(o,s){r.call(this,o,s,["linearGradient","radialGradient"],"__gradient_in_use__")}t.inherits(i,r),i.prototype.addWithoutUpdate=function(o,s){if(s&&s.style){var l=this;t.each(["fill","stroke"],function(u){if(s.style[u]&&(s.style[u].type==="linear"||s.style[u].type==="radial")){var v=s.style[u],h=l.getDefs(!0),f;v._dom?(f=v._dom,h.contains(v._dom)||l.addDom(f)):f=l.add(v),l.markUsed(s);var c=f.getAttribute("id");o.setAttribute(u,"url(#"+c+")")}})}},i.prototype.add=function(o){var s;if(o.type==="linear")s=this.createElement("linearGradient");else if(o.type==="radial")s=this.createElement("radialGradient");else return e("Illegal gradient type."),null;return o.id=o.id||this.nextId++,s.setAttribute("id","zr"+this._zrId+"-gradient-"+o.id),this.updateDom(o,s),this.addDom(s),s},i.prototype.update=function(o){var s=this;r.prototype.update.call(this,o,function(){var l=o.type,u=o._dom.tagName;l==="linear"&&u==="linearGradient"||l==="radial"&&u==="radialGradient"?s.updateDom(o,o._dom):(s.removeDom(o),s.add(o))})},i.prototype.updateDom=function(o,s){if(o.type==="linear")s.setAttribute("x1",o.x),s.setAttribute("y1",o.y),s.setAttribute("x2",o.x2),s.setAttribute("y2",o.y2);else if(o.type==="radial")s.setAttribute("cx",o.x),s.setAttribute("cy",o.y),s.setAttribute("r",o.r);else{e("Illegal gradient type.");return}o.global?s.setAttribute("gradientUnits","userSpaceOnUse"):s.setAttribute("gradientUnits","objectBoundingBox"),s.innerHTML="";for(var l=o.colorStops,u=0,v=l.length;u-1){var c=a.parse(f)[3],d=a.toHex(f);h.setAttribute("stop-color","#"+d),h.setAttribute("stop-opacity",c)}else h.setAttribute("stop-color",l[u].color);s.appendChild(h)}o._dom=s},i.prototype.markUsed=function(o){if(o.style){var s=o.style.fill;s&&s._dom&&r.prototype.markUsed.call(this,s._dom),s=o.style.stroke,s&&s._dom&&r.prototype.markUsed.call(this,s._dom)}};var n=i;return Tw=n,Tw}var Aw,d4;function q_e(){if(d4)return Aw;d4=1;var r=LD(),t=ie(),e=ha();function a(n,o){r.call(this,n,o,"clipPath","__clippath_in_use__")}t.inherits(a,r),a.prototype.update=function(n){var o=this.getSvgElement(n);o&&this.updateDom(o,n.__clipPaths,!1);var s=this.getTextSvgElement(n);s&&this.updateDom(s,n.__clipPaths,!0),this.markUsed(n)},a.prototype.updateDom=function(n,o,s){if(o&&o.length>0){var l=this.getDefs(!0),u=o[0],v,h,f=s?"_textDom":"_dom";u[f]?(h=u[f].getAttribute("id"),v=u[f],l.contains(v)||l.appendChild(v)):(h="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,v=this.createElement("clipPath"),v.setAttribute("id",h),l.appendChild(v),u[f]=v);var c=this.getSvgProxy(u);if(u.transform&&u.parent.invTransform&&!s){var d=Array.prototype.slice.call(u.transform);e.mul(u.transform,u.parent.invTransform,u.transform),c.brush(u),u.transform=d}else c.brush(u);var p=this.getSvgElement(u);v.innerHTML="",v.appendChild(p.cloneNode()),n.setAttribute("clip-path","url(#"+h+")"),o.length>1&&this.updateDom(v,o.slice(1),s)}else n&&n.setAttribute("clip-path","none")},a.prototype.markUsed=function(n){var o=this;n.__clipPaths&&t.each(n.__clipPaths,function(s){s._dom&&r.prototype.markUsed.call(o,s._dom),s._textDom&&r.prototype.markUsed.call(o,s._textDom)})};var i=a;return Aw=i,Aw}var Cw,p4;function W_e(){if(p4)return Cw;p4=1;var r=LD(),t=ie();function e(n,o){r.call(this,n,o,["filter"],"__filter_in_use__","_shadowDom")}t.inherits(e,r),e.prototype.addWithoutUpdate=function(n,o){if(o&&a(o.style)){var s;if(o._shadowDom){s=o._shadowDom;var l=this.getDefs(!0);l.contains(o._shadowDom)||this.addDom(s)}else s=this.add(o);this.markUsed(o);var u=s.getAttribute("id");n.style.filter="url(#"+u+")"}},e.prototype.add=function(n){var o=this.createElement("filter");return n._shadowDomId=n._shadowDomId||this.nextId++,o.setAttribute("id","zr"+this._zrId+"-shadow-"+n._shadowDomId),this.updateDom(n,o),this.addDom(o),o},e.prototype.update=function(n,o){var s=o.style;if(a(s)){var l=this;r.prototype.update.call(this,o,function(){l.updateDom(o,o._shadowDom)})}else this.remove(n,o)},e.prototype.remove=function(n,o){o._shadowDomId!=null&&(this.removeDom(n),n.style.filter="")},e.prototype.updateDom=function(n,o){var s=o.getElementsByTagName("feDropShadow");s.length===0?s=this.createElement("feDropShadow"):s=s[0];var l=n.style,u=n.scale&&n.scale[0]||1,v=n.scale&&n.scale[1]||1,h,f,c,d;if(l.shadowBlur||l.shadowOffsetX||l.shadowOffsetY)h=l.shadowOffsetX||0,f=l.shadowOffsetY||0,c=l.shadowBlur,d=l.shadowColor;else if(l.textShadowBlur)h=l.textShadowOffsetX||0,f=l.textShadowOffsetY||0,c=l.textShadowBlur,d=l.textShadowColor;else{this.removeDom(o,l);return}s.setAttribute("dx",h/u),s.setAttribute("dy",f/v),s.setAttribute("flood-color",d);var p=c/2/u,g=c/2/v,m=p+" "+g;s.setAttribute("stdDeviation",m),o.setAttribute("x","-100%"),o.setAttribute("y","-100%"),o.setAttribute("width",Math.ceil(c/2*200)+"%"),o.setAttribute("height",Math.ceil(c/2*200)+"%"),o.appendChild(s),n._shadowDom=o},e.prototype.markUsed=function(n){n._shadowDom&&r.prototype.markUsed.call(this,n._shadowDom)};function a(n){return n&&(n.shadowBlur||n.shadowOffsetX||n.shadowOffsetY||n.textShadowBlur||n.textShadowOffsetX||n.textShadowOffsetY)}var i=e;return Cw=i,Cw}var Mw,g4;function U_e(){if(g4)return Mw;g4=1;var r=MD(),t=r.createElement,e=ie(),a=sf(),i=ur(),n=wu(),o=$s(),s=F_e(),l=H_e(),u=q_e(),v=W_e(),h=DD(),f=h.path,c=h.image,d=h.text;function p(C){return parseInt(C,10)}function g(C){return C instanceof i?f:C instanceof n?c:C instanceof o?d:f}function m(C,M){return M&&C&&M.parentNode!==C}function y(C,M,L){if(m(C,M)&&L){var D=L.nextSibling;D?C.insertBefore(M,D):C.appendChild(M)}}function _(C,M){if(m(C,M)){var L=C.firstChild;L?C.insertBefore(M,L):C.appendChild(M)}}function x(C,M){M&&C&&M.parentNode===C&&C.removeChild(M)}function S(C){return C.__textSvgEl}function b(C){return C.__svgEl}var w=function(C,M,L,D){this.root=C,this.storage=M,this._opts=L=e.extend({},L||{});var P=t("svg");P.setAttribute("xmlns","http://www.w3.org/2000/svg"),P.setAttribute("version","1.1"),P.setAttribute("baseProfile","full"),P.style.cssText="user-select:none;position:absolute;left:0;top:0;";var I=t("g");P.appendChild(I);var R=t("g");P.appendChild(R),this.gradientManager=new l(D,R),this.clipPathManager=new u(D,R),this.shadowManager=new v(D,R);var E=document.createElement("div");E.style.cssText="overflow:hidden;position:relative",this._svgDom=P,this._svgRoot=R,this._backgroundRoot=I,this._viewport=E,C.appendChild(E),E.appendChild(P),this.resize(L.width,L.height),this._visibleList=[]};w.prototype={constructor:w,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var C=this.getViewportRoot();if(C)return{offsetLeft:C.offsetLeft||0,offsetTop:C.offsetTop||0}},refresh:function(){var C=this.storage.getDisplayList(!0);this._paintList(C)},setBackgroundColor:function(C){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var M=t("rect");M.setAttribute("width",this.getWidth()),M.setAttribute("height",this.getHeight()),M.setAttribute("x",0),M.setAttribute("y",0),M.setAttribute("id",0),M.style.fill=C,this._backgroundRoot.appendChild(M),this._backgroundNode=M},_paintList:function(C){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var M=this._svgRoot,L=this._visibleList,D=C.length,P=[],I;for(I=0;I=0;--R)if(I[R]===P)return!0;return!1}),L}else return null;else return L[0]},resize:function(C,M){var L=this._viewport;L.style.display="none";var D=this._opts;if(C!=null&&(D.width=C),M!=null&&(D.height=M),C=this._getSize(0),M=this._getSize(1),L.style.display="",this._width!==C||this._height!==M){this._width=C,this._height=M;var P=L.style;P.width=C+"px",P.height=M+"px";var I=this._svgDom;I.setAttribute("width",C),I.setAttribute("height",M)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",C),this._backgroundNode.setAttribute("height",M))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(C){var M=this._opts,L=["width","height"][C],D=["clientWidth","clientHeight"][C],P=["paddingLeft","paddingTop"][C],I=["paddingRight","paddingBottom"][C];if(M[L]!=null&&M[L]!=="auto")return parseFloat(M[L]);var R=this.root,E=document.defaultView.getComputedStyle(R);return(R[D]||p(E[L])||p(R.style[L]))-(p(E[P])||0)-(p(E[I])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var C=encodeURIComponent(this._svgDom.outerHTML.replace(/>\n\r<"));return"data:image/svg+xml;charset=UTF-8,"+C}};function A(C){return function(){a('In SVG mode painter not support method "'+C+'"')}}e.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(C){w.prototype[C]=A(C)});var T=w;return Mw=T,Mw}var m4;function $_e(){if(m4)return l4;m4=1,DD();var r=vg(),t=r.registerPainter,e=U_e();return t("svg",e),l4}var y4;function b1e(){return y4||(y4=1,(function(r){var t=Pe();(function(){for(var a in t){if(t==null||!t.hasOwnProperty(a)||a==="default"||a==="__esModule")return;r[a]=t[a]}})();var e=t$();(function(){for(var a in e){if(e==null||!e.hasOwnProperty(a)||a==="default"||a==="__esModule")return;r[a]=e[a]}})(),U9(),Age(),Ige(),Oge(),Vge(),Xge(),ume(),pme(),wme(),Bme(),Hme(),$me(),iye(),vye(),pye(),Sye(),Aye(),Pye(),Oye(),Bye(),jye(),i0e(),v0e(),h0e(),w0e(),C0e(),P$(),b$(),I0e(),P0e(),q0e(),Z0e(),Sf(),t_e(),r_e(),h_e(),d_e(),m_e(),x_e(),C_e(),B$(),R_e(),G$(),V$(),z_e(),X$(),K$(),G_e(),$_e()})(Ky)),Ky}ot([x9]);ot([ype]);ot([pre,Ire,Gre,_ae,Iae,gie,Wie,Mne,Xne,toe,voe,ise,Lse,Gse,rle,ole,gle,wle,kle,Gle,Kle,Eue]);ot(jue);ot(Tve);ot(t8);ot(zve);ot(G8);ot(Fve);ot(Kve);ot(zhe);ot(rfe);ot(of);ot(_fe);ot(bfe);ot(Rfe);ot(Vfe);ot(Ufe);ot(Qfe);ot(sce);ot(Ace);ot(q7);ot(W7);ot(Uce);ot(X7);ot(K7);ot(Kce);ot(ude);ot(j7);ot(Bde);ot(S6);ot([x9,j7]);ot(S6);var j$=(function(){function r(t){this.value=t}return r})(),Y_e=(function(){function r(){this._len=0}return r.prototype.insert=function(t){var e=new j$(t);return this.insertEntry(e),e},r.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},r.prototype.remove=function(t){var e=t.prev,a=t.next;e?e.next=a:this.head=a,a?a.prev=e:this.tail=e,t.next=t.prev=null,this._len--},r.prototype.len=function(){return this._len},r.prototype.clear=function(){this.head=this.tail=null,this._len=0},r})(),Z_e=(function(){function r(t){this._list=new Y_e,this._maxSize=10,this._map={},this._maxSize=t}return r.prototype.put=function(t,e){var a=this._list,i=this._map,n=null;if(i[t]==null){var o=a.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=a.head;a.remove(l),delete i[l.key],n=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new j$(e),s.key=t,a.insertEntry(s),i[t]=s}return n},r.prototype.get=function(t){var e=this._map[t],a=this._list;if(e!=null)return e!==a.tail&&(a.remove(e),a.insertEntry(e)),e.value},r.prototype.clear=function(){this._list.clear(),this._map={}},r.prototype.len=function(){return this._list.len()},r})(),ih={linear:function(r){return r},quadraticIn:function(r){return r*r},quadraticOut:function(r){return r*(2-r)},quadraticInOut:function(r){return(r*=2)<1?.5*r*r:-.5*(--r*(r-2)-1)},cubicIn:function(r){return r*r*r},cubicOut:function(r){return--r*r*r+1},cubicInOut:function(r){return(r*=2)<1?.5*r*r*r:.5*((r-=2)*r*r+2)},quarticIn:function(r){return r*r*r*r},quarticOut:function(r){return 1- --r*r*r*r},quarticInOut:function(r){return(r*=2)<1?.5*r*r*r*r:-.5*((r-=2)*r*r*r-2)},quinticIn:function(r){return r*r*r*r*r},quinticOut:function(r){return--r*r*r*r*r+1},quinticInOut:function(r){return(r*=2)<1?.5*r*r*r*r*r:.5*((r-=2)*r*r*r*r+2)},sinusoidalIn:function(r){return 1-Math.cos(r*Math.PI/2)},sinusoidalOut:function(r){return Math.sin(r*Math.PI/2)},sinusoidalInOut:function(r){return .5*(1-Math.cos(Math.PI*r))},exponentialIn:function(r){return r===0?0:Math.pow(1024,r-1)},exponentialOut:function(r){return r===1?1:1-Math.pow(2,-10*r)},exponentialInOut:function(r){return r===0?0:r===1?1:(r*=2)<1?.5*Math.pow(1024,r-1):.5*(-Math.pow(2,-10*(r-1))+2)},circularIn:function(r){return 1-Math.sqrt(1-r*r)},circularOut:function(r){return Math.sqrt(1- --r*r)},circularInOut:function(r){return(r*=2)<1?-.5*(Math.sqrt(1-r*r)-1):.5*(Math.sqrt(1-(r-=2)*r)+1)},elasticIn:function(r){var t,e=.1,a=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=a/4):t=a*Math.asin(1/e)/(2*Math.PI),-(e*Math.pow(2,10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/a)))},elasticOut:function(r){var t,e=.1,a=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=a/4):t=a*Math.asin(1/e)/(2*Math.PI),e*Math.pow(2,-10*r)*Math.sin((r-t)*(2*Math.PI)/a)+1)},elasticInOut:function(r){var t,e=.1,a=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=a/4):t=a*Math.asin(1/e)/(2*Math.PI),(r*=2)<1?-.5*(e*Math.pow(2,10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/a)):e*Math.pow(2,-10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/a)*.5+1)},backIn:function(r){var t=1.70158;return r*r*((t+1)*r-t)},backOut:function(r){var t=1.70158;return--r*r*((t+1)*r+t)+1},backInOut:function(r){var t=2.5949095;return(r*=2)<1?.5*(r*r*((t+1)*r-t)):.5*((r-=2)*r*((t+1)*r+t)+2)},bounceIn:function(r){return 1-ih.bounceOut(1-r)},bounceOut:function(r){return r<1/2.75?7.5625*r*r:r<2/2.75?7.5625*(r-=1.5/2.75)*r+.75:r<2.5/2.75?7.5625*(r-=2.25/2.75)*r+.9375:7.5625*(r-=2.625/2.75)*r+.984375},bounceInOut:function(r){return r<.5?ih.bounceIn(r*2)*.5:ih.bounceOut(r*2-1)*.5+.5}};tY(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(r,t){return r["[object "+t+"]"]=!0,r},{});tY(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(r,t){return r["[object "+t+"Array]"]=!0,r},{});var J$=Array.prototype,eY=J$.slice,X_e=J$.map,_4=(function(){}).constructor,Gc=_4?_4.prototype:null,K_e="__proto__";function Q_e(){for(var r=[],t=0;t-S4&&r=0&&d<=1&&(n[c++]=d)}else{var p=h*h-4*v*f;if(Wc(p)){var g=h/v,d=-s/o+g,m=-g/2;d>=0&&d<=1&&(n[c++]=d),m>=0&&m<=1&&(n[c++]=m)}else if(p>0){var y=dd(p),_=v*s+1.5*o*(-h+y),x=v*s+1.5*o*(-h-y);_<0?_=-Hc(-_,qc):_=Hc(_,qc),x<0?x=-Hc(-x,qc):x=Hc(x,qc);var d=(-s-(_+x))/(3*o);d>=0&&d<=1&&(n[c++]=d)}else{var S=(2*v*s-3*o*h)/(2*dd(v*v*v)),b=Math.acos(S)/3,w=dd(v),A=Math.cos(b),d=(-s-2*w*A)/(3*o),m=(-s+w*(A+b4*Math.sin(b)))/(3*o),T=(-s+w*(A-b4*Math.sin(b)))/(3*o);d>=0&&d<=1&&(n[c++]=d),m>=0&&m<=1&&(n[c++]=m),T>=0&&T<=1&&(n[c++]=T)}}return c}var o1e=/cubic-bezier\(([0-9,\.e ]+)\)/;function rY(r){var t=r&&o1e.exec(r);if(t){var e=t[1].split(","),a=+Fc(e[0]),i=+Fc(e[1]),n=+Fc(e[2]),o=+Fc(e[3]);if(isNaN(a+i+n+o))return;var s=[];return function(l){return l<=0?0:l>=1?1:n1e(0,a,n,1,l,s)&&i1e(0,i,o,1,s[0])}}}var s1e=(function(){function r(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||Lw,this.ondestroy=t.ondestroy||Lw,this.onrestart=t.onrestart||Lw,t.easing&&this.setEasing(t.easing)}return r.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=e;return}var a=this._life,i=t-this._startTime-this._pausedTime,n=i/a;n<0&&(n=0),n=Math.min(n,1);var o=this.easingFunc,s=o?o(n):n;if(this.onframe(s),n===1)if(this.loop){var l=i%a;this._startTime=t-l,this._pausedTime=0,this.onrestart()}else return!0;return!1},r.prototype.pause=function(){this._paused=!0},r.prototype.resume=function(){this._paused=!1},r.prototype.setEasing=function(t){this.easing=t,this.easingFunc=Ag(t)?t:ih[t]||rY(t)},r})(),w4={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function nh(r){return r=Math.round(r),r<0?0:r>255?255:r}function T4(r){return r<0?0:r>1?1:r}function Iw(r){var t=r;return t.length&&t.charAt(t.length-1)==="%"?nh(parseFloat(t)/100*255):nh(parseInt(t,10))}function oh(r){var t=r;return t.length&&t.charAt(t.length-1)==="%"?T4(parseFloat(t)/100):T4(parseFloat(t))}function Pw(r,t,e){return e<0?e+=1:e>1&&(e-=1),e*6<1?r+(t-r)*e*6:e*2<1?t:e*3<2?r+(t-r)*(2/3-e)*6:r}function za(r,t,e,a,i){return r[0]=t,r[1]=e,r[2]=a,r[3]=i,r}function AA(r,t){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r}var aY=new Z_e(20),Uc=null;function Ml(r,t){Uc&&AA(Uc,t),Uc=aY.put(r,Uc||t.slice())}function Rw(r,t){if(r){t=t||[];var e=aY.get(r);if(e)return AA(t,e);r=r+"";var a=r.replace(/ /g,"").toLowerCase();if(a in w4)return AA(t,w4[a]),Ml(r,t),t;var i=a.length;if(a.charAt(0)==="#"){if(i===4||i===5){var n=parseInt(a.slice(1,4),16);if(!(n>=0&&n<=4095)){za(t,0,0,0,1);return}return za(t,(n&3840)>>4|(n&3840)>>8,n&240|(n&240)>>4,n&15|(n&15)<<4,i===5?parseInt(a.slice(4),16)/15:1),Ml(r,t),t}else if(i===7||i===9){var n=parseInt(a.slice(1,7),16);if(!(n>=0&&n<=16777215)){za(t,0,0,0,1);return}return za(t,(n&16711680)>>16,(n&65280)>>8,n&255,i===9?parseInt(a.slice(7),16)/255:1),Ml(r,t),t}return}var o=a.indexOf("("),s=a.indexOf(")");if(o!==-1&&s+1===i){var l=a.substr(0,o),u=a.substr(o+1,s-(o+1)).split(","),v=1;switch(l){case"rgba":if(u.length!==4)return u.length===3?za(t,+u[0],+u[1],+u[2],1):za(t,0,0,0,1);v=oh(u.pop());case"rgb":if(u.length>=3)return za(t,Iw(u[0]),Iw(u[1]),Iw(u[2]),u.length===3?v:oh(u[3])),Ml(r,t),t;za(t,0,0,0,1);return;case"hsla":if(u.length!==4){za(t,0,0,0,1);return}return u[3]=oh(u[3]),A4(u,t),Ml(r,t),t;case"hsl":if(u.length!==3){za(t,0,0,0,1);return}return A4(u,t),Ml(r,t),t;default:return}}za(t,0,0,0,1)}}function A4(r,t){var e=(parseFloat(r[0])%360+360)%360/360,a=oh(r[1]),i=oh(r[2]),n=i<=.5?i*(a+1):i+a-i*a,o=i*2-n;return t=t||[],za(t,nh(Pw(o,n,e+1/3)*255),nh(Pw(o,n,e)*255),nh(Pw(o,n,e-1/3)*255),1),r.length===4&&(t[3]=r[3]),t}var l1e=(function(){function r(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return r})(),u1e=(function(){function r(){this.browser=new l1e,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return r})(),Un=new u1e;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Un.wxa=!0,Un.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?Un.worker=!0:typeof navigator>"u"||navigator.userAgent.indexOf("Node.js?v=1774508183068")===0?(Un.node=!0,Un.svgSupported=!0):v1e(navigator.userAgent,Un);function v1e(r,t){var e=t.browser,a=r.match(/Firefox\/([\d.]+)/),i=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/.+?rv:(([\d.]+))/),n=r.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(r);a&&(e.firefox=!0,e.version=a[1]),i&&(e.ie=!0,e.version=i[1]),n&&(e.edge=!0,e.version=n[1],e.newEdge=+n[1].split(".")[0]>18),o&&(e.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!e.ie&&!e.edge,t.pointerEventsSupported="onpointerdown"in window&&(e.edge||e.ie&&+e.version>=11),t.domSupported=typeof document<"u";var s=document.documentElement.style;t.transform3dSupported=(e.ie&&"transition"in s||e.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||e.ie&&+e.version>=9}function h1e(r){return r.type==="linear"}function f1e(r){return r.type==="radial"}(function(){return Un.hasGlobalWindow&&Ag(window.btoa)?function(r){return window.btoa(unescape(encodeURIComponent(r)))}:typeof Buffer<"u"?function(r){return Buffer.from(r).toString("base64")}:function(r){return null}})();var CA=Array.prototype.slice;function hn(r,t,e){return(t-r)*e+r}function Ew(r,t,e,a){for(var i=t.length,n=0;na?t:r,n=Math.min(e,a),o=i[n-1]||{color:[0,0,0,0],offset:0},s=n;so;if(s)a.length=o;else for(var l=n;l=1},r.prototype.getAdditiveTrack=function(){return this._additiveTrack},r.prototype.addKeyframe=function(t,e,a){this._needsSort=!0;var i=this.keyframes,n=i.length,o=!1,s=M4,l=e;if(pp(e)){var u=g1e(e);s=u,(u===1&&!Dw(e[0])||u===2&&!Dw(e[0][0]))&&(o=!0)}else if(Dw(e)&&!r1e(e))s=Yc;else if(e1e(e))if(!isNaN(+e))s=Yc;else{var v=Rw(e);v&&(l=v,s=Gv)}else if(t1e(e)){var h=j_e({},l);h.colorStops=TA(e.colorStops,function(c){return{offset:c.offset,color:Rw(c.color)}}),h1e(e)?s=MA:f1e(e)&&(s=DA),l=h}n===0?this.valType=s:(s!==this.valType||s===M4)&&(o=!0),this.discrete=this.discrete||o;var f={time:t,value:l,rawValue:e,percent:0};return a&&(f.easing=a,f.easingFunc=Ag(a)?a:ih[a]||rY(a)),i.push(f),f},r.prototype.prepare=function(t,e){var a=this.keyframes;this._needsSort&&a.sort(function(p,g){return p.time-g.time});for(var i=this.valType,n=a.length,o=a[n-1],s=this.discrete,l=Zc(i),u=D4(i),v=0;v=0&&!(o[v].percent<=e);v--);v=f(v,s-2)}else{for(v=h;ve);v++);v=f(v-1,s-2)}d=o[v+1],c=o[v]}if(c&&d){this._lastFr=v,this._lastFrP=e;var g=d.percent-c.percent,m=g===0?1:f((e-c.percent)/g,1);d.easingFunc&&(m=d.easingFunc(m));var y=a?this._additiveValue:u?Mv:t[l];if((Zc(n)||u)&&!y&&(y=this._additiveValue=[]),this.discrete)t[l]=m<1?c.rawValue:d.rawValue;else if(Zc(n))n===gd?Ew(y,c[i],d[i],m):c1e(y,c[i],d[i],m);else if(D4(n)){var _=c[i],x=d[i],S=n===MA;t[l]={type:S?"linear":"radial",x:hn(_.x,x.x,m),y:hn(_.y,x.y,m),colorStops:TA(_.colorStops,function(w,A){var T=x.colorStops[A];return{offset:hn(w.offset,T.offset,m),color:pd(Ew([],w.color,T.color,m))}}),global:x.global},S?(t[l].x2=hn(_.x2,x.x2,m),t[l].y2=hn(_.y2,x.y2,m)):t[l].r=hn(_.r,x.r,m)}else if(u)Ew(y,c[i],d[i],m),a||(t[l]=pd(y));else{var b=hn(c[i],d[i],m);a?this._additiveValue=b:t[l]=b}a&&this._addToTarget(t)}}},r.prototype._addToTarget=function(t){var e=this.valType,a=this.propName,i=this._additiveValue;e===Yc?t[a]=t[a]+i:e===Gv?(Rw(t[a],Mv),$c(Mv,Mv,i,1),t[a]=pd(Mv)):e===gd?$c(t[a],t[a],i,1):e===iY&&C4(t[a],t[a],i,1)},r})(),A1e=(function(){function r(t,e,a,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i){Q_e("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=a}return r.prototype.getMaxTime=function(){return this._maxTime},r.prototype.getDelay=function(){return this._delay},r.prototype.getLoop=function(){return this._loop},r.prototype.getTarget=function(){return this._target},r.prototype.changeTarget=function(t){this._target=t},r.prototype.when=function(t,e,a){return this.whenWithKeys(t,e,x4(e),a)},r.prototype.whenWithKeys=function(t,e,a,i){for(var n=this._tracks,o=0;o0&&l.addKeyframe(0,kw(u),i),this._trackKeys.push(s)}l.addKeyframe(t,kw(e[s]),i)}return this._maxTime=Math.max(this._maxTime,t),this},r.prototype.pause=function(){this._clip.pause(),this._paused=!0},r.prototype.resume=function(){this._clip.resume(),this._paused=!1},r.prototype.isPaused=function(){return!!this._paused},r.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},r.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,a=0;a0)){this._started=1;for(var e=this,a=[],i=this._maxTime||0,n=0;n1){var s=o.pop();n.addKeyframe(s.time,t[i]),n.prepare(this._maxTime,n.getAdditiveTrack())}}}},r})(),y1e;y1e=Un.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(r){return setTimeout(r,16)};var _1e={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function C1e(r,t){if(r==="world"){var e=_1e[t.name];if(e){var a=[e[0],e[1]];t.setCenter(a)}}}function M1e(r,t,e,a,i,n,o){if(i===0)return!1;var s=i,l=0,u=r;if(o>t+s&&o>a+s||or+s&&n>e+s||n{n=t.c}],execute:function(){t({C:z,D:O,E:ky,F:Py,G:Dy,I:A,J:k,K:jr,M:_m,P:uc,S:ao,U:R,W:Nd,X:V_,Y:B_,_:C,a:Dz,a0:U,a1:Wy,a2:yx,a4:ei,a6:nb,a7:VI,a8:function(t,e){if("world"===t){var n=Bit[e.name];if(n){var i=[n[0],n[1]];e.setCenter(i)}}},a9:B,aa:go,ac:Id,ad:oe,ae:xd,af:K,ag:Td,ah:Cd,ai:Ey,al:function(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0;if(a>e+s&&a>i+s||at+s&&o>n+s||o=0;s--){var l=i[s].dimension,u=e.dimensions[l],h=e.getDimensionInfo(u);if("x"===(r=h&&h.coordDim)||"y"===r){a=i[s];break}}if(a){var c=n.getAxis(r),d=t.map(a.stops,(function(t){return{coord:c.toGlobalCoord(c.dataToCoord(t.value)),color:t.color}})),p=d.length,f=a.outerColors.slice();p&&d[0].coord>d[p-1].coord&&(d.reverse(),f.reverse());var g=10,v=d[0].coord-g,m=d[p-1].coord+g,y=m-v;if(y<.001)return"transparent";t.each(d,(function(t){t.offset=(t.coord-v)/y})),d.push({offset:p?d[p-1].offset:.5,color:f[1]||"transparent"}),d.unshift({offset:p?d[0].offset:.5,color:f[0]||"transparent"});var x=new o.LinearGradient(0,0,0,0,d,!0);return x[r]=v,x[r+"2"]=m,x}}}function S(e,n,i){var r=e.get("showAllSymbol"),o="auto"===r;if(!r||o){var a=i.getAxesByScale("ordinal")[0];if(a&&(!o||!M(a,n))){var s=n.mapDimension(a.dim),l={};return t.each(a.getViewLabels(),(function(t){l[t.tickValue]=1})),function(t){return!l.hasOwnProperty(n.get(s,t))}}}}function M(t,e){var n=t.getExtent(),r=Math.abs(n[1]-n[0])/t.scale.count();isNaN(r)&&(r=0);for(var o=e.count(),a=Math.max(1,Math.round(o/5)),s=0;sr)return!1;return!0}function I(t,e,n){if("cartesian2d"===t.type){var i=t.getBaseAxis().isHorizontal(),r=g(t,e,n);if(!n.get("clip",!0)){var o=r.shape,a=Math.max(o.width,o.height);i?(o.y-=a,o.height+=2*a):(o.x-=a,o.width+=2*a)}return r}return v(t,e,n)}var T=h.extend({type:"line",init:function(){var t=new o.Group,e=new n;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(e,n,i){var r=e.coordinateSystem,o=this.group,a=e.getData(),s=e.getModel("lineStyle"),l=e.getModel("areaStyle"),u=a.mapArray(a.getItemLayout),h="polar"===r.type,c=this._coordSys,p=this._symbolDraw,f=this._polyline,g=this._polygon,v=this._lineGroup,y=e.get("animation"),M=!l.isEmpty(),T=l.get("origin"),C=_(r,a,d(r,a,T)),A=e.get("showSymbol"),D=A&&!h&&S(e,a,r),L=this._data;L&&L.eachItemGraphicEl((function(t,e){t.__temp&&(o.remove(t),L.setItemGraphicEl(e,null))})),A||p.remove(),o.add(v);var k,P=!h&&e.get("step");r&&r.getArea&&e.get("clip",!0)&&(null!=(k=r.getArea()).width?(k.x-=.1,k.y-=.1,k.width+=.2,k.height+=.2):k.r0&&(k.r0-=.5,k.r1+=.5)),this._clipShapeForSymbol=k,f&&c.type===r.type&&P===this._step?(M&&!g?g=this._newPolygon(u,C,r,y):g&&!M&&(v.remove(g),g=this._polygon=null),v.setClipPath(I(r,!1,e)),A&&p.updateData(a,{isIgnore:D,clipShape:k}),a.eachItemGraphicEl((function(t){t.stopAnimation(!0)})),m(this._stackedOnPoints,C)&&m(this._points,u)||(y?this._updateAnimation(a,C,r,i,P,T):(P&&(u=b(u,r,P),C=b(C,r,P)),f.setShape({points:u}),g&&g.setShape({points:u,stackedOnPoints:C})))):(A&&p.updateData(a,{isIgnore:D,clipShape:k}),P&&(u=b(u,r,P),C=b(C,r,P)),f=this._newPolyline(u,r,y),M&&(g=this._newPolygon(u,C,r,y)),v.setClipPath(I(r,!0,e)));var O=w(a,r)||a.getVisual("color");f.useStyle(t.defaults(s.getLineStyle(),{fill:"none",stroke:O,lineJoin:"bevel"}));var R=e.get("smooth");if(R=x(e.get("smooth")),f.setShape({smooth:R,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")}),g){var N=a.getCalculationInfo("stackedOnSeries"),E=0;g.useStyle(t.defaults(l.getAreaStyle(),{fill:O,opacity:.7,lineJoin:"bevel"})),N&&(E=x(N.get("smooth"))),g.setShape({smooth:R,stackedOnSmooth:E,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")})}this._data=a,this._coordSys=r,this._stackedOnPoints=C,this._points=u,this._step=P,this._valueOrigin=T},dispose:function(){},highlight:function(t,e,n,r){var o=t.getData(),s=a.queryDataIndex(o,r);if(!(s instanceof Array)&&null!=s&&s>=0){var l=o.getItemGraphicEl(s);if(!l){var u=o.getItemLayout(s);if(!u)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(u[0],u[1]))return;(l=new i(o,s)).position=u,l.setZ(t.get("zlevel"),t.get("z")),l.ignore=isNaN(u[0])||isNaN(u[1]),l.__temp=!0,o.setItemGraphicEl(s,l),l.stopSymbolAnimation(!0),this.group.add(l)}l.highlight()}else h.prototype.highlight.call(this,t,e,n,r)},downplay:function(t,e,n,i){var r=t.getData(),o=a.queryDataIndex(r,i);if(null!=o&&o>=0){var s=r.getItemGraphicEl(o);s&&(s.__temp?(r.setItemGraphicEl(o,null),this.group.remove(s)):s.downplay())}else h.prototype.downplay.call(this,t,e,n,i)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new l({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new u({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_updateAnimation:function(t,e,n,i,a,s){var l=this._polyline,u=this._polygon,h=t.hostModel,c=r(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,s),d=c.current,p=c.stackedOnCurrent,f=c.next,g=c.stackedOnNext;if(a&&(d=b(c.current,n,a),p=b(c.stackedOnCurrent,n,a),f=b(c.next,n,a),g=b(c.stackedOnNext,n,a)),y(d,f)>3e3||u&&y(p,g)>3e3)return l.setShape({points:f}),void(u&&u.setShape({points:f,stackedOnPoints:g}));l.shape.__points=c.current,l.shape.points=d,o.updateProps(l,{shape:{points:f}},h),u&&(u.setShape({points:d,stackedOnPoints:p}),o.updateProps(u,{shape:{points:f,stackedOnPoints:g}},h));for(var v=[],m=c.status,x=0;xt&&(t=e),t},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});EJ=e}(),function(){if(ZJ)return YJ;ZJ=1,cW().__DEV__;var t=s$(),e=bW(),n=zX(),i=qJ().setLabel,r=VX(),o=KJ(),a=PZ(),s=PU(),l=_q().throttle,u=B$().createClipPath,h=function(){if(UJ)return WJ;UJ=1;var t=zX().extendShape,e=t({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,h=e.clockwise,c=Math.cos(l),d=Math.sin(l),p=Math.cos(u),f=Math.sin(u);(h?u-l<2*Math.PI:l-u<2*Math.PI)&&(t.moveTo(c*r+n,d*r+i),t.arc(c*s+n,d*s+i,a,-Math.PI+l,l,!h)),t.arc(n,i,o,l,u,!h),t.moveTo(p*o+n,f*o+i),t.arc(p*s+n,f*s+i,a,u-2*Math.PI,u-Math.PI,!h),0!==r&&(t.arc(n,i,r,u,l,h),t.moveTo(c*r+n,f*r+i)),t.closePath()}});return WJ=e}(),c=["itemStyle","barBorderWidth"],d=[0,0];function p(t,e){var n=t.getArea&&t.getArea();if("cartesian2d"===t.type){var i=t.getBaseAxis();if("category"!==i.type||!i.onBand){var r=e.getLayout("bandWidth");i.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}e.extend(r.prototype,o);var f=t.extendChartView({type:"bar",render:function(t,e,n){this._updateDrawMode(t);var i=t.get("coordinateSystem");return"cartesian2d"!==i&&"polar"!==i||(this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n)),this.group},incrementalPrepareRender:function(t,e,n){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,n,i){this._incrementalRenderLarge(t,e)},_updateDrawMode:function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e^this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},_renderNormal:function(t,e,i){var r,o=this.group,a=t.getData(),l=this._data,u=t.coordinateSystem,h=u.getBaseAxis();"cartesian2d"===u.type?r=h.isHorizontal():"polar"===u.type&&(r="angle"===h.dim);var c=t.isAnimationEnabled()?t:null,d=t.get("clip",!0),f=p(u,a);o.removeClipPath();var g=t.get("roundCap",!0),v=t.get("showBackground",!0),w=t.getModel("backgroundStyle"),M=w.get("barBorderRadius")||0,I=[],T=this._backgroundEls||[],C=function(t){var e=b[u.type](a,t),n=P(u,r,e);return n.useStyle(w.getBarItemStyle()),"cartesian2d"===u.type&&n.setShape("r",M),I[t]=n,n};a.diff(l).add((function(e){var n=a.getItemModel(e),i=b[u.type](a,e,n);if(v&&C(e),a.hasValue(e)){if(d&&m[u.type](f,i))return void o.remove(s);var s=y[u.type](e,i,r,c,!1,g);a.setItemGraphicEl(e,s),o.add(s),S(s,a,e,n,i,t,r,"polar"===u.type)}})).update((function(e,i){var s=a.getItemModel(e),h=b[u.type](a,e,s);if(v){var p;0===T.length?p=C(i):((p=T[i]).useStyle(w.getBarItemStyle()),"cartesian2d"===u.type&&p.setShape("r",M),I[e]=p);var x=b[u.type](a,e),_=k(r,x,u);n.updateProps(p,{shape:_},c,e)}var A=l.getItemGraphicEl(i);if(a.hasValue(e)){if(d&&m[u.type](f,h))return void o.remove(A);A?n.updateProps(A,{shape:h},c,e):A=y[u.type](e,h,r,c,!0,g),a.setItemGraphicEl(e,A),o.add(A),S(A,a,e,s,h,t,r,"polar"===u.type)}else o.remove(A)})).remove((function(t){var e=l.getItemGraphicEl(t);"cartesian2d"===u.type?e&&x(t,c,e):e&&_(t,c,e)})).execute();var A=this._backgroundGroup||(this._backgroundGroup=new s);A.removeAll();for(var D=0;D0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle}}};function w(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function S(t,r,o,a,s,l,u,h){var c=r.getItemVisual(o,"color"),d=r.getItemVisual(o,"opacity"),p=r.getVisual("borderColor"),f=a.getModel("itemStyle"),g=a.getModel("emphasis.itemStyle").getBarItemStyle();h||t.setShape("r",f.get("barBorderRadius")||0),t.useStyle(e.defaults({stroke:w(s)?"none":p,fill:w(s)?"none":c,opacity:d},f.getBarItemStyle()));var v=a.getShallow("cursor");v&&t.attr("cursor",v);var m=u?s.height>0?"bottom":"top":s.width>0?"left":"right";h||i(t.style,g,a,c,l,o,m),w(s)&&(g.fill=g.stroke="none"),n.setHoverStyle(t,g)}function M(t,e){var n=t.get(c)||0,i=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),r=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(n,i,r)}var I=a.extend({type:"largeBar",shape:{points:[]},buildPath:function(t,e){for(var n=e.points,i=this.__startPoint,r=this.__baseDimIdx,o=0;o=0?n:null}),30,!1);function A(t,e,n){var i=t.__baseDimIdx,r=1-i,o=t.shape.points,a=t.__largeDataIndices,s=Math.abs(t.__barWidth/2),l=t.__startPoint[r];d[0]=e,d[1]=n;for(var u=d[i],h=d[1-i],c=u-s,p=u+s,f=0,g=o.length/2;f=c&&m<=p&&(l<=y?h>=l&&h<=y:h>=y&&h<=l))return a[f]}return-1}function D(t,e,n){var i=n.getVisual("borderColor")||n.getVisual("color"),r=e.getModel("itemStyle").getItemStyle(["color","borderColor"]);t.useStyle(r),t.style.fill=null,t.style.stroke=i,t.style.lineWidth=n.getLayout("barWidth")}function L(t,e,n){var i=e.get("borderColor")||e.get("color"),r=e.getItemStyle(["color","borderColor"]);t.useStyle(r),t.style.fill=null,t.style.stroke=i,t.style.lineWidth=n.getLayout("barWidth")}function k(t,e,n){var i,r="polar"===n.type;return i=r?n.getArea():n.grid.getRect(),r?{cx:i.cx,cy:i.cy,r0:t?i.r0:e.r0,r:t?i.r:e.r,startAngle:t?e.startAngle:0,endAngle:t?e.endAngle:2*Math.PI}:{x:t?e.x:i.x,y:t?i.y:e.y,width:t?e.width:i.width,height:t?i.height:e.height}}function P(t,e,i){return new("polar"===t.type?n.Sector:n.Rect)({shape:k(e,i,t),silent:!0,z2:0})}YJ=f}(),OJ(),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,e.curry(i,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,r),t.registerVisual({seriesType:"bar",reset:function(t){t.getData().setVisual("legendSymbol","roundRect")}})}(),function(){if(mQ)return yQ;mQ=1;var t=s$(),e=bW();(function(){if(rQ)return iQ;rQ=1;var t=s$(),e=xQ(),n=bW(),i=AY(),r=YX().getPercentWithPrecision,o=_Q(),a=Gj().retrieveRawAttr,s=Lj().makeSeriesEncodeForNameBased,l=bQ(),u=t.extendSeriesModel({type:"series.pie",init:function(t){u.superApply(this,"init",arguments),this.legendVisualProvider=new l(n.bind(this.getData,this),n.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){u.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,i){return e(this,{coordDimensions:["value"],encodeDefaulter:n.curry(s,this)})},_createSelectableList:function(){for(var t=this.getRawData(),e=t.mapDimension("value"),n=[],i=0,r=t.count();i0&&(c?"scale"!==d:"transition"!==p)){for(var v=s.getItemLayout(0),m=1;isNaN(v.startAngle)&&m=n.r0}}}),l=s;oQ=l}();var n=wQ(),i=SQ(),r=IQ(),o=TQ();n("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),t.registerVisual(i("pie")),t.registerLayout(e.curry(r,"pie")),t.registerProcessor(o("pie"))}(),function(){if(PQ)return $Q;PQ=1;var t=s$();(function(){if(AQ)return CQ;AQ=1;var t=hK(),e=tq(),n=e.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(e,n){return t(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});CQ=n})(),function(){if(kQ)return JQ;kQ=1;var t=s$(),e=x$(),n=function(){if(LQ)return DQ;LQ=1;var t=zX(),e=HK().createSymbol,n=EX(),i=4,r=t.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(t,e){var n=e.points,r=e.size,o=this.symbolProxy,a=o.shape;if(!((t.getContext?t.getContext():t)&&r[0]=0;s--){var l=2*s,u=i[l]-o/2,h=i[l+1]-a/2;if(t>=u&&e>=h&&t<=u+o&&e<=h+a)return s}return-1}});function o(){this.group=new t.Group}var a=o.prototype;a.isPersistent=function(){return!this._incremental},a.updateData=function(t,e){this.group.removeAll();var n=new r({rectHover:!0,cursor:"default"});n.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(n,t,!1,e),this.group.add(n),this._incremental=null},a.updateLayout=function(t){if(!this._incremental){var e=t.getLayout("symbolPoints");this.group.eachChild((function(t){if(null!=t.startIndex){var n=2*(t.endIndex-t.startIndex),i=4*t.startIndex*2;e=new Float32Array(e.buffer,i,n)}t.setShape("points",e)}))}},a.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new n({silent:!0})),this.group.add(this._incremental)):this._incremental=null},a.incrementalUpdate=function(t,e,n){var i;this._incremental?(i=new r,this._incremental.addDisplayable(i,!0)):((i=new r({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end})).incremental=!0,this.group.add(i)),i.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(i,e,!!this._incremental,n)},a._setCommon=function(t,n,r,o){var a=n.hostModel;o=o||{};var s=n.getVisual("symbolSize");t.setShape("size",s instanceof Array?s:[s,s]),t.softClipShape=o.clipShape||null,t.symbolProxy=e(n.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var l=t.shape.size[0]=0&&(t.dataIndex=n+(t.startIndex||0))})))},a.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},a._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var s=o;return DQ=s}(),i=G$();t.extendChartView({type:"scatter",render:function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},incrementalPrepareRender:function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},incrementalRender:function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,n){var r=t.getData();if(this.group.dirty(),!this._finished||r.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var o=i().reset(t);o.progress&&o.progress({start:0,end:r.count()},r),this._symbolDraw.updateLayout(r)},_getClipShape:function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},_updateSymbolDraw:function(t,i){var r=this._symbolDraw,o=i.pipelineContext.large;return r&&o===this._isLargeDraw||(r&&r.remove(),r=this._symbolDraw=o?new n:new e,this._isLargeDraw=o,this.group.removeAll()),this.group.add(r.group),r},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})}();var e=F$(),n=G$();OJ(),t.registerVisual(e("scatter","circle")),t.registerLayout(n("scatter"))}(),function(){if(KQ)return QQ;KQ=1;var t=s$();GQ||(GQ=1,function(){if(EQ)return NQ;EQ=1;var t=bW(),e=function(){if(RQ)return OQ;RQ=1;var t=bW(),e=o$();function n(t,n,i){e.call(this,t,n,i),this.type="value",this.angle=0,this.name="",this.model}t.inherits(n,e);var i=n;return OQ=i}(),n=IK(),i=YX(),r=zK(),o=r.getScaleExtent,a=r.niceScaleExtent,s=Oj(),l=EK();function u(i,r,o){this._model=i,this.dimensions=[],this._indicatorAxes=t.map(i.getIndicatorModels(),(function(t,i){var r="indicator_"+i,o=new e(r,"log"===t.get("axisType")?new l:new n);return o.name=t.get("name"),o.model=t,t.axis=o,this.dimensions.push(r),o}),this),this.resize(i,o),this.cx,this.cy,this.r,this.r0,this.startAngle}u.prototype.getIndicatorAxes=function(){return this._indicatorAxes},u.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},u.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(n),this.cy-t*Math.sin(n)]},u.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=Math.sqrt(e*e+n*n);e/=i,n/=i;for(var r,o=Math.atan2(-n,e),a=1/0,s=-1,l=0;ln[0]&&isFinite(f)&&isFinite(n[0]));else{s.getTicks().length-1>l&&(d=u(d));var p=Math.ceil(n[1]/d)*d,f=i.round(p-d*l);s.setExtent(f,p),s.setInterval(d)}}))},u.dimensions=[],u.create=function(t,e){var n=[];return t.eachComponent("radar",(function(i){var r=new u(i,t,e);n.push(r),i.coordinateSystem=r})),t.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("radarIndex")||0])})),n},s.register("radar",u);var h=u;NQ=h}(),function(){if(VQ)return zQ;VQ=1;var t=s$(),e=bW(),n=sJ(),i=VX(),r=VK(),o=n.valueAxis;function a(t,n){return e.defaults({show:n},t)}var s=t.extendComponentModel({type:"radar",optionUpdated:function(){var t=this.get("boundaryGap"),n=this.get("splitNumber"),o=this.get("scale"),a=this.get("axisLine"),s=this.get("axisTick"),l=this.get("axisType"),u=this.get("axisLabel"),h=this.get("name"),c=this.get("name.show"),d=this.get("name.formatter"),p=this.get("nameGap"),f=this.get("triggerEvent"),g=e.map(this.get("indicator")||[],(function(g){null!=g.max&&g.max>0&&!g.min?g.min=0:null!=g.min&&g.min<0&&!g.max&&(g.max=0);var v=h;if(null!=g.color&&(v=e.defaults({color:g.color},h)),g=e.merge(e.clone(g),{boundaryGap:t,splitNumber:n,scale:o,axisLine:a,axisTick:s,axisType:l,axisLabel:u,name:g.text,nameLocation:"end",nameGap:p,nameTextStyle:v,triggerEvent:f},!1),c||(g.name=""),"string"==typeof d){var m=g.name;g.name=d.replace("{value}",null!=m?m:"")}else"function"==typeof d&&(g.name=d(g.name,g));var y=e.extend(new i(g,null,this.ecModel),r);return y.mainType="radar",y.componentIndex=this.componentIndex,y}),this);this.getIndicatorModels=function(){return g}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:e.merge({lineStyle:{color:"#bbb"}},o.axisLine),axisLabel:a(o.axisLabel,!1),axisTick:a(o.axisTick,!1),axisType:"interval",splitLine:a(o.splitLine,!0),splitArea:a(o.splitArea,!0),indicator:[]}}),l=s;zQ=l}(),function(){if(FQ)return BQ;FQ=1,cW().__DEV__;var t=s$(),e=bW(),n=gJ(),i=zX(),r=["axisLine","axisTickLabel","axisName"],o=t.extendComponentView({type:"radar",render:function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var i=t.coordinateSystem,o=i.getIndicatorAxes(),a=e.map(o,(function(t){return new n(t.model,{position:[i.cx,i.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})}));e.each(a,(function(t){e.each(r,t.add,t),this.group.add(t.getGroup())}),this)},_buildSplitLineAndArea:function(t){var n=t.coordinateSystem,r=n.getIndicatorAxes();if(r.length){var o=t.get("shape"),a=t.getModel("splitLine"),s=t.getModel("splitArea"),l=a.getModel("lineStyle"),u=s.getModel("areaStyle"),h=a.get("show"),c=s.get("show"),d=l.get("color"),p=u.get("color");d=e.isArray(d)?d:[d],p=e.isArray(p)?p:[p];var f=[],g=[];if("circle"===o)for(var v=r[0].getTicksCoords(),m=n.cx,y=n.cy,x=0;x":"\n";return i(""===l?this.name:l)+u+n.map(s,(function(e,n){var r=a.get(a.mapDimension(e.dim),t);return i(e.name+" : "+r)})).join(u)},getTooltipPosition:function(t){if(null!=t)for(var e=this.getData(),i=this.coordinateSystem,r=e.getValues(n.map(i.dimensions,(function(t){return e.mapDimension(t)})),t,!0),o=0,a=r.length;o":"\n";return h.join(", ")+f+r(l+" : "+s)},getTooltipPosition:function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,i=n.getRegion(e);return i&&n.dataToPoint(i.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});t.mixin(h,a);var c=h;g0=c})(),function(){if(R0)return O0;R0=1;var t=s$(),e=bW(),n=zX(),i=z0(),r="__seriesMapHighDown",o="__seriesMapCallKey",a=t.extendChartView({type:"map",render:function(t,e,n,r){if(!r||"mapToggleSelect"!==r.type||r.from!==this.uid){var o=this.group;if(o.removeAll(),!t.getHostGeoModel()){if(r&&"geoRoam"===r.type&&"series"===r.componentType&&r.seriesId===t.id)(a=this._mapDraw)&&o.add(a.group);else if(t.needsDrawMap){var a=this._mapDraw||new i(n,!0);o.add(a.group),a.draw(t,e,n,this,r),this._mapDraw=a}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,n)}}},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(t,i,a){var u=t.originalData,h=this.group;u.each(u.mapDimension("value"),(function(i,a){if(!isNaN(i)){var c=u.getItemLayout(a);if(c&&c.point){var d=c.point,p=c.offset,f=new n.Circle({style:{fill:t.getData().getVisual("color")},shape:{cx:d[0]+9*p,cy:d[1],r:3},silent:!0,z2:8+(p?0:n.Z2_EMPHASIS_LIFT+1)});if(!p){var g=t.mainSeries.getData(),v=u.getName(a),m=g.indexOfName(v),y=u.getItemModel(a),x=y.getModel("label"),_=y.getModel("emphasis.label"),b=g.getItemGraphicEl(m),w=e.retrieve2(t.getFormattedLabel(m,"normal"),v),S=e.retrieve2(t.getFormattedLabel(m,"emphasis"),w),M=b[r],I=Math.random();if(!M){M=b[r]={};var T=e.curry(s,!0),C=e.curry(s,!1);b.on("mouseover",T).on("mouseout",C).on("emphasis",T).on("normal",C)}b[o]=I,e.extend(M,{recordVersion:I,circle:f,labelModel:x,hoverLabelModel:_,emphasisText:S,normalText:w}),l(M,!1)}h.add(f)}}}))}});function s(t){var e=this[r];e&&e.recordVersion===this[o]&&l(e,t)}function l(t,e){var i=t.circle,r=t.labelModel,o=t.hoverLabelModel,a=t.emphasisText,s=t.normalText;e?(i.style.extendFrom(n.setTextStyle({},o,{text:o.get("show")?a:null},{isRectText:!0,useInsideStyle:!1},!0)),i.__mapOriginalZ2=i.z2,i.z2+=n.Z2_EMPHASIS_LIFT):(n.setTextStyle(i.style,r,{text:r.get("show")?s:null,textPosition:r.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),i.dirty(!1),null!=i.__mapOriginalZ2&&(i.z2=i.__mapOriginalZ2,i.__mapOriginalZ2=null))}O0=a}(),r1(),a1();var e=s1(),n=l1(),i=u1(),r=h1(),o=wQ();t.registerLayout(e),t.registerVisual(n),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,i),t.registerPreprocessor(r),o("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])}(),function(){if(D1)return m1;D1=1;var t=s$();(function(){if(v1)return g1;v1=1;var t=tq(),e=x1(),n=ij().encodeHTML,i=VX(),r=t.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(t){var n={name:t.name,children:t.data},r=t.leaves||{},o=new i(r,this,this.ecModel),a=e.createTree(n,this,s);function s(t){t.wrapMethod("getItemModel",(function(t,e){var n=a.getNodeByDataIndex(e);return n.children.length&&n.isExpand||(t.parentModel=o),t}))}var l=0;a.eachNode("preorder",(function(t){t.depth>l&&(l=t.depth)}));var u=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:l;return a.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=u})),a.data},getOrient:function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},formatTooltip:function(t){for(var e=this.getData().tree,i=e.root.children[0],r=e.getNodeByDataIndex(t),o=r.getValue(),a=r.name;r&&r!==i;)a=r.parentNode.name+"."+a,r=r.parentNode;return n(a+(isNaN(o)||null==o?"":" : "+o))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});g1=r})(),function(){if(w1)return b1;w1=1;var t=bW(),e=zX(),n=y$(),i=M1().radialCoordinate,r=s$(),o=jY(),a=o1(),s=D0(),l=T0(),u=E0().onIrrelevantElement;cW().__DEV__;var h=YX().parsePercent,c=e.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,o=n[0],a=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=h(e.forkPosition,1),d=[];d[l]=r[l],d[u]=r[u]+(a[u]-r[u])*c,t.moveTo(r[0],r[1]),t.lineTo(d[0],d[1]),t.moveTo(o[0],o[1]),d[l]=o[l],t.lineTo(d[0],d[1]),d[l]=a[l],t.lineTo(d[0],d[1]),t.lineTo(a[0],a[1]);for(var p=1;pS.x)||(_-=Math.PI);var T=b?"left":"right",C=s.labelModel.get("rotate"),A=C*(Math.PI/180);x.setStyle({textPosition:s.labelModel.get("position")||T,textRotation:null==C?-_:A,textOrigin:"center",verticalAlign:"middle"})}v(a,u,c,r,m,g,y,o,s)}function v(n,i,r,o,a,s,l,u,h){var d=h.edgeShape,p=o.__edge;if("curve"===d)i.parentNode&&i.parentNode!==r&&(p||(p=o.__edge=new e.BezierCurve({shape:y(h,a,a),style:t.defaults({opacity:0,strokeNoScale:!0},h.lineStyle)})),e.updateProps(p,{shape:y(h,s,l),style:t.defaults({opacity:1},h.lineStyle)},n));else if("polyline"===d&&"orthogonal"===h.layout&&i!==r&&i.children&&0!==i.children.length&&!0===i.isExpand){for(var f=i.children,g=[],v=0;v=0;m--){var y=v[m],x=y.node,_=y.width,b=y.text;g>f.width&&(g-=_-d,_=d,b=null);var w=new t.Polygon({shape:{points:l(c,0,_,p,m===v.length-1,0===m)},style:n.defaults(a.getItemStyle(),{lineJoin:"bevel",text:b,textFill:s.getTextColor(),textFont:s.getFont()}),z:10,onclick:n.curry(h,x)});this.group.add(w),u(w,i,x),c+=_+o}},remove:function(){this.group.removeAll()}};var h=s;return E1=h}(),a=T0(),s=kU(),l=$W(),u=function(){if(G1)return J1;G1=1;var t=bW();function e(){var e,n=[],i={};return{add:function(e,r,o,a,s){return t.isString(a)&&(s=a,a=0),!i[e.id]&&(i[e.id]=1,n.push({el:e,target:r,time:o,delay:a,easing:s}),!0)},done:function(t){return e=t,this},start:function(){for(var t=n.length,r=0,o=n.length;rv||Math.abs(t.dy)>v)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},_onZoom:function(t){var e=t.originX,n=t.originY;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var r=i.getLayout();if(!r)return;var o=new s(r.x,r.y,r.width,r.height),a=this.seriesModel.layoutInfo;e-=a.x,n-=a.y;var u=l.create();l.translate(u,u,[-e,-n]),l.scale(u,u,[t.scale,t.scale]),l.translate(u,u,[e,n]),o.applyTransform(u),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},_initEvents:function(t){t.on("click",(function(t){if("ready"===this._state){var e=this.seriesModel.get("nodeClick",!0);if(e){var n=this.findTarget(t.offsetX,t.offsetY);if(n){var i=n.node;if(i.getLayout().isLeafRoot)this._rootToNode(n);else if("zoomToNode"===e)this._zoomToNode(n);else if("link"===e){var r=i.hostTree.data.getItemModel(i.dataIndex),o=r.get("link",!0),a=r.get("target",!0)||"blank";o&&c(o,a)}}}}}),this)},_renderBreadcrumb:function(t,e,n){function i(e){"animating"!==this._state&&(r.aboveViewRoot(t.getViewRoot(),e)?this._rootToNode({node:e}):this._zoomToNode({node:e}))}n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new o(this.group))).render(t,e,n.node,d(i,this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=C(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},_rootToNode:function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},findTarget:function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}}),this),n}});function C(){return{nodeGroup:[],background:[],content:[]}}function A(t,i,r,o,a,s,l,u,h,c){if(l){var d=l.getLayout(),g=t.getData();if(g.setItemGraphicEl(l.dataIndex,null),d&&d.isInView){var v=d.width,b=d.height,T=d.borderWidth,C=d.invisible,A=l.getRawIndex(),L=u&&u.getRawIndex(),k=l.viewChildren,P=d.upperHeight,O=k&&k.length,R=l.getModel("itemStyle"),N=l.getModel("emphasis.itemStyle"),E=Y("nodeGroup",p);if(E){if(h.add(E),E.attr("position",[d.x||0,d.y||0]),E.__tmNodeWidth=v,E.__tmNodeHeight=b,d.isAboveViewRoot)return E;var z=l.getModel(),V=Y("background",f,c,w);if(V&&F(E,V,O&&d.upperLabelHeight),O)n.isHighDownDispatcher(E)&&n.setAsHighDownDispatcher(E,!1),V&&(n.setAsHighDownDispatcher(V,!0),g.setItemGraphicEl(l.dataIndex,V));else{var B=Y("content",f,c,S);B&&G(E,B),V&&n.isHighDownDispatcher(V)&&n.setAsHighDownDispatcher(V,!1),n.setAsHighDownDispatcher(E,!0),g.setItemGraphicEl(l.dataIndex,E)}return E}}}function F(e,i,r){if(i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex,i.setShape({x:0,y:0,width:v,height:b}),C)H(i);else{i.invisible=!1;var o=l.getVisual("borderColor",!0),a=N.get("borderColor"),s=I(R);s.fill=o;var u=M(N);if(u.fill=a,r){var h=v-2*T;W(s,u,o,h,P,{x:T,y:0,width:h,height:P})}else s.text=u.text=null;i.setStyle(s),n.setElementHoverStyle(i,u)}e.add(i)}function G(e,i){i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex;var r=Math.max(v-2*T,0),o=Math.max(b-2*T,0);if(i.culling=!0,i.setShape({x:T,y:T,width:r,height:o}),C)H(i);else{i.invisible=!1;var a=l.getVisual("color",!0),s=I(R);s.fill=a;var u=M(N);W(s,u,a,r,o),i.setStyle(s),n.setElementHoverStyle(i,u)}e.add(i)}function H(t){!t.invisible&&s.push(t)}function W(i,r,o,a,s,u){var h=z.get("name"),c=z.getModel(u?x:m),p=z.getModel(u?_:y),f=c.getShallow("show");n.setLabelStyle(i,r,c,p,{defaultText:f?h:null,autoColor:o,isRectText:!0,labelFetcher:t,labelDataIndex:l.dataIndex,labelProp:u?"upperLabel":"label"}),U(i,u,d),U(r,u,d),u&&(i.textRect=e.clone(u)),i.truncate=f&&c.get("ellipsis")?{outerWidth:a,outerHeight:s,minChar:2}:null}function U(e,n,i){var r=e.text;if(!n&&i.isLeafRoot&&null!=r){var o=t.get("drillDownIcon",!0);e.text=o?o+" "+r:r}}function Y(t,e,n,o){var s=null!=L&&r[t][L],l=a[t];return s?(r[t][L]=null,Z(l,s,t)):C||((s=new e({z:D(n,o)})).__tmDepth=n,s.__tmStorageName=t,X(l,s,t)),i[t][A]=s}function Z(t,n,i){(t[A]={}).old="nodeGroup"===i?n.position.slice():e.extend({},n.shape)}function X(t,e,n){var i=t[A]={},r=l.parentNode;if(r&&(!o||"drillDown"===o.direction)){var s=0,u=0,h=a.background[r.getRawIndex()];!o&&h&&h.old&&(s=h.old.width,u=h.old.height),i.old="nodeGroup"===n?[0,u]:{x:s,y:u,width:0,height:0}}i.fadein="nodeGroup"!==n}}function D(t,e){var n=t*b+e;return(n-1)/n}H1=T}(),function(){if(U1)return Q1;U1=1;for(var t=s$(),e=F1(),n=function(){},i=["treemapZoomToNode","treemapRender","treemapMove"],r=0;r ")),r.value&&(u+=" : "+o(r.value)),u}return c.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=n.map(this.option.categories||[],(function(t){return null!=t.value?t:n.extend({value:0},t)})),i=new e(["value"],this);i.initData(t),this._categoriesData=i,this._categoriesModels=i.mapArray((function(t){return i.getItemModel(t,!0)}))},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return c.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{label:{show:!0}}}});h2=c})(),function(){if(C2)return T2;C2=1;var t=s$(),e=bW(),n=x$(),i=w2(),r=T0(),o=D0(),a=E0().onIrrelevantElement,s=zX(),l=L2(),u=D2().getNodeGlobalScale,h="__focusNodeAdjacency",c="__unfocusNodeAdjacency",d=["itemStyle","opacity"],p=["lineStyle","opacity"];function f(t,e){var n=t.getVisual("opacity");return null!=n?n:t.getModel().get(e)}function g(t,e,n){var i=t.getGraphicEl(),r=f(t,e);null!=n&&(null==r&&(r=1),r*=n),i.downplay&&i.downplay(),i.traverse((function(t){if(!t.isGroup){var e=t.lineLabelOriginalOpacity;null!=e&&null==n||(e=r),t.setStyle("opacity",e)}}))}function v(t,e){var n=f(t,e),i=t.getGraphicEl();i.traverse((function(t){!t.isGroup&&t.setStyle("opacity",n)})),i.highlight&&i.highlight()}var m=t.extendChartView({type:"graph",init:function(t,e){var o=new n,a=new i,s=this.group;this._controller=new r(e.getZr()),this._controllerHost={target:s},s.add(o.group),s.add(a.group),this._symbolDraw=o,this._lineDraw=a,this._firstRender=!0},render:function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,d=this.group;if("view"===r.type){var p={position:r.position,scale:r.scale};this._firstRender?d.attr(p):s.updateProps(d,p,t)}l(t.getGraph(),u(t));var f=t.getData();o.updateData(f);var g=t.getEdgeData();a.updateData(g),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var v=t.forceLayout,m=t.get("force.layoutAnimation");v&&this._startForceLayoutIteration(v,m),f.eachItemGraphicEl((function(e,r){var o=f.getItemModel(r);e.off("drag").off("dragend");var a=o.get("draggable");a&&e.on("drag",(function(){v&&(v.warmUp(),!this._layouting&&this._startForceLayoutIteration(v,m),v.setFixed(r),f.setItemLayout(r,e.position))}),this).on("dragend",(function(){v&&v.setUnfixed(r)}),this),e.setDraggable(a&&v),e[h]&&e.off("mouseover",e[h]),e[c]&&e.off("mouseout",e[c]),o.get("focusNodeAdjacency")&&(e.on("mouseover",e[h]=function(){i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,dataIndex:e.dataIndex})}),e.on("mouseout",e[c]=function(){i._dispatchUnfocus(n)}))}),this),f.graph.eachEdge((function(e){var r=e.getGraphicEl();r[h]&&r.off("mouseover",r[h]),r[c]&&r.off("mouseout",r[c]),e.getModel().get("focusNodeAdjacency")&&(r.on("mouseover",r[h]=function(){i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,edgeDataIndex:e.dataIndex})}),r.on("mouseout",r[c]=function(){i._dispatchUnfocus(n)}))}));var y="circular"===t.get("layout")&&t.get("circular.rotateLabel"),x=f.getLayout("cx"),_=f.getLayout("cy");f.eachItemGraphicEl((function(t,e){var n=f.getItemModel(e).get("label.rotate")||0,i=t.getSymbolPath();if(y){var r=f.getItemLayout(e),o=Math.atan2(r[1]-_,r[0]-x);o<0&&(o=2*Math.PI+o);var a=r[0]=t&&(0===e?0:r[e-1][0]).4?"bottom":"middle",textAlign:k<-.4?"left":k>.4?"right":"center"},{autoColor:E}),silent:!0}))}if(x.get("show")&&L!==b){for(var z=0;z<=w;z++){k=Math.cos(I),P=Math.sin(I);var V=new e.Line({shape:{x1:k*g+p,y1:P*g+f,x2:k*(g-M)+p,y2:P*(g-M)+f},silent:!0,style:D});"auto"===D.stroke&&V.setStyle({stroke:a((L+z/w)/b)}),d.add(V),I+=C}I-=C}else I+=T}},_renderPointer:function(n,i,o,s,l,u,h,c){var d=this.group,p=this._data;if(n.get("pointer.show")){var f=[+n.get("min"),+n.get("max")],g=[u,h],v=n.getData(),m=v.mapDimension("value");v.diff(p).add((function(i){var r=new t({shape:{angle:u}});e.initProps(r,{shape:{angle:a(v.get(m,i),f,g,!0)}},n),d.add(r),v.setItemGraphicEl(i,r)})).update((function(t,i){var r=p.getItemGraphicEl(i);e.updateProps(r,{shape:{angle:a(v.get(m,t),f,g,!0)}},n),d.add(r),v.setItemGraphicEl(t,r)})).remove((function(t){var e=p.getItemGraphicEl(t);d.remove(e)})).execute(),v.eachItemGraphicEl((function(t,n){var i=v.getItemModel(n),o=i.getModel("pointer");t.setShape({x:l.cx,y:l.cy,width:r(o.get("width"),l.r),r:r(o.get("length"),l.r)}),t.useStyle(i.getModel("itemStyle").getItemStyle()),"auto"===t.style.fill&&t.setStyle("fill",s(a(v.get(m,n),f,[0,1],!0))),e.setHoverStyle(t,i.getModel("emphasis.itemStyle").getItemStyle())})),this._data=v}else p&&p.eachItemGraphicEl((function(t){d.remove(t)}))},_renderTitle:function(t,n,i,o,s){var l=t.getData(),u=l.mapDimension("value"),h=t.getModel("title");if(h.get("show")){var c=h.get("offsetCenter"),d=s.cx+r(c[0],s.r),p=s.cy+r(c[1],s.r),f=+t.get("min"),g=+t.get("max"),v=t.getData().get(u,0),m=o(a(v,[f,g],[0,1],!0));this.group.add(new e.Text({silent:!0,style:e.setTextStyle({},h,{x:d,y:p,text:l.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:m,forceRich:!0})}))}},_renderDetail:function(t,n,i,o,s){var u=t.getModel("detail"),h=+t.get("min"),c=+t.get("max");if(u.get("show")){var d=u.get("offsetCenter"),p=s.cx+r(d[0],s.r),f=s.cy+r(d[1],s.r),g=r(u.get("width"),s.r),v=r(u.get("height"),s.r),m=t.getData(),y=m.get(m.mapDimension("value"),0),x=o(a(y,[h,c],[0,1],!0));this.group.add(new e.Text({silent:!0,style:e.setTextStyle({},u,{x:p,y:f,text:l(y,u.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(v)?null:v,textAlign:"center",textVerticalAlign:"middle"},{autoColor:x,forceRich:!0})}))}}}),c=h;c5=c}()),function(){if(S5)return M5;S5=1;var t=s$();(function(){if(y5)return m5;y5=1;var t=s$(),e=bW(),n=xQ(),i=AY().defaultEmphasis,r=Lj().makeSeriesEncodeForNameBased,o=bQ(),a=t.extendSeriesModel({type:"series.funnel",init:function(t){a.superApply(this,"init",arguments),this.legendVisualProvider=new o(e.bind(this.getData,this),e.bind(this.getRawData,this)),this._defaultLabelLine(t)},getInitialData:function(t,i){return n(this,{coordDimensions:["value"],encodeDefaulter:e.curry(r,this)})},_defaultLabelLine:function(t){i(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},getDataParams:function(t){var e=this.getData(),n=a.superCall(this,"getDataParams",t),i=e.mapDimension("value"),r=e.getSum(i);return n.percent=r?+(e.get(i,t)/r*100).toFixed(2):0,n.$vars.push("percent"),n},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}});m5=a})(),function(){if(_5)return x5;_5=1;var t=zX(),e=bW(),n=iq();function i(e,n){t.Group.call(this);var i=new t.Polygon,r=new t.Polyline,o=new t.Text;this.add(i),this.add(r),this.add(o),this.highDownOnUpdate=function(t,e){"emphasis"===e?(r.ignore=r.hoverIgnore,o.ignore=o.hoverIgnore):(r.ignore=r.normalIgnore,o.ignore=o.normalIgnore)},this.updateData(e,n,!0)}var r=i.prototype,o=["itemStyle","opacity"];r.updateData=function(n,i,r){var a=this.childAt(0),s=n.hostModel,l=n.getItemModel(i),u=n.getItemLayout(i),h=n.getItemModel(i).get(o);h=null==h?1:h,a.useStyle({}),r?(a.setShape({points:u.points}),a.setStyle({opacity:0}),t.initProps(a,{style:{opacity:h}},s,i)):t.updateProps(a,{style:{opacity:h},shape:{points:u.points}},s,i);var c=l.getModel("itemStyle"),d=n.getItemVisual(i,"color");a.setStyle(e.defaults({lineJoin:"round",fill:d},c.getItemStyle(["opacity"]))),a.hoverStyle=c.getModel("emphasis").getItemStyle(),this._updateLabel(n,i),t.setHoverStyle(this)},r._updateLabel=function(e,n){var i=this.childAt(1),r=this.childAt(2),o=e.hostModel,a=e.getItemModel(n),s=e.getItemLayout(n).label,l=e.getItemVisual(n,"color");t.updateProps(i,{shape:{points:s.linePoints||s.linePoints}},o,n),t.updateProps(r,{style:{x:s.x,y:s.y}},o,n),r.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var u=a.getModel("label"),h=a.getModel("emphasis.label"),c=a.getModel("labelLine"),d=a.getModel("emphasis.labelLine");l=e.getItemVisual(n,"color"),t.setLabelStyle(r.style,r.hoverStyle={},u,h,{labelFetcher:e.hostModel,labelDataIndex:n,defaultText:e.getName(n),autoColor:l,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),r.ignore=r.normalIgnore=!u.get("show"),r.hoverIgnore=!h.get("show"),i.ignore=i.normalIgnore=!c.get("show"),i.hoverIgnore=!d.get("show"),i.setStyle({stroke:l}),i.setStyle(c.getModel("lineStyle").getLineStyle()),i.hoverStyle=d.getModel("lineStyle").getLineStyle()},e.inherits(i,t.Group);var a=n.extend({type:"funnel",render:function(t,e,n){var r=t.getData(),o=this._data,a=this.group;r.diff(o).add((function(t){var e=new i(r,t);r.setItemGraphicEl(t,e),a.add(e)})).update((function(t,e){var n=o.getItemGraphicEl(e);n.updateData(r,t),a.add(n),r.setItemGraphicEl(t,n)})).remove((function(t){var e=o.getItemGraphicEl(t);a.remove(e)})).execute(),this._data=r},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),s=a;x5=s}();var e=SQ(),n=I5(),i=TQ();t.registerVisual(e("funnel")),t.registerLayout(n),t.registerProcessor(i("funnel"))}(),function(){if(h3)return A5;h3=1;var t=s$();g3(),function(){if(o3)return r3;o3=1;var t=bW(),e=t.each,n=t.createHashMap,i=tq(),r=hK(),o=i.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(t,e){var n=this.getSource();return a(n,this),r(n,this)},getRawIndicesByActiveState:function(t){var e=this.coordinateSystem,n=this.getData(),i=[];return e.eachActiveState(n,(function(e,r){t===e&&i.push(n.getRawIndex(r))})),i},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function a(t,i){if(!t.encodeDefine){var r=i.ecModel.getComponent("parallel",i.get("parallelIndex"));if(r){var o=t.encodeDefine=n();e(r.dimensions,(function(t){var e=s(t);o.set(t,e)}))}}}function s(t){return+t.replace("dim","")}r3=o}(),function(){if(s3)return a3;s3=1;var t=zX(),e=iq(),n=.3,i=e.extend({type:"parallel",init:function(){this._dataGroup=new t.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(e,n,i,u){var h=this._dataGroup,c=e.getData(),d=this._data,p=e.coordinateSystem,f=p.dimensions,g=s(e);function v(t){l(a(c,h,t,f,p),c,t,g)}function m(n,i){var r=d.getItemGraphicEl(i),a=o(c,n,f,p);c.setItemGraphicEl(n,r);var s=u&&!1===u.animation?null:e;t.updateProps(r,{shape:{points:a}},s,n),l(r,c,n,g)}function y(t){var e=d.getItemGraphicEl(t);h.remove(e)}if(c.diff(d).add(v).update(m).remove(y).execute(),!this._initialized){this._initialized=!0;var x=r(p,e,(function(){setTimeout((function(){h.removeClipPath()}))}));h.setClipPath(x)}this._data=c},incrementalPrepareRender:function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(t,e,n){for(var i=e.getData(),r=e.coordinateSystem,o=r.dimensions,u=s(e),h=t.start;h=0&&(s[a[l].depth]=new i(a[l],this,n));if(o&&r)return e(o,r,this,!0,u).data;function u(t,e){t.wrapMethod("getItemModel",(function(t,e){return t.customizeGetParent((function(t){var n=this.parentModel,i=n.getData().getItemLayout(e).depth;return n.levelModels[i]||this.parentModel})),t})),e.wrapMethod("getItemModel",(function(t,e){return t.customizeGetParent((function(t){var n=this.parentModel,i=n.getGraph().getEdgeByIndex(e).node1.getLayout().depth;return n.levelModels[i]||this.parentModel})),t}))}},setNodePosition:function(t,e){var n=this.option.data[t];n.localX=e[0],n.localY=e[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,e,i){if("edge"===i){var o=this.getDataParams(t,i),a=o.data,s=a.source+" -- "+a.target;return o.value&&(s+=" : "+o.value),n(s)}if("node"===i){var l=this.getGraph().getNodeByIndex(t).getLayout().value,u=this.getDataParams(t,i).data.name;return l&&(s=u+" : "+l),n(s)}return r.superCall(this,"formatTooltip",t,e)},optionUpdated:function(){var t=this.option;!0===t.focusNodeAdjacency&&(t.focusNodeAdjacency="allEdges")},getDataParams:function(t,e){var n=r.superCall(this,"getDataParams",t,e);if(null==n.value&&"node"===e){var i=this.getGraph().getNodeByIndex(t).getLayout().value;n.value=i}return n},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}});m3=r})(),function(){if(_3)return x3;_3=1;var t=zX(),e=s$(),n=bW(),i=["itemStyle","opacity"],r=["emphasis","itemStyle","opacity"],o=["lineStyle","opacity"],a=["emphasis","lineStyle","opacity"];function s(t,e){return t.getVisual("opacity")||t.getModel().get(e)}function l(t,e,n){var i=t.getGraphicEl(),r=s(t,e);null!=n&&(null==r&&(r=1),r*=n),i.downplay&&i.downplay(),i.traverse((function(t){"group"!==t.type&&t.setStyle("opacity",r)}))}function u(t,e){var n=s(t,e),i=t.getGraphicEl();i.traverse((function(t){"group"!==t.type&&t.setStyle("opacity",n)})),i.highlight&&i.highlight()}var h=t.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(t,e){var n=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),c=e.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(e,n,i){var r=this,o=e.getGraph(),a=this.group,s=e.layoutInfo,l=s.width,u=s.height,c=e.getData(),p=e.getData("edge"),f=e.get("orient");this._model=e,a.removeAll(),a.attr("position",[s.x,s.y]),o.eachEdge((function(n){var i=new h;i.dataIndex=n.dataIndex,i.seriesIndex=e.seriesIndex,i.dataType="edge";var r,o,s,c,d,g,v,m,y=n.getModel("lineStyle"),x=y.get("curveness"),_=n.node1.getLayout(),b=n.node1.getModel(),w=b.get("localX"),S=b.get("localY"),M=n.node2.getLayout(),I=n.node2.getModel(),T=I.get("localX"),C=I.get("localY"),A=n.getLayout();switch(i.shape.extent=Math.max(1,A.dy),i.shape.orient=f,"vertical"===f?(r=(null!=w?w*l:_.x)+A.sy,o=(null!=S?S*u:_.y)+_.dy,s=(null!=T?T*l:M.x)+A.ty,d=r,g=o*(1-x)+(c=null!=C?C*u:M.y)*x,v=s,m=o*x+c*(1-x)):(r=(null!=w?w*l:_.x)+_.dx,o=(null!=S?S*u:_.y)+A.sy,d=r*(1-x)+(s=null!=T?T*l:M.x)*x,g=o,v=r*x+s*(1-x),m=c=(null!=C?C*u:M.y)+A.ty),i.setShape({x1:r,y1:o,x2:s,y2:c,cpx1:d,cpy1:g,cpx2:v,cpy2:m}),i.setStyle(y.getItemStyle()),i.style.fill){case"source":i.style.fill=n.node1.getVisual("color");break;case"target":i.style.fill=n.node2.getVisual("color")}t.setHoverStyle(i,n.getModel("emphasis.lineStyle").getItemStyle()),a.add(i),p.setItemGraphicEl(n.dataIndex,i)})),o.eachNode((function(n){var i=n.getLayout(),r=n.getModel(),o=r.get("localX"),s=r.get("localY"),h=r.getModel("label"),d=r.getModel("emphasis.label"),p=new t.Rect({shape:{x:null!=o?o*l:i.x,y:null!=s?s*u:i.y,width:i.dx,height:i.dy},style:r.getModel("itemStyle").getItemStyle()}),f=n.getModel("emphasis.itemStyle").getItemStyle();t.setLabelStyle(p.style,f,h,d,{labelFetcher:e,labelDataIndex:n.dataIndex,defaultText:n.id,isRectText:!0}),p.setStyle("fill",n.getVisual("color")),t.setHoverStyle(p,f),a.add(p),c.setItemGraphicEl(n.dataIndex,p),p.dataType="node"})),c.eachItemGraphicEl((function(t,n){var o=c.getItemModel(n);o.get("draggable")&&(t.drift=function(t,o){r._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=o,this.dirty(),i.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:c.getRawIndex(n),localX:this.shape.x/l,localY:this.shape.y/u})},t.ondragend=function(){r._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move"),t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.focusNodeAdjHandler&&t.off("mouseover",t.focusNodeAdjHandler),t.unfocusNodeAdjHandler&&t.off("mouseout",t.unfocusNodeAdjHandler),o.get("focusNodeAdjacency")&&(t.on("mouseover",t.focusNodeAdjHandler=function(){r._focusAdjacencyDisabled||(r._clearTimer(),i.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex}))}),t.on("mouseout",t.unfocusNodeAdjHandler=function(){r._focusAdjacencyDisabled||r._dispatchUnfocus(i)}))})),p.eachItemGraphicEl((function(t,n){var o=p.getItemModel(n);t.focusNodeAdjHandler&&t.off("mouseover",t.focusNodeAdjHandler),t.unfocusNodeAdjHandler&&t.off("mouseout",t.unfocusNodeAdjHandler),o.get("focusNodeAdjacency")&&(t.on("mouseover",t.focusNodeAdjHandler=function(){r._focusAdjacencyDisabled||(r._clearTimer(),i.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,edgeDataIndex:t.dataIndex}))}),t.on("mouseout",t.unfocusNodeAdjHandler=function(){r._focusAdjacencyDisabled||r._dispatchUnfocus(i)}))})),!this._data&&e.get("animation")&&a.setClipPath(d(a.getBoundingRect(),e,(function(){a.removeClipPath()}))),this._data=e.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(t){var e=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout((function(){e._unfocusDelayTimer=null,t.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e._model.id})}),500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(t,e,s,h){var c=t.getData(),d=c.graph,p=h.dataIndex,f=c.getItemModel(p),g=h.edgeDataIndex;if(null!=p||null!=g){var v=d.getNodeByIndex(p),m=d.getEdgeByIndex(g);if(d.eachNode((function(t){l(t,i,.1)})),d.eachEdge((function(t){l(t,o,.1)})),v){u(v,r);var y=f.get("focusNodeAdjacency");"outEdges"===y?n.each(v.outEdges,(function(t){t.dataIndex<0||(u(t,a),u(t.node2,r))})):"inEdges"===y?n.each(v.inEdges,(function(t){t.dataIndex<0||(u(t,a),u(t.node1,r))})):"allEdges"===y&&n.each(v.edges,(function(t){t.dataIndex<0||(u(t,a),t.node1!==v&&u(t.node1,r),t.node2!==v&&u(t.node2,r))}))}m&&(u(m,a),u(m.node1,r),u(m.node2,r))}},unfocusNodeAdjacency:function(t,e,n,r){var a=t.getGraph();a.eachNode((function(t){l(t,i)})),a.eachEdge((function(t){l(t,o)}))}});function d(e,n,i){var r=new t.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return t.initProps(r,{shape:{width:e.width+20}},n,i),r}x3=c}(),function(){if(b3)return A3;b3=1;var t=s$();G2(),t.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},(function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])}))}))}();var e=D3(),n=L3();t.registerLayout(e),t.registerVisual(n)}(),function(){if(F3)return G3;F3=1;var t=s$();(function(){if(O3)return P3;O3=1;var t=bW(),e=tq(),n=W3().seriesModelMixin,i=e.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});t.mixin(i,n,!0),P3=i})(),function(){if(N3)return R3;N3=1;var t=bW(),e=iq(),n=zX(),i=PZ(),r=["itemStyle"],o=["emphasis","itemStyle"],a=e.extend({type:"boxplot",render:function(t,e,n){var i=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.get("layout")?1:0;i.diff(o).add((function(t){if(i.hasValue(t)){var e=l(i.getItemLayout(t),i,t,a,!0);i.setItemGraphicEl(t,e),r.add(e)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?u(s,n,i,t):n=l(s,i,t,a),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=i},remove:function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},dispose:t.noop}),s=i.extend({type:"boxplotBoxPath",shape:{},buildPath:function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();i0?"P":"N",a=i.getVisual("borderColor"+r)||i.getVisual("color"+r),l=n.getModel(o).getItemStyle(s);e.useStyle(l),e.style.fill=null,e.style.stroke=a}var m=l;j3=m}();var e=function(){if($3)return K3;$3=1;var t=bW();function e(e){e&&t.isArray(e.series)&&t.each(e.series,(function(e){t.isObject(e)&&"k"===e.type&&(e.type="candlestick")}))}return K3=e}(),n=r4(),i=o4();t.registerPreprocessor(e),t.registerVisual(n),t.registerLayout(i)}(),function(){if(d4)return z4;d4=1;var t=s$();(function(){if(s4)return a4;s4=1;var t=hK(),e=tq(),n=e.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(e,n){return t(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});a4=n})(),function(){if(c4)return h4;c4=1;var t=s$(),e=x$(),n=function(){if(u4)return l4;u4=1;var t=bW(),e=HK().createSymbol,n=zX().Group,i=YX().parsePercent,r=y$(),o=3;function a(e){return t.isArray(e)||(e=[+e,+e]),e}function s(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}function l(t,e){n.call(this);var i=new r(t,e),o=new n;this.add(i),this.add(o),o.beforeUpdate=function(){this.attr(i.getScale())},this.updateData(t,e)}var u=l.prototype;u.stopEffectAnimation=function(){this.childAt(1).removeAll()},u.startEffectAnimation=function(t){for(var n=t.symbolType,i=t.color,r=this.childAt(1),a=0;a "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}});p4=h})(),function(){if(T4)return I4;T4=1,cW().__DEV__;var t=s$(),e=w2(),n=B4(),i=b2(),r=F4(),o=function(){if(_4)return x4;_4=1;var t=F4(),e=bW(),n=B4(),i=AW();function r(t,e,i){n.call(this,t,e,i),this._lastFrame=0,this._lastFramePercent=0}var o=r.prototype;o.createLine=function(e,n,i){return new t(e,n,i)},o.updateAnimationPoints=function(t,e){this._points=e;for(var n=[0],r=0,o=1;o=0&&!(r[s]<=e);s--);s=Math.min(s,o-2)}else{for(var s=a;se);s++);s=Math.min(s-1,o-2)}i.lerp(t.position,n[s],n[s+1],(e-r[s])/(r[s+1]-r[s]));var l=n[s+1][0]-n[s][0],u=n[s+1][1]-n[s][1];t.rotation=-Math.atan2(u,l)-Math.PI/2,this._lastFrame=s,this._lastFramePercent=e,t.ignore=!1}},e.inherits(r,n);var a=r;return x4=a}(),a=function(){if(w4)return b4;w4=1;var t=zX(),e=EX(),n=QY(),i=oZ(),r=t.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(t,e){var n=e.segs,i=e.curveness;if(e.polyline)for(var r=0;r0){t.moveTo(n[r++],n[r++]);for(var a=1;a0){var c=(s+u)/2-(l-h)*i,d=(l+h)/2-(u-s)*i;t.quadraticCurveTo(c,d,u,h)}else t.lineTo(u,h)}},findDataIndex:function(t,e){var r=this.shape,o=r.segs,a=r.curveness;if(r.polyline)for(var s=0,l=0;l0)for(var h=o[l++],c=o[l++],d=1;d0){var g=(h+p)/2-(c-f)*a,v=(c+f)/2-(p-h)*a;if(i.containStroke(h,c,g,v,p,f))return s}else if(n.containStroke(h,c,p,f))return s;s++}return-1}});function o(){this.group=new t.Group}var a=o.prototype;a.isPersistent=function(){return!this._incremental},a.updateData=function(t){this.group.removeAll();var e=new r({rectHover:!0,cursor:"default"});e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},a.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>5e5?(this._incremental||(this._incremental=new e({silent:!0})),this.group.add(this._incremental)):this._incremental=null},a.incrementalUpdate=function(t,e){var n=new r;n.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(n,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=t.start,this.group.add(n))},a.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},a._setCommon=function(t,e,n){var i=e.hostModel;t.setShape({polyline:i.get("polyline"),curveness:i.get("lineStyle.curveness")}),t.useStyle(i.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var r=e.getVisual("color");r&&t.setStyle("stroke",r),t.setStyle("fill"),n||(t.seriesIndex=i.seriesIndex,t.on("mousemove",(function(e){t.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>0&&(t.dataIndex=n+t.__startIndex)})))},a._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var s=o;return b4=s}(),s=G4(),l=B$().createClipPath,u=t.extendChartView({type:"lines",init:function(){},render:function(t,e,n){var i=t.getData(),r=this._updateLineDraw(i,t),o=t.get("zlevel"),a=t.get("effect.trailLength"),s=n.getZr(),u="svg"===s.painter.getType();u||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||u||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&a&&(u||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var h=t.get("clip",!0)&&l(t.coordinateSystem,!1,t);h?this.group.setClipPath(h):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},incrementalPrepareRender:function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},incrementalRender:function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=s.reset(t);o.progress&&o.progress({start:0,end:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},_updateLineDraw:function(t,s){var l=this._lineDraw,u=this._showEffect(s),h=!!s.get("polyline"),c=s.pipelineContext.large;return l&&u===this._hasEffet&&h===this._isPolyline&&c===this._isLargeDraw||(l&&l.remove(),l=this._lineDraw=c?new a:new e(h?u?o:r:u?n:i),this._hasEffet=u,this._isPolyline=h,this._isLargeDraw=c,this.group.removeAll()),this.group.add(l.group),l},_showEffect:function(t){return!!t.get("effect.show")},_clearLayer:function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},dispose:function(){}});I4=u}();var e=G4(),n=H4();t.registerLayout(e),t.registerVisual(n)}(),E4||(E4=1,function(){if(k4)return L4;k4=1;var t=tq(),e=hK(),n=Oj(),i=t.extend({type:"series.heatmap",getInitialData:function(t,n){return e(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var t=n.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});L4=i}(),function(){if(N4)return R4;N4=1,cW().__DEV__;var t=s$(),e=zX(),n=W4(),i=bW();function r(t,e,n){var r=t[1]-t[0],o=(e=i.map(e,(function(e){return{interval:[(e.interval[0]-t[0])/r,(e.interval[1]-t[0])/r]}}))).length,a=0;return function(t){for(var i=a;i=0;i--){var r;if((r=e[i].interval)[0]<=t&&t<=r[1]){a=i;break}}return i>=0&&i=e[0]&&t<=e[1]}}function a(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var s=t.extendChartView({type:"heatmap",render:function(t,e,n){var i;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):a(r)&&this._renderOnGeo(r,t,i,n)},incrementalPrepareRender:function(t,e,n){this.group.removeAll()},incrementalRender:function(t,e,n,i){e.coordinateSystem&&this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)},_renderOnCartesianAndCalendar:function(t,n,r,o,a){var s,l,u=t.coordinateSystem;if("cartesian2d"===u.type){var h=u.getAxis("x"),c=u.getAxis("y");s=h.getBandWidth(),l=c.getBandWidth()}for(var d=this.group,p=t.getData(),f="itemStyle",g="emphasis.itemStyle",v="label",m="emphasis.label",y=t.getModel(f).getItemStyle(["color"]),x=t.getModel(g).getItemStyle(),_=t.getModel(v),b=t.getModel(m),w=u.type,S="cartesian2d"===w?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],M=r;M0?1:a<0?-1:0}function f(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function g(t,n,i,r,a,s,l,u,h,c){var d=h.valueDim,p=h.categoryDim,f=Math.abs(i[p.wh]),g=t.getItemVisual(n,"symbolSize");e.isArray(g)?g=g.slice():(null==g&&(g="100%"),g=[g,g]),g[p.index]=o(g[p.index],f),g[d.index]=o(g[d.index],r?f:Math.abs(s)),c.symbolSize=g,(c.symbolScale=[g[0]/u,g[1]/u])[d.index]*=(h.isHorizontal?-1:1)*l}function v(t,e,n,i,r){var o=t.get(l)||0;o&&(h.attr({scale:e.slice(),rotation:n}),h.updateTransform(),o/=h.getLineScale(),o*=e[i.valueDim.index]),r.valueLineWidth=o}function m(t,n,i,r,s,l,u,h,c,d,p,f){var g=p.categoryDim,v=p.valueDim,m=f.pxSign,y=Math.max(n[v.index]+h,0),x=y;if(r){var _=Math.abs(c),b=e.retrieve(t.get("symbolMargin"),"15%")+"",w=!1;b.lastIndexOf("!")===b.length-1&&(w=!0,b=b.slice(0,b.length-1)),b=o(b,n[v.index]);var S=Math.max(y+2*b,0),M=w?0:2*b,I=a(r),T=I?r:R((_+M)/S);S=y+2*(b=(_-T*y)/2/(w?T:T-1)),M=w?0:2*b,I||"fixed"===r||(T=d?R((Math.abs(d)+M)/S):0),x=T*S-M,f.repeatTimes=T,f.symbolMargin=b}var C=m*(x/2),A=f.pathPosition=[];A[g.index]=i[g.wh]/2,A[v.index]="start"===u?C:"end"===u?c-C:c/2,l&&(A[0]+=l[0],A[1]+=l[1]);var D=f.bundlePosition=[];D[g.index]=i[g.xy],D[v.index]=i[v.xy];var L=f.barRectShape=e.extend({},i);L[v.wh]=m*Math.max(Math.abs(i[v.wh]),Math.abs(A[v.index]+C)),L[g.wh]=i[g.wh];var k=f.clipShape={};k[g.xy]=-i[g.xy],k[g.wh]=p.ecSize[g.wh],k[v.xy]=0,k[v.wh]=i[v.wh]}function y(t){var e=t.symbolPatternSize,n=i(t.symbolType,-e/2,-e/2,e,e,t.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function x(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,h=0,c=o[e.valueDim.index]+a+2*n.symbolMargin;for(k(t,(function(t){t.__pictorialAnimationIndex=h,t.__pictorialRepeatTimes=u,h0:i<0)&&(r=u-1-t),e[l.index]=c*(r-u/2+.5)+s[l.index],{position:e,scale:n.symbolScale.slice(),rotation:n.rotation}}function g(){k(t,(function(t){t.trigger("emphasis")}))}function v(){k(t,(function(t){t.trigger("normal")}))}}function _(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;function a(){this.trigger("emphasis")}function s(){this.trigger("normal")}o?P(o,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,i):(o=t.__pictorialMainPath=y(n),r.add(o),P(o,{position:n.pathPosition.slice(),scale:[0,0],rotation:n.rotation},{scale:n.symbolScale.slice()},n,i),o.on("mouseover",a).on("mouseout",s)),T(o,n)}function b(t,i,r){var o=e.extend({},i.barRectShape),a=t.__pictorialBarRect;a?P(a,null,{shape:o},i,r):(a=t.__pictorialBarRect=new n.Rect({z2:2,shape:o,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(a))}function w(t,i,r,o){if(r.symbolClip){var a=t.__pictorialClipPath,s=e.extend({},r.clipShape),l=i.valueDim,u=r.animationModel,h=r.dataIndex;if(a)n.updateProps(a,{shape:s},u,h);else{s[l.wh]=0,a=new n.Rect({shape:s}),t.__pictorialBundle.setClipPath(a),t.__pictorialClipPath=a;var c={};c[l.wh]=r.clipShape[l.wh],n[o?"updateProps":"initProps"](a,{shape:c},u,h)}}}function S(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=M,n.isAnimationEnabled=I,n}function M(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function I(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function T(t,e){t.off("emphasis").off("normal");var n=e.symbolScale.slice();e.hoverAnimation&&t.on("emphasis",(function(){this.animateTo({scale:[1.1*n[0],1.1*n[1]]},400,"elasticOut")})).on("normal",(function(){this.animateTo({scale:n.slice()},400,"elasticOut")}))}function C(t,e,i,r){var o=new n.Group,a=new n.Group;return o.add(a),o.__pictorialBundle=a,a.attr("position",i.bundlePosition.slice()),i.symbolRepeat?x(o,e,i):_(o,e,i),b(o,i,r),w(o,e,i,r),o.__pictorialShapeStr=L(t,i),o.__pictorialSymbolMeta=i,o}function A(t,e,i){var r=i.animationModel,o=i.dataIndex,a=t.__pictorialBundle;n.updateProps(a,{position:i.bundlePosition.slice()},r,o),i.symbolRepeat?x(t,e,i,!0):_(t,e,i,!0),b(t,i,!0),w(t,e,i,!0)}function D(t,i,r,o){var a=o.__pictorialBarRect;a&&(a.style.text=null);var s=[];k(o,(function(t){s.push(t)})),o.__pictorialMainPath&&s.push(o.__pictorialMainPath),o.__pictorialClipPath&&(r=null),e.each(s,(function(t){n.updateProps(t,{scale:[0,0]},r,i,(function(){o.parent&&o.parent.remove(o)}))})),t.setItemGraphicEl(i,null)}function L(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function k(t,n,i){e.each(t.__pictorialBundle.children(),(function(e){e!==t.__pictorialBarRect&&n.call(i,e)}))}function P(t,e,i,r,o,a){e&&t.attr(e),r.symbolClip&&!o?i&&t.attr(i):i&&n[o?"updateProps":"initProps"](t,i,r.animationModel,r.dataIndex,a)}function O(t,i,r){var o=r.color,a=r.dataIndex,l=r.itemModel,u=l.getModel("itemStyle").getItemStyle(["color"]),h=l.getModel("emphasis.itemStyle").getItemStyle(),c=l.getShallow("cursor");k(t,(function(t){t.setColor(o),t.setStyle(e.defaults({fill:o,opacity:r.opacity},u)),n.setHoverStyle(t,h),c&&(t.cursor=c),t.z2=r.z2}));var d={},p=i.valueDim.posDesc[+(r.boundingLength>0)],f=t.__pictorialBarRect;s(f.style,d,l,o,i.seriesModel,a,p),n.setHoverStyle(f,d)}function R(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var N=c;Z4=N}();var n=NK().layout,i=F$();OJ(),t.registerLayout(e.curry(n,"pictorialBar")),t.registerVisual(i("pictorialBar","roundRect"))}(),function(){if(U6)return e6;U6=1;var t=s$();q6(),function(){if(z6)return E6;z6=1;var t=tq(),e=nK(),n=Jq().getDimensionTypeByAxis,i=tK(),r=bW(),o=AY().groupData,a=ij().encodeHTML,s=bQ(),l=2,u=t.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){u.superApply(this,"init",arguments),this.legendVisualProvider=new s(r.bind(this.getData,this),r.bind(this.getRawData,this))},fixData:function(t){var e=t.length,n={},i=o(t,(function(t){return n.hasOwnProperty(t[0])||(n[t[0]]=-1),t[2]})),r=[];i.buckets.each((function(t,e){r.push({name:e,dataList:t})}));for(var a=r.length,s=0;so&&(o=u),i.push(u)}for(var h=0;ho&&(o=d)}return a.y0=r,a.max=o,a}return F6=n}(),n=K6(),i=TQ();t.registerLayout(e),t.registerVisual(n),t.registerProcessor(i("themeRiver"))}(),function(){if(a8)return s8;a8=1;var t=s$(),e=bW();(function(){if(J6)return $6;J6=1;var t=bW(),e=tq(),n=x1(),i=VX(),r=F1().wrapTreePathInfo,o=e.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(e,r){var o={name:e.name,children:e.data};a(o);var s=t.map(e.levels||[],(function(t){return new i(t,this,r)}),this),l=n.createTree(o,this,u);function u(t){t.wrapMethod("getItemModel",(function(t,e){var n=l.getNodeByDataIndex(e),i=s[n.depth];return i&&(t.parentModel=i),t}))}return l.data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(t){var n=e.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(t);return n.treePathInfo=r(i,this),n},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)}});function a(e){var n=0;t.each(e.children,(function(e){a(e);var i=e.value;t.isArray(i)&&(i=i[0]),n+=i}));var i=e.value;t.isArray(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=n),i<0&&(i=0),t.isArray(e.value)?e.value[0]=i:e.value=i}$6=o})(),function(){if(n8)return e8;n8=1;var t=bW(),e=iq(),n=function(){if(t8)return Q6;t8=1;var t=bW(),e=zX(),n={NONE:"none",ANCESTOR:"ancestor",SELF:"self"},i=2,r=4;function o(t,n,o){e.Group.call(this);var a=new e.Sector({z2:i});a.seriesIndex=n.seriesIndex;var s=new e.Text({z2:r,silent:t.getModel("label").get("silent")});function l(){s.ignore=s.hoverIgnore}function u(){s.ignore=s.normalIgnore}this.add(a),this.add(s),this.updateData(!0,t,"normal",n,o),this.on("emphasis",l).on("normal",u).on("mouseover",l).on("mouseout",u)}var a=o.prototype;a.updateData=function(n,i,r,o,a){this.node=i,i.piece=this,o=o||this._seriesModel,a=a||this._ecModel;var s=this.childAt(0);s.dataIndex=i.dataIndex;var u=i.getModel(),h=i.getLayout(),d=t.extend({},h);d.label=null;var p=l(i,o,a);c(i,o,p);var f,g=u.getModel("itemStyle").getItemStyle();if("normal"===r)f=g;else{var v=u.getModel(r+".itemStyle").getItemStyle();f=t.merge(v,g)}f=t.defaults({lineJoin:"bevel",fill:f.fill||p},f),n?(s.setShape(d),s.shape.r=h.r0,e.updateProps(s,{shape:{r:h.r}},o,i.dataIndex),s.useStyle(f)):"object"==typeof f.fill&&f.fill.type||"object"==typeof s.style.fill&&s.style.fill.type?(e.updateProps(s,{shape:d},o),s.useStyle(f)):e.updateProps(s,{shape:d,style:f},o),this._updateLabel(o,p,r);var m=u.getShallow("cursor");if(m&&s.attr("cursor",m),n){var y=o.getShallow("highlightPolicy");this._initEvents(s,i,o,y)}this._seriesModel=o||this._seriesModel,this._ecModel=a||this._ecModel,e.setHoverStyle(this)},a.onEmphasis=function(t){var e=this;this.node.hostTree.root.eachNode((function(i){i.piece&&(e.node===i?i.piece.updateData(!1,i,"emphasis"):h(i,e.node,t)?i.piece.childAt(0).trigger("highlight"):t!==n.NONE&&i.piece.childAt(0).trigger("downplay"))}))},a.onNormal=function(){this.node.hostTree.root.eachNode((function(t){t.piece&&t.piece.updateData(!1,t,"normal")}))},a.onHighlight=function(){this.updateData(!1,this.node,"highlight")},a.onDownplay=function(){this.updateData(!1,this.node,"downplay")},a._updateLabel=function(n,i,r){var o=this.node.getModel(),a=o.getModel("label"),s="normal"===r||"emphasis"===r?a:o.getModel(r+".label"),l=o.getModel("emphasis.label"),u=s.get("formatter")?r:"normal",h=t.retrieve(n.getFormattedLabel(this.node.dataIndex,u,null,null,"label"),this.node.name);!1===T("show")&&(h="");var c=this.node.getLayout(),d=s.get("minAngle");null==d&&(d=a.get("minAngle")),d=d/180*Math.PI;var p=c.endAngle-c.startAngle;null!=d&&Math.abs(p)Math.PI/2?"right":"left"):b&&"center"!==b?"left"===b?(g=c.r0+_,v>Math.PI/2&&(b="right")):"right"===b&&(g=c.r-_,v>Math.PI/2&&(b="left")):(g=(c.r+c.r0)/2,b="center"),f.attr("style",{text:h,textAlign:b,textVerticalAlign:T("verticalAlign")||"middle",opacity:T("opacity")});var w=g*m+c.cx,S=g*y+c.cy;f.attr("position",[w,S]);var M=T("rotate"),I=0;function T(t){var e=s.get(t);return null==e?a.get(t):e}"radial"===M?(I=-v)<-Math.PI/2&&(I+=Math.PI):"tangential"===M?(I=Math.PI/2-v)>Math.PI/2?I-=Math.PI:I<-Math.PI/2&&(I+=Math.PI):"number"==typeof M&&(I=M*Math.PI/180),f.attr("rotation",I)},a._initEvents=function(t,e,n,i){t.off("mouseover").off("mouseout").off("emphasis").off("normal");var r=this,o=function(){r.onEmphasis(i)},a=function(){r.onNormal()},s=function(){r.onDownplay()},l=function(){r.onHighlight()};n.isAnimationEnabled()&&t.on("mouseover",o).on("mouseout",a).on("emphasis",o).on("normal",a).on("downplay",s).on("highlight",l)},t.inherits(o,e.Group);var s=o;function l(t,e,n){var i=t.getVisual("color"),r=t.getVisual("visualMeta");r&&0!==r.length||(i=null);var o=t.getModel("itemStyle").get("color");if(o)return o;if(i)return i;if(0===t.depth)return n.option.color[0];var a=n.option.color.length;return o=n.option.color[u(t)%a]}function u(e){for(var n=e;n.depth>1;)n=n.parentNode;var i=e.getAncestors()[0];return t.indexOf(i.children,n)}function h(t,e,i){return i!==n.NONE&&(i===n.SELF?t===e:i===n.ANCESTOR?t===e||t.isAncestorOf(e):t===e||t.isDescendantOf(e))}function c(t,e,n){e.getData().setItemVisual(t.dataIndex,"color",n)}return Q6=s}(),i=Gq(),r=ij().windowOpen,o="sunburstRootToNode",a=e.extend({type:"sunburst",init:function(){},render:function(e,r,o,a){var s=this;this.seriesModel=e,this.api=o,this.ecModel=r;var l=e.getData(),u=l.tree.root,h=e.getViewRoot(),c=this.group,d=e.get("renderLabelForZeroData"),p=[];h.eachNode((function(t){p.push(t)}));var f=this._oldChildren||[];if(m(p,f),_(u,h),a&&a.highlight&&a.highlight.piece){var g=e.getShallow("highlightPolicy");a.highlight.piece.onEmphasis(g)}else if(a&&a.unhighlight){var v=this.virtualPiece;!v&&u.children.length&&(v=u.children[0].piece),v&&v.onNormal()}function m(e,n){function r(t){return t.getId()}function o(t,i){y(null==t?null:e[t],null==i?null:n[i])}0===e.length&&0===n.length||new i(n,e,r,r).add(o).update(o).remove(t.curry(o,null)).execute()}function y(t,i){if(d||!t||t.getValue()||(t=null),t!==u&&i!==u)if(i&&i.piece)t?(i.piece.updateData(!1,t,"normal",e,r),l.setItemGraphicEl(t.dataIndex,i.piece)):x(i);else if(t){var o=new n(t,e,r);c.add(o),l.setItemGraphicEl(t.dataIndex,o)}}function x(t){t&&t.piece&&(c.remove(t.piece),t.piece=null)}function _(t,i){if(i.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,t,"normal",e,r):(s.virtualPiece=new n(t,e,r),c.add(s.virtualPiece)),i.piece._onclickEvent&&i.piece.off("click",i.piece._onclickEvent);var o=function(t){s._rootToNode(i.parentNode)};i.piece._onclickEvent=o,s.virtualPiece.on("click",o)}else s.virtualPiece&&(c.remove(s.virtualPiece),s.virtualPiece=null)}this._initEvents(),this._oldChildren=p},dispose:function(){},_initEvents:function(){var t=this,e=function(e){var n=!1;t.seriesModel.getViewRoot().eachNode((function(i){if(!n&&i.piece&&i.piece.childAt(0)===e.target){var o=i.getModel().get("nodeClick");if("rootToNode"===o)t._rootToNode(i);else if("link"===o){var a=i.getModel(),s=a.get("link");if(s){var l=a.get("target",!0)||"_blank";r(s,l)}}n=!0}}))};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",e),this.group._onclickEvent=e},_rootToNode:function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:o,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},containPoint:function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}}}),s=a;e8=s}(),function(){if(i8)return l8;i8=1;var t=s$(),e=F1(),n="sunburstRootToNode";t.registerAction({type:n,update:"updateView"},(function(t,i){function r(i,r){var o=e.retrieveTargetInfo(t,[n],i);if(o){var a=i.getViewRoot();a&&(t.direction=e.aboveViewRoot(a,o.node)?"rollUp":"drillDown"),i.resetViewRoot(o.node)}}i.eachComponent({mainType:"series",subType:"sunburst",query:t},r)}));var i="sunburstHighlight";t.registerAction({type:i,update:"updateView"},(function(t,n){function r(n,r){var o=e.retrieveTargetInfo(t,[i],n);o&&(t.highlight=o.node)}n.eachComponent({mainType:"series",subType:"sunburst",query:t},r)}));var r="sunburstUnhighlight";t.registerAction({type:r,update:"updateView"},(function(t,e){function n(e,n){t.unhighlight=!0}e.eachComponent({mainType:"series",subType:"sunburst",query:t},n)}))}();var n=SQ(),i=u8(),r=TQ();t.registerVisual(e.curry(n,"sunburst")),t.registerLayout(e.curry(i,"sunburst")),t.registerProcessor(e.curry(r,"sunburst"))}(),function(){if(_8)return M8;_8=1,cW().__DEV__;var t=bW(),e=zX(),n=m$().getDefaultLabel,i=hK(),r=NK().getLayoutOnAxis,o=Gq(),a=tq(),s=VX(),l=iq(),u=B$().createClipPath,h=function(){if(c8)return h8;c8=1;var t=bW();function e(e,n){return n=n||[0,0],t.map(["x","y"],(function(t,i){var r=this.getAxis(t),o=n[i],a=e[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))}),this)}function n(n){var i=n.grid.getRect();return{coordSys:{type:"cartesian2d",x:i.x,y:i.y,width:i.width,height:i.height},api:{coord:function(t){return n.dataToPoint(t)},size:t.bind(e,n)}}}return h8=n}(),c=function(){if(p8)return d8;p8=1;var t=bW();function e(e,n){return n=n||[0,0],t.map([0,1],(function(t){var i=n[t],r=e[t]/2,o=[],a=[];return o[t]=i-r,a[t]=i+r,o[1-t]=a[1-t]=n[1-t],Math.abs(this.dataToPoint(o)[t]-this.dataToPoint(a)[t])}),this)}function n(n){var i=n.getBoundingRect();return{coordSys:{type:"geo",x:i.x,y:i.y,width:i.width,height:i.height,zoom:n.getZoom()},api:{coord:function(t){return n.dataToPoint(t)},size:t.bind(e,n)}}}return d8=n}(),d=function(){if(g8)return f8;g8=1;var t=bW();function e(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function n(n){var i=n.getRect();return{coordSys:{type:"singleAxis",x:i.x,y:i.y,width:i.width,height:i.height},api:{coord:function(t){return n.dataToPoint(t)},size:t.bind(e,n)}}}return f8=n}(),p=function(){if(m8)return v8;m8=1;var t=bW();function e(e,n){return t.map(["Radius","Angle"],(function(t,i){var r=this["get"+t+"Axis"](),o=n[i],a=e[i]/2,s="dataTo"+t,l="category"===r.type?r.getBandWidth():Math.abs(r[s](o-a)-r[s](o+a));return"Angle"===t&&(l=l*Math.PI/180),l}),this)}function n(n){var i=n.getRadiusAxis(),r=n.getAngleAxis(),o=i.getExtent();return o[0]>o[1]&&o.reverse(),{coordSys:{type:"polar",cx:n.cx,cy:n.cy,r:o[1],r0:o[0]},api:{coord:t.bind((function(t){var e=i.dataToRadius(t[0]),o=r.dataToAngle(t[1]),a=n.coordToPoint([e,o]);return a.push(e,o*Math.PI/180),a})),size:t.bind(e,n)}}}return v8=n}(),f=function(){if(x8)return y8;function t(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}return x8=1,y8=t}(),g=e.CACHED_LABEL_STYLE_PROPERTIES,v=["itemStyle"],m=["emphasis","itemStyle"],y=["label"],x=["emphasis","label"],_="e\0\0",b={cartesian2d:h,geo:c,singleAxis:d,polar:p,calendar:f};function w(t){var n,i=t.type;if("path"===i){var r=t.shape,o=null!=r.width&&null!=r.height?{x:r.x||0,y:r.y||0,width:r.width,height:r.height}:null,a=E(r);(n=e.makePath(a,null,o,r.layout||"center")).__customPathData=a}else if("image"===i)(n=new e.Image({})).__customImagePath=t.style.image;else if("text"===i)(n=new e.Text({})).__customText=t.style.text;else if("group"===i)n=new e.Group;else{if("compoundPath"===i)throw new Error('"compoundPath" is not supported yet.');n=new(e.getShapeClass(i))}return n.__customGraphicType=i,n.name=t.name,n}function S(n,i,r,o,a,s,l){var u={},h=r.style||{};if(r.shape&&(u.shape=t.clone(r.shape)),r.position&&(u.position=r.position.slice()),r.scale&&(u.scale=r.scale.slice()),r.origin&&(u.origin=r.origin.slice()),r.rotation&&(u.rotation=r.rotation),"image"===n.type&&r.style){var c=u.style={};t.each(["x","y","width","height"],(function(t){M(t,c,h,n.style,s)}))}if("text"===n.type&&r.style&&(c=u.style={},t.each(["x","y"],(function(t){M(t,c,h,n.style,s)})),!h.hasOwnProperty("textFill")&&h.fill&&(h.textFill=h.fill),!h.hasOwnProperty("textStroke")&&h.stroke&&(h.textStroke=h.stroke)),"group"!==n.type&&(n.useStyle(h),s)){n.style.opacity=0;var d=h.opacity;null==d&&(d=1),e.initProps(n,{style:{opacity:d}},o,i)}s?n.attr(u):e.updateProps(n,u,o,i),r.hasOwnProperty("z2")&&n.attr("z2",r.z2||0),r.hasOwnProperty("silent")&&n.attr("silent",r.silent),r.hasOwnProperty("invisible")&&n.attr("invisible",r.invisible),r.hasOwnProperty("ignore")&&n.attr("ignore",r.ignore),r.hasOwnProperty("info")&&n.attr("info",r.info);var p=r.styleEmphasis;e.setElementHoverStyle(n,p),l&&e.setAsHighDownDispatcher(n,!1!==p)}function M(t,e,n,i,r){null==n[t]||r||(e[t]=n[t],n[t]=i[t])}function I(i,o,a,s){var l=i.get("renderItem"),u=i.coordinateSystem,h={};u&&(h=u.prepareCustoms?u.prepareCustoms():b[u.type](u));var c,d,p,f,g,_=t.defaults({getWidth:s.getWidth,getHeight:s.getHeight,getZr:s.getZr,getDevicePixelRatio:s.getDevicePixelRatio,value:I,style:C,styleEmphasis:A,visual:D,barLayout:L,currentSeriesIndices:k,font:P},h.api||{}),w={context:{},seriesId:i.id,seriesName:i.name,seriesIndex:i.seriesIndex,coordSys:h.coordSys,dataInsideLength:o.count(),encode:T(i.getData())},S=!0;return function(e,n){return c=e,S=!0,l&&l(t.defaults({dataIndexInside:e,dataIndex:o.getRawIndex(e),actionType:n?n.type:null},w),_)};function M(t){null==t&&(t=c),S&&(d=o.getItemModel(t),p=d.getModel(y),f=d.getModel(x),g=o.getItemVisual(t,"color"),S=!1)}function I(t,e){return null==e&&(e=c),o.get(o.getDimension(t||0),e)}function C(r,a){null==a&&(a=c),M(a);var s=d.getModel(v).getItemStyle();null!=g&&(s.fill=g);var l=o.getItemVisual(a,"opacity");null!=l&&(s.opacity=l);var u=r?O(r,p):p;return e.setTextStyle(s,u,null,{autoColor:g,isRectText:!0}),s.text=u.getShallow("show")?t.retrieve2(i.getFormattedLabel(a,"normal"),n(o,a)):null,r&&R(s,r),s}function A(r,a){null==a&&(a=c),M(a);var s=d.getModel(m).getItemStyle(),l=r?O(r,f):f;return e.setTextStyle(s,l,null,{isRectText:!0},!0),s.text=l.getShallow("show")?t.retrieve3(i.getFormattedLabel(a,"emphasis"),i.getFormattedLabel(a,"normal"),n(o,a)):null,r&&R(s,r),s}function D(t,e){return null==e&&(e=c),o.getItemVisual(e,t)}function L(e){if(u.getBaseAxis){var n=u.getBaseAxis();return r(t.defaults({axis:n},e),s)}}function k(){return a.getCurrentSeriesIndices()}function P(t){return e.getFont(t,a)}}function T(e){var n={};return t.each(e.dimensions,(function(t,i){var r=e.getDimensionInfo(t);if(!r.isExtraCoord){var o=r.coordDim;(n[o]=n[o]||[])[r.coordDimIndex]=i}})),n}function C(t,e,n,i,r,o){return(t=A(t,e,n,i,r,o,!0))&&o.setItemGraphicEl(e,t),t}function A(t,e,n,i,r,o,a){var s=!n,l=(n=n||{}).type,u=n.shape,h=n.style;if(t&&(s||null!=l&&l!==t.__customGraphicType||"path"===l&&z(u)&&E(u)!==t.__customPathData||"image"===l&&V(h,"image")&&h.image!==t.__customImagePath||"text"===l&&V(u,"text")&&h.text!==t.__customText)&&(r.remove(t),t=null),!s){var c=!t;return!t&&(t=w(n)),S(t,e,n,i,o,c,a),"group"===l&&D(t,e,n,i,o),r.add(t),t}}function D(t,e,n,i,r){var o=n.children,a=o?o.length:0,s=n.$mergeChildren,l="byName"===s||n.diffChildrenByName,u=!1===s;if(a||l||u)if(l)L({oldChildren:t.children()||[],newChildren:o||[],dataIndex:e,animatableModel:i,group:t,data:r});else{u&&t.removeAll();for(var h=0;he[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function s(t){return t.getRadiusAxis().inverse?0:1}function l(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var u=i.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(e,n){if(this.group.removeAll(),e.get("show")){var i=e.axis,r=i.polar,a=r.getRadiusAxis().getExtent(),s=i.getTicksCoords(),u=i.getMinorTicksCoords(),h=t.map(i.getViewLabels(),(function(e){return(e=t.clone(e)).coord=i.dataToCoord(e.tickValue),e}));l(h),l(s),t.each(o,(function(t){!e.get(t+".show")||i.scale.isBlank()&&"axisLine"!==t||this["_"+t](e,r,s,u,a,h)}),this)}},_axisLine:function(t,n,i,r,o){var a,l=t.getModel("axisLine.lineStyle"),u=s(n),h=u?0:1;(a=0===o[h]?new e.Circle({shape:{cx:n.cx,cy:n.cy,r:o[u]},style:l.getLineStyle(),z2:1,silent:!0}):new e.Ring({shape:{cx:n.cx,cy:n.cy,r:o[u],r0:o[h]},style:l.getLineStyle(),z2:1,silent:!0})).style.fill=null,this.group.add(a)},_axisTick:function(n,i,r,o,l){var u=n.getModel("axisTick"),h=(u.get("inside")?-1:1)*u.get("length"),c=l[s(i)],d=t.map(r,(function(t){return new e.Line({shape:a(i,[c,c+h],t.coord)})}));this.group.add(e.mergePath(d,{style:t.defaults(u.getModel("lineStyle").getLineStyle(),{stroke:n.get("axisLine.lineStyle.color")})}))},_minorTick:function(n,i,r,o,l){if(o.length){for(var u=n.getModel("axisTick"),h=n.getModel("minorTick"),c=(u.get("inside")?-1:1)*h.get("length"),d=l[s(i)],p=[],f=0;fm?"left":"right",_=Math.abs(v[1]-y)/g<.3?"middle":v[1]>y?"top":"bottom";c&&c[h]&&c[h].textStyle&&(l=new n(c[h].textStyle,d,d.ecModel));var b=new e.Text({silent:r.isLabelSilent(i)});this.group.add(b),e.setTextStyle(b.style,l,{x:v[0],y:v[1],textFill:l.getTextColor()||i.get("axisLine.lineStyle.color"),text:t.formattedLabel,textAlign:x,textVerticalAlign:_}),f&&(b.eventData=r.makeAxisEventDataBase(i),b.eventData.targetType="axisLabel",b.eventData.value=t.rawLabel)}),this)},_splitLine:function(n,i,r,o,s){var l=n.getModel("splitLine").getModel("lineStyle"),u=l.get("color"),h=0;u=u instanceof Array?u:[u];for(var c=[],d=0;dx?"left":"right",p=Math.abs(c[1]-_)/y<.3?"middle":c[1]>_?"top":"bottom"}return{position:c,align:d,verticalAlign:p}}var u={line:function(t,e,n,r,o){return"angle"===t.dim?{type:"Line",shape:i.makeLineShape(e.coordToPoint([r[0],n]),e.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,r,o){var a=Math.max(1,t.getBandWidth()),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:i.makeSectorShape(e.cx,e.cy,r[0],r[1],(-n-a/2)*s,(a/2-n)*s)}:{type:"Sector",shape:i.makeSectorShape(e.cx,e.cy,n-a/2,n+a/2,0,2*Math.PI)}}};a.registerAxisPointerClass("PolarAxisPointer",s);var h=s;Y8=h}(),t.registerLayout(e.curry(n,"bar")),t.extendComponentView({type:"polar"})}(),function(){if(e7)return p7;e7=1;var t=s$(),e=bW();function n(n,i){i.update="updateView",t.registerAction(i,(function(t,i){var r={};return i.eachComponent({mainType:"geo",query:t},(function(i){i[n](t.name);var o=i.coordinateSystem;e.each(o.regions,(function(t){r[t.name]=i.isSelected(t.name)||!1}))})),{selected:r,name:t.name}}))}(function(){if(J8)return $8;J8=1;var t=bW(),e=AY(),n=oj(),i=VX(),r=_Q(),o=a1(),a=n.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){n.prototype.init.apply(this,arguments),e.defaultEmphasis(t,"label",["show"])},optionUpdated:function(){var e=this.option,n=this;e.regions=o.getFilledRegions(e.regions,e.map,e.nameMap),this._optionModelMap=t.reduce(e.regions||[],(function(t,e){return e.name&&t.set(e.name,new i(e,n)),t}),t.createHashMap()),this.updateSelectedMap(e.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(t){return this._optionModelMap.get(t)||new i(null,this,this.ecModel)},getFormattedLabel:function(t,e){e=e||"normal";var n=this.getRegionModel(t).get(("normal"===e?"":e+".")+"label.formatter"),i={name:t};return"function"==typeof n?(i.status=e,n(i)):"string"==typeof n?n.replace("{a}",null!=t?t:""):void 0},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t}});t.mixin(a,r);var s=a;$8=s})(),a1(),function(){if(t7)return Q8;t7=1;var t=z0(),e=s$(),n=e.extendComponentView({type:"geo",init:function(e,n){var i=new t(n,!0);this._mapDraw=i,this.group.add(i.group)},render:function(t,e,n,i){if(!i||"geoToggleSelect"!==i.type||i.from!==this.uid){var r=this._mapDraw;t.get("show")?r.draw(t,e,n,this,i):this._mapDraw.group.removeAll(),this.group.silent=t.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});Q8=n}(),r1(),n("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),n("select",{type:"geoSelect",event:"geoselected"}),n("unSelect",{type:"geoUnSelect",event:"geounselected"})}(),q6(),g3(),l7||(l7=1,function(){if(i7)return n7;i7=1;var t=bW(),e=rj(),n=YX(),i=Oj(),r=864e5;function o(t,e,n){this._model=t}function a(t,e,n,i){var r=n.calendarModel,o=n.seriesModel,a=r?r.coordinateSystem:o?o.coordinateSystem:null;return a===this?a[t](i):null}o.prototype={constructor:o,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(t){var e=(t=n.parseDate(t)).getFullYear(),i=t.getMonth()+1;i=i<10?"0"+i:i;var r=t.getDate();r=r<10?"0"+r:r;var o=t.getDay();return{y:e,m:i,d:r,day:o=Math.abs((o+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+i+"-"+r,date:t}},getNextNDay:function(t,e){return 0===(e=e||0)||(t=new Date(this.getDateInfo(t).time)).setDate(t.getDate()+e),this.getDateInfo(t)},update:function(n,i){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var r=this._rangeInfo.weeks||1,o=["width","height"],a=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[r,7]:[7,r];t.each([0,1],(function(t){c(a,t)&&(s[o[t]]=a[t]*l[t])}));var u={width:i.getWidth(),height:i.getHeight()},h=this._rect=e.getLayoutRect(s,u);function c(t,e){return null!=t[e]&&"auto"!==t[e]}t.each([0,1],(function(t){c(a,t)||(a[t]=h[o[t]]/l[t])})),this._sw=a[0],this._sh=a[1]},dataToPoint:function(e,n){t.isArray(e)&&(e=e[0]),null==n&&(n=!0);var i=this.getDateInfo(e),o=this._rangeInfo,a=i.formatedDate;if(n&&!(i.time>=o.start.time&&i.timea.end.time&&e.reverse(),e},_getRangeInfo:function(t){var e;(t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])])[0].time>t[1].time&&(e=!0,t.reverse());var n=Math.floor(t[1].time/r)-Math.floor(t[0].time/r)+1,i=new Date(t[0].time),o=i.getDate(),a=t[1].date.getDate();i.setDate(o+n-1);var s=i.getDate();if(s!==a)for(var l=i.getTime()-t[1].time>0?1:-1;(s=i.getDate())!==a&&(i.getTime()-t[1].time)*l>0;)n-=l,i.setDate(s-l);var u=Math.floor((n+t[0].day+6)/7),h=e?1-u:u-1;return e&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:n,weeks:u,nthWeek:h,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&ei.lweek)return!1;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(i.start.d+r),this.getDateInfo(o)}},o.dimensions=o.prototype.dimensions,o.getDimensionsInfo=o.prototype.getDimensionsInfo,o.create=function(t,e){var n=[];return t.eachComponent("calendar",(function(t){var e=new o(t);n.push(e),t.coordinateSystem=e})),t.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("calendarIndex")||0])})),n},i.register("calendar",o);var s=o;n7=s}(),function(){if(o7)return r7;o7=1;var t=bW(),e=oj(),n=rj(),i=n.getLayoutParams,r=n.sizeCalculable,o=n.mergeLayoutParam,a=e.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(t,e,n,r){var o=i(t);a.superApply(this,"init",arguments),s(t,o)},mergeOption:function(t,e){a.superApply(this,"mergeOption",arguments),s(this.option,t)}});function s(e,n){var i=e.cellSize;t.isArray(i)?1===i.length&&(i[1]=i[0]):i=e.cellSize=[i,i];var a=t.map([0,1],(function(t){return r(n,t)&&(i[t]="auto"),null!=i[t]&&"auto"!==i[t]}));o(e,n,{type:"box",ignoreSize:a})}var l=a;r7=l}(),function(){if(s7)return a7;s7=1;var t=s$(),e=bW(),n=zX(),i=ij(),r=YX(),o={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},a={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},s=t.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,a,i),this._renderWeekText(t,o,a,i)},_renderDayRect:function(t,e,i){for(var r=t.coordinateSystem,o=t.getModel("itemStyle").getItemStyle(),a=r.getCellWidth(),s=r.getCellHeight(),l=e.start.time;l<=e.end.time;l=r.getNextNDay(l,1).time){var u=r.dataToRect([l],!1).tl,h=new n.Rect({shape:{x:u[0],y:u[1],width:a,height:s},cursor:"default",style:o});i.add(h)}},_renderLines:function(t,e,n,i){var r=this,o=t.coordinateSystem,a=t.getModel("splitLine.lineStyle").getLineStyle(),s=t.get("splitLine.show"),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,h=0;u.time<=e.end.time;h++){d(u.formatedDate),0===h&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var c=u.date;c.setMonth(c.getMonth()+1),u=o.getDateInfo(c)}function d(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}d(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},_getEdgesPoints:function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},_drawSplitline:function(t,e,i){var r=new n.Polyline({z2:20,shape:{points:t},style:e});i.add(r)},_getLinePointsOfOneWeek:function(t,e,n){var i=t.coordinateSystem;e=i.getDateInfo(e);for(var r=[],o=0;o<7;o++){var a=i.getNextNDay(e.time,o),s=i.dataToRect([a.time],!1);r[2*a.day]=s.tl,r[2*a.day+1]=s["horizontal"===n?"bl":"tr"]}return r},_formatterLabel:function(t,e){return"string"==typeof t&&t?i.formatTplSimple(t,e):"function"==typeof t?t(e):e.nameMap},_yearTextPositionControl:function(t,e,n,i,r){e=e.slice();var o=["center","bottom"];"bottom"===i?(e[1]+=r,o=["center","top"]):"left"===i?e[0]-=r:"right"===i?(e[0]+=r,o=["center","top"]):e[1]-=r;var a=0;return"left"!==i&&"right"!==i||(a=Math.PI/2),{rotation:a,position:e,style:{textAlign:o[0],textVerticalAlign:o[1]}}},_renderYearText:function(t,e,i,r){var o=t.getModel("yearLabel");if(o.get("show")){var a=o.get("margin"),s=o.get("position");s||(s="horizontal"!==i?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(l[0][0]+l[1][0])/2,h=(l[0][1]+l[1][1])/2,c="horizontal"===i?0:1,d={top:[u,l[c][1]],bottom:[u,l[1-c][1]],left:[l[1-c][0],h],right:[l[c][0],h]},p=e.start.y;+e.end.y>+e.start.y&&(p=p+"-"+e.end.y);var f=o.get("formatter"),g={start:e.start.y,end:e.end.y,nameMap:p},v=this._formatterLabel(f,g),m=new n.Text({z2:30});n.setTextStyle(m.style,o,{text:v}),m.attr(this._yearTextPositionControl(m,d[s],i,s,a)),r.add(m)}},_monthTextPositionControl:function(t,e,n,i,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(o="center"),"start"===i&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,textAlign:o,textVerticalAlign:a}},_renderMonthText:function(t,i,r){var a=t.getModel("monthLabel");if(a.get("show")){var s=a.get("nameMap"),l=a.get("margin"),u=a.get("position"),h=a.get("align"),c=[this._tlpoints,this._blpoints];e.isString(s)&&(s=o[s.toUpperCase()]||[]);var d="start"===u?0:1,p="horizontal"===i?0:1;l="start"===u?-l:l;for(var f="center"===h,g=0;g=0;h--)null==a[h]?a.splice(h,1):delete a[h].$action},_flatten:function(t,n,i){e.each(t,(function(t){if(t){i&&(t.parentOption=i),n.push(t);var e=t.children;"group"===t.type&&e&&this._flatten(e,n,t),delete t.children}}),this)},useElOptionsToUpdate:function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t}});function l(t,e,n,r){var o=n.type,s=new(a.hasOwnProperty(o)?a[o]:i.getShapeClass(o))(n);e.add(s),r.set(t,s),s.__ecGraphicId=t}function u(t,e){var n=t&&t.parent;n&&("group"===t.type&&t.traverse((function(t){u(t,e)})),e.removeKey(t.__ecGraphicId),n.remove(t))}function h(t){return t=e.extend({},t),e.each(["id","parentId","$action","hv","bounding"].concat(r.LOCATION_PARAMS),(function(e){delete t[e]})),t}function c(t,n){var i;return e.each(n,(function(e){null!=t[e]&&"auto"!==t[e]&&(i=!0)})),i}function d(t,e){var n=t.exist;if(e.id=t.keyInfo.id,!e.type&&n&&(e.type=n.type),null==e.parentId){var i=e.parentOption;i?e.parentId=i.id:n&&(e.parentId=n.parentId)}e.parentOption=null}function p(t,n,i){var o=e.extend({},i),a=t[n],s=i.$action||"merge";"merge"===s?a?(e.merge(a,o,!0),r.mergeLayoutParam(a,o,{ignoreSize:!0}),r.copyLayoutParams(i,a)):t[n]=o:"replace"===s?t[n]=o:"remove"===s&&a&&(t[n]=null)}function f(t,e){t&&(t.hv=e.hv=[c(e,["left","right"]),c(e,["top","bottom"])],"group"===t.type&&(null==t.width&&(t.width=e.width=0),null==t.height&&(t.height=e.height=0)))}function g(t,e,n){var i=t.eventData;t.silent||t.ignore||i||(i=t.eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name}),i&&(i.info=t.info)}t.extendComponentView({type:"graphic",init:function(t,n){this._elMap=e.createHashMap(),this._lastGraphicModel},render:function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},_updateElements:function(t){var n=t.useElOptionsToUpdate();if(n){var i=this._elMap,r=this.group;e.each(n,(function(e){var n=e.$action,o=e.id,a=i.get(o),s=e.parentId,c=null!=s?i.get(s):r,d=e.style;"text"===e.type&&d&&(e.hv&&e.hv[1]&&(d.textVerticalAlign=d.textBaseline=null),!d.hasOwnProperty("textFill")&&d.fill&&(d.textFill=d.fill),!d.hasOwnProperty("textStroke")&&d.stroke&&(d.textStroke=d.stroke));var p=h(e);n&&"merge"!==n?"replace"===n?(u(a,i),l(o,c,p,i)):"remove"===n&&u(a,i):a?a.attr(p):l(o,c,p,i);var f=i.get(o);f&&(f.__ecGraphicWidthOption=e.width,f.__ecGraphicHeightOption=e.height,g(f,t))}))}},_relocate:function(t,e){for(var n=t.option.elements,i=this.group,a=this._elMap,s=e.getWidth(),l=e.getHeight(),u=0;u=0;u--){var d;if(h=n[u],d=a.get(h.id)){var p,f=(p=d.parent)===i?{width:s,height:l}:{width:p.__ecGraphicWidth,height:p.__ecGraphicHeight};r.positionElement(d,h,f,null,{hv:h.hv,boundingMode:h.bounding})}}},_clear:function(){var t=this._elMap;t.each((function(e){u(e,t)})),this._elMap=e.createHashMap()},dispose:function(){this._clear()}})}(),l9||(l9=1,function(){if(d7)return c7;d7=1;var t=s$(),e=bW(),n=v7(),i=t.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){i.superApply(this,"optionUpdated",arguments),e.each(this.option.feature,(function(t,i){var r=n.get(i);r&&e.merge(t,r.defaultOption)}))},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),r=i;c7=r}(),function(){if(x7)return y7;x7=1;var t=s$(),e=bW(),n=eY(),i=v7(),r=zX(),o=VX(),a=Gq(),s=D7(),l=t.extendComponentView({type:"toolbox",render:function(t,l,h,c){var d=this.group;if(d.removeAll(),t.get("show")){var p=+t.get("itemSize"),f=t.get("feature")||{},g=this._features||(this._features={}),v=[];e.each(f,(function(t,e){v.push(e)})),new a(this._featureNames||[],v).add(m).update(m).remove(e.curry(m,null)).execute(),this._featureNames=v,s.layout(d,t,h),d.add(s.makeBackground(d.getBoundingRect(),t)),d.eachChild((function(t){var e=t.__title,i=t.hoverStyle;if(i&&e){var r=n.getBoundingRect(e,n.makeFont(i)),o=t.position[0]+d.position[0],a=!1;t.position[1]+d.position[1]+p+r.height>h.getHeight()&&(i.textPosition="top",a=!0);var s=a?-5-r.height:p+8;o+r.width/2>h.getWidth()?(i.textPosition=["100%",s],i.textAlign="right"):o-r.width/2<0&&(i.textPosition=[0,s],i.textAlign="left")}}))}function m(e,n){var r,a=v[e],s=v[n],d=f[a],p=new o(d,t,t.ecModel);if(c&&null!=c.newTitle&&c.featureName===a&&(d.title=c.newTitle),a&&!s){if(u(a))r={model:p,onclick:p.option.onclick,featureName:a};else{var m=i.get(a);if(!m)return;r=new m(p,l,h)}g[a]=r}else{if(!(r=g[s]))return;r.model=p,r.ecModel=l,r.api=h}a||!s?p.get("show")&&!r.unusable?(y(p,r,a),p.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&i[t].trigger(e)},r.render&&r.render(p,l,h,c)):r.remove&&r.remove(l,h):r.dispose&&r.dispose(l,h)}function y(n,i,o){var a=n.getModel("iconStyle"),s=n.getModel("emphasis.iconStyle"),u=i.getIcons?i.getIcons():n.get("icon"),c=n.get("title")||{};if("string"==typeof u){var f=u,g=c;c={},(u={})[o]=f,c[o]=g}var v=n.iconPaths={};e.each(u,(function(o,u){var f=r.createIcon(o,{},{x:-p/2,y:-p/2,width:p,height:p});f.setStyle(a.getItemStyle()),f.hoverStyle=s.getItemStyle(),f.setStyle({text:c[u],textAlign:s.get("textAlign"),textBorderRadius:s.get("textBorderRadius"),textPadding:s.get("textPadding"),textFill:null});var g=t.getModel("tooltip");g&&g.get("show")&&f.attr("tooltip",e.extend({content:c[u],formatter:g.get("formatter",!0)||function(){return c[u]},formatterParams:{componentType:"toolbox",name:u,title:c[u],$vars:["name","title"]},position:g.get("position",!0)||"bottom"},g.option)),r.setHoverStyle(f),t.get("showTitle")&&(f.__title=c[u],f.on("mouseover",(function(){var e=s.getItemStyle(),n="vertical"===t.get("orient")?null==t.get("right")?"right":"left":null==t.get("bottom")?"bottom":"top";f.setStyle({textFill:s.get("textFill")||e.fill||e.stroke||"#000",textBackgroundColor:s.get("textBackgroundColor"),textPosition:s.get("textPosition")||n})})).on("mouseout",(function(){f.setStyle({textFill:null,textBackgroundColor:null})}))),f.trigger(n.get("iconStatus."+u)||"normal"),d.add(f),f.on("click",e.bind(i.onclick,i,l,h,u)),v[u]=f}))}},updateView:function(t,n,i,r){e.each(this._features,(function(t){t.updateView&&t.updateView(t.model,n,i,r)}))},remove:function(t,n){e.each(this._features,(function(e){e.remove&&e.remove(t,n)})),this.group.removeAll()},dispose:function(t,n){e.each(this._features,(function(e){e.dispose&&e.dispose(t,n)}))}});function u(t){return 0===t.indexOf("my")}y7=l}(),function(){if(b7)return _7;b7=1;var t=yW(),e=wq(),n=v7(),i=e.toolbox.saveAsImage;function r(t){this.model=t}r.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:i.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:i.lang.slice()},r.prototype.unusable=!t.canvasSupported;var o=r.prototype;o.onclick=function(e,n){var i=this.model,r=i.get("name")||e.get("title.0.text")||"echarts",o="svg"===n.getZr().painter.getType()?"svg":i.get("type",!0)||"png",a=n.getConnectedDataURL({type:o,backgroundColor:i.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")});if("function"!=typeof MouseEvent||t.browser.ie||t.browser.edge)if(window.navigator.msSaveOrOpenBlob){for(var s=atob(a.split(",")[1]),l=s.length,u=new Uint8Array(l);l--;)u[l]=s.charCodeAt(l);var h=new Blob([u]);window.navigator.msSaveOrOpenBlob(h,r+"."+o)}else{var c=i.get("lang"),d='';window.open().document.write(d)}else{var p=document.createElement("a");p.download=r+"."+o,p.target="_blank",p.href=a;var f=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});p.dispatchEvent(f)}},n.register("saveAsImage",r);var a=r;_7=a}(),function(){if(S7)return w7;S7=1;var t=s$(),e=bW(),n=wq(),i=v7(),r=n.toolbox.magicType,o="__ec_magicType_stack__";function a(t){this.model=t}a.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:e.clone(r.title),option:{},seriesIndex:{}};var s=a.prototype;s.getIcons=function(){var t=this.model,n=t.get("icon"),i={};return e.each(t.get("type"),(function(t){n[t]&&(i[t]=n[t])})),i};var l={line:function(t,n,i,r){if("bar"===t)return e.merge({id:n,type:"line",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},r.get("option.line")||{},!0)},bar:function(t,n,i,r){if("line"===t)return e.merge({id:n,type:"bar",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},r.get("option.bar")||{},!0)},stack:function(t,n,i,r){var a=i.get("stack")===o;if("line"===t||"bar"===t)return r.setIconStatus("stack",a?"normal":"emphasis"),e.merge({id:n,stack:a?"":o},r.get("option.stack")||{},!0)}},u=[["line","bar"],["stack"]];s.onclick=function(t,n,i){var a=this.model,s=a.get("seriesIndex."+i);if(l[i]){var h,c={series:[]},d=function(n){var r=n.subType,o=n.id,s=l[i](r,o,n,a);s&&(e.defaults(s,n.option),c.series.push(s));var u=n.coordinateSystem;if(u&&"cartesian2d"===u.type&&("line"===i||"bar"===i)){var h=u.getAxesByScale("ordinal")[0];if(h){var d=h.dim+"Axis",p=t.queryComponents({mainType:d,index:n.get(name+"Index"),id:n.get(name+"Id")})[0].componentIndex;c[d]=c[d]||[];for(var f=0;f<=p;f++)c[d][p]=c[d][p]||{};c[d][p].boundaryGap="bar"===i}}};e.each(u,(function(t){e.indexOf(t,i)>=0&&e.each(t,(function(t){a.setIconStatus(t,"normal")}))})),a.setIconStatus(i,"emphasis"),t.eachComponent({mainType:"series",query:null==s?null:{seriesIndex:s}},d),"stack"===i&&(h=c.series&&c.series[0]&&c.series[0].stack===o?e.merge({stack:r.title.tiled},r.title):e.clone(r.title)),n.dispatchAction({type:"changeMagicType",currentType:i,newOption:c,newTitle:h,featureName:"magicType"})}},t.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)})),i.register("magicType",a);var h=a;w7=h}(),function(){if(I7)return M7;I7=1;var t=s$(),e=bW(),n=GW(),i=wq(),r=v7(),o=i.toolbox.dataView,a=new Array(60).join("-"),s="\t";function l(t){var e={},n=[],i=[];return t.eachRawSeries((function(t){var r=t.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)n.push(t);else{var o=r.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;e[a]||(e[a]={categoryAxis:o,valueAxis:r.getOtherAxis(o),series:[]},i.push({axisDim:o.dim,axisIndex:o.index})),e[a].series.push(t)}else n.push(t)}})),{seriesGroupByCategoryAxis:e,other:n,meta:i}}function u(t){var n=[];return e.each(t,(function(t,i){var r=t.categoryAxis,o=t.valueAxis.dim,a=[" "].concat(e.map(t.series,(function(t){return t.name}))),l=[r.model.getCategories()];e.each(t.series,(function(t){var e=t.getRawData();l.push(t.getRawData().mapArray(e.mapDimension(o),(function(t){return t})))}));for(var u=[a.join(s)],h=0;h=0)return!0}var f=new RegExp("["+s+"]+","g");function g(t){for(var n=t.split(/\n+/g),i=d(n.shift()).split(f),r=[],o=e.map(i,(function(t){return{name:t,data:[]}})),a=0;a1?"emphasis":"normal")}function v(t,e,n,r,o){var a=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(a="dataZoomSelect"===r.key&&r.dataZoomSelectActive),n._isZoomActive=a,t.setIconStatus("zoom",a?"emphasis":"normal");var s=new i(f(t.option),e,{include:["grid"]});n._brushController.setPanels(s.makePanelOpts(o,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}))).enableBrush(!!a&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}d._onBrush=function(t,e){if(e.isEnd&&t.length){var n={},a=this.ecModel;this._brushController.updateCovers([]),new i(f(this.model.option),a,{include:["grid"]}).matchOutputRanges(t,a,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(s("x",n,e[0]),s("y",n,e[1])):s({lineX:"x",lineY:"y"}[i],n,e)}})),r.push(a,n),this._dispatchZoomAction(n)}function s(t,e,i){var r=e.getAxis(t),s=r.model,u=l(t,s,a),h=u.findRepresentativeAxisProxy(s).getMinMaxSpan();null==h.minValueSpan&&null==h.maxValueSpan||(i=o(0,i.slice(),r.scale.getExtent(),0,h.minValueSpan,h.maxValueSpan)),u&&(n[u.id]={dataZoomId:u.id,startValue:i[0],endValue:i[1]})}function l(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)})),i}},d._dispatchZoomAction=function(t){var n=[];u(t,(function(t,i){n.push(e.clone(t))})),n.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:n})},s.register("dataZoom",c),t.registerPreprocessor((function(t){if(t){var n=t.dataZoom||(t.dataZoom=[]);e.isArray(n)||(t.dataZoom=n=[n]);var i=t.toolbox;if(i&&(e.isArray(i)&&(i=i[0]),i&&i.feature)){var r=i.feature.dataZoom;o("xAxis",r),o("yAxis",r)}}function o(t,i){if(i){var r=t+"Index",o=i[r];null==o||"all"===o||e.isArray(o)||(o=!1===o||"none"===o?[]:[o]),a(t,(function(a,s){if(null==o||"all"===o||-1!==e.indexOf(o,s)){var l={type:"select",$fromToolbox:!0,filterMode:i.filterMode||"filter",id:h+t+s};l[r]=s,n.push(l)}}))}}function a(n,i){var r=t[n];e.isArray(r)||(r=r?[r]:[]),u(r,i)}})),r9=c}(),function(){if(s9)return a9;s9=1;var t=s$(),e=O7(),n=wq(),i=v7(),r=n.toolbox.restore;function o(t){this.model=t}o.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:r.title};var a=o.prototype;a.onclick=function(t,n,i){e.clear(t),n.dispatchAction({type:"restore",from:this.uid})},i.register("restore",o),t.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")})),a9=o}()),function(){if(x9)return L9;x9=1;var t=s$();j6(),function(){if(d9)return c9;d9=1;var t=s$(),e=t.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});c9=e}(),function(){if(y9)return m9;y9=1;var t=s$(),e=bW(),n=yW(),i=function(){if(f9)return p9;f9=1;var t=bW(),e=sU(),n=GW(),i=FW(),r=yW(),o=ij(),a=t.each,s=o.toCamelCase,l=["","-webkit-","-moz-","-o-"],u="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function h(e){var n="cubic-bezier(0.23, 1, 0.32, 1)",i="left "+e+"s "+n+",top "+e+"s "+n;return t.map(l,(function(t){return t+"transition:"+i})).join(";")}function c(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();i&&e.push("color:"+i),e.push("font:"+t.getFont());var r=t.get("lineHeight");null==r&&(r=Math.round(3*n/2)),n&&e.push("line-height:"+r+"px");var o=t.get("textShadowColor"),s=t.get("textShadowBlur")||0,l=t.get("textShadowOffsetX")||0,u=t.get("textShadowOffsetY")||0;return s&&e.push("text-shadow:"+l+"px "+u+"px "+s+"px "+o),a(["decoration","align"],(function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)})),e.join(";")}function d(t){var n=[],i=t.get("transitionDuration"),l=t.get("backgroundColor"),u=t.getModel("textStyle"),d=t.get("padding");return i&&n.push(h(i)),l&&(r.canvasSupported?n.push("background-Color:"+l):(n.push("background-Color:#"+e.toHex(l)),n.push("filter:alpha(opacity=70)"))),a(["width","color","radius"],(function(e){var i="border-"+e,r=s(i),o=t.get(r);null!=o&&n.push(i+":"+o+("color"===e?"":"px"))})),n.push(c(u)),null!=d&&n.push("padding:"+o.normalizeCssArray(d).join("px ")+"px"),n.join(";")+";"}function p(t,e,n,r,o){var a=e&&e.painter;if(n){var s=a&&a.getViewportRoot();s&&i.transformLocalCoord(t,s,document.body,r,o)}else{t[0]=r,t[1]=o;var l=a&&a.getViewportRootOffset();l&&(t[0]+=l.offsetLeft,t[1]+=l.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function f(t,e,i){if(r.wxa)return null;var o=document.createElement("div");o.domBelongToZr=!0,this.el=o;var a=this._zr=e.getZr(),s=this._appendToBody=i&&i.appendToBody;this._styleCoord=[0,0,0,0],p(this._styleCoord,a,s,e.getWidth()/2,e.getHeight()/2),s?document.body.appendChild(o):t.appendChild(o),this._container=t,this._show=!1,this._hideTimeout;var l=this;o.onmouseenter=function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0},o.onmousemove=function(t){if(t=t||window.event,!l._enterable){var e=a.handler,i=a.painter.getViewportRoot();n.normalizeEvent(i,t,!0),e.dispatch("mousemove",t)}},o.onmouseleave=function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1}}f.prototype={constructor:f,_enterable:!0,update:function(t){var e=this._container,n=e.currentStyle||document.defaultView.getComputedStyle(e),i=e.style;"absolute"!==i.position&&"absolute"!==n.position&&(i.position="relative"),t.get("alwaysShowContent")&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var t=this._styleCoord[2],e=this._styleCoord[3],n=t*this._zr.getWidth(),i=e*this._zr.getHeight();this.moveTo(n,i)},show:function(t){clearTimeout(this._hideTimeout);var e=this.el,n=this._styleCoord;e.style.cssText=u+d(t)+";left:"+n[0]+"px;top:"+n[1]+"px;"+(t.get("extraCssText")||""),e.style.display=e.innerHTML?"block":"none",e.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(t){this.el.innerHTML=null==t?"":t},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el;return[t.clientWidth,t.clientHeight]},moveTo:function(t,e){var n=this._styleCoord;p(n,this._zr,this._appendToBody,t,e);var i=this.el.style;i.left=n[0]+"px",i.top=n[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(t.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var t=this.el.clientWidth,e=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var n=document.defaultView.getComputedStyle(this.el);n&&(t+=parseInt(n.borderLeftWidth,10)+parseInt(n.borderRightWidth,10),e+=parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10))}return{width:t,height:e}}};var g=f;return p9=g}(),r=function(){if(v9)return g9;v9=1;var t=bW(),e=NZ(),n=zX();function i(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function r(t){var e=this._zr=t.getZr();this._styleCoord=[0,0,0,0],i(this._styleCoord,e,t.getWidth()/2,t.getHeight()/2),this._show=!1,this._hideTimeout}r.prototype={constructor:r,_enterable:!0,update:function(t){t.get("alwaysShowContent")&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var t=this._styleCoord[2],e=this._styleCoord[3],n=t*this._zr.getWidth(),i=e*this._zr.getHeight();this.moveTo(n,i)},show:function(t){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(t,i,r){this.el&&this._zr.remove(this.el);for(var o={},a=t,s="{marker",l="|}",u=a.indexOf(s);u>=0;){var h=a.indexOf(l),c=a.substr(u+s.length,h-u-s.length);c.indexOf("sub")>-1?o["marker"+c]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:i[c],textOffset:[3,0]}:o["marker"+c]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:i[c]},u=(a=a.substr(h+1)).indexOf("{marker")}var d=r.getModel("textStyle"),p=d.get("fontSize"),f=r.get("textLineHeight");null==f&&(f=Math.round(3*p/2)),this.el=new e({style:n.setTextStyle({},d,{rich:o,text:t,textBackgroundColor:r.get("backgroundColor"),textBorderRadius:r.get("borderRadius"),textFill:r.get("textStyle.color"),textPadding:r.get("padding"),textLineHeight:f}),z:r.get("z")}),this._zr.add(this.el);var g=this;this.el.on("mouseover",(function(){g._enterable&&(clearTimeout(g._hideTimeout),g._show=!0),g._inContent=!0})),this.el.on("mouseout",(function(){g._enterable&&g._show&&g.hideLater(g._hideDelay),g._inContent=!1}))},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){if(this.el){var n=this._styleCoord;i(n,this._zr,t,e),this.el.attr("position",[n[0],n[1]])}},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(t.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},dispose:function(){clearTimeout(this._hideTimeout),this.el&&this._zr.remove(this.el)},getOuterSize:function(){var t=this.getSize();return{width:t[0],height:t[1]}}};var o=r;return g9=o}(),o=ij(),a=YX(),s=zX(),l=x6(),u=rj(),h=VX(),c=C6(),d=zK(),p=Z6(),f=AY().getTooltipRenderMode,g=e.bind,v=e.each,m=a.parsePercent,y=new s.Rect({shape:{x:-1,y:-1,width:2,height:2}}),x=t.extendComponentView({type:"tooltip",init:function(t,e){if(!n.node){var o,a=t.getComponent("tooltip"),s=a.get("renderMode");this._renderMode=f(s),"html"===this._renderMode?(o=new i(e.getDom(),e,{appendToBody:a.get("appendToBody",!0)}),this._newLine="
"):(o=new r(e),this._newLine="\n"),this._tooltipContent=o}},render:function(t,e,i){if(!n.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=i,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent");var r=this._tooltipContent;r.update(t),r.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel.get("triggerOn");c.register("itemTooltip",this._api,g((function(e,n,i){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,i):"leave"===e&&this._hide(i))}),this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&i.manuallyShowTip(t,e,n,{x:i._lastX,y:i._lastY})}))}},manuallyShowTip:function(t,e,i,r){if(r.from!==this.uid&&!n.node){var o=b(r,i);this._ticket="";var a=r.dataByCoordSys;if(r.tooltip&&null!=r.x&&null!=r.y){var s=y;s.position=[r.x,r.y],s.update(),s.tooltip=r.tooltip,this._tryShow({offsetX:r.x,offsetY:r.y,target:s},o)}else if(a)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:r.dataByCoordSys,tooltipOption:r.tooltipOption},o);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(t,e,i,r))return;var u=l(r,e),h=u.point[0],c=u.point[1];null!=h&&null!=c&&this._tryShow({offsetX:h,offsetY:c,position:r.position,target:u.el},o)}else null!=r.x&&null!=r.y&&(i.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:i.getZr().findHover(r.x,r.y).target},o))}},manuallyHideTip:function(t,e,n,i){var r=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,i.from!==this.uid&&this._hide(b(i,n))},_manuallyAxisShowTip:function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s&&"axis"===(t=_([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model,t])).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},_tryShow:function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;i&&i.length?this._showAxisTooltip(i,t):n&&null!=n.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,n,e)):n&&n.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,n,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,n){var i=t.get("showDelay");n=e.bind(n,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(n,i):n()},_showAxisTooltip:function(t,n){var i=this._ecModel,r=this._tooltipModel,a=[n.offsetX,n.offsetY],s=[],l=[],u=_([n.tooltipOption,r]),h=this._renderMode,c=this._newLine,f={};v(t,(function(t){v(t.dataByAxis,(function(t){var n=i.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value,a=[];if(n&&null!=r){var u=p.getValueLabel(r,n.axis,i,t.seriesDataIndices,t.valueLabelOpt);e.each(t.seriesDataIndices,(function(o){var s=i.getSeriesByIndex(o.seriesIndex),c=o.dataIndexInside,p=s&&s.getDataParams(c);if(p.axisDim=t.axisDim,p.axisIndex=t.axisIndex,p.axisType=t.axisType,p.axisId=t.axisId,p.axisValue=d.getAxisRawValue(n.axis,r),p.axisValueLabel=u,p){l.push(p);var g,v=s.formatTooltip(c,!0,null,h);if(e.isObject(v)){g=v.html;var m=v.markers;e.merge(f,m)}else g=v;a.push(g)}}));var g=u;"html"!==h?s.push(a.join(c)):s.push((g?o.encodeHTML(g)+c:"")+a.join(c))}}))}),this),s.reverse(),s=s.join(this._newLine+this._newLine);var g=n.position;this._showOrMove(u,(function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(u,g,a[0],a[1],this._tooltipContent,l):this._showTooltipContent(u,s,l,Math.random(),a[0],a[1],g,void 0,f)}))},_showSeriesItemTooltip:function(t,n,i){var r=this._ecModel,o=n.seriesIndex,a=r.getSeriesByIndex(o),s=n.dataModel||a,l=n.dataIndex,u=n.dataType,h=s.getData(u),c=_([h.getItemModel(l),s,a&&(a.coordinateSystem||{}).model,this._tooltipModel]),d=c.get("trigger");if(null==d||"item"===d){var p,f,g=s.getDataParams(l,u),v=s.formatTooltip(l,!1,u,this._renderMode);e.isObject(v)?(p=v.html,f=v.markers):(p=v,f=null);var m="item_"+s.name+"_"+l;this._showOrMove(c,(function(){this._showTooltipContent(c,p,g,m,t.offsetX,t.offsetY,t.position,t.target,f)})),i({type:"showTip",dataIndexInside:l,dataIndex:h.getRawIndex(l),seriesIndex:o,from:this.uid})}},_showComponentItemTooltip:function(t,e,n){var i=e.tooltip;"string"==typeof i&&(i={content:i,formatter:i});var r=new h(i,this._tooltipModel,this._ecModel),o=r.get("content"),a=Math.random();this._showOrMove(r,(function(){this._showTooltipContent(r,o,r.get("formatterParams")||{},a,t.offsetX,t.offsetY,t.position,e)})),n({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,n,i,r,a,s,l,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var h=this._tooltipContent,c=t.get("formatter");s=s||t.get("position");var d=e;if(c&&"string"==typeof c)d=o.formatTpl(c,n,!0);else if("function"==typeof c){var p=g((function(e,i){e===this._ticket&&(h.setContent(i,u,t),this._updatePosition(t,s,r,a,h,n,l))}),this);this._ticket=i,d=c(n,i,p)}h.setContent(d,u,t),h.show(t),this._updatePosition(t,s,r,a,h,n,l)}},_updatePosition:function(t,n,i,r,o,a,s){var l=this._api.getWidth(),h=this._api.getHeight();n=n||t.get("position");var c=o.getSize(),d=t.get("align"),p=t.get("verticalAlign"),f=s&&s.getBoundingRect().clone();if(s&&f.applyTransform(s.transform),"function"==typeof n&&(n=n([i,r],a,o.el,f,{viewSize:[l,h],contentSize:c.slice()})),e.isArray(n))i=m(n[0],l),r=m(n[1],h);else if(e.isObject(n)){n.width=c[0],n.height=c[1];var g=u.getLayoutRect(n,{width:l,height:h});i=g.x,r=g.y,d=null,p=null}else if("string"==typeof n&&s)i=(v=M(n,f,c))[0],r=v[1];else{var v;i=(v=w(i,r,o,l,h,d?null:20,p?null:20))[0],r=v[1]}d&&(i-=I(d)?c[0]/2:"right"===d?c[0]:0),p&&(r-=I(p)?c[1]/2:"bottom"===p?c[1]:0),t.get("confine")&&(i=(v=S(i,r,o,l,h))[0],r=v[1]),o.moveTo(i,r)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,n=!!e&&e.length===t.length;return n&&v(e,(function(e,i){var r=e.dataByAxis||{},o=(t[i]||{}).dataByAxis||[];(n&=r.length===o.length)&&v(r,(function(t,e){var i=o[e]||{},r=t.seriesDataIndices||[],a=i.seriesDataIndices||[];(n&=t.value===i.value&&t.axisType===i.axisType&&t.axisId===i.axisId&&r.length===a.length)&&v(r,(function(t,e){var i=a[e];n&=t.seriesIndex===i.seriesIndex&&t.dataIndex===i.dataIndex}))}))})),this._lastDataByCoordSys=t,!!n},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){n.node||(this._tooltipContent.dispose(),c.unregister("itemTooltip",e))}});function _(t){for(var e=t.pop();t.length;){var n=t.pop();n&&(h.isInstance(n)&&(n=n.get("tooltip",!0)),"string"==typeof n&&(n={formatter:n}),e=new h(n,e,e.ecModel))}return e}function b(t,n){return t.dispatchAction||e.bind(n.dispatchAction,n)}function w(t,e,n,i,r,o,a){var s=n.getOuterSize(),l=s.width,u=s.height;return null!=o&&(t+l+o>i?t-=l+o:t+=o),null!=a&&(e+u+a>r?e-=u+a:e+=a),[t,e]}function S(t,e,n,i,r){var o=n.getOuterSize(),a=o.width,s=o.height;return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,[t=Math.max(t,0),e=Math.max(e,0)]}function M(t,e,n){var i=n[0],r=n[1],o=5,a=0,s=0,l=e.width,u=e.height;switch(t){case"inside":a=e.x+l/2-i/2,s=e.y+u/2-r/2;break;case"top":a=e.x+l/2-i/2,s=e.y-r-o;break;case"bottom":a=e.x+l/2-i/2,s=e.y+u+o;break;case"left":a=e.x-i-o,s=e.y+u/2-r/2;break;case"right":a=e.x+l+o,s=e.y+u/2-r/2}return[a,s]}function I(t){return"center"===t||"middle"===t}m9=x}(),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))}(),j6(),function(){if(B9)return k9;B9=1;var t=s$(),e=function(){if(b9)return _9;b9=1;var t=bW(),e=["rect","polygon","keep","clear"];function n(n,r){var o=n&&n.brush;if(t.isArray(o)||(o=o?[o]:[]),o.length){var a=[];t.each(o,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(a=a.concat(e))}));var s=n&&n.toolbox;t.isArray(s)&&(s=s[0]),s||(s={feature:{}},n.toolbox=[s]);var l=s.feature||(s.feature={}),u=l.brush||(l.brush={}),h=u.type||(u.type=[]);h.push.apply(h,a),i(h),r&&!h.length&&h.push.apply(h,e)}}function i(e){var n={};t.each(e,(function(t){n[t]=1})),e.length=0,t.each(n,(function(t,n){e.push(n)}))}return _9=n}();N9(),function(){if(C9)return T9;C9=1,cW().__DEV__;var t=s$(),e=bW(),n=R9(),i=VX(),r=["#ddd"],o=t.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(t,e){var i=this.option;!e&&n.replaceVisualOption(i,t,["inBrush","outOfBrush"]);var o=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:r},o.hasOwnProperty("liftZ")||(o.liftZ=5)},setAreas:function(t){t&&(this.areas=e.map(t,(function(t){return a(this.option,t)}),this))},setBrushOption:function(t){this.brushOption=a(this.option,t),this.brushType=this.brushOption.brushType}});function a(t,n){return e.merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new i(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},n,!0)}var s=o;T9=s}(),function(){if(D9)return A9;D9=1;var t=s$(),e=bW(),n=J5(),i=N9().layoutCovers,r=t.extendComponentView({type:"brush",init:function(t,i){this.ecModel=t,this.api=i,this.model,(this._brushController=new n(i.getZr())).on("brush",e.bind(this._onBrush,this)).mount()},render:function(t){return this.model=t,o.apply(this,arguments)},updateTransform:function(t,e){return i(e),o.apply(this,arguments)},updateView:o,dispose:function(){this._brushController.dispose()},_onBrush:function(t,n){var i=this.model.id;this.model.brushTargetManager.setOutputRanges(t,this.ecModel),(!n.isEnd||n.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:i,areas:e.clone(t),$from:i}),n.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:i,areas:e.clone(t),$from:i})}});function o(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())}A9=r}(),function(){if(E9)return ntt;E9=1;var t=s$();t.registerAction({type:"brush",event:"brush"},(function(t,e){e.eachComponent({mainType:"brush",query:t},(function(e){e.setAreas(t.areas)}))})),t.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},(function(){})),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},(function(){}))}(),function(){if(V9)return z9;V9=1;var t=bW(),e=v7(),n=wq(),i=n.toolbox.brush;function r(t,e,n){this.model=t,this.ecModel=e,this.api=n,this._brushType,this._brushMode}r.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.clone(i.title)};var o=r.prototype;o.render=o.updateView=function(e,n,i){var r,o,a;n.eachComponent({mainType:"brush"},(function(t){r=t.brushType,o=t.brushOption.brushMode||"single",a|=t.areas.length})),this._brushType=r,this._brushMode=o,t.each(e.get("type",!0),(function(t){e.setIconStatus(t,("keep"===t?"multiple"===o:"clear"===t?a:t===r)?"emphasis":"normal")}))},o.getIcons=function(){var e=this.model,n=e.get("icon",!0),i={};return t.each(e.get("type",!0),(function(t){n[t]&&(i[t]=n[t])})),i},o.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},e.register("brush",r),z9=r}(),t.registerPreprocessor(e)}(),function(){if(F9)return itt;F9=1;var t=bW(),e=s$(),n=zX(),i=rj().getLayoutRect,r=ij().windowOpen;e.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),e.extendComponentView({type:"title",render:function(e,o,a){if(this.group.removeAll(),e.get("show")){var s=this.group,l=e.getModel("textStyle"),u=e.getModel("subtextStyle"),h=e.get("textAlign"),c=t.retrieve2(e.get("textBaseline"),e.get("textVerticalAlign")),d=new n.Text({style:n.setTextStyle({},l,{text:e.get("text"),textFill:l.getTextColor()},{disableBox:!0}),z2:10}),p=d.getBoundingRect(),f=e.get("subtext"),g=new n.Text({style:n.setTextStyle({},u,{text:f,textFill:u.getTextColor(),y:p.height+e.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),v=e.get("link"),m=e.get("sublink"),y=e.get("triggerEvent",!0);d.silent=!v&&!y,g.silent=!m&&!y,v&&d.on("click",(function(){r(v,"_"+e.get("target"))})),m&&g.on("click",(function(){r(m,"_"+e.get("subtarget"))})),d.eventData=g.eventData=y?{componentType:"title",componentIndex:e.componentIndex}:null,s.add(d),f&&s.add(g);var x=s.getBoundingRect(),_=e.getBoxLayoutParams();_.width=x.width,_.height=x.height;var b=i(_,{width:a.getWidth(),height:a.getHeight()},e.get("padding"));h||("middle"===(h=e.get("left")||e.get("right"))&&(h="center"),"right"===h?b.x+=b.width:"center"===h&&(b.x+=b.width/2)),c||("center"===(c=e.get("top")||e.get("bottom"))&&(c="middle"),"bottom"===c?b.y+=b.height:"middle"===c&&(b.y+=b.height/2),c=c||"top"),s.attr("position",[b.x,b.y]);var w={textAlign:h,textVerticalAlign:c};d.setStyle(w),g.setStyle(w),x=s.getBoundingRect();var S=b.margin,M=e.getItemStyle(["color","opacity"]);M.fill=e.get("backgroundColor");var I=new n.Rect({shape:{x:x.x-S[3],y:x.y-S[0],width:x.width+S[1]+S[3],height:x.height+S[0]+S[2],r:e.get("borderRadius")},style:M,subPixelOptimize:!0,silent:!0});s.add(I)}}})}(),function(){if(ett)return rtt;ett=1;var t=s$(),e=function(){if(H9)return G9;H9=1;var t=bW();function e(e){var i=e&&e.timeline;t.isArray(i)||(i=i?[i]:[]),t.each(i,(function(t){t&&n(t)}))}function n(e){var n=e.type,o={number:"value",time:"time"};if(o[n]&&(e.axisType=o[n],delete e.type),i(e),r(e,"controlPosition")){var a=e.controlStyle||(e.controlStyle={});r(a,"position")||(a.position=e.controlPosition),"none"!==a.position||r(a,"show")||(a.show=!1,delete a.position),delete e.controlPosition}t.each(e.data||[],(function(e){t.isObject(e)&&!t.isArray(e)&&(!r(e,"value")&&r(e,"name")&&(e.value=e.name),i(e))}))}function i(e){var n=e.itemStyle||(e.itemStyle={}),i=n.emphasis||(n.emphasis={}),o=e.label||e.label||{},a=o.normal||(o.normal={}),s={normal:1,emphasis:1};t.each(o,(function(t,e){s[e]||r(a,e)||(a[e]=t)})),i.label&&!r(o,"emphasis")&&(o.emphasis=i.label,delete i.label)}function r(t,e){return t.hasOwnProperty(e)}return G9=e}();(function(){if(W9)return ott;W9=1;var t=oj();t.registerSubTypeDefaulter("timeline",(function(){return"slider"}))})(),function(){if(U9)return att;U9=1;var t=s$(),e=bW();t.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(t,n){var i=n.getComponent("timeline");return i&&null!=t.currentIndex&&(i.setCurrentIndex(t.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.setPlayState(!1)),n.resetOption("timeline"),e.defaults({currentIndex:i.option.currentIndex},t)})),t.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(t,e){var n=e.getComponent("timeline");n&&null!=t.playState&&n.setPlayState(t.playState)}))}(),function(){if(j9)return X9;j9=1;var t=bW(),e=function(){if(Z9)return Y9;Z9=1;var t=bW(),e=oj(),n=tK(),i=AY(),r=e.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(t,e,n){this._data,this._names,this.mergeDefaultAndTheme(t,n),this._initData()},mergeOption:function(t){r.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(t){this.option.autoPlay=!!t},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var e=this.option,r=e.data||[],o=e.axisType,a=this._names=[];if("category"===o){var s=[];t.each(r,(function(e,n){var r,o=i.getDataItemValue(e);t.isObject(e)?(r=t.clone(e)).value=n:r=n,s.push(r),t.isString(o)||null!=o&&!isNaN(o)||(o=""),a.push(o+"")})),r=s}var l={category:"ordinal",time:"time"}[o]||"number";(this._data=new n([{name:"value",type:l}],this)).initData(r,a)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),o=r;return Y9=o}(),n=Hj(),i=e.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});t.mixin(i,n);var r=i;X9=r}(),function(){if(ttt)return Q9;ttt=1;var t=bW(),e=kU(),n=$W(),i=zX(),r=rj(),o=stt(),a=function(){if(J9)return $9;J9=1;var t=bW(),e=o$(),n=function(t,n,i,r){e.call(this,t,n,i),this.type=r||"value",this.model=null};n.prototype={constructor:n,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},t.inherits(n,e);var i=n;return $9=i}(),s=HK().createSymbol,l=zK(),u=YX(),h=ij().encodeHTML,c=t.bind,d=t.each,p=Math.PI,f=o.extend({type:"timeline.slider",init:function(t,e){this.api=e,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(t,e,n,i){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var r=this._layout(t,n),o=this._createGroup("mainGroup"),a=this._createGroup("labelGroup"),s=this._axis=this._createAxis(r,t);t.formatTooltip=function(t){return h(s.scale.getLabel(t))},d(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](r,o,s,t)}),this),this._renderAxisLabel(r,a,s,t),this._position(r,t)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(t,e){var n=t.get("label.position"),i=t.get("orient"),r=g(t,e);null==n||"auto"===n?n="horizontal"===i?r.y+r.height/2=0||"+"===n?"left":"right"},h={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:p/2},d="vertical"===i?r.height:r.width,f=t.getModel("controlStyle"),v=f.get("show",!0),m=v?f.get("itemSize"):0,y=v?f.get("itemGap"):0,x=m+y,_=t.get("label.rotate")||0;_=_*p/180;var b=f.get("position",!0),w=v&&f.get("showPlayBtn",!0),S=v&&f.get("showPrevBtn",!0),M=v&&f.get("showNextBtn",!0),I=0,T=d;return"left"===b||"bottom"===b?(w&&(o=[0,0],I+=x),S&&(a=[I,0],I+=x),M&&(s=[T-m,0],T-=x)):(w&&(o=[T-m,0],T-=x),S&&(a=[0,0],I+=x),M&&(s=[T-m,0],T-=x)),l=[I,T],t.get("inverse")&&l.reverse(),{viewRect:r,mainLength:d,orient:i,rotation:c[i],labelRotation:_,labelPosOpt:n,labelAlign:t.get("label.align")||u[i],labelBaseline:t.get("label.verticalAlign")||t.get("label.baseline")||h[i],playPosition:o,prevBtnPosition:a,nextBtnPosition:s,axisExtent:l,controlSize:m,controlGap:y}},_position:function(t,e){var i=this._mainGroup,r=this._labelGroup,o=t.viewRect;if("vertical"===t.orient){var a=n.create(),s=o.x,l=o.y+o.height;n.translate(a,a,[-s,-l]),n.rotate(a,a,-p/2),n.translate(a,a,[s,l]),(o=o.clone()).applyTransform(a)}var u=y(o),h=y(i.getBoundingRect()),c=y(r.getBoundingRect()),d=i.position,f=r.position;f[0]=d[0]=u[0][0];var g,v=t.labelPosOpt;function m(t){var e=t.position;t.origin=[u[0][0]-e[0],u[1][0]-e[1]]}function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function x(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}isNaN(v)?(x(d,h,u,1,g="+"===v?0:1),x(f,c,u,1,1-g)):(x(d,h,u,1,g=v>=0?0:1),f[1]=d[1]+v),i.attr("position",d),r.attr("position",f),i.rotation=r.rotation=t.rotation,m(i),m(r)},_createAxis:function(t,e){var n=e.getData(),i=e.get("axisType"),r=l.createScaleByModel(e,i);r.getTicks=function(){return n.mapArray(["value"],(function(t){return t}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.niceTicks();var s=new a("value",r,t.axisExtent,i);return s.model=e,s},_createGroup:function(t){var e=this["_"+t]=new i.Group;return this.group.add(e),e},_renderAxisLine:function(e,n,r,o){var a=r.getExtent();o.get("lineStyle.show")&&n.add(new i.Line({shape:{x1:a[0],y1:0,x2:a[1],y2:0},style:t.extend({lineCap:"round"},o.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,n,r){var o=r.getData(),a=n.scale.getTicks();d(a,(function(t){var a=n.dataToCoord(t),s=o.getItemModel(t),l=s.getModel("itemStyle"),u=s.getModel("emphasis.itemStyle"),h={position:[a,0],onclick:c(this._changeTimeline,this,t)},d=m(s,l,e,h);i.setHoverStyle(d,u.getItemStyle()),s.get("tooltip")?(d.dataIndex=t,d.dataModel=r):d.dataIndex=d.dataModel=null}),this)},_renderAxisLabel:function(t,e,n,r){if(n.getLabelModel().get("show")){var o=r.getData(),a=n.getViewLabels();d(a,(function(r){var a=r.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel("emphasis.label"),h=n.dataToCoord(r.tickValue),d=new i.Text({position:[h,0],rotation:t.labelRotation-t.rotation,onclick:c(this._changeTimeline,this,a),silent:!1});i.setTextStyle(d.style,l,{text:r.formattedLabel,textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline}),e.add(d),i.setHoverStyle(d,i.setTextStyle({},u))}),this)}},_renderControl:function(t,e,n,r){var o=t.controlSize,a=t.rotation,s=r.getModel("controlStyle").getItemStyle(),l=r.getModel("emphasis.controlStyle").getItemStyle(),u=[0,-o/2,o,o],h=r.getPlayState(),d=r.get("inverse",!0);function p(t,n,h,c){if(t){var d=v(r,n,u,{position:t,origin:[o/2,0],rotation:c?-a:0,rectHover:!0,style:s,onclick:h});e.add(d),i.setHoverStyle(d,l)}}p(t.nextBtnPosition,"controlStyle.nextIcon",c(this._changeTimeline,this,d?"-":"+")),p(t.prevBtnPosition,"controlStyle.prevIcon",c(this._changeTimeline,this,d?"+":"-")),p(t.playPosition,"controlStyle."+(h?"stopIcon":"playIcon"),c(this._handlePlayClick,this,!h),!0)},_renderCurrentPointer:function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=c(s._handlePointerDrag,s),t.ondragend=c(s._handlePointerDragend,s),y(t,o,n,i,!0)},onUpdate:function(t){y(t,o,n,i)}};this._currentPointer=m(a,a,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){var n=this._toAxisCoord(t)[0],i=this._axis,r=u.asc(i.getExtent().slice());n>r[1]&&(n=r[1]),n=0&&"number"==typeof h&&(h=+h.toFixed(Math.min(m,20))),g.coord[p]=v.coord[p]=h,o=[g,v,{type:l,valueIndex:o.valueIndex,value:h}]}return(o=[i.dataTransform(e,o[0]),i.dataTransform(e,o[1]),t.extend({},o[2])])[2].type=o[2].type||"",t.merge(o[2],o[0]),t.merge(o[2],o[1]),o};function l(t){return!isNaN(t)&&!isFinite(t)}function u(t,e,n,i){var r=1-t,o=i.dimensions[t];return l(e[r])&&l(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function h(t,e){if("cartesian2d"===t.type){var n=e[0].coord,r=e[1].coord;if(n&&r&&(u(1,n,r,t)||u(0,n,r,t)))return!0}return i.dataFilter(t,e[0])&&i.dataFilter(t,e[1])}function c(t,e,i,r,o){var a,s=r.coordinateSystem,u=t.getItemModel(e),h=n.parsePercent(u.get("x"),o.getWidth()),c=n.parsePercent(u.get("y"),o.getHeight());if(isNaN(h)||isNaN(c)){if(r.getMarkerPosition)a=r.getMarkerPosition(t.getValues(t.dimensions,e));else{var d=s.dimensions,p=t.get(d[0],e),f=t.get(d[1],e);a=s.dataToPoint([p,f])}if("cartesian2d"===s.type){var g=s.getAxis("x"),v=s.getAxis("y");d=s.dimensions,l(t.get(d[0],e))?a[0]=g.toGlobalCoord(g.getExtent()[i?0:1]):l(t.get(d[1],e))&&(a[1]=v.toGlobalCoord(v.getExtent()[i?0:1]))}isNaN(h)||(a[0]=h),isNaN(c)||(a[1]=c)}else a=[h,c];t.setItemLayout(e,a)}var d=o.extend({type:"markLine",updateTransform:function(t,e,n){e.eachSeries((function(t){var e=t.markLineModel;if(e){var i=e.getData(),r=e.__from,o=e.__to;r.each((function(e){c(r,e,!0,t,n),c(o,e,!1,t,n)})),i.each((function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},renderSeries:function(e,n,i,o){var a=e.coordinateSystem,s=e.id,l=e.getData(),u=this.markerGroupMap,h=u.get(s)||u.set(s,new r);this.group.add(h.group);var d=p(a,e,n),f=d.from,g=d.to,v=d.line;n.__from=f,n.__to=g,n.setData(v);var m=n.get("symbol"),y=n.get("symbolSize");function x(t,n,i){var r=t.getItemModel(n);c(t,n,i,e,o),t.setItemVisual(n,{symbolRotate:r.get("symbolRotate"),symbolSize:r.get("symbolSize")||y[i?0:1],symbol:r.get("symbol",!0)||m[i?0:1],color:r.get("itemStyle.color")||l.getVisual("color")})}t.isArray(m)||(m=[m,m]),"number"==typeof y&&(y=[y,y]),d.from.each((function(t){x(f,t,!0),x(g,t,!1)})),v.each((function(t){var e=v.getItemModel(t).get("lineStyle.color");v.setItemVisual(t,{color:e||f.getItemVisual(t,"color")}),v.setItemLayout(t,[f.getItemLayout(t),g.getItemLayout(t)]),v.setItemVisual(t,{fromSymbolRotate:f.getItemVisual(t,"symbolRotate"),fromSymbolSize:f.getItemVisual(t,"symbolSize"),fromSymbol:f.getItemVisual(t,"symbol"),toSymbolRotate:g.getItemVisual(t,"symbolRotate"),toSymbolSize:g.getItemVisual(t,"symbolSize"),toSymbol:g.getItemVisual(t,"symbol")})})),h.updateData(v),d.line.eachItemGraphicEl((function(t,e){t.traverse((function(t){t.dataModel=n}))})),h.__keep=!0,h.group.silent=n.get("silent")||e.get("silent")}});function p(n,r,o){var a;a=n?t.map(n&&n.dimensions,(function(e){var n=r.getData().getDimensionInfo(r.getData().mapDimension(e))||{};return t.defaults({name:e},n)})):[{name:"value",type:"float"}];var l=new e(a,o),u=new e(a,o),c=new e([],o),d=t.map(o.get("data"),t.curry(s,r,n,o));n&&(d=t.filter(d,t.curry(h,n)));var p=n?i.dimValueGetter:function(t){return t.value};return l.initData(t.map(d,(function(t){return t[0]})),null,p),u.initData(t.map(d,(function(t){return t[1]})),null,p),c.initData(t.map(d,(function(t){return t[2]}))),c.hasItemOption=!0,{from:l,to:u,line:c}}Itt=d}(),t.registerPreprocessor((function(t){t.markLine=t.markLine||{}}))}(),function(){if(ktt)return Ntt;ktt=1;var t=s$();(function(){if(Dtt)return Att;Dtt=1;var t=ptt(),e=t.extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});Att=e})(),function(){if(Ltt)return Ett;Ltt=1;var t=bW(),e=sU(),n=tK(),i=YX(),r=zX(),o=btt(),a=wtt(),s=function(e,n,i,r){var a=o.dataTransform(e,r[0]),s=o.dataTransform(e,r[1]),l=t.retrieve,u=a.coord,h=s.coord;u[0]=l(u[0],-1/0),u[1]=l(u[1],-1/0),h[0]=l(h[0],1/0),h[1]=l(h[1],1/0);var c=t.mergeAll([{},a,s]);return c.coord=[a.coord,s.coord],c.x0=a.x,c.y0=a.y,c.x1=s.x,c.y1=s.y,c};function l(t){return!isNaN(t)&&!isFinite(t)}function u(t,e,n,i){var r=1-t;return l(e[r])&&l(n[r])}function h(t,e){var n=e.coord[0],i=e.coord[1];return!("cartesian2d"!==t.type||!n||!i||!u(1,n,i)&&!u(0,n,i))||o.dataFilter(t,{coord:n,x:e.x0,y:e.y0})||o.dataFilter(t,{coord:i,x:e.x1,y:e.y1})}function c(t,e,n,r,o){var a,s=r.coordinateSystem,u=t.getItemModel(e),h=i.parsePercent(u.get(n[0]),o.getWidth()),c=i.parsePercent(u.get(n[1]),o.getHeight());if(isNaN(h)||isNaN(c)){if(r.getMarkerPosition)a=r.getMarkerPosition(t.getValues(n,e));else{var d=[g=t.get(n[0],e),v=t.get(n[1],e)];s.clampData&&s.clampData(d,d),a=s.dataToPoint(d,!0)}if("cartesian2d"===s.type){var p=s.getAxis("x"),f=s.getAxis("y"),g=t.get(n[0],e),v=t.get(n[1],e);l(g)?a[0]=p.toGlobalCoord(p.getExtent()["x0"===n[0]?0:1]):l(v)&&(a[1]=f.toGlobalCoord(f.getExtent()["y0"===n[1]?0:1]))}isNaN(h)||(a[0]=h),isNaN(c)||(a[1]=c)}else a=[h,c];return a}var d=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];function p(e,i,r){var o,a,l=["x0","y0","x1","y1"];e?(o=t.map(e&&e.dimensions,(function(e){var n=i.getData(),r=n.getDimensionInfo(n.mapDimension(e))||{};return t.defaults({name:e},r)})),a=new n(t.map(l,(function(t,e){return{name:t,type:o[e%2].type}})),r)):a=new n(o=[{name:"value",type:"float"}],r);var u=t.map(r.get("data"),t.curry(s,i,e,r));e&&(u=t.filter(u,t.curry(h,e)));var c=e?function(t,e,n,i){return t.coord[Math.floor(i/2)][i%2]}:function(t){return t.value};return a.initData(u,null,c),a.hasItemOption=!0,a}a.extend({type:"markArea",updateTransform:function(e,n,i){n.eachSeries((function(e){var n=e.markAreaModel;if(n){var r=n.getData();r.each((function(n){var o=t.map(d,(function(t){return c(r,n,t,e,i)}));r.setItemLayout(n,o),r.getItemGraphicEl(n).setShape("points",o)}))}}),this)},renderSeries:function(n,i,o,a){var s=n.coordinateSystem,u=n.id,h=n.getData(),f=this.markerGroupMap,g=f.get(u)||f.set(u,{group:new r.Group});this.group.add(g.group),g.__keep=!0;var v=p(s,n,i);i.setData(v),v.each((function(e){var i=t.map(d,(function(t){return c(v,e,t,n,a)})),r=!0;t.each(d,(function(t){if(r){var n=v.get(t[0],e),i=v.get(t[1],e);(l(n)||s.getAxis("x").containData(n))&&(l(i)||s.getAxis("y").containData(i))&&(r=!1)}})),v.setItemLayout(e,{points:i,allClipped:r}),v.setItemVisual(e,{color:h.getVisual("color")})})),v.diff(g.__data).add((function(t){var e=v.getItemLayout(t);if(!e.allClipped){var n=new r.Polygon({shape:{points:e.points}});v.setItemGraphicEl(t,n),g.group.add(n)}})).update((function(t,e){var n=g.__data.getItemGraphicEl(e),o=v.getItemLayout(t);o.allClipped?n&&g.group.remove(n):(n?r.updateProps(n,{shape:{points:o.points}},i,t):n=new r.Polygon({shape:{points:o.points}}),v.setItemGraphicEl(t,n),g.group.add(n))})).remove((function(t){var e=g.__data.getItemGraphicEl(t);g.group.remove(e)})).execute(),v.eachItemGraphicEl((function(n,o){var a=v.getItemModel(o),s=a.getModel("label"),l=a.getModel("emphasis.label"),u=v.getItemVisual(o,"color");n.useStyle(t.defaults(a.getModel("itemStyle").getItemStyle(),{fill:e.modifyAlpha(u,.4),stroke:u})),n.hoverStyle=a.getModel("emphasis.itemStyle").getItemStyle(),r.setLabelStyle(n.style,n.hoverStyle,s,l,{labelFetcher:i,labelDataIndex:o,defaultText:v.getName(o)||"",isRectText:!0,autoColor:u}),r.setHoverStyle(n,{}),n.dataModel=i})),g.__data=v,g.group.silent=i.get("silent")||n.get("silent")}})}(),t.registerPreprocessor((function(t){t.markArea=t.markArea||{}}))}(),tet||(tet=1,Jtt(),function(){if(Ztt)return Ytt;Ztt=1;var t=Vtt(),e=rj(),n=e.mergeLayoutParam,i=e.getLayoutParams,r=t.extend({type:"legend.scroll",setScrollDataIndex:function(t){this.option.scrollDataIndex=t},defaultOption:{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800},init:function(t,e,n,a){var s=i(t);r.superCall(this,"init",t,e,n,a),o(this,t,s)},mergeOption:function(t,e){r.superCall(this,"mergeOption",t,e),o(this,this.option,t)}});function o(t,e,i){var r=[1,1];r[t.getOrient().index]=0,n(e,i,{type:"box",ignoreSize:r})}var a=r;Ytt=a}(),function(){if(jtt)return Xtt;jtt=1;var t=bW(),e=zX(),n=rj(),i=Ktt(),r=e.Group,o=["width","height"],a=["x","y"],s=i.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){s.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new r),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new r),this._showController},resetInner:function(){s.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(n,i,r,o,a,l,u){var h=this;s.superCall(this,"renderInner",n,i,r,o,a,l,u);var c=this._controllerGroup,d=i.get("pageIconSize",!0);t.isArray(d)||(d=[d,d]),f("pagePrev",0);var p=i.getModel("pageTextStyle");function f(n,r){var a=n+"DataIndex",s=e.createIcon(i.get("pageIcons",!0)[i.getOrient().name][r],{onclick:t.bind(h._pageGo,h,a,i,o)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});s.name=n,c.add(s)}c.add(new e.Text({name:"pageText",style:{textFill:p.getTextColor(),font:p.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),f("pageNext",1)},layoutInner:function(e,i,r,s,l,u){var h=this.getSelectorGroup(),c=e.getOrient().index,d=o[c],p=a[c],f=o[1-c],g=a[1-c];l&&n.box("horizontal",h,e.get("selectorItemGap",!0));var v=e.get("selectorButtonGap",!0),m=h.getBoundingRect(),y=[-m.x,-m.y],x=t.clone(r);l&&(x[d]=r[d]-m[d]-v);var _=this._layoutContentAndController(e,s,x,c,d,f,g);if(l){if("end"===u)y[c]+=_[d]+v;else{var b=m[d]+v;y[c]-=b,_[p]-=b}_[d]+=m[d]+v,y[1-c]+=_[g]+_[f]/2-m[f]/2,_[f]=Math.max(_[f],m[f]),_[g]=Math.min(_[g],m[g]+y[1-c]),h.attr("position",y)}return _},_layoutContentAndController:function(i,r,o,a,s,l,u){var h=this.getContentGroup(),c=this._containerGroup,d=this._controllerGroup;n.box(i.get("orient"),h,i.get("itemGap"),a?o.width:null,a?null:o.height),n.box("horizontal",d,i.get("pageButtonItemGap",!0));var p=h.getBoundingRect(),f=d.getBoundingRect(),g=this._showController=p[s]>o[s],v=[-p.x,-p.y];r||(v[a]=h.position[a]);var m=[0,0],y=[-f.x,-f.y],x=t.retrieve2(i.get("pageButtonGap",!0),i.get("itemGap",!0));g&&("end"===i.get("pageButtonPosition",!0)?y[a]+=o[s]-f[s]:m[a]+=f[s]+x),y[1-a]+=p[l]/2-f[l]/2,h.attr("position",v),c.attr("position",m),d.attr("position",y);var _={x:0,y:0};if(_[s]=g?o[s]:p[s],_[l]=Math.max(p[l],f[l]),_[u]=Math.min(0,f[u]+y[1-a]),c.__rectSize=o[s],g){var b={x:0,y:0};b[s]=Math.max(o[s]-f[s]-x,0),b[l]=_[l],c.setClipPath(new e.Rect({shape:b})),c.__rectSize=b[s]}else d.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var w=this._getPageInfo(i);return null!=w.pageIndex&&e.updateProps(h,{position:w.contentPosition},!!g&&i),this._updatePageInfoView(i,w),_},_pageGo:function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},_updatePageInfoView:function(e,n){var i=this._controllerGroup;t.each(["pagePrev","pageNext"],(function(t){var r=null!=n[t+"DataIndex"],o=i.childOfName(t);o&&(o.setStyle("fill",r?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var r=i.childOfName("pageText"),o=e.get("pageFormatter"),a=n.pageIndex,s=null!=a?a+1:0,l=n.pageCount;r&&o&&r.setStyle("text",t.isString(o)?o.replace("{current}",s).replace("{total}",l):o({current:s,total:l}))},_getPageInfo:function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,s=o[r],l=a[r],u=this._findTargetItemIndex(e),h=n.children(),c=h[u],d=h.length,p=d?1:0,f={contentPosition:n.position.slice(),pageCount:p,pageIndex:p-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!c)return f;var g=_(c);f.contentPosition[r]=-g.s;for(var v=u+1,m=g,y=g,x=null;v<=d;++v)(!(x=_(h[v]))&&y.e>m.s+i||x&&!b(x,m.s))&&(m=y.i>m.i?y:x)&&(null==f.pageNextDataIndex&&(f.pageNextDataIndex=m.i),++f.pageCount),y=x;for(v=u-1,m=g,y=g,x=null;v>=-1;--v)(x=_(h[v]))&&b(y,x.s)||!(m.i=e&&t.s<=e+i}},_findTargetItemIndex:function(t){return this._showController?(this.getContentGroup().eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n):0;var e,n}}),l=s;Xtt=l}(),function(){if(Qtt)return aet;Qtt=1;var t=s$();t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}()),Jtt(),vet||(vet=1,uet(),_et()),_et(),uet(),rnt||(rnt=1,Jet(),ant()),Jet(),ant(),function(){if(cnt)return dnt;cnt=1,function(){if(lnt)return pnt;lnt=1;var t=yW(),e=AW().applyTransform,n=kU(),i=sU(),r=eY(),o=xY(),a=_Y(),s=bY(),l=wY(),u=NZ(),h=PZ(),c=qY(),d=RX(),p=gnt(),f=c.CMD,g=Math.round,v=Math.sqrt,m=Math.abs,y=Math.cos,x=Math.sin,_=Math.max;if(!t.canvasSupported){var b=",",w="progid:DXImageTransform.Microsoft",S=21600,M=S/2,I=1e5,T=1e3,C=function(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=S+","+S,t.coordorigin="0,0"},A=function(t){return String(t).replace(/&/g,"&").replace(/"/g,""")},D=function(t,e,n){return"rgb("+[t,e,n].join(",")+")"},L=function(t,e){e&&t&&e.parentNode!==t&&t.appendChild(e)},k=function(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)},P=function(t,e,n){return(parseFloat(t)||0)*I+(parseFloat(e)||0)*T+n},O=o.parsePercent,R=function(t,e,n){var r=i.parse(e);n=+n,isNaN(n)&&(n=1),r&&(t.color=D(r[0],r[1],r[2]),t.opacity=n*r[3])},N=function(t){var e=i.parse(t);return[D(e[0],e[1],e[2]),e[3]]},E=function(t,n,i){var r=n.fill;if(null!=r)if(r instanceof d){var o,a=0,s=[0,0],l=0,u=1,h=i.getBoundingRect(),c=h.width,p=h.height;if("linear"===r.type){o="gradient";var f=i.transform,g=[r.x*c,r.y*p],v=[r.x2*c,r.y2*p];f&&(e(g,g,f),e(v,v,f));var m=v[0]-g[0],y=v[1]-g[1];(a=180*Math.atan2(m,y)/Math.PI)<0&&(a+=360),a<1e-6&&(a=0)}else{o="gradientradial",g=[r.x*c,r.y*p],f=i.transform;var x=i.scale,b=c,w=p;s=[(g[0]-h.x)/b,(g[1]-h.y)/w],f&&e(g,g,f),b/=x[0]*S,w/=x[1]*S;var M=_(b,w);l=0/M,u=2*r.r/M-l}var I=r.colorStops.slice();I.sort((function(t,e){return t.offset-e.offset}));for(var T=I.length,C=[],A=[],D=0;D=2){var P=C[0][0],O=C[1][0],E=C[0][1]*n.opacity,z=C[1][1]*n.opacity;t.type=o,t.method="none",t.focus="100%",t.angle=a,t.color=P,t.color2=O,t.colors=A.join(","),t.opacity=z,t.opacity2=E}"radial"===o&&(t.focusposition=s.join(","))}else R(t,r,n.opacity)},z=function(t,e){e.lineDash&&(t.dashstyle=e.lineDash.join(" ")),null==e.stroke||e.stroke instanceof d||R(t,e.stroke,e.opacity)},V=function(t,e,n,i){var r="fill"===e,o=t.getElementsByTagName(e)[0];null!=n[e]&&"none"!==n[e]&&(r||!r&&n.lineWidth)?(t[r?"filled":"stroked"]="true",n[e]instanceof d&&k(t,o),o||(o=p.createNode(e)),r?E(o,n,i):z(o,n),L(t,o)):(t[r?"filled":"stroked"]="false",k(t,o))},B=[[],[],[]],F=function(t,n){var i,r,o,a,s,l,u=f.M,h=f.C,c=f.L,d=f.A,p=f.Q,m=[],_=t.data,w=t.len();for(a=0;a.01?W&&(U+=270/S):Math.abs(Y-z)<1e-4?W&&UE?A-=270/S:A+=270/S:W&&Yz?C+=270/S:C-=270/S),m.push(Z,g(((E-V)*O+k)*S-M),b,g(((z-F)*R+P)*S-M),b,g(((E+V)*O+k)*S-M),b,g(((z+F)*R+P)*S-M),b,g((U*O+k)*S-M),b,g((Y*R+P)*S-M),b,g((C*O+k)*S-M),b,g((A*R+P)*S-M)),s=C,l=A;break;case f.R:var X=B[0],j=B[1];X[0]=_[a++],X[1]=_[a++],j[0]=X[0]+_[a++],j[1]=X[1]+_[a++],n&&(e(X,X,n),e(j,j,n)),X[0]=g(X[0]*S-M),j[0]=g(j[0]*S-M),X[1]=g(X[1]*S-M),j[1]=g(j[1]*S-M),m.push(" m ",X[0],b,X[1]," l ",j[0],b,X[1]," l ",j[0],b,j[1]," l ",X[0],b,j[1]);break;case f.Z:m.push(" x ")}if(i>0){m.push(r);for(var q=0;qZ&&(Y=0,U={});var n,i=X.style;try{i.font=t,n=i.fontFamily.split(",")[0]}catch(Fu){}e={style:i.fontStyle||W,variant:i.fontVariant||W,weight:i.fontWeight||W,size:0|parseFloat(i.fontSize||12),family:n||"Microsoft YaHei"},U[t]=e,Y++}return e};r.$override("measureText",(function(t,e){var n=p.doc;H||((H=n.createElement("div")).style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",p.doc.body.appendChild(H));try{H.style.font=e}catch(i){}return H.innerHTML="",H.appendChild(n.createTextNode(t)),{width:H.offsetWidth}}));for(var q=new n,K=function(t,n,i,a){var s=this.style;this.__dirty&&o.normalizeTextStyle(s,!0);var l=s.text;if(null!=l&&(l+=""),l){if(s.rich){var u=r.parseRichText(l,s);l=[];for(var h=0;h{n=t.c}],execute:function(){t({C:z,D:O,E:ky,F:Py,G:Dy,I:A,J:k,K:jr,M:_m,P:uc,S:ao,U:R,W:Nd,X:V_,Y:B_,_:C,a:Dz,a0:U,a1:Wy,a2:yx,a4:ei,a6:nb,a7:VI,a8:function(t,e){if("world"===t){var n=Bit[e.name];if(n){var i=[n[0],n[1]];e.setCenter(i)}}},a9:B,aa:go,ac:Id,ad:oe,ae:xd,af:K,ag:Td,ah:Cd,ai:Ey,al:function(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0;if(a>e+s&&a>i+s||at+s&&o>n+s||o=0;s--){var l=i[s].dimension,u=e.dimensions[l],h=e.getDimensionInfo(u);if("x"===(r=h&&h.coordDim)||"y"===r){a=i[s];break}}if(a){var c=n.getAxis(r),d=t.map(a.stops,(function(t){return{coord:c.toGlobalCoord(c.dataToCoord(t.value)),color:t.color}})),p=d.length,f=a.outerColors.slice();p&&d[0].coord>d[p-1].coord&&(d.reverse(),f.reverse());var g=10,v=d[0].coord-g,m=d[p-1].coord+g,y=m-v;if(y<.001)return"transparent";t.each(d,(function(t){t.offset=(t.coord-v)/y})),d.push({offset:p?d[p-1].offset:.5,color:f[1]||"transparent"}),d.unshift({offset:p?d[0].offset:.5,color:f[0]||"transparent"});var x=new o.LinearGradient(0,0,0,0,d,!0);return x[r]=v,x[r+"2"]=m,x}}}function S(e,n,i){var r=e.get("showAllSymbol"),o="auto"===r;if(!r||o){var a=i.getAxesByScale("ordinal")[0];if(a&&(!o||!M(a,n))){var s=n.mapDimension(a.dim),l={};return t.each(a.getViewLabels(),(function(t){l[t.tickValue]=1})),function(t){return!l.hasOwnProperty(n.get(s,t))}}}}function M(t,e){var n=t.getExtent(),r=Math.abs(n[1]-n[0])/t.scale.count();isNaN(r)&&(r=0);for(var o=e.count(),a=Math.max(1,Math.round(o/5)),s=0;sr)return!1;return!0}function I(t,e,n){if("cartesian2d"===t.type){var i=t.getBaseAxis().isHorizontal(),r=g(t,e,n);if(!n.get("clip",!0)){var o=r.shape,a=Math.max(o.width,o.height);i?(o.y-=a,o.height+=2*a):(o.x-=a,o.width+=2*a)}return r}return v(t,e,n)}var T=h.extend({type:"line",init:function(){var t=new o.Group,e=new n;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(e,n,i){var r=e.coordinateSystem,o=this.group,a=e.getData(),s=e.getModel("lineStyle"),l=e.getModel("areaStyle"),u=a.mapArray(a.getItemLayout),h="polar"===r.type,c=this._coordSys,p=this._symbolDraw,f=this._polyline,g=this._polygon,v=this._lineGroup,y=e.get("animation"),M=!l.isEmpty(),T=l.get("origin"),C=_(r,a,d(r,a,T)),A=e.get("showSymbol"),D=A&&!h&&S(e,a,r),L=this._data;L&&L.eachItemGraphicEl((function(t,e){t.__temp&&(o.remove(t),L.setItemGraphicEl(e,null))})),A||p.remove(),o.add(v);var k,P=!h&&e.get("step");r&&r.getArea&&e.get("clip",!0)&&(null!=(k=r.getArea()).width?(k.x-=.1,k.y-=.1,k.width+=.2,k.height+=.2):k.r0&&(k.r0-=.5,k.r1+=.5)),this._clipShapeForSymbol=k,f&&c.type===r.type&&P===this._step?(M&&!g?g=this._newPolygon(u,C,r,y):g&&!M&&(v.remove(g),g=this._polygon=null),v.setClipPath(I(r,!1,e)),A&&p.updateData(a,{isIgnore:D,clipShape:k}),a.eachItemGraphicEl((function(t){t.stopAnimation(!0)})),m(this._stackedOnPoints,C)&&m(this._points,u)||(y?this._updateAnimation(a,C,r,i,P,T):(P&&(u=b(u,r,P),C=b(C,r,P)),f.setShape({points:u}),g&&g.setShape({points:u,stackedOnPoints:C})))):(A&&p.updateData(a,{isIgnore:D,clipShape:k}),P&&(u=b(u,r,P),C=b(C,r,P)),f=this._newPolyline(u,r,y),M&&(g=this._newPolygon(u,C,r,y)),v.setClipPath(I(r,!0,e)));var O=w(a,r)||a.getVisual("color");f.useStyle(t.defaults(s.getLineStyle(),{fill:"none",stroke:O,lineJoin:"bevel"}));var R=e.get("smooth");if(R=x(e.get("smooth")),f.setShape({smooth:R,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")}),g){var N=a.getCalculationInfo("stackedOnSeries"),E=0;g.useStyle(t.defaults(l.getAreaStyle(),{fill:O,opacity:.7,lineJoin:"bevel"})),N&&(E=x(N.get("smooth"))),g.setShape({smooth:R,stackedOnSmooth:E,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")})}this._data=a,this._coordSys=r,this._stackedOnPoints=C,this._points=u,this._step=P,this._valueOrigin=T},dispose:function(){},highlight:function(t,e,n,r){var o=t.getData(),s=a.queryDataIndex(o,r);if(!(s instanceof Array)&&null!=s&&s>=0){var l=o.getItemGraphicEl(s);if(!l){var u=o.getItemLayout(s);if(!u)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(u[0],u[1]))return;(l=new i(o,s)).position=u,l.setZ(t.get("zlevel"),t.get("z")),l.ignore=isNaN(u[0])||isNaN(u[1]),l.__temp=!0,o.setItemGraphicEl(s,l),l.stopSymbolAnimation(!0),this.group.add(l)}l.highlight()}else h.prototype.highlight.call(this,t,e,n,r)},downplay:function(t,e,n,i){var r=t.getData(),o=a.queryDataIndex(r,i);if(null!=o&&o>=0){var s=r.getItemGraphicEl(o);s&&(s.__temp?(r.setItemGraphicEl(o,null),this.group.remove(s)):s.downplay())}else h.prototype.downplay.call(this,t,e,n,i)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new l({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new u({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_updateAnimation:function(t,e,n,i,a,s){var l=this._polyline,u=this._polygon,h=t.hostModel,c=r(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,s),d=c.current,p=c.stackedOnCurrent,f=c.next,g=c.stackedOnNext;if(a&&(d=b(c.current,n,a),p=b(c.stackedOnCurrent,n,a),f=b(c.next,n,a),g=b(c.stackedOnNext,n,a)),y(d,f)>3e3||u&&y(p,g)>3e3)return l.setShape({points:f}),void(u&&u.setShape({points:f,stackedOnPoints:g}));l.shape.__points=c.current,l.shape.points=d,o.updateProps(l,{shape:{points:f}},h),u&&(u.setShape({points:d,stackedOnPoints:p}),o.updateProps(u,{shape:{points:f,stackedOnPoints:g}},h));for(var v=[],m=c.status,x=0;xt&&(t=e),t},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});EJ=e}(),function(){if(ZJ)return YJ;ZJ=1,cW().__DEV__;var t=s$(),e=bW(),n=zX(),i=qJ().setLabel,r=VX(),o=KJ(),a=PZ(),s=PU(),l=_q().throttle,u=B$().createClipPath,h=function(){if(UJ)return WJ;UJ=1;var t=zX().extendShape,e=t({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,h=e.clockwise,c=Math.cos(l),d=Math.sin(l),p=Math.cos(u),f=Math.sin(u);(h?u-l<2*Math.PI:l-u<2*Math.PI)&&(t.moveTo(c*r+n,d*r+i),t.arc(c*s+n,d*s+i,a,-Math.PI+l,l,!h)),t.arc(n,i,o,l,u,!h),t.moveTo(p*o+n,f*o+i),t.arc(p*s+n,f*s+i,a,u-2*Math.PI,u-Math.PI,!h),0!==r&&(t.arc(n,i,r,u,l,h),t.moveTo(c*r+n,f*r+i)),t.closePath()}});return WJ=e}(),c=["itemStyle","barBorderWidth"],d=[0,0];function p(t,e){var n=t.getArea&&t.getArea();if("cartesian2d"===t.type){var i=t.getBaseAxis();if("category"!==i.type||!i.onBand){var r=e.getLayout("bandWidth");i.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}e.extend(r.prototype,o);var f=t.extendChartView({type:"bar",render:function(t,e,n){this._updateDrawMode(t);var i=t.get("coordinateSystem");return"cartesian2d"!==i&&"polar"!==i||(this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n)),this.group},incrementalPrepareRender:function(t,e,n){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,n,i){this._incrementalRenderLarge(t,e)},_updateDrawMode:function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e^this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},_renderNormal:function(t,e,i){var r,o=this.group,a=t.getData(),l=this._data,u=t.coordinateSystem,h=u.getBaseAxis();"cartesian2d"===u.type?r=h.isHorizontal():"polar"===u.type&&(r="angle"===h.dim);var c=t.isAnimationEnabled()?t:null,d=t.get("clip",!0),f=p(u,a);o.removeClipPath();var g=t.get("roundCap",!0),v=t.get("showBackground",!0),w=t.getModel("backgroundStyle"),M=w.get("barBorderRadius")||0,I=[],T=this._backgroundEls||[],C=function(t){var e=b[u.type](a,t),n=P(u,r,e);return n.useStyle(w.getBarItemStyle()),"cartesian2d"===u.type&&n.setShape("r",M),I[t]=n,n};a.diff(l).add((function(e){var n=a.getItemModel(e),i=b[u.type](a,e,n);if(v&&C(e),a.hasValue(e)){if(d&&m[u.type](f,i))return void o.remove(s);var s=y[u.type](e,i,r,c,!1,g);a.setItemGraphicEl(e,s),o.add(s),S(s,a,e,n,i,t,r,"polar"===u.type)}})).update((function(e,i){var s=a.getItemModel(e),h=b[u.type](a,e,s);if(v){var p;0===T.length?p=C(i):((p=T[i]).useStyle(w.getBarItemStyle()),"cartesian2d"===u.type&&p.setShape("r",M),I[e]=p);var x=b[u.type](a,e),_=k(r,x,u);n.updateProps(p,{shape:_},c,e)}var A=l.getItemGraphicEl(i);if(a.hasValue(e)){if(d&&m[u.type](f,h))return void o.remove(A);A?n.updateProps(A,{shape:h},c,e):A=y[u.type](e,h,r,c,!0,g),a.setItemGraphicEl(e,A),o.add(A),S(A,a,e,s,h,t,r,"polar"===u.type)}else o.remove(A)})).remove((function(t){var e=l.getItemGraphicEl(t);"cartesian2d"===u.type?e&&x(t,c,e):e&&_(t,c,e)})).execute();var A=this._backgroundGroup||(this._backgroundGroup=new s);A.removeAll();for(var D=0;D0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle}}};function w(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function S(t,r,o,a,s,l,u,h){var c=r.getItemVisual(o,"color"),d=r.getItemVisual(o,"opacity"),p=r.getVisual("borderColor"),f=a.getModel("itemStyle"),g=a.getModel("emphasis.itemStyle").getBarItemStyle();h||t.setShape("r",f.get("barBorderRadius")||0),t.useStyle(e.defaults({stroke:w(s)?"none":p,fill:w(s)?"none":c,opacity:d},f.getBarItemStyle()));var v=a.getShallow("cursor");v&&t.attr("cursor",v);var m=u?s.height>0?"bottom":"top":s.width>0?"left":"right";h||i(t.style,g,a,c,l,o,m),w(s)&&(g.fill=g.stroke="none"),n.setHoverStyle(t,g)}function M(t,e){var n=t.get(c)||0,i=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),r=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(n,i,r)}var I=a.extend({type:"largeBar",shape:{points:[]},buildPath:function(t,e){for(var n=e.points,i=this.__startPoint,r=this.__baseDimIdx,o=0;o=0?n:null}),30,!1);function A(t,e,n){var i=t.__baseDimIdx,r=1-i,o=t.shape.points,a=t.__largeDataIndices,s=Math.abs(t.__barWidth/2),l=t.__startPoint[r];d[0]=e,d[1]=n;for(var u=d[i],h=d[1-i],c=u-s,p=u+s,f=0,g=o.length/2;f=c&&m<=p&&(l<=y?h>=l&&h<=y:h>=y&&h<=l))return a[f]}return-1}function D(t,e,n){var i=n.getVisual("borderColor")||n.getVisual("color"),r=e.getModel("itemStyle").getItemStyle(["color","borderColor"]);t.useStyle(r),t.style.fill=null,t.style.stroke=i,t.style.lineWidth=n.getLayout("barWidth")}function L(t,e,n){var i=e.get("borderColor")||e.get("color"),r=e.getItemStyle(["color","borderColor"]);t.useStyle(r),t.style.fill=null,t.style.stroke=i,t.style.lineWidth=n.getLayout("barWidth")}function k(t,e,n){var i,r="polar"===n.type;return i=r?n.getArea():n.grid.getRect(),r?{cx:i.cx,cy:i.cy,r0:t?i.r0:e.r0,r:t?i.r:e.r,startAngle:t?e.startAngle:0,endAngle:t?e.endAngle:2*Math.PI}:{x:t?e.x:i.x,y:t?i.y:e.y,width:t?e.width:i.width,height:t?i.height:e.height}}function P(t,e,i){return new("polar"===t.type?n.Sector:n.Rect)({shape:k(e,i,t),silent:!0,z2:0})}YJ=f}(),OJ(),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,e.curry(i,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,r),t.registerVisual({seriesType:"bar",reset:function(t){t.getData().setVisual("legendSymbol","roundRect")}})}(),function(){if(mQ)return yQ;mQ=1;var t=s$(),e=bW();(function(){if(rQ)return iQ;rQ=1;var t=s$(),e=xQ(),n=bW(),i=AY(),r=YX().getPercentWithPrecision,o=_Q(),a=Gj().retrieveRawAttr,s=Lj().makeSeriesEncodeForNameBased,l=bQ(),u=t.extendSeriesModel({type:"series.pie",init:function(t){u.superApply(this,"init",arguments),this.legendVisualProvider=new l(n.bind(this.getData,this),n.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){u.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,i){return e(this,{coordDimensions:["value"],encodeDefaulter:n.curry(s,this)})},_createSelectableList:function(){for(var t=this.getRawData(),e=t.mapDimension("value"),n=[],i=0,r=t.count();i0&&(c?"scale"!==d:"transition"!==p)){for(var v=s.getItemLayout(0),m=1;isNaN(v.startAngle)&&m=n.r0}}}),l=s;oQ=l}();var n=wQ(),i=SQ(),r=IQ(),o=TQ();n("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),t.registerVisual(i("pie")),t.registerLayout(e.curry(r,"pie")),t.registerProcessor(o("pie"))}(),function(){if(PQ)return $Q;PQ=1;var t=s$();(function(){if(AQ)return CQ;AQ=1;var t=hK(),e=tq(),n=e.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(e,n){return t(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});CQ=n})(),function(){if(kQ)return JQ;kQ=1;var t=s$(),e=x$(),n=function(){if(LQ)return DQ;LQ=1;var t=zX(),e=HK().createSymbol,n=EX(),i=4,r=t.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(t,e){var n=e.points,r=e.size,o=this.symbolProxy,a=o.shape;if(!((t.getContext?t.getContext():t)&&r[0]=0;s--){var l=2*s,u=i[l]-o/2,h=i[l+1]-a/2;if(t>=u&&e>=h&&t<=u+o&&e<=h+a)return s}return-1}});function o(){this.group=new t.Group}var a=o.prototype;a.isPersistent=function(){return!this._incremental},a.updateData=function(t,e){this.group.removeAll();var n=new r({rectHover:!0,cursor:"default"});n.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(n,t,!1,e),this.group.add(n),this._incremental=null},a.updateLayout=function(t){if(!this._incremental){var e=t.getLayout("symbolPoints");this.group.eachChild((function(t){if(null!=t.startIndex){var n=2*(t.endIndex-t.startIndex),i=4*t.startIndex*2;e=new Float32Array(e.buffer,i,n)}t.setShape("points",e)}))}},a.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new n({silent:!0})),this.group.add(this._incremental)):this._incremental=null},a.incrementalUpdate=function(t,e,n){var i;this._incremental?(i=new r,this._incremental.addDisplayable(i,!0)):((i=new r({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end})).incremental=!0,this.group.add(i)),i.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(i,e,!!this._incremental,n)},a._setCommon=function(t,n,r,o){var a=n.hostModel;o=o||{};var s=n.getVisual("symbolSize");t.setShape("size",s instanceof Array?s:[s,s]),t.softClipShape=o.clipShape||null,t.symbolProxy=e(n.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var l=t.shape.size[0]=0&&(t.dataIndex=n+(t.startIndex||0))})))},a.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},a._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var s=o;return DQ=s}(),i=G$();t.extendChartView({type:"scatter",render:function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},incrementalPrepareRender:function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},incrementalRender:function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,n){var r=t.getData();if(this.group.dirty(),!this._finished||r.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var o=i().reset(t);o.progress&&o.progress({start:0,end:r.count()},r),this._symbolDraw.updateLayout(r)},_getClipShape:function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},_updateSymbolDraw:function(t,i){var r=this._symbolDraw,o=i.pipelineContext.large;return r&&o===this._isLargeDraw||(r&&r.remove(),r=this._symbolDraw=o?new n:new e,this._isLargeDraw=o,this.group.removeAll()),this.group.add(r.group),r},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})}();var e=F$(),n=G$();OJ(),t.registerVisual(e("scatter","circle")),t.registerLayout(n("scatter"))}(),function(){if(KQ)return QQ;KQ=1;var t=s$();GQ||(GQ=1,function(){if(EQ)return NQ;EQ=1;var t=bW(),e=function(){if(RQ)return OQ;RQ=1;var t=bW(),e=o$();function n(t,n,i){e.call(this,t,n,i),this.type="value",this.angle=0,this.name="",this.model}t.inherits(n,e);var i=n;return OQ=i}(),n=IK(),i=YX(),r=zK(),o=r.getScaleExtent,a=r.niceScaleExtent,s=Oj(),l=EK();function u(i,r,o){this._model=i,this.dimensions=[],this._indicatorAxes=t.map(i.getIndicatorModels(),(function(t,i){var r="indicator_"+i,o=new e(r,"log"===t.get("axisType")?new l:new n);return o.name=t.get("name"),o.model=t,t.axis=o,this.dimensions.push(r),o}),this),this.resize(i,o),this.cx,this.cy,this.r,this.r0,this.startAngle}u.prototype.getIndicatorAxes=function(){return this._indicatorAxes},u.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},u.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(n),this.cy-t*Math.sin(n)]},u.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=Math.sqrt(e*e+n*n);e/=i,n/=i;for(var r,o=Math.atan2(-n,e),a=1/0,s=-1,l=0;ln[0]&&isFinite(f)&&isFinite(n[0]));else{s.getTicks().length-1>l&&(d=u(d));var p=Math.ceil(n[1]/d)*d,f=i.round(p-d*l);s.setExtent(f,p),s.setInterval(d)}}))},u.dimensions=[],u.create=function(t,e){var n=[];return t.eachComponent("radar",(function(i){var r=new u(i,t,e);n.push(r),i.coordinateSystem=r})),t.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("radarIndex")||0])})),n},s.register("radar",u);var h=u;NQ=h}(),function(){if(VQ)return zQ;VQ=1;var t=s$(),e=bW(),n=sJ(),i=VX(),r=VK(),o=n.valueAxis;function a(t,n){return e.defaults({show:n},t)}var s=t.extendComponentModel({type:"radar",optionUpdated:function(){var t=this.get("boundaryGap"),n=this.get("splitNumber"),o=this.get("scale"),a=this.get("axisLine"),s=this.get("axisTick"),l=this.get("axisType"),u=this.get("axisLabel"),h=this.get("name"),c=this.get("name.show"),d=this.get("name.formatter"),p=this.get("nameGap"),f=this.get("triggerEvent"),g=e.map(this.get("indicator")||[],(function(g){null!=g.max&&g.max>0&&!g.min?g.min=0:null!=g.min&&g.min<0&&!g.max&&(g.max=0);var v=h;if(null!=g.color&&(v=e.defaults({color:g.color},h)),g=e.merge(e.clone(g),{boundaryGap:t,splitNumber:n,scale:o,axisLine:a,axisTick:s,axisType:l,axisLabel:u,name:g.text,nameLocation:"end",nameGap:p,nameTextStyle:v,triggerEvent:f},!1),c||(g.name=""),"string"==typeof d){var m=g.name;g.name=d.replace("{value}",null!=m?m:"")}else"function"==typeof d&&(g.name=d(g.name,g));var y=e.extend(new i(g,null,this.ecModel),r);return y.mainType="radar",y.componentIndex=this.componentIndex,y}),this);this.getIndicatorModels=function(){return g}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:e.merge({lineStyle:{color:"#bbb"}},o.axisLine),axisLabel:a(o.axisLabel,!1),axisTick:a(o.axisTick,!1),axisType:"interval",splitLine:a(o.splitLine,!0),splitArea:a(o.splitArea,!0),indicator:[]}}),l=s;zQ=l}(),function(){if(FQ)return BQ;FQ=1,cW().__DEV__;var t=s$(),e=bW(),n=gJ(),i=zX(),r=["axisLine","axisTickLabel","axisName"],o=t.extendComponentView({type:"radar",render:function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var i=t.coordinateSystem,o=i.getIndicatorAxes(),a=e.map(o,(function(t){return new n(t.model,{position:[i.cx,i.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})}));e.each(a,(function(t){e.each(r,t.add,t),this.group.add(t.getGroup())}),this)},_buildSplitLineAndArea:function(t){var n=t.coordinateSystem,r=n.getIndicatorAxes();if(r.length){var o=t.get("shape"),a=t.getModel("splitLine"),s=t.getModel("splitArea"),l=a.getModel("lineStyle"),u=s.getModel("areaStyle"),h=a.get("show"),c=s.get("show"),d=l.get("color"),p=u.get("color");d=e.isArray(d)?d:[d],p=e.isArray(p)?p:[p];var f=[],g=[];if("circle"===o)for(var v=r[0].getTicksCoords(),m=n.cx,y=n.cy,x=0;x":"\n";return i(""===l?this.name:l)+u+n.map(s,(function(e,n){var r=a.get(a.mapDimension(e.dim),t);return i(e.name+" : "+r)})).join(u)},getTooltipPosition:function(t){if(null!=t)for(var e=this.getData(),i=this.coordinateSystem,r=e.getValues(n.map(i.dimensions,(function(t){return e.mapDimension(t)})),t,!0),o=0,a=r.length;o":"\n";return h.join(", ")+f+r(l+" : "+s)},getTooltipPosition:function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,i=n.getRegion(e);return i&&n.dataToPoint(i.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});t.mixin(h,a);var c=h;g0=c})(),function(){if(R0)return O0;R0=1;var t=s$(),e=bW(),n=zX(),i=z0(),r="__seriesMapHighDown",o="__seriesMapCallKey",a=t.extendChartView({type:"map",render:function(t,e,n,r){if(!r||"mapToggleSelect"!==r.type||r.from!==this.uid){var o=this.group;if(o.removeAll(),!t.getHostGeoModel()){if(r&&"geoRoam"===r.type&&"series"===r.componentType&&r.seriesId===t.id)(a=this._mapDraw)&&o.add(a.group);else if(t.needsDrawMap){var a=this._mapDraw||new i(n,!0);o.add(a.group),a.draw(t,e,n,this,r),this._mapDraw=a}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,n)}}},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(t,i,a){var u=t.originalData,h=this.group;u.each(u.mapDimension("value"),(function(i,a){if(!isNaN(i)){var c=u.getItemLayout(a);if(c&&c.point){var d=c.point,p=c.offset,f=new n.Circle({style:{fill:t.getData().getVisual("color")},shape:{cx:d[0]+9*p,cy:d[1],r:3},silent:!0,z2:8+(p?0:n.Z2_EMPHASIS_LIFT+1)});if(!p){var g=t.mainSeries.getData(),v=u.getName(a),m=g.indexOfName(v),y=u.getItemModel(a),x=y.getModel("label"),_=y.getModel("emphasis.label"),b=g.getItemGraphicEl(m),w=e.retrieve2(t.getFormattedLabel(m,"normal"),v),S=e.retrieve2(t.getFormattedLabel(m,"emphasis"),w),M=b[r],I=Math.random();if(!M){M=b[r]={};var T=e.curry(s,!0),C=e.curry(s,!1);b.on("mouseover",T).on("mouseout",C).on("emphasis",T).on("normal",C)}b[o]=I,e.extend(M,{recordVersion:I,circle:f,labelModel:x,hoverLabelModel:_,emphasisText:S,normalText:w}),l(M,!1)}h.add(f)}}}))}});function s(t){var e=this[r];e&&e.recordVersion===this[o]&&l(e,t)}function l(t,e){var i=t.circle,r=t.labelModel,o=t.hoverLabelModel,a=t.emphasisText,s=t.normalText;e?(i.style.extendFrom(n.setTextStyle({},o,{text:o.get("show")?a:null},{isRectText:!0,useInsideStyle:!1},!0)),i.__mapOriginalZ2=i.z2,i.z2+=n.Z2_EMPHASIS_LIFT):(n.setTextStyle(i.style,r,{text:r.get("show")?s:null,textPosition:r.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),i.dirty(!1),null!=i.__mapOriginalZ2&&(i.z2=i.__mapOriginalZ2,i.__mapOriginalZ2=null))}O0=a}(),r1(),a1();var e=s1(),n=l1(),i=u1(),r=h1(),o=wQ();t.registerLayout(e),t.registerVisual(n),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,i),t.registerPreprocessor(r),o("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])}(),function(){if(D1)return m1;D1=1;var t=s$();(function(){if(v1)return g1;v1=1;var t=tq(),e=x1(),n=ij().encodeHTML,i=VX(),r=t.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(t){var n={name:t.name,children:t.data},r=t.leaves||{},o=new i(r,this,this.ecModel),a=e.createTree(n,this,s);function s(t){t.wrapMethod("getItemModel",(function(t,e){var n=a.getNodeByDataIndex(e);return n.children.length&&n.isExpand||(t.parentModel=o),t}))}var l=0;a.eachNode("preorder",(function(t){t.depth>l&&(l=t.depth)}));var u=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:l;return a.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=u})),a.data},getOrient:function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},formatTooltip:function(t){for(var e=this.getData().tree,i=e.root.children[0],r=e.getNodeByDataIndex(t),o=r.getValue(),a=r.name;r&&r!==i;)a=r.parentNode.name+"."+a,r=r.parentNode;return n(a+(isNaN(o)||null==o?"":" : "+o))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});g1=r})(),function(){if(w1)return b1;w1=1;var t=bW(),e=zX(),n=y$(),i=M1().radialCoordinate,r=s$(),o=jY(),a=o1(),s=D0(),l=T0(),u=E0().onIrrelevantElement;cW().__DEV__;var h=YX().parsePercent,c=e.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,o=n[0],a=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=h(e.forkPosition,1),d=[];d[l]=r[l],d[u]=r[u]+(a[u]-r[u])*c,t.moveTo(r[0],r[1]),t.lineTo(d[0],d[1]),t.moveTo(o[0],o[1]),d[l]=o[l],t.lineTo(d[0],d[1]),d[l]=a[l],t.lineTo(d[0],d[1]),t.lineTo(a[0],a[1]);for(var p=1;pS.x)||(_-=Math.PI);var T=b?"left":"right",C=s.labelModel.get("rotate"),A=C*(Math.PI/180);x.setStyle({textPosition:s.labelModel.get("position")||T,textRotation:null==C?-_:A,textOrigin:"center",verticalAlign:"middle"})}v(a,u,c,r,m,g,y,o,s)}function v(n,i,r,o,a,s,l,u,h){var d=h.edgeShape,p=o.__edge;if("curve"===d)i.parentNode&&i.parentNode!==r&&(p||(p=o.__edge=new e.BezierCurve({shape:y(h,a,a),style:t.defaults({opacity:0,strokeNoScale:!0},h.lineStyle)})),e.updateProps(p,{shape:y(h,s,l),style:t.defaults({opacity:1},h.lineStyle)},n));else if("polyline"===d&&"orthogonal"===h.layout&&i!==r&&i.children&&0!==i.children.length&&!0===i.isExpand){for(var f=i.children,g=[],v=0;v=0;m--){var y=v[m],x=y.node,_=y.width,b=y.text;g>f.width&&(g-=_-d,_=d,b=null);var w=new t.Polygon({shape:{points:l(c,0,_,p,m===v.length-1,0===m)},style:n.defaults(a.getItemStyle(),{lineJoin:"bevel",text:b,textFill:s.getTextColor(),textFont:s.getFont()}),z:10,onclick:n.curry(h,x)});this.group.add(w),u(w,i,x),c+=_+o}},remove:function(){this.group.removeAll()}};var h=s;return E1=h}(),a=T0(),s=kU(),l=$W(),u=function(){if(G1)return J1;G1=1;var t=bW();function e(){var e,n=[],i={};return{add:function(e,r,o,a,s){return t.isString(a)&&(s=a,a=0),!i[e.id]&&(i[e.id]=1,n.push({el:e,target:r,time:o,delay:a,easing:s}),!0)},done:function(t){return e=t,this},start:function(){for(var t=n.length,r=0,o=n.length;rv||Math.abs(t.dy)>v)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},_onZoom:function(t){var e=t.originX,n=t.originY;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var r=i.getLayout();if(!r)return;var o=new s(r.x,r.y,r.width,r.height),a=this.seriesModel.layoutInfo;e-=a.x,n-=a.y;var u=l.create();l.translate(u,u,[-e,-n]),l.scale(u,u,[t.scale,t.scale]),l.translate(u,u,[e,n]),o.applyTransform(u),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},_initEvents:function(t){t.on("click",(function(t){if("ready"===this._state){var e=this.seriesModel.get("nodeClick",!0);if(e){var n=this.findTarget(t.offsetX,t.offsetY);if(n){var i=n.node;if(i.getLayout().isLeafRoot)this._rootToNode(n);else if("zoomToNode"===e)this._zoomToNode(n);else if("link"===e){var r=i.hostTree.data.getItemModel(i.dataIndex),o=r.get("link",!0),a=r.get("target",!0)||"blank";o&&c(o,a)}}}}}),this)},_renderBreadcrumb:function(t,e,n){function i(e){"animating"!==this._state&&(r.aboveViewRoot(t.getViewRoot(),e)?this._rootToNode({node:e}):this._zoomToNode({node:e}))}n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new o(this.group))).render(t,e,n.node,d(i,this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=C(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},_rootToNode:function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},findTarget:function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}}),this),n}});function C(){return{nodeGroup:[],background:[],content:[]}}function A(t,i,r,o,a,s,l,u,h,c){if(l){var d=l.getLayout(),g=t.getData();if(g.setItemGraphicEl(l.dataIndex,null),d&&d.isInView){var v=d.width,b=d.height,T=d.borderWidth,C=d.invisible,A=l.getRawIndex(),L=u&&u.getRawIndex(),k=l.viewChildren,P=d.upperHeight,O=k&&k.length,R=l.getModel("itemStyle"),N=l.getModel("emphasis.itemStyle"),E=Y("nodeGroup",p);if(E){if(h.add(E),E.attr("position",[d.x||0,d.y||0]),E.__tmNodeWidth=v,E.__tmNodeHeight=b,d.isAboveViewRoot)return E;var z=l.getModel(),V=Y("background",f,c,w);if(V&&F(E,V,O&&d.upperLabelHeight),O)n.isHighDownDispatcher(E)&&n.setAsHighDownDispatcher(E,!1),V&&(n.setAsHighDownDispatcher(V,!0),g.setItemGraphicEl(l.dataIndex,V));else{var B=Y("content",f,c,S);B&&G(E,B),V&&n.isHighDownDispatcher(V)&&n.setAsHighDownDispatcher(V,!1),n.setAsHighDownDispatcher(E,!0),g.setItemGraphicEl(l.dataIndex,E)}return E}}}function F(e,i,r){if(i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex,i.setShape({x:0,y:0,width:v,height:b}),C)H(i);else{i.invisible=!1;var o=l.getVisual("borderColor",!0),a=N.get("borderColor"),s=I(R);s.fill=o;var u=M(N);if(u.fill=a,r){var h=v-2*T;W(s,u,o,h,P,{x:T,y:0,width:h,height:P})}else s.text=u.text=null;i.setStyle(s),n.setElementHoverStyle(i,u)}e.add(i)}function G(e,i){i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex;var r=Math.max(v-2*T,0),o=Math.max(b-2*T,0);if(i.culling=!0,i.setShape({x:T,y:T,width:r,height:o}),C)H(i);else{i.invisible=!1;var a=l.getVisual("color",!0),s=I(R);s.fill=a;var u=M(N);W(s,u,a,r,o),i.setStyle(s),n.setElementHoverStyle(i,u)}e.add(i)}function H(t){!t.invisible&&s.push(t)}function W(i,r,o,a,s,u){var h=z.get("name"),c=z.getModel(u?x:m),p=z.getModel(u?_:y),f=c.getShallow("show");n.setLabelStyle(i,r,c,p,{defaultText:f?h:null,autoColor:o,isRectText:!0,labelFetcher:t,labelDataIndex:l.dataIndex,labelProp:u?"upperLabel":"label"}),U(i,u,d),U(r,u,d),u&&(i.textRect=e.clone(u)),i.truncate=f&&c.get("ellipsis")?{outerWidth:a,outerHeight:s,minChar:2}:null}function U(e,n,i){var r=e.text;if(!n&&i.isLeafRoot&&null!=r){var o=t.get("drillDownIcon",!0);e.text=o?o+" "+r:r}}function Y(t,e,n,o){var s=null!=L&&r[t][L],l=a[t];return s?(r[t][L]=null,Z(l,s,t)):C||((s=new e({z:D(n,o)})).__tmDepth=n,s.__tmStorageName=t,X(l,s,t)),i[t][A]=s}function Z(t,n,i){(t[A]={}).old="nodeGroup"===i?n.position.slice():e.extend({},n.shape)}function X(t,e,n){var i=t[A]={},r=l.parentNode;if(r&&(!o||"drillDown"===o.direction)){var s=0,u=0,h=a.background[r.getRawIndex()];!o&&h&&h.old&&(s=h.old.width,u=h.old.height),i.old="nodeGroup"===n?[0,u]:{x:s,y:u,width:0,height:0}}i.fadein="nodeGroup"!==n}}function D(t,e){var n=t*b+e;return(n-1)/n}H1=T}(),function(){if(U1)return Q1;U1=1;for(var t=s$(),e=F1(),n=function(){},i=["treemapZoomToNode","treemapRender","treemapMove"],r=0;r ")),r.value&&(u+=" : "+o(r.value)),u}return c.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=n.map(this.option.categories||[],(function(t){return null!=t.value?t:n.extend({value:0},t)})),i=new e(["value"],this);i.initData(t),this._categoriesData=i,this._categoriesModels=i.mapArray((function(t){return i.getItemModel(t,!0)}))},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return c.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{label:{show:!0}}}});h2=c})(),function(){if(C2)return T2;C2=1;var t=s$(),e=bW(),n=x$(),i=w2(),r=T0(),o=D0(),a=E0().onIrrelevantElement,s=zX(),l=L2(),u=D2().getNodeGlobalScale,h="__focusNodeAdjacency",c="__unfocusNodeAdjacency",d=["itemStyle","opacity"],p=["lineStyle","opacity"];function f(t,e){var n=t.getVisual("opacity");return null!=n?n:t.getModel().get(e)}function g(t,e,n){var i=t.getGraphicEl(),r=f(t,e);null!=n&&(null==r&&(r=1),r*=n),i.downplay&&i.downplay(),i.traverse((function(t){if(!t.isGroup){var e=t.lineLabelOriginalOpacity;null!=e&&null==n||(e=r),t.setStyle("opacity",e)}}))}function v(t,e){var n=f(t,e),i=t.getGraphicEl();i.traverse((function(t){!t.isGroup&&t.setStyle("opacity",n)})),i.highlight&&i.highlight()}var m=t.extendChartView({type:"graph",init:function(t,e){var o=new n,a=new i,s=this.group;this._controller=new r(e.getZr()),this._controllerHost={target:s},s.add(o.group),s.add(a.group),this._symbolDraw=o,this._lineDraw=a,this._firstRender=!0},render:function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,d=this.group;if("view"===r.type){var p={position:r.position,scale:r.scale};this._firstRender?d.attr(p):s.updateProps(d,p,t)}l(t.getGraph(),u(t));var f=t.getData();o.updateData(f);var g=t.getEdgeData();a.updateData(g),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var v=t.forceLayout,m=t.get("force.layoutAnimation");v&&this._startForceLayoutIteration(v,m),f.eachItemGraphicEl((function(e,r){var o=f.getItemModel(r);e.off("drag").off("dragend");var a=o.get("draggable");a&&e.on("drag",(function(){v&&(v.warmUp(),!this._layouting&&this._startForceLayoutIteration(v,m),v.setFixed(r),f.setItemLayout(r,e.position))}),this).on("dragend",(function(){v&&v.setUnfixed(r)}),this),e.setDraggable(a&&v),e[h]&&e.off("mouseover",e[h]),e[c]&&e.off("mouseout",e[c]),o.get("focusNodeAdjacency")&&(e.on("mouseover",e[h]=function(){i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,dataIndex:e.dataIndex})}),e.on("mouseout",e[c]=function(){i._dispatchUnfocus(n)}))}),this),f.graph.eachEdge((function(e){var r=e.getGraphicEl();r[h]&&r.off("mouseover",r[h]),r[c]&&r.off("mouseout",r[c]),e.getModel().get("focusNodeAdjacency")&&(r.on("mouseover",r[h]=function(){i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,edgeDataIndex:e.dataIndex})}),r.on("mouseout",r[c]=function(){i._dispatchUnfocus(n)}))}));var y="circular"===t.get("layout")&&t.get("circular.rotateLabel"),x=f.getLayout("cx"),_=f.getLayout("cy");f.eachItemGraphicEl((function(t,e){var n=f.getItemModel(e).get("label.rotate")||0,i=t.getSymbolPath();if(y){var r=f.getItemLayout(e),o=Math.atan2(r[1]-_,r[0]-x);o<0&&(o=2*Math.PI+o);var a=r[0]=t&&(0===e?0:r[e-1][0]).4?"bottom":"middle",textAlign:k<-.4?"left":k>.4?"right":"center"},{autoColor:E}),silent:!0}))}if(x.get("show")&&L!==b){for(var z=0;z<=w;z++){k=Math.cos(I),P=Math.sin(I);var V=new e.Line({shape:{x1:k*g+p,y1:P*g+f,x2:k*(g-M)+p,y2:P*(g-M)+f},silent:!0,style:D});"auto"===D.stroke&&V.setStyle({stroke:a((L+z/w)/b)}),d.add(V),I+=C}I-=C}else I+=T}},_renderPointer:function(n,i,o,s,l,u,h,c){var d=this.group,p=this._data;if(n.get("pointer.show")){var f=[+n.get("min"),+n.get("max")],g=[u,h],v=n.getData(),m=v.mapDimension("value");v.diff(p).add((function(i){var r=new t({shape:{angle:u}});e.initProps(r,{shape:{angle:a(v.get(m,i),f,g,!0)}},n),d.add(r),v.setItemGraphicEl(i,r)})).update((function(t,i){var r=p.getItemGraphicEl(i);e.updateProps(r,{shape:{angle:a(v.get(m,t),f,g,!0)}},n),d.add(r),v.setItemGraphicEl(t,r)})).remove((function(t){var e=p.getItemGraphicEl(t);d.remove(e)})).execute(),v.eachItemGraphicEl((function(t,n){var i=v.getItemModel(n),o=i.getModel("pointer");t.setShape({x:l.cx,y:l.cy,width:r(o.get("width"),l.r),r:r(o.get("length"),l.r)}),t.useStyle(i.getModel("itemStyle").getItemStyle()),"auto"===t.style.fill&&t.setStyle("fill",s(a(v.get(m,n),f,[0,1],!0))),e.setHoverStyle(t,i.getModel("emphasis.itemStyle").getItemStyle())})),this._data=v}else p&&p.eachItemGraphicEl((function(t){d.remove(t)}))},_renderTitle:function(t,n,i,o,s){var l=t.getData(),u=l.mapDimension("value"),h=t.getModel("title");if(h.get("show")){var c=h.get("offsetCenter"),d=s.cx+r(c[0],s.r),p=s.cy+r(c[1],s.r),f=+t.get("min"),g=+t.get("max"),v=t.getData().get(u,0),m=o(a(v,[f,g],[0,1],!0));this.group.add(new e.Text({silent:!0,style:e.setTextStyle({},h,{x:d,y:p,text:l.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:m,forceRich:!0})}))}},_renderDetail:function(t,n,i,o,s){var u=t.getModel("detail"),h=+t.get("min"),c=+t.get("max");if(u.get("show")){var d=u.get("offsetCenter"),p=s.cx+r(d[0],s.r),f=s.cy+r(d[1],s.r),g=r(u.get("width"),s.r),v=r(u.get("height"),s.r),m=t.getData(),y=m.get(m.mapDimension("value"),0),x=o(a(y,[h,c],[0,1],!0));this.group.add(new e.Text({silent:!0,style:e.setTextStyle({},u,{x:p,y:f,text:l(y,u.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(v)?null:v,textAlign:"center",textVerticalAlign:"middle"},{autoColor:x,forceRich:!0})}))}}}),c=h;c5=c}()),function(){if(S5)return M5;S5=1;var t=s$();(function(){if(y5)return m5;y5=1;var t=s$(),e=bW(),n=xQ(),i=AY().defaultEmphasis,r=Lj().makeSeriesEncodeForNameBased,o=bQ(),a=t.extendSeriesModel({type:"series.funnel",init:function(t){a.superApply(this,"init",arguments),this.legendVisualProvider=new o(e.bind(this.getData,this),e.bind(this.getRawData,this)),this._defaultLabelLine(t)},getInitialData:function(t,i){return n(this,{coordDimensions:["value"],encodeDefaulter:e.curry(r,this)})},_defaultLabelLine:function(t){i(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},getDataParams:function(t){var e=this.getData(),n=a.superCall(this,"getDataParams",t),i=e.mapDimension("value"),r=e.getSum(i);return n.percent=r?+(e.get(i,t)/r*100).toFixed(2):0,n.$vars.push("percent"),n},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}});m5=a})(),function(){if(_5)return x5;_5=1;var t=zX(),e=bW(),n=iq();function i(e,n){t.Group.call(this);var i=new t.Polygon,r=new t.Polyline,o=new t.Text;this.add(i),this.add(r),this.add(o),this.highDownOnUpdate=function(t,e){"emphasis"===e?(r.ignore=r.hoverIgnore,o.ignore=o.hoverIgnore):(r.ignore=r.normalIgnore,o.ignore=o.normalIgnore)},this.updateData(e,n,!0)}var r=i.prototype,o=["itemStyle","opacity"];r.updateData=function(n,i,r){var a=this.childAt(0),s=n.hostModel,l=n.getItemModel(i),u=n.getItemLayout(i),h=n.getItemModel(i).get(o);h=null==h?1:h,a.useStyle({}),r?(a.setShape({points:u.points}),a.setStyle({opacity:0}),t.initProps(a,{style:{opacity:h}},s,i)):t.updateProps(a,{style:{opacity:h},shape:{points:u.points}},s,i);var c=l.getModel("itemStyle"),d=n.getItemVisual(i,"color");a.setStyle(e.defaults({lineJoin:"round",fill:d},c.getItemStyle(["opacity"]))),a.hoverStyle=c.getModel("emphasis").getItemStyle(),this._updateLabel(n,i),t.setHoverStyle(this)},r._updateLabel=function(e,n){var i=this.childAt(1),r=this.childAt(2),o=e.hostModel,a=e.getItemModel(n),s=e.getItemLayout(n).label,l=e.getItemVisual(n,"color");t.updateProps(i,{shape:{points:s.linePoints||s.linePoints}},o,n),t.updateProps(r,{style:{x:s.x,y:s.y}},o,n),r.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var u=a.getModel("label"),h=a.getModel("emphasis.label"),c=a.getModel("labelLine"),d=a.getModel("emphasis.labelLine");l=e.getItemVisual(n,"color"),t.setLabelStyle(r.style,r.hoverStyle={},u,h,{labelFetcher:e.hostModel,labelDataIndex:n,defaultText:e.getName(n),autoColor:l,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),r.ignore=r.normalIgnore=!u.get("show"),r.hoverIgnore=!h.get("show"),i.ignore=i.normalIgnore=!c.get("show"),i.hoverIgnore=!d.get("show"),i.setStyle({stroke:l}),i.setStyle(c.getModel("lineStyle").getLineStyle()),i.hoverStyle=d.getModel("lineStyle").getLineStyle()},e.inherits(i,t.Group);var a=n.extend({type:"funnel",render:function(t,e,n){var r=t.getData(),o=this._data,a=this.group;r.diff(o).add((function(t){var e=new i(r,t);r.setItemGraphicEl(t,e),a.add(e)})).update((function(t,e){var n=o.getItemGraphicEl(e);n.updateData(r,t),a.add(n),r.setItemGraphicEl(t,n)})).remove((function(t){var e=o.getItemGraphicEl(t);a.remove(e)})).execute(),this._data=r},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),s=a;x5=s}();var e=SQ(),n=I5(),i=TQ();t.registerVisual(e("funnel")),t.registerLayout(n),t.registerProcessor(i("funnel"))}(),function(){if(h3)return A5;h3=1;var t=s$();g3(),function(){if(o3)return r3;o3=1;var t=bW(),e=t.each,n=t.createHashMap,i=tq(),r=hK(),o=i.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(t,e){var n=this.getSource();return a(n,this),r(n,this)},getRawIndicesByActiveState:function(t){var e=this.coordinateSystem,n=this.getData(),i=[];return e.eachActiveState(n,(function(e,r){t===e&&i.push(n.getRawIndex(r))})),i},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function a(t,i){if(!t.encodeDefine){var r=i.ecModel.getComponent("parallel",i.get("parallelIndex"));if(r){var o=t.encodeDefine=n();e(r.dimensions,(function(t){var e=s(t);o.set(t,e)}))}}}function s(t){return+t.replace("dim","")}r3=o}(),function(){if(s3)return a3;s3=1;var t=zX(),e=iq(),n=.3,i=e.extend({type:"parallel",init:function(){this._dataGroup=new t.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(e,n,i,u){var h=this._dataGroup,c=e.getData(),d=this._data,p=e.coordinateSystem,f=p.dimensions,g=s(e);function v(t){l(a(c,h,t,f,p),c,t,g)}function m(n,i){var r=d.getItemGraphicEl(i),a=o(c,n,f,p);c.setItemGraphicEl(n,r);var s=u&&!1===u.animation?null:e;t.updateProps(r,{shape:{points:a}},s,n),l(r,c,n,g)}function y(t){var e=d.getItemGraphicEl(t);h.remove(e)}if(c.diff(d).add(v).update(m).remove(y).execute(),!this._initialized){this._initialized=!0;var x=r(p,e,(function(){setTimeout((function(){h.removeClipPath()}))}));h.setClipPath(x)}this._data=c},incrementalPrepareRender:function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(t,e,n){for(var i=e.getData(),r=e.coordinateSystem,o=r.dimensions,u=s(e),h=t.start;h=0&&(s[a[l].depth]=new i(a[l],this,n));if(o&&r)return e(o,r,this,!0,u).data;function u(t,e){t.wrapMethod("getItemModel",(function(t,e){return t.customizeGetParent((function(t){var n=this.parentModel,i=n.getData().getItemLayout(e).depth;return n.levelModels[i]||this.parentModel})),t})),e.wrapMethod("getItemModel",(function(t,e){return t.customizeGetParent((function(t){var n=this.parentModel,i=n.getGraph().getEdgeByIndex(e).node1.getLayout().depth;return n.levelModels[i]||this.parentModel})),t}))}},setNodePosition:function(t,e){var n=this.option.data[t];n.localX=e[0],n.localY=e[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,e,i){if("edge"===i){var o=this.getDataParams(t,i),a=o.data,s=a.source+" -- "+a.target;return o.value&&(s+=" : "+o.value),n(s)}if("node"===i){var l=this.getGraph().getNodeByIndex(t).getLayout().value,u=this.getDataParams(t,i).data.name;return l&&(s=u+" : "+l),n(s)}return r.superCall(this,"formatTooltip",t,e)},optionUpdated:function(){var t=this.option;!0===t.focusNodeAdjacency&&(t.focusNodeAdjacency="allEdges")},getDataParams:function(t,e){var n=r.superCall(this,"getDataParams",t,e);if(null==n.value&&"node"===e){var i=this.getGraph().getNodeByIndex(t).getLayout().value;n.value=i}return n},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}});m3=r})(),function(){if(_3)return x3;_3=1;var t=zX(),e=s$(),n=bW(),i=["itemStyle","opacity"],r=["emphasis","itemStyle","opacity"],o=["lineStyle","opacity"],a=["emphasis","lineStyle","opacity"];function s(t,e){return t.getVisual("opacity")||t.getModel().get(e)}function l(t,e,n){var i=t.getGraphicEl(),r=s(t,e);null!=n&&(null==r&&(r=1),r*=n),i.downplay&&i.downplay(),i.traverse((function(t){"group"!==t.type&&t.setStyle("opacity",r)}))}function u(t,e){var n=s(t,e),i=t.getGraphicEl();i.traverse((function(t){"group"!==t.type&&t.setStyle("opacity",n)})),i.highlight&&i.highlight()}var h=t.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(t,e){var n=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),c=e.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(e,n,i){var r=this,o=e.getGraph(),a=this.group,s=e.layoutInfo,l=s.width,u=s.height,c=e.getData(),p=e.getData("edge"),f=e.get("orient");this._model=e,a.removeAll(),a.attr("position",[s.x,s.y]),o.eachEdge((function(n){var i=new h;i.dataIndex=n.dataIndex,i.seriesIndex=e.seriesIndex,i.dataType="edge";var r,o,s,c,d,g,v,m,y=n.getModel("lineStyle"),x=y.get("curveness"),_=n.node1.getLayout(),b=n.node1.getModel(),w=b.get("localX"),S=b.get("localY"),M=n.node2.getLayout(),I=n.node2.getModel(),T=I.get("localX"),C=I.get("localY"),A=n.getLayout();switch(i.shape.extent=Math.max(1,A.dy),i.shape.orient=f,"vertical"===f?(r=(null!=w?w*l:_.x)+A.sy,o=(null!=S?S*u:_.y)+_.dy,s=(null!=T?T*l:M.x)+A.ty,d=r,g=o*(1-x)+(c=null!=C?C*u:M.y)*x,v=s,m=o*x+c*(1-x)):(r=(null!=w?w*l:_.x)+_.dx,o=(null!=S?S*u:_.y)+A.sy,d=r*(1-x)+(s=null!=T?T*l:M.x)*x,g=o,v=r*x+s*(1-x),m=c=(null!=C?C*u:M.y)+A.ty),i.setShape({x1:r,y1:o,x2:s,y2:c,cpx1:d,cpy1:g,cpx2:v,cpy2:m}),i.setStyle(y.getItemStyle()),i.style.fill){case"source":i.style.fill=n.node1.getVisual("color");break;case"target":i.style.fill=n.node2.getVisual("color")}t.setHoverStyle(i,n.getModel("emphasis.lineStyle").getItemStyle()),a.add(i),p.setItemGraphicEl(n.dataIndex,i)})),o.eachNode((function(n){var i=n.getLayout(),r=n.getModel(),o=r.get("localX"),s=r.get("localY"),h=r.getModel("label"),d=r.getModel("emphasis.label"),p=new t.Rect({shape:{x:null!=o?o*l:i.x,y:null!=s?s*u:i.y,width:i.dx,height:i.dy},style:r.getModel("itemStyle").getItemStyle()}),f=n.getModel("emphasis.itemStyle").getItemStyle();t.setLabelStyle(p.style,f,h,d,{labelFetcher:e,labelDataIndex:n.dataIndex,defaultText:n.id,isRectText:!0}),p.setStyle("fill",n.getVisual("color")),t.setHoverStyle(p,f),a.add(p),c.setItemGraphicEl(n.dataIndex,p),p.dataType="node"})),c.eachItemGraphicEl((function(t,n){var o=c.getItemModel(n);o.get("draggable")&&(t.drift=function(t,o){r._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=o,this.dirty(),i.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:c.getRawIndex(n),localX:this.shape.x/l,localY:this.shape.y/u})},t.ondragend=function(){r._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move"),t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.focusNodeAdjHandler&&t.off("mouseover",t.focusNodeAdjHandler),t.unfocusNodeAdjHandler&&t.off("mouseout",t.unfocusNodeAdjHandler),o.get("focusNodeAdjacency")&&(t.on("mouseover",t.focusNodeAdjHandler=function(){r._focusAdjacencyDisabled||(r._clearTimer(),i.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex}))}),t.on("mouseout",t.unfocusNodeAdjHandler=function(){r._focusAdjacencyDisabled||r._dispatchUnfocus(i)}))})),p.eachItemGraphicEl((function(t,n){var o=p.getItemModel(n);t.focusNodeAdjHandler&&t.off("mouseover",t.focusNodeAdjHandler),t.unfocusNodeAdjHandler&&t.off("mouseout",t.unfocusNodeAdjHandler),o.get("focusNodeAdjacency")&&(t.on("mouseover",t.focusNodeAdjHandler=function(){r._focusAdjacencyDisabled||(r._clearTimer(),i.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,edgeDataIndex:t.dataIndex}))}),t.on("mouseout",t.unfocusNodeAdjHandler=function(){r._focusAdjacencyDisabled||r._dispatchUnfocus(i)}))})),!this._data&&e.get("animation")&&a.setClipPath(d(a.getBoundingRect(),e,(function(){a.removeClipPath()}))),this._data=e.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(t){var e=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout((function(){e._unfocusDelayTimer=null,t.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e._model.id})}),500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(t,e,s,h){var c=t.getData(),d=c.graph,p=h.dataIndex,f=c.getItemModel(p),g=h.edgeDataIndex;if(null!=p||null!=g){var v=d.getNodeByIndex(p),m=d.getEdgeByIndex(g);if(d.eachNode((function(t){l(t,i,.1)})),d.eachEdge((function(t){l(t,o,.1)})),v){u(v,r);var y=f.get("focusNodeAdjacency");"outEdges"===y?n.each(v.outEdges,(function(t){t.dataIndex<0||(u(t,a),u(t.node2,r))})):"inEdges"===y?n.each(v.inEdges,(function(t){t.dataIndex<0||(u(t,a),u(t.node1,r))})):"allEdges"===y&&n.each(v.edges,(function(t){t.dataIndex<0||(u(t,a),t.node1!==v&&u(t.node1,r),t.node2!==v&&u(t.node2,r))}))}m&&(u(m,a),u(m.node1,r),u(m.node2,r))}},unfocusNodeAdjacency:function(t,e,n,r){var a=t.getGraph();a.eachNode((function(t){l(t,i)})),a.eachEdge((function(t){l(t,o)}))}});function d(e,n,i){var r=new t.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return t.initProps(r,{shape:{width:e.width+20}},n,i),r}x3=c}(),function(){if(b3)return A3;b3=1;var t=s$();G2(),t.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},(function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])}))}))}();var e=D3(),n=L3();t.registerLayout(e),t.registerVisual(n)}(),function(){if(F3)return G3;F3=1;var t=s$();(function(){if(O3)return P3;O3=1;var t=bW(),e=tq(),n=W3().seriesModelMixin,i=e.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});t.mixin(i,n,!0),P3=i})(),function(){if(N3)return R3;N3=1;var t=bW(),e=iq(),n=zX(),i=PZ(),r=["itemStyle"],o=["emphasis","itemStyle"],a=e.extend({type:"boxplot",render:function(t,e,n){var i=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.get("layout")?1:0;i.diff(o).add((function(t){if(i.hasValue(t)){var e=l(i.getItemLayout(t),i,t,a,!0);i.setItemGraphicEl(t,e),r.add(e)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?u(s,n,i,t):n=l(s,i,t,a),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=i},remove:function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},dispose:t.noop}),s=i.extend({type:"boxplotBoxPath",shape:{},buildPath:function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();i0?"P":"N",a=i.getVisual("borderColor"+r)||i.getVisual("color"+r),l=n.getModel(o).getItemStyle(s);e.useStyle(l),e.style.fill=null,e.style.stroke=a}var m=l;j3=m}();var e=function(){if($3)return K3;$3=1;var t=bW();function e(e){e&&t.isArray(e.series)&&t.each(e.series,(function(e){t.isObject(e)&&"k"===e.type&&(e.type="candlestick")}))}return K3=e}(),n=r4(),i=o4();t.registerPreprocessor(e),t.registerVisual(n),t.registerLayout(i)}(),function(){if(d4)return z4;d4=1;var t=s$();(function(){if(s4)return a4;s4=1;var t=hK(),e=tq(),n=e.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(e,n){return t(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});a4=n})(),function(){if(c4)return h4;c4=1;var t=s$(),e=x$(),n=function(){if(u4)return l4;u4=1;var t=bW(),e=HK().createSymbol,n=zX().Group,i=YX().parsePercent,r=y$(),o=3;function a(e){return t.isArray(e)||(e=[+e,+e]),e}function s(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}function l(t,e){n.call(this);var i=new r(t,e),o=new n;this.add(i),this.add(o),o.beforeUpdate=function(){this.attr(i.getScale())},this.updateData(t,e)}var u=l.prototype;u.stopEffectAnimation=function(){this.childAt(1).removeAll()},u.startEffectAnimation=function(t){for(var n=t.symbolType,i=t.color,r=this.childAt(1),a=0;a "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}});p4=h})(),function(){if(T4)return I4;T4=1,cW().__DEV__;var t=s$(),e=w2(),n=B4(),i=b2(),r=F4(),o=function(){if(_4)return x4;_4=1;var t=F4(),e=bW(),n=B4(),i=AW();function r(t,e,i){n.call(this,t,e,i),this._lastFrame=0,this._lastFramePercent=0}var o=r.prototype;o.createLine=function(e,n,i){return new t(e,n,i)},o.updateAnimationPoints=function(t,e){this._points=e;for(var n=[0],r=0,o=1;o=0&&!(r[s]<=e);s--);s=Math.min(s,o-2)}else{for(var s=a;se);s++);s=Math.min(s-1,o-2)}i.lerp(t.position,n[s],n[s+1],(e-r[s])/(r[s+1]-r[s]));var l=n[s+1][0]-n[s][0],u=n[s+1][1]-n[s][1];t.rotation=-Math.atan2(u,l)-Math.PI/2,this._lastFrame=s,this._lastFramePercent=e,t.ignore=!1}},e.inherits(r,n);var a=r;return x4=a}(),a=function(){if(w4)return b4;w4=1;var t=zX(),e=EX(),n=QY(),i=oZ(),r=t.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(t,e){var n=e.segs,i=e.curveness;if(e.polyline)for(var r=0;r0){t.moveTo(n[r++],n[r++]);for(var a=1;a0){var c=(s+u)/2-(l-h)*i,d=(l+h)/2-(u-s)*i;t.quadraticCurveTo(c,d,u,h)}else t.lineTo(u,h)}},findDataIndex:function(t,e){var r=this.shape,o=r.segs,a=r.curveness;if(r.polyline)for(var s=0,l=0;l0)for(var h=o[l++],c=o[l++],d=1;d0){var g=(h+p)/2-(c-f)*a,v=(c+f)/2-(p-h)*a;if(i.containStroke(h,c,g,v,p,f))return s}else if(n.containStroke(h,c,p,f))return s;s++}return-1}});function o(){this.group=new t.Group}var a=o.prototype;a.isPersistent=function(){return!this._incremental},a.updateData=function(t){this.group.removeAll();var e=new r({rectHover:!0,cursor:"default"});e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},a.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>5e5?(this._incremental||(this._incremental=new e({silent:!0})),this.group.add(this._incremental)):this._incremental=null},a.incrementalUpdate=function(t,e){var n=new r;n.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(n,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=t.start,this.group.add(n))},a.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},a._setCommon=function(t,e,n){var i=e.hostModel;t.setShape({polyline:i.get("polyline"),curveness:i.get("lineStyle.curveness")}),t.useStyle(i.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var r=e.getVisual("color");r&&t.setStyle("stroke",r),t.setStyle("fill"),n||(t.seriesIndex=i.seriesIndex,t.on("mousemove",(function(e){t.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>0&&(t.dataIndex=n+t.__startIndex)})))},a._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var s=o;return b4=s}(),s=G4(),l=B$().createClipPath,u=t.extendChartView({type:"lines",init:function(){},render:function(t,e,n){var i=t.getData(),r=this._updateLineDraw(i,t),o=t.get("zlevel"),a=t.get("effect.trailLength"),s=n.getZr(),u="svg"===s.painter.getType();u||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||u||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&a&&(u||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var h=t.get("clip",!0)&&l(t.coordinateSystem,!1,t);h?this.group.setClipPath(h):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},incrementalPrepareRender:function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},incrementalRender:function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=s.reset(t);o.progress&&o.progress({start:0,end:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},_updateLineDraw:function(t,s){var l=this._lineDraw,u=this._showEffect(s),h=!!s.get("polyline"),c=s.pipelineContext.large;return l&&u===this._hasEffet&&h===this._isPolyline&&c===this._isLargeDraw||(l&&l.remove(),l=this._lineDraw=c?new a:new e(h?u?o:r:u?n:i),this._hasEffet=u,this._isPolyline=h,this._isLargeDraw=c,this.group.removeAll()),this.group.add(l.group),l},_showEffect:function(t){return!!t.get("effect.show")},_clearLayer:function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},dispose:function(){}});I4=u}();var e=G4(),n=H4();t.registerLayout(e),t.registerVisual(n)}(),E4||(E4=1,function(){if(k4)return L4;k4=1;var t=tq(),e=hK(),n=Oj(),i=t.extend({type:"series.heatmap",getInitialData:function(t,n){return e(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var t=n.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});L4=i}(),function(){if(N4)return R4;N4=1,cW().__DEV__;var t=s$(),e=zX(),n=W4(),i=bW();function r(t,e,n){var r=t[1]-t[0],o=(e=i.map(e,(function(e){return{interval:[(e.interval[0]-t[0])/r,(e.interval[1]-t[0])/r]}}))).length,a=0;return function(t){for(var i=a;i=0;i--){var r;if((r=e[i].interval)[0]<=t&&t<=r[1]){a=i;break}}return i>=0&&i=e[0]&&t<=e[1]}}function a(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var s=t.extendChartView({type:"heatmap",render:function(t,e,n){var i;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):a(r)&&this._renderOnGeo(r,t,i,n)},incrementalPrepareRender:function(t,e,n){this.group.removeAll()},incrementalRender:function(t,e,n,i){e.coordinateSystem&&this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)},_renderOnCartesianAndCalendar:function(t,n,r,o,a){var s,l,u=t.coordinateSystem;if("cartesian2d"===u.type){var h=u.getAxis("x"),c=u.getAxis("y");s=h.getBandWidth(),l=c.getBandWidth()}for(var d=this.group,p=t.getData(),f="itemStyle",g="emphasis.itemStyle",v="label",m="emphasis.label",y=t.getModel(f).getItemStyle(["color"]),x=t.getModel(g).getItemStyle(),_=t.getModel(v),b=t.getModel(m),w=u.type,S="cartesian2d"===w?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],M=r;M0?1:a<0?-1:0}function f(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function g(t,n,i,r,a,s,l,u,h,c){var d=h.valueDim,p=h.categoryDim,f=Math.abs(i[p.wh]),g=t.getItemVisual(n,"symbolSize");e.isArray(g)?g=g.slice():(null==g&&(g="100%"),g=[g,g]),g[p.index]=o(g[p.index],f),g[d.index]=o(g[d.index],r?f:Math.abs(s)),c.symbolSize=g,(c.symbolScale=[g[0]/u,g[1]/u])[d.index]*=(h.isHorizontal?-1:1)*l}function v(t,e,n,i,r){var o=t.get(l)||0;o&&(h.attr({scale:e.slice(),rotation:n}),h.updateTransform(),o/=h.getLineScale(),o*=e[i.valueDim.index]),r.valueLineWidth=o}function m(t,n,i,r,s,l,u,h,c,d,p,f){var g=p.categoryDim,v=p.valueDim,m=f.pxSign,y=Math.max(n[v.index]+h,0),x=y;if(r){var _=Math.abs(c),b=e.retrieve(t.get("symbolMargin"),"15%")+"",w=!1;b.lastIndexOf("!")===b.length-1&&(w=!0,b=b.slice(0,b.length-1)),b=o(b,n[v.index]);var S=Math.max(y+2*b,0),M=w?0:2*b,I=a(r),T=I?r:R((_+M)/S);S=y+2*(b=(_-T*y)/2/(w?T:T-1)),M=w?0:2*b,I||"fixed"===r||(T=d?R((Math.abs(d)+M)/S):0),x=T*S-M,f.repeatTimes=T,f.symbolMargin=b}var C=m*(x/2),A=f.pathPosition=[];A[g.index]=i[g.wh]/2,A[v.index]="start"===u?C:"end"===u?c-C:c/2,l&&(A[0]+=l[0],A[1]+=l[1]);var D=f.bundlePosition=[];D[g.index]=i[g.xy],D[v.index]=i[v.xy];var L=f.barRectShape=e.extend({},i);L[v.wh]=m*Math.max(Math.abs(i[v.wh]),Math.abs(A[v.index]+C)),L[g.wh]=i[g.wh];var k=f.clipShape={};k[g.xy]=-i[g.xy],k[g.wh]=p.ecSize[g.wh],k[v.xy]=0,k[v.wh]=i[v.wh]}function y(t){var e=t.symbolPatternSize,n=i(t.symbolType,-e/2,-e/2,e,e,t.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function x(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,h=0,c=o[e.valueDim.index]+a+2*n.symbolMargin;for(k(t,(function(t){t.__pictorialAnimationIndex=h,t.__pictorialRepeatTimes=u,h0:i<0)&&(r=u-1-t),e[l.index]=c*(r-u/2+.5)+s[l.index],{position:e,scale:n.symbolScale.slice(),rotation:n.rotation}}function g(){k(t,(function(t){t.trigger("emphasis")}))}function v(){k(t,(function(t){t.trigger("normal")}))}}function _(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;function a(){this.trigger("emphasis")}function s(){this.trigger("normal")}o?P(o,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,i):(o=t.__pictorialMainPath=y(n),r.add(o),P(o,{position:n.pathPosition.slice(),scale:[0,0],rotation:n.rotation},{scale:n.symbolScale.slice()},n,i),o.on("mouseover",a).on("mouseout",s)),T(o,n)}function b(t,i,r){var o=e.extend({},i.barRectShape),a=t.__pictorialBarRect;a?P(a,null,{shape:o},i,r):(a=t.__pictorialBarRect=new n.Rect({z2:2,shape:o,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(a))}function w(t,i,r,o){if(r.symbolClip){var a=t.__pictorialClipPath,s=e.extend({},r.clipShape),l=i.valueDim,u=r.animationModel,h=r.dataIndex;if(a)n.updateProps(a,{shape:s},u,h);else{s[l.wh]=0,a=new n.Rect({shape:s}),t.__pictorialBundle.setClipPath(a),t.__pictorialClipPath=a;var c={};c[l.wh]=r.clipShape[l.wh],n[o?"updateProps":"initProps"](a,{shape:c},u,h)}}}function S(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=M,n.isAnimationEnabled=I,n}function M(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function I(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function T(t,e){t.off("emphasis").off("normal");var n=e.symbolScale.slice();e.hoverAnimation&&t.on("emphasis",(function(){this.animateTo({scale:[1.1*n[0],1.1*n[1]]},400,"elasticOut")})).on("normal",(function(){this.animateTo({scale:n.slice()},400,"elasticOut")}))}function C(t,e,i,r){var o=new n.Group,a=new n.Group;return o.add(a),o.__pictorialBundle=a,a.attr("position",i.bundlePosition.slice()),i.symbolRepeat?x(o,e,i):_(o,e,i),b(o,i,r),w(o,e,i,r),o.__pictorialShapeStr=L(t,i),o.__pictorialSymbolMeta=i,o}function A(t,e,i){var r=i.animationModel,o=i.dataIndex,a=t.__pictorialBundle;n.updateProps(a,{position:i.bundlePosition.slice()},r,o),i.symbolRepeat?x(t,e,i,!0):_(t,e,i,!0),b(t,i,!0),w(t,e,i,!0)}function D(t,i,r,o){var a=o.__pictorialBarRect;a&&(a.style.text=null);var s=[];k(o,(function(t){s.push(t)})),o.__pictorialMainPath&&s.push(o.__pictorialMainPath),o.__pictorialClipPath&&(r=null),e.each(s,(function(t){n.updateProps(t,{scale:[0,0]},r,i,(function(){o.parent&&o.parent.remove(o)}))})),t.setItemGraphicEl(i,null)}function L(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function k(t,n,i){e.each(t.__pictorialBundle.children(),(function(e){e!==t.__pictorialBarRect&&n.call(i,e)}))}function P(t,e,i,r,o,a){e&&t.attr(e),r.symbolClip&&!o?i&&t.attr(i):i&&n[o?"updateProps":"initProps"](t,i,r.animationModel,r.dataIndex,a)}function O(t,i,r){var o=r.color,a=r.dataIndex,l=r.itemModel,u=l.getModel("itemStyle").getItemStyle(["color"]),h=l.getModel("emphasis.itemStyle").getItemStyle(),c=l.getShallow("cursor");k(t,(function(t){t.setColor(o),t.setStyle(e.defaults({fill:o,opacity:r.opacity},u)),n.setHoverStyle(t,h),c&&(t.cursor=c),t.z2=r.z2}));var d={},p=i.valueDim.posDesc[+(r.boundingLength>0)],f=t.__pictorialBarRect;s(f.style,d,l,o,i.seriesModel,a,p),n.setHoverStyle(f,d)}function R(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var N=c;Z4=N}();var n=NK().layout,i=F$();OJ(),t.registerLayout(e.curry(n,"pictorialBar")),t.registerVisual(i("pictorialBar","roundRect"))}(),function(){if(U6)return e6;U6=1;var t=s$();q6(),function(){if(z6)return E6;z6=1;var t=tq(),e=nK(),n=Jq().getDimensionTypeByAxis,i=tK(),r=bW(),o=AY().groupData,a=ij().encodeHTML,s=bQ(),l=2,u=t.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){u.superApply(this,"init",arguments),this.legendVisualProvider=new s(r.bind(this.getData,this),r.bind(this.getRawData,this))},fixData:function(t){var e=t.length,n={},i=o(t,(function(t){return n.hasOwnProperty(t[0])||(n[t[0]]=-1),t[2]})),r=[];i.buckets.each((function(t,e){r.push({name:e,dataList:t})}));for(var a=r.length,s=0;so&&(o=u),i.push(u)}for(var h=0;ho&&(o=d)}return a.y0=r,a.max=o,a}return F6=n}(),n=K6(),i=TQ();t.registerLayout(e),t.registerVisual(n),t.registerProcessor(i("themeRiver"))}(),function(){if(a8)return s8;a8=1;var t=s$(),e=bW();(function(){if(J6)return $6;J6=1;var t=bW(),e=tq(),n=x1(),i=VX(),r=F1().wrapTreePathInfo,o=e.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(e,r){var o={name:e.name,children:e.data};a(o);var s=t.map(e.levels||[],(function(t){return new i(t,this,r)}),this),l=n.createTree(o,this,u);function u(t){t.wrapMethod("getItemModel",(function(t,e){var n=l.getNodeByDataIndex(e),i=s[n.depth];return i&&(t.parentModel=i),t}))}return l.data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(t){var n=e.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(t);return n.treePathInfo=r(i,this),n},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)}});function a(e){var n=0;t.each(e.children,(function(e){a(e);var i=e.value;t.isArray(i)&&(i=i[0]),n+=i}));var i=e.value;t.isArray(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=n),i<0&&(i=0),t.isArray(e.value)?e.value[0]=i:e.value=i}$6=o})(),function(){if(n8)return e8;n8=1;var t=bW(),e=iq(),n=function(){if(t8)return Q6;t8=1;var t=bW(),e=zX(),n={NONE:"none",ANCESTOR:"ancestor",SELF:"self"},i=2,r=4;function o(t,n,o){e.Group.call(this);var a=new e.Sector({z2:i});a.seriesIndex=n.seriesIndex;var s=new e.Text({z2:r,silent:t.getModel("label").get("silent")});function l(){s.ignore=s.hoverIgnore}function u(){s.ignore=s.normalIgnore}this.add(a),this.add(s),this.updateData(!0,t,"normal",n,o),this.on("emphasis",l).on("normal",u).on("mouseover",l).on("mouseout",u)}var a=o.prototype;a.updateData=function(n,i,r,o,a){this.node=i,i.piece=this,o=o||this._seriesModel,a=a||this._ecModel;var s=this.childAt(0);s.dataIndex=i.dataIndex;var u=i.getModel(),h=i.getLayout(),d=t.extend({},h);d.label=null;var p=l(i,o,a);c(i,o,p);var f,g=u.getModel("itemStyle").getItemStyle();if("normal"===r)f=g;else{var v=u.getModel(r+".itemStyle").getItemStyle();f=t.merge(v,g)}f=t.defaults({lineJoin:"bevel",fill:f.fill||p},f),n?(s.setShape(d),s.shape.r=h.r0,e.updateProps(s,{shape:{r:h.r}},o,i.dataIndex),s.useStyle(f)):"object"==typeof f.fill&&f.fill.type||"object"==typeof s.style.fill&&s.style.fill.type?(e.updateProps(s,{shape:d},o),s.useStyle(f)):e.updateProps(s,{shape:d,style:f},o),this._updateLabel(o,p,r);var m=u.getShallow("cursor");if(m&&s.attr("cursor",m),n){var y=o.getShallow("highlightPolicy");this._initEvents(s,i,o,y)}this._seriesModel=o||this._seriesModel,this._ecModel=a||this._ecModel,e.setHoverStyle(this)},a.onEmphasis=function(t){var e=this;this.node.hostTree.root.eachNode((function(i){i.piece&&(e.node===i?i.piece.updateData(!1,i,"emphasis"):h(i,e.node,t)?i.piece.childAt(0).trigger("highlight"):t!==n.NONE&&i.piece.childAt(0).trigger("downplay"))}))},a.onNormal=function(){this.node.hostTree.root.eachNode((function(t){t.piece&&t.piece.updateData(!1,t,"normal")}))},a.onHighlight=function(){this.updateData(!1,this.node,"highlight")},a.onDownplay=function(){this.updateData(!1,this.node,"downplay")},a._updateLabel=function(n,i,r){var o=this.node.getModel(),a=o.getModel("label"),s="normal"===r||"emphasis"===r?a:o.getModel(r+".label"),l=o.getModel("emphasis.label"),u=s.get("formatter")?r:"normal",h=t.retrieve(n.getFormattedLabel(this.node.dataIndex,u,null,null,"label"),this.node.name);!1===T("show")&&(h="");var c=this.node.getLayout(),d=s.get("minAngle");null==d&&(d=a.get("minAngle")),d=d/180*Math.PI;var p=c.endAngle-c.startAngle;null!=d&&Math.abs(p)Math.PI/2?"right":"left"):b&&"center"!==b?"left"===b?(g=c.r0+_,v>Math.PI/2&&(b="right")):"right"===b&&(g=c.r-_,v>Math.PI/2&&(b="left")):(g=(c.r+c.r0)/2,b="center"),f.attr("style",{text:h,textAlign:b,textVerticalAlign:T("verticalAlign")||"middle",opacity:T("opacity")});var w=g*m+c.cx,S=g*y+c.cy;f.attr("position",[w,S]);var M=T("rotate"),I=0;function T(t){var e=s.get(t);return null==e?a.get(t):e}"radial"===M?(I=-v)<-Math.PI/2&&(I+=Math.PI):"tangential"===M?(I=Math.PI/2-v)>Math.PI/2?I-=Math.PI:I<-Math.PI/2&&(I+=Math.PI):"number"==typeof M&&(I=M*Math.PI/180),f.attr("rotation",I)},a._initEvents=function(t,e,n,i){t.off("mouseover").off("mouseout").off("emphasis").off("normal");var r=this,o=function(){r.onEmphasis(i)},a=function(){r.onNormal()},s=function(){r.onDownplay()},l=function(){r.onHighlight()};n.isAnimationEnabled()&&t.on("mouseover",o).on("mouseout",a).on("emphasis",o).on("normal",a).on("downplay",s).on("highlight",l)},t.inherits(o,e.Group);var s=o;function l(t,e,n){var i=t.getVisual("color"),r=t.getVisual("visualMeta");r&&0!==r.length||(i=null);var o=t.getModel("itemStyle").get("color");if(o)return o;if(i)return i;if(0===t.depth)return n.option.color[0];var a=n.option.color.length;return o=n.option.color[u(t)%a]}function u(e){for(var n=e;n.depth>1;)n=n.parentNode;var i=e.getAncestors()[0];return t.indexOf(i.children,n)}function h(t,e,i){return i!==n.NONE&&(i===n.SELF?t===e:i===n.ANCESTOR?t===e||t.isAncestorOf(e):t===e||t.isDescendantOf(e))}function c(t,e,n){e.getData().setItemVisual(t.dataIndex,"color",n)}return Q6=s}(),i=Gq(),r=ij().windowOpen,o="sunburstRootToNode",a=e.extend({type:"sunburst",init:function(){},render:function(e,r,o,a){var s=this;this.seriesModel=e,this.api=o,this.ecModel=r;var l=e.getData(),u=l.tree.root,h=e.getViewRoot(),c=this.group,d=e.get("renderLabelForZeroData"),p=[];h.eachNode((function(t){p.push(t)}));var f=this._oldChildren||[];if(m(p,f),_(u,h),a&&a.highlight&&a.highlight.piece){var g=e.getShallow("highlightPolicy");a.highlight.piece.onEmphasis(g)}else if(a&&a.unhighlight){var v=this.virtualPiece;!v&&u.children.length&&(v=u.children[0].piece),v&&v.onNormal()}function m(e,n){function r(t){return t.getId()}function o(t,i){y(null==t?null:e[t],null==i?null:n[i])}0===e.length&&0===n.length||new i(n,e,r,r).add(o).update(o).remove(t.curry(o,null)).execute()}function y(t,i){if(d||!t||t.getValue()||(t=null),t!==u&&i!==u)if(i&&i.piece)t?(i.piece.updateData(!1,t,"normal",e,r),l.setItemGraphicEl(t.dataIndex,i.piece)):x(i);else if(t){var o=new n(t,e,r);c.add(o),l.setItemGraphicEl(t.dataIndex,o)}}function x(t){t&&t.piece&&(c.remove(t.piece),t.piece=null)}function _(t,i){if(i.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,t,"normal",e,r):(s.virtualPiece=new n(t,e,r),c.add(s.virtualPiece)),i.piece._onclickEvent&&i.piece.off("click",i.piece._onclickEvent);var o=function(t){s._rootToNode(i.parentNode)};i.piece._onclickEvent=o,s.virtualPiece.on("click",o)}else s.virtualPiece&&(c.remove(s.virtualPiece),s.virtualPiece=null)}this._initEvents(),this._oldChildren=p},dispose:function(){},_initEvents:function(){var t=this,e=function(e){var n=!1;t.seriesModel.getViewRoot().eachNode((function(i){if(!n&&i.piece&&i.piece.childAt(0)===e.target){var o=i.getModel().get("nodeClick");if("rootToNode"===o)t._rootToNode(i);else if("link"===o){var a=i.getModel(),s=a.get("link");if(s){var l=a.get("target",!0)||"_blank";r(s,l)}}n=!0}}))};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",e),this.group._onclickEvent=e},_rootToNode:function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:o,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},containPoint:function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}}}),s=a;e8=s}(),function(){if(i8)return l8;i8=1;var t=s$(),e=F1(),n="sunburstRootToNode";t.registerAction({type:n,update:"updateView"},(function(t,i){function r(i,r){var o=e.retrieveTargetInfo(t,[n],i);if(o){var a=i.getViewRoot();a&&(t.direction=e.aboveViewRoot(a,o.node)?"rollUp":"drillDown"),i.resetViewRoot(o.node)}}i.eachComponent({mainType:"series",subType:"sunburst",query:t},r)}));var i="sunburstHighlight";t.registerAction({type:i,update:"updateView"},(function(t,n){function r(n,r){var o=e.retrieveTargetInfo(t,[i],n);o&&(t.highlight=o.node)}n.eachComponent({mainType:"series",subType:"sunburst",query:t},r)}));var r="sunburstUnhighlight";t.registerAction({type:r,update:"updateView"},(function(t,e){function n(e,n){t.unhighlight=!0}e.eachComponent({mainType:"series",subType:"sunburst",query:t},n)}))}();var n=SQ(),i=u8(),r=TQ();t.registerVisual(e.curry(n,"sunburst")),t.registerLayout(e.curry(i,"sunburst")),t.registerProcessor(e.curry(r,"sunburst"))}(),function(){if(_8)return M8;_8=1,cW().__DEV__;var t=bW(),e=zX(),n=m$().getDefaultLabel,i=hK(),r=NK().getLayoutOnAxis,o=Gq(),a=tq(),s=VX(),l=iq(),u=B$().createClipPath,h=function(){if(c8)return h8;c8=1;var t=bW();function e(e,n){return n=n||[0,0],t.map(["x","y"],(function(t,i){var r=this.getAxis(t),o=n[i],a=e[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))}),this)}function n(n){var i=n.grid.getRect();return{coordSys:{type:"cartesian2d",x:i.x,y:i.y,width:i.width,height:i.height},api:{coord:function(t){return n.dataToPoint(t)},size:t.bind(e,n)}}}return h8=n}(),c=function(){if(p8)return d8;p8=1;var t=bW();function e(e,n){return n=n||[0,0],t.map([0,1],(function(t){var i=n[t],r=e[t]/2,o=[],a=[];return o[t]=i-r,a[t]=i+r,o[1-t]=a[1-t]=n[1-t],Math.abs(this.dataToPoint(o)[t]-this.dataToPoint(a)[t])}),this)}function n(n){var i=n.getBoundingRect();return{coordSys:{type:"geo",x:i.x,y:i.y,width:i.width,height:i.height,zoom:n.getZoom()},api:{coord:function(t){return n.dataToPoint(t)},size:t.bind(e,n)}}}return d8=n}(),d=function(){if(g8)return f8;g8=1;var t=bW();function e(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function n(n){var i=n.getRect();return{coordSys:{type:"singleAxis",x:i.x,y:i.y,width:i.width,height:i.height},api:{coord:function(t){return n.dataToPoint(t)},size:t.bind(e,n)}}}return f8=n}(),p=function(){if(m8)return v8;m8=1;var t=bW();function e(e,n){return t.map(["Radius","Angle"],(function(t,i){var r=this["get"+t+"Axis"](),o=n[i],a=e[i]/2,s="dataTo"+t,l="category"===r.type?r.getBandWidth():Math.abs(r[s](o-a)-r[s](o+a));return"Angle"===t&&(l=l*Math.PI/180),l}),this)}function n(n){var i=n.getRadiusAxis(),r=n.getAngleAxis(),o=i.getExtent();return o[0]>o[1]&&o.reverse(),{coordSys:{type:"polar",cx:n.cx,cy:n.cy,r:o[1],r0:o[0]},api:{coord:t.bind((function(t){var e=i.dataToRadius(t[0]),o=r.dataToAngle(t[1]),a=n.coordToPoint([e,o]);return a.push(e,o*Math.PI/180),a})),size:t.bind(e,n)}}}return v8=n}(),f=function(){if(x8)return y8;function t(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}return x8=1,y8=t}(),g=e.CACHED_LABEL_STYLE_PROPERTIES,v=["itemStyle"],m=["emphasis","itemStyle"],y=["label"],x=["emphasis","label"],_="e\0\0",b={cartesian2d:h,geo:c,singleAxis:d,polar:p,calendar:f};function w(t){var n,i=t.type;if("path"===i){var r=t.shape,o=null!=r.width&&null!=r.height?{x:r.x||0,y:r.y||0,width:r.width,height:r.height}:null,a=E(r);(n=e.makePath(a,null,o,r.layout||"center")).__customPathData=a}else if("image"===i)(n=new e.Image({})).__customImagePath=t.style.image;else if("text"===i)(n=new e.Text({})).__customText=t.style.text;else if("group"===i)n=new e.Group;else{if("compoundPath"===i)throw new Error('"compoundPath" is not supported yet.');n=new(e.getShapeClass(i))}return n.__customGraphicType=i,n.name=t.name,n}function S(n,i,r,o,a,s,l){var u={},h=r.style||{};if(r.shape&&(u.shape=t.clone(r.shape)),r.position&&(u.position=r.position.slice()),r.scale&&(u.scale=r.scale.slice()),r.origin&&(u.origin=r.origin.slice()),r.rotation&&(u.rotation=r.rotation),"image"===n.type&&r.style){var c=u.style={};t.each(["x","y","width","height"],(function(t){M(t,c,h,n.style,s)}))}if("text"===n.type&&r.style&&(c=u.style={},t.each(["x","y"],(function(t){M(t,c,h,n.style,s)})),!h.hasOwnProperty("textFill")&&h.fill&&(h.textFill=h.fill),!h.hasOwnProperty("textStroke")&&h.stroke&&(h.textStroke=h.stroke)),"group"!==n.type&&(n.useStyle(h),s)){n.style.opacity=0;var d=h.opacity;null==d&&(d=1),e.initProps(n,{style:{opacity:d}},o,i)}s?n.attr(u):e.updateProps(n,u,o,i),r.hasOwnProperty("z2")&&n.attr("z2",r.z2||0),r.hasOwnProperty("silent")&&n.attr("silent",r.silent),r.hasOwnProperty("invisible")&&n.attr("invisible",r.invisible),r.hasOwnProperty("ignore")&&n.attr("ignore",r.ignore),r.hasOwnProperty("info")&&n.attr("info",r.info);var p=r.styleEmphasis;e.setElementHoverStyle(n,p),l&&e.setAsHighDownDispatcher(n,!1!==p)}function M(t,e,n,i,r){null==n[t]||r||(e[t]=n[t],n[t]=i[t])}function I(i,o,a,s){var l=i.get("renderItem"),u=i.coordinateSystem,h={};u&&(h=u.prepareCustoms?u.prepareCustoms():b[u.type](u));var c,d,p,f,g,_=t.defaults({getWidth:s.getWidth,getHeight:s.getHeight,getZr:s.getZr,getDevicePixelRatio:s.getDevicePixelRatio,value:I,style:C,styleEmphasis:A,visual:D,barLayout:L,currentSeriesIndices:k,font:P},h.api||{}),w={context:{},seriesId:i.id,seriesName:i.name,seriesIndex:i.seriesIndex,coordSys:h.coordSys,dataInsideLength:o.count(),encode:T(i.getData())},S=!0;return function(e,n){return c=e,S=!0,l&&l(t.defaults({dataIndexInside:e,dataIndex:o.getRawIndex(e),actionType:n?n.type:null},w),_)};function M(t){null==t&&(t=c),S&&(d=o.getItemModel(t),p=d.getModel(y),f=d.getModel(x),g=o.getItemVisual(t,"color"),S=!1)}function I(t,e){return null==e&&(e=c),o.get(o.getDimension(t||0),e)}function C(r,a){null==a&&(a=c),M(a);var s=d.getModel(v).getItemStyle();null!=g&&(s.fill=g);var l=o.getItemVisual(a,"opacity");null!=l&&(s.opacity=l);var u=r?O(r,p):p;return e.setTextStyle(s,u,null,{autoColor:g,isRectText:!0}),s.text=u.getShallow("show")?t.retrieve2(i.getFormattedLabel(a,"normal"),n(o,a)):null,r&&R(s,r),s}function A(r,a){null==a&&(a=c),M(a);var s=d.getModel(m).getItemStyle(),l=r?O(r,f):f;return e.setTextStyle(s,l,null,{isRectText:!0},!0),s.text=l.getShallow("show")?t.retrieve3(i.getFormattedLabel(a,"emphasis"),i.getFormattedLabel(a,"normal"),n(o,a)):null,r&&R(s,r),s}function D(t,e){return null==e&&(e=c),o.getItemVisual(e,t)}function L(e){if(u.getBaseAxis){var n=u.getBaseAxis();return r(t.defaults({axis:n},e),s)}}function k(){return a.getCurrentSeriesIndices()}function P(t){return e.getFont(t,a)}}function T(e){var n={};return t.each(e.dimensions,(function(t,i){var r=e.getDimensionInfo(t);if(!r.isExtraCoord){var o=r.coordDim;(n[o]=n[o]||[])[r.coordDimIndex]=i}})),n}function C(t,e,n,i,r,o){return(t=A(t,e,n,i,r,o,!0))&&o.setItemGraphicEl(e,t),t}function A(t,e,n,i,r,o,a){var s=!n,l=(n=n||{}).type,u=n.shape,h=n.style;if(t&&(s||null!=l&&l!==t.__customGraphicType||"path"===l&&z(u)&&E(u)!==t.__customPathData||"image"===l&&V(h,"image")&&h.image!==t.__customImagePath||"text"===l&&V(u,"text")&&h.text!==t.__customText)&&(r.remove(t),t=null),!s){var c=!t;return!t&&(t=w(n)),S(t,e,n,i,o,c,a),"group"===l&&D(t,e,n,i,o),r.add(t),t}}function D(t,e,n,i,r){var o=n.children,a=o?o.length:0,s=n.$mergeChildren,l="byName"===s||n.diffChildrenByName,u=!1===s;if(a||l||u)if(l)L({oldChildren:t.children()||[],newChildren:o||[],dataIndex:e,animatableModel:i,group:t,data:r});else{u&&t.removeAll();for(var h=0;he[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function s(t){return t.getRadiusAxis().inverse?0:1}function l(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var u=i.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(e,n){if(this.group.removeAll(),e.get("show")){var i=e.axis,r=i.polar,a=r.getRadiusAxis().getExtent(),s=i.getTicksCoords(),u=i.getMinorTicksCoords(),h=t.map(i.getViewLabels(),(function(e){return(e=t.clone(e)).coord=i.dataToCoord(e.tickValue),e}));l(h),l(s),t.each(o,(function(t){!e.get(t+".show")||i.scale.isBlank()&&"axisLine"!==t||this["_"+t](e,r,s,u,a,h)}),this)}},_axisLine:function(t,n,i,r,o){var a,l=t.getModel("axisLine.lineStyle"),u=s(n),h=u?0:1;(a=0===o[h]?new e.Circle({shape:{cx:n.cx,cy:n.cy,r:o[u]},style:l.getLineStyle(),z2:1,silent:!0}):new e.Ring({shape:{cx:n.cx,cy:n.cy,r:o[u],r0:o[h]},style:l.getLineStyle(),z2:1,silent:!0})).style.fill=null,this.group.add(a)},_axisTick:function(n,i,r,o,l){var u=n.getModel("axisTick"),h=(u.get("inside")?-1:1)*u.get("length"),c=l[s(i)],d=t.map(r,(function(t){return new e.Line({shape:a(i,[c,c+h],t.coord)})}));this.group.add(e.mergePath(d,{style:t.defaults(u.getModel("lineStyle").getLineStyle(),{stroke:n.get("axisLine.lineStyle.color")})}))},_minorTick:function(n,i,r,o,l){if(o.length){for(var u=n.getModel("axisTick"),h=n.getModel("minorTick"),c=(u.get("inside")?-1:1)*h.get("length"),d=l[s(i)],p=[],f=0;fm?"left":"right",_=Math.abs(v[1]-y)/g<.3?"middle":v[1]>y?"top":"bottom";c&&c[h]&&c[h].textStyle&&(l=new n(c[h].textStyle,d,d.ecModel));var b=new e.Text({silent:r.isLabelSilent(i)});this.group.add(b),e.setTextStyle(b.style,l,{x:v[0],y:v[1],textFill:l.getTextColor()||i.get("axisLine.lineStyle.color"),text:t.formattedLabel,textAlign:x,textVerticalAlign:_}),f&&(b.eventData=r.makeAxisEventDataBase(i),b.eventData.targetType="axisLabel",b.eventData.value=t.rawLabel)}),this)},_splitLine:function(n,i,r,o,s){var l=n.getModel("splitLine").getModel("lineStyle"),u=l.get("color"),h=0;u=u instanceof Array?u:[u];for(var c=[],d=0;dx?"left":"right",p=Math.abs(c[1]-_)/y<.3?"middle":c[1]>_?"top":"bottom"}return{position:c,align:d,verticalAlign:p}}var u={line:function(t,e,n,r,o){return"angle"===t.dim?{type:"Line",shape:i.makeLineShape(e.coordToPoint([r[0],n]),e.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,r,o){var a=Math.max(1,t.getBandWidth()),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:i.makeSectorShape(e.cx,e.cy,r[0],r[1],(-n-a/2)*s,(a/2-n)*s)}:{type:"Sector",shape:i.makeSectorShape(e.cx,e.cy,n-a/2,n+a/2,0,2*Math.PI)}}};a.registerAxisPointerClass("PolarAxisPointer",s);var h=s;Y8=h}(),t.registerLayout(e.curry(n,"bar")),t.extendComponentView({type:"polar"})}(),function(){if(e7)return p7;e7=1;var t=s$(),e=bW();function n(n,i){i.update="updateView",t.registerAction(i,(function(t,i){var r={};return i.eachComponent({mainType:"geo",query:t},(function(i){i[n](t.name);var o=i.coordinateSystem;e.each(o.regions,(function(t){r[t.name]=i.isSelected(t.name)||!1}))})),{selected:r,name:t.name}}))}(function(){if(J8)return $8;J8=1;var t=bW(),e=AY(),n=oj(),i=VX(),r=_Q(),o=a1(),a=n.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){n.prototype.init.apply(this,arguments),e.defaultEmphasis(t,"label",["show"])},optionUpdated:function(){var e=this.option,n=this;e.regions=o.getFilledRegions(e.regions,e.map,e.nameMap),this._optionModelMap=t.reduce(e.regions||[],(function(t,e){return e.name&&t.set(e.name,new i(e,n)),t}),t.createHashMap()),this.updateSelectedMap(e.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(t){return this._optionModelMap.get(t)||new i(null,this,this.ecModel)},getFormattedLabel:function(t,e){e=e||"normal";var n=this.getRegionModel(t).get(("normal"===e?"":e+".")+"label.formatter"),i={name:t};return"function"==typeof n?(i.status=e,n(i)):"string"==typeof n?n.replace("{a}",null!=t?t:""):void 0},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t}});t.mixin(a,r);var s=a;$8=s})(),a1(),function(){if(t7)return Q8;t7=1;var t=z0(),e=s$(),n=e.extendComponentView({type:"geo",init:function(e,n){var i=new t(n,!0);this._mapDraw=i,this.group.add(i.group)},render:function(t,e,n,i){if(!i||"geoToggleSelect"!==i.type||i.from!==this.uid){var r=this._mapDraw;t.get("show")?r.draw(t,e,n,this,i):this._mapDraw.group.removeAll(),this.group.silent=t.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});Q8=n}(),r1(),n("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),n("select",{type:"geoSelect",event:"geoselected"}),n("unSelect",{type:"geoUnSelect",event:"geounselected"})}(),q6(),g3(),l7||(l7=1,function(){if(i7)return n7;i7=1;var t=bW(),e=rj(),n=YX(),i=Oj(),r=864e5;function o(t,e,n){this._model=t}function a(t,e,n,i){var r=n.calendarModel,o=n.seriesModel,a=r?r.coordinateSystem:o?o.coordinateSystem:null;return a===this?a[t](i):null}o.prototype={constructor:o,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(t){var e=(t=n.parseDate(t)).getFullYear(),i=t.getMonth()+1;i=i<10?"0"+i:i;var r=t.getDate();r=r<10?"0"+r:r;var o=t.getDay();return{y:e,m:i,d:r,day:o=Math.abs((o+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+i+"-"+r,date:t}},getNextNDay:function(t,e){return 0===(e=e||0)||(t=new Date(this.getDateInfo(t).time)).setDate(t.getDate()+e),this.getDateInfo(t)},update:function(n,i){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var r=this._rangeInfo.weeks||1,o=["width","height"],a=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[r,7]:[7,r];t.each([0,1],(function(t){c(a,t)&&(s[o[t]]=a[t]*l[t])}));var u={width:i.getWidth(),height:i.getHeight()},h=this._rect=e.getLayoutRect(s,u);function c(t,e){return null!=t[e]&&"auto"!==t[e]}t.each([0,1],(function(t){c(a,t)||(a[t]=h[o[t]]/l[t])})),this._sw=a[0],this._sh=a[1]},dataToPoint:function(e,n){t.isArray(e)&&(e=e[0]),null==n&&(n=!0);var i=this.getDateInfo(e),o=this._rangeInfo,a=i.formatedDate;if(n&&!(i.time>=o.start.time&&i.timea.end.time&&e.reverse(),e},_getRangeInfo:function(t){var e;(t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])])[0].time>t[1].time&&(e=!0,t.reverse());var n=Math.floor(t[1].time/r)-Math.floor(t[0].time/r)+1,i=new Date(t[0].time),o=i.getDate(),a=t[1].date.getDate();i.setDate(o+n-1);var s=i.getDate();if(s!==a)for(var l=i.getTime()-t[1].time>0?1:-1;(s=i.getDate())!==a&&(i.getTime()-t[1].time)*l>0;)n-=l,i.setDate(s-l);var u=Math.floor((n+t[0].day+6)/7),h=e?1-u:u-1;return e&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:n,weeks:u,nthWeek:h,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&ei.lweek)return!1;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(i.start.d+r),this.getDateInfo(o)}},o.dimensions=o.prototype.dimensions,o.getDimensionsInfo=o.prototype.getDimensionsInfo,o.create=function(t,e){var n=[];return t.eachComponent("calendar",(function(t){var e=new o(t);n.push(e),t.coordinateSystem=e})),t.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("calendarIndex")||0])})),n},i.register("calendar",o);var s=o;n7=s}(),function(){if(o7)return r7;o7=1;var t=bW(),e=oj(),n=rj(),i=n.getLayoutParams,r=n.sizeCalculable,o=n.mergeLayoutParam,a=e.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(t,e,n,r){var o=i(t);a.superApply(this,"init",arguments),s(t,o)},mergeOption:function(t,e){a.superApply(this,"mergeOption",arguments),s(this.option,t)}});function s(e,n){var i=e.cellSize;t.isArray(i)?1===i.length&&(i[1]=i[0]):i=e.cellSize=[i,i];var a=t.map([0,1],(function(t){return r(n,t)&&(i[t]="auto"),null!=i[t]&&"auto"!==i[t]}));o(e,n,{type:"box",ignoreSize:a})}var l=a;r7=l}(),function(){if(s7)return a7;s7=1;var t=s$(),e=bW(),n=zX(),i=ij(),r=YX(),o={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},a={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},s=t.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,a,i),this._renderWeekText(t,o,a,i)},_renderDayRect:function(t,e,i){for(var r=t.coordinateSystem,o=t.getModel("itemStyle").getItemStyle(),a=r.getCellWidth(),s=r.getCellHeight(),l=e.start.time;l<=e.end.time;l=r.getNextNDay(l,1).time){var u=r.dataToRect([l],!1).tl,h=new n.Rect({shape:{x:u[0],y:u[1],width:a,height:s},cursor:"default",style:o});i.add(h)}},_renderLines:function(t,e,n,i){var r=this,o=t.coordinateSystem,a=t.getModel("splitLine.lineStyle").getLineStyle(),s=t.get("splitLine.show"),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,h=0;u.time<=e.end.time;h++){d(u.formatedDate),0===h&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var c=u.date;c.setMonth(c.getMonth()+1),u=o.getDateInfo(c)}function d(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}d(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},_getEdgesPoints:function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},_drawSplitline:function(t,e,i){var r=new n.Polyline({z2:20,shape:{points:t},style:e});i.add(r)},_getLinePointsOfOneWeek:function(t,e,n){var i=t.coordinateSystem;e=i.getDateInfo(e);for(var r=[],o=0;o<7;o++){var a=i.getNextNDay(e.time,o),s=i.dataToRect([a.time],!1);r[2*a.day]=s.tl,r[2*a.day+1]=s["horizontal"===n?"bl":"tr"]}return r},_formatterLabel:function(t,e){return"string"==typeof t&&t?i.formatTplSimple(t,e):"function"==typeof t?t(e):e.nameMap},_yearTextPositionControl:function(t,e,n,i,r){e=e.slice();var o=["center","bottom"];"bottom"===i?(e[1]+=r,o=["center","top"]):"left"===i?e[0]-=r:"right"===i?(e[0]+=r,o=["center","top"]):e[1]-=r;var a=0;return"left"!==i&&"right"!==i||(a=Math.PI/2),{rotation:a,position:e,style:{textAlign:o[0],textVerticalAlign:o[1]}}},_renderYearText:function(t,e,i,r){var o=t.getModel("yearLabel");if(o.get("show")){var a=o.get("margin"),s=o.get("position");s||(s="horizontal"!==i?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(l[0][0]+l[1][0])/2,h=(l[0][1]+l[1][1])/2,c="horizontal"===i?0:1,d={top:[u,l[c][1]],bottom:[u,l[1-c][1]],left:[l[1-c][0],h],right:[l[c][0],h]},p=e.start.y;+e.end.y>+e.start.y&&(p=p+"-"+e.end.y);var f=o.get("formatter"),g={start:e.start.y,end:e.end.y,nameMap:p},v=this._formatterLabel(f,g),m=new n.Text({z2:30});n.setTextStyle(m.style,o,{text:v}),m.attr(this._yearTextPositionControl(m,d[s],i,s,a)),r.add(m)}},_monthTextPositionControl:function(t,e,n,i,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(o="center"),"start"===i&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,textAlign:o,textVerticalAlign:a}},_renderMonthText:function(t,i,r){var a=t.getModel("monthLabel");if(a.get("show")){var s=a.get("nameMap"),l=a.get("margin"),u=a.get("position"),h=a.get("align"),c=[this._tlpoints,this._blpoints];e.isString(s)&&(s=o[s.toUpperCase()]||[]);var d="start"===u?0:1,p="horizontal"===i?0:1;l="start"===u?-l:l;for(var f="center"===h,g=0;g=0;h--)null==a[h]?a.splice(h,1):delete a[h].$action},_flatten:function(t,n,i){e.each(t,(function(t){if(t){i&&(t.parentOption=i),n.push(t);var e=t.children;"group"===t.type&&e&&this._flatten(e,n,t),delete t.children}}),this)},useElOptionsToUpdate:function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t}});function l(t,e,n,r){var o=n.type,s=new(a.hasOwnProperty(o)?a[o]:i.getShapeClass(o))(n);e.add(s),r.set(t,s),s.__ecGraphicId=t}function u(t,e){var n=t&&t.parent;n&&("group"===t.type&&t.traverse((function(t){u(t,e)})),e.removeKey(t.__ecGraphicId),n.remove(t))}function h(t){return t=e.extend({},t),e.each(["id","parentId","$action","hv","bounding"].concat(r.LOCATION_PARAMS),(function(e){delete t[e]})),t}function c(t,n){var i;return e.each(n,(function(e){null!=t[e]&&"auto"!==t[e]&&(i=!0)})),i}function d(t,e){var n=t.exist;if(e.id=t.keyInfo.id,!e.type&&n&&(e.type=n.type),null==e.parentId){var i=e.parentOption;i?e.parentId=i.id:n&&(e.parentId=n.parentId)}e.parentOption=null}function p(t,n,i){var o=e.extend({},i),a=t[n],s=i.$action||"merge";"merge"===s?a?(e.merge(a,o,!0),r.mergeLayoutParam(a,o,{ignoreSize:!0}),r.copyLayoutParams(i,a)):t[n]=o:"replace"===s?t[n]=o:"remove"===s&&a&&(t[n]=null)}function f(t,e){t&&(t.hv=e.hv=[c(e,["left","right"]),c(e,["top","bottom"])],"group"===t.type&&(null==t.width&&(t.width=e.width=0),null==t.height&&(t.height=e.height=0)))}function g(t,e,n){var i=t.eventData;t.silent||t.ignore||i||(i=t.eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name}),i&&(i.info=t.info)}t.extendComponentView({type:"graphic",init:function(t,n){this._elMap=e.createHashMap(),this._lastGraphicModel},render:function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},_updateElements:function(t){var n=t.useElOptionsToUpdate();if(n){var i=this._elMap,r=this.group;e.each(n,(function(e){var n=e.$action,o=e.id,a=i.get(o),s=e.parentId,c=null!=s?i.get(s):r,d=e.style;"text"===e.type&&d&&(e.hv&&e.hv[1]&&(d.textVerticalAlign=d.textBaseline=null),!d.hasOwnProperty("textFill")&&d.fill&&(d.textFill=d.fill),!d.hasOwnProperty("textStroke")&&d.stroke&&(d.textStroke=d.stroke));var p=h(e);n&&"merge"!==n?"replace"===n?(u(a,i),l(o,c,p,i)):"remove"===n&&u(a,i):a?a.attr(p):l(o,c,p,i);var f=i.get(o);f&&(f.__ecGraphicWidthOption=e.width,f.__ecGraphicHeightOption=e.height,g(f,t))}))}},_relocate:function(t,e){for(var n=t.option.elements,i=this.group,a=this._elMap,s=e.getWidth(),l=e.getHeight(),u=0;u=0;u--){var d;if(h=n[u],d=a.get(h.id)){var p,f=(p=d.parent)===i?{width:s,height:l}:{width:p.__ecGraphicWidth,height:p.__ecGraphicHeight};r.positionElement(d,h,f,null,{hv:h.hv,boundingMode:h.bounding})}}},_clear:function(){var t=this._elMap;t.each((function(e){u(e,t)})),this._elMap=e.createHashMap()},dispose:function(){this._clear()}})}(),l9||(l9=1,function(){if(d7)return c7;d7=1;var t=s$(),e=bW(),n=v7(),i=t.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){i.superApply(this,"optionUpdated",arguments),e.each(this.option.feature,(function(t,i){var r=n.get(i);r&&e.merge(t,r.defaultOption)}))},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),r=i;c7=r}(),function(){if(x7)return y7;x7=1;var t=s$(),e=bW(),n=eY(),i=v7(),r=zX(),o=VX(),a=Gq(),s=D7(),l=t.extendComponentView({type:"toolbox",render:function(t,l,h,c){var d=this.group;if(d.removeAll(),t.get("show")){var p=+t.get("itemSize"),f=t.get("feature")||{},g=this._features||(this._features={}),v=[];e.each(f,(function(t,e){v.push(e)})),new a(this._featureNames||[],v).add(m).update(m).remove(e.curry(m,null)).execute(),this._featureNames=v,s.layout(d,t,h),d.add(s.makeBackground(d.getBoundingRect(),t)),d.eachChild((function(t){var e=t.__title,i=t.hoverStyle;if(i&&e){var r=n.getBoundingRect(e,n.makeFont(i)),o=t.position[0]+d.position[0],a=!1;t.position[1]+d.position[1]+p+r.height>h.getHeight()&&(i.textPosition="top",a=!0);var s=a?-5-r.height:p+8;o+r.width/2>h.getWidth()?(i.textPosition=["100%",s],i.textAlign="right"):o-r.width/2<0&&(i.textPosition=[0,s],i.textAlign="left")}}))}function m(e,n){var r,a=v[e],s=v[n],d=f[a],p=new o(d,t,t.ecModel);if(c&&null!=c.newTitle&&c.featureName===a&&(d.title=c.newTitle),a&&!s){if(u(a))r={model:p,onclick:p.option.onclick,featureName:a};else{var m=i.get(a);if(!m)return;r=new m(p,l,h)}g[a]=r}else{if(!(r=g[s]))return;r.model=p,r.ecModel=l,r.api=h}a||!s?p.get("show")&&!r.unusable?(y(p,r,a),p.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&i[t].trigger(e)},r.render&&r.render(p,l,h,c)):r.remove&&r.remove(l,h):r.dispose&&r.dispose(l,h)}function y(n,i,o){var a=n.getModel("iconStyle"),s=n.getModel("emphasis.iconStyle"),u=i.getIcons?i.getIcons():n.get("icon"),c=n.get("title")||{};if("string"==typeof u){var f=u,g=c;c={},(u={})[o]=f,c[o]=g}var v=n.iconPaths={};e.each(u,(function(o,u){var f=r.createIcon(o,{},{x:-p/2,y:-p/2,width:p,height:p});f.setStyle(a.getItemStyle()),f.hoverStyle=s.getItemStyle(),f.setStyle({text:c[u],textAlign:s.get("textAlign"),textBorderRadius:s.get("textBorderRadius"),textPadding:s.get("textPadding"),textFill:null});var g=t.getModel("tooltip");g&&g.get("show")&&f.attr("tooltip",e.extend({content:c[u],formatter:g.get("formatter",!0)||function(){return c[u]},formatterParams:{componentType:"toolbox",name:u,title:c[u],$vars:["name","title"]},position:g.get("position",!0)||"bottom"},g.option)),r.setHoverStyle(f),t.get("showTitle")&&(f.__title=c[u],f.on("mouseover",(function(){var e=s.getItemStyle(),n="vertical"===t.get("orient")?null==t.get("right")?"right":"left":null==t.get("bottom")?"bottom":"top";f.setStyle({textFill:s.get("textFill")||e.fill||e.stroke||"#000",textBackgroundColor:s.get("textBackgroundColor"),textPosition:s.get("textPosition")||n})})).on("mouseout",(function(){f.setStyle({textFill:null,textBackgroundColor:null})}))),f.trigger(n.get("iconStatus."+u)||"normal"),d.add(f),f.on("click",e.bind(i.onclick,i,l,h,u)),v[u]=f}))}},updateView:function(t,n,i,r){e.each(this._features,(function(t){t.updateView&&t.updateView(t.model,n,i,r)}))},remove:function(t,n){e.each(this._features,(function(e){e.remove&&e.remove(t,n)})),this.group.removeAll()},dispose:function(t,n){e.each(this._features,(function(e){e.dispose&&e.dispose(t,n)}))}});function u(t){return 0===t.indexOf("my")}y7=l}(),function(){if(b7)return _7;b7=1;var t=yW(),e=wq(),n=v7(),i=e.toolbox.saveAsImage;function r(t){this.model=t}r.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:i.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:i.lang.slice()},r.prototype.unusable=!t.canvasSupported;var o=r.prototype;o.onclick=function(e,n){var i=this.model,r=i.get("name")||e.get("title.0.text")||"echarts",o="svg"===n.getZr().painter.getType()?"svg":i.get("type",!0)||"png",a=n.getConnectedDataURL({type:o,backgroundColor:i.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")});if("function"!=typeof MouseEvent||t.browser.ie||t.browser.edge)if(window.navigator.msSaveOrOpenBlob){for(var s=atob(a.split(",")[1]),l=s.length,u=new Uint8Array(l);l--;)u[l]=s.charCodeAt(l);var h=new Blob([u]);window.navigator.msSaveOrOpenBlob(h,r+"."+o)}else{var c=i.get("lang"),d='';window.open().document.write(d)}else{var p=document.createElement("a");p.download=r+"."+o,p.target="_blank",p.href=a;var f=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});p.dispatchEvent(f)}},n.register("saveAsImage",r);var a=r;_7=a}(),function(){if(S7)return w7;S7=1;var t=s$(),e=bW(),n=wq(),i=v7(),r=n.toolbox.magicType,o="__ec_magicType_stack__";function a(t){this.model=t}a.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:e.clone(r.title),option:{},seriesIndex:{}};var s=a.prototype;s.getIcons=function(){var t=this.model,n=t.get("icon"),i={};return e.each(t.get("type"),(function(t){n[t]&&(i[t]=n[t])})),i};var l={line:function(t,n,i,r){if("bar"===t)return e.merge({id:n,type:"line",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},r.get("option.line")||{},!0)},bar:function(t,n,i,r){if("line"===t)return e.merge({id:n,type:"bar",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},r.get("option.bar")||{},!0)},stack:function(t,n,i,r){var a=i.get("stack")===o;if("line"===t||"bar"===t)return r.setIconStatus("stack",a?"normal":"emphasis"),e.merge({id:n,stack:a?"":o},r.get("option.stack")||{},!0)}},u=[["line","bar"],["stack"]];s.onclick=function(t,n,i){var a=this.model,s=a.get("seriesIndex."+i);if(l[i]){var h,c={series:[]},d=function(n){var r=n.subType,o=n.id,s=l[i](r,o,n,a);s&&(e.defaults(s,n.option),c.series.push(s));var u=n.coordinateSystem;if(u&&"cartesian2d"===u.type&&("line"===i||"bar"===i)){var h=u.getAxesByScale("ordinal")[0];if(h){var d=h.dim+"Axis",p=t.queryComponents({mainType:d,index:n.get(name+"Index"),id:n.get(name+"Id")})[0].componentIndex;c[d]=c[d]||[];for(var f=0;f<=p;f++)c[d][p]=c[d][p]||{};c[d][p].boundaryGap="bar"===i}}};e.each(u,(function(t){e.indexOf(t,i)>=0&&e.each(t,(function(t){a.setIconStatus(t,"normal")}))})),a.setIconStatus(i,"emphasis"),t.eachComponent({mainType:"series",query:null==s?null:{seriesIndex:s}},d),"stack"===i&&(h=c.series&&c.series[0]&&c.series[0].stack===o?e.merge({stack:r.title.tiled},r.title):e.clone(r.title)),n.dispatchAction({type:"changeMagicType",currentType:i,newOption:c,newTitle:h,featureName:"magicType"})}},t.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)})),i.register("magicType",a);var h=a;w7=h}(),function(){if(I7)return M7;I7=1;var t=s$(),e=bW(),n=GW(),i=wq(),r=v7(),o=i.toolbox.dataView,a=new Array(60).join("-"),s="\t";function l(t){var e={},n=[],i=[];return t.eachRawSeries((function(t){var r=t.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)n.push(t);else{var o=r.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;e[a]||(e[a]={categoryAxis:o,valueAxis:r.getOtherAxis(o),series:[]},i.push({axisDim:o.dim,axisIndex:o.index})),e[a].series.push(t)}else n.push(t)}})),{seriesGroupByCategoryAxis:e,other:n,meta:i}}function u(t){var n=[];return e.each(t,(function(t,i){var r=t.categoryAxis,o=t.valueAxis.dim,a=[" "].concat(e.map(t.series,(function(t){return t.name}))),l=[r.model.getCategories()];e.each(t.series,(function(t){var e=t.getRawData();l.push(t.getRawData().mapArray(e.mapDimension(o),(function(t){return t})))}));for(var u=[a.join(s)],h=0;h=0)return!0}var f=new RegExp("["+s+"]+","g");function g(t){for(var n=t.split(/\n+/g),i=d(n.shift()).split(f),r=[],o=e.map(i,(function(t){return{name:t,data:[]}})),a=0;a1?"emphasis":"normal")}function v(t,e,n,r,o){var a=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(a="dataZoomSelect"===r.key&&r.dataZoomSelectActive),n._isZoomActive=a,t.setIconStatus("zoom",a?"emphasis":"normal");var s=new i(f(t.option),e,{include:["grid"]});n._brushController.setPanels(s.makePanelOpts(o,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}))).enableBrush(!!a&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}d._onBrush=function(t,e){if(e.isEnd&&t.length){var n={},a=this.ecModel;this._brushController.updateCovers([]),new i(f(this.model.option),a,{include:["grid"]}).matchOutputRanges(t,a,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(s("x",n,e[0]),s("y",n,e[1])):s({lineX:"x",lineY:"y"}[i],n,e)}})),r.push(a,n),this._dispatchZoomAction(n)}function s(t,e,i){var r=e.getAxis(t),s=r.model,u=l(t,s,a),h=u.findRepresentativeAxisProxy(s).getMinMaxSpan();null==h.minValueSpan&&null==h.maxValueSpan||(i=o(0,i.slice(),r.scale.getExtent(),0,h.minValueSpan,h.maxValueSpan)),u&&(n[u.id]={dataZoomId:u.id,startValue:i[0],endValue:i[1]})}function l(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)})),i}},d._dispatchZoomAction=function(t){var n=[];u(t,(function(t,i){n.push(e.clone(t))})),n.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:n})},s.register("dataZoom",c),t.registerPreprocessor((function(t){if(t){var n=t.dataZoom||(t.dataZoom=[]);e.isArray(n)||(t.dataZoom=n=[n]);var i=t.toolbox;if(i&&(e.isArray(i)&&(i=i[0]),i&&i.feature)){var r=i.feature.dataZoom;o("xAxis",r),o("yAxis",r)}}function o(t,i){if(i){var r=t+"Index",o=i[r];null==o||"all"===o||e.isArray(o)||(o=!1===o||"none"===o?[]:[o]),a(t,(function(a,s){if(null==o||"all"===o||-1!==e.indexOf(o,s)){var l={type:"select",$fromToolbox:!0,filterMode:i.filterMode||"filter",id:h+t+s};l[r]=s,n.push(l)}}))}}function a(n,i){var r=t[n];e.isArray(r)||(r=r?[r]:[]),u(r,i)}})),r9=c}(),function(){if(s9)return a9;s9=1;var t=s$(),e=O7(),n=wq(),i=v7(),r=n.toolbox.restore;function o(t){this.model=t}o.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:r.title};var a=o.prototype;a.onclick=function(t,n,i){e.clear(t),n.dispatchAction({type:"restore",from:this.uid})},i.register("restore",o),t.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")})),a9=o}()),function(){if(x9)return L9;x9=1;var t=s$();j6(),function(){if(d9)return c9;d9=1;var t=s$(),e=t.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});c9=e}(),function(){if(y9)return m9;y9=1;var t=s$(),e=bW(),n=yW(),i=function(){if(f9)return p9;f9=1;var t=bW(),e=sU(),n=GW(),i=FW(),r=yW(),o=ij(),a=t.each,s=o.toCamelCase,l=["","-webkit-","-moz-","-o-"],u="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function h(e){var n="cubic-bezier(0.23, 1, 0.32, 1)",i="left "+e+"s "+n+",top "+e+"s "+n;return t.map(l,(function(t){return t+"transition:"+i})).join(";")}function c(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();i&&e.push("color:"+i),e.push("font:"+t.getFont());var r=t.get("lineHeight");null==r&&(r=Math.round(3*n/2)),n&&e.push("line-height:"+r+"px");var o=t.get("textShadowColor"),s=t.get("textShadowBlur")||0,l=t.get("textShadowOffsetX")||0,u=t.get("textShadowOffsetY")||0;return s&&e.push("text-shadow:"+l+"px "+u+"px "+s+"px "+o),a(["decoration","align"],(function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)})),e.join(";")}function d(t){var n=[],i=t.get("transitionDuration"),l=t.get("backgroundColor"),u=t.getModel("textStyle"),d=t.get("padding");return i&&n.push(h(i)),l&&(r.canvasSupported?n.push("background-Color:"+l):(n.push("background-Color:#"+e.toHex(l)),n.push("filter:alpha(opacity=70)"))),a(["width","color","radius"],(function(e){var i="border-"+e,r=s(i),o=t.get(r);null!=o&&n.push(i+":"+o+("color"===e?"":"px"))})),n.push(c(u)),null!=d&&n.push("padding:"+o.normalizeCssArray(d).join("px ")+"px"),n.join(";")+";"}function p(t,e,n,r,o){var a=e&&e.painter;if(n){var s=a&&a.getViewportRoot();s&&i.transformLocalCoord(t,s,document.body,r,o)}else{t[0]=r,t[1]=o;var l=a&&a.getViewportRootOffset();l&&(t[0]+=l.offsetLeft,t[1]+=l.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function f(t,e,i){if(r.wxa)return null;var o=document.createElement("div");o.domBelongToZr=!0,this.el=o;var a=this._zr=e.getZr(),s=this._appendToBody=i&&i.appendToBody;this._styleCoord=[0,0,0,0],p(this._styleCoord,a,s,e.getWidth()/2,e.getHeight()/2),s?document.body.appendChild(o):t.appendChild(o),this._container=t,this._show=!1,this._hideTimeout;var l=this;o.onmouseenter=function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0},o.onmousemove=function(t){if(t=t||window.event,!l._enterable){var e=a.handler,i=a.painter.getViewportRoot();n.normalizeEvent(i,t,!0),e.dispatch("mousemove",t)}},o.onmouseleave=function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1}}f.prototype={constructor:f,_enterable:!0,update:function(t){var e=this._container,n=e.currentStyle||document.defaultView.getComputedStyle(e),i=e.style;"absolute"!==i.position&&"absolute"!==n.position&&(i.position="relative"),t.get("alwaysShowContent")&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var t=this._styleCoord[2],e=this._styleCoord[3],n=t*this._zr.getWidth(),i=e*this._zr.getHeight();this.moveTo(n,i)},show:function(t){clearTimeout(this._hideTimeout);var e=this.el,n=this._styleCoord;e.style.cssText=u+d(t)+";left:"+n[0]+"px;top:"+n[1]+"px;"+(t.get("extraCssText")||""),e.style.display=e.innerHTML?"block":"none",e.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(t){this.el.innerHTML=null==t?"":t},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el;return[t.clientWidth,t.clientHeight]},moveTo:function(t,e){var n=this._styleCoord;p(n,this._zr,this._appendToBody,t,e);var i=this.el.style;i.left=n[0]+"px",i.top=n[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(t.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var t=this.el.clientWidth,e=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var n=document.defaultView.getComputedStyle(this.el);n&&(t+=parseInt(n.borderLeftWidth,10)+parseInt(n.borderRightWidth,10),e+=parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10))}return{width:t,height:e}}};var g=f;return p9=g}(),r=function(){if(v9)return g9;v9=1;var t=bW(),e=NZ(),n=zX();function i(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function r(t){var e=this._zr=t.getZr();this._styleCoord=[0,0,0,0],i(this._styleCoord,e,t.getWidth()/2,t.getHeight()/2),this._show=!1,this._hideTimeout}r.prototype={constructor:r,_enterable:!0,update:function(t){t.get("alwaysShowContent")&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var t=this._styleCoord[2],e=this._styleCoord[3],n=t*this._zr.getWidth(),i=e*this._zr.getHeight();this.moveTo(n,i)},show:function(t){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(t,i,r){this.el&&this._zr.remove(this.el);for(var o={},a=t,s="{marker",l="|}",u=a.indexOf(s);u>=0;){var h=a.indexOf(l),c=a.substr(u+s.length,h-u-s.length);c.indexOf("sub")>-1?o["marker"+c]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:i[c],textOffset:[3,0]}:o["marker"+c]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:i[c]},u=(a=a.substr(h+1)).indexOf("{marker")}var d=r.getModel("textStyle"),p=d.get("fontSize"),f=r.get("textLineHeight");null==f&&(f=Math.round(3*p/2)),this.el=new e({style:n.setTextStyle({},d,{rich:o,text:t,textBackgroundColor:r.get("backgroundColor"),textBorderRadius:r.get("borderRadius"),textFill:r.get("textStyle.color"),textPadding:r.get("padding"),textLineHeight:f}),z:r.get("z")}),this._zr.add(this.el);var g=this;this.el.on("mouseover",(function(){g._enterable&&(clearTimeout(g._hideTimeout),g._show=!0),g._inContent=!0})),this.el.on("mouseout",(function(){g._enterable&&g._show&&g.hideLater(g._hideDelay),g._inContent=!1}))},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){if(this.el){var n=this._styleCoord;i(n,this._zr,t,e),this.el.attr("position",[n[0],n[1]])}},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(t.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},dispose:function(){clearTimeout(this._hideTimeout),this.el&&this._zr.remove(this.el)},getOuterSize:function(){var t=this.getSize();return{width:t[0],height:t[1]}}};var o=r;return g9=o}(),o=ij(),a=YX(),s=zX(),l=x6(),u=rj(),h=VX(),c=C6(),d=zK(),p=Z6(),f=AY().getTooltipRenderMode,g=e.bind,v=e.each,m=a.parsePercent,y=new s.Rect({shape:{x:-1,y:-1,width:2,height:2}}),x=t.extendComponentView({type:"tooltip",init:function(t,e){if(!n.node){var o,a=t.getComponent("tooltip"),s=a.get("renderMode");this._renderMode=f(s),"html"===this._renderMode?(o=new i(e.getDom(),e,{appendToBody:a.get("appendToBody",!0)}),this._newLine="
"):(o=new r(e),this._newLine="\n"),this._tooltipContent=o}},render:function(t,e,i){if(!n.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=i,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent");var r=this._tooltipContent;r.update(t),r.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel.get("triggerOn");c.register("itemTooltip",this._api,g((function(e,n,i){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,i):"leave"===e&&this._hide(i))}),this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&i.manuallyShowTip(t,e,n,{x:i._lastX,y:i._lastY})}))}},manuallyShowTip:function(t,e,i,r){if(r.from!==this.uid&&!n.node){var o=b(r,i);this._ticket="";var a=r.dataByCoordSys;if(r.tooltip&&null!=r.x&&null!=r.y){var s=y;s.position=[r.x,r.y],s.update(),s.tooltip=r.tooltip,this._tryShow({offsetX:r.x,offsetY:r.y,target:s},o)}else if(a)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:r.dataByCoordSys,tooltipOption:r.tooltipOption},o);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(t,e,i,r))return;var u=l(r,e),h=u.point[0],c=u.point[1];null!=h&&null!=c&&this._tryShow({offsetX:h,offsetY:c,position:r.position,target:u.el},o)}else null!=r.x&&null!=r.y&&(i.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:i.getZr().findHover(r.x,r.y).target},o))}},manuallyHideTip:function(t,e,n,i){var r=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,i.from!==this.uid&&this._hide(b(i,n))},_manuallyAxisShowTip:function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s&&"axis"===(t=_([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model,t])).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},_tryShow:function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;i&&i.length?this._showAxisTooltip(i,t):n&&null!=n.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,n,e)):n&&n.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,n,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,n){var i=t.get("showDelay");n=e.bind(n,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(n,i):n()},_showAxisTooltip:function(t,n){var i=this._ecModel,r=this._tooltipModel,a=[n.offsetX,n.offsetY],s=[],l=[],u=_([n.tooltipOption,r]),h=this._renderMode,c=this._newLine,f={};v(t,(function(t){v(t.dataByAxis,(function(t){var n=i.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value,a=[];if(n&&null!=r){var u=p.getValueLabel(r,n.axis,i,t.seriesDataIndices,t.valueLabelOpt);e.each(t.seriesDataIndices,(function(o){var s=i.getSeriesByIndex(o.seriesIndex),c=o.dataIndexInside,p=s&&s.getDataParams(c);if(p.axisDim=t.axisDim,p.axisIndex=t.axisIndex,p.axisType=t.axisType,p.axisId=t.axisId,p.axisValue=d.getAxisRawValue(n.axis,r),p.axisValueLabel=u,p){l.push(p);var g,v=s.formatTooltip(c,!0,null,h);if(e.isObject(v)){g=v.html;var m=v.markers;e.merge(f,m)}else g=v;a.push(g)}}));var g=u;"html"!==h?s.push(a.join(c)):s.push((g?o.encodeHTML(g)+c:"")+a.join(c))}}))}),this),s.reverse(),s=s.join(this._newLine+this._newLine);var g=n.position;this._showOrMove(u,(function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(u,g,a[0],a[1],this._tooltipContent,l):this._showTooltipContent(u,s,l,Math.random(),a[0],a[1],g,void 0,f)}))},_showSeriesItemTooltip:function(t,n,i){var r=this._ecModel,o=n.seriesIndex,a=r.getSeriesByIndex(o),s=n.dataModel||a,l=n.dataIndex,u=n.dataType,h=s.getData(u),c=_([h.getItemModel(l),s,a&&(a.coordinateSystem||{}).model,this._tooltipModel]),d=c.get("trigger");if(null==d||"item"===d){var p,f,g=s.getDataParams(l,u),v=s.formatTooltip(l,!1,u,this._renderMode);e.isObject(v)?(p=v.html,f=v.markers):(p=v,f=null);var m="item_"+s.name+"_"+l;this._showOrMove(c,(function(){this._showTooltipContent(c,p,g,m,t.offsetX,t.offsetY,t.position,t.target,f)})),i({type:"showTip",dataIndexInside:l,dataIndex:h.getRawIndex(l),seriesIndex:o,from:this.uid})}},_showComponentItemTooltip:function(t,e,n){var i=e.tooltip;"string"==typeof i&&(i={content:i,formatter:i});var r=new h(i,this._tooltipModel,this._ecModel),o=r.get("content"),a=Math.random();this._showOrMove(r,(function(){this._showTooltipContent(r,o,r.get("formatterParams")||{},a,t.offsetX,t.offsetY,t.position,e)})),n({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,n,i,r,a,s,l,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var h=this._tooltipContent,c=t.get("formatter");s=s||t.get("position");var d=e;if(c&&"string"==typeof c)d=o.formatTpl(c,n,!0);else if("function"==typeof c){var p=g((function(e,i){e===this._ticket&&(h.setContent(i,u,t),this._updatePosition(t,s,r,a,h,n,l))}),this);this._ticket=i,d=c(n,i,p)}h.setContent(d,u,t),h.show(t),this._updatePosition(t,s,r,a,h,n,l)}},_updatePosition:function(t,n,i,r,o,a,s){var l=this._api.getWidth(),h=this._api.getHeight();n=n||t.get("position");var c=o.getSize(),d=t.get("align"),p=t.get("verticalAlign"),f=s&&s.getBoundingRect().clone();if(s&&f.applyTransform(s.transform),"function"==typeof n&&(n=n([i,r],a,o.el,f,{viewSize:[l,h],contentSize:c.slice()})),e.isArray(n))i=m(n[0],l),r=m(n[1],h);else if(e.isObject(n)){n.width=c[0],n.height=c[1];var g=u.getLayoutRect(n,{width:l,height:h});i=g.x,r=g.y,d=null,p=null}else if("string"==typeof n&&s)i=(v=M(n,f,c))[0],r=v[1];else{var v;i=(v=w(i,r,o,l,h,d?null:20,p?null:20))[0],r=v[1]}d&&(i-=I(d)?c[0]/2:"right"===d?c[0]:0),p&&(r-=I(p)?c[1]/2:"bottom"===p?c[1]:0),t.get("confine")&&(i=(v=S(i,r,o,l,h))[0],r=v[1]),o.moveTo(i,r)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,n=!!e&&e.length===t.length;return n&&v(e,(function(e,i){var r=e.dataByAxis||{},o=(t[i]||{}).dataByAxis||[];(n&=r.length===o.length)&&v(r,(function(t,e){var i=o[e]||{},r=t.seriesDataIndices||[],a=i.seriesDataIndices||[];(n&=t.value===i.value&&t.axisType===i.axisType&&t.axisId===i.axisId&&r.length===a.length)&&v(r,(function(t,e){var i=a[e];n&=t.seriesIndex===i.seriesIndex&&t.dataIndex===i.dataIndex}))}))})),this._lastDataByCoordSys=t,!!n},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){n.node||(this._tooltipContent.dispose(),c.unregister("itemTooltip",e))}});function _(t){for(var e=t.pop();t.length;){var n=t.pop();n&&(h.isInstance(n)&&(n=n.get("tooltip",!0)),"string"==typeof n&&(n={formatter:n}),e=new h(n,e,e.ecModel))}return e}function b(t,n){return t.dispatchAction||e.bind(n.dispatchAction,n)}function w(t,e,n,i,r,o,a){var s=n.getOuterSize(),l=s.width,u=s.height;return null!=o&&(t+l+o>i?t-=l+o:t+=o),null!=a&&(e+u+a>r?e-=u+a:e+=a),[t,e]}function S(t,e,n,i,r){var o=n.getOuterSize(),a=o.width,s=o.height;return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,[t=Math.max(t,0),e=Math.max(e,0)]}function M(t,e,n){var i=n[0],r=n[1],o=5,a=0,s=0,l=e.width,u=e.height;switch(t){case"inside":a=e.x+l/2-i/2,s=e.y+u/2-r/2;break;case"top":a=e.x+l/2-i/2,s=e.y-r-o;break;case"bottom":a=e.x+l/2-i/2,s=e.y+u+o;break;case"left":a=e.x-i-o,s=e.y+u/2-r/2;break;case"right":a=e.x+l+o,s=e.y+u/2-r/2}return[a,s]}function I(t){return"center"===t||"middle"===t}m9=x}(),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))}(),j6(),function(){if(B9)return k9;B9=1;var t=s$(),e=function(){if(b9)return _9;b9=1;var t=bW(),e=["rect","polygon","keep","clear"];function n(n,r){var o=n&&n.brush;if(t.isArray(o)||(o=o?[o]:[]),o.length){var a=[];t.each(o,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(a=a.concat(e))}));var s=n&&n.toolbox;t.isArray(s)&&(s=s[0]),s||(s={feature:{}},n.toolbox=[s]);var l=s.feature||(s.feature={}),u=l.brush||(l.brush={}),h=u.type||(u.type=[]);h.push.apply(h,a),i(h),r&&!h.length&&h.push.apply(h,e)}}function i(e){var n={};t.each(e,(function(t){n[t]=1})),e.length=0,t.each(n,(function(t,n){e.push(n)}))}return _9=n}();N9(),function(){if(C9)return T9;C9=1,cW().__DEV__;var t=s$(),e=bW(),n=R9(),i=VX(),r=["#ddd"],o=t.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(t,e){var i=this.option;!e&&n.replaceVisualOption(i,t,["inBrush","outOfBrush"]);var o=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:r},o.hasOwnProperty("liftZ")||(o.liftZ=5)},setAreas:function(t){t&&(this.areas=e.map(t,(function(t){return a(this.option,t)}),this))},setBrushOption:function(t){this.brushOption=a(this.option,t),this.brushType=this.brushOption.brushType}});function a(t,n){return e.merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new i(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},n,!0)}var s=o;T9=s}(),function(){if(D9)return A9;D9=1;var t=s$(),e=bW(),n=J5(),i=N9().layoutCovers,r=t.extendComponentView({type:"brush",init:function(t,i){this.ecModel=t,this.api=i,this.model,(this._brushController=new n(i.getZr())).on("brush",e.bind(this._onBrush,this)).mount()},render:function(t){return this.model=t,o.apply(this,arguments)},updateTransform:function(t,e){return i(e),o.apply(this,arguments)},updateView:o,dispose:function(){this._brushController.dispose()},_onBrush:function(t,n){var i=this.model.id;this.model.brushTargetManager.setOutputRanges(t,this.ecModel),(!n.isEnd||n.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:i,areas:e.clone(t),$from:i}),n.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:i,areas:e.clone(t),$from:i})}});function o(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())}A9=r}(),function(){if(E9)return ntt;E9=1;var t=s$();t.registerAction({type:"brush",event:"brush"},(function(t,e){e.eachComponent({mainType:"brush",query:t},(function(e){e.setAreas(t.areas)}))})),t.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},(function(){})),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},(function(){}))}(),function(){if(V9)return z9;V9=1;var t=bW(),e=v7(),n=wq(),i=n.toolbox.brush;function r(t,e,n){this.model=t,this.ecModel=e,this.api=n,this._brushType,this._brushMode}r.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.clone(i.title)};var o=r.prototype;o.render=o.updateView=function(e,n,i){var r,o,a;n.eachComponent({mainType:"brush"},(function(t){r=t.brushType,o=t.brushOption.brushMode||"single",a|=t.areas.length})),this._brushType=r,this._brushMode=o,t.each(e.get("type",!0),(function(t){e.setIconStatus(t,("keep"===t?"multiple"===o:"clear"===t?a:t===r)?"emphasis":"normal")}))},o.getIcons=function(){var e=this.model,n=e.get("icon",!0),i={};return t.each(e.get("type",!0),(function(t){n[t]&&(i[t]=n[t])})),i},o.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},e.register("brush",r),z9=r}(),t.registerPreprocessor(e)}(),function(){if(F9)return itt;F9=1;var t=bW(),e=s$(),n=zX(),i=rj().getLayoutRect,r=ij().windowOpen;e.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),e.extendComponentView({type:"title",render:function(e,o,a){if(this.group.removeAll(),e.get("show")){var s=this.group,l=e.getModel("textStyle"),u=e.getModel("subtextStyle"),h=e.get("textAlign"),c=t.retrieve2(e.get("textBaseline"),e.get("textVerticalAlign")),d=new n.Text({style:n.setTextStyle({},l,{text:e.get("text"),textFill:l.getTextColor()},{disableBox:!0}),z2:10}),p=d.getBoundingRect(),f=e.get("subtext"),g=new n.Text({style:n.setTextStyle({},u,{text:f,textFill:u.getTextColor(),y:p.height+e.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),v=e.get("link"),m=e.get("sublink"),y=e.get("triggerEvent",!0);d.silent=!v&&!y,g.silent=!m&&!y,v&&d.on("click",(function(){r(v,"_"+e.get("target"))})),m&&g.on("click",(function(){r(m,"_"+e.get("subtarget"))})),d.eventData=g.eventData=y?{componentType:"title",componentIndex:e.componentIndex}:null,s.add(d),f&&s.add(g);var x=s.getBoundingRect(),_=e.getBoxLayoutParams();_.width=x.width,_.height=x.height;var b=i(_,{width:a.getWidth(),height:a.getHeight()},e.get("padding"));h||("middle"===(h=e.get("left")||e.get("right"))&&(h="center"),"right"===h?b.x+=b.width:"center"===h&&(b.x+=b.width/2)),c||("center"===(c=e.get("top")||e.get("bottom"))&&(c="middle"),"bottom"===c?b.y+=b.height:"middle"===c&&(b.y+=b.height/2),c=c||"top"),s.attr("position",[b.x,b.y]);var w={textAlign:h,textVerticalAlign:c};d.setStyle(w),g.setStyle(w),x=s.getBoundingRect();var S=b.margin,M=e.getItemStyle(["color","opacity"]);M.fill=e.get("backgroundColor");var I=new n.Rect({shape:{x:x.x-S[3],y:x.y-S[0],width:x.width+S[1]+S[3],height:x.height+S[0]+S[2],r:e.get("borderRadius")},style:M,subPixelOptimize:!0,silent:!0});s.add(I)}}})}(),function(){if(ett)return rtt;ett=1;var t=s$(),e=function(){if(H9)return G9;H9=1;var t=bW();function e(e){var i=e&&e.timeline;t.isArray(i)||(i=i?[i]:[]),t.each(i,(function(t){t&&n(t)}))}function n(e){var n=e.type,o={number:"value",time:"time"};if(o[n]&&(e.axisType=o[n],delete e.type),i(e),r(e,"controlPosition")){var a=e.controlStyle||(e.controlStyle={});r(a,"position")||(a.position=e.controlPosition),"none"!==a.position||r(a,"show")||(a.show=!1,delete a.position),delete e.controlPosition}t.each(e.data||[],(function(e){t.isObject(e)&&!t.isArray(e)&&(!r(e,"value")&&r(e,"name")&&(e.value=e.name),i(e))}))}function i(e){var n=e.itemStyle||(e.itemStyle={}),i=n.emphasis||(n.emphasis={}),o=e.label||e.label||{},a=o.normal||(o.normal={}),s={normal:1,emphasis:1};t.each(o,(function(t,e){s[e]||r(a,e)||(a[e]=t)})),i.label&&!r(o,"emphasis")&&(o.emphasis=i.label,delete i.label)}function r(t,e){return t.hasOwnProperty(e)}return G9=e}();(function(){if(W9)return ott;W9=1;var t=oj();t.registerSubTypeDefaulter("timeline",(function(){return"slider"}))})(),function(){if(U9)return att;U9=1;var t=s$(),e=bW();t.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(t,n){var i=n.getComponent("timeline");return i&&null!=t.currentIndex&&(i.setCurrentIndex(t.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.setPlayState(!1)),n.resetOption("timeline"),e.defaults({currentIndex:i.option.currentIndex},t)})),t.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(t,e){var n=e.getComponent("timeline");n&&null!=t.playState&&n.setPlayState(t.playState)}))}(),function(){if(j9)return X9;j9=1;var t=bW(),e=function(){if(Z9)return Y9;Z9=1;var t=bW(),e=oj(),n=tK(),i=AY(),r=e.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(t,e,n){this._data,this._names,this.mergeDefaultAndTheme(t,n),this._initData()},mergeOption:function(t){r.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(t){this.option.autoPlay=!!t},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var e=this.option,r=e.data||[],o=e.axisType,a=this._names=[];if("category"===o){var s=[];t.each(r,(function(e,n){var r,o=i.getDataItemValue(e);t.isObject(e)?(r=t.clone(e)).value=n:r=n,s.push(r),t.isString(o)||null!=o&&!isNaN(o)||(o=""),a.push(o+"")})),r=s}var l={category:"ordinal",time:"time"}[o]||"number";(this._data=new n([{name:"value",type:l}],this)).initData(r,a)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),o=r;return Y9=o}(),n=Hj(),i=e.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});t.mixin(i,n);var r=i;X9=r}(),function(){if(ttt)return Q9;ttt=1;var t=bW(),e=kU(),n=$W(),i=zX(),r=rj(),o=stt(),a=function(){if(J9)return $9;J9=1;var t=bW(),e=o$(),n=function(t,n,i,r){e.call(this,t,n,i),this.type=r||"value",this.model=null};n.prototype={constructor:n,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},t.inherits(n,e);var i=n;return $9=i}(),s=HK().createSymbol,l=zK(),u=YX(),h=ij().encodeHTML,c=t.bind,d=t.each,p=Math.PI,f=o.extend({type:"timeline.slider",init:function(t,e){this.api=e,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(t,e,n,i){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var r=this._layout(t,n),o=this._createGroup("mainGroup"),a=this._createGroup("labelGroup"),s=this._axis=this._createAxis(r,t);t.formatTooltip=function(t){return h(s.scale.getLabel(t))},d(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](r,o,s,t)}),this),this._renderAxisLabel(r,a,s,t),this._position(r,t)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(t,e){var n=t.get("label.position"),i=t.get("orient"),r=g(t,e);null==n||"auto"===n?n="horizontal"===i?r.y+r.height/2=0||"+"===n?"left":"right"},h={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:p/2},d="vertical"===i?r.height:r.width,f=t.getModel("controlStyle"),v=f.get("show",!0),m=v?f.get("itemSize"):0,y=v?f.get("itemGap"):0,x=m+y,_=t.get("label.rotate")||0;_=_*p/180;var b=f.get("position",!0),w=v&&f.get("showPlayBtn",!0),S=v&&f.get("showPrevBtn",!0),M=v&&f.get("showNextBtn",!0),I=0,T=d;return"left"===b||"bottom"===b?(w&&(o=[0,0],I+=x),S&&(a=[I,0],I+=x),M&&(s=[T-m,0],T-=x)):(w&&(o=[T-m,0],T-=x),S&&(a=[0,0],I+=x),M&&(s=[T-m,0],T-=x)),l=[I,T],t.get("inverse")&&l.reverse(),{viewRect:r,mainLength:d,orient:i,rotation:c[i],labelRotation:_,labelPosOpt:n,labelAlign:t.get("label.align")||u[i],labelBaseline:t.get("label.verticalAlign")||t.get("label.baseline")||h[i],playPosition:o,prevBtnPosition:a,nextBtnPosition:s,axisExtent:l,controlSize:m,controlGap:y}},_position:function(t,e){var i=this._mainGroup,r=this._labelGroup,o=t.viewRect;if("vertical"===t.orient){var a=n.create(),s=o.x,l=o.y+o.height;n.translate(a,a,[-s,-l]),n.rotate(a,a,-p/2),n.translate(a,a,[s,l]),(o=o.clone()).applyTransform(a)}var u=y(o),h=y(i.getBoundingRect()),c=y(r.getBoundingRect()),d=i.position,f=r.position;f[0]=d[0]=u[0][0];var g,v=t.labelPosOpt;function m(t){var e=t.position;t.origin=[u[0][0]-e[0],u[1][0]-e[1]]}function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function x(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}isNaN(v)?(x(d,h,u,1,g="+"===v?0:1),x(f,c,u,1,1-g)):(x(d,h,u,1,g=v>=0?0:1),f[1]=d[1]+v),i.attr("position",d),r.attr("position",f),i.rotation=r.rotation=t.rotation,m(i),m(r)},_createAxis:function(t,e){var n=e.getData(),i=e.get("axisType"),r=l.createScaleByModel(e,i);r.getTicks=function(){return n.mapArray(["value"],(function(t){return t}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.niceTicks();var s=new a("value",r,t.axisExtent,i);return s.model=e,s},_createGroup:function(t){var e=this["_"+t]=new i.Group;return this.group.add(e),e},_renderAxisLine:function(e,n,r,o){var a=r.getExtent();o.get("lineStyle.show")&&n.add(new i.Line({shape:{x1:a[0],y1:0,x2:a[1],y2:0},style:t.extend({lineCap:"round"},o.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,n,r){var o=r.getData(),a=n.scale.getTicks();d(a,(function(t){var a=n.dataToCoord(t),s=o.getItemModel(t),l=s.getModel("itemStyle"),u=s.getModel("emphasis.itemStyle"),h={position:[a,0],onclick:c(this._changeTimeline,this,t)},d=m(s,l,e,h);i.setHoverStyle(d,u.getItemStyle()),s.get("tooltip")?(d.dataIndex=t,d.dataModel=r):d.dataIndex=d.dataModel=null}),this)},_renderAxisLabel:function(t,e,n,r){if(n.getLabelModel().get("show")){var o=r.getData(),a=n.getViewLabels();d(a,(function(r){var a=r.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel("emphasis.label"),h=n.dataToCoord(r.tickValue),d=new i.Text({position:[h,0],rotation:t.labelRotation-t.rotation,onclick:c(this._changeTimeline,this,a),silent:!1});i.setTextStyle(d.style,l,{text:r.formattedLabel,textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline}),e.add(d),i.setHoverStyle(d,i.setTextStyle({},u))}),this)}},_renderControl:function(t,e,n,r){var o=t.controlSize,a=t.rotation,s=r.getModel("controlStyle").getItemStyle(),l=r.getModel("emphasis.controlStyle").getItemStyle(),u=[0,-o/2,o,o],h=r.getPlayState(),d=r.get("inverse",!0);function p(t,n,h,c){if(t){var d=v(r,n,u,{position:t,origin:[o/2,0],rotation:c?-a:0,rectHover:!0,style:s,onclick:h});e.add(d),i.setHoverStyle(d,l)}}p(t.nextBtnPosition,"controlStyle.nextIcon",c(this._changeTimeline,this,d?"-":"+")),p(t.prevBtnPosition,"controlStyle.prevIcon",c(this._changeTimeline,this,d?"+":"-")),p(t.playPosition,"controlStyle."+(h?"stopIcon":"playIcon"),c(this._handlePlayClick,this,!h),!0)},_renderCurrentPointer:function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=c(s._handlePointerDrag,s),t.ondragend=c(s._handlePointerDragend,s),y(t,o,n,i,!0)},onUpdate:function(t){y(t,o,n,i)}};this._currentPointer=m(a,a,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){var n=this._toAxisCoord(t)[0],i=this._axis,r=u.asc(i.getExtent().slice());n>r[1]&&(n=r[1]),n=0&&"number"==typeof h&&(h=+h.toFixed(Math.min(m,20))),g.coord[p]=v.coord[p]=h,o=[g,v,{type:l,valueIndex:o.valueIndex,value:h}]}return(o=[i.dataTransform(e,o[0]),i.dataTransform(e,o[1]),t.extend({},o[2])])[2].type=o[2].type||"",t.merge(o[2],o[0]),t.merge(o[2],o[1]),o};function l(t){return!isNaN(t)&&!isFinite(t)}function u(t,e,n,i){var r=1-t,o=i.dimensions[t];return l(e[r])&&l(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function h(t,e){if("cartesian2d"===t.type){var n=e[0].coord,r=e[1].coord;if(n&&r&&(u(1,n,r,t)||u(0,n,r,t)))return!0}return i.dataFilter(t,e[0])&&i.dataFilter(t,e[1])}function c(t,e,i,r,o){var a,s=r.coordinateSystem,u=t.getItemModel(e),h=n.parsePercent(u.get("x"),o.getWidth()),c=n.parsePercent(u.get("y"),o.getHeight());if(isNaN(h)||isNaN(c)){if(r.getMarkerPosition)a=r.getMarkerPosition(t.getValues(t.dimensions,e));else{var d=s.dimensions,p=t.get(d[0],e),f=t.get(d[1],e);a=s.dataToPoint([p,f])}if("cartesian2d"===s.type){var g=s.getAxis("x"),v=s.getAxis("y");d=s.dimensions,l(t.get(d[0],e))?a[0]=g.toGlobalCoord(g.getExtent()[i?0:1]):l(t.get(d[1],e))&&(a[1]=v.toGlobalCoord(v.getExtent()[i?0:1]))}isNaN(h)||(a[0]=h),isNaN(c)||(a[1]=c)}else a=[h,c];t.setItemLayout(e,a)}var d=o.extend({type:"markLine",updateTransform:function(t,e,n){e.eachSeries((function(t){var e=t.markLineModel;if(e){var i=e.getData(),r=e.__from,o=e.__to;r.each((function(e){c(r,e,!0,t,n),c(o,e,!1,t,n)})),i.each((function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},renderSeries:function(e,n,i,o){var a=e.coordinateSystem,s=e.id,l=e.getData(),u=this.markerGroupMap,h=u.get(s)||u.set(s,new r);this.group.add(h.group);var d=p(a,e,n),f=d.from,g=d.to,v=d.line;n.__from=f,n.__to=g,n.setData(v);var m=n.get("symbol"),y=n.get("symbolSize");function x(t,n,i){var r=t.getItemModel(n);c(t,n,i,e,o),t.setItemVisual(n,{symbolRotate:r.get("symbolRotate"),symbolSize:r.get("symbolSize")||y[i?0:1],symbol:r.get("symbol",!0)||m[i?0:1],color:r.get("itemStyle.color")||l.getVisual("color")})}t.isArray(m)||(m=[m,m]),"number"==typeof y&&(y=[y,y]),d.from.each((function(t){x(f,t,!0),x(g,t,!1)})),v.each((function(t){var e=v.getItemModel(t).get("lineStyle.color");v.setItemVisual(t,{color:e||f.getItemVisual(t,"color")}),v.setItemLayout(t,[f.getItemLayout(t),g.getItemLayout(t)]),v.setItemVisual(t,{fromSymbolRotate:f.getItemVisual(t,"symbolRotate"),fromSymbolSize:f.getItemVisual(t,"symbolSize"),fromSymbol:f.getItemVisual(t,"symbol"),toSymbolRotate:g.getItemVisual(t,"symbolRotate"),toSymbolSize:g.getItemVisual(t,"symbolSize"),toSymbol:g.getItemVisual(t,"symbol")})})),h.updateData(v),d.line.eachItemGraphicEl((function(t,e){t.traverse((function(t){t.dataModel=n}))})),h.__keep=!0,h.group.silent=n.get("silent")||e.get("silent")}});function p(n,r,o){var a;a=n?t.map(n&&n.dimensions,(function(e){var n=r.getData().getDimensionInfo(r.getData().mapDimension(e))||{};return t.defaults({name:e},n)})):[{name:"value",type:"float"}];var l=new e(a,o),u=new e(a,o),c=new e([],o),d=t.map(o.get("data"),t.curry(s,r,n,o));n&&(d=t.filter(d,t.curry(h,n)));var p=n?i.dimValueGetter:function(t){return t.value};return l.initData(t.map(d,(function(t){return t[0]})),null,p),u.initData(t.map(d,(function(t){return t[1]})),null,p),c.initData(t.map(d,(function(t){return t[2]}))),c.hasItemOption=!0,{from:l,to:u,line:c}}Itt=d}(),t.registerPreprocessor((function(t){t.markLine=t.markLine||{}}))}(),function(){if(ktt)return Ntt;ktt=1;var t=s$();(function(){if(Dtt)return Att;Dtt=1;var t=ptt(),e=t.extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});Att=e})(),function(){if(Ltt)return Ett;Ltt=1;var t=bW(),e=sU(),n=tK(),i=YX(),r=zX(),o=btt(),a=wtt(),s=function(e,n,i,r){var a=o.dataTransform(e,r[0]),s=o.dataTransform(e,r[1]),l=t.retrieve,u=a.coord,h=s.coord;u[0]=l(u[0],-1/0),u[1]=l(u[1],-1/0),h[0]=l(h[0],1/0),h[1]=l(h[1],1/0);var c=t.mergeAll([{},a,s]);return c.coord=[a.coord,s.coord],c.x0=a.x,c.y0=a.y,c.x1=s.x,c.y1=s.y,c};function l(t){return!isNaN(t)&&!isFinite(t)}function u(t,e,n,i){var r=1-t;return l(e[r])&&l(n[r])}function h(t,e){var n=e.coord[0],i=e.coord[1];return!("cartesian2d"!==t.type||!n||!i||!u(1,n,i)&&!u(0,n,i))||o.dataFilter(t,{coord:n,x:e.x0,y:e.y0})||o.dataFilter(t,{coord:i,x:e.x1,y:e.y1})}function c(t,e,n,r,o){var a,s=r.coordinateSystem,u=t.getItemModel(e),h=i.parsePercent(u.get(n[0]),o.getWidth()),c=i.parsePercent(u.get(n[1]),o.getHeight());if(isNaN(h)||isNaN(c)){if(r.getMarkerPosition)a=r.getMarkerPosition(t.getValues(n,e));else{var d=[g=t.get(n[0],e),v=t.get(n[1],e)];s.clampData&&s.clampData(d,d),a=s.dataToPoint(d,!0)}if("cartesian2d"===s.type){var p=s.getAxis("x"),f=s.getAxis("y"),g=t.get(n[0],e),v=t.get(n[1],e);l(g)?a[0]=p.toGlobalCoord(p.getExtent()["x0"===n[0]?0:1]):l(v)&&(a[1]=f.toGlobalCoord(f.getExtent()["y0"===n[1]?0:1]))}isNaN(h)||(a[0]=h),isNaN(c)||(a[1]=c)}else a=[h,c];return a}var d=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];function p(e,i,r){var o,a,l=["x0","y0","x1","y1"];e?(o=t.map(e&&e.dimensions,(function(e){var n=i.getData(),r=n.getDimensionInfo(n.mapDimension(e))||{};return t.defaults({name:e},r)})),a=new n(t.map(l,(function(t,e){return{name:t,type:o[e%2].type}})),r)):a=new n(o=[{name:"value",type:"float"}],r);var u=t.map(r.get("data"),t.curry(s,i,e,r));e&&(u=t.filter(u,t.curry(h,e)));var c=e?function(t,e,n,i){return t.coord[Math.floor(i/2)][i%2]}:function(t){return t.value};return a.initData(u,null,c),a.hasItemOption=!0,a}a.extend({type:"markArea",updateTransform:function(e,n,i){n.eachSeries((function(e){var n=e.markAreaModel;if(n){var r=n.getData();r.each((function(n){var o=t.map(d,(function(t){return c(r,n,t,e,i)}));r.setItemLayout(n,o),r.getItemGraphicEl(n).setShape("points",o)}))}}),this)},renderSeries:function(n,i,o,a){var s=n.coordinateSystem,u=n.id,h=n.getData(),f=this.markerGroupMap,g=f.get(u)||f.set(u,{group:new r.Group});this.group.add(g.group),g.__keep=!0;var v=p(s,n,i);i.setData(v),v.each((function(e){var i=t.map(d,(function(t){return c(v,e,t,n,a)})),r=!0;t.each(d,(function(t){if(r){var n=v.get(t[0],e),i=v.get(t[1],e);(l(n)||s.getAxis("x").containData(n))&&(l(i)||s.getAxis("y").containData(i))&&(r=!1)}})),v.setItemLayout(e,{points:i,allClipped:r}),v.setItemVisual(e,{color:h.getVisual("color")})})),v.diff(g.__data).add((function(t){var e=v.getItemLayout(t);if(!e.allClipped){var n=new r.Polygon({shape:{points:e.points}});v.setItemGraphicEl(t,n),g.group.add(n)}})).update((function(t,e){var n=g.__data.getItemGraphicEl(e),o=v.getItemLayout(t);o.allClipped?n&&g.group.remove(n):(n?r.updateProps(n,{shape:{points:o.points}},i,t):n=new r.Polygon({shape:{points:o.points}}),v.setItemGraphicEl(t,n),g.group.add(n))})).remove((function(t){var e=g.__data.getItemGraphicEl(t);g.group.remove(e)})).execute(),v.eachItemGraphicEl((function(n,o){var a=v.getItemModel(o),s=a.getModel("label"),l=a.getModel("emphasis.label"),u=v.getItemVisual(o,"color");n.useStyle(t.defaults(a.getModel("itemStyle").getItemStyle(),{fill:e.modifyAlpha(u,.4),stroke:u})),n.hoverStyle=a.getModel("emphasis.itemStyle").getItemStyle(),r.setLabelStyle(n.style,n.hoverStyle,s,l,{labelFetcher:i,labelDataIndex:o,defaultText:v.getName(o)||"",isRectText:!0,autoColor:u}),r.setHoverStyle(n,{}),n.dataModel=i})),g.__data=v,g.group.silent=i.get("silent")||n.get("silent")}})}(),t.registerPreprocessor((function(t){t.markArea=t.markArea||{}}))}(),tet||(tet=1,Jtt(),function(){if(Ztt)return Ytt;Ztt=1;var t=Vtt(),e=rj(),n=e.mergeLayoutParam,i=e.getLayoutParams,r=t.extend({type:"legend.scroll",setScrollDataIndex:function(t){this.option.scrollDataIndex=t},defaultOption:{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800},init:function(t,e,n,a){var s=i(t);r.superCall(this,"init",t,e,n,a),o(this,t,s)},mergeOption:function(t,e){r.superCall(this,"mergeOption",t,e),o(this,this.option,t)}});function o(t,e,i){var r=[1,1];r[t.getOrient().index]=0,n(e,i,{type:"box",ignoreSize:r})}var a=r;Ytt=a}(),function(){if(jtt)return Xtt;jtt=1;var t=bW(),e=zX(),n=rj(),i=Ktt(),r=e.Group,o=["width","height"],a=["x","y"],s=i.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){s.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new r),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new r),this._showController},resetInner:function(){s.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(n,i,r,o,a,l,u){var h=this;s.superCall(this,"renderInner",n,i,r,o,a,l,u);var c=this._controllerGroup,d=i.get("pageIconSize",!0);t.isArray(d)||(d=[d,d]),f("pagePrev",0);var p=i.getModel("pageTextStyle");function f(n,r){var a=n+"DataIndex",s=e.createIcon(i.get("pageIcons",!0)[i.getOrient().name][r],{onclick:t.bind(h._pageGo,h,a,i,o)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});s.name=n,c.add(s)}c.add(new e.Text({name:"pageText",style:{textFill:p.getTextColor(),font:p.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),f("pageNext",1)},layoutInner:function(e,i,r,s,l,u){var h=this.getSelectorGroup(),c=e.getOrient().index,d=o[c],p=a[c],f=o[1-c],g=a[1-c];l&&n.box("horizontal",h,e.get("selectorItemGap",!0));var v=e.get("selectorButtonGap",!0),m=h.getBoundingRect(),y=[-m.x,-m.y],x=t.clone(r);l&&(x[d]=r[d]-m[d]-v);var _=this._layoutContentAndController(e,s,x,c,d,f,g);if(l){if("end"===u)y[c]+=_[d]+v;else{var b=m[d]+v;y[c]-=b,_[p]-=b}_[d]+=m[d]+v,y[1-c]+=_[g]+_[f]/2-m[f]/2,_[f]=Math.max(_[f],m[f]),_[g]=Math.min(_[g],m[g]+y[1-c]),h.attr("position",y)}return _},_layoutContentAndController:function(i,r,o,a,s,l,u){var h=this.getContentGroup(),c=this._containerGroup,d=this._controllerGroup;n.box(i.get("orient"),h,i.get("itemGap"),a?o.width:null,a?null:o.height),n.box("horizontal",d,i.get("pageButtonItemGap",!0));var p=h.getBoundingRect(),f=d.getBoundingRect(),g=this._showController=p[s]>o[s],v=[-p.x,-p.y];r||(v[a]=h.position[a]);var m=[0,0],y=[-f.x,-f.y],x=t.retrieve2(i.get("pageButtonGap",!0),i.get("itemGap",!0));g&&("end"===i.get("pageButtonPosition",!0)?y[a]+=o[s]-f[s]:m[a]+=f[s]+x),y[1-a]+=p[l]/2-f[l]/2,h.attr("position",v),c.attr("position",m),d.attr("position",y);var _={x:0,y:0};if(_[s]=g?o[s]:p[s],_[l]=Math.max(p[l],f[l]),_[u]=Math.min(0,f[u]+y[1-a]),c.__rectSize=o[s],g){var b={x:0,y:0};b[s]=Math.max(o[s]-f[s]-x,0),b[l]=_[l],c.setClipPath(new e.Rect({shape:b})),c.__rectSize=b[s]}else d.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var w=this._getPageInfo(i);return null!=w.pageIndex&&e.updateProps(h,{position:w.contentPosition},!!g&&i),this._updatePageInfoView(i,w),_},_pageGo:function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},_updatePageInfoView:function(e,n){var i=this._controllerGroup;t.each(["pagePrev","pageNext"],(function(t){var r=null!=n[t+"DataIndex"],o=i.childOfName(t);o&&(o.setStyle("fill",r?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var r=i.childOfName("pageText"),o=e.get("pageFormatter"),a=n.pageIndex,s=null!=a?a+1:0,l=n.pageCount;r&&o&&r.setStyle("text",t.isString(o)?o.replace("{current}",s).replace("{total}",l):o({current:s,total:l}))},_getPageInfo:function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,s=o[r],l=a[r],u=this._findTargetItemIndex(e),h=n.children(),c=h[u],d=h.length,p=d?1:0,f={contentPosition:n.position.slice(),pageCount:p,pageIndex:p-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!c)return f;var g=_(c);f.contentPosition[r]=-g.s;for(var v=u+1,m=g,y=g,x=null;v<=d;++v)(!(x=_(h[v]))&&y.e>m.s+i||x&&!b(x,m.s))&&(m=y.i>m.i?y:x)&&(null==f.pageNextDataIndex&&(f.pageNextDataIndex=m.i),++f.pageCount),y=x;for(v=u-1,m=g,y=g,x=null;v>=-1;--v)(x=_(h[v]))&&b(y,x.s)||!(m.i=e&&t.s<=e+i}},_findTargetItemIndex:function(t){return this._showController?(this.getContentGroup().eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n):0;var e,n}}),l=s;Xtt=l}(),function(){if(Qtt)return aet;Qtt=1;var t=s$();t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}()),Jtt(),vet||(vet=1,uet(),_et()),_et(),uet(),rnt||(rnt=1,Jet(),ant()),Jet(),ant(),function(){if(cnt)return dnt;cnt=1,function(){if(lnt)return pnt;lnt=1;var t=yW(),e=AW().applyTransform,n=kU(),i=sU(),r=eY(),o=xY(),a=_Y(),s=bY(),l=wY(),u=NZ(),h=PZ(),c=qY(),d=RX(),p=gnt(),f=c.CMD,g=Math.round,v=Math.sqrt,m=Math.abs,y=Math.cos,x=Math.sin,_=Math.max;if(!t.canvasSupported){var b=",",w="progid:DXImageTransform.Microsoft",S=21600,M=S/2,I=1e5,T=1e3,C=function(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=S+","+S,t.coordorigin="0,0"},A=function(t){return String(t).replace(/&/g,"&").replace(/"/g,""")},D=function(t,e,n){return"rgb("+[t,e,n].join(",")+")"},L=function(t,e){e&&t&&e.parentNode!==t&&t.appendChild(e)},k=function(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)},P=function(t,e,n){return(parseFloat(t)||0)*I+(parseFloat(e)||0)*T+n},O=o.parsePercent,R=function(t,e,n){var r=i.parse(e);n=+n,isNaN(n)&&(n=1),r&&(t.color=D(r[0],r[1],r[2]),t.opacity=n*r[3])},N=function(t){var e=i.parse(t);return[D(e[0],e[1],e[2]),e[3]]},E=function(t,n,i){var r=n.fill;if(null!=r)if(r instanceof d){var o,a=0,s=[0,0],l=0,u=1,h=i.getBoundingRect(),c=h.width,p=h.height;if("linear"===r.type){o="gradient";var f=i.transform,g=[r.x*c,r.y*p],v=[r.x2*c,r.y2*p];f&&(e(g,g,f),e(v,v,f));var m=v[0]-g[0],y=v[1]-g[1];(a=180*Math.atan2(m,y)/Math.PI)<0&&(a+=360),a<1e-6&&(a=0)}else{o="gradientradial",g=[r.x*c,r.y*p],f=i.transform;var x=i.scale,b=c,w=p;s=[(g[0]-h.x)/b,(g[1]-h.y)/w],f&&e(g,g,f),b/=x[0]*S,w/=x[1]*S;var M=_(b,w);l=0/M,u=2*r.r/M-l}var I=r.colorStops.slice();I.sort((function(t,e){return t.offset-e.offset}));for(var T=I.length,C=[],A=[],D=0;D=2){var P=C[0][0],O=C[1][0],E=C[0][1]*n.opacity,z=C[1][1]*n.opacity;t.type=o,t.method="none",t.focus="100%",t.angle=a,t.color=P,t.color2=O,t.colors=A.join(","),t.opacity=z,t.opacity2=E}"radial"===o&&(t.focusposition=s.join(","))}else R(t,r,n.opacity)},z=function(t,e){e.lineDash&&(t.dashstyle=e.lineDash.join(" ")),null==e.stroke||e.stroke instanceof d||R(t,e.stroke,e.opacity)},V=function(t,e,n,i){var r="fill"===e,o=t.getElementsByTagName(e)[0];null!=n[e]&&"none"!==n[e]&&(r||!r&&n.lineWidth)?(t[r?"filled":"stroked"]="true",n[e]instanceof d&&k(t,o),o||(o=p.createNode(e)),r?E(o,n,i):z(o,n),L(t,o)):(t[r?"filled":"stroked"]="false",k(t,o))},B=[[],[],[]],F=function(t,n){var i,r,o,a,s,l,u=f.M,h=f.C,c=f.L,d=f.A,p=f.Q,m=[],_=t.data,w=t.len();for(a=0;a.01?W&&(U+=270/S):Math.abs(Y-z)<1e-4?W&&UE?A-=270/S:A+=270/S:W&&Yz?C+=270/S:C-=270/S),m.push(Z,g(((E-V)*O+k)*S-M),b,g(((z-F)*R+P)*S-M),b,g(((E+V)*O+k)*S-M),b,g(((z+F)*R+P)*S-M),b,g((U*O+k)*S-M),b,g((Y*R+P)*S-M),b,g((C*O+k)*S-M),b,g((A*R+P)*S-M)),s=C,l=A;break;case f.R:var X=B[0],j=B[1];X[0]=_[a++],X[1]=_[a++],j[0]=X[0]+_[a++],j[1]=X[1]+_[a++],n&&(e(X,X,n),e(j,j,n)),X[0]=g(X[0]*S-M),j[0]=g(j[0]*S-M),X[1]=g(X[1]*S-M),j[1]=g(j[1]*S-M),m.push(" m ",X[0],b,X[1]," l ",j[0],b,X[1]," l ",j[0],b,j[1]," l ",X[0],b,j[1]);break;case f.Z:m.push(" x ")}if(i>0){m.push(r);for(var q=0;qZ&&(Y=0,U={});var n,i=X.style;try{i.font=t,n=i.fontFamily.split(",")[0]}catch(Fu){}e={style:i.fontStyle||W,variant:i.fontVariant||W,weight:i.fontWeight||W,size:0|parseFloat(i.fontSize||12),family:n||"Microsoft YaHei"},U[t]=e,Y++}return e};r.$override("measureText",(function(t,e){var n=p.doc;H||((H=n.createElement("div")).style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",p.doc.body.appendChild(H));try{H.style.font=e}catch(i){}return H.innerHTML="",H.appendChild(n.createTextNode(t)),{width:H.offsetWidth}}));for(var q=new n,K=function(t,n,i,a){var s=this.style;this.__dirty&&o.normalizeTextStyle(s,!0);var l=s.text;if(null!=l&&(l+=""),l){if(s.rich){var u=r.parseRichText(l,s);l=[];for(var h=0;h0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function no(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return X(t)?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function io(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),to),t=(+t).toFixed(e),n?t:+t}function ro(t){return t.sort((function(t,e){return t-e})),t}function oo(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return ao(t)}function ao(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}function so(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function lo(t,e){var n=B(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];for(var i=Math.pow(10,e),r=V(t,(function(t){return(isNaN(t)?0:t)/n*i*100})),o=100*i,a=V(r,(function(t){return Math.floor(t)})),s=B(a,(function(t,e){return t+e}),0),l=V(r,(function(t,e){return t-a[e]}));su&&(u=l[c],h=c);++a[h],l[h]=0,++s}return V(a,(function(t){return t/i}))}function uo(t,e){var n=Math.max(oo(t),oo(e)),i=t+e;return n>to?i:io(i,n)}var ho=9007199254740991;function co(t){var e=2*Math.PI;return(t%e+e)%e}function po(t){return t>-1e-4&&t=10&&e++,e}function yo(t,e){var n=mo(t),i=Math.pow(10,n),r=t/i;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t}function xo(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r}function _o(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i=0||r&&O(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}var la=sa([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),ua=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return la(this,t,e)},t}(),ha=new Fn(50);function ca(t){if("string"==typeof t){var e=ha.get(t);return e&&e.image}return t}function da(t,e,n,i,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=ha.get(t),a={hostEl:n,cb:i,cbPayload:r};return o?!fa(e=o.image)&&o.pending.push(a):((e=c.loadImage(t,pa,pa)).__zrImageSrc=t,ha.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function pa(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=a;l++)s-=a;var u=Ir(n,e);return u>s&&(n="",u=0),s=t-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=s,r.containerWidth=t,r}function ya(t,e,n){var i=n.containerWidth,r=n.font,o=n.contentWidth;if(!i)return t.textLine="",void(t.isTruncated=!1);var a=Ir(e,r);if(a<=i)return t.textLine=e,void(t.isTruncated=!1);for(var s=0;;s++){if(a<=o||s>=n.maxIterations){e+=n.ellipsis;break}var l=0===s?xa(e,o,n.ascCharWidth,n.cnCharWidth):a>0?Math.floor(e.length*o/a):0;a=Ir(e=e.substr(0,l),r)}""===e&&(e=n.placeholder),t.textLine=e,t.isTruncated=!0}function xa(t,e,n,i){for(var r=0,o=0,a=t.length;o0&&f+i.accumWidth>i.width&&(o=e.split("\n"),c=!0),i.accumWidth=f}else{var g=Ta(e,h,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+p,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var v=0;v=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}(t)||!!Ma[t]}function Ta(t,e,n,i,r){for(var o=[],a=[],s="",l="",u=0,h=0,c=0;cn:r+h+p>n)?h?(s||l)&&(f?(s||(s=l,l="",h=u=0),o.push(s),a.push(h-u),l+=d,s="",h=u+=p):(l&&(s+=l,l="",u=0),o.push(s),a.push(h),s=d,h=p)):f?(o.push(l),a.push(u),l=d,u=p):(o.push(d),a.push(p)):(h+=p,f?(l+=d,u+=p):(l&&(s+=l,l="",u=0),s+=d))}else l&&(s+=l,h+=u),o.push(s),a.push(h),s="",l="",u=0,h=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(h)),1===o.length&&(h+=r),{accumWidth:h,lines:o,linesWidths:a}}var Ca="__zr_style_"+Math.round(10*Math.random()),Aa={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Da={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Aa[Ca]=!0;var La=["z","z2","invisible"],ka=["invisible"],Pa=function(t){function e(e){return t.call(this,e)||this}var n;return i(e,t),e.prototype._init=function(e){for(var n=H(e),i=0;i1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(Fa[0]=Va(r)*n+t,Fa[1]=za(r)*i+e,Ga[0]=Va(o)*n+t,Ga[1]=za(o)*i+e,u(s,Fa,Ga),h(l,Fa,Ga),(r%=Ba)<0&&(r+=Ba),(o%=Ba)<0&&(o+=Ba),r>o&&!a?o+=Ba:rr&&(Ha[0]=Va(p)*n+t,Ha[1]=za(p)*i+e,u(s,Ha,s),h(l,Ha,l))}var Ka={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},$a=[],Ja=[],Qa=[],ts=[],es=[],ns=[],is=Math.min,rs=Math.max,os=Math.cos,as=Math.sin,ss=Math.abs,ls=Math.PI,us=2*ls,hs="undefined"!=typeof Float32Array,cs=[];function ds(t){return Math.round(t/ls*1e8)/1e8%2*ls}function ps(t,e){var n=ds(t[0]);n<0&&(n+=us);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=us?r=n+us:e&&n-r>=us?r=n-us:!e&&n>r?r=n+(us-ds(n-r)):e&&n0&&(this._ux=ss(n/cr/t)||0,this._uy=ss(n/cr/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(Ka.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=ss(t-this._xi),i=ss(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(Ka.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(Ka.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(Ka.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),cs[0]=i,cs[1]=r,ps(cs,o),i=cs[0];var a=(r=cs[1])-i;return this.addData(Ka.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=os(r)*n+t,this._yi=as(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(Ka.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(Ka.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!hs||(this.data=new Float32Array(e));for(var n=0;nu.length&&(this._expandData(),u=this.data);for(var h=0;h0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){Qa[0]=Qa[1]=es[0]=es[1]=Number.MAX_VALUE,ts[0]=ts[1]=ns[0]=ns[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,o=0;for(t=0;tn||ss(v)>i||c===e-1)&&(f=Math.sqrt(D*D+v*v),r=g,o=x);break;case Ka.C:var m=t[c++],y=t[c++],x=(g=t[c++],t[c++]),_=t[c++],b=t[c++];f=An(r,o,m,y,g,x,_,b,10),r=_,o=b;break;case Ka.Q:f=Rn(r,o,m=t[c++],y=t[c++],g=t[c++],x=t[c++],10),r=g,o=x;break;case Ka.A:var w=t[c++],S=t[c++],M=t[c++],I=t[c++],T=t[c++],C=t[c++],A=C+T;c+=1,p&&(a=os(T)*M+w,s=as(T)*I+S),f=rs(M,I)*is(us,Math.abs(C)),r=os(A)*M+w,o=as(A)*I+S;break;case Ka.R:a=r=t[c++],s=o=t[c++],f=2*t[c++]+2*t[c++];break;case Ka.Z:var D=a-r;v=s-o,f=Math.sqrt(D*D+v*v),r=a,o=s}f>=0&&(l[h++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,h,c,d=this.data,p=this._ux,f=this._uy,g=this._len,v=e<1,m=0,y=0,x=0;if(!v||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=e*this._pathLen))t:for(var _=0;_0&&(t.lineTo(h,c),x=0),b){case Ka.M:n=r=d[_++],i=o=d[_++],t.moveTo(r,o);break;case Ka.L:a=d[_++],s=d[_++];var S=ss(a-r),M=ss(s-o);if(S>p||M>f){if(v){if(m+(j=l[y++])>u){var I=(u-m)/j;t.lineTo(r*(1-I)+a*I,o*(1-I)+s*I);break t}m+=j}t.lineTo(a,s),r=a,o=s,x=0}else{var T=S*S+M*M;T>x&&(h=a,c=s,x=T)}break;case Ka.C:var C=d[_++],A=d[_++],D=d[_++],L=d[_++],k=d[_++],P=d[_++];if(v){if(m+(j=l[y++])>u){Tn(r,C,D,k,I=(u-m)/j,$a),Tn(o,A,L,P,I,Ja),t.bezierCurveTo($a[1],Ja[1],$a[2],Ja[2],$a[3],Ja[3]);break t}m+=j}t.bezierCurveTo(C,A,D,L,k,P),r=k,o=P;break;case Ka.Q:if(C=d[_++],A=d[_++],D=d[_++],L=d[_++],v){if(m+(j=l[y++])>u){Pn(r,C,D,I=(u-m)/j,$a),Pn(o,A,L,I,Ja),t.quadraticCurveTo($a[1],Ja[1],$a[2],Ja[2]);break t}m+=j}t.quadraticCurveTo(C,A,D,L),r=D,o=L;break;case Ka.A:var O=d[_++],R=d[_++],N=d[_++],E=d[_++],z=d[_++],V=d[_++],B=d[_++],F=!d[_++],G=N>E?N:E,H=ss(N-E)>.001,W=z+V,U=!1;if(v&&(m+(j=l[y++])>u&&(W=z+V*(u-m)/j,U=!0),m+=j),H&&t.ellipse?t.ellipse(O,R,N,E,B,z,W,F):t.arc(O,R,G,z,W,F),U)break t;w&&(n=os(z)*N+O,i=as(z)*E+R),r=os(W)*N+O,o=as(W)*E+R;break;case Ka.R:n=r=d[_],i=o=d[_+1],a=d[_++],s=d[_++];var Y=d[_++],Z=d[_++];if(v){if(m+(j=l[y++])>u){var X=u-m;t.moveTo(a,s),t.lineTo(a+is(X,Y),s),(X-=Y)>0&&t.lineTo(a+Y,s+is(X,Z)),(X-=Z)>0&&t.lineTo(a+rs(Y-X,0),s+Z),(X-=Y)>0&&t.lineTo(a,s+rs(Z-X,0));break t}m+=j}t.rect(a,s,Y,Z);break;case Ka.Z:if(v){var j;if(m+(j=l[y++])>u){I=(u-m)/j,t.lineTo(r*(1-I)+n*I,o*(1-I)+i*I);break t}m+=j}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=Ka,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();function gs(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0;if(a>e+s&&a>i+s||at+s&&o>n+s||oe+c&&h>i+c&&h>o+c&&h>s+c||ht+c&&u>n+c&&u>r+c&&u>a+c||ue+u&&l>i+u&&l>o+u||lt+u&&s>n+u&&s>r+u||sn||h+ur&&(r+=_s);var d=Math.atan2(l,s);return d<0&&(d+=_s),d>=i&&d<=r||d+_s>=i&&d+_s<=r}function ws(t,e,n,i,r,o){if(o>e&&o>i||or?s:0}var Ss=fs.CMD,Ms=2*Math.PI,Is=[-1,-1,-1],Ts=[-1,-1];function Cs(t,e,n,i,r,o,a,s,l,u){if(u>e&&u>i&&u>o&&u>s||u1&&(h=void 0,h=Ts[0],Ts[0]=Ts[1],Ts[1]=h),f=wn(e,i,o,s,Ts[0]),p>1&&(g=wn(e,i,o,s,Ts[1]))),2===p?me&&s>i&&s>o||s=0&&h<=1&&(r[l++]=h);else{var u=a*a-4*o*s;if(_n(u))(h=-a/(2*o))>=0&&h<=1&&(r[l++]=h);else if(u>0){var h,c=dn(u),d=(-a-c)/(2*o);(h=(-a+c)/(2*o))>=0&&h<=1&&(r[l++]=h),d>=0&&d<=1&&(r[l++]=d)}}return l}(e,i,o,s,Is);if(0===l)return 0;var u=kn(e,i,o);if(u>=0&&u<=1){for(var h=0,c=Dn(e,i,o,u),d=0;dn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);Is[0]=-l,Is[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=Ms-1e-4){i=0,r=Ms;var h=o?1:-1;return a>=Is[0]+t&&a<=Is[1]+t?h:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=Ms,r+=Ms);for(var d=0,p=0;p<2;p++){var f=Is[p];if(f+t>a){var g=Math.atan2(s,f);h=o?1:-1,g<0&&(g=Ms+g),(g>=i&&g<=r||g+Ms>=i&&g+Ms<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(h=-h),d+=h)}}return d}function Ls(t,e,n,i,r){for(var o,a,s,l,u=t.data,h=t.len(),c=0,d=0,p=0,f=0,g=0,v=0;v1&&(n||(c+=ws(d,p,f,g,i,r))),y&&(f=d=u[v],g=p=u[v+1]),m){case Ss.M:d=f=u[v++],p=g=u[v++];break;case Ss.L:if(n){if(gs(d,p,u[v],u[v+1],e,i,r))return!0}else c+=ws(d,p,u[v],u[v+1],i,r)||0;d=u[v++],p=u[v++];break;case Ss.C:if(n){if(vs(d,p,u[v++],u[v++],u[v++],u[v++],u[v],u[v+1],e,i,r))return!0}else c+=Cs(d,p,u[v++],u[v++],u[v++],u[v++],u[v],u[v+1],i,r)||0;d=u[v++],p=u[v++];break;case Ss.Q:if(n){if(ms(d,p,u[v++],u[v++],u[v],u[v+1],e,i,r))return!0}else c+=As(d,p,u[v++],u[v++],u[v],u[v+1],i,r)||0;d=u[v++],p=u[v++];break;case Ss.A:var x=u[v++],_=u[v++],b=u[v++],w=u[v++],S=u[v++],M=u[v++];v+=1;var I=!!(1-u[v++]);o=Math.cos(S)*b+x,a=Math.sin(S)*w+_,y?(f=o,g=a):c+=ws(d,p,o,a,i,r);var T=(i-x)*w/b+x;if(n){if(bs(x,_,w,S,S+M,I,e,T,r))return!0}else c+=Ds(x,_,w,S,S+M,I,T,r);d=Math.cos(S+M)*b+x,p=Math.sin(S+M)*w+_;break;case Ss.R:if(f=d=u[v++],g=p=u[v++],o=f+u[v++],a=g+u[v++],n){if(gs(f,g,o,g,e,i,r)||gs(o,g,o,a,e,i,r)||gs(o,a,f,a,e,i,r)||gs(f,a,f,g,e,i,r))return!0}else c+=ws(o,g,o,a,i,r),c+=ws(f,a,f,g,i,r);break;case Ss.Z:if(n){if(gs(d,p,f,g,e,i,r))return!0}else c+=ws(d,p,f,g,i,r);d=f,p=g}}return n||(s=p,l=g,Math.abs(s-l)<1e-4)||(c+=ws(d,p,f,g,i,r)||0),0!==c}var ks=k({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Aa),Ps={style:k({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Da.style)},Os=wr.concat(["invisible","culling","z","z2","zlevel","parent"]),Rs=function(t){function e(e){return t.call(this,e)||this}var n;return i(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s.5?dr:e>.2?"#eee":pr}if(t)return pr}return dr},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(X(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())==ui(t,0)<.4)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=~rn},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new fs(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||this.__dirty&rn)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,n,i){return Ls(t,e,!0,n,i)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return Ls(t,0,!1,e,n)}(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=rn,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:L(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&rn)},e.prototype.createStyle=function(t){return xt(ks,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=L({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=L({},i.shape),L(s,n.shape)):(s=L({},r?this.shape:i.shape),L(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=L({},this.shape);for(var u={},h=H(s),c=0;c0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return xt(Ns,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=Cr(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(Pa);Es.prototype.type="tspan";var zs=k({x:0,y:0},Aa),Vs={style:k({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Da.style)},Bs=t("Z",function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.createStyle=function(t){return xt(zs,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i,r=(i=e.image)&&"string"!=typeof i&&i.width&&i.height?e.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=e[o];return null==a?r[t]:r[t]/r[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return Vs},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Be(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(Pa));Bs.prototype.type="image";var Fs=Math.round;function Gs(t,e,n){if(e){var i=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=i,t.x2=r,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(Fs(2*i)===Fs(2*r)&&(t.x1=t.x2=Ws(i,s,!0)),Fs(2*o)===Fs(2*a)&&(t.y1=t.y2=Ws(o,s,!0)),t):t}}function Hs(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,a=e.height;t.x=i,t.y=r,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=Ws(i,s,!0),t.y=Ws(r,s,!0),t.width=Math.max(Ws(i+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(Ws(r+a,s,!1)-t.y,0===a?0:1),t):t}}function Ws(t,e,n){if(!e)return t;var i=Fs(2*t);return(i+Fs(e))%2==0?i/2:(i+(n?1:-1))/2}var Us=function(){this.x=0,this.y=0,this.width=0,this.height=0},Ys={},Zs=t("R",function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new Us},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=Hs(Ys,e,this.style);n=a.x,i=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,i=e.y,r=e.width,o=e.height;e.r?function(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,h=e.height,c=e.r;u<0&&(s+=u,u=-u),h<0&&(l+=h,h=-h),"number"==typeof c?n=i=r=o=c:c instanceof Array?1===c.length?n=i=r=o=c[0]:2===c.length?(n=r=c[0],i=o=c[1]):3===c.length?(n=c[0],i=o=c[1],r=c[2]):(n=c[0],i=c[1],r=c[2],o=c[3]):n=i=r=o=0,n+i>u&&(n*=u/(a=n+i),i*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),i+r>h&&(i*=h/(a=i+r),r*=h/a),n+o>h&&(n*=h/(a=n+o),o*=h/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+h-r),0!==r&&t.arc(s+u-r,l+h-r,r,0,Math.PI/2),t.lineTo(s+o,l+h),0!==o&&t.arc(s+o,l+h-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,i,r,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(Rs));Zs.prototype.type="rect";var Xs={fill:"#000"},js={style:k({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Da.style)},qs=t("O",function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Xs,n.attr(e),n}return i(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;ef&&h){var g=Math.floor(f/l);c=c||n.length>g,n=n.slice(0,g)}if(t&&a&&null!=d)for(var v=ma(d,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),m={},y=0;y0,T=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),C=i.calculatedLineHeight,A=0;Al&&Sa(n,t.substring(l,u),e,s),Sa(n,i[2],e,s,i[1]),l=ga.lastIndex}lo){var A=n.lines.length;w>0?(x.tokens=x.tokens.slice(0,w),m(x,b,_),n.lines=n.lines.slice(0,y+1)):n.lines=n.lines.slice(0,y),n.isTruncated=n.isTruncated||n.lines.length=0&&"right"===(C=x[T]).align;)this._placeToken(C,t,b,f,I,"right",v),w-=C.width,I-=C.width,T--;for(M+=(n-(M-p)-(g-I)-w)/2;S<=T;)C=x[S],this._placeToken(C,t,b,f,M+C.width/2,"center",v),M+=C.width,S++;f+=b}},e.prototype._placeToken=function(t,e,n,i,r,o,a){var s=e.rich[t.styleName]||{};s.text=t.text;var l=t.verticalAlign,h=i+n/2;"top"===l?h=i+t.height/2:"bottom"===l&&(h=i+n-t.height/2),!t.isLineHolder&&sl(s)&&this._renderBackground(s,e,"right"===o?r-t.width:"center"===o?r-t.width/2:r,h-t.height/2,t.width,t.height);var c=!!s.backgroundColor,d=t.textPadding;d&&(r=ol(r,o,d),h-=t.height/2-d[0]-t.innerHeight/2);var p=this._getOrCreateChild(Es),f=p.createStyle();p.useStyle(f);var g=this._defaultStyle,v=!1,m=0,y=rl("fill"in s?s.fill:"fill"in e?e.fill:(v=!0,g.fill)),x=il("stroke"in s?s.stroke:"stroke"in e?e.stroke:c||a||g.autoStroke&&!v?null:(m=2,g.stroke)),_=s.textShadowBlur>0||e.textShadowBlur>0;f.text=t.text,f.x=r,f.y=h,_&&(f.shadowBlur=s.textShadowBlur||e.textShadowBlur||0,f.shadowColor=s.textShadowColor||e.textShadowColor||"transparent",f.shadowOffsetX=s.textShadowOffsetX||e.textShadowOffsetX||0,f.shadowOffsetY=s.textShadowOffsetY||e.textShadowOffsetY||0),f.textAlign=o,f.textBaseline="middle",f.font=t.font||u,f.opacity=at(s.opacity,e.opacity,1),tl(f,s),x&&(f.lineWidth=at(s.lineWidth,e.lineWidth,m),f.lineDash=ot(s.lineDash,e.lineDash),f.lineDashOffset=e.lineDashOffset||0,f.stroke=x),y&&(f.fill=y);var b=t.contentWidth,w=t.contentHeight;p.setBoundingRect(new Be(Ar(f.x,b,f.textAlign),Dr(f.y,w,f.textBaseline),b,w))},e.prototype._renderBackground=function(t,e,n,i,r,o){var a,s,l,u=t.backgroundColor,h=t.borderWidth,c=t.borderColor,d=u&&u.image,p=u&&!d,f=t.borderRadius,g=this;if(p||t.lineHeight||h&&c){(a=this._getOrCreateChild(Zs)).useStyle(a.createStyle()),a.style.fill=null;var v=a.shape;v.x=n,v.y=i,v.width=r,v.height=o,v.r=f,a.dirtyShape()}if(p)(l=a.style).fill=u||null,l.fillOpacity=ot(t.fillOpacity,1);else if(d){(s=this._getOrCreateChild(Bs)).onload=function(){g.dirtyStyle()};var m=s.style;m.image=u.image,m.x=n,m.y=i,m.width=r,m.height=o}h&&c&&((l=a.style).lineWidth=h,l.stroke=c,l.strokeOpacity=ot(t.strokeOpacity,1),l.lineDash=t.borderDash,l.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var y=(a||s).style;y.shadowBlur=t.shadowBlur||0,y.shadowColor=t.shadowColor||"transparent",y.shadowOffsetX=t.shadowOffsetX||0,y.shadowOffsetY=t.shadowOffsetY||0,y.opacity=at(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return el(t)&&(e=[t.fontStyle,t.fontWeight,Qs(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&ht(e)||t.textFont||t.font},e}(Pa)),Ks={left:!0,right:1,center:1},$s={top:1,bottom:1,middle:1},Js=["fontStyle","fontWeight","fontSize","fontFamily"];function Qs(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?"12px":t+"px":t}function tl(t,e){for(var n=0;n=0,o=!1;if(t instanceof Rs){var a=dl(t),s=r&&a.selectFill||a.normalFill,l=r&&a.selectStroke||a.normalStroke;if(wl(s)||wl(l)){var u=(i=i||{}).style||{};"inherit"===u.fill?(o=!0,i=L({},i),(u=L({},u)).fill=s):!wl(u.fill)&&wl(s)?(o=!0,i=L({},i),(u=L({},u)).fill=ci(s)):!wl(u.stroke)&&wl(l)&&(o||(i=L({},i),u=L({},u)),u.stroke=ci(l)),i.style=u}}if(i&&null==i.z2){o||(i=L({},i));var h=t.z2EmphasisLift;i.z2=t.z2+(null!=h?h:vl)}return i}(this,0,e,n);if("blur"===t)return function(t,e,n){var i=O(t.currentStates,e)>=0,r=t.style.opacity,o=i?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function Kl(t,e,n){nu(t,!0),kl(t,Rl),Jl(t,e,n)}function $l(t,e,n,i){i?function(t){nu(t,!1)}(t):Kl(t,e,n)}function Jl(t,e,n){var i=ll(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var Ql=["emphasis","blur","select"],tu={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function eu(t,e,n,i){n=n||"itemStyle";for(var r=0;r1&&(a*=cu(f),s*=cu(f));var g=(r===o?-1:1)*cu((a*a*(s*s)-a*a*(p*p)-s*s*(d*d))/(a*a*(p*p)+s*s*(d*d)))||0,v=g*a*p/s,m=g*-s*d/a,y=(t+n)/2+pu(c)*v-du(c)*m,x=(e+i)/2+du(c)*v+pu(c)*m,_=mu([1,0],[(d-v)/a,(p-m)/s]),b=[(d-v)/a,(p-m)/s],w=[(-1*d-v)/a,(-1*p-m)/s],S=mu(b,w);if(vu(b,w)<=-1&&(S=fu),vu(b,w)>=1&&(S=0),S<0){var M=Math.round(S/fu*1e6)/1e6;S=2*fu+M%2*fu}h.addData(u,y,x,a,s,_,S,c,o)}var xu=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,_u=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,bu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.applyTransform=function(t){},e}(Rs);function wu(t){return null!=t.setData}function Su(t,e){var n=function(t){var e=new fs;if(!t)return e;var n,i=0,r=0,o=i,a=r,s=fs.CMD,l=t.match(xu);if(!l)return e;for(var u=0;uL*L+k*k&&(M=T,I=C),{cx:M,cy:I,x0:-h,y0:-c,x1:M*(r/b-1),y1:I*(r/b-1)}}function Hu(t,e){var n,i=Vu(e.r,0),r=Vu(e.r0||0,0),o=i>0;if(o||r>0){if(o||(i=r,r=0),r>i){var a=i;i=r,r=a}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=e.cx,h=e.cy,c=!!e.clockwise,d=Eu(l-s),p=d>ku&&d%ku;if(p>Fu&&(d=p),i>Fu)if(d>ku-Fu)t.moveTo(u+i*Ou(s),h+i*Pu(s)),t.arc(u,h,i,s,l,!c),r>Fu&&(t.moveTo(u+r*Ou(l),h+r*Pu(l)),t.arc(u,h,r,l,s,c));else{var f=void 0,g=void 0,v=void 0,m=void 0,y=void 0,x=void 0,_=void 0,b=void 0,w=void 0,S=void 0,M=void 0,I=void 0,T=void 0,C=void 0,A=void 0,D=void 0,L=i*Ou(s),k=i*Pu(s),P=r*Ou(l),O=r*Pu(l),R=d>Fu;if(R){var N=e.cornerRadius;N&&(n=function(t){var e;if(Y(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(N),f=n[0],g=n[1],v=n[2],m=n[3]);var E=Eu(i-r)/2;if(y=Bu(E,v),x=Bu(E,m),_=Bu(E,f),b=Bu(E,g),M=w=Vu(y,x),I=S=Vu(_,b),(w>Fu||S>Fu)&&(T=i*Ou(l),C=i*Pu(l),A=r*Ou(s),D=r*Pu(s),dFu){var U=Bu(v,M),Z=Bu(m,M),X=Gu(A,D,L,k,i,U,c),j=Gu(T,C,P,O,i,Z,c);t.moveTo(u+X.cx+X.x0,h+X.cy+X.y0),M0&&t.arc(u+X.cx,h+X.cy,U,Nu(X.y0,X.x0),Nu(X.y1,X.x1),!c),t.arc(u,h,i,Nu(X.cy+X.y1,X.cx+X.x1),Nu(j.cy+j.y1,j.cx+j.x1),!c),Z>0&&t.arc(u+j.cx,h+j.cy,Z,Nu(j.y1,j.x1),Nu(j.y0,j.x0),!c))}else t.moveTo(u+L,h+k),t.arc(u,h,i,s,l,!c);else t.moveTo(u+L,h+k);r>Fu&&R?I>Fu?(U=Bu(f,I),X=Gu(P,O,T,C,r,-(Z=Bu(g,I)),c),j=Gu(L,k,A,D,r,-U,c),t.lineTo(u+X.cx+X.x0,h+X.cy+X.y0),I0&&t.arc(u+X.cx,h+X.cy,Z,Nu(X.y0,X.x0),Nu(X.y1,X.x1),!c),t.arc(u,h,r,Nu(X.cy+X.y1,X.cx+X.x1),Nu(j.cy+j.y1,j.cx+j.x1),c),U>0&&t.arc(u+j.cx,h+j.cy,U,Nu(j.y1,j.x1),Nu(j.y0,j.x0),!c))):(t.lineTo(u+P,h+O),t.arc(u,h,r,l,s,c)):t.lineTo(u+P,h+O)}else t.moveTo(u,h);t.closePath()}}}var Wu=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},Uu=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new Wu},e.prototype.buildPath=function(t,e){Hu(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(Rs);Uu.prototype.type="sector";var Yu=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},Zu=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new Yu},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(Rs);function Xu(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){var o=function(t,e,n,i){var r,o,a,s,l=[],u=[],h=[],c=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var d=0,p=t.length;ddh[1]){if(a=!1,r)return a;var u=Math.abs(dh[0]-ch[1]),h=Math.abs(ch[0]-dh[1]);Math.min(u,h)>i.len()&&(u0){var c={duration:h.duration,delay:h.delay||0,easing:h.easing,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};l?e.animateFrom(n,c):e.animateTo(n,c)}else e.stopAnimation(),!l&&e.attr(n),a&&a(1),o&&o()}function bh(t,e,n,i,r,o){_h("update",t,e,n,i,r,o)}function wh(t,e,n,i,r,o){_h("enter",t,e,n,i,r,o)}function Sh(t){if(!t.__zr)return!0;for(var e=0;eMath.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Zh(t){return!t.isGroup}function Xh(t,e,n){if(t&&e){var i,r=(i={},t.traverse((function(t){Zh(t)&&t.anid&&(i[t.anid]=t)})),i);e.traverse((function(t){if(Zh(t)&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),bh(t,i,n,ll(t).dataIndex)}}}))}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=L({},t.shape)),e}}function jh(t,e){return V(t,(function(t){var n=t[0];n=Ah(n,e.x),n=Dh(n,e.x+e.width);var i=t[1];return i=Ah(i,e.y),[n,i=Dh(i,e.y+e.height)]}))}function qh(t,e){var n=Ah(t.x,e.x),i=Dh(t.x+t.width,e.x+e.width),r=Ah(t.y,e.y),o=Dh(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function Kh(t,e,n){var i=L({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),k(r,n),new Bs(i)):Eh(t.replace("path://",""),i,n,"center")}function $h(t,e,n,i,r){for(var o=0,a=r[r.length-1];o=-1e-6)return!1;var f=t-r,g=e-o,v=Qh(f,g,u,h)/p;if(v<0||v>1)return!1;var m=Qh(f,g,c,d)/p;return!(m<0||m>1)}function Qh(t,e,n,i){return t*i-n*e}function tc(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=X(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&z(H(l),(function(t){bt(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=ll(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:k({content:i,encodeHTMLContent:!0,formatterParams:s},r)}}function ec(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function nc(t,e){if(t)if(Y(t))for(var n=0;n-1?Nc:zc;function Gc(t,e){t=t.toUpperCase(),Bc[t]=new kc(e),Vc[t]=e}function Hc(t){return Bc[t]}Gc(Ec,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),Gc(Nc,{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}});var Wc=1e3,Uc=6e4,Yc=36e5,Zc=864e5,Xc=31536e6,jc={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},qc="{yyyy}-{MM}-{dd}",Kc={year:"{yyyy}",month:"{yyyy}-{MM}",day:qc,hour:qc+" "+jc.hour,minute:qc+" "+jc.minute,second:qc+" "+jc.second,millisecond:jc.none},$c=["year","month","day","hour","minute","second","millisecond"],Jc=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Qc(t,e){return"0000".substr(0,e-(t+="").length)+t}function td(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function ed(t){return t===td(t)}function nd(t,e,n,i){var r=go(t),o=r[od(n)](),a=r[ad(n)]()+1,s=Math.floor((a-1)/3)+1,l=r[sd(n)](),u=r["get"+(n?"UTC":"")+"Day"](),h=r[ld(n)](),c=(h-1)%12+1,d=r[ud(n)](),p=r[hd(n)](),f=r[cd(n)](),g=h>=12?"pm":"am",v=g.toUpperCase(),m=(i instanceof kc?i:Hc(i||Fc)||Bc[zc]).getModel("time"),y=m.get("month"),x=m.get("monthAbbr"),_=m.get("dayOfWeek"),b=m.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,g+"").replace(/{A}/g,v+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,Qc(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,y[a-1]).replace(/{MMM}/g,x[a-1]).replace(/{MM}/g,Qc(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,Qc(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,_[u]).replace(/{ee}/g,b[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Qc(h,2)).replace(/{H}/g,h+"").replace(/{hh}/g,Qc(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,Qc(d,2)).replace(/{m}/g,d+"").replace(/{ss}/g,Qc(p,2)).replace(/{s}/g,p+"").replace(/{SSS}/g,Qc(f,3)).replace(/{S}/g,f+"")}function id(t,e){var n=go(t),i=n[ad(e)]()+1,r=n[sd(e)](),o=n[ld(e)](),a=n[ud(e)](),s=n[hd(e)](),l=0===n[cd(e)](),u=l&&0===s,h=u&&0===a,c=h&&0===o,d=c&&1===r;return d&&1===i?"year":d?"month":c?"day":h?"hour":u?"minute":l?"second":"millisecond"}function rd(t,e,n){var i=q(t)?go(t):t;switch(e=e||id(t,n)){case"year":return i[od(n)]();case"half-year":return i[ad(n)]()>=6?1:0;case"quarter":return Math.floor((i[ad(n)]()+1)/4);case"month":return i[ad(n)]();case"day":return i[sd(n)]();case"half-day":return i[ld(n)]()/24;case"hour":return i[ld(n)]();case"minute":return i[ud(n)]();case"second":return i[hd(n)]();case"millisecond":return i[cd(n)]()}}function od(t){return t?"getUTCFullYear":"getFullYear"}function ad(t){return t?"getUTCMonth":"getMonth"}function sd(t){return t?"getUTCDate":"getDate"}function ld(t){return t?"getUTCHours":"getHours"}function ud(t){return t?"getUTCMinutes":"getMinutes"}function hd(t){return t?"getUTCSeconds":"getSeconds"}function cd(t){return t?"getUTCMilliseconds":"getMilliseconds"}function dd(t){return t?"setUTCFullYear":"setFullYear"}function pd(t){return t?"setUTCMonth":"setMonth"}function fd(t){return t?"setUTCDate":"setDate"}function gd(t){return t?"setUTCHours":"setHours"}function vd(t){return t?"setUTCMinutes":"setMinutes"}function md(t){return t?"setUTCSeconds":"setSeconds"}function yd(t){return t?"setUTCMilliseconds":"setMilliseconds"}function xd(t){if(!wo(t))return X(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function _d(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var bd=lt;function wd(t,e,n){function i(t){return t&&ht(t)?t:"-"}function r(t){return!(null==t||isNaN(t)||!isFinite(t))}var o="time"===e,a=t instanceof Date;if(o||a){var s=o?go(t):t;if(!isNaN(+s))return nd(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(a)return"-"}if("ordinal"===e)return j(t)?i(t):q(t)&&r(t)?t+"":"-";var l=bo(t);return r(l)?xd(l):j(t)?i(t):"boolean"==typeof t?t+"":"-"}var Sd=["a","b","c","d","e","f","g"],Md=function(t,e){return"{"+t+(null==e?"":e)+"}"};function Id(t,e,n){Y(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],o=0;o':'':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}:""}function Cd(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=go(e),r=n?"getUTC":"get",o=i[r+"FullYear"](),a=i[r+"Month"]()+1,s=i[r+"Date"](),l=i[r+"Hours"](),u=i[r+"Minutes"](),h=i[r+"Seconds"](),c=i[r+"Milliseconds"]();return t=t.replace("MM",Qc(a,2)).replace("M",a).replace("yyyy",o).replace("yy",Qc(o%100+"",2)).replace("dd",Qc(s,2)).replace("d",s).replace("hh",Qc(l,2)).replace("h",l).replace("mm",Qc(u,2)).replace("m",u).replace("ss",Qc(h,2)).replace("s",h).replace("SSS",Qc(c,3))}function Ad(t,e){return e=e||"transparent",X(t)?t:K(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Dd(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var Ld=z,kd=["left","right","top","bottom","width","height"],Pd=[["width","left","right"],["height","top","bottom"]];function Od(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(l,u){var h,c,d=l.getBoundingRect(),p=e.childAt(u+1),f=p&&p.getBoundingRect();if("horizontal"===t){var g=d.width+(f?-f.x+d.x:0);(h=o+g)>i||l.newline?(o=0,h=g,a+=s+n,s=d.height):s=Math.max(s,d.height)}else{var v=d.height+(f?-f.y+d.y:0);(c=a+v)>r||l.newline?(o+=s+n,a=0,c=v,s=d.width):s=Math.max(s,d.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=h+n:a=c+n)}))}var Rd=Od;function Nd(t,e,n){n=bd(n||0);var i=e.width,r=e.height,o=no(t.left,i),a=no(t.top,r),s=no(t.right,i),l=no(t.bottom,r),u=no(t.width,i),h=no(t.height,r),c=n[2]+n[0],d=n[1]+n[3],p=t.aspect;switch(isNaN(u)&&(u=i-s-d-o),isNaN(h)&&(h=r-l-c-a),null!=p&&(isNaN(u)&&isNaN(h)&&(p>i/r?u=.8*i:h=.8*r),isNaN(u)&&(u=p*h),isNaN(h)&&(h=u/p)),isNaN(o)&&(o=i-s-u-d),isNaN(a)&&(a=r-l-h-c),t.left||t.right){case"center":o=i/2-u/2-n[3];break;case"right":o=i-u-d}switch(t.top||t.bottom){case"middle":case"center":a=r/2-h/2-n[0];break;case"bottom":a=r-h-c}o=o||0,a=a||0,isNaN(u)&&(u=i-d-o-(s||0)),isNaN(h)&&(h=r-c-a-(l||0));var f=new Be(o+n[3],a+n[0],u,h);return f.margin=n,f}function Ed(t,e,n,i,r,o){var a,s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if((o=o||t).x=t.x,o.y=t.y,!s&&!l)return!1;if("raw"===u)a="group"===t.type?new Be(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(a=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();(a=a.clone()).applyTransform(h)}var c=Nd(k({width:a.width,height:a.height},e),n,i),d=s?c.x-a.x:0,p=l?c.y-a.y:0;return"raw"===u?(o.x=d,o.y=p):(o.x+=d,o.y+=p),o===t&&t.markRedraw(),!0}function zd(t){var e=t.layoutMode||t.constructor.layoutMode;return K(e)?e:e?{type:e}:null}function Vd(t,e,n){var i=n&&n.ignoreSize;!Y(i)&&(i=[i,i]);var r=a(Pd[0],0),o=a(Pd[1],1);function a(n,r){var o={},a=0,u={},h=0;if(Ld(n,(function(e){u[e]=t[e]})),Ld(n,(function(t){s(e,t)&&(o[t]=u[t]=e[t]),l(o,t)&&a++,l(u,t)&&h++})),i[r])return l(e,n[1])?u[n[2]]=null:l(e,n[2])&&(u[n[1]]=null),u;if(2!==h&&a){if(a>=2)return o;for(var c=0;c=0;a--)o=A(o,n[a],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return jo(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(kc));na(Hd,kc),aa(Hd),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=ta(t);e[i.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var o=ta(n).main;t.hasSubTypes(n)&&e[o]&&(r=e[o](i))}return r}}(Hd),function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,i,r,o){if(t.length){var a=function(t){var i={},r=[];return z(t,(function(o){var a=n(i,o),s=function(t,e){var n=[];return z(t,(function(t){O(e,t)>=0&&n.push(t)})),n}(a.originalDeps=e(o),t);a.entryCount=s.length,0===a.entryCount&&r.push(o),z(s,(function(t){O(a.predecessor,t)<0&&a.predecessor.push(t);var e=n(i,t);O(e.successor,t)<0&&e.successor.push(o)}))})),{graph:i,noEntryList:r}}(i),s=a.graph,l=a.noEntryList,u={};for(z(t,(function(t){u[t]=!0}));l.length;){var h=l.pop(),c=s[h],d=!!u[h];d&&(r.call(o,h,c.originalDeps.slice()),delete u[h]),z(c.successor,d?f:p)}z(u,(function(){throw new Error("")}))}function p(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function f(t){u[t]=!0,p(t)}}}(Hd,(function(t){var e=[];return z(Hd.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=V(e,(function(t){return ta(t).main})),"dataset"!==t&&O(e,"dataset")<=0&&e.unshift("dataset"),e}));var Wd="";"undefined"!=typeof navigator&&(Wd=navigator.platform||"");var Ud="rgba(0, 0, 0, 0.2)";const Yd={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Ud,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Ud,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Ud,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Ud,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Ud,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Ud,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Wd.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var Zd=mt(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Xd="original",jd="arrayRows",qd="objectRows",Kd="keyedColumns",$d="typedArray",Jd="unknown",Qd="column",tp="row",ep={Must:1,Might:2,Not:3},np=Ho();function ip(t,e,n){var i={},r=op(e);if(!r||!t)return i;var o,a,s=[],l=[],u=e.ecModel,h=np(u).datasetMap,c=r.uid+"_"+n.seriesLayoutBy;z(t=t.slice(),(function(e,n){var r=K(e)?e:t[n]={name:e};"ordinal"===r.type&&null==o&&(o=n,a=f(r)),i[r.name]=[]}));var d=h.get(c)||h.set(c,{categoryWayDim:a,valueWayDim:0});function p(t,e,n){for(var i=0;ie)return t[i];return t[n-1]}(i,a):n;if((h=h||n)&&h.length){var c=h[l];return r&&(u[r]=c),s.paletteIdx=(l+1)%h.length,c}}var mp="\0_ec_inner",yp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new kc(i),this._locale=new kc(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=bp(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,bp(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):hp(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this);a.length&&z(a,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,o=[],a=mt(),s=e&&e.replaceMergeMainTypeMap;np(this).datasetMap=mt(),z(t,(function(t,e){null!=t&&(Hd.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?C(t):A(n[e],t,!0))})),s&&s.each((function(t,e){Hd.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))})),Hd.topologicalTravel(o,Hd.getAllClassMainTypes(),(function(e){var o=function(t,e,n){var i=cp.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,Lo(t[e])),a=i.get(e),l=a?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",u=No(a,o,l);(function(t,e,n){z(t,(function(t){var i=t.newOption;K(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,i){return e.type?e.type:n?n.subType:i.determineSubType(t,e)}(e,i,t.existing,n))}))})(u,e,Hd),n[e]=null,i.set(e,null),r.set(e,0);var h,c=[],d=[],p=0;z(u,(function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,a=Hd.getClass(e,t.keyInfo.subType,!o);if(!a)return;if("tooltip"===e){if(h)return;h=!0}if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var s=L({componentIndex:n},t.keyInfo);L(i=new a(r,this,this,s),s),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(c.push(i.option),d.push(i),p++):(c.push(void 0),d.push(void 0))}),this),n[e]=c,i.set(e,d),r.set(e,p),"series"===e&&lp(this)}),this),this._seriesIndices||lp(this)},e.prototype.getOption=function(){var t=C(this.option);return z(t,(function(e,n){if(Hd.hasClass(n)){for(var i=Lo(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!Fo(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}})),delete t[mp],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r=e:"max"===n?t<=e:t===e})(i[a],t,o)||(r=!1)}})),r}var Dp=z,Lp=K,kp=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Pp(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=kp.length;n=0;g--){var v=t[g];if(s||(d=v.data.rawIndexOf(v.stackedByDimension,c)),d>=0){var m=v.data.getByRawIndex(v.stackResultDimension,d);if("all"===l||"positive"===l&&m>0||"negative"===l&&m<0||"samesign"===l&&p>=0&&m>0||"samesign"===l&&p<=0&&m<0){p=uo(p,m),f=m;break}}}return i[0]=p,i[1]=f,i}))}))}var Kp,$p,Jp,Qp,tf,ef=function(){return function(t){this.data=t.data||(t.sourceFormat===Kd?{}:[]),this.sourceFormat=t.sourceFormat||Jd,this.seriesLayoutBy=t.seriesLayoutBy||Qd,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;nu&&(u=p)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""})):void 0},t.prototype.getRawValue=function(t,e){return bf(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function Mf(t){var e,n;return K(t)?t.type&&(n=t):e=t,{text:e,frag:n}}function If(t){return new Tf(t)}var Tf=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var o,a=h(this._modBy),s=this._modDataCount||0,l=h(t&&t.modBy),u=t&&t.modDataCount||0;function h(t){return!(t>=1)&&(t=1),t}a===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=l,this._modDataCount=u;var c=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,p=Math.min(null!=c?this._dueIndex+c:1/0,this._dueEnd);if(!i&&(o||d1&&i>0?s:a}};return o;function a(){return e=t?null:oe},gte:function(t,e){return t>=e}},Pf=function(){function t(t,e){q(e)||To(""),this._opFn=kf[t],this._rvalFloat=bo(e)}return t.prototype.evaluate=function(t){return q(t)?this._opFn(t,this._rvalFloat):this._opFn(bo(t),this._rvalFloat)},t}(),Of=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=q(t)?t:bo(t),i=q(e)?e:bo(e),r=isNaN(n),o=isNaN(i);if(r&&(n=this._incomparable),o&&(i=this._incomparable),r&&o){var a=X(t),s=X(e);a&&(n=s?t:0),s&&(i=a?e:0)}return ni?-this._resultLT:0},t}(),Rf=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=bo(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=bo(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function Nf(t,e){return"eq"===t||"ne"===t?new Rf("eq"===t,e):bt(kf,t)?new Pf(t,e):null}var Ef=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return Af(t,e)},t}();function zf(t){return Wf(t.sourceFormat)||To(""),t.data}function Vf(t){var e=t.sourceFormat,n=t.data;if(Wf(e)||To(""),e===jd){for(var i=[],r=0,o=n.length;r65535?Zf:Xf}function Jf(t,e,n,i,r){var o=Kf[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;ug[1]&&(g[1]=f)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=V(o,(function(t){return t.property})),u=0;uv[1]&&(v[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l=0&&a<0)&&(o=c,a=h,s=0),h===a&&(r[s++]=l))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r=u&&x<=h||isNaN(x))&&(a[s++]=p),p++;d=!0}else if(2===r){f=c[i[0]];var v=c[i[1]],m=t[i[1]][0],y=t[i[1]][1];for(g=0;g=u&&x<=h||isNaN(x))&&(_>=m&&_<=y||isNaN(_))&&(a[s++]=p),p++}d=!0}}if(!d)if(1===r)for(g=0;g=u&&x<=h||isNaN(x))&&(a[s++]=b)}else for(g=0;gt[M][1])&&(w=!1)}w&&(a[s++]=e.getRawIndex(g))}return sv[1]&&(v[1]=g)}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),h=this.getRawIndex(0),c=new($f(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));c[l++]=h;for(var d=1;dn&&(n=i,r=I)}M>0&&M<_-x&&(c[l++]=Math.min(S,r),r=Math.max(S,r)),c[l++]=r,h=r}return c[l++]=this.getRawIndex(s-1),o._count=l,o._indices=c,o.getRawIndex=this._getRawIdx,o},t.prototype.minmaxDownSample=function(t,e){for(var n=this.clone([t],!0),i=n._chunks,r=Math.floor(1/e),o=i[t],a=this.count(),s=new($f(this._rawCount))(2*Math.ceil(a/r)),l=0,u=0;ua&&(f=a-u);for(var g=0;gp&&(p=v,d=u+g)}var m=this.getRawIndex(h),y=this.getRawIndex(d);hu-p&&(s=u-p,a.length=s);for(var f=0;fh[1]&&(h[1]=v),c[d++]=m}return r._count=d,r._indices=c,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();ra&&(a=l)}return i=[o,a],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return Af(t[i],this._dimensions[i])}Uf={arrayRows:t,objectRows:function(t,e,n,i){return Af(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return Af(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),tg=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(ng(n)){var o=n,a=void 0,s=void 0,l=void 0;if(r){var u=i[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else s=J(a=o.get("data",!0))?$d:Xd,e=[];var h=this._getSourceMetaRawOption()||{},c=l&&l.metaRawOption||{},d=ot(h.seriesLayoutBy,c.seriesLayoutBy)||null,p=ot(h.sourceHeader,c.sourceHeader),f=ot(h.dimensions,c.dimensions);t=d!==c.seriesLayoutBy||!!p!=!!c.sourceHeader||f?[rf(a,{seriesLayoutBy:d,sourceHeader:p,dimensions:f},s)]:[]}else{var g=n;if(r){var v=this._applyTransform(i);t=v.sourceList,e=v.upstreamSignList}else t=[rf(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);null!=r&&1!==t.length&&ig("");var o,a=[],s=[];return z(t,(function(t){t.prepareSource();var e=t.getSource(r||0);null==r||e||ig(""),a.push(e),s.push(t._getVersionSign())})),i?e=function(t,e){var n=Lo(t),i=n.length;i||To("");for(var r=0,o=i;r1||n>0&&!t.noHeader;return z(t.blocks,(function(t){var n=cg(t);n>=e&&(e=n+ +(i&&(!n||ug(t)&&!t.noHeader)))})),e}return 0}function dg(t,e,n,i){var r,o=e.noHeader,a=(r=cg(e),{html:ag[r],richText:sg[r]}),s=[],l=e.blocks||[];ut(!l||Y(l)),l=l||[];var u=t.orderMode;if(e.sortBlocks&&u){l=l.slice();var h={valueAsc:"asc",valueDesc:"desc"};if(bt(h,u)){var c=new Of(h[u],null);l.sort((function(t,e){return c.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===u&&l.reverse()}z(l,(function(n,r){var o=e.valueFormatter,l=hg(n)(o?L(L({},t),{valueFormatter:o}):t,n,r>0?a.html:0,i);null!=l&&s.push(l)}));var d="richText"===t.renderMode?s.join(a.richText):gg(i,s.join(""),o?n:a.html);if(o)return d;var p=wd(e.header,"ordinal",t.useUTC),f=og(i,t.renderMode).nameStyle,g=rg(i);return"richText"===t.renderMode?vg(t,p,f)+a.richText+d:gg(i,'
'+oe(p)+"
"+d,n)}function pg(t,e,n,i){var r=t.renderMode,o=e.noName,a=e.noValue,s=!e.markerType,l=e.name,u=t.useUTC,h=e.valueFormatter||t.valueFormatter||function(t){return V(t=Y(t)?t:[t],(function(t,e){return wd(t,Y(p)?p[e]:p,u)}))};if(!o||!a){var c=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),d=o?"":wd(l,"ordinal",u),p=e.valueType,f=a?[]:h(e.value,e.dataIndex),g=!s||!o,v=!s&&o,m=og(i,r),y=m.nameStyle,x=m.valueStyle;return"richText"===r?(s?"":c)+(o?"":vg(t,d,y))+(a?"":function(t,e,n,i,r){var o=[r],a=i?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(Y(e)?e.join(" "):e,o)}(t,f,g,v,x)):gg(i,(s?"":c)+(o?"":function(t,e,n){return''+oe(t)+""}(d,!s,y))+(a?"":function(t,e,n,i){var r=n?"10px":"20px",o=e?"float:right;margin-left:"+r:"";return t=Y(t)?t:[t],''+V(t,(function(t){return oe(t)})).join("  ")+""}(f,g,v,x)),n)}}function fg(t,e,n,i,r,o){if(t)return hg(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function gg(t,e,n){return'
'+e+'
'}function vg(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function mg(t,e){return Ad(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function yg(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var xg=function(){function t(){this.richTextStyles={},this._nextStyleNameId=So()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,r=Td({color:e,type:t,renderMode:n,markerId:i});return X(r)?r:(this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};Y(e)?z(e,(function(t){return L(n,t)})):L(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();function _g(t){var e,n,i,r,o=t.series,a=t.dataIndex,s=t.multipleSeries,l=o.getData(),u=l.mapDimensionsAll("defaultedTooltip"),h=u.length,c=o.getRawValue(a),d=Y(c),p=mg(o,a);if(h>1||d&&!h){var f=function(t,e,n,i,r){var o=e.getData(),a=B(t,(function(t,e,n){var i=o.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),s=[],l=[],u=[];function h(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?u.push(lg("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?z(i,(function(t){h(bf(o,n,t),t)})):z(t,h),{inlineValues:s,inlineValueTypes:l,blocks:u}}(c,o,a,u,p);e=f.inlineValues,n=f.inlineValueTypes,i=f.blocks,r=f.inlineValues[0]}else if(h){var g=l.getDimensionInfo(u[0]);r=e=bf(l,a,u[0]),n=g.type}else r=e=d?c[0]:c;var v=Bo(o),m=v&&o.name||"",y=l.getName(a),x=s?m:y;return lg("section",{header:m,noHeader:s||!v,sortParam:r,blocks:[lg("nameValue",{markerType:"item",markerColor:p,name:x,noName:!ht(x),value:e,valueType:n,dataIndex:a})].concat(i||[])})}var bg=Ho();function wg(t,e){return t.getName(e)||t.getId(e)}var Sg="__universalTransitionEnabled",Mg=t("aj",function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return i(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=If({count:Tg,reset:Cg}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(bg(this).sourceManager=new tg(this)).prepareSource();var i=this.getInitialData(t,n);Dg(i,this),this.dataTask.context.data=i,bg(this).dataBeforeProcessed=i,Ig(this),this._initSelectedMapFromData(i)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=zd(this),i=n?Bd(t):{},r=this.subType;Hd.hasClass(r)&&(r+="Series"),A(t,e.getTheme().get(this.subType)),A(t,this.getDefaultOption()),ko(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Vd(t,i,n)},e.prototype.mergeOption=function(t,e){t=A(this.option,t,!0),this.fillDataTextStyle(t.data);var n=zd(this);n&&Vd(this.option,t,n);var i=bg(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);Dg(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,bg(this).dataBeforeProcessed=r,Ig(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!J(t))for(var e=["show"],n=0;nthis.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=fp.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o=0&&n.push(r)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[wg(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[Sg])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,r=this.option,o=r.selectedMode,a=e.length;if(o&&a)if("series"===o)r.selectedMap="all";else if("multiple"===o){K(r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l0&&this._innerSelect(t,e)}},e.registerClass=function(t){return Hd.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(Hd));function Ig(t){var e=t.name;Bo(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return z(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}(t)||e)}function Tg(t){return t.model.getRawData().count()}function Cg(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),Ag}function Ag(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function Dg(t,e){z(yt(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,U(Lg,e))}))}function Lg(t,e){var n=kg(t);return n&&n.setOutputEnd((e||this).count()),e}function kg(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}N(Mg,Sf),N(Mg,fp),na(Mg,Hd);var Pg=t("Q",function(){function t(){this.group=new Wr,this.uid=Oc("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}());function Og(){var t=Ho();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}ea(Pg),aa(Pg);var Rg=Ho(),Ng=Og(),Eg=t("ak",function(){function t(){this.group=new Wr,this.uid=Oc("viewChart"),this.renderTask=If({plan:Bg,reset:Fg}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&Vg(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&Vg(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){nc(this.group,t)},t.markUpdateMethod=function(t,e){Rg(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}());function zg(t,e,n){t&&iu(t)&&("emphasis"===e?zl:Vl)(t,n)}function Vg(t,e,n){var i=Go(t,e),r=e&&null!=e.highlightKey?function(t){var e=cl[t];return null==e&&hl<=32&&(e=cl[t]=hl++),e}(e.highlightKey):null;null!=i?z(Lo(i),(function(e){zg(t.getItemGraphicEl(e),n,r)})):t.eachItemGraphicEl((function(t){zg(t,n,r)}))}function Bg(t){return Ng(t.model)}function Fg(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&Rg(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),Gg[l]}ea(Eg),aa(Eg);var Gg={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},Hg="\0__throttleOriginMethod",Wg="\0__throttleRate",Ug="\0__throttleType";function Yg(t,e,n){var i,r,o,a,s,l=0,u=0,h=null;function c(){u=(new Date).getTime(),h=null,t.apply(o,a||[])}e=e||0;var d=function(){for(var t=[],d=0;d=0?c():h=setTimeout(c,-r),l=i};return d.clear=function(){h&&(clearTimeout(h),h=null)},d.debounceNextCall=function(t){s=t},d}function Zg(t,e,n,i){var r=t[e];if(r){var o=r[Hg]||r,a=r[Ug];if(r[Wg]!==n||a!==i){if(null==n||!i)return t[e]=o;(r=t[e]=Yg(o,n,"debounce"===i))[Hg]=o,r[Ug]=i,r[Wg]=n}return r}}function Xg(t,e){var n=t[e];n&&n[Hg]&&(n.clear&&n.clear(),t[e]=n[Hg])}var jg=Ho(),qg={itemStyle:sa(Ac,!0),lineStyle:sa(Ic,!0)},Kg={lineStyle:"stroke",itemStyle:"fill"};function $g(t,e){var n=t.visualStyleMapper||qg[e];return n||(console.warn("Unknown style type '"+e+"'."),qg.itemStyle)}function Jg(t,e){var n=t.visualDrawType||Kg[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var Qg={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=$g(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=Jg(t,i),l=o[s],u=Z(l)?l:null,h="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||h){var c=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=c,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||Z(o.fill)?c:o.fill,o.stroke="auto"===o.stroke||Z(o.stroke)?c:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=L({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}},tv=new kc,ev={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=$g(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){tv.option=n[i];var a=r(tv);L(t.ensureUniqueItemVisual(e,"style"),a),tv.option.decal&&(t.setItemVisual(e,"decal",tv.option.decal),tv.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},nv={performRawSeries:!0,overallReset:function(t){var e=mt();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),jg(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=jg(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=Jg(e,a);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var a=i[t];if(r.getItemVisual(a,"colorFromPalette")){var l=r.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",h=n.count();l[s]=e.getColorFromPalette(u,o,h)}}))}}))}},iv=Math.PI,rv=function(){function t(t,e,n,i){this._stageTaskMap=mt(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=mt();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;z(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{});ut(!(i.reset&&i.overallReset),""),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}z(t,(function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,d=h.agentStubMap;d.each((function(t){a(i,t)&&(t.dirty(),c=!0)})),c&&h.dirty(),o.updatePayload(h,n);var p=o.getPerformArgs(h,i.block);d.each((function(t){t.perform(p)})),h.perform(p)&&(r=!0)}else u&&u.each((function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=mt(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||If({plan:uv,reset:hv,count:pv}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||If({reset:ov});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=mt(),l=t.seriesType,u=t.getTargetSeries,h=!0,c=!1;function d(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(c=!0,If({reset:av,onDirty:lv})));n.context={model:t,overallProgress:h},n.agent=o,n.__block=h,r._pipe(t,n)}ut(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,d):u?u(n,i).each(d):(h=!1,z(n.getSeries(),d)),c&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return Z(t)&&(t={overallReset:t,seriesType:fv(t)}),t.uid=Oc("stageHandler"),e&&(t.visualType=e),t},t}();function ov(t){t.overallReset(t.ecModel,t.api,t.payload)}function av(t){return t.overallProgress&&sv}function sv(){this.agent.dirty(),this.getDownstream().dirty()}function lv(){this.agent&&this.agent.dirty()}function uv(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function hv(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=Lo(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?V(e,(function(t,e){return dv(e)})):cv}var cv=dv(0);function dv(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o0&&h===r.length-u.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),Cv=["symbol","symbolSize","symbolRotate","symbolOffset"],Av=Cv.concat(["symbolKeepAspect"]),Dv={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a=0&&$v(l)?l:.5,t.createRadialGradient(a,s,0,a,s,l)}(t,e,n):function(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=$v(i)?i:0,r=$v(r)?r:1,o=$v(o)?o:0,a=$v(a)?a:0,t.createLinearGradient(i,o,r,a)}(t,e,n),r=e.colorStops,o=0;o0&&(e=i.lineDash,n=i.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:q(e)?[e]:Y(e)?e:null:null),o=i.lineDashOffset;if(r){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=V(r,(function(t){return t/a})),o/=a)}return[r,o]}var nm=new fs(!0);function im(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function rm(t){return"string"==typeof t&&"none"!==t}function om(t){var e=t.fill;return null!=e&&"none"!==e}function am(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function sm(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function lm(t,e,n){var i=da(e.image,e.__image,n);if(fa(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*St),o.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(o)}return r}}var um=["shadowBlur","shadowOffsetX","shadowOffsetY"],hm=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function cm(t,e,n,i,r){var o=!1;if(!i&&e===(n=n||{}))return!1;if(i||e.opacity!==n.opacity){ym(t,r),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?Aa.opacity:a}(i||e.blend!==n.blend)&&(o||(ym(t,r),o=!0),t.globalCompositeOperation=e.blend||Aa.blend);for(var s=0;s0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[Nm])if(this._disposed)this.id;else{var i,r,o;if(K(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[Nm]=!0,!this._model||e){var a=new Cp(this._api),s=this._theme,l=this._model=new yp;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},gy);var u={seriesTransition:o,optionChanged:!0};if(n)this[Em]={silent:i,updateParams:u},this[Nm]=!1,this.getZr().wakeUp();else{try{Wm(this),Zm.update.call(this,null,u)}catch(Fu){throw this[Em]=null,this[Nm]=!1,Fu}this._ssr||this._zr.flush(),this[Em]=null,this[Nm]=!1,Km.call(this,i),$m.call(this,i)}}},e.prototype.setTheme=function(){},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||o.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(o.svgSupported){var t=this._zr;return z(t.storage.getDisplayList(),(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;z(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return z(i,(function(t){t.group.ignore=!1})),o}this.id},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(_y[n]){var a=o,s=o,l=-1/0,u=-1/0,h=[],d=t&&t.pixelRatio||this.getDevicePixelRatio();z(xy,(function(o,c){if(o.group===n){var d=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(C(t)),p=o.getDom().getBoundingClientRect();a=i(p.left,a),s=i(p.top,s),l=r(p.right,l),u=r(p.bottom,u),h.push({dom:d,left:p.left,top:p.top})}}));var p=(l*=d)-(a*=d),f=(u*=d)-(s*=d),g=c.createCanvas(),v=jr(g,{renderer:e?"svg":"canvas"});if(v.resize({width:p,height:f}),e){var m="";return z(h,(function(t){var e=t.left-a,n=t.top-s;m+=''+t.dom+""})),v.painter.getSvgRoot().innerHTML=m,t.connectedBackgroundColor&&v.painter.setBackgroundColor(t.connectedBackgroundColor),v.refreshImmediately(),v.painter.toDataURL()}return t.connectedBackgroundColor&&v.add(new Zs({shape:{x:0,y:0,width:p,height:f},style:{fill:t.connectedBackgroundColor}})),z(h,(function(t){var e=new Bs({style:{x:t.left*d-a,y:t.top*d-s,image:t.dom}});v.add(e)})),v.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}this.id},e.prototype.convertToPixel=function(t,e){return Xm(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return Xm(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){var n;if(!this._disposed)return z(Uo(this._model,t),(function(t,i){i.indexOf("Models")>=0&&z(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}}),this)}),this),!!n;this.id},e.prototype.getVisual=function(t,e){var n=Uo(this._model,t,{defaultMainType:"series"}),i=n.seriesModel.getData(),r=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?i.indexOfRawIndex(n.dataIndex):null;return null!=r?kv(i,r,e):Pv(i,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t,e,n,i=this;z(cy,(function(t){var e=function(e){var n,r=i.getModel(),o=e.target;if("globalout"===t?n={}:o&&Ev(o,(function(t){var e=ll(t);if(e&&null!=e.dataIndex){var i=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return n=i&&i.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return n=L({},e.eventData),!0}),!0),n){var a=n.componentType,s=n.componentIndex;"markLine"!==a&&"markPoint"!==a&&"markArea"!==a||(a="series",s=n.seriesIndex);var l=a&&null!=s&&r.getComponent(a,s),u=l&&i["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];n.event=e,n.type=t,i._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:l,view:u},i.trigger(t,n)}};e.zrEventfulCallAtLast=!0,i._zr.on(t,e,i)})),z(py,(function(t,e){i._messageCenter.on(e,(function(t){this.trigger(e,t)}),i)})),z(["selectchanged"],(function(t){i._messageCenter.on(t,(function(e){this.trigger(t,e)}),i)})),t=this._messageCenter,e=this,n=this._api,t.on("selectchanged",(function(t){var i=n.getModel();t.isFromClick?(Nv("map","selectchanged",e,i,t),Nv("pie","selectchanged",e,i,t)):"select"===t.fromAction?(Nv("map","selected",e,i,t),Nv("pie","selected",e,i,t)):"unselect"===t.fromAction&&(Nv("map","unselected",e,i,t),Nv("pie","unselected",e,i,t))}))},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)this.id;else{this._disposed=!0,this.getDom()&&qo(this.getDom(),Sy,"");var t=this,e=t._api,n=t._model;z(t._componentsViews,(function(t){t.dispose(n,e)})),z(t._chartsViews,(function(t){t.dispose(n,e)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete xy[t.id]}},e.prototype.resize=function(t){if(!this[Nm])if(this._disposed)this.id;else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[Em]&&(null==i&&(i=this[Em].silent),n=!0,this[Em]=null),this[Nm]=!0;try{n&&Wm(this),Zm.update.call(this,{type:"resize",animation:L({duration:0},t&&t.animation)})}catch(Fu){throw this[Nm]=!1,Fu}this[Nm]=!1,Km.call(this,i),$m.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)this.id;else if(K(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),yy[t]){var n=yy[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=L({},t);return e.type=py[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)this.id;else if(K(e)||(e={silent:!!e}),dy[t.type]&&this._model)if(this[Nm])this._pendingActions.push(t);else{var n=e.silent;qm.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&o.browser.weChat&&this._throttledZrFlush(),Km.call(this,n),$m.call(this,n)}},e.prototype.updateLabelLayout=function(){Dm.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)this.id;else{var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function e(t){for(var e=[],n=t.currentStates,i=0;i0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered((function(t){if(t.states&&t.states.emphasis){if(Sh(t))return;if(t instanceof Rs&&function(t){var e=dl(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}}))}Wm=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),Um(t,!0),Um(t,!1),e.plan()},Um=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;le.get("hoverLayerThreshold")&&!o.node&&!o.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}(t,e),Dm.trigger("series:afterupdate",e,i,l)},oy=function(t){t[zm]=!0,t.getZr().wakeUp()},ay=function(t){t[zm]&&(t.getZr().storage.traverse((function(t){Sh(t)||e(t)})),t[zm]=!1)},iy=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return i(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){zl(e,n),oy(t)},n.prototype.leaveEmphasis=function(e,n){Vl(e,n),oy(t)},n.prototype.enterBlur=function(e){Bl(e),oy(t)},n.prototype.leaveBlur=function(e){Fl(e),oy(t)},n.prototype.enterSelect=function(e){Gl(e),oy(t)},n.prototype.leaveSelect=function(e){Hl(e),oy(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(Sp))(t)},ry=function(t){function e(t,e){for(var n=0;n=0)){By.push(n);var o=rv.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function Gy(t,e){yy[t]=e}function Hy(t,e,n){var i=km("registerMap");i&&i(t,e,n)}function Wy(t){var e=km("getMap");return e&&e(t)}var Uy=function(t){var e=(t=C(t)).type;e||To("");var n=e.split(":");2!==n.length&&To("");var i=!1;"echarts"===n[0]&&(e=n[1],i=!0),t.__isBuiltIn=i,Gf.set(e,t)};function Yy(t){return null==t?0:t.length||1}function Zy(t){return t}Vy(Pm,Qg),Vy(Om,ev),Vy(Om,nv),Vy(Pm,Dv),Vy(Om,Lv),Vy(7e3,(function(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each((function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=Im(n,e))}));var r=i.getVisual("decal");r&&(i.getVisual("style").decal=Im(r,e))}}))})),Dy(jp),Ly(900,(function(t){var e=mt();t.eachSeries((function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),e.each(qp)})),Gy("default",(function(t,e){k(e=e||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Wr,i=new Zs({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,o=new qs({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new Zs({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((r=new ah({shape:{startAngle:-iv/2,endAngle:-iv/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*iv/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*iv/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n})),Ry({type:ml,event:ml,update:ml},wt),Ry({type:yl,event:yl,update:yl},wt),Ry({type:xl,event:xl,update:xl},wt),Ry({type:_l,event:_l,update:_l},wt),Ry({type:bl,event:bl,update:bl},wt),Ay("light",_v),Ay("dark",Iv);var Xy=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||Zy,this._newKeyGetter=i||Zy,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a1&&1===c)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===h&&c>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===h&&1===c)this._update&&this._update(u,l),i[s]=null;else if(h>1&&c>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(h>1)for(var d=0;d1)for(var a=0;a30}var ox,ax,sx,lx,ux,hx,cx,dx=K,px=V,fx="undefined"==typeof Int32Array?Array:Int32Array,gx=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],vx=["_approximateExtent"],mx=t("a3",function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var i=!1;ex(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,r=this._idList;if(n.getSource().sourceFormat===Xd&&!n.pure)for(var o=[],a=t;a0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(Y(r=this.getVisual(e))?r=r.slice():dx(r)&&(r=L({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,dx(e)?L(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){dx(t)?L(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?L(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;ul(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){z(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:px(this.dimensions,this._getDimInfo,this),this.hostModel)),ux(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];Z(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(st(arguments)))})},t.internalField=(ox=function(t){var e=t._invertedIndicesMap;z(e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new fx(o.categories.length);for(var s=0;s1&&(s+="__ec__"+u),i[e]=s}})),t}());function yx(t,e){return xx(t,e).dimensions}function xx(t,e){nf(t)||(t=of(t));var n=(e=e||{}).coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=mt(),o=[],a=function(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return z(e,(function(t){var e;K(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}(t,n,i,e.dimensionsCount),s=e.canOmitUnusedDimensions&&rx(a),l=i===t.dimensionsDefine,u=l?ix(t):nx(i),h=e.encodeDefine;!h&&e.encodeDefaulter&&(h=e.encodeDefaulter(t,a));for(var c=mt(h),d=new jf(a),p=0;p0&&(i.name=r+(o-1)),o++,e.set(r,o)}}(o),new tx({source:t,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function _x(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}var bx=function(){return function(t){this.coordSysDims=[],this.axisMap=mt(),this.categoryAxisMap=mt(),this.coordSysName=t}}(),Sx={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",Zo).models[0],o=t.getReferringComponents("yAxis",Zo).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),Mx(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),Mx(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",Zo).models[0];e.coordSysDims=["single"],n.set("single",r),Mx(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",Zo).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),Mx(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),Mx(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();z(o.parallelAxisIndex,(function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];n.set(l,s),Mx(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function Mx(t){return"category"===t.get("type")}function Ix(t,e,n){var i,r,o,a=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(t){return!ex(t.schema)}(e)?(r=e.schema,i=r.dimensions,o=e.store):i=e;var l,u,h,c,d=!(!t||!t.get("stack"));if(z(i,(function(t,e){X(t)&&(i[e]=t={name:t}),d&&!t.isExtraCoord&&(a||l||!t.ordinalMeta||(l=t),u||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(u=t))})),!u||a||l||(a=!0),u){h="__\0ecstackresult_"+t.id,c="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var p=u.coordDim,f=u.type,g=0;z(i,(function(t){t.coordDim===p&&g++}));var v={name:h,coordDim:p,coordDimIndex:g,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},m={name:c,coordDim:c,coordDimIndex:g+1,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(o&&(v.storeDimIndex=o.ensureCalculationDimension(c,f),m.storeDimIndex=o.ensureCalculationDimension(h,f)),r.appendCalculationDimension(v),r.appendCalculationDimension(m)):(i.push(v),i.push(m))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:c,stackResultDimension:h}}function Tx(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function Cx(t,e){return Tx(t,e)?t.getCalculationInfo("stackResultDimension"):e}function Ax(t,e,n){n=n||{};var i,r=e.getSourceManager(),o=!1;t?(o=!0,i=of(t)):o=(i=r.getSource()).sourceFormat===Xd;var a=function(t){var e=t.get("coordinateSystem"),n=new bx(e),i=Sx[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),s=function(t,e){var n,i=t.get("coordinateSystem"),r=Ip.get(i);return e&&e.coordSysDims&&(n=V(e.coordSysDims,(function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=Ky(r)}return n}))),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}(e,a),l=n.useEncodeDefaulter,u=Z(l)?l:l?U(ip,s,e):null,h=xx(i,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o}),c=function(t,e,n){var i,r;return n&&z(t,(function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)})),r||null==i||(t[i].otherDims.itemName=0),i}(h.dimensions,n.createInvertedIndices,a),d=o?null:r.getSharedDataStore(h),p=Ix(e,{schema:h,store:d}),f=new mx(h,e);f.setCalculationInfo(p);var g=null!=c&&function(t){if(t.sourceFormat===Xd){var e=function(t){for(var e=0;ee[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();aa(Dx);var Lx=0,kx=t("$",function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++Lx}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&V(i,Px);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!X(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=mt(this.categories))},t}());function Px(t){return K(t)&&null!=t.value?t.value:t+""}function Ox(t){return"interval"===t.type||"log"===t.type}function Rx(t,e,n,i){var r={},o=t[1]-t[0],a=r.interval=yo(o/e,!0);null!=n&&ai&&(a=r.interval=i);var s=r.intervalPrecision=Ex(a);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),zx(t,0,e),zx(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(r.niceTickExtent=[io(Math.ceil(t[0]/a)*a,s),io(Math.floor(t[1]/a)*a,s)],t),r}function Nx(t){var e=Math.pow(10,mo(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,io(n*e)}function Ex(t){return oo(t)+2}function zx(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function Vx(t,e){return t>=e[0]&&t<=e[1]}function Bx(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function Fx(t,e){return t*(e[1]-e[0])+e[0]}var Gx=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new kx({})),Y(i)&&(i=new kx({categories:V(i,(function(t){return K(t)?t.value:t}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return i(e,t),e.prototype.parse=function(t){return null==t?NaN:X(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return Vx(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return Bx(t=this._getTickNumber(this.parse(t)),this._extent)},e.prototype.scale=function(t){return t=Math.round(Fx(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r=0&&t=0&&t=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(Dx);Dx.registerClass(Gx);var Hx=io,Wx=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return i(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Vx(t,this._extent)},e.prototype.normalize=function(t){return Bx(t,this._extent)},e.prototype.scale=function(t){return Fx(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=Ex(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;n[0]1e4)return[];var s=o.length?o[o.length-1].value:i[1];return n[1]>s&&(t?o.push({value:Hx(s+e,r)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;ri[0]&&h0&&(o=null===o?s:Math.min(o,s))}n[i]=o}}return n}(t),n=[];return z(t,(function(t){var i,r=t.coordinateSystem.getBaseAxis(),o=r.getExtent();if("category"===r.type)i=r.getBandWidth();else if("value"===r.type||"time"===r.type){var a=r.dim+"_"+r.index,s=e[a],l=Math.abs(o[1]-o[0]),u=r.scale.getExtent(),h=Math.abs(u[1]-u[0]);i=s?l/h*s:l}else{var c=t.getData();i=Math.abs(o[1]-o[0])/c.count()}var d=no(t.get("barWidth"),i),p=no(t.get("barMaxWidth"),i),f=no(t.get("barMinWidth")||(n_(t)?.5:1),i),g=t.get("barGap"),v=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:d,barMaxWidth:p,barMinWidth:f,barGap:g,barCategoryGap:v,axisKey:qx(r),stackId:jx(t)})})),Jx(n)}function Jx(t){var e={};z(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var h=t.barMinWidth;h&&(a[s].minWidth=h);var c=t.barGap;null!=c&&(o.gap=c);var d=t.barCategoryGap;null!=d&&(o.categoryGap=d)}));var n={};return z(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var a=H(i).length;o=Math.max(35-4*a,15)+"%"}var s=no(o,r),l=no(t.gap,1),u=t.remainedWidth,h=t.autoWidthCount,c=(u-s)/(h+(h-1)*l);c=Math.max(c,0),z(i,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width)i=t.width,e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,h--;else{var i=c;e&&ei&&(i=n),i!==c&&(t.width=i,u-=i+l*i,h--)}})),c=(u-s)/(h+(h-1)*l),c=Math.max(c,0);var d,p=0;z(i,(function(t,e){t.width||(t.width=c),d=t,p+=t.width*(1+l)})),d&&(p-=d.width*l);var f=-p/2;z(i,(function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:f,width:t.width},f+=t.width*(1+l)}))})),n}function Qx(t,e){var n=Kx(t,e),i=$x(n);z(n,(function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),r=jx(t),o=i[qx(n)][r],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})}))}function t_(t){return{seriesType:t,plan:Og(),reset:function(t){if(e_(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(r.dim)),a=e.getDimensionIndex(e.mapDimension(i.dim)),s=t.get("showBackground",!0),l=e.mapDimension(r.dim),u=e.getCalculationInfo("stackResultDimension"),h=Tx(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),c=r.isHorizontal(),d=function(t,e){var n=e.model.get("startValue");return n||(n=0),e.toGlobalCoord(e.dataToCoord("log"===e.type?n>0?n:1:n))}(0,r),p=n_(t),f=t.get("barMinHeight")||0,g=u&&e.getDimensionIndex(u),v=e.getLayout("size"),m=e.getLayout("offset");return{progress:function(t,e){for(var i,r=t.count,l=p&&Zx(3*r),u=p&&s&&Zx(3*r),y=p&&Zx(r),x=n.master.getRect(),_=c?x.width:x.height,b=e.getStore(),w=0;null!=(i=t.next());){var S=b.get(h?g:o,i),M=b.get(a,i),I=d,T=void 0;h&&(T=+S-b.get(o,i));var C=void 0,A=void 0,D=void 0,L=void 0;if(c){var k=n.dataToPoint([S,M]);h&&(I=n.dataToPoint([T,M])[0]),C=I,A=k[1]+m,D=k[0]-I,L=v,Math.abs(D)0)for(var s=0;s<$c.length;++s)a[$c[s]]="{primary|"+a[$c[s]]+"}";var l=n?!1===n.inherit?n:k(n,a):a,u=id(t.value,r);if(l[u])o=l[u];else if(l.inherit){for(s=Jc.indexOf(u)-1;s>=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(Y(o)){var h=null==t.level?0:t.level>=0?t.level:o.length+t.level;o=o[h=Math.min(h,o.length-1)]}}return nd(new Date(t.value),o,r,i)}(t,e,n,this.getSetting("locale"),i)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var i=this.getSetting("useUTC"),r=function(t,e,n,i){var r=1e4,o=Jc,a=0;function s(t,e,n,r,o,a,s){for(var l=new Date(e),u=e,h=l[r]();u1&&0===u&&o.unshift({value:o[0].value-d})}}for(u=0;u=i[0]&&m<=i[1]&&c++)}var y=(i[1]-i[0])/e;if(c>1.5*y&&d>y/1.5)break;if(u.push(g),c>y||t===o[p])break}h=[]}}var x=F(V(u,(function(t){return F(t,(function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd}))})),(function(t){return t.length>0})),_=[],b=x.length-1;for(p=0;pn&&(this._approxInterval=n);var o=r_.length,a=Math.min(function(t,e,n,i){for(;n>>1;t[r][1]16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function a_(t){return(t/=2592e6)>6?6:t>3?3:t>2?2:1}function s_(t){return(t/=Yc)>12?12:t>6?6:t>3.5?4:t>2?2:1}function l_(t,e){return(t/=e?Uc:Wc)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function u_(t){return yo(t,!0)}function h_(t,e,n){var i=new Date(t);switch(td(e)){case"year":case"month":i[pd(n)](0);case"day":i[fd(n)](1);case"hour":i[gd(n)](0);case"minute":i[vd(n)](0);case"second":i[md(n)](0),i[yd(n)](0)}return i.getTime()}Dx.registerClass(i_);var c_=Dx.prototype,d_=Wx.prototype,p_=io,f_=Math.floor,g_=Math.ceil,v_=Math.pow,m_=Math.log,y_=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new Wx,e._interval=0,e}return i(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,i=e.getExtent();return V(d_.getTicks.call(this,t),(function(t){var e=t.value,r=io(v_(this.base,e));return r=e===n[0]&&this._fixMin?__(r,i[0]):r,{value:r=e===n[1]&&this._fixMax?__(r,i[1]):r}}),this)},e.prototype.setExtent=function(t,e){var n=m_(this.base);t=m_(Math.max(0,t))/n,e=m_(Math.max(0,e))/n,d_.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=c_.getExtent.call(this);e[0]=v_(t,e[0]),e[1]=v_(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=__(e[0],n[0])),this._fixMax&&(e[1]=__(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=m_(t[0])/m_(e),t[1]=m_(t[1])/m_(e),c_.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i=vo(n);for(t/n*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var r=[io(g_(e[0]/i)*i),io(f_(e[1]/i)*i)];this._interval=i,this._niceExtent=r}},e.prototype.calcNiceExtent=function(t){d_.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Vx(t=m_(t)/m_(this.base),this._extent)},e.prototype.normalize=function(t){return Bx(t=m_(t)/m_(this.base),this._extent)},e.prototype.scale=function(t){return t=Fx(t,this._extent),v_(this.base,t)},e.type="log",e}(Dx),x_=y_.prototype;function __(t,e){return p_(t,oo(e))}x_.getMinorTicks=d_.getMinorTicks,x_.getLabel=d_.getLabel,Dx.registerClass(y_);var b_=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]0&&s>0&&!l&&(a=0),a<0&&s<0&&!u&&(s=0));var c=this._determinedMin,d=this._determinedMax;return null!=c&&(a=c,l=!0),null!=d&&(s=d,u=!0),{min:a,max:s,minFixed:l,maxFixed:u,isBlank:h}},t.prototype.modifyDataMinMax=function(t,e){this[S_[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[w_[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),w_={min:"_determinedMin",max:"_determinedMax"},S_={min:"_dataMin",max:"_dataMax"};function M_(t,e,n){var i=t.rawExtentInfo;return i||(i=new b_(t,e,n),t.rawExtentInfo=i,i)}function I_(t,e){return null==e?null:it(e)?NaN:t.parse(e)}function T_(t,e){var n=t.type,i=M_(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,o=i.max,a=e.ecModel;if(a&&"time"===n){var s=Kx("bar",a),l=!1;if(z(s,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var u=$x(s),h=function(t,e,n,i){var r=n.axis.getExtent(),o=Math.abs(r[1]-r[0]),a=function(t,e){if(t&&e)return t[qx(e)]}(i,n.axis);if(void 0===a)return{min:t,max:e};var s=1/0;z(a,(function(t){s=Math.min(t.offset,s)}));var l=-1/0;z(a,(function(t){l=Math.max(t.offset+t.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,h=e-t,c=h/(1-(s+l)/o)-h;return{min:t-=c*(s/u),max:e+=c*(l/u)}}(r,o,e,u);r=h.min,o=h.max}}return{extent:[r,o],fixMin:i.minFixed,fixMax:i.maxFixed}}function C_(t,e){var n=e,i=T_(t,n),r=i.extent,o=n.get("splitNumber");t instanceof y_&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),l="interval"===a||"time"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function A_(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Gx({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new i_({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(Dx.getClass(e)||Wx)}}function D_(t){var e,n,i=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(n=i,function(e,i){return t.scale.getFormattedLabel(e,i,n)}):X(i)?function(e){return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}}(i):Z(i)?(e=i,function(n,i){return null!=r&&(i=n.value-r),e(L_(t,n),i,null!=n.level?{level:n.level}:null)}):function(e){return t.scale.getLabel(e)}}function L_(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function k_(t,e){var n=e*Math.PI/180,i=t.width,r=t.height,o=i*Math.abs(Math.cos(n))+Math.abs(r*Math.sin(n)),a=i*Math.abs(Math.sin(n))+Math.abs(r*Math.cos(n));return new Be(t.x,t.y,o,a)}function P_(t){var e=t.get("interval");return null==e?"auto":e}function O_(t){return"category"===t.type&&0===P_(t.getLabelModel())}function R_(t,e){var n={};return z(t.mapDimensionsAll(e),(function(e){n[Cx(t,e)]=!0})),H(n)}var N_=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}();function E_(t){return Ax(null,t)}var z_=t("ab",{isDimensionStacked:Tx,enableDataStack:Ix,getStackedDimension:Cx});function V_(t,e){var n=e;e instanceof kc||(n=new kc(e));var i=A_(n);return i.setExtent(t[0],t[1]),C_(i,n),i}function B_(t){N(t,N_)}const F_=Object.freeze(Object.defineProperty({__proto__:null,createDimensions:yx,createList:E_,createScale:V_,createSymbol:jv,createTextStyle:function(t,e){return uc(t,null,null,"normal"!==(e=e||{}).state)},dataStack:z_,enableHoverEmphasis:Kl,getECData:ll,getLayoutRect:Nd,mixinAxisModelCommonMethods:B_},Symbol.toStringTag,{value:"Module"}));var G_=[],H_={registerPreprocessor:Dy,registerProcessor:Ly,registerPostInit:ky,registerPostUpdate:Py,registerUpdateLifecycle:Oy,registerAction:Ry,registerCoordinateSystem:Ny,registerLayout:zy,registerVisual:Vy,registerTransform:Uy,registerLoading:Gy,registerMap:Hy,registerImpl:function(t,e){Lm[t]=e},PRIORITY:Rm,ComponentModel:Hd,ComponentView:Pg,SeriesModel:Mg,ChartView:Eg,registerComponentModel:function(t){Hd.registerClass(t)},registerComponentView:function(t){Pg.registerClass(t)},registerSeriesModel:function(t){Mg.registerClass(t)},registerChartView:function(t){Eg.registerClass(t)},registerSubTypeDefaulter:function(t,e){Hd.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){qr(t,e)}};function W_(t){Y(t)?z(t,(function(t){W_(t)})):O(G_,t)>=0||(G_.push(t),Z(t)&&(t={install:t}),t.install(H_))}function U_(t,e){return Math.abs(t-e)<1e-8}function Y_(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var o=1;on&&(t=r,n=a)}if(t)return function(t){for(var e=0,n=0,i=0,r=t.length,o=t[r-1][0],a=t[r-1][1],s=0;s>1^-(1&s),l=l>>1^-(1&l),r=s+=r,o=l+=o,i.push([s/n,l/n])}return i}function nb(t,e){return V(F((t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;return null==n&&(n=1024),z(e.features,(function(t){var e=t.geometry,i=e.encodeOffsets,r=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=eb(r,i,n);break;case"Polygon":case"MultiLineString":tb(r,i,n);break;case"MultiPolygon":z(r,(function(t,e){return tb(t,i[e],n)}))}})),e.UTF8Encoding=!1,e}(t)).features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var o=i.coordinates;r.push(new K_(o[0],o.slice(1)));break;case"MultiPolygon":z(i.coordinates,(function(t){t[0]&&r.push(new K_(t[0],t.slice(1)))}));break;case"LineString":r.push(new $_([i.coordinates]));break;case"MultiLineString":r.push(new $_(i.coordinates))}var a=new J_(n[e||"name"],r,n.cp);return a.properties=n,a}))}const ib=Object.freeze(Object.defineProperty({__proto__:null,MAX_SAFE_INTEGER:ho,asc:ro,getPercentWithPrecision:function(t,e,n){return t[e]&&lo(t,n)[e]||0},getPixelPrecision:so,getPrecision:oo,getPrecisionSafe:ao,isNumeric:wo,isRadianAroundZero:po,linearMap:eo,nice:yo,numericToNumber:bo,parseDate:go,quantile:xo,quantity:vo,quantityExponent:mo,reformIntervals:_o,remRadian:co,round:io},Symbol.toStringTag,{value:"Module"})),rb=Object.freeze(Object.defineProperty({__proto__:null,format:nd,parse:go},Symbol.toStringTag,{value:"Module"})),ob=Object.freeze(Object.defineProperty({__proto__:null,Arc:ah,BezierCurve:rh,BoundingRect:Be,Circle:Cu,CompoundPath:sh,Ellipse:Du,Group:Wr,Image:Bs,IncrementalDisplayable:mh,Line:th,LinearGradient:uh,Polygon:qu,Polyline:$u,RadialGradient:hh,Rect:Zs,Ring:Zu,Sector:Uu,Text:qs,clipPointsByRect:jh,clipRectByRect:qh,createIcon:Kh,extendPath:Oh,extendShape:kh,getShapeClass:Nh,getTransform:Wh,initProps:wh,makeImage:zh,makePath:Eh,mergePath:Bh,registerShape:Rh,resizePath:Fh,updateProps:bh},Symbol.toStringTag,{value:"Module"})),ab=Object.freeze(Object.defineProperty({__proto__:null,addCommas:xd,capitalFirst:function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},encodeHTML:oe,formatTime:Cd,formatTpl:Id,getTextRect:function(t,e,n,i,r,o,a,s){return new qs({style:{text:t,font:e,align:n,verticalAlign:i,padding:r,rich:o,overflow:a?"truncate":null,lineHeight:s}}).getBoundingRect()},getTooltipMarker:Td,normalizeCssArray:bd,toCamelCase:_d,truncateText:function(t,e,n,i,r){var o={};return va(o,t,e,n,i,r),o.text}},Symbol.toStringTag,{value:"Module"})),sb=Object.freeze(Object.defineProperty({__proto__:null,bind:W,clone:C,curry:U,defaults:k,each:z,extend:L,filter:F,indexOf:O,inherits:R,isArray:Y,isFunction:Z,isObject:K,isString:X,map:V,merge:A,reduce:B},Symbol.toStringTag,{value:"Module"}));var lb=Ho();function ub(t,e){var n=V(e,(function(e){return t.scale.parse(e)}));return"time"===t.type&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function hb(t){var e=t.getLabelModel().get("customValues");if(e){var n=D_(t),i=t.scale.getExtent();return{labels:V(F(ub(t,e),(function(t){return t>=i[0]&&t<=i[1]})),(function(e){var i={value:e};return{formattedLabel:n(i),rawLabel:t.scale.getLabel(i),tickValue:e}}))}}return"category"===t.type?function(t){var e=t.getLabelModel(),n=db(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=D_(t);return{labels:V(e,(function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}(t)}function cb(t,e){var n=t.getTickModel().get("customValues");if(n){var i=t.scale.getExtent();return{ticks:F(ub(t,n),(function(t){return t>=i[0]&&t<=i[1]}))}}return"category"===t.type?function(t,e){var n,i,r=pb(t,"ticks"),o=P_(e),a=fb(r,o);if(a)return a;if(e.get("show")&&!t.scale.isBlank()||(n=[]),Z(o))n=mb(t,o,!0);else if("auto"===o){var s=db(t,t.getLabelModel());i=s.labelCategoryInterval,n=V(s.labels,(function(t){return t.tickValue}))}else n=vb(t,i=o,!0);return gb(r,o,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:V(t.scale.getTicks(),(function(t){return t.value}))}}function db(t,e){var n,i,r=pb(t,"labels"),o=P_(e),a=fb(r,o);return a||(Z(o)?n=mb(t,o):(i="auto"===o?function(t){var e=lb(t).autoInterval;return null!=e?e:lb(t).autoInterval=t.calculateCategoryInterval()}(t):o,n=vb(t,i)),gb(r,o,{labels:n,labelCategoryInterval:i}))}function pb(t,e){return lb(t)[e]||(lb(t)[e]=[])}function fb(t,e){for(var n=0;n1&&h/l>2&&(u=Math.round(Math.ceil(u/l)*l));var c=O_(t),d=a.get("showMinLabel")||c,p=a.get("showMaxLabel")||c;d&&u!==o[0]&&g(o[0]);for(var f=u;f<=o[1];f+=l)g(f);function g(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return p&&f-l!==o[1]&&g(o[1]),s}function mb(t,e,n){var i=t.scale,r=D_(t),o=[];return z(i.getTicks(),(function(t){var a=i.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})})),o}var yb=[0,1],xb=t("V",function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return so(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&_b(n=n.slice(),i.count()),eo(t,yb,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&_b(n=n.slice(),i.count());var r=eo(t,n,yb,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=V(cb(this,e).ticks,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this);return function(t,e,n,i){var r=e.length;if(t.onBand&&!n&&r){var o,a,s=t.getExtent();if(1===r)e[0].coord=s[0],o=e[1]={coord:s[1],tickValue:e[0].tickValue};else{var l=e[r-1].tickValue-e[0].tickValue,u=(e[r-1].coord-e[0].coord)/l;z(e,(function(t){t.coord-=u/2}));var h=t.scale.getExtent();a=1+h[1]-e[r-1].tickValue,o={coord:e[r-1].coord+u*a,tickValue:h[1]+1},e.push(o)}var c=s[0]>s[1];d(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift()),i&&d(s[0],e[0].coord)&&e.unshift({coord:s[0]}),d(s[1],o.coord)&&(i?o.coord=s[1]:e.pop()),i&&d(o.coord,s[1])&&e.push({coord:s[1]})}function d(t,e){return t=io(t),e=io(e),c?t>e:t0&&t<100||(t=5),V(this.scale.getMinorTicks(t),(function(t){return V(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},t.prototype.getViewLabels=function(){return hb(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=D_(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,o=r.getExtent(),a=r.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),h=Math.abs(u*Math.cos(i)),c=Math.abs(u*Math.sin(i)),d=0,p=0;l<=o[1];l+=s){var f,g,v=Cr(n({value:l}),e.font,"center","top");f=1.3*v.width,g=1.3*v.height,d=Math.max(d,f,7),p=Math.max(p,g,7)}var m=d/h,y=p/c;isNaN(m)&&(m=1/0),isNaN(y)&&(y=1/0);var x=Math.max(0,Math.floor(Math.min(m,y))),_=lb(t.model),b=t.getExtent(),w=_.lastAutoInterval,S=_.lastTickCount;return null!=w&&null!=S&&Math.abs(w-x)<=1&&Math.abs(S-a)<=1&&w>x&&_.axisExtent0===b[0]&&_.axisExtent1===b[1]?x=w:(_.lastTickCount=a,_.lastAutoInterval=x,_.axisExtent0=b[0],_.axisExtent1=b[1]),x}(this)},t}());function _b(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}var bb=2*Math.PI,wb=fs.CMD,Sb=["top","right","bottom","left"];function Mb(t,e,n,i,r){var o=n.width,a=n.height;switch(t){case"top":i.set(n.x+o/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+o/2,n.y+a+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+a/2),r.set(-1,0);break;case"right":i.set(n.x+o+e,n.y+a/2),r.set(1,0)}}function Ib(t,e,n,i,r,o,a,s,l){a-=t,s-=e;var u=Math.sqrt(a*a+s*s),h=(a/=u)*n+t,c=(s/=u)*n+e;if(Math.abs(i-r)%bb<1e-4)return l[0]=h,l[1]=c,u-n;if(o){var d=i;i=xs(r),r=xs(d)}else i=xs(i),r=xs(r);i>r&&(r+=bb);var p=Math.atan2(s,a);if(p<0&&(p+=bb),p>=i&&p<=r||p+bb>=i&&p+bb<=r)return l[0]=h,l[1]=c,u-n;var f=n*Math.cos(i)+t,g=n*Math.sin(i)+e,v=n*Math.cos(r)+t,m=n*Math.sin(r)+e,y=(f-a)*(f-a)+(g-s)*(g-s),x=(v-a)*(v-a)+(m-s)*(m-s);return y0){e=e/180*Math.PI,kb.fromArray(t[0]),Pb.fromArray(t[1]),Ob.fromArray(t[2]),Le.sub(Rb,kb,Pb),Le.sub(Nb,Ob,Pb);var n=Rb.len(),i=Nb.len();if(!(n<.001||i<.001)){Rb.scale(1/n),Nb.scale(1/i);var r=Rb.dot(Nb);if(Math.cos(e)1&&Le.copy(Vb,Ob),Vb.toArray(t[1])}}}}function Fb(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,kb.fromArray(t[0]),Pb.fromArray(t[1]),Ob.fromArray(t[2]),Le.sub(Rb,Pb,kb),Le.sub(Nb,Ob,Pb);var i=Rb.len(),r=Nb.len();if(!(i<.001||r<.001)&&(Rb.scale(1/i),Nb.scale(1/r),Rb.dot(e)=a)Le.copy(Vb,Ob);else{Vb.scaleAndAdd(Nb,o/Math.tan(Math.PI/2-s));var l=Ob.x!==Pb.x?(Vb.x-Pb.x)/(Ob.x-Pb.x):(Vb.y-Pb.y)/(Ob.y-Pb.y);if(isNaN(l))return;l<0?Le.copy(Vb,Pb):l>1&&Le.copy(Vb,Ob)}Vb.toArray(t[1])}}}function Gb(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function Hb(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=Bt(i[0],i[1]),o=Bt(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=Ht([],i[1],i[0],a/r),l=Ht([],i[1],i[2],a/o),u=Ht([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var h=1;h0){x(i*n,0,a);var r=i+t;r<0&&_(-r*n,1)}else _(-t*n,1)}}function x(n,i,r){0!==n&&(u=!0);for(var o=i;o0)for(l=0;l0;l--)x(-o[l-1]*c,l,a)}}function b(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i0?x(n,0,i+1):x(-n,a-i-1,a),(t-=n)<=0)return}}function Xb(t,e,n,i){return Zb(t,"y","height",e,n)}function jb(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new Be(0,0,0,0);function i(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r=0&&n.attr(p.oldLayoutSelect),O(u,"emphasis")>=0&&n.attr(p.oldLayoutEmphasis)),bh(n,s,e,a)}else if(n.attr(s),!vc(n).valueAnimation){var h=ot(n.style.opacity,1);n.style.opacity=0,wh(n,{style:{opacity:h}},e,a)}if(p.oldLayout=s,n.states.select){var c=p.oldLayoutSelect={};ew(c,s,nw),ew(c,n.states.select,nw)}if(n.states.emphasis){var d=p.oldLayoutEmphasis={};ew(d,s,nw),ew(d,n.states.emphasis,nw)}yc(n,a,l,e,e)}if(i&&!i.ignore&&!i.invisible){r=(p=tw(i)).oldLayout;var p,f={points:i.shape.points};r?(i.attr({shape:r}),bh(i,{shape:f},e)):(i.setShape(f),i.style.strokePercent=0,wh(i,{style:{strokePercent:1}},e)),p.oldLayout=f}},t}(),rw=Ho();function ow(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){var i=rw(e).labelManager;i||(i=rw(e).labelManager=new iw),i.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,n){var i=rw(e).labelManager;n.updatedSeries.forEach((function(t){i.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()}))}const aw=Object.freeze(Object.defineProperty({__proto__:null,Axis:xb,ChartView:Eg,ComponentModel:Hd,ComponentView:Pg,List:mx,Model:kc,PRIORITY:Rm,SeriesModel:Mg,color:di,connect:function(t){if(Y(t)){var e=t;t=null,z(e,(function(e){null!=e.group&&(t=e.group)})),t=t||"g_"+wy++,z(e,(function(e){e.group=t}))}return _y[t]=!0,t},dataTool:{},dependencies:{zrender:"5.6.1"},disConnect:Ty,disconnect:Iy,dispose:function(t){X(t)?t=xy[t]:t instanceof uy||(t=Cy(t)),t instanceof uy&&!t.isDisposed()&&t.dispose()},env:o,extendChartView:function(t){var e=Eg.extend(t);return Eg.registerClass(e),e},extendComponentModel:function(t){var e=Hd.extend(t);return Hd.registerClass(e),e},extendComponentView:function(t){var e=Pg.extend(t);return Pg.registerClass(e),e},extendSeriesModel:function(t){var e=Mg.extend(t);return Mg.registerClass(e),e},format:ab,getCoordinateSystemDimensions:Ey,getInstanceByDom:Cy,getInstanceById:function(t){return xy[t]},getMap:Wy,graphic:ob,helper:F_,init:My,innerDrawElementOnCanvas:_m,matrix:De,number:ib,parseGeoJSON:nb,parseGeoJson:nb,registerAction:Ry,registerCoordinateSystem:Ny,registerLayout:zy,registerLoading:Gy,registerLocale:Gc,registerMap:Hy,registerPostInit:ky,registerPostUpdate:Py,registerPreprocessor:Dy,registerProcessor:Ly,registerTheme:Ay,registerTransform:Uy,registerUpdateLifecycle:Oy,registerVisual:Vy,setCanvasCreator:function(t){d({createCanvas:t})},setPlatformAPI:d,throttle:Yg,time:rb,use:W_,util:sb,vector:Zt,version:"5.6.0",zrUtil:Mt,zrender:Jr},Symbol.toStringTag,{value:"Module"}));t("e",aw);var sw=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return i(e,t),e.prototype.getInitialData=function(t){return Ax(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new Wr,n=jv("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var i=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),o="none"===i?"circle":i,a=.8*t.itemHeight,s=jv(o,(t.itemWidth-a)/2,(t.itemHeight-a)/2,a,a,t.itemStyle.fill);e.add(s),s.setStyle(t.itemStyle);var l="inherit"===t.iconRotate?r:t.iconRotate||0;return s.rotation=l*Math.PI/180,s.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(Mg);function lw(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=bf(t,e,n[0]);return null!=r?r+"":null}if(i){for(var o=[],a=0;a=0&&i.push(e[o])}return i.join(" ")}var hw=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return i(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=jv(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=cw,this._symbolType=t,this.add(o)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){zl(this.childAt(0))},e.prototype.downplay=function(){Vl(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",a=t.hostModel,s=e.getSymbolSize(t,n),l=o!==this._symbolType,u=r&&r.disableAnimation;if(l){var h=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,s,h)}else{(d=this.childAt(0)).silent=!1;var c={scaleX:s[0]/2,scaleY:s[1]/2};u?d.attr(c):bh(d,c,a,n),Ch(d)}if(this._updateCommon(t,n,s,i,r),l){var d=this.childAt(0);u||(c={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}},d.scaleX=d.scaleY=0,d.style.opacity=0,wh(d,c,a,n))}u&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,r){var o,a,s,l,u,h,c,d,p,f=this.childAt(0),g=t.hostModel;if(i&&(o=i.emphasisItemStyle,a=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,u=i.blurScope,c=i.labelStatesModels,d=i.hoverScale,p=i.cursorStyle,h=i.emphasisDisabled),!i||t.hasItemOption){var v=i&&i.itemModel?i.itemModel:t.getItemModel(e),m=v.getModel("emphasis");o=m.getModel("itemStyle").getItemStyle(),s=v.getModel(["select","itemStyle"]).getItemStyle(),a=v.getModel(["blur","itemStyle"]).getItemStyle(),l=m.get("focus"),u=m.get("blurScope"),h=m.get("disabled"),c=lc(v),d=m.getShallow("scale"),p=v.getShallow("cursor")}var y=t.getItemVisual(e,"symbolRotate");f.attr("rotation",(y||0)*Math.PI/180||0);var x=Kv(t.getItemVisual(e,"symbolOffset"),n);x&&(f.x=x[0],f.y=x[1]),p&&f.attr("cursor",p);var _=t.getItemVisual(e,"style"),b=_.fill;if(f instanceof Bs){var w=f.style;f.useStyle(L({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},_))}else f.__isEmptyBrush?f.useStyle(L({},_)):f.useStyle(_),f.style.decal=null,f.setColor(b,r&&r.symbolInnerColor),f.style.strokeNoScale=!0;var S=t.getItemVisual(e,"liftZ"),M=this._z2;null!=S?null==M&&(this._z2=f.z2,f.z2+=S):null!=M&&(f.z2=M,this._z2=null);var I=r&&r.useNameLabel;sc(f,c,{labelFetcher:g,labelDataIndex:e,defaultText:function(e){return I?t.getName(e):lw(t,e)},inheritColor:b,defaultOpacity:_.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var T=f.ensureState("emphasis");T.style=o,f.ensureState("select").style=s,f.ensureState("blur").style=a;var C=null==d||!0===d?Math.max(1.1,3/this._sizeY):isFinite(d)&&d>0?+d:1;T.scaleX=this._sizeX*C,T.scaleY=this._sizeY*C,this.setSymbolScale(1),$l(this,l,u,h)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=ll(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&Mh(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();Mh(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return qv(t.getItemVisual(e,"symbolSize"))},e}(Wr);function cw(t,e){this.parent.drift(t,e)}function dw(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function pw(t){return null==t||K(t)||(t={isIgnore:t}),t||{}}function fw(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:lc(e),cursorStyle:e.get("cursor")}}var gw=function(){function t(t){this.group=new Wr,this._SymbolCtor=t||hw}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=pw(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=fw(t),l={disableAnimation:a},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add((function(i){var r=u(i);if(dw(t,r,i,e)){var a=new o(t,i,s,l);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}})).update((function(h,c){var d=r.getItemGraphicEl(c),p=u(h);if(dw(t,p,h,e)){var f=t.getItemVisual(h,"symbol")||"circle",g=d&&d.getSymbolType&&d.getSymbolType();if(!d||g&&g!==f)n.remove(d),(d=new o(t,h,s,l)).setPosition(p);else{d.updateData(t,h,s,l);var v={x:p[0],y:p[1]};a?d.attr(v):bh(d,v,i)}n.add(d),t.setItemGraphicEl(h,d)}else n.remove(d)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),i)})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=fw(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=pw(n);for(var r=t.start;r0?n=i[0]:i[1]<0&&(n=i[1]),n}(r,n),a=i.dim,s=r.dim,l=e.mapDimension(s),u=e.mapDimension(a),h="x"===s||"radius"===s?1:0,c=V(t.dimensions,(function(t){return e.mapDimension(t)})),d=!1,p=e.getCalculationInfo("stackResultDimension");return Tx(e,c[0])&&(d=!0,c[0]=p),Tx(e,c[1])&&(d=!0,c[1]=p),{dataDimsForPoint:c,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!d,valueDim:l,baseDim:u,baseDataOffset:h,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function mw(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}var yw=Math.min,xw=Math.max;function _w(t,e){return isNaN(t)||isNaN(e)}function bw(t,e,n,i,r,o,a,s,l){for(var u,h,c,d,p,f,g=n,v=0;v=r||g<0)break;if(_w(m,y)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](m,y),c=m,d=y;else{var x=m-u,_=y-h;if(x*x+_*_<.5){g+=o;continue}if(a>0){for(var b=g+o,w=e[2*b],S=e[2*b+1];w===m&&S===y&&v=i||_w(w,S))p=m,f=y;else{T=w-u,C=S-h;var L=m-u,k=w-m,P=y-h,O=S-y,R=void 0,N=void 0;if("x"===s){var E=T>0?1:-1;p=m-E*(R=Math.abs(L))*a,f=y,A=m+E*(N=Math.abs(k))*a,D=y}else if("y"===s){var z=C>0?1:-1;p=m,f=y-z*(R=Math.abs(P))*a,A=m,D=y+z*(N=Math.abs(O))*a}else R=Math.sqrt(L*L+P*P),p=m-T*a*(1-(I=(N=Math.sqrt(k*k+O*O))/(N+R))),f=y-C*a*(1-I),D=y+C*a*I,A=yw(A=m+T*a*I,xw(w,m)),D=yw(D,xw(S,y)),A=xw(A,yw(w,m)),f=y-(C=(D=xw(D,yw(S,y)))-y)*R/N,p=yw(p=m-(T=A-m)*R/N,xw(u,m)),f=yw(f,xw(h,y)),A=m+(T=m-(p=xw(p,yw(u,m))))*N/R,D=y+(C=y-(f=xw(f,yw(h,y))))*N/R}t.bezierCurveTo(c,d,p,f,m,y),c=A,d=D}else t.lineTo(m,y)}u=m,h=y,g+=o}return v}var ww=function(){this.smooth=0,this.smoothConstraint=!0},Sw=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return i(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new ww},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&_w(n[2*r-2],n[2*r-1]);r--);for(;i=0){var v=a?(h-i)*g+i:(u-n)*g+n;return a?[t,v]:[v,t]}n=u,i=h;break;case o.C:u=r[l++],h=r[l++],c=r[l++],d=r[l++],p=r[l++],f=r[l++];var m=a?Mn(n,u,c,p,t,s):Mn(i,h,d,f,t,s);if(m>0)for(var y=0;y=0)return v=a?wn(i,h,d,f,x):wn(n,u,c,p,x),a?[t,v]:[v,t]}n=p,i=f}}},e}(Rs),Mw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(ww),Iw=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return i(e,t),e.prototype.getDefaultShape=function(){return new Mw},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&_w(n[2*o-2],n[2*o-1]);o--);for(;r=0;a--){var s=t.getDimensionInfo(i[a].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){o=i[a];break}}if(o){var l=e.getAxis(r),u=V(o.stops,(function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}})),h=u.length,c=o.outerColors.slice();h&&u[0].coord>u[h-1].coord&&(u.reverse(),c.reverse());var d=function(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord;return{coord:n,color:ri((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;se){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}}return r}(u,"x"===r?n.getWidth():n.getHeight()),p=d.length;if(!p&&h)return u[0].coord<0?c[1]?c[1]:u[h-1].color:c[0]?c[0]:u[0].color;var f=d[0].coord-10,g=d[p-1].coord+10,v=g-f;if(v<.001)return"transparent";z(d,(function(t){t.offset=(t.coord-f)/v})),d.push({offset:p?d[p-1].offset:.5,color:c[1]||"transparent"}),d.unshift({offset:p?d[0].offset:.5,color:c[0]||"transparent"});var m=new uh(0,0,0,0,d,!0);return m[r]=f,m[r+"2"]=g,m}}}function Ew(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&(!r||!function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;ai)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return z(o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function zw(t,e){return[t[2*e],t[2*e+1]]}function Vw(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e0&&"bolder"===t.get(["emphasis","lineStyle","width"])&&(d.getState("emphasis").style.lineWidth=+d.style.lineWidth+1),ll(d).seriesIndex=t.seriesIndex,$l(d,D,L,P);var O=Ow(t.get("smooth")),R=t.get("smoothMonotone");if(d.setShape({smooth:O,smoothMonotone:R,connectNulls:b}),p){var N=o.getCalculationInfo("stackedOnSeries"),E=0;p.useStyle(k(s.getAreaStyle(),{fill:T,opacity:.7,lineJoin:"bevel",decal:o.getVisual("style").decal})),N&&(E=Ow(N.get("smooth"))),p.setShape({smooth:O,stackedOnSmooth:E,smoothMonotone:R,connectNulls:b}),eu(p,t,"areaStyle"),ll(p).seriesIndex=t.seriesIndex,$l(p,D,L,P)}var z=this._changePolyState;o.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=z)})),this._polyline.onHoverStateChange=z,this._data=o,this._coordSys=i,this._stackedOnPoints=x,this._points=l,this._step=I,this._valueOrigin=m,t.get("triggerLineEvent")&&(this.packEventData(t,d),p&&this.packEventData(t,p))},e.prototype.packEventData=function(t,e){ll(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=Go(r,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var h=t.get("zlevel")||0,c=t.get("z")||0;(s=new hw(r,o)).x=l,s.y=u,s.setZ(h,c);var d=s.getSymbolPath().getTextContent();d&&(d.zlevel=h,d.z=c,d.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Eg.prototype.highlight.call(this,t,e,n,i)},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=Go(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else Eg.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;Pl(this._polyline,t),e&&Pl(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new Sw({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new Iw({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");Z(l)&&(l=l(null));var u=s.get("animationDelay")||0,h=Z(u)?u(null):u;t.eachItemGraphicEl((function(t,o){var s=t;if(s){var c=[t.x,t.y],d=void 0,p=void 0,f=void 0;if(n)if(r){var g=n,v=e.pointToCoord(c);i?(d=g.startAngle,p=g.endAngle,f=-v[1]/180*Math.PI):(d=g.r0,p=g.r,f=v[0])}else{var m=n;i?(d=m.x,p=m.x+m.width,f=t.x):(d=m.y+m.height,p=m.y,f=t.y)}var y=p===d?0:(f-d)/(p-d);a&&(y=1-y);var x=Z(u)?u(o):l*y+h,_=s.getSymbolPath(),b=_.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:x}),b&&b.animateFrom({style:{opacity:0}},{duration:300,delay:x}),_.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(Vw(t)){var r=t.getData(),o=this._polyline,a=r.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new qs({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(t){for(var e,n,i=t.length/2;i>0&&(e=t[2*i-2],n=t[2*i-1],isNaN(e)||isNaN(n));i--);return i-1}(a);l>=0&&(sc(o,lc(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?uw(r,n):lw(r,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,o=i?r?"right":"left":"center",a=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}(i,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),h=n.hostModel,c=h.get("connectNulls"),d=o.get("precision"),p=o.get("distance")||0,f=a.getBaseAxis(),g=f.isHorizontal(),v=f.inverse,m=e.shape,y=v?g?m.x:m.y+m.height:g?m.x+m.width:m.y,x=(g?p:0)*(v?-1:1),_=(g?0:-p)*(v?-1:1),b=g?"x":"y",w=function(t,e,n){for(var i,r,o=t.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u=e||i>=e&&r<=e){l=u;break}s=u,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}(u,y,b),S=w.range,M=S[1]-S[0],I=void 0;if(M>=1){if(M>1&&!c){var T=zw(u,S[0]);s.attr({x:T[0]+x,y:T[1]+_}),r&&(I=h.getRawValue(S[0]))}else{(T=l.getPointOn(y,b))&&s.attr({x:T[0]+x,y:T[1]+_});var C=h.getRawValue(S[0]),A=h.getRawValue(S[1]);r&&(I=$o(n,d,C,A,w.t))}i.lastFrameIndex=S[0]}else{var D=1===t||i.lastFrameIndex>0?S[0]:0;T=zw(u,D),r&&(I=h.getRawValue(D)),s.attr({x:T[0]+x,y:T[1]+_})}if(r){var L=vc(s);"function"==typeof L.setLabelText&&L.setLabelText(I)}}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,h=function(t,e,n,i,r,o,a){for(var s=function(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}(t,e),l=[],u=[],h=[],c=[],d=[],p=[],f=[],g=vw(r,e,a),v=t.getLayout("points")||[],m=e.getLayout("points")||[],y=0;y3e3||l&&Pw(d,f)>3e3)return s.stopAnimation(),s.setShape({points:p}),void(l&&(l.stopAnimation(),l.setShape({points:p,stackedOnPoints:f})));s.shape.__points=h.current,s.shape.points=c;var g={shape:{points:p}};h.current!==c&&(g.shape.__points=h.next),s.stopAnimation(),bh(s,g,u),l&&(l.setShape({points:c,stackedOnPoints:d}),l.stopAnimation(),bh(l,{shape:{stackedOnPoints:f}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var v=[],m=h.status,y=0;ye&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n10&&"cartesian2d"===o.type&&r){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),h=n.getDevicePixelRatio(),c=Math.abs(u[1]-u[0])*(h||1),d=Math.round(a/c);if(isFinite(d)&&d>1){"lttb"===r?t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/d)):"minmax"===r&&t.setData(i.minmaxDownSample(i.mapDimension(l.dim),1/d));var p=void 0;X(r)?p=Hw[r]:Z(r)&&(p=r),p&&t.setData(i.downSample(i.mapDimension(l.dim),1/d,p,Ww))}}}}}function Yw(t){t.registerChartView(Fw),t.registerSeriesModel(sw),t.registerLayout(Gw("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,Uw("line"))}var Zw=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.getInitialData=function(t,e){return Ax(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,n){var i=this.coordinateSystem;if(i&&i.clampData){var r=i.clampData(t),o=i.dataToPoint(r);if(n)z(i.getAxes(),(function(t,n){if("category"===t.type&&null!=e){var i=t.getTicksCoords(),a=t.getTickModel().get("alignWithLabel"),s=r[n],l="x1"===e[n]||"y1"===e[n];if(l&&!a&&(s+=1),i.length<2)return;if(2===i.length)return void(o[n]=t.toGlobalCoord(t.getExtent()[l?1:0]));for(var u=void 0,h=void 0,c=1,d=0;ds){h=(p+u)/2;break}1===d&&(c=f-i[0].tickValue)}null==h&&(u?u&&(h=i[i.length-1].coord):h=i[0].coord),o[n]=t.toGlobalCoord(h)}}));else{var a=this.getData(),s=a.getLayout("offset"),l=a.getLayout("size"),u=i.getBaseAxis().isHorizontal()?0:1;o[u]+=s+l/2}return o}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(Mg);Mg.registerClass(Zw);var Xw=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.getInitialData=function(){return Ax(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=Rc(Zw.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(Zw),jw=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},qw=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return i(e,t),e.prototype.getDefaultShape=function(){return new jw},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,h=e.clockwise,c=2*Math.PI,d=h?u-lo)return!0;o=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){Th(e,t,ll(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(Eg),nS={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=Qw(e.x,t.x),s=tS(e.x+e.width,r),l=Qw(e.y,t.y),u=tS(e.y+e.height,o),h=sr?s:a,e.y=c&&l>o?u:l,e.width=h?0:s-a,e.height=c?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),h||c},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=tS(e.r,t.r),o=Qw(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;return n<0&&(i=e.r,e.r=e.r0,e.r0=i),a}},iS={cartesian2d:function(t,e,n,i,r,o,a,s,l){var u=new Zs({shape:L({},i),z2:1});return u.__dataIndex=n,u.name="item",o&&(u.shape[r?"height":"width"]=0),u},polar:function(t,e,n,i,r,o,a,s,l){var u=!r&&l?qw:Uu,h=new u({shape:i,z2:1});h.name="item";var c,d,p=hS(r);if(h.calculateTextPosition=(c=p,d=({isRoundCap:u===qw}||{}).isRoundCap,function(t,e,n){var i=e.position;if(!i||i instanceof Array)return Pr(t,e,n);var r=c(i),o=null!=e.distance?e.distance:5,a=this.shape,s=a.cx,l=a.cy,u=a.r,h=a.r0,p=(u+h)/2,f=a.startAngle,g=a.endAngle,v=(f+g)/2,m=d?Math.abs(u-h)/2:0,y=Math.cos,x=Math.sin,_=s+u*y(f),b=l+u*x(f),w="left",S="top";switch(r){case"startArc":_=s+(h-o)*y(v),b=l+(h-o)*x(v),w="center",S="top";break;case"insideStartArc":_=s+(h+o)*y(v),b=l+(h+o)*x(v),w="center",S="bottom";break;case"startAngle":_=s+p*y(f)+Kw(f,o+m,!1),b=l+p*x(f)+$w(f,o+m,!1),w="right",S="middle";break;case"insideStartAngle":_=s+p*y(f)+Kw(f,-o+m,!1),b=l+p*x(f)+$w(f,-o+m,!1),w="left",S="middle";break;case"middle":_=s+p*y(v),b=l+p*x(v),w="center",S="middle";break;case"endArc":_=s+(u+o)*y(v),b=l+(u+o)*x(v),w="center",S="bottom";break;case"insideEndArc":_=s+(u-o)*y(v),b=l+(u-o)*x(v),w="center",S="top";break;case"endAngle":_=s+p*y(g)+Kw(g,o+m,!0),b=l+p*x(g)+$w(g,o+m,!0),w="left",S="middle";break;case"insideEndAngle":_=s+p*y(g)+Kw(g,-o+m,!0),b=l+p*x(g)+$w(g,-o+m,!0),w="right",S="middle";break;default:return Pr(t,e,n)}return(t=t||{}).x=_,t.y=b,t.align=w,t.verticalAlign=S,t}),o){var f=r?"r":"endAngle",g={};h.shape[f]=r?i.r0:i.startAngle,g[f]=i[f],(s?bh:wh)(h,{shape:g},o)}return h}};function rS(t,e,n,i,r,o,a,s){var l,u;o?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(a?bh:wh)(n,{shape:l},e,r,null),(a?bh:wh)(n,{shape:u},e?t.baseAxis.model:null,r)}function oS(t,e){for(var n=0;n0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function hS(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function cS(t,e,n,i,r,o,a,s){var l=e.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var u=t.shape;L(u,Jw(i.getModel("itemStyle"),u,!0)),t.setShape(u)}}else{var h=i.get(["itemStyle","borderRadius"])||0;t.setShape("r",h)}t.useStyle(l);var c=i.getShallow("cursor");c&&t.attr("cursor",c);var d=s?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?r.height>=0?"bottom":"top":r.width>=0?"right":"left",p=lc(i);sc(t,p,{labelFetcher:o,labelDataIndex:n,defaultText:lw(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:d});var f=t.getTextContent();if(s&&f){var g=i.get(["label","position"]);t.textConfig.inside="middle"===g||null,function(t,e,n,i){if(q(i))t.setTextConfig({rotation:i});else if(Y(e))t.setTextConfig({rotation:0});else{var r,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(a+s)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=l;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=s;break;default:return void t.setTextConfig({rotation:0})}var h=1.5*Math.PI-r;"middle"===u&&h>Math.PI/2&&h<1.5*Math.PI&&(h-=Math.PI),t.setTextConfig({rotation:h})}}(t,"outside"===g?d:g,hS(a),i.get(["label","rotate"]))}mc(f,p,o.getRawValue(n),(function(t){return uw(e,t)}));var v=i.getModel(["emphasis"]);$l(t,v.get("focus"),v.get("blurScope"),v.get("disabled")),eu(t,i),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(r)&&(t.style.fill="none",t.style.stroke="none",z(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}var dS=function(){return function(){}}(),pS=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return i(e,t),e.prototype.getDefaultShape=function(){return new dS},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[h]}return-1}(this,t.offsetX,t.offsetY);ll(this).dataIndex=e>=0?e:null}),30,!1);function vS(t,e,n){if(Dw(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}var o=e;return{cx:(r=n.getArea()).cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}function mS(t){t.registerChartView(eS),t.registerSeriesModel(Xw),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,U(Qx,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,t_("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,Uw("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)}))}))}var yS=2*Math.PI,xS=Math.PI/180;function _S(t,e){return Nd(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function bS(t,e){var n=_S(t,e),i=t.get("center"),r=t.get("radius");Y(r)||(r=[0,r]);var o,a,s=no(n.width,e.getWidth()),l=no(n.height,e.getHeight()),u=Math.min(s,l),h=no(r[0],u/2),c=no(r[1],u/2),d=t.coordinateSystem;if(d){var p=d.dataToPoint(i);o=p[0]||0,a=p[1]||0}else Y(i)||(i=[i,i]),o=no(i[0],s)+n.x,a=no(i[1],l)+n.y;return{cx:o,cy:a,r0:h,r:c}}function wS(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),i=e.mapDimension("value"),r=_S(t,n),o=bS(t,n),a=o.cx,s=o.cy,l=o.r,u=o.r0,h=-t.get("startAngle")*xS,c=t.get("endAngle"),d=t.get("padAngle")*xS;c="auto"===c?h-yS:-c*xS;var p=t.get("minAngle")*xS+d,f=0;e.each(i,(function(t){!isNaN(t)&&f++}));var g=e.getSum(i),v=Math.PI/(g||f)*2,m=t.get("clockwise"),y=t.get("roseType"),x=t.get("stillShowZeroSum"),_=e.getDataExtent(i);_[0]=0;var b=m?1:-1,w=[h,c],S=b*d/2;ps(w,!m),h=w[0],c=w[1];var M=SS(t);M.startAngle=h,M.endAngle=c,M.clockwise=m;var I=Math.abs(c-h),T=I,C=0,A=h;if(e.setLayout({viewRect:r,r:l}),e.each(i,(function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:m,cx:a,cy:s,r0:u,r:y?NaN:l});else{(i="area"!==y?0===g&&x?v:t*v:I/f)i?h=o=A+b*i/2:(o=A+S,h=r-S),e.setItemLayout(n,{angle:i,startAngle:o,endAngle:h,clockwise:m,cx:a,cy:s,r0:u,r:y?eo(t,_,[u,l]):l}),A=r}})),Tn?a:o,h=Math.abs(l.label.y-n);if(h>=u.maxY){var c=l.label.x-e-l.len2*r,d=i+l.len,f=Math.abs(c)t.unconstrainedWidth?null:p:null;i.setStyle("width",f)}var g=i.getBoundingRect();o.width=g.width;var v=(i.style.margin||0)+2.1;o.height=g.height+v,o.y-=(o.height-c)/2}}}function AS(t){return"center"===t.position}function DS(t){var e,n,i=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAngle")||0)*IS,s=i.getLayout("viewRect"),l=i.getLayout("r"),u=s.width,h=s.x,c=s.y,d=s.height;function p(t){t.ignore=!0}i.each((function(t){var s=i.getItemGraphicEl(t),c=s.shape,d=s.getTextContent(),f=s.getTextGuideLine(),g=i.getItemModel(t),v=g.getModel("label"),m=v.get("position")||g.get(["emphasis","label","position"]),y=v.get("distanceToLabelLine"),x=v.get("alignTo"),_=no(v.get("edgeDistance"),u),b=v.get("bleedMargin"),w=g.getModel("labelLine"),S=w.get("length");S=no(S,u);var M=w.get("length2");if(M=no(M,u),Math.abs(c.endAngle-c.startAngle)0?"right":"left":L>0?"left":"right"}var B=Math.PI,F=0,G=v.get("rotate");if(q(G))F=G*(B/180);else if("center"===m)F=0;else if("radial"===G||!0===G)F=L<0?-D+B:-D;else if("tangential"===G&&"outside"!==m&&"outer"!==m){var H=Math.atan2(L,k);H<0&&(H=2*B+H),k>0&&(H=B+H),F=H-B}if(o=!!F,d.x=I,d.y=T,d.rotation=F,d.setStyle({verticalAlign:"middle"}),P){d.setStyle({align:A});var W=d.states.select;W&&(W.x+=d.x,W.y+=d.y)}else{var U=d.getBoundingRect().clone();U.applyTransform(d.getComputedTransform());var Y=(d.style.margin||0)+2.1;U.y-=Y/2,U.height+=Y,r.push({label:d,labelLine:f,position:m,len:S,len2:M,minTurnAngle:w.get("minTurnAngle"),maxSurfaceAngle:w.get("maxSurfaceAngle"),surfaceNormal:new Le(L,k),linePoints:C,textAlign:A,labelDistance:y,labelAlignTo:x,edgeDistance:_,bleedMargin:b,rect:U,unconstrainedWidth:U.width,labelStyleWidth:d.style.width})}s.setTextConfig({inside:P})}})),!o&&t.get("avoidLabelOverlap")&&function(t,e,n,i,r,o,a,s){for(var l=[],u=[],h=Number.MAX_VALUE,c=-Number.MAX_VALUE,d=0;d0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u=n.r0}},e.type="pie",e}(Eg);function PS(t,e,n){e=Y(e)&&{coordDimensions:e}||L({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=xx(i,e).dimensions,o=new mx(r,t);return o.initData(i,n),o}var OS=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}(),RS=Ho(),NS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new OS(W(this.getData,this),W(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return PS(this,{coordDimensions:["value"],encodeDefaulter:U(rp,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),i=RS(n),r=i.seats;if(!r){var o=[];n.each(n.mapDimension("value"),(function(t){o.push(t)})),r=i.seats=lo(o,n.hostModel.get("percentPrecision"))}var a=t.prototype.getDataParams.call(this,e);return a.percent=r[e]||0,a.$vars.push("percent"),a},e.prototype._defaultLabelLine=function(t){ko(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(Mg);function ES(t){t.registerChartView(kS),t.registerSeriesModel(NS),Rv("pie",t.registerAction),t.registerLayout(U(wS,"pie")),t.registerProcessor(MS("pie")),t.registerProcessor(function(t){return{seriesType:t,reset:function(t,e){var n=t.getData();n.filterSelf((function(t){var e=n.mapDimension("value"),i=n.get(e,t);return!(q(i)&&!isNaN(i)&&i<0)}))}}}("pie"))}var zS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return i(e,t),e.prototype.getInitialData=function(t,e){return Ax(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(Mg),VS=function(){},BS=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return i(e,t),e.prototype.getDefaultShape=function(){return new VS},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<4,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n=0;s--){var l=2*s,u=i[l]-o/2,h=i[l+1]-a/2;if(t>=u&&e>=h&&t<=u+o&&e<=h+a)return s}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=1/0,s=1/0,l=-1/0,u=-1/0,h=0;h=0&&(l.dataIndex=n+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),GS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=Gw("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){if(t.get("clip",!0)){var e=t.coordinateSystem;return e&&e.getArea&&e.getArea(.1)}},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new FS:new gw,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(Eg),HS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(Hd),WS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Zo).models[0]},e.type="cartesian2dAxis",e}(Hd);N(WS,N_);var US={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},YS=A({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},US),ZS=A({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},US);const XS={category:YS,value:ZS,time:A({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},ZS),log:k({logBase:10},ZS)};var jS={value:1,category:1,time:1,log:1};function qS(t,e,n,r){z(jS,(function(o,a){var s=A(A({},XS[a],!0),r,!0),l=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+a,n}return i(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=zd(this),i=n?Bd(t):{};A(t,e.getTheme().get(a+"Axis")),A(t,this.getDefaultOption()),t.type=KS(t),n&&Vd(t,i,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=kx.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+a,n.defaultOption=s,n}(n);t.registerComponentModel(l)})),t.registerSubTypeDefaulter(e+"Axis",KS)}function KS(t){return t.type||(t.data?"category":"value")}var $S=t("T",function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return V(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),F(this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}()),JS=["x","y"];function QS(t){return"interval"===t.type||"time"===t.type}var tM=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=JS,e}return i(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(QS(t)&&QS(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,h=r[0]-n[0]*l,c=r[1]-i[0]*u,d=this._transform=[l,0,0,u,h,c];this._invTransform=Ce([],d)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new Be(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return Wt(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return Wt(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1])-t,r=Math.min(n[0],n[1])-t,o=Math.max(e[0],e[1])-i+t,a=Math.max(n[0],n[1])-r+t;return new Be(i,r,o,a)},e}($S),eM=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return i(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(xb);function nM(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,o={},a=r.getAxesOnZeroOf()[0],s=r.position,l=a?"onZero":s,u=r.dim,h=i.getRect(),c=[h.x,h.x+h.width,h.y,h.y+h.height],d={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,f="x"===u?[c[2]-p,c[3]+p]:[c[0]-p,c[1]+p];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));f[d.onZero]=Math.max(Math.min(g,f[1]),f[0])}o.position=["y"===u?f[d[l]]:c[0],"x"===u?f[d[l]]:c[3]],o.rotation=Math.PI/2*("x"===u?0:1),o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],o.labelOffset=a?f[d[s]]-f[d.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),rt(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var v=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-v:v,o.z2=1,o}function iM(t){return"cartesian2d"===t.get("coordinateSystem")}function rM(t){var e={xAxisModel:null,yAxisModel:null};return z(e,(function(n,i){var r=i.replace(/Model$/,""),o=t.getReferringComponents(r,Zo).models[0];e[i]=o})),e}var oM=Math.log;function aM(t,e,n){var i=Wx.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=T_(t,e),u=l.extent,h=l.fixMin,c=l.fixMax;if("log"===t.type){var d=oM(t.base);u=[oM(u[0])/d,oM(u[1])/d]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:h,fixMax:c});var p=i.getExtent.call(t);h&&(u[0]=p[0]),c&&(u[1]=p[1]);var f=i.getInterval.call(t),g=u[0],v=u[1];if(h&&c)f=(v-g)/a;else if(h)for(v=u[0]+f*a;vu[0]&&isFinite(g)&&isFinite(u[0]);)f=Nx(f),g=u[1]-f*a;else{t.getTicks().length-1>a&&(f=Nx(f));var m=f*a;(g=io((v=Math.ceil(u[1]/f)*f)-m))<0&&u[0]>=0?(g=0,v=io(m)):v>0&&u[1]<=0&&(v=0,g=-io(m))}var y=(r[0].value-o[0].value)/s,x=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+f*y,v+f*x),i.setInterval.call(t,f),(y||x)&&i.setNiceExtent.call(t,g+f,v-f)}var sM=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=JS,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=H(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=t[+n[o]],s=a.model,l=a.scale;Ox(l)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):(C_(l,s),Ox(l)&&(e=a))}r.length&&(e||C_((e=r.pop()).scale,e.model),z(r,(function(t){aM(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};z(n.x,(function(t){uM(n,"y",t,r)})),z(n.y,(function(t){uM(n,"x",t,r)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=Nd(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){z(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e?o.x:o.y)}))}s(),r&&(z(a,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=function(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,o=n.getExtent();r=n instanceof Gx?n.count():(i=n.getTicks()).length;var a,s=t.getLabelModel(),l=D_(t),u=1;r>40&&(u=Math.ceil(r/40));for(var h=0;h0&&i>0||n<0&&i<0)}(t)}var cM=Math.PI,dM=function(){function t(t,e){this.group=new Wr,this.opt=e,this.axisModel=t,k(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new Wr({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!pM[t]},t.prototype.add=function(t){pM[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=co(e-t);return po(o)?(r=n>0?"top":"bottom",i="center"):po(o-cM)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),pM={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=i.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&(Wt(s,s,a),Wt(l,l,a));var h=L({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),c=new th({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:h,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});Gh(c.shape,c.style.lineWidth),c.anid="line",n.add(c);var d=e.get(["axisLine","symbol"]);if(null!=d){var p=e.get(["axisLine","symbolSize"]);X(d)&&(d=[d,d]),(X(p)||q(p))&&(p=[p,p]);var f=Kv(e.get(["axisLine","symbolOffset"])||0,p),g=p[0],v=p[1];z([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(e,i){if("none"!==d[i]&&null!=d[i]){var r=jv(d[i],-g/2,-v/2,g,v,h.stroke,!0),o=e.r+e.offset,a=u?l:s;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,i){var r=function(t,e,n,i){var r=n.axis,o=n.getModel("axisTick"),a=o.get("show");if("auto"===a&&i.handleAutoShown&&(a=i.handleAutoShown("axisTick")),a&&!r.scale.isBlank()){for(var s=o.getModel("lineStyle"),l=i.tickDirection*o.get("length"),u=mM(r.getTicksCoords(),e.transform,l,k(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;hc[1]?-1:1,p=["start"===s?c[0]-d*h:"end"===s?c[1]+d*h:(c[0]+c[1])/2,vM(s)?t.labelOffset+l*h:0],f=e.get("nameRotate");null!=f&&(f=f*cM/180),vM(s)?o=dM.innerTextLayout(t.rotation,null!=f?f:t.rotation,l):(o=function(t,e,n,i){var r,o,a=co(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;return po(a-cM/2)?(o=l?"bottom":"top",r="center"):po(a-1.5*cM)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*cM&&a>cM/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:r,textVerticalAlign:o}}(t.rotation,s,f||0,c),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=u.getFont(),v=e.get("nameTruncate",!0)||{},m=v.ellipsis,y=rt(t.nameTruncateMaxWidth,v.maxWidth,a),x=new qs({x:p[0],y:p[1],rotation:o.rotation,silent:dM.isLabelSilent(e),style:uc(u,{text:r,font:g,overflow:"truncate",width:y,ellipsis:m,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(tc({el:x,componentModel:e,itemName:r}),x.__fullText=r,x.anid="name",e.get("triggerEvent")){var _=dM.makeAxisEventDataBase(e);_.targetType="axisName",_.name=r,ll(x).eventData=_}i.add(x),x.updateTransform(),n.add(x),x.decomposeTransform()}}};function fM(t){t&&(t.ignore=!0)}function gM(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=be([]);return Ie(r,r,-t.rotation),n.applyTransform(Se([],r,t.getLocalTransform())),i.applyTransform(Se([],r,e.getLocalTransform())),n.intersect(i)}}function vM(t){return"middle"===t||"center"===t}function mM(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l=0||t===e}function _M(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[wM(t)]}function bM(t){return!!t.get(["handle","show"])}function wM(t){return t.type+"||"+t.id}var SM={},MM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(e,n,i,r){this.axisPointerClass&&function(t){var e=_M(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=bM(n);null==o&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a0&&!c.min?c.min=0:null!=c.min&&c.min<0&&!c.max&&(c.max=0);var d=a;null!=c.color&&(d=k({color:c.color},a));var p=A(C(c),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:o,name:c.text,showName:s,nameLocation:"end",nameGap:u,nameTextStyle:d,triggerEvent:h},!1);if(X(l)){var f=p.name;p.name=l.replace("{value}",null!=f?f:"")}else Z(l)&&(p.name=l(p.name,p));var g=new kc(p,null,this.ecModel);return N(g,N_.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=c},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:A({lineStyle:{color:"#bbb"}},WM.axisLine),axisLabel:UM(WM.axisLabel,!1),axisTick:UM(WM.axisTick,!1),splitLine:UM(WM.splitLine,!0),splitArea:UM(WM.splitArea,!0),indicator:[]},e}(Hd),ZM=["axisLine","axisTickLabel","axisName"],XM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem;z(V(e.getIndicatorAxes(),(function(t){var n=t.model.get("showName")?t.name:"";return new dM(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})})),(function(t){z(ZM,t.add,t),this.group.add(t.getGroup())}),this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),r=t.getModel("splitLine"),o=t.getModel("splitArea"),a=r.getModel("lineStyle"),s=o.getModel("areaStyle"),l=r.get("show"),u=o.get("show"),h=a.get("color"),c=s.get("color"),d=Y(h)?h:[h],p=Y(c)?c:[c],f=[],g=[];if("circle"===i)for(var v=n[0].getTicksCoords(),m=e.cx,y=e.cy,x=0;x3?1.4:r>1?1.2:1.1;eI(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(i);eI(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){JM(this._zr,"globalPan")||eI(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},e}(qt);function eI(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(ge(i.event),nI(t,e,n,i,r))}function nI(t,e,n,i,r){r.isAvailableBehavior=W(iI,null,n,i),t.trigger(e,r)}function iI(t,e,n){var i=n[t];return!t||i&&(!X(i)||e.event[i+"Key"])}function rI(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}function oI(t,e,n,i){var r=t.target,o=t.zoomLimit,a=t.zoom=t.zoom||1;if(a*=e,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var u=a/t.zoom;t.zoom=a,r.x-=(n-r.x)*(u-1),r.y-=(i-r.y)*(u-1),r.scaleX*=u,r.scaleY*=u,r.dirty()}var aI,sI={axisPointer:1,tooltip:1,brush:1};function lI(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!sI.hasOwnProperty(i.mainType)&&r&&r.model!==n}function uI(t){X(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));var e=t;for(9===e.nodeType&&(e=e.firstChild);"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}var hI={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},cI=H(hI),dI={"alignment-baseline":"textBaseline","stop-color":"stopColor"},pI=H(dI),fI=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=uI(t);this._defsUsePending=[];var i=new Wr;this._root=i;var r=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),_I(n,i,null,!0,!1);for(var l,u,h=n.firstChild;h;)this._parseNode(h,i,r,null,!1,!1),h=h.nextSibling;if(function(t,e){for(var n=0;n=4&&(l={x:parseFloat(c[0]||0),y:parseFloat(c[1]||0),width:parseFloat(c[2]),height:parseFloat(c[3])})}if(l&&null!=a&&null!=s&&(u=DI(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var d=i;(i=new Wr).add(d),d.scaleX=d.scaleY=u.scale,d.x=u.x,d.y=u.y}return e.ignoreRootClip||null==a||null==s||i.setClipPath(new Zs({shape:{x:0,y:0,width:a,height:s}})),{root:i,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:r}},t.prototype._parseNode=function(t,e,n,i,r,o){var a,s=t.nodeName.toLowerCase(),l=i;if("defs"===s&&(r=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=e;else{if(!r){var u=aI[s];if(u&&bt(aI,s)){a=u.call(this,t,e);var h=t.getAttribute("name");if(h){var c={name:h,namedFrom:null,svgNodeTagLower:s,el:a};n.push(c),"g"===s&&(l=c)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:a});e.add(a)}}var d=gI[s];if(d&&bt(gI,s)){var p=d.call(this,t),f=t.getAttribute("id");f&&(this._defs[f]=p)}}if(a&&a.isGroup)for(var g=t.firstChild;g;)1===g.nodeType?this._parseNode(g,a,n,l,r,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling},t.prototype._parseText=function(t,e){var n=new Es({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});yI(e,n),_I(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var i=n.textBaseline,r=i;i&&"auto"!==i?"baseline"===i?r="alphabetic":"before-edge"===i||"text-before-edge"===i?r="top":"after-edge"===i||"text-after-edge"===i?r="bottom":"central"!==i&&"mathematical"!==i||(r="middle"):r="alphabetic",t.style.textBaseline=r}var o=e.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),t.style.textAlign=s)}}(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;var a=n.getBoundingRect();return this._textX+=a.width,e.add(n),n},t.internalField=void(aI={g:function(t,e){var n=new Wr;return yI(e,n),_I(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new Zs;return yI(e,n),_I(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new Cu;return yI(e,n),_I(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new th;return yI(e,n),_I(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new Du;return yI(e,n),_I(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=xI(i));var r=new qu({shape:{points:n||[]},silent:!0});return yI(e,r),_I(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=xI(i));var r=new $u({shape:{points:n||[]},silent:!0});return yI(e,r),_I(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new Bs;return yI(e,n),_I(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(o);var a=new Wr;return yI(e,a),_I(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new Wr;return yI(e,a),_I(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),a},path:function(t,e){var n=Mu(t.getAttribute("d")||"");return yI(e,n),_I(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),gI={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),i=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),o=new uh(e,n,i,r);return vI(t,o),mI(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),r=new hh(e,n,i);return vI(t,r),mI(t,r),r}};function vI(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function mI(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var i=n.getAttribute("offset"),r=void 0;r=i&&i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var o={};AI(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function yI(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),k(e.__inheritedStyle,t.__inheritedStyle))}function xI(t){for(var e=MI(t),n=[],i=0;i0;o-=2){var a=i[o],s=i[o-1],l=MI(a);switch(r=r||[1,0,0,1,0,0],s){case"translate":Me(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":Te(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":Ie(r,r,-parseFloat(l[0])*TI,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":Se(r,[1,0,Math.tan(parseFloat(l[0])*TI),1,0,0],r);break;case"skewY":Se(r,[1,Math.tan(parseFloat(l[0])*TI),0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5])}}e.setLocalTransform(r)}}(t,e),AI(t,a,s),i||function(t,e,n){for(var i=0;i0,f={api:n,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:p,isGeo:o,transformInfoRaw:c};"geoJSON"===s.resourceType?this._buildGeoJSON(f):"geoSVG"===s.resourceType&&this._buildSVG(f),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,i)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=mt(),n=mt(),i=this._regionsGroup,r=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,s=t.geo.projection,l=s&&s.stream;function u(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]}function h(t){for(var e=[],n=!l&&s&&s.project,i=0;i=0)&&(d=r);var p=a?{normal:{align:"center",verticalAlign:"middle"}}:null;sc(e,lc(i),{labelFetcher:d,labelDataIndex:c,defaultText:n},p);var f=e.getTextContent();if(f&&(jI(f).ignore=f.ignore,e.textConfig&&a)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(a[0]-g.x)/g.width*100+"%",(a[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function tT(t,e,n,i,r,o){t.data?t.data.setItemGraphicEl(o,e):ll(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function eT(t,e,n,i,r){t.data||tc({el:e,componentModel:r,itemName:n,itemTooltipOption:i.get("tooltip")})}function nT(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var o=i.getModel("emphasis"),a=o.get("focus");return $l(e,a,o.get("blurScope"),o.get("disabled")),t.isGeo&&function(t,e,n){var i=ll(t);i.componentMainType=e.mainType,i.componentIndex=e.componentIndex,i.componentHighDownName=n}(e,r,n),a}function iT(t,e,n){var i,r=[];function o(){i=[]}function a(){i.length&&(r.push(i),i=[])}var s=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&i.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),z(t,(function(t){s.lineStart();for(var e=0;e-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(Mg);function aT(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)})),z(e,(function(t,e){for(var n,i,r,o=(n=V(t,(function(t){return t.getData()})),i=t[0].get("mapValueCalculation"),r={},z(n,(function(t){t.each(t.mapDimension("value"),(function(e,n){var i="ec-"+t.getName(n);r[i]=r[i]||[],isNaN(e)||r[i].push(e)}))})),n[0].map(n[0].mapDimension("value"),(function(t,e){for(var o="ec-"+n[0].getName(e),a=0,s=1/0,l=-1/0,u=r[o].length,h=0;h1?(p.width=d,p.height=d/x):(p.height=d,p.width=d*x),p.y=c[1]-p.height/2,p.x=c[0]-p.width/2;else{var b=t.getBoxLayoutParams();b.aspect=x,p=Nd(b,{width:m,height:y})}this.setViewRect(p.x,p.y,p.width,p.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}N(pT,uT);var vT=function(){function t(){this.dimensions=dT}return t.prototype.create=function(t,e){var n=[];function i(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",(function(t,r){var o=t.get("map"),a=new pT(o+r,o,L({nameMap:t.get("nameMap")},i(t)));a.zoomLimit=t.get("scaleLimit"),n.push(a),t.coordinateSystem=a,a.model=t,a.resize=gT,a.resize(t,e)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}}));var r={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}})),z(r,(function(t,r){var o=V(t,(function(t){return t.get("nameMap")})),a=new pT(r,r,L({nameMap:D(o)},i(t[0])));a.zoomLimit=rt.apply(null,V(t,(function(t){return t.get("scaleLimit")}))),n.push(a),a.resize=gT,a.resize(t[0],e),z(t,(function(t){t.coordinateSystem=a,function(t,e){z(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}(a,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,i){for(var r=(t||[]).slice(),o=mt(),a=0;a=0;){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=function(t,e,n,i){if(e){for(var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,u=o.hierNode.modifier,h=a.hierNode.modifier,c=s.hierNode.modifier;s=DT(s),o=LT(o),s&&o;){r=DT(r),a=LT(a),r.hierNode.ancestor=t;var d=s.hierNode.prelim+c-o.hierNode.prelim-u+i(s,o);d>0&&(PT(kT(s,t,n),t,d),u+=d,l+=d),c+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=r.hierNode.modifier,h+=a.hierNode.modifier}s&&!DT(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=c-l),o&&!LT(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-h,n=t)}return n}(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function TT(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function CT(t){return arguments.length?t:OT}function AT(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function DT(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function LT(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function kT(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function PT(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function OT(t,e){return t.parentNode===e.parentNode?1:2}var RT=function(){return function(){this.parentPoint=[],this.childPoints=[]}}(),NT=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new RT},e.prototype.buildPath=function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,o=n[0],a=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,h=no(e.forkPosition,1),c=[];c[l]=r[l],c[u]=r[u]+(a[u]-r[u])*h,t.moveTo(r[0],r[1]),t.lineTo(c[0],c[1]),t.moveTo(o[0],o[1]),c[l]=o[l],t.lineTo(c[0],c[1]),c[l]=a[l],t.lineTo(c[0],c[1]),t.lineTo(a[0],a[1]);for(var d=1;dy.x)||(_-=Math.PI);var S=b?"left":"right",M=s.getModel("label"),I=M.get("rotate"),T=I*(Math.PI/180),C=v.getTextContent();C&&(v.setTextConfig({position:M.get("position")||S,rotation:null==I?-_:T,origin:"center"}),C.setStyle("verticalAlign","middle"))}var A=s.get(["emphasis","focus"]),D="relative"===A?yt(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===A?a.getAncestorsIndices():"descendant"===A?a.getDescendantIndices():null;D&&(ll(n).focus=D),function(t,e,n,i,r,o,a,s){var l=e.getModel(),u=t.get("edgeShape"),h=t.get("layout"),c=t.getOrient(),d=t.get(["lineStyle","curveness"]),p=t.get("edgeForkPosition"),f=l.getModel("lineStyle").getLineStyle(),g=i.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(g||(g=i.__edge=new rh({shape:HT(h,c,d,r,r)})),bh(g,{shape:HT(h,c,d,o,a)},t));else if("polyline"===u&&"orthogonal"===h&&e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var v=e.children,m=[],y=0;ye&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e=0){var i=n.getData().tree.root,r=t.targetNode;if(X(r)&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=i.getNodeById(o)))return{node:r}}}function eC(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function nC(t,e){return O(eC(t),e)>=0}function iC(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}var rC=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return i(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i=new kc(n,this,this.ecModel),r=QT.createTree(e,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=i),t}))})),o=0;r.eachNode("preorder",(function(t){t.depth>o&&(o=t.depth)}));var a=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=a})),r.data},e.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,e,n){for(var i=this.getData().tree,r=i.root.children[0],o=i.getNodeByDataIndex(t),a=o.getValue(),s=o.name;o&&o!==r;)s=o.parentNode.name+"."+s,o=o.parentNode;return lg("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=iC(i,this),n.collapsed=!i.isExpand,n},e.type="series.tree",e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(Mg);function oC(t,e){for(var n,i=[t];n=i.pop();)if(e(n),n.isExpand){var r=n.children;if(r.length)for(var o=r.length-1;o>=0;o--)i.push(r[o])}}function aC(t,e){t.eachSeriesByType("tree",(function(t){!function(t,e){var n=function(t,e){return Nd(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=n;var i=t.get("layout"),r=0,o=0,a=null;"radial"===i?(r=2*Math.PI,o=Math.min(n.height,n.width)/2,a=CT((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(r=n.width,o=n.height,a=CT());var s=t.getData().tree.root,l=s.children[0];if(l){!function(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,i,r=[e];n=r.pop();)if(i=n.children,n.isExpand&&i.length)for(var o=i.length-1;o>=0;o--){var a=i[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(a)}}(s),function(t,e,n){for(var i,r=[t],o=[];i=r.pop();)if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;sh.getLayout().x&&(h=t),t.depth>c.depth&&(c=t)}));var d=u===h?1:a(u,h)/2,p=d-u.getLayout().x,f=0,g=0,v=0,m=0;if("radial"===i)f=r/(h.getLayout().x+d+p),g=o/(c.depth-1||1),oC(l,(function(t){v=(t.getLayout().x+p)*f,m=(t.depth-1)*g;var e=AT(v,m);t.setLayout({x:e.x,y:e.y,rawX:v,rawY:m},!0)}));else{var y=t.getOrient();"RL"===y||"LR"===y?(g=o/(h.getLayout().x+d+p),f=r/(c.depth-1||1),oC(l,(function(t){m=(t.getLayout().x+p)*g,v="LR"===y?(t.depth-1)*f:r-(t.depth-1)*f,t.setLayout({x:v,y:m},!0)}))):"TB"!==y&&"BT"!==y||(f=r/(h.getLayout().x+d+p),g=o/(c.depth-1||1),oC(l,(function(t){v=(t.getLayout().x+p)*f,m="TB"===y?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:v,y:m},!0)})))}}}(t,e)}))}function sC(t){t.eachSeriesByType("tree",(function(t){var e=t.getData();e.tree.eachNode((function(t){var n=t.getModel().getModel("itemStyle").getItemStyle();L(e.ensureUniqueItemVisual(t.dataIndex,"style"),n)}))}))}var lC=["treemapZoomToNode","treemapRender","treemapMove"];function uC(t){var e=t.getData().tree,n={};e.eachNode((function(e){for(var i=e;i&&i.depth>1;)i=i.parentNode;var r=gp(t.ecModel,i.name||i.dataIndex+"",n);e.setVisual("decal",r)}))}var hC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return i(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};cC(n);var i=t.levels||[],r=this.designatedVisualItemStyle={},o=new kc({itemStyle:r},this,e);i=t.levels=function(t,e){var n,i,r=Lo(e.get("color")),o=Lo(e.get(["aria","decal","decals"]));if(r){z(t=t||[],(function(t){var e=new kc(t),r=e.get("color"),o=e.get("decal");(e.get(["itemStyle","color"])||r&&"none"!==r)&&(n=!0),(e.get(["itemStyle","decal"])||o&&"none"!==o)&&(i=!0)}));var a=t[0]||(t[0]={});return n||(a.color=r.slice()),!i&&o&&(a.decal=o.slice()),t}}(i,e);var a=V(i||[],(function(t){return new kc(t,o,e)}),this),s=QT.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=s.getNodeByDataIndex(e),i=n?a[n.depth]:null;return t.parentModel=i||o,t}))}));return s.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t);return lg("nameValue",{name:i.getName(t),value:r})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=iC(i,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},L(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=mt(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){uC(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(Mg);function cC(t){var e=0;z(t.children,(function(t){cC(t);var n=t.value;Y(n)&&(n=n[0]),e+=n}));var n=t.value;Y(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),Y(t.value)?t.value[0]=n:t.value=n}var dC=function(){function t(t){this.group=new Wr,t.add(this.group)}return t.prototype.render=function(t,e,n,i){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&n){var a=r.getModel("itemStyle"),s=r.getModel("emphasis"),l=a.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),h={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,h,l),this._renderContent(t,h,a,s,l,u,i),Ed(o,h.pos,h.box)}},t.prototype._prepare=function(t,e,n){for(var i=t;i;i=i.parentNode){var r=Vo(i.getModel().get("name"),""),o=n.getTextRect(r),a=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=a+8,e.renderList.push({node:i,text:r,width:a})}},t.prototype._renderContent=function(t,e,n,i,r,o,a){for(var s,l,u,h,c,d,p,f,g,v=0,m=e.emptyItemWidth,y=t.get(["breadcrumb","height"]),x=(s=e.pos,l=e.box,h=l.width,c=l.height,d=no(s.left,h),p=no(s.top,c),f=no(s.right,h),g=no(s.bottom,c),(isNaN(d)||isNaN(parseFloat(s.left)))&&(d=0),(isNaN(f)||isNaN(parseFloat(s.right)))&&(f=h),(isNaN(p)||isNaN(parseFloat(s.top)))&&(p=0),(isNaN(g)||isNaN(parseFloat(s.bottom)))&&(g=c),u=bd(u||0),{width:Math.max(f-d-u[1]-u[3],0),height:Math.max(g-p-u[0]-u[2],0)}),_=e.totalWidth,b=e.renderList,w=i.getModel("itemStyle").getItemStyle(),S=b.length-1;S>=0;S--){var M=b[S],I=M.node,T=M.width,C=M.text;_>x.width&&(_-=T-m,T=m,C=null);var A=new qu({shape:{points:pC(v,0,T,y,S===b.length-1,0===S)},style:k(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new qs({style:uc(r,{text:C})}),textConfig:{position:"inside"},z2:1e5,onclick:U(a,I)});A.disableLabelAnimation=!0,A.getTextContent().ensureState("emphasis").style=uc(o,{text:C}),A.ensureState("emphasis").style=w,$l(A,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(A),fC(A,t,I),v+=T+8}},t.prototype.remove=function(){this.group.removeAll()},t}();function pC(t,e,n,i,r,o){var a=[[r?t:t-5,e],[t+n,e],[t+n,e+i],[r?t:t-5,e+i]];return!o&&a.splice(2,0,[t+n+5,e+i/2]),!r&&a.push([t,e+i/2]),a}function fC(t,e,n){ll(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&iC(n,e)}}var gC=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,i,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:i,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,r=this._storage.length;i3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var e=t.originX,n=t.originY,i=t.scale;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var o=r.getLayout();if(!o)return;var a,s=new Be(o.x,o.y,o.width,o.height),l=this._controllerHost;a=l.zoomLimit;var u=l.zoom=l.zoom||1;if(u*=i,a){var h=a.min||0,c=a.max||1/0;u=Math.max(Math.min(c,u),h)}var d=u/l.zoom;l.zoom=u;var p=this.seriesModel.layoutInfo,f=[1,0,0,1,0,0];Me(f,f,[-(e-=p.x),-(n-=p.y)]),Te(f,f,[d,d]),Me(f,f,[e,n]),s.applyTransform(f),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:s.x,y:s.y,width:s.width,height:s.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",(function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var i=e.findTarget(t.offsetX,t.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)e._rootToNode(i);else if("zoomToNode"===n)e._zoomToNode(i);else if("link"===n){var o=r.hostTree.data.getItemModel(r.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&Dd(a,s)}}}}}),this)},e.prototype._renderBreadcrumb=function(t,e,n){var i=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new dC(this.group))).render(t,e,n.node,(function(e){"animating"!==i._state&&(nC(t.getViewRoot(),e)?i._rootToNode({node:e}):i._zoomToNode({node:e}))}))},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}}),this),n},e.type="treemap",e}(Eg),MC=z,IC=K,TC=-1,CC=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=C(e);this.type=i,this.mappingMethod=n,this._normalizeData=zC[n];var o=t.visualHandlers[i];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(AC(r),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,z(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}(r)):"category"===n?r.categories?function(t){var e=t.categories,n=t.categoryMap={},i=t.visual;if(MC(e,(function(t,e){n[t]=e})),!Y(i)){var r=[];K(i)?MC(i,(function(t,e){var i=n[e];r[null!=i?i:TC]=t})):r[-1]=i,i=EC(t,r)}for(var o=e.length-1;o>=0;o--)null==i[o]&&(delete n[e[o]],e.pop())}(r):AC(r,!0):(ut("linear"!==n||r.dataExtent),AC(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return W(this._normalizeData,this)},t.listVisualTypes=function(){return H(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){K(t)?z(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,o=Y(e)?[]:K(e)?{}:(r=!0,null);return t.eachVisual(e,(function(t,e){var a=n.call(i,t,e);r?o=a:o[e]=a})),o},t.retrieveVisuals=function(e){var n,i={};return e&&MC(t.visualHandlers,(function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)})),n?i:null},t.prepareVisualTypes=function(t){if(Y(t))t=t.slice();else{if(!IC(t))return[];var e=[];MC(t,(function(t,n){e.push(n)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,r=1/0,o=0,a=e.length;ou[1]&&(u[1]=l);var h=e.get("colorMappingBy"),c={type:a.name,dataExtent:u,visual:a.range};"color"!==c.type||"index"!==h&&"id"!==h?c.mappingMethod="linear":(c.mappingMethod="category",c.loop=!0);var d=new CC(c);return BC(d).drColorMappingBy=h,d}}}(0,r,o,0,u,p);z(p,(function(t,e){if(t.depth>=n.length||t===n[t.depth]){var o=function(t,e,n,i,r,o){var a=L({},e);if(r){var s=r.type,l="color"===s&&BC(r).drColorMappingBy,u="index"===l?i:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));a[s]=r.mapValueToVisual(u)}return a}(r,u,t,e,f,i);GC(t,o,n,i)}}))}else s=HC(u),h.fill=s}}function HC(t){var e=WC(t,"color");if(e){var n=WC(t,"colorAlpha"),i=WC(t,"colorSaturation");return i&&(e=ai(e,null,null,i)),n&&(e=si(e,n)),e}}function WC(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function UC(t,e){var n=t.get(e);return Y(n)&&n.length?{name:e,range:n}:null}var YC=Math.max,ZC=Math.min,XC=rt,jC=z,qC=["itemStyle","borderWidth"],KC=["itemStyle","gapWidth"],$C=["upperLabel","show"],JC=["upperLabel","height"];const QC={seriesType:"treemap",reset:function(t,e,n,i){var r=n.getWidth(),o=n.getHeight(),a=t.option,s=Nd(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=a.size||[],u=no(XC(s.width,l[0]),r),h=no(XC(s.height,l[1]),o),c=i&&i.type,d=tC(i,["treemapZoomToNode","treemapRootToNode"],t),p="treemapRender"===c||"treemapMove"===c?i.rootRect:null,f=t.getViewRoot(),g=eC(f);if("treemapMove"!==c){var v="treemapZoomToNode"===c?function(t,e,n,i,r){var o,a=(e||{}).node,s=[i,r];if(!a||a===n)return s;for(var l=i*r,u=l*t.option.zoomToNodeRatio;o=a.parentNode;){for(var h=0,c=o.children,d=0,p=c.length;dho&&(u=ho),a=o}ua[1]&&(a[1]=e)}))):a=[NaN,NaN],{sum:i,dataExtent:a}}(e,a,s);if(0===u.sum)return t.viewChildren=[];if(u.sum=function(t,e,n,i,r){if(!i)return n;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*ei&&(i=a));var l=t.area*t.area,u=e*e*n;return l?YC(u*i/l,l/(u*r)):1/0}function nA(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],h=e?t.area/e:0;(r||h>n[l[a]])&&(h=n[l[a]]);for(var c=0,d=t.length;ci&&(i=e);var o=i%2?i+2:i+3;r=[];for(var a=0;a0&&(y[0]=-y[0],y[1]=-y[1]);var _=m[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var b=-Math.atan2(m[1],m[0]);u[0].8?"left":h[0]<-.8?"right":"center",d=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";break;case"start":i.x=-h[0]*f+l[0],i.y=-h[1]*g+l[1],c=h[0]>.8?"right":h[0]<-.8?"left":"center",d=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=f*_+l[0],i.y=l[1]+w,c=m[0]<0?"right":"left",i.originX=-f*_,i.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=x[0],i.y=x[1]+w,c="center",i.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-f*_+u[0],i.y=u[1]+w,c=m[0]>=0?"right":"left",i.originX=f*_,i.originY=-w}i.scaleX=i.scaleY=r,i.setStyle({verticalAlign:i.__verticalAlign||d,align:i.__align||c})}}}function S(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},e}(Wr),GA=function(){function t(t){this.group=new Wr,this._LineCtor=t||FA}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,i=n.group,r=n._lineData;n._lineData=t,r||i.removeAll();var o=HA(t);t.diff(r).add((function(n){e._doAdd(t,n,o)})).update((function(n,i){e._doUpdate(r,t,i,n,o)})).remove((function(t){i.remove(r.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=HA(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=t.start;i=0?i+=u:i-=u:f>=0?i-=u:i+=u}return i}function JA(t,e){var n=[],i=Pn,r=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),h=t.getVisual("toSymbol");l.__original||(l.__original=[Ct(l[0]),Ct(l[1])],l[2]&&l.__original.push(Ct(l[2])));var c=l.__original;if(null!=l[2]){if(Tt(r[0],c[0]),Tt(r[1],c[2]),Tt(r[2],c[1]),u&&"none"!==u){var d=_A(t.node1),p=$A(r,c[0],d*e);i(r[0][0],r[1][0],r[2][0],p,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],p,n),r[0][1]=n[3],r[1][1]=n[4]}h&&"none"!==h&&(d=_A(t.node2),p=$A(r,c[1],d*e),i(r[0][0],r[1][0],r[2][0],p,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],p,n),r[1][1]=n[1],r[2][1]=n[2]),Tt(l[0],r[0]),Tt(l[1],r[2]),Tt(l[2],r[1])}else Tt(o[0],c[0]),Tt(o[1],c[1]),kt(a,o[1],o[0]),zt(a,a),u&&"none"!==u&&(d=_A(t.node1),Lt(o[0],o[0],a,d*e)),h&&"none"!==h&&(d=_A(t.node2),Lt(o[1],o[1],a,-d*e)),Tt(l[0],o[0]),Tt(l[1],o[1])}))}function QA(t){return"view"===t.type}var tD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(t,e){var n=new gw,i=new GA,r=this.group;this._controller=new tI(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(QA(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):bh(s,l,t)}JA(t.getGraph(),xA(t));var u=t.getData();o.updateData(u);var h=t.getEdgeData();a.updateData(h),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var c=t.forceLayout,d=t.get(["force","layoutAnimation"]);c&&this._startForceLayoutIteration(c,d);var p=t.get("layout");u.graph.eachNode((function(e){var n=e.dataIndex,r=e.getGraphicEl(),o=e.getModel();if(r){r.off("drag").off("dragend");var a=o.get("draggable");a&&r.on("drag",(function(o){switch(p){case"force":c.warmUp(),!i._layouting&&i._startForceLayoutIteration(c,d),c.setFixed(n),u.setItemLayout(n,[r.x,r.y]);break;case"circular":u.setItemLayout(n,[r.x,r.y]),e.setLayout({fixed:!0},!0),SA(t,"symbolSize",e,[o.offsetX,o.offsetY]),i.updateLayout(t);break;default:u.setItemLayout(n,[r.x,r.y]),mA(t.getGraph(),t),i.updateLayout(t)}})).on("dragend",(function(){c&&c.setUnfixed(n)})),r.setDraggable(a,!!o.get("cursor")),"adjacency"===o.get(["emphasis","focus"])&&(ll(r).focus=e.getAdjacentDataIndices())}})),u.graph.eachEdge((function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(ll(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var f="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),g=u.getLayout("cx"),v=u.getLayout("cy");u.graph.eachNode((function(t){IA(t,f,g,v)})),this._firstRender=!1},e.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var n=this;!function i(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())}))}()},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!lI(e,n,t)})),QA(t.coordinateSystem)?(r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){rI(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){oI(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(),JA(t.getGraph(),xA(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()}))):r.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=xA(t);e.eachItemGraphicEl((function(t,e){t&&t.setSymbolScale(n)}))},e.prototype.updateLayout=function(t){JA(t.getGraph(),xA(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(Eg);function eD(t){return"_EC_"+t}var nD=t("as",function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[eD(t)]){var i=new iD(t,e);return i.hostGraph=this,this.nodes.push(i),n[eD(t)]=i,i}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[eD(t)]},t.prototype.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if(q(t)&&(t=this.nodes[t]),q(e)&&(e=this.nodes[e]),t instanceof iD||(t=i[eD(t)]),e instanceof iD||(e=i[eD(e)]),t&&e){var o=t.id+"-"+e.id,a=new rD(t,e,n);return a.hostGraph=this,this._directed&&(t.outEdges.push(a),e.inEdges.push(a)),t.edges.push(a),t!==e&&e.edges.push(a),this.edges.push(a),r[o]=a,a}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof iD&&(t=t.id),e instanceof iD&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof iD||(e=this._nodesMap[eD(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o=0&&n.node2.dataIndex>=0})),r=0,o=i.length;r=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}function aD(t,e,n,i,r){for(var o=new nD(i),a=0;a "+d)),u++)}var p,f=n.get("coordinateSystem");if("cartesian2d"===f||"polar"===f)p=Ax(t,n);else{var g=Ip.get(f),v=g&&g.dimensions||[];O(v,"value")<0&&v.concat(["value"]);var m=xx(t,{coordDimensions:v,encodeDefine:n.getEncode()}).dimensions;(p=new mx(m,n)).initData(t)}var y=new mx(["value"],n);return y.initData(l,s),r&&r(p,y),UT({mainData:p,struct:o,structAttr:"graph",datas:{node:p,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}N(iD,oD("hostGraph","data")),N(rD,oD("hostGraph","edgeData"));var sD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return i(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new OS(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),ko(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var n,i=t.edges||t.links||[],r=t.data||t.nodes||[],o=this;if(r&&i){hA(n=this)&&(n.__curvenessList=[],n.__edgeMap={},cA(n));var a=aD(r,i,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t){var e=o._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));var n=kc.prototype.getModel;function i(t,e){var i=n.call(this,t,e);return i.resolveParentPath=r,i}function r(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",(function(t){return t.resolveParentPath=r,t.getModel=i,t}))}));return z(a.edges,(function(t){!function(t,e,n,i){if(hA(n)){var r=dA(t,e,n),o=n.__edgeMap,a=o[pA(r)];o[r]&&!a?o[r].isForward=!0:a&&o[r]&&(a.isForward=!0,o[r].isForward=!1),o[r]=o[r]||[],o[r].push(i)}}(t.node1,t.node2,this,t.dataIndex)}),this),a.data}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,e,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(t,n),o=i.graph.getEdgeByIndex(t),a=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),lg("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}return _g({series:this,dataIndex:t,multipleSeries:e})},e.prototype._updateCategoriesData=function(){var t=V(this.option.categories||[],(function(t){return null!=t.value?t:L({value:0},t)})),e=new mx(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t)}))},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(Mg),lD={type:"graphRoam",event:"graphRoam",update:"none"},uD=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},hD=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return i(e,t),e.prototype.getDefaultShape=function(){return new uD},e.prototype.buildPath=function(t,e){var n=Math.cos,i=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)},e}(Rs);function cD(t,e){var n=null==t?"":t+"";return e&&(X(e)?n=e.replace("{value}",n):Z(e)&&(n=e(t))),n}var dD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),r=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r);return{cx:no(n[0],e.getWidth()),cy:no(n[1],e.getHeight()),r:no(t.get("radius"),o/2)}}(t,n);this._renderMain(t,e,n,i,r),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,i,r){var o=this.group,a=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),h=u.get("roundCap")?qw:Uu,c=u.get("show"),d=u.getModel("lineStyle"),p=d.get("width"),f=[s,l];ps(f,!a);for(var g=(l=f[1])-(s=f[0]),v=s,m=[],y=0;c&&y=t&&(0===e?0:i[e-1][0])Math.PI/2&&(V+=Math.PI):"tangential"===z?V=-M-Math.PI/2:q(z)&&(V=z*Math.PI/180),0===V?c.add(new qs({style:uc(x,{text:O,x:N,y:E,verticalAlign:h<-.8?"top":h>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:R}),silent:!0})):c.add(new qs({style:uc(x,{text:O,x:N,y:E,verticalAlign:"middle",align:"center"},{inheritColor:R}),silent:!0,originX:N,originY:E,rotation:V}))}if(y.get("show")&&L!==_){P=(P=y.get("distance"))?P+l:l;for(var B=0;B<=b;B++){u=Math.cos(M),h=Math.sin(M);var F=new th({shape:{x1:u*(f-P)+d,y1:h*(f-P)+p,x2:u*(f-S-P)+d,y2:h*(f-S-P)+p},silent:!0,style:A});"auto"===A.stroke&&F.setStyle({stroke:i((L+B/b)/_)}),c.add(F),M+=T}M-=T}else M+=I}},e.prototype._renderPointer=function(t,e,n,i,r,o,a,s,l){var u=this.group,h=this._data,c=this._progressEls,d=[],p=t.get(["pointer","show"]),f=t.getModel("progress"),g=f.get("show"),v=t.getData(),m=v.mapDimension("value"),y=+t.get("min"),x=+t.get("max"),_=[y,x],b=[o,a];function w(e,n){var i,o=v.getItemModel(e).getModel("pointer"),a=no(o.get("width"),r.r),s=no(o.get("length"),r.r),l=t.get(["pointer","icon"]),u=o.get("offsetCenter"),h=no(u[0],r.r),c=no(u[1],r.r),d=o.get("keepAspect");return(i=l?jv(l,h-a/2,c-s,a,s,null,d):new hD({shape:{angle:-Math.PI/2,width:a,r:s,x:h,y:c}})).rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function S(t,e){var n=f.get("roundCap")?qw:Uu,i=f.get("overlap"),a=i?f.get("width"):l/v.count(),u=i?r.r-a:r.r-(t+1)*a,h=i?r.r:r.r-t*a,c=new n({shape:{startAngle:o,endAngle:e,cx:r.cx,cy:r.cy,clockwise:s,r0:u,r:h}});return i&&(c.z2=eo(v.get(m,t),[y,x],[100,0],!0)),c}(g||p)&&(v.diff(h).add((function(e){var n=v.get(m,e);if(p){var i=w(e,o);wh(i,{rotation:-((isNaN(+n)?b[0]:eo(n,_,b,!0))+Math.PI/2)},t),u.add(i),v.setItemGraphicEl(e,i)}if(g){var r=S(e,o),a=f.get("clip");wh(r,{shape:{endAngle:eo(n,_,b,a)}},t),u.add(r),ul(t.seriesIndex,v.dataType,e,r),d[e]=r}})).update((function(e,n){var i=v.get(m,e);if(p){var r=h.getItemGraphicEl(n),a=r?r.rotation:o,s=w(e,a);s.rotation=a,bh(s,{rotation:-((isNaN(+i)?b[0]:eo(i,_,b,!0))+Math.PI/2)},t),u.add(s),v.setItemGraphicEl(e,s)}if(g){var l=c[n],y=S(e,l?l.shape.endAngle:o),x=f.get("clip");bh(y,{shape:{endAngle:eo(i,_,b,x)}},t),u.add(y),ul(t.seriesIndex,v.dataType,e,y),d[e]=y}})).execute(),v.each((function(t){var e=v.getItemModel(t),n=e.getModel("emphasis"),r=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(p){var s=v.getItemGraphicEl(t),l=v.getItemVisual(t,"style"),u=l.fill;if(s instanceof Bs){var h=s.style;s.useStyle(L({image:h.image,x:h.x,y:h.y,width:h.width,height:h.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",i(eo(v.get(m,t),_,[0,1],!0))),s.z2EmphasisLift=0,eu(s,e),$l(s,r,o,a)}if(g){var c=d[t];c.useStyle(v.getItemVisual(t,"style")),c.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),c.z2EmphasisLift=0,eu(c,e),$l(c,r,o,a)}})),this._progressEls=d)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var i=n.get("size"),r=n.get("icon"),o=n.get("offsetCenter"),a=n.get("keepAspect"),s=jv(r,e.cx-i/2+no(o[0],e.r),e.cy-i/2+no(o[1],e.r),i,i,null,a);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},e.prototype._renderTitleAndDetail=function(t,e,n,i,r){var o=this,a=t.getData(),s=a.mapDimension("value"),l=+t.get("min"),u=+t.get("max"),h=new Wr,c=[],d=[],p=t.isAnimationEnabled(),f=t.get(["pointer","showAbove"]);a.diff(this._data).add((function(t){c[t]=new qs({silent:!0}),d[t]=new qs({silent:!0})})).update((function(t,e){c[t]=o._titleEls[e],d[t]=o._detailEls[e]})).execute(),a.each((function(e){var n=a.getItemModel(e),o=a.get(s,e),g=new Wr,v=i(eo(o,[l,u],[0,1],!0)),m=n.getModel("title");if(m.get("show")){var y=m.get("offsetCenter"),x=r.cx+no(y[0],r.r),_=r.cy+no(y[1],r.r);(A=c[e]).attr({z2:f?0:2,style:uc(m,{x:x,y:_,text:a.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:v})}),g.add(A)}var b=n.getModel("detail");if(b.get("show")){var w=b.get("offsetCenter"),S=r.cx+no(w[0],r.r),M=r.cy+no(w[1],r.r),I=no(b.get("width"),r.r),T=no(b.get("height"),r.r),C=t.get(["progress","show"])?a.getItemVisual(e,"style").fill:v,A=d[e],D=b.get("formatter");A.attr({z2:f?0:2,style:uc(b,{x:S,y:M,text:cD(o,D),width:isNaN(I)?null:I,height:isNaN(T)?null:T,align:"center",verticalAlign:"middle"},{inheritColor:C})}),mc(A,{normal:b},o,(function(t){return cD(t,D)})),p&&yc(A,e,a,t,{getFormattedLabel:function(t,e,n,i,r,a){return cD(a?a.interpolatedValue:o,D)}}),g.add(A)}h.add(g)})),this.group.add(h),this._titleEls=c,this._detailEls=d},e.type="gauge",e}(Eg),pD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return i(e,t),e.prototype.getInitialData=function(t,e){return PS(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(Mg),fD=["itemStyle","opacity"],gD=function(t){function e(e,n){var i=t.call(this)||this,r=i,o=new $u,a=new qs;return r.setTextContent(a),i.setTextGuideLine(o),i.updateData(e,n,!0),i}return i(e,t),e.prototype.updateData=function(t,e,n){var i=this,r=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=o.getModel("emphasis"),l=o.get(fD);l=null==l?1:l,n||Ch(i),i.useStyle(t.getItemVisual(e,"style")),i.style.lineJoin="round",n?(i.setShape({points:a.points}),i.style.opacity=0,wh(i,{style:{opacity:l}},r,e)):bh(i,{style:{opacity:l},shape:{points:a.points}},r,e),eu(i,o),this._updateLabel(t,e),$l(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t,e){var n=this,i=this.getTextGuideLine(),r=n.getTextContent(),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"style"),u=l.fill;sc(r,lc(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:l.opacity,defaultText:t.getName(e)},{normal:{align:s.textAlign,verticalAlign:s.verticalAlign}}),n.setTextConfig({local:!0,inside:!!s.inside,insideStroke:u,outsideFill:u});var h=s.linePoints;i.setShape({points:h}),n.textGuideLineConfig={anchor:h?new Le(h[0][0],h[0][1]):null},bh(r,{style:{x:s.x,y:s.y}},o,e),r.attr({rotation:s.rotation,originX:s.x,originY:s.y,z2:10}),Wb(n,Ub(a),{stroke:u})},e}(qu),vD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return i(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._data,o=this.group;i.diff(r).add((function(t){var e=new gD(i,t);i.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),o.add(n),i.setItemGraphicEl(t,n)})).remove((function(e){Th(r.getItemGraphicEl(e),t,e)})).execute(),this._data=i},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(Eg),mD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new OS(W(this.getData,this),W(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return PS(this,{coordDimensions:["value"],encodeDefaulter:U(rp,this)})},e.prototype._defaultLabelLine=function(t){ko(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=n.mapDimension("value"),o=n.getSum(r);return i.percent=o?+(n.get(r,e)/o*100).toFixed(2):0,i.$vars.push("percent"),i},e.type="series.funnel",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(Mg);function yD(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),o=function(t,e){return Nd(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),a=t.get("orient"),s=o.width,l=o.height,u=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),r=[],o="ascending"===e,a=0,s=t.count();a5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&kD(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i?null:{duration:0}})}}};function kD(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var PD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&A(e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){z(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[];z(F(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this),(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(Hd),OD=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.axisIndex=o,a}return i(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(xb);function RD(t,e,n,i,r,o){t=t||0;var a=n[1]-n[0];if(null!=r&&(r=ED(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=ED(s,[0,a]),r=o=ED(s,[r,o]),i=0}e[0]=ED(e[0],n),e[1]=ED(e[1],n);var l=ND(e,i);e[i]+=t;var u,h=r||0,c=n.slice();return l.sign<0?c[0]+=h:c[1]-=h,e[i]=ED(e[i],c),u=ND(e,i),null!=r&&(u.sign!==l.sign||u.spano&&(e[1-i]=e[i]+u.sign*o),e}function ND(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function ED(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var zD=z,VD=Math.min,BD=Math.max,FD=Math.floor,GD=Math.ceil,HD=io,WD=Math.PI,UD=function(){function t(t,e,n){this.type="parallel",this._axesMap=mt(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=t.dimensions,r=t.parallelAxisIndex;zD(i,(function(t,n){var i=r[n],o=e.getComponent("parallelAxis",i),a=this._axesMap.set(t,new OD(t,A_(o),[0,0],o.get("type"),i)),s="category"===a.type;a.onBand=s&&o.get("boundaryGap"),a.inverse=o.get("inverse"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this}),this)},t.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,r=e.pixelDimIndex,o=t[1-r],a=t[r];return o>=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var i=n.getData();zD(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),C_(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=Nd(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],u=this.dimensions.length,h=YD(e.get("axisExpandWidth"),l),c=YD(e.get("axisExpandCount")||0,[0,u]),d=e.get("axisExpandable")&&u>3&&u>c&&c>1&&h>0&&s>0,p=e.get("axisExpandWindow");p?(t=YD(p[1]-p[0],l),p[1]=p[0]+t):(t=YD(h*(c-1),l),(p=[h*(e.get("axisExpandCenter")||FD(u/2))-t/2])[1]=p[0]+t);var f=(s-t)/(u-c);f<3&&(f=0);var g=[FD(HD(p[0]/h,1))+1,GD(HD(p[1]/h,1))-1],v=f/h*p[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:d,axisExpandWidth:h,axisCollapseWidth:f,axisExpandWindow:p,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:v}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each((function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),zD(n,(function(e,n){var o=(i.axisExpandable?XD:ZD)(n,i),a={horizontal:{x:o.position,y:i.axisLength},vertical:{x:0,y:o.position}},s={horizontal:WD/2,vertical:0},l=[a[r].x+t.x,a[r].y+t.y],u=s[r],h=[1,0,0,1,0,0];Ie(h,h,u),Me(h,h,l),this._axesLayout[e]={position:l,rotation:u,transform:h,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,i){null==n&&(n=0),null==i&&(i=t.count());var r=this._axesMap,o=this.dimensions,a=[],s=[];z(o,(function(e){a.push(t.mapDimension(e)),s.push(r.get(e).model)}));for(var l=this.hasAxisBrushed(),u=n;ur*(1-h[0])?(l="jump",a=s-r*(1-h[2])):(a=s-r*h[1])>=0&&(a=s-r*(1-h[1]))<=0&&(a=0),(a*=e.axisExpandWidth/u)?RD(a,i,o,"all"):l="none";else{var d=i[1]-i[0];(i=[BD(0,o[1]*s/d-d/2)])[1]=VD(o[1],i[0]+d),i[0]=i[1]-d}return{axisExpandWindow:i,behavior:l}},t}();function YD(t,e){return VD(BD(t,e[0]),e[1])}function ZD(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function XD(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,h=!1;return t=0;n--)ro(e[n])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;i6}(t)||o){if(a&&!o){"single"===s.brushMode&&fL(t);var l=C(s);l.brushType=kL(l.brushType,a),l.panelId=a===KD?null:a.panelId,o=t._creatingCover=aL(t,l),t._covers.push(o)}if(o){var u=RL[kL(t._brushType,a)];o.__brushOption.range=u.getCreatingRange(CL(t,o,t._track)),i&&(sL(t,o),u.updateCommon(t,o)),lL(t,o),r={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&dL(t,e,n)&&fL(t)&&(r={isEnd:i,removeOnClick:!0});return r}function kL(t,e){return"auto"===t?e.defaultBrushType:t}var PL={mousedown:function(t){if(this._dragging)OL(this,t);else if(!t.target||!t.target.draggable){AL(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=dL(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,o=dL(t,e,n);if(!t._dragging)for(var a=0;a=0&&(o[r[a].depth]=new kc(r[a],this,e));var s=aD(i,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getData().getItemLayout(e);if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t})),e.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getGraph().getEdgeByIndex(e).node1.getLayout();if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t}))}));return s.data},e.prototype.setNodePosition=function(t,e){var n=(this.option.data||this.option.nodes)[t];n.localX=e[0],n.localY=e[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,e,n){function i(t){return isNaN(t)||null==t}if("edge"===n){var r=this.getDataParams(t,n),o=r.data,a=r.value;return lg("nameValue",{name:o.source+" -- "+o.target,value:a,noValue:i(a)})}var s=this.getGraph().getNodeByIndex(t).getLayout().value,l=this.getDataParams(t,n).data.name;return lg("nameValue",{name:null!=l?l+"":null,value:s,noValue:i(s)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var i=t.prototype.getDataParams.call(this,e,n);if(null==i.value&&"node"===n){var r=this.getGraph().getNodeByIndex(e).getLayout().value;i.value=r}return i},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(Mg);function KL(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),r=function(t,e){return Nd(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=r;var o=r.width,a=r.height,s=t.getGraph(),l=s.nodes,u=s.edges;!function(t){z(t,(function(t){var e=ak(t.outEdges,ok),n=ak(t.inEdges,ok),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)}))}(l),function(t,e,n,i,r,o,a,s,l){(function(t,e,n,i,r,o,a){for(var s=[],l=[],u=[],h=[],c=0,d=0;d=0;m&&v.depth>p&&(p=v.depth),g.setLayout({depth:m?v.depth:c},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var y=0;yc-1?p:c-1;a&&"left"!==a&&function(t,e,n,i){if("right"===e){for(var r=[],o=t,a=0;o.length;){for(var s=0;s0;o--)QL(s,l*=.99,a),JL(s,r,n,i,a),sk(s,l,a),JL(s,r,n,i,a)}(t,e,o,r,i,a,s),function(t,e){var n="vertical"===e?"x":"y";z(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]}))})),z(t,(function(t){var e=0,n=0;z(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),z(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}(t,s)}(l,u,n,i,o,a,0!==F(l,(function(t){return 0===t.getLayout().value})).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))}))}function $L(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function JL(t,e,n,i,r){var o="vertical"===r?"x":"y";z(t,(function(t){var a,s,l;t.sort((function(t,e){return t.getLayout()[o]-e.getLayout()[o]}));for(var u=0,h=t.length,c="vertical"===r?"dx":"dy",d=0;d0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[c]+e;if((l=u-e-("vertical"===r?i:n))>0)for(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a,d=h-2;d>=0;--d)(l=(s=t[d]).getLayout()[o]+s.getLayout()[c]+e-u)>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}))}function QL(t,e,n){z(t.slice().reverse(),(function(t){z(t,(function(t){if(t.outEdges.length){var i=ak(t.outEdges,tk,n)/ak(t.outEdges,ok);if(isNaN(i)){var r=t.outEdges.length;i=r?ak(t.outEdges,ek,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-rk(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-rk(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function tk(t,e){return rk(t.node2,e)*t.getValue()}function ek(t,e){return rk(t.node2,e)}function nk(t,e){return rk(t.node1,e)*t.getValue()}function ik(t,e){return rk(t.node1,e)}function rk(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function ok(t){return t.getValue()}function ak(t,e,n){for(var i=0,r=t.length,o=-1;++oo&&(o=e)})),z(n,(function(e){var n=new CC({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),i=e.getModel().get(["itemStyle","color"]);null!=i?(e.setVisual("color",i),e.setVisual("style",{fill:i})):(e.setVisual("color",n),e.setVisual("style",{fill:n}))}))}i.length&&z(i,(function(t){var e=t.getModel().get("lineStyle");t.setVisual("style",e)}))}))}var uk=function(){function t(){}return t.prototype._hasEncodeRule=function(t){var e=this.getEncode();return e&&null!=e.get(t)},t.prototype.getInitialData=function(t,e){var n,i,r=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=r.get("type"),s=o.get("type");"category"===a?(t.layout="horizontal",n=r.getOrdinalMeta(),i=!this._hasEncodeRule("x")):"category"===s?(t.layout="vertical",n=o.getOrdinalMeta(),i=!this._hasEncodeRule("y")):t.layout=t.layout||"horizontal";var l=["x","y"],u="horizontal"===t.layout?0:1,h=this._baseAxisDim=l[u],c=l[1-u],d=[r,o],p=d[u].get("type"),f=d[1-u].get("type"),g=t.data;if(g&&i){var v=[];z(g,(function(t,e){var n;Y(t)?(n=t.slice(),t.unshift(e)):Y(t.value)?((n=L({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,v.push(n)})),t.data=v}var m=this.defaultValueDimensions,y=[{name:h,type:Ky(p),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:c,type:Ky(f),dimsDef:m.slice()}];return PS(this,{coordDimensions:y,dimensionsCount:m.length+1,encodeDefaulter:U(ip,y,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),hk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return i(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(Mg);N(hk,uk,!0);var ck=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.get("layout")?1:0;i.diff(o).add((function(t){if(i.hasValue(t)){var e=fk(i.getItemLayout(t),i,t,a,!0);i.setItemGraphicEl(t,e),r.add(e)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?(Ch(n),gk(s,n,i,t)):n=fk(s,i,t,a),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=i},e.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},e.type="boxplot",e}(Eg),dk=function(){},pk=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return i(e,t),e.prototype.getDefaultShape=function(){return new dk},e.prototype.buildPath=function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();ig){var _=[m,x];i.push(_)}}}return{boxData:n,outliers:i}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}},_k=["itemStyle","borderColor"],bk=["itemStyle","borderColor0"],wk=["itemStyle","borderColorDoji"],Sk=["itemStyle","color"],Mk=["itemStyle","color0"];function Ik(t,e){return e.get(t>0?Sk:Mk)}function Tk(t,e){return e.get(0===t?wk:t>0?_k:bk)}var Ck={seriesType:"candlestick",plan:Og(),performRawSeries:!0,reset:function(t,e){if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var n;null!=(n=t.next());){var i=e.getItemModel(n),r=e.getItemLayout(n).sign,o=i.getItemStyle();o.fill=Ik(r,i),o.stroke=Tk(r,i)||o.fill,L(e.ensureUniqueItemVisual(n,"style"),o)}}}}},Ak=["color","borderColor"],Dk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){nc(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,i=this.group,r=e.getLayout("isSimpleBox"),o=t.get("clip",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea();this._data||i.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var a=e.getItemLayout(n);if(o&&Ok(s,a))return;var l=Pk(a,0,!0);wh(l,{shape:{points:a.ends}},t,n),Rk(l,e,n,r),i.add(l),e.setItemGraphicEl(n,l)}})).update((function(a,l){var u=n.getItemGraphicEl(l);if(e.hasValue(a)){var h=e.getItemLayout(a);o&&Ok(s,h)?i.remove(u):(u?(bh(u,{shape:{points:h.ends}},t,a),Ch(u)):u=Pk(h),Rk(u,e,a,r),i.add(u),e.setItemGraphicEl(a,u))}else i.remove(u)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),Vk(t,this.group);var e=t.get("clip",!0)?Aw(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){for(var n,i=e.getData(),r=i.getLayout("isSimpleBox");null!=(n=t.next());){var o=Pk(i.getItemLayout(n));Rk(o,i,n,r),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},e.prototype._incrementalRenderLarge=function(t,e){Vk(e,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(Eg),Lk=function(){},kk=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return i(e,t),e.prototype.getDefaultShape=function(){return new Lk},e.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(Rs);function Pk(t,e,n){var i=t.ends;return new kk({shape:{points:n?Nk(i,t):i},z2:100})}function Ok(t,e){for(var n=!0,i=0;ip?x[1]:y[1],ends:w,brushRect:T(f,g,c)})}function M(t,n){var i=[];return i[0]=n,i[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function I(t,e,n){var r=e.slice(),o=e.slice();r[0]=Hh(r[0]+i/2,1,!1),o[0]=Hh(o[0]-i/2,1,!0),n?t.push(r,o):t.push(o,r)}function T(t,e,n){var r=M(t,n),o=M(e,n);return r[0]-=i/2,o[0]-=i/2,{x:r[0],y:r[1],width:i,height:o[1]-r[1]}}function C(t){return t[0]=Hh(t[0],1),t}}}}};function Wk(t,e,n,i,r,o){return n>i?-1:n0?t.get(r,e-1)<=i?1:-1:1}function Uk(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}var Yk=function(t){function e(e,n){var i=t.call(this)||this,r=new hw(e,n),o=new Wr;return i.add(r),i.add(o),i.updateData(e,n),i}return i(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=t.rippleNumber,r=this.childAt(1),o=0;o0&&(o=this._getLineLength(i)/l*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){i.stopAnimation();var h=void 0;h=Z(u)?u(n):u,i.__t>0&&(h=-o*i.__t),this._animateSymbol(i,o,h,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},e.prototype._animateSymbol=function(t,e,n,i,r){if(e>0){t.__t=0;var o=this,a=t.animate("",i).when(r?2*e:e,{__t:r?2:1}).delay(n).during((function(){o._updateSymbolPosition(t)}));i||a.done((function(){o.remove(t)})),a.start()}},e.prototype._getLineLength=function(t){return Bt(t.__p1,t.__cp1)+Bt(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},e.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t<1?t.__t:2-t.__t,o=[t.x,t.y],a=o.slice(),s=Dn,l=Ln;o[0]=s(e[0],i[0],n[0],r),o[1]=s(e[1],i[1],n[1],r);var u=t.__t<1?l(e[0],i[0],n[0],r):l(n[0],i[0],e[0],1-r),h=t.__t<1?l(e[1],i[1],n[1],r):l(n[1],i[1],e[1],1-r);t.rotation=-Math.atan2(h,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT=0&&!(i[o]<=e);o--);o=Math.min(o,r-2)}else{for(o=a;oe);o++);o=Math.min(o-1,r-2)}var s=(e-i[o])/(i[o+1]-i[o]),l=n[o],u=n[o+1];t.x=l[0]*(1-s)+s*u[0],t.y=l[1]*(1-s)+s*u[1];var h=t.__t<1?u[0]-l[0]:l[0]-u[0],c=t.__t<1?u[1]-l[1]:l[1]-u[1];t.rotation=-Math.atan2(c,h)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},e}(jk),$k=function(){this.polyline=!1,this.curveness=0,this.segs=[]},Jk=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return i(e,t),e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new $k},e.prototype.buildPath=function(t,e){var n,i=e.segs,r=e.curveness;if(e.polyline)for(n=this._off;n0){t.moveTo(i[n++],i[n++]);for(var a=1;a0){var c=(s+u)/2-(l-h)*r,d=(l+h)/2-(u-s)*r;t.quadraticCurveTo(c,d,u,h)}else t.lineTo(u,h)}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var n=this.shape,i=n.segs,r=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s0)for(var u=i[s++],h=i[s++],c=1;c0){if(ms(u,h,(u+d)/2-(h-p)*r,(h+p)/2-(d-u)*r,d,p,o,t,e))return a}else if(gs(u,h,d,p,o,t,e))return a;a++}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape.segs,n=1/0,i=1/0,r=-1/0,o=-1/0,a=0;a0&&(o.dataIndex=n+t.__startIndex)}))},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),tP={seriesType:"lines",plan:Og(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(r,o){var a=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var u=0,h=r.start;h0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var u=t.get("clip",!0)&&Aw(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=tP.reset(t,e,n);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,i=this._showEffect(e),r=!!e.get("polyline"),o=e.pipelineContext.large;return n&&i===this._hasEffet&&r===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new Qk:new GA(r?i?Kk:qk:i?jk:FA),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=o),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.type="lines",e}(Eg),nP="undefined"==typeof Uint32Array?Array:Uint32Array,iP="undefined"==typeof Float64Array?Array:Float64Array;function rP(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=V(e,(function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),D([e,t[0],t[1]])})))}var oP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return i(e,t),e.prototype.init=function(e){e.data=e.data||[],rP(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if(rP(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=yt(this._flatCoords,e.flatCoords),this._flatCoordsOffset=yt(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t);return e.option instanceof Array?e.option:e.getShallow("coords")},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(Mg);function aP(t){return t instanceof Array||(t=[t,t]),t}var sP={seriesType:"lines",reset:function(t){var e=aP(t.get("symbol")),n=aP(t.get("symbolSize")),i=t.getData();return i.setVisual("fromSymbol",e&&e[0]),i.setVisual("toSymbol",e&&e[1]),i.setVisual("fromSymbolSize",n&&n[0]),i.setVisual("toSymbolSize",n&&n[1]),{dataEach:i.hasItemOption?function(t,e){var n=t.getItemModel(e),i=aP(n.getShallow("symbol",!0)),r=aP(n.getShallow("symbolSize",!0));i[0]&&t.setItemVisual(e,"fromSymbol",i[0]),i[1]&&t.setItemVisual(e,"toSymbol",i[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}:null}}},lP=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=c.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,i,r,o){var a=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,h=this.canvas,c=h.getContext("2d"),d=t.length;h.width=e,h.height=n;for(var p=0;p0){var I=o(m)?s:l;m>0&&(m=m*S+w),x[_++]=I[M],x[_++]=I[M+1],x[_++]=I[M+2],x[_++]=I[M+3]*m*256}else _+=4}return c.putImageData(y,0,0),h},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=c.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,r),i[o++]=r[0],i[o++]=r[1],i[o++]=r[2],i[o++]=r[3];return i},t}();function uP(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var hP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var i;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):uP(r)&&this._renderOnGeo(r,t,i,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,i){var r=e.coordinateSystem;r&&(uP(r)?this.render(e,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){nc(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,i,r){var o,a,s,l,u=t.coordinateSystem,h=Dw(u,"cartesian2d");if(h){var c=u.getAxis("x"),d=u.getAxis("y");o=c.getBandWidth()+.5,a=d.getBandWidth()+.5,s=c.scale.getExtent(),l=d.scale.getExtent()}for(var p=this.group,f=t.getData(),g=t.getModel(["emphasis","itemStyle"]).getItemStyle(),v=t.getModel(["blur","itemStyle"]).getItemStyle(),m=t.getModel(["select","itemStyle"]).getItemStyle(),y=t.get(["itemStyle","borderRadius"]),x=lc(t),_=t.getModel("emphasis"),b=_.get("focus"),w=_.get("blurScope"),S=_.get("disabled"),M=h?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],I=n;Is[1]||Dl[1])continue;var L=u.dataToPoint([A,D]);T=new Zs({shape:{x:L[0]-o/2,y:L[1]-a/2,width:o,height:a},style:C})}else{if(isNaN(f.get(M[1],I)))continue;T=new Zs({z2:1,shape:u.dataToRect([f.get(M[0],I)]).contentShape,style:C})}if(f.hasItemOption){var k=f.getItemModel(I),P=k.getModel("emphasis");g=P.getModel("itemStyle").getItemStyle(),v=k.getModel(["blur","itemStyle"]).getItemStyle(),m=k.getModel(["select","itemStyle"]).getItemStyle(),y=k.get(["itemStyle","borderRadius"]),b=P.get("focus"),w=P.get("blurScope"),S=P.get("disabled"),x=lc(k)}T.shape.r=y;var O=t.getRawValue(I),R="-";O&&null!=O[2]&&(R=O[2]+""),sc(T,x,{labelFetcher:t,labelDataIndex:I,defaultOpacity:C.opacity,defaultText:R}),T.ensureState("emphasis").style=g,T.ensureState("blur").style=v,T.ensureState("select").style=m,$l(T,b,w,S),T.incremental=r,r&&(T.states.emphasis.hoverLayer=!0),p.add(T),f.setItemGraphicEl(I,T),this._progressiveEls&&this._progressiveEls.push(T)}},e.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new lP;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),u=t.getRoamTransform();l.applyTransform(u);var h=Math.max(l.x,0),c=Math.max(l.y,0),d=Math.min(l.width+l.x,i.getWidth()),p=Math.min(l.height+l.y,i.getHeight()),f=d-h,g=p-c,v=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],m=a.mapArray(v,(function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=h,r[1]-=c,r.push(i),r})),y=n.getExtent(),x="visualMap.continuous"===n.type?function(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}(y,n.option.range):function(t,e,n){var i=t[1]-t[0],r=(e=V(e,(function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}}))).length,o=0;return function(t){var i;for(i=o;i=0;i--){var a;if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}}return i>=0&&i=0?1:-1:o>0?1:-1}(n,o,r,i,c),function(t,e,n,i,r,o,a,s,l,u){var h,c=l.valueDim,d=l.categoryDim,p=Math.abs(n[d.wh]),f=t.getItemVisual(e,"symbolSize");(h=Y(f)?f.slice():null==f?["100%","100%"]:[f,f])[d.index]=no(h[d.index],p),h[c.index]=no(h[c.index],i?p:Math.abs(o)),u.symbolSize=h;var g=u.symbolScale=[h[0]/s,h[1]/s];g[c.index]*=(l.isHorizontal?-1:1)*a}(t,e,r,o,0,c.boundingLength,c.pxSign,u,i,c),function(t,e,n,i,r){var o=t.get(dP)||0;o&&(fP.attr({scaleX:e[0],scaleY:e[1],rotation:n}),fP.updateTransform(),o/=fP.getLineScale(),o*=e[i.valueDim.index]),r.valueLineWidth=o||0}(n,c.symbolScale,l,i,c);var d=c.symbolSize,p=Kv(n.get("symbolOffset"),d);return function(t,e,n,i,r,o,a,s,l,u,h,c){var d=h.categoryDim,p=h.valueDim,f=c.pxSign,g=Math.max(e[p.index]+s,0),v=g;if(i){var m=Math.abs(l),y=rt(t.get("symbolMargin"),"15%")+"",x=!1;y.lastIndexOf("!")===y.length-1&&(x=!0,y=y.slice(0,y.length-1));var _=no(y,e[p.index]),b=Math.max(g+2*_,0),w=x?0:2*_,S=wo(i),M=S?i:PP((m+w)/b);b=g+2*(_=(m-M*g)/2/(x?M:Math.max(M-1,1))),w=x?0:2*_,S||"fixed"===i||(M=u?PP((Math.abs(u)+w)/b):0),v=M*b-w,c.repeatTimes=M,c.symbolMargin=_}var I=f*(v/2),T=c.pathPosition=[];T[d.index]=n[d.wh]/2,T[p.index]="start"===a?I:"end"===a?l-I:l/2,o&&(T[0]+=o[0],T[1]+=o[1]);var C=c.bundlePosition=[];C[d.index]=n[d.xy],C[p.index]=n[p.xy];var A=c.barRectShape=L({},n);A[p.wh]=f*Math.max(Math.abs(n[p.wh]),Math.abs(T[p.index]+I)),A[d.wh]=n[d.wh];var D=c.clipShape={};D[d.xy]=-n[d.xy],D[d.wh]=h.ecSize[d.wh],D[p.xy]=0,D[p.wh]=n[p.wh]}(n,d,r,o,0,p,s,c.valueLineWidth,c.boundingLength,c.repeatCutLength,i,c),c}function mP(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function yP(t){var e=t.symbolPatternSize,n=jv(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function xP(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,h=0,c=o[e.valueDim.index]+a+2*n.symbolMargin;for(DP(t,(function(t){t.__pictorialAnimationIndex=h,t.__pictorialRepeatTimes=u,h0:i<0)&&(r=u-1-t),e[l.index]=c*(r-u/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function _P(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?LP(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,i):(o=t.__pictorialMainPath=yP(n),r.add(o),LP(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,i))}function bP(t,e,n){var i=L({},e.barRectShape),r=t.__pictorialBarRect;r?LP(r,null,{shape:i},e,n):((r=t.__pictorialBarRect=new Zs({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(r))}function wP(t,e,n,i){if(n.symbolClip){var r=t.__pictorialClipPath,o=L({},n.clipShape),a=e.valueDim,s=n.animationModel,l=n.dataIndex;if(r)bh(r,{shape:o},s,l);else{o[a.wh]=0,r=new Zs({shape:o}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r;var u={};u[a.wh]=n.clipShape[a.wh],ic[i?"updateProps":"initProps"](r,{shape:u},s,l)}}}function SP(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=MP,n.isAnimationEnabled=IP,n}function MP(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function IP(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function TP(t,e,n,i){var r=new Wr,o=new Wr;return r.add(o),r.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?xP(r,e,n):_P(r,0,n),bP(r,n,i),wP(r,e,n,i),r.__pictorialShapeStr=AP(t,n),r.__pictorialSymbolMeta=n,r}function CP(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var o=[];DP(i,(function(t){o.push(t)})),i.__pictorialMainPath&&o.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),z(o,(function(t){Mh(t,{scaleX:0,scaleY:0},n,e,(function(){i.parent&&i.parent.remove(i)}))})),t.setItemGraphicEl(e,null)}function AP(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function DP(t,e,n){z(t.__pictorialBundle.children(),(function(i){i!==t.__pictorialBarRect&&e.call(n,i)}))}function LP(t,e,n,i,r,o){e&&t.attr(e),i.symbolClip&&!r?n&&t.attr(n):n&&ic[r?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,o)}function kP(t,e,n){var i=n.dataIndex,r=n.itemModel,o=r.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),l=r.getModel(["select","itemStyle"]).getItemStyle(),u=r.getShallow("cursor"),h=o.get("focus"),c=o.get("blurScope"),d=o.get("scale");DP(t,(function(t){if(t instanceof Bs){var e=t.style;t.useStyle(L({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var i=t.ensureState("emphasis");i.style=a,d&&(i.scaleX=1.1*t.scaleX,i.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,u&&(t.cursor=u),t.z2=n.z2}));var p=e.valueDim.posDesc[+(n.boundingLength>0)],f=t.__pictorialBarRect;f.ignoreClip=!0,sc(f,lc(r),{labelFetcher:e.seriesModel,labelDataIndex:i,defaultText:lw(e.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:p}),$l(t,h,c,o.get("disabled"))}function PP(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var OP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return i(e,t),e.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=Rc(Zw.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(Zw),RP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return i(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this,o=this.group,a=t.getLayerSeries(),s=i.getLayout("layoutInfo"),l=s.rect,u=s.boundaryGap;function h(t){return t.name}o.x=0,o.y=l.y+u[0];var c=new Xy(this._layersSeries||[],a,h,h),d=[];function p(e,n,s){var l=r._layers;if("remove"!==e){for(var u,h,c=[],p=[],f=a[n].indices,g=0;go&&(o=s),i.push(s)}for(var u=0;uo&&(o=c)}return{y0:r,max:o}}(l),h=u.y0,c=n/u.max,d=o.length,p=o[0].indices.length,f=0;fI&&!po(C-I)&&C0?(r.virtualPiece?r.virtualPiece.updateData(!1,i,t,e,n):(r.virtualPiece=new VP(i,t,e,n),l.add(r.virtualPiece)),o.piece.off("click"),r.virtualPiece.on("click",(function(t){r._rootToNode(o.parentNode)}))):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null)}(a,s),this._initEvents(),this._oldChildren=h},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",(function(e){var n=!1;t.seriesModel.getViewRoot().eachNode((function(i){if(!n&&i.piece&&i.piece===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var o=i.getModel(),a=o.get("link");a&&Dd(a,o.get("target",!0)||"_blank")}n=!0}}))}))},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:BP,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}},e.type="sunburst",e}(Eg),HP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return i(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};WP(n);var i=this._levelModels=V(t.levels||[],(function(t){return new kc(t,this,e)}),this),r=QT.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e),o=i[n.depth];return o&&(t.parentModel=o),t}))}));return r.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=iC(i,this),n},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){uC(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(Mg);function WP(t){var e=0;z(t.children,(function(t){WP(t);var n=t.value;Y(n)&&(n=n[0]),e+=n}));var n=t.value;Y(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),Y(t.value)?t.value[0]=n:t.value=n}var UP=Math.PI/180;function YP(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),i=t.get("radius");Y(i)||(i=[0,i]),Y(e)||(e=[e,e]);var r=n.getWidth(),o=n.getHeight(),a=Math.min(r,o),s=no(e[0],r),l=no(e[1],o),u=no(i[0],a/2),h=no(i[1],a/2),c=-t.get("startAngle")*UP,d=t.get("minAngle")*UP,p=t.getData().tree.root,f=t.getViewRoot(),g=f.depth,v=t.get("sort");null!=v&&ZP(f,v);var m=0;z(f.children,(function(t){!isNaN(t.getValue())&&m++}));var y=f.getValue(),x=Math.PI/(y||m)*2,_=f.depth>0,b=f.height-(_?-1:1),w=(h-u)/(b||1),S=t.get("clockwise"),M=t.get("stillShowZeroSum"),I=S?1:-1,T=function(e,n){if(e){var i=n;if(e!==p){var r=e.getValue(),o=0===y&&M?x:r*x;o1;)r=r.parentNode;var o=n.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&X(o)&&(o=ei(o,(t.depth-1)/(i-1)*.5)),o}(r,t,i.root.height)),L(n.ensureUniqueItemVisual(r.dataIndex,"style"),o)}))}))}var jP={color:"fill",borderColor:"stroke"},qP={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},KP=Ho(),$P=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return Ax(null,this)},e.prototype.getDataParams=function(e,n,i){var r=t.prototype.getDataParams.call(this,e,n);return i&&(r.info=KP(i).info),r},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(Mg);function JP(t,e){return e=e||[0,0],V(["x","y"],(function(n,i){var r=this.getAxis(n),o=e[i],a=t[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))}),this)}function QP(t,e){return e=e||[0,0],V([0,1],(function(n){var i=e[n],r=t[n]/2,o=[],a=[];return o[n]=i-r,a[n]=i+r,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function tO(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function eO(t,e){return e=e||[0,0],V(["Radius","Angle"],(function(n,i){var r=this["get"+n+"Axis"](),o=e[i],a=t[i]/2,s="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a));return"Angle"===n&&(s=s*Math.PI/180),s}),this)}function nO(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&"tspan"!==e&&("text"===e||bt(t,"text")))}function iO(t,e,n){var i,r,o,a=t;if("text"===e)o=a;else{o={},bt(a,"text")&&(o.text=a.text),bt(a,"rich")&&(o.rich=a.rich),bt(a,"textFill")&&(o.fill=a.textFill),bt(a,"textStroke")&&(o.stroke=a.textStroke),bt(a,"fontFamily")&&(o.fontFamily=a.fontFamily),bt(a,"fontSize")&&(o.fontSize=a.fontSize),bt(a,"fontStyle")&&(o.fontStyle=a.fontStyle),bt(a,"fontWeight")&&(o.fontWeight=a.fontWeight),r={type:"text",style:o,silent:!0},i={};var s=bt(a,"textPosition");n?i.position=s?a.textPosition:"inside":s&&(i.position=a.textPosition),bt(a,"textPosition")&&(i.position=a.textPosition),bt(a,"textOffset")&&(i.offset=a.textOffset),bt(a,"textRotation")&&(i.rotation=a.textRotation),bt(a,"textDistance")&&(i.distance=a.textDistance)}return rO(o,t),z(o.rich,(function(t){rO(t,t)})),{textConfig:i,textContent:r}}function rO(t,e){e&&(e.font=e.textFont||e.font,bt(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),bt(e,"textAlign")&&(t.align=e.textAlign),bt(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),bt(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),bt(e,"textWidth")&&(t.width=e.textWidth),bt(e,"textHeight")&&(t.height=e.textHeight),bt(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),bt(e,"textPadding")&&(t.padding=e.textPadding),bt(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),bt(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),bt(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),bt(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),bt(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),bt(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),bt(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function oO(t,e,n){var i=t;i.textPosition=i.textPosition||n.position||"inside",null!=n.offset&&(i.textOffset=n.offset),null!=n.rotation&&(i.textRotation=n.rotation),null!=n.distance&&(i.textDistance=n.distance);var r=i.textPosition.indexOf("inside")>=0,o=t.fill||"#000";aO(i,e);var a=null==i.textFill;return r?a&&(i.textFill=n.insideFill||"#fff",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=o),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(a&&(i.textFill=t.fill||n.outsideFill||"#000"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=e.text,i.rich=e.rich,z(e.rich,(function(t){aO(t,t)})),i}function aO(t,e){e&&(bt(e,"fill")&&(t.textFill=e.fill),bt(e,"stroke")&&(t.textStroke=e.fill),bt(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),bt(e,"font")&&(t.font=e.font),bt(e,"fontStyle")&&(t.fontStyle=e.fontStyle),bt(e,"fontWeight")&&(t.fontWeight=e.fontWeight),bt(e,"fontSize")&&(t.fontSize=e.fontSize),bt(e,"fontFamily")&&(t.fontFamily=e.fontFamily),bt(e,"align")&&(t.textAlign=e.align),bt(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),bt(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),bt(e,"width")&&(t.textWidth=e.width),bt(e,"height")&&(t.textHeight=e.height),bt(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),bt(e,"padding")&&(t.textPadding=e.padding),bt(e,"borderColor")&&(t.textBorderColor=e.borderColor),bt(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),bt(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),bt(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),bt(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),bt(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),bt(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),bt(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),bt(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),bt(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),bt(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var sO={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},lO=H(sO);B(wr,(function(t,e){return t[e]=1,t}),{}),wr.join(", ");var uO=["","style","shape","extra"],hO=Ho();function cO(t,e,n,i,r){var o=t+"Animation",a=xh(t,i,r)||{},s=hO(e).userDuring;return a.duration>0&&(a.during=s?W(yO,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),L(a,n[o]),a}function dO(t,e,n,i){var r=(i=i||{}).dataIndex,o=i.isInit,a=i.clearStyle,s=n.isAnimationEnabled(),l=hO(t),u=e.style;l.userDuring=e.during;var h={},c={};if(function(t,e,n){for(var i=0;i=0)){var c=t.getAnimationStyleProps(),d=c?c.style:null;if(d){!r&&(r=i.style={});var p=H(n);for(u=0;u0&&t.animateFrom(d,p)}else!function(t,e,n,i,r){if(r){var o=cO("update",t,e,i,n);o.duration>0&&t.animateFrom(r,o)}}(t,e,r||0,n,h);pO(t,e),u?t.dirty():t.markRedraw()}function pO(t,e){for(var n=hO(t).leaveToProps,i=0;i=0){!o&&(o=i[t]={});var d=H(a);for(h=0;hi[1]&&i.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=e.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:W(eO,t)}}},calendar:function(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}};function EO(t){return t instanceof Rs}function zO(t){return t instanceof Pa}var VO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._data,o=t.getData(),a=this.group,s=WO(t,o,e,n);r||a.removeAll(),o.diff(r).add((function(e){YO(n,null,e,s(e,i),t,a,o)})).remove((function(e){var n=r.getItemGraphicEl(e);n&&fO(n,KP(n).option,t)})).update((function(e,l){var u=r.getItemGraphicEl(l);YO(n,u,e,s(e,i),t,a,o)})).execute();var l=t.get("clip",!0)?Aw(t.coordinateSystem,!1,t):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,n,i,r){var o=e.getData(),a=WO(e,o,n,i),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var u=t.start;u=0?e.getStore().get(r,n):void 0}var o=e.get(i.name,n),a=i&&i.ordinalMeta;return a?a.categories[o]:o},styleEmphasis:function(n,i){null==i&&(i=s);var r=y(i,TO).getItemStyle(),o=x(i,TO),a=uc(o,null,null,!0,!0);a.text=o.getShallow("show")?at(t.getFormattedLabel(i,TO),t.getFormattedLabel(i,CO),lw(e,i)):null;var l=hc(o,null,!0);return b(n,r),r=oO(r,a,l),n&&_(r,n),r.legacy=!0,r},visual:function(t,n){if(null==n&&(n=s),bt(jP,t)){var i=e.getItemVisual(n,"style");return i?i[jP[t]]:null}if(bt(qP,t))return e.getItemVisual(n,t)},barLayout:function(t){if("cartesian2d"===o.type)return function(t){var e=[],n=t.axis,i="axis0";if("category"===n.type){for(var r=n.getBandWidth(),o=0;o=c;f--){var g=e.childAt(f);$O(e,g,r)}}}(t,c,n,i,r),a>=0?o.replaceAt(c,a):o.add(c),c}function XO(t,e,n){var i,r=KP(t),o=e.type,a=e.shape,s=e.style;return n.isUniversalTransitionEnabled()||null!=o&&o!==r.customGraphicType||"path"===o&&(i=a)&&(bt(i,"pathData")||bt(i,"d"))&&eR(a)!==r.customPathData||"image"===o&&bt(s,"image")&&s.image!==r.customImagePath}function jO(t,e,n){var i=e?qO(t,e):t,r=e?KO(t,i,TO):t.style,o=t.type,a=i?i.textConfig:null,s=t.textContent,l=s?e?qO(s,e):s:null;if(r&&(n.isLegacy||nO(r,o,!!a,!!l))){n.isLegacy=!0;var u=iO(r,o,!e);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var h=l;!h.type&&(h.type="text")}var c=e?n[e]:n.normal;c.cfg=a,c.conOpt=l}function qO(t,e){return e?t?t[e]:null:t}function KO(t,e,n){var i=e&&e.style;return null==i&&n===TO&&t&&(i=t.styleEmphasis),i}function $O(t,e,n){e&&fO(e,KP(t).option,n)}function JO(t,e){var n=t&&t.name;return null!=n?n:"e\0\0"+e}function QO(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;ZO(n.api,r,n.dataIndex,i,n.seriesModel,n.group)}function tR(t){var e=this.context,n=e.oldChildren[t];n&&fO(n,KP(n).option,e.seriesModel)}function eR(t){return t&&(t.pathData||t.d)}var nR=Ho(),iR=C,rR=W,oR=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==o){this._lastValue=r,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var l={};this.makeElOption(l,r,t,e,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var h=this._moveAnimation=this.determineAnimation(t,e);if(a){var c=U(aR,e,h);this.updatePointerEl(a,l,c),this.updateLabelEl(a,l,c,e)}else a=this._group=new Wr,this.createPointerEl(a,l,t,e),this.createLabelEl(a,l,t,e),n.getZr().add(a);hR(a,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=_M(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var o=nR(t).pointerEl=new ic[r.type](iR(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=nR(t).labelEl=new qs(iR(e.label));t.add(r),lR(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=nR(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=nR(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),lR(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=Kh(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){ge(t.event)},onmousedown:rR(this._onHandleDragMove,this,0,0),drift:rR(this._onHandleDragMove,this),ondragend:rR(this._onHandleDragEnd,this)}),i.add(r)),hR(r,n,!1),r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");Y(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,Zg(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){aR(this._axisPointerModel,!e&&this._moveAnimation,this._handle,uR(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(uR(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(uR(i)),nR(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),Xg(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function aR(t,e,n,i){sR(nR(n).lastProp,i)||(nR(n).lastProp=i,e?bh(n,i,t):(n.stopAnimation(),n.attr(i)))}function sR(t,e){if(K(t)&&K(e)){var n=!0;return z(e,(function(e,i){n=n&&sR(t[i],e)})),!!n}return t===e}function lR(t,e){t[e.get(["label","show"])?"show":"hide"]()}function uR(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function hR(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}function cR(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e}function dR(t,e,n,i,r){var o=pR(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),a=n.getModel("label"),s=bd(a.get("padding")||0),l=a.getFont(),u=Cr(o,l),h=r.position,c=u.width+s[1]+s[3],d=u.height+s[0]+s[2],p=r.align;"right"===p&&(h[0]-=c),"center"===p&&(h[0]-=c/2);var f=r.verticalAlign;"bottom"===f&&(h[1]-=d),"middle"===f&&(h[1]-=d/2),function(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(h,c,d,i);var g=a.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:h[0],y:h[1],style:uc(a,{text:o,font:l,fill:a.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function pR(t,e,n,i,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),a=r.formatter;if(a){var s={value:L_(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};z(i,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&s.seriesData.push(r)})),X(a)?o=a.replace("{value}",o):Z(a)&&(o=a(s))}return o}function fR(t,e,n){var i=[1,0,0,1,0,0];return Ie(i,i,n.rotation),Me(i,i,n.position),Uh([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function gR(t,e,n,i,r,o){var a=dM.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),dR(e,i,r,o,{position:fR(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function vR(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function mR(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function yR(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}var xR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=_R(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var h=cR(i),c=bR[s](o,u,l);c.style=h,t.graphicKey=c.type,t.pointer=c}gR(e,t,nM(a.model,n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=nM(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=fR(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=_R(o,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var h=(s[1]+s[0])/2,c=[h,h];return c[l]=u[l],{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:c,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(oR);function _R(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var bR={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:vR([e,n[0]],[e,n[1]],wR(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:mR([e-i/2,n[0]],[i,r],wR(t))}}};function wR(t){return"x"===t.dim?0:1}var SR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(Hd),MR=Ho(),IR=z;function TR(t,e,n){if(!o.node){var i=e.getZr();MR(i).records||(MR(i).records={}),function(t,e){function n(n,i){t.on(n,(function(n){var r=function(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}(e);IR(MR(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),function(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}(r.pendings,e)}))}MR(t).initialized||(MR(t).initialized=!0,n("click",U(AR,"click")),n("mousemove",U(AR,"mousemove")),n("globalout",CR))}(i,e),(MR(i).records[t]||(MR(i).records[t]={})).handler=n}}function CR(t,e,n){t.handler("leave",null,n)}function AR(t,e,n,i){e.handler(t,n,i)}function DR(t,e){if(!o.node){var n=e.getZr();(MR(n).records||{})[t]&&(MR(n).records[t]=null)}}var LR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";TR("axisPointer",n,(function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){DR("axisPointer",e)},e.prototype.dispose=function(t,e){DR("axisPointer",e)},e.type="axisPointer",e}(Pg);function kR(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var o=n.getData(),a=Go(o,t);if(null==a||a<0||Y(a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),h=l.getOtherAxis(u).dim,c=u.dim,d="x"===h||"radius"===h?1:0,p=o.mapDimension(c),f=[];f[d]=o.get(p,a),f[1-d]=o.get(o.getCalculationInfo("stackResultDimension"),a),i=l.dataToPoint(f)||[]}else i=l.dataToPoint(o.getValues(V(l.dimensions,(function(t){return o.mapDimension(t)})),a))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),i=[g.x+g.width/2,g.y+g.height/2]}return{point:i,el:s}}var PR=Ho();function OR(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchAction||W(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){VR(r)&&(r=kR({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=VR(r),u=o.axesInfo,h=s.axesInfo,c="leave"===i||VR(r),d={},p={},f={list:[],map:{}},g={showPointer:U(NR,p),showTooltip:U(ER,f)};z(s.coordSysMap,(function(t,e){var n=l||t.containPoint(r);z(s.coordSysAxesInfo[e],(function(t,e){var i=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(u,t);if(!c&&n&&(!u||o)){var a=o&&o.value;null!=a||l||(a=i.pointToData(r)),null!=a&&RR(t,a,g,!1,d)}}))}));var v={};return z(h,(function(t,e){var n=t.linkGroup;n&&!p[e]&&z(n.axesInfo,(function(e,i){var r=p[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,zR(e),zR(t)))),v[t.key]=o}}))})),z(v,(function(t,e){RR(h[e],t,g,!0,d)})),function(t,e,n){var i=n.axesInfo=[];z(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}(p,h,d),function(t,e,n,i){if(!VR(e)&&t.list.length){var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}else i({type:"hideTip"})}(f,r,t,a),function(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",o=PR(i)[r]||{},a=PR(i)[r]={};z(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&z(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var s=[],l=[];z(o,(function(t,e){!a[e]&&l.push(t)})),z(a,(function(t,e){!o[e]&&s.push(t)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(h,0,n),d}}function RR(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=function(t,e){var n=e.axis,i=n.dim,r=t,o=[],a=Number.MAX_VALUE,s=-1;return z(e.seriesModels,(function(e,l){var u,h,c=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var d=e.getAxisTooltipData(c,t,n);h=d.dataIndices,u=d.nestestValue}else{if(!(h=e.getData().indicesOfNearest(c[0],t,"category"===n.type?.5:null)).length)return;u=e.getData().get(c[0],h[0])}if(null!=u&&isFinite(u)){var p=t-u,f=Math.abs(p);f<=a&&((f=0&&s<0)&&(a=f,s=p,r=u,o.length=0),z(h,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}(e,t),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==r.seriesIndex&&L(r,s[0]),!i&&t.snap&&o.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,a,l)}else n.showPointer(t,e)}function NR(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function ER(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=wM(l),h=t.map[u];h||(h=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function zR(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function VR(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function BR(t){MM.registerAxisPointerClass("CartesianAxisPointer",xR),t.registerComponentModel(SR),t.registerComponentView(LR),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!Y(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=yM(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},OR)}function FR(t){W_(EM),W_(BR)}var GR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o).getExtent(),l=o.dataToCoord(e),u=i.get("type");if(u&&"none"!==u){var h=cR(i),c=HR[u](o,a,l,s);c.style=h,t.graphicKey=c.type,t.pointer=c}var d=function(t,e,n,i,r){var o=e.axis,a=o.dataToCoord(t),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,h,c=i.getRadiusAxis().getExtent();if("radius"===o.dim){var d=[1,0,0,1,0,0];Ie(d,d,s),Me(d,d,[i.cx,i.cy]),l=Uh([a,-r],d);var p=e.getModel("axisLabel").get("rotate")||0,f=dM.innerTextLayout(s,p*Math.PI/180,-1);u=f.textAlign,h=f.textVerticalAlign}else{var g=c[1];l=i.coordToPoint([g+r,a]);var v=i.cx,m=i.cy;u=Math.abs(l[0]-v)/g<.3?"center":l[0]>v?"left":"right",h=Math.abs(l[1]-m)/g<.3?"middle":l[1]>m?"top":"bottom"}return{position:l,align:u,verticalAlign:h}}(e,n,0,a,i.get(["label","margin"]));dR(t,n,i,r,d)},e}(oR),HR={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:vR(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var r=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:yR(e.cx,e.cy,i[0],i[1],(-n-r/2)*o,(r/2-n)*o)}:{type:"Sector",shape:yR(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}},WR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.findAxisModel=function(t){var e;return this.ecModel.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(Hd),UR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Zo).models[0]},e.type="polarAxis",e}(Hd);N(UR,N_);var YR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="angleAxis",e}(UR),ZR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="radiusAxis",e}(UR),XR=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return i(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(xb);XR.prototype.dataToRadius=xb.prototype.dataToCoord,XR.prototype.radiusToData=xb.prototype.coordToData;var jR=Ho(),qR=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return i(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),n=t.scale,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var o=i[0],a=t.dataToCoord(o+1)-t.dataToCoord(o),s=Math.abs(a),l=Cr(null==o?"":o+"",e.getFont(),"center","top"),u=Math.max(l.height,7)/s;isNaN(u)&&(u=1/0);var h=Math.max(0,Math.floor(u)),c=jR(t.model),d=c.lastAutoInterval,p=c.lastTickCount;return null!=d&&null!=p&&Math.abs(d-h)<=1&&Math.abs(p-r)<=1&&d>h?h=d:(c.lastTickCount=r,c.lastAutoInterval=h),h},e}(xb);qR.prototype.dataToAngle=xb.prototype.dataToCoord,qR.prototype.angleToData=xb.prototype.coordToData;var KR=["radius","angle"],$R=function(){function t(t){this.dimensions=KR,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new XR,this._angleAxis=new qR,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){return this["_"+t+"Axis"]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,u=la;)l+=360*u;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),i=Math.PI/180,r=1e-4;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,o=n*n+i*i,a=this.r,s=this.r0;return a!==s&&o-r<=a*a&&o+r>=s*s}}},t.prototype.convertToPixel=function(t,e,n){return JR(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return JR(e)===this?this.pointToData(n):null},t}();function JR(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}function QR(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();z(R_(e,"radius"),(function(t){r.scale.unionExtentFromData(e,t)})),z(R_(e,"angle"),(function(t){i.scale.unionExtentFromData(e,t)}))}})),C_(i.scale,i.model),C_(r.scale,r.model),"category"===i.type&&!i.onBand){var o=i.getExtent(),a=360/i.scale.count();i.inverse?o[1]+=a:o[1]-=a,i.setExtent(o[0],o[1])}}function tN(t,e){var n;if(t.type=e.get("type"),t.scale=A_(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),function(t){return"angleAxis"===t.mainType}(e)){t.inverse=t.inverse!==e.get("clockwise");var i=e.get("startAngle"),r=null!==(n=e.get("endAngle"))&&void 0!==n?n:i+(t.inverse?-360:360);t.setExtent(i,r)}e.axis=t,t.model=e}var eN={dimensions:KR,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,i){var r=new $R(i+"");r.update=QR;var o=r.getRadiusAxis(),a=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");tN(o,s),tN(a,l),function(t,e,n){var i=e.get("center"),r=n.getWidth(),o=n.getHeight();t.cx=no(i[0],r),t.cy=no(i[1],o);var a=t.getRadiusAxis(),s=Math.min(r,o)/2,l=e.get("radius");null==l?l=[0,"100%"]:Y(l)||(l=[0,l]);var u=[no(l[0],s),no(l[1],s)];a.inverse?a.setExtent(u[1],u[0]):a.setExtent(u[0],u[1])}(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",Zo).models[0];t.coordinateSystem=e.coordinateSystem}})),n}},nN=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function iN(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function rN(t){return t.getRadiusAxis().inverse?0:1}function oN(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var aN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return i(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=V(n.getViewLabels(),(function(t){t=C(t);var e=n.scale,i="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(i),t}));oN(s),oN(o),z(nN,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||sN[e](this.group,t,i,o,a,r,s)}),this)}},e.type="angleAxis",e}(MM),sN={axisLine:function(t,e,n,i,r,o){var a,s=e.getModel(["axisLine","lineStyle"]),l=n.getAngleAxis(),u=Math.PI/180,h=l.getExtent(),c=rN(n),d=c?0:1,p=360===Math.abs(h[1]-h[0])?"Circle":"Arc";(a=0===o[d]?new ic[p]({shape:{cx:n.cx,cy:n.cy,r:o[c],startAngle:-h[0]*u,endAngle:-h[1]*u,clockwise:l.inverse},style:s.getLineStyle(),z2:1,silent:!0}):new Zu({shape:{cx:n.cx,cy:n.cy,r:o[c],r0:o[d]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(a)},axisTick:function(t,e,n,i,r,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[rN(n)],u=V(i,(function(t){return new th({shape:iN(n,[l,l+s],t.coord)})}));t.add(Bh(u,{style:k(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=o[rN(n)],h=[],c=0;cf?"left":"right",m=Math.abs(p[1]-g)/d<.3?"middle":p[1]>g?"top":"bottom";if(s&&s[c]){var y=s[c];K(y)&&y.textStyle&&(a=new kc(y.textStyle,l,l.ecModel))}var x=new qs({silent:dM.isLabelSilent(e),style:uc(a,{x:p[0],y:p[1],fill:a.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:i.formattedLabel,align:v,verticalAlign:m})});if(t.add(x),h){var _=dM.makeAxisEventDataBase(e);_.targetType="axisLabel",_.value=i.rawLabel,ll(x).eventData=_}}),this)},splitLine:function(t,e,n,i,r,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],h=0;h=0?"p":"n",C=b;y&&(i[s][I]||(i[s][I]={p:b,n:b}),C=i[s][I][T]);var A=void 0,D=void 0,L=void 0,k=void 0;if("radius"===c.dim){var P=c.dataToCoord(M)-b,O=o.dataToCoord(I);Math.abs(P)=k})}}}))}var gN={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},vN={splitNumber:5},mN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="polar",e}(Pg);function yN(t,e){e=e||{};var n=t.coordinateSystem,i=t.axis,r={},o=i.position,a=i.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};r.position=["vertical"===a?u.vertical[o]:l[0],"horizontal"===a?u.horizontal[o]:l[3]],r.rotation=Math.PI/2*{horizontal:0,vertical:1}[a],r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],t.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),rt(e.labelInside,t.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var h=e.rotate;return null==h&&(h=t.get(["axisLabel","rotate"])),r.labelRotation="top"===o?-h:h,r.z2=1,r}var xN=["axisLine","axisTickLabel","axisName"],_N=["splitArea","splitLine"],bN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="SingleAxisPointer",n}return i(e,t),e.prototype.render=function(e,n,i,r){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new Wr;var s=yN(e),l=new dM(e,s);z(xN,l.add,l),o.add(this._axisGroup),o.add(l.getGroup()),z(_N,(function(t){e.get([t,"show"])&&wN[t](this,this.group,this._axisGroup,e)}),this),Xh(a,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)},e.prototype.remove=function(){CM(this)},e.type="singleAxis",e}(MM),wN={splitLine:function(t,e,n,i){var r=i.axis;if(!r.scale.isBlank()){var o=i.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var l=a.get("width"),u=i.coordinateSystem.getRect(),h=r.isHorizontal(),c=[],d=0,p=r.getTicksCoords({tickModel:o}),f=[],g=[],v=0;v=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i},t.prototype.convertToPixel=function(t,e,n){return CN(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return CN(e)===this?this.pointToData(n):null},t}();function CN(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var AN={create:function(t,e){var n=[];return t.eachComponent("singleAxis",(function(i,r){var o=new TN(i,t,e);o.name="single_"+r,o.resize(i,e),i.coordinateSystem=o,n.push(o)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",Zo).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n},dimensions:IN},DN=["x","y"],LN=["width","height"],kN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.coordinateSystem,s=RN(a,1-ON(o)),l=a.dataToPoint(e)[0],u=i.get("type");if(u&&"none"!==u){var h=cR(i),c=PN[u](o,l,s);c.style=h,t.graphicKey=c.type,t.pointer=c}gR(e,t,yN(n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=yN(e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=fR(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.coordinateSystem,a=ON(r),s=RN(o,a),l=[t.x,t.y];l[a]+=e[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=RN(o,1-a),h=(u[1]+u[0])/2,c=[h,h];return c[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:c,tooltipOption:{verticalAlign:"middle"}}},e}(oR),PN={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:vR([e,n[0]],[e,n[1]],ON(t))}},shadow:function(t,e,n){var i=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:mR([e-i/2,n[0]],[i,r],ON(t))}}};function ON(t){return t.isHorizontal()?0:1}function RN(t,e){var n=t.getRect();return[n[DN[e]],n[DN[e]]+n[LN[e]]]}var NN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="single",e}(Pg),EN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(e,n,i){var r=Bd(e);t.prototype.init.apply(this,arguments),zN(e,r)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),zN(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(Hd);function zN(t,e){var n,i=t.cellSize;1===(n=Y(i)?i:t.cellSize=[i,i]).length&&(n[1]=n[0]);var r=V([0,1],(function(t){return function(t,e){return null!=t[Pd[e][0]]||null!=t[Pd[e][1]]&&null!=t[Pd[e][2]]}(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));Vd(t,e,{type:"box",ignoreSize:r})}var VN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,s,a,i),this._renderWeekText(t,s,o,a,i)},e.prototype._renderDayRect=function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),o=i.getCellWidth(),a=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,u=new Zs({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:r});n.add(u)}},e.prototype._renderLines=function(t,e,n,i){var r=this,o=t.coordinateSystem,a=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,h=0;u.time<=e.end.time;h++){d(u.formatedDate),0===h&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var c=u.date;c.setMonth(c.getMonth()+1),u=o.getDateInfo(c)}function d(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}d(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},e.prototype._getEdgesPoints=function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},e.prototype._drawSplitline=function(t,e,n){var i=new $u({z2:20,shape:{points:t},style:e});n.add(i)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var i=t.coordinateSystem,r=i.getDateInfo(e),o=[],a=0;a<7;a++){var s=i.getNextNDay(r.time,a),l=i.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},e.prototype._formatterLabel=function(t,e){return X(t)&&t?(n=t,z(e,(function(t,e){n=n.replace("{"+e+"}",t)})),n):Z(t)?t(e):e.nameMap;var n},e.prototype._yearTextPositionControl=function(t,e,n,i,r){var o=e[0],a=e[1],s=["center","bottom"];"bottom"===i?(a+=r,s=["center","top"]):"left"===i?o-=r:"right"===i?(o+=r,s=["center","top"]):a-=r;var l=0;return"left"!==i&&"right"!==i||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,n,i){var r=t.getModel("yearLabel");if(r.get("show")){var o=r.get("margin"),a=r.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,h="horizontal"===n?0:1,c={top:[l,s[h][1]],bottom:[l,s[1-h][1]],left:[s[1-h][0],u],right:[s[h][0],u]},d=e.start.y;+e.end.y>+e.start.y&&(d=d+"-"+e.end.y);var p=r.get("formatter"),f={start:e.start.y,end:e.end.y,nameMap:d},g=this._formatterLabel(p,f),v=new qs({z2:30,style:uc(r,{text:g}),silent:r.get("silent")});v.attr(this._yearTextPositionControl(v,c[a],n,a,o)),i.add(v)}},e.prototype._monthTextPositionControl=function(t,e,n,i,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(o="center"),"start"===i&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderMonthText=function(t,e,n,i){var r=t.getModel("monthLabel");if(r.get("show")){var o=r.get("nameMap"),a=r.get("margin"),s=r.get("position"),l=r.get("align"),u=[this._tlpoints,this._blpoints];o&&!X(o)||(o&&(e=Hc(o)||e),o=e.get(["time","monthAbbr"])||[]);var h="start"===s?0:1,c="horizontal"===n?0:1;a="start"===s?-a:a;for(var d="center"===l,p=r.get("silent"),f=0;f=i.start.time&&n.timea.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var i=Math.floor(n[1].time/BN)-Math.floor(n[0].time/BN)+1,r=new Date(n[0].time),o=r.getDate(),a=n[1].date.getDate();r.setDate(o+i-1);var s=r.getDate();if(s!==a)for(var l=r.getTime()-n[1].time>0?1:-1;(s=r.getDate())!==a&&(r.getTime()-n[1].time)*l>0;)i-=l,r.setDate(s-l);var u=Math.floor((i+n[0].day+6)/7),h=e?1-u:u-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:u,nthWeek:h,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&ei.lweek)return null;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(+i.start.d+r),this.getDateInfo(o)},t.create=function(e,n){var i=[];return e.eachComponent("calendar",(function(e){var n=new t(e);i.push(n),e.coordinateSystem=n})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])})),i},t.dimensions=["time","value"],t}();function GN(t){var e=t.calendarModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem:null}function HN(t,e){var n;return z(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}var WN=["transition","enterFrom","leaveTo"],UN=WN.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function YN(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?WN:UN,r=0;r=0;l--){var d,p,f;if(f=null!=(p=Vo((d=n[l]).id,null))?r.get(p):null){var g=f.parent,v=(c=jN(g),{}),m=Ed(f,d,g===i?{width:o,height:a}:{width:c.width,height:c.height},null,{hv:d.hv,boundingMode:d.bounding},v);if(!jN(f).isNew&&m){for(var y=d.transition,x={},_=0;_=0)?x[b]=w:f[b]=w}bh(f,x,t,0)}else f.attr(v)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(n){JN(n,jN(n).option,e,t._lastGraphicModel)})),this._elMap=mt()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(Pg);function KN(t){var e=new(bt(XN,t)?XN[t]:Nh(t))({});return jN(e).type=t,e}function $N(t,e,n,i){var r=KN(n);return e.add(r),i.set(t,r),jN(r).id=t,jN(r).isNew=!0,r}function JN(t,e,n,i){t&&t.parent&&("group"===t.type&&t.traverse((function(t){JN(t,e,n,i)})),fO(t,e,i),n.removeKey(jN(t).id))}function QN(t,e,n,i){t.isGroup||z([["cursor",Pa.prototype.cursor],["zlevel",i||0],["z",n||0],["z2",0]],(function(n){var i=n[0];bt(e,i)?t[i]=ot(e[i],n[1]):null==t[i]&&(t[i]=n[1])})),z(H(e),(function(n){if(0===n.indexOf("on")){var i=e[n];t[n]=Z(i)?i:null}})),bt(e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}function tE(t){t.registerComponentModel(ZN),t.registerComponentView(qN),t.registerPreprocessor((function(t){var e=t.graphic;Y(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])}))}var eE=["x","y","radius","angle","single"],nE=["cartesian2d","polar","singleAxis"];function iE(t){return t+"Axis"}function rE(t,e){var n,i=mt(),r=[],o=mt();t.eachComponent({mainType:"dataZoom",query:e},(function(t){o.get(t.uid)||s(t)}));do{n=!1,t.eachComponent("dataZoom",a)}while(n);function a(t){!o.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis((function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)})),e}(t)&&(s(t),n=!0)}function s(t){o.set(t.uid,!0),r.push(t),t.eachTargetAxis((function(t,e){(i.get(t)||i.set(t,[]))[e]=!0}))}return r}function oE(t){var e=t.ecModel,n={infoList:[],infoMap:mt()};return t.eachTargetAxis((function(t,i){var r=e.getComponent(iE(t),i);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(r)}}})),n}var aE=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),sE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return i(e,t),e.prototype.init=function(t,e,n){var i=lE(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=lE(t);A(this.option,t,!0),A(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;z([["start","startValue"],["end","endValue"]],(function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=mt();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return z(eE,(function(n){var i=this.getReferringComponents(iE(n),Xo);if(i.specified){e=!0;var r=new aE;z(i.models,(function(t){r.add(t.componentIndex)})),t.set(n,r)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x";o(n.findComponents({mainType:r+"Axis"}),r)}function o(e,n){var r=e[0];if(r){var o=new aE;if(o.add(r.componentIndex),t.set(n,o),i=!1,"x"===n||"y"===n){var a=r.getReferringComponents("grid",Zo).models[0];a&&z(e,(function(t){r.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",Zo).models[0]&&o.add(t.componentIndex)}))}}}i&&o(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single"),i&&z(eE,(function(e){if(i){var r=n.findComponents({mainType:iE(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new aE;o.add(r[0].componentIndex),t.set(e,o),i=!1}}}),this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");z([["start","startValue"],["end","endValue"]],(function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")}))},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent(iE(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,i){z(n.indexList,(function(n){t.call(e,i,n)}))}))},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(iE(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;z([["start","startValue"],["end","endValue"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;z(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;i=0}(e)){var n=iE(this._dimName),i=e.getReferringComponents(n,Zo).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return C(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];dE(["start","end"],(function(l,u){var h=t[l],c=t[l+"Value"];"percent"===r[u]?(null==h&&(h=o[u]),c=i.parse(eo(h,o,n))):(e=!0,h=eo(c=null==c?n[u]:i.parse(c),n,o)),s[u]=null==c||isNaN(c)?n[u]:c,a[u]=null==h||isNaN(h)?o[u]:h})),pE(s),pE(a);var l=this._minMaxSpan;function u(t,e,n,r,o){var a=o?"Span":"ValueSpan";RD(0,t,n,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)e[s]=eo(t[s],n,r,!0),o&&(e[s]=i.parse(e[s]))}return e?u(s,a,n,o,!1):u(a,s,o,n,!0),{valueWindow:s,percentWindow:a}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var i=[1/0,-1/0];dE(n,(function(t){!function(t,e,n){e&&z(R_(e,n),(function(n){var i=e.getApproximateExtent(n);i[0]t[1]&&(t[1]=i[1])}))}(i,t.getData(),e)}));var r=t.getAxisModel(),o=M_(r.axis.scale,r,i).calculate();return[o.min,o.max]}(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow;"none"!==r&&dE(i,(function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var a=e.getStore(),s=V(i,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,r,l=0;lo[1];if(h&&!c&&!d)return!0;h&&(r=!0),c&&(e=!0),d&&(n=!0)}return r&&e&&n}))}else dE(i,(function(n){if("empty"===r)t.setData(e=e.map(n,(function(t){return function(t){return t>=o[0]&&t<=o[1]}(t)?t:NaN})));else{var i={};i[n]=o,e.selectRange(i)}}));dE(i,(function(t){e.setApproximateExtent(o,t)}))}}))}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;dE(["min","max"],(function(i){var r=e.get(i+"Span"),o=e.get(i+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=eo(n[0]+o,n,[0,100],!0):null!=r&&(o=eo(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=so(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}(),gE={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(i,r){var o=t.getComponent(iE(i),r);e(i,r,o,n)}))}))}e((function(t,e,n,i){n.__dzAxisProxy=null}));var n=[];e((function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new fE(e,i,o,t),n.push(r.__dzAxisProxy))}));var i=mt();return z(n,(function(t){z(t.getTargetSeriesModels(),(function(t){i.set(t.uid,t)}))})),i},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,i){t.getAxisProxy(n,i).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}}))}},vE=!1;function mE(t){vE||(vE=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,gE),function(t){t.registerAction("dataZoom",(function(t,e){z(rE(e,t),(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function yE(t){t.registerComponentModel(uE),t.registerComponentView(cE),mE(t)}var xE=function(){},_E={};function bE(t,e){_E[t]=e}function wE(t){return _E[t]}var SE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;z(this.option.feature,(function(t,n){var i=wE(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),A(t,i.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(Hd);function ME(t,e){var n=bd(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new Zs({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}var IE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features={}),u=[];z(s,(function(t,e){u.push(e)})),new Xy(this._featureNames||[],u).add(h).update(h).remove(U(h,null)).execute(),this._featureNames=u,function(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=Nd(i,o,r);Rd(e.get("orient"),t,e.get("itemGap"),a.width,a.height),Ed(t,i,o,r)}(r,t,n),r.add(ME(r.getBoundingRect(),t)),a||r.eachChild((function(t){var e=t.__title,i=t.ensureState("emphasis"),a=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!Z(l)&&e){var u=l.style||(l.style={}),h=Cr(e,qs.makeFont(u)),c=t.x+r.x,d=!1;t.y+r.y+o+h.height>n.getHeight()&&(a.position="top",d=!0);var p=d?-5-h.height:o+10;c+h.width/2>n.getWidth()?(a.position=["100%",p],u.align="right"):c-h.width/2<0&&(a.position=[0,p],u.align="left")}}))}function h(h,c){var d,p=u[h],f=u[c],g=s[p],v=new kc(g,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===p&&(g.title=i.newTitle),p&&!f){if(function(t){return 0===t.indexOf("my")}(p))d={onclick:v.option.onclick,featureName:p};else{var m=wE(p);if(!m)return;d=new m}l[p]=d}else if(!(d=l[f]))return;d.uid=Oc("toolbox-feature"),d.model=v,d.ecModel=e,d.api=n;var y=d instanceof xE;p||!f?!v.get("show")||y&&d.unusable?y&&d.remove&&d.remove(e,n):(function(i,s,l){var u,h,c=i.getModel("iconStyle"),d=i.getModel(["emphasis","iconStyle"]),p=s instanceof xE&&s.getIcons?s.getIcons():i.get("icon"),f=i.get("title")||{};X(p)?(u={})[l]=p:u=p,X(f)?(h={})[l]=f:h=f;var g=i.iconPaths={};z(u,(function(l,u){var p=Kh(l,{},{x:-o/2,y:-o/2,width:o,height:o});p.setStyle(c.getItemStyle()),p.ensureState("emphasis").style=d.getItemStyle();var f=new qs({style:{text:h[u],align:d.get("textAlign"),borderRadius:d.get("textBorderRadius"),padding:d.get("textPadding"),fill:null,font:gc({fontStyle:d.get("textFontStyle"),fontFamily:d.get("textFontFamily"),fontSize:d.get("textFontSize"),fontWeight:d.get("textFontWeight")},e)},ignore:!0});p.setTextContent(f),tc({el:p,componentModel:t,itemName:u,formatterParamsExtra:{title:h[u]}}),p.__title=h[u],p.on("mouseover",(function(){var e=d.getItemStyle(),i=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";f.setStyle({fill:d.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:d.get("textBackgroundColor")}),p.setTextConfig({position:d.get("textPosition")||i}),f.ignore=!t.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==i.get(["iconStatus",u])&&n.leaveEmphasis(this),f.hide()})),("emphasis"===i.get(["iconStatus",u])?zl:Vl)(p),r.add(p),p.on("click",W(s.onclick,s,e,n,u)),g[u]=p}))}(v,d,p),v.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?zl:Vl)(i[t])},d instanceof xE&&d.render&&d.render(v,e,n,i)):y&&d.dispose&&d.dispose(e,n)}},e.prototype.updateView=function(t,e,n,i){z(this._features,(function(t){t instanceof xE&&t.updateView&&t.updateView(t.model,e,n,i)}))},e.prototype.remove=function(t,e){z(this._features,(function(n){n instanceof xE&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){z(this._features,(function(n){n instanceof xE&&n.dispose&&n.dispose(t,e)}))},e.type="toolbox",e}(Pg),TE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),a=r?"svg":n.get("type",!0)||"png",s=e.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),l=o.browser;if("function"!=typeof MouseEvent||!l.newEdge&&(l.ie||l.edge))if(window.navigator.msSaveOrOpenBlob||r){var u=s.split(","),h=u[0].indexOf("base64")>-1,c=r?decodeURIComponent(u[1]):u[1];h&&(c=window.atob(c));var d=i+"."+a;if(window.navigator.msSaveOrOpenBlob){for(var p=c.length,f=new Uint8Array(p);p--;)f[p]=c.charCodeAt(p);var g=new Blob([f]);window.navigator.msSaveOrOpenBlob(g,d)}else{var v=document.createElement("iframe");document.body.appendChild(v);var m=v.contentWindow,y=m.document;y.open("image/svg+xml","replace"),y.write(c),y.close(),m.focus(),y.execCommand("SaveAs",!0,d),document.body.removeChild(v)}}else{var x=n.get("lang"),_='',b=window.open();b.document.write(_),b.document.title=i}else{var w=document.createElement("a");w.download=i+"."+a,w.target="_blank",w.href=s;var S=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});w.dispatchEvent(S)}},e.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(xE),CE="__ec_magicType_stack__",AE=[["line","bar"],["stack"]],DE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return z(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},e.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},e.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(LE[n]){var o,a={series:[]};z(AE,(function(t){O(t,n)>=0&&z(t,(function(t){i.setIconStatus(t,"normal")}))})),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},(function(t){var e=t.subType,r=t.id,o=LE[n](e,r,t,i);o&&(k(o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim+"Axis",h=t.getReferringComponents(u,Zo).models[0].componentIndex;a[u]=a[u]||[];for(var c=0;c<=h;c++)a[u][h]=a[u][h]||{};a[u][h].boundaryGap="bar"===n}}}));var s=n;"stack"===n&&(o=A({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:o,featureName:"magicType"})}},e}(xE),LE={line:function(t,e,n,i){if("bar"===t)return A({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return A({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r=n.get("stack")===CE;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),A({id:e,stack:r?"":CE},i.get(["option","stack"])||{},!0)}};Ry({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var kE=new Array(60).join("-"),PE="\t";function OE(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var RE=new RegExp("[\t]+","g");function NE(t,e){var n=t.split(new RegExp("\n*"+kE+"\n*","g")),i={series:[]};return z(n,(function(t,n){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(PE)>=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),n=[],i=V(OE(e.shift()).split(RE),(function(t){return{name:t,data:[]}})),r=0;r=0)&&t(r,i._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=qE[t.brushType](0,n,e);t.__rangeOffset={offset:$E[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){z(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&z(i.coordSyses,(function(i){var r=qE[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)}))}),this)},t.prototype.setInputRanges=function(t,e){z(t,(function(t){var n,i,r,o,a,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=qE[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?$E[t.brushType](l.values,u.offset,(n=l.xyMinMax,i=u.xyMinMax,r=QE(n),o=QE(i),a=[r[0]/o[0],r[1]/o[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}}),this)},t.prototype.makePanelOpts=function(t,e){return V(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:EL(i),isTargetByCursor:VL(i,t,n.coordSysModel),getLinearBrushOtherExtent:zL(i)}}))},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&O(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=YE(e,t),r=0;rt[1]&&t.reverse(),t}function YE(t,e){return Uo(t,e,{includeMainTypes:HE})}var ZE={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,o=mt(),a={},s={};(n||i||r)&&(z(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0})),z(i,(function(t){var e=t.axis.grid.model;o.set(e.id,e),s[e.id]=!0})),z(r,(function(t){o.set(t.id,t),a[t.id]=!0,s[t.id]=!0})),o.each((function(t){var r=t.coordinateSystem,o=[];z(r.getCartesians(),(function(t,e){(O(n,t.getAxis("x").model)>=0||O(i,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:jE.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})})))},geo:function(t,e){z(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:jE.geo})}))}},XE=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],jE={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(Wh(t)),e}},qE={lineX:U(KE,0),lineY:U(KE,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[UE([r[0],o[0]]),UE([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:V(n,(function(n){var o=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o})),xyMinMax:r}}};function KE(t,e,n,i){var r=n.getAxis(["x","y"][t]),o=UE(V([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))}))),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var $E={lineX:U(JE,0),lineY:U(JE,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return V(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function JE(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function QE(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var tz,ez,nz=z,iz=Do+"toolbox-dataZoom_",rz=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new oL(n.getZr()),this._brushController.on("brush",W(this._onBrush,this)).mount()),function(t,e,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive),n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new WE(az(t),e,{include:["grid"]}),s=a.makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,i,n),function(t,e){t.setIconStatus("back",function(t){return FE(t).length}(e)>1?"emphasis":"normal")}(t,e)},e.prototype.onclick=function(t,e,n){oz[n].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new WE(az(this.model),i,{include:["grid"]}).matchOutputRanges(e,i,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(r("x",n,e[0]),r("y",n,e[1])):r({lineX:"x",lineY:"y"}[i],n,e)}})),function(t,e){var n=FE(t);VE(e,(function(e,i){for(var r=n.length-1;r>=0&&!n[r][i];r--);if(r<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var a=o.getPercentRange();n[0][i]={dataZoomId:i,start:a[0],end:a[1]}}}})),n.push(e)}(i,n),this._dispatchZoomAction(n)}function r(t,e,r){var o=e.getAxis(t),a=o.model,s=function(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)})),i}(t,a,i),l=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(r=RD(0,r.slice(),o.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];nz(t,(function(t,n){e.push(C(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},e}(xE),oz={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=FE(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return VE(n,(function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){i[n]=t;break}})),i}(this.ecModel))}};function az(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}function sz(t){t.registerComponentModel(SE),t.registerComponentView(IE),bE("saveAsImage",TE),bE("magicType",DE),bE("dataView",EE),bE("dataZoom",rz),bE("restore",GE),W_(yE)}tz="dataZoom",ez=function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=Uo(t,az(i));return nz(o.xAxisModels,(function(t){return a(t,"xAxis","xAxisIndex")})),nz(o.yAxisModels,(function(t){return a(t,"yAxis","yAxisIndex")})),r}function a(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:iz+e+o};a[n]=o,r.push(a)}},ut(null==cp.get(tz)&&ez),cp.set(tz,ez);var lz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(Hd);function uz(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function hz(t){if(o.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n-1?(u+="top:50%",h+="translateY(-50%) rotate("+(a="left"===s?-225:-45)+"deg)"):(u+="left:50%",h+="translateX(-50%) rotate("+(a="top"===s?225:45)+"deg)");var c=a*Math.PI/180,d=l+r,p=d*Math.abs(Math.cos(c))+d*Math.abs(Math.sin(c)),f=e+" solid "+r+"px;";return'
'}(n,i,r)),X(t))o.innerHTML=t+a;else if(t){o.innerHTML="",Y(t)||(t=[t]);for(var s=0;s=0?this._tryShow(n,i):"leave"===e&&this._hide(i))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!o.node&&n.getDom()){var r=Cz(i,n);this._ticket="";var a=i.dataByCoordSys,s=function(t,e,n){var i=Yo(t).queryOptionMap,r=i.keys()[0];if(r&&"series"!==r){var o=jo(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(a){var s,l=n.getViewOfComponentModel(a);return l.group.traverse((function(e){var n=ll(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s?{componentMainType:r,componentIndex:a.componentIndex,el:s}:void 0}}}(i,e,n);if(s){var l=s.el.getBoundingRect().clone();l.applyTransform(s.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:s.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y){var u=Mz;u.x=i.x,u.y=i.y,u.update(),ll(u).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:u},r)}else if(a)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:a,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var h=kR(i,e),c=h.point[0],d=h.point[1];null!=c&&null!=d&&this._tryShow({offsetX:c,offsetY:d,target:h.el,position:i.position,positionDefault:"bottom"},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(Cz(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s&&"axis"===Tz([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,t);else if(n){var r,o;if("legend"===ll(n).ssrType)return;this._lastDataByCoordSys=null,Ev(n,(function(t){return null!=ll(t).dataIndex?(r=t,!0):null!=ll(t).tooltipConfig?(o=t,!0):void 0}),!0),r?this._showSeriesItemTooltip(t,r,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=W(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=Tz([e.tooltipOption],i),a=this._renderMode,s=[],l=lg("section",{blocks:[],noHeader:!0}),u=[],h=new xg;z(t,(function(t){z(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=pR(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),c=lg("section",{header:o,noHeader:!ht(o),sortBlocks:!0,blocks:[]});l.blocks.push(c),z(t.seriesDataIndices,(function(l){var d=n.getSeriesByIndex(l.seriesIndex),p=l.dataIndexInside,f=d.getDataParams(p);if(!(f.dataIndex<0)){f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=L_(e.axis,{value:r}),f.axisValueLabel=o,f.marker=h.makeTooltipMarker("item",Ad(f.color),a);var g=Mf(d.formatTooltip(p,!0,null)),v=g.frag;if(v){var m=Tz([d],i).get("valueFormatter");c.blocks.push(m?L({valueFormatter:m},v):v)}g.text&&u.push(g.text),s.push(f)}}))}}))})),l.blocks.reverse(),u.reverse();var c=e.position,d=o.get("order"),p=fg(l,h,a,d,n.get("useUTC"),o.get("textStyle"));p&&u.unshift(p);var f="richText"===a?"\n\n":"
",g=u.join(f);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,c,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",r[0],r[1],c,null,h)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=ll(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,u=r.dataType,h=s.getData(u),c=this._renderMode,d=t.positionDefault,p=Tz([h.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),f=p.get("trigger");if(null==f||"item"===f){var g=s.getDataParams(l,u),v=new xg;g.marker=v.makeTooltipMarker("item",Ad(g.color),c);var m=Mf(s.formatTooltip(l,!1,u)),y=p.get("order"),x=p.get("valueFormatter"),_=m.frag,b=_?fg(x?L({valueFormatter:x},_):_,v,c,y,i.get("useUTC"),p.get("textStyle")):m.text,w="item_"+s.name+"_"+l;this._showOrMove(p,(function(){this._showTooltipContent(p,b,g,w,t.offsetX,t.offsetY,t.position,t.target,v)})),n({type:"showTip",dataIndexInside:l,dataIndex:h.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i="html"===this._renderMode,r=ll(e),o=r.tooltipConfig.option||{},a=o.encodeHTMLContent;X(o)&&(o={content:o,formatter:o},a=!0),a&&i&&o.content&&((o=C(o)).content=oe(o.content));var s=[o],l=this._ecModel.getComponent(r.componentMainType,r.componentIndex);l&&s.push(l),s.push({formatter:o.content});var u=t.positionDefault,h=Tz(s,this._tooltipModel,u?{position:u}:null),c=h.get("content"),d=Math.random()+"",p=new xg;this._showOrMove(h,(function(){var n=C(h.get("formatterParams")||{});this._showTooltipContent(h,c,n,d,t.offsetX,t.offsetY,t.position,e,p)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent;u.setEnterable(t.get("enterable"));var h=t.get("formatter");a=a||t.get("position");var c=e,d=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")).color;if(h)if(X(h)){var p=t.ecModel.get("useUTC"),f=Y(n)?n[0]:n;c=h,f&&f.axisType&&f.axisType.indexOf("time")>=0&&(c=nd(f.axisValue,c,p)),c=Id(c,n,!0)}else if(Z(h)){var g=W((function(e,i){e===this._ticket&&(u.setContent(i,l,t,d,a),this._updatePosition(t,a,r,o,u,n,s))}),this);this._ticket=i,c=h(n,i,g)}else c=h;u.setContent(c,l,t,d,a),u.show(t,d),this._updatePosition(t,a,r,o,u,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||Y(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:Y(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),h=t.get("align"),c=t.get("verticalAlign"),d=a&&a.getBoundingRect().clone();if(a&&d.applyTransform(a.transform),Z(e)&&(e=e([n,i],o,r.el,d,{viewSize:[s,l],contentSize:u.slice()})),Y(e))n=no(e[0],s),i=no(e[1],l);else if(K(e)){var p=e;p.width=u[0],p.height=u[1];var f=Nd(p,{width:s,height:l});n=f.x,i=f.y,h=null,c=null}else if(X(e)&&a){var g=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+h/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+h+a;break;case"left":s=e.x-r-a,l=e.y+h/2-o/2;break;case"right":s=e.x+u+a,l=e.y+h/2-o/2}return[s,l]}(e,d,u,t.get("borderWidth"));n=g[0],i=g[1]}else g=function(t,e,n,i,r,o,a){var s=n.getSize(),l=s[0],u=s[1];return null!=o&&(t+l+o+2>i?t-=l+o:t+=o),null!=a&&(e+u+a>r?e-=u+a:e+=a),[t,e]}(n,i,r,s,l,h?null:20,c?null:20),n=g[0],i=g[1];h&&(n-=Az(h)?u[0]/2:"right"===h?u[0]:0),c&&(i-=Az(c)?u[1]/2:"bottom"===c?u[1]:0),uz(t)&&(g=function(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,i,r,s,l),n=g[0],i=g[1]),r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&z(n,(function(n,o){var a=n.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(r=r&&a.length===s.length)&&z(a,(function(t,n){var o=s[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&z(a,(function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),i&&z(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!o.node&&e.getDom()&&(Xg(this,"_updatePosition"),this._tooltipContent.dispose(),DR("itemTooltip",e))},e.type="tooltip",e}(Pg);function Tz(t,e,n){var i,r=e.ecModel;n?(i=new kc(n,r,r),i=new kc(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof kc&&(a=a.get("tooltip",!0)),X(a)&&(a={formatter:a}),a&&(i=new kc(a,i,r)))}return i}function Cz(t,e){return t.dispatchAction||W(e.dispatchAction,e)}function Az(t){return"center"===t||"middle"===t}function Dz(t){W_(BR),t.registerComponentModel(lz),t.registerComponentView(Iz),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},wt),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},wt)}var Lz=["rect","polygon","keep","clear"];function kz(t,e){var n=Lo(t?t.brush:[]);if(n.length){var i=[];z(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))}));var r=t&&t.toolbox;Y(r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var o=r.feature||(r.feature={}),a=o.brush||(o.brush={}),s=a.type||(a.type=[]);s.push.apply(s,i),function(t){var e={};z(t,(function(t){e[t]=1})),t.length=0,z(e,(function(e,n){t.push(n)}))}(s),e&&!s.length&&s.push.apply(s,Lz)}}var Pz=z;function Oz(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function Rz(t,e,n){var i={};return Pz(e,(function(e){var r,o=i[e]=((r=function(){}).prototype.__hidden=r.prototype,new r);Pz(t[e],(function(t,i){if(CC.isValidType(i)){var r={type:i,visual:t};n&&n(r,e),o[i]=new CC(r),"opacity"===i&&((r=C(r)).type="colorAlpha",o.__hidden.__alphaForOpacity=new CC(r))}}))})),i}function Nz(t,e,n){var i;z(n,(function(t){e.hasOwnProperty(t)&&Oz(e[t])&&(i=!0)})),i&&z(n,(function(n){e.hasOwnProperty(n)&&Oz(e[n])?t[n]=C(e[n]):delete t[n]}))}var Ez={lineX:zz(0),lineY:zz(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&Y_(n.range,t[0],t[1])},rect:function(t,e,n){var i=n.range;if(!t||i.length<=1)return!1;var r=t.x,o=t.y,a=t.width,s=t.height,l=i[0];return!!(Y_(i,r,o)||Y_(i,r+a,o)||Y_(i,r,o+s)||Y_(i,r+a,o+s)||Be.create(t).contain(l[0],l[1])||$h(r,o,r+a,o,i)||$h(r,o,r,o+s,i)||$h(r+a,o,r+a,o+s,i)||$h(r,o+s,r+a,o+s,i))||void 0}}};function zz(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e){var r=i.range;return Vz(e[t],r)}},rect:function(i,r,o){if(i){var a=o.range,s=[i[e[t]],i[e[t]]+i[n[t]]];return s[1]e[0][1]&&(e[0][1]=o[0]),o[1]e[1][1]&&(e[1][1]=o[1])}return e&&Xz(e)}};function Xz(t){return new Be(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var jz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new oL(e.getZr())).on("brush",W(this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,i){this.model=t,this._updateController(t,e,n,i)},e.prototype.updateTransform=function(t,e,n,i){Hz(e),this._updateController(t,e,n,i)},e.prototype.updateVisual=function(t,e,n,i){this.updateTransform(t,e,n,i)},e.prototype.updateView=function(t,e,n,i){this._updateController(t,e,n,i)},e.prototype._updateController=function(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:C(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:C(n),$from:e})},e.type="brush",e}(Pg),qz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return i(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&Nz(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},i.hasOwnProperty("liftZ")||(i.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=V(t,(function(t){return Kz(this.option,t)}),this))},e.prototype.setBrushOption=function(t){this.brushOption=Kz(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(Hd);function Kz(t,e){return A({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new kc(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var $z=["rect","polygon","lineX","lineY","keep","clear"],Jz=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.render=function(t,e,n){var i,r,o;e.eachComponent({mainType:"brush"},(function(t){i=t.brushType,r=t.brushOption.brushMode||"single",o=o||!!t.areas.length})),this._brushType=i,this._brushMode=r,z(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===i)?"emphasis":"normal")}))},e.prototype.updateView=function(t,e,n){this.render(t,e,n)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return z(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},e.prototype.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},e.getDefaultOption=function(t){return{show:!0,type:$z.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])}},e}(xE),Qz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return i(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(Hd),tV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),s=ot(t.get("textBaseline"),t.get("textVerticalAlign")),l=new qs({style:uc(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),h=t.get("subtext"),c=new qs({style:uc(o,{text:h,fill:o.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),d=t.get("link"),p=t.get("sublink"),f=t.get("triggerEvent",!0);l.silent=!d&&!f,c.silent=!p&&!f,d&&l.on("click",(function(){Dd(d,"_"+t.get("target"))})),p&&c.on("click",(function(){Dd(p,"_"+t.get("subtarget"))})),ll(l).eventData=ll(c).eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),h&&i.add(c);var g=i.getBoundingRect(),v=t.getBoxLayoutParams();v.width=g.width,v.height=g.height;var m=Nd(v,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a||("middle"===(a=t.get("left")||t.get("right"))&&(a="center"),"right"===a?m.x+=m.width:"center"===a&&(m.x+=m.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?m.y+=m.height:"middle"===s&&(m.y+=m.height/2),s=s||"top"),i.x=m.x,i.y=m.y,i.markRedraw();var y={align:a,verticalAlign:s};l.setStyle(y),c.setStyle(y),g=i.getBoundingRect();var x=m.margin,_=t.getItemStyle(["color","opacity"]);_.fill=t.get("backgroundColor");var b=new Zs({shape:{x:g.x-x[3],y:g.y-x[0],width:g.width+x[1]+x[3],height:g.height+x[0]+x[2],r:t.get("borderRadius")},style:_,subPixelOptimize:!0,silent:!0});i.add(b)}},e.type="title",e}(Pg);function eV(t){t.registerComponentModel(Qz),t.registerComponentView(tV)}var nV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return i(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,n=e.data||[],i=e.axisType,r=this._names=[];"category"===i?(t=[],z(n,(function(e,n){var i,o=Vo(Oo(e),"");K(e)?(i=C(e)).value=n:i=n,t.push(i),r.push(o)}))):t=n;var o={category:"ordinal",time:"time",value:"number"}[i]||"number";(this._data=new mx([{name:"value",type:o}],this)).initData(t,r)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(Hd),iV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="timeline.slider",e.defaultOption=Rc(nV.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(nV);N(iV,Sf.prototype);var rV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="timeline",e}(Pg),oV=function(t){function e(e,n,i,r){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o}return i(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(xb),aV=Math.PI,sV=Ho(),lV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),r=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(i,t);t.formatTooltip=function(t){return lg("nameValue",{noName:!0,value:a.scale.getLabel({value:t})})},z(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](i,r,a,t)}),this),this._renderAxisLabel(i,o,a,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,e){var n,i,r,o,a=t.get(["label","position"]),s=t.get("orient"),l=function(t,e){return Nd(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),u={horizontal:"center",vertical:(n=null==a||"auto"===a?"horizontal"===s?l.y+l.height/2=0||"+"===n?"left":"right"},h={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:aV/2},d="vertical"===s?l.height:l.width,p=t.getModel("controlStyle"),f=p.get("show",!0),g=f?p.get("itemSize"):0,v=f?p.get("itemGap"):0,m=g+v,y=t.get(["label","rotate"])||0;y=y*aV/180;var x=p.get("position",!0),_=f&&p.get("showPlayBtn",!0),b=f&&p.get("showPrevBtn",!0),w=f&&p.get("showNextBtn",!0),S=0,M=d;"left"===x||"bottom"===x?(_&&(i=[0,0],S+=m),b&&(r=[S,0],S+=m),w&&(o=[M-g,0],M-=m)):(_&&(i=[M-g,0],M-=m),b&&(r=[0,0],S+=m),w&&(o=[M-g,0],M-=m));var I=[S,M];return t.get("inverse")&&I.reverse(),{viewRect:l,mainLength:d,orient:s,rotation:c[s],labelRotation:y,labelPosOpt:n,labelAlign:t.get(["label","align"])||u[s],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||h[s],playPosition:i,prevBtnPosition:r,nextBtnPosition:o,axisExtent:I,controlSize:g,controlGap:v}},e.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var o=[1,0,0,1,0,0],a=r.x,s=r.y+r.height;Me(o,o,[-a,-s]),Ie(o,o,-aV/2),Me(o,o,[a,s]),(r=r.clone()).applyTransform(o)}var l=v(r),u=v(n.getBoundingRect()),h=v(i.getBoundingRect()),c=[n.x,n.y],d=[i.x,i.y];d[0]=c[0]=l[0][0];var p,f=t.labelPosOpt;function g(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function v(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function m(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}null==f||X(f)?(m(c,u,l,1,p="+"===f?0:1),m(d,h,l,1,1-p)):(m(c,u,l,1,p=f>=0?0:1),d[1]=c[1]+f),n.setPosition(c),i.setPosition(d),n.rotation=i.rotation=t.rotation,g(n),g(i)},e.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get("axisType"),r=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Gx({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new i_({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new Wx}}(e,i);r.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.calcNiceTicks();var a=new oV("value",r,t.axisExtent,i);return a.model=e,a},e.prototype._createGroup=function(t){var e=this[t]=new Wr;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,i){var r=n.getExtent();if(i.get(["lineStyle","show"])){var o=new th({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:L({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new th({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:k({lineCap:"round",lineWidth:o.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},e.prototype._renderAxisTick=function(t,e,n,i){var r=this,o=i.getData(),a=n.scale.getTicks();this._tickSymbols=[],z(a,(function(t){var a=n.dataToCoord(t.value),s=o.getItemModel(t.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),h=s.getModel(["progress","itemStyle"]),c={x:a,y:0,onclick:W(r._changeTimeline,r,t.value)},d=uV(s,l,e,c);d.ensureState("emphasis").style=u.getItemStyle(),d.ensureState("progress").style=h.getItemStyle(),Kl(d);var p=ll(d);s.get("tooltip")?(p.dataIndex=t.value,p.dataModel=i):p.dataIndex=p.dataModel=null,r._tickSymbols.push(d)}))},e.prototype._renderAxisLabel=function(t,e,n,i){var r=this;if(n.getLabelModel().get("show")){var o=i.getData(),a=n.getViewLabels();this._tickLabels=[],z(a,(function(i){var a=i.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),h=s.getModel(["progress","label"]),c=n.dataToCoord(i.tickValue),d=new qs({x:c,y:0,rotation:t.labelRotation-t.rotation,onclick:W(r._changeTimeline,r,a),silent:!1,style:uc(l,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});d.ensureState("emphasis").style=uc(u),d.ensureState("progress").style=uc(h),e.add(d),Kl(d),sV(d).dataIndex=a,r._tickLabels.push(d)}))}},e.prototype._renderControl=function(t,e,n,i){var r=t.controlSize,o=t.rotation,a=i.getModel("controlStyle").getItemStyle(),s=i.getModel(["emphasis","controlStyle"]).getItemStyle(),l=i.getPlayState(),u=i.get("inverse",!0);function h(t,n,l,u){if(t){var h=kr(ot(i.get(["controlStyle",n+"BtnSize"]),r),r),c=function(t,e,n,i){var r=i.style,o=Kh(t.get(["controlStyle",e]),i||{},new Be(n[0],n[1],n[2],n[3]));return r&&o.setStyle(r),o}(i,n+"Icon",[0,-h/2,h,h],{x:t[0],y:t[1],originX:r/2,originY:0,rotation:u?-o:0,rectHover:!0,style:a,onclick:l});c.ensureState("emphasis").style=s,e.add(c),Kl(c)}}h(t.nextBtnPosition,"next",W(this._changeTimeline,this,u?"-":"+")),h(t.prevBtnPosition,"prev",W(this._changeTimeline,this,u?"+":"-")),h(t.playPosition,l?"stop":"play",W(this._handlePlayClick,this,!l),!0)},e.prototype._renderCurrentPointer=function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=W(s._handlePointerDrag,s),t.ondragend=W(s._handlePointerDragend,s),hV(t,s._progressLine,o,n,i,!0)},onUpdate:function(t){hV(t,s._progressLine,o,n,i)}};this._currentPointer=uV(a,a,this._mainGroup,{},this._currentPointer,l)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],i=ro(this._axis.getExtent().slice());n>i[1]&&(n=i[1]),n=0&&(a[o]=+a[o].toFixed(c)),[a,h]}var bV={min:U(_V,"min"),max:U(_V,"max"),average:U(_V,"average"),median:U(_V,"median")};function wV(t,e){if(e){var n=t.getData(),i=t.coordinateSystem,r=i&&i.dimensions;if(!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!Y(e.coord)&&Y(r)){var o=SV(e,n,i,t);if((e=C(e)).type&&bV[e.type]&&o.baseAxis&&o.valueAxis){var a=O(r,o.baseAxis.dim),s=O(r,o.valueAxis.dim),l=bV[e.type](n,o.baseDataDim,o.valueDataDim,a,s);e.coord=l[0],e.value=l[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null!=e.coord&&Y(r))for(var u=e.coord,h=0;h<2;h++)bV[u[h]]&&(u[h]=TV(n,n.mapDimension(r[h]),u[h]));else e.coord=[];return e}}function SV(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function MV(t,e){return!(t&&t.containData&&e.coord&&!xV(e))||t.containData(e.coord)}function IV(t,e){return t?function(t,n,i,r){return Af(r<2?t.coord&&t.coord[r]:t.value,e[r])}:function(t,n,i,r){return Af(t.value,e[r])}}function TV(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,(function(t,e){isNaN(t)||(i+=t,r++)})),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var CV=Ho(),AV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(){this.markerGroupMap=mt()},e.prototype.render=function(t,e,n){var i=this,r=this.markerGroupMap;r.each((function(t){CV(t).keep=!1})),e.eachSeries((function(t){var r=mV.getMarkerModelFromSeries(t,i.type);r&&i.renderSeries(t,r,e,n)})),r.each((function(t){!CV(t).keep&&i.group.remove(t.group)}))},e.prototype.markKeep=function(t){CV(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;z(t,(function(t){var i=mV.getMarkerModelFromSeries(t,n.type);i&&i.getData().eachItemGraphicEl((function(t){t&&(e?Bl(t):Fl(t))}))}))},e.type="marker",e}(Pg);function DV(t,e,n){var i=e.coordinateSystem;t.each((function(r){var o,a=t.getItemModel(r),s=no(a.get("x"),n.getWidth()),l=no(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var u=t.get(i.dimensions[0],r),h=t.get(i.dimensions[1],r);o=i.dataToPoint([u,h])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(r,o)}))}var LV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=mV.getMarkerModelFromSeries(t,"markPoint");e&&(DV(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new gw),u=function(t,e,n){var i;i=t?V(t&&t.dimensions,(function(t){return L(L({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new mx(i,n),o=V(n.get("data"),U(wV,e));t&&(o=F(o,U(MV,t)));var a=IV(!!t,i);return r.initData(o,null,a),r}(r,t,e);e.setData(u),DV(e.getData(),t,i),u.each((function(t){var n=u.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(Z(i)||Z(r)||Z(o)||Z(s)){var h=e.getRawValue(t),c=e.getDataParams(t);Z(i)&&(i=i(h,c)),Z(r)&&(r=r(h,c)),Z(o)&&(o=o(h,c)),Z(s)&&(s=s(h,c))}var d=n.getModel("itemStyle").getItemStyle(),p=Pv(a,"color");d.fill||(d.fill=p),u.setItemVisual(t,{symbol:i,symbolSize:r,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:d})})),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl((function(t){t.traverse((function(t){ll(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(AV);function kV(t){t.registerComponentModel(yV),t.registerComponentView(LV),t.registerPreprocessor((function(t){fV(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})}))}var PV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(mV),OV=Ho(),RV=function(t,e,n,i){var r,o=t.getData();if(Y(i))r=i;else{var a=i.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=e.getAxis(null!=i.yAxis?"y":"x"),l=rt(i.yAxis,i.xAxis);else{var u=SV(i,o,e,t);s=u.valueAxis,l=TV(o,Cx(o,u.valueDataDim),a)}var h="x"===s.dim?0:1,c=1-h,d=C(i),p={coord:[]};d.type=null,d.coord=[],d.coord[c]=-1/0,p.coord[c]=1/0;var f=n.get("precision");f>=0&&q(l)&&(l=+l.toFixed(Math.min(f,20))),d.coord[h]=p.coord[h]=l,r=[d,p,{type:a,valueIndex:i.valueIndex,value:l}]}else r=[]}var g=[wV(t,r[0]),wV(t,r[1]),L({},r[2])];return g[2].type=g[2].type||null,A(g[2],g[0]),A(g[2],g[1]),g};function NV(t){return!isNaN(t)&&!isFinite(t)}function EV(t,e,n,i){var r=1-t,o=i.dimensions[t];return NV(e[r])&&NV(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function zV(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(EV(1,n,i,t)||EV(0,n,i,t)))return!0}return MV(t,e[0])&&MV(t,e[1])}function VV(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=no(s.get("x"),r.getWidth()),u=no(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var h=a.dimensions,c=t.get(h[0],e),d=t.get(h[1],e);o=a.dataToPoint([c,d])}if(Dw(a,"cartesian2d")){var p=a.getAxis("x"),f=a.getAxis("y");h=a.dimensions,NV(t.get(h[0],e))?o[0]=p.toGlobalCoord(p.getExtent()[n?0:1]):NV(t.get(h[1],e))&&(o[1]=f.toGlobalCoord(f.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];t.setItemLayout(e,o)}var BV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=mV.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=OV(e).from,o=OV(e).to;r.each((function(e){VV(r,e,!0,t,n),VV(o,e,!1,t,n)})),i.each((function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new GA);this.group.add(l.group);var u=function(t,e,n){var i;i=t?V(t&&t.dimensions,(function(t){return L(L({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new mx(i,n),o=new mx(i,n),a=new mx([],n),s=V(n.get("data"),U(RV,e,t,n));t&&(s=F(s,U(zV,t)));var l=IV(!!t,i);return r.initData(V(s,(function(t){return t[0]})),null,l),o.initData(V(s,(function(t){return t[1]})),null,l),a.initData(V(s,(function(t){return t[2]}))),a.hasItemOption=!0,{from:r,to:o,line:a}}(r,t,e),h=u.from,c=u.to,d=u.line;OV(e).from=h,OV(e).to=c,e.setData(d);var p=e.get("symbol"),f=e.get("symbolSize"),g=e.get("symbolRotate"),v=e.get("symbolOffset");function m(e,n,r){var o=e.getItemModel(n);VV(e,n,r,t,i);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=Pv(a,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:ot(o.get("symbolOffset",!0),v[r?0:1]),symbolRotate:ot(o.get("symbolRotate",!0),g[r?0:1]),symbolSize:ot(o.get("symbolSize"),f[r?0:1]),symbol:ot(o.get("symbol",!0),p[r?0:1]),style:s})}Y(p)||(p=[p,p]),Y(f)||(f=[f,f]),Y(g)||(g=[g,g]),Y(v)||(v=[v,v]),u.from.each((function(t){m(h,t,!0),m(c,t,!1)})),d.each((function(t){var e=d.getItemModel(t).getModel("lineStyle").getLineStyle();d.setItemLayout(t,[h.getItemLayout(t),c.getItemLayout(t)]),null==e.stroke&&(e.stroke=h.getItemVisual(t,"style").fill),d.setItemVisual(t,{fromSymbolKeepAspect:h.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:h.getItemVisual(t,"symbolOffset"),fromSymbolRotate:h.getItemVisual(t,"symbolRotate"),fromSymbolSize:h.getItemVisual(t,"symbolSize"),fromSymbol:h.getItemVisual(t,"symbol"),toSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:c.getItemVisual(t,"symbolOffset"),toSymbolRotate:c.getItemVisual(t,"symbolRotate"),toSymbolSize:c.getItemVisual(t,"symbolSize"),toSymbol:c.getItemVisual(t,"symbol"),style:e})})),l.updateData(d),u.line.eachItemGraphicEl((function(t){ll(t).dataModel=e,t.traverse((function(t){ll(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(AV),FV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(mV),GV=Ho(),HV=function(t,e,n,i){var r=i[0],o=i[1];if(r&&o){var a=wV(t,r),s=wV(t,o),l=a.coord,u=s.coord;l[0]=rt(l[0],-1/0),l[1]=rt(l[1],-1/0),u[0]=rt(u[0],1/0),u[1]=rt(u[1],1/0);var h=D([{},a,s]);return h.coord=[a.coord,s.coord],h.x0=a.x,h.y0=a.y,h.x1=s.x,h.y1=s.y,h}};function WV(t){return!isNaN(t)&&!isFinite(t)}function UV(t,e,n,i){var r=1-t;return WV(e[r])&&WV(n[r])}function YV(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0},o={coord:i,x:e.x1,y:e.y1};return Dw(t,"cartesian2d")?!(!n||!i||!UV(1,n,i)&&!UV(0,n,i))||function(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!xV(e)&&!xV(n))||t.containZone(e.coord,n.coord)}(t,r,o):MV(t,r)||MV(t,o)}function ZV(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=no(s.get(n[0]),r.getWidth()),u=no(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition){var h=t.getValues(["x0","y0"],e),c=t.getValues(["x1","y1"],e),d=a.clampData(h),p=a.clampData(c),f=[];"x0"===n[0]?f[0]=d[0]>p[0]?c[0]:h[0]:f[0]=d[0]>p[0]?h[0]:c[0],"y0"===n[1]?f[1]=d[1]>p[1]?c[1]:h[1]:f[1]=d[1]>p[1]?h[1]:c[1],o=i.getMarkerPosition(f,n,!0)}else{var g=[y=t.get(n[0],e),x=t.get(n[1],e)];a.clampData&&a.clampData(g,g),o=a.dataToPoint(g,!0)}if(Dw(a,"cartesian2d")){var v=a.getAxis("x"),m=a.getAxis("y"),y=t.get(n[0],e),x=t.get(n[1],e);WV(y)?o[0]=v.toGlobalCoord(v.getExtent()["x0"===n[0]?0:1]):WV(x)&&(o[1]=m.toGlobalCoord(m.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var XV=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],jV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=mV.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each((function(e){var r=V(XV,(function(r){return ZV(i,e,r,t,n)}));i.setItemLayout(e,r),i.getItemGraphicEl(e).setShape("points",r)}))}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new Wr});this.group.add(l.group),this.markKeep(l);var u=function(t,e,n){var i,r,o=["x0","y0","x1","y1"];if(t){var a=V(t&&t.dimensions,(function(t){var n=e.getData();return L(L({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})}));r=V(o,(function(t,e){return{name:t,type:a[e%2].type}})),i=new mx(r,n)}else i=new mx(r=[{name:"value",type:"float"}],n);var s=V(n.get("data"),U(HV,e,t,n));t&&(s=F(s,U(YV,t)));var l=t?function(t,e,n,i){return Af(t.coord[Math.floor(i/2)][i%2],r[i])}:function(t,e,n,i){return Af(t.value,r[i])};return i.initData(s,null,l),i.hasItemOption=!0,i}(r,t,e);e.setData(u),u.each((function(e){var n=V(XV,(function(n){return ZV(u,e,n,t,i)})),o=r.getAxis("x").scale,s=r.getAxis("y").scale,l=o.getExtent(),h=s.getExtent(),c=[o.parse(u.get("x0",e)),o.parse(u.get("x1",e))],d=[s.parse(u.get("y0",e)),s.parse(u.get("y1",e))];ro(c),ro(d);var p=!!(l[0]>c[1]||l[1]d[1]||h[1]=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(Hd),KV=U,$V=z,JV=Wr,QV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return i(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new JV),this.group.add(this._selectorGroup=new JV),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),o=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===o?"right":"left");var a=t.get("selector",!0),s=t.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(r,t,e,n,a,o,s);var l=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},h=t.get("padding"),c=Nd(l,u,h),d=this.layoutInner(t,r,c,i,a,s),p=Nd(k({width:d.width,height:d.height},l),u,h);this.group.x=p.x-d.x,this.group.y=p.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=ME(d,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,r,o,a){var s=this.getContentGroup(),l=mt(),u=e.get("selectedMode"),h=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&h.push(t.id)})),$V(e.getData(),(function(r,o){var a=r.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var c=new JV;return c.newline=!0,void s.add(c)}var d=n.getSeriesByName(a)[0];if(!l.get(a))if(d){var p=d.getData(),f=p.getVisual("legendLineStyle")||{},g=p.getVisual("legendIcon"),v=p.getVisual("style"),m=this._createItem(d,a,o,r,e,t,f,v,g,u,i);m.on("click",KV(tB,a,null,i,h)).on("mouseover",KV(nB,d.name,null,i,h)).on("mouseout",KV(iB,d.name,null,i,h)),n.ssr&&m.eachChild((function(t){var e=ll(t);e.seriesIndex=d.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}else n.eachRawSeries((function(s){if(!l.get(a)&&s.legendVisualProvider){var c=s.legendVisualProvider;if(!c.containName(a))return;var d=c.indexOfName(a),p=c.getItemVisual(d,"style"),f=c.getItemVisual(d,"legendIcon"),g=Qn(p.fill);g&&0===g[3]&&(g[3]=.2,p=L(L({},p),{fill:li(g,"rgba")}));var v=this._createItem(s,a,o,r,e,t,{},p,f,u,i);v.on("click",KV(tB,null,a,i,h)).on("mouseover",KV(nB,null,a,i,h)).on("mouseout",KV(iB,null,a,i,h)),n.ssr&&v.eachChild((function(t){var e=ll(t);e.seriesIndex=s.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}}),this)}),this),r&&this._createSelector(r,e,i,o,a)},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();$V(t,(function(t){var i=t.type,r=new qs({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect",legendId:e.id})}});o.add(r),sc(r,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),Kl(r)}))},e.prototype._createItem=function(t,e,n,i,r,o,a,s,l,u,h){var c,d,p,f=t.visualDrawType,g=r.get("itemWidth"),v=r.get("itemHeight"),m=r.isSelected(e),y=i.get("symbolRotate"),x=i.get("symbolKeepAspect"),_=i.get("icon"),b=function(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),$V(t,(function(n,i){"inherit"===t[i]&&(t[i]=e[i])}))}var l=e.getModel("itemStyle"),u=l.getItemStyle(),h=0===t.lastIndexOf("empty",0)?"fill":"stroke",c=l.getShallow("decal");u.decal=c&&"inherit"!==c?Im(c,a):i.decal,"inherit"===u.fill&&(u.fill=i[r]),"inherit"===u.stroke&&(u.stroke=i[h]),"inherit"===u.opacity&&(u.opacity=("fill"===r?i:n).opacity),s(u,i);var d=e.getModel("lineStyle"),p=d.getLineStyle();if(s(p,n),"auto"===u.fill&&(u.fill=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),"auto"===p.stroke&&(p.stroke=i.fill),!o){var f=e.get("inactiveBorderWidth"),g=u[h];u.lineWidth="auto"===f?i.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),p.stroke=d.get("inactiveColor"),p.lineWidth=d.get("inactiveWidth")}return{itemStyle:u,lineStyle:p}}(l=_||l||"roundRect",i,a,s,f,m,h),w=new JV,S=i.getModel("textStyle");if(!Z(t.getLegendIcon)||_&&"inherit"!==_){var M="inherit"===_&&t.getData().getVisual("symbol")?"inherit"===y?t.getData().getVisual("symbolRotate"):y:0;w.add((c={itemWidth:g,itemHeight:v,icon:l,iconRotate:M,itemStyle:b.itemStyle,symbolKeepAspect:x},d=c.icon||"roundRect",(p=jv(d,0,0,c.itemWidth,c.itemHeight,c.itemStyle.fill,c.symbolKeepAspect)).setStyle(c.itemStyle),p.rotation=(c.iconRotate||0)*Math.PI/180,p.setOrigin([c.itemWidth/2,c.itemHeight/2]),d.indexOf("empty")>-1&&(p.style.stroke=p.style.fill,p.style.fill="#fff",p.style.lineWidth=2),p))}else w.add(t.getLegendIcon({itemWidth:g,itemHeight:v,icon:l,iconRotate:y,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:x}));var I="left"===o?g+5:-5,T=o,C=r.get("formatter"),A=e;X(C)&&C?A=C.replace("{name}",null!=e?e:""):Z(C)&&(A=C(e));var D=m?S.getTextColor():i.get("inactiveColor");w.add(new qs({style:uc(S,{text:A,x:I,y:v/2,fill:D,align:T,verticalAlign:"middle"},{inheritColor:D})}));var L=new Zs({shape:w.getBoundingRect(),style:{fill:"transparent"}}),k=i.getModel("tooltip");return k.get("show")&&tc({el:L,componentModel:r,itemName:e,itemTooltipOption:k.option}),w.add(L),w.eachChild((function(t){t.silent=!0})),L.silent=!u,this.getContentGroup().add(w),Kl(w),w.__legendDataIndex=n,w},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();Rd(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){Rd("horizontal",s,t.get("selectorItemGap",!0));var h=s.getBoundingRect(),c=[-h.x,-h.y],d=t.get("selectorButtonGap",!0),p=t.getOrient().index,f=0===p?"width":"height",g=0===p?"height":"width",v=0===p?"y":"x";"end"===o?c[p]+=l[f]+d:u[p]+=h[f]+d,c[1-p]+=l[g]/2-h[g]/2,s.x=c[0],s.y=c[1],a.x=u[0],a.y=u[1];var m={x:0,y:0};return m[f]=l[f]+d+h[f],m[g]=Math.max(l[g],h[g]),m[v]=Math.min(0,h[v]+c[1-p]),m}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(Pg);function tB(t,e,n,i){iB(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),nB(t,e,n,i)}function eB(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;in[r],f=[-c.x,-c.y];e||(f[i]=l[s]);var g=[0,0],v=[-d.x,-d.y],m=ot(t.get("pageButtonGap",!0),t.get("itemGap",!0));p&&("end"===t.get("pageButtonPosition",!0)?v[i]+=n[r]-d[r]:g[i]+=d[r]+m),v[1-i]+=c[o]/2-d[o]/2,l.setPosition(f),u.setPosition(g),h.setPosition(v);var y={x:0,y:0};if(y[r]=p?n[r]:c[r],y[o]=Math.max(c[o],d[o]),y[a]=Math.min(0,d[a]+v[1-i]),u.__rectSize=n[r],p){var x={x:0,y:0};x[r]=Math.max(n[r]-d[r]-m,0),x[o]=y[o],u.setClipPath(new Zs({shape:x})),u.__rectSize=x[r]}else h.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var _=this._getPageInfo(t);return null!=_.pageIndex&&bh(l,{x:_.contentPosition[0],y:_.contentPosition[1]},p?t:null),this._updatePageInfoView(t,_),y},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;z(["pagePrev","pageNext"],(function(i){var r=null!=e[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var i=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;i&&r&&i.setStyle("text",X(r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):r({current:a,total:s}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=cB[r],a=dB[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],h=l.length,c=h?1:0,d={contentPosition:[n.x,n.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return d;var p=y(u);d.contentPosition[r]=-p.s;for(var f=s+1,g=p,v=p,m=null;f<=h;++f)(!(m=y(l[f]))&&v.e>g.s+i||m&&!x(m,g.s))&&(g=v.i>g.i?v:m)&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=g.i),++d.pageCount),v=m;for(f=s-1,g=p,v=p,m=null;f>=-1;--f)(m=y(l[f]))&&x(v,m.s)||!(g.i=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n):0;var e,n},e.type="legend.scroll",e}(QV);function fB(t){W_(sB),t.registerComponentModel(lB),t.registerComponentView(pB),function(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}(t)}function gB(t){W_(sB),W_(fB)}var vB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="dataZoom.inside",e.defaultOption=Rc(sE.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(sE),mB=Ho();function yB(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function xB(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function _B(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}function bB(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=mB(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=mt());i.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){z(oE(t).infoList,(function(n){var r=n.model.uid,o=i.get(r)||i.set(r,function(t,e){var n={model:e,containsPoint:U(_B,e),dispatchAction:U(xB,t),dataZoomInfoMap:null,controller:null},i=n.controller=new tI(t.getZr());return z(["pan","zoom","scrollMove"],(function(t){i.on(t,(function(e){var i=[];n.dataZoomInfoMap.each((function(r){if(e.isAvailableBehavior(r.model.option)){var o=(r.getRange||{})[t],a=o&&o(r.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!r.model.get("disabled",!0)&&a&&i.push({dataZoomId:r.model.id,start:a[0],end:a[1]})}})),i.length&&n.dispatchAction(i)}))})),n}(e,n.model));(o.dataZoomInfoMap||(o.dataZoomInfoMap=mt())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),i.each((function(t){var e,n=t.controller,r=t.dataZoomInfoMap;if(r){var o=r.keys()[0];null!=o&&(e=r.get(o))}if(e){var a=function(t){var e,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return t.each((function(t){var o=t.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");i[n+a]>i[n+e]&&(e=a),r=r&&o.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}(r);n.enable(a.controlType,a.opt),n.setPointerChecker(t.containsPoint),Zg(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else yB(i,t)}))}))}var wB=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return i(e,t),e.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),function(t,e,n){mB(t).coordSysRecordMap.each((function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)}))}(i,e,{pan:W(SB.pan,this),zoom:W(SB.zoom,this),scrollMove:W(SB.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=mB(t).coordSysRecordMap,i=n.keys(),r=0;r0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/i.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return RD(0,o,[0,100],0,h.minSpan,h.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:MB((function(t,e,n,i,r,o){var a=IB[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:MB((function(t,e,n,i,r,o){return IB[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta}))};function MB(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s)return RD(t(a,s,e,n,i,r),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}var IB={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}};function TB(t){mE(t),t.registerComponentModel(vB),t.registerComponentView(wB),bB(t)}var CB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=Rc(sE.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(sE),AB=Zs,DB="horizontal",LB="vertical",kB=["line","bar","candlestick","scatter"],PB={easing:"cubicOut",duration:100,delay:0},OB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return i(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=W(this._onBrush,this),this._onBrushEnd=W(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),Zg(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){Xg(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new Wr;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,i=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},o=this._orient===DB?{right:r.width-i.x-i.width,top:r.height-30-7-n,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},a=Bd(t.option);z(["right","top","width","height"],(function(t){"ph"===a[t]&&(a[t]=o[t])}));var s=Nd(a,r);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===LB&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==DB||r?n===DB&&r?{scaleY:a?1:-1,scaleX:-1}:n!==LB||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new AB({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new AB({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:W(this._onClickPanel,this)}),o=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),a=o&&r.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u=r.getDataExtent(a),h=.3*(u[1]-u[0]);u=[u[0]-h,u[1]+h];var c,d=[0,e[1]],p=[0,e[0]],f=[[e[0],0],[0,0]],g=[],v=p[1]/(r.count()-1),m=0,y=Math.round(r.count()/e[0]);r.each([a],(function(t,e){if(y>0&&e%y)m+=v;else{var n=null==t||isNaN(t)||""===t,i=n?0:eo(t,u,d,!0);n&&!c&&e?(f.push([f[f.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&c&&(f.push([m,0]),g.push([m,0])),f.push([m,i]),g.push([m,i]),m+=v,c=n}})),s=this._shadowPolygonPts=f,l=this._shadowPolylinePts=g}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var x=this.dataZoomModel,_=0;_<3;_++){var b=w(1===_);this._displayables.sliderGroup.add(b),this._displayables.dataShadowSegs.push(b)}}}function w(t){var e=x.getModel(t?"selectedDataBackground":"dataBackground"),n=new Wr,i=new qu({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new $u({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis((function(r,o){z(t.getAxisProxy(r,o).getTargetSeriesModels(),(function(t){if(!(n||!0!==e&&O(kB,t.get("type"))<0)){var a,s=i.getComponent(iE(r),o).axis,l=function(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}(r),u=t.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:r,otherDim:l,otherAxisInverse:a}}}),this)}),this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),h=e.filler=new AB({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(h),r.add(new AB({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),z([0,1],(function(e){var o=a.get("handleIcon");!Yv[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=jv(o,-1,0,2,2,null,!0);s.attr({cursor:RB(this._orient),draggable:!0,drift:W(this._onDragMove,this,e),ondragend:W(this._onDragEnd,this),onmouseover:W(this._showDataInfo,this,!0),onmouseout:W(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=a.get("handleSize");this._handleHeight=no(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),Kl(s);var h=a.get("handleColor");null!=h&&(s.style.fill=h),r.add(n[e]=s);var c=a.getModel("textStyle"),d=(a.get("handleLabel")||{}).show||!1;t.add(i[e]=new qs({silent:!0,invisible:!d,style:uc(c,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:c.getTextColor(),font:c.getFont()}),z2:10}))}),this);var c=h;if(u){var d=no(a.get("moveHandleSize"),o[1]),p=e.moveHandle=new Zs({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:d}}),f=.8*d,g=e.moveHandleIcon=jv(a.get("moveHandleIcon"),-f/2,-f/2,f,f,"#fff",!0);g.silent=!0,g.y=o[1]+d/2-.5,p.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var v=Math.min(o[1]/2,Math.max(d,10));(c=e.moveZone=new Zs({invisible:!0,shape:{y:o[1]-v,height:d+v}})).on("mouseover",(function(){s.enterEmphasis(p)})).on("mouseout",(function(){s.leaveEmphasis(p)})),r.add(p),r.add(g),r.add(c)}c.attr({draggable:!0,cursor:RB(this._orient),drift:W(this._onDragMove,this,"all"),ondragstart:W(this._showDataInfo,this,!0),ondragend:W(this._onDragEnd,this),onmouseover:W(this._showDataInfo,this,!0),onmouseout:W(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[eo(t[0],[0,100],e,!0),eo(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];RD(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?eo(o.minSpan,a,r,!0):null,null!=o.maxSpan?eo(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=ro([eo(i[0],r,a,!0),eo(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=ro(n.slice()),r=this._size;z([0,1],(function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],l=0;le[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new Le(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var i=this._getViewExtent(),r=[0,100];this._range=ro([eo(n.x,i,r,!0),eo(n.x+n.width,i,r,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(ge(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new AB({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?PB:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=oE(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},e.type="dataZoom.slider",e}(hE);function RB(t){return"vertical"===t?"ns-resize":"ew-resize"}function NB(t){t.registerComponentModel(CB),t.registerComponentView(OB),mE(t)}function EB(t){W_(TB),W_(NB)}var zB=function(t,e,n){var i=C((VB[t]||{})[e]);return n&&Y(i)?i[i.length-1]:i},VB={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},BB=CC.mapVisual,FB=CC.eachVisual,GB=Y,HB=z,WB=ro,UB=eo,YB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return i(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&Nz(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=W(t,this),this.controllerVisuals=Rz(this.option.controller,e,t),this.targetVisuals=Rz(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,n){e.push(n)})):e=Lo(t),e},e.prototype.eachTargetSeries=function(t,e){z(this.getTargetSeriesIndices(),(function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)}),this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},e.prototype.formatValueText=function(t,e,n){var i,r=this.option,o=r.precision,a=this.dataBound,s=r.formatter;n=n||["<",">"],Y(t)&&(t=t.slice(),i=!0);var l=e?t:i?[u(t[0]),u(t[1])]:u(t);return X(s)?s.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):Z(s)?i?s(t[0],t[1]):s(t):i?t[0]===a[0]?n[0]+" "+l[1]:t[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(t){return t===a[0]?"min":t===a[1]?"max":(+t).toFixed(Math.min(o,20))}},e.prototype.resetExtent=function(){var t=this.option,e=WB([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var r=n[i],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});A(i,n),A(r,n);var o=this.isCategory();function a(n){GB(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}a.call(this,i),a.call(this,r),function(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},HB(i,(function(t,e){if(CC.isValidType(e)){var n=zB(e,"inactive",o);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),r=this.getItemSymbol()||"roundRect";HB(this.stateList,(function(a){var s=this.itemSize,l=t[a];l||(l=t[a]={color:o?i:[i]}),null==l.symbol&&(l.symbol=e&&C(e)||(o?r:[r])),null==l.symbolSize&&(l.symbolSize=n&&C(n)||(o?s[0]:[s[0],s[0]])),l.symbol=BB(l.symbol,(function(t){return"none"===t?r:t}));var u=l.symbolSize;if(null!=u){var h=-1/0;FB(u,(function(t){t>h&&(h=t)})),l.symbolSize=BB(u,(function(t){return UB(t,[0,h],[0,s[0]],!0)}))}}),this)}.call(this,r)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(Hd),ZB=[20,140],XB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=ZB[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=ZB[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):Y(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),z(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=ro((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},e.prototype.getVisualMeta=function(t){var e=jB(0,0,this.getExtent()),n=jB(0,0,this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;at[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new Wr("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels,a=i.itemSize,s=i.getExtent(),l=this._applyTransform("left",n.mainGroup);tF([0,1],(function(u){var h=r[u];h.setStyle("fill",e.handlesColor[u]),h.y=t[u];var c=QB(t[u],[0,a[1]],s,!0),d=this.getControllerVisual(c,"symbolSize");h.scaleX=h.scaleY=d/a[0],h.x=a[0]-d/2;var p=Uh(n.handleLabelPoints[u],Wh(h,this.group));if("horizontal"===this._orient){var f="left"===l||"top"===l?(a[0]-d)/2:(a[0]-d)/-2;p[1]+=f}o[u].setStyle({x:p[0],y:p[1],text:i.formatValueText(this._dataInterval[u]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},e.prototype._showIndicator=function(t,e,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var h=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),c=this.getControllerVisual(t,"symbolSize"),d=QB(t,o,s,!0),p=a[0]-c/2,f={x:u.x,y:u.y};u.y=d,u.x=p;var g=Uh(l.indicatorLabelPoint,Wh(u,this.group)),v=l.indicatorLabel;v.attr("invisible",!1);var m=this._applyTransform("left",l.mainGroup),y="horizontal"===this._orient;v.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:y?m:"middle",align:y?"center":m});var x={x:p,y:d,style:{fill:h}},_={style:{x:g[0],y:g[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var b={duration:100,easing:"cubicInOut",additive:!0};u.x=f.x,u.y=f.y,u.animateTo(x,b),v.animateTo(_,b)}else u.attr(x),v.attr(_);this._firstShowIndicator=!1;var w=this._shapes.handleLabels;if(w)for(var S=0;Sr[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var h=this._hoverLinkDataIndices,c=[];(e||oF(n))&&(c=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var d=function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i=0&&(r.dimension=o,i.push(r))}})),t.getData().setVisual("visualMeta",i)}}];function hF(t,e,n,i){for(var r=e.targetVisuals[i],o=CC.prepareVisualTypes(r),a={color:Pv(t.getData(),"color")},s=0,l=o.length;s0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(sF,lF),z(uF,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(dF))}function vF(t){t.registerComponentModel(XB),t.registerComponentView(iF),gF(t)}var mF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return i(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],yF[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual((function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=C(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=V(this._pieceList,(function(t){return t=C(t),"inRange"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,n={},i=CC.listVisualTypes(),r=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}z(e.pieces,(function(t){z(i,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),z(n,(function(t,n){var i=!1;z(this.stateList,(function(t){i=i||o(e,t,n)||o(e.target,t,n)}),this),!i&&z(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=zB(n,"inRange"===t?"active":"inactive",r)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,z(i,(function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)}),this),"single"===n.selectedMode){var o=!1;z(i,(function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(o?r[n]=!1:o=!0)}),this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=C(t)},e.prototype.getValueState=function(t){var e=CC.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries((function(i){var r=[],o=i.getData();o.each(this.getDataDimensionIndex(o),(function(e,i){CC.findPieceIndex(e,n)===t&&r.push(i)}),this),e.push({seriesId:i.id,dataIndex:r})}),this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),(o=r[r.length-1].interval[1])!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var a=-1/0;return z(r,(function(t){var e=t.interval;e&&(e[0]>a&&s([a,e[0]],"outOfRange"),s(e.slice()),a=e[1])}),this),{stops:e,outerColors:n}}function s(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=t(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=Rc(YB.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(YB),yF={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;for(var o=(i[1]-i[0])/r;+o.toFixed(n)!==o&&n<5;)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var a=0,s=i[0];a","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function xF(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var _F=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,r=i.getFont(),o=i.getTextColor(),a=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),u=l.endsText,h=rt(e.get("showLabel",!0),!u),c=!e.get("selectedMode");u&&this._renderEndsText(t,u[0],s,h,a),z(l.viewPieceList,(function(i){var l=i.piece,u=new Wr;u.onclick=W(this._onItemClick,this,l),this._enableHoverLink(u,i.indexInModelPieceList);var d=e.getRepresentValue(l);if(this._createItemSymbol(u,d,[0,0,s[0],s[1]],c),h){var p=this.visualMapModel.getValueState(d);u.add(new qs({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:r,fill:o,opacity:"outOfRange"===p?.5:1},silent:c}))}t.add(u)}),this),u&&this._renderEndsText(t,u[1],s,h,a),Rd(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",(function(){return i("highlight")})).on("mouseout",(function(){return i("downplay")}));var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:JB(i.findTargetDataIndices(e),i)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return $B(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,i,r){if(e){var o=new Wr,a=this.visualMapModel.textStyleModel;o.add(new qs({style:uc(a,{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e})})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=V(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),i=t.get("orient"),r=t.get("inverse");return("horizontal"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n,i){var r=jv(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color"));r.silent=i,t.add(r)},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=n.selectedMode;if(i){var r=C(n.selected),o=e.getSelectedMapKey(t);"single"===i||!0===i?(r[o]=!0,z(r,(function(t,e){r[e]=e===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},e.type="visualMap.piecewise",e}(qB);function bF(t){t.registerComponentModel(mF),t.registerComponentView(_F),gF(t)}function wF(t){W_(vF),W_(bF)}var SF={label:{enabled:!0},decal:{show:!1}},MF=Ho(),IF={};function TF(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=C(SF);A(i.label,t.getLocaleModel().get("aria"),!1),A(n.option,i,!1),function(){if(n.getModel("decal").get("show")){var e=mt();t.eachSeries((function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||(n={},e.set(t.type,n)),MF(t).scope=n}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if(Z(e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var i=gp(e.ecModel,e.name,IF,t.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",u(r,i))}else{var o=e.getRawData(),a={},s=MF(e).scope;n.each((function(t){var e=n.getRawIndex(t);a[e]=t}));var l=o.count();o.each((function(t){var i=a[t],r=o.getName(t)||t+"",h=gp(e.ecModel,r,s,l),c=n.getItemVisual(i,"decal");n.setItemVisual(i,"decal",u(c,h))}))}}function u(t,e){var n=t?L(L({},e),t):e;return n.dirty=!0,n}}))}}(),function(){var i=e.getZr().dom;if(i){var o=t.getLocaleModel().get("aria"),a=n.getModel("label");if(a.option=k(a.option,o),a.get("enabled"))if(i.setAttribute("role","img"),a.get("description"))i.setAttribute("aria-label",a.get("description"));else{var s,l=t.getSeriesCount(),u=a.get(["data","maxCount"])||10,h=a.get(["series","maxCount"])||10,c=Math.min(l,h);if(!(l<1)){var d=function(){var e=t.get("title");return e&&e.length&&(e=e[0]),e&&e.text}();s=d?r(a.get(["general","withTitle"]),{title:d}):a.get(["general","withoutTitle"]);var p=[];s+=r(l>1?a.get(["series","multiple","prefix"]):a.get(["series","single","prefix"]),{seriesCount:l}),t.eachSeries((function(e,n){if(n1?a.get(["series","multiple",o]):a.get(["series","single",o]),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(_=e.subType,b=t.getLocaleModel().get(["series","typeNames"]),b[_]||b.chart)});var s=e.getData();s.count()>u?i+=r(a.get(["data","partialData"]),{displayCnt:u}):i+=a.get(["data","allData"]);for(var h=a.get(["data","separator","middle"]),d=a.get(["data","separator","end"]),f=a.get(["data","excludeDimensionId"]),g=[],v=0;v":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},DF=function(){function t(t){null==(this._condVal=X(t)?new RegExp(t):nt(t)?t:null)&&To("")}return t.prototype.evaluate=function(t){var e=typeof t;return X(e)?this._condVal.test(t):!!q(e)&&this._condVal.test(t+"")},t}(),LF=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),kF=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e2&&l.push(e),e=[t,n]}function f(t,n,i,r){ZF(t,i)&&ZF(n,r)||e.push(t,n,i,r,i,r)}function g(t,n,i,r,o,a){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,u=nM:C2&&l.push(e),l}function jF(t,e,n,i,r,o,a,s,l,u){if(ZF(t,n)&&ZF(e,i)&&ZF(r,a)&&ZF(o,s))l.push(a,s);else{var h=2/u,c=h*h,d=a-t,p=s-e,f=Math.sqrt(d*d+p*p);d/=f,p/=f;var g=n-t,v=i-e,m=r-a,y=o-s,x=g*g+v*v,_=m*m+y*y;if(x=0&&_-w*w=0)l.push(a,s);else{var S=[],M=[];Tn(t,n,r,a,.5,S),Tn(e,i,o,s,.5,M),jF(S[0],M[0],S[1],M[1],S[2],M[2],S[3],M[3],l,u),jF(S[4],M[4],S[5],M[5],S[6],M[6],S[7],M[7],l,u)}}}}function qF(t,e,n){var i=t[e],r=t[1-e],o=Math.abs(i/r),a=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],u=0;u0)for(u=0;uMath.abs(u),c=qF([l,u],h?0:1,e),d=(h?s:u)/c.length,p=0;p1?null:new Le(p*l+t,p*u+e)}function QF(t,e,n){var i=new Le;Le.sub(i,n,e),i.normalize();var r=new Le;return Le.sub(r,t,e),r.dot(i)}function tG(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function eG(t){var e=t.points,n=[],i=[];Wa(e,n,i);var r=new Be(n[0],n[1],i[0]-n[0],i[1]-n[1]),o=r.width,a=r.height,s=r.x,l=r.y,u=new Le,h=new Le;return o>a?(u.x=h.x=s+o/2,u.y=l,h.y=l+a):(u.y=h.y=l+a/2,u.x=s,h.x=s+o),function(t,e,n){for(var i=t.length,r=[],o=0;or,a=qF([i,r],o?0:1,e),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",h=o?"y":"x",c=t[s]/a.length,d=0;d0;l/=2){var u=0,h=0;(t&l)>0&&(u=1),(e&l)>0&&(h=1),s+=l*l*(3*u^h),0===h&&(1===u&&(t=l-1-t,e=l-1-e),a=t,t=e,e=a)}return s}function yG(t){var e=1/0,n=1/0,i=-1/0,r=-1/0,o=V(t,(function(t){var o=t.getBoundingRect(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]}));return V(o,(function(o,a){return{cp:o,z:mG(o[0],o[1],e,n,i,r),path:t[a]}})).sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function xG(t){return rG(t.path,t.count)}function _G(t){return Y(t[0])}function bG(t,e){for(var n=[],i=t.length,r=0;r=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[r].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var wG={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),i=0;i0){var s,l,u=i.getModel("universalTransition").get("delay"),h=Object.assign({setToFinal:!0},a);_G(t)&&(s=t,l=e),_G(e)&&(s=e,l=t);for(var c=s?s===t:t.length>e.length,d=s?bG(l,s):bG(c?e:t,[c?t:e]),p=0,f=0;fIG))for(var r=n.getIndices(),o=0;o0&&i.group.traverse((function(t){t instanceof Rs&&!t.animators.length&&t.animateFrom({style:{opacity:0}},r)}))}))}function zG(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function VG(t){return Y(t)?t.sort().join(","):t}function BG(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function FG(t,e){for(var n=0;n=0&&r.push({dataGroupId:e.oldDataGroupIds[n],data:e.oldData[n],divide:BG(e.oldData[n]),groupIdDim:t.dimension})})),z(Lo(t.to),(function(t){var i=FG(n.updatedSeries,t);if(i>=0){var r=n.updatedSeries[i].getData();o.push({dataGroupId:e.oldDataGroupIds[i],data:r,divide:BG(r),groupIdDim:t.dimension})}})),r.length>0&&o.length>0&&EG(r,o,i)}(t,i,n,e)}));else{var o=function(t,e){var n=mt(),i=mt(),r=mt();return z(t.oldSeries,(function(e,n){var o=t.oldDataGroupIds[n],a=t.oldData[n],s=zG(e),l=VG(s);i.set(l,{dataGroupId:o,data:a}),Y(s)&&z(s,(function(t){r.set(t,{key:l,dataGroupId:o,data:a})}))})),z(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.get("dataGroupId"),o=t.getData(),a=zG(t),s=VG(a),l=i.get(s);if(l)n.set(s,{oldSeries:[{dataGroupId:l.dataGroupId,divide:BG(l.data),data:l.data}],newSeries:[{dataGroupId:e,divide:BG(o),data:o}]});else if(Y(a)){var u=[];z(a,(function(t){var e=i.get(t);e.data&&u.push({dataGroupId:e.dataGroupId,divide:BG(e.data),data:e.data})})),u.length&&n.set(s,{oldSeries:u,newSeries:[{dataGroupId:e,data:o,divide:BG(o)}]})}else{var h=r.get(a);if(h){var c=n.get(h.key);c||(c={oldSeries:[{dataGroupId:h.dataGroupId,data:h.data,divide:BG(h.data)}],newSeries:[]},n.set(h.key,c)),c.newSeries.push({dataGroupId:e,data:o,divide:BG(o)})}}}})),n}(i,n);z(o.keys(),(function(t){var n=o.get(t);EG(n.oldSeries,n.newSeries,e)}))}z(n.updatedSeries,(function(t){t[Sg]&&(t[Sg]=!1)}))}for(var a=t.getSeries(),s=i.oldSeries=[],l=i.oldDataGroupIds=[],u=i.oldData=[],h=0;h=YG:-l>=YG),d=l>0?l%YG:l%YG+YG,p=!1;p=!!c||!vi(h)&&d>=UG==!!u;var f=t+n*WG(o),g=e+i*HG(o);this._start&&this._add("M",f,g);var v=Math.round(r*ZG);if(c){var m=1/this._p,y=(u?1:-1)*(YG-m);this._add("A",n,i,v,1,+u,t+n*WG(o+y),e+i*HG(o+y)),m>.01&&this._add("A",n,i,v,0,+u,f,g)}else{var x=t+n*WG(a),_=e+i*HG(a);this._add("A",n,i,v,+p,+u,x,_)}},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,o,a,s,l){for(var u=[],h=this._p,c=1;c"}(r,o)+("style"!==r?oe(a):a||"")+(i?""+n+V(i,(function(e){return t(e)})).join(n)+n:"")+function(t){return""}(r)}(t)}function oH(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function aH(t,e,n,i){return iH("svg","root",{width:t,height:e,xmlns:QG,"xmlns:xlink":tH,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+t+" "+e},n)}var sH=0;function lH(){return sH++}var uH={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},hH="transform-origin";function cH(t,e,n){var i=L({},t.shape);L(i,e),t.buildPath(n,i);var r=new XG;return r.reset(Ti(t)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function dH(t,e){var n=e.originX,i=e.originY;(n||i)&&(t[hH]=n+"px "+i+"px")}var pH={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function fH(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function gH(t){return X(t)?uH[t]?"cubic-bezier("+uH[t]+")":En(t)?t:"":""}function vH(t,e,n,i){var r=t.animators,o=r.length,a=[];if(t instanceof sh){var s=function(t,e,n){var i,r,o=t.shape.paths,a={};if(z(o,(function(t){var e=oH(n.zrId);e.animation=!0,vH(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=H(o),u=l.length;if(u){var h=o[r=l[u-1]];for(var c in h){var d=h[c];a[c]=a[c]||{d:""},a[c].d+=d.d||""}for(var p in s){var f=s[p].animation;f.indexOf(r)>=0&&(i=f)}}})),i){e.d=!1;var s=fH(a,n);return i.replace(r,s)}}(t,e,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u0})).length)return fH(h,n)+" "+r[0]+" both"}for(var v in l)(s=g(l[v]))&&a.push(s);if(a.length){var m=n.zrId+"-cls-"+lH();n.cssNodes["."+m]={animation:a.join(",")},e.class=m}}function mH(t,e,n,i){var r=JSON.stringify(t),o=n.cssStyleCache[r];o||(o=n.zrId+"-cls-"+lH(),n.cssStyleCache[r]=o,n.cssNodes["."+o+":hover"]=t),e.class=e.class?e.class+" "+o:o}var yH=Math.round;function xH(t){return t&&X(t.src)}function _H(t){return t&&Z(t.toDataURL)}function bH(t,e,n,i){JG((function(r,o){var a="fill"===r||"stroke"===r;a&&Mi(o)?PH(e,t,r,i):a&&bi(o)?OH(n,t,r,i):t[r]=o,a&&i.ssr&&"none"===o&&(t["pointer-events"]="visible")}),e,n,!1),function(t,e,n){var i=t.style;if(function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}(i)){var r=function(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}(t),o=n.shadowCache,a=o[r];if(!a){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var h=i.shadowOffsetX||0,c=i.shadowOffsetY||0,d=i.shadowBlur,p=fi(i.shadowColor),f=p.opacity,g=p.color,v=d/2/l+" "+d/2/u;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=iH("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[iH("feDropShadow","",{dx:h/l,dy:c/u,stdDeviation:v,"flood-color":g,"flood-opacity":f})]),o[r]=a}e.filter=Ii(a)}}(n,t,i)}function wH(t,e){var n=Kr(e);n&&(n.each((function(e,n){null!=e&&(t[(eH+n).toLowerCase()]=e+"")})),e.isSilent()&&(t[eH+"silent"]="true"))}function SH(t){return vi(t[0]-1)&&vi(t[1])&&vi(t[2])&&vi(t[3]-1)}function MH(t,e,n){if(e&&(!function(t){return vi(t[4])&&vi(t[5])}(e)||!SH(e))){var i=1e4;t.transform=SH(e)?"translate("+yH(e[4]*i)/i+" "+yH(e[5]*i)/i+")":function(t){return"matrix("+mi(t[0])+","+mi(t[1])+","+mi(t[2])+","+mi(t[3])+","+yi(t[4])+","+yi(t[5])+")"}(e)}}function IH(t,e,n){for(var i=t.points,r=[],o=0;o=0&&a||o;s&&(r=ci(s))}var l=i.lineWidth;l&&(l/=!i.strokeNoScale&&t.transform?t.transform[0]:1);var u={cursor:"pointer"};r&&(u.fill=r),i.stroke&&(u.stroke=i.stroke),l&&(u["stroke-width"]=l),mH(u,e,n)}}(t,o,e),iH(s,t.id+"",o)}function kH(t,e){return t instanceof Rs?LH(t,e):t instanceof Bs?function(t,e){var n=t.style,i=n.image;if(i&&!X(i)&&(xH(i)?i=i.src:_H(i)&&(i=i.toDataURL())),i){var r=n.x||0,o=n.y||0,a={href:i,width:n.width,height:n.height};return r&&(a.x=r),o&&(a.y=o),MH(a,t.transform),bH(a,n,t,e),wH(a,t),e.animation&&vH(t,a,e),iH("image",t.id+"",a)}}(t,e):t instanceof Es?function(t,e){var n=t.style,i=n.text;if(null!=i&&(i+=""),i&&!isNaN(n.x)&&!isNaN(n.y)){var r=n.font||u,o=n.x||0,a=function(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}(n.y||0,Lr(r),n.textBaseline),s={"dominant-baseline":"central","text-anchor":xi[n.textAlign]||n.textAlign};if(el(n)){var h="",c=n.fontStyle,d=Qs(n.fontSize);if(!parseFloat(d))return;var p=n.fontFamily||l,f=n.fontWeight;h+="font-size:"+d+";font-family:"+p+";",c&&"normal"!==c&&(h+="font-style:"+c+";"),f&&"normal"!==f&&(h+="font-weight:"+f+";"),s.style=h}else s.style="font: "+r;return i.match(/\s/)&&(s["xml:space"]="preserve"),o&&(s.x=o),a&&(s.y=a),MH(s,t.transform),bH(s,n,t,e),wH(s,t),e.animation&&vH(t,s,e),iH("text",t.id+"",s,void 0,i)}}(t,e):void 0}function PH(t,e,n,i){var r,o=t[n],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(wi(o))r="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!Si(o))return;r="radialGradient",a.cx=ot(o.x,.5),a.cy=ot(o.y,.5),a.r=ot(o.r,.5)}for(var s=o.colorStops,l=[],u=0,h=s.length;ul?jH(t,null==n[c+1]?null:n[c+1].elm,n,s,c):qH(t,e,a,l))}(n,i,r):UH(r)?(UH(t.text)&&GH(n,""),jH(n,null,r,0,r.length-1)):UH(i)?qH(n,i,0,i.length-1):UH(t.text)&&GH(n,""):t.text!==e.text&&(UH(i)&&qH(n,i,0,i.length-1),GH(n,e.text)))}var JH=0,QH=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=function(){},this.configLayer=function(){},this.storage=e,this._opts=n=L({},n),this.root=t,this._id="zr"+JH++,this._oldVNode=aH(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=nH("svg");KH(null,this._oldVNode),i.appendChild(r),t.appendChild(i)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",function(t,e){if(ZH(t,e))$H(t,e);else{var n=t.elm,i=BH(n);XH(e),null!==i&&(EH(i,e.elm,FH(n)),qH(i,[t],0,0))}}(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return kH(t,oH(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,i=this._height,r=oH(this._id);r.animation=t.animation,r.willUpdate=t.willUpdate,r.compress=t.compress,r.emphasis=t.emphasis,r.ssr=this._opts.ssr;var o=[],a=this._bgVNode=function(t,e,n,i){var r;if(n&&"none"!==n)if(r=iH("rect","bg",{width:t,height:e,x:"0",y:"0"}),Mi(n))PH({fill:n},r.attrs,"fill",i);else if(bi(n))OH({style:{fill:n},dirty:wt,getBoundingRect:function(){return{width:t,height:e}}},r.attrs,"fill",i);else{var o=fi(n),a=o.color,s=o.opacity;r.attrs.fill=a,s<1&&(r.attrs["fill-opacity"]=s)}return r}(n,i,this._backgroundColor,r);a&&o.push(a);var s=t.compress?null:this._mainVNode=iH("g","main",{},[]);this._paintList(e,r,s?s.children:o),s&&o.push(s);var l=V(H(r.defs),(function(t){return r.defs[t]}));if(l.length&&o.push(iH("defs","defs",{},l)),t.animation){var u=function(t,e,n){var i=(n=n||{}).newline?"\n":"",r=" {"+i,o=i+"}",a=V(H(t),(function(e){return e+r+V(H(t[e]),(function(n){return n+":"+t[e][n]+";"})).join(i)+o})).join(i),s=V(H(e),(function(t){return"@keyframes "+t+r+V(H(e[t]),(function(n){return n+r+V(H(e[t][n]),(function(i){var r=e[t][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"})).join(i)+o})).join(i)+o})).join(i);return a||s?[""].join(i):""}(r.cssNodes,r.cssAnims,{newline:!0});if(u){var h=iH("style","stl",{},[],u);o.push(h)}}return aH(n,i,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},rH(this.renderToVNode({animation:ot(t.cssAnimation,!0),emphasis:ot(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:ot(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,o=t.length,a=[],s=0,l=0,u=0;u=0&&(!c||!r||c[f]!==r[f]);f--);for(var g=p-1;g>f;g--)i=a[--s-1];for(var v=f+1;v=a)}}for(var h=this.__startIndex;h15)break}n.prevElClipPaths&&u.restore()};if(d)if(0===d.length)s=l.__endIndex;else for(var _=p.dpr,b=0;b0&&t>i[0]){for(s=0;st);s++);a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i0?rW:0),this._needsManuallyCompositing),u.__builtin__||T("ZLevel "+l+" has been used by unkown layer "+u.id),u!==o&&(u.__used=!0,u.__startIndex!==r&&(u.__dirty=!0),u.__startIndex=r,u.incremental?u.__drawIndex=-1:u.__drawIndex=r,e(r),o=u),s.__dirty&nn&&!s.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=r))}e(r),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,z(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?A(n[t],e,!0):n[t]=e;for(var i=0;i=11),domSupported:"undefined"!=typeof document}),fW=s}var xW,_W={};function bW(){if(xW)return _W;xW=1;var t={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},e={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},n=Object.prototype.toString,i=Array.prototype,r=i.forEach,o=i.filter,a=i.slice,s=i.map,l=i.reduce,u={};function h(i){if(null==i||"object"!=typeof i)return i;var r=i,o=n.call(i);if("[object Array]"===o){if(!w(i)){r=[];for(var a=0,s=i.length;a3&&(r=t.call(r,1));for(var a=n.length,s=0;s4&&(r=t.call(r,1,r.length-1));for(var a=r[r.length-1],s=n.length,l=0;l>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[s]+":0",r[l]+":0",i[1-s]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(r,u),c=function(t,e,i){for(var r=i?"invTrans":"trans",o=e[r],a=e.srcCoords,s=!0,l=[],u=[],h=0;h<4;h++){var c=t[h].getBoundingClientRect(),d=2*h,p=c.left,f=c.top;l.push(p,f),s=s&&a&&p===a[d]&&f===a[d+1],u.push(t[h].offsetLeft,t[h].offsetTop)}return s&&o?o:(e.srcCoords=l,e[r]=i?n(u,l):n(l,u))}(h,u,l);if(c)return c(e,o,s),!0}return!1}function a(t){return"CANVAS"===t.nodeName.toUpperCase()}return VW.transformLocalCoord=function(t,e,n,i,a){return o(r,e,i,a,!0)&&o(t,n,r[0],r[1])},VW.transformCoordWithViewport=o,VW.isCanvasEl=a,VW}function GW(){if(PW)return zW;PW=1;var t=DW();zW.Dispatcher=t;var e=yW(),n=FW(),i=n.isCanvasEl,r=n.transformCoordWithViewport,o="undefined"!=typeof window&&!!window.addEventListener,a=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,s=[];function l(t,n,i,r){return i=i||{},r||!e.canvasSupported?u(t,n,i):e.browser.firefox&&null!=n.layerX&&n.layerX!==n.offsetX?(i.zrX=n.layerX,i.zrY=n.layerY):null!=n.offsetX?(i.zrX=n.offsetX,i.zrY=n.offsetY):u(t,n,i),i}function u(t,n,o){if(e.domSupported&&t.getBoundingClientRect){var a=n.clientX,l=n.clientY;if(i(t)){var u=t.getBoundingClientRect();return o.zrX=a-u.left,void(o.zrY=l-u.top)}if(r(s,t,a,l))return o.zrX=s[0],void(o.zrY=s[1])}o.zrX=o.zrY=0}function h(t){return t||window.event}var c=o?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};return zW.clientToLocal=l,zW.getNativeEvent=h,zW.normalizeEvent=function(t,e,n){if(null!=(e=h(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&l(t,r,e,n)}else l(t,e,e,n),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var o=e.button;return null==e.which&&void 0!==o&&a.test(e.type)&&(e.which=1&o?1:2&o?3:4&o?2:0),e},zW.addEventListener=function(t,e,n,i){o?t.addEventListener(e,n,i):t.attachEvent("on"+e,n)},zW.removeEventListener=function(t,e,n,i){o?t.removeEventListener(e,n,i):t.detachEvent("on"+e,n)},zW.stop=c,zW.isMiddleOrRightButtonOnMouseUpDown=function(t){return 2===t.which||3===t.which},zW.notLeftMouse=function(t){return t.which>1},zW}function HW(){if(EW)return NW;EW=1;var t=bW(),e=AW(),n=function(){if(MW)return SW;function t(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}function e(t,e){return{target:t,topTarget:e&&e.topTarget}}return MW=1,t.prototype={constructor:t,_dragStart:function(t){for(var n=t.target;n&&!n.draggable;)n=n.parent;n&&(this._draggingTarget=n,n.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(e(n,t),"dragstart",t.event))},_drag:function(t){var n=this._draggingTarget;if(n){var i=t.offsetX,r=t.offsetY,o=i-this._x,a=r-this._y;this._x=i,this._y=r,n.drift(o,a,t),this.dispatchToElement(e(n,t),"drag",t.event);var s=this.findHover(i,r,n).target,l=this._dropTarget;this._dropTarget=s,n!==s&&(l&&s!==l&&this.dispatchToElement(e(l,t),"dragleave",t.event),s&&s!==l&&this.dispatchToElement(e(s,t),"dragenter",t.event))}},_dragEnd:function(t){var n=this._draggingTarget;n&&(n.dragging=!1),this.dispatchToElement(e(n,t),"dragend",t.event),this._dropTarget&&this.dispatchToElement(e(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null}},SW=t}(),i=DW(),r=GW(),o=function(){if(RW)return OW;RW=1;var t=GW(),e=function(){this._track=[]};function n(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}e.prototype={constructor:e,recognize:function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},clear:function(){return this._track.length=0,this},_doTrack:function(e,n,i){var r=e.touches;if(r){for(var o={points:[],touches:[],target:n,event:e},a=0,s=r.length;a1&&o&&o.length>1){var s=n(o)/n(a);!isFinite(s)&&(s=1),e.pinchScale=s;var l=[((r=o)[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2];return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}};return OW=e}(),a="silent";function s(){r.stop(this.event)}function l(){}l.prototype.dispose=function(){};var u=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],h=function(t,e,r,o){i.call(this),this.storage=t,this.painter=e,this.painterRoot=o,r=r||new l,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,n.call(this),this.setHandlerProxy(r)};function c(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i,r=t;r;){if(r.clipPath&&!r.clipPath.contain(e,n))return!1;r.silent&&(i=!0),r=r.parent}return!i||a}return!1}function d(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}return h.prototype={constructor:h,setHandlerProxy:function(e){this.proxy&&this.proxy.dispose(),e&&(t.each(u,(function(t){e.on&&e.on(t,this[t],this)}),this),e.handler=this),this.proxy=e},mousemove:function(t){var e=t.zrX,n=t.zrY,i=d(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?{x:e,y:n}:this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},mouseout:function(t){var e=t.zrEventControl,n=t.zrIsToLocalDOM;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&!n&&this.trigger("globalout",{type:"globalout",event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var n=this[t];n&&n.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:s}}(e,t,n);i&&(i[r]&&(o.cancelBubble=i[r].call(i,o)),i.trigger(e,o),i=i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer((function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},findHover:function(t,e,n){for(var i=this.storage.getDisplayList(),r={x:t,y:e},o=i.length-1;o>=0;o--){var s;if(i[o]!==n&&!i[o].ignore&&(s=c(i[o],t,e))&&(!r.topTarget&&(r.topTarget=i[o]),s!==a)){r.target=i[o];break}}return r},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new o);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r,this.dispatchToElement({target:i.target},r,i.event)}}},t.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){h.prototype[t]=function(n){var i,r,o=n.zrX,a=n.zrY,s=d(this,o,a);if("mouseup"===t&&s||(r=(i=this.findHover(o,a)).target),"mousedown"===t)this._downEl=r,this._downPoint=[n.zrX,n.zrY],this._upEl=r;else if("mouseup"===t)this._upEl=r;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||e.dist(this._downPoint,[n.zrX,n.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,t,n)}})),t.mixin(h,i),t.mixin(h,n),NW=h}var WW,UW,YW,ZW,XW,jW,qW,KW={};function $W(){if(WW)return KW;WW=1;var t="undefined"==typeof Float32Array?Array:Float32Array;function e(){var e=new t(6);return n(e),e}function n(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}return KW.create=e,KW.identity=n,KW.copy=i,KW.mul=function(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t},KW.translate=function(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t},KW.rotate=function(t,e,n){var i=e[0],r=e[2],o=e[4],a=e[1],s=e[3],l=e[5],u=Math.sin(n),h=Math.cos(n);return t[0]=i*h+a*u,t[1]=-i*u+a*h,t[2]=r*h+s*u,t[3]=-r*u+h*s,t[4]=h*o+u*l,t[5]=h*l-u*o,t},KW.scale=function(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t},KW.invert=function(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null},KW.clone=function(t){var n=e();return i(n,t),n},KW}function JW(){if(YW)return UW;YW=1;var t=$W(),e=AW(),n=t.identity,i=5e-5;function r(t){return t>i||t<-5e-5}var o=function(t){(t=t||{}).position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},a=o.prototype;a.transform=null,a.needLocalTransform=function(){return r(this.rotation)||r(this.position[0])||r(this.position[1])||r(this.scale[0]-1)||r(this.scale[1]-1)};var s=[];a.updateTransform=function(){var e=this.parent,i=e&&e.transform,r=this.needLocalTransform(),o=this.transform;if(r||i){o=o||t.create(),r?this.getLocalTransform(o):n(o),i&&(r?t.mul(o,e.transform,o):t.copy(o,e.transform)),this.transform=o;var a=this.globalScaleRatio;if(null!=a&&1!==a){this.getGlobalScale(s);var l=s[0]<0?-1:1,u=s[1]<0?-1:1,h=((s[0]-l)*a+l)/s[0]||0,c=((s[1]-u)*a+u)/s[1]||0;o[0]*=h,o[1]*=h,o[2]*=c,o[3]*=c}this.invTransform=this.invTransform||t.create(),t.invert(this.invTransform,o)}else o&&n(o)},a.getLocalTransform=function(t){return o.getLocalTransform(this,t)},a.setTransform=function(t){var e=this.transform,n=t.dpr||1;e?t.setTransform(n*e[0],n*e[1],n*e[2],n*e[3],n*e[4],n*e[5]):t.setTransform(n,0,0,n,0,0)},a.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var l=[],u=t.create();return a.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=this.position,o=this.scale;r(e-1)&&(e=Math.sqrt(e)),r(n-1)&&(n=Math.sqrt(n)),t[0]<0&&(e=-e),t[3]<0&&(n=-n),i[0]=t[4],i[1]=t[5],o[0]=e,o[1]=n,this.rotation=Math.atan2(-t[1]/n,t[0]/e)}},a.decomposeTransform=function(){if(this.transform){var e=this.parent,n=this.transform;e&&e.transform&&(t.mul(l,e.invTransform,n),n=l);var i=this.origin;i&&(i[0]||i[1])&&(u[4]=i[0],u[5]=i[1],t.mul(l,n,u),l[4]-=i[0],l[5]-=i[1],n=l),this.setLocalTransform(n)}},a.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},a.transformCoordToLocal=function(t,n){var i=[t,n],r=this.invTransform;return r&&e.applyTransform(i,i,r),i},a.transformCoordToGlobal=function(t,n){var i=[t,n],r=this.transform;return r&&e.applyTransform(i,i,r),i},o.getLocalTransform=function(e,i){n(i=i||[]);var r=e.origin,o=e.scale||[1,1],a=e.rotation||0,s=e.position||[0,0];return r&&(i[4]-=r[0],i[5]-=r[1]),t.scale(i,i,o),a&&t.rotate(i,i,a),r&&(i[4]+=r[0],i[5]+=r[1]),i[4]+=s[0],i[5]+=s[1],i},UW=o}function QW(){if(qW)return jW;qW=1;var t=function(){if(XW)return ZW;XW=1;var t={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(e){return 1-t.bounceOut(1-e)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(e){return e<.5?.5*t.bounceIn(2*e):.5*t.bounceOut(2*e-1)+.5}};return ZW=t}();function e(t){this._target=t.target,this._life=t.life||1e3,this._delay=t.delay||0,this._initialized=!1,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"Linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart,this._pausedTime=0,this._paused=!1}return e.prototype={constructor:e,step:function(e,n){if(this._initialized||(this._startTime=e+this._delay,this._initialized=!0),this._paused)this._pausedTime+=n;else{var i=(e-this._startTime-this._pausedTime)/this._life;if(!(i<0)){i=Math.min(i,1);var r=this.easing,o="string"==typeof r?t[r]:r,a="function"==typeof o?o(i):i;return this.fire("frame",a),1===i?this.loop?(this.restart(e),"restart"):(this._needsRemove=!0,"destroy"):null}}},restart:function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(t,e){this[t="on"+t]&&this[t](this._target,e)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}},jW=e}var tU,eU,nU,iU,rU,oU={};function aU(){if(eU)return tU;eU=1;var t=function(){this.head=null,this.tail=null,this._len=0},e=t.prototype;e.insert=function(t){var e=new n(t);return this.insertEntry(e),e},e.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},e.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},e.len=function(){return this._len},e.clear=function(){this.head=this.tail=null,this._len=0};var n=function(t){this.value=t,this.next,this.prev},i=function(e){this._list=new t,this._map={},this._maxSize=e||10,this._lastRemovedEntry=null},r=i.prototype;return r.put=function(t,e){var i=this._list,r=this._map,o=null;if(null==r[t]){var a=i.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=i.head;i.remove(l),delete r[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new n(e),s.key=t,i.insertEntry(s),r[t]=s}return o},r.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},r.clear=function(){this._list.clear(),this._map={}},tU=i}function sU(){if(nU)return oU;nU=1;var t=aU(),e={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function n(t){return(t=Math.round(t))<0?0:t>255?255:t}function i(t){return t<0?0:t>1?1:t}function r(t){return t.length&&"%"===t.charAt(t.length-1)?n(parseFloat(t)/100*255):n(parseInt(t,10))}function o(t){return t.length&&"%"===t.charAt(t.length-1)?i(parseFloat(t)/100):i(parseFloat(t))}function a(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function s(t,e,n){return t+(e-t)*n}function l(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function u(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var h=new t(20),c=null;function d(t,e){c&&u(c,e),c=h.put(t,c||e.slice())}function p(t,n){if(t){n=n||[];var i=h.get(t);if(i)return u(n,i);var a,s=(t+="").replace(/ /g,"").toLowerCase();if(s in e)return u(n,e[s]),d(t,n),n;if("#"===s.charAt(0))return 4===s.length?(a=parseInt(s.substr(1),16))>=0&&a<=4095?(l(n,(3840&a)>>4|(3840&a)>>8,240&a|(240&a)>>4,15&a|(15&a)<<4,1),d(t,n),n):void l(n,0,0,0,1):7===s.length?(a=parseInt(s.substr(1),16))>=0&&a<=16777215?(l(n,(16711680&a)>>16,(65280&a)>>8,255&a,1),d(t,n),n):void l(n,0,0,0,1):void 0;var c=s.indexOf("("),p=s.indexOf(")");if(-1!==c&&p+1===s.length){var g=s.substr(0,c),v=s.substr(c+1,p-(c+1)).split(","),m=1;switch(g){case"rgba":if(4!==v.length)return void l(n,0,0,0,1);m=o(v.pop());case"rgb":return 3!==v.length?void l(n,0,0,0,1):(l(n,r(v[0]),r(v[1]),r(v[2]),m),d(t,n),n);case"hsla":return 4!==v.length?void l(n,0,0,0,1):(v[3]=o(v[3]),f(v,n),d(t,n),n);case"hsl":return 3!==v.length?void l(n,0,0,0,1):(f(v,n),d(t,n),n);default:return}}l(n,0,0,0,1)}}function f(t,e){var i=(parseFloat(t[0])%360+360)%360/360,r=o(t[1]),s=o(t[2]),u=s<=.5?s*(r+1):s+r-s*r,h=2*s-u;return l(e=e||[],n(255*a(h,u,i+1/3)),n(255*a(h,u,i)),n(255*a(h,u,i-1/3)),1),4===t.length&&(e[3]=t[3]),e}function g(t,e,r){if(e&&e.length&&t>=0&&t<=1){r=r||[];var o=t*(e.length-1),a=Math.floor(o),l=Math.ceil(o),u=e[a],h=e[l],c=o-a;return r[0]=n(s(u[0],h[0],c)),r[1]=n(s(u[1],h[1],c)),r[2]=n(s(u[2],h[2],c)),r[3]=i(s(u[3],h[3],c)),r}}var v=g;function m(t,e,r){if(e&&e.length&&t>=0&&t<=1){var o=t*(e.length-1),a=Math.floor(o),l=Math.ceil(o),u=p(e[a]),h=p(e[l]),c=o-a,d=x([n(s(u[0],h[0],c)),n(s(u[1],h[1],c)),n(s(u[2],h[2],c)),i(s(u[3],h[3],c))],"rgba");return r?{color:d,leftIndex:a,rightIndex:l,value:o}:d}}var y=m;function x(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}return oU.parse=p,oU.lift=function(t,e){var n=p(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:t[i]<0&&(n[i]=0);return x(n,4===n.length?"rgba":"rgb")}},oU.toHex=function(t){var e=p(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)},oU.fastLerp=g,oU.fastMapToColor=v,oU.lerp=m,oU.mapToColor=y,oU.modifyHSL=function(t,e,n,i){if(t=p(t))return t=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var h=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,d=((s-o)/6+l/2)/l;i===s?e=d-c:r===s?e=1/3+h-d:o===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,n,u];return null!=t[3]&&p.push(t[3]),p}}(t),null!=e&&(t[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(e)),null!=n&&(t[1]=o(n)),null!=i&&(t[2]=o(i)),x(f(t),"rgba")},oU.modifyAlpha=function(t,e){if((t=p(t))&&null!=e)return t[3]=i(e),x(t,"rgba")},oU.stringify=x,oU}function lU(){if(rU)return iU;rU=1;var t=QW(),e=sU(),n=bW().isArrayLike,i=Array.prototype.slice;function r(t,e){return t[e]}function o(t,e,n){t[e]=n}function a(t,e,n){return(e-t)*n+t}function s(t,e,n){return n>.5?e:t}function l(t,e,n,i,r){var o=t.length;if(1===r)for(var s=0;so)t.length=o;else for(var a=r;a=0&&!(C[n]<=e);n--);n=Math.min(n,_-2)}else{for(n=F;n<_&&!(C[n]>e);n++);n=Math.min(n-1,_-2)}F=n,G=e;var i=C[n+1]-C[n];if(0!==i)if(N=(e-C[n])/i,x)if(z=A[n],E=A[0===n?n:n-1],V=A[n>_-2?_-1:n+1],B=A[n>_-3?_-1:n+2],S)c(E,z,V,B,N,N*N,N*N*N,m(t,g),T);else{if(M)r=c(E,z,V,B,N,N*N,N*N*N,H,1),r=f(H);else{if(I)return s(z,V,N);r=d(E,z,V,B,N,N*N,N*N*N)}y(t,g,r)}else if(S)l(A[n],A[n+1],N,m(t,g),T);else{var r;if(M)l(A[n],A[n+1],N,H,1),r=f(H);else{if(I)return s(A[n],A[n+1],N);r=a(A[n],A[n+1],N)}y(t,g,r)}},ondestroy:o});return r&&"spline"!==r&&(W.easing=r),W}}}var v=function(t,e,n,i){this._tracks={},this._target=t,this._loop=e||!1,this._getter=n||r,this._setter=i||o,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};return v.prototype={when:function(t,e){var n=this._tracks;for(var i in e)if(e.hasOwnProperty(i)){if(!n[i]){n[i]=[];var r=this._getter(this._target,i);if(null==r)continue;0!==t&&n[i].push({time:0,value:p(r)})}n[i].push({time:t,value:e[i]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;t0&&t.animate(e,!1).when(null==r?500:r,u).delay(s||0)}function c(t,e,n,i){if(e){var r={};r[e]={},r[e][n]=i,t.attr(r)}else t.attr(n,i)}return l.prototype={constructor:l,animate:function(n,i){var r,o=!1,a=this,l=this.__zr;if(n){var u=n.split("."),h=a;o="shape"===u[0];for(var c=0,d=u.length;c=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},clone:function(){return new o(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},o.create=function(t){return new o(t.x,t.y,t.width,t.height)},vU=o}function PU(){if(xU)return yU;xU=1;var t=bW(),e=LU(),n=kU(),i=function(t){for(var n in t=t||{},e.call(this,t),t)t.hasOwnProperty(n)&&(this[n]=t[n]);this._children=[],this.__storage=null,this.__dirty=!0};return i.prototype={constructor:i,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,n=0;n=0&&(n.splice(i,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,n=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof i&&t.addChildrenToStorage(e)),n&&n.refresh()},remove:function(e){var n=this.__zr,r=this.__storage,o=this._children,a=t.indexOf(o,e);return a<0||(o.splice(a,1),e.parent=null,r&&(r.delFromStorage(e),e instanceof i&&e.delChildrenFromStorage(r)),n&&n.refresh()),this},removeAll:function(){var t,e,n=this._children,r=this.__storage;for(e=0;e=0;)r++;return r-e}function e(t,e,n,i,r){for(i===e&&i++;i>>1])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function n(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a>>1);o(t,e[n+h])>0?a=h+1:l=h}return l}function i(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a>>1);o(t,e[n+h])<0?l=h:a=h+1}return l}function r(t,e){var r,o,a=7,s=0;t.length;var l=[];function u(u){var h=r[u],c=o[u],d=r[u+1],p=o[u+1];o[u]=c+p,u===s-3&&(r[u+1]=r[u+2],o[u+1]=o[u+2]),s--;var f=i(t[d],t,h,c,0,e);h+=f,0!=(c-=f)&&0!==(p=n(t[h+c-1],t,d,p,p-1,e))&&(c<=p?function(r,o,s,u){var h=0;for(h=0;h=7||g>=7);if(v)break;m<0&&(m=0),m+=2}if((a=m)<1&&(a=1),1===o){for(h=0;h=0;h--)t[g+h]=t[f+h];if(0===o){x=!0;break}}if(t[p--]=l[d--],1==--u){x=!0;break}if(0!=(y=u-n(t[c],l,0,u,u-1,e))){for(u-=y,g=1+(p-=y),f=1+(d-=y),h=0;h=7||y>=7);if(x)break;v<0&&(v=0),v+=2}if((a=v)<1&&(a=1),1===u){for(g=1+(p-=o),f=1+(c-=o),h=o-1;h>=0;h--)t[g+h]=t[f+h];t[p]=l[d]}else{if(0===u)throw new Error;for(f=p-(u-1),h=0;h=0;h--)t[g+h]=t[f+h];t[p]=l[d]}else for(f=p-(u-1),h=0;h1;){var t=s-2;if(t>=1&&o[t-1]<=o[t]+o[t+1]||t>=2&&o[t-2]<=o[t]+o[t-1])o[t-1]o[t+1])break;u(t)}},this.forceMergeRuns=function(){for(;s>1;){var t=s-2;t>0&&o[t-1]=32;)e|=1&t,t>>=1;return t+e}(s);do{if((l=t(n,o,a,i))h&&(c=h),e(n,o,o+c,o+l,i),l=c}u.pushRun(o,l),u.mergeRuns(),s-=l,o+=l}while(0!==s);u.forceMergeRuns()}}},_U}function RU(){if(IU)return MU;IU=1;var t={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};return MU=function(e,n,i){return t.hasOwnProperty(n)?i*e.dpr:i}}var NU,EU,zU,VU,BU,FU,GU,HU,WU,UU={};function YU(){return NU||(NU=1,UU.ContextCachedBy={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},UU.WILL_BE_RESTORED=9),UU}function ZU(){if(zU)return EU;zU=1;var t=RU(),e=YU().ContextCachedBy,n=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],i=function(t){this.extendFrom(t,!1)};function r(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=isNaN(i)?0:i,r=isNaN(r)?1:r,o=isNaN(o)?0:o,a=isNaN(a)?0:a,t.createLinearGradient(i,o,r,a)}function o(t,e,n){var i=n.width,r=n.height,o=Math.min(i,r),a=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(a=a*i+n.x,s=s*r+n.y,l*=o),t.createRadialGradient(a,s,0,a,s,l)}i.prototype={constructor:i,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(i,r,o){var a=this,s=o&&o.style,l=!s||i.__attrCachedBy!==e.STYLE_BIND;i.__attrCachedBy=e.STYLE_BIND;for(var u=0;u0},extendFrom:function(t,e){if(t)for(var n in t)!t.hasOwnProperty(n)||!0!==e&&(!1===e?this.hasOwnProperty(n):null==t[n])||(this[n]=t[n])},set:function(t,e){"string"==typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,n){for(var i=("radial"===e.type?o:r)(t,e,n),a=e.colorStops,s=0;s5e3&&(u=0,l={}),u++,l[n]=r,r}function f(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function g(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function v(t,e,n){var i=e.textPosition,r=e.textDistance,o=n.x,a=n.y;r=r||0;var s=n.height,l=n.width,u=s/2,h="left",c="top";switch(i){case"left":o-=r,a+=u,h="right",c="middle";break;case"right":o+=r+l,a+=u,c="middle";break;case"top":o+=l/2,a-=r,h="center",c="bottom";break;case"bottom":o+=l/2,a+=s+r,h="center";break;case"inside":o+=l/2,a+=u,h="center",c="middle";break;case"insideLeft":o+=r,a+=u,c="middle";break;case"insideRight":o+=l-r,a+=u,h="right",c="middle";break;case"insideTop":o+=l/2,a+=r,h="center";break;case"insideBottom":o+=l/2,a+=s-r,h="center",c="bottom";break;case"insideTopLeft":o+=r,a+=r;break;case"insideTopRight":o+=l-r,a+=r,h="right";break;case"insideBottomLeft":o+=r,a+=s-r,c="bottom";break;case"insideBottomRight":o+=l-r,a+=s-r,h="right",c="bottom"}return(t=t||{}).x=o,t.y=a,t.textAlign=h,t.textVerticalAlign=c,t}function m(t,e,n,i,r){if(!e)return"";var o=(t+"").split("\n");r=y(e,n,i,r);for(var a=0,s=o.length;a=s;u++)l-=s;var h=p(n,e);return h>l&&(n="",h=0),l=t-h,i.ellipsis=n,i.ellipsisWidth=h,i.contentWidth=l,i.containerWidth=t,i}function x(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=p(t,i);if(o<=n)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?_(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;o=p(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function _(t,e,n,i){for(var r=0,o=0,a=t.length;oc)t="",s=[];else if(null!=d)for(var p=y(d-(n?n[1]+n[3]:0),e,r.ellipsis,{minChar:r.minChar,placeholder:r.placeholder}),f=0,g=s.length;fs&&I(i,t.substring(s,l)),I(i,r[2],r[1]),s=h.lastIndex}sx)return{lines:[],width:0,height:0};z.textWidth=p(z.text,D);var k=C.textWidth,P=null==k||"auto"===k;if("string"==typeof k&&"%"===k.charAt(k.length-1))z.percentWidth=k,f.push(z),k=0;else{if(P){k=z.textWidth;var O=C.textBackgroundColor,R=O&&O.image;R&&(R=e.findExistImage(R),e.isImageReady(R)&&(k=Math.max(k,R.width*L/R.height)))}var N=A?A[1]+A[3]:0;k+=N;var E=null!=y?y-M:null;null!=E&&Eu&&(n*=u/(a=n+i),i*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),i+r>h&&(i*=h/(a=i+r),r*=h/a),n+o>h&&(n*=h/(a=n+o),o*=h/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+h-r),0!==r&&t.arc(s+u-r,l+h-r,r,0,Math.PI/2),t.lineTo(s+o,l+h),0!==o&&t.arc(s+o,l+h-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}),mY}function xY(){if(iY)return $U;iY=1;var t=bW(),e=t.retrieve2,n=t.retrieve3,i=t.each,r=t.normalizeCssArray,o=t.isString,a=t.isObject,s=eY(),l=yY(),u=tY(),h=RU(),c=YU(),d=c.ContextCachedBy,p=c.WILL_BE_RESTORED,f=s.DEFAULT_FONT,g={left:1,right:1,center:1},v={top:1,bottom:1,middle:1},m=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],y={},x={};function _(t){if(t){t.font=s.makeFont(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||g[e]?e:"left";var n=t.textVerticalAlign||t.textBaseline;"center"===n&&(n="middle"),t.textVerticalAlign=null==n||v[n]?n:"top",t.textPadding&&(t.textPadding=r(t.textPadding))}}function b(t,e,n,i,r){if(n&&e.textRotation){var o=e.textOrigin;"center"===o?(i=n.width/2+n.x,r=n.height/2+n.y):o&&(i=o[0]+n.x,r=o[1]+n.y),t.translate(i,r),t.rotate(-e.textRotation),t.translate(-i,-r)}}function w(t,i,r,o,a,s,l,u){var h=o.rich[r.styleName]||{};h.text=r.text;var c=r.textVerticalAlign,d=s+a/2;"top"===c?d=s+r.height/2:"bottom"===c&&(d=s+a-r.height/2),!r.isLineHolder&&S(h)&&M(t,i,h,"right"===u?l-r.width:"center"===u?l-r.width/2:l,d-r.height/2,r.width,r.height);var p=r.textPadding;p&&(l=k(l,u,p),d-=r.height/2-p[2]-r.textHeight/2),C(i,"shadowBlur",n(h.textShadowBlur,o.textShadowBlur,0)),C(i,"shadowColor",h.textShadowColor||o.textShadowColor||"transparent"),C(i,"shadowOffsetX",n(h.textShadowOffsetX,o.textShadowOffsetX,0)),C(i,"shadowOffsetY",n(h.textShadowOffsetY,o.textShadowOffsetY,0)),C(i,"textAlign",u),C(i,"textBaseline","middle"),C(i,"font",r.font||f);var g=A(h.textStroke||o.textStroke,m),v=D(h.textFill||o.textFill),m=e(h.textStrokeWidth,o.textStrokeWidth);g&&(C(i,"lineWidth",m),C(i,"strokeStyle",g),i.strokeText(r.text,l,d)),v&&(C(i,"fillStyle",v),i.fillText(r.text,l,d))}function S(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function M(t,e,n,i,r,s,h){var c=n.textBackgroundColor,d=n.textBorderWidth,p=n.textBorderColor,f=o(c);if(C(e,"shadowBlur",n.textBoxShadowBlur||0),C(e,"shadowColor",n.textBoxShadowColor||"transparent"),C(e,"shadowOffsetX",n.textBoxShadowOffsetX||0),C(e,"shadowOffsetY",n.textBoxShadowOffsetY||0),f||d&&p){e.beginPath();var g=n.textBorderRadius;g?l.buildPath(e,{x:i,y:r,width:s,height:h,r:g}):e.rect(i,r,s,h),e.closePath()}if(f)if(C(e,"fillStyle",c),null!=n.fillOpacity){var v=e.globalAlpha;e.globalAlpha=n.fillOpacity*n.opacity,e.fill(),e.globalAlpha=v}else e.fill();else if(a(c)){var m=c.image;(m=u.createOrUpdateImage(m,null,t,I,c))&&u.isImageReady(m)&&e.drawImage(m,i,r,s,h)}d&&p&&(C(e,"lineWidth",d),C(e,"strokeStyle",p),null!=n.strokeOpacity?(v=e.globalAlpha,e.globalAlpha=n.strokeOpacity*n.opacity,e.stroke(),e.globalAlpha=v):e.stroke())}function I(t,e){e.image=t}function T(t,e,n,i){var r=n.x||0,o=n.y||0,a=n.textAlign,l=n.textVerticalAlign;if(i){var u=n.textPosition;if(u instanceof Array)r=i.x+L(u[0],i.width),o=i.y+L(u[1],i.height);else{var h=e&&e.calculateTextPosition?e.calculateTextPosition(y,n,i):s.calculateTextPosition(y,n,i);r=h.x,o=h.y,a=a||h.textAlign,l=l||h.textVerticalAlign}var c=n.textOffset;c&&(r+=c[0],o+=c[1])}return(t=t||{}).baseX=r,t.baseY=o,t.textAlign=a,t.textVerticalAlign=l,t}function C(t,e,n){return t[e]=h(t,e,n),t[e]}function A(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function D(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function L(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function k(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}return $U.normalizeTextStyle=function(t){return _(t),i(t.rich,_),t},$U.renderText=function(t,e,n,i,r,o){i.rich?function(t,e,n,i,r,o){o!==p&&(e.__attrCachedBy=d.NONE);var a=t.__textCotentBlock;a&&!t.__dirtyText||(a=t.__textCotentBlock=s.parseRichText(n,i)),function(t,e,n,i,r){var o=n.width,a=n.outerWidth,l=n.outerHeight,u=i.textPadding,h=T(x,t,i,r),c=h.baseX,d=h.baseY,p=h.textAlign,f=h.textVerticalAlign;b(e,i,r,c,d);var g=s.adjustTextX(c,a,p),v=s.adjustTextY(d,l,f),m=g,y=v;u&&(m+=u[3],y+=u[0]);var _=m+o;S(i)&&M(t,e,i,g,v,a,l);for(var I=0;I=0&&"right"===(C=D[E]).textAlign;)w(t,e,C,i,k,y,N,"right"),P-=C.width,N-=C.width,E--;for(R+=(o-(R-m)-(_-N)-P)/2;O<=E;)w(t,e,C=D[O],i,k,y,R+C.width/2,"center"),R+=C.width,O++;y+=k}}(t,e,a,i,r)}(t,e,n,i,r,o):function(t,e,n,i,r,o){var a,l=S(i),u=!1,c=e.__attrCachedBy===d.PLAIN_TEXT;o!==p?(o&&(a=o.style,u=!l&&c&&a),e.__attrCachedBy=l?d.NONE:d.PLAIN_TEXT):c&&(e.__attrCachedBy=d.NONE);var g=i.font||f;u&&g===(a.font||f)||(e.font=g);var v=t.__computedFont;t.__styleFont!==g&&(t.__styleFont=g,v=t.__computedFont=e.font);var y=i.textPadding,_=i.textLineHeight,w=t.__textCotentBlock;w&&!t.__dirtyText||(w=t.__textCotentBlock=s.parsePlainText(n,v,y,_,i.truncate));var I=w.outerHeight,C=w.lines,L=w.lineHeight,P=T(x,t,i,r),O=P.baseX,R=P.baseY,N=P.textAlign||"left",E=P.textVerticalAlign;b(e,i,r,O,R);var z=s.adjustTextY(R,I,E),V=O,B=z;if(l||y){var F=s.getWidth(n,v);y&&(F+=y[1]+y[3]);var G=s.adjustTextX(O,F,N);l&&M(t,e,i,G,z,F,I),y&&(V=k(O,N,y),B+=y[0])}e.textAlign=N,e.textBaseline="middle",e.globalAlpha=i.opacity||1;for(var H=0;H=0&&i.splice(r,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,n=0;n15)break}u.__drawIndex=m,u.__drawIndex0&&t>r[0]){for(s=0;st);s++);a=i[r[s]]}if(r.splice(s+1,0,t),i[t]=e,!e.virtual)if(a){var u=a.dom;u.nextSibling?l.insertBefore(e.dom,u.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom)}else n("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var n,i,r=this._zlevelList;for(i=0;i0?c:0),this._needsManuallyCompositing),l.__builtin__||n("ZLevel "+u+" has been used by unkown layer "+l.id),l!==o&&(l.__used=!0,l.__startIndex!==i&&(l.__dirty=!0),l.__startIndex=i,l.incremental?l.__drawIndex=-1:l.__drawIndex=i,e(i),o=l),s.__dirty&&(l.__dirty=!0,l.incremental&&l.__drawIndex<0&&(l.__drawIndex=i))}e(i),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,n){if(n){var i=this._layerConfig;i[t]?e.merge(i[t],n,!0):i[t]=n;for(var r=0;r=0&&(this.delFromStorage(e),this._roots.splice(a,1),e instanceof n&&e.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:r},wU=o}(),o=SY(),a=function(){if(pY)return dY;pY=1;var t=bW(),e=GW().Dispatcher,n=jU(),i=lU(),r=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,e.call(this)};return r.prototype={constructor:r,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),n=0;n=0&&this._clips.splice(n,1)},removeAnimator:function(t){for(var e=t.getClips(),n=0;n=o.length&&o.push({option:t})}})),o},CY.makeIdAndName=function(e){var r=t.createHashMap();n(e,(function(t,e){var n=t.exist;n&&r.set(n.id,t)})),n(e,(function(e,n){var i=e.option;t.assert(!i||null==i.id||!r.get(i.id)||r.get(i.id)===e,"id duplicates: "+(i&&i.id)),i&&null!=i.id&&r.set(i.id,e),!e.keyInfo&&(e.keyInfo={})})),n(e,(function(t,e){var n=t.exist,a=t.option,s=t.keyInfo;if(i(a)){if(s.name=null!=a.name?a.name+"":n?n.name:o+e,n)s.id=n.id;else if(null!=a.id)s.id=a.id+"";else{var l=0;do{s.id="\0"+s.name+"\0"+l++}while(r.get(s.id))}r.set(s.id,t)}}))},CY.isNameSpecified=function(t){var e=t.name;return!(!e||!e.indexOf(o))},CY.isIdInner=s,CY.compressBatches=function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i=0||r&&t.indexOf(r,s)<0)){var l=n.getShallow(s);null!=l&&(o[e[a][0]]=l)}}return o}},LY}var BY,FY={},GY={},HY={};function WY(){if(BY)return HY;BY=1;var t=AW(),e=t.create,n=t.distSquare,i=Math.pow,r=Math.sqrt,o=1e-8,a=1e-4,s=r(3),l=1/3,u=e(),h=e(),c=e();function d(t){return t>-1e-8&&to||t<-1e-8}function f(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function g(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}return HY.cubicAt=f,HY.cubicDerivativeAt=function(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)},HY.cubicRootAt=function(t,e,n,o,a,u){var h=o+3*(e-n)-t,c=3*(n-2*e+t),p=3*(e-t),f=t-a,g=c*c-3*h*p,v=c*p-9*h*f,m=p*p-3*c*f,y=0;if(d(g)&&d(v))d(c)?u[0]=0:(D=-p/c)>=0&&D<=1&&(u[y++]=D);else{var x=v*v-4*g*m;if(d(x)){var _=v/g,b=-_/2;(D=-c/h+_)>=0&&D<=1&&(u[y++]=D),b>=0&&b<=1&&(u[y++]=b)}else if(x>0){var w=r(x),S=g*c+1.5*h*(-v+w),M=g*c+1.5*h*(-v-w);(D=(-c-((S=S<0?-i(-S,l):i(S,l))+(M=M<0?-i(-M,l):i(M,l))))/(3*h))>=0&&D<=1&&(u[y++]=D)}else{var I=(2*g*c-3*h*v)/(2*r(g*g*g)),T=Math.acos(I)/3,C=r(g),A=Math.cos(T),D=(-c-2*C*A)/(3*h),L=(b=(-c+C*(A+s*Math.sin(T)))/(3*h),(-c+C*(A-s*Math.sin(T)))/(3*h));D>=0&&D<=1&&(u[y++]=D),b>=0&&b<=1&&(u[y++]=b),L>=0&&L<=1&&(u[y++]=L)}}return y},HY.cubicExtrema=function(t,e,n,i,o){var a=6*n-12*e+6*t,s=9*e+3*i-3*t-9*n,l=3*e-3*t,u=0;if(d(s))p(a)&&(c=-l/a)>=0&&c<=1&&(o[u++]=c);else{var h=a*a-4*s*l;if(d(h))o[0]=-a/(2*s);else if(h>0){var c,f=r(h),g=(-a-f)/(2*s);(c=(-a+f)/(2*s))>=0&&c<=1&&(o[u++]=c),g>=0&&g<=1&&(o[u++]=g)}}return u},HY.cubicSubdivide=function(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,h=(l-s)*r+s,c=(h-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=i},HY.cubicProjectPoint=function(t,e,i,o,s,l,d,p,g,v,m){var y,x,_,b,w,S=.005,M=1/0;u[0]=g,u[1]=v;for(var I=0;I<1;I+=.05)h[0]=f(t,i,s,d,I),h[1]=f(e,o,l,p,I),(b=n(u,h))=0&&b=0&&c<=1&&(o[u++]=c);else{var h=s*s-4*a*l;if(d(h))(c=-s/(2*a))>=0&&c<=1&&(o[u++]=c);else if(h>0){var c,f=r(h),g=(-s-f)/(2*a);(c=(-s+f)/(2*a))>=0&&c<=1&&(o[u++]=c),g>=0&&g<=1&&(o[u++]=g)}}return u},HY.quadraticExtremum=function(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i},HY.quadraticSubdivide=function(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n},HY.quadraticProjectPoint=function(t,e,i,o,s,l,d,p,f){var v,m=.005,y=1/0;u[0]=d,u[1]=p;for(var x=0;x<1;x+=.05)h[0]=g(t,i,s,x),h[1]=g(e,o,l,x),(S=n(u,h))=0&&S1e-4)return f[0]=e-i,f[1]=n-h,g[0]=e+i,void(g[1]=n+h);if(s[0]=o(c)*i+e,s[1]=r(c)*h+n,l[0]=o(d)*i+e,l[1]=r(d)*h+n,v(f,s,l),m(g,s,l),(c%=a)<0&&(c+=a),(d%=a)<0&&(d+=a),c>d&&!p?d+=a:cc&&(u[0]=o(_)*i+e,u[1]=r(_)*h+n,v(f,u,f),m(g,u,g))},XY}function qY(){if(ZY)return YY;ZY=1;var t=WY(),e=AW(),n=jY(),i=kU(),r=CU().devicePixelRatio,o={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},a=[],s=[],l=[],u=[],h=Math.min,c=Math.max,d=Math.cos,p=Math.sin,f=Math.sqrt,g=Math.abs,v="undefined"!=typeof Float32Array,m=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};return m.prototype={constructor:m,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e,n){n=n||0,this._ux=g(n/r/t)||0,this._uy=g(n/r/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),t&&(this.dpr=t.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(o.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var n=g(t-this._xi)>this._ux||g(e-this._yi)>this._uy||this._len<5;return this.addData(o.L,t,e),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),n&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,n,i,r,a){return this.addData(o.C,t,e,n,i,r,a),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,i,r,a):this._ctx.bezierCurveTo(t,e,n,i,r,a)),this._xi=r,this._yi=a,this},quadraticCurveTo:function(t,e,n,i){return this.addData(o.Q,t,e,n,i),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,n,i):this._ctx.quadraticCurveTo(t,e,n,i)),this._xi=n,this._yi=i,this},arc:function(t,e,n,i,r,a){return this.addData(o.A,t,e,n,n,i,r-i,0,a?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,a),this._xi=d(r)*n+t,this._yi=p(r)*n+e,this},arcTo:function(t,e,n,i,r){return this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},rect:function(t,e,n,i){return this._ctx&&this._ctx.rect(t,e,n,i),this.addData(o.R,t,e,n,i),this},closePath:function(){this.addData(o.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,n=0;ne.length&&(this._expandData(),e=this.data);for(var n=0;n0&&v<=t||d<0&&v>=t||0===d&&(p>0&&m<=e||p<0&&m>=e);)v+=d*(n=a[i=this._dashIdx]),m+=p*n,this._dashIdx=(i+1)%y,d>0&&vl||p>0&&mu||s[i%2?"moveTo":"lineTo"](d>=0?h(v,t):c(v,t),p>=0?h(m,e):c(m,e));d=v-t,p=m-e,this._dashOffset=-f(d*d+p*p)},_dashedBezierTo:function(e,n,i,r,o,a){var s,l,u,h,c,d=this._dashSum,p=this._dashOffset,g=this._lineDash,v=this._ctx,m=this._xi,y=this._yi,x=t.cubicAt,_=0,b=this._dashIdx,w=g.length,S=0;for(p<0&&(p=d+p),p%=d,s=0;s<1;s+=.1)l=x(m,e,i,o,s+.1)-x(m,e,i,o,s),u=x(y,n,r,a,s+.1)-x(y,n,r,a,s),_+=f(l*l+u*u);for(;bp);b++);for(s=(S-p)/_;s<=1;)h=x(m,e,i,o,s),c=x(y,n,r,a,s),b%2?v.moveTo(h,c):v.lineTo(h,c),s+=g[b]/_,b=(b+1)%w;b%2!=0&&v.lineTo(o,a),l=o-h,u=a-c,this._dashOffset=-f(l*l+u*u)},_dashedQuadraticTo:function(t,e,n,i){var r=n,o=i;n=(n+2*t)/3,i=(i+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,i,r,o)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,v&&(this.data=new Float32Array(t)))},getBoundingRect:function(){a[0]=a[1]=l[0]=l[1]=Number.MAX_VALUE,s[0]=s[1]=u[0]=u[1]=-Number.MAX_VALUE;for(var t=this.data,r=0,h=0,c=0,f=0,g=0;gu||g(s-r)>h||f===c-1)&&(t.lineTo(a,s),i=a,r=s);break;case o.C:t.bezierCurveTo(l[f++],l[f++],l[f++],l[f++],l[f++],l[f++]),i=l[f-2],r=l[f-1];break;case o.Q:t.quadraticCurveTo(l[f++],l[f++],l[f++],l[f++]),i=l[f-2],r=l[f-1];break;case o.A:var m=l[f++],y=l[f++],x=l[f++],_=l[f++],b=l[f++],w=l[f++],S=l[f++],M=l[f++],I=x>_?x:_,T=x>_?1:x/_,C=x>_?_/x:1,A=b+w;Math.abs(x-_)>.001?(t.translate(m,y),t.rotate(S),t.scale(T,C),t.arc(0,0,I,b,A,1-M),t.scale(1/T,1/C),t.rotate(-S),t.translate(-m,-y)):t.arc(m,y,I,b,A,1-M),1===f&&(e=d(b)*x+m,n=p(b)*_+y),i=d(A)*x+m,r=p(A)*_+y;break;case o.R:e=i=l[f],n=r=l[f+1],t.rect(l[f++],l[f++],l[f++],l[f++]);break;case o.Z:t.closePath(),i=e,r=n}}}},m.CMD=o,YY=m}var KY,$Y={},JY={};function QY(){return KY||(KY=1,JY.containStroke=function(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0;if(a>e+s&&a>i+s||at+s&&o>n+s||on+d&&c>r+d&&c>a+d&&c>l+d||ce+d&&h>i+d&&h>o+d&&h>s+d||hn+h&&u>r+h&&u>a+h||ue+h&&l>i+h&&l>o+h||lr||d+ca&&(a+=e);var f=Math.atan2(h,u);return f<0&&(f+=e),f>=o&&f<=a||f+e>=o&&f+e<=a},TZ}function LZ(){return uZ||(uZ=1,lZ=function(t,e,n,i,r,o){if(o>e&&o>i||or?a:0}),lZ}function kZ(){if(hZ)return $Y;hZ=1;var t=qY(),e=QY(),n=nZ(),i=oZ(),r=DZ(),o=AZ().normalizeRadian,a=WY(),s=LZ(),l=t.CMD,u=2*Math.PI,h=[-1,-1,-1],c=[-1,-1];function d(t,e,n,i,r,o,s,l,u,d){if(d>e&&d>i&&d>o&&d>l||d1&&(p=void 0,p=c[0],c[0]=c[1],c[1]=p),g=a.cubicAt(e,i,o,l,c[0]),y>1&&(v=a.cubicAt(e,i,o,l,c[1]))),2===y?_e&&l>i&&l>o||l=0&&c<=1){for(var d=0,p=a.quadraticAt(e,i,o,c),f=0;fn||l<-n)return 0;var c=Math.sqrt(n*n-l*l);h[0]=-c,h[1]=c;var d=Math.abs(i-r);if(d<1e-4)return 0;if(d%u<1e-4){i=0,r=u;var p=a?1:-1;return s>=h[0]+t&&s<=h[1]+t?p:0}a?(c=i,i=o(r),r=o(c)):(i=o(i),r=o(r)),i>r&&(r+=u);for(var f=0,g=0;g<2;g++){var v=h[g];if(v+t>s){var m=Math.atan2(l,v);p=a?1:-1,m<0&&(m=u+m),(m>=i&&m<=r||m+u>=i&&m+u<=r)&&(m>Math.PI/2&&m<1.5*Math.PI&&(p=-p),f+=p)}}return f}function g(t,o,a,u,h){for(var c,g,v=0,m=0,y=0,x=0,_=0,b=0;b1&&(a||(v+=s(m,y,x,_,u,h))),1===b&&(x=m=t[b],_=y=t[b+1]),w){case l.M:m=x=t[b++],y=_=t[b++];break;case l.L:if(a){if(e.containStroke(m,y,t[b],t[b+1],o,u,h))return!0}else v+=s(m,y,t[b],t[b+1],u,h)||0;m=t[b++],y=t[b++];break;case l.C:if(a){if(n.containStroke(m,y,t[b++],t[b++],t[b++],t[b++],t[b],t[b+1],o,u,h))return!0}else v+=d(m,y,t[b++],t[b++],t[b++],t[b++],t[b],t[b+1],u,h)||0;m=t[b++],y=t[b++];break;case l.Q:if(a){if(i.containStroke(m,y,t[b++],t[b++],t[b],t[b+1],o,u,h))return!0}else v+=p(m,y,t[b++],t[b++],t[b],t[b+1],u,h)||0;m=t[b++],y=t[b++];break;case l.A:var S=t[b++],M=t[b++],I=t[b++],T=t[b++],C=t[b++],A=t[b++];b+=1;var D=1-t[b++],L=Math.cos(C)*I+S,k=Math.sin(C)*T+M;b>1?v+=s(m,y,L,k,u,h):(x=L,_=k);var P=(u-S)*T/I+S;if(a){if(r.containStroke(S,M,T,C,C+A,D,o,P,h))return!0}else v+=f(S,M,T,C,C+A,D,P,h);m=Math.cos(C+A)*I+S,y=Math.sin(C+A)*T+M;break;case l.R:if(x=m=t[b++],_=y=t[b++],L=x+t[b++],k=_+t[b++],a){if(e.containStroke(x,_,L,_,o,u,h)||e.containStroke(L,_,L,k,o,u,h)||e.containStroke(L,k,x,k,o,u,h)||e.containStroke(x,k,x,_,o,u,h))return!0}else v+=s(L,_,L,k,u,h),v+=s(x,k,x,_,u,h);break;case l.Z:if(a){if(e.containStroke(m,y,x,_,o,u,h))return!0}else v+=s(m,y,x,_,u,h);m=x,y=_}}return a||(c=y,g=_,Math.abs(c-g)<1e-4)||(v+=s(m,y,x,_,u,h)||0),0!==v}return $Y.contain=function(t,e,n){return g(t,0,!1,e,n)},$Y.containStroke=function(t,e,n,i){return g(t,e,!0,n,i)},$Y}function PZ(){if(dZ)return cZ;dZ=1;var t=bY(),e=bW(),n=qY(),i=kZ(),r=XU().prototype.getCanvasPattern,o=Math.abs,a=new n(!0);function s(e){t.call(this,e),this.path=null}return s.prototype={constructor:s,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(t,e){var n,i=this.style,o=this.path||a,s=i.hasStroke(),l=i.hasFill(),u=i.fill,h=i.stroke,c=l&&!!u.colorStops,d=s&&!!h.colorStops,p=l&&!!u.image,f=s&&!!h.image;i.bind(t,this,e),this.setTransform(t),this.__dirty&&(c&&(n=n||this.getBoundingRect(),this._fillGradient=i.getGradient(t,u,n)),d&&(n=n||this.getBoundingRect(),this._strokeGradient=i.getGradient(t,h,n))),c?t.fillStyle=this._fillGradient:p&&(t.fillStyle=r.call(u,t)),d?t.strokeStyle=this._strokeGradient:f&&(t.strokeStyle=r.call(h,t));var g=i.lineDash,v=i.lineDashOffset,m=!!t.setLineDash,y=this.getGlobalScale();if(o.setScale(y[0],y[1],this.segmentIgnoreThreshold),this.__dirtyPath||g&&!m&&s?(o.beginPath(t),g&&!m&&(o.setLineDash(g),o.setLineDashOffset(v)),this.buildPath(o,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),l)if(null!=i.fillOpacity){var x=t.globalAlpha;t.globalAlpha=i.fillOpacity*i.opacity,o.fill(t),t.globalAlpha=x}else o.fill(t);g&&m&&(t.setLineDash(g),t.lineDashOffset=v),s&&(null!=i.strokeOpacity?(x=t.globalAlpha,t.globalAlpha=i.strokeOpacity*i.opacity,o.stroke(t),t.globalAlpha=x):o.stroke(t)),g&&m&&t.setLineDash([]),null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,n){},createPathProxy:function(){this.path=new n},getBoundingRect:function(){var t=this._rect,e=this.style,i=!t;if(i){var r=this.path;r||(r=this.path=new n),this.__dirtyPath&&(r.beginPath(),this.buildPath(r,this.shape,!1)),t=r.getBoundingRect()}if(this._rect=t,e.hasStroke()){var o=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||i){o.copy(t);var a=e.lineWidth,s=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(a=Math.max(a,this.strokeContainThreshold||4)),s>1e-10&&(o.width+=a/s,o.height+=a/s,o.x-=a/s/2,o.y-=a/s/2)}return o}return t},contain:function(t,e){var n=this.transformCoordToLocal(t,e),r=this.getBoundingRect(),o=this.style;if(t=n[0],e=n[1],r.contain(t,e)){var a=this.path.data;if(o.hasStroke()){var s=o.lineWidth,l=o.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(o.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),i.containStroke(a,s/l,t,e)))return!0}if(o.hasFill())return i.contain(a,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(e,n){"shape"===e?(this.setShape(n),this.__dirtyPath=!0,this._rect=null):t.prototype.attrKV.call(this,e,n)},setShape:function(t,n){var i=this.shape;if(i){if(e.isObject(t))for(var r in t)t.hasOwnProperty(r)&&(i[r]=t[r]);else i[t]=n;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&o(t[0]-1)>1e-10&&o(t[3]-1)>1e-10?Math.sqrt(o(t[0]*t[3]-t[2]*t[1])):1}},s.extend=function(t){var n=function(e){s.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var n=t.shape;if(n){this.shape=this.shape||{};var i=this.shape;for(var r in n)!i.hasOwnProperty(r)&&n.hasOwnProperty(r)&&(i[r]=n[r])}t.init&&t.init.call(this,e)};for(var i in e.inherits(n,s),t)"style"!==i&&"shape"!==i&&(n.prototype[i]=t[i]);return n},e.inherits(s,t),cZ=s}function OZ(){if(fZ)return pZ;fZ=1;var t=qY(),e=AW().applyTransform,n=t.CMD,i=[[],[],[]],r=Math.sqrt,o=Math.atan2;return pZ=function(t,a){var s,l,u,h,c,d=t.data,p=n.M,f=n.C,g=n.L,v=n.R,m=n.A,y=n.Q;for(u=0,h=0;u1&&(d*=i(_),p*=i(_));var b=(h===c?-1:1)*i((d*d*(p*p)-d*d*(x*x)-p*p*(y*y))/(d*d*(x*x)+p*p*(y*y)))||0,w=b*d*x/p,S=b*-p*y/d,M=(t+n)/2+o(m)*w-r(m)*S,I=(e+s)/2+r(m)*w+o(m)*S,T=u([1,0],[(y-w)/d,(x-S)/p]),C=[(y-w)/d,(x-S)/p],A=[(-1*y-w)/d,(-1*x-S)/p],D=u(C,A);l(C,A)<=-1&&(D=a),l(C,A)>=1&&(D=0),0===c&&D>0&&(D-=2*a),1===c&&D<0&&(D+=2*a),v.addData(g,M,I,d,p,T,D,m,c)}var c=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,d=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function p(t,i){var r=function(t){if(!t)return new e;for(var n,i=0,r=0,o=i,a=r,s=new e,l=e.CMD,u=t.match(c),p=0;p=11?function(){var t,i=this.__clipPaths,r=this.style;if(i)for(var o=0;or-2?r-1:p+1],c=n[p>r-3?r-1:p+2]);var v=f*f,m=f*v;o.push([e(u[0],g[0],h[0],c[0],f,v,m),e(u[1],g[1],h[1],c[1],f,v,m)])}return o},FZ}function $Z(){if(WZ)return HZ;WZ=1;var t=AW(),e=t.min,n=t.max,i=t.scale,r=t.distance,o=t.add,a=t.clone,s=t.sub;return HZ=function(t,l,u,h){var c,d,p,f,g=[],v=[],m=[],y=[];if(h){p=[1/0,1/0],f=[-1/0,-1/0];for(var x=0,_=t.length;x<_;x++)e(p,p,t[x]),n(f,f,t[x]);e(p,p,h[0]),n(f,f,h[1])}for(x=0,_=t.length;x<_;x++){var b=t[x];if(u)c=t[x?x-1:_-1],d=t[(x+1)%_];else{if(0===x||x===_-1){g.push(a(t[x]));continue}c=t[x-1],d=t[x+1]}s(v,d,c),i(v,v,l);var w=r(b,c),S=r(b,d),M=w+S;0!==M&&(w/=M,S/=M),i(m,v,-w),i(y,v,S);var I=o([],b,m),T=o([],b,y);h&&(n(I,I,p),e(I,I,f),n(T,T,p),e(T,T,f)),g.push(I),g.push(T)}return u&&g.push(g.shift()),g},HZ}function JZ(){if(UZ)return qZ;UZ=1;var t=KZ(),e=$Z();return qZ.buildPath=function(n,i,r){var o=i.points,a=i.smooth;if(o&&o.length>=2){if(a&&"spline"!==a){var s=e(o,a,r,i.smoothConstraint);n.moveTo(o[0][0],o[0][1]);for(var l=o.length,u=0;u<(r?l:l-1);u++){var h=s[2*u],c=s[2*u+1],d=o[(u+1)%l];n.bezierCurveTo(h[0],h[1],c[0],c[1],d[0],d[1])}}else{"spline"===a&&(o=t(o,r)),n.moveTo(o[0][0],o[0][1]),u=1;for(var p=o.length;u=0),l=!s&&null!=r;(s||l)&&(e={textFill:t.textFill,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth}),s&&(t.textFill="#fff",null==t.textStroke&&(t.textStroke=r,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),l&&(t.textFill=r)}t.insideRollback=e}function rt(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function ot(t,e,n,i,r,o){if("function"==typeof r&&(o=r,r=null),i&&i.isAnimationEnabled()){var a=t?"Update":"",s=i.getShallow("animationDuration"+a),l=i.getShallow("animationEasing"+a),u=i.getShallow("animationDelay"+a);"function"==typeof u&&(u=u(r,i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null)),"function"==typeof s&&(s=s(r)),s>0?e.animateTo(n,s,u||0,l,o,!!o):(e.stopAnimation(),e.attr(n),o&&o())}else e.stopAnimation(),e.attr(n),o&&o()}function at(t,e,n,i,r){ot(!0,t,e,n,i,r)}function st(e,n,o){return n&&!t.isArrayLike(n)&&(n=a.getLocalTransform(n)),o&&(n=i.invert([],n)),r.applyTransform([],e,n)}function lt(t,e,n,i,r,o,a,s){var l,u=n-t,h=i-e,c=a-r,d=s-o,p=ut(c,d,u,h);if((l=p)<=1e-6&&l>=-1e-6)return!1;var f=t-r,g=e-o,v=ut(f,g,u,h)/p;if(v<0||v>1)return!1;var m=ut(f,g,c,d)/p;return!(m<0||m>1)}function ut(t,e,n,i){return t*i-n*e}return O("circle",h),O("sector",c),O("ring",d),O("polygon",p),O("polyline",f),O("rect",g),O("line",v),O("bezierCurve",m),O("arc",y),FY.Z2_EMPHASIS_LIFT=1,FY.CACHED_LABEL_STYLE_PROPERTIES={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},FY.extendShape=function(t){return o.extend(t)},FY.extendPath=function(t,n){return e.extendFromString(t,n)},FY.registerShape=O,FY.getShapeClass=function(t){if(P.hasOwnProperty(t))return P[t]},FY.makePath=R,FY.makeImage=function(t,e,n){var i=new s({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(N(e,r))}}});return i},FY.mergePath=E,FY.resizePath=z,FY.subPixelOptimizeLine=function(t){return M.subPixelOptimizeLine(t.shape,t.shape,t.style),t},FY.subPixelOptimizeRect=function(t){return M.subPixelOptimizeRect(t.shape,t.shape,t.style),t},FY.subPixelOptimize=V,FY.setElementHoverStyle=Z,FY.setHoverStyle=function(t,e){J(t,!0),Y(t,Z,e)},FY.setAsHighDownDispatcher=J,FY.isHighDownDispatcher=function(t){return!(!t||!t.__highDownDispatcher)},FY.getHighlightDigit=function(t){var e=k[t];return null==e&&L<=32&&(e=k[t]=L++),e},FY.setLabelStyle=function(e,n,i,r,o,a,s){var l,u=(o=o||C).labelFetcher,h=o.labelDataIndex,c=o.labelDimIndex,d=o.labelProp,p=i.getShallow("show"),f=r.getShallow("show");(p||f)&&(u&&(l=u.getFormattedLabel(h,"normal",null,c,d)),null==l&&(l=t.isFunction(o.defaultText)?o.defaultText(h,o):o.defaultText));var g=p?l:null,v=f?t.retrieve2(u?u.getFormattedLabel(h,"emphasis",null,c,d):null,l):null;null==g&&null==v||(Q(e,i,a,o),Q(n,r,s,o,!0)),e.text=g,n.text=v},FY.modifyLabelStyle=function(e,n,i){var r=e.style;n&&(rt(r),e.setStyle(n),it(r)),r=e.__hoverStl,i&&r&&(rt(r),t.extend(r,i),it(r))},FY.setTextStyle=Q,FY.setText=function(t,e,n){var i,r={isRectText:!0};!1===n?i=!0:r.autoColor=n,tt(t,e,r,i)},FY.getFont=function(e,n){var i=n&&n.getModel("textStyle");return t.trim([e.fontStyle||i&&i.getShallow("fontStyle")||"",e.fontWeight||i&&i.getShallow("fontWeight")||"",(e.fontSize||i&&i.getShallow("fontSize")||12)+"px",e.fontFamily||i&&i.getShallow("fontFamily")||"sans-serif"].join(" "))},FY.updateProps=at,FY.initProps=function(t,e,n,i,r){ot(!1,t,e,n,i,r)},FY.getTransform=function(t,e){for(var n=i.identity([]);t&&t!==e;)i.mul(n,t.getLocalTransform(),n),t=t.parent;return n},FY.applyTransform=st,FY.transformDirection=function(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return o=st(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"},FY.groupTransition=function(e,n,i,o){if(e&&n){var a,s=(a={},e.traverse((function(t){!t.isGroup&&t.anid&&(a[t.anid]=t)})),a);n.traverse((function(t){if(!t.isGroup&&t.anid){var e=s[t.anid];if(e){var n=l(t);t.attr(l(e)),at(t,n,i,t.dataIndex)}}}))}function l(e){var n={position:r.clone(e.position),rotation:e.rotation};return e.shape&&(n.shape=t.extend({},e.shape)),n}},FY.clipPointsByRect=function(e,n){return t.map(e,(function(t){var e=t[0];e=I(e,n.x),e=T(e,n.x+n.width);var i=t[1];return i=I(i,n.y),[e,i=T(i,n.y+n.height)]}))},FY.clipRectByRect=function(t,e){var n=I(t.x,e.x),i=T(t.x+t.width,e.x+e.width),r=I(t.y,e.y),o=T(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}},FY.createIcon=function(e,n,i){var r=(n=t.extend({rectHover:!0},n)).style={strokeNoScale:!0};if(i=i||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(r.image=e.slice(8),t.defaults(r,i),new s(n)):R(e.replace("path://",""),n,i,"center")},FY.linePolygonIntersect=function(t,e,n,i,r){for(var o=0,a=r[r.length-1];o=0&&i.push(e)})),i}(s.originalDeps=n(a),e);s.entryCount=l.length,0===s.entryCount&&o.push(a),t.each(l,(function(e){t.indexOf(s.predecessor,e)<0&&s.predecessor.push(e);var n=i(r,e);t.indexOf(n.successor,e)<0&&n.successor.push(a)}))})),{graph:r,noEntryList:o}}(r),l=s.graph,u=s.noEntryList,h={};for(t.each(e,(function(t){h[t]=!0}));u.length;){var c=u.pop(),d=l[c],p=!!h[c];p&&(o.call(a,c,d.originalDeps.slice()),delete h[c]),t.each(d.successor,p?g:f)}t.each(h,(function(){throw new Error("Circle dependency may exists")}))}function f(t){l[t].entryCount--,0===l[t].entryCount&&u.push(t)}function g(t){h[t]=!0,f(t)}}},FX}var HX,WX={},UX={};function YX(){if(HX)return UX;HX=1;var t=bW(),e=1e-4,n=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function i(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}return UX.linearMap=function(t,e,n,i){var r=e[1]-e[0],o=n[1]-n[0];if(0===r)return 0===o?n[0]:(n[0]+n[1])/2;if(i)if(r>0){if(t<=e[0])return n[0];if(t>=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/r*o+n[0]},UX.parsePercent=function(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n},UX.round=function(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t},UX.asc=function(t){return t.sort((function(t,e){return t-e})),t},UX.getPrecision=function(t){if(t=+t,isNaN(t))return 0;for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n},UX.getPrecisionSafe=function(t){var e=t.toString(),n=e.indexOf("e");if(n>0){var i=+e.slice(n+1);return i<0?-i:0}var r=e.indexOf(".");return r<0?0:e.length-1-r},UX.getPixelPrecision=function(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20},UX.getPercentWithPrecision=function(e,n,i){if(!e[n])return 0;var r=t.reduce(e,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===r)return 0;for(var o=Math.pow(10,i),a=t.map(e,(function(t){return(isNaN(t)?0:t)/r*o*100})),s=100*o,l=t.map(a,(function(t){return Math.floor(t)})),u=t.reduce(l,(function(t,e){return t+e}),0),h=t.map(a,(function(t,e){return t-l[e]}));uc&&(c=h[p],d=p);++l[d],h[d]=0,++u}return l[n]/o},UX.MAX_SAFE_INTEGER=9007199254740991,UX.remRadian=function(t){var e=2*Math.PI;return(t%e+e)%e},UX.isRadianAroundZero=function(t){return t>-1e-4&&t=-20?+t.toFixed(n<0?-n:0):t},UX.quantile=function(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r},UX.reformIntervals=function(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i=0},UX}var ZX,XX,jX,qX,KX,$X,JX,QX,tj,ej,nj={};function ij(){if(ZX)return nj;ZX=1;var t=bW(),e=eY(),n=YX(),i=t.normalizeCssArray,r=/([&<>"'])/g,o={"&":"&","<":"<",">":">",'"':""","'":"'"};function a(t){return null==t?"":(t+"").replace(r,(function(t,e){return o[e]}))}var s=["a","b","c","d","e","f","g"],l=function(t,e){return"{"+t+(null==e?"":e)+"}"};function u(t,e){return"0000".substr(0,e-(t+="").length)+t}var h=e.truncateText;return nj.addCommas=function(t){return isNaN(t)?"-":(t=(t+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")},nj.toCamelCase=function(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t},nj.normalizeCssArray=i,nj.encodeHTML=a,nj.formatTpl=function(e,n,i){t.isArray(n)||(n=[n]);var r=n.length;if(!r)return"";for(var o=n[0].$vars||[],u=0;u':'':{renderMode:o,content:"{marker"+s+"|} ",style:{color:i}}:""},nj.formatTime=function(t,e,i){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var r=n.parseDate(e),o=i?"UTC":"",a=r["get"+o+"FullYear"](),s=r["get"+o+"Month"]()+1,l=r["get"+o+"Date"](),h=r["get"+o+"Hours"](),c=r["get"+o+"Minutes"](),d=r["get"+o+"Seconds"](),p=r["get"+o+"Milliseconds"]();return t=t.replace("MM",u(s,2)).replace("M",s).replace("yyyy",a).replace("yy",a%100).replace("dd",u(l,2)).replace("d",l).replace("hh",u(h,2)).replace("h",h).replace("mm",u(c,2)).replace("m",c).replace("ss",u(d,2)).replace("s",d).replace("SSS",u(p,3))},nj.capitalFirst=function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},nj.truncateText=h,nj.getTextBoundingRect=function(t){return e.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)},nj.getTextRect=function(t,n,i,r,o,a,s,l){return e.getBoundingRect(t,n,i,r,o,l,a,s)},nj.windowOpen=function(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location=t}else window.open(t,e)},nj}function rj(){if(XX)return WX;XX=1;var t=bW(),e=kU(),n=YX().parsePercent,i=ij(),r=t.each,o=["left","right","top","bottom","width","height"],a=[["width","left","right"],["height","top","bottom"]];function s(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(l,u){var h,c,d=l.position,p=l.getBoundingRect(),f=e.childAt(u+1),g=f&&f.getBoundingRect();if("horizontal"===t){var v=p.width+(g?-g.x+p.x:0);(h=o+v)>i||l.newline?(o=0,h=v,a+=s+n,s=p.height):s=Math.max(s,p.height)}else{var m=p.height+(g?-g.y+p.y:0);(c=a+m)>r||l.newline?(o+=s+n,a=0,c=m,s=p.width):s=Math.max(s,p.width)}l.newline||(d[0]=o,d[1]=a,"horizontal"===t?o=h+n:a=c+n)}))}var l=s,u=t.curry(s,"vertical"),h=t.curry(s,"horizontal");function c(t,r,o){o=i.normalizeCssArray(o||0);var a=r.width,s=r.height,l=n(t.left,a),u=n(t.top,s),h=n(t.right,a),c=n(t.bottom,s),d=n(t.width,a),p=n(t.height,s),f=o[2]+o[0],g=o[1]+o[3],v=t.aspect;switch(isNaN(d)&&(d=a-h-g-l),isNaN(p)&&(p=s-c-f-u),null!=v&&(isNaN(d)&&isNaN(p)&&(v>a/s?d=.8*a:p=.8*s),isNaN(d)&&(d=v*p),isNaN(p)&&(p=d/v)),isNaN(l)&&(l=a-h-d-g),isNaN(u)&&(u=s-c-p-f),t.left||t.right){case"center":l=a/2-d/2-o[3];break;case"right":l=a-d-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-p/2-o[0];break;case"bottom":u=s-p-f}l=l||0,u=u||0,isNaN(d)&&(d=a-g-l-(h||0)),isNaN(p)&&(p=s-f-u-(c||0));var m=new e(l+o[3],u+o[0],d,p);return m.margin=o,m}function d(t,e){return e&&t&&r(o,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}return WX.LOCATION_PARAMS=o,WX.HV_NAMES=a,WX.box=l,WX.vbox=u,WX.hbox=h,WX.getAvailableSize=function(t,e,r){var o=e.width,a=e.height,s=n(t.x,o),l=n(t.y,a),u=n(t.x2,o),h=n(t.y2,a);return(isNaN(s)||isNaN(parseFloat(t.x)))&&(s=0),(isNaN(u)||isNaN(parseFloat(t.x2)))&&(u=o),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(h)||isNaN(parseFloat(t.y2)))&&(h=a),r=i.normalizeCssArray(r||0),{width:Math.max(u-s-r[1]-r[3],0),height:Math.max(h-l-r[0]-r[2],0)}},WX.getLayoutRect=c,WX.positionElement=function(n,i,r,o,a){var s=!a||!a.hv||a.hv[0],l=!a||!a.hv||a.hv[1],u=a&&a.boundingMode||"all";if(s||l){var h;if("raw"===u)h="group"===n.type?new e(0,0,+i.width||0,+i.height||0):n.getBoundingRect();else if(h=n.getBoundingRect(),n.needLocalTransform()){var d=n.getLocalTransform();(h=h.clone()).applyTransform(d)}i=c(t.defaults({width:h.width,height:h.height},i),r,o);var p=n.position,f=s?i.x-h.x:0,g=l?i.y-h.y:0;n.attr("position","raw"===u?[f,g]:[p[0]+f,p[1]+g])}},WX.sizeCalculable=function(t,e){return null!=t[a[e][0]]||null!=t[a[e][1]]&&null!=t[a[e][2]]},WX.mergeLayoutParam=function(e,n,i){!t.isObject(i)&&(i={});var o=i.ignoreSize;!t.isArray(o)&&(o=[o,o]);var s=u(a[0],0),l=u(a[1],1);function u(t,i){var a={},s=0,l={},u=0;if(r(t,(function(t){l[t]=e[t]})),r(t,(function(t){h(n,t)&&(a[t]=l[t]=n[t]),c(a,t)&&s++,c(l,t)&&u++})),o[i])return c(n,t[1])?l[t[2]]=null:c(n,t[2])&&(l[t[1]]=null),l;if(2!==u&&s){if(s>=2)return a;for(var d=0;d=0;a--)o=t.merge(o,n[a],!0);e.defaultOption=o}return e.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});return r(h,{registerWhenExtend:!0}),n.enableSubTypeDefaulter(h),n.enableTopologicalTravel(h,(function(e){var n=[];return t.each(h.getClassesByMainType(e),(function(t){n=n.concat(t.prototype.dependencies||[])})),n=t.map(n,(function(t){return o(t).main})),"dataset"!==e&&t.indexOf(n,"dataset")<=0&&n.unshift("dataset"),n})),t.mixin(h,l),KX=h}function aj(){if(QX)return JX;QX=1;var t="";"undefined"!=typeof navigator&&(t=navigator.platform||"");var e={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:t.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};return JX=e}function sj(){if(ej)return tj;ej=1;var t=AY(),e=t.makeInner,n=t.normalizeToArray,i=e(),r={clearColorPalette:function(){i(this).colorIdx=0,i(this).colorNameMap={}},getColorFromPalette:function(t,e,r){var o=i(e=e||this),a=o.colorIdx||0,s=o.colorNameMap=o.colorNameMap||{};if(s.hasOwnProperty(t))return s[t];var l=n(this.get("color",!0)),u=this.get("colorLayer",!0),h=null!=r&&u?function(t,e){for(var n=t.length,i=0;ie)return t[i];return t[n-1]}(u,r):l;if((h=h||l)&&h.length){var c=h[a];return t&&(s[t]=c),o.colorIdx=(a+1)%h.length,c}}};return tj=r}var lj,uj,hj,cj,dj,pj,fj,gj,vj,mj,yj,xj,_j,bj,wj,Sj,Mj,Ij,Tj={},Cj={};function Aj(){return lj||(lj=1,Cj.SOURCE_FORMAT_ORIGINAL="original",Cj.SOURCE_FORMAT_ARRAY_ROWS="arrayRows",Cj.SOURCE_FORMAT_OBJECT_ROWS="objectRows",Cj.SOURCE_FORMAT_KEYED_COLUMNS="keyedColumns",Cj.SOURCE_FORMAT_UNKNOWN="unknown",Cj.SOURCE_FORMAT_TYPED_ARRAY="typedArray",Cj.SERIES_LAYOUT_BY_COLUMN="column",Cj.SERIES_LAYOUT_BY_ROW="row"),Cj}function Dj(){if(hj)return uj;hj=1;var t=bW(),e=t.createHashMap,n=t.isTypedArray,i=zY().enableClassCheck,r=Aj(),o=r.SOURCE_FORMAT_ORIGINAL,a=r.SERIES_LAYOUT_BY_COLUMN,s=r.SOURCE_FORMAT_UNKNOWN,l=r.SOURCE_FORMAT_TYPED_ARRAY,u=r.SOURCE_FORMAT_KEYED_COLUMNS;function h(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===u?{}:[]),this.sourceFormat=t.sourceFormat||s,this.seriesLayoutBy=t.seriesLayoutBy||a,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&e(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}return h.seriesDataToSource=function(t){return new h({data:t,sourceFormat:n(t)?l:o,fromDataset:!1})},i(h),uj=h}function Lj(){if(cj)return Tj;cj=1,cW().__DEV__;var t=AY(),e=t.makeInner,n=t.getDataItemValue,i=bW(),r=i.createHashMap,o=i.each,a=i.map,s=i.isArray,l=i.isString,u=i.isObject,h=i.isTypedArray,c=i.isArrayLike,d=i.extend;i.assert;var p=Dj(),f=Aj(),g=f.SOURCE_FORMAT_ORIGINAL,v=f.SOURCE_FORMAT_ARRAY_ROWS,m=f.SOURCE_FORMAT_OBJECT_ROWS,y=f.SOURCE_FORMAT_KEYED_COLUMNS,x=f.SOURCE_FORMAT_UNKNOWN,_=f.SOURCE_FORMAT_TYPED_ARRAY,b=f.SERIES_LAYOUT_BY_ROW,w={Must:1,Might:2,Not:3},S=e();function M(t){if(t){var e=r();return a(t,(function(t,n){if(null==(t=d({},u(t)?t:{name:t})).name)return t;t.name+="",null==t.displayName&&(t.displayName=t.name);var i=e.get(t.name);return i?t.name+="-"+i.count++:e.set(t.name,{count:1}),t}))}}function I(t,e,n,i){if(null==i&&(i=1/0),e===b)for(var r=0;r=0;i--)f.isIdInner(e[i])&&e.splice(i,1);t[n]=e}})),delete t[_],t},getTheme:function(){return this._theme},getComponent:function(t,e){var n=this._componentsMap.get(t);if(n)return n[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var a,s=t.index,l=t.id,u=t.name,h=this._componentsMap.get(e);if(!h||!h.length)return[];if(null!=s)r(s)||(s=[s]),a=n(i(s,(function(t){return h[t]})),(function(t){return!!t}));else if(null!=l){var c=r(l);a=n(h,(function(t){return c&&o(l,t.id)>=0||!c&&t.id===l}))}else if(null!=u){var d=r(u);a=n(h,(function(t){return d&&o(u,t.name)>=0||!d&&t.name===u}))}else a=h.slice();return M(a,t)},findComponents:function(t){var e,i,r,o,a,s=t.query,l=t.mainType,u=(i=l+"Index",r=l+"Id",o=l+"Name",!(e=s)||null==e[i]&&null==e[r]&&null==e[o]?null:{mainType:l,index:e[i],id:e[r],name:e[o]}),h=u?this.queryComponents(u):this._componentsMap.get(l);return a=M(h,t),t.filter?n(a,t.filter):a},eachComponent:function(t,n,i){var r=this._componentsMap;if("function"==typeof t)i=n,n=t,r.each((function(t,r){e(t,(function(t,e){n.call(i,r,t,e)}))}));else if(s(t))e(r.get(t),n,i);else if(a(t)){var o=this.findComponents(t);e(o,n,i)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return n(e,(function(e){return e.name===t}))},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){var e=this._componentsMap.get("series");return n(e,(function(e){return e.subType===t}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(t,n){e(this._seriesIndices,(function(e){var i=this._componentsMap.get("series")[e];t.call(n,i,e)}),this)},eachRawSeries:function(t,n){e(this._componentsMap.get("series"),t,n)},eachSeriesByType:function(t,n,i){e(this._seriesIndices,(function(e){var r=this._componentsMap.get("series")[e];r.subType===t&&n.call(i,r,e)}),this)},eachRawSeriesByType:function(t,n,i){return e(this.getSeriesByType(t),n,i)},isSeriesFiltered:function(t){return null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){S(this,n(this._componentsMap.get("series"),t,e))},restoreData:function(t){var n=this._componentsMap;S(this,n.get("series"));var i=[];n.each((function(t,e){i.push(e)})),v.topologicalTravel(i,v.getAllClassMainTypes(),(function(i,r){e(n.get(i),(function(e){("series"!==i||!function(t,e){if(e){var n=e.seiresIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}(e,t))&&e.restoreData()}))}))}});function w(t){this.option={},this.option[_]=1,this._componentsMap=l({series:[]}),this._seriesIndices,this._seriesIndicesMap,function(t,n){var i=t.color&&!t.colorLayer;e(n,(function(e,n){"colorLayer"===n&&i||v.hasClass(n)||("object"==typeof e?t[n]=t[n]?c(t[n],e,!1):h(e):null==t[n]&&(t[n]=e))}))}(t,this._theme.option),c(t,m,!1),this.mergeOption(t)}function S(t,e){t._seriesIndicesMap=l(t._seriesIndices=i(e,(function(t){return t.componentIndex}))||[])}function M(t,e){return e.hasOwnProperty("subType")?n(t,(function(t){return t.subType===e.subType})):t}return p(b,y),dj=b}function Pj(){if(gj)return fj;gj=1;var t=bW(),e=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];return fj=function(n){t.each(e,(function(e){this[e]=t.bind(n[e],n)}),this)}}function Oj(){if(mj)return vj;mj=1;var t=bW(),e={};function n(){this._coordinateSystems=[]}return n.prototype={constructor:n,create:function(n,i){var r=[];t.each(e,(function(t,e){var o=t.create(n,i);r=r.concat(o||[])})),this._coordinateSystems=r},update:function(e,n){t.each(this._coordinateSystems,(function(t){t.update&&t.update(e,n)}))},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},n.register=function(t,n){e[t]=n},n.get=function(t){return e[t]},vj=n}function Rj(){if(xj)return yj;xj=1;var t=bW(),e=AY(),n=oj(),i=t.each,r=t.clone,o=t.map,a=t.merge,s=/^(min|max)?(.+)$/;function l(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function u(e,n,r){var o,a,s=[],l=[],u=e.timeline;if(e.baseOption&&(a=e.baseOption),(u||e.options)&&(a=a||{},s=(e.options||[]).slice()),e.media){a=a||{};var h=e.media;i(h,(function(t){t&&t.option&&(t.query?l.push(t):o||(o=t))}))}return a||(a=e),a.timeline||(a.timeline=u),i([a].concat(s).concat(t.map(l,(function(t){return t.option}))),(function(t){i(n,(function(e){e(t,r)}))})),{baseOption:a,timelineOptions:s,mediaDefault:o,mediaList:l}}function h(e,n,i){var r={width:n,height:i,aspectratio:n/i},o=!0;return t.each(e,(function(t,e){var n=e.match(s);if(n&&n[1]&&n[2]){var i=n[1],a=n[2].toLowerCase();(function(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e})(r[a],t,i)||(o=!1)}})),o}return l.prototype={constructor:l,setOption:function(s,l){s&&t.each(e.normalizeToArray(s.series),(function(e){e&&e.data&&t.isTypedArray(e.data)&&t.setAsPrimitive(e.data)})),s=r(s);var h,c,d=this._optionBackup,p=u.call(this,s,l,!d);this._newBaseOption=p.baseOption,d?(h=d.baseOption,c=p.baseOption,i(c=c||{},(function(t,i){if(null!=t){var r=h[i];if(n.hasClass(i)){t=e.normalizeToArray(t),r=e.normalizeToArray(r);var s=e.mappingToExists(r,t);h[i]=o(s,(function(t){return t.option&&t.exist?a(t.exist,t.option,!0):t.exist||t.option}))}else h[i]=a(r,t,!0)}})),p.timelineOptions.length&&(d.timelineOptions=p.timelineOptions),p.mediaList.length&&(d.mediaList=p.mediaList),p.mediaDefault&&(d.mediaDefault=p.mediaDefault)):this._optionBackup=p},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=o(e.timelineOptions,r),this._mediaList=o(e.mediaList,r),this._mediaDefault=r(e.mediaDefault),this._currentMediaIndices=[],r(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=r(n[i.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e,n,i=this._api.getWidth(),a=this._api.getHeight(),s=this._mediaList,l=this._mediaDefault,u=[],c=[];if(!s.length&&!l)return c;for(var d=0,p=s.length;d=0;f--){var g=t[f];if(s||(c=g.data.rawIndexOf(g.stackedByDimension,h)),c>=0){var v=g.data.getByRawIndex(g.stackResultDimension,c);if(d>=0&&v>0||d<=0&&v<0){d+=v,p=v;break}}}return i[0]=d,i[1]=p,i}));a.hostModel.setData(l),e.data=l}))}return Mj=function(t){var n=e();t.eachSeries((function(t){var e=t.get("stack");if(e){var i=n.get(e)||n.set(e,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),n.each(i)}}var zj,Vj,Bj,Fj={};function Gj(){if(zj)return Fj;zj=1,cW().__DEV__;var t=bW();t.isTypedArray;var e=t.extend;t.assert;var n=t.each,i=t.isObject,r=AY(),o=r.getDataItemValue,a=r.isDataItemOption,s=YX().parseDate,l=Dj(),u=Aj(),h=u.SOURCE_FORMAT_TYPED_ARRAY,c=u.SOURCE_FORMAT_ARRAY_ROWS,d=u.SOURCE_FORMAT_ORIGINAL,p=u.SOURCE_FORMAT_OBJECT_ROWS;function f(t,n){l.isInstance(t)||(t=l.seriesDataToSource(t)),this._source=t;var i=this._data=t.data,r=t.sourceFormat;r===h&&(this._offset=0,this._dimSize=n,this._data=i);var o=v[r===c?r+"_"+t.seriesLayoutBy:r];e(this,o)}var g=f.prototype;g.pure=!1,g.persistent=!0,g.getSource=function(){return this._source};var v={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(t){return this._data[t+this._source.startIndex]},appendData:x},arrayRows_row:{pure:!0,count:function(){var t=this._data[0];return t?Math.max(0,t.length-this._source.startIndex):0},getItem:function(t){t+=this._source.startIndex;for(var e=[],n=this._data,i=0;i=1)&&(t=1),t}l===h&&u===c||(n="reset"),(this._dirty||"reset"===n)&&(this._dirty=!1,s=function(t,n){var i,r;t._dueIndex=t._outputDueEnd=t._dueEnd=0,t._settedOutputEnd=null,!n&&t._reset&&((i=t._reset(t.context))&&i.progress&&(r=i.forceFirstProgress,i=i.progress),e(i)&&!i.length&&(i=null)),t._progress=i,t._modBy=t._modDataCount=null;var o=t._downstream;return o&&o.dirty(),r}(this,r)),this._modBy=h,this._modDataCount=c;var p=t&&t.step;if(this._dueEnd=i?i._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var f=this._dueIndex,g=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!r&&(s||f1&&i>0?s:a}};return o;function a(){return e=t?null:o":"\n",d="richText"===u,p={},f=0;function g(t){return{renderMode:u,content:r(o(t)),style:p}}var v=this.getData(),m=v.mapDimension("defaultedTooltip",!0),x=m.length,_=this.getRawValue(e),b=t.isArray(_),w=v.getItemVisual(e,"color");t.isObject(w)&&w.colorStops&&(w=(w.colorStops[0]||{}).color),w=w||"transparent";var S=x>1||b&&!x?function(s){var l=t.reduce(s,(function(t,e,n){var i=v.getDimensionInfo(n);return t|(i&&!1!==i.tooltip&&null!=i.displayName)}),0),c=[];function g(t,e){var s=v.getDimensionInfo(e);if(s&&!1!==s.otherDims.tooltip){var g=s.type,m="sub"+h.seriesIndex+"at"+f,y=a({color:w,type:"subItem",renderMode:u,markerId:m}),x="string"==typeof y?y:y.content,_=(l?x+r(s.displayName||"-")+": ":"")+r("ordinal"===g?t+"":"time"===g?n?"":i("yyyy/MM/dd hh:mm:ss",t):o(t));_&&c.push(_),d&&(p[m]=w,++f)}}m.length?t.each(m,(function(t){g(y(v,e,t),t)})):t.each(s,g);var x=l?d?"\n":"
":"",_=x+c.join(x||", ");return{renderMode:u,content:_,style:p}}(_):g(x?y(v,e,m[0]):b?_[0]:_),M=S.content,I=h.seriesIndex+"at"+f,T=a({color:w,type:"item",renderMode:u,markerId:I});p[I]=w,++f;var C=v.getName(e),A=this.name;s.isNameSpecified(this)||(A=""),A=A?r(A)+(n?": ":c):"";var D="string"==typeof T?T:T.content;return{html:n?D+A+M:A+D+(C?r(C)+": "+M:M),markers:p}},isAnimationEnabled:function(){if(e.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,n){var i=this.ecModel,r=u.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function b(e){var n=e.name;s.isNameSpecified(e)||(e.name=function(e){var n=e.getRawData(),i=n.mapDimension("seriesName",!0),r=[];return t.each(i,(function(t){var e=n.getDimensionInfo(t);e.displayName&&r.push(e.displayName)})),r.join(" ")}(e)||n)}function w(t){return t.model.getRawData().count()}function S(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),M}function M(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function I(e,n){t.each(e.CHANGABLE_METHODS,(function(i){e.wrapMethod(i,t.curry(T,n))}))}function T(t){var e=C(t);e&&e.setOutputEnd(this.count())}function C(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}return t.mixin(_,h),t.mixin(_,u),Uj=_}function eq(){if(Xj)return Zj;Xj=1;var t=PU(),e=GX(),n=zY(),i=function(){this.group=new t,this.uid=e.getUID("viewComponent")},r=i.prototype={constructor:i,init:function(t,e){},render:function(t,e,n,i){},dispose:function(){},filterForExposedEvent:null};return r.updateView=r.updateLayout=r.updateVisual=function(t,e,n,i){},n.enableClassExtend(i),n.enableClassManagement(i,{registerWhenExtend:!0}),Zj=i}function nq(){if(qj)return jj;qj=1;var t=AY().makeInner;return jj=function(){var e=t();return function(t){var n=e(t),i=t.pipelineContext,r=n.large,o=n.progressiveRender,a=n.large=i&&i.large,s=n.progressiveRender=i&&i.progressiveRender;return!!(r^a||o^s)&&"reset"}},jj}function iq(){if($j)return Kj;$j=1;var t=bW().each,e=PU(),n=GX(),i=zY(),r=AY(),o=zX(),a=Qj().createTask,s=nq(),l=r.makeInner(),u=s();function h(){this.group=new e,this.uid=n.getUID("viewChart"),this.renderTask=a({plan:f,reset:g}),this.renderTask.context={view:this}}h.prototype={type:"chart",init:function(t,e){},render:function(t,e,n,i){},highlight:function(t,e,n,i){p(t.getData(),i,"emphasis")},downplay:function(t,e,n,i){p(t.getData(),i,"normal")},remove:function(t,e){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var c=h.prototype;function d(t,e,n){if(t&&(t.trigger(e,n),t.isGroup&&!o.isHighDownDispatcher(t)))for(var i=0,r=t.childCount();i=0?c():h=setTimeout(c,-r),l=i};return d.clear=function(){h&&(clearTimeout(h),h=null)},d.debounceNextCall=function(t){s=t},d}return xq.throttle=i,xq.createOrUpdate=function(r,o,a,s){var l=r[o];if(l){var u=l[t]||l,h=l[n];if(l[e]!==a||h!==s){if(null==a||!s)return r[o]=u;(l=r[o]=i(u,a,"debounce"===s))[t]=u,l[n]=s,l[e]=a}return l}},xq.clear=function(e,n){var i=e[n];i&&i[t]&&(e[n]=i[t])},xq}function bq(){if(aq)return oq;aq=1;var t=RX(),e=bW().isFunction,n={createOnAllSeries:!0,performRawSeries:!0,reset:function(n,i){var r=n.getData(),o=(n.visualColorAccessPath||"itemStyle.color").split("."),a=n.get(o),s=!e(a)||a instanceof t?null:a;a&&!s||(a=n.getColorFromPalette(n.name,null,i.getSeriesCount())),r.setVisual("color",a);var l=(n.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),u=n.get(l);if(r.setVisual("borderColor",u),!i.isSeriesFiltered(n))return s&&r.each((function(t){r.setItemVisual(t,"color",s(n.getDataParams(t)))})),{dataEach:r.hasItemOption?function(t,e){var n=t.getItemModel(e),i=n.get(o,!0),r=n.get(l,!0);null!=i&&t.setItemVisual(e,"color",i),null!=r&&t.setItemVisual(e,"borderColor",r)}:null}}};return oq=n}function wq(){return lq?sq:(lq=1,sq={legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}})}function Sq(){if(hq)return uq;hq=1;var t=bW(),e=wq(),n=Gj().retrieveRawValue;return uq=function(i,r){var o=r.getModel("aria");if(o.get("show"))if(o.get("description"))i.setAttribute("aria-label",o.get("description"));else{var a=0;r.eachSeries((function(t,e){++a}),this);var s,l=o.get("data.maxCount")||10,u=o.get("series.maxCount")||10,h=Math.min(a,u);if(!(a<1)){var c=function(){var t=r.getModel("title").option;return t&&t.length&&(t=t[0]),t&&t.text}();s=c?p(f("general.withTitle"),{title:c}):f("general.withoutTitle");var d=[];s+=p(f(a>1?"series.multiple.prefix":"series.single.prefix"),{seriesCount:a}),r.eachSeries((function(t,i){if(i1?"multiple":"single")+".";r=p(r=f(o?s+"withName":s+"withoutName"),{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:(y=t.subType,e.series.typeNames[y]||"自定义图")});var u=t.getData();window.data=u,u.count()>l?r+=p(f("data.partialData"),{displayCnt:l}):r+=f("data.allData");for(var c=[],g=0;gn.blockIndex?n.step:null,o=i&&i.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},d.getPipeline=function(t){return this._pipelineMap.get(t)},d.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},d.restorePipelines=function(t){var e=this,n=e._pipelineMap=r();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),M(e,t,t.dataTask)}))},d.prepareStageTasks=function(){var t=this._stageTaskMap,n=this.ecInstance.getModel(),i=this.api;e(this._allHandlers,(function(o){var s=t.get(o.uid)||t.set(o.uid,[]);o.reset&&function(t,e,n,i,o){var s=n.seriesTaskMap||(n.seriesTaskMap=r()),l=e.seriesType,u=e.getTargetSeries;function h(n){var r=n.uid,l=s.get(r)||s.set(r,a({plan:x,reset:_,count:S}));l.context={model:n,ecModel:i,api:o,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},M(t,n,l)}e.createOnAllSeries?i.eachRawSeries(h):l?i.eachRawSeriesByType(l,h):u&&u(i,o).each(h);var c=t._pipelineMap;s.each((function(t,e){c.get(e)||(t.dispose(),s.removeKey(e))}))}(this,o,s,n,i),o.overallReset&&function(t,n,i,o,s){var l=i.overallTask=i.overallTask||a({reset:g});l.context={ecModel:o,api:s,overallReset:n.overallReset,scheduler:t};var u=l.agentStubMap=l.agentStubMap||r(),h=n.seriesType,c=n.getTargetSeries,d=!0,p=n.modifyOutputEnd;function f(e){var n=e.uid,i=u.get(n);i||(i=u.set(n,a({reset:v,onDirty:y})),l.dirty()),i.context={model:e,overallProgress:d,modifyOutputEnd:p},i.agent=l,i.__block=d,M(t,e,i)}h?o.eachRawSeriesByType(h,f):c?c(o,s).each(f):(d=!1,e(o.getSeries(),f));var m=t._pipelineMap;u.each((function(t,e){m.get(e)||(t.dispose(),l.dirty(),u.removeKey(e))}))}(this,o,s,n,i)}),this)},d.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,M(this,e,r)},d.performDataProcessorTasks=function(t,e){p(this,this._dataProcessorHandlers,t,e,{block:!0})},d.performVisualTasks=function(t,e,n){p(this,this._visualHandlers,t,e,n)},d.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e|=t.dataTask.perform()})),this.unfinished|=e},d.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))};var f=d.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function g(t){t.overallReset(t.ecModel,t.api,t.payload)}function v(t,e){return t.overallProgress&&m}function m(){this.agent.dirty(),this.getDownstream().dirty()}function y(){this.agent&&this.agent.dirty()}function x(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function _(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=h(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?n(e,(function(t,e){return w(e)})):b}var b=w(0);function w(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o=4&&(u={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(u&&null!=s&&null!=l&&(h=O(u,s,l),!n.ignoreViewBox)){var p=o;(o=new t).add(p),p.scale=h.scale.slice(),p.position=h.position.slice()}return n.ignoreRootClip||null==s||null==l||o.setClipPath(new r({shape:{x:0,y:0,width:s,height:l}})),{root:o,width:s,height:l,viewBoxRect:u,viewBoxTransform:h}},w.prototype._parseNode=function(t,e){var n,i,r=t.nodeName.toLowerCase();if("defs"===r?this._isDefine=!0:"text"===r&&(this._isText=!0),this._isDefine){if(i=M[r]){var o=i.call(this,t),a=t.getAttribute("id");a&&(this._defs[a]=o)}}else(i=S[r])&&(n=i.call(this,t,e),e.add(n));for(var s=t.firstChild;s;)1===s.nodeType&&this._parseNode(s,n),3===s.nodeType&&this._isText&&this._parseText(s,n),s=s.nextSibling;"defs"===r?this._isDefine=!1:"text"===r&&(this._isText=!1)},w.prototype._parseText=function(t,e){if(1===t.nodeType){var i=t.getAttribute("dx")||0,r=t.getAttribute("dy")||0;this._textX+=parseFloat(i),this._textY+=parseFloat(r)}var o=new n({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});I(e,o),A(t,o,this._defs);var a=o.style.fontSize;a&&a<9&&(o.style.fontSize=9,o.scale=o.scale||[1,1],o.scale[0]*=a/9,o.scale[1]*=a/9);var s=o.getBoundingRect();return this._textX+=s.width,e.add(o),o};var S={g:function(e,n){var i=new t;return I(n,i),A(e,i,this._defs),i},rect:function(t,e){var n=new r;return I(e,n),A(t,n,this._defs),n.setShape({x:parseFloat(t.getAttribute("x")||0),y:parseFloat(t.getAttribute("y")||0),width:parseFloat(t.getAttribute("width")||0),height:parseFloat(t.getAttribute("height")||0)}),n},circle:function(t,e){var n=new i;return I(e,n),A(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),n},line:function(t,e){var n=new a;return I(e,n),A(t,n,this._defs),n.setShape({x1:parseFloat(t.getAttribute("x1")||0),y1:parseFloat(t.getAttribute("y1")||0),x2:parseFloat(t.getAttribute("x2")||0),y2:parseFloat(t.getAttribute("y2")||0)}),n},ellipse:function(t,e){var n=new o;return I(e,n),A(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),rx:parseFloat(t.getAttribute("rx")||0),ry:parseFloat(t.getAttribute("ry")||0)}),n},polygon:function(t,e){var n=t.getAttribute("points");n&&(n=T(n));var i=new l({shape:{points:n||[]}});return I(e,i),A(t,i,this._defs),i},polyline:function(t,e){var n=new s;I(e,n),A(t,n,this._defs);var i=t.getAttribute("points");return i&&(i=T(i)),new u({shape:{points:i||[]}})},image:function(t,n){var i=new e;return I(n,i),A(t,i,this._defs),i.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),i},text:function(e,n){var i=e.getAttribute("x")||0,r=e.getAttribute("y")||0,o=e.getAttribute("dx")||0,a=e.getAttribute("dy")||0;this._textX=parseFloat(i)+parseFloat(o),this._textY=parseFloat(r)+parseFloat(a);var s=new t;return I(n,s),A(e,s,this._defs),s},tspan:function(e,n){var i=e.getAttribute("x"),r=e.getAttribute("y");null!=i&&(this._textX=parseFloat(i)),null!=r&&(this._textY=parseFloat(r));var o=e.getAttribute("dx")||0,a=e.getAttribute("dy")||0,s=new t;return I(n,s),A(e,s,this._defs),this._textX+=o,this._textY+=a,s},path:function(t,e){var n=t.getAttribute("d")||"",i=p(n);return I(e,i),A(t,i,this._defs),i}},M={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),n=parseInt(t.getAttribute("y1")||0,10),i=parseInt(t.getAttribute("x2")||10,10),r=parseInt(t.getAttribute("y2")||0,10),o=new h(e,n,i,r);return function(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType){var i=n.getAttribute("offset");i=i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var r=n.getAttribute("stop-color")||"#000000";e.addColorStop(i,r)}n=n.nextSibling}}(t,o),o},radialgradient:function(t){}};function I(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),m(e.__inheritedStyle,t.__inheritedStyle))}function T(t){for(var e=y(t).split(_),n=[],i=0;i0;o-=2){var a=r[o],s=r[o-1];switch(i=i||d.create(),s){case"translate":a=y(a).split(_),d.translate(i,i,[parseFloat(a[0]),parseFloat(a[1]||0)]);break;case"scale":a=y(a).split(_),d.scale(i,i,[parseFloat(a[0]),parseFloat(a[1]||a[0])]);break;case"rotate":a=y(a).split(_),d.rotate(i,i,parseFloat(a[0]));break;case"skew":a=y(a).split(_),console.warn("Skew transform is not supported yet");break;case"matrix":a=y(a).split(_),i[0]=parseFloat(a[0]),i[1]=parseFloat(a[1]),i[2]=parseFloat(a[2]),i[3]=parseFloat(a[3]),i[4]=parseFloat(a[4]),i[5]=parseFloat(a[5])}}e.setLocalTransform(i)}}(t,e),v(r,function(t){var e=t.getAttribute("style"),n={};if(!e)return n;var i,r={};for(P.lastIndex=0;null!=(i=P.exec(e));)r[i[1]]=i[2];for(var o in C)C.hasOwnProperty(o)&&null!=r[o]&&(n[C[o]]=r[o]);return n}(t)),!i))for(var a in C)if(C.hasOwnProperty(a)){var s=t.getAttribute(a);null!=s&&(r[C[a]]=s)}var l=o?"textFill":"fill",u=o?"textStroke":"stroke";e.style=e.style||new c;var h=e.style;null!=r.fill&&h.set(l,L(r.fill,n)),null!=r.stroke&&h.set(u,L(r.stroke,n)),x(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){var e="lineWidth"===t&&o?"textStrokeWidth":t;null!=r[t]&&h.set(e,parseFloat(r[t]))})),r.textBaseline&&"auto"!==r.textBaseline||(r.textBaseline="alphabetic"),"alphabetic"===r.textBaseline&&(r.textBaseline="bottom"),"start"===r.textAlign&&(r.textAlign="left"),"end"===r.textAlign&&(r.textAlign="right"),x(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],(function(t){null!=r[t]&&h.set(t,r[t])})),r.lineDash&&(e.style.lineDash=y(r.lineDash).split(_)),h[u]&&"none"!==h[u]&&(e[u]=!0),e.__inheritedStyle=r}var D=/url\(\s*#(.*?)\)/;function L(t,e){var n=e&&t&&t.match(D);return n?e[y(n[1])]:t}var k=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g,P=/([^\s:;]+)\s*:\s*([^:;]+)/g;function O(t,e,n){var i=e/t.width,r=n/t.height,o=Math.min(i,r);return{scale:[o,o],position:[-(t.x+t.width/2)*o+e/2,-(t.y+t.height/2)*o+n/2]}}return Oq.parseXML=b,Oq.makeViewBoxTransform=O,Oq.parseSVG=function(t,e){return(new w).parse(t,e)},Oq}function Eq(){if(Pq)return kq;Pq=1,cW().__DEV__;var t=bW(),e=t.createHashMap,n=t.isString,i=t.isArray,r=t.each;t.assert;var o=Nq().parseXML,a=e(),s={registerMap:function(t,e,n){var o;return i(e)?o=e:e.svg?o=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(n=e.specialAreas,e=e.geoJson),o=[{type:"geoJSON",source:e,specialAreas:n}]),r(o,(function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON"),(0,l[e])(t)})),a.set(t,o)},retrieveMap:function(t){return a.get(t)}},l={geoJSON:function(t){var e=t.source;t.geoJSON=n(e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=o(t.source)}};return kq=s}var zq,Vq,Bq={},Fq={};function Gq(){if(Vq)return zq;function t(t){return t}function e(e,n,i,r,o){this._old=e,this._new=n,this._oldKeyGetter=i||t,this._newKeyGetter=r||t,this.context=o}function n(t,e,n,i,r){for(var o=0;o65535?d:f}var v=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],m=["_extent","_approximateExtent","_rawExtent"];function y(e,n){t.each(v.concat(n.__wrappedMethods||[]),(function(t){n.hasOwnProperty(t)&&(e[t]=n[t])})),e.__wrappedMethods=n.__wrappedMethods,t.each(m,(function(i){e[i]=t.clone(n[i])})),e._calculationInfo=t.extend(n._calculationInfo)}var x=function(e,n){e=e||["x","y"];for(var i={},r=[],o={},a=0;a=0?this._indices[t]:-1}function T(t,e){var n=t._idList[e];return null==n&&(n=S(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n}function C(e){return t.isArray(e)||(e=[e]),e}function A(e,n){var i=e.dimensions,r=new x(t.map(i,e.getDimensionInfo,e),e.hostModel);y(r,e);for(var o=r._storage={},a=e._storage,s=0;s=0?(o[l]=D(a[l]),r._rawExtent[l]=[1/0,-1/0],r._extent[l]=null):o[l]=a[l])}return r}function D(t){for(var e,n,i=new Array(t.length),r=0;rx[1]&&(x[1]=y)}e&&(this._nameList[d]=e[p])}this._rawCount=this._count=l,this._extent={},w(this)},_._initDataFromProvider=function(t,e){if(!(t>=e)){for(var n,i=this._chunkSize,r=this._rawData,o=this._storage,a=this.dimensions,s=a.length,l=this._dimensionInfos,u=this._nameList,h=this._idList,c=this._rawExtent,d=this._nameRepeatCount={},p=this._chunkCount,f=0;fT[1]&&(T[1]=I)}if(!r.pure){var C=u[m];if(v&&null==C)if(null!=v.name)u[m]=C=v.name;else if(null!=n){var A=a[n],D=o[A][y];if(D){C=D[x];var L=l[A].ordinalMeta;L&&L.categories.length&&(C=L.categories[C])}}var k=null==v?null:v.id;null==k&&null!=C&&(d[C]=d[C]||0,k=C,d[C]>0&&(k+="__ec__"+d[C]),d[C]++),null!=k&&(h[m]=k)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent={},w(this)}},_.count=function(){return this._count},_.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,n=this._count;if(e===Array){r=new e(n);for(var i=0;i=0&&e=0&&ea&&(a=l)}return i=[o,a],this._extent[t]=i,i},_.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},_.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},_.getCalculationInfo=function(t){return this._calculationInfo[t]},_.setCalculationInfo=function(e,n){u(e)?t.extend(this._calculationInfo,e):this._calculationInfo[e]=n},_.getSum=function(t){var e=0;if(this._storage[t])for(var n=0,i=this.count();n=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}return-1},_.indicesOfNearest=function(t,e,n){var i=[];if(!this._storage[t])return i;null==n&&(n=1/0);for(var r=1/0,o=-1,a=0,s=0,l=this.count();s=0&&o<0)&&(r=h,o=u,a=0),u===o&&(i[a++]=s))}return i.length=a,i},_.getRawIndex=M,_.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],n=0;n=l&&w<=u||isNaN(w))&&(o[a++]=c),c++;h=!0}else if(2===i){d=this._storage[s];var y=this._storage[e[1]],x=t[e[1]][0],_=t[e[1]][1];for(p=0;p=l&&w<=u||isNaN(w))&&(S>=x&&S<=_||isNaN(S))&&(o[a++]=c),c++}}h=!0}}if(!h)if(1===i)for(m=0;m=l&&w<=u||isNaN(w))&&(o[a++]=T)}else for(m=0;mt[A][1])&&(C=!1)}C&&(o[a++]=this.getRawIndex(m))}return aw[1]&&(w[1]=b)}}}return o},_.downSample=function(t,e,n,i){for(var r=A(this,[t]),o=r._storage,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),h=this._chunkSize,c=r._rawExtent[t],d=new(g(this))(u),p=0,f=0;fu-f&&(s=u-f,a.length=s);for(var v=0;vc[1]&&(c[1]=_),d[p++]=b}return r._count=p,r._indices=d,r.getRawIndex=I,r},_.getItemModel=function(t){var n=this.hostModel;return new e(this.getRawDataItem(t),n,n&&n.ecModel)},_.diff=function(t){var e=this;return new n(t?t.getIndices():[],this.getIndices(),(function(e){return T(t,e)}),(function(t){return T(e,t)}))},_.getVisual=function(t){var e=this._visual;return e&&e[t]},_.setVisual=function(t,e){if(u(t))for(var n in t)t.hasOwnProperty(n)&&this.setVisual(n,t[n]);else this._visual=this._visual||{},this._visual[t]=e},_.setLayout=function(t,e){if(u(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},_.getLayout=function(t){return this._layout[t]},_.getItemLayout=function(t){return this._itemLayouts[t]},_.setItemLayout=function(e,n,i){this._itemLayouts[e]=i?t.extend(this._itemLayouts[e]||{},n):n},_.clearItemLayouts=function(){this._itemLayouts.length=0},_.getItemVisual=function(t,e,n){var i=this._itemVisuals[t],r=i&&i[e];return null!=r||n?r:this.getVisual(e)},_.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{},r=this.hasItemVisual;if(this._itemVisuals[t]=i,u(e))for(var o in e)e.hasOwnProperty(o)&&(i[o]=e[o],r[o]=!0);else i[e]=n,r[e]=!0},_.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var L=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};return _.setItemGraphicEl=function(t,e){var n=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=n&&n.seriesIndex,"group"===e.type&&e.traverse(L,e)),this._graphicEls[t]=e},_.getItemGraphicEl=function(t){return this._graphicEls[t]},_.eachItemGraphicEl=function(e,n){t.each(this._graphicEls,(function(t,i){t&&e&&e.call(n,t,i)}))},_.cloneShallow=function(e){if(!e){var n=t.map(this.dimensions,this.getDimensionInfo,this);e=new x(n,this.hostModel)}if(e._storage=this._storage,y(e,this),this._indices){var i=this._indices.constructor;e._indices=new i(this._indices)}else e._indices=null;return e.getRawIndex=e._indices?I:M,e},_.wrapMethod=function(e,n){var i=this[e];"function"==typeof i&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=i.apply(this,arguments);return n.apply(this,[e].concat(t.slice(arguments)))})},_.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],_.CHANGABLE_METHODS=["filterSelf","selectRange"],Yq=x}function eK(){if(jq)return Xq;jq=1;var t=bW(),e=t.createHashMap,n=t.each,i=t.isString,r=t.defaults,o=t.extend,a=t.isObject,s=t.clone,l=AY().normalizeToArray,u=Lj(),h=u.guessOrdinal,c=u.BE_ORDINAL,d=Dj(),p=Jq().OTHER_DIMENSIONS,f=Qq();function g(t,e,n){if(n||null!=e.get(t)){for(var i=0;null!=e.get(t+i);)i++;t+=i}return e.set(t,!0),t}var v=function(t,u,v){d.isInstance(u)||(u=d.seriesDataToSource(u)),v=v||{},t=(t||[]).slice();for(var m=(v.dimsDef||[]).slice(),y=e(),x=e(),_=[],b=function(t,e,i,r){var o=Math.max(t.dimensionsDetectCount||1,e.length,i.length,r||0);return n(e,(function(t){var e=t.dimsDef;e&&(o=Math.max(o,e.length))})),o}(u,t,m,v.dimCount),w=0;w=e[0]&&t<=e[1]},e.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},e.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},e.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(t){this._isBlank=t},e.prototype.getLabel=null,t.enableClassExtend(e),t.enableClassManagement(e,{registerWhenExtend:!0}),cK=e}function xK(){if(fK)return pK;fK=1;var t=bW(),e=t.createHashMap,n=t.isObject,i=t.map;function r(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}r.createByAxisModel=function(t){var e=t.option,n=e.data,o=n&&i(n,s);return new r({categories:o,needCollect:!o,deduplication:!1!==e.dedplication})};var o=r.prototype;function a(t){return t._map||(t._map=e(t.categories))}function s(t){return n(t)&&null!=t.value?t.value:t+""}return o.getOrdinal=function(t){return a(this).get(t)},o.parseAndCollect=function(t){var e,n=this._needCollect;if("string"!=typeof t&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=a(this);return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},pK=r}var _K,bK,wK,SK={};function MK(){if(_K)return SK;_K=1;var t=YX(),e=t.round;function n(e){return t.getPrecisionSafe(e)+2}function i(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function r(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),i(t,0,e),i(t,1,e),t[0]>t[1]&&(t[0]=t[1])}return SK.intervalScaleNiceTicks=function(i,o,a,s){var l={},u=i[1]-i[0],h=l.interval=t.nice(u/o,!0);null!=a&&hs&&(h=l.interval=s);var c=l.intervalPrecision=n(h);return r(l.niceTickExtent=[e(Math.ceil(i[0]/h)*h,c),e(Math.floor(i[1]/h)*h,c)],i),l},SK.getIntervalPrecision=n,SK.fixExtent=r,SK}function IK(){if(wK)return bK;wK=1;var t=YX(),e=ij(),n=yK(),i=MK(),r=t.round,o=n.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},unionExtent:function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),o.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=i.getIntervalPrecision(t)},getTicks:function(t){var e=this._interval,n=this._extent,i=this._niceExtent,o=this._intervalPrecision,a=[];if(!e)return a;n[0]1e4)return[];var l=a.length?a[a.length-1]:i[1];return n[1]>l&&(t?a.push(r(l+e,o)):a.push(n[1])),a},getMinorTicks:function(e){for(var n=this.getTicks(!0),i=[],r=this.getExtent(),o=1;or[0]&&c0&&(a=null===a?l:Math.min(a,l))}i[r]=a}}return i}(n),r=[];return t.each(n,(function(t){var n,o=t.coordinateSystem.getBaseAxis(),l=o.getExtent();if("category"===o.type)n=o.getBandWidth();else if("value"===o.type||"time"===o.type){var u=o.dim+"_"+o.index,h=i[u],c=Math.abs(l[1]-l[0]),d=o.scale.getExtent(),p=Math.abs(d[1]-d[0]);n=h?c/p*h:c}else{var f=t.getData();n=Math.abs(l[1]-l[0])/f.count()}var g=e(t.get("barWidth"),n),v=e(t.get("barMaxWidth"),n),m=e(t.get("barMinWidth")||1,n),y=t.get("barGap"),x=t.get("barCategoryGap");r.push({bandWidth:n,barWidth:g,barMaxWidth:v,barMinWidth:m,barGap:y,barCategoryGap:x,axisKey:s(o),stackId:a(t)})})),h(r)}function h(n){var i={};t.each(n,(function(t,e){var n=t.axisKey,r=t.bandWidth,o=i[n]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},a=o.stacks;i[n]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var h=t.barMinWidth;h&&(a[s].minWidth=h);var c=t.barGap;null!=c&&(o.gap=c);var d=t.barCategoryGap;null!=d&&(o.categoryGap=d)}));var r={};return t.each(i,(function(n,i){r[i]={};var o=n.stacks,a=n.bandWidth,s=e(n.categoryGap,a),l=e(n.gap,1),u=n.remainedWidth,h=n.autoWidthCount,c=(u-s)/(h+(h-1)*l);c=Math.max(c,0),t.each(o,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width)i=t.width,e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,h--;else{var i=c;e&&ei&&(i=n),i!==c&&(t.width=i,u-=i+l*i,h--)}})),c=(u-s)/(h+(h-1)*l),c=Math.max(c,0);var d,p=0;t.each(o,(function(t,e){t.width||(t.width=c),d=t,p+=t.width*(1+l)})),d&&(p-=d.width*l);var f=-p/2;t.each(o,(function(t,e){r[i][e]=r[i][e]||{bandWidth:a,offset:f,width:t.width},f+=t.width*(1+l)}))})),r}function c(t,e,n){if(t&&e){var i=t[s(e)];return null!=i&&null!=n&&(i=i[a(n)]),i}}var d={seriesType:"bar",plan:i(),reset:function(t){if(p(t)&&f(t)){var e=t.getData(),n=t.coordinateSystem,i=n.grid.getRect(),r=n.getBaseAxis(),a=n.getOtherAxis(r),s=e.mapDimension(a.dim),l=e.mapDimension(r.dim),h=a.isHorizontal(),d=h?0:1,v=c(u([t]),r,t).width;return v>.5||(v=.5),{progress:function(t,e){for(var r,u=t.count,c=new o(2*u),p=new o(2*u),f=new o(u),m=[],y=[],x=0,_=0;null!=(r=t.next());)y[d]=e.get(s,r),y[1-d]=e.get(l,r),m=n.dataToPoint(y,null,m),p[x]=h?i.x+i.width:m[0],c[x++]=m[0],p[x]=h?m[1]:i.y+i.height,c[x++]=m[1],f[_++]=r;e.setLayout({largePoints:c,largeDataIndices:f,largeBackgroundPoints:p,barWidth:v,valueAxisStart:g(0,a),backgroundStart:h?i.x:i.y,valueAxisHorizontal:h})}}}}};function p(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function f(t){return t.pipelineContext&&t.pipelineContext.large}function g(t,e,n){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}return RK.getLayoutOnAxis=function(e){var n=[],i=e.axis,o="axis0";if("category"===i.type){for(var a=i.getBandWidth(),s=0;s=0?"p":"n",k=_;y&&(h[l][D]||(h[l][D]={p:_,n:_}),k=h[l][D][L]),x?(S=k,M=(C=i.dataToPoint([A,D]))[1]+c,I=C[0]-_,T=d,Math.abs(I)0;)r*=10;var o=[n.round(u(e[0]/r)*r),n.round(l(e[1]/r)*r)];this._interval=r,this._niceExtent=o}},niceExtent:function(t){o.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function p(t,e){return s(t,a(e))}return t.each(["contain","normalize"],(function(t){d.prototype[t]=function(e){return e=c(e)/c(this.base),r[t].call(this,e)}})),d.create=function(){return new d},DK=d}function zK(){if(kK)return mK;kK=1,cW().__DEV__;var t=bW(),e=function(){if(vK)return gK;vK=1;var t=bW(),e=yK(),n=xK(),i=e.prototype,r=e.extend({type:"ordinal",init:function(e,i){e&&!t.isArray(e)||(e=new n({categories:e})),this._ordinalMeta=e,this._extent=i||[0,e.categories.length-1]},parse:function(t){return"string"==typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},contain:function(t){return t=this.parse(t),i.contain.call(this,t)&&null!=this._ordinalMeta.categories[t]},normalize:function(t){return i.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(i.scale.call(this,t))},getTicks:function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push(n),n++;return t},getLabel:function(t){if(!this.isBlank())return this._ordinalMeta.categories[t]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:t.noop,niceExtent:t.noop});return r.create=function(){return new r},gK=r}(),n=IK(),i=yK(),r=YX(),o=NK(),a=o.prepareLayoutBarSeries,s=o.makeColumnLayout,l=o.retrieveColumnLayout,u=kU();function h(e,n){var i,o,u,h=e.type,c=n.getMin(),d=n.getMax(),p=e.getExtent();"ordinal"===h?i=n.getCategories().length:(o=n.get("boundaryGap"),t.isArray(o)||(o=[o||0,o||0]),"boolean"==typeof o[0]&&(o=[0,0]),o[0]=r.parsePercent(o[0],1),o[1]=r.parsePercent(o[1],1),u=p[1]-p[0]||Math.abs(p[0])),"dataMin"===c?c=p[0]:"function"==typeof c&&(c=c({min:p[0],max:p[1]})),"dataMax"===d?d=p[1]:"function"==typeof d&&(d=d({min:p[0],max:p[1]}));var f=null!=c,g=null!=d;null==c&&(c="ordinal"===h?i?0:NaN:p[0]-o[0]*u),null==d&&(d="ordinal"===h?i?i-1:NaN:p[1]+o[1]*u),(null==c||!isFinite(c))&&(c=NaN),(null==d||!isFinite(d))&&(d=NaN),e.setBlank(t.eqNaN(c)||t.eqNaN(d)||"ordinal"===h&&!e.getOrdinalMeta().categories.length),n.getNeedCrossZero()&&(c>0&&d>0&&!f&&(c=0),c<0&&d<0&&!g&&(d=0));var v=n.ecModel;if(v&&"time"===h){var m,y=a("bar",v);if(t.each(y,(function(t){m|=t.getBaseAxis()===n.axis})),m){var x=s(y),_=function(e,n,i,r){var o=i.axis.getExtent(),a=o[1]-o[0],s=l(r,i.axis);if(void 0===s)return{min:e,max:n};var u=1/0;t.each(s,(function(t){u=Math.min(t.offset,u)}));var h=-1/0;t.each(s,(function(t){h=Math.max(t.offset+t.width,h)})),u=Math.abs(u),h=Math.abs(h);var c=u+h,d=n-e,p=d/(1-(u+h)/a)-d;return{min:e-=p*(u/c),max:n+=p*(h/c)}}(c,d,n,x);c=_.min,d=_.max}}return{extent:[c,d],fixMin:f,fixMax:g}}function c(t){var e,n=t.getLabelModel().get("formatter"),i="category"===t.type?t.scale.getExtent()[0]:null;return"string"==typeof n?(e=n,n=function(n){return n=t.scale.getLabel(n),e.replace("{value}",null!=n?n:"")}):"function"==typeof n?function(e,r){return null!=i&&(r=e-i),n(d(t,e),r)}:function(e){return t.scale.getLabel(e)}}function d(t,e){return"category"===t.type?t.scale.getLabel(e):e}function p(t,e){var n=e*Math.PI/180,i=t.plain(),r=i.width,o=i.height,a=r*Math.abs(Math.cos(n))+Math.abs(o*Math.sin(n)),s=r*Math.abs(Math.sin(n))+Math.abs(o*Math.cos(n));return new u(i.x,i.y,a,s)}function f(t){var e=t.get("interval");return null==e?"auto":e}return function(){if(AK)return CK;AK=1;var t=bW(),e=YX(),n=ij(),i=MK(),r=IK(),o=r.prototype,a=Math.ceil,s=Math.floor,l=1e3,u=6e4,h=36e5,c=864e5,d=r.extend({type:"time",getLabel:function(t){var e=this._stepLvl,i=new Date(t);return n.formatTime(e[0],i,this.getSetting("useUTC"))},niceExtent:function(t){var n=this._extent;if(n[0]===n[1]&&(n[0]-=c,n[1]+=c),n[1]===-1/0&&n[0]===1/0){var i=new Date;n[1]=+new Date(i.getFullYear(),i.getMonth(),i.getDate()),n[0]=n[1]-c}this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(n[0]=e.round(s(n[0]/r)*r)),t.fixMax||(n[1]=e.round(a(n[1]/r)*r))},niceTicks:function(t,n,r){t=t||10;var o=this._extent,l=o[1]-o[0],u=l/t;null!=n&&ur&&(u=r);var h=p.length,c=function(t,e,n,i){for(;n>>1;t[r][1]0&&i>0||n<0&&i<0)},mK.makeLabelFormatter=c,mK.getAxisRawValue=d,mK.estimateLabelUnionRect=function(t){var e=t.model,n=t.scale;if(e.get("axisLabel.show")&&!n.isBlank()){var i,r,o="category"===t.type,a=n.getExtent();r=o?n.count():(i=n.getTicks()).length;var s,l=t.getLabelModel(),u=c(t),h=1;r>40&&(h=Math.ceil(r/40));for(var d=0;d>1^-(1&s),l=l>>1^-(1&l),r=s+=r,o=l+=o,i.push([s/n,l/n])}return i}return ZK=function(i,r){return function(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var i=t.features,r=0;r0})),(function(n){var i=n.properties,o=n.geometry,a=o.coordinates,s=[];"Polygon"===o.type&&s.push({type:"polygon",exterior:a[0],interiors:a.slice(1)}),"MultiPolygon"===o.type&&t.each(a,(function(t){t[0]&&s.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})}));var l=new e(i[r||"name"],s,i.cp);return l.properties=i,l}))},ZK}var JK,QK,t$,e$,n$,i$={};function r$(){if(JK)return i$;JK=1;var t=bW(),e=eY(),n=AY().makeInner,i=zK(),r=i.makeLabelFormatter,o=i.getOptionCategoryInterval,a=i.shouldShowAllLabels,s=n();function l(e,n){var i,r,a=u(e,"labels"),l=o(n),f=h(a,l);return f||(t.isFunction(l)?i=p(e,l):(r="auto"===l?function(t){var e=s(t).autoInterval;return null!=e?e:s(t).autoInterval=t.calculateCategoryInterval()}(e):l,i=d(e,r)),c(a,l,{labels:i,labelCategoryInterval:r}))}function u(t,e){return s(t)[e]||(s(t)[e]=[])}function h(t,e){for(var n=0;n1&&d/h>2&&(c=Math.round(Math.ceil(c/h)*h));var p=a(t),f=l.get("showMinLabel")||p,g=l.get("showMaxLabel")||p;f&&c!==s[0]&&m(s[0]);for(var v=c;v<=s[1];v+=h)m(v);function m(t){u.push(n?t:{formattedLabel:i(t),rawLabel:o.getLabel(t),tickValue:t})}return g&&v-h!==s[1]&&m(s[1]),u}function p(e,n,i){var o=e.scale,a=r(e),s=[];return t.each(o.getTicks(),(function(t){var e=o.getLabel(t);n(t,e)&&s.push(i?t:{formattedLabel:a(t),rawLabel:e,tickValue:t})})),s}return i$.createAxisLabels=function(e){return"category"===e.type?function(t){var e=t.getLabelModel(),n=l(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(e):function(e){var n=e.scale.getTicks(),i=r(e);return{labels:t.map(n,(function(t,n){return{formattedLabel:i(t,n),rawLabel:e.scale.getLabel(t),tickValue:t}}))}}(e)},i$.createAxisTicks=function(e,n){return"category"===e.type?function(e,n){var i,r,a=u(e,"ticks"),s=o(n),f=h(a,s);if(f)return f;if(n.get("show")&&!e.scale.isBlank()||(i=[]),t.isFunction(s))i=p(e,s,!0);else if("auto"===s){var g=l(e,e.getLabelModel());r=g.labelCategoryInterval,i=t.map(g.labels,(function(t){return t.tickValue}))}else i=d(e,r=s,!0);return c(a,s,{ticks:i,tickCategoryInterval:r})}(e,n):{ticks:e.scale.getTicks()}},i$.calculateCategoryInterval=function(t){var n=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),i=r(t),o=(n.axisRotate-n.labelRotate)/180*Math.PI,a=t.scale,l=a.getExtent(),u=a.count();if(l[1]-l[0]<1)return 0;var h=1;u>40&&(h=Math.max(1,Math.floor(u/40)));for(var c=l[0],d=t.dataToCoord(c+1)-t.dataToCoord(c),p=Math.abs(d*Math.cos(o)),f=Math.abs(d*Math.sin(o)),g=0,v=0;c<=l[1];c+=h){var m,y,x=e.getBoundingRect(i(c),n.font,"center","top");m=1.3*x.width,y=1.3*x.height,g=Math.max(g,m,7),v=Math.max(v,y,7)}var _=g/p,b=v/f;isNaN(_)&&(_=1/0),isNaN(b)&&(b=1/0);var w=Math.max(0,Math.floor(Math.min(_,b))),S=s(t.model),M=t.getExtent(),I=S.lastAutoInterval,T=S.lastTickCount;return null!=I&&null!=T&&Math.abs(I-w)<=1&&Math.abs(T-u)<=1&&I>w&&S.axisExtend0===M[0]&&S.axisExtend1===M[1]?w=I:(S.lastTickCount=u,S.lastAutoInterval=w,S.axisExtend0=M[0],S.axisExtend1=M[1]),w},i$}function o$(){if(t$)return QK;t$=1;var t=bW(),e=t.each,n=t.map,i=YX(),r=i.linearMap,o=i.getPixelPrecision,a=i.round,s=r$(),l=s.createAxisTicks,u=s.createAxisLabels,h=s.calculateCategoryInterval,c=[0,1],d=function(t,e,n){this.dim=t,this.scale=e,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1};function p(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}return d.prototype={constructor:d,contain:function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},containData:function(t){return this.scale.contain(t)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return o(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var n=this._extent;n[0]=t,n[1]=e},dataToCoord:function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&p(n=n.slice(),i.count()),r(t,c,n,e)},coordToData:function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&p(n=n.slice(),i.count());var o=r(t,n,c,e);return this.scale.scale(o)},pointToData:function(t,e){},getTicksCoords:function(t){var i=(t=t||{}).tickModel||this.getTickModel(),r=l(this,i).ticks,o=n(r,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this);return function(t,n,i,r){var o=n.length;if(t.onBand&&!i&&o){var s,l,u=t.getExtent();if(1===o)n[0].coord=u[0],s=n[1]={coord:u[0]};else{var h=n[o-1].tickValue-n[0].tickValue,c=(n[o-1].coord-n[0].coord)/h;e(n,(function(t){t.coord-=c/2})),l=1+t.scale.getExtent()[1]-n[o-1].tickValue,s={coord:n[o-1].coord+c*l},n.push(s)}var d=u[0]>u[1];p(n[0].coord,u[0])&&(r?n[0].coord=u[0]:n.shift()),r&&p(u[0],n[0].coord)&&n.unshift({coord:u[0]}),p(u[1],s.coord)&&(r?s.coord=u[1]:n.pop()),r&&p(s.coord,u[1])&&n.push({coord:u[1]})}function p(t,e){return t=a(t),e=a(e),d?t>e:t0&&t<100||(t=5);var e=this.scale.getMinorTicks(t);return n(e,(function(t){return n(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},getViewLabels:function(){return u(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return h(this)}},QK=d}function a$(){if(e$)return Bq;e$=1;var t=IY();Bq.zrender=t;var e=$W();Bq.matrix=e;var n=AW();Bq.vector=n;var i=bW(),r=sU();Bq.color=r;var o=zX(),a=YX();Bq.number=a;var s=ij();Bq.format=s;var l=_q();l.throttle,Bq.throttle=l.throttle;var u=function(){if(FK)return Fq;FK=1;var t=bW(),e=hK(),n=zK(),i=VK(),r=VX(),o=rj();o.getLayoutRect,Fq.getLayoutRect=o.getLayoutRect;var a=uK(),s=a.enableDataStack,l=a.isDimensionStacked,u=a.getStackedDimension,h=eK();Fq.completeDimensions=h;var c=nK();Fq.createDimensions=c;var d=HK();Fq.createSymbol=d.createSymbol;var p={isDimensionStacked:l,enableDataStack:s,getStackedDimension:u};return Fq.createList=function(t){return e(t.getSource(),t)},Fq.dataStack=p,Fq.createScale=function(e,o){var a=o;r.isInstance(o)||(a=new r(o),t.mixin(a,i));var s=n.createScaleByModel(a);return s.setExtent(e[0],e[1]),n.niceScaleExtent(s,a),s},Fq.mixinAxisModelCommonMethods=function(e){t.mixin(e,i)},Fq}();Bq.helper=u;var h=$K();Bq.parseGeoJSON=h;var c=tK();Bq.List=c;var d=VX();Bq.Model=d;var p=o$();Bq.Axis=p;var f=yW();Bq.env=f;var g=h,v={};i.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],(function(t){v[t]=i[t]}));var m={};return i.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],(function(t){m[t]=o[t]})),Bq.parseGeoJson=g,Bq.util=v,Bq.graphic=m,Bq}function s$(){return n$||(n$=1,function(t){cW().__DEV__;var e=IY(),n=bW(),i=sU(),r=yW(),o=OU(),a=DW(),s=kj(),l=Pj(),u=Oj(),h=Rj(),c=function(){if(Sj)return wj;Sj=1;var t=bW(),e=t.each,n=t.isArray,i=t.isObject,r=Nj(),o=AY().normalizeToArray;function a(t){e(s,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var s=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],l=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];return wj=function(t,s){r(t,s),t.series=o(t.series),e(t.series,(function(t){if(i(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e)null!=t.clockWise&&(t.clockwise=t.clockWise);else if("gauge"===e){var n=function(t,e){e=e.split(",");for(var n=t,i=0;i0&&t.unfinished);t.unfinished||this._zr.flush()}}},B.getDom=function(){return this._dom},B.getZr=function(){return this._zr},B.setOption=function(t,e,n){if(this._disposed)this.id;else{var i;if(L(e)&&(n=e.lazyUpdate,i=e.silent,e=e.notMerge),this[O]=!0,!this._model||e){var r=new h(this._api),o=this._theme,a=this._model=new s;a.scheduler=this._scheduler,a.init(null,null,o,r)}this._model.setOption(t,ot),n?(this[R]={silent:i},this[O]=!1):(H(this),G.update.call(this),this._zr.flush(),this[R]=!1,this[O]=!1,Z.call(this,i),X.call(this,i))}},B.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},B.getModel=function(){return this._model},B.getOption=function(){return this._model&&this._model.getOption()},B.getWidth=function(){return this._zr.getWidth()},B.getHeight=function(){return this._zr.getHeight()},B.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},B.getRenderedCanvas=function(t){if(r.canvasSupported)return(t=t||{}).pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor"),this._zr.painter.getRenderedCanvas(t)},B.getSvgDataURL=function(){if(r.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return n.each(e,(function(t){t.stopAnimation(!0)})),t.painter.toDataURL()}},B.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;A(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return A(i,(function(t){t.group.ignore=!1})),o}this.id},B.getConnectedDataURL=function(t){if(this._disposed)this.id;else if(r.canvasSupported){var i="svg"===t.type,o=this.group,a=Math.min,s=Math.max,l=1/0;if(ct[o]){var u=l,h=l,c=-1/0,d=-1/0,p=[],f=t&&t.pixelRatio||1;n.each(ht,(function(e,r){if(e.group===o){var l=i?e.getZr().painter.getSvgDom().innerHTML:e.getRenderedCanvas(n.clone(t)),f=e.getDom().getBoundingClientRect();u=a(f.left,u),h=a(f.top,h),c=s(f.right,c),d=s(f.bottom,d),p.push({dom:l,left:f.left,top:f.top})}}));var g=(c*=f)-(u*=f),v=(d*=f)-(h*=f),y=n.createCanvas(),x=e.init(y,{renderer:i?"svg":"canvas"});if(x.resize({width:g,height:v}),i){var _="";return A(p,(function(t){var e=t.left-u,n=t.top-h;_+=''+t.dom+""})),x.painter.getSvgRoot().innerHTML=_,t.connectedBackgroundColor&&x.painter.setBackgroundColor(t.connectedBackgroundColor),x.refreshImmediately(),x.painter.toDataURL()}return t.connectedBackgroundColor&&x.add(new m.Rect({shape:{x:0,y:0,width:g,height:v},style:{fill:t.connectedBackgroundColor}})),A(p,(function(t){var e=new m.Image({style:{x:t.left*f-u,y:t.top*f-h,image:t.dom}});x.add(e)})),x.refreshImmediately(),y.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},B.convertToPixel=n.curry(F,"convertToPixel"),B.convertFromPixel=n.curry(F,"convertFromPixel"),B.containPixel=function(t,e){if(!this._disposed){var i,r=this._model;return t=y.parseFinder(r,t),n.each(t,(function(t,r){r.indexOf("Models")>=0&&n.each(t,(function(t){var n=t.coordinateSystem;if(n&&n.containPoint)i|=!!n.containPoint(e);else if("seriesModels"===r){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(i|=o.containPoint(e,t))}}),this)}),this),!!i}this.id},B.getVisual=function(t,e){var n=this._model,i=(t=y.parseFinder(n,t,{defaultMainType:"series"})).seriesModel.getData(),r=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?i.indexOfRawIndex(t.dataIndex):null;return null!=r?i.getItemVisual(r,e):i.getVisual(e)},B.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},B.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var G={prepareAndUpdate:function(t){H(this),G.update.call(this,t)},update:function(t){var e=this._model,n=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(e){s.restoreData(e,t),s.performSeriesTasks(e),a.create(e,n),s.performDataProcessorTasks(e,t),U(this,e),a.update(e,n),q(e),s.performVisualTasks(e,t),K(this,e,n,t);var l=e.get("backgroundColor")||"transparent";if(r.canvasSupported)o.setBackgroundColor(l);else{var u=i.parse(l);l=i.stringify(u,"rgb"),0===u[3]&&(l="transparent")}J(e,n)}},updateTransform:function(t){var e=this._model,i=this,r=this._api;if(e){var o=[];e.eachComponent((function(n,a){var s=i.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,e,r,t);l&&l.update&&o.push(s)}else o.push(s)}));var a=n.createHashMap();e.eachSeries((function(n){var o=i._chartsMap[n.__viewId];if(o.updateTransform){var s=o.updateTransform(n,e,r,t);s&&s.update&&a.set(n.uid,1)}else a.set(n.uid,1)})),q(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:a}),$(i,e,0,t,a),J(e,this._api)}},updateView:function(t){var e=this._model;e&&(v.markUpdateMethod(t,"updateView"),q(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),K(this,this._model,this._api,t),J(e,this._api))},updateVisual:function(t){G.update.call(this,t)},updateLayout:function(t){G.update.call(this,t)}};function H(t){var e=t._model,n=t._scheduler;n.restorePipelines(e),n.prepareStageTasks(),j(t,"component",e,n),j(t,"chart",e,n),n.plan()}function W(t,e,i,r,o){var a=t._model;if(r){var s={};s[r+"Id"]=i[r+"Id"],s[r+"Index"]=i[r+"Index"],s[r+"Name"]=i[r+"Name"];var l={mainType:r,query:s};o&&(l.subType=o);var u=i.excludeSeriesId;null!=u&&(u=n.createHashMap(y.normalizeToArray(u))),a&&a.eachComponent(l,(function(e){u&&null!=u.get(e.id)||h(t["series"===r?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else A(t._componentsViews.concat(t._chartsViews),h);function h(n){n&&n.__alive&&n[e]&&n[e](n.__model,a,t._api,i)}}function U(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries((function(t){i.updateStreamModes(t,n[t.__viewId])}))}function Y(t,e){var i=t.type,r=t.escapeConnect,o=nt[i],a=o.actionInfo,s=(a.update||"update").split(":"),l=s.pop();s=null!=s[0]&&k(s[0]),this[O]=!0;var u=[t],h=!1;t.batch&&(h=!0,u=n.map(t.batch,(function(e){return(e=n.defaults(n.extend({},e),t)).batch=null,e})));var c,d=[],p="highlight"===i||"downplay"===i;A(u,(function(t){(c=(c=o.action(t,this._model,this._api))||n.extend({},t)).type=a.event||c.type,d.push(c),p?W(this,l,t,"series"):s&&W(this,l,t,s.main,s.sub)}),this),"none"===l||p||s||(this[R]?(H(this),G.update.call(this,t),this[R]=!1):G[l].call(this,t)),c=h?{type:a.event||i,escapeConnect:r,batch:d}:d[0],this[O]=!1,!e&&this._messageCenter.trigger(c.type,c)}function Z(t){for(var e=this._pendingActions;e.length;){var n=e.shift();Y.call(this,n,t)}}function X(t){!t&&this.trigger("updated")}function j(t,e,n,i){for(var r="component"===e,o=r?t._componentsViews:t._chartsViews,a=r?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,u=0;ue.get("hoverLayerThreshold")&&!r.node&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.group.traverse((function(t){t.useHoverLayer=!0}))}}))}(t,e),b(t._zr.dom,e)}function J(t,e){A(at,(function(n){n(t,e)}))}B.resize=function(t){if(this._disposed)this.id;else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[O]=!0,n&&H(this),G.update.call(this),this[O]=!1,Z.call(this,i),X.call(this,i)}}},B.showLoading=function(t,e){if(this._disposed)this.id;else if(L(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),ut[t]){var n=ut[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},B.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},B.makeActionFromEvent=function(t){var e=n.extend({},t);return e.type=it[t.type],e},B.dispatchAction=function(t,e){this._disposed?this.id:(L(e)||(e={silent:!!e}),nt[t.type]&&this._model&&(this[O]?this._pendingActions.push(t):(Y.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&r.browser.weChat&&this._throttledZrFlush(),Z.call(this,e.silent),X.call(this,e.silent))))},B.appendData=function(t){if(this._disposed)this.id;else{var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0}},B.on=E("on",!1),B.off=E("off",!1),B.one=E("one",!1);var Q=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function tt(t,e){var n=t.get("z"),i=t.get("zlevel");e.group.traverse((function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=i&&(t.zlevel=i))}))}function et(){this.eventInfo}B._initEvents=function(){A(Q,(function(t){var e=function(e){var i,r=this.getModel(),o=e.target;if("globalout"===t)i={};else if(o&&null!=o.dataIndex){var a=o.dataModel||r.getSeriesByIndex(o.seriesIndex);i=a&&a.getDataParams(o.dataIndex,o.dataType,o)||{}}else o&&o.eventData&&(i=n.extend({},o.eventData));if(i){var s=i.componentType,l=i.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=i.seriesIndex);var u=s&&null!=l&&r.getComponent(s,l),h=u&&this["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];i.event=e,i.type=t,this._ecEventProcessor.eventInfo={targetEl:o,packedEvent:i,model:u,view:h},this.trigger(t,i)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)}),this),A(it,(function(t,e){this._messageCenter.on(e,(function(t){this.trigger(e,t)}),this)}),this)},B.isDisposed=function(){return this._disposed},B.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},B.dispose=function(){if(this._disposed)this.id;else{this._disposed=!0,y.setAttribute(this.getDom(),ft,"");var t=this._api,e=this._model;A(this._componentsViews,(function(n){n.dispose(e,t)})),A(this._chartsViews,(function(n){n.dispose(e,t)})),this._zr.dispose(),delete ht[this.id]}},n.mixin(V,a),et.prototype={constructor:et,normalizeQuery:function(t){var e={},i={},r={};if(n.isString(t)){var o=k(t);e.mainType=o.main||null,e.subType=o.sub||null}else{var a=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};n.each(t,(function(t,n){for(var o=!1,l=0;l0&&h===n.length-u.length){var c=n.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,o=!0)}}s.hasOwnProperty(n)&&(i[n]=t,o=!0),o||(r[n]=t)}))}return{cptQuery:e,dataQuery:i,otherQuery:r}},filter:function(t,e,n){var i=this.eventInfo;if(!i)return!0;var r=i.targetEl,o=i.packedEvent,a=i.model,s=i.view;if(!a||!s)return!0;var l=e.cptQuery,u=e.dataQuery;return h(l,a,"mainType")&&h(l,a,"subType")&&h(l,a,"index","componentIndex")&&h(l,a,"name")&&h(l,a,"id")&&h(u,o,"name")&&h(u,o,"dataIndex")&&h(u,o,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,r,o));function h(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},afterTrigger:function(){this.eventInfo=null}};var nt={},it={},rt=[],ot=[],at=[],st=[],lt={},ut={},ht={},ct={},dt=new Date-0,pt=new Date-0,ft="_echarts_instance_";function gt(t){ct[t]=!1}var vt=gt;function mt(t){return ht[y.getAttribute(t,ft)]}function yt(t,e){lt[t]=e}function xt(t){ot.push(t)}function _t(t,e){St(rt,t,e,1e3)}function bt(t,e,n){"function"==typeof e&&(n=e,e="");var i=L(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,C(N.test(i)&&N.test(e)),nt[i]||(nt[i]={action:n,actionInfo:t}),it[e]=i}function wt(t,e){St(st,t,e,3e3,"visual")}function St(t,e,n,i,r){(D(e)||L(e))&&(n=e,e=i);var o=S.wrapStageHandler(n,r);return o.__prio=e,o.__raw=n,t.push(o),o}function Mt(t,e){ut[t]=e}wt(2e3,_),xt(c),_t(900,d),Mt("default",w),bt({type:"highlight",event:"highlight",update:"highlight"},n.noop),bt({type:"downplay",event:"downplay",update:"downplay"},n.noop),yt("light",M),yt("dark",I),t.version="4.9.0",t.dependencies={zrender:"4.3.2"},t.PRIORITY=P,t.init=function(t,e,n){var i=mt(t);if(i)return i;var r=new V(t,e,n);return r.id="ec_"+dt++,ht[r.id]=r,y.setAttribute(t,ft,r.id),function(t){var e="__connectUpdateStatus";function n(t,n){for(var i=0;i0?n=i[0]:i[1]<0&&(n=i[1]),n}(s,r),u=a.dim,h=s.dim,c=i.mapDimension(h),d=i.mapDimension(u),p="x"===h||"radius"===h?1:0,f=e(n.dimensions,(function(t){return i.mapDimension(t)})),g=i.getCalculationInfo("stackResultDimension");return(o|=t(i,f[0]))&&(f[0]=g),(o|=t(i,f[1]))&&(f[1]=g),{dataDimsForPoint:f,valueStart:l,valueAxisDim:h,baseAxisDim:u,stacked:!!o,valueDim:c,baseDim:d,baseDataOffset:p,stackedOverDimension:i.getCalculationInfo("stackedOverDimension")}},S$.getStackedOnPoint=function(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)},S$}function I$(){if(w$)return b$;w$=1;var t=M$(),e=t.prepareDataCoordInfo,n=t.getStackedOnPoint;return b$=function(t,i,r,o,a,s,l,u){for(var h=function(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}(t,i),c=[],d=[],p=[],f=[],g=[],v=[],m=[],y=e(a,i,l),x=e(s,t,u),_=0;_=r||v<0)break;if(h(y)){if(f){v+=o;continue}break}if(v===n)t[o>0?"moveTo":"lineTo"](y[0],y[1]);else if(d>0){var x=e[g],_="y"===p?1:0,b=(y[_]-x[_])*d;a(l,x),l[_]=x[_]+b,a(u,y),u[_]=y[_]-b,t.bezierCurveTo(l[0],l[1],u[0],u[1],y[0],y[1])}else t.lineTo(y[0],y[1]);g=v,v+=o}return m}function p(t,n,c,d,p,f,g,v,m,y,x){for(var _=0,b=c,w=0;w=p||b<0)break;if(h(S)){if(x){b+=f;continue}break}if(b===c)t[f>0?"moveTo":"lineTo"](S[0],S[1]),a(l,S);else if(m>0){var M=b+f,I=n[M];if(x)for(;I&&h(n[M]);)I=n[M+=f];var T=.5,C=n[_];if(!(I=n[M])||h(I))a(u,S);else{var A,D;if(h(I)&&!x&&(I=S),e.sub(s,I,C),"x"===y||"y"===y){var L="x"===y?0:1;A=Math.abs(S[L]-C[L]),D=Math.abs(S[L]-I[L])}else A=e.dist(S,C),D=e.dist(S,I);o(u,S,s,-m*(1-(T=D/(D+A))))}i(l,l,v),r(l,l,g),i(u,u,v),r(u,u,g),t.bezierCurveTo(l[0],l[1],u[0],u[1],S[0],S[1]),o(l,S,s,m*T)}else t.lineTo(S[0],S[1]);_=b,b+=f}return w}function f(t,e){var n=[1/0,1/0],i=[-1/0,-1/0];if(e)for(var r=0;ri[0]&&(i[0]=o[0]),o[1]>i[1]&&(i[1]=o[1])}return{min:e?n:i,max:e?i:n}}var g=t.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:n(t.prototype.brush),buildPath:function(t,e){var n=e.points,i=0,r=n.length,o=f(n,e.smoothConstraint);if(e.connectNulls){for(;r>0&&h(n[r-1]);r--);for(;i0&&h(n[o-1]);o--);for(;re&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n1&&("string"==typeof a?l=t[a]:"function"==typeof a&&(l=a),l&&n.setData(o.downSample(o.mapDimension(h.dim),1/p,l,e)))}}}},E$}var W$,U$,Y$,Z$,X$,j$,q$,K$,$$,J$,Q$,tJ,eJ,nJ,iJ,rJ,oJ={};function aJ(){if(Z$)return Y$;Z$=1;var t=bW(),e=kU(),n=function(){if(U$)return W$;U$=1;var t=bW();function e(t){return this._axes[t]}var n=function(t){this._axes={},this._dimList=[],this.name=t||""};return n.prototype={constructor:n,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return t.map(this._dimList,e,this)},getAxesByScale:function(e){return e=e.toLowerCase(),t.filter(this.getAxes(),(function(t){return t.scale.type===e}))},addAxis:function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},dataToCoord:function(t){return this._dataCoordConvert(t,"dataToCoord")},coordToData:function(t){return this._dataCoordConvert(t,"coordToData")},_dataCoordConvert:function(t,e){for(var n=this._dimList,i=t instanceof Array?[]:{},r=0;re[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},t.inherits(n,e),X$=n}(),p=Oj(),f=uK().getStackedDimension;function g(t,e,n){return t.getCoordSysModel()===e}function v(t,e,n){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,n),this.model=t}!function(){if(nJ)return eJ;nJ=1,uJ();var t=oj().extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});eJ=t}();var m=v.prototype;function y(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],a=n.model,s=a.get("axisLine.onZero"),l=a.get("axisLine.onZeroAxisIndex");if(s){if(null!=l)x(o[l])&&(r=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&x(o[u])&&!i[h(o[u])]){r=o[u];break}r&&(i[h(r)]=!0)}function h(t){return t.dim+"_"+t.index}}function x(t){return t&&"category"!==t.type&&"time"!==t.type&&l(t)}m.type="grid",m.axisPointerEnabled=!0,m.getRect=function(){return this._rect},m.update=function(t,e){var i=this._axesMap;this._updateScale(t,this.model),n(i.x,(function(t){u(t.scale,t.model)})),n(i.y,(function(t){u(t.scale,t.model)}));var r={};n(i.x,(function(t){y(i,"y",t,r)})),n(i.y,(function(t){y(i,"x",t,r)})),this.resize(this.model,e)},m.resize=function(t,e,i){var r=o(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()});this._rect=r;var a=this._axesList;function s(){n(a,(function(t){var e=t.isHorizontal(),n=e?[0,r.width]:[0,r.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e?r.x:r.y)}))}s(),!i&&t.get("containLabel")&&(n(a,(function(t){if(!t.model.get("axisLabel.inside")){var e=h(t);if(e){var n=t.isHorizontal()?"height":"width",i=t.model.get("axisLabel.margin");r[n]-=e[n]+i,"top"===t.position?r.y+=e.height+i:"left"===t.position&&(r.x+=e.width+i)}}})),s())},m.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n){if(null==e)for(var i in n)if(n.hasOwnProperty(i))return n[i];return n[e]}},m.getAxes=function(){return this._axesList.slice()},m.getCartesian=function(t,n){if(null!=t&&null!=n){var i="x"+t+"y"+n;return this._coordsMap[i]}e(t)&&(n=t.yAxisIndex,t=t.xAxisIndex);for(var r=0,o=this._coordsList;rv[1]?-1:1,b=["start"===c?v[0]-m*f:"end"===c?v[1]+m*f:(v[0]+v[1])/2,S(c)?t.labelOffset+d*f:0],w=n.get("nameRotate");null!=w&&(w=w*g/180),S(c)?s=x(t.rotation,null!=w?w:t.rotation,d):(s=function(t,e,n,i){var r,o,a=h(n-t.rotation),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;return u(a-g/2)?(o=l?"bottom":"top",r="center"):u(a-1.5*g)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*g&&a>g/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:r,textVerticalAlign:o}}(t,c,w||0,v),null!=(l=t.axisNameAvailableWidth)&&(l=Math.abs(l/Math.sin(s.rotation)),!isFinite(l)&&(l=null)));var M=p.getFont(),I=n.get("nameTruncate",!0)||{},T=I.ellipsis,C=e(t.nameTruncateMaxWidth,I.maxWidth,l),A=null!=T&&null!=C?o.truncateText(r,C,M,T,{minChar:2,placeholder:I.placeholder}):r,D=n.get("tooltip",!0),L=n.mainType,k={componentType:L,name:r,$vars:["name"]};k[L+"Index"]=n.componentIndex;var P=new a.Text({anid:"name",__fullText:r,__truncatedText:A,position:b,rotation:s.rotation,silent:_(n),z2:1,tooltip:D&&D.show?i({content:r,formatter:function(){return r},formatterParams:k},D):null});a.setTextStyle(P.style,p,{text:A,textFont:M,textFill:p.getTextColor()||n.get("axisLine.lineStyle.color"),textAlign:p.get("align")||s.textAlign,textVerticalAlign:p.get("verticalAlign")||s.textVerticalAlign}),n.get("triggerEvent")&&(P.eventData=y(n),P.eventData.targetType="axisName",P.eventData.name=r),this._dumbGroup.add(P),P.updateTransform(),this.group.add(P),P.decomposeTransform()}}},y=v.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},x=v.innerTextLayout=function(t,e,n){var i,r,o=h(e-t);return u(o)?(r=n>0?"top":"bottom",i="center"):u(o-g)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},_=v.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)};function b(t){t&&(t.ignore=!0)}function w(t,e,n){var i=t&&t.getBoundingRect().clone(),r=e&&e.getBoundingRect().clone();if(i&&r){var o=d.identity([]);return d.rotate(o,o,-t.rotation),i.applyTransform(d.mul([],o,t.getLocalTransform())),r.applyTransform(d.mul([],o,e.getLocalTransform())),i.intersect(r)}}function S(t){return"middle"===t||"center"===t}function M(t,e,n,i,r){for(var o=[],s=[],l=[],u=0;u=0||e===n}function o(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[s(t)]}function a(t){return!!t.get("handle.show")}function s(t){return t.type+"||"+t.id}return xJ.collect=function(o,l){var u={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(o,l,u){var h=l.getComponent("tooltip"),c=l.getComponent("axisPointer"),d=c.get("link",!0)||[],p=[];n(u.getCoordinateSystems(),(function(u){if(u.axisPointerEnabled){var f=s(u.model),g=o.coordSysAxesInfo[f]={};o.coordSysMap[f]=u;var v=u.model.getModel("tooltip",h);if(n(u.getAxes(),i(_,!1,null)),u.getTooltipAxes&&h&&v.get("show")){var m="axis"===v.get("trigger"),y="cross"===v.get("axisPointer.type"),x=u.getTooltipAxes(v.get("axisPointer.axis"));(m||y)&&n(x.baseAxes,i(_,!y||"cross",m)),y&&n(x.otherAxes,i(_,"cross",!1))}}function _(i,h,f){var m=f.model.getModel("axisPointer",c),y=m.get("show");if(y&&("auto"!==y||i||a(m))){null==h&&(h=m.get("triggerTooltip")),m=i?function(i,r,o,a,s,l){var u=r.getModel("axisPointer"),h={};n(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(e){h[e]=t.clone(u.get(e))})),h.snap="category"!==i.type&&!!l,"cross"===u.get("type")&&(h.type="line");var c=h.label||(h.label={});if(null==c.show&&(c.show=!1),"cross"===s){var d=u.get("label.show");if(c.show=null==d||d,!l){var p=h.lineStyle=u.get("crossStyle");p&&t.defaults(c,p.textStyle)}}return i.model.getModel("axisPointer",new e(h,o,a))}(f,v,c,l,i,h):m;var x=m.get("snap"),_=s(f.model),b=h||x||"category"===f.type,w=o.axesInfo[_]={key:_,axis:f,coordSys:u,axisPointerModel:m,triggerTooltip:h,involveSeries:b,snap:x,useHandle:a(m),seriesModels:[]};g[_]=w,o.seriesInvolved|=b;var S=function(t,e){for(var n=e.model,i=e.dim,o=0;oh[1]&&h.reverse(),(null==l||l>h[1])&&(l=h[1]),l=0},this.indexOfName=function(e){return t().indexOfName(e)},this.getItemVisual=function(e,n){return t().getItemVisual(e,n)}};return eQ=t}function wQ(){if(lQ)return sQ;lQ=1;var t=s$(),e=bW();return sQ=function(n,i){e.each(i,(function(e){e.update="updateView",t.registerAction(e,(function(t,i){var r={};return i.eachComponent({mainType:"series",subType:n,query:t},(function(n){n[e.method]&&n[e.method](t.name,t.dataIndex);var i=n.getData();i.each((function(t){var e=i.getName(t);r[e]=n.isSelected(e)||!1}))})),{name:t.name,selected:r,seriesId:t.seriesId}}))}))},sQ}function SQ(){if(hQ)return uQ;hQ=1;var t=bW().createHashMap;return uQ=function(e){return{getTargetSeries:function(n){var i={},r=t();return n.eachSeriesByType(e,(function(t){t.__paletteScope=i,r.set(t.uid,t)})),r},reset:function(t,e){var n=t.getRawData(),i={},r=t.getData();r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(e){var o,a=i[e],s=null!=a&&r.getItemVisual(a,"color",!0),l=null!=a&&r.getItemVisual(a,"borderColor",!0);if(s&&l||(o=n.getItemModel(e)),!s){var u=o.get("itemStyle.color")||t.getColorFromPalette(n.getName(e)||e+"",t.__paletteScope,n.count());null!=a&&r.setItemVisual(a,"color",u)}if(!l){var h=o.get("itemStyle.borderColor");null!=a&&r.setItemVisual(a,"borderColor",h)}}))}}},uQ}function MQ(){if(dQ)return cQ;dQ=1;var t=eY(),e=YX().parsePercent,n=Math.PI/180;function i(t,e,n,i,r,o,a,s,l,u){function h(e,n,i,r){for(var o=e;ol+a);o++)if(t[o].y+=i,o>e&&o+1t[o].y+t[o].height)return void c(o,i/2);c(n-1,i/2)}function c(e,n){for(var i=e;i>=0&&!(t[i].y-n0&&t[i].y>t[i-1].y+t[i-1].height));i--);}function d(t,e,n,i,r,o){for(var a=e?Number.MAX_VALUE:0,s=0,l=t.length;s=a&&(d=a-10),!e&&d<=a&&(d=a+10),t[s].x=n+d*o,a=d}}t.sort((function(t,e){return t.y-e.y}));for(var p,f=0,g=t.length,v=[],m=[],y=0;y=n?m.push(t[y]):v.push(t[y]);d(v,!1,e,n,i,r),d(m,!0,e,n,i,r)}function r(t){return"center"===t.position}return cQ=function(o,a,s,l,u,h){var c,d,p=o.getData(),f=[],g=!1,v=(o.get("minShowLabelAngle")||0)*n;p.each((function(n){var i=p.getItemLayout(n),r=p.getItemModel(n),l=r.getModel("label"),h=l.get("position")||r.get("emphasis.label.position"),m=l.get("distanceToLabelLine"),y=l.get("alignTo"),x=e(l.get("margin"),s),_=l.get("bleedMargin"),b=l.getFont(),w=r.getModel("labelLine"),S=w.get("length");S=e(S,s);var M=w.get("length2");if(M=e(M,s),!(i.angle0?"right":"left":L>0?"left":"right"}var G=l.get("rotate");P="number"==typeof G?G*(Math.PI/180):G?L<0?-D+Math.PI:-D:0,g=!!P,i.label={x:I,y:T,position:h,height:R.height,len:S,len2:M,linePoints:C,textAlign:A,verticalAlign:"middle",rotation:P,inside:N,labelDistance:m,labelAlignTo:y,labelMargin:x,bleedMargin:_,textRect:R,text:O,font:b},N||f.push(i.label)}})),!g&&o.get("avoidLabelOverlap")&&function(e,n,o,a,s,l,u,h){for(var c=[],d=[],p=Number.MAX_VALUE,f=-Number.MAX_VALUE,g=0;g3?1.4:r>1?1.2:1.1;h(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a})}if(n){var l=Math.abs(i);h(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a})}}}function u(t){i.isTaken(this._zr,"globalPan")||h(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY})}function h(t,e,i,r,o){t.pointerChecker&&t.pointerChecker(r,o.originX,o.originY)&&(n.stop(r.event),c(t,e,i,r,o))}function c(e,n,i,r,o){o.isAvailableBehavior=t.bind(d,null,i,r),e.trigger(n,o)}function d(e,n,i){var r=i[e];return!e||r&&(!t.isString(r)||n.event[r+"Key"])}return t.mixin(r,e),w0=r}var C0,A0={};function D0(){return C0||(C0=1,A0.updateViewOnPan=function(t,e,n){var i=t.target,r=i.position;r[0]+=e,r[1]+=n,i.dirty()},A0.updateViewOnZoom=function(t,e,n,i){var r=t.target,o=t.zoomLimit,a=r.position,s=r.scale,l=t.zoom=t.zoom||1;if(l*=e,o){var u=o.min||0,h=o.max||1/0;l=Math.max(Math.min(h,l),u)}var c=l/t.zoom;t.zoom=l,a[0]-=(n-a[0])*(c-1),a[1]-=(i-a[1])*(c-1),s[0]*=c,s[1]*=c,r.dirty()}),A0}var L0,k0,P0,O0,R0,N0={};function E0(){if(L0)return N0;L0=1;var t={axisPointer:1,tooltip:1,brush:1};return N0.onIrrelevantElement=function(e,n,i){var r=n.getComponentByElement(e.topTarget),o=r&&r.coordinateSystem;return r&&r!==i&&!t[r.mainType]&&o&&o.model!==i},N0}function z0(){if(P0)return k0;P0=1;var t=bW(),e=T0(),n=D0(),i=E0().onIrrelevantElement,r=zX(),o=_0(),a=GX().getUID,s=JW();function l(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(e.fill=n),e}function u(e,n){n.eachChild((function(n){t.each(n.__regions,(function(t){n.trigger(e.isSelected(t.name)?"emphasis":"normal")}))}))}function h(t,n){var i=new r.Group;this.uid=a("ec_map_draw"),this._controller=new e(t.getZr()),this._controllerHost={target:n?i:null},this.group=i,this._updateGroup=n,this._mouseDownFlag,this._mapName,this._initialized,i.add(this._regionsGroup=new r.Group),i.add(this._backgroundGroup=new r.Group)}return h.prototype={constructor:h,draw:function(e,n,i,o,a){var h="geo"===e.mainType,c=e.getData&&e.getData();h&&n.eachComponent({mainType:"series",subType:"map"},(function(t){c||t.getHostGeoModel()!==e||(c=t.getData())}));var d=e.coordinateSystem;this._updateBackground(d);var p,f=this._regionsGroup,g=this.group,v=d.getTransformInfo(),m=!f.childAt(0)||a;if(m)g.transform=v.roamTransform,g.decomposeTransform(),g.dirty();else{var y=new s;y.transform=v.roamTransform,y.decomposeTransform();var x={scale:y.scale,position:y.position};p=y.scale,r.updateProps(g,x,e)}var _=v.rawScale,b=v.rawPosition;f.removeAll();var w=["itemStyle"],S=["emphasis","itemStyle"],M=["label"],I=["emphasis","label"],T=t.createHashMap();t.each(d.regions,(function(n){var i=T.get(n.name)||T.set(n.name,new r.Group),o=new r.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});i.add(o);var a,s=(z=e.getRegionModel(n.name)||e).getModel(w),u=z.getModel(S),d=l(s),v=l(u),y=z.getModel(M),x=z.getModel(I);if(c){a=c.indexOfName(n.name);var C=c.getItemVisual(a,"color",!0);C&&(d.fill=C)}var A=function(t){return[t[0]*_[0]+b[0],t[1]*_[1]+b[1]]};t.each(n.geometries,(function(t){if("polygon"===t.type){for(var e=[],n=0;n=0)&&(O=e);var N=new r.Text({position:A(n.center.slice()),scale:[1/g.scale[0],1/g.scale[1]],z2:10,silent:!0});if(r.setLabelStyle(N.style,N.hoverStyle={},y,x,{labelFetcher:O,labelDataIndex:R,defaultText:n.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!m){var E=[1/p[0],1/p[1]];r.updateProps(N,{scale:E},e)}i.add(N)}if(c)c.setItemGraphicEl(a,i);else{var z=e.getRegionModel(n.name);o.eventData={componentType:"geo",componentIndex:e.componentIndex,geoIndex:e.componentIndex,name:n.name,region:z&&z.option||{}}}(i.__regions||(i.__regions=[])).push(n),i.highDownSilentOnTouch=!!e.get("selectedMode"),r.setHoverStyle(i,v),f.add(i)})),this._updateController(e,n,i),function(e,n,i,r,o){i.off("click"),i.off("mousedown"),n.get("selectedMode")&&(i.on("mousedown",(function(){e._mouseDownFlag=!0})),i.on("click",(function(a){if(e._mouseDownFlag){e._mouseDownFlag=!1;for(var s=a.target;!s.__regions;)s=s.parent;if(s){var l={type:("geo"===n.mainType?"geo":"map")+"ToggleSelect",batch:t.map(s.__regions,(function(t){return{name:t.name,from:o.uid}}))};l[n.mainType+"Id"]=n.id,r.dispatchAction(l),u(n,i)}}})))}(this,e,f,i,o),u(e,f)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&o.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(e){var n=e.map;this._mapName!==n&&t.each(o.makeGraphic(n,this.uid),(function(t){this._backgroundGroup.add(t)}),this),this._mapName=n},_updateController:function(e,r,o){var a=e.coordinateSystem,s=this._controller,l=this._controllerHost;l.zoomLimit=e.get("scaleLimit"),l.zoom=a.getZoom(),s.enable(e.get("roam")||!1);var u=e.mainType;function h(){var t={type:"geoRoam",componentType:u};return t[u+"Id"]=e.id,t}s.off("pan").on("pan",(function(e){this._mouseDownFlag=!1,n.updateViewOnPan(l,e.dx,e.dy),o.dispatchAction(t.extend(h(),{dx:e.dx,dy:e.dy}))}),this),s.off("zoom").on("zoom",(function(e){if(this._mouseDownFlag=!1,n.updateViewOnZoom(l,e.scale,e.originX,e.originY),o.dispatchAction(t.extend(h(),{zoom:e.scale,originX:e.originX,originY:e.originY})),this._updateGroup){var i=this.group.scale;this._regionsGroup.traverse((function(t){"text"===t.type&&t.attr("scale",[1/i[0],1/i[1]])}))}}),this),s.setPointerChecker((function(t,n,r){return a.getViewRectAfterRoam().contain(n,r)&&!i(t,o,e)}))}},k0=h}var V0,B0,F0,G0,H0,W0,U0,Y0,Z0,X0,j0,q0,K0,$0,J0,Q0,t1,e1={},n1={};function i1(){return V0||(V0=1,n1.updateCenterAndZoom=function(t,e,n){var i=t.getZoom(),r=t.getCenter(),o=e.zoom,a=t.dataToPoint(r);if(null!=e.dx&&null!=e.dy&&(a[0]-=e.dx,a[1]-=e.dy,r=t.pointToData(a),t.setCenter(r)),null!=o){if(n){var s=n.min||0,l=n.max||1/0;o=Math.max(Math.min(i*o,l),s)/i}t.scale[0]*=o,t.scale[1]*=o;var u=t.position,h=(e.originX-u[0])*(o-1),c=(e.originY-u[1])*(o-1);u[0]-=h,u[1]-=c,t.updateTransform(),r=t.pointToData(a),t.setCenter(r),t.setZoom(o*i)}return{center:t.getCenter(),zoom:t.getZoom()}}),n1}function r1(){if(B0)return e1;B0=1;var t=s$(),e=bW(),n=i1().updateCenterAndZoom;return t.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(t,i){var r=t.componentType||"series";i.eachComponent({mainType:r,query:t},(function(i){var o=i.coordinateSystem;if("geo"===o.type){var a=n(o,t,i.get("scaleLimit"));i.setCenter&&i.setCenter(a.center),i.setZoom&&i.setZoom(a.zoom),"series"===r&&e.each(i.seriesGroup,(function(t){t.setCenter(a.center),t.setZoom(a.zoom)}))}}))})),e1}function o1(){if(G0)return F0;G0=1;var t=bW(),e=AW(),n=$W(),i=kU(),r=JW(),o=e.applyTransform;function a(){r.call(this)}function s(t){this.name=t,this.zoomLimit,r.call(this),this._roamTransformable=new a,this._rawTransformable=new a,this._center,this._zoom}function l(t,e,n,i){var r=n.seriesModel,o=r?r.coordinateSystem:null;return o===this?o[t](i):null}return t.mixin(a,r),s.prototype={constructor:s,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,n,r){return this._rect=new i(t,e,n,r),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(t,e,n,r){this.transformTo(t,e,n,r),this._viewRect=new i(t,e,n,r)},transformTo:function(t,e,n,r){var o=this.getBoundingRect(),a=this._rawTransformable;a.transform=o.calculateTransform(new i(t,e,n,r)),a.decomposeTransform(),this._updateTransform()},setCenter:function(t){t&&(this._center=t,this._updateCenterAndZoom())},setZoom:function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},getDefaultCenter:function(){var t=this.getBoundingRect();return[t.x+t.width/2,t.y+t.height/2]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var t=this._rawTransformable.getLocalTransform(),n=this._roamTransformable,i=this.getDefaultCenter(),r=this.getCenter(),o=this.getZoom();r=e.applyTransform([],r,t),i=e.applyTransform([],i,t),n.origin=r,n.position=[i[0]-r[0],i[1]-r[1]],n.scale=[o,o],this._updateTransform()},_updateTransform:function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),n.copy(this.transform||(this.transform=[]),e.transform||n.create()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],n.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var e=this._roamTransformable.transform,i=this._rawTransformable;return{roamTransform:e?t.slice(e):n.create(),rawScale:t.slice(i.scale),rawPosition:t.slice(i.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},dataToPoint:function(t,n,i){var r=n?this._rawTransform:this.transform;return i=i||[],r?o(i,t,r):e.copy(i,t)},pointToData:function(t){var e=this.invTransform;return e?o([],t,e):[t[0],t[1]]},convertToPixel:t.curry(l,"dataToPoint"),convertFromPixel:t.curry(l,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},t.mixin(s,r),F0=s}function a1(){if(Y0)return U0;Y0=1,cW().__DEV__;var t=s$(),e=bW(),n=function(){if(W0)return H0;W0=1;var t=bW(),e=kU(),n=o1(),i=_0();function r(t,e,r,o){n.call(this,t),this.map=e;var a=i.load(e,r);this._nameCoordMap=a.nameCoordMap,this._regionsMap=a.regionsMap,this._invertLongitute=null==o||o,this.regions=a.regions,this._rect=a.boundingRect}function o(t,e,n,i){var r=n.geoModel,o=n.seriesModel,a=r?r.coordinateSystem:o?o.coordinateSystem||(o.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return a===this?a[t](i):null}return r.prototype={constructor:r,type:"geo",dimensions:["lng","lat"],containCoord:function(t){for(var e=this.regions,n=0;n1?(g.width=h,g.height=h/p):(g.height=h,g.width=h*p),g.y=u[1]-g.height/2,g.x=u[0]-g.width/2}else(s=t.getBoxLayoutParams()).aspect=p,g=i.getLayoutRect(s,{width:c,height:d});this.setViewRect(g.x,g.y,g.width,g.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function l(t,n){e.each(n.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}var u={dimensions:n.prototype.dimensions,create:function(t,i){var r=[];t.eachComponent("geo",(function(t,e){var o=t.get("map"),u=t.get("aspectScale"),h=!0,c=a.retrieveMap(o);c&&c[0]&&"svg"===c[0].type?(null==u&&(u=1),h=!1):null==u&&(u=.75);var d=new n(o+e,o,t.get("nameMap"),h);d.aspectScale=u,d.zoomLimit=t.get("scaleLimit"),r.push(d),l(d,t),t.coordinateSystem=d,d.model=t,d.resize=s,d.resize(t,i)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=r[e]}}));var o={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();o[e]=o[e]||[],o[e].push(t)}})),e.each(o,(function(t,o){var a=e.map(t,(function(t){return t.get("nameMap")})),u=new n(o,o,e.mergeAll(a));u.zoomLimit=e.retrieve.apply(null,e.map(t,(function(t){return t.get("scaleLimit")}))),r.push(u),u.resize=s,u.aspectScale=t[0].get("aspectScale"),u.resize(t[0],i),e.each(t,(function(t){t.coordinateSystem=u,l(u,t)}))})),r},getFilledRegions:function(t,n,i){for(var r=(t||[]).slice(),a=e.createHashMap(),s=0;se&&(e=i.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},setVisual:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}},o.prototype={constructor:o,type:"tree",eachNode:function(t,e,n){this.root.eachNode(t,e,n)},getNodeByDataIndex:function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,e=this._nodes,n=0,i=e.length;n=0;r--){var o=n[r];o.hierNode={defaultAncestor:null,ancestor:o,prelim:0,modifier:0,change:0,shift:0,i:r,thread:null},i.push(o)}},S1.firstWalk=function(t,o){var a=t.isExpand?t.children:[],s=t.parentNode.children,l=t.hierNode.i?s[t.hierNode.i-1]:null;if(a.length){!function(t){for(var e=t.children,n=e.length,i=0,r=0;--n>=0;){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}(t);var u=(a[0].hierNode.prelim+a[a.length-1].hierNode.prelim)/2;l?(t.hierNode.prelim=l.hierNode.prelim+o(t,l),t.hierNode.modifier=t.hierNode.prelim-u):t.hierNode.prelim=u}else l&&(t.hierNode.prelim=l.hierNode.prelim+o(t,l));t.parentNode.hierNode.defaultAncestor=function(t,o,a,s){if(o){for(var l=t,u=t,h=u.parentNode.children[0],c=o,d=l.hierNode.modifier,p=u.hierNode.modifier,f=h.hierNode.modifier,g=c.hierNode.modifier;c=e(c),u=n(u),c&&u;){l=e(l),h=n(h),l.hierNode.ancestor=t;var v=c.hierNode.prelim+g-u.hierNode.prelim-p+s(c,u);v>0&&(r(i(c,t,a),t,v),p+=v,d+=v),g+=c.hierNode.modifier,p+=u.hierNode.modifier,d+=l.hierNode.modifier,f+=h.hierNode.modifier}c&&!e(l)&&(l.hierNode.thread=c,l.hierNode.modifier+=g-d),u&&!n(h)&&(h.hierNode.thread=u,h.hierNode.modifier+=p-f,a=t)}return a}(t,l,t.parentNode.hierNode.defaultAncestor||s[0],o)},S1.secondWalk=function(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier},S1.separation=function(t){return arguments.length?t:o},S1.radialCoordinate=function(t,e){var n={};return t-=Math.PI/2,n.x=e*Math.cos(t),n.y=e*Math.sin(t),n},S1.getViewRect=function(e,n){return t.getLayoutRect(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},S1}var I1,T1,C1,A1,D1,L1={},k1={};function P1(){if(A1)return C1;A1=1;var t=(T1||(T1=1,k1.eachAfter=function(t,e,n){for(var i,r=[t],o=[];i=r.pop();)if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;s=0;o--)i.push(r[o])}}),k1),e=t.eachAfter,n=t.eachBefore,i=M1(),r=i.init,o=i.firstWalk,a=i.secondWalk,s=i.separation,l=i.radialCoordinate,u=i.getViewRect;return C1=function(t,i){t.eachSeriesByType("tree",(function(t){!function(t,i){var h=u(t,i);t.layoutInfo=h;var c=t.get("layout"),d=0,p=0,f=null;"radial"===c?(d=2*Math.PI,p=Math.min(h.height,h.width)/2,f=s((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(d=h.width,p=h.height,f=s());var g=t.getData().tree.root,v=g.children[0];if(v){r(g),e(v,o,f),g.hierNode.modifier=-v.hierNode.prelim,n(v,a);var m=v,y=v,x=v;n(v,(function(t){var e=t.getLayout().x;ey.getLayout().x&&(y=t),t.depth>x.depth&&(x=t)}));var _=m===y?1:f(m,y)/2,b=_-m.getLayout().x,w=0,S=0,M=0,I=0;if("radial"===c)w=d/(y.getLayout().x+_+b),S=p/(x.depth-1||1),n(v,(function(t){M=(t.getLayout().x+b)*w,I=(t.depth-1)*S;var e=l(M,I);t.setLayout({x:e.x,y:e.y,rawX:M,rawY:I},!0)}));else{var T=t.getOrient();"RL"===T||"LR"===T?(S=p/(y.getLayout().x+_+b),w=d/(x.depth-1||1),n(v,(function(t){I=(t.getLayout().x+b)*S,M="LR"===T?(t.depth-1)*w:d-(t.depth-1)*w,t.setLayout({x:M,y:I},!0)}))):"TB"!==T&&"BT"!==T||(w=d/(y.getLayout().x+_+b),S=p/(x.depth-1||1),n(v,(function(t){M=(t.getLayout().x+b)*w,I="TB"===T?(t.depth-1)*S:p-(t.depth-1)*S,t.setLayout({x:M,y:I},!0)})))}}}(t,i)}))},C1}var O1,R1,N1,E1,z1,V1={},B1={};function F1(){if(O1)return B1;O1=1;var t=bW();function e(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}return B1.retrieveTargetInfo=function(e,n,i){if(e&&t.indexOf(n,e.type)>=0){var r=i.getData().tree.root,o=e.targetNode;if("string"==typeof o&&(o=r.getNodeById(o)),o&&r.contains(o))return{node:o};var a=e.targetNodeId;if(null!=a&&(o=r.getNodeById(a)))return{node:o}}},B1.getPathToRoot=e,B1.aboveViewRoot=function(n,i){var r=e(n);return t.indexOf(r,i)>=0},B1.wrapTreePathInfo=function(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n},B1}var G1,H1,W1,U1,Y1,Z1,X1,j1,q1,K1,$1,J1={},Q1={};function t2(){if(Z1)return Y1;Z1=1;var t=bW(),e=sU(),n=YX().linearMap,i=t.each,r=t.isObject,o=-1,a=function(e){var n=e.mappingMethod,r=e.type,a=this.option=t.clone(e);this.type=r,this.mappingMethod=n,this._normalizeData=m[n];var u=s[r];this.applyVisual=u.applyVisual,this.getColorMapper=u.getColorMapper,this._doMap=u._doMap[n],"piecewise"===n?(l(a),function(e){var n=e.pieceList;e.hasSpecialVisual=!1,t.each(n,(function(t,n){t.originIndex=n,null!=t.visual&&(e.hasSpecialVisual=!0)}))}(a)):"category"===n?a.categories?function(e){var n=e.categories,r=e.visual,a=e.categoryMap={};if(i(n,(function(t,e){a[t]=e})),!t.isArray(r)){var s=[];t.isObject(r)?i(r,(function(t,e){var n=a[e];s[null!=n?n:o]=t})):s[-1]=r,r=v(e,s)}for(var l=n.length-1;l>=0;l--)null==r[l]&&(delete a[n[l]],n.pop())}(a):l(a,!0):(t.assert("linear"!==n||a.dataExtent),l(a))};a.prototype={constructor:a,mapValueToVisual:function(t){var e=this._normalizeData(t);return this._doMap(e,t)},getNormalizer:function(){return t.bind(this._normalizeData,this)}};var s=a.visualHandlers={color:{applyVisual:c("color"),getColorMapper:function(){var n=this.option;return t.bind("category"===n.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),d.call(this,t)}:function(t,i,r){var o=!!r;return!i&&(t=this._normalizeData(t)),r=e.fastLerp(t,n.parsedVisual,r),o?r:e.stringify(r,"rgba")},this)},_doMap:{linear:function(t){return e.stringify(e.fastLerp(t,this.option.parsedVisual),"rgba")},category:d,piecewise:function(t,n){var i=g.call(this,n);return null==i&&(i=e.stringify(e.fastLerp(t,this.option.parsedVisual),"rgba")),i},fixed:p}},colorHue:u((function(t,n){return e.modifyHSL(t,n)})),colorSaturation:u((function(t,n){return e.modifyHSL(t,null,n)})),colorLightness:u((function(t,n){return e.modifyHSL(t,null,null,n)})),colorAlpha:u((function(t,n){return e.modifyAlpha(t,n)})),opacity:{applyVisual:c("opacity"),_doMap:f([0,1])},liftZ:{applyVisual:c("liftZ"),_doMap:{linear:p,category:p,piecewise:p,fixed:p}},symbol:{applyVisual:function(e,n,i){var o=this.mapValueToVisual(e);if(t.isString(o))i("symbol",o);else if(r(o))for(var a in o)o.hasOwnProperty(a)&&i(a,o[a])},_doMap:{linear:h,category:d,piecewise:function(t,e){var n=g.call(this,e);return null==n&&(n=h.call(this,t)),n},fixed:p}},symbolSize:{applyVisual:c("symbolSize"),_doMap:f([0,1])}};function l(e,n){var r=e.visual,o=[];t.isObject(r)?i(r,(function(t){o.push(t)})):null!=r&&o.push(r),n||1!==o.length||{color:1,symbol:1}.hasOwnProperty(e.type)||(o[1]=o[0]),v(e,o)}function u(t){return{applyVisual:function(e,n,i){e=this.mapValueToVisual(e),i("color",t(n("color"),e))},_doMap:f([0,1])}}function h(t){var e=this.option.visual;return e[Math.round(n(t,[0,1],[0,e.length-1],!0))]||{}}function c(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}function d(t){var e=this.option.visual;return e[this.option.loop&&t!==o?t%e.length:t]}function p(){return this.option.visual[0]}function f(t){return{linear:function(e){return n(e,t,this.option.visual,!0)},category:d,piecewise:function(e,i){var r=g.call(this,i);return null==r&&(r=n(e,t,this.option.visual,!0)),r},fixed:p}}function g(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var i=n[a.findPieceIndex(t,n)];if(i&&i.visual)return i.visual[this.type]}}function v(n,i){return n.visual=i,"color"===n.type&&(n.parsedVisual=t.map(i,(function(t){return e.parse(t)}))),i}var m={linear:function(t){return n(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,i=a.findPieceIndex(t,e,!0);if(null!=i)return n(i,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?o:e},fixed:t.noop};function y(t,e,n){return t?e<=n:ec[1]&&(c[1]=h);var d=n.get("colorMappingBy"),p={type:l.name,dataExtent:c,visual:l.range};"color"!==p.type||"index"!==d&&"id"!==d?p.mappingMethod="linear":(p.mappingMethod="category",p.loop=!0);var f=new t(p);return f.__drColorMappingBy=d,f}}}(0,h,c,0,f,m);n.each(m,(function(t,e){if(t.depth>=l.length||t===l[t.depth]){var i=function(t,e,i,r,o,a){var s=n.extend({},e);if(o){var l=o.type,u="color"===l&&o.__drColorMappingBy,h="index"===u?r:"id"===u?a.mapIdToIndex(i.getId()):i.getValue(t.get("visualDimension"));s[l]=o.mapValueToVisual(h)}return s}(h,f,t,e,y,u);r(t,i,l,u)}}))}else d=o(f),i.setVisual("color",d)}}function o(t){var n=a(t,"color");if(n){var i=a(t,"colorAlpha"),r=a(t,"colorSaturation");return r&&(n=e.modifyHSL(n,null,null,r)),i&&(n=e.modifyAlpha(n,i)),n}}function a(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function s(t,e){var n=t.get(e);return i(n)&&n.length?{name:e,range:n}:null}return X1={seriesType:"treemap",reset:function(t,e,n,i){var o=t.getData().tree.root;o.isRemoved()||r(o,{},t.getViewRoot().getAncestors(),t)}}}function n2(){if(K1)return q1;K1=1;var t=bW(),e=kU(),n=YX(),i=n.parsePercent,r=n.MAX_SAFE_INTEGER,o=rj(),a=F1(),s=Math.max,l=Math.min,u=t.retrieve,h=t.each,c=["itemStyle","borderWidth"],d=["itemStyle","gapWidth"],p=["upperLabel","show"],f=["upperLabel","height"],g={seriesType:"treemap",reset:function(n,s,l,d){var p=l.getWidth(),f=l.getHeight(),g=n.option,m=o.getLayoutRect(n.getBoxLayoutParams(),{width:l.getWidth(),height:l.getHeight()}),y=g.size||[],b=i(u(m.width,y[0]),p),w=i(u(m.height,y[1]),f),S=d&&d.type,M=a.retrieveTargetInfo(d,["treemapZoomToNode","treemapRootToNode"],n),I="treemapRender"===S||"treemapMove"===S?d.rootRect:null,T=n.getViewRoot(),C=a.getPathToRoot(T);if("treemapMove"!==S){var A="treemapZoomToNode"===S?function(t,e,n,i,o){var a,s=(e||{}).node,l=[i,o];if(!s||s===n)return l;for(var u=i*o,h=u*t.option.zoomToNodeRatio;a=s.parentNode;){for(var d=0,p=a.children,f=0,g=p.length;fr&&(h=r),s=a}hs[1]&&(s[1]=e)}))}else s=[NaN,NaN];return{sum:i,dataExtent:s}}(n,s,l);if(0===c.sum)return e.viewChildren=[];if(c.sum=function(t,e,n,i,r){if(!i)return n;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*er&&(r=i));var u=t.area*t.area,h=e*e*n;return u?s(h*r/u,u/(h*o)):1/0}function y(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,u=["x","y"],h=["width","height"],c=n[u[o]],d=e?t.area/e:0;(r||d>n[h[a]])&&(d=n[h[a]]);for(var p=0,f=t.length;p=0&&t.call(e,n[r],r)},r.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},r.breadthFirstTraverse=function(t,e,i,r){if(o.isInstance(e)||(e=this._nodesMap[n(e)]),e){for(var a="out"===i?"outEdges":"in"===i?"inEdges":"edges",s=0;s=0&&n.node2.dataIndex>=0})),r=0,o=i.length;r=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n,i){return this[t][e].getItemVisual(this.dataIndex,n,i)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}};return t.mixin(o,s("hostGraph","data")),t.mixin(a,s("hostGraph","edgeData")),i.Node=o,i.Edge=a,e(o),e(a),i2=i}(),i=y1(),r=nK(),o=Oj(),a=hK();return o2=function(s,l,u,h,c){for(var d=new n(h),p=0;p "+x)),v++)}var _,b=u.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)_=a(s,u);else{var w=o.get(b),S=w&&"view"!==w.type&&w.dimensions||[];t.indexOf(S,"value")<0&&S.concat(["value"]);var M=r(s,{coordDimensions:S});(_=new e(M,u)).initData(s)}var I=new e(["value"],u);return I.initData(g,f),c&&c(_,I),i({mainData:_,struct:d,structAttr:"graph",datas:{node:_,edge:I},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d},o2}var u2,h2,c2,d2,p2,f2,g2,v2,m2,y2={};function x2(){if(u2)return y2;u2=1;var t=bW(),e="--\x3e",n=function(t){return t.get("autoCurveness")||null},i=function(e,i){var r=n(e),o=20,a=[];if("number"==typeof r)o=r;else if(t.isArray(r))return void(e.__curvenessList=r);i>o&&(o=i);var s=o%2?o+2:o+3;a=[];for(var l=0;l0&&(w[0]=-w[0],w[1]=-w[1]);var M,I=p[0]<0?-1:1;if("start"!==r.__position&&"end"!==r.__position){var T=-Math.atan2(p[1],p[0]);c[0].8?"left":d[0]<-.8?"right":"center",v=d[1]>.8?"top":d[1]<-.8?"bottom":"middle";break;case"start":f=[-d[0]*x+h[0],-d[1]*_+h[1]],g=d[0]>.8?"right":d[0]<-.8?"left":"center",v=d[1]>.8?"bottom":d[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":f=[x*I+h[0],h[1]+M],g=p[0]<0?"right":"left",m=[-x*I,-M];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":f=[S[0],S[1]+M],g="center",m=[0,-M];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":f=[-x*I+c[0],c[1]+M],g=p[0]>=0?"right":"left",m=[x*I,-M]}r.attr({style:{textVerticalAlign:r.__verticalAlign||v,textAlign:r.__textAlign||g},position:f,scale:[o,o],origin:m})}}}},c._createLine=function(e,n,o){var h=e.hostModel,c=function(t){var e=new i({name:"line",subPixelOptimize:!0});return u(e.shape,t),e}(e.getItemLayout(n));c.shape.percent=0,r.initProps(c,{shape:{percent:1}},h,n),this.add(c);var d=new r.Text({name:"label",lineLabelOriginalOpacity:1});this.add(d),t.each(a,(function(t){var i=l(t,e,n);this.add(i),this[s(t)]=e.getItemVisual(n,t)}),this),this._updateCommonStl(e,n,o)},c.updateData=function(e,n,i){var o=e.hostModel,h=this.childOfName("line"),c=e.getItemLayout(n),d={shape:{}};u(d.shape,c),r.updateProps(h,d,o,n),t.each(a,(function(t){var i=e.getItemVisual(n,t),r=s(t);if(this[r]!==i){this.remove(this.childOfName(t));var o=l(t,e,n);this.add(o)}this[r]=i}),this),this._updateCommonStl(e,n,i)},c._updateCommonStl=function(e,n,i){var s=e.hostModel,l=this.childOfName("line"),u=i&&i.lineStyle,h=i&&i.hoverLineStyle,c=i&&i.labelModel,d=i&&i.hoverLabelModel;if(!i||e.hasItemOption){var p=e.getItemModel(n);u=p.getModel("lineStyle").getLineStyle(),h=p.getModel("emphasis.lineStyle").getLineStyle(),c=p.getModel("label"),d=p.getModel("emphasis.label")}var f=e.getItemVisual(n,"color"),g=t.retrieve3(e.getItemVisual(n,"opacity"),u.opacity,1);l.useStyle(t.defaults({strokeNoScale:!0,fill:"none",stroke:f,opacity:g},u)),l.hoverStyle=h,t.each(a,(function(t){var e=this.childOfName(t);e&&(e.setColor(f),e.setStyle({opacity:g}))}),this);var v,m,y=c.getShallow("show"),x=d.getShallow("show"),_=this.childOfName("label");if((y||x)&&(v=f||"#000",null==(m=s.getFormattedLabel(n,"normal",e.dataType)))){var b=s.getRawValue(n);m=null==b?e.getName(n):isFinite(b)?o(b):b}var w=y?m:null,S=x?t.retrieve2(s.getFormattedLabel(n,"emphasis",e.dataType),m):null,M=_.style;if(null!=w||null!=S){r.setTextStyle(_.style,c,{text:w},{autoColor:v}),_.__textAlign=M.textAlign,_.__verticalAlign=M.textVerticalAlign,_.__position=c.get("position")||"middle";var I=c.get("distance");t.isArray(I)||(I=[I,I]),_.__labelDistance=I}_.hoverStyle=null!=S?{text:S,textFill:d.getTextColor(!0),fontStyle:d.getShallow("fontStyle"),fontWeight:d.getShallow("fontWeight"),fontSize:d.getShallow("fontSize"),fontFamily:d.getShallow("fontFamily")}:{text:null},_.ignore=!y&&!x,r.setHoverStyle(this)},c.highlight=function(){this.trigger("emphasis")},c.downplay=function(){this.trigger("normal")},c.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},c.setLinePoints=function(t){var e=this.childOfName("line");u(e.shape,t),e.dirty()},t.inherits(h,r.Group),f2=h}function w2(){if(m2)return v2;m2=1;var t=zX(),e=b2();function n(n){this._ctor=n||e,this.group=new t.Group}var i=n.prototype;function r(t){var e=t.hostModel;return{lineStyle:e.getModel("lineStyle").getLineStyle(),hoverLineStyle:e.getModel("emphasis.lineStyle").getLineStyle(),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label")}}function o(t){return isNaN(t[0])||isNaN(t[1])}function a(t){return!o(t[0])&&!o(t[1])}return i.isPersistent=function(){return!0},i.updateData=function(t){var e=this,n=e.group,i=e._lineData;e._lineData=t,i||n.removeAll();var o=r(t);t.diff(i).add((function(n){!function(t,e,n,i){var r=e.getItemLayout(n);if(a(r)){var o=new t._ctor(e,n,i);e.setItemGraphicEl(n,o),t.group.add(o)}}(e,t,n,o)})).update((function(n,r){!function(t,e,n,i,r,o){var s=e.getItemGraphicEl(i);a(n.getItemLayout(r))?(s?s.updateData(n,r,o):s=new t._ctor(n,r,o),n.setItemGraphicEl(r,s),t.group.add(s)):t.group.remove(s)}(e,i,t,r,n,o)})).remove((function(t){n.remove(i.getItemGraphicEl(t))})).execute()},i.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},i.incrementalPrepareUpdate=function(t){this._seriesScope=r(t),this._lineData=null,this.group.removeAll()},i.incrementalUpdate=function(t,e){function n(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=t.useHoverLayer=!0)}for(var i=t.start;i=0?u+=g:u-=g:_>=0?u-=g:u+=g}return u}return M2=function(i,r){var o=[],a=t.quadraticSubdivide,s=[[],[],[]],l=[[],[]],h=[];r/=2,i.eachEdge((function(t,i){var c=t.getLayout(),d=t.getVisual("fromSymbol"),p=t.getVisual("toSymbol");c.__original||(c.__original=[e.clone(c[0]),e.clone(c[1])],c[2]&&c.__original.push(e.clone(c[2])));var f=c.__original;if(null!=c[2]){if(e.copy(s[0],f[0]),e.copy(s[1],f[2]),e.copy(s[2],f[1]),d&&"none"!==d){var g=n(t.node1),v=u(s,f[0],g*r);a(s[0][0],s[1][0],s[2][0],v,o),s[0][0]=o[3],s[1][0]=o[4],a(s[0][1],s[1][1],s[2][1],v,o),s[0][1]=o[3],s[1][1]=o[4]}p&&"none"!==p&&(g=n(t.node2),v=u(s,f[1],g*r),a(s[0][0],s[1][0],s[2][0],v,o),s[1][0]=o[1],s[2][0]=o[2],a(s[0][1],s[1][1],s[2][1],v,o),s[1][1]=o[1],s[2][1]=o[2]),e.copy(c[0],s[0]),e.copy(c[1],s[2]),e.copy(c[2],s[1])}else e.copy(l[0],f[0]),e.copy(l[1],f[1]),e.sub(h,l[1],l[0]),e.normalize(h,h),d&&"none"!==d&&(g=n(t.node1),e.scaleAndAdd(l[0],l[0],h,g*r)),p&&"none"!==p&&(g=n(t.node2),e.scaleAndAdd(l[1],l[1],h,-g*r)),e.copy(c[0],l[0]),e.copy(c[1],l[1])}))},M2}var k2,P2,O2,R2,N2,E2,z2,V2,B2={},F2={};function G2(){if(k2)return F2;k2=1;var t=s$();return t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){})),F2}function H2(){return R2||(R2=1,O2=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),i=t.getGraph().data,r=n.mapArray(n.getName);i.filterSelf((function(t){var n=i.getItemModel(t).getShallow("category");if(null!=n){"number"==typeof n&&(n=r[n]);for(var o=0;o=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)}});return u5=t}var m5,y5,x5,_5,b5,w5,S5,M5={};function I5(){if(w5)return b5;w5=1,cW().__DEV__;var t=rj(),e=YX(),n=e.parsePercent,i=e.linearMap;return b5=function(e,r,o){e.eachSeriesByType("funnel",(function(e){var o=e.getData(),a=o.mapDimension("value"),s=e.get("sort"),l=function(e,n){return t.getLayoutRect(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})}(e,r),u=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),r=[],o="ascending"===e,a=0,s=t.count();a0?-1:n<0?1:e?-1:1}}function e(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}return R5=1,O5=function(n,i,r,o,a,s){n=n||0;var l=r[1]-r[0];if(null!=a&&(a=e(a,[0,l])),null!=s&&(s=Math.max(s,null!=a?a:0)),"all"===o){var u=Math.abs(i[1]-i[0]);u=e(u,[0,l]),a=s=e(u,[a,s]),o=0}i[0]=e(i[0],r),i[1]=e(i[1],r);var h=t(i,o);i[o]+=n;var c=a||0,d=r.slice();h.sign<0?d[0]+=c:d[1]-=c,i[o]=e(i[o],d);var p=t(i,o);return null!=a&&(p.sign!==h.sign||p.spans&&(i[1-o]=i[o]+p.sign*s),i},O5}function U5(){if(E5)return N5;E5=1;var t=bW(),e=$W(),n=rj(),i=zK(),r=function(){if(P5)return k5;P5=1;var t=bW(),e=o$(),n=function(t,n,i,r,o){e.call(this,t,n,i),this.type=r||"value",this.axisIndex=o};return n.prototype={constructor:n,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},t.inherits(n,e),k5=n}(),o=zX(),a=YX(),s=W5(),l=t.each,u=Math.min,h=Math.max,c=Math.floor,d=Math.ceil,p=a.round,f=Math.PI;function g(e,n,i){this._axesMap=t.createHashMap(),this._axesLayout={},this.dimensions=e.dimensions,this._rect,this._model=e,this._init(e,n,i)}function v(t,e){return u(h(t,e[0]),e[1])}function m(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function y(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,h=!1;return t=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var r=n.getData();l(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(r,r.mapDimension(t)),i.niceScaleExtent(e.scale,e.model)}),this)}}),this)},resize:function(t,e){this._rect=n.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],u=this.dimensions.length,h=v(e.get("axisExpandWidth"),l),f=v(e.get("axisExpandCount")||0,[0,u]),g=e.get("axisExpandable")&&u>3&&u>f&&f>1&&h>0&&s>0,m=e.get("axisExpandWindow");m?(t=v(m[1]-m[0],l),m[1]=m[0]+t):(t=v(h*(f-1),l),(m=[h*(e.get("axisExpandCenter")||c(u/2))-t/2])[1]=m[0]+t);var y=(s-t)/(u-f);y<3&&(y=0);var x=[c(p(m[0]/h,1))+1,d(p(m[1]/h,1))-1],_=y/h*m[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:g,axisExpandWidth:h,axisCollapseWidth:y,axisExpandWindow:m,axisCount:u,winInnerIndices:x,axisExpandWindow0Pos:_}},_layoutAxes:function(){var t=this._rect,n=this._axesMap,i=this.dimensions,r=this._makeLayoutInfo(),o=r.layout;n.each((function(t){var e=[0,r.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),l(i,(function(n,i){var a=(r.axisExpandable?y:m)(i,r),s={horizontal:{x:a.position,y:r.axisLength},vertical:{x:0,y:a.position}},l={horizontal:f/2,vertical:0},u=[s[o].x+t.x,s[o].y+t.y],h=l[o],c=e.create();e.rotate(c,c,h),e.translate(c,c,u),this._axesLayout[n]={position:u,rotation:h,transform:c,axisNameAvailableWidth:a.axisNameAvailableWidth,axisLabelShow:a.axisLabelShow,nameTruncateMaxWidth:a.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},getAxis:function(t){return this._axesMap.get(t)},dataToPoint:function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},eachActiveState:function(e,n,i,r){null==i&&(i=0),null==r&&(r=e.count());var o=this._axesMap,a=this.dimensions,s=[],l=[];t.each(a,(function(t){s.push(e.mapDimension(t)),l.push(o.get(t).model)}));for(var u=this.hasAxisBrushed(),h=i;hr*(1-p[0])?(c="jump",a=l-r*(1-p[2])):(a=l-r*p[1])>=0&&(a=l-r*(1-p[1]))<=0&&(a=0),(a*=e.axisExpandWidth/d)?s(a,i,o,"all"):c="none"):(r=i[1]-i[0],(i=[h(0,o[1]*l/r-r/2)])[1]=u(o[1],i[0]+r),i[0]=i[1]-r),{axisExpandWindow:i,behavior:c}}},N5=g}function Y5(){if(z5)return H5;z5=1;var t=U5();return Oj().register("parallel",{create:function(e,n){var i=[];return e.eachComponent("parallel",(function(r,o){var a=new t(r,e,n);a.name="parallel_"+o,a.resize(r,n),r.coordinateSystem=a,a.model=r,i.push(a)})),e.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"parallel",index:t.get("parallelIndex"),id:t.get("parallelId")})[0];t.coordinateSystem=n.coordinateSystem}})),i}}),H5}function Z5(){if(G5)return F5;G5=1;var t=bW(),e=oj();!function(){if(B5)return V5;B5=1;var t=bW(),e=oj(),n=VY(),i=lJ(),r=YX(),o=VK(),a=e.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return n([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(e){var n=this.activeIntervals=t.clone(e);if(n)for(var i=n.length-1;i>=0;i--)r.asc(n[i])},getActiveState:function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;i1)return("e"===(i=[R(t,(e=e.split(""))[0]),R(t,e[1])])[0]||"w"===i[0])&&i.reverse(),i.join("");var i=n.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[e],function(t){return n.getTransform(t.group)}(t));return{left:"w",right:"e",top:"n",bottom:"s"}[i]}function N(t,e,n,i,r,o,s,l){var u=i.__brushOption,h=t(u.range),c=z(n,o,s);a(r.split(""),(function(t){var e=d[t];h[e[0]][e[1]]+=c[e[0]]})),u.range=e(O(h[0][0],h[1][0],h[0][1],h[1][1])),b(n,i),T(n,{isEnd:!1})}function E(t,e,n,i,r){var o=e.__brushOption.range,s=z(t,n,i);a(o,(function(t){t[0]+=s[0],t[1]+=s[1]})),b(t,e),T(t,{isEnd:!1})}function z(t,e,n){var i=t.group,r=i.transformCoordToLocal(e,n),o=i.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function V(e,n,i){var r=M(e,n);return r&&!0!==r?r.clipPath(i,e._transform):t.clone(i)}function B(t){var e=t.event;e.preventDefault&&e.preventDefault()}function F(t,e,n){return t.childOfName("main").contain(e,n)}function G(e,n,i,r){var o,a=e._creatingCover,s=e._creatingPanel,l=e._brushOption;if(e._track.push(i.slice()),function(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],i=e[0],r=n[0]-i[0],o=n[1]-i[1];return h(r*r+o*o,.5)>6}(e)||a){if(s&&!a){"single"===l.brushMode&&I(e);var u=t.clone(l);u.brushType=H(u.brushType,s),u.panelId=!0===s?null:s.panelId,a=e._creatingCover=m(e,u),e._covers.push(a)}if(a){var c=Y[H(e._brushType,s)];a.__brushOption.range=c.getCreatingRange(V(e,a,e._track)),r&&(y(e,a),c.updateCommon(e,a)),x(e,a),o={isEnd:r}}}else r&&"single"===l.brushMode&&l.removeOnClick&&S(e,n,i)&&I(e)&&(o={isEnd:r,removeOnClick:!0});return o}function H(t,e){return"auto"===t?e.defaultBrushType:t}v.prototype={constructor:v,enableBrush:function(e){var n,r;return this._brushType&&(r=(n=this)._zr,i.release(r,c,n._uid),function(t,e){a(e,(function(e,n){t.off(n,e)}))}(r,n._handlers),n._brushType=n._brushOption=null),e.brushType&&function(e,n){var r=e._zr;e._enableGlobalPan||i.take(r,c,e._uid),function(t,e){a(e,(function(e,n){t.on(n,e)}))}(r,e._handlers),e._brushType=n.brushType,e._brushOption=t.merge(t.clone(f),n,!0)}(this,e),this},setPanels:function(e){if(e&&e.length){var n=this._panels={};t.each(e,(function(e){n[e.panelId]=t.clone(e)}))}else this._panels=null;return this},mount:function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({position:t.position||[0,0],rotation:t.rotation||0,scale:t.scale||[1,1]}),this._transform=e.getLocalTransform(),this},eachCover:function(t,e){a(this._covers,t,e)},updateCovers:function(e){e=t.map(e,(function(e){return t.merge(t.clone(f),e,!0)}));var n=this._covers,i=this._covers=[],o=this,a=this._creatingCover;return new r(n,e,(function(t,e){return s(t.__brushOption,e)}),s).add(l).update(l).remove((function(t){n[t]!==a&&o.group.remove(n[t])})).execute(),this;function s(t,e){return(null!=t.id?t.id:"\0-brush-index-"+e)+"-"+t.brushType}function l(t,r){var s=e[t];if(null!=r&&n[r]===a)i[t]=n[r];else{var l=i[t]=null!=r?(n[r].__brushOption=s,n[r]):y(o,m(o,s));b(o,l)}}},unmount:function(){return this.enableBrush(!1),I(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},t.mixin(v,e);var W={mousedown:function(t){if(this._dragging)U(this,t);else if(!t.target||!t.target.draggable){B(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=S(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}(t,e)){var i=t._zr,r=t._covers,o=S(t,e,n);if(!t._dragging)for(var a=0;a5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&o(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i&&null})}}};function o(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}return t.registerPreprocessor(i),D5}function v3(){if(u3)return l3;u3=1;var t=["lineStyle","normal","opacity"],e={seriesType:"parallel",reset:function(e,n,i){var r=e.getModel("itemStyle"),o=e.getModel("lineStyle"),a=n.get("color"),s=o.get("color")||r.get("color")||a[e.seriesIndex%a.length],l=e.get("inactiveOpacity"),u=e.get("activeOpacity"),h=e.getModel("lineStyle").getLineStyle(),c=e.coordinateSystem,d=e.getData(),p={normal:h.opacity,active:u,inactive:l};return d.setVisual("color",s),{progress:function(e,n){c.eachActiveState(n,(function(e,i){var r=p[e];if("normal"===e&&n.hasItemOption){var o=n.getItemModel(i).get(t,!0);null!=o&&(r=o)}n.setItemVisual(i,"opacity",r)}),e.start,e.end)}}}};return l3=e}var m3,y3,x3,_3,b3,w3,S3,M3,I3,T3,C3={},A3={};function D3(){if(S3)return w3;S3=1;var t=rj(),e=bW(),n=AY().groupData;function i(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function r(t,n,i,r,o){var a="vertical"===o?"x":"y";e.each(t,(function(t){var e,s,l;t.sort((function(t,e){return t.getLayout()[a]-e.getLayout()[a]}));for(var u=0,h=t.length,c="vertical"===o?"dx":"dy",d=0;d0&&(e=s.getLayout()[a]+l,"vertical"===o?s.setLayout({x:e},!0):s.setLayout({y:e},!0)),u=s.getLayout()[a]+s.getLayout()[c]+n;if((l=u-n-("vertical"===o?r:i))>0)for(e=s.getLayout()[a]-l,"vertical"===o?s.setLayout({x:e},!0):s.setLayout({y:e},!0),u=e,d=h-2;d>=0;--d)(l=(s=t[d]).getLayout()[a]+s.getLayout()[c]+n-u)>0&&(e=s.getLayout()[a]-l,"vertical"===o?s.setLayout({x:e},!0):s.setLayout({y:e},!0)),u=s.getLayout()[a]}))}function o(t,n,i){e.each(t.slice().reverse(),(function(t){e.each(t,(function(t){if(t.outEdges.length){var e=d(t.outEdges,a,i)/d(t.outEdges,c,i);if(isNaN(e)){var r=t.outEdges.length;e=r?d(t.outEdges,s,i)/r:0}if("vertical"===i){var o=t.getLayout().x+(e-h(t,i))*n;t.setLayout({x:o},!0)}else{var l=t.getLayout().y+(e-h(t,i))*n;t.setLayout({y:l},!0)}}}))}))}function a(t,e){return h(t.node2,e)*t.getValue()}function s(t,e){return h(t.node2,e)}function l(t,e){return h(t.node1,e)*t.getValue()}function u(t,e){return h(t.node1,e)}function h(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function c(t){return t.getValue()}function d(t,e,n){for(var i=0,r=t.length,o=-1;++o=0;x&&y.depth>g&&(g=y.depth),m.setLayout({depth:x?y.depth:p},!0),"vertical"===s?m.setLayout({dy:r},!0):m.setLayout({dx:r},!0);for(var _=0;_p-1?g:p-1;l&&"left"!==l&&function(t,n,r,o){if("right"===n){for(var a=[],s=t,l=0;s.length;){for(var u=0;u0;u--)o(c,d*=.99,h),r(c,l,a,s,h),p(c,d,h),r(c,l,a,s,h)}(t,a,h,u,l,c,d),function(t,n){var i="vertical"===n?"x":"y";e.each(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[i]-e.node2.getLayout()[i]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[i]-e.node1.getLayout()[i]}))})),e.each(t,(function(t){var n=0,i=0;e.each(t.outEdges,(function(t){t.setLayout({sy:n},!0),n+=t.getLayout().dy})),e.each(t.inEdges,(function(t){t.setLayout({ty:i},!0),i+=t.getLayout().dy}))}))}(t,d)}(m,y,l,u,f,g,0!==e.filter(m,(function(t){return 0===t.getLayout().value})).length?0:a.get("layoutIterations"),a.get("orient"),a.get("nodeAlign"))}))},w3}function L3(){if(I3)return M3;I3=1;var t=t2(),e=bW();return M3=function(n,i){n.eachSeriesByType("sankey",(function(n){var i=n.getGraph().nodes;if(i.length){var r=1/0,o=-1/0;e.each(i,(function(t){var e=t.getLayout().value;eo&&(o=e)})),e.each(i,(function(e){var i=new t({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:n.get("color")}).mapValueToVisual(e.getLayout().value),a=e.getModel().get("itemStyle.color");null!=a?e.setVisual("color",a):e.setVisual("color",i)}))}}))}}var k3,P3,O3,R3,N3,E3,z3,V3,B3,F3,G3={},H3={};function W3(){if(k3)return H3;k3=1;var t=xQ(),e=bW(),n=Jq().getDimensionTypeByAxis,i=Lj().makeSeriesEncodeForAxisCoordSys,r={_baseAxisDim:null,getInitialData:function(r,o){var a,s,l=o.getComponent("xAxis",this.get("xAxisIndex")),u=o.getComponent("yAxis",this.get("yAxisIndex")),h=l.get("type"),c=u.get("type");"category"===h?(r.layout="horizontal",a=l.getOrdinalMeta(),s=!0):"category"===c?(r.layout="vertical",a=u.getOrdinalMeta(),s=!0):r.layout=r.layout||"horizontal";var d=["x","y"],p="horizontal"===r.layout?0:1,f=this._baseAxisDim=d[p],g=d[1-p],v=[l,u],m=v[p].get("type"),y=v[1-p].get("type"),x=r.data;if(x&&s){var _=[];e.each(x,(function(t,n){var i;t.value&&e.isArray(t.value)?(i=t.value.slice(),t.value.unshift(n)):e.isArray(t)?(i=t.slice(),t.unshift(n)):i=t,_.push(i)})),r.data=_}var b=this.defaultValueDimensions,w=[{name:f,type:n(m),ordinalMeta:a,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:g,type:n(y),dimsDef:b.slice()}];return t(this,{coordDimensions:w,dimensionsCount:b.length+1,encodeDefaulter:e.curry(i,w,this)})},getBaseAxis:function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis}};return H3.seriesModelMixin=r,H3}function U3(){if(z3)return E3;z3=1;var t=["itemStyle","borderColor"];return E3=function(e,n){var i=e.get("color");e.eachRawSeriesByType("boxplot",(function(n){var r=i[n.seriesIndex%i.length],o=n.getData();o.setVisual({legendSymbol:"roundRect",color:n.get(t)||r}),e.isSeriesFiltered(n)||o.each((function(e){var n=o.getItemModel(e);o.setItemVisual(e,{color:n.get(t,!0)})}))}))}}function Y3(){if(B3)return V3;B3=1;var t=bW(),e=YX().parsePercent,n=t.each;return V3=function(i){var r=function(e){var n=[],i=[];return e.eachSeriesByType("boxplot",(function(e){var r=e.getBaseAxis(),o=t.indexOf(i,r);o<0&&(o=i.length,i[o]=r,n[o]={axis:r,seriesModels:[]}),n[o].seriesModels.push(e)})),n}(i);n(r,(function(i){var r=i.seriesModels;r.length&&(function(i){var r,o,a=i.axis,s=i.seriesModels,l=s.length,u=i.boxWidthList=[],h=i.boxOffsetList=[],c=[];if("category"===a.type)o=a.getBandWidth();else{var d=0;n(s,(function(t){d=Math.max(d,t.getData().count())})),r=a.getExtent(),Math.abs(r[1]-r[0])}n(s,(function(n){var i=n.get("boxWidth");t.isArray(i)||(i=[i,i]),c.push([e(i[0],o)||0,e(i[1],o)||0])}));var p=.8*o-2,f=p/l*.3,g=(p-f*(l-1))/l,v=g/2-p/2;n(s,(function(t,e){h.push(v),v+=f+g,u.push(Math.min(Math.max(g,c[e][0]),c[e][1]))}))}(i),n(r,(function(t,e){!function(t,e,n){var i=t.coordinateSystem,r=t.getData(),o=n/2,a="horizontal"===t.get("layout")?0:1,s=1-a,l=["x","y"],u=r.mapDimension(l[a]),h=r.mapDimension(l[s],!0);if(!(null==u||h.length<5))for(var c=0;c0?i:r)}function s(t,i){return i.get(t>0?e:n)}}};return J3=o}function o4(){if(e4)return t4;e4=1;var t=zX().subPixelOptimize,e=nq(),n=YX().parsePercent,i=bW().retrieve2,r="undefined"!=typeof Float32Array?Float32Array:Array,o={seriesType:"candlestick",plan:e(),reset:function(e){var o=e.coordinateSystem,s=e.getData(),l=function(t,e){var r,o=t.getBaseAxis(),a="category"===o.type?o.getBandWidth():(r=o.getExtent(),Math.abs(r[1]-r[0])/e.count()),s=n(i(t.get("barMaxWidth"),a),a),l=n(i(t.get("barMinWidth"),1),a),u=t.get("barWidth");return null!=u?n(u,a):Math.max(Math.min(a/2,s),l)}(e,s),u=["x","y"],h=s.mapDimension(u[0]),c=s.mapDimension(u[1],!0),d=c[0],p=c[1],f=c[2],g=c[3];if(s.setLayout({candleWidth:l,isSimpleBox:l<=1.3}),!(null==h||c.length<4))return{progress:e.pipelineContext.large?function(t,e){for(var n,i,s=new r(4*t.count),l=0,u=[],c=[];null!=(i=t.next());){var v=e.get(h,i),m=e.get(d,i),y=e.get(p,i),x=e.get(f,i),_=e.get(g,i);isNaN(v)||isNaN(x)||isNaN(_)?(s[l++]=NaN,l+=3):(s[l++]=a(e,i,m,y,p),u[0]=v,u[1]=x,n=o.dataToPoint(u,null,c),s[l++]=n?n[0]:NaN,s[l++]=n?n[1]:NaN,u[1]=_,n=o.dataToPoint(u,null,c),s[l++]=n?n[1]:NaN)}e.setLayout("largePoints",s)}:function(e,n){for(var i;null!=(i=e.next());){var r=n.get(h,i),s=n.get(d,i),u=n.get(p,i),c=n.get(f,i),v=n.get(g,i),m=Math.min(s,u),y=Math.max(s,u),x=M(m,r),_=M(y,r),b=M(c,r),w=M(v,r),S=[];I(S,_,0),I(S,x,1),S.push(C(w),C(_),C(b),C(x)),n.setItemLayout(i,{sign:a(n,i,s,u,p),initBaseline:s>u?_[1]:x[1],ends:S,brushRect:T(c,v,r)})}function M(t,e){var n=[];return n[0]=e,n[1]=t,isNaN(e)||isNaN(t)?[NaN,NaN]:o.dataToPoint(n)}function I(e,n,i){var r=n.slice(),o=n.slice();r[0]=t(r[0]+l/2,1,!1),o[0]=t(o[0]-l/2,1,!0),i?e.push(r,o):e.push(o,r)}function T(t,e,n){var i=M(t,n),r=M(e,n);return i[0]-=l/2,r[0]-=l/2,{x:i[0],y:i[1],width:l,height:r[1]-i[1]}}function C(e){return e[0]=t(e[0],1),e}}}}};function a(t,e,n,i,r){return n>i?-1:n0?t.get(r,e-1)<=i?1:-1:1}return t4=o}var a4,s4,l4,u4,h4,c4,d4,p4,f4,g4,v4,m4,y4,x4,_4,b4,w4,S4,M4,I4,T4,C4,A4,D4,L4,k4,P4,O4,R4,N4,E4,z4={},V4={};function B4(){if(v4)return g4;v4=1;var t=zX(),e=b2(),n=bW(),i=HK().createSymbol,r=AW(),o=WY();function a(e,n,i){t.Group.call(this),this.add(this.createLine(e,n,i)),this._updateEffectSymbol(e,n)}var s=a.prototype;return s.createLine=function(t,n,i){return new e(t,n,i)},s._updateEffectSymbol=function(t,e){var r=t.getItemModel(e).getModel("effect"),o=r.get("symbolSize"),a=r.get("symbol");n.isArray(o)||(o=[o,o]);var s=r.get("color")||t.getItemVisual(e,"color"),l=this.childAt(1);this._symbolType!==a&&(this.remove(l),(l=i(a,-.5,-.5,1,1,s)).z2=100,l.culling=!0,this.add(l)),l&&(l.setStyle("shadowColor",s),l.setStyle(r.getItemStyle(["color"])),l.attr("scale",o),l.setColor(s),l.attr("scale",o),this._symbolType=a,this._symbolScale=o,this._updateEffectAnimation(t,r,e))},s._updateEffectAnimation=function(t,e,i){var r=this.childAt(1);if(r){var o=this,a=t.getItemLayout(i),s=1e3*e.get("period"),l=e.get("loop"),u=e.get("constantSpeed"),h=n.retrieve(e.get("delay"),(function(e){return e/t.count()*s/3})),c="function"==typeof h;if(r.ignore=!0,this.updateAnimationPoints(r,a),u>0&&(s=this.getLineLength(r)/u*1e3),s!==this._period||l!==this._loop){r.stopAnimation();var d=h;c&&(d=h(i)),r.__t>0&&(d=-s*r.__t),r.__t=0;var p=r.animate("",l).when(s,{__t:1}).delay(d).during((function(){o.updateSymbolPosition(r)}));l||p.done((function(){o.remove(r)})),p.start()}this._period=s,this._loop=l}},s.getLineLength=function(t){return r.dist(t.__p1,t.__cp1)+r.dist(t.__cp1,t.__p2)},s.updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},s.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},s.updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,a=t.__t,s=t.position,l=[s[0],s[1]],u=o.quadraticAt,h=o.quadraticDerivativeAt;s[0]=u(e[0],i[0],n[0],a),s[1]=u(e[1],i[1],n[1],a);var c=h(e[0],i[0],n[0],a),d=h(e[1],i[1],n[1],a);if(t.rotation=-Math.atan2(d,c)-Math.PI/2,"line"===this._symbolType||"rect"===this._symbolType||"roundRect"===this._symbolType)if(void 0!==t.__lastT&&t.__lastT0){var I=o(m)?s:l;m>0&&(m=m*S+w),x[_++]=I[M],x[_++]=I[M+1],x[_++]=I[M+2],x[_++]=I[M+3]*m*256}else _+=4}return c.putImageData(y,0,0),h},_getBrush:function(){var e=this._brushCanvas||(this._brushCanvas=t.createCanvas()),n=this.pointSize+this.blurSize,i=2*n;e.width=i,e.height=i;var r=e.getContext("2d");return r.clearRect(0,0,i,i),r.shadowOffsetX=i,r.shadowBlur=this.blurSize,r.shadowColor="#000",r.beginPath(),r.arc(-n,n,this.pointSize,0,2*Math.PI,!0),r.closePath(),r.fill(),e},_getGradient:function(t,e,n){for(var i=this._gradientPixels,r=i[n]||(i[n]=new Uint8ClampedArray(1024)),o=[0,0,0,0],a=0,s=0;s<256;s++)e[n](s/255,!0,o),r[a++]=o[0],r[a++]=o[1],r[a++]=o[2],r[a++]=o[3];return r}},P4=e}var U4,Y4,Z4,X4,j4,q4,K4,$4,J4,Q4,t6={},e6={},n6={},i6={};function r6(){if(J4)return $4;J4=1;var t=function(){if(K4)return q4;K4=1;var t=bW(),e=o$(),n=function(t,n,i,r,o){e.call(this,t,n,i),this.type=r||"value",this.position=o||"bottom",this.orient=null};return n.prototype={constructor:n,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},pointToData:function(t,e){return this.coordinateSystem.pointToData(t,e)[0]},toGlobalCoord:null,toLocalCoord:null},t.inherits(n,e),q4=n}(),e=zK(),n=rj().getLayoutRect,i=bW().each;function r(t,e,n){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(t,e,n),this.model=t}return r.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:r,_init:function(n,i,r){var o=this.dimension,a=new t(o,e.createScaleByModel(n),[0,0],n.get("type"),n.get("position")),s="category"===a.type;a.onBand=s&&n.get("boundaryGap"),a.inverse=n.get("inverse"),a.orient=n.get("orient"),n.axis=a,a.model=n,a.coordinateSystem=this,this._axis=a},update:function(t,n){t.eachSeries((function(t){if(t.coordinateSystem===this){var n=t.getData();i(n.mapDimension(this.dimension,!0),(function(t){this._axis.scale.unionExtentFromData(n,t)}),this),e.niceScaleExtent(this._axis.scale,this._axis.model)}}),this)},resize:function(t,e){this._rect=n({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),i=n?[0,t.width]:[0,t.height],r=e.reverse?1:0;e.setExtent(i[r],i[1-r]),this._updateAxisTransform(e,n?t.x:t.y)},_updateAxisTransform:function(t,e){var n=t.getExtent(),i=n[0]+n[1],r=t.isHorizontal();t.toGlobalCoord=r?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord=r?function(t){return t-e}:function(t){return i-t+e}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(t){var e=this.getRect(),n=this.getAxis();return"horizontal"===n.orient?n.contain(n.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},pointToData:function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},dataToPoint:function(t){var e=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i}},$4=r}var o6,a6,s6,l6,u6,h6={};function c6(){if(o6)return h6;o6=1;var t=bW();return h6.layout=function(e,n){n=n||{};var i=e.coordinateSystem,r=e.axis,o={},a=r.position,s=r.orient,l=i.getRect(),u=[l.x,l.x+l.width,l.y,l.y+l.height],h={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};o.position=["vertical"===s?h.vertical[a]:u[0],"horizontal"===s?h.horizontal[a]:u[3]],o.rotation=Math.PI/2*{horizontal:0,vertical:1}[s],o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,right:1,left:-1}[a],e.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),t.retrieve(n.labelInside,e.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var c=n.rotate;return null==c&&(c=e.get("axisLabel.rotate")),o.labelRotation="top"===a?-c:c,o.z2=1,o},h6}var d6,p6,f6,g6,v6,m6,y6={};function x6(){if(p6)return d6;p6=1;var t=bW(),e=AY();return d6=function(n,i){var r,o=[],a=n.seriesIndex;if(null==a||!(r=i.getSeriesByIndex(a)))return{point:[]};var s=r.getData(),l=e.queryDataIndex(s,n);if(null==l||l<0||t.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),h=r.coordinateSystem;if(r.getTooltipPosition)o=r.getTooltipPosition(l)||[];else if(h&&h.dataToPoint)o=h.dataToPoint(s.getValues(t.map(h.dimensions,(function(t){return s.mapDimension(t)})),l,!0))||[];else if(u){var c=u.getBoundingRect().clone();c.applyTransform(u.transform),o=[c.x+c.width/2,c.y+c.height/2]}return{point:o,el:u}}}function _6(){if(g6)return f6;g6=1;var t=bW(),e=AY().makeInner,n=_J(),i=x6(),r=t.each,o=t.curry,a=e();function s(e,n,i,o,a){var s=e.axis;if(!s.scale.isBlank()&&s.containData(n))if(e.involveSeries){var l=function(t,e){var n=e.axis,i=n.dim,o=t,a=[],s=Number.MAX_VALUE,l=-1;return r(e.seriesModels,(function(e,u){var h,c,d=e.getData().mapDimension(i,!0);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(d,t,n);c=p.dataIndices,h=p.nestestValue}else{if(!(c=e.getData().indicesOfNearest(d[0],t,"category"===n.type?.5:null)).length)return;h=e.getData().get(d[0],c[0])}if(null!=h&&isFinite(h)){var f=t-h,g=Math.abs(f);g<=s&&((g=0&&l<0)&&(s=g,l=f,o=h,a.length=0),r(c,(function(t){a.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:a,snapToValue:o}}(n,e),u=l.payloadBatch,h=l.snapToValue;u[0]&&null==a.seriesIndex&&t.extend(a,u[0]),!o&&e.snap&&s.containData(h)&&null!=h&&(n=h),i.showPointer(e,n,u,a),i.showTooltip(e,l,h)}else i.showPointer(e,n)}function l(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function u(t,e,i,r){var o=i.payloadBatch,a=e.axis,s=a.model,l=e.axisPointerModel;if(e.triggerTooltip&&o.length){var u=e.coordSys.model,h=n.makeKey(u),c=t.map[h];c||(c=t.map[h]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:a.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:r,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:o.slice()})}}function h(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function c(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}return f6=function(e,n,d){var p=e.currTrigger,f=[e.x,e.y],g=e,v=e.dispatchAction||t.bind(d.dispatchAction,d),m=n.getComponent("axisPointer").coordSysAxesInfo;if(m){c(f)&&(f=i({seriesIndex:g.seriesIndex,dataIndex:g.dataIndex},n).point);var y=c(f),x=g.axesInfo,_=m.axesInfo,b="leave"===p||c(f),w={},S={},M={list:[],map:{}},I={showPointer:o(l,S),showTooltip:o(u,M)};r(m.coordSysMap,(function(t,e){var n=y||t.containPoint(f);r(m.coordSysAxesInfo[e],(function(t,e){var i=t.axis,r=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(x,t);if(!b&&n&&(!x||r)){var o=r&&r.value;null!=o||y||(o=i.pointToData(f)),null!=o&&s(t,o,I,!1,w)}}))}));var T={};return r(_,(function(t,e){var n=t.linkGroup;n&&!S[e]&&r(n.axesInfo,(function(e,i){var r=S[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,h(e),h(t)))),T[t.key]=o}}))})),r(T,(function(t,e){s(_[e],t,I,!0,w)})),function(t,e,n){var i=n.axesInfo=[];r(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}(S,_,w),function(t,e,n,i){if(!c(e)&&t.list.length){var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}else i({type:"hideTip"})}(M,f,e,v),function(e,n,i){var o=i.getZr(),s="axisPointerLastHighlights",l=a(o)[s]||{},u=a(o)[s]={};r(e,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&r(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;u[e]=t}))}));var h=[],c=[];t.each(l,(function(t,e){!u[e]&&c.push(t)})),t.each(u,(function(t,e){!l[e]&&h.push(t)})),c.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,batch:c}),h.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,batch:h})}(_,0,d),w}},f6}var b6,w6,S6,M6,I6,T6={};function C6(){if(b6)return T6;b6=1;var t=bW(),e=yW(),n=(0,AY().makeInner)(),i=t.each;function r(t,e,n){t.handler("leave",null,n)}function o(t,e,n,i){e.handler(t,n,i)}return T6.register=function(a,s,l){if(!e.node){var u=s.getZr();n(u).records||(n(u).records={}),function(e,a){function s(t,r){e.on(t,(function(t){var o=function(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}(a);i(n(e).records,(function(e){e&&r(e,t,o.dispatchAction)})),function(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}(o.pendings,a)}))}n(e).initialized||(n(e).initialized=!0,s("click",t.curry(o,"click")),s("mousemove",t.curry(o,"mousemove")),s("globalout",r))}(u,s),(n(u).records[a]||(n(u).records[a]={})).handler=l}},T6.unregister=function(t,i){if(!e.node){var r=i.getZr();(n(r).records||{})[t]&&(n(r).records[t]=null)}},T6}function A6(){if(I6)return M6;I6=1;var t=bW(),e=zY(),n=zX(),i=_J(),r=GW(),o=_q(),a=(0,AY().makeInner)(),s=t.clone,l=t.bind;function u(){}function h(t,e,i,r){c(a(i).lastProp,r)||(a(i).lastProp=r,e?n.updateProps(i,r,t):(i.stopAnimation(),i.attr(r)))}function c(e,n){if(t.isObject(e)&&t.isObject(n)){var i=!0;return t.each(n,(function(t,n){i=i&&c(e[n],t)})),!!i}return e===n}function d(t,e){t[e.get("label.show")?"show":"hide"]()}function p(t){return{position:t.position.slice(),rotation:t.rotation||0}}function f(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}return u.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(e,i,r,o){var a=i.get("value"),s=i.get("status");if(this._axisModel=e,this._axisPointerModel=i,this._api=r,o||this._lastValue!==a||this._lastStatus!==s){this._lastValue=a,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(u&&u.hide());l&&l.show(),u&&u.show();var c={};this.makeElOption(c,a,e,i,r);var d=c.graphicKey;d!==this._lastGraphicKey&&this.clear(r),this._lastGraphicKey=d;var p=this._moveAnimation=this.determineAnimation(e,i);if(l){var g=t.curry(h,i,p);this.updatePointerEl(l,c,g,i),this.updateLabelEl(l,c,g,i)}else l=this._group=new n.Group,this.createPointerEl(l,c,e,i),this.createLabelEl(l,c,e,i),r.getZr().add(l);f(l,i,!0),this._renderHandle(a)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var n=e.get("animation"),r=t.axis,o="category"===r.type,a=e.get("snap");if(!a&&!o)return!1;if("auto"===n||null==n){var s=this.animationThreshold;if(o&&r.getBandWidth()>s)return!0;if(a){var l=i.getAxisInfo(t).seriesDataCount,u=r.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return!0===n},makeElOption:function(t,e,n,i,r){},createPointerEl:function(t,e,i,r){var o=e.pointer;if(o){var l=a(t).pointerEl=new n[o.type](s(e.pointer));t.add(l)}},createLabelEl:function(t,e,i,r){if(e.label){var o=a(t).labelEl=new n.Rect(s(e.label));t.add(o),d(o,r)}},updatePointerEl:function(t,e,n){var i=a(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,n,i){var r=a(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{shape:e.label.shape,position:e.label.position}),d(r,i))},_renderHandle:function(e){if(!this._dragging&&this.updateHandleTransform){var i,a=this._axisPointerModel,s=this._api.getZr(),u=this._handle,h=a.getModel("handle"),c=a.get("status");if(!h.get("show")||!c||"hide"===c)return u&&s.remove(u),void(this._handle=null);this._handle||(i=!0,u=this._handle=n.createIcon(h.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){r.stop(t.event)},onmousedown:l(this._onHandleDragMove,this,0,0),drift:l(this._onHandleDragMove,this),ondragend:l(this._onHandleDragEnd,this)}),s.add(u)),f(u,a,!1),u.setStyle(h.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var d=h.get("size");t.isArray(d)||(d=[d,d]),u.attr("scale",[d[0]/2,d[1]/2]),o.createOrUpdate(this,"_doDispatchAxisPointer",h.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,i)}},_moveHandleToValue:function(t,e){h(this._axisPointerModel,!e&&this._moveAnimation,this._handle,p(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(p(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(p(i)),a(n).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},_onHandleDragEnd:function(t){if(this._dragging=!1,this._handle){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}},u.prototype.constructor=u,e.enableClassExtend(u),M6=u}var D6,L6,k6,P6,O6,R6,N6,E6,z6,V6,B6,F6,G6,H6,W6,U6,Y6={};function Z6(){if(D6)return Y6;D6=1;var t=bW(),e=zX(),n=eY(),i=ij(),r=$W(),o=zK(),a=gJ();function s(t,e,r,o,a){var s=l(r.get("value"),e.axis,e.ecModel,r.get("seriesDataIndices"),{precision:r.get("label.precision"),formatter:r.get("label.formatter")}),u=r.getModel("label"),h=i.normalizeCssArray(u.get("padding")||0),c=u.getFont(),d=n.getBoundingRect(s,c),p=a.position,f=d.width+h[1]+h[3],g=d.height+h[0]+h[2],v=a.align;"right"===v&&(p[0]-=f),"center"===v&&(p[0]-=f/2);var m=a.verticalAlign;"bottom"===m&&(p[1]-=g),"middle"===m&&(p[1]-=g/2),function(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(p,f,g,o);var y=u.get("backgroundColor");y&&"auto"!==y||(y=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:f,height:g,r:u.get("borderRadius")},position:p.slice(),style:{text:s,textFont:c,textFill:u.getTextColor(),textPosition:"inside",textPadding:h,fill:y,stroke:u.get("borderColor")||"transparent",lineWidth:u.get("borderWidth")||0,shadowBlur:u.get("shadowBlur"),shadowColor:u.get("shadowColor"),shadowOffsetX:u.get("shadowOffsetX"),shadowOffsetY:u.get("shadowOffsetY")},z2:10}}function l(e,n,i,r,a){e=n.scale.parse(e);var s=n.scale.getLabel(e,{precision:a.precision}),l=a.formatter;if(l){var u={value:o.getAxisRawValue(n,e),axisDimension:n.dim,axisIndex:n.index,seriesData:[]};t.each(r,(function(t){var e=i.getSeriesByIndex(t.seriesIndex),n=t.dataIndexInside,r=e&&e.getDataParams(n);r&&u.seriesData.push(r)})),t.isString(l)?s=l.replace("{value}",s):t.isFunction(l)&&(s=l(u))}return s}function u(t,n,i){var o=r.create();return r.rotate(o,o,i.rotation),r.translate(o,o,i.position),e.applyTransform([t.dataToCoord(n),(i.labelOffset||0)+(i.labelDirection||1)*(i.labelMargin||0)],o)}return Y6.buildElStyle=function(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e},Y6.buildLabelElOption=s,Y6.getValueLabel=l,Y6.getTransformedPosition=u,Y6.buildCartesianSingleLabelElOption=function(t,e,n,i,r,o){var l=a.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get("label.margin"),s(e,i,r,o,{position:u(i.axis,t,n),align:l.textAlign,verticalAlign:l.textVerticalAlign})},Y6.makeLineShape=function(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}},Y6.makeRectShape=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},Y6.makeSectorShape=function(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}},Y6}function X6(){if(k6)return L6;k6=1;var t=A6(),e=Z6(),n=MJ(),i=bJ(),r=t.extend({makeElOption:function(t,i,r,s,l){var u=r.axis,h=u.grid,c=s.get("type"),d=o(h,u).getOtherAxis(u).getGlobalExtent(),p=u.toGlobalCoord(u.dataToCoord(i,!0));if(c&&"none"!==c){var f=e.buildElStyle(s),g=a[c](u,p,d);g.style=f,t.graphicKey=g.type,t.pointer=g}var v=n.layout(h.model,r);e.buildCartesianSingleLabelElOption(i,t,v,r,s,l)},getHandleTransform:function(t,i,r){var o=n.layout(i.axis.grid.model,i,{labelInside:!1});return o.labelMargin=r.get("handle.margin"),{position:e.getTransformedPosition(i.axis,t,o),rotation:o.rotation+(o.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,n,i){var r=n.axis,a=r.grid,s=r.getGlobalExtent(!0),l=o(a,r).getOtherAxis(r).getGlobalExtent(),u="x"===r.dim?0:1,h=t.position;h[u]+=e[u],h[u]=Math.min(s[1],h[u]),h[u]=Math.max(s[0],h[u]);var c=(l[1]+l[0])/2,d=[c,c];return d[u]=h[u],{position:h,rotation:t.rotation,cursorPoint:d,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][u]}}});function o(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var a={line:function(t,n,i){return{type:"Line",subPixelOptimize:!0,shape:e.makeLineShape([n,i[0]],[n,i[1]],s(t))}},shadow:function(t,n,i){var r=Math.max(1,t.getBandWidth()),o=i[1]-i[0];return{type:"Rect",shape:e.makeRectShape([n-r/2,i[0]],[r,o],s(t))}}};function s(t){return"x"===t.dim?0:1}return i.registerAxisPointerClass("CartesianAxisPointer",r),L6=r}function j6(){if(P6)return y6;P6=1;var t=s$(),e=bW(),n=_J(),i=_6();return function(){if(m6)return v6;m6=1;var t=s$().extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}});v6=t}(),function(){if(S6)return w6;S6=1;var t=s$(),e=C6(),n=t.extendComponentView({type:"axisPointer",render:function(t,n,i){var r=n.getComponent("tooltip"),o=t.get("triggerOn")||r&&r.get("triggerOn")||"mousemove|click";e.register("axisPointer",i,(function(t,e,n){"none"!==o&&("leave"===t||o.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},remove:function(t,i){e.unregister(i.getZr(),"axisPointer"),n.superApply(this._model,"remove",arguments)},dispose:function(t,i){e.unregister("axisPointer",i),n.superApply(this._model,"dispose",arguments)}});w6=n}(),X6(),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var n=t.axisPointer.link;n&&!e.isArray(n)&&(t.axisPointer.link=[n])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=n.collect(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},i),y6}function q6(){if(N6)return n6;N6=1;var t=s$();return function(){if(Q4)return i6;Q4=1;var t=r6();Oj().register("single",{create:function(e,n){var i=[];return e.eachComponent("singleAxis",(function(r,o){var a=new t(r,e,n);a.name="single_"+o,a.resize(r,n),r.coordinateSystem=a,i.push(a)})),e.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"singleAxis",index:t.get("singleAxisIndex"),id:t.get("singleAxisId")})[0];t.coordinateSystem=n&&n.coordinateSystem}})),i},dimensions:t.prototype.dimensions})}(),function(){if(s6)return a6;s6=1;var t=bW(),e=gJ(),n=zX(),i=c6(),r=bJ(),o=kJ(),a=o.rectCoordAxisBuildSplitArea,s=o.rectCoordAxisHandleRemove,l=["axisLine","axisTickLabel","axisName"],u=["splitArea","splitLine"],h=r.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(r,o,a,s){var c=this.group;c.removeAll();var d=this._axisGroup;this._axisGroup=new n.Group;var p=i.layout(r),f=new e(r,p);t.each(l,f.add,f),c.add(this._axisGroup),c.add(f.getGroup()),t.each(u,(function(t){r.get(t+".show")&&this["_"+t](r)}),this),n.groupTransition(d,this._axisGroup,r),h.superCall(this,"render",r,o,a,s)},remove:function(){s(this)},_splitLine:function(t){var e=t.axis;if(!e.scale.isBlank()){var i=t.getModel("splitLine"),r=i.getModel("lineStyle"),o=r.get("width"),a=r.get("color");a=a instanceof Array?a:[a];for(var s=t.coordinateSystem.getRect(),l=e.isHorizontal(),u=[],h=0,c=e.getTicksCoords({tickModel:i}),d=[],p=[],f=0;f0,I=y.height-(M?-1:1),T=(f-p)/(I||1),C=r.get("clockwise"),A=r.get("stillShowZeroSum"),D=C?1:-1,L=function(n,i){if(n){var r=i;if(n!==m){var o=n.getValue(),a=0===w&&A?S:o*S;a=0?"p":"n",O=S;if(b&&(l[h][k]||(l[h][k]={p:S,n:S}),O=l[h][k][P]),"radius"===f.dim){var R=f.dataToRadius(L)-S,N=a.dataToAngle(k);Math.abs(R)d?d=f:(p.lastTickCount=a,p.lastAutoInterval=d),d}},t.inherits(r,n),D8=r}(),n=function(n){this.name=n||"",this.cx=0,this.cy=0,this._radiusAxis=new t,this._angleAxis=new e,this._radiusAxis.polar=this._angleAxis.polar=this};return n.prototype={type:"polar",axisPointerEnabled:!0,constructor:n,dimensions:["radius","angle"],model:null,containPoint:function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},containData:function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},getAxis:function(t){return this["_"+t+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},dataToPoint:function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},pointToData:function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},pointToCoord:function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,u=la;)l+=360*u;return[s,l]},coordToPoint:function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},getArea:function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,r=n*n+i*i,o=this.r,a=this.r0;return r<=o*o&&r>=a*a}}}},k8=n}var N8,E8,z8,V8,B8,F8,G8,H8,W8,U8,Y8,Z8,X8,j8={};function q8(){if(z8)return E8;z8=1;var t=s$();!function(){if(N8)return j8;N8=1;var t=bW(),e=oj(),n=lJ(),i=VK(),r=e.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});t.merge(r.prototype,i);var o={splitNumber:5};function a(t,e){return e.type||(e.data?"category":"value")}n("angle",r,a,{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}}),n("radius",r,a,o)}();var e=t.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(t){var e;return this.ecModel.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});return E8=e}function K8(){if(V8)return O8;V8=1,cW().__DEV__;var t=bW(),e=R8(),n=YX().parsePercent,i=zK(),r=i.createScaleByModel,o=i.niceScaleExtent,a=Oj(),s=uK().getStackedDimension;function l(e,n){var i=this,r=i.getAngleAxis(),a=i.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),a.scale.setExtent(1/0,-1/0),e.eachSeries((function(e){if(e.coordinateSystem===i){var n=e.getData();t.each(n.mapDimension("radius",!0),(function(t){a.scale.unionExtentFromData(n,s(n,t))})),t.each(n.mapDimension("angle",!0),(function(t){r.scale.unionExtentFromData(n,s(n,t))}))}})),o(r.scale,r.model),o(a.scale,a.model),"category"===r.type&&!r.onBand){var l=r.getExtent(),u=360/r.scale.count();r.inverse?l[1]+=u:l[1]-=u,r.setExtent(l[0],l[1])}}function u(t,e){if(t.type=e.get("type"),t.scale=r(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType){t.inverse^=e.get("clockwise");var n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}q8();var h={dimensions:e.prototype.dimensions,create:function(i,r){var o=[];return i.eachComponent("polar",(function(i,a){var s=new e(a);s.update=l;var h=s.getRadiusAxis(),c=s.getAngleAxis(),d=i.findAxisModel("radiusAxis"),p=i.findAxisModel("angleAxis");u(h,d),u(c,p),function(e,i,r){var o=i.get("center"),a=r.getWidth(),s=r.getHeight();e.cx=n(o[0],a),e.cy=n(o[1],s);var l=e.getRadiusAxis(),u=Math.min(a,s)/2,h=i.get("radius");null==h?h=[0,"100%"]:t.isArray(h)||(h=[0,h]),h=[n(h[0],u),n(h[1],u)],l.inverse?l.setExtent(h[1],h[0]):l.setExtent(h[0],h[1])}(s,i,r),o.push(s),i.coordinateSystem=s,s.model=i})),i.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=i.queryComponents({mainType:"polar",index:t.get("polarIndex"),id:t.get("polarId")})[0];t.coordinateSystem=e.coordinateSystem}})),o}};return a.register("polar",h),O8}var $8,J8,Q8,t7,e7,n7,i7,r7,o7,a7,s7,l7,u7,h7,c7,d7,p7={},f7={},g7={};function v7(){if(h7)return g7;h7=1;var t={};return g7.register=function(e,n){t[e]=n},g7.get=function(e){return t[e]},g7}var m7,y7,x7,_7,b7,w7,S7,M7,I7,T7,C7,A7={};function D7(){if(m7)return A7;m7=1;var t=rj(),e=t.getLayoutRect,n=t.box,i=t.positionElement,r=ij(),o=zX();return A7.layout=function(t,r,o){var a=r.getBoxLayoutParams(),s=r.get("padding"),l={width:o.getWidth(),height:o.getHeight()},u=e(a,l,s);n(r.get("orient"),t,r.get("itemGap"),u.width,u.height),i(t,a,l,s)},A7.makeBackground=function(t,e){var n=r.normalizeCssArray(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new o.Rect({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})},A7}function L7(){if(C7)return T7;C7=1,cW().__DEV__;var t=bW(),e=zX(),n=AY(),i=d3(),r=t.each,o=t.indexOf,a=t.curry,s=["dataToPoint","pointToData"],l=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function u(t,e,n){var i=this._targetInfoList=[],a={},s=d(e,t);r(p,(function(t,e){(!n||!n.include||o(n.include,e)>=0)&&t(s,i,a)}))}var h=u.prototype;function c(t){return t[0]>t[1]&&t.reverse(),t}function d(t,e){return n.parseFinder(t,e,{includeMainTypes:l})}h.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=v[t.brushType](0,n,e);t.__rangeOffset={offset:y[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}}))},h.matchOutputRanges=function(e,n,i){r(e,(function(e){var r=this.findTargetInfo(e,n);r&&!0!==r&&t.each(r.coordSyses,(function(t){var r=v[e.brushType](1,t,e.range);i(e,r.values,t,n)}))}),this)},h.setInputRanges=function(t,e){r(t,(function(t){var n,i,r,o,a,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=v[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?y[t.brushType](l.values,u.offset,(n=l.xyMinMax,i=u.xyMinMax,r=_(n),o=_(i),a=[r[0]/o[0],r[1]/o[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}}),this)},h.makePanelOpts=function(e,n){return t.map(this._targetInfoList,(function(t){var r=t.getPanelRect();return{panelId:t.panelId,defaultBrushType:n&&n(t),clipPath:i.makeRectPanelClipPath(r),isTargetByCursor:i.makeRectIsTargetByCursor(r,e,t.coordSysModel),getLinearBrushOtherExtent:i.makeLinearBrushOtherExtent(r)}}))},h.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&o(i.coordSyses,e.coordinateSystem)>=0},h.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=d(e,t),r=0;r=0||o(a,t.getAxis("y").model)>=0)&&s.push(t)})),n.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:s[0],coordSyses:s,getPanelRect:g.grid,xAxisDeclared:u[t.id],yAxisDeclared:h[t.id]})})))},geo:function(t,e){r(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:g.geo})}))}},f=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],g={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var t=this.coordSys,n=t.getBoundingRect().clone();return n.applyTransform(e.getTransform(t)),n}},v={lineX:a(m,0),lineY:a(m,1),rect:function(t,e,n){var i=e[s[t]]([n[0][0],n[1][0]]),r=e[s[t]]([n[0][1],n[1][1]]),o=[c([i[0],r[0]]),c([i[1],r[1]])];return{values:o,xyMinMax:o}},polygon:function(e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:t.map(i,(function(t){var i=n[s[e]](t);return r[0][0]=Math.min(r[0][0],i[0]),r[1][0]=Math.min(r[1][0],i[1]),r[0][1]=Math.max(r[0][1],i[0]),r[1][1]=Math.max(r[1][1],i[1]),i})),xyMinMax:r}}};function m(e,n,i,r){var o=i.getAxis(["x","y"][e]),a=c(t.map([0,1],(function(t){return n?o.coordToData(o.toLocalCoord(r[t])):o.toGlobalCoord(o.dataToCoord(r[t]))}))),s=[];return s[e]=a,s[1-e]=[NaN,NaN],{values:a,xyMinMax:s}}var y={lineX:a(x,0),lineY:a(x,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(e,n,i){return t.map(e,(function(t,e){return[t[0]-i[0]*n[e][0],t[1]-i[1]*n[e][1]]}))}};function x(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function _(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}return T7=u}var k7,P7={};function O7(){if(k7)return P7;k7=1;var t=bW().each,e="\0_ec_hist_store";function n(t){var n=t[e];return n||(n=t[e]=[{}]),n}return P7.push=function(e,i){var r=n(e);t(i,(function(t,n){for(var i=r.length-1;i>=0&&!r[i][n];i--);if(i<0){var o=e.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(o){var a=o.getPercentRange();r[0][n]={dataZoomId:n,start:a[0],end:a[1]}}}})),r.push(i)},P7.pop=function(e){var i=n(e),r=i[i.length-1];i.length>1&&i.pop();var o={};return t(r,(function(t,e){for(var n=i.length-1;n>=0;n--)if(t=i[n][e]){o[e]=t;break}})),o},P7.clear=function(t){t[e]=null},P7.count=function(t){return n(t).length},P7}var R7,N7={};function E7(){return R7||(R7=1,oj().registerSubTypeDefaulter("dataZoom",(function(){return"slider"}))),N7}var z7,V7,B7,F7,G7,H7,W7,U7,Y7,Z7,X7,j7={};function q7(){if(z7)return j7;z7=1;var t=bW(),e=ij(),n=["cartesian2d","polar","singleAxis"];function i(n,i){n=n.slice();var r=t.map(n,e.capitalFirst);i=(i||[]).slice();var o=t.map(i,e.capitalFirst);return function(e,a){t.each(n,(function(t,n){for(var s={name:t,capital:r[n]},l=0;l=0},j7.createNameEach=i,j7.eachAxisDim=r,j7.createLinkedNodesFinder=function(e,n,i){return function(o){var a,s={nodes:[],records:{}};if(n((function(t){s.records[t.name]={}})),!o)return s;r(o,s);do{a=!1,e(l)}while(a);function l(e){!function(e,n){return t.indexOf(n.nodes,e)>=0}(e,s)&&function(e,r){var o=!1;return n((function(n){t.each(i(e,n)||[],(function(t){r.records[n.name][t]&&(o=!0)}))})),o}(e,s)&&(r(e,s),a=!0)}return s};function r(e,r){r.nodes.push(e),n((function(n){t.each(i(e,n)||[],(function(t){r.records[n.name][t]=!0}))}))}},j7}function K7(){if(B7)return V7;B7=1;var t=bW(),e=YX(),n=q7(),i=W5(),r=t.each,o=e.asc,a=function(t,e,n,i){this._dimName=t,this._axisIndex=e,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=i,this._dataZoomModel=n};function s(t,n){var i=t.getAxisModel(),r=t._percentWindow,o=t._valueWindow;if(r){var a=e.getPixelPrecision(o,[0,500]);a=Math.min(a,20);var s=n||0===r[0]&&100===r[1];i.setRange(s?null:+o[0].toFixed(a),s?null:+o[1].toFixed(a))}}return a.prototype={constructor:a,hostedBy:function(t){return this._dataZoomModel===t},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var t=[],e=this.ecModel;return e.eachSeries((function(i){if(n.isCoordSupported(i.get("coordinateSystem"))){var r=this._dimName,o=e.queryComponents({mainType:r+"Axis",index:i.get(r+"AxisIndex"),id:i.get(r+"AxisId")})[0];this._axisIndex===(o&&o.componentIndex)&&t.push(i)}}),this),t},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var t,e,n,i=this._dimName,r=this.ecModel,o=this.getAxisModel();return"x"===i||"y"===i?(e="gridIndex",t="x"===i?"y":"x"):(e="polarIndex",t="angle"===i?"radius":"angle"),r.eachComponent(t+"Axis",(function(t){(t.get(e)||0)===(o.get(e)||0)&&(n=t)})),n},getMinMaxSpan:function(){return t.clone(this._minMaxSpan)},calculateDataWindow:function(t){var n,a=this._dataExtent,s=this.getAxisModel().axis.scale,l=this._dataZoomModel.getRangePropMode(),u=[0,100],h=[],c=[];r(["start","end"],(function(i,r){var o=t[i],d=t[i+"Value"];"percent"===l[r]?(null==o&&(o=u[r]),d=s.parse(e.linearMap(o,u,a))):(n=!0,d=null==d?a[r]:s.parse(d),o=e.linearMap(d,a,u)),c[r]=d,h[r]=o})),o(c),o(h);var d=this._minMaxSpan;function p(t,n,r,o,a){var l=a?"Span":"ValueSpan";i(0,t,r,"all",d["min"+l],d["max"+l]);for(var u=0;u<2;u++)n[u]=e.linearMap(t[u],r,o,!0),a&&(n[u]=s.parse(n[u]))}return n?p(c,h,a,u,!1):p(h,c,u,a,!0),{valueWindow:c,percentWindow:h}},reset:function(t){if(t===this._dataZoomModel){var n=this.getTargetSeriesModels();this._dataExtent=(o=this,a=this._dimName,l=[1/0,-1/0],r(n,(function(t){var e=t.getData();e&&r(e.mapDimension(a,!0),(function(t){var n=e.getApproximateExtent(t);n[0]l[1]&&(l[1]=n[1])}))})),l[1]0?0:NaN);var a=n.getMax(!0);null!=a&&"dataMax"!==a&&"function"!=typeof a?e[1]=a:r&&(e[1]=o>0?o-1:NaN),n.get("scale",!0)||(e[0]>0&&(e[0]=0),e[1]<0&&(e[1]=0))}(o,l),l),function(t){var n=t._minMaxSpan={},i=t._dataZoomModel,o=t._dataExtent;r(["min","max"],(function(r){var a=i.get(r+"Span"),s=i.get(r+"ValueSpan");null!=s&&(s=t.getAxisModel().axis.scale.parse(s)),null!=s?a=e.linearMap(o[0]+s,o,[0,100],!0):null!=a&&(s=e.linearMap(a,[0,100],o,!0)-o[0]),n[r+"Span"]=a,n[r+"ValueSpan"]=s}))}(this);var i=this.calculateDataWindow(t.settledOption);this._valueWindow=i.valueWindow,this._percentWindow=i.percentWindow,s(this)}var o,a,l},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,s(this,!0))},filterData:function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),o=t.get("filterMode"),a=this._valueWindow;"none"!==o&&r(i,(function(t){var e=t.getData(),i=e.mapDimension(n,!0);i.length&&("weakFilter"===o?e.filterSelf((function(t){for(var n,r,o,s=0;sa[1];if(u&&!h&&!c)return!0;u&&(o=!0),h&&(n=!0),c&&(r=!0)}return o&&n&&r})):r(i,(function(n){if("empty"===o)t.setData(e=e.map(n,(function(t){return function(t){return t>=a[0]&&t<=a[1]}(t)?t:NaN})));else{var i={};i[n]=a,e.selectRange(i)}})),r(i,(function(t){e.setApproximateExtent(a,t)})))}))}}},V7=a}function $7(){if(G7)return F7;G7=1,cW().__DEV__;var t=s$(),e=bW(),n=yW(),i=AY(),r=q7(),o=K7(),a=e.each,s=r.eachAxisDim,l=t.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(t,e,n){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var i=u(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this.doInit(i)},mergeOption:function(t){var n=u(t);e.merge(this.option,t,!0),e.merge(this.settledOption,n,!0),this.doInit(n)},doInit:function(t){var e=this.option;n.canvasSupported||(e.realtime=!1),this._setDefaultThrottle(t),h(this,t);var i=this.settledOption;a([["start","startValue"],["end","endValue"]],(function(t,n){"value"===this._rangePropMode[n]&&(e[t[0]]=i[t[0]]=null)}),this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis((function(e,n,i,r){var a=this.dependentModels[e.axis][n],s=a.__dzAxisProxy||(a.__dzAxisProxy=new o(e.name,n,this,r));t[e.name+"_"+n]=s}),this)},_resetTarget:function(){var t=this.option,e=this._judgeAutoMode();s((function(e){var n=e.axisIndex;t[n]=i.normalizeToArray(t[n])}),this),"axisIndex"===e?this._autoSetAxisIndex():"orient"===e&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,e=!1;s((function(n){null!=t[n.axisIndex]&&(e=!0)}),this);var n=t.orient;return null==n&&e?"orient":e?void 0:(null==n&&(t.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var t=!0,n=this.get("orient",!0),i=this.option,r=this.dependentModels;if(t){var o="vertical"===n?"y":"x";r[o+"Axis"].length?(i[o+"AxisIndex"]=[0],t=!1):a(r.singleAxis,(function(e){t&&e.get("orient",!0)===n&&(i.singleAxisIndex=[e.componentIndex],t=!1)}))}t&&s((function(e){if(t){var n=[],r=this.dependentModels[e.axis];if(r.length&&!n.length)for(var o=0,a=r.length;o0?100:20}},getFirstTargetAxisModel:function(){var t;return s((function(e){if(null==t){var n=this.get(e.axisIndex);n.length&&(t=this.dependentModels[e.axis][n[0]])}}),this),t},eachTargetAxis:function(t,e){var n=this.ecModel;s((function(i){a(this.get(i.axisIndex),(function(r){t.call(e,i,r,this,n)}),this)}),this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){var n=this.getAxisProxy(t,e);return n&&n.getAxisModel()},setRawRange:function(t){var e=this.option,n=this.settledOption;a([["start","startValue"],["end","endValue"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),h(this,t)},setCalculatedRange:function(t){var e=this.option;a(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var e=this._axisProxies;for(var n in e)if(e.hasOwnProperty(n)&&e[n].hostedBy(this))return e[n];for(var n in e)if(e.hasOwnProperty(n)&&!e[n].hostedBy(this))return e[n]},getRangePropMode:function(){return this._rangePropMode.slice()}});function u(t){var e={};return a(["start","end","startValue","endValue","throttle"],(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}function h(t,e){var n=t._rangePropMode,i=t.get("rangeMode");a([["start","startValue"],["end","endValue"]],(function(t,r){var o=null!=e[t[0]],a=null!=e[t[1]];o&&!a?n[r]="percent":!o&&a?n[r]="value":i?n[r]=i[r]:o&&(n[r]="percent")}))}return F7=l}function J7(){if(W7)return H7;W7=1;var t=eq().extend({type:"dataZoom",render:function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},getTargetCoordInfo:function(){var t=this.dataZoomModel,e=this.ecModel,n={};return t.eachTargetAxis((function(t,i){var r=e.getComponent(t.axis,i);if(r){var o=r.getCoordSysModel();o&&function(t,e,n,i){for(var r,o=0;oe[0][1]&&(e[0][1]=o[0]),o[1]e[1][1]&&(e[1][1]=o[1])}return e&&v(e)}};function v(t){return new n(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}return P9.layoutCovers=c,P9}var E9,z9,V9,B9,F9,G9,H9,W9,U9,Y9,Z9,X9,j9,q9,K9,$9,J9,Q9,ttt,ett,ntt={},itt={},rtt={},ott={},att={};function stt(){if(K9)return q9;K9=1;var t=eq().extend({type:"timeline"});return q9=t}var ltt,utt,htt,ctt,dtt={};function ptt(){if(utt)return ltt;utt=1,cW().__DEV__;var t=s$(),e=bW(),n=yW(),i=AY(),r=ij(),o=Hj(),a=r.addCommas,s=r.encodeHTML;function l(t){i.defaultEmphasis(t,"label",["show"])}var u=t.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},isAnimationEnabled:function(){if(n.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},mergeOption:function(t,e){this._mergeOption(t,e,!1,!1)},_mergeOption:function(t,n,i,r){var o=this.constructor,a=this.mainType+"Model";i||n.eachSeries((function(t){var i=t.get(this.mainType,!0),s=t[a];i&&i.data?(s?s._mergeOption(i,n,!0):(r&&l(i),e.each(i.data,(function(t){t instanceof Array?(l(t[0]),l(t[1])):l(t)})),s=new o(i,this,n),e.extend(s,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),s.__hostSeries=t),t[a]=s):t[a]=null}),this)},formatTooltip:function(t,n,i,r){var o=this.getData(),l=this.getRawValue(t),u=e.isArray(l)?e.map(l,a).join(", "):a(l),h=o.getName(t),c=s(this.name);return(null!=l||h)&&(c+="html"===r?"
":"\n"),h&&(c+=s(h),null!=l&&(c+=" : ")),null!=l&&(c+=s(u)),c},getData:function(){return this._data},setData:function(t){this._data=t}});return e.mixin(u,o),ltt=u}var ftt,gtt,vtt,mtt,ytt,xtt,_tt={};function btt(){if(ftt)return _tt;ftt=1;var t=bW(),e=YX(),n=uK().isDimensionStacked,i=t.indexOf;function r(t,i,r,o,a,s){var u=[],h=n(i,o)?i.getCalculationInfo("stackResultDimension"):o,c=l(i,h,t),d=i.indicesOfNearest(h,c)[0];u[a]=i.get(r,d),u[s]=i.get(h,d);var p=i.get(o,d),f=e.getPrecision(i.get(o,d));return(f=Math.min(f,20))>=0&&(u[s]=+u[s].toFixed(f)),[u,p]}var o=t.curry,a={min:o(r,"min"),max:o(r,"max"),average:o(r,"average")};function s(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData(),i=n.dimensions;e=n.getDimension(e);for(var r=0;r=0},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}});return Ptt=a}var Btt,Ftt,Gtt,Htt,Wtt,Utt,Ytt,Ztt,Xtt,jtt,qtt={};function Ktt(){if(Gtt)return Ftt;Gtt=1,cW().__DEV__;var t=s$(),e=bW(),n=HK().createSymbol,i=zX(),r=D7().makeBackground,o=rj(),a=e.curry,s=e.each,l=i.Group,u=t.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new l),this._backgroundEl,this.group.add(this._selectorGroup=new l),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(t,n,i){var a=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var s=t.get("align"),l=t.get("orient");s&&"auto"!==s||(s="right"===t.get("left")&&"vertical"===l?"right":"left");var u=t.get("selector",!0),h=t.get("selectorPosition",!0);!u||h&&"auto"!==h||(h="horizontal"===l?"end":"start"),this.renderInner(s,t,n,i,u,l,h);var c=t.getBoxLayoutParams(),d={width:i.getWidth(),height:i.getHeight()},p=t.get("padding"),f=o.getLayoutRect(c,d,p),g=this.layoutInner(t,s,f,a,u,h),v=o.getLayoutRect(e.defaults({width:g.width,height:g.height},c),d,p);this.group.attr("position",[v.x-g.x,v.y-g.y]),this.group.add(this._backgroundEl=r(g,t))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(t,n,i,r,o,u,h){var f=this.getContentGroup(),g=e.createHashMap(),v=n.get("selectedMode"),m=[];i.eachRawSeries((function(t){!t.get("legendHoverLink")&&m.push(t.id)})),s(n.getData(),(function(e,o){var s=e.get("name");if(this.newlineDisabled||""!==s&&"\n"!==s){var u=i.getSeriesByName(s)[0];if(!g.get(s))if(u){var h=u.getData(),y=h.getVisual("color"),x=h.getVisual("borderColor");"function"==typeof y&&(y=y(u.getDataParams(0))),"function"==typeof x&&(x=x(u.getDataParams(0)));var _=h.getVisual("legendSymbol")||"roundRect",b=h.getVisual("symbol");this._createItem(s,o,e,n,_,b,t,y,x,v).on("click",a(c,s,null,r,m)).on("mouseover",a(d,u.name,null,r,m)).on("mouseout",a(p,u.name,null,r,m)),g.set(s,!0)}else i.eachRawSeries((function(i){if(!g.get(s)&&i.legendVisualProvider){var l=i.legendVisualProvider;if(!l.containName(s))return;var u=l.indexOfName(s),h=l.getItemVisual(u,"color"),f=l.getItemVisual(u,"borderColor");this._createItem(s,o,e,n,"roundRect",null,t,h,f,v).on("click",a(c,null,s,r,m)).on("mouseover",a(d,null,s,r,m)).on("mouseout",a(p,null,s,r,m)),g.set(s,!0)}}),this)}else f.add(new l({newline:!0}))}),this),o&&this._createSelector(o,n,r,u,h)},_createSelector:function(t,e,n,r,o){var a=this.getSelectorGroup();s(t,(function(t){!function(t){var r=t.type,o=new i.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===r?"legendAllSelect":"legendInverseSelect"})}});a.add(o);var s=e.getModel("selectorLabel"),l=e.getModel("emphasis.selectorLabel");i.setLabelStyle(o.style,o.hoverStyle={},s,l,{defaultText:t.title,isRectText:!1}),i.setHoverStyle(o)}(t)}))},_createItem:function(t,r,o,a,s,u,c,d,p,f){var g=a.get("itemWidth"),v=a.get("itemHeight"),m=a.get("inactiveColor"),y=a.get("inactiveBorderColor"),x=a.get("symbolKeepAspect"),_=a.getModel("itemStyle"),b=a.isSelected(t),w=new l,S=o.getModel("textStyle"),M=o.get("icon"),I=o.getModel("tooltip"),T=I.parentModel,C=n(s=M||s,0,0,g,v,b?d:m,null==x||x);if(w.add(h(C,s,_,p,y,b)),!M&&u&&(u!==s||"none"===u)){var A=.8*v;"none"===u&&(u="circle");var D=n(u,(g-A)/2,(v-A)/2,A,A,b?d:m,null==x||x);w.add(h(D,u,_,p,y,b))}var L="left"===c?g+5:-5,k=c,P=a.get("formatter"),O=t;"string"==typeof P&&P?O=P.replace("{name}",null!=t?t:""):"function"==typeof P&&(O=P(t)),w.add(new i.Text({style:i.setTextStyle({},S,{text:O,x:L,y:v/2,textFill:b?S.getTextColor():m,textAlign:k,textVerticalAlign:"middle"})}));var R=new i.Rect({shape:w.getBoundingRect(),invisible:!0,tooltip:I.get("show")?e.extend({content:t,formatter:T.get("formatter",!0)||function(){return t},formatterParams:{componentType:"legend",legendIndex:a.componentIndex,name:t,$vars:["name"]}},I.option):null});return w.add(R),w.eachChild((function(t){t.silent=!0})),R.silent=!f,this.getContentGroup().add(w),i.setHoverStyle(w),w.__legendDataIndex=r,w},layoutInner:function(t,e,n,i,r,a){var s=this.getContentGroup(),l=this.getSelectorGroup();o.box(t.get("orient"),s,t.get("itemGap"),n.width,n.height);var u=s.getBoundingRect(),h=[-u.x,-u.y];if(r){o.box("horizontal",l,t.get("selectorItemGap",!0));var c=l.getBoundingRect(),d=[-c.x,-c.y],p=t.get("selectorButtonGap",!0),f=t.getOrient().index,g=0===f?"width":"height",v=0===f?"height":"width",m=0===f?"y":"x";"end"===a?d[f]+=u[g]+p:h[f]+=c[g]+p,d[1-f]+=u[v]/2-c[v]/2,l.attr("position",d),s.attr("position",h);var y={x:0,y:0};return y[g]=u[g]+p+c[g],y[v]=Math.max(u[v],c[v]),y[m]=Math.min(0,c[m]+d[1-f]),y}return s.attr("position",h),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function h(t,e,n,i,r,o){var a;return"line"!==e&&e.indexOf("empty")<0?(a=n.getItemStyle(),t.style.stroke=i,o||(a.stroke=r)):a=n.getItemStyle(["borderWidth","borderColor"]),t.setStyle(a)}function c(t,e,n,i){p(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),d(t,e,n,i)}function d(t,e,n,i){var r=n.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function p(t,e,n,i){var r=n.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}return Ftt=u}function $tt(){return Wtt||(Wtt=1,Htt=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var n=0;n0&&e%m)v+=g;else{var n=null==t||isNaN(t)||""===t,i=n?0:u(t,s,c,!0);n&&!h&&e?(p.push([p[p.length-1][0],0]),f.push([f[f.length-1][0],0])):!n&&h&&(p.push([v,0]),f.push([v,0])),p.push([v,i]),f.push([v,i]),v+=g,h=n}}));var y=this.dataZoomModel;this._displayables.barGroup.add(new n.Polygon({shape:{points:p},style:t.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new n.Polyline({shape:{points:f},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var e=this.dataZoomModel,n=e.get("showDataShadow");if(!1!==n){var i,r=this.ecModel;return e.eachTargetAxis((function(o,a){var s=e.getAxisProxy(o.name,a).getTargetSeriesModels();t.each(s,(function(e){if(!(i||!0!==n&&t.indexOf(g,e.get("type"))<0)){var s,l=r.getComponent(o.axis,a).axis,u={x:"y",y:"x",radius:"angle",angle:"radius"}[o.name],h=e.coordinateSystem;null!=u&&h.getOtherAxis&&(s=h.getOtherAxis(l).inverse),u=e.getData().mapDimension(u),i={thisAxis:l,series:e,thisDim:o.name,otherDim:u,otherAxisInverse:s}}}),this)}),this),i}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],i=t.handleLabels=[],r=this._displayables.barGroup,a=this._size,s=this.dataZoomModel;r.add(t.filler=new l({draggable:!0,cursor:m(this._orient),drift:c(this._onDragMove,this,"all"),ondragstart:c(this._showDataInfo,this,!0),ondragend:c(this._onDragEnd,this),onmouseover:c(this._showDataInfo,this,!0),onmouseout:c(this._showDataInfo,this,!1),style:{fill:s.get("fillerColor"),textPosition:"inside"}})),r.add(new l({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:a[0],height:a[1]},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),d([0,1],(function(t){var a=n.createIcon(s.get("handleIcon"),{cursor:m(this._orient),draggable:!0,drift:c(this._onDragMove,this,t),ondragend:c(this._onDragEnd,this),onmouseover:c(this._showDataInfo,this,!0),onmouseout:c(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),l=a.getBoundingRect();this._handleHeight=o.parsePercent(s.get("handleSize"),this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,a.setStyle(s.getModel("handleStyle").getItemStyle());var u=s.get("handleColor");null!=u&&(a.style.fill=u),r.add(e[t]=a);var h=s.textStyleModel;this.group.add(i[t]=new n.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:h.getTextColor(),textFont:h.getFont()},z2:10}))}),this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[u(t[0],[0,100],e,!0),u(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];s(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?u(o.minSpan,a,r,!0):null,null!=o.maxSpan?u(o.maxSpan,a,r,!0):null);var l=this._range,c=this._range=h([u(i[0],r,a,!0),u(i[1],r,a,!0)]);return!l||l[0]!==c[0]||l[1]!==c[1]},_updateView:function(t){var e=this._displayables,n=this._handleEnds,i=h(n.slice()),r=this._size;d([0,1],(function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scale:[o/2,o/2],position:[n[t],r[1]/2-o/2]})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){var e=this.dataZoomModel,i=this._displayables,r=i.handleLabels,o=this._orient,a=["",""];if(e.get("showDetail")){var s=e.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,c=t?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();a=[this._formatLabel(c[0],l),this._formatLabel(c[1],l)]}}var d=h(this._handleEnds.slice());function f(t){var e=n.getTransform(i.handles[t].parent,this.group),s=n.transformDirection(0===t?"right":"left",e),l=this._handleWidth/2+5,u=n.applyTransform([d[t]+(0===t?-l:l),this._size[1]/2],e);r[t].setStyle({x:u[0],y:u[1],textVerticalAlign:o===p?"middle":s,textAlign:o===p?s:"center",text:a[t]})}f.call(this,0),f.call(this,1)},_formatLabel:function(e,n){var i=this.dataZoomModel,r=i.get("labelFormatter"),o=i.get("labelPrecision");null!=o&&"auto"!==o||(o=n.getPixelPrecision());var a=null==e||isNaN(e)?"":"category"===n.type||"time"===n.type?n.scale.getLabel(Math.round(e)):e.toFixed(Math.min(o,20));return t.isFunction(r)?r(e,a):t.isString(r)?r.replace("{value}",a):a},_showDataInfo:function(t){t=this._dragging||t;var e=this._displayables.handleLabels;e[0].attr("invisible",!t),e[1].attr("invisible",!t)},_onDragMove:function(t,i,r,o){this._dragging=!0,e.stop(o.event);var a=this._displayables.barGroup.getLocalTransform(),s=n.applyTransform([i,r],a,!0),l=this._updateInterval(t,s[0]),u=this.dataZoomModel.get("realtime");this._updateView(!u),l&&u&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size,n=this._displayables.barGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>e[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_findCoordRect:function(){var t;if(d(this.getTargetCoordInfo(),(function(e){if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}})),!t){var e=this.api.getWidth(),n=this.api.getHeight();t={x:.2*e,y:.2*n,width:.6*e,height:.6*n}}return t}});function m(t){return"vertical"===t?"ns-resize":"ew-resize"}iet=v}(),e9(),h9()),set}var het,cet,det,pet,fet,get,vet,met={},yet={};function xet(){if(det)return yet;det=1;var t=bW(),e=T0(),n=_q(),i="\0_ec_dataZoom_roams";function r(t){var e=t.getZr();return e[i]||(e[i]={})}function o(e){t.each(e,(function(t,n){t.count||(t.controller.dispose(),delete e[n])}))}function a(t,e){t.dispatchAction({type:"dataZoom",batch:e})}return yet.register=function(i,s){var l=r(i),u=s.dataZoomId,h=s.coordId;t.each(l,(function(e,n){var i=e.dataZoomInfos;i[u]&&t.indexOf(s.allCoordIds,h)<0&&(delete i[u],e.count--)})),o(l);var c=l[h];c||((c=l[h]={coordId:h,dataZoomInfos:{},count:0}).controller=function(n,i){var r=new e(n.getZr());return t.each(["pan","zoom","scrollMove"],(function(e){r.on(e,(function(n){var r=[];t.each(i.dataZoomInfos,(function(t){if(n.isAvailableBehavior(t.dataZoomModel.option)){var o=(t.getRange||{})[e],a=o&&o(i.controller,n);!t.dataZoomModel.get("disabled",!0)&&a&&r.push({dataZoomId:t.dataZoomId,start:a[0],end:a[1]})}})),r.length&&i.dispatchAction(r)}))})),r}(i,c),c.dispatchAction=t.curry(a,i)),!c.dataZoomInfos[u]&&c.count++,c.dataZoomInfos[u]=s;var d,p,f,g,v,m=(d=c.dataZoomInfos,f="type_",g={type_true:2,type_move:1,type_false:0,type_undefined:-1},v=!0,t.each(d,(function(t){var e=t.dataZoomModel,n=!e.get("disabled",!0)&&(!e.get("zoomLock",!0)||"move");g[f+n]>g[f+p]&&(p=n),v&=e.get("preventDefaultMouseMove",!0)})),{controlType:p,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!v}});c.controller.enable(m.controlType,m.opt),c.controller.setPointerChecker(s.containsPoint),n.createOrUpdate(c,"dispatchAction",s.dataZoomModel.get("throttle",!0),"fixRate")},yet.unregister=function(e,n){var i=r(e);t.each(i,(function(t){t.controller.dispose();var e=t.dataZoomInfos;e[n]&&(delete e[n],t.count--)})),o(i)},yet.generateCoordId=function(t){return t.type+"\0_"+t.id},yet}function _et(){return get||(get=1,E7(),$7(),J7(),function(){if(cet)return het;cet=1;var t=$7().extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});het=t}(),function(){if(fet)return pet;fet=1;var t=bW(),e=J7(),n=W5(),i=xet(),r=t.bind,o=e.extend({type:"dataZoom.inside",init:function(t,e){this._range},render:function(e,n,s,l){o.superApply(this,"render",arguments),this._range=e.getPercentRange(),t.each(this.getTargetCoordInfo(),(function(n,o){var l=t.map(n,(function(t){return i.generateCoordId(t.model)}));t.each(n,(function(n){var u=n.model,h={};t.each(["pan","zoom","scrollMove"],(function(t){h[t]=r(a[t],this,n,o)}),this),i.register(s,{coordId:i.generateCoordId(u),allCoordIds:l,containsPoint:function(t,e,n){return u.coordinateSystem.containPoint([e,n])},dataZoomId:e.id,dataZoomModel:e,getRange:h})}),this)}),this)},dispose:function(){i.unregister(this.api,this.dataZoomModel.id),o.superApply(this,"dispose",arguments),this._range=null}}),a={zoom:function(t,e,i,r){var o=this._range,a=o.slice(),s=t.axisModels[0];if(s){var u=l[e](null,[r.originX,r.originY],s,i,t),h=(u.signal>0?u.pixelStart+u.pixelLength-u.pixel:u.pixel-u.pixelStart)/u.pixelLength*(a[1]-a[0])+a[0],c=Math.max(1/r.scale,0);a[0]=(a[0]-h)*c+h,a[1]=(a[1]-h)*c+h;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return n(0,a,[0,100],0,d.minSpan,d.maxSpan),this._range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}},pan:s((function(t,e,n,i,r,o){var a=l[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:s((function(t,e,n,i,r,o){return l[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta}))};function s(t){return function(e,i,r,o){var a=this._range,s=a.slice(),l=e.axisModels[0];if(l){var u=t(s,l,e,i,r,o);return n(u,s,[0,100],"all"),this._range=s,a[0]!==s[0]||a[1]!==s[1]?s:void 0}}}var l={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}};pet=o}(),e9(),h9()),met}var bet,wet,Set={};function Met(){if(wet)return bet;wet=1;var t=bW(),e=t.each;function n(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}return bet=function(i){var r=i&&i.visualMap;t.isArray(r)||(r=r?[r]:[]),e(r,(function(i){if(i){n(i,"splitList")&&!n(i,"pieces")&&(i.pieces=i.splitList,delete i.splitList);var r=i.pieces;r&&t.isArray(r)&&e(r,(function(e){t.isObject(e)&&(n(e,"start")&&!n(e,"min")&&(e.min=e.start),n(e,"end")&&!n(e,"max")&&(e.max=e.end))}))}}))},bet}var Iet,Tet={};function Cet(){return Iet||(Iet=1,oj().registerSubTypeDefaulter("visualMap",(function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"}))),Tet}var Aet,Det,Let,ket,Pet,Oet,Ret,Net,Eet,zet={};function Vet(){if(Aet)return zet;Aet=1;var t=s$(),e=bW(),n=R9(),i=t2(),r=t.PRIORITY.VISUAL.COMPONENT;function o(t,e,n,r){for(var o=e.targetVisuals[r],a=i.prepareVisualTypes(o),s={color:t.getData().getVisual("color")},l=0,u=a.length;l"],e.isArray(t)&&(t=t.slice(),r=!0),o=n?t:r?[h(t[0]),h(t[1])]:h(t),e.isString(u)?u.replace("{value}",r?o[0]:o).replace("{value2}",r?o[1]:o):e.isFunction(u)?r?u(t[0],t[1]):u(t):r?t[0]===l[0]?i[0]+" "+o[1]:t[1]===l[1]?i[1]+" "+o[0]:o[0]+" - "+o[1]:o;function h(t){return t===l[0]?"min":t===l[1]?"max":(+t).toFixed(Math.min(s,20))}},resetExtent:function(){var t=this.option,e=d([t.min,t.max]);this._dataExtent=e},getDataDimension:function(t){var e=this.option.dimension,n=t.dimensions;if(null!=e||n.length){if(null!=e)return t.getDimension(e);for(var i=t.dimensions,r=i.length-1;r>=0;r--){var o=i[r];if(!t.getDimensionInfo(o).isCalculationCoord)return o}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var t=this.ecModel,n=this.option,o={inRange:n.inRange,outOfRange:n.outOfRange},a=n.target||(n.target={}),s=n.controller||(n.controller={});e.merge(a,o),e.merge(s,o);var d=this.isCategory();function f(r){h(n.color)&&!r.inRange&&(r.inRange={color:n.color.slice().reverse()}),r.inRange=r.inRange||{color:t.get("gradientColor")},c(this.stateList,(function(t){var n=r[t];if(e.isString(n)){var o=i.get(n,"active",d);o?(r[t]={},r[t][n]=o):delete r[t]}}),this)}f.call(this,a),f.call(this,s),function(t,e,n){var o=t[e],a=t[n];o&&!a&&(a=t[n]={},c(o,(function(t,e){if(r.isValidType(e)){var n=i.get(e,"inactive",d);null!=n&&(a[e]=n,"color"!==e||a.hasOwnProperty("opacity")||a.hasOwnProperty("colorAlpha")||(a.opacity=[0,0]))}})))}.call(this,a,"inRange","outOfRange"),function(t){var n=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,i=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,r=this.get("inactiveColor");c(this.stateList,(function(o){var a=this.itemSize,s=t[o];s||(s=t[o]={color:d?r:[r]}),null==s.symbol&&(s.symbol=n&&e.clone(n)||(d?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=i&&e.clone(i)||(d?a[0]:[a[0],a[0]])),s.symbol=l(s.symbol,(function(t){return"none"===t||"square"===t?"roundRect":t}));var h=s.symbolSize;if(null!=h){var c=-1/0;u(h,(function(t){t>c&&(c=t)})),s.symbolSize=l(h,(function(t){return p(t,[0,c],[0,a[0]],!0)}))}}),this)}.call(this,s)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:f,getValueState:f,getVisualMeta:f});return ket=g}function Get(){if(Eet)return Net;Eet=1;var t=s$(),e=bW(),n=zX(),i=ij(),r=rj(),o=t2(),a=t.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(t,e){this.ecModel=t,this.api=e,this.visualMapModel},render:function(t,e,n,i){this.visualMapModel=t,!1!==t.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(t){var e=this.visualMapModel,r=i.normalizeCssArray(e.get("padding")||0),o=t.getBoundingRect();t.add(new n.Rect({z2:-1,silent:!0,shape:{x:o.x-r[3],y:o.y-r[0],width:o.width+r[3]+r[1],height:o.height+r[0]+r[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},getControllerVisual:function(t,n,i){var r=(i=i||{}).forceState,a=this.visualMapModel,s={};if("symbol"===n&&(s.symbol=a.get("itemSymbol")),"color"===n){var l=a.get("contentColor");s.color=l}function u(t){return s[t]}function h(t,e){s[t]=e}var c=a.controllerVisuals[r||a.getValueState(t)],d=o.prepareVisualTypes(c);return e.each(d,(function(e){var r=c[e];i.convertOpacityToAlpha&&"opacity"===e&&(e="colorAlpha",r=c.__alphaForOpacity),o.dependsOn(e,n)&&r&&r.applyVisual(t,u,h)})),s[n]},positionGroup:function(t){var e=this.visualMapModel,n=this.api;r.positionElement(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:e.noop});return Net=a}var Het,Wet,Uet,Yet={};function Zet(){if(Het)return Yet;Het=1;var t=bW(),e=rj().getLayoutRect;return Yet.getItemAlign=function(t,n,i){var r=t.option,o=r.align;if(null!=o&&"auto"!==o)return o;for(var a={width:n.getWidth(),height:n.getHeight()},s="horizontal"===r.orient?1:0,l=[["left","right","width"],["top","bottom","height"]],u=l[s],h=[0,null,10],c={},d=0;d<3;d++)c[l[1-s][d]]=h[d],c[u[d]]=2===d?i[0]:r[u[d]];var p=[["x","width",3],["y","height",0]][s],f=e(c,a,r.padding);return u[(f.margin[p[2]]||0)+f[p[0]]+.5*f[p[1]]<.5*a[p[1]]?0:1]},Yet.makeHighDownBatch=function(e,n){return t.each(e||[],(function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(n?n.componentIndex:"")})),e},Yet}function Xet(){if(Uet)return Wet;Uet=1;var t=bW(),e=NX(),n=GW(),i=Get(),r=zX(),o=YX(),a=W5(),s=Zet(),l=AY(),u=o.linearMap,h=t.each,c=Math.min,d=Math.max,p=i.extend({type:"visualMap.continuous",init:function(){p.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(t,e,n,i){i&&"selectDataRange"===i.type&&i.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var n=t.get("text");this._renderEndsText(e,n,0),this._renderEndsText(e,n,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},_renderEndsText:function(t,e,n){if(e){var i=e[1-n];i=null!=i?i+"":"";var o=this.visualMapModel,a=o.get("textGap"),s=o.itemSize,l=this._shapes.barGroup,u=this._applyTransform([s[0]/2,0===n?-a:s[1]+a],l),h=this._applyTransform(0===n?"bottom":"top",l),c=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new r.Text({style:{x:u[0],y:u[1],textVerticalAlign:"horizontal"===c?"middle":h,textAlign:"horizontal"===c?h:"center",text:i,textFont:d.getFont(),textFill:d.getTextColor()}}))}},_renderBar:function(e){var n=this.visualMapModel,i=this._shapes,r=n.itemSize,o=this._orient,a=this._useHandle,l=s.getItemAlign(n,this.api,r),u=i.barGroup=this._createBarGroup(l);u.add(i.outOfRange=f()),u.add(i.inRange=f(null,a?v(this._orient):null,t.bind(this._dragHandle,this,"all",!1),t.bind(this._dragHandle,this,"all",!0)));var h=n.textStyleModel.getTextRect("国"),c=d(h.width,h.height);a&&(i.handleThumbs=[],i.handleLabels=[],i.handleLabelPoints=[],this._createHandle(u,0,r,c,o,l),this._createHandle(u,1,r,c,o,l)),this._createIndicator(u,r,c,o),e.add(u)},_createHandle:function(e,i,o,a,s){var l=t.bind(this._dragHandle,this,i,!1),u=t.bind(this._dragHandle,this,i,!0),h=f(function(t,e){return 0===t?[[0,0],[e,0],[e,-e]]:[[0,0],[e,0],[e,e]]}(i,a),v(this._orient),l,u);h.position[0]=o[0],e.add(h);var c=this.visualMapModel.textStyleModel,d=new r.Text({draggable:!0,drift:l,onmousemove:function(t){n.stop(t.event)},ondragend:u,style:{x:0,y:0,text:"",textFont:c.getFont(),textFill:c.getTextColor()}});this.group.add(d);var p=["horizontal"===s?a/2:1.5*a,"horizontal"===s?0===i?-1.5*a:1.5*a:0===i?-a/2:a/2],g=this._shapes;g.handleThumbs[i]=h,g.handleLabelPoints[i]=p,g.handleLabels[i]=d},_createIndicator:function(t,e,n,i){var o=f([[0,0]],"move");o.position[0]=e[0],o.attr({invisible:!0,silent:!0}),t.add(o);var a=this.visualMapModel.textStyleModel,s=new r.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:a.getFont(),textFill:a.getTextColor()}});this.group.add(s);var l=["horizontal"===i?n/2:9,0],u=this._shapes;u.indicator=o,u.indicatorLabel=s,u.indicatorLabelPoint=l},_dragHandle:function(t,e,n,i){if(this._useHandle){if(this._dragging=!e,!e){var r=this._applyTransform([n,i],this._shapes.barGroup,!0);this._updateInterval(t,r[1]),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():g(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},_resetInterval:function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),i=[0,t.itemSize[1]];this._handleEnds=[u(e[0],n,i,!0),u(e[1],n,i,!0)]},_updateInterval:function(t,e){e=e||0;var n=this.visualMapModel,i=this._handleEnds,r=[0,n.itemSize[1]];a(e,i,r,t,0);var o=n.getExtent();this._dataInterval=[u(i[0],r,o,!0),u(i[1],r,o,!0)]},_updateView:function(t){var e=this.visualMapModel,n=e.getExtent(),i=this._shapes,r=[0,e.itemSize[1]],o=t?r:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,o,"inRange"),s=this._createBarVisual(n,n,r,"outOfRange");i.inRange.setStyle({fill:a.barColor,opacity:a.opacity}).setShape("points",a.barPoints),i.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(o,a)},_createBarVisual:function(t,n,i,r){var o={forceState:r,convertOpacityToAlpha:!0},a=this._makeColorGradient(t,o),s=[this.getControllerVisual(t[0],"symbolSize",o),this.getControllerVisual(t[1],"symbolSize",o)],l=this._createBarPoints(i,s);return{barColor:new e(0,0,0,1,a),barPoints:l,handlesColor:[a[0].color,a[a.length-1].color]}},_makeColorGradient:function(t,e){var n=[],i=(t[1]-t[0])/100;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var r=1;r<100;r++){var o=t[0]+i*r;if(o>t[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},_createBarPoints:function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new r.Group("horizontal"!==e||n?"horizontal"===e&&n?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||n?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:"bottom"===t?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,o=n.handleThumbs,a=n.handleLabels;h([0,1],(function(s){var l=o[s];l.setStyle("fill",e.handlesColor[s]),l.position[1]=t[s];var u=r.applyTransform(n.handleLabelPoints[s],r.getTransform(l,this.group));a[s].setStyle({x:u[0],y:u[1],text:i.formatValueText(this._dataInterval[s]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===s?"bottom":"top":"left",n.barGroup)})}),this)}},_showIndicator:function(t,e,n,i){var o=this.visualMapModel,a=o.getExtent(),s=o.itemSize,l=[0,s[1]],h=u(t,a,l,!0),p=this._shapes,f=p.indicator;if(f){f.position[1]=h,f.attr("invisible",!1),f.setShape("points",function(t,e,n,i){return t?[[0,-c(e,d(n,0))],[6,0],[0,c(e,d(i-n,0))]]:[[0,0],[5,-5],[5,5]]}(!!n,i,h,s[1]));var g=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0});f.setStyle("fill",g);var v=r.applyTransform(p.indicatorLabelPoint,r.getTransform(f,this.group)),m=p.indicatorLabel;m.attr("invisible",!1);var y=this._applyTransform("left",p.barGroup),x=this._orient;m.setStyle({text:(n||"")+o.formatValueText(e),textVerticalAlign:"horizontal"===x?y:"middle",textAlign:"horizontal"===x?"center":y,x:v[0],y:v[1]})}},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on("mousemove",(function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,i=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0);i[1]=c(d(0,i[1]),n[1]),t._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[0])}})).on("mouseout",(function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(t,e){var n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var r=[0,i[1]],o=n.getExtent();t=c(d(r[0],t),r[1]);var a=function(t,e,n){var i=6,r=t.get("hoverLinkDataSize");return r&&(i=u(r,e,n,!0)/2),i}(n,o,r),h=[t-a,t+a],p=u(t,r,o,!0),f=[u(h[0],r,o,!0),u(h[1],r,o,!0)];h[0]r[1]&&(f[1]=1/0),e&&(f[0]===-1/0?this._showIndicator(p,f[1],"< ",a):f[1]===1/0?this._showIndicator(p,f[0],"> ",a):this._showIndicator(p,p,"≈ ",a));var v=this._hoverLinkDataIndices,m=[];(e||g(n))&&(m=this._hoverLinkDataIndices=n.findTargetDataIndices(f));var y=l.compressBatches(v,m);this._dispatchHighDown("downplay",s.makeHighDownBatch(y[0],n)),this._dispatchHighDown("highlight",s.makeHighDownBatch(y[1],n))}},_hoverLinkFromSeriesMouseOver:function(t){var e=t.target,n=this.visualMapModel;if(e&&null!=e.dataIndex){var i=this.ecModel.getSeriesByIndex(e.seriesIndex);if(n.isTargetSeries(i)){var r=i.getData(e.dataType),o=r.get(n.getDataDimension(r),e.dataIndex,!0);isNaN(o)||this._showIndicator(o,o)}}},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",s.makeHighDownBatch(t,this.visualMapModel)),t.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},_applyTransform:function(e,n,i,o){var a=r.getTransform(n,o?null:this.group);return r[t.isArray(e)?"applyTransform":"transformDirection"](e,a,i)},_dispatchHighDown:function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function f(t,e,i,o){return new r.Polygon({shape:{points:t},draggable:!!i,cursor:e,drift:i,onmousemove:function(t){n.stop(t.event)},ondragend:o})}function g(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function v(t){return"vertical"===t?"ns-resize":"ew-resize"}return Wet=p}var jet,qet,Ket={};function $et(){return jet||(jet=1,s$().registerAction({type:"selectDataRange",event:"dataRangeSelected",update:"update"},(function(t,e){e.eachComponent({mainType:"visualMap",query:t},(function(e){e.setSelected(t.selected)}))}))),Ket}function Jet(){if(qet)return Set;qet=1;var t=s$(),e=Met();return Cet(),Vet(),function(){if(Ret)return Oet;Ret=1;var t=bW(),e=Fet(),n=YX(),i=[20,140],r=e.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(t,e){r.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},resetItemSize:function(){r.superApply(this,"resetItemSize",arguments);var t=this.itemSize;"horizontal"===this._orient&&t.reverse(),(null==t[0]||isNaN(t[0]))&&(t[0]=i[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=i[1])},_resetRange:function(){var e=this.getExtent(),n=this.option.range;!n||n.auto?(e.auto=1,this.option.range=e):t.isArray(n)&&(n[0]>n[1]&&n.reverse(),n[0]=Math.max(n[0],e[0]),n[1]=Math.min(n[1],e[1]))},completeVisualOption:function(){e.prototype.completeVisualOption.apply(this,arguments),t.each(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=0)}),this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=n.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimension(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},getVisualMeta:function(t){var e=o(this,"outOfRange",this.getExtent()),n=o(this,"inRange",this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var a=0,s=0,l=n.length,u=e.length;s0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(e){this.option.selected=t.clone(e)},getValueState:function(t){var e=n.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(i){var r=[],o=i.getData();o.each(this.getDataDimension(o),(function(e,i){n.findPieceIndex(e,this._pieceList)===t&&r.push(i)}),this),e.push({seriesId:i.id,dataIndex:r})}),this),e},getRepresentValue:function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},getVisualMeta:function(e){if(!this.isCategory()){var n=[],i=[],r=this,o=this._pieceList.slice();if(o.length){var a=o[0].interval[0];a!==-1/0&&o.unshift({interval:[-1/0,a]}),(a=o[o.length-1].interval[1])!==1/0&&o.push({interval:[a,1/0]})}else o.push({interval:[-1/0,1/0]});var s=-1/0;return t.each(o,(function(t){var e=t.interval;e&&(e[0]>s&&l([s,e[0]],"outOfRange"),l(e.slice()),s=e[1])}),this),{stops:n,outerColors:i}}function l(t,o){var a=r.getRepresentValue({interval:t});o||(o=r.getValueState(a));var s=e(a,o);t[0]===-1/0?i[0]=s:t[1]===1/0?i[1]=s:n.push({value:t[0],color:s},{value:t[1],color:s})}}}),a={splitNumber:function(){var e=this.option,n=this._pieceList,i=Math.min(e.precision,20),o=this.getExtent(),a=e.splitNumber;a=Math.max(parseInt(a,10),1),e.splitNumber=a;for(var s=(o[1]-o[0])/a;+s.toFixed(i)!==s&&i<5;)i++;e.precision=i,s=+s.toFixed(i),e.minOpen&&n.push({interval:[-1/0,o[0]],close:[0,0]});for(var l=0,u=o[0];l","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function s(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}Qet=o}(),function(){if(nnt)return ent;nnt=1;var t=bW(),e=Get(),n=zX(),i=HK().createSymbol,r=rj(),o=Zet(),a=e.extend({type:"visualMap.piecewise",doRender:function(){var e=this.group;e.removeAll();var i=this.visualMapModel,o=i.get("textGap"),a=i.textStyleModel,s=a.getFont(),l=a.getTextColor(),u=this._getItemAlign(),h=i.itemSize,c=this._getViewData(),d=c.endsText,p=t.retrieve(i.get("showLabel",!0),!d);d&&this._renderEndsText(e,d[0],h,p,u),t.each(c.viewPieceList,(function(r){var a=r.piece,c=new n.Group;c.onclick=t.bind(this._onItemClick,this,a),this._enableHoverLink(c,r.indexInModelPieceList);var d=i.getRepresentValue(a);if(this._createItemSymbol(c,d,[0,0,h[0],h[1]]),p){var f=this.visualMapModel.getValueState(d);c.add(new n.Text({style:{x:"right"===u?-o:h[0]+o,y:h[1]/2,text:a.text,textVerticalAlign:"middle",textAlign:u,textFont:s,textFill:l,opacity:"outOfRange"===f?.5:1}}))}e.add(c)}),this),d&&this._renderEndsText(e,d[1],h,p,u),r.box(i.get("orient"),e,i.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},_enableHoverLink:function(e,n){function i(t){var e=this.visualMapModel;e.option.hoverLink&&this.api.dispatchAction({type:t,batch:o.makeHighDownBatch(e.findTargetDataIndices(n),e)})}e.on("mouseover",t.bind(i,this,"highlight")).on("mouseout",t.bind(i,this,"downplay"))},_getItemAlign:function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return o.getItemAlign(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},_renderEndsText:function(t,e,i,r,o){if(e){var a=new n.Group,s=this.visualMapModel.textStyleModel;a.add(new n.Text({style:{x:r?"right"===o?i[0]:0:i[0]/2,y:i[1]/2,textVerticalAlign:"middle",textAlign:r?o:"center",text:e,textFont:s.getFont(),textFill:s.getTextColor()}})),t.add(a)}},_getViewData:function(){var e=this.visualMapModel,n=t.map(e.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),i=e.get("text"),r=e.get("orient"),o=e.get("inverse");return("horizontal"===r?o:!o)?n.reverse():i&&(i=i.slice().reverse()),{viewPieceList:n,endsText:i}},_createItemSymbol:function(t,e,n){t.add(i(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},_onItemClick:function(e){var n=this.visualMapModel,i=n.option,r=t.clone(i.selected),o=n.getSelectedMapKey(e);"single"===i.selectedMode?(r[o]=!0,t.each(r,(function(t,e){r[e]=e===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}});ent=a}(),$et(),t.registerPreprocessor(e),ont}var snt,lnt,unt,hnt,cnt,dnt={},pnt={},fnt={};function gnt(){if(snt)return fnt;snt=1;var t,e=yW(),n="urn:schemas-microsoft-com:vml",i="undefined"==typeof window?null:window,r=!1,o=i&&i.document;if(o&&!e.canvasSupported)try{!o.namespaces.zrvml&&o.namespaces.add("zrvml",n),t=function(t){return o.createElement("')}}catch(Fu){t=function(t){return o.createElement("<"+t+' xmlns="'+n+'" class="zrvml">')}}return fnt.doc=o,fnt.createNode=function(e){return t(e)},fnt.initVML=function(){if(!r&&o){r=!0;var t=o.styleSheets;t.length<31?o.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}},fnt}var vnt,mnt,ynt,xnt,_nt,bnt,wnt,Snt,Mnt,Int,Tnt,Cnt,Ant,Dnt,Lnt,knt,Pnt={},Ont={},Rnt={};function Nnt(){return vnt||(vnt=1,Rnt.createElement=function(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}),Rnt}function Ent(){if(mnt)return Ont;mnt=1;var t=Nnt().createElement,e=qY(),n=kU(),i=$W(),r=eY(),o=xY(),a=NZ(),s=e.CMD,l=Array.prototype.join,u="none",h=Math.round,c=Math.sin,d=Math.cos,p=Math.PI,f=2*Math.PI,g=180/p,v=1e-4;function m(t){return h(1e4*t)/1e4}function y(t){return t-1e-4}function x(t,e){e&&_(t,"transform","matrix("+l.call(e,",")+")")}function _(t,e,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&t.setAttribute(e,n)}function b(t,e,n,i){if(function(t,e){var n=e?t.textFill:t.fill;return null!=n&&n!==u}(e,n)){var r=n?e.textFill:e.fill;_(t,"fill",r="transparent"===r?u:r),_(t,"fill-opacity",null!=e.fillOpacity?e.fillOpacity*e.opacity:e.opacity)}else _(t,"fill",u);if(function(t,e){var n=e?t.textStroke:t.stroke;return null!=n&&n!==u}(e,n)){var o=n?e.textStroke:e.stroke;_(t,"stroke",o="transparent"===o?u:o),_(t,"stroke-width",(n?e.textStrokeWidth:e.lineWidth)/(!n&&e.strokeNoScale?i.getLineScale():1)),_(t,"paint-order",n?"stroke":"fill"),_(t,"stroke-opacity",null!=e.strokeOpacity?e.strokeOpacity:e.opacity),e.lineDash?(_(t,"stroke-dasharray",e.lineDash.join(",")),_(t,"stroke-dashoffset",h(e.lineDashOffset||0))):_(t,"stroke-dasharray",""),e.lineCap&&_(t,"stroke-linecap",e.lineCap),e.lineJoin&&_(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&_(t,"stroke-miterlimit",e.miterLimit)}else _(t,"stroke",u)}var w={brush:function(e){var n=e.style,i=e.__svgEl;i||(i=t("path"),e.__svgEl=i),e.path||e.createPathProxy();var r=e.path;if(e.__dirtyPath){r.beginPath(),r.subPixelOptimize=!1,e.buildPath(r,e.shape),e.__dirtyPath=!1;var o=function(t){for(var e=[],n=t.data,i=t.len(),r=0;r=f:-b>=f),T=b>0?b%f:b%f+f,C=!1;C=!!I||!y(M)&&T>=p==!!S;var A=m(l+v*d(_)),D=m(u+x*c(_));I&&(b=S?f-1e-4:1e-4-f,C=!0,9===r&&e.push("M",A,D));var L=m(l+v*d(_+b)),k=m(u+x*c(_+b));e.push("A",m(v),m(x),h(w*g),+C,+S,L,k);break;case s.Z:o="Z";break;case s.R:L=m(n[r++]),k=m(n[r++]);var P=m(n[r++]),O=m(n[r++]);e.push("M",L,k,"L",L+P,k,"L",L+P,k+O,"L",L,k+O,"L",L,k)}o&&e.push(o);for(var R=0;Rz){for(;N=0;--i)if(e[i]===t)return!0;return!1}),n):null:n[0]},u.prototype.update=function(t,e){if(t){var n=this.getDefs(!1);if(t[this._domName]&&n.contains(t[this._domName]))"function"==typeof e&&e(t);else{var i=this.add(t);i&&(t[this._domName]=i)}}},u.prototype.addDom=function(t){this.getDefs(!0).appendChild(t)},u.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},u.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var n=[];return e.each(this._tagNames,(function(e){var i=t.getElementsByTagName(e);n=n.concat([].slice.call(i))})),n},u.prototype.markAllUnused=function(){var t=this.getDoms(),n=this;e.each(t,(function(t){t[n._markLabel]="0"}))},u.prototype.markUsed=function(t){t&&(t[this._markLabel]="1")},u.prototype.removeUnused=function(){var t=this.getDefs(!1);if(t){var n=this.getDoms(),i=this;e.each(n,(function(e){"1"!==e[i._markLabel]&&t.removeChild(e)}))}},u.prototype.getSvgProxy=function(t){return t instanceof n?a:t instanceof i?s:t instanceof r?l:a},u.prototype.getTextSvgElement=function(t){return t.__textSvgEl},u.prototype.getSvgElement=function(t){return t.__svgEl},_nt=u}function Vnt(){if(Dnt)return Ant;Dnt=1;var t=Nnt().createElement,e=bW(),n=AU(),i=PZ(),r=wY(),o=NZ(),a=function(){if(xnt)return ynt;function t(){}function e(t,e,n,i){for(var r=0,o=e.length,a=0,s=0;r=a&&c+1>=s){for(var d=[],p=0;p=a&&p+1>=s)return e(o,u.components);h[r]=u}else h[r]=void 0}l++}for(;l<=u;){var g=f();if(g)return g}},pushComponent:function(t,e,n){var i=t[t.length-1];i&&i.added===e&&i.removed===n?t[t.length-1]={count:i.count+1,added:e,removed:n}:t.push({count:1,added:e,removed:n})},extractCommon:function(t,e,n,i){for(var r=e.length,o=n.length,a=t.newPos,s=a-i,l=0;a+1-1){var u=i.parse(l)[3],h=i.toHex(l);s.setAttribute("stop-color","#"+h),s.setAttribute("stop-opacity",u)}else s.setAttribute("stop-color",r[o].color);e.appendChild(s)}t._dom=e},r.prototype.markUsed=function(e){if(e.style){var n=e.style.fill;n&&n._dom&&t.prototype.markUsed.call(this,n._dom),(n=e.style.stroke)&&n._dom&&t.prototype.markUsed.call(this,n._dom)}},wnt=r}(),l=function(){if(Int)return Mnt;Int=1;var t=znt(),e=bW(),n=$W();function i(e,n){t.call(this,e,n,"clipPath","__clippath_in_use__")}return e.inherits(i,t),i.prototype.update=function(t){var e=this.getSvgElement(t);e&&this.updateDom(e,t.__clipPaths,!1);var n=this.getTextSvgElement(t);n&&this.updateDom(n,t.__clipPaths,!0),this.markUsed(t)},i.prototype.updateDom=function(t,e,i){if(e&&e.length>0){var r,o,a=this.getDefs(!0),s=e[0],l=i?"_textDom":"_dom";s[l]?(o=s[l].getAttribute("id"),r=s[l],a.contains(r)||a.appendChild(r)):(o="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,(r=this.createElement("clipPath")).setAttribute("id",o),a.appendChild(r),s[l]=r);var u=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!i){var h=Array.prototype.slice.call(s.transform);n.mul(s.transform,s.parent.invTransform,s.transform),u.brush(s),s.transform=h}else u.brush(s);var c=this.getSvgElement(s);r.innerHTML="",r.appendChild(c.cloneNode()),t.setAttribute("clip-path","url(#"+o+")"),e.length>1&&this.updateDom(r,e.slice(1),i)}else t&&t.setAttribute("clip-path","none")},i.prototype.markUsed=function(n){var i=this;n.__clipPaths&&e.each(n.__clipPaths,(function(e){e._dom&&t.prototype.markUsed.call(i,e._dom),e._textDom&&t.prototype.markUsed.call(i,e._textDom)}))},Mnt=i}(),u=function(){if(Cnt)return Tnt;Cnt=1;var t=znt();function e(e,n){t.call(this,e,n,["filter"],"__filter_in_use__","_shadowDom")}function n(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY||t.textShadowBlur||t.textShadowOffsetX||t.textShadowOffsetY)}return bW().inherits(e,t),e.prototype.addWithoutUpdate=function(t,e){if(e&&n(e.style)){var i;e._shadowDom?(i=e._shadowDom,this.getDefs(!0).contains(e._shadowDom)||this.addDom(i)):i=this.add(e),this.markUsed(e);var r=i.getAttribute("id");t.style.filter="url(#"+r+")"}},e.prototype.add=function(t){var e=this.createElement("filter");return t._shadowDomId=t._shadowDomId||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-shadow-"+t._shadowDomId),this.updateDom(t,e),this.addDom(e),e},e.prototype.update=function(e,i){if(n(i.style)){var r=this;t.prototype.update.call(this,i,(function(){r.updateDom(i,i._shadowDom)}))}else this.remove(e,i)},e.prototype.remove=function(t,e){null!=e._shadowDomId&&(this.removeDom(t),t.style.filter="")},e.prototype.updateDom=function(t,e){var n=e.getElementsByTagName("feDropShadow");n=0===n.length?this.createElement("feDropShadow"):n[0];var i,r,o,a,s=t.style,l=t.scale&&t.scale[0]||1,u=t.scale&&t.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)i=s.shadowOffsetX||0,r=s.shadowOffsetY||0,o=s.shadowBlur,a=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(e,s);i=s.textShadowOffsetX||0,r=s.textShadowOffsetY||0,o=s.textShadowBlur,a=s.textShadowColor}n.setAttribute("dx",i/l),n.setAttribute("dy",r/u),n.setAttribute("flood-color",a);var h=o/2/l+" "+o/2/u;n.setAttribute("stdDeviation",h),e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width",Math.ceil(o/2*200)+"%"),e.setAttribute("height",Math.ceil(o/2*200)+"%"),e.appendChild(n),t._shadowDom=e},e.prototype.markUsed=function(e){e._shadowDom&&t.prototype.markUsed.call(this,e._shadowDom)},Tnt=e}(),h=Ent(),c=h.path,d=h.image,p=h.text;function f(t){return parseInt(t,10)}function g(t,e){return e&&t&&e.parentNode!==t}function v(t,e,n){if(g(t,e)&&n){var i=n.nextSibling;i?t.insertBefore(e,i):t.appendChild(e)}}function m(t,e){if(g(t,e)){var n=t.firstChild;n?t.insertBefore(e,n):t.appendChild(e)}}function y(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function x(t){return t.__textSvgEl}function _(t){return t.__svgEl}var b=function(n,i,r,o){this.root=n,this.storage=i,this._opts=r=e.extend({},r||{});var a=t("svg");a.setAttribute("xmlns","http://www.w3.org/2000/svg"),a.setAttribute("version","1.1"),a.setAttribute("baseProfile","full"),a.style.cssText="user-select:none;position:absolute;left:0;top:0;";var h=t("g");a.appendChild(h);var c=t("g");a.appendChild(c),this.gradientManager=new s(o,c),this.clipPathManager=new l(o,c),this.shadowManager=new u(o,c);var d=document.createElement("div");d.style.cssText="overflow:hidden;position:relative",this._svgDom=a,this._svgRoot=c,this._backgroundRoot=h,this._viewport=d,n.appendChild(d),d.appendChild(a),this.resize(r.width,r.height),this._visibleList=[]};return b.prototype={constructor:b,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},setBackgroundColor:function(e){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var n=t("rect");n.setAttribute("width",this.getWidth()),n.setAttribute("height",this.getHeight()),n.setAttribute("x",0),n.setAttribute("y",0),n.setAttribute("id",0),n.style.fill=e,this._backgroundRoot.appendChild(n),this._backgroundNode=n},_paintList:function(t){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var e,n,s=this._svgRoot,l=this._visibleList,u=t.length,h=[];for(e=0;e=0;--i)if(e[i]===t)return!0;return!1}),n):null:n[0]},resize:function(t,e){var n=this._viewport;n.style.display="none";var i=this._opts;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!==t||this._height!==e){this._width=t,this._height=e;var r=n.style;r.width=t+"px",r.height=e+"px";var o=this._svgDom;o.setAttribute("width",t),o.setAttribute("height",e)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",t),this._backgroundNode.setAttribute("height",e))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,n=["width","height"][t],i=["clientWidth","clientHeight"][t],r=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var a=this.root,s=document.defaultView.getComputedStyle(a);return(a[i]||f(s[n])||f(a.style[n]))-(f(s[r])||0)-(f(s[o])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){return this.refresh(),"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(this._svgDom.outerHTML.replace(/>\n\r<"))}},e.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],(function(t){var e;b.prototype[t]=(e=t,function(){n('In SVG mode painter not support method "'+e+'"')})})),Ant=b}W_([aW]),W_([function(t){t.registerPainter("svg",QH)}]),W_([Yw,mS,ES,function(t){W_(EM),t.registerSeriesModel(zS),t.registerChartView(GS),t.registerLayout(Gw("scatter"))},function(t){W_(KM),t.registerChartView(GM),t.registerSeriesModel(HM),t.registerLayout(zM),t.registerProcessor(MS("radar")),t.registerPreprocessor(FM)},MT,function(t){t.registerChartView(ET),t.registerSeriesModel(rC),t.registerLayout(aC),t.registerVisual(sC),function(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var n=t.dataIndex,i=e.getData().tree.getNodeByDataIndex(n);i.isExpand=!i.isExpand}))})),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(t,e,n){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var i=_T(e.coordinateSystem,t,void 0,n);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)}))}))}(t)},function(t){t.registerSeriesModel(hC),t.registerChartView(SC),t.registerVisual(FC),t.registerLayout(QC),function(t){for(var e=0;e=this._maxSize&&o>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}a?a.value=e:a=new Bnt(e),a.key=t,n.insertEntry(a),i[t]=a}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}()),Hnt={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-Hnt.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*Hnt.bounceIn(2*t):.5*Hnt.bounceOut(2*t-1)+.5}};Knt(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(t,e){return t["[object "+e+"]"]=!0,t}),{}),Knt(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(t,e){return t["[object "+e+"Array]"]=!0,t}),{});var Wnt=Array.prototype,Unt=Wnt.slice,Ynt=Wnt.map,Znt=function(){}.constructor,Xnt=Znt?Znt.prototype:null;function jnt(t){return!!t&&"string"!=typeof t&&"number"==typeof t.length}function qnt(t,e,n){if(!t)return[];if(!e)return function(t){for(var e=[],n=1;n-1e-8&&t<1e-8}var sit=/cubic-bezier\(([0-9,\.e ]+)\)/;function lit(t){var e=t&&sit.exec(t);if(e){var n=e[1].split(","),i=+tit(n[0]),r=+tit(n[1]),o=+tit(n[2]),a=+tit(n[3]);if(isNaN(i+r+o+a))return;var s=[];return function(t){return t<=0?0:t>=1?1:function(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,h=s*s-3*a*l,c=s*l-9*a*u,d=l*l-3*s*u,p=0;if(ait(h)&&ait(c))ait(s)?o[0]=0:(M=-l/s)>=0&&M<=1&&(o[p++]=M);else{var f=c*c-4*h*d;if(ait(f)){var g=c/h,v=-g/2;(M=-s/a+g)>=0&&M<=1&&(o[p++]=M),v>=0&&v<=1&&(o[p++]=v)}else if(f>0){var m=iit(f),y=h*s+1.5*a*(-c+m),x=h*s+1.5*a*(-c-m);(M=(-s-((y=y<0?-nit(-y,oit):nit(y,oit))+(x=x<0?-nit(-x,oit):nit(x,oit))))/(3*a))>=0&&M<=1&&(o[p++]=M)}else{var _=(2*h*s-3*a*c)/(2*iit(h*h*h)),b=Math.acos(_)/3,w=iit(h),S=Math.cos(b),M=(-s-2*w*S)/(3*a),I=(v=(-s+w*(S+rit*Math.sin(b)))/(3*a),(-s+w*(S-rit*Math.sin(b)))/(3*a));M>=0&&M<=1&&(o[p++]=M),v>=0&&v<=1&&(o[p++]=v),I>=0&&I<=1&&(o[p++]=I)}}return p}(0,i,o,1,t,s)&&(n=1-(e=s[0]))*n*(0*n+3*e*r)+e*e*(1*e+3*n*a);var e,n}}}var uit=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||eit,this.ondestroy=t.ondestroy||eit,this.onrestart=t.onrestart||eit,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=Jnt(t)?t:Hnt[t]||lit(t)},t}(),hit={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function cit(t){return(t=Math.round(t))<0?0:t>255?255:t}function dit(t){return t<0?0:t>1?1:t}function pit(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?cit(parseFloat(e)/100*255):cit(parseInt(e,10))}function fit(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?dit(parseFloat(e)/100):dit(parseFloat(e))}function git(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function vit(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function mit(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var yit=new Gnt(20),xit=null;function _it(t,e){xit&&mit(xit,e),xit=yit.put(t,xit||e.slice())}function bit(t,e){if(t){e=e||[];var n=yit.get(t);if(n)return mit(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in hit)return mit(e,hit[i]),_it(t,e),e;var r,o=i.length;if("#"===i.charAt(0))return 4===o||5===o?(r=parseInt(i.slice(1,4),16))>=0&&r<=4095?(vit(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===o?parseInt(i.slice(4),16)/15:1),_it(t,e),e):void vit(e,0,0,0,1):7===o||9===o?(r=parseInt(i.slice(1,7),16))>=0&&r<=16777215?(vit(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===o?parseInt(i.slice(7),16)/255:1),_it(t,e),e):void vit(e,0,0,0,1):void 0;var a=i.indexOf("("),s=i.indexOf(")");if(-1!==a&&s+1===o){var l=i.substr(0,a),u=i.substr(a+1,s-(a+1)).split(","),h=1;switch(l){case"rgba":if(4!==u.length)return 3===u.length?vit(e,+u[0],+u[1],+u[2],1):vit(e,0,0,0,1);h=fit(u.pop());case"rgb":return u.length>=3?(vit(e,pit(u[0]),pit(u[1]),pit(u[2]),3===u.length?h:fit(u[3])),_it(t,e),e):void vit(e,0,0,0,1);case"hsla":return 4!==u.length?void vit(e,0,0,0,1):(u[3]=fit(u[3]),wit(u,e),_it(t,e),e);case"hsl":return 3!==u.length?void vit(e,0,0,0,1):(wit(u,e),_it(t,e),e);default:return}}vit(e,0,0,0,1)}}function wit(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=fit(t[1]),r=fit(t[2]),o=r<=.5?r*(i+1):r+i-r*i,a=2*r-o;return vit(e=e||[],cit(255*git(a,o,n+1/3)),cit(255*git(a,o,n)),cit(255*git(a,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}var Sit=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},Mit=new function(){this.browser=new Sit,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(Mit.wxa=!0,Mit.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?Mit.worker=!0:"undefined"==typeof navigator||0===navigator.userAgent.indexOf("Node.js?v=1773287522785")?(Mit.node=!0,Mit.svgSupported=!0):function(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]),r&&(n.ie=!0,n.version=r[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),a&&(n.weChat=!0),e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,Mit),Mit.hasGlobalWindow&&Jnt(window.btoa);var Iit=Array.prototype.slice;function Tit(t,e,n){return(e-t)*n+t}function Cit(t,e,n,i){for(var r=e.length,o=0;oi?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;sa)i.length=a;else for(var s=o;s=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,o=!1,a=6,s=e;if(jnt(e)){var l=function(t){return jnt(t&&t[0])?2:1}(e);a=l,(1===l&&!Qnt(e[0])||2===l&&!Qnt(e[0][0]))&&(o=!0)}else if(Qnt(e)&&!function(t){return t!=t}(e))a=0;else if(function(t){return"string"==typeof t}(e))if(isNaN(+e)){var u=bit(e);u&&(s=u,a=3)}else a=0;else if(function(t){return null!=t.colorStops}(e)){var h=function(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&"__proto__"!==n&&(t[n]=e[n]);return t}({},s);h.colorStops=qnt(e.colorStops,(function(t){return{offset:t.offset,color:bit(t.color)}})),"linear"===e.type?a=4:function(t){return"radial"===t.type}(e)&&(a=5),s=h}0===r?this.valType=a:a===this.valType&&6!==a||(o=!0),this.discrete=this.discrete||o;var c={time:t,value:s,rawValue:e,percent:0};return n&&(c.easing=n,c.easingFunc=Jnt(n)?n:Hnt[n]||lit(n)),i.push(c),c},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=Nit(i),l=Rit(i),u=0;u=0&&!(l[n].percent<=e);n--);n=p(n,u-2)}else{for(n=d;ne);n++);n=p(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var f=r.percent-i.percent,g=0===f?1:p((e-i.percent)/f,1);r.easingFunc&&(g=r.easingFunc(g));var v=o?this._additiveValue:c?zit:t[h];if(!Nit(s)&&!c||v||(v=this._additiveValue=[]),this.discrete)t[h]=g<1?i.rawValue:r.rawValue;else if(Nit(s))1===s?Cit(v,i[a],r[a],g):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a0&&s.addKeyframe(0,Pit(l),i),this._trackKeys.push(a)}s.addKeyframe(t,Pit(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}()),t("B",Eit),t("B",Eit=Mit.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)});var Bit={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]}}}})); +var Ur,Yr={},Zr={},Xr=function(){function t(t,e,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var r=new un,a=n.renderer||"canvas";Yr[a]||(a=H(Yr)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var s=new Yr[a](e,r,n,t),l=n.ssr||s.ssrOnly;this.storage=r,this.painter=s;var u,h=o.node||o.worker||l?null:new ur(s.getViewportRoot(),s.root),c=n.useCoarsePointer;(null==c||"auto"===c?o.touchEventsSupported:!!c)&&(u=ot(n.pointerSize,44)),this.handler=new Ze(r,s,h,s.root,u),this.animation=new Zi({stage:{update:l?null:function(){return i._flush(!0)}}}),l||this.animation.start()}return t.prototype.add=function(t){!this._disposed&&t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){!this._disposed&&t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},t.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return ui(t,1)<.4;if(t.colorStops){for(var e=t.colorStops,n=0,i=e.length,r=0;r0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function no(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return X(t)?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function io(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),to),t=(+t).toFixed(e),n?t:+t}function ro(t){return t.sort((function(t,e){return t-e})),t}function oo(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return ao(t)}function ao(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}function so(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function lo(t,e){var n=B(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];for(var i=Math.pow(10,e),r=V(t,(function(t){return(isNaN(t)?0:t)/n*i*100})),o=100*i,a=V(r,(function(t){return Math.floor(t)})),s=B(a,(function(t,e){return t+e}),0),l=V(r,(function(t,e){return t-a[e]}));su&&(u=l[c],h=c);++a[h],l[h]=0,++s}return V(a,(function(t){return t/i}))}function uo(t,e){var n=Math.max(oo(t),oo(e)),i=t+e;return n>to?i:io(i,n)}var ho=9007199254740991;function co(t){var e=2*Math.PI;return(t%e+e)%e}function po(t){return t>-1e-4&&t=10&&e++,e}function yo(t,e){var n=mo(t),i=Math.pow(10,n),r=t/i;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t}function xo(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r}function _o(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i=0||r&&O(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}var la=sa([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),ua=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return la(this,t,e)},t}(),ha=new Fn(50);function ca(t){if("string"==typeof t){var e=ha.get(t);return e&&e.image}return t}function da(t,e,n,i,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=ha.get(t),a={hostEl:n,cb:i,cbPayload:r};return o?!fa(e=o.image)&&o.pending.push(a):((e=c.loadImage(t,pa,pa)).__zrImageSrc=t,ha.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function pa(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=a;l++)s-=a;var u=Ir(n,e);return u>s&&(n="",u=0),s=t-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=s,r.containerWidth=t,r}function ya(t,e,n){var i=n.containerWidth,r=n.font,o=n.contentWidth;if(!i)return t.textLine="",void(t.isTruncated=!1);var a=Ir(e,r);if(a<=i)return t.textLine=e,void(t.isTruncated=!1);for(var s=0;;s++){if(a<=o||s>=n.maxIterations){e+=n.ellipsis;break}var l=0===s?xa(e,o,n.ascCharWidth,n.cnCharWidth):a>0?Math.floor(e.length*o/a):0;a=Ir(e=e.substr(0,l),r)}""===e&&(e=n.placeholder),t.textLine=e,t.isTruncated=!0}function xa(t,e,n,i){for(var r=0,o=0,a=t.length;o0&&f+i.accumWidth>i.width&&(o=e.split("\n"),c=!0),i.accumWidth=f}else{var g=Ta(e,h,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+p,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var v=0;v=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}(t)||!!Ma[t]}function Ta(t,e,n,i,r){for(var o=[],a=[],s="",l="",u=0,h=0,c=0;cn:r+h+p>n)?h?(s||l)&&(f?(s||(s=l,l="",h=u=0),o.push(s),a.push(h-u),l+=d,s="",h=u+=p):(l&&(s+=l,l="",u=0),o.push(s),a.push(h),s=d,h=p)):f?(o.push(l),a.push(u),l=d,u=p):(o.push(d),a.push(p)):(h+=p,f?(l+=d,u+=p):(l&&(s+=l,l="",u=0),s+=d))}else l&&(s+=l,h+=u),o.push(s),a.push(h),s="",l="",u=0,h=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(h)),1===o.length&&(h+=r),{accumWidth:h,lines:o,linesWidths:a}}var Ca="__zr_style_"+Math.round(10*Math.random()),Aa={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Da={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Aa[Ca]=!0;var La=["z","z2","invisible"],ka=["invisible"],Pa=function(t){function e(e){return t.call(this,e)||this}var n;return i(e,t),e.prototype._init=function(e){for(var n=H(e),i=0;i1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(Fa[0]=Va(r)*n+t,Fa[1]=za(r)*i+e,Ga[0]=Va(o)*n+t,Ga[1]=za(o)*i+e,u(s,Fa,Ga),h(l,Fa,Ga),(r%=Ba)<0&&(r+=Ba),(o%=Ba)<0&&(o+=Ba),r>o&&!a?o+=Ba:rr&&(Ha[0]=Va(p)*n+t,Ha[1]=za(p)*i+e,u(s,Ha,s),h(l,Ha,l))}var Ka={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},$a=[],Ja=[],Qa=[],ts=[],es=[],ns=[],is=Math.min,rs=Math.max,os=Math.cos,as=Math.sin,ss=Math.abs,ls=Math.PI,us=2*ls,hs="undefined"!=typeof Float32Array,cs=[];function ds(t){return Math.round(t/ls*1e8)/1e8%2*ls}function ps(t,e){var n=ds(t[0]);n<0&&(n+=us);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=us?r=n+us:e&&n-r>=us?r=n-us:!e&&n>r?r=n+(us-ds(n-r)):e&&n0&&(this._ux=ss(n/cr/t)||0,this._uy=ss(n/cr/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(Ka.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=ss(t-this._xi),i=ss(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(Ka.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(Ka.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(Ka.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),cs[0]=i,cs[1]=r,ps(cs,o),i=cs[0];var a=(r=cs[1])-i;return this.addData(Ka.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=os(r)*n+t,this._yi=as(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(Ka.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(Ka.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!hs||(this.data=new Float32Array(e));for(var n=0;nu.length&&(this._expandData(),u=this.data);for(var h=0;h0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){Qa[0]=Qa[1]=es[0]=es[1]=Number.MAX_VALUE,ts[0]=ts[1]=ns[0]=ns[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,o=0;for(t=0;tn||ss(v)>i||c===e-1)&&(f=Math.sqrt(D*D+v*v),r=g,o=x);break;case Ka.C:var m=t[c++],y=t[c++],x=(g=t[c++],t[c++]),_=t[c++],b=t[c++];f=An(r,o,m,y,g,x,_,b,10),r=_,o=b;break;case Ka.Q:f=Rn(r,o,m=t[c++],y=t[c++],g=t[c++],x=t[c++],10),r=g,o=x;break;case Ka.A:var w=t[c++],S=t[c++],M=t[c++],I=t[c++],T=t[c++],C=t[c++],A=C+T;c+=1,p&&(a=os(T)*M+w,s=as(T)*I+S),f=rs(M,I)*is(us,Math.abs(C)),r=os(A)*M+w,o=as(A)*I+S;break;case Ka.R:a=r=t[c++],s=o=t[c++],f=2*t[c++]+2*t[c++];break;case Ka.Z:var D=a-r;v=s-o,f=Math.sqrt(D*D+v*v),r=a,o=s}f>=0&&(l[h++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,h,c,d=this.data,p=this._ux,f=this._uy,g=this._len,v=e<1,m=0,y=0,x=0;if(!v||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=e*this._pathLen))t:for(var _=0;_0&&(t.lineTo(h,c),x=0),b){case Ka.M:n=r=d[_++],i=o=d[_++],t.moveTo(r,o);break;case Ka.L:a=d[_++],s=d[_++];var S=ss(a-r),M=ss(s-o);if(S>p||M>f){if(v){if(m+(j=l[y++])>u){var I=(u-m)/j;t.lineTo(r*(1-I)+a*I,o*(1-I)+s*I);break t}m+=j}t.lineTo(a,s),r=a,o=s,x=0}else{var T=S*S+M*M;T>x&&(h=a,c=s,x=T)}break;case Ka.C:var C=d[_++],A=d[_++],D=d[_++],L=d[_++],k=d[_++],P=d[_++];if(v){if(m+(j=l[y++])>u){Tn(r,C,D,k,I=(u-m)/j,$a),Tn(o,A,L,P,I,Ja),t.bezierCurveTo($a[1],Ja[1],$a[2],Ja[2],$a[3],Ja[3]);break t}m+=j}t.bezierCurveTo(C,A,D,L,k,P),r=k,o=P;break;case Ka.Q:if(C=d[_++],A=d[_++],D=d[_++],L=d[_++],v){if(m+(j=l[y++])>u){Pn(r,C,D,I=(u-m)/j,$a),Pn(o,A,L,I,Ja),t.quadraticCurveTo($a[1],Ja[1],$a[2],Ja[2]);break t}m+=j}t.quadraticCurveTo(C,A,D,L),r=D,o=L;break;case Ka.A:var O=d[_++],R=d[_++],N=d[_++],E=d[_++],z=d[_++],V=d[_++],B=d[_++],F=!d[_++],G=N>E?N:E,H=ss(N-E)>.001,W=z+V,U=!1;if(v&&(m+(j=l[y++])>u&&(W=z+V*(u-m)/j,U=!0),m+=j),H&&t.ellipse?t.ellipse(O,R,N,E,B,z,W,F):t.arc(O,R,G,z,W,F),U)break t;w&&(n=os(z)*N+O,i=as(z)*E+R),r=os(W)*N+O,o=as(W)*E+R;break;case Ka.R:n=r=d[_],i=o=d[_+1],a=d[_++],s=d[_++];var Y=d[_++],Z=d[_++];if(v){if(m+(j=l[y++])>u){var X=u-m;t.moveTo(a,s),t.lineTo(a+is(X,Y),s),(X-=Y)>0&&t.lineTo(a+Y,s+is(X,Z)),(X-=Z)>0&&t.lineTo(a+rs(Y-X,0),s+Z),(X-=Y)>0&&t.lineTo(a,s+rs(Z-X,0));break t}m+=j}t.rect(a,s,Y,Z);break;case Ka.Z:if(v){var j;if(m+(j=l[y++])>u){I=(u-m)/j,t.lineTo(r*(1-I)+n*I,o*(1-I)+i*I);break t}m+=j}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=Ka,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();function gs(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0;if(a>e+s&&a>i+s||at+s&&o>n+s||oe+c&&h>i+c&&h>o+c&&h>s+c||ht+c&&u>n+c&&u>r+c&&u>a+c||ue+u&&l>i+u&&l>o+u||lt+u&&s>n+u&&s>r+u||sn||h+ur&&(r+=_s);var d=Math.atan2(l,s);return d<0&&(d+=_s),d>=i&&d<=r||d+_s>=i&&d+_s<=r}function ws(t,e,n,i,r,o){if(o>e&&o>i||or?s:0}var Ss=fs.CMD,Ms=2*Math.PI,Is=[-1,-1,-1],Ts=[-1,-1];function Cs(t,e,n,i,r,o,a,s,l,u){if(u>e&&u>i&&u>o&&u>s||u1&&(h=void 0,h=Ts[0],Ts[0]=Ts[1],Ts[1]=h),f=wn(e,i,o,s,Ts[0]),p>1&&(g=wn(e,i,o,s,Ts[1]))),2===p?me&&s>i&&s>o||s=0&&h<=1&&(r[l++]=h);else{var u=a*a-4*o*s;if(_n(u))(h=-a/(2*o))>=0&&h<=1&&(r[l++]=h);else if(u>0){var h,c=dn(u),d=(-a-c)/(2*o);(h=(-a+c)/(2*o))>=0&&h<=1&&(r[l++]=h),d>=0&&d<=1&&(r[l++]=d)}}return l}(e,i,o,s,Is);if(0===l)return 0;var u=kn(e,i,o);if(u>=0&&u<=1){for(var h=0,c=Dn(e,i,o,u),d=0;dn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);Is[0]=-l,Is[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=Ms-1e-4){i=0,r=Ms;var h=o?1:-1;return a>=Is[0]+t&&a<=Is[1]+t?h:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=Ms,r+=Ms);for(var d=0,p=0;p<2;p++){var f=Is[p];if(f+t>a){var g=Math.atan2(s,f);h=o?1:-1,g<0&&(g=Ms+g),(g>=i&&g<=r||g+Ms>=i&&g+Ms<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(h=-h),d+=h)}}return d}function Ls(t,e,n,i,r){for(var o,a,s,l,u=t.data,h=t.len(),c=0,d=0,p=0,f=0,g=0,v=0;v1&&(n||(c+=ws(d,p,f,g,i,r))),y&&(f=d=u[v],g=p=u[v+1]),m){case Ss.M:d=f=u[v++],p=g=u[v++];break;case Ss.L:if(n){if(gs(d,p,u[v],u[v+1],e,i,r))return!0}else c+=ws(d,p,u[v],u[v+1],i,r)||0;d=u[v++],p=u[v++];break;case Ss.C:if(n){if(vs(d,p,u[v++],u[v++],u[v++],u[v++],u[v],u[v+1],e,i,r))return!0}else c+=Cs(d,p,u[v++],u[v++],u[v++],u[v++],u[v],u[v+1],i,r)||0;d=u[v++],p=u[v++];break;case Ss.Q:if(n){if(ms(d,p,u[v++],u[v++],u[v],u[v+1],e,i,r))return!0}else c+=As(d,p,u[v++],u[v++],u[v],u[v+1],i,r)||0;d=u[v++],p=u[v++];break;case Ss.A:var x=u[v++],_=u[v++],b=u[v++],w=u[v++],S=u[v++],M=u[v++];v+=1;var I=!!(1-u[v++]);o=Math.cos(S)*b+x,a=Math.sin(S)*w+_,y?(f=o,g=a):c+=ws(d,p,o,a,i,r);var T=(i-x)*w/b+x;if(n){if(bs(x,_,w,S,S+M,I,e,T,r))return!0}else c+=Ds(x,_,w,S,S+M,I,T,r);d=Math.cos(S+M)*b+x,p=Math.sin(S+M)*w+_;break;case Ss.R:if(f=d=u[v++],g=p=u[v++],o=f+u[v++],a=g+u[v++],n){if(gs(f,g,o,g,e,i,r)||gs(o,g,o,a,e,i,r)||gs(o,a,f,a,e,i,r)||gs(f,a,f,g,e,i,r))return!0}else c+=ws(o,g,o,a,i,r),c+=ws(f,a,f,g,i,r);break;case Ss.Z:if(n){if(gs(d,p,f,g,e,i,r))return!0}else c+=ws(d,p,f,g,i,r);d=f,p=g}}return n||(s=p,l=g,Math.abs(s-l)<1e-4)||(c+=ws(d,p,f,g,i,r)||0),0!==c}var ks=k({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Aa),Ps={style:k({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Da.style)},Os=wr.concat(["invisible","culling","z","z2","zlevel","parent"]),Rs=function(t){function e(e){return t.call(this,e)||this}var n;return i(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s.5?dr:e>.2?"#eee":pr}if(t)return pr}return dr},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(X(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())==ui(t,0)<.4)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=~rn},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new fs(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||this.__dirty&rn)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,n,i){return Ls(t,e,!0,n,i)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return Ls(t,0,!1,e,n)}(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=rn,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:L(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&rn)},e.prototype.createStyle=function(t){return xt(ks,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=L({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=L({},i.shape),L(s,n.shape)):(s=L({},r?this.shape:i.shape),L(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=L({},this.shape);for(var u={},h=H(s),c=0;c0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return xt(Ns,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=Cr(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(Pa);Es.prototype.type="tspan";var zs=k({x:0,y:0},Aa),Vs={style:k({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Da.style)},Bs=t("Z",function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.createStyle=function(t){return xt(zs,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i,r=(i=e.image)&&"string"!=typeof i&&i.width&&i.height?e.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=e[o];return null==a?r[t]:r[t]/r[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return Vs},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Be(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(Pa));Bs.prototype.type="image";var Fs=Math.round;function Gs(t,e,n){if(e){var i=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=i,t.x2=r,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(Fs(2*i)===Fs(2*r)&&(t.x1=t.x2=Ws(i,s,!0)),Fs(2*o)===Fs(2*a)&&(t.y1=t.y2=Ws(o,s,!0)),t):t}}function Hs(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,a=e.height;t.x=i,t.y=r,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=Ws(i,s,!0),t.y=Ws(r,s,!0),t.width=Math.max(Ws(i+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(Ws(r+a,s,!1)-t.y,0===a?0:1),t):t}}function Ws(t,e,n){if(!e)return t;var i=Fs(2*t);return(i+Fs(e))%2==0?i/2:(i+(n?1:-1))/2}var Us=function(){this.x=0,this.y=0,this.width=0,this.height=0},Ys={},Zs=t("R",function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new Us},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=Hs(Ys,e,this.style);n=a.x,i=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,i=e.y,r=e.width,o=e.height;e.r?function(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,h=e.height,c=e.r;u<0&&(s+=u,u=-u),h<0&&(l+=h,h=-h),"number"==typeof c?n=i=r=o=c:c instanceof Array?1===c.length?n=i=r=o=c[0]:2===c.length?(n=r=c[0],i=o=c[1]):3===c.length?(n=c[0],i=o=c[1],r=c[2]):(n=c[0],i=c[1],r=c[2],o=c[3]):n=i=r=o=0,n+i>u&&(n*=u/(a=n+i),i*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),i+r>h&&(i*=h/(a=i+r),r*=h/a),n+o>h&&(n*=h/(a=n+o),o*=h/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+h-r),0!==r&&t.arc(s+u-r,l+h-r,r,0,Math.PI/2),t.lineTo(s+o,l+h),0!==o&&t.arc(s+o,l+h-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,i,r,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(Rs));Zs.prototype.type="rect";var Xs={fill:"#000"},js={style:k({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Da.style)},qs=t("O",function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Xs,n.attr(e),n}return i(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;ef&&h){var g=Math.floor(f/l);c=c||n.length>g,n=n.slice(0,g)}if(t&&a&&null!=d)for(var v=ma(d,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),m={},y=0;y0,T=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),C=i.calculatedLineHeight,A=0;Al&&Sa(n,t.substring(l,u),e,s),Sa(n,i[2],e,s,i[1]),l=ga.lastIndex}lo){var A=n.lines.length;w>0?(x.tokens=x.tokens.slice(0,w),m(x,b,_),n.lines=n.lines.slice(0,y+1)):n.lines=n.lines.slice(0,y),n.isTruncated=n.isTruncated||n.lines.length=0&&"right"===(C=x[T]).align;)this._placeToken(C,t,b,f,I,"right",v),w-=C.width,I-=C.width,T--;for(M+=(n-(M-p)-(g-I)-w)/2;S<=T;)C=x[S],this._placeToken(C,t,b,f,M+C.width/2,"center",v),M+=C.width,S++;f+=b}},e.prototype._placeToken=function(t,e,n,i,r,o,a){var s=e.rich[t.styleName]||{};s.text=t.text;var l=t.verticalAlign,h=i+n/2;"top"===l?h=i+t.height/2:"bottom"===l&&(h=i+n-t.height/2),!t.isLineHolder&&sl(s)&&this._renderBackground(s,e,"right"===o?r-t.width:"center"===o?r-t.width/2:r,h-t.height/2,t.width,t.height);var c=!!s.backgroundColor,d=t.textPadding;d&&(r=ol(r,o,d),h-=t.height/2-d[0]-t.innerHeight/2);var p=this._getOrCreateChild(Es),f=p.createStyle();p.useStyle(f);var g=this._defaultStyle,v=!1,m=0,y=rl("fill"in s?s.fill:"fill"in e?e.fill:(v=!0,g.fill)),x=il("stroke"in s?s.stroke:"stroke"in e?e.stroke:c||a||g.autoStroke&&!v?null:(m=2,g.stroke)),_=s.textShadowBlur>0||e.textShadowBlur>0;f.text=t.text,f.x=r,f.y=h,_&&(f.shadowBlur=s.textShadowBlur||e.textShadowBlur||0,f.shadowColor=s.textShadowColor||e.textShadowColor||"transparent",f.shadowOffsetX=s.textShadowOffsetX||e.textShadowOffsetX||0,f.shadowOffsetY=s.textShadowOffsetY||e.textShadowOffsetY||0),f.textAlign=o,f.textBaseline="middle",f.font=t.font||u,f.opacity=at(s.opacity,e.opacity,1),tl(f,s),x&&(f.lineWidth=at(s.lineWidth,e.lineWidth,m),f.lineDash=ot(s.lineDash,e.lineDash),f.lineDashOffset=e.lineDashOffset||0,f.stroke=x),y&&(f.fill=y);var b=t.contentWidth,w=t.contentHeight;p.setBoundingRect(new Be(Ar(f.x,b,f.textAlign),Dr(f.y,w,f.textBaseline),b,w))},e.prototype._renderBackground=function(t,e,n,i,r,o){var a,s,l,u=t.backgroundColor,h=t.borderWidth,c=t.borderColor,d=u&&u.image,p=u&&!d,f=t.borderRadius,g=this;if(p||t.lineHeight||h&&c){(a=this._getOrCreateChild(Zs)).useStyle(a.createStyle()),a.style.fill=null;var v=a.shape;v.x=n,v.y=i,v.width=r,v.height=o,v.r=f,a.dirtyShape()}if(p)(l=a.style).fill=u||null,l.fillOpacity=ot(t.fillOpacity,1);else if(d){(s=this._getOrCreateChild(Bs)).onload=function(){g.dirtyStyle()};var m=s.style;m.image=u.image,m.x=n,m.y=i,m.width=r,m.height=o}h&&c&&((l=a.style).lineWidth=h,l.stroke=c,l.strokeOpacity=ot(t.strokeOpacity,1),l.lineDash=t.borderDash,l.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var y=(a||s).style;y.shadowBlur=t.shadowBlur||0,y.shadowColor=t.shadowColor||"transparent",y.shadowOffsetX=t.shadowOffsetX||0,y.shadowOffsetY=t.shadowOffsetY||0,y.opacity=at(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return el(t)&&(e=[t.fontStyle,t.fontWeight,Qs(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&ht(e)||t.textFont||t.font},e}(Pa)),Ks={left:!0,right:1,center:1},$s={top:1,bottom:1,middle:1},Js=["fontStyle","fontWeight","fontSize","fontFamily"];function Qs(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?"12px":t+"px":t}function tl(t,e){for(var n=0;n=0,o=!1;if(t instanceof Rs){var a=dl(t),s=r&&a.selectFill||a.normalFill,l=r&&a.selectStroke||a.normalStroke;if(wl(s)||wl(l)){var u=(i=i||{}).style||{};"inherit"===u.fill?(o=!0,i=L({},i),(u=L({},u)).fill=s):!wl(u.fill)&&wl(s)?(o=!0,i=L({},i),(u=L({},u)).fill=ci(s)):!wl(u.stroke)&&wl(l)&&(o||(i=L({},i),u=L({},u)),u.stroke=ci(l)),i.style=u}}if(i&&null==i.z2){o||(i=L({},i));var h=t.z2EmphasisLift;i.z2=t.z2+(null!=h?h:vl)}return i}(this,0,e,n);if("blur"===t)return function(t,e,n){var i=O(t.currentStates,e)>=0,r=t.style.opacity,o=i?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function Kl(t,e,n){nu(t,!0),kl(t,Rl),Jl(t,e,n)}function $l(t,e,n,i){i?function(t){nu(t,!1)}(t):Kl(t,e,n)}function Jl(t,e,n){var i=ll(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var Ql=["emphasis","blur","select"],tu={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function eu(t,e,n,i){n=n||"itemStyle";for(var r=0;r1&&(a*=cu(f),s*=cu(f));var g=(r===o?-1:1)*cu((a*a*(s*s)-a*a*(p*p)-s*s*(d*d))/(a*a*(p*p)+s*s*(d*d)))||0,v=g*a*p/s,m=g*-s*d/a,y=(t+n)/2+pu(c)*v-du(c)*m,x=(e+i)/2+du(c)*v+pu(c)*m,_=mu([1,0],[(d-v)/a,(p-m)/s]),b=[(d-v)/a,(p-m)/s],w=[(-1*d-v)/a,(-1*p-m)/s],S=mu(b,w);if(vu(b,w)<=-1&&(S=fu),vu(b,w)>=1&&(S=0),S<0){var M=Math.round(S/fu*1e6)/1e6;S=2*fu+M%2*fu}h.addData(u,y,x,a,s,_,S,c,o)}var xu=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,_u=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,bu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.applyTransform=function(t){},e}(Rs);function wu(t){return null!=t.setData}function Su(t,e){var n=function(t){var e=new fs;if(!t)return e;var n,i=0,r=0,o=i,a=r,s=fs.CMD,l=t.match(xu);if(!l)return e;for(var u=0;uL*L+k*k&&(M=T,I=C),{cx:M,cy:I,x0:-h,y0:-c,x1:M*(r/b-1),y1:I*(r/b-1)}}function Hu(t,e){var n,i=Vu(e.r,0),r=Vu(e.r0||0,0),o=i>0;if(o||r>0){if(o||(i=r,r=0),r>i){var a=i;i=r,r=a}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=e.cx,h=e.cy,c=!!e.clockwise,d=Eu(l-s),p=d>ku&&d%ku;if(p>Fu&&(d=p),i>Fu)if(d>ku-Fu)t.moveTo(u+i*Ou(s),h+i*Pu(s)),t.arc(u,h,i,s,l,!c),r>Fu&&(t.moveTo(u+r*Ou(l),h+r*Pu(l)),t.arc(u,h,r,l,s,c));else{var f=void 0,g=void 0,v=void 0,m=void 0,y=void 0,x=void 0,_=void 0,b=void 0,w=void 0,S=void 0,M=void 0,I=void 0,T=void 0,C=void 0,A=void 0,D=void 0,L=i*Ou(s),k=i*Pu(s),P=r*Ou(l),O=r*Pu(l),R=d>Fu;if(R){var N=e.cornerRadius;N&&(n=function(t){var e;if(Y(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(N),f=n[0],g=n[1],v=n[2],m=n[3]);var E=Eu(i-r)/2;if(y=Bu(E,v),x=Bu(E,m),_=Bu(E,f),b=Bu(E,g),M=w=Vu(y,x),I=S=Vu(_,b),(w>Fu||S>Fu)&&(T=i*Ou(l),C=i*Pu(l),A=r*Ou(s),D=r*Pu(s),dFu){var U=Bu(v,M),Z=Bu(m,M),X=Gu(A,D,L,k,i,U,c),j=Gu(T,C,P,O,i,Z,c);t.moveTo(u+X.cx+X.x0,h+X.cy+X.y0),M0&&t.arc(u+X.cx,h+X.cy,U,Nu(X.y0,X.x0),Nu(X.y1,X.x1),!c),t.arc(u,h,i,Nu(X.cy+X.y1,X.cx+X.x1),Nu(j.cy+j.y1,j.cx+j.x1),!c),Z>0&&t.arc(u+j.cx,h+j.cy,Z,Nu(j.y1,j.x1),Nu(j.y0,j.x0),!c))}else t.moveTo(u+L,h+k),t.arc(u,h,i,s,l,!c);else t.moveTo(u+L,h+k);r>Fu&&R?I>Fu?(U=Bu(f,I),X=Gu(P,O,T,C,r,-(Z=Bu(g,I)),c),j=Gu(L,k,A,D,r,-U,c),t.lineTo(u+X.cx+X.x0,h+X.cy+X.y0),I0&&t.arc(u+X.cx,h+X.cy,Z,Nu(X.y0,X.x0),Nu(X.y1,X.x1),!c),t.arc(u,h,r,Nu(X.cy+X.y1,X.cx+X.x1),Nu(j.cy+j.y1,j.cx+j.x1),c),U>0&&t.arc(u+j.cx,h+j.cy,U,Nu(j.y1,j.x1),Nu(j.y0,j.x0),!c))):(t.lineTo(u+P,h+O),t.arc(u,h,r,l,s,c)):t.lineTo(u+P,h+O)}else t.moveTo(u,h);t.closePath()}}}var Wu=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},Uu=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new Wu},e.prototype.buildPath=function(t,e){Hu(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(Rs);Uu.prototype.type="sector";var Yu=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},Zu=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new Yu},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(Rs);function Xu(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){var o=function(t,e,n,i){var r,o,a,s,l=[],u=[],h=[],c=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var d=0,p=t.length;ddh[1]){if(a=!1,r)return a;var u=Math.abs(dh[0]-ch[1]),h=Math.abs(ch[0]-dh[1]);Math.min(u,h)>i.len()&&(u0){var c={duration:h.duration,delay:h.delay||0,easing:h.easing,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};l?e.animateFrom(n,c):e.animateTo(n,c)}else e.stopAnimation(),!l&&e.attr(n),a&&a(1),o&&o()}function bh(t,e,n,i,r,o){_h("update",t,e,n,i,r,o)}function wh(t,e,n,i,r,o){_h("enter",t,e,n,i,r,o)}function Sh(t){if(!t.__zr)return!0;for(var e=0;eMath.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Zh(t){return!t.isGroup}function Xh(t,e,n){if(t&&e){var i,r=(i={},t.traverse((function(t){Zh(t)&&t.anid&&(i[t.anid]=t)})),i);e.traverse((function(t){if(Zh(t)&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),bh(t,i,n,ll(t).dataIndex)}}}))}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=L({},t.shape)),e}}function jh(t,e){return V(t,(function(t){var n=t[0];n=Ah(n,e.x),n=Dh(n,e.x+e.width);var i=t[1];return i=Ah(i,e.y),[n,i=Dh(i,e.y+e.height)]}))}function qh(t,e){var n=Ah(t.x,e.x),i=Dh(t.x+t.width,e.x+e.width),r=Ah(t.y,e.y),o=Dh(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function Kh(t,e,n){var i=L({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),k(r,n),new Bs(i)):Eh(t.replace("path://",""),i,n,"center")}function $h(t,e,n,i,r){for(var o=0,a=r[r.length-1];o=-1e-6)return!1;var f=t-r,g=e-o,v=Qh(f,g,u,h)/p;if(v<0||v>1)return!1;var m=Qh(f,g,c,d)/p;return!(m<0||m>1)}function Qh(t,e,n,i){return t*i-n*e}function tc(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=X(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&z(H(l),(function(t){bt(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=ll(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:k({content:i,encodeHTMLContent:!0,formatterParams:s},r)}}function ec(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function nc(t,e){if(t)if(Y(t))for(var n=0;n-1?Nc:zc;function Gc(t,e){t=t.toUpperCase(),Bc[t]=new kc(e),Vc[t]=e}function Hc(t){return Bc[t]}Gc(Ec,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),Gc(Nc,{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}});var Wc=1e3,Uc=6e4,Yc=36e5,Zc=864e5,Xc=31536e6,jc={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},qc="{yyyy}-{MM}-{dd}",Kc={year:"{yyyy}",month:"{yyyy}-{MM}",day:qc,hour:qc+" "+jc.hour,minute:qc+" "+jc.minute,second:qc+" "+jc.second,millisecond:jc.none},$c=["year","month","day","hour","minute","second","millisecond"],Jc=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Qc(t,e){return"0000".substr(0,e-(t+="").length)+t}function td(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function ed(t){return t===td(t)}function nd(t,e,n,i){var r=go(t),o=r[od(n)](),a=r[ad(n)]()+1,s=Math.floor((a-1)/3)+1,l=r[sd(n)](),u=r["get"+(n?"UTC":"")+"Day"](),h=r[ld(n)](),c=(h-1)%12+1,d=r[ud(n)](),p=r[hd(n)](),f=r[cd(n)](),g=h>=12?"pm":"am",v=g.toUpperCase(),m=(i instanceof kc?i:Hc(i||Fc)||Bc[zc]).getModel("time"),y=m.get("month"),x=m.get("monthAbbr"),_=m.get("dayOfWeek"),b=m.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,g+"").replace(/{A}/g,v+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,Qc(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,y[a-1]).replace(/{MMM}/g,x[a-1]).replace(/{MM}/g,Qc(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,Qc(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,_[u]).replace(/{ee}/g,b[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Qc(h,2)).replace(/{H}/g,h+"").replace(/{hh}/g,Qc(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,Qc(d,2)).replace(/{m}/g,d+"").replace(/{ss}/g,Qc(p,2)).replace(/{s}/g,p+"").replace(/{SSS}/g,Qc(f,3)).replace(/{S}/g,f+"")}function id(t,e){var n=go(t),i=n[ad(e)]()+1,r=n[sd(e)](),o=n[ld(e)](),a=n[ud(e)](),s=n[hd(e)](),l=0===n[cd(e)](),u=l&&0===s,h=u&&0===a,c=h&&0===o,d=c&&1===r;return d&&1===i?"year":d?"month":c?"day":h?"hour":u?"minute":l?"second":"millisecond"}function rd(t,e,n){var i=q(t)?go(t):t;switch(e=e||id(t,n)){case"year":return i[od(n)]();case"half-year":return i[ad(n)]()>=6?1:0;case"quarter":return Math.floor((i[ad(n)]()+1)/4);case"month":return i[ad(n)]();case"day":return i[sd(n)]();case"half-day":return i[ld(n)]()/24;case"hour":return i[ld(n)]();case"minute":return i[ud(n)]();case"second":return i[hd(n)]();case"millisecond":return i[cd(n)]()}}function od(t){return t?"getUTCFullYear":"getFullYear"}function ad(t){return t?"getUTCMonth":"getMonth"}function sd(t){return t?"getUTCDate":"getDate"}function ld(t){return t?"getUTCHours":"getHours"}function ud(t){return t?"getUTCMinutes":"getMinutes"}function hd(t){return t?"getUTCSeconds":"getSeconds"}function cd(t){return t?"getUTCMilliseconds":"getMilliseconds"}function dd(t){return t?"setUTCFullYear":"setFullYear"}function pd(t){return t?"setUTCMonth":"setMonth"}function fd(t){return t?"setUTCDate":"setDate"}function gd(t){return t?"setUTCHours":"setHours"}function vd(t){return t?"setUTCMinutes":"setMinutes"}function md(t){return t?"setUTCSeconds":"setSeconds"}function yd(t){return t?"setUTCMilliseconds":"setMilliseconds"}function xd(t){if(!wo(t))return X(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function _d(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var bd=lt;function wd(t,e,n){function i(t){return t&&ht(t)?t:"-"}function r(t){return!(null==t||isNaN(t)||!isFinite(t))}var o="time"===e,a=t instanceof Date;if(o||a){var s=o?go(t):t;if(!isNaN(+s))return nd(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(a)return"-"}if("ordinal"===e)return j(t)?i(t):q(t)&&r(t)?t+"":"-";var l=bo(t);return r(l)?xd(l):j(t)?i(t):"boolean"==typeof t?t+"":"-"}var Sd=["a","b","c","d","e","f","g"],Md=function(t,e){return"{"+t+(null==e?"":e)+"}"};function Id(t,e,n){Y(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],o=0;o':'':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}:""}function Cd(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=go(e),r=n?"getUTC":"get",o=i[r+"FullYear"](),a=i[r+"Month"]()+1,s=i[r+"Date"](),l=i[r+"Hours"](),u=i[r+"Minutes"](),h=i[r+"Seconds"](),c=i[r+"Milliseconds"]();return t=t.replace("MM",Qc(a,2)).replace("M",a).replace("yyyy",o).replace("yy",Qc(o%100+"",2)).replace("dd",Qc(s,2)).replace("d",s).replace("hh",Qc(l,2)).replace("h",l).replace("mm",Qc(u,2)).replace("m",u).replace("ss",Qc(h,2)).replace("s",h).replace("SSS",Qc(c,3))}function Ad(t,e){return e=e||"transparent",X(t)?t:K(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Dd(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var Ld=z,kd=["left","right","top","bottom","width","height"],Pd=[["width","left","right"],["height","top","bottom"]];function Od(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(l,u){var h,c,d=l.getBoundingRect(),p=e.childAt(u+1),f=p&&p.getBoundingRect();if("horizontal"===t){var g=d.width+(f?-f.x+d.x:0);(h=o+g)>i||l.newline?(o=0,h=g,a+=s+n,s=d.height):s=Math.max(s,d.height)}else{var v=d.height+(f?-f.y+d.y:0);(c=a+v)>r||l.newline?(o+=s+n,a=0,c=v,s=d.width):s=Math.max(s,d.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=h+n:a=c+n)}))}var Rd=Od;function Nd(t,e,n){n=bd(n||0);var i=e.width,r=e.height,o=no(t.left,i),a=no(t.top,r),s=no(t.right,i),l=no(t.bottom,r),u=no(t.width,i),h=no(t.height,r),c=n[2]+n[0],d=n[1]+n[3],p=t.aspect;switch(isNaN(u)&&(u=i-s-d-o),isNaN(h)&&(h=r-l-c-a),null!=p&&(isNaN(u)&&isNaN(h)&&(p>i/r?u=.8*i:h=.8*r),isNaN(u)&&(u=p*h),isNaN(h)&&(h=u/p)),isNaN(o)&&(o=i-s-u-d),isNaN(a)&&(a=r-l-h-c),t.left||t.right){case"center":o=i/2-u/2-n[3];break;case"right":o=i-u-d}switch(t.top||t.bottom){case"middle":case"center":a=r/2-h/2-n[0];break;case"bottom":a=r-h-c}o=o||0,a=a||0,isNaN(u)&&(u=i-d-o-(s||0)),isNaN(h)&&(h=r-c-a-(l||0));var f=new Be(o+n[3],a+n[0],u,h);return f.margin=n,f}function Ed(t,e,n,i,r,o){var a,s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if((o=o||t).x=t.x,o.y=t.y,!s&&!l)return!1;if("raw"===u)a="group"===t.type?new Be(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(a=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();(a=a.clone()).applyTransform(h)}var c=Nd(k({width:a.width,height:a.height},e),n,i),d=s?c.x-a.x:0,p=l?c.y-a.y:0;return"raw"===u?(o.x=d,o.y=p):(o.x+=d,o.y+=p),o===t&&t.markRedraw(),!0}function zd(t){var e=t.layoutMode||t.constructor.layoutMode;return K(e)?e:e?{type:e}:null}function Vd(t,e,n){var i=n&&n.ignoreSize;!Y(i)&&(i=[i,i]);var r=a(Pd[0],0),o=a(Pd[1],1);function a(n,r){var o={},a=0,u={},h=0;if(Ld(n,(function(e){u[e]=t[e]})),Ld(n,(function(t){s(e,t)&&(o[t]=u[t]=e[t]),l(o,t)&&a++,l(u,t)&&h++})),i[r])return l(e,n[1])?u[n[2]]=null:l(e,n[2])&&(u[n[1]]=null),u;if(2!==h&&a){if(a>=2)return o;for(var c=0;c=0;a--)o=A(o,n[a],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return jo(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(kc));na(Hd,kc),aa(Hd),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=ta(t);e[i.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var o=ta(n).main;t.hasSubTypes(n)&&e[o]&&(r=e[o](i))}return r}}(Hd),function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,i,r,o){if(t.length){var a=function(t){var i={},r=[];return z(t,(function(o){var a=n(i,o),s=function(t,e){var n=[];return z(t,(function(t){O(e,t)>=0&&n.push(t)})),n}(a.originalDeps=e(o),t);a.entryCount=s.length,0===a.entryCount&&r.push(o),z(s,(function(t){O(a.predecessor,t)<0&&a.predecessor.push(t);var e=n(i,t);O(e.successor,t)<0&&e.successor.push(o)}))})),{graph:i,noEntryList:r}}(i),s=a.graph,l=a.noEntryList,u={};for(z(t,(function(t){u[t]=!0}));l.length;){var h=l.pop(),c=s[h],d=!!u[h];d&&(r.call(o,h,c.originalDeps.slice()),delete u[h]),z(c.successor,d?f:p)}z(u,(function(){throw new Error("")}))}function p(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function f(t){u[t]=!0,p(t)}}}(Hd,(function(t){var e=[];return z(Hd.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=V(e,(function(t){return ta(t).main})),"dataset"!==t&&O(e,"dataset")<=0&&e.unshift("dataset"),e}));var Wd="";"undefined"!=typeof navigator&&(Wd=navigator.platform||"");var Ud="rgba(0, 0, 0, 0.2)";const Yd={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Ud,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Ud,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Ud,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Ud,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Ud,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Ud,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Wd.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var Zd=mt(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Xd="original",jd="arrayRows",qd="objectRows",Kd="keyedColumns",$d="typedArray",Jd="unknown",Qd="column",tp="row",ep={Must:1,Might:2,Not:3},np=Ho();function ip(t,e,n){var i={},r=op(e);if(!r||!t)return i;var o,a,s=[],l=[],u=e.ecModel,h=np(u).datasetMap,c=r.uid+"_"+n.seriesLayoutBy;z(t=t.slice(),(function(e,n){var r=K(e)?e:t[n]={name:e};"ordinal"===r.type&&null==o&&(o=n,a=f(r)),i[r.name]=[]}));var d=h.get(c)||h.set(c,{categoryWayDim:a,valueWayDim:0});function p(t,e,n){for(var i=0;ie)return t[i];return t[n-1]}(i,a):n;if((h=h||n)&&h.length){var c=h[l];return r&&(u[r]=c),s.paletteIdx=(l+1)%h.length,c}}var mp="\0_ec_inner",yp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new kc(i),this._locale=new kc(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=bp(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,bp(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):hp(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this);a.length&&z(a,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,o=[],a=mt(),s=e&&e.replaceMergeMainTypeMap;np(this).datasetMap=mt(),z(t,(function(t,e){null!=t&&(Hd.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?C(t):A(n[e],t,!0))})),s&&s.each((function(t,e){Hd.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))})),Hd.topologicalTravel(o,Hd.getAllClassMainTypes(),(function(e){var o=function(t,e,n){var i=cp.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,Lo(t[e])),a=i.get(e),l=a?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",u=No(a,o,l);(function(t,e,n){z(t,(function(t){var i=t.newOption;K(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,i){return e.type?e.type:n?n.subType:i.determineSubType(t,e)}(e,i,t.existing,n))}))})(u,e,Hd),n[e]=null,i.set(e,null),r.set(e,0);var h,c=[],d=[],p=0;z(u,(function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,a=Hd.getClass(e,t.keyInfo.subType,!o);if(!a)return;if("tooltip"===e){if(h)return;h=!0}if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var s=L({componentIndex:n},t.keyInfo);L(i=new a(r,this,this,s),s),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(c.push(i.option),d.push(i),p++):(c.push(void 0),d.push(void 0))}),this),n[e]=c,i.set(e,d),r.set(e,p),"series"===e&&lp(this)}),this),this._seriesIndices||lp(this)},e.prototype.getOption=function(){var t=C(this.option);return z(t,(function(e,n){if(Hd.hasClass(n)){for(var i=Lo(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!Fo(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}})),delete t[mp],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r=e:"max"===n?t<=e:t===e})(i[a],t,o)||(r=!1)}})),r}var Dp=z,Lp=K,kp=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Pp(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=kp.length;n=0;g--){var v=t[g];if(s||(d=v.data.rawIndexOf(v.stackedByDimension,c)),d>=0){var m=v.data.getByRawIndex(v.stackResultDimension,d);if("all"===l||"positive"===l&&m>0||"negative"===l&&m<0||"samesign"===l&&p>=0&&m>0||"samesign"===l&&p<=0&&m<0){p=uo(p,m),f=m;break}}}return i[0]=p,i[1]=f,i}))}))}var Kp,$p,Jp,Qp,tf,ef=function(){return function(t){this.data=t.data||(t.sourceFormat===Kd?{}:[]),this.sourceFormat=t.sourceFormat||Jd,this.seriesLayoutBy=t.seriesLayoutBy||Qd,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;nu&&(u=p)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""})):void 0},t.prototype.getRawValue=function(t,e){return bf(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function Mf(t){var e,n;return K(t)?t.type&&(n=t):e=t,{text:e,frag:n}}function If(t){return new Tf(t)}var Tf=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var o,a=h(this._modBy),s=this._modDataCount||0,l=h(t&&t.modBy),u=t&&t.modDataCount||0;function h(t){return!(t>=1)&&(t=1),t}a===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=l,this._modDataCount=u;var c=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,p=Math.min(null!=c?this._dueIndex+c:1/0,this._dueEnd);if(!i&&(o||d1&&i>0?s:a}};return o;function a(){return e=t?null:oe},gte:function(t,e){return t>=e}},Pf=function(){function t(t,e){q(e)||To(""),this._opFn=kf[t],this._rvalFloat=bo(e)}return t.prototype.evaluate=function(t){return q(t)?this._opFn(t,this._rvalFloat):this._opFn(bo(t),this._rvalFloat)},t}(),Of=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=q(t)?t:bo(t),i=q(e)?e:bo(e),r=isNaN(n),o=isNaN(i);if(r&&(n=this._incomparable),o&&(i=this._incomparable),r&&o){var a=X(t),s=X(e);a&&(n=s?t:0),s&&(i=a?e:0)}return ni?-this._resultLT:0},t}(),Rf=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=bo(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=bo(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function Nf(t,e){return"eq"===t||"ne"===t?new Rf("eq"===t,e):bt(kf,t)?new Pf(t,e):null}var Ef=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return Af(t,e)},t}();function zf(t){return Wf(t.sourceFormat)||To(""),t.data}function Vf(t){var e=t.sourceFormat,n=t.data;if(Wf(e)||To(""),e===jd){for(var i=[],r=0,o=n.length;r65535?Zf:Xf}function Jf(t,e,n,i,r){var o=Kf[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;ug[1]&&(g[1]=f)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=V(o,(function(t){return t.property})),u=0;uv[1]&&(v[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l=0&&a<0)&&(o=c,a=h,s=0),h===a&&(r[s++]=l))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r=u&&x<=h||isNaN(x))&&(a[s++]=p),p++;d=!0}else if(2===r){f=c[i[0]];var v=c[i[1]],m=t[i[1]][0],y=t[i[1]][1];for(g=0;g=u&&x<=h||isNaN(x))&&(_>=m&&_<=y||isNaN(_))&&(a[s++]=p),p++}d=!0}}if(!d)if(1===r)for(g=0;g=u&&x<=h||isNaN(x))&&(a[s++]=b)}else for(g=0;gt[M][1])&&(w=!1)}w&&(a[s++]=e.getRawIndex(g))}return sv[1]&&(v[1]=g)}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),h=this.getRawIndex(0),c=new($f(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));c[l++]=h;for(var d=1;dn&&(n=i,r=I)}M>0&&M<_-x&&(c[l++]=Math.min(S,r),r=Math.max(S,r)),c[l++]=r,h=r}return c[l++]=this.getRawIndex(s-1),o._count=l,o._indices=c,o.getRawIndex=this._getRawIdx,o},t.prototype.minmaxDownSample=function(t,e){for(var n=this.clone([t],!0),i=n._chunks,r=Math.floor(1/e),o=i[t],a=this.count(),s=new($f(this._rawCount))(2*Math.ceil(a/r)),l=0,u=0;ua&&(f=a-u);for(var g=0;gp&&(p=v,d=u+g)}var m=this.getRawIndex(h),y=this.getRawIndex(d);hu-p&&(s=u-p,a.length=s);for(var f=0;fh[1]&&(h[1]=v),c[d++]=m}return r._count=d,r._indices=c,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();ra&&(a=l)}return i=[o,a],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return Af(t[i],this._dimensions[i])}Uf={arrayRows:t,objectRows:function(t,e,n,i){return Af(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return Af(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),tg=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(ng(n)){var o=n,a=void 0,s=void 0,l=void 0;if(r){var u=i[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else s=J(a=o.get("data",!0))?$d:Xd,e=[];var h=this._getSourceMetaRawOption()||{},c=l&&l.metaRawOption||{},d=ot(h.seriesLayoutBy,c.seriesLayoutBy)||null,p=ot(h.sourceHeader,c.sourceHeader),f=ot(h.dimensions,c.dimensions);t=d!==c.seriesLayoutBy||!!p!=!!c.sourceHeader||f?[rf(a,{seriesLayoutBy:d,sourceHeader:p,dimensions:f},s)]:[]}else{var g=n;if(r){var v=this._applyTransform(i);t=v.sourceList,e=v.upstreamSignList}else t=[rf(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);null!=r&&1!==t.length&&ig("");var o,a=[],s=[];return z(t,(function(t){t.prepareSource();var e=t.getSource(r||0);null==r||e||ig(""),a.push(e),s.push(t._getVersionSign())})),i?e=function(t,e){var n=Lo(t),i=n.length;i||To("");for(var r=0,o=i;r1||n>0&&!t.noHeader;return z(t.blocks,(function(t){var n=cg(t);n>=e&&(e=n+ +(i&&(!n||ug(t)&&!t.noHeader)))})),e}return 0}function dg(t,e,n,i){var r,o=e.noHeader,a=(r=cg(e),{html:ag[r],richText:sg[r]}),s=[],l=e.blocks||[];ut(!l||Y(l)),l=l||[];var u=t.orderMode;if(e.sortBlocks&&u){l=l.slice();var h={valueAsc:"asc",valueDesc:"desc"};if(bt(h,u)){var c=new Of(h[u],null);l.sort((function(t,e){return c.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===u&&l.reverse()}z(l,(function(n,r){var o=e.valueFormatter,l=hg(n)(o?L(L({},t),{valueFormatter:o}):t,n,r>0?a.html:0,i);null!=l&&s.push(l)}));var d="richText"===t.renderMode?s.join(a.richText):gg(i,s.join(""),o?n:a.html);if(o)return d;var p=wd(e.header,"ordinal",t.useUTC),f=og(i,t.renderMode).nameStyle,g=rg(i);return"richText"===t.renderMode?vg(t,p,f)+a.richText+d:gg(i,'
'+oe(p)+"
"+d,n)}function pg(t,e,n,i){var r=t.renderMode,o=e.noName,a=e.noValue,s=!e.markerType,l=e.name,u=t.useUTC,h=e.valueFormatter||t.valueFormatter||function(t){return V(t=Y(t)?t:[t],(function(t,e){return wd(t,Y(p)?p[e]:p,u)}))};if(!o||!a){var c=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),d=o?"":wd(l,"ordinal",u),p=e.valueType,f=a?[]:h(e.value,e.dataIndex),g=!s||!o,v=!s&&o,m=og(i,r),y=m.nameStyle,x=m.valueStyle;return"richText"===r?(s?"":c)+(o?"":vg(t,d,y))+(a?"":function(t,e,n,i,r){var o=[r],a=i?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(Y(e)?e.join(" "):e,o)}(t,f,g,v,x)):gg(i,(s?"":c)+(o?"":function(t,e,n){return''+oe(t)+""}(d,!s,y))+(a?"":function(t,e,n,i){var r=n?"10px":"20px",o=e?"float:right;margin-left:"+r:"";return t=Y(t)?t:[t],''+V(t,(function(t){return oe(t)})).join("  ")+""}(f,g,v,x)),n)}}function fg(t,e,n,i,r,o){if(t)return hg(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function gg(t,e,n){return'
'+e+'
'}function vg(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function mg(t,e){return Ad(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function yg(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var xg=function(){function t(){this.richTextStyles={},this._nextStyleNameId=So()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,r=Td({color:e,type:t,renderMode:n,markerId:i});return X(r)?r:(this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};Y(e)?z(e,(function(t){return L(n,t)})):L(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();function _g(t){var e,n,i,r,o=t.series,a=t.dataIndex,s=t.multipleSeries,l=o.getData(),u=l.mapDimensionsAll("defaultedTooltip"),h=u.length,c=o.getRawValue(a),d=Y(c),p=mg(o,a);if(h>1||d&&!h){var f=function(t,e,n,i,r){var o=e.getData(),a=B(t,(function(t,e,n){var i=o.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),s=[],l=[],u=[];function h(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?u.push(lg("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?z(i,(function(t){h(bf(o,n,t),t)})):z(t,h),{inlineValues:s,inlineValueTypes:l,blocks:u}}(c,o,a,u,p);e=f.inlineValues,n=f.inlineValueTypes,i=f.blocks,r=f.inlineValues[0]}else if(h){var g=l.getDimensionInfo(u[0]);r=e=bf(l,a,u[0]),n=g.type}else r=e=d?c[0]:c;var v=Bo(o),m=v&&o.name||"",y=l.getName(a),x=s?m:y;return lg("section",{header:m,noHeader:s||!v,sortParam:r,blocks:[lg("nameValue",{markerType:"item",markerColor:p,name:x,noName:!ht(x),value:e,valueType:n,dataIndex:a})].concat(i||[])})}var bg=Ho();function wg(t,e){return t.getName(e)||t.getId(e)}var Sg="__universalTransitionEnabled",Mg=t("aj",function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return i(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=If({count:Tg,reset:Cg}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(bg(this).sourceManager=new tg(this)).prepareSource();var i=this.getInitialData(t,n);Dg(i,this),this.dataTask.context.data=i,bg(this).dataBeforeProcessed=i,Ig(this),this._initSelectedMapFromData(i)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=zd(this),i=n?Bd(t):{},r=this.subType;Hd.hasClass(r)&&(r+="Series"),A(t,e.getTheme().get(this.subType)),A(t,this.getDefaultOption()),ko(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Vd(t,i,n)},e.prototype.mergeOption=function(t,e){t=A(this.option,t,!0),this.fillDataTextStyle(t.data);var n=zd(this);n&&Vd(this.option,t,n);var i=bg(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);Dg(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,bg(this).dataBeforeProcessed=r,Ig(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!J(t))for(var e=["show"],n=0;nthis.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=fp.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o=0&&n.push(r)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[wg(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[Sg])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,r=this.option,o=r.selectedMode,a=e.length;if(o&&a)if("series"===o)r.selectedMap="all";else if("multiple"===o){K(r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l0&&this._innerSelect(t,e)}},e.registerClass=function(t){return Hd.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(Hd));function Ig(t){var e=t.name;Bo(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return z(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}(t)||e)}function Tg(t){return t.model.getRawData().count()}function Cg(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),Ag}function Ag(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function Dg(t,e){z(yt(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,U(Lg,e))}))}function Lg(t,e){var n=kg(t);return n&&n.setOutputEnd((e||this).count()),e}function kg(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}N(Mg,Sf),N(Mg,fp),na(Mg,Hd);var Pg=t("Q",function(){function t(){this.group=new Wr,this.uid=Oc("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}());function Og(){var t=Ho();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}ea(Pg),aa(Pg);var Rg=Ho(),Ng=Og(),Eg=t("ak",function(){function t(){this.group=new Wr,this.uid=Oc("viewChart"),this.renderTask=If({plan:Bg,reset:Fg}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&Vg(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&Vg(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){nc(this.group,t)},t.markUpdateMethod=function(t,e){Rg(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}());function zg(t,e,n){t&&iu(t)&&("emphasis"===e?zl:Vl)(t,n)}function Vg(t,e,n){var i=Go(t,e),r=e&&null!=e.highlightKey?function(t){var e=cl[t];return null==e&&hl<=32&&(e=cl[t]=hl++),e}(e.highlightKey):null;null!=i?z(Lo(i),(function(e){zg(t.getItemGraphicEl(e),n,r)})):t.eachItemGraphicEl((function(t){zg(t,n,r)}))}function Bg(t){return Ng(t.model)}function Fg(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&Rg(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),Gg[l]}ea(Eg),aa(Eg);var Gg={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},Hg="\0__throttleOriginMethod",Wg="\0__throttleRate",Ug="\0__throttleType";function Yg(t,e,n){var i,r,o,a,s,l=0,u=0,h=null;function c(){u=(new Date).getTime(),h=null,t.apply(o,a||[])}e=e||0;var d=function(){for(var t=[],d=0;d=0?c():h=setTimeout(c,-r),l=i};return d.clear=function(){h&&(clearTimeout(h),h=null)},d.debounceNextCall=function(t){s=t},d}function Zg(t,e,n,i){var r=t[e];if(r){var o=r[Hg]||r,a=r[Ug];if(r[Wg]!==n||a!==i){if(null==n||!i)return t[e]=o;(r=t[e]=Yg(o,n,"debounce"===i))[Hg]=o,r[Ug]=i,r[Wg]=n}return r}}function Xg(t,e){var n=t[e];n&&n[Hg]&&(n.clear&&n.clear(),t[e]=n[Hg])}var jg=Ho(),qg={itemStyle:sa(Ac,!0),lineStyle:sa(Ic,!0)},Kg={lineStyle:"stroke",itemStyle:"fill"};function $g(t,e){var n=t.visualStyleMapper||qg[e];return n||(console.warn("Unknown style type '"+e+"'."),qg.itemStyle)}function Jg(t,e){var n=t.visualDrawType||Kg[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var Qg={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=$g(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=Jg(t,i),l=o[s],u=Z(l)?l:null,h="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||h){var c=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=c,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||Z(o.fill)?c:o.fill,o.stroke="auto"===o.stroke||Z(o.stroke)?c:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=L({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}},tv=new kc,ev={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=$g(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){tv.option=n[i];var a=r(tv);L(t.ensureUniqueItemVisual(e,"style"),a),tv.option.decal&&(t.setItemVisual(e,"decal",tv.option.decal),tv.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},nv={performRawSeries:!0,overallReset:function(t){var e=mt();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),jg(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=jg(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=Jg(e,a);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var a=i[t];if(r.getItemVisual(a,"colorFromPalette")){var l=r.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",h=n.count();l[s]=e.getColorFromPalette(u,o,h)}}))}}))}},iv=Math.PI,rv=function(){function t(t,e,n,i){this._stageTaskMap=mt(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=mt();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;z(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{});ut(!(i.reset&&i.overallReset),""),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}z(t,(function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,d=h.agentStubMap;d.each((function(t){a(i,t)&&(t.dirty(),c=!0)})),c&&h.dirty(),o.updatePayload(h,n);var p=o.getPerformArgs(h,i.block);d.each((function(t){t.perform(p)})),h.perform(p)&&(r=!0)}else u&&u.each((function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=mt(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||If({plan:uv,reset:hv,count:pv}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||If({reset:ov});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=mt(),l=t.seriesType,u=t.getTargetSeries,h=!0,c=!1;function d(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(c=!0,If({reset:av,onDirty:lv})));n.context={model:t,overallProgress:h},n.agent=o,n.__block=h,r._pipe(t,n)}ut(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,d):u?u(n,i).each(d):(h=!1,z(n.getSeries(),d)),c&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return Z(t)&&(t={overallReset:t,seriesType:fv(t)}),t.uid=Oc("stageHandler"),e&&(t.visualType=e),t},t}();function ov(t){t.overallReset(t.ecModel,t.api,t.payload)}function av(t){return t.overallProgress&&sv}function sv(){this.agent.dirty(),this.getDownstream().dirty()}function lv(){this.agent&&this.agent.dirty()}function uv(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function hv(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=Lo(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?V(e,(function(t,e){return dv(e)})):cv}var cv=dv(0);function dv(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o0&&h===r.length-u.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),Cv=["symbol","symbolSize","symbolRotate","symbolOffset"],Av=Cv.concat(["symbolKeepAspect"]),Dv={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a=0&&$v(l)?l:.5,t.createRadialGradient(a,s,0,a,s,l)}(t,e,n):function(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=$v(i)?i:0,r=$v(r)?r:1,o=$v(o)?o:0,a=$v(a)?a:0,t.createLinearGradient(i,o,r,a)}(t,e,n),r=e.colorStops,o=0;o0&&(e=i.lineDash,n=i.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:q(e)?[e]:Y(e)?e:null:null),o=i.lineDashOffset;if(r){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=V(r,(function(t){return t/a})),o/=a)}return[r,o]}var nm=new fs(!0);function im(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function rm(t){return"string"==typeof t&&"none"!==t}function om(t){var e=t.fill;return null!=e&&"none"!==e}function am(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function sm(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function lm(t,e,n){var i=da(e.image,e.__image,n);if(fa(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*St),o.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(o)}return r}}var um=["shadowBlur","shadowOffsetX","shadowOffsetY"],hm=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function cm(t,e,n,i,r){var o=!1;if(!i&&e===(n=n||{}))return!1;if(i||e.opacity!==n.opacity){ym(t,r),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?Aa.opacity:a}(i||e.blend!==n.blend)&&(o||(ym(t,r),o=!0),t.globalCompositeOperation=e.blend||Aa.blend);for(var s=0;s0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[Nm])if(this._disposed)this.id;else{var i,r,o;if(K(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[Nm]=!0,!this._model||e){var a=new Cp(this._api),s=this._theme,l=this._model=new yp;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},gy);var u={seriesTransition:o,optionChanged:!0};if(n)this[Em]={silent:i,updateParams:u},this[Nm]=!1,this.getZr().wakeUp();else{try{Wm(this),Zm.update.call(this,null,u)}catch(Fu){throw this[Em]=null,this[Nm]=!1,Fu}this._ssr||this._zr.flush(),this[Em]=null,this[Nm]=!1,Km.call(this,i),$m.call(this,i)}}},e.prototype.setTheme=function(){},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||o.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(o.svgSupported){var t=this._zr;return z(t.storage.getDisplayList(),(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;z(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return z(i,(function(t){t.group.ignore=!1})),o}this.id},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(_y[n]){var a=o,s=o,l=-1/0,u=-1/0,h=[],d=t&&t.pixelRatio||this.getDevicePixelRatio();z(xy,(function(o,c){if(o.group===n){var d=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(C(t)),p=o.getDom().getBoundingClientRect();a=i(p.left,a),s=i(p.top,s),l=r(p.right,l),u=r(p.bottom,u),h.push({dom:d,left:p.left,top:p.top})}}));var p=(l*=d)-(a*=d),f=(u*=d)-(s*=d),g=c.createCanvas(),v=jr(g,{renderer:e?"svg":"canvas"});if(v.resize({width:p,height:f}),e){var m="";return z(h,(function(t){var e=t.left-a,n=t.top-s;m+=''+t.dom+""})),v.painter.getSvgRoot().innerHTML=m,t.connectedBackgroundColor&&v.painter.setBackgroundColor(t.connectedBackgroundColor),v.refreshImmediately(),v.painter.toDataURL()}return t.connectedBackgroundColor&&v.add(new Zs({shape:{x:0,y:0,width:p,height:f},style:{fill:t.connectedBackgroundColor}})),z(h,(function(t){var e=new Bs({style:{x:t.left*d-a,y:t.top*d-s,image:t.dom}});v.add(e)})),v.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}this.id},e.prototype.convertToPixel=function(t,e){return Xm(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return Xm(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){var n;if(!this._disposed)return z(Uo(this._model,t),(function(t,i){i.indexOf("Models")>=0&&z(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}}),this)}),this),!!n;this.id},e.prototype.getVisual=function(t,e){var n=Uo(this._model,t,{defaultMainType:"series"}),i=n.seriesModel.getData(),r=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?i.indexOfRawIndex(n.dataIndex):null;return null!=r?kv(i,r,e):Pv(i,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t,e,n,i=this;z(cy,(function(t){var e=function(e){var n,r=i.getModel(),o=e.target;if("globalout"===t?n={}:o&&Ev(o,(function(t){var e=ll(t);if(e&&null!=e.dataIndex){var i=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return n=i&&i.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return n=L({},e.eventData),!0}),!0),n){var a=n.componentType,s=n.componentIndex;"markLine"!==a&&"markPoint"!==a&&"markArea"!==a||(a="series",s=n.seriesIndex);var l=a&&null!=s&&r.getComponent(a,s),u=l&&i["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];n.event=e,n.type=t,i._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:l,view:u},i.trigger(t,n)}};e.zrEventfulCallAtLast=!0,i._zr.on(t,e,i)})),z(py,(function(t,e){i._messageCenter.on(e,(function(t){this.trigger(e,t)}),i)})),z(["selectchanged"],(function(t){i._messageCenter.on(t,(function(e){this.trigger(t,e)}),i)})),t=this._messageCenter,e=this,n=this._api,t.on("selectchanged",(function(t){var i=n.getModel();t.isFromClick?(Nv("map","selectchanged",e,i,t),Nv("pie","selectchanged",e,i,t)):"select"===t.fromAction?(Nv("map","selected",e,i,t),Nv("pie","selected",e,i,t)):"unselect"===t.fromAction&&(Nv("map","unselected",e,i,t),Nv("pie","unselected",e,i,t))}))},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)this.id;else{this._disposed=!0,this.getDom()&&qo(this.getDom(),Sy,"");var t=this,e=t._api,n=t._model;z(t._componentsViews,(function(t){t.dispose(n,e)})),z(t._chartsViews,(function(t){t.dispose(n,e)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete xy[t.id]}},e.prototype.resize=function(t){if(!this[Nm])if(this._disposed)this.id;else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[Em]&&(null==i&&(i=this[Em].silent),n=!0,this[Em]=null),this[Nm]=!0;try{n&&Wm(this),Zm.update.call(this,{type:"resize",animation:L({duration:0},t&&t.animation)})}catch(Fu){throw this[Nm]=!1,Fu}this[Nm]=!1,Km.call(this,i),$m.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)this.id;else if(K(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),yy[t]){var n=yy[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=L({},t);return e.type=py[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)this.id;else if(K(e)||(e={silent:!!e}),dy[t.type]&&this._model)if(this[Nm])this._pendingActions.push(t);else{var n=e.silent;qm.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&o.browser.weChat&&this._throttledZrFlush(),Km.call(this,n),$m.call(this,n)}},e.prototype.updateLabelLayout=function(){Dm.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)this.id;else{var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function e(t){for(var e=[],n=t.currentStates,i=0;i0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered((function(t){if(t.states&&t.states.emphasis){if(Sh(t))return;if(t instanceof Rs&&function(t){var e=dl(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}}))}Wm=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),Um(t,!0),Um(t,!1),e.plan()},Um=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;le.get("hoverLayerThreshold")&&!o.node&&!o.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}(t,e),Dm.trigger("series:afterupdate",e,i,l)},oy=function(t){t[zm]=!0,t.getZr().wakeUp()},ay=function(t){t[zm]&&(t.getZr().storage.traverse((function(t){Sh(t)||e(t)})),t[zm]=!1)},iy=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return i(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){zl(e,n),oy(t)},n.prototype.leaveEmphasis=function(e,n){Vl(e,n),oy(t)},n.prototype.enterBlur=function(e){Bl(e),oy(t)},n.prototype.leaveBlur=function(e){Fl(e),oy(t)},n.prototype.enterSelect=function(e){Gl(e),oy(t)},n.prototype.leaveSelect=function(e){Hl(e),oy(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(Sp))(t)},ry=function(t){function e(t,e){for(var n=0;n=0)){By.push(n);var o=rv.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function Gy(t,e){yy[t]=e}function Hy(t,e,n){var i=km("registerMap");i&&i(t,e,n)}function Wy(t){var e=km("getMap");return e&&e(t)}var Uy=function(t){var e=(t=C(t)).type;e||To("");var n=e.split(":");2!==n.length&&To("");var i=!1;"echarts"===n[0]&&(e=n[1],i=!0),t.__isBuiltIn=i,Gf.set(e,t)};function Yy(t){return null==t?0:t.length||1}function Zy(t){return t}Vy(Pm,Qg),Vy(Om,ev),Vy(Om,nv),Vy(Pm,Dv),Vy(Om,Lv),Vy(7e3,(function(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each((function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=Im(n,e))}));var r=i.getVisual("decal");r&&(i.getVisual("style").decal=Im(r,e))}}))})),Dy(jp),Ly(900,(function(t){var e=mt();t.eachSeries((function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),e.each(qp)})),Gy("default",(function(t,e){k(e=e||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Wr,i=new Zs({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,o=new qs({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new Zs({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((r=new ah({shape:{startAngle:-iv/2,endAngle:-iv/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*iv/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*iv/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n})),Ry({type:ml,event:ml,update:ml},wt),Ry({type:yl,event:yl,update:yl},wt),Ry({type:xl,event:xl,update:xl},wt),Ry({type:_l,event:_l,update:_l},wt),Ry({type:bl,event:bl,update:bl},wt),Ay("light",_v),Ay("dark",Iv);var Xy=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||Zy,this._newKeyGetter=i||Zy,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a1&&1===c)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===h&&c>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===h&&1===c)this._update&&this._update(u,l),i[s]=null;else if(h>1&&c>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(h>1)for(var d=0;d1)for(var a=0;a30}var ox,ax,sx,lx,ux,hx,cx,dx=K,px=V,fx="undefined"==typeof Int32Array?Array:Int32Array,gx=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],vx=["_approximateExtent"],mx=t("a3",function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var i=!1;ex(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,r=this._idList;if(n.getSource().sourceFormat===Xd&&!n.pure)for(var o=[],a=t;a0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(Y(r=this.getVisual(e))?r=r.slice():dx(r)&&(r=L({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,dx(e)?L(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){dx(t)?L(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?L(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;ul(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){z(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:px(this.dimensions,this._getDimInfo,this),this.hostModel)),ux(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];Z(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(st(arguments)))})},t.internalField=(ox=function(t){var e=t._invertedIndicesMap;z(e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new fx(o.categories.length);for(var s=0;s1&&(s+="__ec__"+u),i[e]=s}})),t}());function yx(t,e){return xx(t,e).dimensions}function xx(t,e){nf(t)||(t=of(t));var n=(e=e||{}).coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=mt(),o=[],a=function(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return z(e,(function(t){var e;K(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}(t,n,i,e.dimensionsCount),s=e.canOmitUnusedDimensions&&rx(a),l=i===t.dimensionsDefine,u=l?ix(t):nx(i),h=e.encodeDefine;!h&&e.encodeDefaulter&&(h=e.encodeDefaulter(t,a));for(var c=mt(h),d=new jf(a),p=0;p0&&(i.name=r+(o-1)),o++,e.set(r,o)}}(o),new tx({source:t,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function _x(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}var bx=function(){return function(t){this.coordSysDims=[],this.axisMap=mt(),this.categoryAxisMap=mt(),this.coordSysName=t}}(),Sx={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",Zo).models[0],o=t.getReferringComponents("yAxis",Zo).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),Mx(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),Mx(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",Zo).models[0];e.coordSysDims=["single"],n.set("single",r),Mx(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",Zo).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),Mx(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),Mx(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();z(o.parallelAxisIndex,(function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];n.set(l,s),Mx(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function Mx(t){return"category"===t.get("type")}function Ix(t,e,n){var i,r,o,a=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(t){return!ex(t.schema)}(e)?(r=e.schema,i=r.dimensions,o=e.store):i=e;var l,u,h,c,d=!(!t||!t.get("stack"));if(z(i,(function(t,e){X(t)&&(i[e]=t={name:t}),d&&!t.isExtraCoord&&(a||l||!t.ordinalMeta||(l=t),u||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(u=t))})),!u||a||l||(a=!0),u){h="__\0ecstackresult_"+t.id,c="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var p=u.coordDim,f=u.type,g=0;z(i,(function(t){t.coordDim===p&&g++}));var v={name:h,coordDim:p,coordDimIndex:g,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},m={name:c,coordDim:c,coordDimIndex:g+1,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(o&&(v.storeDimIndex=o.ensureCalculationDimension(c,f),m.storeDimIndex=o.ensureCalculationDimension(h,f)),r.appendCalculationDimension(v),r.appendCalculationDimension(m)):(i.push(v),i.push(m))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:c,stackResultDimension:h}}function Tx(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function Cx(t,e){return Tx(t,e)?t.getCalculationInfo("stackResultDimension"):e}function Ax(t,e,n){n=n||{};var i,r=e.getSourceManager(),o=!1;t?(o=!0,i=of(t)):o=(i=r.getSource()).sourceFormat===Xd;var a=function(t){var e=t.get("coordinateSystem"),n=new bx(e),i=Sx[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),s=function(t,e){var n,i=t.get("coordinateSystem"),r=Ip.get(i);return e&&e.coordSysDims&&(n=V(e.coordSysDims,(function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=Ky(r)}return n}))),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}(e,a),l=n.useEncodeDefaulter,u=Z(l)?l:l?U(ip,s,e):null,h=xx(i,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o}),c=function(t,e,n){var i,r;return n&&z(t,(function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)})),r||null==i||(t[i].otherDims.itemName=0),i}(h.dimensions,n.createInvertedIndices,a),d=o?null:r.getSharedDataStore(h),p=Ix(e,{schema:h,store:d}),f=new mx(h,e);f.setCalculationInfo(p);var g=null!=c&&function(t){if(t.sourceFormat===Xd){var e=function(t){for(var e=0;ee[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();aa(Dx);var Lx=0,kx=t("$",function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++Lx}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&V(i,Px);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!X(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=mt(this.categories))},t}());function Px(t){return K(t)&&null!=t.value?t.value:t+""}function Ox(t){return"interval"===t.type||"log"===t.type}function Rx(t,e,n,i){var r={},o=t[1]-t[0],a=r.interval=yo(o/e,!0);null!=n&&ai&&(a=r.interval=i);var s=r.intervalPrecision=Ex(a);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),zx(t,0,e),zx(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(r.niceTickExtent=[io(Math.ceil(t[0]/a)*a,s),io(Math.floor(t[1]/a)*a,s)],t),r}function Nx(t){var e=Math.pow(10,mo(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,io(n*e)}function Ex(t){return oo(t)+2}function zx(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function Vx(t,e){return t>=e[0]&&t<=e[1]}function Bx(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function Fx(t,e){return t*(e[1]-e[0])+e[0]}var Gx=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new kx({})),Y(i)&&(i=new kx({categories:V(i,(function(t){return K(t)?t.value:t}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return i(e,t),e.prototype.parse=function(t){return null==t?NaN:X(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return Vx(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return Bx(t=this._getTickNumber(this.parse(t)),this._extent)},e.prototype.scale=function(t){return t=Math.round(Fx(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r=0&&t=0&&t=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(Dx);Dx.registerClass(Gx);var Hx=io,Wx=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return i(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Vx(t,this._extent)},e.prototype.normalize=function(t){return Bx(t,this._extent)},e.prototype.scale=function(t){return Fx(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=Ex(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;n[0]1e4)return[];var s=o.length?o[o.length-1].value:i[1];return n[1]>s&&(t?o.push({value:Hx(s+e,r)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;ri[0]&&h0&&(o=null===o?s:Math.min(o,s))}n[i]=o}}return n}(t),n=[];return z(t,(function(t){var i,r=t.coordinateSystem.getBaseAxis(),o=r.getExtent();if("category"===r.type)i=r.getBandWidth();else if("value"===r.type||"time"===r.type){var a=r.dim+"_"+r.index,s=e[a],l=Math.abs(o[1]-o[0]),u=r.scale.getExtent(),h=Math.abs(u[1]-u[0]);i=s?l/h*s:l}else{var c=t.getData();i=Math.abs(o[1]-o[0])/c.count()}var d=no(t.get("barWidth"),i),p=no(t.get("barMaxWidth"),i),f=no(t.get("barMinWidth")||(n_(t)?.5:1),i),g=t.get("barGap"),v=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:d,barMaxWidth:p,barMinWidth:f,barGap:g,barCategoryGap:v,axisKey:qx(r),stackId:jx(t)})})),Jx(n)}function Jx(t){var e={};z(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var h=t.barMinWidth;h&&(a[s].minWidth=h);var c=t.barGap;null!=c&&(o.gap=c);var d=t.barCategoryGap;null!=d&&(o.categoryGap=d)}));var n={};return z(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var a=H(i).length;o=Math.max(35-4*a,15)+"%"}var s=no(o,r),l=no(t.gap,1),u=t.remainedWidth,h=t.autoWidthCount,c=(u-s)/(h+(h-1)*l);c=Math.max(c,0),z(i,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width)i=t.width,e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,h--;else{var i=c;e&&ei&&(i=n),i!==c&&(t.width=i,u-=i+l*i,h--)}})),c=(u-s)/(h+(h-1)*l),c=Math.max(c,0);var d,p=0;z(i,(function(t,e){t.width||(t.width=c),d=t,p+=t.width*(1+l)})),d&&(p-=d.width*l);var f=-p/2;z(i,(function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:f,width:t.width},f+=t.width*(1+l)}))})),n}function Qx(t,e){var n=Kx(t,e),i=$x(n);z(n,(function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),r=jx(t),o=i[qx(n)][r],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})}))}function t_(t){return{seriesType:t,plan:Og(),reset:function(t){if(e_(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(r.dim)),a=e.getDimensionIndex(e.mapDimension(i.dim)),s=t.get("showBackground",!0),l=e.mapDimension(r.dim),u=e.getCalculationInfo("stackResultDimension"),h=Tx(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),c=r.isHorizontal(),d=function(t,e){var n=e.model.get("startValue");return n||(n=0),e.toGlobalCoord(e.dataToCoord("log"===e.type?n>0?n:1:n))}(0,r),p=n_(t),f=t.get("barMinHeight")||0,g=u&&e.getDimensionIndex(u),v=e.getLayout("size"),m=e.getLayout("offset");return{progress:function(t,e){for(var i,r=t.count,l=p&&Zx(3*r),u=p&&s&&Zx(3*r),y=p&&Zx(r),x=n.master.getRect(),_=c?x.width:x.height,b=e.getStore(),w=0;null!=(i=t.next());){var S=b.get(h?g:o,i),M=b.get(a,i),I=d,T=void 0;h&&(T=+S-b.get(o,i));var C=void 0,A=void 0,D=void 0,L=void 0;if(c){var k=n.dataToPoint([S,M]);h&&(I=n.dataToPoint([T,M])[0]),C=I,A=k[1]+m,D=k[0]-I,L=v,Math.abs(D)0)for(var s=0;s<$c.length;++s)a[$c[s]]="{primary|"+a[$c[s]]+"}";var l=n?!1===n.inherit?n:k(n,a):a,u=id(t.value,r);if(l[u])o=l[u];else if(l.inherit){for(s=Jc.indexOf(u)-1;s>=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(Y(o)){var h=null==t.level?0:t.level>=0?t.level:o.length+t.level;o=o[h=Math.min(h,o.length-1)]}}return nd(new Date(t.value),o,r,i)}(t,e,n,this.getSetting("locale"),i)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var i=this.getSetting("useUTC"),r=function(t,e,n,i){var r=1e4,o=Jc,a=0;function s(t,e,n,r,o,a,s){for(var l=new Date(e),u=e,h=l[r]();u1&&0===u&&o.unshift({value:o[0].value-d})}}for(u=0;u=i[0]&&m<=i[1]&&c++)}var y=(i[1]-i[0])/e;if(c>1.5*y&&d>y/1.5)break;if(u.push(g),c>y||t===o[p])break}h=[]}}var x=F(V(u,(function(t){return F(t,(function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd}))})),(function(t){return t.length>0})),_=[],b=x.length-1;for(p=0;pn&&(this._approxInterval=n);var o=r_.length,a=Math.min(function(t,e,n,i){for(;n>>1;t[r][1]16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function a_(t){return(t/=2592e6)>6?6:t>3?3:t>2?2:1}function s_(t){return(t/=Yc)>12?12:t>6?6:t>3.5?4:t>2?2:1}function l_(t,e){return(t/=e?Uc:Wc)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function u_(t){return yo(t,!0)}function h_(t,e,n){var i=new Date(t);switch(td(e)){case"year":case"month":i[pd(n)](0);case"day":i[fd(n)](1);case"hour":i[gd(n)](0);case"minute":i[vd(n)](0);case"second":i[md(n)](0),i[yd(n)](0)}return i.getTime()}Dx.registerClass(i_);var c_=Dx.prototype,d_=Wx.prototype,p_=io,f_=Math.floor,g_=Math.ceil,v_=Math.pow,m_=Math.log,y_=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new Wx,e._interval=0,e}return i(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,i=e.getExtent();return V(d_.getTicks.call(this,t),(function(t){var e=t.value,r=io(v_(this.base,e));return r=e===n[0]&&this._fixMin?__(r,i[0]):r,{value:r=e===n[1]&&this._fixMax?__(r,i[1]):r}}),this)},e.prototype.setExtent=function(t,e){var n=m_(this.base);t=m_(Math.max(0,t))/n,e=m_(Math.max(0,e))/n,d_.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=c_.getExtent.call(this);e[0]=v_(t,e[0]),e[1]=v_(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=__(e[0],n[0])),this._fixMax&&(e[1]=__(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=m_(t[0])/m_(e),t[1]=m_(t[1])/m_(e),c_.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i=vo(n);for(t/n*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var r=[io(g_(e[0]/i)*i),io(f_(e[1]/i)*i)];this._interval=i,this._niceExtent=r}},e.prototype.calcNiceExtent=function(t){d_.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Vx(t=m_(t)/m_(this.base),this._extent)},e.prototype.normalize=function(t){return Bx(t=m_(t)/m_(this.base),this._extent)},e.prototype.scale=function(t){return t=Fx(t,this._extent),v_(this.base,t)},e.type="log",e}(Dx),x_=y_.prototype;function __(t,e){return p_(t,oo(e))}x_.getMinorTicks=d_.getMinorTicks,x_.getLabel=d_.getLabel,Dx.registerClass(y_);var b_=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]0&&s>0&&!l&&(a=0),a<0&&s<0&&!u&&(s=0));var c=this._determinedMin,d=this._determinedMax;return null!=c&&(a=c,l=!0),null!=d&&(s=d,u=!0),{min:a,max:s,minFixed:l,maxFixed:u,isBlank:h}},t.prototype.modifyDataMinMax=function(t,e){this[S_[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[w_[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),w_={min:"_determinedMin",max:"_determinedMax"},S_={min:"_dataMin",max:"_dataMax"};function M_(t,e,n){var i=t.rawExtentInfo;return i||(i=new b_(t,e,n),t.rawExtentInfo=i,i)}function I_(t,e){return null==e?null:it(e)?NaN:t.parse(e)}function T_(t,e){var n=t.type,i=M_(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,o=i.max,a=e.ecModel;if(a&&"time"===n){var s=Kx("bar",a),l=!1;if(z(s,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var u=$x(s),h=function(t,e,n,i){var r=n.axis.getExtent(),o=Math.abs(r[1]-r[0]),a=function(t,e){if(t&&e)return t[qx(e)]}(i,n.axis);if(void 0===a)return{min:t,max:e};var s=1/0;z(a,(function(t){s=Math.min(t.offset,s)}));var l=-1/0;z(a,(function(t){l=Math.max(t.offset+t.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,h=e-t,c=h/(1-(s+l)/o)-h;return{min:t-=c*(s/u),max:e+=c*(l/u)}}(r,o,e,u);r=h.min,o=h.max}}return{extent:[r,o],fixMin:i.minFixed,fixMax:i.maxFixed}}function C_(t,e){var n=e,i=T_(t,n),r=i.extent,o=n.get("splitNumber");t instanceof y_&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),l="interval"===a||"time"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function A_(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Gx({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new i_({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(Dx.getClass(e)||Wx)}}function D_(t){var e,n,i=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(n=i,function(e,i){return t.scale.getFormattedLabel(e,i,n)}):X(i)?function(e){return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}}(i):Z(i)?(e=i,function(n,i){return null!=r&&(i=n.value-r),e(L_(t,n),i,null!=n.level?{level:n.level}:null)}):function(e){return t.scale.getLabel(e)}}function L_(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function k_(t,e){var n=e*Math.PI/180,i=t.width,r=t.height,o=i*Math.abs(Math.cos(n))+Math.abs(r*Math.sin(n)),a=i*Math.abs(Math.sin(n))+Math.abs(r*Math.cos(n));return new Be(t.x,t.y,o,a)}function P_(t){var e=t.get("interval");return null==e?"auto":e}function O_(t){return"category"===t.type&&0===P_(t.getLabelModel())}function R_(t,e){var n={};return z(t.mapDimensionsAll(e),(function(e){n[Cx(t,e)]=!0})),H(n)}var N_=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}();function E_(t){return Ax(null,t)}var z_=t("ab",{isDimensionStacked:Tx,enableDataStack:Ix,getStackedDimension:Cx});function V_(t,e){var n=e;e instanceof kc||(n=new kc(e));var i=A_(n);return i.setExtent(t[0],t[1]),C_(i,n),i}function B_(t){N(t,N_)}const F_=Object.freeze(Object.defineProperty({__proto__:null,createDimensions:yx,createList:E_,createScale:V_,createSymbol:jv,createTextStyle:function(t,e){return uc(t,null,null,"normal"!==(e=e||{}).state)},dataStack:z_,enableHoverEmphasis:Kl,getECData:ll,getLayoutRect:Nd,mixinAxisModelCommonMethods:B_},Symbol.toStringTag,{value:"Module"}));var G_=[],H_={registerPreprocessor:Dy,registerProcessor:Ly,registerPostInit:ky,registerPostUpdate:Py,registerUpdateLifecycle:Oy,registerAction:Ry,registerCoordinateSystem:Ny,registerLayout:zy,registerVisual:Vy,registerTransform:Uy,registerLoading:Gy,registerMap:Hy,registerImpl:function(t,e){Lm[t]=e},PRIORITY:Rm,ComponentModel:Hd,ComponentView:Pg,SeriesModel:Mg,ChartView:Eg,registerComponentModel:function(t){Hd.registerClass(t)},registerComponentView:function(t){Pg.registerClass(t)},registerSeriesModel:function(t){Mg.registerClass(t)},registerChartView:function(t){Eg.registerClass(t)},registerSubTypeDefaulter:function(t,e){Hd.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){qr(t,e)}};function W_(t){Y(t)?z(t,(function(t){W_(t)})):O(G_,t)>=0||(G_.push(t),Z(t)&&(t={install:t}),t.install(H_))}function U_(t,e){return Math.abs(t-e)<1e-8}function Y_(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var o=1;on&&(t=r,n=a)}if(t)return function(t){for(var e=0,n=0,i=0,r=t.length,o=t[r-1][0],a=t[r-1][1],s=0;s>1^-(1&s),l=l>>1^-(1&l),r=s+=r,o=l+=o,i.push([s/n,l/n])}return i}function nb(t,e){return V(F((t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;return null==n&&(n=1024),z(e.features,(function(t){var e=t.geometry,i=e.encodeOffsets,r=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=eb(r,i,n);break;case"Polygon":case"MultiLineString":tb(r,i,n);break;case"MultiPolygon":z(r,(function(t,e){return tb(t,i[e],n)}))}})),e.UTF8Encoding=!1,e}(t)).features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var o=i.coordinates;r.push(new K_(o[0],o.slice(1)));break;case"MultiPolygon":z(i.coordinates,(function(t){t[0]&&r.push(new K_(t[0],t.slice(1)))}));break;case"LineString":r.push(new $_([i.coordinates]));break;case"MultiLineString":r.push(new $_(i.coordinates))}var a=new J_(n[e||"name"],r,n.cp);return a.properties=n,a}))}const ib=Object.freeze(Object.defineProperty({__proto__:null,MAX_SAFE_INTEGER:ho,asc:ro,getPercentWithPrecision:function(t,e,n){return t[e]&&lo(t,n)[e]||0},getPixelPrecision:so,getPrecision:oo,getPrecisionSafe:ao,isNumeric:wo,isRadianAroundZero:po,linearMap:eo,nice:yo,numericToNumber:bo,parseDate:go,quantile:xo,quantity:vo,quantityExponent:mo,reformIntervals:_o,remRadian:co,round:io},Symbol.toStringTag,{value:"Module"})),rb=Object.freeze(Object.defineProperty({__proto__:null,format:nd,parse:go},Symbol.toStringTag,{value:"Module"})),ob=Object.freeze(Object.defineProperty({__proto__:null,Arc:ah,BezierCurve:rh,BoundingRect:Be,Circle:Cu,CompoundPath:sh,Ellipse:Du,Group:Wr,Image:Bs,IncrementalDisplayable:mh,Line:th,LinearGradient:uh,Polygon:qu,Polyline:$u,RadialGradient:hh,Rect:Zs,Ring:Zu,Sector:Uu,Text:qs,clipPointsByRect:jh,clipRectByRect:qh,createIcon:Kh,extendPath:Oh,extendShape:kh,getShapeClass:Nh,getTransform:Wh,initProps:wh,makeImage:zh,makePath:Eh,mergePath:Bh,registerShape:Rh,resizePath:Fh,updateProps:bh},Symbol.toStringTag,{value:"Module"})),ab=Object.freeze(Object.defineProperty({__proto__:null,addCommas:xd,capitalFirst:function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},encodeHTML:oe,formatTime:Cd,formatTpl:Id,getTextRect:function(t,e,n,i,r,o,a,s){return new qs({style:{text:t,font:e,align:n,verticalAlign:i,padding:r,rich:o,overflow:a?"truncate":null,lineHeight:s}}).getBoundingRect()},getTooltipMarker:Td,normalizeCssArray:bd,toCamelCase:_d,truncateText:function(t,e,n,i,r){var o={};return va(o,t,e,n,i,r),o.text}},Symbol.toStringTag,{value:"Module"})),sb=Object.freeze(Object.defineProperty({__proto__:null,bind:W,clone:C,curry:U,defaults:k,each:z,extend:L,filter:F,indexOf:O,inherits:R,isArray:Y,isFunction:Z,isObject:K,isString:X,map:V,merge:A,reduce:B},Symbol.toStringTag,{value:"Module"}));var lb=Ho();function ub(t,e){var n=V(e,(function(e){return t.scale.parse(e)}));return"time"===t.type&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function hb(t){var e=t.getLabelModel().get("customValues");if(e){var n=D_(t),i=t.scale.getExtent();return{labels:V(F(ub(t,e),(function(t){return t>=i[0]&&t<=i[1]})),(function(e){var i={value:e};return{formattedLabel:n(i),rawLabel:t.scale.getLabel(i),tickValue:e}}))}}return"category"===t.type?function(t){var e=t.getLabelModel(),n=db(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=D_(t);return{labels:V(e,(function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}(t)}function cb(t,e){var n=t.getTickModel().get("customValues");if(n){var i=t.scale.getExtent();return{ticks:F(ub(t,n),(function(t){return t>=i[0]&&t<=i[1]}))}}return"category"===t.type?function(t,e){var n,i,r=pb(t,"ticks"),o=P_(e),a=fb(r,o);if(a)return a;if(e.get("show")&&!t.scale.isBlank()||(n=[]),Z(o))n=mb(t,o,!0);else if("auto"===o){var s=db(t,t.getLabelModel());i=s.labelCategoryInterval,n=V(s.labels,(function(t){return t.tickValue}))}else n=vb(t,i=o,!0);return gb(r,o,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:V(t.scale.getTicks(),(function(t){return t.value}))}}function db(t,e){var n,i,r=pb(t,"labels"),o=P_(e),a=fb(r,o);return a||(Z(o)?n=mb(t,o):(i="auto"===o?function(t){var e=lb(t).autoInterval;return null!=e?e:lb(t).autoInterval=t.calculateCategoryInterval()}(t):o,n=vb(t,i)),gb(r,o,{labels:n,labelCategoryInterval:i}))}function pb(t,e){return lb(t)[e]||(lb(t)[e]=[])}function fb(t,e){for(var n=0;n1&&h/l>2&&(u=Math.round(Math.ceil(u/l)*l));var c=O_(t),d=a.get("showMinLabel")||c,p=a.get("showMaxLabel")||c;d&&u!==o[0]&&g(o[0]);for(var f=u;f<=o[1];f+=l)g(f);function g(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return p&&f-l!==o[1]&&g(o[1]),s}function mb(t,e,n){var i=t.scale,r=D_(t),o=[];return z(i.getTicks(),(function(t){var a=i.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})})),o}var yb=[0,1],xb=t("V",function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return so(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&_b(n=n.slice(),i.count()),eo(t,yb,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&_b(n=n.slice(),i.count());var r=eo(t,n,yb,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=V(cb(this,e).ticks,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this);return function(t,e,n,i){var r=e.length;if(t.onBand&&!n&&r){var o,a,s=t.getExtent();if(1===r)e[0].coord=s[0],o=e[1]={coord:s[1],tickValue:e[0].tickValue};else{var l=e[r-1].tickValue-e[0].tickValue,u=(e[r-1].coord-e[0].coord)/l;z(e,(function(t){t.coord-=u/2}));var h=t.scale.getExtent();a=1+h[1]-e[r-1].tickValue,o={coord:e[r-1].coord+u*a,tickValue:h[1]+1},e.push(o)}var c=s[0]>s[1];d(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift()),i&&d(s[0],e[0].coord)&&e.unshift({coord:s[0]}),d(s[1],o.coord)&&(i?o.coord=s[1]:e.pop()),i&&d(o.coord,s[1])&&e.push({coord:s[1]})}function d(t,e){return t=io(t),e=io(e),c?t>e:t0&&t<100||(t=5),V(this.scale.getMinorTicks(t),(function(t){return V(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},t.prototype.getViewLabels=function(){return hb(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=D_(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,o=r.getExtent(),a=r.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),h=Math.abs(u*Math.cos(i)),c=Math.abs(u*Math.sin(i)),d=0,p=0;l<=o[1];l+=s){var f,g,v=Cr(n({value:l}),e.font,"center","top");f=1.3*v.width,g=1.3*v.height,d=Math.max(d,f,7),p=Math.max(p,g,7)}var m=d/h,y=p/c;isNaN(m)&&(m=1/0),isNaN(y)&&(y=1/0);var x=Math.max(0,Math.floor(Math.min(m,y))),_=lb(t.model),b=t.getExtent(),w=_.lastAutoInterval,S=_.lastTickCount;return null!=w&&null!=S&&Math.abs(w-x)<=1&&Math.abs(S-a)<=1&&w>x&&_.axisExtent0===b[0]&&_.axisExtent1===b[1]?x=w:(_.lastTickCount=a,_.lastAutoInterval=x,_.axisExtent0=b[0],_.axisExtent1=b[1]),x}(this)},t}());function _b(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}var bb=2*Math.PI,wb=fs.CMD,Sb=["top","right","bottom","left"];function Mb(t,e,n,i,r){var o=n.width,a=n.height;switch(t){case"top":i.set(n.x+o/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+o/2,n.y+a+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+a/2),r.set(-1,0);break;case"right":i.set(n.x+o+e,n.y+a/2),r.set(1,0)}}function Ib(t,e,n,i,r,o,a,s,l){a-=t,s-=e;var u=Math.sqrt(a*a+s*s),h=(a/=u)*n+t,c=(s/=u)*n+e;if(Math.abs(i-r)%bb<1e-4)return l[0]=h,l[1]=c,u-n;if(o){var d=i;i=xs(r),r=xs(d)}else i=xs(i),r=xs(r);i>r&&(r+=bb);var p=Math.atan2(s,a);if(p<0&&(p+=bb),p>=i&&p<=r||p+bb>=i&&p+bb<=r)return l[0]=h,l[1]=c,u-n;var f=n*Math.cos(i)+t,g=n*Math.sin(i)+e,v=n*Math.cos(r)+t,m=n*Math.sin(r)+e,y=(f-a)*(f-a)+(g-s)*(g-s),x=(v-a)*(v-a)+(m-s)*(m-s);return y0){e=e/180*Math.PI,kb.fromArray(t[0]),Pb.fromArray(t[1]),Ob.fromArray(t[2]),Le.sub(Rb,kb,Pb),Le.sub(Nb,Ob,Pb);var n=Rb.len(),i=Nb.len();if(!(n<.001||i<.001)){Rb.scale(1/n),Nb.scale(1/i);var r=Rb.dot(Nb);if(Math.cos(e)1&&Le.copy(Vb,Ob),Vb.toArray(t[1])}}}}function Fb(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,kb.fromArray(t[0]),Pb.fromArray(t[1]),Ob.fromArray(t[2]),Le.sub(Rb,Pb,kb),Le.sub(Nb,Ob,Pb);var i=Rb.len(),r=Nb.len();if(!(i<.001||r<.001)&&(Rb.scale(1/i),Nb.scale(1/r),Rb.dot(e)=a)Le.copy(Vb,Ob);else{Vb.scaleAndAdd(Nb,o/Math.tan(Math.PI/2-s));var l=Ob.x!==Pb.x?(Vb.x-Pb.x)/(Ob.x-Pb.x):(Vb.y-Pb.y)/(Ob.y-Pb.y);if(isNaN(l))return;l<0?Le.copy(Vb,Pb):l>1&&Le.copy(Vb,Ob)}Vb.toArray(t[1])}}}function Gb(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function Hb(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=Bt(i[0],i[1]),o=Bt(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=Ht([],i[1],i[0],a/r),l=Ht([],i[1],i[2],a/o),u=Ht([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var h=1;h0){x(i*n,0,a);var r=i+t;r<0&&_(-r*n,1)}else _(-t*n,1)}}function x(n,i,r){0!==n&&(u=!0);for(var o=i;o0)for(l=0;l0;l--)x(-o[l-1]*c,l,a)}}function b(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i0?x(n,0,i+1):x(-n,a-i-1,a),(t-=n)<=0)return}}function Xb(t,e,n,i){return Zb(t,"y","height",e,n)}function jb(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new Be(0,0,0,0);function i(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r=0&&n.attr(p.oldLayoutSelect),O(u,"emphasis")>=0&&n.attr(p.oldLayoutEmphasis)),bh(n,s,e,a)}else if(n.attr(s),!vc(n).valueAnimation){var h=ot(n.style.opacity,1);n.style.opacity=0,wh(n,{style:{opacity:h}},e,a)}if(p.oldLayout=s,n.states.select){var c=p.oldLayoutSelect={};ew(c,s,nw),ew(c,n.states.select,nw)}if(n.states.emphasis){var d=p.oldLayoutEmphasis={};ew(d,s,nw),ew(d,n.states.emphasis,nw)}yc(n,a,l,e,e)}if(i&&!i.ignore&&!i.invisible){r=(p=tw(i)).oldLayout;var p,f={points:i.shape.points};r?(i.attr({shape:r}),bh(i,{shape:f},e)):(i.setShape(f),i.style.strokePercent=0,wh(i,{style:{strokePercent:1}},e)),p.oldLayout=f}},t}(),rw=Ho();function ow(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){var i=rw(e).labelManager;i||(i=rw(e).labelManager=new iw),i.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,n){var i=rw(e).labelManager;n.updatedSeries.forEach((function(t){i.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()}))}const aw=Object.freeze(Object.defineProperty({__proto__:null,Axis:xb,ChartView:Eg,ComponentModel:Hd,ComponentView:Pg,List:mx,Model:kc,PRIORITY:Rm,SeriesModel:Mg,color:di,connect:function(t){if(Y(t)){var e=t;t=null,z(e,(function(e){null!=e.group&&(t=e.group)})),t=t||"g_"+wy++,z(e,(function(e){e.group=t}))}return _y[t]=!0,t},dataTool:{},dependencies:{zrender:"5.6.1"},disConnect:Ty,disconnect:Iy,dispose:function(t){X(t)?t=xy[t]:t instanceof uy||(t=Cy(t)),t instanceof uy&&!t.isDisposed()&&t.dispose()},env:o,extendChartView:function(t){var e=Eg.extend(t);return Eg.registerClass(e),e},extendComponentModel:function(t){var e=Hd.extend(t);return Hd.registerClass(e),e},extendComponentView:function(t){var e=Pg.extend(t);return Pg.registerClass(e),e},extendSeriesModel:function(t){var e=Mg.extend(t);return Mg.registerClass(e),e},format:ab,getCoordinateSystemDimensions:Ey,getInstanceByDom:Cy,getInstanceById:function(t){return xy[t]},getMap:Wy,graphic:ob,helper:F_,init:My,innerDrawElementOnCanvas:_m,matrix:De,number:ib,parseGeoJSON:nb,parseGeoJson:nb,registerAction:Ry,registerCoordinateSystem:Ny,registerLayout:zy,registerLoading:Gy,registerLocale:Gc,registerMap:Hy,registerPostInit:ky,registerPostUpdate:Py,registerPreprocessor:Dy,registerProcessor:Ly,registerTheme:Ay,registerTransform:Uy,registerUpdateLifecycle:Oy,registerVisual:Vy,setCanvasCreator:function(t){d({createCanvas:t})},setPlatformAPI:d,throttle:Yg,time:rb,use:W_,util:sb,vector:Zt,version:"5.6.0",zrUtil:Mt,zrender:Jr},Symbol.toStringTag,{value:"Module"}));t("e",aw);var sw=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return i(e,t),e.prototype.getInitialData=function(t){return Ax(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new Wr,n=jv("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var i=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),o="none"===i?"circle":i,a=.8*t.itemHeight,s=jv(o,(t.itemWidth-a)/2,(t.itemHeight-a)/2,a,a,t.itemStyle.fill);e.add(s),s.setStyle(t.itemStyle);var l="inherit"===t.iconRotate?r:t.iconRotate||0;return s.rotation=l*Math.PI/180,s.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(Mg);function lw(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=bf(t,e,n[0]);return null!=r?r+"":null}if(i){for(var o=[],a=0;a=0&&i.push(e[o])}return i.join(" ")}var hw=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return i(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=jv(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=cw,this._symbolType=t,this.add(o)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){zl(this.childAt(0))},e.prototype.downplay=function(){Vl(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",a=t.hostModel,s=e.getSymbolSize(t,n),l=o!==this._symbolType,u=r&&r.disableAnimation;if(l){var h=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,s,h)}else{(d=this.childAt(0)).silent=!1;var c={scaleX:s[0]/2,scaleY:s[1]/2};u?d.attr(c):bh(d,c,a,n),Ch(d)}if(this._updateCommon(t,n,s,i,r),l){var d=this.childAt(0);u||(c={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}},d.scaleX=d.scaleY=0,d.style.opacity=0,wh(d,c,a,n))}u&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,r){var o,a,s,l,u,h,c,d,p,f=this.childAt(0),g=t.hostModel;if(i&&(o=i.emphasisItemStyle,a=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,u=i.blurScope,c=i.labelStatesModels,d=i.hoverScale,p=i.cursorStyle,h=i.emphasisDisabled),!i||t.hasItemOption){var v=i&&i.itemModel?i.itemModel:t.getItemModel(e),m=v.getModel("emphasis");o=m.getModel("itemStyle").getItemStyle(),s=v.getModel(["select","itemStyle"]).getItemStyle(),a=v.getModel(["blur","itemStyle"]).getItemStyle(),l=m.get("focus"),u=m.get("blurScope"),h=m.get("disabled"),c=lc(v),d=m.getShallow("scale"),p=v.getShallow("cursor")}var y=t.getItemVisual(e,"symbolRotate");f.attr("rotation",(y||0)*Math.PI/180||0);var x=Kv(t.getItemVisual(e,"symbolOffset"),n);x&&(f.x=x[0],f.y=x[1]),p&&f.attr("cursor",p);var _=t.getItemVisual(e,"style"),b=_.fill;if(f instanceof Bs){var w=f.style;f.useStyle(L({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},_))}else f.__isEmptyBrush?f.useStyle(L({},_)):f.useStyle(_),f.style.decal=null,f.setColor(b,r&&r.symbolInnerColor),f.style.strokeNoScale=!0;var S=t.getItemVisual(e,"liftZ"),M=this._z2;null!=S?null==M&&(this._z2=f.z2,f.z2+=S):null!=M&&(f.z2=M,this._z2=null);var I=r&&r.useNameLabel;sc(f,c,{labelFetcher:g,labelDataIndex:e,defaultText:function(e){return I?t.getName(e):lw(t,e)},inheritColor:b,defaultOpacity:_.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var T=f.ensureState("emphasis");T.style=o,f.ensureState("select").style=s,f.ensureState("blur").style=a;var C=null==d||!0===d?Math.max(1.1,3/this._sizeY):isFinite(d)&&d>0?+d:1;T.scaleX=this._sizeX*C,T.scaleY=this._sizeY*C,this.setSymbolScale(1),$l(this,l,u,h)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=ll(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&Mh(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();Mh(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return qv(t.getItemVisual(e,"symbolSize"))},e}(Wr);function cw(t,e){this.parent.drift(t,e)}function dw(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function pw(t){return null==t||K(t)||(t={isIgnore:t}),t||{}}function fw(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:lc(e),cursorStyle:e.get("cursor")}}var gw=function(){function t(t){this.group=new Wr,this._SymbolCtor=t||hw}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=pw(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=fw(t),l={disableAnimation:a},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add((function(i){var r=u(i);if(dw(t,r,i,e)){var a=new o(t,i,s,l);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}})).update((function(h,c){var d=r.getItemGraphicEl(c),p=u(h);if(dw(t,p,h,e)){var f=t.getItemVisual(h,"symbol")||"circle",g=d&&d.getSymbolType&&d.getSymbolType();if(!d||g&&g!==f)n.remove(d),(d=new o(t,h,s,l)).setPosition(p);else{d.updateData(t,h,s,l);var v={x:p[0],y:p[1]};a?d.attr(v):bh(d,v,i)}n.add(d),t.setItemGraphicEl(h,d)}else n.remove(d)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),i)})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=fw(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=pw(n);for(var r=t.start;r0?n=i[0]:i[1]<0&&(n=i[1]),n}(r,n),a=i.dim,s=r.dim,l=e.mapDimension(s),u=e.mapDimension(a),h="x"===s||"radius"===s?1:0,c=V(t.dimensions,(function(t){return e.mapDimension(t)})),d=!1,p=e.getCalculationInfo("stackResultDimension");return Tx(e,c[0])&&(d=!0,c[0]=p),Tx(e,c[1])&&(d=!0,c[1]=p),{dataDimsForPoint:c,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!d,valueDim:l,baseDim:u,baseDataOffset:h,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function mw(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}var yw=Math.min,xw=Math.max;function _w(t,e){return isNaN(t)||isNaN(e)}function bw(t,e,n,i,r,o,a,s,l){for(var u,h,c,d,p,f,g=n,v=0;v=r||g<0)break;if(_w(m,y)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](m,y),c=m,d=y;else{var x=m-u,_=y-h;if(x*x+_*_<.5){g+=o;continue}if(a>0){for(var b=g+o,w=e[2*b],S=e[2*b+1];w===m&&S===y&&v=i||_w(w,S))p=m,f=y;else{T=w-u,C=S-h;var L=m-u,k=w-m,P=y-h,O=S-y,R=void 0,N=void 0;if("x"===s){var E=T>0?1:-1;p=m-E*(R=Math.abs(L))*a,f=y,A=m+E*(N=Math.abs(k))*a,D=y}else if("y"===s){var z=C>0?1:-1;p=m,f=y-z*(R=Math.abs(P))*a,A=m,D=y+z*(N=Math.abs(O))*a}else R=Math.sqrt(L*L+P*P),p=m-T*a*(1-(I=(N=Math.sqrt(k*k+O*O))/(N+R))),f=y-C*a*(1-I),D=y+C*a*I,A=yw(A=m+T*a*I,xw(w,m)),D=yw(D,xw(S,y)),A=xw(A,yw(w,m)),f=y-(C=(D=xw(D,yw(S,y)))-y)*R/N,p=yw(p=m-(T=A-m)*R/N,xw(u,m)),f=yw(f,xw(h,y)),A=m+(T=m-(p=xw(p,yw(u,m))))*N/R,D=y+(C=y-(f=xw(f,yw(h,y))))*N/R}t.bezierCurveTo(c,d,p,f,m,y),c=A,d=D}else t.lineTo(m,y)}u=m,h=y,g+=o}return v}var ww=function(){this.smooth=0,this.smoothConstraint=!0},Sw=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return i(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new ww},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&_w(n[2*r-2],n[2*r-1]);r--);for(;i=0){var v=a?(h-i)*g+i:(u-n)*g+n;return a?[t,v]:[v,t]}n=u,i=h;break;case o.C:u=r[l++],h=r[l++],c=r[l++],d=r[l++],p=r[l++],f=r[l++];var m=a?Mn(n,u,c,p,t,s):Mn(i,h,d,f,t,s);if(m>0)for(var y=0;y=0)return v=a?wn(i,h,d,f,x):wn(n,u,c,p,x),a?[t,v]:[v,t]}n=p,i=f}}},e}(Rs),Mw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(ww),Iw=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return i(e,t),e.prototype.getDefaultShape=function(){return new Mw},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&_w(n[2*o-2],n[2*o-1]);o--);for(;r=0;a--){var s=t.getDimensionInfo(i[a].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){o=i[a];break}}if(o){var l=e.getAxis(r),u=V(o.stops,(function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}})),h=u.length,c=o.outerColors.slice();h&&u[0].coord>u[h-1].coord&&(u.reverse(),c.reverse());var d=function(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord;return{coord:n,color:ri((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;se){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}}return r}(u,"x"===r?n.getWidth():n.getHeight()),p=d.length;if(!p&&h)return u[0].coord<0?c[1]?c[1]:u[h-1].color:c[0]?c[0]:u[0].color;var f=d[0].coord-10,g=d[p-1].coord+10,v=g-f;if(v<.001)return"transparent";z(d,(function(t){t.offset=(t.coord-f)/v})),d.push({offset:p?d[p-1].offset:.5,color:c[1]||"transparent"}),d.unshift({offset:p?d[0].offset:.5,color:c[0]||"transparent"});var m=new uh(0,0,0,0,d,!0);return m[r]=f,m[r+"2"]=g,m}}}function Ew(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&(!r||!function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;ai)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return z(o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function zw(t,e){return[t[2*e],t[2*e+1]]}function Vw(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e0&&"bolder"===t.get(["emphasis","lineStyle","width"])&&(d.getState("emphasis").style.lineWidth=+d.style.lineWidth+1),ll(d).seriesIndex=t.seriesIndex,$l(d,D,L,P);var O=Ow(t.get("smooth")),R=t.get("smoothMonotone");if(d.setShape({smooth:O,smoothMonotone:R,connectNulls:b}),p){var N=o.getCalculationInfo("stackedOnSeries"),E=0;p.useStyle(k(s.getAreaStyle(),{fill:T,opacity:.7,lineJoin:"bevel",decal:o.getVisual("style").decal})),N&&(E=Ow(N.get("smooth"))),p.setShape({smooth:O,stackedOnSmooth:E,smoothMonotone:R,connectNulls:b}),eu(p,t,"areaStyle"),ll(p).seriesIndex=t.seriesIndex,$l(p,D,L,P)}var z=this._changePolyState;o.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=z)})),this._polyline.onHoverStateChange=z,this._data=o,this._coordSys=i,this._stackedOnPoints=x,this._points=l,this._step=I,this._valueOrigin=m,t.get("triggerLineEvent")&&(this.packEventData(t,d),p&&this.packEventData(t,p))},e.prototype.packEventData=function(t,e){ll(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=Go(r,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var h=t.get("zlevel")||0,c=t.get("z")||0;(s=new hw(r,o)).x=l,s.y=u,s.setZ(h,c);var d=s.getSymbolPath().getTextContent();d&&(d.zlevel=h,d.z=c,d.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Eg.prototype.highlight.call(this,t,e,n,i)},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=Go(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else Eg.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;Pl(this._polyline,t),e&&Pl(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new Sw({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new Iw({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");Z(l)&&(l=l(null));var u=s.get("animationDelay")||0,h=Z(u)?u(null):u;t.eachItemGraphicEl((function(t,o){var s=t;if(s){var c=[t.x,t.y],d=void 0,p=void 0,f=void 0;if(n)if(r){var g=n,v=e.pointToCoord(c);i?(d=g.startAngle,p=g.endAngle,f=-v[1]/180*Math.PI):(d=g.r0,p=g.r,f=v[0])}else{var m=n;i?(d=m.x,p=m.x+m.width,f=t.x):(d=m.y+m.height,p=m.y,f=t.y)}var y=p===d?0:(f-d)/(p-d);a&&(y=1-y);var x=Z(u)?u(o):l*y+h,_=s.getSymbolPath(),b=_.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:x}),b&&b.animateFrom({style:{opacity:0}},{duration:300,delay:x}),_.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(Vw(t)){var r=t.getData(),o=this._polyline,a=r.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new qs({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(t){for(var e,n,i=t.length/2;i>0&&(e=t[2*i-2],n=t[2*i-1],isNaN(e)||isNaN(n));i--);return i-1}(a);l>=0&&(sc(o,lc(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?uw(r,n):lw(r,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,o=i?r?"right":"left":"center",a=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}(i,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),h=n.hostModel,c=h.get("connectNulls"),d=o.get("precision"),p=o.get("distance")||0,f=a.getBaseAxis(),g=f.isHorizontal(),v=f.inverse,m=e.shape,y=v?g?m.x:m.y+m.height:g?m.x+m.width:m.y,x=(g?p:0)*(v?-1:1),_=(g?0:-p)*(v?-1:1),b=g?"x":"y",w=function(t,e,n){for(var i,r,o=t.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u=e||i>=e&&r<=e){l=u;break}s=u,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}(u,y,b),S=w.range,M=S[1]-S[0],I=void 0;if(M>=1){if(M>1&&!c){var T=zw(u,S[0]);s.attr({x:T[0]+x,y:T[1]+_}),r&&(I=h.getRawValue(S[0]))}else{(T=l.getPointOn(y,b))&&s.attr({x:T[0]+x,y:T[1]+_});var C=h.getRawValue(S[0]),A=h.getRawValue(S[1]);r&&(I=$o(n,d,C,A,w.t))}i.lastFrameIndex=S[0]}else{var D=1===t||i.lastFrameIndex>0?S[0]:0;T=zw(u,D),r&&(I=h.getRawValue(D)),s.attr({x:T[0]+x,y:T[1]+_})}if(r){var L=vc(s);"function"==typeof L.setLabelText&&L.setLabelText(I)}}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,h=function(t,e,n,i,r,o,a){for(var s=function(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}(t,e),l=[],u=[],h=[],c=[],d=[],p=[],f=[],g=vw(r,e,a),v=t.getLayout("points")||[],m=e.getLayout("points")||[],y=0;y3e3||l&&Pw(d,f)>3e3)return s.stopAnimation(),s.setShape({points:p}),void(l&&(l.stopAnimation(),l.setShape({points:p,stackedOnPoints:f})));s.shape.__points=h.current,s.shape.points=c;var g={shape:{points:p}};h.current!==c&&(g.shape.__points=h.next),s.stopAnimation(),bh(s,g,u),l&&(l.setShape({points:c,stackedOnPoints:d}),l.stopAnimation(),bh(l,{shape:{stackedOnPoints:f}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var v=[],m=h.status,y=0;ye&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n10&&"cartesian2d"===o.type&&r){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),h=n.getDevicePixelRatio(),c=Math.abs(u[1]-u[0])*(h||1),d=Math.round(a/c);if(isFinite(d)&&d>1){"lttb"===r?t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/d)):"minmax"===r&&t.setData(i.minmaxDownSample(i.mapDimension(l.dim),1/d));var p=void 0;X(r)?p=Hw[r]:Z(r)&&(p=r),p&&t.setData(i.downSample(i.mapDimension(l.dim),1/d,p,Ww))}}}}}function Yw(t){t.registerChartView(Fw),t.registerSeriesModel(sw),t.registerLayout(Gw("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,Uw("line"))}var Zw=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.getInitialData=function(t,e){return Ax(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,n){var i=this.coordinateSystem;if(i&&i.clampData){var r=i.clampData(t),o=i.dataToPoint(r);if(n)z(i.getAxes(),(function(t,n){if("category"===t.type&&null!=e){var i=t.getTicksCoords(),a=t.getTickModel().get("alignWithLabel"),s=r[n],l="x1"===e[n]||"y1"===e[n];if(l&&!a&&(s+=1),i.length<2)return;if(2===i.length)return void(o[n]=t.toGlobalCoord(t.getExtent()[l?1:0]));for(var u=void 0,h=void 0,c=1,d=0;ds){h=(p+u)/2;break}1===d&&(c=f-i[0].tickValue)}null==h&&(u?u&&(h=i[i.length-1].coord):h=i[0].coord),o[n]=t.toGlobalCoord(h)}}));else{var a=this.getData(),s=a.getLayout("offset"),l=a.getLayout("size"),u=i.getBaseAxis().isHorizontal()?0:1;o[u]+=s+l/2}return o}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(Mg);Mg.registerClass(Zw);var Xw=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.getInitialData=function(){return Ax(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=Rc(Zw.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(Zw),jw=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},qw=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return i(e,t),e.prototype.getDefaultShape=function(){return new jw},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,h=e.clockwise,c=2*Math.PI,d=h?u-lo)return!0;o=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){Th(e,t,ll(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(Eg),nS={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=Qw(e.x,t.x),s=tS(e.x+e.width,r),l=Qw(e.y,t.y),u=tS(e.y+e.height,o),h=sr?s:a,e.y=c&&l>o?u:l,e.width=h?0:s-a,e.height=c?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),h||c},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=tS(e.r,t.r),o=Qw(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;return n<0&&(i=e.r,e.r=e.r0,e.r0=i),a}},iS={cartesian2d:function(t,e,n,i,r,o,a,s,l){var u=new Zs({shape:L({},i),z2:1});return u.__dataIndex=n,u.name="item",o&&(u.shape[r?"height":"width"]=0),u},polar:function(t,e,n,i,r,o,a,s,l){var u=!r&&l?qw:Uu,h=new u({shape:i,z2:1});h.name="item";var c,d,p=hS(r);if(h.calculateTextPosition=(c=p,d=({isRoundCap:u===qw}||{}).isRoundCap,function(t,e,n){var i=e.position;if(!i||i instanceof Array)return Pr(t,e,n);var r=c(i),o=null!=e.distance?e.distance:5,a=this.shape,s=a.cx,l=a.cy,u=a.r,h=a.r0,p=(u+h)/2,f=a.startAngle,g=a.endAngle,v=(f+g)/2,m=d?Math.abs(u-h)/2:0,y=Math.cos,x=Math.sin,_=s+u*y(f),b=l+u*x(f),w="left",S="top";switch(r){case"startArc":_=s+(h-o)*y(v),b=l+(h-o)*x(v),w="center",S="top";break;case"insideStartArc":_=s+(h+o)*y(v),b=l+(h+o)*x(v),w="center",S="bottom";break;case"startAngle":_=s+p*y(f)+Kw(f,o+m,!1),b=l+p*x(f)+$w(f,o+m,!1),w="right",S="middle";break;case"insideStartAngle":_=s+p*y(f)+Kw(f,-o+m,!1),b=l+p*x(f)+$w(f,-o+m,!1),w="left",S="middle";break;case"middle":_=s+p*y(v),b=l+p*x(v),w="center",S="middle";break;case"endArc":_=s+(u+o)*y(v),b=l+(u+o)*x(v),w="center",S="bottom";break;case"insideEndArc":_=s+(u-o)*y(v),b=l+(u-o)*x(v),w="center",S="top";break;case"endAngle":_=s+p*y(g)+Kw(g,o+m,!0),b=l+p*x(g)+$w(g,o+m,!0),w="left",S="middle";break;case"insideEndAngle":_=s+p*y(g)+Kw(g,-o+m,!0),b=l+p*x(g)+$w(g,-o+m,!0),w="right",S="middle";break;default:return Pr(t,e,n)}return(t=t||{}).x=_,t.y=b,t.align=w,t.verticalAlign=S,t}),o){var f=r?"r":"endAngle",g={};h.shape[f]=r?i.r0:i.startAngle,g[f]=i[f],(s?bh:wh)(h,{shape:g},o)}return h}};function rS(t,e,n,i,r,o,a,s){var l,u;o?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(a?bh:wh)(n,{shape:l},e,r,null),(a?bh:wh)(n,{shape:u},e?t.baseAxis.model:null,r)}function oS(t,e){for(var n=0;n0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function hS(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function cS(t,e,n,i,r,o,a,s){var l=e.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var u=t.shape;L(u,Jw(i.getModel("itemStyle"),u,!0)),t.setShape(u)}}else{var h=i.get(["itemStyle","borderRadius"])||0;t.setShape("r",h)}t.useStyle(l);var c=i.getShallow("cursor");c&&t.attr("cursor",c);var d=s?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?r.height>=0?"bottom":"top":r.width>=0?"right":"left",p=lc(i);sc(t,p,{labelFetcher:o,labelDataIndex:n,defaultText:lw(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:d});var f=t.getTextContent();if(s&&f){var g=i.get(["label","position"]);t.textConfig.inside="middle"===g||null,function(t,e,n,i){if(q(i))t.setTextConfig({rotation:i});else if(Y(e))t.setTextConfig({rotation:0});else{var r,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(a+s)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=l;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=s;break;default:return void t.setTextConfig({rotation:0})}var h=1.5*Math.PI-r;"middle"===u&&h>Math.PI/2&&h<1.5*Math.PI&&(h-=Math.PI),t.setTextConfig({rotation:h})}}(t,"outside"===g?d:g,hS(a),i.get(["label","rotate"]))}mc(f,p,o.getRawValue(n),(function(t){return uw(e,t)}));var v=i.getModel(["emphasis"]);$l(t,v.get("focus"),v.get("blurScope"),v.get("disabled")),eu(t,i),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(r)&&(t.style.fill="none",t.style.stroke="none",z(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}var dS=function(){return function(){}}(),pS=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return i(e,t),e.prototype.getDefaultShape=function(){return new dS},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[h]}return-1}(this,t.offsetX,t.offsetY);ll(this).dataIndex=e>=0?e:null}),30,!1);function vS(t,e,n){if(Dw(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}var o=e;return{cx:(r=n.getArea()).cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}function mS(t){t.registerChartView(eS),t.registerSeriesModel(Xw),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,U(Qx,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,t_("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,Uw("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)}))}))}var yS=2*Math.PI,xS=Math.PI/180;function _S(t,e){return Nd(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function bS(t,e){var n=_S(t,e),i=t.get("center"),r=t.get("radius");Y(r)||(r=[0,r]);var o,a,s=no(n.width,e.getWidth()),l=no(n.height,e.getHeight()),u=Math.min(s,l),h=no(r[0],u/2),c=no(r[1],u/2),d=t.coordinateSystem;if(d){var p=d.dataToPoint(i);o=p[0]||0,a=p[1]||0}else Y(i)||(i=[i,i]),o=no(i[0],s)+n.x,a=no(i[1],l)+n.y;return{cx:o,cy:a,r0:h,r:c}}function wS(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),i=e.mapDimension("value"),r=_S(t,n),o=bS(t,n),a=o.cx,s=o.cy,l=o.r,u=o.r0,h=-t.get("startAngle")*xS,c=t.get("endAngle"),d=t.get("padAngle")*xS;c="auto"===c?h-yS:-c*xS;var p=t.get("minAngle")*xS+d,f=0;e.each(i,(function(t){!isNaN(t)&&f++}));var g=e.getSum(i),v=Math.PI/(g||f)*2,m=t.get("clockwise"),y=t.get("roseType"),x=t.get("stillShowZeroSum"),_=e.getDataExtent(i);_[0]=0;var b=m?1:-1,w=[h,c],S=b*d/2;ps(w,!m),h=w[0],c=w[1];var M=SS(t);M.startAngle=h,M.endAngle=c,M.clockwise=m;var I=Math.abs(c-h),T=I,C=0,A=h;if(e.setLayout({viewRect:r,r:l}),e.each(i,(function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:m,cx:a,cy:s,r0:u,r:y?NaN:l});else{(i="area"!==y?0===g&&x?v:t*v:I/f)i?h=o=A+b*i/2:(o=A+S,h=r-S),e.setItemLayout(n,{angle:i,startAngle:o,endAngle:h,clockwise:m,cx:a,cy:s,r0:u,r:y?eo(t,_,[u,l]):l}),A=r}})),Tn?a:o,h=Math.abs(l.label.y-n);if(h>=u.maxY){var c=l.label.x-e-l.len2*r,d=i+l.len,f=Math.abs(c)t.unconstrainedWidth?null:p:null;i.setStyle("width",f)}var g=i.getBoundingRect();o.width=g.width;var v=(i.style.margin||0)+2.1;o.height=g.height+v,o.y-=(o.height-c)/2}}}function AS(t){return"center"===t.position}function DS(t){var e,n,i=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAngle")||0)*IS,s=i.getLayout("viewRect"),l=i.getLayout("r"),u=s.width,h=s.x,c=s.y,d=s.height;function p(t){t.ignore=!0}i.each((function(t){var s=i.getItemGraphicEl(t),c=s.shape,d=s.getTextContent(),f=s.getTextGuideLine(),g=i.getItemModel(t),v=g.getModel("label"),m=v.get("position")||g.get(["emphasis","label","position"]),y=v.get("distanceToLabelLine"),x=v.get("alignTo"),_=no(v.get("edgeDistance"),u),b=v.get("bleedMargin"),w=g.getModel("labelLine"),S=w.get("length");S=no(S,u);var M=w.get("length2");if(M=no(M,u),Math.abs(c.endAngle-c.startAngle)0?"right":"left":L>0?"left":"right"}var B=Math.PI,F=0,G=v.get("rotate");if(q(G))F=G*(B/180);else if("center"===m)F=0;else if("radial"===G||!0===G)F=L<0?-D+B:-D;else if("tangential"===G&&"outside"!==m&&"outer"!==m){var H=Math.atan2(L,k);H<0&&(H=2*B+H),k>0&&(H=B+H),F=H-B}if(o=!!F,d.x=I,d.y=T,d.rotation=F,d.setStyle({verticalAlign:"middle"}),P){d.setStyle({align:A});var W=d.states.select;W&&(W.x+=d.x,W.y+=d.y)}else{var U=d.getBoundingRect().clone();U.applyTransform(d.getComputedTransform());var Y=(d.style.margin||0)+2.1;U.y-=Y/2,U.height+=Y,r.push({label:d,labelLine:f,position:m,len:S,len2:M,minTurnAngle:w.get("minTurnAngle"),maxSurfaceAngle:w.get("maxSurfaceAngle"),surfaceNormal:new Le(L,k),linePoints:C,textAlign:A,labelDistance:y,labelAlignTo:x,edgeDistance:_,bleedMargin:b,rect:U,unconstrainedWidth:U.width,labelStyleWidth:d.style.width})}s.setTextConfig({inside:P})}})),!o&&t.get("avoidLabelOverlap")&&function(t,e,n,i,r,o,a,s){for(var l=[],u=[],h=Number.MAX_VALUE,c=-Number.MAX_VALUE,d=0;d0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u=n.r0}},e.type="pie",e}(Eg);function PS(t,e,n){e=Y(e)&&{coordDimensions:e}||L({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=xx(i,e).dimensions,o=new mx(r,t);return o.initData(i,n),o}var OS=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}(),RS=Ho(),NS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new OS(W(this.getData,this),W(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return PS(this,{coordDimensions:["value"],encodeDefaulter:U(rp,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),i=RS(n),r=i.seats;if(!r){var o=[];n.each(n.mapDimension("value"),(function(t){o.push(t)})),r=i.seats=lo(o,n.hostModel.get("percentPrecision"))}var a=t.prototype.getDataParams.call(this,e);return a.percent=r[e]||0,a.$vars.push("percent"),a},e.prototype._defaultLabelLine=function(t){ko(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(Mg);function ES(t){t.registerChartView(kS),t.registerSeriesModel(NS),Rv("pie",t.registerAction),t.registerLayout(U(wS,"pie")),t.registerProcessor(MS("pie")),t.registerProcessor(function(t){return{seriesType:t,reset:function(t,e){var n=t.getData();n.filterSelf((function(t){var e=n.mapDimension("value"),i=n.get(e,t);return!(q(i)&&!isNaN(i)&&i<0)}))}}}("pie"))}var zS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return i(e,t),e.prototype.getInitialData=function(t,e){return Ax(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(Mg),VS=function(){},BS=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return i(e,t),e.prototype.getDefaultShape=function(){return new VS},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<4,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n=0;s--){var l=2*s,u=i[l]-o/2,h=i[l+1]-a/2;if(t>=u&&e>=h&&t<=u+o&&e<=h+a)return s}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=1/0,s=1/0,l=-1/0,u=-1/0,h=0;h=0&&(l.dataIndex=n+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),GS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=Gw("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){if(t.get("clip",!0)){var e=t.coordinateSystem;return e&&e.getArea&&e.getArea(.1)}},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new FS:new gw,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(Eg),HS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(Hd),WS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Zo).models[0]},e.type="cartesian2dAxis",e}(Hd);N(WS,N_);var US={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},YS=A({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},US),ZS=A({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},US);const XS={category:YS,value:ZS,time:A({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},ZS),log:k({logBase:10},ZS)};var jS={value:1,category:1,time:1,log:1};function qS(t,e,n,r){z(jS,(function(o,a){var s=A(A({},XS[a],!0),r,!0),l=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+a,n}return i(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=zd(this),i=n?Bd(t):{};A(t,e.getTheme().get(a+"Axis")),A(t,this.getDefaultOption()),t.type=KS(t),n&&Vd(t,i,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=kx.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+a,n.defaultOption=s,n}(n);t.registerComponentModel(l)})),t.registerSubTypeDefaulter(e+"Axis",KS)}function KS(t){return t.type||(t.data?"category":"value")}var $S=t("T",function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return V(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),F(this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}()),JS=["x","y"];function QS(t){return"interval"===t.type||"time"===t.type}var tM=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=JS,e}return i(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(QS(t)&&QS(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,h=r[0]-n[0]*l,c=r[1]-i[0]*u,d=this._transform=[l,0,0,u,h,c];this._invTransform=Ce([],d)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new Be(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return Wt(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return Wt(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1])-t,r=Math.min(n[0],n[1])-t,o=Math.max(e[0],e[1])-i+t,a=Math.max(n[0],n[1])-r+t;return new Be(i,r,o,a)},e}($S),eM=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return i(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(xb);function nM(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,o={},a=r.getAxesOnZeroOf()[0],s=r.position,l=a?"onZero":s,u=r.dim,h=i.getRect(),c=[h.x,h.x+h.width,h.y,h.y+h.height],d={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,f="x"===u?[c[2]-p,c[3]+p]:[c[0]-p,c[1]+p];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));f[d.onZero]=Math.max(Math.min(g,f[1]),f[0])}o.position=["y"===u?f[d[l]]:c[0],"x"===u?f[d[l]]:c[3]],o.rotation=Math.PI/2*("x"===u?0:1),o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],o.labelOffset=a?f[d[s]]-f[d.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),rt(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var v=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-v:v,o.z2=1,o}function iM(t){return"cartesian2d"===t.get("coordinateSystem")}function rM(t){var e={xAxisModel:null,yAxisModel:null};return z(e,(function(n,i){var r=i.replace(/Model$/,""),o=t.getReferringComponents(r,Zo).models[0];e[i]=o})),e}var oM=Math.log;function aM(t,e,n){var i=Wx.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=T_(t,e),u=l.extent,h=l.fixMin,c=l.fixMax;if("log"===t.type){var d=oM(t.base);u=[oM(u[0])/d,oM(u[1])/d]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:h,fixMax:c});var p=i.getExtent.call(t);h&&(u[0]=p[0]),c&&(u[1]=p[1]);var f=i.getInterval.call(t),g=u[0],v=u[1];if(h&&c)f=(v-g)/a;else if(h)for(v=u[0]+f*a;vu[0]&&isFinite(g)&&isFinite(u[0]);)f=Nx(f),g=u[1]-f*a;else{t.getTicks().length-1>a&&(f=Nx(f));var m=f*a;(g=io((v=Math.ceil(u[1]/f)*f)-m))<0&&u[0]>=0?(g=0,v=io(m)):v>0&&u[1]<=0&&(v=0,g=-io(m))}var y=(r[0].value-o[0].value)/s,x=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+f*y,v+f*x),i.setInterval.call(t,f),(y||x)&&i.setNiceExtent.call(t,g+f,v-f)}var sM=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=JS,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=H(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=t[+n[o]],s=a.model,l=a.scale;Ox(l)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):(C_(l,s),Ox(l)&&(e=a))}r.length&&(e||C_((e=r.pop()).scale,e.model),z(r,(function(t){aM(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};z(n.x,(function(t){uM(n,"y",t,r)})),z(n.y,(function(t){uM(n,"x",t,r)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=Nd(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){z(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e?o.x:o.y)}))}s(),r&&(z(a,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=function(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,o=n.getExtent();r=n instanceof Gx?n.count():(i=n.getTicks()).length;var a,s=t.getLabelModel(),l=D_(t),u=1;r>40&&(u=Math.ceil(r/40));for(var h=0;h0&&i>0||n<0&&i<0)}(t)}var cM=Math.PI,dM=function(){function t(t,e){this.group=new Wr,this.opt=e,this.axisModel=t,k(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new Wr({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!pM[t]},t.prototype.add=function(t){pM[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=co(e-t);return po(o)?(r=n>0?"top":"bottom",i="center"):po(o-cM)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),pM={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=i.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&(Wt(s,s,a),Wt(l,l,a));var h=L({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),c=new th({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:h,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});Gh(c.shape,c.style.lineWidth),c.anid="line",n.add(c);var d=e.get(["axisLine","symbol"]);if(null!=d){var p=e.get(["axisLine","symbolSize"]);X(d)&&(d=[d,d]),(X(p)||q(p))&&(p=[p,p]);var f=Kv(e.get(["axisLine","symbolOffset"])||0,p),g=p[0],v=p[1];z([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(e,i){if("none"!==d[i]&&null!=d[i]){var r=jv(d[i],-g/2,-v/2,g,v,h.stroke,!0),o=e.r+e.offset,a=u?l:s;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,i){var r=function(t,e,n,i){var r=n.axis,o=n.getModel("axisTick"),a=o.get("show");if("auto"===a&&i.handleAutoShown&&(a=i.handleAutoShown("axisTick")),a&&!r.scale.isBlank()){for(var s=o.getModel("lineStyle"),l=i.tickDirection*o.get("length"),u=mM(r.getTicksCoords(),e.transform,l,k(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;hc[1]?-1:1,p=["start"===s?c[0]-d*h:"end"===s?c[1]+d*h:(c[0]+c[1])/2,vM(s)?t.labelOffset+l*h:0],f=e.get("nameRotate");null!=f&&(f=f*cM/180),vM(s)?o=dM.innerTextLayout(t.rotation,null!=f?f:t.rotation,l):(o=function(t,e,n,i){var r,o,a=co(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;return po(a-cM/2)?(o=l?"bottom":"top",r="center"):po(a-1.5*cM)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*cM&&a>cM/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:r,textVerticalAlign:o}}(t.rotation,s,f||0,c),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=u.getFont(),v=e.get("nameTruncate",!0)||{},m=v.ellipsis,y=rt(t.nameTruncateMaxWidth,v.maxWidth,a),x=new qs({x:p[0],y:p[1],rotation:o.rotation,silent:dM.isLabelSilent(e),style:uc(u,{text:r,font:g,overflow:"truncate",width:y,ellipsis:m,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(tc({el:x,componentModel:e,itemName:r}),x.__fullText=r,x.anid="name",e.get("triggerEvent")){var _=dM.makeAxisEventDataBase(e);_.targetType="axisName",_.name=r,ll(x).eventData=_}i.add(x),x.updateTransform(),n.add(x),x.decomposeTransform()}}};function fM(t){t&&(t.ignore=!0)}function gM(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=be([]);return Ie(r,r,-t.rotation),n.applyTransform(Se([],r,t.getLocalTransform())),i.applyTransform(Se([],r,e.getLocalTransform())),n.intersect(i)}}function vM(t){return"middle"===t||"center"===t}function mM(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l=0||t===e}function _M(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[wM(t)]}function bM(t){return!!t.get(["handle","show"])}function wM(t){return t.type+"||"+t.id}var SM={},MM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(e,n,i,r){this.axisPointerClass&&function(t){var e=_M(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=bM(n);null==o&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a0&&!c.min?c.min=0:null!=c.min&&c.min<0&&!c.max&&(c.max=0);var d=a;null!=c.color&&(d=k({color:c.color},a));var p=A(C(c),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:o,name:c.text,showName:s,nameLocation:"end",nameGap:u,nameTextStyle:d,triggerEvent:h},!1);if(X(l)){var f=p.name;p.name=l.replace("{value}",null!=f?f:"")}else Z(l)&&(p.name=l(p.name,p));var g=new kc(p,null,this.ecModel);return N(g,N_.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=c},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:A({lineStyle:{color:"#bbb"}},WM.axisLine),axisLabel:UM(WM.axisLabel,!1),axisTick:UM(WM.axisTick,!1),splitLine:UM(WM.splitLine,!0),splitArea:UM(WM.splitArea,!0),indicator:[]},e}(Hd),ZM=["axisLine","axisTickLabel","axisName"],XM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem;z(V(e.getIndicatorAxes(),(function(t){var n=t.model.get("showName")?t.name:"";return new dM(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})})),(function(t){z(ZM,t.add,t),this.group.add(t.getGroup())}),this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),r=t.getModel("splitLine"),o=t.getModel("splitArea"),a=r.getModel("lineStyle"),s=o.getModel("areaStyle"),l=r.get("show"),u=o.get("show"),h=a.get("color"),c=s.get("color"),d=Y(h)?h:[h],p=Y(c)?c:[c],f=[],g=[];if("circle"===i)for(var v=n[0].getTicksCoords(),m=e.cx,y=e.cy,x=0;x3?1.4:r>1?1.2:1.1;eI(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(i);eI(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){JM(this._zr,"globalPan")||eI(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},e}(qt);function eI(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(ge(i.event),nI(t,e,n,i,r))}function nI(t,e,n,i,r){r.isAvailableBehavior=W(iI,null,n,i),t.trigger(e,r)}function iI(t,e,n){var i=n[t];return!t||i&&(!X(i)||e.event[i+"Key"])}function rI(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}function oI(t,e,n,i){var r=t.target,o=t.zoomLimit,a=t.zoom=t.zoom||1;if(a*=e,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var u=a/t.zoom;t.zoom=a,r.x-=(n-r.x)*(u-1),r.y-=(i-r.y)*(u-1),r.scaleX*=u,r.scaleY*=u,r.dirty()}var aI,sI={axisPointer:1,tooltip:1,brush:1};function lI(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!sI.hasOwnProperty(i.mainType)&&r&&r.model!==n}function uI(t){X(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));var e=t;for(9===e.nodeType&&(e=e.firstChild);"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}var hI={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},cI=H(hI),dI={"alignment-baseline":"textBaseline","stop-color":"stopColor"},pI=H(dI),fI=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=uI(t);this._defsUsePending=[];var i=new Wr;this._root=i;var r=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),_I(n,i,null,!0,!1);for(var l,u,h=n.firstChild;h;)this._parseNode(h,i,r,null,!1,!1),h=h.nextSibling;if(function(t,e){for(var n=0;n=4&&(l={x:parseFloat(c[0]||0),y:parseFloat(c[1]||0),width:parseFloat(c[2]),height:parseFloat(c[3])})}if(l&&null!=a&&null!=s&&(u=DI(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var d=i;(i=new Wr).add(d),d.scaleX=d.scaleY=u.scale,d.x=u.x,d.y=u.y}return e.ignoreRootClip||null==a||null==s||i.setClipPath(new Zs({shape:{x:0,y:0,width:a,height:s}})),{root:i,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:r}},t.prototype._parseNode=function(t,e,n,i,r,o){var a,s=t.nodeName.toLowerCase(),l=i;if("defs"===s&&(r=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=e;else{if(!r){var u=aI[s];if(u&&bt(aI,s)){a=u.call(this,t,e);var h=t.getAttribute("name");if(h){var c={name:h,namedFrom:null,svgNodeTagLower:s,el:a};n.push(c),"g"===s&&(l=c)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:a});e.add(a)}}var d=gI[s];if(d&&bt(gI,s)){var p=d.call(this,t),f=t.getAttribute("id");f&&(this._defs[f]=p)}}if(a&&a.isGroup)for(var g=t.firstChild;g;)1===g.nodeType?this._parseNode(g,a,n,l,r,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling},t.prototype._parseText=function(t,e){var n=new Es({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});yI(e,n),_I(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var i=n.textBaseline,r=i;i&&"auto"!==i?"baseline"===i?r="alphabetic":"before-edge"===i||"text-before-edge"===i?r="top":"after-edge"===i||"text-after-edge"===i?r="bottom":"central"!==i&&"mathematical"!==i||(r="middle"):r="alphabetic",t.style.textBaseline=r}var o=e.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),t.style.textAlign=s)}}(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;var a=n.getBoundingRect();return this._textX+=a.width,e.add(n),n},t.internalField=void(aI={g:function(t,e){var n=new Wr;return yI(e,n),_I(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new Zs;return yI(e,n),_I(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new Cu;return yI(e,n),_I(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new th;return yI(e,n),_I(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new Du;return yI(e,n),_I(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=xI(i));var r=new qu({shape:{points:n||[]},silent:!0});return yI(e,r),_I(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=xI(i));var r=new $u({shape:{points:n||[]},silent:!0});return yI(e,r),_I(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new Bs;return yI(e,n),_I(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(o);var a=new Wr;return yI(e,a),_I(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new Wr;return yI(e,a),_I(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),a},path:function(t,e){var n=Mu(t.getAttribute("d")||"");return yI(e,n),_I(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),gI={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),i=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),o=new uh(e,n,i,r);return vI(t,o),mI(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),r=new hh(e,n,i);return vI(t,r),mI(t,r),r}};function vI(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function mI(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var i=n.getAttribute("offset"),r=void 0;r=i&&i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var o={};AI(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function yI(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),k(e.__inheritedStyle,t.__inheritedStyle))}function xI(t){for(var e=MI(t),n=[],i=0;i0;o-=2){var a=i[o],s=i[o-1],l=MI(a);switch(r=r||[1,0,0,1,0,0],s){case"translate":Me(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":Te(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":Ie(r,r,-parseFloat(l[0])*TI,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":Se(r,[1,0,Math.tan(parseFloat(l[0])*TI),1,0,0],r);break;case"skewY":Se(r,[1,Math.tan(parseFloat(l[0])*TI),0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5])}}e.setLocalTransform(r)}}(t,e),AI(t,a,s),i||function(t,e,n){for(var i=0;i0,f={api:n,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:p,isGeo:o,transformInfoRaw:c};"geoJSON"===s.resourceType?this._buildGeoJSON(f):"geoSVG"===s.resourceType&&this._buildSVG(f),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,i)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=mt(),n=mt(),i=this._regionsGroup,r=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,s=t.geo.projection,l=s&&s.stream;function u(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]}function h(t){for(var e=[],n=!l&&s&&s.project,i=0;i=0)&&(d=r);var p=a?{normal:{align:"center",verticalAlign:"middle"}}:null;sc(e,lc(i),{labelFetcher:d,labelDataIndex:c,defaultText:n},p);var f=e.getTextContent();if(f&&(jI(f).ignore=f.ignore,e.textConfig&&a)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(a[0]-g.x)/g.width*100+"%",(a[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function tT(t,e,n,i,r,o){t.data?t.data.setItemGraphicEl(o,e):ll(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function eT(t,e,n,i,r){t.data||tc({el:e,componentModel:r,itemName:n,itemTooltipOption:i.get("tooltip")})}function nT(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var o=i.getModel("emphasis"),a=o.get("focus");return $l(e,a,o.get("blurScope"),o.get("disabled")),t.isGeo&&function(t,e,n){var i=ll(t);i.componentMainType=e.mainType,i.componentIndex=e.componentIndex,i.componentHighDownName=n}(e,r,n),a}function iT(t,e,n){var i,r=[];function o(){i=[]}function a(){i.length&&(r.push(i),i=[])}var s=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&i.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),z(t,(function(t){s.lineStart();for(var e=0;e-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(Mg);function aT(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)})),z(e,(function(t,e){for(var n,i,r,o=(n=V(t,(function(t){return t.getData()})),i=t[0].get("mapValueCalculation"),r={},z(n,(function(t){t.each(t.mapDimension("value"),(function(e,n){var i="ec-"+t.getName(n);r[i]=r[i]||[],isNaN(e)||r[i].push(e)}))})),n[0].map(n[0].mapDimension("value"),(function(t,e){for(var o="ec-"+n[0].getName(e),a=0,s=1/0,l=-1/0,u=r[o].length,h=0;h1?(p.width=d,p.height=d/x):(p.height=d,p.width=d*x),p.y=c[1]-p.height/2,p.x=c[0]-p.width/2;else{var b=t.getBoxLayoutParams();b.aspect=x,p=Nd(b,{width:m,height:y})}this.setViewRect(p.x,p.y,p.width,p.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}N(pT,uT);var vT=function(){function t(){this.dimensions=dT}return t.prototype.create=function(t,e){var n=[];function i(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",(function(t,r){var o=t.get("map"),a=new pT(o+r,o,L({nameMap:t.get("nameMap")},i(t)));a.zoomLimit=t.get("scaleLimit"),n.push(a),t.coordinateSystem=a,a.model=t,a.resize=gT,a.resize(t,e)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}}));var r={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}})),z(r,(function(t,r){var o=V(t,(function(t){return t.get("nameMap")})),a=new pT(r,r,L({nameMap:D(o)},i(t[0])));a.zoomLimit=rt.apply(null,V(t,(function(t){return t.get("scaleLimit")}))),n.push(a),a.resize=gT,a.resize(t[0],e),z(t,(function(t){t.coordinateSystem=a,function(t,e){z(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}(a,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,i){for(var r=(t||[]).slice(),o=mt(),a=0;a=0;){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=function(t,e,n,i){if(e){for(var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,u=o.hierNode.modifier,h=a.hierNode.modifier,c=s.hierNode.modifier;s=DT(s),o=LT(o),s&&o;){r=DT(r),a=LT(a),r.hierNode.ancestor=t;var d=s.hierNode.prelim+c-o.hierNode.prelim-u+i(s,o);d>0&&(PT(kT(s,t,n),t,d),u+=d,l+=d),c+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=r.hierNode.modifier,h+=a.hierNode.modifier}s&&!DT(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=c-l),o&&!LT(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-h,n=t)}return n}(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function TT(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function CT(t){return arguments.length?t:OT}function AT(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function DT(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function LT(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function kT(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function PT(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function OT(t,e){return t.parentNode===e.parentNode?1:2}var RT=function(){return function(){this.parentPoint=[],this.childPoints=[]}}(),NT=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new RT},e.prototype.buildPath=function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,o=n[0],a=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,h=no(e.forkPosition,1),c=[];c[l]=r[l],c[u]=r[u]+(a[u]-r[u])*h,t.moveTo(r[0],r[1]),t.lineTo(c[0],c[1]),t.moveTo(o[0],o[1]),c[l]=o[l],t.lineTo(c[0],c[1]),c[l]=a[l],t.lineTo(c[0],c[1]),t.lineTo(a[0],a[1]);for(var d=1;dy.x)||(_-=Math.PI);var S=b?"left":"right",M=s.getModel("label"),I=M.get("rotate"),T=I*(Math.PI/180),C=v.getTextContent();C&&(v.setTextConfig({position:M.get("position")||S,rotation:null==I?-_:T,origin:"center"}),C.setStyle("verticalAlign","middle"))}var A=s.get(["emphasis","focus"]),D="relative"===A?yt(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===A?a.getAncestorsIndices():"descendant"===A?a.getDescendantIndices():null;D&&(ll(n).focus=D),function(t,e,n,i,r,o,a,s){var l=e.getModel(),u=t.get("edgeShape"),h=t.get("layout"),c=t.getOrient(),d=t.get(["lineStyle","curveness"]),p=t.get("edgeForkPosition"),f=l.getModel("lineStyle").getLineStyle(),g=i.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(g||(g=i.__edge=new rh({shape:HT(h,c,d,r,r)})),bh(g,{shape:HT(h,c,d,o,a)},t));else if("polyline"===u&&"orthogonal"===h&&e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var v=e.children,m=[],y=0;ye&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e=0){var i=n.getData().tree.root,r=t.targetNode;if(X(r)&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=i.getNodeById(o)))return{node:r}}}function eC(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function nC(t,e){return O(eC(t),e)>=0}function iC(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}var rC=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return i(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i=new kc(n,this,this.ecModel),r=QT.createTree(e,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=i),t}))})),o=0;r.eachNode("preorder",(function(t){t.depth>o&&(o=t.depth)}));var a=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=a})),r.data},e.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,e,n){for(var i=this.getData().tree,r=i.root.children[0],o=i.getNodeByDataIndex(t),a=o.getValue(),s=o.name;o&&o!==r;)s=o.parentNode.name+"."+s,o=o.parentNode;return lg("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=iC(i,this),n.collapsed=!i.isExpand,n},e.type="series.tree",e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(Mg);function oC(t,e){for(var n,i=[t];n=i.pop();)if(e(n),n.isExpand){var r=n.children;if(r.length)for(var o=r.length-1;o>=0;o--)i.push(r[o])}}function aC(t,e){t.eachSeriesByType("tree",(function(t){!function(t,e){var n=function(t,e){return Nd(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=n;var i=t.get("layout"),r=0,o=0,a=null;"radial"===i?(r=2*Math.PI,o=Math.min(n.height,n.width)/2,a=CT((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(r=n.width,o=n.height,a=CT());var s=t.getData().tree.root,l=s.children[0];if(l){!function(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,i,r=[e];n=r.pop();)if(i=n.children,n.isExpand&&i.length)for(var o=i.length-1;o>=0;o--){var a=i[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(a)}}(s),function(t,e,n){for(var i,r=[t],o=[];i=r.pop();)if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;sh.getLayout().x&&(h=t),t.depth>c.depth&&(c=t)}));var d=u===h?1:a(u,h)/2,p=d-u.getLayout().x,f=0,g=0,v=0,m=0;if("radial"===i)f=r/(h.getLayout().x+d+p),g=o/(c.depth-1||1),oC(l,(function(t){v=(t.getLayout().x+p)*f,m=(t.depth-1)*g;var e=AT(v,m);t.setLayout({x:e.x,y:e.y,rawX:v,rawY:m},!0)}));else{var y=t.getOrient();"RL"===y||"LR"===y?(g=o/(h.getLayout().x+d+p),f=r/(c.depth-1||1),oC(l,(function(t){m=(t.getLayout().x+p)*g,v="LR"===y?(t.depth-1)*f:r-(t.depth-1)*f,t.setLayout({x:v,y:m},!0)}))):"TB"!==y&&"BT"!==y||(f=r/(h.getLayout().x+d+p),g=o/(c.depth-1||1),oC(l,(function(t){v=(t.getLayout().x+p)*f,m="TB"===y?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:v,y:m},!0)})))}}}(t,e)}))}function sC(t){t.eachSeriesByType("tree",(function(t){var e=t.getData();e.tree.eachNode((function(t){var n=t.getModel().getModel("itemStyle").getItemStyle();L(e.ensureUniqueItemVisual(t.dataIndex,"style"),n)}))}))}var lC=["treemapZoomToNode","treemapRender","treemapMove"];function uC(t){var e=t.getData().tree,n={};e.eachNode((function(e){for(var i=e;i&&i.depth>1;)i=i.parentNode;var r=gp(t.ecModel,i.name||i.dataIndex+"",n);e.setVisual("decal",r)}))}var hC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return i(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};cC(n);var i=t.levels||[],r=this.designatedVisualItemStyle={},o=new kc({itemStyle:r},this,e);i=t.levels=function(t,e){var n,i,r=Lo(e.get("color")),o=Lo(e.get(["aria","decal","decals"]));if(r){z(t=t||[],(function(t){var e=new kc(t),r=e.get("color"),o=e.get("decal");(e.get(["itemStyle","color"])||r&&"none"!==r)&&(n=!0),(e.get(["itemStyle","decal"])||o&&"none"!==o)&&(i=!0)}));var a=t[0]||(t[0]={});return n||(a.color=r.slice()),!i&&o&&(a.decal=o.slice()),t}}(i,e);var a=V(i||[],(function(t){return new kc(t,o,e)}),this),s=QT.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=s.getNodeByDataIndex(e),i=n?a[n.depth]:null;return t.parentModel=i||o,t}))}));return s.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t);return lg("nameValue",{name:i.getName(t),value:r})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=iC(i,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},L(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=mt(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){uC(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(Mg);function cC(t){var e=0;z(t.children,(function(t){cC(t);var n=t.value;Y(n)&&(n=n[0]),e+=n}));var n=t.value;Y(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),Y(t.value)?t.value[0]=n:t.value=n}var dC=function(){function t(t){this.group=new Wr,t.add(this.group)}return t.prototype.render=function(t,e,n,i){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&n){var a=r.getModel("itemStyle"),s=r.getModel("emphasis"),l=a.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),h={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,h,l),this._renderContent(t,h,a,s,l,u,i),Ed(o,h.pos,h.box)}},t.prototype._prepare=function(t,e,n){for(var i=t;i;i=i.parentNode){var r=Vo(i.getModel().get("name"),""),o=n.getTextRect(r),a=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=a+8,e.renderList.push({node:i,text:r,width:a})}},t.prototype._renderContent=function(t,e,n,i,r,o,a){for(var s,l,u,h,c,d,p,f,g,v=0,m=e.emptyItemWidth,y=t.get(["breadcrumb","height"]),x=(s=e.pos,l=e.box,h=l.width,c=l.height,d=no(s.left,h),p=no(s.top,c),f=no(s.right,h),g=no(s.bottom,c),(isNaN(d)||isNaN(parseFloat(s.left)))&&(d=0),(isNaN(f)||isNaN(parseFloat(s.right)))&&(f=h),(isNaN(p)||isNaN(parseFloat(s.top)))&&(p=0),(isNaN(g)||isNaN(parseFloat(s.bottom)))&&(g=c),u=bd(u||0),{width:Math.max(f-d-u[1]-u[3],0),height:Math.max(g-p-u[0]-u[2],0)}),_=e.totalWidth,b=e.renderList,w=i.getModel("itemStyle").getItemStyle(),S=b.length-1;S>=0;S--){var M=b[S],I=M.node,T=M.width,C=M.text;_>x.width&&(_-=T-m,T=m,C=null);var A=new qu({shape:{points:pC(v,0,T,y,S===b.length-1,0===S)},style:k(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new qs({style:uc(r,{text:C})}),textConfig:{position:"inside"},z2:1e5,onclick:U(a,I)});A.disableLabelAnimation=!0,A.getTextContent().ensureState("emphasis").style=uc(o,{text:C}),A.ensureState("emphasis").style=w,$l(A,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(A),fC(A,t,I),v+=T+8}},t.prototype.remove=function(){this.group.removeAll()},t}();function pC(t,e,n,i,r,o){var a=[[r?t:t-5,e],[t+n,e],[t+n,e+i],[r?t:t-5,e+i]];return!o&&a.splice(2,0,[t+n+5,e+i/2]),!r&&a.push([t,e+i/2]),a}function fC(t,e,n){ll(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&iC(n,e)}}var gC=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,i,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:i,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,r=this._storage.length;i3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var e=t.originX,n=t.originY,i=t.scale;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var o=r.getLayout();if(!o)return;var a,s=new Be(o.x,o.y,o.width,o.height),l=this._controllerHost;a=l.zoomLimit;var u=l.zoom=l.zoom||1;if(u*=i,a){var h=a.min||0,c=a.max||1/0;u=Math.max(Math.min(c,u),h)}var d=u/l.zoom;l.zoom=u;var p=this.seriesModel.layoutInfo,f=[1,0,0,1,0,0];Me(f,f,[-(e-=p.x),-(n-=p.y)]),Te(f,f,[d,d]),Me(f,f,[e,n]),s.applyTransform(f),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:s.x,y:s.y,width:s.width,height:s.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",(function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var i=e.findTarget(t.offsetX,t.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)e._rootToNode(i);else if("zoomToNode"===n)e._zoomToNode(i);else if("link"===n){var o=r.hostTree.data.getItemModel(r.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&Dd(a,s)}}}}}),this)},e.prototype._renderBreadcrumb=function(t,e,n){var i=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new dC(this.group))).render(t,e,n.node,(function(e){"animating"!==i._state&&(nC(t.getViewRoot(),e)?i._rootToNode({node:e}):i._zoomToNode({node:e}))}))},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}}),this),n},e.type="treemap",e}(Eg),MC=z,IC=K,TC=-1,CC=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=C(e);this.type=i,this.mappingMethod=n,this._normalizeData=zC[n];var o=t.visualHandlers[i];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(AC(r),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,z(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}(r)):"category"===n?r.categories?function(t){var e=t.categories,n=t.categoryMap={},i=t.visual;if(MC(e,(function(t,e){n[t]=e})),!Y(i)){var r=[];K(i)?MC(i,(function(t,e){var i=n[e];r[null!=i?i:TC]=t})):r[-1]=i,i=EC(t,r)}for(var o=e.length-1;o>=0;o--)null==i[o]&&(delete n[e[o]],e.pop())}(r):AC(r,!0):(ut("linear"!==n||r.dataExtent),AC(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return W(this._normalizeData,this)},t.listVisualTypes=function(){return H(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){K(t)?z(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,o=Y(e)?[]:K(e)?{}:(r=!0,null);return t.eachVisual(e,(function(t,e){var a=n.call(i,t,e);r?o=a:o[e]=a})),o},t.retrieveVisuals=function(e){var n,i={};return e&&MC(t.visualHandlers,(function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)})),n?i:null},t.prepareVisualTypes=function(t){if(Y(t))t=t.slice();else{if(!IC(t))return[];var e=[];MC(t,(function(t,n){e.push(n)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,r=1/0,o=0,a=e.length;ou[1]&&(u[1]=l);var h=e.get("colorMappingBy"),c={type:a.name,dataExtent:u,visual:a.range};"color"!==c.type||"index"!==h&&"id"!==h?c.mappingMethod="linear":(c.mappingMethod="category",c.loop=!0);var d=new CC(c);return BC(d).drColorMappingBy=h,d}}}(0,r,o,0,u,p);z(p,(function(t,e){if(t.depth>=n.length||t===n[t.depth]){var o=function(t,e,n,i,r,o){var a=L({},e);if(r){var s=r.type,l="color"===s&&BC(r).drColorMappingBy,u="index"===l?i:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));a[s]=r.mapValueToVisual(u)}return a}(r,u,t,e,f,i);GC(t,o,n,i)}}))}else s=HC(u),h.fill=s}}function HC(t){var e=WC(t,"color");if(e){var n=WC(t,"colorAlpha"),i=WC(t,"colorSaturation");return i&&(e=ai(e,null,null,i)),n&&(e=si(e,n)),e}}function WC(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function UC(t,e){var n=t.get(e);return Y(n)&&n.length?{name:e,range:n}:null}var YC=Math.max,ZC=Math.min,XC=rt,jC=z,qC=["itemStyle","borderWidth"],KC=["itemStyle","gapWidth"],$C=["upperLabel","show"],JC=["upperLabel","height"];const QC={seriesType:"treemap",reset:function(t,e,n,i){var r=n.getWidth(),o=n.getHeight(),a=t.option,s=Nd(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=a.size||[],u=no(XC(s.width,l[0]),r),h=no(XC(s.height,l[1]),o),c=i&&i.type,d=tC(i,["treemapZoomToNode","treemapRootToNode"],t),p="treemapRender"===c||"treemapMove"===c?i.rootRect:null,f=t.getViewRoot(),g=eC(f);if("treemapMove"!==c){var v="treemapZoomToNode"===c?function(t,e,n,i,r){var o,a=(e||{}).node,s=[i,r];if(!a||a===n)return s;for(var l=i*r,u=l*t.option.zoomToNodeRatio;o=a.parentNode;){for(var h=0,c=o.children,d=0,p=c.length;dho&&(u=ho),a=o}ua[1]&&(a[1]=e)}))):a=[NaN,NaN],{sum:i,dataExtent:a}}(e,a,s);if(0===u.sum)return t.viewChildren=[];if(u.sum=function(t,e,n,i,r){if(!i)return n;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*ei&&(i=a));var l=t.area*t.area,u=e*e*n;return l?YC(u*i/l,l/(u*r)):1/0}function nA(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],h=e?t.area/e:0;(r||h>n[l[a]])&&(h=n[l[a]]);for(var c=0,d=t.length;ci&&(i=e);var o=i%2?i+2:i+3;r=[];for(var a=0;a0&&(y[0]=-y[0],y[1]=-y[1]);var _=m[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var b=-Math.atan2(m[1],m[0]);u[0].8?"left":h[0]<-.8?"right":"center",d=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";break;case"start":i.x=-h[0]*f+l[0],i.y=-h[1]*g+l[1],c=h[0]>.8?"right":h[0]<-.8?"left":"center",d=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=f*_+l[0],i.y=l[1]+w,c=m[0]<0?"right":"left",i.originX=-f*_,i.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=x[0],i.y=x[1]+w,c="center",i.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-f*_+u[0],i.y=u[1]+w,c=m[0]>=0?"right":"left",i.originX=f*_,i.originY=-w}i.scaleX=i.scaleY=r,i.setStyle({verticalAlign:i.__verticalAlign||d,align:i.__align||c})}}}function S(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},e}(Wr),GA=function(){function t(t){this.group=new Wr,this._LineCtor=t||FA}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,i=n.group,r=n._lineData;n._lineData=t,r||i.removeAll();var o=HA(t);t.diff(r).add((function(n){e._doAdd(t,n,o)})).update((function(n,i){e._doUpdate(r,t,i,n,o)})).remove((function(t){i.remove(r.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=HA(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=t.start;i=0?i+=u:i-=u:f>=0?i-=u:i+=u}return i}function JA(t,e){var n=[],i=Pn,r=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),h=t.getVisual("toSymbol");l.__original||(l.__original=[Ct(l[0]),Ct(l[1])],l[2]&&l.__original.push(Ct(l[2])));var c=l.__original;if(null!=l[2]){if(Tt(r[0],c[0]),Tt(r[1],c[2]),Tt(r[2],c[1]),u&&"none"!==u){var d=_A(t.node1),p=$A(r,c[0],d*e);i(r[0][0],r[1][0],r[2][0],p,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],p,n),r[0][1]=n[3],r[1][1]=n[4]}h&&"none"!==h&&(d=_A(t.node2),p=$A(r,c[1],d*e),i(r[0][0],r[1][0],r[2][0],p,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],p,n),r[1][1]=n[1],r[2][1]=n[2]),Tt(l[0],r[0]),Tt(l[1],r[2]),Tt(l[2],r[1])}else Tt(o[0],c[0]),Tt(o[1],c[1]),kt(a,o[1],o[0]),zt(a,a),u&&"none"!==u&&(d=_A(t.node1),Lt(o[0],o[0],a,d*e)),h&&"none"!==h&&(d=_A(t.node2),Lt(o[1],o[1],a,-d*e)),Tt(l[0],o[0]),Tt(l[1],o[1])}))}function QA(t){return"view"===t.type}var tD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(t,e){var n=new gw,i=new GA,r=this.group;this._controller=new tI(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(QA(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):bh(s,l,t)}JA(t.getGraph(),xA(t));var u=t.getData();o.updateData(u);var h=t.getEdgeData();a.updateData(h),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var c=t.forceLayout,d=t.get(["force","layoutAnimation"]);c&&this._startForceLayoutIteration(c,d);var p=t.get("layout");u.graph.eachNode((function(e){var n=e.dataIndex,r=e.getGraphicEl(),o=e.getModel();if(r){r.off("drag").off("dragend");var a=o.get("draggable");a&&r.on("drag",(function(o){switch(p){case"force":c.warmUp(),!i._layouting&&i._startForceLayoutIteration(c,d),c.setFixed(n),u.setItemLayout(n,[r.x,r.y]);break;case"circular":u.setItemLayout(n,[r.x,r.y]),e.setLayout({fixed:!0},!0),SA(t,"symbolSize",e,[o.offsetX,o.offsetY]),i.updateLayout(t);break;default:u.setItemLayout(n,[r.x,r.y]),mA(t.getGraph(),t),i.updateLayout(t)}})).on("dragend",(function(){c&&c.setUnfixed(n)})),r.setDraggable(a,!!o.get("cursor")),"adjacency"===o.get(["emphasis","focus"])&&(ll(r).focus=e.getAdjacentDataIndices())}})),u.graph.eachEdge((function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(ll(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var f="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),g=u.getLayout("cx"),v=u.getLayout("cy");u.graph.eachNode((function(t){IA(t,f,g,v)})),this._firstRender=!1},e.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var n=this;!function i(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())}))}()},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!lI(e,n,t)})),QA(t.coordinateSystem)?(r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){rI(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){oI(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(),JA(t.getGraph(),xA(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()}))):r.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=xA(t);e.eachItemGraphicEl((function(t,e){t&&t.setSymbolScale(n)}))},e.prototype.updateLayout=function(t){JA(t.getGraph(),xA(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(Eg);function eD(t){return"_EC_"+t}var nD=t("as",function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[eD(t)]){var i=new iD(t,e);return i.hostGraph=this,this.nodes.push(i),n[eD(t)]=i,i}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[eD(t)]},t.prototype.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if(q(t)&&(t=this.nodes[t]),q(e)&&(e=this.nodes[e]),t instanceof iD||(t=i[eD(t)]),e instanceof iD||(e=i[eD(e)]),t&&e){var o=t.id+"-"+e.id,a=new rD(t,e,n);return a.hostGraph=this,this._directed&&(t.outEdges.push(a),e.inEdges.push(a)),t.edges.push(a),t!==e&&e.edges.push(a),this.edges.push(a),r[o]=a,a}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof iD&&(t=t.id),e instanceof iD&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof iD||(e=this._nodesMap[eD(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o=0&&n.node2.dataIndex>=0})),r=0,o=i.length;r=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}function aD(t,e,n,i,r){for(var o=new nD(i),a=0;a "+d)),u++)}var p,f=n.get("coordinateSystem");if("cartesian2d"===f||"polar"===f)p=Ax(t,n);else{var g=Ip.get(f),v=g&&g.dimensions||[];O(v,"value")<0&&v.concat(["value"]);var m=xx(t,{coordDimensions:v,encodeDefine:n.getEncode()}).dimensions;(p=new mx(m,n)).initData(t)}var y=new mx(["value"],n);return y.initData(l,s),r&&r(p,y),UT({mainData:p,struct:o,structAttr:"graph",datas:{node:p,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}N(iD,oD("hostGraph","data")),N(rD,oD("hostGraph","edgeData"));var sD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return i(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new OS(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),ko(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var n,i=t.edges||t.links||[],r=t.data||t.nodes||[],o=this;if(r&&i){hA(n=this)&&(n.__curvenessList=[],n.__edgeMap={},cA(n));var a=aD(r,i,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t){var e=o._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));var n=kc.prototype.getModel;function i(t,e){var i=n.call(this,t,e);return i.resolveParentPath=r,i}function r(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",(function(t){return t.resolveParentPath=r,t.getModel=i,t}))}));return z(a.edges,(function(t){!function(t,e,n,i){if(hA(n)){var r=dA(t,e,n),o=n.__edgeMap,a=o[pA(r)];o[r]&&!a?o[r].isForward=!0:a&&o[r]&&(a.isForward=!0,o[r].isForward=!1),o[r]=o[r]||[],o[r].push(i)}}(t.node1,t.node2,this,t.dataIndex)}),this),a.data}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,e,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(t,n),o=i.graph.getEdgeByIndex(t),a=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),lg("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}return _g({series:this,dataIndex:t,multipleSeries:e})},e.prototype._updateCategoriesData=function(){var t=V(this.option.categories||[],(function(t){return null!=t.value?t:L({value:0},t)})),e=new mx(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t)}))},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(Mg),lD={type:"graphRoam",event:"graphRoam",update:"none"},uD=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},hD=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return i(e,t),e.prototype.getDefaultShape=function(){return new uD},e.prototype.buildPath=function(t,e){var n=Math.cos,i=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)},e}(Rs);function cD(t,e){var n=null==t?"":t+"";return e&&(X(e)?n=e.replace("{value}",n):Z(e)&&(n=e(t))),n}var dD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),r=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r);return{cx:no(n[0],e.getWidth()),cy:no(n[1],e.getHeight()),r:no(t.get("radius"),o/2)}}(t,n);this._renderMain(t,e,n,i,r),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,i,r){var o=this.group,a=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),h=u.get("roundCap")?qw:Uu,c=u.get("show"),d=u.getModel("lineStyle"),p=d.get("width"),f=[s,l];ps(f,!a);for(var g=(l=f[1])-(s=f[0]),v=s,m=[],y=0;c&&y=t&&(0===e?0:i[e-1][0])Math.PI/2&&(V+=Math.PI):"tangential"===z?V=-M-Math.PI/2:q(z)&&(V=z*Math.PI/180),0===V?c.add(new qs({style:uc(x,{text:O,x:N,y:E,verticalAlign:h<-.8?"top":h>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:R}),silent:!0})):c.add(new qs({style:uc(x,{text:O,x:N,y:E,verticalAlign:"middle",align:"center"},{inheritColor:R}),silent:!0,originX:N,originY:E,rotation:V}))}if(y.get("show")&&L!==_){P=(P=y.get("distance"))?P+l:l;for(var B=0;B<=b;B++){u=Math.cos(M),h=Math.sin(M);var F=new th({shape:{x1:u*(f-P)+d,y1:h*(f-P)+p,x2:u*(f-S-P)+d,y2:h*(f-S-P)+p},silent:!0,style:A});"auto"===A.stroke&&F.setStyle({stroke:i((L+B/b)/_)}),c.add(F),M+=T}M-=T}else M+=I}},e.prototype._renderPointer=function(t,e,n,i,r,o,a,s,l){var u=this.group,h=this._data,c=this._progressEls,d=[],p=t.get(["pointer","show"]),f=t.getModel("progress"),g=f.get("show"),v=t.getData(),m=v.mapDimension("value"),y=+t.get("min"),x=+t.get("max"),_=[y,x],b=[o,a];function w(e,n){var i,o=v.getItemModel(e).getModel("pointer"),a=no(o.get("width"),r.r),s=no(o.get("length"),r.r),l=t.get(["pointer","icon"]),u=o.get("offsetCenter"),h=no(u[0],r.r),c=no(u[1],r.r),d=o.get("keepAspect");return(i=l?jv(l,h-a/2,c-s,a,s,null,d):new hD({shape:{angle:-Math.PI/2,width:a,r:s,x:h,y:c}})).rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function S(t,e){var n=f.get("roundCap")?qw:Uu,i=f.get("overlap"),a=i?f.get("width"):l/v.count(),u=i?r.r-a:r.r-(t+1)*a,h=i?r.r:r.r-t*a,c=new n({shape:{startAngle:o,endAngle:e,cx:r.cx,cy:r.cy,clockwise:s,r0:u,r:h}});return i&&(c.z2=eo(v.get(m,t),[y,x],[100,0],!0)),c}(g||p)&&(v.diff(h).add((function(e){var n=v.get(m,e);if(p){var i=w(e,o);wh(i,{rotation:-((isNaN(+n)?b[0]:eo(n,_,b,!0))+Math.PI/2)},t),u.add(i),v.setItemGraphicEl(e,i)}if(g){var r=S(e,o),a=f.get("clip");wh(r,{shape:{endAngle:eo(n,_,b,a)}},t),u.add(r),ul(t.seriesIndex,v.dataType,e,r),d[e]=r}})).update((function(e,n){var i=v.get(m,e);if(p){var r=h.getItemGraphicEl(n),a=r?r.rotation:o,s=w(e,a);s.rotation=a,bh(s,{rotation:-((isNaN(+i)?b[0]:eo(i,_,b,!0))+Math.PI/2)},t),u.add(s),v.setItemGraphicEl(e,s)}if(g){var l=c[n],y=S(e,l?l.shape.endAngle:o),x=f.get("clip");bh(y,{shape:{endAngle:eo(i,_,b,x)}},t),u.add(y),ul(t.seriesIndex,v.dataType,e,y),d[e]=y}})).execute(),v.each((function(t){var e=v.getItemModel(t),n=e.getModel("emphasis"),r=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(p){var s=v.getItemGraphicEl(t),l=v.getItemVisual(t,"style"),u=l.fill;if(s instanceof Bs){var h=s.style;s.useStyle(L({image:h.image,x:h.x,y:h.y,width:h.width,height:h.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",i(eo(v.get(m,t),_,[0,1],!0))),s.z2EmphasisLift=0,eu(s,e),$l(s,r,o,a)}if(g){var c=d[t];c.useStyle(v.getItemVisual(t,"style")),c.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),c.z2EmphasisLift=0,eu(c,e),$l(c,r,o,a)}})),this._progressEls=d)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var i=n.get("size"),r=n.get("icon"),o=n.get("offsetCenter"),a=n.get("keepAspect"),s=jv(r,e.cx-i/2+no(o[0],e.r),e.cy-i/2+no(o[1],e.r),i,i,null,a);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},e.prototype._renderTitleAndDetail=function(t,e,n,i,r){var o=this,a=t.getData(),s=a.mapDimension("value"),l=+t.get("min"),u=+t.get("max"),h=new Wr,c=[],d=[],p=t.isAnimationEnabled(),f=t.get(["pointer","showAbove"]);a.diff(this._data).add((function(t){c[t]=new qs({silent:!0}),d[t]=new qs({silent:!0})})).update((function(t,e){c[t]=o._titleEls[e],d[t]=o._detailEls[e]})).execute(),a.each((function(e){var n=a.getItemModel(e),o=a.get(s,e),g=new Wr,v=i(eo(o,[l,u],[0,1],!0)),m=n.getModel("title");if(m.get("show")){var y=m.get("offsetCenter"),x=r.cx+no(y[0],r.r),_=r.cy+no(y[1],r.r);(A=c[e]).attr({z2:f?0:2,style:uc(m,{x:x,y:_,text:a.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:v})}),g.add(A)}var b=n.getModel("detail");if(b.get("show")){var w=b.get("offsetCenter"),S=r.cx+no(w[0],r.r),M=r.cy+no(w[1],r.r),I=no(b.get("width"),r.r),T=no(b.get("height"),r.r),C=t.get(["progress","show"])?a.getItemVisual(e,"style").fill:v,A=d[e],D=b.get("formatter");A.attr({z2:f?0:2,style:uc(b,{x:S,y:M,text:cD(o,D),width:isNaN(I)?null:I,height:isNaN(T)?null:T,align:"center",verticalAlign:"middle"},{inheritColor:C})}),mc(A,{normal:b},o,(function(t){return cD(t,D)})),p&&yc(A,e,a,t,{getFormattedLabel:function(t,e,n,i,r,a){return cD(a?a.interpolatedValue:o,D)}}),g.add(A)}h.add(g)})),this.group.add(h),this._titleEls=c,this._detailEls=d},e.type="gauge",e}(Eg),pD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return i(e,t),e.prototype.getInitialData=function(t,e){return PS(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(Mg),fD=["itemStyle","opacity"],gD=function(t){function e(e,n){var i=t.call(this)||this,r=i,o=new $u,a=new qs;return r.setTextContent(a),i.setTextGuideLine(o),i.updateData(e,n,!0),i}return i(e,t),e.prototype.updateData=function(t,e,n){var i=this,r=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=o.getModel("emphasis"),l=o.get(fD);l=null==l?1:l,n||Ch(i),i.useStyle(t.getItemVisual(e,"style")),i.style.lineJoin="round",n?(i.setShape({points:a.points}),i.style.opacity=0,wh(i,{style:{opacity:l}},r,e)):bh(i,{style:{opacity:l},shape:{points:a.points}},r,e),eu(i,o),this._updateLabel(t,e),$l(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t,e){var n=this,i=this.getTextGuideLine(),r=n.getTextContent(),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"style"),u=l.fill;sc(r,lc(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:l.opacity,defaultText:t.getName(e)},{normal:{align:s.textAlign,verticalAlign:s.verticalAlign}}),n.setTextConfig({local:!0,inside:!!s.inside,insideStroke:u,outsideFill:u});var h=s.linePoints;i.setShape({points:h}),n.textGuideLineConfig={anchor:h?new Le(h[0][0],h[0][1]):null},bh(r,{style:{x:s.x,y:s.y}},o,e),r.attr({rotation:s.rotation,originX:s.x,originY:s.y,z2:10}),Wb(n,Ub(a),{stroke:u})},e}(qu),vD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return i(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._data,o=this.group;i.diff(r).add((function(t){var e=new gD(i,t);i.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),o.add(n),i.setItemGraphicEl(t,n)})).remove((function(e){Th(r.getItemGraphicEl(e),t,e)})).execute(),this._data=i},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(Eg),mD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new OS(W(this.getData,this),W(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return PS(this,{coordDimensions:["value"],encodeDefaulter:U(rp,this)})},e.prototype._defaultLabelLine=function(t){ko(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=n.mapDimension("value"),o=n.getSum(r);return i.percent=o?+(n.get(r,e)/o*100).toFixed(2):0,i.$vars.push("percent"),i},e.type="series.funnel",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(Mg);function yD(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),o=function(t,e){return Nd(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),a=t.get("orient"),s=o.width,l=o.height,u=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),r=[],o="ascending"===e,a=0,s=t.count();a5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&kD(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i?null:{duration:0}})}}};function kD(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var PD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&A(e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){z(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[];z(F(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this),(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(Hd),OD=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.axisIndex=o,a}return i(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(xb);function RD(t,e,n,i,r,o){t=t||0;var a=n[1]-n[0];if(null!=r&&(r=ED(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=ED(s,[0,a]),r=o=ED(s,[r,o]),i=0}e[0]=ED(e[0],n),e[1]=ED(e[1],n);var l=ND(e,i);e[i]+=t;var u,h=r||0,c=n.slice();return l.sign<0?c[0]+=h:c[1]-=h,e[i]=ED(e[i],c),u=ND(e,i),null!=r&&(u.sign!==l.sign||u.spano&&(e[1-i]=e[i]+u.sign*o),e}function ND(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function ED(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var zD=z,VD=Math.min,BD=Math.max,FD=Math.floor,GD=Math.ceil,HD=io,WD=Math.PI,UD=function(){function t(t,e,n){this.type="parallel",this._axesMap=mt(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=t.dimensions,r=t.parallelAxisIndex;zD(i,(function(t,n){var i=r[n],o=e.getComponent("parallelAxis",i),a=this._axesMap.set(t,new OD(t,A_(o),[0,0],o.get("type"),i)),s="category"===a.type;a.onBand=s&&o.get("boundaryGap"),a.inverse=o.get("inverse"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this}),this)},t.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,r=e.pixelDimIndex,o=t[1-r],a=t[r];return o>=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var i=n.getData();zD(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),C_(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=Nd(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],u=this.dimensions.length,h=YD(e.get("axisExpandWidth"),l),c=YD(e.get("axisExpandCount")||0,[0,u]),d=e.get("axisExpandable")&&u>3&&u>c&&c>1&&h>0&&s>0,p=e.get("axisExpandWindow");p?(t=YD(p[1]-p[0],l),p[1]=p[0]+t):(t=YD(h*(c-1),l),(p=[h*(e.get("axisExpandCenter")||FD(u/2))-t/2])[1]=p[0]+t);var f=(s-t)/(u-c);f<3&&(f=0);var g=[FD(HD(p[0]/h,1))+1,GD(HD(p[1]/h,1))-1],v=f/h*p[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:d,axisExpandWidth:h,axisCollapseWidth:f,axisExpandWindow:p,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:v}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each((function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),zD(n,(function(e,n){var o=(i.axisExpandable?XD:ZD)(n,i),a={horizontal:{x:o.position,y:i.axisLength},vertical:{x:0,y:o.position}},s={horizontal:WD/2,vertical:0},l=[a[r].x+t.x,a[r].y+t.y],u=s[r],h=[1,0,0,1,0,0];Ie(h,h,u),Me(h,h,l),this._axesLayout[e]={position:l,rotation:u,transform:h,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,i){null==n&&(n=0),null==i&&(i=t.count());var r=this._axesMap,o=this.dimensions,a=[],s=[];z(o,(function(e){a.push(t.mapDimension(e)),s.push(r.get(e).model)}));for(var l=this.hasAxisBrushed(),u=n;ur*(1-h[0])?(l="jump",a=s-r*(1-h[2])):(a=s-r*h[1])>=0&&(a=s-r*(1-h[1]))<=0&&(a=0),(a*=e.axisExpandWidth/u)?RD(a,i,o,"all"):l="none";else{var d=i[1]-i[0];(i=[BD(0,o[1]*s/d-d/2)])[1]=VD(o[1],i[0]+d),i[0]=i[1]-d}return{axisExpandWindow:i,behavior:l}},t}();function YD(t,e){return VD(BD(t,e[0]),e[1])}function ZD(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function XD(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,h=!1;return t=0;n--)ro(e[n])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;i6}(t)||o){if(a&&!o){"single"===s.brushMode&&fL(t);var l=C(s);l.brushType=kL(l.brushType,a),l.panelId=a===KD?null:a.panelId,o=t._creatingCover=aL(t,l),t._covers.push(o)}if(o){var u=RL[kL(t._brushType,a)];o.__brushOption.range=u.getCreatingRange(CL(t,o,t._track)),i&&(sL(t,o),u.updateCommon(t,o)),lL(t,o),r={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&dL(t,e,n)&&fL(t)&&(r={isEnd:i,removeOnClick:!0});return r}function kL(t,e){return"auto"===t?e.defaultBrushType:t}var PL={mousedown:function(t){if(this._dragging)OL(this,t);else if(!t.target||!t.target.draggable){AL(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=dL(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,o=dL(t,e,n);if(!t._dragging)for(var a=0;a=0&&(o[r[a].depth]=new kc(r[a],this,e));var s=aD(i,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getData().getItemLayout(e);if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t})),e.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getGraph().getEdgeByIndex(e).node1.getLayout();if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t}))}));return s.data},e.prototype.setNodePosition=function(t,e){var n=(this.option.data||this.option.nodes)[t];n.localX=e[0],n.localY=e[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,e,n){function i(t){return isNaN(t)||null==t}if("edge"===n){var r=this.getDataParams(t,n),o=r.data,a=r.value;return lg("nameValue",{name:o.source+" -- "+o.target,value:a,noValue:i(a)})}var s=this.getGraph().getNodeByIndex(t).getLayout().value,l=this.getDataParams(t,n).data.name;return lg("nameValue",{name:null!=l?l+"":null,value:s,noValue:i(s)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var i=t.prototype.getDataParams.call(this,e,n);if(null==i.value&&"node"===n){var r=this.getGraph().getNodeByIndex(e).getLayout().value;i.value=r}return i},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(Mg);function KL(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),r=function(t,e){return Nd(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=r;var o=r.width,a=r.height,s=t.getGraph(),l=s.nodes,u=s.edges;!function(t){z(t,(function(t){var e=ak(t.outEdges,ok),n=ak(t.inEdges,ok),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)}))}(l),function(t,e,n,i,r,o,a,s,l){(function(t,e,n,i,r,o,a){for(var s=[],l=[],u=[],h=[],c=0,d=0;d=0;m&&v.depth>p&&(p=v.depth),g.setLayout({depth:m?v.depth:c},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var y=0;yc-1?p:c-1;a&&"left"!==a&&function(t,e,n,i){if("right"===e){for(var r=[],o=t,a=0;o.length;){for(var s=0;s0;o--)QL(s,l*=.99,a),JL(s,r,n,i,a),sk(s,l,a),JL(s,r,n,i,a)}(t,e,o,r,i,a,s),function(t,e){var n="vertical"===e?"x":"y";z(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]}))})),z(t,(function(t){var e=0,n=0;z(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),z(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}(t,s)}(l,u,n,i,o,a,0!==F(l,(function(t){return 0===t.getLayout().value})).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))}))}function $L(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function JL(t,e,n,i,r){var o="vertical"===r?"x":"y";z(t,(function(t){var a,s,l;t.sort((function(t,e){return t.getLayout()[o]-e.getLayout()[o]}));for(var u=0,h=t.length,c="vertical"===r?"dx":"dy",d=0;d0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[c]+e;if((l=u-e-("vertical"===r?i:n))>0)for(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a,d=h-2;d>=0;--d)(l=(s=t[d]).getLayout()[o]+s.getLayout()[c]+e-u)>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}))}function QL(t,e,n){z(t.slice().reverse(),(function(t){z(t,(function(t){if(t.outEdges.length){var i=ak(t.outEdges,tk,n)/ak(t.outEdges,ok);if(isNaN(i)){var r=t.outEdges.length;i=r?ak(t.outEdges,ek,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-rk(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-rk(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function tk(t,e){return rk(t.node2,e)*t.getValue()}function ek(t,e){return rk(t.node2,e)}function nk(t,e){return rk(t.node1,e)*t.getValue()}function ik(t,e){return rk(t.node1,e)}function rk(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function ok(t){return t.getValue()}function ak(t,e,n){for(var i=0,r=t.length,o=-1;++oo&&(o=e)})),z(n,(function(e){var n=new CC({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),i=e.getModel().get(["itemStyle","color"]);null!=i?(e.setVisual("color",i),e.setVisual("style",{fill:i})):(e.setVisual("color",n),e.setVisual("style",{fill:n}))}))}i.length&&z(i,(function(t){var e=t.getModel().get("lineStyle");t.setVisual("style",e)}))}))}var uk=function(){function t(){}return t.prototype._hasEncodeRule=function(t){var e=this.getEncode();return e&&null!=e.get(t)},t.prototype.getInitialData=function(t,e){var n,i,r=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=r.get("type"),s=o.get("type");"category"===a?(t.layout="horizontal",n=r.getOrdinalMeta(),i=!this._hasEncodeRule("x")):"category"===s?(t.layout="vertical",n=o.getOrdinalMeta(),i=!this._hasEncodeRule("y")):t.layout=t.layout||"horizontal";var l=["x","y"],u="horizontal"===t.layout?0:1,h=this._baseAxisDim=l[u],c=l[1-u],d=[r,o],p=d[u].get("type"),f=d[1-u].get("type"),g=t.data;if(g&&i){var v=[];z(g,(function(t,e){var n;Y(t)?(n=t.slice(),t.unshift(e)):Y(t.value)?((n=L({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,v.push(n)})),t.data=v}var m=this.defaultValueDimensions,y=[{name:h,type:Ky(p),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:c,type:Ky(f),dimsDef:m.slice()}];return PS(this,{coordDimensions:y,dimensionsCount:m.length+1,encodeDefaulter:U(ip,y,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),hk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return i(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(Mg);N(hk,uk,!0);var ck=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.get("layout")?1:0;i.diff(o).add((function(t){if(i.hasValue(t)){var e=fk(i.getItemLayout(t),i,t,a,!0);i.setItemGraphicEl(t,e),r.add(e)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?(Ch(n),gk(s,n,i,t)):n=fk(s,i,t,a),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=i},e.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},e.type="boxplot",e}(Eg),dk=function(){},pk=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return i(e,t),e.prototype.getDefaultShape=function(){return new dk},e.prototype.buildPath=function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();ig){var _=[m,x];i.push(_)}}}return{boxData:n,outliers:i}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}},_k=["itemStyle","borderColor"],bk=["itemStyle","borderColor0"],wk=["itemStyle","borderColorDoji"],Sk=["itemStyle","color"],Mk=["itemStyle","color0"];function Ik(t,e){return e.get(t>0?Sk:Mk)}function Tk(t,e){return e.get(0===t?wk:t>0?_k:bk)}var Ck={seriesType:"candlestick",plan:Og(),performRawSeries:!0,reset:function(t,e){if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var n;null!=(n=t.next());){var i=e.getItemModel(n),r=e.getItemLayout(n).sign,o=i.getItemStyle();o.fill=Ik(r,i),o.stroke=Tk(r,i)||o.fill,L(e.ensureUniqueItemVisual(n,"style"),o)}}}}},Ak=["color","borderColor"],Dk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){nc(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,i=this.group,r=e.getLayout("isSimpleBox"),o=t.get("clip",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea();this._data||i.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var a=e.getItemLayout(n);if(o&&Ok(s,a))return;var l=Pk(a,0,!0);wh(l,{shape:{points:a.ends}},t,n),Rk(l,e,n,r),i.add(l),e.setItemGraphicEl(n,l)}})).update((function(a,l){var u=n.getItemGraphicEl(l);if(e.hasValue(a)){var h=e.getItemLayout(a);o&&Ok(s,h)?i.remove(u):(u?(bh(u,{shape:{points:h.ends}},t,a),Ch(u)):u=Pk(h),Rk(u,e,a,r),i.add(u),e.setItemGraphicEl(a,u))}else i.remove(u)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),Vk(t,this.group);var e=t.get("clip",!0)?Aw(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){for(var n,i=e.getData(),r=i.getLayout("isSimpleBox");null!=(n=t.next());){var o=Pk(i.getItemLayout(n));Rk(o,i,n,r),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},e.prototype._incrementalRenderLarge=function(t,e){Vk(e,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(Eg),Lk=function(){},kk=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return i(e,t),e.prototype.getDefaultShape=function(){return new Lk},e.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(Rs);function Pk(t,e,n){var i=t.ends;return new kk({shape:{points:n?Nk(i,t):i},z2:100})}function Ok(t,e){for(var n=!0,i=0;ip?x[1]:y[1],ends:w,brushRect:T(f,g,c)})}function M(t,n){var i=[];return i[0]=n,i[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function I(t,e,n){var r=e.slice(),o=e.slice();r[0]=Hh(r[0]+i/2,1,!1),o[0]=Hh(o[0]-i/2,1,!0),n?t.push(r,o):t.push(o,r)}function T(t,e,n){var r=M(t,n),o=M(e,n);return r[0]-=i/2,o[0]-=i/2,{x:r[0],y:r[1],width:i,height:o[1]-r[1]}}function C(t){return t[0]=Hh(t[0],1),t}}}}};function Wk(t,e,n,i,r,o){return n>i?-1:n0?t.get(r,e-1)<=i?1:-1:1}function Uk(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}var Yk=function(t){function e(e,n){var i=t.call(this)||this,r=new hw(e,n),o=new Wr;return i.add(r),i.add(o),i.updateData(e,n),i}return i(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=t.rippleNumber,r=this.childAt(1),o=0;o0&&(o=this._getLineLength(i)/l*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){i.stopAnimation();var h=void 0;h=Z(u)?u(n):u,i.__t>0&&(h=-o*i.__t),this._animateSymbol(i,o,h,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},e.prototype._animateSymbol=function(t,e,n,i,r){if(e>0){t.__t=0;var o=this,a=t.animate("",i).when(r?2*e:e,{__t:r?2:1}).delay(n).during((function(){o._updateSymbolPosition(t)}));i||a.done((function(){o.remove(t)})),a.start()}},e.prototype._getLineLength=function(t){return Bt(t.__p1,t.__cp1)+Bt(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},e.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t<1?t.__t:2-t.__t,o=[t.x,t.y],a=o.slice(),s=Dn,l=Ln;o[0]=s(e[0],i[0],n[0],r),o[1]=s(e[1],i[1],n[1],r);var u=t.__t<1?l(e[0],i[0],n[0],r):l(n[0],i[0],e[0],1-r),h=t.__t<1?l(e[1],i[1],n[1],r):l(n[1],i[1],e[1],1-r);t.rotation=-Math.atan2(h,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT=0&&!(i[o]<=e);o--);o=Math.min(o,r-2)}else{for(o=a;oe);o++);o=Math.min(o-1,r-2)}var s=(e-i[o])/(i[o+1]-i[o]),l=n[o],u=n[o+1];t.x=l[0]*(1-s)+s*u[0],t.y=l[1]*(1-s)+s*u[1];var h=t.__t<1?u[0]-l[0]:l[0]-u[0],c=t.__t<1?u[1]-l[1]:l[1]-u[1];t.rotation=-Math.atan2(c,h)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},e}(jk),$k=function(){this.polyline=!1,this.curveness=0,this.segs=[]},Jk=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return i(e,t),e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new $k},e.prototype.buildPath=function(t,e){var n,i=e.segs,r=e.curveness;if(e.polyline)for(n=this._off;n0){t.moveTo(i[n++],i[n++]);for(var a=1;a0){var c=(s+u)/2-(l-h)*r,d=(l+h)/2-(u-s)*r;t.quadraticCurveTo(c,d,u,h)}else t.lineTo(u,h)}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var n=this.shape,i=n.segs,r=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s0)for(var u=i[s++],h=i[s++],c=1;c0){if(ms(u,h,(u+d)/2-(h-p)*r,(h+p)/2-(d-u)*r,d,p,o,t,e))return a}else if(gs(u,h,d,p,o,t,e))return a;a++}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape.segs,n=1/0,i=1/0,r=-1/0,o=-1/0,a=0;a0&&(o.dataIndex=n+t.__startIndex)}))},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),tP={seriesType:"lines",plan:Og(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(r,o){var a=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var u=0,h=r.start;h0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var u=t.get("clip",!0)&&Aw(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=tP.reset(t,e,n);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,i=this._showEffect(e),r=!!e.get("polyline"),o=e.pipelineContext.large;return n&&i===this._hasEffet&&r===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new Qk:new GA(r?i?Kk:qk:i?jk:FA),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=o),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.type="lines",e}(Eg),nP="undefined"==typeof Uint32Array?Array:Uint32Array,iP="undefined"==typeof Float64Array?Array:Float64Array;function rP(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=V(e,(function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),D([e,t[0],t[1]])})))}var oP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return i(e,t),e.prototype.init=function(e){e.data=e.data||[],rP(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if(rP(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=yt(this._flatCoords,e.flatCoords),this._flatCoordsOffset=yt(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t);return e.option instanceof Array?e.option:e.getShallow("coords")},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(Mg);function aP(t){return t instanceof Array||(t=[t,t]),t}var sP={seriesType:"lines",reset:function(t){var e=aP(t.get("symbol")),n=aP(t.get("symbolSize")),i=t.getData();return i.setVisual("fromSymbol",e&&e[0]),i.setVisual("toSymbol",e&&e[1]),i.setVisual("fromSymbolSize",n&&n[0]),i.setVisual("toSymbolSize",n&&n[1]),{dataEach:i.hasItemOption?function(t,e){var n=t.getItemModel(e),i=aP(n.getShallow("symbol",!0)),r=aP(n.getShallow("symbolSize",!0));i[0]&&t.setItemVisual(e,"fromSymbol",i[0]),i[1]&&t.setItemVisual(e,"toSymbol",i[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}:null}}},lP=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=c.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,i,r,o){var a=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,h=this.canvas,c=h.getContext("2d"),d=t.length;h.width=e,h.height=n;for(var p=0;p0){var I=o(m)?s:l;m>0&&(m=m*S+w),x[_++]=I[M],x[_++]=I[M+1],x[_++]=I[M+2],x[_++]=I[M+3]*m*256}else _+=4}return c.putImageData(y,0,0),h},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=c.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,r),i[o++]=r[0],i[o++]=r[1],i[o++]=r[2],i[o++]=r[3];return i},t}();function uP(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var hP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var i;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):uP(r)&&this._renderOnGeo(r,t,i,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,i){var r=e.coordinateSystem;r&&(uP(r)?this.render(e,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){nc(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,i,r){var o,a,s,l,u=t.coordinateSystem,h=Dw(u,"cartesian2d");if(h){var c=u.getAxis("x"),d=u.getAxis("y");o=c.getBandWidth()+.5,a=d.getBandWidth()+.5,s=c.scale.getExtent(),l=d.scale.getExtent()}for(var p=this.group,f=t.getData(),g=t.getModel(["emphasis","itemStyle"]).getItemStyle(),v=t.getModel(["blur","itemStyle"]).getItemStyle(),m=t.getModel(["select","itemStyle"]).getItemStyle(),y=t.get(["itemStyle","borderRadius"]),x=lc(t),_=t.getModel("emphasis"),b=_.get("focus"),w=_.get("blurScope"),S=_.get("disabled"),M=h?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],I=n;Is[1]||Dl[1])continue;var L=u.dataToPoint([A,D]);T=new Zs({shape:{x:L[0]-o/2,y:L[1]-a/2,width:o,height:a},style:C})}else{if(isNaN(f.get(M[1],I)))continue;T=new Zs({z2:1,shape:u.dataToRect([f.get(M[0],I)]).contentShape,style:C})}if(f.hasItemOption){var k=f.getItemModel(I),P=k.getModel("emphasis");g=P.getModel("itemStyle").getItemStyle(),v=k.getModel(["blur","itemStyle"]).getItemStyle(),m=k.getModel(["select","itemStyle"]).getItemStyle(),y=k.get(["itemStyle","borderRadius"]),b=P.get("focus"),w=P.get("blurScope"),S=P.get("disabled"),x=lc(k)}T.shape.r=y;var O=t.getRawValue(I),R="-";O&&null!=O[2]&&(R=O[2]+""),sc(T,x,{labelFetcher:t,labelDataIndex:I,defaultOpacity:C.opacity,defaultText:R}),T.ensureState("emphasis").style=g,T.ensureState("blur").style=v,T.ensureState("select").style=m,$l(T,b,w,S),T.incremental=r,r&&(T.states.emphasis.hoverLayer=!0),p.add(T),f.setItemGraphicEl(I,T),this._progressiveEls&&this._progressiveEls.push(T)}},e.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new lP;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),u=t.getRoamTransform();l.applyTransform(u);var h=Math.max(l.x,0),c=Math.max(l.y,0),d=Math.min(l.width+l.x,i.getWidth()),p=Math.min(l.height+l.y,i.getHeight()),f=d-h,g=p-c,v=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],m=a.mapArray(v,(function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=h,r[1]-=c,r.push(i),r})),y=n.getExtent(),x="visualMap.continuous"===n.type?function(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}(y,n.option.range):function(t,e,n){var i=t[1]-t[0],r=(e=V(e,(function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}}))).length,o=0;return function(t){var i;for(i=o;i=0;i--){var a;if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}}return i>=0&&i=0?1:-1:o>0?1:-1}(n,o,r,i,c),function(t,e,n,i,r,o,a,s,l,u){var h,c=l.valueDim,d=l.categoryDim,p=Math.abs(n[d.wh]),f=t.getItemVisual(e,"symbolSize");(h=Y(f)?f.slice():null==f?["100%","100%"]:[f,f])[d.index]=no(h[d.index],p),h[c.index]=no(h[c.index],i?p:Math.abs(o)),u.symbolSize=h;var g=u.symbolScale=[h[0]/s,h[1]/s];g[c.index]*=(l.isHorizontal?-1:1)*a}(t,e,r,o,0,c.boundingLength,c.pxSign,u,i,c),function(t,e,n,i,r){var o=t.get(dP)||0;o&&(fP.attr({scaleX:e[0],scaleY:e[1],rotation:n}),fP.updateTransform(),o/=fP.getLineScale(),o*=e[i.valueDim.index]),r.valueLineWidth=o||0}(n,c.symbolScale,l,i,c);var d=c.symbolSize,p=Kv(n.get("symbolOffset"),d);return function(t,e,n,i,r,o,a,s,l,u,h,c){var d=h.categoryDim,p=h.valueDim,f=c.pxSign,g=Math.max(e[p.index]+s,0),v=g;if(i){var m=Math.abs(l),y=rt(t.get("symbolMargin"),"15%")+"",x=!1;y.lastIndexOf("!")===y.length-1&&(x=!0,y=y.slice(0,y.length-1));var _=no(y,e[p.index]),b=Math.max(g+2*_,0),w=x?0:2*_,S=wo(i),M=S?i:PP((m+w)/b);b=g+2*(_=(m-M*g)/2/(x?M:Math.max(M-1,1))),w=x?0:2*_,S||"fixed"===i||(M=u?PP((Math.abs(u)+w)/b):0),v=M*b-w,c.repeatTimes=M,c.symbolMargin=_}var I=f*(v/2),T=c.pathPosition=[];T[d.index]=n[d.wh]/2,T[p.index]="start"===a?I:"end"===a?l-I:l/2,o&&(T[0]+=o[0],T[1]+=o[1]);var C=c.bundlePosition=[];C[d.index]=n[d.xy],C[p.index]=n[p.xy];var A=c.barRectShape=L({},n);A[p.wh]=f*Math.max(Math.abs(n[p.wh]),Math.abs(T[p.index]+I)),A[d.wh]=n[d.wh];var D=c.clipShape={};D[d.xy]=-n[d.xy],D[d.wh]=h.ecSize[d.wh],D[p.xy]=0,D[p.wh]=n[p.wh]}(n,d,r,o,0,p,s,c.valueLineWidth,c.boundingLength,c.repeatCutLength,i,c),c}function mP(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function yP(t){var e=t.symbolPatternSize,n=jv(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function xP(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,h=0,c=o[e.valueDim.index]+a+2*n.symbolMargin;for(DP(t,(function(t){t.__pictorialAnimationIndex=h,t.__pictorialRepeatTimes=u,h0:i<0)&&(r=u-1-t),e[l.index]=c*(r-u/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function _P(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?LP(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,i):(o=t.__pictorialMainPath=yP(n),r.add(o),LP(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,i))}function bP(t,e,n){var i=L({},e.barRectShape),r=t.__pictorialBarRect;r?LP(r,null,{shape:i},e,n):((r=t.__pictorialBarRect=new Zs({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(r))}function wP(t,e,n,i){if(n.symbolClip){var r=t.__pictorialClipPath,o=L({},n.clipShape),a=e.valueDim,s=n.animationModel,l=n.dataIndex;if(r)bh(r,{shape:o},s,l);else{o[a.wh]=0,r=new Zs({shape:o}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r;var u={};u[a.wh]=n.clipShape[a.wh],ic[i?"updateProps":"initProps"](r,{shape:u},s,l)}}}function SP(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=MP,n.isAnimationEnabled=IP,n}function MP(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function IP(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function TP(t,e,n,i){var r=new Wr,o=new Wr;return r.add(o),r.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?xP(r,e,n):_P(r,0,n),bP(r,n,i),wP(r,e,n,i),r.__pictorialShapeStr=AP(t,n),r.__pictorialSymbolMeta=n,r}function CP(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var o=[];DP(i,(function(t){o.push(t)})),i.__pictorialMainPath&&o.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),z(o,(function(t){Mh(t,{scaleX:0,scaleY:0},n,e,(function(){i.parent&&i.parent.remove(i)}))})),t.setItemGraphicEl(e,null)}function AP(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function DP(t,e,n){z(t.__pictorialBundle.children(),(function(i){i!==t.__pictorialBarRect&&e.call(n,i)}))}function LP(t,e,n,i,r,o){e&&t.attr(e),i.symbolClip&&!r?n&&t.attr(n):n&&ic[r?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,o)}function kP(t,e,n){var i=n.dataIndex,r=n.itemModel,o=r.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),l=r.getModel(["select","itemStyle"]).getItemStyle(),u=r.getShallow("cursor"),h=o.get("focus"),c=o.get("blurScope"),d=o.get("scale");DP(t,(function(t){if(t instanceof Bs){var e=t.style;t.useStyle(L({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var i=t.ensureState("emphasis");i.style=a,d&&(i.scaleX=1.1*t.scaleX,i.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,u&&(t.cursor=u),t.z2=n.z2}));var p=e.valueDim.posDesc[+(n.boundingLength>0)],f=t.__pictorialBarRect;f.ignoreClip=!0,sc(f,lc(r),{labelFetcher:e.seriesModel,labelDataIndex:i,defaultText:lw(e.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:p}),$l(t,h,c,o.get("disabled"))}function PP(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var OP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return i(e,t),e.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=Rc(Zw.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(Zw),RP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return i(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this,o=this.group,a=t.getLayerSeries(),s=i.getLayout("layoutInfo"),l=s.rect,u=s.boundaryGap;function h(t){return t.name}o.x=0,o.y=l.y+u[0];var c=new Xy(this._layersSeries||[],a,h,h),d=[];function p(e,n,s){var l=r._layers;if("remove"!==e){for(var u,h,c=[],p=[],f=a[n].indices,g=0;go&&(o=s),i.push(s)}for(var u=0;uo&&(o=c)}return{y0:r,max:o}}(l),h=u.y0,c=n/u.max,d=o.length,p=o[0].indices.length,f=0;fI&&!po(C-I)&&C0?(r.virtualPiece?r.virtualPiece.updateData(!1,i,t,e,n):(r.virtualPiece=new VP(i,t,e,n),l.add(r.virtualPiece)),o.piece.off("click"),r.virtualPiece.on("click",(function(t){r._rootToNode(o.parentNode)}))):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null)}(a,s),this._initEvents(),this._oldChildren=h},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",(function(e){var n=!1;t.seriesModel.getViewRoot().eachNode((function(i){if(!n&&i.piece&&i.piece===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var o=i.getModel(),a=o.get("link");a&&Dd(a,o.get("target",!0)||"_blank")}n=!0}}))}))},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:BP,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}},e.type="sunburst",e}(Eg),HP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return i(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};WP(n);var i=this._levelModels=V(t.levels||[],(function(t){return new kc(t,this,e)}),this),r=QT.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e),o=i[n.depth];return o&&(t.parentModel=o),t}))}));return r.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=iC(i,this),n},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){uC(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(Mg);function WP(t){var e=0;z(t.children,(function(t){WP(t);var n=t.value;Y(n)&&(n=n[0]),e+=n}));var n=t.value;Y(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),Y(t.value)?t.value[0]=n:t.value=n}var UP=Math.PI/180;function YP(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),i=t.get("radius");Y(i)||(i=[0,i]),Y(e)||(e=[e,e]);var r=n.getWidth(),o=n.getHeight(),a=Math.min(r,o),s=no(e[0],r),l=no(e[1],o),u=no(i[0],a/2),h=no(i[1],a/2),c=-t.get("startAngle")*UP,d=t.get("minAngle")*UP,p=t.getData().tree.root,f=t.getViewRoot(),g=f.depth,v=t.get("sort");null!=v&&ZP(f,v);var m=0;z(f.children,(function(t){!isNaN(t.getValue())&&m++}));var y=f.getValue(),x=Math.PI/(y||m)*2,_=f.depth>0,b=f.height-(_?-1:1),w=(h-u)/(b||1),S=t.get("clockwise"),M=t.get("stillShowZeroSum"),I=S?1:-1,T=function(e,n){if(e){var i=n;if(e!==p){var r=e.getValue(),o=0===y&&M?x:r*x;o1;)r=r.parentNode;var o=n.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&X(o)&&(o=ei(o,(t.depth-1)/(i-1)*.5)),o}(r,t,i.root.height)),L(n.ensureUniqueItemVisual(r.dataIndex,"style"),o)}))}))}var jP={color:"fill",borderColor:"stroke"},qP={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},KP=Ho(),$P=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return Ax(null,this)},e.prototype.getDataParams=function(e,n,i){var r=t.prototype.getDataParams.call(this,e,n);return i&&(r.info=KP(i).info),r},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(Mg);function JP(t,e){return e=e||[0,0],V(["x","y"],(function(n,i){var r=this.getAxis(n),o=e[i],a=t[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))}),this)}function QP(t,e){return e=e||[0,0],V([0,1],(function(n){var i=e[n],r=t[n]/2,o=[],a=[];return o[n]=i-r,a[n]=i+r,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function tO(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function eO(t,e){return e=e||[0,0],V(["Radius","Angle"],(function(n,i){var r=this["get"+n+"Axis"](),o=e[i],a=t[i]/2,s="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a));return"Angle"===n&&(s=s*Math.PI/180),s}),this)}function nO(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&"tspan"!==e&&("text"===e||bt(t,"text")))}function iO(t,e,n){var i,r,o,a=t;if("text"===e)o=a;else{o={},bt(a,"text")&&(o.text=a.text),bt(a,"rich")&&(o.rich=a.rich),bt(a,"textFill")&&(o.fill=a.textFill),bt(a,"textStroke")&&(o.stroke=a.textStroke),bt(a,"fontFamily")&&(o.fontFamily=a.fontFamily),bt(a,"fontSize")&&(o.fontSize=a.fontSize),bt(a,"fontStyle")&&(o.fontStyle=a.fontStyle),bt(a,"fontWeight")&&(o.fontWeight=a.fontWeight),r={type:"text",style:o,silent:!0},i={};var s=bt(a,"textPosition");n?i.position=s?a.textPosition:"inside":s&&(i.position=a.textPosition),bt(a,"textPosition")&&(i.position=a.textPosition),bt(a,"textOffset")&&(i.offset=a.textOffset),bt(a,"textRotation")&&(i.rotation=a.textRotation),bt(a,"textDistance")&&(i.distance=a.textDistance)}return rO(o,t),z(o.rich,(function(t){rO(t,t)})),{textConfig:i,textContent:r}}function rO(t,e){e&&(e.font=e.textFont||e.font,bt(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),bt(e,"textAlign")&&(t.align=e.textAlign),bt(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),bt(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),bt(e,"textWidth")&&(t.width=e.textWidth),bt(e,"textHeight")&&(t.height=e.textHeight),bt(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),bt(e,"textPadding")&&(t.padding=e.textPadding),bt(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),bt(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),bt(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),bt(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),bt(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),bt(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),bt(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function oO(t,e,n){var i=t;i.textPosition=i.textPosition||n.position||"inside",null!=n.offset&&(i.textOffset=n.offset),null!=n.rotation&&(i.textRotation=n.rotation),null!=n.distance&&(i.textDistance=n.distance);var r=i.textPosition.indexOf("inside")>=0,o=t.fill||"#000";aO(i,e);var a=null==i.textFill;return r?a&&(i.textFill=n.insideFill||"#fff",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=o),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(a&&(i.textFill=t.fill||n.outsideFill||"#000"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=e.text,i.rich=e.rich,z(e.rich,(function(t){aO(t,t)})),i}function aO(t,e){e&&(bt(e,"fill")&&(t.textFill=e.fill),bt(e,"stroke")&&(t.textStroke=e.fill),bt(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),bt(e,"font")&&(t.font=e.font),bt(e,"fontStyle")&&(t.fontStyle=e.fontStyle),bt(e,"fontWeight")&&(t.fontWeight=e.fontWeight),bt(e,"fontSize")&&(t.fontSize=e.fontSize),bt(e,"fontFamily")&&(t.fontFamily=e.fontFamily),bt(e,"align")&&(t.textAlign=e.align),bt(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),bt(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),bt(e,"width")&&(t.textWidth=e.width),bt(e,"height")&&(t.textHeight=e.height),bt(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),bt(e,"padding")&&(t.textPadding=e.padding),bt(e,"borderColor")&&(t.textBorderColor=e.borderColor),bt(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),bt(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),bt(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),bt(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),bt(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),bt(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),bt(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),bt(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),bt(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),bt(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var sO={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},lO=H(sO);B(wr,(function(t,e){return t[e]=1,t}),{}),wr.join(", ");var uO=["","style","shape","extra"],hO=Ho();function cO(t,e,n,i,r){var o=t+"Animation",a=xh(t,i,r)||{},s=hO(e).userDuring;return a.duration>0&&(a.during=s?W(yO,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),L(a,n[o]),a}function dO(t,e,n,i){var r=(i=i||{}).dataIndex,o=i.isInit,a=i.clearStyle,s=n.isAnimationEnabled(),l=hO(t),u=e.style;l.userDuring=e.during;var h={},c={};if(function(t,e,n){for(var i=0;i=0)){var c=t.getAnimationStyleProps(),d=c?c.style:null;if(d){!r&&(r=i.style={});var p=H(n);for(u=0;u0&&t.animateFrom(d,p)}else!function(t,e,n,i,r){if(r){var o=cO("update",t,e,i,n);o.duration>0&&t.animateFrom(r,o)}}(t,e,r||0,n,h);pO(t,e),u?t.dirty():t.markRedraw()}function pO(t,e){for(var n=hO(t).leaveToProps,i=0;i=0){!o&&(o=i[t]={});var d=H(a);for(h=0;hi[1]&&i.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=e.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:W(eO,t)}}},calendar:function(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}};function EO(t){return t instanceof Rs}function zO(t){return t instanceof Pa}var VO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._data,o=t.getData(),a=this.group,s=WO(t,o,e,n);r||a.removeAll(),o.diff(r).add((function(e){YO(n,null,e,s(e,i),t,a,o)})).remove((function(e){var n=r.getItemGraphicEl(e);n&&fO(n,KP(n).option,t)})).update((function(e,l){var u=r.getItemGraphicEl(l);YO(n,u,e,s(e,i),t,a,o)})).execute();var l=t.get("clip",!0)?Aw(t.coordinateSystem,!1,t):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,n,i,r){var o=e.getData(),a=WO(e,o,n,i),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var u=t.start;u=0?e.getStore().get(r,n):void 0}var o=e.get(i.name,n),a=i&&i.ordinalMeta;return a?a.categories[o]:o},styleEmphasis:function(n,i){null==i&&(i=s);var r=y(i,TO).getItemStyle(),o=x(i,TO),a=uc(o,null,null,!0,!0);a.text=o.getShallow("show")?at(t.getFormattedLabel(i,TO),t.getFormattedLabel(i,CO),lw(e,i)):null;var l=hc(o,null,!0);return b(n,r),r=oO(r,a,l),n&&_(r,n),r.legacy=!0,r},visual:function(t,n){if(null==n&&(n=s),bt(jP,t)){var i=e.getItemVisual(n,"style");return i?i[jP[t]]:null}if(bt(qP,t))return e.getItemVisual(n,t)},barLayout:function(t){if("cartesian2d"===o.type)return function(t){var e=[],n=t.axis,i="axis0";if("category"===n.type){for(var r=n.getBandWidth(),o=0;o=c;f--){var g=e.childAt(f);$O(e,g,r)}}}(t,c,n,i,r),a>=0?o.replaceAt(c,a):o.add(c),c}function XO(t,e,n){var i,r=KP(t),o=e.type,a=e.shape,s=e.style;return n.isUniversalTransitionEnabled()||null!=o&&o!==r.customGraphicType||"path"===o&&(i=a)&&(bt(i,"pathData")||bt(i,"d"))&&eR(a)!==r.customPathData||"image"===o&&bt(s,"image")&&s.image!==r.customImagePath}function jO(t,e,n){var i=e?qO(t,e):t,r=e?KO(t,i,TO):t.style,o=t.type,a=i?i.textConfig:null,s=t.textContent,l=s?e?qO(s,e):s:null;if(r&&(n.isLegacy||nO(r,o,!!a,!!l))){n.isLegacy=!0;var u=iO(r,o,!e);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var h=l;!h.type&&(h.type="text")}var c=e?n[e]:n.normal;c.cfg=a,c.conOpt=l}function qO(t,e){return e?t?t[e]:null:t}function KO(t,e,n){var i=e&&e.style;return null==i&&n===TO&&t&&(i=t.styleEmphasis),i}function $O(t,e,n){e&&fO(e,KP(t).option,n)}function JO(t,e){var n=t&&t.name;return null!=n?n:"e\0\0"+e}function QO(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;ZO(n.api,r,n.dataIndex,i,n.seriesModel,n.group)}function tR(t){var e=this.context,n=e.oldChildren[t];n&&fO(n,KP(n).option,e.seriesModel)}function eR(t){return t&&(t.pathData||t.d)}var nR=Ho(),iR=C,rR=W,oR=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==o){this._lastValue=r,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var l={};this.makeElOption(l,r,t,e,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var h=this._moveAnimation=this.determineAnimation(t,e);if(a){var c=U(aR,e,h);this.updatePointerEl(a,l,c),this.updateLabelEl(a,l,c,e)}else a=this._group=new Wr,this.createPointerEl(a,l,t,e),this.createLabelEl(a,l,t,e),n.getZr().add(a);hR(a,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=_M(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var o=nR(t).pointerEl=new ic[r.type](iR(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=nR(t).labelEl=new qs(iR(e.label));t.add(r),lR(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=nR(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=nR(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),lR(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=Kh(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){ge(t.event)},onmousedown:rR(this._onHandleDragMove,this,0,0),drift:rR(this._onHandleDragMove,this),ondragend:rR(this._onHandleDragEnd,this)}),i.add(r)),hR(r,n,!1),r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");Y(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,Zg(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){aR(this._axisPointerModel,!e&&this._moveAnimation,this._handle,uR(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(uR(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(uR(i)),nR(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),Xg(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function aR(t,e,n,i){sR(nR(n).lastProp,i)||(nR(n).lastProp=i,e?bh(n,i,t):(n.stopAnimation(),n.attr(i)))}function sR(t,e){if(K(t)&&K(e)){var n=!0;return z(e,(function(e,i){n=n&&sR(t[i],e)})),!!n}return t===e}function lR(t,e){t[e.get(["label","show"])?"show":"hide"]()}function uR(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function hR(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}function cR(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e}function dR(t,e,n,i,r){var o=pR(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),a=n.getModel("label"),s=bd(a.get("padding")||0),l=a.getFont(),u=Cr(o,l),h=r.position,c=u.width+s[1]+s[3],d=u.height+s[0]+s[2],p=r.align;"right"===p&&(h[0]-=c),"center"===p&&(h[0]-=c/2);var f=r.verticalAlign;"bottom"===f&&(h[1]-=d),"middle"===f&&(h[1]-=d/2),function(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(h,c,d,i);var g=a.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:h[0],y:h[1],style:uc(a,{text:o,font:l,fill:a.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function pR(t,e,n,i,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),a=r.formatter;if(a){var s={value:L_(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};z(i,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&s.seriesData.push(r)})),X(a)?o=a.replace("{value}",o):Z(a)&&(o=a(s))}return o}function fR(t,e,n){var i=[1,0,0,1,0,0];return Ie(i,i,n.rotation),Me(i,i,n.position),Uh([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function gR(t,e,n,i,r,o){var a=dM.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),dR(e,i,r,o,{position:fR(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function vR(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function mR(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function yR(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}var xR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=_R(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var h=cR(i),c=bR[s](o,u,l);c.style=h,t.graphicKey=c.type,t.pointer=c}gR(e,t,nM(a.model,n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=nM(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=fR(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=_R(o,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var h=(s[1]+s[0])/2,c=[h,h];return c[l]=u[l],{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:c,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(oR);function _R(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var bR={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:vR([e,n[0]],[e,n[1]],wR(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:mR([e-i/2,n[0]],[i,r],wR(t))}}};function wR(t){return"x"===t.dim?0:1}var SR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(Hd),MR=Ho(),IR=z;function TR(t,e,n){if(!o.node){var i=e.getZr();MR(i).records||(MR(i).records={}),function(t,e){function n(n,i){t.on(n,(function(n){var r=function(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}(e);IR(MR(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),function(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}(r.pendings,e)}))}MR(t).initialized||(MR(t).initialized=!0,n("click",U(AR,"click")),n("mousemove",U(AR,"mousemove")),n("globalout",CR))}(i,e),(MR(i).records[t]||(MR(i).records[t]={})).handler=n}}function CR(t,e,n){t.handler("leave",null,n)}function AR(t,e,n,i){e.handler(t,n,i)}function DR(t,e){if(!o.node){var n=e.getZr();(MR(n).records||{})[t]&&(MR(n).records[t]=null)}}var LR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";TR("axisPointer",n,(function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){DR("axisPointer",e)},e.prototype.dispose=function(t,e){DR("axisPointer",e)},e.type="axisPointer",e}(Pg);function kR(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var o=n.getData(),a=Go(o,t);if(null==a||a<0||Y(a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),h=l.getOtherAxis(u).dim,c=u.dim,d="x"===h||"radius"===h?1:0,p=o.mapDimension(c),f=[];f[d]=o.get(p,a),f[1-d]=o.get(o.getCalculationInfo("stackResultDimension"),a),i=l.dataToPoint(f)||[]}else i=l.dataToPoint(o.getValues(V(l.dimensions,(function(t){return o.mapDimension(t)})),a))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),i=[g.x+g.width/2,g.y+g.height/2]}return{point:i,el:s}}var PR=Ho();function OR(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchAction||W(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){VR(r)&&(r=kR({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=VR(r),u=o.axesInfo,h=s.axesInfo,c="leave"===i||VR(r),d={},p={},f={list:[],map:{}},g={showPointer:U(NR,p),showTooltip:U(ER,f)};z(s.coordSysMap,(function(t,e){var n=l||t.containPoint(r);z(s.coordSysAxesInfo[e],(function(t,e){var i=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(u,t);if(!c&&n&&(!u||o)){var a=o&&o.value;null!=a||l||(a=i.pointToData(r)),null!=a&&RR(t,a,g,!1,d)}}))}));var v={};return z(h,(function(t,e){var n=t.linkGroup;n&&!p[e]&&z(n.axesInfo,(function(e,i){var r=p[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,zR(e),zR(t)))),v[t.key]=o}}))})),z(v,(function(t,e){RR(h[e],t,g,!0,d)})),function(t,e,n){var i=n.axesInfo=[];z(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}(p,h,d),function(t,e,n,i){if(!VR(e)&&t.list.length){var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}else i({type:"hideTip"})}(f,r,t,a),function(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",o=PR(i)[r]||{},a=PR(i)[r]={};z(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&z(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var s=[],l=[];z(o,(function(t,e){!a[e]&&l.push(t)})),z(a,(function(t,e){!o[e]&&s.push(t)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(h,0,n),d}}function RR(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=function(t,e){var n=e.axis,i=n.dim,r=t,o=[],a=Number.MAX_VALUE,s=-1;return z(e.seriesModels,(function(e,l){var u,h,c=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var d=e.getAxisTooltipData(c,t,n);h=d.dataIndices,u=d.nestestValue}else{if(!(h=e.getData().indicesOfNearest(c[0],t,"category"===n.type?.5:null)).length)return;u=e.getData().get(c[0],h[0])}if(null!=u&&isFinite(u)){var p=t-u,f=Math.abs(p);f<=a&&((f=0&&s<0)&&(a=f,s=p,r=u,o.length=0),z(h,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}(e,t),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==r.seriesIndex&&L(r,s[0]),!i&&t.snap&&o.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,a,l)}else n.showPointer(t,e)}function NR(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function ER(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=wM(l),h=t.map[u];h||(h=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function zR(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function VR(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function BR(t){MM.registerAxisPointerClass("CartesianAxisPointer",xR),t.registerComponentModel(SR),t.registerComponentView(LR),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!Y(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=yM(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},OR)}function FR(t){W_(EM),W_(BR)}var GR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o).getExtent(),l=o.dataToCoord(e),u=i.get("type");if(u&&"none"!==u){var h=cR(i),c=HR[u](o,a,l,s);c.style=h,t.graphicKey=c.type,t.pointer=c}var d=function(t,e,n,i,r){var o=e.axis,a=o.dataToCoord(t),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,h,c=i.getRadiusAxis().getExtent();if("radius"===o.dim){var d=[1,0,0,1,0,0];Ie(d,d,s),Me(d,d,[i.cx,i.cy]),l=Uh([a,-r],d);var p=e.getModel("axisLabel").get("rotate")||0,f=dM.innerTextLayout(s,p*Math.PI/180,-1);u=f.textAlign,h=f.textVerticalAlign}else{var g=c[1];l=i.coordToPoint([g+r,a]);var v=i.cx,m=i.cy;u=Math.abs(l[0]-v)/g<.3?"center":l[0]>v?"left":"right",h=Math.abs(l[1]-m)/g<.3?"middle":l[1]>m?"top":"bottom"}return{position:l,align:u,verticalAlign:h}}(e,n,0,a,i.get(["label","margin"]));dR(t,n,i,r,d)},e}(oR),HR={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:vR(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var r=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:yR(e.cx,e.cy,i[0],i[1],(-n-r/2)*o,(r/2-n)*o)}:{type:"Sector",shape:yR(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}},WR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.findAxisModel=function(t){var e;return this.ecModel.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(Hd),UR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Zo).models[0]},e.type="polarAxis",e}(Hd);N(UR,N_);var YR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="angleAxis",e}(UR),ZR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="radiusAxis",e}(UR),XR=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return i(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(xb);XR.prototype.dataToRadius=xb.prototype.dataToCoord,XR.prototype.radiusToData=xb.prototype.coordToData;var jR=Ho(),qR=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return i(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),n=t.scale,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var o=i[0],a=t.dataToCoord(o+1)-t.dataToCoord(o),s=Math.abs(a),l=Cr(null==o?"":o+"",e.getFont(),"center","top"),u=Math.max(l.height,7)/s;isNaN(u)&&(u=1/0);var h=Math.max(0,Math.floor(u)),c=jR(t.model),d=c.lastAutoInterval,p=c.lastTickCount;return null!=d&&null!=p&&Math.abs(d-h)<=1&&Math.abs(p-r)<=1&&d>h?h=d:(c.lastTickCount=r,c.lastAutoInterval=h),h},e}(xb);qR.prototype.dataToAngle=xb.prototype.dataToCoord,qR.prototype.angleToData=xb.prototype.coordToData;var KR=["radius","angle"],$R=function(){function t(t){this.dimensions=KR,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new XR,this._angleAxis=new qR,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){return this["_"+t+"Axis"]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,u=la;)l+=360*u;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),i=Math.PI/180,r=1e-4;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,o=n*n+i*i,a=this.r,s=this.r0;return a!==s&&o-r<=a*a&&o+r>=s*s}}},t.prototype.convertToPixel=function(t,e,n){return JR(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return JR(e)===this?this.pointToData(n):null},t}();function JR(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}function QR(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();z(R_(e,"radius"),(function(t){r.scale.unionExtentFromData(e,t)})),z(R_(e,"angle"),(function(t){i.scale.unionExtentFromData(e,t)}))}})),C_(i.scale,i.model),C_(r.scale,r.model),"category"===i.type&&!i.onBand){var o=i.getExtent(),a=360/i.scale.count();i.inverse?o[1]+=a:o[1]-=a,i.setExtent(o[0],o[1])}}function tN(t,e){var n;if(t.type=e.get("type"),t.scale=A_(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),function(t){return"angleAxis"===t.mainType}(e)){t.inverse=t.inverse!==e.get("clockwise");var i=e.get("startAngle"),r=null!==(n=e.get("endAngle"))&&void 0!==n?n:i+(t.inverse?-360:360);t.setExtent(i,r)}e.axis=t,t.model=e}var eN={dimensions:KR,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,i){var r=new $R(i+"");r.update=QR;var o=r.getRadiusAxis(),a=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");tN(o,s),tN(a,l),function(t,e,n){var i=e.get("center"),r=n.getWidth(),o=n.getHeight();t.cx=no(i[0],r),t.cy=no(i[1],o);var a=t.getRadiusAxis(),s=Math.min(r,o)/2,l=e.get("radius");null==l?l=[0,"100%"]:Y(l)||(l=[0,l]);var u=[no(l[0],s),no(l[1],s)];a.inverse?a.setExtent(u[1],u[0]):a.setExtent(u[0],u[1])}(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",Zo).models[0];t.coordinateSystem=e.coordinateSystem}})),n}},nN=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function iN(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function rN(t){return t.getRadiusAxis().inverse?0:1}function oN(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var aN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return i(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=V(n.getViewLabels(),(function(t){t=C(t);var e=n.scale,i="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(i),t}));oN(s),oN(o),z(nN,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||sN[e](this.group,t,i,o,a,r,s)}),this)}},e.type="angleAxis",e}(MM),sN={axisLine:function(t,e,n,i,r,o){var a,s=e.getModel(["axisLine","lineStyle"]),l=n.getAngleAxis(),u=Math.PI/180,h=l.getExtent(),c=rN(n),d=c?0:1,p=360===Math.abs(h[1]-h[0])?"Circle":"Arc";(a=0===o[d]?new ic[p]({shape:{cx:n.cx,cy:n.cy,r:o[c],startAngle:-h[0]*u,endAngle:-h[1]*u,clockwise:l.inverse},style:s.getLineStyle(),z2:1,silent:!0}):new Zu({shape:{cx:n.cx,cy:n.cy,r:o[c],r0:o[d]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(a)},axisTick:function(t,e,n,i,r,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[rN(n)],u=V(i,(function(t){return new th({shape:iN(n,[l,l+s],t.coord)})}));t.add(Bh(u,{style:k(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=o[rN(n)],h=[],c=0;cf?"left":"right",m=Math.abs(p[1]-g)/d<.3?"middle":p[1]>g?"top":"bottom";if(s&&s[c]){var y=s[c];K(y)&&y.textStyle&&(a=new kc(y.textStyle,l,l.ecModel))}var x=new qs({silent:dM.isLabelSilent(e),style:uc(a,{x:p[0],y:p[1],fill:a.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:i.formattedLabel,align:v,verticalAlign:m})});if(t.add(x),h){var _=dM.makeAxisEventDataBase(e);_.targetType="axisLabel",_.value=i.rawLabel,ll(x).eventData=_}}),this)},splitLine:function(t,e,n,i,r,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],h=0;h=0?"p":"n",C=b;y&&(i[s][I]||(i[s][I]={p:b,n:b}),C=i[s][I][T]);var A=void 0,D=void 0,L=void 0,k=void 0;if("radius"===c.dim){var P=c.dataToCoord(M)-b,O=o.dataToCoord(I);Math.abs(P)=k})}}}))}var gN={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},vN={splitNumber:5},mN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="polar",e}(Pg);function yN(t,e){e=e||{};var n=t.coordinateSystem,i=t.axis,r={},o=i.position,a=i.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};r.position=["vertical"===a?u.vertical[o]:l[0],"horizontal"===a?u.horizontal[o]:l[3]],r.rotation=Math.PI/2*{horizontal:0,vertical:1}[a],r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],t.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),rt(e.labelInside,t.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var h=e.rotate;return null==h&&(h=t.get(["axisLabel","rotate"])),r.labelRotation="top"===o?-h:h,r.z2=1,r}var xN=["axisLine","axisTickLabel","axisName"],_N=["splitArea","splitLine"],bN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="SingleAxisPointer",n}return i(e,t),e.prototype.render=function(e,n,i,r){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new Wr;var s=yN(e),l=new dM(e,s);z(xN,l.add,l),o.add(this._axisGroup),o.add(l.getGroup()),z(_N,(function(t){e.get([t,"show"])&&wN[t](this,this.group,this._axisGroup,e)}),this),Xh(a,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)},e.prototype.remove=function(){CM(this)},e.type="singleAxis",e}(MM),wN={splitLine:function(t,e,n,i){var r=i.axis;if(!r.scale.isBlank()){var o=i.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var l=a.get("width"),u=i.coordinateSystem.getRect(),h=r.isHorizontal(),c=[],d=0,p=r.getTicksCoords({tickModel:o}),f=[],g=[],v=0;v=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i},t.prototype.convertToPixel=function(t,e,n){return CN(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return CN(e)===this?this.pointToData(n):null},t}();function CN(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var AN={create:function(t,e){var n=[];return t.eachComponent("singleAxis",(function(i,r){var o=new TN(i,t,e);o.name="single_"+r,o.resize(i,e),i.coordinateSystem=o,n.push(o)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",Zo).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n},dimensions:IN},DN=["x","y"],LN=["width","height"],kN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.coordinateSystem,s=RN(a,1-ON(o)),l=a.dataToPoint(e)[0],u=i.get("type");if(u&&"none"!==u){var h=cR(i),c=PN[u](o,l,s);c.style=h,t.graphicKey=c.type,t.pointer=c}gR(e,t,yN(n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=yN(e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=fR(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.coordinateSystem,a=ON(r),s=RN(o,a),l=[t.x,t.y];l[a]+=e[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=RN(o,1-a),h=(u[1]+u[0])/2,c=[h,h];return c[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:c,tooltipOption:{verticalAlign:"middle"}}},e}(oR),PN={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:vR([e,n[0]],[e,n[1]],ON(t))}},shadow:function(t,e,n){var i=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:mR([e-i/2,n[0]],[i,r],ON(t))}}};function ON(t){return t.isHorizontal()?0:1}function RN(t,e){var n=t.getRect();return[n[DN[e]],n[DN[e]]+n[LN[e]]]}var NN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="single",e}(Pg),EN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(e,n,i){var r=Bd(e);t.prototype.init.apply(this,arguments),zN(e,r)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),zN(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(Hd);function zN(t,e){var n,i=t.cellSize;1===(n=Y(i)?i:t.cellSize=[i,i]).length&&(n[1]=n[0]);var r=V([0,1],(function(t){return function(t,e){return null!=t[Pd[e][0]]||null!=t[Pd[e][1]]&&null!=t[Pd[e][2]]}(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));Vd(t,e,{type:"box",ignoreSize:r})}var VN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,s,a,i),this._renderWeekText(t,s,o,a,i)},e.prototype._renderDayRect=function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),o=i.getCellWidth(),a=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,u=new Zs({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:r});n.add(u)}},e.prototype._renderLines=function(t,e,n,i){var r=this,o=t.coordinateSystem,a=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,h=0;u.time<=e.end.time;h++){d(u.formatedDate),0===h&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var c=u.date;c.setMonth(c.getMonth()+1),u=o.getDateInfo(c)}function d(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}d(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},e.prototype._getEdgesPoints=function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},e.prototype._drawSplitline=function(t,e,n){var i=new $u({z2:20,shape:{points:t},style:e});n.add(i)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var i=t.coordinateSystem,r=i.getDateInfo(e),o=[],a=0;a<7;a++){var s=i.getNextNDay(r.time,a),l=i.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},e.prototype._formatterLabel=function(t,e){return X(t)&&t?(n=t,z(e,(function(t,e){n=n.replace("{"+e+"}",t)})),n):Z(t)?t(e):e.nameMap;var n},e.prototype._yearTextPositionControl=function(t,e,n,i,r){var o=e[0],a=e[1],s=["center","bottom"];"bottom"===i?(a+=r,s=["center","top"]):"left"===i?o-=r:"right"===i?(o+=r,s=["center","top"]):a-=r;var l=0;return"left"!==i&&"right"!==i||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,n,i){var r=t.getModel("yearLabel");if(r.get("show")){var o=r.get("margin"),a=r.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,h="horizontal"===n?0:1,c={top:[l,s[h][1]],bottom:[l,s[1-h][1]],left:[s[1-h][0],u],right:[s[h][0],u]},d=e.start.y;+e.end.y>+e.start.y&&(d=d+"-"+e.end.y);var p=r.get("formatter"),f={start:e.start.y,end:e.end.y,nameMap:d},g=this._formatterLabel(p,f),v=new qs({z2:30,style:uc(r,{text:g}),silent:r.get("silent")});v.attr(this._yearTextPositionControl(v,c[a],n,a,o)),i.add(v)}},e.prototype._monthTextPositionControl=function(t,e,n,i,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(o="center"),"start"===i&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderMonthText=function(t,e,n,i){var r=t.getModel("monthLabel");if(r.get("show")){var o=r.get("nameMap"),a=r.get("margin"),s=r.get("position"),l=r.get("align"),u=[this._tlpoints,this._blpoints];o&&!X(o)||(o&&(e=Hc(o)||e),o=e.get(["time","monthAbbr"])||[]);var h="start"===s?0:1,c="horizontal"===n?0:1;a="start"===s?-a:a;for(var d="center"===l,p=r.get("silent"),f=0;f=i.start.time&&n.timea.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var i=Math.floor(n[1].time/BN)-Math.floor(n[0].time/BN)+1,r=new Date(n[0].time),o=r.getDate(),a=n[1].date.getDate();r.setDate(o+i-1);var s=r.getDate();if(s!==a)for(var l=r.getTime()-n[1].time>0?1:-1;(s=r.getDate())!==a&&(r.getTime()-n[1].time)*l>0;)i-=l,r.setDate(s-l);var u=Math.floor((i+n[0].day+6)/7),h=e?1-u:u-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:u,nthWeek:h,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&ei.lweek)return null;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(+i.start.d+r),this.getDateInfo(o)},t.create=function(e,n){var i=[];return e.eachComponent("calendar",(function(e){var n=new t(e);i.push(n),e.coordinateSystem=n})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])})),i},t.dimensions=["time","value"],t}();function GN(t){var e=t.calendarModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem:null}function HN(t,e){var n;return z(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}var WN=["transition","enterFrom","leaveTo"],UN=WN.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function YN(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?WN:UN,r=0;r=0;l--){var d,p,f;if(f=null!=(p=Vo((d=n[l]).id,null))?r.get(p):null){var g=f.parent,v=(c=jN(g),{}),m=Ed(f,d,g===i?{width:o,height:a}:{width:c.width,height:c.height},null,{hv:d.hv,boundingMode:d.bounding},v);if(!jN(f).isNew&&m){for(var y=d.transition,x={},_=0;_=0)?x[b]=w:f[b]=w}bh(f,x,t,0)}else f.attr(v)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(n){JN(n,jN(n).option,e,t._lastGraphicModel)})),this._elMap=mt()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(Pg);function KN(t){var e=new(bt(XN,t)?XN[t]:Nh(t))({});return jN(e).type=t,e}function $N(t,e,n,i){var r=KN(n);return e.add(r),i.set(t,r),jN(r).id=t,jN(r).isNew=!0,r}function JN(t,e,n,i){t&&t.parent&&("group"===t.type&&t.traverse((function(t){JN(t,e,n,i)})),fO(t,e,i),n.removeKey(jN(t).id))}function QN(t,e,n,i){t.isGroup||z([["cursor",Pa.prototype.cursor],["zlevel",i||0],["z",n||0],["z2",0]],(function(n){var i=n[0];bt(e,i)?t[i]=ot(e[i],n[1]):null==t[i]&&(t[i]=n[1])})),z(H(e),(function(n){if(0===n.indexOf("on")){var i=e[n];t[n]=Z(i)?i:null}})),bt(e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}function tE(t){t.registerComponentModel(ZN),t.registerComponentView(qN),t.registerPreprocessor((function(t){var e=t.graphic;Y(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])}))}var eE=["x","y","radius","angle","single"],nE=["cartesian2d","polar","singleAxis"];function iE(t){return t+"Axis"}function rE(t,e){var n,i=mt(),r=[],o=mt();t.eachComponent({mainType:"dataZoom",query:e},(function(t){o.get(t.uid)||s(t)}));do{n=!1,t.eachComponent("dataZoom",a)}while(n);function a(t){!o.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis((function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)})),e}(t)&&(s(t),n=!0)}function s(t){o.set(t.uid,!0),r.push(t),t.eachTargetAxis((function(t,e){(i.get(t)||i.set(t,[]))[e]=!0}))}return r}function oE(t){var e=t.ecModel,n={infoList:[],infoMap:mt()};return t.eachTargetAxis((function(t,i){var r=e.getComponent(iE(t),i);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(r)}}})),n}var aE=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),sE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return i(e,t),e.prototype.init=function(t,e,n){var i=lE(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=lE(t);A(this.option,t,!0),A(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;z([["start","startValue"],["end","endValue"]],(function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=mt();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return z(eE,(function(n){var i=this.getReferringComponents(iE(n),Xo);if(i.specified){e=!0;var r=new aE;z(i.models,(function(t){r.add(t.componentIndex)})),t.set(n,r)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x";o(n.findComponents({mainType:r+"Axis"}),r)}function o(e,n){var r=e[0];if(r){var o=new aE;if(o.add(r.componentIndex),t.set(n,o),i=!1,"x"===n||"y"===n){var a=r.getReferringComponents("grid",Zo).models[0];a&&z(e,(function(t){r.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",Zo).models[0]&&o.add(t.componentIndex)}))}}}i&&o(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single"),i&&z(eE,(function(e){if(i){var r=n.findComponents({mainType:iE(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new aE;o.add(r[0].componentIndex),t.set(e,o),i=!1}}}),this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");z([["start","startValue"],["end","endValue"]],(function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")}))},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent(iE(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,i){z(n.indexList,(function(n){t.call(e,i,n)}))}))},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(iE(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;z([["start","startValue"],["end","endValue"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;z(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;i=0}(e)){var n=iE(this._dimName),i=e.getReferringComponents(n,Zo).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return C(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];dE(["start","end"],(function(l,u){var h=t[l],c=t[l+"Value"];"percent"===r[u]?(null==h&&(h=o[u]),c=i.parse(eo(h,o,n))):(e=!0,h=eo(c=null==c?n[u]:i.parse(c),n,o)),s[u]=null==c||isNaN(c)?n[u]:c,a[u]=null==h||isNaN(h)?o[u]:h})),pE(s),pE(a);var l=this._minMaxSpan;function u(t,e,n,r,o){var a=o?"Span":"ValueSpan";RD(0,t,n,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)e[s]=eo(t[s],n,r,!0),o&&(e[s]=i.parse(e[s]))}return e?u(s,a,n,o,!1):u(a,s,o,n,!0),{valueWindow:s,percentWindow:a}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var i=[1/0,-1/0];dE(n,(function(t){!function(t,e,n){e&&z(R_(e,n),(function(n){var i=e.getApproximateExtent(n);i[0]t[1]&&(t[1]=i[1])}))}(i,t.getData(),e)}));var r=t.getAxisModel(),o=M_(r.axis.scale,r,i).calculate();return[o.min,o.max]}(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow;"none"!==r&&dE(i,(function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var a=e.getStore(),s=V(i,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,r,l=0;lo[1];if(h&&!c&&!d)return!0;h&&(r=!0),c&&(e=!0),d&&(n=!0)}return r&&e&&n}))}else dE(i,(function(n){if("empty"===r)t.setData(e=e.map(n,(function(t){return function(t){return t>=o[0]&&t<=o[1]}(t)?t:NaN})));else{var i={};i[n]=o,e.selectRange(i)}}));dE(i,(function(t){e.setApproximateExtent(o,t)}))}}))}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;dE(["min","max"],(function(i){var r=e.get(i+"Span"),o=e.get(i+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=eo(n[0]+o,n,[0,100],!0):null!=r&&(o=eo(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=so(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}(),gE={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(i,r){var o=t.getComponent(iE(i),r);e(i,r,o,n)}))}))}e((function(t,e,n,i){n.__dzAxisProxy=null}));var n=[];e((function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new fE(e,i,o,t),n.push(r.__dzAxisProxy))}));var i=mt();return z(n,(function(t){z(t.getTargetSeriesModels(),(function(t){i.set(t.uid,t)}))})),i},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,i){t.getAxisProxy(n,i).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}}))}},vE=!1;function mE(t){vE||(vE=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,gE),function(t){t.registerAction("dataZoom",(function(t,e){z(rE(e,t),(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function yE(t){t.registerComponentModel(uE),t.registerComponentView(cE),mE(t)}var xE=function(){},_E={};function bE(t,e){_E[t]=e}function wE(t){return _E[t]}var SE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;z(this.option.feature,(function(t,n){var i=wE(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),A(t,i.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(Hd);function ME(t,e){var n=bd(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new Zs({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}var IE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features={}),u=[];z(s,(function(t,e){u.push(e)})),new Xy(this._featureNames||[],u).add(h).update(h).remove(U(h,null)).execute(),this._featureNames=u,function(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=Nd(i,o,r);Rd(e.get("orient"),t,e.get("itemGap"),a.width,a.height),Ed(t,i,o,r)}(r,t,n),r.add(ME(r.getBoundingRect(),t)),a||r.eachChild((function(t){var e=t.__title,i=t.ensureState("emphasis"),a=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!Z(l)&&e){var u=l.style||(l.style={}),h=Cr(e,qs.makeFont(u)),c=t.x+r.x,d=!1;t.y+r.y+o+h.height>n.getHeight()&&(a.position="top",d=!0);var p=d?-5-h.height:o+10;c+h.width/2>n.getWidth()?(a.position=["100%",p],u.align="right"):c-h.width/2<0&&(a.position=[0,p],u.align="left")}}))}function h(h,c){var d,p=u[h],f=u[c],g=s[p],v=new kc(g,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===p&&(g.title=i.newTitle),p&&!f){if(function(t){return 0===t.indexOf("my")}(p))d={onclick:v.option.onclick,featureName:p};else{var m=wE(p);if(!m)return;d=new m}l[p]=d}else if(!(d=l[f]))return;d.uid=Oc("toolbox-feature"),d.model=v,d.ecModel=e,d.api=n;var y=d instanceof xE;p||!f?!v.get("show")||y&&d.unusable?y&&d.remove&&d.remove(e,n):(function(i,s,l){var u,h,c=i.getModel("iconStyle"),d=i.getModel(["emphasis","iconStyle"]),p=s instanceof xE&&s.getIcons?s.getIcons():i.get("icon"),f=i.get("title")||{};X(p)?(u={})[l]=p:u=p,X(f)?(h={})[l]=f:h=f;var g=i.iconPaths={};z(u,(function(l,u){var p=Kh(l,{},{x:-o/2,y:-o/2,width:o,height:o});p.setStyle(c.getItemStyle()),p.ensureState("emphasis").style=d.getItemStyle();var f=new qs({style:{text:h[u],align:d.get("textAlign"),borderRadius:d.get("textBorderRadius"),padding:d.get("textPadding"),fill:null,font:gc({fontStyle:d.get("textFontStyle"),fontFamily:d.get("textFontFamily"),fontSize:d.get("textFontSize"),fontWeight:d.get("textFontWeight")},e)},ignore:!0});p.setTextContent(f),tc({el:p,componentModel:t,itemName:u,formatterParamsExtra:{title:h[u]}}),p.__title=h[u],p.on("mouseover",(function(){var e=d.getItemStyle(),i=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";f.setStyle({fill:d.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:d.get("textBackgroundColor")}),p.setTextConfig({position:d.get("textPosition")||i}),f.ignore=!t.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==i.get(["iconStatus",u])&&n.leaveEmphasis(this),f.hide()})),("emphasis"===i.get(["iconStatus",u])?zl:Vl)(p),r.add(p),p.on("click",W(s.onclick,s,e,n,u)),g[u]=p}))}(v,d,p),v.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?zl:Vl)(i[t])},d instanceof xE&&d.render&&d.render(v,e,n,i)):y&&d.dispose&&d.dispose(e,n)}},e.prototype.updateView=function(t,e,n,i){z(this._features,(function(t){t instanceof xE&&t.updateView&&t.updateView(t.model,e,n,i)}))},e.prototype.remove=function(t,e){z(this._features,(function(n){n instanceof xE&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){z(this._features,(function(n){n instanceof xE&&n.dispose&&n.dispose(t,e)}))},e.type="toolbox",e}(Pg),TE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),a=r?"svg":n.get("type",!0)||"png",s=e.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),l=o.browser;if("function"!=typeof MouseEvent||!l.newEdge&&(l.ie||l.edge))if(window.navigator.msSaveOrOpenBlob||r){var u=s.split(","),h=u[0].indexOf("base64")>-1,c=r?decodeURIComponent(u[1]):u[1];h&&(c=window.atob(c));var d=i+"."+a;if(window.navigator.msSaveOrOpenBlob){for(var p=c.length,f=new Uint8Array(p);p--;)f[p]=c.charCodeAt(p);var g=new Blob([f]);window.navigator.msSaveOrOpenBlob(g,d)}else{var v=document.createElement("iframe");document.body.appendChild(v);var m=v.contentWindow,y=m.document;y.open("image/svg+xml","replace"),y.write(c),y.close(),m.focus(),y.execCommand("SaveAs",!0,d),document.body.removeChild(v)}}else{var x=n.get("lang"),_='',b=window.open();b.document.write(_),b.document.title=i}else{var w=document.createElement("a");w.download=i+"."+a,w.target="_blank",w.href=s;var S=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});w.dispatchEvent(S)}},e.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(xE),CE="__ec_magicType_stack__",AE=[["line","bar"],["stack"]],DE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return z(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},e.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},e.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(LE[n]){var o,a={series:[]};z(AE,(function(t){O(t,n)>=0&&z(t,(function(t){i.setIconStatus(t,"normal")}))})),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},(function(t){var e=t.subType,r=t.id,o=LE[n](e,r,t,i);o&&(k(o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim+"Axis",h=t.getReferringComponents(u,Zo).models[0].componentIndex;a[u]=a[u]||[];for(var c=0;c<=h;c++)a[u][h]=a[u][h]||{};a[u][h].boundaryGap="bar"===n}}}));var s=n;"stack"===n&&(o=A({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:o,featureName:"magicType"})}},e}(xE),LE={line:function(t,e,n,i){if("bar"===t)return A({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return A({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r=n.get("stack")===CE;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),A({id:e,stack:r?"":CE},i.get(["option","stack"])||{},!0)}};Ry({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var kE=new Array(60).join("-"),PE="\t";function OE(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var RE=new RegExp("[\t]+","g");function NE(t,e){var n=t.split(new RegExp("\n*"+kE+"\n*","g")),i={series:[]};return z(n,(function(t,n){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(PE)>=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),n=[],i=V(OE(e.shift()).split(RE),(function(t){return{name:t,data:[]}})),r=0;r=0)&&t(r,i._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=qE[t.brushType](0,n,e);t.__rangeOffset={offset:$E[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){z(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&z(i.coordSyses,(function(i){var r=qE[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)}))}),this)},t.prototype.setInputRanges=function(t,e){z(t,(function(t){var n,i,r,o,a,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=qE[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?$E[t.brushType](l.values,u.offset,(n=l.xyMinMax,i=u.xyMinMax,r=QE(n),o=QE(i),a=[r[0]/o[0],r[1]/o[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}}),this)},t.prototype.makePanelOpts=function(t,e){return V(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:EL(i),isTargetByCursor:VL(i,t,n.coordSysModel),getLinearBrushOtherExtent:zL(i)}}))},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&O(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=YE(e,t),r=0;rt[1]&&t.reverse(),t}function YE(t,e){return Uo(t,e,{includeMainTypes:HE})}var ZE={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,o=mt(),a={},s={};(n||i||r)&&(z(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0})),z(i,(function(t){var e=t.axis.grid.model;o.set(e.id,e),s[e.id]=!0})),z(r,(function(t){o.set(t.id,t),a[t.id]=!0,s[t.id]=!0})),o.each((function(t){var r=t.coordinateSystem,o=[];z(r.getCartesians(),(function(t,e){(O(n,t.getAxis("x").model)>=0||O(i,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:jE.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})})))},geo:function(t,e){z(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:jE.geo})}))}},XE=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],jE={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(Wh(t)),e}},qE={lineX:U(KE,0),lineY:U(KE,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[UE([r[0],o[0]]),UE([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:V(n,(function(n){var o=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o})),xyMinMax:r}}};function KE(t,e,n,i){var r=n.getAxis(["x","y"][t]),o=UE(V([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))}))),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var $E={lineX:U(JE,0),lineY:U(JE,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return V(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function JE(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function QE(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var tz,ez,nz=z,iz=Do+"toolbox-dataZoom_",rz=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new oL(n.getZr()),this._brushController.on("brush",W(this._onBrush,this)).mount()),function(t,e,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive),n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new WE(az(t),e,{include:["grid"]}),s=a.makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,i,n),function(t,e){t.setIconStatus("back",function(t){return FE(t).length}(e)>1?"emphasis":"normal")}(t,e)},e.prototype.onclick=function(t,e,n){oz[n].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new WE(az(this.model),i,{include:["grid"]}).matchOutputRanges(e,i,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(r("x",n,e[0]),r("y",n,e[1])):r({lineX:"x",lineY:"y"}[i],n,e)}})),function(t,e){var n=FE(t);VE(e,(function(e,i){for(var r=n.length-1;r>=0&&!n[r][i];r--);if(r<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var a=o.getPercentRange();n[0][i]={dataZoomId:i,start:a[0],end:a[1]}}}})),n.push(e)}(i,n),this._dispatchZoomAction(n)}function r(t,e,r){var o=e.getAxis(t),a=o.model,s=function(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)})),i}(t,a,i),l=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(r=RD(0,r.slice(),o.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];nz(t,(function(t,n){e.push(C(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},e}(xE),oz={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=FE(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return VE(n,(function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){i[n]=t;break}})),i}(this.ecModel))}};function az(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}function sz(t){t.registerComponentModel(SE),t.registerComponentView(IE),bE("saveAsImage",TE),bE("magicType",DE),bE("dataView",EE),bE("dataZoom",rz),bE("restore",GE),W_(yE)}tz="dataZoom",ez=function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=Uo(t,az(i));return nz(o.xAxisModels,(function(t){return a(t,"xAxis","xAxisIndex")})),nz(o.yAxisModels,(function(t){return a(t,"yAxis","yAxisIndex")})),r}function a(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:iz+e+o};a[n]=o,r.push(a)}},ut(null==cp.get(tz)&&ez),cp.set(tz,ez);var lz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(Hd);function uz(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function hz(t){if(o.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n-1?(u+="top:50%",h+="translateY(-50%) rotate("+(a="left"===s?-225:-45)+"deg)"):(u+="left:50%",h+="translateX(-50%) rotate("+(a="top"===s?225:45)+"deg)");var c=a*Math.PI/180,d=l+r,p=d*Math.abs(Math.cos(c))+d*Math.abs(Math.sin(c)),f=e+" solid "+r+"px;";return'
'}(n,i,r)),X(t))o.innerHTML=t+a;else if(t){o.innerHTML="",Y(t)||(t=[t]);for(var s=0;s=0?this._tryShow(n,i):"leave"===e&&this._hide(i))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!o.node&&n.getDom()){var r=Cz(i,n);this._ticket="";var a=i.dataByCoordSys,s=function(t,e,n){var i=Yo(t).queryOptionMap,r=i.keys()[0];if(r&&"series"!==r){var o=jo(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(a){var s,l=n.getViewOfComponentModel(a);return l.group.traverse((function(e){var n=ll(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s?{componentMainType:r,componentIndex:a.componentIndex,el:s}:void 0}}}(i,e,n);if(s){var l=s.el.getBoundingRect().clone();l.applyTransform(s.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:s.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y){var u=Mz;u.x=i.x,u.y=i.y,u.update(),ll(u).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:u},r)}else if(a)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:a,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var h=kR(i,e),c=h.point[0],d=h.point[1];null!=c&&null!=d&&this._tryShow({offsetX:c,offsetY:d,target:h.el,position:i.position,positionDefault:"bottom"},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(Cz(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s&&"axis"===Tz([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,t);else if(n){var r,o;if("legend"===ll(n).ssrType)return;this._lastDataByCoordSys=null,Ev(n,(function(t){return null!=ll(t).dataIndex?(r=t,!0):null!=ll(t).tooltipConfig?(o=t,!0):void 0}),!0),r?this._showSeriesItemTooltip(t,r,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=W(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=Tz([e.tooltipOption],i),a=this._renderMode,s=[],l=lg("section",{blocks:[],noHeader:!0}),u=[],h=new xg;z(t,(function(t){z(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=pR(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),c=lg("section",{header:o,noHeader:!ht(o),sortBlocks:!0,blocks:[]});l.blocks.push(c),z(t.seriesDataIndices,(function(l){var d=n.getSeriesByIndex(l.seriesIndex),p=l.dataIndexInside,f=d.getDataParams(p);if(!(f.dataIndex<0)){f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=L_(e.axis,{value:r}),f.axisValueLabel=o,f.marker=h.makeTooltipMarker("item",Ad(f.color),a);var g=Mf(d.formatTooltip(p,!0,null)),v=g.frag;if(v){var m=Tz([d],i).get("valueFormatter");c.blocks.push(m?L({valueFormatter:m},v):v)}g.text&&u.push(g.text),s.push(f)}}))}}))})),l.blocks.reverse(),u.reverse();var c=e.position,d=o.get("order"),p=fg(l,h,a,d,n.get("useUTC"),o.get("textStyle"));p&&u.unshift(p);var f="richText"===a?"\n\n":"
",g=u.join(f);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,c,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",r[0],r[1],c,null,h)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=ll(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,u=r.dataType,h=s.getData(u),c=this._renderMode,d=t.positionDefault,p=Tz([h.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),f=p.get("trigger");if(null==f||"item"===f){var g=s.getDataParams(l,u),v=new xg;g.marker=v.makeTooltipMarker("item",Ad(g.color),c);var m=Mf(s.formatTooltip(l,!1,u)),y=p.get("order"),x=p.get("valueFormatter"),_=m.frag,b=_?fg(x?L({valueFormatter:x},_):_,v,c,y,i.get("useUTC"),p.get("textStyle")):m.text,w="item_"+s.name+"_"+l;this._showOrMove(p,(function(){this._showTooltipContent(p,b,g,w,t.offsetX,t.offsetY,t.position,t.target,v)})),n({type:"showTip",dataIndexInside:l,dataIndex:h.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i="html"===this._renderMode,r=ll(e),o=r.tooltipConfig.option||{},a=o.encodeHTMLContent;X(o)&&(o={content:o,formatter:o},a=!0),a&&i&&o.content&&((o=C(o)).content=oe(o.content));var s=[o],l=this._ecModel.getComponent(r.componentMainType,r.componentIndex);l&&s.push(l),s.push({formatter:o.content});var u=t.positionDefault,h=Tz(s,this._tooltipModel,u?{position:u}:null),c=h.get("content"),d=Math.random()+"",p=new xg;this._showOrMove(h,(function(){var n=C(h.get("formatterParams")||{});this._showTooltipContent(h,c,n,d,t.offsetX,t.offsetY,t.position,e,p)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent;u.setEnterable(t.get("enterable"));var h=t.get("formatter");a=a||t.get("position");var c=e,d=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")).color;if(h)if(X(h)){var p=t.ecModel.get("useUTC"),f=Y(n)?n[0]:n;c=h,f&&f.axisType&&f.axisType.indexOf("time")>=0&&(c=nd(f.axisValue,c,p)),c=Id(c,n,!0)}else if(Z(h)){var g=W((function(e,i){e===this._ticket&&(u.setContent(i,l,t,d,a),this._updatePosition(t,a,r,o,u,n,s))}),this);this._ticket=i,c=h(n,i,g)}else c=h;u.setContent(c,l,t,d,a),u.show(t,d),this._updatePosition(t,a,r,o,u,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||Y(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:Y(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),h=t.get("align"),c=t.get("verticalAlign"),d=a&&a.getBoundingRect().clone();if(a&&d.applyTransform(a.transform),Z(e)&&(e=e([n,i],o,r.el,d,{viewSize:[s,l],contentSize:u.slice()})),Y(e))n=no(e[0],s),i=no(e[1],l);else if(K(e)){var p=e;p.width=u[0],p.height=u[1];var f=Nd(p,{width:s,height:l});n=f.x,i=f.y,h=null,c=null}else if(X(e)&&a){var g=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+h/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+h+a;break;case"left":s=e.x-r-a,l=e.y+h/2-o/2;break;case"right":s=e.x+u+a,l=e.y+h/2-o/2}return[s,l]}(e,d,u,t.get("borderWidth"));n=g[0],i=g[1]}else g=function(t,e,n,i,r,o,a){var s=n.getSize(),l=s[0],u=s[1];return null!=o&&(t+l+o+2>i?t-=l+o:t+=o),null!=a&&(e+u+a>r?e-=u+a:e+=a),[t,e]}(n,i,r,s,l,h?null:20,c?null:20),n=g[0],i=g[1];h&&(n-=Az(h)?u[0]/2:"right"===h?u[0]:0),c&&(i-=Az(c)?u[1]/2:"bottom"===c?u[1]:0),uz(t)&&(g=function(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,i,r,s,l),n=g[0],i=g[1]),r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&z(n,(function(n,o){var a=n.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(r=r&&a.length===s.length)&&z(a,(function(t,n){var o=s[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&z(a,(function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),i&&z(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!o.node&&e.getDom()&&(Xg(this,"_updatePosition"),this._tooltipContent.dispose(),DR("itemTooltip",e))},e.type="tooltip",e}(Pg);function Tz(t,e,n){var i,r=e.ecModel;n?(i=new kc(n,r,r),i=new kc(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof kc&&(a=a.get("tooltip",!0)),X(a)&&(a={formatter:a}),a&&(i=new kc(a,i,r)))}return i}function Cz(t,e){return t.dispatchAction||W(e.dispatchAction,e)}function Az(t){return"center"===t||"middle"===t}function Dz(t){W_(BR),t.registerComponentModel(lz),t.registerComponentView(Iz),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},wt),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},wt)}var Lz=["rect","polygon","keep","clear"];function kz(t,e){var n=Lo(t?t.brush:[]);if(n.length){var i=[];z(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))}));var r=t&&t.toolbox;Y(r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var o=r.feature||(r.feature={}),a=o.brush||(o.brush={}),s=a.type||(a.type=[]);s.push.apply(s,i),function(t){var e={};z(t,(function(t){e[t]=1})),t.length=0,z(e,(function(e,n){t.push(n)}))}(s),e&&!s.length&&s.push.apply(s,Lz)}}var Pz=z;function Oz(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function Rz(t,e,n){var i={};return Pz(e,(function(e){var r,o=i[e]=((r=function(){}).prototype.__hidden=r.prototype,new r);Pz(t[e],(function(t,i){if(CC.isValidType(i)){var r={type:i,visual:t};n&&n(r,e),o[i]=new CC(r),"opacity"===i&&((r=C(r)).type="colorAlpha",o.__hidden.__alphaForOpacity=new CC(r))}}))})),i}function Nz(t,e,n){var i;z(n,(function(t){e.hasOwnProperty(t)&&Oz(e[t])&&(i=!0)})),i&&z(n,(function(n){e.hasOwnProperty(n)&&Oz(e[n])?t[n]=C(e[n]):delete t[n]}))}var Ez={lineX:zz(0),lineY:zz(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&Y_(n.range,t[0],t[1])},rect:function(t,e,n){var i=n.range;if(!t||i.length<=1)return!1;var r=t.x,o=t.y,a=t.width,s=t.height,l=i[0];return!!(Y_(i,r,o)||Y_(i,r+a,o)||Y_(i,r,o+s)||Y_(i,r+a,o+s)||Be.create(t).contain(l[0],l[1])||$h(r,o,r+a,o,i)||$h(r,o,r,o+s,i)||$h(r+a,o,r+a,o+s,i)||$h(r,o+s,r+a,o+s,i))||void 0}}};function zz(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e){var r=i.range;return Vz(e[t],r)}},rect:function(i,r,o){if(i){var a=o.range,s=[i[e[t]],i[e[t]]+i[n[t]]];return s[1]e[0][1]&&(e[0][1]=o[0]),o[1]e[1][1]&&(e[1][1]=o[1])}return e&&Xz(e)}};function Xz(t){return new Be(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var jz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new oL(e.getZr())).on("brush",W(this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,i){this.model=t,this._updateController(t,e,n,i)},e.prototype.updateTransform=function(t,e,n,i){Hz(e),this._updateController(t,e,n,i)},e.prototype.updateVisual=function(t,e,n,i){this.updateTransform(t,e,n,i)},e.prototype.updateView=function(t,e,n,i){this._updateController(t,e,n,i)},e.prototype._updateController=function(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:C(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:C(n),$from:e})},e.type="brush",e}(Pg),qz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return i(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&Nz(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},i.hasOwnProperty("liftZ")||(i.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=V(t,(function(t){return Kz(this.option,t)}),this))},e.prototype.setBrushOption=function(t){this.brushOption=Kz(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(Hd);function Kz(t,e){return A({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new kc(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var $z=["rect","polygon","lineX","lineY","keep","clear"],Jz=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.render=function(t,e,n){var i,r,o;e.eachComponent({mainType:"brush"},(function(t){i=t.brushType,r=t.brushOption.brushMode||"single",o=o||!!t.areas.length})),this._brushType=i,this._brushMode=r,z(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===i)?"emphasis":"normal")}))},e.prototype.updateView=function(t,e,n){this.render(t,e,n)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return z(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},e.prototype.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},e.getDefaultOption=function(t){return{show:!0,type:$z.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])}},e}(xE),Qz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return i(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(Hd),tV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),s=ot(t.get("textBaseline"),t.get("textVerticalAlign")),l=new qs({style:uc(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),h=t.get("subtext"),c=new qs({style:uc(o,{text:h,fill:o.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),d=t.get("link"),p=t.get("sublink"),f=t.get("triggerEvent",!0);l.silent=!d&&!f,c.silent=!p&&!f,d&&l.on("click",(function(){Dd(d,"_"+t.get("target"))})),p&&c.on("click",(function(){Dd(p,"_"+t.get("subtarget"))})),ll(l).eventData=ll(c).eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),h&&i.add(c);var g=i.getBoundingRect(),v=t.getBoxLayoutParams();v.width=g.width,v.height=g.height;var m=Nd(v,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a||("middle"===(a=t.get("left")||t.get("right"))&&(a="center"),"right"===a?m.x+=m.width:"center"===a&&(m.x+=m.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?m.y+=m.height:"middle"===s&&(m.y+=m.height/2),s=s||"top"),i.x=m.x,i.y=m.y,i.markRedraw();var y={align:a,verticalAlign:s};l.setStyle(y),c.setStyle(y),g=i.getBoundingRect();var x=m.margin,_=t.getItemStyle(["color","opacity"]);_.fill=t.get("backgroundColor");var b=new Zs({shape:{x:g.x-x[3],y:g.y-x[0],width:g.width+x[1]+x[3],height:g.height+x[0]+x[2],r:t.get("borderRadius")},style:_,subPixelOptimize:!0,silent:!0});i.add(b)}},e.type="title",e}(Pg);function eV(t){t.registerComponentModel(Qz),t.registerComponentView(tV)}var nV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return i(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,n=e.data||[],i=e.axisType,r=this._names=[];"category"===i?(t=[],z(n,(function(e,n){var i,o=Vo(Oo(e),"");K(e)?(i=C(e)).value=n:i=n,t.push(i),r.push(o)}))):t=n;var o={category:"ordinal",time:"time",value:"number"}[i]||"number";(this._data=new mx([{name:"value",type:o}],this)).initData(t,r)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(Hd),iV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="timeline.slider",e.defaultOption=Rc(nV.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(nV);N(iV,Sf.prototype);var rV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="timeline",e}(Pg),oV=function(t){function e(e,n,i,r){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o}return i(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(xb),aV=Math.PI,sV=Ho(),lV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),r=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(i,t);t.formatTooltip=function(t){return lg("nameValue",{noName:!0,value:a.scale.getLabel({value:t})})},z(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](i,r,a,t)}),this),this._renderAxisLabel(i,o,a,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,e){var n,i,r,o,a=t.get(["label","position"]),s=t.get("orient"),l=function(t,e){return Nd(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),u={horizontal:"center",vertical:(n=null==a||"auto"===a?"horizontal"===s?l.y+l.height/2=0||"+"===n?"left":"right"},h={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:aV/2},d="vertical"===s?l.height:l.width,p=t.getModel("controlStyle"),f=p.get("show",!0),g=f?p.get("itemSize"):0,v=f?p.get("itemGap"):0,m=g+v,y=t.get(["label","rotate"])||0;y=y*aV/180;var x=p.get("position",!0),_=f&&p.get("showPlayBtn",!0),b=f&&p.get("showPrevBtn",!0),w=f&&p.get("showNextBtn",!0),S=0,M=d;"left"===x||"bottom"===x?(_&&(i=[0,0],S+=m),b&&(r=[S,0],S+=m),w&&(o=[M-g,0],M-=m)):(_&&(i=[M-g,0],M-=m),b&&(r=[0,0],S+=m),w&&(o=[M-g,0],M-=m));var I=[S,M];return t.get("inverse")&&I.reverse(),{viewRect:l,mainLength:d,orient:s,rotation:c[s],labelRotation:y,labelPosOpt:n,labelAlign:t.get(["label","align"])||u[s],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||h[s],playPosition:i,prevBtnPosition:r,nextBtnPosition:o,axisExtent:I,controlSize:g,controlGap:v}},e.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var o=[1,0,0,1,0,0],a=r.x,s=r.y+r.height;Me(o,o,[-a,-s]),Ie(o,o,-aV/2),Me(o,o,[a,s]),(r=r.clone()).applyTransform(o)}var l=v(r),u=v(n.getBoundingRect()),h=v(i.getBoundingRect()),c=[n.x,n.y],d=[i.x,i.y];d[0]=c[0]=l[0][0];var p,f=t.labelPosOpt;function g(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function v(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function m(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}null==f||X(f)?(m(c,u,l,1,p="+"===f?0:1),m(d,h,l,1,1-p)):(m(c,u,l,1,p=f>=0?0:1),d[1]=c[1]+f),n.setPosition(c),i.setPosition(d),n.rotation=i.rotation=t.rotation,g(n),g(i)},e.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get("axisType"),r=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Gx({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new i_({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new Wx}}(e,i);r.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.calcNiceTicks();var a=new oV("value",r,t.axisExtent,i);return a.model=e,a},e.prototype._createGroup=function(t){var e=this[t]=new Wr;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,i){var r=n.getExtent();if(i.get(["lineStyle","show"])){var o=new th({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:L({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new th({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:k({lineCap:"round",lineWidth:o.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},e.prototype._renderAxisTick=function(t,e,n,i){var r=this,o=i.getData(),a=n.scale.getTicks();this._tickSymbols=[],z(a,(function(t){var a=n.dataToCoord(t.value),s=o.getItemModel(t.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),h=s.getModel(["progress","itemStyle"]),c={x:a,y:0,onclick:W(r._changeTimeline,r,t.value)},d=uV(s,l,e,c);d.ensureState("emphasis").style=u.getItemStyle(),d.ensureState("progress").style=h.getItemStyle(),Kl(d);var p=ll(d);s.get("tooltip")?(p.dataIndex=t.value,p.dataModel=i):p.dataIndex=p.dataModel=null,r._tickSymbols.push(d)}))},e.prototype._renderAxisLabel=function(t,e,n,i){var r=this;if(n.getLabelModel().get("show")){var o=i.getData(),a=n.getViewLabels();this._tickLabels=[],z(a,(function(i){var a=i.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),h=s.getModel(["progress","label"]),c=n.dataToCoord(i.tickValue),d=new qs({x:c,y:0,rotation:t.labelRotation-t.rotation,onclick:W(r._changeTimeline,r,a),silent:!1,style:uc(l,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});d.ensureState("emphasis").style=uc(u),d.ensureState("progress").style=uc(h),e.add(d),Kl(d),sV(d).dataIndex=a,r._tickLabels.push(d)}))}},e.prototype._renderControl=function(t,e,n,i){var r=t.controlSize,o=t.rotation,a=i.getModel("controlStyle").getItemStyle(),s=i.getModel(["emphasis","controlStyle"]).getItemStyle(),l=i.getPlayState(),u=i.get("inverse",!0);function h(t,n,l,u){if(t){var h=kr(ot(i.get(["controlStyle",n+"BtnSize"]),r),r),c=function(t,e,n,i){var r=i.style,o=Kh(t.get(["controlStyle",e]),i||{},new Be(n[0],n[1],n[2],n[3]));return r&&o.setStyle(r),o}(i,n+"Icon",[0,-h/2,h,h],{x:t[0],y:t[1],originX:r/2,originY:0,rotation:u?-o:0,rectHover:!0,style:a,onclick:l});c.ensureState("emphasis").style=s,e.add(c),Kl(c)}}h(t.nextBtnPosition,"next",W(this._changeTimeline,this,u?"-":"+")),h(t.prevBtnPosition,"prev",W(this._changeTimeline,this,u?"+":"-")),h(t.playPosition,l?"stop":"play",W(this._handlePlayClick,this,!l),!0)},e.prototype._renderCurrentPointer=function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=W(s._handlePointerDrag,s),t.ondragend=W(s._handlePointerDragend,s),hV(t,s._progressLine,o,n,i,!0)},onUpdate:function(t){hV(t,s._progressLine,o,n,i)}};this._currentPointer=uV(a,a,this._mainGroup,{},this._currentPointer,l)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],i=ro(this._axis.getExtent().slice());n>i[1]&&(n=i[1]),n=0&&(a[o]=+a[o].toFixed(c)),[a,h]}var bV={min:U(_V,"min"),max:U(_V,"max"),average:U(_V,"average"),median:U(_V,"median")};function wV(t,e){if(e){var n=t.getData(),i=t.coordinateSystem,r=i&&i.dimensions;if(!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!Y(e.coord)&&Y(r)){var o=SV(e,n,i,t);if((e=C(e)).type&&bV[e.type]&&o.baseAxis&&o.valueAxis){var a=O(r,o.baseAxis.dim),s=O(r,o.valueAxis.dim),l=bV[e.type](n,o.baseDataDim,o.valueDataDim,a,s);e.coord=l[0],e.value=l[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null!=e.coord&&Y(r))for(var u=e.coord,h=0;h<2;h++)bV[u[h]]&&(u[h]=TV(n,n.mapDimension(r[h]),u[h]));else e.coord=[];return e}}function SV(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function MV(t,e){return!(t&&t.containData&&e.coord&&!xV(e))||t.containData(e.coord)}function IV(t,e){return t?function(t,n,i,r){return Af(r<2?t.coord&&t.coord[r]:t.value,e[r])}:function(t,n,i,r){return Af(t.value,e[r])}}function TV(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,(function(t,e){isNaN(t)||(i+=t,r++)})),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var CV=Ho(),AV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(){this.markerGroupMap=mt()},e.prototype.render=function(t,e,n){var i=this,r=this.markerGroupMap;r.each((function(t){CV(t).keep=!1})),e.eachSeries((function(t){var r=mV.getMarkerModelFromSeries(t,i.type);r&&i.renderSeries(t,r,e,n)})),r.each((function(t){!CV(t).keep&&i.group.remove(t.group)}))},e.prototype.markKeep=function(t){CV(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;z(t,(function(t){var i=mV.getMarkerModelFromSeries(t,n.type);i&&i.getData().eachItemGraphicEl((function(t){t&&(e?Bl(t):Fl(t))}))}))},e.type="marker",e}(Pg);function DV(t,e,n){var i=e.coordinateSystem;t.each((function(r){var o,a=t.getItemModel(r),s=no(a.get("x"),n.getWidth()),l=no(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var u=t.get(i.dimensions[0],r),h=t.get(i.dimensions[1],r);o=i.dataToPoint([u,h])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(r,o)}))}var LV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=mV.getMarkerModelFromSeries(t,"markPoint");e&&(DV(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new gw),u=function(t,e,n){var i;i=t?V(t&&t.dimensions,(function(t){return L(L({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new mx(i,n),o=V(n.get("data"),U(wV,e));t&&(o=F(o,U(MV,t)));var a=IV(!!t,i);return r.initData(o,null,a),r}(r,t,e);e.setData(u),DV(e.getData(),t,i),u.each((function(t){var n=u.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(Z(i)||Z(r)||Z(o)||Z(s)){var h=e.getRawValue(t),c=e.getDataParams(t);Z(i)&&(i=i(h,c)),Z(r)&&(r=r(h,c)),Z(o)&&(o=o(h,c)),Z(s)&&(s=s(h,c))}var d=n.getModel("itemStyle").getItemStyle(),p=Pv(a,"color");d.fill||(d.fill=p),u.setItemVisual(t,{symbol:i,symbolSize:r,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:d})})),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl((function(t){t.traverse((function(t){ll(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(AV);function kV(t){t.registerComponentModel(yV),t.registerComponentView(LV),t.registerPreprocessor((function(t){fV(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})}))}var PV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(mV),OV=Ho(),RV=function(t,e,n,i){var r,o=t.getData();if(Y(i))r=i;else{var a=i.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=e.getAxis(null!=i.yAxis?"y":"x"),l=rt(i.yAxis,i.xAxis);else{var u=SV(i,o,e,t);s=u.valueAxis,l=TV(o,Cx(o,u.valueDataDim),a)}var h="x"===s.dim?0:1,c=1-h,d=C(i),p={coord:[]};d.type=null,d.coord=[],d.coord[c]=-1/0,p.coord[c]=1/0;var f=n.get("precision");f>=0&&q(l)&&(l=+l.toFixed(Math.min(f,20))),d.coord[h]=p.coord[h]=l,r=[d,p,{type:a,valueIndex:i.valueIndex,value:l}]}else r=[]}var g=[wV(t,r[0]),wV(t,r[1]),L({},r[2])];return g[2].type=g[2].type||null,A(g[2],g[0]),A(g[2],g[1]),g};function NV(t){return!isNaN(t)&&!isFinite(t)}function EV(t,e,n,i){var r=1-t,o=i.dimensions[t];return NV(e[r])&&NV(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function zV(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(EV(1,n,i,t)||EV(0,n,i,t)))return!0}return MV(t,e[0])&&MV(t,e[1])}function VV(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=no(s.get("x"),r.getWidth()),u=no(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var h=a.dimensions,c=t.get(h[0],e),d=t.get(h[1],e);o=a.dataToPoint([c,d])}if(Dw(a,"cartesian2d")){var p=a.getAxis("x"),f=a.getAxis("y");h=a.dimensions,NV(t.get(h[0],e))?o[0]=p.toGlobalCoord(p.getExtent()[n?0:1]):NV(t.get(h[1],e))&&(o[1]=f.toGlobalCoord(f.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];t.setItemLayout(e,o)}var BV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=mV.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=OV(e).from,o=OV(e).to;r.each((function(e){VV(r,e,!0,t,n),VV(o,e,!1,t,n)})),i.each((function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new GA);this.group.add(l.group);var u=function(t,e,n){var i;i=t?V(t&&t.dimensions,(function(t){return L(L({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new mx(i,n),o=new mx(i,n),a=new mx([],n),s=V(n.get("data"),U(RV,e,t,n));t&&(s=F(s,U(zV,t)));var l=IV(!!t,i);return r.initData(V(s,(function(t){return t[0]})),null,l),o.initData(V(s,(function(t){return t[1]})),null,l),a.initData(V(s,(function(t){return t[2]}))),a.hasItemOption=!0,{from:r,to:o,line:a}}(r,t,e),h=u.from,c=u.to,d=u.line;OV(e).from=h,OV(e).to=c,e.setData(d);var p=e.get("symbol"),f=e.get("symbolSize"),g=e.get("symbolRotate"),v=e.get("symbolOffset");function m(e,n,r){var o=e.getItemModel(n);VV(e,n,r,t,i);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=Pv(a,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:ot(o.get("symbolOffset",!0),v[r?0:1]),symbolRotate:ot(o.get("symbolRotate",!0),g[r?0:1]),symbolSize:ot(o.get("symbolSize"),f[r?0:1]),symbol:ot(o.get("symbol",!0),p[r?0:1]),style:s})}Y(p)||(p=[p,p]),Y(f)||(f=[f,f]),Y(g)||(g=[g,g]),Y(v)||(v=[v,v]),u.from.each((function(t){m(h,t,!0),m(c,t,!1)})),d.each((function(t){var e=d.getItemModel(t).getModel("lineStyle").getLineStyle();d.setItemLayout(t,[h.getItemLayout(t),c.getItemLayout(t)]),null==e.stroke&&(e.stroke=h.getItemVisual(t,"style").fill),d.setItemVisual(t,{fromSymbolKeepAspect:h.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:h.getItemVisual(t,"symbolOffset"),fromSymbolRotate:h.getItemVisual(t,"symbolRotate"),fromSymbolSize:h.getItemVisual(t,"symbolSize"),fromSymbol:h.getItemVisual(t,"symbol"),toSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:c.getItemVisual(t,"symbolOffset"),toSymbolRotate:c.getItemVisual(t,"symbolRotate"),toSymbolSize:c.getItemVisual(t,"symbolSize"),toSymbol:c.getItemVisual(t,"symbol"),style:e})})),l.updateData(d),u.line.eachItemGraphicEl((function(t){ll(t).dataModel=e,t.traverse((function(t){ll(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(AV),FV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(mV),GV=Ho(),HV=function(t,e,n,i){var r=i[0],o=i[1];if(r&&o){var a=wV(t,r),s=wV(t,o),l=a.coord,u=s.coord;l[0]=rt(l[0],-1/0),l[1]=rt(l[1],-1/0),u[0]=rt(u[0],1/0),u[1]=rt(u[1],1/0);var h=D([{},a,s]);return h.coord=[a.coord,s.coord],h.x0=a.x,h.y0=a.y,h.x1=s.x,h.y1=s.y,h}};function WV(t){return!isNaN(t)&&!isFinite(t)}function UV(t,e,n,i){var r=1-t;return WV(e[r])&&WV(n[r])}function YV(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0},o={coord:i,x:e.x1,y:e.y1};return Dw(t,"cartesian2d")?!(!n||!i||!UV(1,n,i)&&!UV(0,n,i))||function(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!xV(e)&&!xV(n))||t.containZone(e.coord,n.coord)}(t,r,o):MV(t,r)||MV(t,o)}function ZV(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=no(s.get(n[0]),r.getWidth()),u=no(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition){var h=t.getValues(["x0","y0"],e),c=t.getValues(["x1","y1"],e),d=a.clampData(h),p=a.clampData(c),f=[];"x0"===n[0]?f[0]=d[0]>p[0]?c[0]:h[0]:f[0]=d[0]>p[0]?h[0]:c[0],"y0"===n[1]?f[1]=d[1]>p[1]?c[1]:h[1]:f[1]=d[1]>p[1]?h[1]:c[1],o=i.getMarkerPosition(f,n,!0)}else{var g=[y=t.get(n[0],e),x=t.get(n[1],e)];a.clampData&&a.clampData(g,g),o=a.dataToPoint(g,!0)}if(Dw(a,"cartesian2d")){var v=a.getAxis("x"),m=a.getAxis("y"),y=t.get(n[0],e),x=t.get(n[1],e);WV(y)?o[0]=v.toGlobalCoord(v.getExtent()["x0"===n[0]?0:1]):WV(x)&&(o[1]=m.toGlobalCoord(m.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var XV=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],jV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=mV.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each((function(e){var r=V(XV,(function(r){return ZV(i,e,r,t,n)}));i.setItemLayout(e,r),i.getItemGraphicEl(e).setShape("points",r)}))}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new Wr});this.group.add(l.group),this.markKeep(l);var u=function(t,e,n){var i,r,o=["x0","y0","x1","y1"];if(t){var a=V(t&&t.dimensions,(function(t){var n=e.getData();return L(L({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})}));r=V(o,(function(t,e){return{name:t,type:a[e%2].type}})),i=new mx(r,n)}else i=new mx(r=[{name:"value",type:"float"}],n);var s=V(n.get("data"),U(HV,e,t,n));t&&(s=F(s,U(YV,t)));var l=t?function(t,e,n,i){return Af(t.coord[Math.floor(i/2)][i%2],r[i])}:function(t,e,n,i){return Af(t.value,r[i])};return i.initData(s,null,l),i.hasItemOption=!0,i}(r,t,e);e.setData(u),u.each((function(e){var n=V(XV,(function(n){return ZV(u,e,n,t,i)})),o=r.getAxis("x").scale,s=r.getAxis("y").scale,l=o.getExtent(),h=s.getExtent(),c=[o.parse(u.get("x0",e)),o.parse(u.get("x1",e))],d=[s.parse(u.get("y0",e)),s.parse(u.get("y1",e))];ro(c),ro(d);var p=!!(l[0]>c[1]||l[1]d[1]||h[1]=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(Hd),KV=U,$V=z,JV=Wr,QV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return i(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new JV),this.group.add(this._selectorGroup=new JV),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),o=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===o?"right":"left");var a=t.get("selector",!0),s=t.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(r,t,e,n,a,o,s);var l=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},h=t.get("padding"),c=Nd(l,u,h),d=this.layoutInner(t,r,c,i,a,s),p=Nd(k({width:d.width,height:d.height},l),u,h);this.group.x=p.x-d.x,this.group.y=p.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=ME(d,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,r,o,a){var s=this.getContentGroup(),l=mt(),u=e.get("selectedMode"),h=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&h.push(t.id)})),$V(e.getData(),(function(r,o){var a=r.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var c=new JV;return c.newline=!0,void s.add(c)}var d=n.getSeriesByName(a)[0];if(!l.get(a))if(d){var p=d.getData(),f=p.getVisual("legendLineStyle")||{},g=p.getVisual("legendIcon"),v=p.getVisual("style"),m=this._createItem(d,a,o,r,e,t,f,v,g,u,i);m.on("click",KV(tB,a,null,i,h)).on("mouseover",KV(nB,d.name,null,i,h)).on("mouseout",KV(iB,d.name,null,i,h)),n.ssr&&m.eachChild((function(t){var e=ll(t);e.seriesIndex=d.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}else n.eachRawSeries((function(s){if(!l.get(a)&&s.legendVisualProvider){var c=s.legendVisualProvider;if(!c.containName(a))return;var d=c.indexOfName(a),p=c.getItemVisual(d,"style"),f=c.getItemVisual(d,"legendIcon"),g=Qn(p.fill);g&&0===g[3]&&(g[3]=.2,p=L(L({},p),{fill:li(g,"rgba")}));var v=this._createItem(s,a,o,r,e,t,{},p,f,u,i);v.on("click",KV(tB,null,a,i,h)).on("mouseover",KV(nB,null,a,i,h)).on("mouseout",KV(iB,null,a,i,h)),n.ssr&&v.eachChild((function(t){var e=ll(t);e.seriesIndex=s.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}}),this)}),this),r&&this._createSelector(r,e,i,o,a)},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();$V(t,(function(t){var i=t.type,r=new qs({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect",legendId:e.id})}});o.add(r),sc(r,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),Kl(r)}))},e.prototype._createItem=function(t,e,n,i,r,o,a,s,l,u,h){var c,d,p,f=t.visualDrawType,g=r.get("itemWidth"),v=r.get("itemHeight"),m=r.isSelected(e),y=i.get("symbolRotate"),x=i.get("symbolKeepAspect"),_=i.get("icon"),b=function(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),$V(t,(function(n,i){"inherit"===t[i]&&(t[i]=e[i])}))}var l=e.getModel("itemStyle"),u=l.getItemStyle(),h=0===t.lastIndexOf("empty",0)?"fill":"stroke",c=l.getShallow("decal");u.decal=c&&"inherit"!==c?Im(c,a):i.decal,"inherit"===u.fill&&(u.fill=i[r]),"inherit"===u.stroke&&(u.stroke=i[h]),"inherit"===u.opacity&&(u.opacity=("fill"===r?i:n).opacity),s(u,i);var d=e.getModel("lineStyle"),p=d.getLineStyle();if(s(p,n),"auto"===u.fill&&(u.fill=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),"auto"===p.stroke&&(p.stroke=i.fill),!o){var f=e.get("inactiveBorderWidth"),g=u[h];u.lineWidth="auto"===f?i.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),p.stroke=d.get("inactiveColor"),p.lineWidth=d.get("inactiveWidth")}return{itemStyle:u,lineStyle:p}}(l=_||l||"roundRect",i,a,s,f,m,h),w=new JV,S=i.getModel("textStyle");if(!Z(t.getLegendIcon)||_&&"inherit"!==_){var M="inherit"===_&&t.getData().getVisual("symbol")?"inherit"===y?t.getData().getVisual("symbolRotate"):y:0;w.add((c={itemWidth:g,itemHeight:v,icon:l,iconRotate:M,itemStyle:b.itemStyle,symbolKeepAspect:x},d=c.icon||"roundRect",(p=jv(d,0,0,c.itemWidth,c.itemHeight,c.itemStyle.fill,c.symbolKeepAspect)).setStyle(c.itemStyle),p.rotation=(c.iconRotate||0)*Math.PI/180,p.setOrigin([c.itemWidth/2,c.itemHeight/2]),d.indexOf("empty")>-1&&(p.style.stroke=p.style.fill,p.style.fill="#fff",p.style.lineWidth=2),p))}else w.add(t.getLegendIcon({itemWidth:g,itemHeight:v,icon:l,iconRotate:y,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:x}));var I="left"===o?g+5:-5,T=o,C=r.get("formatter"),A=e;X(C)&&C?A=C.replace("{name}",null!=e?e:""):Z(C)&&(A=C(e));var D=m?S.getTextColor():i.get("inactiveColor");w.add(new qs({style:uc(S,{text:A,x:I,y:v/2,fill:D,align:T,verticalAlign:"middle"},{inheritColor:D})}));var L=new Zs({shape:w.getBoundingRect(),style:{fill:"transparent"}}),k=i.getModel("tooltip");return k.get("show")&&tc({el:L,componentModel:r,itemName:e,itemTooltipOption:k.option}),w.add(L),w.eachChild((function(t){t.silent=!0})),L.silent=!u,this.getContentGroup().add(w),Kl(w),w.__legendDataIndex=n,w},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();Rd(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){Rd("horizontal",s,t.get("selectorItemGap",!0));var h=s.getBoundingRect(),c=[-h.x,-h.y],d=t.get("selectorButtonGap",!0),p=t.getOrient().index,f=0===p?"width":"height",g=0===p?"height":"width",v=0===p?"y":"x";"end"===o?c[p]+=l[f]+d:u[p]+=h[f]+d,c[1-p]+=l[g]/2-h[g]/2,s.x=c[0],s.y=c[1],a.x=u[0],a.y=u[1];var m={x:0,y:0};return m[f]=l[f]+d+h[f],m[g]=Math.max(l[g],h[g]),m[v]=Math.min(0,h[v]+c[1-p]),m}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(Pg);function tB(t,e,n,i){iB(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),nB(t,e,n,i)}function eB(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;in[r],f=[-c.x,-c.y];e||(f[i]=l[s]);var g=[0,0],v=[-d.x,-d.y],m=ot(t.get("pageButtonGap",!0),t.get("itemGap",!0));p&&("end"===t.get("pageButtonPosition",!0)?v[i]+=n[r]-d[r]:g[i]+=d[r]+m),v[1-i]+=c[o]/2-d[o]/2,l.setPosition(f),u.setPosition(g),h.setPosition(v);var y={x:0,y:0};if(y[r]=p?n[r]:c[r],y[o]=Math.max(c[o],d[o]),y[a]=Math.min(0,d[a]+v[1-i]),u.__rectSize=n[r],p){var x={x:0,y:0};x[r]=Math.max(n[r]-d[r]-m,0),x[o]=y[o],u.setClipPath(new Zs({shape:x})),u.__rectSize=x[r]}else h.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var _=this._getPageInfo(t);return null!=_.pageIndex&&bh(l,{x:_.contentPosition[0],y:_.contentPosition[1]},p?t:null),this._updatePageInfoView(t,_),y},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;z(["pagePrev","pageNext"],(function(i){var r=null!=e[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var i=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;i&&r&&i.setStyle("text",X(r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):r({current:a,total:s}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=cB[r],a=dB[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],h=l.length,c=h?1:0,d={contentPosition:[n.x,n.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return d;var p=y(u);d.contentPosition[r]=-p.s;for(var f=s+1,g=p,v=p,m=null;f<=h;++f)(!(m=y(l[f]))&&v.e>g.s+i||m&&!x(m,g.s))&&(g=v.i>g.i?v:m)&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=g.i),++d.pageCount),v=m;for(f=s-1,g=p,v=p,m=null;f>=-1;--f)(m=y(l[f]))&&x(v,m.s)||!(g.i=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n):0;var e,n},e.type="legend.scroll",e}(QV);function fB(t){W_(sB),t.registerComponentModel(lB),t.registerComponentView(pB),function(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}(t)}function gB(t){W_(sB),W_(fB)}var vB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="dataZoom.inside",e.defaultOption=Rc(sE.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(sE),mB=Ho();function yB(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function xB(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function _B(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}function bB(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=mB(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=mt());i.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){z(oE(t).infoList,(function(n){var r=n.model.uid,o=i.get(r)||i.set(r,function(t,e){var n={model:e,containsPoint:U(_B,e),dispatchAction:U(xB,t),dataZoomInfoMap:null,controller:null},i=n.controller=new tI(t.getZr());return z(["pan","zoom","scrollMove"],(function(t){i.on(t,(function(e){var i=[];n.dataZoomInfoMap.each((function(r){if(e.isAvailableBehavior(r.model.option)){var o=(r.getRange||{})[t],a=o&&o(r.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!r.model.get("disabled",!0)&&a&&i.push({dataZoomId:r.model.id,start:a[0],end:a[1]})}})),i.length&&n.dispatchAction(i)}))})),n}(e,n.model));(o.dataZoomInfoMap||(o.dataZoomInfoMap=mt())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),i.each((function(t){var e,n=t.controller,r=t.dataZoomInfoMap;if(r){var o=r.keys()[0];null!=o&&(e=r.get(o))}if(e){var a=function(t){var e,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return t.each((function(t){var o=t.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");i[n+a]>i[n+e]&&(e=a),r=r&&o.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}(r);n.enable(a.controlType,a.opt),n.setPointerChecker(t.containsPoint),Zg(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else yB(i,t)}))}))}var wB=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return i(e,t),e.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),function(t,e,n){mB(t).coordSysRecordMap.each((function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)}))}(i,e,{pan:W(SB.pan,this),zoom:W(SB.zoom,this),scrollMove:W(SB.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=mB(t).coordSysRecordMap,i=n.keys(),r=0;r0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/i.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return RD(0,o,[0,100],0,h.minSpan,h.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:MB((function(t,e,n,i,r,o){var a=IB[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:MB((function(t,e,n,i,r,o){return IB[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta}))};function MB(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s)return RD(t(a,s,e,n,i,r),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}var IB={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}};function TB(t){mE(t),t.registerComponentModel(vB),t.registerComponentView(wB),bB(t)}var CB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=Rc(sE.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(sE),AB=Zs,DB="horizontal",LB="vertical",kB=["line","bar","candlestick","scatter"],PB={easing:"cubicOut",duration:100,delay:0},OB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return i(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=W(this._onBrush,this),this._onBrushEnd=W(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),Zg(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){Xg(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new Wr;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,i=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},o=this._orient===DB?{right:r.width-i.x-i.width,top:r.height-30-7-n,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},a=Bd(t.option);z(["right","top","width","height"],(function(t){"ph"===a[t]&&(a[t]=o[t])}));var s=Nd(a,r);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===LB&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==DB||r?n===DB&&r?{scaleY:a?1:-1,scaleX:-1}:n!==LB||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new AB({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new AB({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:W(this._onClickPanel,this)}),o=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),a=o&&r.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u=r.getDataExtent(a),h=.3*(u[1]-u[0]);u=[u[0]-h,u[1]+h];var c,d=[0,e[1]],p=[0,e[0]],f=[[e[0],0],[0,0]],g=[],v=p[1]/(r.count()-1),m=0,y=Math.round(r.count()/e[0]);r.each([a],(function(t,e){if(y>0&&e%y)m+=v;else{var n=null==t||isNaN(t)||""===t,i=n?0:eo(t,u,d,!0);n&&!c&&e?(f.push([f[f.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&c&&(f.push([m,0]),g.push([m,0])),f.push([m,i]),g.push([m,i]),m+=v,c=n}})),s=this._shadowPolygonPts=f,l=this._shadowPolylinePts=g}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var x=this.dataZoomModel,_=0;_<3;_++){var b=w(1===_);this._displayables.sliderGroup.add(b),this._displayables.dataShadowSegs.push(b)}}}function w(t){var e=x.getModel(t?"selectedDataBackground":"dataBackground"),n=new Wr,i=new qu({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new $u({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis((function(r,o){z(t.getAxisProxy(r,o).getTargetSeriesModels(),(function(t){if(!(n||!0!==e&&O(kB,t.get("type"))<0)){var a,s=i.getComponent(iE(r),o).axis,l=function(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}(r),u=t.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:r,otherDim:l,otherAxisInverse:a}}}),this)}),this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),h=e.filler=new AB({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(h),r.add(new AB({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),z([0,1],(function(e){var o=a.get("handleIcon");!Yv[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=jv(o,-1,0,2,2,null,!0);s.attr({cursor:RB(this._orient),draggable:!0,drift:W(this._onDragMove,this,e),ondragend:W(this._onDragEnd,this),onmouseover:W(this._showDataInfo,this,!0),onmouseout:W(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=a.get("handleSize");this._handleHeight=no(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),Kl(s);var h=a.get("handleColor");null!=h&&(s.style.fill=h),r.add(n[e]=s);var c=a.getModel("textStyle"),d=(a.get("handleLabel")||{}).show||!1;t.add(i[e]=new qs({silent:!0,invisible:!d,style:uc(c,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:c.getTextColor(),font:c.getFont()}),z2:10}))}),this);var c=h;if(u){var d=no(a.get("moveHandleSize"),o[1]),p=e.moveHandle=new Zs({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:d}}),f=.8*d,g=e.moveHandleIcon=jv(a.get("moveHandleIcon"),-f/2,-f/2,f,f,"#fff",!0);g.silent=!0,g.y=o[1]+d/2-.5,p.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var v=Math.min(o[1]/2,Math.max(d,10));(c=e.moveZone=new Zs({invisible:!0,shape:{y:o[1]-v,height:d+v}})).on("mouseover",(function(){s.enterEmphasis(p)})).on("mouseout",(function(){s.leaveEmphasis(p)})),r.add(p),r.add(g),r.add(c)}c.attr({draggable:!0,cursor:RB(this._orient),drift:W(this._onDragMove,this,"all"),ondragstart:W(this._showDataInfo,this,!0),ondragend:W(this._onDragEnd,this),onmouseover:W(this._showDataInfo,this,!0),onmouseout:W(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[eo(t[0],[0,100],e,!0),eo(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];RD(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?eo(o.minSpan,a,r,!0):null,null!=o.maxSpan?eo(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=ro([eo(i[0],r,a,!0),eo(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=ro(n.slice()),r=this._size;z([0,1],(function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],l=0;le[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new Le(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var i=this._getViewExtent(),r=[0,100];this._range=ro([eo(n.x,i,r,!0),eo(n.x+n.width,i,r,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(ge(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new AB({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?PB:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=oE(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},e.type="dataZoom.slider",e}(hE);function RB(t){return"vertical"===t?"ns-resize":"ew-resize"}function NB(t){t.registerComponentModel(CB),t.registerComponentView(OB),mE(t)}function EB(t){W_(TB),W_(NB)}var zB=function(t,e,n){var i=C((VB[t]||{})[e]);return n&&Y(i)?i[i.length-1]:i},VB={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},BB=CC.mapVisual,FB=CC.eachVisual,GB=Y,HB=z,WB=ro,UB=eo,YB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return i(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&Nz(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=W(t,this),this.controllerVisuals=Rz(this.option.controller,e,t),this.targetVisuals=Rz(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,n){e.push(n)})):e=Lo(t),e},e.prototype.eachTargetSeries=function(t,e){z(this.getTargetSeriesIndices(),(function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)}),this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},e.prototype.formatValueText=function(t,e,n){var i,r=this.option,o=r.precision,a=this.dataBound,s=r.formatter;n=n||["<",">"],Y(t)&&(t=t.slice(),i=!0);var l=e?t:i?[u(t[0]),u(t[1])]:u(t);return X(s)?s.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):Z(s)?i?s(t[0],t[1]):s(t):i?t[0]===a[0]?n[0]+" "+l[1]:t[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(t){return t===a[0]?"min":t===a[1]?"max":(+t).toFixed(Math.min(o,20))}},e.prototype.resetExtent=function(){var t=this.option,e=WB([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var r=n[i],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});A(i,n),A(r,n);var o=this.isCategory();function a(n){GB(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}a.call(this,i),a.call(this,r),function(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},HB(i,(function(t,e){if(CC.isValidType(e)){var n=zB(e,"inactive",o);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),r=this.getItemSymbol()||"roundRect";HB(this.stateList,(function(a){var s=this.itemSize,l=t[a];l||(l=t[a]={color:o?i:[i]}),null==l.symbol&&(l.symbol=e&&C(e)||(o?r:[r])),null==l.symbolSize&&(l.symbolSize=n&&C(n)||(o?s[0]:[s[0],s[0]])),l.symbol=BB(l.symbol,(function(t){return"none"===t?r:t}));var u=l.symbolSize;if(null!=u){var h=-1/0;FB(u,(function(t){t>h&&(h=t)})),l.symbolSize=BB(u,(function(t){return UB(t,[0,h],[0,s[0]],!0)}))}}),this)}.call(this,r)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(Hd),ZB=[20,140],XB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=ZB[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=ZB[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):Y(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),z(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=ro((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},e.prototype.getVisualMeta=function(t){var e=jB(0,0,this.getExtent()),n=jB(0,0,this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;at[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new Wr("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels,a=i.itemSize,s=i.getExtent(),l=this._applyTransform("left",n.mainGroup);tF([0,1],(function(u){var h=r[u];h.setStyle("fill",e.handlesColor[u]),h.y=t[u];var c=QB(t[u],[0,a[1]],s,!0),d=this.getControllerVisual(c,"symbolSize");h.scaleX=h.scaleY=d/a[0],h.x=a[0]-d/2;var p=Uh(n.handleLabelPoints[u],Wh(h,this.group));if("horizontal"===this._orient){var f="left"===l||"top"===l?(a[0]-d)/2:(a[0]-d)/-2;p[1]+=f}o[u].setStyle({x:p[0],y:p[1],text:i.formatValueText(this._dataInterval[u]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},e.prototype._showIndicator=function(t,e,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var h=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),c=this.getControllerVisual(t,"symbolSize"),d=QB(t,o,s,!0),p=a[0]-c/2,f={x:u.x,y:u.y};u.y=d,u.x=p;var g=Uh(l.indicatorLabelPoint,Wh(u,this.group)),v=l.indicatorLabel;v.attr("invisible",!1);var m=this._applyTransform("left",l.mainGroup),y="horizontal"===this._orient;v.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:y?m:"middle",align:y?"center":m});var x={x:p,y:d,style:{fill:h}},_={style:{x:g[0],y:g[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var b={duration:100,easing:"cubicInOut",additive:!0};u.x=f.x,u.y=f.y,u.animateTo(x,b),v.animateTo(_,b)}else u.attr(x),v.attr(_);this._firstShowIndicator=!1;var w=this._shapes.handleLabels;if(w)for(var S=0;Sr[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var h=this._hoverLinkDataIndices,c=[];(e||oF(n))&&(c=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var d=function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i=0&&(r.dimension=o,i.push(r))}})),t.getData().setVisual("visualMeta",i)}}];function hF(t,e,n,i){for(var r=e.targetVisuals[i],o=CC.prepareVisualTypes(r),a={color:Pv(t.getData(),"color")},s=0,l=o.length;s0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(sF,lF),z(uF,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(dF))}function vF(t){t.registerComponentModel(XB),t.registerComponentView(iF),gF(t)}var mF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return i(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],yF[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual((function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=C(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=V(this._pieceList,(function(t){return t=C(t),"inRange"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,n={},i=CC.listVisualTypes(),r=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}z(e.pieces,(function(t){z(i,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),z(n,(function(t,n){var i=!1;z(this.stateList,(function(t){i=i||o(e,t,n)||o(e.target,t,n)}),this),!i&&z(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=zB(n,"inRange"===t?"active":"inactive",r)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,z(i,(function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)}),this),"single"===n.selectedMode){var o=!1;z(i,(function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(o?r[n]=!1:o=!0)}),this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=C(t)},e.prototype.getValueState=function(t){var e=CC.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries((function(i){var r=[],o=i.getData();o.each(this.getDataDimensionIndex(o),(function(e,i){CC.findPieceIndex(e,n)===t&&r.push(i)}),this),e.push({seriesId:i.id,dataIndex:r})}),this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),(o=r[r.length-1].interval[1])!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var a=-1/0;return z(r,(function(t){var e=t.interval;e&&(e[0]>a&&s([a,e[0]],"outOfRange"),s(e.slice()),a=e[1])}),this),{stops:e,outerColors:n}}function s(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=t(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=Rc(YB.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(YB),yF={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;for(var o=(i[1]-i[0])/r;+o.toFixed(n)!==o&&n<5;)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var a=0,s=i[0];a","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function xF(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var _F=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,r=i.getFont(),o=i.getTextColor(),a=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),u=l.endsText,h=rt(e.get("showLabel",!0),!u),c=!e.get("selectedMode");u&&this._renderEndsText(t,u[0],s,h,a),z(l.viewPieceList,(function(i){var l=i.piece,u=new Wr;u.onclick=W(this._onItemClick,this,l),this._enableHoverLink(u,i.indexInModelPieceList);var d=e.getRepresentValue(l);if(this._createItemSymbol(u,d,[0,0,s[0],s[1]],c),h){var p=this.visualMapModel.getValueState(d);u.add(new qs({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:r,fill:o,opacity:"outOfRange"===p?.5:1},silent:c}))}t.add(u)}),this),u&&this._renderEndsText(t,u[1],s,h,a),Rd(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",(function(){return i("highlight")})).on("mouseout",(function(){return i("downplay")}));var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:JB(i.findTargetDataIndices(e),i)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return $B(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,i,r){if(e){var o=new Wr,a=this.visualMapModel.textStyleModel;o.add(new qs({style:uc(a,{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e})})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=V(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),i=t.get("orient"),r=t.get("inverse");return("horizontal"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n,i){var r=jv(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color"));r.silent=i,t.add(r)},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=n.selectedMode;if(i){var r=C(n.selected),o=e.getSelectedMapKey(t);"single"===i||!0===i?(r[o]=!0,z(r,(function(t,e){r[e]=e===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},e.type="visualMap.piecewise",e}(qB);function bF(t){t.registerComponentModel(mF),t.registerComponentView(_F),gF(t)}function wF(t){W_(vF),W_(bF)}var SF={label:{enabled:!0},decal:{show:!1}},MF=Ho(),IF={};function TF(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=C(SF);A(i.label,t.getLocaleModel().get("aria"),!1),A(n.option,i,!1),function(){if(n.getModel("decal").get("show")){var e=mt();t.eachSeries((function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||(n={},e.set(t.type,n)),MF(t).scope=n}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if(Z(e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var i=gp(e.ecModel,e.name,IF,t.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",u(r,i))}else{var o=e.getRawData(),a={},s=MF(e).scope;n.each((function(t){var e=n.getRawIndex(t);a[e]=t}));var l=o.count();o.each((function(t){var i=a[t],r=o.getName(t)||t+"",h=gp(e.ecModel,r,s,l),c=n.getItemVisual(i,"decal");n.setItemVisual(i,"decal",u(c,h))}))}}function u(t,e){var n=t?L(L({},e),t):e;return n.dirty=!0,n}}))}}(),function(){var i=e.getZr().dom;if(i){var o=t.getLocaleModel().get("aria"),a=n.getModel("label");if(a.option=k(a.option,o),a.get("enabled"))if(i.setAttribute("role","img"),a.get("description"))i.setAttribute("aria-label",a.get("description"));else{var s,l=t.getSeriesCount(),u=a.get(["data","maxCount"])||10,h=a.get(["series","maxCount"])||10,c=Math.min(l,h);if(!(l<1)){var d=function(){var e=t.get("title");return e&&e.length&&(e=e[0]),e&&e.text}();s=d?r(a.get(["general","withTitle"]),{title:d}):a.get(["general","withoutTitle"]);var p=[];s+=r(l>1?a.get(["series","multiple","prefix"]):a.get(["series","single","prefix"]),{seriesCount:l}),t.eachSeries((function(e,n){if(n1?a.get(["series","multiple",o]):a.get(["series","single",o]),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(_=e.subType,b=t.getLocaleModel().get(["series","typeNames"]),b[_]||b.chart)});var s=e.getData();s.count()>u?i+=r(a.get(["data","partialData"]),{displayCnt:u}):i+=a.get(["data","allData"]);for(var h=a.get(["data","separator","middle"]),d=a.get(["data","separator","end"]),f=a.get(["data","excludeDimensionId"]),g=[],v=0;v":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},DF=function(){function t(t){null==(this._condVal=X(t)?new RegExp(t):nt(t)?t:null)&&To("")}return t.prototype.evaluate=function(t){var e=typeof t;return X(e)?this._condVal.test(t):!!q(e)&&this._condVal.test(t+"")},t}(),LF=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),kF=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e2&&l.push(e),e=[t,n]}function f(t,n,i,r){ZF(t,i)&&ZF(n,r)||e.push(t,n,i,r,i,r)}function g(t,n,i,r,o,a){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,u=nM:C2&&l.push(e),l}function jF(t,e,n,i,r,o,a,s,l,u){if(ZF(t,n)&&ZF(e,i)&&ZF(r,a)&&ZF(o,s))l.push(a,s);else{var h=2/u,c=h*h,d=a-t,p=s-e,f=Math.sqrt(d*d+p*p);d/=f,p/=f;var g=n-t,v=i-e,m=r-a,y=o-s,x=g*g+v*v,_=m*m+y*y;if(x=0&&_-w*w=0)l.push(a,s);else{var S=[],M=[];Tn(t,n,r,a,.5,S),Tn(e,i,o,s,.5,M),jF(S[0],M[0],S[1],M[1],S[2],M[2],S[3],M[3],l,u),jF(S[4],M[4],S[5],M[5],S[6],M[6],S[7],M[7],l,u)}}}}function qF(t,e,n){var i=t[e],r=t[1-e],o=Math.abs(i/r),a=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],u=0;u0)for(u=0;uMath.abs(u),c=qF([l,u],h?0:1,e),d=(h?s:u)/c.length,p=0;p1?null:new Le(p*l+t,p*u+e)}function QF(t,e,n){var i=new Le;Le.sub(i,n,e),i.normalize();var r=new Le;return Le.sub(r,t,e),r.dot(i)}function tG(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function eG(t){var e=t.points,n=[],i=[];Wa(e,n,i);var r=new Be(n[0],n[1],i[0]-n[0],i[1]-n[1]),o=r.width,a=r.height,s=r.x,l=r.y,u=new Le,h=new Le;return o>a?(u.x=h.x=s+o/2,u.y=l,h.y=l+a):(u.y=h.y=l+a/2,u.x=s,h.x=s+o),function(t,e,n){for(var i=t.length,r=[],o=0;or,a=qF([i,r],o?0:1,e),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",h=o?"y":"x",c=t[s]/a.length,d=0;d0;l/=2){var u=0,h=0;(t&l)>0&&(u=1),(e&l)>0&&(h=1),s+=l*l*(3*u^h),0===h&&(1===u&&(t=l-1-t,e=l-1-e),a=t,t=e,e=a)}return s}function yG(t){var e=1/0,n=1/0,i=-1/0,r=-1/0,o=V(t,(function(t){var o=t.getBoundingRect(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]}));return V(o,(function(o,a){return{cp:o,z:mG(o[0],o[1],e,n,i,r),path:t[a]}})).sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function xG(t){return rG(t.path,t.count)}function _G(t){return Y(t[0])}function bG(t,e){for(var n=[],i=t.length,r=0;r=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[r].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var wG={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),i=0;i0){var s,l,u=i.getModel("universalTransition").get("delay"),h=Object.assign({setToFinal:!0},a);_G(t)&&(s=t,l=e),_G(e)&&(s=e,l=t);for(var c=s?s===t:t.length>e.length,d=s?bG(l,s):bG(c?e:t,[c?t:e]),p=0,f=0;fIG))for(var r=n.getIndices(),o=0;o0&&i.group.traverse((function(t){t instanceof Rs&&!t.animators.length&&t.animateFrom({style:{opacity:0}},r)}))}))}function zG(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function VG(t){return Y(t)?t.sort().join(","):t}function BG(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function FG(t,e){for(var n=0;n=0&&r.push({dataGroupId:e.oldDataGroupIds[n],data:e.oldData[n],divide:BG(e.oldData[n]),groupIdDim:t.dimension})})),z(Lo(t.to),(function(t){var i=FG(n.updatedSeries,t);if(i>=0){var r=n.updatedSeries[i].getData();o.push({dataGroupId:e.oldDataGroupIds[i],data:r,divide:BG(r),groupIdDim:t.dimension})}})),r.length>0&&o.length>0&&EG(r,o,i)}(t,i,n,e)}));else{var o=function(t,e){var n=mt(),i=mt(),r=mt();return z(t.oldSeries,(function(e,n){var o=t.oldDataGroupIds[n],a=t.oldData[n],s=zG(e),l=VG(s);i.set(l,{dataGroupId:o,data:a}),Y(s)&&z(s,(function(t){r.set(t,{key:l,dataGroupId:o,data:a})}))})),z(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.get("dataGroupId"),o=t.getData(),a=zG(t),s=VG(a),l=i.get(s);if(l)n.set(s,{oldSeries:[{dataGroupId:l.dataGroupId,divide:BG(l.data),data:l.data}],newSeries:[{dataGroupId:e,divide:BG(o),data:o}]});else if(Y(a)){var u=[];z(a,(function(t){var e=i.get(t);e.data&&u.push({dataGroupId:e.dataGroupId,divide:BG(e.data),data:e.data})})),u.length&&n.set(s,{oldSeries:u,newSeries:[{dataGroupId:e,data:o,divide:BG(o)}]})}else{var h=r.get(a);if(h){var c=n.get(h.key);c||(c={oldSeries:[{dataGroupId:h.dataGroupId,data:h.data,divide:BG(h.data)}],newSeries:[]},n.set(h.key,c)),c.newSeries.push({dataGroupId:e,data:o,divide:BG(o)})}}}})),n}(i,n);z(o.keys(),(function(t){var n=o.get(t);EG(n.oldSeries,n.newSeries,e)}))}z(n.updatedSeries,(function(t){t[Sg]&&(t[Sg]=!1)}))}for(var a=t.getSeries(),s=i.oldSeries=[],l=i.oldDataGroupIds=[],u=i.oldData=[],h=0;h=YG:-l>=YG),d=l>0?l%YG:l%YG+YG,p=!1;p=!!c||!vi(h)&&d>=UG==!!u;var f=t+n*WG(o),g=e+i*HG(o);this._start&&this._add("M",f,g);var v=Math.round(r*ZG);if(c){var m=1/this._p,y=(u?1:-1)*(YG-m);this._add("A",n,i,v,1,+u,t+n*WG(o+y),e+i*HG(o+y)),m>.01&&this._add("A",n,i,v,0,+u,f,g)}else{var x=t+n*WG(a),_=e+i*HG(a);this._add("A",n,i,v,+p,+u,x,_)}},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,o,a,s,l){for(var u=[],h=this._p,c=1;c"}(r,o)+("style"!==r?oe(a):a||"")+(i?""+n+V(i,(function(e){return t(e)})).join(n)+n:"")+function(t){return""}(r)}(t)}function oH(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function aH(t,e,n,i){return iH("svg","root",{width:t,height:e,xmlns:QG,"xmlns:xlink":tH,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+t+" "+e},n)}var sH=0;function lH(){return sH++}var uH={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},hH="transform-origin";function cH(t,e,n){var i=L({},t.shape);L(i,e),t.buildPath(n,i);var r=new XG;return r.reset(Ti(t)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function dH(t,e){var n=e.originX,i=e.originY;(n||i)&&(t[hH]=n+"px "+i+"px")}var pH={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function fH(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function gH(t){return X(t)?uH[t]?"cubic-bezier("+uH[t]+")":En(t)?t:"":""}function vH(t,e,n,i){var r=t.animators,o=r.length,a=[];if(t instanceof sh){var s=function(t,e,n){var i,r,o=t.shape.paths,a={};if(z(o,(function(t){var e=oH(n.zrId);e.animation=!0,vH(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=H(o),u=l.length;if(u){var h=o[r=l[u-1]];for(var c in h){var d=h[c];a[c]=a[c]||{d:""},a[c].d+=d.d||""}for(var p in s){var f=s[p].animation;f.indexOf(r)>=0&&(i=f)}}})),i){e.d=!1;var s=fH(a,n);return i.replace(r,s)}}(t,e,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u0})).length)return fH(h,n)+" "+r[0]+" both"}for(var v in l)(s=g(l[v]))&&a.push(s);if(a.length){var m=n.zrId+"-cls-"+lH();n.cssNodes["."+m]={animation:a.join(",")},e.class=m}}function mH(t,e,n,i){var r=JSON.stringify(t),o=n.cssStyleCache[r];o||(o=n.zrId+"-cls-"+lH(),n.cssStyleCache[r]=o,n.cssNodes["."+o+":hover"]=t),e.class=e.class?e.class+" "+o:o}var yH=Math.round;function xH(t){return t&&X(t.src)}function _H(t){return t&&Z(t.toDataURL)}function bH(t,e,n,i){JG((function(r,o){var a="fill"===r||"stroke"===r;a&&Mi(o)?PH(e,t,r,i):a&&bi(o)?OH(n,t,r,i):t[r]=o,a&&i.ssr&&"none"===o&&(t["pointer-events"]="visible")}),e,n,!1),function(t,e,n){var i=t.style;if(function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}(i)){var r=function(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}(t),o=n.shadowCache,a=o[r];if(!a){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var h=i.shadowOffsetX||0,c=i.shadowOffsetY||0,d=i.shadowBlur,p=fi(i.shadowColor),f=p.opacity,g=p.color,v=d/2/l+" "+d/2/u;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=iH("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[iH("feDropShadow","",{dx:h/l,dy:c/u,stdDeviation:v,"flood-color":g,"flood-opacity":f})]),o[r]=a}e.filter=Ii(a)}}(n,t,i)}function wH(t,e){var n=Kr(e);n&&(n.each((function(e,n){null!=e&&(t[(eH+n).toLowerCase()]=e+"")})),e.isSilent()&&(t[eH+"silent"]="true"))}function SH(t){return vi(t[0]-1)&&vi(t[1])&&vi(t[2])&&vi(t[3]-1)}function MH(t,e,n){if(e&&(!function(t){return vi(t[4])&&vi(t[5])}(e)||!SH(e))){var i=1e4;t.transform=SH(e)?"translate("+yH(e[4]*i)/i+" "+yH(e[5]*i)/i+")":function(t){return"matrix("+mi(t[0])+","+mi(t[1])+","+mi(t[2])+","+mi(t[3])+","+yi(t[4])+","+yi(t[5])+")"}(e)}}function IH(t,e,n){for(var i=t.points,r=[],o=0;o=0&&a||o;s&&(r=ci(s))}var l=i.lineWidth;l&&(l/=!i.strokeNoScale&&t.transform?t.transform[0]:1);var u={cursor:"pointer"};r&&(u.fill=r),i.stroke&&(u.stroke=i.stroke),l&&(u["stroke-width"]=l),mH(u,e,n)}}(t,o,e),iH(s,t.id+"",o)}function kH(t,e){return t instanceof Rs?LH(t,e):t instanceof Bs?function(t,e){var n=t.style,i=n.image;if(i&&!X(i)&&(xH(i)?i=i.src:_H(i)&&(i=i.toDataURL())),i){var r=n.x||0,o=n.y||0,a={href:i,width:n.width,height:n.height};return r&&(a.x=r),o&&(a.y=o),MH(a,t.transform),bH(a,n,t,e),wH(a,t),e.animation&&vH(t,a,e),iH("image",t.id+"",a)}}(t,e):t instanceof Es?function(t,e){var n=t.style,i=n.text;if(null!=i&&(i+=""),i&&!isNaN(n.x)&&!isNaN(n.y)){var r=n.font||u,o=n.x||0,a=function(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}(n.y||0,Lr(r),n.textBaseline),s={"dominant-baseline":"central","text-anchor":xi[n.textAlign]||n.textAlign};if(el(n)){var h="",c=n.fontStyle,d=Qs(n.fontSize);if(!parseFloat(d))return;var p=n.fontFamily||l,f=n.fontWeight;h+="font-size:"+d+";font-family:"+p+";",c&&"normal"!==c&&(h+="font-style:"+c+";"),f&&"normal"!==f&&(h+="font-weight:"+f+";"),s.style=h}else s.style="font: "+r;return i.match(/\s/)&&(s["xml:space"]="preserve"),o&&(s.x=o),a&&(s.y=a),MH(s,t.transform),bH(s,n,t,e),wH(s,t),e.animation&&vH(t,s,e),iH("text",t.id+"",s,void 0,i)}}(t,e):void 0}function PH(t,e,n,i){var r,o=t[n],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(wi(o))r="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!Si(o))return;r="radialGradient",a.cx=ot(o.x,.5),a.cy=ot(o.y,.5),a.r=ot(o.r,.5)}for(var s=o.colorStops,l=[],u=0,h=s.length;ul?jH(t,null==n[c+1]?null:n[c+1].elm,n,s,c):qH(t,e,a,l))}(n,i,r):UH(r)?(UH(t.text)&&GH(n,""),jH(n,null,r,0,r.length-1)):UH(i)?qH(n,i,0,i.length-1):UH(t.text)&&GH(n,""):t.text!==e.text&&(UH(i)&&qH(n,i,0,i.length-1),GH(n,e.text)))}var JH=0,QH=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=function(){},this.configLayer=function(){},this.storage=e,this._opts=n=L({},n),this.root=t,this._id="zr"+JH++,this._oldVNode=aH(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=nH("svg");KH(null,this._oldVNode),i.appendChild(r),t.appendChild(i)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",function(t,e){if(ZH(t,e))$H(t,e);else{var n=t.elm,i=BH(n);XH(e),null!==i&&(EH(i,e.elm,FH(n)),qH(i,[t],0,0))}}(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return kH(t,oH(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,i=this._height,r=oH(this._id);r.animation=t.animation,r.willUpdate=t.willUpdate,r.compress=t.compress,r.emphasis=t.emphasis,r.ssr=this._opts.ssr;var o=[],a=this._bgVNode=function(t,e,n,i){var r;if(n&&"none"!==n)if(r=iH("rect","bg",{width:t,height:e,x:"0",y:"0"}),Mi(n))PH({fill:n},r.attrs,"fill",i);else if(bi(n))OH({style:{fill:n},dirty:wt,getBoundingRect:function(){return{width:t,height:e}}},r.attrs,"fill",i);else{var o=fi(n),a=o.color,s=o.opacity;r.attrs.fill=a,s<1&&(r.attrs["fill-opacity"]=s)}return r}(n,i,this._backgroundColor,r);a&&o.push(a);var s=t.compress?null:this._mainVNode=iH("g","main",{},[]);this._paintList(e,r,s?s.children:o),s&&o.push(s);var l=V(H(r.defs),(function(t){return r.defs[t]}));if(l.length&&o.push(iH("defs","defs",{},l)),t.animation){var u=function(t,e,n){var i=(n=n||{}).newline?"\n":"",r=" {"+i,o=i+"}",a=V(H(t),(function(e){return e+r+V(H(t[e]),(function(n){return n+":"+t[e][n]+";"})).join(i)+o})).join(i),s=V(H(e),(function(t){return"@keyframes "+t+r+V(H(e[t]),(function(n){return n+r+V(H(e[t][n]),(function(i){var r=e[t][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"})).join(i)+o})).join(i)+o})).join(i);return a||s?[""].join(i):""}(r.cssNodes,r.cssAnims,{newline:!0});if(u){var h=iH("style","stl",{},[],u);o.push(h)}}return aH(n,i,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},rH(this.renderToVNode({animation:ot(t.cssAnimation,!0),emphasis:ot(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:ot(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,o=t.length,a=[],s=0,l=0,u=0;u=0&&(!c||!r||c[f]!==r[f]);f--);for(var g=p-1;g>f;g--)i=a[--s-1];for(var v=f+1;v=a)}}for(var h=this.__startIndex;h15)break}n.prevElClipPaths&&u.restore()};if(d)if(0===d.length)s=l.__endIndex;else for(var _=p.dpr,b=0;b0&&t>i[0]){for(s=0;st);s++);a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i0?rW:0),this._needsManuallyCompositing),u.__builtin__||T("ZLevel "+l+" has been used by unkown layer "+u.id),u!==o&&(u.__used=!0,u.__startIndex!==r&&(u.__dirty=!0),u.__startIndex=r,u.incremental?u.__drawIndex=-1:u.__drawIndex=r,e(r),o=u),s.__dirty&nn&&!s.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=r))}e(r),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,z(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?A(n[t],e,!0):n[t]=e;for(var i=0;i=11),domSupported:"undefined"!=typeof document}),fW=s}var xW,_W={};function bW(){if(xW)return _W;xW=1;var t={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},e={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},n=Object.prototype.toString,i=Array.prototype,r=i.forEach,o=i.filter,a=i.slice,s=i.map,l=i.reduce,u={};function h(i){if(null==i||"object"!=typeof i)return i;var r=i,o=n.call(i);if("[object Array]"===o){if(!w(i)){r=[];for(var a=0,s=i.length;a3&&(r=t.call(r,1));for(var a=n.length,s=0;s4&&(r=t.call(r,1,r.length-1));for(var a=r[r.length-1],s=n.length,l=0;l>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[s]+":0",r[l]+":0",i[1-s]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(r,u),c=function(t,e,i){for(var r=i?"invTrans":"trans",o=e[r],a=e.srcCoords,s=!0,l=[],u=[],h=0;h<4;h++){var c=t[h].getBoundingClientRect(),d=2*h,p=c.left,f=c.top;l.push(p,f),s=s&&a&&p===a[d]&&f===a[d+1],u.push(t[h].offsetLeft,t[h].offsetTop)}return s&&o?o:(e.srcCoords=l,e[r]=i?n(u,l):n(l,u))}(h,u,l);if(c)return c(e,o,s),!0}return!1}function a(t){return"CANVAS"===t.nodeName.toUpperCase()}return VW.transformLocalCoord=function(t,e,n,i,a){return o(r,e,i,a,!0)&&o(t,n,r[0],r[1])},VW.transformCoordWithViewport=o,VW.isCanvasEl=a,VW}function GW(){if(PW)return zW;PW=1;var t=DW();zW.Dispatcher=t;var e=yW(),n=FW(),i=n.isCanvasEl,r=n.transformCoordWithViewport,o="undefined"!=typeof window&&!!window.addEventListener,a=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,s=[];function l(t,n,i,r){return i=i||{},r||!e.canvasSupported?u(t,n,i):e.browser.firefox&&null!=n.layerX&&n.layerX!==n.offsetX?(i.zrX=n.layerX,i.zrY=n.layerY):null!=n.offsetX?(i.zrX=n.offsetX,i.zrY=n.offsetY):u(t,n,i),i}function u(t,n,o){if(e.domSupported&&t.getBoundingClientRect){var a=n.clientX,l=n.clientY;if(i(t)){var u=t.getBoundingClientRect();return o.zrX=a-u.left,void(o.zrY=l-u.top)}if(r(s,t,a,l))return o.zrX=s[0],void(o.zrY=s[1])}o.zrX=o.zrY=0}function h(t){return t||window.event}var c=o?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};return zW.clientToLocal=l,zW.getNativeEvent=h,zW.normalizeEvent=function(t,e,n){if(null!=(e=h(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&l(t,r,e,n)}else l(t,e,e,n),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var o=e.button;return null==e.which&&void 0!==o&&a.test(e.type)&&(e.which=1&o?1:2&o?3:4&o?2:0),e},zW.addEventListener=function(t,e,n,i){o?t.addEventListener(e,n,i):t.attachEvent("on"+e,n)},zW.removeEventListener=function(t,e,n,i){o?t.removeEventListener(e,n,i):t.detachEvent("on"+e,n)},zW.stop=c,zW.isMiddleOrRightButtonOnMouseUpDown=function(t){return 2===t.which||3===t.which},zW.notLeftMouse=function(t){return t.which>1},zW}function HW(){if(EW)return NW;EW=1;var t=bW(),e=AW(),n=function(){if(MW)return SW;function t(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}function e(t,e){return{target:t,topTarget:e&&e.topTarget}}return MW=1,t.prototype={constructor:t,_dragStart:function(t){for(var n=t.target;n&&!n.draggable;)n=n.parent;n&&(this._draggingTarget=n,n.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(e(n,t),"dragstart",t.event))},_drag:function(t){var n=this._draggingTarget;if(n){var i=t.offsetX,r=t.offsetY,o=i-this._x,a=r-this._y;this._x=i,this._y=r,n.drift(o,a,t),this.dispatchToElement(e(n,t),"drag",t.event);var s=this.findHover(i,r,n).target,l=this._dropTarget;this._dropTarget=s,n!==s&&(l&&s!==l&&this.dispatchToElement(e(l,t),"dragleave",t.event),s&&s!==l&&this.dispatchToElement(e(s,t),"dragenter",t.event))}},_dragEnd:function(t){var n=this._draggingTarget;n&&(n.dragging=!1),this.dispatchToElement(e(n,t),"dragend",t.event),this._dropTarget&&this.dispatchToElement(e(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null}},SW=t}(),i=DW(),r=GW(),o=function(){if(RW)return OW;RW=1;var t=GW(),e=function(){this._track=[]};function n(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}e.prototype={constructor:e,recognize:function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},clear:function(){return this._track.length=0,this},_doTrack:function(e,n,i){var r=e.touches;if(r){for(var o={points:[],touches:[],target:n,event:e},a=0,s=r.length;a1&&o&&o.length>1){var s=n(o)/n(a);!isFinite(s)&&(s=1),e.pinchScale=s;var l=[((r=o)[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2];return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}};return OW=e}(),a="silent";function s(){r.stop(this.event)}function l(){}l.prototype.dispose=function(){};var u=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],h=function(t,e,r,o){i.call(this),this.storage=t,this.painter=e,this.painterRoot=o,r=r||new l,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,n.call(this),this.setHandlerProxy(r)};function c(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i,r=t;r;){if(r.clipPath&&!r.clipPath.contain(e,n))return!1;r.silent&&(i=!0),r=r.parent}return!i||a}return!1}function d(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}return h.prototype={constructor:h,setHandlerProxy:function(e){this.proxy&&this.proxy.dispose(),e&&(t.each(u,(function(t){e.on&&e.on(t,this[t],this)}),this),e.handler=this),this.proxy=e},mousemove:function(t){var e=t.zrX,n=t.zrY,i=d(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?{x:e,y:n}:this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},mouseout:function(t){var e=t.zrEventControl,n=t.zrIsToLocalDOM;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&!n&&this.trigger("globalout",{type:"globalout",event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var n=this[t];n&&n.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:s}}(e,t,n);i&&(i[r]&&(o.cancelBubble=i[r].call(i,o)),i.trigger(e,o),i=i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer((function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},findHover:function(t,e,n){for(var i=this.storage.getDisplayList(),r={x:t,y:e},o=i.length-1;o>=0;o--){var s;if(i[o]!==n&&!i[o].ignore&&(s=c(i[o],t,e))&&(!r.topTarget&&(r.topTarget=i[o]),s!==a)){r.target=i[o];break}}return r},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new o);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r,this.dispatchToElement({target:i.target},r,i.event)}}},t.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){h.prototype[t]=function(n){var i,r,o=n.zrX,a=n.zrY,s=d(this,o,a);if("mouseup"===t&&s||(r=(i=this.findHover(o,a)).target),"mousedown"===t)this._downEl=r,this._downPoint=[n.zrX,n.zrY],this._upEl=r;else if("mouseup"===t)this._upEl=r;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||e.dist(this._downPoint,[n.zrX,n.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,t,n)}})),t.mixin(h,i),t.mixin(h,n),NW=h}var WW,UW,YW,ZW,XW,jW,qW,KW={};function $W(){if(WW)return KW;WW=1;var t="undefined"==typeof Float32Array?Array:Float32Array;function e(){var e=new t(6);return n(e),e}function n(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}return KW.create=e,KW.identity=n,KW.copy=i,KW.mul=function(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t},KW.translate=function(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t},KW.rotate=function(t,e,n){var i=e[0],r=e[2],o=e[4],a=e[1],s=e[3],l=e[5],u=Math.sin(n),h=Math.cos(n);return t[0]=i*h+a*u,t[1]=-i*u+a*h,t[2]=r*h+s*u,t[3]=-r*u+h*s,t[4]=h*o+u*l,t[5]=h*l-u*o,t},KW.scale=function(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t},KW.invert=function(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null},KW.clone=function(t){var n=e();return i(n,t),n},KW}function JW(){if(YW)return UW;YW=1;var t=$W(),e=AW(),n=t.identity,i=5e-5;function r(t){return t>i||t<-5e-5}var o=function(t){(t=t||{}).position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},a=o.prototype;a.transform=null,a.needLocalTransform=function(){return r(this.rotation)||r(this.position[0])||r(this.position[1])||r(this.scale[0]-1)||r(this.scale[1]-1)};var s=[];a.updateTransform=function(){var e=this.parent,i=e&&e.transform,r=this.needLocalTransform(),o=this.transform;if(r||i){o=o||t.create(),r?this.getLocalTransform(o):n(o),i&&(r?t.mul(o,e.transform,o):t.copy(o,e.transform)),this.transform=o;var a=this.globalScaleRatio;if(null!=a&&1!==a){this.getGlobalScale(s);var l=s[0]<0?-1:1,u=s[1]<0?-1:1,h=((s[0]-l)*a+l)/s[0]||0,c=((s[1]-u)*a+u)/s[1]||0;o[0]*=h,o[1]*=h,o[2]*=c,o[3]*=c}this.invTransform=this.invTransform||t.create(),t.invert(this.invTransform,o)}else o&&n(o)},a.getLocalTransform=function(t){return o.getLocalTransform(this,t)},a.setTransform=function(t){var e=this.transform,n=t.dpr||1;e?t.setTransform(n*e[0],n*e[1],n*e[2],n*e[3],n*e[4],n*e[5]):t.setTransform(n,0,0,n,0,0)},a.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var l=[],u=t.create();return a.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=this.position,o=this.scale;r(e-1)&&(e=Math.sqrt(e)),r(n-1)&&(n=Math.sqrt(n)),t[0]<0&&(e=-e),t[3]<0&&(n=-n),i[0]=t[4],i[1]=t[5],o[0]=e,o[1]=n,this.rotation=Math.atan2(-t[1]/n,t[0]/e)}},a.decomposeTransform=function(){if(this.transform){var e=this.parent,n=this.transform;e&&e.transform&&(t.mul(l,e.invTransform,n),n=l);var i=this.origin;i&&(i[0]||i[1])&&(u[4]=i[0],u[5]=i[1],t.mul(l,n,u),l[4]-=i[0],l[5]-=i[1],n=l),this.setLocalTransform(n)}},a.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},a.transformCoordToLocal=function(t,n){var i=[t,n],r=this.invTransform;return r&&e.applyTransform(i,i,r),i},a.transformCoordToGlobal=function(t,n){var i=[t,n],r=this.transform;return r&&e.applyTransform(i,i,r),i},o.getLocalTransform=function(e,i){n(i=i||[]);var r=e.origin,o=e.scale||[1,1],a=e.rotation||0,s=e.position||[0,0];return r&&(i[4]-=r[0],i[5]-=r[1]),t.scale(i,i,o),a&&t.rotate(i,i,a),r&&(i[4]+=r[0],i[5]+=r[1]),i[4]+=s[0],i[5]+=s[1],i},UW=o}function QW(){if(qW)return jW;qW=1;var t=function(){if(XW)return ZW;XW=1;var t={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(e){return 1-t.bounceOut(1-e)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(e){return e<.5?.5*t.bounceIn(2*e):.5*t.bounceOut(2*e-1)+.5}};return ZW=t}();function e(t){this._target=t.target,this._life=t.life||1e3,this._delay=t.delay||0,this._initialized=!1,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"Linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart,this._pausedTime=0,this._paused=!1}return e.prototype={constructor:e,step:function(e,n){if(this._initialized||(this._startTime=e+this._delay,this._initialized=!0),this._paused)this._pausedTime+=n;else{var i=(e-this._startTime-this._pausedTime)/this._life;if(!(i<0)){i=Math.min(i,1);var r=this.easing,o="string"==typeof r?t[r]:r,a="function"==typeof o?o(i):i;return this.fire("frame",a),1===i?this.loop?(this.restart(e),"restart"):(this._needsRemove=!0,"destroy"):null}}},restart:function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(t,e){this[t="on"+t]&&this[t](this._target,e)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}},jW=e}var tU,eU,nU,iU,rU,oU={};function aU(){if(eU)return tU;eU=1;var t=function(){this.head=null,this.tail=null,this._len=0},e=t.prototype;e.insert=function(t){var e=new n(t);return this.insertEntry(e),e},e.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},e.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},e.len=function(){return this._len},e.clear=function(){this.head=this.tail=null,this._len=0};var n=function(t){this.value=t,this.next,this.prev},i=function(e){this._list=new t,this._map={},this._maxSize=e||10,this._lastRemovedEntry=null},r=i.prototype;return r.put=function(t,e){var i=this._list,r=this._map,o=null;if(null==r[t]){var a=i.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=i.head;i.remove(l),delete r[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new n(e),s.key=t,i.insertEntry(s),r[t]=s}return o},r.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},r.clear=function(){this._list.clear(),this._map={}},tU=i}function sU(){if(nU)return oU;nU=1;var t=aU(),e={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function n(t){return(t=Math.round(t))<0?0:t>255?255:t}function i(t){return t<0?0:t>1?1:t}function r(t){return t.length&&"%"===t.charAt(t.length-1)?n(parseFloat(t)/100*255):n(parseInt(t,10))}function o(t){return t.length&&"%"===t.charAt(t.length-1)?i(parseFloat(t)/100):i(parseFloat(t))}function a(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function s(t,e,n){return t+(e-t)*n}function l(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function u(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var h=new t(20),c=null;function d(t,e){c&&u(c,e),c=h.put(t,c||e.slice())}function p(t,n){if(t){n=n||[];var i=h.get(t);if(i)return u(n,i);var a,s=(t+="").replace(/ /g,"").toLowerCase();if(s in e)return u(n,e[s]),d(t,n),n;if("#"===s.charAt(0))return 4===s.length?(a=parseInt(s.substr(1),16))>=0&&a<=4095?(l(n,(3840&a)>>4|(3840&a)>>8,240&a|(240&a)>>4,15&a|(15&a)<<4,1),d(t,n),n):void l(n,0,0,0,1):7===s.length?(a=parseInt(s.substr(1),16))>=0&&a<=16777215?(l(n,(16711680&a)>>16,(65280&a)>>8,255&a,1),d(t,n),n):void l(n,0,0,0,1):void 0;var c=s.indexOf("("),p=s.indexOf(")");if(-1!==c&&p+1===s.length){var g=s.substr(0,c),v=s.substr(c+1,p-(c+1)).split(","),m=1;switch(g){case"rgba":if(4!==v.length)return void l(n,0,0,0,1);m=o(v.pop());case"rgb":return 3!==v.length?void l(n,0,0,0,1):(l(n,r(v[0]),r(v[1]),r(v[2]),m),d(t,n),n);case"hsla":return 4!==v.length?void l(n,0,0,0,1):(v[3]=o(v[3]),f(v,n),d(t,n),n);case"hsl":return 3!==v.length?void l(n,0,0,0,1):(f(v,n),d(t,n),n);default:return}}l(n,0,0,0,1)}}function f(t,e){var i=(parseFloat(t[0])%360+360)%360/360,r=o(t[1]),s=o(t[2]),u=s<=.5?s*(r+1):s+r-s*r,h=2*s-u;return l(e=e||[],n(255*a(h,u,i+1/3)),n(255*a(h,u,i)),n(255*a(h,u,i-1/3)),1),4===t.length&&(e[3]=t[3]),e}function g(t,e,r){if(e&&e.length&&t>=0&&t<=1){r=r||[];var o=t*(e.length-1),a=Math.floor(o),l=Math.ceil(o),u=e[a],h=e[l],c=o-a;return r[0]=n(s(u[0],h[0],c)),r[1]=n(s(u[1],h[1],c)),r[2]=n(s(u[2],h[2],c)),r[3]=i(s(u[3],h[3],c)),r}}var v=g;function m(t,e,r){if(e&&e.length&&t>=0&&t<=1){var o=t*(e.length-1),a=Math.floor(o),l=Math.ceil(o),u=p(e[a]),h=p(e[l]),c=o-a,d=x([n(s(u[0],h[0],c)),n(s(u[1],h[1],c)),n(s(u[2],h[2],c)),i(s(u[3],h[3],c))],"rgba");return r?{color:d,leftIndex:a,rightIndex:l,value:o}:d}}var y=m;function x(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}return oU.parse=p,oU.lift=function(t,e){var n=p(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:t[i]<0&&(n[i]=0);return x(n,4===n.length?"rgba":"rgb")}},oU.toHex=function(t){var e=p(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)},oU.fastLerp=g,oU.fastMapToColor=v,oU.lerp=m,oU.mapToColor=y,oU.modifyHSL=function(t,e,n,i){if(t=p(t))return t=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var h=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,d=((s-o)/6+l/2)/l;i===s?e=d-c:r===s?e=1/3+h-d:o===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,n,u];return null!=t[3]&&p.push(t[3]),p}}(t),null!=e&&(t[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(e)),null!=n&&(t[1]=o(n)),null!=i&&(t[2]=o(i)),x(f(t),"rgba")},oU.modifyAlpha=function(t,e){if((t=p(t))&&null!=e)return t[3]=i(e),x(t,"rgba")},oU.stringify=x,oU}function lU(){if(rU)return iU;rU=1;var t=QW(),e=sU(),n=bW().isArrayLike,i=Array.prototype.slice;function r(t,e){return t[e]}function o(t,e,n){t[e]=n}function a(t,e,n){return(e-t)*n+t}function s(t,e,n){return n>.5?e:t}function l(t,e,n,i,r){var o=t.length;if(1===r)for(var s=0;so)t.length=o;else for(var a=r;a=0&&!(C[n]<=e);n--);n=Math.min(n,_-2)}else{for(n=F;n<_&&!(C[n]>e);n++);n=Math.min(n-1,_-2)}F=n,G=e;var i=C[n+1]-C[n];if(0!==i)if(N=(e-C[n])/i,x)if(z=A[n],E=A[0===n?n:n-1],V=A[n>_-2?_-1:n+1],B=A[n>_-3?_-1:n+2],S)c(E,z,V,B,N,N*N,N*N*N,m(t,g),T);else{if(M)r=c(E,z,V,B,N,N*N,N*N*N,H,1),r=f(H);else{if(I)return s(z,V,N);r=d(E,z,V,B,N,N*N,N*N*N)}y(t,g,r)}else if(S)l(A[n],A[n+1],N,m(t,g),T);else{var r;if(M)l(A[n],A[n+1],N,H,1),r=f(H);else{if(I)return s(A[n],A[n+1],N);r=a(A[n],A[n+1],N)}y(t,g,r)}},ondestroy:o});return r&&"spline"!==r&&(W.easing=r),W}}}var v=function(t,e,n,i){this._tracks={},this._target=t,this._loop=e||!1,this._getter=n||r,this._setter=i||o,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};return v.prototype={when:function(t,e){var n=this._tracks;for(var i in e)if(e.hasOwnProperty(i)){if(!n[i]){n[i]=[];var r=this._getter(this._target,i);if(null==r)continue;0!==t&&n[i].push({time:0,value:p(r)})}n[i].push({time:t,value:e[i]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;t0&&t.animate(e,!1).when(null==r?500:r,u).delay(s||0)}function c(t,e,n,i){if(e){var r={};r[e]={},r[e][n]=i,t.attr(r)}else t.attr(n,i)}return l.prototype={constructor:l,animate:function(n,i){var r,o=!1,a=this,l=this.__zr;if(n){var u=n.split("."),h=a;o="shape"===u[0];for(var c=0,d=u.length;c=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},clone:function(){return new o(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},o.create=function(t){return new o(t.x,t.y,t.width,t.height)},vU=o}function PU(){if(xU)return yU;xU=1;var t=bW(),e=LU(),n=kU(),i=function(t){for(var n in t=t||{},e.call(this,t),t)t.hasOwnProperty(n)&&(this[n]=t[n]);this._children=[],this.__storage=null,this.__dirty=!0};return i.prototype={constructor:i,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,n=0;n=0&&(n.splice(i,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,n=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof i&&t.addChildrenToStorage(e)),n&&n.refresh()},remove:function(e){var n=this.__zr,r=this.__storage,o=this._children,a=t.indexOf(o,e);return a<0||(o.splice(a,1),e.parent=null,r&&(r.delFromStorage(e),e instanceof i&&e.delChildrenFromStorage(r)),n&&n.refresh()),this},removeAll:function(){var t,e,n=this._children,r=this.__storage;for(e=0;e=0;)r++;return r-e}function e(t,e,n,i,r){for(i===e&&i++;i>>1])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function n(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a>>1);o(t,e[n+h])>0?a=h+1:l=h}return l}function i(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a>>1);o(t,e[n+h])<0?l=h:a=h+1}return l}function r(t,e){var r,o,a=7,s=0;t.length;var l=[];function u(u){var h=r[u],c=o[u],d=r[u+1],p=o[u+1];o[u]=c+p,u===s-3&&(r[u+1]=r[u+2],o[u+1]=o[u+2]),s--;var f=i(t[d],t,h,c,0,e);h+=f,0!=(c-=f)&&0!==(p=n(t[h+c-1],t,d,p,p-1,e))&&(c<=p?function(r,o,s,u){var h=0;for(h=0;h=7||g>=7);if(v)break;m<0&&(m=0),m+=2}if((a=m)<1&&(a=1),1===o){for(h=0;h=0;h--)t[g+h]=t[f+h];if(0===o){x=!0;break}}if(t[p--]=l[d--],1==--u){x=!0;break}if(0!=(y=u-n(t[c],l,0,u,u-1,e))){for(u-=y,g=1+(p-=y),f=1+(d-=y),h=0;h=7||y>=7);if(x)break;v<0&&(v=0),v+=2}if((a=v)<1&&(a=1),1===u){for(g=1+(p-=o),f=1+(c-=o),h=o-1;h>=0;h--)t[g+h]=t[f+h];t[p]=l[d]}else{if(0===u)throw new Error;for(f=p-(u-1),h=0;h=0;h--)t[g+h]=t[f+h];t[p]=l[d]}else for(f=p-(u-1),h=0;h1;){var t=s-2;if(t>=1&&o[t-1]<=o[t]+o[t+1]||t>=2&&o[t-2]<=o[t]+o[t-1])o[t-1]o[t+1])break;u(t)}},this.forceMergeRuns=function(){for(;s>1;){var t=s-2;t>0&&o[t-1]=32;)e|=1&t,t>>=1;return t+e}(s);do{if((l=t(n,o,a,i))h&&(c=h),e(n,o,o+c,o+l,i),l=c}u.pushRun(o,l),u.mergeRuns(),s-=l,o+=l}while(0!==s);u.forceMergeRuns()}}},_U}function RU(){if(IU)return MU;IU=1;var t={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};return MU=function(e,n,i){return t.hasOwnProperty(n)?i*e.dpr:i}}var NU,EU,zU,VU,BU,FU,GU,HU,WU,UU={};function YU(){return NU||(NU=1,UU.ContextCachedBy={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},UU.WILL_BE_RESTORED=9),UU}function ZU(){if(zU)return EU;zU=1;var t=RU(),e=YU().ContextCachedBy,n=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],i=function(t){this.extendFrom(t,!1)};function r(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=isNaN(i)?0:i,r=isNaN(r)?1:r,o=isNaN(o)?0:o,a=isNaN(a)?0:a,t.createLinearGradient(i,o,r,a)}function o(t,e,n){var i=n.width,r=n.height,o=Math.min(i,r),a=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(a=a*i+n.x,s=s*r+n.y,l*=o),t.createRadialGradient(a,s,0,a,s,l)}i.prototype={constructor:i,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(i,r,o){var a=this,s=o&&o.style,l=!s||i.__attrCachedBy!==e.STYLE_BIND;i.__attrCachedBy=e.STYLE_BIND;for(var u=0;u0},extendFrom:function(t,e){if(t)for(var n in t)!t.hasOwnProperty(n)||!0!==e&&(!1===e?this.hasOwnProperty(n):null==t[n])||(this[n]=t[n])},set:function(t,e){"string"==typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,n){for(var i=("radial"===e.type?o:r)(t,e,n),a=e.colorStops,s=0;s5e3&&(u=0,l={}),u++,l[n]=r,r}function f(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function g(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function v(t,e,n){var i=e.textPosition,r=e.textDistance,o=n.x,a=n.y;r=r||0;var s=n.height,l=n.width,u=s/2,h="left",c="top";switch(i){case"left":o-=r,a+=u,h="right",c="middle";break;case"right":o+=r+l,a+=u,c="middle";break;case"top":o+=l/2,a-=r,h="center",c="bottom";break;case"bottom":o+=l/2,a+=s+r,h="center";break;case"inside":o+=l/2,a+=u,h="center",c="middle";break;case"insideLeft":o+=r,a+=u,c="middle";break;case"insideRight":o+=l-r,a+=u,h="right",c="middle";break;case"insideTop":o+=l/2,a+=r,h="center";break;case"insideBottom":o+=l/2,a+=s-r,h="center",c="bottom";break;case"insideTopLeft":o+=r,a+=r;break;case"insideTopRight":o+=l-r,a+=r,h="right";break;case"insideBottomLeft":o+=r,a+=s-r,c="bottom";break;case"insideBottomRight":o+=l-r,a+=s-r,h="right",c="bottom"}return(t=t||{}).x=o,t.y=a,t.textAlign=h,t.textVerticalAlign=c,t}function m(t,e,n,i,r){if(!e)return"";var o=(t+"").split("\n");r=y(e,n,i,r);for(var a=0,s=o.length;a=s;u++)l-=s;var h=p(n,e);return h>l&&(n="",h=0),l=t-h,i.ellipsis=n,i.ellipsisWidth=h,i.contentWidth=l,i.containerWidth=t,i}function x(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=p(t,i);if(o<=n)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?_(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;o=p(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function _(t,e,n,i){for(var r=0,o=0,a=t.length;oc)t="",s=[];else if(null!=d)for(var p=y(d-(n?n[1]+n[3]:0),e,r.ellipsis,{minChar:r.minChar,placeholder:r.placeholder}),f=0,g=s.length;fs&&I(i,t.substring(s,l)),I(i,r[2],r[1]),s=h.lastIndex}sx)return{lines:[],width:0,height:0};z.textWidth=p(z.text,D);var k=C.textWidth,P=null==k||"auto"===k;if("string"==typeof k&&"%"===k.charAt(k.length-1))z.percentWidth=k,f.push(z),k=0;else{if(P){k=z.textWidth;var O=C.textBackgroundColor,R=O&&O.image;R&&(R=e.findExistImage(R),e.isImageReady(R)&&(k=Math.max(k,R.width*L/R.height)))}var N=A?A[1]+A[3]:0;k+=N;var E=null!=y?y-M:null;null!=E&&Eu&&(n*=u/(a=n+i),i*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),i+r>h&&(i*=h/(a=i+r),r*=h/a),n+o>h&&(n*=h/(a=n+o),o*=h/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+h-r),0!==r&&t.arc(s+u-r,l+h-r,r,0,Math.PI/2),t.lineTo(s+o,l+h),0!==o&&t.arc(s+o,l+h-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}),mY}function xY(){if(iY)return $U;iY=1;var t=bW(),e=t.retrieve2,n=t.retrieve3,i=t.each,r=t.normalizeCssArray,o=t.isString,a=t.isObject,s=eY(),l=yY(),u=tY(),h=RU(),c=YU(),d=c.ContextCachedBy,p=c.WILL_BE_RESTORED,f=s.DEFAULT_FONT,g={left:1,right:1,center:1},v={top:1,bottom:1,middle:1},m=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],y={},x={};function _(t){if(t){t.font=s.makeFont(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||g[e]?e:"left";var n=t.textVerticalAlign||t.textBaseline;"center"===n&&(n="middle"),t.textVerticalAlign=null==n||v[n]?n:"top",t.textPadding&&(t.textPadding=r(t.textPadding))}}function b(t,e,n,i,r){if(n&&e.textRotation){var o=e.textOrigin;"center"===o?(i=n.width/2+n.x,r=n.height/2+n.y):o&&(i=o[0]+n.x,r=o[1]+n.y),t.translate(i,r),t.rotate(-e.textRotation),t.translate(-i,-r)}}function w(t,i,r,o,a,s,l,u){var h=o.rich[r.styleName]||{};h.text=r.text;var c=r.textVerticalAlign,d=s+a/2;"top"===c?d=s+r.height/2:"bottom"===c&&(d=s+a-r.height/2),!r.isLineHolder&&S(h)&&M(t,i,h,"right"===u?l-r.width:"center"===u?l-r.width/2:l,d-r.height/2,r.width,r.height);var p=r.textPadding;p&&(l=k(l,u,p),d-=r.height/2-p[2]-r.textHeight/2),C(i,"shadowBlur",n(h.textShadowBlur,o.textShadowBlur,0)),C(i,"shadowColor",h.textShadowColor||o.textShadowColor||"transparent"),C(i,"shadowOffsetX",n(h.textShadowOffsetX,o.textShadowOffsetX,0)),C(i,"shadowOffsetY",n(h.textShadowOffsetY,o.textShadowOffsetY,0)),C(i,"textAlign",u),C(i,"textBaseline","middle"),C(i,"font",r.font||f);var g=A(h.textStroke||o.textStroke,m),v=D(h.textFill||o.textFill),m=e(h.textStrokeWidth,o.textStrokeWidth);g&&(C(i,"lineWidth",m),C(i,"strokeStyle",g),i.strokeText(r.text,l,d)),v&&(C(i,"fillStyle",v),i.fillText(r.text,l,d))}function S(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function M(t,e,n,i,r,s,h){var c=n.textBackgroundColor,d=n.textBorderWidth,p=n.textBorderColor,f=o(c);if(C(e,"shadowBlur",n.textBoxShadowBlur||0),C(e,"shadowColor",n.textBoxShadowColor||"transparent"),C(e,"shadowOffsetX",n.textBoxShadowOffsetX||0),C(e,"shadowOffsetY",n.textBoxShadowOffsetY||0),f||d&&p){e.beginPath();var g=n.textBorderRadius;g?l.buildPath(e,{x:i,y:r,width:s,height:h,r:g}):e.rect(i,r,s,h),e.closePath()}if(f)if(C(e,"fillStyle",c),null!=n.fillOpacity){var v=e.globalAlpha;e.globalAlpha=n.fillOpacity*n.opacity,e.fill(),e.globalAlpha=v}else e.fill();else if(a(c)){var m=c.image;(m=u.createOrUpdateImage(m,null,t,I,c))&&u.isImageReady(m)&&e.drawImage(m,i,r,s,h)}d&&p&&(C(e,"lineWidth",d),C(e,"strokeStyle",p),null!=n.strokeOpacity?(v=e.globalAlpha,e.globalAlpha=n.strokeOpacity*n.opacity,e.stroke(),e.globalAlpha=v):e.stroke())}function I(t,e){e.image=t}function T(t,e,n,i){var r=n.x||0,o=n.y||0,a=n.textAlign,l=n.textVerticalAlign;if(i){var u=n.textPosition;if(u instanceof Array)r=i.x+L(u[0],i.width),o=i.y+L(u[1],i.height);else{var h=e&&e.calculateTextPosition?e.calculateTextPosition(y,n,i):s.calculateTextPosition(y,n,i);r=h.x,o=h.y,a=a||h.textAlign,l=l||h.textVerticalAlign}var c=n.textOffset;c&&(r+=c[0],o+=c[1])}return(t=t||{}).baseX=r,t.baseY=o,t.textAlign=a,t.textVerticalAlign=l,t}function C(t,e,n){return t[e]=h(t,e,n),t[e]}function A(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function D(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function L(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function k(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}return $U.normalizeTextStyle=function(t){return _(t),i(t.rich,_),t},$U.renderText=function(t,e,n,i,r,o){i.rich?function(t,e,n,i,r,o){o!==p&&(e.__attrCachedBy=d.NONE);var a=t.__textCotentBlock;a&&!t.__dirtyText||(a=t.__textCotentBlock=s.parseRichText(n,i)),function(t,e,n,i,r){var o=n.width,a=n.outerWidth,l=n.outerHeight,u=i.textPadding,h=T(x,t,i,r),c=h.baseX,d=h.baseY,p=h.textAlign,f=h.textVerticalAlign;b(e,i,r,c,d);var g=s.adjustTextX(c,a,p),v=s.adjustTextY(d,l,f),m=g,y=v;u&&(m+=u[3],y+=u[0]);var _=m+o;S(i)&&M(t,e,i,g,v,a,l);for(var I=0;I=0&&"right"===(C=D[E]).textAlign;)w(t,e,C,i,k,y,N,"right"),P-=C.width,N-=C.width,E--;for(R+=(o-(R-m)-(_-N)-P)/2;O<=E;)w(t,e,C=D[O],i,k,y,R+C.width/2,"center"),R+=C.width,O++;y+=k}}(t,e,a,i,r)}(t,e,n,i,r,o):function(t,e,n,i,r,o){var a,l=S(i),u=!1,c=e.__attrCachedBy===d.PLAIN_TEXT;o!==p?(o&&(a=o.style,u=!l&&c&&a),e.__attrCachedBy=l?d.NONE:d.PLAIN_TEXT):c&&(e.__attrCachedBy=d.NONE);var g=i.font||f;u&&g===(a.font||f)||(e.font=g);var v=t.__computedFont;t.__styleFont!==g&&(t.__styleFont=g,v=t.__computedFont=e.font);var y=i.textPadding,_=i.textLineHeight,w=t.__textCotentBlock;w&&!t.__dirtyText||(w=t.__textCotentBlock=s.parsePlainText(n,v,y,_,i.truncate));var I=w.outerHeight,C=w.lines,L=w.lineHeight,P=T(x,t,i,r),O=P.baseX,R=P.baseY,N=P.textAlign||"left",E=P.textVerticalAlign;b(e,i,r,O,R);var z=s.adjustTextY(R,I,E),V=O,B=z;if(l||y){var F=s.getWidth(n,v);y&&(F+=y[1]+y[3]);var G=s.adjustTextX(O,F,N);l&&M(t,e,i,G,z,F,I),y&&(V=k(O,N,y),B+=y[0])}e.textAlign=N,e.textBaseline="middle",e.globalAlpha=i.opacity||1;for(var H=0;H=0&&i.splice(r,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,n=0;n15)break}u.__drawIndex=m,u.__drawIndex0&&t>r[0]){for(s=0;st);s++);a=i[r[s]]}if(r.splice(s+1,0,t),i[t]=e,!e.virtual)if(a){var u=a.dom;u.nextSibling?l.insertBefore(e.dom,u.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom)}else n("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var n,i,r=this._zlevelList;for(i=0;i0?c:0),this._needsManuallyCompositing),l.__builtin__||n("ZLevel "+u+" has been used by unkown layer "+l.id),l!==o&&(l.__used=!0,l.__startIndex!==i&&(l.__dirty=!0),l.__startIndex=i,l.incremental?l.__drawIndex=-1:l.__drawIndex=i,e(i),o=l),s.__dirty&&(l.__dirty=!0,l.incremental&&l.__drawIndex<0&&(l.__drawIndex=i))}e(i),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,n){if(n){var i=this._layerConfig;i[t]?e.merge(i[t],n,!0):i[t]=n;for(var r=0;r=0&&(this.delFromStorage(e),this._roots.splice(a,1),e instanceof n&&e.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:r},wU=o}(),o=SY(),a=function(){if(pY)return dY;pY=1;var t=bW(),e=GW().Dispatcher,n=jU(),i=lU(),r=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,e.call(this)};return r.prototype={constructor:r,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),n=0;n=0&&this._clips.splice(n,1)},removeAnimator:function(t){for(var e=t.getClips(),n=0;n=o.length&&o.push({option:t})}})),o},CY.makeIdAndName=function(e){var r=t.createHashMap();n(e,(function(t,e){var n=t.exist;n&&r.set(n.id,t)})),n(e,(function(e,n){var i=e.option;t.assert(!i||null==i.id||!r.get(i.id)||r.get(i.id)===e,"id duplicates: "+(i&&i.id)),i&&null!=i.id&&r.set(i.id,e),!e.keyInfo&&(e.keyInfo={})})),n(e,(function(t,e){var n=t.exist,a=t.option,s=t.keyInfo;if(i(a)){if(s.name=null!=a.name?a.name+"":n?n.name:o+e,n)s.id=n.id;else if(null!=a.id)s.id=a.id+"";else{var l=0;do{s.id="\0"+s.name+"\0"+l++}while(r.get(s.id))}r.set(s.id,t)}}))},CY.isNameSpecified=function(t){var e=t.name;return!(!e||!e.indexOf(o))},CY.isIdInner=s,CY.compressBatches=function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i=0||r&&t.indexOf(r,s)<0)){var l=n.getShallow(s);null!=l&&(o[e[a][0]]=l)}}return o}},LY}var BY,FY={},GY={},HY={};function WY(){if(BY)return HY;BY=1;var t=AW(),e=t.create,n=t.distSquare,i=Math.pow,r=Math.sqrt,o=1e-8,a=1e-4,s=r(3),l=1/3,u=e(),h=e(),c=e();function d(t){return t>-1e-8&&to||t<-1e-8}function f(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function g(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}return HY.cubicAt=f,HY.cubicDerivativeAt=function(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)},HY.cubicRootAt=function(t,e,n,o,a,u){var h=o+3*(e-n)-t,c=3*(n-2*e+t),p=3*(e-t),f=t-a,g=c*c-3*h*p,v=c*p-9*h*f,m=p*p-3*c*f,y=0;if(d(g)&&d(v))d(c)?u[0]=0:(D=-p/c)>=0&&D<=1&&(u[y++]=D);else{var x=v*v-4*g*m;if(d(x)){var _=v/g,b=-_/2;(D=-c/h+_)>=0&&D<=1&&(u[y++]=D),b>=0&&b<=1&&(u[y++]=b)}else if(x>0){var w=r(x),S=g*c+1.5*h*(-v+w),M=g*c+1.5*h*(-v-w);(D=(-c-((S=S<0?-i(-S,l):i(S,l))+(M=M<0?-i(-M,l):i(M,l))))/(3*h))>=0&&D<=1&&(u[y++]=D)}else{var I=(2*g*c-3*h*v)/(2*r(g*g*g)),T=Math.acos(I)/3,C=r(g),A=Math.cos(T),D=(-c-2*C*A)/(3*h),L=(b=(-c+C*(A+s*Math.sin(T)))/(3*h),(-c+C*(A-s*Math.sin(T)))/(3*h));D>=0&&D<=1&&(u[y++]=D),b>=0&&b<=1&&(u[y++]=b),L>=0&&L<=1&&(u[y++]=L)}}return y},HY.cubicExtrema=function(t,e,n,i,o){var a=6*n-12*e+6*t,s=9*e+3*i-3*t-9*n,l=3*e-3*t,u=0;if(d(s))p(a)&&(c=-l/a)>=0&&c<=1&&(o[u++]=c);else{var h=a*a-4*s*l;if(d(h))o[0]=-a/(2*s);else if(h>0){var c,f=r(h),g=(-a-f)/(2*s);(c=(-a+f)/(2*s))>=0&&c<=1&&(o[u++]=c),g>=0&&g<=1&&(o[u++]=g)}}return u},HY.cubicSubdivide=function(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,h=(l-s)*r+s,c=(h-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=i},HY.cubicProjectPoint=function(t,e,i,o,s,l,d,p,g,v,m){var y,x,_,b,w,S=.005,M=1/0;u[0]=g,u[1]=v;for(var I=0;I<1;I+=.05)h[0]=f(t,i,s,d,I),h[1]=f(e,o,l,p,I),(b=n(u,h))=0&&b=0&&c<=1&&(o[u++]=c);else{var h=s*s-4*a*l;if(d(h))(c=-s/(2*a))>=0&&c<=1&&(o[u++]=c);else if(h>0){var c,f=r(h),g=(-s-f)/(2*a);(c=(-s+f)/(2*a))>=0&&c<=1&&(o[u++]=c),g>=0&&g<=1&&(o[u++]=g)}}return u},HY.quadraticExtremum=function(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i},HY.quadraticSubdivide=function(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n},HY.quadraticProjectPoint=function(t,e,i,o,s,l,d,p,f){var v,m=.005,y=1/0;u[0]=d,u[1]=p;for(var x=0;x<1;x+=.05)h[0]=g(t,i,s,x),h[1]=g(e,o,l,x),(S=n(u,h))=0&&S1e-4)return f[0]=e-i,f[1]=n-h,g[0]=e+i,void(g[1]=n+h);if(s[0]=o(c)*i+e,s[1]=r(c)*h+n,l[0]=o(d)*i+e,l[1]=r(d)*h+n,v(f,s,l),m(g,s,l),(c%=a)<0&&(c+=a),(d%=a)<0&&(d+=a),c>d&&!p?d+=a:cc&&(u[0]=o(_)*i+e,u[1]=r(_)*h+n,v(f,u,f),m(g,u,g))},XY}function qY(){if(ZY)return YY;ZY=1;var t=WY(),e=AW(),n=jY(),i=kU(),r=CU().devicePixelRatio,o={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},a=[],s=[],l=[],u=[],h=Math.min,c=Math.max,d=Math.cos,p=Math.sin,f=Math.sqrt,g=Math.abs,v="undefined"!=typeof Float32Array,m=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};return m.prototype={constructor:m,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e,n){n=n||0,this._ux=g(n/r/t)||0,this._uy=g(n/r/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),t&&(this.dpr=t.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(o.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var n=g(t-this._xi)>this._ux||g(e-this._yi)>this._uy||this._len<5;return this.addData(o.L,t,e),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),n&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,n,i,r,a){return this.addData(o.C,t,e,n,i,r,a),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,i,r,a):this._ctx.bezierCurveTo(t,e,n,i,r,a)),this._xi=r,this._yi=a,this},quadraticCurveTo:function(t,e,n,i){return this.addData(o.Q,t,e,n,i),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,n,i):this._ctx.quadraticCurveTo(t,e,n,i)),this._xi=n,this._yi=i,this},arc:function(t,e,n,i,r,a){return this.addData(o.A,t,e,n,n,i,r-i,0,a?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,a),this._xi=d(r)*n+t,this._yi=p(r)*n+e,this},arcTo:function(t,e,n,i,r){return this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},rect:function(t,e,n,i){return this._ctx&&this._ctx.rect(t,e,n,i),this.addData(o.R,t,e,n,i),this},closePath:function(){this.addData(o.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,n=0;ne.length&&(this._expandData(),e=this.data);for(var n=0;n0&&v<=t||d<0&&v>=t||0===d&&(p>0&&m<=e||p<0&&m>=e);)v+=d*(n=a[i=this._dashIdx]),m+=p*n,this._dashIdx=(i+1)%y,d>0&&vl||p>0&&mu||s[i%2?"moveTo":"lineTo"](d>=0?h(v,t):c(v,t),p>=0?h(m,e):c(m,e));d=v-t,p=m-e,this._dashOffset=-f(d*d+p*p)},_dashedBezierTo:function(e,n,i,r,o,a){var s,l,u,h,c,d=this._dashSum,p=this._dashOffset,g=this._lineDash,v=this._ctx,m=this._xi,y=this._yi,x=t.cubicAt,_=0,b=this._dashIdx,w=g.length,S=0;for(p<0&&(p=d+p),p%=d,s=0;s<1;s+=.1)l=x(m,e,i,o,s+.1)-x(m,e,i,o,s),u=x(y,n,r,a,s+.1)-x(y,n,r,a,s),_+=f(l*l+u*u);for(;bp);b++);for(s=(S-p)/_;s<=1;)h=x(m,e,i,o,s),c=x(y,n,r,a,s),b%2?v.moveTo(h,c):v.lineTo(h,c),s+=g[b]/_,b=(b+1)%w;b%2!=0&&v.lineTo(o,a),l=o-h,u=a-c,this._dashOffset=-f(l*l+u*u)},_dashedQuadraticTo:function(t,e,n,i){var r=n,o=i;n=(n+2*t)/3,i=(i+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,i,r,o)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,v&&(this.data=new Float32Array(t)))},getBoundingRect:function(){a[0]=a[1]=l[0]=l[1]=Number.MAX_VALUE,s[0]=s[1]=u[0]=u[1]=-Number.MAX_VALUE;for(var t=this.data,r=0,h=0,c=0,f=0,g=0;gu||g(s-r)>h||f===c-1)&&(t.lineTo(a,s),i=a,r=s);break;case o.C:t.bezierCurveTo(l[f++],l[f++],l[f++],l[f++],l[f++],l[f++]),i=l[f-2],r=l[f-1];break;case o.Q:t.quadraticCurveTo(l[f++],l[f++],l[f++],l[f++]),i=l[f-2],r=l[f-1];break;case o.A:var m=l[f++],y=l[f++],x=l[f++],_=l[f++],b=l[f++],w=l[f++],S=l[f++],M=l[f++],I=x>_?x:_,T=x>_?1:x/_,C=x>_?_/x:1,A=b+w;Math.abs(x-_)>.001?(t.translate(m,y),t.rotate(S),t.scale(T,C),t.arc(0,0,I,b,A,1-M),t.scale(1/T,1/C),t.rotate(-S),t.translate(-m,-y)):t.arc(m,y,I,b,A,1-M),1===f&&(e=d(b)*x+m,n=p(b)*_+y),i=d(A)*x+m,r=p(A)*_+y;break;case o.R:e=i=l[f],n=r=l[f+1],t.rect(l[f++],l[f++],l[f++],l[f++]);break;case o.Z:t.closePath(),i=e,r=n}}}},m.CMD=o,YY=m}var KY,$Y={},JY={};function QY(){return KY||(KY=1,JY.containStroke=function(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0;if(a>e+s&&a>i+s||at+s&&o>n+s||on+d&&c>r+d&&c>a+d&&c>l+d||ce+d&&h>i+d&&h>o+d&&h>s+d||hn+h&&u>r+h&&u>a+h||ue+h&&l>i+h&&l>o+h||lr||d+ca&&(a+=e);var f=Math.atan2(h,u);return f<0&&(f+=e),f>=o&&f<=a||f+e>=o&&f+e<=a},TZ}function LZ(){return uZ||(uZ=1,lZ=function(t,e,n,i,r,o){if(o>e&&o>i||or?a:0}),lZ}function kZ(){if(hZ)return $Y;hZ=1;var t=qY(),e=QY(),n=nZ(),i=oZ(),r=DZ(),o=AZ().normalizeRadian,a=WY(),s=LZ(),l=t.CMD,u=2*Math.PI,h=[-1,-1,-1],c=[-1,-1];function d(t,e,n,i,r,o,s,l,u,d){if(d>e&&d>i&&d>o&&d>l||d1&&(p=void 0,p=c[0],c[0]=c[1],c[1]=p),g=a.cubicAt(e,i,o,l,c[0]),y>1&&(v=a.cubicAt(e,i,o,l,c[1]))),2===y?_e&&l>i&&l>o||l=0&&c<=1){for(var d=0,p=a.quadraticAt(e,i,o,c),f=0;fn||l<-n)return 0;var c=Math.sqrt(n*n-l*l);h[0]=-c,h[1]=c;var d=Math.abs(i-r);if(d<1e-4)return 0;if(d%u<1e-4){i=0,r=u;var p=a?1:-1;return s>=h[0]+t&&s<=h[1]+t?p:0}a?(c=i,i=o(r),r=o(c)):(i=o(i),r=o(r)),i>r&&(r+=u);for(var f=0,g=0;g<2;g++){var v=h[g];if(v+t>s){var m=Math.atan2(l,v);p=a?1:-1,m<0&&(m=u+m),(m>=i&&m<=r||m+u>=i&&m+u<=r)&&(m>Math.PI/2&&m<1.5*Math.PI&&(p=-p),f+=p)}}return f}function g(t,o,a,u,h){for(var c,g,v=0,m=0,y=0,x=0,_=0,b=0;b1&&(a||(v+=s(m,y,x,_,u,h))),1===b&&(x=m=t[b],_=y=t[b+1]),w){case l.M:m=x=t[b++],y=_=t[b++];break;case l.L:if(a){if(e.containStroke(m,y,t[b],t[b+1],o,u,h))return!0}else v+=s(m,y,t[b],t[b+1],u,h)||0;m=t[b++],y=t[b++];break;case l.C:if(a){if(n.containStroke(m,y,t[b++],t[b++],t[b++],t[b++],t[b],t[b+1],o,u,h))return!0}else v+=d(m,y,t[b++],t[b++],t[b++],t[b++],t[b],t[b+1],u,h)||0;m=t[b++],y=t[b++];break;case l.Q:if(a){if(i.containStroke(m,y,t[b++],t[b++],t[b],t[b+1],o,u,h))return!0}else v+=p(m,y,t[b++],t[b++],t[b],t[b+1],u,h)||0;m=t[b++],y=t[b++];break;case l.A:var S=t[b++],M=t[b++],I=t[b++],T=t[b++],C=t[b++],A=t[b++];b+=1;var D=1-t[b++],L=Math.cos(C)*I+S,k=Math.sin(C)*T+M;b>1?v+=s(m,y,L,k,u,h):(x=L,_=k);var P=(u-S)*T/I+S;if(a){if(r.containStroke(S,M,T,C,C+A,D,o,P,h))return!0}else v+=f(S,M,T,C,C+A,D,P,h);m=Math.cos(C+A)*I+S,y=Math.sin(C+A)*T+M;break;case l.R:if(x=m=t[b++],_=y=t[b++],L=x+t[b++],k=_+t[b++],a){if(e.containStroke(x,_,L,_,o,u,h)||e.containStroke(L,_,L,k,o,u,h)||e.containStroke(L,k,x,k,o,u,h)||e.containStroke(x,k,x,_,o,u,h))return!0}else v+=s(L,_,L,k,u,h),v+=s(x,k,x,_,u,h);break;case l.Z:if(a){if(e.containStroke(m,y,x,_,o,u,h))return!0}else v+=s(m,y,x,_,u,h);m=x,y=_}}return a||(c=y,g=_,Math.abs(c-g)<1e-4)||(v+=s(m,y,x,_,u,h)||0),0!==v}return $Y.contain=function(t,e,n){return g(t,0,!1,e,n)},$Y.containStroke=function(t,e,n,i){return g(t,e,!0,n,i)},$Y}function PZ(){if(dZ)return cZ;dZ=1;var t=bY(),e=bW(),n=qY(),i=kZ(),r=XU().prototype.getCanvasPattern,o=Math.abs,a=new n(!0);function s(e){t.call(this,e),this.path=null}return s.prototype={constructor:s,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(t,e){var n,i=this.style,o=this.path||a,s=i.hasStroke(),l=i.hasFill(),u=i.fill,h=i.stroke,c=l&&!!u.colorStops,d=s&&!!h.colorStops,p=l&&!!u.image,f=s&&!!h.image;i.bind(t,this,e),this.setTransform(t),this.__dirty&&(c&&(n=n||this.getBoundingRect(),this._fillGradient=i.getGradient(t,u,n)),d&&(n=n||this.getBoundingRect(),this._strokeGradient=i.getGradient(t,h,n))),c?t.fillStyle=this._fillGradient:p&&(t.fillStyle=r.call(u,t)),d?t.strokeStyle=this._strokeGradient:f&&(t.strokeStyle=r.call(h,t));var g=i.lineDash,v=i.lineDashOffset,m=!!t.setLineDash,y=this.getGlobalScale();if(o.setScale(y[0],y[1],this.segmentIgnoreThreshold),this.__dirtyPath||g&&!m&&s?(o.beginPath(t),g&&!m&&(o.setLineDash(g),o.setLineDashOffset(v)),this.buildPath(o,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),l)if(null!=i.fillOpacity){var x=t.globalAlpha;t.globalAlpha=i.fillOpacity*i.opacity,o.fill(t),t.globalAlpha=x}else o.fill(t);g&&m&&(t.setLineDash(g),t.lineDashOffset=v),s&&(null!=i.strokeOpacity?(x=t.globalAlpha,t.globalAlpha=i.strokeOpacity*i.opacity,o.stroke(t),t.globalAlpha=x):o.stroke(t)),g&&m&&t.setLineDash([]),null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,n){},createPathProxy:function(){this.path=new n},getBoundingRect:function(){var t=this._rect,e=this.style,i=!t;if(i){var r=this.path;r||(r=this.path=new n),this.__dirtyPath&&(r.beginPath(),this.buildPath(r,this.shape,!1)),t=r.getBoundingRect()}if(this._rect=t,e.hasStroke()){var o=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||i){o.copy(t);var a=e.lineWidth,s=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(a=Math.max(a,this.strokeContainThreshold||4)),s>1e-10&&(o.width+=a/s,o.height+=a/s,o.x-=a/s/2,o.y-=a/s/2)}return o}return t},contain:function(t,e){var n=this.transformCoordToLocal(t,e),r=this.getBoundingRect(),o=this.style;if(t=n[0],e=n[1],r.contain(t,e)){var a=this.path.data;if(o.hasStroke()){var s=o.lineWidth,l=o.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(o.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),i.containStroke(a,s/l,t,e)))return!0}if(o.hasFill())return i.contain(a,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(e,n){"shape"===e?(this.setShape(n),this.__dirtyPath=!0,this._rect=null):t.prototype.attrKV.call(this,e,n)},setShape:function(t,n){var i=this.shape;if(i){if(e.isObject(t))for(var r in t)t.hasOwnProperty(r)&&(i[r]=t[r]);else i[t]=n;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&o(t[0]-1)>1e-10&&o(t[3]-1)>1e-10?Math.sqrt(o(t[0]*t[3]-t[2]*t[1])):1}},s.extend=function(t){var n=function(e){s.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var n=t.shape;if(n){this.shape=this.shape||{};var i=this.shape;for(var r in n)!i.hasOwnProperty(r)&&n.hasOwnProperty(r)&&(i[r]=n[r])}t.init&&t.init.call(this,e)};for(var i in e.inherits(n,s),t)"style"!==i&&"shape"!==i&&(n.prototype[i]=t[i]);return n},e.inherits(s,t),cZ=s}function OZ(){if(fZ)return pZ;fZ=1;var t=qY(),e=AW().applyTransform,n=t.CMD,i=[[],[],[]],r=Math.sqrt,o=Math.atan2;return pZ=function(t,a){var s,l,u,h,c,d=t.data,p=n.M,f=n.C,g=n.L,v=n.R,m=n.A,y=n.Q;for(u=0,h=0;u1&&(d*=i(_),p*=i(_));var b=(h===c?-1:1)*i((d*d*(p*p)-d*d*(x*x)-p*p*(y*y))/(d*d*(x*x)+p*p*(y*y)))||0,w=b*d*x/p,S=b*-p*y/d,M=(t+n)/2+o(m)*w-r(m)*S,I=(e+s)/2+r(m)*w+o(m)*S,T=u([1,0],[(y-w)/d,(x-S)/p]),C=[(y-w)/d,(x-S)/p],A=[(-1*y-w)/d,(-1*x-S)/p],D=u(C,A);l(C,A)<=-1&&(D=a),l(C,A)>=1&&(D=0),0===c&&D>0&&(D-=2*a),1===c&&D<0&&(D+=2*a),v.addData(g,M,I,d,p,T,D,m,c)}var c=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,d=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function p(t,i){var r=function(t){if(!t)return new e;for(var n,i=0,r=0,o=i,a=r,s=new e,l=e.CMD,u=t.match(c),p=0;p=11?function(){var t,i=this.__clipPaths,r=this.style;if(i)for(var o=0;or-2?r-1:p+1],c=n[p>r-3?r-1:p+2]);var v=f*f,m=f*v;o.push([e(u[0],g[0],h[0],c[0],f,v,m),e(u[1],g[1],h[1],c[1],f,v,m)])}return o},FZ}function $Z(){if(WZ)return HZ;WZ=1;var t=AW(),e=t.min,n=t.max,i=t.scale,r=t.distance,o=t.add,a=t.clone,s=t.sub;return HZ=function(t,l,u,h){var c,d,p,f,g=[],v=[],m=[],y=[];if(h){p=[1/0,1/0],f=[-1/0,-1/0];for(var x=0,_=t.length;x<_;x++)e(p,p,t[x]),n(f,f,t[x]);e(p,p,h[0]),n(f,f,h[1])}for(x=0,_=t.length;x<_;x++){var b=t[x];if(u)c=t[x?x-1:_-1],d=t[(x+1)%_];else{if(0===x||x===_-1){g.push(a(t[x]));continue}c=t[x-1],d=t[x+1]}s(v,d,c),i(v,v,l);var w=r(b,c),S=r(b,d),M=w+S;0!==M&&(w/=M,S/=M),i(m,v,-w),i(y,v,S);var I=o([],b,m),T=o([],b,y);h&&(n(I,I,p),e(I,I,f),n(T,T,p),e(T,T,f)),g.push(I),g.push(T)}return u&&g.push(g.shift()),g},HZ}function JZ(){if(UZ)return qZ;UZ=1;var t=KZ(),e=$Z();return qZ.buildPath=function(n,i,r){var o=i.points,a=i.smooth;if(o&&o.length>=2){if(a&&"spline"!==a){var s=e(o,a,r,i.smoothConstraint);n.moveTo(o[0][0],o[0][1]);for(var l=o.length,u=0;u<(r?l:l-1);u++){var h=s[2*u],c=s[2*u+1],d=o[(u+1)%l];n.bezierCurveTo(h[0],h[1],c[0],c[1],d[0],d[1])}}else{"spline"===a&&(o=t(o,r)),n.moveTo(o[0][0],o[0][1]),u=1;for(var p=o.length;u=0),l=!s&&null!=r;(s||l)&&(e={textFill:t.textFill,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth}),s&&(t.textFill="#fff",null==t.textStroke&&(t.textStroke=r,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),l&&(t.textFill=r)}t.insideRollback=e}function rt(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function ot(t,e,n,i,r,o){if("function"==typeof r&&(o=r,r=null),i&&i.isAnimationEnabled()){var a=t?"Update":"",s=i.getShallow("animationDuration"+a),l=i.getShallow("animationEasing"+a),u=i.getShallow("animationDelay"+a);"function"==typeof u&&(u=u(r,i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null)),"function"==typeof s&&(s=s(r)),s>0?e.animateTo(n,s,u||0,l,o,!!o):(e.stopAnimation(),e.attr(n),o&&o())}else e.stopAnimation(),e.attr(n),o&&o()}function at(t,e,n,i,r){ot(!0,t,e,n,i,r)}function st(e,n,o){return n&&!t.isArrayLike(n)&&(n=a.getLocalTransform(n)),o&&(n=i.invert([],n)),r.applyTransform([],e,n)}function lt(t,e,n,i,r,o,a,s){var l,u=n-t,h=i-e,c=a-r,d=s-o,p=ut(c,d,u,h);if((l=p)<=1e-6&&l>=-1e-6)return!1;var f=t-r,g=e-o,v=ut(f,g,u,h)/p;if(v<0||v>1)return!1;var m=ut(f,g,c,d)/p;return!(m<0||m>1)}function ut(t,e,n,i){return t*i-n*e}return O("circle",h),O("sector",c),O("ring",d),O("polygon",p),O("polyline",f),O("rect",g),O("line",v),O("bezierCurve",m),O("arc",y),FY.Z2_EMPHASIS_LIFT=1,FY.CACHED_LABEL_STYLE_PROPERTIES={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},FY.extendShape=function(t){return o.extend(t)},FY.extendPath=function(t,n){return e.extendFromString(t,n)},FY.registerShape=O,FY.getShapeClass=function(t){if(P.hasOwnProperty(t))return P[t]},FY.makePath=R,FY.makeImage=function(t,e,n){var i=new s({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(N(e,r))}}});return i},FY.mergePath=E,FY.resizePath=z,FY.subPixelOptimizeLine=function(t){return M.subPixelOptimizeLine(t.shape,t.shape,t.style),t},FY.subPixelOptimizeRect=function(t){return M.subPixelOptimizeRect(t.shape,t.shape,t.style),t},FY.subPixelOptimize=V,FY.setElementHoverStyle=Z,FY.setHoverStyle=function(t,e){J(t,!0),Y(t,Z,e)},FY.setAsHighDownDispatcher=J,FY.isHighDownDispatcher=function(t){return!(!t||!t.__highDownDispatcher)},FY.getHighlightDigit=function(t){var e=k[t];return null==e&&L<=32&&(e=k[t]=L++),e},FY.setLabelStyle=function(e,n,i,r,o,a,s){var l,u=(o=o||C).labelFetcher,h=o.labelDataIndex,c=o.labelDimIndex,d=o.labelProp,p=i.getShallow("show"),f=r.getShallow("show");(p||f)&&(u&&(l=u.getFormattedLabel(h,"normal",null,c,d)),null==l&&(l=t.isFunction(o.defaultText)?o.defaultText(h,o):o.defaultText));var g=p?l:null,v=f?t.retrieve2(u?u.getFormattedLabel(h,"emphasis",null,c,d):null,l):null;null==g&&null==v||(Q(e,i,a,o),Q(n,r,s,o,!0)),e.text=g,n.text=v},FY.modifyLabelStyle=function(e,n,i){var r=e.style;n&&(rt(r),e.setStyle(n),it(r)),r=e.__hoverStl,i&&r&&(rt(r),t.extend(r,i),it(r))},FY.setTextStyle=Q,FY.setText=function(t,e,n){var i,r={isRectText:!0};!1===n?i=!0:r.autoColor=n,tt(t,e,r,i)},FY.getFont=function(e,n){var i=n&&n.getModel("textStyle");return t.trim([e.fontStyle||i&&i.getShallow("fontStyle")||"",e.fontWeight||i&&i.getShallow("fontWeight")||"",(e.fontSize||i&&i.getShallow("fontSize")||12)+"px",e.fontFamily||i&&i.getShallow("fontFamily")||"sans-serif"].join(" "))},FY.updateProps=at,FY.initProps=function(t,e,n,i,r){ot(!1,t,e,n,i,r)},FY.getTransform=function(t,e){for(var n=i.identity([]);t&&t!==e;)i.mul(n,t.getLocalTransform(),n),t=t.parent;return n},FY.applyTransform=st,FY.transformDirection=function(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return o=st(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"},FY.groupTransition=function(e,n,i,o){if(e&&n){var a,s=(a={},e.traverse((function(t){!t.isGroup&&t.anid&&(a[t.anid]=t)})),a);n.traverse((function(t){if(!t.isGroup&&t.anid){var e=s[t.anid];if(e){var n=l(t);t.attr(l(e)),at(t,n,i,t.dataIndex)}}}))}function l(e){var n={position:r.clone(e.position),rotation:e.rotation};return e.shape&&(n.shape=t.extend({},e.shape)),n}},FY.clipPointsByRect=function(e,n){return t.map(e,(function(t){var e=t[0];e=I(e,n.x),e=T(e,n.x+n.width);var i=t[1];return i=I(i,n.y),[e,i=T(i,n.y+n.height)]}))},FY.clipRectByRect=function(t,e){var n=I(t.x,e.x),i=T(t.x+t.width,e.x+e.width),r=I(t.y,e.y),o=T(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}},FY.createIcon=function(e,n,i){var r=(n=t.extend({rectHover:!0},n)).style={strokeNoScale:!0};if(i=i||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(r.image=e.slice(8),t.defaults(r,i),new s(n)):R(e.replace("path://",""),n,i,"center")},FY.linePolygonIntersect=function(t,e,n,i,r){for(var o=0,a=r[r.length-1];o=0&&i.push(e)})),i}(s.originalDeps=n(a),e);s.entryCount=l.length,0===s.entryCount&&o.push(a),t.each(l,(function(e){t.indexOf(s.predecessor,e)<0&&s.predecessor.push(e);var n=i(r,e);t.indexOf(n.successor,e)<0&&n.successor.push(a)}))})),{graph:r,noEntryList:o}}(r),l=s.graph,u=s.noEntryList,h={};for(t.each(e,(function(t){h[t]=!0}));u.length;){var c=u.pop(),d=l[c],p=!!h[c];p&&(o.call(a,c,d.originalDeps.slice()),delete h[c]),t.each(d.successor,p?g:f)}t.each(h,(function(){throw new Error("Circle dependency may exists")}))}function f(t){l[t].entryCount--,0===l[t].entryCount&&u.push(t)}function g(t){h[t]=!0,f(t)}}},FX}var HX,WX={},UX={};function YX(){if(HX)return UX;HX=1;var t=bW(),e=1e-4,n=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function i(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}return UX.linearMap=function(t,e,n,i){var r=e[1]-e[0],o=n[1]-n[0];if(0===r)return 0===o?n[0]:(n[0]+n[1])/2;if(i)if(r>0){if(t<=e[0])return n[0];if(t>=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/r*o+n[0]},UX.parsePercent=function(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n},UX.round=function(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t},UX.asc=function(t){return t.sort((function(t,e){return t-e})),t},UX.getPrecision=function(t){if(t=+t,isNaN(t))return 0;for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n},UX.getPrecisionSafe=function(t){var e=t.toString(),n=e.indexOf("e");if(n>0){var i=+e.slice(n+1);return i<0?-i:0}var r=e.indexOf(".");return r<0?0:e.length-1-r},UX.getPixelPrecision=function(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20},UX.getPercentWithPrecision=function(e,n,i){if(!e[n])return 0;var r=t.reduce(e,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===r)return 0;for(var o=Math.pow(10,i),a=t.map(e,(function(t){return(isNaN(t)?0:t)/r*o*100})),s=100*o,l=t.map(a,(function(t){return Math.floor(t)})),u=t.reduce(l,(function(t,e){return t+e}),0),h=t.map(a,(function(t,e){return t-l[e]}));uc&&(c=h[p],d=p);++l[d],h[d]=0,++u}return l[n]/o},UX.MAX_SAFE_INTEGER=9007199254740991,UX.remRadian=function(t){var e=2*Math.PI;return(t%e+e)%e},UX.isRadianAroundZero=function(t){return t>-1e-4&&t=-20?+t.toFixed(n<0?-n:0):t},UX.quantile=function(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r},UX.reformIntervals=function(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i=0},UX}var ZX,XX,jX,qX,KX,$X,JX,QX,tj,ej,nj={};function ij(){if(ZX)return nj;ZX=1;var t=bW(),e=eY(),n=YX(),i=t.normalizeCssArray,r=/([&<>"'])/g,o={"&":"&","<":"<",">":">",'"':""","'":"'"};function a(t){return null==t?"":(t+"").replace(r,(function(t,e){return o[e]}))}var s=["a","b","c","d","e","f","g"],l=function(t,e){return"{"+t+(null==e?"":e)+"}"};function u(t,e){return"0000".substr(0,e-(t+="").length)+t}var h=e.truncateText;return nj.addCommas=function(t){return isNaN(t)?"-":(t=(t+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")},nj.toCamelCase=function(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t},nj.normalizeCssArray=i,nj.encodeHTML=a,nj.formatTpl=function(e,n,i){t.isArray(n)||(n=[n]);var r=n.length;if(!r)return"";for(var o=n[0].$vars||[],u=0;u':'':{renderMode:o,content:"{marker"+s+"|} ",style:{color:i}}:""},nj.formatTime=function(t,e,i){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var r=n.parseDate(e),o=i?"UTC":"",a=r["get"+o+"FullYear"](),s=r["get"+o+"Month"]()+1,l=r["get"+o+"Date"](),h=r["get"+o+"Hours"](),c=r["get"+o+"Minutes"](),d=r["get"+o+"Seconds"](),p=r["get"+o+"Milliseconds"]();return t=t.replace("MM",u(s,2)).replace("M",s).replace("yyyy",a).replace("yy",a%100).replace("dd",u(l,2)).replace("d",l).replace("hh",u(h,2)).replace("h",h).replace("mm",u(c,2)).replace("m",c).replace("ss",u(d,2)).replace("s",d).replace("SSS",u(p,3))},nj.capitalFirst=function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},nj.truncateText=h,nj.getTextBoundingRect=function(t){return e.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)},nj.getTextRect=function(t,n,i,r,o,a,s,l){return e.getBoundingRect(t,n,i,r,o,l,a,s)},nj.windowOpen=function(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location=t}else window.open(t,e)},nj}function rj(){if(XX)return WX;XX=1;var t=bW(),e=kU(),n=YX().parsePercent,i=ij(),r=t.each,o=["left","right","top","bottom","width","height"],a=[["width","left","right"],["height","top","bottom"]];function s(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(l,u){var h,c,d=l.position,p=l.getBoundingRect(),f=e.childAt(u+1),g=f&&f.getBoundingRect();if("horizontal"===t){var v=p.width+(g?-g.x+p.x:0);(h=o+v)>i||l.newline?(o=0,h=v,a+=s+n,s=p.height):s=Math.max(s,p.height)}else{var m=p.height+(g?-g.y+p.y:0);(c=a+m)>r||l.newline?(o+=s+n,a=0,c=m,s=p.width):s=Math.max(s,p.width)}l.newline||(d[0]=o,d[1]=a,"horizontal"===t?o=h+n:a=c+n)}))}var l=s,u=t.curry(s,"vertical"),h=t.curry(s,"horizontal");function c(t,r,o){o=i.normalizeCssArray(o||0);var a=r.width,s=r.height,l=n(t.left,a),u=n(t.top,s),h=n(t.right,a),c=n(t.bottom,s),d=n(t.width,a),p=n(t.height,s),f=o[2]+o[0],g=o[1]+o[3],v=t.aspect;switch(isNaN(d)&&(d=a-h-g-l),isNaN(p)&&(p=s-c-f-u),null!=v&&(isNaN(d)&&isNaN(p)&&(v>a/s?d=.8*a:p=.8*s),isNaN(d)&&(d=v*p),isNaN(p)&&(p=d/v)),isNaN(l)&&(l=a-h-d-g),isNaN(u)&&(u=s-c-p-f),t.left||t.right){case"center":l=a/2-d/2-o[3];break;case"right":l=a-d-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-p/2-o[0];break;case"bottom":u=s-p-f}l=l||0,u=u||0,isNaN(d)&&(d=a-g-l-(h||0)),isNaN(p)&&(p=s-f-u-(c||0));var m=new e(l+o[3],u+o[0],d,p);return m.margin=o,m}function d(t,e){return e&&t&&r(o,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}return WX.LOCATION_PARAMS=o,WX.HV_NAMES=a,WX.box=l,WX.vbox=u,WX.hbox=h,WX.getAvailableSize=function(t,e,r){var o=e.width,a=e.height,s=n(t.x,o),l=n(t.y,a),u=n(t.x2,o),h=n(t.y2,a);return(isNaN(s)||isNaN(parseFloat(t.x)))&&(s=0),(isNaN(u)||isNaN(parseFloat(t.x2)))&&(u=o),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(h)||isNaN(parseFloat(t.y2)))&&(h=a),r=i.normalizeCssArray(r||0),{width:Math.max(u-s-r[1]-r[3],0),height:Math.max(h-l-r[0]-r[2],0)}},WX.getLayoutRect=c,WX.positionElement=function(n,i,r,o,a){var s=!a||!a.hv||a.hv[0],l=!a||!a.hv||a.hv[1],u=a&&a.boundingMode||"all";if(s||l){var h;if("raw"===u)h="group"===n.type?new e(0,0,+i.width||0,+i.height||0):n.getBoundingRect();else if(h=n.getBoundingRect(),n.needLocalTransform()){var d=n.getLocalTransform();(h=h.clone()).applyTransform(d)}i=c(t.defaults({width:h.width,height:h.height},i),r,o);var p=n.position,f=s?i.x-h.x:0,g=l?i.y-h.y:0;n.attr("position","raw"===u?[f,g]:[p[0]+f,p[1]+g])}},WX.sizeCalculable=function(t,e){return null!=t[a[e][0]]||null!=t[a[e][1]]&&null!=t[a[e][2]]},WX.mergeLayoutParam=function(e,n,i){!t.isObject(i)&&(i={});var o=i.ignoreSize;!t.isArray(o)&&(o=[o,o]);var s=u(a[0],0),l=u(a[1],1);function u(t,i){var a={},s=0,l={},u=0;if(r(t,(function(t){l[t]=e[t]})),r(t,(function(t){h(n,t)&&(a[t]=l[t]=n[t]),c(a,t)&&s++,c(l,t)&&u++})),o[i])return c(n,t[1])?l[t[2]]=null:c(n,t[2])&&(l[t[1]]=null),l;if(2!==u&&s){if(s>=2)return a;for(var d=0;d=0;a--)o=t.merge(o,n[a],!0);e.defaultOption=o}return e.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});return r(h,{registerWhenExtend:!0}),n.enableSubTypeDefaulter(h),n.enableTopologicalTravel(h,(function(e){var n=[];return t.each(h.getClassesByMainType(e),(function(t){n=n.concat(t.prototype.dependencies||[])})),n=t.map(n,(function(t){return o(t).main})),"dataset"!==e&&t.indexOf(n,"dataset")<=0&&n.unshift("dataset"),n})),t.mixin(h,l),KX=h}function aj(){if(QX)return JX;QX=1;var t="";"undefined"!=typeof navigator&&(t=navigator.platform||"");var e={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:t.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};return JX=e}function sj(){if(ej)return tj;ej=1;var t=AY(),e=t.makeInner,n=t.normalizeToArray,i=e(),r={clearColorPalette:function(){i(this).colorIdx=0,i(this).colorNameMap={}},getColorFromPalette:function(t,e,r){var o=i(e=e||this),a=o.colorIdx||0,s=o.colorNameMap=o.colorNameMap||{};if(s.hasOwnProperty(t))return s[t];var l=n(this.get("color",!0)),u=this.get("colorLayer",!0),h=null!=r&&u?function(t,e){for(var n=t.length,i=0;ie)return t[i];return t[n-1]}(u,r):l;if((h=h||l)&&h.length){var c=h[a];return t&&(s[t]=c),o.colorIdx=(a+1)%h.length,c}}};return tj=r}var lj,uj,hj,cj,dj,pj,fj,gj,vj,mj,yj,xj,_j,bj,wj,Sj,Mj,Ij,Tj={},Cj={};function Aj(){return lj||(lj=1,Cj.SOURCE_FORMAT_ORIGINAL="original",Cj.SOURCE_FORMAT_ARRAY_ROWS="arrayRows",Cj.SOURCE_FORMAT_OBJECT_ROWS="objectRows",Cj.SOURCE_FORMAT_KEYED_COLUMNS="keyedColumns",Cj.SOURCE_FORMAT_UNKNOWN="unknown",Cj.SOURCE_FORMAT_TYPED_ARRAY="typedArray",Cj.SERIES_LAYOUT_BY_COLUMN="column",Cj.SERIES_LAYOUT_BY_ROW="row"),Cj}function Dj(){if(hj)return uj;hj=1;var t=bW(),e=t.createHashMap,n=t.isTypedArray,i=zY().enableClassCheck,r=Aj(),o=r.SOURCE_FORMAT_ORIGINAL,a=r.SERIES_LAYOUT_BY_COLUMN,s=r.SOURCE_FORMAT_UNKNOWN,l=r.SOURCE_FORMAT_TYPED_ARRAY,u=r.SOURCE_FORMAT_KEYED_COLUMNS;function h(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===u?{}:[]),this.sourceFormat=t.sourceFormat||s,this.seriesLayoutBy=t.seriesLayoutBy||a,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&e(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}return h.seriesDataToSource=function(t){return new h({data:t,sourceFormat:n(t)?l:o,fromDataset:!1})},i(h),uj=h}function Lj(){if(cj)return Tj;cj=1,cW().__DEV__;var t=AY(),e=t.makeInner,n=t.getDataItemValue,i=bW(),r=i.createHashMap,o=i.each,a=i.map,s=i.isArray,l=i.isString,u=i.isObject,h=i.isTypedArray,c=i.isArrayLike,d=i.extend;i.assert;var p=Dj(),f=Aj(),g=f.SOURCE_FORMAT_ORIGINAL,v=f.SOURCE_FORMAT_ARRAY_ROWS,m=f.SOURCE_FORMAT_OBJECT_ROWS,y=f.SOURCE_FORMAT_KEYED_COLUMNS,x=f.SOURCE_FORMAT_UNKNOWN,_=f.SOURCE_FORMAT_TYPED_ARRAY,b=f.SERIES_LAYOUT_BY_ROW,w={Must:1,Might:2,Not:3},S=e();function M(t){if(t){var e=r();return a(t,(function(t,n){if(null==(t=d({},u(t)?t:{name:t})).name)return t;t.name+="",null==t.displayName&&(t.displayName=t.name);var i=e.get(t.name);return i?t.name+="-"+i.count++:e.set(t.name,{count:1}),t}))}}function I(t,e,n,i){if(null==i&&(i=1/0),e===b)for(var r=0;r=0;i--)f.isIdInner(e[i])&&e.splice(i,1);t[n]=e}})),delete t[_],t},getTheme:function(){return this._theme},getComponent:function(t,e){var n=this._componentsMap.get(t);if(n)return n[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var a,s=t.index,l=t.id,u=t.name,h=this._componentsMap.get(e);if(!h||!h.length)return[];if(null!=s)r(s)||(s=[s]),a=n(i(s,(function(t){return h[t]})),(function(t){return!!t}));else if(null!=l){var c=r(l);a=n(h,(function(t){return c&&o(l,t.id)>=0||!c&&t.id===l}))}else if(null!=u){var d=r(u);a=n(h,(function(t){return d&&o(u,t.name)>=0||!d&&t.name===u}))}else a=h.slice();return M(a,t)},findComponents:function(t){var e,i,r,o,a,s=t.query,l=t.mainType,u=(i=l+"Index",r=l+"Id",o=l+"Name",!(e=s)||null==e[i]&&null==e[r]&&null==e[o]?null:{mainType:l,index:e[i],id:e[r],name:e[o]}),h=u?this.queryComponents(u):this._componentsMap.get(l);return a=M(h,t),t.filter?n(a,t.filter):a},eachComponent:function(t,n,i){var r=this._componentsMap;if("function"==typeof t)i=n,n=t,r.each((function(t,r){e(t,(function(t,e){n.call(i,r,t,e)}))}));else if(s(t))e(r.get(t),n,i);else if(a(t)){var o=this.findComponents(t);e(o,n,i)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return n(e,(function(e){return e.name===t}))},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){var e=this._componentsMap.get("series");return n(e,(function(e){return e.subType===t}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(t,n){e(this._seriesIndices,(function(e){var i=this._componentsMap.get("series")[e];t.call(n,i,e)}),this)},eachRawSeries:function(t,n){e(this._componentsMap.get("series"),t,n)},eachSeriesByType:function(t,n,i){e(this._seriesIndices,(function(e){var r=this._componentsMap.get("series")[e];r.subType===t&&n.call(i,r,e)}),this)},eachRawSeriesByType:function(t,n,i){return e(this.getSeriesByType(t),n,i)},isSeriesFiltered:function(t){return null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){S(this,n(this._componentsMap.get("series"),t,e))},restoreData:function(t){var n=this._componentsMap;S(this,n.get("series"));var i=[];n.each((function(t,e){i.push(e)})),v.topologicalTravel(i,v.getAllClassMainTypes(),(function(i,r){e(n.get(i),(function(e){("series"!==i||!function(t,e){if(e){var n=e.seiresIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}(e,t))&&e.restoreData()}))}))}});function w(t){this.option={},this.option[_]=1,this._componentsMap=l({series:[]}),this._seriesIndices,this._seriesIndicesMap,function(t,n){var i=t.color&&!t.colorLayer;e(n,(function(e,n){"colorLayer"===n&&i||v.hasClass(n)||("object"==typeof e?t[n]=t[n]?c(t[n],e,!1):h(e):null==t[n]&&(t[n]=e))}))}(t,this._theme.option),c(t,m,!1),this.mergeOption(t)}function S(t,e){t._seriesIndicesMap=l(t._seriesIndices=i(e,(function(t){return t.componentIndex}))||[])}function M(t,e){return e.hasOwnProperty("subType")?n(t,(function(t){return t.subType===e.subType})):t}return p(b,y),dj=b}function Pj(){if(gj)return fj;gj=1;var t=bW(),e=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];return fj=function(n){t.each(e,(function(e){this[e]=t.bind(n[e],n)}),this)}}function Oj(){if(mj)return vj;mj=1;var t=bW(),e={};function n(){this._coordinateSystems=[]}return n.prototype={constructor:n,create:function(n,i){var r=[];t.each(e,(function(t,e){var o=t.create(n,i);r=r.concat(o||[])})),this._coordinateSystems=r},update:function(e,n){t.each(this._coordinateSystems,(function(t){t.update&&t.update(e,n)}))},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},n.register=function(t,n){e[t]=n},n.get=function(t){return e[t]},vj=n}function Rj(){if(xj)return yj;xj=1;var t=bW(),e=AY(),n=oj(),i=t.each,r=t.clone,o=t.map,a=t.merge,s=/^(min|max)?(.+)$/;function l(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function u(e,n,r){var o,a,s=[],l=[],u=e.timeline;if(e.baseOption&&(a=e.baseOption),(u||e.options)&&(a=a||{},s=(e.options||[]).slice()),e.media){a=a||{};var h=e.media;i(h,(function(t){t&&t.option&&(t.query?l.push(t):o||(o=t))}))}return a||(a=e),a.timeline||(a.timeline=u),i([a].concat(s).concat(t.map(l,(function(t){return t.option}))),(function(t){i(n,(function(e){e(t,r)}))})),{baseOption:a,timelineOptions:s,mediaDefault:o,mediaList:l}}function h(e,n,i){var r={width:n,height:i,aspectratio:n/i},o=!0;return t.each(e,(function(t,e){var n=e.match(s);if(n&&n[1]&&n[2]){var i=n[1],a=n[2].toLowerCase();(function(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e})(r[a],t,i)||(o=!1)}})),o}return l.prototype={constructor:l,setOption:function(s,l){s&&t.each(e.normalizeToArray(s.series),(function(e){e&&e.data&&t.isTypedArray(e.data)&&t.setAsPrimitive(e.data)})),s=r(s);var h,c,d=this._optionBackup,p=u.call(this,s,l,!d);this._newBaseOption=p.baseOption,d?(h=d.baseOption,c=p.baseOption,i(c=c||{},(function(t,i){if(null!=t){var r=h[i];if(n.hasClass(i)){t=e.normalizeToArray(t),r=e.normalizeToArray(r);var s=e.mappingToExists(r,t);h[i]=o(s,(function(t){return t.option&&t.exist?a(t.exist,t.option,!0):t.exist||t.option}))}else h[i]=a(r,t,!0)}})),p.timelineOptions.length&&(d.timelineOptions=p.timelineOptions),p.mediaList.length&&(d.mediaList=p.mediaList),p.mediaDefault&&(d.mediaDefault=p.mediaDefault)):this._optionBackup=p},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=o(e.timelineOptions,r),this._mediaList=o(e.mediaList,r),this._mediaDefault=r(e.mediaDefault),this._currentMediaIndices=[],r(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=r(n[i.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e,n,i=this._api.getWidth(),a=this._api.getHeight(),s=this._mediaList,l=this._mediaDefault,u=[],c=[];if(!s.length&&!l)return c;for(var d=0,p=s.length;d=0;f--){var g=t[f];if(s||(c=g.data.rawIndexOf(g.stackedByDimension,h)),c>=0){var v=g.data.getByRawIndex(g.stackResultDimension,c);if(d>=0&&v>0||d<=0&&v<0){d+=v,p=v;break}}}return i[0]=d,i[1]=p,i}));a.hostModel.setData(l),e.data=l}))}return Mj=function(t){var n=e();t.eachSeries((function(t){var e=t.get("stack");if(e){var i=n.get(e)||n.set(e,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),n.each(i)}}var zj,Vj,Bj,Fj={};function Gj(){if(zj)return Fj;zj=1,cW().__DEV__;var t=bW();t.isTypedArray;var e=t.extend;t.assert;var n=t.each,i=t.isObject,r=AY(),o=r.getDataItemValue,a=r.isDataItemOption,s=YX().parseDate,l=Dj(),u=Aj(),h=u.SOURCE_FORMAT_TYPED_ARRAY,c=u.SOURCE_FORMAT_ARRAY_ROWS,d=u.SOURCE_FORMAT_ORIGINAL,p=u.SOURCE_FORMAT_OBJECT_ROWS;function f(t,n){l.isInstance(t)||(t=l.seriesDataToSource(t)),this._source=t;var i=this._data=t.data,r=t.sourceFormat;r===h&&(this._offset=0,this._dimSize=n,this._data=i);var o=v[r===c?r+"_"+t.seriesLayoutBy:r];e(this,o)}var g=f.prototype;g.pure=!1,g.persistent=!0,g.getSource=function(){return this._source};var v={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(t){return this._data[t+this._source.startIndex]},appendData:x},arrayRows_row:{pure:!0,count:function(){var t=this._data[0];return t?Math.max(0,t.length-this._source.startIndex):0},getItem:function(t){t+=this._source.startIndex;for(var e=[],n=this._data,i=0;i=1)&&(t=1),t}l===h&&u===c||(n="reset"),(this._dirty||"reset"===n)&&(this._dirty=!1,s=function(t,n){var i,r;t._dueIndex=t._outputDueEnd=t._dueEnd=0,t._settedOutputEnd=null,!n&&t._reset&&((i=t._reset(t.context))&&i.progress&&(r=i.forceFirstProgress,i=i.progress),e(i)&&!i.length&&(i=null)),t._progress=i,t._modBy=t._modDataCount=null;var o=t._downstream;return o&&o.dirty(),r}(this,r)),this._modBy=h,this._modDataCount=c;var p=t&&t.step;if(this._dueEnd=i?i._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var f=this._dueIndex,g=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!r&&(s||f1&&i>0?s:a}};return o;function a(){return e=t?null:o":"\n",d="richText"===u,p={},f=0;function g(t){return{renderMode:u,content:r(o(t)),style:p}}var v=this.getData(),m=v.mapDimension("defaultedTooltip",!0),x=m.length,_=this.getRawValue(e),b=t.isArray(_),w=v.getItemVisual(e,"color");t.isObject(w)&&w.colorStops&&(w=(w.colorStops[0]||{}).color),w=w||"transparent";var S=x>1||b&&!x?function(s){var l=t.reduce(s,(function(t,e,n){var i=v.getDimensionInfo(n);return t|(i&&!1!==i.tooltip&&null!=i.displayName)}),0),c=[];function g(t,e){var s=v.getDimensionInfo(e);if(s&&!1!==s.otherDims.tooltip){var g=s.type,m="sub"+h.seriesIndex+"at"+f,y=a({color:w,type:"subItem",renderMode:u,markerId:m}),x="string"==typeof y?y:y.content,_=(l?x+r(s.displayName||"-")+": ":"")+r("ordinal"===g?t+"":"time"===g?n?"":i("yyyy/MM/dd hh:mm:ss",t):o(t));_&&c.push(_),d&&(p[m]=w,++f)}}m.length?t.each(m,(function(t){g(y(v,e,t),t)})):t.each(s,g);var x=l?d?"\n":"
":"",_=x+c.join(x||", ");return{renderMode:u,content:_,style:p}}(_):g(x?y(v,e,m[0]):b?_[0]:_),M=S.content,I=h.seriesIndex+"at"+f,T=a({color:w,type:"item",renderMode:u,markerId:I});p[I]=w,++f;var C=v.getName(e),A=this.name;s.isNameSpecified(this)||(A=""),A=A?r(A)+(n?": ":c):"";var D="string"==typeof T?T:T.content;return{html:n?D+A+M:A+D+(C?r(C)+": "+M:M),markers:p}},isAnimationEnabled:function(){if(e.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,n){var i=this.ecModel,r=u.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function b(e){var n=e.name;s.isNameSpecified(e)||(e.name=function(e){var n=e.getRawData(),i=n.mapDimension("seriesName",!0),r=[];return t.each(i,(function(t){var e=n.getDimensionInfo(t);e.displayName&&r.push(e.displayName)})),r.join(" ")}(e)||n)}function w(t){return t.model.getRawData().count()}function S(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),M}function M(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function I(e,n){t.each(e.CHANGABLE_METHODS,(function(i){e.wrapMethod(i,t.curry(T,n))}))}function T(t){var e=C(t);e&&e.setOutputEnd(this.count())}function C(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}return t.mixin(_,h),t.mixin(_,u),Uj=_}function eq(){if(Xj)return Zj;Xj=1;var t=PU(),e=GX(),n=zY(),i=function(){this.group=new t,this.uid=e.getUID("viewComponent")},r=i.prototype={constructor:i,init:function(t,e){},render:function(t,e,n,i){},dispose:function(){},filterForExposedEvent:null};return r.updateView=r.updateLayout=r.updateVisual=function(t,e,n,i){},n.enableClassExtend(i),n.enableClassManagement(i,{registerWhenExtend:!0}),Zj=i}function nq(){if(qj)return jj;qj=1;var t=AY().makeInner;return jj=function(){var e=t();return function(t){var n=e(t),i=t.pipelineContext,r=n.large,o=n.progressiveRender,a=n.large=i&&i.large,s=n.progressiveRender=i&&i.progressiveRender;return!!(r^a||o^s)&&"reset"}},jj}function iq(){if($j)return Kj;$j=1;var t=bW().each,e=PU(),n=GX(),i=zY(),r=AY(),o=zX(),a=Qj().createTask,s=nq(),l=r.makeInner(),u=s();function h(){this.group=new e,this.uid=n.getUID("viewChart"),this.renderTask=a({plan:f,reset:g}),this.renderTask.context={view:this}}h.prototype={type:"chart",init:function(t,e){},render:function(t,e,n,i){},highlight:function(t,e,n,i){p(t.getData(),i,"emphasis")},downplay:function(t,e,n,i){p(t.getData(),i,"normal")},remove:function(t,e){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var c=h.prototype;function d(t,e,n){if(t&&(t.trigger(e,n),t.isGroup&&!o.isHighDownDispatcher(t)))for(var i=0,r=t.childCount();i=0?c():h=setTimeout(c,-r),l=i};return d.clear=function(){h&&(clearTimeout(h),h=null)},d.debounceNextCall=function(t){s=t},d}return xq.throttle=i,xq.createOrUpdate=function(r,o,a,s){var l=r[o];if(l){var u=l[t]||l,h=l[n];if(l[e]!==a||h!==s){if(null==a||!s)return r[o]=u;(l=r[o]=i(u,a,"debounce"===s))[t]=u,l[n]=s,l[e]=a}return l}},xq.clear=function(e,n){var i=e[n];i&&i[t]&&(e[n]=i[t])},xq}function bq(){if(aq)return oq;aq=1;var t=RX(),e=bW().isFunction,n={createOnAllSeries:!0,performRawSeries:!0,reset:function(n,i){var r=n.getData(),o=(n.visualColorAccessPath||"itemStyle.color").split("."),a=n.get(o),s=!e(a)||a instanceof t?null:a;a&&!s||(a=n.getColorFromPalette(n.name,null,i.getSeriesCount())),r.setVisual("color",a);var l=(n.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),u=n.get(l);if(r.setVisual("borderColor",u),!i.isSeriesFiltered(n))return s&&r.each((function(t){r.setItemVisual(t,"color",s(n.getDataParams(t)))})),{dataEach:r.hasItemOption?function(t,e){var n=t.getItemModel(e),i=n.get(o,!0),r=n.get(l,!0);null!=i&&t.setItemVisual(e,"color",i),null!=r&&t.setItemVisual(e,"borderColor",r)}:null}}};return oq=n}function wq(){return lq?sq:(lq=1,sq={legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}})}function Sq(){if(hq)return uq;hq=1;var t=bW(),e=wq(),n=Gj().retrieveRawValue;return uq=function(i,r){var o=r.getModel("aria");if(o.get("show"))if(o.get("description"))i.setAttribute("aria-label",o.get("description"));else{var a=0;r.eachSeries((function(t,e){++a}),this);var s,l=o.get("data.maxCount")||10,u=o.get("series.maxCount")||10,h=Math.min(a,u);if(!(a<1)){var c=function(){var t=r.getModel("title").option;return t&&t.length&&(t=t[0]),t&&t.text}();s=c?p(f("general.withTitle"),{title:c}):f("general.withoutTitle");var d=[];s+=p(f(a>1?"series.multiple.prefix":"series.single.prefix"),{seriesCount:a}),r.eachSeries((function(t,i){if(i1?"multiple":"single")+".";r=p(r=f(o?s+"withName":s+"withoutName"),{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:(y=t.subType,e.series.typeNames[y]||"自定义图")});var u=t.getData();window.data=u,u.count()>l?r+=p(f("data.partialData"),{displayCnt:l}):r+=f("data.allData");for(var c=[],g=0;gn.blockIndex?n.step:null,o=i&&i.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},d.getPipeline=function(t){return this._pipelineMap.get(t)},d.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},d.restorePipelines=function(t){var e=this,n=e._pipelineMap=r();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),M(e,t,t.dataTask)}))},d.prepareStageTasks=function(){var t=this._stageTaskMap,n=this.ecInstance.getModel(),i=this.api;e(this._allHandlers,(function(o){var s=t.get(o.uid)||t.set(o.uid,[]);o.reset&&function(t,e,n,i,o){var s=n.seriesTaskMap||(n.seriesTaskMap=r()),l=e.seriesType,u=e.getTargetSeries;function h(n){var r=n.uid,l=s.get(r)||s.set(r,a({plan:x,reset:_,count:S}));l.context={model:n,ecModel:i,api:o,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},M(t,n,l)}e.createOnAllSeries?i.eachRawSeries(h):l?i.eachRawSeriesByType(l,h):u&&u(i,o).each(h);var c=t._pipelineMap;s.each((function(t,e){c.get(e)||(t.dispose(),s.removeKey(e))}))}(this,o,s,n,i),o.overallReset&&function(t,n,i,o,s){var l=i.overallTask=i.overallTask||a({reset:g});l.context={ecModel:o,api:s,overallReset:n.overallReset,scheduler:t};var u=l.agentStubMap=l.agentStubMap||r(),h=n.seriesType,c=n.getTargetSeries,d=!0,p=n.modifyOutputEnd;function f(e){var n=e.uid,i=u.get(n);i||(i=u.set(n,a({reset:v,onDirty:y})),l.dirty()),i.context={model:e,overallProgress:d,modifyOutputEnd:p},i.agent=l,i.__block=d,M(t,e,i)}h?o.eachRawSeriesByType(h,f):c?c(o,s).each(f):(d=!1,e(o.getSeries(),f));var m=t._pipelineMap;u.each((function(t,e){m.get(e)||(t.dispose(),l.dirty(),u.removeKey(e))}))}(this,o,s,n,i)}),this)},d.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,M(this,e,r)},d.performDataProcessorTasks=function(t,e){p(this,this._dataProcessorHandlers,t,e,{block:!0})},d.performVisualTasks=function(t,e,n){p(this,this._visualHandlers,t,e,n)},d.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e|=t.dataTask.perform()})),this.unfinished|=e},d.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))};var f=d.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function g(t){t.overallReset(t.ecModel,t.api,t.payload)}function v(t,e){return t.overallProgress&&m}function m(){this.agent.dirty(),this.getDownstream().dirty()}function y(){this.agent&&this.agent.dirty()}function x(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function _(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=h(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?n(e,(function(t,e){return w(e)})):b}var b=w(0);function w(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o=4&&(u={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(u&&null!=s&&null!=l&&(h=O(u,s,l),!n.ignoreViewBox)){var p=o;(o=new t).add(p),p.scale=h.scale.slice(),p.position=h.position.slice()}return n.ignoreRootClip||null==s||null==l||o.setClipPath(new r({shape:{x:0,y:0,width:s,height:l}})),{root:o,width:s,height:l,viewBoxRect:u,viewBoxTransform:h}},w.prototype._parseNode=function(t,e){var n,i,r=t.nodeName.toLowerCase();if("defs"===r?this._isDefine=!0:"text"===r&&(this._isText=!0),this._isDefine){if(i=M[r]){var o=i.call(this,t),a=t.getAttribute("id");a&&(this._defs[a]=o)}}else(i=S[r])&&(n=i.call(this,t,e),e.add(n));for(var s=t.firstChild;s;)1===s.nodeType&&this._parseNode(s,n),3===s.nodeType&&this._isText&&this._parseText(s,n),s=s.nextSibling;"defs"===r?this._isDefine=!1:"text"===r&&(this._isText=!1)},w.prototype._parseText=function(t,e){if(1===t.nodeType){var i=t.getAttribute("dx")||0,r=t.getAttribute("dy")||0;this._textX+=parseFloat(i),this._textY+=parseFloat(r)}var o=new n({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});I(e,o),A(t,o,this._defs);var a=o.style.fontSize;a&&a<9&&(o.style.fontSize=9,o.scale=o.scale||[1,1],o.scale[0]*=a/9,o.scale[1]*=a/9);var s=o.getBoundingRect();return this._textX+=s.width,e.add(o),o};var S={g:function(e,n){var i=new t;return I(n,i),A(e,i,this._defs),i},rect:function(t,e){var n=new r;return I(e,n),A(t,n,this._defs),n.setShape({x:parseFloat(t.getAttribute("x")||0),y:parseFloat(t.getAttribute("y")||0),width:parseFloat(t.getAttribute("width")||0),height:parseFloat(t.getAttribute("height")||0)}),n},circle:function(t,e){var n=new i;return I(e,n),A(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),n},line:function(t,e){var n=new a;return I(e,n),A(t,n,this._defs),n.setShape({x1:parseFloat(t.getAttribute("x1")||0),y1:parseFloat(t.getAttribute("y1")||0),x2:parseFloat(t.getAttribute("x2")||0),y2:parseFloat(t.getAttribute("y2")||0)}),n},ellipse:function(t,e){var n=new o;return I(e,n),A(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),rx:parseFloat(t.getAttribute("rx")||0),ry:parseFloat(t.getAttribute("ry")||0)}),n},polygon:function(t,e){var n=t.getAttribute("points");n&&(n=T(n));var i=new l({shape:{points:n||[]}});return I(e,i),A(t,i,this._defs),i},polyline:function(t,e){var n=new s;I(e,n),A(t,n,this._defs);var i=t.getAttribute("points");return i&&(i=T(i)),new u({shape:{points:i||[]}})},image:function(t,n){var i=new e;return I(n,i),A(t,i,this._defs),i.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),i},text:function(e,n){var i=e.getAttribute("x")||0,r=e.getAttribute("y")||0,o=e.getAttribute("dx")||0,a=e.getAttribute("dy")||0;this._textX=parseFloat(i)+parseFloat(o),this._textY=parseFloat(r)+parseFloat(a);var s=new t;return I(n,s),A(e,s,this._defs),s},tspan:function(e,n){var i=e.getAttribute("x"),r=e.getAttribute("y");null!=i&&(this._textX=parseFloat(i)),null!=r&&(this._textY=parseFloat(r));var o=e.getAttribute("dx")||0,a=e.getAttribute("dy")||0,s=new t;return I(n,s),A(e,s,this._defs),this._textX+=o,this._textY+=a,s},path:function(t,e){var n=t.getAttribute("d")||"",i=p(n);return I(e,i),A(t,i,this._defs),i}},M={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),n=parseInt(t.getAttribute("y1")||0,10),i=parseInt(t.getAttribute("x2")||10,10),r=parseInt(t.getAttribute("y2")||0,10),o=new h(e,n,i,r);return function(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType){var i=n.getAttribute("offset");i=i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var r=n.getAttribute("stop-color")||"#000000";e.addColorStop(i,r)}n=n.nextSibling}}(t,o),o},radialgradient:function(t){}};function I(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),m(e.__inheritedStyle,t.__inheritedStyle))}function T(t){for(var e=y(t).split(_),n=[],i=0;i0;o-=2){var a=r[o],s=r[o-1];switch(i=i||d.create(),s){case"translate":a=y(a).split(_),d.translate(i,i,[parseFloat(a[0]),parseFloat(a[1]||0)]);break;case"scale":a=y(a).split(_),d.scale(i,i,[parseFloat(a[0]),parseFloat(a[1]||a[0])]);break;case"rotate":a=y(a).split(_),d.rotate(i,i,parseFloat(a[0]));break;case"skew":a=y(a).split(_),console.warn("Skew transform is not supported yet");break;case"matrix":a=y(a).split(_),i[0]=parseFloat(a[0]),i[1]=parseFloat(a[1]),i[2]=parseFloat(a[2]),i[3]=parseFloat(a[3]),i[4]=parseFloat(a[4]),i[5]=parseFloat(a[5])}}e.setLocalTransform(i)}}(t,e),v(r,function(t){var e=t.getAttribute("style"),n={};if(!e)return n;var i,r={};for(P.lastIndex=0;null!=(i=P.exec(e));)r[i[1]]=i[2];for(var o in C)C.hasOwnProperty(o)&&null!=r[o]&&(n[C[o]]=r[o]);return n}(t)),!i))for(var a in C)if(C.hasOwnProperty(a)){var s=t.getAttribute(a);null!=s&&(r[C[a]]=s)}var l=o?"textFill":"fill",u=o?"textStroke":"stroke";e.style=e.style||new c;var h=e.style;null!=r.fill&&h.set(l,L(r.fill,n)),null!=r.stroke&&h.set(u,L(r.stroke,n)),x(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){var e="lineWidth"===t&&o?"textStrokeWidth":t;null!=r[t]&&h.set(e,parseFloat(r[t]))})),r.textBaseline&&"auto"!==r.textBaseline||(r.textBaseline="alphabetic"),"alphabetic"===r.textBaseline&&(r.textBaseline="bottom"),"start"===r.textAlign&&(r.textAlign="left"),"end"===r.textAlign&&(r.textAlign="right"),x(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],(function(t){null!=r[t]&&h.set(t,r[t])})),r.lineDash&&(e.style.lineDash=y(r.lineDash).split(_)),h[u]&&"none"!==h[u]&&(e[u]=!0),e.__inheritedStyle=r}var D=/url\(\s*#(.*?)\)/;function L(t,e){var n=e&&t&&t.match(D);return n?e[y(n[1])]:t}var k=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g,P=/([^\s:;]+)\s*:\s*([^:;]+)/g;function O(t,e,n){var i=e/t.width,r=n/t.height,o=Math.min(i,r);return{scale:[o,o],position:[-(t.x+t.width/2)*o+e/2,-(t.y+t.height/2)*o+n/2]}}return Oq.parseXML=b,Oq.makeViewBoxTransform=O,Oq.parseSVG=function(t,e){return(new w).parse(t,e)},Oq}function Eq(){if(Pq)return kq;Pq=1,cW().__DEV__;var t=bW(),e=t.createHashMap,n=t.isString,i=t.isArray,r=t.each;t.assert;var o=Nq().parseXML,a=e(),s={registerMap:function(t,e,n){var o;return i(e)?o=e:e.svg?o=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(n=e.specialAreas,e=e.geoJson),o=[{type:"geoJSON",source:e,specialAreas:n}]),r(o,(function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON"),(0,l[e])(t)})),a.set(t,o)},retrieveMap:function(t){return a.get(t)}},l={geoJSON:function(t){var e=t.source;t.geoJSON=n(e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=o(t.source)}};return kq=s}var zq,Vq,Bq={},Fq={};function Gq(){if(Vq)return zq;function t(t){return t}function e(e,n,i,r,o){this._old=e,this._new=n,this._oldKeyGetter=i||t,this._newKeyGetter=r||t,this.context=o}function n(t,e,n,i,r){for(var o=0;o65535?d:f}var v=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],m=["_extent","_approximateExtent","_rawExtent"];function y(e,n){t.each(v.concat(n.__wrappedMethods||[]),(function(t){n.hasOwnProperty(t)&&(e[t]=n[t])})),e.__wrappedMethods=n.__wrappedMethods,t.each(m,(function(i){e[i]=t.clone(n[i])})),e._calculationInfo=t.extend(n._calculationInfo)}var x=function(e,n){e=e||["x","y"];for(var i={},r=[],o={},a=0;a=0?this._indices[t]:-1}function T(t,e){var n=t._idList[e];return null==n&&(n=S(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n}function C(e){return t.isArray(e)||(e=[e]),e}function A(e,n){var i=e.dimensions,r=new x(t.map(i,e.getDimensionInfo,e),e.hostModel);y(r,e);for(var o=r._storage={},a=e._storage,s=0;s=0?(o[l]=D(a[l]),r._rawExtent[l]=[1/0,-1/0],r._extent[l]=null):o[l]=a[l])}return r}function D(t){for(var e,n,i=new Array(t.length),r=0;rx[1]&&(x[1]=y)}e&&(this._nameList[d]=e[p])}this._rawCount=this._count=l,this._extent={},w(this)},_._initDataFromProvider=function(t,e){if(!(t>=e)){for(var n,i=this._chunkSize,r=this._rawData,o=this._storage,a=this.dimensions,s=a.length,l=this._dimensionInfos,u=this._nameList,h=this._idList,c=this._rawExtent,d=this._nameRepeatCount={},p=this._chunkCount,f=0;fT[1]&&(T[1]=I)}if(!r.pure){var C=u[m];if(v&&null==C)if(null!=v.name)u[m]=C=v.name;else if(null!=n){var A=a[n],D=o[A][y];if(D){C=D[x];var L=l[A].ordinalMeta;L&&L.categories.length&&(C=L.categories[C])}}var k=null==v?null:v.id;null==k&&null!=C&&(d[C]=d[C]||0,k=C,d[C]>0&&(k+="__ec__"+d[C]),d[C]++),null!=k&&(h[m]=k)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent={},w(this)}},_.count=function(){return this._count},_.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,n=this._count;if(e===Array){r=new e(n);for(var i=0;i=0&&e=0&&ea&&(a=l)}return i=[o,a],this._extent[t]=i,i},_.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},_.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},_.getCalculationInfo=function(t){return this._calculationInfo[t]},_.setCalculationInfo=function(e,n){u(e)?t.extend(this._calculationInfo,e):this._calculationInfo[e]=n},_.getSum=function(t){var e=0;if(this._storage[t])for(var n=0,i=this.count();n=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}return-1},_.indicesOfNearest=function(t,e,n){var i=[];if(!this._storage[t])return i;null==n&&(n=1/0);for(var r=1/0,o=-1,a=0,s=0,l=this.count();s=0&&o<0)&&(r=h,o=u,a=0),u===o&&(i[a++]=s))}return i.length=a,i},_.getRawIndex=M,_.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],n=0;n=l&&w<=u||isNaN(w))&&(o[a++]=c),c++;h=!0}else if(2===i){d=this._storage[s];var y=this._storage[e[1]],x=t[e[1]][0],_=t[e[1]][1];for(p=0;p=l&&w<=u||isNaN(w))&&(S>=x&&S<=_||isNaN(S))&&(o[a++]=c),c++}}h=!0}}if(!h)if(1===i)for(m=0;m=l&&w<=u||isNaN(w))&&(o[a++]=T)}else for(m=0;mt[A][1])&&(C=!1)}C&&(o[a++]=this.getRawIndex(m))}return aw[1]&&(w[1]=b)}}}return o},_.downSample=function(t,e,n,i){for(var r=A(this,[t]),o=r._storage,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),h=this._chunkSize,c=r._rawExtent[t],d=new(g(this))(u),p=0,f=0;fu-f&&(s=u-f,a.length=s);for(var v=0;vc[1]&&(c[1]=_),d[p++]=b}return r._count=p,r._indices=d,r.getRawIndex=I,r},_.getItemModel=function(t){var n=this.hostModel;return new e(this.getRawDataItem(t),n,n&&n.ecModel)},_.diff=function(t){var e=this;return new n(t?t.getIndices():[],this.getIndices(),(function(e){return T(t,e)}),(function(t){return T(e,t)}))},_.getVisual=function(t){var e=this._visual;return e&&e[t]},_.setVisual=function(t,e){if(u(t))for(var n in t)t.hasOwnProperty(n)&&this.setVisual(n,t[n]);else this._visual=this._visual||{},this._visual[t]=e},_.setLayout=function(t,e){if(u(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},_.getLayout=function(t){return this._layout[t]},_.getItemLayout=function(t){return this._itemLayouts[t]},_.setItemLayout=function(e,n,i){this._itemLayouts[e]=i?t.extend(this._itemLayouts[e]||{},n):n},_.clearItemLayouts=function(){this._itemLayouts.length=0},_.getItemVisual=function(t,e,n){var i=this._itemVisuals[t],r=i&&i[e];return null!=r||n?r:this.getVisual(e)},_.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{},r=this.hasItemVisual;if(this._itemVisuals[t]=i,u(e))for(var o in e)e.hasOwnProperty(o)&&(i[o]=e[o],r[o]=!0);else i[e]=n,r[e]=!0},_.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var L=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};return _.setItemGraphicEl=function(t,e){var n=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=n&&n.seriesIndex,"group"===e.type&&e.traverse(L,e)),this._graphicEls[t]=e},_.getItemGraphicEl=function(t){return this._graphicEls[t]},_.eachItemGraphicEl=function(e,n){t.each(this._graphicEls,(function(t,i){t&&e&&e.call(n,t,i)}))},_.cloneShallow=function(e){if(!e){var n=t.map(this.dimensions,this.getDimensionInfo,this);e=new x(n,this.hostModel)}if(e._storage=this._storage,y(e,this),this._indices){var i=this._indices.constructor;e._indices=new i(this._indices)}else e._indices=null;return e.getRawIndex=e._indices?I:M,e},_.wrapMethod=function(e,n){var i=this[e];"function"==typeof i&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=i.apply(this,arguments);return n.apply(this,[e].concat(t.slice(arguments)))})},_.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],_.CHANGABLE_METHODS=["filterSelf","selectRange"],Yq=x}function eK(){if(jq)return Xq;jq=1;var t=bW(),e=t.createHashMap,n=t.each,i=t.isString,r=t.defaults,o=t.extend,a=t.isObject,s=t.clone,l=AY().normalizeToArray,u=Lj(),h=u.guessOrdinal,c=u.BE_ORDINAL,d=Dj(),p=Jq().OTHER_DIMENSIONS,f=Qq();function g(t,e,n){if(n||null!=e.get(t)){for(var i=0;null!=e.get(t+i);)i++;t+=i}return e.set(t,!0),t}var v=function(t,u,v){d.isInstance(u)||(u=d.seriesDataToSource(u)),v=v||{},t=(t||[]).slice();for(var m=(v.dimsDef||[]).slice(),y=e(),x=e(),_=[],b=function(t,e,i,r){var o=Math.max(t.dimensionsDetectCount||1,e.length,i.length,r||0);return n(e,(function(t){var e=t.dimsDef;e&&(o=Math.max(o,e.length))})),o}(u,t,m,v.dimCount),w=0;w=e[0]&&t<=e[1]},e.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},e.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},e.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(t){this._isBlank=t},e.prototype.getLabel=null,t.enableClassExtend(e),t.enableClassManagement(e,{registerWhenExtend:!0}),cK=e}function xK(){if(fK)return pK;fK=1;var t=bW(),e=t.createHashMap,n=t.isObject,i=t.map;function r(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}r.createByAxisModel=function(t){var e=t.option,n=e.data,o=n&&i(n,s);return new r({categories:o,needCollect:!o,deduplication:!1!==e.dedplication})};var o=r.prototype;function a(t){return t._map||(t._map=e(t.categories))}function s(t){return n(t)&&null!=t.value?t.value:t+""}return o.getOrdinal=function(t){return a(this).get(t)},o.parseAndCollect=function(t){var e,n=this._needCollect;if("string"!=typeof t&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=a(this);return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},pK=r}var _K,bK,wK,SK={};function MK(){if(_K)return SK;_K=1;var t=YX(),e=t.round;function n(e){return t.getPrecisionSafe(e)+2}function i(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function r(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),i(t,0,e),i(t,1,e),t[0]>t[1]&&(t[0]=t[1])}return SK.intervalScaleNiceTicks=function(i,o,a,s){var l={},u=i[1]-i[0],h=l.interval=t.nice(u/o,!0);null!=a&&hs&&(h=l.interval=s);var c=l.intervalPrecision=n(h);return r(l.niceTickExtent=[e(Math.ceil(i[0]/h)*h,c),e(Math.floor(i[1]/h)*h,c)],i),l},SK.getIntervalPrecision=n,SK.fixExtent=r,SK}function IK(){if(wK)return bK;wK=1;var t=YX(),e=ij(),n=yK(),i=MK(),r=t.round,o=n.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},unionExtent:function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),o.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=i.getIntervalPrecision(t)},getTicks:function(t){var e=this._interval,n=this._extent,i=this._niceExtent,o=this._intervalPrecision,a=[];if(!e)return a;n[0]1e4)return[];var l=a.length?a[a.length-1]:i[1];return n[1]>l&&(t?a.push(r(l+e,o)):a.push(n[1])),a},getMinorTicks:function(e){for(var n=this.getTicks(!0),i=[],r=this.getExtent(),o=1;or[0]&&c0&&(a=null===a?l:Math.min(a,l))}i[r]=a}}return i}(n),r=[];return t.each(n,(function(t){var n,o=t.coordinateSystem.getBaseAxis(),l=o.getExtent();if("category"===o.type)n=o.getBandWidth();else if("value"===o.type||"time"===o.type){var u=o.dim+"_"+o.index,h=i[u],c=Math.abs(l[1]-l[0]),d=o.scale.getExtent(),p=Math.abs(d[1]-d[0]);n=h?c/p*h:c}else{var f=t.getData();n=Math.abs(l[1]-l[0])/f.count()}var g=e(t.get("barWidth"),n),v=e(t.get("barMaxWidth"),n),m=e(t.get("barMinWidth")||1,n),y=t.get("barGap"),x=t.get("barCategoryGap");r.push({bandWidth:n,barWidth:g,barMaxWidth:v,barMinWidth:m,barGap:y,barCategoryGap:x,axisKey:s(o),stackId:a(t)})})),h(r)}function h(n){var i={};t.each(n,(function(t,e){var n=t.axisKey,r=t.bandWidth,o=i[n]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},a=o.stacks;i[n]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var h=t.barMinWidth;h&&(a[s].minWidth=h);var c=t.barGap;null!=c&&(o.gap=c);var d=t.barCategoryGap;null!=d&&(o.categoryGap=d)}));var r={};return t.each(i,(function(n,i){r[i]={};var o=n.stacks,a=n.bandWidth,s=e(n.categoryGap,a),l=e(n.gap,1),u=n.remainedWidth,h=n.autoWidthCount,c=(u-s)/(h+(h-1)*l);c=Math.max(c,0),t.each(o,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width)i=t.width,e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,h--;else{var i=c;e&&ei&&(i=n),i!==c&&(t.width=i,u-=i+l*i,h--)}})),c=(u-s)/(h+(h-1)*l),c=Math.max(c,0);var d,p=0;t.each(o,(function(t,e){t.width||(t.width=c),d=t,p+=t.width*(1+l)})),d&&(p-=d.width*l);var f=-p/2;t.each(o,(function(t,e){r[i][e]=r[i][e]||{bandWidth:a,offset:f,width:t.width},f+=t.width*(1+l)}))})),r}function c(t,e,n){if(t&&e){var i=t[s(e)];return null!=i&&null!=n&&(i=i[a(n)]),i}}var d={seriesType:"bar",plan:i(),reset:function(t){if(p(t)&&f(t)){var e=t.getData(),n=t.coordinateSystem,i=n.grid.getRect(),r=n.getBaseAxis(),a=n.getOtherAxis(r),s=e.mapDimension(a.dim),l=e.mapDimension(r.dim),h=a.isHorizontal(),d=h?0:1,v=c(u([t]),r,t).width;return v>.5||(v=.5),{progress:function(t,e){for(var r,u=t.count,c=new o(2*u),p=new o(2*u),f=new o(u),m=[],y=[],x=0,_=0;null!=(r=t.next());)y[d]=e.get(s,r),y[1-d]=e.get(l,r),m=n.dataToPoint(y,null,m),p[x]=h?i.x+i.width:m[0],c[x++]=m[0],p[x]=h?m[1]:i.y+i.height,c[x++]=m[1],f[_++]=r;e.setLayout({largePoints:c,largeDataIndices:f,largeBackgroundPoints:p,barWidth:v,valueAxisStart:g(0,a),backgroundStart:h?i.x:i.y,valueAxisHorizontal:h})}}}}};function p(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function f(t){return t.pipelineContext&&t.pipelineContext.large}function g(t,e,n){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}return RK.getLayoutOnAxis=function(e){var n=[],i=e.axis,o="axis0";if("category"===i.type){for(var a=i.getBandWidth(),s=0;s=0?"p":"n",k=_;y&&(h[l][D]||(h[l][D]={p:_,n:_}),k=h[l][D][L]),x?(S=k,M=(C=i.dataToPoint([A,D]))[1]+c,I=C[0]-_,T=d,Math.abs(I)0;)r*=10;var o=[n.round(u(e[0]/r)*r),n.round(l(e[1]/r)*r)];this._interval=r,this._niceExtent=o}},niceExtent:function(t){o.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function p(t,e){return s(t,a(e))}return t.each(["contain","normalize"],(function(t){d.prototype[t]=function(e){return e=c(e)/c(this.base),r[t].call(this,e)}})),d.create=function(){return new d},DK=d}function zK(){if(kK)return mK;kK=1,cW().__DEV__;var t=bW(),e=function(){if(vK)return gK;vK=1;var t=bW(),e=yK(),n=xK(),i=e.prototype,r=e.extend({type:"ordinal",init:function(e,i){e&&!t.isArray(e)||(e=new n({categories:e})),this._ordinalMeta=e,this._extent=i||[0,e.categories.length-1]},parse:function(t){return"string"==typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},contain:function(t){return t=this.parse(t),i.contain.call(this,t)&&null!=this._ordinalMeta.categories[t]},normalize:function(t){return i.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(i.scale.call(this,t))},getTicks:function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push(n),n++;return t},getLabel:function(t){if(!this.isBlank())return this._ordinalMeta.categories[t]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:t.noop,niceExtent:t.noop});return r.create=function(){return new r},gK=r}(),n=IK(),i=yK(),r=YX(),o=NK(),a=o.prepareLayoutBarSeries,s=o.makeColumnLayout,l=o.retrieveColumnLayout,u=kU();function h(e,n){var i,o,u,h=e.type,c=n.getMin(),d=n.getMax(),p=e.getExtent();"ordinal"===h?i=n.getCategories().length:(o=n.get("boundaryGap"),t.isArray(o)||(o=[o||0,o||0]),"boolean"==typeof o[0]&&(o=[0,0]),o[0]=r.parsePercent(o[0],1),o[1]=r.parsePercent(o[1],1),u=p[1]-p[0]||Math.abs(p[0])),"dataMin"===c?c=p[0]:"function"==typeof c&&(c=c({min:p[0],max:p[1]})),"dataMax"===d?d=p[1]:"function"==typeof d&&(d=d({min:p[0],max:p[1]}));var f=null!=c,g=null!=d;null==c&&(c="ordinal"===h?i?0:NaN:p[0]-o[0]*u),null==d&&(d="ordinal"===h?i?i-1:NaN:p[1]+o[1]*u),(null==c||!isFinite(c))&&(c=NaN),(null==d||!isFinite(d))&&(d=NaN),e.setBlank(t.eqNaN(c)||t.eqNaN(d)||"ordinal"===h&&!e.getOrdinalMeta().categories.length),n.getNeedCrossZero()&&(c>0&&d>0&&!f&&(c=0),c<0&&d<0&&!g&&(d=0));var v=n.ecModel;if(v&&"time"===h){var m,y=a("bar",v);if(t.each(y,(function(t){m|=t.getBaseAxis()===n.axis})),m){var x=s(y),_=function(e,n,i,r){var o=i.axis.getExtent(),a=o[1]-o[0],s=l(r,i.axis);if(void 0===s)return{min:e,max:n};var u=1/0;t.each(s,(function(t){u=Math.min(t.offset,u)}));var h=-1/0;t.each(s,(function(t){h=Math.max(t.offset+t.width,h)})),u=Math.abs(u),h=Math.abs(h);var c=u+h,d=n-e,p=d/(1-(u+h)/a)-d;return{min:e-=p*(u/c),max:n+=p*(h/c)}}(c,d,n,x);c=_.min,d=_.max}}return{extent:[c,d],fixMin:f,fixMax:g}}function c(t){var e,n=t.getLabelModel().get("formatter"),i="category"===t.type?t.scale.getExtent()[0]:null;return"string"==typeof n?(e=n,n=function(n){return n=t.scale.getLabel(n),e.replace("{value}",null!=n?n:"")}):"function"==typeof n?function(e,r){return null!=i&&(r=e-i),n(d(t,e),r)}:function(e){return t.scale.getLabel(e)}}function d(t,e){return"category"===t.type?t.scale.getLabel(e):e}function p(t,e){var n=e*Math.PI/180,i=t.plain(),r=i.width,o=i.height,a=r*Math.abs(Math.cos(n))+Math.abs(o*Math.sin(n)),s=r*Math.abs(Math.sin(n))+Math.abs(o*Math.cos(n));return new u(i.x,i.y,a,s)}function f(t){var e=t.get("interval");return null==e?"auto":e}return function(){if(AK)return CK;AK=1;var t=bW(),e=YX(),n=ij(),i=MK(),r=IK(),o=r.prototype,a=Math.ceil,s=Math.floor,l=1e3,u=6e4,h=36e5,c=864e5,d=r.extend({type:"time",getLabel:function(t){var e=this._stepLvl,i=new Date(t);return n.formatTime(e[0],i,this.getSetting("useUTC"))},niceExtent:function(t){var n=this._extent;if(n[0]===n[1]&&(n[0]-=c,n[1]+=c),n[1]===-1/0&&n[0]===1/0){var i=new Date;n[1]=+new Date(i.getFullYear(),i.getMonth(),i.getDate()),n[0]=n[1]-c}this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(n[0]=e.round(s(n[0]/r)*r)),t.fixMax||(n[1]=e.round(a(n[1]/r)*r))},niceTicks:function(t,n,r){t=t||10;var o=this._extent,l=o[1]-o[0],u=l/t;null!=n&&ur&&(u=r);var h=p.length,c=function(t,e,n,i){for(;n>>1;t[r][1]0&&i>0||n<0&&i<0)},mK.makeLabelFormatter=c,mK.getAxisRawValue=d,mK.estimateLabelUnionRect=function(t){var e=t.model,n=t.scale;if(e.get("axisLabel.show")&&!n.isBlank()){var i,r,o="category"===t.type,a=n.getExtent();r=o?n.count():(i=n.getTicks()).length;var s,l=t.getLabelModel(),u=c(t),h=1;r>40&&(h=Math.ceil(r/40));for(var d=0;d>1^-(1&s),l=l>>1^-(1&l),r=s+=r,o=l+=o,i.push([s/n,l/n])}return i}return ZK=function(i,r){return function(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var i=t.features,r=0;r0})),(function(n){var i=n.properties,o=n.geometry,a=o.coordinates,s=[];"Polygon"===o.type&&s.push({type:"polygon",exterior:a[0],interiors:a.slice(1)}),"MultiPolygon"===o.type&&t.each(a,(function(t){t[0]&&s.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})}));var l=new e(i[r||"name"],s,i.cp);return l.properties=i,l}))},ZK}var JK,QK,t$,e$,n$,i$={};function r$(){if(JK)return i$;JK=1;var t=bW(),e=eY(),n=AY().makeInner,i=zK(),r=i.makeLabelFormatter,o=i.getOptionCategoryInterval,a=i.shouldShowAllLabels,s=n();function l(e,n){var i,r,a=u(e,"labels"),l=o(n),f=h(a,l);return f||(t.isFunction(l)?i=p(e,l):(r="auto"===l?function(t){var e=s(t).autoInterval;return null!=e?e:s(t).autoInterval=t.calculateCategoryInterval()}(e):l,i=d(e,r)),c(a,l,{labels:i,labelCategoryInterval:r}))}function u(t,e){return s(t)[e]||(s(t)[e]=[])}function h(t,e){for(var n=0;n1&&d/h>2&&(c=Math.round(Math.ceil(c/h)*h));var p=a(t),f=l.get("showMinLabel")||p,g=l.get("showMaxLabel")||p;f&&c!==s[0]&&m(s[0]);for(var v=c;v<=s[1];v+=h)m(v);function m(t){u.push(n?t:{formattedLabel:i(t),rawLabel:o.getLabel(t),tickValue:t})}return g&&v-h!==s[1]&&m(s[1]),u}function p(e,n,i){var o=e.scale,a=r(e),s=[];return t.each(o.getTicks(),(function(t){var e=o.getLabel(t);n(t,e)&&s.push(i?t:{formattedLabel:a(t),rawLabel:e,tickValue:t})})),s}return i$.createAxisLabels=function(e){return"category"===e.type?function(t){var e=t.getLabelModel(),n=l(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(e):function(e){var n=e.scale.getTicks(),i=r(e);return{labels:t.map(n,(function(t,n){return{formattedLabel:i(t,n),rawLabel:e.scale.getLabel(t),tickValue:t}}))}}(e)},i$.createAxisTicks=function(e,n){return"category"===e.type?function(e,n){var i,r,a=u(e,"ticks"),s=o(n),f=h(a,s);if(f)return f;if(n.get("show")&&!e.scale.isBlank()||(i=[]),t.isFunction(s))i=p(e,s,!0);else if("auto"===s){var g=l(e,e.getLabelModel());r=g.labelCategoryInterval,i=t.map(g.labels,(function(t){return t.tickValue}))}else i=d(e,r=s,!0);return c(a,s,{ticks:i,tickCategoryInterval:r})}(e,n):{ticks:e.scale.getTicks()}},i$.calculateCategoryInterval=function(t){var n=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),i=r(t),o=(n.axisRotate-n.labelRotate)/180*Math.PI,a=t.scale,l=a.getExtent(),u=a.count();if(l[1]-l[0]<1)return 0;var h=1;u>40&&(h=Math.max(1,Math.floor(u/40)));for(var c=l[0],d=t.dataToCoord(c+1)-t.dataToCoord(c),p=Math.abs(d*Math.cos(o)),f=Math.abs(d*Math.sin(o)),g=0,v=0;c<=l[1];c+=h){var m,y,x=e.getBoundingRect(i(c),n.font,"center","top");m=1.3*x.width,y=1.3*x.height,g=Math.max(g,m,7),v=Math.max(v,y,7)}var _=g/p,b=v/f;isNaN(_)&&(_=1/0),isNaN(b)&&(b=1/0);var w=Math.max(0,Math.floor(Math.min(_,b))),S=s(t.model),M=t.getExtent(),I=S.lastAutoInterval,T=S.lastTickCount;return null!=I&&null!=T&&Math.abs(I-w)<=1&&Math.abs(T-u)<=1&&I>w&&S.axisExtend0===M[0]&&S.axisExtend1===M[1]?w=I:(S.lastTickCount=u,S.lastAutoInterval=w,S.axisExtend0=M[0],S.axisExtend1=M[1]),w},i$}function o$(){if(t$)return QK;t$=1;var t=bW(),e=t.each,n=t.map,i=YX(),r=i.linearMap,o=i.getPixelPrecision,a=i.round,s=r$(),l=s.createAxisTicks,u=s.createAxisLabels,h=s.calculateCategoryInterval,c=[0,1],d=function(t,e,n){this.dim=t,this.scale=e,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1};function p(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}return d.prototype={constructor:d,contain:function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},containData:function(t){return this.scale.contain(t)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return o(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var n=this._extent;n[0]=t,n[1]=e},dataToCoord:function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&p(n=n.slice(),i.count()),r(t,c,n,e)},coordToData:function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&p(n=n.slice(),i.count());var o=r(t,n,c,e);return this.scale.scale(o)},pointToData:function(t,e){},getTicksCoords:function(t){var i=(t=t||{}).tickModel||this.getTickModel(),r=l(this,i).ticks,o=n(r,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this);return function(t,n,i,r){var o=n.length;if(t.onBand&&!i&&o){var s,l,u=t.getExtent();if(1===o)n[0].coord=u[0],s=n[1]={coord:u[0]};else{var h=n[o-1].tickValue-n[0].tickValue,c=(n[o-1].coord-n[0].coord)/h;e(n,(function(t){t.coord-=c/2})),l=1+t.scale.getExtent()[1]-n[o-1].tickValue,s={coord:n[o-1].coord+c*l},n.push(s)}var d=u[0]>u[1];p(n[0].coord,u[0])&&(r?n[0].coord=u[0]:n.shift()),r&&p(u[0],n[0].coord)&&n.unshift({coord:u[0]}),p(u[1],s.coord)&&(r?s.coord=u[1]:n.pop()),r&&p(s.coord,u[1])&&n.push({coord:u[1]})}function p(t,e){return t=a(t),e=a(e),d?t>e:t0&&t<100||(t=5);var e=this.scale.getMinorTicks(t);return n(e,(function(t){return n(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},getViewLabels:function(){return u(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return h(this)}},QK=d}function a$(){if(e$)return Bq;e$=1;var t=IY();Bq.zrender=t;var e=$W();Bq.matrix=e;var n=AW();Bq.vector=n;var i=bW(),r=sU();Bq.color=r;var o=zX(),a=YX();Bq.number=a;var s=ij();Bq.format=s;var l=_q();l.throttle,Bq.throttle=l.throttle;var u=function(){if(FK)return Fq;FK=1;var t=bW(),e=hK(),n=zK(),i=VK(),r=VX(),o=rj();o.getLayoutRect,Fq.getLayoutRect=o.getLayoutRect;var a=uK(),s=a.enableDataStack,l=a.isDimensionStacked,u=a.getStackedDimension,h=eK();Fq.completeDimensions=h;var c=nK();Fq.createDimensions=c;var d=HK();Fq.createSymbol=d.createSymbol;var p={isDimensionStacked:l,enableDataStack:s,getStackedDimension:u};return Fq.createList=function(t){return e(t.getSource(),t)},Fq.dataStack=p,Fq.createScale=function(e,o){var a=o;r.isInstance(o)||(a=new r(o),t.mixin(a,i));var s=n.createScaleByModel(a);return s.setExtent(e[0],e[1]),n.niceScaleExtent(s,a),s},Fq.mixinAxisModelCommonMethods=function(e){t.mixin(e,i)},Fq}();Bq.helper=u;var h=$K();Bq.parseGeoJSON=h;var c=tK();Bq.List=c;var d=VX();Bq.Model=d;var p=o$();Bq.Axis=p;var f=yW();Bq.env=f;var g=h,v={};i.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],(function(t){v[t]=i[t]}));var m={};return i.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],(function(t){m[t]=o[t]})),Bq.parseGeoJson=g,Bq.util=v,Bq.graphic=m,Bq}function s$(){return n$||(n$=1,function(t){cW().__DEV__;var e=IY(),n=bW(),i=sU(),r=yW(),o=OU(),a=DW(),s=kj(),l=Pj(),u=Oj(),h=Rj(),c=function(){if(Sj)return wj;Sj=1;var t=bW(),e=t.each,n=t.isArray,i=t.isObject,r=Nj(),o=AY().normalizeToArray;function a(t){e(s,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var s=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],l=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];return wj=function(t,s){r(t,s),t.series=o(t.series),e(t.series,(function(t){if(i(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e)null!=t.clockWise&&(t.clockwise=t.clockWise);else if("gauge"===e){var n=function(t,e){e=e.split(",");for(var n=t,i=0;i0&&t.unfinished);t.unfinished||this._zr.flush()}}},B.getDom=function(){return this._dom},B.getZr=function(){return this._zr},B.setOption=function(t,e,n){if(this._disposed)this.id;else{var i;if(L(e)&&(n=e.lazyUpdate,i=e.silent,e=e.notMerge),this[O]=!0,!this._model||e){var r=new h(this._api),o=this._theme,a=this._model=new s;a.scheduler=this._scheduler,a.init(null,null,o,r)}this._model.setOption(t,ot),n?(this[R]={silent:i},this[O]=!1):(H(this),G.update.call(this),this._zr.flush(),this[R]=!1,this[O]=!1,Z.call(this,i),X.call(this,i))}},B.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},B.getModel=function(){return this._model},B.getOption=function(){return this._model&&this._model.getOption()},B.getWidth=function(){return this._zr.getWidth()},B.getHeight=function(){return this._zr.getHeight()},B.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},B.getRenderedCanvas=function(t){if(r.canvasSupported)return(t=t||{}).pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor"),this._zr.painter.getRenderedCanvas(t)},B.getSvgDataURL=function(){if(r.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return n.each(e,(function(t){t.stopAnimation(!0)})),t.painter.toDataURL()}},B.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;A(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return A(i,(function(t){t.group.ignore=!1})),o}this.id},B.getConnectedDataURL=function(t){if(this._disposed)this.id;else if(r.canvasSupported){var i="svg"===t.type,o=this.group,a=Math.min,s=Math.max,l=1/0;if(ct[o]){var u=l,h=l,c=-1/0,d=-1/0,p=[],f=t&&t.pixelRatio||1;n.each(ht,(function(e,r){if(e.group===o){var l=i?e.getZr().painter.getSvgDom().innerHTML:e.getRenderedCanvas(n.clone(t)),f=e.getDom().getBoundingClientRect();u=a(f.left,u),h=a(f.top,h),c=s(f.right,c),d=s(f.bottom,d),p.push({dom:l,left:f.left,top:f.top})}}));var g=(c*=f)-(u*=f),v=(d*=f)-(h*=f),y=n.createCanvas(),x=e.init(y,{renderer:i?"svg":"canvas"});if(x.resize({width:g,height:v}),i){var _="";return A(p,(function(t){var e=t.left-u,n=t.top-h;_+=''+t.dom+""})),x.painter.getSvgRoot().innerHTML=_,t.connectedBackgroundColor&&x.painter.setBackgroundColor(t.connectedBackgroundColor),x.refreshImmediately(),x.painter.toDataURL()}return t.connectedBackgroundColor&&x.add(new m.Rect({shape:{x:0,y:0,width:g,height:v},style:{fill:t.connectedBackgroundColor}})),A(p,(function(t){var e=new m.Image({style:{x:t.left*f-u,y:t.top*f-h,image:t.dom}});x.add(e)})),x.refreshImmediately(),y.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},B.convertToPixel=n.curry(F,"convertToPixel"),B.convertFromPixel=n.curry(F,"convertFromPixel"),B.containPixel=function(t,e){if(!this._disposed){var i,r=this._model;return t=y.parseFinder(r,t),n.each(t,(function(t,r){r.indexOf("Models")>=0&&n.each(t,(function(t){var n=t.coordinateSystem;if(n&&n.containPoint)i|=!!n.containPoint(e);else if("seriesModels"===r){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(i|=o.containPoint(e,t))}}),this)}),this),!!i}this.id},B.getVisual=function(t,e){var n=this._model,i=(t=y.parseFinder(n,t,{defaultMainType:"series"})).seriesModel.getData(),r=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?i.indexOfRawIndex(t.dataIndex):null;return null!=r?i.getItemVisual(r,e):i.getVisual(e)},B.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},B.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var G={prepareAndUpdate:function(t){H(this),G.update.call(this,t)},update:function(t){var e=this._model,n=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(e){s.restoreData(e,t),s.performSeriesTasks(e),a.create(e,n),s.performDataProcessorTasks(e,t),U(this,e),a.update(e,n),q(e),s.performVisualTasks(e,t),K(this,e,n,t);var l=e.get("backgroundColor")||"transparent";if(r.canvasSupported)o.setBackgroundColor(l);else{var u=i.parse(l);l=i.stringify(u,"rgb"),0===u[3]&&(l="transparent")}J(e,n)}},updateTransform:function(t){var e=this._model,i=this,r=this._api;if(e){var o=[];e.eachComponent((function(n,a){var s=i.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,e,r,t);l&&l.update&&o.push(s)}else o.push(s)}));var a=n.createHashMap();e.eachSeries((function(n){var o=i._chartsMap[n.__viewId];if(o.updateTransform){var s=o.updateTransform(n,e,r,t);s&&s.update&&a.set(n.uid,1)}else a.set(n.uid,1)})),q(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:a}),$(i,e,0,t,a),J(e,this._api)}},updateView:function(t){var e=this._model;e&&(v.markUpdateMethod(t,"updateView"),q(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),K(this,this._model,this._api,t),J(e,this._api))},updateVisual:function(t){G.update.call(this,t)},updateLayout:function(t){G.update.call(this,t)}};function H(t){var e=t._model,n=t._scheduler;n.restorePipelines(e),n.prepareStageTasks(),j(t,"component",e,n),j(t,"chart",e,n),n.plan()}function W(t,e,i,r,o){var a=t._model;if(r){var s={};s[r+"Id"]=i[r+"Id"],s[r+"Index"]=i[r+"Index"],s[r+"Name"]=i[r+"Name"];var l={mainType:r,query:s};o&&(l.subType=o);var u=i.excludeSeriesId;null!=u&&(u=n.createHashMap(y.normalizeToArray(u))),a&&a.eachComponent(l,(function(e){u&&null!=u.get(e.id)||h(t["series"===r?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else A(t._componentsViews.concat(t._chartsViews),h);function h(n){n&&n.__alive&&n[e]&&n[e](n.__model,a,t._api,i)}}function U(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries((function(t){i.updateStreamModes(t,n[t.__viewId])}))}function Y(t,e){var i=t.type,r=t.escapeConnect,o=nt[i],a=o.actionInfo,s=(a.update||"update").split(":"),l=s.pop();s=null!=s[0]&&k(s[0]),this[O]=!0;var u=[t],h=!1;t.batch&&(h=!0,u=n.map(t.batch,(function(e){return(e=n.defaults(n.extend({},e),t)).batch=null,e})));var c,d=[],p="highlight"===i||"downplay"===i;A(u,(function(t){(c=(c=o.action(t,this._model,this._api))||n.extend({},t)).type=a.event||c.type,d.push(c),p?W(this,l,t,"series"):s&&W(this,l,t,s.main,s.sub)}),this),"none"===l||p||s||(this[R]?(H(this),G.update.call(this,t),this[R]=!1):G[l].call(this,t)),c=h?{type:a.event||i,escapeConnect:r,batch:d}:d[0],this[O]=!1,!e&&this._messageCenter.trigger(c.type,c)}function Z(t){for(var e=this._pendingActions;e.length;){var n=e.shift();Y.call(this,n,t)}}function X(t){!t&&this.trigger("updated")}function j(t,e,n,i){for(var r="component"===e,o=r?t._componentsViews:t._chartsViews,a=r?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,u=0;ue.get("hoverLayerThreshold")&&!r.node&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.group.traverse((function(t){t.useHoverLayer=!0}))}}))}(t,e),b(t._zr.dom,e)}function J(t,e){A(at,(function(n){n(t,e)}))}B.resize=function(t){if(this._disposed)this.id;else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[O]=!0,n&&H(this),G.update.call(this),this[O]=!1,Z.call(this,i),X.call(this,i)}}},B.showLoading=function(t,e){if(this._disposed)this.id;else if(L(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),ut[t]){var n=ut[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},B.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},B.makeActionFromEvent=function(t){var e=n.extend({},t);return e.type=it[t.type],e},B.dispatchAction=function(t,e){this._disposed?this.id:(L(e)||(e={silent:!!e}),nt[t.type]&&this._model&&(this[O]?this._pendingActions.push(t):(Y.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&r.browser.weChat&&this._throttledZrFlush(),Z.call(this,e.silent),X.call(this,e.silent))))},B.appendData=function(t){if(this._disposed)this.id;else{var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0}},B.on=E("on",!1),B.off=E("off",!1),B.one=E("one",!1);var Q=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function tt(t,e){var n=t.get("z"),i=t.get("zlevel");e.group.traverse((function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=i&&(t.zlevel=i))}))}function et(){this.eventInfo}B._initEvents=function(){A(Q,(function(t){var e=function(e){var i,r=this.getModel(),o=e.target;if("globalout"===t)i={};else if(o&&null!=o.dataIndex){var a=o.dataModel||r.getSeriesByIndex(o.seriesIndex);i=a&&a.getDataParams(o.dataIndex,o.dataType,o)||{}}else o&&o.eventData&&(i=n.extend({},o.eventData));if(i){var s=i.componentType,l=i.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=i.seriesIndex);var u=s&&null!=l&&r.getComponent(s,l),h=u&&this["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];i.event=e,i.type=t,this._ecEventProcessor.eventInfo={targetEl:o,packedEvent:i,model:u,view:h},this.trigger(t,i)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)}),this),A(it,(function(t,e){this._messageCenter.on(e,(function(t){this.trigger(e,t)}),this)}),this)},B.isDisposed=function(){return this._disposed},B.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},B.dispose=function(){if(this._disposed)this.id;else{this._disposed=!0,y.setAttribute(this.getDom(),ft,"");var t=this._api,e=this._model;A(this._componentsViews,(function(n){n.dispose(e,t)})),A(this._chartsViews,(function(n){n.dispose(e,t)})),this._zr.dispose(),delete ht[this.id]}},n.mixin(V,a),et.prototype={constructor:et,normalizeQuery:function(t){var e={},i={},r={};if(n.isString(t)){var o=k(t);e.mainType=o.main||null,e.subType=o.sub||null}else{var a=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};n.each(t,(function(t,n){for(var o=!1,l=0;l0&&h===n.length-u.length){var c=n.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,o=!0)}}s.hasOwnProperty(n)&&(i[n]=t,o=!0),o||(r[n]=t)}))}return{cptQuery:e,dataQuery:i,otherQuery:r}},filter:function(t,e,n){var i=this.eventInfo;if(!i)return!0;var r=i.targetEl,o=i.packedEvent,a=i.model,s=i.view;if(!a||!s)return!0;var l=e.cptQuery,u=e.dataQuery;return h(l,a,"mainType")&&h(l,a,"subType")&&h(l,a,"index","componentIndex")&&h(l,a,"name")&&h(l,a,"id")&&h(u,o,"name")&&h(u,o,"dataIndex")&&h(u,o,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,r,o));function h(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},afterTrigger:function(){this.eventInfo=null}};var nt={},it={},rt=[],ot=[],at=[],st=[],lt={},ut={},ht={},ct={},dt=new Date-0,pt=new Date-0,ft="_echarts_instance_";function gt(t){ct[t]=!1}var vt=gt;function mt(t){return ht[y.getAttribute(t,ft)]}function yt(t,e){lt[t]=e}function xt(t){ot.push(t)}function _t(t,e){St(rt,t,e,1e3)}function bt(t,e,n){"function"==typeof e&&(n=e,e="");var i=L(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,C(N.test(i)&&N.test(e)),nt[i]||(nt[i]={action:n,actionInfo:t}),it[e]=i}function wt(t,e){St(st,t,e,3e3,"visual")}function St(t,e,n,i,r){(D(e)||L(e))&&(n=e,e=i);var o=S.wrapStageHandler(n,r);return o.__prio=e,o.__raw=n,t.push(o),o}function Mt(t,e){ut[t]=e}wt(2e3,_),xt(c),_t(900,d),Mt("default",w),bt({type:"highlight",event:"highlight",update:"highlight"},n.noop),bt({type:"downplay",event:"downplay",update:"downplay"},n.noop),yt("light",M),yt("dark",I),t.version="4.9.0",t.dependencies={zrender:"4.3.2"},t.PRIORITY=P,t.init=function(t,e,n){var i=mt(t);if(i)return i;var r=new V(t,e,n);return r.id="ec_"+dt++,ht[r.id]=r,y.setAttribute(t,ft,r.id),function(t){var e="__connectUpdateStatus";function n(t,n){for(var i=0;i0?n=i[0]:i[1]<0&&(n=i[1]),n}(s,r),u=a.dim,h=s.dim,c=i.mapDimension(h),d=i.mapDimension(u),p="x"===h||"radius"===h?1:0,f=e(n.dimensions,(function(t){return i.mapDimension(t)})),g=i.getCalculationInfo("stackResultDimension");return(o|=t(i,f[0]))&&(f[0]=g),(o|=t(i,f[1]))&&(f[1]=g),{dataDimsForPoint:f,valueStart:l,valueAxisDim:h,baseAxisDim:u,stacked:!!o,valueDim:c,baseDim:d,baseDataOffset:p,stackedOverDimension:i.getCalculationInfo("stackedOverDimension")}},S$.getStackedOnPoint=function(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)},S$}function I$(){if(w$)return b$;w$=1;var t=M$(),e=t.prepareDataCoordInfo,n=t.getStackedOnPoint;return b$=function(t,i,r,o,a,s,l,u){for(var h=function(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}(t,i),c=[],d=[],p=[],f=[],g=[],v=[],m=[],y=e(a,i,l),x=e(s,t,u),_=0;_=r||v<0)break;if(h(y)){if(f){v+=o;continue}break}if(v===n)t[o>0?"moveTo":"lineTo"](y[0],y[1]);else if(d>0){var x=e[g],_="y"===p?1:0,b=(y[_]-x[_])*d;a(l,x),l[_]=x[_]+b,a(u,y),u[_]=y[_]-b,t.bezierCurveTo(l[0],l[1],u[0],u[1],y[0],y[1])}else t.lineTo(y[0],y[1]);g=v,v+=o}return m}function p(t,n,c,d,p,f,g,v,m,y,x){for(var _=0,b=c,w=0;w=p||b<0)break;if(h(S)){if(x){b+=f;continue}break}if(b===c)t[f>0?"moveTo":"lineTo"](S[0],S[1]),a(l,S);else if(m>0){var M=b+f,I=n[M];if(x)for(;I&&h(n[M]);)I=n[M+=f];var T=.5,C=n[_];if(!(I=n[M])||h(I))a(u,S);else{var A,D;if(h(I)&&!x&&(I=S),e.sub(s,I,C),"x"===y||"y"===y){var L="x"===y?0:1;A=Math.abs(S[L]-C[L]),D=Math.abs(S[L]-I[L])}else A=e.dist(S,C),D=e.dist(S,I);o(u,S,s,-m*(1-(T=D/(D+A))))}i(l,l,v),r(l,l,g),i(u,u,v),r(u,u,g),t.bezierCurveTo(l[0],l[1],u[0],u[1],S[0],S[1]),o(l,S,s,m*T)}else t.lineTo(S[0],S[1]);_=b,b+=f}return w}function f(t,e){var n=[1/0,1/0],i=[-1/0,-1/0];if(e)for(var r=0;ri[0]&&(i[0]=o[0]),o[1]>i[1]&&(i[1]=o[1])}return{min:e?n:i,max:e?i:n}}var g=t.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:n(t.prototype.brush),buildPath:function(t,e){var n=e.points,i=0,r=n.length,o=f(n,e.smoothConstraint);if(e.connectNulls){for(;r>0&&h(n[r-1]);r--);for(;i0&&h(n[o-1]);o--);for(;re&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n1&&("string"==typeof a?l=t[a]:"function"==typeof a&&(l=a),l&&n.setData(o.downSample(o.mapDimension(h.dim),1/p,l,e)))}}}},E$}var W$,U$,Y$,Z$,X$,j$,q$,K$,$$,J$,Q$,tJ,eJ,nJ,iJ,rJ,oJ={};function aJ(){if(Z$)return Y$;Z$=1;var t=bW(),e=kU(),n=function(){if(U$)return W$;U$=1;var t=bW();function e(t){return this._axes[t]}var n=function(t){this._axes={},this._dimList=[],this.name=t||""};return n.prototype={constructor:n,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return t.map(this._dimList,e,this)},getAxesByScale:function(e){return e=e.toLowerCase(),t.filter(this.getAxes(),(function(t){return t.scale.type===e}))},addAxis:function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},dataToCoord:function(t){return this._dataCoordConvert(t,"dataToCoord")},coordToData:function(t){return this._dataCoordConvert(t,"coordToData")},_dataCoordConvert:function(t,e){for(var n=this._dimList,i=t instanceof Array?[]:{},r=0;re[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},t.inherits(n,e),X$=n}(),p=Oj(),f=uK().getStackedDimension;function g(t,e,n){return t.getCoordSysModel()===e}function v(t,e,n){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,n),this.model=t}!function(){if(nJ)return eJ;nJ=1,uJ();var t=oj().extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});eJ=t}();var m=v.prototype;function y(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],a=n.model,s=a.get("axisLine.onZero"),l=a.get("axisLine.onZeroAxisIndex");if(s){if(null!=l)x(o[l])&&(r=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&x(o[u])&&!i[h(o[u])]){r=o[u];break}r&&(i[h(r)]=!0)}function h(t){return t.dim+"_"+t.index}}function x(t){return t&&"category"!==t.type&&"time"!==t.type&&l(t)}m.type="grid",m.axisPointerEnabled=!0,m.getRect=function(){return this._rect},m.update=function(t,e){var i=this._axesMap;this._updateScale(t,this.model),n(i.x,(function(t){u(t.scale,t.model)})),n(i.y,(function(t){u(t.scale,t.model)}));var r={};n(i.x,(function(t){y(i,"y",t,r)})),n(i.y,(function(t){y(i,"x",t,r)})),this.resize(this.model,e)},m.resize=function(t,e,i){var r=o(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()});this._rect=r;var a=this._axesList;function s(){n(a,(function(t){var e=t.isHorizontal(),n=e?[0,r.width]:[0,r.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e?r.x:r.y)}))}s(),!i&&t.get("containLabel")&&(n(a,(function(t){if(!t.model.get("axisLabel.inside")){var e=h(t);if(e){var n=t.isHorizontal()?"height":"width",i=t.model.get("axisLabel.margin");r[n]-=e[n]+i,"top"===t.position?r.y+=e.height+i:"left"===t.position&&(r.x+=e.width+i)}}})),s())},m.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n){if(null==e)for(var i in n)if(n.hasOwnProperty(i))return n[i];return n[e]}},m.getAxes=function(){return this._axesList.slice()},m.getCartesian=function(t,n){if(null!=t&&null!=n){var i="x"+t+"y"+n;return this._coordsMap[i]}e(t)&&(n=t.yAxisIndex,t=t.xAxisIndex);for(var r=0,o=this._coordsList;rv[1]?-1:1,b=["start"===c?v[0]-m*f:"end"===c?v[1]+m*f:(v[0]+v[1])/2,S(c)?t.labelOffset+d*f:0],w=n.get("nameRotate");null!=w&&(w=w*g/180),S(c)?s=x(t.rotation,null!=w?w:t.rotation,d):(s=function(t,e,n,i){var r,o,a=h(n-t.rotation),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;return u(a-g/2)?(o=l?"bottom":"top",r="center"):u(a-1.5*g)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*g&&a>g/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:r,textVerticalAlign:o}}(t,c,w||0,v),null!=(l=t.axisNameAvailableWidth)&&(l=Math.abs(l/Math.sin(s.rotation)),!isFinite(l)&&(l=null)));var M=p.getFont(),I=n.get("nameTruncate",!0)||{},T=I.ellipsis,C=e(t.nameTruncateMaxWidth,I.maxWidth,l),A=null!=T&&null!=C?o.truncateText(r,C,M,T,{minChar:2,placeholder:I.placeholder}):r,D=n.get("tooltip",!0),L=n.mainType,k={componentType:L,name:r,$vars:["name"]};k[L+"Index"]=n.componentIndex;var P=new a.Text({anid:"name",__fullText:r,__truncatedText:A,position:b,rotation:s.rotation,silent:_(n),z2:1,tooltip:D&&D.show?i({content:r,formatter:function(){return r},formatterParams:k},D):null});a.setTextStyle(P.style,p,{text:A,textFont:M,textFill:p.getTextColor()||n.get("axisLine.lineStyle.color"),textAlign:p.get("align")||s.textAlign,textVerticalAlign:p.get("verticalAlign")||s.textVerticalAlign}),n.get("triggerEvent")&&(P.eventData=y(n),P.eventData.targetType="axisName",P.eventData.name=r),this._dumbGroup.add(P),P.updateTransform(),this.group.add(P),P.decomposeTransform()}}},y=v.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},x=v.innerTextLayout=function(t,e,n){var i,r,o=h(e-t);return u(o)?(r=n>0?"top":"bottom",i="center"):u(o-g)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},_=v.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)};function b(t){t&&(t.ignore=!0)}function w(t,e,n){var i=t&&t.getBoundingRect().clone(),r=e&&e.getBoundingRect().clone();if(i&&r){var o=d.identity([]);return d.rotate(o,o,-t.rotation),i.applyTransform(d.mul([],o,t.getLocalTransform())),r.applyTransform(d.mul([],o,e.getLocalTransform())),i.intersect(r)}}function S(t){return"middle"===t||"center"===t}function M(t,e,n,i,r){for(var o=[],s=[],l=[],u=0;u=0||e===n}function o(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[s(t)]}function a(t){return!!t.get("handle.show")}function s(t){return t.type+"||"+t.id}return xJ.collect=function(o,l){var u={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(o,l,u){var h=l.getComponent("tooltip"),c=l.getComponent("axisPointer"),d=c.get("link",!0)||[],p=[];n(u.getCoordinateSystems(),(function(u){if(u.axisPointerEnabled){var f=s(u.model),g=o.coordSysAxesInfo[f]={};o.coordSysMap[f]=u;var v=u.model.getModel("tooltip",h);if(n(u.getAxes(),i(_,!1,null)),u.getTooltipAxes&&h&&v.get("show")){var m="axis"===v.get("trigger"),y="cross"===v.get("axisPointer.type"),x=u.getTooltipAxes(v.get("axisPointer.axis"));(m||y)&&n(x.baseAxes,i(_,!y||"cross",m)),y&&n(x.otherAxes,i(_,"cross",!1))}}function _(i,h,f){var m=f.model.getModel("axisPointer",c),y=m.get("show");if(y&&("auto"!==y||i||a(m))){null==h&&(h=m.get("triggerTooltip")),m=i?function(i,r,o,a,s,l){var u=r.getModel("axisPointer"),h={};n(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(e){h[e]=t.clone(u.get(e))})),h.snap="category"!==i.type&&!!l,"cross"===u.get("type")&&(h.type="line");var c=h.label||(h.label={});if(null==c.show&&(c.show=!1),"cross"===s){var d=u.get("label.show");if(c.show=null==d||d,!l){var p=h.lineStyle=u.get("crossStyle");p&&t.defaults(c,p.textStyle)}}return i.model.getModel("axisPointer",new e(h,o,a))}(f,v,c,l,i,h):m;var x=m.get("snap"),_=s(f.model),b=h||x||"category"===f.type,w=o.axesInfo[_]={key:_,axis:f,coordSys:u,axisPointerModel:m,triggerTooltip:h,involveSeries:b,snap:x,useHandle:a(m),seriesModels:[]};g[_]=w,o.seriesInvolved|=b;var S=function(t,e){for(var n=e.model,i=e.dim,o=0;oh[1]&&h.reverse(),(null==l||l>h[1])&&(l=h[1]),l=0},this.indexOfName=function(e){return t().indexOfName(e)},this.getItemVisual=function(e,n){return t().getItemVisual(e,n)}};return eQ=t}function wQ(){if(lQ)return sQ;lQ=1;var t=s$(),e=bW();return sQ=function(n,i){e.each(i,(function(e){e.update="updateView",t.registerAction(e,(function(t,i){var r={};return i.eachComponent({mainType:"series",subType:n,query:t},(function(n){n[e.method]&&n[e.method](t.name,t.dataIndex);var i=n.getData();i.each((function(t){var e=i.getName(t);r[e]=n.isSelected(e)||!1}))})),{name:t.name,selected:r,seriesId:t.seriesId}}))}))},sQ}function SQ(){if(hQ)return uQ;hQ=1;var t=bW().createHashMap;return uQ=function(e){return{getTargetSeries:function(n){var i={},r=t();return n.eachSeriesByType(e,(function(t){t.__paletteScope=i,r.set(t.uid,t)})),r},reset:function(t,e){var n=t.getRawData(),i={},r=t.getData();r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(e){var o,a=i[e],s=null!=a&&r.getItemVisual(a,"color",!0),l=null!=a&&r.getItemVisual(a,"borderColor",!0);if(s&&l||(o=n.getItemModel(e)),!s){var u=o.get("itemStyle.color")||t.getColorFromPalette(n.getName(e)||e+"",t.__paletteScope,n.count());null!=a&&r.setItemVisual(a,"color",u)}if(!l){var h=o.get("itemStyle.borderColor");null!=a&&r.setItemVisual(a,"borderColor",h)}}))}}},uQ}function MQ(){if(dQ)return cQ;dQ=1;var t=eY(),e=YX().parsePercent,n=Math.PI/180;function i(t,e,n,i,r,o,a,s,l,u){function h(e,n,i,r){for(var o=e;ol+a);o++)if(t[o].y+=i,o>e&&o+1t[o].y+t[o].height)return void c(o,i/2);c(n-1,i/2)}function c(e,n){for(var i=e;i>=0&&!(t[i].y-n0&&t[i].y>t[i-1].y+t[i-1].height));i--);}function d(t,e,n,i,r,o){for(var a=e?Number.MAX_VALUE:0,s=0,l=t.length;s=a&&(d=a-10),!e&&d<=a&&(d=a+10),t[s].x=n+d*o,a=d}}t.sort((function(t,e){return t.y-e.y}));for(var p,f=0,g=t.length,v=[],m=[],y=0;y=n?m.push(t[y]):v.push(t[y]);d(v,!1,e,n,i,r),d(m,!0,e,n,i,r)}function r(t){return"center"===t.position}return cQ=function(o,a,s,l,u,h){var c,d,p=o.getData(),f=[],g=!1,v=(o.get("minShowLabelAngle")||0)*n;p.each((function(n){var i=p.getItemLayout(n),r=p.getItemModel(n),l=r.getModel("label"),h=l.get("position")||r.get("emphasis.label.position"),m=l.get("distanceToLabelLine"),y=l.get("alignTo"),x=e(l.get("margin"),s),_=l.get("bleedMargin"),b=l.getFont(),w=r.getModel("labelLine"),S=w.get("length");S=e(S,s);var M=w.get("length2");if(M=e(M,s),!(i.angle0?"right":"left":L>0?"left":"right"}var G=l.get("rotate");P="number"==typeof G?G*(Math.PI/180):G?L<0?-D+Math.PI:-D:0,g=!!P,i.label={x:I,y:T,position:h,height:R.height,len:S,len2:M,linePoints:C,textAlign:A,verticalAlign:"middle",rotation:P,inside:N,labelDistance:m,labelAlignTo:y,labelMargin:x,bleedMargin:_,textRect:R,text:O,font:b},N||f.push(i.label)}})),!g&&o.get("avoidLabelOverlap")&&function(e,n,o,a,s,l,u,h){for(var c=[],d=[],p=Number.MAX_VALUE,f=-Number.MAX_VALUE,g=0;g3?1.4:r>1?1.2:1.1;h(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a})}if(n){var l=Math.abs(i);h(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a})}}}function u(t){i.isTaken(this._zr,"globalPan")||h(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY})}function h(t,e,i,r,o){t.pointerChecker&&t.pointerChecker(r,o.originX,o.originY)&&(n.stop(r.event),c(t,e,i,r,o))}function c(e,n,i,r,o){o.isAvailableBehavior=t.bind(d,null,i,r),e.trigger(n,o)}function d(e,n,i){var r=i[e];return!e||r&&(!t.isString(r)||n.event[r+"Key"])}return t.mixin(r,e),w0=r}var C0,A0={};function D0(){return C0||(C0=1,A0.updateViewOnPan=function(t,e,n){var i=t.target,r=i.position;r[0]+=e,r[1]+=n,i.dirty()},A0.updateViewOnZoom=function(t,e,n,i){var r=t.target,o=t.zoomLimit,a=r.position,s=r.scale,l=t.zoom=t.zoom||1;if(l*=e,o){var u=o.min||0,h=o.max||1/0;l=Math.max(Math.min(h,l),u)}var c=l/t.zoom;t.zoom=l,a[0]-=(n-a[0])*(c-1),a[1]-=(i-a[1])*(c-1),s[0]*=c,s[1]*=c,r.dirty()}),A0}var L0,k0,P0,O0,R0,N0={};function E0(){if(L0)return N0;L0=1;var t={axisPointer:1,tooltip:1,brush:1};return N0.onIrrelevantElement=function(e,n,i){var r=n.getComponentByElement(e.topTarget),o=r&&r.coordinateSystem;return r&&r!==i&&!t[r.mainType]&&o&&o.model!==i},N0}function z0(){if(P0)return k0;P0=1;var t=bW(),e=T0(),n=D0(),i=E0().onIrrelevantElement,r=zX(),o=_0(),a=GX().getUID,s=JW();function l(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(e.fill=n),e}function u(e,n){n.eachChild((function(n){t.each(n.__regions,(function(t){n.trigger(e.isSelected(t.name)?"emphasis":"normal")}))}))}function h(t,n){var i=new r.Group;this.uid=a("ec_map_draw"),this._controller=new e(t.getZr()),this._controllerHost={target:n?i:null},this.group=i,this._updateGroup=n,this._mouseDownFlag,this._mapName,this._initialized,i.add(this._regionsGroup=new r.Group),i.add(this._backgroundGroup=new r.Group)}return h.prototype={constructor:h,draw:function(e,n,i,o,a){var h="geo"===e.mainType,c=e.getData&&e.getData();h&&n.eachComponent({mainType:"series",subType:"map"},(function(t){c||t.getHostGeoModel()!==e||(c=t.getData())}));var d=e.coordinateSystem;this._updateBackground(d);var p,f=this._regionsGroup,g=this.group,v=d.getTransformInfo(),m=!f.childAt(0)||a;if(m)g.transform=v.roamTransform,g.decomposeTransform(),g.dirty();else{var y=new s;y.transform=v.roamTransform,y.decomposeTransform();var x={scale:y.scale,position:y.position};p=y.scale,r.updateProps(g,x,e)}var _=v.rawScale,b=v.rawPosition;f.removeAll();var w=["itemStyle"],S=["emphasis","itemStyle"],M=["label"],I=["emphasis","label"],T=t.createHashMap();t.each(d.regions,(function(n){var i=T.get(n.name)||T.set(n.name,new r.Group),o=new r.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});i.add(o);var a,s=(z=e.getRegionModel(n.name)||e).getModel(w),u=z.getModel(S),d=l(s),v=l(u),y=z.getModel(M),x=z.getModel(I);if(c){a=c.indexOfName(n.name);var C=c.getItemVisual(a,"color",!0);C&&(d.fill=C)}var A=function(t){return[t[0]*_[0]+b[0],t[1]*_[1]+b[1]]};t.each(n.geometries,(function(t){if("polygon"===t.type){for(var e=[],n=0;n=0)&&(O=e);var N=new r.Text({position:A(n.center.slice()),scale:[1/g.scale[0],1/g.scale[1]],z2:10,silent:!0});if(r.setLabelStyle(N.style,N.hoverStyle={},y,x,{labelFetcher:O,labelDataIndex:R,defaultText:n.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!m){var E=[1/p[0],1/p[1]];r.updateProps(N,{scale:E},e)}i.add(N)}if(c)c.setItemGraphicEl(a,i);else{var z=e.getRegionModel(n.name);o.eventData={componentType:"geo",componentIndex:e.componentIndex,geoIndex:e.componentIndex,name:n.name,region:z&&z.option||{}}}(i.__regions||(i.__regions=[])).push(n),i.highDownSilentOnTouch=!!e.get("selectedMode"),r.setHoverStyle(i,v),f.add(i)})),this._updateController(e,n,i),function(e,n,i,r,o){i.off("click"),i.off("mousedown"),n.get("selectedMode")&&(i.on("mousedown",(function(){e._mouseDownFlag=!0})),i.on("click",(function(a){if(e._mouseDownFlag){e._mouseDownFlag=!1;for(var s=a.target;!s.__regions;)s=s.parent;if(s){var l={type:("geo"===n.mainType?"geo":"map")+"ToggleSelect",batch:t.map(s.__regions,(function(t){return{name:t.name,from:o.uid}}))};l[n.mainType+"Id"]=n.id,r.dispatchAction(l),u(n,i)}}})))}(this,e,f,i,o),u(e,f)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&o.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(e){var n=e.map;this._mapName!==n&&t.each(o.makeGraphic(n,this.uid),(function(t){this._backgroundGroup.add(t)}),this),this._mapName=n},_updateController:function(e,r,o){var a=e.coordinateSystem,s=this._controller,l=this._controllerHost;l.zoomLimit=e.get("scaleLimit"),l.zoom=a.getZoom(),s.enable(e.get("roam")||!1);var u=e.mainType;function h(){var t={type:"geoRoam",componentType:u};return t[u+"Id"]=e.id,t}s.off("pan").on("pan",(function(e){this._mouseDownFlag=!1,n.updateViewOnPan(l,e.dx,e.dy),o.dispatchAction(t.extend(h(),{dx:e.dx,dy:e.dy}))}),this),s.off("zoom").on("zoom",(function(e){if(this._mouseDownFlag=!1,n.updateViewOnZoom(l,e.scale,e.originX,e.originY),o.dispatchAction(t.extend(h(),{zoom:e.scale,originX:e.originX,originY:e.originY})),this._updateGroup){var i=this.group.scale;this._regionsGroup.traverse((function(t){"text"===t.type&&t.attr("scale",[1/i[0],1/i[1]])}))}}),this),s.setPointerChecker((function(t,n,r){return a.getViewRectAfterRoam().contain(n,r)&&!i(t,o,e)}))}},k0=h}var V0,B0,F0,G0,H0,W0,U0,Y0,Z0,X0,j0,q0,K0,$0,J0,Q0,t1,e1={},n1={};function i1(){return V0||(V0=1,n1.updateCenterAndZoom=function(t,e,n){var i=t.getZoom(),r=t.getCenter(),o=e.zoom,a=t.dataToPoint(r);if(null!=e.dx&&null!=e.dy&&(a[0]-=e.dx,a[1]-=e.dy,r=t.pointToData(a),t.setCenter(r)),null!=o){if(n){var s=n.min||0,l=n.max||1/0;o=Math.max(Math.min(i*o,l),s)/i}t.scale[0]*=o,t.scale[1]*=o;var u=t.position,h=(e.originX-u[0])*(o-1),c=(e.originY-u[1])*(o-1);u[0]-=h,u[1]-=c,t.updateTransform(),r=t.pointToData(a),t.setCenter(r),t.setZoom(o*i)}return{center:t.getCenter(),zoom:t.getZoom()}}),n1}function r1(){if(B0)return e1;B0=1;var t=s$(),e=bW(),n=i1().updateCenterAndZoom;return t.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(t,i){var r=t.componentType||"series";i.eachComponent({mainType:r,query:t},(function(i){var o=i.coordinateSystem;if("geo"===o.type){var a=n(o,t,i.get("scaleLimit"));i.setCenter&&i.setCenter(a.center),i.setZoom&&i.setZoom(a.zoom),"series"===r&&e.each(i.seriesGroup,(function(t){t.setCenter(a.center),t.setZoom(a.zoom)}))}}))})),e1}function o1(){if(G0)return F0;G0=1;var t=bW(),e=AW(),n=$W(),i=kU(),r=JW(),o=e.applyTransform;function a(){r.call(this)}function s(t){this.name=t,this.zoomLimit,r.call(this),this._roamTransformable=new a,this._rawTransformable=new a,this._center,this._zoom}function l(t,e,n,i){var r=n.seriesModel,o=r?r.coordinateSystem:null;return o===this?o[t](i):null}return t.mixin(a,r),s.prototype={constructor:s,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,n,r){return this._rect=new i(t,e,n,r),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(t,e,n,r){this.transformTo(t,e,n,r),this._viewRect=new i(t,e,n,r)},transformTo:function(t,e,n,r){var o=this.getBoundingRect(),a=this._rawTransformable;a.transform=o.calculateTransform(new i(t,e,n,r)),a.decomposeTransform(),this._updateTransform()},setCenter:function(t){t&&(this._center=t,this._updateCenterAndZoom())},setZoom:function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},getDefaultCenter:function(){var t=this.getBoundingRect();return[t.x+t.width/2,t.y+t.height/2]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var t=this._rawTransformable.getLocalTransform(),n=this._roamTransformable,i=this.getDefaultCenter(),r=this.getCenter(),o=this.getZoom();r=e.applyTransform([],r,t),i=e.applyTransform([],i,t),n.origin=r,n.position=[i[0]-r[0],i[1]-r[1]],n.scale=[o,o],this._updateTransform()},_updateTransform:function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),n.copy(this.transform||(this.transform=[]),e.transform||n.create()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],n.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var e=this._roamTransformable.transform,i=this._rawTransformable;return{roamTransform:e?t.slice(e):n.create(),rawScale:t.slice(i.scale),rawPosition:t.slice(i.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},dataToPoint:function(t,n,i){var r=n?this._rawTransform:this.transform;return i=i||[],r?o(i,t,r):e.copy(i,t)},pointToData:function(t){var e=this.invTransform;return e?o([],t,e):[t[0],t[1]]},convertToPixel:t.curry(l,"dataToPoint"),convertFromPixel:t.curry(l,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},t.mixin(s,r),F0=s}function a1(){if(Y0)return U0;Y0=1,cW().__DEV__;var t=s$(),e=bW(),n=function(){if(W0)return H0;W0=1;var t=bW(),e=kU(),n=o1(),i=_0();function r(t,e,r,o){n.call(this,t),this.map=e;var a=i.load(e,r);this._nameCoordMap=a.nameCoordMap,this._regionsMap=a.regionsMap,this._invertLongitute=null==o||o,this.regions=a.regions,this._rect=a.boundingRect}function o(t,e,n,i){var r=n.geoModel,o=n.seriesModel,a=r?r.coordinateSystem:o?o.coordinateSystem||(o.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return a===this?a[t](i):null}return r.prototype={constructor:r,type:"geo",dimensions:["lng","lat"],containCoord:function(t){for(var e=this.regions,n=0;n1?(g.width=h,g.height=h/p):(g.height=h,g.width=h*p),g.y=u[1]-g.height/2,g.x=u[0]-g.width/2}else(s=t.getBoxLayoutParams()).aspect=p,g=i.getLayoutRect(s,{width:c,height:d});this.setViewRect(g.x,g.y,g.width,g.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function l(t,n){e.each(n.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}var u={dimensions:n.prototype.dimensions,create:function(t,i){var r=[];t.eachComponent("geo",(function(t,e){var o=t.get("map"),u=t.get("aspectScale"),h=!0,c=a.retrieveMap(o);c&&c[0]&&"svg"===c[0].type?(null==u&&(u=1),h=!1):null==u&&(u=.75);var d=new n(o+e,o,t.get("nameMap"),h);d.aspectScale=u,d.zoomLimit=t.get("scaleLimit"),r.push(d),l(d,t),t.coordinateSystem=d,d.model=t,d.resize=s,d.resize(t,i)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=r[e]}}));var o={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();o[e]=o[e]||[],o[e].push(t)}})),e.each(o,(function(t,o){var a=e.map(t,(function(t){return t.get("nameMap")})),u=new n(o,o,e.mergeAll(a));u.zoomLimit=e.retrieve.apply(null,e.map(t,(function(t){return t.get("scaleLimit")}))),r.push(u),u.resize=s,u.aspectScale=t[0].get("aspectScale"),u.resize(t[0],i),e.each(t,(function(t){t.coordinateSystem=u,l(u,t)}))})),r},getFilledRegions:function(t,n,i){for(var r=(t||[]).slice(),a=e.createHashMap(),s=0;se&&(e=i.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},setVisual:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}},o.prototype={constructor:o,type:"tree",eachNode:function(t,e,n){this.root.eachNode(t,e,n)},getNodeByDataIndex:function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,e=this._nodes,n=0,i=e.length;n=0;r--){var o=n[r];o.hierNode={defaultAncestor:null,ancestor:o,prelim:0,modifier:0,change:0,shift:0,i:r,thread:null},i.push(o)}},S1.firstWalk=function(t,o){var a=t.isExpand?t.children:[],s=t.parentNode.children,l=t.hierNode.i?s[t.hierNode.i-1]:null;if(a.length){!function(t){for(var e=t.children,n=e.length,i=0,r=0;--n>=0;){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}(t);var u=(a[0].hierNode.prelim+a[a.length-1].hierNode.prelim)/2;l?(t.hierNode.prelim=l.hierNode.prelim+o(t,l),t.hierNode.modifier=t.hierNode.prelim-u):t.hierNode.prelim=u}else l&&(t.hierNode.prelim=l.hierNode.prelim+o(t,l));t.parentNode.hierNode.defaultAncestor=function(t,o,a,s){if(o){for(var l=t,u=t,h=u.parentNode.children[0],c=o,d=l.hierNode.modifier,p=u.hierNode.modifier,f=h.hierNode.modifier,g=c.hierNode.modifier;c=e(c),u=n(u),c&&u;){l=e(l),h=n(h),l.hierNode.ancestor=t;var v=c.hierNode.prelim+g-u.hierNode.prelim-p+s(c,u);v>0&&(r(i(c,t,a),t,v),p+=v,d+=v),g+=c.hierNode.modifier,p+=u.hierNode.modifier,d+=l.hierNode.modifier,f+=h.hierNode.modifier}c&&!e(l)&&(l.hierNode.thread=c,l.hierNode.modifier+=g-d),u&&!n(h)&&(h.hierNode.thread=u,h.hierNode.modifier+=p-f,a=t)}return a}(t,l,t.parentNode.hierNode.defaultAncestor||s[0],o)},S1.secondWalk=function(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier},S1.separation=function(t){return arguments.length?t:o},S1.radialCoordinate=function(t,e){var n={};return t-=Math.PI/2,n.x=e*Math.cos(t),n.y=e*Math.sin(t),n},S1.getViewRect=function(e,n){return t.getLayoutRect(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},S1}var I1,T1,C1,A1,D1,L1={},k1={};function P1(){if(A1)return C1;A1=1;var t=(T1||(T1=1,k1.eachAfter=function(t,e,n){for(var i,r=[t],o=[];i=r.pop();)if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;s=0;o--)i.push(r[o])}}),k1),e=t.eachAfter,n=t.eachBefore,i=M1(),r=i.init,o=i.firstWalk,a=i.secondWalk,s=i.separation,l=i.radialCoordinate,u=i.getViewRect;return C1=function(t,i){t.eachSeriesByType("tree",(function(t){!function(t,i){var h=u(t,i);t.layoutInfo=h;var c=t.get("layout"),d=0,p=0,f=null;"radial"===c?(d=2*Math.PI,p=Math.min(h.height,h.width)/2,f=s((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(d=h.width,p=h.height,f=s());var g=t.getData().tree.root,v=g.children[0];if(v){r(g),e(v,o,f),g.hierNode.modifier=-v.hierNode.prelim,n(v,a);var m=v,y=v,x=v;n(v,(function(t){var e=t.getLayout().x;ey.getLayout().x&&(y=t),t.depth>x.depth&&(x=t)}));var _=m===y?1:f(m,y)/2,b=_-m.getLayout().x,w=0,S=0,M=0,I=0;if("radial"===c)w=d/(y.getLayout().x+_+b),S=p/(x.depth-1||1),n(v,(function(t){M=(t.getLayout().x+b)*w,I=(t.depth-1)*S;var e=l(M,I);t.setLayout({x:e.x,y:e.y,rawX:M,rawY:I},!0)}));else{var T=t.getOrient();"RL"===T||"LR"===T?(S=p/(y.getLayout().x+_+b),w=d/(x.depth-1||1),n(v,(function(t){I=(t.getLayout().x+b)*S,M="LR"===T?(t.depth-1)*w:d-(t.depth-1)*w,t.setLayout({x:M,y:I},!0)}))):"TB"!==T&&"BT"!==T||(w=d/(y.getLayout().x+_+b),S=p/(x.depth-1||1),n(v,(function(t){M=(t.getLayout().x+b)*w,I="TB"===T?(t.depth-1)*S:p-(t.depth-1)*S,t.setLayout({x:M,y:I},!0)})))}}}(t,i)}))},C1}var O1,R1,N1,E1,z1,V1={},B1={};function F1(){if(O1)return B1;O1=1;var t=bW();function e(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}return B1.retrieveTargetInfo=function(e,n,i){if(e&&t.indexOf(n,e.type)>=0){var r=i.getData().tree.root,o=e.targetNode;if("string"==typeof o&&(o=r.getNodeById(o)),o&&r.contains(o))return{node:o};var a=e.targetNodeId;if(null!=a&&(o=r.getNodeById(a)))return{node:o}}},B1.getPathToRoot=e,B1.aboveViewRoot=function(n,i){var r=e(n);return t.indexOf(r,i)>=0},B1.wrapTreePathInfo=function(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n},B1}var G1,H1,W1,U1,Y1,Z1,X1,j1,q1,K1,$1,J1={},Q1={};function t2(){if(Z1)return Y1;Z1=1;var t=bW(),e=sU(),n=YX().linearMap,i=t.each,r=t.isObject,o=-1,a=function(e){var n=e.mappingMethod,r=e.type,a=this.option=t.clone(e);this.type=r,this.mappingMethod=n,this._normalizeData=m[n];var u=s[r];this.applyVisual=u.applyVisual,this.getColorMapper=u.getColorMapper,this._doMap=u._doMap[n],"piecewise"===n?(l(a),function(e){var n=e.pieceList;e.hasSpecialVisual=!1,t.each(n,(function(t,n){t.originIndex=n,null!=t.visual&&(e.hasSpecialVisual=!0)}))}(a)):"category"===n?a.categories?function(e){var n=e.categories,r=e.visual,a=e.categoryMap={};if(i(n,(function(t,e){a[t]=e})),!t.isArray(r)){var s=[];t.isObject(r)?i(r,(function(t,e){var n=a[e];s[null!=n?n:o]=t})):s[-1]=r,r=v(e,s)}for(var l=n.length-1;l>=0;l--)null==r[l]&&(delete a[n[l]],n.pop())}(a):l(a,!0):(t.assert("linear"!==n||a.dataExtent),l(a))};a.prototype={constructor:a,mapValueToVisual:function(t){var e=this._normalizeData(t);return this._doMap(e,t)},getNormalizer:function(){return t.bind(this._normalizeData,this)}};var s=a.visualHandlers={color:{applyVisual:c("color"),getColorMapper:function(){var n=this.option;return t.bind("category"===n.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),d.call(this,t)}:function(t,i,r){var o=!!r;return!i&&(t=this._normalizeData(t)),r=e.fastLerp(t,n.parsedVisual,r),o?r:e.stringify(r,"rgba")},this)},_doMap:{linear:function(t){return e.stringify(e.fastLerp(t,this.option.parsedVisual),"rgba")},category:d,piecewise:function(t,n){var i=g.call(this,n);return null==i&&(i=e.stringify(e.fastLerp(t,this.option.parsedVisual),"rgba")),i},fixed:p}},colorHue:u((function(t,n){return e.modifyHSL(t,n)})),colorSaturation:u((function(t,n){return e.modifyHSL(t,null,n)})),colorLightness:u((function(t,n){return e.modifyHSL(t,null,null,n)})),colorAlpha:u((function(t,n){return e.modifyAlpha(t,n)})),opacity:{applyVisual:c("opacity"),_doMap:f([0,1])},liftZ:{applyVisual:c("liftZ"),_doMap:{linear:p,category:p,piecewise:p,fixed:p}},symbol:{applyVisual:function(e,n,i){var o=this.mapValueToVisual(e);if(t.isString(o))i("symbol",o);else if(r(o))for(var a in o)o.hasOwnProperty(a)&&i(a,o[a])},_doMap:{linear:h,category:d,piecewise:function(t,e){var n=g.call(this,e);return null==n&&(n=h.call(this,t)),n},fixed:p}},symbolSize:{applyVisual:c("symbolSize"),_doMap:f([0,1])}};function l(e,n){var r=e.visual,o=[];t.isObject(r)?i(r,(function(t){o.push(t)})):null!=r&&o.push(r),n||1!==o.length||{color:1,symbol:1}.hasOwnProperty(e.type)||(o[1]=o[0]),v(e,o)}function u(t){return{applyVisual:function(e,n,i){e=this.mapValueToVisual(e),i("color",t(n("color"),e))},_doMap:f([0,1])}}function h(t){var e=this.option.visual;return e[Math.round(n(t,[0,1],[0,e.length-1],!0))]||{}}function c(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}function d(t){var e=this.option.visual;return e[this.option.loop&&t!==o?t%e.length:t]}function p(){return this.option.visual[0]}function f(t){return{linear:function(e){return n(e,t,this.option.visual,!0)},category:d,piecewise:function(e,i){var r=g.call(this,i);return null==r&&(r=n(e,t,this.option.visual,!0)),r},fixed:p}}function g(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var i=n[a.findPieceIndex(t,n)];if(i&&i.visual)return i.visual[this.type]}}function v(n,i){return n.visual=i,"color"===n.type&&(n.parsedVisual=t.map(i,(function(t){return e.parse(t)}))),i}var m={linear:function(t){return n(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,i=a.findPieceIndex(t,e,!0);if(null!=i)return n(i,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?o:e},fixed:t.noop};function y(t,e,n){return t?e<=n:ec[1]&&(c[1]=h);var d=n.get("colorMappingBy"),p={type:l.name,dataExtent:c,visual:l.range};"color"!==p.type||"index"!==d&&"id"!==d?p.mappingMethod="linear":(p.mappingMethod="category",p.loop=!0);var f=new t(p);return f.__drColorMappingBy=d,f}}}(0,h,c,0,f,m);n.each(m,(function(t,e){if(t.depth>=l.length||t===l[t.depth]){var i=function(t,e,i,r,o,a){var s=n.extend({},e);if(o){var l=o.type,u="color"===l&&o.__drColorMappingBy,h="index"===u?r:"id"===u?a.mapIdToIndex(i.getId()):i.getValue(t.get("visualDimension"));s[l]=o.mapValueToVisual(h)}return s}(h,f,t,e,y,u);r(t,i,l,u)}}))}else d=o(f),i.setVisual("color",d)}}function o(t){var n=a(t,"color");if(n){var i=a(t,"colorAlpha"),r=a(t,"colorSaturation");return r&&(n=e.modifyHSL(n,null,null,r)),i&&(n=e.modifyAlpha(n,i)),n}}function a(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function s(t,e){var n=t.get(e);return i(n)&&n.length?{name:e,range:n}:null}return X1={seriesType:"treemap",reset:function(t,e,n,i){var o=t.getData().tree.root;o.isRemoved()||r(o,{},t.getViewRoot().getAncestors(),t)}}}function n2(){if(K1)return q1;K1=1;var t=bW(),e=kU(),n=YX(),i=n.parsePercent,r=n.MAX_SAFE_INTEGER,o=rj(),a=F1(),s=Math.max,l=Math.min,u=t.retrieve,h=t.each,c=["itemStyle","borderWidth"],d=["itemStyle","gapWidth"],p=["upperLabel","show"],f=["upperLabel","height"],g={seriesType:"treemap",reset:function(n,s,l,d){var p=l.getWidth(),f=l.getHeight(),g=n.option,m=o.getLayoutRect(n.getBoxLayoutParams(),{width:l.getWidth(),height:l.getHeight()}),y=g.size||[],b=i(u(m.width,y[0]),p),w=i(u(m.height,y[1]),f),S=d&&d.type,M=a.retrieveTargetInfo(d,["treemapZoomToNode","treemapRootToNode"],n),I="treemapRender"===S||"treemapMove"===S?d.rootRect:null,T=n.getViewRoot(),C=a.getPathToRoot(T);if("treemapMove"!==S){var A="treemapZoomToNode"===S?function(t,e,n,i,o){var a,s=(e||{}).node,l=[i,o];if(!s||s===n)return l;for(var u=i*o,h=u*t.option.zoomToNodeRatio;a=s.parentNode;){for(var d=0,p=a.children,f=0,g=p.length;fr&&(h=r),s=a}hs[1]&&(s[1]=e)}))}else s=[NaN,NaN];return{sum:i,dataExtent:s}}(n,s,l);if(0===c.sum)return e.viewChildren=[];if(c.sum=function(t,e,n,i,r){if(!i)return n;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*er&&(r=i));var u=t.area*t.area,h=e*e*n;return u?s(h*r/u,u/(h*o)):1/0}function y(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,u=["x","y"],h=["width","height"],c=n[u[o]],d=e?t.area/e:0;(r||d>n[h[a]])&&(d=n[h[a]]);for(var p=0,f=t.length;p=0&&t.call(e,n[r],r)},r.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},r.breadthFirstTraverse=function(t,e,i,r){if(o.isInstance(e)||(e=this._nodesMap[n(e)]),e){for(var a="out"===i?"outEdges":"in"===i?"inEdges":"edges",s=0;s=0&&n.node2.dataIndex>=0})),r=0,o=i.length;r=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n,i){return this[t][e].getItemVisual(this.dataIndex,n,i)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}};return t.mixin(o,s("hostGraph","data")),t.mixin(a,s("hostGraph","edgeData")),i.Node=o,i.Edge=a,e(o),e(a),i2=i}(),i=y1(),r=nK(),o=Oj(),a=hK();return o2=function(s,l,u,h,c){for(var d=new n(h),p=0;p "+x)),v++)}var _,b=u.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)_=a(s,u);else{var w=o.get(b),S=w&&"view"!==w.type&&w.dimensions||[];t.indexOf(S,"value")<0&&S.concat(["value"]);var M=r(s,{coordDimensions:S});(_=new e(M,u)).initData(s)}var I=new e(["value"],u);return I.initData(g,f),c&&c(_,I),i({mainData:_,struct:d,structAttr:"graph",datas:{node:_,edge:I},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d},o2}var u2,h2,c2,d2,p2,f2,g2,v2,m2,y2={};function x2(){if(u2)return y2;u2=1;var t=bW(),e="--\x3e",n=function(t){return t.get("autoCurveness")||null},i=function(e,i){var r=n(e),o=20,a=[];if("number"==typeof r)o=r;else if(t.isArray(r))return void(e.__curvenessList=r);i>o&&(o=i);var s=o%2?o+2:o+3;a=[];for(var l=0;l0&&(w[0]=-w[0],w[1]=-w[1]);var M,I=p[0]<0?-1:1;if("start"!==r.__position&&"end"!==r.__position){var T=-Math.atan2(p[1],p[0]);c[0].8?"left":d[0]<-.8?"right":"center",v=d[1]>.8?"top":d[1]<-.8?"bottom":"middle";break;case"start":f=[-d[0]*x+h[0],-d[1]*_+h[1]],g=d[0]>.8?"right":d[0]<-.8?"left":"center",v=d[1]>.8?"bottom":d[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":f=[x*I+h[0],h[1]+M],g=p[0]<0?"right":"left",m=[-x*I,-M];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":f=[S[0],S[1]+M],g="center",m=[0,-M];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":f=[-x*I+c[0],c[1]+M],g=p[0]>=0?"right":"left",m=[x*I,-M]}r.attr({style:{textVerticalAlign:r.__verticalAlign||v,textAlign:r.__textAlign||g},position:f,scale:[o,o],origin:m})}}}},c._createLine=function(e,n,o){var h=e.hostModel,c=function(t){var e=new i({name:"line",subPixelOptimize:!0});return u(e.shape,t),e}(e.getItemLayout(n));c.shape.percent=0,r.initProps(c,{shape:{percent:1}},h,n),this.add(c);var d=new r.Text({name:"label",lineLabelOriginalOpacity:1});this.add(d),t.each(a,(function(t){var i=l(t,e,n);this.add(i),this[s(t)]=e.getItemVisual(n,t)}),this),this._updateCommonStl(e,n,o)},c.updateData=function(e,n,i){var o=e.hostModel,h=this.childOfName("line"),c=e.getItemLayout(n),d={shape:{}};u(d.shape,c),r.updateProps(h,d,o,n),t.each(a,(function(t){var i=e.getItemVisual(n,t),r=s(t);if(this[r]!==i){this.remove(this.childOfName(t));var o=l(t,e,n);this.add(o)}this[r]=i}),this),this._updateCommonStl(e,n,i)},c._updateCommonStl=function(e,n,i){var s=e.hostModel,l=this.childOfName("line"),u=i&&i.lineStyle,h=i&&i.hoverLineStyle,c=i&&i.labelModel,d=i&&i.hoverLabelModel;if(!i||e.hasItemOption){var p=e.getItemModel(n);u=p.getModel("lineStyle").getLineStyle(),h=p.getModel("emphasis.lineStyle").getLineStyle(),c=p.getModel("label"),d=p.getModel("emphasis.label")}var f=e.getItemVisual(n,"color"),g=t.retrieve3(e.getItemVisual(n,"opacity"),u.opacity,1);l.useStyle(t.defaults({strokeNoScale:!0,fill:"none",stroke:f,opacity:g},u)),l.hoverStyle=h,t.each(a,(function(t){var e=this.childOfName(t);e&&(e.setColor(f),e.setStyle({opacity:g}))}),this);var v,m,y=c.getShallow("show"),x=d.getShallow("show"),_=this.childOfName("label");if((y||x)&&(v=f||"#000",null==(m=s.getFormattedLabel(n,"normal",e.dataType)))){var b=s.getRawValue(n);m=null==b?e.getName(n):isFinite(b)?o(b):b}var w=y?m:null,S=x?t.retrieve2(s.getFormattedLabel(n,"emphasis",e.dataType),m):null,M=_.style;if(null!=w||null!=S){r.setTextStyle(_.style,c,{text:w},{autoColor:v}),_.__textAlign=M.textAlign,_.__verticalAlign=M.textVerticalAlign,_.__position=c.get("position")||"middle";var I=c.get("distance");t.isArray(I)||(I=[I,I]),_.__labelDistance=I}_.hoverStyle=null!=S?{text:S,textFill:d.getTextColor(!0),fontStyle:d.getShallow("fontStyle"),fontWeight:d.getShallow("fontWeight"),fontSize:d.getShallow("fontSize"),fontFamily:d.getShallow("fontFamily")}:{text:null},_.ignore=!y&&!x,r.setHoverStyle(this)},c.highlight=function(){this.trigger("emphasis")},c.downplay=function(){this.trigger("normal")},c.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},c.setLinePoints=function(t){var e=this.childOfName("line");u(e.shape,t),e.dirty()},t.inherits(h,r.Group),f2=h}function w2(){if(m2)return v2;m2=1;var t=zX(),e=b2();function n(n){this._ctor=n||e,this.group=new t.Group}var i=n.prototype;function r(t){var e=t.hostModel;return{lineStyle:e.getModel("lineStyle").getLineStyle(),hoverLineStyle:e.getModel("emphasis.lineStyle").getLineStyle(),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label")}}function o(t){return isNaN(t[0])||isNaN(t[1])}function a(t){return!o(t[0])&&!o(t[1])}return i.isPersistent=function(){return!0},i.updateData=function(t){var e=this,n=e.group,i=e._lineData;e._lineData=t,i||n.removeAll();var o=r(t);t.diff(i).add((function(n){!function(t,e,n,i){var r=e.getItemLayout(n);if(a(r)){var o=new t._ctor(e,n,i);e.setItemGraphicEl(n,o),t.group.add(o)}}(e,t,n,o)})).update((function(n,r){!function(t,e,n,i,r,o){var s=e.getItemGraphicEl(i);a(n.getItemLayout(r))?(s?s.updateData(n,r,o):s=new t._ctor(n,r,o),n.setItemGraphicEl(r,s),t.group.add(s)):t.group.remove(s)}(e,i,t,r,n,o)})).remove((function(t){n.remove(i.getItemGraphicEl(t))})).execute()},i.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},i.incrementalPrepareUpdate=function(t){this._seriesScope=r(t),this._lineData=null,this.group.removeAll()},i.incrementalUpdate=function(t,e){function n(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=t.useHoverLayer=!0)}for(var i=t.start;i=0?u+=g:u-=g:_>=0?u-=g:u+=g}return u}return M2=function(i,r){var o=[],a=t.quadraticSubdivide,s=[[],[],[]],l=[[],[]],h=[];r/=2,i.eachEdge((function(t,i){var c=t.getLayout(),d=t.getVisual("fromSymbol"),p=t.getVisual("toSymbol");c.__original||(c.__original=[e.clone(c[0]),e.clone(c[1])],c[2]&&c.__original.push(e.clone(c[2])));var f=c.__original;if(null!=c[2]){if(e.copy(s[0],f[0]),e.copy(s[1],f[2]),e.copy(s[2],f[1]),d&&"none"!==d){var g=n(t.node1),v=u(s,f[0],g*r);a(s[0][0],s[1][0],s[2][0],v,o),s[0][0]=o[3],s[1][0]=o[4],a(s[0][1],s[1][1],s[2][1],v,o),s[0][1]=o[3],s[1][1]=o[4]}p&&"none"!==p&&(g=n(t.node2),v=u(s,f[1],g*r),a(s[0][0],s[1][0],s[2][0],v,o),s[1][0]=o[1],s[2][0]=o[2],a(s[0][1],s[1][1],s[2][1],v,o),s[1][1]=o[1],s[2][1]=o[2]),e.copy(c[0],s[0]),e.copy(c[1],s[2]),e.copy(c[2],s[1])}else e.copy(l[0],f[0]),e.copy(l[1],f[1]),e.sub(h,l[1],l[0]),e.normalize(h,h),d&&"none"!==d&&(g=n(t.node1),e.scaleAndAdd(l[0],l[0],h,g*r)),p&&"none"!==p&&(g=n(t.node2),e.scaleAndAdd(l[1],l[1],h,-g*r)),e.copy(c[0],l[0]),e.copy(c[1],l[1])}))},M2}var k2,P2,O2,R2,N2,E2,z2,V2,B2={},F2={};function G2(){if(k2)return F2;k2=1;var t=s$();return t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){})),F2}function H2(){return R2||(R2=1,O2=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),i=t.getGraph().data,r=n.mapArray(n.getName);i.filterSelf((function(t){var n=i.getItemModel(t).getShallow("category");if(null!=n){"number"==typeof n&&(n=r[n]);for(var o=0;o=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)}});return u5=t}var m5,y5,x5,_5,b5,w5,S5,M5={};function I5(){if(w5)return b5;w5=1,cW().__DEV__;var t=rj(),e=YX(),n=e.parsePercent,i=e.linearMap;return b5=function(e,r,o){e.eachSeriesByType("funnel",(function(e){var o=e.getData(),a=o.mapDimension("value"),s=e.get("sort"),l=function(e,n){return t.getLayoutRect(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})}(e,r),u=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),r=[],o="ascending"===e,a=0,s=t.count();a0?-1:n<0?1:e?-1:1}}function e(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}return R5=1,O5=function(n,i,r,o,a,s){n=n||0;var l=r[1]-r[0];if(null!=a&&(a=e(a,[0,l])),null!=s&&(s=Math.max(s,null!=a?a:0)),"all"===o){var u=Math.abs(i[1]-i[0]);u=e(u,[0,l]),a=s=e(u,[a,s]),o=0}i[0]=e(i[0],r),i[1]=e(i[1],r);var h=t(i,o);i[o]+=n;var c=a||0,d=r.slice();h.sign<0?d[0]+=c:d[1]-=c,i[o]=e(i[o],d);var p=t(i,o);return null!=a&&(p.sign!==h.sign||p.spans&&(i[1-o]=i[o]+p.sign*s),i},O5}function U5(){if(E5)return N5;E5=1;var t=bW(),e=$W(),n=rj(),i=zK(),r=function(){if(P5)return k5;P5=1;var t=bW(),e=o$(),n=function(t,n,i,r,o){e.call(this,t,n,i),this.type=r||"value",this.axisIndex=o};return n.prototype={constructor:n,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},t.inherits(n,e),k5=n}(),o=zX(),a=YX(),s=W5(),l=t.each,u=Math.min,h=Math.max,c=Math.floor,d=Math.ceil,p=a.round,f=Math.PI;function g(e,n,i){this._axesMap=t.createHashMap(),this._axesLayout={},this.dimensions=e.dimensions,this._rect,this._model=e,this._init(e,n,i)}function v(t,e){return u(h(t,e[0]),e[1])}function m(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function y(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,h=!1;return t=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var r=n.getData();l(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(r,r.mapDimension(t)),i.niceScaleExtent(e.scale,e.model)}),this)}}),this)},resize:function(t,e){this._rect=n.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],u=this.dimensions.length,h=v(e.get("axisExpandWidth"),l),f=v(e.get("axisExpandCount")||0,[0,u]),g=e.get("axisExpandable")&&u>3&&u>f&&f>1&&h>0&&s>0,m=e.get("axisExpandWindow");m?(t=v(m[1]-m[0],l),m[1]=m[0]+t):(t=v(h*(f-1),l),(m=[h*(e.get("axisExpandCenter")||c(u/2))-t/2])[1]=m[0]+t);var y=(s-t)/(u-f);y<3&&(y=0);var x=[c(p(m[0]/h,1))+1,d(p(m[1]/h,1))-1],_=y/h*m[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:g,axisExpandWidth:h,axisCollapseWidth:y,axisExpandWindow:m,axisCount:u,winInnerIndices:x,axisExpandWindow0Pos:_}},_layoutAxes:function(){var t=this._rect,n=this._axesMap,i=this.dimensions,r=this._makeLayoutInfo(),o=r.layout;n.each((function(t){var e=[0,r.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),l(i,(function(n,i){var a=(r.axisExpandable?y:m)(i,r),s={horizontal:{x:a.position,y:r.axisLength},vertical:{x:0,y:a.position}},l={horizontal:f/2,vertical:0},u=[s[o].x+t.x,s[o].y+t.y],h=l[o],c=e.create();e.rotate(c,c,h),e.translate(c,c,u),this._axesLayout[n]={position:u,rotation:h,transform:c,axisNameAvailableWidth:a.axisNameAvailableWidth,axisLabelShow:a.axisLabelShow,nameTruncateMaxWidth:a.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},getAxis:function(t){return this._axesMap.get(t)},dataToPoint:function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},eachActiveState:function(e,n,i,r){null==i&&(i=0),null==r&&(r=e.count());var o=this._axesMap,a=this.dimensions,s=[],l=[];t.each(a,(function(t){s.push(e.mapDimension(t)),l.push(o.get(t).model)}));for(var u=this.hasAxisBrushed(),h=i;hr*(1-p[0])?(c="jump",a=l-r*(1-p[2])):(a=l-r*p[1])>=0&&(a=l-r*(1-p[1]))<=0&&(a=0),(a*=e.axisExpandWidth/d)?s(a,i,o,"all"):c="none"):(r=i[1]-i[0],(i=[h(0,o[1]*l/r-r/2)])[1]=u(o[1],i[0]+r),i[0]=i[1]-r),{axisExpandWindow:i,behavior:c}}},N5=g}function Y5(){if(z5)return H5;z5=1;var t=U5();return Oj().register("parallel",{create:function(e,n){var i=[];return e.eachComponent("parallel",(function(r,o){var a=new t(r,e,n);a.name="parallel_"+o,a.resize(r,n),r.coordinateSystem=a,a.model=r,i.push(a)})),e.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"parallel",index:t.get("parallelIndex"),id:t.get("parallelId")})[0];t.coordinateSystem=n.coordinateSystem}})),i}}),H5}function Z5(){if(G5)return F5;G5=1;var t=bW(),e=oj();!function(){if(B5)return V5;B5=1;var t=bW(),e=oj(),n=VY(),i=lJ(),r=YX(),o=VK(),a=e.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return n([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(e){var n=this.activeIntervals=t.clone(e);if(n)for(var i=n.length-1;i>=0;i--)r.asc(n[i])},getActiveState:function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;i1)return("e"===(i=[R(t,(e=e.split(""))[0]),R(t,e[1])])[0]||"w"===i[0])&&i.reverse(),i.join("");var i=n.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[e],function(t){return n.getTransform(t.group)}(t));return{left:"w",right:"e",top:"n",bottom:"s"}[i]}function N(t,e,n,i,r,o,s,l){var u=i.__brushOption,h=t(u.range),c=z(n,o,s);a(r.split(""),(function(t){var e=d[t];h[e[0]][e[1]]+=c[e[0]]})),u.range=e(O(h[0][0],h[1][0],h[0][1],h[1][1])),b(n,i),T(n,{isEnd:!1})}function E(t,e,n,i,r){var o=e.__brushOption.range,s=z(t,n,i);a(o,(function(t){t[0]+=s[0],t[1]+=s[1]})),b(t,e),T(t,{isEnd:!1})}function z(t,e,n){var i=t.group,r=i.transformCoordToLocal(e,n),o=i.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function V(e,n,i){var r=M(e,n);return r&&!0!==r?r.clipPath(i,e._transform):t.clone(i)}function B(t){var e=t.event;e.preventDefault&&e.preventDefault()}function F(t,e,n){return t.childOfName("main").contain(e,n)}function G(e,n,i,r){var o,a=e._creatingCover,s=e._creatingPanel,l=e._brushOption;if(e._track.push(i.slice()),function(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],i=e[0],r=n[0]-i[0],o=n[1]-i[1];return h(r*r+o*o,.5)>6}(e)||a){if(s&&!a){"single"===l.brushMode&&I(e);var u=t.clone(l);u.brushType=H(u.brushType,s),u.panelId=!0===s?null:s.panelId,a=e._creatingCover=m(e,u),e._covers.push(a)}if(a){var c=Y[H(e._brushType,s)];a.__brushOption.range=c.getCreatingRange(V(e,a,e._track)),r&&(y(e,a),c.updateCommon(e,a)),x(e,a),o={isEnd:r}}}else r&&"single"===l.brushMode&&l.removeOnClick&&S(e,n,i)&&I(e)&&(o={isEnd:r,removeOnClick:!0});return o}function H(t,e){return"auto"===t?e.defaultBrushType:t}v.prototype={constructor:v,enableBrush:function(e){var n,r;return this._brushType&&(r=(n=this)._zr,i.release(r,c,n._uid),function(t,e){a(e,(function(e,n){t.off(n,e)}))}(r,n._handlers),n._brushType=n._brushOption=null),e.brushType&&function(e,n){var r=e._zr;e._enableGlobalPan||i.take(r,c,e._uid),function(t,e){a(e,(function(e,n){t.on(n,e)}))}(r,e._handlers),e._brushType=n.brushType,e._brushOption=t.merge(t.clone(f),n,!0)}(this,e),this},setPanels:function(e){if(e&&e.length){var n=this._panels={};t.each(e,(function(e){n[e.panelId]=t.clone(e)}))}else this._panels=null;return this},mount:function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({position:t.position||[0,0],rotation:t.rotation||0,scale:t.scale||[1,1]}),this._transform=e.getLocalTransform(),this},eachCover:function(t,e){a(this._covers,t,e)},updateCovers:function(e){e=t.map(e,(function(e){return t.merge(t.clone(f),e,!0)}));var n=this._covers,i=this._covers=[],o=this,a=this._creatingCover;return new r(n,e,(function(t,e){return s(t.__brushOption,e)}),s).add(l).update(l).remove((function(t){n[t]!==a&&o.group.remove(n[t])})).execute(),this;function s(t,e){return(null!=t.id?t.id:"\0-brush-index-"+e)+"-"+t.brushType}function l(t,r){var s=e[t];if(null!=r&&n[r]===a)i[t]=n[r];else{var l=i[t]=null!=r?(n[r].__brushOption=s,n[r]):y(o,m(o,s));b(o,l)}}},unmount:function(){return this.enableBrush(!1),I(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},t.mixin(v,e);var W={mousedown:function(t){if(this._dragging)U(this,t);else if(!t.target||!t.target.draggable){B(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=S(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}(t,e)){var i=t._zr,r=t._covers,o=S(t,e,n);if(!t._dragging)for(var a=0;a5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&o(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i&&null})}}};function o(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}return t.registerPreprocessor(i),D5}function v3(){if(u3)return l3;u3=1;var t=["lineStyle","normal","opacity"],e={seriesType:"parallel",reset:function(e,n,i){var r=e.getModel("itemStyle"),o=e.getModel("lineStyle"),a=n.get("color"),s=o.get("color")||r.get("color")||a[e.seriesIndex%a.length],l=e.get("inactiveOpacity"),u=e.get("activeOpacity"),h=e.getModel("lineStyle").getLineStyle(),c=e.coordinateSystem,d=e.getData(),p={normal:h.opacity,active:u,inactive:l};return d.setVisual("color",s),{progress:function(e,n){c.eachActiveState(n,(function(e,i){var r=p[e];if("normal"===e&&n.hasItemOption){var o=n.getItemModel(i).get(t,!0);null!=o&&(r=o)}n.setItemVisual(i,"opacity",r)}),e.start,e.end)}}}};return l3=e}var m3,y3,x3,_3,b3,w3,S3,M3,I3,T3,C3={},A3={};function D3(){if(S3)return w3;S3=1;var t=rj(),e=bW(),n=AY().groupData;function i(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function r(t,n,i,r,o){var a="vertical"===o?"x":"y";e.each(t,(function(t){var e,s,l;t.sort((function(t,e){return t.getLayout()[a]-e.getLayout()[a]}));for(var u=0,h=t.length,c="vertical"===o?"dx":"dy",d=0;d0&&(e=s.getLayout()[a]+l,"vertical"===o?s.setLayout({x:e},!0):s.setLayout({y:e},!0)),u=s.getLayout()[a]+s.getLayout()[c]+n;if((l=u-n-("vertical"===o?r:i))>0)for(e=s.getLayout()[a]-l,"vertical"===o?s.setLayout({x:e},!0):s.setLayout({y:e},!0),u=e,d=h-2;d>=0;--d)(l=(s=t[d]).getLayout()[a]+s.getLayout()[c]+n-u)>0&&(e=s.getLayout()[a]-l,"vertical"===o?s.setLayout({x:e},!0):s.setLayout({y:e},!0)),u=s.getLayout()[a]}))}function o(t,n,i){e.each(t.slice().reverse(),(function(t){e.each(t,(function(t){if(t.outEdges.length){var e=d(t.outEdges,a,i)/d(t.outEdges,c,i);if(isNaN(e)){var r=t.outEdges.length;e=r?d(t.outEdges,s,i)/r:0}if("vertical"===i){var o=t.getLayout().x+(e-h(t,i))*n;t.setLayout({x:o},!0)}else{var l=t.getLayout().y+(e-h(t,i))*n;t.setLayout({y:l},!0)}}}))}))}function a(t,e){return h(t.node2,e)*t.getValue()}function s(t,e){return h(t.node2,e)}function l(t,e){return h(t.node1,e)*t.getValue()}function u(t,e){return h(t.node1,e)}function h(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function c(t){return t.getValue()}function d(t,e,n){for(var i=0,r=t.length,o=-1;++o=0;x&&y.depth>g&&(g=y.depth),m.setLayout({depth:x?y.depth:p},!0),"vertical"===s?m.setLayout({dy:r},!0):m.setLayout({dx:r},!0);for(var _=0;_p-1?g:p-1;l&&"left"!==l&&function(t,n,r,o){if("right"===n){for(var a=[],s=t,l=0;s.length;){for(var u=0;u0;u--)o(c,d*=.99,h),r(c,l,a,s,h),p(c,d,h),r(c,l,a,s,h)}(t,a,h,u,l,c,d),function(t,n){var i="vertical"===n?"x":"y";e.each(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[i]-e.node2.getLayout()[i]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[i]-e.node1.getLayout()[i]}))})),e.each(t,(function(t){var n=0,i=0;e.each(t.outEdges,(function(t){t.setLayout({sy:n},!0),n+=t.getLayout().dy})),e.each(t.inEdges,(function(t){t.setLayout({ty:i},!0),i+=t.getLayout().dy}))}))}(t,d)}(m,y,l,u,f,g,0!==e.filter(m,(function(t){return 0===t.getLayout().value})).length?0:a.get("layoutIterations"),a.get("orient"),a.get("nodeAlign"))}))},w3}function L3(){if(I3)return M3;I3=1;var t=t2(),e=bW();return M3=function(n,i){n.eachSeriesByType("sankey",(function(n){var i=n.getGraph().nodes;if(i.length){var r=1/0,o=-1/0;e.each(i,(function(t){var e=t.getLayout().value;eo&&(o=e)})),e.each(i,(function(e){var i=new t({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:n.get("color")}).mapValueToVisual(e.getLayout().value),a=e.getModel().get("itemStyle.color");null!=a?e.setVisual("color",a):e.setVisual("color",i)}))}}))}}var k3,P3,O3,R3,N3,E3,z3,V3,B3,F3,G3={},H3={};function W3(){if(k3)return H3;k3=1;var t=xQ(),e=bW(),n=Jq().getDimensionTypeByAxis,i=Lj().makeSeriesEncodeForAxisCoordSys,r={_baseAxisDim:null,getInitialData:function(r,o){var a,s,l=o.getComponent("xAxis",this.get("xAxisIndex")),u=o.getComponent("yAxis",this.get("yAxisIndex")),h=l.get("type"),c=u.get("type");"category"===h?(r.layout="horizontal",a=l.getOrdinalMeta(),s=!0):"category"===c?(r.layout="vertical",a=u.getOrdinalMeta(),s=!0):r.layout=r.layout||"horizontal";var d=["x","y"],p="horizontal"===r.layout?0:1,f=this._baseAxisDim=d[p],g=d[1-p],v=[l,u],m=v[p].get("type"),y=v[1-p].get("type"),x=r.data;if(x&&s){var _=[];e.each(x,(function(t,n){var i;t.value&&e.isArray(t.value)?(i=t.value.slice(),t.value.unshift(n)):e.isArray(t)?(i=t.slice(),t.unshift(n)):i=t,_.push(i)})),r.data=_}var b=this.defaultValueDimensions,w=[{name:f,type:n(m),ordinalMeta:a,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:g,type:n(y),dimsDef:b.slice()}];return t(this,{coordDimensions:w,dimensionsCount:b.length+1,encodeDefaulter:e.curry(i,w,this)})},getBaseAxis:function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis}};return H3.seriesModelMixin=r,H3}function U3(){if(z3)return E3;z3=1;var t=["itemStyle","borderColor"];return E3=function(e,n){var i=e.get("color");e.eachRawSeriesByType("boxplot",(function(n){var r=i[n.seriesIndex%i.length],o=n.getData();o.setVisual({legendSymbol:"roundRect",color:n.get(t)||r}),e.isSeriesFiltered(n)||o.each((function(e){var n=o.getItemModel(e);o.setItemVisual(e,{color:n.get(t,!0)})}))}))}}function Y3(){if(B3)return V3;B3=1;var t=bW(),e=YX().parsePercent,n=t.each;return V3=function(i){var r=function(e){var n=[],i=[];return e.eachSeriesByType("boxplot",(function(e){var r=e.getBaseAxis(),o=t.indexOf(i,r);o<0&&(o=i.length,i[o]=r,n[o]={axis:r,seriesModels:[]}),n[o].seriesModels.push(e)})),n}(i);n(r,(function(i){var r=i.seriesModels;r.length&&(function(i){var r,o,a=i.axis,s=i.seriesModels,l=s.length,u=i.boxWidthList=[],h=i.boxOffsetList=[],c=[];if("category"===a.type)o=a.getBandWidth();else{var d=0;n(s,(function(t){d=Math.max(d,t.getData().count())})),r=a.getExtent(),Math.abs(r[1]-r[0])}n(s,(function(n){var i=n.get("boxWidth");t.isArray(i)||(i=[i,i]),c.push([e(i[0],o)||0,e(i[1],o)||0])}));var p=.8*o-2,f=p/l*.3,g=(p-f*(l-1))/l,v=g/2-p/2;n(s,(function(t,e){h.push(v),v+=f+g,u.push(Math.min(Math.max(g,c[e][0]),c[e][1]))}))}(i),n(r,(function(t,e){!function(t,e,n){var i=t.coordinateSystem,r=t.getData(),o=n/2,a="horizontal"===t.get("layout")?0:1,s=1-a,l=["x","y"],u=r.mapDimension(l[a]),h=r.mapDimension(l[s],!0);if(!(null==u||h.length<5))for(var c=0;c0?i:r)}function s(t,i){return i.get(t>0?e:n)}}};return J3=o}function o4(){if(e4)return t4;e4=1;var t=zX().subPixelOptimize,e=nq(),n=YX().parsePercent,i=bW().retrieve2,r="undefined"!=typeof Float32Array?Float32Array:Array,o={seriesType:"candlestick",plan:e(),reset:function(e){var o=e.coordinateSystem,s=e.getData(),l=function(t,e){var r,o=t.getBaseAxis(),a="category"===o.type?o.getBandWidth():(r=o.getExtent(),Math.abs(r[1]-r[0])/e.count()),s=n(i(t.get("barMaxWidth"),a),a),l=n(i(t.get("barMinWidth"),1),a),u=t.get("barWidth");return null!=u?n(u,a):Math.max(Math.min(a/2,s),l)}(e,s),u=["x","y"],h=s.mapDimension(u[0]),c=s.mapDimension(u[1],!0),d=c[0],p=c[1],f=c[2],g=c[3];if(s.setLayout({candleWidth:l,isSimpleBox:l<=1.3}),!(null==h||c.length<4))return{progress:e.pipelineContext.large?function(t,e){for(var n,i,s=new r(4*t.count),l=0,u=[],c=[];null!=(i=t.next());){var v=e.get(h,i),m=e.get(d,i),y=e.get(p,i),x=e.get(f,i),_=e.get(g,i);isNaN(v)||isNaN(x)||isNaN(_)?(s[l++]=NaN,l+=3):(s[l++]=a(e,i,m,y,p),u[0]=v,u[1]=x,n=o.dataToPoint(u,null,c),s[l++]=n?n[0]:NaN,s[l++]=n?n[1]:NaN,u[1]=_,n=o.dataToPoint(u,null,c),s[l++]=n?n[1]:NaN)}e.setLayout("largePoints",s)}:function(e,n){for(var i;null!=(i=e.next());){var r=n.get(h,i),s=n.get(d,i),u=n.get(p,i),c=n.get(f,i),v=n.get(g,i),m=Math.min(s,u),y=Math.max(s,u),x=M(m,r),_=M(y,r),b=M(c,r),w=M(v,r),S=[];I(S,_,0),I(S,x,1),S.push(C(w),C(_),C(b),C(x)),n.setItemLayout(i,{sign:a(n,i,s,u,p),initBaseline:s>u?_[1]:x[1],ends:S,brushRect:T(c,v,r)})}function M(t,e){var n=[];return n[0]=e,n[1]=t,isNaN(e)||isNaN(t)?[NaN,NaN]:o.dataToPoint(n)}function I(e,n,i){var r=n.slice(),o=n.slice();r[0]=t(r[0]+l/2,1,!1),o[0]=t(o[0]-l/2,1,!0),i?e.push(r,o):e.push(o,r)}function T(t,e,n){var i=M(t,n),r=M(e,n);return i[0]-=l/2,r[0]-=l/2,{x:i[0],y:i[1],width:l,height:r[1]-i[1]}}function C(e){return e[0]=t(e[0],1),e}}}}};function a(t,e,n,i,r){return n>i?-1:n0?t.get(r,e-1)<=i?1:-1:1}return t4=o}var a4,s4,l4,u4,h4,c4,d4,p4,f4,g4,v4,m4,y4,x4,_4,b4,w4,S4,M4,I4,T4,C4,A4,D4,L4,k4,P4,O4,R4,N4,E4,z4={},V4={};function B4(){if(v4)return g4;v4=1;var t=zX(),e=b2(),n=bW(),i=HK().createSymbol,r=AW(),o=WY();function a(e,n,i){t.Group.call(this),this.add(this.createLine(e,n,i)),this._updateEffectSymbol(e,n)}var s=a.prototype;return s.createLine=function(t,n,i){return new e(t,n,i)},s._updateEffectSymbol=function(t,e){var r=t.getItemModel(e).getModel("effect"),o=r.get("symbolSize"),a=r.get("symbol");n.isArray(o)||(o=[o,o]);var s=r.get("color")||t.getItemVisual(e,"color"),l=this.childAt(1);this._symbolType!==a&&(this.remove(l),(l=i(a,-.5,-.5,1,1,s)).z2=100,l.culling=!0,this.add(l)),l&&(l.setStyle("shadowColor",s),l.setStyle(r.getItemStyle(["color"])),l.attr("scale",o),l.setColor(s),l.attr("scale",o),this._symbolType=a,this._symbolScale=o,this._updateEffectAnimation(t,r,e))},s._updateEffectAnimation=function(t,e,i){var r=this.childAt(1);if(r){var o=this,a=t.getItemLayout(i),s=1e3*e.get("period"),l=e.get("loop"),u=e.get("constantSpeed"),h=n.retrieve(e.get("delay"),(function(e){return e/t.count()*s/3})),c="function"==typeof h;if(r.ignore=!0,this.updateAnimationPoints(r,a),u>0&&(s=this.getLineLength(r)/u*1e3),s!==this._period||l!==this._loop){r.stopAnimation();var d=h;c&&(d=h(i)),r.__t>0&&(d=-s*r.__t),r.__t=0;var p=r.animate("",l).when(s,{__t:1}).delay(d).during((function(){o.updateSymbolPosition(r)}));l||p.done((function(){o.remove(r)})),p.start()}this._period=s,this._loop=l}},s.getLineLength=function(t){return r.dist(t.__p1,t.__cp1)+r.dist(t.__cp1,t.__p2)},s.updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},s.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},s.updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,a=t.__t,s=t.position,l=[s[0],s[1]],u=o.quadraticAt,h=o.quadraticDerivativeAt;s[0]=u(e[0],i[0],n[0],a),s[1]=u(e[1],i[1],n[1],a);var c=h(e[0],i[0],n[0],a),d=h(e[1],i[1],n[1],a);if(t.rotation=-Math.atan2(d,c)-Math.PI/2,"line"===this._symbolType||"rect"===this._symbolType||"roundRect"===this._symbolType)if(void 0!==t.__lastT&&t.__lastT0){var I=o(m)?s:l;m>0&&(m=m*S+w),x[_++]=I[M],x[_++]=I[M+1],x[_++]=I[M+2],x[_++]=I[M+3]*m*256}else _+=4}return c.putImageData(y,0,0),h},_getBrush:function(){var e=this._brushCanvas||(this._brushCanvas=t.createCanvas()),n=this.pointSize+this.blurSize,i=2*n;e.width=i,e.height=i;var r=e.getContext("2d");return r.clearRect(0,0,i,i),r.shadowOffsetX=i,r.shadowBlur=this.blurSize,r.shadowColor="#000",r.beginPath(),r.arc(-n,n,this.pointSize,0,2*Math.PI,!0),r.closePath(),r.fill(),e},_getGradient:function(t,e,n){for(var i=this._gradientPixels,r=i[n]||(i[n]=new Uint8ClampedArray(1024)),o=[0,0,0,0],a=0,s=0;s<256;s++)e[n](s/255,!0,o),r[a++]=o[0],r[a++]=o[1],r[a++]=o[2],r[a++]=o[3];return r}},P4=e}var U4,Y4,Z4,X4,j4,q4,K4,$4,J4,Q4,t6={},e6={},n6={},i6={};function r6(){if(J4)return $4;J4=1;var t=function(){if(K4)return q4;K4=1;var t=bW(),e=o$(),n=function(t,n,i,r,o){e.call(this,t,n,i),this.type=r||"value",this.position=o||"bottom",this.orient=null};return n.prototype={constructor:n,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},pointToData:function(t,e){return this.coordinateSystem.pointToData(t,e)[0]},toGlobalCoord:null,toLocalCoord:null},t.inherits(n,e),q4=n}(),e=zK(),n=rj().getLayoutRect,i=bW().each;function r(t,e,n){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(t,e,n),this.model=t}return r.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:r,_init:function(n,i,r){var o=this.dimension,a=new t(o,e.createScaleByModel(n),[0,0],n.get("type"),n.get("position")),s="category"===a.type;a.onBand=s&&n.get("boundaryGap"),a.inverse=n.get("inverse"),a.orient=n.get("orient"),n.axis=a,a.model=n,a.coordinateSystem=this,this._axis=a},update:function(t,n){t.eachSeries((function(t){if(t.coordinateSystem===this){var n=t.getData();i(n.mapDimension(this.dimension,!0),(function(t){this._axis.scale.unionExtentFromData(n,t)}),this),e.niceScaleExtent(this._axis.scale,this._axis.model)}}),this)},resize:function(t,e){this._rect=n({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),i=n?[0,t.width]:[0,t.height],r=e.reverse?1:0;e.setExtent(i[r],i[1-r]),this._updateAxisTransform(e,n?t.x:t.y)},_updateAxisTransform:function(t,e){var n=t.getExtent(),i=n[0]+n[1],r=t.isHorizontal();t.toGlobalCoord=r?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord=r?function(t){return t-e}:function(t){return i-t+e}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(t){var e=this.getRect(),n=this.getAxis();return"horizontal"===n.orient?n.contain(n.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},pointToData:function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},dataToPoint:function(t){var e=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i}},$4=r}var o6,a6,s6,l6,u6,h6={};function c6(){if(o6)return h6;o6=1;var t=bW();return h6.layout=function(e,n){n=n||{};var i=e.coordinateSystem,r=e.axis,o={},a=r.position,s=r.orient,l=i.getRect(),u=[l.x,l.x+l.width,l.y,l.y+l.height],h={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};o.position=["vertical"===s?h.vertical[a]:u[0],"horizontal"===s?h.horizontal[a]:u[3]],o.rotation=Math.PI/2*{horizontal:0,vertical:1}[s],o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,right:1,left:-1}[a],e.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),t.retrieve(n.labelInside,e.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var c=n.rotate;return null==c&&(c=e.get("axisLabel.rotate")),o.labelRotation="top"===a?-c:c,o.z2=1,o},h6}var d6,p6,f6,g6,v6,m6,y6={};function x6(){if(p6)return d6;p6=1;var t=bW(),e=AY();return d6=function(n,i){var r,o=[],a=n.seriesIndex;if(null==a||!(r=i.getSeriesByIndex(a)))return{point:[]};var s=r.getData(),l=e.queryDataIndex(s,n);if(null==l||l<0||t.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),h=r.coordinateSystem;if(r.getTooltipPosition)o=r.getTooltipPosition(l)||[];else if(h&&h.dataToPoint)o=h.dataToPoint(s.getValues(t.map(h.dimensions,(function(t){return s.mapDimension(t)})),l,!0))||[];else if(u){var c=u.getBoundingRect().clone();c.applyTransform(u.transform),o=[c.x+c.width/2,c.y+c.height/2]}return{point:o,el:u}}}function _6(){if(g6)return f6;g6=1;var t=bW(),e=AY().makeInner,n=_J(),i=x6(),r=t.each,o=t.curry,a=e();function s(e,n,i,o,a){var s=e.axis;if(!s.scale.isBlank()&&s.containData(n))if(e.involveSeries){var l=function(t,e){var n=e.axis,i=n.dim,o=t,a=[],s=Number.MAX_VALUE,l=-1;return r(e.seriesModels,(function(e,u){var h,c,d=e.getData().mapDimension(i,!0);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(d,t,n);c=p.dataIndices,h=p.nestestValue}else{if(!(c=e.getData().indicesOfNearest(d[0],t,"category"===n.type?.5:null)).length)return;h=e.getData().get(d[0],c[0])}if(null!=h&&isFinite(h)){var f=t-h,g=Math.abs(f);g<=s&&((g=0&&l<0)&&(s=g,l=f,o=h,a.length=0),r(c,(function(t){a.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:a,snapToValue:o}}(n,e),u=l.payloadBatch,h=l.snapToValue;u[0]&&null==a.seriesIndex&&t.extend(a,u[0]),!o&&e.snap&&s.containData(h)&&null!=h&&(n=h),i.showPointer(e,n,u,a),i.showTooltip(e,l,h)}else i.showPointer(e,n)}function l(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function u(t,e,i,r){var o=i.payloadBatch,a=e.axis,s=a.model,l=e.axisPointerModel;if(e.triggerTooltip&&o.length){var u=e.coordSys.model,h=n.makeKey(u),c=t.map[h];c||(c=t.map[h]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:a.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:r,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:o.slice()})}}function h(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function c(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}return f6=function(e,n,d){var p=e.currTrigger,f=[e.x,e.y],g=e,v=e.dispatchAction||t.bind(d.dispatchAction,d),m=n.getComponent("axisPointer").coordSysAxesInfo;if(m){c(f)&&(f=i({seriesIndex:g.seriesIndex,dataIndex:g.dataIndex},n).point);var y=c(f),x=g.axesInfo,_=m.axesInfo,b="leave"===p||c(f),w={},S={},M={list:[],map:{}},I={showPointer:o(l,S),showTooltip:o(u,M)};r(m.coordSysMap,(function(t,e){var n=y||t.containPoint(f);r(m.coordSysAxesInfo[e],(function(t,e){var i=t.axis,r=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(x,t);if(!b&&n&&(!x||r)){var o=r&&r.value;null!=o||y||(o=i.pointToData(f)),null!=o&&s(t,o,I,!1,w)}}))}));var T={};return r(_,(function(t,e){var n=t.linkGroup;n&&!S[e]&&r(n.axesInfo,(function(e,i){var r=S[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,h(e),h(t)))),T[t.key]=o}}))})),r(T,(function(t,e){s(_[e],t,I,!0,w)})),function(t,e,n){var i=n.axesInfo=[];r(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}(S,_,w),function(t,e,n,i){if(!c(e)&&t.list.length){var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}else i({type:"hideTip"})}(M,f,e,v),function(e,n,i){var o=i.getZr(),s="axisPointerLastHighlights",l=a(o)[s]||{},u=a(o)[s]={};r(e,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&r(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;u[e]=t}))}));var h=[],c=[];t.each(l,(function(t,e){!u[e]&&c.push(t)})),t.each(u,(function(t,e){!l[e]&&h.push(t)})),c.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,batch:c}),h.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,batch:h})}(_,0,d),w}},f6}var b6,w6,S6,M6,I6,T6={};function C6(){if(b6)return T6;b6=1;var t=bW(),e=yW(),n=(0,AY().makeInner)(),i=t.each;function r(t,e,n){t.handler("leave",null,n)}function o(t,e,n,i){e.handler(t,n,i)}return T6.register=function(a,s,l){if(!e.node){var u=s.getZr();n(u).records||(n(u).records={}),function(e,a){function s(t,r){e.on(t,(function(t){var o=function(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}(a);i(n(e).records,(function(e){e&&r(e,t,o.dispatchAction)})),function(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}(o.pendings,a)}))}n(e).initialized||(n(e).initialized=!0,s("click",t.curry(o,"click")),s("mousemove",t.curry(o,"mousemove")),s("globalout",r))}(u,s),(n(u).records[a]||(n(u).records[a]={})).handler=l}},T6.unregister=function(t,i){if(!e.node){var r=i.getZr();(n(r).records||{})[t]&&(n(r).records[t]=null)}},T6}function A6(){if(I6)return M6;I6=1;var t=bW(),e=zY(),n=zX(),i=_J(),r=GW(),o=_q(),a=(0,AY().makeInner)(),s=t.clone,l=t.bind;function u(){}function h(t,e,i,r){c(a(i).lastProp,r)||(a(i).lastProp=r,e?n.updateProps(i,r,t):(i.stopAnimation(),i.attr(r)))}function c(e,n){if(t.isObject(e)&&t.isObject(n)){var i=!0;return t.each(n,(function(t,n){i=i&&c(e[n],t)})),!!i}return e===n}function d(t,e){t[e.get("label.show")?"show":"hide"]()}function p(t){return{position:t.position.slice(),rotation:t.rotation||0}}function f(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}return u.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(e,i,r,o){var a=i.get("value"),s=i.get("status");if(this._axisModel=e,this._axisPointerModel=i,this._api=r,o||this._lastValue!==a||this._lastStatus!==s){this._lastValue=a,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(u&&u.hide());l&&l.show(),u&&u.show();var c={};this.makeElOption(c,a,e,i,r);var d=c.graphicKey;d!==this._lastGraphicKey&&this.clear(r),this._lastGraphicKey=d;var p=this._moveAnimation=this.determineAnimation(e,i);if(l){var g=t.curry(h,i,p);this.updatePointerEl(l,c,g,i),this.updateLabelEl(l,c,g,i)}else l=this._group=new n.Group,this.createPointerEl(l,c,e,i),this.createLabelEl(l,c,e,i),r.getZr().add(l);f(l,i,!0),this._renderHandle(a)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var n=e.get("animation"),r=t.axis,o="category"===r.type,a=e.get("snap");if(!a&&!o)return!1;if("auto"===n||null==n){var s=this.animationThreshold;if(o&&r.getBandWidth()>s)return!0;if(a){var l=i.getAxisInfo(t).seriesDataCount,u=r.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return!0===n},makeElOption:function(t,e,n,i,r){},createPointerEl:function(t,e,i,r){var o=e.pointer;if(o){var l=a(t).pointerEl=new n[o.type](s(e.pointer));t.add(l)}},createLabelEl:function(t,e,i,r){if(e.label){var o=a(t).labelEl=new n.Rect(s(e.label));t.add(o),d(o,r)}},updatePointerEl:function(t,e,n){var i=a(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,n,i){var r=a(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{shape:e.label.shape,position:e.label.position}),d(r,i))},_renderHandle:function(e){if(!this._dragging&&this.updateHandleTransform){var i,a=this._axisPointerModel,s=this._api.getZr(),u=this._handle,h=a.getModel("handle"),c=a.get("status");if(!h.get("show")||!c||"hide"===c)return u&&s.remove(u),void(this._handle=null);this._handle||(i=!0,u=this._handle=n.createIcon(h.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){r.stop(t.event)},onmousedown:l(this._onHandleDragMove,this,0,0),drift:l(this._onHandleDragMove,this),ondragend:l(this._onHandleDragEnd,this)}),s.add(u)),f(u,a,!1),u.setStyle(h.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var d=h.get("size");t.isArray(d)||(d=[d,d]),u.attr("scale",[d[0]/2,d[1]/2]),o.createOrUpdate(this,"_doDispatchAxisPointer",h.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,i)}},_moveHandleToValue:function(t,e){h(this._axisPointerModel,!e&&this._moveAnimation,this._handle,p(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(p(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(p(i)),a(n).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},_onHandleDragEnd:function(t){if(this._dragging=!1,this._handle){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}},u.prototype.constructor=u,e.enableClassExtend(u),M6=u}var D6,L6,k6,P6,O6,R6,N6,E6,z6,V6,B6,F6,G6,H6,W6,U6,Y6={};function Z6(){if(D6)return Y6;D6=1;var t=bW(),e=zX(),n=eY(),i=ij(),r=$W(),o=zK(),a=gJ();function s(t,e,r,o,a){var s=l(r.get("value"),e.axis,e.ecModel,r.get("seriesDataIndices"),{precision:r.get("label.precision"),formatter:r.get("label.formatter")}),u=r.getModel("label"),h=i.normalizeCssArray(u.get("padding")||0),c=u.getFont(),d=n.getBoundingRect(s,c),p=a.position,f=d.width+h[1]+h[3],g=d.height+h[0]+h[2],v=a.align;"right"===v&&(p[0]-=f),"center"===v&&(p[0]-=f/2);var m=a.verticalAlign;"bottom"===m&&(p[1]-=g),"middle"===m&&(p[1]-=g/2),function(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(p,f,g,o);var y=u.get("backgroundColor");y&&"auto"!==y||(y=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:f,height:g,r:u.get("borderRadius")},position:p.slice(),style:{text:s,textFont:c,textFill:u.getTextColor(),textPosition:"inside",textPadding:h,fill:y,stroke:u.get("borderColor")||"transparent",lineWidth:u.get("borderWidth")||0,shadowBlur:u.get("shadowBlur"),shadowColor:u.get("shadowColor"),shadowOffsetX:u.get("shadowOffsetX"),shadowOffsetY:u.get("shadowOffsetY")},z2:10}}function l(e,n,i,r,a){e=n.scale.parse(e);var s=n.scale.getLabel(e,{precision:a.precision}),l=a.formatter;if(l){var u={value:o.getAxisRawValue(n,e),axisDimension:n.dim,axisIndex:n.index,seriesData:[]};t.each(r,(function(t){var e=i.getSeriesByIndex(t.seriesIndex),n=t.dataIndexInside,r=e&&e.getDataParams(n);r&&u.seriesData.push(r)})),t.isString(l)?s=l.replace("{value}",s):t.isFunction(l)&&(s=l(u))}return s}function u(t,n,i){var o=r.create();return r.rotate(o,o,i.rotation),r.translate(o,o,i.position),e.applyTransform([t.dataToCoord(n),(i.labelOffset||0)+(i.labelDirection||1)*(i.labelMargin||0)],o)}return Y6.buildElStyle=function(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e},Y6.buildLabelElOption=s,Y6.getValueLabel=l,Y6.getTransformedPosition=u,Y6.buildCartesianSingleLabelElOption=function(t,e,n,i,r,o){var l=a.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get("label.margin"),s(e,i,r,o,{position:u(i.axis,t,n),align:l.textAlign,verticalAlign:l.textVerticalAlign})},Y6.makeLineShape=function(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}},Y6.makeRectShape=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},Y6.makeSectorShape=function(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}},Y6}function X6(){if(k6)return L6;k6=1;var t=A6(),e=Z6(),n=MJ(),i=bJ(),r=t.extend({makeElOption:function(t,i,r,s,l){var u=r.axis,h=u.grid,c=s.get("type"),d=o(h,u).getOtherAxis(u).getGlobalExtent(),p=u.toGlobalCoord(u.dataToCoord(i,!0));if(c&&"none"!==c){var f=e.buildElStyle(s),g=a[c](u,p,d);g.style=f,t.graphicKey=g.type,t.pointer=g}var v=n.layout(h.model,r);e.buildCartesianSingleLabelElOption(i,t,v,r,s,l)},getHandleTransform:function(t,i,r){var o=n.layout(i.axis.grid.model,i,{labelInside:!1});return o.labelMargin=r.get("handle.margin"),{position:e.getTransformedPosition(i.axis,t,o),rotation:o.rotation+(o.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,n,i){var r=n.axis,a=r.grid,s=r.getGlobalExtent(!0),l=o(a,r).getOtherAxis(r).getGlobalExtent(),u="x"===r.dim?0:1,h=t.position;h[u]+=e[u],h[u]=Math.min(s[1],h[u]),h[u]=Math.max(s[0],h[u]);var c=(l[1]+l[0])/2,d=[c,c];return d[u]=h[u],{position:h,rotation:t.rotation,cursorPoint:d,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][u]}}});function o(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var a={line:function(t,n,i){return{type:"Line",subPixelOptimize:!0,shape:e.makeLineShape([n,i[0]],[n,i[1]],s(t))}},shadow:function(t,n,i){var r=Math.max(1,t.getBandWidth()),o=i[1]-i[0];return{type:"Rect",shape:e.makeRectShape([n-r/2,i[0]],[r,o],s(t))}}};function s(t){return"x"===t.dim?0:1}return i.registerAxisPointerClass("CartesianAxisPointer",r),L6=r}function j6(){if(P6)return y6;P6=1;var t=s$(),e=bW(),n=_J(),i=_6();return function(){if(m6)return v6;m6=1;var t=s$().extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}});v6=t}(),function(){if(S6)return w6;S6=1;var t=s$(),e=C6(),n=t.extendComponentView({type:"axisPointer",render:function(t,n,i){var r=n.getComponent("tooltip"),o=t.get("triggerOn")||r&&r.get("triggerOn")||"mousemove|click";e.register("axisPointer",i,(function(t,e,n){"none"!==o&&("leave"===t||o.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},remove:function(t,i){e.unregister(i.getZr(),"axisPointer"),n.superApply(this._model,"remove",arguments)},dispose:function(t,i){e.unregister("axisPointer",i),n.superApply(this._model,"dispose",arguments)}});w6=n}(),X6(),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var n=t.axisPointer.link;n&&!e.isArray(n)&&(t.axisPointer.link=[n])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=n.collect(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},i),y6}function q6(){if(N6)return n6;N6=1;var t=s$();return function(){if(Q4)return i6;Q4=1;var t=r6();Oj().register("single",{create:function(e,n){var i=[];return e.eachComponent("singleAxis",(function(r,o){var a=new t(r,e,n);a.name="single_"+o,a.resize(r,n),r.coordinateSystem=a,i.push(a)})),e.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"singleAxis",index:t.get("singleAxisIndex"),id:t.get("singleAxisId")})[0];t.coordinateSystem=n&&n.coordinateSystem}})),i},dimensions:t.prototype.dimensions})}(),function(){if(s6)return a6;s6=1;var t=bW(),e=gJ(),n=zX(),i=c6(),r=bJ(),o=kJ(),a=o.rectCoordAxisBuildSplitArea,s=o.rectCoordAxisHandleRemove,l=["axisLine","axisTickLabel","axisName"],u=["splitArea","splitLine"],h=r.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(r,o,a,s){var c=this.group;c.removeAll();var d=this._axisGroup;this._axisGroup=new n.Group;var p=i.layout(r),f=new e(r,p);t.each(l,f.add,f),c.add(this._axisGroup),c.add(f.getGroup()),t.each(u,(function(t){r.get(t+".show")&&this["_"+t](r)}),this),n.groupTransition(d,this._axisGroup,r),h.superCall(this,"render",r,o,a,s)},remove:function(){s(this)},_splitLine:function(t){var e=t.axis;if(!e.scale.isBlank()){var i=t.getModel("splitLine"),r=i.getModel("lineStyle"),o=r.get("width"),a=r.get("color");a=a instanceof Array?a:[a];for(var s=t.coordinateSystem.getRect(),l=e.isHorizontal(),u=[],h=0,c=e.getTicksCoords({tickModel:i}),d=[],p=[],f=0;f0,I=y.height-(M?-1:1),T=(f-p)/(I||1),C=r.get("clockwise"),A=r.get("stillShowZeroSum"),D=C?1:-1,L=function(n,i){if(n){var r=i;if(n!==m){var o=n.getValue(),a=0===w&&A?S:o*S;a=0?"p":"n",O=S;if(b&&(l[h][k]||(l[h][k]={p:S,n:S}),O=l[h][k][P]),"radius"===f.dim){var R=f.dataToRadius(L)-S,N=a.dataToAngle(k);Math.abs(R)d?d=f:(p.lastTickCount=a,p.lastAutoInterval=d),d}},t.inherits(r,n),D8=r}(),n=function(n){this.name=n||"",this.cx=0,this.cy=0,this._radiusAxis=new t,this._angleAxis=new e,this._radiusAxis.polar=this._angleAxis.polar=this};return n.prototype={type:"polar",axisPointerEnabled:!0,constructor:n,dimensions:["radius","angle"],model:null,containPoint:function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},containData:function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},getAxis:function(t){return this["_"+t+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},dataToPoint:function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},pointToData:function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},pointToCoord:function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,u=la;)l+=360*u;return[s,l]},coordToPoint:function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},getArea:function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,r=n*n+i*i,o=this.r,a=this.r0;return r<=o*o&&r>=a*a}}}},k8=n}var N8,E8,z8,V8,B8,F8,G8,H8,W8,U8,Y8,Z8,X8,j8={};function q8(){if(z8)return E8;z8=1;var t=s$();!function(){if(N8)return j8;N8=1;var t=bW(),e=oj(),n=lJ(),i=VK(),r=e.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});t.merge(r.prototype,i);var o={splitNumber:5};function a(t,e){return e.type||(e.data?"category":"value")}n("angle",r,a,{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}}),n("radius",r,a,o)}();var e=t.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(t){var e;return this.ecModel.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});return E8=e}function K8(){if(V8)return O8;V8=1,cW().__DEV__;var t=bW(),e=R8(),n=YX().parsePercent,i=zK(),r=i.createScaleByModel,o=i.niceScaleExtent,a=Oj(),s=uK().getStackedDimension;function l(e,n){var i=this,r=i.getAngleAxis(),a=i.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),a.scale.setExtent(1/0,-1/0),e.eachSeries((function(e){if(e.coordinateSystem===i){var n=e.getData();t.each(n.mapDimension("radius",!0),(function(t){a.scale.unionExtentFromData(n,s(n,t))})),t.each(n.mapDimension("angle",!0),(function(t){r.scale.unionExtentFromData(n,s(n,t))}))}})),o(r.scale,r.model),o(a.scale,a.model),"category"===r.type&&!r.onBand){var l=r.getExtent(),u=360/r.scale.count();r.inverse?l[1]+=u:l[1]-=u,r.setExtent(l[0],l[1])}}function u(t,e){if(t.type=e.get("type"),t.scale=r(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType){t.inverse^=e.get("clockwise");var n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}q8();var h={dimensions:e.prototype.dimensions,create:function(i,r){var o=[];return i.eachComponent("polar",(function(i,a){var s=new e(a);s.update=l;var h=s.getRadiusAxis(),c=s.getAngleAxis(),d=i.findAxisModel("radiusAxis"),p=i.findAxisModel("angleAxis");u(h,d),u(c,p),function(e,i,r){var o=i.get("center"),a=r.getWidth(),s=r.getHeight();e.cx=n(o[0],a),e.cy=n(o[1],s);var l=e.getRadiusAxis(),u=Math.min(a,s)/2,h=i.get("radius");null==h?h=[0,"100%"]:t.isArray(h)||(h=[0,h]),h=[n(h[0],u),n(h[1],u)],l.inverse?l.setExtent(h[1],h[0]):l.setExtent(h[0],h[1])}(s,i,r),o.push(s),i.coordinateSystem=s,s.model=i})),i.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=i.queryComponents({mainType:"polar",index:t.get("polarIndex"),id:t.get("polarId")})[0];t.coordinateSystem=e.coordinateSystem}})),o}};return a.register("polar",h),O8}var $8,J8,Q8,t7,e7,n7,i7,r7,o7,a7,s7,l7,u7,h7,c7,d7,p7={},f7={},g7={};function v7(){if(h7)return g7;h7=1;var t={};return g7.register=function(e,n){t[e]=n},g7.get=function(e){return t[e]},g7}var m7,y7,x7,_7,b7,w7,S7,M7,I7,T7,C7,A7={};function D7(){if(m7)return A7;m7=1;var t=rj(),e=t.getLayoutRect,n=t.box,i=t.positionElement,r=ij(),o=zX();return A7.layout=function(t,r,o){var a=r.getBoxLayoutParams(),s=r.get("padding"),l={width:o.getWidth(),height:o.getHeight()},u=e(a,l,s);n(r.get("orient"),t,r.get("itemGap"),u.width,u.height),i(t,a,l,s)},A7.makeBackground=function(t,e){var n=r.normalizeCssArray(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new o.Rect({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})},A7}function L7(){if(C7)return T7;C7=1,cW().__DEV__;var t=bW(),e=zX(),n=AY(),i=d3(),r=t.each,o=t.indexOf,a=t.curry,s=["dataToPoint","pointToData"],l=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function u(t,e,n){var i=this._targetInfoList=[],a={},s=d(e,t);r(p,(function(t,e){(!n||!n.include||o(n.include,e)>=0)&&t(s,i,a)}))}var h=u.prototype;function c(t){return t[0]>t[1]&&t.reverse(),t}function d(t,e){return n.parseFinder(t,e,{includeMainTypes:l})}h.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=v[t.brushType](0,n,e);t.__rangeOffset={offset:y[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}}))},h.matchOutputRanges=function(e,n,i){r(e,(function(e){var r=this.findTargetInfo(e,n);r&&!0!==r&&t.each(r.coordSyses,(function(t){var r=v[e.brushType](1,t,e.range);i(e,r.values,t,n)}))}),this)},h.setInputRanges=function(t,e){r(t,(function(t){var n,i,r,o,a,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=v[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?y[t.brushType](l.values,u.offset,(n=l.xyMinMax,i=u.xyMinMax,r=_(n),o=_(i),a=[r[0]/o[0],r[1]/o[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}}),this)},h.makePanelOpts=function(e,n){return t.map(this._targetInfoList,(function(t){var r=t.getPanelRect();return{panelId:t.panelId,defaultBrushType:n&&n(t),clipPath:i.makeRectPanelClipPath(r),isTargetByCursor:i.makeRectIsTargetByCursor(r,e,t.coordSysModel),getLinearBrushOtherExtent:i.makeLinearBrushOtherExtent(r)}}))},h.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&o(i.coordSyses,e.coordinateSystem)>=0},h.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=d(e,t),r=0;r=0||o(a,t.getAxis("y").model)>=0)&&s.push(t)})),n.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:s[0],coordSyses:s,getPanelRect:g.grid,xAxisDeclared:u[t.id],yAxisDeclared:h[t.id]})})))},geo:function(t,e){r(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:g.geo})}))}},f=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],g={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var t=this.coordSys,n=t.getBoundingRect().clone();return n.applyTransform(e.getTransform(t)),n}},v={lineX:a(m,0),lineY:a(m,1),rect:function(t,e,n){var i=e[s[t]]([n[0][0],n[1][0]]),r=e[s[t]]([n[0][1],n[1][1]]),o=[c([i[0],r[0]]),c([i[1],r[1]])];return{values:o,xyMinMax:o}},polygon:function(e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:t.map(i,(function(t){var i=n[s[e]](t);return r[0][0]=Math.min(r[0][0],i[0]),r[1][0]=Math.min(r[1][0],i[1]),r[0][1]=Math.max(r[0][1],i[0]),r[1][1]=Math.max(r[1][1],i[1]),i})),xyMinMax:r}}};function m(e,n,i,r){var o=i.getAxis(["x","y"][e]),a=c(t.map([0,1],(function(t){return n?o.coordToData(o.toLocalCoord(r[t])):o.toGlobalCoord(o.dataToCoord(r[t]))}))),s=[];return s[e]=a,s[1-e]=[NaN,NaN],{values:a,xyMinMax:s}}var y={lineX:a(x,0),lineY:a(x,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(e,n,i){return t.map(e,(function(t,e){return[t[0]-i[0]*n[e][0],t[1]-i[1]*n[e][1]]}))}};function x(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function _(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}return T7=u}var k7,P7={};function O7(){if(k7)return P7;k7=1;var t=bW().each,e="\0_ec_hist_store";function n(t){var n=t[e];return n||(n=t[e]=[{}]),n}return P7.push=function(e,i){var r=n(e);t(i,(function(t,n){for(var i=r.length-1;i>=0&&!r[i][n];i--);if(i<0){var o=e.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(o){var a=o.getPercentRange();r[0][n]={dataZoomId:n,start:a[0],end:a[1]}}}})),r.push(i)},P7.pop=function(e){var i=n(e),r=i[i.length-1];i.length>1&&i.pop();var o={};return t(r,(function(t,e){for(var n=i.length-1;n>=0;n--)if(t=i[n][e]){o[e]=t;break}})),o},P7.clear=function(t){t[e]=null},P7.count=function(t){return n(t).length},P7}var R7,N7={};function E7(){return R7||(R7=1,oj().registerSubTypeDefaulter("dataZoom",(function(){return"slider"}))),N7}var z7,V7,B7,F7,G7,H7,W7,U7,Y7,Z7,X7,j7={};function q7(){if(z7)return j7;z7=1;var t=bW(),e=ij(),n=["cartesian2d","polar","singleAxis"];function i(n,i){n=n.slice();var r=t.map(n,e.capitalFirst);i=(i||[]).slice();var o=t.map(i,e.capitalFirst);return function(e,a){t.each(n,(function(t,n){for(var s={name:t,capital:r[n]},l=0;l=0},j7.createNameEach=i,j7.eachAxisDim=r,j7.createLinkedNodesFinder=function(e,n,i){return function(o){var a,s={nodes:[],records:{}};if(n((function(t){s.records[t.name]={}})),!o)return s;r(o,s);do{a=!1,e(l)}while(a);function l(e){!function(e,n){return t.indexOf(n.nodes,e)>=0}(e,s)&&function(e,r){var o=!1;return n((function(n){t.each(i(e,n)||[],(function(t){r.records[n.name][t]&&(o=!0)}))})),o}(e,s)&&(r(e,s),a=!0)}return s};function r(e,r){r.nodes.push(e),n((function(n){t.each(i(e,n)||[],(function(t){r.records[n.name][t]=!0}))}))}},j7}function K7(){if(B7)return V7;B7=1;var t=bW(),e=YX(),n=q7(),i=W5(),r=t.each,o=e.asc,a=function(t,e,n,i){this._dimName=t,this._axisIndex=e,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=i,this._dataZoomModel=n};function s(t,n){var i=t.getAxisModel(),r=t._percentWindow,o=t._valueWindow;if(r){var a=e.getPixelPrecision(o,[0,500]);a=Math.min(a,20);var s=n||0===r[0]&&100===r[1];i.setRange(s?null:+o[0].toFixed(a),s?null:+o[1].toFixed(a))}}return a.prototype={constructor:a,hostedBy:function(t){return this._dataZoomModel===t},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var t=[],e=this.ecModel;return e.eachSeries((function(i){if(n.isCoordSupported(i.get("coordinateSystem"))){var r=this._dimName,o=e.queryComponents({mainType:r+"Axis",index:i.get(r+"AxisIndex"),id:i.get(r+"AxisId")})[0];this._axisIndex===(o&&o.componentIndex)&&t.push(i)}}),this),t},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var t,e,n,i=this._dimName,r=this.ecModel,o=this.getAxisModel();return"x"===i||"y"===i?(e="gridIndex",t="x"===i?"y":"x"):(e="polarIndex",t="angle"===i?"radius":"angle"),r.eachComponent(t+"Axis",(function(t){(t.get(e)||0)===(o.get(e)||0)&&(n=t)})),n},getMinMaxSpan:function(){return t.clone(this._minMaxSpan)},calculateDataWindow:function(t){var n,a=this._dataExtent,s=this.getAxisModel().axis.scale,l=this._dataZoomModel.getRangePropMode(),u=[0,100],h=[],c=[];r(["start","end"],(function(i,r){var o=t[i],d=t[i+"Value"];"percent"===l[r]?(null==o&&(o=u[r]),d=s.parse(e.linearMap(o,u,a))):(n=!0,d=null==d?a[r]:s.parse(d),o=e.linearMap(d,a,u)),c[r]=d,h[r]=o})),o(c),o(h);var d=this._minMaxSpan;function p(t,n,r,o,a){var l=a?"Span":"ValueSpan";i(0,t,r,"all",d["min"+l],d["max"+l]);for(var u=0;u<2;u++)n[u]=e.linearMap(t[u],r,o,!0),a&&(n[u]=s.parse(n[u]))}return n?p(c,h,a,u,!1):p(h,c,u,a,!0),{valueWindow:c,percentWindow:h}},reset:function(t){if(t===this._dataZoomModel){var n=this.getTargetSeriesModels();this._dataExtent=(o=this,a=this._dimName,l=[1/0,-1/0],r(n,(function(t){var e=t.getData();e&&r(e.mapDimension(a,!0),(function(t){var n=e.getApproximateExtent(t);n[0]l[1]&&(l[1]=n[1])}))})),l[1]0?0:NaN);var a=n.getMax(!0);null!=a&&"dataMax"!==a&&"function"!=typeof a?e[1]=a:r&&(e[1]=o>0?o-1:NaN),n.get("scale",!0)||(e[0]>0&&(e[0]=0),e[1]<0&&(e[1]=0))}(o,l),l),function(t){var n=t._minMaxSpan={},i=t._dataZoomModel,o=t._dataExtent;r(["min","max"],(function(r){var a=i.get(r+"Span"),s=i.get(r+"ValueSpan");null!=s&&(s=t.getAxisModel().axis.scale.parse(s)),null!=s?a=e.linearMap(o[0]+s,o,[0,100],!0):null!=a&&(s=e.linearMap(a,[0,100],o,!0)-o[0]),n[r+"Span"]=a,n[r+"ValueSpan"]=s}))}(this);var i=this.calculateDataWindow(t.settledOption);this._valueWindow=i.valueWindow,this._percentWindow=i.percentWindow,s(this)}var o,a,l},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,s(this,!0))},filterData:function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),o=t.get("filterMode"),a=this._valueWindow;"none"!==o&&r(i,(function(t){var e=t.getData(),i=e.mapDimension(n,!0);i.length&&("weakFilter"===o?e.filterSelf((function(t){for(var n,r,o,s=0;sa[1];if(u&&!h&&!c)return!0;u&&(o=!0),h&&(n=!0),c&&(r=!0)}return o&&n&&r})):r(i,(function(n){if("empty"===o)t.setData(e=e.map(n,(function(t){return function(t){return t>=a[0]&&t<=a[1]}(t)?t:NaN})));else{var i={};i[n]=a,e.selectRange(i)}})),r(i,(function(t){e.setApproximateExtent(a,t)})))}))}}},V7=a}function $7(){if(G7)return F7;G7=1,cW().__DEV__;var t=s$(),e=bW(),n=yW(),i=AY(),r=q7(),o=K7(),a=e.each,s=r.eachAxisDim,l=t.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(t,e,n){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var i=u(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this.doInit(i)},mergeOption:function(t){var n=u(t);e.merge(this.option,t,!0),e.merge(this.settledOption,n,!0),this.doInit(n)},doInit:function(t){var e=this.option;n.canvasSupported||(e.realtime=!1),this._setDefaultThrottle(t),h(this,t);var i=this.settledOption;a([["start","startValue"],["end","endValue"]],(function(t,n){"value"===this._rangePropMode[n]&&(e[t[0]]=i[t[0]]=null)}),this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis((function(e,n,i,r){var a=this.dependentModels[e.axis][n],s=a.__dzAxisProxy||(a.__dzAxisProxy=new o(e.name,n,this,r));t[e.name+"_"+n]=s}),this)},_resetTarget:function(){var t=this.option,e=this._judgeAutoMode();s((function(e){var n=e.axisIndex;t[n]=i.normalizeToArray(t[n])}),this),"axisIndex"===e?this._autoSetAxisIndex():"orient"===e&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,e=!1;s((function(n){null!=t[n.axisIndex]&&(e=!0)}),this);var n=t.orient;return null==n&&e?"orient":e?void 0:(null==n&&(t.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var t=!0,n=this.get("orient",!0),i=this.option,r=this.dependentModels;if(t){var o="vertical"===n?"y":"x";r[o+"Axis"].length?(i[o+"AxisIndex"]=[0],t=!1):a(r.singleAxis,(function(e){t&&e.get("orient",!0)===n&&(i.singleAxisIndex=[e.componentIndex],t=!1)}))}t&&s((function(e){if(t){var n=[],r=this.dependentModels[e.axis];if(r.length&&!n.length)for(var o=0,a=r.length;o0?100:20}},getFirstTargetAxisModel:function(){var t;return s((function(e){if(null==t){var n=this.get(e.axisIndex);n.length&&(t=this.dependentModels[e.axis][n[0]])}}),this),t},eachTargetAxis:function(t,e){var n=this.ecModel;s((function(i){a(this.get(i.axisIndex),(function(r){t.call(e,i,r,this,n)}),this)}),this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){var n=this.getAxisProxy(t,e);return n&&n.getAxisModel()},setRawRange:function(t){var e=this.option,n=this.settledOption;a([["start","startValue"],["end","endValue"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),h(this,t)},setCalculatedRange:function(t){var e=this.option;a(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var e=this._axisProxies;for(var n in e)if(e.hasOwnProperty(n)&&e[n].hostedBy(this))return e[n];for(var n in e)if(e.hasOwnProperty(n)&&!e[n].hostedBy(this))return e[n]},getRangePropMode:function(){return this._rangePropMode.slice()}});function u(t){var e={};return a(["start","end","startValue","endValue","throttle"],(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}function h(t,e){var n=t._rangePropMode,i=t.get("rangeMode");a([["start","startValue"],["end","endValue"]],(function(t,r){var o=null!=e[t[0]],a=null!=e[t[1]];o&&!a?n[r]="percent":!o&&a?n[r]="value":i?n[r]=i[r]:o&&(n[r]="percent")}))}return F7=l}function J7(){if(W7)return H7;W7=1;var t=eq().extend({type:"dataZoom",render:function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},getTargetCoordInfo:function(){var t=this.dataZoomModel,e=this.ecModel,n={};return t.eachTargetAxis((function(t,i){var r=e.getComponent(t.axis,i);if(r){var o=r.getCoordSysModel();o&&function(t,e,n,i){for(var r,o=0;oe[0][1]&&(e[0][1]=o[0]),o[1]e[1][1]&&(e[1][1]=o[1])}return e&&v(e)}};function v(t){return new n(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}return P9.layoutCovers=c,P9}var E9,z9,V9,B9,F9,G9,H9,W9,U9,Y9,Z9,X9,j9,q9,K9,$9,J9,Q9,ttt,ett,ntt={},itt={},rtt={},ott={},att={};function stt(){if(K9)return q9;K9=1;var t=eq().extend({type:"timeline"});return q9=t}var ltt,utt,htt,ctt,dtt={};function ptt(){if(utt)return ltt;utt=1,cW().__DEV__;var t=s$(),e=bW(),n=yW(),i=AY(),r=ij(),o=Hj(),a=r.addCommas,s=r.encodeHTML;function l(t){i.defaultEmphasis(t,"label",["show"])}var u=t.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},isAnimationEnabled:function(){if(n.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},mergeOption:function(t,e){this._mergeOption(t,e,!1,!1)},_mergeOption:function(t,n,i,r){var o=this.constructor,a=this.mainType+"Model";i||n.eachSeries((function(t){var i=t.get(this.mainType,!0),s=t[a];i&&i.data?(s?s._mergeOption(i,n,!0):(r&&l(i),e.each(i.data,(function(t){t instanceof Array?(l(t[0]),l(t[1])):l(t)})),s=new o(i,this,n),e.extend(s,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),s.__hostSeries=t),t[a]=s):t[a]=null}),this)},formatTooltip:function(t,n,i,r){var o=this.getData(),l=this.getRawValue(t),u=e.isArray(l)?e.map(l,a).join(", "):a(l),h=o.getName(t),c=s(this.name);return(null!=l||h)&&(c+="html"===r?"
":"\n"),h&&(c+=s(h),null!=l&&(c+=" : ")),null!=l&&(c+=s(u)),c},getData:function(){return this._data},setData:function(t){this._data=t}});return e.mixin(u,o),ltt=u}var ftt,gtt,vtt,mtt,ytt,xtt,_tt={};function btt(){if(ftt)return _tt;ftt=1;var t=bW(),e=YX(),n=uK().isDimensionStacked,i=t.indexOf;function r(t,i,r,o,a,s){var u=[],h=n(i,o)?i.getCalculationInfo("stackResultDimension"):o,c=l(i,h,t),d=i.indicesOfNearest(h,c)[0];u[a]=i.get(r,d),u[s]=i.get(h,d);var p=i.get(o,d),f=e.getPrecision(i.get(o,d));return(f=Math.min(f,20))>=0&&(u[s]=+u[s].toFixed(f)),[u,p]}var o=t.curry,a={min:o(r,"min"),max:o(r,"max"),average:o(r,"average")};function s(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData(),i=n.dimensions;e=n.getDimension(e);for(var r=0;r=0},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}});return Ptt=a}var Btt,Ftt,Gtt,Htt,Wtt,Utt,Ytt,Ztt,Xtt,jtt,qtt={};function Ktt(){if(Gtt)return Ftt;Gtt=1,cW().__DEV__;var t=s$(),e=bW(),n=HK().createSymbol,i=zX(),r=D7().makeBackground,o=rj(),a=e.curry,s=e.each,l=i.Group,u=t.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new l),this._backgroundEl,this.group.add(this._selectorGroup=new l),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(t,n,i){var a=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var s=t.get("align"),l=t.get("orient");s&&"auto"!==s||(s="right"===t.get("left")&&"vertical"===l?"right":"left");var u=t.get("selector",!0),h=t.get("selectorPosition",!0);!u||h&&"auto"!==h||(h="horizontal"===l?"end":"start"),this.renderInner(s,t,n,i,u,l,h);var c=t.getBoxLayoutParams(),d={width:i.getWidth(),height:i.getHeight()},p=t.get("padding"),f=o.getLayoutRect(c,d,p),g=this.layoutInner(t,s,f,a,u,h),v=o.getLayoutRect(e.defaults({width:g.width,height:g.height},c),d,p);this.group.attr("position",[v.x-g.x,v.y-g.y]),this.group.add(this._backgroundEl=r(g,t))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(t,n,i,r,o,u,h){var f=this.getContentGroup(),g=e.createHashMap(),v=n.get("selectedMode"),m=[];i.eachRawSeries((function(t){!t.get("legendHoverLink")&&m.push(t.id)})),s(n.getData(),(function(e,o){var s=e.get("name");if(this.newlineDisabled||""!==s&&"\n"!==s){var u=i.getSeriesByName(s)[0];if(!g.get(s))if(u){var h=u.getData(),y=h.getVisual("color"),x=h.getVisual("borderColor");"function"==typeof y&&(y=y(u.getDataParams(0))),"function"==typeof x&&(x=x(u.getDataParams(0)));var _=h.getVisual("legendSymbol")||"roundRect",b=h.getVisual("symbol");this._createItem(s,o,e,n,_,b,t,y,x,v).on("click",a(c,s,null,r,m)).on("mouseover",a(d,u.name,null,r,m)).on("mouseout",a(p,u.name,null,r,m)),g.set(s,!0)}else i.eachRawSeries((function(i){if(!g.get(s)&&i.legendVisualProvider){var l=i.legendVisualProvider;if(!l.containName(s))return;var u=l.indexOfName(s),h=l.getItemVisual(u,"color"),f=l.getItemVisual(u,"borderColor");this._createItem(s,o,e,n,"roundRect",null,t,h,f,v).on("click",a(c,null,s,r,m)).on("mouseover",a(d,null,s,r,m)).on("mouseout",a(p,null,s,r,m)),g.set(s,!0)}}),this)}else f.add(new l({newline:!0}))}),this),o&&this._createSelector(o,n,r,u,h)},_createSelector:function(t,e,n,r,o){var a=this.getSelectorGroup();s(t,(function(t){!function(t){var r=t.type,o=new i.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===r?"legendAllSelect":"legendInverseSelect"})}});a.add(o);var s=e.getModel("selectorLabel"),l=e.getModel("emphasis.selectorLabel");i.setLabelStyle(o.style,o.hoverStyle={},s,l,{defaultText:t.title,isRectText:!1}),i.setHoverStyle(o)}(t)}))},_createItem:function(t,r,o,a,s,u,c,d,p,f){var g=a.get("itemWidth"),v=a.get("itemHeight"),m=a.get("inactiveColor"),y=a.get("inactiveBorderColor"),x=a.get("symbolKeepAspect"),_=a.getModel("itemStyle"),b=a.isSelected(t),w=new l,S=o.getModel("textStyle"),M=o.get("icon"),I=o.getModel("tooltip"),T=I.parentModel,C=n(s=M||s,0,0,g,v,b?d:m,null==x||x);if(w.add(h(C,s,_,p,y,b)),!M&&u&&(u!==s||"none"===u)){var A=.8*v;"none"===u&&(u="circle");var D=n(u,(g-A)/2,(v-A)/2,A,A,b?d:m,null==x||x);w.add(h(D,u,_,p,y,b))}var L="left"===c?g+5:-5,k=c,P=a.get("formatter"),O=t;"string"==typeof P&&P?O=P.replace("{name}",null!=t?t:""):"function"==typeof P&&(O=P(t)),w.add(new i.Text({style:i.setTextStyle({},S,{text:O,x:L,y:v/2,textFill:b?S.getTextColor():m,textAlign:k,textVerticalAlign:"middle"})}));var R=new i.Rect({shape:w.getBoundingRect(),invisible:!0,tooltip:I.get("show")?e.extend({content:t,formatter:T.get("formatter",!0)||function(){return t},formatterParams:{componentType:"legend",legendIndex:a.componentIndex,name:t,$vars:["name"]}},I.option):null});return w.add(R),w.eachChild((function(t){t.silent=!0})),R.silent=!f,this.getContentGroup().add(w),i.setHoverStyle(w),w.__legendDataIndex=r,w},layoutInner:function(t,e,n,i,r,a){var s=this.getContentGroup(),l=this.getSelectorGroup();o.box(t.get("orient"),s,t.get("itemGap"),n.width,n.height);var u=s.getBoundingRect(),h=[-u.x,-u.y];if(r){o.box("horizontal",l,t.get("selectorItemGap",!0));var c=l.getBoundingRect(),d=[-c.x,-c.y],p=t.get("selectorButtonGap",!0),f=t.getOrient().index,g=0===f?"width":"height",v=0===f?"height":"width",m=0===f?"y":"x";"end"===a?d[f]+=u[g]+p:h[f]+=c[g]+p,d[1-f]+=u[v]/2-c[v]/2,l.attr("position",d),s.attr("position",h);var y={x:0,y:0};return y[g]=u[g]+p+c[g],y[v]=Math.max(u[v],c[v]),y[m]=Math.min(0,c[m]+d[1-f]),y}return s.attr("position",h),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function h(t,e,n,i,r,o){var a;return"line"!==e&&e.indexOf("empty")<0?(a=n.getItemStyle(),t.style.stroke=i,o||(a.stroke=r)):a=n.getItemStyle(["borderWidth","borderColor"]),t.setStyle(a)}function c(t,e,n,i){p(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),d(t,e,n,i)}function d(t,e,n,i){var r=n.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function p(t,e,n,i){var r=n.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}return Ftt=u}function $tt(){return Wtt||(Wtt=1,Htt=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var n=0;n0&&e%m)v+=g;else{var n=null==t||isNaN(t)||""===t,i=n?0:u(t,s,c,!0);n&&!h&&e?(p.push([p[p.length-1][0],0]),f.push([f[f.length-1][0],0])):!n&&h&&(p.push([v,0]),f.push([v,0])),p.push([v,i]),f.push([v,i]),v+=g,h=n}}));var y=this.dataZoomModel;this._displayables.barGroup.add(new n.Polygon({shape:{points:p},style:t.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new n.Polyline({shape:{points:f},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var e=this.dataZoomModel,n=e.get("showDataShadow");if(!1!==n){var i,r=this.ecModel;return e.eachTargetAxis((function(o,a){var s=e.getAxisProxy(o.name,a).getTargetSeriesModels();t.each(s,(function(e){if(!(i||!0!==n&&t.indexOf(g,e.get("type"))<0)){var s,l=r.getComponent(o.axis,a).axis,u={x:"y",y:"x",radius:"angle",angle:"radius"}[o.name],h=e.coordinateSystem;null!=u&&h.getOtherAxis&&(s=h.getOtherAxis(l).inverse),u=e.getData().mapDimension(u),i={thisAxis:l,series:e,thisDim:o.name,otherDim:u,otherAxisInverse:s}}}),this)}),this),i}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],i=t.handleLabels=[],r=this._displayables.barGroup,a=this._size,s=this.dataZoomModel;r.add(t.filler=new l({draggable:!0,cursor:m(this._orient),drift:c(this._onDragMove,this,"all"),ondragstart:c(this._showDataInfo,this,!0),ondragend:c(this._onDragEnd,this),onmouseover:c(this._showDataInfo,this,!0),onmouseout:c(this._showDataInfo,this,!1),style:{fill:s.get("fillerColor"),textPosition:"inside"}})),r.add(new l({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:a[0],height:a[1]},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),d([0,1],(function(t){var a=n.createIcon(s.get("handleIcon"),{cursor:m(this._orient),draggable:!0,drift:c(this._onDragMove,this,t),ondragend:c(this._onDragEnd,this),onmouseover:c(this._showDataInfo,this,!0),onmouseout:c(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),l=a.getBoundingRect();this._handleHeight=o.parsePercent(s.get("handleSize"),this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,a.setStyle(s.getModel("handleStyle").getItemStyle());var u=s.get("handleColor");null!=u&&(a.style.fill=u),r.add(e[t]=a);var h=s.textStyleModel;this.group.add(i[t]=new n.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:h.getTextColor(),textFont:h.getFont()},z2:10}))}),this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[u(t[0],[0,100],e,!0),u(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];s(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?u(o.minSpan,a,r,!0):null,null!=o.maxSpan?u(o.maxSpan,a,r,!0):null);var l=this._range,c=this._range=h([u(i[0],r,a,!0),u(i[1],r,a,!0)]);return!l||l[0]!==c[0]||l[1]!==c[1]},_updateView:function(t){var e=this._displayables,n=this._handleEnds,i=h(n.slice()),r=this._size;d([0,1],(function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scale:[o/2,o/2],position:[n[t],r[1]/2-o/2]})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){var e=this.dataZoomModel,i=this._displayables,r=i.handleLabels,o=this._orient,a=["",""];if(e.get("showDetail")){var s=e.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,c=t?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();a=[this._formatLabel(c[0],l),this._formatLabel(c[1],l)]}}var d=h(this._handleEnds.slice());function f(t){var e=n.getTransform(i.handles[t].parent,this.group),s=n.transformDirection(0===t?"right":"left",e),l=this._handleWidth/2+5,u=n.applyTransform([d[t]+(0===t?-l:l),this._size[1]/2],e);r[t].setStyle({x:u[0],y:u[1],textVerticalAlign:o===p?"middle":s,textAlign:o===p?s:"center",text:a[t]})}f.call(this,0),f.call(this,1)},_formatLabel:function(e,n){var i=this.dataZoomModel,r=i.get("labelFormatter"),o=i.get("labelPrecision");null!=o&&"auto"!==o||(o=n.getPixelPrecision());var a=null==e||isNaN(e)?"":"category"===n.type||"time"===n.type?n.scale.getLabel(Math.round(e)):e.toFixed(Math.min(o,20));return t.isFunction(r)?r(e,a):t.isString(r)?r.replace("{value}",a):a},_showDataInfo:function(t){t=this._dragging||t;var e=this._displayables.handleLabels;e[0].attr("invisible",!t),e[1].attr("invisible",!t)},_onDragMove:function(t,i,r,o){this._dragging=!0,e.stop(o.event);var a=this._displayables.barGroup.getLocalTransform(),s=n.applyTransform([i,r],a,!0),l=this._updateInterval(t,s[0]),u=this.dataZoomModel.get("realtime");this._updateView(!u),l&&u&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size,n=this._displayables.barGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>e[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_findCoordRect:function(){var t;if(d(this.getTargetCoordInfo(),(function(e){if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}})),!t){var e=this.api.getWidth(),n=this.api.getHeight();t={x:.2*e,y:.2*n,width:.6*e,height:.6*n}}return t}});function m(t){return"vertical"===t?"ns-resize":"ew-resize"}iet=v}(),e9(),h9()),set}var het,cet,det,pet,fet,get,vet,met={},yet={};function xet(){if(det)return yet;det=1;var t=bW(),e=T0(),n=_q(),i="\0_ec_dataZoom_roams";function r(t){var e=t.getZr();return e[i]||(e[i]={})}function o(e){t.each(e,(function(t,n){t.count||(t.controller.dispose(),delete e[n])}))}function a(t,e){t.dispatchAction({type:"dataZoom",batch:e})}return yet.register=function(i,s){var l=r(i),u=s.dataZoomId,h=s.coordId;t.each(l,(function(e,n){var i=e.dataZoomInfos;i[u]&&t.indexOf(s.allCoordIds,h)<0&&(delete i[u],e.count--)})),o(l);var c=l[h];c||((c=l[h]={coordId:h,dataZoomInfos:{},count:0}).controller=function(n,i){var r=new e(n.getZr());return t.each(["pan","zoom","scrollMove"],(function(e){r.on(e,(function(n){var r=[];t.each(i.dataZoomInfos,(function(t){if(n.isAvailableBehavior(t.dataZoomModel.option)){var o=(t.getRange||{})[e],a=o&&o(i.controller,n);!t.dataZoomModel.get("disabled",!0)&&a&&r.push({dataZoomId:t.dataZoomId,start:a[0],end:a[1]})}})),r.length&&i.dispatchAction(r)}))})),r}(i,c),c.dispatchAction=t.curry(a,i)),!c.dataZoomInfos[u]&&c.count++,c.dataZoomInfos[u]=s;var d,p,f,g,v,m=(d=c.dataZoomInfos,f="type_",g={type_true:2,type_move:1,type_false:0,type_undefined:-1},v=!0,t.each(d,(function(t){var e=t.dataZoomModel,n=!e.get("disabled",!0)&&(!e.get("zoomLock",!0)||"move");g[f+n]>g[f+p]&&(p=n),v&=e.get("preventDefaultMouseMove",!0)})),{controlType:p,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!v}});c.controller.enable(m.controlType,m.opt),c.controller.setPointerChecker(s.containsPoint),n.createOrUpdate(c,"dispatchAction",s.dataZoomModel.get("throttle",!0),"fixRate")},yet.unregister=function(e,n){var i=r(e);t.each(i,(function(t){t.controller.dispose();var e=t.dataZoomInfos;e[n]&&(delete e[n],t.count--)})),o(i)},yet.generateCoordId=function(t){return t.type+"\0_"+t.id},yet}function _et(){return get||(get=1,E7(),$7(),J7(),function(){if(cet)return het;cet=1;var t=$7().extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});het=t}(),function(){if(fet)return pet;fet=1;var t=bW(),e=J7(),n=W5(),i=xet(),r=t.bind,o=e.extend({type:"dataZoom.inside",init:function(t,e){this._range},render:function(e,n,s,l){o.superApply(this,"render",arguments),this._range=e.getPercentRange(),t.each(this.getTargetCoordInfo(),(function(n,o){var l=t.map(n,(function(t){return i.generateCoordId(t.model)}));t.each(n,(function(n){var u=n.model,h={};t.each(["pan","zoom","scrollMove"],(function(t){h[t]=r(a[t],this,n,o)}),this),i.register(s,{coordId:i.generateCoordId(u),allCoordIds:l,containsPoint:function(t,e,n){return u.coordinateSystem.containPoint([e,n])},dataZoomId:e.id,dataZoomModel:e,getRange:h})}),this)}),this)},dispose:function(){i.unregister(this.api,this.dataZoomModel.id),o.superApply(this,"dispose",arguments),this._range=null}}),a={zoom:function(t,e,i,r){var o=this._range,a=o.slice(),s=t.axisModels[0];if(s){var u=l[e](null,[r.originX,r.originY],s,i,t),h=(u.signal>0?u.pixelStart+u.pixelLength-u.pixel:u.pixel-u.pixelStart)/u.pixelLength*(a[1]-a[0])+a[0],c=Math.max(1/r.scale,0);a[0]=(a[0]-h)*c+h,a[1]=(a[1]-h)*c+h;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return n(0,a,[0,100],0,d.minSpan,d.maxSpan),this._range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}},pan:s((function(t,e,n,i,r,o){var a=l[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:s((function(t,e,n,i,r,o){return l[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta}))};function s(t){return function(e,i,r,o){var a=this._range,s=a.slice(),l=e.axisModels[0];if(l){var u=t(s,l,e,i,r,o);return n(u,s,[0,100],"all"),this._range=s,a[0]!==s[0]||a[1]!==s[1]?s:void 0}}}var l={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}};pet=o}(),e9(),h9()),met}var bet,wet,Set={};function Met(){if(wet)return bet;wet=1;var t=bW(),e=t.each;function n(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}return bet=function(i){var r=i&&i.visualMap;t.isArray(r)||(r=r?[r]:[]),e(r,(function(i){if(i){n(i,"splitList")&&!n(i,"pieces")&&(i.pieces=i.splitList,delete i.splitList);var r=i.pieces;r&&t.isArray(r)&&e(r,(function(e){t.isObject(e)&&(n(e,"start")&&!n(e,"min")&&(e.min=e.start),n(e,"end")&&!n(e,"max")&&(e.max=e.end))}))}}))},bet}var Iet,Tet={};function Cet(){return Iet||(Iet=1,oj().registerSubTypeDefaulter("visualMap",(function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"}))),Tet}var Aet,Det,Let,ket,Pet,Oet,Ret,Net,Eet,zet={};function Vet(){if(Aet)return zet;Aet=1;var t=s$(),e=bW(),n=R9(),i=t2(),r=t.PRIORITY.VISUAL.COMPONENT;function o(t,e,n,r){for(var o=e.targetVisuals[r],a=i.prepareVisualTypes(o),s={color:t.getData().getVisual("color")},l=0,u=a.length;l"],e.isArray(t)&&(t=t.slice(),r=!0),o=n?t:r?[h(t[0]),h(t[1])]:h(t),e.isString(u)?u.replace("{value}",r?o[0]:o).replace("{value2}",r?o[1]:o):e.isFunction(u)?r?u(t[0],t[1]):u(t):r?t[0]===l[0]?i[0]+" "+o[1]:t[1]===l[1]?i[1]+" "+o[0]:o[0]+" - "+o[1]:o;function h(t){return t===l[0]?"min":t===l[1]?"max":(+t).toFixed(Math.min(s,20))}},resetExtent:function(){var t=this.option,e=d([t.min,t.max]);this._dataExtent=e},getDataDimension:function(t){var e=this.option.dimension,n=t.dimensions;if(null!=e||n.length){if(null!=e)return t.getDimension(e);for(var i=t.dimensions,r=i.length-1;r>=0;r--){var o=i[r];if(!t.getDimensionInfo(o).isCalculationCoord)return o}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var t=this.ecModel,n=this.option,o={inRange:n.inRange,outOfRange:n.outOfRange},a=n.target||(n.target={}),s=n.controller||(n.controller={});e.merge(a,o),e.merge(s,o);var d=this.isCategory();function f(r){h(n.color)&&!r.inRange&&(r.inRange={color:n.color.slice().reverse()}),r.inRange=r.inRange||{color:t.get("gradientColor")},c(this.stateList,(function(t){var n=r[t];if(e.isString(n)){var o=i.get(n,"active",d);o?(r[t]={},r[t][n]=o):delete r[t]}}),this)}f.call(this,a),f.call(this,s),function(t,e,n){var o=t[e],a=t[n];o&&!a&&(a=t[n]={},c(o,(function(t,e){if(r.isValidType(e)){var n=i.get(e,"inactive",d);null!=n&&(a[e]=n,"color"!==e||a.hasOwnProperty("opacity")||a.hasOwnProperty("colorAlpha")||(a.opacity=[0,0]))}})))}.call(this,a,"inRange","outOfRange"),function(t){var n=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,i=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,r=this.get("inactiveColor");c(this.stateList,(function(o){var a=this.itemSize,s=t[o];s||(s=t[o]={color:d?r:[r]}),null==s.symbol&&(s.symbol=n&&e.clone(n)||(d?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=i&&e.clone(i)||(d?a[0]:[a[0],a[0]])),s.symbol=l(s.symbol,(function(t){return"none"===t||"square"===t?"roundRect":t}));var h=s.symbolSize;if(null!=h){var c=-1/0;u(h,(function(t){t>c&&(c=t)})),s.symbolSize=l(h,(function(t){return p(t,[0,c],[0,a[0]],!0)}))}}),this)}.call(this,s)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:f,getValueState:f,getVisualMeta:f});return ket=g}function Get(){if(Eet)return Net;Eet=1;var t=s$(),e=bW(),n=zX(),i=ij(),r=rj(),o=t2(),a=t.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(t,e){this.ecModel=t,this.api=e,this.visualMapModel},render:function(t,e,n,i){this.visualMapModel=t,!1!==t.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(t){var e=this.visualMapModel,r=i.normalizeCssArray(e.get("padding")||0),o=t.getBoundingRect();t.add(new n.Rect({z2:-1,silent:!0,shape:{x:o.x-r[3],y:o.y-r[0],width:o.width+r[3]+r[1],height:o.height+r[0]+r[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},getControllerVisual:function(t,n,i){var r=(i=i||{}).forceState,a=this.visualMapModel,s={};if("symbol"===n&&(s.symbol=a.get("itemSymbol")),"color"===n){var l=a.get("contentColor");s.color=l}function u(t){return s[t]}function h(t,e){s[t]=e}var c=a.controllerVisuals[r||a.getValueState(t)],d=o.prepareVisualTypes(c);return e.each(d,(function(e){var r=c[e];i.convertOpacityToAlpha&&"opacity"===e&&(e="colorAlpha",r=c.__alphaForOpacity),o.dependsOn(e,n)&&r&&r.applyVisual(t,u,h)})),s[n]},positionGroup:function(t){var e=this.visualMapModel,n=this.api;r.positionElement(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:e.noop});return Net=a}var Het,Wet,Uet,Yet={};function Zet(){if(Het)return Yet;Het=1;var t=bW(),e=rj().getLayoutRect;return Yet.getItemAlign=function(t,n,i){var r=t.option,o=r.align;if(null!=o&&"auto"!==o)return o;for(var a={width:n.getWidth(),height:n.getHeight()},s="horizontal"===r.orient?1:0,l=[["left","right","width"],["top","bottom","height"]],u=l[s],h=[0,null,10],c={},d=0;d<3;d++)c[l[1-s][d]]=h[d],c[u[d]]=2===d?i[0]:r[u[d]];var p=[["x","width",3],["y","height",0]][s],f=e(c,a,r.padding);return u[(f.margin[p[2]]||0)+f[p[0]]+.5*f[p[1]]<.5*a[p[1]]?0:1]},Yet.makeHighDownBatch=function(e,n){return t.each(e||[],(function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(n?n.componentIndex:"")})),e},Yet}function Xet(){if(Uet)return Wet;Uet=1;var t=bW(),e=NX(),n=GW(),i=Get(),r=zX(),o=YX(),a=W5(),s=Zet(),l=AY(),u=o.linearMap,h=t.each,c=Math.min,d=Math.max,p=i.extend({type:"visualMap.continuous",init:function(){p.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(t,e,n,i){i&&"selectDataRange"===i.type&&i.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var n=t.get("text");this._renderEndsText(e,n,0),this._renderEndsText(e,n,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},_renderEndsText:function(t,e,n){if(e){var i=e[1-n];i=null!=i?i+"":"";var o=this.visualMapModel,a=o.get("textGap"),s=o.itemSize,l=this._shapes.barGroup,u=this._applyTransform([s[0]/2,0===n?-a:s[1]+a],l),h=this._applyTransform(0===n?"bottom":"top",l),c=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new r.Text({style:{x:u[0],y:u[1],textVerticalAlign:"horizontal"===c?"middle":h,textAlign:"horizontal"===c?h:"center",text:i,textFont:d.getFont(),textFill:d.getTextColor()}}))}},_renderBar:function(e){var n=this.visualMapModel,i=this._shapes,r=n.itemSize,o=this._orient,a=this._useHandle,l=s.getItemAlign(n,this.api,r),u=i.barGroup=this._createBarGroup(l);u.add(i.outOfRange=f()),u.add(i.inRange=f(null,a?v(this._orient):null,t.bind(this._dragHandle,this,"all",!1),t.bind(this._dragHandle,this,"all",!0)));var h=n.textStyleModel.getTextRect("国"),c=d(h.width,h.height);a&&(i.handleThumbs=[],i.handleLabels=[],i.handleLabelPoints=[],this._createHandle(u,0,r,c,o,l),this._createHandle(u,1,r,c,o,l)),this._createIndicator(u,r,c,o),e.add(u)},_createHandle:function(e,i,o,a,s){var l=t.bind(this._dragHandle,this,i,!1),u=t.bind(this._dragHandle,this,i,!0),h=f(function(t,e){return 0===t?[[0,0],[e,0],[e,-e]]:[[0,0],[e,0],[e,e]]}(i,a),v(this._orient),l,u);h.position[0]=o[0],e.add(h);var c=this.visualMapModel.textStyleModel,d=new r.Text({draggable:!0,drift:l,onmousemove:function(t){n.stop(t.event)},ondragend:u,style:{x:0,y:0,text:"",textFont:c.getFont(),textFill:c.getTextColor()}});this.group.add(d);var p=["horizontal"===s?a/2:1.5*a,"horizontal"===s?0===i?-1.5*a:1.5*a:0===i?-a/2:a/2],g=this._shapes;g.handleThumbs[i]=h,g.handleLabelPoints[i]=p,g.handleLabels[i]=d},_createIndicator:function(t,e,n,i){var o=f([[0,0]],"move");o.position[0]=e[0],o.attr({invisible:!0,silent:!0}),t.add(o);var a=this.visualMapModel.textStyleModel,s=new r.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:a.getFont(),textFill:a.getTextColor()}});this.group.add(s);var l=["horizontal"===i?n/2:9,0],u=this._shapes;u.indicator=o,u.indicatorLabel=s,u.indicatorLabelPoint=l},_dragHandle:function(t,e,n,i){if(this._useHandle){if(this._dragging=!e,!e){var r=this._applyTransform([n,i],this._shapes.barGroup,!0);this._updateInterval(t,r[1]),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():g(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},_resetInterval:function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),i=[0,t.itemSize[1]];this._handleEnds=[u(e[0],n,i,!0),u(e[1],n,i,!0)]},_updateInterval:function(t,e){e=e||0;var n=this.visualMapModel,i=this._handleEnds,r=[0,n.itemSize[1]];a(e,i,r,t,0);var o=n.getExtent();this._dataInterval=[u(i[0],r,o,!0),u(i[1],r,o,!0)]},_updateView:function(t){var e=this.visualMapModel,n=e.getExtent(),i=this._shapes,r=[0,e.itemSize[1]],o=t?r:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,o,"inRange"),s=this._createBarVisual(n,n,r,"outOfRange");i.inRange.setStyle({fill:a.barColor,opacity:a.opacity}).setShape("points",a.barPoints),i.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(o,a)},_createBarVisual:function(t,n,i,r){var o={forceState:r,convertOpacityToAlpha:!0},a=this._makeColorGradient(t,o),s=[this.getControllerVisual(t[0],"symbolSize",o),this.getControllerVisual(t[1],"symbolSize",o)],l=this._createBarPoints(i,s);return{barColor:new e(0,0,0,1,a),barPoints:l,handlesColor:[a[0].color,a[a.length-1].color]}},_makeColorGradient:function(t,e){var n=[],i=(t[1]-t[0])/100;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var r=1;r<100;r++){var o=t[0]+i*r;if(o>t[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},_createBarPoints:function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new r.Group("horizontal"!==e||n?"horizontal"===e&&n?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||n?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:"bottom"===t?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,o=n.handleThumbs,a=n.handleLabels;h([0,1],(function(s){var l=o[s];l.setStyle("fill",e.handlesColor[s]),l.position[1]=t[s];var u=r.applyTransform(n.handleLabelPoints[s],r.getTransform(l,this.group));a[s].setStyle({x:u[0],y:u[1],text:i.formatValueText(this._dataInterval[s]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===s?"bottom":"top":"left",n.barGroup)})}),this)}},_showIndicator:function(t,e,n,i){var o=this.visualMapModel,a=o.getExtent(),s=o.itemSize,l=[0,s[1]],h=u(t,a,l,!0),p=this._shapes,f=p.indicator;if(f){f.position[1]=h,f.attr("invisible",!1),f.setShape("points",function(t,e,n,i){return t?[[0,-c(e,d(n,0))],[6,0],[0,c(e,d(i-n,0))]]:[[0,0],[5,-5],[5,5]]}(!!n,i,h,s[1]));var g=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0});f.setStyle("fill",g);var v=r.applyTransform(p.indicatorLabelPoint,r.getTransform(f,this.group)),m=p.indicatorLabel;m.attr("invisible",!1);var y=this._applyTransform("left",p.barGroup),x=this._orient;m.setStyle({text:(n||"")+o.formatValueText(e),textVerticalAlign:"horizontal"===x?y:"middle",textAlign:"horizontal"===x?"center":y,x:v[0],y:v[1]})}},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on("mousemove",(function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,i=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0);i[1]=c(d(0,i[1]),n[1]),t._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[0])}})).on("mouseout",(function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(t,e){var n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var r=[0,i[1]],o=n.getExtent();t=c(d(r[0],t),r[1]);var a=function(t,e,n){var i=6,r=t.get("hoverLinkDataSize");return r&&(i=u(r,e,n,!0)/2),i}(n,o,r),h=[t-a,t+a],p=u(t,r,o,!0),f=[u(h[0],r,o,!0),u(h[1],r,o,!0)];h[0]r[1]&&(f[1]=1/0),e&&(f[0]===-1/0?this._showIndicator(p,f[1],"< ",a):f[1]===1/0?this._showIndicator(p,f[0],"> ",a):this._showIndicator(p,p,"≈ ",a));var v=this._hoverLinkDataIndices,m=[];(e||g(n))&&(m=this._hoverLinkDataIndices=n.findTargetDataIndices(f));var y=l.compressBatches(v,m);this._dispatchHighDown("downplay",s.makeHighDownBatch(y[0],n)),this._dispatchHighDown("highlight",s.makeHighDownBatch(y[1],n))}},_hoverLinkFromSeriesMouseOver:function(t){var e=t.target,n=this.visualMapModel;if(e&&null!=e.dataIndex){var i=this.ecModel.getSeriesByIndex(e.seriesIndex);if(n.isTargetSeries(i)){var r=i.getData(e.dataType),o=r.get(n.getDataDimension(r),e.dataIndex,!0);isNaN(o)||this._showIndicator(o,o)}}},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",s.makeHighDownBatch(t,this.visualMapModel)),t.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},_applyTransform:function(e,n,i,o){var a=r.getTransform(n,o?null:this.group);return r[t.isArray(e)?"applyTransform":"transformDirection"](e,a,i)},_dispatchHighDown:function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function f(t,e,i,o){return new r.Polygon({shape:{points:t},draggable:!!i,cursor:e,drift:i,onmousemove:function(t){n.stop(t.event)},ondragend:o})}function g(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function v(t){return"vertical"===t?"ns-resize":"ew-resize"}return Wet=p}var jet,qet,Ket={};function $et(){return jet||(jet=1,s$().registerAction({type:"selectDataRange",event:"dataRangeSelected",update:"update"},(function(t,e){e.eachComponent({mainType:"visualMap",query:t},(function(e){e.setSelected(t.selected)}))}))),Ket}function Jet(){if(qet)return Set;qet=1;var t=s$(),e=Met();return Cet(),Vet(),function(){if(Ret)return Oet;Ret=1;var t=bW(),e=Fet(),n=YX(),i=[20,140],r=e.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(t,e){r.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},resetItemSize:function(){r.superApply(this,"resetItemSize",arguments);var t=this.itemSize;"horizontal"===this._orient&&t.reverse(),(null==t[0]||isNaN(t[0]))&&(t[0]=i[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=i[1])},_resetRange:function(){var e=this.getExtent(),n=this.option.range;!n||n.auto?(e.auto=1,this.option.range=e):t.isArray(n)&&(n[0]>n[1]&&n.reverse(),n[0]=Math.max(n[0],e[0]),n[1]=Math.min(n[1],e[1]))},completeVisualOption:function(){e.prototype.completeVisualOption.apply(this,arguments),t.each(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=0)}),this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=n.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimension(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},getVisualMeta:function(t){var e=o(this,"outOfRange",this.getExtent()),n=o(this,"inRange",this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var a=0,s=0,l=n.length,u=e.length;s0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(e){this.option.selected=t.clone(e)},getValueState:function(t){var e=n.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(i){var r=[],o=i.getData();o.each(this.getDataDimension(o),(function(e,i){n.findPieceIndex(e,this._pieceList)===t&&r.push(i)}),this),e.push({seriesId:i.id,dataIndex:r})}),this),e},getRepresentValue:function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},getVisualMeta:function(e){if(!this.isCategory()){var n=[],i=[],r=this,o=this._pieceList.slice();if(o.length){var a=o[0].interval[0];a!==-1/0&&o.unshift({interval:[-1/0,a]}),(a=o[o.length-1].interval[1])!==1/0&&o.push({interval:[a,1/0]})}else o.push({interval:[-1/0,1/0]});var s=-1/0;return t.each(o,(function(t){var e=t.interval;e&&(e[0]>s&&l([s,e[0]],"outOfRange"),l(e.slice()),s=e[1])}),this),{stops:n,outerColors:i}}function l(t,o){var a=r.getRepresentValue({interval:t});o||(o=r.getValueState(a));var s=e(a,o);t[0]===-1/0?i[0]=s:t[1]===1/0?i[1]=s:n.push({value:t[0],color:s},{value:t[1],color:s})}}}),a={splitNumber:function(){var e=this.option,n=this._pieceList,i=Math.min(e.precision,20),o=this.getExtent(),a=e.splitNumber;a=Math.max(parseInt(a,10),1),e.splitNumber=a;for(var s=(o[1]-o[0])/a;+s.toFixed(i)!==s&&i<5;)i++;e.precision=i,s=+s.toFixed(i),e.minOpen&&n.push({interval:[-1/0,o[0]],close:[0,0]});for(var l=0,u=o[0];l","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function s(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}Qet=o}(),function(){if(nnt)return ent;nnt=1;var t=bW(),e=Get(),n=zX(),i=HK().createSymbol,r=rj(),o=Zet(),a=e.extend({type:"visualMap.piecewise",doRender:function(){var e=this.group;e.removeAll();var i=this.visualMapModel,o=i.get("textGap"),a=i.textStyleModel,s=a.getFont(),l=a.getTextColor(),u=this._getItemAlign(),h=i.itemSize,c=this._getViewData(),d=c.endsText,p=t.retrieve(i.get("showLabel",!0),!d);d&&this._renderEndsText(e,d[0],h,p,u),t.each(c.viewPieceList,(function(r){var a=r.piece,c=new n.Group;c.onclick=t.bind(this._onItemClick,this,a),this._enableHoverLink(c,r.indexInModelPieceList);var d=i.getRepresentValue(a);if(this._createItemSymbol(c,d,[0,0,h[0],h[1]]),p){var f=this.visualMapModel.getValueState(d);c.add(new n.Text({style:{x:"right"===u?-o:h[0]+o,y:h[1]/2,text:a.text,textVerticalAlign:"middle",textAlign:u,textFont:s,textFill:l,opacity:"outOfRange"===f?.5:1}}))}e.add(c)}),this),d&&this._renderEndsText(e,d[1],h,p,u),r.box(i.get("orient"),e,i.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},_enableHoverLink:function(e,n){function i(t){var e=this.visualMapModel;e.option.hoverLink&&this.api.dispatchAction({type:t,batch:o.makeHighDownBatch(e.findTargetDataIndices(n),e)})}e.on("mouseover",t.bind(i,this,"highlight")).on("mouseout",t.bind(i,this,"downplay"))},_getItemAlign:function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return o.getItemAlign(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},_renderEndsText:function(t,e,i,r,o){if(e){var a=new n.Group,s=this.visualMapModel.textStyleModel;a.add(new n.Text({style:{x:r?"right"===o?i[0]:0:i[0]/2,y:i[1]/2,textVerticalAlign:"middle",textAlign:r?o:"center",text:e,textFont:s.getFont(),textFill:s.getTextColor()}})),t.add(a)}},_getViewData:function(){var e=this.visualMapModel,n=t.map(e.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),i=e.get("text"),r=e.get("orient"),o=e.get("inverse");return("horizontal"===r?o:!o)?n.reverse():i&&(i=i.slice().reverse()),{viewPieceList:n,endsText:i}},_createItemSymbol:function(t,e,n){t.add(i(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},_onItemClick:function(e){var n=this.visualMapModel,i=n.option,r=t.clone(i.selected),o=n.getSelectedMapKey(e);"single"===i.selectedMode?(r[o]=!0,t.each(r,(function(t,e){r[e]=e===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}});ent=a}(),$et(),t.registerPreprocessor(e),ont}var snt,lnt,unt,hnt,cnt,dnt={},pnt={},fnt={};function gnt(){if(snt)return fnt;snt=1;var t,e=yW(),n="urn:schemas-microsoft-com:vml",i="undefined"==typeof window?null:window,r=!1,o=i&&i.document;if(o&&!e.canvasSupported)try{!o.namespaces.zrvml&&o.namespaces.add("zrvml",n),t=function(t){return o.createElement("')}}catch(Fu){t=function(t){return o.createElement("<"+t+' xmlns="'+n+'" class="zrvml">')}}return fnt.doc=o,fnt.createNode=function(e){return t(e)},fnt.initVML=function(){if(!r&&o){r=!0;var t=o.styleSheets;t.length<31?o.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}},fnt}var vnt,mnt,ynt,xnt,_nt,bnt,wnt,Snt,Mnt,Int,Tnt,Cnt,Ant,Dnt,Lnt,knt,Pnt={},Ont={},Rnt={};function Nnt(){return vnt||(vnt=1,Rnt.createElement=function(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}),Rnt}function Ent(){if(mnt)return Ont;mnt=1;var t=Nnt().createElement,e=qY(),n=kU(),i=$W(),r=eY(),o=xY(),a=NZ(),s=e.CMD,l=Array.prototype.join,u="none",h=Math.round,c=Math.sin,d=Math.cos,p=Math.PI,f=2*Math.PI,g=180/p,v=1e-4;function m(t){return h(1e4*t)/1e4}function y(t){return t-1e-4}function x(t,e){e&&_(t,"transform","matrix("+l.call(e,",")+")")}function _(t,e,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&t.setAttribute(e,n)}function b(t,e,n,i){if(function(t,e){var n=e?t.textFill:t.fill;return null!=n&&n!==u}(e,n)){var r=n?e.textFill:e.fill;_(t,"fill",r="transparent"===r?u:r),_(t,"fill-opacity",null!=e.fillOpacity?e.fillOpacity*e.opacity:e.opacity)}else _(t,"fill",u);if(function(t,e){var n=e?t.textStroke:t.stroke;return null!=n&&n!==u}(e,n)){var o=n?e.textStroke:e.stroke;_(t,"stroke",o="transparent"===o?u:o),_(t,"stroke-width",(n?e.textStrokeWidth:e.lineWidth)/(!n&&e.strokeNoScale?i.getLineScale():1)),_(t,"paint-order",n?"stroke":"fill"),_(t,"stroke-opacity",null!=e.strokeOpacity?e.strokeOpacity:e.opacity),e.lineDash?(_(t,"stroke-dasharray",e.lineDash.join(",")),_(t,"stroke-dashoffset",h(e.lineDashOffset||0))):_(t,"stroke-dasharray",""),e.lineCap&&_(t,"stroke-linecap",e.lineCap),e.lineJoin&&_(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&_(t,"stroke-miterlimit",e.miterLimit)}else _(t,"stroke",u)}var w={brush:function(e){var n=e.style,i=e.__svgEl;i||(i=t("path"),e.__svgEl=i),e.path||e.createPathProxy();var r=e.path;if(e.__dirtyPath){r.beginPath(),r.subPixelOptimize=!1,e.buildPath(r,e.shape),e.__dirtyPath=!1;var o=function(t){for(var e=[],n=t.data,i=t.len(),r=0;r=f:-b>=f),T=b>0?b%f:b%f+f,C=!1;C=!!I||!y(M)&&T>=p==!!S;var A=m(l+v*d(_)),D=m(u+x*c(_));I&&(b=S?f-1e-4:1e-4-f,C=!0,9===r&&e.push("M",A,D));var L=m(l+v*d(_+b)),k=m(u+x*c(_+b));e.push("A",m(v),m(x),h(w*g),+C,+S,L,k);break;case s.Z:o="Z";break;case s.R:L=m(n[r++]),k=m(n[r++]);var P=m(n[r++]),O=m(n[r++]);e.push("M",L,k,"L",L+P,k,"L",L+P,k+O,"L",L,k+O,"L",L,k)}o&&e.push(o);for(var R=0;Rz){for(;N=0;--i)if(e[i]===t)return!0;return!1}),n):null:n[0]},u.prototype.update=function(t,e){if(t){var n=this.getDefs(!1);if(t[this._domName]&&n.contains(t[this._domName]))"function"==typeof e&&e(t);else{var i=this.add(t);i&&(t[this._domName]=i)}}},u.prototype.addDom=function(t){this.getDefs(!0).appendChild(t)},u.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},u.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var n=[];return e.each(this._tagNames,(function(e){var i=t.getElementsByTagName(e);n=n.concat([].slice.call(i))})),n},u.prototype.markAllUnused=function(){var t=this.getDoms(),n=this;e.each(t,(function(t){t[n._markLabel]="0"}))},u.prototype.markUsed=function(t){t&&(t[this._markLabel]="1")},u.prototype.removeUnused=function(){var t=this.getDefs(!1);if(t){var n=this.getDoms(),i=this;e.each(n,(function(e){"1"!==e[i._markLabel]&&t.removeChild(e)}))}},u.prototype.getSvgProxy=function(t){return t instanceof n?a:t instanceof i?s:t instanceof r?l:a},u.prototype.getTextSvgElement=function(t){return t.__textSvgEl},u.prototype.getSvgElement=function(t){return t.__svgEl},_nt=u}function Vnt(){if(Dnt)return Ant;Dnt=1;var t=Nnt().createElement,e=bW(),n=AU(),i=PZ(),r=wY(),o=NZ(),a=function(){if(xnt)return ynt;function t(){}function e(t,e,n,i){for(var r=0,o=e.length,a=0,s=0;r=a&&c+1>=s){for(var d=[],p=0;p=a&&p+1>=s)return e(o,u.components);h[r]=u}else h[r]=void 0}l++}for(;l<=u;){var g=f();if(g)return g}},pushComponent:function(t,e,n){var i=t[t.length-1];i&&i.added===e&&i.removed===n?t[t.length-1]={count:i.count+1,added:e,removed:n}:t.push({count:1,added:e,removed:n})},extractCommon:function(t,e,n,i){for(var r=e.length,o=n.length,a=t.newPos,s=a-i,l=0;a+1-1){var u=i.parse(l)[3],h=i.toHex(l);s.setAttribute("stop-color","#"+h),s.setAttribute("stop-opacity",u)}else s.setAttribute("stop-color",r[o].color);e.appendChild(s)}t._dom=e},r.prototype.markUsed=function(e){if(e.style){var n=e.style.fill;n&&n._dom&&t.prototype.markUsed.call(this,n._dom),(n=e.style.stroke)&&n._dom&&t.prototype.markUsed.call(this,n._dom)}},wnt=r}(),l=function(){if(Int)return Mnt;Int=1;var t=znt(),e=bW(),n=$W();function i(e,n){t.call(this,e,n,"clipPath","__clippath_in_use__")}return e.inherits(i,t),i.prototype.update=function(t){var e=this.getSvgElement(t);e&&this.updateDom(e,t.__clipPaths,!1);var n=this.getTextSvgElement(t);n&&this.updateDom(n,t.__clipPaths,!0),this.markUsed(t)},i.prototype.updateDom=function(t,e,i){if(e&&e.length>0){var r,o,a=this.getDefs(!0),s=e[0],l=i?"_textDom":"_dom";s[l]?(o=s[l].getAttribute("id"),r=s[l],a.contains(r)||a.appendChild(r)):(o="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,(r=this.createElement("clipPath")).setAttribute("id",o),a.appendChild(r),s[l]=r);var u=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!i){var h=Array.prototype.slice.call(s.transform);n.mul(s.transform,s.parent.invTransform,s.transform),u.brush(s),s.transform=h}else u.brush(s);var c=this.getSvgElement(s);r.innerHTML="",r.appendChild(c.cloneNode()),t.setAttribute("clip-path","url(#"+o+")"),e.length>1&&this.updateDom(r,e.slice(1),i)}else t&&t.setAttribute("clip-path","none")},i.prototype.markUsed=function(n){var i=this;n.__clipPaths&&e.each(n.__clipPaths,(function(e){e._dom&&t.prototype.markUsed.call(i,e._dom),e._textDom&&t.prototype.markUsed.call(i,e._textDom)}))},Mnt=i}(),u=function(){if(Cnt)return Tnt;Cnt=1;var t=znt();function e(e,n){t.call(this,e,n,["filter"],"__filter_in_use__","_shadowDom")}function n(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY||t.textShadowBlur||t.textShadowOffsetX||t.textShadowOffsetY)}return bW().inherits(e,t),e.prototype.addWithoutUpdate=function(t,e){if(e&&n(e.style)){var i;e._shadowDom?(i=e._shadowDom,this.getDefs(!0).contains(e._shadowDom)||this.addDom(i)):i=this.add(e),this.markUsed(e);var r=i.getAttribute("id");t.style.filter="url(#"+r+")"}},e.prototype.add=function(t){var e=this.createElement("filter");return t._shadowDomId=t._shadowDomId||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-shadow-"+t._shadowDomId),this.updateDom(t,e),this.addDom(e),e},e.prototype.update=function(e,i){if(n(i.style)){var r=this;t.prototype.update.call(this,i,(function(){r.updateDom(i,i._shadowDom)}))}else this.remove(e,i)},e.prototype.remove=function(t,e){null!=e._shadowDomId&&(this.removeDom(t),t.style.filter="")},e.prototype.updateDom=function(t,e){var n=e.getElementsByTagName("feDropShadow");n=0===n.length?this.createElement("feDropShadow"):n[0];var i,r,o,a,s=t.style,l=t.scale&&t.scale[0]||1,u=t.scale&&t.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)i=s.shadowOffsetX||0,r=s.shadowOffsetY||0,o=s.shadowBlur,a=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(e,s);i=s.textShadowOffsetX||0,r=s.textShadowOffsetY||0,o=s.textShadowBlur,a=s.textShadowColor}n.setAttribute("dx",i/l),n.setAttribute("dy",r/u),n.setAttribute("flood-color",a);var h=o/2/l+" "+o/2/u;n.setAttribute("stdDeviation",h),e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width",Math.ceil(o/2*200)+"%"),e.setAttribute("height",Math.ceil(o/2*200)+"%"),e.appendChild(n),t._shadowDom=e},e.prototype.markUsed=function(e){e._shadowDom&&t.prototype.markUsed.call(this,e._shadowDom)},Tnt=e}(),h=Ent(),c=h.path,d=h.image,p=h.text;function f(t){return parseInt(t,10)}function g(t,e){return e&&t&&e.parentNode!==t}function v(t,e,n){if(g(t,e)&&n){var i=n.nextSibling;i?t.insertBefore(e,i):t.appendChild(e)}}function m(t,e){if(g(t,e)){var n=t.firstChild;n?t.insertBefore(e,n):t.appendChild(e)}}function y(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function x(t){return t.__textSvgEl}function _(t){return t.__svgEl}var b=function(n,i,r,o){this.root=n,this.storage=i,this._opts=r=e.extend({},r||{});var a=t("svg");a.setAttribute("xmlns","http://www.w3.org/2000/svg"),a.setAttribute("version","1.1"),a.setAttribute("baseProfile","full"),a.style.cssText="user-select:none;position:absolute;left:0;top:0;";var h=t("g");a.appendChild(h);var c=t("g");a.appendChild(c),this.gradientManager=new s(o,c),this.clipPathManager=new l(o,c),this.shadowManager=new u(o,c);var d=document.createElement("div");d.style.cssText="overflow:hidden;position:relative",this._svgDom=a,this._svgRoot=c,this._backgroundRoot=h,this._viewport=d,n.appendChild(d),d.appendChild(a),this.resize(r.width,r.height),this._visibleList=[]};return b.prototype={constructor:b,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},setBackgroundColor:function(e){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var n=t("rect");n.setAttribute("width",this.getWidth()),n.setAttribute("height",this.getHeight()),n.setAttribute("x",0),n.setAttribute("y",0),n.setAttribute("id",0),n.style.fill=e,this._backgroundRoot.appendChild(n),this._backgroundNode=n},_paintList:function(t){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var e,n,s=this._svgRoot,l=this._visibleList,u=t.length,h=[];for(e=0;e=0;--i)if(e[i]===t)return!0;return!1}),n):null:n[0]},resize:function(t,e){var n=this._viewport;n.style.display="none";var i=this._opts;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!==t||this._height!==e){this._width=t,this._height=e;var r=n.style;r.width=t+"px",r.height=e+"px";var o=this._svgDom;o.setAttribute("width",t),o.setAttribute("height",e)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",t),this._backgroundNode.setAttribute("height",e))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,n=["width","height"][t],i=["clientWidth","clientHeight"][t],r=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var a=this.root,s=document.defaultView.getComputedStyle(a);return(a[i]||f(s[n])||f(a.style[n]))-(f(s[r])||0)-(f(s[o])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){return this.refresh(),"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(this._svgDom.outerHTML.replace(/>\n\r<"))}},e.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],(function(t){var e;b.prototype[t]=(e=t,function(){n('In SVG mode painter not support method "'+e+'"')})})),Ant=b}W_([aW]),W_([function(t){t.registerPainter("svg",QH)}]),W_([Yw,mS,ES,function(t){W_(EM),t.registerSeriesModel(zS),t.registerChartView(GS),t.registerLayout(Gw("scatter"))},function(t){W_(KM),t.registerChartView(GM),t.registerSeriesModel(HM),t.registerLayout(zM),t.registerProcessor(MS("radar")),t.registerPreprocessor(FM)},MT,function(t){t.registerChartView(ET),t.registerSeriesModel(rC),t.registerLayout(aC),t.registerVisual(sC),function(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var n=t.dataIndex,i=e.getData().tree.getNodeByDataIndex(n);i.isExpand=!i.isExpand}))})),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(t,e,n){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var i=_T(e.coordinateSystem,t,void 0,n);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)}))}))}(t)},function(t){t.registerSeriesModel(hC),t.registerChartView(SC),t.registerVisual(FC),t.registerLayout(QC),function(t){for(var e=0;e=this._maxSize&&o>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}a?a.value=e:a=new Bnt(e),a.key=t,n.insertEntry(a),i[t]=a}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}()),Hnt={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-Hnt.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*Hnt.bounceIn(2*t):.5*Hnt.bounceOut(2*t-1)+.5}};Knt(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(t,e){return t["[object "+e+"]"]=!0,t}),{}),Knt(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(t,e){return t["[object "+e+"Array]"]=!0,t}),{});var Wnt=Array.prototype,Unt=Wnt.slice,Ynt=Wnt.map,Znt=function(){}.constructor,Xnt=Znt?Znt.prototype:null;function jnt(t){return!!t&&"string"!=typeof t&&"number"==typeof t.length}function qnt(t,e,n){if(!t)return[];if(!e)return function(t){for(var e=[],n=1;n-1e-8&&t<1e-8}var sit=/cubic-bezier\(([0-9,\.e ]+)\)/;function lit(t){var e=t&&sit.exec(t);if(e){var n=e[1].split(","),i=+tit(n[0]),r=+tit(n[1]),o=+tit(n[2]),a=+tit(n[3]);if(isNaN(i+r+o+a))return;var s=[];return function(t){return t<=0?0:t>=1?1:function(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,h=s*s-3*a*l,c=s*l-9*a*u,d=l*l-3*s*u,p=0;if(ait(h)&&ait(c))ait(s)?o[0]=0:(M=-l/s)>=0&&M<=1&&(o[p++]=M);else{var f=c*c-4*h*d;if(ait(f)){var g=c/h,v=-g/2;(M=-s/a+g)>=0&&M<=1&&(o[p++]=M),v>=0&&v<=1&&(o[p++]=v)}else if(f>0){var m=iit(f),y=h*s+1.5*a*(-c+m),x=h*s+1.5*a*(-c-m);(M=(-s-((y=y<0?-nit(-y,oit):nit(y,oit))+(x=x<0?-nit(-x,oit):nit(x,oit))))/(3*a))>=0&&M<=1&&(o[p++]=M)}else{var _=(2*h*s-3*a*c)/(2*iit(h*h*h)),b=Math.acos(_)/3,w=iit(h),S=Math.cos(b),M=(-s-2*w*S)/(3*a),I=(v=(-s+w*(S+rit*Math.sin(b)))/(3*a),(-s+w*(S-rit*Math.sin(b)))/(3*a));M>=0&&M<=1&&(o[p++]=M),v>=0&&v<=1&&(o[p++]=v),I>=0&&I<=1&&(o[p++]=I)}}return p}(0,i,o,1,t,s)&&(n=1-(e=s[0]))*n*(0*n+3*e*r)+e*e*(1*e+3*n*a);var e,n}}}var uit=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||eit,this.ondestroy=t.ondestroy||eit,this.onrestart=t.onrestart||eit,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=Jnt(t)?t:Hnt[t]||lit(t)},t}(),hit={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function cit(t){return(t=Math.round(t))<0?0:t>255?255:t}function dit(t){return t<0?0:t>1?1:t}function pit(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?cit(parseFloat(e)/100*255):cit(parseInt(e,10))}function fit(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?dit(parseFloat(e)/100):dit(parseFloat(e))}function git(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function vit(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function mit(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var yit=new Gnt(20),xit=null;function _it(t,e){xit&&mit(xit,e),xit=yit.put(t,xit||e.slice())}function bit(t,e){if(t){e=e||[];var n=yit.get(t);if(n)return mit(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in hit)return mit(e,hit[i]),_it(t,e),e;var r,o=i.length;if("#"===i.charAt(0))return 4===o||5===o?(r=parseInt(i.slice(1,4),16))>=0&&r<=4095?(vit(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===o?parseInt(i.slice(4),16)/15:1),_it(t,e),e):void vit(e,0,0,0,1):7===o||9===o?(r=parseInt(i.slice(1,7),16))>=0&&r<=16777215?(vit(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===o?parseInt(i.slice(7),16)/255:1),_it(t,e),e):void vit(e,0,0,0,1):void 0;var a=i.indexOf("("),s=i.indexOf(")");if(-1!==a&&s+1===o){var l=i.substr(0,a),u=i.substr(a+1,s-(a+1)).split(","),h=1;switch(l){case"rgba":if(4!==u.length)return 3===u.length?vit(e,+u[0],+u[1],+u[2],1):vit(e,0,0,0,1);h=fit(u.pop());case"rgb":return u.length>=3?(vit(e,pit(u[0]),pit(u[1]),pit(u[2]),3===u.length?h:fit(u[3])),_it(t,e),e):void vit(e,0,0,0,1);case"hsla":return 4!==u.length?void vit(e,0,0,0,1):(u[3]=fit(u[3]),wit(u,e),_it(t,e),e);case"hsl":return 3!==u.length?void vit(e,0,0,0,1):(wit(u,e),_it(t,e),e);default:return}}vit(e,0,0,0,1)}}function wit(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=fit(t[1]),r=fit(t[2]),o=r<=.5?r*(i+1):r+i-r*i,a=2*r-o;return vit(e=e||[],cit(255*git(a,o,n+1/3)),cit(255*git(a,o,n)),cit(255*git(a,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}var Sit=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},Mit=new function(){this.browser=new Sit,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(Mit.wxa=!0,Mit.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?Mit.worker=!0:"undefined"==typeof navigator||0===navigator.userAgent.indexOf("Node.js?v=1774508183068")?(Mit.node=!0,Mit.svgSupported=!0):function(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]),r&&(n.ie=!0,n.version=r[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),a&&(n.weChat=!0),e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,Mit),Mit.hasGlobalWindow&&Jnt(window.btoa);var Iit=Array.prototype.slice;function Tit(t,e,n){return(e-t)*n+t}function Cit(t,e,n,i){for(var r=e.length,o=0;oi?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;sa)i.length=a;else for(var s=o;s=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,o=!1,a=6,s=e;if(jnt(e)){var l=function(t){return jnt(t&&t[0])?2:1}(e);a=l,(1===l&&!Qnt(e[0])||2===l&&!Qnt(e[0][0]))&&(o=!0)}else if(Qnt(e)&&!function(t){return t!=t}(e))a=0;else if(function(t){return"string"==typeof t}(e))if(isNaN(+e)){var u=bit(e);u&&(s=u,a=3)}else a=0;else if(function(t){return null!=t.colorStops}(e)){var h=function(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&"__proto__"!==n&&(t[n]=e[n]);return t}({},s);h.colorStops=qnt(e.colorStops,(function(t){return{offset:t.offset,color:bit(t.color)}})),"linear"===e.type?a=4:function(t){return"radial"===t.type}(e)&&(a=5),s=h}0===r?this.valType=a:a===this.valType&&6!==a||(o=!0),this.discrete=this.discrete||o;var c={time:t,value:s,rawValue:e,percent:0};return n&&(c.easing=n,c.easingFunc=Jnt(n)?n:Hnt[n]||lit(n)),i.push(c),c},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=Nit(i),l=Rit(i),u=0;u=0&&!(l[n].percent<=e);n--);n=p(n,u-2)}else{for(n=d;ne);n++);n=p(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var f=r.percent-i.percent,g=0===f?1:p((e-i.percent)/f,1);r.easingFunc&&(g=r.easingFunc(g));var v=o?this._additiveValue:c?zit:t[h];if(!Nit(s)&&!c||v||(v=this._additiveValue=[]),this.discrete)t[h]=g<1?i.rawValue:r.rawValue;else if(Nit(s))1===s?Cit(v,i[a],r[a],g):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a0&&s.addKeyframe(0,Pit(l),i),this._trackKeys.push(a)}s.addKeyframe(t,Pit(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}()),t("B",Eit),t("B",Eit=Mit.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)});var Bit={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]}}}})); diff --git a/BTPanel/static/vite/js/expired-Dl3rUrkZ.js b/BTPanel/static/vite/js/expired-Dl3rUrkZ.js new file mode 100644 index 00000000..68e7d3a2 --- /dev/null +++ b/BTPanel/static/vite/js/expired-Dl3rUrkZ.js @@ -0,0 +1 @@ +import{_ as h}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{co as k,p as r,cr as v,cW as H}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as C}from"./index-h5k6IKTt.js?v=1774508183068";import{a as $,_ as g}from"./index.vue_vue_type_script_setup_true_lang-2i3mtddY.js?v=1774508183068";import{k as B,R as D,e as E,$ as M,Z as R,a0 as s,a9 as d,_ as N,S as c}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a1 as V,ai as A}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import{i as I}from"./startOfToday-BF0LMwb0.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const T={class:"p-20px"},U={class:"w-180px"},L=B({__name:"expired",props:{data:{}},setup(l,{expose:_}){const{t}=D(),p=l,{rows:n}=p.data,m=C(),a=E({edate:null}),i=new Date;i.setHours(0,0,0,0);const u=e=>I(e,k(i,1)),f=async e=>{const o=a.edate?v(a.edate,"yyyy-MM-dd"):"0000-00-00";return await H({id:e.id,edate:o},!1)},x=()=>{r({title:t("Site.PHP.index_70"),hideClose:!0,data:{title:t("Site.PHP.index_70"),api:f,data:n,callback:S},component:$})},S=()=>{m.setRefresh(!0),r({title:t("Site.PHP.index_71"),width:440,footer:!0,component:g,data:{title:t("Site.PHP.index_70"),data:n,status:"done",columns:[{key:"name",title:t("Site.TableRow.index_1"),ellipsis:{tooltip:{width:"trigger"}}}]}})};return _({onConfirm:({hide:e})=>{x(),e()}}),(e,o)=>{const P=A,w=V,y=h;return M(),R("div",T,[s(y,null,{default:d(()=>[s(w,{label:e.$t("Site.PHP.index_25"),"show-feedback":!1},{default:d(()=>[N("div",U,[s(P,{value:c(a).edate,"onUpdate:value":o[0]||(o[0]=b=>c(a).edate=b),type:"date",actions:null,"is-date-disabled":u},null,8,["value"])])]),_:1},8,["label"])]),_:1})])}}});export{L as default}; diff --git a/BTPanel/static/vite/js/expired-hDKPx2hj.js b/BTPanel/static/vite/js/expired-hDKPx2hj.js deleted file mode 100644 index c5c56741..00000000 --- a/BTPanel/static/vite/js/expired-hDKPx2hj.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as h}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{cg as k,p as r,cj as v,cM as H}from"./index-BTglIPU2.js?v=1773287522785";import{u as g}from"./index-CNMkGSax.js?v=1773287522785";import{a as C,_ as $}from"./index.vue_vue_type_script_setup_true_lang-zxYX_mVh.js?v=1773287522785";import{k as B,R as D,e as M,$ as E,Z as R,a0 as s,a9 as d,_ as N,S as c}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as V,ah as j}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{i as A}from"./startOfToday-CAr_5zlJ.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const I={class:"p-20px"},T={class:"w-180px"},O=B({__name:"expired",props:{data:{}},setup(l,{expose:_}){const{t}=D(),p=l,{rows:n}=p.data,m=g(),a=M({edate:null}),i=new Date;i.setHours(0,0,0,0);const u=e=>A(e,k(i,1)),f=async e=>{const o=a.edate?v(a.edate,"yyyy-MM-dd"):"0000-00-00";return await H({id:e.id,edate:o},!1)},x=()=>{r({title:t("Site.PHP.index_70"),hideClose:!0,data:{title:t("Site.PHP.index_70"),api:f,data:n,callback:S},component:C})},S=()=>{m.setRefresh(!0),r({title:t("Site.PHP.index_71"),width:440,footer:!0,component:$,data:{title:t("Site.PHP.index_70"),data:n,status:"done",columns:[{key:"name",title:t("Site.TableRow.index_1"),ellipsis:{tooltip:{width:"trigger"}}}]}})};return _({onConfirm:({hide:e})=>{x(),e()}}),(e,o)=>{const P=j,w=V,y=h;return E(),R("div",I,[s(y,null,{default:d(()=>[s(w,{label:e.$t("Site.PHP.index_25"),"show-feedback":!1},{default:d(()=>[N("div",T,[s(P,{value:c(a).edate,"onUpdate:value":o[0]||(o[0]=b=>c(a).edate=b),type:"date",actions:null,"is-date-disabled":u},null,8,["value"])])]),_:1},8,["label"])]),_:1})])}}});export{O as default}; diff --git a/BTPanel/static/vite/js/expired-legacy-CaB5RbfN.js b/BTPanel/static/vite/js/expired-legacy-CaB5RbfN.js deleted file mode 100644 index 53ee63b3..00000000 --- a/BTPanel/static/vite/js/expired-legacy-CaB5RbfN.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./index-legacy-De9vt8IT.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-DAbalqq3.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./startOfToday-legacy-DOoXJ0xP.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,t){"use strict";var a,i,s,l,n,d,u,c,o,r,_,p,y,x,g,v,f,j,P,h;return{setters:[e=>{a=e._},e=>{i=e.cg,s=e.p,l=e.cj,n=e.cM},e=>{d=e.u},e=>{u=e.a,c=e._},e=>{o=e.k,r=e.R,_=e.e,p=e.$,y=e.Z,x=e.a0,g=e.a9,v=e._,f=e.S},e=>{j=e.a1,P=e.ah},e=>{h=e.i},null],execute:function(){const t={class:"p-20px"},m={class:"w-180px"};e("default",o({__name:"expired",props:{data:{}},setup(e,{expose:o}){const{t:w}=r(),S=e,{rows:b}=S.data,H=d(),k=_({edate:null}),M=new Date;M.setHours(0,0,0,0);const R=e=>h(e,i(M,1)),Z=async e=>{const t=k.edate?l(k.edate,"yyyy-MM-dd"):"0000-00-00";return await n({id:e.id,edate:t},!1)},C=()=>{H.setRefresh(!0),s({title:w("Site.PHP.index_71"),width:440,footer:!0,component:c,data:{title:w("Site.PHP.index_70"),data:b,status:"done",columns:[{key:"name",title:w("Site.TableRow.index_1"),ellipsis:{tooltip:{width:"trigger"}}}]}})};return o({onConfirm:({hide:e})=>{s({title:w("Site.PHP.index_70"),hideClose:!0,data:{title:w("Site.PHP.index_70"),api:Z,data:b,callback:C},component:u}),e()}}),(e,i)=>{const s=P,l=j,n=a;return p(),y("div",t,[x(n,null,{default:g((()=>[x(l,{label:e.$t("Site.PHP.index_25"),"show-feedback":!1},{default:g((()=>[v("div",m,[x(s,{value:f(k).edate,"onUpdate:value":i[0]||(i[0]=e=>f(k).edate=e),type:"date",actions:null,"is-date-disabled":R},null,8,["value"])])])),_:1},8,["label"])])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/expired-legacy-JkiLfLaL.js b/BTPanel/static/vite/js/expired-legacy-JkiLfLaL.js new file mode 100644 index 00000000..8a20d65c --- /dev/null +++ b/BTPanel/static/vite/js/expired-legacy-JkiLfLaL.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./index-legacy-QsyTbKAI.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-F3D7lDxt.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./startOfToday-legacy-CulcUD5k.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,t){"use strict";var a,i,s,l,n,d,u,c,o,r,_,p,y,x,g,v,f,P,j,m;return{setters:[e=>{a=e._},e=>{i=e.co,s=e.p,l=e.cr,n=e.cW},e=>{d=e.u},e=>{u=e.a,c=e._},e=>{o=e.k,r=e.R,_=e.e,p=e.$,y=e.Z,x=e.a0,g=e.a9,v=e._,f=e.S},e=>{P=e.a1,j=e.ai},e=>{m=e.i},null],execute:function(){const t={class:"p-20px"},w={class:"w-180px"};e("default",o({__name:"expired",props:{data:{}},setup(e,{expose:o}){const{t:S}=r(),b=e,{rows:h}=b.data,H=d(),k=_({edate:null}),R=new Date;R.setHours(0,0,0,0);const $=e=>m(e,i(R,1)),C=async e=>{const t=k.edate?l(k.edate,"yyyy-MM-dd"):"0000-00-00";return await n({id:e.id,edate:t},!1)},M=()=>{H.setRefresh(!0),s({title:S("Site.PHP.index_71"),width:440,footer:!0,component:c,data:{title:S("Site.PHP.index_70"),data:h,status:"done",columns:[{key:"name",title:S("Site.TableRow.index_1"),ellipsis:{tooltip:{width:"trigger"}}}]}})};return o({onConfirm:({hide:e})=>{s({title:S("Site.PHP.index_70"),hideClose:!0,data:{title:S("Site.PHP.index_70"),api:C,data:h,callback:M},component:u}),e()}}),(e,i)=>{const s=j,l=P,n=a;return p(),y("div",t,[x(n,null,{default:g((()=>[x(l,{label:e.$t("Site.PHP.index_25"),"show-feedback":!1},{default:g((()=>[v("div",w,[x(s,{value:f(k).edate,"onUpdate:value":i[0]||(i[0]=e=>f(k).edate=e),type:"date",actions:null,"is-date-disabled":$},null,8,["value"])])])),_:1},8,["label"])])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/export-B5hDZijg.js b/BTPanel/static/vite/js/export-B5hDZijg.js deleted file mode 100644 index 002c87c9..00000000 --- a/BTPanel/static/vite/js/export-B5hDZijg.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as f}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as d}from"./index-CZps0rIN.js?v=1773287522785";import{ht as g,i as v}from"./index-BTglIPU2.js?v=1773287522785";import{c as x}from"./copy-D-wIKr0q.js?v=1773287522785";import{U as C}from"./setting-DouXuJGW.js?v=1773287522785";import{B}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as w,r as y,$ as b,Z as k,a0 as e,X as $,S,_ as a,a9 as s,j as r,aa as n}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const D={class:"p-20px"},h={class:"mt-12px"},R=w({__name:"export",setup(j){const o=y(""),p=()=>{x(o.value)},c=()=>{g(o.value,"waf_config.json")};return(async()=>{const{message:t}=await C();v(t)&&(o.value=t.result)})(),(t,l)=>{const _=d,i=B,u=f;return b(),k("div",D,[e(_,{value:S(o),"onUpdate:value":l[0]||(l[0]=m=>$(o)?o.value=m:null),rows:14},null,8,["value"]),a("div",h,[e(i,{type:"primary",onClick:p},{default:s(()=>[r(n(t.$t("Public.Btn.Copy")),1)]),_:1}),e(i,{class:"ml-12px",onClick:c},{default:s(()=>[r(n(t.$t("Public.Btn.Download")),1)]),_:1})]),e(u,{class:"mt-16px"},{default:s(()=>[a("li",null,n(t.$t("Waf.Setting.index_19")),1),a("li",null,n(t.$t("Waf.Setting.index_20")),1),a("li",null,n(t.$t("Waf.Setting.index_21")),1)]),_:1})])}}});export{R as default}; diff --git a/BTPanel/static/vite/js/export-BLSR-8Vy.js b/BTPanel/static/vite/js/export-BLSR-8Vy.js new file mode 100644 index 00000000..0eb6a082 --- /dev/null +++ b/BTPanel/static/vite/js/export-BLSR-8Vy.js @@ -0,0 +1 @@ +import{_ as f}from"./index-Dd5dC2sI.js?v=1774508183068";import{_ as d}from"./index-BonLJ3_f.js?v=1774508183068";import{hM as g,i as v}from"./index-LQ-JIYiv.js?v=1774508183068";import{c as x}from"./copy-DTOfN-dY.js?v=1774508183068";import{U as C}from"./setting-9MLJBbIL.js?v=1774508183068";import{B}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import{k as w,r as y,$ as b,Z as k,a0 as e,X as $,S,_ as a,a9 as s,j as r,aa as n}from"./vue-core-BlDeWrD6.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const D={class:"p-20px"},h={class:"mt-12px"},O=w({__name:"export",setup(j){const o=y(""),p=()=>{x(o.value)},c=()=>{g(o.value,"waf_config.json")};return(async()=>{const{message:t}=await C();v(t)&&(o.value=t.result)})(),(t,l)=>{const _=d,i=B,u=f;return b(),k("div",D,[e(_,{value:S(o),"onUpdate:value":l[0]||(l[0]=m=>$(o)?o.value=m:null),rows:14},null,8,["value"]),a("div",h,[e(i,{type:"primary",onClick:p},{default:s(()=>[r(n(t.$t("Public.Btn.Copy")),1)]),_:1}),e(i,{class:"ml-12px",onClick:c},{default:s(()=>[r(n(t.$t("Public.Btn.Download")),1)]),_:1})]),e(u,{class:"mt-16px"},{default:s(()=>[a("li",null,n(t.$t("Waf.Setting.index_19")),1),a("li",null,n(t.$t("Waf.Setting.index_20")),1),a("li",null,n(t.$t("Waf.Setting.index_21")),1)]),_:1})])}}});export{O as default}; diff --git a/BTPanel/static/vite/js/export-C0DxmKiP.js b/BTPanel/static/vite/js/export-C0DxmKiP.js new file mode 100644 index 00000000..a424f30f --- /dev/null +++ b/BTPanel/static/vite/js/export-C0DxmKiP.js @@ -0,0 +1 @@ +import{_ as d}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{l as x}from"./firewall-BKBwyxV4.js?v=1774508183068";import{i as w,at as h}from"./index-LQ-JIYiv.js?v=1774508183068";import{k as v,R as b,e as P,$ as y,Z as F,a0 as t,a9 as s,_ as S,S as l,N as k}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a1 as C,a6 as L}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const N={class:"p-20px"},U={class:"w-210px"},I=v({__name:"export",props:{chain:{default:"ALL"}},setup(i,{expose:r}){const c=i,{t:o}=b(),a=P({chain:c.chain,rule:"ip"}),_=[{label:o("Security.Firewall.Port.index_4"),value:"ALL"},{label:o("Security.Firewall.Port.index_5"),value:"INPUT"},{label:o("Security.Firewall.Port.index_6"),value:"OUTPUT"}];return r({onConfirm:async()=>{const{message:e}=await x(k(a));w(e)&&h(e.result)}}),(e,n)=>{const p=L,m=C,u=d;return y(),F("div",N,[t(u,null,{default:s(()=>[t(m,{label:e.$t("Security.Firewall.Port.index_26"),"show-feedback":!1},{default:s(()=>[S("div",U,[t(p,{value:l(a).chain,"onUpdate:value":n[0]||(n[0]=f=>l(a).chain=f),options:_},null,8,["value"])])]),_:1},8,["label"])]),_:1})])}}});export{I as default}; diff --git a/BTPanel/static/vite/js/export-Cklx7x73.js b/BTPanel/static/vite/js/export-Cklx7x73.js deleted file mode 100644 index 70ad7b8d..00000000 --- a/BTPanel/static/vite/js/export-Cklx7x73.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as d}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{l as x}from"./firewall-jQIxKxfN.js?v=1773287522785";import{i as w,aq as h}from"./index-BTglIPU2.js?v=1773287522785";import{k as v,R as b,e as P,$ as y,Z as F,a0 as t,a9 as s,_ as S,S as l,N as k}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as C,a6 as L}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const N={class:"p-20px"},U={class:"w-210px"},I=v({__name:"export",props:{chain:{default:"ALL"}},setup(i,{expose:r}){const c=i,{t:o}=b(),a=P({chain:c.chain,rule:"ip"}),_=[{label:o("Security.Firewall.Port.index_4"),value:"ALL"},{label:o("Security.Firewall.Port.index_5"),value:"INPUT"},{label:o("Security.Firewall.Port.index_6"),value:"OUTPUT"}];return r({onConfirm:async()=>{const{message:e}=await x(k(a));w(e)&&h(e.result)}}),(e,n)=>{const p=L,m=C,u=d;return y(),F("div",N,[t(u,null,{default:s(()=>[t(m,{label:e.$t("Security.Firewall.Port.index_26"),"show-feedback":!1},{default:s(()=>[S("div",U,[t(p,{value:l(a).chain,"onUpdate:value":n[0]||(n[0]=f=>l(a).chain=f),options:_},null,8,["value"])])]),_:1},8,["label"])]),_:1})])}}});export{I as default}; diff --git a/BTPanel/static/vite/js/export-DCnVyCaf.js b/BTPanel/static/vite/js/export-DCnVyCaf.js new file mode 100644 index 00000000..545539fc --- /dev/null +++ b/BTPanel/static/vite/js/export-DCnVyCaf.js @@ -0,0 +1 @@ +import{_ as d}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{l as x}from"./firewall-BKBwyxV4.js?v=1774508183068";import{i as w,at as h}from"./index-LQ-JIYiv.js?v=1774508183068";import{k as v,R as b,e as P,$ as y,Z as F,a0 as t,a9 as s,_ as S,S as l,N as k}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a1 as C,a6 as L}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const N={class:"p-20px"},U={class:"w-210px"},I=v({__name:"export",props:{chain:{default:"ALL"}},setup(i,{expose:r}){const c=i,{t:o}=b(),a=P({chain:c.chain,rule:"port"}),_=[{label:o("Security.Firewall.Port.index_4"),value:"ALL"},{label:o("Security.Firewall.Port.index_5"),value:"INPUT"},{label:o("Security.Firewall.Port.index_6"),value:"OUTPUT"}];return r({onConfirm:async()=>{const{message:e}=await x(k(a));w(e)&&h(e.result)}}),(e,n)=>{const p=L,m=C,u=d;return y(),F("div",N,[t(u,null,{default:s(()=>[t(m,{label:e.$t("Security.Firewall.Port.index_42"),"show-feedback":!1},{default:s(()=>[S("div",U,[t(p,{value:l(a).chain,"onUpdate:value":n[0]||(n[0]=f=>l(a).chain=f),options:_},null,8,["value"])])]),_:1},8,["label"])]),_:1})])}}});export{I as default}; diff --git a/BTPanel/static/vite/js/export-DIF0eTHW.js b/BTPanel/static/vite/js/export-DIF0eTHW.js deleted file mode 100644 index 22024813..00000000 --- a/BTPanel/static/vite/js/export-DIF0eTHW.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as d}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{l as x}from"./firewall-jQIxKxfN.js?v=1773287522785";import{i as w,aq as h}from"./index-BTglIPU2.js?v=1773287522785";import{k as v,R as b,e as P,$ as y,Z as F,a0 as t,a9 as s,_ as S,S as l,N as k}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as C,a6 as L}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const N={class:"p-20px"},U={class:"w-210px"},I=v({__name:"export",props:{chain:{default:"ALL"}},setup(i,{expose:r}){const c=i,{t:o}=b(),a=P({chain:c.chain,rule:"port"}),_=[{label:o("Security.Firewall.Port.index_4"),value:"ALL"},{label:o("Security.Firewall.Port.index_5"),value:"INPUT"},{label:o("Security.Firewall.Port.index_6"),value:"OUTPUT"}];return r({onConfirm:async()=>{const{message:e}=await x(k(a));w(e)&&h(e.result)}}),(e,n)=>{const p=L,m=C,u=d;return y(),F("div",N,[t(u,null,{default:s(()=>[t(m,{label:e.$t("Security.Firewall.Port.index_42"),"show-feedback":!1},{default:s(()=>[S("div",U,[t(p,{value:l(a).chain,"onUpdate:value":n[0]||(n[0]=f=>l(a).chain=f),options:_},null,8,["value"])])]),_:1},8,["label"])]),_:1})])}}});export{I as default}; diff --git a/BTPanel/static/vite/js/export-legacy-BECyC6Zf.js b/BTPanel/static/vite/js/export-legacy-BECyC6Zf.js deleted file mode 100644 index b9ca311c..00000000 --- a/BTPanel/static/vite/js/export-legacy-BECyC6Zf.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./firewall-legacy-BLYDdl9f.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,a){"use strict";var l,t,i,n,r,s,u,c,o,_,p,d,v,y,x,f;return{setters:[e=>{l=e._},e=>{t=e.l},e=>{i=e.i,n=e.aq},e=>{r=e.k,s=e.R,u=e.e,c=e.$,o=e.Z,_=e.a0,p=e.a9,d=e._,v=e.S,y=e.N},e=>{x=e.a1,f=e.a6},null],execute:function(){const a={class:"p-20px"},g={class:"w-210px"};e("default",r({__name:"export",props:{chain:{default:"ALL"}},setup(e,{expose:r}){const w=e,{t:j}=s(),b=u({chain:w.chain,rule:"ip"}),h=[{label:j("Security.Firewall.Port.index_4"),value:"ALL"},{label:j("Security.Firewall.Port.index_5"),value:"INPUT"},{label:j("Security.Firewall.Port.index_6"),value:"OUTPUT"}];return r({onConfirm:async()=>{const{message:e}=await t(y(b));i(e)&&n(e.result)}}),(e,t)=>{const i=f,n=x,r=l;return c(),o("div",a,[_(r,null,{default:p((()=>[_(n,{label:e.$t("Security.Firewall.Port.index_26"),"show-feedback":!1},{default:p((()=>[d("div",g,[_(i,{value:v(b).chain,"onUpdate:value":t[0]||(t[0]=e=>v(b).chain=e),options:h},null,8,["value"])])])),_:1},8,["label"])])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/export-legacy-BfPcf4LN.js b/BTPanel/static/vite/js/export-legacy-BfPcf4LN.js deleted file mode 100644 index b8ed5c80..00000000 --- a/BTPanel/static/vite/js/export-legacy-BfPcf4LN.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./firewall-legacy-BLYDdl9f.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,a){"use strict";var l,t,i,r,n,s,u,c,o,_,p,d,v,y,x,f;return{setters:[e=>{l=e._},e=>{t=e.l},e=>{i=e.i,r=e.aq},e=>{n=e.k,s=e.R,u=e.e,c=e.$,o=e.Z,_=e.a0,p=e.a9,d=e._,v=e.S,y=e.N},e=>{x=e.a1,f=e.a6},null],execute:function(){const a={class:"p-20px"},g={class:"w-210px"};e("default",n({__name:"export",props:{chain:{default:"ALL"}},setup(e,{expose:n}){const w=e,{t:j}=s(),b=u({chain:w.chain,rule:"port"}),h=[{label:j("Security.Firewall.Port.index_4"),value:"ALL"},{label:j("Security.Firewall.Port.index_5"),value:"INPUT"},{label:j("Security.Firewall.Port.index_6"),value:"OUTPUT"}];return n({onConfirm:async()=>{const{message:e}=await t(y(b));i(e)&&r(e.result)}}),(e,t)=>{const i=f,r=x,n=l;return c(),o("div",a,[_(n,null,{default:p((()=>[_(r,{label:e.$t("Security.Firewall.Port.index_42"),"show-feedback":!1},{default:p((()=>[d("div",g,[_(i,{value:v(b).chain,"onUpdate:value":t[0]||(t[0]=e=>v(b).chain=e),options:h},null,8,["value"])])])),_:1},8,["label"])])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/export-legacy-BlNzmCv0.js b/BTPanel/static/vite/js/export-legacy-BlNzmCv0.js new file mode 100644 index 00000000..eca0d756 --- /dev/null +++ b/BTPanel/static/vite/js/export-legacy-BlNzmCv0.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./firewall-legacy-DWQWVaXU.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,a){"use strict";var l,t,i,n,r,s,u,c,o,_,p,d,v,y,x,f;return{setters:[e=>{l=e._},e=>{t=e.l},e=>{i=e.i,n=e.at},e=>{r=e.k,s=e.R,u=e.e,c=e.$,o=e.Z,_=e.a0,p=e.a9,d=e._,v=e.S,y=e.N},e=>{x=e.a1,f=e.a6},null],execute:function(){const a={class:"p-20px"},g={class:"w-210px"};e("default",r({__name:"export",props:{chain:{default:"ALL"}},setup(e,{expose:r}){const w=e,{t:j}=s(),b=u({chain:w.chain,rule:"ip"}),h=[{label:j("Security.Firewall.Port.index_4"),value:"ALL"},{label:j("Security.Firewall.Port.index_5"),value:"INPUT"},{label:j("Security.Firewall.Port.index_6"),value:"OUTPUT"}];return r({onConfirm:async()=>{const{message:e}=await t(y(b));i(e)&&n(e.result)}}),(e,t)=>{const i=f,n=x,r=l;return c(),o("div",a,[_(r,null,{default:p((()=>[_(n,{label:e.$t("Security.Firewall.Port.index_26"),"show-feedback":!1},{default:p((()=>[d("div",g,[_(i,{value:v(b).chain,"onUpdate:value":t[0]||(t[0]=e=>v(b).chain=e),options:h},null,8,["value"])])])),_:1},8,["label"])])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/export-legacy-DHfC_ayS.js b/BTPanel/static/vite/js/export-legacy-DHfC_ayS.js deleted file mode 100644 index 6d114823..00000000 --- a/BTPanel/static/vite/js/export-legacy-DHfC_ayS.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index-legacy-DEYz4m3y.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./setting-legacy-DG9cBT-a.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,l){"use strict";var t,a,n,s,i,u,c,r,o,g,d,y,p,_,v,x,f,j;return{setters:[e=>{t=e._},e=>{a=e._},e=>{n=e.ht,s=e.i},e=>{i=e.c},e=>{u=e.U},e=>{c=e.B},e=>{r=e.k,o=e.r,g=e.$,d=e.Z,y=e.a0,p=e.X,_=e.S,v=e._,x=e.a9,f=e.j,j=e.aa},null],execute:function(){const l={class:"p-20px"},m={class:"mt-12px"};e("default",r({__name:"export",setup(e){const r=o(""),$=()=>{i(r.value)},S=()=>{n(r.value,"waf_config.json")};return(async()=>{const{message:e}=await u();s(e)&&(r.value=e.result)})(),(e,n)=>{const s=a,i=c,u=t;return g(),d("div",l,[y(s,{value:_(r),"onUpdate:value":n[0]||(n[0]=e=>p(r)?r.value=e:null),rows:14},null,8,["value"]),v("div",m,[y(i,{type:"primary",onClick:$},{default:x((()=>[f(j(e.$t("Public.Btn.Copy")),1)])),_:1}),y(i,{class:"ml-12px",onClick:S},{default:x((()=>[f(j(e.$t("Public.Btn.Download")),1)])),_:1})]),y(u,{class:"mt-16px"},{default:x((()=>[v("li",null,j(e.$t("Waf.Setting.index_19")),1),v("li",null,j(e.$t("Waf.Setting.index_20")),1),v("li",null,j(e.$t("Waf.Setting.index_21")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/export-legacy-DqmQou1g.js b/BTPanel/static/vite/js/export-legacy-DqmQou1g.js new file mode 100644 index 00000000..ae64f40c --- /dev/null +++ b/BTPanel/static/vite/js/export-legacy-DqmQou1g.js @@ -0,0 +1 @@ +System.register(["./index-legacy-DOsTWPyk.js?v=1774508183068","./index-legacy-C1Nd2_l-.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./setting-legacy-DokWjcpb.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,l){"use strict";var t,a,n,s,i,u,c,r,o,g,d,y,p,_,v,x,f,j;return{setters:[e=>{t=e._},e=>{a=e._},e=>{n=e.hM,s=e.i},e=>{i=e.c},e=>{u=e.U},e=>{c=e.B},e=>{r=e.k,o=e.r,g=e.$,d=e.Z,y=e.a0,p=e.X,_=e.S,v=e._,x=e.a9,f=e.j,j=e.aa},null],execute:function(){const l={class:"p-20px"},m={class:"mt-12px"};e("default",r({__name:"export",setup(e){const r=o(""),$=()=>{i(r.value)},S=()=>{n(r.value,"waf_config.json")};return(async()=>{const{message:e}=await u();s(e)&&(r.value=e.result)})(),(e,n)=>{const s=a,i=c,u=t;return g(),d("div",l,[y(s,{value:_(r),"onUpdate:value":n[0]||(n[0]=e=>p(r)?r.value=e:null),rows:14},null,8,["value"]),v("div",m,[y(i,{type:"primary",onClick:$},{default:x((()=>[f(j(e.$t("Public.Btn.Copy")),1)])),_:1}),y(i,{class:"ml-12px",onClick:S},{default:x((()=>[f(j(e.$t("Public.Btn.Download")),1)])),_:1})]),y(u,{class:"mt-16px"},{default:x((()=>[v("li",null,j(e.$t("Waf.Setting.index_19")),1),v("li",null,j(e.$t("Waf.Setting.index_20")),1),v("li",null,j(e.$t("Waf.Setting.index_21")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/export-legacy-XRoW3mS_.js b/BTPanel/static/vite/js/export-legacy-XRoW3mS_.js new file mode 100644 index 00000000..37e809fc --- /dev/null +++ b/BTPanel/static/vite/js/export-legacy-XRoW3mS_.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./firewall-legacy-DWQWVaXU.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,a){"use strict";var l,t,i,r,n,s,u,c,o,_,p,d,v,y,x,f;return{setters:[e=>{l=e._},e=>{t=e.l},e=>{i=e.i,r=e.at},e=>{n=e.k,s=e.R,u=e.e,c=e.$,o=e.Z,_=e.a0,p=e.a9,d=e._,v=e.S,y=e.N},e=>{x=e.a1,f=e.a6},null],execute:function(){const a={class:"p-20px"},g={class:"w-210px"};e("default",n({__name:"export",props:{chain:{default:"ALL"}},setup(e,{expose:n}){const w=e,{t:j}=s(),b=u({chain:w.chain,rule:"port"}),h=[{label:j("Security.Firewall.Port.index_4"),value:"ALL"},{label:j("Security.Firewall.Port.index_5"),value:"INPUT"},{label:j("Security.Firewall.Port.index_6"),value:"OUTPUT"}];return n({onConfirm:async()=>{const{message:e}=await t(y(b));i(e)&&r(e.result)}}),(e,t)=>{const i=f,r=x,n=l;return c(),o("div",a,[_(n,null,{default:p((()=>[_(r,{label:e.$t("Security.Firewall.Port.index_42"),"show-feedback":!1},{default:p((()=>[d("div",g,[_(i,{value:v(b).chain,"onUpdate:value":t[0]||(t[0]=e=>v(b).chain=e),options:h},null,8,["value"])])])),_:1},8,["label"])])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/export-log-B45mCkHZ.js b/BTPanel/static/vite/js/export-log-B45mCkHZ.js new file mode 100644 index 00000000..80738a95 --- /dev/null +++ b/BTPanel/static/vite/js/export-log-B45mCkHZ.js @@ -0,0 +1 @@ +import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{q as y}from"./logs-CQBk7QBL.js?v=1774508183068";import{i as g}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as w}from"./index-BONgYqGf.js?v=1774508183068";import{d as x}from"./index-pUfnnZXv.js?v=1774508183068";import{k as N,R as k,e as C,$ as O,a8 as S,a9 as n,a0 as s,S as r}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a1 as $,a6 as A}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-DfO7qrru.js?v=1774508183068";import"./useLoading-BRu-BHcC.js?v=1774508183068";import"./index-DjU5tKNP.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-C6hImLDm.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CXJGqQPN.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-ClVUo_Yi.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import"./useTableData-D5IECpFr.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-DdRCjLAW.js?v=1774508183068";import"./index-DWaNuN7x.js?v=1774508183068";import"./firewall-BKBwyxV4.js?v=1774508183068";import"./index-Dd5dC2sI.js?v=1774508183068";import"./logs.vue_vue_type_script_setup_true_lang-7TPZLZfm.js?v=1774508183068";const Z=N({__name:"export-log",props:{ip_area:{type:Number,default:0}},setup(m,{expose:c}){const{t}=k(),u=w(),_=m,e=C({type:"access",time:"all"}),f=[{label:"Access",value:"access"},{label:"Error",value:"error"}],d=[{label:t("Public.All"),value:"all"},{label:t("7 days"),value:"7"},{label:t("30 days"),value:"30"},{label:t("180 days"),value:"180"}];return c({onConfirm:async()=>{const{message:o}=await y({siteName:u.websiteName,logType:e.type,time_search:JSON.stringify(x(e.time)),ip_area:_.ip_area});g(o)&&window.open("/download?filename="+o.result,"_blank","noopener,noreferrer")}}),(o,a)=>{const l=A,i=$,b=v;return O(),S(b,{class:"p-16px"},{default:n(()=>[s(i,{label:o.$t("Home.index_54")},{default:n(()=>[s(l,{class:"w-200px",options:f,value:r(e).type,"onUpdate:value":a[0]||(a[0]=p=>r(e).type=p)},null,8,["value"])]),_:1},8,["label"]),s(i,{label:o.$t("Export range")},{default:n(()=>[s(l,{class:"w-200px",options:d,value:r(e).time,"onUpdate:value":a[1]||(a[1]=p=>r(e).time=p)},null,8,["value"])]),_:1},8,["label"])]),_:1})}}});export{Z as default}; diff --git a/BTPanel/static/vite/js/export-log-Cq8fLYaY.js b/BTPanel/static/vite/js/export-log-Cq8fLYaY.js deleted file mode 100644 index 74477cf0..00000000 --- a/BTPanel/static/vite/js/export-log-Cq8fLYaY.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{q as y}from"./logs-CbT7wTGd.js?v=1773287522785";import{i as g}from"./index-BTglIPU2.js?v=1773287522785";import{u as w}from"./index-CsQ9XTTD.js?v=1773287522785";import{d as x}from"./index-TwdUTOyA.js?v=1773287522785";import{k as N,R as k,e as C,$ as O,a8 as S,a9 as n,a0 as s,S as r}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as $,a6 as A}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-D2Bk83Ev.js?v=1773287522785";import"./useLoading-CZ2gSAW7.js?v=1773287522785";import"./index-BRQskX9P.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DgjjuUjT.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-B7YvCBmY.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-C5hb-Th7.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import"./useTableData-BmkIKQ_R.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-ChFCGdPN.js?v=1773287522785";import"./index-lEMZglLp.js?v=1773287522785";import"./firewall-jQIxKxfN.js?v=1773287522785";import"./index-DIKmrNCq.js?v=1773287522785";import"./logs.vue_vue_type_script_setup_true_lang-ETP00Jn6.js?v=1773287522785";const Z=N({__name:"export-log",props:{ip_area:{type:Number,default:0}},setup(m,{expose:c}){const{t}=k(),u=w(),_=m,e=C({type:"access",time:"all"}),f=[{label:"Access",value:"access"},{label:"Error",value:"error"}],d=[{label:t("Public.All"),value:"all"},{label:t("7 days"),value:"7"},{label:t("30 days"),value:"30"},{label:t("180 days"),value:"180"}];return c({onConfirm:async()=>{const{message:o}=await y({siteName:u.websiteName,logType:e.type,time_search:JSON.stringify(x(e.time)),ip_area:_.ip_area});g(o)&&window.open("/download?filename="+o.result,"_blank","noopener,noreferrer")}}),(o,a)=>{const l=A,i=$,b=v;return O(),S(b,{class:"p-16px"},{default:n(()=>[s(i,{label:o.$t("Home.index_54")},{default:n(()=>[s(l,{class:"w-200px",options:f,value:r(e).type,"onUpdate:value":a[0]||(a[0]=p=>r(e).type=p)},null,8,["value"])]),_:1},8,["label"]),s(i,{label:o.$t("Export range")},{default:n(()=>[s(l,{class:"w-200px",options:d,value:r(e).time,"onUpdate:value":a[1]||(a[1]=p=>r(e).time=p)},null,8,["value"])]),_:1},8,["label"])]),_:1})}}});export{Z as default}; diff --git a/BTPanel/static/vite/js/export-log-legacy-BKS4t7GB.js b/BTPanel/static/vite/js/export-log-legacy-BKS4t7GB.js new file mode 100644 index 00000000..4cf9e406 --- /dev/null +++ b/BTPanel/static/vite/js/export-log-legacy-BKS4t7GB.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./logs-legacy-t08k3oxu.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./index-legacy-Da-tXIyC.js?v=1774508183068","./index-legacy-DH57xPhz.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-2by_1yqo.js?v=1774508183068","./useLoading-legacy-BYj3sJTe.js?v=1774508183068","./index-legacy-B9j5eRUf.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-C46zd6Uw.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-DaMVKsAK.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-Cr0WR19L.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-OnmpsBBi.js?v=1774508183068","./index-legacy-DaaNMh8I.js?v=1774508183068","./firewall-legacy-DWQWVaXU.js?v=1774508183068","./index-legacy-DOsTWPyk.js?v=1774508183068","./logs.vue_vue_type_script_setup_true_lang-legacy-xl_W6kqc.js?v=1774508183068"],(function(e,l){"use strict";var a,u,s,t,n,_,i,r,c,p,y,g,o,d,v;return{setters:[e=>{a=e._},e=>{u=e.q},e=>{s=e.i},e=>{t=e.u},e=>{n=e.d},e=>{_=e.k,i=e.R,r=e.e,c=e.$,p=e.a8,y=e.a9,g=e.a0,o=e.S},e=>{d=e.a1,v=e.a6},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){e("default",_({__name:"export-log",props:{ip_area:{type:Number,default:0}},setup(e,{expose:l}){const{t:_}=i(),j=t(),x=e,b=r({type:"access",time:"all"}),m=[{label:"Access",value:"access"},{label:"Error",value:"error"}],f=[{label:_("Public.All"),value:"all"},{label:_("7 days"),value:"7"},{label:_("30 days"),value:"30"},{label:_("180 days"),value:"180"}];return l({onConfirm:async()=>{const{message:e}=await u({siteName:j.websiteName,logType:b.type,time_search:JSON.stringify(n(b.time)),ip_area:x.ip_area});s(e)&&window.open("/download?filename="+e.result,"_blank","noopener,noreferrer")}}),(e,l)=>{const u=v,s=d,t=a;return c(),p(t,{class:"p-16px"},{default:y((()=>[g(s,{label:e.$t("Home.index_54")},{default:y((()=>[g(u,{class:"w-200px",options:m,value:o(b).type,"onUpdate:value":l[0]||(l[0]=e=>o(b).type=e)},null,8,["value"])])),_:1},8,["label"]),g(s,{label:e.$t("Export range")},{default:y((()=>[g(u,{class:"w-200px",options:f,value:o(b).time,"onUpdate:value":l[1]||(l[1]=e=>o(b).time=e)},null,8,["value"])])),_:1},8,["label"])])),_:1})}}}))}}})); diff --git a/BTPanel/static/vite/js/export-log-legacy-DOe4tckt.js b/BTPanel/static/vite/js/export-log-legacy-DOe4tckt.js deleted file mode 100644 index 82f2168d..00000000 --- a/BTPanel/static/vite/js/export-log-legacy-DOe4tckt.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./logs-legacy-32yr6NrT.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./index-legacy-LM5_xOUf.js?v=1773287522785","./index-legacy-Dwkxr13O.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-CvnE2rtV.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./index-legacy-Cv0QQQJ6.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BWPgT9-g.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BQ2Kqzbl.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BBkGleHZ.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-5qdKE57s.js?v=1773287522785","./index-legacy-BJO1GMTD.js?v=1773287522785","./firewall-legacy-BLYDdl9f.js?v=1773287522785","./index-legacy-DgZ0-E4f.js?v=1773287522785","./logs.vue_vue_type_script_setup_true_lang-legacy-BItZEEdT.js?v=1773287522785"],(function(e,l){"use strict";var a,u,s,t,n,_,r,c,i,p,y,g,o,d,v;return{setters:[e=>{a=e._},e=>{u=e.q},e=>{s=e.i},e=>{t=e.u},e=>{n=e.d},e=>{_=e.k,r=e.R,c=e.e,i=e.$,p=e.a8,y=e.a9,g=e.a0,o=e.S},e=>{d=e.a1,v=e.a6},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){e("default",_({__name:"export-log",props:{ip_area:{type:Number,default:0}},setup(e,{expose:l}){const{t:_}=r(),j=t(),x=e,b=c({type:"access",time:"all"}),m=[{label:"Access",value:"access"},{label:"Error",value:"error"}],f=[{label:_("Public.All"),value:"all"},{label:_("7 days"),value:"7"},{label:_("30 days"),value:"30"},{label:_("180 days"),value:"180"}];return l({onConfirm:async()=>{const{message:e}=await u({siteName:j.websiteName,logType:b.type,time_search:JSON.stringify(n(b.time)),ip_area:x.ip_area});s(e)&&window.open("/download?filename="+e.result,"_blank","noopener,noreferrer")}}),(e,l)=>{const u=v,s=d,t=a;return i(),p(t,{class:"p-16px"},{default:y((()=>[g(s,{label:e.$t("Home.index_54")},{default:y((()=>[g(u,{class:"w-200px",options:m,value:o(b).type,"onUpdate:value":l[0]||(l[0]=e=>o(b).type=e)},null,8,["value"])])),_:1},8,["label"]),g(s,{label:e.$t("Export range")},{default:y((()=>[g(u,{class:"w-200px",options:f,value:o(b).time,"onUpdate:value":l[1]||(l[1]=e=>o(b).time=e)},null,8,["value"])])),_:1},8,["label"])])),_:1})}}}))}}})); diff --git a/BTPanel/static/vite/js/file-B5PwfK2h.js b/BTPanel/static/vite/js/file-B5PwfK2h.js deleted file mode 100644 index 8d288ecb..00000000 --- a/BTPanel/static/vite/js/file-B5PwfK2h.js +++ /dev/null @@ -1 +0,0 @@ -import{as as t,a3 as o}from"./index-BTglIPU2.js?v=1773287522785";const{t:a}=o.global,n=e=>t.post("/files?action=GetDir",{...e,disk:!0}),c=e=>t.post("/files?action=DeleteFile",e,{requestOptions:{loading:a("WP.api.tamper_8"),successMessage:!0}}),p=()=>t.post("/files?action=Get_Recycle_bin"),r=e=>t.post("/files?action=GetFileBody",e),u=e=>t.post("/files?action=SaveFileBody",e,{requestOptions:{loading:a("Site.Api.Index_2"),errorMessage:{close:!0}}}),d=(e,s)=>t.post("/files?action=upload",e,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:i=>{}}),f=(e,s)=>t.post("/files?action=upload",e,{headers:{"Content-Type":"multipart/form-data"},requestOptions:{isOriginalResult:!0},onUploadProgress:i=>{s==null||s(i)}}),g=e=>t.post("/files?action=DeleteFile",e,{requestOptions:{loading:"Deleting file, please wait...",successMessage:!0}});export{c as a,f as b,p as c,g as d,n as e,r as g,u as s,d as u}; diff --git a/BTPanel/static/vite/js/file-CN4ZrtIc.js b/BTPanel/static/vite/js/file-CN4ZrtIc.js deleted file mode 100644 index 09f85164..00000000 --- a/BTPanel/static/vite/js/file-CN4ZrtIc.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/index-DiQQ0asY.js?v=1773287522785","js/index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785","js/index-BTglIPU2.js?v=1773287522785","js/vue-core-DJjvd5ZC.js?v=1773287522785","js/prismjs-BZPoR7_J.js?v=1773287522785","css/prismjs-D-3FhBe_.css?v=1773287522785","js/naive-ui--dJnpVcV.js?v=1773287522785","css/index-DEM1fxGq.css?v=1773287522785","js/data-BVsViUMm.js?v=1773287522785","js/file-B5PwfK2h.js?v=1773287522785","js/useTableData-BmkIKQ_R.js?v=1773287522785","js/useLoading-CZ2gSAW7.js?v=1773287522785","css/index-BynwbJKX.css?v=1773287522785"])))=>i.map(i=>d[i]); -import{p as o,P as a}from"./index-BTglIPU2.js?v=1773287522785";import{R as s,a3 as n}from"./vue-core-DJjvd5ZC.js?v=1773287522785";const i=e=>{const{t}=s();o({title:t("Component.SelectPath.index_7"),width:720,height:540,footer:!0,data:{path:e.path||"/www/wwwroot",checkedType:e.checkedType||["dir"],callback:e.onCheckedSuccess},component:n(()=>a(()=>import("./index-DiQQ0asY.js?v=1773287522785"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12])))})};function p(e){return/^[a-zA-Z]:\\/.test(e)||/^\/[a-zA-Z0-9]*/.test(e)}export{p as i,i as o}; diff --git a/BTPanel/static/vite/js/file-CfGNXe_F.js b/BTPanel/static/vite/js/file-CfGNXe_F.js new file mode 100644 index 00000000..4e22542f --- /dev/null +++ b/BTPanel/static/vite/js/file-CfGNXe_F.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/index-BY33lxR1.js?v=1774508183068","js/index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068","js/index-LQ-JIYiv.js?v=1774508183068","js/vue-core-BlDeWrD6.js?v=1774508183068","js/prismjs-BZPoR7_J.js?v=1774508183068","css/prismjs-D-3FhBe_.css?v=1774508183068","js/naive-ui-BjvXgNtF.js?v=1774508183068","css/index-Bu1Pw919.css?v=1774508183068","js/data-DKqR3z3t.js?v=1774508183068","js/file-hztMD38V.js?v=1774508183068","js/useTableData-D5IECpFr.js?v=1774508183068","js/useLoading-BRu-BHcC.js?v=1774508183068","css/index-BynwbJKX.css?v=1774508183068"])))=>i.map(i=>d[i]); +import{p as o,S as a}from"./index-LQ-JIYiv.js?v=1774508183068";import{R as s,a3 as n}from"./vue-core-BlDeWrD6.js?v=1774508183068";const i=e=>{const{t}=s();o({title:t("Component.SelectPath.index_7"),width:720,height:540,footer:!0,data:{path:e.path||"/www/wwwroot",checkedType:e.checkedType||["dir"],callback:e.onCheckedSuccess},component:n(()=>a(()=>import("./index-BY33lxR1.js?v=1774508183068"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12])))})};function p(e){return/^[a-zA-Z]:\\/.test(e)||/^\/[a-zA-Z0-9]*/.test(e)}export{p as i,i as o}; diff --git a/BTPanel/static/vite/js/file-detail-B3IM8_IJ.js b/BTPanel/static/vite/js/file-detail-B3IM8_IJ.js deleted file mode 100644 index 43cb022a..00000000 --- a/BTPanel/static/vite/js/file-detail-B3IM8_IJ.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/file-edit-Wm4uBnHQ.js?v=1773287522785","js/index-BTglIPU2.js?v=1773287522785","js/vue-core-DJjvd5ZC.js?v=1773287522785","js/prismjs-BZPoR7_J.js?v=1773287522785","css/prismjs-D-3FhBe_.css?v=1773287522785","js/naive-ui--dJnpVcV.js?v=1773287522785","css/index-DEM1fxGq.css?v=1773287522785"])))=>i.map(i=>d[i]); -import{v as S,_ as y,x as k,P as w}from"./index-BTglIPU2.js?v=1773287522785";import{k as H,R as D,O as g,$ as C,Z as v,a0 as t,a9 as a,j as l,aa as i,S as o,a3 as x}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{aj as E,ak as M}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const P={class:"p-[2rem]"},j=H({__name:"file-detail",props:{data:{}},setup(m){const r=x(()=>w(()=>import("./file-edit-Wm4uBnHQ.js?v=1773287522785"),__vite__mapDeps([0,1,2,3,4,5,6]))),{t:p}=D(),u=m,{data:s}=g(u),_=S(p("Home.Security.index_8")),c=()=>{_.data.path=s.value.filepath,_.show=!0};return(e,d)=>{const n=E,f=y,b=M,$=k;return C(),v("div",P,[t(b,{bordered:"",size:"medium",column:2},{default:a(()=>[t(n,{label:e.$t("Component.SelectPath.index_3")},{default:a(()=>[l(i(o(s).filename),1)]),_:1},8,["label"]),t(n,{label:e.$t("Docker.LocalImage.index_22")},{default:a(()=>[l(i(o(s).filepath),1)]),_:1},8,["label"]),t(n,{label:"MD5"},{default:a(()=>[l(i(o(s).md5),1)]),_:1}),t(n,{label:e.$t("Home.Security.index_1")},{default:a(()=>[l(i(o(s).threat_type),1)]),_:1},8,["label"]),t(n,{label:e.$t("Home.Security.index_2")},{default:a(()=>[l(i(o(s).quarantined?e.$t("Account.Disk.disk_810348-10"):e.$t("Crontab.Script.index_13")),1)]),_:1},8,["label"]),t(n,{label:e.$t("Home.Security.index_3")},{default:a(()=>[t(f,{onClick:c},{default:a(()=>[l(i(e.$t("Mail.Email.index_5")),1)]),_:1})]),_:1},8,["label"]),t(n,{label:e.$t("Home.Security.index_4"),span:2},{default:a(()=>[l(i(e.$t("Home.Security.index_6")),1)]),_:1},8,["label"]),t(n,{label:e.$t("Home.Security.index_5"),span:2},{default:a(()=>[l(i(e.$t("Home.Security.index_7")),1)]),_:1},8,["label"])]),_:1}),t($,{show:o(_).show,"onUpdate:show":d[0]||(d[0]=h=>o(_).show=h),title:o(_).title,data:o(_).data,width:700,footer:!1,component:o(r)},null,8,["show","title","data","component"])])}}});export{j as default}; diff --git a/BTPanel/static/vite/js/file-detail-BXBqmjk2.js b/BTPanel/static/vite/js/file-detail-BXBqmjk2.js new file mode 100644 index 00000000..a9cfba55 --- /dev/null +++ b/BTPanel/static/vite/js/file-detail-BXBqmjk2.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/file-edit-BUqhQj_Y.js?v=1774508183068","js/index-LQ-JIYiv.js?v=1774508183068","js/vue-core-BlDeWrD6.js?v=1774508183068","js/prismjs-BZPoR7_J.js?v=1774508183068","css/prismjs-D-3FhBe_.css?v=1774508183068","js/naive-ui-BjvXgNtF.js?v=1774508183068","css/index-Bu1Pw919.css?v=1774508183068"])))=>i.map(i=>d[i]); +import{v as S,_ as y,y as k,S as w}from"./index-LQ-JIYiv.js?v=1774508183068";import{k as H,R as D,O as g,$ as C,Z as v,a0 as t,a9 as a,j as l,aa as i,S as o,a3 as E}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{ak as x,al as M}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const V={class:"p-[2rem]"},B=H({__name:"file-detail",props:{data:{}},setup(m){const r=E(()=>w(()=>import("./file-edit-BUqhQj_Y.js?v=1774508183068"),__vite__mapDeps([0,1,2,3,4,5,6]))),{t:p}=D(),u=m,{data:s}=g(u),_=S(p("Home.Security.index_8")),c=()=>{_.data.path=s.value.filepath,_.show=!0};return(e,d)=>{const n=x,f=y,b=M,$=k;return C(),v("div",V,[t(b,{bordered:"",size:"medium",column:2},{default:a(()=>[t(n,{label:e.$t("Component.SelectPath.index_3")},{default:a(()=>[l(i(o(s).filename),1)]),_:1},8,["label"]),t(n,{label:e.$t("Docker.LocalImage.index_22")},{default:a(()=>[l(i(o(s).filepath),1)]),_:1},8,["label"]),t(n,{label:"MD5"},{default:a(()=>[l(i(o(s).md5),1)]),_:1}),t(n,{label:e.$t("Home.Security.index_1")},{default:a(()=>[l(i(o(s).threat_type),1)]),_:1},8,["label"]),t(n,{label:e.$t("Home.Security.index_2")},{default:a(()=>[l(i(o(s).quarantined?e.$t("Account.Disk.disk_810348-10"):e.$t("Crontab.Script.index_13")),1)]),_:1},8,["label"]),t(n,{label:e.$t("Home.Security.index_3")},{default:a(()=>[t(f,{onClick:c},{default:a(()=>[l(i(e.$t("Mail.Email.index_5")),1)]),_:1})]),_:1},8,["label"]),t(n,{label:e.$t("Home.Security.index_4"),span:2},{default:a(()=>[l(i(e.$t("Home.Security.index_6")),1)]),_:1},8,["label"]),t(n,{label:e.$t("Home.Security.index_5"),span:2},{default:a(()=>[l(i(e.$t("Home.Security.index_7")),1)]),_:1},8,["label"])]),_:1}),t($,{show:o(_).show,"onUpdate:show":d[0]||(d[0]=h=>o(_).show=h),title:o(_).title,data:o(_).data,width:700,footer:!1,component:o(r)},null,8,["show","title","data","component"])])}}});export{B as default}; diff --git a/BTPanel/static/vite/js/file-detail-legacy-BT2X6_ZN.js b/BTPanel/static/vite/js/file-detail-legacy-BT2X6_ZN.js deleted file mode 100644 index 698cacb3..00000000 --- a/BTPanel/static/vite/js/file-detail-legacy-BT2X6_ZN.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,t){"use strict";var a,l,i,n,d,o,u,c,r,s,_,m,f,p,b,x,y;return{setters:[e=>{a=e.v,l=e._,i=e.x,n=e.P},e=>{d=e.k,o=e.R,u=e.O,c=e.$,r=e.Z,s=e.a0,_=e.a9,m=e.j,f=e.aa,p=e.S,b=e.a3},e=>{x=e.aj,y=e.ak},null],execute:function(){const $={class:"p-[2rem]"};e("default",d({__name:"file-detail",props:{data:{}},setup(e){const d=b((()=>n((()=>t.import("./file-edit-legacy-mqyjbS11.js?v=1773287522785")),void 0))),{t:h}=o(),S=e,{data:j}=u(S),H=a(h("Home.Security.index_8")),g=()=>{H.data.path=j.value.filepath,H.show=!0};return(e,t)=>{const a=x,n=l,o=y,u=i;return c(),r("div",$,[s(o,{bordered:"",size:"medium",column:2},{default:_((()=>[s(a,{label:e.$t("Component.SelectPath.index_3")},{default:_((()=>[m(f(p(j).filename),1)])),_:1},8,["label"]),s(a,{label:e.$t("Docker.LocalImage.index_22")},{default:_((()=>[m(f(p(j).filepath),1)])),_:1},8,["label"]),s(a,{label:"MD5"},{default:_((()=>[m(f(p(j).md5),1)])),_:1}),s(a,{label:e.$t("Home.Security.index_1")},{default:_((()=>[m(f(p(j).threat_type),1)])),_:1},8,["label"]),s(a,{label:e.$t("Home.Security.index_2")},{default:_((()=>[m(f(p(j).quarantined?e.$t("Account.Disk.disk_810348-10"):e.$t("Crontab.Script.index_13")),1)])),_:1},8,["label"]),s(a,{label:e.$t("Home.Security.index_3")},{default:_((()=>[s(n,{onClick:g},{default:_((()=>[m(f(e.$t("Mail.Email.index_5")),1)])),_:1})])),_:1},8,["label"]),s(a,{label:e.$t("Home.Security.index_4"),span:2},{default:_((()=>[m(f(e.$t("Home.Security.index_6")),1)])),_:1},8,["label"]),s(a,{label:e.$t("Home.Security.index_5"),span:2},{default:_((()=>[m(f(e.$t("Home.Security.index_7")),1)])),_:1},8,["label"])])),_:1}),s(u,{show:p(H).show,"onUpdate:show":t[0]||(t[0]=e=>p(H).show=e),title:p(H).title,data:p(H).data,width:700,footer:!1,component:p(d)},null,8,["show","title","data","component"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/file-detail-legacy-Bwt6dsek.js b/BTPanel/static/vite/js/file-detail-legacy-Bwt6dsek.js new file mode 100644 index 00000000..39de718e --- /dev/null +++ b/BTPanel/static/vite/js/file-detail-legacy-Bwt6dsek.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,t){"use strict";var a,l,i,n,d,o,u,c,r,s,_,m,f,b,p,y,x;return{setters:[e=>{a=e.v,l=e._,i=e.y,n=e.S},e=>{d=e.k,o=e.R,u=e.O,c=e.$,r=e.Z,s=e.a0,_=e.a9,m=e.j,f=e.aa,b=e.S,p=e.a3},e=>{y=e.ak,x=e.al},null],execute:function(){const S={class:"p-[2rem]"};e("default",d({__name:"file-detail",props:{data:{}},setup(e){const d=p((()=>n((()=>t.import("./file-edit-legacy-DgUCvo63.js?v=1774508183068")),void 0))),{t:$}=o(),h=e,{data:H}=u(h),g=a($("Home.Security.index_8")),j=()=>{g.data.path=H.value.filepath,g.show=!0};return(e,t)=>{const a=y,n=l,o=x,u=i;return c(),r("div",S,[s(o,{bordered:"",size:"medium",column:2},{default:_((()=>[s(a,{label:e.$t("Component.SelectPath.index_3")},{default:_((()=>[m(f(b(H).filename),1)])),_:1},8,["label"]),s(a,{label:e.$t("Docker.LocalImage.index_22")},{default:_((()=>[m(f(b(H).filepath),1)])),_:1},8,["label"]),s(a,{label:"MD5"},{default:_((()=>[m(f(b(H).md5),1)])),_:1}),s(a,{label:e.$t("Home.Security.index_1")},{default:_((()=>[m(f(b(H).threat_type),1)])),_:1},8,["label"]),s(a,{label:e.$t("Home.Security.index_2")},{default:_((()=>[m(f(b(H).quarantined?e.$t("Account.Disk.disk_810348-10"):e.$t("Crontab.Script.index_13")),1)])),_:1},8,["label"]),s(a,{label:e.$t("Home.Security.index_3")},{default:_((()=>[s(n,{onClick:j},{default:_((()=>[m(f(e.$t("Mail.Email.index_5")),1)])),_:1})])),_:1},8,["label"]),s(a,{label:e.$t("Home.Security.index_4"),span:2},{default:_((()=>[m(f(e.$t("Home.Security.index_6")),1)])),_:1},8,["label"]),s(a,{label:e.$t("Home.Security.index_5"),span:2},{default:_((()=>[m(f(e.$t("Home.Security.index_7")),1)])),_:1},8,["label"])])),_:1}),s(u,{show:b(g).show,"onUpdate:show":t[0]||(t[0]=e=>b(g).show=e),title:b(g).title,data:b(g).data,width:700,footer:!1,component:b(d)},null,8,["show","title","data","component"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/file-edit-BUqhQj_Y.js b/BTPanel/static/vite/js/file-edit-BUqhQj_Y.js new file mode 100644 index 00000000..45515ae5 --- /dev/null +++ b/BTPanel/static/vite/js/file-edit-BUqhQj_Y.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/index-CgLZJKkf.js?v=1774508183068","js/theme-monokai-DgrkjCWv.js?v=1774508183068","js/ace-CNnfDSio.js?v=1774508183068","js/prismjs-BZPoR7_J.js?v=1774508183068","css/prismjs-D-3FhBe_.css?v=1774508183068","js/index-LQ-JIYiv.js?v=1774508183068","js/vue-core-BlDeWrD6.js?v=1774508183068","js/naive-ui-BjvXgNtF.js?v=1774508183068","css/index-Bu1Pw919.css?v=1774508183068","js/useLoading-BRu-BHcC.js?v=1774508183068","js/file-hztMD38V.js?v=1774508183068","css/index-v0taN_O4.css?v=1774508183068"])))=>i.map(i=>d[i]); +import{S as s}from"./index-LQ-JIYiv.js?v=1774508183068";import{k as n,r as i,$ as f,a8 as l,X as m,S as o,a3 as _}from"./vue-core-BlDeWrD6.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./naive-ui-BjvXgNtF.js?v=1774508183068";const A=n({__name:"file-edit",props:{path:{default:""}},setup(a){const p=_(()=>s(()=>import("./index-CgLZJKkf.js?v=1774508183068"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]))),t=i(a.path||"");return(u,e)=>(f(),l(o(p),{ref:"configRef",path:o(t),"onUpdate:path":e[0]||(e[0]=r=>m(t)?t.value=r:null),height:400,"show-tips":!1,init:""},null,8,["path"]))}});export{A as default}; diff --git a/BTPanel/static/vite/js/file-edit-Wm4uBnHQ.js b/BTPanel/static/vite/js/file-edit-Wm4uBnHQ.js deleted file mode 100644 index c5eda3f9..00000000 --- a/BTPanel/static/vite/js/file-edit-Wm4uBnHQ.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/index-Cy3Gp9Hk.js?v=1773287522785","js/theme-monokai-Bqt0uTuQ.js?v=1773287522785","js/ace-CNnfDSio.js?v=1773287522785","js/prismjs-BZPoR7_J.js?v=1773287522785","css/prismjs-D-3FhBe_.css?v=1773287522785","js/index-BTglIPU2.js?v=1773287522785","js/vue-core-DJjvd5ZC.js?v=1773287522785","js/naive-ui--dJnpVcV.js?v=1773287522785","css/index-DEM1fxGq.css?v=1773287522785","js/useLoading-CZ2gSAW7.js?v=1773287522785","js/file-B5PwfK2h.js?v=1773287522785","css/index-v0taN_O4.css?v=1773287522785"])))=>i.map(i=>d[i]); -import{P as s}from"./index-BTglIPU2.js?v=1773287522785";import{k as n,r as i,$ as f,a8 as l,X as m,S as o,a3 as _}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./naive-ui--dJnpVcV.js?v=1773287522785";const A=n({__name:"file-edit",props:{path:{default:""}},setup(a){const p=_(()=>s(()=>import("./index-Cy3Gp9Hk.js?v=1773287522785"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]))),t=i(a.path||"");return(u,e)=>(f(),l(o(p),{ref:"configRef",path:o(t),"onUpdate:path":e[0]||(e[0]=r=>m(t)?t.value=r:null),height:400,"show-tips":!1,init:""},null,8,["path"]))}});export{A as default}; diff --git a/BTPanel/static/vite/js/file-edit-legacy-DgUCvo63.js b/BTPanel/static/vite/js/file-edit-legacy-DgUCvo63.js new file mode 100644 index 00000000..4ed1d30b --- /dev/null +++ b/BTPanel/static/vite/js/file-edit-legacy-DgUCvo63.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068"],(function(e,t){"use strict";var a,i,n,s,l,u,r,c;return{setters:[e=>{a=e.S},e=>{i=e.k,n=e.r,s=e.$,l=e.a8,u=e.X,r=e.S,c=e.a3},null,null],execute:function(){e("default",i({__name:"file-edit",props:{path:{default:""}},setup(e){const i=c((()=>a((()=>t.import("./index-legacy-QtAQflDH.js?v=1774508183068")),void 0))),p=n(e.path||"");return(e,t)=>(s(),l(r(i),{ref:"configRef",path:r(p),"onUpdate:path":t[0]||(t[0]=e=>u(p)?p.value=e:null),height:400,"show-tips":!1,init:""},null,8,["path"]))}}))}}})); diff --git a/BTPanel/static/vite/js/file-edit-legacy-mqyjbS11.js b/BTPanel/static/vite/js/file-edit-legacy-mqyjbS11.js deleted file mode 100644 index 33dd5dcd..00000000 --- a/BTPanel/static/vite/js/file-edit-legacy-mqyjbS11.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,t){"use strict";var a,i,n,s,l,u,r,c;return{setters:[e=>{a=e.P},e=>{i=e.k,n=e.r,s=e.$,l=e.a8,u=e.X,r=e.S,c=e.a3},null,null],execute:function(){e("default",i({__name:"file-edit",props:{path:{default:""}},setup(e){const i=c((()=>a((()=>t.import("./index-legacy-DaNJUJqN.js?v=1773287522785")),void 0))),p=n(e.path||"");return(e,t)=>(s(),l(r(i),{ref:"configRef",path:r(p),"onUpdate:path":t[0]||(t[0]=e=>u(p)?p.value=e:null),height:400,"show-tips":!1,init:""},null,8,["path"]))}}))}}})); diff --git a/BTPanel/static/vite/js/file-hztMD38V.js b/BTPanel/static/vite/js/file-hztMD38V.js new file mode 100644 index 00000000..9ae9efb8 --- /dev/null +++ b/BTPanel/static/vite/js/file-hztMD38V.js @@ -0,0 +1 @@ +import{av as t,a6 as o}from"./index-LQ-JIYiv.js?v=1774508183068";const{t:a}=o.global,n=e=>t.post("/files?action=GetDir",{...e,disk:!0}),c=e=>t.post("/files?action=DeleteFile",e,{requestOptions:{loading:a("WP.api.tamper_8"),successMessage:!0}}),p=()=>t.post("/files?action=Get_Recycle_bin"),r=e=>t.post("/files?action=GetFileBody",e),u=e=>t.post("/files?action=SaveFileBody",e,{requestOptions:{loading:a("Site.Api.Index_2"),errorMessage:{close:!0}}}),d=(e,s)=>t.post("/files?action=upload",e,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:i=>{}}),f=(e,s)=>t.post("/files?action=upload",e,{headers:{"Content-Type":"multipart/form-data"},requestOptions:{isOriginalResult:!0},onUploadProgress:i=>{s==null||s(i)}}),g=e=>t.post("/files?action=DeleteFile",e,{requestOptions:{loading:"Deleting file, please wait...",successMessage:!0}});export{c as a,f as b,p as c,g as d,n as e,r as g,u as s,d as u}; diff --git a/BTPanel/static/vite/js/file-legacy-BH6f1Pri.js b/BTPanel/static/vite/js/file-legacy-BH6f1Pri.js new file mode 100644 index 00000000..30b82872 --- /dev/null +++ b/BTPanel/static/vite/js/file-legacy-BH6f1Pri.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068"],(function(e,s){"use strict";var t,i;return{setters:[e=>{t=e.av,i=e.a6}],execute:function(){const{t:s}=i.global;e("e",(e=>t.post("/files?action=GetDir",{...e,disk:!0}))),e("a",(e=>t.post("/files?action=DeleteFile",e,{requestOptions:{loading:s("WP.api.tamper_8"),successMessage:!0}}))),e("c",(()=>t.post("/files?action=Get_Recycle_bin"))),e("g",(e=>t.post("/files?action=GetFileBody",e))),e("s",(e=>t.post("/files?action=SaveFileBody",e,{requestOptions:{loading:s("Site.Api.Index_2"),errorMessage:{close:!0}}}))),e("u",((e,s)=>t.post("/files?action=upload",e,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:e=>{}}))),e("b",((e,s)=>t.post("/files?action=upload",e,{headers:{"Content-Type":"multipart/form-data"},requestOptions:{isOriginalResult:!0},onUploadProgress:e=>{s?.(e)}}))),e("d",(e=>t.post("/files?action=DeleteFile",e,{requestOptions:{loading:"Deleting file, please wait...",successMessage:!0}})))}}})); diff --git a/BTPanel/static/vite/js/file-legacy-Bt6Hxu9s.js b/BTPanel/static/vite/js/file-legacy-Bt6Hxu9s.js deleted file mode 100644 index 1c2e6b91..00000000 --- a/BTPanel/static/vite/js/file-legacy-Bt6Hxu9s.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785"],(function(e,s){"use strict";var t,i;return{setters:[e=>{t=e.as,i=e.a3}],execute:function(){const{t:s}=i.global;e("e",(e=>t.post("/files?action=GetDir",{...e,disk:!0}))),e("a",(e=>t.post("/files?action=DeleteFile",e,{requestOptions:{loading:s("WP.api.tamper_8"),successMessage:!0}}))),e("c",(()=>t.post("/files?action=Get_Recycle_bin"))),e("g",(e=>t.post("/files?action=GetFileBody",e))),e("s",(e=>t.post("/files?action=SaveFileBody",e,{requestOptions:{loading:s("Site.Api.Index_2"),errorMessage:{close:!0}}}))),e("u",((e,s)=>t.post("/files?action=upload",e,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:e=>{}}))),e("b",((e,s)=>t.post("/files?action=upload",e,{headers:{"Content-Type":"multipart/form-data"},requestOptions:{isOriginalResult:!0},onUploadProgress:e=>{s?.(e)}}))),e("d",(e=>t.post("/files?action=DeleteFile",e,{requestOptions:{loading:"Deleting file, please wait...",successMessage:!0}})))}}})); diff --git a/BTPanel/static/vite/js/file-legacy-CgYU1kud.js b/BTPanel/static/vite/js/file-legacy-CgYU1kud.js new file mode 100644 index 00000000..c608faed --- /dev/null +++ b/BTPanel/static/vite/js/file-legacy-CgYU1kud.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068"],(function(e,t){"use strict";var c,n,o,i;return{setters:[e=>{c=e.p,n=e.S},e=>{o=e.R,i=e.a3}],execute:function(){e("i",(function(e){return/^[a-zA-Z]:\\/.test(e)||/^\/[a-zA-Z0-9]*/.test(e)})),e("o",(e=>{const{t:a}=o();c({title:a("Component.SelectPath.index_7"),width:720,height:540,footer:!0,data:{path:e.path||"/www/wwwroot",checkedType:e.checkedType||["dir"],callback:e.onCheckedSuccess},component:i((()=>n((()=>t.import("./index-legacy-CUFVNZkT.js?v=1774508183068")),void 0)))})}))}}})); diff --git a/BTPanel/static/vite/js/file-legacy-DhGqNjkT.js b/BTPanel/static/vite/js/file-legacy-DhGqNjkT.js deleted file mode 100644 index fa53f457..00000000 --- a/BTPanel/static/vite/js/file-legacy-DhGqNjkT.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785"],(function(e,t){"use strict";var c,n,o,i;return{setters:[e=>{c=e.p,n=e.P},e=>{o=e.R,i=e.a3}],execute:function(){e("i",(function(e){return/^[a-zA-Z]:\\/.test(e)||/^\/[a-zA-Z0-9]*/.test(e)})),e("o",(e=>{const{t:a}=o();c({title:a("Component.SelectPath.index_7"),width:720,height:540,footer:!0,data:{path:e.path||"/www/wwwroot",checkedType:e.checkedType||["dir"],callback:e.onCheckedSuccess},component:i((()=>n((()=>t.import("./index-legacy-4D1v8_lc.js?v=1773287522785")),void 0)))})}))}}})); diff --git a/BTPanel/static/vite/js/file-upload-CbaM_-6s.js b/BTPanel/static/vite/js/file-upload-CbaM_-6s.js deleted file mode 100644 index 3bf5835f..00000000 --- a/BTPanel/static/vite/js/file-upload-CbaM_-6s.js +++ /dev/null @@ -1 +0,0 @@ -import{k as J,R as Q,c as P,r as S,a0 as o,j as T,$ as z,Z as F,_ as $,a9 as v,aa as N,S as f,X as H,a8 as Y,aj as ee,ak as te}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{C as B,l as K,m as U,p as ae,c as se}from"./index-BTglIPU2.js?v=1773287522785";import{u as ne}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{u as oe,a as D}from"./index-C-H96YRC.js?v=1773287522785";import{u as le,ab as ie,B as re,ar as pe,a$ as ce,at as L,n as de}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index-DIKmrNCq.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-C5hb-Th7.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-D2Bk83Ev.js?v=1773287522785";import"./useTableData-BmkIKQ_R.js?v=1773287522785";import"./FileIcon-eIHDRaxH.js?v=1773287522785";import"./soft-Cjyfamvm.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import"./useSocket-DTHwGZgK.js?v=1773287522785";import"./file-CN4ZrtIc.js?v=1773287522785";const ue={class:"p-16px"},fe={class:"flex items-center mb-12px"},me={key:1,class:"flex-center flex-col h-300px"},_e={class:"drag-text"},he={key:0,class:"drag-suffix"},ge=50*1024*1024,xe=J({__name:"file-upload",props:{path:{default:""},node_id:{},size:{},uploadData:{default:()=>({multiple:!0})},uploadSuccess:{},showSuccessMsg:{type:Boolean,default:!0}},emits:["setConfirm"],setup(R,{expose:V,emit:X}){const m=R,E=X,{path:A,node_id:M}=m,{t:l}=Q(),Z=le(),C=P(()=>({multiple:!0,...m.uploadData})),_=S([]),k=S(new Map),j=P(()=>(C.value.accept||"").split(",").map(a=>"'".concat(a,"'")).join(", ")),I=e=>{var c,u,h;const{file:a}=e;return((u=(c=a.file)==null?void 0:c.size)!=null?u:0)>1024*1024*((h=m.size)!=null?h:1/0)?(U.error(l("Component.UploadFile.index_7",[a.name,m.size])),!1):(C.value.multiple||(_.value=[]),!0)},O=e=>{const a=e.id||e.name,c=k.value.get(a);c&&(c.abort(),k.value.delete(a),e.status="error",e.percentage=0,U.info("Upload Canceled: ".concat(e.name)))},W=S([{key:"name",title:l("Component.UploadFile.index_3"),ellipsis:!0},{key:"size",title:l("Component.UploadFile.index_4"),width:100,render:e=>{var a;return B((a=e.file)==null?void 0:a.size)}},{key:"status",title:l("Component.UploadFile.index_5"),width:140,render:e=>{if(e.status==="pending")return l("Component.UploadFile.index_8");if(e.status==="finished")return o("span",{class:"text-primary"},[l("Component.UploadFile.index_9")]);if(e.status==="error")return o("span",{class:"text-error"},[T("Upload Failed")]);const a=e.percentage?e.percentage.toFixed(1):0;return o(ie,{type:"line",color:Z.value.primaryColor,"indicator-placement":"outside",processing:!0,percentage:Number(a)},null)}},ne({width:70,options:(e,a)=>[{label:l("Public.Btn.Del"),type:"error",show:e.status!=="uploading",onClick:()=>_.value.splice(a,1)},{label:l("Public.Btn.Cancel"),type:"warning",show:e.status==="uploading",onClick:()=>O(e)}]})]),q=async(e,a,c,u)=>{const g=Math.ceil(e.size/10485760);let d=0;for(let w=0;w{if(u.signal.aborted)return;const x=(d+(y.progress||0)*r)/e.size*100;c(Math.min(x,99))});let p=t;if(s&&typeof s.message=="number"&&(p=s.message),d=Math.max(d,p),c(Math.min(d/e.size*100,99)),d>=e.size)break;w=Math.floor(d/10485760)-1}catch(s){let p=!1;for(let y=0;y<3;y++){if(u.signal.aborted)throw new Error("Upload Canceled");try{await new Promise(G=>setTimeout(G,1e3));const x=await D(n);if(x&&typeof x.message=="number"){d=x.message,p=!0;break}}catch(x){p=!1}}if(!p)throw new Error("Chunk ".concat(w+1," upload failed"))}}return c(100),!0};return V({onConfirm:async()=>{var b;const e=_.value.filter(t=>t.status==="pending");if(!e.length)return U.error(l("Component.UploadFile.index_10")),!1;const a=t=>{const i=t.fullPath||t.name;return(m.path.endsWith("/")?m.path:m.path+"/")+i},c=e.map(t=>a(t)).join("\n"),{message:u}=await oe({files:c,node_id:M});let h=e;if(Array.isArray(u)){const t=u.filter(i=>i.exists);if(t.length>0){const i=await new Promise(r=>{ae({title:l("file.uploadModal.conflictTitle"),width:600,footer:!0,confirmText:l("file.uploadModal.conflictOverwrite"),cancelText:l("file.uploadModal.conflictSkip"),onConfirm:()=>r("overwrite"),onPublicClose:()=>r("skip"),onClose:()=>r("cancel"),content:()=>{const n=t.map(s=>{var y;const p=e.find(x=>a(x)===s.filename);return{...s,localSize:((y=p==null?void 0:p.file)==null?void 0:y.size)||0}});return o("div",{class:"p-20px"},[o("div",{class:"flex items-center gap-10px mb-16px"},[o(K,{name:"base-warning",size:"30",class:"text-warning"},null),o("div",{class:"flex-1 w-0 text-14px"},[l("file.uploadModal.conflictMessage")])]),o(L,{"max-height":300,data:n,columns:[{title:l("file.uploadModal.conflictFileName"),key:"filename",render:s=>o(de,null,{default:()=>[o("span",null,[s.filename.split("/").pop()])]})},{title:l("file.uploadModal.conflictFileDifference"),key:"difference",width:220,render:s=>o("div",{class:"flex items-center"},[o("span",{class:"color-primary"},[B(s.localSize)]),o("i",{class:"i-material-symbols:arrow-right-alt-rounded mx-5px text-18px"},null),o("span",{class:"color-gray"},[B(s.size)])])}]},null)])}})});if(i==="cancel")return!1;if(i==="skip"){const r=new Set(t.map(n=>n.filename));h=e.filter(n=>!r.has(a(n))),e.forEach(n=>{r.has(a(n))&&(n.status="finished",n.percentage=100)})}}}if(!h.length)return U.info(l("All files are skipped")),!0;E("setConfirm",{disabled:!0}),h.forEach(t=>t.status="uploading");let g=!0,d=!1;for(const t of h){const i=t.file;if(!i)continue;const r=new AbortController,n=t.id||t.name;k.value.set(n,r);try{if(i.size>ge){if(!await q(i,t.name,p=>t.percentage=p,r)||r.signal.aborted){t.status="error",d=!0;continue}}else{const s=new FormData;s.append("f_path",A),s.append("f_name",t.name),s.append("f_start","0"),s.append("f_size",i.size.toString()),s.append("blob",i),s.append("node_id",M),await D(s,p=>{r.signal.aborted||(t.percentage=(p.progress||0)*100)})}if(r.signal.aborted){t.status="error",d=!0;continue}t.status="finished"}catch(s){t.status="error",U.error("".concat(t.name," upload failed}")),g=!1}finally{k.value.delete(n)}}g&&!d&&m.showSuccessMsg&&e.filter(i=>i.status==="finished").length&&U.success(l("Component.UploadFile.index_9")),E("setConfirm",{disabled:!1});const w=e.filter(t=>t.status==="finished");return w.length&&await((b=m.uploadSuccess)==null?void 0:b.call(m,w)),g&&!d}}),(e,a)=>{const c=re,u=pe,h=ce;return z(),F("div",ue,[$("div",fe,[o(u,{ref:"upload",class:"w-auto","file-list":f(_),"onUpdate:fileList":a[0]||(a[0]=g=>H(_)?_.value=g:null),accept:f(C).accept,multiple:f(C).multiple,"default-upload":!1,"show-file-list":!1,onBeforeUpload:I},{default:v(()=>[o(c,{type:"primary"},{default:v(()=>[T(N(e.$t("Component.UploadFile.index_6")),1)]),_:1})]),_:1},8,["file-list","accept","multiple"])]),o(u,{ref:"upload",class:"w-auto","file-list":f(_),"onUpdate:fileList":a[2]||(a[2]=g=>H(_)?_.value=g:null),accept:f(C).accept,multiple:f(C).multiple,"default-upload":!1,"show-file-list":!1,onBeforeUpload:I},{default:v(()=>[o(h,null,{default:v(()=>[f(_).length>0?(z(),Y(f(L),{key:0,"max-height":300,bordered:!1,data:f(_),columns:f(W),onClick:a[1]||(a[1]=ee(()=>{},["stop"]))},null,8,["data","columns"])):(z(),F("div",me,[o(K,{name:"base-upload",size:"48",class:"text-#999"}),$("div",_e,N(e.$t("Component.UploadFile.index_1")),1),f(C).accept?(z(),F("div",he,N(e.$t("Component.UploadFile.index_2",[f(j)])),1)):te("",!0)]))]),_:1})]),_:1},8,["file-list","accept","multiple"])])}}}),Le=se(xe,[["__scopeId","data-v-1b421c9e"]]);export{Le as default}; diff --git a/BTPanel/static/vite/js/file-upload-DDiBF1FZ.js b/BTPanel/static/vite/js/file-upload-DDiBF1FZ.js new file mode 100644 index 00000000..6e41736c --- /dev/null +++ b/BTPanel/static/vite/js/file-upload-DDiBF1FZ.js @@ -0,0 +1 @@ +import{k as J,R as Q,c as P,r as S,a0 as o,j as T,$ as z,Z as F,_ as $,a9 as v,aa as N,S as f,X as H,a8 as Y,aj as ee,ak as te}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{D as B,l as K,m as U,p as ae,c as se}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as ne}from"./useTableColumns-BpMo4f8r.js?v=1774508183068";import{u as oe,a as D}from"./index-DiOrayOZ.js?v=1774508183068";import{u as le,ab as ie,B as re,as as pe,a$ as ce,af as L,n as de}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";import"./index-Dd5dC2sI.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-ClVUo_Yi.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-DfO7qrru.js?v=1774508183068";import"./useTableData-D5IECpFr.js?v=1774508183068";import"./FileIcon-MbTGjXAj.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import"./useSocket-Cx34hjKD.js?v=1774508183068";import"./file-CfGNXe_F.js?v=1774508183068";const ue={class:"p-16px"},fe={class:"flex items-center mb-12px"},me={key:1,class:"flex-center flex-col h-300px"},_e={class:"drag-text"},he={key:0,class:"drag-suffix"},ge=50*1024*1024,xe=J({__name:"file-upload",props:{path:{default:""},node_id:{},size:{},uploadData:{default:()=>({multiple:!0})},uploadSuccess:{},showSuccessMsg:{type:Boolean,default:!0}},emits:["setConfirm"],setup(R,{expose:V,emit:X}){const m=R,E=X,{path:A,node_id:M}=m,{t:l}=Q(),Z=le(),C=P(()=>({multiple:!0,...m.uploadData})),_=S([]),k=S(new Map),j=P(()=>(C.value.accept||"").split(",").map(a=>"'".concat(a,"'")).join(", ")),I=e=>{var c,u,h;const{file:a}=e;return((u=(c=a.file)==null?void 0:c.size)!=null?u:0)>1024*1024*((h=m.size)!=null?h:1/0)?(U.error(l("Component.UploadFile.index_7",[a.name,m.size])),!1):(C.value.multiple||(_.value=[]),!0)},O=e=>{const a=e.id||e.name,c=k.value.get(a);c&&(c.abort(),k.value.delete(a),e.status="error",e.percentage=0,U.info("Upload Canceled: ".concat(e.name)))},W=S([{key:"name",title:l("Component.UploadFile.index_3"),ellipsis:!0},{key:"size",title:l("Component.UploadFile.index_4"),width:100,render:e=>{var a;return B((a=e.file)==null?void 0:a.size)}},{key:"status",title:l("Component.UploadFile.index_5"),width:140,render:e=>{if(e.status==="pending")return l("Component.UploadFile.index_8");if(e.status==="finished")return o("span",{class:"text-primary"},[l("Component.UploadFile.index_9")]);if(e.status==="error")return o("span",{class:"text-error"},[T("Upload Failed")]);const a=e.percentage?e.percentage.toFixed(1):0;return o(ie,{type:"line",color:Z.value.primaryColor,"indicator-placement":"outside",processing:!0,percentage:Number(a)},null)}},ne({width:70,options:(e,a)=>[{label:l("Public.Btn.Del"),type:"error",show:e.status!=="uploading",onClick:()=>_.value.splice(a,1)},{label:l("Public.Btn.Cancel"),type:"warning",show:e.status==="uploading",onClick:()=>O(e)}]})]),q=async(e,a,c,u)=>{const g=Math.ceil(e.size/10485760);let d=0;for(let w=0;w{if(u.signal.aborted)return;const x=(d+(y.progress||0)*r)/e.size*100;c(Math.min(x,99))});let p=t;if(s&&typeof s.message=="number"&&(p=s.message),d=Math.max(d,p),c(Math.min(d/e.size*100,99)),d>=e.size)break;w=Math.floor(d/10485760)-1}catch(s){let p=!1;for(let y=0;y<3;y++){if(u.signal.aborted)throw new Error("Upload Canceled");try{await new Promise(G=>setTimeout(G,1e3));const x=await D(n);if(x&&typeof x.message=="number"){d=x.message,p=!0;break}}catch(x){p=!1}}if(!p)throw new Error("Chunk ".concat(w+1," upload failed"))}}return c(100),!0};return V({onConfirm:async()=>{var b;const e=_.value.filter(t=>t.status==="pending");if(!e.length)return U.error(l("Component.UploadFile.index_10")),!1;const a=t=>{const i=t.fullPath||t.name;return(m.path.endsWith("/")?m.path:m.path+"/")+i},c=e.map(t=>a(t)).join("\n"),{message:u}=await oe({files:c,node_id:M});let h=e;if(Array.isArray(u)){const t=u.filter(i=>i.exists);if(t.length>0){const i=await new Promise(r=>{ae({title:l("file.uploadModal.conflictTitle"),width:600,footer:!0,confirmText:l("file.uploadModal.conflictOverwrite"),cancelText:l("file.uploadModal.conflictSkip"),onConfirm:()=>r("overwrite"),onPublicClose:()=>r("skip"),onClose:()=>r("cancel"),content:()=>{const n=t.map(s=>{var y;const p=e.find(x=>a(x)===s.filename);return{...s,localSize:((y=p==null?void 0:p.file)==null?void 0:y.size)||0}});return o("div",{class:"p-20px"},[o("div",{class:"flex items-center gap-10px mb-16px"},[o(K,{name:"base-warning",size:"30",class:"text-warning"},null),o("div",{class:"flex-1 w-0 text-14px"},[l("file.uploadModal.conflictMessage")])]),o(L,{"max-height":300,data:n,columns:[{title:l("file.uploadModal.conflictFileName"),key:"filename",render:s=>o(de,null,{default:()=>[o("span",null,[s.filename.split("/").pop()])]})},{title:l("file.uploadModal.conflictFileDifference"),key:"difference",width:220,render:s=>o("div",{class:"flex items-center"},[o("span",{class:"color-primary"},[B(s.localSize)]),o("i",{class:"i-material-symbols:arrow-right-alt-rounded mx-5px text-18px"},null),o("span",{class:"color-gray"},[B(s.size)])])}]},null)])}})});if(i==="cancel")return!1;if(i==="skip"){const r=new Set(t.map(n=>n.filename));h=e.filter(n=>!r.has(a(n))),e.forEach(n=>{r.has(a(n))&&(n.status="finished",n.percentage=100)})}}}if(!h.length)return U.info(l("All files are skipped")),!0;E("setConfirm",{disabled:!0}),h.forEach(t=>t.status="uploading");let g=!0,d=!1;for(const t of h){const i=t.file;if(!i)continue;const r=new AbortController,n=t.id||t.name;k.value.set(n,r);try{if(i.size>ge){if(!await q(i,t.name,p=>t.percentage=p,r)||r.signal.aborted){t.status="error",d=!0;continue}}else{const s=new FormData;s.append("f_path",A),s.append("f_name",t.name),s.append("f_start","0"),s.append("f_size",i.size.toString()),s.append("blob",i),s.append("node_id",M),await D(s,p=>{r.signal.aborted||(t.percentage=(p.progress||0)*100)})}if(r.signal.aborted){t.status="error",d=!0;continue}t.status="finished"}catch(s){t.status="error",U.error("".concat(t.name," upload failed}")),g=!1}finally{k.value.delete(n)}}g&&!d&&m.showSuccessMsg&&e.filter(i=>i.status==="finished").length&&U.success(l("Component.UploadFile.index_9")),E("setConfirm",{disabled:!1});const w=e.filter(t=>t.status==="finished");return w.length&&await((b=m.uploadSuccess)==null?void 0:b.call(m,w)),g&&!d}}),(e,a)=>{const c=re,u=pe,h=ce;return z(),F("div",ue,[$("div",fe,[o(u,{ref:"upload",class:"w-auto","file-list":f(_),"onUpdate:fileList":a[0]||(a[0]=g=>H(_)?_.value=g:null),accept:f(C).accept,multiple:f(C).multiple,"default-upload":!1,"show-file-list":!1,onBeforeUpload:I},{default:v(()=>[o(c,{type:"primary"},{default:v(()=>[T(N(e.$t("Component.UploadFile.index_6")),1)]),_:1})]),_:1},8,["file-list","accept","multiple"])]),o(u,{ref:"upload",class:"w-auto","file-list":f(_),"onUpdate:fileList":a[2]||(a[2]=g=>H(_)?_.value=g:null),accept:f(C).accept,multiple:f(C).multiple,"default-upload":!1,"show-file-list":!1,onBeforeUpload:I},{default:v(()=>[o(h,null,{default:v(()=>[f(_).length>0?(z(),Y(f(L),{key:0,"max-height":300,bordered:!1,data:f(_),columns:f(W),onClick:a[1]||(a[1]=ee(()=>{},["stop"]))},null,8,["data","columns"])):(z(),F("div",me,[o(K,{name:"base-upload",size:"48",class:"text-#999"}),$("div",_e,N(e.$t("Component.UploadFile.index_1")),1),f(C).accept?(z(),F("div",he,N(e.$t("Component.UploadFile.index_2",[f(j)])),1)):te("",!0)]))]),_:1})]),_:1},8,["file-list","accept","multiple"])])}}}),Ke=se(xe,[["__scopeId","data-v-1b421c9e"]]);export{Ke as default}; diff --git a/BTPanel/static/vite/js/file-upload-legacy-C7v0kyCu.js b/BTPanel/static/vite/js/file-upload-legacy-C7v0kyCu.js new file mode 100644 index 00000000..4c291f22 --- /dev/null +++ b/BTPanel/static/vite/js/file-upload-legacy-C7v0kyCu.js @@ -0,0 +1 @@ +System.register(["./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./index-legacy-Cyrwlm7M.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-Cr0WR19L.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-2by_1yqo.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./FileIcon-legacy-BZIg8aaH.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./useSocket-legacy-CT2Sal6Q.js?v=1774508183068","./file-legacy-CgYU1kud.js?v=1774508183068"],(function(e,t){"use strict";var a,l,n,i,s,o,r,p,d,c,u,f,m,g,h,x,_,y,v,b,w,C,j,z,k,U,F,M,S,$,D;return{setters:[e=>{a=e.k,l=e.R,n=e.c,i=e.r,s=e.a0,o=e.j,r=e.$,p=e.Z,d=e._,c=e.a9,u=e.aa,f=e.S,m=e.X,g=e.a8,h=e.aj,x=e.ak},e=>{_=e.D,y=e.l,v=e.m,b=e.p,w=e.c},e=>{C=e.u},e=>{j=e.u,z=e.a},e=>{k=e.u,U=e.ab,F=e.B,M=e.as,S=e.a$,$=e.af,D=e.n},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){var t=document.createElement("style");t.textContent=".n-upload-dragger[data-v-1b421c9e]{height:360px;padding:10px}.n-upload-dragger[data-v-1b421c9e]:hover{--n-dragger-border-hover: 1px dashed #20a53a}.drag-text[data-v-1b421c9e]{margin-top:20px;font-size:16px}.drag-suffix[data-v-1b421c9e]{margin-top:12px;color:#777;font-size:14px}.n-data-table[data-v-1b421c9e]{--n-th-color-modal: transparent;--n-td-color-modal: transparent;--n-th-color-hover-modal: transparent;--n-td-color-hover-modal: transparent;--n-border-color-modal: transparent}\n/*$vite$:1*/",document.head.appendChild(t);const B={class:"p-16px"},E={class:"flex items-center mb-12px"},P={key:1,class:"flex-center flex-col h-300px"},T={class:"drag-text"},A={key:0,class:"drag-suffix"},I=a({__name:"file-upload",props:{path:{default:""},node_id:{},size:{},uploadData:{default:()=>({multiple:!0})},uploadSuccess:{},showSuccessMsg:{type:Boolean,default:!0}},emits:["setConfirm"],setup(e,{expose:t,emit:a}){const w=e,I=a,{path:L,node_id:N}=w,{t:X}=l(),Z=k(),O=n((()=>({multiple:!0,...w.uploadData}))),R=i([]),W=i(new Map),q=n((()=>(O.value.accept||"").split(",").map((e=>`'${e}'`)).join(", "))),G=e=>{const{file:t}=e;return(t.file?.size??0)>1048576*(w.size??1/0)?(v.error(X("Component.UploadFile.index_7",[t.name,w.size])),!1):(O.value.multiple||(R.value=[]),!0)},H=i([{key:"name",title:X("Component.UploadFile.index_3"),ellipsis:!0},{key:"size",title:X("Component.UploadFile.index_4"),width:100,render:e=>_(e.file?.size)},{key:"status",title:X("Component.UploadFile.index_5"),width:140,render:e=>{if("pending"===e.status)return X("Component.UploadFile.index_8");if("finished"===e.status)return s("span",{class:"text-primary"},[X("Component.UploadFile.index_9")]);if("error"===e.status)return s("span",{class:"text-error"},[o("Upload Failed")]);const t=e.percentage?e.percentage.toFixed(1):0;return s(U,{type:"line",color:Z.value.primaryColor,"indicator-placement":"outside",processing:!0,percentage:Number(t)},null)}},C({width:70,options:(e,t)=>[{label:X("Public.Btn.Del"),type:"error",show:"uploading"!==e.status,onClick:()=>R.value.splice(t,1)},{label:X("Public.Btn.Cancel"),type:"warning",show:"uploading"===e.status,onClick:()=>(e=>{const t=e.id||e.name,a=W.value.get(t);a&&(a.abort(),W.value.delete(t),e.status="error",e.percentage=0,v.info(`Upload Canceled: ${e.name}`))})(e)}]})]),J=async(e,t,a,l)=>{const n=10485760,i=Math.ceil(e.size/n);let s=0;for(let o=0;o{if(l.signal.aborted)return;const n=(s+(t.progress||0)*d)/e.size*100;a(Math.min(n,99))}));let i=r;if(t&&"number"==typeof t.message&&(i=t.message),s=Math.max(s,i),a(Math.min(s/e.size*100,99)),s>=e.size)break;o=Math.floor(s/n)-1}catch{let e=!1;for(let t=0;t<3;t++){if(l.signal.aborted)throw new Error("Upload Canceled");try{await new Promise((e=>setTimeout(e,1e3)));const t=await z(c);if(t&&"number"==typeof t.message){s=t.message,e=!0;break}}catch{e=!1}}if(!e)throw new Error(`Chunk ${o+1} upload failed`)}}return a(100),!0};return t({onConfirm:async()=>{const e=R.value.filter((e=>"pending"===e.status));if(!e.length)return v.error(X("Component.UploadFile.index_10")),!1;const t=e=>{const t=e.fullPath||e.name;return(w.path.endsWith("/")?w.path:w.path+"/")+t},a=e.map((e=>t(e))).join("\n"),{message:l}=await j({files:a,node_id:N});let n=e;if(Array.isArray(l)){const a=l.filter((e=>e.exists));if(a.length>0){const l=await new Promise((l=>{b({title:X("file.uploadModal.conflictTitle"),width:600,footer:!0,confirmText:X("file.uploadModal.conflictOverwrite"),cancelText:X("file.uploadModal.conflictSkip"),onConfirm:()=>l("overwrite"),onPublicClose:()=>l("skip"),onClose:()=>l("cancel"),content:()=>{const l=a.map((a=>{const l=e.find((e=>t(e)===a.filename));return{...a,localSize:l?.file?.size||0}}));return s("div",{class:"p-20px"},[s("div",{class:"flex items-center gap-10px mb-16px"},[s(y,{name:"base-warning",size:"30",class:"text-warning"},null),s("div",{class:"flex-1 w-0 text-14px"},[X("file.uploadModal.conflictMessage")])]),s($,{"max-height":300,data:l,columns:[{title:X("file.uploadModal.conflictFileName"),key:"filename",render:e=>s(D,null,{default:()=>[s("span",null,[e.filename.split("/").pop()])]})},{title:X("file.uploadModal.conflictFileDifference"),key:"difference",width:220,render:e=>s("div",{class:"flex items-center"},[s("span",{class:"color-primary"},[_(e.localSize)]),s("i",{class:"i-material-symbols:arrow-right-alt-rounded mx-5px text-18px"},null),s("span",{class:"color-gray"},[_(e.size)])])}]},null)])}})}));if("cancel"===l)return!1;if("skip"===l){const l=new Set(a.map((e=>e.filename)));n=e.filter((e=>!l.has(t(e)))),e.forEach((e=>{l.has(t(e))&&(e.status="finished",e.percentage=100)}))}}}if(!n.length)return v.info(X("All files are skipped")),!0;I("setConfirm",{disabled:!0}),n.forEach((e=>e.status="uploading"));let i=!0,o=!1;for(const s of n){const e=s.file;if(!e)continue;const t=new AbortController,a=s.id||s.name;W.value.set(a,t);try{if(e.size>52428800){if(!(await J(e,s.name,(e=>s.percentage=e),t))||t.signal.aborted){s.status="error",o=!0;continue}}else{const a=new FormData;a.append("f_path",L),a.append("f_name",s.name),a.append("f_start","0"),a.append("f_size",e.size.toString()),a.append("blob",e),a.append("node_id",N),await z(a,(e=>{t.signal.aborted||(s.percentage=100*(e.progress||0))}))}if(t.signal.aborted){s.status="error",o=!0;continue}s.status="finished"}catch{s.status="error",v.error(`${s.name} upload failed}`),i=!1}finally{W.value.delete(a)}}i&&!o&&w.showSuccessMsg&&e.filter((e=>"finished"===e.status)).length&&v.success(X("Component.UploadFile.index_9")),I("setConfirm",{disabled:!1});const r=e.filter((e=>"finished"===e.status));return r.length&&await(w.uploadSuccess?.(r)),i&&!o}}),(e,t)=>{const a=F,l=M,n=S;return r(),p("div",B,[d("div",E,[s(l,{ref:"upload",class:"w-auto","file-list":f(R),"onUpdate:fileList":t[0]||(t[0]=e=>m(R)?R.value=e:null),accept:f(O).accept,multiple:f(O).multiple,"default-upload":!1,"show-file-list":!1,onBeforeUpload:G},{default:c((()=>[s(a,{type:"primary"},{default:c((()=>[o(u(e.$t("Component.UploadFile.index_6")),1)])),_:1})])),_:1},8,["file-list","accept","multiple"])]),s(l,{ref:"upload",class:"w-auto","file-list":f(R),"onUpdate:fileList":t[2]||(t[2]=e=>m(R)?R.value=e:null),accept:f(O).accept,multiple:f(O).multiple,"default-upload":!1,"show-file-list":!1,onBeforeUpload:G},{default:c((()=>[s(n,null,{default:c((()=>[f(R).length>0?(r(),g(f($),{key:0,"max-height":300,bordered:!1,data:f(R),columns:f(H),onClick:t[1]||(t[1]=h((()=>{}),["stop"]))},null,8,["data","columns"])):(r(),p("div",P,[s(y,{name:"base-upload",size:"48",class:"text-#999"}),d("div",T,u(e.$t("Component.UploadFile.index_1")),1),f(O).accept?(r(),p("div",A,u(e.$t("Component.UploadFile.index_2",[f(q)])),1)):x("",!0)]))])),_:1})])),_:1},8,["file-list","accept","multiple"])])}}});e("default",w(I,[["__scopeId","data-v-1b421c9e"]]))}}})); diff --git a/BTPanel/static/vite/js/file-upload-legacy-JdO6lHjI.js b/BTPanel/static/vite/js/file-upload-legacy-JdO6lHjI.js deleted file mode 100644 index 47d00e38..00000000 --- a/BTPanel/static/vite/js/file-upload-legacy-JdO6lHjI.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./index-legacy-MYSa3GaM.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BBkGleHZ.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-CvnE2rtV.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./FileIcon-legacy-CYrICTNK.js?v=1773287522785","./soft-legacy-CzxZ2w7j.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./useSocket-legacy-D9BDJ2id.js?v=1773287522785","./file-legacy-DhGqNjkT.js?v=1773287522785"],(function(e,t){"use strict";var a,l,n,i,s,o,r,p,d,c,u,f,m,g,h,x,_,y,v,b,w,C,j,z,k,F,U,M,S,$,D;return{setters:[e=>{a=e.k,l=e.R,n=e.c,i=e.r,s=e.a0,o=e.j,r=e.$,p=e.Z,d=e._,c=e.a9,u=e.aa,f=e.S,m=e.X,g=e.a8,h=e.aj,x=e.ak},e=>{_=e.C,y=e.l,v=e.m,b=e.p,w=e.c},e=>{C=e.u},e=>{j=e.u,z=e.a},e=>{k=e.u,F=e.ab,U=e.B,M=e.ar,S=e.a$,$=e.at,D=e.n},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){var t=document.createElement("style");t.textContent=".n-upload-dragger[data-v-1b421c9e]{height:360px;padding:10px}.n-upload-dragger[data-v-1b421c9e]:hover{--n-dragger-border-hover: 1px dashed #20a53a}.drag-text[data-v-1b421c9e]{margin-top:20px;font-size:16px}.drag-suffix[data-v-1b421c9e]{margin-top:12px;color:#777;font-size:14px}.n-data-table[data-v-1b421c9e]{--n-th-color-modal: transparent;--n-td-color-modal: transparent;--n-th-color-hover-modal: transparent;--n-td-color-hover-modal: transparent;--n-border-color-modal: transparent}\n/*$vite$:1*/",document.head.appendChild(t);const E={class:"p-16px"},B={class:"flex items-center mb-12px"},P={key:1,class:"flex-center flex-col h-300px"},T={class:"drag-text"},A={key:0,class:"drag-suffix"},Z=a({__name:"file-upload",props:{path:{default:""},node_id:{},size:{},uploadData:{default:()=>({multiple:!0})},uploadSuccess:{},showSuccessMsg:{type:Boolean,default:!0}},emits:["setConfirm"],setup(e,{expose:t,emit:a}){const w=e,Z=a,{path:I,node_id:L}=w,{t:N}=l(),O=k(),R=n((()=>({multiple:!0,...w.uploadData}))),W=i([]),X=i(new Map),q=n((()=>(R.value.accept||"").split(",").map((e=>`'${e}'`)).join(", "))),G=e=>{const{file:t}=e;return(t.file?.size??0)>1048576*(w.size??1/0)?(v.error(N("Component.UploadFile.index_7",[t.name,w.size])),!1):(R.value.multiple||(W.value=[]),!0)},H=i([{key:"name",title:N("Component.UploadFile.index_3"),ellipsis:!0},{key:"size",title:N("Component.UploadFile.index_4"),width:100,render:e=>_(e.file?.size)},{key:"status",title:N("Component.UploadFile.index_5"),width:140,render:e=>{if("pending"===e.status)return N("Component.UploadFile.index_8");if("finished"===e.status)return s("span",{class:"text-primary"},[N("Component.UploadFile.index_9")]);if("error"===e.status)return s("span",{class:"text-error"},[o("Upload Failed")]);const t=e.percentage?e.percentage.toFixed(1):0;return s(F,{type:"line",color:O.value.primaryColor,"indicator-placement":"outside",processing:!0,percentage:Number(t)},null)}},C({width:70,options:(e,t)=>[{label:N("Public.Btn.Del"),type:"error",show:"uploading"!==e.status,onClick:()=>W.value.splice(t,1)},{label:N("Public.Btn.Cancel"),type:"warning",show:"uploading"===e.status,onClick:()=>(e=>{const t=e.id||e.name,a=X.value.get(t);a&&(a.abort(),X.value.delete(t),e.status="error",e.percentage=0,v.info(`Upload Canceled: ${e.name}`))})(e)}]})]),J=async(e,t,a,l)=>{const n=10485760,i=Math.ceil(e.size/n);let s=0;for(let o=0;o{if(l.signal.aborted)return;const n=(s+(t.progress||0)*d)/e.size*100;a(Math.min(n,99))}));let i=r;if(t&&"number"==typeof t.message&&(i=t.message),s=Math.max(s,i),a(Math.min(s/e.size*100,99)),s>=e.size)break;o=Math.floor(s/n)-1}catch{let e=!1;for(let t=0;t<3;t++){if(l.signal.aborted)throw new Error("Upload Canceled");try{await new Promise((e=>setTimeout(e,1e3)));const t=await z(c);if(t&&"number"==typeof t.message){s=t.message,e=!0;break}}catch{e=!1}}if(!e)throw new Error(`Chunk ${o+1} upload failed`)}}return a(100),!0};return t({onConfirm:async()=>{const e=W.value.filter((e=>"pending"===e.status));if(!e.length)return v.error(N("Component.UploadFile.index_10")),!1;const t=e=>{const t=e.fullPath||e.name;return(w.path.endsWith("/")?w.path:w.path+"/")+t},a=e.map((e=>t(e))).join("\n"),{message:l}=await j({files:a,node_id:L});let n=e;if(Array.isArray(l)){const a=l.filter((e=>e.exists));if(a.length>0){const l=await new Promise((l=>{b({title:N("file.uploadModal.conflictTitle"),width:600,footer:!0,confirmText:N("file.uploadModal.conflictOverwrite"),cancelText:N("file.uploadModal.conflictSkip"),onConfirm:()=>l("overwrite"),onPublicClose:()=>l("skip"),onClose:()=>l("cancel"),content:()=>{const l=a.map((a=>{const l=e.find((e=>t(e)===a.filename));return{...a,localSize:l?.file?.size||0}}));return s("div",{class:"p-20px"},[s("div",{class:"flex items-center gap-10px mb-16px"},[s(y,{name:"base-warning",size:"30",class:"text-warning"},null),s("div",{class:"flex-1 w-0 text-14px"},[N("file.uploadModal.conflictMessage")])]),s($,{"max-height":300,data:l,columns:[{title:N("file.uploadModal.conflictFileName"),key:"filename",render:e=>s(D,null,{default:()=>[s("span",null,[e.filename.split("/").pop()])]})},{title:N("file.uploadModal.conflictFileDifference"),key:"difference",width:220,render:e=>s("div",{class:"flex items-center"},[s("span",{class:"color-primary"},[_(e.localSize)]),s("i",{class:"i-material-symbols:arrow-right-alt-rounded mx-5px text-18px"},null),s("span",{class:"color-gray"},[_(e.size)])])}]},null)])}})}));if("cancel"===l)return!1;if("skip"===l){const l=new Set(a.map((e=>e.filename)));n=e.filter((e=>!l.has(t(e)))),e.forEach((e=>{l.has(t(e))&&(e.status="finished",e.percentage=100)}))}}}if(!n.length)return v.info(N("All files are skipped")),!0;Z("setConfirm",{disabled:!0}),n.forEach((e=>e.status="uploading"));let i=!0,o=!1;for(const s of n){const e=s.file;if(!e)continue;const t=new AbortController,a=s.id||s.name;X.value.set(a,t);try{if(e.size>52428800){if(!(await J(e,s.name,(e=>s.percentage=e),t))||t.signal.aborted){s.status="error",o=!0;continue}}else{const a=new FormData;a.append("f_path",I),a.append("f_name",s.name),a.append("f_start","0"),a.append("f_size",e.size.toString()),a.append("blob",e),a.append("node_id",L),await z(a,(e=>{t.signal.aborted||(s.percentage=100*(e.progress||0))}))}if(t.signal.aborted){s.status="error",o=!0;continue}s.status="finished"}catch{s.status="error",v.error(`${s.name} upload failed}`),i=!1}finally{X.value.delete(a)}}i&&!o&&w.showSuccessMsg&&e.filter((e=>"finished"===e.status)).length&&v.success(N("Component.UploadFile.index_9")),Z("setConfirm",{disabled:!1});const r=e.filter((e=>"finished"===e.status));return r.length&&await(w.uploadSuccess?.(r)),i&&!o}}),(e,t)=>{const a=U,l=M,n=S;return r(),p("div",E,[d("div",B,[s(l,{ref:"upload",class:"w-auto","file-list":f(W),"onUpdate:fileList":t[0]||(t[0]=e=>m(W)?W.value=e:null),accept:f(R).accept,multiple:f(R).multiple,"default-upload":!1,"show-file-list":!1,onBeforeUpload:G},{default:c((()=>[s(a,{type:"primary"},{default:c((()=>[o(u(e.$t("Component.UploadFile.index_6")),1)])),_:1})])),_:1},8,["file-list","accept","multiple"])]),s(l,{ref:"upload",class:"w-auto","file-list":f(W),"onUpdate:fileList":t[2]||(t[2]=e=>m(W)?W.value=e:null),accept:f(R).accept,multiple:f(R).multiple,"default-upload":!1,"show-file-list":!1,onBeforeUpload:G},{default:c((()=>[s(n,null,{default:c((()=>[f(W).length>0?(r(),g(f($),{key:0,"max-height":300,bordered:!1,data:f(W),columns:f(H),onClick:t[1]||(t[1]=h((()=>{}),["stop"]))},null,8,["data","columns"])):(r(),p("div",P,[s(y,{name:"base-upload",size:"48",class:"text-#999"}),d("div",T,u(e.$t("Component.UploadFile.index_1")),1),f(R).accept?(r(),p("div",A,u(e.$t("Component.UploadFile.index_2",[f(q)])),1)):x("",!0)]))])),_:1})])),_:1},8,["file-list","accept","multiple"])])}}});e("default",w(Z,[["__scopeId","data-v-1b421c9e"]]))}}})); diff --git a/BTPanel/static/vite/js/file-version.js b/BTPanel/static/vite/js/file-version.js index 3f4e6079..9a8a7354 100644 --- a/BTPanel/static/vite/js/file-version.js +++ b/BTPanel/static/vite/js/file-version.js @@ -1 +1 @@ -1773287522785 \ No newline at end of file +1774508183068 \ No newline at end of file diff --git a/BTPanel/static/vite/js/files-B-5OIeVB.js b/BTPanel/static/vite/js/files-B-5OIeVB.js new file mode 100644 index 00000000..7ba723f1 --- /dev/null +++ b/BTPanel/static/vite/js/files-B-5OIeVB.js @@ -0,0 +1 @@ +import{av as t,a6 as o}from"./index-LQ-JIYiv.js?v=1774508183068";const{t:s}=o.global,n=e=>t.post("/files?action=GetDir",e),a=e=>t.post("/files?action=GetDirNew&tojs=GetFiles",e),l=e=>t.post("/files?action=CreateFile",e,{requestOptions:{loading:s("file.buttonGroup.loading.creatingFile"),successMessage:!0}}),c=e=>t.post("/files?action=MvFile",{...e,rename:!0},{requestOptions:{loading:s("file.contextMenu.loading.moving"),successMessage:!0}}),u=e=>t.post("/files?action=CreateDir",e,{requestOptions:{loading:s("file.buttonGroup.loading.creatingDirectory"),successMessage:!0}}),g=e=>t.post("/files?action=GetFileBody",e),p=(e,i=!0)=>t.post("/files?action=SaveFileBody",e,{requestOptions:{loading:i?s("file.api.saving"):""}}),f=e=>t.post("/files?action=del_history",e,{requestOptions:{loading:s("file.api.deleting"),successMessage:!0}}),d=e=>t.post("/files?action=re_history",e,{requestOptions:{loading:s("file.api.recovering")}}),F=e=>t.post("/files?action=files_search",e),y=e=>t.post("/files?action=read_history",e);export{u as a,g as b,l as c,p as d,a as e,c as f,n as g,d as h,f as i,y as r,F as s}; diff --git a/BTPanel/static/vite/js/files-BUbkyTRl.js b/BTPanel/static/vite/js/files-BUbkyTRl.js deleted file mode 100644 index 91e5ed86..00000000 --- a/BTPanel/static/vite/js/files-BUbkyTRl.js +++ /dev/null @@ -1 +0,0 @@ -import{as as t,a3 as o}from"./index-BTglIPU2.js?v=1773287522785";const{t:s}=o.global,n=e=>t.post("/files?action=GetDir",e),a=e=>t.post("/files?action=GetDirNew&tojs=GetFiles",e),l=e=>t.post("/files?action=CreateFile",e,{requestOptions:{loading:s("file.buttonGroup.loading.creatingFile"),successMessage:!0}}),c=e=>t.post("/files?action=CreateDir",e,{requestOptions:{loading:s("file.buttonGroup.loading.creatingDirectory"),successMessage:!0}}),u=e=>t.post("/files?action=GetFileBody",e),p=(e,i=!0)=>t.post("/files?action=SaveFileBody",e,{requestOptions:{loading:i?s("file.api.saving"):""}}),g=e=>t.post("/files?action=del_history",e,{requestOptions:{loading:s("file.api.deleting"),successMessage:!0}}),f=e=>t.post("/files?action=re_history",e,{requestOptions:{loading:s("file.api.recovering")}}),d=e=>t.post("/files?action=files_search",e),F=e=>t.post("/files?action=read_history",e);export{c as a,u as b,l as c,p as d,a as e,f,n as g,g as h,F as r,d as s}; diff --git a/BTPanel/static/vite/js/files-legacy-D8sMT3Kb.js b/BTPanel/static/vite/js/files-legacy-D8sMT3Kb.js deleted file mode 100644 index 18c2e5c4..00000000 --- a/BTPanel/static/vite/js/files-legacy-D8sMT3Kb.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785"],(function(e,i){"use strict";var s,t;return{setters:[e=>{s=e.as,t=e.a3}],execute:function(){const{t:i}=t.global;e("g",(e=>s.post("/files?action=GetDir",e))),e("e",(e=>s.post("/files?action=GetDirNew&tojs=GetFiles",e))),e("c",(e=>s.post("/files?action=CreateFile",e,{requestOptions:{loading:i("file.buttonGroup.loading.creatingFile"),successMessage:!0}}))),e("a",(e=>s.post("/files?action=CreateDir",e,{requestOptions:{loading:i("file.buttonGroup.loading.creatingDirectory"),successMessage:!0}}))),e("b",(e=>s.post("/files?action=GetFileBody",e))),e("d",((e,t=!0)=>s.post("/files?action=SaveFileBody",e,{requestOptions:{loading:t?i("file.api.saving"):""}}))),e("h",(e=>s.post("/files?action=del_history",e,{requestOptions:{loading:i("file.api.deleting"),successMessage:!0}}))),e("f",(e=>s.post("/files?action=re_history",e,{requestOptions:{loading:i("file.api.recovering")}}))),e("s",(e=>s.post("/files?action=files_search",e))),e("r",(e=>s.post("/files?action=read_history",e)))}}})); diff --git a/BTPanel/static/vite/js/files-legacy-MK_07WLs.js b/BTPanel/static/vite/js/files-legacy-MK_07WLs.js new file mode 100644 index 00000000..474a0f7e --- /dev/null +++ b/BTPanel/static/vite/js/files-legacy-MK_07WLs.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068"],(function(e,i){"use strict";var s,t;return{setters:[e=>{s=e.av,t=e.a6}],execute:function(){const{t:i}=t.global;e("g",(e=>s.post("/files?action=GetDir",e))),e("e",(e=>s.post("/files?action=GetDirNew&tojs=GetFiles",e))),e("c",(e=>s.post("/files?action=CreateFile",e,{requestOptions:{loading:i("file.buttonGroup.loading.creatingFile"),successMessage:!0}}))),e("f",(e=>s.post("/files?action=MvFile",{...e,rename:!0},{requestOptions:{loading:i("file.contextMenu.loading.moving"),successMessage:!0}}))),e("a",(e=>s.post("/files?action=CreateDir",e,{requestOptions:{loading:i("file.buttonGroup.loading.creatingDirectory"),successMessage:!0}}))),e("b",(e=>s.post("/files?action=GetFileBody",e))),e("d",((e,t=!0)=>s.post("/files?action=SaveFileBody",e,{requestOptions:{loading:t?i("file.api.saving"):""}}))),e("i",(e=>s.post("/files?action=del_history",e,{requestOptions:{loading:i("file.api.deleting"),successMessage:!0}}))),e("h",(e=>s.post("/files?action=re_history",e,{requestOptions:{loading:i("file.api.recovering")}}))),e("s",(e=>s.post("/files?action=files_search",e))),e("r",(e=>s.post("/files?action=read_history",e)))}}})); diff --git a/BTPanel/static/vite/js/filter-B4OCrfb5.js b/BTPanel/static/vite/js/filter-B4OCrfb5.js deleted file mode 100644 index 8e423d07..00000000 --- a/BTPanel/static/vite/js/filter-B4OCrfb5.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as v}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as y}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{n as W,m as $}from"./index-BTglIPU2.js?v=1773287522785";import{u as h}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{u as w}from"./useTableData-BmkIKQ_R.js?v=1773287522785";import{w as k,x as B,A}from"./site-D0zX56Uh.js?v=1773287522785";import{b as U,B as V}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as D,R,e as L,$ as P,Z as T,_ as i,a0 as l,S as n,a9 as x,j,aa as o}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";const E={class:"p-20px"},F={class:"flex mb-16px"},I={class:"flex-1 mr-16px"},Z={class:"w-230px mr-16px"},_="url_rule",ie=D({__name:"filter",props:{siteName:{default:""}},setup(C){const m=C,{t:s}=R(),t=L({url:"",filter:""}),S=async()=>{if(t.url.trim()===""||t.filter.trim()===""){$.error(s("Waf.Site.Config.index_85"));return}await A({siteName:m.siteName,ruleName:_,ruleUri:t.url,ruleValue:t.filter}),t.url="",t.filter="",f()},{table:u,columns:N,setLoading:g}=w([{key:"uri",title:s("Waf.Site.Config.index_86")},{key:"name",title:s("Waf.Site.Config.index_87")},h({width:80,options:(e,a)=>[{label:s("Public.Btn.Del"),onClick:async()=>{await k({index:a,siteName:m.siteName,ruleName:_}),f()}}]})]),f=async()=>{try{g(!0);const{siteName:e}=m,{message:a}=await B({siteName:e,ruleName:_});W(a)&&(u.data=a.map(([r,p,d])=>({uri:r,name:p,value:d})))}finally{g(!1)}};return f(),(e,a)=>{const r=U,p=V,d=y,b=v;return P(),T("div",E,[i("div",F,[i("div",I,[l(r,{value:n(t).url,"onUpdate:value":a[0]||(a[0]=c=>n(t).url=c),placeholder:e.$t("Waf.Site.Config.index_67")},null,8,["value","placeholder"])]),i("div",Z,[l(r,{value:n(t).filter,"onUpdate:value":a[1]||(a[1]=c=>n(t).filter=c),placeholder:e.$t("Waf.Site.Config.index_79")},null,8,["value","placeholder"])]),l(p,{type:"primary",onClick:S},{default:x(()=>[j(o(e.$t("Public.Btn.Add")),1)]),_:1})]),l(d,{"max-height":230,loading:n(u).loading,data:n(u).data,columns:n(N)},null,8,["loading","data","columns"]),l(b,{class:"mt-16px"},{default:x(()=>[i("li",null,o(e.$t("Waf.Site.Config.index_80")),1),i("li",null,o(e.$t("Waf.Site.Config.index_81")),1),i("li",null,o(e.$t("Waf.Site.Config.index_82")),1),i("li",null,o(e.$t("Waf.Site.Config.index_83")),1),i("li",null,o(e.$t("Waf.Site.Config.index_84")),1)]),_:1})])}}});export{ie as default}; diff --git a/BTPanel/static/vite/js/filter-B6ZkfqCZ.js b/BTPanel/static/vite/js/filter-B6ZkfqCZ.js new file mode 100644 index 00000000..9861cf8f --- /dev/null +++ b/BTPanel/static/vite/js/filter-B6ZkfqCZ.js @@ -0,0 +1 @@ +import{_ as v}from"./index-Dd5dC2sI.js?v=1774508183068";import{_ as y}from"./index.vue_vue_type_script_setup_true_lang-BRQncOow.js?v=1774508183068";import{n as W,m as $}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as h}from"./useTableColumns-BpMo4f8r.js?v=1774508183068";import{u as w}from"./useTableData-D5IECpFr.js?v=1774508183068";import{w as k,x as B,A}from"./site-Bdong6eC.js?v=1774508183068";import{b as U,B as V}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import{k as D,R,e as L,$ as P,Z as T,_ as i,a0 as l,S as n,a9 as x,j,aa as o}from"./vue-core-BlDeWrD6.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./index-DZCznq9q.js?v=1774508183068";import"./copy-DTOfN-dY.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CbM1JeA4.js?v=1774508183068";import"./index-eoi-RqNz.js?v=1774508183068";const E={class:"p-20px"},F={class:"flex mb-16px"},I={class:"flex-1 mr-16px"},Z={class:"w-230px mr-16px"},_="url_rule",ie=D({__name:"filter",props:{siteName:{default:""}},setup(C){const m=C,{t:s}=R(),t=L({url:"",filter:""}),S=async()=>{if(t.url.trim()===""||t.filter.trim()===""){$.error(s("Waf.Site.Config.index_85"));return}await A({siteName:m.siteName,ruleName:_,ruleUri:t.url,ruleValue:t.filter}),t.url="",t.filter="",f()},{table:u,columns:N,setLoading:g}=w([{key:"uri",title:s("Waf.Site.Config.index_86")},{key:"name",title:s("Waf.Site.Config.index_87")},h({width:80,options:(e,a)=>[{label:s("Public.Btn.Del"),onClick:async()=>{await k({index:a,siteName:m.siteName,ruleName:_}),f()}}]})]),f=async()=>{try{g(!0);const{siteName:e}=m,{message:a}=await B({siteName:e,ruleName:_});W(a)&&(u.data=a.map(([r,p,d])=>({uri:r,name:p,value:d})))}finally{g(!1)}};return f(),(e,a)=>{const r=U,p=V,d=y,b=v;return P(),T("div",E,[i("div",F,[i("div",I,[l(r,{value:n(t).url,"onUpdate:value":a[0]||(a[0]=c=>n(t).url=c),placeholder:e.$t("Waf.Site.Config.index_67")},null,8,["value","placeholder"])]),i("div",Z,[l(r,{value:n(t).filter,"onUpdate:value":a[1]||(a[1]=c=>n(t).filter=c),placeholder:e.$t("Waf.Site.Config.index_79")},null,8,["value","placeholder"])]),l(p,{type:"primary",onClick:S},{default:x(()=>[j(o(e.$t("Public.Btn.Add")),1)]),_:1})]),l(d,{"max-height":230,loading:n(u).loading,data:n(u).data,columns:n(N)},null,8,["loading","data","columns"]),l(b,{class:"mt-16px"},{default:x(()=>[i("li",null,o(e.$t("Waf.Site.Config.index_80")),1),i("li",null,o(e.$t("Waf.Site.Config.index_81")),1),i("li",null,o(e.$t("Waf.Site.Config.index_82")),1),i("li",null,o(e.$t("Waf.Site.Config.index_83")),1),i("li",null,o(e.$t("Waf.Site.Config.index_84")),1)]),_:1})])}}});export{ie as default}; diff --git a/BTPanel/static/vite/js/filter-legacy-mac7ni6l.js b/BTPanel/static/vite/js/filter-legacy-mac7ni6l.js new file mode 100644 index 00000000..93982abc --- /dev/null +++ b/BTPanel/static/vite/js/filter-legacy-mac7ni6l.js @@ -0,0 +1 @@ +System.register(["./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-BGVbyVHg.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./useTableColumns-legacy-fw1KVAx-.js?v=1774508183068","./useTableData-legacy-BcnTeIhE.js?v=1774508183068","./site-legacy-sLqdJi7B.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./index-legacy-CpMl9Yix.js?v=1774508183068","./copy-legacy-DQuL_OmY.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy--MJDSWZx.js?v=1774508183068","./index-legacy-DmGvnsGO.js?v=1774508183068"],(function(e,l){"use strict";var a,i,t,n,u,s,r,c,d,o,f,g,_,m,p,x,y,v,j,C,S,N;return{setters:[e=>{a=e._},e=>{i=e._},e=>{t=e.n,n=e.m},e=>{u=e.u},e=>{s=e.u},e=>{r=e.w,c=e.x,d=e.A},e=>{o=e.b,f=e.B},e=>{g=e.k,_=e.R,m=e.e,p=e.$,x=e.Z,y=e._,v=e.a0,j=e.S,C=e.a9,S=e.j,N=e.aa},null,null,null,null,null,null],execute:function(){const l={class:"p-20px"},W={class:"flex mb-16px"},$={class:"flex-1 mr-16px"},b={class:"w-230px mr-16px"},h="url_rule";e("default",g({__name:"filter",props:{siteName:{default:""}},setup(e){const g=e,{t:w}=_(),k=m({url:"",filter:""}),B=async()=>{""!==k.url.trim()&&""!==k.filter.trim()?(await d({siteName:g.siteName,ruleName:h,ruleUri:k.url,ruleValue:k.filter}),k.url="",k.filter="",P()):n.error(w("Waf.Site.Config.index_85"))},{table:U,columns:A,setLoading:D}=s([{key:"uri",title:w("Waf.Site.Config.index_86")},{key:"name",title:w("Waf.Site.Config.index_87")},u({width:80,options:(e,l)=>[{label:w("Public.Btn.Del"),onClick:async()=>{await r({index:l,siteName:g.siteName,ruleName:h}),P()}}]})]),P=async()=>{try{D(!0);const{siteName:e}=g,{message:l}=await c({siteName:e,ruleName:h});t(l)&&(U.data=l.map((([e,l,a])=>({uri:e,name:l,value:a}))))}finally{D(!1)}};return P(),(e,t)=>{const n=o,u=f,s=i,r=a;return p(),x("div",l,[y("div",W,[y("div",$,[v(n,{value:j(k).url,"onUpdate:value":t[0]||(t[0]=e=>j(k).url=e),placeholder:e.$t("Waf.Site.Config.index_67")},null,8,["value","placeholder"])]),y("div",b,[v(n,{value:j(k).filter,"onUpdate:value":t[1]||(t[1]=e=>j(k).filter=e),placeholder:e.$t("Waf.Site.Config.index_79")},null,8,["value","placeholder"])]),v(u,{type:"primary",onClick:B},{default:C((()=>[S(N(e.$t("Public.Btn.Add")),1)])),_:1})]),v(s,{"max-height":230,loading:j(U).loading,data:j(U).data,columns:j(A)},null,8,["loading","data","columns"]),v(r,{class:"mt-16px"},{default:C((()=>[y("li",null,N(e.$t("Waf.Site.Config.index_80")),1),y("li",null,N(e.$t("Waf.Site.Config.index_81")),1),y("li",null,N(e.$t("Waf.Site.Config.index_82")),1),y("li",null,N(e.$t("Waf.Site.Config.index_83")),1),y("li",null,N(e.$t("Waf.Site.Config.index_84")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/filter-legacy-uJ4FlanB.js b/BTPanel/static/vite/js/filter-legacy-uJ4FlanB.js deleted file mode 100644 index 428bed7e..00000000 --- a/BTPanel/static/vite/js/filter-legacy-uJ4FlanB.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./site-legacy-BrICTGUT.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785"],(function(e,l){"use strict";var a,i,t,n,u,s,r,c,d,o,f,g,_,m,p,x,y,v,j,C,S,N;return{setters:[e=>{a=e._},e=>{i=e._},e=>{t=e.n,n=e.m},e=>{u=e.u},e=>{s=e.u},e=>{r=e.w,c=e.x,d=e.A},e=>{o=e.b,f=e.B},e=>{g=e.k,_=e.R,m=e.e,p=e.$,x=e.Z,y=e._,v=e.a0,j=e.S,C=e.a9,S=e.j,N=e.aa},null,null,null,null,null,null],execute:function(){const l={class:"p-20px"},W={class:"flex mb-16px"},$={class:"flex-1 mr-16px"},b={class:"w-230px mr-16px"},h="url_rule";e("default",g({__name:"filter",props:{siteName:{default:""}},setup(e){const g=e,{t:w}=_(),k=m({url:"",filter:""}),B=async()=>{""!==k.url.trim()&&""!==k.filter.trim()?(await d({siteName:g.siteName,ruleName:h,ruleUri:k.url,ruleValue:k.filter}),k.url="",k.filter="",P()):n.error(w("Waf.Site.Config.index_85"))},{table:U,columns:A,setLoading:D}=s([{key:"uri",title:w("Waf.Site.Config.index_86")},{key:"name",title:w("Waf.Site.Config.index_87")},u({width:80,options:(e,l)=>[{label:w("Public.Btn.Del"),onClick:async()=>{await r({index:l,siteName:g.siteName,ruleName:h}),P()}}]})]),P=async()=>{try{D(!0);const{siteName:e}=g,{message:l}=await c({siteName:e,ruleName:h});t(l)&&(U.data=l.map((([e,l,a])=>({uri:e,name:l,value:a}))))}finally{D(!1)}};return P(),(e,t)=>{const n=o,u=f,s=i,r=a;return p(),x("div",l,[y("div",W,[y("div",$,[v(n,{value:j(k).url,"onUpdate:value":t[0]||(t[0]=e=>j(k).url=e),placeholder:e.$t("Waf.Site.Config.index_67")},null,8,["value","placeholder"])]),y("div",b,[v(n,{value:j(k).filter,"onUpdate:value":t[1]||(t[1]=e=>j(k).filter=e),placeholder:e.$t("Waf.Site.Config.index_79")},null,8,["value","placeholder"])]),v(u,{type:"primary",onClick:B},{default:C((()=>[S(N(e.$t("Public.Btn.Add")),1)])),_:1})]),v(s,{"max-height":230,loading:j(U).loading,data:j(U).data,columns:j(A)},null,8,["loading","data","columns"]),v(r,{class:"mt-16px"},{default:C((()=>[y("li",null,N(e.$t("Waf.Site.Config.index_80")),1),y("li",null,N(e.$t("Waf.Site.Config.index_81")),1),y("li",null,N(e.$t("Waf.Site.Config.index_82")),1),y("li",null,N(e.$t("Waf.Site.Config.index_83")),1),y("li",null,N(e.$t("Waf.Site.Config.index_84")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/firewall-BKBwyxV4.js b/BTPanel/static/vite/js/firewall-BKBwyxV4.js new file mode 100644 index 00000000..24bd3f73 --- /dev/null +++ b/BTPanel/static/vite/js/firewall-BKBwyxV4.js @@ -0,0 +1 @@ +import{av as s,a6 as t}from"./index-LQ-JIYiv.js?v=1774508183068";const i=()=>s.post("/firewall/com/get_status"),r=()=>s.post("/firewall/com/update_bt_firewall",{check:"object",customType:"model"},{requestOptions:{loading:t.global.t("Component.Pay.index_12"),successMessage:!1}}),l=()=>s.post("/firewall/com/clean_cache",{check:"msg",customType:"model"},{requestOptions:{loading:t.global.t("Component.Pay.index_12"),successMessage:!0}}),n=e=>s.post("/ajax?action=get_lines",e,{requestOptions:{loading:"",successMessage:!1,errorMessage:!1}}),c=e=>s.post("/firewall/com/set_status",e,{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_2"),successMessage:!0}}),u=e=>s.post("/firewall?action=SetPing",e,{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_3"),successMessage:!0}}),d=()=>s.post("/firewall/com/get_www_logs_size"),p=()=>s.post("/files?action=CloseLogs",{},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_4")}}),g=()=>s.post("/firewall/com/get_firewall_info"),_=e=>s.post("/firewall/com/port_rules_list",e),w=e=>s.post("/firewall/com/set_port_rule",{...e,operation:"add"},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_5"),successMessage:!0}}),f=e=>s.post("/firewall/com/modify_port_rule",{new_data:JSON.stringify({...e.new_data,operation:"add"}),old_data:JSON.stringify(e.old_data)},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_6"),successMessage:!0}}),y=e=>s.post("/firewall/com/modify_port_rule",{new_data:JSON.stringify({operation:"add",...e.new_data}),old_data:JSON.stringify(e.old_data)},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_7"),successMessage:!0}}),m=(e,o=!0)=>s.post("/firewall/com/set_port_rule",{operation:"remove",...e},{requestOptions:{loading:o?t.global.t("Security.Firewall.Api.index_15"):"",successMessage:o}}),S=e=>s.post("/safe/firewall/get_listening_processes",{data:JSON.stringify(e)}),O=e=>s.post("/firewall/com/export_rules",e,{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_14")}}),x=e=>s.post("/firewall/com/import_rules",e,{requestOptions:{successMessage:!0}}),F=e=>s.post("/firewall/com/ip_rules_list",e),b=e=>s.post("/firewall/com/set_ip_rule",{...e,operation:"add"},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_9"),successMessage:!0}}),q=e=>s.post("/firewall/com/modify_ip_rule",{new_data:JSON.stringify({operation:"add",...e.new_data}),old_data:JSON.stringify(e.old_data)},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_10"),successMessage:!0}}),M=e=>s.post("/firewall/com/modify_ip_rule",{new_data:JSON.stringify({operation:"add",...e.new_data}),old_data:JSON.stringify(e.old_data)},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_11"),successMessage:!0}}),A=(e,o=!0)=>s.post("/firewall/com/set_ip_rule",{operation:"remove",...e},{requestOptions:{loading:o?t.global.t("Security.Firewall.Api.index_16"):"",successMessage:o}}),P=e=>s.post("/firewall/com/port_forward_list",e),J=e=>s.post("/firewall/com/set_port_forward",{...e,operation:"add"},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_19"),successMessage:!0}}),N=e=>s.post("/firewall/com/modify_forward_rule",{new_data:JSON.stringify({operation:"add",...e.new_data}),old_data:JSON.stringify(e.old_data)},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_20"),successMessage:!0}}),R=(e,o=!0)=>s.post("/firewall/com/set_port_forward",{operation:"remove",...e},{requestOptions:{loading:o?t.global.t("Security.Firewall.Api.index_17"):"",successMessage:o}}),C=e=>s.post("/safe/firewall/get_country_list",{data:JSON.stringify(e)}),v=()=>s.post("/safe/firewall/get_countrys"),I=e=>s.post("/safe/firewall/create_countrys",{data:JSON.stringify(e)},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_12"),successMessage:!0}}),h=e=>s.post("/safe/firewall/modify_country",{data:JSON.stringify(e)},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_13"),successMessage:!0}}),j=(e,o=!0)=>s.post("/safe/firewall/remove_country",{data:JSON.stringify(e)},{requestOptions:{loading:o?t.global.t("Security.Firewall.Api.index_18"):"",successMessage:o}}),k=e=>s.post("/safe/firewall/import_rules",{data:JSON.stringify({rule_name:"country_rule",...e})},{requestOptions:{successMessage:!0}}),z=()=>s.post("/safe/firewall/export_rules",{data:JSON.stringify({rule_name:"country_rule"})},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_14")}});export{b as A,N as B,J as C,v as D,h as E,I as F,n as G,_ as a,M as b,p as c,m as d,y as e,A as f,d as g,F as h,x as i,R as j,P as k,O as l,k as m,j as n,C as o,z as p,g as q,u as r,c as s,l as t,r as u,i as v,f as w,w as x,S as y,q as z}; diff --git a/BTPanel/static/vite/js/firewall-jQIxKxfN.js b/BTPanel/static/vite/js/firewall-jQIxKxfN.js deleted file mode 100644 index a55ad3e7..00000000 --- a/BTPanel/static/vite/js/firewall-jQIxKxfN.js +++ /dev/null @@ -1 +0,0 @@ -import{as as s,a3 as t}from"./index-BTglIPU2.js?v=1773287522785";const i=()=>s.post("/firewall/com/get_status"),r=()=>s.post("/firewall/com/update_bt_firewall",{check:"object",customType:"model"},{requestOptions:{loading:t.global.t("Component.Pay.index_12"),successMessage:!1}}),l=()=>s.post("/firewall/com/clean_cache",{check:"msg",customType:"model"},{requestOptions:{loading:t.global.t("Component.Pay.index_12"),successMessage:!0}}),n=e=>s.post("/ajax?action=get_lines",e,{requestOptions:{loading:"",successMessage:!1,errorMessage:!1}}),c=e=>s.post("/firewall/com/set_status",e,{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_2"),successMessage:!0}}),u=e=>s.post("/firewall?action=SetPing",e,{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_3"),successMessage:!0}}),d=()=>s.post("/firewall/com/get_www_logs_size"),p=()=>s.post("/files?action=CloseLogs",{},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_4")}}),g=()=>s.post("/firewall/com/get_firewall_info"),_=e=>s.post("/firewall/com/port_rules_list",e),w=e=>s.post("/firewall/com/set_port_rule",{...e,operation:"add"},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_5"),successMessage:!0}}),f=e=>s.post("/firewall/com/modify_port_rule",{new_data:JSON.stringify({...e.new_data,operation:"add"}),old_data:JSON.stringify(e.old_data)},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_6"),successMessage:!0}}),y=e=>s.post("/firewall/com/modify_port_rule",{new_data:JSON.stringify({operation:"add",...e.new_data}),old_data:JSON.stringify(e.old_data)},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_7"),successMessage:!0}}),m=(e,o=!0)=>s.post("/firewall/com/set_port_rule",{operation:"remove",...e},{requestOptions:{loading:o?t.global.t("Security.Firewall.Api.index_15"):"",successMessage:o}}),S=e=>s.post("/safe/firewall/get_listening_processes",{data:JSON.stringify(e)}),O=e=>s.post("/firewall/com/export_rules",e,{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_14")}}),x=e=>s.post("/firewall/com/import_rules",e,{requestOptions:{successMessage:!0}}),F=e=>s.post("/firewall/com/ip_rules_list",e),b=e=>s.post("/firewall/com/set_ip_rule",{...e,operation:"add"},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_9"),successMessage:!0}}),q=e=>s.post("/firewall/com/modify_ip_rule",{new_data:JSON.stringify({operation:"add",...e.new_data}),old_data:JSON.stringify(e.old_data)},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_10"),successMessage:!0}}),M=e=>s.post("/firewall/com/modify_ip_rule",{new_data:JSON.stringify({operation:"add",...e.new_data}),old_data:JSON.stringify(e.old_data)},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_11"),successMessage:!0}}),A=(e,o=!0)=>s.post("/firewall/com/set_ip_rule",{operation:"remove",...e},{requestOptions:{loading:o?t.global.t("Security.Firewall.Api.index_16"):"",successMessage:o}}),P=e=>s.post("/firewall/com/port_forward_list",e),J=e=>s.post("/firewall/com/set_port_forward",{...e,operation:"add"},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_19"),successMessage:!0}}),N=e=>s.post("/firewall/com/modify_forward_rule",{new_data:JSON.stringify({operation:"add",...e.new_data}),old_data:JSON.stringify(e.old_data)},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_20"),successMessage:!0}}),R=(e,o=!0)=>s.post("/firewall/com/set_port_forward",{operation:"remove",...e},{requestOptions:{loading:o?t.global.t("Security.Firewall.Api.index_17"):"",successMessage:o}}),C=e=>s.post("/safe/firewall/get_country_list",{data:JSON.stringify(e)}),I=()=>s.post("/safe/firewall/get_countrys"),h=e=>s.post("/safe/firewall/create_countrys",{data:JSON.stringify(e)},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_12"),successMessage:!0}}),v=e=>s.post("/safe/firewall/modify_country",{data:JSON.stringify(e)},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_13"),successMessage:!0}}),j=(e,o=!0)=>s.post("/safe/firewall/remove_country",{data:JSON.stringify(e)},{requestOptions:{loading:o?t.global.t("Security.Firewall.Api.index_18"):"",successMessage:o}}),k=e=>s.post("/safe/firewall/import_rules",{data:JSON.stringify({rule_name:"country_rule",...e})},{requestOptions:{successMessage:!0}}),z=()=>s.post("/safe/firewall/export_rules",{data:JSON.stringify({rule_name:"country_rule"})},{requestOptions:{loading:t.global.t("Security.Firewall.Api.index_14")}});export{b as A,N as B,J as C,I as D,v as E,h as F,n as G,_ as a,M as b,p as c,m as d,y as e,A as f,d as g,F as h,x as i,R as j,P as k,O as l,k as m,j as n,C as o,z as p,g as q,u as r,c as s,l as t,r as u,i as v,f as w,w as x,S as y,q as z}; diff --git a/BTPanel/static/vite/js/firewall-legacy-BLYDdl9f.js b/BTPanel/static/vite/js/firewall-legacy-BLYDdl9f.js deleted file mode 100644 index 6e834273..00000000 --- a/BTPanel/static/vite/js/firewall-legacy-BLYDdl9f.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785"],(function(e,s){"use strict";var t,i;return{setters:[e=>{t=e.as,i=e.a3}],execute:function(){e("v",(()=>t.post("/firewall/com/get_status"))),e("u",(()=>t.post("/firewall/com/update_bt_firewall",{check:"object",customType:"model"},{requestOptions:{loading:i.global.t("Component.Pay.index_12"),successMessage:!1}}))),e("t",(()=>t.post("/firewall/com/clean_cache",{check:"msg",customType:"model"},{requestOptions:{loading:i.global.t("Component.Pay.index_12"),successMessage:!0}}))),e("G",(e=>t.post("/ajax?action=get_lines",e,{requestOptions:{loading:"",successMessage:!1,errorMessage:!1}}))),e("s",(e=>t.post("/firewall/com/set_status",e,{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_2"),successMessage:!0}}))),e("r",(e=>t.post("/firewall?action=SetPing",e,{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_3"),successMessage:!0}}))),e("g",(()=>t.post("/firewall/com/get_www_logs_size"))),e("c",(()=>t.post("/files?action=CloseLogs",{},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_4")}}))),e("q",(()=>t.post("/firewall/com/get_firewall_info"))),e("a",(e=>t.post("/firewall/com/port_rules_list",e))),e("x",(e=>t.post("/firewall/com/set_port_rule",{...e,operation:"add"},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_5"),successMessage:!0}}))),e("w",(e=>t.post("/firewall/com/modify_port_rule",{new_data:JSON.stringify({...e.new_data,operation:"add"}),old_data:JSON.stringify(e.old_data)},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_6"),successMessage:!0}}))),e("e",(e=>t.post("/firewall/com/modify_port_rule",{new_data:JSON.stringify({operation:"add",...e.new_data}),old_data:JSON.stringify(e.old_data)},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_7"),successMessage:!0}}))),e("d",((e,s=!0)=>t.post("/firewall/com/set_port_rule",{operation:"remove",...e},{requestOptions:{loading:s?i.global.t("Security.Firewall.Api.index_15"):"",successMessage:s}}))),e("y",(e=>t.post("/safe/firewall/get_listening_processes",{data:JSON.stringify(e)}))),e("l",(e=>t.post("/firewall/com/export_rules",e,{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_14")}}))),e("i",(e=>t.post("/firewall/com/import_rules",e,{requestOptions:{successMessage:!0}}))),e("h",(e=>t.post("/firewall/com/ip_rules_list",e))),e("A",(e=>t.post("/firewall/com/set_ip_rule",{...e,operation:"add"},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_9"),successMessage:!0}}))),e("z",(e=>t.post("/firewall/com/modify_ip_rule",{new_data:JSON.stringify({operation:"add",...e.new_data}),old_data:JSON.stringify(e.old_data)},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_10"),successMessage:!0}}))),e("b",(e=>t.post("/firewall/com/modify_ip_rule",{new_data:JSON.stringify({operation:"add",...e.new_data}),old_data:JSON.stringify(e.old_data)},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_11"),successMessage:!0}}))),e("f",((e,s=!0)=>t.post("/firewall/com/set_ip_rule",{operation:"remove",...e},{requestOptions:{loading:s?i.global.t("Security.Firewall.Api.index_16"):"",successMessage:s}}))),e("k",(e=>t.post("/firewall/com/port_forward_list",e))),e("C",(e=>t.post("/firewall/com/set_port_forward",{...e,operation:"add"},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_19"),successMessage:!0}}))),e("B",(e=>t.post("/firewall/com/modify_forward_rule",{new_data:JSON.stringify({operation:"add",...e.new_data}),old_data:JSON.stringify(e.old_data)},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_20"),successMessage:!0}}))),e("j",((e,s=!0)=>t.post("/firewall/com/set_port_forward",{operation:"remove",...e},{requestOptions:{loading:s?i.global.t("Security.Firewall.Api.index_17"):"",successMessage:s}}))),e("o",(e=>t.post("/safe/firewall/get_country_list",{data:JSON.stringify(e)}))),e("D",(()=>t.post("/safe/firewall/get_countrys"))),e("F",(e=>t.post("/safe/firewall/create_countrys",{data:JSON.stringify(e)},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_12"),successMessage:!0}}))),e("E",(e=>t.post("/safe/firewall/modify_country",{data:JSON.stringify(e)},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_13"),successMessage:!0}}))),e("n",((e,s=!0)=>t.post("/safe/firewall/remove_country",{data:JSON.stringify(e)},{requestOptions:{loading:s?i.global.t("Security.Firewall.Api.index_18"):"",successMessage:s}}))),e("m",(e=>t.post("/safe/firewall/import_rules",{data:JSON.stringify({rule_name:"country_rule",...e})},{requestOptions:{successMessage:!0}}))),e("p",(()=>t.post("/safe/firewall/export_rules",{data:JSON.stringify({rule_name:"country_rule"})},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_14")}})))}}})); diff --git a/BTPanel/static/vite/js/firewall-legacy-DWQWVaXU.js b/BTPanel/static/vite/js/firewall-legacy-DWQWVaXU.js new file mode 100644 index 00000000..baf39ffa --- /dev/null +++ b/BTPanel/static/vite/js/firewall-legacy-DWQWVaXU.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068"],(function(e,s){"use strict";var t,i;return{setters:[e=>{t=e.av,i=e.a6}],execute:function(){e("v",(()=>t.post("/firewall/com/get_status"))),e("u",(()=>t.post("/firewall/com/update_bt_firewall",{check:"object",customType:"model"},{requestOptions:{loading:i.global.t("Component.Pay.index_12"),successMessage:!1}}))),e("t",(()=>t.post("/firewall/com/clean_cache",{check:"msg",customType:"model"},{requestOptions:{loading:i.global.t("Component.Pay.index_12"),successMessage:!0}}))),e("G",(e=>t.post("/ajax?action=get_lines",e,{requestOptions:{loading:"",successMessage:!1,errorMessage:!1}}))),e("s",(e=>t.post("/firewall/com/set_status",e,{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_2"),successMessage:!0}}))),e("r",(e=>t.post("/firewall?action=SetPing",e,{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_3"),successMessage:!0}}))),e("g",(()=>t.post("/firewall/com/get_www_logs_size"))),e("c",(()=>t.post("/files?action=CloseLogs",{},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_4")}}))),e("q",(()=>t.post("/firewall/com/get_firewall_info"))),e("a",(e=>t.post("/firewall/com/port_rules_list",e))),e("x",(e=>t.post("/firewall/com/set_port_rule",{...e,operation:"add"},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_5"),successMessage:!0}}))),e("w",(e=>t.post("/firewall/com/modify_port_rule",{new_data:JSON.stringify({...e.new_data,operation:"add"}),old_data:JSON.stringify(e.old_data)},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_6"),successMessage:!0}}))),e("e",(e=>t.post("/firewall/com/modify_port_rule",{new_data:JSON.stringify({operation:"add",...e.new_data}),old_data:JSON.stringify(e.old_data)},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_7"),successMessage:!0}}))),e("d",((e,s=!0)=>t.post("/firewall/com/set_port_rule",{operation:"remove",...e},{requestOptions:{loading:s?i.global.t("Security.Firewall.Api.index_15"):"",successMessage:s}}))),e("y",(e=>t.post("/safe/firewall/get_listening_processes",{data:JSON.stringify(e)}))),e("l",(e=>t.post("/firewall/com/export_rules",e,{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_14")}}))),e("i",(e=>t.post("/firewall/com/import_rules",e,{requestOptions:{successMessage:!0}}))),e("h",(e=>t.post("/firewall/com/ip_rules_list",e))),e("A",(e=>t.post("/firewall/com/set_ip_rule",{...e,operation:"add"},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_9"),successMessage:!0}}))),e("z",(e=>t.post("/firewall/com/modify_ip_rule",{new_data:JSON.stringify({operation:"add",...e.new_data}),old_data:JSON.stringify(e.old_data)},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_10"),successMessage:!0}}))),e("b",(e=>t.post("/firewall/com/modify_ip_rule",{new_data:JSON.stringify({operation:"add",...e.new_data}),old_data:JSON.stringify(e.old_data)},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_11"),successMessage:!0}}))),e("f",((e,s=!0)=>t.post("/firewall/com/set_ip_rule",{operation:"remove",...e},{requestOptions:{loading:s?i.global.t("Security.Firewall.Api.index_16"):"",successMessage:s}}))),e("k",(e=>t.post("/firewall/com/port_forward_list",e))),e("C",(e=>t.post("/firewall/com/set_port_forward",{...e,operation:"add"},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_19"),successMessage:!0}}))),e("B",(e=>t.post("/firewall/com/modify_forward_rule",{new_data:JSON.stringify({operation:"add",...e.new_data}),old_data:JSON.stringify(e.old_data)},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_20"),successMessage:!0}}))),e("j",((e,s=!0)=>t.post("/firewall/com/set_port_forward",{operation:"remove",...e},{requestOptions:{loading:s?i.global.t("Security.Firewall.Api.index_17"):"",successMessage:s}}))),e("o",(e=>t.post("/safe/firewall/get_country_list",{data:JSON.stringify(e)}))),e("D",(()=>t.post("/safe/firewall/get_countrys"))),e("F",(e=>t.post("/safe/firewall/create_countrys",{data:JSON.stringify(e)},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_12"),successMessage:!0}}))),e("E",(e=>t.post("/safe/firewall/modify_country",{data:JSON.stringify(e)},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_13"),successMessage:!0}}))),e("n",((e,s=!0)=>t.post("/safe/firewall/remove_country",{data:JSON.stringify(e)},{requestOptions:{loading:s?i.global.t("Security.Firewall.Api.index_18"):"",successMessage:s}}))),e("m",(e=>t.post("/safe/firewall/import_rules",{data:JSON.stringify({rule_name:"country_rule",...e})},{requestOptions:{successMessage:!0}}))),e("p",(()=>t.post("/safe/firewall/export_rules",{data:JSON.stringify({rule_name:"country_rule"})},{requestOptions:{loading:i.global.t("Security.Firewall.Api.index_14")}})))}}})); diff --git a/BTPanel/static/vite/js/form-4lYVXWag.js b/BTPanel/static/vite/js/form-4lYVXWag.js deleted file mode 100644 index 40f4d456..00000000 --- a/BTPanel/static/vite/js/form-4lYVXWag.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as B}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as C}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{_ as E}from"./index-CZps0rIN.js?v=1773287522785";import{z as N,A as T}from"./firewall-jQIxKxfN.js?v=1773287522785";import{k as x,R as O,r as A,e as V,$ as z,Z as D,a0 as l,a9 as n,_ as i,S as r,aa as _}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as Z,a6 as j,b as q}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./index-BTglIPU2.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const G={class:"p-20px"},H={class:"w-200px"},J={class:"w-200px"},K={class:"w-200px"},L={class:"w-200px"},le=x({__name:"form",props:{row:{},isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(f,{expose:y,emit:b}){const w=f,v=b,{t:p}=O(),{isEdit:d,row:s}=w,m=A(null),e=V({address:"",types:"accept",chain:"INPUT",brief:""}),P={address:{trigger:["blur","input"],validator:()=>e.address.trim()===""||!e.address?new Error(p("Security.Firewall.IP.form_10")):!0}},h=[{label:p("Security.Firewall.IP.form_11"),value:"accept"},{label:p("Security.Firewall.IP.form_12"),value:"drop"}],I=[{label:p("Security.Firewall.IP.form_13"),value:"INPUT"},{label:p("Security.Firewall.IP.form_14"),value:"OUTPUT"}],S=()=>{d&&s&&(e.address=s.Address,e.types=s.Strategy,e.chain=s.Chain,e.brief=s.brief)},F=()=>({address:e.address,types:e.types,strategy:e.types,chain:e.chain,brief:e.brief,family:"ipv4"}),$=async()=>{var t;await((t=m.value)==null?void 0:t.validate());const a=F();d&&s?await N({new_data:{...a,id:s.id},old_data:s}):await T(a),v("refresh")};return S(),y({onConfirm:$}),(a,t)=>{const g=E,u=Z,c=j,U=q,k=C,R=B;return z(),D("div",G,[l(k,{ref_key:"formRef",ref:m,model:r(e),rules:P},{default:n(()=>[l(u,{label:a.$t("Security.Firewall.IP.form_16"),path:"address"},{default:n(()=>[i("div",H,[l(g,{value:r(e).address,"onUpdate:value":t[0]||(t[0]=o=>r(e).address=o),rows:3,disabled:r(d),placeholder:a.$t("Security.Firewall.IP.form_1")},null,8,["value","disabled","placeholder"])])]),_:1},8,["label"]),l(u,{label:a.$t("Security.Firewall.IP.form_2"),path:"types"},{default:n(()=>[i("div",J,[l(c,{value:r(e).types,"onUpdate:value":t[1]||(t[1]=o=>r(e).types=o),options:h},null,8,["value"])])]),_:1},8,["label"]),l(u,{label:a.$t("Security.Firewall.IP.form_3"),path:"chain"},{default:n(()=>[i("div",K,[l(c,{value:r(e).chain,"onUpdate:value":t[2]||(t[2]=o=>r(e).chain=o),options:I},null,8,["value"])])]),_:1},8,["label"]),l(u,{label:a.$t("Security.Firewall.IP.form_4"),path:"brief","show-feedback":!1},{default:n(()=>[i("div",L,[l(U,{value:r(e).brief,"onUpdate:value":t[3]||(t[3]=o=>r(e).brief=o),placeholder:a.$t("Security.Firewall.IP.form_5")},null,8,["value","placeholder"])])]),_:1},8,["label"])]),_:1},8,["model"]),l(R,{class:"mt-20px ml-40px"},{default:n(()=>[i("li",null,_(a.$t("Security.Firewall.IP.form_15")),1),i("li",null,_(a.$t("Security.Firewall.IP.form_8")),1),i("li",null,_(a.$t("Security.Firewall.IP.form_9")),1)]),_:1})])}}});export{le as default}; diff --git a/BTPanel/static/vite/js/form-ApdfCR0U.js b/BTPanel/static/vite/js/form-ApdfCR0U.js deleted file mode 100644 index e67ce7cf..00000000 --- a/BTPanel/static/vite/js/form-ApdfCR0U.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as O}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{k as P,R,r as d,e as V,$ as v,Z as D,a0 as a,a9 as p,_ as m,S as o,l as H,v as I,a8 as L,ak as Z}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{n as j}from"./index-BTglIPU2.js?v=1773287522785";import{g as q}from"./data-BVsViUMm.js?v=1773287522785";import{a as z}from"./check-CNel7fTH.js?v=1773287522785";import{D as G,E as J,F as K}from"./firewall-jQIxKxfN.js?v=1773287522785";import{a1 as M,a6 as Q,_ as T,al as W}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const X={class:"px-20px pt-24px pb-8px"},Y={class:"w-240px"},ee={class:"w-240px"},te={class:"w-240px"},oe={class:"w-240px"},ce=P({__name:"form",props:{row:{},isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(b,{expose:w,emit:h}){const g=b,S=h,{t:i}=R(),{isEdit:c,row:s}=g,y=d(null),e=V({types:"drop",choose:"all",ports:null,country:["United States"],is_update:!1}),F={country:{trigger:"change",validator:()=>e.country.length===0?new Error(i("Security.Firewall.Area.form_8")):!0},ports:{trigger:["blur","input"],validator:()=>{if(e.choose==="point"){if(!e.ports)return new Error(i("Security.Firewall.Area.form_9"));if(!z("".concat(e.ports)))return new Error(i("Security.Firewall.Area.form_10"))}return!0}}},k=[{label:i("Security.Firewall.Area.form_11"),value:"all"},{label:i("Security.Firewall.Area.form_3"),value:"point"}],A=[{label:i("Security.Firewall.Area.form_12"),value:"drop"}],f=d(!1),_=d([]),x=async()=>{try{f.value=!0;const{message:r}=await G();j(r)&&(_.value=r.map(t=>({label:t.CH,value:t.CH,brief:t.brief})))}finally{f.value=!1}},C=()=>{c&&s&&(e.types=s.types,e.choose=s.ports?"point":"all",e.ports=s.ports?q(s.ports):null,e.country=s.country)},$=()=>({types:e.types,choose:e.choose,ports:e.choose==="point"?"".concat(e.ports||""):"",country:e.country,brief:"",is_update:e.is_update}),E=async()=>{var t,u;await((t=y.value)==null?void 0:t.validate());const r=$();c&&s?(r.brief="".concat(((u=_.value.find(n=>n.label===s.country))==null?void 0:u.brief)||""),await J({...r,id:s.id})):await K(r),S("refresh")};return x(),C(),w({onConfirm:E}),(r,t)=>{const u=Q,n=M,U=T,B=W,N=O;return v(),D("div",X,[a(N,{ref_key:"formRef",ref:y,model:o(e),rules:F},{default:p(()=>[a(n,{label:r.$t("Security.Firewall.Area.form_1"),path:"types"},{default:p(()=>[m("div",Y,[a(u,{value:o(e).types,"onUpdate:value":t[0]||(t[0]=l=>o(e).types=l),options:A},null,8,["value"])])]),_:1},8,["label"]),a(n,{label:r.$t("Security.Firewall.Area.form_2"),path:"choose"},{default:p(()=>[m("div",ee,[a(u,{value:o(e).choose,"onUpdate:value":t[1]||(t[1]=l=>o(e).choose=l),options:k},null,8,["value"])])]),_:1},8,["label"]),H(a(n,{label:r.$t("Security.Firewall.Area.form_3"),path:"ports"},{default:p(()=>[m("div",te,[a(U,{value:o(e).ports,"onUpdate:value":t[2]||(t[2]=l=>o(e).ports=l),min:1,max:65535,"show-button":!1,placeholder:r.$t("Security.Firewall.Area.form_4")},null,8,["value","placeholder"])])]),_:1},8,["label"]),[[I,o(e).choose==="point"]]),a(n,{label:r.$t("Security.Firewall.Area.form_5"),path:"country"},{default:p(()=>[m("div",oe,[a(u,{value:o(e).country,"onUpdate:value":t[3]||(t[3]=l=>o(e).country=l),filterable:"","max-tag-count":"responsive",multiple:!o(c),loading:o(f),options:o(_)},null,8,["value","multiple","loading","options"])])]),_:1},8,["label"]),o(c)?Z("",!0):(v(),L(n,{key:0,label:" "},{default:p(()=>[a(B,{checked:o(e).is_update,"onUpdate:checked":t[4]||(t[4]=l=>o(e).is_update=l),label:"Update IP Pool"},null,8,["checked"])]),_:1}))]),_:1},8,["model"])])}}});export{ce as default}; diff --git a/BTPanel/static/vite/js/form-BKQmKNsp.js b/BTPanel/static/vite/js/form-BKQmKNsp.js deleted file mode 100644 index 84a11615..00000000 --- a/BTPanel/static/vite/js/form-BKQmKNsp.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as J}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as M,n as O}from"./index-BTglIPU2.js?v=1773287522785";import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{k as X,R as Y,r as d,c as w,e as Z,$ as m,a8 as _,a9 as i,a0 as l,S as n,_ as u,ak as c,l as ee,v as ae,j as b,aa as y}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{e as se,R as ne,S as te}from"./ssl-Bm8jcneQ.js?v=1773287522785";import{u as le}from"./useLoading-CZ2gSAW7.js?v=1773287522785";import{a1 as ie,a8 as oe,a6 as re,b as ue,a9 as pe}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const me={class:"w-300px"},_e={class:"w-300px"},de={class:"w-300px"},ye=X({__name:"form",props:{row:{},isEdit:{type:Boolean}},emits:["refresh"],setup(F,{expose:U,emit:B}){const D=F,T=B,{isEdit:r,row:t}=D,{t:f}=Y(),v=d(null),P=d([]),L=w(()=>e.name==="CloudFlareDns"),$=w(()=>e.name!=="NameSiloDns"&&e.permission==="global"),N=w(()=>e.name==="PorkBunDns"||e.name==="GodaddyDns"),e=Z({name:"",api_user:"",api_key:"",alias:"",permission:"global",status:1}),E={api_user:{required:!0,trigger:"blur",validator:(a,s)=>e.name!=="CloudFlareDns"&&!s?new Error(f("SSL.Domain.index_1")):!0},api_key:{required:!0,trigger:"blur",message:f("SSL.Domain.index_2")},alias:{required:!0,trigger:"blur",message:f("SSL.Domain.index_6")}},V=a=>{var s;a!=="CloudFlareDns"&&e.permission==="limit"&&(e.permission="global"),(s=v.value)==null||s.restoreValidation()},x=d(""),S=d(!0),K=()=>{S.value&&(e.api_user="")},R=()=>{!e.api_user&&S.value?e.api_user=x.value:e.api_user&&(S.value=!1)},I=()=>({id:r&&t?t.id:null,name:r&&t&&e.name===t.name?null:e.name,api_user:r&&t&&e.api_user===t.api_user?null:$.value?e.api_user:"",api_key:r&&t&&e.api_key===t.api_key?null:e.api_key,permission:r&&t&&e.permission===t.permission?null:e.name==="CloudFlareDns"?e.permission:"",status:r&&t&&e.status===t.status?null:e.status,alias:r&&t&&e.alias===t.alias?null:e.alias}),q=async()=>{var a;await((a=v.value)==null?void 0:a.validate()),r&&t?await se(I()):await ne(I()),T("refresh")},H=()=>{const{row:a,isEdit:s}=D;s&&a&&(e.name=a.name,e.api_user=a.api_user,x.value=a.api_user,e.api_key=a.api_key,e.permission=a.permission,e.status=a.status,e.alias=a.alias)},{loading:W,setLoading:A}=le();return(async()=>{try{A(!0);const{message:a}=await te();O(a)&&a.length>0&&(e.name=a[0],P.value=a.map(s=>({label:s,value:s})))}finally{H(),A(!1)}})(),U({onConfirm:q}),(a,s)=>{const C=oe,p=ie,j=re,h=ue,G=Q,g=M,k=J,z=pe;return m(),_(z,{class:"p-20px",show:n(W)},{default:i(()=>[l(G,{ref_key:"formRef",ref:v,model:n(e),rules:E},{default:i(()=>[l(p,{label:a.$t("Public.Table.Status"),path:"status"},{default:i(()=>[l(C,{value:n(e).status,"onUpdate:value":s[0]||(s[0]=o=>n(e).status=o),"checked-value":1,"unchecked-value":0},null,8,["value"])]),_:1},8,["label"]),l(p,{label:a.$t("Config.Alarm.index_43"),path:"name"},{default:i(()=>[l(j,{class:"w-300px",value:n(e).name,"onUpdate:value":[s[1]||(s[1]=o=>n(e).name=o),V],options:n(P),disabled:n(r)},null,8,["value","options","disabled"])]),_:1},8,["label"]),n($)?(m(),_(p,{key:0,label:n(N)?"Secret Key":"API User",path:"api_user"},{default:i(()=>[u("div",me,[l(h,{value:n(e).api_user,"onUpdate:value":s[2]||(s[2]=o=>n(e).api_user=o),placeholder:n(N)?"Please enter Secret Key":a.$t("SSL.Domain.index_1"),onFocus:K,onBlur:R},null,8,["value","placeholder"])])]),_:1},8,["label"])):c("",!0),l(p,{label:"API Key",path:"api_key"},{default:i(()=>[u("div",_e,[l(h,{value:n(e).api_key,"onUpdate:value":s[3]||(s[3]=o=>n(e).api_key=o),placeholder:a.$t("SSL.Domain.index_2")},null,8,["value","placeholder"])])]),_:1}),l(p,{label:a.$t("Config.Panel.index_36"),path:"alias"},{default:i(()=>[u("div",de,[l(h,{value:n(e).alias,"onUpdate:value":s[4]||(s[4]=o=>n(e).alias=o),placeholder:a.$t("SSL.Domain.index_6")},null,8,["value","placeholder"])])]),_:1},8,["label"]),ee(l(p,{label:"API-Limit",path:"permission"},{default:i(()=>[l(C,{value:n(e).permission,"onUpdate:value":s[5]||(s[5]=o=>n(e).permission=o),"checked-value":"limit","unchecked-value":"global"},null,8,["value"])]),_:1},512),[[ae,n(L)]])]),_:1},8,["model"]),n(L)?(m(),_(k,{key:0},{default:i(()=>[u("li",null,[l(g,{target:"_blank",href:"https://www.aapanel.com/docs/Function/Tutorial/DNS_API_Tutorial.html"},{default:i(()=>[b(y(a.$t("SSL.Domain.index_3")),1)]),_:1})])]),_:1})):c("",!0),n(e).name==="NameCheapDns"?(m(),_(k,{key:1},{default:i(()=>[s[6]||(s[6]=u("li",null," Namecheap API needs added in Whitelisted IPs (only IPv4): Profile > Tools menu > Namecheap API Access > Whitelisted IPs, please check: ",-1)),u("li",null,[l(g,{target:"_blank",href:"https://www.namecheap.com/support/api/intro/"},{default:i(()=>[b(y(a.$t("SSL.Domain.index_3")),1)]),_:1})])]),_:1,__:[6]})):c("",!0),n(e).name==="NameSiloDns"||n(e).name==="PorkBunDns"?(m(),_(k,{key:2},{default:i(()=>[u("li",null,[l(g,{target:"_blank",href:"https://www.aapanel.com/docs/Function/Tutorial/DNS_API_Tutorial.html"},{default:i(()=>[b(y(a.$t("SSL.Domain.index_3")),1)]),_:1})])]),_:1})):c("",!0)]),_:1},8,["show"])}}});export{ye as default}; diff --git a/BTPanel/static/vite/js/form-BPOmn23P.js b/BTPanel/static/vite/js/form-BPOmn23P.js new file mode 100644 index 00000000..2915cd6a --- /dev/null +++ b/BTPanel/static/vite/js/form-BPOmn23P.js @@ -0,0 +1 @@ +import{_ as j}from"./index-BonLJ3_f.js?v=1774508183068";import{c as F,fV as L,p as M,fW as E,i as P}from"./index-LQ-JIYiv.js?v=1774508183068";import{L as U}from"./like-CJUjzLhM.js?v=1774508183068";import{k as N,ao as z,$ as r,a8 as B,a9 as b,_ as e,Z as _,F as g,P as k,L as h,aa as p,R as D,r as C,e as w,a0 as c,X as O,S as d,j as T,ak as W}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{l as J,a1 as X,a7 as Y,B as Z}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const A={class:"flex border-1px border-solid border-#f3adaa"},G=["onClick"],H={class:"flex border-1px border-solid border-#f4cf8f"},K=["onClick"],Q={class:"flex border-1px border-solid border-#b8e29f"},ee=["onClick"],te=N({__name:"rating",props:{value:{},valueModifiers:{}},emits:["update:value"],setup($){const u=z($,"value"),f=n=>{u.value=n};return(n,a)=>{const i=J;return r(),B(i,{class:"justify-center! mb-16px",size:20},{default:b(()=>[e("div",null,[e("div",A,[(r(),_(g,null,k(6,t=>e("div",{key:t,class:h(["rating-item","danger-item",{active:u.value===t}]),onClick:m=>f(t)},[e("span",null,p(t),1)],10,G)),64))]),a[0]||(a[0]=e("div",{class:"rating-label danger-text"},"No",-1))]),e("div",null,[e("div",H,[(r(),_(g,null,k(2,t=>e("div",{key:t+6,class:h(["rating-item","warning-item",{active:u.value===t+6}]),onClick:m=>f(t+6)},[e("span",null,p(t+6),1)],10,K)),64))]),a[1]||(a[1]=e("div",{class:"rating-label warning-text"},"Yes",-1))]),e("div",null,[e("div",Q,[(r(),_(g,null,k(2,t=>e("div",{key:t+8,class:h(["rating-item","success-item",{active:u.value===t+8}]),onClick:m=>f(t+8)},[e("span",null,p(t+8),1)],10,ee)),64))]),a[2]||(a[2]=e("div",{class:"rating-label success-text"},"Must",-1))])]),_:1})}}}),se=F(te,[["__scopeId","data-v-c528e412"]]),oe={class:"banner"},ne={class:"banner-title"},ae={class:"ml-8px"},le={key:0,class:"px-24px"},re={class:"text-primary"},ie={class:"flex justify-center my-20px"},ce=N({__name:"form",emits:["close"],setup($,{emit:u}){const{t:f}=D(),n=C(0),a=u,i=w({}),t=w({}),m=C(null),y=C([]),R=async()=>{var s;await((s=m.value)==null?void 0:s.validate());const o={questions:JSON.stringify(y.value.reduce((v,x)=>(v[x.id]=i[x.id],v),{})),rate:n.value,product_type:1};await L(o),a("close"),q()},q=()=>{const o=M({hideClose:!0,content:()=>c("div",{class:"flex-center flex-col w-230px h-124px bg-#F1F9F3"},[c("img",{class:"w-56px",src:U},null),c("div",{class:"mt-16px"},[f("Component.Feedback.index_6")])])});setTimeout(()=>{o.hide()},3e3)};return(async()=>{const{message:o}=await E();P(o)&&(y.value=o.res,o.res.forEach(s=>{i[s.id]=""}),o.res.forEach(s=>{s.required===1&&(t[s.id]={required:!0,message:s.question,trigger:["blur","change"]})}))})(),(o,s)=>{const v=j,x=X,I=Y,S=Z;return r(),_("div",null,[e("div",oe,[e("div",ne,[e("span",ae,p(o.$t("Component.Feedback.index_1")),1)])]),s[1]||(s[1]=e("div",{class:"text-center text-20px font-bold my-20px"},"Would you recommend aaPanel?",-1)),c(se,{value:d(n),"onUpdate:value":s[0]||(s[0]=l=>O(n)?n.value=l:null)},null,8,["value"]),d(n)?(r(),_("div",le,[c(I,{model:d(i),rules:d(t),ref_key:"formRef",ref:m},{default:b(()=>[(r(!0),_(g,null,k(d(y),l=>(r(),B(x,{label:l.question,path:l.id,key:l.id},{default:b(()=>[c(v,{value:d(i)[l.id],"onUpdate:value":V=>d(i)[l.id]=V,placeholder:l.hint},null,8,["value","onUpdate:value","placeholder"])]),_:2},1032,["label","path"]))),128))]),_:1},8,["model","rules"]),e("div",re,p(o.$t("Component.Feedback.index_4")),1),e("div",ie,[c(S,{type:"primary",class:"w-120px",onClick:R},{default:b(()=>[T(p(o.$t("Public.Btn.Submit")),1)]),_:1})])])):W("",!0)])}}}),xe=F(ce,[["__scopeId","data-v-0fe468ba"]]);export{xe as default}; diff --git a/BTPanel/static/vite/js/form-BaKzdg-M.js b/BTPanel/static/vite/js/form-BaKzdg-M.js new file mode 100644 index 00000000..68ca373f --- /dev/null +++ b/BTPanel/static/vite/js/form-BaKzdg-M.js @@ -0,0 +1 @@ +import{_ as O}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{k as P,R,r as d,e as V,$ as v,Z as D,a0 as a,a9 as p,_ as m,S as o,l as H,v as I,a8 as L,ak as Z}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{n as j}from"./index-LQ-JIYiv.js?v=1774508183068";import{g as q}from"./data-DKqR3z3t.js?v=1774508183068";import{a as z}from"./check-CNel7fTH.js?v=1774508183068";import{D as G,E as J,F as K}from"./firewall-BKBwyxV4.js?v=1774508183068";import{a1 as M,a6 as Q,_ as T,am as W}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const X={class:"px-20px pt-24px pb-8px"},Y={class:"w-240px"},ee={class:"w-240px"},te={class:"w-240px"},oe={class:"w-240px"},ce=P({__name:"form",props:{row:{},isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(b,{expose:w,emit:h}){const g=b,S=h,{t:i}=R(),{isEdit:c,row:s}=g,y=d(null),e=V({types:"drop",choose:"all",ports:null,country:["United States"],is_update:!1}),F={country:{trigger:"change",validator:()=>e.country.length===0?new Error(i("Security.Firewall.Area.form_8")):!0},ports:{trigger:["blur","input"],validator:()=>{if(e.choose==="point"){if(!e.ports)return new Error(i("Security.Firewall.Area.form_9"));if(!z("".concat(e.ports)))return new Error(i("Security.Firewall.Area.form_10"))}return!0}}},k=[{label:i("Security.Firewall.Area.form_11"),value:"all"},{label:i("Security.Firewall.Area.form_3"),value:"point"}],A=[{label:i("Security.Firewall.Area.form_12"),value:"drop"}],f=d(!1),_=d([]),x=async()=>{try{f.value=!0;const{message:r}=await G();j(r)&&(_.value=r.map(t=>({label:t.CH,value:t.CH,brief:t.brief})))}finally{f.value=!1}},C=()=>{c&&s&&(e.types=s.types,e.choose=s.ports?"point":"all",e.ports=s.ports?q(s.ports):null,e.country=s.country)},$=()=>({types:e.types,choose:e.choose,ports:e.choose==="point"?"".concat(e.ports||""):"",country:e.country,brief:"",is_update:e.is_update}),E=async()=>{var t,u;await((t=y.value)==null?void 0:t.validate());const r=$();c&&s?(r.brief="".concat(((u=_.value.find(n=>n.label===s.country))==null?void 0:u.brief)||""),await J({...r,id:s.id})):await K(r),S("refresh")};return x(),C(),w({onConfirm:E}),(r,t)=>{const u=Q,n=M,U=T,B=W,N=O;return v(),D("div",X,[a(N,{ref_key:"formRef",ref:y,model:o(e),rules:F},{default:p(()=>[a(n,{label:r.$t("Security.Firewall.Area.form_1"),path:"types"},{default:p(()=>[m("div",Y,[a(u,{value:o(e).types,"onUpdate:value":t[0]||(t[0]=l=>o(e).types=l),options:A},null,8,["value"])])]),_:1},8,["label"]),a(n,{label:r.$t("Security.Firewall.Area.form_2"),path:"choose"},{default:p(()=>[m("div",ee,[a(u,{value:o(e).choose,"onUpdate:value":t[1]||(t[1]=l=>o(e).choose=l),options:k},null,8,["value"])])]),_:1},8,["label"]),H(a(n,{label:r.$t("Security.Firewall.Area.form_3"),path:"ports"},{default:p(()=>[m("div",te,[a(U,{value:o(e).ports,"onUpdate:value":t[2]||(t[2]=l=>o(e).ports=l),min:1,max:65535,"show-button":!1,placeholder:r.$t("Security.Firewall.Area.form_4")},null,8,["value","placeholder"])])]),_:1},8,["label"]),[[I,o(e).choose==="point"]]),a(n,{label:r.$t("Security.Firewall.Area.form_5"),path:"country"},{default:p(()=>[m("div",oe,[a(u,{value:o(e).country,"onUpdate:value":t[3]||(t[3]=l=>o(e).country=l),filterable:"","max-tag-count":"responsive",multiple:!o(c),loading:o(f),options:o(_)},null,8,["value","multiple","loading","options"])])]),_:1},8,["label"]),o(c)?Z("",!0):(v(),L(n,{key:0,label:" "},{default:p(()=>[a(B,{checked:o(e).is_update,"onUpdate:checked":t[4]||(t[4]=l=>o(e).is_update=l),label:"Update IP Pool"},null,8,["checked"])]),_:1}))]),_:1},8,["model"])])}}});export{ce as default}; diff --git a/BTPanel/static/vite/js/form-BbEKxe5W.js b/BTPanel/static/vite/js/form-BbEKxe5W.js new file mode 100644 index 00000000..23b2a88d --- /dev/null +++ b/BTPanel/static/vite/js/form-BbEKxe5W.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-zhFTBa83.js?v=1774508183068";import"./index-Dd5dC2sI.js?v=1774508183068";import"./index-LQ-JIYiv.js?v=1774508183068";import"./vue-core-BlDeWrD6.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";import"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import"./check-CNel7fTH.js?v=1774508183068";import"./index-CcJGx9bJ.js?v=1774508183068";import"./index-DY5XhNsk.js?v=1774508183068";export{o as default}; diff --git a/BTPanel/static/vite/js/form-Bh8y73jn.js b/BTPanel/static/vite/js/form-Bh8y73jn.js new file mode 100644 index 00000000..689ddf46 --- /dev/null +++ b/BTPanel/static/vite/js/form-Bh8y73jn.js @@ -0,0 +1 @@ +import{_ as x}from"./index-Dd5dC2sI.js?v=1774508183068";import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{_ as D}from"./index-BonLJ3_f.js?v=1774508183068";import{k as N,R as A,r as V,e as j,$ as Z,Z as q,a0 as l,a9 as u,_ as d,S as r,l as w,v,aa as b}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{w as z,x as G}from"./firewall-BKBwyxV4.js?v=1774508183068";import{a1 as H,a6 as J,b as K}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./index-LQ-JIYiv.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const L={class:"p-20px"},M={class:"w-240px"},Q={class:"w-240px"},W={class:"w-240px"},X={class:"w-240px"},Y={class:"w-240px"},ee={class:"w-240px"},oe={class:"w-240px"},te={class:"w-240px"},de=N({__name:"form",props:{row:{},isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(y,{expose:h,emit:P}){const S=y,F=P,{t:n}=A(),{isEdit:f,row:i}=S,_=V(null),e=j({protocol:"tcp",port:"",choose:"all",address:"",domain:"",types:"accept",chain:"INPUT",brief:""}),g={port:{trigger:["blur","input"],validator:()=>{const o=e.port.split(","),t=/^\d+$/;for(let p of o)if(t.test(p)){const s=parseInt(p,10);if(s<1||s>65535)return new Error(n("Security.Firewall.Port.form_15"))}else if(p.includes("-")){const s=p.split("-"),c=parseInt(s[0],10),m=parseInt(s[1],10);if(c<1||m>65535||c>m)return new Error(n("Security.Firewall.Port.form_15"))}else return p==""?new Error(n("Security.Firewall.Port.form_16")):new Error(n("Security.Firewall.Port.form_15"));return!0}},address:{trigger:["blur","input"],validator:()=>e.choose==="point"&&(e.address.trim()===""||!e.address)?new Error(n("Security.Firewall.Port.form_18")):!0},domain:{trigger:["blur","input"],validator:()=>e.choose==="domain"&&(e.domain.trim()===""||!e.domain)?new Error(n("Security.Firewall.Port.form_19")):!0}},$=[{label:"TCP",value:"tcp"},{label:"UDP",value:"udp"},{label:"TCP/UDP",value:"all"}],U=[{label:n("Security.Firewall.Port.form_20"),value:"all"},{label:n("Security.Firewall.Port.form_5"),value:"point"}],E=[{label:n("Security.Firewall.Port.form_21"),value:"accept"},{label:n("Security.Firewall.Port.form_22"),value:"drop"}],C=[{label:n("Security.Firewall.Port.form_23"),value:"INPUT"},{label:n("Security.Firewall.Port.form_24"),value:"OUTPUT"}],I=()=>{f&&i&&(e.protocol=i.Protocol,e.port=i.Port,e.choose=i.Address==="all"?"all":i.domain===""?"point":"domain",e.address=i.Address==="all"?"":i.Address,e.domain=i.domain,e.types=i.Strategy,e.chain=i.Chain,e.brief=i.brief)},O=()=>{let o={protocol:e.protocol,port:e.port,choose:e.choose,domain:e.choose==="domain"?e.domain:"",types:e.types,strategy:e.types,chain:e.chain,brief:e.brief};return o.choose==="point"&&(o=Object.assign(o,{address:e.address})),o},T=async()=>{var t;await((t=_.value)==null?void 0:t.validate());const o=O();f&&i?await z({new_data:o,old_data:i}):await G(o),F("refresh")};return I(),h({onConfirm:T}),(o,t)=>{const p=J,s=H,c=K,m=D,k=B,R=x;return Z(),q("div",L,[l(k,{ref_key:"formRef",ref:_,model:r(e),rules:g},{default:u(()=>[l(s,{label:o.$t("Security.Firewall.Port.form_1"),path:"protocol"},{default:u(()=>[d("div",M,[l(p,{value:r(e).protocol,"onUpdate:value":t[0]||(t[0]=a=>r(e).protocol=a),options:$},null,8,["value"])])]),_:1},8,["label"]),l(s,{label:o.$t("Security.Firewall.Port.form_2"),path:"port"},{default:u(()=>[d("div",Q,[l(c,{value:r(e).port,"onUpdate:value":t[1]||(t[1]=a=>r(e).port=a),disabled:r(f),placeholder:o.$t("Security.Firewall.Port.form_3")},null,8,["value","disabled","placeholder"])])]),_:1},8,["label"]),l(s,{label:o.$t("Security.Firewall.Port.form_4"),path:"choose"},{default:u(()=>[d("div",W,[l(p,{value:r(e).choose,"onUpdate:value":t[2]||(t[2]=a=>r(e).choose=a),options:U},null,8,["value"])])]),_:1},8,["label"]),w(l(s,{label:o.$t("Security.Firewall.Port.form_5"),path:"address"},{default:u(()=>[d("div",X,[l(m,{value:r(e).address,"onUpdate:value":t[3]||(t[3]=a=>r(e).address=a),rows:3,placeholder:o.$t("Security.Firewall.Port.form_6")},null,8,["value","placeholder"])])]),_:1},8,["label"]),[[v,r(e).choose==="point"]]),w(l(s,{label:o.$t("Security.Firewall.Port.form_7"),path:"domain"},{default:u(()=>[d("div",Y,[l(m,{value:r(e).domain,"onUpdate:value":t[4]||(t[4]=a=>r(e).domain=a),rows:3,placeholder:o.$t("Security.Firewall.Port.form_8")},null,8,["value","placeholder"])])]),_:1},8,["label"]),[[v,r(e).choose==="domain"]]),l(s,{label:o.$t("Security.Firewall.Port.form_9"),path:"types"},{default:u(()=>[d("div",ee,[l(p,{value:r(e).types,"onUpdate:value":t[5]||(t[5]=a=>r(e).types=a),options:E},null,8,["value"])])]),_:1},8,["label"]),l(s,{label:o.$t("Security.Firewall.Port.form_10"),path:"types"},{default:u(()=>[d("div",oe,[l(p,{value:r(e).chain,"onUpdate:value":t[6]||(t[6]=a=>r(e).chain=a),options:C},null,8,["value"])])]),_:1},8,["label"]),l(s,{label:o.$t("Security.Firewall.Port.form_11"),path:"brief","show-feedback":!1},{default:u(()=>[d("div",te,[l(c,{value:r(e).brief,"onUpdate:value":t[7]||(t[7]=a=>r(e).brief=a),placeholder:o.$t("Security.Firewall.Port.form_12")},null,8,["value","placeholder"])])]),_:1},8,["label"])]),_:1},8,["model"]),l(R,{class:"mt-20px ml-40px"},{default:u(()=>[d("li",null,b(o.$t("Security.Firewall.Port.form_13")),1),d("li",null,b(o.$t("Security.Firewall.Port.form_14")),1)]),_:1})])}}});export{de as default}; diff --git a/BTPanel/static/vite/js/form-BzkxlI67.js b/BTPanel/static/vite/js/form-BzkxlI67.js new file mode 100644 index 00000000..025aceef --- /dev/null +++ b/BTPanel/static/vite/js/form-BzkxlI67.js @@ -0,0 +1 @@ +import{_ as B}from"./index-Dd5dC2sI.js?v=1774508183068";import{_ as C}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{_ as E}from"./index-BonLJ3_f.js?v=1774508183068";import{z as N,A as T}from"./firewall-BKBwyxV4.js?v=1774508183068";import{k as x,R as O,r as A,e as V,$ as z,Z as D,a0 as l,a9 as n,_ as i,S as r,aa as _}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a1 as Z,a6 as j,b as q}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./index-LQ-JIYiv.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const G={class:"p-20px"},H={class:"w-200px"},J={class:"w-200px"},K={class:"w-200px"},L={class:"w-200px"},le=x({__name:"form",props:{row:{},isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(f,{expose:y,emit:b}){const w=f,v=b,{t:p}=O(),{isEdit:d,row:s}=w,m=A(null),e=V({address:"",types:"accept",chain:"INPUT",brief:""}),P={address:{trigger:["blur","input"],validator:()=>e.address.trim()===""||!e.address?new Error(p("Security.Firewall.IP.form_10")):!0}},h=[{label:p("Security.Firewall.IP.form_11"),value:"accept"},{label:p("Security.Firewall.IP.form_12"),value:"drop"}],I=[{label:p("Security.Firewall.IP.form_13"),value:"INPUT"},{label:p("Security.Firewall.IP.form_14"),value:"OUTPUT"}],S=()=>{d&&s&&(e.address=s.Address,e.types=s.Strategy,e.chain=s.Chain,e.brief=s.brief)},F=()=>({address:e.address,types:e.types,strategy:e.types,chain:e.chain,brief:e.brief,family:"ipv4"}),$=async()=>{var t;await((t=m.value)==null?void 0:t.validate());const a=F();d&&s?await N({new_data:{...a,id:s.id},old_data:s}):await T(a),v("refresh")};return S(),y({onConfirm:$}),(a,t)=>{const g=E,u=Z,c=j,U=q,k=C,R=B;return z(),D("div",G,[l(k,{ref_key:"formRef",ref:m,model:r(e),rules:P},{default:n(()=>[l(u,{label:a.$t("Security.Firewall.IP.form_16"),path:"address"},{default:n(()=>[i("div",H,[l(g,{value:r(e).address,"onUpdate:value":t[0]||(t[0]=o=>r(e).address=o),rows:3,disabled:r(d),placeholder:a.$t("Security.Firewall.IP.form_1")},null,8,["value","disabled","placeholder"])])]),_:1},8,["label"]),l(u,{label:a.$t("Security.Firewall.IP.form_2"),path:"types"},{default:n(()=>[i("div",J,[l(c,{value:r(e).types,"onUpdate:value":t[1]||(t[1]=o=>r(e).types=o),options:h},null,8,["value"])])]),_:1},8,["label"]),l(u,{label:a.$t("Security.Firewall.IP.form_3"),path:"chain"},{default:n(()=>[i("div",K,[l(c,{value:r(e).chain,"onUpdate:value":t[2]||(t[2]=o=>r(e).chain=o),options:I},null,8,["value"])])]),_:1},8,["label"]),l(u,{label:a.$t("Security.Firewall.IP.form_4"),path:"brief","show-feedback":!1},{default:n(()=>[i("div",L,[l(U,{value:r(e).brief,"onUpdate:value":t[3]||(t[3]=o=>r(e).brief=o),placeholder:a.$t("Security.Firewall.IP.form_5")},null,8,["value","placeholder"])])]),_:1},8,["label"])]),_:1},8,["model"]),l(R,{class:"mt-20px ml-40px"},{default:n(()=>[i("li",null,_(a.$t("Security.Firewall.IP.form_15")),1),i("li",null,_(a.$t("Security.Firewall.IP.form_8")),1),i("li",null,_(a.$t("Security.Firewall.IP.form_9")),1)]),_:1})])}}});export{le as default}; diff --git a/BTPanel/static/vite/js/form-C18YmHSH.js b/BTPanel/static/vite/js/form-C18YmHSH.js deleted file mode 100644 index 2802bcb4..00000000 --- a/BTPanel/static/vite/js/form-C18YmHSH.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as U}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import"./index-BTglIPU2.js?v=1773287522785";import{a as m}from"./check-CNel7fTH.js?v=1773287522785";import{B as T,C as R}from"./firewall-jQIxKxfN.js?v=1773287522785";import{k as A,R as D,r as N,e as V,$ as x,Z as I,a0 as t,a9 as i,_ as d,S as a,aa as c}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a1 as L,a6 as O,b as Z}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const j={class:"p-20px"},q={class:"w-200px"},z={class:"w-200px"},G={class:"w-200px"},H={class:"w-200px"},J={class:"w-200px"},er=A({__name:"form",props:{row:{},isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(w,{expose:F,emit:v}){const b=w,y=v,{t:p}=D(),{isEdit:u,row:l}=b,f=N(null),r=V({protocol:"tcp",s_ports:"",d_address:"",d_ports:"",brief:""}),S={s_ports:{trigger:["blur","input"],validator:()=>r.s_ports.trim()===""||!r.s_ports?new Error(p("Security.Firewall.Forward.form_3")):m(r.s_ports)?!0:new Error(p("Security.Firewall.Forward.form_12"))},d_ports:{trigger:["blur","input"],validator:()=>r.d_ports.trim()===""||!r.d_ports?new Error(p("Security.Firewall.Forward.form_7")):m(r.d_ports)?!0:new Error(p("Security.Firewall.Forward.form_12"))}},h=[{label:"TCP",value:"tcp"},{label:"UDP",value:"udp"}],$=()=>{u&&l&&(r.protocol=l.Protocol?l.Protocol.toLowerCase():"tcp",r.s_ports=l.S_Port||"",r.d_address=l.T_Address||"",r.d_ports=l.T_Port||"",r.brief=l.brief)},P=()=>({protocol:r.protocol,S_Port:r.s_ports,T_Port:r.d_ports,T_Address:r.d_address,brief:r.brief}),g=async()=>{var e;await((e=f.value)==null?void 0:e.validate());const o=P();u&&l?await T({new_data:{...o,id:l.id},old_data:l}):await R(o),y("refresh")};return $(),F({onConfirm:g}),(o,e)=>{const E=O,n=L,_=Z,k=B,C=U;return x(),I("div",j,[t(k,{ref_key:"formRef",ref:f,model:a(r),rules:S},{default:i(()=>[t(n,{label:o.$t("Security.Firewall.Forward.form_1"),path:"protocol"},{default:i(()=>[d("div",q,[t(E,{value:a(r).protocol,"onUpdate:value":e[0]||(e[0]=s=>a(r).protocol=s),options:h},null,8,["value"])])]),_:1},8,["label"]),t(n,{label:o.$t("Security.Firewall.Forward.form_2"),path:"s_ports"},{default:i(()=>[d("div",z,[t(_,{value:a(r).s_ports,"onUpdate:value":e[1]||(e[1]=s=>a(r).s_ports=s),placeholder:o.$t("Security.Firewall.Forward.form_3")},null,8,["value","placeholder"])])]),_:1},8,["label"]),t(n,{label:o.$t("Security.Firewall.Forward.form_4"),path:"d_address"},{default:i(()=>[d("div",G,[t(_,{value:a(r).d_address,"onUpdate:value":e[2]||(e[2]=s=>a(r).d_address=s),placeholder:o.$t("Security.Firewall.Forward.form_5")},null,8,["value","placeholder"])])]),_:1},8,["label"]),t(n,{label:o.$t("Security.Firewall.Forward.form_6"),path:"d_ports"},{default:i(()=>[d("div",H,[t(_,{value:a(r).d_ports,"onUpdate:value":e[3]||(e[3]=s=>a(r).d_ports=s),placeholder:o.$t("Security.Firewall.Forward.form_7")},null,8,["value","placeholder"])])]),_:1},8,["label"]),t(n,{label:o.$t("Security.Firewall.Forward.form_8"),path:"brief","show-feedback":!1},{default:i(()=>[d("div",J,[t(_,{value:a(r).brief,"onUpdate:value":e[4]||(e[4]=s=>a(r).brief=s),placeholder:o.$t("Security.Firewall.Forward.form_9")},null,8,["value","placeholder"])])]),_:1},8,["label"])]),_:1},8,["model"]),t(C,{class:"mt-20px ml-40px"},{default:i(()=>[d("li",null,c(o.$t("Security.Firewall.Forward.form_10")),1),d("li",null,c(o.$t("Security.Firewall.Forward.form_11")),1)]),_:1})])}}});export{er as default}; diff --git a/BTPanel/static/vite/js/form-C2lMVHrP.js b/BTPanel/static/vite/js/form-C2lMVHrP.js new file mode 100644 index 00000000..940428d1 --- /dev/null +++ b/BTPanel/static/vite/js/form-C2lMVHrP.js @@ -0,0 +1 @@ +import{_ as U}from"./index-Dd5dC2sI.js?v=1774508183068";import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import"./index-LQ-JIYiv.js?v=1774508183068";import{a as m}from"./check-CNel7fTH.js?v=1774508183068";import{B as T,C as R}from"./firewall-BKBwyxV4.js?v=1774508183068";import{k as A,R as D,r as N,e as V,$ as x,Z as I,a0 as t,a9 as i,_ as d,S as a,aa as c}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{a1 as L,a6 as O,b as Z}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const j={class:"p-20px"},q={class:"w-200px"},z={class:"w-200px"},G={class:"w-200px"},H={class:"w-200px"},J={class:"w-200px"},er=A({__name:"form",props:{row:{},isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(w,{expose:F,emit:v}){const b=w,y=v,{t:p}=D(),{isEdit:u,row:l}=b,f=N(null),r=V({protocol:"tcp",s_ports:"",d_address:"",d_ports:"",brief:""}),S={s_ports:{trigger:["blur","input"],validator:()=>r.s_ports.trim()===""||!r.s_ports?new Error(p("Security.Firewall.Forward.form_3")):m(r.s_ports)?!0:new Error(p("Security.Firewall.Forward.form_12"))},d_ports:{trigger:["blur","input"],validator:()=>r.d_ports.trim()===""||!r.d_ports?new Error(p("Security.Firewall.Forward.form_7")):m(r.d_ports)?!0:new Error(p("Security.Firewall.Forward.form_12"))}},h=[{label:"TCP",value:"tcp"},{label:"UDP",value:"udp"}],$=()=>{u&&l&&(r.protocol=l.Protocol?l.Protocol.toLowerCase():"tcp",r.s_ports=l.S_Port||"",r.d_address=l.T_Address||"",r.d_ports=l.T_Port||"",r.brief=l.brief)},P=()=>({protocol:r.protocol,S_Port:r.s_ports,T_Port:r.d_ports,T_Address:r.d_address,brief:r.brief}),g=async()=>{var e;await((e=f.value)==null?void 0:e.validate());const o=P();u&&l?await T({new_data:{...o,id:l.id},old_data:l}):await R(o),y("refresh")};return $(),F({onConfirm:g}),(o,e)=>{const E=O,n=L,_=Z,k=B,C=U;return x(),I("div",j,[t(k,{ref_key:"formRef",ref:f,model:a(r),rules:S},{default:i(()=>[t(n,{label:o.$t("Security.Firewall.Forward.form_1"),path:"protocol"},{default:i(()=>[d("div",q,[t(E,{value:a(r).protocol,"onUpdate:value":e[0]||(e[0]=s=>a(r).protocol=s),options:h},null,8,["value"])])]),_:1},8,["label"]),t(n,{label:o.$t("Security.Firewall.Forward.form_2"),path:"s_ports"},{default:i(()=>[d("div",z,[t(_,{value:a(r).s_ports,"onUpdate:value":e[1]||(e[1]=s=>a(r).s_ports=s),placeholder:o.$t("Security.Firewall.Forward.form_3")},null,8,["value","placeholder"])])]),_:1},8,["label"]),t(n,{label:o.$t("Security.Firewall.Forward.form_4"),path:"d_address"},{default:i(()=>[d("div",G,[t(_,{value:a(r).d_address,"onUpdate:value":e[2]||(e[2]=s=>a(r).d_address=s),placeholder:o.$t("Security.Firewall.Forward.form_5")},null,8,["value","placeholder"])])]),_:1},8,["label"]),t(n,{label:o.$t("Security.Firewall.Forward.form_6"),path:"d_ports"},{default:i(()=>[d("div",H,[t(_,{value:a(r).d_ports,"onUpdate:value":e[3]||(e[3]=s=>a(r).d_ports=s),placeholder:o.$t("Security.Firewall.Forward.form_7")},null,8,["value","placeholder"])])]),_:1},8,["label"]),t(n,{label:o.$t("Security.Firewall.Forward.form_8"),path:"brief","show-feedback":!1},{default:i(()=>[d("div",J,[t(_,{value:a(r).brief,"onUpdate:value":e[4]||(e[4]=s=>a(r).brief=s),placeholder:o.$t("Security.Firewall.Forward.form_9")},null,8,["value","placeholder"])])]),_:1},8,["label"])]),_:1},8,["model"]),t(C,{class:"mt-20px ml-40px"},{default:i(()=>[d("li",null,c(o.$t("Security.Firewall.Forward.form_10")),1),d("li",null,c(o.$t("Security.Firewall.Forward.form_11")),1)]),_:1})])}}});export{er as default}; diff --git a/BTPanel/static/vite/js/form-COKwoheR.js b/BTPanel/static/vite/js/form-COKwoheR.js new file mode 100644 index 00000000..6a96de8c --- /dev/null +++ b/BTPanel/static/vite/js/form-COKwoheR.js @@ -0,0 +1 @@ +import{_ as J}from"./index-Dd5dC2sI.js?v=1774508183068";import{_ as M,n as O}from"./index-LQ-JIYiv.js?v=1774508183068";import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{k as X,R as Y,r as d,c as w,e as Z,$ as m,a8 as _,a9 as i,a0 as l,S as n,_ as u,ak as c,l as ee,v as ae,j as b,aa as y}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{e as se,R as ne,S as te}from"./ssl-DQUJJMjp.js?v=1774508183068";import{u as le}from"./useLoading-BRu-BHcC.js?v=1774508183068";import{a1 as ie,a8 as oe,a6 as re,b as ue,a9 as pe}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const me={class:"w-300px"},_e={class:"w-300px"},de={class:"w-300px"},ye=X({__name:"form",props:{row:{},isEdit:{type:Boolean}},emits:["refresh"],setup(F,{expose:U,emit:B}){const D=F,T=B,{isEdit:r,row:t}=D,{t:f}=Y(),v=d(null),P=d([]),L=w(()=>e.name==="CloudFlareDns"),$=w(()=>e.name!=="NameSiloDns"&&e.permission==="global"),N=w(()=>e.name==="PorkBunDns"||e.name==="GodaddyDns"),e=Z({name:"",api_user:"",api_key:"",alias:"",permission:"global",status:1}),E={api_user:{required:!0,trigger:"blur",validator:(a,s)=>e.name!=="CloudFlareDns"&&!s?new Error(f("SSL.Domain.index_1")):!0},api_key:{required:!0,trigger:"blur",message:f("SSL.Domain.index_2")},alias:{required:!0,trigger:"blur",message:f("SSL.Domain.index_6")}},V=a=>{var s;a!=="CloudFlareDns"&&e.permission==="limit"&&(e.permission="global"),(s=v.value)==null||s.restoreValidation()},x=d(""),S=d(!0),K=()=>{S.value&&(e.api_user="")},R=()=>{!e.api_user&&S.value?e.api_user=x.value:e.api_user&&(S.value=!1)},I=()=>({id:r&&t?t.id:null,name:r&&t&&e.name===t.name?null:e.name,api_user:r&&t&&e.api_user===t.api_user?null:$.value?e.api_user:"",api_key:r&&t&&e.api_key===t.api_key?null:e.api_key,permission:r&&t&&e.permission===t.permission?null:e.name==="CloudFlareDns"?e.permission:"",status:r&&t&&e.status===t.status?null:e.status,alias:r&&t&&e.alias===t.alias?null:e.alias}),q=async()=>{var a;await((a=v.value)==null?void 0:a.validate()),r&&t?await se(I()):await ne(I()),T("refresh")},H=()=>{const{row:a,isEdit:s}=D;s&&a&&(e.name=a.name,e.api_user=a.api_user,x.value=a.api_user,e.api_key=a.api_key,e.permission=a.permission,e.status=a.status,e.alias=a.alias)},{loading:W,setLoading:A}=le();return(async()=>{try{A(!0);const{message:a}=await te();O(a)&&a.length>0&&(e.name=a[0],P.value=a.map(s=>({label:s,value:s})))}finally{H(),A(!1)}})(),U({onConfirm:q}),(a,s)=>{const C=oe,p=ie,j=re,h=ue,G=Q,g=M,k=J,z=pe;return m(),_(z,{class:"p-20px",show:n(W)},{default:i(()=>[l(G,{ref_key:"formRef",ref:v,model:n(e),rules:E},{default:i(()=>[l(p,{label:a.$t("Public.Table.Status"),path:"status"},{default:i(()=>[l(C,{value:n(e).status,"onUpdate:value":s[0]||(s[0]=o=>n(e).status=o),"checked-value":1,"unchecked-value":0},null,8,["value"])]),_:1},8,["label"]),l(p,{label:a.$t("Config.Alarm.index_43"),path:"name"},{default:i(()=>[l(j,{class:"w-300px",value:n(e).name,"onUpdate:value":[s[1]||(s[1]=o=>n(e).name=o),V],options:n(P),disabled:n(r)},null,8,["value","options","disabled"])]),_:1},8,["label"]),n($)?(m(),_(p,{key:0,label:n(N)?"Secret Key":"API User",path:"api_user"},{default:i(()=>[u("div",me,[l(h,{value:n(e).api_user,"onUpdate:value":s[2]||(s[2]=o=>n(e).api_user=o),placeholder:n(N)?"Please enter Secret Key":a.$t("SSL.Domain.index_1"),onFocus:K,onBlur:R},null,8,["value","placeholder"])])]),_:1},8,["label"])):c("",!0),l(p,{label:"API Key",path:"api_key"},{default:i(()=>[u("div",_e,[l(h,{value:n(e).api_key,"onUpdate:value":s[3]||(s[3]=o=>n(e).api_key=o),placeholder:a.$t("SSL.Domain.index_2")},null,8,["value","placeholder"])])]),_:1}),l(p,{label:a.$t("Config.Panel.index_36"),path:"alias"},{default:i(()=>[u("div",de,[l(h,{value:n(e).alias,"onUpdate:value":s[4]||(s[4]=o=>n(e).alias=o),placeholder:a.$t("SSL.Domain.index_6")},null,8,["value","placeholder"])])]),_:1},8,["label"]),ee(l(p,{label:"API-Limit",path:"permission"},{default:i(()=>[l(C,{value:n(e).permission,"onUpdate:value":s[5]||(s[5]=o=>n(e).permission=o),"checked-value":"limit","unchecked-value":"global"},null,8,["value"])]),_:1},512),[[ae,n(L)]])]),_:1},8,["model"]),n(L)?(m(),_(k,{key:0},{default:i(()=>[u("li",null,[l(g,{target:"_blank",href:"https://www.aapanel.com/docs/Function/Tutorial/DNS_API_Tutorial.html"},{default:i(()=>[b(y(a.$t("SSL.Domain.index_3")),1)]),_:1})])]),_:1})):c("",!0),n(e).name==="NameCheapDns"?(m(),_(k,{key:1},{default:i(()=>[s[6]||(s[6]=u("li",null," Namecheap API needs added in Whitelisted IPs (only IPv4): Profile > Tools menu > Namecheap API Access > Whitelisted IPs, please check: ",-1)),u("li",null,[l(g,{target:"_blank",href:"https://www.namecheap.com/support/api/intro/"},{default:i(()=>[b(y(a.$t("SSL.Domain.index_3")),1)]),_:1})])]),_:1,__:[6]})):c("",!0),n(e).name==="NameSiloDns"||n(e).name==="PorkBunDns"?(m(),_(k,{key:2},{default:i(()=>[u("li",null,[l(g,{target:"_blank",href:"https://www.aapanel.com/docs/Function/Tutorial/DNS_API_Tutorial.html"},{default:i(()=>[b(y(a.$t("SSL.Domain.index_3")),1)]),_:1})])]),_:1})):c("",!0)]),_:1},8,["show"])}}});export{ye as default}; diff --git a/BTPanel/static/vite/js/form-C_8yDwjk.js b/BTPanel/static/vite/js/form-C_8yDwjk.js deleted file mode 100644 index 738cfd83..00000000 --- a/BTPanel/static/vite/js/form-C_8yDwjk.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as j}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{u as L,t as O,h as Z,i as z}from"./terminal-CFfBeKvv.js?v=1773287522785";import{i as A}from"./index-BTglIPU2.js?v=1773287522785";import{u as F}from"./useLoading-CZ2gSAW7.js?v=1773287522785";import{ad as G,k as H,a1 as J,b as K,_ as M,a3 as Q,ag as W,B as X}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as Y,R as ee,r as ae,e as te,w as oe,$ as i,Z as w,S as o,a8 as b,a9 as l,j as g,aa as v,ak as ne,a0 as t}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./xterm-dpUsuiNl.js?v=1773287522785";import"./useSocket-DTHwGZgK.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./xterm-addon-canvas-DELv9KNm.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const re={class:"p-20px"},le={key:1},be=Y({__name:"form",props:{data:{}},setup($,{expose:h}){const x=L(),{t:u}=ee(),T=$,{isEdit:m,row:_,tips:C,localhost:S,onRefresh:d}=T.data,c=ae(null),{loading:U,setLoading:f}=F(),e=te({ip:"",port:22,account:"root",type:1,password:"",key:"",keyPassword:"",remark:""});oe(()=>e.ip,a=>{m||(e.remark=a)});const P={ip:{required:!0,message:u("Security.Conf.Index_28"),trigger:["blur","input"]},port:{required:!0,type:"number",message:u("Security.Conf.Index_28"),trigger:["blur","input"]},account:{required:!0,message:u("Security.Conf.Index_28"),trigger:["blur","input"]},password:{required:!0,message:u("Security.Conf.Index_28"),trigger:["blur","input"]},key:{required:!0,message:u("Security.Conf.Index_28"),trigger:["blur","input"]}},I=async()=>{try{f(!0),await O(y())}finally{f(!1)}},y=()=>({host:e.ip,port:e.port,username:e.account,password:e.type===1?e.password:"",pkey:e.type===2?e.key:"",pkey_passwd:e.type===2?e.keyPassword:"",ps:e.remark}),q=async({hide:a})=>{var n;await((n=c.value)==null?void 0:n.validate()),await Z(y()),x.setRefresh(!0),a(),d==null||d()};return(async()=>{if(S){e.ip="127.0.0.1",e.port=22,e.account="root",e.type=1,e.password="",e.key="",e.keyPassword="",e.remark="127.0.0.1";return}if(m&&_){const{message:a}=await z({host:_.host});A(a)&&(e.ip=a.host,e.port=a.port,e.account=a.username,e.type=a.password?1:2,e.password=a.password,e.key=a.pkey,e.keyPassword=a.pkey_passwd,e.remark=a.ps)}})(),h({onConfirm:q}),(a,n)=>{const B=G,p=K,s=J,D=M,R=H,k=W,E=Q,N=X,V=j;return i(),w("div",re,[o(C)?(i(),b(B,{key:0,class:"mb-16px",type:"warning"},{default:l(()=>[g(v(a.$t("Unable to authenticate automatically, please fill in the login information of the local server!")),1)]),_:1})):ne("",!0),t(V,{ref_key:"formRef",ref:c,model:o(e),rules:P},{default:l(()=>[t(R,null,{default:l(()=>[t(s,{label:a.$t("Term.index_8"),path:"ip"},{default:l(()=>[t(p,{class:"w-190px!",value:o(e).ip,"onUpdate:value":n[0]||(n[0]=r=>o(e).ip=r),placeholder:a.$t("Term.index_9")},null,8,["value","placeholder"])]),_:1},8,["label"]),t(s,{path:"port"},{default:l(()=>[t(D,{"show-button":!1,class:"w-80px!",value:o(e).port,"onUpdate:value":n[1]||(n[1]=r=>o(e).port=r),placeholder:a.$t("Docker.Container.create.index_7")},null,8,["value","placeholder"])]),_:1})]),_:1}),t(s,{label:a.$t("Term.index_10"),path:"account"},{default:l(()=>[t(p,{class:"w-280px!",value:o(e).account,"onUpdate:value":n[2]||(n[2]=r=>o(e).account=r),placeholder:a.$t("Term.index_11")},null,8,["value","placeholder"])]),_:1},8,["label"]),t(s,{label:a.$t("Term.index_12")},{default:l(()=>[t(E,{value:o(e).type,"onUpdate:value":n[3]||(n[3]=r=>o(e).type=r)},{default:l(()=>[t(k,{label:a.$t("Database.index_14"),value:1},null,8,["label"]),t(k,{label:a.$t("Term.index_13"),value:2},null,8,["label"])]),_:1},8,["value"])]),_:1},8,["label"]),o(e).type===1?(i(),b(s,{key:0,label:a.$t("Database.index_14"),path:"password"},{default:l(()=>[t(p,{class:"w-280px!",value:o(e).password,"onUpdate:value":n[4]||(n[4]=r=>o(e).password=r),placeholder:a.$t("Term.index_14")},null,8,["value","placeholder"])]),_:1},8,["label"])):(i(),w("div",le,[t(s,{label:a.$t("Term.index_13"),path:"key"},{default:l(()=>[t(p,{class:"w-280px!",type:"textarea",value:o(e).key,"onUpdate:value":n[5]||(n[5]=r=>o(e).key=r),placeholder:a.$t("Term.index_15")},null,8,["value","placeholder"])]),_:1},8,["label"]),t(s,{label:a.$t("Term.index_16")},{default:l(()=>[t(p,{class:"w-280px!",value:o(e).keyPassword,"onUpdate:value":n[6]||(n[6]=r=>o(e).keyPassword=r),placeholder:a.$t("Term.index_17")},null,8,["value","placeholder"])]),_:1},8,["label"])])),t(s,{label:"Remarks"},{default:l(()=>[t(p,{class:"w-280px!",value:o(e).remark,"onUpdate:value":n[7]||(n[7]=r=>o(e).remark=r),placeholder:a.$t("Term.index_18")},null,8,["value","placeholder"])]),_:1}),t(s,{label:" ","show-feedback":!1},{default:l(()=>[t(N,{onClick:I,loading:o(U)},{default:l(()=>[g(v(a.$t("Test connection")),1)]),_:1},8,["loading"])]),_:1})]),_:1},8,["model"])])}}});export{be as default}; diff --git a/BTPanel/static/vite/js/form-CncOw3Pm.js b/BTPanel/static/vite/js/form-CncOw3Pm.js deleted file mode 100644 index 49aa18e3..00000000 --- a/BTPanel/static/vite/js/form-CncOw3Pm.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-BCtdjtVc.js?v=1773287522785";import"./index-DIKmrNCq.js?v=1773287522785";import"./index-BTglIPU2.js?v=1773287522785";import"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./naive-ui--dJnpVcV.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import"./check-CNel7fTH.js?v=1773287522785";import"./index-B5d4M70B.js?v=1773287522785";import"./index-DhnhmU-6.js?v=1773287522785";export{o as default}; diff --git a/BTPanel/static/vite/js/form-D9I7zKQp.js b/BTPanel/static/vite/js/form-D9I7zKQp.js deleted file mode 100644 index b7877eac..00000000 --- a/BTPanel/static/vite/js/form-D9I7zKQp.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as L}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{iq as h,i as P,ir as I}from"./index-BTglIPU2.js?v=1773287522785";import{u as O}from"./useLoading-CZ2gSAW7.js?v=1773287522785";import{k as N,r as E,e as U,c as M,$ as A,Z as x,a0 as l,a9 as n,S as a,a8 as V,ak as W,_ as B}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{k as F,a1 as q,a6 as G,b5 as K}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const X=[{key:"Data Permissions",label:"Data Permissions",description:"Data Permissions",select:!0,id:1,children:[{id:2,key:"SELECT",description:"SELECT--Allows users to query (read) data from the database.",select:!0,label:"Read Data"},{id:3,key:"INSERT",description:"INSERT--Allows users to insert new data into database tables.",select:!0,label:"Insert/Replace Data"},{id:4,key:"UPDATE",description:"UPDATE--Allows users to modify data in database tables.",select:!0,label:"Modify Data"},{id:5,key:"DELETE",description:"DELETE--Allows users to delete data from database tables.",select:!0,label:"Delete Data"},{key:"FILE",id:22,description:"Allows users to read or write files.",label:"File Read/Write"}]},{key:"Structure Permissions",label:"Structure Permissions",description:"Structure Permissions",select:!0,id:6,children:[{id:7,key:"CREATE",description:"Allows users to create new databases, tables, or indexes.",select:!0,label:"Create Database/Table"},{id:8,key:"ALTER",description:"Allows users to modify the structure of database tables (e.g., add or delete columns).",select:!0,label:"Modify Table Structure"},{id:9,key:"INDEX",description:"Allows users to create and delete indexes to improve query performance.",select:!0,label:"Create/Delete Index"},{id:10,key:"DROP",description:"Allows users to delete databases, tables, or indexes.",select:!0,label:"Delete Database/Table"},{id:11,key:"CREATE TEMPORARY TABLES",description:"Allows users to create temporary tables that are automatically deleted after the session ends.",select:!0,label:"Create Temporary Tables"},{id:12,key:"SHOW VIEW",description:"Allows users to view views in the database.",select:!0,label:"View Views"},{id:13,key:"CREATE ROUTINE",description:"Allows users to create stored procedures and functions.",select:!0,label:"Create Stored Procedure/Function"},{id:14,key:"ALTER ROUTINE",description:"Allows users to modify stored procedures and functions.",select:!0,label:"Modify Stored Procedure/Function"},{id:15,key:"EXECUTE",description:"Allows users to execute stored procedures and functions.",select:!0,label:"Execute Stored Procedure/Function"},{id:16,key:"CREATE VIEW",description:"Allows users to create views in the database.",select:!0,label:"Create View"},{id:17,key:"EVENT",description:"Allows users to create, modify, and delete database events.",select:!0,label:"Create/Modify/Delete Event"},{id:18,key:"TRIGGER",description:"Allows users to create and manage database triggers.",select:!0,label:"Create/Manage Trigger"}]},{key:"Management Permissions",label:"Management Permissions",description:"Management Permissions",include:!0,id:19,children:[{id:23,key:"SUPER",description:"Allows users to perform special operations, such as starting or stopping the database server.",label:"Kill Other User Processes When Max Connections Reached"},{id:24,key:"PROCESS",description:"Allows users to view the database connection processes of other users.",label:"View Other User Connections"},{id:25,key:"RELOAD",description:"Allows users to reload the database server configuration.",label:"Reload Database Configuration"},{id:26,key:"SHUTDOWN",description:"Allows users to shut down the database server.",label:"Shutdown Database Server"},{id:27,key:"SHOW DATABASES",description:"Allows users to view the list of available databases.",label:"View Available Databases"},{id:21,key:"LOCK TABLES",description:"Allows users to lock tables to control concurrent access.",select:!0,label:"Lock Tables"},{id:32,key:"REFERENCES",description:"Allows users to create and use foreign keys to maintain data integrity.",label:"Create/Use Foreign Keys"},{id:29,key:"REPLICATION CLIENT",description:"Allows users to connect as a replication client to a master-slave replication system.",label:"Connect as Replication Client to Master-Slave System"},{id:30,key:"REPLICATION SLAVE",description:"Allows users to connect as a replication slave to a master-slave replication system.",label:"Connect as Replication Slave to Master-Slave System"},{id:31,key:"CREATE USER",description:"Allows users to create, modify, and delete database user accounts.",label:"Create/Modify/Delete Database User"}]}],R=[{key:"Data Permissions",label:"Data Permissions",description:"Data Permissions",select:!0,id:1,children:[{id:2,key:"SELECT",description:"SELECT--Allows users to query (read) data from the database.",select:!0,label:"Read Data"},{id:3,key:"INSERT",description:"INSERT--Allows users to insert new data into database tables.",select:!0,label:"Insert/Replace Data"},{id:4,key:"UPDATE",description:"UPDATE--Allows users to modify data in database tables.",select:!0,label:"Modify Data"},{id:5,key:"DELETE",description:"DELETE--Allows users to delete data from database tables.",select:!0,label:"Delete Data"}]},{key:"Structure Permissions",label:"Structure Permissions",description:"Structure Permissions",select:!0,id:6,children:[{id:7,key:"CREATE",description:"Allows users to create new databases, tables, or indexes.",select:!0,label:"Create Database/Table"},{id:8,key:"ALTER",description:"Allows users to modify the structure of database tables (e.g., add or delete columns).",select:!0,label:"Modify Table Structure"},{id:9,key:"INDEX",description:"Allows users to create and delete indexes to improve query performance.",select:!0,label:"Create/Delete Index"},{id:10,key:"DROP",description:"Allows users to delete databases, tables, or indexes.",select:!0,label:"Delete Database/Table"},{id:11,key:"CREATE TEMPORARY TABLES",description:"Allows users to create temporary tables that are automatically deleted after the session ends.",select:!0,label:"Create Temporary Tables"},{id:12,key:"SHOW VIEW",description:"Allows users to view views in the database.",select:!0,label:"View Views"},{id:13,key:"CREATE ROUTINE",description:"Allows users to create stored procedures and functions.",select:!0,label:"Create Stored Procedure/Function"},{id:14,key:"ALTER ROUTINE",description:"Allows users to modify stored procedures and functions.",select:!0,label:"Modify Stored Procedure/Function"},{id:15,key:"EXECUTE",description:"Allows users to execute stored procedures and functions.",select:!0,label:"Execute Stored Procedure/Function"},{id:16,key:"CREATE VIEW",description:"Allows users to create views in the database.",select:!0,label:"Create View"},{id:17,key:"EVENT",description:"Allows users to create, modify, and delete database events.",select:!0,label:"Create/Modify/Delete Event"},{id:18,key:"TRIGGER",description:"Allows users to create and manage database triggers.",select:!0,label:"Create/Manage Trigger"}]},{key:"Management Permissions",label:"Management Permissions",description:"Management Permissions",include:!0,id:19,children:[{id:21,key:"LOCK TABLES",description:"Allows users to lock tables to control concurrent access.",select:!0,label:"Lock Tables"},{id:22,key:"REFERENCES",description:"Allows users to create and use foreign keys to maintain data integrity.",label:"Create/Use Foreign Keys"}]}],H={class:"p-16px"},$={class:"w-415px max-h-200px overflow-auto border border-solid p-12x border-#ccc"},se=N({__name:"form",props:{data:{}},setup(f,{expose:w}){const k=f,{getList:c,params:b}=k.data,p=E(null),e=U({db_name:"",tb_name:"",access:["SELECT","INSERT","UPDATE","DELETE","CREATE","ALTER","INDEX","DROP","CREATE TEMPORARY TABLES","SHOW VIEW","CREATE ROUTINE","ALTER ROUTINE","EXECUTE","CREATE VIEW","EVENT","TRIGGER","LOCK TABLES","REFERENCES"]}),d=E([]),r=E([]),m=(s,t)=>{e.db_name=s,t.tb_list.length?(r.value=t.tb_list.map(o=>({label:o.name,value:o.value,access_list:o.access_list})),y(r.value[0].value,r.value[0])):r.value=[]},y=(s,t)=>{if(e.tb_name=s,s==="*"&&t.access_list[0]==="ALL PRIVILEGES"){e.access=["SELECT","INSERT","UPDATE","DELETE","CREATE","ALTER","INDEX","DROP","CREATE TEMPORARY TABLES","SHOW VIEW","CREATE ROUTINE","ALTER ROUTINE","EXECUTE","CREATE VIEW","EVENT","TRIGGER","LOCK TABLES","REFERENCES"];return}if(s==="*"&&t.access_list[0]==="USAGE"){e.access=[];return}e.access=t.access_list},_=M(()=>{var s;return e.db_name==="*"?X:e.db_name!=="*"&&e.tb_name!=="*"?((s=R.find(t=>t.id===1))==null?void 0:s.children)||[]:R}),{loading:C,setLoading:T}=O();(async()=>{try{T(!0);const{message:s}=await h(b);P(s)&&(d.value=s.data.map(t=>({label:t.name,value:t.value,tb_list:t.tb_list})),m(d.value[0].value,d.value[0]))}finally{T(!1)}})();const S=()=>({...b,db_name:e.db_name,tb_name:e.db_name==="*"?"*":e.tb_name,access:e.access.join(","),with_grant:0});return w({onConfirm:async()=>{var s;await((s=p.value)==null?void 0:s.validate()),await I(S()),c==null||c()}}),(s,t)=>{const o=G,u=q,D=F,v=K,g=L;return A(),x("div",H,[l(g,{ref_key:"formRef",ref:p,model:a(e)},{default:n(()=>[l(D,null,{default:n(()=>[l(u,{label:s.$t("Database.Mysql.index_18")},{default:n(()=>[l(o,{class:"w-200px",loading:a(C),value:a(e).db_name,"onUpdate:value":[t[0]||(t[0]=i=>a(e).db_name=i),m],options:a(d)},null,8,["loading","value","options"])]),_:1},8,["label"]),l(u,{"show-label":!1},{default:n(()=>[a(r).length?(A(),V(o,{key:0,class:"w-200px",value:a(e).tb_name,"onUpdate:value":[t[1]||(t[1]=i=>a(e).tb_name=i),y],options:a(r)},null,8,["value","options"])):W("",!0)]),_:1})]),_:1}),l(u,{label:s.$t("Database.Mysql.index_19"),path:"access"},{default:n(()=>[B("div",$,[l(v,{"default-expand-all":"","block-line":"",cascade:"",checkable:"",selectable:!1,"check-strategy":"child","checked-keys":a(e).access,"onUpdate:checkedKeys":t[2]||(t[2]=i=>a(e).access=i),data:a(_),placeholder:s.$t("Database.Mysql.index_20")},null,8,["checked-keys","data","placeholder"])])]),_:1},8,["label"])]),_:1},8,["model"])])}}});export{se as default}; diff --git a/BTPanel/static/vite/js/form-DLJb3YIu.js b/BTPanel/static/vite/js/form-DLJb3YIu.js new file mode 100644 index 00000000..c47ccc99 --- /dev/null +++ b/BTPanel/static/vite/js/form-DLJb3YIu.js @@ -0,0 +1 @@ +import{_ as be}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{_ as he}from"./index.vue_vue_type_script_setup_true_lang-D693Nylt.js?v=1774508183068";import{_ as we}from"./index.vue_vue_type_script_setup_true_lang-7X06A-YX.js?v=1774508183068";import{k as M,$ as r,Z as v,ao as N,t as B,c as H,F as S,_ as G,a0 as u,S as l,H as ue,aa as O,ak as R,ap as F,a9 as _,a8 as T,j as L,P as I,ad as xe,R as re,a6 as ke,r as V,e as te,x as $e,X as K,n as ae}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{aq as ie,t as Ce,T as Ue,i as le,n as Te,cv as ne}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as Ae}from"./useLoading-BRu-BHcC.js?v=1774508183068";import{j as De,h as je,i as Ee}from"./alarm-DTmEyWAo.js?v=1774508183068";import{g as Se}from"./data-DKqR3z3t.js?v=1774508183068";import{a6 as X,au as de,_ as pe,av as me,a3 as Re,a4 as Me,a1 as Y}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import{_ as Oe}from"./index-Dd5dC2sI.js?v=1774508183068";import{_ as Be}from"./index-5e83puBJ.js?v=1774508183068";import"./alarm-o5KhxBwy.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const Fe=M({__name:"form-template-field-none",props:{field:{}},setup(m){return(f,i)=>(r(),v("div"))}}),Pe={key:0,class:"ml-10px whitespace-pre"},Le=M({__name:"form-template-field-select",props:F({field:{}},{value:{default:null},valueModifiers:{}}),emits:["update:value"],setup(m){const f=m,i=N(m,"value"),a=B(f,"field"),p=H(()=>a.value.items.map(n=>({label:"".concat(n.title).concat(a.value.unit||""),value:n.value})));return(n,o)=>{const c=X;return r(),v(S,null,[G("div",{style:ue({width:l(a).width?"160px":"260px"})},[u(c,{value:i.value,"onUpdate:value":o[0]||(o[0]=d=>i.value=d),disabled:l(a).disabled,options:l(p)},null,8,["value","disabled","options"])],4),l(a).suffix?(r(),v("div",Pe,O(l(a).suffix),1)):R("",!0)],64)}}}),Ne={key:0,class:"ml-10px whitespace-pre"},Ve=M({__name:"form-template-field-number",props:F({field:{}},{value:{},valueModifiers:{}}),emits:["update:value"],setup(m){const i=B(m,"field"),a=N(m,"value"),p=()=>{a.value||(a.value=i.value.default)};return(n,o)=>{const c=pe,d=me,x=de;return r(),v(S,null,[G("div",null,[u(x,null,{default:_(()=>[u(c,{value:a.value,"onUpdate:value":o[0]||(o[0]=b=>a.value=b),class:"w-100px",min:1,"show-button":!1,placeholder:"",onBlur:p},null,8,["value"]),l(i).unit?(r(),T(d,{key:0,class:"min-w-52px text-center"},{default:_(()=>[L(O(l(i).unit),1)]),_:1})):R("",!0)]),_:1})]),l(i).suffix?(r(),v("span",Ne,O(l(i).suffix),1)):R("",!0)],64)}}}),Ie=M({__name:"form-template-field-radio",props:F({field:{}},{value:{},valueModifiers:{}}),emits:["update:value"],setup(m){const f=m,i=N(m,"value"),a=B(f,"field");return(p,n)=>{const o=Me,c=Re;return r(),T(c,{value:i.value,"onUpdate:value":n[0]||(n[0]=d=>i.value=d)},{default:_(()=>[(r(!0),v(S,null,I(l(a).items,d=>(r(),T(o,{key:d.value,value:d.value},{default:_(()=>[L(O(d.title),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])}}}),He=M({__name:"form-template-field-help",props:{field:{}},setup(m){return(f,i)=>{const a=Oe;return r(),T(a,null,{default:_(()=>[(r(!0),v(S,null,I(f.field.list,p=>(r(),v("li",{key:p},O(p),1))),128))]),_:1})}}}),Ge={key:0,class:"ml-10px whitespace-pre"},qe=M({__name:"form-template-field-multiple-select",props:F({field:{}},{value:{default:()=>[]},valueModifiers:{}}),emits:["update:value"],setup(m){const f=m,i=N(m,"value"),a=B(f,"field"),p=H(()=>a.value.items.map(n=>({label:"".concat(n.title).concat(a.value.unit||""),value:n.value})));return(n,o)=>{const c=X;return r(),v(S,null,[G("div",{style:ue({width:l(a).width?"160px":"260px"})},[u(c,{multiple:"",value:i.value,"onUpdate:value":o[0]||(o[0]=d=>i.value=d),disabled:l(a).disabled,options:l(p)},null,8,["value","disabled","options"])],4),l(a).suffix?(r(),v("div",Ge,O(l(a).suffix),1)):R("",!0)],64)}}}),oe=M({__name:"form-template-field",props:F({field:{}},{value:{},valueModifiers:{}}),emits:F(["change"],["update:value"]),setup(m,{emit:f}){const i=m,a=f,p=N(m,"value"),n=B(i,"field"),o=(()=>{switch(n.value.type){case"multiple-select":return qe;case"select":return Le;case"number":return Ve;case"radio":return Ie;case"help":return He;default:return Fe}})(),c=d=>{a("change",d,n.value.attr)};return(d,x)=>(r(),T(xe(l(o)),{value:p.value,"onUpdate:value":[x[0]||(x[0]=b=>p.value=b),c],field:l(n)},null,40,["value","field"]))}}),ze=M({__name:"form-template",props:F({type:{default:"none"},template:{default:()=>({field:[],sorted:[]})}},{value:{default:()=>({})},valueModifiers:{}}),emits:["update:value"],setup(m,{expose:f}){const i=m,{t:a}=re(),p=B(i,"type"),n=B(i,"template"),o=N(m,"value"),c=H(()=>{const{field:e,sorted:C}=n.value,h=[];return C.forEach(A=>{const D=[];A.forEach(w=>{const j=e.find(E=>E.attr===w);j&&D.push(j)}),h.push(D)}),h}),d=(e,C)=>{p.value==="system_disk"&&C==="cycle"&&x(),p.value==="project_status"&&C==="cycle"&&b()},x=()=>{const{cycle:e}=o.value;switch(e){case 1:n.value.field[2].unit="GB",n.value.field[2].name=a("Config.Alarm.index_26");break;case 2:n.value.field[2].unit="%",n.value.field[2].name=a("Config.Alarm.index_27");break}},b=()=>{const{field:e}=n.value,[,C]=e,{all_items:h}=C;if(h&&ie(o.value.cycle)){const A=Se(o.value.cycle)-1,D=h[A];D.length>0?(C.items=D,o.value.project=D[0].value):(C.items=[],o.value.project=null)}},$=()=>{switch(p.value){case"system_disk":x();break;case"project_status":b();break}};return $(),f({render:$}),(e,C)=>{const h=Y;return r(!0),v(S,null,I(l(c),(A,D)=>(r(),v(S,null,[A.length===1?(r(!0),v(S,{key:0},I(A,w=>(r(),T(h,{key:"".concat(l(p),"-").concat(w.attr),label:w.name},{default:_(()=>[u(oe,{value:o.value[w.attr],"onUpdate:value":j=>o.value[w.attr]=j,field:w,onChange:d},null,8,["value","onUpdate:value","field"])]),_:2},1032,["label"]))),128)):R("",!0),A.length>1?(r(),v("div",{key:"".concat(l(p),"-").concat(D+1),class:"flex"},[(r(!0),v(S,null,I(A,(w,j)=>(r(),T(h,{key:"".concat(l(p),"-").concat(w.attr),label:w.name,"label-width":j!==0?"auto":void 0},{default:_(()=>[u(oe,{value:o.value[w.attr],"onUpdate:value":E=>o.value[w.attr]=E,field:w,onChange:d},null,8,["value","onUpdate:value","field"])]),_:2},1032,["label","label-width"]))),128))])):R("",!0)],64))),256)}}}),se=M({__name:"form-advanced",props:F({config:{default:()=>({})},inverse:{type:Boolean,default:!1},timeRangeShow:{type:Boolean,default:!1}},{value:{default:()=>({day_num:0,total:0,send_interval:0,time_range:[]})},valueModifiers:{}}),emits:["update:value"],setup(m){const f=m,i=B(f,"config"),a=N(m,"value"),p=n=>f.inverse?!i.value[n]:i.value[n];return(n,o)=>{const c=pe,d=me,x=de,b=Y,$=Be;return r(),v(S,null,[p("day_num")?(r(),T(b,{key:0,label:n.$t("Config.Alarm.index_28"),path:"day_num"},{default:_(()=>[u(x,null,{default:_(()=>[u(c,{value:a.value.day_num,"onUpdate:value":o[0]||(o[0]=e=>a.value.day_num=e),class:"w-100px",min:0,"show-button":!1,placeholder:""},null,8,["value"]),u(d,{class:"min-w-52px text-center"},{default:_(()=>[L(O(n.$t("Public.Unit.Times")),1)]),_:1})]),_:1})]),_:1},8,["label"])):R("",!0),p("total")?(r(),T(b,{key:1,label:n.$t("Config.Alarm.index_30"),path:"total"},{default:_(()=>[u(x,null,{default:_(()=>[u(c,{value:a.value.total,"onUpdate:value":o[1]||(o[1]=e=>a.value.total=e),class:"w-100px",min:0,"show-button":!1,placeholder:""},null,8,["value"]),u(d,{class:"min-w-52px text-center"},{default:_(()=>[L(O(n.$t("Public.Unit.Times")),1)]),_:1})]),_:1})]),_:1},8,["label"])):R("",!0),p("send_interval")?(r(),T(b,{key:2,label:n.$t("Config.Alarm.index_31"),path:"send_interval"},{default:_(()=>[u(x,null,{default:_(()=>[u(c,{value:a.value.send_interval,"onUpdate:value":o[2]||(o[2]=e=>a.value.send_interval=e),class:"w-100px",min:0,"show-button":!1,placeholder:""},null,8,["value"]),u(d,{class:"min-w-52px text-center"},{default:_(()=>[L(O(n.$t("Public.Unit.Seconds")),1)]),_:1})]),_:1})]),_:1},8,["label"])):R("",!0),n.timeRangeShow?(r(),T(b,{key:3,label:n.$t("Config.Alarm.index_33"),path:"time_range","show-feedback":!1},{default:_(()=>[u($,{value:a.value.time_range,"onUpdate:value":o[3]||(o[3]=e=>a.value.time_range=e)},null,8,["value"])]),_:1},8,["label"])):R("",!0)],64)}}}),Ke={class:"px-20px py-24px"},Xe={class:"w-260px"},Ye={class:"w-260px"},dt=M({__name:"form",props:{isEdit:{type:Boolean},template_id:{},row:{}},emits:["refresh"],setup(m,{expose:f,emit:i}){const a=m,p=Ce(),{isPro:n}=ke(p),o=i,{t:c}=re(),d=B(a,"isEdit"),x=V(null),b=V(),$=V(!1),e=te({type:null,method:[],day_num:0,total:0,send_interval:0,time_range:[new Date().setHours(0,0,0,0),new Date().setHours(23,59,59,0)],template:{}}),C=te({day_num:{trigger:["input","blur"],validator:()=>!e.day_num&&e.day_num!==0?(E.value.day_num||($.value=!0),new Error(c("Config.Alarm.index_22"))):!0},total:{trigger:["input","blur"],validator:()=>!e.total&&e.total!==0?(E.value.total||($.value=!0),new Error(c("Config.Alarm.index_23"))):!0},send_interval:{trigger:["input","blur"],validator:()=>!e.send_interval&&e.send_interval!==0?(E.value.send_interval||($.value=!0),new Error(c("Config.Alarm.index_24"))):!0},method:{trigger:["change"],validator:()=>e.method.length===0?new Error(c("Config.Alarm.index_25")):!0}}),h=$e([]),A=H(()=>h.value.map((t,s)=>({label:t.title,value:s,disabled:t.id==="80"&&!n.value,data:t}))),D=H(()=>{let t="none";const s=h.value[e.type||0];return s&&(t=s.source),t}),w=t=>u("div",null,[u("span",null,[t.label,L(" ")]),t.value===14?u("span",{class:"float-right cursor-pointer color-#ffb800",onClick:()=>{Ue({source:323})}},[L("PRO")]):""]),j=V({field:[],sorted:[]}),E=V({}),Z=()=>h.value[e.type||0],_e=()=>{e.day_num=0,e.total=0,e.send_interval=0},q=()=>{const t=Z();e.template={},j.value=t.template,j.value.field.forEach(g=>{g.default?e.template[g.attr]=g.default:e.template[g.attr]=t.default[g.attr]}),_e();const s={},{advanced_default:k}=t;le(k)&&Object.entries(k).forEach(([g,y])=>{le(y)?Object.entries(y).forEach(([P,z])=>{s[P]=!0,J(P,z)}):ie(y)&&(s[g]=!0,J(g,y))}),E.value=s},ce=["day_num","total","send_interval"],J=(t,s)=>{ce.includes(t)&&(e[t]=s)},Q=()=>{q(),ae(()=>{b.value.render()})},{loading:fe,setLoading:W}=Ae(),ve=async()=>{try{W(!0);const{message:t}=await Ee();Te(t)&&(h.value=t,e.type=0,d.value||q())}finally{W(!1)}},ge=()=>{const t=Z();return{template_id:t.id,task_data:{task_data:{tid:t.id,type:t.source,title:t.title,status:!0,count:0,interval:600,project:"",...e.template,after_hook:{restart:e.template.after_hook}},sender:e.method,number_rule:{day_num:e.day_num,total:e.total},time_rule:{send_interval:e.send_interval,time_range:[ne(e.time_range[0]),ne(e.time_range[1])]}}}},ye=async()=>{var k;await((k=x.value)==null?void 0:k.validate());const{row:t}=a,s=ge();d.value&&t?await De({...s,task_id:t.id}):await je(s),o("refresh")},ee=t=>{const s=new Date,k=s.getFullYear(),g=s.getMonth(),y=s.getDate();return new Date(k,g,y).getTime()+t*1e3};return(async()=>{var s,k,g;await ve();const{row:t}=a;if((d.value&&t||a.template_id&&t)&&(e.type=h.value.findIndex(y=>y.id===t.template_id),q(),e.method=t.sender,t.number_rule&&(e.day_num=t.number_rule.day_num,e.total=t.number_rule.total),t.time_rule&&(e.send_interval=t.time_rule.send_interval,t.time_rule.time_range&&t.time_rule.time_range.length>0&&(e.time_range=[ee(t.time_rule.time_range[0]),ee(t.time_rule.time_range[1])])),Object.keys(e.template).forEach(y=>{t.task_data&&(e.template[y]=t.task_data[y])}),(s=t.task_data)!=null&&s.after_hook&&((k=t.task_data)!=null&&k.after_hook.restart.length)&&(e.template.after_hook=(g=t.task_data)==null?void 0:g.after_hook.restart),await ae(),b.value.render()),a.template_id&&!t){const y=h.value.findIndex(P=>P.id===String(a.template_id));y!==-1&&(e.type=y,Q())}})(),f({onConfirm:ye}),(t,s)=>{const k=X,g=Y,y=we,P=he,z=be;return r(),v("div",Ke,[u(z,{ref_key:"formRef",ref:x,model:l(e),rules:l(C),"label-width":"140"},{default:_(()=>[u(g,{label:t.$t("Config.Alarm.index_19")},{default:_(()=>[G("div",Xe,[u(k,{value:l(e).type,"onUpdate:value":[s[0]||(s[0]=U=>l(e).type=U),Q],options:l(A),loading:l(fe),"render-label":w,disabled:!!t.template_id||l(d)},null,8,["value","options","loading","disabled"])])]),_:1},8,["label"]),u(ze,{ref_key:"templateRef",ref:b,value:l(e).template,"onUpdate:value":s[1]||(s[1]=U=>l(e).template=U),type:l(D),template:l(j)},null,8,["value","type","template"]),u(se,{value:l(e),"onUpdate:value":s[2]||(s[2]=U=>K(e)?e.value=U:null),config:l(E)},null,8,["value","config"]),u(g,{label:t.$t("Config.Alarm.index_20"),path:"method"},{default:_(()=>[G("div",Ye,[u(y,{value:l(e).method,"onUpdate:value":s[3]||(s[3]=U=>l(e).method=U)},null,8,["value"])])]),_:1},8,["label"]),u(P,{show:l($),"onUpdate:show":s[5]||(s[5]=U=>K($)?$.value=U:null),title:t.$t("Config.Alarm.index_21")},{default:_(()=>[u(se,{value:l(e),"onUpdate:value":s[4]||(s[4]=U=>K(e)?e.value=U:null),config:l(E),inverse:!0,"time-range-show":!0},null,8,["value","config"])]),_:1},8,["show","title"])]),_:1},8,["model","rules"])])}}});export{dt as default}; diff --git a/BTPanel/static/vite/js/form-DOS27iZ6.js b/BTPanel/static/vite/js/form-DOS27iZ6.js new file mode 100644 index 00000000..d7822b60 --- /dev/null +++ b/BTPanel/static/vite/js/form-DOS27iZ6.js @@ -0,0 +1 @@ +import{_ as j}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{u as L,t as O,h as Z,i as z}from"./terminal-B2mRDt3v.js?v=1774508183068";import{i as A}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as F}from"./useLoading-BRu-BHcC.js?v=1774508183068";import{ad as G,l as H,a1 as J,b as K,_ as M,a3 as Q,ah as W,B as X}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import{k as Y,R as ee,r as ae,e as te,w as oe,$ as i,Z as w,S as o,a8 as b,a9 as l,j as v,aa as g,ak as ne,a0 as t}from"./vue-core-BlDeWrD6.js?v=1774508183068";import"./xterm-dpUsuiNl.js?v=1774508183068";import"./useSocket-Cx34hjKD.js?v=1774508183068";import"./data-DKqR3z3t.js?v=1774508183068";import"./xterm-addon-canvas-DELv9KNm.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const re={class:"p-20px"},le={key:1},be=Y({__name:"form",props:{data:{}},setup($,{expose:h}){const x=L(),{t:u}=ee(),T=$,{isEdit:m,row:_,tips:C,localhost:S,onRefresh:d}=T.data,c=ae(null),{loading:U,setLoading:f}=F(),e=te({ip:"",port:22,account:"root",type:1,password:"",key:"",keyPassword:"",remark:""});oe(()=>e.ip,a=>{m||(e.remark=a)});const P={ip:{required:!0,message:u("Security.Conf.Index_28"),trigger:["blur","input"]},port:{required:!0,type:"number",message:u("Security.Conf.Index_28"),trigger:["blur","input"]},account:{required:!0,message:u("Security.Conf.Index_28"),trigger:["blur","input"]},password:{required:!0,message:u("Security.Conf.Index_28"),trigger:["blur","input"]},key:{required:!0,message:u("Security.Conf.Index_28"),trigger:["blur","input"]}},I=async()=>{try{f(!0),await O(y())}finally{f(!1)}},y=()=>({host:e.ip,port:e.port,username:e.account,password:e.type===1?e.password:"",pkey:e.type===2?e.key:"",pkey_passwd:e.type===2?e.keyPassword:"",ps:e.remark}),q=async({hide:a})=>{var n;await((n=c.value)==null?void 0:n.validate()),await Z(y()),x.setRefresh(!0),a(),d==null||d()};return(async()=>{if(S){e.ip="127.0.0.1",e.port=22,e.account="root",e.type=1,e.password="",e.key="",e.keyPassword="",e.remark="127.0.0.1";return}if(m&&_){const{message:a}=await z({host:_.host});A(a)&&(e.ip=a.host,e.port=a.port,e.account=a.username,e.type=a.password?1:2,e.password=a.password,e.key=a.pkey,e.keyPassword=a.pkey_passwd,e.remark=a.ps)}})(),h({onConfirm:q}),(a,n)=>{const B=G,p=K,s=J,D=M,R=H,k=W,E=Q,N=X,V=j;return i(),w("div",re,[o(C)?(i(),b(B,{key:0,class:"mb-16px",type:"warning"},{default:l(()=>[v(g(a.$t("Unable to authenticate automatically, please fill in the login information of the local server!")),1)]),_:1})):ne("",!0),t(V,{ref_key:"formRef",ref:c,model:o(e),rules:P},{default:l(()=>[t(R,null,{default:l(()=>[t(s,{label:a.$t("Term.index_8"),path:"ip"},{default:l(()=>[t(p,{class:"w-190px!",value:o(e).ip,"onUpdate:value":n[0]||(n[0]=r=>o(e).ip=r),placeholder:a.$t("Term.index_9")},null,8,["value","placeholder"])]),_:1},8,["label"]),t(s,{path:"port"},{default:l(()=>[t(D,{"show-button":!1,class:"w-80px!",value:o(e).port,"onUpdate:value":n[1]||(n[1]=r=>o(e).port=r),placeholder:a.$t("Docker.Container.create.index_7")},null,8,["value","placeholder"])]),_:1})]),_:1}),t(s,{label:a.$t("Term.index_10"),path:"account"},{default:l(()=>[t(p,{class:"w-280px!",value:o(e).account,"onUpdate:value":n[2]||(n[2]=r=>o(e).account=r),placeholder:a.$t("Term.index_11")},null,8,["value","placeholder"])]),_:1},8,["label"]),t(s,{label:a.$t("Term.index_12")},{default:l(()=>[t(E,{value:o(e).type,"onUpdate:value":n[3]||(n[3]=r=>o(e).type=r)},{default:l(()=>[t(k,{label:a.$t("Database.index_14"),value:1},null,8,["label"]),t(k,{label:a.$t("Term.index_13"),value:2},null,8,["label"])]),_:1},8,["value"])]),_:1},8,["label"]),o(e).type===1?(i(),b(s,{key:0,label:a.$t("Database.index_14"),path:"password"},{default:l(()=>[t(p,{class:"w-280px!",value:o(e).password,"onUpdate:value":n[4]||(n[4]=r=>o(e).password=r),placeholder:a.$t("Term.index_14")},null,8,["value","placeholder"])]),_:1},8,["label"])):(i(),w("div",le,[t(s,{label:a.$t("Term.index_13"),path:"key"},{default:l(()=>[t(p,{class:"w-280px!",type:"textarea",value:o(e).key,"onUpdate:value":n[5]||(n[5]=r=>o(e).key=r),placeholder:a.$t("Term.index_15")},null,8,["value","placeholder"])]),_:1},8,["label"]),t(s,{label:a.$t("Term.index_16")},{default:l(()=>[t(p,{class:"w-280px!",value:o(e).keyPassword,"onUpdate:value":n[6]||(n[6]=r=>o(e).keyPassword=r),placeholder:a.$t("Term.index_17")},null,8,["value","placeholder"])]),_:1},8,["label"])])),t(s,{label:"Remarks"},{default:l(()=>[t(p,{class:"w-280px!",value:o(e).remark,"onUpdate:value":n[7]||(n[7]=r=>o(e).remark=r),placeholder:a.$t("Term.index_18")},null,8,["value","placeholder"])]),_:1}),t(s,{label:" ","show-feedback":!1},{default:l(()=>[t(N,{onClick:I,loading:o(U)},{default:l(()=>[v(g(a.$t("Test connection")),1)]),_:1},8,["loading"])]),_:1})]),_:1},8,["model"])])}}});export{be as default}; diff --git a/BTPanel/static/vite/js/form-DiMx9Zfm.js b/BTPanel/static/vite/js/form-DiMx9Zfm.js deleted file mode 100644 index 9dc49035..00000000 --- a/BTPanel/static/vite/js/form-DiMx9Zfm.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as x}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{_ as D}from"./index-CZps0rIN.js?v=1773287522785";import{k as N,R as A,r as V,e as j,$ as Z,Z as q,a0 as l,a9 as u,_ as d,S as r,l as w,v,aa as b}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{w as z,x as G}from"./firewall-jQIxKxfN.js?v=1773287522785";import{a1 as H,a6 as J,b as K}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./index-BTglIPU2.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const L={class:"p-20px"},M={class:"w-240px"},Q={class:"w-240px"},W={class:"w-240px"},X={class:"w-240px"},Y={class:"w-240px"},ee={class:"w-240px"},oe={class:"w-240px"},te={class:"w-240px"},de=N({__name:"form",props:{row:{},isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(y,{expose:h,emit:P}){const S=y,F=P,{t:n}=A(),{isEdit:f,row:i}=S,_=V(null),e=j({protocol:"tcp",port:"",choose:"all",address:"",domain:"",types:"accept",chain:"INPUT",brief:""}),g={port:{trigger:["blur","input"],validator:()=>{const o=e.port.split(","),t=/^\d+$/;for(let p of o)if(t.test(p)){const s=parseInt(p,10);if(s<1||s>65535)return new Error(n("Security.Firewall.Port.form_15"))}else if(p.includes("-")){const s=p.split("-"),c=parseInt(s[0],10),m=parseInt(s[1],10);if(c<1||m>65535||c>m)return new Error(n("Security.Firewall.Port.form_15"))}else return p==""?new Error(n("Security.Firewall.Port.form_16")):new Error(n("Security.Firewall.Port.form_15"));return!0}},address:{trigger:["blur","input"],validator:()=>e.choose==="point"&&(e.address.trim()===""||!e.address)?new Error(n("Security.Firewall.Port.form_18")):!0},domain:{trigger:["blur","input"],validator:()=>e.choose==="domain"&&(e.domain.trim()===""||!e.domain)?new Error(n("Security.Firewall.Port.form_19")):!0}},$=[{label:"TCP",value:"tcp"},{label:"UDP",value:"udp"},{label:"TCP/UDP",value:"all"}],U=[{label:n("Security.Firewall.Port.form_20"),value:"all"},{label:n("Security.Firewall.Port.form_5"),value:"point"}],E=[{label:n("Security.Firewall.Port.form_21"),value:"accept"},{label:n("Security.Firewall.Port.form_22"),value:"drop"}],C=[{label:n("Security.Firewall.Port.form_23"),value:"INPUT"},{label:n("Security.Firewall.Port.form_24"),value:"OUTPUT"}],I=()=>{f&&i&&(e.protocol=i.Protocol,e.port=i.Port,e.choose=i.Address==="all"?"all":i.domain===""?"point":"domain",e.address=i.Address==="all"?"":i.Address,e.domain=i.domain,e.types=i.Strategy,e.chain=i.Chain,e.brief=i.brief)},O=()=>{let o={protocol:e.protocol,port:e.port,choose:e.choose,domain:e.choose==="domain"?e.domain:"",types:e.types,strategy:e.types,chain:e.chain,brief:e.brief};return o.choose==="point"&&(o=Object.assign(o,{address:e.address})),o},T=async()=>{var t;await((t=_.value)==null?void 0:t.validate());const o=O();f&&i?await z({new_data:o,old_data:i}):await G(o),F("refresh")};return I(),h({onConfirm:T}),(o,t)=>{const p=J,s=H,c=K,m=D,k=B,R=x;return Z(),q("div",L,[l(k,{ref_key:"formRef",ref:_,model:r(e),rules:g},{default:u(()=>[l(s,{label:o.$t("Security.Firewall.Port.form_1"),path:"protocol"},{default:u(()=>[d("div",M,[l(p,{value:r(e).protocol,"onUpdate:value":t[0]||(t[0]=a=>r(e).protocol=a),options:$},null,8,["value"])])]),_:1},8,["label"]),l(s,{label:o.$t("Security.Firewall.Port.form_2"),path:"port"},{default:u(()=>[d("div",Q,[l(c,{value:r(e).port,"onUpdate:value":t[1]||(t[1]=a=>r(e).port=a),disabled:r(f),placeholder:o.$t("Security.Firewall.Port.form_3")},null,8,["value","disabled","placeholder"])])]),_:1},8,["label"]),l(s,{label:o.$t("Security.Firewall.Port.form_4"),path:"choose"},{default:u(()=>[d("div",W,[l(p,{value:r(e).choose,"onUpdate:value":t[2]||(t[2]=a=>r(e).choose=a),options:U},null,8,["value"])])]),_:1},8,["label"]),w(l(s,{label:o.$t("Security.Firewall.Port.form_5"),path:"address"},{default:u(()=>[d("div",X,[l(m,{value:r(e).address,"onUpdate:value":t[3]||(t[3]=a=>r(e).address=a),rows:3,placeholder:o.$t("Security.Firewall.Port.form_6")},null,8,["value","placeholder"])])]),_:1},8,["label"]),[[v,r(e).choose==="point"]]),w(l(s,{label:o.$t("Security.Firewall.Port.form_7"),path:"domain"},{default:u(()=>[d("div",Y,[l(m,{value:r(e).domain,"onUpdate:value":t[4]||(t[4]=a=>r(e).domain=a),rows:3,placeholder:o.$t("Security.Firewall.Port.form_8")},null,8,["value","placeholder"])])]),_:1},8,["label"]),[[v,r(e).choose==="domain"]]),l(s,{label:o.$t("Security.Firewall.Port.form_9"),path:"types"},{default:u(()=>[d("div",ee,[l(p,{value:r(e).types,"onUpdate:value":t[5]||(t[5]=a=>r(e).types=a),options:E},null,8,["value"])])]),_:1},8,["label"]),l(s,{label:o.$t("Security.Firewall.Port.form_10"),path:"types"},{default:u(()=>[d("div",oe,[l(p,{value:r(e).chain,"onUpdate:value":t[6]||(t[6]=a=>r(e).chain=a),options:C},null,8,["value"])])]),_:1},8,["label"]),l(s,{label:o.$t("Security.Firewall.Port.form_11"),path:"brief","show-feedback":!1},{default:u(()=>[d("div",te,[l(c,{value:r(e).brief,"onUpdate:value":t[7]||(t[7]=a=>r(e).brief=a),placeholder:o.$t("Security.Firewall.Port.form_12")},null,8,["value","placeholder"])])]),_:1},8,["label"])]),_:1},8,["model"]),l(R,{class:"mt-20px ml-40px"},{default:u(()=>[d("li",null,b(o.$t("Security.Firewall.Port.form_13")),1),d("li",null,b(o.$t("Security.Firewall.Port.form_14")),1)]),_:1})])}}});export{de as default}; diff --git a/BTPanel/static/vite/js/form-DjNxICQD.js b/BTPanel/static/vite/js/form-DjNxICQD.js deleted file mode 100644 index 3a26ed08..00000000 --- a/BTPanel/static/vite/js/form-DjNxICQD.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as be}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{_ as he}from"./index.vue_vue_type_script_setup_true_lang-DDg6Zp8N.js?v=1773287522785";import{_ as we}from"./index.vue_vue_type_script_setup_true_lang-O0FWUQU9.js?v=1773287522785";import{k as M,$ as r,Z as v,an as N,t as B,c as H,F as S,_ as G,a0 as u,S as l,H as ue,aa as O,ak as R,ao as F,a9 as _,a8 as T,j as L,P as I,ad as xe,R as re,a6 as ke,r as V,e as te,x as $e,X as Q,n as ae}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{an as ie,t as Ce,Q as Ue,i as le,n as Te,cn as ne}from"./index-BTglIPU2.js?v=1773287522785";import{u as Ae}from"./useLoading-CZ2gSAW7.js?v=1773287522785";import{j as De,h as je,i as Ee}from"./alarm-DLi1oY_0.js?v=1773287522785";import{g as Se}from"./data-BVsViUMm.js?v=1773287522785";import{a6 as X,au as de,_ as pe,av as me,a3 as Re,a4 as Me,a1 as Y}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{_ as Oe}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as Be}from"./index-BPrJVxQ_.js?v=1773287522785";import"./alarm-C8du74Vj.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const Fe=M({__name:"form-template-field-none",props:{field:{}},setup(m){return(f,i)=>(r(),v("div"))}}),Pe={key:0,class:"ml-10px whitespace-pre"},Le=M({__name:"form-template-field-select",props:F({field:{}},{value:{default:null},valueModifiers:{}}),emits:["update:value"],setup(m){const f=m,i=N(m,"value"),a=B(f,"field"),p=H(()=>a.value.items.map(n=>({label:"".concat(n.title).concat(a.value.unit||""),value:n.value})));return(n,o)=>{const c=X;return r(),v(S,null,[G("div",{style:ue({width:l(a).width?"160px":"260px"})},[u(c,{value:i.value,"onUpdate:value":o[0]||(o[0]=d=>i.value=d),disabled:l(a).disabled,options:l(p)},null,8,["value","disabled","options"])],4),l(a).suffix?(r(),v("div",Pe,O(l(a).suffix),1)):R("",!0)],64)}}}),Ne={key:0,class:"ml-10px whitespace-pre"},Ve=M({__name:"form-template-field-number",props:F({field:{}},{value:{},valueModifiers:{}}),emits:["update:value"],setup(m){const i=B(m,"field"),a=N(m,"value"),p=()=>{a.value||(a.value=i.value.default)};return(n,o)=>{const c=pe,d=me,x=de;return r(),v(S,null,[G("div",null,[u(x,null,{default:_(()=>[u(c,{value:a.value,"onUpdate:value":o[0]||(o[0]=b=>a.value=b),class:"w-100px",min:1,"show-button":!1,placeholder:"",onBlur:p},null,8,["value"]),l(i).unit?(r(),T(d,{key:0,class:"min-w-52px text-center"},{default:_(()=>[L(O(l(i).unit),1)]),_:1})):R("",!0)]),_:1})]),l(i).suffix?(r(),v("span",Ne,O(l(i).suffix),1)):R("",!0)],64)}}}),Ie=M({__name:"form-template-field-radio",props:F({field:{}},{value:{},valueModifiers:{}}),emits:["update:value"],setup(m){const f=m,i=N(m,"value"),a=B(f,"field");return(p,n)=>{const o=Me,c=Re;return r(),T(c,{value:i.value,"onUpdate:value":n[0]||(n[0]=d=>i.value=d)},{default:_(()=>[(r(!0),v(S,null,I(l(a).items,d=>(r(),T(o,{key:d.value,value:d.value},{default:_(()=>[L(O(d.title),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])}}}),He=M({__name:"form-template-field-help",props:{field:{}},setup(m){return(f,i)=>{const a=Oe;return r(),T(a,null,{default:_(()=>[(r(!0),v(S,null,I(f.field.list,p=>(r(),v("li",{key:p},O(p),1))),128))]),_:1})}}}),Ge={key:0,class:"ml-10px whitespace-pre"},ze=M({__name:"form-template-field-multiple-select",props:F({field:{}},{value:{default:()=>[]},valueModifiers:{}}),emits:["update:value"],setup(m){const f=m,i=N(m,"value"),a=B(f,"field"),p=H(()=>a.value.items.map(n=>({label:"".concat(n.title).concat(a.value.unit||""),value:n.value})));return(n,o)=>{const c=X;return r(),v(S,null,[G("div",{style:ue({width:l(a).width?"160px":"260px"})},[u(c,{multiple:"",value:i.value,"onUpdate:value":o[0]||(o[0]=d=>i.value=d),disabled:l(a).disabled,options:l(p)},null,8,["value","disabled","options"])],4),l(a).suffix?(r(),v("div",Ge,O(l(a).suffix),1)):R("",!0)],64)}}}),oe=M({__name:"form-template-field",props:F({field:{}},{value:{},valueModifiers:{}}),emits:F(["change"],["update:value"]),setup(m,{emit:f}){const i=m,a=f,p=N(m,"value"),n=B(i,"field"),o=(()=>{switch(n.value.type){case"multiple-select":return ze;case"select":return Le;case"number":return Ve;case"radio":return Ie;case"help":return He;default:return Fe}})(),c=d=>{a("change",d,n.value.attr)};return(d,x)=>(r(),T(xe(l(o)),{value:p.value,"onUpdate:value":[x[0]||(x[0]=b=>p.value=b),c],field:l(n)},null,40,["value","field"]))}}),Ke=M({__name:"form-template",props:F({type:{default:"none"},template:{default:()=>({field:[],sorted:[]})}},{value:{default:()=>({})},valueModifiers:{}}),emits:["update:value"],setup(m,{expose:f}){const i=m,{t:a}=re(),p=B(i,"type"),n=B(i,"template"),o=N(m,"value"),c=H(()=>{const{field:e,sorted:C}=n.value,h=[];return C.forEach(A=>{const D=[];A.forEach(w=>{const j=e.find(E=>E.attr===w);j&&D.push(j)}),h.push(D)}),h}),d=(e,C)=>{p.value==="system_disk"&&C==="cycle"&&x(),p.value==="project_status"&&C==="cycle"&&b()},x=()=>{const{cycle:e}=o.value;switch(e){case 1:n.value.field[2].unit="GB",n.value.field[2].name=a("Config.Alarm.index_26");break;case 2:n.value.field[2].unit="%",n.value.field[2].name=a("Config.Alarm.index_27");break}},b=()=>{const{field:e}=n.value,[,C]=e,{all_items:h}=C;if(h&&ie(o.value.cycle)){const A=Se(o.value.cycle)-1,D=h[A];D.length>0?(C.items=D,o.value.project=D[0].value):(C.items=[],o.value.project=null)}},$=()=>{switch(p.value){case"system_disk":x();break;case"project_status":b();break}};return $(),f({render:$}),(e,C)=>{const h=Y;return r(!0),v(S,null,I(l(c),(A,D)=>(r(),v(S,null,[A.length===1?(r(!0),v(S,{key:0},I(A,w=>(r(),T(h,{key:"".concat(l(p),"-").concat(w.attr),label:w.name},{default:_(()=>[u(oe,{value:o.value[w.attr],"onUpdate:value":j=>o.value[w.attr]=j,field:w,onChange:d},null,8,["value","onUpdate:value","field"])]),_:2},1032,["label"]))),128)):R("",!0),A.length>1?(r(),v("div",{key:"".concat(l(p),"-").concat(D+1),class:"flex"},[(r(!0),v(S,null,I(A,(w,j)=>(r(),T(h,{key:"".concat(l(p),"-").concat(w.attr),label:w.name,"label-width":j!==0?"auto":void 0},{default:_(()=>[u(oe,{value:o.value[w.attr],"onUpdate:value":E=>o.value[w.attr]=E,field:w,onChange:d},null,8,["value","onUpdate:value","field"])]),_:2},1032,["label","label-width"]))),128))])):R("",!0)],64))),256)}}}),se=M({__name:"form-advanced",props:F({config:{default:()=>({})},inverse:{type:Boolean,default:!1},timeRangeShow:{type:Boolean,default:!1}},{value:{default:()=>({day_num:0,total:0,send_interval:0,time_range:[]})},valueModifiers:{}}),emits:["update:value"],setup(m){const f=m,i=B(f,"config"),a=N(m,"value"),p=n=>f.inverse?!i.value[n]:i.value[n];return(n,o)=>{const c=pe,d=me,x=de,b=Y,$=Be;return r(),v(S,null,[p("day_num")?(r(),T(b,{key:0,label:n.$t("Config.Alarm.index_28"),path:"day_num"},{default:_(()=>[u(x,null,{default:_(()=>[u(c,{value:a.value.day_num,"onUpdate:value":o[0]||(o[0]=e=>a.value.day_num=e),class:"w-100px",min:0,"show-button":!1,placeholder:""},null,8,["value"]),u(d,{class:"min-w-52px text-center"},{default:_(()=>[L(O(n.$t("Public.Unit.Times")),1)]),_:1})]),_:1})]),_:1},8,["label"])):R("",!0),p("total")?(r(),T(b,{key:1,label:n.$t("Config.Alarm.index_30"),path:"total"},{default:_(()=>[u(x,null,{default:_(()=>[u(c,{value:a.value.total,"onUpdate:value":o[1]||(o[1]=e=>a.value.total=e),class:"w-100px",min:0,"show-button":!1,placeholder:""},null,8,["value"]),u(d,{class:"min-w-52px text-center"},{default:_(()=>[L(O(n.$t("Public.Unit.Times")),1)]),_:1})]),_:1})]),_:1},8,["label"])):R("",!0),p("send_interval")?(r(),T(b,{key:2,label:n.$t("Config.Alarm.index_31"),path:"send_interval"},{default:_(()=>[u(x,null,{default:_(()=>[u(c,{value:a.value.send_interval,"onUpdate:value":o[2]||(o[2]=e=>a.value.send_interval=e),class:"w-100px",min:0,"show-button":!1,placeholder:""},null,8,["value"]),u(d,{class:"min-w-52px text-center"},{default:_(()=>[L(O(n.$t("Public.Unit.Seconds")),1)]),_:1})]),_:1})]),_:1},8,["label"])):R("",!0),n.timeRangeShow?(r(),T(b,{key:3,label:n.$t("Config.Alarm.index_33"),path:"time_range","show-feedback":!1},{default:_(()=>[u($,{value:a.value.time_range,"onUpdate:value":o[3]||(o[3]=e=>a.value.time_range=e)},null,8,["value"])]),_:1},8,["label"])):R("",!0)],64)}}}),Qe={class:"px-20px py-24px"},Xe={class:"w-260px"},Ye={class:"w-260px"},dt=M({__name:"form",props:{isEdit:{type:Boolean},template_id:{},row:{}},emits:["refresh"],setup(m,{expose:f,emit:i}){const a=m,p=Ce(),{isPro:n}=ke(p),o=i,{t:c}=re(),d=B(a,"isEdit"),x=V(null),b=V(),$=V(!1),e=te({type:null,method:[],day_num:0,total:0,send_interval:0,time_range:[new Date().setHours(0,0,0,0),new Date().setHours(23,59,59,0)],template:{}}),C=te({day_num:{trigger:["input","blur"],validator:()=>!e.day_num&&e.day_num!==0?(E.value.day_num||($.value=!0),new Error(c("Config.Alarm.index_22"))):!0},total:{trigger:["input","blur"],validator:()=>!e.total&&e.total!==0?(E.value.total||($.value=!0),new Error(c("Config.Alarm.index_23"))):!0},send_interval:{trigger:["input","blur"],validator:()=>!e.send_interval&&e.send_interval!==0?(E.value.send_interval||($.value=!0),new Error(c("Config.Alarm.index_24"))):!0},method:{trigger:["change"],validator:()=>e.method.length===0?new Error(c("Config.Alarm.index_25")):!0}}),h=$e([]),A=H(()=>h.value.map((t,s)=>({label:t.title,value:s,disabled:t.id==="80"&&!n.value,data:t}))),D=H(()=>{let t="none";const s=h.value[e.type||0];return s&&(t=s.source),t}),w=t=>u("div",null,[u("span",null,[t.label,L(" ")]),t.value===14?u("span",{class:"float-right cursor-pointer color-#ffb800",onClick:()=>{Ue({source:323})}},[L("PRO")]):""]),j=V({field:[],sorted:[]}),E=V({}),Z=()=>h.value[e.type||0],_e=()=>{e.day_num=0,e.total=0,e.send_interval=0},z=()=>{const t=Z();e.template={},j.value=t.template,j.value.field.forEach(g=>{g.default?e.template[g.attr]=g.default:e.template[g.attr]=t.default[g.attr]}),_e();const s={},{advanced_default:k}=t;le(k)&&Object.entries(k).forEach(([g,y])=>{le(y)?Object.entries(y).forEach(([P,K])=>{s[P]=!0,q(P,K)}):ie(y)&&(s[g]=!0,q(g,y))}),E.value=s},ce=["day_num","total","send_interval"],q=(t,s)=>{ce.includes(t)&&(e[t]=s)},J=()=>{z(),ae(()=>{b.value.render()})},{loading:fe,setLoading:W}=Ae(),ve=async()=>{try{W(!0);const{message:t}=await Ee();Te(t)&&(h.value=t,e.type=0,d.value||z())}finally{W(!1)}},ge=()=>{const t=Z();return{template_id:t.id,task_data:{task_data:{tid:t.id,type:t.source,title:t.title,status:!0,count:0,interval:600,project:"",...e.template,after_hook:{restart:e.template.after_hook}},sender:e.method,number_rule:{day_num:e.day_num,total:e.total},time_rule:{send_interval:e.send_interval,time_range:[ne(e.time_range[0]),ne(e.time_range[1])]}}}},ye=async()=>{var k;await((k=x.value)==null?void 0:k.validate());const{row:t}=a,s=ge();d.value&&t?await De({...s,task_id:t.id}):await je(s),o("refresh")},ee=t=>{const s=new Date,k=s.getFullYear(),g=s.getMonth(),y=s.getDate();return new Date(k,g,y).getTime()+t*1e3};return(async()=>{var s,k,g;await ve();const{row:t}=a;if((d.value&&t||a.template_id&&t)&&(e.type=h.value.findIndex(y=>y.id===t.template_id),z(),e.method=t.sender,t.number_rule&&(e.day_num=t.number_rule.day_num,e.total=t.number_rule.total),t.time_rule&&(e.send_interval=t.time_rule.send_interval,t.time_rule.time_range&&t.time_rule.time_range.length>0&&(e.time_range=[ee(t.time_rule.time_range[0]),ee(t.time_rule.time_range[1])])),Object.keys(e.template).forEach(y=>{t.task_data&&(e.template[y]=t.task_data[y])}),(s=t.task_data)!=null&&s.after_hook&&((k=t.task_data)!=null&&k.after_hook.restart.length)&&(e.template.after_hook=(g=t.task_data)==null?void 0:g.after_hook.restart),await ae(),b.value.render()),a.template_id&&!t){const y=h.value.findIndex(P=>P.id===String(a.template_id));y!==-1&&(e.type=y,J())}})(),f({onConfirm:ye}),(t,s)=>{const k=X,g=Y,y=we,P=he,K=be;return r(),v("div",Qe,[u(K,{ref_key:"formRef",ref:x,model:l(e),rules:l(C),"label-width":"140"},{default:_(()=>[u(g,{label:t.$t("Config.Alarm.index_19")},{default:_(()=>[G("div",Xe,[u(k,{value:l(e).type,"onUpdate:value":[s[0]||(s[0]=U=>l(e).type=U),J],options:l(A),loading:l(fe),"render-label":w,disabled:!!t.template_id||l(d)},null,8,["value","options","loading","disabled"])])]),_:1},8,["label"]),u(Ke,{ref_key:"templateRef",ref:b,value:l(e).template,"onUpdate:value":s[1]||(s[1]=U=>l(e).template=U),type:l(D),template:l(j)},null,8,["value","type","template"]),u(se,{value:l(e),"onUpdate:value":s[2]||(s[2]=U=>Q(e)?e.value=U:null),config:l(E)},null,8,["value","config"]),u(g,{label:t.$t("Config.Alarm.index_20"),path:"method"},{default:_(()=>[G("div",Ye,[u(y,{value:l(e).method,"onUpdate:value":s[3]||(s[3]=U=>l(e).method=U)},null,8,["value"])])]),_:1},8,["label"]),u(P,{show:l($),"onUpdate:show":s[5]||(s[5]=U=>Q($)?$.value=U:null),title:t.$t("Config.Alarm.index_21")},{default:_(()=>[u(se,{value:l(e),"onUpdate:value":s[4]||(s[4]=U=>Q(e)?e.value=U:null),config:l(E),inverse:!0,"time-range-show":!0},null,8,["value","config"])]),_:1},8,["show","title"])]),_:1},8,["model","rules"])])}}});export{dt as default}; diff --git a/BTPanel/static/vite/js/form-JzrIN4SD.js b/BTPanel/static/vite/js/form-JzrIN4SD.js new file mode 100644 index 00000000..0c7c9025 --- /dev/null +++ b/BTPanel/static/vite/js/form-JzrIN4SD.js @@ -0,0 +1 @@ +import{_ as L}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{je as h,i as P,jf as I}from"./index-LQ-JIYiv.js?v=1774508183068";import{u as O}from"./useLoading-BRu-BHcC.js?v=1774508183068";import{k as N,r as E,e as U,c as M,$ as A,Z as x,a0 as l,a9 as n,S as a,a8 as V,ak as W,_ as B}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{l as F,a1 as G,a6 as q,b5 as K}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import"./prismjs-BZPoR7_J.js?v=1774508183068";const X=[{key:"Data Permissions",label:"Data Permissions",description:"Data Permissions",select:!0,id:1,children:[{id:2,key:"SELECT",description:"SELECT--Allows users to query (read) data from the database.",select:!0,label:"Read Data"},{id:3,key:"INSERT",description:"INSERT--Allows users to insert new data into database tables.",select:!0,label:"Insert/Replace Data"},{id:4,key:"UPDATE",description:"UPDATE--Allows users to modify data in database tables.",select:!0,label:"Modify Data"},{id:5,key:"DELETE",description:"DELETE--Allows users to delete data from database tables.",select:!0,label:"Delete Data"},{key:"FILE",id:22,description:"Allows users to read or write files.",label:"File Read/Write"}]},{key:"Structure Permissions",label:"Structure Permissions",description:"Structure Permissions",select:!0,id:6,children:[{id:7,key:"CREATE",description:"Allows users to create new databases, tables, or indexes.",select:!0,label:"Create Database/Table"},{id:8,key:"ALTER",description:"Allows users to modify the structure of database tables (e.g., add or delete columns).",select:!0,label:"Modify Table Structure"},{id:9,key:"INDEX",description:"Allows users to create and delete indexes to improve query performance.",select:!0,label:"Create/Delete Index"},{id:10,key:"DROP",description:"Allows users to delete databases, tables, or indexes.",select:!0,label:"Delete Database/Table"},{id:11,key:"CREATE TEMPORARY TABLES",description:"Allows users to create temporary tables that are automatically deleted after the session ends.",select:!0,label:"Create Temporary Tables"},{id:12,key:"SHOW VIEW",description:"Allows users to view views in the database.",select:!0,label:"View Views"},{id:13,key:"CREATE ROUTINE",description:"Allows users to create stored procedures and functions.",select:!0,label:"Create Stored Procedure/Function"},{id:14,key:"ALTER ROUTINE",description:"Allows users to modify stored procedures and functions.",select:!0,label:"Modify Stored Procedure/Function"},{id:15,key:"EXECUTE",description:"Allows users to execute stored procedures and functions.",select:!0,label:"Execute Stored Procedure/Function"},{id:16,key:"CREATE VIEW",description:"Allows users to create views in the database.",select:!0,label:"Create View"},{id:17,key:"EVENT",description:"Allows users to create, modify, and delete database events.",select:!0,label:"Create/Modify/Delete Event"},{id:18,key:"TRIGGER",description:"Allows users to create and manage database triggers.",select:!0,label:"Create/Manage Trigger"}]},{key:"Management Permissions",label:"Management Permissions",description:"Management Permissions",include:!0,id:19,children:[{id:23,key:"SUPER",description:"Allows users to perform special operations, such as starting or stopping the database server.",label:"Kill Other User Processes When Max Connections Reached"},{id:24,key:"PROCESS",description:"Allows users to view the database connection processes of other users.",label:"View Other User Connections"},{id:25,key:"RELOAD",description:"Allows users to reload the database server configuration.",label:"Reload Database Configuration"},{id:26,key:"SHUTDOWN",description:"Allows users to shut down the database server.",label:"Shutdown Database Server"},{id:27,key:"SHOW DATABASES",description:"Allows users to view the list of available databases.",label:"View Available Databases"},{id:21,key:"LOCK TABLES",description:"Allows users to lock tables to control concurrent access.",select:!0,label:"Lock Tables"},{id:32,key:"REFERENCES",description:"Allows users to create and use foreign keys to maintain data integrity.",label:"Create/Use Foreign Keys"},{id:29,key:"REPLICATION CLIENT",description:"Allows users to connect as a replication client to a master-slave replication system.",label:"Connect as Replication Client to Master-Slave System"},{id:30,key:"REPLICATION SLAVE",description:"Allows users to connect as a replication slave to a master-slave replication system.",label:"Connect as Replication Slave to Master-Slave System"},{id:31,key:"CREATE USER",description:"Allows users to create, modify, and delete database user accounts.",label:"Create/Modify/Delete Database User"}]}],f=[{key:"Data Permissions",label:"Data Permissions",description:"Data Permissions",select:!0,id:1,children:[{id:2,key:"SELECT",description:"SELECT--Allows users to query (read) data from the database.",select:!0,label:"Read Data"},{id:3,key:"INSERT",description:"INSERT--Allows users to insert new data into database tables.",select:!0,label:"Insert/Replace Data"},{id:4,key:"UPDATE",description:"UPDATE--Allows users to modify data in database tables.",select:!0,label:"Modify Data"},{id:5,key:"DELETE",description:"DELETE--Allows users to delete data from database tables.",select:!0,label:"Delete Data"}]},{key:"Structure Permissions",label:"Structure Permissions",description:"Structure Permissions",select:!0,id:6,children:[{id:7,key:"CREATE",description:"Allows users to create new databases, tables, or indexes.",select:!0,label:"Create Database/Table"},{id:8,key:"ALTER",description:"Allows users to modify the structure of database tables (e.g., add or delete columns).",select:!0,label:"Modify Table Structure"},{id:9,key:"INDEX",description:"Allows users to create and delete indexes to improve query performance.",select:!0,label:"Create/Delete Index"},{id:10,key:"DROP",description:"Allows users to delete databases, tables, or indexes.",select:!0,label:"Delete Database/Table"},{id:11,key:"CREATE TEMPORARY TABLES",description:"Allows users to create temporary tables that are automatically deleted after the session ends.",select:!0,label:"Create Temporary Tables"},{id:12,key:"SHOW VIEW",description:"Allows users to view views in the database.",select:!0,label:"View Views"},{id:13,key:"CREATE ROUTINE",description:"Allows users to create stored procedures and functions.",select:!0,label:"Create Stored Procedure/Function"},{id:14,key:"ALTER ROUTINE",description:"Allows users to modify stored procedures and functions.",select:!0,label:"Modify Stored Procedure/Function"},{id:15,key:"EXECUTE",description:"Allows users to execute stored procedures and functions.",select:!0,label:"Execute Stored Procedure/Function"},{id:16,key:"CREATE VIEW",description:"Allows users to create views in the database.",select:!0,label:"Create View"},{id:17,key:"EVENT",description:"Allows users to create, modify, and delete database events.",select:!0,label:"Create/Modify/Delete Event"},{id:18,key:"TRIGGER",description:"Allows users to create and manage database triggers.",select:!0,label:"Create/Manage Trigger"}]},{key:"Management Permissions",label:"Management Permissions",description:"Management Permissions",include:!0,id:19,children:[{id:21,key:"LOCK TABLES",description:"Allows users to lock tables to control concurrent access.",select:!0,label:"Lock Tables"},{id:22,key:"REFERENCES",description:"Allows users to create and use foreign keys to maintain data integrity.",label:"Create/Use Foreign Keys"}]}],H={class:"p-16px"},$={class:"w-415px max-h-200px overflow-auto border border-solid p-12x border-#ccc"},se=N({__name:"form",props:{data:{}},setup(R,{expose:w}){const k=R,{getList:c,params:b}=k.data,p=E(null),e=U({db_name:"",tb_name:"",access:["SELECT","INSERT","UPDATE","DELETE","CREATE","ALTER","INDEX","DROP","CREATE TEMPORARY TABLES","SHOW VIEW","CREATE ROUTINE","ALTER ROUTINE","EXECUTE","CREATE VIEW","EVENT","TRIGGER","LOCK TABLES","REFERENCES"]}),d=E([]),r=E([]),m=(s,t)=>{e.db_name=s,t.tb_list.length?(r.value=t.tb_list.map(o=>({label:o.name,value:o.value,access_list:o.access_list})),y(r.value[0].value,r.value[0])):r.value=[]},y=(s,t)=>{if(e.tb_name=s,s==="*"&&t.access_list[0]==="ALL PRIVILEGES"){e.access=["SELECT","INSERT","UPDATE","DELETE","CREATE","ALTER","INDEX","DROP","CREATE TEMPORARY TABLES","SHOW VIEW","CREATE ROUTINE","ALTER ROUTINE","EXECUTE","CREATE VIEW","EVENT","TRIGGER","LOCK TABLES","REFERENCES"];return}if(s==="*"&&t.access_list[0]==="USAGE"){e.access=[];return}e.access=t.access_list},_=M(()=>{var s;return e.db_name==="*"?X:e.db_name!=="*"&&e.tb_name!=="*"?((s=f.find(t=>t.id===1))==null?void 0:s.children)||[]:f}),{loading:C,setLoading:T}=O();(async()=>{try{T(!0);const{message:s}=await h(b);P(s)&&(d.value=s.data.map(t=>({label:t.name,value:t.value,tb_list:t.tb_list})),m(d.value[0].value,d.value[0]))}finally{T(!1)}})();const S=()=>({...b,db_name:e.db_name,tb_name:e.db_name==="*"?"*":e.tb_name,access:e.access.join(","),with_grant:0});return w({onConfirm:async()=>{var s;await((s=p.value)==null?void 0:s.validate()),await I(S()),c==null||c()}}),(s,t)=>{const o=q,u=G,D=F,v=K,g=L;return A(),x("div",H,[l(g,{ref_key:"formRef",ref:p,model:a(e)},{default:n(()=>[l(D,null,{default:n(()=>[l(u,{label:s.$t("Database.Mysql.index_18")},{default:n(()=>[l(o,{class:"w-200px",loading:a(C),value:a(e).db_name,"onUpdate:value":[t[0]||(t[0]=i=>a(e).db_name=i),m],options:a(d)},null,8,["loading","value","options"])]),_:1},8,["label"]),l(u,{"show-label":!1},{default:n(()=>[a(r).length?(A(),V(o,{key:0,class:"w-200px",value:a(e).tb_name,"onUpdate:value":[t[1]||(t[1]=i=>a(e).tb_name=i),y],options:a(r)},null,8,["value","options"])):W("",!0)]),_:1})]),_:1}),l(u,{label:s.$t("Database.Mysql.index_19"),path:"access"},{default:n(()=>[B("div",$,[l(v,{"default-expand-all":"","block-line":"",cascade:"",checkable:"",selectable:!1,"check-strategy":"child","checked-keys":a(e).access,"onUpdate:checkedKeys":t[2]||(t[2]=i=>a(e).access=i),data:a(_),placeholder:s.$t("Database.Mysql.index_20")},null,8,["checked-keys","data","placeholder"])])]),_:1},8,["label"])]),_:1},8,["model"])])}}});export{se as default}; diff --git a/BTPanel/static/vite/js/form-legacy-0A_yqcjH.js b/BTPanel/static/vite/js/form-legacy-0A_yqcjH.js new file mode 100644 index 00000000..e7ce12a6 --- /dev/null +++ b/BTPanel/static/vite/js/form-legacy-0A_yqcjH.js @@ -0,0 +1 @@ +System.register(["./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./index-legacy-C1Nd2_l-.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./firewall-legacy-DWQWVaXU.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,l){"use strict";var r,a,t,o,i,s,u,d,c,n,p,f,m,v,_,w,y,b,h,P,S;return{setters:[e=>{r=e._},e=>{a=e._},e=>{t=e._},e=>{o=e.k,i=e.R,s=e.r,u=e.e,d=e.$,c=e.Z,n=e.a0,p=e.a9,f=e._,m=e.S,v=e.l,_=e.v,w=e.aa},e=>{y=e.w,b=e.x},e=>{h=e.a1,P=e.a6,S=e.b},null,null],execute:function(){const l={class:"p-20px"},F={class:"w-240px"},g={class:"w-240px"},x={class:"w-240px"},$={class:"w-240px"},U={class:"w-240px"},j={class:"w-240px"},E={class:"w-240px"},T={class:"w-240px"};e("default",o({__name:"form",props:{row:{},isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(e,{expose:o,emit:I}){const C=e,k=I,{t:A}=i(),{isEdit:D,row:N}=C,O=s(null),R=u({protocol:"tcp",port:"",choose:"all",address:"",domain:"",types:"accept",chain:"INPUT",brief:""}),Z={port:{trigger:["blur","input"],validator:()=>{const e=R.port.split(","),l=/^\d+$/;for(let r of e)if(l.test(r)){const e=parseInt(r,10);if(e<1||e>65535)return new Error(A("Security.Firewall.Port.form_15"))}else{if(!r.includes("-"))return""==r?new Error(A("Security.Firewall.Port.form_16")):new Error(A("Security.Firewall.Port.form_15"));{const e=r.split("-"),l=parseInt(e[0],10),a=parseInt(e[1],10);if(l<1||a>65535||l>a)return new Error(A("Security.Firewall.Port.form_15"))}}return!0}},address:{trigger:["blur","input"],validator:()=>!!("point"!==R.choose||""!==R.address.trim()&&R.address)||new Error(A("Security.Firewall.Port.form_18"))},domain:{trigger:["blur","input"],validator:()=>!!("domain"!==R.choose||""!==R.domain.trim()&&R.domain)||new Error(A("Security.Firewall.Port.form_19"))}},B=[{label:"TCP",value:"tcp"},{label:"UDP",value:"udp"},{label:"TCP/UDP",value:"all"}],q=[{label:A("Security.Firewall.Port.form_20"),value:"all"},{label:A("Security.Firewall.Port.form_5"),value:"point"}],z=[{label:A("Security.Firewall.Port.form_21"),value:"accept"},{label:A("Security.Firewall.Port.form_22"),value:"drop"}],G=[{label:A("Security.Firewall.Port.form_23"),value:"INPUT"},{label:A("Security.Firewall.Port.form_24"),value:"OUTPUT"}];return D&&N&&(R.protocol=N.Protocol,R.port=N.Port,R.choose="all"===N.Address?"all":""===N.domain?"point":"domain",R.address="all"===N.Address?"":N.Address,R.domain=N.domain,R.types=N.Strategy,R.chain=N.Chain,R.brief=N.brief),o({onConfirm:async()=>{await(O.value?.validate());const e=(()=>{let e={protocol:R.protocol,port:R.port,choose:R.choose,domain:"domain"===R.choose?R.domain:"",types:R.types,strategy:R.types,chain:R.chain,brief:R.brief};return"point"===e.choose&&(e=Object.assign(e,{address:R.address})),e})();D&&N?await y({new_data:e,old_data:N}):await b(e),k("refresh")}}),(e,o)=>{const i=P,s=h,u=S,y=t,b=a,I=r;return d(),c("div",l,[n(b,{ref_key:"formRef",ref:O,model:m(R),rules:Z},{default:p((()=>[n(s,{label:e.$t("Security.Firewall.Port.form_1"),path:"protocol"},{default:p((()=>[f("div",F,[n(i,{value:m(R).protocol,"onUpdate:value":o[0]||(o[0]=e=>m(R).protocol=e),options:B},null,8,["value"])])])),_:1},8,["label"]),n(s,{label:e.$t("Security.Firewall.Port.form_2"),path:"port"},{default:p((()=>[f("div",g,[n(u,{value:m(R).port,"onUpdate:value":o[1]||(o[1]=e=>m(R).port=e),disabled:m(D),placeholder:e.$t("Security.Firewall.Port.form_3")},null,8,["value","disabled","placeholder"])])])),_:1},8,["label"]),n(s,{label:e.$t("Security.Firewall.Port.form_4"),path:"choose"},{default:p((()=>[f("div",x,[n(i,{value:m(R).choose,"onUpdate:value":o[2]||(o[2]=e=>m(R).choose=e),options:q},null,8,["value"])])])),_:1},8,["label"]),v(n(s,{label:e.$t("Security.Firewall.Port.form_5"),path:"address"},{default:p((()=>[f("div",$,[n(y,{value:m(R).address,"onUpdate:value":o[3]||(o[3]=e=>m(R).address=e),rows:3,placeholder:e.$t("Security.Firewall.Port.form_6")},null,8,["value","placeholder"])])])),_:1},8,["label"]),[[_,"point"===m(R).choose]]),v(n(s,{label:e.$t("Security.Firewall.Port.form_7"),path:"domain"},{default:p((()=>[f("div",U,[n(y,{value:m(R).domain,"onUpdate:value":o[4]||(o[4]=e=>m(R).domain=e),rows:3,placeholder:e.$t("Security.Firewall.Port.form_8")},null,8,["value","placeholder"])])])),_:1},8,["label"]),[[_,"domain"===m(R).choose]]),n(s,{label:e.$t("Security.Firewall.Port.form_9"),path:"types"},{default:p((()=>[f("div",j,[n(i,{value:m(R).types,"onUpdate:value":o[5]||(o[5]=e=>m(R).types=e),options:z},null,8,["value"])])])),_:1},8,["label"]),n(s,{label:e.$t("Security.Firewall.Port.form_10"),path:"types"},{default:p((()=>[f("div",E,[n(i,{value:m(R).chain,"onUpdate:value":o[6]||(o[6]=e=>m(R).chain=e),options:G},null,8,["value"])])])),_:1},8,["label"]),n(s,{label:e.$t("Security.Firewall.Port.form_11"),path:"brief","show-feedback":!1},{default:p((()=>[f("div",T,[n(u,{value:m(R).brief,"onUpdate:value":o[7]||(o[7]=e=>m(R).brief=e),placeholder:e.$t("Security.Firewall.Port.form_12")},null,8,["value","placeholder"])])])),_:1},8,["label"])])),_:1},8,["model"]),n(I,{class:"mt-20px ml-40px"},{default:p((()=>[f("li",null,w(e.$t("Security.Firewall.Port.form_13")),1),f("li",null,w(e.$t("Security.Firewall.Port.form_14")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/form-legacy-7-ZmHZb5.js b/BTPanel/static/vite/js/form-legacy-7-ZmHZb5.js deleted file mode 100644 index 333cdbf3..00000000 --- a/BTPanel/static/vite/js/form-legacy-7-ZmHZb5.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./check-legacy-DG4HeWug.js?v=1773287522785","./firewall-legacy-BLYDdl9f.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,l){"use strict";var a,t,r,o,s,i,u,n,p,c,d,y,f,v,_,m,w,h,b,g,x,S,F,A,j;return{setters:[e=>{a=e._},e=>{t=e.k,r=e.R,o=e.r,s=e.e,i=e.$,u=e.Z,n=e.a0,p=e.a9,c=e._,d=e.S,y=e.l,f=e.v,v=e.a8,_=e.ak},e=>{m=e.n},e=>{w=e.g},e=>{h=e.a},e=>{b=e.D,g=e.E,x=e.F},e=>{S=e.a1,F=e.a6,A=e._,j=e.al},null],execute:function(){const l={class:"px-20px pt-24px pb-8px"},$={class:"w-240px"},k={class:"w-240px"},U={class:"w-240px"},E={class:"w-240px"};e("default",t({__name:"form",props:{row:{},isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(e,{expose:t,emit:C}){const H=e,P=C,{t:R}=r(),{isEdit:Z,row:B}=H,D=o(null),I=s({types:"drop",choose:"all",ports:null,country:["United States"],is_update:!1}),q={country:{trigger:"change",validator:()=>0!==I.country.length||new Error(R("Security.Firewall.Area.form_8"))},ports:{trigger:["blur","input"],validator:()=>{if("point"===I.choose){if(!I.ports)return new Error(R("Security.Firewall.Area.form_9"));if(!h(`${I.ports}`))return new Error(R("Security.Firewall.Area.form_10"))}return!0}}},z=[{label:R("Security.Firewall.Area.form_11"),value:"all"},{label:R("Security.Firewall.Area.form_3"),value:"point"}],G=[{label:R("Security.Firewall.Area.form_12"),value:"drop"}],J=o(!1),K=o([]);return(async()=>{try{J.value=!0;const{message:e}=await b();m(e)&&(K.value=e.map((e=>({label:e.CH,value:e.CH,brief:e.brief}))))}finally{J.value=!1}})(),Z&&B&&(I.types=B.types,I.choose=B.ports?"point":"all",I.ports=B.ports?w(B.ports):null,I.country=B.country),t({onConfirm:async()=>{await(D.value?.validate());const e={types:I.types,choose:I.choose,ports:"point"===I.choose?`${I.ports||""}`:"",country:I.country,brief:"",is_update:I.is_update};Z&&B?(e.brief=`${K.value.find((e=>e.label===B.country))?.brief||""}`,await g({...e,id:B.id})):await x(e),P("refresh")}}),(e,t)=>{const r=F,o=S,s=A,m=j,w=a;return i(),u("div",l,[n(w,{ref_key:"formRef",ref:D,model:d(I),rules:q},{default:p((()=>[n(o,{label:e.$t("Security.Firewall.Area.form_1"),path:"types"},{default:p((()=>[c("div",$,[n(r,{value:d(I).types,"onUpdate:value":t[0]||(t[0]=e=>d(I).types=e),options:G},null,8,["value"])])])),_:1},8,["label"]),n(o,{label:e.$t("Security.Firewall.Area.form_2"),path:"choose"},{default:p((()=>[c("div",k,[n(r,{value:d(I).choose,"onUpdate:value":t[1]||(t[1]=e=>d(I).choose=e),options:z},null,8,["value"])])])),_:1},8,["label"]),y(n(o,{label:e.$t("Security.Firewall.Area.form_3"),path:"ports"},{default:p((()=>[c("div",U,[n(s,{value:d(I).ports,"onUpdate:value":t[2]||(t[2]=e=>d(I).ports=e),min:1,max:65535,"show-button":!1,placeholder:e.$t("Security.Firewall.Area.form_4")},null,8,["value","placeholder"])])])),_:1},8,["label"]),[[f,"point"===d(I).choose]]),n(o,{label:e.$t("Security.Firewall.Area.form_5"),path:"country"},{default:p((()=>[c("div",E,[n(r,{value:d(I).country,"onUpdate:value":t[3]||(t[3]=e=>d(I).country=e),filterable:"","max-tag-count":"responsive",multiple:!d(Z),loading:d(J),options:d(K)},null,8,["value","multiple","loading","options"])])])),_:1},8,["label"]),d(Z)?_("",!0):(i(),v(o,{key:0,label:" "},{default:p((()=>[n(m,{checked:d(I).is_update,"onUpdate:checked":t[4]||(t[4]=e=>d(I).is_update=e),label:"Update IP Pool"},null,8,["checked"])])),_:1}))])),_:1},8,["model"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/form-legacy-BD_RtO1A.js b/BTPanel/static/vite/js/form-legacy-BD_RtO1A.js new file mode 100644 index 00000000..78ab7a8a --- /dev/null +++ b/BTPanel/static/vite/js/form-legacy-BD_RtO1A.js @@ -0,0 +1 @@ +System.register(["./form.vue_vue_type_script_setup_true_lang-legacy-D0ofdvgO.js?v=1774508183068","./index-legacy-DOsTWPyk.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./check-legacy-DG4HeWug.js?v=1774508183068","./index-legacy-1aIX1FxZ.js?v=1774508183068","./index-legacy-CDhhAVKI.js?v=1774508183068"],(function(e,l){"use strict";return{setters:[l=>{l._,e("default",l._)},null,null,null,null,null,null,null,null,null],execute:function(){}}})); diff --git a/BTPanel/static/vite/js/form-legacy-BNZ3gVki.js b/BTPanel/static/vite/js/form-legacy-BNZ3gVki.js new file mode 100644 index 00000000..577ac7e5 --- /dev/null +++ b/BTPanel/static/vite/js/form-legacy-BNZ3gVki.js @@ -0,0 +1 @@ +System.register(["./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./check-legacy-DG4HeWug.js?v=1774508183068","./firewall-legacy-DWQWVaXU.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(r,e){"use strict";var l,a,o,t,s,d,i,u,p,_,c,w,f,n,v,F,m,y,b;return{setters:[r=>{l=r._},r=>{a=r._},null,r=>{o=r.a},r=>{t=r.B,s=r.C},r=>{d=r.k,i=r.R,u=r.r,p=r.e,_=r.$,c=r.Z,w=r.a0,f=r.a9,n=r._,v=r.S,F=r.aa},r=>{m=r.a1,y=r.a6,b=r.b},null],execute:function(){const e={class:"p-20px"},S={class:"w-200px"},h={class:"w-200px"},g={class:"w-200px"},x={class:"w-200px"},$={class:"w-200px"};r("default",d({__name:"form",props:{row:{},isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(r,{expose:d,emit:j}){const P=r,E=j,{t:U}=i(),{isEdit:T,row:k}=P,C=u(null),A=p({protocol:"tcp",s_ports:"",d_address:"",d_ports:"",brief:""}),B={s_ports:{trigger:["blur","input"],validator:()=>""!==A.s_ports.trim()&&A.s_ports?!!o(A.s_ports)||new Error(U("Security.Firewall.Forward.form_12")):new Error(U("Security.Firewall.Forward.form_3"))},d_ports:{trigger:["blur","input"],validator:()=>""!==A.d_ports.trim()&&A.d_ports?!!o(A.d_ports)||new Error(U("Security.Firewall.Forward.form_12")):new Error(U("Security.Firewall.Forward.form_7"))}},R=[{label:"TCP",value:"tcp"},{label:"UDP",value:"udp"}];return T&&k&&(A.protocol=k.Protocol?k.Protocol.toLowerCase():"tcp",A.s_ports=k.S_Port||"",A.d_address=k.T_Address||"",A.d_ports=k.T_Port||"",A.brief=k.brief),d({onConfirm:async()=>{await(C.value?.validate());const r={protocol:A.protocol,S_Port:A.s_ports,T_Port:A.d_ports,T_Address:A.d_address,brief:A.brief};T&&k?await t({new_data:{...r,id:k.id},old_data:k}):await s(r),E("refresh")}}),(r,o)=>{const t=y,s=m,d=b,i=a,u=l;return _(),c("div",e,[w(i,{ref_key:"formRef",ref:C,model:v(A),rules:B},{default:f((()=>[w(s,{label:r.$t("Security.Firewall.Forward.form_1"),path:"protocol"},{default:f((()=>[n("div",S,[w(t,{value:v(A).protocol,"onUpdate:value":o[0]||(o[0]=r=>v(A).protocol=r),options:R},null,8,["value"])])])),_:1},8,["label"]),w(s,{label:r.$t("Security.Firewall.Forward.form_2"),path:"s_ports"},{default:f((()=>[n("div",h,[w(d,{value:v(A).s_ports,"onUpdate:value":o[1]||(o[1]=r=>v(A).s_ports=r),placeholder:r.$t("Security.Firewall.Forward.form_3")},null,8,["value","placeholder"])])])),_:1},8,["label"]),w(s,{label:r.$t("Security.Firewall.Forward.form_4"),path:"d_address"},{default:f((()=>[n("div",g,[w(d,{value:v(A).d_address,"onUpdate:value":o[2]||(o[2]=r=>v(A).d_address=r),placeholder:r.$t("Security.Firewall.Forward.form_5")},null,8,["value","placeholder"])])])),_:1},8,["label"]),w(s,{label:r.$t("Security.Firewall.Forward.form_6"),path:"d_ports"},{default:f((()=>[n("div",x,[w(d,{value:v(A).d_ports,"onUpdate:value":o[3]||(o[3]=r=>v(A).d_ports=r),placeholder:r.$t("Security.Firewall.Forward.form_7")},null,8,["value","placeholder"])])])),_:1},8,["label"]),w(s,{label:r.$t("Security.Firewall.Forward.form_8"),path:"brief","show-feedback":!1},{default:f((()=>[n("div",$,[w(d,{value:v(A).brief,"onUpdate:value":o[4]||(o[4]=r=>v(A).brief=r),placeholder:r.$t("Security.Firewall.Forward.form_9")},null,8,["value","placeholder"])])])),_:1},8,["label"])])),_:1},8,["model"]),w(u,{class:"mt-20px ml-40px"},{default:f((()=>[n("li",null,F(r.$t("Security.Firewall.Forward.form_10")),1),n("li",null,F(r.$t("Security.Firewall.Forward.form_11")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/form-legacy-BYsiTWIn.js b/BTPanel/static/vite/js/form-legacy-BYsiTWIn.js new file mode 100644 index 00000000..660f987e --- /dev/null +++ b/BTPanel/static/vite/js/form-legacy-BYsiTWIn.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./check-legacy-DG4HeWug.js?v=1774508183068","./firewall-legacy-DWQWVaXU.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,l){"use strict";var a,t,r,o,s,i,u,n,p,c,d,y,f,v,_,m,w,h,b,g,x,S,F,A,j;return{setters:[e=>{a=e._},e=>{t=e.k,r=e.R,o=e.r,s=e.e,i=e.$,u=e.Z,n=e.a0,p=e.a9,c=e._,d=e.S,y=e.l,f=e.v,v=e.a8,_=e.ak},e=>{m=e.n},e=>{w=e.g},e=>{h=e.a},e=>{b=e.D,g=e.E,x=e.F},e=>{S=e.a1,F=e.a6,A=e._,j=e.am},null],execute:function(){const l={class:"px-20px pt-24px pb-8px"},$={class:"w-240px"},k={class:"w-240px"},U={class:"w-240px"},E={class:"w-240px"};e("default",t({__name:"form",props:{row:{},isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(e,{expose:t,emit:C}){const H=e,P=C,{t:R}=r(),{isEdit:Z,row:B}=H,D=o(null),I=s({types:"drop",choose:"all",ports:null,country:["United States"],is_update:!1}),q={country:{trigger:"change",validator:()=>0!==I.country.length||new Error(R("Security.Firewall.Area.form_8"))},ports:{trigger:["blur","input"],validator:()=>{if("point"===I.choose){if(!I.ports)return new Error(R("Security.Firewall.Area.form_9"));if(!h(`${I.ports}`))return new Error(R("Security.Firewall.Area.form_10"))}return!0}}},z=[{label:R("Security.Firewall.Area.form_11"),value:"all"},{label:R("Security.Firewall.Area.form_3"),value:"point"}],G=[{label:R("Security.Firewall.Area.form_12"),value:"drop"}],J=o(!1),K=o([]);return(async()=>{try{J.value=!0;const{message:e}=await b();m(e)&&(K.value=e.map((e=>({label:e.CH,value:e.CH,brief:e.brief}))))}finally{J.value=!1}})(),Z&&B&&(I.types=B.types,I.choose=B.ports?"point":"all",I.ports=B.ports?w(B.ports):null,I.country=B.country),t({onConfirm:async()=>{await(D.value?.validate());const e={types:I.types,choose:I.choose,ports:"point"===I.choose?`${I.ports||""}`:"",country:I.country,brief:"",is_update:I.is_update};Z&&B?(e.brief=`${K.value.find((e=>e.label===B.country))?.brief||""}`,await g({...e,id:B.id})):await x(e),P("refresh")}}),(e,t)=>{const r=F,o=S,s=A,m=j,w=a;return i(),u("div",l,[n(w,{ref_key:"formRef",ref:D,model:d(I),rules:q},{default:p((()=>[n(o,{label:e.$t("Security.Firewall.Area.form_1"),path:"types"},{default:p((()=>[c("div",$,[n(r,{value:d(I).types,"onUpdate:value":t[0]||(t[0]=e=>d(I).types=e),options:G},null,8,["value"])])])),_:1},8,["label"]),n(o,{label:e.$t("Security.Firewall.Area.form_2"),path:"choose"},{default:p((()=>[c("div",k,[n(r,{value:d(I).choose,"onUpdate:value":t[1]||(t[1]=e=>d(I).choose=e),options:z},null,8,["value"])])])),_:1},8,["label"]),y(n(o,{label:e.$t("Security.Firewall.Area.form_3"),path:"ports"},{default:p((()=>[c("div",U,[n(s,{value:d(I).ports,"onUpdate:value":t[2]||(t[2]=e=>d(I).ports=e),min:1,max:65535,"show-button":!1,placeholder:e.$t("Security.Firewall.Area.form_4")},null,8,["value","placeholder"])])])),_:1},8,["label"]),[[f,"point"===d(I).choose]]),n(o,{label:e.$t("Security.Firewall.Area.form_5"),path:"country"},{default:p((()=>[c("div",E,[n(r,{value:d(I).country,"onUpdate:value":t[3]||(t[3]=e=>d(I).country=e),filterable:"","max-tag-count":"responsive",multiple:!d(Z),loading:d(J),options:d(K)},null,8,["value","multiple","loading","options"])])])),_:1},8,["label"]),d(Z)?_("",!0):(i(),v(o,{key:0,label:" "},{default:p((()=>[n(m,{checked:d(I).is_update,"onUpdate:checked":t[4]||(t[4]=e=>d(I).is_update=e),label:"Update IP Pool"},null,8,["checked"])])),_:1}))])),_:1},8,["model"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/form-legacy-CUji3Zpa.js b/BTPanel/static/vite/js/form-legacy-CUji3Zpa.js deleted file mode 100644 index 50e8ff2a..00000000 --- a/BTPanel/static/vite/js/form-legacy-CUji3Zpa.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./form.vue_vue_type_script_setup_true_lang-legacy-BEznNyoc.js?v=1773287522785","./index-legacy-DgZ0-E4f.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./check-legacy-DG4HeWug.js?v=1773287522785","./index-legacy-y1mYB81o.js?v=1773287522785","./index-legacy-DRbbI6UR.js?v=1773287522785"],(function(e,l){"use strict";return{setters:[l=>{l._,e("default",l._)},null,null,null,null,null,null,null,null,null],execute:function(){}}})); diff --git a/BTPanel/static/vite/js/form-legacy-Cmo1arvU.js b/BTPanel/static/vite/js/form-legacy-Cmo1arvU.js new file mode 100644 index 00000000..00bc9166 --- /dev/null +++ b/BTPanel/static/vite/js/form-legacy-Cmo1arvU.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./terminal-legacy-CccOV2S2.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./useLoading-legacy-BYj3sJTe.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./xterm-legacy-UzqSqzXt.js?v=1774508183068","./useSocket-legacy-CT2Sal6Q.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./xterm-addon-canvas-legacy-Tys2uZOF.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,a){"use strict";var l,t,r,s,n,o,u,d,p,i,c,y,_,m,v,f,g,k,w,x,h,b,$,j,T,U,C,S,P;return{setters:[e=>{l=e._},e=>{t=e.u,r=e.t,s=e.h,n=e.i},e=>{o=e.i},e=>{u=e.u},e=>{d=e.ad,p=e.l,i=e.a1,c=e.b,y=e._,_=e.a3,m=e.ah,v=e.B},e=>{f=e.k,g=e.R,k=e.r,w=e.e,x=e.w,h=e.$,b=e.Z,$=e.S,j=e.a8,T=e.a9,U=e.j,C=e.aa,S=e.ak,P=e.a0},null,null,null,null,null],execute:function(){const a={class:"p-20px"},q={key:1};e("default",f({__name:"form",props:{data:{}},setup(e,{expose:f}){const I=t(),{t:R}=g(),D=e,{isEdit:L,row:Z,tips:B,localhost:E,onRefresh:X}=D.data,z=k(null),{loading:A,setLoading:F}=u(),G=w({ip:"",port:22,account:"root",type:1,password:"",key:"",keyPassword:"",remark:""});x((()=>G.ip),(e=>{L||(G.remark=e)}));const H={ip:{required:!0,message:R("Security.Conf.Index_28"),trigger:["blur","input"]},port:{required:!0,type:"number",message:R("Security.Conf.Index_28"),trigger:["blur","input"]},account:{required:!0,message:R("Security.Conf.Index_28"),trigger:["blur","input"]},password:{required:!0,message:R("Security.Conf.Index_28"),trigger:["blur","input"]},key:{required:!0,message:R("Security.Conf.Index_28"),trigger:["blur","input"]}},J=async()=>{try{F(!0),await r(K())}finally{F(!1)}},K=()=>({host:G.ip,port:G.port,username:G.account,password:1===G.type?G.password:"",pkey:2===G.type?G.key:"",pkey_passwd:2===G.type?G.keyPassword:"",ps:G.remark});return(async()=>{if(E)return G.ip="127.0.0.1",G.port=22,G.account="root",G.type=1,G.password="",G.key="",G.keyPassword="",void(G.remark="127.0.0.1");if(L&&Z){const{message:e}=await n({host:Z.host});o(e)&&(G.ip=e.host,G.port=e.port,G.account=e.username,G.type=e.password?1:2,G.password=e.password,G.key=e.pkey,G.keyPassword=e.pkey_passwd,G.remark=e.ps)}})(),f({onConfirm:async({hide:e})=>{await(z.value?.validate()),await s(K()),I.setRefresh(!0),e(),X?.()}}),(e,t)=>{const r=d,s=c,n=i,o=y,u=p,f=m,g=_,k=v,w=l;return h(),b("div",a,[$(B)?(h(),j(r,{key:0,class:"mb-16px",type:"warning"},{default:T((()=>[U(C(e.$t("Unable to authenticate automatically, please fill in the login information of the local server!")),1)])),_:1})):S("",!0),P(w,{ref_key:"formRef",ref:z,model:$(G),rules:H},{default:T((()=>[P(u,null,{default:T((()=>[P(n,{label:e.$t("Term.index_8"),path:"ip"},{default:T((()=>[P(s,{class:"w-190px!",value:$(G).ip,"onUpdate:value":t[0]||(t[0]=e=>$(G).ip=e),placeholder:e.$t("Term.index_9")},null,8,["value","placeholder"])])),_:1},8,["label"]),P(n,{path:"port"},{default:T((()=>[P(o,{"show-button":!1,class:"w-80px!",value:$(G).port,"onUpdate:value":t[1]||(t[1]=e=>$(G).port=e),placeholder:e.$t("Docker.Container.create.index_7")},null,8,["value","placeholder"])])),_:1})])),_:1}),P(n,{label:e.$t("Term.index_10"),path:"account"},{default:T((()=>[P(s,{class:"w-280px!",value:$(G).account,"onUpdate:value":t[2]||(t[2]=e=>$(G).account=e),placeholder:e.$t("Term.index_11")},null,8,["value","placeholder"])])),_:1},8,["label"]),P(n,{label:e.$t("Term.index_12")},{default:T((()=>[P(g,{value:$(G).type,"onUpdate:value":t[3]||(t[3]=e=>$(G).type=e)},{default:T((()=>[P(f,{label:e.$t("Database.index_14"),value:1},null,8,["label"]),P(f,{label:e.$t("Term.index_13"),value:2},null,8,["label"])])),_:1},8,["value"])])),_:1},8,["label"]),1===$(G).type?(h(),j(n,{key:0,label:e.$t("Database.index_14"),path:"password"},{default:T((()=>[P(s,{class:"w-280px!",value:$(G).password,"onUpdate:value":t[4]||(t[4]=e=>$(G).password=e),placeholder:e.$t("Term.index_14")},null,8,["value","placeholder"])])),_:1},8,["label"])):(h(),b("div",q,[P(n,{label:e.$t("Term.index_13"),path:"key"},{default:T((()=>[P(s,{class:"w-280px!",type:"textarea",value:$(G).key,"onUpdate:value":t[5]||(t[5]=e=>$(G).key=e),placeholder:e.$t("Term.index_15")},null,8,["value","placeholder"])])),_:1},8,["label"]),P(n,{label:e.$t("Term.index_16")},{default:T((()=>[P(s,{class:"w-280px!",value:$(G).keyPassword,"onUpdate:value":t[6]||(t[6]=e=>$(G).keyPassword=e),placeholder:e.$t("Term.index_17")},null,8,["value","placeholder"])])),_:1},8,["label"])])),P(n,{label:"Remarks"},{default:T((()=>[P(s,{class:"w-280px!",value:$(G).remark,"onUpdate:value":t[7]||(t[7]=e=>$(G).remark=e),placeholder:e.$t("Term.index_18")},null,8,["value","placeholder"])])),_:1}),P(n,{label:" ","show-feedback":!1},{default:T((()=>[P(k,{onClick:J,loading:$(A)},{default:T((()=>[U(C(e.$t("Test connection")),1)])),_:1},8,["loading"])])),_:1})])),_:1},8,["model"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/form-legacy-CmrtGk6h.js b/BTPanel/static/vite/js/form-legacy-CmrtGk6h.js deleted file mode 100644 index 163bdafa..00000000 --- a/BTPanel/static/vite/js/form-legacy-CmrtGk6h.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index-legacy-DEYz4m3y.js?v=1773287522785","./firewall-legacy-BLYDdl9f.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,l){"use strict";var a,r,t,i,s,u,d,c,o,n,p,f,y,_,v,m,w,b,h;return{setters:[e=>{a=e._},e=>{r=e._},e=>{t=e._},e=>{i=e.z,s=e.A},e=>{u=e.k,d=e.R,c=e.r,o=e.e,n=e.$,p=e.Z,f=e.a0,y=e.a9,_=e._,v=e.S,m=e.aa},e=>{w=e.a1,b=e.a6,h=e.b},null,null],execute:function(){const l={class:"p-20px"},P={class:"w-200px"},S={class:"w-200px"},I={class:"w-200px"},g={class:"w-200px"};e("default",u({__name:"form",props:{row:{},isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(e,{expose:u,emit:F}){const x=e,$=F,{t:j}=d(),{isEdit:U,row:T}=x,k=c(null),E=o({address:"",types:"accept",chain:"INPUT",brief:""}),A={address:{trigger:["blur","input"],validator:()=>!(""===E.address.trim()||!E.address)||new Error(j("Security.Firewall.IP.form_10"))}},C=[{label:j("Security.Firewall.IP.form_11"),value:"accept"},{label:j("Security.Firewall.IP.form_12"),value:"drop"}],N=[{label:j("Security.Firewall.IP.form_13"),value:"INPUT"},{label:j("Security.Firewall.IP.form_14"),value:"OUTPUT"}];return U&&T&&(E.address=T.Address,E.types=T.Strategy,E.chain=T.Chain,E.brief=T.brief),u({onConfirm:async()=>{await(k.value?.validate());const e={address:E.address,types:E.types,strategy:E.types,chain:E.chain,brief:E.brief,family:"ipv4"};U&&T?await i({new_data:{...e,id:T.id},old_data:T}):await s(e),$("refresh")}}),(e,i)=>{const s=t,u=w,d=b,c=h,o=r,F=a;return n(),p("div",l,[f(o,{ref_key:"formRef",ref:k,model:v(E),rules:A},{default:y((()=>[f(u,{label:e.$t("Security.Firewall.IP.form_16"),path:"address"},{default:y((()=>[_("div",P,[f(s,{value:v(E).address,"onUpdate:value":i[0]||(i[0]=e=>v(E).address=e),rows:3,disabled:v(U),placeholder:e.$t("Security.Firewall.IP.form_1")},null,8,["value","disabled","placeholder"])])])),_:1},8,["label"]),f(u,{label:e.$t("Security.Firewall.IP.form_2"),path:"types"},{default:y((()=>[_("div",S,[f(d,{value:v(E).types,"onUpdate:value":i[1]||(i[1]=e=>v(E).types=e),options:C},null,8,["value"])])])),_:1},8,["label"]),f(u,{label:e.$t("Security.Firewall.IP.form_3"),path:"chain"},{default:y((()=>[_("div",I,[f(d,{value:v(E).chain,"onUpdate:value":i[2]||(i[2]=e=>v(E).chain=e),options:N},null,8,["value"])])])),_:1},8,["label"]),f(u,{label:e.$t("Security.Firewall.IP.form_4"),path:"brief","show-feedback":!1},{default:y((()=>[_("div",g,[f(c,{value:v(E).brief,"onUpdate:value":i[3]||(i[3]=e=>v(E).brief=e),placeholder:e.$t("Security.Firewall.IP.form_5")},null,8,["value","placeholder"])])])),_:1},8,["label"])])),_:1},8,["model"]),f(F,{class:"mt-20px ml-40px"},{default:y((()=>[_("li",null,m(e.$t("Security.Firewall.IP.form_15")),1),_("li",null,m(e.$t("Security.Firewall.IP.form_8")),1),_("li",null,m(e.$t("Security.Firewall.IP.form_9")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/form-legacy-D5Hr2bYw.js b/BTPanel/static/vite/js/form-legacy-D5Hr2bYw.js new file mode 100644 index 00000000..787e761f --- /dev/null +++ b/BTPanel/static/vite/js/form-legacy-D5Hr2bYw.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-B5oodGTR.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-CDHouGRq.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./useLoading-legacy-BYj3sJTe.js?v=1774508183068","./alarm-legacy-CoY3f8Ft.js?v=1774508183068","./data-legacy-CjpXZmIa.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./index-legacy-DOsTWPyk.js?v=1774508183068","./index-legacy-DLiSAhMd.js?v=1774508183068","./alarm-legacy-D5nfsCrE.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,a){"use strict";var l,t,u,n,i,r,d,s,o,v,p,m,_,f,c,g,y,h,b,x,w,k,j,U,$,C,A,E,M,P,D,R,S,B,O,T,H,q,F,I,L,Z,G,Q,X,Y,z,J,K;return{setters:[e=>{l=e._},e=>{t=e._},e=>{u=e._},e=>{n=e.k,i=e.$,r=e.Z,d=e.ao,s=e.t,o=e.c,v=e.F,p=e._,m=e.a0,_=e.S,f=e.H,c=e.aa,g=e.ak,y=e.ap,h=e.a9,b=e.a8,x=e.j,w=e.P,k=e.ad,j=e.R,U=e.a6,$=e.r,C=e.e,A=e.x,E=e.X,M=e.n},e=>{P=e.aq,D=e.t,R=e.T,S=e.i,B=e.n,O=e.cv},e=>{T=e.u},e=>{H=e.j,q=e.h,F=e.i},e=>{I=e.g},e=>{L=e.a6,Z=e.au,G=e._,Q=e.av,X=e.a3,Y=e.a4,z=e.a1},e=>{J=e._},e=>{K=e._},null,null],execute:function(){const a=n({__name:"form-template-field-none",props:{field:{}},setup:e=>(e,a)=>(i(),r("div"))}),N={key:0,class:"ml-10px whitespace-pre"},V=n({__name:"form-template-field-select",props:y({field:{}},{value:{default:null},valueModifiers:{}}),emits:["update:value"],setup(e){const a=e,l=d(e,"value"),t=s(a,"field"),u=o((()=>t.value.items.map((e=>({label:`${e.title}${t.value.unit||""}`,value:e.value})))));return(e,a)=>{const n=L;return i(),r(v,null,[p("div",{style:f({width:_(t).width?"160px":"260px"})},[m(n,{value:l.value,"onUpdate:value":a[0]||(a[0]=e=>l.value=e),disabled:_(t).disabled,options:_(u)},null,8,["value","disabled","options"])],4),_(t).suffix?(i(),r("div",N,c(_(t).suffix),1)):g("",!0)],64)}}}),W={key:0,class:"ml-10px whitespace-pre"},ee=n({__name:"form-template-field-number",props:y({field:{}},{value:{},valueModifiers:{}}),emits:["update:value"],setup(e){const a=s(e,"field"),l=d(e,"value"),t=()=>{l.value||(l.value=a.value.default)};return(e,u)=>{const n=G,d=Q,s=Z;return i(),r(v,null,[p("div",null,[m(s,null,{default:h((()=>[m(n,{value:l.value,"onUpdate:value":u[0]||(u[0]=e=>l.value=e),class:"w-100px",min:1,"show-button":!1,placeholder:"",onBlur:t},null,8,["value"]),_(a).unit?(i(),b(d,{key:0,class:"min-w-52px text-center"},{default:h((()=>[x(c(_(a).unit),1)])),_:1})):g("",!0)])),_:1})]),_(a).suffix?(i(),r("span",W,c(_(a).suffix),1)):g("",!0)],64)}}}),ae=n({__name:"form-template-field-radio",props:y({field:{}},{value:{},valueModifiers:{}}),emits:["update:value"],setup(e){const a=e,l=d(e,"value"),t=s(a,"field");return(e,a)=>{const u=Y,n=X;return i(),b(n,{value:l.value,"onUpdate:value":a[0]||(a[0]=e=>l.value=e)},{default:h((()=>[(i(!0),r(v,null,w(_(t).items,(e=>(i(),b(u,{key:e.value,value:e.value},{default:h((()=>[x(c(e.title),1)])),_:2},1032,["value"])))),128))])),_:1},8,["value"])}}}),le=n({__name:"form-template-field-help",props:{field:{}},setup:e=>(e,a)=>{const l=J;return i(),b(l,null,{default:h((()=>[(i(!0),r(v,null,w(e.field.list,(e=>(i(),r("li",{key:e},c(e),1)))),128))])),_:1})}}),te={key:0,class:"ml-10px whitespace-pre"},ue=n({__name:"form-template-field-multiple-select",props:y({field:{}},{value:{default:()=>[]},valueModifiers:{}}),emits:["update:value"],setup(e){const a=e,l=d(e,"value"),t=s(a,"field"),u=o((()=>t.value.items.map((e=>({label:`${e.title}${t.value.unit||""}`,value:e.value})))));return(e,a)=>{const n=L;return i(),r(v,null,[p("div",{style:f({width:_(t).width?"160px":"260px"})},[m(n,{multiple:"",value:l.value,"onUpdate:value":a[0]||(a[0]=e=>l.value=e),disabled:_(t).disabled,options:_(u)},null,8,["value","disabled","options"])],4),_(t).suffix?(i(),r("div",te,c(_(t).suffix),1)):g("",!0)],64)}}}),ne=n({__name:"form-template-field",props:y({field:{}},{value:{},valueModifiers:{}}),emits:y(["change"],["update:value"]),setup(e,{emit:l}){const t=e,u=l,n=d(e,"value"),r=s(t,"field"),o=(()=>{switch(r.value.type){case"multiple-select":return ue;case"select":return V;case"number":return ee;case"radio":return ae;case"help":return le;default:return a}})(),v=e=>{u("change",e,r.value.attr)};return(e,a)=>(i(),b(k(_(o)),{value:n.value,"onUpdate:value":[a[0]||(a[0]=e=>n.value=e),v],field:_(r)},null,40,["value","field"]))}}),ie=n({__name:"form-template",props:y({type:{default:"none"},template:{default:()=>({field:[],sorted:[]})}},{value:{default:()=>({})},valueModifiers:{}}),emits:["update:value"],setup(e,{expose:a}){const l=e,{t:t}=j(),u=s(l,"type"),n=s(l,"template"),p=d(e,"value"),f=o((()=>{const{field:e,sorted:a}=n.value,l=[];return a.forEach((a=>{const t=[];a.forEach((a=>{const l=e.find((e=>e.attr===a));l&&t.push(l)})),l.push(t)})),l})),c=(e,a)=>{"system_disk"===u.value&&"cycle"===a&&y(),"project_status"===u.value&&"cycle"===a&&x()},y=()=>{const{cycle:e}=p.value;switch(e){case 1:n.value.field[2].unit="GB",n.value.field[2].name=t("Config.Alarm.index_26");break;case 2:n.value.field[2].unit="%",n.value.field[2].name=t("Config.Alarm.index_27")}},x=()=>{const{field:e}=n.value,[,a]=e,{all_items:l}=a;if(l&&P(p.value.cycle)){const e=l[I(p.value.cycle)-1];e.length>0?(a.items=e,p.value.project=e[0].value):(a.items=[],p.value.project=null)}},k=()=>{switch(u.value){case"system_disk":y();break;case"project_status":x()}};return k(),a({render:k}),(e,a)=>{const l=z;return i(!0),r(v,null,w(_(f),((e,a)=>(i(),r(v,null,[1===e.length?(i(!0),r(v,{key:0},w(e,(e=>(i(),b(l,{key:`${_(u)}-${e.attr}`,label:e.name},{default:h((()=>[m(ne,{value:p.value[e.attr],"onUpdate:value":a=>p.value[e.attr]=a,field:e,onChange:c},null,8,["value","onUpdate:value","field"])])),_:2},1032,["label"])))),128)):g("",!0),e.length>1?(i(),r("div",{key:`${_(u)}-${a+1}`,class:"flex"},[(i(!0),r(v,null,w(e,((e,a)=>(i(),b(l,{key:`${_(u)}-${e.attr}`,label:e.name,"label-width":0!==a?"auto":void 0},{default:h((()=>[m(ne,{value:p.value[e.attr],"onUpdate:value":a=>p.value[e.attr]=a,field:e,onChange:c},null,8,["value","onUpdate:value","field"])])),_:2},1032,["label","label-width"])))),128))])):g("",!0)],64)))),256)}}}),re=n({__name:"form-advanced",props:y({config:{default:()=>({})},inverse:{type:Boolean,default:!1},timeRangeShow:{type:Boolean,default:!1}},{value:{default:()=>({day_num:0,total:0,send_interval:0,time_range:[]})},valueModifiers:{}}),emits:["update:value"],setup(e){const a=e,l=s(a,"config"),t=d(e,"value"),u=e=>a.inverse?!l.value[e]:l.value[e];return(e,a)=>{const l=G,n=Q,d=Z,s=z,o=K;return i(),r(v,null,[u("day_num")?(i(),b(s,{key:0,label:e.$t("Config.Alarm.index_28"),path:"day_num"},{default:h((()=>[m(d,null,{default:h((()=>[m(l,{value:t.value.day_num,"onUpdate:value":a[0]||(a[0]=e=>t.value.day_num=e),class:"w-100px",min:0,"show-button":!1,placeholder:""},null,8,["value"]),m(n,{class:"min-w-52px text-center"},{default:h((()=>[x(c(e.$t("Public.Unit.Times")),1)])),_:1})])),_:1})])),_:1},8,["label"])):g("",!0),u("total")?(i(),b(s,{key:1,label:e.$t("Config.Alarm.index_30"),path:"total"},{default:h((()=>[m(d,null,{default:h((()=>[m(l,{value:t.value.total,"onUpdate:value":a[1]||(a[1]=e=>t.value.total=e),class:"w-100px",min:0,"show-button":!1,placeholder:""},null,8,["value"]),m(n,{class:"min-w-52px text-center"},{default:h((()=>[x(c(e.$t("Public.Unit.Times")),1)])),_:1})])),_:1})])),_:1},8,["label"])):g("",!0),u("send_interval")?(i(),b(s,{key:2,label:e.$t("Config.Alarm.index_31"),path:"send_interval"},{default:h((()=>[m(d,null,{default:h((()=>[m(l,{value:t.value.send_interval,"onUpdate:value":a[2]||(a[2]=e=>t.value.send_interval=e),class:"w-100px",min:0,"show-button":!1,placeholder:""},null,8,["value"]),m(n,{class:"min-w-52px text-center"},{default:h((()=>[x(c(e.$t("Public.Unit.Seconds")),1)])),_:1})])),_:1})])),_:1},8,["label"])):g("",!0),e.timeRangeShow?(i(),b(s,{key:3,label:e.$t("Config.Alarm.index_33"),path:"time_range","show-feedback":!1},{default:h((()=>[m(o,{value:t.value.time_range,"onUpdate:value":a[3]||(a[3]=e=>t.value.time_range=e)},null,8,["value"])])),_:1},8,["label"])):g("",!0)],64)}}}),de={class:"px-20px py-24px"},se={class:"w-260px"},oe={class:"w-260px"};e("default",n({__name:"form",props:{isEdit:{type:Boolean},template_id:{},row:{}},emits:["refresh"],setup(e,{expose:a,emit:n}){const d=e,v=D(),{isPro:f}=U(v),c=n,{t:g}=j(),y=s(d,"isEdit"),b=$(null),w=$(),k=$(!1),I=C({type:null,method:[],day_num:0,total:0,send_interval:0,time_range:[(new Date).setHours(0,0,0,0),(new Date).setHours(23,59,59,0)],template:{}}),Z=C({day_num:{trigger:["input","blur"],validator:()=>!(!I.day_num&&0!==I.day_num)||(K.value.day_num||(k.value=!0),new Error(g("Config.Alarm.index_22")))},total:{trigger:["input","blur"],validator:()=>!(!I.total&&0!==I.total)||(K.value.total||(k.value=!0),new Error(g("Config.Alarm.index_23")))},send_interval:{trigger:["input","blur"],validator:()=>!(!I.send_interval&&0!==I.send_interval)||(K.value.send_interval||(k.value=!0),new Error(g("Config.Alarm.index_24")))},method:{trigger:["change"],validator:()=>0!==I.method.length||new Error(g("Config.Alarm.index_25"))}}),G=A([]),Q=o((()=>G.value.map(((e,a)=>({label:e.title,value:a,disabled:"80"===e.id&&!f.value,data:e}))))),X=o((()=>{let e="none";const a=G.value[I.type||0];return a&&(e=a.source),e})),Y=e=>m("div",null,[m("span",null,[e.label,x(" ")]),14===e.value?m("span",{class:"float-right cursor-pointer color-#ffb800",onClick:()=>{R({source:323})}},[x("PRO")]):""]),J=$({field:[],sorted:[]}),K=$({}),N=()=>G.value[I.type||0],V=()=>{const e=N();I.template={},J.value=e.template,J.value.field.forEach((a=>{a.default?I.template[a.attr]=a.default:I.template[a.attr]=e.default[a.attr]})),I.day_num=0,I.total=0,I.send_interval=0;const a={},{advanced_default:l}=e;S(l)&&Object.entries(l).forEach((([e,l])=>{S(l)?Object.entries(l).forEach((([e,l])=>{a[e]=!0,ee(e,l)})):P(l)&&(a[e]=!0,ee(e,l))})),K.value=a},W=["day_num","total","send_interval"],ee=(e,a)=>{W.includes(e)&&(I[e]=a)},ae=()=>{V(),M((()=>{w.value.render()}))},{loading:le,setLoading:te}=T(),ue=e=>{const a=new Date,l=a.getFullYear(),t=a.getMonth(),u=a.getDate();return new Date(l,t,u).getTime()+1e3*e};return(async()=>{await(async()=>{try{te(!0);const{message:e}=await F();B(e)&&(G.value=e,I.type=0,y.value||V())}finally{te(!1)}})();const{row:e}=d;if((y.value&&e||d.template_id&&e)&&(I.type=G.value.findIndex((a=>a.id===e.template_id)),V(),I.method=e.sender,e.number_rule&&(I.day_num=e.number_rule.day_num,I.total=e.number_rule.total),e.time_rule&&(I.send_interval=e.time_rule.send_interval,e.time_rule.time_range&&e.time_rule.time_range.length>0&&(I.time_range=[ue(e.time_rule.time_range[0]),ue(e.time_rule.time_range[1])])),Object.keys(I.template).forEach((a=>{e.task_data&&(I.template[a]=e.task_data[a])})),e.task_data?.after_hook&&e.task_data?.after_hook.restart.length&&(I.template.after_hook=e.task_data?.after_hook.restart),await M(),w.value.render()),d.template_id&&!e){const e=G.value.findIndex((e=>e.id===String(d.template_id)));-1!==e&&(I.type=e,ae())}})(),a({onConfirm:async()=>{await(b.value?.validate());const{row:e}=d,a=(()=>{const e=N();return{template_id:e.id,task_data:{task_data:{tid:e.id,type:e.source,title:e.title,status:!0,count:0,interval:600,project:"",...I.template,after_hook:{restart:I.template.after_hook}},sender:I.method,number_rule:{day_num:I.day_num,total:I.total},time_rule:{send_interval:I.send_interval,time_range:[O(I.time_range[0]),O(I.time_range[1])]}}}})();y.value&&e?await H({...a,task_id:e.id}):await q(a),c("refresh")}}),(e,a)=>{const n=L,d=z,s=u,o=t,v=l;return i(),r("div",de,[m(v,{ref_key:"formRef",ref:b,model:_(I),rules:_(Z),"label-width":"140"},{default:h((()=>[m(d,{label:e.$t("Config.Alarm.index_19")},{default:h((()=>[p("div",se,[m(n,{value:_(I).type,"onUpdate:value":[a[0]||(a[0]=e=>_(I).type=e),ae],options:_(Q),loading:_(le),"render-label":Y,disabled:!!e.template_id||_(y)},null,8,["value","options","loading","disabled"])])])),_:1},8,["label"]),m(ie,{ref_key:"templateRef",ref:w,value:_(I).template,"onUpdate:value":a[1]||(a[1]=e=>_(I).template=e),type:_(X),template:_(J)},null,8,["value","type","template"]),m(re,{value:_(I),"onUpdate:value":a[2]||(a[2]=e=>E(I)?I.value=e:null),config:_(K)},null,8,["value","config"]),m(d,{label:e.$t("Config.Alarm.index_20"),path:"method"},{default:h((()=>[p("div",oe,[m(s,{value:_(I).method,"onUpdate:value":a[3]||(a[3]=e=>_(I).method=e)},null,8,["value"])])])),_:1},8,["label"]),m(o,{show:_(k),"onUpdate:show":a[5]||(a[5]=e=>E(k)?k.value=e:null),title:e.$t("Config.Alarm.index_21")},{default:h((()=>[m(re,{value:_(I),"onUpdate:value":a[4]||(a[4]=e=>E(I)?I.value=e:null),config:_(K),inverse:!0,"time-range-show":!0},null,8,["value","config"])])),_:1},8,["show","title"])])),_:1},8,["model","rules"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/form-legacy-DSKduX7a.js b/BTPanel/static/vite/js/form-legacy-DSKduX7a.js new file mode 100644 index 00000000..1040d2a6 --- /dev/null +++ b/BTPanel/static/vite/js/form-legacy-DSKduX7a.js @@ -0,0 +1 @@ +System.register(["./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./index-legacy-C1Nd2_l-.js?v=1774508183068","./firewall-legacy-DWQWVaXU.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,l){"use strict";var a,r,t,i,s,u,d,c,o,n,p,f,y,_,v,m,w,b,h;return{setters:[e=>{a=e._},e=>{r=e._},e=>{t=e._},e=>{i=e.z,s=e.A},e=>{u=e.k,d=e.R,c=e.r,o=e.e,n=e.$,p=e.Z,f=e.a0,y=e.a9,_=e._,v=e.S,m=e.aa},e=>{w=e.a1,b=e.a6,h=e.b},null,null],execute:function(){const l={class:"p-20px"},P={class:"w-200px"},S={class:"w-200px"},I={class:"w-200px"},g={class:"w-200px"};e("default",u({__name:"form",props:{row:{},isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(e,{expose:u,emit:F}){const x=e,$=F,{t:j}=d(),{isEdit:U,row:T}=x,k=c(null),E=o({address:"",types:"accept",chain:"INPUT",brief:""}),A={address:{trigger:["blur","input"],validator:()=>!(""===E.address.trim()||!E.address)||new Error(j("Security.Firewall.IP.form_10"))}},C=[{label:j("Security.Firewall.IP.form_11"),value:"accept"},{label:j("Security.Firewall.IP.form_12"),value:"drop"}],N=[{label:j("Security.Firewall.IP.form_13"),value:"INPUT"},{label:j("Security.Firewall.IP.form_14"),value:"OUTPUT"}];return U&&T&&(E.address=T.Address,E.types=T.Strategy,E.chain=T.Chain,E.brief=T.brief),u({onConfirm:async()=>{await(k.value?.validate());const e={address:E.address,types:E.types,strategy:E.types,chain:E.chain,brief:E.brief,family:"ipv4"};U&&T?await i({new_data:{...e,id:T.id},old_data:T}):await s(e),$("refresh")}}),(e,i)=>{const s=t,u=w,d=b,c=h,o=r,F=a;return n(),p("div",l,[f(o,{ref_key:"formRef",ref:k,model:v(E),rules:A},{default:y((()=>[f(u,{label:e.$t("Security.Firewall.IP.form_16"),path:"address"},{default:y((()=>[_("div",P,[f(s,{value:v(E).address,"onUpdate:value":i[0]||(i[0]=e=>v(E).address=e),rows:3,disabled:v(U),placeholder:e.$t("Security.Firewall.IP.form_1")},null,8,["value","disabled","placeholder"])])])),_:1},8,["label"]),f(u,{label:e.$t("Security.Firewall.IP.form_2"),path:"types"},{default:y((()=>[_("div",S,[f(d,{value:v(E).types,"onUpdate:value":i[1]||(i[1]=e=>v(E).types=e),options:C},null,8,["value"])])])),_:1},8,["label"]),f(u,{label:e.$t("Security.Firewall.IP.form_3"),path:"chain"},{default:y((()=>[_("div",I,[f(d,{value:v(E).chain,"onUpdate:value":i[2]||(i[2]=e=>v(E).chain=e),options:N},null,8,["value"])])])),_:1},8,["label"]),f(u,{label:e.$t("Security.Firewall.IP.form_4"),path:"brief","show-feedback":!1},{default:y((()=>[_("div",g,[f(c,{value:v(E).brief,"onUpdate:value":i[3]||(i[3]=e=>v(E).brief=e),placeholder:e.$t("Security.Firewall.IP.form_5")},null,8,["value","placeholder"])])])),_:1},8,["label"])])),_:1},8,["model"]),f(F,{class:"mt-20px ml-40px"},{default:y((()=>[_("li",null,m(e.$t("Security.Firewall.IP.form_15")),1),_("li",null,m(e.$t("Security.Firewall.IP.form_8")),1),_("li",null,m(e.$t("Security.Firewall.IP.form_9")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/form-legacy-D_ep_Vyf.js b/BTPanel/static/vite/js/form-legacy-D_ep_Vyf.js deleted file mode 100644 index 62aed569..00000000 --- a/BTPanel/static/vite/js/form-legacy-D_ep_Vyf.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index-legacy-DEYz4m3y.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./firewall-legacy-BLYDdl9f.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,l){"use strict";var r,a,t,o,i,s,u,d,c,n,p,f,m,v,_,w,y,b,h,P,S;return{setters:[e=>{r=e._},e=>{a=e._},e=>{t=e._},e=>{o=e.k,i=e.R,s=e.r,u=e.e,d=e.$,c=e.Z,n=e.a0,p=e.a9,f=e._,m=e.S,v=e.l,_=e.v,w=e.aa},e=>{y=e.w,b=e.x},e=>{h=e.a1,P=e.a6,S=e.b},null,null],execute:function(){const l={class:"p-20px"},F={class:"w-240px"},g={class:"w-240px"},x={class:"w-240px"},$={class:"w-240px"},U={class:"w-240px"},j={class:"w-240px"},E={class:"w-240px"},T={class:"w-240px"};e("default",o({__name:"form",props:{row:{},isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(e,{expose:o,emit:I}){const C=e,k=I,{t:A}=i(),{isEdit:D,row:N}=C,O=s(null),R=u({protocol:"tcp",port:"",choose:"all",address:"",domain:"",types:"accept",chain:"INPUT",brief:""}),Z={port:{trigger:["blur","input"],validator:()=>{const e=R.port.split(","),l=/^\d+$/;for(let r of e)if(l.test(r)){const e=parseInt(r,10);if(e<1||e>65535)return new Error(A("Security.Firewall.Port.form_15"))}else{if(!r.includes("-"))return""==r?new Error(A("Security.Firewall.Port.form_16")):new Error(A("Security.Firewall.Port.form_15"));{const e=r.split("-"),l=parseInt(e[0],10),a=parseInt(e[1],10);if(l<1||a>65535||l>a)return new Error(A("Security.Firewall.Port.form_15"))}}return!0}},address:{trigger:["blur","input"],validator:()=>!!("point"!==R.choose||""!==R.address.trim()&&R.address)||new Error(A("Security.Firewall.Port.form_18"))},domain:{trigger:["blur","input"],validator:()=>!!("domain"!==R.choose||""!==R.domain.trim()&&R.domain)||new Error(A("Security.Firewall.Port.form_19"))}},B=[{label:"TCP",value:"tcp"},{label:"UDP",value:"udp"},{label:"TCP/UDP",value:"all"}],q=[{label:A("Security.Firewall.Port.form_20"),value:"all"},{label:A("Security.Firewall.Port.form_5"),value:"point"}],z=[{label:A("Security.Firewall.Port.form_21"),value:"accept"},{label:A("Security.Firewall.Port.form_22"),value:"drop"}],G=[{label:A("Security.Firewall.Port.form_23"),value:"INPUT"},{label:A("Security.Firewall.Port.form_24"),value:"OUTPUT"}];return D&&N&&(R.protocol=N.Protocol,R.port=N.Port,R.choose="all"===N.Address?"all":""===N.domain?"point":"domain",R.address="all"===N.Address?"":N.Address,R.domain=N.domain,R.types=N.Strategy,R.chain=N.Chain,R.brief=N.brief),o({onConfirm:async()=>{await(O.value?.validate());const e=(()=>{let e={protocol:R.protocol,port:R.port,choose:R.choose,domain:"domain"===R.choose?R.domain:"",types:R.types,strategy:R.types,chain:R.chain,brief:R.brief};return"point"===e.choose&&(e=Object.assign(e,{address:R.address})),e})();D&&N?await y({new_data:e,old_data:N}):await b(e),k("refresh")}}),(e,o)=>{const i=P,s=h,u=S,y=t,b=a,I=r;return d(),c("div",l,[n(b,{ref_key:"formRef",ref:O,model:m(R),rules:Z},{default:p((()=>[n(s,{label:e.$t("Security.Firewall.Port.form_1"),path:"protocol"},{default:p((()=>[f("div",F,[n(i,{value:m(R).protocol,"onUpdate:value":o[0]||(o[0]=e=>m(R).protocol=e),options:B},null,8,["value"])])])),_:1},8,["label"]),n(s,{label:e.$t("Security.Firewall.Port.form_2"),path:"port"},{default:p((()=>[f("div",g,[n(u,{value:m(R).port,"onUpdate:value":o[1]||(o[1]=e=>m(R).port=e),disabled:m(D),placeholder:e.$t("Security.Firewall.Port.form_3")},null,8,["value","disabled","placeholder"])])])),_:1},8,["label"]),n(s,{label:e.$t("Security.Firewall.Port.form_4"),path:"choose"},{default:p((()=>[f("div",x,[n(i,{value:m(R).choose,"onUpdate:value":o[2]||(o[2]=e=>m(R).choose=e),options:q},null,8,["value"])])])),_:1},8,["label"]),v(n(s,{label:e.$t("Security.Firewall.Port.form_5"),path:"address"},{default:p((()=>[f("div",$,[n(y,{value:m(R).address,"onUpdate:value":o[3]||(o[3]=e=>m(R).address=e),rows:3,placeholder:e.$t("Security.Firewall.Port.form_6")},null,8,["value","placeholder"])])])),_:1},8,["label"]),[[_,"point"===m(R).choose]]),v(n(s,{label:e.$t("Security.Firewall.Port.form_7"),path:"domain"},{default:p((()=>[f("div",U,[n(y,{value:m(R).domain,"onUpdate:value":o[4]||(o[4]=e=>m(R).domain=e),rows:3,placeholder:e.$t("Security.Firewall.Port.form_8")},null,8,["value","placeholder"])])])),_:1},8,["label"]),[[_,"domain"===m(R).choose]]),n(s,{label:e.$t("Security.Firewall.Port.form_9"),path:"types"},{default:p((()=>[f("div",j,[n(i,{value:m(R).types,"onUpdate:value":o[5]||(o[5]=e=>m(R).types=e),options:z},null,8,["value"])])])),_:1},8,["label"]),n(s,{label:e.$t("Security.Firewall.Port.form_10"),path:"types"},{default:p((()=>[f("div",E,[n(i,{value:m(R).chain,"onUpdate:value":o[6]||(o[6]=e=>m(R).chain=e),options:G},null,8,["value"])])])),_:1},8,["label"]),n(s,{label:e.$t("Security.Firewall.Port.form_11"),path:"brief","show-feedback":!1},{default:p((()=>[f("div",T,[n(u,{value:m(R).brief,"onUpdate:value":o[7]||(o[7]=e=>m(R).brief=e),placeholder:e.$t("Security.Firewall.Port.form_12")},null,8,["value","placeholder"])])])),_:1},8,["label"])])),_:1},8,["model"]),n(I,{class:"mt-20px ml-40px"},{default:p((()=>[f("li",null,w(e.$t("Security.Firewall.Port.form_13")),1),f("li",null,w(e.$t("Security.Firewall.Port.form_14")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/form-legacy-DaL-R3i_.js b/BTPanel/static/vite/js/form-legacy-DaL-R3i_.js deleted file mode 100644 index afa2cc46..00000000 --- a/BTPanel/static/vite/js/form-legacy-DaL-R3i_.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./ssl-legacy-BRxc0DyI.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,a){"use strict";var l,s,i,n,t,u,r,o,p,d,_,m,c,v,h,y,f,g,k,S,b,w,x,D,P,L,j,I,$;return{setters:[e=>{l=e._},e=>{s=e._,i=e.n},e=>{n=e._},e=>{t=e.k,u=e.R,r=e.r,o=e.c,p=e.e,d=e.$,_=e.a8,m=e.a9,c=e.a0,v=e.S,h=e._,y=e.ak,f=e.l,g=e.v,k=e.j,S=e.aa},e=>{b=e.e,w=e.R,x=e.S},e=>{D=e.u},e=>{P=e.a1,L=e.a8,j=e.a6,I=e.b,$=e.a9},null],execute:function(){const a={class:"w-300px"},A={class:"w-300px"},C={class:"w-300px"};e("default",t({__name:"form",props:{row:{},isEdit:{type:Boolean}},emits:["refresh"],setup(e,{expose:t,emit:F}){const N=e,U=F,{isEdit:T,row:B}=N,{t:E}=u(),q=r(null),K=r([]),R=o((()=>"CloudFlareDns"===V.name)),W=o((()=>"NameSiloDns"!==V.name&&"global"===V.permission)),G=o((()=>"PorkBunDns"===V.name||"GodaddyDns"===V.name)),V=p({name:"",api_user:"",api_key:"",alias:"",permission:"global",status:1}),Z={api_user:{required:!0,trigger:"blur",validator:(e,a)=>!("CloudFlareDns"!==V.name&&!a)||new Error(E("SSL.Domain.index_1"))},api_key:{required:!0,trigger:"blur",message:E("SSL.Domain.index_2")},alias:{required:!0,trigger:"blur",message:E("SSL.Domain.index_6")}},z=e=>{"CloudFlareDns"!==e&&"limit"===V.permission&&(V.permission="global"),q.value?.restoreValidation()},H=r(""),J=r(!0),M=()=>{J.value&&(V.api_user="")},O=()=>{!V.api_user&&J.value?V.api_user=H.value:V.api_user&&(J.value=!1)},Q=()=>({id:T&&B?B.id:null,name:T&&B&&V.name===B.name?null:V.name,api_user:T&&B&&V.api_user===B.api_user?null:W.value?V.api_user:"",api_key:T&&B&&V.api_key===B.api_key?null:V.api_key,permission:T&&B&&V.permission===B.permission?null:"CloudFlareDns"===V.name?V.permission:"",status:T&&B&&V.status===B.status?null:V.status,alias:T&&B&&V.alias===B.alias?null:V.alias}),{loading:X,setLoading:Y}=D();return(async()=>{try{Y(!0);const{message:e}=await x();i(e)&&e.length>0&&(V.name=e[0],K.value=e.map((e=>({label:e,value:e}))))}finally{(()=>{const{row:e,isEdit:a}=N;a&&e&&(V.name=e.name,V.api_user=e.api_user,H.value=e.api_user,V.api_key=e.api_key,V.permission=e.permission,V.status=e.status,V.alias=e.alias)})(),Y(!1)}})(),t({onConfirm:async()=>{await(q.value?.validate()),T&&B?await b(Q()):await w(Q()),U("refresh")}}),(e,i)=>{const t=L,u=P,r=j,o=I,p=n,b=s,w=l,x=$;return d(),_(x,{class:"p-20px",show:v(X)},{default:m((()=>[c(p,{ref_key:"formRef",ref:q,model:v(V),rules:Z},{default:m((()=>[c(u,{label:e.$t("Public.Table.Status"),path:"status"},{default:m((()=>[c(t,{value:v(V).status,"onUpdate:value":i[0]||(i[0]=e=>v(V).status=e),"checked-value":1,"unchecked-value":0},null,8,["value"])])),_:1},8,["label"]),c(u,{label:e.$t("Config.Alarm.index_43"),path:"name"},{default:m((()=>[c(r,{class:"w-300px",value:v(V).name,"onUpdate:value":[i[1]||(i[1]=e=>v(V).name=e),z],options:v(K),disabled:v(T)},null,8,["value","options","disabled"])])),_:1},8,["label"]),v(W)?(d(),_(u,{key:0,label:v(G)?"Secret Key":"API User",path:"api_user"},{default:m((()=>[h("div",a,[c(o,{value:v(V).api_user,"onUpdate:value":i[2]||(i[2]=e=>v(V).api_user=e),placeholder:v(G)?"Please enter Secret Key":e.$t("SSL.Domain.index_1"),onFocus:M,onBlur:O},null,8,["value","placeholder"])])])),_:1},8,["label"])):y("",!0),c(u,{label:"API Key",path:"api_key"},{default:m((()=>[h("div",A,[c(o,{value:v(V).api_key,"onUpdate:value":i[3]||(i[3]=e=>v(V).api_key=e),placeholder:e.$t("SSL.Domain.index_2")},null,8,["value","placeholder"])])])),_:1}),c(u,{label:e.$t("Config.Panel.index_36"),path:"alias"},{default:m((()=>[h("div",C,[c(o,{value:v(V).alias,"onUpdate:value":i[4]||(i[4]=e=>v(V).alias=e),placeholder:e.$t("SSL.Domain.index_6")},null,8,["value","placeholder"])])])),_:1},8,["label"]),f(c(u,{label:"API-Limit",path:"permission"},{default:m((()=>[c(t,{value:v(V).permission,"onUpdate:value":i[5]||(i[5]=e=>v(V).permission=e),"checked-value":"limit","unchecked-value":"global"},null,8,["value"])])),_:1},512),[[g,v(R)]])])),_:1},8,["model"]),v(R)?(d(),_(w,{key:0},{default:m((()=>[h("li",null,[c(b,{target:"_blank",href:"https://www.aapanel.com/docs/Function/Tutorial/DNS_API_Tutorial.html"},{default:m((()=>[k(S(e.$t("SSL.Domain.index_3")),1)])),_:1})])])),_:1})):y("",!0),"NameCheapDns"===v(V).name?(d(),_(w,{key:1},{default:m((()=>[i[6]||(i[6]=h("li",null," Namecheap API needs added in Whitelisted IPs (only IPv4): Profile > Tools menu > Namecheap API Access > Whitelisted IPs, please check: ",-1)),h("li",null,[c(b,{target:"_blank",href:"https://www.namecheap.com/support/api/intro/"},{default:m((()=>[k(S(e.$t("SSL.Domain.index_3")),1)])),_:1})])])),_:1,__:[6]})):y("",!0),"NameSiloDns"===v(V).name||"PorkBunDns"===v(V).name?(d(),_(w,{key:2},{default:m((()=>[h("li",null,[c(b,{target:"_blank",href:"https://www.aapanel.com/docs/Function/Tutorial/DNS_API_Tutorial.html"},{default:m((()=>[k(S(e.$t("SSL.Domain.index_3")),1)])),_:1})])])),_:1})):y("",!0)])),_:1},8,["show"])}}}))}}})); diff --git a/BTPanel/static/vite/js/form-legacy-Degkp4kh.js b/BTPanel/static/vite/js/form-legacy-Degkp4kh.js new file mode 100644 index 00000000..a576621a --- /dev/null +++ b/BTPanel/static/vite/js/form-legacy-Degkp4kh.js @@ -0,0 +1 @@ +System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./useLoading-legacy-BYj3sJTe.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,s){"use strict";var a,t,l,i,o,r,d,n,c,E,u,b,y,p,T,A,m,R,w,k,C;return{setters:[e=>{a=e._},e=>{t=e.je,l=e.i,i=e.jf},e=>{o=e.u},e=>{r=e.k,d=e.r,n=e.e,c=e.c,E=e.$,u=e.Z,b=e.a0,y=e.a9,p=e.S,T=e.a8,A=e.ak,m=e._},e=>{R=e.l,w=e.a1,k=e.a6,C=e.b5},null],execute:function(){const s=[{key:"Data Permissions",label:"Data Permissions",description:"Data Permissions",select:!0,id:1,children:[{id:2,key:"SELECT",description:"SELECT--Allows users to query (read) data from the database.",select:!0,label:"Read Data"},{id:3,key:"INSERT",description:"INSERT--Allows users to insert new data into database tables.",select:!0,label:"Insert/Replace Data"},{id:4,key:"UPDATE",description:"UPDATE--Allows users to modify data in database tables.",select:!0,label:"Modify Data"},{id:5,key:"DELETE",description:"DELETE--Allows users to delete data from database tables.",select:!0,label:"Delete Data"},{key:"FILE",id:22,description:"Allows users to read or write files.",label:"File Read/Write"}]},{key:"Structure Permissions",label:"Structure Permissions",description:"Structure Permissions",select:!0,id:6,children:[{id:7,key:"CREATE",description:"Allows users to create new databases, tables, or indexes.",select:!0,label:"Create Database/Table"},{id:8,key:"ALTER",description:"Allows users to modify the structure of database tables (e.g., add or delete columns).",select:!0,label:"Modify Table Structure"},{id:9,key:"INDEX",description:"Allows users to create and delete indexes to improve query performance.",select:!0,label:"Create/Delete Index"},{id:10,key:"DROP",description:"Allows users to delete databases, tables, or indexes.",select:!0,label:"Delete Database/Table"},{id:11,key:"CREATE TEMPORARY TABLES",description:"Allows users to create temporary tables that are automatically deleted after the session ends.",select:!0,label:"Create Temporary Tables"},{id:12,key:"SHOW VIEW",description:"Allows users to view views in the database.",select:!0,label:"View Views"},{id:13,key:"CREATE ROUTINE",description:"Allows users to create stored procedures and functions.",select:!0,label:"Create Stored Procedure/Function"},{id:14,key:"ALTER ROUTINE",description:"Allows users to modify stored procedures and functions.",select:!0,label:"Modify Stored Procedure/Function"},{id:15,key:"EXECUTE",description:"Allows users to execute stored procedures and functions.",select:!0,label:"Execute Stored Procedure/Function"},{id:16,key:"CREATE VIEW",description:"Allows users to create views in the database.",select:!0,label:"Create View"},{id:17,key:"EVENT",description:"Allows users to create, modify, and delete database events.",select:!0,label:"Create/Modify/Delete Event"},{id:18,key:"TRIGGER",description:"Allows users to create and manage database triggers.",select:!0,label:"Create/Manage Trigger"}]},{key:"Management Permissions",label:"Management Permissions",description:"Management Permissions",include:!0,id:19,children:[{id:23,key:"SUPER",description:"Allows users to perform special operations, such as starting or stopping the database server.",label:"Kill Other User Processes When Max Connections Reached"},{id:24,key:"PROCESS",description:"Allows users to view the database connection processes of other users.",label:"View Other User Connections"},{id:25,key:"RELOAD",description:"Allows users to reload the database server configuration.",label:"Reload Database Configuration"},{id:26,key:"SHUTDOWN",description:"Allows users to shut down the database server.",label:"Shutdown Database Server"},{id:27,key:"SHOW DATABASES",description:"Allows users to view the list of available databases.",label:"View Available Databases"},{id:21,key:"LOCK TABLES",description:"Allows users to lock tables to control concurrent access.",select:!0,label:"Lock Tables"},{id:32,key:"REFERENCES",description:"Allows users to create and use foreign keys to maintain data integrity.",label:"Create/Use Foreign Keys"},{id:29,key:"REPLICATION CLIENT",description:"Allows users to connect as a replication client to a master-slave replication system.",label:"Connect as Replication Client to Master-Slave System"},{id:30,key:"REPLICATION SLAVE",description:"Allows users to connect as a replication slave to a master-slave replication system.",label:"Connect as Replication Slave to Master-Slave System"},{id:31,key:"CREATE USER",description:"Allows users to create, modify, and delete database user accounts.",label:"Create/Modify/Delete Database User"}]}],S=[{key:"Data Permissions",label:"Data Permissions",description:"Data Permissions",select:!0,id:1,children:[{id:2,key:"SELECT",description:"SELECT--Allows users to query (read) data from the database.",select:!0,label:"Read Data"},{id:3,key:"INSERT",description:"INSERT--Allows users to insert new data into database tables.",select:!0,label:"Insert/Replace Data"},{id:4,key:"UPDATE",description:"UPDATE--Allows users to modify data in database tables.",select:!0,label:"Modify Data"},{id:5,key:"DELETE",description:"DELETE--Allows users to delete data from database tables.",select:!0,label:"Delete Data"}]},{key:"Structure Permissions",label:"Structure Permissions",description:"Structure Permissions",select:!0,id:6,children:[{id:7,key:"CREATE",description:"Allows users to create new databases, tables, or indexes.",select:!0,label:"Create Database/Table"},{id:8,key:"ALTER",description:"Allows users to modify the structure of database tables (e.g., add or delete columns).",select:!0,label:"Modify Table Structure"},{id:9,key:"INDEX",description:"Allows users to create and delete indexes to improve query performance.",select:!0,label:"Create/Delete Index"},{id:10,key:"DROP",description:"Allows users to delete databases, tables, or indexes.",select:!0,label:"Delete Database/Table"},{id:11,key:"CREATE TEMPORARY TABLES",description:"Allows users to create temporary tables that are automatically deleted after the session ends.",select:!0,label:"Create Temporary Tables"},{id:12,key:"SHOW VIEW",description:"Allows users to view views in the database.",select:!0,label:"View Views"},{id:13,key:"CREATE ROUTINE",description:"Allows users to create stored procedures and functions.",select:!0,label:"Create Stored Procedure/Function"},{id:14,key:"ALTER ROUTINE",description:"Allows users to modify stored procedures and functions.",select:!0,label:"Modify Stored Procedure/Function"},{id:15,key:"EXECUTE",description:"Allows users to execute stored procedures and functions.",select:!0,label:"Execute Stored Procedure/Function"},{id:16,key:"CREATE VIEW",description:"Allows users to create views in the database.",select:!0,label:"Create View"},{id:17,key:"EVENT",description:"Allows users to create, modify, and delete database events.",select:!0,label:"Create/Modify/Delete Event"},{id:18,key:"TRIGGER",description:"Allows users to create and manage database triggers.",select:!0,label:"Create/Manage Trigger"}]},{key:"Management Permissions",label:"Management Permissions",description:"Management Permissions",include:!0,id:19,children:[{id:21,key:"LOCK TABLES",description:"Allows users to lock tables to control concurrent access.",select:!0,label:"Lock Tables"},{id:22,key:"REFERENCES",description:"Allows users to create and use foreign keys to maintain data integrity.",label:"Create/Use Foreign Keys"}]}],f={class:"p-16px"},D={class:"w-415px max-h-200px overflow-auto border border-solid p-12x border-#ccc"};e("default",r({__name:"form",props:{data:{}},setup(e,{expose:r}){const v=e,{getList:g,params:h}=v.data,L=d(null),_=n({db_name:"",tb_name:"",access:["SELECT","INSERT","UPDATE","DELETE","CREATE","ALTER","INDEX","DROP","CREATE TEMPORARY TABLES","SHOW VIEW","CREATE ROUTINE","ALTER ROUTINE","EXECUTE","CREATE VIEW","EVENT","TRIGGER","LOCK TABLES","REFERENCES"]}),P=d([]),I=d([]),O=(e,s)=>{_.db_name=e,s.tb_list.length?(I.value=s.tb_list.map((e=>({label:e.name,value:e.value,access_list:e.access_list}))),N(I.value[0].value,I.value[0])):I.value=[]},N=(e,s)=>{_.tb_name=e,"*"!==e||"ALL PRIVILEGES"!==s.access_list[0]?"*"!==e||"USAGE"!==s.access_list[0]?_.access=s.access_list:_.access=[]:_.access=["SELECT","INSERT","UPDATE","DELETE","CREATE","ALTER","INDEX","DROP","CREATE TEMPORARY TABLES","SHOW VIEW","CREATE ROUTINE","ALTER ROUTINE","EXECUTE","CREATE VIEW","EVENT","TRIGGER","LOCK TABLES","REFERENCES"]},U=c((()=>"*"===_.db_name?s:"*"!==_.db_name&&"*"!==_.tb_name?S.find((e=>1===e.id))?.children||[]:S)),{loading:x,setLoading:M}=o();return(async()=>{try{M(!0);const{message:e}=await t(h);l(e)&&(P.value=e.data.map((e=>({label:e.name,value:e.value,tb_list:e.tb_list}))),O(P.value[0].value,P.value[0]))}finally{M(!1)}})(),r({onConfirm:async()=>{await(L.value?.validate()),await i({...h,db_name:_.db_name,tb_name:"*"===_.db_name?"*":_.tb_name,access:_.access.join(","),with_grant:0}),g?.()}}),(e,s)=>{const t=k,l=w,i=R,o=C,r=a;return E(),u("div",f,[b(r,{ref_key:"formRef",ref:L,model:p(_)},{default:y((()=>[b(i,null,{default:y((()=>[b(l,{label:e.$t("Database.Mysql.index_18")},{default:y((()=>[b(t,{class:"w-200px",loading:p(x),value:p(_).db_name,"onUpdate:value":[s[0]||(s[0]=e=>p(_).db_name=e),O],options:p(P)},null,8,["loading","value","options"])])),_:1},8,["label"]),b(l,{"show-label":!1},{default:y((()=>[p(I).length?(E(),T(t,{key:0,class:"w-200px",value:p(_).tb_name,"onUpdate:value":[s[1]||(s[1]=e=>p(_).tb_name=e),N],options:p(I)},null,8,["value","options"])):A("",!0)])),_:1})])),_:1}),b(l,{label:e.$t("Database.Mysql.index_19"),path:"access"},{default:y((()=>[m("div",D,[b(o,{"default-expand-all":"","block-line":"",cascade:"",checkable:"",selectable:!1,"check-strategy":"child","checked-keys":p(_).access,"onUpdate:checkedKeys":s[2]||(s[2]=e=>p(_).access=e),data:p(U),placeholder:e.$t("Database.Mysql.index_20")},null,8,["checked-keys","data","placeholder"])])])),_:1},8,["label"])])),_:1},8,["model"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/form-legacy-DjinaCUf.js b/BTPanel/static/vite/js/form-legacy-DjinaCUf.js deleted file mode 100644 index 9f5f1feb..00000000 --- a/BTPanel/static/vite/js/form-legacy-DjinaCUf.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DEYz4m3y.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./like-legacy-C_WEtahu.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,t){"use strict";var a,n,r,i,o,c,l,s,d,u,p,v,g,b,x,f,m,y,h,k,_,w,C,j,F,$,q,z,S,Y;return{setters:[e=>{a=e._},e=>{n=e.c,r=e.fC,i=e.p,o=e.fD,c=e.i},e=>{l=e.L},e=>{s=e.k,d=e.an,u=e.$,p=e.a8,v=e.a9,g=e._,b=e.Z,x=e.F,f=e.P,m=e.L,y=e.aa,h=e.R,k=e.r,_=e.e,w=e.a0,C=e.X,j=e.S,F=e.j,$=e.ak},e=>{q=e.k,z=e.a1,S=e.a7,Y=e.B},null],execute:function(){var t=document.createElement("style");t.textContent=".rating-item[data-v-c528e412]{width:40px;height:40px;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:2px;font-size:1.25rem;line-height:1.75rem;font-weight:700}.danger-item[data-v-c528e412]{--un-bg-opacity:1;background-color:rgb(247 207 206 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(239 133 129 / var(--un-text-opacity))}.danger-item[data-v-c528e412]:not(:last-child){border-right:1px solid #f8d7d6}.danger-item.active[data-v-c528e412],.danger-item[data-v-c528e412]:hover{border-style:none;--un-bg-opacity:1;background-color:rgb(255 0 0 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));transform:scaleY(1.2)}.warning-item[data-v-c528e412]{--un-bg-opacity:1;background-color:rgb(247 230 206 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(247 190 86 / var(--un-text-opacity))}.warning-item[data-v-c528e412]:not(:last-child){border-right:1px solid #fceed3}.warning-item.active[data-v-c528e412],.warning-item[data-v-c528e412]:hover{border-style:none;--un-bg-opacity:1;background-color:rgb(255 170 44 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));transform:scaleY(1.2)}.success-item[data-v-c528e412]{--un-bg-opacity:1;background-color:rgb(199 247 206 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(105 190 61 / var(--un-text-opacity))}.success-item[data-v-c528e412]:not(:last-child){border-right:1px solid #e4f5da}.success-item.active[data-v-c528e412],.success-item[data-v-c528e412]:hover{border-style:none;--un-bg-opacity:1;background-color:rgb(32 165 58 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));transform:scaleY(1.2)}.rating-label[data-v-c528e412]{padding-top:10px;padding-bottom:10px;text-align:center;font-size:14px}.danger-text[data-v-c528e412]{--un-text-opacity:1;color:rgb(239 133 129 / var(--un-text-opacity));background:linear-gradient(to bottom,#ffdfdd,#fff)}.warning-text[data-v-c528e412]{--un-text-opacity:1;color:rgb(247 190 86 / var(--un-text-opacity));background:linear-gradient(to bottom,#fff7e6,#fff)}.success-text[data-v-c528e412]{--un-text-opacity:1;color:rgb(105 190 61 / var(--un-text-opacity));background:linear-gradient(to bottom,#d9f7d0,#fff)}.banner[data-v-0fe468ba]{position:relative;background:url(/static/vite/images/banner-CmJfb5XC.png) no-repeat top center;width:100%;height:92px;background-size:100%}.banner .banner-title[data-v-0fe468ba]{position:absolute;left:32px;top:16px;font-size:17px;color:#fff}\n/*$vite$:1*/",document.head.appendChild(t);const E={class:"flex border-1px border-solid border-#f3adaa"},P=["onClick"],U={class:"flex border-1px border-solid border-#f4cf8f"},B=["onClick"],I={class:"flex border-1px border-solid border-#b8e29f"},J=["onClick"],L=n(s({__name:"rating",props:{value:{},valueModifiers:{}},emits:["update:value"],setup(e){const t=d(e,"value"),a=e=>{t.value=e};return(e,n)=>{const r=q;return u(),p(r,{class:"justify-center! mb-16px",size:20},{default:v((()=>[g("div",null,[g("div",E,[(u(),b(x,null,f(6,(e=>g("div",{key:e,class:m(["rating-item","danger-item",{active:t.value===e}]),onClick:t=>a(e)},[g("span",null,y(e),1)],10,P))),64))]),n[0]||(n[0]=g("div",{class:"rating-label danger-text"},"No",-1))]),g("div",null,[g("div",U,[(u(),b(x,null,f(2,(e=>g("div",{key:e+6,class:m(["rating-item","warning-item",{active:t.value===e+6}]),onClick:t=>a(e+6)},[g("span",null,y(e+6),1)],10,B))),64))]),n[1]||(n[1]=g("div",{class:"rating-label warning-text"},"Yes",-1))]),g("div",null,[g("div",I,[(u(),b(x,null,f(2,(e=>g("div",{key:e+8,class:m(["rating-item","success-item",{active:t.value===e+8}]),onClick:t=>a(e+8)},[g("span",null,y(e+8),1)],10,J))),64))]),n[2]||(n[2]=g("div",{class:"rating-label success-text"},"Must",-1))])])),_:1})}}}),[["__scopeId","data-v-c528e412"]]),M={class:"banner"},N={class:"banner-title"},R={class:"ml-8px"},X={key:0,class:"px-24px"},D={class:"text-primary"},O={class:"flex justify-center my-20px"},T=s({__name:"form",emits:["close"],setup(e,{emit:t}){const{t:n}=h(),s=k(0),d=t,m=_({}),q=_({}),E=k(null),P=k([]),U=async()=>{await(E.value?.validate());const e={questions:JSON.stringify(P.value.reduce(((e,t)=>(e[t.id]=m[t.id],e)),{})),rate:s.value,product_type:1};await r(e),d("close"),B()},B=()=>{const e=i({hideClose:!0,content:()=>w("div",{class:"flex-center flex-col w-230px h-124px bg-#F1F9F3"},[w("img",{class:"w-56px",src:l},null),w("div",{class:"mt-16px"},[n("Component.Feedback.index_6")])])});setTimeout((()=>{e.hide()}),3e3)};return(async()=>{const{message:e}=await o();c(e)&&(P.value=e.res,e.res.forEach((e=>{m[e.id]=""})),e.res.forEach((e=>{1===e.required&&(q[e.id]={required:!0,message:e.question,trigger:["blur","change"]})})))})(),(e,t)=>{const n=a,r=z,i=S,o=Y;return u(),b("div",null,[g("div",M,[g("div",N,[g("span",R,y(e.$t("Component.Feedback.index_1")),1)])]),t[1]||(t[1]=g("div",{class:"text-center text-20px font-bold my-20px"},"Would you recommend aaPanel?",-1)),w(L,{value:j(s),"onUpdate:value":t[0]||(t[0]=e=>C(s)?s.value=e:null)},null,8,["value"]),j(s)?(u(),b("div",X,[w(i,{model:j(m),rules:j(q),ref_key:"formRef",ref:E},{default:v((()=>[(u(!0),b(x,null,f(j(P),(e=>(u(),p(r,{label:e.question,path:e.id,key:e.id},{default:v((()=>[w(n,{value:j(m)[e.id],"onUpdate:value":t=>j(m)[e.id]=t,placeholder:e.hint},null,8,["value","onUpdate:value","placeholder"])])),_:2},1032,["label","path"])))),128))])),_:1},8,["model","rules"]),g("div",D,y(e.$t("Component.Feedback.index_4")),1),g("div",O,[w(o,{type:"primary",class:"w-120px",onClick:U},{default:v((()=>[F(y(e.$t("Public.Btn.Submit")),1)])),_:1})])])):$("",!0)])}}});e("default",n(T,[["__scopeId","data-v-0fe468ba"]]))}}})); diff --git a/BTPanel/static/vite/js/form-legacy-DpacNRZ-.js b/BTPanel/static/vite/js/form-legacy-DpacNRZ-.js deleted file mode 100644 index c3aeb60d..00000000 --- a/BTPanel/static/vite/js/form-legacy-DpacNRZ-.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./terminal-legacy-lSIZbtj-.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./xterm-legacy-UzqSqzXt.js?v=1773287522785","./useSocket-legacy-D9BDJ2id.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./xterm-addon-canvas-legacy-Tys2uZOF.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,a){"use strict";var l,t,r,s,n,o,u,d,p,i,c,y,_,m,v,f,g,k,x,w,h,b,$,j,T,U,C,S,P;return{setters:[e=>{l=e._},e=>{t=e.u,r=e.t,s=e.h,n=e.i},e=>{o=e.i},e=>{u=e.u},e=>{d=e.ad,p=e.k,i=e.a1,c=e.b,y=e._,_=e.a3,m=e.ag,v=e.B},e=>{f=e.k,g=e.R,k=e.r,x=e.e,w=e.w,h=e.$,b=e.Z,$=e.S,j=e.a8,T=e.a9,U=e.j,C=e.aa,S=e.ak,P=e.a0},null,null,null,null,null],execute:function(){const a={class:"p-20px"},q={key:1};e("default",f({__name:"form",props:{data:{}},setup(e,{expose:f}){const I=t(),{t:R}=g(),D=e,{isEdit:Z,row:L,tips:B,localhost:E,onRefresh:z}=D.data,A=k(null),{loading:F,setLoading:G}=u(),H=x({ip:"",port:22,account:"root",type:1,password:"",key:"",keyPassword:"",remark:""});w((()=>H.ip),(e=>{Z||(H.remark=e)}));const J={ip:{required:!0,message:R("Security.Conf.Index_28"),trigger:["blur","input"]},port:{required:!0,type:"number",message:R("Security.Conf.Index_28"),trigger:["blur","input"]},account:{required:!0,message:R("Security.Conf.Index_28"),trigger:["blur","input"]},password:{required:!0,message:R("Security.Conf.Index_28"),trigger:["blur","input"]},key:{required:!0,message:R("Security.Conf.Index_28"),trigger:["blur","input"]}},K=async()=>{try{G(!0),await r(M())}finally{G(!1)}},M=()=>({host:H.ip,port:H.port,username:H.account,password:1===H.type?H.password:"",pkey:2===H.type?H.key:"",pkey_passwd:2===H.type?H.keyPassword:"",ps:H.remark});return(async()=>{if(E)return H.ip="127.0.0.1",H.port=22,H.account="root",H.type=1,H.password="",H.key="",H.keyPassword="",void(H.remark="127.0.0.1");if(Z&&L){const{message:e}=await n({host:L.host});o(e)&&(H.ip=e.host,H.port=e.port,H.account=e.username,H.type=e.password?1:2,H.password=e.password,H.key=e.pkey,H.keyPassword=e.pkey_passwd,H.remark=e.ps)}})(),f({onConfirm:async({hide:e})=>{await(A.value?.validate()),await s(M()),I.setRefresh(!0),e(),z?.()}}),(e,t)=>{const r=d,s=c,n=i,o=y,u=p,f=m,g=_,k=v,x=l;return h(),b("div",a,[$(B)?(h(),j(r,{key:0,class:"mb-16px",type:"warning"},{default:T((()=>[U(C(e.$t("Unable to authenticate automatically, please fill in the login information of the local server!")),1)])),_:1})):S("",!0),P(x,{ref_key:"formRef",ref:A,model:$(H),rules:J},{default:T((()=>[P(u,null,{default:T((()=>[P(n,{label:e.$t("Term.index_8"),path:"ip"},{default:T((()=>[P(s,{class:"w-190px!",value:$(H).ip,"onUpdate:value":t[0]||(t[0]=e=>$(H).ip=e),placeholder:e.$t("Term.index_9")},null,8,["value","placeholder"])])),_:1},8,["label"]),P(n,{path:"port"},{default:T((()=>[P(o,{"show-button":!1,class:"w-80px!",value:$(H).port,"onUpdate:value":t[1]||(t[1]=e=>$(H).port=e),placeholder:e.$t("Docker.Container.create.index_7")},null,8,["value","placeholder"])])),_:1})])),_:1}),P(n,{label:e.$t("Term.index_10"),path:"account"},{default:T((()=>[P(s,{class:"w-280px!",value:$(H).account,"onUpdate:value":t[2]||(t[2]=e=>$(H).account=e),placeholder:e.$t("Term.index_11")},null,8,["value","placeholder"])])),_:1},8,["label"]),P(n,{label:e.$t("Term.index_12")},{default:T((()=>[P(g,{value:$(H).type,"onUpdate:value":t[3]||(t[3]=e=>$(H).type=e)},{default:T((()=>[P(f,{label:e.$t("Database.index_14"),value:1},null,8,["label"]),P(f,{label:e.$t("Term.index_13"),value:2},null,8,["label"])])),_:1},8,["value"])])),_:1},8,["label"]),1===$(H).type?(h(),j(n,{key:0,label:e.$t("Database.index_14"),path:"password"},{default:T((()=>[P(s,{class:"w-280px!",value:$(H).password,"onUpdate:value":t[4]||(t[4]=e=>$(H).password=e),placeholder:e.$t("Term.index_14")},null,8,["value","placeholder"])])),_:1},8,["label"])):(h(),b("div",q,[P(n,{label:e.$t("Term.index_13"),path:"key"},{default:T((()=>[P(s,{class:"w-280px!",type:"textarea",value:$(H).key,"onUpdate:value":t[5]||(t[5]=e=>$(H).key=e),placeholder:e.$t("Term.index_15")},null,8,["value","placeholder"])])),_:1},8,["label"]),P(n,{label:e.$t("Term.index_16")},{default:T((()=>[P(s,{class:"w-280px!",value:$(H).keyPassword,"onUpdate:value":t[6]||(t[6]=e=>$(H).keyPassword=e),placeholder:e.$t("Term.index_17")},null,8,["value","placeholder"])])),_:1},8,["label"])])),P(n,{label:"Remarks"},{default:T((()=>[P(s,{class:"w-280px!",value:$(H).remark,"onUpdate:value":t[7]||(t[7]=e=>$(H).remark=e),placeholder:e.$t("Term.index_18")},null,8,["value","placeholder"])])),_:1}),P(n,{label:" ","show-feedback":!1},{default:T((()=>[P(k,{onClick:K,loading:$(F)},{default:T((()=>[U(C(e.$t("Test connection")),1)])),_:1},8,["loading"])])),_:1})])),_:1},8,["model"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/form-legacy-DuvI0fIS.js b/BTPanel/static/vite/js/form-legacy-DuvI0fIS.js deleted file mode 100644 index 57af3a4b..00000000 --- a/BTPanel/static/vite/js/form-legacy-DuvI0fIS.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-C90vjkA2.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BCiDzEG_.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./alarm-legacy-B0l3BTRO.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./index-legacy-DgZ0-E4f.js?v=1773287522785","./index-legacy-BLhboF_G.js?v=1773287522785","./alarm-legacy-wcthH3Ek.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,a){"use strict";var l,t,u,n,i,r,d,s,o,v,p,m,_,f,c,g,y,h,b,x,w,k,j,U,$,C,A,E,M,R,S,P,B,D,O,H,T,F,I,L,Z,G,Q,X,Y,q,z,J,K;return{setters:[e=>{l=e._},e=>{t=e._},e=>{u=e._},e=>{n=e.k,i=e.$,r=e.Z,d=e.an,s=e.t,o=e.c,v=e.F,p=e._,m=e.a0,_=e.S,f=e.H,c=e.aa,g=e.ak,y=e.ao,h=e.a9,b=e.a8,x=e.j,w=e.P,k=e.ad,j=e.R,U=e.a6,$=e.r,C=e.e,A=e.x,E=e.X,M=e.n},e=>{R=e.an,S=e.t,P=e.Q,B=e.i,D=e.n,O=e.cn},e=>{H=e.u},e=>{T=e.j,F=e.h,I=e.i},e=>{L=e.g},e=>{Z=e.a6,G=e.au,Q=e._,X=e.av,Y=e.a3,q=e.a4,z=e.a1},e=>{J=e._},e=>{K=e._},null,null],execute:function(){const a=n({__name:"form-template-field-none",props:{field:{}},setup:e=>(e,a)=>(i(),r("div"))}),N={key:0,class:"ml-10px whitespace-pre"},V=n({__name:"form-template-field-select",props:y({field:{}},{value:{default:null},valueModifiers:{}}),emits:["update:value"],setup(e){const a=e,l=d(e,"value"),t=s(a,"field"),u=o((()=>t.value.items.map((e=>({label:`${e.title}${t.value.unit||""}`,value:e.value})))));return(e,a)=>{const n=Z;return i(),r(v,null,[p("div",{style:f({width:_(t).width?"160px":"260px"})},[m(n,{value:l.value,"onUpdate:value":a[0]||(a[0]=e=>l.value=e),disabled:_(t).disabled,options:_(u)},null,8,["value","disabled","options"])],4),_(t).suffix?(i(),r("div",N,c(_(t).suffix),1)):g("",!0)],64)}}}),W={key:0,class:"ml-10px whitespace-pre"},ee=n({__name:"form-template-field-number",props:y({field:{}},{value:{},valueModifiers:{}}),emits:["update:value"],setup(e){const a=s(e,"field"),l=d(e,"value"),t=()=>{l.value||(l.value=a.value.default)};return(e,u)=>{const n=Q,d=X,s=G;return i(),r(v,null,[p("div",null,[m(s,null,{default:h((()=>[m(n,{value:l.value,"onUpdate:value":u[0]||(u[0]=e=>l.value=e),class:"w-100px",min:1,"show-button":!1,placeholder:"",onBlur:t},null,8,["value"]),_(a).unit?(i(),b(d,{key:0,class:"min-w-52px text-center"},{default:h((()=>[x(c(_(a).unit),1)])),_:1})):g("",!0)])),_:1})]),_(a).suffix?(i(),r("span",W,c(_(a).suffix),1)):g("",!0)],64)}}}),ae=n({__name:"form-template-field-radio",props:y({field:{}},{value:{},valueModifiers:{}}),emits:["update:value"],setup(e){const a=e,l=d(e,"value"),t=s(a,"field");return(e,a)=>{const u=q,n=Y;return i(),b(n,{value:l.value,"onUpdate:value":a[0]||(a[0]=e=>l.value=e)},{default:h((()=>[(i(!0),r(v,null,w(_(t).items,(e=>(i(),b(u,{key:e.value,value:e.value},{default:h((()=>[x(c(e.title),1)])),_:2},1032,["value"])))),128))])),_:1},8,["value"])}}}),le=n({__name:"form-template-field-help",props:{field:{}},setup:e=>(e,a)=>{const l=J;return i(),b(l,null,{default:h((()=>[(i(!0),r(v,null,w(e.field.list,(e=>(i(),r("li",{key:e},c(e),1)))),128))])),_:1})}}),te={key:0,class:"ml-10px whitespace-pre"},ue=n({__name:"form-template-field-multiple-select",props:y({field:{}},{value:{default:()=>[]},valueModifiers:{}}),emits:["update:value"],setup(e){const a=e,l=d(e,"value"),t=s(a,"field"),u=o((()=>t.value.items.map((e=>({label:`${e.title}${t.value.unit||""}`,value:e.value})))));return(e,a)=>{const n=Z;return i(),r(v,null,[p("div",{style:f({width:_(t).width?"160px":"260px"})},[m(n,{multiple:"",value:l.value,"onUpdate:value":a[0]||(a[0]=e=>l.value=e),disabled:_(t).disabled,options:_(u)},null,8,["value","disabled","options"])],4),_(t).suffix?(i(),r("div",te,c(_(t).suffix),1)):g("",!0)],64)}}}),ne=n({__name:"form-template-field",props:y({field:{}},{value:{},valueModifiers:{}}),emits:y(["change"],["update:value"]),setup(e,{emit:l}){const t=e,u=l,n=d(e,"value"),r=s(t,"field"),o=(()=>{switch(r.value.type){case"multiple-select":return ue;case"select":return V;case"number":return ee;case"radio":return ae;case"help":return le;default:return a}})(),v=e=>{u("change",e,r.value.attr)};return(e,a)=>(i(),b(k(_(o)),{value:n.value,"onUpdate:value":[a[0]||(a[0]=e=>n.value=e),v],field:_(r)},null,40,["value","field"]))}}),ie=n({__name:"form-template",props:y({type:{default:"none"},template:{default:()=>({field:[],sorted:[]})}},{value:{default:()=>({})},valueModifiers:{}}),emits:["update:value"],setup(e,{expose:a}){const l=e,{t:t}=j(),u=s(l,"type"),n=s(l,"template"),p=d(e,"value"),f=o((()=>{const{field:e,sorted:a}=n.value,l=[];return a.forEach((a=>{const t=[];a.forEach((a=>{const l=e.find((e=>e.attr===a));l&&t.push(l)})),l.push(t)})),l})),c=(e,a)=>{"system_disk"===u.value&&"cycle"===a&&y(),"project_status"===u.value&&"cycle"===a&&x()},y=()=>{const{cycle:e}=p.value;switch(e){case 1:n.value.field[2].unit="GB",n.value.field[2].name=t("Config.Alarm.index_26");break;case 2:n.value.field[2].unit="%",n.value.field[2].name=t("Config.Alarm.index_27")}},x=()=>{const{field:e}=n.value,[,a]=e,{all_items:l}=a;if(l&&R(p.value.cycle)){const e=l[L(p.value.cycle)-1];e.length>0?(a.items=e,p.value.project=e[0].value):(a.items=[],p.value.project=null)}},k=()=>{switch(u.value){case"system_disk":y();break;case"project_status":x()}};return k(),a({render:k}),(e,a)=>{const l=z;return i(!0),r(v,null,w(_(f),((e,a)=>(i(),r(v,null,[1===e.length?(i(!0),r(v,{key:0},w(e,(e=>(i(),b(l,{key:`${_(u)}-${e.attr}`,label:e.name},{default:h((()=>[m(ne,{value:p.value[e.attr],"onUpdate:value":a=>p.value[e.attr]=a,field:e,onChange:c},null,8,["value","onUpdate:value","field"])])),_:2},1032,["label"])))),128)):g("",!0),e.length>1?(i(),r("div",{key:`${_(u)}-${a+1}`,class:"flex"},[(i(!0),r(v,null,w(e,((e,a)=>(i(),b(l,{key:`${_(u)}-${e.attr}`,label:e.name,"label-width":0!==a?"auto":void 0},{default:h((()=>[m(ne,{value:p.value[e.attr],"onUpdate:value":a=>p.value[e.attr]=a,field:e,onChange:c},null,8,["value","onUpdate:value","field"])])),_:2},1032,["label","label-width"])))),128))])):g("",!0)],64)))),256)}}}),re=n({__name:"form-advanced",props:y({config:{default:()=>({})},inverse:{type:Boolean,default:!1},timeRangeShow:{type:Boolean,default:!1}},{value:{default:()=>({day_num:0,total:0,send_interval:0,time_range:[]})},valueModifiers:{}}),emits:["update:value"],setup(e){const a=e,l=s(a,"config"),t=d(e,"value"),u=e=>a.inverse?!l.value[e]:l.value[e];return(e,a)=>{const l=Q,n=X,d=G,s=z,o=K;return i(),r(v,null,[u("day_num")?(i(),b(s,{key:0,label:e.$t("Config.Alarm.index_28"),path:"day_num"},{default:h((()=>[m(d,null,{default:h((()=>[m(l,{value:t.value.day_num,"onUpdate:value":a[0]||(a[0]=e=>t.value.day_num=e),class:"w-100px",min:0,"show-button":!1,placeholder:""},null,8,["value"]),m(n,{class:"min-w-52px text-center"},{default:h((()=>[x(c(e.$t("Public.Unit.Times")),1)])),_:1})])),_:1})])),_:1},8,["label"])):g("",!0),u("total")?(i(),b(s,{key:1,label:e.$t("Config.Alarm.index_30"),path:"total"},{default:h((()=>[m(d,null,{default:h((()=>[m(l,{value:t.value.total,"onUpdate:value":a[1]||(a[1]=e=>t.value.total=e),class:"w-100px",min:0,"show-button":!1,placeholder:""},null,8,["value"]),m(n,{class:"min-w-52px text-center"},{default:h((()=>[x(c(e.$t("Public.Unit.Times")),1)])),_:1})])),_:1})])),_:1},8,["label"])):g("",!0),u("send_interval")?(i(),b(s,{key:2,label:e.$t("Config.Alarm.index_31"),path:"send_interval"},{default:h((()=>[m(d,null,{default:h((()=>[m(l,{value:t.value.send_interval,"onUpdate:value":a[2]||(a[2]=e=>t.value.send_interval=e),class:"w-100px",min:0,"show-button":!1,placeholder:""},null,8,["value"]),m(n,{class:"min-w-52px text-center"},{default:h((()=>[x(c(e.$t("Public.Unit.Seconds")),1)])),_:1})])),_:1})])),_:1},8,["label"])):g("",!0),e.timeRangeShow?(i(),b(s,{key:3,label:e.$t("Config.Alarm.index_33"),path:"time_range","show-feedback":!1},{default:h((()=>[m(o,{value:t.value.time_range,"onUpdate:value":a[3]||(a[3]=e=>t.value.time_range=e)},null,8,["value"])])),_:1},8,["label"])):g("",!0)],64)}}}),de={class:"px-20px py-24px"},se={class:"w-260px"},oe={class:"w-260px"};e("default",n({__name:"form",props:{isEdit:{type:Boolean},template_id:{},row:{}},emits:["refresh"],setup(e,{expose:a,emit:n}){const d=e,v=S(),{isPro:f}=U(v),c=n,{t:g}=j(),y=s(d,"isEdit"),b=$(null),w=$(),k=$(!1),L=C({type:null,method:[],day_num:0,total:0,send_interval:0,time_range:[(new Date).setHours(0,0,0,0),(new Date).setHours(23,59,59,0)],template:{}}),G=C({day_num:{trigger:["input","blur"],validator:()=>!(!L.day_num&&0!==L.day_num)||(K.value.day_num||(k.value=!0),new Error(g("Config.Alarm.index_22")))},total:{trigger:["input","blur"],validator:()=>!(!L.total&&0!==L.total)||(K.value.total||(k.value=!0),new Error(g("Config.Alarm.index_23")))},send_interval:{trigger:["input","blur"],validator:()=>!(!L.send_interval&&0!==L.send_interval)||(K.value.send_interval||(k.value=!0),new Error(g("Config.Alarm.index_24")))},method:{trigger:["change"],validator:()=>0!==L.method.length||new Error(g("Config.Alarm.index_25"))}}),Q=A([]),X=o((()=>Q.value.map(((e,a)=>({label:e.title,value:a,disabled:"80"===e.id&&!f.value,data:e}))))),Y=o((()=>{let e="none";const a=Q.value[L.type||0];return a&&(e=a.source),e})),q=e=>m("div",null,[m("span",null,[e.label,x(" ")]),14===e.value?m("span",{class:"float-right cursor-pointer color-#ffb800",onClick:()=>{P({source:323})}},[x("PRO")]):""]),J=$({field:[],sorted:[]}),K=$({}),N=()=>Q.value[L.type||0],V=()=>{const e=N();L.template={},J.value=e.template,J.value.field.forEach((a=>{a.default?L.template[a.attr]=a.default:L.template[a.attr]=e.default[a.attr]})),L.day_num=0,L.total=0,L.send_interval=0;const a={},{advanced_default:l}=e;B(l)&&Object.entries(l).forEach((([e,l])=>{B(l)?Object.entries(l).forEach((([e,l])=>{a[e]=!0,ee(e,l)})):R(l)&&(a[e]=!0,ee(e,l))})),K.value=a},W=["day_num","total","send_interval"],ee=(e,a)=>{W.includes(e)&&(L[e]=a)},ae=()=>{V(),M((()=>{w.value.render()}))},{loading:le,setLoading:te}=H(),ue=e=>{const a=new Date,l=a.getFullYear(),t=a.getMonth(),u=a.getDate();return new Date(l,t,u).getTime()+1e3*e};return(async()=>{await(async()=>{try{te(!0);const{message:e}=await I();D(e)&&(Q.value=e,L.type=0,y.value||V())}finally{te(!1)}})();const{row:e}=d;if((y.value&&e||d.template_id&&e)&&(L.type=Q.value.findIndex((a=>a.id===e.template_id)),V(),L.method=e.sender,e.number_rule&&(L.day_num=e.number_rule.day_num,L.total=e.number_rule.total),e.time_rule&&(L.send_interval=e.time_rule.send_interval,e.time_rule.time_range&&e.time_rule.time_range.length>0&&(L.time_range=[ue(e.time_rule.time_range[0]),ue(e.time_rule.time_range[1])])),Object.keys(L.template).forEach((a=>{e.task_data&&(L.template[a]=e.task_data[a])})),e.task_data?.after_hook&&e.task_data?.after_hook.restart.length&&(L.template.after_hook=e.task_data?.after_hook.restart),await M(),w.value.render()),d.template_id&&!e){const e=Q.value.findIndex((e=>e.id===String(d.template_id)));-1!==e&&(L.type=e,ae())}})(),a({onConfirm:async()=>{await(b.value?.validate());const{row:e}=d,a=(()=>{const e=N();return{template_id:e.id,task_data:{task_data:{tid:e.id,type:e.source,title:e.title,status:!0,count:0,interval:600,project:"",...L.template,after_hook:{restart:L.template.after_hook}},sender:L.method,number_rule:{day_num:L.day_num,total:L.total},time_rule:{send_interval:L.send_interval,time_range:[O(L.time_range[0]),O(L.time_range[1])]}}}})();y.value&&e?await T({...a,task_id:e.id}):await F(a),c("refresh")}}),(e,a)=>{const n=Z,d=z,s=u,o=t,v=l;return i(),r("div",de,[m(v,{ref_key:"formRef",ref:b,model:_(L),rules:_(G),"label-width":"140"},{default:h((()=>[m(d,{label:e.$t("Config.Alarm.index_19")},{default:h((()=>[p("div",se,[m(n,{value:_(L).type,"onUpdate:value":[a[0]||(a[0]=e=>_(L).type=e),ae],options:_(X),loading:_(le),"render-label":q,disabled:!!e.template_id||_(y)},null,8,["value","options","loading","disabled"])])])),_:1},8,["label"]),m(ie,{ref_key:"templateRef",ref:w,value:_(L).template,"onUpdate:value":a[1]||(a[1]=e=>_(L).template=e),type:_(Y),template:_(J)},null,8,["value","type","template"]),m(re,{value:_(L),"onUpdate:value":a[2]||(a[2]=e=>E(L)?L.value=e:null),config:_(K)},null,8,["value","config"]),m(d,{label:e.$t("Config.Alarm.index_20"),path:"method"},{default:h((()=>[p("div",oe,[m(s,{value:_(L).method,"onUpdate:value":a[3]||(a[3]=e=>_(L).method=e)},null,8,["value"])])])),_:1},8,["label"]),m(o,{show:_(k),"onUpdate:show":a[5]||(a[5]=e=>E(k)?k.value=e:null),title:e.$t("Config.Alarm.index_21")},{default:h((()=>[m(re,{value:_(L),"onUpdate:value":a[4]||(a[4]=e=>E(L)?L.value=e:null),config:_(K),inverse:!0,"time-range-show":!0},null,8,["value","config"])])),_:1},8,["show","title"])])),_:1},8,["model","rules"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/form-legacy-GGsySGBL.js b/BTPanel/static/vite/js/form-legacy-GGsySGBL.js deleted file mode 100644 index 11e8e59b..00000000 --- a/BTPanel/static/vite/js/form-legacy-GGsySGBL.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./check-legacy-DG4HeWug.js?v=1773287522785","./firewall-legacy-BLYDdl9f.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(r,e){"use strict";var l,a,o,t,s,d,i,u,p,_,c,w,f,n,v,F,m,y,b;return{setters:[r=>{l=r._},r=>{a=r._},null,r=>{o=r.a},r=>{t=r.B,s=r.C},r=>{d=r.k,i=r.R,u=r.r,p=r.e,_=r.$,c=r.Z,w=r.a0,f=r.a9,n=r._,v=r.S,F=r.aa},r=>{m=r.a1,y=r.a6,b=r.b},null],execute:function(){const e={class:"p-20px"},S={class:"w-200px"},h={class:"w-200px"},g={class:"w-200px"},x={class:"w-200px"},$={class:"w-200px"};r("default",d({__name:"form",props:{row:{},isEdit:{type:Boolean,default:!1}},emits:["refresh"],setup(r,{expose:d,emit:j}){const P=r,E=j,{t:U}=i(),{isEdit:T,row:k}=P,C=u(null),A=p({protocol:"tcp",s_ports:"",d_address:"",d_ports:"",brief:""}),B={s_ports:{trigger:["blur","input"],validator:()=>""!==A.s_ports.trim()&&A.s_ports?!!o(A.s_ports)||new Error(U("Security.Firewall.Forward.form_12")):new Error(U("Security.Firewall.Forward.form_3"))},d_ports:{trigger:["blur","input"],validator:()=>""!==A.d_ports.trim()&&A.d_ports?!!o(A.d_ports)||new Error(U("Security.Firewall.Forward.form_12")):new Error(U("Security.Firewall.Forward.form_7"))}},R=[{label:"TCP",value:"tcp"},{label:"UDP",value:"udp"}];return T&&k&&(A.protocol=k.Protocol?k.Protocol.toLowerCase():"tcp",A.s_ports=k.S_Port||"",A.d_address=k.T_Address||"",A.d_ports=k.T_Port||"",A.brief=k.brief),d({onConfirm:async()=>{await(C.value?.validate());const r={protocol:A.protocol,S_Port:A.s_ports,T_Port:A.d_ports,T_Address:A.d_address,brief:A.brief};T&&k?await t({new_data:{...r,id:k.id},old_data:k}):await s(r),E("refresh")}}),(r,o)=>{const t=y,s=m,d=b,i=a,u=l;return _(),c("div",e,[w(i,{ref_key:"formRef",ref:C,model:v(A),rules:B},{default:f((()=>[w(s,{label:r.$t("Security.Firewall.Forward.form_1"),path:"protocol"},{default:f((()=>[n("div",S,[w(t,{value:v(A).protocol,"onUpdate:value":o[0]||(o[0]=r=>v(A).protocol=r),options:R},null,8,["value"])])])),_:1},8,["label"]),w(s,{label:r.$t("Security.Firewall.Forward.form_2"),path:"s_ports"},{default:f((()=>[n("div",h,[w(d,{value:v(A).s_ports,"onUpdate:value":o[1]||(o[1]=r=>v(A).s_ports=r),placeholder:r.$t("Security.Firewall.Forward.form_3")},null,8,["value","placeholder"])])])),_:1},8,["label"]),w(s,{label:r.$t("Security.Firewall.Forward.form_4"),path:"d_address"},{default:f((()=>[n("div",g,[w(d,{value:v(A).d_address,"onUpdate:value":o[2]||(o[2]=r=>v(A).d_address=r),placeholder:r.$t("Security.Firewall.Forward.form_5")},null,8,["value","placeholder"])])])),_:1},8,["label"]),w(s,{label:r.$t("Security.Firewall.Forward.form_6"),path:"d_ports"},{default:f((()=>[n("div",x,[w(d,{value:v(A).d_ports,"onUpdate:value":o[3]||(o[3]=r=>v(A).d_ports=r),placeholder:r.$t("Security.Firewall.Forward.form_7")},null,8,["value","placeholder"])])])),_:1},8,["label"]),w(s,{label:r.$t("Security.Firewall.Forward.form_8"),path:"brief","show-feedback":!1},{default:f((()=>[n("div",$,[w(d,{value:v(A).brief,"onUpdate:value":o[4]||(o[4]=r=>v(A).brief=r),placeholder:r.$t("Security.Firewall.Forward.form_9")},null,8,["value","placeholder"])])])),_:1},8,["label"])])),_:1},8,["model"]),w(u,{class:"mt-20px ml-40px"},{default:f((()=>[n("li",null,F(r.$t("Security.Firewall.Forward.form_10")),1),n("li",null,F(r.$t("Security.Firewall.Forward.form_11")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/form-legacy-Ts5riT7h.js b/BTPanel/static/vite/js/form-legacy-Ts5riT7h.js deleted file mode 100644 index 9f6ecab4..00000000 --- a/BTPanel/static/vite/js/form-legacy-Ts5riT7h.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,s){"use strict";var a,t,l,i,o,r,d,n,c,E,u,b,y,p,T,A,m,R,w,k,C;return{setters:[e=>{a=e._},e=>{t=e.iq,l=e.i,i=e.ir},e=>{o=e.u},e=>{r=e.k,d=e.r,n=e.e,c=e.c,E=e.$,u=e.Z,b=e.a0,y=e.a9,p=e.S,T=e.a8,A=e.ak,m=e._},e=>{R=e.k,w=e.a1,k=e.a6,C=e.b5},null],execute:function(){const s=[{key:"Data Permissions",label:"Data Permissions",description:"Data Permissions",select:!0,id:1,children:[{id:2,key:"SELECT",description:"SELECT--Allows users to query (read) data from the database.",select:!0,label:"Read Data"},{id:3,key:"INSERT",description:"INSERT--Allows users to insert new data into database tables.",select:!0,label:"Insert/Replace Data"},{id:4,key:"UPDATE",description:"UPDATE--Allows users to modify data in database tables.",select:!0,label:"Modify Data"},{id:5,key:"DELETE",description:"DELETE--Allows users to delete data from database tables.",select:!0,label:"Delete Data"},{key:"FILE",id:22,description:"Allows users to read or write files.",label:"File Read/Write"}]},{key:"Structure Permissions",label:"Structure Permissions",description:"Structure Permissions",select:!0,id:6,children:[{id:7,key:"CREATE",description:"Allows users to create new databases, tables, or indexes.",select:!0,label:"Create Database/Table"},{id:8,key:"ALTER",description:"Allows users to modify the structure of database tables (e.g., add or delete columns).",select:!0,label:"Modify Table Structure"},{id:9,key:"INDEX",description:"Allows users to create and delete indexes to improve query performance.",select:!0,label:"Create/Delete Index"},{id:10,key:"DROP",description:"Allows users to delete databases, tables, or indexes.",select:!0,label:"Delete Database/Table"},{id:11,key:"CREATE TEMPORARY TABLES",description:"Allows users to create temporary tables that are automatically deleted after the session ends.",select:!0,label:"Create Temporary Tables"},{id:12,key:"SHOW VIEW",description:"Allows users to view views in the database.",select:!0,label:"View Views"},{id:13,key:"CREATE ROUTINE",description:"Allows users to create stored procedures and functions.",select:!0,label:"Create Stored Procedure/Function"},{id:14,key:"ALTER ROUTINE",description:"Allows users to modify stored procedures and functions.",select:!0,label:"Modify Stored Procedure/Function"},{id:15,key:"EXECUTE",description:"Allows users to execute stored procedures and functions.",select:!0,label:"Execute Stored Procedure/Function"},{id:16,key:"CREATE VIEW",description:"Allows users to create views in the database.",select:!0,label:"Create View"},{id:17,key:"EVENT",description:"Allows users to create, modify, and delete database events.",select:!0,label:"Create/Modify/Delete Event"},{id:18,key:"TRIGGER",description:"Allows users to create and manage database triggers.",select:!0,label:"Create/Manage Trigger"}]},{key:"Management Permissions",label:"Management Permissions",description:"Management Permissions",include:!0,id:19,children:[{id:23,key:"SUPER",description:"Allows users to perform special operations, such as starting or stopping the database server.",label:"Kill Other User Processes When Max Connections Reached"},{id:24,key:"PROCESS",description:"Allows users to view the database connection processes of other users.",label:"View Other User Connections"},{id:25,key:"RELOAD",description:"Allows users to reload the database server configuration.",label:"Reload Database Configuration"},{id:26,key:"SHUTDOWN",description:"Allows users to shut down the database server.",label:"Shutdown Database Server"},{id:27,key:"SHOW DATABASES",description:"Allows users to view the list of available databases.",label:"View Available Databases"},{id:21,key:"LOCK TABLES",description:"Allows users to lock tables to control concurrent access.",select:!0,label:"Lock Tables"},{id:32,key:"REFERENCES",description:"Allows users to create and use foreign keys to maintain data integrity.",label:"Create/Use Foreign Keys"},{id:29,key:"REPLICATION CLIENT",description:"Allows users to connect as a replication client to a master-slave replication system.",label:"Connect as Replication Client to Master-Slave System"},{id:30,key:"REPLICATION SLAVE",description:"Allows users to connect as a replication slave to a master-slave replication system.",label:"Connect as Replication Slave to Master-Slave System"},{id:31,key:"CREATE USER",description:"Allows users to create, modify, and delete database user accounts.",label:"Create/Modify/Delete Database User"}]}],S=[{key:"Data Permissions",label:"Data Permissions",description:"Data Permissions",select:!0,id:1,children:[{id:2,key:"SELECT",description:"SELECT--Allows users to query (read) data from the database.",select:!0,label:"Read Data"},{id:3,key:"INSERT",description:"INSERT--Allows users to insert new data into database tables.",select:!0,label:"Insert/Replace Data"},{id:4,key:"UPDATE",description:"UPDATE--Allows users to modify data in database tables.",select:!0,label:"Modify Data"},{id:5,key:"DELETE",description:"DELETE--Allows users to delete data from database tables.",select:!0,label:"Delete Data"}]},{key:"Structure Permissions",label:"Structure Permissions",description:"Structure Permissions",select:!0,id:6,children:[{id:7,key:"CREATE",description:"Allows users to create new databases, tables, or indexes.",select:!0,label:"Create Database/Table"},{id:8,key:"ALTER",description:"Allows users to modify the structure of database tables (e.g., add or delete columns).",select:!0,label:"Modify Table Structure"},{id:9,key:"INDEX",description:"Allows users to create and delete indexes to improve query performance.",select:!0,label:"Create/Delete Index"},{id:10,key:"DROP",description:"Allows users to delete databases, tables, or indexes.",select:!0,label:"Delete Database/Table"},{id:11,key:"CREATE TEMPORARY TABLES",description:"Allows users to create temporary tables that are automatically deleted after the session ends.",select:!0,label:"Create Temporary Tables"},{id:12,key:"SHOW VIEW",description:"Allows users to view views in the database.",select:!0,label:"View Views"},{id:13,key:"CREATE ROUTINE",description:"Allows users to create stored procedures and functions.",select:!0,label:"Create Stored Procedure/Function"},{id:14,key:"ALTER ROUTINE",description:"Allows users to modify stored procedures and functions.",select:!0,label:"Modify Stored Procedure/Function"},{id:15,key:"EXECUTE",description:"Allows users to execute stored procedures and functions.",select:!0,label:"Execute Stored Procedure/Function"},{id:16,key:"CREATE VIEW",description:"Allows users to create views in the database.",select:!0,label:"Create View"},{id:17,key:"EVENT",description:"Allows users to create, modify, and delete database events.",select:!0,label:"Create/Modify/Delete Event"},{id:18,key:"TRIGGER",description:"Allows users to create and manage database triggers.",select:!0,label:"Create/Manage Trigger"}]},{key:"Management Permissions",label:"Management Permissions",description:"Management Permissions",include:!0,id:19,children:[{id:21,key:"LOCK TABLES",description:"Allows users to lock tables to control concurrent access.",select:!0,label:"Lock Tables"},{id:22,key:"REFERENCES",description:"Allows users to create and use foreign keys to maintain data integrity.",label:"Create/Use Foreign Keys"}]}],f={class:"p-16px"},D={class:"w-415px max-h-200px overflow-auto border border-solid p-12x border-#ccc"};e("default",r({__name:"form",props:{data:{}},setup(e,{expose:r}){const v=e,{getList:g,params:h}=v.data,L=d(null),_=n({db_name:"",tb_name:"",access:["SELECT","INSERT","UPDATE","DELETE","CREATE","ALTER","INDEX","DROP","CREATE TEMPORARY TABLES","SHOW VIEW","CREATE ROUTINE","ALTER ROUTINE","EXECUTE","CREATE VIEW","EVENT","TRIGGER","LOCK TABLES","REFERENCES"]}),P=d([]),I=d([]),O=(e,s)=>{_.db_name=e,s.tb_list.length?(I.value=s.tb_list.map((e=>({label:e.name,value:e.value,access_list:e.access_list}))),N(I.value[0].value,I.value[0])):I.value=[]},N=(e,s)=>{_.tb_name=e,"*"!==e||"ALL PRIVILEGES"!==s.access_list[0]?"*"!==e||"USAGE"!==s.access_list[0]?_.access=s.access_list:_.access=[]:_.access=["SELECT","INSERT","UPDATE","DELETE","CREATE","ALTER","INDEX","DROP","CREATE TEMPORARY TABLES","SHOW VIEW","CREATE ROUTINE","ALTER ROUTINE","EXECUTE","CREATE VIEW","EVENT","TRIGGER","LOCK TABLES","REFERENCES"]},U=c((()=>"*"===_.db_name?s:"*"!==_.db_name&&"*"!==_.tb_name?S.find((e=>1===e.id))?.children||[]:S)),{loading:x,setLoading:M}=o();return(async()=>{try{M(!0);const{message:e}=await t(h);l(e)&&(P.value=e.data.map((e=>({label:e.name,value:e.value,tb_list:e.tb_list}))),O(P.value[0].value,P.value[0]))}finally{M(!1)}})(),r({onConfirm:async()=>{await(L.value?.validate()),await i({...h,db_name:_.db_name,tb_name:"*"===_.db_name?"*":_.tb_name,access:_.access.join(","),with_grant:0}),g?.()}}),(e,s)=>{const t=k,l=w,i=R,o=C,r=a;return E(),u("div",f,[b(r,{ref_key:"formRef",ref:L,model:p(_)},{default:y((()=>[b(i,null,{default:y((()=>[b(l,{label:e.$t("Database.Mysql.index_18")},{default:y((()=>[b(t,{class:"w-200px",loading:p(x),value:p(_).db_name,"onUpdate:value":[s[0]||(s[0]=e=>p(_).db_name=e),O],options:p(P)},null,8,["loading","value","options"])])),_:1},8,["label"]),b(l,{"show-label":!1},{default:y((()=>[p(I).length?(E(),T(t,{key:0,class:"w-200px",value:p(_).tb_name,"onUpdate:value":[s[1]||(s[1]=e=>p(_).tb_name=e),N],options:p(I)},null,8,["value","options"])):A("",!0)])),_:1})])),_:1}),b(l,{label:e.$t("Database.Mysql.index_19"),path:"access"},{default:y((()=>[m("div",D,[b(o,{"default-expand-all":"","block-line":"",cascade:"",checkable:"",selectable:!1,"check-strategy":"child","checked-keys":p(_).access,"onUpdate:checkedKeys":s[2]||(s[2]=e=>p(_).access=e),data:p(U),placeholder:e.$t("Database.Mysql.index_20")},null,8,["checked-keys","data","placeholder"])])])),_:1},8,["label"])])),_:1},8,["model"])])}}}))}}})); diff --git a/BTPanel/static/vite/js/form-legacy-UQ8PqQdF.js b/BTPanel/static/vite/js/form-legacy-UQ8PqQdF.js new file mode 100644 index 00000000..9d1da044 --- /dev/null +++ b/BTPanel/static/vite/js/form-legacy-UQ8PqQdF.js @@ -0,0 +1 @@ +System.register(["./index-legacy-C1Nd2_l-.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./like-legacy-C_WEtahu.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,t){"use strict";var a,n,r,i,o,c,l,s,d,u,p,v,g,b,x,f,m,y,h,k,_,w,C,j,F,$,q,z,S,Y;return{setters:[e=>{a=e._},e=>{n=e.c,r=e.fV,i=e.p,o=e.fW,c=e.i},e=>{l=e.L},e=>{s=e.k,d=e.ao,u=e.$,p=e.a8,v=e.a9,g=e._,b=e.Z,x=e.F,f=e.P,m=e.L,y=e.aa,h=e.R,k=e.r,_=e.e,w=e.a0,C=e.X,j=e.S,F=e.j,$=e.ak},e=>{q=e.l,z=e.a1,S=e.a7,Y=e.B},null],execute:function(){var t=document.createElement("style");t.textContent=".rating-item[data-v-c528e412]{width:40px;height:40px;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:2px;font-size:1.25rem;line-height:1.75rem;font-weight:700}.danger-item[data-v-c528e412]{--un-bg-opacity:1;background-color:rgb(247 207 206 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(239 133 129 / var(--un-text-opacity))}.danger-item[data-v-c528e412]:not(:last-child){border-right:1px solid #f8d7d6}.danger-item.active[data-v-c528e412],.danger-item[data-v-c528e412]:hover{border-style:none;--un-bg-opacity:1;background-color:rgb(255 0 0 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));transform:scaleY(1.2)}.warning-item[data-v-c528e412]{--un-bg-opacity:1;background-color:rgb(247 230 206 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(247 190 86 / var(--un-text-opacity))}.warning-item[data-v-c528e412]:not(:last-child){border-right:1px solid #fceed3}.warning-item.active[data-v-c528e412],.warning-item[data-v-c528e412]:hover{border-style:none;--un-bg-opacity:1;background-color:rgb(255 170 44 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));transform:scaleY(1.2)}.success-item[data-v-c528e412]{--un-bg-opacity:1;background-color:rgb(199 247 206 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(105 190 61 / var(--un-text-opacity))}.success-item[data-v-c528e412]:not(:last-child){border-right:1px solid #e4f5da}.success-item.active[data-v-c528e412],.success-item[data-v-c528e412]:hover{border-style:none;--un-bg-opacity:1;background-color:rgb(32 165 58 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));transform:scaleY(1.2)}.rating-label[data-v-c528e412]{padding-top:10px;padding-bottom:10px;text-align:center;font-size:14px}.danger-text[data-v-c528e412]{--un-text-opacity:1;color:rgb(239 133 129 / var(--un-text-opacity));background:linear-gradient(to bottom,#ffdfdd,#fff)}.warning-text[data-v-c528e412]{--un-text-opacity:1;color:rgb(247 190 86 / var(--un-text-opacity));background:linear-gradient(to bottom,#fff7e6,#fff)}.success-text[data-v-c528e412]{--un-text-opacity:1;color:rgb(105 190 61 / var(--un-text-opacity));background:linear-gradient(to bottom,#d9f7d0,#fff)}.banner[data-v-0fe468ba]{position:relative;background:url(/static/vite/images/banner-CmJfb5XC.png) no-repeat top center;width:100%;height:92px;background-size:100%}.banner .banner-title[data-v-0fe468ba]{position:absolute;left:32px;top:16px;font-size:17px;color:#fff}\n/*$vite$:1*/",document.head.appendChild(t);const E={class:"flex border-1px border-solid border-#f3adaa"},P=["onClick"],U={class:"flex border-1px border-solid border-#f4cf8f"},B=["onClick"],I={class:"flex border-1px border-solid border-#b8e29f"},J=["onClick"],L=n(s({__name:"rating",props:{value:{},valueModifiers:{}},emits:["update:value"],setup(e){const t=d(e,"value"),a=e=>{t.value=e};return(e,n)=>{const r=q;return u(),p(r,{class:"justify-center! mb-16px",size:20},{default:v((()=>[g("div",null,[g("div",E,[(u(),b(x,null,f(6,(e=>g("div",{key:e,class:m(["rating-item","danger-item",{active:t.value===e}]),onClick:t=>a(e)},[g("span",null,y(e),1)],10,P))),64))]),n[0]||(n[0]=g("div",{class:"rating-label danger-text"},"No",-1))]),g("div",null,[g("div",U,[(u(),b(x,null,f(2,(e=>g("div",{key:e+6,class:m(["rating-item","warning-item",{active:t.value===e+6}]),onClick:t=>a(e+6)},[g("span",null,y(e+6),1)],10,B))),64))]),n[1]||(n[1]=g("div",{class:"rating-label warning-text"},"Yes",-1))]),g("div",null,[g("div",I,[(u(),b(x,null,f(2,(e=>g("div",{key:e+8,class:m(["rating-item","success-item",{active:t.value===e+8}]),onClick:t=>a(e+8)},[g("span",null,y(e+8),1)],10,J))),64))]),n[2]||(n[2]=g("div",{class:"rating-label success-text"},"Must",-1))])])),_:1})}}}),[["__scopeId","data-v-c528e412"]]),M={class:"banner"},N={class:"banner-title"},R={class:"ml-8px"},W={key:0,class:"px-24px"},X={class:"text-primary"},O={class:"flex justify-center my-20px"},T=s({__name:"form",emits:["close"],setup(e,{emit:t}){const{t:n}=h(),s=k(0),d=t,m=_({}),q=_({}),E=k(null),P=k([]),U=async()=>{await(E.value?.validate());const e={questions:JSON.stringify(P.value.reduce(((e,t)=>(e[t.id]=m[t.id],e)),{})),rate:s.value,product_type:1};await r(e),d("close"),B()},B=()=>{const e=i({hideClose:!0,content:()=>w("div",{class:"flex-center flex-col w-230px h-124px bg-#F1F9F3"},[w("img",{class:"w-56px",src:l},null),w("div",{class:"mt-16px"},[n("Component.Feedback.index_6")])])});setTimeout((()=>{e.hide()}),3e3)};return(async()=>{const{message:e}=await o();c(e)&&(P.value=e.res,e.res.forEach((e=>{m[e.id]=""})),e.res.forEach((e=>{1===e.required&&(q[e.id]={required:!0,message:e.question,trigger:["blur","change"]})})))})(),(e,t)=>{const n=a,r=z,i=S,o=Y;return u(),b("div",null,[g("div",M,[g("div",N,[g("span",R,y(e.$t("Component.Feedback.index_1")),1)])]),t[1]||(t[1]=g("div",{class:"text-center text-20px font-bold my-20px"},"Would you recommend aaPanel?",-1)),w(L,{value:j(s),"onUpdate:value":t[0]||(t[0]=e=>C(s)?s.value=e:null)},null,8,["value"]),j(s)?(u(),b("div",W,[w(i,{model:j(m),rules:j(q),ref_key:"formRef",ref:E},{default:v((()=>[(u(!0),b(x,null,f(j(P),(e=>(u(),p(r,{label:e.question,path:e.id,key:e.id},{default:v((()=>[w(n,{value:j(m)[e.id],"onUpdate:value":t=>j(m)[e.id]=t,placeholder:e.hint},null,8,["value","onUpdate:value","placeholder"])])),_:2},1032,["label","path"])))),128))])),_:1},8,["model","rules"]),g("div",X,y(e.$t("Component.Feedback.index_4")),1),g("div",O,[w(o,{type:"primary",class:"w-120px",onClick:U},{default:v((()=>[F(y(e.$t("Public.Btn.Submit")),1)])),_:1})])])):$("",!0)])}}});e("default",n(T,[["__scopeId","data-v-0fe468ba"]]))}}})); diff --git a/BTPanel/static/vite/js/form-legacy-owMQpFS9.js b/BTPanel/static/vite/js/form-legacy-owMQpFS9.js new file mode 100644 index 00000000..5718fd3b --- /dev/null +++ b/BTPanel/static/vite/js/form-legacy-owMQpFS9.js @@ -0,0 +1 @@ +System.register(["./index-legacy-DOsTWPyk.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./ssl-legacy-B0LFPLeC.js?v=1774508183068","./useLoading-legacy-BYj3sJTe.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./prismjs-legacy-BN0FEcG9.js?v=1774508183068"],(function(e,a){"use strict";var l,s,i,n,t,u,r,o,p,d,_,m,c,v,h,y,f,g,k,S,b,w,x,D,P,L,j,A,I;return{setters:[e=>{l=e._},e=>{s=e._,i=e.n},e=>{n=e._},e=>{t=e.k,u=e.R,r=e.r,o=e.c,p=e.e,d=e.$,_=e.a8,m=e.a9,c=e.a0,v=e.S,h=e._,y=e.ak,f=e.l,g=e.v,k=e.j,S=e.aa},e=>{b=e.e,w=e.R,x=e.S},e=>{D=e.u},e=>{P=e.a1,L=e.a8,j=e.a6,A=e.b,I=e.a9},null],execute:function(){const a={class:"w-300px"},$={class:"w-300px"},C={class:"w-300px"};e("default",t({__name:"form",props:{row:{},isEdit:{type:Boolean}},emits:["refresh"],setup(e,{expose:t,emit:F}){const N=e,U=F,{isEdit:T,row:B}=N,{t:E}=u(),q=r(null),K=r([]),R=o((()=>"CloudFlareDns"===V.name)),W=o((()=>"NameSiloDns"!==V.name&&"global"===V.permission)),G=o((()=>"PorkBunDns"===V.name||"GodaddyDns"===V.name)),V=p({name:"",api_user:"",api_key:"",alias:"",permission:"global",status:1}),Z={api_user:{required:!0,trigger:"blur",validator:(e,a)=>!("CloudFlareDns"!==V.name&&!a)||new Error(E("SSL.Domain.index_1"))},api_key:{required:!0,trigger:"blur",message:E("SSL.Domain.index_2")},alias:{required:!0,trigger:"blur",message:E("SSL.Domain.index_6")}},z=e=>{"CloudFlareDns"!==e&&"limit"===V.permission&&(V.permission="global"),q.value?.restoreValidation()},H=r(""),J=r(!0),M=()=>{J.value&&(V.api_user="")},O=()=>{!V.api_user&&J.value?V.api_user=H.value:V.api_user&&(J.value=!1)},Q=()=>({id:T&&B?B.id:null,name:T&&B&&V.name===B.name?null:V.name,api_user:T&&B&&V.api_user===B.api_user?null:W.value?V.api_user:"",api_key:T&&B&&V.api_key===B.api_key?null:V.api_key,permission:T&&B&&V.permission===B.permission?null:"CloudFlareDns"===V.name?V.permission:"",status:T&&B&&V.status===B.status?null:V.status,alias:T&&B&&V.alias===B.alias?null:V.alias}),{loading:X,setLoading:Y}=D();return(async()=>{try{Y(!0);const{message:e}=await x();i(e)&&e.length>0&&(V.name=e[0],K.value=e.map((e=>({label:e,value:e}))))}finally{(()=>{const{row:e,isEdit:a}=N;a&&e&&(V.name=e.name,V.api_user=e.api_user,H.value=e.api_user,V.api_key=e.api_key,V.permission=e.permission,V.status=e.status,V.alias=e.alias)})(),Y(!1)}})(),t({onConfirm:async()=>{await(q.value?.validate()),T&&B?await b(Q()):await w(Q()),U("refresh")}}),(e,i)=>{const t=L,u=P,r=j,o=A,p=n,b=s,w=l,x=I;return d(),_(x,{class:"p-20px",show:v(X)},{default:m((()=>[c(p,{ref_key:"formRef",ref:q,model:v(V),rules:Z},{default:m((()=>[c(u,{label:e.$t("Public.Table.Status"),path:"status"},{default:m((()=>[c(t,{value:v(V).status,"onUpdate:value":i[0]||(i[0]=e=>v(V).status=e),"checked-value":1,"unchecked-value":0},null,8,["value"])])),_:1},8,["label"]),c(u,{label:e.$t("Config.Alarm.index_43"),path:"name"},{default:m((()=>[c(r,{class:"w-300px",value:v(V).name,"onUpdate:value":[i[1]||(i[1]=e=>v(V).name=e),z],options:v(K),disabled:v(T)},null,8,["value","options","disabled"])])),_:1},8,["label"]),v(W)?(d(),_(u,{key:0,label:v(G)?"Secret Key":"API User",path:"api_user"},{default:m((()=>[h("div",a,[c(o,{value:v(V).api_user,"onUpdate:value":i[2]||(i[2]=e=>v(V).api_user=e),placeholder:v(G)?"Please enter Secret Key":e.$t("SSL.Domain.index_1"),onFocus:M,onBlur:O},null,8,["value","placeholder"])])])),_:1},8,["label"])):y("",!0),c(u,{label:"API Key",path:"api_key"},{default:m((()=>[h("div",$,[c(o,{value:v(V).api_key,"onUpdate:value":i[3]||(i[3]=e=>v(V).api_key=e),placeholder:e.$t("SSL.Domain.index_2")},null,8,["value","placeholder"])])])),_:1}),c(u,{label:e.$t("Config.Panel.index_36"),path:"alias"},{default:m((()=>[h("div",C,[c(o,{value:v(V).alias,"onUpdate:value":i[4]||(i[4]=e=>v(V).alias=e),placeholder:e.$t("SSL.Domain.index_6")},null,8,["value","placeholder"])])])),_:1},8,["label"]),f(c(u,{label:"API-Limit",path:"permission"},{default:m((()=>[c(t,{value:v(V).permission,"onUpdate:value":i[5]||(i[5]=e=>v(V).permission=e),"checked-value":"limit","unchecked-value":"global"},null,8,["value"])])),_:1},512),[[g,v(R)]])])),_:1},8,["model"]),v(R)?(d(),_(w,{key:0},{default:m((()=>[h("li",null,[c(b,{target:"_blank",href:"https://www.aapanel.com/docs/Function/Tutorial/DNS_API_Tutorial.html"},{default:m((()=>[k(S(e.$t("SSL.Domain.index_3")),1)])),_:1})])])),_:1})):y("",!0),"NameCheapDns"===v(V).name?(d(),_(w,{key:1},{default:m((()=>[i[6]||(i[6]=h("li",null," Namecheap API needs added in Whitelisted IPs (only IPv4): Profile > Tools menu > Namecheap API Access > Whitelisted IPs, please check: ",-1)),h("li",null,[c(b,{target:"_blank",href:"https://www.namecheap.com/support/api/intro/"},{default:m((()=>[k(S(e.$t("SSL.Domain.index_3")),1)])),_:1})])])),_:1,__:[6]})):y("",!0),"NameSiloDns"===v(V).name||"PorkBunDns"===v(V).name?(d(),_(w,{key:2},{default:m((()=>[h("li",null,[c(b,{target:"_blank",href:"https://www.aapanel.com/docs/Function/Tutorial/DNS_API_Tutorial.html"},{default:m((()=>[k(S(e.$t("SSL.Domain.index_3")),1)])),_:1})])])),_:1})):y("",!0)])),_:1},8,["show"])}}}))}}})); diff --git a/BTPanel/static/vite/js/form-sh6Tb2-J.js b/BTPanel/static/vite/js/form-sh6Tb2-J.js deleted file mode 100644 index 3216ba7a..00000000 --- a/BTPanel/static/vite/js/form-sh6Tb2-J.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as L}from"./index-CZps0rIN.js?v=1773287522785";import{c as F,fC as M,p as V,fD as D,i as E}from"./index-BTglIPU2.js?v=1773287522785";import{L as P}from"./like-CJUjzLhM.js?v=1773287522785";import{k as N,an as U,$ as r,a8 as B,a9 as b,_ as e,Z as _,F as g,P as k,L as h,aa as p,R as z,r as C,e as w,a0 as c,X as O,S as d,j as T,ak as J}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{k as W,a1 as X,a7 as Y,B as Z}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const A={class:"flex border-1px border-solid border-#f3adaa"},G=["onClick"],H={class:"flex border-1px border-solid border-#f4cf8f"},K=["onClick"],Q={class:"flex border-1px border-solid border-#b8e29f"},ee=["onClick"],te=N({__name:"rating",props:{value:{},valueModifiers:{}},emits:["update:value"],setup($){const u=U($,"value"),f=o=>{u.value=o};return(o,a)=>{const i=W;return r(),B(i,{class:"justify-center! mb-16px",size:20},{default:b(()=>[e("div",null,[e("div",A,[(r(),_(g,null,k(6,t=>e("div",{key:t,class:h(["rating-item","danger-item",{active:u.value===t}]),onClick:m=>f(t)},[e("span",null,p(t),1)],10,G)),64))]),a[0]||(a[0]=e("div",{class:"rating-label danger-text"},"No",-1))]),e("div",null,[e("div",H,[(r(),_(g,null,k(2,t=>e("div",{key:t+6,class:h(["rating-item","warning-item",{active:u.value===t+6}]),onClick:m=>f(t+6)},[e("span",null,p(t+6),1)],10,K)),64))]),a[1]||(a[1]=e("div",{class:"rating-label warning-text"},"Yes",-1))]),e("div",null,[e("div",Q,[(r(),_(g,null,k(2,t=>e("div",{key:t+8,class:h(["rating-item","success-item",{active:u.value===t+8}]),onClick:m=>f(t+8)},[e("span",null,p(t+8),1)],10,ee)),64))]),a[2]||(a[2]=e("div",{class:"rating-label success-text"},"Must",-1))])]),_:1})}}}),se=F(te,[["__scopeId","data-v-c528e412"]]),ne={class:"banner"},oe={class:"banner-title"},ae={class:"ml-8px"},le={key:0,class:"px-24px"},re={class:"text-primary"},ie={class:"flex justify-center my-20px"},ce=N({__name:"form",emits:["close"],setup($,{emit:u}){const{t:f}=z(),o=C(0),a=u,i=w({}),t=w({}),m=C(null),y=C([]),R=async()=>{var s;await((s=m.value)==null?void 0:s.validate());const n={questions:JSON.stringify(y.value.reduce((v,x)=>(v[x.id]=i[x.id],v),{})),rate:o.value,product_type:1};await M(n),a("close"),q()},q=()=>{const n=V({hideClose:!0,content:()=>c("div",{class:"flex-center flex-col w-230px h-124px bg-#F1F9F3"},[c("img",{class:"w-56px",src:P},null),c("div",{class:"mt-16px"},[f("Component.Feedback.index_6")])])});setTimeout(()=>{n.hide()},3e3)};return(async()=>{const{message:n}=await D();E(n)&&(y.value=n.res,n.res.forEach(s=>{i[s.id]=""}),n.res.forEach(s=>{s.required===1&&(t[s.id]={required:!0,message:s.question,trigger:["blur","change"]})}))})(),(n,s)=>{const v=L,x=X,I=Y,S=Z;return r(),_("div",null,[e("div",ne,[e("div",oe,[e("span",ae,p(n.$t("Component.Feedback.index_1")),1)])]),s[1]||(s[1]=e("div",{class:"text-center text-20px font-bold my-20px"},"Would you recommend aaPanel?",-1)),c(se,{value:d(o),"onUpdate:value":s[0]||(s[0]=l=>O(o)?o.value=l:null)},null,8,["value"]),d(o)?(r(),_("div",le,[c(I,{model:d(i),rules:d(t),ref_key:"formRef",ref:m},{default:b(()=>[(r(!0),_(g,null,k(d(y),l=>(r(),B(x,{label:l.question,path:l.id,key:l.id},{default:b(()=>[c(v,{value:d(i)[l.id],"onUpdate:value":j=>d(i)[l.id]=j,placeholder:l.hint},null,8,["value","onUpdate:value","placeholder"])]),_:2},1032,["label","path"]))),128))]),_:1},8,["model","rules"]),e("div",re,p(n.$t("Component.Feedback.index_4")),1),e("div",ie,[c(S,{type:"primary",class:"w-120px",onClick:R},{default:b(()=>[T(p(n.$t("Public.Btn.Submit")),1)]),_:1})])])):J("",!0)])}}}),xe=F(ce,[["__scopeId","data-v-0fe468ba"]]);export{xe as default}; diff --git a/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-B5WsD5K0.js b/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-B5WsD5K0.js deleted file mode 100644 index a82ae38a..00000000 --- a/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-B5WsD5K0.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as B}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as j}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{et as H,dE as L,i as N}from"./index-BTglIPU2.js?v=1773287522785";import{a1 as P,b as V,al as z,B as D}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as I,R as O,t as T,r as Z,e as q,$ as A,Z as F,a0 as n,S as s,a9 as i,_ as o,j as d,aa as r}from"./vue-core-DJjvd5ZC.js?v=1773287522785";const G={class:"w-300px"},J={class:"w-300px"},K={class:"w-300px"},M={class:"flex flex-col"},et=I({__name:"form",props:{site:{}},emits:["changeHotlink"],setup(v,{expose:g,emit:h}){const{t:c}=O(),S=v,k=h,_=T(S,"site"),x=Z(null),t=q({fix:"",domains:"",return_rule:"",status:!1,http_status:!1}),w={fix:{trigger:["blur","change"],validator:()=>t.fix.trim()===""?new Error(c("Site.RulesError.index_330")):!0},return_rule:{trigger:["blur","change"],validator:()=>t.return_rule.trim()===""?new Error(c("Site.RulesError.index_330")):!0}},$=()=>{p()},C=()=>{p()},y=()=>({id:_.value.id,name:_.value.name,fix:t.fix,domains:t.domains.trim().split("\n").join(","),return_rule:t.return_rule,status:t.status,http_status:t.http_status}),p=async()=>{var e;await((e=x.value)==null?void 0:e.validate()),await H(y()),k("changeHotlink",t.status),m()},m=async()=>{const{message:e}=await L({id:_.value.id,name:_.value.name});N(e)&&(t.fix=e.fix,t.domains=e.domains.split(",").join("\n"),t.return_rule=e.return_rule,t.status=e.status,t.http_status=e.http_status==="true"||e.http_status===!0)};return m(),g({init:m}),(e,a)=>{const f=V,u=P,b=z,R=D,U=j,E=B;return A(),F("div",null,[n(U,{ref_key:"formRef",ref:x,class:"px-8px",model:s(t),rules:w},{default:i(()=>[n(u,{label:e.$t("Site.Lable.index_6"),path:"fix"},{default:i(()=>[o("div",G,[n(f,{value:s(t).fix,"onUpdate:value":a[0]||(a[0]=l=>s(t).fix=l),disabled:s(t).status,placeholder:""},null,8,["value","disabled"])])]),_:1},8,["label"]),n(u,{label:e.$t("Site.Lable.index_7")},{default:i(()=>[o("div",J,[n(f,{value:s(t).domains,"onUpdate:value":a[1]||(a[1]=l=>s(t).domains=l),type:"textarea",autosize:{minRows:6,maxRows:6},placeholder:""},null,8,["value"])])]),_:1},8,["label"]),n(u,{label:e.$t("Site.Lable.index_13"),path:"return_rule"},{default:i(()=>[o("div",K,[n(f,{value:s(t).return_rule,"onUpdate:value":a[2]||(a[2]=l=>s(t).return_rule=l),disabled:s(t).status,placeholder:""},null,8,["value","disabled"])])]),_:1},8,["label"]),n(u,{label:" "},{default:i(()=>[o("div",M,[n(b,{checked:s(t).status,"onUpdate:checked":[a[3]||(a[3]=l=>s(t).status=l),$]},{default:i(()=>[d(r(e.$t("Site.Config.index_94")),1)]),_:1},8,["checked"]),n(b,{checked:s(t).http_status,"onUpdate:checked":[a[4]||(a[4]=l=>s(t).http_status=l),C],class:"mt-16px"},{default:i(()=>[d(r(e.$t("Site.Config.index_95")),1)]),_:1},8,["checked"])])]),_:1}),n(u,{label:" ","show-feedback":!1},{default:i(()=>[n(R,{type:"primary",onClick:p},{default:i(()=>[d(r(e.$t("Site.Cert.index_60")),1)]),_:1})]),_:1})]),_:1},8,["model"]),n(E,{class:"mt-20px"},{default:i(()=>[o("li",null,[d(r(e.$t("Site.Config.index_96")),1),a[5]||(a[5]=o("br",null,null,-1)),d(" "+r(e.$t("Site.Config.index_97")),1)]),o("li",null,r(e.$t("Site.Config.index_98")),1),o("li",null,r(e.$t("Site.Config.index_99")),1)]),_:1})])}}});export{et as _}; diff --git a/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-BCtdjtVc.js b/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-BCtdjtVc.js deleted file mode 100644 index 860dad79..00000000 --- a/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-BCtdjtVc.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as N}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import{k as I,R as S,a6 as V,r as F,e as M,$ as c,Z as v,a0 as s,a9 as p,_ as l,S as t,a8 as P,ak as w,aa as b,N as H}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{go as T,gp as Z}from"./index-BTglIPU2.js?v=1773287522785";import{e as j,d as z}from"./check-CNel7fTH.js?v=1773287522785";import{u as A}from"./index-B5d4M70B.js?v=1773287522785";import{v as G}from"./index-DhnhmU-6.js?v=1773287522785";import{a1 as J,b as K,_ as L}from"./naive-ui--dJnpVcV.js?v=1773287522785";const O={class:"p-20px"},Q={class:"w-260px"},W={class:"w-260px"},X={class:"w-260px"},Y={class:"w-260px"},ee={class:"w-260px"},oe={key:0},ie=I({__name:"form",props:{data:{}},setup(g,{expose:D}){const{t:i}=S(),$=g,{row:n,isEdit:m}=$.data,f=A(),{type:_}=V(f),h=F(null),o=M({db_host:"",db_port:null,db_user:"root",db_password:"",db_ps:""}),x={db_host:{trigger:["blur","change"],validator:(e,a)=>a===""?new Error(i("Database.tools.index_53")):!j(a)&&!z(a)?new Error(i("Database.tools.index_54")):!0},db_port:G(),db_user:{required:!0,message:i("Database.tools.index_55"),trigger:["blur","change"]},db_password:{required:!0,message:i("Database.tools.index_56"),trigger:["blur","change"]}},k=e=>{o.db_ps=e},y=()=>{const{db_port:e}=o;if(e===null)throw new Error(i("Database.tools.index_57"));return{...H(o),db_port:e,type:_.value}},R=async({hide:e})=>{var d;await((d=h.value)==null?void 0:d.validate());const a=y();m&&n&&await T(_.value,{id:n.id,...a}),m||await Z(_.value,a),f.getRemote(),e()},q=new Map([["mysql",{port:3306,username:"root"}],["sqlserver",{port:1433,username:"sa"}],["redis",{port:6379,username:"root"}],["mongodb",{port:27017,username:"root"}],["pgsql",{port:5432,username:"postgres"}]]);return(()=>{if(m&&n)o.db_host="".concat(n.db_host),o.db_port=n.db_port,o.db_user="".concat(n.db_user),o.db_password="".concat(n.db_password),o.db_ps="".concat(n.ps);else{const e=q.get(_.value);e&&(o.db_port=e.port,o.db_user=e.username)}})(),D({onConfirm:R}),(e,a)=>{const d=K,u=J,U=L,C=B,E=N;return c(),v("div",O,[s(C,{ref_key:"formRef",ref:h,model:t(o),rules:x},{default:p(()=>[s(u,{label:e.$t("Database.tools.index_42"),path:"db_host"},{default:p(()=>[l("div",Q,[s(d,{value:t(o).db_host,"onUpdate:value":[a[0]||(a[0]=r=>t(o).db_host=r),k],placeholder:e.$t("Database.tools.index_43"),"input-props":{name:"host"}},null,8,["value","placeholder"])])]),_:1},8,["label"]),s(u,{label:e.$t("Docker.Container.create.index_7"),path:"db_port"},{default:p(()=>[l("div",W,[s(U,{value:t(o).db_port,"onUpdate:value":a[1]||(a[1]=r=>t(o).db_port=r),min:1,max:65535,"show-button":!1,"input-props":{name:"port"},placeholder:e.$t("Database.tools.index_44")},null,8,["value","placeholder"])])]),_:1},8,["label"]),t(_)!=="redis"?(c(),P(u,{key:0,label:e.$t("Database.index_13"),path:"db_user"},{default:p(()=>[l("div",X,[s(d,{value:t(o).db_user,"onUpdate:value":a[2]||(a[2]=r=>t(o).db_user=r),placeholder:e.$t("Database.tools.index_45"),"input-props":{name:"username"}},null,8,["value","placeholder"])])]),_:1},8,["label"])):w("",!0),s(u,{label:e.$t("Database.index_14"),path:"db_password"},{default:p(()=>[l("div",Y,[s(d,{value:t(o).db_password,"onUpdate:value":a[3]||(a[3]=r=>t(o).db_password=r),placeholder:e.$t("Database.tools.index_46"),"input-props":{name:"password"}},null,8,["value","placeholder"])])]),_:1},8,["label"]),s(u,{label:"Notes",path:"db_ps","show-feedback":!1},{default:p(()=>[l("div",ee,[s(d,{value:t(o).db_ps,"onUpdate:value":a[4]||(a[4]=r=>t(o).db_ps=r),placeholder:e.$t("Database.tools.index_48"),"input-props":{name:"ps"}},null,8,["value","placeholder"])])]),_:1})]),_:1},8,["model"]),s(E,{class:"mt-24px"},{default:p(()=>[t(_)==="mysql"?(c(),v("li",oe,b(e.$t("Database.tools.index_49")),1)):w("",!0),l("li",null,b(e.$t("Database.tools.index_50")),1),l("li",null,b(e.$t("Database.tools.index_51")),1),l("li",null,b(e.$t("Database.tools.index_52")),1)]),_:1})])}}});export{ie as _}; diff --git a/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-KGtHG8GW.js b/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-KGtHG8GW.js new file mode 100644 index 00000000..d1ae15e5 --- /dev/null +++ b/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-KGtHG8GW.js @@ -0,0 +1 @@ +import{_ as E}from"./index-Dd5dC2sI.js?v=1774508183068";import{_ as j}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{eH as H,dP as P,i as L}from"./index-LQ-JIYiv.js?v=1774508183068";import{a1 as N,b as V,am as z,B as D}from"./naive-ui-BjvXgNtF.js?v=1774508183068";import{k as I,R as O,t as T,r as Z,e as q,$ as A,Z as F,a0 as n,S as s,a9 as i,_ as l,j as d,aa as r}from"./vue-core-BlDeWrD6.js?v=1774508183068";const G={class:"w-300px"},J={class:"w-300px"},K={class:"w-300px"},M={class:"flex flex-col"},et=I({__name:"form",props:{site:{}},emits:["changeHotlink"],setup(v,{expose:g,emit:h}){const{t:c}=O(),S=v,k=h,_=T(S,"site"),x=Z(null),t=q({fix:"",domains:"",return_rule:"",status:!1,http_status:!1}),w={fix:{trigger:["blur","change"],validator:()=>t.fix.trim()===""?new Error(c("Site.RulesError.index_330")):!0},return_rule:{trigger:["blur","change"],validator:()=>t.return_rule.trim()===""?new Error(c("Site.RulesError.index_330")):!0}},$=()=>{p()},C=()=>{p()},y=()=>({id:_.value.id,name:_.value.name,fix:t.fix,domains:t.domains.trim().split("\n").join(","),return_rule:t.return_rule,status:t.status,http_status:t.http_status}),p=async()=>{var e;await((e=x.value)==null?void 0:e.validate()),await H(y()),k("changeHotlink",t.status),m()},m=async()=>{const{message:e}=await P({id:_.value.id,name:_.value.name});L(e)&&(t.fix=e.fix,t.domains=e.domains.split(",").join("\n"),t.return_rule=e.return_rule,t.status=e.status,t.http_status=e.http_status==="true"||e.http_status===!0)};return m(),g({init:m}),(e,a)=>{const f=V,u=N,b=z,R=D,U=j,B=E;return A(),F("div",null,[n(U,{ref_key:"formRef",ref:x,class:"px-8px",model:s(t),rules:w},{default:i(()=>[n(u,{label:e.$t("Site.Label.index_6"),path:"fix"},{default:i(()=>[l("div",G,[n(f,{value:s(t).fix,"onUpdate:value":a[0]||(a[0]=o=>s(t).fix=o),disabled:s(t).status,placeholder:""},null,8,["value","disabled"])])]),_:1},8,["label"]),n(u,{label:e.$t("Site.Label.index_7")},{default:i(()=>[l("div",J,[n(f,{value:s(t).domains,"onUpdate:value":a[1]||(a[1]=o=>s(t).domains=o),type:"textarea",autosize:{minRows:6,maxRows:6},placeholder:""},null,8,["value"])])]),_:1},8,["label"]),n(u,{label:e.$t("Site.Label.index_13"),path:"return_rule"},{default:i(()=>[l("div",K,[n(f,{value:s(t).return_rule,"onUpdate:value":a[2]||(a[2]=o=>s(t).return_rule=o),disabled:s(t).status,placeholder:""},null,8,["value","disabled"])])]),_:1},8,["label"]),n(u,{label:" "},{default:i(()=>[l("div",M,[n(b,{checked:s(t).status,"onUpdate:checked":[a[3]||(a[3]=o=>s(t).status=o),$]},{default:i(()=>[d(r(e.$t("Site.Config.index_94")),1)]),_:1},8,["checked"]),n(b,{checked:s(t).http_status,"onUpdate:checked":[a[4]||(a[4]=o=>s(t).http_status=o),C],class:"mt-16px"},{default:i(()=>[d(r(e.$t("Site.Config.index_95")),1)]),_:1},8,["checked"])])]),_:1}),n(u,{label:" ","show-feedback":!1},{default:i(()=>[n(R,{type:"primary",onClick:p},{default:i(()=>[d(r(e.$t("Site.Cert.index_60")),1)]),_:1})]),_:1})]),_:1},8,["model"]),n(B,{class:"mt-20px"},{default:i(()=>[l("li",null,[d(r(e.$t("Site.Config.index_96")),1),a[5]||(a[5]=l("br",null,null,-1)),d(" "+r(e.$t("Site.Config.index_97")),1)]),l("li",null,r(e.$t("Site.Config.index_98")),1),l("li",null,r(e.$t("Site.Config.index_99")),1)]),_:1})])}}});export{et as _}; diff --git a/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-legacy-B88SnGhn.js b/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-legacy-B88SnGhn.js deleted file mode 100644 index 936afc8a..00000000 --- a/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-legacy-B88SnGhn.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785"],(function(e,t){"use strict";var a,l,i,s,u,n,r,d,_,o,c,x,p,f,m,v,h,g,b,S,y,k;return{setters:[e=>{a=e._},e=>{l=e._},e=>{i=e.et,s=e.dE,u=e.i},e=>{n=e.a1,r=e.b,d=e.al,_=e.B},e=>{o=e.k,c=e.R,x=e.t,p=e.r,f=e.e,m=e.$,v=e.Z,h=e.a0,g=e.S,b=e.a9,S=e._,y=e.j,k=e.aa}],execute:function(){const t={class:"w-300px"},w={class:"w-300px"},$={class:"w-300px"},j={class:"flex flex-col"};e("_",o({__name:"form",props:{site:{}},emits:["changeHotlink"],setup(e,{expose:o,emit:C}){const{t:R}=c(),E=C,U=x(e,"site"),L=p(null),H=f({fix:"",domains:"",return_rule:"",status:!1,http_status:!1}),Z={fix:{trigger:["blur","change"],validator:()=>""!==H.fix.trim()||new Error(R("Site.RulesError.index_330"))},return_rule:{trigger:["blur","change"],validator:()=>""!==H.return_rule.trim()||new Error(R("Site.RulesError.index_330"))}},z=()=>{q()},B=()=>{q()},q=async()=>{await(L.value?.validate()),await i({id:U.value.id,name:U.value.name,fix:H.fix,domains:H.domains.trim().split("\n").join(","),return_rule:H.return_rule,status:H.status,http_status:H.http_status}),E("changeHotlink",H.status),A()},A=async()=>{const{message:e}=await s({id:U.value.id,name:U.value.name});u(e)&&(H.fix=e.fix,H.domains=e.domains.split(",").join("\n"),H.return_rule=e.return_rule,H.status=e.status,H.http_status="true"===e.http_status||!0===e.http_status)};return A(),o({init:A}),(e,i)=>{const s=r,u=n,o=d,c=_,x=l,p=a;return m(),v("div",null,[h(x,{ref_key:"formRef",ref:L,class:"px-8px",model:g(H),rules:Z},{default:b((()=>[h(u,{label:e.$t("Site.Lable.index_6"),path:"fix"},{default:b((()=>[S("div",t,[h(s,{value:g(H).fix,"onUpdate:value":i[0]||(i[0]=e=>g(H).fix=e),disabled:g(H).status,placeholder:""},null,8,["value","disabled"])])])),_:1},8,["label"]),h(u,{label:e.$t("Site.Lable.index_7")},{default:b((()=>[S("div",w,[h(s,{value:g(H).domains,"onUpdate:value":i[1]||(i[1]=e=>g(H).domains=e),type:"textarea",autosize:{minRows:6,maxRows:6},placeholder:""},null,8,["value"])])])),_:1},8,["label"]),h(u,{label:e.$t("Site.Lable.index_13"),path:"return_rule"},{default:b((()=>[S("div",$,[h(s,{value:g(H).return_rule,"onUpdate:value":i[2]||(i[2]=e=>g(H).return_rule=e),disabled:g(H).status,placeholder:""},null,8,["value","disabled"])])])),_:1},8,["label"]),h(u,{label:" "},{default:b((()=>[S("div",j,[h(o,{checked:g(H).status,"onUpdate:checked":[i[3]||(i[3]=e=>g(H).status=e),z]},{default:b((()=>[y(k(e.$t("Site.Config.index_94")),1)])),_:1},8,["checked"]),h(o,{checked:g(H).http_status,"onUpdate:checked":[i[4]||(i[4]=e=>g(H).http_status=e),B],class:"mt-16px"},{default:b((()=>[y(k(e.$t("Site.Config.index_95")),1)])),_:1},8,["checked"])])])),_:1}),h(u,{label:" ","show-feedback":!1},{default:b((()=>[h(c,{type:"primary",onClick:q},{default:b((()=>[y(k(e.$t("Site.Cert.index_60")),1)])),_:1})])),_:1})])),_:1},8,["model"]),h(p,{class:"mt-20px"},{default:b((()=>[S("li",null,[y(k(e.$t("Site.Config.index_96")),1),i[5]||(i[5]=S("br",null,null,-1)),y(" "+k(e.$t("Site.Config.index_97")),1)]),S("li",null,k(e.$t("Site.Config.index_98")),1),S("li",null,k(e.$t("Site.Config.index_99")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-legacy-BEznNyoc.js b/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-legacy-BEznNyoc.js deleted file mode 100644 index 30ca2060..00000000 --- a/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-legacy-BEznNyoc.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./check-legacy-DG4HeWug.js?v=1773287522785","./index-legacy-y1mYB81o.js?v=1773287522785","./index-legacy-DRbbI6UR.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,a){"use strict";var t,s,l,o,r,d,n,p,u,_,b,i,c,v,x,h,g,m,w,f,y,D,$,j,k,q;return{setters:[e=>{t=e._},e=>{s=e._},e=>{l=e.k,o=e.R,r=e.a6,d=e.r,n=e.e,p=e.$,u=e.Z,_=e.a0,b=e.a9,i=e._,c=e.S,v=e.a8,x=e.ak,h=e.aa,g=e.N},e=>{m=e.go,w=e.gp},e=>{f=e.e,y=e.d},e=>{D=e.u},e=>{$=e.v},e=>{j=e.a1,k=e.b,q=e._}],execute:function(){const a={class:"p-20px"},U={class:"w-260px"},E={class:"w-260px"},R={class:"w-260px"},C={class:"w-260px"},N={class:"w-260px"},S={key:0};e("_",l({__name:"form",props:{data:{}},setup(e,{expose:l}){const{t:Z}=o(),K=e,{row:M,isEdit:z}=K.data,A=D(),{type:B}=r(A),F=d(null),G=n({db_host:"",db_port:null,db_user:"root",db_password:"",db_ps:""}),H={db_host:{trigger:["blur","change"],validator:(e,a)=>""===a?new Error(Z("Database.tools.index_53")):!(!f(a)&&!y(a))||new Error(Z("Database.tools.index_54"))},db_port:$(),db_user:{required:!0,message:Z("Database.tools.index_55"),trigger:["blur","change"]},db_password:{required:!0,message:Z("Database.tools.index_56"),trigger:["blur","change"]}},I=e=>{G.db_ps=e},J=new Map([["mysql",{port:3306,username:"root"}],["sqlserver",{port:1433,username:"sa"}],["redis",{port:6379,username:"root"}],["mongodb",{port:27017,username:"root"}],["pgsql",{port:5432,username:"postgres"}]]);return(()=>{if(z&&M)G.db_host=`${M.db_host}`,G.db_port=M.db_port,G.db_user=`${M.db_user}`,G.db_password=`${M.db_password}`,G.db_ps=`${M.ps}`;else{const e=J.get(B.value);e&&(G.db_port=e.port,G.db_user=e.username)}})(),l({onConfirm:async({hide:e})=>{await(F.value?.validate());const a=(()=>{const{db_port:e}=G;if(null===e)throw new Error(Z("Database.tools.index_57"));return{...g(G),db_port:e,type:B.value}})();z&&M&&await m(B.value,{id:M.id,...a}),z||await w(B.value,a),A.getRemote(),e()}}),(e,l)=>{const o=k,r=j,d=q,n=s,g=t;return p(),u("div",a,[_(n,{ref_key:"formRef",ref:F,model:c(G),rules:H},{default:b((()=>[_(r,{label:e.$t("Database.tools.index_42"),path:"db_host"},{default:b((()=>[i("div",U,[_(o,{value:c(G).db_host,"onUpdate:value":[l[0]||(l[0]=e=>c(G).db_host=e),I],placeholder:e.$t("Database.tools.index_43"),"input-props":{name:"host"}},null,8,["value","placeholder"])])])),_:1},8,["label"]),_(r,{label:e.$t("Docker.Container.create.index_7"),path:"db_port"},{default:b((()=>[i("div",E,[_(d,{value:c(G).db_port,"onUpdate:value":l[1]||(l[1]=e=>c(G).db_port=e),min:1,max:65535,"show-button":!1,"input-props":{name:"port"},placeholder:e.$t("Database.tools.index_44")},null,8,["value","placeholder"])])])),_:1},8,["label"]),"redis"!==c(B)?(p(),v(r,{key:0,label:e.$t("Database.index_13"),path:"db_user"},{default:b((()=>[i("div",R,[_(o,{value:c(G).db_user,"onUpdate:value":l[2]||(l[2]=e=>c(G).db_user=e),placeholder:e.$t("Database.tools.index_45"),"input-props":{name:"username"}},null,8,["value","placeholder"])])])),_:1},8,["label"])):x("",!0),_(r,{label:e.$t("Database.index_14"),path:"db_password"},{default:b((()=>[i("div",C,[_(o,{value:c(G).db_password,"onUpdate:value":l[3]||(l[3]=e=>c(G).db_password=e),placeholder:e.$t("Database.tools.index_46"),"input-props":{name:"password"}},null,8,["value","placeholder"])])])),_:1},8,["label"]),_(r,{label:"Notes",path:"db_ps","show-feedback":!1},{default:b((()=>[i("div",N,[_(o,{value:c(G).db_ps,"onUpdate:value":l[4]||(l[4]=e=>c(G).db_ps=e),placeholder:e.$t("Database.tools.index_48"),"input-props":{name:"ps"}},null,8,["value","placeholder"])])])),_:1})])),_:1},8,["model"]),_(g,{class:"mt-24px"},{default:b((()=>["mysql"===c(B)?(p(),u("li",S,h(e.$t("Database.tools.index_49")),1)):x("",!0),i("li",null,h(e.$t("Database.tools.index_50")),1),i("li",null,h(e.$t("Database.tools.index_51")),1),i("li",null,h(e.$t("Database.tools.index_52")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-legacy-CyHQRvuz.js b/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-legacy-CyHQRvuz.js new file mode 100644 index 00000000..af50c9bd --- /dev/null +++ b/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-legacy-CyHQRvuz.js @@ -0,0 +1 @@ +System.register(["./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068"],(function(e,t){"use strict";var a,l,i,s,u,n,r,d,_,o,c,x,p,f,m,v,h,g,b,S,y,k;return{setters:[e=>{a=e._},e=>{l=e._},e=>{i=e.eH,s=e.dP,u=e.i},e=>{n=e.a1,r=e.b,d=e.am,_=e.B},e=>{o=e.k,c=e.R,x=e.t,p=e.r,f=e.e,m=e.$,v=e.Z,h=e.a0,g=e.S,b=e.a9,S=e._,y=e.j,k=e.aa}],execute:function(){const t={class:"w-300px"},w={class:"w-300px"},$={class:"w-300px"},j={class:"flex flex-col"};e("_",o({__name:"form",props:{site:{}},emits:["changeHotlink"],setup(e,{expose:o,emit:C}){const{t:R}=c(),U=C,E=x(e,"site"),H=p(null),L=f({fix:"",domains:"",return_rule:"",status:!1,http_status:!1}),Z={fix:{trigger:["blur","change"],validator:()=>""!==L.fix.trim()||new Error(R("Site.RulesError.index_330"))},return_rule:{trigger:["blur","change"],validator:()=>""!==L.return_rule.trim()||new Error(R("Site.RulesError.index_330"))}},z=()=>{P()},B=()=>{P()},P=async()=>{await(H.value?.validate()),await i({id:E.value.id,name:E.value.name,fix:L.fix,domains:L.domains.trim().split("\n").join(","),return_rule:L.return_rule,status:L.status,http_status:L.http_status}),U("changeHotlink",L.status),q()},q=async()=>{const{message:e}=await s({id:E.value.id,name:E.value.name});u(e)&&(L.fix=e.fix,L.domains=e.domains.split(",").join("\n"),L.return_rule=e.return_rule,L.status=e.status,L.http_status="true"===e.http_status||!0===e.http_status)};return q(),o({init:q}),(e,i)=>{const s=r,u=n,o=d,c=_,x=l,p=a;return m(),v("div",null,[h(x,{ref_key:"formRef",ref:H,class:"px-8px",model:g(L),rules:Z},{default:b((()=>[h(u,{label:e.$t("Site.Label.index_6"),path:"fix"},{default:b((()=>[S("div",t,[h(s,{value:g(L).fix,"onUpdate:value":i[0]||(i[0]=e=>g(L).fix=e),disabled:g(L).status,placeholder:""},null,8,["value","disabled"])])])),_:1},8,["label"]),h(u,{label:e.$t("Site.Label.index_7")},{default:b((()=>[S("div",w,[h(s,{value:g(L).domains,"onUpdate:value":i[1]||(i[1]=e=>g(L).domains=e),type:"textarea",autosize:{minRows:6,maxRows:6},placeholder:""},null,8,["value"])])])),_:1},8,["label"]),h(u,{label:e.$t("Site.Label.index_13"),path:"return_rule"},{default:b((()=>[S("div",$,[h(s,{value:g(L).return_rule,"onUpdate:value":i[2]||(i[2]=e=>g(L).return_rule=e),disabled:g(L).status,placeholder:""},null,8,["value","disabled"])])])),_:1},8,["label"]),h(u,{label:" "},{default:b((()=>[S("div",j,[h(o,{checked:g(L).status,"onUpdate:checked":[i[3]||(i[3]=e=>g(L).status=e),z]},{default:b((()=>[y(k(e.$t("Site.Config.index_94")),1)])),_:1},8,["checked"]),h(o,{checked:g(L).http_status,"onUpdate:checked":[i[4]||(i[4]=e=>g(L).http_status=e),B],class:"mt-16px"},{default:b((()=>[y(k(e.$t("Site.Config.index_95")),1)])),_:1},8,["checked"])])])),_:1}),h(u,{label:" ","show-feedback":!1},{default:b((()=>[h(c,{type:"primary",onClick:P},{default:b((()=>[y(k(e.$t("Site.Cert.index_60")),1)])),_:1})])),_:1})])),_:1},8,["model"]),h(p,{class:"mt-20px"},{default:b((()=>[S("li",null,[y(k(e.$t("Site.Config.index_96")),1),i[5]||(i[5]=S("br",null,null,-1)),y(" "+k(e.$t("Site.Config.index_97")),1)]),S("li",null,k(e.$t("Site.Config.index_98")),1),S("li",null,k(e.$t("Site.Config.index_99")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-legacy-D0ofdvgO.js b/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-legacy-D0ofdvgO.js new file mode 100644 index 00000000..658f44cb --- /dev/null +++ b/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-legacy-D0ofdvgO.js @@ -0,0 +1 @@ +System.register(["./index-legacy-DOsTWPyk.js?v=1774508183068","./index.vue_vue_type_script_setup_true_lang-legacy-wbylbeyb.js?v=1774508183068","./vue-core-legacy-BYkyrx0G.js?v=1774508183068","./index-legacy-3bAYElO-.js?v=1774508183068","./check-legacy-DG4HeWug.js?v=1774508183068","./index-legacy-1aIX1FxZ.js?v=1774508183068","./index-legacy-CDhhAVKI.js?v=1774508183068","./naive-ui-legacy-1YwVSydu.js?v=1774508183068"],(function(e,a){"use strict";var t,s,l,o,r,d,n,p,u,_,b,i,c,v,x,h,g,m,w,f,y,D,$,j,k,q;return{setters:[e=>{t=e._},e=>{s=e._},e=>{l=e.k,o=e.R,r=e.a6,d=e.r,n=e.e,p=e.$,u=e.Z,_=e.a0,b=e.a9,i=e._,c=e.S,v=e.a8,x=e.ak,h=e.aa,g=e.N},e=>{m=e.gH,w=e.gI},e=>{f=e.e,y=e.d},e=>{D=e.u},e=>{$=e.v},e=>{j=e.a1,k=e.b,q=e._}],execute:function(){const a={class:"p-20px"},U={class:"w-260px"},E={class:"w-260px"},R={class:"w-260px"},C={class:"w-260px"},N={class:"w-260px"},S={key:0};e("_",l({__name:"form",props:{data:{}},setup(e,{expose:l}){const{t:Z}=o(),H=e,{row:I,isEdit:L}=H.data,M=D(),{type:z}=r(M),A=d(null),B=n({db_host:"",db_port:null,db_user:"root",db_password:"",db_ps:""}),F={db_host:{trigger:["blur","change"],validator:(e,a)=>""===a?new Error(Z("Database.tools.index_53")):!(!f(a)&&!y(a))||new Error(Z("Database.tools.index_54"))},db_port:$(),db_user:{required:!0,message:Z("Database.tools.index_55"),trigger:["blur","change"]},db_password:{required:!0,message:Z("Database.tools.index_56"),trigger:["blur","change"]}},G=e=>{B.db_ps=e},J=new Map([["mysql",{port:3306,username:"root"}],["sqlserver",{port:1433,username:"sa"}],["redis",{port:6379,username:"root"}],["mongodb",{port:27017,username:"root"}],["pgsql",{port:5432,username:"postgres"}]]);return(()=>{if(L&&I)B.db_host=`${I.db_host}`,B.db_port=I.db_port,B.db_user=`${I.db_user}`,B.db_password=`${I.db_password}`,B.db_ps=`${I.ps}`;else{const e=J.get(z.value);e&&(B.db_port=e.port,B.db_user=e.username)}})(),l({onConfirm:async({hide:e})=>{await(A.value?.validate());const a=(()=>{const{db_port:e}=B;if(null===e)throw new Error(Z("Database.tools.index_57"));return{...g(B),db_port:e,type:z.value}})();L&&I&&await m(z.value,{id:I.id,...a}),L||await w(z.value,a),M.getRemote(),e()}}),(e,l)=>{const o=k,r=j,d=q,n=s,g=t;return p(),u("div",a,[_(n,{ref_key:"formRef",ref:A,model:c(B),rules:F},{default:b((()=>[_(r,{label:e.$t("Database.tools.index_42"),path:"db_host"},{default:b((()=>[i("div",U,[_(o,{value:c(B).db_host,"onUpdate:value":[l[0]||(l[0]=e=>c(B).db_host=e),G],placeholder:e.$t("Database.tools.index_43"),"input-props":{name:"host"}},null,8,["value","placeholder"])])])),_:1},8,["label"]),_(r,{label:e.$t("Docker.Container.create.index_7"),path:"db_port"},{default:b((()=>[i("div",E,[_(d,{value:c(B).db_port,"onUpdate:value":l[1]||(l[1]=e=>c(B).db_port=e),min:1,max:65535,"show-button":!1,"input-props":{name:"port"},placeholder:e.$t("Database.tools.index_44")},null,8,["value","placeholder"])])])),_:1},8,["label"]),"redis"!==c(z)?(p(),v(r,{key:0,label:e.$t("Database.index_13"),path:"db_user"},{default:b((()=>[i("div",R,[_(o,{value:c(B).db_user,"onUpdate:value":l[2]||(l[2]=e=>c(B).db_user=e),placeholder:e.$t("Database.tools.index_45"),"input-props":{name:"username"}},null,8,["value","placeholder"])])])),_:1},8,["label"])):x("",!0),_(r,{label:e.$t("Database.index_14"),path:"db_password"},{default:b((()=>[i("div",C,[_(o,{value:c(B).db_password,"onUpdate:value":l[3]||(l[3]=e=>c(B).db_password=e),placeholder:e.$t("Database.tools.index_46"),"input-props":{name:"password"}},null,8,["value","placeholder"])])])),_:1},8,["label"]),_(r,{label:"Notes",path:"db_ps","show-feedback":!1},{default:b((()=>[i("div",N,[_(o,{value:c(B).db_ps,"onUpdate:value":l[4]||(l[4]=e=>c(B).db_ps=e),placeholder:e.$t("Database.tools.index_48"),"input-props":{name:"ps"}},null,8,["value","placeholder"])])])),_:1})])),_:1},8,["model"]),_(g,{class:"mt-24px"},{default:b((()=>["mysql"===c(z)?(p(),u("li",S,h(e.$t("Database.tools.index_49")),1)):x("",!0),i("li",null,h(e.$t("Database.tools.index_50")),1),i("li",null,h(e.$t("Database.tools.index_51")),1),i("li",null,h(e.$t("Database.tools.index_52")),1)])),_:1})])}}}))}}})); diff --git a/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-zhFTBa83.js b/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-zhFTBa83.js new file mode 100644 index 00000000..aa2b7f92 --- /dev/null +++ b/BTPanel/static/vite/js/form.vue_vue_type_script_setup_true_lang-zhFTBa83.js @@ -0,0 +1 @@ +import{_ as N}from"./index-Dd5dC2sI.js?v=1774508183068";import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-CwcqhoN-.js?v=1774508183068";import{k as I,R as S,a6 as V,r as F,e as H,$ as c,Z as v,a0 as s,a9 as p,_ as l,S as t,a8 as M,ak as w,aa as b,N as P}from"./vue-core-BlDeWrD6.js?v=1774508183068";import{gH as T,gI as Z}from"./index-LQ-JIYiv.js?v=1774508183068";import{e as j,d as z}from"./check-CNel7fTH.js?v=1774508183068";import{u as A}from"./index-CcJGx9bJ.js?v=1774508183068";import{v as G}from"./index-DY5XhNsk.js?v=1774508183068";import{a1 as J,b as K,_ as L}from"./naive-ui-BjvXgNtF.js?v=1774508183068";const O={class:"p-20px"},Q={class:"w-260px"},W={class:"w-260px"},X={class:"w-260px"},Y={class:"w-260px"},ee={class:"w-260px"},oe={key:0},ie=I({__name:"form",props:{data:{}},setup(g,{expose:D}){const{t:i}=S(),$=g,{row:n,isEdit:m}=$.data,f=A(),{type:_}=V(f),h=F(null),o=H({db_host:"",db_port:null,db_user:"root",db_password:"",db_ps:""}),x={db_host:{trigger:["blur","change"],validator:(e,a)=>a===""?new Error(i("Database.tools.index_53")):!j(a)&&!z(a)?new Error(i("Database.tools.index_54")):!0},db_port:G(),db_user:{required:!0,message:i("Database.tools.index_55"),trigger:["blur","change"]},db_password:{required:!0,message:i("Database.tools.index_56"),trigger:["blur","change"]}},k=e=>{o.db_ps=e},y=()=>{const{db_port:e}=o;if(e===null)throw new Error(i("Database.tools.index_57"));return{...P(o),db_port:e,type:_.value}},R=async({hide:e})=>{var d;await((d=h.value)==null?void 0:d.validate());const a=y();m&&n&&await T(_.value,{id:n.id,...a}),m||await Z(_.value,a),f.getRemote(),e()},q=new Map([["mysql",{port:3306,username:"root"}],["sqlserver",{port:1433,username:"sa"}],["redis",{port:6379,username:"root"}],["mongodb",{port:27017,username:"root"}],["pgsql",{port:5432,username:"postgres"}]]);return(()=>{if(m&&n)o.db_host="".concat(n.db_host),o.db_port=n.db_port,o.db_user="".concat(n.db_user),o.db_password="".concat(n.db_password),o.db_ps="".concat(n.ps);else{const e=q.get(_.value);e&&(o.db_port=e.port,o.db_user=e.username)}})(),D({onConfirm:R}),(e,a)=>{const d=K,u=J,U=L,C=B,E=N;return c(),v("div",O,[s(C,{ref_key:"formRef",ref:h,model:t(o),rules:x},{default:p(()=>[s(u,{label:e.$t("Database.tools.index_42"),path:"db_host"},{default:p(()=>[l("div",Q,[s(d,{value:t(o).db_host,"onUpdate:value":[a[0]||(a[0]=r=>t(o).db_host=r),k],placeholder:e.$t("Database.tools.index_43"),"input-props":{name:"host"}},null,8,["value","placeholder"])])]),_:1},8,["label"]),s(u,{label:e.$t("Docker.Container.create.index_7"),path:"db_port"},{default:p(()=>[l("div",W,[s(U,{value:t(o).db_port,"onUpdate:value":a[1]||(a[1]=r=>t(o).db_port=r),min:1,max:65535,"show-button":!1,"input-props":{name:"port"},placeholder:e.$t("Database.tools.index_44")},null,8,["value","placeholder"])])]),_:1},8,["label"]),t(_)!=="redis"?(c(),M(u,{key:0,label:e.$t("Database.index_13"),path:"db_user"},{default:p(()=>[l("div",X,[s(d,{value:t(o).db_user,"onUpdate:value":a[2]||(a[2]=r=>t(o).db_user=r),placeholder:e.$t("Database.tools.index_45"),"input-props":{name:"username"}},null,8,["value","placeholder"])])]),_:1},8,["label"])):w("",!0),s(u,{label:e.$t("Database.index_14"),path:"db_password"},{default:p(()=>[l("div",Y,[s(d,{value:t(o).db_password,"onUpdate:value":a[3]||(a[3]=r=>t(o).db_password=r),placeholder:e.$t("Database.tools.index_46"),"input-props":{name:"password"}},null,8,["value","placeholder"])])]),_:1},8,["label"]),s(u,{label:"Notes",path:"db_ps","show-feedback":!1},{default:p(()=>[l("div",ee,[s(d,{value:t(o).db_ps,"onUpdate:value":a[4]||(a[4]=r=>t(o).db_ps=r),placeholder:e.$t("Database.tools.index_48"),"input-props":{name:"ps"}},null,8,["value","placeholder"])])]),_:1})]),_:1},8,["model"]),s(E,{class:"mt-24px"},{default:p(()=>[t(_)==="mysql"?(c(),v("li",oe,b(e.$t("Database.tools.index_49")),1)):w("",!0),l("li",null,b(e.$t("Database.tools.index_50")),1),l("li",null,b(e.$t("Database.tools.index_51")),1),l("li",null,b(e.$t("Database.tools.index_52")),1)]),_:1})])}}});export{ie as _}; diff --git a/BTPanel/static/vite/js/ftp-SrpKmV1S.js b/BTPanel/static/vite/js/ftp-SrpKmV1S.js deleted file mode 100644 index f6ecbb53..00000000 --- a/BTPanel/static/vite/js/ftp-SrpKmV1S.js +++ /dev/null @@ -1 +0,0 @@ -import{as as t,a3 as p}from"./index-BTglIPU2.js?v=1773287522785";const{t:e}=p.global,n=s=>t.post("/data?action=getData",{...s,table:"ftps"}),i=s=>t.post("/ftp?action=AddUser",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),g=s=>t.post("/ftp?action=setPort",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),c=s=>t.post("/ftp?action=SetStatus",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),r=s=>t.post("/data?action=setPs",{...s,table:"ftps"},{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),l=s=>t.post("/ftp?action=SetUserPassword",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),u=s=>t.post("/ftp?action=set_user_home",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),d=(s,o=!0)=>t.post("/ftp?action=DeleteUser",s,{requestOptions:{loading:o?e("Ftp.Api.Index_1"):"",successMessage:o}}),_=()=>t.post("/logs/ftp/set_ftp_log",{exec_name:"getlog"},{requestOptions:{loading:e("Ftp.Api.Index_1"),errorMessage:{close:!0}}}),F=()=>t.post("/logs/ftp/set_ftp_log",{exec_name:"start"},{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),f=s=>t.post("/logs/ftp/get_login_log",s),x=s=>t.post("/logs/ftp/get_action_log",s),A=()=>t.post("/logs/ftp/ftp_users"),q=()=>t.post("/logs/ftp/get_analysis_config"),I=s=>t.post("/logs/ftp/set_analysis_config",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),O=s=>t.post("/logs/ftp/log_analysis",s,{requestOptions:{loading:e("Ftp.Api.Index_1")}}),M=s=>t.post("/logs/ftp/set_cron_task",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),L=()=>t.post("/logs/ftp/get_white_list"),P=s=>t.post("/logs/ftp/set_white_list",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),S=s=>t.post("/ftp?action=SetStatus",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),U=s=>t.post("/ftp?action=DeleteUser",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}});export{O as F,r as a,_ as b,F as c,d,x as e,f,n as g,g as h,i,I as j,q as k,A as l,M as m,P as n,L as o,U as p,S as q,u as r,c as s,l as t}; diff --git a/BTPanel/static/vite/js/ftp-legacy-Dk70RiS_.js b/BTPanel/static/vite/js/ftp-legacy-Dk70RiS_.js deleted file mode 100644 index 57e5c7f5..00000000 --- a/BTPanel/static/vite/js/ftp-legacy-Dk70RiS_.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy-DQdImDha.js?v=1773287522785"],(function(s,t){"use strict";var e,o;return{setters:[s=>{e=s.as,o=s.a3}],execute:function(){const{t:t}=o.global;s("g",(s=>e.post("/data?action=getData",{...s,table:"ftps"}))),s("i",(s=>e.post("/ftp?action=AddUser",s,{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}}))),s("h",(s=>e.post("/ftp?action=setPort",s,{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}}))),s("s",(s=>e.post("/ftp?action=SetStatus",s,{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}}))),s("a",(s=>e.post("/data?action=setPs",{...s,table:"ftps"},{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}}))),s("t",(s=>e.post("/ftp?action=SetUserPassword",s,{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}}))),s("r",(s=>e.post("/ftp?action=set_user_home",s,{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}}))),s("d",((s,o=!0)=>e.post("/ftp?action=DeleteUser",s,{requestOptions:{loading:o?t("Ftp.Api.Index_1"):"",successMessage:o}}))),s("b",(()=>e.post("/logs/ftp/set_ftp_log",{exec_name:"getlog"},{requestOptions:{loading:t("Ftp.Api.Index_1"),errorMessage:{close:!0}}}))),s("c",(()=>e.post("/logs/ftp/set_ftp_log",{exec_name:"start"},{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}}))),s("f",(s=>e.post("/logs/ftp/get_login_log",s))),s("e",(s=>e.post("/logs/ftp/get_action_log",s))),s("l",(()=>e.post("/logs/ftp/ftp_users"))),s("k",(()=>e.post("/logs/ftp/get_analysis_config"))),s("j",(s=>e.post("/logs/ftp/set_analysis_config",s,{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}}))),s("F",(s=>e.post("/logs/ftp/log_analysis",s,{requestOptions:{loading:t("Ftp.Api.Index_1")}}))),s("m",(s=>e.post("/logs/ftp/set_cron_task",s,{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}}))),s("o",(()=>e.post("/logs/ftp/get_white_list"))),s("n",(s=>e.post("/logs/ftp/set_white_list",s,{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}}))),s("q",(s=>e.post("/ftp?action=SetStatus",s,{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}}))),s("p",(s=>e.post("/ftp?action=DeleteUser",s,{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}})))}}})); diff --git a/BTPanel/static/vite/js/ftp-legacy-KK94L2U8.js b/BTPanel/static/vite/js/ftp-legacy-KK94L2U8.js new file mode 100644 index 00000000..0de68047 --- /dev/null +++ b/BTPanel/static/vite/js/ftp-legacy-KK94L2U8.js @@ -0,0 +1 @@ +System.register(["./index-legacy-3bAYElO-.js?v=1774508183068"],(function(s,t){"use strict";var e,o;return{setters:[s=>{e=s.av,o=s.a6}],execute:function(){const{t:t}=o.global;s("g",(s=>e.post("/data?action=getData",{...s,table:"ftps"}))),s("i",(s=>e.post("/ftp?action=AddUser",s,{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}}))),s("h",(s=>e.post("/ftp?action=setPort",s,{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}}))),s("s",(s=>e.post("/ftp?action=SetStatus",s,{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}}))),s("a",(s=>e.post("/data?action=setPs",{...s,table:"ftps"},{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}}))),s("t",(s=>e.post("/ftp?action=SetUserPassword",s,{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}}))),s("r",(s=>e.post("/ftp?action=set_user_home",s,{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}}))),s("d",((s,o=!0)=>e.post("/ftp?action=DeleteUser",s,{requestOptions:{loading:o?t("Ftp.Api.Index_1"):"",successMessage:o}}))),s("b",(()=>e.post("/logs/ftp/set_ftp_log",{exec_name:"getlog"},{requestOptions:{loading:t("Ftp.Api.Index_1"),errorMessage:{close:!0}}}))),s("c",(()=>e.post("/logs/ftp/set_ftp_log",{exec_name:"start"},{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}}))),s("f",(s=>e.post("/logs/ftp/get_login_log",s))),s("e",(s=>e.post("/logs/ftp/get_action_log",s))),s("l",(()=>e.post("/logs/ftp/ftp_users"))),s("k",(()=>e.post("/logs/ftp/get_analysis_config"))),s("j",(s=>e.post("/logs/ftp/set_analysis_config",s,{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}}))),s("F",(s=>e.post("/logs/ftp/log_analysis",s,{requestOptions:{loading:t("Ftp.Api.Index_1")}}))),s("m",(s=>e.post("/logs/ftp/set_cron_task",s,{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}}))),s("o",(()=>e.post("/logs/ftp/get_white_list"))),s("n",(s=>e.post("/logs/ftp/set_white_list",s,{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}}))),s("q",(s=>e.post("/ftp?action=SetStatus",s,{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}}))),s("p",(s=>e.post("/ftp?action=DeleteUser",s,{requestOptions:{loading:t("Ftp.Api.Index_1"),successMessage:!0}})))}}})); diff --git a/BTPanel/static/vite/js/ftp-z9GlQbLt.js b/BTPanel/static/vite/js/ftp-z9GlQbLt.js new file mode 100644 index 00000000..1045c789 --- /dev/null +++ b/BTPanel/static/vite/js/ftp-z9GlQbLt.js @@ -0,0 +1 @@ +import{av as t,a6 as p}from"./index-LQ-JIYiv.js?v=1774508183068";const{t:e}=p.global,n=s=>t.post("/data?action=getData",{...s,table:"ftps"}),i=s=>t.post("/ftp?action=AddUser",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),g=s=>t.post("/ftp?action=setPort",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),c=s=>t.post("/ftp?action=SetStatus",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),r=s=>t.post("/data?action=setPs",{...s,table:"ftps"},{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),l=s=>t.post("/ftp?action=SetUserPassword",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),u=s=>t.post("/ftp?action=set_user_home",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),d=(s,o=!0)=>t.post("/ftp?action=DeleteUser",s,{requestOptions:{loading:o?e("Ftp.Api.Index_1"):"",successMessage:o}}),_=()=>t.post("/logs/ftp/set_ftp_log",{exec_name:"getlog"},{requestOptions:{loading:e("Ftp.Api.Index_1"),errorMessage:{close:!0}}}),F=()=>t.post("/logs/ftp/set_ftp_log",{exec_name:"start"},{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),f=s=>t.post("/logs/ftp/get_login_log",s),x=s=>t.post("/logs/ftp/get_action_log",s),A=()=>t.post("/logs/ftp/ftp_users"),q=()=>t.post("/logs/ftp/get_analysis_config"),I=s=>t.post("/logs/ftp/set_analysis_config",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),O=s=>t.post("/logs/ftp/log_analysis",s,{requestOptions:{loading:e("Ftp.Api.Index_1")}}),M=s=>t.post("/logs/ftp/set_cron_task",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),L=()=>t.post("/logs/ftp/get_white_list"),P=s=>t.post("/logs/ftp/set_white_list",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),S=s=>t.post("/ftp?action=SetStatus",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),U=s=>t.post("/ftp?action=DeleteUser",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}});export{O as F,r as a,_ as b,F as c,d,x as e,f,n as g,g as h,i,I as j,q as k,A as l,M as m,P as n,L as o,U as p,S as q,u as r,c as s,l as t}; diff --git a/BTPanel/static/vite/js/hooks-DJQHtogL.js b/BTPanel/static/vite/js/hooks-DJQHtogL.js deleted file mode 100644 index 09d15591..00000000 --- a/BTPanel/static/vite/js/hooks-DJQHtogL.js +++ /dev/null @@ -1 +0,0 @@ -import{a3 as b}from"./index-BTglIPU2.js?v=1773287522785";import{u as c}from"./index-B5d4M70B.js?v=1773287522785";const{t:a}=b.global;function l(o){var n,r;const i=c();let t="--";switch(o.db_type){case 0:t=a("Database.tools.index_67");break;case 1:t="".concat(a("Database.tools.index_68")," (").concat(((n=o.conn_config)==null?void 0:n.db_host)||"",":").concat(((r=o.conn_config)==null?void 0:r.db_port)||"",")");break;case 2:for(let s=0;s{s=e.a6},e=>{o=e.u}],execute:function(){e("g",(function(e){const s=o();let n="--";switch(e.db_type){case 0:n=t("Database.tools.index_67");break;case 1:n=`${t("Database.tools.index_68")} (${e.conn_config?.db_host||""}:${e.conn_config?.db_port||""})`;break;case 2:for(let o=0;o{s=e.a3},e=>{n=e.u}],execute:function(){e("g",(function(e){const s=n();let o="--";switch(e.db_type){case 0:o=t("Database.tools.index_67");break;case 1:o=`${t("Database.tools.index_68")} (${e.conn_config?.db_host||""}:${e.conn_config?.db_port||""})`;break;case 2:for(let n=0;ni.map(i=>d[i]); -import{g as lh,c as tu,a as ch}from"./prismjs-BZPoR7_J.js?v=1773287522785";import{P as ul}from"./index-BTglIPU2.js?v=1773287522785";function fh(o,t){for(var n=0;nu[d]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var $u={exports:{}};function it(o){"@babel/helpers - typeof";return it=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},it(o)}var gr=Uint8Array,zr=Uint16Array,yl=Int32Array,uu=new gr([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),lu=new gr([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),ll=new gr([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Ic=function(o,t){for(var n=new zr(31),u=0;u<31;++u)n[u]=t+=1<>1|(ht&21845)<<1;Js=(Js&52428)>>2|(Js&13107)<<2,Js=(Js&61680)>>4|(Js&3855)<<4,fl[ht]=((Js&65280)>>8|(Js&255)<<8)>>1}var Jn=(function(o,t,n){for(var u=o.length,d=0,c=new zr(t);d>f]=y}else for(v=new zr(u),d=0;d>15-o[d]);return v}),Zs=new gr(288);for(var ht=0;ht<144;++ht)Zs[ht]=8;for(var ht=144;ht<256;++ht)Zs[ht]=9;for(var ht=256;ht<280;++ht)Zs[ht]=7;for(var ht=280;ht<288;++ht)Zs[ht]=8;var wa=new gr(32);for(var ht=0;ht<32;++ht)wa[ht]=5;var dh=Jn(Zs,9,0),gh=Jn(Zs,9,1),ph=Jn(wa,5,0),Bh=Jn(wa,5,1),Al=function(o){for(var t=o[0],n=1;nt&&(t=o[n]);return t},mn=function(o,t,n){var u=t/8|0;return(o[u]|o[u+1]<<8)>>(t&7)&n},el=function(o,t){var n=t/8|0;return(o[n]|o[n+1]<<8|o[n+2]<<16)>>(t&7)},Cl=function(o){return(o+7)/8|0},Nc=function(o,t,n){return(n==null||n>o.length)&&(n=o.length),new gr(o.subarray(t,n))},wh=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],Cn=function(o,t,n){var u=new Error(t||wh[o]);if(u.code=o,Error.captureStackTrace&&Error.captureStackTrace(u,Cn),!n)throw u;return u},vh=function(o,t,n,u){var d=o.length,c=0;if(!d||t.f&&!t.l)return n||new gr(0);var p=!n,v=p||t.i!=2,f=t.i;p&&(n=new gr(d*3));var y=function(MA){var kA=n.length;if(MA>kA){var GA=new gr(Math.max(kA*2,MA));GA.set(n),n=GA}},l=t.f||0,m=t.p||0,C=t.b||0,g=t.l,L=t.d,E=t.m,x=t.n,b=d*8;do{if(!g){l=mn(o,m,1);var U=mn(o,m+1,3);if(m+=3,U)if(U==1)g=gh,L=Bh,E=9,x=5;else if(U==2){var Z=mn(o,m,31)+257,AA=mn(o,m+10,15)+4,J=Z+mn(o,m+5,31)+1;m+=14;for(var nA=new gr(J),aA=new gr(19),P=0;P>4;if(I<16)nA[P++]=I;else{var uA=0,wA=0;for(I==16?(wA=3+mn(o,m,3),m+=2,uA=nA[P-1]):I==17?(wA=3+mn(o,m,7),m+=3):I==18&&(wA=11+mn(o,m,127),m+=7);wA--;)nA[P++]=uA}}var fA=nA.subarray(0,Z),QA=nA.subarray(Z);E=Al(fA),x=Al(QA),g=Jn(fA,E,1),L=Jn(QA,x,1)}else Cn(1);else{var I=Cl(m)+4,_=o[I-4]|o[I-3]<<8,R=I+_;if(R>d){f&&Cn(0);break}v&&y(C+_),n.set(o.subarray(I,R),C),t.b=C+=_,t.p=m=R*8,t.f=l;continue}if(m>b){f&&Cn(0);break}}v&&y(C+131072);for(var yA=(1<>4;if(m+=uA&15,m>b){f&&Cn(0);break}if(uA||Cn(2),V<256)n[C++]=V;else if(V==256){N=m,g=null;break}else{var q=V-254;if(V>264){var P=V-257,eA=uu[P];q=mn(o,m,(1<>4;lA||Cn(3),m+=lA&15;var QA=hh[gA];if(gA>3){var eA=lu[gA];QA+=el(o,m)&(1<b){f&&Cn(0);break}v&&y(C+131072);var bA=C+q;if(C>8},ca=function(o,t,n){n<<=t&7;var u=t/8|0;o[u]|=n,o[u+1]|=n>>8,o[u+2]|=n>>16},tl=function(o,t){for(var n=[],u=0;uC&&(C=c[u].s);var g=new zr(C+1),L=hl(n[l-1],g,0);if(L>t){var u=0,E=0,x=L-t,b=1<t)E+=b-(1<>=x;E>0;){var I=c[u].s;g[I]=0&&E;--u){var _=c[u].s;g[_]==t&&(--g[_],++E)}L=t}return{t:new gr(g),l:L}},hl=function(o,t,n){return o.s==-1?Math.max(hl(o.l,t,n+1),hl(o.r,t,n+1)):t[o.s]=n},ac=function(o){for(var t=o.length;t&&!o[--t];);for(var n=new zr(++t),u=0,d=o[0],c=1,p=function(f){n[u++]=f},v=1;v<=t;++v)if(o[v]==d&&v!=t)++c;else{if(!d&&c>2){for(;c>138;c-=138)p(32754);c>2&&(p(c>10?c-11<<5|28690:c-3<<5|12305),c=0)}else if(c>3){for(p(d),--c;c>6;c-=6)p(8304);c>2&&(p(c-3<<5|8208),c=0)}for(;c--;)p(d);c=1,d=o[v]}return{c:n.subarray(0,u),n:t}},fa=function(o,t){for(var n=0,u=0;u>8,o[d+2]=o[d]^255,o[d+3]=o[d+1]^255;for(var c=0;c4&&!aA[ll[M-1]];--M);var Y=y+5<<3,X=fa(d,Zs)+fa(c,wa)+p,tA=fa(d,C)+fa(c,E)+p+14+3*M+fa(AA,aA)+2*AA[16]+3*AA[17]+7*AA[18];if(f>=0&&Y<=X&&Y<=tA)return jc(t,l,o.subarray(f,f+y));var uA,wA,fA,QA;if(Bs(t,l,1+(tA15&&(Bs(t,l,V[J]>>5&127),l+=V[J]>>12)}}else uA=dh,wA=Zs,fA=ph,QA=wa;for(var J=0;J255){var q=eA>>18&31;ca(t,l,uA[q+257]),l+=wA[q+257],q>7&&(Bs(t,l,eA>>23&31),l+=uu[q]);var lA=eA&31;ca(t,l,fA[lA]),l+=QA[lA],lA>3&&(ca(t,l,eA>>5&8191),l+=lu[lA])}else ca(t,l,uA[eA]),l+=wA[eA]}return ca(t,l,uA[256]),l+wA[256]},mh=new yl([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Oc=new gr(0),yh=function(o,t,n,u,d,c){var p=c.z||o.length,v=new gr(u+p+5*(1+Math.ceil(p/7e3))+d),f=v.subarray(u,v.length-d),y=c.l,l=(c.r||0)&7;if(t){l&&(f[0]=c.r>>3);for(var m=mh[t-1],C=m>>13,g=m&8191,L=(1<7e3||aA>24576)&&(uA>423||!y)){l=uc(o,f,0,_,R,Z,J,aA,M,nA-M,l),aA=AA=J=0,M=nA;for(var wA=0;wA<286;++wA)R[wA]=0;for(var wA=0;wA<30;++wA)Z[wA]=0}var fA=2,QA=0,yA=g,DA=X-tA&32767;if(uA>2&&Y==I(nA-DA))for(var N=Math.min(C,uA)-1,V=Math.min(32767,nA),q=Math.min(258,uA);DA<=V&&--yA&&X!=tA;){if(o[nA+fA]==o[nA+fA-DA]){for(var eA=0;eAfA){if(fA=eA,QA=DA,eA>N)break;for(var lA=Math.min(DA,eA-2),gA=0,wA=0;wAgA&&(gA=PA,tA=bA)}}}X=tA,tA=E[X],DA+=X-tA&32767}if(QA){_[aA++]=268435456|cl[fA]<<18|oc[QA];var MA=cl[fA]&31,kA=oc[QA]&31;J+=uu[MA]+lu[kA],++R[257+MA],++Z[kA],P=nA+fA,++AA}else _[aA++]=o[nA],++R[o[nA]]}}for(nA=Math.max(nA,P);nA=p&&(f[l/8|0]=y,GA=p),l=jc(f,l+1,o.subarray(nA,GA))}c.i=p}return Nc(v,0,u+Cl(l)+d)},Pc=function(){var o=1,t=0;return{p:function(n){for(var u=o,d=t,c=n.length|0,p=0;p!=c;){for(var v=Math.min(p+2655,c);p>16),d=(d&65535)+15*(d>>16)}o=u,t=d},d:function(){return o%=65521,t%=65521,(o&255)<<24|(o&65280)<<8|(t&255)<<8|t>>8}}},Ch=function(o,t,n,u,d){if(!d&&(d={l:1},t.dictionary)){var c=t.dictionary.subarray(-32768),p=new gr(c.length+o.length);p.set(c),p.set(o,c.length),o=p,d.w=c.length}return yh(o,t.level==null?6:t.level,t.mem==null?d.l?Math.ceil(Math.max(8,Math.min(13,Math.log(o.length)))*1.5):20:12+t.mem,n,u,d)},Tc=function(o,t,n){for(;n;++t)o[t]=n,n>>>=8},Fh=function(o,t){var n=t.level,u=n==0?0:n<6?1:n==9?3:2;if(o[0]=120,o[1]=u<<6|(t.dictionary&&32),o[1]|=31-(o[0]<<8|o[1])%31,t.dictionary){var d=Pc();d.p(t.dictionary),Tc(o,2,d.d())}},bh=function(o,t){return((o[0]&15)!=8||o[0]>>4>7||(o[0]<<8|o[1])%31)&&Cn(6,"invalid zlib data"),(o[1]>>5&1)==1&&Cn(6,"invalid zlib data: "+(o[1]&32?"need":"unexpected")+" dictionary"),(o[1]>>3&4)+2};function dl(o,t){t||(t={});var n=Pc();n.p(o);var u=Ch(o,t,t.dictionary?6:2,4);return Fh(u,t),Tc(u,u.length-4,n.d()),u}function Qh(o,t){return vh(o.subarray(bh(o),-4),{i:2},t,t)}var Uh=typeof TextDecoder<"u"&&new TextDecoder,Eh=0;try{Uh.decode(Oc,{stream:!0}),Eh=1}catch(o){}var Le=(function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this})();function rl(){Le.console&&typeof Le.console.log=="function"&&Le.console.log.apply(Le.console,arguments)}var at={log:rl,warn:function(o){Le.console&&(typeof Le.console.warn=="function"?Le.console.warn.apply(Le.console,arguments):rl.call(null,arguments))},error:function(o){Le.console&&(typeof Le.console.error=="function"?Le.console.error.apply(Le.console,arguments):rl(o))}};function nl(o,t,n){var u=new XMLHttpRequest;u.open("GET",o),u.responseType="blob",u.onload=function(){Qi(u.response,t,n)},u.onerror=function(){at.error("could not download file")},u.send()}function lc(o){var t=new XMLHttpRequest;t.open("HEAD",o,!1);try{t.send()}catch(n){}return t.status>=200&&t.status<=299}function ru(o){try{o.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),o.dispatchEvent(t)}}var ha,gl,Qi=Le.saveAs||((typeof window>"u"?"undefined":it(window))!=="object"||window!==Le?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(o,t,n){var u=Le.URL||Le.webkitURL,d=document.createElement("a");t=t||o.name||"download",d.download=t,d.rel="noopener",typeof o=="string"?(d.href=o,d.origin!==location.origin?lc(d.href)?nl(o,t,n):ru(d,d.target="_blank"):ru(d)):(d.href=u.createObjectURL(o),setTimeout((function(){u.revokeObjectURL(d.href)}),4e4),setTimeout((function(){ru(d)}),0))}:"msSaveOrOpenBlob"in navigator?function(o,t,n){if(t=t||o.name||"download",typeof o=="string")if(lc(o))nl(o,t,n);else{var u=document.createElement("a");u.href=o,u.target="_blank",setTimeout((function(){ru(u)}))}else navigator.msSaveOrOpenBlob((function(d,c){return c===void 0?c={autoBom:!1}:it(c)!=="object"&&(at.warn("Deprecated: Expected third argument to be a object"),c={autoBom:!c}),c.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(d.type)?new Blob(["\uFEFF",d],{type:d.type}):d})(o,n),t)}:function(o,t,n,u){if((u=u||open("","_blank"))&&(u.document.title=u.document.body.innerText="downloading..."),typeof o=="string")return nl(o,t,n);var d=o.type==="application/octet-stream",c=/constructor/i.test(Le.HTMLElement)||Le.safari,p=/CriOS\/[\d]+/.test(navigator.userAgent);if((p||d&&c)&&(typeof FileReader>"u"?"undefined":it(FileReader))==="object"){var v=new FileReader;v.onloadend=function(){var l=v.result;l=p?l:l.replace(/^data:[^;]*;/,"data:attachment/file;"),u?u.location.href=l:location=l,u=null},v.readAsDataURL(o)}else{var f=Le.URL||Le.webkitURL,y=f.createObjectURL(o);u?u.location=y:location.href=y,u=null,setTimeout((function(){f.revokeObjectURL(y)}),4e4)}});function Dc(o){var t;o=o||"",this.ok=!1,o.charAt(0)=="#"&&(o=o.substr(1,6)),o={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[o=(o=o.replace(/ /g,"")).toLowerCase()]||o;for(var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(v){return[parseInt(v[1]),parseInt(v[2]),parseInt(v[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(v){return[parseInt(v[1],16),parseInt(v[2],16),parseInt(v[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(v){return[parseInt(v[1]+v[1],16),parseInt(v[2]+v[2],16),parseInt(v[3]+v[3],16)]}}],u=0;u255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var v=this.r.toString(16),f=this.g.toString(16),y=this.b.toString(16);return v.length==1&&(v="0"+v),f.length==1&&(f="0"+f),y.length==1&&(y="0"+y),"#"+v+f+y}}function sl(o,t){var n=o[0],u=o[1],d=o[2],c=o[3];n=cr(n,u,d,c,t[0],7,-680876936),c=cr(c,n,u,d,t[1],12,-389564586),d=cr(d,c,n,u,t[2],17,606105819),u=cr(u,d,c,n,t[3],22,-1044525330),n=cr(n,u,d,c,t[4],7,-176418897),c=cr(c,n,u,d,t[5],12,1200080426),d=cr(d,c,n,u,t[6],17,-1473231341),u=cr(u,d,c,n,t[7],22,-45705983),n=cr(n,u,d,c,t[8],7,1770035416),c=cr(c,n,u,d,t[9],12,-1958414417),d=cr(d,c,n,u,t[10],17,-42063),u=cr(u,d,c,n,t[11],22,-1990404162),n=cr(n,u,d,c,t[12],7,1804603682),c=cr(c,n,u,d,t[13],12,-40341101),d=cr(d,c,n,u,t[14],17,-1502002290),n=fr(n,u=cr(u,d,c,n,t[15],22,1236535329),d,c,t[1],5,-165796510),c=fr(c,n,u,d,t[6],9,-1069501632),d=fr(d,c,n,u,t[11],14,643717713),u=fr(u,d,c,n,t[0],20,-373897302),n=fr(n,u,d,c,t[5],5,-701558691),c=fr(c,n,u,d,t[10],9,38016083),d=fr(d,c,n,u,t[15],14,-660478335),u=fr(u,d,c,n,t[4],20,-405537848),n=fr(n,u,d,c,t[9],5,568446438),c=fr(c,n,u,d,t[14],9,-1019803690),d=fr(d,c,n,u,t[3],14,-187363961),u=fr(u,d,c,n,t[8],20,1163531501),n=fr(n,u,d,c,t[13],5,-1444681467),c=fr(c,n,u,d,t[2],9,-51403784),d=fr(d,c,n,u,t[7],14,1735328473),n=hr(n,u=fr(u,d,c,n,t[12],20,-1926607734),d,c,t[5],4,-378558),c=hr(c,n,u,d,t[8],11,-2022574463),d=hr(d,c,n,u,t[11],16,1839030562),u=hr(u,d,c,n,t[14],23,-35309556),n=hr(n,u,d,c,t[1],4,-1530992060),c=hr(c,n,u,d,t[4],11,1272893353),d=hr(d,c,n,u,t[7],16,-155497632),u=hr(u,d,c,n,t[10],23,-1094730640),n=hr(n,u,d,c,t[13],4,681279174),c=hr(c,n,u,d,t[0],11,-358537222),d=hr(d,c,n,u,t[3],16,-722521979),u=hr(u,d,c,n,t[6],23,76029189),n=hr(n,u,d,c,t[9],4,-640364487),c=hr(c,n,u,d,t[12],11,-421815835),d=hr(d,c,n,u,t[15],16,530742520),n=dr(n,u=hr(u,d,c,n,t[2],23,-995338651),d,c,t[0],6,-198630844),c=dr(c,n,u,d,t[7],10,1126891415),d=dr(d,c,n,u,t[14],15,-1416354905),u=dr(u,d,c,n,t[5],21,-57434055),n=dr(n,u,d,c,t[12],6,1700485571),c=dr(c,n,u,d,t[3],10,-1894986606),d=dr(d,c,n,u,t[10],15,-1051523),u=dr(u,d,c,n,t[1],21,-2054922799),n=dr(n,u,d,c,t[8],6,1873313359),c=dr(c,n,u,d,t[15],10,-30611744),d=dr(d,c,n,u,t[6],15,-1560198380),u=dr(u,d,c,n,t[13],21,1309151649),n=dr(n,u,d,c,t[4],6,-145523070),c=dr(c,n,u,d,t[11],10,-1120210379),d=dr(d,c,n,u,t[2],15,718787259),u=dr(u,d,c,n,t[9],21,-343485551),o[0]=Ys(n,o[0]),o[1]=Ys(u,o[1]),o[2]=Ys(d,o[2]),o[3]=Ys(c,o[3])}function cu(o,t,n,u,d,c){return t=Ys(Ys(t,o),Ys(u,c)),Ys(t<>>32-d,n)}function cr(o,t,n,u,d,c,p){return cu(t&n|~t&u,o,t,d,c,p)}function fr(o,t,n,u,d,c,p){return cu(t&u|n&~u,o,t,d,c,p)}function hr(o,t,n,u,d,c,p){return cu(t^n^u,o,t,d,c,p)}function dr(o,t,n,u,d,c,p){return cu(n^(t|~u),o,t,d,c,p)}function _c(o){var t,n=o.length,u=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=o.length;t+=64)sl(u,Lh(o.substring(t-64,t)));o=o.substring(t-64);var d=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t>2]|=o.charCodeAt(t)<<(t%4<<3);if(d[t>>2]|=128<<(t%4<<3),t>55)for(sl(u,d),t=0;t<16;t++)d[t]=0;return d[14]=8*n,sl(u,d),u}function Lh(o){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=o.charCodeAt(t)+(o.charCodeAt(t+1)<<8)+(o.charCodeAt(t+2)<<16)+(o.charCodeAt(t+3)<<24);return n}ha=Le.atob.bind(Le),gl=Le.btoa.bind(Le);var cc="0123456789abcdef".split("");function Ih(o){for(var t="",n=0;n<4;n++)t+=cc[o>>8*n+4&15]+cc[o>>8*n&15];return t}function xh(o){return String.fromCharCode((255&o)>>0,(65280&o)>>8,(16711680&o)>>16,(4278190080&o)>>24)}function pl(o){return _c(o).map(xh).join("")}var Sh=(function(o){for(var t=0;t>16)+(t>>16)+(n>>16)<<16|65535&n}return o+t&4294967295}function Bl(o,t){var n,u,d,c;if(o!==n){for(var p=(d=o,c=1+(256/o.length>>0),new Array(c+1).join(d)),v=[],f=0;f<256;f++)v[f]=f;var y=0;for(f=0;f<256;f++){var l=v[f];y=(y+l+p.charCodeAt(f))%256,v[f]=v[y],v[y]=l}n=o,u=v}else v=u;var m=t.length,C=0,g=0,L="";for(f=0;f€/\f©þdSiz";var c=(t+this.padding).substr(0,32),p=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(c,p),this.P=-(1+(255^d)),this.encryptionKey=pl(c+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(u)).substr(0,5),this.U=Bl(this.encryptionKey,this.padding)}function So(o){if(/[^\u0000-\u00ff]/.test(o))throw new Error("Invalid PDF Name Object: "+o+", Only accept ASCII characters.");for(var t="",n=o.length,u=0;u126?t+="#"+("0"+d.toString(16)).slice(-2):t+=o[u]}return t}function hc(o){if(it(o)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(n,u,d){if(d=d||!1,typeof n!="string"||typeof u!="function"||typeof d!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(n)||(t[n]={});var c=Math.random().toString(35);return t[n][c]=[u,!!d],c},this.unsubscribe=function(n){for(var u in t)if(t[u][n])return delete t[u][n],Object.keys(t[u]).length===0&&delete t[u],!0;return!1},this.publish=function(n){if(t.hasOwnProperty(n)){var u=Array.prototype.slice.call(arguments,1),d=[];for(var c in t[n]){var p=t[n][c];try{p[0].apply(o,u)}catch(v){Le.console&&at.error("jsPDF PubSub Error",v.message,v)}p[1]&&d.push(c)}d.length&&d.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function va(o){if(!(this instanceof va))return new va(o);var t="opacity,stroke-opacity".split(",");for(var n in o)o.hasOwnProperty(n)&&t.indexOf(n)>=0&&(this[n]=o[n]);this.id="",this.objectNumber=-1}function Mc(o,t){this.gState=o,this.matrix=t,this.id="",this.objectNumber=-1}function zs(o,t,n,u,d){if(!(this instanceof zs))return new zs(o,t,n,u,d);this.type=o==="axial"?2:3,this.coords=t,this.colors=n,Mc.call(this,u,d)}function Ui(o,t,n,u,d){if(!(this instanceof Ui))return new Ui(o,t,n,u,d);this.boundingBox=o,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,Mc.call(this,u,d)}function Qe(o){var t,n=typeof arguments[0]=="string"?arguments[0]:"p",u=arguments[1],d=arguments[2],c=arguments[3],p=[],v=1,f=16,y="S",l=null;it(o=o||{})==="object"&&(n=o.orientation,u=o.unit||u,d=o.format||d,c=o.compress||o.compressPdf||c,(l=o.encryption||null)!==null&&(l.userPassword=l.userPassword||"",l.ownerPassword=l.ownerPassword||"",l.userPermissions=l.userPermissions||[]),v=typeof o.userUnit=="number"?Math.abs(o.userUnit):1,o.precision!==void 0&&(t=o.precision),o.floatPrecision!==void 0&&(f=o.floatPrecision),y=o.defaultPathOperation||"S"),p=o.filters||(c===!0?["FlateEncode"]:p),u=u||"mm",n=(""+(n||"P")).toLowerCase();var m=o.putOnlyUsedFonts||!1,C={},g={internal:{},__private__:{}};g.__private__.PubSub=hc;var L="1.3",E=g.__private__.getPdfVersion=function(){return L};g.__private__.setPdfVersion=function(h){L=h};var x={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};g.__private__.getPageFormats=function(){return x};var b=g.__private__.getPageFormat=function(h){return x[h]};d=d||"a4";var U={COMPAT:"compat",ADVANCED:"advanced"},I=U.COMPAT;function _(){this.saveGraphicsState(),$(new ge(mA,0,0,-mA,0,Nn()*mA).toString()+" cm"),this.setFontSize(this.getFontSize()/mA),y="n",I=U.ADVANCED}function R(){this.restoreGraphicsState(),y="S",I=U.COMPAT}var Z=g.__private__.combineFontStyleAndFontWeight=function(h,H){if(h=="bold"&&H=="normal"||h=="bold"&&H==400||h=="normal"&&H=="italic"||h=="bold"&&H=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return H&&(h=H==400||H==="normal"?h==="italic"?"italic":"normal":H!=700&&H!=="bold"||h!=="normal"?(H==700?"bold":H)+""+h:"bold"),h};g.advancedAPI=function(h){var H=I===U.COMPAT;return H&&_.call(this),typeof h!="function"||(h(this),H&&R.call(this)),this},g.compatAPI=function(h){var H=I===U.ADVANCED;return H&&R.call(this),typeof h!="function"||(h(this),H&&_.call(this)),this},g.isAdvancedAPI=function(){return I===U.ADVANCED};var AA,J=function(h){if(I!==U.ADVANCED)throw new Error(h+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},nA=g.roundToPrecision=g.__private__.roundToPrecision=function(h,H){var z=t||H;if(isNaN(h)||isNaN(z))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return h.toFixed(z).replace(/0+$/,"")};AA=g.hpf=g.__private__.hpf=typeof f=="number"?function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.hpf");return nA(h,f)}:f==="smart"?function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.hpf");return nA(h,h>-1&&h<1?16:5)}:function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.hpf");return nA(h,16)};var aA=g.f2=g.__private__.f2=function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.f2");return nA(h,2)},P=g.__private__.f3=function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.f3");return nA(h,3)},M=g.scale=g.__private__.scale=function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.scale");return I===U.COMPAT?h*mA:I===U.ADVANCED?h:void 0},Y=function(h){return I===U.COMPAT?Nn()-h:I===U.ADVANCED?h:void 0},X=function(h){return M(Y(h))};g.__private__.setPrecision=g.setPrecision=function(h){typeof parseInt(h,10)=="number"&&(t=parseInt(h,10))};var tA,uA="00000000000000000000000000000000",wA=g.__private__.getFileId=function(){return uA},fA=g.__private__.setFileId=function(h){return uA=h!==void 0&&/^[a-fA-F0-9]{32}$/.test(h)?h.toUpperCase():uA.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),l!==null&&(Vt=new xo(l.userPermissions,l.userPassword,l.ownerPassword,uA)),uA};g.setFileId=function(h){return fA(h),this},g.getFileId=function(){return wA()};var QA=g.__private__.convertDateToPDFDate=function(h){var H=h.getTimezoneOffset(),z=H<0?"+":"-",rA=Math.floor(Math.abs(H/60)),pA=Math.abs(H%60),xA=[z,q(rA),"'",q(pA),"'"].join("");return["D:",h.getFullYear(),q(h.getMonth()+1),q(h.getDate()),q(h.getHours()),q(h.getMinutes()),q(h.getSeconds()),xA].join("")},yA=g.__private__.convertPDFDateToDate=function(h){var H=parseInt(h.substr(2,4),10),z=parseInt(h.substr(6,2),10)-1,rA=parseInt(h.substr(8,2),10),pA=parseInt(h.substr(10,2),10),xA=parseInt(h.substr(12,2),10),RA=parseInt(h.substr(14,2),10);return new Date(H,z,rA,pA,xA,RA,0)},DA=g.__private__.setCreationDate=function(h){var H;if(h===void 0&&(h=new Date),h instanceof Date)H=QA(h);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(h))throw new Error("Invalid argument passed to jsPDF.setCreationDate");H=h}return tA=H},N=g.__private__.getCreationDate=function(h){var H=tA;return h==="jsDate"&&(H=yA(tA)),H};g.setCreationDate=function(h){return DA(h),this},g.getCreationDate=function(h){return N(h)};var V,q=g.__private__.padd2=function(h){return("0"+parseInt(h)).slice(-2)},eA=g.__private__.padd2Hex=function(h){return("00"+(h=h.toString())).substr(h.length)},lA=0,gA=[],bA=[],UA=0,PA=[],MA=[],kA=!1,GA=bA,ue=function(){lA=0,UA=0,bA=[],gA=[],PA=[],_r=lt(),Qr=lt()};g.__private__.setCustomOutputDestination=function(h){kA=!0,GA=h};var LA=function(h){kA||(GA=h)};g.__private__.resetCustomOutputDestination=function(){kA=!1,GA=bA};var $=g.__private__.out=function(h){return h=h.toString(),UA+=h.length+1,GA.push(h),GA},Fe=g.__private__.write=function(h){return $(arguments.length===1?h.toString():Array.prototype.join.call(arguments," "))},zA=g.__private__.getArrayBuffer=function(h){for(var H=h.length,z=new ArrayBuffer(H),rA=new Uint8Array(z);H--;)rA[H]=h.charCodeAt(H);return z},jA=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];g.__private__.getStandardFonts=function(){return jA};var WA=o.fontSize||16;g.__private__.setFontSize=g.setFontSize=function(h){return WA=I===U.ADVANCED?h/mA:h,this};var YA,JA=g.__private__.getFontSize=g.getFontSize=function(){return I===U.COMPAT?WA:WA*mA},ae=o.R2L||!1;g.__private__.setR2L=g.setR2L=function(h){return ae=h,this},g.__private__.getR2L=g.getR2L=function(){return ae};var me,de=g.__private__.setZoomMode=function(h){var H=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(h))YA=h;else if(isNaN(h)){if(H.indexOf(h)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+h+'" is not recognized.');YA=h}else YA=parseInt(h,10)};g.__private__.getZoomMode=function(){return YA};var ye,Te=g.__private__.setPageMode=function(h){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(h)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+h+'" is not recognized.');me=h};g.__private__.getPageMode=function(){return me};var Ue=g.__private__.setLayoutMode=function(h){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(h)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+h+'" is not recognized.');ye=h};g.__private__.getLayoutMode=function(){return ye},g.__private__.setDisplayMode=g.setDisplayMode=function(h,H,z){return de(h),Ue(H),Te(z),this};var we={title:"",subject:"",author:"",keywords:"",creator:""};g.__private__.getDocumentProperty=function(h){if(Object.keys(we).indexOf(h)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return we[h]},g.__private__.getDocumentProperties=function(){return we},g.__private__.setDocumentProperties=g.setProperties=g.setDocumentProperties=function(h){for(var H in we)we.hasOwnProperty(H)&&h[H]&&(we[H]=h[H]);return this},g.__private__.setDocumentProperty=function(h,H){if(Object.keys(we).indexOf(h)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return we[h]=H};var BA,mA,TA,KA,fe,Ae={},Ce={},Bt=[],He={},er={},Ge={},Gt={},Ne=null,qA=0,VA=[],ie=new hc(g),_e=o.hotfixes||[],Ke={},Mt={},tr=[],ge=function h(H,z,rA,pA,xA,RA){if(!(this instanceof h))return new h(H,z,rA,pA,xA,RA);isNaN(H)&&(H=1),isNaN(z)&&(z=0),isNaN(rA)&&(rA=0),isNaN(pA)&&(pA=1),isNaN(xA)&&(xA=0),isNaN(RA)&&(RA=0),this._matrix=[H,z,rA,pA,xA,RA]};Object.defineProperty(ge.prototype,"sx",{get:function(){return this._matrix[0]},set:function(h){this._matrix[0]=h}}),Object.defineProperty(ge.prototype,"shy",{get:function(){return this._matrix[1]},set:function(h){this._matrix[1]=h}}),Object.defineProperty(ge.prototype,"shx",{get:function(){return this._matrix[2]},set:function(h){this._matrix[2]=h}}),Object.defineProperty(ge.prototype,"sy",{get:function(){return this._matrix[3]},set:function(h){this._matrix[3]=h}}),Object.defineProperty(ge.prototype,"tx",{get:function(){return this._matrix[4]},set:function(h){this._matrix[4]=h}}),Object.defineProperty(ge.prototype,"ty",{get:function(){return this._matrix[5]},set:function(h){this._matrix[5]=h}}),Object.defineProperty(ge.prototype,"a",{get:function(){return this._matrix[0]},set:function(h){this._matrix[0]=h}}),Object.defineProperty(ge.prototype,"b",{get:function(){return this._matrix[1]},set:function(h){this._matrix[1]=h}}),Object.defineProperty(ge.prototype,"c",{get:function(){return this._matrix[2]},set:function(h){this._matrix[2]=h}}),Object.defineProperty(ge.prototype,"d",{get:function(){return this._matrix[3]},set:function(h){this._matrix[3]=h}}),Object.defineProperty(ge.prototype,"e",{get:function(){return this._matrix[4]},set:function(h){this._matrix[4]=h}}),Object.defineProperty(ge.prototype,"f",{get:function(){return this._matrix[5]},set:function(h){this._matrix[5]=h}}),Object.defineProperty(ge.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(ge.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(ge.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(ge.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),ge.prototype.join=function(h){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(AA).join(h)},ge.prototype.multiply=function(h){var H=h.sx*this.sx+h.shy*this.shx,z=h.sx*this.shy+h.shy*this.sy,rA=h.shx*this.sx+h.sy*this.shx,pA=h.shx*this.shy+h.sy*this.sy,xA=h.tx*this.sx+h.ty*this.shx+this.tx,RA=h.tx*this.shy+h.ty*this.sy+this.ty;return new ge(H,z,rA,pA,xA,RA)},ge.prototype.decompose=function(){var h=this.sx,H=this.shy,z=this.shx,rA=this.sy,pA=this.tx,xA=this.ty,RA=Math.sqrt(h*h+H*H),te=(h/=RA)*z+(H/=RA)*rA;z-=h*te,rA-=H*te;var pe=Math.sqrt(z*z+rA*rA);return te/=pe,h*(rA/=pe)>16&255,rA=pe>>8&255,pA=255&pe}if(rA===void 0||xA===void 0&&z===rA&&rA===pA)typeof z=="string"?H=z+" "+RA[0]:h.precision===2?H=aA(z/255)+" "+RA[0]:H=P(z/255)+" "+RA[0];else if(xA===void 0||it(xA)==="object"){if(xA&&!isNaN(xA.a)&&xA.a===0)return H=["1.","1.","1.",RA[1]].join(" ");if(typeof z=="string")H=[z,rA,pA,RA[1]].join(" ");else switch(h.precision){case 2:H=[aA(z/255),aA(rA/255),aA(pA/255),RA[1]].join(" ");break;default:case 3:H=[P(z/255),P(rA/255),P(pA/255),RA[1]].join(" ")}}else typeof z=="string"?H=[z,rA,pA,xA,RA[2]].join(" "):h.precision===2?H=[aA(z),aA(rA),aA(pA),aA(xA),RA[2]].join(" "):H=[P(z),P(rA),P(pA),P(xA),RA[2]].join(" ");return H},Kr=g.__private__.getFilters=function(){return p},Er=g.__private__.putStream=function(h){var H=(h=h||{}).data||"",z=h.filters||Kr(),rA=h.alreadyAppliedFilters||[],pA=h.addLength1||!1,xA=H.length,RA=h.objectId,te=function(Wt){return Wt};if(l!==null&&RA===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");l!==null&&(te=Vt.encryptor(RA,0));var pe={};z===!0&&(z=["FlateEncode"]);var Ie=h.additionalKeyValues||[],xe=(pe=Qe.API.processDataByFilters!==void 0?Qe.API.processDataByFilters(H,z):{data:H,reverseChain:[]}).reverseChain+(Array.isArray(rA)?rA.join(" "):rA.toString());if(pe.data.length!==0&&(Ie.push({key:"Length",value:pe.data.length}),pA===!0&&Ie.push({key:"Length1",value:xA})),xe.length!=0)if(xe.split("/").length-1==1)Ie.push({key:"Filter",value:xe});else{Ie.push({key:"Filter",value:"["+xe+"]"});for(var Re=0;Re>"),pe.data.length!==0&&($("stream"),$(te(pe.data)),$("endstream"))},qr=g.__private__.putPage=function(h){var H=h.number,z=h.data,rA=h.objId,pA=h.contentsObjId;Yt(rA,!0),$("<>"),$("endobj");var xA=z.join("\n");return I===U.ADVANCED&&(xA+="\nQ"),Yt(pA,!0),Er({data:xA,filters:Kr(),objectId:pA}),$("endobj"),rA},on=g.__private__.putPages=function(){var h,H,z=[];for(h=1;h<=qA;h++)VA[h].objId=lt(),VA[h].contentsObjId=lt();for(h=1;h<=qA;h++)z.push(qr({number:h,data:MA[h],objId:VA[h].objId,contentsObjId:VA[h].contentsObjId,mediaBox:VA[h].mediaBox,cropBox:VA[h].cropBox,bleedBox:VA[h].bleedBox,trimBox:VA[h].trimBox,artBox:VA[h].artBox,userUnit:VA[h].userUnit,rootDictionaryObjId:_r,resourceDictionaryObjId:Qr}));Yt(_r,!0),$("<>"),$("endobj"),ie.publish("postPutPages")},zn=function(h){ie.publish("putFont",{font:h,out:$,newObject:Be,putStream:Er}),h.isAlreadyPutted!==!0&&(h.objectNumber=Be(),$("<<"),$("/Type /Font"),$("/BaseFont /"+So(h.postScriptName)),$("/Subtype /Type1"),typeof h.encoding=="string"&&$("/Encoding /"+h.encoding),$("/FirstChar 32"),$("/LastChar 255"),$(">>"),$("endobj"))},ws=function(){for(var h in Ae)Ae.hasOwnProperty(h)&&(m===!1||m===!0&&C.hasOwnProperty(h))&&zn(Ae[h])},vs=function(h){h.objectNumber=Be();var H=[];H.push({key:"Type",value:"/XObject"}),H.push({key:"Subtype",value:"/Form"}),H.push({key:"BBox",value:"["+[AA(h.x),AA(h.y),AA(h.x+h.width),AA(h.y+h.height)].join(" ")+"]"}),H.push({key:"Matrix",value:"["+h.matrix.toString()+"]"});var z=h.pages[1].join("\n");Er({data:z,additionalKeyValues:H,objectId:h.objectNumber}),$("endobj")},ms=function(){for(var h in Ke)Ke.hasOwnProperty(h)&&vs(Ke[h])},Hi=function(h,H){var z,rA=[],pA=1/(H-1);for(z=0;z<1;z+=pA)rA.push(z);if(rA.push(1),h[0].offset!=0){var xA={offset:0,color:h[0].color};h.unshift(xA)}if(h[h.length-1].offset!=1){var RA={offset:1,color:h[h.length-1].color};h.push(RA)}for(var te="",pe=0,Ie=0;Ieh[pe+1].offset;)pe++;var xe=h[pe].offset,Re=(z-xe)/(h[pe+1].offset-xe),et=h[pe].color,tt=h[pe+1].color;te+=eA(Math.round((1-Re)*et[0]+Re*tt[0]).toString(16))+eA(Math.round((1-Re)*et[1]+Re*tt[1]).toString(16))+eA(Math.round((1-Re)*et[2]+Re*tt[2]).toString(16))}return te.trim()},Ho=function(h,H){H||(H=21);var z=Be(),rA=Hi(h.colors,H),pA=[];pA.push({key:"FunctionType",value:"0"}),pA.push({key:"Domain",value:"[0.0 1.0]"}),pA.push({key:"Size",value:"["+H+"]"}),pA.push({key:"BitsPerSample",value:"8"}),pA.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),pA.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Er({data:rA,additionalKeyValues:pA,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:z}),$("endobj"),h.objectNumber=Be(),$("<< /ShadingType "+h.type),$("/ColorSpace /DeviceRGB");var xA="/Coords ["+AA(parseFloat(h.coords[0]))+" "+AA(parseFloat(h.coords[1]))+" ";h.type===2?xA+=AA(parseFloat(h.coords[2]))+" "+AA(parseFloat(h.coords[3])):xA+=AA(parseFloat(h.coords[2]))+" "+AA(parseFloat(h.coords[3]))+" "+AA(parseFloat(h.coords[4]))+" "+AA(parseFloat(h.coords[5])),$(xA+="]"),h.matrix&&$("/Matrix ["+h.matrix.toString()+"]"),$("/Function "+z+" 0 R"),$("/Extend [true true]"),$(">>"),$("endobj")},No=function(h,H){var z=lt(),rA=Be();H.push({resourcesOid:z,objectOid:rA}),h.objectNumber=rA;var pA=[];pA.push({key:"Type",value:"/Pattern"}),pA.push({key:"PatternType",value:"1"}),pA.push({key:"PaintType",value:"1"}),pA.push({key:"TilingType",value:"1"}),pA.push({key:"BBox",value:"["+h.boundingBox.map(AA).join(" ")+"]"}),pA.push({key:"XStep",value:AA(h.xStep)}),pA.push({key:"YStep",value:AA(h.yStep)}),pA.push({key:"Resources",value:z+" 0 R"}),h.matrix&&pA.push({key:"Matrix",value:"["+h.matrix.toString()+"]"}),Er({data:h.stream,additionalKeyValues:pA,objectId:h.objectNumber}),$("endobj")},Zr=function(h){var H;for(H in He)He.hasOwnProperty(H)&&(He[H]instanceof zs?Ho(He[H]):He[H]instanceof Ui&&No(He[H],h))},Ai=function(h){for(var H in h.objectNumber=Be(),$("<<"),h)switch(H){case"opacity":$("/ca "+aA(h[H]));break;case"stroke-opacity":$("/CA "+aA(h[H]))}$(">>"),$("endobj")},ys=function(){var h;for(h in Ge)Ge.hasOwnProperty(h)&&Ai(Ge[h])},Cs=function(){for(var h in $("/XObject <<"),Ke)Ke.hasOwnProperty(h)&&Ke[h].objectNumber>=0&&$("/"+h+" "+Ke[h].objectNumber+" 0 R");ie.publish("putXobjectDict"),$(">>")},Yn=function(){Vt.oid=Be(),$("<<"),$("/Filter /Standard"),$("/V "+Vt.v),$("/R "+Vt.r),$("/U <"+Vt.toHexString(Vt.U)+">"),$("/O <"+Vt.toHexString(Vt.O)+">"),$("/P "+Vt.P),$(">>"),$("endobj")},Ni=function(){for(var h in $("/Font <<"),Ae)Ae.hasOwnProperty(h)&&(m===!1||m===!0&&C.hasOwnProperty(h))&&$("/"+h+" "+Ae[h].objectNumber+" 0 R");$(">>")},jo=function(){if(Object.keys(He).length>0){for(var h in $("/Shading <<"),He)He.hasOwnProperty(h)&&He[h]instanceof zs&&He[h].objectNumber>=0&&$("/"+h+" "+He[h].objectNumber+" 0 R");ie.publish("putShadingPatternDict"),$(">>")}},an=function(h){if(Object.keys(He).length>0){for(var H in $("/Pattern <<"),He)He.hasOwnProperty(H)&&He[H]instanceof g.TilingPattern&&He[H].objectNumber>=0&&He[H].objectNumber>")}},qn=function(){if(Object.keys(Ge).length>0){var h;for(h in $("/ExtGState <<"),Ge)Ge.hasOwnProperty(h)&&Ge[h].objectNumber>=0&&$("/"+h+" "+Ge[h].objectNumber+" 0 R");ie.publish("putGStateDict"),$(">>")}},wt=function(h){Yt(h.resourcesOid,!0),$("<<"),$("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Ni(),jo(),an(h.objectOid),qn(),Cs(),$(">>"),$("endobj")},ji=function(){var h=[];ws(),ys(),ms(),Zr(h),ie.publish("putResources"),h.forEach(wt),wt({resourcesOid:Qr,objectOid:Number.MAX_SAFE_INTEGER}),ie.publish("postPutResources")},Oi=function(){ie.publish("putAdditionalObjects");for(var h=0;h>8&&(pe=!0);h=te.join("")}for(z=h.length;pe===void 0&&z!==0;)h.charCodeAt(z-1)>>8&&(pe=!0),z--;if(!pe)return h;for(te=H.noBOM?[]:[254,255],z=0,rA=h.length;z>8)>>8)throw new Error("Character at position "+z+" of string '"+h+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");te.push(xe),te.push(Ie-(xe<<8))}return String.fromCharCode.apply(void 0,te)},nr=g.__private__.pdfEscape=g.pdfEscape=function(h,H){return Et(h,H).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},ei=g.__private__.beginPage=function(h){MA[++qA]=[],VA[qA]={objId:0,contentsObjId:0,userUnit:Number(v),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(h[0]),topRightY:Number(h[1])}},Ti(qA),LA(MA[V])},Pi=function(h,H){var z,rA,pA;switch(n=H||n,typeof h=="string"&&(z=b(h.toLowerCase()),Array.isArray(z)&&(rA=z[0],pA=z[1])),Array.isArray(h)&&(rA=h[0]*mA,pA=h[1]*mA),isNaN(rA)&&(rA=d[0],pA=d[1]),(rA>14400||pA>14400)&&(at.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),rA=Math.min(14400,rA),pA=Math.min(14400,pA)),d=[rA,pA],n.substr(0,1)){case"l":pA>rA&&(d=[pA,rA]);break;case"p":rA>pA&&(d=[pA,rA])}ei(d),Ji(bs),$(ir),ts!==0&&$(ts+" J"),ri!==0&&$(ri+" j"),ie.publish("addPage",{pageNumber:qA})},Oo=function(h){h>0&&h<=qA&&(MA.splice(h,1),VA.splice(h,1),qA--,V>qA&&(V=qA),this.setPage(V))},Ti=function(h){h>0&&h<=qA&&(V=h)},Po=g.__private__.getNumberOfPages=g.getNumberOfPages=function(){return MA.length-1},Di=function(h,H,z){var rA,pA=void 0;return z=z||{},h=h!==void 0?h:Ae[BA].fontName,H=H!==void 0?H:Ae[BA].fontStyle,rA=h.toLowerCase(),Ce[rA]!==void 0&&Ce[rA][H]!==void 0?pA=Ce[rA][H]:Ce[h]!==void 0&&Ce[h][H]!==void 0?pA=Ce[h][H]:z.disableWarning===!1&&at.warn("Unable to look up font label for font '"+h+"', '"+H+"'. Refer to getFontList() for available fonts."),pA||z.noFallback||(pA=Ce.times[H])==null&&(pA=Ce.times.normal),pA},To=g.__private__.putInfo=function(){var h=Be(),H=function(rA){return rA};for(var z in l!==null&&(H=Vt.encryptor(h,0)),$("<<"),$("/Producer ("+nr(H("jsPDF "+Qe.version))+")"),we)we.hasOwnProperty(z)&&we[z]&&$("/"+z.substr(0,1).toUpperCase()+z.substr(1)+" ("+nr(H(we[z]))+")");$("/CreationDate ("+nr(H(tA))+")"),$(">>"),$("endobj")},Un=g.__private__.putCatalog=function(h){var H=(h=h||{}).rootDictionaryObjId||_r;switch(Be(),$("<<"),$("/Type /Catalog"),$("/Pages "+H+" 0 R"),YA||(YA="fullwidth"),YA){case"fullwidth":$("/OpenAction [3 0 R /FitH null]");break;case"fullheight":$("/OpenAction [3 0 R /FitV null]");break;case"fullpage":$("/OpenAction [3 0 R /Fit]");break;case"original":$("/OpenAction [3 0 R /XYZ null null 1]");break;default:var z=""+YA;z.substr(z.length-1)==="%"&&(YA=parseInt(YA)/100),typeof YA=="number"&&$("/OpenAction [3 0 R /XYZ null null "+aA(YA)+"]")}switch(ye||(ye="continuous"),ye){case"continuous":$("/PageLayout /OneColumn");break;case"single":$("/PageLayout /SinglePage");break;case"two":case"twoleft":$("/PageLayout /TwoColumnLeft");break;case"tworight":$("/PageLayout /TwoColumnRight")}me&&$("/PageMode /"+me),ie.publish("putCatalog"),$(">>"),$("endobj")},Do=g.__private__.putTrailer=function(){$("trailer"),$("<<"),$("/Size "+(lA+1)),$("/Root "+lA+" 0 R"),$("/Info "+(lA-1)+" 0 R"),l!==null&&$("/Encrypt "+Vt.oid+" 0 R"),$("/ID [ <"+uA+"> <"+uA+"> ]"),$(">>")},_i=g.__private__.putHeader=function(){$("%PDF-"+L),$("%ºß¬à")},_o=g.__private__.putXRef=function(){var h="0000000000";$("xref"),$("0 "+(lA+1)),$("0000000000 65535 f ");for(var H=1;H<=lA;H++)typeof gA[H]=="function"?$((h+gA[H]()).slice(-10)+" 00000 n "):gA[H]!==void 0?$((h+gA[H]).slice(-10)+" 00000 n "):$("0000000000 00000 n ")},un=g.__private__.buildDocument=function(){ue(),LA(bA),ie.publish("buildDocument"),_i(),on(),Oi(),ji(),l!==null&&Yn(),To(),Un();var h=UA;return _o(),Do(),$("startxref"),$(""+h),$("%%EOF"),LA(MA[V]),bA.join("\n")},As=g.__private__.getBlob=function(h){return new Blob([zA(h)],{type:"application/pdf"})},En=g.output=g.__private__.output=Rr((function(h,H){switch(typeof(H=H||{})=="string"?H={filename:H}:H.filename=H.filename||"generated.pdf",h){case void 0:return un();case"save":g.save(H.filename);break;case"arraybuffer":return zA(un());case"blob":return As(un());case"bloburi":case"bloburl":if(Le.URL!==void 0&&typeof Le.URL.createObjectURL=="function")return Le.URL&&Le.URL.createObjectURL(As(un()))||void 0;at.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var z="",rA=un();try{z=gl(rA)}catch(tt){z=gl(unescape(encodeURIComponent(rA)))}return"data:application/pdf;filename="+H.filename+";base64,"+z;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Le)==="[object Window]"){var pA="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js?v=1773287522785",xA=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';H.pdfObjectUrl&&(pA=H.pdfObjectUrl,xA="");var RA=' - - - - - - + + + + + + @@ -52,7 +52,7 @@
- - + + diff --git a/BTPanel/templates/default/login.html b/BTPanel/templates/default/login.html index 464a0f38..48e0a16d 100644 --- a/BTPanel/templates/default/login.html +++ b/BTPanel/templates/default/login.html @@ -671,6 +671,7 @@